blob_id
stringlengths
40
40
directory_id
stringlengths
40
40
path
stringlengths
3
281
content_id
stringlengths
40
40
detected_licenses
listlengths
0
57
license_type
stringclasses
2 values
repo_name
stringlengths
6
116
snapshot_id
stringlengths
40
40
revision_id
stringlengths
40
40
branch_name
stringclasses
313 values
visit_date
timestamp[us]
revision_date
timestamp[us]
committer_date
timestamp[us]
github_id
int64
18.2k
668M
star_events_count
int64
0
102k
fork_events_count
int64
0
38.2k
gha_license_id
stringclasses
17 values
gha_event_created_at
timestamp[us]
gha_created_at
timestamp[us]
gha_language
stringclasses
107 values
src_encoding
stringclasses
20 values
language
stringclasses
1 value
is_vendor
bool
2 classes
is_generated
bool
2 classes
length_bytes
int64
4
6.02M
extension
stringclasses
78 values
content
stringlengths
2
6.02M
authors
listlengths
1
1
author
stringlengths
0
175
e18d643bc12f22e630a36c43f290e24481c55114
b3b68efa404a7034f0d5a1c10b281ef721f8321a
/Scripts/simulation/drama_scheduler/audition_drama_node.py
948c4f5ec6ecb200f415e37432aa208b420fe8ff
[ "Apache-2.0" ]
permissive
velocist/TS4CheatsInfo
62195f3333076c148b2a59f926c9fb5202f1c6fb
b59ea7e5f4bd01d3b3bd7603843d525a9c179867
refs/heads/main
2023-03-08T01:57:39.879485
2021-02-13T21:27:38
2021-02-13T21:27:38
337,543,310
1
0
null
null
null
null
UTF-8
Python
false
false
13,307
py
# uncompyle6 version 3.7.4 # Python bytecode 3.7 (3394) # Decompiled from: Python 3.7.9 (tags/v3.7.9:13c94747c7, Aug 17 2020, 18:58:18) [MSC v.1900 64 bit (AMD64)] # Embedded file name: T:\InGame\Gameplay\Scripts\Server\drama_scheduler\audition_drama_node.py # Compiled at: 2020-09-09 09:42:05 # Size of source mod 2**32...
[ "cristina.caballero2406@gmail.com" ]
cristina.caballero2406@gmail.com
7cf1f1ec4457138b318a9ce55f8a9ab25336fc50
e63ad27fdac237856f65f96399a3fb764c6aa980
/nflmap/apps.py
03935a8bb03a8c9ad52d7768627b8c8cffad367f
[]
no_license
mradamcox/nflgeo
c00a26f81a5266ccd89636c236a9e220b5e2e62a
671fc9694be9dba330349b9eb6a1fa9665a031c3
refs/heads/master
2021-01-12T02:04:08.320077
2017-04-26T00:35:53
2017-04-26T00:35:53
78,463,404
0
0
null
null
null
null
UTF-8
Python
false
false
128
py
from __future__ import unicode_literals from django.apps import AppConfig class NflmapConfig(AppConfig): name = 'nflmap'
[ "mr.adamcox@gmail.com" ]
mr.adamcox@gmail.com
351a62ef62e5c0a3728e80b1907eeba6a9fd57fc
d1a07e66bf300575fe7625a7dbbb9c92cbe717bf
/docs/conf.py
8724d59e878bc20a1cfe0d89a4f40b9ed1e70531
[ "MIT" ]
permissive
boulaypa/oracle2postgres
1eb01450bf6f3008a085d74231bf8a3c5ddc7511
25abb2090440dcfc2a3b07bdec1f982df59c9376
refs/heads/master
2020-12-28T05:47:02.651871
2020-02-12T06:33:24
2020-02-12T06:33:24
238,201,561
0
0
null
null
null
null
UTF-8
Python
false
false
9,192
py
# -*- coding: utf-8 -*- # # This file is execfile()d with the current directory set to its containing dir. # # Note that not all possible configuration values are present in this # autogenerated file. # # All configuration values have a default; values that are commented out # serve to show the default. import os impo...
[ "boulaypa@gmail.com" ]
boulaypa@gmail.com
1420dc41a020bc3ae1a7eff801eef50c12fae666
6bd71bdfe9234e5e6de90bb40b6cd8d3e25ca6d2
/Escuelas/TC2011/ejercicios-Parte1/soluciones/editarEsteComando.py
4e4a68120b03d4f00ed94f98d99ed32d9755ac52
[]
no_license
andres0sorio/CMSWork
f1f30a12bf43eb688ef9e95c53c94fe32fc7fe66
81e60a0a9b70cd2ae01d17b15be386a6cd925416
refs/heads/master
2021-01-22T13:12:16.094247
2015-10-26T04:47:12
2015-10-26T04:47:12
9,710,836
0
0
null
null
null
null
UTF-8
Python
false
false
375
py
#!/usr/bin/python import sys,os # Este es un script sencillo en Python # Para escribir un comentario, uno debe empezar la linea con un simbolo # # Por favor comente la linea siguiente adicionando un simbolo # al frente de la linea siguiente # raise RuntimeError username = os.getenv('USER') print 'Muy bien: ', us...
[ "osorio.af@gmail.com" ]
osorio.af@gmail.com
5df01d2277c77acdae3677cd9511de336ccc60fd
f82e67dd5f496d9e6d42b4fad4fb92b6bfb7bf3e
/scripts/client/gui/scaleform/daapi/view/lobby/fortifications/components/fortdisconnectviewcomponent.py
d3c69c3ecb05a4cd811ba421ff93edfbdcf24cf1
[]
no_license
webiumsk/WOT0.10.0
4e4413ed4e7b00e22fb85d25fdae9400cbb4e76b
a84f536c73f86d9e8fab559e97f88f99f2ad7e95
refs/heads/master
2021-01-09T21:55:00.662437
2015-10-23T20:46:45
2015-10-23T20:46:45
44,835,654
1
0
null
null
null
null
UTF-8
Python
false
false
1,539
py
# Embedded file name: scripts/client/gui/Scaleform/daapi/view/lobby/fortifications/components/FortDisconnectViewComponent.py from gui.Scaleform.daapi.view.lobby.fortifications.fort_utils.FortViewHelper import FortViewHelper from gui.Scaleform.daapi.view.meta.FortDisconnectViewMeta import FortDisconnectViewMeta from gui...
[ "info@webium.sk" ]
info@webium.sk
770bdda1e860ec701772fe9a4322cac62e8f1d32
68aa225b39eb39640f49e884502d0df18cd284d9
/TercerPuntoParcial.py
bea1585d14af4469fe1aa8fe1335ad407bb32e05
[]
no_license
fiscompunipamplona/tercer-examen-hmarcelparadav
12bed778035574ad68bbbf51182515ec61bd889a
b1220ad3e9dc8243f9b8144f9260db3c3802e7b7
refs/heads/master
2020-06-30T05:19:26.335107
2019-08-05T22:48:18
2019-08-05T22:48:18
200,739,011
0
0
null
null
null
null
UTF-8
Python
false
false
3,738
py
from numpy import array, linspace from math import sin, cos, pi from pylab import plot, xlabel, ylabel, show from scipy.integrate import odeint from vpython import sphere, scene, vector, color, arrow, text, sleep arrow_size = 0.1 arrow_x = arrow(pos=vector(0,0,0), axis=vector(arrow_size,0,0), color=color.red) arrow_...
[ "daniloarenales1311@gmail.com" ]
daniloarenales1311@gmail.com
fd7332232c171f9171dffa840e8e4b495b9d7493
3da1d05a9bde4410abeecef3bf644a1cf91de5ed
/tools/aiecc/aiecc.py
0e121ed7626313d739c84dc0ec59cb900fb72430
[ "LLVM-exception", "Apache-2.0" ]
permissive
Sibylau/mlir-aie
b15edd5cae0da05a8e8fc2cab2add49fcd194564
63ce4152885af66bf245bb9a2a25276fdaec67f3
refs/heads/main
2023-08-17T06:10:28.073855
2021-09-22T16:52:10
2021-09-22T16:52:10
null
0
0
null
null
null
null
UTF-8
Python
false
false
322
py
#!/usr/bin/env python3 # # This file is licensed under the Apache License v2.0 with LLVM Exceptions. # See https://llvm.org/LICENSE.txt for license information. # SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception # # (c) Copyright 2021 Xilinx Inc. from aiecc.main import main if __name__ == '__main__': main(...
[ "stephen.neuendorffer@xilinx.com" ]
stephen.neuendorffer@xilinx.com
0f858eb2257dabac4454ca9f2b18c9f81a48e3fe
f575fc19953b9d07f3e6aa219307a3f413dfdc79
/csc790_labs/build_debug/lab04_vision/catkin_generated/pkg.develspace.context.pc.py
03f1f9d298e319b3517a146799e9d476c4c488c4
[]
no_license
Jds95/CSC790
d50541e9c1697ce2cfa006de7e3c2c56a28a97be
2b6362c41a23c47c6e2a72548f5c4a1618ee1f7b
refs/heads/master
2021-04-29T18:41:00.749987
2018-04-09T14:46:19
2018-04-09T14:46:19
121,697,574
0
0
null
null
null
null
UTF-8
Python
false
false
418
py
# generated from catkin/cmake/template/pkg.context.pc.in CATKIN_PACKAGE_PREFIX = "" PROJECT_PKG_CONFIG_INCLUDE_DIRS = "".split(';') if "" != "" else [] PROJECT_CATKIN_DEPENDS = "".replace(';', ' ') PKG_CONFIG_LIBRARIES_WITH_PREFIX = "".split(';') if "" != "" else [] PROJECT_NAME = "lab04_vision" PROJECT_SPACE_DIR = "/h...
[ "jessedsimpson@hotmail.com" ]
jessedsimpson@hotmail.com
0f462660927792ab2746267aeb12801a663cbc12
69246effee7359d81d8e8ac5cab1bc354a7a933f
/account/tests.py
88fad6f89c098ebd4fd21c8c6a5ee31eea059001
[]
no_license
joeyac/TeachAssist2
0edfa98ab942ef5cd2308a617491e367a0b7bd86
d99164b7d4fc2772bcda991ec9de0d13a9a894bf
refs/heads/master
2020-03-19T04:50:45.656778
2018-06-22T08:34:49
2018-06-22T08:34:49
135,873,919
1
1
null
null
null
null
UTF-8
Python
false
false
2,209
py
import json from django.test import TestCase from django.test import Client from rest_framework import status from account.models import User from utils.constants import UserType class AccountTestCase(TestCase): def setUp(self): teacher = User.objects.create(username='g123', email='g124@test.com', us...
[ "623353308@qq.com" ]
623353308@qq.com
22e1175c359eb6bd1e6368e49b089a16208440f6
c5c2b0c17435202731f0d1c4850b90c7656add97
/server/api/v1/heartbeat.py
da04e674d53c184396a1fdafc193932b74ce1d7d
[ "MIT" ]
permissive
Unblok/unblock_email
2a33db5cec51141839ca93b5eee664594634b19a
2a93720f4d834d93434c19b55bc2ce36b36f8378
refs/heads/master
2020-08-03T18:17:11.001195
2019-10-03T13:02:02
2019-10-03T13:02:02
211,841,960
0
0
null
null
null
null
UTF-8
Python
false
false
1,158
py
from sanic import Sanic import os from sanic import Blueprint from sanic.views import HTTPMethodView from sanic.response import json import psycopg2 import configparser from .threads import get_threads from .cdms import get_cdms import redis # from redis.connection import ConnectionPool config = configparser.ConfigPa...
[ "aboziev@gmail.com" ]
aboziev@gmail.com
a22d7652adfbc22bdf200cc6e876e43ba41021cb
65e0be6dbae214d2dc219d55527436593615b885
/config.py
a756e4123f6ce624b1ed326bd8005af0a43342dd
[]
no_license
geer26/blancer
fc8d48f31fd944fa37c5844c0ad52bfd43baa83c
b5ae6a2ff9a5de185ba8f438d6d76611ff3998b7
refs/heads/master
2023-03-23T19:50:49.946101
2021-03-14T18:41:31
2021-03-14T18:41:31
305,103,845
0
0
null
null
null
null
UTF-8
Python
false
false
1,037
py
from os import environ, path from dotenv import load_dotenv basedir = path.abspath(path.dirname(__file__)) load_dotenv(path.join(basedir, '.env')) class Config: """Base config.""" SECRET_KEY = environ.get('SECRET_KEY') or '01!ChAnGeThIs!89' SESSION_COOKIE_NAME = environ.get('SESSION_COOKIE_NAME') or 'Bl...
[ "gergo.kurucz@gmail.com" ]
gergo.kurucz@gmail.com
651a029bcb34b0216765617b7b947a15186f2b69
385ffade01a3ff76621ab5931470ba1332931f78
/mss/core/daemon.py
8e516d9c24938ae58d5752dc519646158e639017
[]
no_license
victorpantoja/mobile-social-share-server
ac270ead007ac7decbfaa2186bb4a1f1c4954ffb
3ec7a26f87b8764df3be3e90a11cbea082bda965
refs/heads/master
2020-03-31T08:43:22.476090
2012-07-09T02:27:22
2012-07-09T02:27:22
1,533,171
1
0
null
null
null
null
UTF-8
Python
false
false
2,925
py
# coding: utf-8 #!/usr/bin/env python import sys, os, time, atexit, logging, copy from signal import SIGTERM class Daemon: def __init__(self, pidfile, stdin='/dev/null', stdout='/dev/null', stderr='/dev/null'): self.stdin = stdin self.stdout = stdout self.stderr = stderr self.pidf...
[ "victor.pantoja@corp.globo.com" ]
victor.pantoja@corp.globo.com
f96a3d6c40ed6cf19582638f3b9c1555a5849db4
26e7e5bf3e74dbff1843389c839666ef0f4accbc
/partner_incoterms/sale.py
679619766be22906b50269f710b50c123ac7b913
[]
no_license
asphaltzipper/credativ-addons
68367800d881c03135207e4f8dda72751d48147b
faf6895c4cd67806189fa39c7d863718aa08039b
refs/heads/master
2020-12-25T20:54:13.659143
2016-03-04T03:49:19
2016-03-04T03:49:19
24,124,722
0
0
null
null
null
null
UTF-8
Python
false
false
1,536
py
# -*- encoding: utf-8 -*- ############################################################################## # # OpenERP, Open Source Management Solution # Copyright (C) 2014 credativ Ltd (<http://credativ.co.uk>). # All Rights Reserved # # This program is free software: you can redistribute it and/or modify # ...
[ "tom.pickering@credativ.co.uk" ]
tom.pickering@credativ.co.uk
6e67b80e239e05eb821cb6eac9b7fb4294adf9e2
3ed194eef8f7de82d10b76fb73dabb7abb6f0e46
/if_char_is_char.py
892a99d3d4beb0b7a290b6804c9827e1091304d3
[ "MIT" ]
permissive
CrazyJ36/python
9c4724e74b276664a9a638dfd09b082e78ec78f1
730c384304d51c23a4c36337216ae586f2fe674c
refs/heads/master
2022-10-11T02:58:04.342322
2022-09-30T21:52:49
2022-09-30T21:52:49
186,742,500
0
0
null
null
null
null
UTF-8
Python
false
false
167
py
#!/usr/bin/env python3.7 print("type 'x' or something else for comparison:") mchar = input() if mchar is 'x': print("input is x") else: print("input is not x")
[ "crazy_j36@hotmail.com" ]
crazy_j36@hotmail.com
c0e0c39f8544157a8f50baaaa4e515081f058802
6ac0afae7ef0db215e5da2e188016deddf0f7a85
/cogdl/layers/__init__.py
b7a38115afebf102bd1e96ec2ceb5792e518fc3b
[ "MIT" ]
permissive
tianjiansmile/cogdl
ca77277db411f59fdd2cdd75e666dac3e1bbe7c6
4e0bbaf76e0e3bde0c8f57010159a63981278329
refs/heads/master
2020-11-25T21:35:20.908782
2019-12-18T15:09:07
2019-12-18T15:09:07
228,856,678
0
0
MIT
2019-12-18T14:25:55
2019-12-18T14:25:54
null
UTF-8
Python
false
false
120
py
from .maggregator import MeanAggregator from .se_layer import SELayer __all__ = [ 'SELayer', 'MeanAggregator' ]
[ "chenqibin422@gmail.com" ]
chenqibin422@gmail.com
f7e5f3c80118b2017099f1c39493a14662cdc735
05a3016bde60b3b119706d04e86dc0b25f73824c
/2014-03-21/python/exercise2.py
31cdb3d3c9ca03aba09d836236c35ddad94874e2
[]
no_license
cvdlab-alumni/429200
2c6f44e70784f99a37aa4c342fd081f67a64a378
6f1f7d0fa8b0b4cff7908e37514b250fd5a4d1fc
refs/heads/master
2021-01-17T15:44:50.775897
2014-07-14T10:54:44
2014-07-14T10:54:44
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,312
py
#Stefano Cursi #429200 from pyplasm import * vertsFloor1 = [[0,0],[30,0],[30,30],[0,30]] cellsFloor1 = [[1,2,3,4]] polsFloor1 = None vertsDIFF = [[2,2],[28,2],[28,28],[2,28]] cellsDIFF = [[1,2,3,4]] polsDIFF = None bucoCentrale = MKPOL([vertsDIFF,cellsDIFF,polsDIFF]) vertsColonna = [[0,0],[1,0],[2,1],[2,2],[1,3],[0,3...
[ "stcursi@gmail.com" ]
stcursi@gmail.com
dd02ed50120862fa5fea721d1c262eda6b6db504
19a32440205b2caeec67c73c10d917b5fb30a86a
/test/test_reports_report_subreports.py
2474e1ff3056bb33e73940415fc89f13a98f3904
[ "MIT", "Apache-2.0" ]
permissive
marrotte/isilon_sdk_python
480e84312f5924a506aeb09c9c7cae79a2b9b7f4
91039da803ae37ed4abf8d2a3f59c333f3ef1866
refs/heads/master
2020-03-23T07:31:40.376316
2016-06-07T23:44:31
2016-06-07T23:44:31
141,277,076
1
0
MIT
2018-07-17T11:02:08
2018-07-17T11:02:08
null
UTF-8
Python
false
false
1,321
py
# coding: utf-8 """ Copyright 2016 SmartBear Software 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...
[ "Alex.Pecoraro@isilon.com" ]
Alex.Pecoraro@isilon.com
da6d85839eee979ddfd1eea8ea1ddc021bd5a2df
250706fb352710e77b36aa082b504a5cba7f4b80
/auto_login.py
e1aceb790e276342a5e58f7c1e0d238a75f68d7e
[]
no_license
chensandiego/py_utility
7af6e1f1658810c42c61240ce0f18814e79f85fd
2f47909dcd46dee0889f0c49c6ab572548eb5388
refs/heads/master
2020-04-05T13:06:31.818056
2017-07-24T01:37:12
2017-07-24T01:37:12
95,088,355
0
0
null
null
null
null
UTF-8
Python
false
false
978
py
from selenium import webdriver from selenium.webdriver.common.by import By from selenium.webdriver.support.ui import WebDriverWait from selenium.webdriver.support import expected_conditions as EC usernameStr='' passwordStr='' browser=webdriver.Chrome() browser.get(('https://accounts.google.com/ServiceLogin?' ...
[ "noreply@github.com" ]
noreply@github.com
a061848b0fd148a5382bf21ac38270ab1643db93
8756a3e7b21dfda6004e7104108be6f294c5774c
/graphs/graphs_adt.py
c113e1354e79396801bab771786059fa6f5d2797
[]
no_license
emproarsam/algo_python
ef3ef97f6c7cb22c6dc457b0eb6c5c9b1f0c38de
84a164c1eec48b25a4b3abbc42d537749e6fdec1
refs/heads/master
2020-03-17T15:01:44.657592
2018-05-16T16:35:20
2018-05-16T16:35:20
133,695,565
0
0
null
null
null
null
UTF-8
Python
false
false
211
py
from graphs import * if __name__ == "__main__": g1 = GraphAL([[1], [], [0, 3]]) g1.addEdge(3, 4) g1.addEdge(4, 2) print(g1) g1.dfs(2) # g1.detectCycle() g1.detectCycleDisJoinSet()
[ "samarthknit08@gmail.com" ]
samarthknit08@gmail.com
7df0d822f4a696ac171b4dc464f72ef78ccd0758
52c3f80dd20208d8c762a46fbb4c6f13cce6f71f
/workflows/python/sdk/order-processor/make_json_serializable.py
271e104845b72b09f5be6ce4a5e5552432c42168
[ "Apache-2.0", "LicenseRef-scancode-public-domain" ]
permissive
dapr/quickstarts
f59456035991d97763a8554c54c50b06bab0c557
0e1b310c7182b100088cb8e3f7e504366b912dee
refs/heads/master
2023-08-20T19:57:30.755908
2023-08-04T19:29:14
2023-08-04T19:29:14
209,615,030
699
423
Apache-2.0
2023-09-14T19:25:27
2019-09-19T17:48:03
C#
UTF-8
Python
false
false
423
py
""" Module that monkey-patches json module when it's imported so JSONEncoder.default() automatically checks for a special "to_json()" method and uses it to encode the object if found. """ from json import JSONEncoder def _default(self, obj): return getattr(obj.__class__, "to_json", _default.default)(obj) _default...
[ "deepanshu.agarwal1984@gmail.com" ]
deepanshu.agarwal1984@gmail.com
69c017576c2d8fd4c5fe47e0a6a0de8c33372cd9
af52aa44a15efd7c640b3276e521ecc038a25c2d
/Mailman/Cgi/subscribe.py
dbc8cf5d2c503b5565313b21ed3f1151fbbea48b
[]
no_license
jdk2588/systers-gsoc10-membership
6b86ebd1ff6e9689ec8b7d61deeb45c93f0355dc
1365b0519d283c20c8102ccff4e2d4de364bc035
refs/heads/master
2016-09-05T14:19:17.750233
2012-03-03T06:37:19
2012-03-03T06:37:19
3,609,051
0
0
null
null
null
null
UTF-8
Python
false
false
11,680
py
# Copyright (C) 1998-2003 by the Free Software Foundation, Inc. # # This program is free software; you can redistribute it and/or # modify it under the terms of the GNU General Public License # as published by the Free Software Foundation; either version 2 # of the License, or (at your option) any later version. # # Th...
[ "jdk2588@gmail.com" ]
jdk2588@gmail.com
4781d858b7b1f270f3c80d2569997214211a5abc
ae8f61a8c0c4a569f00529c3f07c73dbfc884f71
/tiled/client/utils.py
021dc8745848024a80b502d34a110853c79d851b
[ "BSD-3-Clause" ]
permissive
untzag/tiled
1ba705303193312711d8ac75b977a26d6d9e7571
43a8ba82660ce3be077f2b6b060bdd2a23cf956b
refs/heads/main
2023-04-18T18:34:13.545139
2021-04-28T21:27:59
2021-04-28T21:27:59
null
0
0
null
null
null
null
UTF-8
Python
false
false
3,539
py
import asyncio from inspect import iscoroutine import httpx import msgpack from ..utils import Sentinel class UNSET(Sentinel): pass def get_content_with_cache( cache, offline, client, path, accept=None, timeout=UNSET, **kwargs ): request = client.build_request("GET", path, **kwargs) if accept: ...
[ "dallan@bnl.gov" ]
dallan@bnl.gov
c2a0b46128ff6ea4d0336d70fcfa5be653fe9097
7ed56fdaacb9484fae7d6b82aec5a40c4c027958
/FlaskFBBot/FBBlib/AirlineBoardingPass.py
888db02baa7d9645a95a5da109fe80865a613ca5
[]
no_license
Arhisan/FBB-LIB
3cab6a4348dda2926d23e95964524e542a862e74
782f21ed90751d6c86469ea02476c9bbebc1fb18
refs/heads/master
2021-01-20T21:16:13.774792
2016-07-31T09:44:42
2016-07-31T09:44:42
64,232,137
1
0
null
null
null
null
UTF-8
Python
false
false
2,773
py
# -*- coding: utf-8 -*- def remove_empty_values(d): removeList = []; for key, value in d.items(): if value == "": removeList.append(key) for key in removeList: del d[key] return d class AirlineBoardingPass(object): def __init__(self, intro_message, locale, boarding_pass...
[ "pisaga@yandex.ru" ]
pisaga@yandex.ru
5144c373e1cf0b750fcdf1950eebada73d61fe5e
33e4d57a059bb76ec4e935dad6a3dfe04ac7bd48
/TabScraper.py
1330ca625a72a12be205eee93f0956532d573866
[]
no_license
janneasdf/TabScraper
10639c7b6ae9728291e57ab23b964657e44ff7bf
4b1929cccd1d7aadd020ea9463b3b846875e1e96
refs/heads/master
2016-09-06T17:41:05.289910
2015-02-01T01:29:46
2015-02-01T01:29:46
29,845,113
2
0
null
null
null
null
UTF-8
Python
false
false
2,938
py
import urllib import urllib2 import re import os import errno def main(): artist = raw_input("Enter artist: ") output_folder = artist + "/" try: os.makedirs(output_folder) except OSError as exception: if exception.errno != errno.EEXIST: raise artist = artist.replace(' ', '_') # Find all t...
[ "janne.grondahl@aalto.fi" ]
janne.grondahl@aalto.fi
95f95cb7909dc39645281e60db52b9e9201e9b98
00da01b831d58f4cbae5c3625823849dde3eff67
/contests/293_DIV2/b.py
cbd9c868d1e95f83896418f65fa074356a5e2ff4
[]
no_license
atupal/codeforces
577b2c084b9cf047c5780f840e9fe49fcb0fd50a
563c3e27e0450b3dde24661a606c84b1a8d81f17
refs/heads/master
2021-01-15T22:10:07.657554
2015-10-12T06:58:10
2015-10-12T06:58:10
10,015,882
2
1
null
null
null
null
UTF-8
Python
false
false
611
py
# -*- coding: utf-8 -*- s = raw_input() t = raw_input() import string lower = string.lowercase upper = lower.upper() class mydict(dict): def __missing__(self, key): self[key] = 0 return self[key] ds = mydict() dt = mydict() for i in s: ds[i] += 1 for i in t: dt[i] += 1 cnt1 = 0 cnt2 = 0 for key in...
[ "atupalykl@gmail.com" ]
atupalykl@gmail.com
547625ba137211213f9181d31970a8eac38a406b
d12c73ae948da62a44706cf2c3b86d9dae2875bd
/core/migrations/0004_comment_username.py
77f82f28bb21408ae6e5cc89bd761554e417d7c2
[]
no_license
moisesbentolila/LibraryCEN4010Team10
1e2642771e3842635b75f825fe10455c0acb79ce
d66d4e4eb55665326521fb055c41588d29bffc8a
refs/heads/master
2022-12-11T07:59:41.915656
2019-11-28T03:36:10
2019-11-28T03:36:10
209,130,652
1
1
null
2022-12-08T06:13:53
2019-09-17T18:39:10
JavaScript
UTF-8
Python
false
false
437
py
# Generated by Django 2.2.3 on 2019-11-25 16:40 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('core', '0003_comment_book_title'), ] operations = [ migrations.AddField( model_name='comment', name='username', ...
[ "benitezanthony@hotmail.com" ]
benitezanthony@hotmail.com
cc4429fcf5c0aca7ce82ab1f1874e2c2992434ae
c6750e872306e881846e66e37b0453bec75657e2
/cnn/text_cnn.py
d9564d0d9c7e508becb6628f184391b38c8680a5
[]
no_license
wxybdth/cnn-text-classification
12b734eeea331fc11f8438fe4b36b03b404f01bf
9020da8538b608af1a9b2343f2210e9b8acb6f03
refs/heads/master
2021-07-07T12:49:26.285897
2017-10-05T04:35:13
2017-10-05T04:35:13
105,887,970
0
0
null
null
null
null
UTF-8
Python
false
false
3,249
py
import tensorflow as tf class TextCNN(): def __init__( self,sequence_len, num_class, num_vocab, embedding_size, filter_size_list, num_filters,l2_reg_lambda): self.input = tf.placeholder(tf.int32, [None,sequence_len]) self.output = tf.placeholder(tf.float32,[None, num_class]) sel...
[ "wxybdth@163.com" ]
wxybdth@163.com
deb0f1f1c739784d71150481cdcafcc50e01d078
4a8c1f7d9935609b780aff95c886ef7781967be0
/atcoder/ABC/A/072_a.py
2bdb2b702f8afe70275c3ff34ad5c1e31423163a
[]
no_license
recuraki/PythonJunkTest
d5e5f5957ac5dd0c539ef47759b1fe5ef7a2c52a
2556c973d468a6988d307ce85c5f2f8ab15e759a
refs/heads/master
2023-08-09T17:42:21.875768
2023-07-18T23:06:31
2023-07-18T23:06:31
13,790,016
0
0
null
null
null
null
UTF-8
Python
false
false
948
py
import sys from io import StringIO import unittest class TestClass(unittest.TestCase): def assertIO(self, input, output): stdout, stdin = sys.stdout, sys.stdin sys.stdout, sys.stdin = StringIO(), StringIO(input) resolve() sys.stdout.seek(0) out = sys.stdout.read()[:-1] ...
[ "kanai@wide.ad.jp" ]
kanai@wide.ad.jp
dbe7372bed49f9e0fd2b66cd628386089aa0a03e
2a47ffbce4557134225ba68309ed3691216c1378
/toy_ridge_mod (2).py
8de241e6a680f31be66cd577aa8f2b946fc313e6
[]
no_license
NadzeyaKadakova/DS_neuroimaging
3487e9bb504cb3fa3face820ab92f7edb1a29c7f
afaa065ac18a3494731c65b0e671f914d9fe65f7
refs/heads/main
2023-08-07T22:14:49.180745
2021-09-21T15:45:11
2021-09-21T15:45:11
408,872,444
0
0
null
null
null
null
UTF-8
Python
false
false
5,850
py
import numpy as np import matplotlib.pyplot as plt from sklearn.model_selection import train_test_split from sklearn.preprocessing import StandardScaler from sklearn.linear_model import LinearRegression from sklearn.linear_model import Ridge if __name__ == '__main__': n_total = 100 #dimension...
[ "nadzeya.kadakova@gmail.com" ]
nadzeya.kadakova@gmail.com
2bf6d8ec28ca93d5657341e52c2f96e5e4a7f3c9
edd3555e34890d3fb192d3227a6dcf671383ad83
/django_sourcebook/sourcebook/migrations/0021_auto_20200102_1209.py
9e16f7c18a7da6d15a6476186634dca0638926cb
[ "MIT" ]
permissive
maxblee/django_sourcebook
d45722626ddac79c4b3679480beebeec062362eb
f90ca62cfe43c875a485f783ca1a06be40d9bbc5
refs/heads/master
2020-12-05T08:47:57.129241
2020-03-04T08:07:19
2020-03-04T08:07:19
232,061,991
0
0
MIT
2020-02-12T08:44:29
2020-01-06T08:58:59
Python
UTF-8
Python
false
false
721
py
# Generated by Django 3.0.2 on 2020-01-02 17:09 from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): dependencies = [ ("sourcebook", "0020_auto_20200102_1208"), ] operations = [ migrations.RemoveField(model_name="document", nam...
[ "maxbmhlee@gmail.com" ]
maxbmhlee@gmail.com
6fcf5b86fbe92696829c275732c1537545cc7eeb
1af4cc48dbfe6e2d7bb043133770c7bde345300f
/gitpython/latest_remote_commit.py
82a68a7d2b61ba254af1645028af9c03f0b0a284
[]
no_license
armenforget/stackoverflow_samples
e8640b95406133f0ec3ddd4f0549d4d7a16dac22
0501ddb0f4a11185d6023a3a8281a8a150647885
refs/heads/master
2023-03-10T23:38:02.345559
2021-02-27T18:02:42
2021-02-27T18:02:42
274,289,331
0
0
null
null
null
null
UTF-8
Python
false
false
809
py
from pathlib import Path repo_url = 'https://github.com/armenforget/stackoverflow_samples.git' local_repo_dir = Path('../dummy_repo') def get_sha_with_gitpython(): import git local_repo_dir.unlink(missing_ok=True) repo = git.Repo.clone_from(repo_url, local_repo_dir, depth=1) sha = repo.rev_parse('or...
[ "armen.forget@gmail.com" ]
armen.forget@gmail.com
1b083fa11ca85897c09abe4937e27a25ba13cbaf
9dcedbd20fbf95c57ea28cc1902f1de57f4e11a4
/docs/forms.py
9340e2920d002023e521e4847667e5fd16232def
[]
no_license
gjoyner16/sop
77574d2b98123995fba3790f6ae029e20a7f6a70
2b52b8666c0bc96e8450ae2126236991d0c667e6
refs/heads/master
2020-03-27T01:33:24.671071
2018-10-01T19:14:58
2018-10-01T19:14:58
145,722,075
0
0
null
null
null
null
UTF-8
Python
false
false
1,395
py
from django import forms from .models import * class ClientForm(forms.ModelForm): class Meta: model = Client fields = ('name', 'icon', 'user') widgets = { 'user': forms.HiddenInput(), } class CategoryForm(forms.ModelForm): class Meta: model = Category ...
[ "griffintjoyner@gmail.com" ]
griffintjoyner@gmail.com
b70ded0ced9a54044226e68d7358c1b5f97606ae
c4aa09e204ed447f570aa79b634fb8012fe287c5
/LeVanThe_43609_CH04/Exercise/Page118_Exercise_01.py
9b6189ce691e793fe639deb6498276b96d4bbd5b
[]
no_license
LeVanthe2502/LeVanThe
c1201a3bbf764cfc307a8dc879b6f5c4409b68b5
1b45fde16e199c8817980062aefee9448c75c3a8
refs/heads/main
2023-08-29T19:43:17.104264
2021-11-02T12:40:53
2021-11-02T12:40:53
423,838,124
0
0
null
null
null
null
UTF-8
Python
false
false
692
py
""" Author: Le Van The Date: 24/09/2021 Problem: Assume that the variable data refers to the string "Python rules!". Use a string method from Table 4-2 to perform the following tasks: a. Obtain a list of the words in the string. b. Convert the string to uppercase. c. Locate the position of the string "rules...
[ "noreply@github.com" ]
noreply@github.com
4a4e54d09a4c0e9936537ab6215dae6abd041940
5d3164896270d220ff82c8a85192fea46129d650
/src/classifier/linear_classifier.py
30b2b21b094470fecd4234c6ab7b7dd7e50ab708
[]
no_license
zhitaoli-6/sentiment
e998132d262c95ebc30948cd0c778fc97f1d2d41
2bdd19d6cd406ce157c26f1c5dbcbbc51bcab5f7
refs/heads/master
2023-08-16T13:33:56.409805
2017-03-27T13:54:19
2017-03-27T13:54:19
null
0
0
null
null
null
null
UTF-8
Python
false
false
3,629
py
#encoding=utf-8 #!/usr/bin/env python import sys, os, json import logging, time, random, math sys.path.append('/home/lizhitao/repos/sentiment/src') from const import project_dir, INDEX2TAG, linear_model_config as config from easy_tool import EasyTool as ET from stats_tool import StatsTool as ST from liblinear_helper...
[ "1318078301@qq.com" ]
1318078301@qq.com
dafd2d2547af9621aa698630104b1ffb28ad6e7c
1725d38e25ef380eef1ef47cf0d0724924412380
/cappinstaller/strings.py
7cc1110489013cc403dfd3c61b36c15190b23aeb
[]
no_license
csm10495/cAppInstaller
ad57589230d426bcd0288e8ae0beae48367a328a
ea8a14079631a846048df5a8d922072fc78953b8
refs/heads/master
2023-05-11T13:06:45.631339
2023-05-06T22:03:34
2023-05-06T22:03:34
115,685,216
0
0
null
null
null
null
UTF-8
Python
false
false
2,059
py
''' Home to string constants for cAppInstaller ''' ADD_ADMIN_CMD_PROMPT_VIA_SHIFT_RIGHT_CLICK_REG = r'''Windows Registry Editor Version 5.00 ; Created by: Shawn Brink ; Adapted by Charles Machalow ; Note: We're using an older version of this (from wayback machine) since for whatever reason it seems to work better ; ...
[ "csm10495@gmail.com" ]
csm10495@gmail.com
263b7e8d9ad16573e2b8478f960999e15ca95aa8
444f09973807b73d70e7aac3ccde5734660579fc
/djangular/taskOrganizer/taskOrganizer/asgi.py
b9cf35ba5efc2aa618b70ab71aea1b44ca3a5801
[]
no_license
SaraGar/djangoAngularTaskOrganizer
1cb61a81e870af1e07bc876e561b7f21b79e800c
aa5ebb1e5b752fd7576238cd8c8f674b460d399f
refs/heads/master
2022-04-19T17:45:50.829032
2020-04-21T11:09:11
2020-04-21T11:09:11
254,601,237
0
0
null
null
null
null
UTF-8
Python
false
false
403
py
""" ASGI config for taskOrganizer project. It exposes the ASGI callable as a module-level variable named ``application``. For more information on this file, see https://docs.djangoproject.com/en/3.0/howto/deployment/asgi/ """ import os from django.core.asgi import get_asgi_application os.environ.setdefault('DJANGO...
[ "sara2718@gmail.com" ]
sara2718@gmail.com
c5c31cec5a6fe7c542613055cd5833c5b02e84fd
84226827016bf833e843ebce91d856e74963e3ed
/tests/unit/payload_test.py
fb32bdfe608f403ef2d986cac36febf6377b224a
[ "Apache-2.0" ]
permissive
jbq/pkg-salt
ad31610bf1868ebd5deae8f4b7cd6e69090f84e0
b6742e03cbbfb82f4ce7db2e21a3ff31b270cdb3
refs/heads/master
2021-01-10T08:55:33.946693
2015-05-21T13:41:01
2015-05-21T13:41:01
36,014,487
1
0
null
null
null
null
UTF-8
Python
false
false
5,505
py
# -*- coding: utf-8 -*- ''' :codeauthor: :email:`Pedro Algarvio (pedro@algarvio.me)` tests.unit.payload_test ~~~~~~~~~~~~~~~~~~~~~~~ ''' # Import Salt Testing libs from salttesting import skipIf, TestCase from salttesting.helpers import ensure_in_syspath, MockWraps from salttesting.mock import NO_MOCK, N...
[ "joehealy@gmail.com" ]
joehealy@gmail.com
5182e2b90713dbb6256c9936fc582e92cabae6f7
50afc0db7ccfc6c80e1d3877fc61fb67a2ba6eb7
/challenge6(hotel)/SnowballSH.py
023455239f336510c3cbbc9ff2146d798a0ea89a
[ "MIT" ]
permissive
banana-galaxy/challenges
792caa05e7b8aa10aad8e04369fc06aaf05ff398
8655c14828607535a677e2bb18689681ee6312fa
refs/heads/master
2022-12-26T23:58:12.660152
2020-10-06T13:38:04
2020-10-06T13:38:04
268,851,516
11
8
MIT
2020-09-22T21:21:30
2020-06-02T16:24:41
Python
UTF-8
Python
false
false
837
py
def matrixSum(matrix): #Returns a list of cols instead of rows def get_col(): rt = [] for c in range(len(matrix[0])): ct = [] for i in range(len(matrix)): ct.append(matrix[i][c]) rt.append(ct) return rt #Check if TWT staff isn'...
[ "cawasp@gmail.com" ]
cawasp@gmail.com
cf52c72829b96751142805faea2df825d6255b2d
567b4b6eb35d771187d5e14a5810cc8b7d08588f
/voting_booth.py
a0f3e530ae216ba7a41b8468d0097c6aada10ddc
[]
no_license
Ylfcynn/Python_Practice
33d85c994f4dcbbbc73a99e8c3fbb0bcd4fbf316
3c216847b9771a4c2be9196f73540bd85cb4c037
refs/heads/master
2021-01-19T20:41:35.384883
2017-05-31T20:57:04
2017-05-31T20:57:04
88,535,057
0
0
null
null
null
null
UTF-8
Python
false
false
3,284
py
""" Voting Booth, rigged by Doby Finn, ne'er-do-well at large. Goals: "Take in candidates names from a series of users, until someone types 'done'. Then calculate the vote counts for each candidate and print them out." Advanced goal: Implement ranked-choice voting logic that accepts multiple candidates (e.g. 3). Con...
[ "dobyfinn@gmail.com" ]
dobyfinn@gmail.com
416bf07f1cce01a21b8178cf31a8adac029726fc
8d83795d098ca193f5e781f92568c5bdbc67f5b9
/keras_main.py
808441ffa05165e4bbb4b2a55119a934e7769fc7
[]
no_license
ttagu99/ai_rush_2019_final
9406c1aef9950d83492c883b671bc1ca21eb78df
fa8a6da5fb24809a25f2c22ad5fc87597f57ba3f
refs/heads/master
2020-07-06T22:52:51.968455
2019-08-28T09:19:52
2019-08-28T09:19:52
203,163,754
1
0
null
null
null
null
UTF-8
Python
false
false
24,102
py
from data_local_loader_keras import AiRushDataGenerator, build_cnn_model, make_history_distcnt, make_features_and_distcnt import os import argparse import numpy as np import time import datetime import pandas as pd from data_loader import feed_infer from evaluation import evaluation_metrics import nsml import kera...
[ "ttagu99@gmail.com" ]
ttagu99@gmail.com
06293b56fb3f342e664ece1e162150b79ef57c2f
c9ddbdb5678ba6e1c5c7e64adf2802ca16df778c
/cases/pa3/sample/str_get_element_oob_1-60.py
e03bfff89349b673831ba7e902bbb691139386ce
[]
no_license
Virtlink/ccbench-chocopy
c3f7f6af6349aff6503196f727ef89f210a1eac8
c7efae43bf32696ee2b2ee781bdfe4f7730dec3f
refs/heads/main
2023-04-07T15:07:12.464038
2022-02-03T15:42:39
2022-02-03T15:42:39
451,969,776
0
0
null
null
null
null
UTF-8
Python
false
false
107
py
x:str = "abc" a:str = "" def str_get(s:str, i:int) -> str: return s[i] a = str_get($ID, -1) print(a)
[ "647530+Virtlink@users.noreply.github.com" ]
647530+Virtlink@users.noreply.github.com
acaf735fe15e99d7e343e8c31f11012dd1eba187
f71ee969fa331560b6a30538d66a5de207e03364
/scripts/client/gui/clubs/states.py
044f480507dd784df1264197b77e5f09b86db64b
[]
no_license
webiumsk/WOT-0.9.8-CT
31356ed01cb110e052ba568e18cb2145d4594c34
aa8426af68d01ee7a66c030172bd12d8ca4d7d96
refs/heads/master
2016-08-03T17:54:51.752169
2015-05-12T14:26:00
2015-05-12T14:26:00
null
0
0
null
null
null
null
UTF-8
Python
false
false
4,557
py
# Embedded file name: scripts/client/gui/clubs/states.py from gui.shared.utils.decorators import ReprInjector from gui.clubs.settings import CLIENT_CLUB_STATE from gui.clubs.restrictions import AccountClubLimits, DefaultAccountClubLimits @ReprInjector.simple(('getStateID', 'state')) class _AccountClubsState(object): ...
[ "info@webium.sk" ]
info@webium.sk
ea647d2e646249ea208ba4a0cbb98072360d9f81
609994c13825934225c79755476c776e18f8f7a9
/Lib/dbRecorder.py
ecd4247618eee253de676472fb39725415b82660
[]
no_license
tiuln2010/Tradingbot
afe59e296ae77ad19e000ddf1eb544556d0ced4a
9b79ca0f6d9582409f4ae150e6df5e4294f15f7f
refs/heads/master
2020-03-29T01:17:53.441179
2018-09-19T02:31:48
2018-09-19T02:31:48
149,381,741
0
0
null
null
null
null
UTF-8
Python
false
false
6,985
py
from coinone.public import Coinone_Public from trade_alert import Trade_alert from datetime import datetime from pymongo import MongoClient import re client = MongoClient() coinonedb = client.coinone class Recorder: def __init__(self, currency): self.currency = currency self.available = ['btc'...
[ "yesjin_nav@naver.com" ]
yesjin_nav@naver.com
85554b3530f6ad238112d2fc460b68c20dd2bca9
8c45598a29e3034c272ef5aa1b69fa29d52ee281
/Linearly_Inseparable_Stocks.py
26acf4fa237a5b4b4bc5117c351eae5dd8ef83c8
[]
no_license
Meishty/Stock_Market_Prediction_using_ML_technique
e9554cbda1c30e514c8aea375369cd2749997d2f
4a6363b8d110233c7abc117a519beffe3349389d
refs/heads/main
2023-04-21T20:38:34.342427
2021-05-04T13:21:00
2021-05-04T13:21:00
364,014,925
0
0
null
null
null
null
UTF-8
Python
false
false
846
py
#!/usr/bin/env python # coding: utf-8 # In[1]: import pandas as pd import matplotlib.pyplot as plt from matplotlib import style # In[2]: style.use('ggplot') # In[3]: df=pd.read_csv("/home/pogo/Desktop/Ba/Desktop/Books/Capstone/Phase 2/Parallel/Data/STOCKS/TCS_Oct.csv",usecols=['Date','Close']) # In[4]: d...
[ "noreply@github.com" ]
noreply@github.com
ed7a0afb48637db929c10a6a88ec40e413eed8cc
92e3a6424326bf0b83e4823c3abc2c9d1190cf5e
/scripts/icehouse/opt/stack/neutron/neutron/agent/linux/interface.py
89d30a5f79e4a947e3d1bf5e05a8148957b71c0e
[ "Apache-2.0" ]
permissive
AnthonyEzeigbo/OpenStackInAction
d6c21cf972ce2b1f58a93a29973534ded965d1ea
ff28cc4ee3c1a8d3bbe477d9d6104d2c6e71bf2e
refs/heads/master
2023-07-28T05:38:06.120723
2020-07-25T15:19:21
2020-07-25T15:19:21
null
0
0
null
null
null
null
UTF-8
Python
false
false
18,791
py
# vim: tabstop=4 shiftwidth=4 softtabstop=4 # Copyright 2012 OpenStack Foundation # All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); you may # not use this file except in compliance with the License. You may obtain # a copy of the License at # # http://www.apach...
[ "cody@uky.edu" ]
cody@uky.edu
ebdebcdd687aa5cf786c51373a673303400f155a
0478abafc05f1dd55ddf6054d95fef73e9fa03e9
/quati/__main__.py
5d239149288d0d96a0286f5e599b8a35e00bbdbc
[ "MIT" ]
permissive
deep-spin/quati
89bce0868b36b0d7902659507b72acfbd01ada98
62a6769475090182fe2990b2864d66f8e2081a32
refs/heads/master
2023-03-12T09:22:31.520259
2021-03-02T15:13:22
2021-03-02T15:13:22
330,678,540
2
1
null
null
null
null
UTF-8
Python
false
false
924
py
import argparse import logging from quati import config_utils from quati import opts from quati import predict from quati import train logger = logging.getLogger(__name__) parser = argparse.ArgumentParser(description='quati') parser.add_argument('task', type=str, choices=['train', 'predict']) opts.general_opts(parse...
[ "marcosvtreviso@gmail.com" ]
marcosvtreviso@gmail.com
a4b4cb387bc10c72231ce49951bf35539a4082b1
b7a7da410f5b7d652b36523c9047dbbb6f126bff
/facial_recognition/app/core/preparing.py
e31a0d7c3b414419c08230a60d51a17ef93fa886
[ "MIT" ]
permissive
Shinjoku/aiAPI
c847659cef403195bd6eb29e5657528c698897d2
3e7c23bcee3022c3211d297e1092698b9d6c1855
refs/heads/master
2022-05-30T14:29:11.230357
2019-12-17T13:30:26
2019-12-17T13:30:26
211,573,624
0
1
MIT
2022-05-25T04:40:20
2019-09-28T23:27:51
Python
UTF-8
Python
false
false
1,852
py
import cv2 import os import numpy as np BASE_FOLDER = 'app/static/assets/' FACES_FOLDER = BASE_FOLDER + 'faces/' SUSPECTS_FOLDER = BASE_FOLDER + 'suspects/' def prepare(id): # .XML classifiers faceClassifier = cv2.CascadeClassifier('facial_recognition/app/cascades/haarcascade_frontalface_default.xml') e...
[ "deora.2@hotmail.com" ]
deora.2@hotmail.com
c00ec7f69c6b927cb73ab22dbd43c135b9575dac
c8248cba68394635378fb7b9169dc8196f67c2ba
/appmhn/apps.py
0d8242aeef250046edb51bd55eafef21974ea1e6
[]
no_license
VempadaSiva/DjangoProject
5f861506a91203eab777ceb46404affd33fdb312
423f997b6a7ef5c29cdd9d4b94ad6b2f8dd595c6
refs/heads/master
2020-09-21T02:16:00.032392
2019-11-28T12:53:47
2019-11-28T12:53:47
224,651,626
0
0
null
null
null
null
UTF-8
Python
false
false
87
py
from django.apps import AppConfig class AppmhnConfig(AppConfig): name = 'appmhn'
[ "57871391+VempadaSiva@users.noreply.github.com" ]
57871391+VempadaSiva@users.noreply.github.com
7ea17e1ec76e59136947be6ee4c93d64c6254664
e6c160919fc157ec7da4a989ec42401d787799e1
/CreateLangIndex/main.py
3f00d8f051c883a8b17090418f1ffe1bd8f43e19
[]
no_license
wujiazhong/CreatePackage
47ec77de3849dc2acd52c4bcf5bdd867d8d7c2d7
4958568e38234476fd6fb21bd49fe744478e1e94
refs/heads/master
2021-01-10T01:18:07.851384
2015-11-02T07:15:58
2015-11-02T07:15:58
45,170,257
0
0
null
null
null
null
UTF-8
Python
false
false
1,572
py
''' Created on Oct 28, 2015 @author: wujz ''' from CreateLangIndex.createLangIndex import createLangIndex from optparse import OptionParser import os def utest(): base = r'C:\Users\wujz\Desktop\Package' createLangIndex(base, 'stats', os.path.join(base, 'index_for_stats.json')) if __name__ == '__main__': ...
[ "wujz@cn.ibm.com" ]
wujz@cn.ibm.com
7351842124bf39729e663fadcacb1fdc825994cb
95eed88115075f7e1916a14de7497d05a12a9330
/abc194d.py
d19e27dcc40bbd3da711a3fffa9b61e788b10c10
[]
no_license
ynagi2/atcoder
bdbbd030f1dd39e937b0872b028ce0f38372521e
e404f4500d837bfd6ca473aa2837f46ae71ad84a
refs/heads/master
2022-04-29T12:48:44.229462
2022-04-22T15:04:50
2022-04-22T15:04:50
241,098,529
0
0
null
null
null
null
UTF-8
Python
false
false
524
py
# 等差×等比の部分和求めて極限とばすと, # n / n-k をk=1からn-1まで足し合わせればいいことがわかる # 別の考え方として,E = p*1 + (1-p)(E+1) # (確率pで成功し,1-pでEが1回増えるという関係式) # より,E = 1/p が求まるので,p = 1 - n/Nから, # N / N-n の総和を求めればよいと考えられる def main(): n = int(input()) ans = 0 for i in range(n-1): ans += n / (i+1) print(ans) if __name__ == '__main__...
[ "noreply@github.com" ]
noreply@github.com
fe2b1cc542f5ae3f9d81ae04c6c874bea64f10d4
6f05f7d5a67b6bb87956a22b988067ec772ba966
/data/train/python/4f956ef173469139d65286c38d6509ea89e8d0c5urls.py
4f956ef173469139d65286c38d6509ea89e8d0c5
[ "MIT" ]
permissive
harshp8l/deep-learning-lang-detection
93b6d24a38081597c610ecf9b1f3b92c7d669be5
2a54293181c1c2b1a2b840ddee4d4d80177efb33
refs/heads/master
2020-04-07T18:07:00.697994
2018-11-29T23:21:23
2018-11-29T23:21:23
158,597,498
0
0
MIT
2018-11-21T19:36:42
2018-11-21T19:36:41
null
UTF-8
Python
false
false
4,309
py
from django.conf import settings from django.conf.urls import url from django.views.decorators.cache import cache_page cache = cache_page(60 * 15) if not settings.DEBUG else lambda x: x from . import views FeedbackSubmissionView_view = cache(views.FeedbackSubmissionView.as_view()) ManageCourseListView_view = views.M...
[ "aliostad+github@gmail.com" ]
aliostad+github@gmail.com
8171bf37c5cc2601e42453a67cb0f58641d64a0d
9f15c140489318b63365e7073817a466bb532039
/labs/pmiko/pmiko-ssh01.py
b16f274094030a8a7f3226d528c0fa1527ff54ae
[ "MIT" ]
permissive
queenskid/MyCode
9d076a2b0c901ee8649778e81c327b3590762023
20756ebd1826ba7cb1cf9b06374e6aa568996bd1
refs/heads/master
2020-03-18T04:47:41.598235
2018-06-07T18:01:46
2018-06-07T18:01:46
134,306,675
3
0
null
null
null
null
UTF-8
Python
false
false
376
py
import paramiko client = paramiko.SSHClient() clien.set_missing_host_key_policy(paramiko.WarningPolicy()) client.set_missing_host_key_policy(paramiko.WarningPolicy()) client.connect('localhost', username='student', password='alta3') cmd = 'ls' stdin, stdout, stderr = client.exec_command(cmd) print('result ' + cmd) for ...
[ "andres.ibarra0716@gmail.com" ]
andres.ibarra0716@gmail.com
e87d43009f716c28a727b50052f298821267f681
290147beecc9329fd6b3486cd950a6ab7c7346fc
/03-操作matlab模型/1,初次练习.py
0f614a6ee85bc5e3676b084e09f231fe450358ee
[]
no_license
Fitz0720/full_test
8a0135587b5560ece82590943cd161cc8cbd628d
b4d067e9ac2b118384983452a62687161b79020d
refs/heads/master
2020-06-04T18:58:52.571148
2019-06-16T05:50:50
2019-06-16T05:50:50
192,154,481
0
0
null
null
null
null
UTF-8
Python
false
false
913
py
import scipy.io home = scipy.io.loadmat('./mat/home.mat') no_home = scipy.io.loadmat('./mat/nohome.mat') hbuild = scipy.io.loadmat('./mat/highbuild.mat') # data类型为dictionary print(home.keys()) # 即可知道Mat文件中存在数据名,假设存在'x', 'y'两列数据 print(no_home.keys()) # 即可知道Mat文件中存在数据名,假设存在'x', 'y'两列数据 print(hbuild.keys()) # 即可知道Mat文件中...
[ "zhongmc_0720@163.com" ]
zhongmc_0720@163.com
42736557d3c4b077a3911149d84d4ea2af8b3ad2
066c5d7ec7745a882fbd0e97f1b1e8caddd6ec35
/PfamScripts/adda/scripts/setup.py
654a75791414706659aa124b2ac268d338c59f5e
[ "Apache-2.0" ]
permissive
Rfam/rfam-website
68b5b0b17376f926bc89730ebb811cd0f505ea7d
df8f146915c04571c6ff438efecf67e42224b922
refs/heads/master
2023-06-26T12:59:20.518921
2023-06-19T13:38:26
2023-06-19T13:38:26
75,959,270
6
2
Apache-2.0
2023-04-18T13:56:42
2016-12-08T17:20:11
JavaScript
UTF-8
Python
false
false
10,259
py
################################################################################ # Gene prediction pipeline # # $Id$ # # Copyright (C) 2004 Andreas Heger # # This program is free software; you can redistribute it and/or # modify it under the terms of the GNU General Public License # as published by the Fre...
[ "rdf@ebi.ac.uk" ]
rdf@ebi.ac.uk
566835bfa21b0ae9ac62103e689e07fca0d0ec84
dd027c4bbcace97e3dbf566c123b178ceb1a8282
/sett/bin.py
ec6cfeb5a5845420ceece18c657966787f9d4496
[]
no_license
cecedille1/Sett
479bf00ca8df807f431e235c68b892bb90fab9b0
bf8b9f204caa532a5fb8f110ab4e4a1cea03cb96
refs/heads/master
2021-01-10T13:28:11.614022
2016-03-31T16:51:14
2016-03-31T16:51:14
43,488,127
0
0
null
null
null
null
UTF-8
Python
false
false
3,025
py
#!/usr/bin/env python # -*- coding: utf-8 -*- import os import functools from paver.easy import path class NotInstalled(Exception): pass class DirectorySearcher(object): def __init__(self, directory): self.directory = path(directory) def search(self, program): bin_path = self.directory...
[ "gr@enix.org" ]
gr@enix.org
0ae864d0a423e68a0efa8509b43d6dea15776b19
4e89d371a5f8cca3c5c7e426af1bcb7f1fc4dda3
/python/python_test_002/04/02.py.backup.new
f2c15f2898e8db20233471a5f599c56036c773d1
[]
no_license
bodii/test-code
f2a99450dd3230db2633a554fddc5b8ee04afd0b
4103c80d6efde949a4d707283d692db9ffac4546
refs/heads/master
2023-04-27T16:37:36.685521
2023-03-02T08:38:43
2023-03-02T08:38:43
63,114,995
4
1
null
2023-04-17T08:28:35
2016-07-12T01:29:24
Go
UTF-8
Python
false
false
442
new
#!/usr/bin/env python3 # -*- coding:utf-8 -*- import time import os def print_dir_info(dir_path): for name in os.listdir(dir_path): full_path = os.path.join(dir_path, name) file_size = os.path.getsize(full_path) mod_time = time.ctime(os.path.getmtime(full_path)) print(...
[ "1401097251@qq.com" ]
1401097251@qq.com
e72004aef9df8bdffe60514861b4160308f426ed
f360dddf772849857a5555c544d470a004274583
/python/rename.py
f02a28730fddc62b1c5919977a5dcaf17ce8602c
[]
no_license
passaloutre/kitchensink
1cdfea75e2e10c5c44872ec77c63f627e7cdb420
397d9e48a35f13903ed2cd6fe13e2039e5e2c2e2
refs/heads/master
2021-04-28T03:31:48.508037
2018-02-20T01:32:17
2018-02-20T01:32:17
122,141,194
0
0
null
null
null
null
UTF-8
Python
false
false
1,160
py
# -*- coding: utf-8 -*- """ Created on Tue Jun 6 10:32:00 2017 @author: RDCHLMTR """ import os import glob import numpy as np import pandas as pd import matplotlib.pyplot as plt folder = 's8' os.chdir('E:/Projects/BedformRoughness/new/VICKS_10032012/{}/'.format(folder)) filelist = glob.glob('*.xy...
[ "noreply@github.com" ]
noreply@github.com
c8ed762106e501cfc1f293e9ce7a805a2f2f4ccf
a3a6eeb340735664c863952bf3c1e3070e61d987
/tests/test_bools.py
b32005d2de314894aec53fd4db70bb575825a6c1
[ "Apache-2.0" ]
permissive
DalavanCloud/tmppy
dab593789d6e1ae6a3b25db6c4b41ce4fcfb378c
cdde676ba9d5011b7d2a46a9852e5986b90edbbc
refs/heads/master
2020-03-27T19:55:42.295263
2018-09-01T18:13:21
2018-09-01T18:13:21
147,021,787
1
0
Apache-2.0
2018-09-01T18:14:23
2018-09-01T18:14:23
null
UTF-8
Python
false
false
4,058
py
# Copyright 2017 Google Inc. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or...
[ "poletti.marco@gmail.com" ]
poletti.marco@gmail.com
b070776711ba637cced64d0800efea3bd838d325
a7b21e187141b19ecd1163ddbc99cb2925abca6e
/ex/test1.py
0f7744a66def3566e9053bfc7142ade307de2f13
[]
no_license
zhangyue0503/python
b387b955aafeecad254e1bdc0b2115c94ca6667b
4b7014d80b325eed37af9f280f7c92a5edcdbb19
refs/heads/master
2023-04-04T19:45:31.190018
2023-03-20T06:57:36
2023-03-20T06:57:36
70,409,084
0
1
null
null
null
null
UTF-8
Python
false
false
330
py
from random import randint num = randint(1, 10) print('Guess what i think') bingo = False while not bingo: answer = input() answer = int(answer) if answer > num: print("大了") if answer < num: print("小了") if answer == num: print("%s %s 正好"% (num,'a')) bingo = True
[ "zhangyue0503@hotmail" ]
zhangyue0503@hotmail
293f2076ab950a2caf64b738152b431673aa60d9
f71aecb0e91fe877af3ec652c7f6753a1e7b5ccd
/DeleteAndEarn_MID_740.py
9184c6e40bedecac812fa994aac05abff1692a4c
[]
no_license
953250587/leetcode-python
036ad83154bf1fce130d41220cf2267856c7770d
679a2b246b8b6bb7fc55ed1c8096d3047d6d4461
refs/heads/master
2020-04-29T12:01:47.084644
2019-03-29T15:50:45
2019-03-29T15:50:45
176,122,880
2
0
null
null
null
null
UTF-8
Python
false
false
1,409
py
""" Given an array nums of integers, you can perform operations on the array. In each operation, you pick any nums[i] and delete it to earn nums[i] points. After, you must delete every element equal to nums[i] - 1 or nums[i] + 1. You start with 0 points. Return the maximum number of points you can earn by applying s...
[ "953250587@qq.com" ]
953250587@qq.com
e7e1884d2677b6ffa1945bcccd74218252cc3ceb
3d6f8dc406a18397c354df72ce7dbf5e87712567
/LeetCode/Num_Count.py
b0d86b7223ec0c7f7887b0cca1ebe54dcde1a1d1
[]
no_license
HonryZhang/Python-Learning
b7410153eff7cd4e51e6e5d69cf7a9bc739a8243
e29a75eb42588b2ac31d9b498827cba9c87fc157
refs/heads/master
2021-01-16T21:41:45.429416
2018-05-16T01:36:31
2018-05-16T01:36:31
100,246,266
0
0
null
null
null
null
UTF-8
Python
false
false
1,893
py
#!/usr/bin/env python # -*- coding:utf-8 -*- __author__ = 'Hongrui' ''' 求数字出现的次数? a.求1~2593中数字 5 出现的次数? 比如555,数字5算出现3次。 b.求 1~N中,数字x (0~9) 出现的次数 ''' ''' Input k: the target number Input n: the target digit Output: the total times appeared in the list ''' def digitCounts(k,n): t_count = 0 #define the tota...
[ "jshori@163.com" ]
jshori@163.com
45830ca2724ff69c369dc26784b213020848d006
5536097c4a9be6e428736e2dc6c6960fd5dc9ec8
/openacademy/__manifest__.py
1dd92d1e4eb59ed05967737b2678805b68762e9f
[]
no_license
patrick0898/technical-training-13.2
2e6cc2421998af4f199ec4afe9cae264a223ad25
f965a2900cdc75848e754b151b7266e6ddd5e81a
refs/heads/main
2022-12-25T11:05:16.280966
2020-10-12T14:32:06
2020-10-12T14:32:06
301,715,126
0
0
null
null
null
null
UTF-8
Python
false
false
1,073
py
# -*- coding: utf-8 -*- { 'name': "openacademy", 'summary': """Manage trainings""", 'description': """ Open Academy module for managing trainings: - training courses - training sessions - attendees registration """, 'author': "My Company", 'website'...
[ "PatrickToolkt@users.noreply.github.com" ]
PatrickToolkt@users.noreply.github.com
668f53cacca9c9a4820155c016169f78c1c016f1
3d45ddc12d167a634d83832b5687500ee0dda12f
/dft/potential_map/no_kpts/get_dipole.py
8dbfb1513d0b3269a3f85f4d29fc2f251536022b
[]
no_license
gvermillion/research
a457b56f1e8b81cb28158557da786792df52c1b2
f01408f13bd4e080e15569759a10c254499b78ad
refs/heads/master
2021-10-11T10:50:17.893862
2019-01-24T19:42:45
2019-01-24T19:42:45
146,779,228
0
0
null
null
null
null
UTF-8
Python
false
false
2,458
py
import sys, os from gpaw import GPAW, restart from ase import Atoms from ase.io import write from ase.dft import wannier import numpy as np scwf = sys.argv[1] # <path_to_data/prefix+seed.gpw path_to_data = scwf[:scwf.find('/')+1] prefix = scwf[scwf.find('/')+1:scwf.find('.')-3] #prefix = '' seed = scwf[-7:-4] def mi...
[ "gcates@argali.icp.uni-stuttgart.de" ]
gcates@argali.icp.uni-stuttgart.de
9c990b250078cf9c8369a1de24ae04eab71bd38d
ebc00ddf4c8c5f5076471e8b8d56c2b634c51230
/test/lint/lint-format-strings.py
16dc41072bf1f3e3a7e014ad34d18c2409ba2e70
[ "MIT" ]
permissive
BlockMechanic/rain
584a9e245cfb7ab5fb1add97b699b86833bfbc5b
e8818b75240ff9277b0d14d38769378f05d0b525
refs/heads/master
2021-07-03T03:48:53.977665
2021-03-04T01:28:20
2021-03-04T01:28:20
228,412,343
0
0
MIT
2019-12-16T15:03:28
2019-12-16T15:03:27
null
UTF-8
Python
false
false
12,727
py
#!/usr/bin/env python3 # # Copyright (c) 2018-2019 The Rain Core developers # Distributed under the MIT software license, see the accompanying # file COPYING or http://www.opensource.org/licenses/mit-license.php. # # Lint format strings: This program checks that the number of arguments passed # to a variadic format str...
[ "blockmecha@gmail.com" ]
blockmecha@gmail.com
6d919754fbe5684a679f216ab2c066ef6504a252
a50267e6880dd0c19297d69fcdb71afe5be68a8e
/2019-2020 (Senior)/EE 381 Probability and Statistics Computing/Project1.py
dde68ac9ed8315a55a627d83bc2e05ff59267826
[]
no_license
DennisMaya/School
6a3604a38caac3345b203971f810d1d8c0632e49
6ea3e9243959dec3029d2e4a04c26123f363f658
refs/heads/master
2020-07-31T00:44:17.174739
2019-11-13T19:27:11
2019-11-13T19:27:11
210,421,547
0
0
null
null
null
null
UTF-8
Python
false
false
1,603
py
""" EE 381 fall 2019 Project 1 Name: Dennis Maya I.D.: 015850768 Start Date: 8-26-2019 End Date:9-4-19 This program calculates the measures of central tendency of inputted data. """ from collections import Counter def findMean(L): mean = sum(L) / len(L) print("The mean is: ", mean) def findMedian(L): L.s...
[ "mayadennis101@gmail.com" ]
mayadennis101@gmail.com
13ab28af506652b41d6a5867731c056d767b6079
9036d7f6b577d8094c26023bd139ab66b7347ed9
/Laptop/newgrounds_dl/main.py
eaedf439059420e93c6b4c55b4df19dca8297a24
[]
no_license
segfaultec/Python-Stuff
6f960448438b33b5d333c50d393a78d5e7237725
ad793e1f25727bf5ffc43f2be12fafcabb85b730
refs/heads/master
2023-06-22T13:00:27.451567
2018-04-08T15:38:23
2018-04-08T15:38:23
null
0
0
null
null
null
null
UTF-8
Python
false
false
5,125
py
''' Automatically download all of the audio from a newgrounds artist requests - Get the files from the internet os - Change directory tqdm - Progress indercators bs4 - To sort through the html mutagen - To access .mp3 metadata ''' import requests, os, time, glob from tqdm import tqdm from bs4 import BeautifulSoup ...
[ "30533393+8bitbanana@users.noreply.github.com" ]
30533393+8bitbanana@users.noreply.github.com
14cf87fdbdf21bfb9d5edb77ffaf4e0160c8a65d
3ce131ee66b383f0468e6c649136c1558e38da1c
/hw2/hw2_2/logger/__init__.py
788571c4b649511f8fa4db5c3cfc1345126b09a5
[]
no_license
victoresque/MLDS2018SPRING
3bd70420b9855557f72ce159d4e1b6cc64eecca3
339b0b1592ce9ccb8b680c1ed64f2ed484f826a6
refs/heads/master
2021-04-03T06:02:04.707344
2018-07-06T09:44:52
2018-07-06T09:44:52
124,624,407
29
5
null
null
null
null
UTF-8
Python
false
false
32
py
from logger.logger import Logger
[ "vichuang1997@gmail.com" ]
vichuang1997@gmail.com
47f7d8355a3f5c46d88c11b8cff1af9ee83767e9
f9067b9fdcc56f4f11feaf5c3c665ed79aded364
/ex012.py
d269e7677c9ce7e3bcb8a021b38175fc80c958ed
[]
no_license
yang-seoyeon/python-100
1b1dde02a4460f73042eeec0a9dcee4607a1865e
eefc82ffd4679b1c55d3035c90fd4dfad7c97776
refs/heads/main
2023-03-01T03:11:13.618461
2021-02-05T16:03:25
2021-02-05T16:03:25
334,177,646
0
0
null
null
null
null
UTF-8
Python
false
false
650
py
# 문제12 : 게임 캐릭터 클래스 만들기 #다음 소스코드에서 클래스를 작성하여 게임 캐릭터의 능력치와 '파이어볼'이 출력되게 만드시오. #주어진 소스 코드를 수정해선 안됩니다. # <여기에 class를 작성하세요.) class Wizard: def __init__(self, health, mana, armor): self.health = health self.mana = mana self.armor = armor def attack(self): print('파이어볼') x = W...
[ "itionings@gmail.com" ]
itionings@gmail.com
d3b2e3992912c11087075dc934be53b78c97d1c9
2ba8b60bf44dadfb9a808134ffbeab0720d063b9
/bashMyWave/admin.py
0d5c3e4f0ee103166d43d7d1bde7ca79f716b63e
[]
no_license
ciapasty/bash-my-wave
ebcb246456d250bb9bedbb1d0b75183fd1e203fd
a544169df0640b289b0a52c26370970582513934
refs/heads/master
2020-03-07T09:02:14.157069
2018-11-21T18:40:16
2018-11-21T18:40:37
127,396,209
0
0
null
null
null
null
UTF-8
Python
false
false
135
py
from django.contrib import admin from .models import AudioFile, Comment admin.site.register(AudioFile) admin.site.register(Comment)
[ "maciej.eichler@gmail.com" ]
maciej.eichler@gmail.com
96e0e87ae4f92db463f5637a8baa16af17d5a789
8d452a7ba80f9a2be41a0989673e8228df971e32
/blog_app/urls.py
2b83f3c01271ad42cc100a37111b6bc36f0cfefa
[ "MIT" ]
permissive
JhonathanMusa/django-react-practice
4291c96f4f3c78b59bc70f9d1b9a03d3e3ba4079
3c0ade7e3637c8c716599925d1204ce85488d832
refs/heads/master
2023-04-06T17:33:00.572241
2021-04-22T02:09:26
2021-04-22T02:09:26
293,693,381
0
0
null
null
null
null
UTF-8
Python
false
false
800
py
"""blog_app URL Configuration The `urlpatterns` list routes URLs to views. For more information please see: https://docs.djangoproject.com/en/3.1/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') Class-base...
[ "jhonathansamu91@gmail.com" ]
jhonathansamu91@gmail.com
c5bea47a78ef4afff1c24d9a63832ffb75b71779
59319ef1ab333759384574a583f061178adc74f5
/commonsources/CMmysqlconnectV2.py
e9e2b455a671ac9f9e31daf03e34e96e1e6931fd
[]
no_license
tonyre4/CVE
804d4c94666d35a902a97c28fdec3fd7734a2364
7e4700b5c37d3eef2db70d06cf10f8230ee79fa4
refs/heads/master
2021-01-21T14:49:02.193381
2017-10-09T05:34:13
2017-10-09T05:34:13
95,338,297
0
0
null
null
null
null
UTF-8
Python
false
false
3,148
py
# -*- coding: utf-8 -*- import MySQLdb as mdb import tkMessageBox sqlserver = 'localhost' sqluser = 'root' sqlpsw = '85491278' def transactionIn(inst,database): try: con = mdb.connect(sqlserver, sqluser, sqlpsw, database) cur = con.cursor() cur.execute(inst) con.commit() co...
[ "tonyre4@gmail.com" ]
tonyre4@gmail.com
f238ca527b2fc8eaf40a610d4bd64b0577b87abe
66cc0736bc9a75cadf1d1c51406d34c46daf8451
/img_enhancementchange.py
71372f3885d951ca984775f0cc3fdc0d9729590d
[]
no_license
maohx/working_1
197809868d3552aa48eef87c4f89590cf85a5fce
04a0aa0319c9c5e664522c6f25c2c5d4a433672e
refs/heads/master
2021-07-10T06:25:16.625580
2020-06-19T10:38:01
2020-06-19T10:38:01
138,838,718
0
1
null
null
null
null
UTF-8
Python
false
false
7,282
py
# -*- coding: utf-8 -*- """ Created on Fri Mar 09 14:26:42 2018 @author: Administrator """ import numpy as np import cv2 import math from skimage.transform import rotate import os from multiprocessing.dummy import Pool as ThreadPool import shutil def facial_lum(image): exposure=1.2 r2=np.random.rand() ...
[ "842183987@qq.com" ]
842183987@qq.com
7b8407f136288e65cfd6c5e89e951bf7ae06c865
e0df83caecee09c60d4d8430ceef4866fc919a04
/app/core_app/migrations/0001_initial.py
e97ac42ba6f7dac2dce385e9c274169dfa8cc0d1
[]
no_license
ahmed4040400/recipe-app-api
5ec9380fbbf7d9262328a5d4d0716e39e63798e6
9fdf1101ba918f55be9c9c4ef5299e7b336fd8d0
refs/heads/master
2021-01-15T01:30:45.137618
2020-03-25T22:17:22
2020-03-25T22:17:22
242,827,306
0
0
null
null
null
null
UTF-8
Python
false
false
2,662
py
# Generated by Django 2.1.15 on 2020-03-03 13:39 import django.contrib.auth.models import django.contrib.auth.validators from django.db import migrations, models import django.utils.timezone class Migration(migrations.Migration): initial = True dependencies = [ ('auth', '0009_alter_user_last_name_m...
[ "ahmed4040400@gmail.com" ]
ahmed4040400@gmail.com
3b6432b04905472d6b3fa3aa34e14aeda248431a
323b16051e31dfdf1f3f2f81ba8fae37ce0850db
/Project2/3700ftp
358943a750b1d2baddfcc8db442e7269018643b7
[]
no_license
michellekang621/CS3700
f31e96d3c01fde754ce5d1e6e8bee7e56ea0d9f3
a56f304f7191e510b28ad2fcf0bf2de38b18bbc3
refs/heads/master
2022-12-21T01:50:11.708597
2020-10-05T20:00:15
2020-10-05T20:00:15
295,305,439
0
0
null
null
null
null
UTF-8
Python
false
false
5,201
#!/usr/bin/env python3 import socket, urllib.parse, argparse, os from urllib.parse import urlparse BUFFER = 8192 parse = argparse.ArgumentParser() parse.add_argument('operation', action='store', type=str) parse.add_argument('params', action='store', nargs = argparse.REMAINDER) args = parse.parse_args() operation = ar...
[ "kang.mic@husky.neu.edu" ]
kang.mic@husky.neu.edu
18c6eea1ee6057820d8c9005f36360035a403ec5
683a2f80883b063641af6bdf48990e4c0356c2c4
/paint/migrations/0003_auto_20190906_2114.py
c8e33dcb3a0b1f7061392cd3833ee36bb430c4e3
[]
no_license
mehdipourfar/portfolio
e0fb0dbb3715bbb4d7efc5ab3fc0501c1d88420b
79c167f9257fd3fe3656054e8fbd32c71d2124fd
refs/heads/master
2021-07-09T11:53:42.697048
2020-01-23T14:26:12
2020-01-23T14:26:12
235,780,491
0
0
null
2021-03-30T12:35:57
2020-01-23T11:24:53
Python
UTF-8
Python
false
false
2,302
py
# Generated by Django 2.2.5 on 2019-09-06 21:14 import ckeditor_uploader.fields from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): dependencies = [ ('gallery', '0001_initial'), ('paint', '0002_auto_20190906_2025'), ] operatio...
[ "mehdipourfar@gmail.com" ]
mehdipourfar@gmail.com
52b0eea637f58e6fb5f3250b1c81c4aa60bb1b74
c1e3df4bacdc3415b7ea11204b80b4ff04bb9b66
/scripts/generate_nuisance_ts.py
95d789eda2a2110a3d0178b24b03b309816fb3cb
[]
no_license
cindeem/graph_preproc
468fe435b9f8c8842dd469bdf95ef1afe09bc3e1
57f9617f50ed17c42439ee5a3327794caed0d357
refs/heads/master
2021-01-01T19:38:19.285580
2013-06-20T20:42:13
2013-06-20T20:42:13
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,432
py
""" creates nuisance directory in subjects dir splits movement params into separate EVs renames and puts into nuisance dir extracts WM, ventricle(CSF), and Global timeseries and saves as evs in nuisance dir """ import os import preprocess as pp from glob import glob if __name__ == '__main__': datadir = '/home/j...
[ "cindee@berkeley.edu" ]
cindee@berkeley.edu
b3be7046340d646fbd3c97dd5aca4727af8f201e
e044d3f05118e706244a276e4d4c867671f1873c
/saavn_scraper/saavn_scraper/spiders/saavn.py
a59472f8c2923940ffea4efa95d2d08ebbf93bbf
[]
no_license
luckysher/saavn_scraper
771c58d320441989deb1ac56b0220b6579e20e06
8aca9dfd584ad6bb2fa8ca1911fe7e8de5455770
refs/heads/master
2021-04-06T01:48:27.260851
2018-03-16T22:47:36
2018-03-16T22:47:36
124,598,659
2
0
null
null
null
null
UTF-8
Python
false
false
3,058
py
#----------------------------------------------------- # Spider for scraping www.saavn.com music site #----------------------------------------------------- import scrapy from scrapy.selector import Selector from scrapy.loader import ItemLoader from ..itemModels.album import * class SaavnSpider(scrapy.Spider): n...
[ "luckyshera95@gmail.com" ]
luckyshera95@gmail.com
83dce67026bbfad8715bd7a55601f55e28930776
5b46e6fd5bbd44a7ccd1333184e13fc4703a084b
/tcex/app_feature/__init__.py
be2ba3c48d248ccaaf89b0854fd3b607bb9bf2c1
[ "Apache-2.0" ]
permissive
TpyoKnig/tcex
1fc297a5f93a17e4bc4a7786335714eb89b6e21d
7cf04fec048fadc71ff851970045b8a587269ccf
refs/heads/master
2022-12-25T19:20:49.675331
2020-09-30T10:05:37
2020-09-30T10:05:37
254,921,370
0
0
Apache-2.0
2020-08-24T23:21:27
2020-04-11T17:38:28
null
UTF-8
Python
false
false
105
py
"""App feature module for TcEx Framework""" # flake8: noqa from .advanced_request import AdvancedRequest
[ "bsummers@threatconnect.com" ]
bsummers@threatconnect.com
143c3d4725a20e10ab6179d77ba2c658c4f44e7e
e484393a06ff65b9432116a5a08077c4431fc17f
/pipelines.py
b684ded6aa835201d1e7d97df670eb9c4df53974
[]
no_license
knighton/seq_clf
e9adf4301844377b090601b26389ea1e4c17100f
553aa4f990fb072d08c62667cdb179a4aa5b31a2
refs/heads/master
2016-09-06T15:58:22.834655
2015-07-26T03:59:52
2015-07-26T03:59:52
39,712,897
0
0
null
null
null
null
UTF-8
Python
false
false
1,631
py
from camacho.base import Transformer from camacho.preprocess.sequence.coders import IntCoder from camacho.preprocess.binarize.embeddings import Word2Vec from camacho.preprocess.binarize.onehot import AtomBinarizer from camacho.preprocess.sequence.max_length import MaxLength from camacho.preprocess.sequence.min_length i...
[ "iamknighton@gmail.com" ]
iamknighton@gmail.com
067d921eb79a5a39f3cc7dc94fb3462d9ab8d858
79f7f07e8967e7177c9edaab1836785def255f75
/stream/cache.py
6e0618a13212db4d35bea7eb35ddde2520b771b0
[]
no_license
qq40660/stream.cloud
302c88e3fb9ecfc7f2c9c9bfde60fdb6788bae99
fdd9e0ec6c842f1be46d70d0a1530490e49ada27
refs/heads/master
2020-12-07T05:22:27.762362
2011-05-03T05:12:51
2011-05-03T05:12:51
null
0
0
null
null
null
null
UTF-8
Python
false
false
599
py
#! /usr/bin/env python # -*- coding: utf-8 -*- import logging from google.appengine.api import memcache def google_remove_cache (key): ret = memcache.delete (key) logging.debug ('google_remove_cache: %s %d', key, ret) return ret def google_set_cache (key, value, lifetime = 360): return memcache.set (...
[ "newblue@gmail.com" ]
newblue@gmail.com
284778b2959e8c3cb457a8b8c097bde8b17187ca
a290f2a3dbe72b87b0018a61a67df17b0c5e71fe
/web_test/assist/selene/__init__.py
6b94f45e3b6c61a01c07359459058afad757ff24
[ "MIT" ]
permissive
yashaka/python-web-test
4d10028c28e6239842318872ca6e36d0823e23a1
0630a61ba338195028753954e73218f5219e2c02
refs/heads/master
2022-09-19T23:42:15.848396
2022-09-05T19:25:53
2022-09-05T19:25:53
243,817,484
59
16
MIT
2021-06-15T19:16:47
2020-02-28T17:24:20
Python
UTF-8
Python
false
false
29
py
from . import report, shared
[ "yashaka@gmail.com" ]
yashaka@gmail.com
a2085d182c25496ef84e605d2b50c6b03809317c
6b690a1e992b28be7664fc028daf689cb22c7dbe
/pacote-download/CursoemVideo/ex094.py
9c3f8627e9ac602fc8b24c7cf28660c9e3f5aba4
[ "MIT" ]
permissive
pemedeiros/python-CeV
a37c6dcbc9d86d90899401b98167118de0f7e951
e34eebdfd6f5cf254a9ad1ce076083c735f68f28
refs/heads/main
2023-03-13T13:14:41.861510
2021-03-15T16:34:23
2021-03-15T16:34:23
348,026,254
0
0
null
null
null
null
UTF-8
Python
false
false
825
py
geral = [] pessoa = {} mulher = [] acima = [] totpessoas = media = idadetot = 0 while True: pessoa['nome'] = input('Nome: ') pessoa['sexo'] = input('Sexo[M/F]: ').upper() pessoa['idade'] = int(input('Idade: ')) opcao = input('Deseja continuar?[S/N]').upper() if pessoa['sexo'] == 'F': mulher....
[ "pemedeiros0110@gmail.com" ]
pemedeiros0110@gmail.com
974ddbb0f9a9aa98477ca1b9ab53f57b081190e8
ddcd668f8349c62b99d246fa16c7e898d109abad
/ABC032_A_Favorite_Number.py
c8d3263a58ac8788c2bee4bb794d2cf1ef1d004d
[]
no_license
shioyama18/atcoder
8e322f93f28f20ec4768717b2a43c711d9fc3c10
21d12e29ce7b2593243f57cd04390ded81da4a70
refs/heads/master
2020-12-09T16:33:50.975145
2020-02-17T08:10:04
2020-02-17T08:10:04
194,021,095
0
0
null
null
null
null
UTF-8
Python
false
false
141
py
a = int(input()) b = int(input()) n = int(input()) while True: if n % a == 0 and n % b == 0: print(n) break n += 1
[ "shioyama1118@gmail.com" ]
shioyama1118@gmail.com
8d2d22353601d0e01717d35b5dcc9e799f41999e
21164ca369ea3a1674c3a03bbebcd9c830d0864c
/rules/php/CVI_1010.py
52a1c4d2d3ae1e95fdb389413593d1d3962c7073
[ "MIT" ]
permissive
IMULMUL/Cobra-W
a02d6b512843c96685550a98d74f9d8ebe4bdfaf
de65466e53c8bd8e29a5f3e16ab91146d354c53f
refs/heads/master
2023-07-08T19:14:35.698641
2023-06-27T09:31:15
2023-06-27T09:31:15
202,911,104
0
0
MIT
2023-06-27T23:39:53
2019-08-17T17:17:37
Python
UTF-8
Python
false
false
1,204
py
# -*- coding: utf-8 -*- """ auto rule template ~~~~ :author: LoRexxar <LoRexxar@gmail.com> :homepage: https://github.com/LoRexxar/Kunlun-M :license: MIT, see LICENSE for more details. :copyright: Copyright (c) 2017 LoRexxar. All rights reserved """ from utils.api import * class CVI_101...
[ "lorexxar@gmail.com" ]
lorexxar@gmail.com
4a3b71538eb6ce0c3b4facba849a1492ed9f347d
bbd3e0c5de108ae790c4ec3cb541c31fec61cca8
/devil/devil/android/device_utils.py
271f411a03fe80c7e9d5c0d9ac502839e59bf887
[ "BSD-3-Clause" ]
permissive
oneumyvakin/catapult
a8e39dd1d63da3f018a05b03ae5e4c8e899ff225
69d05ea70e77998c86149ac78044470e3ca364ad
refs/heads/master
2021-01-25T14:22:00.123474
2018-03-02T19:42:21
2018-03-02T20:16:09
123,683,443
0
0
BSD-3-Clause
2018-03-03T10:52:58
2018-03-03T10:52:58
null
UTF-8
Python
false
false
105,450
py
# Copyright 2014 The Chromium Authors. All rights reserved. # Use of this source code is governed by a BSD-style license that can be # found in the LICENSE file. """Provides a variety of device interactions based on adb. Eventually, this will be based on adb_wrapper. """ # pylint: disable=unused-argument import cale...
[ "commit-bot@chromium.org" ]
commit-bot@chromium.org
524b1358ad9ee8ee8f2d39822be7b785bd290ba4
72c7e52fca3ff126d4e6be05d3c08d4e7552871b
/EM-opinion/Time_mining.py
e467f5b2dfba85685ee083023476d0c962892c12
[]
no_license
shj1987/UIUC_research
88b4751d9224d4f9fb0304f308ec885de9d743e4
2ad279452f5cacacffd3116e4b76b14fb71d4f4b
refs/heads/master
2020-05-21T20:54:29.180139
2017-08-02T22:29:12
2017-08-02T22:29:12
62,010,214
0
1
null
null
null
null
UTF-8
Python
false
false
2,570
py
''' Huajie Shao@2016/11/19 Fun: according to the time ''' import numpy as np import sys from datetime import datetime from datetime import timedelta import operator import matplotlib.pyplot as plt # import matplotlib.pylab as pylab import matplotlib as mpl opinion_list = [] events_list = [] fr_opinion = open('truth-...
[ "huajieshao1987@gmail.com" ]
huajieshao1987@gmail.com
443c206920696561be9891a85870428538bb1889
6d819b4846b1c8ff5d36f842e12bc10d0b8dae0b
/listeners/commandListener.py
434eb447090d823f1ca045d2141949c1372d74a9
[]
no_license
SierraW/TradingGameServer
e12d6ef9e33776afec71df624a8cdab1a301222e
da2d9d68b026d3107dd24dc9180131de9987d865
refs/heads/master
2023-07-29T10:23:20.408809
2021-09-12T23:45:05
2021-09-12T23:45:05
378,572,008
0
0
null
null
null
null
UTF-8
Python
false
false
283
py
import threading import executers callback_done = threading.Event() def command_listener(doc_snapshot, changes, read_time): if len(doc_snapshot) > 0: doc = doc_snapshot[0] executers.execute(doc.to_dict()) doc.reference.delete() callback_done.set()
[ "32228665+SierraW@users.noreply.github.com" ]
32228665+SierraW@users.noreply.github.com
035c9eae14a6e1835e1df6cc65ad4fe6bc280836
3bd9f4db02aa2f5de5d9f8bea846b283aeef8f48
/src/py/fusiondb-test.py
157f206ec5ae676bacd93228ee1ae979023d9bed
[]
no_license
FusionDB/fql-training
3ad7aa68ab14ab505fb819e418de06894e6bab31
71d438b0c0d1f3d07e73762973ff7b543c7ad52b
refs/heads/master
2020-06-14T03:42:17.511864
2019-07-03T14:37:56
2019-07-03T14:37:56
194,885,307
2
0
null
null
null
null
UTF-8
Python
false
false
2,158
py
#!/usr/bin/env python # coding: utf-8 # In[17]: import psycopg2 import pandas as pd connection = psycopg2.connect("host=localhost port=54322 dbname=default user=fdb sslmode=disable") df = pd.read_sql(sql="SELECT * FROM VALUES (1, 1), (1, 2) AS t(a, b);", con=connection) df.head() df = pd.read_sql(sql="show databases...
[ "realjiangxu@gmail.com" ]
realjiangxu@gmail.com
316836557b9fa1f0953b5a1ffcc5a776f4ef8968
e0731ac7bd6a9fcb386d9c5d4181c9d549ab1d02
/desafio23.py
3014731320bdb0ff34ffd742354f1f5a90a9b917
[]
no_license
lportinari/Desafios-Python-Curso-em-Video
3ab98b87a2178448b3e53031b86522558c31c099
cd7662ddfe371e48e5aabc6e86e23dc6337405fb
refs/heads/master
2020-04-29T11:09:25.689901
2019-06-23T23:58:06
2019-06-23T23:58:06
176,087,390
0
0
null
null
null
null
UTF-8
Python
false
false
820
py
""" Exercício Python 023: Faça um programa que leia um número de 0 a 9999 e mostre na tela cada um dos dígitos separados. """ print('.:DESCUBRA A UNIDADE, DEZENA, CENTENA E MILHAR DE UM NÚMERO:.') n = int(input('Digite um número de 0 a 9999: ')) u = n // 1 % 10 d = n // 10 % 10 c = n // 100 % 10 m = n // 1000...
[ "noreply@github.com" ]
noreply@github.com
062b2a0596ee166380ac84234cf9171527f15d25
70e13cc24b33cabe688ffc8b3c771605b75f08d0
/lib/settings.py
61fc3dac55d83711564a4419ee4c23cfdd9e74f7
[]
no_license
m-hall/Arcinator
29470a7a81979079eb86468228cd9a10dffb324c
3a5b33509499cc5c67538ef204ae46092f53a761
refs/heads/master
2021-01-10T07:41:39.555334
2015-10-05T19:36:31
2015-10-05T19:36:31
43,037,643
0
0
null
null
null
null
UTF-8
Python
false
false
962
py
import sublime import sublime_plugin import os import json SETTINGS_FILE = "Arcinator.sublime-settings" GLOBAL_PREFERENCES = "Preferences.sublime-settings" LISTENER_PREFIX = 'Arcinator-' class Settings: """Interface for communicating with settings""" plugin = None def load(): """Loads the settin...
[ "github@michaelhall.ca" ]
github@michaelhall.ca
d8994a9f072d5aff6be27155204f79aa06ddcf24
963ff96eeabc00da3d3ea58e6a7fa810087ebbf3
/Lab1_News_Parser/main.py
05870b75b5f282e32d574b68e15acd3333a98884
[ "MIT" ]
permissive
PVSemk/NLPLabs
f50caa643ff8b878331ced26da31a035105070ab
eda94a54f9f74f36a222bd1ac00cbd972760ad17
refs/heads/main
2023-08-23T22:00:17.191028
2021-01-31T13:11:27
2021-01-31T13:11:27
329,973,940
0
0
null
null
null
null
UTF-8
Python
false
false
4,865
py
from selenium import webdriver import time from selenium.webdriver.chrome.options import Options import json from argparse import ArgumentParser import os def parse_args(): parser = ArgumentParser("Scrapper for bbc.com") parser.add_argument( "--driver-path", "-dp", type=str, de...
[ "pvsemk@mail.ru" ]
pvsemk@mail.ru
d61c336a4cc5c1f4e0434ecbd8901b8288d81704
65d1dd426cd7d06833128771d3b274ab9895ccd9
/after_midterm/roll_pitch.py
adccc57a9660d110506d546add0c755df4594e01
[]
no_license
alicechen1998/Smart-UAVs
9bf706b2c81b30ee872bdb271b89336dd5ec01f2
02612195cf28dc5d0539021bcb12ba095e04106a
refs/heads/main
2023-06-15T10:35:20.572151
2021-07-07T16:20:49
2021-07-07T16:20:49
375,763,591
0
0
null
2021-07-07T15:46:51
2021-06-10T16:31:19
Python
UTF-8
Python
false
false
1,789
py
import logging from math import atan2, sqrt, sin, cos, pi from math import pow as fpow import adafruit_lsm303_accel import adafruit_lsm303dlh_mag class Compass(object): def __init__(self, interface="", hw_interface="-1", debug=False, hires="False"): if debug: logging.basicConfig(...
[ "zachietaylor@msn.com" ]
zachietaylor@msn.com
3b97308de26a775df79a1ad0e149ebeccd54317a
93ee7522daa9260f2c18f00afb2a1c0a04c32adc
/ahte_experiment/select_cluster_line.py
e9145dad1f326666d71950d2a4a2ca25a55ed6a6
[ "MIT" ]
permissive
beratkurar/unsupervised_learning_of_text_line_segmentation_by_differentiating_coarse_patterns
912af8fbbd9a5e51edb552bcadefbc68f5ebe2e1
825bd938fb9c6fbb7e605c89e6cb9ad606280809
refs/heads/main
2023-09-04T09:55:06.820601
2021-09-21T22:50:44
2021-09-21T22:50:44
339,221,109
1
0
null
null
null
null
UTF-8
Python
false
false
1,559
py
import cv2 import numpy as np import os import imutils def select_cluster(org_folder,vis_folder,page_name,line_folder): vis_img=cv2.imread(os.path.join(vis_folder,page_name)) org_img=cv2.imread(os.path.join(org_folder,page_name),0) ret, thresh = cv2.threshold(org_img, 0, 255, cv2.THRESH_BINARY_INV + cv2.TH...
[ "berat@post.bgu.ac.il" ]
berat@post.bgu.ac.il
3e2ed5f12e43eb840e204bf60e63444edf24982f
100ada3724e83ea07ad08bcb15f599a4d50b66c3
/Cinema/cinema_feedback/views.py
c8c36bf833ce2e73fa589ca4e9997d943473e691
[ "Apache-2.0", "MIT" ]
permissive
samir321-pixel/Django_Cinema_Mall
510e4c9701a65f808c73a02aa17faf3068aa1cae
e6c48b74f9049dc3495328b68945a59756719091
refs/heads/main
2023-04-16T17:36:48.761116
2021-04-21T15:37:26
2021-04-21T15:37:26
342,127,171
10
1
null
null
null
null
UTF-8
Python
false
false
1,010
py
from rest_framework import generics from rest_framework.permissions import IsAuthenticated from managecinema.models import Cinema from .models import * from .serializers import * from rest_framework.response import Response # Create your views here. class ReviewViewsets(generics.ListCreateAPIView): queryset = R...
[ "Saitwalsamir@gmail.com" ]
Saitwalsamir@gmail.com
5925e26b18042243db3b2e55802a7e21af8462a9
b2be1d09ff38011f1b35fd2a892c98a1788035e6
/blog/forms.py
6e2d228cc31523a925c4703d2ca013cd4e4143ec
[]
no_license
AhmadZohery/Blogger-Django-ar
c690edfbb0f389eb587e2fd32d0c6ba8927d952b
ad9379c486a623ab958b1d37a8ca3447e163924b
refs/heads/master
2020-07-03T05:49:39.818551
2019-08-13T20:47:04
2019-08-13T20:47:04
201,806,819
0
0
null
null
null
null
UTF-8
Python
false
false
173
py
from django import forms from .models import Comment class NewComment(forms.ModelForm): class Meta: model = Comment fields = ('name', 'email', 'body')
[ "AhmadZohery@gmail.com" ]
AhmadZohery@gmail.com
d9013a67593638dedf321942c2ba931ce7a70b20
aa5b7acf9c9a933793b77bd184a2f290a902697b
/openstrmap/helper.py
ba3dac271232f3229dc0253a12af3da2af8b87d0
[]
no_license
tommak/PrgOpenstreetmap
eead9d557eaadef3a566a84ad286c37327a3fdd2
7675dd6fc8195af99be40e28c6a2a0346697b225
refs/heads/master
2021-01-17T16:00:40.044128
2016-06-16T19:52:24
2016-06-16T19:52:24
58,674,567
0
1
null
null
null
null
UTF-8
Python
false
false
6,214
py
# This Python file uses the following encoding: utf-8 import xml.etree.cElementTree as ET import codecs import sys import logging import os import errno from collections import namedtuple import csv class UnicodeDictWriter(csv.DictWriter, object): """Extend csv.DictWriter to handle Unicode input""" def w...
[ "Tamara Makarova" ]
Tamara Makarova
624b1fed865f0cef73ac342fca5f8066a99e91a8
b15bc93d979cb830a9f1fdd1da4dbf95758be080
/galaxy-dist/eggs/bx_python-0.7.2-py2.7-linux-x86_64-ucs4.egg/EGG-INFO/scripts/tfloc_summary.py
13a3611e9630693bfeac4c9fa8bb57cd4e81a276
[ "CC-BY-2.5", "AFL-2.1", "AFL-3.0", "CC-BY-3.0", "LicenseRef-scancode-unknown-license-reference" ]
permissive
najoshi/ucd-biocore-galaxy-command-line
2faa7fe8b5881e6bc89b9f7d44ea4d7e54cd6d0e
ddc9c6113148b9c9f06ea6d552ac348852a37d25
refs/heads/master
2020-07-09T05:01:01.202511
2016-09-07T22:44:36
2016-09-07T22:44:36
67,649,050
1
0
null
null
null
null
UTF-8
Python
false
false
701
py
#!/afs/bx.psu.edu/project/pythons/py2.7-linux-x86_64-ucs4/bin/python2.7 """ Read TFLOC output from stdin and write out a summary in which the nth line contains the number of sites found in the nth alignment of the input. TODO: This is very special case, should it be here? """ import sys counts = dict() max_index =...
[ "najoshi@ucdavis.edu" ]
najoshi@ucdavis.edu
faca3454ea8e5ef085d51b10cd0682189d8ba530
73bb5749637e4f3bc8f29508391877ec3344eb6d
/src/lib/tftpy/TftpPacketFactory.py
b47bcd3ef57696496ad4c5e7cc3f2eb7dad7b6ec
[]
no_license
szwchao/fw_upgrader
0dc0270054ef9a706d57475d41be47eec27c8147
21a60aa63e9688cdfac73669f54d2d27768ae8ce
refs/heads/master
2021-01-21T13:14:34.755569
2016-04-25T03:26:49
2016-04-25T03:26:49
51,683,499
0
0
null
null
null
null
UTF-8
Python
false
false
1,450
py
"""This module implements the TftpPacketFactory class, which can take a binary buffer, and return the appropriate TftpPacket object to represent it, via the parse() method.""" from .TftpShared import * from .TftpPacketTypes import * class TftpPacketFactory(object): """This class generates TftpPacket objects. It i...
[ "szwchao@gmail.com" ]
szwchao@gmail.com
8554d0561f42c7a4a38e78c7ce07b9a2aa09336a
e0efec4ff0fb4e4e1b6a37d6157719fd3799b14f
/src/data.py
ac511250f2c8fc71bbb289888a97d14ddd33d907
[ "MIT" ]
permissive
vamsi3/pix2pix
ab85b2c62a005c8a954668220fb5586c86a1f518
379577417d7b7e5141147ad66db7a1cede27debe
refs/heads/master
2020-05-19T14:43:36.140912
2019-05-06T09:53:48
2019-05-06T11:24:55
185,066,425
2
2
null
null
null
null
UTF-8
Python
false
false
3,950
py
import os import random from torch.utils.data import Dataset, DataLoader from torchvision import transforms from PIL import Image class Pix2PixDataset(Dataset): def __init__(self, root, invert=False, transform=None, device=None): super().__init__() self.root = root self.invert = invert ...
[ "vamsi.1999@outlook.com" ]
vamsi.1999@outlook.com
411bd049e67d923c60ea0feb3624ea38d0df9624
63ce91bae5eeadf885262b8fe0e769a64454d257
/models/se_resnet.py
c72e3972b948675e500da05f177dd64992d0e48e
[ "Apache-2.0" ]
permissive
Data-drone/cv_experiments
c7349e7808f7f9c1315ce1efe33be1f86f4a9f80
d6e1d9716c03a9165e3d8a08f4cc1287323a56ca
refs/heads/master
2021-06-26T04:33:10.079771
2021-01-19T11:40:30
2021-01-19T11:40:30
196,596,871
0
0
null
null
null
null
UTF-8
Python
false
false
10,701
py
### SE Layer from: https://arxiv.org/abs/1709.01507 # based on: https://github.com/moskomule/senet.pytorch/blob/master/senet/se_resnet.py import torch.nn as nn from torch.hub import load_state_dict_from_url from torchvision.models import ResNet from .se_module import SELayer # need adapt to Torchvision style calls t...
[ "bpl.law@gmail.com" ]
bpl.law@gmail.com