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
acec79c34ebb77c5e377488c618e678a391cc5e2
905d65ebaf05225fba0911ed24df5ab1875f713f
/demo.py
311b92f554847de7994cfd0594d92482149743a2
[]
no_license
lemonchann/python123
6f302fa4720a76436709f3ef5af8e5ffeafd83f9
76d0ade166cebc016abf5b572c8a265b6483777d
refs/heads/master
2020-03-09T01:39:53.704506
2019-01-19T10:52:08
2019-01-19T10:52:08
128,520,723
0
0
null
null
null
null
UTF-8
Python
false
false
35
py
def fun(): print('it is demo')
[ "llong87@163.com" ]
llong87@163.com
9cf5b65f60eebae66537830916a502043fbbc1cf
a27cde0fa2415f2cb296369dd9bfab65f655164c
/5/5-11.py
43e4de162f8e7246940f7518e5bd2bcb8b928de6
[]
no_license
paalso/hse_python_course
c47ea010ba4173fefbcbb6b97fc3c74a84a9fd12
9e9d2001143afbd873152833dafb9682b5bae824
refs/heads/master
2021-06-25T05:12:37.368806
2020-12-21T09:48:37
2020-12-21T09:48:37
187,812,620
1
0
null
null
null
null
UTF-8
Python
false
false
891
py
# https://www.coursera.org/learn/python-osnovy-programmirovaniya/programming/NY8PQ/diofantovo-uravnieniie-2/submission # Потерянная карточка # Для настольной игры используются карточки с номерами от 1 до N.Одна карточка # потерялась. Найдите ее, зная номера оставшихся карточек. # # Формат ввода / вывода # # ...
[ "40a.pvl@gmail.com" ]
40a.pvl@gmail.com
9703bc9d35531437a484a615653587eca9a9b406
62553a9743257f06dc4a77d57c85aa99bfd51c0f
/FN/nn_tutorial/explanation_tf.py
3e07932c7f5ba130571686a91d88f60905167d10
[ "Apache-2.0" ]
permissive
tetsuoh0103/baby-steps-of-rl-ja
21a855e0f0e38ba48de5c6d13522372fd4de0d24
6e0f44b0906cb28ac883546d3d8a30d21d5895b5
refs/heads/master
2020-11-23T22:42:02.127637
2020-01-03T03:16:46
2020-01-03T03:16:46
227,851,226
0
0
Apache-2.0
2019-12-13T13:55:09
2019-12-13T13:55:08
null
UTF-8
Python
false
false
611
py
import numpy as np import tensorflow as tf # Weight (row=4 x col=2). a = tf.Variable(np.random.rand(4, 2)) # Bias (row=4 x col=1). b = tf.Variable(np.random.rand(4, 1)) # Input(x) (row=2 x col=1). x = tf.compat.v1.placeholder(tf.float64, shape=(2, 1)) # Output(y) (row=4 x col=1). y = tf.matmul(a, x) + b with tf.S...
[ "icoxfog417@yahoo.co.jp" ]
icoxfog417@yahoo.co.jp
b569e56efa217f91e5079dece67125c77351c913
eeadd6793e3e81f2ea0c7c8757201119e5c01711
/src/loftee_utils.py
039691e97ae3852261eac41e3b7779f88efa5d86
[ "Apache-2.0" ]
permissive
LiangMa2017/loftee
09fbad94a62f77d6ee9c65b23b416da1e273f080
8de80a4e3116bc4b73d3dabb456230e2a2851e95
refs/heads/master
2021-06-21T09:10:23.513425
2017-08-15T16:15:38
2017-08-15T16:15:38
null
0
0
null
null
null
null
UTF-8
Python
false
false
7,959
py
__author__ = 'konradjk' from operator import itemgetter import re import sys # Note that this is the current as of v81 with some included for backwards compatibility (VEP <= 75) csq_order = ["transcript_ablation", "splice_acceptor_variant", "splice_donor_variant", "stop_gained", "frameshift_variant", "stop_lost", "sta...
[ "konradjkarczewski@gmail.com" ]
konradjkarczewski@gmail.com
a91bfe7e1f20e9b957296cb8f1a23459f5b562aa
536656cd89e4fa3a92b5dcab28657d60d1d244bd
/build/android/gyp/extract_unwind_tables.py
ea13c6a3e79e3886b9c00b55ffb98fce742d6739
[ "BSD-3-Clause" ]
permissive
ECS-251-W2020/chromium
79caebf50443f297557d9510620bf8d44a68399a
ac814e85cb870a6b569e184c7a60a70ff3cb19f9
refs/heads/master
2022-08-19T17:42:46.887573
2020-03-18T06:08:44
2020-03-18T06:08:44
248,141,336
7
8
BSD-3-Clause
2022-07-06T20:32:48
2020-03-18T04:52:18
null
UTF-8
Python
false
false
10,416
py
#!/usr/bin/env python # Copyright 2018 The Chromium Authors. All rights reserved. # Use of this source code is governed by a BSD-style license that can be # found in the LICENSE file. """Extracts the unwind tables in from breakpad symbol files Runs dump_syms on the given binary file and extracts the CFI data into the...
[ "pcding@ucdavis.edu" ]
pcding@ucdavis.edu
af871096692370c4d417859373e78de50c6f10f6
e58cce0215b6643f7bb7cf2c6e8cfb8efa0a770e
/BlackScholes.py
78e70e5b2d4fe6ef1f57a3005245b1836ff3b4f8
[]
no_license
alejandrobetancourt/BlackScholes
fa88f46c6e1f864e091990e5025de155fac10d7b
5ea126981d3d267cfead119f8cbb804bab4e1107
refs/heads/main
2023-09-03T20:20:45.913160
2021-10-22T00:43:48
2021-10-22T00:43:48
414,782,564
0
0
null
null
null
null
UTF-8
Python
false
false
14,583
py
import numpy as np import matplotlib.pyplot as plt from scipy.stats import norm #We define some functions that we will be using repeatedly #We use the norm package from scipy to import the density and distribution functions of a Gaussian def GeomBrown(S0, mu, vol, T, n=1): '''Gives a lognormal random variable at ...
[ "betan@ciencias.unam.mx" ]
betan@ciencias.unam.mx
96f1f30ba83ef728d6fe64ece1020fa3d2638fdc
517685be3bf8c224c326b23fee37f20ca737dbc1
/app.py
02634c6cd56ca3061306942353979e96494b6011
[]
no_license
DeepTrial/ArxivPaperSearch
f76bf152bafc32c2602abac7ef1117700a4dbe19
3adf38684c97efc21fb08e4407e8ff82a48b448b
refs/heads/master
2020-03-20T01:16:53.195092
2019-05-22T08:41:45
2019-05-22T08:41:45
137,071,230
4
1
null
2019-05-22T08:41:46
2018-06-12T12:52:05
Python
UTF-8
Python
false
false
1,088
py
from Scanner.scanner import search as arxsearch from flask import Flask, redirect, url_for, request, render_template,Response,json from werkzeug.utils import secure_filename from datetime import timedelta # Define a flask app app = Flask(__name__) app.config['DEBUG']=False app.config['SEND_FILE_MAX_AGE_DEFAULT']=tim...
[ "resnick.xing@aol.com" ]
resnick.xing@aol.com
97fbfcb2881b5f3663fae1b99173fae2a50d54bb
085406a6754c33957ca694878db9bbe37f84b970
/Django_02/Django_02/wsgi.py
30b5f8d71d360b56789738de45e22ceadcedb05e
[]
no_license
dewlytg/Python-example
82157958da198ce42014e678dfe507c72ed67ef0
1e179e4037eccd9fefabefd252b060564a2eafce
refs/heads/master
2021-01-01T18:36:08.868861
2019-01-18T10:39:08
2019-01-18T10:39:08
98,375,528
3
0
null
null
null
null
UTF-8
Python
false
false
411
py
""" WSGI config for Django_02 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.0/howto/deployment/wsgi/ """ import os from django.core.wsgi import get_wsgi_application os.environ.setdefaul...
[ "gang.tang@cutt.com" ]
gang.tang@cutt.com
d68c5d52273c100d5cf88c590229d5e956a4b6ba
7de919cf9031d46df68942c13e23c652edb5efe8
/pyspider/processor/project_module.py
47a6e10d0daa5136146b36355954e5243eef8496
[ "Apache-2.0" ]
permissive
cash2one/pyspider_note
5ea12cc26d49cae3bcf8323dbad6c74bb1623e68
c5e590982beceb56d40c7c4fe1b610a99767cadc
refs/heads/master
2021-01-01T17:12:03.783973
2017-02-27T05:43:08
2017-02-27T05:43:08
null
0
0
null
null
null
null
UTF-8
Python
false
false
8,751
py
#!/usr/bin/env python # -*- encoding: utf-8 -*- # vim: set et sw=4 ts=4 sts=4 ff=unix fenc=utf8: # Author: Binux<i@binux.me> # http://binux.me # Created on 2014-02-16 22:24:20 import os import six import sys import imp import time import weakref import logging import inspect import traceback import linecache f...
[ "wax8280@163.com" ]
wax8280@163.com
e23c805d69adf59b52f2661003db0f5bf1754f1c
202357fbe7041ad60ee27b989b4a1a55b242a9b6
/test.py
bd1aef9e0dd6f75de91758258d2978b7fd9dc7ad
[]
no_license
yutingkevinlai/pytorch-generative-model-collections
c5d462fb501e9936c26663c516555aad25096597
b7d7a6427900fa53e9360e35674ebd60e5ece042
refs/heads/master
2021-07-03T10:10:19.863298
2017-09-23T07:30:05
2017-09-23T07:30:05
null
0
0
null
null
null
null
UTF-8
Python
false
false
752
py
import utils, torch, time, os, pickle, cv2 import numpy as np import torch.nn as nn import torch.optim as optim from torch.autograd import Variable from torch.utils.data import DataLoader from torchvision import datasets, transforms transform = transforms.Compose([transforms.ToTensor(),transforms.Normalize((0.5,0.5,0....
[ "kevin83825@gmail.com" ]
kevin83825@gmail.com
f62d32cab57121080472d1c404f2aba1560f7da1
9d3f23529648e43169082186e65838cf6ff103cd
/ItemPage_ReviewLoadMoreTest.py
19d28c0a278229c3e8093f5684815596a6e3b3de
[]
no_license
TripathyElima/AutomationTests
fa920564e58afa50e7ee41f76d2ab963d866b186
2bf33f16d670a5b9a9655c3fdfaca4c607d70b7c
refs/heads/master
2020-03-22T14:56:47.813133
2018-07-09T02:01:05
2018-07-09T02:01:05
140,216,917
0
0
null
null
null
null
UTF-8
Python
false
false
1,226
py
''' Test case verifies that with loading more review page rendering doesn't break Test Case runs fine and verified ''' from selenium import webdriver from selenium.common.exceptions import NoSuchElementException from selenium.webdriver.common.keys import Keys PRODUCT_CODE = '6000195521502' WALMART_URL = 'https://www....
[ "etripathy@kobo.com" ]
etripathy@kobo.com
515ec4e7f1567a0c9deee0a837eb0859fd622ebc
4c32103014a7893a59b15210aab7d76422c542b1
/generank/api/models/news_feed.py
c1f82436adac02478a68ebf7c11b7c4efb451645
[ "MIT" ]
permissive
shuchenliu/mygenerank-api
cfd49e3d4786de7cd97da9848b50f3f894929b55
3c36cb733816c9aa305f02773487f35e194b6566
refs/heads/master
2020-03-25T12:14:04.248263
2018-08-08T23:44:46
2018-08-08T23:44:46
143,765,629
0
0
null
2018-08-06T18:12:20
2018-08-06T18:12:19
null
UTF-8
Python
false
false
806
py
import uuid from django.conf import settings from django.db import models from django.utils import timezone class Item(models.Model): """ An model that represents an item in the global news feed. These models will have various extensions added to them with additional data depending on their source. "...
[ "brian@brianschrader.com" ]
brian@brianschrader.com
4a6549833c01ad90da9274daf545ea78c32d5a65
ee73c654b1a65fe365fb3aaa9fc47b63012bd78b
/TensorFlowTutorials/tensorflow/bin/saved_model_cli
682532ba559cfee7c3491ae73c9c09315d5d155d
[]
no_license
mpereira30/PiNets
3695210aebe2c13f1de68bd808a6c2aec3c3b028
a8d885ab910c3c91f763de44c0b2e5a25408dd9c
refs/heads/master
2021-01-16T18:34:27.504721
2017-08-12T05:13:50
2017-08-12T05:13:50
100,092,783
0
0
null
null
null
null
UTF-8
Python
false
false
305
#!/home/marcus/Desktop/Research/PiNets/TensorFlowTutorials/tensorflow/bin/python2 # -*- coding: utf-8 -*- import re import sys from tensorflow.python.tools.saved_model_cli import main if __name__ == '__main__': sys.argv[0] = re.sub(r'(-script\.pyw?|\.exe)?$', '', sys.argv[0]) sys.exit(main())
[ "markper4190@gmail.com" ]
markper4190@gmail.com
b1bd525ac8b1c32076ede25f874aa48f13209f3b
521cd8a07e6cf824d0b22cb63c40424108c4559e
/intro.py
3b6be8dc34ab4977a5bad5f17a5e8fc30514a8ce
[]
no_license
pathardepavan/mypythoncode
50c8db78274bb679355c4d1501a9b6968da9edac
dca561064a9affd01e305bddb140a9a027a6e3ad
refs/heads/master
2021-08-23T01:38:12.369872
2017-12-02T06:30:13
2017-12-02T06:30:13
112,818,560
1
1
null
null
null
null
UTF-8
Python
false
false
32
py
balance = 10000 print(balance)
[ "ppatharde@vmware.com" ]
ppatharde@vmware.com
d66fdc22c353025dc9e44e879eaae86f2b4a39de
1279b9c94f3f993e97656eca9bbd3da160e48170
/sms_sender/sms_panel/urls.py
eded3dd710c22970dcc32f3cd636924078380ce3
[]
no_license
mohamadhosseintahan/sms-sender
6c12d8f6170b1fc05b21b10b1ff4139f02873b72
0d91e0ebf8b58e996871e538196321a9f6f9c5a4
refs/heads/main
2023-02-19T07:31:50.649208
2021-01-21T15:16:46
2021-01-21T15:16:46
330,768,019
2
0
null
null
null
null
UTF-8
Python
false
false
111
py
from django.urls import path from .views import tester urlpatterns = [ path('',tester , name = 'tester') ]
[ "mohamadhosseintahan@yahoo.com" ]
mohamadhosseintahan@yahoo.com
07a96c972f722c090d0379879a87e26635e8403c
5537eec7f43098d216d2b550678c8d10b2a26f09
/venv/tower/lib/python2.7/site-packages/azure/mgmt/compute/models/os_disk_image.py
465c5d3ec4e5434147ab908f71e2b2aba896e679
[]
no_license
wipro-sdx/Automation
f0ae1512b8d9d491d7bacec94c8906d06d696407
a8c46217d0fbe51a71597b5db87cbe98ed19297a
refs/heads/master
2021-07-08T11:09:05.314435
2018-05-02T07:18:54
2018-05-02T07:18:54
131,812,982
0
1
null
2020-07-23T23:22:33
2018-05-02T07:15:28
Python
UTF-8
Python
false
false
1,154
py
# coding=utf-8 # -------------------------------------------------------------------------- # Copyright (c) Microsoft Corporation. All rights reserved. # Licensed under the MIT License. See License.txt in the project root for # license information. # # Code generated by Microsoft (R) AutoRest Code Generator. # C...
[ "admin@example.com" ]
admin@example.com
40506802f1d81f962ae288ee2d21490180aad61c
9fe65faced0555d02114f1f54fc008c7e1da21a4
/simulation/fp_boot_hypo.py
6a07d7ef132bcc2559e39340bde539c51a711ecc
[]
no_license
yuan9/Boostrap-TVLA
97baa115dd82d3b49b7c145edbaa23cdf8e06e86
ef40ac2551bc0a2effc6b097997b2bb15f64178a
refs/heads/master
2023-03-16T04:49:16.074787
2020-04-16T07:05:03
2020-04-16T07:05:03
215,585,612
0
0
null
null
null
null
UTF-8
Python
false
false
5,857
py
import numpy as np from scipy.stats import distributions import matplotlib.pyplot as plt import matplotlib.ticker as tkr from scipy import stats from scipy.stats import chi2 import random import array import os import time import sys import decimal target_snr_db = 1 _snr = target_snr_db trace_num = 1000...
[ "yuan9@vt.edu" ]
yuan9@vt.edu
3714f102b76eac934d7ddcbf0d858391d590e0ff
6b61b43fe5c57d32ee053be3c1e0304b6a414dbd
/glo.py
67cb7c4af0fb463c430c90cbaee11c140dc0ba03
[ "BSD-3-Clause" ]
permissive
kassellevi1/DeepProject
4d1392087c37e5013ea1b245c7ab7d9d6396f88a
69cc166d471b1e1812ddeae2c921745c884f1029
refs/heads/master
2022-12-11T22:40:05.769071
2020-03-12T16:18:13
2020-03-12T16:18:13
234,952,499
1
0
BSD-3-Clause
2022-12-08T05:26:52
2020-01-19T19:21:39
Python
UTF-8
Python
false
false
5,580
py
from __future__ import absolute_import from __future__ import division from __future__ import print_function from __future__ import unicode_literals import sys import shutil import os import numpy as np import torch import torch.nn as nn import torch.nn.parallel import torch.optim as optim import torch.utils.data impor...
[ "" ]
c7e9613d1af0ec7359dc8a175bbd99059b05c66b
88f0a255d2181143c82033afe4a0c8fdfa3faac6
/conditional statements/calculator.py
4bcca9858edfee9d6b8b84437c8b0f73fd52184a
[]
no_license
iomkarsurve/basicpython
01c023c739cc32916de1b47b1461a1530c213f81
e5dcbc785303120aa0e11a9fa71306b22e8b7312
refs/heads/master
2020-06-16T00:05:45.436607
2019-07-06T13:39:14
2019-07-06T13:39:14
195,428,137
0
0
null
null
null
null
UTF-8
Python
false
false
309
py
num1 = int(input("Enter the first number")) num2 = int(input("Enter the second number")) op = input("Enter operator") if(op=="+"): print(num1+num2) elif(op=="-"): print(num1-num2) elif(op=="*"): print(num1*num2) elif(op=="/"): print(num1/num2) else: print("invalid operator")
[ "noreply@github.com" ]
iomkarsurve.noreply@github.com
75adbf34ca5974ba02ba2fee9a3b4c0e7f750464
5d7eeb62a836519e25296220ad3e12eb520936cb
/day5.py
2aa808819f3f0d7dcfe88d4349f21554855a37f5
[]
no_license
jacksonal/adventofcode.2020
b2ed43d8b083a3d806f68db8da5a8cebb750332c
73e6e067294039643485481d85f1e0272b02a4a0
refs/heads/master
2023-02-01T00:11:55.713485
2020-12-15T14:01:54
2020-12-15T14:01:54
317,551,301
0
0
null
null
null
null
UTF-8
Python
false
false
664
py
from util import getLinesFromFile def binaryTraverse(instruction, segment): if len(instruction) == 0: return segment[0] nextInstruction = instruction[1:] if instruction[0] == 'F' or instruction[0] == 'L': return binaryTraverse(nextInstruction, segment[:len(segment)//2]) else: r...
[ "alex.lee.jackson@gmail.com" ]
alex.lee.jackson@gmail.com
4ee09073c1397674c79ea83ada31f69acb132fe6
57827069af3409722e640ca0278a6a9f2be2e15b
/python/older_versions/v1.7.py
f6ea8fc1a48d257f05d5146eb029300e8ca6805f
[]
no_license
aSempruch/React-ZedderWebInterface
f163698acee70bab1157aa21d26fb882d4617440
7d117e1c9d54f3987adc4cb2e6996ff039f16f8e
refs/heads/master
2021-09-15T12:35:17.185156
2018-06-01T12:46:46
2018-06-01T12:46:46
135,421,130
0
0
null
null
null
null
UTF-8
Python
false
false
6,436
py
import random import time import sys import datetime import sys skip_delay = 0 if 1 < len(sys.argv): if sys.argv[1] == '-nd': skip_delay = 1 if skip_delay == 0: if random.randint(1,10) == 1: print "Random Chance Exit at : " + str(datetime.datetime.now().time())[:8] sys.exit(0) def time_in_range(start, end, ...
[ "alan.sempruch.rhs@gmail.com" ]
alan.sempruch.rhs@gmail.com
22faa88b4a9057ee307392033ca80bfec97779d6
3ef9ebb26d1d86f224c6bda5bb9a2b3451e1c03c
/authentia/api/serializers/user_documents.py
e775e09f65d61769bc35f03794bdc060fee7cbf0
[]
no_license
authentia/authentia-api
7742e01dda609f6e534702fb7eb370bff1f98e3b
bc43ccbdbdb89a823c8ceb5b8cd68f7c49f59e5b
refs/heads/master
2022-12-10T05:01:42.921793
2018-04-30T21:19:38
2018-04-30T21:19:38
131,390,647
0
0
null
2022-12-08T02:04:03
2018-04-28T08:35:53
JavaScript
UTF-8
Python
false
false
399
py
from rest_framework import serializers from users.models import UserDocument class UserDocumentSerializer(serializers.ModelSerializer): class Meta: model = UserDocument fields = '__all__' def create(self, validated_data): user = self.context.get('request').user document = Us...
[ "svmalvaez@gmail.com" ]
svmalvaez@gmail.com
7e965c6befe89808f85b17231ef92a35388e8769
95470352af10ea2ecf7f254d29af39ce6f5cb1ab
/combine.py
14ece9e207b87556a2f810045b7404d5874bfe3a
[]
no_license
kennethtxytqw/Wharf-Experiments
e4e13e266fac79b58104e5eeb4342f184e67e3e3
e042825a07c73a6574dec0e118c79f9ca60cf5d2
refs/heads/master
2021-06-21T20:26:10.221164
2019-03-05T07:28:54
2019-03-05T07:28:54
170,141,170
0
0
null
2021-02-02T21:54:49
2019-02-11T14:19:35
Jupyter Notebook
UTF-8
Python
false
false
6,332
py
#!/usr/bin/env python3 import glob import pandas as pd import numpy as np from tqdm import tqdm from fastdtw import dtw import re import sys import os FILENAME_REGEX = r"WHARF Data Set/Data/.+/Accelerometer-(?P<year>\d{4})-(?P<month>\d{2})-(?P<day>\d{2})-(?P<HH>\d{2})-(?P<MM>\d{2})-(?P<SS>\d{2})-(?P<activity>[^-]+)-(...
[ "kennethtxytqw@gmail.com" ]
kennethtxytqw@gmail.com
999664ee9f32896f3b0d3260623259b784d7764a
15f321878face2af9317363c5f6de1e5ddd9b749
/solutions_python/Problem_117/1065.py
7fe863e98eee741f39826ab2ec8ae886728b8035
[]
no_license
dr-dos-ok/Code_Jam_Webscraper
c06fd59870842664cd79c41eb460a09553e1c80a
26a35bf114a3aa30fc4c677ef069d95f41665cc0
refs/heads/master
2020-04-06T08:17:40.938460
2018-10-14T10:12:47
2018-10-14T10:12:47
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,541
py
inputFile = open("B-large.in") line = inputFile.readline()[:-1] number = int(line) def validCut(mow, lawn): for i in range(len(lawn)): theseCuts = [] for cutLength in lawn[i]: if cutLength not in theseCuts: theseCuts.append(cutLength) theseCuts.sort() fo...
[ "miliar1732@gmail.com" ]
miliar1732@gmail.com
2cb2a4f90ff833b760a7ea7cbf7ab0deaa497b81
c33eac0f8e74a162be63b9b940b4251d2a9b7408
/celeba_generate.py
4dced9164873aef5580e0623d51be885f25f0ea3
[]
no_license
davefiorino/InfoGAN-PyTorch
f45bb7fe3fdb6de8215d894cbd8464ecc83bc692
12add3c5d598d91625860003b7e0917fa91c0827
refs/heads/master
2023-03-14T23:35:02.446914
2021-03-19T17:39:50
2021-03-19T17:39:50
262,097,537
0
0
null
2020-05-07T16:07:45
2020-05-07T16:07:44
null
UTF-8
Python
false
false
1,870
py
import argparse import torch import torchvision.utils as vutils import numpy as np import matplotlib.pyplot as plt from models.celeba_model import Generator from config import params from os import makedirs, path parser = argparse.ArgumentParser() parser.add_argument('-load_path', required=True, help='Checkpoint to lo...
[ "davidefiorino@MacBook-Pro-di-Davide.local" ]
davidefiorino@MacBook-Pro-di-Davide.local
949d8f4e86259f5bd011ce3bea383b82aac5c388
35f4fae4041f85afccb4c92fe5fd87712ceec6c1
/test.py
93a893292f54c1c4eb7379fb1c853ffb7f350dc7
[]
no_license
plsang/depnet.pytorch
585c58f01973d6fb3fe43e11f24756ac514d36f7
c48dbcaa4b3355e7f50192ff68400098127d2513
refs/heads/master
2020-03-09T16:50:13.679835
2017-09-20T10:57:58
2017-09-20T10:57:58
128,895,236
0
0
null
null
null
null
UTF-8
Python
false
false
3,205
py
import argparse import torch import torch.nn as nn import numpy as np import os import sys import time import math import json from datetime import datetime from model import DepNet from dataloader import get_data_loader from utils import test import logging logger = logging.getLogger(__name__) def main(opt): l...
[ "plsang@nii.ac.jp" ]
plsang@nii.ac.jp
8550417b7422369930a90a9291698978faa2d2eb
d1d633abb313c235b4c178ccf2939537bd4232b0
/team_app/tests/test_team.py
92afcfe0235389acab16d1b0b7799c2fa986da3a
[ "MIT" ]
permissive
dcopm999/initpy
ee82229bf5ac311d83297d484012a7048c015a02
26aa6bda25947f67ab842d298ce2f121b89616bf
refs/heads/master
2022-12-01T23:45:35.446225
2022-06-09T04:58:26
2022-06-09T04:58:26
195,928,228
0
1
MIT
2019-07-15T04:13:26
2019-07-09T03:47:10
JavaScript
UTF-8
Python
false
false
1,710
py
from django.contrib.auth.models import User from django.test import TestCase from team_app import models # Create your tests here. class TeamTestCase(TestCase): fixtures = ['auth.json', 'team.json'] def test_team_str(self): team = models.TeamModel.objects.get(id=1) self.assertEqual(team.__st...
[ "dcopm999@gmail.com" ]
dcopm999@gmail.com
341333740509c486def6c606e86184f76da82b95
b3b066a566618f49ae83c81e963543a9b956a00a
/Unsupervised Learning in Python/03_Decorrelating your data and dimension reduction/01_Correlated data in nature.py
47f750e21c91db0e713455c2d355c1df22d6f1fb
[]
no_license
ahmed-gharib89/DataCamp_Data_Scientist_with_Python_2020
666c4129c3f0b5d759b511529a365dfd36c12f1a
f3d20b788c8ef766e7c86c817e6c2ef7b69520b8
refs/heads/master
2022-12-22T21:09:13.955273
2020-09-30T01:16:05
2020-09-30T01:16:05
289,991,534
2
0
null
2020-08-24T17:15:43
2020-08-24T17:15:42
null
UTF-8
Python
false
false
1,366
py
''' Correlated data in nature You are given an array grains giving the width and length of samples of grain. You suspect that width and length will be correlated. To confirm this, make a scatter plot of width vs length and measure their Pearson correlation. INSTRUCTIONS 100XP Import: matplotlib.pyplot as plt. pearson...
[ "Your-Email" ]
Your-Email
81b4b87bad12384a7baf4cb6c743426e8c881ed7
08e039046e2b3c526b5fd2169e02d5c5bbe253c5
/0x03-python-data_structures/5-no_c.py
0e51fd28731f21eb9788cffa39f09fc7c0575fa4
[]
no_license
VinneyJ/alx-higher_level_programming
22a976a22583334aff1f0c4120fb81117905e35b
0ea8719ec5f28c76faf06bb5e67c14abb71fa3d0
refs/heads/main
2023-07-31T15:44:30.390103
2021-10-01T21:27:31
2021-10-01T21:27:31
361,816,988
0
0
null
null
null
null
UTF-8
Python
false
false
212
py
#!/usr/bin/python3 def no_c(my_string): letter = "" for x in range(0, len(my_string)): if my_string[x] != 'C' and my_string[x] != 'c': letter = letter + my_string[x] return letter
[ "vincentjayden49@gmail.com" ]
vincentjayden49@gmail.com
6a0267787149c68f656669cea31c2d05131e5910
db80b81829c5838a8fbdf8b0ff6890508b5c3761
/subarray-product-less-than-k.py
35b874db9e51e74f7ca161ab766b02bca201ba64
[]
no_license
liooil/leetcode
12ed76449e7c91e51045012a3be8b7e7faeefd9e
8173a78a2ea1769ed4a718df3ab716d51dc2ec46
refs/heads/master
2020-04-22T03:26:33.301769
2019-09-26T09:01:07
2019-09-26T09:01:07
170,086,871
1
0
null
null
null
null
UTF-8
Python
false
false
424
py
class Solution: def numSubarrayProductLessThanK(self, nums: 'List[int]', k: 'int') -> 'int': s = 1 left = 0 ans = 0 for right, n in enumerate(nums): s *= n while s >= k: if left == len(nums): break s /= nums[...
[ "xitliu@amd.com" ]
xitliu@amd.com
8f547fe88e5062d34b9703c96f93278eafd45b36
f39d2fd89fc5d91266f3e67145158077da499f14
/Workshop7_CP1404/guitar.py
c18d356776043257ef2726889a6f143dd411644b
[]
no_license
dirajrk/PythonWorkshops
2ef07cfd5078695d7873657f20b9505d3422ece2
20504bf3d6b19bad3e2f8e8da5b21d68c1aabf65
refs/heads/master
2021-06-01T01:16:17.520862
2016-05-24T04:17:49
2016-05-24T04:17:49
null
0
0
null
null
null
null
UTF-8
Python
false
false
442
py
class Guitar: def __init__(self, name="", year=0, cost=0): self.name = name self.year = year self.cost = cost def __str__(self): return "{} ({}) : ${:.2f}".format(self.name, self.year, float(self.cost)) def get_age(self): age = 2016 - self.year return age ...
[ "dirajravikumar@my.jcu.edu.au" ]
dirajravikumar@my.jcu.edu.au
bd7c0ea00c7e320489970317d4b2b18ad917c2f4
fdf2fbf182d332562d580ef7f5a727f72ccef995
/1.4.7/masks.py
04a982b5d809f93d19935dbc8624061797b6ae84
[]
no_license
ConnorPark/csp_python_2018-2019
3099cd234ee1908e04f58ef2195be2f3e353ffa2
a411f525a4a5952fa49cef9b5dc494b5e8236210
refs/heads/master
2020-05-29T10:36:38.145908
2019-05-28T20:30:09
2019-05-28T20:30:09
189,097,628
0
0
null
null
null
null
UTF-8
Python
false
false
1,166
py
from __future__ import print_function import matplotlib matplotlib.use('Agg') import matplotlib.pyplot as plt import os.path import numpy as np import PIL import PIL.ImageDraw def make_mask(rows, columns, stripe_width): '''An example mask generator Makes slanted stripes of width stripe_width image r...
[ "connoriscomming@gmail.com" ]
connoriscomming@gmail.com
c83b9b05ea3394c8d408353555f98b20d69ba9e7
6a1390ec579dc16ef20255517a2fe566c0e514d5
/try_conv3d.py
551a298994cdbc8366961880b2c6a9abc931fe74
[ "BSD-3-Clause" ]
permissive
imandr/cconv
71f6b24502ba9249de08ed9618951d8363bf8b43
45e1e404b11070fd823bf5345875f447d9574c2f
refs/heads/master
2021-08-01T07:59:42.878692
2021-07-27T22:49:02
2021-07-27T22:49:02
186,833,374
0
0
null
null
null
null
UTF-8
Python
false
false
1,026
py
import numpy as np from cconv import convolve_3d def convolve_xw(inp, w, mode): # inp: (nb, nx, ny, nc_in) # w: (nx, ny, nc_in, nc_out) # returns (nb, x, y, nc_out) mode = 0 if mode == 'valid' else 1 inp = inp.transpose((0,4,1,2,3)) # -> [mb, ic, x, y, z] w = w.transpose((4,3,0,1,2...
[ "igorvm@gmail.com" ]
igorvm@gmail.com
83b3deb8174bba8ac39e20780fc4b825ec21f97b
90c546a1f799cd7b118e4e16851dd4efa77991fe
/server/server.py
1ff94148b15f5af83f96f2b341c4f839e8361d3d
[]
no_license
rtmrtmrtmrtm/fug
ebc734cd2a60b1614ba4e7ca5286c5dc8de94629
7625f661e8b47835342a3200f499fa01fb69171b
refs/heads/master
2021-08-14T19:57:00.898717
2017-11-16T16:07:02
2017-11-16T16:07:02
107,767,843
0
0
null
null
null
null
UTF-8
Python
false
false
2,577
py
import socket import threading import time import struct import json class Server: def __init__(self): self.db = { } s = socket.socket(socket.AF_INET, socket.SOCK_STREAM) s.setsockopt(socket.SOL_SOCKET, socket.SO_REUSEADDR, 1) s.bind(("0.0.0.0", 10223)) s.listen(100) ...
[ "rtm@csail.mit.edu" ]
rtm@csail.mit.edu
a378ca25ff41ae997cff492bb1e2b971b1f461bd
58de6fcc92384be5042f2e829abd3d39b7e5f92c
/tests/test_01_config.py
2d03f65ddf4354c4ce89e6f72c87cb1042c03539
[ "Apache-2.0" ]
permissive
solcaj/python-icat
4a186396602bfae6f6794121a0fc6f4042b5487d
6e6d63e5ddf52880b8ef482704459831a9a967d7
refs/heads/master
2021-01-22T13:51:46.607811
2016-07-22T15:02:37
2016-07-22T15:02:37
null
0
0
null
null
null
null
UTF-8
Python
false
false
26,731
py
"""Test module icat.config """ import os.path import getpass import pytest import icat.config import icat.exception # ============================= helper ============================= # Deliberately not using the 'tmpdir' fixture provided by pytest, # because it seem to use a predictable directory name in /tmp wic...
[ "rolf.krahl@helmholtz-berlin.de" ]
rolf.krahl@helmholtz-berlin.de
547c1858171199a41905fdf7d59f35e3f69512d1
41336c9b9df4eac682a4780f5393c68440813d1c
/backend/app/app/backend_pre_start.py
a75b80cb548d1ebcc966541214e901dc73550046
[]
no_license
SirNicolas/billing
c1286612b487151c4f9a31e780ab41698732dbcf
f576fe5ceae935de1c854810a361169ae38a81e7
refs/heads/master
2023-03-05T17:16:30.534514
2021-02-19T22:09:11
2021-02-19T22:09:11
340,500,796
0
0
null
null
null
null
UTF-8
Python
false
false
814
py
import logging from tenacity import after_log, before_log, retry, stop_after_attempt, wait_fixed from app.db.session import SessionLocal logging.basicConfig(level=logging.INFO) logger = logging.getLogger(__name__) max_tries = 60 * 5 # 5 minutes wait_seconds = 1 @retry( stop=stop_after_attempt(max_tries), ...
[ "nkurochkin@consultant.ffn.com" ]
nkurochkin@consultant.ffn.com
aa8ec54addf353cb8769a32c41380ff4fca437bc
bf0f49e97776e4a31eb291ba20f72e983d4a642e
/2020/2020W20/PreppindataW20.py
2c4670df52d2f9fa1d192c3008e6825ad0ebde7c
[]
no_license
ArseneXie/Preppindata
589ae38b02d8aa3cafee2008c415604de6761e5c
287915d82ee79d85c17d742a004e3508bd9f2a3b
refs/heads/master
2023-06-09T18:29:30.934360
2023-06-01T03:28:40
2023-06-01T03:28:40
189,980,128
1
0
null
null
null
null
UTF-8
Python
false
false
400
py
import pandas as pd xlsx = pd.ExcelFile("E:/2020W20 Input.xlsx") decoder = pd.read_excel(xlsx,'Cipher').set_index('Cipher').T.to_dict('records')[0] #encoder = pd.read_excel(xlsx,'Cipher').set_index('Alphabet').T.to_dict('records')[0] cipher_text = pd.read_excel(xlsx,'Encrypted Message')['Encrypted Message'][0] plain_...
[ "ArseneXie@users.noreply.github.com" ]
ArseneXie@users.noreply.github.com
8671b282d1ffb42ccd2456b8ed270d28e1bf4610
8534971d6c697e9260a2e75bdfd4ad141f227792
/test/functionalities/plugins/python_os_plugin/TestPythonOSPlugin.py
48a82e6dc0c164905d70ceca731d06f0163d76c0
[ "NCSA" ]
permissive
prograholic/lldb
d3fba5c87658d0cf13d61d5c982ebfd9469429ef
7ca3404d7dafe254b61d82ba2f84a82df755e82d
refs/heads/master
2021-01-18T12:29:14.675896
2015-03-21T11:11:07
2015-03-21T11:11:07
null
0
0
null
null
null
null
UTF-8
Python
false
false
4,800
py
""" Test that the Python operating system plugin works correctly """ import os, time import re import unittest2 import lldb from lldbtest import * import lldbutil class PluginPythonOSPlugin(TestBase): mydir = TestBase.compute_mydir(__file__) @unittest2.skipUnless(sys.platform.startswith("darwin"), "requires...
[ "gclayton@apple.com" ]
gclayton@apple.com
84f74a10e97e580da732bba4740702085ad04cb3
31101dbce90b0c5d2074be6706f0539495a2649f
/app/checker/mono.py
cbeb25c4accd2c51cb735a415572cf023999ec45
[]
no_license
Quadprox/zen-checkers-king
43d17d076b5297896c7b84ab34cf504c6ac19d6a
4a1f09550eafb0d64da6b359a8b15999ea8e9f84
refs/heads/version-1.0.0
2020-05-30T16:50:55.518449
2019-06-23T18:03:13
2019-06-23T18:03:13
186,455,331
0
0
null
null
null
null
UTF-8
Python
false
false
3,433
py
from app.board import convert from app.checker import surface, behavior from tools import console class Checker: ID = 0 @classmethod def __update_id(cls): cls.ID += 1 def __init__(self, init_position: list, init_color: str, init_type_queen: bool = False): # Public attributes: ...
[ "41553031+Quadprox@users.noreply.github.com" ]
41553031+Quadprox@users.noreply.github.com
b61d8f5f603b8aac3ea37cff0056028ea1510bf1
c70580862f346dc0ae8a45b6dd201cbb03e717f2
/Project/Handlers/user_handler.py
d69c4356eed60105e4e83569f7d7d47e4471726b
[]
no_license
zhoudiqiu/syllubusCalendar
d3c5d8ca03d045f3fac692f0be981fb1b0b2679a
eeb76c16e60f252d86fa5891a813a9765478de29
refs/heads/master
2021-01-11T22:04:04.540548
2017-01-14T03:32:10
2017-01-14T03:32:10
78,908,876
0
0
null
null
null
null
UTF-8
Python
false
false
5,354
py
import tornado import json from tornado import gen from .User import * from .base_handler import * import time import re from .config import * import hashlib from .helper import * from boto.dynamodb2.table import Table class UserHandler(BaseHandler): @property def user_table(self): r...
[ "zhoudiqiu@zhoudiqius-MacBook-Pro.local" ]
zhoudiqiu@zhoudiqius-MacBook-Pro.local
213701be0bd38c30d0f30b16769058ee1f038a80
18ab6ee2b8864949375bc13d69b299a771b265c8
/departments/urls.py
3e94bf2c68b0cb6b43dfff16bbd46215ab583a51
[]
no_license
bala833/college
f8e7bd7c92adcb7e4783fe568615bc3a13f72cfa
c1d8a3b6efa62e6a572620b841b9d0b3919cac8b
refs/heads/master
2023-03-29T08:04:45.512110
2021-04-01T14:31:22
2021-04-01T14:31:22
289,534,953
0
0
null
null
null
null
UTF-8
Python
false
false
710
py
from django.urls import path from . import views from django.conf.urls import include, url from django.contrib.staticfiles.urls import staticfiles_urlpatterns from django.conf.urls.static import static # from django.conf.urls.defaults import * from django.conf import settings # app_name = 'departments' urlpatterns = [...
[ "balaprajapati02@gmail.com" ]
balaprajapati02@gmail.com
f268dd933cd218e12a64595b1355f3d0575fd7f4
c9ddbdb5678ba6e1c5c7e64adf2802ca16df778c
/cases/pa2/sample/stmt_if-5.py
d295903a8ceb0fbaadc06acb64c9b79824817385
[]
no_license
Virtlink/ccbench-chocopy
c3f7f6af6349aff6503196f727ef89f210a1eac8
c7efae43bf32696ee2b2ee781bdfe4f7730dec3f
refs/heads/main
2023-04-07T15:07:12.464038
2022-02-03T15:42:39
2022-02-03T15:42:39
451,969,776
0
0
null
null
null
null
UTF-8
Python
false
false
76
py
if $Literal: pass elif True: if 1 == 1: pass else: pass
[ "647530+Virtlink@users.noreply.github.com" ]
647530+Virtlink@users.noreply.github.com
898e65343fa8be03c32018d2c21f1de9e9a91ee5
005e918a0696bc4803e5dbe2388a155180379386
/000 tasks from programming/Ruslan/001/A+B.py
d3fc30aea2c1e1e49986eb1025ebd405253a5516
[]
no_license
zver1zver2/z261177z
25d4a50e43684c41ee0583aea0220ae22ac0a11e
652d4ec0a2860fae5b375b670cf189155f8dab8b
refs/heads/master
2020-04-17T10:03:20.151176
2016-10-18T11:18:49
2016-10-18T11:18:49
67,540,258
0
0
null
null
null
null
UTF-8
Python
false
false
813
py
"""Задача №1 A+B (Время: 1 сек. Память: 16 Мб Сложность: 2%) Требуется сложить два целых числа А и В. Входные данные В единственной строке входного файла INPUT.TXT записано два натуральных числа через пробел, не превышающих 109. Выходные данные В единственную строку выходного файла OUTPUT.TXT нужно вывести одно цел...
[ "makievrus@gmail.com" ]
makievrus@gmail.com
627ae56760e71316805777959fe89f5f75dfad38
b888463595492442d6636416a6c4a0e23d090d93
/yahoo-answers/yahoourlextractor/YahooUrlSearcher/settings.py
d5d7349863ca90edf48c55e27d1b1d5a8b7d242e
[ "MIT" ]
permissive
pantherale0/qa-scrapers
cfe6d8f3547533e31f667e6f5122ab64cac49fe6
ac162d4c826fd3be653c29aaf0dc628f7d4861ca
refs/heads/master
2023-06-07T12:24:49.963135
2021-04-07T20:47:11
2021-04-07T20:47:11
null
0
0
null
null
null
null
UTF-8
Python
false
false
3,103
py
# -*- coding: utf-8 -*- # Scrapy settings for YahooUrlSearcher project # # For simplicity, this file contains only settings considered important or # commonly used. You can find more settings consulting the documentation: # # http://doc.scrapy.org/en/latest/topics/settings.html # http://scrapy.readthedocs.org/...
[ "calefato.uniba@gmail.com" ]
calefato.uniba@gmail.com
1815c42832ef4a39ff6f300503a7313e3b5fcaa0
5486041fd82951f648dc4384b29803fb0c55dd07
/api_4/common/get_data.py
fad8d2b98a9dc8624c46260abd5e523e651cc948
[]
no_license
pyumao/python_test
cacb94186b0c28a37548d469548497f764fa7df1
c4504df89d2785e4599d8e336008da682ee1f294
refs/heads/master
2022-12-10T14:47:59.551475
2019-04-24T11:59:16
2019-04-24T11:59:16
183,187,091
0
0
null
null
null
null
UTF-8
Python
false
false
1,169
py
# -*- codiing: utf-8 -*- # @time : 2019/4/19 0019 下午 7:48 # @Author : yu # @Email : # @File : get_data.py class GetData: '''可以动态的获取 更改 删除类的属性值''' cookies=None loan_id=None if __name__ == '__main__': # #类属性 # print(GetData.cookies) # print(GetData().cookies) # # #类的反...
[ "798882031@qq.com" ]
798882031@qq.com
fcf55a4fddc13ca572e10aa7e84b4eff65180432
30a3fb90601e0e4a91e9792bce7ac668f3163c11
/tf_files/aws/modules/common-logging/testLambda.py
821b77886696a27818af37a825ea2bf4063d78e8
[ "Apache-2.0" ]
permissive
uc-cdis/cloud-automation
dbea462b2cb80db52fd6ebeb4a4ccc3c4a7a560c
607ef49e304358732f018c0c2c3c5ef8bdef2647
refs/heads/master
2023-09-01T15:54:29.625525
2023-08-31T15:38:47
2023-08-31T15:38:47
74,061,703
44
76
Apache-2.0
2023-09-14T19:17:56
2016-11-17T19:48:51
Shell
UTF-8
Python
false
false
5,758
py
#!/usr/bin/env python3 import pytest import lambda_function example = {'Records': [{'kinesis': {'kinesisSchemaVersion': '1.0', 'partitionKey': '81a6fb0168975347bb8d9ed7cd945367', 'sequenceNumber': '49582863307409319741090962153614735877224301205609512962', 'data': 'H4sIAAAAAAAAAMWQS2vDMBCE/4rQKYEI9JZl6CG0aU5pocmthCDba...
[ "fauzigo@gmail.com" ]
fauzigo@gmail.com
ccd7c4f396eb5237713d32115a7392f6aad5ee27
c29779aa67e9d08155fc6100dd423fedd2161410
/facilities/tests/commands/test_createdummyadmin.py
eac10f463175d88e1b74894bab4787aa15eefcbc
[]
no_license
Pitt-Pauly/Astrosat_test
c78941666b38bd23f8a5732e098823f5151067c9
b122e866d583308f0e8b738996bfd20c1cd80cd6
refs/heads/master
2020-03-17T01:28:35.170819
2018-05-14T15:11:03
2018-05-14T15:11:03
133,154,548
0
0
null
null
null
null
UTF-8
Python
false
false
1,870
py
import os from io import StringIO from django.contrib.auth import get_user_model from django.db.models.base import ObjectDoesNotExist from django.core.management import call_command from django.test import TestCase from django.conf import settings from facilities.models import Facility User = get_user_model() class ...
[ "pitt.pauly@gmail.com" ]
pitt.pauly@gmail.com
b5c238f845835a1c1fd3a4d93f541b78a398f7e2
abf0c4d86b5d0516dd72aa82a5cbe3b1914aac51
/wavenet.py
e0d88ff4071d75291e4a3e9b38eb438e7461931f
[]
no_license
ali123/stagecast-predictor
34dc076962856d6dfb5f8b0616d4516bd566bead
816d2e19ef010e46761e5584273e8ca436803f34
refs/heads/main
2023-08-19T10:50:34.561523
2021-07-10T20:22:26
2021-07-10T20:22:26
378,014,158
0
0
null
null
null
null
UTF-8
Python
false
false
6,466
py
import os #os.environ['TF_CPP_MIN_LOG_LEVEL'] = '3' import json import argparse import numpy as np import tensorflow as tf import tensorflow_io as tfio from tensorflow.keras.models import Model from tensorflow.keras.layers import Input, Conv1D, Dense, Activation, Dropout, Lambda, Multiply, Add, Concatenate from tenso...
[ "ali.sharafat@gmail.com" ]
ali.sharafat@gmail.com
3a5ee0324acd6551d3e97da7afb3a5ce96a2dbe2
6237c00889206793923e84b600f9cc003df2a7a2
/main.py
38bb62b340d9c18039a3b54c00e39f1a7f0fbf68
[]
no_license
Aurore-p/test-git-command
e89ad002f5434dfefd40be183cb9485dde74602d
181e4ef224cd756b8a5a36adcab70c839f8e6e89
refs/heads/master
2023-06-13T02:28:05.461042
2021-07-02T10:36:00
2021-07-02T10:36:15
382,252,930
0
0
null
null
null
null
UTF-8
Python
false
false
1,142
py
# This is a sample Python script. # Press Maj+F10 to execute it or replace it with your code. # Press Double Shift to search everywhere for classes, files, tool windows, actions, and settings. def print_hi(name): # Use a breakpoint in the code line below to debug your script. print(f'Hi, {name}') # Press Ct...
[ "aurore.pittet@master.hes-so.ch" ]
aurore.pittet@master.hes-so.ch
cac2178c7625f9b888472fb6e480f7e4a6602d24
a38e2ef10cce63ef7ed98ebf51e86e006ce8b78f
/deep_sentence/summarizer/models/abstractive/make_dictionary.py
ed93476f85d1435ba1c1ccbf155a2128fb2183f2
[]
no_license
danhper/deepsentence
98a49af521b4e726d5a32f153825b389ee92bd2d
3378e123bcc5994f3354e079fa8c593a68af7993
refs/heads/master
2021-07-16T18:28:39.798957
2017-10-23T09:01:39
2017-10-23T09:01:39
73,053,682
1
0
null
null
null
null
UTF-8
Python
false
false
1,775
py
# -*- coding: utf-8 -*- import argparse import glob import pickle import MeCab import gensim import numpy as np import pandas as pd import reuters import from_db MIN_FREQUENCY = 5 def tokenize(sentence): mt = MeCab.Tagger('-Owakati') parse = mt.parse(sentence) return parse.split() def save(df_all, ...
[ "daniel@claudetech.com" ]
daniel@claudetech.com
4d585384763e05c817c96b0c49c9bd2ef8a0913c
859707c2bd1ad4c0cd8a5b36bc2f75da439fda33
/core/migrations/0004_auto_20190912_1320.py
0c2401d84ebe7644c122fbaf57f46897d16c596c
[]
no_license
aashima18/django-assignment2
41d7ecf75c749bbd8ad7d303aaee24cb9298e726
e58685297504cb4aa0e2b1cafca66594191e860c
refs/heads/master
2020-07-28T04:02:07.615616
2020-02-06T09:45:37
2020-02-06T09:45:37
209,016,732
0
0
null
null
null
null
UTF-8
Python
false
false
2,576
py
# Generated by Django 2.2.5 on 2019-09-12 13:20 import core.models import core.validators import datetime from django.conf import settings from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): dependencies = [ ('core', '0003_assignment_descripti...
[ "gargradhika0302@gmail.com" ]
gargradhika0302@gmail.com
067ce33eafbe4c1c51747c5eb5970cedf9a777da
83b1b8b8af455c0725e057bd6cf7c341072f85c7
/tests/unit/module_orm_test.py
fddfae8dd49c3f0170f822a5dab41ba6f3e123f4
[]
no_license
biellls/python_swift_generation
4814b19d3999cd65f74eb4803b5e4c3101e026d5
b10c8f343a7af5e55b94b35de8afdea0ae8e7041
refs/heads/master
2020-07-23T23:39:07.421722
2019-09-18T21:05:15
2019-09-18T21:05:15
207,740,396
1
0
null
null
null
null
UTF-8
Python
false
false
930
py
import mock from swift_python_wrapper.core import create_module_orm from swift_python_wrapper.rendering import SwiftModule, NameAndType, Function, SwiftClass, MagicMethods from samples import basic_module def test_basic_module_orm(): module = create_module_orm(basic_module) assert module == SwiftModule( ...
[ "gllobera@hotelbeds.com" ]
gllobera@hotelbeds.com
cc9a52d43431bde370d86d8e2da78dd4bbab9adb
b22525ec160a803e8c3489615ec1d24b0f00a0fe
/venv/bin/pip
62227a8ebe42e69444a395e45d3522b5acd089e7
[]
no_license
shahid37/Django_Framework_practices
fc967b250e13adb130ebfff3682df7dd4cdc05b8
1c928ba62ca5c7d88633a58ea8e6730402fad52e
refs/heads/master
2020-05-25T22:54:18.221108
2019-05-23T08:15:45
2019-05-23T08:15:45
188,023,263
0
0
null
null
null
null
UTF-8
Python
false
false
403
#!/home/shahid/PycharmProjects/textutils/venv/bin/python # EASY-INSTALL-ENTRY-SCRIPT: 'pip==10.0.1','console_scripts','pip' __requires__ = 'pip==10.0.1' import re import sys from pkg_resources import load_entry_point if __name__ == '__main__': sys.argv[0] = re.sub(r'(-script\.pyw?|\.exe)?$', '', sys.argv[0]) s...
[ "happyshahid37@gmail.com" ]
happyshahid37@gmail.com
f10776cd8eece44485cc09761b3d3aae54044388
08e69b89815e7ad31f8d60d6744043e35bff17c8
/server/src/config/local.py
141a98e21d4222c71b7d2dfd7c4589d6e870d5d6
[]
no_license
dkrichards86/ip-heatmap
50ecd78c3dd2b7f920f95925ca418f63323d8220
e0d11f373df7bad9e5c3da2b6102416605b3c16e
refs/heads/master
2020-05-16T21:44:14.236638
2019-04-25T10:47:25
2019-04-25T10:47:25
183,314,837
1
0
null
2019-04-25T10:47:26
2019-04-24T22:20:25
Python
UTF-8
Python
false
false
447
py
import os from .common import Common BASE_DIR = os.path.dirname(os.path.dirname(os.path.abspath(__file__))) class Local(Common): DEBUG = True INSTALLED_APPS = Common.INSTALLED_APPS INSTALLED_APPS += ('django_nose',) TEST_RUNNER = 'django_nose.NoseTestSuiteRunner' NOSE_ARGS = [ BASE_DIR, ...
[ "dkrichards@rti.org" ]
dkrichards@rti.org
53e916a2354173ad94fe2ffd901c9249e8a2572a
539af892f18d9a63f1d6966a15a100f004a5a908
/next-greater-number.py
cd9e250103832cc5ad5f3643d483ac75584f541a
[]
no_license
woofan/leetcode
5f0e7cfbcd9d0fddd7b25c7a96896e6a24ccbd15
4a13026b6e04a71d5da56c7c35ac58877b27f69b
refs/heads/master
2022-12-05T17:27:00.979915
2022-11-09T08:58:01
2022-11-09T08:58:01
226,093,086
0
0
null
null
null
null
UTF-8
Python
false
false
363
py
def nextGreaterElement( nums1, nums2) : res = [-1] * len(nums1) for i in range(len(nums1)): for j in range(nums2.index(nums1[i]),len(nums2)): if nums2[j] > nums1[i]: res[i] = nums2[j] break if j == len(nums2): res[i] = -1 return res p...
[ "495464616@qq.com" ]
495464616@qq.com
0031c316aec50693090c60694db43e3cae91460d
2fcec8f06f5728225cadeb8fa1b51557048cbe9d
/discomegle/discomegle.py
04e312598b2ab43591df6a07b3ce33c46952a662
[ "MIT" ]
permissive
haaddaa1/Maybe-Useful-Cogs
89a536f096675cc1d6e13f62d0ff5457c9a01a9b
a1167c3f720973ba994b0a86146f75b459fe39fe
refs/heads/master
2020-05-25T11:30:55.719408
2017-02-28T07:10:29
2017-02-28T07:10:29
null
0
0
null
null
null
null
UTF-8
Python
false
false
5,926
py
import discord from discord.ext import commands import aiohttp import asyncio import random from __main__ import send_cmd_help from bs4 import BeautifulSoup from .utils.dataIO import dataIO, fileIO prefix = fileIO("data/red/settings.json", "load")['PREFIXES'][0] class Discomegle: """Lets you chat with...
[ "noreply@github.com" ]
haaddaa1.noreply@github.com
d1b6d651f777c45464dcbacff005184aa87ae11f
8da91c26d423bacbeee1163ac7e969904c7e4338
/pyvisdk/do/vim_esx_cl_ifcoeadapterlist_fcoe_adapter_device.py
3330a86d5a6754317ae63e082cfb7c861561ad0d
[]
no_license
pexip/os-python-infi-pyvisdk
5d8f3a3858cdd61fb76485574e74ae525cdc7e25
1aadea0afbc306d09f6ecb9af0e683dbbf961d20
refs/heads/master
2023-08-28T02:40:28.789786
2020-07-16T04:00:53
2020-07-16T04:00:53
10,032,240
0
1
null
null
null
null
UTF-8
Python
false
false
1,122
py
import logging from pyvisdk.exceptions import InvalidArgumentError # This module is NOT auto-generated # Inspired by decompiled Java classes from vCenter's internalvim25stubs.jar # Unless states otherside, the methods and attributes were not used by esxcli, # and thus not tested log = logging.getLogger(__name__) de...
[ "jmb@pexip.com" ]
jmb@pexip.com
0b4cd98072362cc8682d11ed73c4125e6c758daa
f707303e4dfe383cf82c23a6bb42ccfdc4cfdb67
/pandas-ml-common/pandas_ml_common_test/unit/utils/test_random.py
6a133b3025ab3ed9c52849c9e9d31683a5abd8f8
[ "MIT" ]
permissive
jcoffi/pandas-ml-quant
1830ec256f8c09c04f1aa77e2eecfba07d34fe68
650a8e8f77bc4d71136518d1c7ee65c194a99cf0
refs/heads/master
2023-08-31T06:45:38.060737
2021-09-09T04:44:35
2021-09-09T04:44:35
null
0
0
null
null
null
null
UTF-8
Python
false
false
380
py
from unittest import TestCase import numpy as np from pandas_ml_common.utils import normalize_probabilities class TestRandumUtils(TestCase): def test_probs_normalisation(self): p1 = [0.2, 0.8] p2 = [2, 8] np.testing.assert_equal(np.array(p1), normalize_probabilities(p1)) np.test...
[ "kic@kic.kic" ]
kic@kic.kic
5087615d25382cb628dda726b1e81ce17992c464
dd1424b76ed7b9cced681ab13c87026b35124bc4
/feature_engine/discretisation/equal_frequency.py
26fe62a936abf6763739478b2bd9123083756fbf
[ "BSD-3-Clause" ]
permissive
solegalli/feature_engine
2c685b34db53681d14ae9dc3115534924596dba6
3cd3bbb6e6bcb0e7ce7321684ced2a3f3a33d48d
refs/heads/main
2023-07-06T21:15:56.288083
2022-12-07T10:32:49
2022-12-07T10:32:49
394,274,826
42
13
BSD-3-Clause
2021-09-10T22:01:57
2021-08-09T12:02:48
null
UTF-8
Python
false
false
4,681
py
# Authors: Soledad Galli <solegalli@protonmail.com> # License: BSD 3 clause from typing import List, Optional, Union import pandas as pd from feature_engine._docstrings.fit_attributes import ( _feature_names_in_docstring, _n_features_in_docstring, _variables_attribute_docstring, ) from feature_engine._do...
[ "noreply@github.com" ]
solegalli.noreply@github.com
5dd62593440005609bba838017763978cbf2f76a
c91c0216a9cd33994af0d603e66c032033c8810b
/sai_numpi/matrix7.py
f6133489693485dbb6864f8a0a6705781023b8f4
[]
no_license
ponnuru171/Python-1
2ab83f938e9429d48c26ed75e71429de4d76b1d3
003ad0ec9897b9cab4727c237f0ca78b94493cc6
refs/heads/master
2022-12-27T10:30:40.642857
2020-10-13T06:40:54
2020-10-13T06:40:54
null
0
0
null
null
null
null
UTF-8
Python
false
false
147
py
import numpy as np x=np.array([1,2,3,4,5,6,7,8]) print(x.shape) x.shape=(4,2) print(x) x.shape=(2,4) print(x) x.shape=(8,1) print(x) print(x.ndim)
[ "venkatasai4050@gmail.com" ]
venkatasai4050@gmail.com
e967581074ee231c67a7f10c06ca6d07b6452aba
51f6443116ef09aa91cca0ac91387c1ce9cb445a
/Curso_de_Python_3_do_Basico_Ao_Avancado_Udemy/aula165/aula165/wsgi.py
6a1760d3a621190f05ff162edb5cb0e32301a322
[ "MIT" ]
permissive
DanilooSilva/Cursos_de_Python
f449f75bc586f7cb5a7e43000583a83fff942e53
8f167a4c6e16f01601e23b6f107578aa1454472d
refs/heads/main
2023-07-30T02:11:27.002831
2021-10-01T21:52:15
2021-10-01T21:52:15
331,683,041
0
0
null
null
null
null
UTF-8
Python
false
false
391
py
""" WSGI config for aula165 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/3.2/howto/deployment/wsgi/ """ import os from django.core.wsgi import get_wsgi_application os.environ.setdefault('DJANGO_SETTI...
[ "dno.gomesps@gmail.com" ]
dno.gomesps@gmail.com
91f77e66b22d6e2728eee2b1c6469a90df223bca
615f607894f17d6239334738796daa3c46520785
/pizzas/admin.py
06e6f0fbb1b8f95ee02294246d90fe3c9135fc4b
[]
no_license
araza17/EmployeeLogin
d68c3816be4ad509ae56d12e07aef5aaa22ebc1f
612792bd8df1c30069085899217c6356f592e26b
refs/heads/master
2021-04-09T13:16:49.255580
2018-03-17T00:34:54
2018-03-17T00:34:54
125,583,328
0
0
null
null
null
null
UTF-8
Python
false
false
187
py
from django.contrib import admin from pizzas.models import Pizza from pizzas.models import Topping # Register your models here. admin.site.register(Pizza) admin.site.register(Topping)
[ "Ali.Raza@ucdenver.edu" ]
Ali.Raza@ucdenver.edu
b3c6f8b199115f12bd32d0061f4a571a117ca082
0bde5f7f09aa537ed1f4828d4e5ebee66475918f
/h2o-py/tests/testdir_apis/Data_Manipulation/pyunit_h2oH2OFrame_mult.py
f2690d0cf18bb0a449c22efbf81071d98ed0caba
[ "Apache-2.0" ]
permissive
Winfredemalx54/h2o-3
d69f1c07e1f5d2540cb0ce5e6073415fa0780d32
dfb163c82ff3bfa6f88cdf02465a9bb4c8189cb7
refs/heads/master
2022-12-14T08:59:04.109986
2020-09-23T08:36:59
2020-09-23T08:36:59
297,947,978
2
0
Apache-2.0
2020-09-23T11:28:54
2020-09-23T11:28:54
null
UTF-8
Python
false
false
1,178
py
from __future__ import print_function import sys sys.path.insert(1,"../../../") from tests import pyunit_utils import h2o import numpy as np from h2o.utils.typechecks import assert_is_type from h2o.frame import H2OFrame import random def h2o_H2OFrame_mult(): """ Python API test: h2o.frame.H2OFrame.mult(matrix)...
[ "noreply@github.com" ]
Winfredemalx54.noreply@github.com
031a31c56be87fce5cbb87131872eeeb083ec013
6ded879044abbe031d0c780af93858322d35c572
/s2protocol/versions/protocol82457.py
f35242b0988c8148c62e1b078ed3a70cca1d7876
[ "MIT" ]
permissive
Blizzard/s2protocol
987559ebb7939ec442c3bc25eec7f0789a0f2fb9
0eb6fa8885a7c9197252ca5d658b545930daed43
refs/heads/master
2023-08-31T21:06:44.370717
2023-08-28T18:22:17
2023-08-28T18:22:17
9,921,838
472
111
MIT
2023-04-12T18:57:52
2013-05-07T21:15:37
Python
UTF-8
Python
false
false
31,561
py
# Copyright (c) 2015-2017 Blizzard Entertainment # # 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, ...
[ "sc2github@blizzard.com" ]
sc2github@blizzard.com
51421fefa8b1e90b5ab0a1c35aa72fdcfe1fe799
1d152d88b5d45091924e04d28ab469124bcc0785
/pythonAndSqlite/.metadata/.plugins/org.eclipse.core.resources/.history/a2/80d2196f0e840015194a84fd09ca207c
92e75efb3937ddfd8f42a2a94a757366ce2855bd
[]
no_license
nCombo/Python
81a6cfe65c71cfc8079a95f99c27003f2b4e9f4c
6659a20006a1acda45c481fd56db487f28f1520e
refs/heads/master
2020-04-30T14:19:21.292541
2016-02-04T21:19:12
2016-02-04T21:19:12
31,417,246
0
0
null
null
null
null
UTF-8
Python
false
false
362
#!/usr/bin/env python # -*- coding: utf-8 -*- ''' Created on 5 nov. 2015 @author: combo ''' import sqlite3 conn = sqlite3.connect('ma_base.db') cursor = conn.cursor() cursor.excute(""" CREATE TABLE IF NOT EXISTS users( id INTEGER PRIMARY KEY AUTOINCREMENT UNIQUE, name TEXT, age INTERGER ) """) conn.cm...
[ "combo.nourdine@gmail.com" ]
combo.nourdine@gmail.com
6ba11a740ab4ebb1f7828985fc6b159c6a717ad3
a0c59fe83a52a2168878b7620c35847d4cfa342f
/merge contents of two files.py
f8ccde5fbab4c297b04f133fd78bd22ea67ca948
[]
no_license
adityagith/pythonprograms
6e893c941817caf8730483d189c0da66b93a1926
49302e7eb5cd4b9da2351abebda1fc66bee3c95b
refs/heads/master
2022-11-22T05:09:03.442736
2020-07-28T10:53:42
2020-07-28T10:53:42
283,184,048
0
0
null
null
null
null
UTF-8
Python
false
false
347
py
file1 = open("file3.txt","a") file2 = open("file1.txt") file3 = open("file 2.txt") file1.write(file2.read()) file1.write(file3.read()) file1.close() file2.close() file3.close() print("Heres the merged data of the two files\n\n") file1 = open("file3.txt","r") print(file1.r...
[ "noreply@github.com" ]
adityagith.noreply@github.com
7f97fa2e91cadaf0707c10756b5b16de098158ae
0040b489b76f2d321b5ec1d65fb3574449f7cdc5
/tutorials/climate/ERA20C_MEI_2D/ERA20C_MEI_2D.py
997d1e01669f455c2d5137dba27e3b32c3b7695f
[ "MIT" ]
permissive
mathrack/PySPOD
0f6780172f7d76918ac93e360df6801ad6e45eee
f3629651d5b939f2bda6ab58981031072faf2c4a
refs/heads/main
2023-06-11T22:40:27.864426
2021-06-23T06:09:42
2021-06-23T06:09:42
349,419,823
0
0
MIT
2021-04-29T11:52:43
2021-03-19T12:44:17
null
UTF-8
Python
false
false
3,600
py
import os import sys import xarray as xr import numpy as np from pathlib import Path # Current, parent and file paths CWD = os.getcwd() CF = os.path.realpath(__file__) CFD = os.path.dirname(CF) # Import library specific modules sys.path.append(os.path.join(CFD, "../../../")) from pyspod.spod_low_storage import SPOD...
[ "gianmarco.mengaldo@gmail.com" ]
gianmarco.mengaldo@gmail.com
74bd135799b9e379b5796b460765ca522fa803cf
21ba4d9c3c16a1c77035caba86b6c381ab0b8237
/Modules/Propagators.py
c655fd0a0c166c9d7662d4f31b8339c676c85155
[]
no_license
Palash-Patole/MoMpy
fe4df3dce93662a04ddd24820d9d8f3c5ad36fde
22e7ba44f2cbdf0cac8c3fac321206b421651521
refs/heads/master
2022-11-28T16:32:56.002546
2020-07-31T12:59:49
2020-07-31T12:59:49
203,998,587
0
1
null
null
null
null
UTF-8
Python
false
false
4,205
py
# -*- coding: utf-8 -*- """ Code by: Palash Patole MoMpy Project: Modules Date of creation: Thu May 7 06:47:10 2020 Version: developed with version 3 of the laboratory script, Integ3.py Description: 1.Defined the propagator class 2.Propagators supported so far: Cowell 3.Central bodies suppo...
[ "palashpatole16@gmail.com" ]
palashpatole16@gmail.com
b691d12b39a29cffccfd1c54e721682c233e2320
7f2fc00415c152538520df84387549def73c4320
/s_backbones/shufflenetv2.py
8c6ee5b4b58efa8e8aad08950d4b0e06328ee77f
[ "MIT" ]
permissive
mxer/face_project
da326be7c70c07ae510c2b5b8063902b27ae3a5b
8d70858817da4d15c7b513ae492034784f57f35f
refs/heads/main
2023-08-06T09:24:49.842098
2021-09-18T08:32:18
2021-09-18T08:32:18
null
0
0
null
null
null
null
UTF-8
Python
false
false
8,920
py
import torch from torch import Tensor import torch.nn as nn from typing import Callable, Any, List __all__ = [ 'ShuffleNetV2', 'shufflenet_v2_x0_1', 'shufflenet_v2_x0_5', 'shufflenet_v2_x1_0', 'shufflenet_v2_x1_5', 'shufflenet_v2_x2_0' ] def channel_shuffle(x: Tensor, groups: int) -> Tensor: batchsize, ...
[ "chen19940524@live.com" ]
chen19940524@live.com
e91853637601aa21c0789d573b45a57b0514e39b
bb7758af87dddc37af8c8f151e5f9cc87f050549
/helper/bp_write.py
0c35c2023103f6458662b5345f70921e5fe995e8
[]
no_license
zyrcon/stratasys
1c9552eaee4b01dc75636913791828cd365b20f8
f6f59eedb02fd2e9fcf595b7e3767dd40329df3c
refs/heads/master
2020-04-24T20:43:55.028393
2019-02-23T19:20:08
2019-02-23T19:20:08
172,253,779
1
0
null
null
null
null
UTF-8
Python
false
false
5,623
py
#!/usr/bin/env python2 # Copyright (c) 2014, Benjamin Vanheuverzwijn <bvanheu@gmail.com> # All rights reserved. # # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the following conditions are met: # * Redistributions of source code must retain the abo...
[ "noreply@github.com" ]
zyrcon.noreply@github.com
456e3a1355b7fa424438e782c7ca9bc3062478fa
a8a08fec453edf14c77ee9176ea626da2992cc67
/algorithms/hea.py
ea679d7d112b099c033588e434c446e3930b0706
[]
no_license
albertyw/rosalind
5098fb87664ae851e97b704cc3dbb3fc962db214
dfb2a2ccd26f789350c4d4a7c3e9a636140b8db2
refs/heads/master
2021-01-19T06:35:28.877873
2015-08-02T04:57:46
2015-08-02T04:57:46
8,350,016
0
0
null
null
null
null
UTF-8
Python
false
false
590
py
# Building a Heap # http://rosalind.info/problems/hea/ import inputparser def hea(data): heap = [0] for val in data[1]: heap.append(val) index = len(heap)-1 while heap[index/2] < heap[index] and index/2 > 0: temp = heap[index/2] heap[index/2] = heap[index] ...
[ "albertyw@mit.edu" ]
albertyw@mit.edu
e948993058ede7b8582392788fb6f8fda86394fb
946f9fc9537916948f77ce254ee916bc098dd28a
/Projects/2_Classical Planning/my_planning_graph.py
a9435c821766fa253b46bf4aa599d4b85cc12e16
[ "MIT" ]
permissive
actuallymentor/artificial-intelligence
bdac867753e65c373b2778fba5a1eafff8b1e4b5
213989697ab5c06a28d16537b0ee7b5d83037c71
refs/heads/master
2020-03-12T22:04:56.620931
2018-04-24T20:05:45
2018-04-24T20:05:45
130,840,361
0
0
MIT
2019-03-16T09:30:07
2018-04-24T10:58:34
Python
UTF-8
Python
false
false
8,624
py
from itertools import chain, combinations from aimacode.planning import Action from aimacode.utils import expr from layers import BaseActionLayer, BaseLiteralLayer, makeNoOp, make_node class ActionLayer(BaseActionLayer): def _inconsistent_effects(self, actionA, actionB): """ Return True if an effect of...
[ "cgearhart@gmail.com" ]
cgearhart@gmail.com
eacff4f7baf62ec96220699591b17e93ef0738ac
e7f1bf5ff4616e85a70b607dee5328cec7e18d41
/正则表达式/demo.py
2f2e42a9f534bcb244a850b2e21520cda15cc9a4
[]
no_license
LibreChou/python3
5bf9a3d5e7d453062c5b06ac2ef7f79c5265b1a1
4e92a1ca22ff38c3eac3240b8ed819894ed580aa
refs/heads/master
2021-05-22T23:59:17.764309
2019-11-05T09:56:04
2019-11-05T09:56:04
null
0
0
null
null
null
null
UTF-8
Python
false
false
4,523
py
import re # match 的使用 # s = 'hello world' # pattern = 'Hello' # o = re.match(pattern, s, flags=re.I) # re.I 不区分大小写 # print(o) # 未匹配返回None # print(dir(0)) # print(o.group()) # 返回匹配的字符串 # print(o.span()) # 返回匹配的范围 # print(o.start()) # 返回匹配的开始字符索引 # 常用匹配符 # s = 'a' # s = 'A' # s = '8' # s = '_' # s = '\n' # # # ...
[ "1527396988@qq.com" ]
1527396988@qq.com
ab36d06b0e0193e002155363f05d283866367536
e77af89bcae4a06ecac79b3de9a18606289df6cc
/examples/py-fastapi/cryptarithm/parse.py
a63820f6d55fb83e1ac93149255a54eec6121de9
[]
no_license
masu-mi/playground
061b0e767c2f4f9e8d2b940fc0258020189ab258
e471e4112e93eec54304964a114a438ae6f71600
refs/heads/master
2023-03-17T10:32:32.296959
2022-02-03T02:35:37
2022-02-03T02:35:37
35,765,729
0
0
null
2023-03-07T00:33:25
2015-05-17T12:45:21
Go
UTF-8
Python
false
false
1,437
py
# coding: utf-8 import lexer from node import Op,EqExp,Var from typing import Iterator,Union """ Parse """ class Parser: def __init__(self, tokenizer: Iterator[lexer.Token]) -> None: self.tokenizer = tokenizer self.nextToken() def nextToken(self) -> None: self.head = self.tokenizer._...
[ "masumi.net@gmail.com" ]
masumi.net@gmail.com
8888d46889946f988eb20fc501f535f5c8b0bd90
799a8fbd2dab27b73185bd52b50496d35e080576
/mcs-tree/kruskal.py
ed9ab2736a352e7026fc985ffe3591afec0dc97b
[]
no_license
brandonartner/algorithms-python
bec78ac5a28d14fc1b71213274774b9797a011e4
40dd9daa8696f026494970b966420bc6fe6fb34c
refs/heads/master
2020-03-30T11:23:18.079728
2018-10-02T16:07:43
2018-10-02T16:07:43
151,139,886
0
0
null
null
null
null
UTF-8
Python
false
false
2,178
py
import pprint import re import sys import math def has_edge(edges,start,end): contains_edge = 0 for edge in edges: if edge[0] == start and edge[1] == end: contains_edge = 1 break return contains_edge def display(T, n): for i in range(n): if i > 0: ...
[ "brandon.artner739@myci.csuci.edu" ]
brandon.artner739@myci.csuci.edu
bc16bf313857fa136cd160dd511e148600093d21
d62361a23983d8610fb117ed3fa239e27377c531
/exercise1.py
04005ca377feae5c3f0a97c72ce1717dd13d0b1a
[]
no_license
Sheetal2304/File
593f20cfbf01d0d96297f61537b4bf0046004e83
c635d885a2b545b772827f6f6d7296b12c2340ea
refs/heads/main
2023-07-15T07:25:38.086780
2021-08-13T08:58:46
2021-08-13T08:58:46
395,584,008
0
0
null
null
null
null
UTF-8
Python
false
false
105
py
from os import read my_file=open("exercise1.txt") my_data=my_file.read() print(my_data) my_file.close()
[ "noreply@github.com" ]
Sheetal2304.noreply@github.com
c06019572c902779e71486a6b37277721f44d9ae
2f10c71bc4ee2eeabc67ce5a09bbc00f04e94740
/Project_1_Code.py
b2aa5ba3e2cfcdcc7923c07a9bf394c620fe89a5
[]
no_license
shreyas7124/Internsoft-Project--1
8812b1e1713a677566541cea490c7fd84cade7f0
f46c195852baf7203fd7e43511531ce15e8f603b
refs/heads/main
2023-08-03T11:26:57.100427
2021-09-10T12:03:22
2021-09-10T12:03:22
405,065,890
0
0
null
null
null
null
UTF-8
Python
false
false
1,647
py
# -*- coding: utf-8 -*- """ Created on Wed Sep 8 17:17:24 2021 @author: Shreyas S """ #IMPORTING THE LIBRARIES import pandas as pd import matplotlib.pyplot as plt data=pd.read_csv("advertising.csv") data.head() #To visualise data fig , axs =plt.subplots(1,3,sharey = True) data.plot(kind='sc...
[ "noreply@github.com" ]
shreyas7124.noreply@github.com
a148cf3b8c710ee6206ac5e5aa858c8f33289c42
84f33f60f2c6ca36d2eca62d8757315d6085e312
/Source/Favorites/remove.py
eb858951e4900ef0eb6f6d064faf0566927ba5bc
[ "MIT" ]
permissive
TylerEich/Alfred-Extras
a4bf67e44518ffa58cb54b60509a320321f91857
dec2524447281760af705037ee9d5bdb17e8d849
refs/heads/master
2021-07-16T16:52:09.230947
2021-02-19T00:37:31
2021-02-19T00:37:31
9,268,808
128
16
MIT
2020-12-19T16:32:39
2013-04-07T00:26:59
Objective-C
UTF-8
Python
false
false
1,011
py
from os import path from types import * import alp if len(alp.args()) > 0: deletes = alp.args()[0].split('\t') else: print 'Nothing to remove.' raise SystemExit # SCRIPT EXITS # Sync & load favorites favs = alp.jsonLoad('favorites.json', default=[]) if type(favs) is DictType: favs = favs.values() if not favs: p...
[ "tyler2eich@gmail.com" ]
tyler2eich@gmail.com
427be95a3e10919c7f60362ba818390acf5a3f9b
1b7929f6e521042595fa5d8b04753b09fcf4825c
/webdev/public_catering/hello_py.py
cf5c547298ec0d27dc37cca15384c843c4bae85b
[]
no_license
xyzza/convert_hg
a73b8c5b3681decd75540570ff6ba0c7cf1ce576
9cfd9b34fcebbb2c0583b6bb19a98f28870c293d
refs/heads/master
2021-01-10T21:07:04.499530
2014-04-15T13:09:36
2014-04-15T13:09:36
null
0
0
null
null
null
null
UTF-8
Python
false
false
138
py
#coding:utf-8 """ This is new python module for some stuff ok, i'll fix it! """ import os import sys print "hello module 01 in task 003"
[ "devnull@localhost" ]
devnull@localhost
422112e2531b3ae61aaa64ad6047343610cf1ba1
847c2cea3e967157d25e9e3e60d719cd1d64300d
/pydux/create_store.py
6cccee1cc3787e04b9a71aab84352fbe45cca4fe
[ "MIT" ]
permissive
chriskiehl/pydux
26c5f9064ee00185e7f56f4308b78be582fabbfa
1bc044c912912c1c7f2623a4cfef543d3f9b2954
refs/heads/master
2021-01-19T21:13:49.912634
2016-10-28T15:04:06
2016-10-28T15:04:06
74,156,606
2
1
null
2016-11-18T18:37:03
2016-11-18T18:37:02
null
UTF-8
Python
false
false
3,532
py
""" python + redux == pydux Redux: http://redux.js.org A somewhat literal translation of Redux. Closures in Python are over references, as opposed to names in JavaScript, so they are read-only. Single- element arrays are used to create read/write closures. """ class ActionTypes(object): INIT = '@@redux/INIT'...
[ "benjamin@rqdq.com" ]
benjamin@rqdq.com
bdf0811838f676541a1b9d3f42b54f5d03f89340
c20ac0daddda14529d9afdfec76b3618539337ac
/run.py
8480810d5c8ad234b645e442e10c0f961ee952af
[ "CC-BY-3.0" ]
permissive
rgeoghegan/python-ireland-2011-02-unittests
e5f58901854db2679e77f7b349eec840db9fcbf2
a905ad49f6150a943eea961c6d6b474fc80152d5
refs/heads/master
2020-03-25T01:41:28.979972
2011-02-07T21:53:35
2011-02-07T21:53:35
1,339,545
0
1
null
null
null
null
UTF-8
Python
false
false
166
py
import dblayer db = dblayer.DBLayer("test.sqlite") for n in range(1,11) + [12]: w = dblayer.Widget(float(n)) db.insert_widget(w) print db.average_length()
[ "r.geoghegan@gmail.com" ]
r.geoghegan@gmail.com
66b90b6f418d992c6ad9d02a5fe1900d54a2d4dd
ba5040cfb937048fc54e016c5f241af3ae065ba4
/rasp_env/bin/pip3
08d8f69c9e2fbe7574d7a1e186913187ee4130af
[]
no_license
nick-pessim/rasp-log-system
dd303c03fb7cb88f1b7e87a162d6df64afd11058
0c52f39abfc0a30792e6f84c978ffcef2239d375
refs/heads/master
2022-06-09T06:25:30.972792
2020-05-06T09:07:32
2020-05-06T09:07:32
255,386,491
1
0
null
null
null
null
UTF-8
Python
false
false
261
#!/home/zvs-serv/rasp-log-system/rasp_env/bin/python3.6 # -*- coding: utf-8 -*- import re import sys from pip._internal.cli.main import main if __name__ == '__main__': sys.argv[0] = re.sub(r'(-script\.pyw|\.exe)?$', '', sys.argv[0]) sys.exit(main())
[ "nickolaspessim@hotmail.com" ]
nickolaspessim@hotmail.com
808270b56854e917ed75cbf6c97e1c769dfb54cd
bc7b5d2477ca3b0c54383c97a19d29cb7cb63bc5
/sdk/lusid/models/resource_list_of_order.py
c5bac180964942bdd13bef10b9e59403e18824e9
[ "MIT" ]
permissive
mb-a/lusid-sdk-python-2
342b6e7b61ca0c93f43e72f69e572478e3a7be4f
0eee79c8e36188a735aaae578a9c4be2a8497aed
refs/heads/master
2023-07-15T16:15:11.878079
2021-08-25T20:52:27
2021-08-25T20:52:27
214,153,732
0
0
null
null
null
null
UTF-8
Python
false
false
6,906
py
# coding: utf-8 """ LUSID API FINBOURNE Technology # noqa: E501 The version of the OpenAPI document: 0.11.3430 Contact: info@finbourne.com Generated by: https://openapi-generator.tech """ import pprint import re # noqa: F401 import six class ResourceListOfOrder(object): """NOTE: This cl...
[ "concourse@finbourne.com" ]
concourse@finbourne.com
771f82b1529867ea4e13963c6cf6ef6d6932fb22
16d4474e7777da03aef6ead78e112edf8931d131
/core/migrations/0007_category_direct_link.py
e10d5e9b585a815fcb128bd6f83b63203f61be65
[]
no_license
BijoySingh/HomePageMaker
f91dd03bc1e2b6a46893b8738f87686d105968b8
ba366dfd9514b10cc6283bb4e120037f8229fc1e
refs/heads/master
2020-12-06T23:51:51.122187
2017-01-30T23:31:38
2017-01-30T23:31:38
66,867,578
1
1
null
null
null
null
UTF-8
Python
false
false
483
py
# -*- coding: utf-8 -*- # Generated by Django 1.9.7 on 2016-09-01 06:56 from __future__ import unicode_literals from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('core', '0006_content_cover'), ] operations = [ migrations.AddField( ...
[ "bijoysingh693@gmail.com" ]
bijoysingh693@gmail.com
7c6a33bc5ac61d7382e8da3e8bda249f13e1e8b5
b3c72156fba9a48091e6c5892a393b287521a296
/4_DCP.py
06d542d523a65386863ced8f59e402f9e6e8f7bf
[ "Apache-2.0" ]
permissive
T-Santos/Daily-Coding-Problems
cf711e45307f499d0250ec010a899eee58cc7872
f45c387a1c56648bf6b9b094ec60ab5f9e5127ed
refs/heads/master
2021-04-26T22:45:21.092357
2018-03-24T14:34:26
2018-03-24T14:34:26
124,142,473
0
0
null
null
null
null
UTF-8
Python
false
false
1,532
py
''' This problem was asked by Stripe. Given an array of integers, find the first missing positive integer in linear time and constant space. In other words, find the lowest positive integer that does not exist in the array. The array can contain duplicates and negative numbers as well. For example: The input [3, 4, ...
[ "1tsantos7@gmail.com" ]
1tsantos7@gmail.com
7e2480c9e51766f7d751f3b75569496b206d1411
ec6b991e16e823554afccac689687f8c317e0fed
/comments.py
5cd173bae81292cb14d72c68241387612b55ef5e
[]
no_license
neyer/persuadertron
623705bc08f36f292442e7c48e432f5af465073d
bbc6e2f0f681c38646ed02916f30b3962229ff0c
refs/heads/master
2021-01-19T15:33:38.767397
2014-02-23T00:14:19
2014-02-23T00:14:19
17,097,637
0
1
null
2014-03-04T03:32:53
2014-02-22T23:48:22
Python
UTF-8
Python
false
false
2,525
py
import requests import json import os def _read_from_file(file_name='cache/bot-comments.json'): with open(file_name, 'r') as f: content = f.read() return json.loads(content) def get_comments(api_result): return [ Comment.from_json(c) for c in api_result.get('data').get('children')] class Comment(objec...
[ "mark@neyer.me" ]
mark@neyer.me
838a99328f271683ea7274a01883cf16a29fe0cf
64552e06355caae510fa3ba419395ab624076578
/stepik_tours/tours/views.py
978f06c13d3b87605eea366f002e348ab98bfccd
[]
no_license
lektor925/stepik_django
6e7b1de2806b9cde7abeae039c564a002a5cdfd4
d8a68f4478210bf035b7e034015b4259a46339aa
refs/heads/master1
2023-08-15T02:10:12.250383
2020-06-14T17:13:18
2020-06-14T17:13:18
271,190,466
0
0
null
2021-09-22T19:14:04
2020-06-10T05:50:38
Python
UTF-8
Python
false
false
275
py
from django.shortcuts import render def MainView(request): return render(request, 'tours/index.html') def DepartureView(request, departure): return render(request, 'tours/departure.html') def TourView(request, id): return render(request, 'tours/tour.html')
[ "partizan925@mail.ru" ]
partizan925@mail.ru
8b4e464b1ad0ef3c918a96fd380ac7b91b8c909d
7f57c12349eb4046c40c48acb35b0f0a51a344f6
/2015/ConstructBinaryTreeFromPreorderAndInorderTraversal_v0.py
daaa268e1414a2c429629aa49eadb7c663488efa
[]
no_license
everbird/leetcode-py
0a1135952a93b93c02dcb9766a45e481337f1131
b093920748012cddb77258b1900c6c177579bff8
refs/heads/master
2022-12-13T07:53:31.895212
2022-12-10T00:48:39
2022-12-10T00:48:39
11,116,752
2
0
null
null
null
null
UTF-8
Python
false
false
1,120
py
#!/usr/bin/env python # encoding: utf-8 # Definition for a binary tree node. class TreeNode: def __init__(self, x): self.val = x self.left = None self.right = None class Solution: # @param {integer[]} preorder # @param {integer[]} inorder # @return {TreeNode} def buildTre...
[ "stephen.zhuang@gmail.com" ]
stephen.zhuang@gmail.com
09ca684207631f62018ead121fb8608e0e416944
2d5f2e08b0e74c90228864a93e071a2572bedd8f
/test/test_autograd.py
4a7e4fc32c3429856865b95b6d703834af873a45
[ "BSD-2-Clause", "BSD-3-Clause", "LicenseRef-scancode-generic-cla", "Apache-2.0" ]
permissive
seanpm2001/Debian_PyTorch
0c0cb66e36c590e176e0eb88474e6e386b3687f8
d51954d0903601f087431d52deadd32fc09408ff
refs/heads/master
2023-06-02T21:03:13.919140
2021-01-27T10:38:07
2021-01-27T10:38:07
null
0
0
null
null
null
null
UTF-8
Python
false
false
283,067
py
import contextlib import gc import sys import io import math import tempfile import time import threading import unittest import warnings from copy import deepcopy from collections import OrderedDict from itertools import product from operator import mul from functools import reduce import torch import json # TODO: re...
[ "cdluminate@gmail.com" ]
cdluminate@gmail.com
68739532baf131e6caa5b8f73a78a5f3c1dcdb5a
0abcd7664b0a44c8183b54441e98161af57aec79
/mvs_model/mvs_s.py
46a335f581eedc0d26cd1d1c95fbea25c3ebdee9
[]
no_license
sophia-hye/embedding_study
8efbaa7601ba54ecf8476aa943413242e8bce355
a4186f93ce5323c437aa22f9cd31e7ea53551e8d
refs/heads/main
2023-08-15T12:05:40.773869
2021-09-03T06:02:06
2021-09-03T06:02:06
328,598,080
0
0
null
null
null
null
UTF-8
Python
false
false
2,586
py
import torch import torch.nn as nn import torch.optim as optim # construct model on cuda if available use_cuda = torch.cuda.is_available() device = torch.device("cuda:0" if use_cuda else "cpu") class CNN(nn.Module): # @in_dim: dimension of inputted data # @out_dim: dimension of output data which user want t...
[ "kimjihae28@gmail.com" ]
kimjihae28@gmail.com
d952914b068624ae9ef9e884297601cba5ea8a3a
eac3fb72ebf0bae220a741986a777a8c7c1ae60b
/ex33b.py
048457a04b88c874d621371ece7083178c3c7ca3
[]
no_license
renvasanth/Learning
a1591765c55a6e847fbb0ccd6936c7bd72d4284f
7ecdb79cf17b26aa43ec68909c5d8a400e5bca47
refs/heads/master
2021-01-10T05:06:52.834647
2015-11-19T07:25:01
2015-11-19T07:25:01
43,491,185
0
0
null
null
null
null
UTF-8
Python
false
false
306
py
from sys import argv (script, end_number) = argv i = 0 numbers = [] for i in range(0, int(end_number)): print "At the top i is %d" %i numbers.append(i) print "Numbers now: ", numbers print "At the bottom i is %d" % i print "The numbers: " for num in numbers: print num
[ "renvasanth@yahoo.co.in" ]
renvasanth@yahoo.co.in
4060c70ad70c06fdc4ecb47e1d1638e8661e6c45
789e0a2a9759f3d3e5b0ed7c319567da5fa342da
/src/Ceres_Show_GPS.py
58be6fb04e92ec687522f52de6fa45dbb74ef615
[]
no_license
swane/ceres
5c453be0dfbe9cbd1fda91722de49c46d12a2fc5
ccba36ffca2596575d65cb990929021c40401b98
refs/heads/master
2023-03-18T16:33:30.273943
2023-03-11T17:58:25
2023-03-11T17:58:25
233,298,333
1
0
null
null
null
null
UTF-8
Python
false
false
1,677
py
#!/usr/bin/env python import rospy from std_msgs.msg import String from math import pi, sin, cos, tan, sqrt, atan2 from geometry_msgs.msg import Twist from std_msgs.msg import Float64 from std_msgs.msg import Int16 from latlongtoutm import * from tf.transformations import euler_from_quaternion from sensor_msgs.msg im...
[ "noreply@github.com" ]
swane.noreply@github.com
bc0b93fd8478e0c280277ddeab4f81620aed29f5
6d42b5219f25cb12626c79d4ec45a0eab0b51d9c
/pthbldr/datasets/tests/test_datasets.py
38d66b8c1dd1cd81729e649848f3bb94db6e55e0
[ "BSD-3-Clause", "LicenseRef-scancode-warranty-disclaimer" ]
permissive
kastnerkyle/pthbldr
cc370182126784645f6a4b24af81aefb12e2adcc
4dd65f9973a0199b920fb7b76d9b3163b5928675
refs/heads/master
2020-12-30T13:20:07.846618
2017-11-06T23:45:07
2017-11-06T23:45:07
91,346,119
2
0
null
2017-11-06T23:45:08
2017-05-15T14:16:43
Python
UTF-8
Python
false
false
324
py
from pthbldr.datasets import load_digits from pthbldr.datasets import load_iris from nose.tools import assert_equal def test_digits(): digits = load_digits() assert_equal(len(digits["data"]), len(digits["target"])) def test_iris(): iris = load_iris() assert_equal(len(iris["data"]), len(iris["target"...
[ "kastnerkyle@gmail.com" ]
kastnerkyle@gmail.com
39eb89d4c9d84ddd1f202c6ee47cf7da1f2834d1
bbf99c217ab6554f5aed307aad9bdc757aceac81
/userbot/_core.py
8ccf8eebc472de8beb9896bc4fa492031e1a844c
[ "MIT" ]
permissive
TGExplore/TeleBot
6d83bcb6b4abfb798f540ddedffa8a16793c80e1
0d3f2cddd316dfaa7db7f16aeabebe0f7abc29eb
refs/heads/master
2022-11-14T09:52:35.139500
2020-07-11T09:34:39
2020-07-11T09:34:39
272,342,603
2
3
MIT
2020-07-10T12:52:24
2020-06-15T04:34:19
null
UTF-8
Python
false
false
3,030
py
from userbot import bot from telethon import events from userbot.utils import command, remove_plugin, load_module from var import Var import importlib from pathlib import Path from userbot import LOAD_PLUG import sys import asyncio import traceback import os import userbot.utils from datetime import datetime DELETE_TI...
[ "noreply@github.com" ]
TGExplore.noreply@github.com
92601f9fa163e293ec244314b1e6ed4995377cd8
b5a102628b7dd9294965b9c286633895e0db3949
/evenodd.py
ff640873da2327b6bf3705abcf2cfab0171cecc0
[]
no_license
gauravubnare/python
6e53263e853bcda357c1891245e8f8a2456ba376
569f66a193ddb841b0c13f36d562cb11523847a3
refs/heads/master
2020-04-30T15:46:40.656540
2019-03-21T11:16:24
2019-03-21T11:16:24
176,929,311
0
1
null
null
null
null
UTF-8
Python
false
false
125
py
a=input("Enter a number ") a=int(a) if(a%2 == 0): print("the number is even") else: print("the number is odd")
[ "noreply@github.com" ]
gauravubnare.noreply@github.com
436d1079e865e48d975bd6ffa89a5f3ed150f80d
bdfd3889e1cc02f97b3e2dc0032ce0c9b59bf37e
/src/gork/contrib/gtag/forms.py
f975a8005e00e6d6fd6d68bfd55cee536a5ff863
[ "MIT" ]
permissive
indexofire/gork
c85728953cfa9ab98c59b79a440d4e12212cbc4e
c5e172b896a51c15f358d3aabbcb66af837b54b2
refs/heads/master
2016-09-06T04:58:01.435002
2014-02-06T08:35:51
2014-02-06T08:35:51
9,260,830
0
0
null
null
null
null
UTF-8
Python
false
false
767
py
# -*- coding: utf-8 -*- from django import forms from django.utils.translation import ugettext as _ from gtag.utils import parse_tags, edit_string_for_tags class TagWidget(forms.TextInput): def render(self, name, value, attrs=None): if value is not None and not isinstance(value, basestring): v...
[ "indexofire@gmail.com" ]
indexofire@gmail.com
435f0cadae67eb085a100d70d110e1ead463855d
e650aa5af413034824847ef843f6c45b1ccb34cb
/dictionary/searchbase.py
053581a86dd6f0921c8e3e9ebbcdfba998f1ffbb
[]
no_license
thuan20132000/python_vieclam24h_v2
b6377615742c356efad6a87e1a4ef40d3eb40679
78be8530c3ebb8d5e95cd1668260c898f331df48
refs/heads/master
2023-03-23T08:56:23.110836
2021-03-17T17:38:56
2021-03-17T17:38:56
333,516,018
0
0
null
null
null
null
UTF-8
Python
false
false
10,011
py
import urllib.request from bs4 import BeautifulSoup import re import json import time from django.utils.text import slugify import requests # from models import Word_Definition from dictionary.SearchNearBy import SearchNearBy # from VocabularyController import VocabularyController # from dictionary.helper import dowlo...
[ "thuan20132000@gmail.com" ]
thuan20132000@gmail.com
7e7d78849397ec5faee47c288bf0c68f862e2741
a7852f9300ea737dd8584d28636cbbae90957aae
/4-6/load.py
f26e5b0954916a3b1d21b97e857fdc3623212346
[]
no_license
justCV/TensorFlow-Chinese-Tutorial
77c36fd18a196ced627c4a72f5577befcd8f291b
cddb6064bfe9e3b8d3177b869970332d9138d923
refs/heads/master
2021-06-03T03:12:32.233388
2016-10-10T03:26:36
2016-10-10T03:26:36
null
0
0
null
null
null
null
UTF-8
Python
false
false
3,050
py
# encoding:utf-8 # Python2 兼容 from __future__ import print_function, division from scipy.io import loadmat as load import matplotlib.pyplot as plt import numpy as np def reformat(samples, labels): # 改变原始数据的形状 # 0 1 2 3 3 0 1 2 # (图片高,图片宽,通道数,图片数) -> (图片数,图片高,图片宽,通道数) new...
[ "wangxuanzhealbert@gmail.com" ]
wangxuanzhealbert@gmail.com
104b4998183f65e0cf582dc98d3567e08ab64d65
d499472121517697fe723472a86a3245472ff551
/lib/auxcli/components/hardware/hat-waveshare-pn532-nfc/pn532/pn532.py
4664ffce1b0c5d04c8c94737c001f5cec5aa3224
[ "MIT" ]
permissive
casual-simulation/aux-cli
fc6fdc37ae102b458e673552863bb66c81bbb35f
9fe93605f032cd0f81afc4b48acb6eefcc3c455d
refs/heads/master
2022-11-20T12:26:30.485527
2022-11-11T17:33:01
2022-11-11T17:33:01
203,620,974
1
0
null
null
null
null
UTF-8
Python
false
false
25,488
py
# Waveshare PN532 NFC Hat control library. # Author(s): Yehui from Waveshare # Tony DiCola # # The MIT License (MIT) # # Copyright (c) 2019 Waveshare # Copyright (c) 2015-2018 Adafruit Industries # # Permission is hereby granted, free of charge, to any person obtaining a copy # of this software and associate...
[ "wesley@yeticgi.com" ]
wesley@yeticgi.com
093a6e492e954b5cdecba09acc2e71b2c709dc9d
eaeafd7bcb6ccab403cc5c2fbbef91da6a16ec10
/adventure/migrations/0001_initial.py
240e83ead9cf6dd235c89cd0eda8ad8a8748baa7
[]
no_license
CS25bw1mud/CS-Build-Week-1
af1347c5858e14c5e2a07344823121e823a8a004
15bbbc4aee325e48dbe605d86e2a18461e94d085
refs/heads/master
2020-12-26T22:40:44.098680
2020-02-06T18:42:45
2020-02-06T18:42:45
237,672,345
0
1
null
2020-02-07T16:16:36
2020-02-01T20:18:25
Python
UTF-8
Python
false
false
1,468
py
# Generated by Django 3.0.3 on 2020-02-03 21:20 from django.conf import settings from django.db import migrations, models import django.db.models.deletion import uuid class Migration(migrations.Migration): initial = True dependencies = [ migrations.swappable_dependency(settings.AUTH_USER_MODEL), ...
[ "blakegoms@gmail.com" ]
blakegoms@gmail.com