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
33ed1f7601c1aa5900918a48c228342e9d2c0d7e
3cd1246ff58f26329021f2d13caa62221c91d5a4
/testdata/python/stmt/continue_.py
cdf9bbbb4948d1484d532ed6b131ada0ab7bab62
[]
no_license
mwkmwkmwk/unpyc
0929e15fb37599496930299d7ced0bf1bedd7e99
000fdaec159050c94b7ecf6ab57be3950676f778
refs/heads/master
2020-12-01T14:01:57.592806
2016-03-21T14:11:43
2016-03-21T14:12:01
230,650,936
0
0
null
null
null
null
UTF-8
Python
false
false
562
py
while a: b continue c while a: if x: b continue c while a: continue while a: if x: continue else: c while a: if x: a else: continue while a: if x: continue while a: if x: continue continue whil...
[ "koriakin@0x04.net" ]
koriakin@0x04.net
d517cab3ae830007c9876c00721fdfda4722ddf0
48e124e97cc776feb0ad6d17b9ef1dfa24e2e474
/sdk/python/pulumi_azure_native/devices/v20200301/iot_dps_resource.py
d8921105104141cf445932bfeb4f21aa81f62ac5
[ "BSD-3-Clause", "Apache-2.0" ]
permissive
bpkgoud/pulumi-azure-native
0817502630062efbc35134410c4a784b61a4736d
a3215fe1b87fba69294f248017b1591767c2b96c
refs/heads/master
2023-08-29T22:39:49.984212
2021-11-15T12:43:41
2021-11-15T12:43:41
null
0
0
null
null
null
null
UTF-8
Python
false
false
13,255
py
# coding=utf-8 # *** WARNING: this file was generated by the Pulumi SDK Generator. *** # *** Do not edit by hand unless you're certain you know what you are doing! *** import warnings import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload from ... import _utilities fro...
[ "noreply@github.com" ]
bpkgoud.noreply@github.com
5a03fd10d84e198f822cbb2eae8035d8074aeb92
7bb37821b54c2ffe0dc8cbf2a70bd20c932fb515
/contacts/admin.py
0bffb6763736d19871fddc9084bbe9e23c230bd4
[]
no_license
andrewhstead/dating-site
6dfed04404fa1ea03594ff08a1d3aa31fe07b47c
bc81ade529ab916093ba80ab009d03a00e1dfab0
refs/heads/master
2020-07-02T13:04:02.878187
2020-05-07T22:23:09
2020-05-07T22:23:09
176,342,530
0
0
null
null
null
null
UTF-8
Python
false
false
181
py
from django.contrib import admin from .models import MessageThread, Message, Interaction # Register your models here. admin.site.register(Message) admin.site.register(Interaction)
[ "andrew@andrewstead.co.uk" ]
andrew@andrewstead.co.uk
1b71421015ed4331d6c8c40463ac73e2aee21ded
d658641f19ee2ce32144449876c63f73bdb4f961
/clientTrackExpenses/clientApp/views.py
9bea8af8f0e7d5fe94ef535e9f132a8581cfc79e
[]
no_license
om2001chaudhary/trackingExpenses
b0ccf5f5c75249e41c979496ec40dcd20cee5d49
0149c7e43f4581847a583ed81258656f1bccdc03
refs/heads/master
2020-04-16T19:33:57.475150
2019-01-16T05:19:25
2019-01-16T05:19:25
165,864,945
0
0
null
null
null
null
UTF-8
Python
false
false
1,456
py
from django.shortcuts import render from clientApp.forms import ClientExpenseForm from clientApp.models import ClientExpense from django.contrib.auth.decorators import login_required @login_required(login_url='signin') def dashBoard(request): message = '' form = ClientExpenseForm() if request.method == ...
[ "noreply@github.com" ]
om2001chaudhary.noreply@github.com
e6622494ca17ed86672e14c718f1c123e0135d7d
0211b241d2523ebc6d6703f2a7d5080ad1a66b6e
/scipy/interpolate/tests/test_rbfinterp.py
e168a403a306619dc14db1646e7c3871d34a0ef7
[ "BSD-2-Clause", "Python-2.0", "Qhull", "BSL-1.0", "Apache-2.0", "MIT", "BSD-3-Clause", "LicenseRef-scancode-unknown-license-reference" ]
permissive
ArnaudPannatier/scipy
b0edfb53c7fb150603463628e95c53e72fb74ec9
a0e875ac3441a33ee90606143636d497802c5e36
refs/heads/master
2023-05-06T18:59:03.560543
2021-05-31T23:22:55
2021-05-31T23:22:55
null
0
0
null
null
null
null
UTF-8
Python
false
false
16,995
py
import pickle import pytest import numpy as np from numpy.linalg import LinAlgError from numpy.testing import assert_allclose, assert_array_equal from scipy.stats.qmc import Halton from scipy.spatial import cKDTree from scipy.interpolate._rbfinterp import ( _AVAILABLE, _SCALE_INVARIANT, _NAME_TO_MIN_DEGREE, _monomi...
[ "noreply@github.com" ]
ArnaudPannatier.noreply@github.com
7466dcc58252fb7dd5cb5a5bc16b9cda2ab70723
03529c0ad99a1cbae581b33e4ee47bb870ec9934
/doubanMovie/spiders/DoubanMovieActor.py
584a41aa42a1b1daed2435b1a926d01da3a48416
[]
no_license
LanceGG/doubanMovie
a3d805889be0579c7f8ce5275182d082744ede7e
ae82f0c6e6092958d8f11c8f1baf9bfffd1e5d34
refs/heads/master
2020-03-23T19:43:00.104751
2018-08-14T10:11:30
2018-08-14T10:11:30
141,998,125
0
0
null
null
null
null
UTF-8
Python
false
false
1,733
py
# -*- coding: utf-8 -*- from scrapy.spiders import Spider from scrapy import Request import urllib.parse from doubanMovie.spiders.SaveData import SaveData class DoubanMovieAward(Spider): name = 'doubanMovieActor' type = 'ACTOR' def start_requests(self): history = SaveData().query_media_history(se...
[ "12nifeng456@163.com" ]
12nifeng456@163.com
dc914aec88b2ca71895d30b99f73971c941e2e5d
d94b6845aeeb412aac6850b70e22628bc84d1d6d
/fisher_brc/evaluation.py
5d740203edf3f5efbaca7b8307c8c4f3951cd95b
[ "CC-BY-4.0", "Apache-2.0" ]
permissive
ishine/google-research
541aea114a68ced68736340e037fc0f8257d1ea2
c1ae273841592fce4c993bf35cdd0a6424e73da4
refs/heads/master
2023-06-08T23:02:25.502203
2023-05-31T01:00:56
2023-05-31T01:06:45
242,478,569
0
0
Apache-2.0
2020-06-23T01:55:11
2020-02-23T07:59:42
Jupyter Notebook
UTF-8
Python
false
false
1,382
py
# coding=utf-8 # Copyright 2023 The Google Research 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 applicab...
[ "copybara-worker@google.com" ]
copybara-worker@google.com
43aff9cff56508f37e65c33c916f231adb1384d7
10c689b8fc5ff99ea69197553a14124437288343
/napixd/utils/undo.py
e96a39dfaec6de59aafc0a74e72c1f7a8136ea51
[]
no_license
napix/NapixServer
4e4ec3dbdbc7b1fc885c55b2fd3f093cecc3da1a
e08b09594091e1d86d4de0dacd1c5801f5255253
refs/heads/master
2021-05-28T14:29:31.952649
2015-04-01T16:02:06
2015-04-01T16:02:06
15,139,808
0
1
null
null
null
null
UTF-8
Python
false
false
1,107
py
#!/usr/bin/env python # -*- coding: utf-8 -*- import logging logger = logging.getLogger('Napix.undo') class UndoManager(object): """ A class to watch a piece of code and register callbacks in case of an exception. If an exception is thrown during the execution of the context manager or by manu...
[ "gr@enix.org" ]
gr@enix.org
390a9f2cee851dcf50b72c4cdc8a2b03b68a51d5
7823412c320a326772415c4566e88b5a182dbba4
/mklds.py
2986c5413802da942fec3acafc7a24985cf900ac
[]
no_license
archibate/PyAsm
099cf8031a49aa3cd239e4d9f6e4bacc6510cdfb
6fd09e3e639c7190c832d874a824cd50d53e6130
refs/heads/master
2020-04-02T03:49:54.529572
2018-10-27T09:29:25
2018-10-27T09:29:25
153,986,838
0
1
null
null
null
null
UTF-8
Python
false
false
120
py
import sys from wrinfo import print_ names = sys.argv[1:] for name in names: print_(name + '.bin', name + '.inf')
[ "17721388340@163.com" ]
17721388340@163.com
1136444f75dc2b50e7286ad4f03a986d7bf03717
82b7d1c5aa34968936c427c93cdec686112a96a3
/landslag/src/alaska/teikningar/admin.py
95fd751a84c2d44ec40defce7dc870b2c3dfa6df
[]
no_license
bthj/landslag
22e7ee14d58c906320b598e97fc57b578c064340
78d360c68bb367aa686b852ef93cba68821a759d
refs/heads/master
2021-01-21T13:11:11.933324
2015-03-22T20:42:07
2015-03-22T20:42:07
32,688,564
0
0
null
null
null
null
UTF-8
Python
false
false
2,337
py
#!python #coding=utf-8 from alaska.teikningar.models import Teikning, Umfjollun, Frasogn, Ljosmynd, Scan, Myndband from django.contrib import admin from django import forms from custom_widgets import SelectScansWidget, SelectFrasognWidget, SelectLjosmyndWidget, SelectMyndbandWidget class UmfjollunInline(adm...
[ "bangsi@bthj.is@af246f38-f70d-11dd-a320-db7d8e7a638f" ]
bangsi@bthj.is@af246f38-f70d-11dd-a320-db7d8e7a638f
adda342794118afcb252622027f56edfc3bbf45b
0c4bd1b977cc714a8a6b2839f51c4247ecfd32b1
/C++/lbann/bamboo/unit_tests/test_unit_layer_softsign.py
878e4e4474b2cc3f591491861cbdcdb803a9fe68
[ "Apache-2.0" ]
permissive
ishine/neuralLOGIC
281d498b40159308815cee6327e6cf79c9426b16
3eb3b9980e7f7a7d87a77ef40b1794fb5137c459
refs/heads/master
2020-08-14T14:11:54.487922
2019-10-14T05:32:53
2019-10-14T05:32:53
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,924
py
import sys sys.path.insert(0, '../common_python') import tools import pytest import os def skeleton_layer_softsign(cluster, executables, dir_name, compiler_name): if compiler_name not in executables: e = 'skeleton_layer_softsign: default_exes[%s] does not exist' % compiler_name print('Skip - ' + e) ...
[ "the.new.horizon@outlook.com" ]
the.new.horizon@outlook.com
2173612aaec62012504d001a03f7322176e0be3a
62f8862454b3cbedd21e62524f964a2780c6bb77
/170/170b.py
863ead179755855992d46b80ac9f5f3420c91a8b
[]
no_license
31159piko-suke/Atcoder
3cdb630415e46e717261c5aad1e3dd44cf2ef449
a23a0b8551d83ca83bc657ccbfb1667e26b6d8da
refs/heads/main
2023-05-14T14:04:16.898948
2021-06-08T06:46:08
2021-06-08T06:46:08
323,053,093
0
0
null
null
null
null
UTF-8
Python
false
false
177
py
X,Y = map(int,input().split()) #๏ฝŽ้ถดใฎๆ•ฐใ€mใ‚ซใƒกใฎๆ•ฐ m = (Y-2*X)/2 n = X-m if m%1==0 and n%1==0 and m*n>=0: print("Yes") else: print("No")
[ "k426.31159@gmail.com" ]
k426.31159@gmail.com
08e6893f70072344f14bd59b0532d709636e2a6f
bbd0eccf61c56f94f06b8d2981be4ec5ab93c2d3
/exercises/1901090055/1001S02E04_control_flow.py
65d0d5648bf66bb9cead7261e90fffe731e3629c
[]
no_license
nancy3457/selfteaching-python-camp
110641a9ac480e8783f33acfeaef3d455cd90336
ab3d987492768befe2af93e54f6e662e87aea58a
refs/heads/master
2020-06-20T15:05:09.088660
2019-07-18T10:48:56
2019-07-18T10:48:56
197,159,258
1
0
null
2019-07-16T09:05:20
2019-07-16T09:05:19
null
UTF-8
Python
false
false
342
py
print('ไนไนไน˜ๆณ•่กจ') for i in range(1, 10): for j in range(1, i+1): print('{}x{}={}\t'.format(j, i, i*j), end='') print() print('ไธๅซๅถๆ•ฐ่กŒ็š„ไนไนไน˜ๆณ•่กจ') i = 1 while i <= 9: j = 1 while j <= i and i % 2!=0: print('{}ร—{}={}'.format(i,j,i*j),end = " ") j += 1 print() i += 1
[ "6396023+realcaiying@users.noreply.github.com" ]
6396023+realcaiying@users.noreply.github.com
93441f22af428d4b2c065014f15b7e02a0890813
68de77662b7cb5d2559cce327c86dfe48435ce4b
/static/pix2pixHD/data/custom_dataset_data_loader.py
676a7bd8abde556527b8dc187e1dde6bcc8c1502
[ "LicenseRef-scancode-warranty-disclaimer", "BSD-3-Clause", "BSD-2-Clause" ]
permissive
gamble27/flask-gender-swap
301fca59cd71c08a705efd9cc4a919a6594ea081
0d3c1bacb929d05b23b03ce790dc6d996359095e
refs/heads/master
2023-04-05T23:24:06.810000
2021-04-20T18:36:43
2021-04-20T18:36:43
359,903,063
0
0
null
null
null
null
UTF-8
Python
false
false
920
py
import torch.utils.data from static.pix2pixHD.data.base_data_loader import BaseDataLoader def CreateDataset(opt): dataset = None from static.pix2pixHD.data.aligned_dataset import AlignedDataset dataset = AlignedDataset() print("dataset [%s] was created" % (dataset.name())) dataset.initialize(opt)...
[ "olyushkam@gmail.com" ]
olyushkam@gmail.com
7beb5eb0cab77fef619d016771da62177832b65c
aca8a9e2cb69e88d9b1b4902582eed1eb00ffaec
/autofoucus/Autofocus3D/Model.py
f4f9f103245d7ecec1bbb485d05b30e591dbc927
[]
no_license
luvgold/auotofoucus3D-Brats
b60cecb2936ad40a7cfbb2710947852184682d99
20eca40fc939f1e60f4b3cf7fed67d91b1bdb3bc
refs/heads/main
2023-03-14T17:19:56.436705
2021-03-02T11:20:56
2021-03-02T11:20:56
343,621,339
2
0
null
null
null
null
UTF-8
Python
false
false
2,046
py
from Autofocus3D.autofocus3D import Autofocus3D from Autofocus3D.ResBlock import BasicBlock from Autofocus3D.autofocus_single import Autofocus_single import tensorflow as tf import numpy as np import tensorflow.keras.backend as K def build_model(): # Dilation rates, here 4 parallel conv applications dilations...
[ "564478192@qq.com" ]
564478192@qq.com
a6a8899205d9ec3169216af64a35cac23dbcafd7
4cd135c66207762fee500e336264224c5537718b
/examples/references/segmentation/pascal_voc2012/code/dataflow/datasets.py
2d8045343e89521038c2d1719afbc2d39a1b2b7d
[ "BSD-3-Clause" ]
permissive
Sharad24/ignite
2c8e962ad7675ed7cd19cb6f47c3abb91f388137
0de7156bb284bd01d788252469a3b386f10abbd7
refs/heads/master
2022-06-03T16:52:54.484461
2020-05-01T21:43:41
2020-05-01T21:43:41
260,777,961
1
1
BSD-3-Clause
2020-05-02T21:26:58
2020-05-02T21:26:57
null
UTF-8
Python
false
false
2,966
py
from typing import Type, Callable import numpy as np import cv2 from PIL import Image from torch.utils.data import Dataset from torchvision.datasets.voc import VOCSegmentation from torchvision.datasets.sbd import SBDataset class TransformedDataset(Dataset): def __init__(self, ds: Dataset, transform_fn: Calla...
[ "noreply@github.com" ]
Sharad24.noreply@github.com
e5204ad4bb99064e3df1a1bcf77c4743510a3ca1
6f79722871e2650ef0ceb490ab3f2a720c8d29b2
/Plot/3dplot.py
391b93e88ecf7a45b2c6f409137ef265eac1f066
[]
no_license
carollaurini/Bayesian-Network
b0d598b44ee6fdfd4539887e7f3e0c46c2c733ff
b3b7bd08d13249d5e7be92a77ef3e23536298b76
refs/heads/master
2021-01-22T04:33:45.964310
2015-07-20T13:34:07
2015-07-20T13:34:07
26,274,230
0
0
null
null
null
null
UTF-8
Python
false
false
387
py
import numpy as np import pandas as pd import matplotlib.pyplot as plt from pylab import * from mpl_toolkits.mplot3d import axes3d df=pd.read_csv('Out.txt',sep=' ') #print df fig= plt.figure().gca(projection='3d') fig.scatter(df.Twet,df.Load,df.Tset) fig.set_xlabel('Twet ($^\circ$C)',size=30) fig.set_ylabel('Load (Ton...
[ "carol.laurini@gmail.com" ]
carol.laurini@gmail.com
942b9e91c3d31c25afd9b27774a0224a6b8da96d
22ff39e9bf8e04fd3384fa626fb9d9424c87c65f
/week_1/equation.py
f510fd75207d8e54611e545d5543377364f041cb
[]
no_license
panzercheg/learning
3c454dd41cf7652defdd584fe64ca32815ba169a
5e0c84b5b22b5cf4254f6d502089749e6df6e855
refs/heads/master
2022-02-17T02:34:23.789227
2019-07-25T07:34:34
2019-07-25T07:34:34
109,257,578
1
0
null
null
null
null
UTF-8
Python
false
false
427
py
import sys a = int(sys.argv[1]) b = int(sys.argv[2]) c = int(sys.argv[3]) disc = ( b * b ) - 4 * a * c if disc > 0: root_1 = (-b + disc ** 0.5) / 2 * a root_2 = (-b - disc ** 0.5) / 2 * a print(int(root_1)) print(int(root_2)) elif disc == 0: root_1 = (-b + disc ** 0.5) / 2 * a print(int(root_1...
[ "r.burenkov@corp.mail.ru" ]
r.burenkov@corp.mail.ru
314f3ad930976961c6bfd660b4bb68aeb19e12f4
8568982a76c16e244ab1fd9e59b333d29844d5f7
/7. Ubbi Dubbi.py
84b0763606776404db0f6ad5e2ad143afc5235fd
[]
no_license
harrisonzhou/python-workout-test
0adcf8f40922271870e429fd6f53a979ed61b003
9cb13925c24d7ae88bca8d9c8dfbc0cadc82bab2
refs/heads/master
2023-03-30T01:05:59.014196
2021-04-11T13:11:56
2021-04-11T13:11:56
345,278,193
1
0
null
null
null
null
UTF-8
Python
false
false
243
py
def ubbi_dubbi(word): output=[] for letter in word : if letter in 'aioue': output.append(f'ub{letter}') else: output.append(letter) return ' '.join(output) print(ubbi_dubbi('python'))
[ "menghui1126@gmail.com" ]
menghui1126@gmail.com
8454776653f4153231379ad5d9ec12c6745463f9
510eccf2912e1acfc41a1e5a7c5190d6ff5e24c7
/14.py
c8fb885f5ec88ffb7ee57bf2d6fee6592190b3a1
[]
no_license
alex75311/acmp.ru-solution
16acb34265f46d2e9a46efcf8d5d9ff6e5d6c257
c73c1d4a1ec39e16d17c66dde9ceb031f2d5a1a0
refs/heads/master
2020-09-23T04:51:11.549043
2019-12-16T21:50:24
2019-12-16T21:50:24
225,408,126
0
0
null
null
null
null
UTF-8
Python
false
false
133
py
a, b = map(int, input().split()) if a < 0: a *= -1 if b < 0: b *= -1 res = a while res % a or res % b != 0: res += a print(res)
[ "isaev.alex75311@gmail.com" ]
isaev.alex75311@gmail.com
4cc2dbc1986fe00579fa3df68910f079b362f95f
713012e43109abacfc212d5243de7282dc0a19a6
/goodreads_dwh/apps/dashboard/models.py
c81a864c3ddc53ff5c5eed4c5cf563bf98b4e3ab
[]
no_license
nhlinh99/Practice_Project_DE
fbdf235e9f92d4ab00d30900f10c5df0488d1846
7440bb5386ee46bfefc69544a48bad352a7d5097
refs/heads/master
2023-09-03T16:03:18.592844
2021-10-18T08:04:18
2021-10-18T08:04:18
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,191
py
from django.db import models from django.db.models.fields.related import ForeignKey # Create your models here. class Information_Book_Detail(models.Model): Book_Id = models.IntegerField(primary_key=True, null=False) Book_Title = models.CharField(max_length=50) Author_Name = models.CharField(max_length=50)...
[ "hlinh81999@gmail.com" ]
hlinh81999@gmail.com
53c7ef3180c7ad71463d6495787212597622c32b
09e57dd1374713f06b70d7b37a580130d9bbab0d
/data/p2DJ/New/program/qiskit/class/startQiskit_Class11.py
b1355830151716b9c55c93278385b7e4750ca945
[ "BSD-3-Clause" ]
permissive
UCLA-SEAL/QDiff
ad53650034897abb5941e74539e3aee8edb600ab
d968cbc47fe926b7f88b4adf10490f1edd6f8819
refs/heads/main
2023-08-05T04:52:24.961998
2021-09-19T02:56:16
2021-09-19T02:56:16
405,159,939
2
0
null
null
null
null
UTF-8
Python
false
false
2,891
py
# qubit number=2 # total number=4 import cirq import qiskit from qiskit import IBMQ from qiskit import QuantumCircuit, QuantumRegister, ClassicalRegister from qiskit import BasicAer, execute, transpile from pprint import pprint from qiskit.test.mock import FakeVigo from math import log2,floor, sqrt, pi import numpy as...
[ "wangjiyuan123@yeah.net" ]
wangjiyuan123@yeah.net
b5ae73eca2c21bbcccd7042001d79c2f58a45cf5
d1d9f6fae8e7210e5f6303ba01d9e4b4691ddb5c
/brief_projet/la_roue_des_emotions/app/callbacks.py
757520263460f0cd99fab49038733dcd4c955321
[]
no_license
hachemmosbah/artificial_inteligence
2d7ab141fdeb0c8729116f7b5bc026474fc092db
87bdf55068a11881a7d4afb1f11725ba8e28e8bd
refs/heads/main
2023-04-03T03:27:09.037300
2021-04-13T08:42:45
2021-04-13T08:42:45
307,414,816
0
1
null
null
null
null
UTF-8
Python
false
false
923
py
from dash.dependencies import Input, Output import plotly.express as px from app import app import dash from layouts import layout1, layout2, layout3, layout4, pipe import pandas as pd @app.callback( Output('id1', 'children'), Input('Home page', 'value')) def display_value(value): return 'You have selecte...
[ "ยซhachem.mosbah.data@gmail.comยป" ]
ยซhachem.mosbah.data@gmail.comยป
63cb696e842f5ef6a69bba18a478b746b6f811a6
3e1427ee83be041f98b4f7a209200bcb7a0ea48a
/cdptools/tests/pipelines/test_event_gather_pipeline.py
cb5d992a73fb30847459980b966f1d2e8b3f10bf
[ "BSD-3-Clause" ]
permissive
textioHQ/cdptools
f0e8c98f1e5843adb9996aa2815cb746fe350439
6fcf97838aaa5e0faaa2d3e33d1473823bd8fa3d
refs/heads/master
2020-07-05T07:47:44.066245
2019-08-07T23:39:23
2019-08-07T23:45:27
202,576,259
0
0
BSD-3-Clause
2019-08-16T16:05:55
2019-08-15T16:32:51
Python
UTF-8
Python
false
false
6,581
py
#!/usr/bin/env python # -*- coding: utf-8 -*- import json from pathlib import Path from typing import List, Union from unittest import mock import pytest from firebase_admin import firestore from google.cloud import storage from cdptools.audio_splitters.ffmpeg_audio_splitter import FFmpegAudioSplitter from cdptools....
[ "jmaxfieldbrown@gmail.com" ]
jmaxfieldbrown@gmail.com
6ee648af98c71fb32b59ad3e3865013031e6de15
72e27c99fb55cbcd5ffd460d3c98a78d54467ead
/tests/pbbs/maximalMatching/run_ser.py
e2094ae0400d06aa3d82777a8fc245fd5a1c45d5
[ "BSD-2-Clause" ]
permissive
rutgers-apl/omp-racer
a492ebf5826efc6638206d50c38e816b8325f90e
a8a32e186950997b8eee7864f766819129a5ee06
refs/heads/master
2022-12-09T19:14:47.454842
2020-09-09T19:49:47
2020-09-09T19:49:47
266,447,520
3
1
null
null
null
null
UTF-8
Python
false
false
4,402
py
#!/usr/bin/python import sys, string, os, popen2, shutil, platform, subprocess, pprint, time import util, commands, csv from math import sqrt #clean up the src do_clean = True #build the src do_build = True #clean, build, and run the benchmarks do_run = True #collect data to plot #do_collect_data = True if do_cl...
[ "naderb@rutgers.edu" ]
naderb@rutgers.edu
a564d42fe82a1997f3e1da572a56222581d3031d
5543825a8dc09cbf519959d5cc58b32685ffe123
/napari_pyclesperanto_assistant/_scriptgenerators/_PythonJupyterNotebookGenerator.py
17501a639739f4978a841134e31420fa76e71151
[ "BSD-3-Clause" ]
permissive
haesleinhuepf/napari_pyclesperanto_assistant
cfb79029eeb4119eab37501a112e7e9ba22a0285
659b5ae8e5626771afdd5d0e6d1ba8112e48ff97
refs/heads/master
2023-04-03T01:20:25.933417
2021-04-11T23:31:18
2021-04-11T23:31:18
357,648,202
0
0
NOASSERTION
2021-04-13T18:13:22
2021-04-13T18:13:21
null
UTF-8
Python
false
false
2,513
py
from ._JythonGenerator import JythonGenerator class PythonJupyterNotebookGenerator(JythonGenerator): def _header(self): return "{\n" + \ " \"cells\": [\n" + \ self._code_cell(super()._header()) def _push(self, layer, layer_number): return self._code_cell(super()...
[ "robert_haase@gmx.de" ]
robert_haase@gmx.de
e79f22b2b38a48af544d684184ab39a418c25599
d32614b108411b07dbd1080bcddb856b4bc0aec5
/train.py
6aeaf1ab436dbe5c882bb5bbaed36de8333fa30c
[ "MIT" ]
permissive
ayadav8/Image_Classifier
22c245ab8d6512d5b0f202cf98c99f3b12a0cc8d
8bd10193bd95c3387144926f08f088100aadb1a9
refs/heads/master
2022-10-22T02:36:06.655017
2020-06-15T22:24:46
2020-06-15T22:24:46
272,532,813
0
0
MIT
2020-06-15T20:48:10
2020-06-15T20:04:05
Jupyter Notebook
UTF-8
Python
false
false
4,878
py
# PROGRAMMER: Amit Yadav # DATE CREATED: 06/06/2020 # Imports python modules from get_input_args import get_input_args from functions import train_transforms,valid_transforms,test_transforms from torchvision import datasets, transforms, models import torch from collections import OrderedDict from torch import nn from...
[ "noreply@github.com" ]
ayadav8.noreply@github.com
7d572989803473b050505a4b87aa16dbad98da0b
0812da6b59eee36861c97cb4d9c1c9520cb2ca9c
/.venv/lib/python3.6/site-packages/aws_cdk/aws_ec2/__init__.py
206bf82dd2034b3cd17ebf7b56f72a292d77f6a1
[]
no_license
zachelliottwx/cdk-demo
fe6d4ee19945e2cd5007c5fdfe6617627c923509
e1dffc5d262cd1bb7d3335c5f1f79a52296a8edc
refs/heads/master
2023-03-06T20:40:27.862628
2021-02-18T17:00:10
2021-02-18T17:00:10
339,174,696
0
0
null
null
null
null
UTF-8
Python
false
false
1,967,934
py
""" # Amazon EC2 Construct Library <!--BEGIN STABILITY BANNER-->--- ![cfn-resources: Stable](https://img.shields.io/badge/cfn--resources-stable-success.svg?style=for-the-badge) ![cdk-constructs: Stable](https://img.shields.io/badge/cdk--constructs-stable-success.svg?style=for-the-badge) --- <!--END STABILITY BANNE...
[ "awszac@amazon.com" ]
awszac@amazon.com
d8aecaeaad45662898a7a2b940b2d161fd4d637f
dc8e74f46e0e30254ef5d5c3d019a38e804ddcf1
/Subsetting columns.py
b3ab2d8cb410c3898ba5729ab4fd2f965786350e
[]
no_license
abhiwer/Data-Manupulation-with-Pandas
079553dad59f092cbd5aacb8a55c3ddcc7f10a6e
18d943ed035946d4579893f6a19d08c39d5b1058
refs/heads/master
2022-11-30T06:36:41.933399
2020-08-07T01:33:39
2020-08-07T01:33:39
282,557,842
1
3
null
null
null
null
UTF-8
Python
false
false
1,362
py
''' Subsetting columns When working with data, you may not need all of the variables in your dataset. Square-brackets ([]) can be used to select only the columns that matter to you in an order that makes sense to you. To select only "col_a" of the DataFrame df, use df["col_a"] To select "col_a" and "col_b" of df, use ...
[ "rajanpan97@gmail.com" ]
rajanpan97@gmail.com
220208648d63d893d8f2ff091103d838f9d1bee0
8c6cd503fb4c909c6f85a7640f67cf46f1f25225
/btorch/models/detectron2/layers/roi_align_rotated.py
6f4935e9795f389a0529e6d637ef54b9bbb1f342
[ "MIT" ]
permissive
vladstreltsin/blox
84c1cf10ccbd4aaa6ea4c0e5bc144d7eb72990cc
2822b84220e512c8012b1b4ec51d6e534bd4d652
refs/heads/main
2023-04-16T19:07:13.920603
2021-05-09T14:59:22
2021-05-09T14:59:22
335,411,889
0
0
null
null
null
null
UTF-8
Python
false
false
391
py
import detectron2.layers.roi_align_rotated as rar from blox_old.btorch.module import TorchModule class ROIAlignRotated(TorchModule): def __init__(self, *args, name=None, **kwargs): super(ROIAlignRotated, self).__init__(module=rar.ROIAlignRotated(*args, **kwargs), ...
[ "vladstreltsin@gmail.com" ]
vladstreltsin@gmail.com
ee1c8da9f7d25a5437f1ac26ab3f462d47218f21
1d182c8cf1ce19019e0b1cba4a16ee1a2a49751e
/scripts/cifar/demo_cifar10_pil.py
427d474176654ca775583b455d30f8b5ed927e9e
[ "MIT" ]
permissive
zxt881108/pytorch-cv
e30ac8638a8819b637c6bbef717f733264229126
6f2d1760f12c9a56a3e7b19ba74bc41451ea284c
refs/heads/master
2020-06-18T18:16:09.741626
2019-04-29T14:11:06
2019-04-29T14:11:06
196,396,348
5
0
null
2019-07-11T13:06:29
2019-07-11T13:06:28
null
UTF-8
Python
false
false
2,233
py
import os import sys import argparse from PIL import Image import torch import torch.nn.functional as F from torchvision import transforms cur_path = os.path.dirname(__file__) sys.path.insert(0, os.path.join(cur_path, '../..')) from model.model_zoo import get_model def parse_args(): parser = argparse.ArgumentPa...
[ "tinyshine@yeah.net" ]
tinyshine@yeah.net
6f8ccec00f8d26d83db3fc3ce5156eb4ccadfe49
541ac8cd5fa84bfc52175ba3b0d717a6d16d3d0d
/manage.py
8df23867541dce625f994c79715c583540317b77
[]
no_license
benrudolph/secretary
d7d1a7755cf4b22a92cb3ae75a51304277af78bd
117eafca3a4a0e582f748b98d669b2213e04e81d
refs/heads/master
2020-04-29T10:37:22.284272
2015-03-24T02:39:14
2015-03-24T02:39:14
32,771,741
0
0
null
null
null
null
UTF-8
Python
false
false
251
py
#!/usr/bin/env python import os import sys if __name__ == "__main__": os.environ.setdefault("DJANGO_SETTINGS_MODULE", "bonhomie.settings") from django.core.management import execute_from_command_line execute_from_command_line(sys.argv)
[ "rudolphben@gmail.com" ]
rudolphben@gmail.com
8e85ad171e89f27d649e1e69ed29a7c6f361555e
6f2cc06f1f9513e1432e9d7a399cc943beb89a40
/mmpredict_field.py
d6459fa796f13043af2d52dd12b0eb3ab74a8460
[]
no_license
DableUTeeF/mifov_final
1f54eaebca568cda9e8801846eef228b04a174db
da7ee669bff3ba1e5cb95d9c6cd7c30876310d1b
refs/heads/master
2023-08-21T14:32:32.543441
2021-09-30T16:40:18
2021-09-30T16:40:18
381,572,649
0
0
null
null
null
null
UTF-8
Python
false
false
1,742
py
import sys # sys.path.extend(['/home/palm/PycharmProjects/mmdetection']) from mmdet.apis import inference_detector, init_detector, show_result_pyplot from mmcv import Config import cv2 import json import os if __name__ == '__main__': filedir = '/media/palm/data/MicroAlgae/specificity' out_path = '/media/palm/...
[ "palm22180@gmail.com" ]
palm22180@gmail.com
4dc1285872e99f3f913862514b07801b3b130a0d
74d67ec9a962f8022822750b1e3552987371cde8
/mailhedgehog
fa0392a689fd8ddbfcd399c935ad7e514bdba1fc
[ "LicenseRef-scancode-unknown-license-reference", "MIT" ]
permissive
linsomniac/mailhedgehog
b4305fd7c2242094f2a92776ab9a4b77c7ef06e1
74410a446c8e68582b40a4b00544a69f7687070b
refs/heads/master
2023-09-02T12:24:45.739018
2022-07-23T11:47:44
2022-07-23T11:47:44
219,825,941
0
0
null
null
null
null
UTF-8
Python
false
false
3,059
#!/usr/bin/env python3 from quart import ( Quart, make_push_promise, url_for, websocket) from pathlib import Path from quart.json import dumps from werkzeug.exceptions import NotFound import asyncio from aiosmtpd.smtp import SMTP from functools import partial, wraps from collections import deque from mail import f...
[ "sean@realgo.com" ]
sean@realgo.com
849028b81132c3eeeb6d9fcc5a34a436730b8181
6fa7f99d3d3d9b177ef01ebf9a9da4982813b7d4
/3eEjDZtxDtaiZccf9_3.py
0743435861b1029cea77a37dabee2c9a5b15ff36
[]
no_license
daniel-reich/ubiquitous-fiesta
26e80f0082f8589e51d359ce7953117a3da7d38c
9af2700dbe59284f5697e612491499841a6c126f
refs/heads/master
2023-04-05T06:40:37.328213
2021-04-06T20:17:44
2021-04-06T20:17:44
355,318,759
0
0
null
null
null
null
UTF-8
Python
false
false
119
py
def can_play(hand, face): atts = sum([x.split() for x in hand],[]) return any([x in face.split() for x in atts])
[ "daniel.reich@danielreichs-MacBook-Pro.local" ]
daniel.reich@danielreichs-MacBook-Pro.local
027c674f48b50f9a0abe849ebba84cf45c8f7966
32373e7de37092a101ad60d54b3f76dc7e730f80
/leetcode/122_BestTimetoBuyandSellStockII/main.py
08a7cc92b2eac3adb70ec173ca8d61b870b6b402
[]
no_license
sauleddy/python_practice
1ddb3f0f23c4abcdeb8402918472fad97eac91f7
10c0311585e6daec87e89960484c0141c6a3c5cd
refs/heads/master
2021-01-19T05:02:57.686966
2017-06-20T06:51:05
2017-06-20T06:51:05
87,409,325
0
0
null
null
null
null
UTF-8
Python
false
false
514
py
class Solution(object): def maxProfit(self, prices): """ :type prices: List[int] :rtype: int """ profit = 0 if len(prices) == 0: return profit price_buy = prices[0] for idx in range(1, len(prices)): if prices[idx] < price_buy: ...
[ "sauleddy38@gmail.com" ]
sauleddy38@gmail.com
27b6925987b91c6dfc9f722599ac790738e7beef
9dee30da6cdf6baabdd7f8c872ecd101fd963707
/Python Bot/botpackage/SQLighter.py
5f765421a47ec251990abd0f711676ac2bf30de2
[]
no_license
GreatSoulSam/PythonlibPublic
c0661b2a7059381fa98fe6ada15c848fdfea838b
474ee183e00ead9c0284f7e1be0372134c9914fb
refs/heads/master
2020-05-26T22:46:09.463205
2019-05-24T10:39:05
2019-05-24T10:39:05
188,403,393
0
0
null
null
null
null
UTF-8
Python
false
false
813
py
# -*- coding: utf-8 -*- import sqlite3 class SQLighter: def __init__(self, database): self.connection = sqlite3.connect(database) self.cursor = self.connection.cursor() def select_all(self): """ get all the strings """ with self.connection: return self.cursor.execu...
[ "noreply@github.com" ]
GreatSoulSam.noreply@github.com
71de6dd2732dce2f4d92b5949d5ffe36419fdf70
268424c19feb5c4b6a3f53d901a7f8560556dd24
/tests/test_data/test_pipelines/test_augmentations/test_color.py
f8d267ba0122dbc2e40c8963770714d48baed556
[ "Apache-2.0" ]
permissive
ZJU-lishuang/mmaction2
b1ec4f395934071e8efd7c851bd43b21ecae2bea
dc46505319968eff0123eb5abb811969042377c5
refs/heads/master
2023-06-02T21:33:18.043709
2021-03-29T01:45:53
2021-03-29T01:45:53
334,845,651
3
0
Apache-2.0
2021-06-04T01:15:29
2021-02-01T05:54:35
Python
UTF-8
Python
false
false
2,872
py
import numpy as np from mmcv.utils import assert_dict_has_keys from numpy.testing import assert_array_equal from mmaction.datasets.pipelines import ColorJitter class TestColor: def test_color_jitter(self): imgs = list( np.random.randint(0, 255, size=(3, 112, 112, 3), dtype=np.uint8)) ...
[ "noreply@github.com" ]
ZJU-lishuang.noreply@github.com
cec6b0f8b9886ccad6305b02bf7b8bc1c41b854f
360ae1188ad79e71ccc72da0b9ae709bda678f91
/ryu/tests/mininet/l3/icmp/test_icmp.py
090f83e5e0641407bb768be3a2f6be651f758f78
[ "Apache-2.0" ]
permissive
faucetsdn/ryu
47b3523e7ccb381f3bdf2877a3f9f01cb1876054
d6cda4f427ff8de82b94c58aa826824a106014c2
refs/heads/master
2023-09-05T06:37:21.991029
2022-06-09T23:09:40
2022-06-09T23:09:40
2,945,007
385
215
Apache-2.0
2022-11-13T10:50:25
2011-12-09T03:43:50
Python
UTF-8
Python
false
false
2,993
py
# Copyright (C) 2012 Nippon Telegraph and Telephone Corporation. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by appli...
[ "fujita.tomonori@lab.ntt.co.jp" ]
fujita.tomonori@lab.ntt.co.jp
4df575023b8e54111d00897e90771b8c44f96543
de2a1c34675e9c499ef965e8e2443139566d1be0
/modulos/SauceNAO.py
470dc0cd53daf18a41d2bb8005dc719deb30cbe9
[]
no_license
ChetAlv/Bo.py
743023dc100d9df70671a124c0160c179087f0a9
a56dc9285434da7a254e73c425c20c82c3266bc1
refs/heads/master
2023-04-09T06:06:03.783874
2021-04-06T01:15:35
2021-04-06T01:15:35
null
0
0
null
null
null
null
UTF-8
Python
false
false
3,040
py
import os import string import random import urllib import tkinter import requests import youtube_dl from dotenv import load_dotenv from selenium import webdriver from tkinter import filedialog from selenium.webdriver.common.keys import Keys load_dotenv() #Variables key = os.getenv('key') TOKEN = os.getenv('TOKEN') ...
[ "67601252+TaprisSugarbell@users.noreply.github.com" ]
67601252+TaprisSugarbell@users.noreply.github.com
0e1eb896261970a1c2b8f39bd74c654d59cf3c3a
42586ca701998599c90a2b52049a31942cd54c3c
/Nina/calendr/urls.py
085a94df9f930d348f38c948b4db8b67b8112ebd
[]
no_license
alicanyagmur/yagmur
c776d4aff28103177ea946f50b20a72961e8b3fb
9b36fefc8d0d9ea2410203f3dafe398d13f7f7df
refs/heads/master
2022-12-15T13:21:59.909168
2019-02-21T16:42:04
2019-02-21T16:42:04
171,907,278
0
0
null
2022-11-22T03:26:27
2019-02-21T16:34:08
Python
UTF-8
Python
false
false
137
py
from django.conf.urls import url from .views import * app_name ="calendr" urlpatterns=[ url(r'',Calendar_View, name='calendar'), ]
[ "can_cyborg@hotmail.com" ]
can_cyborg@hotmail.com
60cbd112540dea4a2802be9f51b8bfc86bc742d4
2c34c5fece6c900cdc396dc04eefbba46724754c
/cloudkitpy/database.py
482867baab02aac256fb34f0a704ba7d16b1e967
[ "MIT" ]
permissive
yz/CloudKitPy
da646a15f6794e6188825821a4fc4fca7f51b660
e26eea1207845b62e20fbc514ebba4edc3efd087
refs/heads/master
2021-09-23T12:12:20.036871
2018-09-22T18:54:13
2018-09-22T18:54:13
271,097,279
0
0
MIT
2020-06-09T19:58:32
2020-06-09T19:58:32
null
UTF-8
Python
false
false
12,564
py
# # database.py # CloudKitPy # # Created by James Barrow on 28/04/2016. # Copyright (c) 2016 James Barrow - Pig on a Hill Productions. # # !/usr/bin/env python from datatypes import Record from datatypes import Zone from request import Request from helpers import parse class Database: __logger = None cont...
[ "baza207@me.com" ]
baza207@me.com
18b42f59eae9ea56b47d87de64f8a422960691cc
f824e7a172d136e738c0a64e9e3db98a69943a75
/backend/alembic/versions/4b783bcaba87_.py
4e02be0357546ad9cefa517ef0e55598c8e85223
[]
no_license
aurthurm/fastapi-playground
23c685e598aa935389dc76d94c3a0b303409f075
f1e57cba7596b36dcc0739bc048ec72a4fe9a704
refs/heads/master
2023-05-21T22:43:40.414435
2020-08-01T14:46:30
2020-08-01T14:46:30
262,516,194
0
0
null
2021-06-11T18:06:43
2020-05-09T07:36:10
Python
UTF-8
Python
false
false
859
py
"""empty message Revision ID: 4b783bcaba87 Revises: a79a697b53ad Create Date: 2020-04-09 14:44:18.115115 """ from alembic import op import sqlalchemy as sa # revision identifiers, used by Alembic. revision = '4b783bcaba87' down_revision = 'a79a697b53ad' branch_labels = None depends_on = None def upgrade(): # ...
[ "aurthurmusendame@gmail.com" ]
aurthurmusendame@gmail.com
911c908e590e7be6bef9855fd19303469f64601e
d1a9e6ae51257311b4058898eafff2c2ed4ba480
/algorithms/hard/RegularExpressionMatching.py
013ff4db4f1661ecfff2c112520c224cc3e7130f
[]
no_license
cguerramain/leetcode
e7e35c7097a39dca9369dc43b3334a0970fb7105
fdaecec281e854ffd15828bc30f6062b61db34d4
refs/heads/master
2021-10-10T10:29:01.872876
2019-01-09T14:09:44
2019-01-09T14:09:44
107,736,274
0
0
null
null
null
null
UTF-8
Python
false
false
142
py
class Solution: def isMatch(self, s, p): """ :type s: str :type p: str :rtype: bool """
[ "cguerramain@gmail.com" ]
cguerramain@gmail.com
4c22b52076c8127259f440a494d1fd520ba4a170
8fc8c93b4c9da256b15825b44fc4f7e7ee302e99
/M1_dictator/models.py
1413e19472b5eb71031dc9b95a1567520998f3a0
[]
no_license
cessuser/cheating_entitlement_die_roll
d22ec5a459f9bc236498c2ecc03278d03334f9c0
520911d84953263e9cb864af4caf42075193dff9
refs/heads/master
2020-04-03T14:54:44.121367
2018-11-02T11:34:39
2018-11-02T11:34:39
155,341,440
0
1
null
2018-11-01T12:51:35
2018-10-30T07:20:08
HTML
UTF-8
Python
false
false
1,277
py
from otree.api import ( models, widgets, BaseConstants, BaseSubsession, BaseGroup, BasePlayer, Currency as c, currency_range ) import random doc = """ One player decides how to divide a certain amount between himself and the other player. See: Kahneman, Daniel, Jack L. Knetsch, and Richard H. Thaler. "Fairne...
[ "d84chen@uwaterloo.com" ]
d84chen@uwaterloo.com
7b37c16cdd2008cc9fbdeb30bb5cfe971c27bdb7
cea30aead7f0b529ee072c1bcab2896777e1408d
/PreprocessingCropsData/venv/Lib/site-packages/sklearn/model_selection/_search_successive_halving.py
0b3046b5dbc21dc906f28f9f0c5d4fa1674cd89a
[]
no_license
pgj9702/FarmSolution
3730ab3ca983b335ed48a60935c5fa6e3983cbb1
a8cacc45b8519e79b51ab65b9539a01f5006e64f
refs/heads/master
2023-03-30T15:41:10.312044
2021-03-31T08:47:23
2021-03-31T08:47:23
334,019,778
0
1
null
2021-02-22T09:32:57
2021-01-29T02:52:46
Python
UTF-8
Python
false
false
40,368
py
from math import ceil, floor, log from abc import abstractmethod from numbers import Integral import numpy as np from ._search import _check_param_grid from ._search import BaseSearchCV from . import ParameterGrid, ParameterSampler from ..utils.validation import _num_samples from ..base import is_classifier from ._spl...
[ "cao147147@naver.com" ]
cao147147@naver.com
16d91fbc3374f016bc52a16e1e68608bbefcffbc
556e88a954cf031460ea7fdf3791eb968ca4fbdd
/fluent_python/chapter_17/ch17_flags_threadpool2.py
0373d3477801877b0d8723964f6ae65bbb1fa6e3
[]
no_license
feng-hui/python_books_examples
c696243fcb8305be495f44d1a88a02e7f906b7bd
e38542db7be927cdaa5d85317a58a13b3a13ae25
refs/heads/master
2022-03-07T00:37:29.311687
2019-09-28T15:15:20
2019-09-28T15:15:20
122,941,867
1
0
null
null
null
null
UTF-8
Python
false
false
1,158
py
#!/usr/bin/python3 # -*- coding:utf-8 -*- # @author FH # @email: capricorn1203@126.com # @time: 2019/2/27 11:02 from concurrent import futures from chapter_17.ch17_flags import save_flag, main, get_flag, get_one, show MAX_WORKERS = 20 def download_one(*args): url, default1, default2 = args[0] print('>>>>>>re...
[ "982698913@qq.com" ]
982698913@qq.com
4367544d277d03c63b6dfb05308f5866f37a0e5c
69016961d556c1a8b67f0e23991f3a4b4df2a3ae
/tests/test_verify.py
2e3c79ae197357ffe9715689e21c9e8bec4d8132
[]
no_license
huonfraser/cutting_problem
4d41b456b669b5472e0ade5b7cca67f07b22c500
4d767da24715d4dc13b2735f7e528cf4a4a59d9c
refs/heads/master
2022-12-07T12:19:17.555562
2020-08-21T04:31:39
2020-08-21T04:31:39
281,576,014
0
1
null
null
null
null
UTF-8
Python
false
false
531
py
from main import * sol1 = Solution([ ("a",0,0,4,4), ("b",5,5,4,4) ]) #correct sol2 = Solution([ ("a",0,0,4,4), ("b",0,0,4,4) ]) #correct sol3 = Solution([ ("a",0,0,4,4), ("b",1,1,2,2) ]) #correct sol4 = Solution([ ("a",0,0,4,4), ("b",3,3,5,5) ]) #correct sol5 = Solution([ (...
[ "huon.fraser@gmail.com" ]
huon.fraser@gmail.com
00d1fd2f84a95e4df20a1149dd9187052f3cb68c
711756b796d68035dc6a39060515200d1d37a274
/output_cog/optimized_37599.py
5c18316aac1805f55a0ec0ed775451d82de1a1e1
[]
no_license
batxes/exocyst_scripts
8b109c279c93dd68c1d55ed64ad3cca93e3c95ca
a6c487d5053b9b67db22c59865e4ef2417e53030
refs/heads/master
2020-06-16T20:16:24.840725
2016-11-30T16:23:16
2016-11-30T16:23:16
75,075,164
0
0
null
null
null
null
UTF-8
Python
false
false
10,844
py
import _surface import chimera try: import chimera.runCommand except: pass from VolumePath import markerset as ms try: from VolumePath import Marker_Set, Link new_marker_set=Marker_Set except: from VolumePath import volume_path_dialog d= volume_path_dialog(True) new_marker_set= d.new_marker_set marker_set...
[ "batxes@gmail.com" ]
batxes@gmail.com
9f660e4b51dcbfd8dc0034c7966e4022a7020c52
fab0793df2a8f3ef36cd4b1139f5df848190938f
/generate_python_from_graph.py
ab190faa924e83de133403d4c4c4c014ff4b10fd
[ "Apache-2.0" ]
permissive
chapellegrini/pvnn
eee93529a58b2a99687e8d911e546179be8f8d7a
0ccd8b57a106d5e3f801da696ae4290ea940c6a5
refs/heads/master
2020-04-22T16:18:15.390971
2019-02-13T12:35:52
2019-02-13T12:35:52
170,503,702
1
0
null
null
null
null
UTF-8
Python
false
false
5,411
py
#!/usr/bin/env python3 # This file contains the function generate_python_from_graph, which can be used # to generate Python code describing a Keras model. The graph is composed of # imbricated Python dict and describes how the different layers of the Keras # model are linked. # A Graph class will be defined for the ne...
[ "charles.pellegrini@etu.u-bordeaux.fr" ]
charles.pellegrini@etu.u-bordeaux.fr
0ce730577d2cffb3ebf369c965ad960ee3b48f06
4ad4af2cf431a08c35b0d6a1cee2eafd797902ac
/code/modelPredict/img2map5011_02_d2_48.py
ef07dd0cb3309e58065ed9791f0f26a16853ea91
[ "CC0-1.0" ]
permissive
karenthchen/Association-between-three-dimensional-urban-form-and-depression
2b1084ace840f77ca6081a23f69da71578683715
c52c01daf8f41f79e66c2f60a40473f0f1d035d6
refs/heads/main
2023-06-08T13:47:11.488031
2023-05-25T02:07:09
2023-05-25T02:07:09
334,077,167
0
0
null
null
null
null
UTF-8
Python
false
false
2,437
py
# @Date: 2019-05-13 # @Email: thc@envs.au.dk Tzu-Hsin Karen Chen # @Last modified time: 2020-10-07 import sys sys.path.insert(0, '/home/xx02tmp/code3/model') sys.path.insert(0, '/home/xx02tmp/code3/dataPrepare') import deepLabV3_ as DNN import numpy as np import time from keras.models import load_model ...
[ "noreply@github.com" ]
karenthchen.noreply@github.com
e39cb59eb8a4b09a595fca572020afe4bb7d0e9e
5a52ccea88f90dd4f1acc2819997fce0dd5ffb7d
/alipay/aop/api/response/KoubeiCateringDishGroupQueryResponse.py
f6bad0bc1d4d12e9097d0a1d2d7de2186586d80d
[ "Apache-2.0" ]
permissive
alipay/alipay-sdk-python-all
8bd20882852ffeb70a6e929038bf88ff1d1eff1c
1fad300587c9e7e099747305ba9077d4cd7afde9
refs/heads/master
2023-08-27T21:35:01.778771
2023-08-23T07:12:26
2023-08-23T07:12:26
133,338,689
247
70
Apache-2.0
2023-04-25T04:54:02
2018-05-14T09:40:54
Python
UTF-8
Python
false
false
1,157
py
#!/usr/bin/env python # -*- coding: utf-8 -*- import json from alipay.aop.api.response.AlipayResponse import AlipayResponse from alipay.aop.api.domain.KbdishGroupInfo import KbdishGroupInfo class KoubeiCateringDishGroupQueryResponse(AlipayResponse): def __init__(self): super(KoubeiCateringDishGroupQuery...
[ "liuqun.lq@alibaba-inc.com" ]
liuqun.lq@alibaba-inc.com
d864f2371aede5f33d0259429937cf36aa1ac4a4
30e2a85fc560165a16813b0486a862317c7a486a
/base_tutorial/bin/blank.py
e51fd9189c59b405f9351fd455566fd9d34c24ae
[]
no_license
muryliang/python_prac
2f65b6fdb86c3b3a44f0c6452a154cd497eb2d01
0301e8f523a2e31e417fd99a968ad8414e9a1e08
refs/heads/master
2021-01-21T11:03:48.397178
2017-09-18T04:13:27
2017-09-18T04:13:27
68,801,688
1
0
null
null
null
null
UTF-8
Python
false
false
358
py
import fileinput, re fieldpattern = r'\[(.+?)\]' pattern = re.compile(fieldpattern) scope = {} def replacement(match): group = match.group(1) try: return str(eval(group, scope)) except SyntaxError: exec group in scope return "" lines = '' for line in fileinput.input(): lines += line.replace('\n','') pr...
[ "muryliang@gmail.com" ]
muryliang@gmail.com
ebafdf61c318fe7412527063fbac64be2ed4fea3
bec13bdc2d1a3696436bc7f534d0db23a1e6cdbe
/douban/settings.py
7c9bd6de7b5dc5de02407f7a6485261cb1b283e8
[]
no_license
w77996/DoubanSpider
fde873725b50ca096404219bdbe6ae4fc652e8f9
a7a9f5b159e046a25e5ec954287a50a20c48ee41
refs/heads/master
2020-03-23T13:13:21.645095
2018-07-19T16:37:29
2018-07-19T16:37:29
141,606,688
0
0
null
null
null
null
UTF-8
Python
false
false
3,237
py
# -*- coding: utf-8 -*- # Scrapy settings for douban project # # For simplicity, this file contains only settings considered important or # commonly used. You can find more settings consulting the documentation: # # https://doc.scrapy.org/en/latest/topics/settings.html # https://doc.scrapy.org/en/latest/topics...
[ "912513404@qq.com" ]
912513404@qq.com
7c305b6de14de72442620cd8a53b49727259c35c
105cea794f718d34d0c903f1b4b111fe44018d0e
/content/test/gpu/gpu_tests/gpu_helper_unittest.py
3940e4b2b763fecbce12831e5ba254417ec89eeb
[ "BSD-3-Clause" ]
permissive
blueboxd/chromium-legacy
27230c802e6568827236366afe5e55c48bb3f248
e6d16139aaafff3cd82808a4660415e762eedf12
refs/heads/master.lion
2023-08-12T17:55:48.463306
2023-07-21T22:25:12
2023-07-21T22:25:12
242,839,312
164
12
BSD-3-Clause
2022-03-31T17:44:06
2020-02-24T20:44:13
null
UTF-8
Python
false
false
20,339
py
#!/usr/bin/env vpython3 # Copyright 2022 The Chromium Authors # Use of this source code is governed by a BSD-style license that can be # found in the LICENSE file. from typing import Any, Callable, Dict, List, Optional, Tuple, Union import unittest from unittest import mock import dataclasses # Built-in, but pylint ...
[ "chromium-scoped@luci-project-accounts.iam.gserviceaccount.com" ]
chromium-scoped@luci-project-accounts.iam.gserviceaccount.com
af51e1938928df157b56eed4bc25ac66db6ad429
e5516a7d7cb1deb2d33c771d4a49a1081f183d2e
/Item.py
fbd884ea8b9d43c39bcddf068e3937902ceeefb3
[]
no_license
RDinary/python_06_20
14159e9c316902706ef994575521648329d727b6
457b6a17f1578817f157b0fa2150a23746d00481
refs/heads/master
2022-12-29T13:41:21.840415
2020-10-13T17:26:14
2020-10-13T17:26:14
280,805,415
0
0
null
null
null
null
UTF-8
Python
false
false
752
py
class Item: """ item class docstring """ def __init__(self, name, price, code): self.__name = name self.__price = price self.__code = code def PrintInfo(self): print(f"Item name: {self.__name}, price: {self.__price}, Code: {self.__code}") def __str__(self): ...
[ "rafidinary@gmail.com" ]
rafidinary@gmail.com
58bcb8470d8abc6848e6fa72b64cb30fcbfe3bab
2dbb46a9cb019d594a234b1b97eb281534e0e8a6
/Testes/aula18b.py
79148b9108fa1a16a4dd785f3b148707e2de48d3
[]
no_license
Omupadh/python3
70110500773ad64d5197c66364311fee2ad507ec
ff2b0ddf2f61e85158f88db65d71da408d2c1e87
refs/heads/master
2022-05-28T12:35:00.765736
2020-04-22T02:07:21
2020-04-22T02:07:21
null
0
0
null
null
null
null
UTF-8
Python
false
false
695
py
galera = list() dado = list() maior = menor = 0 for c in range(0, 3): dado.append(str(input('Nome: '))) dado.append(int(input('Idade: '))) galera.append(dado[:]) dado.clear() print(galera) for p in galera: if p[1] >= 21: print(f'{p[0]} รฉ maior de idade.') maior += 1 else: ...
[ "wellingtonfernandesbarbosa@github.com" ]
wellingtonfernandesbarbosa@github.com
3ef3aefb59ef658888ff3710fca6f446525d756d
1a59a9076c1e9f1eb98e24ff41a4c1c95e2b353e
/xcp2k/classes/_force_eval3.py
e4dfe4c107b7e2331214ff5bb7cf2430ac8c3fe7
[]
no_license
Roolthasiva/xcp2k
66b2f30ebeae1a946b81f71d22f97ea4076e11dc
fc3b5885503c6f6dc549efeb4f89f61c8b6b8242
refs/heads/master
2022-12-23T06:03:14.033521
2020-10-07T08:01:48
2020-10-07T08:01:48
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,041
py
from xcp2k.inputsection import InputSection from xcp2k.classes._external_potential1 import _external_potential1 from xcp2k.classes._rescale_forces1 import _rescale_forces1 from xcp2k.classes._mixed1 import _mixed1 from xcp2k.classes._embed1 import _embed1 from xcp2k.classes._dft1 import _dft1 from xcp2k.classes._mm1 im...
[ "xingwang1991@gmail.com" ]
xingwang1991@gmail.com
03329e1fb649b7a1fb2c803af174392096217444
ca208cc7081fe039dca0ae52d1463b1c1786e492
/Unit_2/weekend.py
1cfe25b538c4b0f1bffa1ff4cd3e0b62d3f8be6f
[]
no_license
gmandolesi/cs101
945238afd2036fced9e8fe92aac06840a8512f2b
eb30f8f2e86ef4749fb79bf2e1cc4af9a6b9621a
refs/heads/master
2021-05-12T02:29:40.573094
2018-01-26T19:36:09
2018-01-26T19:36:09
117,589,622
0
0
null
null
null
null
UTF-8
Python
false
false
329
py
# Define a procedure weekend which takes a string as its input, and # returns the boolean True if it's 'Saturday' or 'Sunday' and False otherwise. def weekend(day): return (day == 'Saturday') or (day == 'Sunday') print weekend('Monday') #>>> False print weekend('Saturday') #>>> True print weekend('July') #>...
[ "gium.terra@gmail.com" ]
gium.terra@gmail.com
86f4e828682884ebe25304658f8724564cd1c8c3
78003b40022490f27e59ce9d748257b548ef853e
/Target.py
502b6bccc80aa9a2ee4bc4d60e730f06dbb6faea
[]
no_license
jvickroy/wb_demo
3ac36f7c76d999e9f96436a08d2d6461564d017b
30c33631b9550a41b06bfe2dc14db3969f3f8bc2
refs/heads/master
2021-01-10T09:35:07.356216
2015-11-27T17:22:51
2015-11-27T17:22:51
46,992,037
0
0
null
null
null
null
UTF-8
Python
false
false
13,547
py
''' CONTENTS components implementing a Target device interface with a Wise Ball NOTES * This module must be executing on the Target machine to be directed by a Wise Ball. * This module may be imported (e.g., for unit testing) or run as a script from a command line. * If run as a command-line script (se...
[ "jgv.home@gmail.com" ]
jgv.home@gmail.com
0598e820cc0b9669f34ba3a24e337e1736714ad9
839aa2696f888cbe966f94614e11d8962cc27c74
/utils/comparison.py
bd22d54f79eca55b2849a01fcc63cfa909619b4f
[]
no_license
jiehanzheng/rpi_intercom
dfb254ecd42b12252c099ad036691982f1073931
5ec9109504f78afc8b30c26cc83d518a91967dc5
refs/heads/master
2016-09-08T01:29:46.455086
2013-02-22T06:48:06
2013-02-22T06:48:06
null
0
0
null
null
null
null
UTF-8
Python
false
false
4,281
py
from __future__ import division from fft import fft_freq_intensity from debug import indented_print from numpy import searchsorted import scipy.weave as weave import time import os.path # # SIMILARITY SCALE # # threshold # | # [---------|----|----] # 0 0.5 ...
[ "zheng@jiehan.org" ]
zheng@jiehan.org
adf80b4e1e26080d320e64858cb973ab476c4628
c427d9142df033af2b509412153dae35706ede61
/detection/craft_text_detector/craft_text_detector/eval/__init__.py
b71260322656e4ffb7842d02030a5977cf73fa64
[ "MIT" ]
permissive
brahimbellahcen/ocr_toolkit
0b68776fe20b05f48807f856fffac752e3e08e66
b4516d4193132eb48f821926dd6ef5d368f53899
refs/heads/master
2022-11-13T10:21:14.083497
2020-06-26T15:31:38
2020-06-26T15:31:38
null
0
0
null
null
null
null
UTF-8
Python
false
false
721
py
try: import rrc_evaluation_funcs import script except: try: from eval import rrc_evaluation_funcs from eval import script except: try: from craft_text_detector.eval import rrc_evaluation_funcs from craft_text_detector.eval import script except: ...
[ "selcukcaglar08@gmail.com" ]
selcukcaglar08@gmail.com
ba2be74df812806361df907c90b182548df94a3a
eb61a8f58b7e46264a5762173a48bc3564cad301
/register/views.py
a2308fbe0fed5b850d893a717644fc64f6ba4757
[]
no_license
arunnK/NITH-Registration-Portal
cbdad9ca2e155c97eeb635516f8415c4ccf0f2f0
72b77c388f866ef2961162744f69f7133e09e5a5
refs/heads/master
2020-12-24T21:28:16.815876
2016-04-29T20:39:53
2016-04-29T20:39:53
57,408,185
0
0
null
null
null
null
UTF-8
Python
false
false
13,279
py
from django.shortcuts import render,render_to_response,redirect from django.http import HttpResponse,HttpResponseRedirect from django.template import Template,Context from django.template.loader import get_template from django.core.exceptions import ObjectDoesNotExist #import pymysql as MySQLdb #from django.shortcuts i...
[ "arunkumar7617@gmail.com" ]
arunkumar7617@gmail.com
8aba9ca1e4da7c24f26513af5b6842a13da3a87e
cf43ef276007d94736180bf049ba1893430f5f14
/tushare-data/__init__.py
1e2037df39a889c9ac252c55511d96df9db50dba
[]
no_license
AISelf/RLearning
16f6061e564ca566188133241ca6a4cad0b13df8
32ceb17a12e84e4e1b89242c3aa4d5f76973ed33
refs/heads/master
2020-08-03T22:22:26.299094
2020-01-16T11:16:46
2020-01-16T11:16:46
211,903,353
0
0
null
null
null
null
UTF-8
Python
false
false
147
py
""" -*- coding:utf-8 -*- @Author : liaoyu @Contact : doitliao@126.com @File : __init__.py.py @Time : 2020/1/11 01:44 @Desc : """
[ "doitliao@126.com" ]
doitliao@126.com
85ae90d01ea5b65cc72d34a2175ebc71c8f8af6e
72167bc16ffc678e5270dc83000013158d69aaf1
/Chapter08/8.2.2pets.py
d766616967d211c42ec41bbeb0f94da523b2aa81
[]
no_license
OSYouth/PythonCrashCourse
6e37b53b5a83705db3366543b9ab80ef5dd4e3b7
bbb88a087f489baa535d2b1477c08d023ae5b913
refs/heads/master
2021-08-22T17:35:27.702205
2021-04-16T13:01:16
2021-04-16T13:01:16
249,334,439
0
0
null
null
null
null
UTF-8
Python
false
false
274
py
def describe_pet(animal_type, pet_name): """ๆ˜พ็คบๅฎ ็‰ฉ็š„ไฟกๆฏ""" print("\nI have a " + animal_type + ".") print("My " + animal_type + "'s name is " + pet_name.title() + ".") describe_pet(pet_name='harry', animal_type='hamster') describe_pet('dog', 'willie')
[ "benleolee@163.com" ]
benleolee@163.com
2d77e8146d2dc6536f7aa74fdd65755882cfc7c8
219c123c7630e7b3783743d3a1bf2ee6f753e702
/lastadata_json.py
5eea72421859bd92ba3ac30dfde44757df487058
[]
no_license
CitiCup-Lokout/crawling
dd02493bb14452b617fdae4dd941e0dcb845e36f
939f7a493afa6b46df7f638398db35c2133c7d21
refs/heads/master
2020-07-26T08:16:05.426720
2019-09-15T15:21:16
2019-09-15T15:21:16
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,255
py
import json import csv import time import datetime import os import schedule def job(): file = open('D:\class\B\lastdata.json','r',encoding='utf-8') uid = 0 #i=0 for line in file.readlines(): b = json.loads(line) print(b) #i+=1 author = b['Author'] print(auth...
[ "liys1@shanghaitech.edu.cn" ]
liys1@shanghaitech.edu.cn
05c4b3c150c65cdcb953356e33cfd8ddee230196
1c27cb992f8b3e3f360c6289a43a1503ea0442fd
/ua/univer/base/day6/hw06oop/examples/cellphone.py
f9b5b3f1a849adedfc8adb7aa9940a6e51388fc0
[]
no_license
supportaps/python050920
45351b0180b144b9e336468cc3bc09796c10ed5d
c4ace87aac1694199ed27e93b8e56c99a3f2a206
refs/heads/master
2023-01-08T17:02:20.120871
2020-11-07T00:20:14
2020-11-07T00:20:14
294,874,814
0
0
null
null
null
null
UTF-8
Python
false
false
542
py
class CellPhone: def __init__(self, manufact, model, price): self.manufact = manufact self.model = model self.retail_price = price def set_manufact(self, manufact): self.manufact = manufact def set_model(self, model): self.model = model def set_retail_price(se...
[ "Rvanuyked@gmail" ]
Rvanuyked@gmail
b7077c4681a24c0e67f35634283cf47fe482f686
450dd2480e7889c56f78b47d6d96b86007d6fcb0
/config.py
9f7d78c00069831547be94a9b032f00952f2c73e
[ "MIT" ]
permissive
Yusuke-Ikezaki/Capsule-DQN
51a6b2ca70d38b41f0bade3cca31b6d44d51bc7c
021ef0d50f6802d078126dc0d8f034581ff16e1c
refs/heads/master
2022-12-06T23:05:08.736233
2021-05-29T08:29:29
2021-05-29T08:29:29
124,066,901
0
1
MIT
2022-11-21T23:25:24
2018-03-06T11:13:36
Python
UTF-8
Python
false
false
1,770
py
import tensorflow as tf flags = tf.app.flags ############################ # hyper parameters # ############################ flags.DEFINE_integer("batch_size", 32, "batch size") flags.DEFINE_integer("height", 84, "frame height") flags.DEFINE_integer("width", 84, "frame width") flags.DEFINE_integer("state_leng...
[ "yusuke@ikezakiyuusukenoMacBook.local" ]
yusuke@ikezakiyuusukenoMacBook.local
f03f4893235bf29361fd2e74c6e54b99df98759d
6c53a6492aa575fb418c500a3a8c48abebc79ee6
/demos/ascii.py
5687563f1adfe01efb44ba66e2be05e18d18c18f
[]
no_license
whitegreyblack/ecs
151ee9ddab197c0e7350dbe989f0b898a340bfe8
509c9b0e549f084dc6e94713b141164f790bafd8
refs/heads/master
2021-07-02T07:05:37.447551
2020-08-11T19:43:06
2020-08-11T19:43:06
194,711,319
0
0
null
null
null
null
UTF-8
Python
false
false
354
py
import curses def main(screen): l = 6 i, j = 0, 0 h, w = screen.getmaxyx() for c in range(32, 1500): screen.insstr(j, l * i, f"{c} {chr(c)}") i += 1 if w - l * i < l: j += 1 i = 0 if j == h: break screen.getch() if __name__ == "__...
[ "sangwoowhang@gmail.com" ]
sangwoowhang@gmail.com
d1fcf5737ecca1834ba0214e7333f09caf1f7342
8e8feed8f2f954d50246b3b3bdda3667ba5d2ce9
/cogdl/models/agc/agc.py
e937d6319e06797bfd2952846f84700b0d494dbb
[ "MIT" ]
permissive
Shiguang-Guo/cogdl
fc1349dfb71088412e1aad411b98c41f3718c9e6
b43a2ca5518180dbe7d24e27711efa7d7a6f2610
refs/heads/master
2023-03-26T22:51:59.394423
2021-03-26T13:10:19
2021-03-26T13:10:19
331,220,319
0
0
MIT
2021-03-26T13:10:20
2021-01-20T06:58:30
Python
UTF-8
Python
false
false
1,054
py
import torch import torch.nn import torch.nn.functional as F from .. import BaseModel, register_model from cogdl.trainers.agc_trainer import AGCTrainer @register_model("agc") class AGC(BaseModel): r"""The AGC model from the `"Attributed Graph Clustering via Adaptive Graph Convolution" <https://arxiv.org/abs/...
[ "noreply@github.com" ]
Shiguang-Guo.noreply@github.com
c14a540935eec953b1f921fd894a573d2d512db7
e4cae3759a053ca88a936e87e3329aec203608db
/sdk/eventgrid/azure-eventgrid/azure/eventgrid/_publisher_client.py
06cda52dc996b7722da385b52223310db27dbdea
[ "LicenseRef-scancode-generic-cla", "LGPL-2.1-or-later", "MIT" ]
permissive
a-santamaria/azure-sdk-for-python
c9413858747ccfcec2fbbefd50922c515cb4f634
9dec418ad621ac75f217e56e901f15b6624800b0
refs/heads/master
2022-05-19T00:01:07.604118
2021-02-01T22:52:25
2021-02-01T22:52:25
202,599,021
0
0
MIT
2019-08-15T19:22:33
2019-08-15T19:22:32
null
UTF-8
Python
false
false
5,807
py
# # ------------------------------------------------------------------------- # Copyright (c) Microsoft Corporation. All rights reserved. # Licensed under the MIT License. See License.txt in the project root for # license information. # -------------------------------------------------------------------------- from ty...
[ "noreply@github.com" ]
a-santamaria.noreply@github.com
0e00d8db4d2ec316eafd7e6c4cad662cef300f1f
1bac741026062dd19082b2ba74547d8e0219a900
/prove/web09_flask_server.py
fb858e6dd8a4b396e7b8781fec0a9a39d4e31b54
[]
no_license
FrancescoDattrino/corso_ml_python_youtube_pollo
997587afd9d43193ca1e3be965c491dbd2f5c811
5502f9607d6caaf9cbbe87fd9cce6755174a8aae
refs/heads/master
2022-12-24T02:20:17.895592
2020-09-24T12:19:22
2020-09-24T12:19:22
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,538
py
from flask import Flask, request, jsonify from joblib import load import pandas as pd app = Flask(__name__) # hello world, metodo GET @app.route('/', methods=['GET']) def index(): response = jsonify({ 'message': 'Ciao Polletto!' }) return response # hello world, POSTare dati @app.route('/parro...
[ "piero.savastano@gmail.com" ]
piero.savastano@gmail.com
892e735d32b9844125ab9cb2279098d2d52effd6
45ff4530ab7b6b407f779cb4311e0f2b71eb9a10
/ozgun-repo/src/my_functions_classes.py
1b5eb236f9e3819e12ff91590263d192c59c20ec
[ "MIT" ]
permissive
OzgunBu/EDGAR
45f80af2ed03515f93b78c5d4f76c37c369d3472
65f51df11f5ec3abb13d422f9119f6a1605f77a8
refs/heads/master
2020-03-08T20:18:31.469722
2018-04-06T15:41:46
2018-04-06T15:41:46
128,378,726
0
0
null
null
null
null
UTF-8
Python
false
false
12,893
py
""" Created on Thu Apr 5 12:56:57 2018 @author: bursaliogluozgun """ def main(): print('This file has necessary functions and class definitions for sessionization.py') print('list of functions and class: ') print(""" def reading_row(row_str):\n def strip_date_time(date_str,time_str):\n ...
[ "noreply@github.com" ]
OzgunBu.noreply@github.com
21acba8bfe3790d5c45c89447ceb513470c9f81b
7cf75e1473d3c64b93110eb27c32c442027d43bb
/polls/migrations/0001_initial.py
260408428f95fedb6ace3561bf7479766364bcab
[]
no_license
xxglwt/untitled9
e78c4f747d7e78cc799c4264c19547022aa05a6e
f5ed19a646e6a45dc7f70a2807f513a08186465b
refs/heads/master
2022-12-10T19:45:49.131721
2020-06-23T12:18:55
2020-06-23T12:18:55
239,277,406
0
0
null
2022-12-08T06:21:20
2020-02-09T09:25:40
Python
UTF-8
Python
false
false
1,074
py
# Generated by Django 2.2.7 on 2019-12-06 22:46 from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): initial = True dependencies = [ ] operations = [ migrations.CreateModel( name='Question', fields=[ ...
[ "381722463@qq.com" ]
381722463@qq.com
dca96220010cb7f6f960dc57e2b76741f0826601
7a08b33d53e4c606b9ac3d2bc6689aacc7ddd0ac
/calculate_brine_salinity.py
7e9e72305977b0bec508b318a9fc4d9fd2ce47d0
[]
no_license
bowmanlab/sea_ice_brine_salinity
f4bc464bc50aa6eaa7c4ddcff36cdb8ac9241c99
28611ad0924db342debcda8eebe990cbfbf58b6a
refs/heads/master
2020-04-29T04:25:23.398846
2019-03-17T12:46:51
2019-03-17T12:46:51
175,846,521
0
0
null
null
null
null
UTF-8
Python
false
false
4,238
py
# -*- coding: utf-8 -*- """ Created on Fri Mar 25 07:33:02 2011 @author: Jeff This script calculates brine salinity and the concentration factor for ice between 0 and -30 according to the equations of cox and weeks. If volume to add is negative, do not add any melt solution and disregard dilution factor in log shee...
[ "jsbowman@ucsd.edu" ]
jsbowman@ucsd.edu
5286536f733b38fd2e2db5d62212384ad2124e93
82ac6a6463addf573510799a62ed7b96ee6b6b32
/apps/blog/migrations/0014_auto_20210926_1102.py
21a68cc8f25c61e94bfb035df8f9c1acc35e0ef9
[]
no_license
bakiev05/final_food_blog
f5f6c72d3a9b8b933f1a9da0ef701a5ce9ba7950
6de287a19e06906c6a044dd4e1d1fce282852446
refs/heads/master
2023-08-22T20:38:25.525343
2021-09-27T17:33:06
2021-09-27T17:33:06
407,099,391
0
0
null
null
null
null
UTF-8
Python
false
false
682
py
# Generated by Django 3.2.7 on 2021-09-26 11:02 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('blog', '0013_auto_20210926_1053'), ] operations = [ migrations.RemoveField( model_name='recipevideo', name='recipe',...
[ "aziz.hadj1212@gmail.com" ]
aziz.hadj1212@gmail.com
156f165239216d02dc7411d00ba19b5440a54e95
ffb712c0448306a9341850d76cf3a3db1d34fd09
/PythonBรกsico/for-objetos.py
bc6ca00e629048a6bf16aca548f97c1b6cb29039
[]
no_license
gabrielos307/Python2020-2
64f9ea171efc5786547e67a46b3ee17c1efe213d
b55e1767e8f3210ab9066fec94cbadeac278cb8b
refs/heads/master
2020-12-04T10:15:46.439825
2020-01-10T00:26:32
2020-01-10T00:26:32
231,724,323
0
0
null
null
null
null
UTF-8
Python
false
false
686
py
#Programa con for que recorra 4 objetos cadena ="Clase de python grupo 2" lista = [1,2,3,4,5,6,7,8] tupla = (1,2,3,4) diccionario = {1:"uno",2:"dos",3:"tres"} #Imprime la cadena for i in cadena: print(i) print() #Imprime tupla for i in tupla: print(i) print() #Imprime lista for i in lista: print(i) print() #Impri...
[ "gabrielos307@gmail.com" ]
gabrielos307@gmail.com
c8d1c9625723650f8d2def3a6f1da833c44bc8da
3cb2408400525c63cf677be0b79910218142a0d1
/Advanced level/Advanced OOP/06. Polymorphism and Magic Methods - Lab + Ex/05.Vehicle.py
ef4050f43e41615fc7aeb98c678670e32f8d01dd
[]
no_license
StefanDimitrovDimitrov/Python_Advanced
5eed83ba41a4726e8568054a637837db9f859323
87c6c13414cb92703bee33650a341d1a369b409b
refs/heads/main
2023-08-06T06:27:41.594009
2021-10-05T18:08:40
2021-10-05T18:08:40
312,846,355
0
0
null
null
null
null
UTF-8
Python
false
false
2,470
py
from abc import ABC, abstractmethod class Vehicle(ABC): def __init__(self, fuel_quantity, fuel_consumption): self.fuel_quantity = fuel_quantity self.fuel_consumption = fuel_consumption @abstractmethod def drive(self, distance): pass @abstractmethod def refuel(self, fuel):...
[ "54206891+StefanDimitrovDimitrov@users.noreply.github.com" ]
54206891+StefanDimitrovDimitrov@users.noreply.github.com
77999c8acbc78c7b06db365d55901b9ba60abcff
23e3b4a21d3b0d14a81d328d65fa03d03f142585
/fizzCheck.py
d94f0f70306915457845dbec82071efe88fcd431
[]
no_license
LoisCoulon/FizzBuzz
3d4aeed5cc16e9e27ef8e5245b0c76d90d9f5184
6fc07b7bc0ddfdaf495d165cf0adbc9b0dd9616c
refs/heads/main
2023-03-23T13:45:36.783230
2021-03-25T09:23:08
2021-03-25T09:23:08
349,106,988
0
0
null
null
null
null
UTF-8
Python
false
false
475
py
class fizzChecker: @staticmethod def isCorrect(x): if x <= 0: raise(ArgumentError()) return False elif (x%3) == 0 and (x%5 != 0): return True elif (x%5) == 0 and (x%3 != 0): return True elif (x%3 == 0) and (x%5 == 0): ...
[ "flojuve@hotmail.fr" ]
flojuve@hotmail.fr
67d22e7d7f3ea14b2c052e4b9386aed64c82c32d
e791715e85d6c503350736fbe63795dd7d19a0d6
/src/SRT2019/fusion/scripts/lidar_cam_fusion.py
b32fa91ecedff3cca19a95317d53fe8d6623af7f
[]
no_license
SJTUSRT/SRT2019
463da86acccea65bf9330dfee498583a072bc832
2c28fbaffca7445764093f3b691d4ddd40c0f249
refs/heads/master
2023-02-01T18:51:18.555003
2020-12-17T07:16:56
2020-12-17T07:16:56
318,538,524
0
0
null
null
null
null
UTF-8
Python
false
false
12,614
py
#!/usr/bin/env python # -*- coding: UTF-8 -*- #ๅฎšไน‰ไฝŽ้€šๆปคๆณข็ฑปๅŠ่ฎก็ฎ—ๆฌงๆฐ่ท็ฆป็š„ๅ‡ฝๆ•ฐ #ๅฎšไน‰่žๅˆๆ‘„ๅƒๅคดๅŠ้›ท่พพไผ ๅ›ž็š„ๅŽŸๅง‹ไฟกๆฏ๏ผŒๅนถไปฅๆญคๆ“ๆŽง่ฝฆ่พ†่ฟ่กŒ็š„็ฑป import rospy import lidar2img import numpy as np from numpy import linalg as la from fusion.msg import lidar3_single from fusion.msg import lidar3_whole from fusion.msg import imagel_single from fusion.msg import imagel_w...
[ "johnjackal@sjtu.edu.cn" ]
johnjackal@sjtu.edu.cn
a08745cbc5ab323032e8fd0dc796a911af41abd4
b447fb38001b0fc228010f45d94a12bf1ed34ae5
/venv/Scripts/easy_install-3.6-script.py
9ef6818c5b21bbd7355d8b885abc5163e5199704
[]
no_license
cforgeyj/fest_db
94bb26c8adb269ae5a430debb2bfd9c3ac5210d5
cc8fbb383eeca629d3b2887398344052518b828f
refs/heads/master
2020-06-20T20:15:54.341952
2019-07-16T17:01:40
2019-07-16T17:01:40
197,233,852
0
0
null
null
null
null
UTF-8
Python
false
false
460
py
#!C:\Users\charl\PycharmProjects\festivals\venv\Scripts\python.exe # EASY-INSTALL-ENTRY-SCRIPT: 'setuptools==40.8.0','console_scripts','easy_install-3.6' __requires__ = 'setuptools==40.8.0' import re import sys from pkg_resources import load_entry_point if __name__ == '__main__': sys.argv[0] = re.sub(r'(-script\.p...
[ "cforgeyj@ucsd.edu" ]
cforgeyj@ucsd.edu
42311741715181ad2c8f884bda05b2b4f5443e54
e72331dea0c3a18bf5d750274dfd06e5c1d7c409
/divisors.py
ff7bb255313a50a8714477546850a9a1f6a8ed52
[]
no_license
darkeclipz/code-collection
73e922919a5262fcf46aa14340add6afd8875523
b176eb04f556cdb5d41f3f05c7970897615a34f3
refs/heads/master
2020-03-27T15:14:22.912525
2018-12-31T11:27:49
2018-12-31T11:27:49
146,705,807
0
0
null
null
null
null
UTF-8
Python
false
false
435
py
import math # Returns all the divisors for a number x, including x. # e.g divisors(1001) = [1, 7, 11, 13, 77, 91, 143, 1001] def divisors(x): result = [] limit = math.ceil(math.sqrt(x)) for i in range(1, limit+1): if x % i == 0: if x / i == i: result.append(i) ...
[ "larsrotgers@gmail.com" ]
larsrotgers@gmail.com
1e0d9024bc03220f6aa14ebcc2b4484a68e55ef8
00fde49c9ff92fa74718c5937aa73ad88df1ef8c
/ccti/trees_and_graphs/diamond_path_finder.py
013d9ebebddeb301f34eba4c94ec976c3f016354
[]
no_license
manish-jain-py/general_programs
60355cb5bbdbfe4586d2f70ab51b64f9c786ed9d
0da199eab29b4f6fce2385a2d56dd49b2f2cde76
refs/heads/master
2021-01-18T17:31:41.221341
2017-05-22T16:10:18
2017-05-22T16:10:18
86,805,893
0
0
null
null
null
null
UTF-8
Python
false
false
1,373
py
from graph import Graph def DFS(current_vertex, g, all_paths=[]): if not hasattr(current_vertex, 'parent'): current_vertex.parent = None if len(current_vertex.get_all_neighbors()) == 0: ones, path = traverse(current_vertex) all_paths.append((ones, path)) for neighbor in current_ver...
[ "manishjain.py@gmail.com" ]
manishjain.py@gmail.com
64e0129ae0203ae2ead43235c189ef996a351d50
44eb44c067dd3259dea8e236b1f5c7c4c33f0e27
/prepare_classification_counties_israel2.py
e15aec54e2c471d407d50c864b8f9d95a5c31fb4
[]
no_license
TrevorWinstral/classification
233633320837546943bb15f93f0b1afc0d9a5376
07fbde8dcfc2981bafba06fb2efc49644daa2449
refs/heads/master
2022-12-21T03:54:05.810938
2020-10-02T17:40:52
2020-10-02T17:40:52
null
0
0
null
null
null
null
UTF-8
Python
false
false
8,702
py
1;95;0c #/Users/olgabuchel/Downloads/28_day.csv - last 28 days #OBJECTID Place ืชืืจื™ืš ืฉืขื•ืช ืฉื”ื™ื™ื” x y #1276117 ืคื™ื ืกืงืจ - ืžืจื›ื– ืžืงืฆื•ืขื™ - ืฉื™ืจื•ืชื™ ื‘ืจื™ืื•ืช ื›ืœืœื™ืช - ืจืืฉื•ืŸ ืœืฆื™ื•ืŸ 28/6/2020 08:00 - 10:30 34.80713460000000 31.968514200000100 #/Users/olgabuchel/Downloads/IRSL.csv - historical dates grouped # City Population as of 201...
[ "obuchel@gmail.com" ]
obuchel@gmail.com
e87335a5e1e515ee0574295d3f565c3773ddbdbb
948e042e887bc7d82d718fc92430c49236e4d47c
/Vestigium.py
9b23e76bdcbf43e91091d452b20e20a4f0e51c2b
[ "MIT" ]
permissive
namanadlakha3/Google-CodeJam2020
49e79b917e2a43a6d15b03be43bbbdc30d19114d
aa9cd41f4dbd5c43eb7eaec857147baa39f73224
refs/heads/master
2021-05-22T20:44:07.412079
2020-07-15T17:41:30
2020-07-15T17:41:30
253,087,598
1
0
null
null
null
null
UTF-8
Python
false
false
815
py
def solve(): n = int(input()) arr = [] for i in range(n): arr.append([int(j) for j in input().split()]) #print( diag = 0 col = 0 row = 0 for i in range(n): c = [] r = [] cf = 0 rf = 0 for j in range(n): if arr[i][...
[ "noreply@github.com" ]
namanadlakha3.noreply@github.com
b904f7456130b6f56a2a6f651ad92d169445449e
bcd7a9851566f7b4f3a6db973fad012356a3065a
/test/test-smoothpolyline.py
411a16936c6ac96d550ffd836a14d02cd7d219b9
[ "BSD-3-Clause" ]
permissive
WojciechMula/canvas2svg
a61f83914417b754815f65fdc7ae0a4c4c85c665
c711a8ebc04269cf79f8c669cb842794361b3f9c
refs/heads/master
2023-06-20T17:21:52.007919
2020-12-23T11:13:21
2020-12-23T11:13:21
11,618,088
44
19
BSD-3-Clause
2020-12-23T11:13:22
2013-07-23T20:14:14
Python
UTF-8
Python
false
false
399
py
from framework import * root.title("Smoothed polyline test ($Revision: 1.4 $)") n = 50 k1 = 3 k2 = 10 for i in xrange(n): k = randint(k1, k2) p = [] for j in xrange(k): p.append(coord()) p.append(coord()) item = canv.create_line(*p) canv.itemconfigure(item, smooth="1", fill=random_color(), width=randin...
[ "wojtek@a13746d7-5020-4d46-8679-245a07f888a7" ]
wojtek@a13746d7-5020-4d46-8679-245a07f888a7
b2fc79e5c34dabc3eb6432156aaa5db3953e2e27
9cde4277a63fc7b499f2097f0560c1958ba9716c
/productos/migrations/0003_auto_20190130_1937.py
882efd0e7359e9264b35bed26b8feb2e2c350f77
[]
no_license
Rob866/store
fa510157c82d80b4ab879de64206147cd513a793
35515f2d5dd1509763ba0af21a8f835c5c38125e
refs/heads/master
2020-04-20T03:00:44.979279
2019-02-04T03:39:55
2019-02-04T03:39:55
168,586,063
0
0
null
null
null
null
UTF-8
Python
false
false
413
py
# Generated by Django 2.1.5 on 2019-01-31 02:37 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('productos', '0002_auto_20190130_1931'), ] operations = [ migrations.AlterField( model_name='producto', name='almacen...
[ "juanrob_10@hotmail.com" ]
juanrob_10@hotmail.com
50ea5569b4f6c39bfafd90f2e64f364a29e4cbb8
c328756875ef4aff7a856a5ca107ce89aa5bcccf
/2. Funรงรตes/Exercรญcios/ex5.py
09dc38e12972fc52cbf3f32b832a58ad311a0b40
[]
no_license
alanraso/IntroProg2018
517a4d66d2b8c3a7bb690ca873b3af75ec61565b
41f912a86460ee2ad03ff0c4edd49d67ef684248
refs/heads/master
2021-05-12T03:12:15.204120
2019-12-07T12:02:25
2019-12-07T12:02:25
117,610,479
0
0
null
2020-07-16T16:39:34
2018-01-16T00:29:50
Python
UTF-8
Python
false
false
186
py
def imprime_separando(palavra, delimitador, n): padrao = palavra + delimitador print(padrao * (n - 1) + palavra) imprime_separando('Ola', '/', 4) imprime_separando('Pรฃo', ',', 10)
[ "alan.raso@taqtile.com.br" ]
alan.raso@taqtile.com.br
75c8f17a496d97f2ad1087f1572e83261238cfd0
0a1d4fa6bb64048caa986a100aa2d096f0e14a3c
/src/test/__init__.py
b636fe6de8d226e6e61785e292b02bbf1d49caa2
[]
no_license
OneTesseractInMultiverse/heimdall
bcc3ebd4b20ac02a56b7e6c8748edc39af55548d
83f6a7a89cb7e66d33d186c03e75d9f69b934571
refs/heads/master
2022-06-08T20:25:51.855787
2019-10-05T14:28:12
2019-10-05T14:28:12
181,356,419
0
0
null
2022-05-25T02:21:21
2019-04-14T19:08:29
Python
UTF-8
Python
false
false
90
py
from test.unit.application_model_tests import * from test.unit.model_base_tests import *
[ "pedro@subvertic.com" ]
pedro@subvertic.com
f93e3e19816bde47f346c7c6cb6eb8a12013242f
7241e5063a08c9fc0759f255d6cd7e9f8a1b47fb
/bingo/migrations/0003_gamecard_player_name.py
8095b47ef469092cccebfbe3ebecc1ee31b39165
[]
no_license
jaohara/django-bingo
0ecc027babbe8031aa3a77611f4b7bd915cef01b
44114fd424fbc83df41b3d2b087ca9808b4cb047
refs/heads/master
2021-07-21T16:00:35.251972
2017-11-01T02:03:51
2017-11-01T02:03:51
108,764,667
0
0
null
null
null
null
UTF-8
Python
false
false
472
py
# -*- coding: utf-8 -*- # Generated by Django 1.11.6 on 2017-10-31 21:40 from __future__ import unicode_literals from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('bingo', '0002_auto_20171031_2132'), ] operations = [ migrations.AddField( ...
[ "johnoharaa@gmail.com" ]
johnoharaa@gmail.com
35a662d6bf38cd638f7b66e2f1223823ae0163dc
a5a88e0347ffbf04b43939f16f9eecccb90f7826
/read_bson.py
34967d5fb6817b1c40085ee0674ccba823ee5bd7
[]
no_license
xyyimian/pic-multi-classification
9da14273234c7cfa7b825b59e6abd2c029e84ae7
6d410dd82a038fe7f7fda228652a9e7429445039
refs/heads/master
2021-04-30T11:09:54.104299
2018-02-13T06:52:39
2018-02-13T06:52:39
121,348,400
0
0
null
null
null
null
UTF-8
Python
false
false
2,758
py
# This program should be run in Python 3 environment. # Using following command to install necessary libs if you find libs lack. # # $ sudo apt-get install python3-pip # $ sudo pip3 install numpy # $ sudo pip3 install pandas # $ sudo pip3 install matplotlib # $ sudo pip3 install sklearn # $ sudo pip3 install scikit-ima...
[ "xyyimian@mail.ustc.edu.cn" ]
xyyimian@mail.ustc.edu.cn
7957ae5457e5eac169067b4b4f9210c44a8b4164
1033efc84545929981720aceb5f18f7033728b20
/model.py
dc12921643929236ca33a30a79085f6dbede0345
[]
no_license
kodark/image_style_transfer_telegram_bot
1a3707353b6b5e76eeac1ca3e159bfe56f40af6d
f20d3aa9fc030f0b9f7bb641b0d5b103e3a818aa
refs/heads/master
2021-01-01T02:40:47.829672
2020-02-08T14:44:13
2020-02-08T14:44:13
239,145,827
0
0
null
null
null
null
UTF-8
Python
false
false
7,885
py
from PIL import Image import torch import torch.nn as nn import torch.nn.functional as F import torch.optim as optim import torchvision.transforms as transforms import torchvision.models as models import copy import config import os.path class StyleTransferModel: def __init__(self): self.device = torch.de...
[ "great4120@gmail.com" ]
great4120@gmail.com
ae5c6a377b82aa09d3393d6b2c6b701b50278f2a
6834627827d03f0028f0d8726068a6411bf0ae6d
/Kattis/r2.py
e989a9d58a277c7253f43056ef38748571d696f4
[]
no_license
dimkary/Python-tests
a5a45b2649d3a019f60e7103b715df59263a3bb9
6a2a7a2509842a3620fe69664daf9760039074ac
refs/heads/master
2022-06-08T03:01:12.652345
2022-03-31T19:10:57
2022-03-31T19:10:57
163,187,661
0
0
null
null
null
null
UTF-8
Python
false
false
218
py
#!/usr/bin/env python3 # -*- coding: utf-8 -*- """ Created on Thu Dec 20 09:49:20 2018 @author: karips Solves the "R2" Kattis problem """ x = input().split(' ') nums = [int(i) for i in x] print((2*nums[-1]-nums[0]))
[ "dim.karypidis@outlook.com" ]
dim.karypidis@outlook.com
8bb379d11a3411155e7b40d777e9af4823fa0df1
d4e7c48b90ba568e20daec7ee5039b23ad34bb12
/caseblocks/caseblocks/items.py
a0a62837c28fe1906fd2f5d11c1e373c5b3e3495
[]
no_license
adilmahmood1/crawler
b9686c39c3a14425e13bb7762658b22569c83f60
425748488c17cea1d4a0a220de26a7e7ff5d3560
refs/heads/master
2020-03-22T03:55:19.621410
2018-07-02T15:39:13
2018-07-02T15:39:13
139,460,500
0
0
null
null
null
null
UTF-8
Python
false
false
273
py
# -*- coding: utf-8 -*- # Define here the models for your scraped items # # See documentation in: # https://doc.scrapy.org/en/latest/topics/items.html import scrapy class CaseblocksItem(scrapy.Item): url = scrapy.Field() title = scrapy.Field() http = scrapy.Field()
[ "noreply@github.com" ]
adilmahmood1.noreply@github.com
61498a70f59c0545f12fe742f156499fa47625d5
1521b0e3e761852552a751f9e4364a36653ce148
/networking/convertip2.py
89bf5ca10262d00568cb1beec5a00e36602941e6
[]
no_license
tritech-cyber/python2019
f94a8427267b9f08f8fcb4e30d521dea3c9cb9fc
76e318728a4367675f1fa2824daf79a57721891f
refs/heads/master
2022-12-25T16:03:52.383101
2020-10-05T16:51:05
2020-10-05T16:51:05
null
0
0
null
null
null
null
UTF-8
Python
false
false
588
py
ipv4 = [0,0,0,0] nmask = 0 subs ="" print ("Input an ip as follows 192.168.1.1/24") ipraw = input("ip: ") #print (ipraw) #print(len(ipraw)) print("**************************\n") # notdot 0 is false and 1 is true gotchar = 0 octcount = 0 charcount = 0 for x in range(0, len(ipraw)): print (ipraw[x]) if (...
[ "noreply@github.com" ]
tritech-cyber.noreply@github.com
cbe334660fabae7316d950f6276c1c219087511c
afc38ccc3dcbb04b0df89cc52efbc9649f861de4
/get_rooms.py
afdce09b46143bf851898129ff57c39fa10d3d25
[]
no_license
epieye/flare
068bf14cb841c19903c0cd6651d576376af9a662
40374d55be6837a7d5f5ea4cad9b4d894010a715
refs/heads/master
2020-04-25T17:49:13.968780
2019-02-27T22:29:31
2019-02-27T22:29:31
172,962,444
0
0
null
null
null
null
UTF-8
Python
false
false
342
py
import requests import json import yaml url = 'https://api.ciscospark.com/v1/rooms' token = open("creds.yaml", "r") headers = {"Authorization": "Bearer %s" % yaml.load(token)[1] } response = requests.get(url, headers=headers) rooms = json.loads(response.text)['items'] i = 0 while i < len(rooms): print rooms[i][...
[ "warren@ourzoo.us" ]
warren@ourzoo.us
452416bb3f0ef99cc783d4b3f65c50976e98d578
0e9d821eb2f647701b835d229c0a0387ab67ad03
/myenv/bin/easy_install
69ffc0736026364a5669860b359352c774684ffe
[]
no_license
gastonparis/my-first-blog
f3b49a2913a9ae916c49da750217f7d1177dc8bf
ff823f894ac635cde4eb533b256cb43615f4e0ef
refs/heads/master
2020-06-15T13:31:51.565852
2019-07-10T19:53:14
2019-07-10T19:53:14
195,313,725
0
0
null
null
null
null
UTF-8
Python
false
false
273
#!/home/gaston/Documentos/djangogirls/myenv/bin/python3.6 # -*- coding: utf-8 -*- import re import sys from setuptools.command.easy_install import main if __name__ == '__main__': sys.argv[0] = re.sub(r'(-script\.pyw?|\.exe)?$', '', sys.argv[0]) sys.exit(main())
[ "gastonparis@gmail.com" ]
gastonparis@gmail.com
6472147862d210a24ccc41e062213c8846a45d25
2f0e329081cc2282a6a75b56ba4660f777cc3131
/test/Job_test.py
cc72e0c2a34118df901f5009b21f2ca81edf5391
[]
no_license
changhuan1994/AdvanceAutoFix
ad3ca391c5158276d65d5b9bb4c75c497d4a20cf
b9f755278fa3bc6c85c7b5cbd50fb65f6128fb02
refs/heads/master
2020-12-21T11:29:09.873775
2020-01-28T05:13:20
2020-01-28T05:13:20
236,418,515
0
0
null
null
null
null
UTF-8
Python
false
false
1,495
py
import unittest from AAP1.Job import Job #Tests User #Author Trey EllisS class JobTests(unittest.TestCase): def testJobCreation(self): test_job = Job(1, 1, "Customer's car Address", "Help Me", 2, "Greg", "Windshield Wiper Replacement") self.assertEqual( Job.get_job_id( test_job ) , 1) pr...
[ "hchang15@ncsu.edu" ]
hchang15@ncsu.edu
41631dfd02440edb2b30006366e0e4b7f107feee
acb5b498b65fcead4b4b97c2a73bc10d09b74ed7
/build/lib/DeltaPI/AutoDiff/AutoDiff_Tests/All_derivatives.py
3e88a2efc8c7f3f355ee39ff61c04958adbc4a07
[ "MIT" ]
permissive
IACS-CS-207-FantasticFour/cs207-FinalProject
5e62feb8c0313c4da4278e8d802ced30ff474c47
3e916af3f1a38fe919a27eff014bb5ab6ee1bb74
refs/heads/master
2022-12-10T11:42:05.086011
2021-09-09T20:25:06
2021-09-09T20:25:06
216,193,376
1
1
MIT
2022-12-08T07:00:20
2019-10-19T11:09:47
Python
UTF-8
Python
false
false
3,592
py
from AutoDiff import AutoDiff import numpy as np def all_derivatives(func, in_vars, point): ''' Function that calculates the value of the input function at the input point and all its partial derivatives :params func: (function) function to evaluate whose input is a list of variables in_vars:...
[ "daniel_cox@g.harvard.edu" ]
daniel_cox@g.harvard.edu
6b86d99b9ab66f3f98480428ed4b1cdb5b9e1a68
bfbe8a27ce6f46a7f2d03731b1de1e80cc6056c9
/projects/inflearn/python_algorithm/algorithm_practice_basic.py
03a5b5d0c00d7f3674249116b5c4116b12cda5f9
[]
no_license
paige0701/algorithms-and-more
95175a18fd9d4a41659c50e3c5e314fe2bb23b8b
763a4009f8fa87c24552b5e77375c72896672b58
refs/heads/master
2021-06-11T04:19:29.559758
2021-04-07T11:29:01
2021-04-07T11:29:01
184,376,577
0
0
null
null
null
null
UTF-8
Python
false
false
6,132
py
class One: # K๋ฒˆ์งธ ์•ฝ์ˆ˜ ํ’€์ด # ๋‘ ๊ฐœ์˜ ์ž์—ฐ์ˆ˜ N๊ณผ K๊ฐ€ ์ฃผ์–ด์กŒ์„ ๋–„ N์˜ ์•ฝ์ˆ˜๋“ค ์ค‘ K ๋ฒˆ์งธ๋กœ ์ž‘์€ ์ˆ˜๋ฅผ ์ถœ๋ ฅํ•˜๋ผ # K ๋ฒˆ์งธ๋กœ ์ž‘์€ ์ˆ˜๊ฐ€ ์—†๋‹ค๋ฉด -1๋ฅผ ๋ฆฌํ„ดํ•œ๋‹ค. @staticmethod def find_kth_divisor(n, k): result = [] for i in range(1, n+1): if n % i == 0: result.append(i) return -1 if len(result) < k else r...
[ "paigechoi0701@gmail.com" ]
paigechoi0701@gmail.com