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
94dade4272a97cf090f135ff74fc73d18848de15
3074b17c933fed26da0a1845d816a7a0c171455f
/environment/env.py
ed50934795b33f47786b84b437a35564e60fb09b
[]
no_license
FLAGlab/multiagent-rl-caller
56ba51ed017e784de5479cc1211273e36d232523
46d5e7aab830cd33f86e467608dc8c4239bbcb30
refs/heads/master
2023-01-19T17:39:03.591270
2020-11-10T04:14:50
2020-11-10T04:14:50
299,488,008
0
0
null
null
null
null
UTF-8
Python
false
false
255
py
# from .core import World # import numpy as np class Env(): def __init__(self, scenario, world): self.scenario = scenario self.world = world # set world using defined scenario # self.scenario.reset_world(self.world)
[ "js.sosa10@uniandes.edu.co" ]
js.sosa10@uniandes.edu.co
fe73f960d89bb39765bb5f87c78648a8e97b3575
75dcb56e318688499bdab789262839e7f58bd4f6
/_algorithms_challenges/codingbat/codingbat-solutions-master/Python/Logic-1/caught_speeding.py
555b4356321cf08af9cfad9bab85c40785c2db8f
[]
no_license
syurskyi/Algorithms_and_Data_Structure
9a1f358577e51e89c862d0f93f373b7f20ddd261
929dde1723fb2f54870c8a9badc80fc23e8400d3
refs/heads/master
2023-02-22T17:55:55.453535
2022-12-23T03:15:00
2022-12-23T03:15:00
226,243,987
4
1
null
2023-02-07T21:01:45
2019-12-06T04:14:10
Jupyter Notebook
UTF-8
Python
false
false
663
py
""" You are driving a little too fast, and a police officer stops you. Write code to compute the result, encoded as an int value: 0=no ticket, 1=small ticket, 2=big ticket. If speed is 60 or less, the result is 0. If speed is between 61 and 80 inclusive, the result is 1. If speed is 81 or more, the result is 2. Unless ...
[ "sergejyurskyj@yahoo.com" ]
sergejyurskyj@yahoo.com
1e4697481a0b3424ad0be54c42dced28c4819587
741ee09b8b73187fab06ecc1f07f46a6ba77e85c
/AutonomousSourceCode/data/raw/squareroot/0b2bc0ec-022b-4759-83ff-a47420a863f2__leet222.py
eec7e09f4faf4a0b801689983ae0b56877ea8132
[]
no_license
erickmiller/AutomatousSourceCode
fbe8c8fbf215430a87a8e80d0479eb9c8807accb
44ee2fb9ac970acf7389e5da35b930d076f2c530
refs/heads/master
2021-05-24T01:12:53.154621
2020-11-20T23:50:11
2020-11-20T23:50:11
60,889,742
6
1
null
null
null
null
UTF-8
Python
false
false
2,016
py
# encoding: utf8 ''' Count Complete Tree Nodes Given a complete binary tree, count the number of nodes. Definition of a complete binary tree from Wikipedia: In a complete binary tree every level, except possibly the last, is completely filled, and all nodes in the last level are as far left as possible. It can have be...
[ "erickmiller@gmail.com" ]
erickmiller@gmail.com
a65e4d161c5b63d00bbc063b2722c894d77de505
588f4991cad99f517ca5028e0e41c5b4d5252543
/contest/abc054/B.py
c7911f83de78c23d54670390dfa34a5fec064a49
[ "MIT" ]
permissive
mola1129/atcoder
3002ff38cabf0ccb5142bd576ed90419fccde02e
1d3b18cb92d0ba18c41172f49bfcd0dd8d29f9db
refs/heads/master
2020-06-16T12:24:49.609707
2020-03-14T15:58:42
2020-03-14T15:58:42
195,571,664
0
0
null
null
null
null
UTF-8
Python
false
false
581
py
n, m = map(int, input().split()) a = [input() for _ in range(n)] b = [input() for _ in range(m)] flag = False for i in range(n): for j in range(n): for k in range(m): for l in range(m): if i + k >= n or j + l >= n: flag = True break ...
[ "ms.mola1129@gmail.com" ]
ms.mola1129@gmail.com
b4d6c90ea2049fe6f64faa2cee914280b7d381a6
a192f1e704a350b2fbac95735cb046bd0f0688a4
/indri.py
8ba61cbb0ad1796ff618aad853560e9c330a9cd4
[]
no_license
Anonymous-UserID/QLM-QE
ce3c8e11c1159b4f216125532b569d9a7c92b6fd
fb04145e209906a2a3f9878d80099e584ebc9010
refs/heads/master
2021-09-14T19:22:18.610685
2018-05-17T20:32:48
2018-05-17T20:32:48
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,470
py
from py4j.java_gateway import JavaGateway # gateway.launch_gateway(port=25333) class IndriAPI(object): def __init__(self, index_dir_path): gateway = JavaGateway() indri_entry_point = gateway.entry_point indri_entry_point.setIndexDir(index_dir_path) self.indri = indri_entry_point.ge...
[ "qiuchi.li@studenti.unipd.it" ]
qiuchi.li@studenti.unipd.it
b05b14a6719933ccfe45dd1489d53980f08f5187
dec4cc78bfccfa7f44739562a62f41e04f95ec02
/fabfile.py
5ab66e884a387f91b93a98edf34d0eaaf6cb26f6
[ "BSD-2-Clause" ]
permissive
FashtimeDotCom/pacioli
cac6ebe1773842f87bb431440729b73e93f38b50
e1454e54317daf81acba5cc7c5c2846b057c6d4e
refs/heads/master
2021-01-16T21:45:07.829039
2016-05-17T23:14:17
2016-05-17T23:14:17
59,263,129
2
0
null
2016-05-20T03:48:37
2016-05-20T03:48:37
null
UTF-8
Python
true
false
13,245
py
import keyring from fabric.context_managers import shell_env, prefix import os import sys from fabric.api import cd, env, get, put from fabric.operations import run from boto3.session import Session from aws_config import AWS_ACCESS_KEY_ID, AWS_SECRET_ACCESS_KEY, AWS_REGION, AWS_KEY_PAIR_NAME from aws_config import A...
[ "pierre@rochard.org" ]
pierre@rochard.org
1f4ee0019df992bfbe6ed01be23eb711ebad5197
24fe1f54fee3a3df952ca26cce839cc18124357a
/servicegraph/lib/python2.7/site-packages/acimodel-4.0_3d-py2.7.egg/cobra/modelimpl/fabric/rsrespol.py
440c403c62a083a6f6dc00d6bb5f9dfe4263846f
[]
no_license
aperiyed/servicegraph-cloudcenter
4b8dc9e776f6814cf07fe966fbd4a3481d0f45ff
9eb7975f2f6835e1c0528563a771526896306392
refs/heads/master
2023-05-10T17:27:18.022381
2020-01-20T09:18:28
2020-01-20T09:18:28
235,065,676
0
0
null
2023-05-01T21:19:14
2020-01-20T09:36:37
Python
UTF-8
Python
false
false
6,432
py
# coding=UTF-8 # ********************************************************************** # Copyright (c) 2013-2019 Cisco Systems, Inc. All rights reserved # written by zen warriors, do not modify! # ********************************************************************** from cobra.mit.meta import ClassMeta from cobra.m...
[ "rrishike@cisco.com" ]
rrishike@cisco.com
75688e63afbfe35ee6bd182158cb532cad113923
1f0831db24ae2772d4944faf05289599bb37aca7
/linear_models/09/logistic_regression.py
d6c678a722d88a3d9c29cec682ea9940b76b8c9d
[]
no_license
smaystr/rails_reactor
2123f39ae97f38acb647363979fe4a09b896670e
69c8aac5860527768b4a8b7bce027b9dea6b1989
refs/heads/master
2022-08-19T05:35:21.535933
2019-08-28T12:46:22
2019-08-28T12:46:22
189,264,026
1
0
null
2022-07-29T22:34:56
2019-05-29T16:47:08
Jupyter Notebook
UTF-8
Python
false
false
2,495
py
import numpy as np import math from general_model import GeneralModel class LogisticRegression(GeneralModel): def __init__(self, batch_size=64, learning_rate=.0005): self.coef = None self.x_train = None self.y_train = None self.loss = math.inf self.batch_size = batch_size ...
[ "smaystr@gmail.com" ]
smaystr@gmail.com
1fad0e0fa30c0d6b747decc8353a8e0d09074de2
754da0ff4d08621511e905c088284e8680edc0df
/0x08-python-more_classes/9-rectangle.py
45ee5348fd666d8b370295b5f7e58540a02b2bfc
[]
no_license
AngieCastano1634/holbertonschool-higher_level_programming-1
0e77289f6761f2057bed5b2163df43dea4d6908a
67d5ed8181c51f5ff67a905fff39dcc605fb32ce
refs/heads/master
2022-12-22T13:20:36.889380
2020-09-25T03:31:25
2020-09-25T03:31:25
299,758,479
0
1
null
2020-09-29T23:10:59
2020-09-29T23:10:58
null
UTF-8
Python
false
false
2,686
py
#!/usr/bin/python3 '''Classes and objects project''' class Rectangle: '''class Rectangle''' number_of_instances = 0 print_symbol = '#' def __init__(self, width=0, height=0): '''Initializes the instance''' self.width = width self.height = height Rectangle.number_of_inst...
[ "andergcp@hotmail.com" ]
andergcp@hotmail.com
adb088dd6b1e91bd7df9488f7be5203377b21006
e15768382ea9553ee5a2bd708e96796b3f3275d2
/applications/DEM_application/python_scripts/DEM_material_test_script.py
c632a90723e7fba0c1332a24932d988b01f3083a
[]
no_license
KratosCSIC2016/Master
2c8edcd0c6c5745d198bede2b7e8cac6811e6ede
f15871e1830829bb41fdcb3203f4db59147bee01
refs/heads/master
2020-06-17T20:08:41.482931
2016-12-13T12:03:49
2016-12-13T12:03:49
74,974,314
1
1
null
null
null
null
UTF-8
Python
false
false
30,966
py
from __future__ import print_function, absolute_import, division #makes KratosMultiphysics backward compatible with python 2.6 and 2.7 import math import datetime import shutil from KratosMultiphysics import * from KratosMultiphysics.DEMApplication import * class MaterialTest(object): def __init__(self, DEM_param...
[ "enriquebonetgil@hotmail.com" ]
enriquebonetgil@hotmail.com
57b3133bc307acf2c81d04dfe4decc0eac45a50b
646a3ac8a5878325de6cda863fff3f7b7651258f
/Python/MachineLearning/handson-ml-master/05_support_vector_machines_11.py
d808a778d8e36cae490e4342acdf82ebbe428d85
[]
no_license
munezou/VsCodeProject
f86f22e744d0c94576a12fe6f9740a70957958dc
f4c6780b4c6c2ebbe821aba851c741a621c0f0bb
refs/heads/master
2022-11-15T05:08:59.250462
2022-06-16T07:45:48
2022-06-16T07:45:48
216,174,979
0
1
null
2022-11-02T02:24:15
2019-10-19T08:39:01
Python
UTF-8
Python
false
false
3,476
py
# common library from sklearn.datasets import fetch_california_housing from sklearn.model_selection import train_test_split from sklearn.preprocessing import StandardScaler from sklearn.svm import LinearSVR from sklearn.metrics import mean_squared_error import numpy as np from sklearn.svm import SVR from sklearn.model_...
[ "kazumikm0119@pi5.fiberbit.net" ]
kazumikm0119@pi5.fiberbit.net
4840c932fc1046f14bf7a3904cec5b8e984e63a1
acb8e84e3b9c987fcab341f799f41d5a5ec4d587
/langs/9/v5b.py
fc135aa59bb86d4948d404ed20e093094f30749d
[]
no_license
G4te-Keep3r/HowdyHackers
46bfad63eafe5ac515da363e1c75fa6f4b9bca32
fb6d391aaecb60ab5c4650d4ae2ddd599fd85db2
refs/heads/master
2020-08-01T12:08:10.782018
2016-11-13T20:45:50
2016-11-13T20:45:50
73,624,224
0
1
null
null
null
null
UTF-8
Python
false
false
486
py
import sys def printFunction(lineRemaining): if lineRemaining[0] == '"' and lineRemaining[-1] == '"': if len(lineRemaining) > 2: #data to print lineRemaining = lineRemaining[1:-1] print ' '.join(lineRemaining) else: print def main(fileName): with open(fileName) as f: for line in f: ...
[ "juliettaylorswift@gmail.com" ]
juliettaylorswift@gmail.com
31748bc7192bb33c24bfb4876595e5e564b114bd
506e4edd657f05f76f264545a5c3cbba9e824be6
/hibiki/app/tests/submit_test.py
2eb260c498b45e8c7ab743aca5c1e74ab565d372
[ "Apache-2.0" ]
permissive
icfpc2016/icfpc2016-judge
72e24345a27101cc7d835e318344997b1d79a6d9
ece7a536fa480f141d0d305b090b1bfe195542f8
refs/heads/master
2021-01-12T14:47:06.283253
2016-10-11T12:52:36
2016-10-11T12:52:36
68,703,863
15
1
null
null
null
null
UTF-8
Python
false
false
3,501
py
# Copyright 2016 ICFP Programming Contest 2016 Organizers # # 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 ...
[ "takahashi.shuhei@gmail.com" ]
takahashi.shuhei@gmail.com
6396e4a7909dc5d122cc0d94aa8d1edf2b5772a6
113d7783665c4ad20ead50b2750a2ac6e4d416fd
/Arduino Basics/ArdWrite.py
7bb7c2f67d6b684e638ec77f87dc701ac8b3accd
[]
no_license
samaeen/python_practice
a6f0067e350b03c1b68cb5cc7b2fdc0e24d37fed
cd01f255e607f20323b9c284ab271fde7beeb695
refs/heads/master
2020-04-28T23:59:10.652398
2020-01-18T17:11:45
2020-01-18T17:11:45
175,676,914
0
0
null
null
null
null
UTF-8
Python
false
false
126
py
import serial ser=serial.Serial('COM7',9600) while (1==1): value=input("enter somethin") ser.write(value.encode())
[ "sama.shoummo@gmail.com" ]
sama.shoummo@gmail.com
ca64c95acb3f3acec2aee2cd59a4a121b186ac88
47071afbeec3ad10bc0f28617928193413b010c9
/mspbe.py
0a6201680614420e486c177451ce5b5b4422150a
[ "MIT" ]
permissive
zilunpeng/svrg_for_policy_evaluation_with_fewer_gradients
3f5bd14a88439bdc2f912e4448b32d2f10ab2019
917d2241fd50eef9b91908a9ab033d97626a7fd8
refs/heads/master
2021-01-05T23:10:07.764398
2020-12-07T00:02:57
2020-12-07T00:02:57
241,163,211
3
2
null
null
null
null
UTF-8
Python
false
false
8,160
py
import numpy as np import time import torch def calc_mspbe_torch(exp, rho): A_theta_minus_b = torch.mv(exp.A,exp.theta) - exp.b return (1/2)*torch.dot(A_theta_minus_b, torch.mv(exp.C_inv, A_theta_minus_b)) + torch.mul(rho/2, torch.dot(exp.theta, exp.theta)) - torch.mul(exp.rho_omega/2, torch.dot(exp.omega, exp...
[ "zilunpeng@gmail.com" ]
zilunpeng@gmail.com
02947f18b77cca7e6ba4e9d389511fd9fdd2cef9
46ad22b772f0bb115e1192ca24c86b1593d51870
/eclipsed/run_game.py
dc67dab7b33e0982b6dc5dc27c949821b31da845
[ "CC0-1.0", "WTFPL", "CC-BY-4.0" ]
permissive
cosmologicon/unifac
fb533abfbba7ebb33561a330f7be5d22dbc2a373
e7668c6736cd4db66f8d56e945afb69ec03f2160
refs/heads/master
2022-06-15T10:46:28.448477
2022-05-30T20:26:55
2022-05-30T20:26:55
37,033,765
0
0
null
null
null
null
UTF-8
Python
false
false
59
py
import sys sys.path.append("src") import main main.main()
[ "cosmologicon@gmail.com" ]
cosmologicon@gmail.com
4013f4e542e9b6415801480e3202c765a674500f
80187e482d94f2b9ee2269a57731a91ac078435c
/eaglescr/models.py
4fd44a653cd5a1b2d015d4ae29ce214dbf71e905
[ "WTFPL" ]
permissive
derpston/pyEagleSCR
4f08d0934682f1ecf1e67e7c06a6b6d7041c7897
c1736866bec751ec224661d3ffa675dbd6dec9d1
refs/heads/master
2021-04-28T19:40:34.489620
2018-02-18T16:59:53
2018-02-18T16:59:53
121,903,578
0
0
null
null
null
null
UTF-8
Python
false
false
7,551
py
class Pin(object): regex = "^Pin '(?P<name>[A-Za-z0-9_-]+)' "\ "(?P<pintype>[A-Za-z/]+) "\ "(?P<unknown1>[A-Za-z]+) "\ "(?P<unknown2>[A-Za-z]+) "\ "R(?P<rotation>([0-9]+)) "\ "(?P<unknown3>[^ ]+) "\ "(?P<unknown4>[^ ]+) "\ "\((?P<pos_x>[0-9-\.]+) (?P<pos_y>[0-...
[ "user@example.com" ]
user@example.com
62a156e888cd84dadaf4ff5c227a87deaa0fe87e
49acf9866c97635b3df65be8132072c19ea85410
/todo_rest/wsgi.py
5972f855a9b40257790a5a72be525f9d1cd2e5bb
[]
no_license
SebGrobelny/TodoList
8f7328f79231732dddc218a7124f6afe79ef4da6
4e8aba9ae038db25186e093bde1d8b8278f6060a
refs/heads/master
2021-08-14T22:05:16.589234
2017-11-16T22:12:56
2017-11-16T22:12:56
110,732,578
0
0
null
null
null
null
UTF-8
Python
false
false
514
py
""" WSGI config for todo_rest 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 # from todo_list.middleware impor...
[ "sgrobelny@Sebastians-MacBook-Air-2.local" ]
sgrobelny@Sebastians-MacBook-Air-2.local
19aafa192a9df1c8fcd23a25d9543cd934d207ec
acff427a36d6340486ff747ae9e52f05a4b027f2
/main/x11/library/mesa/actions.py
4b6bca5ef8d530da395a145843e98c124fb9a338
[]
no_license
jeremie1112/pisilinux
8f5a03212de0c1b2453132dd879d8c1556bb4ff7
d0643b537d78208174a4eeb5effeb9cb63c2ef4f
refs/heads/master
2020-03-31T10:12:21.253540
2018-10-08T18:53:50
2018-10-08T18:53:50
152,126,584
2
1
null
2018-10-08T18:24:17
2018-10-08T18:24:17
null
UTF-8
Python
false
false
2,725
py
# -*- coding: utf-8 -*- # # Licensed under the GNU General Public License, version 3. # See the file http://www.gnu.org/licenses/gpl.txt from pisi.actionsapi import get from pisi.actionsapi import autotools from pisi.actionsapi import pisitools from pisi.actionsapi import shelltools Libdir = "/usr/lib32" if get.buil...
[ "erkanisik@yahoo.com" ]
erkanisik@yahoo.com
29086122769a724fd83d19da8ccf3b5f0e5135e4
517ced9ea52430db7d0a6aa047498b885c269b80
/target_models/__init__.py
b3ca2f9f0bf973b069e099dd04acdc5969a4f0e6
[]
no_license
sophiesmile/SimulatorAttack
5bdc8ee9a417167caddb1a15dcfc4c33ad187fba
9d34a0665c0a75c89df243c2a3f07a7ad8a2961f
refs/heads/master
2022-09-19T06:12:48.839461
2020-05-27T02:20:07
2020-05-27T02:20:07
null
0
0
null
null
null
null
UTF-8
Python
false
false
60
py
import target_models.cifar import target_models.imagenet
[ "sharpstill@163.com" ]
sharpstill@163.com
d414c2c8ac0b66c98a07fc0b1a5daaf3b798fc4b
2071cf1aec8e9762a70b8c932943d8769da7f37a
/python_source/pygraphviz.py
1cdcbfc18892b4a70b4b9982024e99b1ec6e945a
[]
no_license
rinkeigun/linux_module
70581a793d1f170ad1a776fd1acf4cda1abecd52
94450fb2c6af0fc56f451ae9bf74f7aca248d0a6
refs/heads/master
2020-05-21T17:49:15.608902
2018-09-18T22:57:40
2018-09-18T22:57:40
60,572,658
0
0
null
null
null
null
UTF-8
Python
false
false
562
py
#!/usr/bin/env python # -*- coding: utf-8 -*- # pip install graphviz # dot実行ファイルが必要 from graphviz import Digraph # formatはpngを指定(他にはPDF, PNG, SVGなどが指定可) G = Digraph(format='png') G.attr('node', shape='circle') N = 15 # ノード数 # ノードの追加 for i in range(N): G.node(str(i), str(i)) # 辺の追加 for i in range(N): if...
[ "huiqun.lin@gmail.com" ]
huiqun.lin@gmail.com
c1c13e5582ed43fde2726bb754d1980c14fd73c9
62f8885c0677b3c4e2e34ae3903ac455f1a5a3db
/api/migrations/0003_auto_20200301_0319.py
b8a5ae0ae49471498bad15fee12b291c7fbfb71d
[]
no_license
ZFCon/fortesting
b22e92bf517c4daae8208c76bab6d67245739858
85c0680d4e5c479f63c745fb707f85b3358ee38d
refs/heads/master
2021-03-01T16:19:44.922553
2020-03-08T11:01:28
2020-03-08T11:01:28
245,798,158
0
0
null
null
null
null
UTF-8
Python
false
false
683
py
# Generated by Django 2.2 on 2020-03-01 11:19 from django.db import migrations, models import django.utils.timezone class Migration(migrations.Migration): dependencies = [ ('api', '0002_commoninfo'), ] operations = [ migrations.AddField( model_name='person', name...
[ "ziad32ahmed111@gmail.com" ]
ziad32ahmed111@gmail.com
1a10d153153b9a5c45a5e1d23809218948d57e69
c088fa904eac09e8b01e27d4baa664abc5540f94
/ppdet/modeling/necks/blazeface_fpn.py
18d7f3cf19cb4eea5728698cd03362cec548a5d1
[ "Apache-2.0" ]
permissive
xiegegege/PaddleDetection
cc56996175ae1ca7704dca0590eb43f24c81c3a4
2a4c8f4b65d5270419e539d2d3917f91075128c6
refs/heads/release/2.3
2023-03-20T06:14:42.929155
2022-06-09T09:28:27
2022-06-09T09:28:27
247,691,363
0
0
Apache-2.0
2020-03-16T12:02:23
2020-03-16T12:02:23
null
UTF-8
Python
false
false
6,843
py
# Copyright (c) 2021 PaddlePaddle 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 appli...
[ "noreply@github.com" ]
xiegegege.noreply@github.com
e4defe81d7d6a74f88e524450d065f85cc8f74d5
e15d63ccde04e7458bff5af1bdad63a5c699b489
/example/Model_Conversion/mx2torch/retinaface_mobilenet/test_mx_output.py
b44196d75584e46a4328e8d769f9be78ee713643
[ "WTFPL" ]
permissive
ddddwee1/TorchSUL
775b6a2b1e4ab7aac25a3f0411de83affc257af5
6c7cd41b14fc8b746983e8b981d1ba4d08370ca2
refs/heads/master
2023-08-21T15:21:24.131718
2023-08-18T09:37:56
2023-08-18T09:37:56
227,628,298
13
1
null
null
null
null
UTF-8
Python
false
false
1,092
py
import mxnet as mx import numpy as np prefix = './mx/mnet.25' epoch = 0 sym, arg_params, aux_params = mx.model.load_checkpoint(prefix, epoch) # digraph = mx.visualization.plot_network(sym, shape={'data':(1,3,640,640)}, node_attrs={"fixedsize":"false"}, hide_weights=False) # digraph.view() all_layers = sym.get_inte...
[ "cy960823@outlook.com" ]
cy960823@outlook.com
c6e0d852d5756e41747fe37e6340cea577f726f6
e1dd6d9dccb822d472b7f4f9e8446dd9202eb5a1
/sdk/argo/sdk/models/io_k8s_api_authentication_v1_token_review_status.py
9b5cf5d27f943a34fbca5e7fe99e2d64fc684ce8
[]
no_license
swiftdiaries/argo_client
8af73e8df6a28f9ea5f938b5894ab8b7825e4cc2
b93758a22d890cb33cbd81934042cfc3c12169c7
refs/heads/master
2020-05-17T12:11:57.556216
2019-07-24T23:23:33
2019-07-24T23:23:33
183,701,327
0
0
null
null
null
null
UTF-8
Python
false
false
7,422
py
# coding: utf-8 """ Argo API Client Generated python client for the Argo Workflows # noqa: E501 OpenAPI spec version: v1.14.0 Generated by: https://github.com/swagger-api/swagger-codegen.git """ import pprint import re # noqa: F401 import six from argo.sdk.models.io_k8s_api_authentication_v1...
[ "adhita94@gmail.com" ]
adhita94@gmail.com
60e264e8cffcbb001f6707ba54569420566c3f58
de3fd59487f12e31df6d511f1315c958202cc955
/6.10装饰类.py
917183fc8937ae32e3847b16bcf4b6f08a2251a9
[]
no_license
guyimin/python-tutorial-by-Vamei
fb8d46ae83f567928d44a9c183facb73241ff320
a7dfa987e4c68293b2d745a1d89009d930c1c59c
refs/heads/master
2020-08-21T11:35:02.784561
2016-09-30T09:22:03
2016-09-30T09:22:03
null
0
0
null
null
null
null
UTF-8
Python
false
false
497
py
# coding=utf-8 def decorator(aClass): class newClass: def __init__(self, age): self.total_display = 0 self.wrapped = aClass(age) def display(self): self.total_display += 1 print("total display", self.total_display) self.wrapped.display() return newClass @decorator class Bird: def __init__(self, a...
[ "cbb903601682@163.com" ]
cbb903601682@163.com
99d3eebbdf83d571a24b7490f73b2b2b78936cf8
e7b7cc34f77c71e61aa0fa05bcc62f54fc2fc0e1
/LinkedList/test_q021_merge_two_sorted_lists.py
6bf0ddf2a8344a5a23d35e93813b8ec403b32dc5
[]
no_license
sevenhe716/LeetCode
41d2ef18f5cb317858c9b69d00bcccb743cbdf48
4a1747b6497305f3821612d9c358a6795b1690da
refs/heads/master
2020-03-16T16:12:27.461172
2019-04-22T13:27:54
2019-04-22T13:27:54
130,221,784
0
0
null
null
null
null
UTF-8
Python
false
false
1,230
py
import unittest from LinkedList.q021_merge_two_sorted_lists import Solution from common import ListNode class TestMergeTwoSortedLists(unittest.TestCase): """Test q021_merge_two_sorted_lists.py""" def test_merge_two_sorted_lists(self): s = Solution() self.assertEqual(ListNode.generate([1, 1,...
[ "429134862@qq.com" ]
429134862@qq.com
945fe60cb1fac6f7254796186e55779fcaf5b746
4dd5dbebc7b7f6dbfcbd6cc662311c91ad6d47e9
/AtCoder/ABC105B.py
195b041e80bbac4d2589f16a7e6eba4124a7c530
[]
no_license
sourjp/programming_contest
aa6925b3317bd3aeb646df93a611af1199bfc7aa
2a50e1be45441789e81eb49bfdfc0c598d2a534b
refs/heads/master
2021-04-01T05:08:44.097226
2020-08-20T13:01:55
2020-08-20T13:01:55
248,158,920
0
0
null
null
null
null
UTF-8
Python
false
false
228
py
n = int(input()) ans = 0 for i in range(1, n+1, 2): divisor_amount = 0 for j in range(1, i+1): if i % j == 0: divisor_amount += 1 if divisor_amount == 8: ans += 1 print(ans)
[ "hiro0209.ki@gmail.com" ]
hiro0209.ki@gmail.com
4d8750bd1b8d5e27fd0c91c523f77e1c87198d08
480e33f95eec2e471c563d4c0661784c92396368
/RecoEgamma/EgammaPhotonProducers/python/egammaForCoreTracking_cff.py
1fd0eb8fffdc780e050905883dbd2343166fdf5f
[ "Apache-2.0" ]
permissive
cms-nanoAOD/cmssw
4d836e5b76ae5075c232de5e062d286e2026e8bd
4eccb8a758b605875003124dd55ea58552b86af1
refs/heads/master-cmsswmaster
2021-01-23T21:19:52.295420
2020-08-27T08:01:20
2020-08-27T08:01:20
102,867,729
7
14
Apache-2.0
2022-05-23T07:58:09
2017-09-08T14:03:57
C++
UTF-8
Python
false
false
2,498
py
import FWCore.ParameterSet.Config as cms from RecoEcal.EgammaClusterProducers.particleFlowSuperClusterECAL_cfi import particleFlowSuperClusterECAL as _particleFlowSuperClusterECAL #cant use the regression as requires #vertices and we cant use tracking info #also require it to be above 20 GeV as we only want E/gamma...
[ "sam.j.harper@gmail.com" ]
sam.j.harper@gmail.com
ff01776ba507c2dfcc3915164656714a90502bf9
163bbb4e0920dedd5941e3edfb2d8706ba75627d
/Code/CodeRecords/2067/60829/272909.py
fb333252c180e9f4a1684e8e2ab43113d3a5d561
[]
no_license
AdamZhouSE/pythonHomework
a25c120b03a158d60aaa9fdc5fb203b1bb377a19
ffc5606817a666aa6241cfab27364326f5c066ff
refs/heads/master
2022-11-24T08:05:22.122011
2020-07-28T16:21:24
2020-07-28T16:21:24
259,576,640
2
1
null
null
null
null
UTF-8
Python
false
false
319
py
def r(num): C=["", "C", "CC", "CCC", "CD", "D", "DC", "DCC", "DCCC", "CM"] X=["", "X", "XX", "XXX", "XL", "L", "LX", "LXX", "LXXX", "XC"] I=["", "I", "II", "III", "IV", "V", "VI", "VII", "VIII", "IX"] return "M"*(num//1000) + C[num % 1000 //100] + X[num % 100 //10] + I[num % 10]; print(r(int(input())))
[ "1069583789@qq.com" ]
1069583789@qq.com
1e3b73f3fe7903105effd1147644ee3021c90f07
431963e431a277ec5682973f275f7d43f8b2b4de
/Django/Django_learning/My_Diango/My_Diango/settings.py
3113453f05bd9404879e55a44eec6db824b4e045
[]
no_license
gitter-badger/python_me
168e1fd126f42c92de7e82833251abce63fe2d0a
8f31da00530e7132e58d0c1c06b5805a6b0f96e6
refs/heads/master
2020-12-03T01:56:38.909715
2017-03-15T01:02:04
2017-03-15T01:02:04
95,884,399
0
0
null
2017-06-30T11:59:27
2017-06-30T11:59:27
null
UTF-8
Python
false
false
1,995
py
""" Django settings for My_Diango project. For more information on this file, see https://docs.djangoproject.com/en/1.6/topics/settings/ For the full list of settings and their values, see https://docs.djangoproject.com/en/1.6/ref/settings/ """ # Build paths inside the project like this: os.path.join(BASE_DIR, ...) ...
[ "chenye626@gmail.com" ]
chenye626@gmail.com
775c0bbe3ac9e54cb31dc2d402fd0155e9ee790d
1262d36818e3726c94c76f16233d084a7f9a9ab6
/15_1_dataclasses/user.py
dde08ef00ad7cd071e022ec6c6c3902c54350e4c
[]
no_license
kruegsw/price-of-chair-new
636b44d7e4fdbf9990ae4e5868d0bc9c6a7745b8
42f9dece33aece7bb6aad5c4ce85e10371cb1a8e
refs/heads/master
2022-12-02T13:07:51.978098
2020-08-11T11:07:52
2020-08-11T11:07:52
null
0
0
null
null
null
null
UTF-8
Python
false
false
498
py
import uuid from typing import Dict from dataclasses import dataclass, field def generate_hex(): return uuid.uui4().hex @dataclass class User: _id: str = field(default_factory=generate_hex) # field(default_factory=lambda: uuid.uuid4().hex) username: str password: str = field(repr=False, compare=Fal...
[ "jslvtr@gmail.com" ]
jslvtr@gmail.com
53d331b0d1ab767e0c697dd06627598f57e3b71d
b75c601c0762aef57162fc330ab77ded70458b5a
/Gash_v1.py
c3aca6c18af66c2ec66caab8fcb8b228ac34e803
[]
no_license
abrightmoore/MCEditUnifiedFilters
9fcddda52bc6d3edde5469341794432831fd22e7
45b4b7ab9154647143a1b7140de81cda60c4dadb
refs/heads/master
2021-04-26T21:49:19.643750
2018-03-07T03:31:45
2018-03-07T03:31:45
124,162,734
2
1
null
2018-03-12T08:51:18
2018-03-07T01:47:21
Python
UTF-8
Python
false
false
3,172
py
# This filter deforms the terrain in the selection box by creating a gash in the surface of the world # # abrightmoore@yahoo.com.au # http://brightmoore.net # from math import sqrt, tan, sin, cos, pi, ceil, floor, acos, atan, asin, degrees, radians, log, atan2 from random import * from numpy import * input...
[ "noreply@github.com" ]
abrightmoore.noreply@github.com
7ff97f9fa7ffc4e9d6f726fc8a04a05fc4ca6df3
9d9e0a269aca2280e841a083a5e10dc24a0eb14d
/build/rosserial/rosserial_msgs/catkin_generated/pkg.installspace.context.pc.py
279858f88a33888a1b91a2cb4e65e4ff8769902f
[]
no_license
JoseBalbuena181096/ROS_TUTORIAL
9e4eb8116366f5c4e449afe2d16a6954fa9c9b05
caba9b86f8456a660e8256abb8b75f45ed3b6dd7
refs/heads/master
2020-06-27T12:25:24.553275
2019-08-01T01:34:54
2019-08-01T01:34:54
199,954,345
1
0
null
null
null
null
UTF-8
Python
false
false
463
py
# generated from catkin/cmake/template/pkg.context.pc.in CATKIN_PACKAGE_PREFIX = "" PROJECT_PKG_CONFIG_INCLUDE_DIRS = "/home/jose/catkin_ws/install/include".split(';') if "/home/jose/catkin_ws/install/include" != "" else [] PROJECT_CATKIN_DEPENDS = "message_runtime".replace(';', ' ') PKG_CONFIG_LIBRARIES_WITH_PREFIX = ...
[ "angelsnek2510@gmail.com" ]
angelsnek2510@gmail.com
e2d1d86c2148338d670e703c2fe1f4e0e2bcbf0f
ca7aa979e7059467e158830b76673f5b77a0f5a3
/Python_codes/p02735/s899890253.py
0fba89c0453acd06d0b0c9f0aff86472a1960399
[]
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
902
py
h, w = map(int,input().split()) s_l = [] for i in range(h): s_l.append(list(input())) for j in range(w): if s_l[i][j] == '.': s_l[i][j] = 0 else: s_l[i][j] = 1 dp = [] for _ in range(h): dp.append([0] * w) if s_l[0][0] != 0: dp[0][0] += 1 for i in range(1,h): ...
[ "66529651+Aastha2104@users.noreply.github.com" ]
66529651+Aastha2104@users.noreply.github.com
c51a92eca58e680baf544065da701a52dc234362
1e23f07475e0f7f3aa54b7be8ba45980590c93d4
/bitlist.py
2737b41b773422f63dec38e844603757adb8fe4c
[]
no_license
pierce403/bitlist
df9e9a4860374d4309573405a1107b37ac03054e
ebf5ccbd0cb0f4836cb680e0f034673524c27eb9
refs/heads/master
2021-01-15T18:44:58.352773
2013-05-23T21:22:00
2013-05-23T21:22:00
10,144,213
2
0
null
2013-05-23T21:22:04
2013-05-18T16:53:11
Python
UTF-8
Python
false
false
28,850
py
import webapp2, os, datetime, urllib, operator, logging import settings as bitsettings from xml.etree import ElementTree from google.appengine.api import users, mail, search from google.appengine.ext import ndb from google.appengine.ext.webapp import template from google.appengine.ext.webapp.util import run_wsgi_...
[ "connor.collins@gmail.com" ]
connor.collins@gmail.com
6c259b0e1545ea67f6ad1336fe0769eeffa7cb68
2148efd305a68ecce87e0ab9c6e7335e33102c97
/readthedocs/storage/azure_storage.py
be239974679bd6cf3471772f016f81e818b1b8d2
[ "MIT" ]
permissive
Sirokujira/readthedocs.org
29a45def7161066346eedae25cd5d110e7264692
1998cf555303b8400b6ab98ed056b1cb061be88f
refs/heads/master
2020-12-20T18:21:56.015752
2020-01-25T11:24:07
2020-01-25T11:24:07
236,168,641
1
0
MIT
2020-01-25T12:41:06
2020-01-25T12:41:05
null
UTF-8
Python
false
false
1,898
py
# pylint: disable=abstract-method # Disable: Method 'path' is abstract in class 'Storage' but is not overridden """Django storage classes to use with Azure Blob storage service.""" from azure.common import AzureMissingResourceHttpError from django.conf import settings from django.contrib.staticfiles.storage import Ma...
[ "humitos@gmail.com" ]
humitos@gmail.com
5662035876fc491aa47d1df11a3f8ebdc00d49f6
b507e16344e5cebc1352c44a6e60580c8749270e
/__init__.py
456d821870f68ee853aaca7dbd354308bba61938
[]
no_license
fabyc/nodux_party_one
3d0685557c3513983fc89ebab5b2adb26e770f1c
6bb2383335279ce7b93a971265331178859b53b7
refs/heads/master
2022-05-24T16:03:08.933408
2017-02-01T17:59:29
2017-02-01T17:59:29
260,082,620
0
0
null
null
null
null
UTF-8
Python
false
false
543
py
#This file is part of Tryton. The COPYRIGHT file at the top level of #this repository contains the full copyright notices and license terms.#This file is part of Tryton. The COPYRIGHT file at the top level of #this repository contains the full copyright notices and license terms. from trytond.pool import Pool from .p...
[ "tatianaq@nodux.ec" ]
tatianaq@nodux.ec
f6c6672971eab937c080e7d4c1b29fc897c94157
42b324291b51b14e284a8c5e14270a4e9446737a
/test61.py
32b3284c2bbfc3fe8735638cfa984f31792954a5
[]
no_license
christinecoco/python_test
3f7505c85711eb6bff27cbc68bfd3fd9829a843d
6d6c519e237f1d9e7243e3e6378a0ca44af98439
refs/heads/master
2020-05-23T22:26:58.341688
2019-05-16T07:23:28
2019-05-16T07:23:28
186,973,896
0
0
null
null
null
null
UTF-8
Python
false
false
507
py
#打印出杨辉三角形(打印出10行即可) if __name__=='__main__': a=[] for i in range(10): a.append([]) for j in range(10): a[i].append(0) for i in range(10): a[i][0]=1 a[i][i]=1 for i in range(2,10): for j in range(1,i): a[i][j]=a[i-1][j-1]+a[i-1][j] from ...
[ "tester@test.com" ]
tester@test.com
1966c90f66097c8c995ad1f681f17369bce8b39b
23d3381bae8884fa135effe7e9ad6aced5dfaaba
/set51.py
461f25e728dc69dc92e7958ef6c48adafae626ac
[]
no_license
sushmithasushi/codekata
16b8dc73a9d801cd0d72b06368409a694ce9b942
a003ced2f38d3e534f70ca1691356e0448c60f26
refs/heads/master
2020-06-13T04:49:32.458965
2019-07-18T18:06:57
2019-07-18T18:06:57
194,540,452
0
0
null
null
null
null
UTF-8
Python
false
false
61
py
s,x=input().split() x=int(x) for i in range(x): print(s)
[ "noreply@github.com" ]
sushmithasushi.noreply@github.com
291a321ca0e9ff50880604eb71160ef48817e194
0bc4391986b15c706a77e5df314ec83e84375c54
/articles/migrations/0001_initial.py
b69723f0adf51794e33ff0d767c21013d9d28001
[]
no_license
ssshhh0402/django-crud
a6d1a0872942c6215b1130a44ae335182c42937d
da292c07c9f77526bee8cbbec07d37ea8464d6af
refs/heads/master
2022-05-02T12:07:26.518798
2019-09-23T06:26:43
2019-09-23T06:26:43
203,089,241
0
0
null
2022-04-22T22:11:46
2019-08-19T03:07:54
HTML
UTF-8
Python
false
false
1,257
py
# Generated by Django 2.2.4 on 2019-09-23 05:25 from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): initial = True dependencies = [ ] operations = [ migrations.CreateModel( name='Article', fields=[ ...
[ "ssshhh0402@naver.com" ]
ssshhh0402@naver.com
c10739d615007f4568c797acb82e9e8d2392d6ad
98f13c7a8eda056323ad94eeae1d5c61e8d270ae
/indiana/pca_predict.py
da457fc1f19d0b60e2a801b8ba9acbda5193c4cf
[]
no_license
SemieZX/mylab_zx
44f7606b81e87f8aa88d3330f42eb36ced04b4fb
5a186153ae0e9d925003bf4c8edeef57296d1283
refs/heads/master
2020-04-03T18:22:00.764639
2018-11-18T11:45:18
2018-11-18T11:45:18
135,897,969
0
0
null
null
null
null
UTF-8
Python
false
false
1,473
py
import matplotlib.pyplot as plt import numpy as np from scipy.io import loadmat import spectral import joblib from sklearn import metrics from sklearn.decomposition import PCA input_image = loadmat('E:\data\hyp_data.mat')['hyp_data'] output_image = loadmat('E:\data\X.mat')['X'] testdata = np.genfromtxt('E:\data\X.csv...
[ "zx18846031359@aliyun.com" ]
zx18846031359@aliyun.com
878e75d4da1901eb3b1bd5fd236bd69b5f4a6e25
83de24182a7af33c43ee340b57755e73275149ae
/aliyun-python-sdk-lto/aliyunsdklto/request/v20210707/AuthorizeBaaSRequest.py
b18bcc654eda03c1948e62d0377e3b265f4243f6
[ "Apache-2.0" ]
permissive
aliyun/aliyun-openapi-python-sdk
4436ca6c57190ceadbc80f0b1c35b1ab13c00c7f
83fd547946fd6772cf26f338d9653f4316c81d3c
refs/heads/master
2023-08-04T12:32:57.028821
2023-08-04T06:00:29
2023-08-04T06:00:29
39,558,861
1,080
721
NOASSERTION
2023-09-14T08:51:06
2015-07-23T09:39:45
Python
UTF-8
Python
false
false
996
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...
[ "sdk-team@alibabacloud.com" ]
sdk-team@alibabacloud.com
ec4b0da6b84bce1fb68508fcf2a9c1fea8f01828
3d52ebe8bfe014b08c86e0229c268b3646002af0
/tictactoe/adapters/client_channel.py
81f5dfd54c9ac23e641b0992ba1681737010d778
[ "MIT" ]
permissive
pitzer42/nano-tcg
0856d6f2083a9ad20e0896158eaea527ee450a29
c984b253b8a53a707460aac21c10f140d16d902e
refs/heads/master
2023-04-13T12:52:40.521675
2020-07-04T21:06:41
2020-07-04T21:06:41
264,343,238
1
0
MIT
2021-04-20T19:57:17
2020-05-16T02:32:28
Python
UTF-8
Python
false
false
2,258
py
import json from typing import List from gloop.adapters.client_channel import PlayerClientChannel from tictactoe.entities.match import TicTacToeMatch from tictactoe.entities.movements import Movement class TicTacToeClientChannel(PlayerClientChannel): def __init__(self, inner_channel): super(TicTacToeCli...
[ "arthurpitzer@id.uff.br" ]
arthurpitzer@id.uff.br
134f4256bbf1ec91b5ec550b72d21bb5b52b2793
c1ad248b8172c63f7756f14cb50f96cf726f90d0
/tensorflow_examples/lite/model_maker/core/task/metadata_writers/bert/metadata_writer_for_bert.py
571cfc9377c8f2c0208913c9fcdbeef27f95fd73
[ "Apache-2.0" ]
permissive
slmsshk/examples
846ec816c0c6d095cf49e4054df85a80375f4b7f
cd89a54b9e9577bebd22a9f083526ca8cb2b58b5
refs/heads/master
2022-08-16T19:59:03.695027
2022-08-07T07:30:14
2022-08-07T07:30:14
256,999,865
1
0
Apache-2.0
2020-04-19T12:59:03
2020-04-19T12:59:01
null
UTF-8
Python
false
false
9,295
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
269ec13bbad496e6a31e8d2e7895ef570166f915
56f5b2ea36a2258b8ca21e2a3af9a5c7a9df3c6e
/CMGTools/H2TauTau/prod/22Jul/down/emb/DoubleMuParked/StoreResults-Run2012D_22Jan2013_v1_PFembedded_trans1_tau132_pthad1_30had2_30_v1-5ef1c0fd428eb740081f19333520fdc8/USER/V5_B/PAT_CMG_V5_16_0_1374500587/HTT_22Jul_manzoni_Down_Jobs/Job_221/run_cfg.py
a449944f65d2854edd29dbbebff04ab40e2a966b
[]
no_license
rmanzoni/HTT
18e6b583f04c0a6ca10142d9da3dd4c850cddabc
a03b227073b2d4d8a2abe95367c014694588bf98
refs/heads/master
2016-09-06T05:55:52.602604
2014-02-20T16:35:34
2014-02-20T16:35:34
null
0
0
null
null
null
null
UTF-8
Python
false
false
69,042
py
import FWCore.ParameterSet.Config as cms import os,sys sys.path.append('/afs/cern.ch/user/m/manzoni/summer13/CMGTools/CMSSW_5_3_9/src/CMGTools/H2TauTau/prod/22Jul/down/emb/DoubleMuParked/StoreResults-Run2012D_22Jan2013_v1_PFembedded_trans1_tau132_pthad1_30had2_30_v1-5ef1c0fd428eb740081f19333520fdc8/USER/V5_B/PAT_CMG_V...
[ "riccardo.manzoni@cern.ch" ]
riccardo.manzoni@cern.ch
ac13977fd6e660fbc9e4e370891633fa9a0b1fe0
2884daca5ef9858e17d23bcd7bdc3130749de6c0
/manage.py
497007ec32708d64766bb6f09b6c3235f28ebf4b
[]
no_license
qobiljon-archives/MF_API_Server
0644aa924493296872c5c7d1ee6bf44b2aefd5dd
e669f0a8e647cf246bb344a3c84824163252c98e
refs/heads/master
2022-09-10T06:41:34.245445
2019-08-27T02:53:32
2019-08-27T02:53:32
null
0
0
null
null
null
null
UTF-8
Python
false
false
808
py
#!/usr/bin/env python import os import sys if __name__ == "__main__": os.environ.setdefault("DJANGO_SETTINGS_MODULE", "MainModule.settings") try: from django.core.management import execute_from_command_line except ImportError: # The above import may fail for some other reason. Ensure that t...
[ "qobiljon.toshnazarov@gmail.com" ]
qobiljon.toshnazarov@gmail.com
cc33238429fcccdb95a8524673985e4366f889f5
0ba4a08743bb05047900b8dc158d5386f520f446
/first/test.py
3f2fdda52d50601f29e8ab574b964e7ad4601c74
[]
no_license
mgh3326/Major_Deeped_Lab1_Project_Practice
9c0dade22fae23158627a92c9677c7b3e3d685ee
74e7e0aad10e4e781a04e109fe778ad81d5c8113
refs/heads/master
2020-04-02T09:35:16.238299
2018-12-09T23:41:06
2018-12-09T23:41:06
154,299,793
0
0
null
2019-11-30T05:58:57
2018-10-23T09:23:39
C++
UTF-8
Python
false
false
273
py
import numpy as np import cv2 as cv from matplotlib import pyplot as plt imgL = cv.imread('lena.jpg',0) imgR = cv.imread('lena.jpg',0) stereo = cv.StereoBM_create(numDisparities=16, blockSize=15) disparity = stereo.compute(imgL,imgR) plt.imshow(disparity,'gray') plt.show()
[ "mgh3326@naver.com" ]
mgh3326@naver.com
b1c0b0e439033e90b80c8f96f463fee6a5afd82e
d202218d278c0693a78b6113374cff10eb8cdc38
/emitor.py
da577d1b72364315e58ef27724223cf9e5b91d48
[]
no_license
ondrejsika/tx-emitor
4188fc6decc0fafae350ee5dc7f1a5a78e231abf
bdcddc02b1ce068aa38f67a499596b86a7f12d45
refs/heads/master
2021-06-19T16:21:14.776706
2017-07-28T14:01:33
2017-07-28T14:01:33
74,568,766
0
0
null
null
null
null
UTF-8
Python
false
false
1,927
py
import time import argparse import random import jsonrpc_requests parser = argparse.ArgumentParser('TX Emitor') parser.add_argument('XCOIND_HOST', type=str) parser.add_argument('XCOIND_PORT', type=int) parser.add_argument('XCOIND_USER', type=str) parser.add_argument('XCOIND_PASSWORD', type=str) parser.add_argument('-v...
[ "ondrej@ondrejsika.com" ]
ondrej@ondrejsika.com
0c1a90b45511549273434873c23f0be24781617c
0cf3a74494ed92bcdeaf0220ad44475c1b6b2c1c
/tests/decorators/test_python_virtualenv.py
01e646c03406fb10e170887309bff0f576fef2a1
[ "Apache-2.0", "BSD-3-Clause", "MIT" ]
permissive
bolkedebruin/airflow
064a0c32dff267f586c3fd4dc4beaae12273d180
e1fe30c70d0fe9c033db9daf9d4420f7fa815b2d
refs/heads/master
2023-06-09T11:37:57.734560
2022-02-23T12:38:27
2022-02-23T12:38:27
38,505,714
2
7
Apache-2.0
2022-03-01T01:22:16
2015-07-03T18:27:44
Python
UTF-8
Python
false
false
5,403
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...
[ "noreply@github.com" ]
bolkedebruin.noreply@github.com
59520d79b22640c2a2389aa618f64b56d23c72a0
040fbf650a95564c92632189687bc2a924d0a327
/dev_tools/src/d1_dev/setup-all.py
518a46794b7ad33880b5ac3ce4fadf2ac640ee09
[ "Apache-2.0" ]
permissive
vchendrix/d1_python
97b4e9671ae0642fdfa94054e270d44bcf1b6b6b
0fa85c3a8de158d0225bd7428ddab3cf53a3d3e7
refs/heads/master
2020-03-20T22:25:55.987123
2018-06-15T18:33:06
2018-06-15T18:33:06
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,390
py
#!/usr/bin/env python # -*- coding: utf-8 -*- # This work was created by participants in the DataONE project, and is # jointly copyrighted by participating institutions in DataONE. For # more information on DataONE, see our web site at http://dataone.org. # # Copyright 2009-2017 DataONE # # Licensed under the Apache...
[ "git@dahlsys.com" ]
git@dahlsys.com
106bdbea28ed0320b1e2f49a9b97e0a9587024a8
4148260054c2cf4605dacb8bdef3605c82eca470
/temboo/Library/GitHub/ReposAPI/Repos/DeleteRepo.py
977303a9589b5f750dc2c1454a88ddf3fe15c0b5
[]
no_license
wimsy/actuarize-web
0f23d5f00afe3d36d430621cdb497d2e64998416
5f43af3019da6fb08cafeec9ff0a89df5196b864
refs/heads/master
2021-03-12T19:38:21.887681
2012-12-19T01:13:50
2012-12-19T01:13:50
null
0
0
null
null
null
null
UTF-8
Python
false
false
3,255
py
# -*- coding: utf-8 -*- ############################################################################### # # DeleteRepo # Deletes a specified repository. # # Python version 2.6 # ############################################################################### from temboo.core.choreography import Choreography from tembo...
[ "mike.wimsatt@gmail.com" ]
mike.wimsatt@gmail.com
2c26294614022eb0075fc759cea8cd1d8a21f9ed
1fe0b680ce53bb3bb9078356ea2b25e572d9cfdc
/venv/lib/python2.7/site-packages/ansible/modules/monitoring/logicmonitor.py
570777f435102c5bdf4f6f1d7dc22cd48260be4e
[ "MIT" ]
permissive
otus-devops-2019-02/devopscourses_infra
1929c4a9eace3fdb0eb118bf216f3385fc0cdb1c
e42e5deafce395af869084ede245fc6cff6d0b2c
refs/heads/master
2020-04-29T02:41:49.985889
2019-05-21T06:35:19
2019-05-21T06:35:19
175,780,457
0
1
MIT
2019-05-21T06:35:20
2019-03-15T08:35:54
HCL
UTF-8
Python
false
false
73,790
py
#!/usr/bin/python # LogicMonitor Ansible module for managing Collectors, Hosts and Hostgroups # Copyright (C) 2015 LogicMonitor # GNU General Public License v3.0+ (see COPYING or https://www.gnu.org/licenses/gpl-3.0.txt) from __future__ import absolute_import, division, print_function __metaclass__ = type RETURN =...
[ "skydevapp@gmail.com" ]
skydevapp@gmail.com
ed1bdd2e0244af45727aadc539ddb7e31180df58
a3493aaf1fc0b067d852bb7cd8e81b0fee6145d6
/Building_a_batter_Calculator.py
a3451ae7d681f8b54fef09c0e5431d40f0429d4f
[]
no_license
VivakaNand/Python_For_Beginners_by_Udemy
862c128f8dd4035c794b99494474de661a2be5e0
ab119426c9ded6f46256ec8f915fdf439b1e520d
refs/heads/master
2020-11-27T14:30:31.530986
2019-12-21T22:25:47
2019-12-21T22:25:47
229,488,902
0
0
null
null
null
null
UTF-8
Python
false
false
446
py
# -*- coding: utf-8 -*- """ Created on Sun Dec 22 02:51:45 2019 @author: VIVEK VISHAN """ # Building a batter Calculator num1 = float(input("Enter first number: ")) op = input("Enter Operator: ") num2 = float(input("Enter second number: ")) if op == "+": print(num1 + num2) elif op == "-": print(num1 - num2) ...
[ "vivekjetani83@gmail.com" ]
vivekjetani83@gmail.com
e3a0ee88249d55a548f491e58c1bea667c75b116
de24f83a5e3768a2638ebcf13cbe717e75740168
/moodledata/vpl_data/184/usersdata/355/107118/submittedfiles/OBI.py
210efc285693ec3bef1c7d28f58ca28b8f3a6e9e
[]
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
347
py
# -*- coding: utf-8 -*- n=int(input('Digite o número de participantes: ')) p=int(input('Digite a pontuação mínima necessária: ')) cont=0 for i in range (0,n,1): pont1=int(input('Digite a pontuação da 1º fase: ')) pont2=int(input('Digite a pontuação da 2º fase: ')) if pont1+pont2>=p: cont=cont+1 ...
[ "rafael.mota@ufca.edu.br" ]
rafael.mota@ufca.edu.br
db9b534cbff98f2d247a03089d97817c970d21e3
de69d99db8be567d97060149481091c25907d4ef
/src/data_structures/kdtree.py
6bbcc6dfd556cb06dec99220c8e0411735d613e4
[]
no_license
chalam/Pynaconda
0dd5acdb19c38352ee5d4b92c002d05bd75e452d
e24600d26afbc685e3853a6037f50dfc3fe077d2
refs/heads/master
2021-01-10T13:37:54.811250
2018-10-13T20:48:44
2018-10-13T20:48:44
36,340,529
1
0
null
null
null
null
UTF-8
Python
false
false
1,124
py
from collections import namedtuple from operator import itemgetter from pprint import pformat class Node(namedtuple('Node', 'location left_child right_child')): def __repr__(self): return pformat(tuple(self)) def kdtree(point_list, depth=0): try: k = len(point_list[0]) # assumes all points ...
[ "dim2dip@gmail.com" ]
dim2dip@gmail.com
cba31bc28317b708f13b4bf600de114c5de865e4
e5c360cbfaa0b5452bfe9c410a44370f771b8ecd
/general/screen-recorder/screen_recorder.py
1e0e26e513cbf2f08a222850a20b5a5dc527046b
[ "MIT" ]
permissive
AbuBakkar32/pythoncode-tutorials
c43805d69bc65f200517230bc49c38cee7999881
637fb0e5f878d90d646f4ff85cd6b3b785f15b19
refs/heads/master
2023-04-05T08:12:12.098795
2020-06-01T14:38:15
2020-06-01T14:38:15
269,027,369
4
0
MIT
2023-03-25T00:18:53
2020-06-03T08:05:19
null
UTF-8
Python
false
false
816
py
import cv2 import numpy as np import pyautogui # display screen resolution, get it from your OS settings SCREEN_SIZE = (1920, 1080) # define the codec fourcc = cv2.VideoWriter_fourcc(*"XVID") # create the video write object out = cv2.VideoWriter("output.avi", fourcc, 20.0, (SCREEN_SIZE)) while True: # make a scre...
[ "fullclip@protonmail.com" ]
fullclip@protonmail.com
b4bae9f79f3377e70736dd98449722bb86a77f09
613874c7e87587a7f97799716d97cd361b1db192
/src/random_forest.py
3e408f5784a3b98390e0428c83cf7e0dc2e824eb
[ "MIT" ]
permissive
realead/knapsackai
587fc025e674129e304009dadf905dc6511d76af
13e57f4d8089cbf976a100f012bb4da4568c2e5a
refs/heads/master
2021-05-02T00:44:22.485373
2018-02-18T22:47:48
2018-02-18T22:47:48
120,949,663
0
0
null
null
null
null
UTF-8
Python
false
false
617
py
from sklearn.ensemble.forest import RandomForestRegressor as RFR from sklearn.ensemble.forest import RandomForestClassifier as RFC def estimate_with_rf(trainX, trainY, queryX, rfclass=RFR): max_depth = 35 regr_rf = rfclass(max_depth=max_depth,n_estimators=25) regr_rf.fit(trainX, trainY) return regr...
[ "egor.dranischnikow@googlemail.com" ]
egor.dranischnikow@googlemail.com
225b079fada376badf319efd42832a3d985f6ea8
ebe7c57183b0eeba9af1bdc72f0f81b9b8129ca9
/2. DFS/129.py
35d80bf33f4d2ed4bc0b55a14587a98c736c4f17
[]
no_license
proTao/leetcode
f2e46392b56b69606e1dd25cf5738cb0ad275645
97533d53c8892b6519e99f344489fa4fd4c9ab93
refs/heads/master
2021-11-24T10:23:56.927122
2021-11-18T04:28:05
2021-11-18T04:28:05
110,225,265
0
0
null
null
null
null
UTF-8
Python
false
false
1,194
py
from math import log10 from treetools import * class Solution: def sumNumbers(self, root): self.res = 0 if root is None: return 0 def deeper(root, prefix): # print(root and root.val, prefix) if root.left is None and root.right is None: sel...
[ "836807627@qq.com" ]
836807627@qq.com
f83426a3c47167e266d82e2539a1c653e14cbf55
fb383c3550cdcb1514df17a2e5d87b453240e4a5
/baekjoon/1197.py
44d76414e75bf2fa89fe091fae461dacc87f6054
[]
no_license
mingxoxo/Algorithm
5ba84afebe1b0125d43011403610619804c107be
dc352f591c6c8ed84f7dbbeb37a2df4178270605
refs/heads/master
2023-07-30T17:38:00.190966
2023-07-30T08:51:23
2023-07-30T08:51:23
205,862,682
1
2
null
null
null
null
UTF-8
Python
false
false
664
py
# 최소 스패닝 트리 # 22.12.12 # 최소 스패닝 트리 # https://www.acmicpc.net/problem/1197 import sys import heapq input = sys.stdin.readline def KruskalMST(graph, V): sack = [i for i in range(V + 1)] result = 0 while graph: w, v1, v2 = heapq.heappop(graph) if sack[v1] == sack[v2]: continue ...
[ "noreply@github.com" ]
mingxoxo.noreply@github.com
258451507167d21ebe5f9a365e925c39466f81b4
fe44c954a5b93fbc05709bd6ca625b8a9fa726f3
/get_data.py
a892184df5a501ba850edfdaf1664139ff8b432f
[]
no_license
wenqingchu/stock_predict
009512ead25a2c401fec8b63e7e3875feaf9bda2
8f7fe4c2be5630d38f75b80c366ae185dd813c7c
refs/heads/master
2021-01-10T02:17:05.627037
2016-01-12T19:04:26
2016-01-12T19:04:26
49,490,316
0
0
null
null
null
null
UTF-8
Python
false
false
7,721
py
#!/usr/local/bin/python3 #coding=utf-8 #source http://www.cnblogs.com/txw1958/ import os, io, sys, re, time, json, base64 import webbrowser, urllib2 import sys reload(sys) sys.setdefaultencoding('utf-8') period_All_List = [ "min", #分时线 "daily", #日K线 ...
[ "571869993@qq.com" ]
571869993@qq.com
2ae89d8c85e89b78d2e0fd42447e5afb91e15ae1
5b9c50baaa3182868c9f4a744a7361abe422a510
/geometer/__init__.py
c27299c24bc52ac70238e639878542a87698540a
[ "MIT" ]
permissive
jasontangxf/geometer
3307889c087a1f498d58b5ae6bbf1b037119ca46
931df0aff6c680ad13a6c5989f2a89c276370c5e
refs/heads/master
2023-01-06T17:39:41.837342
2020-11-07T15:42:10
2020-11-07T15:42:10
null
0
0
null
null
null
null
UTF-8
Python
false
false
703
py
from .point import Point, Line, Plane, PointCollection, LineCollection, PlaneCollection, join, meet, I, J, infty, infty_plane from .curve import Conic, Circle, Quadric, Ellipse, Sphere, Cone, Cylinder, QuadricCollection from .transformation import Transformation, TransformationCollection, identity, affine_transform, r...
[ "jan.rv@t-online.de" ]
jan.rv@t-online.de
2110b45af923e6cafccd81ec1715a2a7f8d55e06
9e988c0dfbea15cd23a3de860cb0c88c3dcdbd97
/sdBs/AllRun/sdssj_120740.83+371923.0/sdB_sdssj_120740.83+371923.0_lc.py
be44dfde76e41cae1d4134fcff96cee7bf7c56b6
[]
no_license
tboudreaux/SummerSTScICode
73b2e5839b10c0bf733808f4316d34be91c5a3bd
4dd1ffbb09e0a599257d21872f9d62b5420028b0
refs/heads/master
2021-01-20T18:07:44.723496
2016-08-08T16:49:53
2016-08-08T16:49:53
65,221,159
0
0
null
null
null
null
UTF-8
Python
false
false
371
py
from gPhoton.gAperture import gAperture def main(): gAperture(band="NUV", skypos=[181.920125,37.323056], stepsz=30., csvfile="/data2/fleming/GPHOTON_OUTPU/LIGHTCURVES/sdBs/sdB_sdssj_120740.83+371923.0/sdB_sdssj_120740.83+371923.0_lc.csv", maxgap=1000., overwrite=True, radius=0.00555556, annulus=[0.005972227,0.01038889...
[ "thomas@boudreauxmail.com" ]
thomas@boudreauxmail.com
76c42bfc6399556e411171320d6853749ae39e05
90cd7ab1bfbcca8020196a91fb658f4f94daeeba
/backend/manage.py
89c6dac7937a4860f6f9d90024a8050593b37313
[]
no_license
crowdbotics-apps/raspy-wildflower-26281
8c3ef3c963f9fbd9c00e1c06a9408008edeb483f
1a5dd6bd5bb688b955bbc689e6288645d9ca414b
refs/heads/master
2023-04-23T21:09:17.290494
2021-05-06T20:50:14
2021-05-06T20:50:14
365,034,133
0
0
null
null
null
null
UTF-8
Python
false
false
642
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', 'raspy_wildflower_26281.settings') try: from django.core.management import execute_from_command_line except ImportError as exc: ...
[ "team@crowdbotics.com" ]
team@crowdbotics.com
2fdff284c825c9f7d403bc63b3c26afefaa1c69e
ca7aa979e7059467e158830b76673f5b77a0f5a3
/Python_codes/p02641/s375280632.py
00b7f8bf25d9d9ddcb0a021d7caf301a0c79c2de
[]
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
220
py
X, N = map(int, input().split()) if N == 0: print(X) exit() p = list(map(int, input().split())) ans = -1 for i in range(0,102): if i not in p: if abs(i-X) < abs(ans-X): ans = i print(ans)
[ "66529651+Aastha2104@users.noreply.github.com" ]
66529651+Aastha2104@users.noreply.github.com
fe8cae6455a511fafdee72443753c003a8ad470b
9ddfd30620c39fb73ac57e79eae0a001c45db45f
/addons/sr_price_history_for_product/models/inherited_res_config_setting.py
6b03fa406aeadd8ff81a24fa53282abf446014e1
[]
no_license
zamzamintl/silver
a89bacc1ba6a7a59de1a92e3f7c149df0468e185
8628e4419c4ee77928c04c1591311707acd2465e
refs/heads/master
2023-01-06T20:29:25.372314
2020-10-29T21:02:41
2020-10-29T21:02:41
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,618
py
# -*- coding: utf-8 -*- ############################################################################## # # This module uses OpenERP, Open Source Management Solution Framework. # Copyright (C) 2017-Today Sitaram # # This program is free software: you can redistribute it and/or modify # it under the terms of ...
[ "mohamed.abdelrahman@businessborderlines.com" ]
mohamed.abdelrahman@businessborderlines.com
8e675f49b36bae61210a7529197e3547e9b58a8c
98c6ea9c884152e8340605a706efefbea6170be5
/examples/data/Assignment_6/chmtin004/question3.py
8e6499313d247b22d00b3d42e6f48785ebfef46e
[]
no_license
MrHamdulay/csc3-capstone
479d659e1dcd28040e83ebd9e3374d0ccc0c6817
6f0fa0fa1555ceb1b0fb33f25e9694e68b6a53d2
refs/heads/master
2021-03-12T21:55:57.781339
2014-09-22T02:22:22
2014-09-22T02:22:22
22,372,174
0
0
null
null
null
null
UTF-8
Python
false
false
1,666
py
'''Program to count and display election votes Tinotenda Chevmura (CHMTIN004) 20 April 2014''' #_____________Program starts here____________# print("Independent Electoral Commission\n--------------------------------") #create an empty list parties = [] #obtain the list of party names and votes #and ea...
[ "jarr2000@gmail.com" ]
jarr2000@gmail.com
d152f4c66407082a60e50b4bc931cf116e61b2ef
9e988c0dfbea15cd23a3de860cb0c88c3dcdbd97
/sdBs/AllRun/galex_j20055-4755/sdB_GALEX_J20055-4755_coadd.py
e7172a878120c8194d57eba159e893caa0953460
[]
no_license
tboudreaux/SummerSTScICode
73b2e5839b10c0bf733808f4316d34be91c5a3bd
4dd1ffbb09e0a599257d21872f9d62b5420028b0
refs/heads/master
2021-01-20T18:07:44.723496
2016-08-08T16:49:53
2016-08-08T16:49:53
65,221,159
0
0
null
null
null
null
UTF-8
Python
false
false
454
py
from gPhoton.gMap import gMap def main(): gMap(band="NUV", skypos=[301.38825,-47.929742], skyrange=[0.0333333333333,0.0333333333333], stepsz = 30., cntfile="/data2/fleming/GPHOTON_OUTPUT/LIGHTCURVES/sdBs/sdB_GALEX_J20055-4755/sdB_GALEX_J20055-4755_movie_count.fits", cntcoaddfile="/data2/fleming/GPHOTON_OUTPUT/LIGHTCU...
[ "thomas@boudreauxmail.com" ]
thomas@boudreauxmail.com
521e6608c65e8a3a82dcc68e5e0f11d1103ff10a
4e29395020ce78f435e75e0b3f1e09b227f6f4d8
/ataraxia/inference/terror/python/terror-mixup/classify_infe.py
aa8720fc87c3463ff1ade7055d73123db063b140
[]
no_license
luoyangustc/argus
8b332d94af331a2594f5b1715ef74a4dd98041ad
2ad0df5d7355c3b81484f6625b82530b38b248f3
refs/heads/master
2020-05-25T21:57:37.815370
2019-05-22T09:42:40
2019-05-22T09:42:40
188,005,059
5
3
null
null
null
null
UTF-8
Python
false
false
8,411
py
# -*- coding: utf-8 -*- import traceback import caffe import cv2 import csv import numpy as np from evals.utils.error import * from util_infe import * from collections import OrderedDict, defaultdict def get_label_map(labelmap): map_dict = {} with open(labelmap, 'r') as f: reader = csv.reader(f) ...
[ "luoyang@qiniu.com" ]
luoyang@qiniu.com
74a2678f3b9e391c7379b2d4725de8e984705f30
711756b796d68035dc6a39060515200d1d37a274
/output_cog/optimized_27731.py
d985e4f8e6aca9008b23368a4108a0277ae617ac
[]
no_license
batxes/exocyst_scripts
8b109c279c93dd68c1d55ed64ad3cca93e3c95ca
a6c487d5053b9b67db22c59865e4ef2417e53030
refs/heads/master
2020-06-16T20:16:24.840725
2016-11-30T16:23:16
2016-11-30T16:23:16
75,075,164
0
0
null
null
null
null
UTF-8
Python
false
false
10,846
py
import _surface import chimera try: import chimera.runCommand except: pass from VolumePath import markerset as ms try: from VolumePath import Marker_Set, Link new_marker_set=Marker_Set except: from VolumePath import volume_path_dialog d= volume_path_dialog(True) new_marker_set= d.new_marker_set marker_set...
[ "batxes@gmail.com" ]
batxes@gmail.com
4daf015addad57288ac1796455c12ee31aa35ab0
2e703b5744175d446b4e4252ab164b7e812adcf4
/posting/migrations/0007_auto_20150705_2052.py
191110e3f275908e8c2128b05ba827dcdb15df4b
[]
no_license
arecker/mosquito
0f28347ac6f11ce76137e7ddbf496835fd43ebcb
3c79c7e49df805dde884d77e14efa5f9ce048ac0
refs/heads/master
2016-09-16T11:19:41.828486
2015-07-11T21:41:15
2015-07-11T21:41:15
38,504,755
0
0
null
null
null
null
UTF-8
Python
false
false
1,594
py
# -*- coding: utf-8 -*- from __future__ import unicode_literals from django.db import models, migrations import uuid class Migration(migrations.Migration): dependencies = [ ('authenticating', '0004_auto_20150704_0152'), ('posting', '0006_imagepost_linkpost_textpost'), ] operations = [ ...
[ "alex@reckerfamily.com" ]
alex@reckerfamily.com
9ee54fcaf44575a19a4ba6d7c80935291fae6bf1
7623386df02a52145b174700621fa70973e81d0e
/setup.py
9795b7778e1c90663b1ac945c5e8a5a747d00c71
[ "LicenseRef-scancode-warranty-disclaimer", "LicenseRef-scancode-public-domain-disclaimer" ]
permissive
dslosky-usgs/shakecast-aebm
f641f6a3bac3d466fb4e0f02b4913e0b63fa5ecb
bec1ad970989a7121096123f0b3a84c20ed0a0cc
refs/heads/master
2021-06-24T07:02:27.539492
2018-08-08T20:51:08
2018-08-08T20:51:08
144,181,944
0
0
null
2018-08-09T17:09:24
2018-08-09T17:09:24
null
UTF-8
Python
false
false
3,740
py
"""A setuptools based setup module. See: https://packaging.python.org/en/latest/distributing.html https://github.com/pypa/sampleproject """ # Always prefer setuptools over distutils from setuptools import setup, find_packages # To use a consistent encoding from codecs import open from os import path here = path.abspa...
[ "dslosky@usgs.gov" ]
dslosky@usgs.gov
b5c3a09f941eca9a63ddc80588fbb06407b4eb1e
4e30d990963870478ed248567e432795f519e1cc
/tests/api/v3_1_0/test_tacacs_profile.py
e3f85e76150b46b562fececed730035a2ce1b88a
[ "MIT" ]
permissive
CiscoISE/ciscoisesdk
84074a57bf1042a735e3fc6eb7876555150d2b51
f468c54998ec1ad85435ea28988922f0573bfee8
refs/heads/main
2023-09-04T23:56:32.232035
2023-08-25T17:31:49
2023-08-25T17:31:49
365,359,531
48
9
MIT
2023-08-25T17:31:51
2021-05-07T21:43:52
Python
UTF-8
Python
false
false
12,534
py
# -*- coding: utf-8 -*- """IdentityServicesEngineAPI tacacs_profile API fixtures and tests. Copyright (c) 2021 Cisco and/or its affiliates. Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without...
[ "wastorga@altus.co.cr" ]
wastorga@altus.co.cr
4a5199340ac561e5b98d01551a83f19770802151
ca7aa979e7059467e158830b76673f5b77a0f5a3
/Python_codes/p03106/s879673650.py
481685de00ede6fa53c7f5b0d0614402642ceb3b
[]
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
428
py
def euclidean(a,b): _ = a % b if _ == 0: return b else: while 1: if b % _ == 0 : break else: _ = b % _ return _ A, B, K = map(int, input().split()) a = max(A, B) b = min(A, B) e = euclidean(a, b) by = [] r = int(e ** (1 / 2)) for i in range(1, r + 1): if e % i == 0...
[ "66529651+Aastha2104@users.noreply.github.com" ]
66529651+Aastha2104@users.noreply.github.com
8713056b0f1449543f662abb3575d9668179e971
8ca2c5b9673c9bf9a7b6033ffc7b3aea7008ca91
/src/gdata/tlslite/TLSConnection.py
9f605aed0ebe0f9c882f1aef52dcba9f74c412d4
[ "Apache-2.0" ]
permissive
hfalcic/google-gdata
c3a10f0260002c3d8a8d44686572ec2002e076e0
56d49a9915ce51590a655ec5f8aeef9f65517787
refs/heads/master
2021-01-10T22:01:52.403803
2015-02-17T15:12:18
2015-02-17T15:12:18
24,432,292
3
1
null
2014-11-30T07:26:44
2014-09-24T20:53:59
Python
UTF-8
Python
false
false
70,507
py
""" MAIN CLASS FOR TLS LITE (START HERE!). """ from __future__ import absolute_import from __future__ import unicode_literals from __future__ import generators from future.builtins import str from future.builtins import range import socket from .utils.compat import formatExceptionTrace from .TLSRecordLayer import TLSR...
[ "harvey.falcic@gmail.com" ]
harvey.falcic@gmail.com
2be2f0faa4c665e714afdc5658e9925b75c2226d
0361d51139630cdf3f6d9d075d1d2bf6bc29c800
/Samsung_Software_Expert_Academy/sw_basic_미로1_1226.py
0b47c41633e4a058cd5c32690138a141a03837b3
[]
no_license
jinyoungcho/Algorithm_study
fa4300e8cd1407ec52ee7d2edd338d3b0c64addf
b6dfc4b4f8492fe52a53c7c465c87bc12710641d
refs/heads/master
2020-05-29T19:55:15.638768
2019-07-02T04:35:33
2019-07-02T04:35:33
189,341,547
0
0
null
null
null
null
UTF-8
Python
false
false
1,078
py
from collections import deque di = [0, 0, 1, -1] dj = [1, -1, 0, 0] for _ in range(1,11): R,C = 16,16 t = int(input()) MAP = [list(map(int,input())) for _ in range(R)] ans = 0 st = () ed = () check = [[False]*C for _ in range(R)] for i in range(R): for j in range(C): ...
[ "jinyoungcho93@gmail.com" ]
jinyoungcho93@gmail.com
19394b04333d1f633e9c7e1ea55461df7488cb32
b027502c2e35f7885a9f7cd79ed6e1e1b8485c2f
/Arrays/23.Count Pairs of Sum in Array.py
b1f1beee5dde72d8b4d8371141e67cd99c9bf435
[]
no_license
DDR7707/Final-450-with-Python
eb1cd0ee890b64224e8996158d67f9820276d94a
b64717af405fe256bcd791a619cb9fb4ca9178cb
refs/heads/main
2023-09-05T14:39:39.369036
2021-11-16T13:16:32
2021-11-16T13:16:32
403,002,363
3
0
null
null
null
null
UTF-8
Python
false
false
397
py
class Solution: def getPairsCount(self, arr, n, k): # code here look = {} final = 0 for i in range(n): if k - arr[i] in look: final += look[k-arr[i]] if arr[i] in look: look[arr[i]] += 1 ...
[ "noreply@github.com" ]
DDR7707.noreply@github.com
449c85c70b1f76a612aef35919ec3c391a1db1e8
47ad99439910493d6a695bff84508d79219e2c07
/python-docx/Word.py
2b5209f51bec281cc3a4a7c2374b5bb16b225ec5
[]
no_license
yangyang0126/PythonOA
e8f7e93f9b2dd429ffc99f6eefc6da0d928943b4
22ac4acc36b224c4060ac12b8dd6c1e58d9a99bb
refs/heads/master
2022-11-13T17:19:12.945020
2020-06-30T08:19:25
2020-06-30T08:19:25
274,053,649
1
1
null
null
null
null
UTF-8
Python
false
false
2,036
py
# -*- coding: utf-8 -*- """ Created on Fri Jun 19 11:18:59 2020 @author: Yenny """ from docx import Document from docx.shared import Inches # 新建一个文档 document = Document() # 写入标题 heading0 = document.add_heading('文档标题', 0) heading1 = document.add_heading('一级标题', level=1) heading2 = document.add_heading('二级标题', level=2...
[ "zhaojingyi0126@163.com" ]
zhaojingyi0126@163.com
c5f7541aaaeed33b76e9759ae52e9f166e71a4fe
978af083bfcab5355f65b01457a35d3ee1818108
/Others/selenium/code/firstScript.py
e000c7bd9b1adc805c242421b6814b7e09e255e6
[]
no_license
AKAGB/Python-study
1fd5651f08caaa58c84e9f33c5fea75b3fd3db87
425fe9ceb1bb10316f0715a4e65252c3cc9878ba
refs/heads/master
2020-04-10T05:09:30.908718
2019-01-02T16:15:24
2019-01-02T16:15:24
124,264,628
0
0
null
null
null
null
UTF-8
Python
false
false
440
py
# coding=utf-8 import time from selenium import webdriver driver = webdriver.Firefox() driver.maximize_window() driver.implicitly_wait(8) driver.get('https://www.baidu.com') driver.find_element_by_xpath('//*[@id="kw"]').send_keys('selenium') driver.find_element_by_xpath('//*[@id="su"]').click() time.sleep(2) driver...
[ "374118168@qq.com" ]
374118168@qq.com
ca1c31ddd5dc0ed9af964d5669929917ec54f53c
de6fb3a55196b6bd36a4fda0e08ad658679fb7a1
/expedient/src/python/expedient/clearinghouse/geni/clearinghouse.py
e223fdcfdde07442ecc2234a7e1342eca9d9b516
[ "BSD-3-Clause", "Apache-2.0" ]
permissive
dana-i2cat/felix
4a87af639e4c7db686bfa03f1ae4ce62711615e3
059ed2b3308bda2af5e1942dc9967e6573dd6a53
refs/heads/master
2021-01-02T23:12:43.840754
2016-02-04T10:04:24
2016-02-04T10:04:24
17,132,912
4
4
null
null
null
null
UTF-8
Python
false
false
5,635
py
'''Contains the functionality of the GENI Clearinghouse. Much of this code is from the GCF library distributed by BBN. Below is their copyright. Created on Oct 2, 2010 @author: jnaous ''' #---------------------------------------------------------------------- # Copyright (c) 2010 Raytheon BBN Technologies # # Permi...
[ "jenkins@integration.localhost" ]
jenkins@integration.localhost
10910e6763bd9ad27a4e59a3eaf8eff0f5127c21
53fab060fa262e5d5026e0807d93c75fb81e67b9
/backup/user_355/ch130_2020_04_01_17_17_03_452351.py
ac2c42e7e83c0b856017672f2463ba37900cb81c
[]
no_license
gabriellaec/desoft-analise-exercicios
b77c6999424c5ce7e44086a12589a0ad43d6adca
01940ab0897aa6005764fc220b900e4d6161d36b
refs/heads/main
2023-01-31T17:19:42.050628
2020-12-16T05:21:31
2020-12-16T05:21:31
306,735,108
0
0
null
null
null
null
UTF-8
Python
false
false
433
py
lista1=[10,12,5,1] def monta_mala(lista1): lista2 = [] i=0 j=1 d=len(lista1) if d>=1: while j<len(lista1): a=lista1[i] b=lista1[j] if a<23: c=a+b if c<23: lista2.append(a) lista2.appen...
[ "you@example.com" ]
you@example.com
fb87a30bc6e930a6977b1f07151739853a691a1f
3c9286354306e910da8934b396c33110963b06bb
/codes/SRN/models/networks.py
38d5230762aea6d88b38fdae4fd2dcdcefc86c87
[]
no_license
MarcoPinkman/DASR
183340019d34bf9f1e5283db48887cfd179ca1c7
8826acad314a3a0759643b51798d3ff40982a7be
refs/heads/master
2023-04-05T22:53:00.995656
2021-04-19T09:08:24
2021-04-19T09:08:24
null
0
0
null
null
null
null
UTF-8
Python
false
false
10,270
py
import functools import logging import torch import torch.nn as nn from torch.nn import init # import models.modules.RRDBNet_arch as RRDBNet_arch import models.modules.architecture as arch import models.modules.sft_arch as sft_arch logger = logging.getLogger('base') #################### # initialize ###################...
[ "516488199@qq.com" ]
516488199@qq.com
6a4a8249357cf6fc07860bef4ae47fb83a8f89e8
f6b99350ba42256c85f3a2b6dd819b59ba7e762f
/testMotor.py
e23e7f03a64eee056f259cfce2d742e1cf19e1dc
[]
no_license
switchdoclabs/SDL_Pi_GroveI2CMotorDriver
a1cadffde2bc4fd155c3963bb1490e39e3173901
e33da7be10bcddc866599a0f18d77f762916a201
refs/heads/master
2020-04-12T06:00:20.785868
2018-12-18T20:01:29
2018-12-18T20:01:29
162,339,215
1
0
null
null
null
null
UTF-8
Python
false
false
2,320
py
#!/usr/bin/env python # # GrovePi Example for using the Grove - I2C Motor Driver(http://www.seeedstudio.com/depot/Grove-I2C-Motor-Driver-p-907.html) # Modificatons by SwitchDoc Labs 2018 # ''' ## License The MIT License (MIT) GrovePi for the Raspberry Pi: an open source platform for connecting Grove Sensors to the Ra...
[ "jshovic@switchdoc.com" ]
jshovic@switchdoc.com
76e594d33c580c476c7828df4780dc51eec44951
ed4890be9a2c4c292222ff705ea9d5d189d618e0
/threads/migrations/0001_initial.py
2cf93e79207d0d5a6afe9f4c111078cd50bf5838
[]
no_license
RenanZabeu/renan_auth
84e5d538511aa5e2d17921997f2fa26cb93e2668
40ff52efeb78f52387ba56badb5eaee8c538f255
refs/heads/master
2021-05-04T01:45:11.294972
2018-02-06T22:03:39
2018-02-06T22:03:39
120,362,239
0
1
null
2020-07-23T17:41:38
2018-02-05T21:09:29
Python
UTF-8
Python
false
false
2,276
py
# -*- coding: utf-8 -*- # Generated by Django 1.11.4 on 2018-01-23 11:07 from __future__ import unicode_literals from django.conf import settings from django.db import migrations, models import django.db.models.deletion import django.utils.timezone import tinymce.models class Migration(migrations.Migration): in...
[ "renanzabeu@yahoo.it" ]
renanzabeu@yahoo.it
ef16093f0b0bca2d35ff223708eaa01f47820cb2
675a6ed1aa824ac801783471e634e538d11acc8d
/examples/example_filter/example_trim.py
9fbe83d2f584d261dc328cb009d7bfdcf3653b7a
[ "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
870
py
# !/usr/local/python/bin/python # -*- coding: utf-8 -*- # (C) Wu Dong, 2020 # All rights reserved # @Author: 'Wu Dong <wudong@eastwu.cn>' # @Time: '2020-03-19 11:04' """ 演示 pre-request 框架如何使用trim参数自动去除字符串首尾空格 """ from flask import Flask from pre_request import pre, Rule app = Flask(__name__) app.config["TESTING"] = T...
[ "wudong@eastwu.cn" ]
wudong@eastwu.cn
4471f3a3fc25f84c22ac909db5d1e8e770a0105a
51fab831de966af6eb6453f6e3b925daaf30b12d
/confirmation/apps.py
cf8a3bb112205c9e74849160b81f4b1024254737
[]
permissive
sylvercodez/email-microapi
ed5f4bdcc78ef19c2ea8d9d8cb316ca8534ba855
e42f5449f84edb2f180fbbf5e3ef6e61d93467a3
refs/heads/master
2022-11-17T21:31:42.578324
2020-07-08T08:28:10
2020-07-08T08:28:10
273,989,838
0
0
MIT
2020-06-21T21:58:23
2020-06-21T21:58:22
null
UTF-8
Python
false
false
99
py
from django.apps import AppConfig class ConfirmationConfig(AppConfig): name = 'confirmation'
[ "phemmylintry@gmail.com" ]
phemmylintry@gmail.com
0304d183d2044bceaf282edba5a2635663d71142
9da8754002fa402ad8e6f25659978bd269bbcec8
/src/1201A/cdf_1201A.py
a274583c4e85fe447de24080672db608b7442013
[ "MIT" ]
permissive
kopok2/CodeforcesSolutionsPython
a00f706dbf368ba0846c8ae86d4145b5dd3e1613
35bec0dbcff47765b123b5fe60476014376153df
refs/heads/master
2023-02-02T03:08:22.097651
2020-12-17T22:00:50
2020-12-17T22:00:50
196,035,812
1
1
null
null
null
null
UTF-8
Python
false
false
879
py
class CodeforcesTask1201ASolution: def __init__(self): self.result = '' self.n_m = [] self.answers = [] self.points = [] def read_input(self): self.n_m = [int(x) for x in input().split(" ")] for x in range(self.n_m[0]): self.answers.append(input()) ...
[ "oleszek.karol@gmail.com" ]
oleszek.karol@gmail.com
e88732b1167f713a5b4eb9b5e5fe08e7779c096e
6fa7f99d3d3d9b177ef01ebf9a9da4982813b7d4
/pHp9qkjY53JNTGCG4_19.py
584a0e5f37a6fc68b91b6142134f60fdb24504aa
[]
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
121
py
import math ​ def century_from_year(year): if year%100 == 0: return year//100 else: return 1+(year//100)
[ "daniel.reich@danielreichs-MacBook-Pro.local" ]
daniel.reich@danielreichs-MacBook-Pro.local
081b3c7529130a47347d94f4ed5a39da54c67f9d
6e22208ec28240062c19273dfa9f8c6c04df5983
/pccgan/models/font_pix2pix_model_old.py
c8a9848316341b51724795f5a1abee24972f02cc
[]
no_license
tonysy/FewShot_ChineseCharacter_GAN
317847d12e4423206c5c1308e565e2f5370c58e0
33af55c702bf08eb760369e7128408839602f9ca
refs/heads/master
2020-12-10T12:58:02.673029
2020-01-19T23:36:35
2020-01-19T23:36:35
233,601,548
8
0
null
2020-03-17T03:14:00
2020-01-13T13:26:28
JavaScript
UTF-8
Python
false
false
7,371
py
import torch from .base_model import BaseModel from . import networks class FontPix2PixModel(BaseModel): """ This class implements the pix2pix model, for learning a mapping from input images to output images given paired data. The model training requires '--dataset_mode aligned' dataset. By default, it us...
[ "sy.zhangbuaa@gmail.com" ]
sy.zhangbuaa@gmail.com
c609e3b81b29ed9980a46db18fde907f06e652bd
ee9840398bec5750aed10f6ac0095a9238f243f6
/signals.py
2aac8cdb48e1e52db566132ce6fbe665d60875c7
[]
no_license
fortable1999/paypal-preapproval-payment
85881f5cd1307e05b20e1a9421b7b3c7a516c907
4a10a5a9909d55822279138ef998f1d601005101
refs/heads/master
2021-01-06T20:37:40.708487
2014-07-13T08:58:21
2014-07-13T08:58:21
null
0
0
null
null
null
null
UTF-8
Python
false
false
97
py
""" payment signals generated by template template author: Meng Zhao fortable1999@gmail.com """
[ "fortable1999@gmail.com" ]
fortable1999@gmail.com
7fcc9ab9910115ecb7c9b01394cad72c6c4b384d
df560dde5ffbae51187041f422c87f7d1544cbe9
/leetcode/python/91_decode_ways.py
6cbc91ec8c1d30adb5e7ccfba17c246f7aa1112e
[ "MIT" ]
permissive
VVKot/coding-competitions
61c97dbc4fdaeb0a35ff7fa8e55529b579fd1ebb
7d6e599b223d89a7861929190be715d3b3604fa4
refs/heads/master
2021-07-04T17:47:34.246535
2020-09-23T20:28:30
2020-09-23T20:28:30
174,696,391
4
0
null
null
null
null
UTF-8
Python
false
false
1,022
py
class Solution: def numDecodings(self, s): if not s: return 0 second_last, last = 0, 1 for i, ch in enumerate(s): ways = 0 curr = int(ch) # current number is not 0 if curr: # there is at least one way to decode ...
[ "volodymyr.kot.ua@gmail.com" ]
volodymyr.kot.ua@gmail.com
fd257d29d14d8265cdc94acdebbeeaa9cd36e50d
8bae1c6c93f9102645fa1d721a27bb6cdac98ab8
/girder_dkc/views/file.py
8669fa481627c34460ae7b9244f8a8e7d4016b64
[]
no_license
girder/dkc-experiment
2ed629527e7e3e6d7f951a09bcb38707cd7c6718
1e60b8b9f9c7b258bbfacf91526311f5a360183e
refs/heads/master
2021-10-26T02:29:06.215181
2019-04-09T18:21:37
2019-04-09T18:21:37
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,875
py
from functools import partial from flask import Blueprint, current_app, jsonify from webargs import fields from webargs.flaskparser import use_args, use_kwargs from girder_dkc import db from girder_dkc.models import File, FileSchema from girder_dkc.pagination import paged_response, pagination_args file_schema = File...
[ "jonathan.beezley@kitware.com" ]
jonathan.beezley@kitware.com
9bddadb175e0d6f75575bf1ba952ec0b6954c44b
3c6fda9d35ca67df2aef576b19477472ea7834b3
/docfish/apps/users/forms.py
8ed3e7d1073daa22064e4eddc234a088179d0c74
[ "MIT" ]
permissive
vsoch/docfish
120e2bcd45b82f8b1f7317b7738733a46c9eda41
effa923cf7f41dedd4625f247a8a99a1f71d21a1
refs/heads/master
2021-01-19T23:49:53.589685
2017-05-13T23:27:45
2017-05-13T23:27:45
89,038,235
0
1
null
null
null
null
UTF-8
Python
false
false
2,275
py
''' Copyright (c) 2017 Vanessa Sochat Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute...
[ "vsochat@stanford.edu" ]
vsochat@stanford.edu
4c5b84595213da9b1852c5047d6b95a220e7615e
e5076ae6ca450f743da8272ff3f5e93cc9f01ff5
/product/views.py
d8c78f067021d74a78146b402dfae79f21a16179
[]
no_license
Legolass322/djangoProject
e5f6d2b36d19f3b05408568f6e605bc31c7006b3
1c94fb705efd9fea4a0ee26f97bab6a903a81727
refs/heads/master
2020-12-12T11:08:55.857465
2020-01-21T15:24:00
2020-01-21T15:24:00
234,104,251
0
0
null
null
null
null
UTF-8
Python
false
false
737
py
from django.shortcuts import render from django.shortcuts import get_object_or_404 from django.template import loader from django.http import HttpResponse from .models import Product def test(request, product_id): current_product = get_object_or_404(Product, pk = product_id) return render(request, "product/ge...
[ "=" ]
=
b9fca3a86ee8b31ccacc7dae1d7af2943e0ed24c
727f1bc2205c88577b419cf0036c029b8c6f7766
/out-bin/py/google/fhir/models/model_test.runfiles/com_google_fhir/external/pypi__numpy_1_15_4/numpy/core/machar.py
89f14b017d1aa84e2876878a2d3198545db1c3e3
[ "Apache-2.0" ]
permissive
rasalt/fhir
55cf78feed3596a3101b86f9e9bbf6652c6ed4ad
d49883cc4d4986e11ca66058d5a327691e6e048a
refs/heads/master
2020-04-13T00:16:54.050913
2019-01-15T14:22:15
2019-01-15T14:22:15
160,260,223
0
0
Apache-2.0
2018-12-03T22:07:01
2018-12-03T22:07:01
null
UTF-8
Python
false
false
125
py
/home/rkharwar/.cache/bazel/_bazel_rkharwar/c4bcd65252c8f8250f091ba96375f9a5/external/pypi__numpy_1_15_4/numpy/core/machar.py
[ "ruchika.kharwar@gmail.com" ]
ruchika.kharwar@gmail.com
dd5e95cbff7432fc687f9d7e28811630690024b8
931c851dab0101ce6f5714d2031d9c3d12f989a2
/migrations/versions/62643ea7b989_initial_migration.py
7893ef17a51d26f9d2ac4bddc7d9eab166093250
[ "MIT" ]
permissive
Pythonian/Flask-appointment
06b1ce373c94780ee5c06ab75292abdc97ced196
a7525ce7e7223d9db4acf301cca426415eda5ea6
refs/heads/master
2023-05-10T18:49:42.928235
2021-01-08T21:27:03
2021-01-08T21:27:03
265,006,767
0
0
MIT
2023-05-01T21:40:45
2020-05-18T17:06:51
Python
UTF-8
Python
false
false
1,618
py
"""Initial migration Revision ID: 62643ea7b989 Revises: Create Date: 2021-01-08 05:32:33.337992 """ from alembic import op import sqlalchemy as sa # revision identifiers, used by Alembic. revision = '62643ea7b989' down_revision = None branch_labels = None depends_on = None def upgrade(): # ### commands auto ...
[ "prontomaster@gmail.com" ]
prontomaster@gmail.com
7fdeaa74008ed0655133a1279ba0cb967524eed4
eae3d77ac72c168cee7701462f1fc45d7d4dcd91
/Stack1/1267_Graph.py
868201ad738c48a95fb45966a1e6f55fd8d9221b
[]
no_license
ByeongjunCho/Algorithm-TIL
ed2f018d50bd2483bd1175ff9bf7e91913c14766
ad79125a1498915fe97c1d57ee6860b06c410958
refs/heads/master
2022-07-19T15:12:23.689319
2020-05-18T08:37:09
2020-05-18T08:37:09
256,399,493
0
0
null
null
null
null
UTF-8
Python
false
false
1,680
py
# 1267. [S/W 문제해결 응용] 10일차 - 작업순서 import sys sys.stdin = open('1267_input.txt', 'r') # 위상 정렬 # 방법 1. 진입 차수가 0인 정점을 큐에 삽입 # 방법 2. DFS를 수행하면서 더이상 갈 곳이 없으면 그 자리를 기록하고 역순으로 출력 def DFS(v): visit[v] = True for w in G[v]: if not visit[w]: DFS(w) stack.append(w) for tc in range(1, 11): V...
[ "jjgk91@naver.com" ]
jjgk91@naver.com
b471c71e0d7cb2b047759165c35289259885aabb
b32ef29a5a172995759fd095ae225c56ba036c75
/Kevlarsjal_1.3.0/analysis/ema.py
27f0ad158703ccb40cf9d36fb717dbe74d459d6e
[ "MIT" ]
permissive
miskolc/Kevlarsjal
3a98a6d4b5100259ba834979eb559fb729d7fd6f
417a8567d4bc5532b22ff447742f601510211694
refs/heads/master
2020-05-15T05:00:57.002254
2018-10-16T02:24:32
2018-10-16T02:24:32
182,098,621
1
0
null
2019-04-18T14:03:44
2019-04-18T14:03:44
null
UTF-8
Python
false
false
729
py
import logging logger = logging.getLogger('main.ema') def trend_potential(ticker, df): ''' require df return up,down,crossover lists return dic ''' ema21 = ema(df,21) ema5 = ema(df,5) today = df.iloc()[-1] range = (ema5/ema21)-1 if (-0.005<=range<=0 and today['close']>=ema5): ...
[ "colin25346@gmail.com" ]
colin25346@gmail.com
16f67e2cba63298151425a775bbc5648daf41fdc
427fc475050ee8257b866118857fb46e2e956cd9
/crm-poc/apps/migrator/tests/queries/test_foreign_key.py
f471c362a66a17d4448d5df3718b9648e36cfc58
[]
no_license
uktrade/crm-poc
2cf20744e4ed5af002e4e319cb5e575683f97d15
9085b7bc9e58eb89971a05fa6e6cb60212d4381e
refs/heads/master
2020-04-10T22:05:58.650229
2016-03-18T15:14:34
2016-03-18T15:14:34
50,911,745
0
0
null
null
null
null
UTF-8
Python
false
false
12,004
py
from django.db.models import Q from django.utils import timezone from cdms_api.tests.utils import mocked_cdms_create from migrator.exceptions import NotMappingFieldException from migrator.tests.queries.models import SimpleObj, ParentObj from migrator.tests.queries.base import BaseMockedCDMSApiTestCase class BaseFo...
[ "marcofucci@gmail.com" ]
marcofucci@gmail.com
af0514c17ac3238d9b7733dbfbe5cab075b8c77e
c06d18ac5b87b3b82fc486454c422b119d6c1ee9
/src/demo/NLPBook/chapter10/ltpsegpos.py
6f9300f5723270cab853db083a1a8c7cd1d989c7
[]
no_license
tangermi/nlp
b3a4c9612e6049463bf12bc9abb7aff06a084ace
aa36b8b20e8c91807be73a252ff7799789514302
refs/heads/master
2022-12-09T12:33:15.009413
2020-04-03T04:03:24
2020-04-03T04:03:24
252,056,010
0
0
null
2022-12-08T07:26:55
2020-04-01T02:55:05
Jupyter Notebook
UTF-8
Python
false
false
583
py
# -*- coding: utf-8 -*- import sys import os from pyltp import * # 设置 UTF-8输出环境 segmentor = Segmentor() segmentor.load("/home/xiaoxinwei/data/ltp_data_v3.4.0/cws.model") postagger = Postagger() postagger.load("/home/xiaoxinwei/data/ltp_data_v3.4.0/pos.model") text = "张三一大早就赶到了学校。他先到食堂吃早餐,然后他到宿舍拿自己的教材和笔记本。当他匆忙来到教室时,...
[ "n10057862@qut.edu.au" ]
n10057862@qut.edu.au