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
18ea9c1d548e6e3119b4684d8c530279484c3dbf
c29993dd92b361f316d43b9288ed60a9c685503b
/hw3/hw3_test.py
9abc8e0891e5b2329ffa1f5246b110fa812024cf
[]
no_license
Che-Cheng-Chang/ML2018SPRING
ec6185e687ebd6ae00f4c15fec4a93b3911f5674
fbaddbdea0fd9203fb5a8bd5de648d8106a3f195
refs/heads/master
2021-04-06T10:20:02.819713
2018-06-04T08:55:08
2018-06-04T08:55:08
125,029,492
0
1
null
null
null
null
UTF-8
Python
false
false
1,025
py
import os import math import csv import sys import numpy as np import pandas as pd import random from keras.models import load_model from keras.layers import * from keras.utils import np_utils, to_categorical from keras import applications def load_data(): Para = np.load(os.getcwd() + '/Para/Para.npy') path_test ...
[ "r06921002@ntu.edu.tw" ]
r06921002@ntu.edu.tw
d222e48fddce5d6ad25228562c1db53f5cd1aa8a
13df69a9f0d9cfa0344d6b05f9ed408211c26bf6
/game_num.py
c9d74de1ca8cda16beccaca975f8af7b77de9115
[]
no_license
A-Pustovalov/my_python
1e0b850d407a8c123b0f5ca6570b87cca94696cd
45bf8da039b3e65563b7dce3e59957f780b1502b
refs/heads/master
2020-07-28T07:51:55.055500
2019-10-31T09:12:54
2019-10-31T09:12:54
209,355,918
0
0
null
null
null
null
UTF-8
Python
false
false
131
py
l=input('vvod ')) f=list(l) d=0 for i in range(0,len(f)): if f[i]%2!=0: d=d+f[i]*f[i] print(d)
[ "noreply@github.com" ]
A-Pustovalov.noreply@github.com
e5748c3f5af2e72efb037bb2e3604c249722cf57
f96ec6d710d82b7774f49669646e36730470a18f
/DAMA/model/VGG16.py
3b4c180b0da8a61d61f061bf4bd6a6a6d2dd834e
[]
no_license
saqib22/Distributed_Deep_Learning_Inference
7134448d26bb133bc06ac7379fbeefe65c901cd3
93ee911a8dd541eac248fbb4a6550ba8e815b869
refs/heads/master
2023-08-10T21:02:21.475313
2021-09-15T14:24:54
2021-09-15T14:24:54
390,674,712
7
1
null
null
null
null
UTF-8
Python
false
false
3,857
py
import torch import torch.nn as tnn import torchvision.datasets as dsets import torchvision.transforms as transforms BATCH_SIZE = 10 LEARNING_RATE = 0.01 EPOCH = 50 N_CLASSES = 25 transform = transforms.Compose([ transforms.RandomResizedCrop(224), transforms.RandomHorizontalFlip(), transforms.ToTensor(), ...
[ "saqib.khan@visionx.io" ]
saqib.khan@visionx.io
799885b4f64b8eebfe298aca2f016e286bad19f0
a996556fe89a849a0481d158ecb7acd46ac6f51d
/saludar.py
8defac7172cdcec5b075bee564b6f69c45449ba8
[]
no_license
ricpelo/pro2021
2b0f1811709ed66f4bd6f3fe65f5ff15443f2cba
e4977bd378be89bd4de7c4645d41a5c1a73981ae
refs/heads/master
2023-05-07T13:50:54.628567
2021-05-17T19:22:38
2021-05-17T19:22:38
308,722,187
2
2
null
null
null
null
UTF-8
Python
false
false
41
py
import sys print('¡Hola!', sys.argv[1])
[ "ricpelo@gmail.com" ]
ricpelo@gmail.com
7e03000f563761c8e586bd6e9962786d75d8c028
4964e9e91f126a9677697ad7fa84c7f82919e85b
/frontend222.py
7e4c842672560f15e998eec5108657bd92066a0b
[]
no_license
ManuMaddali/Books-Handling-
9783ba4733cfca87d3931e0cb3957776c5e2c12d
cfb71c66070ea72a10660cd7ae6fa4ccc4dbfd93
refs/heads/master
2021-02-19T07:54:29.077003
2020-03-06T00:11:05
2020-03-06T00:11:05
245,293,057
0
0
null
2020-03-06T00:13:52
2020-03-06T00:02:39
Python
UTF-8
Python
false
false
3,657
py
from tkinter import * from backend import Database """ This program stores this book information: Title, Author Year, ISNB User can: View all records Search an entry Add entry Update entry Delete Close Created by: Manu Maddali """ database=Database("books.db") class Window(object): def __init__(self,window): ...
[ "noreply@github.com" ]
ManuMaddali.noreply@github.com
12e36a9742ff7dac2154b2aa130e31eacc716b26
a4c7a4361bbda9f1d21d6d370aca1823c3e54646
/ludmag/core/views.py
563fff079dfc629f054502b0120e5d4f3bd04baa
[]
no_license
ArheliCortes/Machtili-Web
5a44b1bf1681d0482a3c158c85025958595ea674
8296aafe791f5be99586765163cd27bf0a945a4c
refs/heads/master
2023-04-20T10:32:10.800072
2021-03-30T01:42:14
2021-03-30T01:42:14
286,372,193
2
0
null
null
null
null
UTF-8
Python
false
false
5,467
py
from django.shortcuts import render from django.shortcuts import HttpResponse from django.http import HttpResponseRedirect from django.conf import settings from django.contrib import messages from django.core.mail import EmailMultiAlternatives from django.core.mail import BadHeaderError from .form import * from .model...
[ "arhelicortes2303@gmail.com" ]
arhelicortes2303@gmail.com
1688dd2b8c92420cee33c33f22f960edc5375b31
e2c65159e811bab0679200c5ec4bed5fd452f146
/ietf/name/migrations/0025_add-important-dates.py
543e6d87db849c226f4bb05ce3d2453852207ce7
[ "BSD-3-Clause", "LicenseRef-scancode-unknown-license-reference" ]
permissive
ekr/ietfdb
f002078e60ddf11c96f91ad039afa4cfeb5fd792
8d936836b0b9ff31cda415b0a423e3f5b33ab695
refs/heads/master
2021-07-10T10:59:52.026021
2017-10-10T15:02:00
2017-10-10T15:02:00
106,584,040
0
0
null
null
null
null
UTF-8
Python
false
false
930
py
# -*- coding: utf-8 -*- # Generated by Django 1.10.7 on 2017-07-19 07:07 from __future__ import unicode_literals from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('name', '0024_merge_20170606_1320'), ] operations = [ migrations.CreateModel(...
[ "henrik@levkowetz.com@7b24d068-2d4e-4fce-9bd7-cbd2762980b0" ]
henrik@levkowetz.com@7b24d068-2d4e-4fce-9bd7-cbd2762980b0
fc4052ab38601e36aa49cbd726871d9c3e2817d4
ca5d2aeb93a5f197e722cb9a60d5c70b17a278cd
/scripts/mnist_prediction_test.py
8e377761e25449864cf541d37dbfde2fc277345e
[]
no_license
deerme/OCR-1
19b72d181e82c831e5a13a0beb4d3ace5dd475ef
73d7da2596c0f13c3fa6b5ef1c028c7620b35b22
refs/heads/master
2020-05-21T10:09:54.054518
2016-03-30T05:17:47
2016-03-30T05:17:47
null
0
0
null
null
null
null
UTF-8
Python
false
false
6,536
py
import sys import os import time import numpy as np import theano import theano.tensor as T import lasagne import matplotlib import matplotlib.cm as cm import matplotlib.pyplot as plt import matplotlib.image as img def load_image(filename): image = img.imread(filename) return image def load_dataset(): #...
[ "ouyangchenxing@hotmail.com" ]
ouyangchenxing@hotmail.com
ca1be87f60983fcd605bba51b1755c0b5cff3f9b
730e0b802daa7504d3dfb71802cb0a5990410f21
/recotakd/plugins/showmount/showmount.py
7763a52af3109055dd5f90854aa21c116d5e9930
[]
no_license
yashraj0077/recotak-framework
261dfe631255c5cbc7c0de56aca2484b04e586a9
2ccb5b378c0ca7bd2a550ac7f7190e1b6db1db0b
refs/heads/master
2021-05-28T06:11:02.452802
2015-01-11T17:57:53
2015-01-11T17:57:53
null
0
0
null
null
null
null
UTF-8
Python
false
false
7,562
py
#!/usr/bin/env python2 # Copyright (c) 2014, curesec GmbH # All rights reserved. # # Redistribution and use in source and binary forms, with or without modification, # are permitted provided that the following conditions are met: # # 1. Redistributions of source code must retain the above copyright notice, this list o...
[ "dash@recotak.org" ]
dash@recotak.org
8ca3a7e2ab27f5ce79805ab06ce8f49c81e9194c
797e52def2f0acd59dd14b1585892106a592e849
/setup.py
0274138e540a3a7ce0dd14ac6ff7103e6a32f1dd
[ "Apache-2.0" ]
permissive
bponsler/graph_goggles
b7fa4ab6efa4b29b1761553ad97ba19d228ae093
8d523bc1ec726d7147f3314dd783058f9830f24e
refs/heads/master
2021-01-16T19:08:14.087307
2017-08-13T00:13:08
2017-08-13T00:13:08
100,143,896
0
0
null
null
null
null
UTF-8
Python
false
false
858
py
#!/usr/bin/env python from distutils.core import setup # Make sure python_qt_binding is installed try: import python_qt_binding except: print "ERROR: missing requirement: 'python_qt_binding'" print print "Please install python_qt_binding and try again:" print print " sudo pip install python...
[ "ponsler@gmail.com" ]
ponsler@gmail.com
9a19b433dc0b84e14cd5e95095d3365ad3966b78
29b029f9c9bc1f5775c145d69471c9936688c172
/linkedin_jobs_scraper/utils/chrome_driver.py
1c2e5941f1479ba49f53eb4c158724816054820e
[ "MIT" ]
permissive
hypefi/linked_scrape
03e0f0d41b421668cbe4c1afee91a1c375c7ca44
7f7acdb9e31ac056882533567fdda9bb8d9cde90
refs/heads/main
2023-03-08T01:54:23.532350
2021-02-25T08:36:50
2021-02-25T08:36:50
341,243,647
1
0
null
null
null
null
UTF-8
Python
false
false
3,858
py
import urllib3 import json from selenium import webdriver from selenium.webdriver.common.proxy import Proxy, ProxyType from selenium.webdriver.chrome.options import Options from linkedin_jobs_scraper.utils.logger import debug def get_default_driver_options(width=1472, height=828, headless=True) -> Options: """ ...
[ "ludovico.fabbri@gmail.com" ]
ludovico.fabbri@gmail.com
c505b33ada2cdd7e0daf2cb5f9fe5a33ff8a9060
48fdb938f020c2297af7eb30736987aa90272e50
/baekjoon_online_judge/boj_11720_숫자의합.py
af75cc5a38b7d58fa4e2e9bc18d37cd85707ab43
[]
no_license
seventeeen/algorithm
6207016ef9449ee4bb36e6de31d68832b652c23d
b481a47880dcf52d96ec33f3118765325b5b5743
refs/heads/master
2021-01-19T12:04:32.293658
2017-05-10T10:04:03
2017-05-10T10:04:03
82,780,154
2
2
null
null
null
null
UTF-8
Python
false
false
234
py
""" * About * * Author: seventeeen@GitHub <powdragon1@gmail.com> * Date : 2017-02-22 * URL : https://www.acmicpc.net/problem/11720 * """ n=input() x=raw_input() result=0 for i in range(n): result+=int(x[i]) print result
[ "powdragon1@gmail.com" ]
powdragon1@gmail.com
e0e93d23204768c1ecf59fba66d9bd713d7a9644
e24d3952dd465b7172301963c0b7ffbacd39239b
/hellodjango/apps/brading/migrations/0002_auto__add_bookmark.py
a9b31c24a3db5b67219ad4236a029b7e8256f779
[]
no_license
shunt94/bradingwebsite
93ce7cdf85b27e70f438be6f397f953ba4cb6ee0
255893df09a559a061698805b90069b8fc282e15
refs/heads/master
2020-05-17T19:30:25.826267
2015-04-22T09:55:57
2015-04-22T09:55:57
38,458,705
0
0
null
null
null
null
UTF-8
Python
false
false
1,146
py
# -*- coding: utf-8 -*- from south.utils import datetime_utils as datetime from south.db import db from south.v2 import SchemaMigration from django.db import models class Migration(SchemaMigration): def forwards(self, orm): # Adding model 'Bookmark' db.create_table(u'brading_bookmark', ( ...
[ "conninie@gmail.com" ]
conninie@gmail.com
7495a5856afe6c41aa4534f15d4665d0edee3fb5
6044a811cb2861b4585f050a66c558ee7251ca81
/app/email.py
c8018ae9a0481007edab2edff35927301b4307ca
[]
no_license
th11011/simple_and_naive
120c0a04b8ea3f2105a743a14c443b3d272e069a
28e6d9fd4e967a569be6739dd3c35bace1f9ecf7
refs/heads/master
2021-01-11T16:00:01.667605
2017-01-23T18:32:41
2017-01-23T18:32:41
null
0
0
null
null
null
null
UTF-8
Python
false
false
462
py
#!/usr/bin/python # -*- coding:utf-8 -*- from flask.ext.mail import Message from . import mail from flask import render_template, current_app def send_email(to, subject, template, **kwargs): msg = Message(current_app.config['MAIL_SUBJECT_PREFIX'] + subject, sender=current_app.config['MAIL_SENDER'], recipients=[to...
[ "downwargers@163.com" ]
downwargers@163.com
4fe2c6f23229a13aa71de40bceb585c9181b2565
c2e02be39f3f8a656c3306c50173900b3b1cf8e1
/apps/upload/admin.py
06017a232f62a98fc6c2c26b3cc59055f386bdde
[]
no_license
big-jump/dumponus
45d1effa5dd03ff3fe64de706ba237180fe14c28
5fc465947d208e4c33a3354279c1a43716d74a6d
refs/heads/master
2020-07-26T22:26:55.605032
2011-01-21T03:23:09
2011-01-21T03:23:09
null
0
0
null
null
null
null
UTF-8
Python
false
false
189
py
from django.contrib import admin from upload.models import Upload class UploadAdmin(admin.ModelAdmin): list_display = ('name', 'type', 'ip') admin.site.register(Upload, UploadAdmin)
[ "tsopor@gmail.com" ]
tsopor@gmail.com
548fc6b49b5de48b04bcc9df9be399daa005a4fa
772ab1b286bf740cd2b8432dffbcb67cfc57890d
/venv/Lib/site-packages/plotly/version.py
4a37f9ba002680fc41c2cb27bd794b8e57ceba11
[ "Apache-2.0" ]
permissive
kteegarden/PollGraph
71eb18d6009317a3c69c1a7d3735a970c657f9a2
c16fbdbd7a1cd46da7d1cd7beb789d681c46ffaa
refs/heads/master
2020-04-22T02:03:33.228011
2019-06-23T01:08:21
2019-06-23T01:08:21
170,035,167
0
0
null
null
null
null
UTF-8
Python
false
false
448
py
__version__ = '3.6.0' __frontend_version__ = '^0.7.0' def stable_semver(): """ Get the stable portion of the semantic version string (the first three numbers), without any of the trailing labels '3.0.0rc11' -> '3.0.0' """ from distutils.version import LooseVersion version_components = Loo...
[ "kyle.tee@gmail.com" ]
kyle.tee@gmail.com
0a245ea678453d0cbb4d5623f0ce53e3474fbd80
979caf4e5c94d2b34db11b9099a1d3a33ee4b460
/graphplot.py
8d85d63db410ab05dcace35240ca48944403687c
[]
no_license
NorthernWilly/python_work
d7997baec68f2fd512e0b444c96485dd10bc93e4
bc0f4db91bf348e3e793e8e7cfcaed02d7e62383
refs/heads/master
2020-05-26T21:49:35.152010
2019-05-31T10:25:12
2019-05-31T10:25:12
188,386,880
0
0
null
null
null
null
UTF-8
Python
false
false
227
py
import matplotlib.pyplot as plt Year=[2010,2011,2012,2013,2014,2015] Rice=[1100,1300,1200,1600,1300,1400] plt.xlabel("Years") plt.ylabel("Rice Production") plt.title("Rice Production by Year") plt.plot(Year,Rice) plt.show()
[ "ianwilson2791@gmail.com" ]
ianwilson2791@gmail.com
4472217979bf09ca6d27d2ed299e2ede7b822ca2
4e38062fc1e34fc1e7b69d7a4aa4aca03f790a06
/tensorflow_probability/python/distributions/platform_compatibility_test.py
a63d72a45eeea66b51323da56d2af2bd4b476de6
[ "Apache-2.0" ]
permissive
Sayam753/probability
c39fd5d37bc8d64fca26eda77f99f0f390d29cce
3975ea01f182fd80d65cd5a32e8dba29eb1caf00
refs/heads/master
2021-08-07T07:46:27.635928
2021-01-15T18:08:32
2021-01-15T18:09:53
239,078,542
0
0
Apache-2.0
2020-02-08T06:05:28
2020-02-08T06:05:28
null
UTF-8
Python
false
false
19,176
py
# Copyright 2018 The TensorFlow Probability Authors. # # 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 o...
[ "gardener@tensorflow.org" ]
gardener@tensorflow.org
65f42ab02ee5ed689c58d40b096a17724d9d856d
5a84837ef0b45f575dc4eddb36fe327d7e38f47a
/app_events/models.py
1fb6eff714a888aa5916c62b7fc738cbcf808480
[ "MIT" ]
permissive
adamdubey/py-microservice-webapp-demo
2281fa1e65834907dd93583f212d6fcb2823273b
d96154248fe5068cab208d83b9736dab3403b566
refs/heads/main
2023-07-19T11:00:58.085757
2021-09-08T21:16:56
2021-09-08T21:16:56
402,856,480
0
0
MIT
2021-09-08T21:16:57
2021-09-03T17:56:16
null
UTF-8
Python
false
false
556
py
import uuid from django.db import models class Event(models.Model): slug = models.SlugField(unique=True, blank=False, null=False, editable=False, max_length=50) title = models.CharField(max_length=255, null=False, blank=False) description = models.TextField(null=False, blank=False) date = models.DateFi...
[ "adubey0311@gmail.com" ]
adubey0311@gmail.com
ad09a2bc7ba7734593be31f383df4a8513a517fa
544cfadc742536618168fc80a5bd81a35a5f2c99
/tools/test/connectivity/acts_tests/tests/google/power/tel/PowerTelIdle_UMTS_Test.py
7af7fea242b64d457bf21044ade7a85f9228de38
[]
no_license
ZYHGOD-1/Aosp11
0400619993b559bf4380db2da0addfa9cccd698d
78a61ca023cbf1a0cecfef8b97df2b274ac3a988
refs/heads/main
2023-04-21T20:13:54.629813
2021-05-22T05:28:21
2021-05-22T05:28:21
null
0
0
null
null
null
null
UTF-8
Python
false
false
997
py
#!/usr/bin/env python3 # # Copyright 2018 - The Android Open Source Project # # 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 # # ...
[ "rick_tan@qq.com" ]
rick_tan@qq.com
2244af3de04361fe846534ff8517f5b89c373d8d
4b5ce2383b8b7f47a85397fb6f1bf185df047606
/4-20mA_G2.py
395e763f5db3404ff9c7c827d1b4ba580ee769a6
[]
no_license
bhaskar-anil429/Onion-Omega-2-4-20mA-Current-Receiver
40a79cbae226f504bfb9aa8a18928ce1e1780774
753c4e25c057201a666f53f8e926fdb3e5d4bee5
refs/heads/master
2021-06-21T01:55:31.990771
2017-08-18T15:54:20
2017-08-18T15:54:20
100,283,491
2
0
null
null
null
null
UTF-8
Python
false
false
8,821
py
# Distributed with a free-will license. # Use it any way you want, profit or free, provided it fits in the licenses of its associated works # MCP3428 # This code is desig...
[ "noreply@github.com" ]
bhaskar-anil429.noreply@github.com
1d8ca42dd844396a7c688f012a918bd42f06991e
33f8856fa758db4a9f554277431b438188b91f3a
/squdata/urls.py
edc7b09736d7b7960f656ed4f99473c05d95c3d2
[]
no_license
chensiyuan0214/Squirrel-Project
1fac14fc7d86d83d4e33eb20209bc82ca5cda094
51ba8078363302ca75475e133154f18015caa0b0
refs/heads/master
2022-03-26T20:19:00.613052
2019-12-05T23:40:06
2019-12-05T23:40:06
null
0
0
null
null
null
null
UTF-8
Python
false
false
863
py
"""squirreltracker URL Configuration The `urlpatterns` list routes URLs to views. For more information please see: https://docs.djangoproject.com/en/3.0/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') Cla...
[ "yongyizhao@Yongyis-MBP.cable.rcn.com" ]
yongyizhao@Yongyis-MBP.cable.rcn.com
40433806d7b2af76197c94b0a993f5a6137ad47e
2ee222d6988cdea7da1a71bdcc7755e544c95d1a
/tempest/services/compute/json/security_group_default_rules_client.py
6d298373192c3aa6233b3a4919c23615a19a85e0
[ "Apache-2.0" ]
permissive
Mirantis/tempest
b0747cdb943505c9f48dde6caf5fad7b87df662e
ae7e033fef80f2a4728a13bba18123f6fe32839a
refs/heads/master
2021-01-16T19:06:25.564538
2014-08-18T13:43:17
2014-08-18T13:43:17
3,309,678
3
0
Apache-2.0
2020-02-26T11:41:07
2012-01-30T22:39:06
Python
UTF-8
Python
false
false
2,960
py
# Copyright 2014 NEC Corporation. # All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); you may # not use this file except in compliance with the License. You may obtain # a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required...
[ "ghanshyam.mann@nectechnologies.in" ]
ghanshyam.mann@nectechnologies.in
cd4840afd5e0a89f9035ab55bc86e721ef4ae5ed
798abf905b3adf4a12d4f03589f71dfe2fdad6d8
/blogproject/blog/models.py
cf7a0e8c3ca6c581cf9375d7a06887fd3eb6e83d
[]
no_license
javedattar99/blog-project
eda4c604bd2350e510c5d64c355c9308a9963d89
c3cd595719b8b1c12c764baf8d8980ebe714dd99
refs/heads/master
2021-05-18T00:09:43.044909
2020-03-29T11:24:20
2020-03-29T11:24:20
251,017,130
0
0
null
null
null
null
UTF-8
Python
false
false
1,769
py
from django.db import models from django.contrib.auth.models import User from django.utils import timezone from django.urls import * from taggit.managers import TaggableManager # Create your models here. class CustomManager(models.Manager): def get_queryset(self): return super().get_queryset().filter(sta...
[ "javedattar99@gmail.com" ]
javedattar99@gmail.com
4a728295c3a472fc80f7a3207565e655f337be70
5d906e7ef93c289ab1864cc9607f7d5af2e41684
/Goat Latin.py
0d4208327ccb28a1892bf6158fe86c3bca5acefd
[]
no_license
hsinhuibiga/August
09fff55fa80dc4fc72421477dc3d4c3c23ab6ae8
aeda268e6583b60275a361793bda3343f6994a59
refs/heads/master
2022-12-12T16:17:05.138127
2020-09-02T16:13:27
2020-09-02T16:13:27
284,263,057
0
0
null
null
null
null
UTF-8
Python
false
false
526
py
#Goat Latin class Solution(object): def toGoatLatin(self, S): """ :type S: str :rtype: str """ vowels = ['a', 'e', 'i', 'o', 'u', 'A', 'E', 'I', 'O', 'U'] words = S.split(' ') new_words = [] for i, word in enumerate(words): if word[0] in v...
[ "noreply@github.com" ]
hsinhuibiga.noreply@github.com
9a86b4989b2c27732d9bee9417a7f53863026ae3
75c5bc4c44774ab1844c749fef8a07834b55d345
/wiki/migrations/0001_initial.py
8f8df634ab9b0c6b783cbbd37a5ebf1be213741f
[]
no_license
3kwa/django-wiki
f928673d7671882a21fcc22757cc9391caf0a34a
6333ec5ec4e5cc9f063769d37ab16a933ec70260
refs/heads/master
2020-04-06T03:35:10.972937
2012-05-08T07:19:04
2012-05-08T07:19:04
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,083
py
# -*- coding: utf-8 -*- import datetime from south.db import db from south.v2 import SchemaMigration from django.db import models class Migration(SchemaMigration): def forwards(self, orm): # Adding model 'Page' db.create_table('wiki_page', ( ('id', self.gf('django.db.models.fields.Aut...
[ "eugene.vandenbulke@gmail.com" ]
eugene.vandenbulke@gmail.com
6e5fc815cf54f78ce4ea6c2cf2747addd77f84d4
0b85dfc5dc873b138653312c93fcd0c3edab9e07
/tools/indicators/__init__.py
16360f23f0f5c6818648c3a3118912c5ec65b7cf
[ "Apache-2.0" ]
permissive
openself/TradzQAI
7891247ea6ff4b299d4fc01ff8c209e8eb8481ab
e63202df74f8820d32df5a8d1111fb25025a191f
refs/heads/master
2020-03-16T16:30:25.446362
2018-05-07T17:09:42
2018-05-07T17:09:42
null
0
0
null
null
null
null
UTF-8
Python
false
false
41
py
from .build_indicators import indicators
[ "awakeproduction@hotmail.fr" ]
awakeproduction@hotmail.fr
d62080b3a759cf30a52a107aa1608fd1699e6488
0c6f7cd441dfe45b734dfc9711666ce0a41c8ead
/16a.py
36ffb7cabf3122d23121994cd01434e046311c46
[]
no_license
parapente/AoC2017
5672f34bec5639c79c003b30da031c1e9fce4e3a
11a6e694eff170ae55374c24c959ffae37007f95
refs/heads/master
2020-04-23T17:45:32.687450
2019-02-18T19:31:08
2019-02-18T19:31:08
171,343,480
0
0
null
null
null
null
UTF-8
Python
false
false
905
py
#!/usr/bin/python3 prog = [] for i in range(16): prog.append(chr(ord('a') + i)) with open('16.dat') as f: data = f.read() data = data.rstrip() moves = data.split(',') print("Starting pos: ", prog) for move in moves: cmd = list(move) if cmd[0] == 's': # Spin num = int(''.join(cmd[1:])) ...
[ "int.teo@gmail.com" ]
int.teo@gmail.com
ee539696d58ae256e4f69f6a983ed29e654579ae
966a6cad2bb800583aaaaae38fdddd2696abbe96
/users/migrations/0002_auto_20190824_1213.py
1c30d64ed9596a121fb2b5a5b2d877f00c35273d
[ "MIT" ]
permissive
ispmor/space_reservation_system
a2e791161eedddfdc02769ac9cd116795bb560cd
459843c94bad82110a532db6e16d1075bc88f39b
refs/heads/master
2022-12-11T12:38:10.491789
2019-10-08T19:04:45
2019-10-08T19:04:45
186,705,958
0
1
NOASSERTION
2022-12-08T06:36:33
2019-05-14T21:53:36
Python
UTF-8
Python
false
false
1,433
py
# Generated by Django 2.2 on 2019-08-24 12:13 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('users', '0001_initial'), ] operations = [ migrations.AddField( model_name='customuser', name='archived', f...
[ "jbryl7@gmail.com" ]
jbryl7@gmail.com
7236e834838fb0c1a6b2fd9f74564bf7db4c7838
7e96ffa77f62b6b085c5da1bc583399d42955096
/Interface/bottleneck_manually.py
e0a73bb866ad0c2e7271a63c90d355f42d726f9d
[]
no_license
SumantSakhalkar/hotNAS-CODES20
0c18686f3a00ff7f188476e96cde00d7e0f70db3
44ad9e37b0ee477bbe9b78dda486d49272cb40e9
refs/heads/master
2022-12-11T17:57:46.069796
2020-08-31T20:04:53
2020-08-31T20:04:53
null
0
0
null
null
null
null
UTF-8
Python
false
false
11,040
py
from torchvision import models from torchvision.models import * from torch import nn import torch import sys import math sys.path.append("../Performance_Model") sys.path.append("../") import cifar10_models import PM_Config import PM_Layer import PM_FPGA_Template from search_space import * from CONV_PM_IF import * impo...
[ "jiang.wwen@gmail.com" ]
jiang.wwen@gmail.com
12ee8ccb3fb5c7f285ab4ea4e1f23ef93bccf793
7970b23786e3266fcef19898506666345aa61895
/myself/northernlights/northernlights/settings.py
1fdd305250d381f86eac577bd994aba4c7d23980
[]
no_license
hikaruendo/django
16703924d0cbb811ebcce048016a1a2dca94ebbc
bceb77784bb4aace149e623cf79d7ee49caad6d2
refs/heads/master
2020-04-07T23:12:25.439499
2018-12-03T10:25:30
2018-12-03T10:25:30
158,788,023
0
0
null
null
null
null
UTF-8
Python
false
false
3,246
py
""" Django settings for northernlights project. Generated by 'django-admin startproject' using Django 2.1.2. For more information on this file, see https://docs.djangoproject.com/en/2.1/topics/settings/ For the full list of settings and their values, see https://docs.djangoproject.com/en/2.1/ref/settings/ """ impor...
[ "hika.blue91@gmail.com" ]
hika.blue91@gmail.com
c0ea5bd89da5ab7c7d8075fedbc8eae7fedd937b
66f2dbe83d8ddd8a3dc323e1414ffb7534074c55
/zajecia 11/Function.py
e5acfc0e0fbc5056da0e0a6ea2d5c08e96ca328b
[]
no_license
Kebsiula2007/Klasa-2
13fc5f9c161248fd9792f6d76bbbd18df818bec9
ab85b4181f6af45b7d609fd7d90def777e4b83e9
refs/heads/master
2023-08-10T17:28:33.337111
2021-06-07T20:47:36
2021-06-07T20:47:36
307,505,869
0
0
null
null
null
null
UTF-8
Python
false
false
156
py
from abc import ABC class Function(ABC): @classmethod def create_function(cls, **kwargs): raise Exception("Something went wrong.")
[ "noreply@github.com" ]
Kebsiula2007.noreply@github.com
d8fab346d521cb6463e34992254d59013c61b259
6883889c573014cb0b51d56073fa50aff9a37e89
/sr_pdc_management/models/pdc_payment.py
0d0d5b5a6a6ded9e12c1c0b7c60bb99940d1eba5
[]
no_license
dionisiotorres/ATPM
4bff421dd26f92a63d49549e5385d2b87a79c3c5
7b38a39dba277854171ac98c9530b9e09c1b08b0
refs/heads/master
2022-11-30T01:44:54.019996
2020-05-14T15:39:51
2020-05-14T15:39:51
285,966,205
0
1
null
null
null
null
UTF-8
Python
false
false
34,966
py
# -*- coding: utf-8 -*- ############################################################################## # # This module uses OpenERP, Open Source Management Solution Framework. # Copyright (C) 2017-Today Sitaram # # This program is free software: you can redistribute it and/or modify # it under the terms of ...
[ "jawaid94@outlook.com" ]
jawaid94@outlook.com
84cb99ebac76ac20f4051bfe5540a4f52fcc2d3d
6e6ba2da921bd63d60c8f8ff1a0b181d2584dd3f
/rock_paper_scissor.py
80cbaca5d39cd371358515225aa6ab901fc7f604
[]
no_license
SohailHaqyar/Python-Games
85409dc06547c72e5cdf3155446d7e647178dce8
d5dca446be33a98418d4bacb534dfc1b71f4cdab
refs/heads/main
2023-06-19T23:35:42.794656
2021-07-21T15:09:20
2021-07-21T15:09:20
388,156,251
0
0
null
null
null
null
UTF-8
Python
false
false
988
py
import random user_wins = 0 computer_wins = 0 options = ["rock", "paper", "scissors"] while True: user_input = input('Type Rock/Paper/Scissors or Q to quit: ').lower() if user_input == 'q': break if user_input not in options: continue random_number = random.randint(0, 2) # rock:...
[ "haqyarsohail@gmail.com" ]
haqyarsohail@gmail.com
3998d75cb6c814054e8b7112f74ffd8040e33b79
9df2fb0bc59ab44f026b0a2f5ef50c72b2fb2ceb
/sdk/network/azure-mgmt-network/generated_samples/local_network_gateway_create.py
142a0b77bdf2d6d39ea9b095884f701e7e844cfa
[ "MIT", "LGPL-2.1-or-later", "LicenseRef-scancode-generic-cla" ]
permissive
openapi-env-test/azure-sdk-for-python
b334a2b65eeabcf9b7673879a621abb9be43b0f6
f61090e96094cfd4f43650be1a53425736bd8985
refs/heads/main
2023-08-30T14:22:14.300080
2023-06-08T02:53:04
2023-06-08T02:53:04
222,384,897
1
0
MIT
2023-09-08T08:38:48
2019-11-18T07:09:24
Python
UTF-8
Python
false
false
1,867
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. # Changes may ...
[ "noreply@github.com" ]
openapi-env-test.noreply@github.com
8101896bd5492cdcabf2ae1004c54432dc1ed030
982d2ab45497796ecfddc644c5d77ea65de96a69
/ms/tpl.py
04c9221979946ea012e79dc40032a2a6c96e7d3c
[]
no_license
richardhaslam/dfn
0701893dc859548d9465227c2e5ef849aa188a93
60ef114ea1dc14ec46253706f3d5bab38d62ae15
refs/heads/master
2022-02-15T21:55:29.080808
2019-07-29T07:29:34
2019-07-29T07:29:34
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,163
py
import numpy as np class TPL: def __init__(self, k, l_boundary, h_boundary, r_0): self.k = k self.l_boundary = l_boundary self.h_boundary = h_boundary self.f_0 = -(r_0 ** k) self.r_0 = r_0 def rnd_number(self, size=1): """ :param size: :return:...
[ "martin.spetlik@tul.cz" ]
martin.spetlik@tul.cz
9292505eebb12c126697dbd91edc35acde689b27
e5a86ca7675a0979109439bd5290401ff14e1de3
/src/capra_lidar/scripts/max_range.py
875075f5fcefc8496af4e9e585adcebe0670ed0d
[]
no_license
clubcapra/urial-DEPRECATED
eaf7bd26b7e00f11217cf09d852f2f309eb7805b
e367cc1e9d161bf67690815989b51936eedad232
refs/heads/master
2021-06-17T20:39:23.996432
2017-05-31T16:20:57
2017-05-31T16:20:57
62,470,305
0
0
null
null
null
null
UTF-8
Python
false
false
759
py
#!/usr/bin/env python import rospy from sensor_msgs.msg import LaserScan from math import * def scan_cb(msg): new_range = [] new_intens = [] for i in range(len(msg.ranges)): if msg.ranges[i] < 0.001 or isnan(msg.ranges[i]): new_range.append(19.0) new_intens.append(500.0) ...
[ "log@clubcapra.com" ]
log@clubcapra.com
1e4e1bbe0b1043fada3a979412a97bb3f8a9daa1
f639401226c6bfc8261585ce51707412d7458ac3
/ml_challenge/task/submission.py
85360eeb9b7260328c0d308badea73fe1ad3ddeb
[ "MIT" ]
permissive
fernandocamargoai/ml-challenge-2021
7d4ce1ba0db49b14cf6cf69979ffc37c6795a6b1
7ae082aeb2fe7674956e309afedbd25464d71525
refs/heads/main
2023-08-13T20:27:24.754402
2021-09-20T21:46:53
2021-09-20T21:46:53
392,701,152
1
0
null
null
null
null
UTF-8
Python
false
false
11,332
py
import functools import gzip import json import os from functools import cached_property from multiprocessing import Pool from typing import Union, Tuple import luigi import numpy as np import torch import pytorch_lightning as pl from gluonts.model.forecast import SampleForecast from sklearn.preprocessing import MinMa...
[ "fernando.camargo.ai@gmail.com" ]
fernando.camargo.ai@gmail.com
81f695120dd47b9cf4268ab582afdda4d242ed6c
2dd560dc468af0af4ca44cb4cd37a0b807357063
/Leetcode/350. Intersection of Two Arrays II/solution2.py
f182622aef3131704a5a6758d3105da6619b19e0
[ "MIT" ]
permissive
hi0t/Outtalent
460fe4a73788437ba6ce9ef1501291035c8ff1e8
8a10b23335d8e9f080e5c39715b38bcc2916ff00
refs/heads/master
2023-02-26T21:16:56.741589
2021-02-05T13:36:50
2021-02-05T13:36:50
null
0
0
null
null
null
null
UTF-8
Python
false
false
358
py
from collections import Counter class Solution: def intersect(self, nums1: List[int], nums2: List[int]) -> List[int]: counter1 = Counter(nums1) counter2 = Counter(nums2) result = [] for n in counter1: if n in counter2: result.extend([n] * min(counter1[n]...
[ "info@crazysquirrel.ru" ]
info@crazysquirrel.ru
0e7a5e166ace9aa0ff742c52fb7cd5755f39db37
9ec99e190c21510d81b9322f1ce7b8f20a7778e3
/knots_package/image_loaded.py
091df1dc5dcac7037114267c376f2d540a60a36f
[]
no_license
SanSunB/image_processing
823955b1e60a631bbabe9f8b2d2ce081d79b598e
e77ce29db8cfa49975ba6a157448565f8cf66148
refs/heads/master
2023-01-13T04:58:11.596637
2019-09-14T08:12:58
2019-09-14T08:12:58
176,768,020
2
0
null
2023-01-07T09:16:27
2019-03-20T15:52:44
TypeScript
UTF-8
Python
false
false
2,072
py
from Image import Image import cv2 # Opencv class ImageLoaded(Image): """ Image class for images that are loaded from a preexisting file. Read the image, get its size and create a 2 dimention list with the pixels color values. """ def __init__(self, image_name): """ While Creating the class ...
[ "sanbitan3@gmail.com" ]
sanbitan3@gmail.com
ae8adedd44e0bd5952e608bbe65b84e69da3afd0
14108cdee11a087d62b81c4bdf2c5f837b53d908
/loophole/polar/pb/errors_pb2.py
e9c3740e6b995d1e5ce878d1ab57f2937e4446ed
[ "MIT" ]
permissive
edeckers/loophole
66657d20ca5cf5c10c1ba59cd9f584ca691a6cb9
38fd9226148543e32b6b9582eb52fc4582e1fb2f
refs/heads/master
2022-07-05T13:24:35.201208
2018-10-29T06:47:58
2018-10-29T06:47:58
262,670,158
0
0
MIT
2020-05-09T22:28:30
2020-05-09T22:28:29
null
UTF-8
Python
false
true
4,622
py
# Generated by the protocol buffer compiler. DO NOT EDIT! # source: errors.proto import sys _b=sys.version_info[0]<3 and (lambda x:x) or (lambda x:x.encode('latin1')) from google.protobuf import descriptor as _descriptor from google.protobuf import message as _message from google.protobuf import reflection as _reflec...
[ "roscoe@o2.pl" ]
roscoe@o2.pl
e297f2e3273abeeab6846620b94d0f20bd6b724b
f06ddca5258290a1e7448a18e1d24a9d20226fbd
/pytext/metric_reporters/metric_reporter.py
f187b76d041b1d1f730283c2cf7fde5d9be476af
[ "BSD-3-Clause" ]
permissive
mruberry/pytext
6d64bc37429e3dd5581e5b3b6bf60bd216b6f445
3bba58a048c87d7c93a41830fa7853896c4b3e66
refs/heads/master
2022-07-16T07:41:47.781126
2020-05-14T04:52:35
2020-05-14T04:54:33
263,892,770
2
0
NOASSERTION
2020-05-14T11:11:33
2020-05-14T11:11:32
null
UTF-8
Python
false
false
10,861
py
#!/usr/bin/env python3 # Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved from typing import Dict, List import numpy as np import torch from pytext.common.constants import ( BatchContext, DatasetFieldName, RawExampleFieldName, Stage, ) from pytext.config.component import Component, ...
[ "facebook-github-bot@users.noreply.github.com" ]
facebook-github-bot@users.noreply.github.com
58db9e29c075f0fe4ea8121514f0d827b5087a30
7193f9861329a35841a7689a1976f4a27b42cc1a
/app/coffee/crud.py
eca42bf98e216078c64504b7ecfd5e1846362452
[]
no_license
amosctlee/coffee-fastapi
d83c3ce797d6a6ff863b634cfae7314564534bb2
1cd928993a22c74aca439fe92f1ba13939eb8fb3
refs/heads/main
2023-06-26T20:57:44.439876
2021-08-01T14:33:22
2021-08-01T14:33:22
391,388,886
0
0
null
null
null
null
UTF-8
Python
false
false
1,907
py
from sqlalchemy.orm import Session from . import models, schemas from . import dependencies def get_user(db: Session, user_id: int): return db.query(models.User).filter(models.User.id == user_id).first() def get_user_by_email(db: Session, email: str): return db.query(models.User).filter(models.User.email =...
[ "amosctlee@gmail.com" ]
amosctlee@gmail.com
6ebe8a7700fc7db88c936ba1a15805eaeefbb421
ab7a491ebc0a6694f65c52203b51e2f449072815
/contents/2020/03/basic-2/solution.py
e1783c572456ddb5cfd0fe28391caf2593b711a2
[]
no_license
EEIC-Algorithms/marine
fede3954ac3fb4576cbc7a082a9609d13ebb738e
3c9f11e9d24eabf3c1eff00e21bcc39942b0c7fd
refs/heads/master
2023-04-02T03:25:49.678602
2021-04-05T03:58:29
2021-04-05T03:58:29
242,078,935
0
0
null
2021-04-05T03:58:30
2020-02-21T07:23:58
JavaScript
UTF-8
Python
false
false
349
py
N = int(input()) A = list(map(int, input().split())) Q = int(input()) for _ in range(Q): x = int(input()) lv = -1 rv = N while rv - lv > 1: mid = (rv + lv) // 2 if A[mid] >= x: rv = mid else: lv = mid pos = rv if pos == N: print("No") else: if A[pos] == x: print("Yes"...
[ "yuji9511yuji@gmail.com" ]
yuji9511yuji@gmail.com
2517301e417f5d9dfd6aefda32ef2714ad4697d1
d60a084c3ff66b4ecb36e3ade75a64d70aed38ed
/tests/test_entities.py
b735116616861c331110e4c5e15c8bbbfa2a579c
[ "MIT" ]
permissive
pjf02536-2/hubitat
f8e9f92560c052f0857ce6543d7ddc4b93f55e13
f55d263b3cbeb3cbc27983bfe11fc8e3e7d9a8af
refs/heads/master
2023-07-01T10:35:14.331551
2021-08-06T18:39:41
2021-08-06T18:39:41
393,467,889
1
0
null
null
null
null
UTF-8
Python
false
false
3,390
py
from asyncio import Future from typing import Awaitable, Dict, Optional from unittest.mock import NonCallableMock, call from custom_components.hubitat.device import Hub from hubitatmaker import Device from pytest_homeassistant_custom_component.common import Mock, patch from homeassistant.config_entries import ConfigE...
[ "jason@jasoncheatham.com" ]
jason@jasoncheatham.com
b92ea734fdc2ebe4df06501f70b001526d9ba975
3554907b188ffa4d7f750c7035fa1842b13ce3ac
/Archive/LPBB-ECS-17-2-20/BSMolf.py
01ac84ffc0f871a2de4eb7f5d21b31cc5dd5595d
[]
no_license
MAly79/PhD-Code
4720741f0fc82e783b5cac90bcde30f60b835f96
203f221277bffcb5e0fdabf9e22b5f1a1131dd23
refs/heads/master
2020-09-06T17:49:08.656115
2020-05-12T04:12:12
2020-05-12T04:12:12
220,500,531
0
1
null
null
null
null
UTF-8
Python
false
false
2,104
py
# This is a python script that will generate a LAMMPS molecule file for use in # Polymer Brush import numpy as np def BSMolf(n_m): # Number of atoms to create along the main chain #n_m = 10 # Number of atoms on the side chains n_s = 0 # Number of atom types Ntype = 1 # Write LAMMPS dat...
[ "maa4617@ic.ac.uk" ]
maa4617@ic.ac.uk
1127e95ffd19edac9b2fb33082a31628b3e8c91e
22209fb76ba21a2c381e6bacbeb21d9fa0d92edb
/Mundo01/Exercicios/venv/Scripts/pip-script.py
300ff616a4d0b49a200ca98c67ac0576388d4ef4
[ "MIT" ]
permissive
molonti/CursoemVideo---Python
cfba0bd1824f547b24cf216811b1447160a47bd5
4f6a7af648f7f619d11e95fa3dc7a33b28fcfa11
refs/heads/master
2021-05-21T08:09:52.031493
2020-04-03T02:22:05
2020-04-03T02:22:05
252,613,245
0
0
null
null
null
null
UTF-8
Python
false
false
421
py
#!C:\Users\Molon\Documents\CursoemVideo\Exercicios\venv\Scripts\python.exe # EASY-INSTALL-ENTRY-SCRIPT: 'pip==19.0.3','console_scripts','pip' __requires__ = 'pip==19.0.3' import re import sys from pkg_resources import load_entry_point if __name__ == '__main__': sys.argv[0] = re.sub(r'(-script\.pyw?|\.exe)?$', '', ...
[ "molonti@gmail.com" ]
molonti@gmail.com
573b280a471fd51baab60b29258cfde7cfc3bf85
475e2fe71fecddfdc9e4610603b2d94005038e94
/Amazon/RotateMatrix.py
6f1e68efc82f49d8cba50273d17bf54689f8df40
[]
no_license
sidhumeher/PyPractice
770473c699aab9e25ad1f8b7b7cd8ad05991d254
2938c14c2e285af8f02e2cfc7b400ee4f8d4bfe0
refs/heads/master
2021-06-28T20:44:50.328453
2020-12-15T00:51:39
2020-12-15T00:51:39
204,987,730
0
0
null
null
null
null
UTF-8
Python
false
false
716
py
''' Created on Oct 22, 2020 @author: sidteegela ''' # Technique: Transpose and then reverse # Time Complexity: O(n ^ 2) def rotateMatrix(ipList): if len(ipList) == 0: return n = len(ipList[0]) # Transpose- rows to columns, columns to rows for i in range(n): for j in range(i, n):...
[ "sidhumeher@yahoo.co.in" ]
sidhumeher@yahoo.co.in
0ae9e3303c4ba207a4417d48d6b17265799b8907
268bb9bbd6d3ebc031393e24322efd53b49a97c7
/tests/v0x01/test_controller2switch/test_stats_reply.py
b4650b51c15cd2a969c18f11b1d5ce15741bdbce
[ "MIT" ]
permissive
smythtech/python-openflow-legacy
ba84303f18de9b10b7372e01808f11f0b3c006a1
f4ddb06ac8c98f074c04f027df4b52542e41c123
refs/heads/master
2020-03-17T15:45:12.455272
2018-05-16T21:40:14
2018-05-16T21:40:14
133,722,727
0
0
null
null
null
null
UTF-8
Python
false
false
905
py
"""Test for StatsReply message.""" import unittest from pyof.v0x01.controller2switch import common, stats_reply class TestStatsReply(unittest.TestCase): """Test for StatsReply message.""" def setUp(self): """Baisc Test Setup.""" self.message = stats_reply.StatsReply() self.message.he...
[ "dylan@admin-dell.admin-dell" ]
dylan@admin-dell.admin-dell
7ae6d710e82aefe54d71e6d7ec88ee6ecf317f9a
c6eecca574102fc8f9363f541fad6db174ed7120
/utilities/get_hostname.py
693c1d6027053882275c360a7e9e5dddde3d60dd
[]
no_license
kapeed2091/ib-binderhub
cb554af29eec645e13f1777e774a6d386bb68ce7
79f4442c93a68b099a88c389879d92fa843a6c0e
refs/heads/master
2020-11-28T16:37:09.967492
2019-12-24T08:25:20
2019-12-24T08:25:20
229,870,147
1
0
null
null
null
null
UTF-8
Python
false
false
112
py
def get_hostname(): import socket hostname = socket.gethostname() return hostname.strip('Jupyter-')
[ "kapeed2091@gmail.com" ]
kapeed2091@gmail.com
877410fe0c3d1fd8e247aab224fa96df43f6e0de
134f1789e55b3765ac61149fe34f46e070d941a8
/fileshow/apps.py
338224e91bcaf9a3ec69560de311cdff4013f3a0
[ "MIT" ]
permissive
sty16/django-educational-website
ef7d77b2b1fe0c21cda82094b04e95724ca69a92
741925af23485d7c0ea9a8553646fc5b5af75258
refs/heads/master
2022-12-12T13:30:22.908952
2019-11-21T02:52:51
2019-11-21T02:52:51
232,685,249
0
0
MIT
2022-12-08T06:17:42
2020-01-09T00:10:00
JavaScript
UTF-8
Python
false
false
91
py
from django.apps import AppConfig class FileshowConfig(AppConfig): name = 'fileshow'
[ "2016011130@secoder.net" ]
2016011130@secoder.net
108a4675176acb256c9c588c2575f3f3b78ae495
12b0b03af690db63fef63a390afa07f09c5719a3
/flask/app.py
2c5be457514d3853022c8d1827eb9321a1979d75
[ "MIT" ]
permissive
anshulsingh8101/book-recommendation-system
deb27327fc6e1e6bdf9e58bbcf00377191f2d901
8c40af1c49d84699f1aa6672179d903220614ab4
refs/heads/master
2022-03-13T12:30:57.410222
2019-12-03T23:25:40
2019-12-03T23:25:40
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,361
py
# https://stackoverflow.com/questions/41487473/nameerror-name-request-is-not-defined # https://stackoverflow.com/questions/34704997/jquery-autocomplete-in-flask # https://kite.com/python/docs/flask.jsonify import json import flask from api import BookSimilarity app = flask.Flask(__name__) booksim = BookSimilarity() ...
[ "KasumiL5x@gmail.com" ]
KasumiL5x@gmail.com
9a405e58c20f5998b280c0d03f6836e4a065abf4
2a2d1fb9de3896655ed715c423dfdf5b4ad7b403
/bar.py
22a3cfe76085c1f7ee569041d7e8ec586f296008
[]
no_license
Varian72/prak
78e6ede698c6dc4f12d1e1277ef430d81837a930
3bd72069c278b6beccd671a387612d2066695416
refs/heads/master
2021-07-20T06:51:03.202819
2017-10-29T18:35:24
2017-10-29T18:35:24
104,173,533
0
0
null
null
null
null
UTF-8
Python
false
false
1,391
py
# -*- coding: utf-8 -*- # Form implementation generated from reading ui file 'bar.ui' # # Created by: PyQt4 UI code generator 4.11.4 # # WARNING! All changes made in this file will be lost! from PyQt4 import QtCore, QtGui try: _fromUtf8 = QtCore.QString.fromUtf8 except AttributeError: def _fromUtf8(s): ...
[ "rostyslav.tanchak@keenethics.com" ]
rostyslav.tanchak@keenethics.com
459fbbadc603786221ff5b6bf6a638eb4312b998
13036fae0234b2401b000ea9b46d2aca6be897f0
/providers/google/tests/test_common.py
abec7650f67811036a55beae55c32cbc754ab1c4
[]
no_license
smlgit/cloud-backup
7a62fd51259125c229a39ea0a9ff7768f69f0855
f4f1d6fd1d53027d7cb0571b6b7724613f30ef15
refs/heads/master
2023-05-11T01:39:26.818467
2023-05-01T07:48:28
2023-05-01T07:48:28
336,930,457
1
0
null
null
null
null
UTF-8
Python
false
false
888
py
import json import common.http_server_utils as http_server_utils class GoogleTestBaseHandler(http_server_utils.MyHttpServerBaseHandler): def testing_handle_google_token_refresh(self): """ If the incoming request is for google token refresh, this function will return some dummy credentials...
[ "smlgit@protonmail.com" ]
smlgit@protonmail.com
fb7ca8793d5eec690578e6feba5b1b93205d814a
438a49e176fb2340b09d6dd5f55af279f1aa991c
/parking/test.py
7babe4378fabd592789b3842a843d9994b0b6b57
[]
no_license
saiprasannasastry/parking_lot
89663fee1b465e130b5951947fcfb7f97e6a78d2
b5d9f52a39d3fd0204bba56ce2f44eeafd4a6748
refs/heads/master
2020-09-20T06:41:52.968823
2019-09-27T07:05:23
2019-09-27T07:05:23
224,402,319
0
0
null
null
null
null
UTF-8
Python
false
false
647
py
from parking_lot import Parking x=Parking() x.create_parking_lot(6) #print(x.slots) print(' -----------------' ) x.park('ka-41-y-8957','black') x.park('ka-41-y-8957','black') print('****************') x.leave(1) x.park('ka-41-y-8957','black') x.park('ka-41-y-8957','black') print('****************') print('*******...
[ "ssastry@infoblox.com" ]
ssastry@infoblox.com
a3e9e4f714c3572c21cae146d4d1f71f56326a50
7bd37f5ddadf07f3cd43318ecdfa583e033571a9
/mailadmin/migrations/0014_auto_20170108_1535.py
cb0cf26694e7b4c22d0ff8e7d8d28bde7cb1b14a
[ "BSD-3-Clause" ]
permissive
thommyhh/django-mailadmin
328dcf29d8ec017ebabf6f87455887756d7f0b96
7ee6bf0bb7e8dc49cb226849888f6cb37bf924f0
refs/heads/master
2021-01-11T17:10:09.817864
2018-08-23T17:57:48
2018-08-23T17:57:48
79,728,686
1
2
null
null
null
null
UTF-8
Python
false
false
1,015
py
# -*- coding: utf-8 -*- # Generated by Django 1.10.4 on 2017-01-08 14:35 from __future__ import unicode_literals from django.conf import settings import django.core.validators from django.db import migrations, models import django.db.models.deletion import re class Migration(migrations.Migration): dependencies ...
[ "thorben.nissen@kapp-hamburg.de" ]
thorben.nissen@kapp-hamburg.de
0d353d6b2a498b5c79aa1daddca3649f9fcb95b2
e9e2a2ba998f54c367029ef9b031d115d7f6de3d
/xlwings/_xlmac.py
5ebfe5f35a26c35554940776190e4668279eacb9
[ "BSD-3-Clause", "Apache-2.0" ]
permissive
sebix/xlwings
e89f9323319652f8ccae9da9f866a1892576597d
904d6dde518a117eb2e7a4b8fe7c25b60484cdd5
refs/heads/master
2021-01-17T20:02:05.039418
2014-11-02T15:33:20
2014-11-02T15:33:20
null
0
0
null
null
null
null
UTF-8
Python
false
false
9,608
py
# TODO: create classes # TODO: align clean_xl_data and prepare_xl_data (should work on same dimensions of data) import os import datetime as dt from appscript import app from appscript import k as kw import psutil import atexit try: import pandas as pd except ImportError: pd = None # Time types time_types = (...
[ "fzumstein@gmail.com" ]
fzumstein@gmail.com
ad91051572c2211638df639230b7336659d1fbe2
8dd00c349220fb0175e87f0e8a962bb9d0310c75
/algorithm/tools/factor_generator.py
3027ec132efe56d9bbec432a59163e0ba20ab978
[]
no_license
MForrest00/Algusic-algorithm
ebc5660731043deb1e93a9e3b1d3d60659f4f9a8
d20749acc984676a629f10714bc437aaeee8dae2
refs/heads/master
2023-06-04T18:12:49.326941
2021-06-29T18:08:01
2021-06-29T18:08:01
258,203,821
0
0
null
null
null
null
UTF-8
Python
false
false
2,902
py
from random import gauss from typing import Optional, Union class FactorGenerator: BASE_PROBABILITY = 0.5 BASE_STANDARD_DEVIATION = 0.15 def __init__( self, base_probability: Optional[Union[int, float]] = None, base_standard_deviation: Optional[Union[int, float]] = None, ): ...
[ "mforrest00@gmail.com" ]
mforrest00@gmail.com
e6acc50cfab3b520a3844b6743f17457b54592a8
b240f9a8a2b22a2a4a7e0b44b3db8b46dac7dea0
/trips/admin.py
7daae3467294415ca86315da0a977a972c3d5384
[]
no_license
SUPERPUPU/blog
0cd90c793269107772d2355a6cbe7d3f7c790269
4489b2c644d1153ccf7a41a4800fda27e71aba1a
refs/heads/master
2021-01-18T01:19:19.190608
2015-11-05T12:06:26
2015-11-05T12:06:26
null
0
0
null
null
null
null
UTF-8
Python
false
false
153
py
from django.contrib import admin # Register your models here. from django.contrib import admin from trips.models import Post admin.site.register(Post)
[ "Eric@EricdeMacBook-Air.local" ]
Eric@EricdeMacBook-Air.local
b2c9113e887e6f9330a69aaf0ca6e8e23cce899f
61c07d6314f06556898aad5d790071cbf639d7e4
/backend/model/__init__.py
736ef3d48a58956478d0adc287635806d41e17c0
[]
no_license
Nicolas44Hernandez/backend
57851a9895fb52e76915b0a9bbf9af4bc9f75e54
75791efb55b192af3492d5d335965881c1813c53
refs/heads/main
2023-03-12T06:04:53.802022
2021-02-14T19:28:22
2021-02-14T19:28:22
327,448,914
0
0
null
null
null
null
UTF-8
Python
false
false
25
py
"""Data model package"""
[ "nicolas.hernandezpaez@orange.com" ]
nicolas.hernandezpaez@orange.com
b7ad894f64081b12213952ebd6ff79d89994d631
79aaa3d38c0296d0c0572fd77bfbe24bb2ee4adb
/plotting_5clusters_evidence.py
7baff735ce9b001551d9b91658ac92efd4e75a53
[]
no_license
ixicrom/droplets
809cb3e939211b6a50acd71a47468707e01661f3
c0e52a0a1be2aed8ad321430feee6c4c3b510a85
refs/heads/master
2021-07-20T06:01:24.962827
2021-02-11T16:39:04
2021-02-11T16:39:04
241,429,544
0
0
null
null
null
null
UTF-8
Python
false
false
6,012
py
from full_analysis_tools import read_files, format_rectangles, read_calc_format_wedges, clust, optimalK, gini_score, PCA_transform from data_tools import norm_data import matplotlib.pyplot as pl import os import numpy as np import glob import pandas as pd import matplotlib matplotlib.style.core.reload_library() pl.styl...
[ "e.m.gould@sms.ed.ac.uk" ]
e.m.gould@sms.ed.ac.uk
cdbe66e7e54a536843154d004f8bdc4e3493c7b0
7fc37d5ff9d8928ddd89a21e4b559763531674b4
/TP2-JSON-LD/src/merge_data.py
e7f01e06c4e9f062fd3a205b100c1a3a86b14960
[]
no_license
Keykor/Web-Social-Semantica-TPs
812e527c9e5c9a03a0eb59849f0c62515c7077f7
9192fcd43517f0e1096108e32dbed51a8a12828c
refs/heads/main
2023-05-27T01:22:29.101039
2021-06-07T21:17:26
2021-06-07T21:17:26
352,993,118
0
0
null
null
null
null
UTF-8
Python
false
false
2,977
py
import json import os def create_data_directory_path(file_name): return os.path.abspath(os.path.join(*[os.path.dirname(__file__), os.pardir, "data", file_name])) def dict_prop_comparison(item1, item2): if item1['@type'] == 'Person' and item2['@type'] == 'Person': return item1['name'] == item2[...
[ "lozabonora@gmail.com" ]
lozabonora@gmail.com
fff2f0f774b7230cff0ccf88b15b0f3145a5f9d6
3c3b41bb9cdfc23cc95727636f0995560728098a
/FullDestroyAnalysis2016/Wheel0/Working/20160425/CMSSW_8_0_2/tmp/slc6_amd64_gcc530/src/HLTrigger/Egamma/src/HLTriggerEgamma/edm_write_config/hltEgammaDoubleEtFilter_cfi.py
26be1c890b9bae84fd0f2313bac17a1944ab19ba
[]
no_license
FlorianScheuch/MassiveProductionMuonGun
eb5a2916345c21edf5fd0c5d6694333a0306c363
a9a336364309cb7c9e952c0cd85060032d1dccd1
refs/heads/master
2016-08-12T23:12:01.159605
2016-05-04T11:26:35
2016-05-04T11:26:35
53,405,775
0
0
null
null
null
null
UTF-8
Python
false
false
426
py
import FWCore.ParameterSet.Config as cms hltEgammaDoubleEtFilter = cms.EDFilter('HLTEgammaDoubleEtFilter', saveTags = cms.bool(False), candTag = cms.InputTag('hltTrackIsolFilter'), L1IsoCand = cms.InputTag('hltL1IsoRecoEcalCandidate'), L1NonIsoCand = cms.InputTag('hltL1NonIsoRecoEcalCandidate'), relaxed = cm...
[ "scheuch@physik.rwth-aachen.de" ]
scheuch@physik.rwth-aachen.de
931763a8c78cde0bb0b977095ee6a21a5d1a133c
a75f243bc639398f8c19a0bf9ebdf02eb45d6d80
/07_PCA.py
887ee30d333880034192463d2dfad59e60f24712
[]
no_license
v123582/scikit-learn-primer-guide
9b2d0e5087cd52a835a50723fc8d9c42ed9909b8
e5731511cb331f3f379854af9dad5452e4d13e8e
refs/heads/master
2020-04-08T19:00:21.872122
2018-02-02T12:24:10
2018-02-02T12:24:10
null
0
0
null
null
null
null
UTF-8
Python
false
false
907
py
import numpy as np import matplotlib.pyplot as plt import pandas as pd dataset = pd.read_csv('Wine.csv') X = dataset.iloc[:, 0:13].values y = dataset.iloc[:, 13].values from sklearn.model_selection import train_test_split X_train, X_test, y_train, y_test = train_test_split(X, y, test_size = 0.2, random_state = 0) fr...
[ "noreply@github.com" ]
v123582.noreply@github.com
6f11e3d8b325f3143e511f0a5725c0b9bee4ae34
374fabd00f56ac040d8cd02519e8c8dc55baa2ff
/main.py
1e384f19806e33d3729e74773e3cf728c1691857
[]
no_license
rshoger/alg-p2
d5c0d3fac839d83f59ddea4272c6067c9f077d0f
ee94dc6ba129eddad8a3ce013276a2815dfb6155
refs/heads/master
2021-01-22T02:13:38.425742
2017-02-06T02:11:47
2017-02-06T02:11:47
81,032,788
0
0
null
null
null
null
UTF-8
Python
false
false
2,854
py
import argparse from os.path import splitext from timeit import timeit from itertools import izip_longest as zip2 ## Parse arguments ## parser = argparse.ArgumentParser(description='Test some algorithms.') parser.add_argument('filename', type=str, nargs='?', default='Amount.txt', help='The name of...
[ "rossshoger6152@mail.linnbenton.edu" ]
rossshoger6152@mail.linnbenton.edu
4e71af6baba16b9d9050a18c3468ec4a34d450c1
9399ebe214bd8d126428073c9a230f4f28eb1b58
/Shell/mysql_保留代码.py
562ae5d2fec3b981da319c3999d6ed4b66ed35c6
[]
no_license
aarongo/Linux_script_python_old
c468c19360b129d3cacafa8d2c24b026ab9ccfe4
b80aca87cfee5f75878d1b50999d8c5ea4a056a9
refs/heads/master
2020-04-13T12:52:07.949210
2016-01-05T07:50:32
2016-01-05T07:50:32
null
0
0
null
null
null
null
UTF-8
Python
false
false
4,077
py
# -*- coding: utf-8 -*- import MySQLdb import time class MySQL: u'''对MySQLdb常用函数进行封装的类''' error_code = '' # MySQL错误号码 _instance = None # 本类的实例 _conn = None # 数据库conn _cur = None # 游标 _TIMEOUT = 30 # 默认超时30秒 _timecount = 0 def __init__(self, dbconfig): u'构造器:根据数据库连接参数,创...
[ "lonnyliu@126.com" ]
lonnyliu@126.com
fb6fcca2fc2530f217075a46e463172671d62b9c
322cc47eb3b7e596a7b136ea44a82f19b140fff9
/src/videos/migrations/0010_auto_20150923_0441.py
c117e3c9045ac7393dbb072f906c1c77d620218b
[]
no_license
summerbt/srvup_dance
e3b753e809858d132a2ed5279098692f08660375
9fff98ea1eb09d0141256197d3a7ad207e98aea4
refs/heads/master
2021-01-10T03:30:26.232837
2015-11-08T22:09:54
2015-11-08T22:09:54
45,801,484
0
0
null
null
null
null
UTF-8
Python
false
false
469
py
# -*- coding: utf-8 -*- from __future__ import unicode_literals from django.db import models, migrations class Migration(migrations.Migration): dependencies = [ ('videos', '0009_auto_20150923_0357'), ] operations = [ migrations.AlterField( model_name='video', nam...
[ "summerbartontaylor@gmail.com" ]
summerbartontaylor@gmail.com
5f93909a0420fb933fa2121fee16a1d6a17db140
4a6015fb2f27add398776a12a9de045cc36c1e7a
/tests/test_problem5.py
dfdea26473e0ce319a55900322258878ffd2843b
[ "MIT" ]
permissive
virtualmadden/Project.Euler
95955b044f20a8e3c8f02e81cc9d535e6c4a8751
e68df9ad4c37759faee97f9a3ed1dbe46686f3b3
refs/heads/master
2021-04-30T06:26:30.413738
2018-02-17T00:36:11
2018-02-17T00:36:11
121,442,202
0
0
MIT
2018-02-17T00:36:12
2018-02-13T22:06:46
Python
UTF-8
Python
false
false
213
py
import unittest from euler.problem5 import Problem5 class TestEngine(unittest.TestCase): def test_shouldReturnSolution(self): self.assertEqual(232792560, Problem5(range(1, 21)).smallest_multiples())
[ "virtualmadden@users.noreply.github.com" ]
virtualmadden@users.noreply.github.com
0ecdbd0762217635f28f8ebf03f38ed1864fe41c
2d1d3909314e86e9edc9e8395ec1e91a49ff4710
/onlinestore/urls.py
578de085a5c0d9abcb15711cbd3ff62007a2716f
[]
no_license
eldolinskaya/online-bookstore-Django
eeb6c507dac8ce157e793a70f0190e34f51fe8cf
ba65f03ad265a20cc50234ccde935374fb822b20
refs/heads/master
2020-12-04T03:30:26.539491
2020-01-03T13:16:48
2020-01-03T13:16:48
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,552
py
"""onlinestore URL Configuration The `urlpatterns` list routes URLs to views. For more information please see: https://docs.djangoproject.com/en/2.2/topics/http/urls/ Examples: Function views 1. Add an import: from my_app import views 2. Add a URL to urlpatterns: path('', views.home, name='home') Class-b...
[ "helen.dolinskaya@gmail.com" ]
helen.dolinskaya@gmail.com
14589c3f62a3f4be1320992b9bd0e5a12d0c9f96
a222e2999251ba7f0d62c428ba8cc170b6d0b3b7
/AtC_Beg_Con_101-110/ABC110/D-Factorization.py
e78d3f74138761284d46dbadaba66090a0ab7426
[ "MIT" ]
permissive
yosho-18/AtCoder
3e1f3070c5eb44f154c8104fbd5449f47446ce14
50f6d5c92a01792552c31ac912ce1cd557b06fb0
refs/heads/master
2020-06-02T10:21:29.458365
2020-05-29T12:40:48
2020-05-29T12:40:48
188,795,239
0
0
null
null
null
null
UTF-8
Python
false
false
1,524
py
import math from collections import defaultdict n, m = map(int, input().split()) """def primes(x): if x < 2: return [] primes = [i for i in range(x)] primes[1] = 0 # 1は素数ではない # エラトステネスのふるい for prime in primes: if prime > math.sqrt(x): break if prime == 0: continue for no...
[ "44283410+wato18@users.noreply.github.com" ]
44283410+wato18@users.noreply.github.com
d5c1d28f0dee17d8703e23afb9b76efb144e5319
053ffbc38880613ea1a5f2666f4b1fd965975916
/euler.py
719b408329e491caf8e7b3602ac1ca151e98fc80
[]
no_license
davidchen/project-euler
43f0c790e1a0478a6cc4a7d7c6d74bbaf497555a
da1cfeabc30fb41ae7f2333d896bf49e5bf0bb83
refs/heads/master
2021-04-28T20:47:02.897609
2018-02-18T08:56:28
2018-02-18T08:56:28
121,934,891
0
0
null
null
null
null
UTF-8
Python
false
false
31,019
py
import time import timeit from num2words import num2words def main(problem_number): n = problem_number if n in range(1, 1000): n = 'euler' + str(n) answer = globals()[n]() print ('Answer: {}'.format(answer)) else: print ('Problem has not been solved yet.') return de...
[ "chendavid96@gmail.com" ]
chendavid96@gmail.com
7c8681b0015f816578c843094fbb7d812fadd71e
98c78530c0f73125b64582e3bed755d8779f773d
/Bai 7.4.py
796e814118e5158005f7d3cc914a3cfd643d2978
[]
no_license
tranquoctrung1/python_week01
8695faba51bcfb006428e4d8ccea534c970438d3
6685fadb9dbfd1e395bfba08ab737189052440db
refs/heads/master
2020-08-01T10:57:35.706507
2019-09-28T12:35:41
2019-09-28T12:35:41
210,975,904
0
0
null
null
null
null
UTF-8
Python
false
false
274
py
def isEmptyDictionary(dict): if(len(dict) == 0): print("Dictionary is empty!!") else: print('Dictionary is not empty!!') def main(): dict ={ 'ban': "Đạo", 'tui': "Trung" } isEmptyDictionary(dict) return 0 main()
[ "tranquoctrung.12k9@gmail.com" ]
tranquoctrung.12k9@gmail.com
f83961108c952f7ba19d54ce7f46a2cf8d7b550e
3f15edc4afd3d8f813aaf2cd71bcde26a9ff9540
/users/tests.py
b2aa524ceaa3a9e35e1916d002624ac3e46a9aa3
[]
no_license
kanikamital0606/Custom-user-model-Admin-Testing
7650d8522edf11daea469af24fce016454b7598b
610e6bcb0309827f6ab9e57169d78585364353c6
refs/heads/master
2023-07-21T23:42:54.708033
2021-08-30T23:01:30
2021-08-30T23:01:30
401,090,233
0
0
null
null
null
null
UTF-8
Python
false
false
1,968
py
from django.test import TestCase from django.contrib.auth import get_user_model # Create your tests here. class UserAccountTests(TestCase): def test_new_superuser(self): db = get_user_model() super_user = db.objects.create_superuser( 'testuser@super.com', 'username', 'firstname', 'pass...
[ "kanikamittal0661996@gmail.com" ]
kanikamittal0661996@gmail.com
2ae60a4728a75afca6e25d8e73f3da3331c76ea1
0535bff60a9a3d167178f93b859c706e23ca3196
/old_stuff_2018/sflowtest/myutils/gsheetsutils.py
fd6d7181067f09668009c87f8704d683e4a945f4
[]
no_license
giditre/unibo-agh_monitoring
114b22c8d965f20b1d3859b5ae2d2dfb59a4b280
b3a17a5b7ae1de2ac79da3696b32e669e6ff31e2
refs/heads/master
2023-01-01T22:39:33.668147
2020-10-29T21:55:02
2020-10-29T21:55:02
296,078,017
0
0
null
null
null
null
UTF-8
Python
false
false
7,224
py
from googleapiclient.discovery import build from httplib2 import Http from oauth2client import file, client, tools from json import dumps def get_service(scopes='https://www.googleapis.com/auth/spreadsheets', clientsecrets_f_name='credentials.json', store_f_name='token.json'): # check if method called as part of ma...
[ "giditre@gmail.com" ]
giditre@gmail.com
b79830f6ad363db65149bf531663534a3e3a697d
bd0804494ada914068b500470933f908df59a105
/img-processor.py
110fcdadbff75e90ceae2bca1812dc451854e03f
[]
no_license
TDoGoodT/face-cropper
dc44b93a0fe5ee3dadafad3030293ad3ab2a2fee
6230b5e3206f9dcc34da0edbfd79407158e48974
refs/heads/master
2022-09-05T17:21:15.520147
2020-05-21T21:00:01
2020-05-21T21:00:01
265,949,943
0
0
null
null
null
null
UTF-8
Python
false
false
1,569
py
import cv2 import imutils import os def crop_detected_face(img,face): (x, y, w, h) = face crop_img = img[y:y+h, x:x+w] if crop_img is not None and crop_img.size != 0: #crop_img = imutils.resize(crop_img, width=400) crop_img = cv2.resize(crop_img, (400,400), interpolation=cv2.INTER_AREA) ...
[ "bachar.snir@gmail.com" ]
bachar.snir@gmail.com
422d82c00e12bb709db5d298c7268cb65d7ebf66
14438f8c8bb4250a7fa8da0ecd40c5a4902bdfcd
/Player/set-21/201.py
42c37dd464797aa4d63a9160dc55d013bd684a0c
[]
no_license
nikhilvarshney2/GUVI
c51b1fa3bd1026eb74fc536e938a14c2e92089b2
79717ae5b26540101169e512204fb7236f7c839f
refs/heads/master
2020-04-01T00:40:27.699963
2019-04-30T13:46:46
2019-04-30T13:46:46
152,707,542
0
0
null
null
null
null
UTF-8
Python
false
false
213
py
def catalan(n): if n <=1 : return 1 res = 0 for u in range(n): res += catalan(u) * catalan(n-u-1) return res for u in range(int(input())+1): print(catalan(u),end=" ")
[ "nikhilvarshney9292@gmail.com" ]
nikhilvarshney9292@gmail.com
7cb434aff4849f5e476c1004e56c4c8f0cfa8119
f31f97a79d74bd8ff69f4b8e9665026daec4a8c5
/python_crash_course/ch04/pizzas.py
2ab0e7293f23439e1fa5f1e43edc6ca45ded994f
[]
no_license
sillyfish/learn-python
9c02c0109347fea479c4b1d5d8e2ac84af91fb75
72e084dd6e09325530447c2886f43fafd725dbb3
refs/heads/master
2023-08-06T03:18:40.667342
2023-07-28T09:19:18
2023-07-28T09:19:18
245,551,889
0
0
null
null
null
null
UTF-8
Python
false
false
645
py
""" Title: Date: 2023-03-31 19:28:12 LastEditTime: 2023-04-01 13:42:06 Category: Tags: Slug: Authors: 惊人不易 Summary: """ """ Title: Date: 2023-03-31 19:28:12 LastEditTime: 2023-03-31 19:28:13 Category: Tags: Slug: Authors: 惊人不易 Summary: """ pizzas = ["pepperoni", "cheese", "mushroom"] for pizza in pizzas: ...
[ "sillyfish87@gmail.com" ]
sillyfish87@gmail.com
fd97170f2e5324193c4a982b92e11263d63bd22f
2432996ac1615cd36d61f0feeff8a359d2b438d8
/env/lib/python3.8/site-packages/PyInstaller/hooks/hook-gi.repository.Champlain.py
c663aac500bf9745d6a506e872818e2f3257c1ac
[ "Apache-2.0" ]
permissive
Parveshdhull/AutoTyper
dd65d53ece7c13fbc1ead7ce372947483e05e2e3
7fabb30e15b770d790b69c2e4eaf9bbf5a4d180c
refs/heads/main
2023-05-08T14:10:35.404160
2023-05-07T20:43:15
2023-05-07T20:43:15
315,415,751
26
18
Apache-2.0
2023-05-07T20:43:16
2020-11-23T19:13:05
Python
UTF-8
Python
false
false
702
py
#----------------------------------------------------------------------------- # Copyright (c) 2005-2020, PyInstaller Development Team. # # Distributed under the terms of the GNU General Public License (version 2 # or later) with exception for distributing the bootloader. # # The full license is in the file COPYING.txt...
[ "parvesh.dhullmonu@gmail.com" ]
parvesh.dhullmonu@gmail.com
ca7ae6028d7aa044976c8d93dd16cfb9698e9d0a
a31de016611f3b4efc7a576e7113cad1a738419b
/hackercup_quali/Basketball/basketball_copy.py
ab306bac5726355cc1cdd727379d814829a65f9d
[]
no_license
Ing-Josef-Klotzner/python
9d4044d632672fff966b28ab80e1ef77763c78f5
3913729d7d6e1b7ac72b46db7b06ca0c58c8a608
refs/heads/master
2022-12-09T01:40:52.275592
2022-12-01T22:46:43
2022-12-01T22:46:43
189,040,355
0
0
null
2022-12-01T19:52:37
2019-05-28T14:05:16
Python
UTF-8
Python
false
false
3,291
py
#! /usr/bin/env python2 # -*- coding: iso-8859-15 -*- from operator import itemgetter import re PT = 0 # playtime i_file_line_ct=0 #fobj = open("basketball_game_example_input.txt", "r") fobj = open("testdata3-filtered.txt", "r") fobj2 = open("basketball_output.txt", "w") for line in fobj: # line is a string li...
[ "noreply@github.com" ]
Ing-Josef-Klotzner.noreply@github.com
026ba1047765713944238928b56b1d5fb695eade
6f43c06e9492ba786855e53649c92339d451c20b
/books_app/views.py
7bc75758ac13be8f816b11becc87e461cc94f035
[]
no_license
ninjaguydan/keeper
fe9db6650e8fb9263af223f0368855d2b5f304fb
1a62283e41d7f3fdc5b31bb825e0b6ab208d9474
refs/heads/master
2023-04-22T04:09:35.516779
2021-05-14T14:55:12
2021-05-14T14:55:12
367,394,254
1
0
null
null
null
null
UTF-8
Python
false
false
5,103
py
from django.shortcuts import render, redirect from .models import * from django.contrib import messages from django.db.models import Q # Create your views here. def logout(request): request.session.clear() return redirect('/') def books(request): if not "userid" in request.session: return redirect...
[ "dthompson0190@gmail.com" ]
dthompson0190@gmail.com
c17985b6645a23be5b20639a957af0eaf74debdf
c99078fcc67c45f41f49d869685f78a85cf0f244
/analyzer.py
be620ff5342f69a603403890bd0984a302dd6f4f
[ "MIT" ]
permissive
chengziyi/comment_analyse
a79e2289f189a8f1faa2f99602d930172aeffbb5
e947b93651c6a5b27bb4c0b29bb3619185d5e44a
refs/heads/master
2022-12-22T02:54:40.289969
2020-10-01T12:48:32
2020-10-01T12:48:32
291,438,127
2
0
null
null
null
null
UTF-8
Python
false
false
5,572
py
import pandas as pd import pymongo import time # import fasttext import re import jieba import jieba.posseg as pseg import gensim from collections import Counter # 加载停用词 print('loading stop_words...') stop_words = [] with open(r'./train_model/stopwords.txt', 'r', encoding='utf-8') as f: stop_words=f.readlines() stop_...
[ "1145440472@qq.com" ]
1145440472@qq.com
3aecc7bc8f4e8a29ed1eb9cad44e458a19a67b87
6f31a15cb73175084f2c4485d3dea0b8975b2ec9
/egs/rimes/v1/local/process_data.py
b87d9fbc5e2d7eebd18e446df0ec72925ad4497e
[ "Apache-2.0", "LicenseRef-scancode-public-domain" ]
permissive
Idlak/idlak
c7cd5e6c0b02918cda85dbb2fb5c7333a789c304
4be6f7d951ba0d707a84a2cf8cbfc36689b85a3c
refs/heads/master
2021-11-23T13:28:43.709163
2021-11-01T15:51:46
2021-11-01T15:51:46
127,285,931
65
26
NOASSERTION
2021-11-01T15:51:47
2018-03-29T12:06:52
Shell
UTF-8
Python
false
false
5,186
py
#!/usr/bin/env python3 """ This script reads xml file and creates the following files :text, utt2spk, images.scp. It also creates line images from page image and stores it into data/local/rimes_data/train/lines. Eg. local/process_data.py data/local/rimes_data/train train Eg. text file: writer000000_train20...
[ "dpovey@gmail.com" ]
dpovey@gmail.com
d1363189cdb8d713022e1fd153a0c0eb425c26fc
61bf66ad3947343a016a8b36a31477b7dc5d436a
/com/algos/gfg/mustdo/linked_lists/ReverseBySize.py
fdada97c910be80742ce8f18e2e3fca224ce4106
[ "MIT" ]
permissive
sasikrishna/python-programs
fe53223869ca2ac0366ccb83682be05551666f76
937002f37c86efc5c876b37c7b42634ca629fffc
refs/heads/master
2020-04-22T23:22:57.613655
2019-06-11T18:17:07
2019-06-11T18:17:07
170,739,813
0
0
null
null
null
null
UTF-8
Python
false
false
1,273
py
''' Problem statement: Given a linked list of size N. The task is to reverse every k nodes (where k is an input to the function) in the linked list. ''' from com.algos.gfg.mustdo.linked_lists.SingleLinkedList import LinkedList def reverse_by_size(head, size): grp_start_node = None curr, prev, next = head, No...
[ "sasi.jolla@gmail.com" ]
sasi.jolla@gmail.com
0db5ca1756a431d02423eb8fb002333b24501d9f
bc36aca18e0aee0716288b919a72714c935bf9db
/setup.py
c17120b2a2ebe0de0ab113a3be018bebd75c640a
[ "MIT" ]
permissive
cuulee/asarapi
a667530ca4466145f362a5d8befd2a787685ec80
1a416c5fbd735790d356b0706ecdbf01d81b66e5
refs/heads/master
2020-03-27T02:24:59.091565
2018-08-22T18:39:50
2018-08-22T18:39:50
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,431
py
import codecs from os import path from setuptools import find_packages, setup HERE = path.abspath(path.dirname(__file__)) with codecs.open(path.join(HERE, 'README.md'), encoding='utf-8') as f: LONG_DESCRIPTION = f.read() setup( name='asarapi', version='0.1', description='Search and download ERS-1, E...
[ "yannforget@mailbox.org" ]
yannforget@mailbox.org
21772d0f2daf6514af5908fdcba122d0bea91045
7bed49464abc88e8ccc9c7bbcecc49aef54d55e7
/Christmas2017/question/admin.py
bd5cbc2460223fb47ef4a7fa2cb978b7d1034c5e
[]
no_license
JMorris1575/christmas17
4839711a74d9082383190360301061c2f4f769c5
11738ae83e2cbf207b5f75e1e753524763a4c5fc
refs/heads/master
2021-09-29T13:30:55.559623
2018-11-24T18:13:27
2018-11-24T18:13:27
107,828,409
0
0
null
null
null
null
UTF-8
Python
false
false
162
py
from django.contrib import admin from .models import Question, Response # Register your models here. admin.site.register(Question) admin.site.register(Response)
[ "FrJamesMorris@gmail.com" ]
FrJamesMorris@gmail.com
5cd9de28217ecf079afb11199f3b292faea767c4
23e5f2ebafaab1e67aea4d7bcac7988bcdf31aed
/h1/venv/bin/flask
0a61a038dd44e82782fd31541292d96b48d216e4
[]
no_license
chengfeiZhou/FlaskStudy
ae904a7603e5a253e7fae8d40d4a8ade334f311d
fafc4a933029fac2e8d9ede757513c3ccbe66e5f
refs/heads/master
2021-09-14T18:19:25.145140
2018-05-17T03:23:59
2018-05-17T03:23:59
null
0
0
null
null
null
null
UTF-8
Python
false
false
239
#!/home/zhou/Desktop/study/h1/venv/bin/python # -*- coding: utf-8 -*- import re import sys from flask.cli import main if __name__ == '__main__': sys.argv[0] = re.sub(r'(-script\.pyw?|\.exe)?$', '', sys.argv[0]) sys.exit(main())
[ "zzz1171284619@gmail.com" ]
zzz1171284619@gmail.com
99b2cfb5be731f934b67d38a73fed53f2f680cff
60c9cd9adf0575d6d046a2e6ad813986d44803c3
/backend/appengine/routes/users/home.py
2c8468da95d4e1a831a55a1eefcb250cf907cad4
[ "MIT" ]
permissive
MarcosVn/turinginformatica
3c3f95675dfa3d4897cec6050562d6127d2744be
21eba5f105ad052aa7505b6e77ca5871167a9dc2
refs/heads/master
2021-01-17T11:15:16.316267
2015-06-16T01:37:44
2015-06-16T01:37:44
31,993,345
0
0
null
null
null
null
UTF-8
Python
false
false
1,057
py
# -*- coding: utf-8 -*- from __future__ import absolute_import, unicode_literals from google.appengine.ext import ndb from config.template_middleware import TemplateResponse from user.user_model import User from gaecookie.decorator import no_csrf from gaepermission.decorator import login_not_required from routes.users...
[ "marcos.vnaraujo@gmail.com" ]
marcos.vnaraujo@gmail.com
c5fceac2032e499204fca66d635a092558c0e9b0
fb7c63cc5cf02b4c2ebda0c14b45fd4ac6669227
/CECS 451 - AI/9/speech.py
d2249effe272426084ca9309397fcf3a886e8d2d
[]
no_license
cdelprato0/Long-Beach
0d7289b6c53e972f2d07e3f1531a16b79a1365e7
8c3628f26097f1dec196d02c65214070317d430f
refs/heads/master
2022-12-11T12:46:44.159590
2020-09-22T21:13:51
2020-09-22T21:13:51
297,773,375
0
0
null
null
null
null
UTF-8
Python
false
false
221
py
class Speech: def __init__(self): self.original = [] self.recognized = [] self.similarity = [] def read_original(self, inFile): def conv_audio(self, inDir): def comp_string(self): if __name__ == '__main__':
[ "chaz.delprato@student.csulb.edu" ]
chaz.delprato@student.csulb.edu
227a006374c22f855ccabf3c95bc78fb70cd43bf
1c8c09a475242f1fc13d1ea483c5819a9859b811
/src/game_stats.py
f82b8dd9fe900344283d52139e4b8b2265712a95
[]
no_license
PiggerZZM/Snake
9dda09d6fe649664880bb57f6e90c80cc0db94e1
6ab50657e4196a8d93496500d2479202abf00ced
refs/heads/master
2022-11-05T15:37:30.795826
2020-06-25T13:15:58
2020-06-25T13:15:58
274,874,418
0
0
null
null
null
null
UTF-8
Python
false
false
139
py
class GameStats: """跟踪游戏的统计信息""" def __init__(self): # 非活动状态 self.game_active = False
[ "442823793@qq.com" ]
442823793@qq.com
cbcd5cdd212ee35f15dde41110d8afff2e882335
357a65e4cceba7148badce3a9386976fc90528e3
/cadmin/views.py
2d9ac303a847267266247f240bd98c91a5146b2e
[]
no_license
FroggyMix/compteur-billard-DB-web
d6a199f5e307c75b0d14ee74e900d5b5965e983d
507a27f4bfab12b15082006f9e4d15106e51a073
refs/heads/master
2022-10-20T00:14:38.957326
2020-06-14T16:47:27
2020-06-14T16:47:27
260,715,620
0
0
null
null
null
null
UTF-8
Python
false
false
3,557
py
from django.shortcuts import render, redirect, get_object_or_404, reverse from gestionnaire import models from gestionnaire.models import Match, Joueur, JeuVariantes, Frame from gestionnaire.forms import JoueurForm, MatchForm, JeuVariantesForm from django.contrib import messages # Create your views here. def joueur_...
[ "franck.rapold@gmail.com" ]
franck.rapold@gmail.com
d3877b4195972786be1400b560b533a80f0b3a3c
58f34cbb4b04925fc9b5054b750355c245ef698f
/main.py
df21366a54242c0525ffc9c89e97a0a1cdd70e6d
[]
no_license
mmartinb75/nd131-openvino-fundamentals-Project-1
02ba8017e0b03d8400f67e567eb59a505881d407
73336ce7bd3ebfe63396f22edf5934dfa2e15da8
refs/heads/master
2021-05-18T15:54:58.933353
2020-04-02T10:01:27
2020-04-02T10:01:27
251,305,464
2
0
null
null
null
null
UTF-8
Python
false
false
9,974
py
"""People Counter.""" """ Copyright (c) 2018 Intel Corporation. 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, modif...
[ "noreply@github.com" ]
mmartinb75.noreply@github.com
5a0c02f15dd0a0ad0084548a23dcc49471786b19
99b062cb9f5f3ff10c9f1fa00e43f6e8151a43a6
/algorithm/day23/최소이동거리.py
0ef629a482a61f1e038063ef0f74ddbcd26fb047
[]
no_license
HSx3/TIL
92acc90758015c2e31660617bd927f7f100f5f64
981c9aaaf09c930d980205f68a28f2fc8006efcb
refs/heads/master
2020-04-11T21:13:36.239246
2019-05-08T08:18:03
2019-05-08T08:18:03
162,099,042
4
0
null
null
null
null
UTF-8
Python
false
false
982
py
import sys sys.stdin = open("최소이동거리_input.txt") def Dijkstra(G, r): D = [9876543210] * (N + 1) P = [-1] * (N + 1) visited = [0] * (N + 1) D[r] = 0 for _ in range(N + 1): minindex = -1 min = 9876543210 for i in range(N + 1): if not visited[i] and D[i] < min: ...
[ "hs.ssafy@gmail.com" ]
hs.ssafy@gmail.com
efb5b11f00dc276a2338aeb432679bcec3c7df80
a1a42b2165f8cb899bff02f10d8b081b372ce9d3
/mshub-gc/tools/mshub-gc/proc/preproc/internorm.py
8fdc14fad138386fc98bdc0af5c30bacabe391c5
[ "Apache-2.0" ]
permissive
CCMS-UCSD/GNPS_Workflows
47ca90ba177b3ddc1a71877a3ee92473e0fe392b
8c6772e244c6f3e5ea7cd5eae873b6faa48b7313
refs/heads/master
2023-08-31T13:38:51.911232
2023-08-24T06:06:37
2023-08-24T06:06:37
57,243,138
41
45
NOASSERTION
2023-06-13T16:54:49
2016-04-27T19:52:07
HTML
UTF-8
Python
false
false
12,846
py
# -*- coding: utf-8 -*- """ ********************************* Inter-sample Normalization Module ********************************* The module is designed to account for overall intensity differences between MSI datasets of multiple tissue samples. This unwanted variation can be caused by a variety of reasons, includin...
[ "mwang87@gmail.com" ]
mwang87@gmail.com
5e387aeb8d2b5755240df3b43ecfa66b3a093634
8e0e4e1d47dc2e90704edfd650f3b1c7c719a845
/deeplearning/make_label.py
164b3c98e405e620475b37e1000808a4b989aa37
[]
no_license
longhushi/work
5eb482cef37dd12d72a888a12c1731f0ae5d6304
4e35980a17c1b0de7d01fd406eecb34f1a128dbb
refs/heads/master
2021-06-29T21:01:11.244809
2021-03-02T07:28:58
2021-03-02T07:28:58
67,460,310
0
0
null
null
null
null
UTF-8
Python
false
false
2,072
py
""" make label @author: ZhangJian """ from skimage.io import imread, imsave import skimage import numpy as np import os def label(img_path, new_path, file_name="label2.tif"): img = imread(img_path) #print(img) print(img.shape) width = img.shape[0] height = img.shape[1] print(...
[ "noreply@github.com" ]
longhushi.noreply@github.com
ecdac1f4d7f176ebe320de8db6d545735aa185b2
89a90707983bdd1ae253f7c59cd4b7543c9eda7e
/data_structures_and_algorithms_in_python/ch04/reverse_iterative.py
5545d9efd7456da1ec391721b21d2a5bf49fedb4
[]
no_license
timothyshull/python_reference_code
692a7c29608cadfd46a6cc409a000023e95b9458
f3e2205dd070fd3210316f5f470d371950945028
refs/heads/master
2021-01-22T20:44:07.018811
2017-03-17T19:17:22
2017-03-17T19:17:22
85,346,735
0
0
null
null
null
null
UTF-8
Python
false
false
221
py
def reverse_iterative(S): start, stop = 0, len(S) while start < stop - 1: S[start], S[stop - 1] = S[stop - 1], S[start] # swap first and last start, stop = start + 1, stop - 1 # narrow the range
[ "timothyshull@gmail.com" ]
timothyshull@gmail.com
3353ea5a6424f103ed94bd6f9d48f9e122eca5e2
c5c968d6d94755fa5f36bbee6ee8daa6203ec2c0
/apps/game/models/tests/__init__.py
8306cc362e5e0562079485d5f3aae495a46e7671
[]
no_license
hien-cao/Game-online-shop
b1ce76a5a8e2c9592a8d8163cf76633824cade38
e2c58c351e62296635051c720093c037755008c5
refs/heads/master
2020-04-25T02:51:23.391462
2019-02-20T12:46:26
2019-02-20T12:46:26
172,455,390
1
0
null
null
null
null
UTF-8
Python
false
false
133
py
from .test_game import * from .test_highscore import * from .test_purchase import * from .test_save import * from .test_tag import *
[ "juho.jokela@atalent.fi" ]
juho.jokela@atalent.fi
6f8ffe769e58be39383edbd86029e3f3f3437018
57308b9364066ece78a1095654bae2395c41a61b
/polls/tests.py
93795385795694def21727400c0f5480ac8ae7b5
[]
no_license
SimeonAleksov/qpick_test
f4927093c51e06bc5c0986040c11bc8a7d59ecc6
762b26763eec3f8e4e02c66e2becc030ed698166
refs/heads/main
2023-05-01T21:02:31.863783
2021-05-24T13:17:09
2021-05-24T13:17:09
370,352,458
0
0
null
2021-05-24T13:08:03
2021-05-24T12:57:45
Python
UTF-8
Python
false
false
4,776
py
import datetime from django.test import TestCase from django.utils import timezone from django.urls import reverse from .models import Question def create_question(question_text, days): """ Create a question with the given `question_text` and published the given number of `days` offset to now (negative f...
[ "aleksov_s@outlook.com" ]
aleksov_s@outlook.com
889d46a1f5c7c60e2d4dcb5e65b166d1e279b52d
bbc556d7cfb0e503f9499f956e454fd9ba385ac2
/black_widow/apps.py
b404f6e278a9617fd14942cd8906873f0a9b3347
[]
no_license
Dmitri86/avengers
f1aa4c071969a41ec26a55b852ed3c5ab30fe3ff
17775e6237642929b6fef2c4710ee947d3067d46
refs/heads/master
2020-04-27T01:55:47.112867
2019-03-06T13:56:21
2019-03-06T13:56:21
173,978,930
0
0
null
null
null
null
UTF-8
Python
false
false
96
py
from django.apps import AppConfig class BlackWidowConfig(AppConfig): name = 'black_widow'
[ "zhirkod@gmail.com" ]
zhirkod@gmail.com
1a80da1f9f45c9392f2b83b62267583ba81a050b
4a4ee033cc97d395e3515ba6f5cacc1638a48429
/scripts/print_subtokenunits.py
992ac1e3ef715d8b21cc1f717879c5bc1d517f7d
[]
no_license
Mahjiong/bpe_analysis
cb6b900833ad992718c511f411b69c5f7365e7bd
ef116cab3d0bbf74c39d85de97dce2205d36af23
refs/heads/master
2020-07-04T23:44:09.649138
2019-05-29T22:35:14
2019-05-29T22:35:14
null
0
0
null
null
null
null
UTF-8
Python
false
false
177
py
#!/usr/bin/env python # -*- coding: utf-8 -*- import sys for line in sys.stdin: for token in line.strip().split(): if '▁' not in token: print(token)
[ "notani@cs.cmu.edu" ]
notani@cs.cmu.edu
9795a4c191f376aefac130da137447b76827e061
d82b879f41e906589a0a6ad5a6a09e0a0032aa3f
/ObservationScripts/test_snap_if2.py
56caefba8dc7370d7430c7cfb8f23665226a4433
[]
no_license
SETIatHCRO/ATA-Utils
66718eed669882792148fe0b7a2f977cd0f6ac2e
59f4d21b086effaf41d5e11e338ce602c803cfd0
refs/heads/master
2023-08-16T20:41:44.233507
2023-08-10T20:39:13
2023-08-10T20:39:13
137,617,987
5
5
null
2023-08-10T20:39:14
2018-06-17T00:07:05
Jupyter Notebook
UTF-8
Python
false
false
322
py
from SNAPobs import snap_if ant_list = ["1c", "1e", "1g", "1h", "1k", "2a", "2b", "2c", "2e", "2h", "2j", "2k", "2l", "2m", "3c", "3d", "4j", "5b", "4g"] lo = "B" antlo_list = [ant+lo for ant in ant_list] ifs = {antlo+pol:20 for antlo in antlo_list for pol in ["x","y"]} snap_if.setatten(ifs...
[ "wael.a.farah@gmail.com" ]
wael.a.farah@gmail.com