blob_id
stringlengths
40
40
directory_id
stringlengths
40
40
path
stringlengths
3
616
content_id
stringlengths
40
40
detected_licenses
listlengths
0
112
license_type
stringclasses
2 values
repo_name
stringlengths
5
115
snapshot_id
stringlengths
40
40
revision_id
stringlengths
40
40
branch_name
stringclasses
777 values
visit_date
timestamp[us]date
2015-08-06 10:31:46
2023-09-06 10:44:38
revision_date
timestamp[us]date
1970-01-01 02:38:32
2037-05-03 13:00:00
committer_date
timestamp[us]date
1970-01-01 02:38:32
2023-09-06 01:08:06
github_id
int64
4.92k
681M
star_events_count
int64
0
209k
fork_events_count
int64
0
110k
gha_license_id
stringclasses
22 values
gha_event_created_at
timestamp[us]date
2012-06-04 01:52:49
2023-09-14 21:59:50
gha_created_at
timestamp[us]date
2008-05-22 07:58:19
2023-08-21 12:35:19
gha_language
stringclasses
149 values
src_encoding
stringclasses
26 values
language
stringclasses
1 value
is_vendor
bool
2 classes
is_generated
bool
2 classes
length_bytes
int64
3
10.2M
extension
stringclasses
188 values
content
stringlengths
3
10.2M
authors
listlengths
1
1
author_id
stringlengths
1
132
5a795c2acca6759e250a6b97bf5468494eb04e93
eeeb059503278d1d0be491f8524800f738638c28
/vop/wsgi.py
9c043706274291dc7697a428af098505881ea36b
[]
no_license
Umidrifkatov/mvop
9802b399d67778d8f91255c67931c9c298b96121
2962c10f044f93e4ee0e5aea38d9b452d9ad7127
refs/heads/master
2023-05-01T13:10:20.690788
2021-05-22T05:46:52
2021-05-22T05:46:52
368,739,835
0
0
null
null
null
null
UTF-8
Python
false
false
383
py
""" WSGI config for vop 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.1/howto/deployment/wsgi/ """ import os from django.core.wsgi import get_wsgi_application os.environ.setdefault('DJANGO_SETTINGS_...
[ "you@example.com" ]
you@example.com
87d55a710c1e33c3ec1ce33748463618960fd37f
859ca2f67a83c52b6272ad8478f92ff013d81fe0
/app/apps.py
092891ca96f4d12572ecac0b838bc7b7d9ad77c5
[]
no_license
jsongmax/LangSrcCurise
a551214f40ea8d7b093d0474f866b8956e8501dc
2a2718ca54423cf7fc2a85fcccbafb06ea96a648
refs/heads/master
2020-07-07T11:47:49.061382
2019-08-20T05:57:03
2019-08-20T05:57:03
203,339,375
2
0
null
2019-08-20T09:03:06
2019-08-20T09:03:05
null
UTF-8
Python
false
false
129
py
# coding:utf-8 from django.apps import AppConfig class AppConfig(AppConfig): name = 'app' verbose_name = "资产监控"
[ "982722261@qq.com" ]
982722261@qq.com
616b0f7a6bdfe14c13960d34a9cef2a567f52c42
eb6f1c78b7a38f5386c013a8b453ba7c07a5e76b
/textattack/constraints/grammaticality/language_models/google_language_model/lm_data_utils.py
c5813d34bfb106688f3abb16f9300896e1ad634a
[ "MIT" ]
permissive
StatNLP/discretezoo
b143306297fe5590800853c71278cc0c4cdd5e68
565552b894a5c9632ac7b949d61a6f71123031e4
refs/heads/master
2023-07-29T04:12:36.355651
2021-09-17T13:21:26
2021-09-17T13:21:26
404,305,923
0
1
null
null
null
null
UTF-8
Python
false
false
8,904
py
# Copyright 2016 The TensorFlow Authors. 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 applica...
[ "berger1954@gmail.com" ]
berger1954@gmail.com
8e3922f184be66c73a06079d9888020b8afb8b9f
0310768ca9227032d04c7b4fb8609128e99366b2
/test.py
9c84e64f5b9b3e918fc1734404761f4f893d5210
[ "MIT" ]
permissive
ibackus/ICgen
321b691425dfee55ad31ddcfde2aa84afc956be7
139564c8634ce2ee052c3efbeb4a295554f197dc
refs/heads/master
2020-06-05T07:38:27.819309
2015-08-07T22:11:03
2015-08-07T22:11:03
20,506,404
1
1
null
2015-08-07T19:17:58
2014-06-05T00:48:37
Python
UTF-8
Python
false
false
3,236
py
""" @author: dflemin3 Script for generating disk ICs about a stellar system using ibackus's ICgen routines. See https://github.com/ibackus/ICgen """ import ICgen import pynbody import binary SimArray = pynbody.array.SimArray # Initialize a blank initial conditions (IC) object: IC = ICgen.IC() # Let's set the star ma...
[ "dflemin3@uw.edu" ]
dflemin3@uw.edu
a9b9299e0daaa0d0fb5aa3c702fb8a4915ccfae9
586068e0de8011da1310c07834a068e441f1f3f2
/graphql/execution/experimental/tests/test_mutations.py
431073f4d376c7170da3d475db6d99efb38a9104
[ "MIT" ]
permissive
yen223/graphql-core
36603497b87af07b6f8e267c0cfdb22cf5f121fc
431ea35d383e8064bb8d5829e7b3cb8d4f395cd9
refs/heads/master
2021-01-11T01:01:15.429546
2017-05-10T21:15:27
2017-05-10T21:15:27
90,983,518
0
1
null
2017-05-11T13:39:45
2017-05-11T13:39:45
null
UTF-8
Python
false
false
4,263
py
from graphql.language.parser import parse from graphql.type import (GraphQLArgument, GraphQLField, GraphQLInt, GraphQLList, GraphQLObjectType, GraphQLSchema, GraphQLString) from ..executor import execute class NumberHolder(object): def __init__(self, n): ...
[ "me@syrusakbary.com" ]
me@syrusakbary.com
c7d10155aba09cb74ea39ec4c375729596958f15
0f074e5adef64fa16e88dc2499e76f08b4c33c02
/PyQt5/0205_layout_lambda_修饰传入的参数.py
c7e5f70e48c5301e2b54ea85aed2b69204b8d422
[]
no_license
guozhenjiang/Python
0ac39adaf72df0bfee51795fabcfd959a69b1862
44b07bd767f3f2a947331111ab920200ac2412c6
refs/heads/master
2021-05-19T16:54:40.725132
2020-11-19T16:26:26
2020-11-19T16:27:11
252,035,380
0
0
null
null
null
null
UTF-8
Python
false
false
2,249
py
# https://www.learnpyqt.com/courses/start/signals-slots-events/ import sys from PyQt5.QtWidgets import QApplication, QMainWindow, QLabel, QHBoxLayout, QWidget, QPushButton from PyQt5.QtCore import Qt # from PyQt5.QtGui import * # from PyQt5.QtWidgets import * # from PyQt5.QtCore import * # import sys # Subclass QMa...
[ "guo_zhen_jiang@163.com" ]
guo_zhen_jiang@163.com
e7f45e4ed664e6bd394acd9e40b03b8a6d59d013
e6579d0c32041b307b14d63d36ad733918dc8925
/Tareas/Tarea 4/Pruebas/ppppp/Clase Ficha.py
70e7dd7badbfb9bac4f67d803765bcfb71c1a2f0
[]
no_license
javierlopeza/IIC1103-2014-2
23bba4f33686e5779868f4f36ec05af4e322e8be
2be90d0d03d1a03d7194613c117d788f12e4451a
refs/heads/master
2021-01-19T14:41:32.475187
2017-04-13T16:10:32
2017-04-13T16:10:32
88,182,695
1
0
null
null
null
null
UTF-8
Python
false
false
1,277
py
def posicion_valida(filas, columnas, posicion_evaluada): lista_p=posicion_evaluada.split(",") filap=int(lista_p[0]) colp=int(lista_p[1]) if filap<int(filas) and colp<int(columnas): if filap>=0 and colp>=0: return True else: return False #______________________ ...
[ "jilopez8@uc.cl" ]
jilopez8@uc.cl
d0ad25de8c03c4466cc3c9927ea48f508d342aae
54e3397609cc31b9142d483a29a9a3854800a620
/action/TemplateMethod.py
d9bed35a0939a5342e423d815f1f42f1854ab9cd
[]
no_license
qiangayz/DesignPatterns
1ac2ee51e2a176910bc19520dcb6ebb9914e0a36
527a0ffe59e5fd980ba6b4387d422d6c96fe1623
refs/heads/master
2020-03-23T22:34:21.040915
2018-07-24T16:10:22
2018-07-24T16:10:22
142,183,151
0
0
null
null
null
null
UTF-8
Python
false
false
3,783
py
# _*_coding:utf-8_*_ __author__ = 'Alex Li' # 模板方法模式概述 # 在现实生活中,很多事情都包含几个实现步骤,例如请客吃饭,无论吃什么,一般都包含点单、吃东西、买单等几个步骤,通常情况下这几个步骤的次序是:点单 --> 吃东西 --> 买单。在这三个步骤中,点单和买单大同小异,最大的区别在于第二步——吃什么?吃面条和吃满汉全席可大不相同,如图1所示: # # 图1 请客吃饭示意图 # 在软件开发中,有时也会遇到类似的情况,某个方法的实现需要多个步骤(类似“请客”), # 其中有些步骤是固定的(类似“点单”和“买单”),而有些步骤并不固定,存在可变性(类似...
[ "38162672+qiangayz@users.noreply.github.com" ]
38162672+qiangayz@users.noreply.github.com
0aafcca7993f752a0e9f0561911f2d82a7167130
786f9ae62cb62d2b8f193350d8beb695c47d2e98
/tests/protocols/raop/test_raop.py
72cb8855b2d1c296fb21af3dbd4377eb412faa80
[ "MIT" ]
permissive
postlund/pyatv
a4213957d4d9b557c16310450bfd444cc715e17c
05ca46d2a8bbc8e725ad63794d14b2d1fb9913fa
refs/heads/master
2023-09-01T20:11:48.374857
2023-08-29T04:23:22
2023-08-29T11:13:17
80,614,028
749
120
MIT
2023-09-14T04:54:01
2017-02-01T11:30:30
Python
UTF-8
Python
false
false
5,266
py
"""Unit tests for pyatv.protocols.raop.""" from ipaddress import ip_address from deepdiff import DeepDiff import pytest from pyatv.const import DeviceModel, OperatingSystem, PairingRequirement, Protocol from pyatv.core import MutableService, mdns from pyatv.interface import DeviceInfo from pyatv.protocols.raop import...
[ "pierre.staahl@gmail.com" ]
pierre.staahl@gmail.com
e54eb33675896af869f89364b21452ed4404844a
a70697ef62978117467695fd3507e4d08e186ab4
/source/res/scripts/client/gui/scaleform/framework/entities/daapientity.py
84cbcb14cb2a68d608a70d2eed693dce086be58d
[]
no_license
chipsi007/WorldOfTanks-Decompiled
d208678a6f2f094b02281d09ecc30f3e32725ce9
3b9dc21321429e4dee146c23c7250f2c62757937
refs/heads/master
2020-03-19T01:21:09.883951
2018-05-04T13:19:56
2018-05-04T13:19:56
135,538,885
0
0
null
null
null
null
UTF-8
Python
false
false
1,032
py
# Python bytecode 2.7 (decompiled from Python 2.7) # Embedded file name: scripts/client/gui/Scaleform/framework/entities/DAAPIEntity.py from gui.Scaleform.framework.entities.EventSystemEntity import EventSystemEntity __author__ = 'd_dichkovsky' class DAAPIEntity(EventSystemEntity): def __init__(self): sup...
[ "StranikS_Scan@mail.ru" ]
StranikS_Scan@mail.ru
a8469a8a87c24b82daa98d3403afada2ca502558
1c02603f151878b501af27c1ad19b361fcda91ef
/code/07_webframeworks/day_two_final/app.py
62f85fa55f217086d429ba752bf15fd24dc74d9b
[ "MIT" ]
permissive
archeranimesh/intermediate_python
36c6e815d54991240e9b3bf20d467174bba8e28c
fd209145dd8e22f85ace0b3ccb393d3e358055c6
refs/heads/master
2020-06-20T07:36:04.228945
2019-08-21T17:02:46
2019-08-21T17:02:46
197,044,901
0
0
null
null
null
null
UTF-8
Python
false
false
1,197
py
""" A Simple Flask web application interface For viewing popular Github repos sorted by stars using the Github search API. To run: MAC (env) FLASK_APP=app.py flask run (env) FLASK_APP=app.py FLASK_ENV=development flask run Windows $env:FLASK_APP = "app.py"; flask run $env:FLASK_APP = "app.py"; $env:FLASK_ENV = "devel...
[ "animeshb@archerimagine.com" ]
animeshb@archerimagine.com
f3a94f3457d63220647b18e8c36fff97c9a5ff6d
37f9bbfea5e3f528a0d56baf12c471af326478bc
/hlp/stt/transformer/model.py
ecce017bf8949602cb3eaf48300cc9de975feaa0
[]
no_license
DengBoCong/hlp
9c1ff2f602823e6784c47b3a2787d7154612028d
1cf596e870bc1ebd017fc39c4c2e5ba7d74c367e
refs/heads/master
2023-02-16T16:07:37.420292
2021-01-03T16:44:22
2021-01-03T16:44:22
292,780,210
3
0
null
2021-01-03T16:31:41
2020-09-04T07:28:18
Roff
UTF-8
Python
false
false
3,903
py
import tensorflow as tf from hlp.utils.layers import positional_encoding from hlp.utils.layers import create_padding_mask from hlp.utils.layers import create_look_ahead_mask from hlp.utils.layers import transformer_encoder_layer from hlp.utils.layers import transformer_decoder_layer def encoder(vocab_size: int, embed...
[ "1210212670@qq.com" ]
1210212670@qq.com
c9aac0b5f9677acc1f45d795a17c327e2375e5f0
fada182228dfc3f86d319163ec4a07db96479a1d
/ZenPacks/community/MitsubishiUPS/MitsubishiUPSInput.py
b49d882ae4722dc0ae3bc7c01d3454e9ad484dd7
[ "Apache-2.0" ]
permissive
j053ph4/ZenPacks.community.MitsubishiUPS
6342374550831dc361ad5fa4b2ba8f58b213a009
03831981c35ec544b703dc870cf7d332614eb8af
refs/heads/master
2021-01-21T12:36:13.915646
2015-03-31T13:48:01
2015-03-31T13:48:01
9,172,704
0
0
null
null
null
null
UTF-8
Python
false
false
132
py
from ZenPacks.community.ConstructionKit.ClassHelper import * class MitsubishiUPSInput(ClassHelper.MitsubishiUPSInput): ''''''
[ "janderson@agero.com" ]
janderson@agero.com
b6ab9b93449184778ad1bb651fdf8ed7c504e1f3
fa7d04cb1eb932d609cc2e4567920b77b2080b57
/基础学习/python_work/Chapter 10/division.py
dd86a2d35fd29a1aa2a9e9c989e67b641edebf40
[]
no_license
Yangqqiamg/Python-text
3b74088781e46a21534dcded49e8deae9c458e5d
426e15d4993c1658909a4e1a848829d09b029c96
refs/heads/master
2020-04-11T15:07:06.825475
2019-01-01T14:32:19
2019-01-01T14:32:19
161,880,306
0
0
null
null
null
null
UTF-8
Python
false
false
58
py
try: print(5/0) except ZeroDivisionError: print("worry")
[ "15218090298@163.com" ]
15218090298@163.com
c27cdf5ace5e3dc9e3b4aa2b05dc9fc3465b5763
a7f0c5124b6b3281f950c352075552a03a0b3d35
/xstatic/pkg/jquery_migrate/__init__.py
322642508c9b6adfc8f28f4ce092c16737036a85
[]
no_license
openstack/xstatic-jquery-migrate
d036a6a30b50182d89cce681bd790cca74947644
8f82e0f48025433b3ec6d2726302a5ce2dc52b48
refs/heads/master
2023-07-04T11:21:20.657135
2023-03-29T15:38:49
2023-03-29T15:48:06
21,616,166
10
0
null
null
null
null
UTF-8
Python
false
false
1,842
py
""" XStatic resource package See package 'XStatic' for documentation and basic tools. """ DISPLAY_NAME = 'JQuery-Migrate' # official name, upper/lowercase allowed, no spaces PACKAGE_NAME = 'XStatic-%s' % DISPLAY_NAME # name used for PyPi NAME = __name__.split('.')[-1] # package name (e.g. 'foo' or 'foo_bar') ...
[ "openstack@sheep.art.pl" ]
openstack@sheep.art.pl
46b571d5496320963b5528d384d2c973e5deb8b5
cbda89443b351bb2047180dad4e300c13dc3df7f
/Crystals/Morpurgo_all_atoms_Reorgs_qsplit_fittedscreens/Jobs/Rubrene/Rubrene_neut_neut_inner0_outer0/Rubrene_neut_neut_inner0_outer0.py
58fab4dc2743f8e00a13a54fdf40e9c66f177bd7
[]
no_license
sheridanfew/pythonpolarisation
080f52979f98d26360a46412a10c8e3f51ee4549
178e2684e9a239a8e60af5f7b1eb414ac5f31e92
refs/heads/master
2021-07-10T01:07:40.978790
2021-03-11T16:56:37
2021-03-11T16:56:37
96,101,351
0
0
null
2017-07-03T13:37:06
2017-07-03T10:54:52
null
UTF-8
Python
false
false
6,658
py
import sys sys.path.append('../../../../../') from BasicElements import * from BasicElements.Register import GetRegister from BasicElements.MoleculeFactory import ReadMoleculeType from BasicElements.MoleculeFactory import GetMolecule from BasicElements.Crystal import * from Polarizability.GetDipoles import get_dipoles,...
[ "sheridan.few@gmail.com" ]
sheridan.few@gmail.com
e081cf258161b7b7397637d222bcb7807c2b5131
c2ae65792af1fab2e7843303ef90790819f872e8
/Django/autocomplete/dal_env/lib/python2.7/site-packages/gm2m/descriptors.py
1b5708fe72f3907fcf46f1f771328813829640a3
[]
no_license
behappyyoung/PythonSampleCodes
47c224ca76ce509a03c8b75ef6b4bf7f49ebdd7f
f7640467273fa8ea3c7e443e798737ca5bcea6f9
refs/heads/master
2023-03-15T00:53:21.034605
2023-02-13T17:12:32
2023-02-13T17:12:32
26,919,763
3
3
null
2023-03-07T12:45:21
2014-11-20T15:57:16
Python
UTF-8
Python
false
false
2,193
py
""" Generic many-to-many relations descriptors """ class GM2MDescriptor(object): def __init__(self, field): self.field = field def __get__(self, instance, instance_type=None): if instance is None: return self return self.related_manager_cls(instance) d...
[ "ypark@stanfordhealthcare.org" ]
ypark@stanfordhealthcare.org
9228c45a17c75aa50683a86ff03c6c136edeb0b9
c3ee57e128cae0cf43d05de7948171dd7e859550
/code/viz_lehrverpflichtung_stellentyp_synopse.py
a5f0c6b7b17754f692c62c18a91d32d4736e04ed
[ "CC-BY-4.0", "MIT" ]
permissive
christofs/romstat
6603c46a08360d53d2c13004cfeffdedaf384b64
f3ca0a494e84c34b37c8a11c4eacce32448dab55
refs/heads/main
2023-04-12T14:30:38.858836
2022-03-11T10:52:22
2022-03-11T10:52:22
404,706,091
0
0
null
null
null
null
UTF-8
Python
false
false
2,615
py
import re from os.path import join import glob import os import pandas as pd import pygal from collections import Counter from pygal.style import LightenStyle import numpy as np def get_data(): with open("../data/romanistik-stellen_datensatz_2014-2021.csv", "r", encoding="utf8") as infile: data = pd.read_csv(inf...
[ "c.schoech@gmail.com" ]
c.schoech@gmail.com
604ab7c62f83772cb3de7609c797e43d64a23387
421ba39700f4768993c1990fd4d7f867b45a0df4
/airtable/__version__.py
0e72261e34947346b3c2d25fdf8a86d75a62cabd
[ "MIT" ]
permissive
rickh94/airtable-python-wrapper
98e997977be3fe918925e714e52efe76d06acd3c
04479201a0f0cb7564993324388e9fd5d75bbc30
refs/heads/master
2021-07-09T09:48:36.456390
2017-10-07T16:13:36
2017-10-07T16:13:36
106,108,248
0
0
null
2017-10-07T15:24:49
2017-10-07T15:24:48
null
UTF-8
Python
false
false
303
py
__version__ = '0.7.3' __name__ = 'airtable-python-wrapper' __description__ = 'Python API Wrapper for the Airtable API' __url__ = 'https://github.com/gtalarico/airtable-python-wrapper' __author__ = 'Gui Talarico' __license__ = 'The MIT License (MIT)' __copyright__ = 'Copyright 2017 Gui Talarico'
[ "gtalarico@gmail.com" ]
gtalarico@gmail.com
45388d350ed3d8a61b3dce2f916913eb624c25e5
e912af291e1457c61606642f1c7700e678c77a27
/python/021_merge_two_sorted_lists.py
4b7d17ac96a574cacb16e17689be902f5095f6c5
[]
no_license
MakrisHuang/LeetCode
325be680f8f67b0f34527914c6bd0a5a9e62e9c9
7609fbd164e3dbedc11308fdc24b57b5097ade81
refs/heads/master
2022-08-13T12:13:35.003830
2022-07-31T23:03:03
2022-07-31T23:03:03
128,767,837
0
0
null
null
null
null
UTF-8
Python
false
false
896
py
# Definition for singly-linked list. # class ListNode: # def __init__(self, x): # self.val = x # self.next = None class Solution: def mergeTwoLists(self, l1: ListNode, l2: ListNode) -> ListNode: head = res = ListNode(0) while l1 != None and l2 != None: if l1.val < l2...
[ "vallwesture@gmail.com" ]
vallwesture@gmail.com
a405ebdaf151815421973fc29267f7ecb8c69c51
eff07616592da4936181481ef8484fee8c9a830d
/py3/test/testTo.py
7193c718c99fff5bf03e60178717ecf01d90e265
[ "MIT" ]
permissive
odys-z/antson
4f88fd21d3be9f0c95d9e270b48eec714422380e
ea7a48c798368b7fca0d149da128ce7bd0104057
refs/heads/master
2023-08-31T01:56:20.840748
2023-08-28T08:50:29
2023-08-28T08:50:29
195,413,277
0
0
null
null
null
null
UTF-8
Python
false
false
2,337
py
# Window - Preferences - PyDev - Interpreters - Python Interpreter - Forced builtins - new... - antlr4 # https://stackoverflow.com/questions/2112715/how-do-i-fix-pydev-undefined-variable-from-import-errors from antlr4 import * #@UnusedWildImport from ansonpy.JSONLexer import JSONLexer from ansonpy.JSONListener import...
[ "odysseusj@163.com" ]
odysseusj@163.com
9a39d882a01d8cd912ccf297c1610bc2b80a3b66
f07a42f652f46106dee4749277d41c302e2b7406
/Data Set/bug-fixing-5/5644d97cc5014e18b14799feeb9b354d528a6489-<test_aspnetcore_event>-bug.py
343976a929e99453e22ab3f735587322c8dd2e86
[]
no_license
wsgan001/PyFPattern
e0fe06341cc5d51b3ad0fe29b84098d140ed54d1
cc347e32745f99c0cd95e79a18ddacc4574d7faa
refs/heads/main
2023-08-25T23:48:26.112133
2021-10-23T14:11:22
2021-10-23T14:11:22
null
0
0
null
null
null
null
UTF-8
Python
false
false
370
py
def test_aspnetcore_event(self): event = self.create_sample_event(default='aspnetcore', platform='csharp') self.browser.get('/{}/{}/issues/{}/'.format(self.org.slug, self.project.slug, event.group.id)) self.browser.wait_until('.entries') self.browser.wait_until('[data-test-id="loaded-device-name"]') ...
[ "dg1732004@smail.nju.edu.cn" ]
dg1732004@smail.nju.edu.cn
0f806fb6e3b9e7374d3d0c53e8ae2ccaa24d7c6f
a0cb629823711385a4cadfac4cda2de90830d9dc
/openapi_server/test/test_txs_controller.py
a77d688e0b763c2ebfb95c2d618763441990d96f
[ "MIT" ]
permissive
bitWeaver-arch/graphsense-REST
e26ababfbe68b26e1f87cdad4f58bfc2a75a0873
2e4a9c20835e54d971e3fc3aae5780bc87d48647
refs/heads/master
2023-05-30T16:17:16.465692
2021-06-02T10:00:07
2021-06-02T10:00:07
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,547
py
# coding: utf-8 from __future__ import absolute_import import unittest from flask import json from six import BytesIO from openapi_server.models.tx import Tx # noqa: E501 from openapi_server.models.txs import Txs # noqa: E501 from openapi_server.test import BaseTestCase import gsrest.test.txs_service as test_servi...
[ "git@myrho.net" ]
git@myrho.net
bd984754df3f6288f2c7ba4d974e91c1041ed534
82fce9aae9e855a73f4e92d750e6a8df2ef877a5
/Lab/venv/lib/python3.8/site-packages/OpenGL/GLES2/IMG/bindless_texture.py
253285f3b20ff993b344e3e978c6d9a3d2d644f0
[]
no_license
BartoszRudnik/GK
1294f7708902e867dacd7da591b9f2e741bfe9e5
6dc09184a3af07143b9729e42a6f62f13da50128
refs/heads/main
2023-02-20T19:02:12.408974
2021-01-22T10:51:14
2021-01-22T10:51:14
307,847,589
0
0
null
null
null
null
UTF-8
Python
false
false
2,182
py
'''OpenGL extension IMG.bindless_texture This module customises the behaviour of the OpenGL.raw.GLES2.IMG.bindless_texture to provide a more Python-friendly API Overview (from the spec) This extension allows OpenGL ES applications to access texture objects in shaders without first binding each texture to one of...
[ "rudnik49@gmail.com" ]
rudnik49@gmail.com
e2248d771e62fe601569d09081ec41ee554cc90c
61043ea8982fb62552c2c7312c47c9c29878e8ac
/packages/awrams/calibration/objectives/general.py
609c76d6754d07d730b0fa571a835cf3bc589800
[ "LicenseRef-scancode-unknown-license-reference", "LicenseRef-scancode-generic-cla", "BSD-3-Clause" ]
permissive
jeff-cloud/awra_cms
01e131eaaa84dbb2427b5fcdd6795fdf02f24a8d
bbbb85ad8864e2c835926439acc1e6dabb137a97
refs/heads/master
2022-12-09T16:23:51.019304
2019-11-26T00:17:03
2019-11-26T00:17:03
292,319,017
0
0
NOASSERTION
2020-09-02T15:17:26
2020-09-02T15:17:25
null
UTF-8
Python
false
false
2,245
py
from awrams.utils.ts import processing import numpy as np class Bias: ''' Precomputed relative bias evaluator ''' def __init__(self,obs): self.obs_sum = np.sum(obs) def __call__(self,modelled): mod_t = np.sum(modelled) return (mod_t - self.obs_sum) / self.obs_sum class NSE: ''' Precomputed NSE evaluator...
[ "david.shipman@bom.gov.au" ]
david.shipman@bom.gov.au
90a8699c2db7a5a2f2daa1598d448732325ccc38
8fcc27160f8700be46296568260fa0017a0b3004
/client/zaction.py
e24c8fe214d984424d6abc0ac3e81a443c432f2b
[]
no_license
connoryang/dec-eve-serenity
5d867f4eedfa896a4ef60f92556356cafd632c96
b670aec7c8b4514fc47cd52e186d7ccf3aabb69e
refs/heads/master
2021-01-22T06:33:16.303760
2016-03-16T15:15:32
2016-03-16T15:15:32
56,389,750
1
0
null
2016-04-16T15:05:24
2016-04-16T15:05:24
null
UTF-8
Python
false
false
746
py
#Embedded file name: e:\jenkins\workspace\client_SERENITY\branches\release\SERENITY\eve\common\modules\nice\client\_nastyspace\zaction.py from carbon.common.script.zaction.zactionCommon import ActionComponent from carbon.common.script.zaction.zactionCommon import AddPropertyForCurrentPythonProc from carbon.common.sc...
[ "masaho.shiro@gmail.com" ]
masaho.shiro@gmail.com
dc38a0f1e13d8ad65230517790b06c898564bc65
bdba52c756cc09f192b720ea318510c265665dcd
/swagger_client/models/post_universe_ids_faction.py
8316a8d1396c483058e243350626d0cb523f0128
[ "MIT" ]
permissive
rseichter/bootini-star
6b38195890f383615cc2b422c365ac28c5b87292
a80258f01a05e4df38748b8cb47dfadabd42c20d
refs/heads/master
2020-03-14T03:17:11.385048
2018-06-28T17:23:23
2018-06-28T17:23:23
131,416,504
0
0
MIT
2018-05-01T14:26:04
2018-04-28T14:28:46
Python
UTF-8
Python
false
false
3,613
py
# coding: utf-8 """ EVE Swagger Interface An OpenAPI for EVE Online # noqa: E501 OpenAPI spec version: 0.8.0 Generated by: https://github.com/swagger-api/swagger-codegen.git """ import pprint import re # noqa: F401 import six class PostUniverseIdsFaction(object): """NOTE: This class i...
[ "github@seichter.de" ]
github@seichter.de
e8d3542f8bf262eaf19fc4e7584287bf136229d2
71722fd9ab8e300198f6c1891c9604b969d3cc24
/devilry/devilry_admin/views/assignment/students/replace_groups.py
6aecc63f1cf11f0acf54cc06c660ee62af5ed65a
[]
no_license
henrist/devilry-django
2eec5a90efb13dbcb5bd38934334ff9ad6966e3c
79678ff9e3bcedef4e4cd0d3ddd1397f6d9c6da2
refs/heads/master
2021-07-08T19:56:50.171064
2017-07-02T11:25:04
2017-07-02T11:25:04
null
0
0
null
null
null
null
UTF-8
Python
false
false
3,521
py
from django.contrib import messages from django.shortcuts import redirect from django.utils import timezone from django.utils.translation import pgettext_lazy from django_cradmin import crapp from devilry.devilry_admin.views.assignment.students import create_groups class RequireUnpublishedAssignmentMixin(object): ...
[ "post@espenak.net" ]
post@espenak.net
8afc080ac470f898178e7e3e3a7d4ece9e06dcf9
5ae01ab82fcdedbdd70707b825313c40fb373fa3
/scripts/charonInterpreter/parsers/charonBlockParserSolverBlock.py
1a1efc2c7413e421b3f67e8e2956b22f2d74d898
[]
no_license
worthenmanufacturing/tcad-charon
efc19f770252656ecf0850e7bc4e78fa4d62cf9e
37f103306952a08d0e769767fe9391716246a83d
refs/heads/main
2023-08-23T02:39:38.472864
2021-10-29T20:15:15
2021-10-29T20:15:15
488,068,897
0
0
null
2022-05-03T03:44:45
2022-05-03T03:44:45
null
UTF-8
Python
false
false
1,896
py
class charonBlockParserSolverBlock: "SolverBlock parser" def __init__(self): # Register the parsing keys self.parsingBlockKey = "start solver block" self.parserBlockName = "SolverBlock" # Register the block arguments self.blockArgument = [] self.blockArgumentIn...
[ "juan@tcad.com" ]
juan@tcad.com
8adfed7e4a8db8dafb621399820d8ca0b5d66d68
ee0e6880ef9223d0ff30a14b4c5412aac1abb522
/train.py
f931f4cb90f3030b35c5b42c9026c59b5058c7a7
[]
no_license
KUR-creative/glcic-keras
6328f12c9b2153cad7664a1a80dc384d1a59ad58
7a4c32204a8042435a27cf66a93a4e0e68baa5b0
refs/heads/master
2023-03-22T20:37:36.218460
2023-03-09T00:28:11
2023-03-09T00:28:11
133,694,230
0
0
null
null
null
null
UTF-8
Python
false
false
5,433
py
from model import init_models, BATCH_SIZE, IMG_SHAPE, LD_CROP_SIZE, HOLE_MAX_LEN, HOLE_MIN_LEN from data_generator import gen_batch from utils import ElapsedTimer from tqdm import tqdm import numpy as np import os, h5py def trainC(Cmodel, batch,epoch): origins, complnet_inputs, holed_origins, masks, _ = batch ...
[ "rhdnfka94@gmail.com" ]
rhdnfka94@gmail.com
bdf3efe7ec985518460d35b266a335e8957a7e1e
96e1f3a60142c96e1d675b5209975ef03cca7c11
/pyxll_notebook/client/kernel_manager.py
ef7d2c2d3e10d49d244c517a036233dc7c40376d
[ "MIT" ]
permissive
pyxll/remote-notebook
a1b9abc7c6c59a8d6eed0c88471b9f498f4b74af
321c3fd6978a7e6a7c8500cb7d6d1727d21ecbee
refs/heads/master
2023-04-11T07:51:38.377539
2021-03-09T09:52:49
2021-03-09T09:52:49
212,401,956
3
0
null
null
null
null
UTF-8
Python
false
false
3,805
py
""" KernelManager class for starting and stopping the remote kernels for each notebook in the configuration. """ from pyxll import get_config from .kernel import Kernel from . import authenticators import asyncio import aiohttp class KernelManager: _instance = None def __init__(self, cfg): notebooks ...
[ "tony@pyxll.com" ]
tony@pyxll.com
67ed2698a0f9a21002893bd8b85b80de047238fb
e6f1137903b9658e5e3c1ee51201a931894303b9
/applications/tf-record/dense/sequence_test.py
9b090ee0c3b8e6e7f6fac800c4008f72e6fba3a0
[]
no_license
fword/hasky
8ed69ef85bb34823d9ade27bb3b19aac02872440
d3c680ffa04f7487b931a5575977798157b42b7e
refs/heads/master
2021-01-23T01:18:49.275631
2017-03-18T13:01:27
2017-03-18T13:01:27
85,898,744
1
1
null
2017-03-23T02:39:06
2017-03-23T02:39:06
null
UTF-8
Python
false
false
2,570
py
#!/usr/bin/env python # -*- coding: utf-8 -*- # ============================================================================== # \file sequence_test.py # \author chenghuige # \date 2016-09-11 14:15:27.011704 # \Description # ==========================================================...
[ "29109317@qq.com" ]
29109317@qq.com
3e82cbcb2e750aba483a35fafdcbea2337c03426
23bdcb74f9c4d98ff790d140bea56fbb0fd7bbbd
/app/env/Lib/site-packages/sqlalchemy/testing/assertions.py
0cf0cbc7a7154dd9cb5f17a4d34c5428cb363bac
[ "MIT" ]
permissive
OswaldoCaleone/transporte_uniescolar
85c680c062fa14d0bc90afa60f7434b059fdf245
1ef10869358457a6a9d0f04df891ce4eb0905887
refs/heads/main
2023-08-30T18:37:11.496451
2021-11-12T13:35:45
2021-11-12T13:35:45
429,673,776
1
0
MIT
2021-11-19T04:53:24
2021-11-19T04:53:24
null
UTF-8
Python
false
false
23,705
py
# testing/assertions.py # Copyright (C) 2005-2021 the SQLAlchemy authors and contributors # <see AUTHORS file> # # This module is part of SQLAlchemy and is released under # the MIT License: https://www.opensource.org/licenses/mit-license.php from __future__ import absolute_import import contextlib import re import sy...
[ "92728746+alexpls2021@users.noreply.github.com" ]
92728746+alexpls2021@users.noreply.github.com
303df02a5609e5705c9b2121b4b728171648d4e3
781e2692049e87a4256320c76e82a19be257a05d
/all_data/exercism_data/python/bob/06ce100b7d6448aa8e881328e94b2c1c.py
9c5f4aa42a8cb1ac2c299bcf31b4bc3123f25a03
[]
no_license
itsolutionscorp/AutoStyle-Clustering
54bde86fe6dbad35b568b38cfcb14c5ffaab51b0
be0e2f635a7558f56c61bc0b36c6146b01d1e6e6
refs/heads/master
2020-12-11T07:27:19.291038
2016-03-16T03:18:00
2016-03-16T03:18:42
59,454,921
4
0
null
2016-05-23T05:40:56
2016-05-23T05:40:56
null
UTF-8
Python
false
false
242
py
def hey(question): if question is None or len(question.strip()) == 0: return 'Fine. Be that way!' elif question.isupper(): return 'Whoa, chill out!' elif question.endswith('?'): return 'Sure.' else: return 'Whatever.'
[ "rrc@berkeley.edu" ]
rrc@berkeley.edu
88c15464ece70a40b20b8fee7b5713e056c75a33
9ddfd30620c39fb73ac57e79eae0a001c45db45f
/addons/abs_top_selling_products_by_invoices/models/__init__.py
cc171982cdda56971d97afd1861145fd855ab489
[]
no_license
zamzamintl/silver
a89bacc1ba6a7a59de1a92e3f7c149df0468e185
8628e4419c4ee77928c04c1591311707acd2465e
refs/heads/master
2023-01-06T20:29:25.372314
2020-10-29T21:02:41
2020-10-29T21:02:41
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,053
py
# -*- coding: utf-8 -*- ################################################################################# # # Odoo, Open Source Management Solution # Copyright (C) 2020-today Ascetic Business Solution <www.asceticbs.com> # # This program is free software: you can redistribute it and/or modify # it under the...
[ "mohamed.abdelrahman@businessborderlines.com" ]
mohamed.abdelrahman@businessborderlines.com
18839a3f217676df88d43467038eb3b50f751841
d2144b0a45b4ff3e7c78356dcbe5c187b3eddf1f
/98-tf.nn.softmax_cross_entropy_with_logits的用法.py
38afad50b92420bf6a4d11edf9e0c9521d38ea45
[]
no_license
CWSchen/tensorflow
45d5996370b9584fa02bdd9a0705b6c6579b324a
301e169b007ccac265a99b37f5fd097c5db1d423
refs/heads/master
2020-03-21T12:29:42.157422
2018-08-15T01:21:29
2018-08-15T01:21:29
138,555,214
3
0
null
null
null
null
UTF-8
Python
false
false
3,353
py
import tensorflow as tf ''' https://www.cnblogs.com/welhzh/p/6595032.html 在计算loss时,最常见的一句话就是tf.nn.softmax_cross_entropy_with_logits,那么它到底是怎么做的呢? 首先明确一点,loss是代价值/损失函数,也就是我们要最小化的值 tf.nn.softmax_cross_entropy_with_logits(logits, labels, name=None) 除去name参数用以指定该操作的name,与方法有关的一共两个参数: 第一个参数logits:就是神经网络最后一层的输出, 如果有batch的话...
[ "1044502604@qq.com" ]
1044502604@qq.com
7583c6c02987d0e74625a18522664638166ac587
d40ee63566975dd11ae6ba6ea1c2889680c47c90
/workspace/ros/aerostack_catkin_ws/devel/lib/python2.7/dist-packages/aerostack_msgs/msg/_Float32Stamped.py
f1ad145f219f6b4e9a9759a9d7230b0498a17d67
[]
no_license
la16k/TFG_Laura
45e9df0f60ef94572260f14346c47969ab2c73b3
f5e0661aa7ccd200ba056a40beb9e687f5f0d06e
refs/heads/master
2022-12-27T02:49:05.549777
2020-10-05T10:48:57
2020-10-05T10:48:57
301,374,417
0
0
null
null
null
null
UTF-8
Python
false
false
6,305
py
# This Python file uses the following encoding: utf-8 """autogenerated by genpy from aerostack_msgs/Float32Stamped.msg. Do not edit.""" import sys python3 = True if sys.hexversion > 0x03000000 else False import genpy import struct import std_msgs.msg class Float32Stamped(genpy.Message): _md5sum = "4bea522f9243fd34e...
[ "kunito.laura.ac@gmail.com" ]
kunito.laura.ac@gmail.com
31c0c081fd9bd73d793db937ad8b4ec196d97758
bb71e927dc2429abf551b44874ee990cb3a93f7a
/applications/same-stats-different-graphs/app_before.py
264f02f22958265df75b634535fbdffe1561dadb
[]
no_license
khuyentran1401/Data-science
c37021349bb407ed50d891dab780463e0b243de5
be59f5959be9f5944e12260fbb4548c85ef6aabe
refs/heads/master
2023-08-31T13:46:58.212459
2023-08-09T15:46:11
2023-08-09T15:46:11
280,508,180
3,809
943
null
2023-05-23T02:38:37
2020-07-17T19:25:27
Jupyter Notebook
UTF-8
Python
false
false
1,137
py
from pywebio.input import * from pywebio.output import * from pywebio import pin from pywebio import start_server from utils import IMAGE_TO_LINK def app(): put_markdown("# Can Dinosaur and Circle Have the Same Statistics?") put_text("If 2 datasets have the same statistics, they should be similar right?" ...
[ "khuyentran1476@gmail.com" ]
khuyentran1476@gmail.com
b3c1a0c4089ce1684898724d0931c11c5f3f1fb4
7ba4c0df9c8694e53eb1afcbe17d33cb41cabafa
/core/brain/show/traffic/reaction.py
c6b81c3f05be5bf03dc02af0cfb1bc45d5d335bf
[ "MIT" ]
permissive
vsilent/smarty-bot
bb2fd95d0f246b205016681a3db1db9406302fff
1ff9b8a1be40ccc89e9239d3c336cadd1f33abf7
refs/heads/master
2023-08-17T05:55:09.880015
2023-05-02T07:31:13
2023-05-02T07:31:13
7,682,559
1
1
MIT
2023-08-03T23:07:26
2013-01-18T07:42:34
Python
UTF-8
Python
false
false
3,842
py
#!/usr/bin/env python # -*- coding: utf-8 -*- # Example # ============================================================================= # # # You can access main configuration module or better create your own in the # config module: # # from core.config.settings import DEMO_MUSIC_DIR # # # Simple command example...
[ "jabberroid@gmail.com" ]
jabberroid@gmail.com
8abc5e49376cf0d846251599631e3062a749e0c3
578db86c51d44ebddd0dc7b1738985b3dc69eb74
/corehq/util/metrics/tests/test_utils.py
e66445b3e8034d0868804c51ec1e4c3cb80f4b34
[ "BSD-3-Clause" ]
permissive
dimagi/commcare-hq
a43c7dd32b5f89c89fd5aa1b1359ab7301f4ff6b
e7391ddae1af1dbf118211ecb52c83fc508aa656
refs/heads/master
2023-08-16T22:38:27.853437
2023-08-16T19:07:19
2023-08-16T19:07:19
247,278
499
203
BSD-3-Clause
2023-09-14T19:03:24
2009-07-09T17:00:07
Python
UTF-8
Python
false
false
1,919
py
from datetime import timedelta from django.test import SimpleTestCase from testil import eq from corehq.util.metrics import make_buckets_from_timedeltas, DAY_SCALE_TIME_BUCKETS, bucket_value from corehq.util.metrics.utils import sanitize_url, get_url_group from corehq.util.test_utils import generate_cases def test_...
[ "skelly@dimagi.com" ]
skelly@dimagi.com
f189cffb60f3fded40f02e86a1807b620bcc37db
a5c416002e1b14413871b7a9bf7056df6d46ee50
/polls/views.py
45d20d779a3b0fc3725dce793ee8746d1e07713b
[]
no_license
WellingtonIdeao/polls-app
4d650cfc0cd315a320f208a045c84de58ac35940
ed7186c92d820bac2c4f53a4089f2357f4212a13
refs/heads/master
2023-05-02T22:42:48.015176
2021-05-14T17:38:26
2021-05-14T17:38:26
357,293,149
0
0
null
null
null
null
UTF-8
Python
false
false
2,080
py
from django.shortcuts import render, get_object_or_404 from django.template import loader from django.http import Http404, HttpResponse, HttpResponseRedirect from .models import Question, Choice from django.urls import reverse from django.views import generic from django.utils import timezone # Create your views here. ...
[ "wellington.ideao@gmail.com" ]
wellington.ideao@gmail.com
0fe0188e2c4639b5de57a61cbd6219a0225cc427
fefb1e9b0b736da4e49d7754f8d1dbaf37f2fa6a
/.history/8_2_20210209125714.py
6e6f07083080f09e752da62f20145fb7f433906f
[]
no_license
wh-debug/python
5a78a2227874ebc400d075197de0adab9f55d187
1467eeda670f170e6e2d7c0a0550f713f1ee9d75
refs/heads/master
2023-03-12T22:08:12.608882
2021-02-17T09:49:52
2021-02-17T09:49:52
334,032,494
0
0
null
null
null
null
UTF-8
Python
false
false
724
py
''' Author: your name Date: 2021-02-09 12:44:50 LastEditTime: 2021-02-09 12:56:10 LastEditors: Please set LastEditors Description: In User Settings Edit FilePath: \python\8_2.py ''' '''位置实参,也就是C中的实参和形参。且调用时应该对应相应的参数''' def describe_pet(animal_type, pet_name): print(f"I have a {animal_type}.") print(f"My {animal...
[ "1813763848@qq.com" ]
1813763848@qq.com
0b54b91b3eba061d9549be7f037c43da0291f38a
6c500c6f356c4eedb508e88c6ccae3e1746e985c
/mdcom/MHLogin/analytics/tests.py
9f3991e6fed615b2c9044a6ddb39442fe96bca12
[]
no_license
DongHuaLu/mdcom
c83e5f3f5595072b5575637140fc550680fada0e
d0be90d610879bde0004baceac969cb02fc67d1c
refs/heads/master
2020-12-10T02:56:10.574054
2016-09-06T14:10:57
2016-09-06T14:10:57
35,287,408
0
2
null
2020-07-25T21:42:07
2015-05-08T15:39:12
Python
UTF-8
Python
false
false
7,875
py
import urlparse from django.utils import unittest from django.test.client import Client from django.conf import settings from django.core.urlresolvers import reverse from MHLogin.utils.mh_logging import get_standard_logger from MHLogin.MHLUsers.models import MHLUser, Salesperson, Administrator, Provider, Physician...
[ "ctl70000@163.com" ]
ctl70000@163.com
8f62e1594940b04015a1753ce4d3af19a85b2083
58aedaa8ec1288dd5f8e9e328b71b9e02402e291
/test/util.py
641d16e7fc8ceaac211ca5ab42e3ae1c45a9dcfa
[]
no_license
Spencerx/datahub-deprecated
d9cb448441ded82a7587549ab75d87f2305bdfa8
633484931b3b51dcceb1662fdbdc5f1124ea6d7c
refs/heads/master
2020-12-30T19:10:56.219967
2011-08-21T18:26:48
2011-08-21T18:26:48
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,103
py
from datahub import core from datahub import web JSON = 'application/json' FIXTURE_USER = {'name': 'fixture', 'full_name': 'Fixture', 'email': 'fixture@datahub.net', 'password': 'password', 'password_confirm': 'password'} AUTHZ = FIXTURE_USER['name'] + ...
[ "friedrich@pudo.org" ]
friedrich@pudo.org
50fb4193a756cd46833db581d719aae0d7fe7d7f
4eef999a5ffc3c499d63fafb0f673f62628480fd
/conference/views/admin.py
fd914d3ae6e6c423cdfeab3246d398c31abcc292
[]
no_license
lvjindi/RISE_CH
6d8308e2a178e8ceee5a0b56b7227a37d163c72e
039518bc3d01bab9586f37b4b40188b526e61f52
refs/heads/master
2020-04-15T20:33:32.367008
2019-09-03T06:51:23
2019-09-03T06:51:23
164,982,568
0
0
null
null
null
null
UTF-8
Python
false
false
4,189
py
from django.shortcuts import render from account.decorators import super_admin_required, login_required from conference.models import Conference from conference.serializers import CreateConferenceSerializer, ConferenceSerializer from news.models import News from news.serializers import CreateNewsSerializer from utils....
[ "793098580@qq.com" ]
793098580@qq.com
7b8b5427264946dd371e7724635d54f6c2ae63a4
c0239d75a8199ec84ad683f945c21785c1b59386
/dingtalk/api/rest/OapiTdpTaskBasicCreateRequest.py
6ea8af653f6125955ee94518148130d1861736cf
[]
no_license
luss613/oauth_dingtalk
9f253a75ce914c577dbabfb84e97fd883e80e04b
1e2554642d2b16c642a031670d08efa4a74e8252
refs/heads/master
2023-04-23T01:16:33.450821
2020-06-18T08:22:57
2020-06-18T08:22:57
264,966,287
1
1
null
2020-06-18T08:31:24
2020-05-18T14:33:25
Python
UTF-8
Python
false
false
396
py
''' Created by auto_sdk on 2020.04.23 ''' from dingtalk.api.base import RestApi class OapiTdpTaskBasicCreateRequest(RestApi): def __init__(self,url=None): RestApi.__init__(self,url) self.microapp_agent_id = None self.operator_userid = None self.task = None def getHttpMethod(self): return 'POST'...
[ "paul.lu@belstar.com.cn" ]
paul.lu@belstar.com.cn
00cf90c00b9af7391d3126acf47e47463d4f1bde
a00fcfa8158316fceff0dc9b5d936bba96cca4c3
/smodels/test/runCompleteTestSuite.py
6a1d4c156a828135ae1e796a5570dcb014c5b462
[]
no_license
andlessa/stopsEFT
414fac7493c385c5b6d9fda2f17f9ef4658d7884
9fae9ef9c96432fecadd7abbb3578b154edc9282
refs/heads/master
2020-06-15T06:59:20.544277
2019-11-12T19:48:55
2019-11-12T19:48:55
195,229,257
0
0
null
null
null
null
UTF-8
Python
false
false
3,451
py
#!/usr/bin/env python3 """ .. module:: runCompleteTestSuite :synopsis: Runs all test suites. .. moduleauthor:: Wolfgang Magerl <wolfgang.magerl@gmail.com> .. moduleauthor:: Wolfgang Waltenberger <wolfgang.waltenberger@gmail.com> """ from __future__ import print_function import sys sys.path.insert(0,"../...
[ "lessa.a.p@gmail.com" ]
lessa.a.p@gmail.com
dba421d968a60c214dedda8652f38a6c317ec2b1
814a3954540c13777bce9839214a9fe5804acda3
/app/auth/views.py
8104649432b9112ae5e32b689b05b94acf1acb22
[ "MIT" ]
permissive
cynthiaoduol/Pitch
7d0d78714d3991f7e7703473029e3e734d2360ab
aa3b5bb642ab436e10badb5a40b92bfc57145dc5
refs/heads/master
2022-10-01T17:11:55.302424
2019-10-27T15:46:27
2019-10-27T15:46:27
216,023,063
0
0
MIT
2022-09-16T18:11:53
2019-10-18T12:50:26
Python
UTF-8
Python
false
false
1,728
py
from flask import render_template, redirect, url_for, flash, request from flask_login import login_user, logout_user, login_required,current_user from . import auth from ..models import User from .forms import LoginForm, RegistrationForm from .. import db from ..email import mail_message import os @auth.route('/login...
[ "cynthiaobu940@gmail.com" ]
cynthiaobu940@gmail.com
092f2e20482d8f30865360dce86f25b19e1ad2b5
17926b196d9db43816453d16f3da84de6664f2fd
/919_Complete_Binary_Tree_Inserter.py
6a512b5362e4330582f688b9aec1b0652b17017e
[]
no_license
luchang59/leetcode
66690a3c9b28a5201a7be8cd0134142b48418adb
feab001b9291f6e57c44eeb0b625fdaa145d19b4
refs/heads/master
2020-05-28T06:57:20.667138
2019-09-20T18:18:11
2019-09-20T18:18:11
188,914,681
0
0
null
2019-05-27T22:17:44
2019-05-27T22:08:54
null
UTF-8
Python
false
false
1,614
py
# Definition for a binary tree node. import collections class TreeNode(object): def __init__(self, x): self.val = x self.left = None self.right = None class CBTInserter(object): def __init__(self, root): """ :type root: TreeNode """ # It actually didn't...
[ "luchang1991@gmail.com" ]
luchang1991@gmail.com
fe1da5936e49308932f1f4c7d3a6e8aa508f8966
09f935a2c6e14fcf4ae7df49f2c56f835a2fa0e7
/devel/lib/python2.7/dist-packages/find_object_2d/msg/__init__.py
72590ee990b735d4dab581f18384eaf0c8151ee7
[]
no_license
Rafcin/WanderBot
deec6eb2d8cd91ab78b132441ab1bd4a3831dcce
957f5c1a01a5f6e470134edcab92d7f2223cf93a
refs/heads/master
2020-03-14T05:20:24.552204
2018-04-29T03:26:00
2018-04-29T03:26:00
131,462,816
1
0
null
null
null
null
UTF-8
Python
false
false
31
py
from ._ObjectsStamped import *
[ "rafcin" ]
rafcin
ff2de00c2ddab3bc3fb91bd78701d7d98efddc70
b2578c3043020e04351007e5e27f63f007a4c14b
/learntools/core/problem_factories.py
47b29a1504a099d2cd5e212dbc0a255dc54ce368
[ "Apache-2.0" ]
permissive
kylehiroyasu/learntools
b49e853a2268391df2693d969f92a9c8a08efc7f
fdef51d9abbfadf57195ddb5b918077f8f93a14f
refs/heads/master
2020-03-29T14:09:17.789742
2018-09-20T21:42:24
2018-09-20T21:42:24
150,001,698
1
0
Apache-2.0
2018-09-23T16:13:04
2018-09-23T16:13:04
null
UTF-8
Python
false
false
734
py
from learntools.core.problem import * class ProblemSeed: def __init__(self, name, solution, hint, parent=Problem): self.name = name self.solution = solution self.hint = hint self.parent = parent def with_expected(self, **kwargs): varnames, expected_vals = zip(*kwarg...
[ "colin.morris2@gmail.com" ]
colin.morris2@gmail.com
43253a9876800ea6d7eb279d4f1b732b12b5c3f4
ac227cc22d5f5364e5d029a2cef83816a6954590
/applications/physbam/physbam-lib/Scripts/Archives/misc/rangeutils.py
75e0cf459a026c33cea4ced80d168d2572141aad
[ "BSD-3-Clause" ]
permissive
schinmayee/nimbus
597185bc8bac91a2480466cebc8b337f5d96bd2e
170cd15e24a7a88243a6ea80aabadc0fc0e6e177
refs/heads/master
2020-03-11T11:42:39.262834
2018-04-18T01:28:23
2018-04-18T01:28:23
129,976,755
0
0
BSD-3-Clause
2018-04-17T23:33:23
2018-04-17T23:33:23
null
UTF-8
Python
false
false
4,057
py
#!/usr/bin/python import os import re RED=chr(27) + '[1;31m' #BRIGHTRED=chr(27) + '[1;31m' GREEN=chr(27) + '[1;32m' BLUE=chr(27) + '[1;34m' CLEAR=chr(27) + '[00m' def format_sub_range(items): last,start=None,None subranges=[] for i in items: if last != i-1: if start!=None: subranges.a...
[ "quhang@stanford.edu" ]
quhang@stanford.edu
ba577c34f2b165f4db045175baa0e17dc8e5adf1
987a68b9c196f39ba1810a2261cd4a08c35416a3
/Tree/99-recover-binary-search-tree.py
9b26c28d451dc8ee7162e9efa2fd3ff40f4ede2d
[]
no_license
xizhang77/LeetCode
c26e4699fbe1f2d2c4706b2e5ee82131be066ee5
ce68f5af57f772185211f4e81952d0345a6d23cb
refs/heads/master
2021-06-05T15:33:22.318833
2019-11-19T06:53:24
2019-11-19T06:53:24
135,076,199
0
0
null
null
null
null
UTF-8
Python
false
false
1,450
py
# -*- coding: utf-8 -*- ''' Two elements of a binary search tree (BST) are swapped by mistake. Recover the tree without changing its structure. Example 1: Input: [1,3,null,null,2] 1 / 3 \ 2 Output: [3,1,null,null,2] 3 / 1 \ 2 Example 2: Input: [3,1,4,null,null,2] 3 / \ 1 4 / 2 ...
[ "xizhang1@cs.stonybrook.edu" ]
xizhang1@cs.stonybrook.edu
b902e123d8dadd62f0ef0e99bc4ef21e10e33c7f
8db1b9528ace3ce142ea52da1017eb6359f46967
/py1810/hello_mongo_08.py
4528bf4ec6f26d4cf6eafe85dd3927662625a976
[]
no_license
ul8ksgdmy/myPythonlearning
01fbd49d227e2b3095250e7ee40768fa3179f26e
2ad0d3525cd505edba3fd37e21f601a32872259b
refs/heads/master
2020-03-31T14:33:13.448891
2019-01-09T18:13:26
2019-01-09T18:13:26
152,299,859
0
0
null
null
null
null
UTF-8
Python
false
false
2,368
py
from pymongo import MongoClient import json import sys #접속 실행전 myinfo 경로확인 with open('D:\py\myPythonlearning\py1810\myinfo.json') as f: data = json.load(f) ip = data['ip'] port = data['port'] client = MongoClient(ip, port) db = client.get_database('col1') invents = db.get_collection('inventory') #1 inventory 컬...
[ "clickmy7@gmail.com" ]
clickmy7@gmail.com
5e5556c1afdf945916a1bcfc9098a60a912d2def
ac1fdf53359b53e183fb9b2602328595b07cf427
/ParlAI/parlai/tasks/wikisql/agents.py
b45923a3b9d74a31d3043954e27b7173307ceb9f
[]
no_license
Ufukdogann/MasterThesis
780410c5df85b789136b525bce86ba0831409233
b09ede1e3c88c4ac3047800f5187c671eeda18be
refs/heads/main
2023-01-24T18:09:52.285718
2020-11-27T16:14:29
2020-11-27T16:14:29
312,416,173
0
0
null
null
null
null
UTF-8
Python
false
false
129
py
version https://git-lfs.github.com/spec/v1 oid sha256:a560c9ee622850d47077d8a77163bf7304566d36e2339937b171db600df69add size 3431
[ "134679852Ufuk*" ]
134679852Ufuk*
deda7a898f16abeda110860060a87c5bda827c36
4285ef0cefc8d80b56e7cea7f15973f04a759390
/2020-02-12/paly.py
02f46b25728e8492f38ea8f1546e6fb9866f393d
[]
no_license
liupengzhouyi/MachineLearning
09d7fb3c8f02e546aa7a5066a225b9830584a12c
f7984eeb203a803d70e2afbfc93a40dcee01a3ae
refs/heads/master
2020-12-04T04:36:44.710637
2020-02-12T15:38:49
2020-02-12T15:38:49
231,614,820
0
0
null
null
null
null
UTF-8
Python
false
false
2,834
py
import torch from torch.autograd import Variable import torchvision import torchvision.transforms as transforms import torch.utils.data as Data import matplotlib.pyplot as plt torch.manual_seed(1) # reproducible # Hyper Parameters EPOCH = 1 # 训练整批数据多少次, 为了节约时间, 我们只训练一次 BATCH_SIZE = 64 TIME_STEP = 28 # rnn 时间步数 / 图...
[ "liupeng.0@outlook.com" ]
liupeng.0@outlook.com
10ddc13d7147f64e784eb03ba0dd3d665378d292
55b08f5ccd29a7dad5faa505debde23da22d2670
/spotty/commands/run.py
39def92d05ca02588ae6140b4525654206a3c8ba
[ "MIT" ]
permissive
NighTurs/spotty
68b0132a346d5954439f4acfb73e24362b265761
51f0c244ff36a12849c2e171bda941768aae003f
refs/heads/master
2022-09-12T11:29:42.690950
2020-06-02T14:36:37
2020-06-02T14:36:37
268,801,855
0
0
MIT
2020-06-02T13:00:02
2020-06-02T13:00:01
null
UTF-8
Python
false
false
3,013
py
from argparse import ArgumentParser, Namespace from spotty.commands.abstract_config_command import AbstractConfigCommand from spotty.commands.writers.abstract_output_writrer import AbstractOutputWriter from spotty.errors.instance_not_running import InstanceNotRunningError from spotty.helpers.run import parse_parameters...
[ "apls777@gmail.com" ]
apls777@gmail.com
5cd3fc9f1bddae7dcff7df1d2bdfe30e2da7c04e
48d4721cdf47e7409ddbee241990fb84dc03d314
/build/lib/webstorageS3/Checksums.py
7824b5e7f4aac90d3e02aec357abda8e1d7e79d1
[ "MIT" ]
permissive
gunny26/webstorageS3
0839eec352ac03bf301eb98641698d29e4a55d1c
df692472574e16f10a9887cb5ada120f7323b177
refs/heads/master
2023-06-10T15:12:04.813968
2023-05-28T15:57:36
2023-05-28T15:57:36
230,425,530
0
0
null
2022-01-22T18:40:25
2019-12-27T10:40:38
Python
UTF-8
Python
false
false
2,439
py
#!/usr/bin/python3 import logging import os import sqlite3 class Checksums: """ storing persistent set in sqlite database """ def __init__(self, filename: str): self._logger = logging.getLogger(self.__class__.__name__) self._checksums = set() self._filename = filename ...
[ "arthur.messner@gmail.com" ]
arthur.messner@gmail.com
b8541b59adfe318d68d458728416c5a6e63ddc7c
51f887286aa3bd2c3dbe4c616ad306ce08976441
/pybind/slxos/v17r_2_00/interface/__init__.py
bc1c2c89d026d0eec31ef208f6f3509cd1a0a73f
[ "Apache-2.0" ]
permissive
b2220333/pybind
a8c06460fd66a97a78c243bf144488eb88d7732a
44c467e71b2b425be63867aba6e6fa28b2cfe7fb
refs/heads/master
2020-03-18T09:09:29.574226
2018-04-03T20:09:50
2018-04-03T20:09:50
null
0
0
null
null
null
null
UTF-8
Python
false
false
28,504
py
from operator import attrgetter import pyangbind.lib.xpathhelper as xpathhelper from pyangbind.lib.yangtypes import RestrictedPrecisionDecimalType, RestrictedClassType, TypedListType from pyangbind.lib.yangtypes import YANGBool, YANGListType, YANGDynClass, ReferenceType from pyangbind.lib.base import PybindBase from d...
[ "badaniya@brocade.com" ]
badaniya@brocade.com
540b035f04c73a498f692c72f9fb192eedda8ac4
1a166165ab8287d01cbb377a13efdb5eff5dfef0
/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_11_01/operations/_express_route_gateways_operations.py
ed92a032e920486df8b57b20fab9cd8b04380267
[ "MIT", "LicenseRef-scancode-generic-cla", "LGPL-2.1-or-later" ]
permissive
manoj0806/azure-sdk-for-python
7a14b202ff80f528abd068bf50334e91001a9686
aab999792db1132232b2f297c76800590a901142
refs/heads/master
2023-04-19T16:11:31.984930
2021-04-29T23:19:49
2021-04-29T23:19:49
363,025,016
1
0
MIT
2021-04-30T04:23:35
2021-04-30T04:23:35
null
UTF-8
Python
false
false
29,540
py
# 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 ...
[ "noreply@github.com" ]
manoj0806.noreply@github.com
0b9785cf1a9526203a48b7e7fe322f8aeb8372ae
53dd5d2cfb79edc87f6c606bbfb7d0bedcf6da61
/.history/EMR/EMRryzd_1_20190409104146.py
a3b4a7964944b0d10502cc9058bb5417a68ec98c
[]
no_license
cyc19950621/python
4add54894dc81187211aa8d45e5115903b69a182
d184b83e73334a37d413306d3694e14a19580cb0
refs/heads/master
2020-04-11T20:39:34.641303
2019-07-02T12:54:49
2019-07-02T12:54:49
162,078,640
0
0
null
null
null
null
UTF-8
Python
false
false
1,485
py
#-*- coding: UTF-8 -*- #本文件用于提取目标目录中的所有txt,并提取关键词所在行到指定目录,并提取关键词新建文件 import time import math import os import sys import os, os.path,shutil import codecs import EMRdef import re emrtxts = EMRdef.txttq(u'D:\DeepLearning ER\EHR')#txt目录提取 zljhs = [] for emrtxt in emrtxts: f = open(emrtxt,'r',errors="ignore")#中文加入e...
[ "1044801968@qq.com" ]
1044801968@qq.com
d5756d92fd561e13a5f7506d79c6a6fcedc62bbc
7c4878b4881d79dd4daa3291e9c498e0706a7603
/lessons17/HomeWork/task1.py
063c0842f41f0008a42050c56d6ca9483e48263c
[ "MIT" ]
permissive
zainllw0w/skillbox
4cbdbb44762439c1aa1793a07683d7620500ddd7
896287b6f7f5612cf589094131fd1a12b0b192ba
refs/heads/main
2023-04-27T16:07:16.613359
2021-05-20T14:12:11
2021-05-20T14:12:11
329,755,030
0
0
null
2021-05-20T14:06:42
2021-01-14T23:01:15
Python
UTF-8
Python
false
false
239
py
word = input('Введите текст: ') result = [x for x in word if x == 'а' or x == 'у' or x == 'о' or x == 'ы' or x == 'и' or x == 'э' or x == 'я' or x == 'ю' or x == 'е'] print(result) print('Длина: ', len(result))
[ "77465388+zainllw0w@users.noreply.github.com" ]
77465388+zainllw0w@users.noreply.github.com
0f2055274488eeee9d7ebf975912a3f7a8170c42
58afefdde86346760bea40690b1675c6639c8b84
/leetcode/beautiful-arrangement/287085880.py
238a025e3b9a64897a14c2561f29a9d8ba080048
[]
no_license
ausaki/data_structures_and_algorithms
aaa563f713cbab3c34a9465039d52b853f95548e
4f5f5124534bd4423356a5f5572b8a39b7828d80
refs/heads/master
2021-06-21T10:44:44.549601
2021-04-06T11:30:21
2021-04-06T11:30:21
201,942,771
1
0
null
null
null
null
UTF-8
Python
false
false
586
py
# title: beautiful-arrangement # detail: https://leetcode.com/submissions/detail/287085880/ # datetime: Thu Dec 19 17:28:00 2019 # runtime: 332 ms # memory: 12.6 MB class Solution: def countArrangement(self, N: int) -> int: def arrange(n): if n == 0: return 1 res = 0 for...
[ "ljm51689@gmail.com" ]
ljm51689@gmail.com
53a98ee9254a3589bcc7032f02a71ad440934e1d
b8630509b97621ddc3bbeaef8d1cd54ff77b3dde
/myvenv/lib/python3.5/site-packages/django/__main__.py
9673b1e31a2f715314ecfa7f1d35458d45d582a5
[]
no_license
ChibaUnppluged/BandMaker-ogi
c4080204d63495fed42e26306663e06df8ffb373
68a4a6eceb3f385b97afe8741fc538216800f893
refs/heads/master
2021-01-01T04:29:28.436614
2017-10-20T16:30:00
2017-10-20T16:30:00
97,184,844
0
0
null
null
null
null
UTF-8
Python
false
false
226
py
# coding:utf-8 """ Invokes django-admin when the django module is run as a script. Example: python -m django check """ from django.core import management if __name__ == "__main__": management.execute_from_command_line()
[ "pochi.0226.ogi@gmail.com" ]
pochi.0226.ogi@gmail.com
fc2d373f1e0d9bb217c0437fd887c6e1f1e1b6d7
241eccf20a5004027467e143bc77f60be2b02a7f
/Python_design_patterns/Ch02/factory_final.py
b64f10b85f23088363d3fefd1463167f80d6c3d7
[]
no_license
ahmadsadeed/linkedIn-courses-exercises
9940c9bbe7b1670174a651b5339a268bb923f827
39b576eaaaa147d2222aafbcedb921a327b107cb
refs/heads/master
2021-04-21T21:33:11.870366
2020-09-22T21:31:41
2020-09-22T21:31:41
249,817,269
0
0
null
null
null
null
UTF-8
Python
false
false
1,136
py
""" Factory encapsulates object creation. That is, Factory is an object specializing in creating other objects. The Factory pattern is useful, especially when you're not sure about what type of objects you'll be needing eventually in your system. Another possibility is the situation in which your application needs ...
[ "sadeed.hakimi@yahoo.com" ]
sadeed.hakimi@yahoo.com
4be80e462574b5ba3e91b8e03efc8f888618c297
beb9ac9ed895b375fbea240bf7d56281d6a0a481
/20200806/draw6.py
d16fa6708c8b6a8f076bee740625cb0aa051103a
[]
no_license
MinjeongSuh88/python_workspace
5b0c7e2a7b3543e65df1f07066e4a52f23294ac5
b13afdc8cf4e42496fa2b5c8df3c5effc7f7488d
refs/heads/master
2022-11-30T11:05:52.347243
2020-08-14T09:04:42
2020-08-14T09:04:42
285,185,265
0
0
null
null
null
null
UTF-8
Python
false
false
1,101
py
import sys from PyQt5.QtWidgets import * from PyQt5.QtGui import * from PyQt5.QtCore import * import random as r import time import threading class MyWindow(QWidget): def __init__(self): super().__init__() self.initUI() def initUI(self): self.setWindowTitle('작품') # 창 타이틀 ...
[ "69196506+MinjeongSuh88@users.noreply.github.com" ]
69196506+MinjeongSuh88@users.noreply.github.com
281809a6530a1ff93ef0adb630a04f69874f6366
221d1ad342677d2fac8aa3f8d5c60e059a6316c9
/pm4py/evaluation/__init__.py
3628421aa6ab42dac74cef11f5f92e48c69a8c0c
[]
no_license
niklasadams/explainable_concept_drift_pm
06ff651fbdebece4adf96f94bfb4d1026da14c48
6bf84d727ab0bae76716a04ad28c7de73250c89d
refs/heads/main
2023-08-26T18:21:49.955080
2021-10-29T18:53:48
2021-10-29T18:53:48
314,514,571
4
0
null
null
null
null
UTF-8
Python
false
false
451
py
from pm4py.evaluation import generalization, precision, replay_fitness, simplicity, evaluator, wf_net import pkgutil if pkgutil.find_loader("pyemd"): # import the EMD only if the pyemd package is installed from pm4py.evaluation import earth_mover_distance if pkgutil.find_loader("networkx") and pkgutil.find_lo...
[ "niklas.adams@pads.rwth-aachen.de" ]
niklas.adams@pads.rwth-aachen.de
25b94f68ebf8991eaa6cef806cf597b99aa8e8a2
b79ef6b6f26f8dd6bef901c57653e5bd6726eb03
/static/map/get_geocoder.py
5486996c9504a8a4b5e1f75080a7ce37d86bac6d
[]
no_license
zhengguhui/kyudo_web
bac9b4586ff913b634867068ac93ce2a759e4280
151a7d496222c99d9e3831272faf26031daddeee
refs/heads/master
2021-06-27T07:38:52.206332
2020-11-24T10:30:12
2020-11-24T10:30:12
62,807,865
0
0
null
null
null
null
UTF-8
Python
false
false
768
py
#!/usr/bin/env python # -*- coding: utf-8 -*- from kyudogu import area, shop from pygeocoder import Geocoder import time import json if __name__=="__main__": #print area #print shop for s in shop: print s['name'] print s['address'] geo = Geocoder(api_key="AIzaSyCV2LhPPs_xQ5olb_gmqTq3oYPCXYgTMjQ") g = geo.geo...
[ "root@vultr.guest" ]
root@vultr.guest
1a3d0479ab33d164229ca8a0d8ba4f518fd84640
80301f1cffc5afce13256e2ecab6323c5df00194
/en.3rd/py/T2101.py
b8eb028654759845ff67f48240b8ce3038a13de0
[]
no_license
ZhenjianYang/SoraVoiceScripts
c1ddf7c1bbcb933243754f9669bd6b75777c87b9
94a948090aba0f63b10b2c69dc845dc99c822fc4
refs/heads/master
2023-04-18T04:54:44.306652
2023-04-06T11:15:17
2023-04-06T11:15:17
103,167,541
43
11
null
2021-03-06T08:52:54
2017-09-11T17:36:55
Python
UTF-8
Python
false
false
31,257
py
from ED63RDScenarioHelper import * def main(): SetCodePage("ms932") # 卢安 CreateScenaFile( FileName = 'T2101 ._SN', MapName = 'Ruan', Location = 'T2101.x', MapIndex = 1, MapDefaultBGM = "ed60012", Flags ...
[ "ZJ.Yang@qq.com" ]
ZJ.Yang@qq.com
9e836262575d81b5ff27ede247898750028305da
54f352a242a8ad6ff5516703e91da61e08d9a9e6
/Source Codes/AtCoder/abc021/A/4922198.py
3bb37cdbf968ae8e417e2c6220ee573552d921b9
[]
no_license
Kawser-nerd/CLCDSA
5cbd8a4c3f65173e4e8e0d7ed845574c4770c3eb
aee32551795763b54acb26856ab239370cac4e75
refs/heads/master
2022-02-09T11:08:56.588303
2022-01-26T18:53:40
2022-01-26T18:53:40
211,783,197
23
9
null
null
null
null
UTF-8
Python
false
false
117
py
n=int(input()) print(int(n/2) if n%2==0 else int(n/2)+1) if n%2==1: print(1) for i in range(int(n/2)): print(2)
[ "kwnafi@yahoo.com" ]
kwnafi@yahoo.com
8393fc3396eb88cf15aef12e8f577c0d95e0a124
ba2b40a762feb52f6a0a1dc43da96b41112a3bbb
/code/experiment/esc_simpleNetCNN/ex2_1/testScript.py
3634bb1052942cc31e2a94f7ed7014afa0cf57d4
[]
no_license
YuanGongND/DeepVis2
e03a3c8b4231e61c6442314935490d9131b41046
6514f403c0df9dab4fa1c66b3a0a95ea0aea2ec3
refs/heads/master
2021-08-22T23:35:13.949128
2017-12-01T17:26:29
2017-12-01T17:26:29
112,768,671
0
0
null
null
null
null
UTF-8
Python
false
false
1,017
py
# -*- coding: utf-8 -*- """ Created on Fri Nov 24 21:56:05 2017 @author: Kyle """ #_, newFolderName, gpuI, thisTask, dataType, modelName, dataset, learningRate import os import shutil from sys import argv _, parentFolderName, gpuIndex = argv thisTask = 'scene' dataType = 'toyWaveform' modelName = 'simpleNetCNN' da...
[ "ygong1@nd.edu" ]
ygong1@nd.edu
444ceb44d7f1a8ef9a2884580123d3fe4839b4cd
868a84e8ecf489ac927c5b0f1637700d90f7a824
/photobooth/display/graphics.py
08359fbf48d3f1e6ddb998157bb6e11f931bb943
[]
no_license
vishnubob/photobooth
4e26f43d86ceada07d06ec19c7ea71c856f0dcea
3f7d588c053f74a7c95dba494adfcd3d1f66ce90
refs/heads/master
2020-05-21T05:18:32.218850
2019-06-30T07:07:00
2019-06-30T07:07:00
185,918,272
2
0
null
null
null
null
UTF-8
Python
false
false
5,517
py
import os import time import random import threading import pygame as pg from pygame.locals import * from .. base import Singleton class EventHandler(object): def fire(self, event): msg = "Unhandled event code: %s" % event.type class TimerHandler(EventHandler): def __init__(self, callback): se...
[ "giles@polymerase.org" ]
giles@polymerase.org
6851ad4a5d3541d77734d58329d7133bda2cac19
0306bea08e9aab18f34a799ce8a73e86921f90f7
/medium/DeepestLeavesSum.py
1ade74280dc36cc6ca9ed1d83ad6176840151a2d
[]
no_license
GeorgianBadita/LeetCode
78686fde88ef65b64f84fb7c2a22ba37ef21b8d9
e3b0571182369c5308e0c29fb87106bb0b0d615a
refs/heads/master
2022-10-21T00:23:26.479943
2022-10-14T20:27:27
2022-10-14T20:27:27
251,733,951
3
0
null
null
null
null
UTF-8
Python
false
false
791
py
# https://leetcode.com/problems/deepest-leaves-sum/ class TreeNode: def __init__(self, val=0, left=None, right=None): self.val = val self.left = left self.right = right class Solution: def find_max_level(self, root): if not root: return 0 return 1 + max(s...
[ "geo.badita@gmail.com" ]
geo.badita@gmail.com
acd56fb54d5c038dc42a2ec7fa7b962b12d38c36
53fab060fa262e5d5026e0807d93c75fb81e67b9
/backup/user_379/ch22_2019_08_26_20_14_41_099772.py
86f24311bef8cd213e62a1410d33a3c3335546e3
[]
no_license
gabriellaec/desoft-analise-exercicios
b77c6999424c5ce7e44086a12589a0ad43d6adca
01940ab0897aa6005764fc220b900e4d6161d36b
refs/heads/main
2023-01-31T17:19:42.050628
2020-12-16T05:21:31
2020-12-16T05:21:31
306,735,108
0
0
null
null
null
null
UTF-8
Python
false
false
123
py
def eh_bissexto(x): if (x%400)==0 or x%4==0: return True elif (x%100)==0: return False else: return False
[ "you@example.com" ]
you@example.com
9817ab456d1961ae4e886e4a837bdbaa90878579
0577a46d8d28e1fd8636893bbdd2b18270bb8eb8
/update_notifier/thirdparty/wxWidgets/docs/doxygen/scripts/write_info_tag.py
31ece8485dcb958b104b375f8e131ae15f9807b1
[ "BSD-3-Clause", "LicenseRef-scancode-other-copyleft", "WxWindows-exception-3.1", "LGPL-2.0-or-later", "GPL-1.0-or-later", "IJG", "GPL-2.0-only", "LGPL-2.0-only" ]
permissive
ric2b/Vivaldi-browser
388a328b4cb838a4c3822357a5529642f86316a5
87244f4ee50062e59667bf8b9ca4d5291b6818d7
refs/heads/master
2022-12-21T04:44:13.804535
2022-12-17T16:30:35
2022-12-17T16:30:35
86,637,416
166
41
BSD-3-Clause
2021-03-31T18:49:30
2017-03-29T23:09:05
null
UTF-8
Python
false
false
942
py
# # write_info_tag.py # Write a key/value pair to an Info.plist file created by Doxygen # while generating docsets. # # Author: Ian McInerney (https://github.com/imciner2) import sys import plistlib # The first argument is the plist filename without the extension fname = sys.argv[1] + ".plist" # The second argument ...
[ "mathieu.caroff@free.fr" ]
mathieu.caroff@free.fr
6025cb807ad440861282fa12e4c79d4c787498b7
be0f3dfbaa2fa3d8bbe59229aef3212d032e7dd1
/Gauss_v45r10p1/Gen/DecFiles/options/11114023.py
3b63d86be5829be61cc4c59ec19045b7f1d23acd
[]
no_license
Sally27/backup_cmtuser_full
34782102ed23c6335c48650a6eaa901137355d00
8924bebb935b96d438ce85b384cfc132d9af90f6
refs/heads/master
2020-05-21T09:27:04.370765
2018-12-12T14:41:07
2018-12-12T14:41:07
185,989,173
0
0
null
null
null
null
UTF-8
Python
false
false
918
py
# file /home/hep/ss4314/cmtuser/Gauss_v45r10p1/Gen/DecFiles/options/11114023.py generated: Wed, 25 Jan 2017 15:25:27 # # Event Type: 11114023 # # ASCII decay Descriptor: {[[B0]nos -> mu+ mu- (rho0 -> pi+ pi-)]cc, [[B0]os -> mu- mu+ (rho0 -> pi- pi+)]cc} # from Configurables import Generation Generation().EventType = 11...
[ "slavomirastefkova@b2pcx39016.desy.de" ]
slavomirastefkova@b2pcx39016.desy.de
cf16da55479c1b10dbebad68f6a5223734a89a15
51363872687318ac54e815b51d16d44d214974a2
/devel/lib/python2.7/dist-packages/bebop_msgs/msg/_CommonOverHeatStateOverHeatChanged.py
2a88a0a0bfd6de394b482c069f23302b5563a99e
[]
no_license
pirmou/catkin_ws
2acee80a43f17841326d1b917931866d561648c3
abaac27209016a944bd3520d84e4dc3aab1abf2e
refs/heads/main
2023-02-17T04:44:03.927127
2021-01-10T17:40:02
2021-01-10T17:40:02
328,440,401
0
0
null
null
null
null
UTF-8
Python
false
false
6,181
py
# This Python file uses the following encoding: utf-8 """autogenerated by genpy from bebop_msgs/CommonOverHeatStateOverHeatChanged.msg. Do not edit.""" import codecs import sys python3 = True if sys.hexversion > 0x03000000 else False import genpy import struct import std_msgs.msg class CommonOverHeatStateOverHeatChan...
[ "pierre.moussa18@me.com" ]
pierre.moussa18@me.com
6c4e5107e61be4ad13fb2d657b2c358ada403c4a
ec523d48de9c38e0c5d81ac865d43779117650aa
/apps/pupil/views.py
34bbf44220ab5e59d3338bdeab0f6c1751bc325a
[]
no_license
drc-ima/moon-school
b4b82e2c71d14a6b57aa75e36100851015f3696a
94c7675642583ed4b97a4eb716015510fe93ca84
refs/heads/master
2023-03-06T10:22:56.699977
2021-02-11T15:28:16
2021-02-11T15:28:16
334,768,970
1
0
null
null
null
null
UTF-8
Python
false
false
4,407
py
from django.contrib.auth.decorators import login_required from django.shortcuts import render, redirect # Create your views here. from apps.pupil.models import Class, Pupil, ClassSubject from apps.school.models import AcademicYear, AcademicTerm, Result, PupilResult, PupilResultSubject, Attendance, \ PupilAttendanc...
[ "emmanuelofosu472@gmail.com" ]
emmanuelofosu472@gmail.com
449d262dda769aed4a83d8ef1e7d1e38572a5e71
e7e34e2726790686a1f239e22487fe7c957e179f
/tests/components/ozw/test_config_flow.py
384e16b57ed01b14ef40c4909e7845660c2ea606
[ "Apache-2.0" ]
permissive
AlexxIT/home-assistant
68a17b49644c5d943b204dc75e1f11fe3b701161
8de7966104911bca6f855a1755a6d71a07afb9de
refs/heads/dev
2022-03-22T14:37:18.774214
2021-10-09T16:10:43
2021-10-09T16:10:43
100,278,871
9
0
Apache-2.0
2022-01-31T06:18:02
2017-08-14T14:50:46
Python
UTF-8
Python
false
false
15,446
py
"""Test the Z-Wave over MQTT config flow.""" from unittest.mock import patch import pytest from homeassistant import config_entries from homeassistant.components.hassio.handler import HassioAPIError from homeassistant.components.ozw.config_flow import TITLE from homeassistant.components.ozw.const import DOMAIN from ...
[ "noreply@github.com" ]
AlexxIT.noreply@github.com
c5ecb0b6f2471d1ce340fa938b4e4f6df655d91b
c57439f0c98af370ace65f9d55ef5a457bedc531
/ydk/models/wd/Cisco_IOS_XR_wd_cfg.py
36ec7c0d62b6d2f43b236ef88b8ab89fdbffc2d5
[ "Apache-2.0" ]
permissive
myahmao/ydk-py
c932fbd8245e554227cce0fd723d9a22887b0c40
2f367d93f2088d4abdc2f2bb10ca4864952b458a
refs/heads/master
2021-01-14T11:32:29.064494
2016-03-15T22:44:05
2016-03-15T22:44:05
null
0
0
null
null
null
null
UTF-8
Python
false
false
6,191
py
""" Cisco_IOS_XR_wd_cfg This module contains a collection of YANG definitions for Cisco IOS\-XR wd package configuration. This module contains definitions for the following management objects\: watchdog\: watchdog This YANG module augments the Cisco\-IOS\-XR\-config\-mda\-cfg Cisco\-IOS\-XR\-config\-mda\-cfg ...
[ "manradha@cisco.com" ]
manradha@cisco.com
7549d18e534cbc981ae279281f9f3e5c212dbee9
3011e024b5f31d6c747a2bd4a143bb6a0eeb1e1d
/chapter06/uploadfile_demo2/uploadfile_demo2/urls.py
b2392c9c8fe276718bcc7d0db3141d580060a70f
[]
no_license
yingkun1/python-django
a3084460a83682f3e0848d5b40c881f93961ecc2
08c9ed3771eb245ee9ff66f67cf28730d2675bbe
refs/heads/master
2022-12-11T12:33:20.788524
2019-06-12T09:30:59
2019-06-12T09:30:59
189,977,625
1
0
null
2022-11-22T02:57:01
2019-06-03T09:43:30
Python
UTF-8
Python
false
false
973
py
"""uploadfile_demo2 URL Configuration The `urlpatterns` list routes URLs to views. For more information please see: https://docs.djangoproject.com/en/2.0/topics/http/urls/ Examples: Function views 1. Add an import: from my_app import views 2. Add a URL to urlpatterns: path('', views.home, name='home') Cl...
[ "925712087@qq.com" ]
925712087@qq.com
42e006389fff8b08ff28973bbffa8caf713652c5
ca7aa979e7059467e158830b76673f5b77a0f5a3
/Python_codes/p03402/s593504264.py
64942787d3b18bc2ccc81dfb44fa5d990935a6e8
[]
no_license
Aasthaengg/IBMdataset
7abb6cbcc4fb03ef5ca68ac64ba460c4a64f8901
f33f1c5c3b16d0ea8d1f5a7d479ad288bb3f48d8
refs/heads/main
2023-04-22T10:22:44.763102
2021-05-13T17:27:22
2021-05-13T17:27:22
367,112,348
0
0
null
null
null
null
UTF-8
Python
false
false
4,212
py
#!/usr/bin/env python3 import sys # import time # import math # import numpy as np # import scipy.sparse.csgraph as cs # csgraph_from_dense(ndarray, null_value=inf), bellman_ford(G, return_predecessors=True), dijkstra, floyd_warshall # import random # random, uniform, randint,...
[ "66529651+Aastha2104@users.noreply.github.com" ]
66529651+Aastha2104@users.noreply.github.com
fe352f13127a5fa9edc69ca37d76744a1c6b8048
64f17f99a7d22bfdb0759676fa065cd6d7b00b10
/src/py3or2.py
675f86a6c86985572552ee44ec4ffb6788ab4cdb
[ "MIT" ]
permissive
turtledb/Download
5cbd1207ed67553ae677fe148a5673efbb34117b
7cc431dbde9fb264d54a7c8b0f522db13b02a818
refs/heads/master
2020-12-29T01:12:03.159123
2013-09-23T03:34:57
2013-09-23T03:34:57
null
0
0
null
null
null
null
UTF-8
Python
false
false
134
py
# Copyright (C) xgfone 2012 - 2013 # -*- coding: utf-8 -*- import sys if sys.version_info.major < 3: PY3 = False else: PY3 = True
[ "xgfone@126.com" ]
xgfone@126.com
1bf32d81668c3ccd834771f37bf0d8f4d458c27d
8f48d12b88048e424ebb0d72ca6dfab5cf12ae0f
/1500_1999/1759.py
c4dc798a539e1b2211b7557b49d8b3932e234f4e
[]
no_license
renjieliu/leetcode
e1caf13c18a8107ed9252588b339fb76bcb1b246
4668b64fcb9320b6c316d8608fc61911ce43b6c7
refs/heads/master
2023-03-18T18:16:06.187741
2023-03-14T20:31:59
2023-03-14T20:31:59
128,823,819
7
0
null
null
null
null
UTF-8
Python
false
false
594
py
class Solution: def countHomogenous(self, s: str) -> int: if len(s) == 1: return 1 mod = 10**9+7 left = right = 0 output = 0 while right < len(s): if s[right] != s[left]: length = right-1 - left +1 #previous homogeneous string outpu...
[ "anlrj@qq.com" ]
anlrj@qq.com
01ced5bbdc47c669caac5fa45978facedb486356
3834a683bc7f3eb66615fad8c95d2f9400ca825a
/Arr_wt.py
999ff69b9cb594ea77c03a0c9753f2521062bfa3
[]
no_license
balajimanikandanm/python3
5d0ae2a0fd2e20426ee9ac5dfc8a26eb0117aa29
ed151ee91c935dc7ecb2c0e54c4e7b107a32c5e7
refs/heads/master
2020-05-31T22:37:44.534017
2019-08-14T10:24:00
2019-08-14T10:24:00
190,523,807
0
1
null
null
null
null
UTF-8
Python
false
false
363
py
n1,w1=map(int,input().split()) p1=list(map(int,input().split())) v1=list(map(int,input().split())) r1=[] c1=0 for i in range(n1): x1=v1[i]/p1[i] r1.append(x1) while w1>=0 and len(r1)>0: mindex=r1.index(max(r1)) if w1>=p1[mindex]: c1=c1+v1[mindex] w1=w1-p1[mindex] p1.pop(mindex) v...
[ "noreply@github.com" ]
balajimanikandanm.noreply@github.com
53e5f6f06cc06c95fb9e51740a5135680f7d213c
d8574d8ca5c571fd7ed3b67dac00c55df2ac6580
/data/kitchen/data/wholeWheatGingerSnaps.py
b2a5a6d9f1e01aa2c0d9d1634795f019d01b1191
[]
no_license
h2r/slu_core
19de87e55e84dd4dada65b4d7b65857bdae740e8
e30c0245177e8481397fd4987422e3d35d79ec08
refs/heads/master
2021-07-09T18:19:33.424551
2020-07-06T18:49:18
2020-07-06T18:49:18
143,929,984
0
0
null
null
null
null
UTF-8
Python
false
false
3,950
py
from kitchen import kitchenState, annotatedRecipe from esdcs.groundings import PhysicalObject # Whole Wheat Ginger Snaps recipeSource= "http://allrecipes.com/recipe/whole-wheat-ginger-snaps/detail.aspx" recipeName = "Whole Wheat Ginger Snaps" ingredientsList = [("1 cup butter or margarine", kitchenState.Ingredient(co...
[ "stefie10@alum.mit.edu" ]
stefie10@alum.mit.edu
04bed4fd9549567025f90bd126db2bedd73fad6d
5c0f0dde1a7e473d58b530898183976cae7db329
/Python/project/entities_templates/m10_01_00_00_entities.py
a3c3a50a12bb9b50d693009ee98d5818b31478d6
[]
no_license
Grimrukh/SoulsModifier
4e8dc162d07cfabf0c6b533c60b5fa0634b9b22a
090a1e44be9d6dc00755b961ed6aba679e34ea93
refs/heads/master
2023-08-16T22:07:34.937988
2021-09-29T23:57:25
2021-09-29T23:57:25
411,862,886
0
0
null
null
null
null
UTF-8
Python
false
false
13,381
py
from soulstruct.games import DARK_SOULS_DSR from soulstruct.game_types import * class Objects(Object): """`Object` entity IDs for MSB and EVS use.""" # noinspection PyMethodParameters def _generate_next_value_(name, _, count, __): return Object.auto_generate(count, DARK_SOULS_DSR, 1010000) o...
[ "swj.mooney@gmail.com" ]
swj.mooney@gmail.com
a8fdde5b63cffdc5db016f7d8b3eda8602311f6e
235f2010472122f049f0d6c044f5dd574d493c2b
/pyveg/tests/test_combiner_modules.py
0ad5456c34c3112bbdfca1df3fd7dc0365c7bebc
[ "MIT" ]
permissive
chenzheng1996/monitoring-ecosystem-resilience
11aff1aeb6f469be61db397b50ae94e8e8cb7b95
387b038fa8d8ac5f0c4541afa7478db9d18701c5
refs/heads/master
2023-08-11T23:32:22.115685
2021-09-28T09:45:22
2021-09-28T09:45:22
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,511
py
""" Test the module that combines input from different collections e.g. vegetation images and weather, to produce one output json file. """ import os import shutil import json from pyveg.src.combiner_modules import VegAndWeatherJsonCombiner def test_instantiate_combiner(): vwc = VegAndWeatherJsonCombiner() ...
[ "nbarlow@turing.ac.uk" ]
nbarlow@turing.ac.uk
a8988dbaecffa922056c1789d990ab9e21919fbf
1999d5e727a4946309ef263ede9e86403fcbbf73
/seisma/__init__.py
f8a09b54ae8a4ffd1a2f86be80cb0a62588577d2
[]
no_license
seisma-test-analytics/seisma-api
0a54341ea992f339f2c6ddcff07266a579fd1512
b8331afa2f80a3671b09af908f5f52042b1f270f
refs/heads/0.0.x
2022-04-05T17:37:39.268637
2020-02-11T14:00:46
2020-02-11T14:00:46
78,550,354
0
0
null
2020-02-11T14:00:48
2017-01-10T16:11:52
Python
UTF-8
Python
false
false
141
py
# -*- coding: utf-8 -*- import sys if sys.version_info <= (3, 5): raise RuntimeError('Support for 3.5 and greater version of python')
[ "mikhail.trifonov@corp.mail.ru" ]
mikhail.trifonov@corp.mail.ru
6629c7554b8e674ff63ed9d9b0090c9b1686d2fb
fb359d88cea6883a94c30140b9e08e9f1e57a4c7
/testapp/bootstrap.py
41ad037904e70e8e3bfb3a74e873bc6712a40948
[ "BSD-2-Clause", "BSD-3-Clause" ]
permissive
jlezard/Flask-And-Redis
0edec2acb98c91aa9ad5da04e3e3458a188c9768
96044d801d2a6369019d186a01041a41053d21cd
refs/heads/master
2021-01-15T18:15:05.590794
2012-06-19T11:25:45
2012-06-19T11:25:45
null
0
0
null
null
null
null
UTF-8
Python
false
false
4,308
py
#!/usr/bin/env python """ Bootstrap project using virtualenv_ and pip_. This script will create new virtual environment if needed and will install all requirements there. .. _virtualenv: http://pypi.python.org/pypi/virtualenv .. _pip: http://pypi.python.org/pypi/pip """ import ConfigParser import copy import os impo...
[ "playpauseandstop@gmail.com" ]
playpauseandstop@gmail.com
55cb46cc83695891dc94c753ba7ff48dbcc5fca8
9638299d7ab667968b711e10d1ee925faf66a27d
/disco/types/guild.py
ea65f1d7c6495a6ea0ef4331f69186a46b240f95
[]
no_license
Wolfiri/disco
1fb7d0bc10701a5f3249153920605499b1f9c515
d8bba967370d76e508f4be1ac046360b1874f7e5
refs/heads/master
2021-01-10T22:59:53.853660
2016-10-09T09:49:16
2016-10-09T09:49:16
70,433,994
0
0
null
2016-10-09T22:25:28
2016-10-09T22:25:28
null
UTF-8
Python
false
false
9,256
py
import six from holster.enum import Enum from disco.api.http import APIException from disco.util.snowflake import to_snowflake from disco.util.functional import cached_property from disco.types.base import Model, Field, snowflake, listof, dictof, datetime, text, binary, enum from disco.types.user import User from dis...
[ "b1naryth1ef@gmail.com" ]
b1naryth1ef@gmail.com
2cb29030e7022e2e98e20238da2158bc87de8896
9905901a2beae3ff4885fbc29842b3c34546ffd7
/nitro-python/build/lib/nssrc/com/citrix/netscaler/nitro/resource/config/ns/nsacl.py
778ededf428cfc201fc444ffb5d98b3d7e16dce6
[ "Apache-2.0", "LicenseRef-scancode-unknown-license-reference", "Python-2.0" ]
permissive
culbertm/NSttyPython
f354ebb3dbf445884dbddb474b34eb9246261c19
ff9f6aedae3fb8495342cd0fc4247c819cf47397
refs/heads/master
2020-04-22T17:07:39.654614
2019-02-13T19:07:23
2019-02-13T19:07:23
170,530,223
0
0
null
null
null
null
UTF-8
Python
false
false
39,327
py
# # Copyright (c) 2008-2016 Citrix Systems, Inc. # # 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...
[ "mdculbert@marathonpetroleum.com" ]
mdculbert@marathonpetroleum.com
2bb883faf97fc7bd3ccae2b0c6763aca845a203e
d60bbc21d0761733970c00dde1625f6bbc6cb4c9
/botlib/__init__.py
ae23076ca6daa43534bb191e5e7ad1fc20c84f4e
[]
no_license
andzi/databot-bots
fe010de52326bfe7b2855856bad678a3718df5d2
1c60c1d31cc419846799f58d705102342c7e461e
refs/heads/master
2021-01-13T13:18:07.945527
2016-11-02T11:44:45
2016-11-02T11:44:45
72,633,696
0
0
null
2016-11-02T11:34:20
2016-11-02T11:34:20
null
UTF-8
Python
false
false
1,579
py
import sys import databot import pathlib import importlib.machinery import pkg_resources as pres def get_bot_module(path): home_path = pres.resource_filename(pres.Requirement.parse('databot-bots'), 'bots') module_path = pathlib.Path(home_path, '%s.py' % path) if module_path.exists(): module_name =...
[ "sirexas@gmail.com" ]
sirexas@gmail.com
064e8584b9f3c45a12a41c43b3e3e86a6b813888
1bfad01139237049eded6c42981ee9b4c09bb6de
/RestPy/ixnetwork_restpy/testplatform/sessions/ixnetwork/vport/protocols/elmi/uni/unistatuslearnedinfo/unistatuslearnedinfo.py
d510cc941bb850ec6298354f33e6604feaa2a322
[ "MIT" ]
permissive
kakkotetsu/IxNetwork
3a395c2b4de1488994a0cfe51bca36d21e4368a5
f9fb614b51bb8988af035967991ad36702933274
refs/heads/master
2020-04-22T09:46:37.408010
2019-02-07T18:12:20
2019-02-07T18:12:20
170,284,084
0
0
MIT
2019-02-12T08:51:02
2019-02-12T08:51:01
null
UTF-8
Python
false
false
9,142
py
# Copyright 1997 - 2018 by IXIA Keysight # # Permission is hereby granted, free of charge, to any person obtaining a copy # of this software and associated documentation files (the "Software"), # to deal in the Software without restriction, including without limitation # the rights to use, copy, modify, merge, p...
[ "hubert.gee@keysight.com" ]
hubert.gee@keysight.com
25463c33f5108481befd3ade2fef363ffe73cf3a
7d949b9f19e4c5c897b3aef76e604f2c0eee7112
/src-python/saccade_analysis/analysis201009/stats/var_hist.py
09b9a5eb5bb64b818952dcbc4c7eb0fcf2038413
[]
no_license
AndreaCensi/saccade_analysis
d3fad3a1a406b97c4dcf9cdc82b9b2ce1fbf42df
71b87e9225b16317ffa9a581b3c62d8343fe7bfa
refs/heads/master
2016-09-11T06:49:22.254391
2011-12-20T06:39:30
2011-12-20T06:39:30
952,465
1
0
null
null
null
null
UTF-8
Python
false
false
2,043
py
import numpy from reprep import Report from .utils import attach_description description = """ This figure shows the distribution of the values of {var.name}. The interval [{lb:.3f}, {ub:.3f}] is divided in {var.density_bins:d}. """ def sample_var_hist(sample, expdata, configuration, #@UnusedVariable ...
[ "andrea@cds.caltech.edu" ]
andrea@cds.caltech.edu
5d738ca2a7e256ee505c71f272cab1414acb8937
1929443c8e4ec6ccd79777f18d161546867e17ef
/methods/transformers/tests/test_generation_logits_process.py
88fb44087dbd113343217b2d2d6374a6cb9be1cc
[ "MIT", "Apache-2.0" ]
permissive
INK-USC/RiddleSense
6f4b00546d7f4d5ada12db50929c1f0d7713d541
a3d57eaf084da9cf6b77692c608e2cd2870fbd97
refs/heads/main
2023-08-14T19:01:01.478946
2021-07-05T04:06:01
2021-07-05T04:06:01
376,487,870
8
2
null
null
null
null
UTF-8
Python
false
false
12,046
py
# coding=utf-8 # Copyright 2020 The HuggingFace Team Inc. # # 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 clone of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by a...
[ "yuchen.lin@usc.edu" ]
yuchen.lin@usc.edu
1579ef12e8985686a5fcc47cd475ae2d8a031631
ffad2d8d582c6df96e55b7cb914da5fc01bc85f6
/NepaliLiveScore/Live/apps.py
ecb82345ebcc13445063de4e3363ea3272b316fb
[]
no_license
deeppudasaini/LiveScore-API-Test
adf66dd19f46d5c15b7375a1fa60517933871820
60b8dfc05dabba93ce503e69b7f641d2ef1c5fa8
refs/heads/main
2023-06-08T09:13:34.337271
2021-06-24T17:25:35
2021-06-24T17:25:35
379,986,983
0
0
null
null
null
null
UTF-8
Python
false
false
83
py
from django.apps import AppConfig class LiveConfig(AppConfig): name = 'Live'
[ "deep.pudasaini19@my.northampton.ac.uk" ]
deep.pudasaini19@my.northampton.ac.uk
82208a1ca9310f0991e7230ec95b5076c1be478e
3fc8c5588252ce522d8d0b7fdda398397475abd7
/tests/test_rotor/test_rotor_mechanism.py
5810f7367df99c907f8989a7bd65c3a09d82985c
[ "MIT" ]
permissive
lukeshiner/enigma
242362a37b7c82fabef237af424a5eca7bc6cdc9
51b9dcb9ec8190b780775135dc88b95fbba120fe
refs/heads/master
2023-07-23T12:10:11.397318
2023-07-19T10:34:37
2023-07-19T10:34:37
137,946,565
0
0
MIT
2023-09-11T08:43:50
2018-06-19T21:16:36
Python
UTF-8
Python
false
false
2,828
py
"""Tests for engima's rotor mechanism.""" import string import unittest from enigma import Reflector, Rotor, RotorMechanism class TestRotorMechanism(unittest.TestCase): """Test class for enigma's rotor mechanism.""" def get_rotors(self, settings): """Return rotor set.""" return [Rotor(**set...
[ "luke@lukeshiner.com" ]
luke@lukeshiner.com
69e2b2d926e67ec76f74ff9e6462d857e5b8297d
8b622e36f35527df000a111bf36955a2bc6cd7bb
/src/tweetme/urls.py
11c9e11e505f652fe4a77587de19704b3bbb5c5d
[]
no_license
AhmedBafadal/Twitter-App
c78a045f92948269edda4b0aac65ee458b56d3a4
0e25101c38f2951092aa3ae150318d3c1078fe7d
refs/heads/master
2020-03-25T00:49:28.697046
2018-08-03T16:29:10
2018-08-03T16:29:10
143,201,512
0
0
null
null
null
null
UTF-8
Python
false
false
1,209
py
"""tweetme URL Configuration The `urlpatterns` list routes URLs to views. For more information please see: https://docs.djangoproject.com/en/1.10/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-ba...
[ "a.m.bafadal@gmail.com" ]
a.m.bafadal@gmail.com
73623a8290d4f23fe758f36589326c8f6b209083
bbd69601912a3361d788efd03a47f9d4e3bac09e
/demo/GenericCheckBox.py
8afa1ac3bf0eaef7e700c42545dc779bf0be5f38
[]
no_license
wxWidgets/Phoenix
56929484460a0399a8f1d9582bc77c20aa14748d
a1184286703cf24c4b88e5bc14cf2979c1b1ea00
refs/heads/master
2023-09-01T07:10:17.437093
2023-08-31T05:38:01
2023-08-31T05:38:01
5,078,061
2,268
677
null
2023-09-09T17:06:59
2012-07-17T06:22:25
Python
UTF-8
Python
false
false
2,029
py
#!/usr/bin/env python import wx import wx.lib.checkbox as CB #---------------------------------------------------------------------- class TestPanel(wx.Panel, CB.DefineNativeCheckBoxBitmapsMixin): def __init__(self, parent, log): wx.Panel.__init__(self, parent, -1) self.log = log # Make ...
[ "robin@alldunn.com" ]
robin@alldunn.com