blob_id
stringlengths
40
40
directory_id
stringlengths
40
40
path
stringlengths
2
616
content_id
stringlengths
40
40
detected_licenses
listlengths
0
69
license_type
stringclasses
2 values
repo_name
stringlengths
5
118
snapshot_id
stringlengths
40
40
revision_id
stringlengths
40
40
branch_name
stringlengths
4
63
visit_date
timestamp[us]
revision_date
timestamp[us]
committer_date
timestamp[us]
github_id
int64
2.91k
686M
star_events_count
int64
0
209k
fork_events_count
int64
0
110k
gha_license_id
stringclasses
23 values
gha_event_created_at
timestamp[us]
gha_created_at
timestamp[us]
gha_language
stringclasses
213 values
src_encoding
stringclasses
30 values
language
stringclasses
1 value
is_vendor
bool
2 classes
is_generated
bool
2 classes
length_bytes
int64
2
10.3M
extension
stringclasses
246 values
content
stringlengths
2
10.3M
authors
listlengths
1
1
author_id
stringlengths
0
212
f38311cf03e40957574b711cba320b7410cfb08c
8d2e5b5ea408579faa699c09bdbea39e864cdee1
/ufora/distributed/Storage/ObjectStore.py
97ec956873351689b12fc96db5421275df57f6d9
[ "dtoa", "MIT", "BSD-3-Clause", "BSL-1.0", "Apache-2.0", "LicenseRef-scancode-public-domain", "CC0-1.0" ]
permissive
iantuioti/ufora
2218ef4c7e33c171268ce11458e9335be7421943
04db96ab049b8499d6d6526445f4f9857f1b6c7e
refs/heads/master
2021-01-17T17:08:39.228987
2017-01-30T16:00:45
2017-01-30T16:00:45
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,008
py
# Copyright 2015 Ufora 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 to i...
[ "braxton.mckee@gmail.com" ]
braxton.mckee@gmail.com
5d3773bbd8dde3adbd0edcad7fb4192e0541adbf
ea04cdba4ca6419c34155310f50485a89b3965d4
/use/ReinforceLearning/DQN/demoDQN/RL_DQNv2.py
d0e546699ece088e918dc99259875f056c8231ca
[]
no_license
conancheng/pyGreat
1274e5fafbf4e879afd8195df8fa086092933247
b5fa974876fb9a56ebc0dc0229664a4bbd475145
refs/heads/master
2023-03-13T07:04:40.615439
2021-03-06T09:14:46
2021-03-06T09:14:46
null
0
0
null
null
null
null
UTF-8
Python
false
false
5,610
py
# 用nn为DQN构造网络 import torch import torch.nn as nn import numpy as np from mazeEnv import Maze # 这是一个我自己写的环境 class DQN(): def __init__(self, dim_state, n_actions, batch_size=32, learning_rate=0.9, epsilon=0.9, ga...
[ "darcyzhang@DarcydeMacBook-Air.local" ]
darcyzhang@DarcydeMacBook-Air.local
93a15d96682f3c35ca46309bf519578757a080e1
3c55be0eb8997ffdaf67440bfcc705ae2dc3a4cf
/Python语言程序设计/Week6/DictReverse.py
283e223a3f709733f5f9f268dfe059e4e549e914
[]
no_license
YanZheng-16/LearningPython
1a1886c83d8eb7f79282374c5bdf590973af8cc9
3ab5d4a1f3394319ea097bdac4ea60abbfc78abb
refs/heads/master
2022-07-13T00:00:35.367754
2020-05-16T14:01:24
2020-05-16T14:01:24
264,438,317
0
0
null
null
null
null
UTF-8
Python
false
false
145
py
# 字典翻转输出 d1 = eval(input()) try: d2 = dict(zip(d1.values(), d1.keys())) print(d2) except: print("输入错误")
[ "noreply@github.com" ]
YanZheng-16.noreply@github.com
3895afbeddd52c3b7f2621e5e00daa94caec1f17
823cec73f05695388bfae1c5cea1056ea05c1f89
/tests/test_models/test_engine/test_db_storage.py
6e387e17d52fbd7dfdfe4d8c75c56a0c16eb6bc7
[]
no_license
dspham/AirBnB_clone_v2
bb78d2793ae09378e6adeb83a8d06a7f5ad2ca22
0cf48f892ff5d75660d1d999aacab12dcc8de56a
refs/heads/master
2020-04-14T18:58:25.910087
2019-02-04T08:23:40
2019-02-04T08:23:40
164,039,797
0
1
null
2019-01-14T23:45:33
2019-01-04T01:06:22
Python
UTF-8
Python
false
false
1,988
py
#!/usr/bin/python3 """test for db stroage""" import unittest import pep8 import os import json from models.base_model import BaseModel from models.user import User from models.state import State from models.city import City from models.amenity import Amenity from models.place import Place from models.review import Revi...
[ "dsvpham@gmail.com" ]
dsvpham@gmail.com
61cd387b4cf112eff88e9847662d96fc18e518d6
daffe9d6895fed5cab27b267f2d60d4e8abbd44d
/catalog/views.py
cb04e544f5b65c4811ce88cc2b69b96186b34353
[]
no_license
QueenOfPentacles/django_library
4edae749a98c1cbd52b98d94d7597eb8eac90f00
cde7593f30a2a38f223211c1b109a411d2a499fd
refs/heads/master
2021-04-06T06:54:48.779745
2018-03-09T19:06:49
2018-03-09T19:06:49
124,580,554
0
0
null
null
null
null
UTF-8
Python
false
false
6,586
py
from django.shortcuts import render # Create your views here. from .models import Book, Author, BookInstance, Genre def index(request): """ View function for home page of site. """ # Generate counts of some of the main objects num_books=Book.objects.all().count() num_genres=Genre.objects.all(...
[ "mmcbean@fixedearthenterprises.com" ]
mmcbean@fixedearthenterprises.com
f4dc2c684a4a39d9c4d888e91ee360bccd665276
92c0dd6e8f182a3cb907bf8279f09065222f53a8
/data_util/COCO/image_process.py
137db3db85da30d8f14a7aacd248aee20158a432
[]
no_license
hukim1112/lab4
d91a6d24de5df126927c9eb7631248b5cd1e2ba8
e15ac6ab833e68fc204b9a9ba178a7896b4116a5
refs/heads/master
2020-09-06T08:07:00.283240
2019-12-27T01:01:19
2019-12-27T01:01:19
220,371,574
1
1
null
null
null
null
UTF-8
Python
false
false
4,612
py
import numpy as np import cv2 import random import os import tensorflow as tf from config.coco_config import config def get_dir(src_point, rot_rad): sn, cs = np.sin(rot_rad), np.cos(rot_rad) src_result = [0, 0] src_result[0] = src_point[0] * cs - src_point[1] * sn src_result[1] = src_point[0] * sn + s...
[ "hyounguk1112@gmail.com" ]
hyounguk1112@gmail.com
8e99cddfa1ea4686427cb27459e45b7386c3b75c
1a38e02f8af17171fad250a5b8ba68b3c7ccf79c
/test.py
4f940e8654cbb75d1b843478fea63ba879127291
[]
no_license
theinvisible/nautilus-advacl
216b12cd02ebd39dda2423d624e9bb34ca66841b
d1e1e02ac67d1ecd20b987928fc8618ade7b5664
refs/heads/master
2020-03-10T18:50:33.285349
2018-04-14T17:04:04
2018-04-14T17:04:04
129,535,143
0
0
null
null
null
null
UTF-8
Python
false
false
3,466
py
''' Created on 19.01.2013 @author: rene ''' #!/usr/bin/python2 import sys import os from gi.repository import Nautilus, GObject, Gtk # sys.path.append(os.path.dirname(os.path.realpath(__file__)) + "/nautilus-advacl") import nautilusadvacllib from nautiluspropaddacl import NautilusWindowAddACL print sys.path def...
[ "rene.hadler@iteas.at" ]
rene.hadler@iteas.at
d722c85ab95a8494dc14a237f678c295b45a9b00
32e015e596843a0f32864a9023cee77bf8867e7c
/lambdata_alfaroqueIslam/lambdata_test.py
ae6ce67acc4ebbc478a9f58c7a76d595e555dfc1
[ "MIT" ]
permissive
Simon-Minchk/lambdata-1
2d90070f3a77184f2fbabdcd019d92d59a5632be
329f3f385e98ef076ee4a406c13b4e0d75dd4538
refs/heads/master
2022-11-04T21:52:34.551759
2020-07-10T23:58:15
2020-07-10T23:58:15
278,754,621
0
0
MIT
2020-07-10T23:48:37
2020-07-10T23:48:36
null
UTF-8
Python
false
false
1,266
py
#!/usr/bin/env python """Tests for lambdata modules.""" import unittest # unittest supports a type of tests called unit tests # A unit is the smallest cohesive piece of code we can test # (usually something like a function or method) # Other types of tests (you won't write now, just to be aware): # - Integration: testi...
[ "noreply@github.com" ]
Simon-Minchk.noreply@github.com
cf1a16e1a3643d810cd62c5b1087a5c9ef9da00c
f2624b34d0b064210b040041e8473ddbb4abe00c
/docker/distill/distill/algorithms/graphs/graph.py
3c4473098589e3f35e49636f1c5a6182100df154
[ "Apache-2.0" ]
permissive
99Kies/incubator-flagon-tap
a28bb3284f58fd7f867810c402504ebcfb9965d3
e76e8649e0ee1cce2a3e114ccba7dd5297e40b50
refs/heads/master
2022-04-28T21:49:00.249241
2020-04-29T18:01:08
2020-04-29T18:01:08
259,998,859
0
0
Apache-2.0
2020-04-29T17:45:06
2020-04-29T17:45:05
null
UTF-8
Python
false
false
960
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 use ...
[ "arthivez@gmail.com" ]
arthivez@gmail.com
421fa1e8c1e66c99b5597376a9d4fbb9187514fb
5fea39b14a341fe139805e4052d3819e7f1202ad
/symbol_net3.py
555f5b5566ad4bfd07d2f06fa9a5f21a4299f5ee
[]
no_license
lkct/CV_DL-ResNet
29c4632b552e3fd6793634b00353738411fd0649
e0c77431f86a542d337510a443374b1919afa35f
refs/heads/master
2022-10-19T06:44:08.796160
2018-07-03T02:20:28
2018-07-03T02:20:28
null
0
0
null
null
null
null
UTF-8
Python
false
false
6,515
py
''' Reproducing paper: Kaiming He, Xiangyu Zhang, Shaoqing Ren, Jian Sun. "Identity Mappings in Deep Residual Networks" ''' import mxnet as mx def residual_unit(data, num_filter, stride, dim_match, name, bottle_neck=True, bn_mom=0.9, workspace=512): """Return ResNet Unit symbol for building ResNet Parameters ...
[ "liangkct@yahoo.com" ]
liangkct@yahoo.com
38eb06772fe9695d641d05efc1b30e49c510dc4c
38346ccf93e0c0d49a378b2532fe215669018829
/nipype/pipeline/plugins/tests/test_pbs.py
51b0ed20e2473ee5ea45242b2ba0ef6b4adef897
[ "BSD-3-Clause" ]
permissive
swederik/nipype
de509c2605bc83448240c7c3c68ee8d220d48ef3
872720a6fc00b00e029fb67742deedee524b2a9f
refs/heads/master
2020-12-25T10:08:44.268742
2014-05-22T14:05:58
2014-05-22T14:05:58
1,421,176
3
2
null
null
null
null
UTF-8
Python
false
false
1,552
py
import os from shutil import rmtree from tempfile import mkdtemp from time import sleep import nipype.interfaces.base as nib from nipype.testing import assert_equal, skipif import nipype.pipeline.engine as pe class InputSpec(nib.TraitedSpec): input1 = nib.traits.Int(desc='a random int') input2 = nib.traits.In...
[ "satra@mit.edu" ]
satra@mit.edu
0c322885b6dff55190cb9d78585f345cebcb7934
9513a84cf1b7f263e119ce5b07740c753016430f
/venv/Swap in list.py
d8d3f7bd2803580a324688e1510ac623d2ac9db4
[]
no_license
AkhilRaja003/Assignment1
8941321adbc2e5b302278918e9221357c11ff8b1
b69986322133f681d13a65bac091d29e47ecb90d
refs/heads/master
2022-10-17T01:41:28.500722
2020-06-10T02:33:14
2020-06-10T02:33:14
271,158,347
0
0
null
null
null
null
UTF-8
Python
false
false
276
py
a = int(input("enter 1st position number:")) b = int(input("enter 1st position number:")) list = ["Akhil","Sunny","Abhi","Sisi","Naveen","Navya","Rakesh","Rahul","Nani"] list[a],list[b] = list[b],list[a] print(list) print("**********************************************")
[ "akhilraja.3@gmail.com" ]
akhilraja.3@gmail.com
bddb6b3e4b40c1815827ed490e17d5d4a23faf90
951ccc44913ea0d1ca274f34b87e880d6aa0632d
/traffic_duplication/results/multistream/plot_loss.py
632b7fd194cd0658960e3df7db911018f71376fe
[]
no_license
datwelk/thesis
67d641a6ebed948ca15c11e13da8de88de844e4d
2bd1f0d4df8afe12a7de7a1fcee5254c1265bae5
refs/heads/master
2021-05-01T04:19:30.876191
2017-01-16T23:30:58
2017-01-16T23:30:58
58,924,236
2
0
null
null
null
null
UTF-8
Python
false
false
2,021
py
from matplotlib import mlab import matplotlib.pyplot as plt import numpy as np import math import argparse, sys from scipy.stats import norm # Provide result of 1 of the streams, others should be in same directory parser = argparse.ArgumentParser(description='Plot out of order packets') parser.add_argument('c', help=...
[ "datwelk@me.com" ]
datwelk@me.com
c5960e6fe2804953fb8cfe13379870fb9720d5d2
43213f687f4f7eed8f9ecd810aa252fe863cd3ef
/deeplab/core/DataParallelExecutorGroup.py
32ad6179acc841c663bd32d0ebaa1f704f2893a3
[]
no_license
eglrp/DRN
e5611e65f093084ccfb3f6131e5d1a6cbdcf7f05
daef466b21b34a1824a9163e1193ac9322b5bf4e
refs/heads/master
2020-04-10T05:06:38.912915
2018-06-14T07:06:39
2018-06-14T07:06:39
null
0
0
null
null
null
null
UTF-8
Python
false
false
25,726
py
# -------------------------------------------------------- # Deformable Convolutional Networks # Copyright (c) 2016 by Contributors # Copyright (c) 2017 Microsoft # Licensed under The Apache-2.0 License [see LICENSE for details] # Modified by Zheng Zhang # -------------------------------------------------------- impor...
[ "9200374@qq.com" ]
9200374@qq.com
7582d45ef182c34a0a120d45cdf49178783bf540
d922b02070c11c19ba6104daa3a1544e27a06e40
/Hw_1_2/weighted_Quick_union.py
f55fcb1fa7f8b7cde7c996f66af3ffce3fe652b0
[]
no_license
viharivnv/DSA
2ca393a8e304ee7b4d540ff435e832d94ee4b2a7
777c7281999ad99a0359c44291dddaa868a2525c
refs/heads/master
2022-10-15T15:26:59.045698
2020-06-17T15:55:33
2020-06-17T15:55:33
273,020,116
0
0
null
null
null
null
UTF-8
Python
false
false
2,353
py
#The code was run on PYCHARM IDE on WINDOWS python version 3.x ''' Steps to recreate: 1)Open PYCHARM 2)Create a new project 3) Add a new python file and paste the code 4) Run the code ''' import time file=input("enter the file name excluding '.txt' extension for example 8pair:\n") file=file+".txt" # referred "https://...
[ "52350934+viharivnv@users.noreply.github.com" ]
52350934+viharivnv@users.noreply.github.com
32473d354374867fc45f1c267f78b7e410396cf4
2f4f036cf9074c1efe240ea392dadbad650396ec
/advanced python/oop/employee.py
73db7d69f40c3825673a2dd74e08ad64e4d72e16
[]
no_license
Arunnithyanand/luminarpython
a37c304ab475af43794726459439a5bab46a331a
0a671700d279e5ac7dd0b5f8d9227af7952cbaf7
refs/heads/master
2023-04-26T04:09:40.750216
2021-05-19T03:38:02
2021-05-19T03:38:02
368,733,081
0
0
null
null
null
null
UTF-8
Python
false
false
336
py
class Employee: company="luminar" def setval(self,name,id): self.name=name self.id=id def printval(self): print("name",self.name) print("id",self.id) print("company",Employee.company) st=Employee() st.setval("arun",55) st.printval() st=Employee() st.setval("bijoy",66...
[ "arunnithyanandkz777@gmail.com" ]
arunnithyanandkz777@gmail.com
113d0493eabf421bc48a810da3dfdf024e72469f
21fddc001e85465405211501a730de698be0e07a
/utils/password_utils.py
ed7df235cf711c727abe28fade9f82546704db96
[]
no_license
khalilbenayed/starfront
7fa9302f928a0a8c7929d52c1b863798fed34969
50a306a8c0153eeee4f15c1860a8a05216e37172
refs/heads/master
2022-02-21T15:43:44.976188
2019-10-14T00:18:16
2019-10-14T00:18:16
210,495,332
0
0
null
null
null
null
UTF-8
Python
false
false
383
py
import hashlib import binascii import os def hash_password(password): """Hash a password for storing.""" salt = hashlib.sha256(os.urandom(60)).hexdigest().encode('ascii') pwdhash = hashlib.pbkdf2_hmac('sha512', password.encode('utf-8'), salt, 100000) pwdhash = binasci...
[ "kbenayed@edu.uwaterloo.ca" ]
kbenayed@edu.uwaterloo.ca
22b832295b8c616e01f8a5afae0fbfe8f016fe5b
ca7aa979e7059467e158830b76673f5b77a0f5a3
/Python_codes/p03241/s122967177.py
c84c86fe77e36fd71fbba3c22193bc424ab2481b
[]
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
963
py
from math import ceil,floor,factorial,gcd,sqrt,log2,cos,sin,tan,acos,asin,atan,degrees,radians,pi,inf from itertools import accumulate,groupby,permutations,combinations,product,combinations_with_replacement from collections import deque,defaultdict,Counter from bisect import bisect_left,bisect_right from operator impor...
[ "66529651+Aastha2104@users.noreply.github.com" ]
66529651+Aastha2104@users.noreply.github.com
d291f1caf6260285aec3cc8cf260a9b13241a12e
6579de78fc908519d98f87d15ec0188818fe89b6
/resize_img.py
4b0992451a918c158e3343d2524c5fc2cfc25e8d
[]
no_license
WingGao/SmallPyTools
fa720a7d7c01a9eb6dd17e68839260145aabe35e
3bd2ee8af194a22a59c350ae572e7e40d3042802
refs/heads/master
2021-01-02T09:38:16.405196
2016-11-04T10:47:39
2016-11-04T10:47:39
14,706,146
0
0
null
null
null
null
UTF-8
Python
false
false
1,037
py
# coding=utf-8 import os from PIL import Image dir = '/Users/wing/Documents/Temp/icon' des_dir = '/Users/wing/Documents/Temp/icon2' def reszie(): w = 55 h = 55 for i in os.listdir(dir): img = Image.open(os.path.join(dir, i)) img.thumbnail((w, h), Image.ANTIALIAS) # whr = float(w) ...
[ "wing.gao@live.com" ]
wing.gao@live.com
a186971e2560437030c33dd0c302cba82b16534d
cf80e9b43fbddebfe6020582da6662e1b5c3b862
/debug_test.py
40e80b8a8d4636e610b51c1400b342cb0d502861
[]
no_license
TonnyQ/PythonDev
cd057d150a693dbda4f0fae98993353b8d0ea208
c3bd02a5b6ab805d9e8e18ec568c3762dd8b65ef
refs/heads/master
2020-12-24T20:10:47.818113
2016-04-27T17:22:31
2016-04-27T17:22:31
56,743,597
0
0
null
null
null
null
UTF-8
Python
false
false
4,002
py
# -*- encoding:utf-8 -*- #错误处理 try: print('try...') r = 10/0 print('result',r) except ZeroDivisionError as e: print('except:',e) finally: print('finally...') print('End') #show:对可能出现错误的代码try,如果真的发生错误,错误发生后的代码将不再执行 #将进入except处理错误,最后如果存在finally,则进入finally。如果没有发生错误 #将不会执行except语句,还可以针对不同错误类型进入不同的excep...
[ "tonny_2014@yeah.net" ]
tonny_2014@yeah.net
608e19bedd581e824ba02b16d8940bbf839bed21
467fd7524849df98d24ca36553f9e7fc88aecfea
/apps/groups/models.py
efeb8ea9618faa55742454f30442d93fdd87b9c7
[]
no_license
django-social/django-social
62e8010eee41d1a630bca939484059dc10f6344c
26efdf7502861fd914cd4a95866bcd4ab71e0261
refs/heads/master
2020-04-13T14:15:36.175757
2011-04-19T08:23:30
2011-04-19T08:23:30
4,367,095
2
0
null
null
null
null
UTF-8
Python
false
false
47
py
# -*- coding: utf-8 -*- from documents import *
[ "dgk@dgk.su" ]
dgk@dgk.su
48c1be2d3d3665ee76ffa1ca186127b0b0d6017e
603c77e09f29f5355e4d1266b2852285224084cb
/venv/bin/pyreverse
bfe3eafdeb6ae0e1c2030ee16deb1a55303bb077
[]
no_license
damodharn/FundooApp
6e9b66a069379feee6c6d5a9d85085b16d55b452
e0e0fa718dfcbca9aca28db992bef909a5f9151d
refs/heads/master
2022-12-08T20:04:49.677148
2019-09-12T08:46:28
2019-09-12T08:46:28
208,002,941
0
0
null
2022-12-08T01:22:56
2019-09-12T08:36:12
Python
UTF-8
Python
false
false
265
#!/home/admin1/PycharmProjects/FundooProj/venv/bin/python # -*- coding: utf-8 -*- import re import sys from pylint import run_pyreverse if __name__ == '__main__': sys.argv[0] = re.sub(r'(-script\.pyw?|\.exe)?$', '', sys.argv[0]) sys.exit(run_pyreverse())
[ "damodharn21@gmail.com" ]
damodharn21@gmail.com
a36e04ad8db1d6ae12228d1d9223da4e0d55536e
e99e48aaa88ca87e7d6a89ab03f82f45c66f9981
/edx6.0.1x/ndigits.py
814fb97409ea99e2b429f14ca3cc1ba6229c331c
[]
no_license
shivsharma07/pyexamples
dbb7f3e4d9eb1351210b96836ce0ed87fb1b337f
89b7916125f5bddb2b3f75003811600fc43c3a62
refs/heads/master
2021-01-19T11:57:17.984867
2016-09-22T20:16:45
2016-09-22T20:16:45
68,950,962
0
0
null
null
null
null
UTF-8
Python
false
false
203
py
def ndigits(x): if x < 0: x = -x if x > -10 and x < 10: return 1 if x/10 > 0: numOfDigits = ndigits(x/10) return numOfDigits+1 print ndigits(-1322132)
[ "shivsharma07@gmail.com" ]
shivsharma07@gmail.com
4d4deec840fd2d2fd8c95557d85d18c1b19d4d77
3491f5c2ef9c31ca7e8a83c2998dba76195d43ec
/rpmlv1/urls.py
b854b5b8629485347c877f371a0869c5fea52d0f
[]
no_license
edgardegantea/rpmlv1
1819f32ac11eb9fe07422522bfa2fc619c7456de
0d99c72cbbbeecfd7f6d27d7e19c7ba1b8dfe326
refs/heads/master
2023-04-27T18:50:57.583725
2021-04-21T01:17:23
2021-04-21T01:17:23
359,995,334
0
0
null
null
null
null
UTF-8
Python
false
false
748
py
"""rpmlv1 URL Configuration The `urlpatterns` list routes URLs to views. For more information please see: https://docs.djangoproject.com/en/3.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') Class-based ...
[ "edgar.degante.a@gmail.com" ]
edgar.degante.a@gmail.com
80f823f41263b1271b589cbbf909eee322c3eee1
00d2862c4913bf2a323d43e95f19c1beac67e062
/if_else/if_else6.py
f397f5ec5eb9ee4d005a7d6946c13617befb2424
[]
no_license
kamonchat26/workshop2
671fbf074b7e85dcae9783adfc410bbf1b8f30de
2e34c0b402797bc2970f89e7d9eaff731af5f845
refs/heads/master
2023-03-09T22:20:31.409693
2021-02-20T17:05:28
2021-02-20T17:05:28
328,288,492
0
0
null
null
null
null
UTF-8
Python
false
false
121
py
a = 200 b = 33 c = 500 if a > b and C > a: print("Both conditions are True") # Output : "Both conditions are True"
[ "kamonchat2607@gmail.com" ]
kamonchat2607@gmail.com
02e58d3a5fe7125e81acbc8394b3c6ce5aa475b8
dc1da2ea8d495db2edb9c84941e7947dcf77ba86
/HackerRank/solution/practice/data-structures/linked-lists/print-the-elements-of-a-linked-list/solution.py
f60744f0aefd600fd1c04f7c8e6e7575f9b2460c
[ "MIT" ]
permissive
dschinzo/Competitive-Programming
ea3428b63a732ce87c74392445a8dfe65dc9b7ba
3100e083076a571b1896667277dc8cc6b855c18d
refs/heads/master
2023-03-01T12:59:05.699865
2021-01-25T10:25:00
2021-01-25T10:25:00
272,390,168
1
0
null
null
null
null
UTF-8
Python
false
false
263
py
# Complete the printLinkedList function below. # # For your reference: # # SinglyLinkedListNode: # int data # SinglyLinkedListNode next # # def printLinkedList(head): if head is not None: print(head.data) printLinkedList(head.next)
[ "ds.chinzo@gmail.com" ]
ds.chinzo@gmail.com
7cf85dc88b8f0f002e7fbe9b1b983c1f59d4bb40
6c1527b2dc3f944b8907d0de5bda6cdfbaeb1f7f
/traveler_dilemma/views.py
438d490932fa5b6907f65c2fdddf4b8f05dc0b20
[ "MIT" ]
permissive
dcthomas4679/otree
f0a9204b12cd395e55fd9b77ac90584c2cd3c049
363a05d2f70f9225628e4857473dedcb449018dc
refs/heads/master
2021-06-23T20:07:02.499724
2020-11-18T15:32:30
2020-11-18T15:32:30
37,225,765
1
1
NOASSERTION
2021-06-10T23:28:55
2015-06-10T22:22:33
Python
UTF-8
Python
false
false
2,435
py
# -*- coding: utf-8 -*- from __future__ import division from . import models from ._builtin import Page, WaitPage from otree.common import Currency as c, currency_range from .models import Constants def vars_for_all_templates(self): return {'total_q': 1, 'instructions': 'traveler_dilemma/Instructions.htm...
[ "dcthomas@gmail.com" ]
dcthomas@gmail.com
403ebec7bc3a882608e0d98f4fd5b785fc8a8038
5308070c42185ab61d69f7b72450b09b11eea124
/class/run.py
9ea7246e229d9a272fdad7e43068faf8fd832196
[]
no_license
costaxu/swig-test
f96b6593486b857a1a0664e3ffb58ab37989d089
30af29b18c68f11596acc638fe76e433cffee0f2
refs/heads/master
2018-12-28T00:53:15.810232
2015-01-23T05:08:41
2015-01-23T05:08:41
29,717,616
0
0
null
null
null
null
UTF-8
Python
false
false
318
py
#!/usr/bin/python #coding: utf-8 #file: run.py import foo from foo import * if __name__=='__main__': fo = Foo() print Foo_woo() print fo.woo() print cvar.Foo__woo fosub = FooSub() print isinstance(fosub,Foo) print issubclass(FooSub,Foo) print foo(fo) print foo(fosub)
[ "xxb.sklse@gmail.com" ]
xxb.sklse@gmail.com
764143021b116a61b77d2160eb9c038de319c5a8
c32d1be401253ac045fbe54dd8ea0900080f2831
/inputfunctionangela.py
679ce387d80fbc5260293b09c40365d87829c3fc
[]
no_license
EzikeChris/Band-Name-Generator
0b616b08bb849dfd9cb825e5a557e99435244d1b
b78e07394e5796c8663c265f64a144c7076c6394
refs/heads/master
2023-01-20T06:49:20.468407
2020-11-30T16:26:41
2020-11-30T16:26:41
317,202,700
1
0
null
null
null
null
UTF-8
Python
false
false
85
py
print(len(input("what is your name"))) # USE THONNY.COM TO CHECK HOW THE CODE RUNS #
[ "christopherezikeu2@gmail.com" ]
christopherezikeu2@gmail.com
a6de66059610b312518db486303f0562580c7410
0b24cc5973be51154ddc4d3679ae41b001cc668f
/usuarios/migrations/0001_initial.py
d3ac74404fb03921c4a517de996f435d19405f88
[]
no_license
slacker17/clinica
1bc5772ab9d04736cb7210395d4d0340e85d8a7d
b3661fe881f5d6472241611bbe397d41608ce44c
refs/heads/master
2021-01-10T04:13:00.326029
2019-01-17T05:18:10
2019-01-17T05:18:10
47,507,323
0
0
null
null
null
null
UTF-8
Python
false
false
1,213
py
# -*- coding: utf-8 -*- from __future__ import unicode_literals from django.db import models, migrations class Migration(migrations.Migration): dependencies = [ ] operations = [ migrations.CreateModel( name='Paciente', fields=[ ('id', models.AutoField(ver...
[ "vale@darkstar.example.net" ]
vale@darkstar.example.net
0db31016f513306ab1665e3149cafb72e7baae7b
90af4fb4c23ea4ca72d0d47223abbde14662e550
/Stark_panel/supp_acco_views.py
6dfdb71f9451d6f7a4b55a87426f9e5009716121
[]
no_license
saeedrezaghazanfari/stark_panel
3ce0232d87da460dfcc1ec3e97e4b07f73d3b3d2
15a7466bfc51a30edae8c3fee6a42b28f52d8f41
refs/heads/main
2023-05-08T22:35:38.931495
2021-06-06T08:14:02
2021-06-06T08:14:02
372,149,739
0
0
null
null
null
null
UTF-8
Python
false
false
14,690
py
from django.contrib import messages from datetime import date, datetime from django.shortcuts import render, redirect from django.utils.translation import gettext_lazy as _ from django.views.generic import ListView from django.utils.translation import get_language from Stark_account.models import User from django.view...
[ "saeedreza.gh.1397@gmail.com" ]
saeedreza.gh.1397@gmail.com
a189c6c81b68b77f59003ca143c4866d74aaa515
2434cc9f60b6203196f81e2bc02ebe8283db0230
/src/dataPreprocess/RegressionDataPreprocessor.py
5951eea8a41338731e8ad2ab49a3e5e0ffb6a3b0
[]
no_license
ys10/GCIDetection
99e8d8aa225b4a157144796a1c199cd9bfe203e6
f79c03f739e486f67a4af6489406129991631802
refs/heads/master
2021-07-22T23:44:04.281381
2017-10-27T07:19:19
2017-10-27T07:19:19
104,042,312
0
1
null
null
null
null
UTF-8
Python
false
false
3,416
py
from src import * class RegressionDataPreprocessor(DataPreprocessor): def __init__(self, dataFilePath, frameSize=1, frameStride=1, waveDirPath="data/wav/", waveExtension=".wav", markDirPath="data/mark/", markExtension=".mark"): DataPreprocessor.__init__(self, dataF...
[ "yangshuai@pachiratech.com" ]
yangshuai@pachiratech.com
6cfc8a547aa6241224ee19d9e6f5ab5c52083cb2
d7390fea6c7f712ee32be6d3478835d965d795e0
/py26_20day/reuquests模块的学习/07使用requests如何请求token鉴权的接口.py
faad5c7acd6e7ce96c28980b45ec1a7bed958197
[]
no_license
luwenchun/Automated_Test
2f424655d80127e3ed98657869021a775beca868
79b9937cfc0841b0a80d4fd45d8ff467654b5b55
refs/heads/master
2021-02-10T15:23:08.446463
2020-03-26T10:39:38
2020-03-26T10:39:38
244,393,626
0
0
null
null
null
null
UTF-8
Python
false
false
1,892
py
""" ============================ Author:柠檬班-木森 Time:2020/2/19 21:27 E-mail:3247119728@qq.com Company:湖南零檬信息技术有限公司 ============================ """ import requests # 请求头 headers = { "X-Lemonban-Media-Type": "lemonban.v2" } # # 登录的请求 # url = "http://api.lemonban.com/futureloan/member/login" # dat...
[ "luwenchun@users.noreply.github.com" ]
luwenchun@users.noreply.github.com
c7e82d2f0ac6909c2faecba83848021518939a3f
34df06e8f0a482127c73406259b4ed66f863cefa
/evictions_map/main.py
8f0e61f567ca724fbfdf104830663832d9af040e
[]
no_license
DataWorks-NC/2019-DataPlus-Evictions-Visualizations
198f03c1e745400d1de61c8af26cc11f62db5d5c
499bb074f17427348af7fd17375db500493958fc
refs/heads/master
2022-12-10T11:03:56.517365
2021-04-06T14:59:45
2021-04-06T14:59:45
233,906,619
0
0
null
2022-12-08T07:47:54
2020-01-14T18:18:46
Python
UTF-8
Python
false
false
6,686
py
from bokeh.io import curdoc from bokeh.layouts import row, column from bokeh.models import ColumnDataSource, FixedTicker, LogColorMapper, ColorBar, HoverTool, \ WheelZoomTool from bokeh.models.widgets import Slider, Paragraph, Button from bokeh.plotting import figure from bokeh.palettes import YlGnBu5 from bokeh.ti...
[ "tim@rad.cat" ]
tim@rad.cat
7254385c8d174a5fa574996da37c9dc8ad75aa79
d4f4bff5d4412abbb73ce534fae0c87ea9a62362
/model/rest2/emv_certificate.py
d3201f7e38f0799745324acbb996904f10478a11
[]
no_license
icorso/wn_api
4f023905bcf83fd19eb7826191a6fcf66345e38f
b7e558b30d57b62ed3333cbfb7a9359bf954e320
refs/heads/master
2023-05-25T11:05:02.203211
2021-05-22T15:10:57
2021-05-22T15:10:57
366,672,359
1
0
null
null
null
null
UTF-8
Python
false
false
20,971
py
# coding: utf-8 """ Merchant API # Introduction The Merchant API enables you to connect seamlessly and securely to our [Omni-Channel Payments Platform](https://www.worldnetpayments.com/). Our APIs are built around [REST](https://en.wikipedia.org/wiki/Representational_state_transfer) principles and [OpenAPI S...
[ "icorso@yandex.ru" ]
icorso@yandex.ru
e383e3821b0b120b2412f93c06276104fd24052e
dbde9338e87117397c2a7c8969df614f4dd4eacc
/test/ux/components/graph/__init__.py
192fbd7f73a024e214c34cf121c00a7286ef8e2d
[ "Apache-2.0", "MIT", "Intel" ]
permissive
leonardozcm/neural-compressor
9f83551007351e12df19e5fae3742696613067ad
4a49eae281792d987f858a27ac9f83dffe810f4b
refs/heads/master
2023-08-16T17:18:28.867898
2021-09-03T06:44:25
2021-09-03T06:54:30
407,043,747
0
0
Apache-2.0
2021-09-16T07:57:10
2021-09-16T06:12:32
null
UTF-8
Python
false
false
666
py
# -*- coding: utf-8 -*- # Copyright (c) 2021 Intel Corporation # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicab...
[ "tomasz.tybulewicz@intel.com" ]
tomasz.tybulewicz@intel.com
bd56773bd22825306830983a2fd477c334b7bd1e
4b179a518fdfc05bbca5033607691c070c21f2dc
/itembased.py
af2c8201572c551d55ff83c3e52d826731ad5601
[]
no_license
evanj354/Netflix-Recommendation-System
22501c6a1e20ae577539a4a34253a66b6934e881
4bdbe5d97b589b81b15397a96cc3c24a9e763a7d
refs/heads/master
2020-08-01T06:30:10.122375
2019-09-26T01:45:36
2019-09-26T01:45:36
210,899,685
1
0
null
null
null
null
UTF-8
Python
false
false
5,998
py
import math import sys from scipy import spatial import statistics import numpy as np from operator import itemgetter inputs = ['test5.txt', 'test10.txt', 'test20.txt'] outputs = ['item_result5.txt', 'item_result10.txt', 'item_result20.txt'] train = open('train.txt','r') numRatings = [1]*1000 test_users = [] train...
[ "eejohnson@scu.edu" ]
eejohnson@scu.edu
bf40419ee28d85261d37c37665164d3cd05beebd
a341e1a3dcf8225c9211bdb9ba78fef5b046db24
/Day9_KnotHash/KnotHashB.py
883267f597dc265e2193c133213b3eb7b9126df7
[]
no_license
Sam-Hart/AdventOfCode2017
2b01d244c9b8412e198ee990b154015814cf2e65
5e24dacc439166f04e5f1b49924c409eab55bd47
refs/heads/master
2021-09-06T21:37:30.682987
2018-02-11T23:07:51
2018-02-11T23:07:51
113,002,435
0
0
null
null
null
null
UTF-8
Python
false
false
2,565
py
import os import sys def calculate_sparse_hash(ascii_codes): ascii_codes += [17, 31, 73, 47, 23] number_ring = [i for i in range(0, 256)] ring_position = 0 skip_size = 0 # Generate sparse hash by performing twisting operation using the input # codes 64 times, carrying over ring_position and sk...
[ "sam@samhart.me" ]
sam@samhart.me
4c3a43a3ae4f589fcd7fe42f0ff9e6a3e9fbaf13
ff18e8408da80bfd4fe36e4645a1fb60d690e337
/pid.py
7960237301151390501eeb4172766d840f989551
[]
no_license
uncodead/biabrewex-micropython
0ea53929b3ffba7628346e8213014d07e3b01577
6aca0c83a7fb30e4513e85f24e1731df73896629
refs/heads/master
2020-04-09T15:11:42.527301
2018-12-05T10:50:07
2018-12-05T10:50:07
null
0
0
null
null
null
null
UTF-8
Python
false
false
3,137
py
from time import time import logging # Based on Arduino PID Library # See https://github.com/br3ttb/Arduino-PID-Library class PIDArduino(object): """A proportional-integral-derivative controller. Args: sampletime (float): The interval between calc() calls. kp (float): Proportional coefficient...
[ "uncodead@gmail.com" ]
uncodead@gmail.com
9f581f91b0bbbef006042ed4256ddd73d291a0d9
8fbf7054bc8676eb6754e80ead566ac10277af76
/desafio/desafio076.py
7ed84fa43cdb12fcf3e2e8326729ba4c88cb3da6
[ "MIT" ]
permissive
henriquekirchheck/Curso-em-Video-Python
5eb4c97ed6320fcd100030bda718de732430244a
1a29f68515313af85c8683f626ba35f8fcdd10e7
refs/heads/main
2023-06-06T16:25:48.018420
2021-07-04T17:46:28
2021-07-04T17:46:28
379,697,706
0
0
null
null
null
null
UTF-8
Python
false
false
583
py
# Crie um programa que tenha uma tupla única com nomes de produtos e seus respectivos preços, na sequência. No final, mostre uma listagem de preços, organizando os dados em forma tabular product = ('Lápis', 'Borracha', 'Caderno', 'Estojo', 'Transferidor', 'Compasso', 'Mochila', 'Canetas', 'Livro', 'Computador') prices ...
[ "86362827+henriquekirchheck@users.noreply.github.com" ]
86362827+henriquekirchheck@users.noreply.github.com
23e1fd48376d16e55529e81407fa1c5a97a646a1
20ace38b89c0ebaa0738753fcd11b0fdd4ed21cd
/CMSSW_8_0_24/src/HeavyIonsAnalysis/JetAnalysis/python/jets/akPuSoftDrop4PFJetSequence_pp_mc_cff.py
01731d69572ab31c9c6055da2a975c4490b8c326
[]
no_license
ssanders50/pPb_2016_v0
3c32c2920067a2f8a0a7a7fadba6225babf9a905
9fc4ae61cf4343c88ce6666f55c0738f963754a3
refs/heads/master
2020-12-12T16:30:41.253014
2020-02-14T21:51:17
2020-02-14T21:51:17
234,162,163
1
0
null
null
null
null
UTF-8
Python
false
false
15,434
py
import FWCore.ParameterSet.Config as cms from HeavyIonsAnalysis.JetAnalysis.patHeavyIonSequences_cff import patJetGenJetMatch, patJetPartonMatch, patJetCorrFactors, patJets from HeavyIonsAnalysis.JetAnalysis.inclusiveJetAnalyzer_cff import * from HeavyIonsAnalysis.JetAnalysis.bTaggers_cff import * from RecoJets.JetPr...
[ "ssanders@ku.edu" ]
ssanders@ku.edu
2deacb02106665e9fdd4ebd3606e12b06c4c6ebf
1c6db771456c0ad1c09d7aebf8c202cdd3f20cb8
/src/test/test_parser.py
db4c2f0520407da4de356585d4dd928b2d41150b
[]
no_license
dicebattle/DynamicCrawler
e964badf57d127e0d0b536e92c5810c9184aad93
3c9e0b490c44280ffb61e598b14761d237de2334
refs/heads/master
2021-01-23T01:08:32.730729
2017-06-09T17:43:07
2017-06-09T17:43:07
85,880,316
0
0
null
null
null
null
UTF-8
Python
false
false
1,905
py
from context.TestRuntimeContext import TestRuntimeContext from task.task import Task from task.task_builder import parse_object from newspaper import * import re import yaml ctx = TestRuntimeContext() class DummyTask(Task): def execute(ctx, self, input_value, result_set: dict): return input_value @c...
[ "dicebattle@gmail.com" ]
dicebattle@gmail.com
233351f9312bc41292736fd99cf4e9fb9bc342fd
e23310bc376838651b999232c7533116e881ce7f
/test05/test05/comments/templatetags/__init__.py
e81de517f567fb10aea83a41a273fadaa3da472f
[]
no_license
lllwqqq/django
7630b9489c178daead1753e4e8319ba026d00338
9abb022a7fe0882955599862dcd0e2d4e9ce9fc6
refs/heads/master
2020-09-14T08:24:15.760543
2020-06-04T07:42:08
2020-06-04T07:42:08
223,076,835
1
0
null
null
null
null
UTF-8
Python
false
false
141
py
#!/usr/bin/env python # _*_coding:utf-8_*_ """ @Time : 2019/12/20 下午5:58 @Author: Aroma @File: __init__.py.py @Software: PyCharm """
[ "liwq@spacesforce.com" ]
liwq@spacesforce.com
2f6cd45f795f752ee7d0ac99bc7863dd99c4b465
fd221efb1165d56ff7007a3b82aa84b1019883e0
/AI/pythonProject/main.py
8e3679ba5b0717720a0aede8ea70798d76725755
[]
no_license
CyanoFresh/KPI-Labs
822a8057a1db8f4df04e0b71b498f80dc42fd281
894332df2cc5a6eb32ce08938f7ebecf21e0dc02
refs/heads/master
2023-01-09T06:50:03.303627
2021-12-06T18:14:40
2021-12-06T18:14:40
253,018,181
0
1
null
2023-01-07T05:54:00
2020-04-04T14:28:25
JavaScript
UTF-8
Python
false
false
2,047
py
import numpy as np from operator import itemgetter import random R = [ [100, 0, -1, 0, 0, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1], [100, -1, 0, 0, 0, 0, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1], [-1, 0, -1, -1, 0, 0, -1, -1, -1, -1, -1, -1, -1, -1, 0, 0], [100, 0, -1, -1, 0, -1, 0, 0, -1, -1, -1, -1...
[ "cyanofresh@gmail.com" ]
cyanofresh@gmail.com
13c84dfbeee8deb2dadd511883f8edcf9cb503d5
727f1bc2205c88577b419cf0036c029b8c6f7766
/out-bin/py/google/fhir/models/model_test.runfiles/pypi__tensorflow_1_12_0/tensorflow-1.12.0.data/purelib/tensorflow/python/ops/gen_spectral_ops.py
ac8b6d9e122ce43b5b1663825791a40ec56b0e91
[ "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
182
py
/home/rkharwar/.cache/bazel/_bazel_rkharwar/c4bcd65252c8f8250f091ba96375f9a5/external/pypi__tensorflow_1_12_0/tensorflow-1.12.0.data/purelib/tensorflow/python/ops/gen_spectral_ops.py
[ "ruchika.kharwar@gmail.com" ]
ruchika.kharwar@gmail.com
b603cf2a42b3c56884a71c71d9b01dbc4cd25815
a20cb5dfd6ae2e5067a822f3b828a7c72e55489a
/243_Shortest_Word_Distance.py
6be04312f419e66cbda347bf6256f372125717d4
[ "MIT" ]
permissive
rpm1995/LeetCode
51f6325cf77be95bb1106d18de75974e03dba9b7
147d99e273bc398c107f2aef73aba0d6bb88dea0
refs/heads/master
2021-12-07T12:00:59.386002
2021-08-12T02:55:19
2021-08-12T02:55:19
193,178,028
0
0
null
null
null
null
UTF-8
Python
false
false
537
py
class Solution: def shortestDistance(self, words: List[str], word1: str, word2: str) -> int: index1 = -1 index2 = -1 ans = float('inf') for index, word in enumerate(words): if word == word1: index1 = index if index2 != -1: ...
[ "31997276+rpm1995@users.noreply.github.com" ]
31997276+rpm1995@users.noreply.github.com
a8629dcbf325e141ec9eaa323819b787e6317133
ed3910e0e14e01a14a472fa63795b9282226db5e
/ex40.py
d18a41a58b3d6459e830ba23caaafdff90f2f6ad
[]
no_license
ereminmax/ISEME
87f5037486ecbf31b5f9bf99ad6313427d296d4f
49d19a5fc28e257b501a437be5a922b6d25cbb8a
refs/heads/master
2021-01-22T21:22:02.949272
2017-05-10T14:08:10
2017-05-10T14:08:10
85,415,223
0
0
null
2017-04-07T16:05:35
2017-03-18T16:22:45
null
UTF-8
Python
false
false
352
py
class Song(object): def __init__(self, lyrics): self.lyrics = lyrics def sing_me_a_song(self): for line in self.lyrics: print line happy_bday = Song(["Happy", "bday", "dear", "Nasty"]) bulls_on_parade=Song(["They", "rally", "around"]) happy_bday.sing_me_a_song() b...
[ "eremin.max@gmail.com" ]
eremin.max@gmail.com
8b1bf18eca0b9749a9fa7c8ee3ec4ce3861e6ffc
586c371fe1217b12ad95250220b6ff6bf478716d
/views.py
cc66db3dc144d66ddb3fd7ad350f0844a9158b00
[]
no_license
emakuhin/python
b0380f70a13346c7ab25932a4dae89ef0efccea1
5f4cc9083be081402550d684b6a99c1ab8ebd2a7
refs/heads/master
2023-03-20T22:22:11.179754
2021-02-19T12:39:46
2021-02-19T12:39:46
339,050,882
0
0
null
2021-02-18T13:36:46
2021-02-15T11:08:17
null
UTF-8
Python
false
false
814
py
from functions import render def index(request): secret = request.get('secret_key', None) # Используем шаблонизатор return '200 OK', render('index.html', secret=secret) def about(request): names = request.get('name', None) return '200 OK', render('about.html', names=names) def contact_view(request):...
[ "maku@mail.ru" ]
maku@mail.ru
a3c61fd237bcbaef147e2bc5827ad0b9f91fa6c6
e1bd59225ecb84f4141407e2982ce4c8a5b8d99e
/src/script1.py
0f772ba041c994584eb7485b87cf3f86048ca5bf
[]
no_license
ClaraGhabro/UntieNotsRecrutement
7176254e3dd4a00805262f1c9ceec64cfaf968a0
531b7211d4565935d87e6908b0fd8b30401c33ad
refs/heads/master
2022-04-10T17:06:34.104806
2020-03-29T20:57:53
2020-03-29T20:57:58
249,480,716
0
0
null
null
null
null
UTF-8
Python
false
false
1,144
py
import json from kafka import KafkaProducer import os CHAR_TO_REMOVE = ['.', ',', '(', ')', '"', "'",'!', '?', ';', ':', '«', '»', '\n'] def clean_line(line): for c in CHAR_TO_REMOVE: line = line.replace(c, " ") return line def remove_empty(words): return list(filter(("").__ne__, words)) def...
[ "clara.ghabro@epita.fr" ]
clara.ghabro@epita.fr
20e1b133e2b412e19e153be019a0bf9f67c3fec2
2d227925231be797cc78b644358ecd3adf00fba7
/hr/numpy/dot_cross.py
515c172ecb47ecd14ec305361361f19f271cc0fd
[]
no_license
egalli64/pythonesque
6bb107189d4556d832175d41366ea0b18ed6ea1d
154042c5ae5cf43a0ae2c03d509fc48d1dc19eb8
refs/heads/master
2023-07-07T05:50:14.711023
2023-07-01T10:52:24
2023-07-01T10:52:24
53,720,525
21
7
null
null
null
null
UTF-8
Python
false
false
421
py
""" HackerRank Python Numpy Dot and Cross author: Manny egalli64@gmail.com info: http://thisthread.blogspot.com/ https://www.hackerrank.com/challenges/np-dot-and-cross/problem Given two NxN arrays, compute their matrix product """ import numpy as np n = int(input()) left = np.array([input().split() for _ in ra...
[ "egalli64@gmail.com" ]
egalli64@gmail.com
2d17de3711787a66d190699e94ddc0d1a3543ae5
d4412a81e17dddda5ed808a6cec83928488e61bd
/featuresExtraction.py
573c3149ca9e4e1de67937a562a042800915309d
[]
no_license
chpplen/basketball
7a484aa1001bdadd080ccca049e72bb749f23c20
c0d07345cb229eb6fa306d1288954d30f9c30d76
refs/heads/master
2021-01-22T19:32:07.751280
2017-03-16T15:35:51
2017-03-16T15:35:51
85,212,211
1
0
null
null
null
null
UTF-8
Python
false
false
2,844
py
# encoding: utf-8 import datetime import csv import pickle class featuresExtraction: def __init__(self): self.dayLastFight = {} self.historyAverage = {} t = datetime.date(2016, 10, 24) for i in range(30): self.historyAverage.update({str(i):{"aveGet":0.0,"aveLost":0.0,"count":0}}) self.da...
[ "chpplen@gmail.com" ]
chpplen@gmail.com
b3a9ab3df66920fc9c046b9dbf63ca9b4ca12c9e
534b542d9f244c1975b37a5605eb2a6d43a972d6
/navi_api/admin.py
c6793b04b78f97337a6941110bc4e50b9c954787
[]
no_license
techforthepeople/ttp-backend
6941f25a136b7f2843692bbfae10c0b8ce512468
08a62be9848a1168033d28180cee83e460047a7d
refs/heads/master
2020-09-02T06:55:29.860151
2019-11-08T22:59:38
2019-11-08T22:59:38
218,837,463
0
1
null
null
null
null
UTF-8
Python
false
false
224
py
from django.contrib import admin from .models import ( EmtLevel, EmtProfile, StatusLog, ) # Register your models here. admin.site.register(EmtLevel) admin.site.register(EmtProfile) admin.site.register(StatusLog)
[ "droza0@users.noreply.github.com" ]
droza0@users.noreply.github.com
f879aabd26c6b0138428de4060582290c0c60f06
20bbdaa317e3c4f9088b171fb49fc2021cad4525
/project_user_story_one/dict_main.py
a685c5ab65336b7fe594b86c997af5d06d6e365f
[]
no_license
knarg/United_By_Music_User_Story_One
45a96fcc8a696230076891837eff402698eb000b
30bf66b4de907339bd7f16882a73f74922149061
refs/heads/master
2021-10-26T23:39:45.937407
2019-04-14T21:49:53
2019-04-14T21:49:53
null
0
0
null
null
null
null
UTF-8
Python
false
false
319
py
def main(): # This file is just to create my list of questions and I will start with one question #and then it will be dynamically updated by the user import json dict = {1: {"what is good instrument": "flute"}} with open('my_dict.json', 'w') as f: json.dump(dict, f) main()
[ "noreply@github.com" ]
knarg.noreply@github.com
a7bd11cdb444a3eb43fbb9a3cd0c661987a8924d
d0e792360812b42c34e0e3fed624fcd5df47c013
/Blog/migrations/0008_auto_20190809_1858.py
9b51695dda257899f8dd40a8111dc937f232aa8c
[]
no_license
vlehra/intrepidgeeks
5f008a5f490f055dfff1321edd398486f5b1c7c6
ea9f5daa06f3617933c685baf0d45ae7381ee0ff
refs/heads/master
2020-12-04T22:59:16.677518
2020-01-05T15:25:57
2020-01-05T15:25:57
231,927,777
1
0
null
null
null
null
UTF-8
Python
false
false
405
py
# Generated by Django 2.1.5 on 2019-08-09 13:28 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('Blog', '0007_auto_20190809_1851'), ] operations = [ migrations.AlterField( model_name='blog', name='pu...
[ "noreply@github.com" ]
vlehra.noreply@github.com
73186b4781f11432e18fa8c7ac6d96d471f4776a
714f1fb452fd11e22255d9fdd844c9773b604c6c
/Results-og/write_throughput/write_graph.py
1f528c43e2fe422821cef79bfa4a5f6da406e832
[]
no_license
jadia/gvisor_analysis
1bdc21fb17fdf61d634933d730ee3cb3e2fb1971
998c3c490920b520949b630658f26f1110642897
refs/heads/master
2022-11-07T01:01:09.265937
2020-06-18T15:10:00
2020-06-18T15:10:00
263,347,173
0
0
null
2020-05-12T13:37:58
2020-05-12T13:37:57
null
UTF-8
Python
false
false
3,062
py
import numpy as np import statistics import sys import matplotlib.pyplot as plt import csv results = {} # Grab data and put into dictionary with open(sys.argv[1]) as f: csv_reader = csv.reader(f, delimiter=',') for row in csv_reader: if (row[0] not in results): results[row[0]] = {} if (row[1] not in results[...
[ "eyoung8@wisc.edu" ]
eyoung8@wisc.edu
d2caba708b1b7d5cd603cdd367b489d738322716
84a0fe2380a0061e9bc86a78b4fb193bf7665bea
/emsdjango/urls.py
316a4d4a698a8c70ea5bca4396130858b5725eec
[]
no_license
RUPAYAN10/employeeManagemntsystem
b0bd6f2a7ab360bc4b680dd49f40de616ab3e7ca
81bc03d4c90d94d3f011d51cda29a9bbbeb2042a
refs/heads/master
2023-06-04T09:56:46.788979
2021-06-21T20:30:31
2021-06-21T20:30:31
378,921,116
0
0
null
null
null
null
UTF-8
Python
false
false
635
py
from django.contrib import admin from django.urls import path from ems import views from django.conf.urls import url from django.views.static import serve from django.conf import settings urlpatterns = [ path('emp', views.emp), path('', views.emp), path('show', views.show), path('edit/<int:id>',...
[ "86109345+RUPAYAN10@users.noreply.github.com" ]
86109345+RUPAYAN10@users.noreply.github.com
6cb9680afa00d7490425d67c9b5813e791dd18ba
ae4c35cf4b79592153b14f105d197afbfbd6d02d
/ReplayService/parse.py
e44f1f4660c725f49f261d8ed8065c430e62f633
[]
no_license
mheap/riot-hackathon
bd7aae03ce1b587005026c0610ece686d88920e2
fa073fa9023a1e17cab965675835e59480124596
refs/heads/master
2020-04-05T06:33:37.158895
2018-11-09T21:16:47
2018-11-09T21:16:47
156,642,045
0
0
null
2018-11-09T07:31:02
2018-11-08T02:59:44
C#
UTF-8
Python
false
false
3,721
py
import struct import json try: from cStringIO import StringIO except: from StringIO import StringIO ROFL_MAGIC = "RIOT" + chr(0) * 2 class Struct(object): format = None extradata = None @classmethod def get_extradata(cls, fileobj): return [None] * len(cls.get_format(fileobj, None)) ...
[ "m@michaelheap.com" ]
m@michaelheap.com
fd8485ee71ed3cb66a763b309e957fc5f125b11e
5615f555acea4dba64f7d1b68c0d499982dfd05c
/hr_holidays_auto/models/hr_holdays.py
269772c9ebd225a0d0cb679187fdc73cd6a2ae23
[]
no_license
soulbadguy00/modules
9020dd352f32e1756bf447060d55989bd2842e7c
79a9b13da9cf0eeb210acbed7c948bdc82962bcf
refs/heads/master
2023-06-28T20:40:33.352485
2021-07-27T20:48:46
2021-07-27T20:48:46
390,121,743
0
0
null
null
null
null
UTF-8
Python
false
false
564
py
# -*- coding:utf-8 -*- from odoo import api, fields, models class HrHolidays(models.Model): _inherit = 'hr.leave' def createHolidays(self, employee_id, number_of_days): type= self.env['hr.holidays.status'].search([('code', '=', 'CONG')], limit=1) if type: vals = { ...
[ "pierrerodolpheagnero@gmail.com" ]
pierrerodolpheagnero@gmail.com
6c0fd52f7332928dc13674944615c189d5b4b3fc
930df8fab4c21f5b77d9e8f071f85c772b00653f
/mysite/blog/migrations/0003_auto_20180625_1215.py
4ddda39d4231f64f21827eee5f712d2322c6f9ca
[]
no_license
Newone3/big_project1
6182f8aa5b097c196a2ac22b581a87e3014fe38a
dd28ad79a85531da3781822e5bc491762412ad18
refs/heads/master
2020-03-21T13:16:46.513714
2018-06-25T13:14:59
2018-06-25T13:14:59
138,597,303
0
0
null
null
null
null
UTF-8
Python
false
false
780
py
# -*- coding: utf-8 -*- # Generated by Django 1.10.5 on 2018-06-25 12:15 from __future__ import unicode_literals import datetime from django.db import migrations, models import django.utils.timezone from django.utils.timezone import utc class Migration(migrations.Migration): dependencies = [ ('blog', '0...
[ "los.haldos@seznam.cz" ]
los.haldos@seznam.cz
3dce8aafc4f011e58739b49d996a5f30507d623e
fd394f07e0d0b1a242d5f20a712f8175c04d48f5
/gxformat2/interface.py
e113ddf5818174e7327c05821ffb4426a58712d6
[ "AFL-3.0", "CC-BY-2.5", "AFL-2.1", "CC-BY-3.0", "LicenseRef-scancode-unknown-license-reference" ]
permissive
hmenager/gxformat2
1d6a54104d67897f33c34ce393fb34209b63a552
f68e787f218531dc3d106b81b7d296bf1822d125
refs/heads/master
2020-04-25T09:55:44.158083
2018-12-17T08:12:47
2018-12-17T09:10:46
172,691,358
0
0
NOASSERTION
2019-02-26T10:38:53
2019-02-26T10:38:53
null
UTF-8
Python
false
false
2,684
py
"""This module contains an interface and implementation describing Galaxy interactions used by gxformat2. The interface is :class:`ImporterGalaxyInterface` and the default implementation based on `BioBlend <https://bioblend.readthedocs.io/>`__ is :class:`BioBlendImporterGalaxyInterface`. """ import abc import bioblen...
[ "jmchilton@gmail.com" ]
jmchilton@gmail.com
5eaaaf7a891fe628366957175dac812bb10f7455
38ddab707ebb9291868338c19f989a5f4c7129ad
/剑指offer/17.树的子结构.py
4a0d055b7cfbdbe93453b0721c77278ab3c73527
[]
no_license
hugechuanqi/Algorithms-and-Data-Structures
ae552c407210fa39e2f309ff079b4aca10fa3362
4e4f739402b95691f6c91411da26d7d3bfe042b6
refs/heads/master
2021-06-26T02:26:59.495057
2020-11-26T14:06:18
2020-11-26T14:06:18
174,640,536
3
1
null
null
null
null
UTF-8
Python
false
false
4,104
py
# -*- coding:utf-8 -*- class TreeNode: def __init__(self, x): self.val = x self.left = None self.right = None class BinaryTree(object): """ 二叉树结构类 """ def build_tree(self, List): """ 构建一棵平衡二叉树,数组必须为排序好地数组,才能使得是平衡二叉树 前提:输入中序遍历,该列表必须满足一棵满二叉树,才能取中间结点为根结点,然后左...
[ "1498509746@qq.com" ]
1498509746@qq.com
330ffe6ee7fc13129d2f9b1decb0666998494cfd
653c30261f06a68e6bd67e9bc220599b223a95de
/projecteuler38.py
f6cf70229e01d2b3bf6427405d9df41a0fc3c295
[]
no_license
michaelcjoseph/ProjectEuler
9d08fde0865e28a3a0af650d5b88dec54f215a6c
9f1be74ef6a26269c641221875fed7f095c4c175
refs/heads/master
2016-09-01T17:29:30.757688
2015-06-09T02:23:15
2015-06-09T02:23:15
37,105,070
0
0
null
null
null
null
UTF-8
Python
false
false
765
py
# Project Euler 38 # Pandigital Multiples import math def main(): num = 1 for i in range(1, 10000, 1): x = ConcatProducts(i) if x >= num: if IsPandigital(x): num = x print num def ConcatProducts(n): concat = str(n) count = 2 while len(concat) < 9 and count < 10: concat += str(n*count) count ...
[ "mjoseph.cm@gmail.com" ]
mjoseph.cm@gmail.com
3ca4f12cfde07191d7276f95d1acc1cdf4fc71a4
9bd564a1b571158d58ebaf34f0b7a91e268c643e
/pureButter_project/pureButter_project/wsgi.py
81460ed78aa0639f9ccda280f0fa10b4b5c9bef4
[]
no_license
elmasta/Pure_butter
82a9c2925e9e29a20ee5855cdcf4d0c67d563080
c7fae66dcb712ce7c828f05007689624731b727f
refs/heads/master
2022-12-09T22:27:26.441347
2022-06-14T07:38:57
2022-06-14T07:38:57
203,661,339
0
0
null
null
null
null
UTF-8
Python
false
false
413
py
""" WSGI config for pureButter_project 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/2.2/howto/deployment/wsgi/ """ import os from django.core.wsgi import get_wsgi_application os.environ.setdefault('D...
[ "valentinrobin1@gmail.com" ]
valentinrobin1@gmail.com
4a24d9022a64534cf0afbc6bd6084e4c67d23f43
80423e48d7d2f6a92cb57a46d62f160f7c2bb042
/OrthDatasetAnalyzer/test/Crab/run.py
92cdf3baacdc41ef848c146a45126907666c9a7b
[]
no_license
khaosmos93/OrthDataset
f73a46151dced5a98d51c415518ea9237fe987f9
0539edf1bac93b0b437cc2c00a7c08efb5901ce7
refs/heads/master
2021-01-01T15:44:07.698904
2017-07-20T11:59:03
2017-07-20T11:59:03
97,363,375
0
0
null
null
null
null
UTF-8
Python
false
false
3,710
py
import FWCore.ParameterSet.Config as cms process = cms.Process( "MSAnalyser" ) process.source = cms.Source( "PoolSource", fileNames = cms.untracked.vstring( #'file:1CFA8097-8AEA-E611-980F-001E67E6F855.root', #/JetHT/Run2016H-03Feb2017_ver3-v1/MINIAOD ...
[ "khaosmos93@gmail.com" ]
khaosmos93@gmail.com
65d36252234af52fc4ad69ff244e41567969bb88
1635e722e7ede72f4877671f36bbbc4199abae81
/sqp-addons/rml_reports/account/account_print_invoice.py
5d6f8e1179befc117b270026e8990c4d530253d1
[]
no_license
ecosoft-odoo/sqp
7c09617048091ac6de4b25a33ad88127d36de452
7a7fc6b88087d98d536dd4ec39f9fb572918090e
refs/heads/master
2023-08-08T00:07:48.405000
2023-08-04T15:47:43
2023-08-04T15:47:43
40,047,976
3
9
null
2023-08-02T08:38:53
2015-08-01T13:48:54
Python
UTF-8
Python
false
false
1,524
py
# -*- coding: utf-8 -*- ############################################################################## # # OpenERP, Open Source Management Solution # Copyright (C) 2004-2010 Tiny SPRL (<http://tiny.be>). # # This program is free software: you can redistribute it and/or modify # it under the terms of the GNU...
[ "kittiu@gmail.com" ]
kittiu@gmail.com
f02c980a16873b8ad5353fdf70b81d5fd92ddef1
a15107a9426fb587b1fff12659012b4fbaed9017
/crm/urls.py
0202699562bc6348a8a38222e834065999e6dad7
[ "MIT" ]
permissive
goplannr-samim/manager-app
f93ec74211f2dd5927d9f37c0a14f77bc3a45d61
cd5bf7f1fea28d51dea55e48fa69cc461520a878
refs/heads/master
2022-12-10T13:16:45.788301
2019-05-28T11:55:18
2019-05-28T11:55:18
187,600,786
0
0
MIT
2022-12-08T05:11:22
2019-05-20T08:34:57
CSS
UTF-8
Python
false
false
960
py
from django.contrib.auth import views from django.urls import include, path from common.views import handler404, handler500 app_name = 'crm' urlpatterns = [ path('', include('common.urls', namespace="common")), path('', include('django.contrib.auth.urls')), path('m/', include('marketing.urls', namespace="...
[ "samim@goplannr.com" ]
samim@goplannr.com
377a3ba0170c01a9fbd9fb9264a082be80f76179
d9fb009fc72bb1313471981952fa0294f73b0995
/books/users/views.py
0f7892332956dd074676e587f25b442c6a17bbbc
[]
no_license
andreytp/django_for_professionals
da1e4d09f5eaffb0c8f3f43773c18fdd3c299789
01f8e4ee43913504a37ec142f85d66d31c30be3c
refs/heads/master
2023-04-26T16:00:58.308284
2021-05-18T14:01:24
2021-05-18T14:01:24
360,420,493
0
0
null
2021-05-18T14:01:25
2021-04-22T06:51:36
JavaScript
UTF-8
Python
false
false
275
py
from django.urls import reverse_lazy from django.views import generic from .forms import CustomUserCreationForm class SignupPageView(generic.CreateView): form_class = CustomUserCreationForm success_url = reverse_lazy('login') template_name = 'signup.html'
[ "andreytp@gmail.com" ]
andreytp@gmail.com
33ad41188abda71028d7183b04d01f13cc25d200
4cd1427ceec3038dd9b21052dc0f0112c4edc0bf
/venetia-build/tls/client.py
d6d9b9085e05c72c3d7603880bcda72d9ee4e527
[]
no_license
VenetiaIO/venetia-cli
f9255f25ab544959c02765b1bbc2673a0b3ac1f4
7d572c1917e28752f2cb01bed56ef4910c930e78
refs/heads/master
2023-08-17T01:13:59.353630
2021-10-10T20:39:36
2021-10-10T20:39:36
292,083,004
3
0
null
null
null
null
UTF-8
Python
false
false
1,499
py
from ctypes import ( cdll , c_int , Structure , c_int32 , c_char_p , c_uint32 , CFUNCTYPE , pythonapi , sizeof ) import base64 import json import time from enum import Enum from .utils import ClientError, ...
[ "charliebottomley11@gmail.com" ]
charliebottomley11@gmail.com
f958b6a09eca7e9a420cecd152efe5665c7ddde1
4162b07bca93cbc52da79cd7216369ffa5fb6853
/app/routes.py
ad0be74a823e7d9ef763b085aa9fb18b92844718
[]
no_license
YasinVeliyev/Mastering_Flask
8149226dc8efd07e1d195eddfd71347ed05a32f2
39c86d14dcd1c8dabbde2d12f4a745feea75cdf3
refs/heads/master
2023-04-09T17:21:31.806467
2021-04-25T09:11:31
2021-04-25T09:11:31
361,345,992
0
0
null
null
null
null
UTF-8
Python
false
false
84
py
from app import app @app.route("/") def index(): return '<h1>Hello docker</h1>'
[ "veliyev.yasin@gmail.com" ]
veliyev.yasin@gmail.com
81b390458f34318f9d2cd513c076734aa66901b6
99bab2b11bc4c56428b235579a5865c2efc447be
/delete list.py
3ef3ea620830d1f7cf8ba30d3ed20f669bfa60e1
[]
no_license
Anbumani-Sekar/python-codings
dc8ecee19dc916363020f3e8d660f54eb4bcd85e
6bae1617716c6148107c71080d9aebbd18c01d9a
refs/heads/main
2023-08-01T01:26:37.228683
2021-09-21T02:20:52
2021-09-21T02:20:52
408,660,620
1
0
null
null
null
null
UTF-8
Python
false
false
126
py
list=[0,9,8,7,6,6,3,9,4,4,3,3,2,2,1] r=len(list) print(r) t=r-5 print(t) del list[:] print("delete the number", list)
[ "noreply@github.com" ]
Anbumani-Sekar.noreply@github.com
97852c4d02f44c79de41b50062887c8ef3244111
f3b82ef97e6a26d2fb3c2132efc394b4e026affd
/keras2/keras72_1_vgg19_cifar.py
6a3b9899279ed69c9b249f3b7b4566943941be77
[]
no_license
dwg920302/study_tensorflow
f50c559486deb5f0087ff430134a23ffa0c13123
0075c87484766fa37949e411266d90b7933b45f7
refs/heads/main
2023-07-20T12:53:31.592629
2021-09-02T08:50:50
2021-09-02T08:50:50
383,744,279
0
0
null
null
null
null
UTF-8
Python
false
false
3,490
py
# 실습 # 시파10과 시파100으로 모델 만들것 # Trainable = True or False 비교 # FC vs GlobalAvgPool 비교 # 같은 방법으로 Xception, Resnet50, 101, InceptionV3, InceptionResNetV2, DenseNet121, MobileNetV2, NasNetMobile, EfficientNetB0 from tensorflow.keras.applications import VGG19 from tensorflow.keras.layers import Dense, Dropout, Flatten, G...
[ "dwg920302@gmail.com" ]
dwg920302@gmail.com
c17395dcc9f451821d1cb230236f481b80f0080a
2c234a7eeb7609e753fb01cf756ab26caf5bd5a1
/env/Scripts/django-admin.py
a42f641ff6ec13f2135cb079d8f0a88c3d94d323
[]
no_license
AprilDDay/myProject_python
747d6865cf52ee0fa6b4274ae6fe1b87f99d473a
26f344457d6fe23207a044a4f9e0cf7c96753490
refs/heads/main
2023-07-18T15:09:17.061943
2021-09-07T15:08:35
2021-09-07T15:08:35
404,008,810
0
0
null
null
null
null
UTF-8
Python
false
false
702
py
#!c:\users\user\python_development\myproject\env\scripts\python.exe # When the django-admin.py deprecation ends, remove this script. import warnings from django.core import management try: from django.utils.deprecation import RemovedInDjango40Warning except ImportError: raise ImportError( 'django-admi...
[ "april.day@gmail.com" ]
april.day@gmail.com
9b8f412e85abf873517f0758e3b4787fb2a02a24
26deb4a36da77b76bb546755e1f7a456066bbab2
/examples/NodeBox-Site/blines1.py
b7fbfba2fb9030a250eb267c7fb013bf2e177c74
[ "MIT" ]
permissive
karstenw/nodebox-pyobjc
36cfd441f24b38d47975e642bf6e63b8e65e2246
cd648d5ea44b223f999cfa1f7986fa93533f593e
refs/heads/master
2023-08-03T10:47:42.663701
2023-07-24T08:07:55
2023-07-24T08:07:55
12,832,922
9
1
null
null
null
null
UTF-8
Python
false
false
632
py
# You'll need the Boids and Cornu libraries. boids = ximport("boids") cornu = ximport("cornu") size(550, 550) background(0.1, 0.1, 0.0) nofill() flock = boids.flock(10, 0, 0, WIDTH, HEIGHT) n = 70 for i in range(n): flock.update(shuffled=False) # Each flying boid is a point. points = [] for boid in...
[ "karstenwo@web.de" ]
karstenwo@web.de
ff51a2a7d4fde46093f1f1c019c23339e9806b1a
b1519cb8a16631f607a0dd10aa647bf094830387
/2018/day3.py
8657a2aefac9144fabc99f96ec572af28effe6f8
[]
no_license
OpportunV/adventofcode
786b83b34f82eaac0125ad2522393cb59ed1e06d
4238996cb53c25c26d8840d9fedd0433229a7ff3
refs/heads/master
2023-01-23T14:38:41.041073
2023-01-07T23:22:54
2023-01-07T23:22:54
227,684,529
0
1
null
null
null
null
UTF-8
Python
false
false
950
py
import re from collections import defaultdict def part_one(inp): claims = defaultdict(int) for ind, x, y, w, h in inp: for i in range(w): for j in range(h): claims[(x + i, y + j)] += 1 return len([i for i in claims.values() if i > 1]) def part_two(inp): v...
[ "RsTGear@gmail.com" ]
RsTGear@gmail.com
09fe1c3df1ed49f792c91915b3fe463f0e398a79
c46c41b6fac5b99dff48eaeed66ff6bba7e038fb
/Lab/CodeChallenge/main.py
5a4c0d58527c5778f55c5ab85499e599a2b75d64
[]
no_license
Tidesun/BigDataSummer2018
71bf2c4e364dd9bcad41d2eb16dda083cd4aaf4b
1809568778737a6a44976824b0fc7d5ab13be5f3
refs/heads/master
2020-03-22T16:28:20.181997
2018-07-27T16:17:29
2018-07-27T16:17:29
140,329,199
0
0
null
null
null
null
UTF-8
Python
false
false
292
py
from pyspark import SparkContext sc=SparkContext() input=sc.textFile("input.txt").map(lambda x:filter(lambda item:item!='',x.split(" "))).map(lambda x:(x[0],x[1])) RevInput=input.map(lambda x:(x[1],x[0])) res=RevInput.join(input).values().collect() for item in res: print item[0],item[1]
[ "lihaoran9836@gmail.com" ]
lihaoran9836@gmail.com
75d78160410e7efd37098c9720a470a3996749e0
e42a61b7be7ec3412e5cea0ffe9f6e9f34d4bf8d
/a10sdk/core/interface/interface_ethernet_lldp.py
779792505bc0d96a03e8daebbc04320579a4aa85
[ "Apache-2.0" ]
permissive
amwelch/a10sdk-python
4179565afdc76cdec3601c2715a79479b3225aef
3e6d88c65bd1a2bf63917d14be58d782e06814e6
refs/heads/master
2021-01-20T23:17:07.270210
2015-08-13T17:53:23
2015-08-13T17:53:23
40,673,499
0
0
null
2015-08-13T17:51:35
2015-08-13T17:51:34
null
UTF-8
Python
false
false
5,406
py
from a10sdk.common.A10BaseClass import A10BaseClass class TxDot1Cfg(A10BaseClass): """This class does not support CRUD Operations please use parent. :param link_aggregation: {"default": 0, "type": "number", "description": "Interface link aggregation information", "format": "flag"} :param vlan: {"def...
[ "doug@parksidesoftware.com" ]
doug@parksidesoftware.com
72aa38144b6802415587b485917195c4518f607e
533994be9ac790809db20de95cbeaef2095e9563
/Py-practice/0331-1.py
47069ae56d407c62ad1f5f472e07e2f32816f50f
[]
no_license
kaitlynning/Py-practice
29a85784a533cfcabd7dbed0f3d5763f9edd67cf
3bada17bbab49b4d1b5d4482adb24b75914c0809
refs/heads/master
2021-02-12T07:29:55.262943
2020-06-23T15:59:14
2020-06-23T15:59:14
244,573,260
0
0
null
null
null
null
UTF-8
Python
false
false
558
py
def delete_starting_evens(lst): #While loops 符合條件了才認為是真,才可以執行以下程式碼 #check at least 1 element by len(lst); check 1 element is ood by mod(%) while (len(lst) > 0 and lst[0] % 2 == 0): #if both are True, slice off 1 element by lst = lst[1:] lst = lst[1:] return lst print(delete_starting_evens([4, 8, 10, 11, 12, 15...
[ "noreply@github.com" ]
kaitlynning.noreply@github.com
98e1ad02ddffabfd2110beaf42a1b334e02b0259
c29511d996d1780f68cf4512c2cf05ef3148e833
/face.py
3f5144a1909ad4071740d6ed02e4edb090e90b70
[]
no_license
manav014/face_recognition_live
23ef373b82a5c55820e642793a45a37a19759de1
5cfdcaf74c2db2678029ec08279be96da6580e38
refs/heads/master
2020-12-22T03:18:50.643211
2020-10-20T12:10:23
2020-10-20T12:10:23
236,654,775
1
0
null
null
null
null
UTF-8
Python
false
false
4,321
py
import face_recognition import cv2 import numpy as np # This is a demo of running face recognition on live video from your webcam. It's a little more complicated than the # other example, but it includes some basic performance tweaks to make things run a lot faster: # 1. Process each video frame at 1/4 resolution (t...
[ "noreply@github.com" ]
manav014.noreply@github.com
5fa425dcb8d840ca75b7c20735717559a369b325
f1cb02057956e12c352a8df4ad935d56cb2426d5
/LeetCode/742. Closest Leaf in a Binary Tree/Solution.py
44ea63c0c3e48cd0ae96c1c13cf6390f4cbc23c6
[]
no_license
nhatsmrt/AlgorithmPractice
191a6d816d98342d723e2ab740e9a7ac7beac4ac
f27ba208b97ed2d92b4c059848cc60f6b90ce75e
refs/heads/master
2023-06-10T18:28:45.876046
2023-05-26T07:46:42
2023-05-26T07:47:10
147,932,664
15
2
null
null
null
null
UTF-8
Python
false
false
1,389
py
# Definition for a binary tree node. # class TreeNode: # def __init__(self, x): # self.val = x # self.left = None # self.right = None def is_leaf(node: TreeNode): return node and not (node.left or node.right) class Solution: def findClosestLeaf(self, root: TreeNode, k: int) -> int:...
[ "nhatsmrt@uw.edu" ]
nhatsmrt@uw.edu
35504dd41d6667322da8f129698cb14cb7b0760b
c22933fe03ccf42b16c219c0f32cdcc7dacf816b
/monday/search/views.py
f4ebed02639e90cdd2791924f58fd563f2911334
[]
no_license
sabyasachi61roy/monday_combo
0a41f91113ced39fe59dbba3506318dec414d4b9
ca0a625bc9807d861426b6285ea4ebf139a7da77
refs/heads/master
2022-11-13T22:20:53.206452
2020-06-23T12:56:56
2020-06-23T12:56:56
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,429
py
from django.shortcuts import render, redirect from django.views.generic import ListView from products.models import Combo, Addon class SearchProductView(ListView): template_name = "search/view.html" def get_context_data(self, *args, **kwargs): context = super(SearchProductView, self).get_context_data(...
[ "debopriyo09@outlook.com" ]
debopriyo09@outlook.com
b02584594651c72b4f66f4bc79cb227083074d45
54e93c632100af4b88383b12283d7cda248b87d7
/test-keras.py
871edacdce6452d4f89011890894d7b8e14ced8b
[]
no_license
loulidanyl/RESEAU-NEURONES---Projet
f40db9aefc26435a497ce1713a1ab865edb7a190
c99e4bd7bb5891362bb36031fafb38330c217965
refs/heads/master
2020-04-08T18:51:13.649115
2018-11-29T07:52:30
2018-11-29T07:52:30
159,627,879
0
0
null
null
null
null
UTF-8
Python
false
false
842
py
import keras from keras.datasets import mnist from keras.models import Sequential from keras.layers import Dense, Dropout from keras.optimizers import RMSprop model.add(Dense(units=64, activation='relu', input_dim=100)) model.add(Dense(units=10, activation='softmax')) model.compile(loss='categorical_crosse...
[ "noreply@github.com" ]
loulidanyl.noreply@github.com
d78a2caec6929491b61eee56c75f8265213f0a5d
781e2692049e87a4256320c76e82a19be257a05d
/all_data/exercism_data/python/word-count/d4cadeee34e24f3b87cf23eedaeb8115.py
8167678efb593ef506769482683415933331d5d4
[]
no_license
itsolutionscorp/AutoStyle-Clustering
54bde86fe6dbad35b568b38cfcb14c5ffaab51b0
be0e2f635a7558f56c61bc0b36c6146b01d1e6e6
refs/heads/master
2020-12-11T07:27:19.291038
2016-03-16T03:18:00
2016-03-16T03:18:42
59,454,921
4
0
null
2016-05-23T05:40:56
2016-05-23T05:40:56
null
UTF-8
Python
false
false
192
py
from collections import Counter def word_count(a_string): words = a_string.split() word_count = Counter() for word in words: word_count[word] += 1 return word_count
[ "rrc@berkeley.edu" ]
rrc@berkeley.edu
43884a3f9a30ff09938668f864f634fdb797befa
613b72e6286a170f304bca088197057f76d1d289
/data_structures/trie_applications.py
e66679c6af243bf2c02c12529fe34c86dd1e4775
[]
no_license
counterjack/Python--ds-algo-more
cb532dd30b6f9000f63f63a17eda9d1ed4b6a364
ced096d5a38763bf976259798f343b2485ede99e
refs/heads/master
2021-06-30T02:29:47.117945
2020-09-04T05:06:36
2020-09-04T05:06:36
142,243,153
0
0
null
null
null
null
UTF-8
Python
false
false
1,919
py
# /bin.python """ Refer : https://www.geeksforgeeks.org/trie-insert-and-search/ Strings used essentially as in 1. Search Engines 2. Genome Analytics 3. Data Analytics 4. Mobile Name Searching 5. """ class TrieNode(object): # node that can have maximum 26 childrens { alphabets a-z } def __init__(self): se...
[ "=ankur.agrawal@doctorinsta.com" ]
=ankur.agrawal@doctorinsta.com
4f4872d3605a801de0509b029c87572632fd9cc3
eecc2e979ab124f835b8f9e2a11f811b27033299
/products/migrations/0005_auto_20201120_1854.py
801596aab31ef85e3335820f7c70b269d4ef2831
[]
no_license
MonicaVizechi/ludevelops
4e682ee45a4e1e6bc4a29df70cdafeaa4876ab75
37503e125f31495b27989df6602ab99c81b3f352
refs/heads/master
2023-01-14T11:22:19.559142
2020-11-21T13:04:03
2020-11-21T13:04:03
313,788,346
1
1
null
null
null
null
UTF-8
Python
false
false
503
py
# Generated by Django 3.1.3 on 2020-11-20 21:54 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('products', '0004_auto_20201118_2335'), ] operations = [ migrations.AlterField( model_name='product', name='status', ...
[ "jaquelineandradenogueira@gmail.com" ]
jaquelineandradenogueira@gmail.com
e3cd5ff07962fe2a7cd18a157eba7b5404e9f3dc
abf7262d573780d90471e9bc64ad25194008e418
/shakhandar_davrisheva_midterm.py
418cfe8d41f39fa31c4b30aaf741b3a0f1236078
[]
no_license
shdrvs/shakhandar_davrisheva_Midterm
3320f02e510290b9e19ae72b66e295a080b1806a
8cb8914bdeeff472d5a619b13d8544f403db6303
refs/heads/master
2020-04-07T19:54:19.959226
2018-11-22T08:42:16
2018-11-22T08:42:16
158,667,920
0
0
null
null
null
null
UTF-8
Python
false
false
3,383
py
# -*- coding: utf-8 -*- """Shakhandar_davrisheva_MIDTERM.ipynb Automatically generated by Colaboratory. Original file is located at https://colab.research.google.com/drive/1bOkIhLHHl-FPUwBxOSkB3tDwJe3Rizcy *Hello*, please change the file name as your name_surname_MIDTERM.ipynb and upload to the folder 'DROP MIDT...
[ "noreply@github.com" ]
shdrvs.noreply@github.com
091e4dd55804a4b69079d9b7c1066d23f0b9ada6
5a38fa0ba35d50d526777428d9447f9f5ff60768
/apps/base/auth.py
4e9bbbdd16f4036a323026c45f9385af5d867ff3
[ "MIT" ]
permissive
sachazyto/nbproject
52eae7440a35548317657273a57d5c00e0439b51
d3c8c4f345f858ad22dcf890f6c16ff714e4ff45
refs/heads/master
2020-12-25T12:07:51.132233
2012-11-16T02:07:32
2012-11-16T02:07:32
3,731,961
0
1
null
null
null
null
UTF-8
Python
false
false
9,549
py
""" utils_auth.py - Authentication and per-user rights-check routines License Copyright (c) 2010 Massachusetts Institute of Technology. MIT License (cf. MIT-LICENSE.txt or http://www.opensource.org/licenses/mit-license.php) $ Id: $ """ import models as M import random, string def confirmInvite(id): ...
[ "sachazyto@gmail.com" ]
sachazyto@gmail.com
a91118efeb4df4a6f72f674758bdc107d05cfd6b
983cfdaf18bf550c118488d224396ca2b7833743
/pytest_commander/watcher.py
090aa8b56c579afed3c709609458dee04702add5
[ "MIT" ]
permissive
simplifysupport/pytest_commander
1355de9d5d11df22b7fe22735eb875e7c0a63247
11681fea458de1761e808684f578e183bddc40ef
refs/heads/master
2023-07-10T06:08:39.224184
2021-08-17T21:47:33
2021-08-17T21:47:33
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,560
py
""" Watch for filesystem events in the background. Watchdog is not compatible with the eventlet concurrency model so this needs to run in a separate OS thread or process. """ import logging import multiprocessing import os import time import traceback from typing import Callable from watchdog import events # type: ig...
[ "ryan@tokencard.io" ]
ryan@tokencard.io
575ec372fbe7d56fc532a4a23056fea4cccb7595
dcfef881ca6c3aee094ffe04ad726b5713f96fbb
/TwitterStreamService.py
235c3d015fba76c60a109f081a41779d48308cdc
[]
no_license
hs2873/cloudandbigdata
3d97358bea3b85c78fe1d89987c21c1b712ac156
bcb64807bc65d0569382e4fd5c6db99ab896b70a
refs/heads/master
2023-01-11T19:00:35.702505
2016-03-06T02:43:00
2016-03-06T02:43:00
53,233,960
0
0
null
2022-12-26T20:22:38
2016-03-06T02:36:40
HTML
UTF-8
Python
false
false
890
py
from tweepy.streaming import StreamListener from tweepy import OAuthHandler import json from textwrap import TextWrapper from tweepy import Stream from elasticsearch import Elasticsearch consumer_key="kSCEKl0lVyAWRXpNFRNk8VXpL" consumer_key_secret="zP4DBYsUbwlnTRbtY8wj5cbKCsl7IEXccv74rjZ6I0OPNWQdgM" access_token="260...
[ "hs2873@columbia.edu" ]
hs2873@columbia.edu
b24dc0cbe09ff2870788c59b9f1d920daf67045b
184398a9bf671af7e26c29255c272ee675cfcf90
/revno..py
45aef1ad7821c26b04be1d21d9c3022eb4d4c8b6
[]
no_license
deepika-jaiswal/hands_on_python
09ac6c40302e9b80033786cdb0f3841d47634208
6328176b4ff47722d2f469890e310c9cd2ff130b
refs/heads/master
2020-05-30T11:45:25.510240
2019-06-01T09:37:51
2019-06-01T09:37:51
189,713,185
0
1
null
2019-10-15T12:19:54
2019-06-01T09:14:31
Python
UTF-8
Python
false
false
90
py
n=int(input()) while(n//10!=0): print(n%10,end="") n=n//10 print(n,end="")
[ "noreply@github.com" ]
deepika-jaiswal.noreply@github.com
ea96bed0458952f2892aa0495a072e7623b515ac
0de7538a16f54dfc5d2d6fbf078af1558d30086d
/read_airport_csv.py
c8c9ed64e52c87a7ff444b18d76cac9a4de22132
[]
no_license
feleHaile/20181127EliLilly
c15535a60d66c42998fb5b14e5f3a6f2e13a3fc2
27390c5af4e4bd70e0a3a6e338a26c7963f4f8fe
refs/heads/master
2020-05-15T22:31:38.551113
2018-11-30T02:14:25
2018-11-30T02:14:25
null
0
0
null
null
null
null
UTF-8
Python
false
false
178
py
#!/usr/bin/env python import csv with open("DATA/airport_boardings.csv") as airports_in: rdr = csv.reader(airports_in) for line in rdr: print(line[1], line[3])
[ "jstrickler@gmail.com" ]
jstrickler@gmail.com
69c992b34cb5d5d16eb50889d30d2965b7a49161
2f05b019bda19e27fabdfdcb5a4ddf43fa0e88e6
/tests/test_logMonitor.py
177fc7487098bbbcedd537a7860a7181e7402a74
[]
no_license
Dholness2/http-monitor
1845093c59e139c39fbc3a0d0ab74a49e8f0d08b
9afc00e44c8d1e4b2ea45f841de615396b1e5373
refs/heads/master
2021-06-15T10:50:49.316845
2020-04-24T20:18:35
2020-04-24T20:18:35
184,966,881
0
0
null
2021-04-20T19:53:08
2019-05-05T02:17:03
Python
UTF-8
Python
false
false
636
py
import time from collections import namedtuple from queue import PriorityQueue from unittest.mock import Mock from src.logmonitor import LogMonitor def test_run_appends_rows_to_q_as_log(): Log = namedtuple('Log', 'date logList') reader = [["10.0.0.4", "-", "apache", 1549573860, "GET /api/user HTTP/1.0", 200,...
[ "dholness2@gmail.com" ]
dholness2@gmail.com
c735abfc9abb4a78ccccb4150f9e0570f2a5dd77
e82a5480b960abc154025168a27742149ae74de3
/Leetcode/Trees/Medium/337_house_robber_3.py
63477f1241624124aa42d76be4f5554059b97fb7
[]
no_license
harshsodi/DSA
8e700f0284f5f3c5559a7e385b82e0a6c96d3363
18f82f9b17a287abe3f318118691b62607e61ff9
refs/heads/master
2021-07-07T23:42:50.750471
2020-09-11T03:16:41
2020-09-11T03:16:41
186,679,663
0
0
null
null
null
null
UTF-8
Python
false
false
1,126
py
# Runtime: 68 ms, faster than 15.48% of Python online submissions for House Robber III. # Memory Usage: 19 MB, less than 5.34% of Python online submissions for House Robber III. # Definition for a binary tree node. # class TreeNode(object): # def __init__(self, val=0, left=None, right=None): # self.val = v...
[ "harshsodi@gmail.com" ]
harshsodi@gmail.com
0b42d70bfd7ad2f97b218aa5602996e030c2b7de
32e1987ad11ff1bd8f722a5a80fc52cfe0700427
/classes/marker_class.py
86a56b73d47c23a31cf48c2b59563c094d1eb902
[ "MIT", "BSD-3-Clause" ]
permissive
tum-phoenix/drive_ros_marker_detection
e9ff6e66c2ecf6ba8abf4284d0f0cc4ded5d98da
63ca42b87499d530ab91a0ee812e55faa47ffb14
refs/heads/master
2020-03-30T16:42:09.214916
2018-12-09T10:33:39
2018-12-09T10:33:39
151,422,131
0
0
null
null
null
null
UTF-8
Python
false
false
1,097
py
# -*- coding: utf-8 -*- # mapping: id (as int) to sign description (string) import pickle # all carolo cup signs currently in use marker_name_dict = { 0: '10_speed_limit', 1: '20_speed_limit', 2: '30_speed_limit', 3: '40_speed_limit', 4: '50_speed_limit', 5: '60_speed_li...
[ "mykyta.denysov@gmail.com" ]
mykyta.denysov@gmail.com
6ef31234008ebc69344e8230d1d081f560ab3f6b
ae5f318b1fbbd6170a231f8ec1fef7bf86261f64
/gzip_files.py
48eb09c9913b1f44003983e7490f0d107bf54535
[]
no_license
elijabesu/cron_gzip
42becef3ebf16ed11712ab633d29bef8f0a355d7
21f70eba10189f5e0208c81033bddd77906498e3
refs/heads/master
2022-12-10T06:47:55.022934
2020-09-08T07:18:07
2020-09-08T07:18:07
293,447,062
0
0
null
null
null
null
UTF-8
Python
false
false
577
py
import gzip import os def main(): path = "/var/log" for file in os.listdir(path): if not file.endswith(".log"): continue paths = get_paths(path, file) with open(paths[0], "r") as f: with gzip.open(paths[1], "wt") as fgz: fgz.writelines(f) ...
[ "ellie@saurich.com" ]
ellie@saurich.com
21737601c03b1aabeef438e22c86804b39eaaf09
66cab93c26cc252f412860778131b208c6f120be
/parts/newproject/pyramid/events.py
577f8138a0ad54caab7368f0ebc609f8275ab753
[]
no_license
marcogarzini/Zodiac
3332733f6ae8d64924557ff022f44c835aeac0a9
06e8ad0c709189dc65a26fb7d6c17a9ee2bc9112
refs/heads/master
2016-09-11T03:18:12.805299
2014-01-17T12:50:03
2014-01-17T12:50:03
null
0
0
null
null
null
null
UTF-8
Python
false
false
67
py
/home/user1/newproject/eggs/pyramid-1.4-py2.7.egg/pyramid/events.py
[ "user1@user1-VirtualBox.(none)" ]
user1@user1-VirtualBox.(none)
4ae075cb2f1bf1fd470672c465657dadb8015ffd
0fc3aa32601333baf5b18deeb54505b054900972
/blog_api/tests/test_posts.py
0b72d49e5359ba21c36e55752ac881cb19f8238a
[ "MIT" ]
permissive
DenMaslov/fastapi_blog
b6dd74e40d7e1393ed0f88887b6b50a8ee92c557
4f75e03f8e0bf4946b52f49014d1a15d764f5a32
refs/heads/master
2023-07-18T23:29:51.893740
2021-09-22T08:55:26
2021-09-22T08:55:26
384,967,756
0
0
null
null
null
null
UTF-8
Python
false
false
2,101
py
from fastapi.testclient import TestClient import pytest from main import app client = TestClient(app) @pytest.fixture def valid_data(): valid_d = { "userId": 1, "title": "string", "body": "string" } return valid_d @pytest.fixture def invalid_data(): data = { "userId": "sds...
[ "20denismaslov@gmail.com" ]
20denismaslov@gmail.com
eda641b32b24f0c39682196c6801eb801ca618c0
c231ade3d7ce59527090e345cc80e41e1310dd2c
/python/eit/kernels/c_kernel.py
d7c5c6e72299d244c1bf05e0f36ae79c72dd1f14
[]
no_license
jcockayne/bayesian_eit
2f3ed8b90a9d345db1d38a62b0b5b37ce62e8a85
b64336e5d8a34addc6a963b376a5081e2f16466a
refs/heads/master
2021-03-24T13:52:39.219926
2018-12-18T10:33:46
2018-12-18T10:33:46
91,784,100
0
0
null
null
null
null
UTF-8
Python
false
false
7,226
py
import numpy as np from .. import collocate, simulate from .shared import theta_to_a def construct_posterior(locations, grid, theta, collocate_args, proposal_dot_mat, debug=False): a_int, a_bdy, a_sensor, a_x, a_y = theta_to_a(theta, grid, ...
[ "benorn@gmail.com" ]
benorn@gmail.com
a47c341782889d88d240edf4eb265e4d86767f98
619e29b858647f1bde30f70a0e647840850ce68f
/src/kitchenrock_api/serializers/food_recipe.py
41242bf640d1b5c9650c5f75fad67811cc926846
[]
no_license
thqbop/kitchenrock
121dc33111cd768d0fd5b0041616c5abe57b7de1
b5c5bd25fb05965621615d09439bf79fa1b8d5e8
refs/heads/master
2021-08-08T11:46:51.326225
2017-11-10T08:47:48
2017-11-10T08:47:48
103,954,622
0
0
null
null
null
null
UTF-8
Python
false
false
227
py
from rest_framework import serializers from kitchenrock_api.models.food_recipe import FoodRecipe class FoodRecipeSerializer(serializers.ModelSerializer): class Meta: model = FoodRecipe fields = '__all__'
[ "thqbop@gmail.com" ]
thqbop@gmail.com
86f6b6f0e810c0e76daee88e4a100df12ea034b4
be3bc396b580975970a7f323b91229ed5d4aad1c
/dft_workflow/run_slabs/setup_jobs_from_oh/local_methods.py
fbef2e2b7ae32cb4fa0f8dcf3fc45e1f49c05147
[ "MIT" ]
permissive
raulf2012/PROJ_IrOx_OER
813ee91139b45f47acb980d1ebfacdf87c364996
b79fc490f598a48e405819bd6a788ca6d4af440e
refs/heads/master
2023-06-23T22:48:25.695679
2023-06-09T22:34:41
2023-06-09T22:34:41
269,264,743
2
1
null
null
null
null
UTF-8
Python
false
false
3,738
py
# ######################################################### # Local methods for setup_jobs_from_oh # ######################################################### #| - Import Modules import os import sys import copy from methods import get_df_coord #__| def get_bare_o_from_oh( compenv=None, slab_id=None, ...
[ "raulf2012@gmail.com" ]
raulf2012@gmail.com
79d8adb955b793b268bef50550806f80266e7dc5
c5c4873b721e5f7b3a1bae9d38d578f40a96aaf5
/quantumclient/quantum/v2_0/nvp_qos_queue.py
386b8879e0c31998d1bbfc8a96def88d26df51fd
[ "Apache-2.0" ]
permissive
yacchin1205/python-quantumclient
4bf1bb993d06936a4f006edeb6d402b1631702ba
8ed38707b12ae6e77480ae8d8542712d63b7fc70
refs/heads/master
2020-12-25T08:43:13.265493
2013-07-01T19:42:23
2013-07-01T19:42:23
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,878
py
# vim: tabstop=4 shiftwidth=4 softtabstop=4 # Copyright 2013 Nicira Inc. # All Rights Reserved # # Licensed under the Apache License, Version 2.0 (the "License"); you may # not use this file except in compliance with the License. You may obtain # a copy of the License at # # http://www.apache.org/lice...
[ "arosen@nicira.com" ]
arosen@nicira.com