blob_id
stringlengths
40
40
directory_id
stringlengths
40
40
path
stringlengths
3
616
content_id
stringlengths
40
40
detected_licenses
listlengths
0
112
license_type
stringclasses
2 values
repo_name
stringlengths
5
115
snapshot_id
stringlengths
40
40
revision_id
stringlengths
40
40
branch_name
stringclasses
777 values
visit_date
timestamp[us]date
2015-08-06 10:31:46
2023-09-06 10:44:38
revision_date
timestamp[us]date
1970-01-01 02:38:32
2037-05-03 13:00:00
committer_date
timestamp[us]date
1970-01-01 02:38:32
2023-09-06 01:08:06
github_id
int64
4.92k
681M
star_events_count
int64
0
209k
fork_events_count
int64
0
110k
gha_license_id
stringclasses
22 values
gha_event_created_at
timestamp[us]date
2012-06-04 01:52:49
2023-09-14 21:59:50
gha_created_at
timestamp[us]date
2008-05-22 07:58:19
2023-08-21 12:35:19
gha_language
stringclasses
149 values
src_encoding
stringclasses
26 values
language
stringclasses
1 value
is_vendor
bool
2 classes
is_generated
bool
2 classes
length_bytes
int64
3
10.2M
extension
stringclasses
188 values
content
stringlengths
3
10.2M
authors
listlengths
1
1
author_id
stringlengths
1
132
c06a9369d360069947fe1625aa7aab2e998bbc6f
0aa3b2d2146e6754f80a8fcfbde799104c4372d9
/scripts/dataset_processing/tts/audio_processing/preprocess_audio.py
128d311e04c0115c83b1e49a54af26bcc4775433
[ "Apache-2.0" ]
permissive
shalevy1/NeMo
22d231d15e56aac09704f8d9fb5059da84314641
5e07ed39f317fc03de2bb90c5ed218304bf88602
refs/heads/master
2023-06-26T18:09:16.776952
2023-01-12T22:42:28
2023-01-12T22:42:28
209,153,028
0
0
Apache-2.0
2023-06-09T22:53:07
2019-09-17T20:43:57
Python
UTF-8
Python
false
false
6,608
py
# Copyright (c) 2022, NVIDIA CORPORATION & AFFILIATES. 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 requ...
[ "noreply@github.com" ]
shalevy1.noreply@github.com
07ef11d4fa19032f13b947b8fcb93a347ebf61ec
57a1b4048643a4a68f4e07116d7a9f4222a5ec34
/ga.py
dc25e9099ee0e25e8a70f3c7e8c3c27069d3f375
[]
no_license
LauraDiosan-CS/lab04-gatsp-serbancalin
29fd193353ff7d6c38b5d4fd279929e4f2d4b92a
188b2a99bf02d172f02e05515ab7e55f653c25ba
refs/heads/master
2021-04-02T03:45:16.373896
2020-03-31T13:15:20
2020-03-31T13:15:20
248,240,155
0
0
null
null
null
null
UTF-8
Python
false
false
5,236
py
import random def mainGA(input): nrIteratii = input["nrGeneratii"] # se creeaza o populatie populatie = Populatie() populatie.populeaza(input["n"], input["dimensiunePopulatie"], input["startNode"]) while nrIteratii > 0: parinte1 = selectieReproducere(populatie, input["matrix"]) ...
[ "noreply@github.com" ]
LauraDiosan-CS.noreply@github.com
40e9dcc34f1ff2c0d1c76edff485bcd9bc142446
a25e2aa102ffe9c2d9b553252a1882fe5a9d7ec9
/SprityBird/spritybird/python3.5/lib/python3.5/site-packages/sympy/printing/mathml.py
191bf91dc6a0643b43e3d0eb25dc79ab7b5453f4
[ "MIT" ]
permissive
MobileAnalytics/iPython-Framework
f96ebc776e763e6b4e60fb6ec26bb71e02cf6409
da0e598308c067cd5c5290a6364b3ffaf2d2418f
refs/heads/master
2020-03-22T06:49:29.022949
2018-07-04T04:22:17
2018-07-04T04:22:17
139,660,631
4
1
null
null
null
null
UTF-8
Python
false
false
16,248
py
""" A MathML printer. """ from __future__ import print_function, division from sympy import sympify, S, Mul from sympy.core.function import _coeff_isneg from sympy.core.alphabets import greeks from sympy.core.compatibility import u, range from .printer import Printer from .pretty.pretty_symbology import greek_unicode...
[ "909889261@qq.com" ]
909889261@qq.com
12edb5f89ba6f2c8dd47d128a4f8ef0560c8ef34
a02ccb5dff094fad8bcd691dda234d50ff768299
/tools/Polygraphy/polygraphy/tools/surgeon/subtool/__init__.py
cc6034ccc8df9c408f916506516b9a1284fb6fba
[ "Apache-2.0", "BSD-3-Clause", "MIT", "ISC", "BSD-2-Clause" ]
permissive
NVIDIA/TensorRT
5520d5a6a5926a2b30dbdd2c5b2e4dfe6d1b429b
a167852705d74bcc619d8fad0af4b9e4d84472fc
refs/heads/release/8.6
2023-07-29T05:39:45.688091
2023-06-09T22:29:09
2023-06-09T23:04:18
184,657,328
8,026
2,096
Apache-2.0
2023-09-13T17:30:16
2019-05-02T22:02:08
C++
UTF-8
Python
false
false
183
py
from polygraphy.tools.surgeon.subtool.extract import Extract from polygraphy.tools.surgeon.subtool.insert import Insert from polygraphy.tools.surgeon.subtool.sanitize import Sanitize
[ "rajeevsrao@users.noreply.github.com" ]
rajeevsrao@users.noreply.github.com
7e4a35ad33a0da28823a458e6da9c48e4536cb0f
2da6b95fe4237cc00014f80c45d268ab62fc90cd
/DFRep/V_normweight/DFPNet.py
aa5602f8847531e9cab77d9278a61b59fd0b7a0d
[]
no_license
lvzongyao/Open-Set-Recognition-1
7e26cd1d97f67b6c075f4e64296ce7a82d479168
26a8a1cca199f4e23df98abca6893e3eef3307da
refs/heads/master
2023-08-19T09:15:16.119377
2021-09-13T04:21:18
2021-09-13T04:21:18
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,939
py
""" Version2: includes centroids into model, and shares embedding layers. """ import math import torch import torch.nn as nn import torch.nn.functional as F import backbones.cifar as models from Distance import Similarity, Distance class DFPNet(nn.Module): def __init__(self, backbone='ResNet18', num_classes=1000, ...
[ "xuma@my.unt.edu" ]
xuma@my.unt.edu
1260c5bfe4eb0011b6dd92b047da4841adfa4331
50008b3b7fb7e14f793e92f5b27bf302112a3cb4
/recipes/Python/541081_Thread_Safe_Any_Object/recipe-541081.py
7342c9a7b3d0e8a02f39b737502226164403f75d
[ "MIT", "Python-2.0" ]
permissive
betty29/code-1
db56807e19ac9cfe711b41d475a322c168cfdca6
d097ca0ad6a6aee2180d32dce6a3322621f655fd
refs/heads/master
2023-03-14T08:15:47.492844
2021-02-24T15:39:59
2021-02-24T15:39:59
341,878,663
0
0
MIT
2021-02-24T15:40:00
2021-02-24T11:31:15
Python
UTF-8
Python
false
false
557
py
class ThreadSafeObject: """ A class that makes any object thread safe. """ def __init__(self, obj): """ Initialize the class with the object to make thread safe. """ self.lock = threading.RLock() self.object = obj def __getattr__(self, attr): ...
[ "betty@qburst.com" ]
betty@qburst.com
520e49c53958f4f5cfc0c6f3582a05760870c8d6
e23a4f57ce5474d468258e5e63b9e23fb6011188
/065_serialization_and_deserialization/002_json/_exercises/_templates/Working With JSON Data in Python/002_Deserializing JSON.py
a9dc2d0a331d0f6f6e26d6388f706549a71f8fcd
[]
no_license
syurskyi/Python_Topics
52851ecce000cb751a3b986408efe32f0b4c0835
be331826b490b73f0a176e6abed86ef68ff2dd2b
refs/heads/master
2023-06-08T19:29:16.214395
2023-05-29T17:09:11
2023-05-29T17:09:11
220,583,118
3
2
null
2023-02-16T03:08:10
2019-11-09T02:58:47
Python
UTF-8
Python
false
false
2,865
py
# # -*- coding: utf-8 -*- # # # Deserializing JSON # # Great, looks like you’ve captured yourself some wild JSON! Now it’s time to whip it into shape. In the json library, # # you’ll find load() and loads() for turning JSON encoded data into Python objects. # # Just like serialization, there is a simple conversion tabl...
[ "sergejyurskyj@yahoo.com" ]
sergejyurskyj@yahoo.com
27af581a2079c7dda5b2c4d90d320ba7794f88d6
47dbfa8fe684142f88eed391bab1c8049984acda
/tests/TestUtils.py
00c638d09e4fe6032802dd3333be759e324df36a
[]
no_license
fortyMiles/StanfordAlgorithmCourse
e90dea54ae12b12fbb875e1dd14a33c27af45d46
b54b0c0b8a044842bfec26f9223e5345d1176964
refs/heads/master
2021-09-03T21:34:40.598877
2018-01-12T06:14:39
2018-01-12T06:14:39
109,659,323
1
0
null
null
null
null
UTF-8
Python
false
false
1,294
py
from utils.utils import replace_element_quickly from utils.profiler import get_running_time import random import copy running_time = 10000 @get_running_time(running_time=running_time) def original_replace_way(L, old_e, new_e): new_L = [] for i in L: if i == old_e: new_L.append(new_e) else: n...
[ "mqgao@outlook.com" ]
mqgao@outlook.com
facbcdd42af7b3435d45b4dc1ed1b06d0273db0c
551537776448c375a073d28e55db784ee4e15679
/print_star_param_error.py
d75fdd14926f0526e9ed76475e0a321d4799e9e5
[]
no_license
shows130/python_lecture
5431ba5df2f9a0fe4162d60e05e30d1ff33c7f04
0b48ffdb5c2e7f6ada9e8290c096cb1e7cc13642
refs/heads/main
2023-04-27T00:57:52.563572
2021-05-27T08:37:33
2021-05-27T08:37:33
370,264,473
0
0
null
null
null
null
UTF-8
Python
false
false
163
py
def print_star(n=1): # 인자를 필요로 함 for _ in range(n): print('************************') print_star() # 인자가 없으므로 에러 발생
[ "you@example.com" ]
you@example.com
ef49eb8c1c6ed480e749d0f79d1d7595b2c5a73b
27b4d1b7723845812111a0c6c659ef87c8da2755
/Fluent_Python/21_类元编程/record_factory.py
865a049828201568b3428a78e2a905618598dfef
[]
no_license
NAMEs/Python_Note
59a6eff7b4287aaef04bd69fbd4af3faf56cccb4
f560e00af37c4f22546abc4c2756e7037adcc40c
refs/heads/master
2022-04-11T09:32:17.512962
2020-03-17T09:30:58
2020-03-17T09:30:58
null
0
0
null
null
null
null
UTF-8
Python
false
false
859
py
def record_factory(cls_name, field_names): try: field_names = field_names.replace(',', " ").split() except AttributeError: pass field_names = tuple(field_names) def __init__(self, *args, **kwargs): attrs = dict(zip(self.__slots__, args)) attrs.update(kwargs) for...
[ "1558255789@qq.com" ]
1558255789@qq.com
c9b993bd57669777535c69f78395ce1a9830a834
9b4de05054f37a65dce49857fb6a809a370b23ca
/person/migrations/0006_person_p_pic.py
83d8c588ec4bf9ffcdb1f63503bcbb531df5df3a
[]
no_license
susahe/gis
f6b03b8f23abf7ca22c0069a4cdf603bfe879808
6b8d433cd5f672994ac138c1b656136425d0c345
refs/heads/master
2021-05-12T01:50:12.862559
2018-01-27T02:25:31
2018-01-27T02:25:31
117,569,888
0
0
null
null
null
null
UTF-8
Python
false
false
405
py
# Generated by Django 2.0 on 2017-12-24 02:54 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('person', '0005_auto_20171223_1730'), ] operations = [ migrations.AddField( model_name='person', name='p_pic', ...
[ "sumudu.susahe@gmail.com" ]
sumudu.susahe@gmail.com
b06929bd407a91e7ab68e1dc6adc7fd2c187e252
c5744c2fda48ae6a79c155c641fe98021a0cb7f3
/PP4E/GUI/ShellGui/shellgui.py
4ed6046c52f0842dac1c08fd92c495f59e463026
[]
no_license
skinkie/Scripts
e0fd3d3f767612ade111f28bc7af3e1b25fc2947
80a1ba71ddf9a0c5ff33866832cb5c42aca0c0b1
refs/heads/master
2021-05-31T16:57:21.100919
2016-05-23T09:58:59
2016-05-23T09:58:59
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,378
py
#!/usr/local/bin/python """ e.g. 10-5 ########################################################################## 工具启动器, 使用guimaker模板, guimixin标准quit对话框; 本程序只是一个类库, 要显示 图形界面, 请运行mytools脚本 ########################################################################## """ from tkinter import * from PP4E.GUI.Tools.guimixin im...
[ "death_finger@sina.com" ]
death_finger@sina.com
b99b31b7c8e48e32e1a03bf35a6111c18816fefe
3541ac16d26462977d0caf31a4c46e86a0f1371c
/virtual/bin/pip
536845ad5c0528c99dcf5626b0fcebe83df5edc7
[ "MIT" ]
permissive
billowbashir/Galleria
686b1c6c6abdbd7d5e64add36f81001d3c441055
1b2488c3e64cfaae2b80cdbae29fbdee4cab4ab8
refs/heads/master
2020-03-30T04:21:21.747881
2018-10-04T09:05:47
2018-10-04T09:05:47
150,738,776
0
0
null
null
null
null
UTF-8
Python
false
false
246
#!/home/bashir/django_gallery/virtual/bin/python # -*- coding: utf-8 -*- import re import sys from pip._internal import main if __name__ == '__main__': sys.argv[0] = re.sub(r'(-script\.pyw?|\.exe)?$', '', sys.argv[0]) sys.exit(main())
[ "billowbashir@gmail.com" ]
billowbashir@gmail.com
d5c5803e28de5641618f37a8118584f59e3f1c58
217c096e56f0ec9d8909bd5b3780c76f2eb75425
/gMiner/operations/desc_stat/graphs.py
45dde9ce5999357ccc1e0663c2e1316b57ae17af
[]
no_license
hjanime/gMiner
71cc846215309b7629d0920ba26301b9eb2c8406
6e4027fc56f0babe512220e5d2c64a1c91a0fd4a
refs/heads/master
2021-01-18T20:28:45.384273
2011-11-10T13:35:54
2011-11-10T13:35:54
null
0
0
null
null
null
null
UTF-8
Python
false
false
14,656
py
""" ============================================= Submodule: gMiner.operations.desc_stat.graphs ============================================= Methos that create the 8 different plots according to the type of statistic to represent. """ # Plotting module # import matplotlib matplotlib.use('Agg', warn=False) import mat...
[ "lucas.sinclair@me.com" ]
lucas.sinclair@me.com
53d67ff92bd610c4d6a221c9495e62e5de801d5a
55eda01bdcbda99f72cfdf0b29afb5ea36756873
/arxiv/kdgan/trials/nobatch/metric.py
26dbe61e3471dd57fefde1c7ec66fffc0b6eedfc
[]
no_license
yyht/KDGAN
7489a0ca1a2f044b6bcb7cd8bb0d6f2dae1da5e7
8f1367d242d7d174bf5bb2740aa18e3846d7b521
refs/heads/master
2020-05-16T08:36:18.872239
2019-01-12T04:17:31
2019-01-12T04:17:31
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,632
py
import numpy as np def compute_score(logits, labels, cutoff, normalize): predictions = np.argsort(-logits, axis=1)[:,:cutoff] batch_size, _ = labels.shape scores = [] for batch in range(batch_size): label_bt = labels[batch,:] label_bt = np.nonzero(label_bt)[0] prediction_bt = pr...
[ "xiaojiew1@student.unimelb.edu.au" ]
xiaojiew1@student.unimelb.edu.au
e8a09f86b623cf02de12091486b33e265ff24e0d
d71530db7c7b2635473c3351b5098139a413bc32
/model/decode_np.py
953645ade827c333dcc594773bad0fa9d685fc56
[]
no_license
joshuazm/Keras-YOLOv4
e35c7db3a23ea5b16e989d8546b2ebf180720cb9
eebf631ef01a559d27bfa1f401052895550ba559
refs/heads/master
2022-08-08T07:51:06.402201
2020-05-20T23:55:07
2020-05-20T23:55:07
265,715,364
1
0
null
2020-05-21T00:25:23
2020-05-21T00:25:22
null
UTF-8
Python
false
false
9,650
py
# -*- coding: utf-8 -*- import random import colorsys import cv2 import time import os import keras import numpy as np import keras.layers as layers from model.yolov4 import YOLOv4 class Decode(object): def __init__(self, obj_threshold, nms_threshold, input_shape, model_path, file_path): self._t1 = obj_t...
[ "53960695+miemie2013@users.noreply.github.com" ]
53960695+miemie2013@users.noreply.github.com
83dd947d41a89af655f1f3fb6aa74965019bf8c2
9cc76b1b1dd0064ab6613cbca6ce93bc179db355
/ros_ws/build/learning_ros/Part_2/lidar_alarm/catkin_generated/pkg.develspace.context.pc.py
e0b46158886e263efb8a7494036a7a51db3b4004
[]
no_license
ABCaps35/learning_ros_ready_ws
1131c32b2ecadffa8dd186c9ebcfdba7284f30ad
1aa9c512d5006584e8bc84101a715e16a222a47d
refs/heads/main
2023-04-03T20:32:58.671255
2021-04-13T23:41:13
2021-04-13T23:41:13
357,715,306
1
0
null
null
null
null
UTF-8
Python
false
false
405
py
# generated from catkin/cmake/template/pkg.context.pc.in CATKIN_PACKAGE_PREFIX = "" PROJECT_PKG_CONFIG_INCLUDE_DIRS = "".split(';') if "" != "" else [] PROJECT_CATKIN_DEPENDS = "roscpp;sensor_msgs;std_msgs".replace(';', ' ') PKG_CONFIG_LIBRARIES_WITH_PREFIX = "".split(';') if "" != "" else [] PROJECT_NAME = "lidar_alar...
[ "acapelli345@gmail.com" ]
acapelli345@gmail.com
55d3863597c6b206e5cdb3d151e7c33a8e4cc987
41dc19883789f45b6086399a1ae23995f53b4b2c
/bayesian-stats-modelling-tutorial/notebooks/utils.py
2b57dbc6659cd9441d8abca762dae681d5171176
[ "MIT" ]
permissive
sunny2309/scipy_conf_notebooks
f86179ddcd67168b709c755cc01862ed7c9ab2bd
30a85d5137db95e01461ad21519bc1bdf294044b
refs/heads/master
2022-10-28T17:27:42.717171
2021-01-25T02:24:05
2021-01-25T02:24:05
221,385,814
2
0
MIT
2022-10-20T02:55:20
2019-11-13T06:12:07
Jupyter Notebook
UTF-8
Python
false
false
492
py
import numpy as np def ECDF(data): """Compute ECDF for a one-dimensional array of measurements.""" # Number of data points n = len(data) # x-data for the ECDF x = np.sort(data) # y-data for the ECDF y = np.arange(1, n+1) / n return x, y def despine(ax): ax.spines['right'].set_...
[ "sunny.2309@yahoo.in" ]
sunny.2309@yahoo.in
e96a9e2d544fe3df65de440760a2510d46864deb
a8042cb7f6a4daec26b8cea6b7da2cb7cb880a84
/997_FindtheTownJudge.py
3d35d0d8a85d7fad9c59f1adab8826c33b289454
[]
no_license
renukadeshmukh/Leetcode_Solutions
0108edf6c5849946623a75c2dfd57cbf9bb338e4
1211eac167f33084f536007468ea10c1a0ceab08
refs/heads/master
2022-11-10T20:48:42.108834
2022-10-18T07:24:36
2022-10-18T07:24:36
80,702,452
3
0
null
null
null
null
UTF-8
Python
false
false
1,824
py
''' 997. Find the Town Judge In a town, there are N people labelled from 1 to N. There is a rumor that one of these people is secretly the town judge. If the town judge exists, then: The town judge trusts nobody. Everybody (except for the town judge) trusts the town judge. There is exactly one person that satisfies ...
[ "renud1988@gmail.com" ]
renud1988@gmail.com
b7fd323fcc803b1f893482e9a3dfdda684488089
35a2a3f5fa6573c32e411d399a60e6f67ae51556
/example/fcn-xs/solver.py
cf7298b83c8c69283950847701c0c82c30e9b383
[ "Apache-2.0", "BSD-2-Clause-Views", "Zlib", "BSD-2-Clause", "BSD-3-Clause", "Intel", "LicenseRef-scancode-proprietary-license", "CC-BY-NC-4.0" ]
permissive
TuSimple/mxnet
21c1b8fedd1a626cb57189f33ee5c4b2b382fd79
4cb69b85b4db8e1492e378c6d1a0a0a07bd737fb
refs/heads/master
2021-01-09T07:59:24.301512
2019-07-27T00:56:52
2019-07-27T00:56:52
53,660,918
33
47
Apache-2.0
2019-07-27T01:09:17
2016-03-11T10:56:36
Python
UTF-8
Python
false
false
7,190
py
# Licensed to the Apache Software Foundation (ASF) under one # or more contributor license agreements. See the NOTICE file # distributed with this work for additional information # regarding copyright ownership. The ASF licenses this file # to you under the Apache License, Version 2.0 (the # "License"); you may not u...
[ "piiswrong@users.noreply.github.com" ]
piiswrong@users.noreply.github.com
416a5be967979ccd729bd346dbadfa91fc98de62
bebba3fb1dfc13a2220f06997c4bc8da42ef8e87
/smashlib/ipy3x/nbconvert/exporters/pdf.py
873282d02c0808d0c87c8868da6db44206a5ad4e
[ "MIT" ]
permissive
mattvonrocketstein/smash
b48b93c3419637f615c7ac3386b04ae756e1fadc
98acdc27ab72ca80d9a7f63a54c0d52f126a8009
refs/heads/master
2021-01-18T23:23:59.340206
2016-07-14T01:28:17
2016-07-14T01:28:17
2,813,958
2
1
null
null
null
null
UTF-8
Python
false
false
5,514
py
"""Export to PDF via latex""" # Copyright (c) IPython Development Team. # Distributed under the terms of the Modified BSD License. import subprocess import os import sys from IPython.utils.traitlets import Integer, List, Bool, Instance from IPython.utils.tempdir import TemporaryWorkingDirectory from .latex import La...
[ "matthewvonrocketstein@gmail-dot-com" ]
matthewvonrocketstein@gmail-dot-com
baad1ea61ddcc627ef3a4d33fe866a8b0fce5db7
a11aa2be20ccc0c814153e7f17813f412c8a3d45
/tests/testapp/settings.py
d96ff9bf0456cd192716dbc6f613ad51f00dd48c
[ "BSD-3-Clause" ]
permissive
Jiaming1999/django-beam
32e80ab3472fc5aa25b79dabdb21080e89804bdc
cba5874bfef414e65051c2534cf03c772a4da98c
refs/heads/master
2023-08-16T04:59:20.479734
2021-10-25T13:18:30
2021-10-25T13:18:30
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,282
py
DATABASES = {"default": {"ENGINE": "django.db.backends.sqlite3", "NAME": ":memory:"}} INSTALLED_APPS = [ "beam", "beam.themes.bootstrap4", "testapp", "crispy_forms", "django.contrib.contenttypes", # "django.contrib.admin", "django.contrib.sessions", "django.contrib.auth", # contrib....
[ "raphael.kimmig@ampad.de" ]
raphael.kimmig@ampad.de
ea6fd4211b60f7aa09852c2f5c2444edc83a6746
7dc979ea076e825b9237da7564c30ea1008ddbe6
/manage.py
5693d5e00241ccb0bd86d7ea8aa62a06859e674b
[]
no_license
rudiq4/rozetka
3bf8a730c16703d2780496cdd81847f225de7f75
9c2064adb3dfa99234609637e2564cc1221960b0
refs/heads/master
2022-12-14T13:33:04.024608
2020-04-23T19:49:49
2020-04-23T19:49:49
240,709,760
0
0
null
2022-12-08T03:39:10
2020-02-15T12:45:38
HTML
UTF-8
Python
false
false
627
py
#!/usr/bin/env python """Django's command-line utility for administrative tasks.""" import os import sys def main(): os.environ.setdefault('DJANGO_SETTINGS_MODULE', 'rozetka.settings') try: from django.core.management import execute_from_command_line except ImportError as exc: raise Import...
[ "rudikvovan@gmail.com" ]
rudikvovan@gmail.com
cc17a773ede83ac3e9cf349ec624f77af64bc738
b53141494618cd6c1bc96960f9a6026257f9fbb3
/packaging/setup/plugins/ovirt-engine-setup/apache/selinux.py
6cd9eb057f0264cc12be97b40dcb50745ffdbcb0
[ "Apache-2.0" ]
permissive
SunOfShine/ovirt-engine
b97454017c86e7729265dc70bbf58f1d0319c560
7684597e2d38ff854e629e5cbcbb9f21888cb498
refs/heads/master
2020-12-30T19:23:27.311186
2013-05-13T20:36:58
2013-06-09T09:42:14
10,784,897
1
0
null
null
null
null
UTF-8
Python
false
false
2,213
py
# # ovirt-engine-setup -- ovirt engine setup # Copyright (C) 2013 Red Hat, Inc. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless r...
[ "gerrit2@gerrit.ovirt.org" ]
gerrit2@gerrit.ovirt.org
fd2e282016d51faca7f03108af89b284f4cec396
72764f01185c872daa7519f919511f6a49ecf94e
/Basic_App/models.py
767c729f46a33c3a0bfbb4f0dbfc8704c8a39866
[]
no_license
Alan-thapa98/Online-Shopping-master
9df018293d42e08060f72f0c3d566fb2de5ce30a
6de6552edc67495e9902154f83a73b2a7c759f7b
refs/heads/master
2023-06-25T06:10:39.141935
2021-07-30T16:06:20
2021-07-30T16:06:20
391,121,088
1
0
null
null
null
null
UTF-8
Python
false
false
2,104
py
from django.db import models # Create your models here. class home(models.Model): author=models.ForeignKey('auth.User',on_delete=models.CASCADE) title=models.CharField(max_length=200) price=models.FloatField() image=models.ImageField(upload_to='media/home') details=models.TextField() posted_o...
[ "alanthapa98.gmail.com" ]
alanthapa98.gmail.com
5909d464cdf9b56d9f67865e413a18d52700f581
56ca0c81e6f8f984737f57c43ad8d44a84f0e6cf
/src/raport_slotow/tests/test_views/test_raport_slotow_autor.py
b3c12f85003d3d7324d8ec69c4f9edd627a7b676
[ "MIT" ]
permissive
iplweb/bpp
c40f64c78c0da9f21c1bd5cf35d56274a491f840
a3d36a8d76733a479e6b580ba6ea57034574e14a
refs/heads/dev
2023-08-09T22:10:49.509079
2023-07-25T04:55:54
2023-07-25T04:55:54
87,017,024
2
0
NOASSERTION
2023-03-04T04:02:36
2017-04-02T21:22:20
Python
UTF-8
Python
false
false
439
py
from django.urls import reverse def test_RaportSlotow_get_pdf(admin_app, autor_jan_kowalski): url = reverse("raport_slotow:index") form_page = admin_app.get(url) form_page.forms[0]["obiekt"].force_value(autor_jan_kowalski.pk) raport_page = form_page.forms[0].submit().maybe_follow() pdf_page = r...
[ "michal.dtz@gmail.com" ]
michal.dtz@gmail.com
366ba960d296aa971689f7a44844442e3718aa6e
5f58ceeffe080fabda0ad7ef30e2f04acc233271
/demo/plugins/file_ops/template.py
24bbac6eaa6a0961698fbf8c68a54cb32ca40595
[]
no_license
EDRN/jpl.pipedreams
a9c9f2b25260ffe5a18b1ae12f6a5f08894f1533
ecbdb280d25d123e9a7a0dcb505ceec40eaf047e
refs/heads/main
2023-08-25T08:48:14.265406
2021-10-26T18:45:13
2021-10-26T18:45:13
380,337,383
0
0
null
2021-07-02T19:06:51
2021-06-25T19:35:26
Python
UTF-8
Python
false
false
876
py
# encoding: utf-8 from jpl.pipedreams.plugins_ops import Plugin class Template(Plugin): def __init__(self): super().__init__() self.description = 'for basic file ops' def get_bytes(self, *args, **kwargs): raise NotImplementedError def read_str(self, *args, **kwargs): rai...
[ "kelly@seankelly.biz" ]
kelly@seankelly.biz
e8d31cd5c24ee547db03c38c29d1f4d6cc81f24e
b8062e01860960131b37e27298b6b755b4191f5f
/cplusplus/contrib/HandWrite/presenterserver/hand_write/src/config_parser.py
d047e6c703f5801d764c9cb6b4588929bc61f180
[ "Apache-2.0" ]
permissive
RomanGaraev/samples
4071fcbe6bf95cf274576665eb72588568d8bcf2
757aac75a0f3921c6d1b4d98599bd7d4ffda936b
refs/heads/master
2023-07-16T02:17:36.640036
2021-08-30T15:14:05
2021-08-30T15:14:05
null
0
0
null
null
null
null
UTF-8
Python
false
false
3,434
py
# ======================================================================= # # Copyright (C) 2018, Hisilicon Technologies Co., Ltd. All Rights Reserved. # # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the following conditions are met: # # 1 Redistrib...
[ "derek.qian.wang@huawei.com" ]
derek.qian.wang@huawei.com
2af78ce0a40eda8b75a944402af2b657dc3a437d
8c45e306209f4560309374828042819e6e5ddfc5
/Visual-IDE/Model/models.py
dc8c4b9ff539aa4560a8ea76ad88bb2c4f1463cc
[]
no_license
franklingu/Visual-IDE
2ee2640c2c98ecf076d7b925d1095ff565433673
9f2acc4283044aa3ea77a3fd01e5edad79e4ea10
refs/heads/master
2020-05-18T11:52:53.978165
2014-11-10T03:51:40
2014-11-10T03:51:40
24,674,470
0
1
null
2014-10-26T07:09:07
2014-10-01T10:33:16
JavaScript
UTF-8
Python
false
false
2,289
py
from google.appengine.ext import db class SavedProject(db.Model): user_email = db.EmailProperty() project_title = db.StringProperty() project_content = db.TextProperty() created_at = db.DateTimeProperty(auto_now_add=True) class DbManager(object): def __init__(self): super(DbManager, self...
[ "franklingujunchao@gmail.com" ]
franklingujunchao@gmail.com
da20ae6db24880030b45ad77229b59f4fa7c4a86
e1a7d00dbe27403427078c627ccebe1562a6049d
/mercury/model/clients/client/shortcut.py
1a7b319d0fa32f71dae07a4b75a8087cd3ed2d88
[ "Apache-2.0" ]
permissive
greenlsi/mercury_mso_framework
f24fc167230057bb07b7de5dc9fbb10490293fee
cb425605de3341d27ce43fb326b300cb8ac781f6
refs/heads/master
2023-04-28T02:18:16.362823
2023-04-18T12:03:23
2023-04-18T12:03:23
212,610,400
2
1
Apache-2.0
2023-03-02T14:36:56
2019-10-03T15:12:32
Python
UTF-8
Python
false
false
2,301
py
from mercury.msg.packet import AppPacket, NetworkPacket, PhysicalPacket, PacketInterface from mercury.msg.packet.app_packet.acc_packet import AccessPacket from mercury.msg.packet.app_packet.srv_packet import SrvPacket from typing import Generic, Type from ...common import ExtendedAtomic from xdevs.models import Port ...
[ "rcardenas.rod@gmail.com" ]
rcardenas.rod@gmail.com
c3b35eec240bedc549d923ed1619303e89db9956
bd75c7ec55b78ef189f57596520744f82ec73073
/Restore IP Addresses.py
982bfe59424d2b68d11b0afcfdc62100bfe8524f
[]
no_license
GaoLF/LeetCode-PY
17058ac0743403292559f9b83a20bf79d89e33f6
ccd294cfe0c228a21518d077d1aa01e510930ea3
refs/heads/master
2021-01-23T02:24:05.940132
2015-07-22T13:44:01
2015-07-22T13:44:01
38,248,471
0
0
null
null
null
null
UTF-8
Python
false
false
1,458
py
#coding=utf-8 class Solution: # @param {string} s # @return {string[]} def restoreIpAddresses(self, s): res = [] self.solve(s,0,0,res,"") return res # 几点注意事项:当位数太多或者太少,都不能组成 # 当第一个数是0的时候,只能当0 def solve(self,s,i,begin,res,string): size = len(s) if (size - begin) < ...
[ "gaolongfei@pku.edu.cn" ]
gaolongfei@pku.edu.cn
7adc594346e952c66be110d2560704c21d224bf0
acd41dc7e684eb2e58b6bef2b3e86950b8064945
/res/packages/scripts/scripts/common/Lib/plat-irix5/panel.py
c46a1d28e7c386cfb3ca4cdfbf0af379ca3e165d
[]
no_license
webiumsk/WoT-0.9.18.0
e07acd08b33bfe7c73c910f5cb2a054a58a9beea
89979c1ad547f1a1bbb2189f5ee3b10685e9a216
refs/heads/master
2021-01-20T09:37:10.323406
2017-05-04T13:51:43
2017-05-04T13:51:43
90,268,530
0
0
null
null
null
null
WINDOWS-1250
Python
false
false
5,364
py
# 2017.05.04 15:33:49 Střední Evropa (letní čas) # Embedded file name: scripts/common/Lib/plat-irix5/panel.py from warnings import warnpy3k warnpy3k('the panel module has been removed in Python 3.0', stacklevel=2) del warnpy3k import pnl debug = 0 def is_list(x): return type(x) == type([]) def reverse(list): ...
[ "info@webium.sk" ]
info@webium.sk
5bf80d863d186f3a1ae4e7423084819ebb3e22d2
de24f83a5e3768a2638ebcf13cbe717e75740168
/moodledata/vpl_data/303/usersdata/277/85229/submittedfiles/testes.py
d4013f6e86810a783d2c7133b2a748973ae519a1
[]
no_license
rafaelperazzo/programacao-web
95643423a35c44613b0f64bed05bd34780fe2436
170dd5440afb9ee68a973f3de13a99aa4c735d79
refs/heads/master
2021-01-12T14:06:25.773146
2017-12-22T16:05:45
2017-12-22T16:05:45
69,566,344
0
0
null
null
null
null
UTF-8
Python
false
false
1,023
py
from minha_bib import * nota1 = ler_inteiro() nota2 = ler_inteiro_msg('minha msg de input aqui: ') print (media(nota1,nota2)) """ while(True): while(True): n = int(input("Digite um numero inteiro positivo: ")) if (n >= 0) : break f = 1 f...
[ "rafael.mota@ufca.edu.br" ]
rafael.mota@ufca.edu.br
b27fbb843467b18be113187788bfa1fff7bf50fa
786de89be635eb21295070a6a3452f3a7fe6712c
/InterfaceCtlr/tags/V01-00-25/web/icws/config/middleware.py
1c5036406ef9ec4f50474a412cfbaa7cf56be1dc
[]
no_license
connectthefuture/psdmrepo
85267cfe8d54564f99e17035efe931077c8f7a37
f32870a987a7493e7bf0f0a5c1712a5a030ef199
refs/heads/master
2021-01-13T03:26:35.494026
2015-09-03T22:22:11
2015-09-03T22:22:11
null
0
0
null
null
null
null
UTF-8
Python
false
false
3,060
py
"""Pylons middleware initialization""" from beaker.middleware import CacheMiddleware, SessionMiddleware from paste.cascade import Cascade from paste.registry import RegistryManager from paste.urlparser import StaticURLParser from paste.deploy.converters import asbool from pylons import config from pylons.middleware imp...
[ "salnikov@SLAC.STANFORD.EDU@b967ad99-d558-0410-b138-e0f6c56caec7" ]
salnikov@SLAC.STANFORD.EDU@b967ad99-d558-0410-b138-e0f6c56caec7
3282930d830eed41d2bc689235584f254e71ee95
3c000380cbb7e8deb6abf9c6f3e29e8e89784830
/venv/Lib/site-packages/cobra/modelimpl/smartfault/ruleinst.py
d20ec0c3006f9d3a6d4fdad3c8dd8f61fa79d5e6
[]
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
6,289
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
cc84edf7c53698b41332e6856bf4369aa93221e1
d04d3eec289376e7682403af2f32044b3991d27b
/10 - Exams/ExamPrepF-7.py
50cd7a3f8f1c1ea3e3e759d4d225b6f5c7855296
[]
no_license
m-evtimov96/softUni-python-fundamentals
190002dbc6196211340126814e8ed4fce3b8a07f
817a44a3d78130d37e58facfc7bcfdc8af5f4051
refs/heads/master
2020-12-10T12:45:27.847764
2020-06-23T13:09:43
2020-06-23T13:09:43
233,598,519
0
0
null
null
null
null
UTF-8
Python
false
false
1,297
py
username = input() while True: input_line = input() if input_line == "Sign up": break input_line = input_line.split() command = input_line[0] if command == "Case": case_type = input_line[1] if case_type == "lower": username = username.lower() elif case_t...
[ "m.evtimov196@gmail.com" ]
m.evtimov196@gmail.com
9972224be353e26764302da53393a31f7934be5e
09934eefaada5f1b8048215f0cda4083a60d9091
/lib/chy506r/api/__init__.py
3b37fd3b4360536c2fc1b0a68f5cbaae8cb8685b
[ "MIT" ]
permissive
ztmir/chy506r
2b531b0858fb8b6dc43b873a19d998e29598eac5
10121baa70765b1a53b0d576dc11660bb3dd725a
refs/heads/master
2021-04-06T06:41:32.448764
2018-03-14T22:03:02
2018-03-14T22:03:02
125,049,662
0
1
null
null
null
null
UTF-8
Python
false
false
153
py
# -*- coding: utf8 -*- from .. import util util.import_all_from(__package__, [ '.chy506r_', '.plotter_', ]) # vim: set ft=python et ts=4 sw=4:
[ "ptomulik@meil.pw.edu.pl" ]
ptomulik@meil.pw.edu.pl
75ca3880c6086aa02177d3ed1095647dfcb4d588
4c44cd6df77589a43f3ad0527f11cb1842d09a3b
/scout/commands/download/__init__.py
0a3aa793b4ad154f031c752f26f847deaf1b5eef
[ "BSD-3-Clause" ]
permissive
Clinical-Genomics/scout
b2118a06a534917734ed8575a3bd252691fbf3e4
1e6a633ba0a83495047ee7b66db1ebf690ee465f
refs/heads/main
2023-09-04T06:50:31.518288
2023-09-01T13:33:40
2023-09-01T13:33:40
25,027,539
143
64
BSD-3-Clause
2023-09-14T05:49:33
2014-10-10T08:44:01
HTML
UTF-8
Python
false
false
39
py
from .download_command import download
[ "mans.magnusson@scilifelab.se" ]
mans.magnusson@scilifelab.se
5a16a541e0ff8f2ea18cba1a2dc332b762134f5e
2ecca33f7b934c69ab5383a24dd820b01bdc3617
/tests/people_test.py
50681da4ac429468e8b1b544ab0567a9b6677255
[]
no_license
mentalclear/tau-api-testing-python
b2ff6e1e541e351385ea813faba8f0528749bca9
5648a70e4089c455b7d7322fd3d4a8324d7d1dcb
refs/heads/master
2023-07-15T00:21:44.093476
2021-08-31T12:08:50
2021-08-31T12:08:50
397,907,679
0
0
null
null
null
null
UTF-8
Python
false
false
3,976
py
import requests from assertpy.assertpy import assert_that from json import dumps, loads from config import BASE_URI from utils.print_helpers import pretty_print from uuid import uuid4 import pytest import random from utils.file_reader import read_file from jsonpath_ng import parse def test_read_all_has_kent(): re...
[ "mentalclear@gmail.com" ]
mentalclear@gmail.com
d6c7d16d2e4f6624fb2f38f6d4de4b2af9ff0a13
de24f83a5e3768a2638ebcf13cbe717e75740168
/moodledata/vpl_data/138/usersdata/164/53382/submittedfiles/volumeTV.py
3b3527168f49c2e6a7820c671bc7ad0039a79cef
[]
no_license
rafaelperazzo/programacao-web
95643423a35c44613b0f64bed05bd34780fe2436
170dd5440afb9ee68a973f3de13a99aa4c735d79
refs/heads/master
2021-01-12T14:06:25.773146
2017-12-22T16:05:45
2017-12-22T16:05:45
69,566,344
0
0
null
null
null
null
UTF-8
Python
false
false
263
py
v=int(input('Digite o volume inicial: ')) t=int(input('Digite quantas vezes houve a troca de volume: ')) volume=0 for i in range (1, t+1, 1): a=int(input('Digite a modificação do volume: ')) while (0<volume<100): volume=v=a print(volume)
[ "rafael.mota@ufca.edu.br" ]
rafael.mota@ufca.edu.br
ddfb388db7ce08f39b58b80d878e30f9f5ea59aa
a22ca8cd5e434a28677e8f21c2afc6f32359a675
/rentomatic-master/rentomatic/rest/storageroom.py
34d8627fd4dff69ead4f716952960338c877d344
[ "MIT" ]
permissive
wangdan25/rentomatic
34cc78b73a894bae8e6a990cdf7d9a839d57980d
2931a4f5ff8727b4e20c89004609aacd181f161c
refs/heads/master
2022-06-21T05:35:37.306044
2020-05-13T04:05:26
2020-05-13T04:05:26
263,348,089
0
0
null
null
null
null
UTF-8
Python
false
false
1,783
py
import json from flask import Blueprint, request, Response from rentomatic.use_cases import request_objects as req from rentomatic.shared import response_object as res from rentomatic.repository import memrepo as mr from rentomatic.use_cases import storageroom_use_cases as uc from rentomatic.serializers import storage...
[ "you@example.com" ]
you@example.com
fb742151862b0bda3389cc7b8b8bd9e6948ccb69
8630c0a928f1e112b7cb67f2cab8ce212a231063
/unhelpful/robinhood.py
1cd653f36e7debfa6620df557d62510dfc6a0a56
[ "MIT" ]
permissive
lockefox/unhelpful-stockbot
4958201bc925ff6e00dfe0c170574aa27fb07329
d0d8a282788843c6a5b4065681a1542be432e8bb
refs/heads/master
2023-05-28T08:00:45.646039
2019-09-22T19:37:58
2019-09-22T19:37:58
197,688,810
0
0
MIT
2023-05-22T22:28:14
2019-07-19T02:36:41
Python
UTF-8
Python
false
false
4,253
py
"""utilities for collecting stock quotes from Robinhood""" import os import pkgutil import logging import requests from . import exceptions from .utilities import get_config class RobinhoodConnection: """contextmanater for handling authenticated feeds from Robinhood Args: username (str): Robinhood ...
[ "locke.renard@gmail.com" ]
locke.renard@gmail.com
d46197609d8e954b8cb87398f8a03cc13f5b8022
675a6ed1aa824ac801783471e634e538d11acc8d
/examples/example_flask/example_formatter.py
6edf6309f9d3a0cca24cee0b6a42698f229fee93
[ "MIT" ]
permissive
Eastwu5788/pre-request
7ea50b3930252b5a0f99bf9588d0fdd8f4ae4562
42da2bf5edc6690983188e1ee013c810ef8985db
refs/heads/master
2023-05-24T22:53:04.353491
2022-01-26T02:03:57
2022-01-26T02:03:57
100,257,925
102
9
MIT
2023-05-23T03:10:20
2017-08-14T10:56:59
Python
UTF-8
Python
false
false
966
py
# !/usr/local/python/bin/python # -*- coding: utf-8 -*- # (C) Wu Dong, 2020 # All rights reserved # @Author: 'Wu Dong <wudong@eastwu.cn>' # @Time: '2020-04-09 14:43' # 3p from flask import Flask from pre_request import pre, Rule def custom_formatter(code, msg): """ 自定义结果格式化函数 :param code: 响应码 :param msg:...
[ "wudong@eastwu.cn" ]
wudong@eastwu.cn
352e2af0fc2126431efc05449e46c709820dc0f9
6fa7f99d3d3d9b177ef01ebf9a9da4982813b7d4
/jecvfH5eyGLrSwzNh_17.py
530d24676f42b48dd2c4961e0b3a2513ec1f1914
[]
no_license
daniel-reich/ubiquitous-fiesta
26e80f0082f8589e51d359ce7953117a3da7d38c
9af2700dbe59284f5697e612491499841a6c126f
refs/heads/master
2023-04-05T06:40:37.328213
2021-04-06T20:17:44
2021-04-06T20:17:44
355,318,759
0
0
null
null
null
null
UTF-8
Python
false
false
308
py
import re animals = ["muggercrocodile","one-hornedrhino","python","moth","monitorlizard","bengaltiger"] def fauna_number(txt): numbers = re.findall(r'\d+',txt) words = list(filter(lambda x: x in txt,animals)) words.sort(key = lambda x: txt.index(x)) return [(a,b) for a,b in zip(words,numbers)]
[ "daniel.reich@danielreichs-MacBook-Pro.local" ]
daniel.reich@danielreichs-MacBook-Pro.local
9c2ea26cbc755a4f53cb515c72985b5c247d054c
8787b2fbb5017b61dcf6075a5261071b403847bf
/SWExpert/5607. [Professional] 조합.py
fcdb69ef676bc6db7fed89d771db093ff9716b60
[]
no_license
khw5123/Algorithm
a6fe0009e33289813959553c2366d77c93d7b4b9
323a829f17a10276ab6f1aec719c496a3e76b974
refs/heads/master
2023-01-02T00:12:21.848924
2020-10-23T06:37:41
2020-10-23T06:37:41
282,162,235
0
0
null
null
null
null
UTF-8
Python
false
false
562
py
mod = 1234567891 def solve(n, x): global mod if x == 0: return 1 num = solve(n, x//2) ret = (num * num) % mod if x % 2 == 0: return ret else: return (ret * n) % mod for t in range(int(input())): n, r = map(int, input().split()) factorial = [1]*(n+...
[ "5123khw@hknu.ac.kr" ]
5123khw@hknu.ac.kr
e59076dee354b00a64db896638e8653321649719
e50954bb35fbc377a1c9a6842fa4ceb6b6234b39
/zips/plugin.close.kodi/default.py
cf8025c16c341cd3914cfd0680ef5f9e8c1a1fc2
[]
no_license
staycanuca/BUILDONLY
f213e242ed869475668933ac7b6ee2d4e8508bbc
f87684bf0111a1079b0e1184e1bfca3f2c5348ed
refs/heads/master
2021-05-09T04:54:22.747154
2018-01-28T08:55:07
2018-01-28T08:55:07
null
0
0
null
null
null
null
UTF-8
Python
false
false
10,001
py
import xbmc, xbmcaddon, xbmcgui, xbmcplugin,os,sys,xbmcvfs import shutil import urllib2,urllib import re addon_id = 'plugin.close.kodi' ADDON = xbmcaddon.Addon(id=addon_id) FANART = xbmc.translatePath(os.path.join('special://home/addons/' + addon_id , 'fanart.jpg')) ICON = xbmc.translatePath(os.path.join('special://ho...
[ "biglad@mgawow.co.uk" ]
biglad@mgawow.co.uk
566b75c70f81b310ab1705e6cd84012d7fcc8f98
ad0910142f3e0a5cb0c17ec3ef96c68ee9e63798
/qt/lineedit/le_2.py
32acaa46b0693d343d1ac12eebf13789bbb8c9aa
[]
no_license
notmikeb/workspace
94cce9d4c39e78b0471ff75f8af03576d93410e5
be350091237dc7c318e4d9f1c9ac6a2f10356b82
refs/heads/master
2021-01-19T04:16:06.049253
2019-09-24T14:50:00
2019-09-24T14:50:00
43,929,782
1
0
null
null
null
null
UTF-8
Python
false
false
3,599
py
import sys from PyQt4.QtCore import * from PyQt4.QtGui import * # http://www.saltycrane.com/blog/2008/01/python-pyqt-tab-completion-example/ LIST_DATA = ['a', 'aardvark', 'aardvarks', 'aardwolf', 'aardwolves', 'abacus', 'babel', 'bach', 'cache', 'daggle', 'facet', 'kabob', 'kansas'] ######...
[ "notmikeb@gmail.com" ]
notmikeb@gmail.com
219986d7e18dee3ec7e5c8aa82e15af9ecc87ab4
9bb01fa882e713aa59345051fec07f4e3d3478b0
/examples/memory.py
fe52ab2be578f504f2cd96d164193a9464fee3c4
[]
no_license
syarra/cysparse
f1169c496b54d61761fdecbde716328fd0fb131b
7654f7267ab139d0564d3aa3b21c75b364bcfe72
refs/heads/master
2020-05-25T16:15:38.160443
2017-03-14T21:17:39
2017-03-14T21:17:39
84,944,993
0
0
null
2017-03-14T12:11:48
2017-03-14T12:11:48
null
UTF-8
Python
false
false
592
py
from cysparse.sparse.ll_mat import * A = ArrowheadLLSparseMatrix(nrow=50, ncol=800, itype=INT32_T, dtype=COMPLEX128_T) print A print "In bytes:" print A.memory_real_in_bytes() print A.memory_virtual_in_bytes() print A.memory_element_in_bytes() print "In bits:" print A.memory_real_in_bits() print A.memory_virtual_in...
[ "nikolaj.van.omme@gmail.com" ]
nikolaj.van.omme@gmail.com
a5beb4f64c56e337ed39593290ee686d6f416492
8f1c3c76bf8514818b733ba29fe575d8a5243add
/eduerp_health/models/health.py
9f3a9a81be4161a4552cb29af6366a8395a72087
[ "Apache-2.0" ]
permissive
westlyou/eduerp
27f1c7dcd0d2badf50cb6c69f5e761d7f0c6a898
968d79b5adc729bc81192604f1fc223517d38ccf
refs/heads/master
2021-06-04T05:11:13.858246
2016-09-12T07:21:17
2016-09-12T07:21:17
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,837
py
# -*- coding: utf-8 -*- ############################################################################### # ############################################################################### from openerp import models, fields, api from openerp.exceptions import ValidationError class OpHealth(models.Model): _name = 'o...
[ "huysamdua@yahoo.com" ]
huysamdua@yahoo.com
5571c96e15fc719da364f819f949990fcbf2194c
71f00ed87cd980bb2f92c08b085c5abe40a317fb
/Data/GoogleCloud/google-cloud-sdk/lib/googlecloudsdk/third_party/apis/datacatalog/v1/datacatalog_v1_messages.py
7a88569cee4a31f1cafe1e8ec5bf3c2d9ec5ad3d
[ "LicenseRef-scancode-unknown-license-reference", "Apache-2.0" ]
permissive
factoryofthesun/Rao-NLP
2bd8269a8eed1cb352c14c8fde88e3111ccca088
87f9723f5ee51bd21310d58c3425a2a7271ec3c5
refs/heads/master
2023-04-18T08:54:08.370155
2020-06-09T23:24:07
2020-06-09T23:24:07
248,070,291
0
1
null
2021-04-30T21:13:04
2020-03-17T20:49:03
Python
UTF-8
Python
false
false
73,479
py
"""Generated message classes for datacatalog version v1. A fully managed and highly scalable data discovery and metadata management service. """ # NOTE: This file is autogenerated and should not be edited by hand. from apitools.base.protorpclite import messages as _messages from apitools.base.py import encoding pac...
[ "guanzhi97@gmail.com" ]
guanzhi97@gmail.com
193729fe025f3c1a9a71925ec6b0f7dae9c8690c
9743d5fd24822f79c156ad112229e25adb9ed6f6
/xai/brain/wordbase/adjectives/_bananas.py
5da6d16ede25e387d2fefa2b110d677e35f5187a
[ "MIT" ]
permissive
cash2one/xai
de7adad1758f50dd6786bf0111e71a903f039b64
e76f12c9f4dcf3ac1c7c08b0cc8844c0b0a104b6
refs/heads/master
2021-01-19T12:33:54.964379
2017-01-28T02:00:50
2017-01-28T02:00:50
null
0
0
null
null
null
null
UTF-8
Python
false
false
415
py
#calss header class _BANANAS(): def __init__(self,): self.name = "BANANAS" self.definitions = [u'very silly: ', u'to become extremely angry or excited: '] self.parents = [] self.childen = [] self.properties = [] self.jsondata = {} self.specie = 'adjectives' def run(self, obj1, obj2): self.json...
[ "xingwang1991@gmail.com" ]
xingwang1991@gmail.com
94be52a0d8e1a98746498a2dbed1d977ed3cb079
adea9fc9697f5201f4cb215571025b0493e96b25
/napalm_yang/models/openconfig/network_instances/network_instance/protocols/protocol/isis/levels/level/link_state_database/lsp/tlvs/tlv/isis_neighbor_attribute/neighbors/neighbor/subTLVs/subTLVs_/admin_group/state/__init__.py
1869bcea9f51acf6ed89daa7254822985966a1df
[ "Apache-2.0" ]
permissive
andyjsharp/napalm-yang
d8a8b51896ef7c6490f011fe265db46f63f54248
ef80ebbfb50e188f09486380c88b058db673c896
refs/heads/develop
2021-09-09T02:09:36.151629
2018-03-08T22:44:04
2018-03-08T22:44:04
114,273,455
0
0
null
2018-03-08T22:44:05
2017-12-14T16:33:35
Python
UTF-8
Python
false
false
362,270
py
from operator import attrgetter from pyangbind.lib.yangtypes import RestrictedPrecisionDecimalType from pyangbind.lib.yangtypes import RestrictedClassType from pyangbind.lib.yangtypes import TypedListType from pyangbind.lib.yangtypes import YANGBool from pyangbind.lib.yangtypes import YANGListType from pyangbind.lib.y...
[ "dbarrosop@dravetech.com" ]
dbarrosop@dravetech.com
4c7d34cab8e0809dd3e4b61828e891a790c80f34
90f7253957e25105950c2a0305033c14302237bb
/encapsulation/exercise/pizza_calories/project/topping.py
652473d33ba12823fdc496424478646c1607281e
[]
no_license
DeanDupalov/Softuni-Python-OOP
a4f010a7a218d4cdd466e2158dcea2e861304627
72fb3f00991419ef55f6c53101edba7fbb84746b
refs/heads/master
2023-04-01T01:59:50.441918
2021-04-12T18:47:56
2021-04-12T18:47:56
340,356,051
1
1
null
null
null
null
UTF-8
Python
false
false
492
py
class Topping: topping_type: str weight: float def __init__(self, topping_type, weight): self.topping_type = topping_type self.weight = weight @property def topping_type(self): return self.__topping_type @topping_type.setter def topping_type(self, value): s...
[ "75751527+DeanDupalov@users.noreply.github.com" ]
75751527+DeanDupalov@users.noreply.github.com
bbf11456a422f642b88c670ac1315b8d736a4d2d
d57b51ec207002e333b8655a8f5832ed143aa28c
/.history/gos_20200614060327.py
43b8bc11b0159debb65da784dff5c6138f57f685
[]
no_license
yevheniir/python_course_2020
b42766c4278a08b8b79fec77e036a1b987accf51
a152d400ab4f45d9d98d8ad8b2560d6f0b408c0b
refs/heads/master
2022-11-15T07:13:24.193173
2020-07-11T15:43:26
2020-07-11T15:43:26
278,890,802
0
1
null
null
null
null
UTF-8
Python
false
false
4,895
py
# # Імпорт фажливих бібліотек # from BeautifulSoup import BeautifulSoup # import urllib2 # import re # # Створення функції пошуку силок # def getLinks(url): # # отримання та присвоєння контенту сторінки в змінну # html_page = urllib2.urlopen(url) # # Перетворення контенту в обєкт бібліотеки BeautifulSoup #...
[ "yevheniira@intelink-ua.com" ]
yevheniira@intelink-ua.com
18ba6200a6df7e620bdb37d52e470e7c9cb06db9
3cf66bb76a6d8bef1c1945c1bdef0b16254e3470
/windows/lng_window.py
465c49a000104327cab11d89164f44f5319f7d1b
[]
no_license
DmitryChitalov/OpenFOAM_decompose_GUI
f055b6d24c90dab07140713960003107d72aea1c
fd614b2c77df327588809fccbc7a233ce59c1688
refs/heads/master
2020-04-17T17:08:38.821276
2019-01-21T07:57:50
2019-01-21T07:57:50
166,770,899
0
0
null
null
null
null
UTF-8
Python
false
false
4,683
py
# -*- coding: utf-8 -*- # -------------------------------Импорт модулей----------------------------------# from PyQt5 import QtCore from PyQt5 import QtSql from PyQt5 import QtGui import shutil import sys import re import os import os.path from PyQt5.QtWidgets import QWidget, QFileDialog, QLineEdit, QLabel, \ QHB...
[ "cdi9@yandex.ru" ]
cdi9@yandex.ru
ed215734cf4c04b73afad4971cafa935f9826513
3a533d1503f9a1c767ecd3a29885add49fff4f18
/saleor/graphql/checkout/tests/deprecated/test_checkout_shipping_method_update.py
fefe034680a4ce74d3b921d68f0758228e883437
[ "BSD-3-Clause" ]
permissive
jonserna/saleor
0c1e4297e10e0a0ce530b5296f6b4488f524c145
b7d1b320e096d99567d3fa7bc4780862809d19ac
refs/heads/master
2023-06-25T17:25:17.459739
2023-06-19T14:05:41
2023-06-19T14:05:41
186,167,599
0
0
BSD-3-Clause
2019-12-29T15:46:40
2019-05-11T18:21:31
TypeScript
UTF-8
Python
false
false
7,594
py
from unittest.mock import patch import graphene from .....checkout.error_codes import CheckoutErrorCode from .....checkout.fetch import ( fetch_checkout_info, fetch_checkout_lines, get_delivery_method_info, ) from .....plugins.manager import get_plugins_manager from .....shipping.utils import convert_to_s...
[ "noreply@github.com" ]
jonserna.noreply@github.com
baaf820ec0fcbd83caa164ba770029f08a8807d2
cdc91518212d84f3f9a8cd3516a9a7d6a1ef8268
/python/datetime_challenge.py
bc3a461215b59792b81ebf39cce8d3f3e6e83ede
[]
no_license
paulfranco/code
1a1a316fdbe697107396b98f4dfe8250b74b3d25
10a5b60c44934d5d2788d9898f46886b99bd32eb
refs/heads/master
2021-09-20T14:00:35.213810
2018-08-10T06:38:40
2018-08-10T06:38:40
112,060,914
0
0
null
null
null
null
UTF-8
Python
false
false
443
py
# naive is a datetime with no timezone. # Create a new timezone for US/Pacific, which is 8 hours behind UTC (UTC-08:00). # Then make a new variable named hill_valley that is naive with its tzinfo attribute replaced with the US/Pacific timezone you made. import datetime naive = datetime.datetime(2015, 10, 21, 4, 29) ...
[ "paulfranco@me.com" ]
paulfranco@me.com
69cd43cc3e8ef89b3ae1d6c3dd0b744a9b55028a
f5171b8711f471106207ba35ac0a73ce4e744ff9
/modules/automation/core/lib/rw_checks.py
eb323acf285a9d0674107309b61bc5c306d690ee
[ "Apache-2.0" ]
permissive
RIFTIO/RIFT.ware
94d3a34836a04546ea02ec0576dae78d566dabb3
d65a23ac2563a43f11e64a862e9bda4362a82e30
refs/heads/master
2020-05-21T14:07:31.092287
2016-12-08T15:38:03
2016-12-08T15:38:03
52,545,688
9
8
null
null
null
null
UTF-8
Python
false
false
23,705
py
# # Copyright 2016 RIFT.IO Inc # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed...
[ "Leslie.Giles@riftio.com" ]
Leslie.Giles@riftio.com
06548eeec187cb35b04530c6468cfc46ff894a36
2b2db19b4f60c9367313c6325f62d52713a6e304
/src/main.py
ebf3a826e17d11621ff2581a64905ba4a08eab3b
[]
no_license
movefast/ComparingTileCoders
853f640d2fdca9ced9afe07a972cd8d8a2acc01b
3d3e4c02dea3d5c8092229d3e83ee4bb77594fdd
refs/heads/master
2023-01-28T18:18:45.165099
2020-12-11T18:19:33
2020-12-11T18:19:33
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,651
py
import numpy as np import time import sys import os sys.path.append(os.getcwd()) from RlGlue import RlGlue from src.experiment import ExperimentModel from src.problems.registry import getProblem from PyExpUtils.utils.Collector import Collector from src.utils.rlglue import OneStepWrapper if len(sys.argv) < 3: prin...
[ "andnpatterson@gmail.com" ]
andnpatterson@gmail.com
0d6e53f857240c591ca7b8c99819c53941741926
f015ba9945ef2035d219cedc0992063f0b5ea10c
/src/project/settings.py
9e64a4e20192856b5ee5db823e8937ff24d95e57
[]
no_license
JacobSima/trydjango
9e4bbdceb26c73ef9ced3e77ab7b21c891f1b5e9
2694a0239b69fc4ec81a2e1aee7df1e1e6892a46
refs/heads/master
2021-09-29T22:46:07.172924
2020-04-18T15:59:37
2020-04-18T15:59:37
252,255,176
0
0
null
null
null
null
UTF-8
Python
false
false
3,322
py
""" Django settings for project project. Generated by 'django-admin startproject' using Django 3.0.4. For more information on this file, see https://docs.djangoproject.com/en/3.0/topics/settings/ For the full list of settings and their values, see https://docs.djangoproject.com/en/3.0/ref/settings/ """ import os #...
[ "simajacob2011@gmail.com" ]
simajacob2011@gmail.com
4e73792b01bc0fbf380a261a81ca7945cd2daf94
32eeb97dff5b1bf18cf5be2926b70bb322e5c1bd
/benchmark/websms/testcase/firstcases/testcase6_024.py
83901a5a80dd6d8457a042e27d8685e19f4e9600
[]
no_license
Prefest2018/Prefest
c374d0441d714fb90fca40226fe2875b41cf37fc
ac236987512889e822ea6686c5d2e5b66b295648
refs/heads/master
2021-12-09T19:36:24.554864
2021-12-06T12:46:14
2021-12-06T12:46:14
173,225,161
5
0
null
null
null
null
UTF-8
Python
false
false
7,667
py
#coding=utf-8 import os import subprocess import time import traceback from appium import webdriver from appium.webdriver.common.touch_action import TouchAction from selenium.common.exceptions import NoSuchElementException, WebDriverException desired_caps = { 'platformName' : 'Android', 'deviceName' : 'Android Emulat...
[ "prefest2018@gmail.com" ]
prefest2018@gmail.com
d9ffdcce99be675c792386d9fefa465d8a9f8f4e
92be2d8c4a64d5f8c43341be7f1e36b81fce56ab
/src/azure-cli/azure/cli/command_modules/consumption/aaz/latest/consumption/marketplace/_list.py
b90554fe0628ffacf84e537fbdea3d95dcd222ab
[ "MIT", "BSD-3-Clause", "LGPL-2.0-or-later", "GPL-1.0-or-later", "MPL-2.0", "LGPL-2.1-only", "Apache-2.0", "LGPL-2.1-or-later", "BSD-2-Clause" ]
permissive
allanpedroni/azure-cli
b31d3347f377208b502231266d4839196e574c4b
4e21baa4ff126ada2bc232dff74d6027fd1323be
refs/heads/dev
2023-08-31T18:27:03.240944
2023-08-31T08:49:58
2023-08-31T08:49:58
204,767,533
0
0
MIT
2023-09-14T13:32:41
2019-08-27T18:41:15
Python
UTF-8
Python
false
false
18,559
py
# -------------------------------------------------------------------------------------------- # Copyright (c) Microsoft Corporation. All rights reserved. # Licensed under the MIT License. See License.txt in the project root for license information. # # Code generated by aaz-dev-tools # --------------------------------...
[ "noreply@github.com" ]
allanpedroni.noreply@github.com
08d32a7b5019accaab9e4c7d32d935b4625a4329
d7ec67a5ba315103fa6a6bae6dc045f1fecf7add
/Cython/Python_Extension_Module/c_class_particle/setup.py
72843c9f5422b6099a164342646a39a16d603b64
[]
no_license
munezou/PycharmProject
cc62f5e4278ced387233a50647e8197e009cc7b4
26126c02cfa0dc4c0db726f2f2cabb162511a5b5
refs/heads/master
2023-03-07T23:44:29.106624
2023-01-23T16:16:08
2023-01-23T16:16:08
218,804,126
2
1
null
2023-02-28T23:58:22
2019-10-31T15:57:22
Jupyter Notebook
UTF-8
Python
false
false
119
py
from setuptools import setup from Cython.Build import cythonize setup(ext_modules=cythonize("c_class_particle.pyx"), )
[ "kazumikm0119@pi5.fiberbit.net" ]
kazumikm0119@pi5.fiberbit.net
be812a85bf9bd10893cafd3bae114e721cd334ea
62ac17070b927ee4249baa3b3cf65b39b9e8fafa
/Karrigell-2.3.5/modules/mod_py.py
cd23034cf66e064be12b95ff353171f3d77f46b8
[ "BSD-3-Clause" ]
permissive
qinguan/infolist
67eb0da25f4abc2f7214388d33448e8bb8ceb8c1
b8738ea374819266ed0b90458a5e7270e94fb030
refs/heads/master
2021-01-10T19:58:06.316866
2012-05-01T08:05:42
2012-05-01T08:05:42
4,190,526
2
0
null
null
null
null
UTF-8
Python
false
false
282
py
from k_script import BaseScript class Script(BaseScript): """Python script""" def __init__(self, fileName): pc=open(fileName).read().rstrip() pc = pc.replace('\r\n','\n') # normalize line separator BaseScript.__init__(self, fileName, pc, None)
[ "qinguan0619@gmail.com" ]
qinguan0619@gmail.com
db06ec79437b5fec5dd8a6154fc72aafe2ba691a
b15d2787a1eeb56dfa700480364337216d2b1eb9
/samples/cli/accelbyte_py_sdk_cli/session/_admin_update_game_session_member.py
0cfbe740caa10f08efc0ff3f32d4ca2edae4c635
[ "MIT" ]
permissive
AccelByte/accelbyte-python-sdk
dedf3b8a592beef5fcf86b4245678ee3277f953d
539c617c7e6938892fa49f95585b2a45c97a59e0
refs/heads/main
2023-08-24T14:38:04.370340
2023-08-22T01:08:03
2023-08-22T01:08:03
410,735,805
2
1
MIT
2022-08-02T03:54:11
2021-09-27T04:00:10
Python
UTF-8
Python
false
false
2,622
py
# Copyright (c) 2021 AccelByte Inc. All Rights Reserved. # This is licensed software from AccelByte Inc, for limitations # and restrictions contact your company contract manager. # # Code generated. DO NOT EDIT! # template_file: python-cli-command.j2 # AGS Session Service (2.22.2) # pylint: disable=duplicate-code # ...
[ "elmernocon@gmail.com" ]
elmernocon@gmail.com
00a2f8092e27e95dfa914d874b0b8943e4cac22d
1431cf722b926207f2777bd238d5cd030e4c0744
/exshell/ex_python.py
c167b0c632ce27cb7008c387027973d40f7c072a
[]
no_license
bedreamer/plane-ui
d96f8b6b09b955e278cf63289897733de0de69bb
19f5879c50bc5ecc12a2340f7f9d0e7864735001
refs/heads/master
2020-07-28T02:42:09.751249
2019-09-19T13:29:11
2019-09-19T13:29:11
209,282,512
1
1
null
null
null
null
UTF-8
Python
false
false
461
py
# -*- coding: utf-8 -*- import profile import sys import os __doc__ = """平台默认python操作接口""" __usage__ = __doc__ + """ Usage: python [command] {parameters}""" def main(ctx, cmd, *args): if ' ' in sys.executable: execute_path = ''.join(['"', sys.executable, '"']) else: execute_path = sys.execut...
[ "bedreamer@163.com" ]
bedreamer@163.com
41d5d45967b3ba4d4268c4d4dc5581986b31e78f
2f989d067213e7a1e19904d482a8f9c15590804c
/lib/python3.4/site-packages/allauth/socialaccount/providers/edmodo/provider.py
751de91ffa5a8f304c3c5e15eea9edcd69abb947
[ "MIT" ]
permissive
levabd/smart4-portal
beb1cf8847134fdf169ab01c38eed7e874c66473
2c18ba593ce7e9a1e17c3559e6343a14a13ab88c
refs/heads/master
2023-02-18T05:49:40.612697
2022-08-02T09:35:34
2022-08-02T09:35:34
116,001,098
0
1
MIT
2023-02-15T21:34:01
2018-01-02T10:00:07
Roff
UTF-8
Python
false
false
1,086
py
from allauth.socialaccount import providers from allauth.socialaccount.providers.base import ProviderAccount from allauth.socialaccount.providers.oauth2.provider import OAuth2Provider class EdmodoAccount(ProviderAccount): def get_profile_url(self): return self.account.extra_data.get('profile_url') de...
[ "levabd@gmail.com" ]
levabd@gmail.com
96bc3ffe27abcd7c712182e049bc0293c2dac27f
b535aa6260350f2f19f93b02b4fda5ab6f8eb3fe
/tests/conftest.py
bb965e89848bdd0248461ed076ae78e1f3abec0d
[ "MIT" ]
permissive
nexB/Lawu
e5d3b9ac5c855f204953ff98501960e633a1ff61
d9e4f79ea2d805f6d64c160c766c033a031403e1
refs/heads/master
2023-07-23T15:40:34.103991
2019-06-06T00:14:13
2019-06-06T00:14:13
258,251,793
0
0
MIT
2020-04-23T15:40:05
2020-04-23T15:40:04
null
UTF-8
Python
false
false
215
py
from pathlib import Path import pytest from jawa.classloader import ClassLoader @pytest.fixture(scope='session') def loader() -> ClassLoader: return ClassLoader(Path(__file__).parent / 'data', max_cache=-1)
[ "tk@tkte.ch" ]
tk@tkte.ch
4eaba41a750842ffcf74d1a7aeaafc267d40c819
e38d634d508578523ac41b3babd0c1e618dec64b
/getHeightOfTree.py
6bd1738056108dbdb3e4c6aeae7a9846135316ee
[]
no_license
hebertomoreno/PythonScr
d611e1e683ffc1566d51ae4d13362b94820c9af7
b77d22519ada971a95ff7f84f205db11fd492bca
refs/heads/master
2023-03-23T11:50:40.391715
2017-05-24T17:01:31
2017-05-24T17:01:31
null
0
0
null
null
null
null
UTF-8
Python
false
false
642
py
class Node: def __init__(self,data): self.right=self.left=None self.data = data class Solution: def insert(self,root,data): if root==None: return Node(data) else: if data<=root.data: cur=self.insert(root.left,data) root.left=cur else: cur=self.insert(root.right,data) root.right=cur ...
[ "nikolasmurdock@gmail.com" ]
nikolasmurdock@gmail.com
baf1dc8e685c21aa8132587056ae77fc1d7a8a47
de2f3b72c36b1ea65e63b9f4f4fe0403e3d69418
/venv/Scripts/pip3-script.py
4d8114ac9b14cdcc0c766521819d2d82928462f8
[]
no_license
AnubisOrHades/MxShop
6da8b4a55873dc4fdcbe9fd909022fc12b6d49f8
f5cf55ba341a08e3861f7c3bee0a7923a6bf248d
refs/heads/master
2020-04-24T14:37:40.333429
2019-02-22T08:40:25
2019-02-22T08:40:25
172,027,912
1
0
null
null
null
null
UTF-8
Python
false
false
402
py
#!D:\Anubis\job\python\MxShop\venv\Scripts\python.exe # EASY-INSTALL-ENTRY-SCRIPT: 'pip==10.0.1','console_scripts','pip3' __requires__ = 'pip==10.0.1' import re import sys from pkg_resources import load_entry_point if __name__ == '__main__': sys.argv[0] = re.sub(r'(-script\.pyw?|\.exe)?$', '', sys.argv[0]) sys...
[ "1732306770@qq.com" ]
1732306770@qq.com
8ce348f31e1f6bf8afdd77cb87db214d89dc6267
6497bc5638453877744c900f7accef0203f36e89
/landmark_point/main.py
2eae1dc481c8cee6da5cd4e3cbda9e4bb793fd6b
[]
no_license
budaLi/leetcode-python-
82e9affb3317f63a82d89d7e82650de3c804a5ac
4221172b46d286ab6bf4c74f4d015ee9ef3bda8d
refs/heads/master
2022-01-30T00:55:26.209864
2022-01-05T01:01:47
2022-01-05T01:01:47
148,323,318
46
23
null
null
null
null
UTF-8
Python
false
false
209
py
# @Time : 2020/4/26 16:14 # @Author : Libuda # @FileName: main.py # @Software: PyCharm # 打开6个子集 取出图片及其98真实关键点 # 打开检测数据 5点 # 计算nme auc fr等 写入 问价
[ "1364826576@qq.com" ]
1364826576@qq.com
193a470139e9e8268bcb2f631f03957ec8370be5
c26c190986c1f30e6cc6f9a78fc56f6652536860
/cryptofeed/kraken/kraken.py
cb47092badbf27b1d80f19f92c5bb320d1ed9b9e
[ "Python-2.0", "LicenseRef-scancode-warranty-disclaimer" ]
permissive
gavincyi/cryptofeed
92d89589e80f746d7206c90684c68446f0c07e59
6bac86237c57b697fb91b8193c71c2e7a615d4d2
refs/heads/master
2020-04-14T14:26:01.595616
2019-01-10T22:41:25
2019-01-10T22:41:25
163,896,590
0
0
NOASSERTION
2019-01-02T22:34:29
2019-01-02T22:34:28
null
UTF-8
Python
false
false
4,127
py
import asyncio from decimal import Decimal import time from sortedcontainers import SortedDict as sd from cryptofeed.feed import RestFeed from cryptofeed.defines import TRADES, BID, ASK, TICKER, L2_BOOK, KRAKEN from cryptofeed.standards import pair_exchange_to_std import aiohttp class Kraken(RestFeed): id = KR...
[ "bmoscon@gmail.com" ]
bmoscon@gmail.com
bec5d7a526d10be62caac399f9e3e9e95eb2fd8d
13ecaed116dd1367a09b6393d69a415af099b401
/backend/rock_crawler_20354/urls.py
a7d1509c41377bae2ed4d4eeded7703023fff231
[]
no_license
crowdbotics-apps/rock-crawler-20354
5cd650518c8e47c71c5941fd6c283eeed185bad8
77ae896728649368aa80aa20ca28224889e8fd99
refs/heads/master
2022-12-18T17:13:05.564163
2020-09-17T01:55:04
2020-09-17T01:55:04
296,190,734
0
0
null
null
null
null
UTF-8
Python
false
false
2,078
py
"""rock_crawler_20354 URL Configuration The `urlpatterns` list routes URLs to views. For more information please see: https://docs.djangoproject.com/en/2.2/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') ...
[ "team@crowdbotics.com" ]
team@crowdbotics.com
efa94b6e1a9475a4198230da2e46d73389f60a3f
7f4b1d5e9963d63dd45b31c6cad8ced70d823217
/interview-prep/techie_delight/array/find_pair_sum.py
e1ab55be1dbf32abcb9f8348762855ef08cbea1a
[]
no_license
mdhatmaker/Misc-python
b8be239619788ed343eb55b24734782e227594dc
92751ea44f4c1d0d4ba60f5a1bb9c0708123077b
refs/heads/master
2023-08-24T05:23:44.938059
2023-08-09T08:30:12
2023-08-09T08:30:12
194,360,769
3
4
null
2022-12-27T15:19:06
2019-06-29T03:39:13
Python
UTF-8
Python
false
false
692
py
import sys # https://www.techiedelight.com/find-pair-with-given-sum-array/ # Find pair with given sum in the array. def find_pair_sum(arr, k): print(k, end=' ') arr.sort() low = 0 high = len(arr)-1 while (low < high): if arr[low] + arr[high] == k: return (arr[low], arr[high])...
[ "hatmanmd@yahoo.com" ]
hatmanmd@yahoo.com
c795292c2114df7d363630fd1724fc653ddd9e47
cc1b87f9368e96e9b3ecfd5e0822d0037e60ac69
/dashboard/dashboard/pinpoint/models/change/commit_cache.py
71909eda2e2d51149392a316f5a3d6975015f867
[ "BSD-3-Clause" ]
permissive
CTJyeh/catapult
bd710fb413b9058a7eae6073fe97a502546bbefe
c98b1ee7e410b2fb2f7dc9e2eb01804cf7c94fcb
refs/heads/master
2020-08-19T21:57:40.981513
2019-10-17T09:51:09
2019-10-17T18:30:16
215,957,813
1
0
BSD-3-Clause
2019-10-18T06:41:19
2019-10-18T06:41:17
null
UTF-8
Python
false
false
2,286
py
# Copyright 2018 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. from __future__ import print_function from __future__ import division from __future__ import absolute_import from google.appengine.ext import ndb _MEMCACHE...
[ "commit-bot@chromium.org" ]
commit-bot@chromium.org
53966e3f7870ceb362b412c8f33214acba0eee74
3bda645720e87bba6c8f960bbc8750dcea974cb0
/data/phys/fill_6192/xangle_150/DoubleEG/input_files.py
569cc557af310a17a3d989b5dbd84856890742d2
[]
no_license
jan-kaspar/analysis_ctpps_alignment_2017_preTS2
0347b8f4f62cf6b82217935088ffb2250de28566
0920f99080a295c4e942aa53a2fe6697cdff0791
refs/heads/master
2021-05-10T16:56:47.887963
2018-01-31T09:28:18
2018-01-31T09:28:18
118,592,149
0
2
null
null
null
null
UTF-8
Python
false
false
207
py
import FWCore.ParameterSet.Config as cms input_files = cms.vstring( "root://eostotem.cern.ch//eos/totem/data/ctpps/reconstruction/2017/preTS2_alignment_data/version1/fill6192_xangle150_DoubleEG.root" )
[ "jan.kaspar@cern.ch" ]
jan.kaspar@cern.ch
ad9f7d677d6aef12a21ccf2023c36309198ff516
fbf82e9a3d6e7b4dbaa2771eed0d96efabc87b3b
/platform/imageAuth/imageAuth/db/ormData.py
745c1a5b58daaa1d7bf869db4db8dee208149366
[]
no_license
woshidashayuchi/boxlinker-all
71603066fee41988108d8e6c803264bd5f1552bc
318f85e6ff5542cd70b7a127c0b1d77a01fdf5e3
refs/heads/master
2021-05-09T03:29:30.652065
2018-01-28T09:17:18
2018-01-28T09:17:18
119,243,814
1
0
null
null
null
null
UTF-8
Python
false
false
5,460
py
#!/usr/bin/env python # encoding: utf-8 """ @version: 0.1 @author: liuzhangpei @contact: liuzhangpei@126.com @site: http://www.livenowhy.com @time: 17/2/28 14:07 @ orm 数据结构 """ import sqlalchemy as sa from sqlalchemy.dialects import mysql from sqlalchemy.ext.declarative import declarative_base # 创建对象的基类: Base = d...
[ "359876749@qq.com" ]
359876749@qq.com
b1d9b794bd63e59dcbabad3196e3405ffebc42a8
f4054fcf13c72f450bed662e01ca6fcc9c2b8111
/pages/urls.py
e8de8e82edc8b3938f442bcc36d4ed9163d189f2
[]
no_license
skiboorg/global
a54210bccaa5a82db395241d3470b5450b87a51f
eebcbcfadd4b94f5588db3392ce171948f1d5cf8
refs/heads/master
2022-12-12T00:27:02.449806
2020-09-04T05:32:56
2020-09-04T05:32:56
null
0
0
null
null
null
null
UTF-8
Python
false
false
726
py
from django.urls import path,include from . import views urlpatterns = [ path('', views.index, name='index'), path('contests', views.contests, name='contests'), path('instructions', views.instructions, name='instructions'), path('startups/<id>', views.startups, name='startups'), path('admin_page/...
[ "11@11.11" ]
11@11.11
05a53b3fbafd6f11573880fc9e401610fa26e83e
da052c0bbf811dc4c29a83d1b1bffffd41becaab
/core/sale_commission_target_gt/models/__init__.py
eabf66d58ebf231df0605976cacf33dba2e53d5f
[]
no_license
Muhammad-SF/Test
ef76a45ad28ac8054a4844f5b3826040a222fb6e
46e15330b5d642053da61754247f3fbf9d02717e
refs/heads/main
2023-03-13T10:03:50.146152
2021-03-07T20:28:36
2021-03-07T20:28:36
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,069
py
# -*- coding: utf-8 -*- ############################################################################## # # Globalteckz Pvt Ltd # Copyright (C) 2013-Today(www.globalteckz.com). # # This program is free software: you can redistribute it and/or modify # it under the terms of the GNU Affero General Public Licen...
[ "jbalu2801@gmail.com" ]
jbalu2801@gmail.com
a9fd81720b3a00dc1f25d9a163cbad2593f7e27d
8d3e3887b02ad2d5e75edb5e56e11c33d0f440bd
/config.py
05a6f247f55996795ae9ba9a9c8f3eba8529600b
[]
no_license
makalaaneesh/momentipy
e423a5e1b4e59a18a4ed5c1d7c07934dcda4a695
b62f52b536890a0bc7c924a10fbd73cb04f10535
refs/heads/master
2021-01-10T07:50:18.756563
2016-03-24T18:31:50
2016-03-24T18:31:50
53,156,335
0
0
null
null
null
null
UTF-8
Python
false
false
1,412
py
JPG_EXTENSIONS = ('.jpg', '.jpeg', '.jpe', '.JPG') RAW_EXTENSIONS = ('.3fr','.3pr','.arw','.ce1','.ce2','.cib','.cmt','.cr2','.craw','.crw', '.dc2','.dcr','.dng','.erf','.exf','.fff','.fpx','.gray','.grey','.gry', '.iiq','.kc2','.kdc','.mdc','.mef','.mfw','.mos','.mrw','.ndd','.n...
[ "makalaaneesh@yahoo.com" ]
makalaaneesh@yahoo.com
45a934609592023102cc9deabe6dd15559740b0e
8f0b0ec0a0a2db00e2134b62a1515f0777d69060
/scripts/study_case/ID_61/multi_layer_perceptron_grist.py
95b6cf3951fe9293450c55fd79acb2813e3208f1
[ "Apache-2.0" ]
permissive
Liang813/GRIST
2add5b4620c3d4207e7661eba20a79cfcb0022b5
544e843c5430abdd58138cdf1c79dcf240168a5f
refs/heads/main
2023-06-09T19:07:03.995094
2021-06-30T05:12:19
2021-06-30T05:12:19
429,016,034
0
0
Apache-2.0
2021-11-17T11:19:48
2021-11-17T11:19:47
null
UTF-8
Python
false
false
3,207
py
from tensorflow.examples.tutorials.mnist import input_data import tensorflow as tf import numpy as np import sys sys.path.append("/data") # 导入数据并创建一个session mnist = input_data.read_data_sets('./MNIST_data', one_hot=True) sess = tf.InteractiveSession() # 定义节点,权重和偏置 in_uints = 784 # 输入节点数 h1_uints = 300 # 隐含层节点数 W1 ...
[ "793679547@qq.com" ]
793679547@qq.com
24042473cd5cd6af11e11bca2ae2954f7f570a7f
be50b4dd0b5b8c3813b8c3158332b1154fe8fe62
/Hashing/Python/SubarrayWithEqualOccurences.py
6822fc464cb733519f70a6b48c8348a5929eaf57
[]
no_license
Zimmermann25/InterviewBit
a8d89e090068d9644e28085625963c8ce75d3dff
6d2138e740bd5ba8eab992d9bf090977e077bfc5
refs/heads/main
2023-03-24T18:12:48.244950
2021-03-24T14:36:48
2021-03-24T14:36:48
350,835,917
0
0
null
null
null
null
UTF-8
Python
false
false
1,015
py
class Solution: # @param A : list of integers # @param B : integer # @param C : integer # @return an integer # subarrays with 0 sum def solve(self, A, B, C): if len(A) < 2: return 0 # B != C for i in range(len(A)): if A[i] == B: A[i] = 1 elif A[i...
[ "noreply@github.com" ]
Zimmermann25.noreply@github.com
b5b5dc9e280eb1a1c3ab4e6061ac5711e8840786
dc4adacb58762ab4004f0618726def4b412e2a78
/waterData.py
818b2ac03a665266b6c5319017ed210db0765f3c
[]
no_license
GavinHan/Serial-read-and-write
fabe965b3f044cc3c3c9628672f583b01a985835
53ff03e1474561d6ab1f1960b7d6fbcb93192392
refs/heads/master
2020-06-05T11:15:41.664089
2014-07-17T08:56:56
2014-07-17T08:56:56
21,935,022
1
0
null
null
null
null
UTF-8
Python
false
false
19,610
py
#!/usr/bin/env python # -*- coding: utf-8 -*- ''' Created on 2014-4-16 Author: Gavin_Han Email: muyaohan@gmail.com ''' import threading import struct import serial import time import datetime import MySQLdb def init(): config = {}; spot = {}; params = {}; surface_ssll = {}; surface_ljll = {} #source_id = ...
[ "user.name" ]
user.name
685bdecd8e029b131145675a3b0238c77eba91e3
2fa12cde6a091a1559617e8f825b00f2a5c7f8ba
/src/190page.py
d2ae5ba7ae41ce90d64d657c541acac146722424
[]
no_license
yeasellllllllll/bioinfo-lecture-2021-07
b9b333183047ddac4436180cd7c679e3cc0e399a
ce695c4535f9d83e5c9b4a1a8a3fb5857d2a984f
refs/heads/main
2023-06-15T20:31:35.101747
2021-07-18T14:31:27
2021-07-18T14:31:27
382,995,460
0
0
null
2021-07-05T06:06:35
2021-07-05T02:45:29
Python
UTF-8
Python
false
false
232
py
f = "data.txt" d = {} with open(f, "r") as fr: for line in fr: l = line.strip().split(" ") gene, val = l[0], l[1] d[gene] = val print(d.items()) print(sorted(d.items(), key=lambda x: x[1], reverse=True))
[ "yeasel6112@gmail.com" ]
yeasel6112@gmail.com
eacf5d764368da233225c9dfb5aada58ac98cbc1
fab14fae2b494068aa793901d76464afb965df7e
/benchmarks/f3_wrong_hints/scaling_ltl_timed_transition_system/14-sender_receiver_2.py
f72e8d3f29aa1af65b058c4504d5648e6c8fb53e
[ "MIT" ]
permissive
teodorov/F3
673f6f9ccc25acdfdecbfc180f439253474ba250
c863215c318d7d5f258eb9be38c6962cf6863b52
refs/heads/master
2023-08-04T17:37:38.771863
2021-09-16T07:38:28
2021-09-16T07:38:28
null
0
0
null
null
null
null
UTF-8
Python
false
false
18,293
py
from typing import FrozenSet from collections import Iterable from math import log, ceil from mathsat import msat_term, msat_env from mathsat import msat_make_constant, msat_declare_function from mathsat import msat_get_integer_type, msat_get_rational_type, msat_get_bool_type from mathsat import msat_make_and, msa...
[ "en.magnago@gmail.com" ]
en.magnago@gmail.com
5b658965a62b686a1ddb2d499ca537ed24219f98
56ade096db1fe376ee43d38c96b43651ee07f217
/647. Palindromic Substrings/Python/Solution.py
45128cf5cd3cad9ddcdddbb855a52902fe6045c7
[]
no_license
xiaole0310/leetcode
c08649c3f9a9b04579635ee7e768fe3378c04900
7a501cf84cfa46b677d9c9fced18deacb61de0e8
refs/heads/master
2020-03-17T05:46:41.102580
2018-04-20T13:05:32
2018-04-20T13:05:32
133,328,416
1
0
null
null
null
null
UTF-8
Python
false
false
451
py
class Solution: def countSubstrings(self, s): """ :type s: str :rtype: int """ self.result = 0 def count(s, left, right): while left >= 0 and right < len(s) and s[left] == s[right]: self.result += 1 left -= 1 ...
[ "zhantong1994@163.com" ]
zhantong1994@163.com
800d4590249dde33a636159d00ba3a38bc667b46
44a7101ae18c84ffa0e3c674763ba7b500937773
/root/Desktop/Scripts/Python Forensic Scripts/Violent Python/idsFoil.py
0ad7588cd59c0f4c4836e0b32135b8289ba10bdd
[]
no_license
Draft2007/Scripts
cbaa66ce0038f3370c42d93da9308cbd69fb701a
0dcc720a1edc882cfce7498ca9504cd9b12b8a44
refs/heads/master
2016-09-05T20:05:46.601503
2015-06-23T00:05:02
2015-06-23T00:05:02
37,945,893
7
2
null
null
null
null
UTF-8
Python
false
false
2,641
py
import optparse from scapy.all import * from random import randint def ddosTest(src, dst, iface, count): # Crafts a decoy TFN Probe pkt=IP(src=src,dst=dst)/ICMP(type=8,id=678)/Raw(load='1234') send(pkt, iface=iface, count=count) # Crafts a decoy tfn2k icmp possible communication pkt = IP(src=src,ds...
[ "root@localhost.localdomain" ]
root@localhost.localdomain
d1e68bd9c6aaa166ed0e00dfa42dee16851652b2
09e57dd1374713f06b70d7b37a580130d9bbab0d
/data/cirq_new/cirq_program/startCirq_noisy941.py
da12e8a16d52deb8656030cb8f1149daefd14cc9
[ "BSD-3-Clause" ]
permissive
UCLA-SEAL/QDiff
ad53650034897abb5941e74539e3aee8edb600ab
d968cbc47fe926b7f88b4adf10490f1edd6f8819
refs/heads/main
2023-08-05T04:52:24.961998
2021-09-19T02:56:16
2021-09-19T02:56:16
405,159,939
2
0
null
null
null
null
UTF-8
Python
false
false
2,569
py
#!/usr/bin/env python # -*- coding: utf-8 -*- # @Time : 5/15/20 4:49 PM # @File : grover.py # qubit number=4 # total number=23 import cirq import cirq.google as cg from typing import Optional import sys from math import log2 import numpy as np #thatsNoCode def make_circuit(n: int, input_qubit): c = cirq.Ci...
[ "wangjiyuan123@yeah.net" ]
wangjiyuan123@yeah.net
fa444d7edff7bcce427df85f79853825bf777c7c
0ae2bb21d7ca71a691e33cb044a0964d380adda2
/uber/uber_algo/LC636ExeclusiveTimeOfFunctions_UB.py
e5e2bbce96747c00ed9c42ec84e9e14940c8ff2b
[]
no_license
xwang322/Coding-Interview
5d27ec92d6fcbb7b929dd98bb07c968c1e1b2a04
ee5beb79038675ce73c6d147ba9249d9a5ca346a
refs/heads/master
2020-03-10T08:18:34.980557
2018-06-24T03:37:12
2018-06-24T03:37:12
129,282,263
2
6
null
2018-04-19T19:31:24
2018-04-12T16:41:28
Python
UTF-8
Python
false
false
1,289
py
/* * Implement a function return the exclusive running time of a function, given the function name and a list of logs. * List<string> stands for a list of logs. The logs have the following structure: * functionName StartOrEnd Time * A start 10 * B start 11 * B end 12 * A end 20 * exclusive running time means th...
[ "noreply@github.com" ]
xwang322.noreply@github.com
f1fcf8c31077a0ecbd3a6c84b39d5c8fa8378439
9fdee128812956e1e1919a58c7f64561543abf56
/Lorry_with_coffee.py
6e56c5a6108abf4d6a47d1e65880856b90ea793a
[]
no_license
OleksandrMyshko/python
38139b72a75d52ca0a6a5787c5e6357432ec6799
1caed3c05d513c0dd62d6ff77910e9596c50969f
refs/heads/master
2021-07-03T03:31:11.198438
2017-09-25T17:43:59
2017-09-25T17:43:59
104,762,652
0
0
null
null
null
null
UTF-8
Python
false
false
824
py
class Coffee: def __init__(self, type, price): self.type = type self.price = price class Box: def __init__(self, volume, coffee): self.volume = volume self.coffee = coffee class Lorry: def __init__(self): self.boxes = [] def add_box(self, box): self.b...
[ "sashamushko@gmail.com" ]
sashamushko@gmail.com
fe1595a84a84e39fed7f7ef5bb3f26584c14aa2f
1f93178e536219f89dfb4ec748ebacb548276626
/tests/test_utils.py
29a0ef25439a56f1985353c95a5db459f08e845b
[ "MIT" ]
permissive
WillWang99/pyModbusTCP
9c97ef24c46f3473ad47f44c7ba5ed6d1b2021b0
8d09cac1752707770c2039d16173a2427dbc1c61
refs/heads/master
2021-03-16T08:33:56.440811
2017-11-13T08:18:53
2017-11-13T08:18:53
null
0
0
null
null
null
null
UTF-8
Python
false
false
3,050
py
# -*- coding: utf-8 -*- import unittest import math from pyModbusTCP import utils class TestUtils(unittest.TestCase): def test_get_bits_from_int(self): # default bits list size is 16 self.assertEqual(len(utils.get_bits_from_int(0)), 16) # for 8 size (positional arg) self.assertEqu...
[ "loic.celine@free.fr" ]
loic.celine@free.fr
329c0af3339a265620d8e1bac177ef51198df554
cb9dca7c997337f59468ef2369a15fa920202e8f
/09_regular_expressions/exercise/03_find_occurrences_of_word_in_sentence.py
dc986ed137b967c1009c20694093865e9cf49bd7
[]
no_license
M0673N/Programming-Fundamentals-with-Python
6e263800bad7069d6f2bf8a10bee87a39568c162
a1e9493a6f458ddc8d14ae9c0893c961fe351e73
refs/heads/main
2023-05-26T18:27:03.098598
2021-06-06T19:00:57
2021-06-06T19:00:57
361,785,714
0
0
null
null
null
null
UTF-8
Python
false
false
150
py
import re sentence = input().lower() word = input().lower() pattern = r"\b" + word + r"\b" result = re.findall(pattern, sentence) print(len(result))
[ "m0673n@abv.bg" ]
m0673n@abv.bg
a87406c60058422469cd9cfaeaea19ef0d9de260
7251f1742615752e402dadcb4d59c9e543ecf824
/Train/PolyTrain.py
1051171859da265d655871804b499c6de323caef
[]
no_license
xinxiaoli/ambf_walker
c6f2bca047de0d38a61358f3d290e2d73eb494a1
2b909f1c340f95a6c2a0b7356c8e218c1c55356a
refs/heads/master
2022-12-27T02:50:22.036730
2020-08-12T23:18:48
2020-08-12T23:18:48
294,125,031
0
0
null
2020-09-09T13:42:17
2020-09-09T13:42:17
null
UTF-8
Python
false
false
1,736
py
from GaitAnaylsisToolkit.LearningTools.Runner import TPGMMRunner from GaitAnaylsisToolkit.LearningTools.Trainer import TPGMMTrainer from random import seed from random import gauss import numpy as np import matplotlib.pyplot as plt import numpy.polynomial.polynomial as poly def coef(b, dt): A = np.array([[1.0, 0...
[ "nagoldfarb@wpi.edu" ]
nagoldfarb@wpi.edu
af15d7024d0a48e2e7498f7989c22aacdc552f6a
62343cc4b4c44baef354f4552b449a9f53ca799e
/Model/__init__.py
e755d87124450cd8f784260a03671013533b6ad7
[]
no_license
xwjBupt/simpleval
7c71d178657ae12ac1a5ac6f1275940023573884
87234e630d7801479575015b8c5bdd3588a3ceed
refs/heads/master
2023-02-03T13:42:07.013196
2020-12-25T09:08:01
2020-12-25T09:08:01
324,154,886
0
0
null
null
null
null
UTF-8
Python
false
false
939
py
from .single_stage_detector import SingleStageDetector from .backbone import ResNet, ResNetV1d from .engine import InferEngine, ValEngine, BaseEngine from .builder import build_engine, build_detector, build_backbone, build_head, build_neck from .heads import AnchorHead, IoUAwareRetinaHead from .necks import FPN from .m...
[ "xwj_bupt@163.com" ]
xwj_bupt@163.com
9f7fe76b52b043b110ca6487b82d1289903fb188
14284b92ad7c117d19a35440b855080a8769d86d
/django_ssr/manage.py
62602033c569471034e2b35a8e246b2b37d76a6e
[ "MIT" ]
permissive
gbozee/django-ssr-setup
c89f5e03db2365eb24b745b54eb77534ccd296e9
6051e4d4526719f1988f3651c75e94979ce89876
refs/heads/master
2023-08-04T07:55:19.540137
2018-11-04T15:16:59
2018-11-04T15:16:59
114,080,284
0
0
null
null
null
null
UTF-8
Python
false
false
542
py
#!/usr/bin/env python import os import sys if __name__ == "__main__": os.environ.setdefault("DJANGO_SETTINGS_MODULE", "django_ssr.settings") try: from django.core.management import execute_from_command_line except ImportError as exc: raise ImportError( "Couldn't import Django. A...
[ "gbozee@gmail.com" ]
gbozee@gmail.com
bd34d37546f838ec5960e3bc75ada531113248aa
7d096568677660790479d87c22b47aae838ef96b
/stubs-legacy/System/Windows/Media/Animation_parts/AnimationException.py
928a9c5a3de8a33b97a425e31bf64e5273703759
[ "MIT" ]
permissive
NISystemsEngineering/rfmx-pythonnet
30adbdd5660b0d755957f35b68a4c2f60065800c
cd4f90a88a37ed043df880972cb55dfe18883bb7
refs/heads/master
2023-02-04T00:39:41.107043
2023-02-01T21:58:50
2023-02-01T21:58:50
191,603,578
7
5
MIT
2023-02-01T21:58:52
2019-06-12T16:02:32
Python
UTF-8
Python
false
false
1,398
py
class AnimationException(SystemException,ISerializable,_Exception): """ The exception that is thrown when an error occurs while animating a property. """ def add_SerializeObjectState(self,*args): """ add_SerializeObjectState(self: Exception,value: EventHandler[SafeSerializationEventArgs]) """ pass def remov...
[ "sean.moore@ni.com" ]
sean.moore@ni.com
739509fe9d0b3d52864e729246e1fcdb09324e2d
b9000b4f492c6f51fc1277589095c92b25f41328
/lingvo/datasets_test.py
4a0abac8ce7f8d569225f446affe1131a6fb3e80
[ "Apache-2.0" ]
permissive
donstang/lingvo
a30175a4c756ce006a9c7dfbe472477a928d5f3f
9b2b4714c50be695420eb99fd87b4f1c4d0855ca
refs/heads/master
2022-07-26T14:33:36.357634
2022-07-01T03:16:49
2022-07-01T03:17:51
183,879,138
0
0
null
null
null
null
UTF-8
Python
false
false
4,221
py
# Copyright 2020 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applica...
[ "copybara-worker@google.com" ]
copybara-worker@google.com
39780953a892df003f3cf73fb888f6ec3b514526
8a10d97fd8be9c8df20bf64acb62cff4931bcf46
/models.py
7600153374f9760a8e77475c4e01629e8291fe60
[]
no_license
chensandiego/render_places
5816eb9b143020db02c4316516ff000560269415
165ab8023ac1e38cb0e86f8d6b1f047622c46d87
refs/heads/master
2021-01-15T08:31:39.705395
2016-07-26T01:47:16
2016-07-26T01:47:16
64,180,658
0
1
null
2016-09-08T04:38:53
2016-07-26T01:45:59
HTML
UTF-8
Python
false
false
2,049
py
from flask.ext.sqlalchemy import SQLAlchemy from werkzeug import generate_password_hash,check_password_hash import geocoder import json from urllib.request import urlopen from urllib.parse import urljoin db=SQLAlchemy() class User(db.Model): __tablename__ ='users' uid = db.Column(db.Integer,primary_key=True) firs...
[ "chensandiego@gmail.com" ]
chensandiego@gmail.com
76c68c346bef86390398c2c7112107fa4e75e02b
a3b306df800059a5b74975793251a28b8a5f49c7
/Graphs/LX-2/molecule_otsu = False/BioImageXD-1.0/ITK/lib/InsightToolkit/WrapITK/lib/itkGridForwardWarpImageFilterPython.py
71e84d2ea05d5277c2c313b52bbf3a7749bdaa07
[]
no_license
giacomo21/Image-analysis
dc17ba2b6eb53f48963fad931568576fda4e1349
ea8bafa073de5090bd8f83fb4f5ca16669d0211f
refs/heads/master
2016-09-06T21:42:13.530256
2013-07-22T09:35:56
2013-07-22T09:35:56
11,384,784
1
1
null
null
null
null
UTF-8
Python
false
false
36,615
py
# This file was automatically generated by SWIG (http://www.swig.org). # Version 1.3.40 # # Do not make changes to this file unless you know what you are doing--modify # the SWIG interface file instead. from sys import version_info if version_info >= (3,0,0): new_instancemethod = lambda func, inst, cls: _itkGridFo...
[ "fede.anne95@hotmail.it" ]
fede.anne95@hotmail.it
0c2553972497c5c92dc8250a3febff16a529ad00
effce116340b7d937bd285e43b49e1ef83d56156
/data_files/377 Combination Sum IV.py
54ebc48fd1647b66ada9e61912eea5443cdad119
[]
no_license
DL2021Spring/CourseProject
a7c7ef57d69bc1b21e3303e737abb27bee3bd585
108cdd906e705e9d4d05640af32d34bfc8b124da
refs/heads/master
2023-04-11T18:52:30.562103
2021-05-18T09:59:59
2021-05-18T09:59:59
365,733,976
0
1
null
null
null
null
UTF-8
Python
false
false
485
py
__author__ = 'Daniel' class Solution(object): def combinationSum4(self, nums, target): F = [0 for _ in xrange(target + 1)] nums = filter(lambda x: x <= target, nums) for k in nums: F[k] = 1 for i in xrange(target + 1): for k in nums: ...
[ "1042448815@qq.com" ]
1042448815@qq.com