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
0e9fc8acc9e665f358306e77d53a34064d1e86ec
7d02f1f6b38284d647caa77d148505b8d8f89fb4
/flask/loinc_service.py
f8c2a259211c9137439086a8778c032a49e279cf
[]
no_license
sfogo/rest-ways
22e79ac621538028da8e0b81443d5bd3fb2459d3
bfd7a6f0aa4d83a9077584ef74f29618c1b32045
refs/heads/master
2020-12-25T15:18:05.532394
2016-09-17T23:34:23
2016-09-17T23:34:23
66,242,994
0
0
null
null
null
null
UTF-8
Python
false
false
1,230
py
#!/usr/bin/python3 import sql_service as service # ===================== # LoincException # ===================== class LoincException(Exception): def __init__(self,code,status,message): Exception.__init__(self,message) self.code=code self.status=status def __str__(): return '{...
[ "o@gorostis.net" ]
o@gorostis.net
d608a0cf8b8a9c849b83ab55e2264e12e37f0771
f8a010ac8a9f9689b22d18f50a3e23d5d695b0e1
/Modeling/FitSeqPredModel.py
fcd4e4d709f422b2fb3120cce5f4dabcff0b0948
[]
no_license
janesunflower/SpatioTemporalPredictiveModeling
79cb81931075165e32d131d3e00681adcdea6785
f28a481550ca54b79ebc124ca77adfcf4ec28b7f
refs/heads/master
2020-03-22T19:08:55.835039
2017-08-09T22:02:48
2017-08-09T22:02:48
null
0
0
null
null
null
null
UTF-8
Python
false
false
10,671
py
#!/usr/bin/env python2 # -*- coding: utf-8 -*- """ Created on Wed May 10 09:43:54 2017 @author: xiaomuliu """ import numpy as np #from sklearn import preprocessing from sklearn.pipeline import Pipeline from sklearn import preprocessing #NOTE: scikit learn v0.18 changed 'cross_validation' module and 'grid_search' modu...
[ "xiaomuliu@gmail.com" ]
xiaomuliu@gmail.com
72c66855914d9adbb005f2d70feed5876d242f5d
a2a23feb46da7f30d9910878fcbd3146bfb51696
/simutool/scVI/scvi_imputation.py
85eb457ae42bffb194bd1bbdd290bc5455d72dbe
[ "MIT" ]
permissive
JunLiuLab/SIMPLEs2020
7e9a9b552b0501cc2fe5035584fdc85c10b1b1fd
90e6aa1e254b81fd81f2211b3fdfb552270d76fe
refs/heads/master
2022-11-21T20:38:50.044833
2020-07-24T18:06:59
2020-07-24T18:06:59
274,720,088
0
0
null
null
null
null
UTF-8
Python
false
false
1,878
py
import argparse import torch import numpy as np import pandas as pd from pyprojroot import here from pathlib import PosixPath from scvi.dataset import CsvDataset from scvi.models import VAE from scvi import set_seed from scvi.inference import UnsupervisedTrainer, load_posterior # * commons set_seed(0) # ** data nce...
[ "zsp07@tsinghua.org.cn" ]
zsp07@tsinghua.org.cn
c3f930a57f742244a509c73f88c22f23c4c54e86
53e1cfd01f4fb6ff6160b5292c471a3d77a48660
/python/PyMOTW-2.0.1/PyMOTW/asyncore/asyncore_http_client.py
1dc2f6ad29a731144b7d470a057f592bef0002d7
[ "BSD-3-Clause", "LicenseRef-scancode-unknown-license-reference", "LicenseRef-scancode-other-permissive", "LicenseRef-scancode-warranty-disclaimer" ]
permissive
MarkTseng/mySampleCode
446df156c14c04519fbfdad933ef3e04fb1d4e04
e3c4c8589b634dc2b26681b5c2c704a39665a280
refs/heads/master
2022-06-04T08:28:49.317400
2020-06-12T07:23:32
2020-06-12T07:23:32
7,599,118
10
10
null
2022-05-14T00:31:27
2013-01-14T05:45:34
C
UTF-8
Python
false
false
2,145
py
#!/usr/bin/env python # encoding: utf-8 # # Copyright (c) 2009 Doug Hellmann All rights reserved. # """ """ __version__ = "$Id$" #end_pymotw_header import asyncore import logging import socket from cStringIO import StringIO import urlparse class HttpClient(asyncore.dispatcher): def __init__(self, url): ...
[ "mark.tseng@realtek.com" ]
mark.tseng@realtek.com
1268bbb90ae4972ef8895f051afd048acf92532e
712729bfe3125fc149309b2436729f6cfd13b82b
/while/walking.py
fd4986df1f9348c1dd4354432253c3a4868429c7
[]
no_license
borko81/basic_python_solvess
61d29270fed7cccbac0e7654936d29811eb62a26
858ec7a520ee3df006e67c352dc198b783e8433e
refs/heads/master
2022-12-29T04:18:26.441928
2020-07-17T08:04:47
2020-07-17T08:04:47
278,708,725
0
0
null
null
null
null
UTF-8
Python
false
false
452
py
goal = 10000 total_steps = 0 while True: step = input() if step == 'Going home': step = int(input()) total_steps += step break else: total_steps += int(step) if total_steps >= goal: break if total_steps >= goal: print(f"Goal reached! Good ...
[ "noreply@github.com" ]
noreply@github.com
c49f884ff1e502534a0cbabe7633c2134b201d34
b391498124fdcaef989bf3ebafffb0df43e3e07f
/pygccxml-0.8.2/unittests/declarations_cache_tester.py
10112018fdfee5e022b785ec191dc8df82e502cb
[ "BSL-1.0" ]
permissive
glehmann/WrapITK-unstable
9a0dd9d387ecd59c9439465dcc32cca552e14576
402fc668f1f3c3dd57d0751a61efa3b1625d238b
refs/heads/master
2021-01-10T22:02:04.715926
2008-05-25T16:53:07
2008-05-25T16:53:07
3,272,767
0
0
null
null
null
null
UTF-8
Python
false
false
6,319
py
# Copyright 2004 Roman Yakovenko. # Distributed under the Boost Software License, Version 1.0. (See # accompanying file LICENSE_1_0.txt or copy at # http://www.boost.org/LICENSE_1_0.txt) import os, sys, unittest, os.path import autoconfig import pygccxml.parser from pygccxml.parser.config import config_t from...
[ "gaetan.lehmann@jouy.inra.fr" ]
gaetan.lehmann@jouy.inra.fr
11d173e2e009317f099e646a9d101c71ae82a9b9
519b4cf7623c40e0280c435246b6cde46853ecc1
/project/holviapp/utils.py
d731848e8107fe128a56275bbd33d4b1a41ef18a
[ "MIT" ]
permissive
HelsinkiHacklab/asylum
a3fe492f76145c922125949c41acce6e8d4beec4
6fcf71fb5c7bb894322039144e814b9edc07d5bb
refs/heads/hhl_changes
2023-02-16T18:54:17.277017
2021-08-13T17:59:46
2021-09-13T17:45:45
47,038,401
1
1
MIT
2023-02-03T13:22:48
2015-11-28T20:28:58
Python
UTF-8
Python
false
false
2,574
py
# -*- coding: utf-8 -*- import holviapi import holvirc from django.conf import settings CONNECTION_SINGLETON = None def apikey_configured(): """Check if we have apikey""" return bool(settings.HOLVI_POOL) and bool(settings.HOLVI_APIKEY) def userauth_configured(): """Check if we have username/password"""...
[ "eero.afheurlin@iki.fi" ]
eero.afheurlin@iki.fi
41f0af239f27689911e24f4c57d69fae46c3a7c8
5dd841ec5b6e4b9a474b67d1f62843297d8b9073
/frameworkutils/baseutils.py
325cba9a25b866c19987568a879e9afa62afb9d5
[]
no_license
Evading77/all_auto_testing
9bf6036600d5cbc9285da182f1bb5cbb19473e50
627f5867d483dda2acc08192a6f140cdf27a5f36
refs/heads/master
2022-11-29T17:56:55.002675
2020-08-04T04:57:42
2020-08-04T04:57:42
284,881,109
0
0
null
null
null
null
UTF-8
Python
false
false
1,014
py
# 数据驱动运行 import inspect from frameworkutils import logger def getfunc(obj, method): """ 反射获取函数和参数列表 :param obj: 对象 :param method: 方法名 :return: """ try: func = getattr(obj, method) except Exception as e: return None arg = inspect.getfullargspec(func).__str__() ...
[ "eva_ding77@126.com" ]
eva_ding77@126.com
c15d4b3566815e61f9fc93ba6b974c34f358c170
e2ad93398194942c13c27b25aa868eda4ff4f46c
/sponsortracker/download.py
987305d12d281d57363d875f7b84883ec45f917e
[]
no_license
Auzzy/bfig-sponsor-tracker
ab2fbcf6ba562f977263b5f91c3aca756e037302
cff466de6797ea276130335bdc368c706eed583d
refs/heads/master
2023-06-01T04:41:26.082120
2023-05-11T11:52:11
2023-05-11T11:52:11
25,780,177
0
0
null
2023-05-11T11:52:12
2014-10-26T16:14:46
Python
UTF-8
Python
false
false
2,989
py
import collections import os import shutil import tempfile from enum import Enum from os.path import exists, expanduser, join, splitext from sqlalchemy import or_ from sponsortracker import model, uploads from sponsortracker.data import AssetType, Level ZIPNAME = "sponsortracker-assets" def all(level=None): re...
[ "metalnut4@netscape.net" ]
metalnut4@netscape.net
25be6302bd9150151560453a17906af226789f01
904b0d81152649ccd3349f94f88e7b89a7b5c76a
/scripts/main/xicombNS_DA02.py
e2f17c6818b725c4127a2e6be411fb79ee8c98bd
[ "BSD-3-Clause" ]
permissive
desihub/LSS
ec33538a0e7280ad1c6b257368cc009ed4b39cbb
5645461929172d327ed30389d76e7e887043c9bf
refs/heads/main
2023-08-18T23:17:13.123605
2023-08-18T20:08:22
2023-08-18T20:08:22
36,753,969
14
28
BSD-3-Clause
2023-09-13T18:37:35
2015-06-02T18:42:51
Jupyter Notebook
UTF-8
Python
false
false
1,710
py
#!/usr/bin/env python # coding: utf-8 import os import argparse import logging import numpy as np from astropy.table import Table, vstack from matplotlib import pyplot as plt from pycorr import TwoPointCorrelationFunction, TwoPointEstimator, KMeansSubsampler, utils, setup_logging njack = '60' trs = ['ELG_LOPnotqso'...
[ "ashley.jacob.ross@gmail.com" ]
ashley.jacob.ross@gmail.com
cc7c49501e786cd44d771aaabe8b71a5c0506d1f
46a27b193308641d6029a11361a8d52389a2a405
/upstream_extract.py
fdddc4e69972af6d37d468693b680a914b46760a
[]
no_license
ahtmatrix/bioinformatics-scripts
702c28e6717f78f982b6572db248f2041118b988
dd3762f7b5c8bbf9ec64a9faa861036342a54392
refs/heads/master
2022-11-29T06:52:29.556297
2020-08-15T23:20:41
2020-08-15T23:20:41
68,765,824
0
0
null
null
null
null
UTF-8
Python
false
false
5,279
py
import sys import os from Bio import SeqIO from Bio.SeqRecord import SeqRecord from Bio.SeqFeature import SeqFeature, FeatureLocation from Bio import pairwise2 import warnings from Bio import BiopythonWarning # Usage # python SeqExtract.py [number of bases upstream to cut] # to combine multiple .gbk files into 1 gbk ...
[ "alan.han.tu+c9@gmail.com" ]
alan.han.tu+c9@gmail.com
32e57294391a73d29a78726cd72289198fc7ad3b
1a25b59f0b459e90505cca5e7bf0764928c66aa7
/src/simulator/dstructures/binning.py
39597c70186f59cb9cd5c62fe3a0de77c88b071a
[ "MIT" ]
permissive
hd818/htc-cache-system-simulator
ca104c201ed76e964a44f8a3a3ebc4ab7a5b0b60
ee502db3f1c2b99ffe05ee609a18069b583798da
refs/heads/master
2023-03-23T03:23:41.352685
2020-12-10T18:58:45
2020-12-10T18:59:20
null
0
0
null
null
null
null
UTF-8
Python
false
false
7,329
py
import abc import itertools from typing import Callable, cast, Generic, Iterable, Iterator, List, Mapping, Set, Tuple, TypeVar from .sorted import SortedDefaultDict # TODO: Binner could also handle floats (numbers, limits) class Binner(abc.ABC): @property @abc.abstractmethod def bounded(self) -> bool: raise No...
[ "paul@skopnik.me" ]
paul@skopnik.me
648c96dc4e0b5288371503c57fbba9f47aad8f9b
10cf8b015b4635f42738a3ef72b7ded225bf3ca2
/vortexasdk/version_utils.py
599c9d0e1e2e0355b6a33f24a575847f371afdf1
[ "Apache-2.0" ]
permissive
minjeonglim/python-sdk
ac93237d9088b121a2389ab31943f680990e0eaa
097948194e91a760f4c788eb33838d9f1a4402e7
refs/heads/master
2023-02-11T22:00:05.598784
2021-01-07T16:32:54
2021-01-07T16:32:54
null
0
0
null
null
null
null
UTF-8
Python
false
false
932
py
import json from urllib.request import urlopen from distutils.version import StrictVersion from vortexasdk import __name__ as sdk_pkg_name from vortexasdk.version import __version__ def get_latest_sdk_version() -> str: """Retrieves the latest SDK version from PyPI.""" url = f"https://pypi.python.org/pypi/{sdk...
[ "kitburgess" ]
kitburgess
fd4f34bd37a1850cebf63349ded69eb7dacdc2d9
12b54eef11d2e2e3147915c707c825c37e5ee544
/env/bin/mako-render
46ce75f9faf4e3e4fe9a61fd02e1e9d099f78ab3
[]
no_license
EugeneKalentev/bfg-test
a23f39323ed34cbd5f1a2687b9811f7568211c1f
c7888402f1c580fd00a94c3d1c129b13200ee3c2
refs/heads/master
2020-04-23T11:25:55.221355
2019-02-23T11:04:08
2019-02-23T11:04:08
171,136,430
1
0
null
null
null
null
UTF-8
Python
false
false
260
#!/home/eugenekalentev/Documents/Code/bfg_test/env/bin/python3 # -*- coding: utf-8 -*- import re import sys from mako.cmd import cmdline if __name__ == '__main__': sys.argv[0] = re.sub(r'(-script\.pyw?|\.exe)?$', '', sys.argv[0]) sys.exit(cmdline())
[ "EugeneKalentev@gmail.com" ]
EugeneKalentev@gmail.com
de46df2be6af9a35d357df2cea39df16a0a578d4
6ee84906510c5b1664706a7f1e3c0725b721e18b
/src/ebml.py
31d172cef5bf16b0f7889fd9597ad6862b4ce794
[]
no_license
mt-hayashida/ebml
6848ed9f4bf95461c044d87543606c2ea097e594
2bd15705d61fe2df2f13b7d1a234781572eb308e
refs/heads/master
2020-12-15T07:44:04.773875
2015-02-14T17:15:53
2015-02-14T17:15:53
null
0
0
null
null
null
null
UTF-8
Python
false
false
64,310
py
# Imports import re, sys, math, struct, datetime; version_info = ( 1 , 0 ); # Multi versioning if (sys.version_info[0] == 3): # Version 3 def py_2or3_byte_to_int(value): return value; def py_2or3_int_to_byte(value): return bytes([ value ]); def py_2or3_intlist_to_bytes(value): return bytes(value); def py_...
[ "nutbread@users.noreply.github.com" ]
nutbread@users.noreply.github.com
4d64347ffa03e103de068e66bc946d0999ccfce2
436051d199fcc323a422b7fea377f43c01004366
/helpers/labml_helpers/metrics/simple_state.py
2a6575141ce8871da42ebc4cbb7b596e62453fdb
[ "MIT" ]
permissive
xet7/labml
29d411b94f1d6b9ff03c6033f510cea443d38248
7f3918ca7de8cb21cf6dcc9d127a6ea64c0aebb9
refs/heads/master
2023-08-18T10:03:13.142430
2021-07-18T11:11:42
2021-07-18T11:11:42
387,184,226
0
0
MIT
2023-08-11T20:01:39
2021-07-18T13:36:49
null
UTF-8
Python
false
false
813
py
from typing import Generic, TypeVar, Optional from . import StateModule T = TypeVar('T') class SimpleState(Generic[T]): state: Optional[T] def __init__(self): self.state = None def get(self) -> T: return self.state def set(self, data: T): self.state = data def reset(s...
[ "vpjayasiri@gmail.com" ]
vpjayasiri@gmail.com
98495503813fe7144d1b3df53d36140cbd69d039
55822b50e88d0627776864ed43325eec5d03d957
/playGame.py
8e94f04973064bf3fc3226180bcd315cc28c230e
[]
no_license
badman27/MTG-Game-Python-Final-Project
83a2092f60a2ab1e6a129364bf89a3ea2bdf0eaa
8590677c7a18da640b32abc91c6c743d1094045a
refs/heads/master
2020-04-09T21:20:45.120286
2018-12-14T20:21:18
2018-12-14T20:21:18
160,599,287
0
0
null
null
null
null
UTF-8
Python
false
false
375
py
import gameBoard import playerLib import buildDecks import cardEffects from urllib import request board = gameBoard.Board() player1 = playerLib.Player("Player1") computer = playerLib.Player("Computer") player1.initialDraw() computer.initialDraw() board.displayLife(player1) board.displayLife(computer) board.drawImage...
[ "30854558+badman27@users.noreply.github.com" ]
30854558+badman27@users.noreply.github.com
91a64805557e29b680b1300121cddd217db78eef
e42a61b7be7ec3412e5cea0ffe9f6e9f34d4bf8d
/a10sdk/core/aam/aam_authentication_portal_logon_fail.py
60ee400259987e360a04045658049f18c4e87e9f
[ "Apache-2.0" ]
permissive
amwelch/a10sdk-python
4179565afdc76cdec3601c2715a79479b3225aef
3e6d88c65bd1a2bf63917d14be58d782e06814e6
refs/heads/master
2021-01-20T23:17:07.270210
2015-08-13T17:53:23
2015-08-13T17:53:23
40,673,499
0
0
null
2015-08-13T17:51:35
2015-08-13T17:51:34
null
UTF-8
Python
false
false
8,059
py
from a10sdk.common.A10BaseClass import A10BaseClass class FailMsgCfg(A10BaseClass): """This class does not support CRUD Operations please use parent. :param fail_font_custom: {"description": "Specify custom font", "format": "string-rlx", "minLength": 1, "maxLength": 63, "not": "fail-face", "type": "stri...
[ "doug@parksidesoftware.com" ]
doug@parksidesoftware.com
fe8087783d56301fddb861866779ab604a5e83f6
4e5cdffa14c8404d836dc9f034cbbf34a86c7503
/src/api/urls.py
9113ef4c4d5780858faf92eee0a13749d97d0775
[]
no_license
gtdata/publish_data_alpha
da1cf013a5b2c7290d0af7a48d43adc90e301f3f
f1a9753daac7fbe8cc5bed5f30b8601c781449ab
refs/heads/master
2021-01-20T03:03:36.303264
2017-04-18T11:49:29
2017-04-18T11:49:29
null
0
0
null
null
null
null
UTF-8
Python
false
false
681
py
from django.conf.urls import url, include from rest_framework import routers import api.views as v import api.api_def as a urlpatterns = [ url(r'locations$', v.gazeteer_lookup, name='gazeteer_lookup'), url(r'^datasets$', v.dataset_lookup, name='dataset_lookup'), url(r'^status', v.StatusEndpoint.as_view()...
[ "ross@servercode.co.uk" ]
ross@servercode.co.uk
89494d606152fc377c552c22f50b2423e447ab6e
c9b562e31618417aa727d8f3da16604cc79e7cb1
/tajna.py
4238899752735dd56165b4eb3c0abbbea63cc7ea
[]
no_license
AlexKohanim/ICPC
6922a9929a665b9ee8442f1e2355b8a0546c77ad
f22eaa63a1ac6cae6857e442c776f1b59542ed92
refs/heads/master
2022-01-27T07:49:19.480130
2022-01-18T05:39:58
2022-01-18T05:39:58
159,398,358
0
0
null
null
null
null
UTF-8
Python
false
false
295
py
#!/usr/bin/env python3 message = input() val = len(message) factors = [(i, val // i) for i in range(1, int(val**0.5)+1) if val % i == 0] i,j = factors[-1] #print(i,j) k = 0 l = 0 while l < val: if k >= val: k = (k+1) % val print(message[k], end="") l += 1 k += i print()
[ "alexkohanim@gmail.com" ]
alexkohanim@gmail.com
5c08f2fcba52da2a82e6bd84da49a9d6dedfab31
c32f2e1f3d9c1e556f58c7876abcf7943b7f8f9f
/envs/pybulletenvs.py
f47e70a83d9002859d335f141c98ee9f1dd42aba
[]
no_license
matthewlujp/drl_in_handful_of_trials
00d2f265777e8cf1cb26e12cca25257c8c2a0d4a
aed77881eb76bafc2f880f7d90116cb0696254e2
refs/heads/master
2022-11-05T11:31:26.463080
2020-06-21T04:12:39
2020-06-21T04:12:39
273,715,168
0
0
null
null
null
null
UTF-8
Python
false
false
1,786
py
import gym import pybullet_envs # Environments in pybullet PYBULLET_ENVS = ["CartPoleBulletEnv", "CartPoleContinuousBulletEnv", "MinitaurBulletEnv", "MinitaurBulletDuckEnv", "RacecarGymEnv", "KukaGymEnv", "KukaCamGymEnv", "KukaDiverseObjectEnv"] PYBULLET_ENVS_DEEPMIMIC = ["HumanoidDeepMimicBackflipBulletEnv", "Humano...
[ "matthewlujp@gmail.com" ]
matthewlujp@gmail.com
b830c5da546adf700dc6f5bf2e732a222d1e10e7
14f217c46834fc2fd40b516e189094aa0c0de2f6
/Model Development/Linear Regression/predict.py
1304da67b9422a1657ec36b2f2c889702e74d44b
[]
no_license
Sumyak-Jain/Data-Analysis
bb3cdb4f6bac37481abe26d79b1f9a30f70e711c
fb18f0608c121ab6f2d0853de9eae0d4e335876b
refs/heads/master
2022-11-13T13:02:24.531152
2020-07-10T21:04:35
2020-07-10T21:04:35
193,383,707
1
0
null
null
null
null
UTF-8
Python
false
false
502
py
# We will predict car price using highway-mpg by making a linear regression model import pandas as pd import numpy as np import matplotlib.pyplot as plt from sklearn.linear_model import LinearRegression url = 'https://s3-api.us-geo.objectstorage.softlayer.net/cf-courses-data/CognitiveClass/DA0101EN/automobileEDA.csv' ...
[ "noreply@github.com" ]
noreply@github.com
ed33a50324b7e3a5eecebca1a2b58fcd87538545
97fde6e1ee2c63d4359a005a8a17db87559dd3eb
/api/models.py
44c72a280c9cf023ae7be9d686aecd138860d6d2
[]
no_license
Bibin22/Book_project
6f6d0cce452e0298d16676425eeb2f77e915c3e5
9884363927e6b3b559d43a6ead584f1741b54370
refs/heads/master
2023-03-31T21:36:02.594431
2021-03-24T07:15:46
2021-03-24T07:15:46
350,402,169
0
0
null
null
null
null
UTF-8
Python
false
false
311
py
from django.db import models # Create your models here. class Book(models.Model): book_name = models.CharField(max_length=120, unique=100) price = models.IntegerField() pages = models.IntegerField() author = models.CharField(max_length=100) def __str__(self): return self.book_name
[ "bibinjoy82@gmail.com" ]
bibinjoy82@gmail.com
413a04b1b20c53420cc7512c3aa19b0036de4ad8
826c8c24b03a345c6bd293b08e44a5a435a40c6c
/7月租.py
d8f0c280ff1497a66f5ceb8730ef8aa2a332b2bd
[]
no_license
Asterisk0224/python20
4e47a05d7d299e2b5d7277ca465e2959ac6288ad
de16b385249c7dc690bb66265a0984f5d928e321
refs/heads/main
2023-04-16T13:45:01.087508
2021-05-03T08:56:54
2021-05-03T08:56:54
363,868,863
0
0
null
null
null
null
UTF-8
Python
false
false
546
py
a=int(input("輸入月租類型")) b=int(input("通話秒數")) if a == 186: if b *0.09 <= 186: print(round(b*0.09*0.9)) else: print(round(b*0.09*0.8)) elif a == 386: if b *0.08 <= 386: print(round(b*0.08*0.8)) else: print(round(b*0.08*0.7)) elif a == 586: if b *0.07 <= 586: p...
[ "Asterisk0224@gmail.com" ]
Asterisk0224@gmail.com
31da41a52c69e784f51eed56ad158f668b43f91e
14f027326e17da2aff631b932835184f4791bde7
/apps/home/migrations/0003_user_is_staff.py
f8bf99be80c43d4eb5594e018ef9da590eb8090a
[]
no_license
mohbadar/mohe-eform
d7f377e26c58f744946f58f2d3029cb99becd992
7590116ac238e798ba20967eb55f18099bf04d85
refs/heads/master
2022-11-09T19:23:14.356586
2020-06-29T05:49:34
2020-06-29T05:49:34
274,160,734
0
0
null
null
null
null
UTF-8
Python
false
false
384
py
# Generated by Django 3.0.7 on 2020-06-29 05:16 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('home', '0002_auto_20200629_0944'), ] operations = [ migrations.AddField( model_name='user', name='is_staff', ...
[ "mohammadbadarhashimi@gmail.com" ]
mohammadbadarhashimi@gmail.com
3d88c5133c882da1c4cccc6b1b0ca1a5eb0f8501
fe00d59cb37c0e6f8d1886a510573c55dae5df3a
/Scripts/data_population_scripts/populating_items.py
eb2ee846c0e46be8bfa8b8519253076807bc21d9
[ "MIT" ]
permissive
AbhinavS99/OnlineShop
76980ee5bb346b3dc74ea58c1d99788e4f4e38c6
47ea8bbb03aade88bccc4218b3f583181f1118f0
refs/heads/main
2023-03-01T14:23:18.676272
2021-02-05T22:21:06
2021-02-05T22:21:06
336,397,631
5
0
null
null
null
null
UTF-8
Python
false
false
1,602
py
import mysql.connector as sql db = sql.connect( host="localhost", user = "root", passwd = "himraj18", database = "project67" ) #populating items using this code attributes=[] attributes.append([1005,"Travel Bag","American Tourister","Bags",1525.00,15,'2020-03-01',None]) attributes.append([1006,"Coca Cola","Coca Co...
[ "noreply@github.com" ]
noreply@github.com
ecec82f7d6a458418140579021abfe8fd06af04d
d5934c0624095112533201ca748e035cf33e19c1
/CodeWars.py
cf1e344b5cb120c23316d6af8e874e87e7799ead
[]
no_license
waithope/codewars
b5bbb81193cb1b98830024c16b2470c5b0d070c9
315d9dca4e0163b03409a2d806ce0f809353a991
refs/heads/master
2020-03-14T15:49:17.211859
2018-05-10T04:30:40
2018-05-10T04:30:40
131,684,708
0
0
null
null
null
null
UTF-8
Python
false
false
12,745
py
# 0123456789 # 0########## # 1## ## # 2# # # # # 3# # # # # 4# ## # # 5# ## # # 6# # # # # 7# # # # # 8## ## # 9########## # rowCount = 10 # columnCount = 10 # for i in range(rowCount): # for j in range(columnCount): # if i == 0 or i == rowCount - 1 or j == 0 or \ # j == c...
[ "yunqiang.gan@gmail.com" ]
yunqiang.gan@gmail.com
c95324568f296efc07a2cfa96ee4b530fd963bd1
24a5edd8f77b24fdb1e68eb1cd908db0a3db6910
/constraints/jsonify.py
40f7aff9d116ccf1fc5d83c69204280e9942b308
[]
no_license
mjpost/sockeye-scripts
37abc540d836d3a218400bb404c5700b439df5a9
06f751bbabda47539282c7cba851add3857bbcbe
refs/heads/master
2021-06-27T23:11:02.125572
2020-05-18T15:04:23
2020-05-18T15:04:23
165,296,697
2
4
null
2019-03-20T20:18:04
2019-01-11T19:16:56
Python
UTF-8
Python
false
false
3,869
py
#!/usr/bin/env python3 import argparse import random import json import sys import apply_bpe from sacrebleu import extract_ngrams parser = argparse.ArgumentParser() parser.add_argument('--bpe', default='model/bpe.model') parser.add_argument('--first-word', '-f', action='store_true', default=False) parser.add_argument...
[ "post@cs.jhu.edu" ]
post@cs.jhu.edu
3c47a1aef5e90399748239f82621812402b29976
ff5bdeba3c451a8eeaf5caa6782ffa862c32986a
/measure-of-geometric-mean/index.py
5a4d46f17d21331390b7876806ed6eddb147eca5
[]
no_license
gregogalante/python-exercises
65e02267f9409ba19d9484ce260c71b8136d04d0
fd254ab5e7a0d049d20678a2a3f4759f01169970
refs/heads/master
2021-09-05T14:04:18.050713
2018-01-28T15:03:28
2018-01-28T15:03:28
115,612,388
1
0
null
null
null
null
UTF-8
Python
false
false
269
py
import numpy results = [1, 1, 2, 4, 2, 3, 5, 5, 3, 1, 2, 4, 5, 1, 2, 2, 1, 5, 4, 4, 3, 3, 3, 5] num_items = len(results) product = 1 for result in results: product *= result geometric_mean = product**(1./num_items) print 'the geometric mean is:', geometric_mean
[ "gregogalante@gmail.com" ]
gregogalante@gmail.com
8fd04813872bbf94e8bd5b6b62e9db65d869052c
63d6ca49d6f919daa87d098e70fd0fccbb6d84cf
/environments/environments.py
6756536a30f327c50113dff0f458ca5b41ecd5bd
[ "MIT" ]
permissive
vpj/reproduceRL
dac2bde9986647e1c4b0b09c7021ffda2b2e5998
2db00b4d1f6c9c88029a7f06458f4b93e1b72a8d
refs/heads/main
2023-07-13T15:22:49.040609
2021-08-15T05:21:49
2021-08-15T05:21:49
null
0
0
null
null
null
null
UTF-8
Python
false
false
6,091
py
import numpy as np import random import os import sys file_dir = os.path.dirname(__file__) sys.path.append(file_dir) try: import roboschool except ImportError: print('Running without using roboschool') from terminations import choose_model #This file provide environments to interact with, consider actions as ...
[ "yangchenpan@Yangchens-MacBook-Pro-2.local" ]
yangchenpan@Yangchens-MacBook-Pro-2.local
78bd4e389fb95e95994e1cb52f8d7458c546663d
d4bf03dc7954f1c53af27ace10a2fe191fb2cc5b
/face_detection.py
3af501672d39d567ad6d4d15c7dced0764150b03
[]
no_license
doctorai-in/wear_face_mask
76c39661afdadcc14d3e6012921cf40262c12976
da9625084f08ff0c9be8e43c2d76a2162cab311c
refs/heads/master
2023-03-08T14:04:12.449732
2021-02-25T04:05:54
2021-02-25T04:05:54
274,853,859
0
0
null
null
null
null
UTF-8
Python
false
false
3,919
py
""" Copyright (c) 2018 Intel Corporation Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writin...
[ "ankit.ankit.jain@jci.com" ]
ankit.ankit.jain@jci.com
c9564de1d32f486071f2b000dcece402f183afbd
d5a551f64cf8cc639bffb17c33601c60244ad9c8
/cogs/filter.py
58632997c02ef870432d87792f6af078af480daf
[]
no_license
IAmJSD/6thBot
413dae1a306fd08978ebba0920c6b5dad258c96b
c566816d036a0e0b8bed11bcfba857e50b85c2b9
refs/heads/master
2023-06-11T11:04:22.401997
2020-04-29T19:27:39
2020-04-29T19:27:39
null
0
0
null
null
null
null
UTF-8
Python
false
false
10,889
py
from discord.ext import commands from discord import Member, Guild, Message, NotFound, TextChannel, Embed, Role from asyncio import sleep from util.timeformatter import highest_denom from typing import Union class Filter(commands.Cog): def __init__(self, bot): self.bot = bot def get_filter_time(self,...
[ "keegan.rimmington@gmail.com" ]
keegan.rimmington@gmail.com
fd4944e28d71feb649a5cf7ba6494d381443c167
a241e1e06d3413663ba1a2cb0eb490fb5be552d7
/perm_mgmt/admin.py
da094891e2f70f2ecfc323c406995f7138669301
[]
no_license
arjunpkishore/pdom
7477a034665094d62f144b37e2a9475a7b36845f
7a885f67945cffca66aca062afaf0d3f45063e6d
refs/heads/master
2020-04-16T12:09:29.084341
2019-01-18T13:20:53
2019-01-18T13:20:53
165,566,706
0
0
null
null
null
null
UTF-8
Python
false
false
308
py
# -*- coding: utf-8 -*- from __future__ import unicode_literals from django.contrib import admin from .models import Request_Targets, Access_Requests, Permission_Api admin.site.register(Request_Targets) admin.site.register(Access_Requests) admin.site.register(Permission_Api) # Register your models here.
[ "arjunpk.fb@gmail.com" ]
arjunpk.fb@gmail.com
a565e6dd44d40803907b8fa728a63533b9d28037
d0e8e1de51aef388f89eebf9ba704f8755f86df8
/BayesianGPLVM.py
4417fa93ba513d4ec2e627566e43b5fc9d76e4a3
[]
no_license
blutooth/gp
6fb8dea0260d4f170646c9c3128005c58f2ab5d7
893e62519a3e76879dee6a469ce8713da4e3d6e8
refs/heads/master
2021-01-19T00:59:54.193541
2016-08-04T10:47:32
2016-08-04T10:47:32
59,915,950
0
0
null
null
null
null
UTF-8
Python
false
false
1,498
py
import tensorflow as tf import helper as h import numpy as np # NB SIgmA_Y is sqrt s=None def set(Sess): global s s=Sess def printer(): print(s.run(matrix_determinant)) def Bound1(y,S,Kmm,Knm,Tr_Knn,sigma): #matrices to be used Kmm_chol=tf.cholesky(Kmm) sig_2=tf.square(sigma) N=h.get_dim(y,0)...
[ "maximilian@live.co.uk" ]
maximilian@live.co.uk
34c86687e3422730fe1c5f01255a0144f790b97e
95ad4e4c6c57ce42d0b17c42623d3a042e6f8269
/doc/conf.py
2334998b25b434a9008fbae2cfe867919707f5fc
[ "Apache-2.0" ]
permissive
zhaobin74/cosima-cookbook
e35c19726b35acc7644dffddd7185b1d1d3f2146
ffd8a2cd0aa4131816119487137f5c8bd664a50e
refs/heads/master
2021-01-02T09:06:51.915465
2017-08-10T15:51:36
2017-08-10T15:51:36
99,145,230
0
0
null
2017-08-02T17:46:06
2017-08-02T17:46:05
null
UTF-8
Python
false
false
5,413
py
#!/usr/bin/env python3 # -*- coding: utf-8 -*- # # cosima documentation build configuration file, created by # sphinx-quickstart on Mon May 29 02:03:50 2017. # # 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 # aut...
[ "jmunroe@mun.ca" ]
jmunroe@mun.ca
626b6c86aaba310b53452ab321b0ff06147b5b84
fac7b312d36edaec6b08a8e2378c5826ef8e98ef
/python-scripts/geokit_py/cvat/main.py
210e4148d9abadc9ae6943679e407c9e33719dc1
[]
no_license
developmentseed/geokit
f8a23c5e7862ca86a497cf9f64ad5b71fc95a9a0
00169304afae3a10ad327f2b76ed43430f0b53a9
refs/heads/develop
2023-07-19T11:46:06.637119
2023-04-05T18:46:30
2023-04-05T18:46:30
118,031,551
32
2
null
2023-08-31T14:34:27
2018-01-18T20:00:37
Python
UTF-8
Python
false
false
4,201
py
""" Script for cvat module Author: @developmentseed """ import click @click.group(chain=True) def cli(): """An Awesome doc.""" # click.echo(click.style("========= CVAT =============", fg="green")) pass @cli.command("intersectionbox") @click.option( "--in_file", required=True, type=str, help="Path t...
[ "fmjg21@gmail.com" ]
fmjg21@gmail.com
3ee4226a57e629dff06434b02a515df94fbf91d7
be4a0bf1adfd7036130084dd7cdad06b2f0b8135
/origin_generate/services_TrafficMatrix_generation.py
f5c08a7db6e589cd968de55e50af5ea5a4323678
[]
no_license
daya0576/140512_vm_placement
9b6e85088085f52e1cde2dd520e60c0ef68ad057
f627a5151331d503abdc56c5a5aa1c2890b6ca6c
refs/heads/master
2021-05-16T05:29:33.642052
2017-01-01T12:05:25
2017-01-01T12:05:25
19,698,726
0
1
null
null
null
null
UTF-8
Python
false
false
2,254
py
import numpy as np import random as rnd import math import os,sys def GenTrafficMatrix(sourceFile,srvNum=50): srcMatrix = ReadFileIntoMatrix(sourceFile) dstMatrix = np.zeros((srvNum,srvNum)) node =1024 u = node/srvNum step = np.random.poisson(u,srvNum) count = 0 for s in step:...
[ "daya0576@gmail.com" ]
daya0576@gmail.com
38f8a82ad7be8445e39e2606e69599105e2c78c4
3e954a4e6dc7ab048ef01ed0e6d9a7ca903f0934
/pages/courses/register_courses_page.py
c877a9d5e85ba20eb40037341270dd51bdb50672
[]
no_license
harsh72sn2/selenium-python-framework
d3763d2df261926fe4ca6db0e0deda149fc8889f
cfb2dbb67cc292b3c4150e176ddee1c751168fe9
refs/heads/master
2022-11-12T22:21:43.443132
2020-07-06T19:11:55
2020-07-06T19:11:55
277,625,268
0
0
null
null
null
null
UTF-8
Python
false
false
3,062
py
import utilities.custom_logger as cl import logging from base.basepage import BasePage import time class RegisterCoursesPage(BasePage): log = cl.customLogger(logging.DEBUG) def __init__(self, driver): super().__init__(driver) self.driver = driver _search_box = "search_courses" _searc...
[ "harshsn72" ]
harshsn72
ee7a0f9a8194a37125dfa7ce2701c7f6b1da5b7c
b226ab6d84f76707b961b268e9b0fd9b6309c630
/image/image-corr4.py
c66de7aabe66d983211e7a36b236e25495c33417
[]
no_license
brycekelleher/pythondev
5f68aa2ec49f30e1019994db708694702edd157e
a505298d517bb3fe37bb4cfe594662d1cc9f8f50
refs/heads/master
2020-09-12T21:32:08.449270
2016-09-09T01:48:38
2016-09-09T01:48:38
67,559,247
0
0
null
null
null
null
UTF-8
Python
false
false
1,431
py
from scipy import signal from scipy import misc import numpy as np import matplotlib.pyplot as plt import Image from skimage.feature import match_template from scipy.ndimage import generic_filter im = Image.open("outfb31_render31-hw-broken.bmp").convert("L") data = np.array(im.getdata(), dtype='float32') data = data.r...
[ "bryce_kelleher@hotmail.com" ]
bryce_kelleher@hotmail.com
b68d2743352106871caf8d9b6a7eae7a0237fab5
3a4f14d6638bc0c12c129ed73c6c3543437203df
/src/morphforge/simulation/__init__.py
816c765420d8ed4ec98702b232f684d5e0c03a28
[ "BSD-2-Clause" ]
permissive
unidesigner/morphforge
ef04ccb3877f069a0feea72eb1b44c97930dac44
510cd86549b2c2fb19296da2d4408ed8091fb962
refs/heads/master
2021-01-15T22:34:28.795355
2012-04-05T08:55:12
2012-04-05T08:55:12
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,509
py
#------------------------------------------------------------------------------- # Copyright (c) 2012 Michael Hull. All rights reserved. # # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the following conditions are met: # # - Redistributions of sourc...
[ "mikehulluk@googlemail.com" ]
mikehulluk@googlemail.com
defd147ec57f50888e2a862cc79b2e4e99453437
3c000380cbb7e8deb6abf9c6f3e29e8e89784830
/venv/Lib/site-packages/cobra/modelimpl/cloud/listenerruleref.py
6093233a61cc528637a150a4cfdf201bb235a56f
[]
no_license
bkhoward/aciDOM
91b0406f00da7aac413a81c8db2129b4bfc5497b
f2674456ecb19cf7299ef0c5a0887560b8b315d0
refs/heads/master
2023-03-27T23:37:02.836904
2021-03-26T22:07:54
2021-03-26T22:07:54
351,855,399
0
0
null
null
null
null
UTF-8
Python
false
false
5,791
py
# coding=UTF-8 # ********************************************************************** # Copyright (c) 2013-2020 Cisco Systems, Inc. All rights reserved # written by zen warriors, do not modify! # ********************************************************************** from cobra.mit.meta import ClassMeta from cobra.m...
[ "bkhoward@live.com" ]
bkhoward@live.com
1718026ba7b52fb19dc9ba74929d4ec14c2cdb45
accd4af0482ed408fdeec50b5ed27b4c41ba3a0d
/rally_plugin/client.py
5bedf48ba5a145b834b1125e3b8911540b2cc09a
[]
no_license
dukhlov/omgbenchmark
f303cd8431e0481a9ee1111dbc4671176c4564f1
a323dde5c8ad153545611545e21e04872337a514
refs/heads/master
2020-05-02T12:29:01.860196
2015-11-19T12:46:21
2015-11-19T12:46:21
46,491,432
0
0
null
2015-11-19T12:41:06
2015-11-19T12:41:04
null
UTF-8
Python
false
false
1,433
py
import yaml import collections from oslo_config import cfg import oslo_messaging as messaging from oslo_messaging import rpc from scipy.stats import rv_discrete CLIENTS = None RANDOM_VARIABLE = None def setup_clients(rabbit_url, num_clients): clients = [] target = messaging.Target() for i in range(num...
[ "yportnova@mirantis.com" ]
yportnova@mirantis.com
14a4cf0fed81a36edaec8330aff017de86666dec
6bad53e54f4b868629794a62131462730b0ecbf1
/springboard_iogt/config.py
f44df8226484aa4038cedb1aa1cb6157205b57b8
[ "BSD-2-Clause" ]
permissive
universalcore/springboard-iogt
d8804c324f3340ec782684e7c70262a23da9889f
3da84e7a0bc7614bbca8662980a760a9854b5bbc
refs/heads/develop
2021-01-17T03:12:36.403376
2016-11-24T14:20:45
2016-11-24T14:20:45
36,012,824
0
0
null
2016-11-24T14:20:45
2015-05-21T12:57:56
Python
UTF-8
Python
false
false
814
py
def includeme(config): # add to springboard routes config.add_route('content_section', '/section/{slug}/') config.add_route('personae', '/persona/') config.add_route('skip_persona_selection', '/persona/skip/') config.add_route('select_persona', '/persona/{slug}/') config.add_route('about', '/abo...
[ "madandat@gmail.com" ]
madandat@gmail.com
2bd827102a1355c9aead1b1eb020b77fa82ca231
567efb7d752994602f0a9addf1809ae35ad84127
/health.py
84bc669120b1d2d1e2a23dadd5bcdc938efed8f4
[]
no_license
letItCurl/python3-starting
005b77ee866f4eb3a725d92fe77cee5fc8fc3001
ef5c83cc5b6ade1c3d6d747a935132f2ab83da48
refs/heads/master
2023-02-02T09:38:33.436409
2020-12-23T11:56:41
2020-12-23T11:56:41
299,830,752
0
0
null
null
null
null
UTF-8
Python
false
false
147
py
import random health = 50 difficulty = 1 potion_health = int(random.randint(25, 50) / difficulty) health = health + potion_health print(health)
[ "rolandlopez.developer@gmail.com" ]
rolandlopez.developer@gmail.com
d529977f8cee2ef5ef6d8932009728a58427c522
0b9220d43be4f05c893507c4b892b5ffe4eacbd6
/watsapp.py
ac7685970e68cc6d88d3f3f7eb6372c84a14a859
[]
no_license
mnjulacodes/Python_Fundas
4041de3d44ec6e8da82e5a0ff0040842e5119498
063d9f291b06b0f4b2b708252273da31884351c7
refs/heads/master
2022-03-13T07:59:04.286775
2018-08-06T19:48:04
2018-08-06T19:48:04
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,056
py
from selenium import webdriver from selenium.webdriver.support.ui import WebDriverWait from selenium.webdriver.support import expected_conditions as EC from selenium.webdriver.common.keys import Keys from selenium.webdriver.common.by import By import time # Replace below path with the absolute path # to chromedriver ...
[ "noreply@github.com" ]
noreply@github.com
d45d104bc9997277aca3114edda556a185d57ffe
4a720a1042c3ce7bcbb970d0eb16c5a14fb80fb9
/run_if_sunday_evening.py
baab82ccb1402945b822cd23ab4fb7be53fcbd81
[]
no_license
edwileshome/easyworship-song-history
ea1099b7e81bd64d5097295d2259ad1604a3c76c
8462acf0d7ac0950325b76c13e3dcd793f4991d2
refs/heads/master
2020-05-03T17:25:43.932576
2020-02-17T18:43:53
2020-02-17T18:43:53
33,076,376
0
0
null
null
null
null
UTF-8
Python
false
false
252
py
# Runs the song history uploader (main.py) if executed on Sunday from 7pm import main from datetime import datetime # If Sunday from 7pm, run the song history uploader now = datetime.now() if now.isoweekday() == 7 and now.hour >= 19: main.main()
[ "edward.wiles@gmail.com" ]
edward.wiles@gmail.com
2ef4a0004adef2101bd16724ef51e27c1704ae7e
66c3ff83c3e3e63bf8642742356f6c1817a30eca
/.vim/tmp/neocomplete/buffer_cache/=+home=+dante=+proyectos=+django-1.9=+veterinaria=+django_apps=+inventario=+forms.py
5d06e80f35674c63172312b5fc3cafbb30c00408
[]
no_license
pacifi/vim
0a708e8bc741b4510a8da37da0d0e1eabb05ec83
22e706704357b961acb584e74689c7080e86a800
refs/heads/master
2021-05-20T17:18:10.481921
2020-08-06T12:38:58
2020-08-06T12:38:58
30,074,530
0
0
null
null
null
null
UTF-8
Python
false
false
242
py
{'from', 'django', 'import', 'forms', 'models', 'Articulo', 'Categoria', 'class', 'ArticuloForm', 'ModelForm', 'Meta', 'model', 'fields', 'nombre', 'marca', 'codigo', 'estado', 'p_compra', 'p_venta', 'descripcion', 'avatar', 'CategoriaForm'}
[ "pacifi.bnr@gmail.com" ]
pacifi.bnr@gmail.com
81cba97cde3862faea4f1f2cdb6c404a9ca34ad2
a09a8400be13b027a3573a0c56fabcd247460341
/dailynotes/private/app/notes/migrations/0001_initial.py
810a7a53b299628bb0d1f79d399243ea447bc9a1
[ "LicenseRef-scancode-warranty-disclaimer" ]
no_license
teamteamdev/ugractf-2018
0d0c31d1fec600273e75cd1ddb39adaef8e101da
25f1c49e29ffeb7c60d5ed13eff461c83b921e01
refs/heads/master
2022-01-09T09:49:45.968053
2019-05-06T12:10:08
2019-05-06T12:10:08
136,600,388
2
0
null
null
null
null
UTF-8
Python
false
false
903
py
# Generated by Django 2.0.5 on 2018-05-14 06:48 from django.conf import settings from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): initial = True dependencies = [ migrations.swappable_dependency(settings.AUTH_USER_MODEL), ...
[ "root@nsychev.ru" ]
root@nsychev.ru
eb843c731be0b666ed15e8f34dc16710c1329ab2
b99ada31bb9351d9efc19cce25cbce9548b5798d
/examples/segmentation_3d/unet_evaluation_dict.py
5a906af138f25c10249c69ad627e910213fd2148
[ "Apache-2.0" ]
permissive
mhubii/MONAI
766b4623206066416167cc5cc387a073313aa646
e4b3c369de1c408ac0dbbbdfdfb133c453d114bc
refs/heads/master
2021-03-31T22:05:09.757191
2020-03-19T21:30:37
2020-03-19T21:30:37
248,135,127
0
0
Apache-2.0
2020-03-18T04:04:40
2020-03-18T04:04:39
null
UTF-8
Python
false
false
4,530
py
# Copyright 2020 MONAI Consortium # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # http://www.apache.org/licenses/LICENSE-2.0 # Unless required by applicable law or agreed to in writing, s...
[ "noreply@github.com" ]
noreply@github.com
7e53c7ce05448657cbc177751840d768f549cd9a
15bdd8ca16882f3ec10875b9f3eb875dcd8f4685
/chives/farmer/pooling/og_pool_protocol.py
a61b6a3a5cadb58ab1c0b17bbddc7f3bc44bf972
[ "Apache-2.0" ]
permissive
maletazul/chives-blockchain
be728c86edddc8e75c9b335d76c090a93d6ef646
826e8625cdf05f86490fba8192303a2fc8d94512
refs/heads/main
2023-08-23T18:54:57.086545
2021-10-12T16:08:33
2021-10-12T16:08:33
null
0
0
null
null
null
null
UTF-8
Python
false
false
755
py
from dataclasses import dataclass from blspy import G2Element from chives.types.blockchain_format.proof_of_space import ProofOfSpace from chives.types.blockchain_format.sized_bytes import bytes32 from chives.util.ints import uint64 from chives.util.streamable import streamable, Streamable @dataclass(frozen=True) @st...
[ "felix@felixbrucker.com" ]
felix@felixbrucker.com
94681b46f0b0c6f902f713bf2d3dbb2846fe80bb
815cf4969b2d0a23bef8994071bfadaa82122672
/resixer.py
3e8ac0e27847f48183820d2e0244e0644cfb15c2
[]
no_license
neeraj9436/end-sem-frustation-remover-game
38c9feff3bb50946fa76e8f46b116bc6b532a245
8b3ea9b8657c8f278d6f74082d6063b92fd1fb7c
refs/heads/main
2023-02-07T11:44:58.283068
2020-12-22T13:46:37
2020-12-22T13:46:37
320,283,706
0
0
null
null
null
null
UTF-8
Python
false
false
333
py
import cv2 import numpy as np iitbhu = cv2.imread('IIT-bhu-1.jpg') iitbhu = cv2.resize(iitbhu,(800,600)) cv2.imwrite('iitbhu.jpg',iitbhu) ##cv2.imwrite('EC202.jpg',ec202) ##cv2.imwrite('E0201.jpg',eo201) ##cv2.imwrite('MO201.jpg',mo201) ##cv2.imwrite('MA202.jpg',ma202) ##cv2.imwrite('H104.jpg',...
[ "noreply@github.com" ]
noreply@github.com
67e59631ddbac9d50d7e4c7abc53ef9a9f7e24ea
e6484c5f912caa0522ed3214de6c9c19bbb9af4c
/1-basics/basics.py
976bd0b6251f49f9dee2d21e6ccfe44e4999f320
[]
no_license
nabeeln7/pyplot-tutorial
2485e5d05e1ba3d3c930a1da4b968d579f597e0e
e1069d873f3b958761f0f624c0831ec9abb0d403
refs/heads/master
2022-04-15T09:20:11.548136
2019-09-26T17:21:41
2019-09-26T17:21:41
254,764,798
1
0
null
null
null
null
UTF-8
Python
false
false
485
py
import matplotlib.pyplot as plt import matplotlib #set figure size to 5in x 5in. Defaults to 6.4 x 4.8 plt.figure(figsize=(5, 5)) x1=[1,2,3,4,5] y1=[70,40,90,16,25] plt.plot(x1, y1, label='plot1', color="orange", linestyle='--', marker='o') x1=[1,2,3,4,5] y1=[3,40,20,30,75] plt.plot(x1, y1, label='plot2', color="gre...
[ "nabeeln7@gmail.com" ]
nabeeln7@gmail.com
cccf84f9111cafe5dac789d6f1bba1c228c740f0
99d16273bb26ff8079b4a68e80b0b67218a7651d
/InplaceMergeSort.py
7f126a93ce615c22d07eaca668d80e580e07a4ec
[]
no_license
dilizarov/AlgorithmsInPython
f359c6b29fff2c7099b31681f3e2f0d84eb12d20
26933c6f1abed26e7dc3b377f07cc7b45f30e71b
refs/heads/master
2020-05-31T04:08:51.518333
2013-11-04T10:10:42
2013-11-04T10:10:42
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,148
py
import random import pdb class Merge(object): @classmethod def merge(cls, arr, low, mid, high, i, j): i, j = low, mid+1 # entries, moves = 0, 0 count = 0 for index in range(low, high): if arr[i] > arr[j]: arr[index], arr[j] = arr[j], arr[index] ...
[ "dilizarov@gmail.com" ]
dilizarov@gmail.com
ab59227df732b23f0241889547035615c3d2a258
a1bffcd8854e1843e56bb812d4d83b3161a5211e
/plugins/connection/saltstack.py
6b77c982a43b9377025aa7831e6c44e954316633
[]
no_license
goneri/ansible.community
1a71f9d98c164b77f8ed2ed7f558b4963005ff8f
f26f612dd0a3154050d90b51a75502018c95f6e4
refs/heads/master
2020-12-29T07:47:35.353515
2020-01-22T17:43:18
2020-01-22T17:43:18
null
0
0
null
null
null
null
UTF-8
Python
false
false
3,800
py
# Based on local.py (c) 2012, Michael DeHaan <michael.dehaan@gmail.com> # Based on chroot.py (c) 2013, Maykel Moya <mmoya@speedyrails.com> # Based on func.py # (c) 2014, Michael Scherer <misc@zarb.org> # (c) 2017 Ansible Project # GNU General Public License v3.0+ (see COPYING or https://www.gnu.org/licenses/gpl-3.0.txt...
[ "ansible_migration@example.com" ]
ansible_migration@example.com
46f20859f53a62d1181b653c0b73ed78dd67bcd3
b8a2f8abc80dfc3af732db1f4226fd3a19a99b02
/django_projects/check-in-kiosk/drchrono/migrations/0002_remove_appointment_wait_time.py
71282873193d69a1856c7e660f9ac6d4848e8bd5
[]
no_license
jkshtj/Web-Projects
e236ea5958466659f03d27cc84775bf2931aa007
e3307fcafab8163b710dad65de73ac2495a2c485
refs/heads/master
2023-03-10T04:29:16.081966
2017-07-09T01:45:03
2017-07-09T01:45:03
null
0
0
null
null
null
null
UTF-8
Python
false
false
350
py
# -*- coding: utf-8 -*- from __future__ import unicode_literals from django.db import models, migrations class Migration(migrations.Migration): dependencies = [ ('drchrono', '0001_initial'), ] operations = [ migrations.RemoveField( model_name='appointment', name=...
[ "jain98@purdue.edu" ]
jain98@purdue.edu
fed535ecac0983d018d77de6d19acd9e4bc08b56
6bcaf90160f25fc8d854878e4bcda6c25d552928
/My Practice Programs/Basics1.py
a8e50092e0ea730f15c26728a6bc42f29968ffce
[]
no_license
VijipriyaGovindan/PythonProjects
6693ddb9a6a365e04dce76d133b5be62b1f18e63
ba005225e7ec17fd15d33613407dcc3b4a27ccff
refs/heads/master
2020-06-03T14:48:16.455965
2019-06-12T17:20:56
2019-06-12T17:20:56
191,612,300
0
0
null
null
null
null
UTF-8
Python
false
false
3,189
py
# This is a python stuff # Very interesting langauge # Interpreted Language , WOW # Careful with intentation # from datetime import date, datetime, time, timedelta import calendar from os import path import urllib.request import json import textwrap def main(): myClassInstance = myBaseClass() myClassInstance....
[ "42958398+VijipriyaGovindan@users.noreply.github.com" ]
42958398+VijipriyaGovindan@users.noreply.github.com
69d810eb3a7562bd6eb45f7782ed091e7ec5f4d5
018a3e34d93461feffed4491ff026c79cff3851c
/tasarım/toplayici.py
3e024dae859c604a20f0aabc9feccad2277c9d90
[]
no_license
birnuruzunn/Opamp_Circuit_Calculator
93de13d66b5460d871ef34d5568aa8856e7439db
3d72aae634b8b9189b4a4e9a772cd97f9d0354ad
refs/heads/master
2021-06-19T02:23:16.069849
2017-06-15T16:56:15
2017-06-15T16:56:15
89,811,781
1
0
null
null
null
null
UTF-8
Python
false
false
947
py
# -*- coding: utf-8 -*- from sympy import * """ I1 = (V1-Vx)/R1 I2 = (V2-Vx)/R2 I3 = (V3-Vx)/R3 I3 = (Vx-Vout)/R3 ve buradaki Vx = 0 olduğu için; I1 = V1/R1 I2 = V2/R2 I3 = V3/R3 If = -(Vout/Rf) diyebiliriz. Bu durumda KCL den If = -(I1 + I2 + I3) olacağına göre; -(Vout/R3) = V1/R1 + V...
[ "birnuruzun.294976@gmail.com" ]
birnuruzun.294976@gmail.com
1fe0e2c621f45cf284a4b99347dfe1a3a3ff93c6
e9032e64138d7b9dd90a330dfe4588e2c83f6667
/google/cloud/compute_v1/services/region_health_checks/transports/__init__.py
693981b3422dd04d3df9d0fab64969fdd9002c78
[ "Apache-2.0" ]
permissive
Ctfbuster/python-compute
6cff2418969009794c3fadadc4c45e20d7b40509
7a9e8324e08c46a93050908760b2b5aca054a863
refs/heads/main
2023-08-26T12:37:52.363526
2021-10-04T15:34:37
2021-10-04T15:34:37
412,884,620
0
0
Apache-2.0
2021-10-02T18:49:05
2021-10-02T18:49:03
null
UTF-8
Python
false
false
1,050
py
# -*- coding: utf-8 -*- # Copyright 2020 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or...
[ "busunkim@google.com" ]
busunkim@google.com
01cae5b741ad762960682101d53582867ac65e7c
18d0705adb411cb4202c12c931c4c4cbd669c253
/CODE/gru_layer2_we.py
bf466663b5f13cda9b822a49d8f6a692705fbbb8
[]
no_license
cornorghost/HE_HMC-
e60a128a21e931d07baf3293401a19ab61246a2d
2e9ba2a78904fc0b96caed5a2d55c43fb03bc3ef
refs/heads/master
2023-03-28T06:38:57.613875
2021-03-23T08:20:54
2021-03-23T08:20:54
350,631,073
0
0
null
null
null
null
UTF-8
Python
false
false
3,900
py
## model creation on Keras from keras.utils.np_utils import * from keras.models import Model from keras.layers import Input, Dense, Concatenate, Multiply, multiply,BatchNormalization from keras.layers.embeddings import Embedding from keras.layers.recurrent import GRU from keras.layers.wrappers import Bidirectional, T...
[ "1648313898@qq.com" ]
1648313898@qq.com
be843d33ee176ec0d6827fefd01fdd6a15847466
ca7aa979e7059467e158830b76673f5b77a0f5a3
/Python_codes/p03282/s286249227.py
f28b18ffa16239f136d180ee675975bd01b56411
[]
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
191
py
import sys input = sys.stdin.readline S = list(input().rstrip('\n')) K = int(input()) n = 1 for i in range(min(len(S), K)): if S[i] != '1': n = int(S[i]) break print(n)
[ "66529651+Aastha2104@users.noreply.github.com" ]
66529651+Aastha2104@users.noreply.github.com
c0a9359707f02b2f9f167964c0a1b4af6bb93f2b
31f3dd8eced97eb6568e7f0e7088b928a72ac38f
/container/wsgi.py
54603a3ce64bcfaf89db6a646dda7487fa1eed4e
[ "MIT", "Apache-2.0" ]
permissive
echosvile/Real-Time-Voice-Cloning
4d99b694266008629d7e0a0873a1577bc75cdccc
261e4f56b18a941739325d6938877002a029f9cb
refs/heads/master
2022-11-11T18:02:28.902683
2020-07-07T01:20:26
2020-07-07T01:20:26
null
0
0
null
null
null
null
UTF-8
Python
false
false
46
py
import process_voice as myapp app = myapp.app
[ "18237687+rustygentile@users.noreply.github.com" ]
18237687+rustygentile@users.noreply.github.com
825843e9a86a0da1cfb3b80da17df84ea1f51735
19f0d97ab95fe8a7c249eb5736bddd085a8dc00c
/ariac_behaviors/unit_2_behaviors/unit_2_flexbe_behaviors/src/unit_2_flexbe_behaviors/get_order_sm.py
6eb0182ea2972914a92fdfbc7caec36ccb9d8869
[]
no_license
ProgrammerStuVal/fase3
e471ab3cc32cbeab7fca35e5f864de0b3cd208eb
46bf5d75ecdd76c15bfc20040713851eeab134c5
refs/heads/master
2023-06-04T19:20:08.123789
2021-06-25T12:18:34
2021-06-25T12:18:34
377,123,735
0
0
null
null
null
null
UTF-8
Python
false
false
3,207
py
#!/usr/bin/env python # -*- coding: utf-8 -*- ########################################################### # WARNING: Generated code! # # ************************** # # Manual changes may get lost if file is generated again. # # Only code inside the [MANUAL] ta...
[ "nick@de-pijper.nl" ]
nick@de-pijper.nl
e83b869998eef412ccf911780acfff50e1e8c7d6
02ce998368c08bf5423d3b40165feab05dac4b21
/server/cards/c0000000038.py
dd6b181439bfb7e3b99adff344098314c054b16b
[]
no_license
zblcm/python-StoneAsh
2e0f779a614d063b9a0bb2ef24e8199e9ddfd784
d2d76a3be2cf93982288de2113a372683fd60336
refs/heads/master
2021-07-11T14:57:40.159292
2017-10-16T06:14:30
2017-10-16T06:14:30
null
0
0
null
null
null
null
UTF-8
Python
false
false
495
py
from const import * from buff import * def init(self, mode = True): self.name = "发芽" self.description = "获得两个空的白色法力水晶。" self.typ = CARD_SPELL self.subtype = [SUBTYPE_BASIC] self.originalcost = [0, 0, 0, 4, 0, 0] #White Fire Water Tree Light Death if mode: self.cost = self.originalc...
[ "zblcm3@gmail.com" ]
zblcm3@gmail.com
69dac76bc95dc024cdf72ce09289bdfc512ab898
4b9a90ad8debaec515dcbad50b02caecba6cd6a5
/django/Dev/trydjango/venv2/lib/python3.7/token.py
0a0df7a35f6645f14e34e8ddfd3ff0ff267527a2
[]
no_license
nabilatajrin/python-programs
f51612808f1837d8e786c7f2eb1faf6387859b18
74533bab6ee2d204920c1b97622bdf757ae44aae
refs/heads/master
2022-12-24T20:14:57.046497
2022-12-20T08:41:29
2022-12-20T08:41:29
199,279,168
1
0
null
null
null
null
UTF-8
Python
false
false
42
py
/home/iit/anaconda3/lib/python3.7/token.py
[ "nabilatajrin@gmail.com" ]
nabilatajrin@gmail.com
8bb5f56c348d040408eaf06a77d02055459ca3bb
89fdb38d4f669c592bbd61ffa90629b3d137f589
/spctest.py
e6ad5734538d31c769d0f87becf9c947811355da
[]
no_license
shenglih/normalized_cut
8e5644654b63767246352eb767ac445b3975cebe
fe3a1b8bf52063901fdaf2b23b1a621c46f3b942
refs/heads/master
2020-11-27T15:49:27.576811
2019-12-22T04:33:59
2019-12-22T04:33:59
229,518,081
3
0
null
null
null
null
UTF-8
Python
false
false
1,631
py
from PIL import Image import numpy as np with open('1.bmp', 'rb') as f: I = bytearray(f.read()) I = I.rgb2gray(I) I.reshape(I, 93*93, 1) W = np.ones(93*93) for i in range(93*93): for j in range(i+1, 93*93): W[i,j] = I[i] == I[j] W[j,i] = W[i,j] W = W + 0.1 print("Step 0 completed") N = len(W) K = 5 # deg...
[ "noreply@github.com" ]
noreply@github.com
b5905865f1e4af145c1e4b60272876f6b4ef13a4
335c8f1014085fb2ae90802c1dc6f7e039f67e85
/CodeUp/1073 - 1082/1077.py
c87dc8a797f3658197c13951ec5f07f4709aa388
[]
no_license
hyunbingil/Algorithm
2db2996379cb7a4f81a9d531c3a561e0ef209369
d615e2c87bfe3c2faf4e1e3a8da5e18dd73630fe
refs/heads/master
2021-01-06T15:50:46.517127
2020-08-31T14:34:17
2020-08-31T14:34:17
241,385,519
0
0
null
null
null
null
UTF-8
Python
false
false
56
py
n = int(input()) for i in range(0, n+1, 1): print(i)
[ "super199g@naver.com" ]
super199g@naver.com
d67c92c5f471103086f32bd2cce060b9703b6721
6fe057cc4d2097c8a32ee4312932045be0c2e63c
/tests/test_map_to_xml.py
453cf5ff68e5334b0a44a8094e5679d6f73f5904
[ "MIT" ]
permissive
ianturton/mapserver-upgrade-config
b9cfcf7af889760b72e1610d5a35856da6596b5f
1ff87104d45e509404391f80e7cf815bf134db19
refs/heads/master
2021-01-11T15:37:46.434788
2020-02-11T14:37:10
2020-02-11T14:37:10
79,903,827
0
0
null
2017-01-24T11:04:16
2017-01-24T11:04:16
null
UTF-8
Python
false
false
12,330
py
import unittest import lxml.etree as ET # from lxml.etree import QName import os import warnings from maputils import map_to_xml from maputils import xml_to_sld def ignore_warnings(test_func): def do_test(self, *args, **kwargs): with warnings.catch_warnings(): warnings.simplefilter("ignore") ...
[ "ijturton@gmail.com" ]
ijturton@gmail.com
043baac3e8e179d191c8f32a0b1f7d6b365c51b3
825f0dfa925ae0f979afca6a137a0f03cbec1a55
/coffee.py
3ab091e5e6ea436af3f0e2ffaba96470c5a9018f
[]
no_license
sjpokedoke/project106
1a18b9ad19ff8a936621d3cd523b4eb0a3eef3b6
e6d6b0b7e9c1f696765415428e09e427f5b43ee4
refs/heads/main
2023-06-21T22:35:48.540383
2021-07-19T08:55:28
2021-07-19T08:55:28
387,400,426
0
0
null
null
null
null
UTF-8
Python
false
false
856
py
import csv import plotly.express as px import numpy as np import pandas as pd def getDataSource(datapath): coffee = [] sleep = [] with open(datapath) as csvfile: csvreader = csv.DictReader(csvfile) for row in csvreader: coffee.append(float(row["Coffee in ml"])) slee...
[ "noreply@github.com" ]
noreply@github.com
eea07dff9a04a5582761f119169aec890ef58c11
aba1d17ddc7d7ad9f49e2d6d87600e9e0387ba14
/mi/dataset/driver/sio_eng/sio/sio_eng_sio_recovered_driver.py
d84a95f50b651d68787a6e469c0b57ced9a03727
[ "BSD-2-Clause", "LicenseRef-scancode-unknown-license-reference" ]
permissive
oceanobservatories/mi-instrument
3ad880c1366b1a8461fc9085768df0e9ddeb6ef5
bdbf01f5614e7188ce19596704794466e5683b30
refs/heads/master
2023-07-23T07:28:36.091223
2023-07-14T15:54:49
2023-07-14T15:54:49
24,165,325
1
32
BSD-2-Clause
2023-07-13T01:39:22
2014-09-17T22:53:22
Python
UTF-8
Python
false
false
1,673
py
#!/usr/bin/env python """ @package mi.dataset.driver.sio_eng/sio @file mi/dataset/driver/sio_eng/sio/sio_eng_sio_recovered_driver.py @author Jeff Roy @brief Driver for the sio_eng_sio instrument Release notes: Initial Release """ from mi.dataset.dataset_parser import DataSetDriverConfigKeys from mi.dataset.dataset_...
[ "petercable@gmail.com" ]
petercable@gmail.com
a2bd34ef5c50ddd54cd646886121a923382b8697
3b94679c725e03be037a68341473b01f8c183776
/com/raphael/test/test_operacoes.py
90b4464bd6d56760713761b6f705823d76086c7a
[]
no_license
raphael-moreira/devops-aula_reposicao1
735707ff1e876d252430771b5ac2f7607c86fdb4
0fed44b340f0f7b4225f8958655c20041f8a5c86
refs/heads/master
2022-06-27T08:18:41.591275
2020-05-06T21:47:26
2020-05-06T21:47:26
261,885,723
0
0
null
null
null
null
UTF-8
Python
false
false
279
py
from unittest import TestCase from com.raphael.operacoes import Operacoes class TestOperacoes(TestCase): def setUp(self): self.operacoes = Operacoes() def test_soma(self): self.assertEqual(self.operacoes.soma([1, 3]), 4, 'Deveria ser 4')
[ "61034183+raphael-moreira@users.noreply.github.com" ]
61034183+raphael-moreira@users.noreply.github.com
aac9765f96a28fb18f3af5ad72d3c1beed850ac3
6dfeb6981a8cff42ae3adc11cff7ffe48462f30e
/leet_code/232. Implement_Queue_using_Stacks.py
23d2cdc72dba8c7f3d872e7a8ca5dcb80eb9ff0c
[]
no_license
hqsds/Python
177ba56d4610e56784eab7069adb1f76fd72341c
ce2b0f50d3dd0b31de0e374747e11898abaf72f5
refs/heads/master
2021-06-13T15:36:53.351997
2017-03-20T20:42:15
2017-03-20T20:42:15
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,747
py
# Implement the following operations of a queue using stacks. # # push(x) -- Push element x to the back of queue. # pop() -- Removes the element from in front of queue. # peek() -- Get the front element. # empty() -- Return whether the queue is empty. # Notes: # You must use only standard operations of a stack -- which...
[ "wangjian790@gmail.com" ]
wangjian790@gmail.com
6e72d4e2d51717d151fd51de75c2ec03d1d58a46
5eb149aacc457c212ae0f73531126679c465aa95
/thirdapp/urls.py
697b69276d378590d54794aee69f5ca63ca65d0a
[]
no_license
dhaval6552/Consulateadd
e43e3d47728731bdc147aad9e7ac837f8b0c4180
8eaf3d33751faabc9cf77dd7b66900b2cb6a09b6
refs/heads/master
2021-09-09T23:46:27.482800
2018-03-20T08:33:06
2018-03-20T08:33:06
125,198,000
0
0
null
null
null
null
UTF-8
Python
false
false
352
py
from django.conf.urls import url from . import views app_name= 'thirdapp' urlpatterns = [ url(r'^index/',views.index,name= 'index'), url(r"^register/",views.register,name='register'), url(r'^login/',views.Login, name='Login'), url(r'^logout/',views.Logout, name='Logout'), url(r'^user_detail',views.u...
[ "dhavalshah6552@gmail.com" ]
dhavalshah6552@gmail.com
e942918e5ff0ba14ed5c75b2e18c4fe56b478c33
5a45fbdcddc8fa9d5fdf9f09a300fca528fcbe60
/testscripts/cookies.py
a4658901414df49ea50520262c43064e74cb5379
[]
no_license
akshay061995/selenium-project
ccf924113e0b9ca7c92158fea6ff6fd4779a5003
069fafeec0ec5e14864a358163c8eee13054353a
refs/heads/master
2022-12-04T21:52:44.353150
2020-08-25T13:27:56
2020-08-25T13:27:56
290,220,048
0
0
null
null
null
null
UTF-8
Python
false
false
650
py
from selenium import webdriver from selenium.webdriver.common.keys import Keys import time driver=webdriver.Chrome(executable_path="C:\chromedriver\chromedriver") driver.get("http://amazon.com") #find cookies cookie=driver.get_cookies() print(len(cookie)) print(cookie) #add cookies cook={'name':'akshay','value':'1...
[ "kadamakshay210@gmail.com" ]
kadamakshay210@gmail.com
ada65d289c521001d259f3753dd35f98479c82ff
1a04e02811c844ecf53cc041b104667e5c987a09
/vgrabber/qtgui/tabs/items/finalexam.py
75cd24590829f15938344be4414a71f826fdba8e
[]
no_license
janjanech/vzdelavanieGui
dff17add6e6946063597d4c1eba5d6d76b6f5374
b2015f41f7cb1be1ecccf1c4778a91f43f8fba12
refs/heads/master
2021-10-24T16:21:24.911817
2019-01-15T17:03:49
2019-01-15T17:03:49
null
0
0
null
null
null
null
UTF-8
Python
false
false
194
py
from PyQt5.QtWidgets import QTreeWidgetItem class FinalExamItem(QTreeWidgetItem): def __init__(self, data, final_exam): super().__init__(data) self.final_exam = final_exam
[ "janik@janik.ws" ]
janik@janik.ws
256ee04da6e71642f3282eebb0892374c143abcb
2090b6b92d5cada89504de548b14f9c729856606
/visualize/waveform/compare_waveforms_1obs2syn.py
0b147dda0e923352ef1132a3ea3948fa71d94e60
[]
no_license
ziyixiArchive/Japan_Slab_code
4f6a366889278ad499971cf1132591b9029c0f8c
4cb19939e45739faee7a8b6ec3d3a5da4549a108
refs/heads/master
2022-03-14T18:11:47.768695
2019-12-17T21:48:32
2019-12-17T21:48:32
null
0
0
null
null
null
null
UTF-8
Python
false
false
11,378
py
import matplotlib.backends.backend_pdf import matplotlib.pyplot as plt import obspy import pyasdf from obspy.geodetics.base import gps2dist_azimuth, locations2degrees from obspy.taup import TauPyModel from recordtype import recordtype import numpy as np import click import matplotlib as mpl import tqdm label_size = 25...
[ "xiziyi@msu.edu" ]
xiziyi@msu.edu
87e6fcae17d4bffaeaa0b3223eed01cede3b60c5
2f666fc0c3ede72e032a66fe186300212d6160a6
/flat/views.py
5c15f6d5dea27d17645f032a9348c972d8709e2f
[]
no_license
anukat2015/flat
e8f7439ffe5cb4223a596ec7085846ebde07018c
79a75d8d2bb6275fc749d13c19f4748dc8138a98
refs/heads/master
2021-01-24T14:46:54.045115
2016-03-23T09:07:19
2016-03-23T09:07:19
null
0
0
null
null
null
null
UTF-8
Python
false
false
14,694
py
from __future__ import print_function, unicode_literals, division, absolute_import from django.shortcuts import render, redirect from django.contrib.auth.decorators import login_required from django.http import HttpResponse, HttpResponseForbidden, HttpResponseRedirect import django.contrib.auth from pynlpl.formats impo...
[ "proycon@anaproy.nl" ]
proycon@anaproy.nl
f9664e4863a0f63094eee70d739aa75b08b664cc
8f2396049198df3a668b89e35c0286304b00069f
/Bioinfo_Teory/basic_string_3.py
68bce958da61bec642320a5abc539d7aecfaa055
[]
no_license
s2arora/Bio
9d5d9c6a3237f9c6684bc656a1aee8a81dbaef40
5b8cf75c34c33382a19ec8fd9ab0733ea85ca116
refs/heads/master
2022-11-27T11:11:44.452556
2020-08-03T02:18:52
2020-08-03T02:18:52
282,906,389
0
0
null
2020-07-28T10:14:05
2020-07-27T13:28:34
Python
UTF-8
Python
false
false
237
py
string=raw_input('enter the string: ') string ='Give me liberty, or give me death' print 'Give me liberty, or give me death' charac=raw_input('enter the character: ') index_num = string.find(charac) print string[index_num:index_num+3]
[ "noreply@github.com" ]
noreply@github.com
503df77b7e73dde22d4eea8e86d995e4f9983cbb
798960eb97cd1d46a2837f81fb69d123c05f1164
/symphony/cli/pyinventory/graphql/mutation/edit_service_type.py
8b288246df912b964320536842d70b2deedf041e
[ "BSD-3-Clause", "Apache-2.0" ]
permissive
kyaaqba/magma
36d5fa00ce4f827e6ca5ebd82d97a3d36e5f5b5b
fdb7be22a2076f9a9b158c9670a9af6cad68b85f
refs/heads/master
2023-01-27T12:04:52.393286
2020-08-20T20:23:50
2020-08-20T20:23:50
289,102,268
0
0
NOASSERTION
2020-08-20T20:18:42
2020-08-20T20:18:41
null
UTF-8
Python
false
false
2,154
py
#!/usr/bin/env python3 # @generated AUTOGENERATED file. Do not Change! from dataclasses import dataclass from datetime import datetime from gql.gql.datetime_utils import DATETIME_FIELD from gql.gql.graphql_client import GraphqlClient from gql.gql.client import OperationException from gql.gql.reporter import FailedOper...
[ "facebook-github-bot@users.noreply.github.com" ]
facebook-github-bot@users.noreply.github.com
f8c50bbfce03d2201f462836ae2fddaf57707daf
15178009a3a06a98addd880dcb3dc4b3585e1cd5
/Jyoti/SortingAssignment.py
989cd9f1c4591ca7a4be2004569003184139de95
[]
no_license
prasunsingh-itt/TechnicalThursday
6bef644c1269ea54bac15d269fe0663acd4e3ea8
736a9aa55f5449f3a374527b8f9d3ef76ec53105
refs/heads/master
2020-11-26T10:30:08.399806
2020-03-15T10:09:08
2020-03-15T10:09:08
229,043,659
0
2
null
2020-03-09T12:32:31
2019-12-19T11:48:30
Python
UTF-8
Python
false
false
548
py
#SORT FIRST HALF OF THE LIST IN ASCENDING AND SECOND HALF IN DESCENDING ListOfNumbers=input("Enter List of numbers to be sorted: ") list(ListOfNumbers) length=len(ListOfNumbers) int(length) FirstHalfList=ListOfNumbers[0:int(length/2)] SecondHalfList=ListOfNumbers[int(length/2):int(length)] FirstHalfList=sorted(Firs...
[ "jyoti.kumari@intimetec.com" ]
jyoti.kumari@intimetec.com
e03357f02400b184c84418640a0c368faec3e864
58ba8c8d1eee919eae8537c23a16c165b8f11b4e
/config.py
5511cca940bb610b2d3c81d0a92c96a69afd97a0
[]
no_license
diksset/tgAuthBot
1bbd6e9b7fa35488951618c9408a444d99ecb611
b3074203fe4a0458067c7d7f6edbe28f830b9fe3
refs/heads/master
2021-01-01T07:17:28.643640
2020-02-08T17:40:36
2020-02-08T17:40:36
239,166,022
1
1
null
2020-02-08T17:40:37
2020-02-08T16:39:53
Python
UTF-8
Python
false
false
69
py
TOKEN = '...' AdminInfo = ['...'] #список id админов
[ "diksset@gmail.com" ]
diksset@gmail.com
364bdedc82ec753f5f6ee475bf24dd9200816d00
b979d1fb987067c2ebac240efb6c05911b728698
/sfvue/urls.py
946ca4c3b1ffc1d83fde902a78e3ed8f3c481c68
[ "LicenseRef-scancode-unknown-license-reference", "MIT" ]
permissive
epic-math/sfvue2
8fdc22985102125162d8d41aeedab99a1306fe6d
e94c59fbefeef35de0ca6d993e06d07f47e06ac5
refs/heads/master
2021-01-10T12:36:05.525804
2015-12-26T01:30:34
2015-12-26T01:30:34
47,959,577
1
1
null
null
null
null
UTF-8
Python
false
false
2,040
py
from django.conf.urls import patterns, include, url from django.contrib import admin admin.autodiscover() from resources.models import Resource, Topic from profiles.models import UserProfile from django.views.generic import RedirectView from .views import * from profiles.views import UserUpdateView, UserProfileUpdate...
[ "k@bogotobogo.com" ]
k@bogotobogo.com
79460840e715e946993ff88acf2b499e93194ad2
13ef7d982039b6579dd105a6dd99572a47d6d3a5
/cocukcacim/apps/activities/migrations/0007_auto_20180123_1829.py
80dd75eff6689eb98b848f401397fd0e24672ec3
[]
no_license
serhatsait/cocukcacim
ef7fcfa856d92d67bd6fab05666c15280054886b
f130b0c2d3f7efe279e50085296dd18ec86fea6c
refs/heads/master
2021-09-06T12:41:27.125976
2018-02-06T15:15:44
2018-02-06T15:15:44
114,990,208
0
0
null
2017-12-21T09:51:17
2017-12-21T09:51:17
null
UTF-8
Python
false
false
1,360
py
# -*- coding: utf-8 -*- # Generated by Django 1.11.7 on 2018-01-23 15:29 from __future__ import unicode_literals from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): dependencies = [ ('activities', '0006_auto_20180122_1826'), ] operati...
[ "serhat.pekediz@yandex.com" ]
serhat.pekediz@yandex.com
4e6a2d1a13977bc824aa164146dfce4c6e8d77f5
0b4382799e53c4cec05f3b17e97b8acdafb26185
/new_book/urls.py
89cdd78fd5e3d744bc262a1881261ff7446b3316
[]
no_license
zhao-python1/drf_day4
b2c14bff344913c35f69d6a6f69201433623c557
6395424cc5d6c53e31c08eee276a41d8f6c8bc04
refs/heads/master
2022-11-11T18:58:05.695726
2020-07-02T17:20:26
2020-07-02T17:20:26
276,430,791
0
0
null
null
null
null
UTF-8
Python
false
false
560
py
from django.urls import path from new_book import views urlpatterns = [ # 认证模块 path("test/<str:id>/",views.TestAPIView.as_view()), path("test/", views.TestAPIView.as_view()), path("run/<str:id>/", views.TestPermissionAPIView.as_view()), path("run/", views.TestPermissionAPIView.as_view()), pa...
[ "1181719628@qq.com" ]
1181719628@qq.com
42550415116cebfb2936ef565e6c74f389f7cd70
8c8d85a8bd28e053325bcfaa7865be3a998a7299
/DojoNinjas/Django_DojoNinjas-master/dojoNinjas_proj/wsgi.py
cd2bd40c7b748b49e5c5ea9d39ab57d2faf3fa3f
[]
no_license
EdAllenPoe/Django
6ac3f87604b4b33baa6e11393de98857231c89fc
e6ea12bdad867727a8301d335cae49870ffaa49f
refs/heads/master
2021-07-04T05:46:46.635742
2017-09-28T02:02:24
2017-09-28T02:02:24
103,712,637
0
0
null
null
null
null
UTF-8
Python
false
false
408
py
""" WSGI config for dojoNinjas_proj project. It exposes the WSGI callable as a module-level variable named ``application``. For more information on this file, see https://docs.djangoproject.com/en/1.11/howto/deployment/wsgi/ """ import os from django.core.wsgi import get_wsgi_application os.environ.setdefault("DJA...
[ "eric@ericgott.com" ]
eric@ericgott.com
98e2cb21f06123ab82e3bd4e1f3ba16b5bccb4c4
293af04b3da243eee46fe18833e33e313e9bdf0b
/RPi/NaaradServer/NewServer/tt.py
72422d2dda95b98a341164f7b967341cf21074e7
[]
no_license
sanbee/Naarad
00e5feeccd6d7d2f08dd863fa9b84c0195f399b1
b2816377e7a019d674a4f2d8f434399435cfdce8
refs/heads/master
2023-06-22T21:22:36.989437
2019-12-03T04:09:05
2019-12-03T04:09:05
121,693,317
1
1
null
2019-08-13T17:54:32
2018-02-15T22:58:57
C++
UTF-8
Python
false
false
3,054
py
import socket; import time; from mySock import *; import serial; import select; import sys; import errno; from socket import error as socket_error; import json; from Pogo import *; from comPort import *; from OOKRadio import *; from PacketRadio import *; import os;#, threading; import threading; from threading import ...
[ "sbhatnag@nrao.edu" ]
sbhatnag@nrao.edu
dd35deb36c7de65267541231d08532142e2a717d
383c0a6b35fcc600addeb959088c6478f9a93817
/[기초] 그래프와 BFS/[완수] 연결요소의개수.py
93352999fd83cb0727488da2fc69c7f291d404f3
[]
no_license
eugene-new/ProblemSolving
005e5f4b30646a192f5fb4776b3510c1ecd870fc
9600d239466146e026f59a5e13145acebc08d9c4
refs/heads/master
2023-09-01T13:11:18.179857
2021-10-25T16:01:55
2021-10-25T16:01:55
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,293
py
import sys sys.stdin = open('input_files/연결요소의개수.txt') # N, M = map(int, input().split()) # graph = [[] for _ in range(N+1)] # # # # 런타임 에러 # def dfs(v): # global lst # lst.append(v) # visited[v] = True # # for i in graph[v]: # if visited[i] == False: # dfs(i) # # # for _ in range(M...
[ "ruwan9@kakao.com" ]
ruwan9@kakao.com
430a766591c179dc7a13f4eb05e7ca804064f5a6
7e00494499c3b8d36dd808c732b4084e4ce7e9c9
/app.py
0df8760f94524b15a73cc697383b066aa77b2757
[]
no_license
PrachiTrivedi18/helloworld
1b663130e6a2fc61b8a093c80403863f1be15a87
6a9b562dd17b34a2eb55acf9d61076ddeb033fa5
refs/heads/main
2023-07-27T04:37:34.961130
2021-09-13T10:36:42
2021-09-13T10:36:42
405,928,640
0
0
null
null
null
null
UTF-8
Python
false
false
433
py
# import flask from flask import Flask, render_template # create an app instance app = Flask(__name__) # create a route / @app.route("/") # define the function hello def hello(): # return "hello world" when return "Hello World!" @app.route("/home") def home(): return render_temp...
[ "noreply@github.com" ]
noreply@github.com
a9cdb2bdfd02539be4a9767eeb683207d1c73d87
1c1d0e2f45c47c3bfe4fd9ac9315bd0c16c5af51
/heeps/abberations/wavefront_abberations.py
d33a631401ce2a8bee0694ae2c7c68de21a72d8e
[]
no_license
FaustineAstro/HEEPS
509cba38d272be19be96bf861e2066a0329168a2
7c7223e1f0e12ca519fd4f6da1470399c1bf996e
refs/heads/master
2020-03-30T01:53:33.249262
2018-09-19T07:22:34
2018-09-19T07:22:34
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,876
py
import numpy as np import proper from astropy.io import fits from .island_effect_piston import island_effect_piston from .atmosphere import atmosphere from .static_ncpa import static_ncpa def wavefront_abberations(wfo, conf,atm_screen, TILT): diam = conf['DIAM'] gridsize = conf['GRIDSIZE'] pixelsize = c...
[ "noreply@github.com" ]
noreply@github.com
ef02ceb209760cd37e065bf56349194a39e9236e
a0d9c7dadd368c5255a69f2b2ae01b6e108786e2
/Problems/Rich man's world/task.py
80cafa90f2df4b6bd07681b39defcf66ad37d7c1
[]
no_license
Lucimore/JetBrains-Zookeeper
d25be2a405ce79860860f1b0136c6f3cbab86e39
f1dd65941f3826e7738c5bbc1491875959ac9f61
refs/heads/master
2022-04-14T23:16:08.216979
2020-04-17T09:38:26
2020-04-17T09:38:26
256,460,829
0
0
null
null
null
null
UTF-8
Python
false
false
114
py
money = float(input()) year = 0 while money <= 700000: money = money + money * 0.071 year += 1 print(year)
[ "acc4wow2@gmail.com" ]
acc4wow2@gmail.com
487809df1d93dec71f3c491f99de75f96e915bb5
a5ec221a56eb070420f84597a004dddb39a07a3e
/memory_usage.py
f132ba0166301e5de70af18eb7b6fe0922bd5b7b
[]
no_license
muhammedK54/device_usage_control
da62a00db2e8e3890d660b1daf95f215b9d0aca4
10e6061e1e9bffc9d767c2201c8d2e52c2781c8e
refs/heads/master
2023-01-01T01:29:31.737173
2020-10-14T09:10:27
2020-10-14T09:10:27
303,960,995
0
0
null
null
null
null
UTF-8
Python
false
false
1,110
py
import argparse import psutil parser = argparse.ArgumentParser(description='( CPU RAM NETWORK DISK_SPACE ) usage percentage') parser.add_argument('--input', default='non' , type=str, help='{RAM , CPU , NETWORK(Ethernet) , DISK , GPU }select the device you need to get usage percentage') args = p...
[ "muhammed.kus@agteks.com" ]
muhammed.kus@agteks.com
2a1e8f91e9c52a31ab379194d4112818a490e643
f4b60f5e49baf60976987946c20a8ebca4880602
/lib/python2.7/site-packages/acimodel-1.3_2j-py2.7.egg/cobra/modelimpl/span/vdestdef.py
ec024b57e914be3854e9f75296a3fa2cf918029d
[]
no_license
cqbomb/qytang_aci
12e508d54d9f774b537c33563762e694783d6ba8
a7fab9d6cda7fadcc995672e55c0ef7e7187696e
refs/heads/master
2022-12-21T13:30:05.240231
2018-12-04T01:46:53
2018-12-04T01:46:53
159,911,666
0
0
null
2022-12-07T23:53:02
2018-12-01T05:17:50
Python
UTF-8
Python
false
false
8,334
py
# coding=UTF-8 # ********************************************************************** # Copyright (c) 2013-2016 Cisco Systems, Inc. All rights reserved # written by zen warriors, do not modify! # ********************************************************************** from cobra.mit.meta import ClassMeta from cobra.m...
[ "collinsctk@qytang.com" ]
collinsctk@qytang.com
fb54aa95513f5383fc9a6716d4dd526027963d75
2c237786320b27a4c26490af4276f54a6c11b0d9
/demo/urls.py
fd69aa1c29278c4ee01d630619572e9684fcf691
[]
no_license
ganeshkumarnew/django-rest-swagger-docs
7c8ff6444b14c50c31bc26a4b837a2b26835ded6
30a51c8fbcb2170c6030b23b87ce84a32a21b7de
refs/heads/master
2021-05-24T18:57:39.249688
2020-04-07T06:56:18
2020-04-07T06:56:18
253,707,088
0
0
null
null
null
null
UTF-8
Python
false
false
450
py
from django.conf.urls import url, include from rest_framework_swagger.views import get_swagger_view from .swagger_schema import SwaggerSchemaView schema_view = get_swagger_view(title='Demo Swagger API') urlpatterns = [ url(r'^api-auth/', include('rest_framework.urls', namespace='rest_framework')), url(r'^cbv/...
[ "ganesh.kumar@digixhub.com" ]
ganesh.kumar@digixhub.com
0cf8fc8bf946bbc625e58ce39879205e22a5ea8a
ef3d36a50aceb2b5b2c50cf882f581b8431a0fc7
/PyBot/IMU.py
7d68c9f7b71e9d2cdeb24d376cf07f9297ef1cf6
[]
no_license
usafhas/Python
79b08dc94a594d0cc3cd028c8ec47ba322d79040
fbd5683ed019331c59abf5e85b2d59b1608eb9b9
refs/heads/master
2020-06-21T07:05:59.957714
2016-12-08T18:22:47
2016-12-08T18:22:47
74,799,494
0
0
null
null
null
null
WINDOWS-1252
Python
false
false
8,631
py
#Heath Spidle #RaspberryPi Python code for Pololu AltIMU-10 v3 # # #sudo i2cdetect -y 1 # 0 1 2 3 4 5 6 7 8 9 a b c d e f #00: — — — — — — — — — — — — — #10: — — — — — — — — — 19 — UU — — 1e — #20: — — — — — — — — — — — — — — — — #30: — — — — — — — — — — — UU — — — — #40: — — — — — — — — — — — — — — — — #50: — — — — — ...
[ "xzy385@my.utsa.edu" ]
xzy385@my.utsa.edu
16e4e3747b49d106c8dd5f34903412691fc14364
e6db63065fa37d68245072034b484efe8224dc1d
/tests/test_furl.py
c2bf3b0f02f5cf3b1b3dc333e9766b245b1439ac
[ "Unlicense", "LicenseRef-scancode-public-domain" ]
permissive
realitee/furl
1096c2a5b9ec0de1831d0c590fa7b2da5a97cd84
e774a48ec857fa9a24a92f28acea256aa429353c
refs/heads/master
2020-12-25T13:23:57.126047
2012-10-13T02:46:23
2012-10-13T02:46:23
null
0
0
null
null
null
null
UTF-8
Python
false
false
54,925
py
# # furl: URL manipulation made simple. # # Arthur Grunseid # grunseid.com # grunseid@gmail.com # # License: Build Amazing Things (Unlicense) import urllib import unittest import urlparse import warnings from itertools import izip from abc import ABCMeta, abstractmethod try: from collections import OrderedDict as od...
[ "rleeroy@gmail.com" ]
rleeroy@gmail.com
9ce8be1b808c758b8a112da52d111d356c1878d8
68ee50a3e3ff69063e6574b3de21ddaff9a10617
/projects/01_fyyur/starter_code/migrations/versions/b68985b4fce5_.py
8c2ec3ab362e1910cf7df6381fe3250908c61494
[]
no_license
Owolabi-Oluwagbohunmi/FSND
d0d875d17042ca8c9f83c0c3eb948a377047cc1a
cc1ffe1fe66d287a8c58635148ec9e5d1c47e0e1
refs/heads/master
2023-05-08T04:50:20.237244
2021-05-28T11:30:01
2021-05-28T11:30:01
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,682
py
"""empty message Revision ID: b68985b4fce5 Revises: Create Date: 2021-05-28 12:24:43.085016 """ from alembic import op import sqlalchemy as sa # revision identifiers, used by Alembic. revision = 'b68985b4fce5' down_revision = None branch_labels = None depends_on = None def upgrade(): # ### commands auto gene...
[ "samuelowolabi.89@gmail.com" ]
samuelowolabi.89@gmail.com
827276dc5205c8746d7e39e1d3a307ade62f565b
ee3becf10827c9af2e1bff9528a0b59d57d491a7
/exampleGNL1.py
d5a03c5bdd6ce64ffc79e1c31e9c31235cb4623c
[]
no_license
mpaquette/gnlc_waveform
14edda7a018c655fe56fb69e9e989cb6c332cf5c
83461d2d6a3dfb4b0b4f5c721ec6e0e6e3f58ec0
refs/heads/master
2020-07-24T04:48:59.009515
2019-11-08T20:49:12
2019-11-08T20:49:12
207,805,860
0
1
null
2019-09-11T17:17:11
2019-09-11T12:22:41
Gnuplot
UTF-8
Python
false
false
3,481
py
import numpy as np import pylab as pl import os from gnl_tensor import * from viz import * from io_waveform import * from btensor import * # setup dev_x_path = os.path.join(os.path.dirname(__file__), 'gnlt/dev_x_connectom.nii.gz') dev_y_path = os.path.join(os.path.dirname(__file__), 'gnlt/dev_y_connectom.nii.gz') de...
[ "jotha885@gmail.com" ]
jotha885@gmail.com
6a5867bdc257858040b7c48d2ec4d4c2d62b8b64
128eddef31054679591cd4a915b7091cd8979dc8
/face_try.py
03bbbdeead9b09e0d20fd6077e9529fd4512b315
[]
no_license
gauravk21/Automatic-Attendance-system-using-face-recognition
cce46e62f50c87e8c893a6b1c15396d23684b893
792a847b4b67b80baa797916ce0125f71b8c08aa
refs/heads/master
2020-03-07T22:07:49.797399
2018-06-13T12:27:17
2018-06-13T12:27:17
127,745,541
0
0
null
null
null
null
UTF-8
Python
false
false
1,663
py
from picamera.array import PiRGBArray from picamera import PiCamera import time import cv2 import imutils import os faceCascade = cv2.CascadeClassifier('haarcascade_frontalface_default.xml') camera = PiCamera() camera.resolution = (320,240) camera.framerate = 10 rawCapture = PiRGBArray(camera,size=(320,240)) #reco...
[ "noreply@github.com" ]
noreply@github.com
c035d9f0fb7bdc18413f6216781d4e272dbf8234
208796d60bba301648b76f3fd9af20738aca3ba7
/neuclease/bin/cleave_server_debug_main.py
83d3de98a286d0b91481496060849dd94ff1df21
[ "BSD-3-Clause" ]
permissive
stuarteberg/pydvid
2afaebeb886b8034852e21668bca6709b022cf0f
ce59988cbc8043c85fe3ba878d4fa415febba2f8
refs/heads/master
2021-01-17T20:34:47.843645
2019-10-10T19:47:23
2019-10-10T19:47:23
33,325,656
0
0
null
2015-04-02T18:43:25
2015-04-02T18:43:25
null
UTF-8
Python
false
false
2,723
py
#!/usr/bin/env python3 import sys import neuclease.cleave_server def main(): _debug_mode = False ## DEBUG if len(sys.argv) == 1: _debug_mode = True import os log_dir = os.path.dirname(neuclease.__file__) + '/../logs' sys.argv += [#"--merge-table", "/magnetic/workspace/neucle...
[ "bergs@janelia.hhmi.org" ]
bergs@janelia.hhmi.org
0484b2199fc895b1ac5faa6eeb44803cd770356e
c9c762a08c031bafa1e577733c6af53a7a1b142f
/Project4Proj/Project4App/admin.py
a33a7882886d7d816c15cd8b34a9aed7dc315c9f
[]
no_license
Joshtg1104/Project4-Django-VideoApp
aed635d493125f42482b6f8e2424bec2e93da848
46efc176762a2fcb76e743672d3eb9b62f7808b6
refs/heads/master
2020-05-29T09:25:13.002571
2019-06-12T18:58:27
2019-06-12T18:58:27
189,061,630
0
0
null
null
null
null
UTF-8
Python
false
false
215
py
from django.contrib import admin from .models import Video, AccountModel, CommentModel # Register your models here. admin.site.register(AccountModel) admin.site.register(Video) admin.site.register(CommentModel)
[ "joshtg1104@gmail.com" ]
joshtg1104@gmail.com
38f27425bfd3df62fce464d36f7d3ee1f274e55e
912b0c6274e9c5c0956c4d1d1178f2b68fcf4296
/suod/test/test_base.py
2a5676b05176b356328d547265bcc359ee0aa19d
[ "BSD-2-Clause" ]
permissive
DreamtaleCore/SUOD
04f238f48625a3a3e182b19c2af65612954453b2
353aeaf8d5e5c338f94686e73a8a0fec88670700
refs/heads/master
2022-10-30T04:44:17.617986
2020-06-15T21:07:26
2020-06-15T21:07:26
292,205,263
1
0
BSD-2-Clause
2020-09-02T07:01:50
2020-09-02T07:01:49
null
UTF-8
Python
false
false
3,239
py
# -*- coding: utf-8 -*- import os import sys import unittest import numpy as np # temporary solution for relative imports in case pyod is not installed # if suod # is installed, no need to use the following line sys.path.append(os.path.abspath(os.path.join(os.path.dirname(__file__), '..'))) from suod.models.base im...
[ "yzhao062@gmail.com" ]
yzhao062@gmail.com