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
8f2658371d63b5e1e40961d583e2a046a73122fa
5e99c1f3126e84cd3ec723578f746eab8a56f3b8
/setup.py
82f11d7db11c2e2e9eb5254be6ba472ed42795e0
[ "MIT" ]
permissive
vutriancode/web_api_text_To_speech
c0475c2a96c56fcb34dcf4e8406cfbdfb792c723
96f20ce10cd465999ef87f509a858a60ba2d8f9d
refs/heads/master
2023-06-27T16:29:58.349334
2021-08-04T08:51:31
2021-08-04T08:51:31
392,335,422
1
0
null
null
null
null
UTF-8
Python
false
false
733
py
from setuptools import setup __version__ = '0.3.1' url = 'https://github.com/ntt123/vietTTS' install_requires = ['tabulate', 'optax', 'jax', 'jaxlib', 'einops', 'librosa', 'textgrid', 'dm-haiku @ git+https://github.com/deepmind/dm-haiku', 'tqdm', 'gdown'] setup_requires = [] tests_require = [] se...
[ "thanhcong7893@gmail.com" ]
thanhcong7893@gmail.com
59fd91783242aaa8c21de584793100d1bac7406e
a4c7f5cd089efbf92e5ba904d378e23da1dc8130
/hallucinator/treasury.py
aa9975bc30410a0fc02206c548033fcbfbb6d0dd
[]
no_license
socketteer/hallucinator
65ca6842d1343e6547e5612ffb8b63c2268f2944
87705406004fc88850b760e1322e6aedef927fa7
refs/heads/master
2023-06-26T17:56:41.239228
2021-07-30T02:59:07
2021-07-30T02:59:07
189,884,880
16
1
null
null
null
null
UTF-8
Python
false
false
1,432
py
import math import numpy as np import numexpr as ne from typing import TypedDict, NamedTuple, Tuple def wave(p, r, amp, f, phase): z = ne.evaluate("amp * sin(r * f + phase)") #z = z.reshape((z.shape[0] * z.shape[1])) #p = p.reshape((p.shape[0] * p.shape[1], 2)).transpose() return np.array([p[:, :, 0],...
[ "lreyn@umich.edu" ]
lreyn@umich.edu
5a1cfbe5e8072892a669b1003898b436401022a5
a807ce0fa3e3e9c3b558b2e977c05e60c3a667b1
/nemo_text_processing/inverse_text_normalization/en/verbalizers/cardinal.py
bd053bebf7645a4fbb554dfb082d991b1be9c614
[ "Apache-2.0" ]
permissive
blisc/NeMo
630376e7555c0face994da2f6f9af5d8d31243c3
fadeb45c84d6b323d78e30475538455a88b7c151
refs/heads/rework_reqs
2023-08-17T00:03:39.248669
2021-08-12T15:15:06
2021-08-12T15:15:06
208,142,160
2
0
Apache-2.0
2022-02-03T16:30:33
2019-09-12T20:37:24
Jupyter Notebook
UTF-8
Python
false
false
1,812
py
# Copyright (c) 2021, NVIDIA CORPORATION. All rights reserved. # Copyright 2015 and onwards Google, Inc. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/license...
[ "noreply@github.com" ]
blisc.noreply@github.com
b9a237ae02c93f64a84c7813d11c734a96317a8a
16089636f301256c802652d4a11477050863e7a9
/scanpy/plotting/__init__.py
4cc8f2487fd77bb4f128a8b6742cfd6e0e28b48a
[ "BSD-3-Clause" ]
permissive
caot/scanpy
18cc6d4ba70977beefd283e4eaa3faf0a6589f22
ed7130f7496e41046c5a910d9779de53471f5801
refs/heads/master
2021-05-11T07:09:35.891697
2018-01-15T20:56:45
2018-01-15T20:56:45
null
0
0
null
null
null
null
UTF-8
Python
false
false
782
py
from .ann_data import scatter, violin from .ann_data import ranking from .preprocessing import filter_genes_dispersion from .tools import pca, pca_loadings, pca_scatter, pca_variance_ratio from .tools import diffmap from .tools import draw_graph from .tools import tsne from .tools import aga, aga_attachedness, aga_gr...
[ "f.alex.wolf@gmx.de" ]
f.alex.wolf@gmx.de
300b9becd0b7e4ed3fa94d3bb583c32ff4ca5570
7f004635957d252b7e8d7d6e0aee47e24aca0b82
/catkin_ws/devel/lib/python2.7/dist-packages/opencv_apps/cfg/PhaseCorrConfig.py
4deab242459941311f6eb8baa4a30bb1b5ba0bcc
[]
no_license
Pontusun/CIS700_Team2
75bef2305f5ccb7992f152b9fca20ea475077833
17b125b652d3be41884d6f625b7424b00ca0a6dd
refs/heads/master
2021-01-10T16:02:19.327233
2016-02-11T22:20:46
2016-02-11T22:20:46
44,488,662
1
3
null
2015-11-29T19:54:32
2015-10-18T17:35:24
CMake
UTF-8
Python
false
false
1,725
py
## ********************************************************* ## ## File autogenerated for the phase_corr package ## by the dynamic_reconfigure package. ## Please do not edit. ## ## ********************************************************/ from dynamic_reconfigure.encoding import extract_params inf = float('inf') ...
[ "genesis@nuc" ]
genesis@nuc
9bd590aabe9fc2c49575a0a731dce20526ebe210
2539a7566ed82508c196c0576d4e972047a5510c
/accounts/forms.py
c269a4d7487c5e7ec7618d7886e50ff334b0b35c
[]
no_license
ZainabImad94/todolistProject
7501e72ef6a32f1a7fece676239f5faffb8fc9e9
975377641816dd365b319f0fb057d0eb0162c622
refs/heads/master
2023-01-15T00:06:14.541000
2020-11-24T02:15:57
2020-11-24T02:15:57
303,568,700
0
0
null
null
null
null
UTF-8
Python
false
false
5,564
py
from django import forms from django.forms import SelectDateWidget from django.contrib.auth.models import User from django.contrib.auth.forms import UserCreationForm from crispy_forms.helper import FormHelper from crispy_forms.layout import Submit, Layout, Fieldset, HTML, Row, Column, Div, MultiWidgetField from django....
[ "zeina.imad.zi@gmail.com" ]
zeina.imad.zi@gmail.com
3086cc391daa61a2fb2009d56808f43778b81f90
e4e6558c23a3838aa60b3f68ee77d3be0cbb3cc7
/metrics/readsbycity.py
cf15a37ccadbde8ec3d81ec4716bebca26347410
[]
no_license
henry0910/BenarReports
2342889242322e872291d3554d5ab144376a6720
c44dadff6c19f858bfb1a00d3b335f09404aa46a
refs/heads/master
2020-05-04T03:09:51.517341
2019-04-05T16:47:32
2019-04-05T16:47:32
178,941,570
0
0
null
null
null
null
UTF-8
Python
false
false
753
py
import sys, os sys.path.append(os.path.realpath('')) import datetime import googleanalytics.metric_strings as ga import googleanalytics.filter_strings as fil from googleanalytics.query import GAQueryBase, GAQueryDefinition, GAQueryContainer # Cities by Article Reads (Global) query CONTAINER = GAQueryContainer() # v...
[ "noreply@github.com" ]
henry0910.noreply@github.com
ce7499550d91bddb63875a6d82593e178c66d924
d5b58ebde87efc91c1117e2428d8db12a19c703c
/tests/test_reader.py
0c08455c570e55e0af666cd96b2418ca53e859c1
[]
no_license
vladmos/python-nirvana
ce63c152e2d41d79443824035ca027512de62eb4
6b9732541409be03c51512e46e4da1d50ab1c210
refs/heads/master
2020-12-25T17:29:52.331130
2016-08-22T00:40:09
2016-08-22T00:40:09
10,786,885
0
0
null
null
null
null
UTF-8
Python
false
false
7,297
py
import unittest from shutil import copyfile import os import warnings from context import nirvana from nirvana import reader CONFIG_FILENAME = 'test-nirvana.ini' def prepare_config_file(sample_name, filename=CONFIG_FILENAME): if sample_name.find('.') == -1: sample_name += '.ini' copyfile('test_config...
[ "m@fulc.ru" ]
m@fulc.ru
d740cba3500e4ec4af23cb63382438aed0271e7a
783aca4db844a1dc6b65da6d298a388a4c52c225
/bangazonapi/bangazon/migrations/0005_merge_20200309_0958.py
33ceaede4a0313616c32acc7a51e6bd7fd578d0a
[]
no_license
sullypierce/bangazon-api
1f80895f9db030a0cce3a6e89056790f03502d9a
8181c79c698cf0b8dd873c7905ef4445f40a2903
refs/heads/master
2021-03-13T08:49:16.192965
2020-03-09T20:46:30
2020-03-09T20:46:30
null
0
0
null
null
null
null
UTF-8
Python
false
false
274
py
# Generated by Django 3.0.3 on 2020-03-09 14:58 from django.db import migrations class Migration(migrations.Migration): dependencies = [ ('bangazon', '0004_product_inventory'), ('bangazon', '0004_auto_20200304_1328'), ] operations = [ ]
[ "ajbyrd0723@gmail.com" ]
ajbyrd0723@gmail.com
907fecac22dc1cad2289b04963f859bbd5719214
b43d7860eafa9d647baeb5d8204ca5ca3f77c477
/prac_06/prac6/languages.py
60d88377cde6fb05abd050ecc420e2b2c169f059
[]
no_license
TANADONsim/CP1404_Practicals
8dd923dfdd041f500fa234626ec17b02c1da0300
894eab70b07ed4ebe750a9ea5fd9f8ced89b7e99
refs/heads/master
2020-04-07T11:16:12.567025
2019-01-08T03:19:55
2019-01-08T03:19:55
158,319,243
0
0
null
2019-01-08T03:19:56
2018-11-20T02:27:27
Python
UTF-8
Python
false
false
347
py
from prac6.programming_language import ProgrammingLanguage def main(): ruby = ProgrammingLanguage("Ruby", "Dynamic", True, 1995) python = ProgrammingLanguage("Python", "Dynamic", True, 1991) visual_basic = ProgrammingLanguage("Visual Basic", "Static", False, 1991) print(ruby) print(python) pr...
[ "hongweitanadonleonard.sim@my.jcu.edu.au" ]
hongweitanadonleonard.sim@my.jcu.edu.au
71fb858e0f6ff6ee5cb67139db4225ffd5f989d4
37180507137715c753fba2a0f5979b70607a2468
/backend/posts/migrations/0003_auto_20180215_2130.py
6b6f1dd67e0e0cfbcd4bf24da68b44df3ce6ff3e
[]
no_license
nkaczor/BlogCMS
5bf862418089e57d62a184fdfc85b2c0550bb0f4
110081ba5a98cae4cc2f3757d3645f5907c965d9
refs/heads/master
2021-05-13T18:38:14.723846
2018-02-18T21:32:48
2018-02-18T21:32:48
116,870,468
1
0
null
null
null
null
UTF-8
Python
false
false
492
py
# Generated by Django 2.0.1 on 2018-02-15 21:30 from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): dependencies = [ ('posts', '0002_auto_20180128_1701'), ] operations = [ migrations.AlterField( model_name='comment...
[ "kaczor.nat@gmail.com" ]
kaczor.nat@gmail.com
c62fbc7bce98034072ebf889980686ae8a2a583f
a9810475a5b95a67ca41c4651e97c619cdfcd840
/FinalProject.py
8fa2be1280f0720c14fc3e085c9af23600d61979
[]
no_license
Nitzan-Gabay/Nitzan-Gabay
8d6633b5ffbce989dcd4751c6f09a7dd33b4fecc
1284c79ecbabc18c09faf19c4e2a94143858a58f
refs/heads/main
2023-07-08T00:25:28.850362
2021-09-01T12:28:28
2021-09-01T12:28:28
402,050,945
0
0
null
null
null
null
UTF-8
Python
false
false
10,697
py
from os import name import tkinter import pyodbc import openpyxl from tkinter import messagebox from tkinter import * class Customer: def __init__(self, name, budget): self.name = name self.budget = budget self.finalBill = {} def BuyTicket(self, cinema): movieInde...
[ "noreply@github.com" ]
Nitzan-Gabay.noreply@github.com
daab02c365ce921ab5905425f021e1307979d25e
2293c76c3d18e2fcd44ded90bd40113d26285663
/pyeccodes/defs/mars/stream_table.py
e671c33b78355b98ed7a672fe0156befb48febba
[ "Apache-2.0" ]
permissive
ecmwf/pyeccodes
b1f121dbddf68d176a03805ed5144ba0b37ac211
dce2c72d3adcc0cb801731366be53327ce13a00b
refs/heads/master
2022-04-23T10:37:40.524078
2020-04-18T06:30:29
2020-04-18T06:30:29
255,554,540
9
3
null
null
null
null
UTF-8
Python
false
false
9,953
py
def load(h): return ({'abbr': 0, 'code': 0, 'title': 'Unknown'}, {'abbr': 'fsob', 'code': 1022, 'title': 'Forecast sensitivity to observations'}, {'abbr': 'fsow', 'code': 1023, 'title': 'Forecast sensitivity to observations wave'}, ...
[ "baudouin.raoult@ecmwf.int" ]
baudouin.raoult@ecmwf.int
a6f6f7a14293fc20af9e92ff1996081c416c8af6
0b88dc9ea8ed93b687503823647a782615752a10
/simulate_dice/dice.py
c5af5e9d9fd33dbe1e86e0afa53ba8ab78a0be31
[]
no_license
YinPierce/python_work
303a2c0246f5a20a798ce1acbc24e525e568ca91
7ac5e742e4bcad3fc1c7eadbc14c3501b6dcd47f
refs/heads/master
2023-02-05T17:37:00.080607
2020-12-31T03:01:05
2020-12-31T03:01:05
321,917,936
0
0
null
null
null
null
UTF-8
Python
false
false
310
py
#! /usr/bin/env python3.7 # -*- coding: utf-8 -*- from random import randint class Dice(): '''模拟骰子的类''' def __init__(self, num_sides=6): self.num_sides = num_sides def roll(self): '''返回一个1到面数之间的整数''' return randint(1, self.num_sides)
[ "sisiyin@asrmicro.com" ]
sisiyin@asrmicro.com
03417255e8878cb6efe2be307a2c72e821c3fcc1
44fc528457ce9086eec6037c38322a920f2da495
/webui/views/SettingView.py
c3ba40284734a323c5ad647e507128ac8726ce66
[]
no_license
Banifest/WebUICourseWork
505b5e67175e0df03ca62c81656511e5510f9229
2d8d956d9d6df844fc50a383986362eb94e49a30
refs/heads/master
2022-12-12T08:57:08.303746
2018-05-16T07:52:47
2018-05-16T07:52:47
130,804,995
0
0
null
2022-12-08T02:04:41
2018-04-24T06:12:20
Python
UTF-8
Python
false
false
1,495
py
import requests from django.http import HttpRequest, HttpResponse from django.shortcuts import redirect from webui.CustomTemplateView import CustomTemplateView from webui.req import do_request class SettingView(CustomTemplateView): template_name = 'setting.html' def get(self, request, *args, **kwargs): ...
[ "banifest@gmail.com" ]
banifest@gmail.com
1fdcdc99bcf503501c3716c003b8e28528b0ce68
0857913ae5cde7481c5bca63ed5081e11f217581
/p1804/p10While/whileTest.py
5d346d2f002ca0cee68216cb7d6c969ca233f173
[]
no_license
nmww/p1804_ceshi
48c2d93849018d8601f0732c5005395c81490ef1
72bf25cc7767371594b41f8919454e46fe178023
refs/heads/master
2020-03-15T23:25:43.345763
2018-06-27T03:19:55
2018-06-27T03:19:55
132,393,611
53
7
null
null
null
null
UTF-8
Python
false
false
565
py
''' while 循环 # while语句作用的范围是 # 下方相同缩进的 所有语句 while 循环条件: pass pass 循环条件: 1. 是否成立: True / False 2. 条件判断控制 a 比较 b ''' #------------------------------- qiandao = 0 # 没有签到 xinqing = 'kaixin' while qiandao < 10: print ("您未签到,请尽快去签到,否则要跪键盘 %d "% qiandao) qiandao = qiandao + 1 #---------------------...
[ "2423550286@qq.com" ]
2423550286@qq.com
11e5f4f70ef1ef84cf7abda18cc47f5d044fb592
7cd720754a249c26537cc7bda36c0cd61dbb7587
/tr_assessment_IT calculator.py
99fc335a7990afc6e264f10a26deff9e947b2b13
[]
no_license
jseranna/HPE-Python-repository
9c379bd14b24029dbf7998f57d5237a01795f52f
17af481acc58b6bd046f82bea0b4b1a9415e9fd7
refs/heads/master
2020-11-23T21:44:43.748532
2019-12-20T05:11:50
2019-12-20T05:11:50
227,833,605
0
0
null
null
null
null
UTF-8
Python
false
false
590
py
# tax calculation app # input data name = input('What is your name: ') age = int(input('age please: ')) sal = int(input('what is your total CTC: ')) sec = int(input('money invested under section 80C(if any): ')) # process x= int(250000) if(sal <=250000): y=0 elif(sal >=250001 and sal <=500000)...
[ "noreply@github.com" ]
jseranna.noreply@github.com
1020b4ddba3ff22acaef933b10c950ae9e063185
4d25eabd9e75fa2c433b9b0e6bc792dfeaeb1655
/PYTHON/sin_caur_summu_ver3.py
8e4f51c7dc4a896871a81e47cad98e4170ea1850
[]
no_license
kwanderer/DMI
cbcceaaa34837064e6c4ba4e21f726080c5513bd
83748be54d072a501354659377705e5362dafd67
refs/heads/master
2021-09-14T07:25:10.507226
2018-05-09T17:10:08
2018-05-09T17:10:08
null
0
0
null
null
null
null
UTF-8
Python
false
false
723
py
from math import sin # a0, a1, a2, a3 -> a x = 1. * input("Ievadi argumentu x: ") y=sin(x) print "sin(%.2f)=%.2f"%(x,y) #a0=(-1)**0*x**1/(1) a=(-1)**0*x**1/(1) #S = a0 S = a print "a = %.2f S = %.2f"%(a,S) #a1=(-1)**1*x**3/(1*2*3) #a1=a0*(-1)*x*x/(2*3) a=a*(-1)*x*x/(2*3) #S += a1 S += a print "a = %.2f S = %.2f"%(...
[ "krisypon@inbox.lv" ]
krisypon@inbox.lv
a6c38c4842143a256756c3d4ff4f714a7240ca7b
5d2a7c14b365a2c844fed820335457031fe67d65
/Questionnaire_pt1/OneByOne/migrations/0008_auto_20191013_1534.py
b6d6351127407874f9e2002661cec0ec96f738b8
[]
no_license
AdityaKapoor74/Questionnaire-for-research
c79b12481c2429e89cdb1655e558498aafbd898b
ee03898a0b8dd48e032fea02a603e947c48471c8
refs/heads/master
2022-04-09T06:07:21.787870
2020-02-19T15:27:08
2020-02-19T15:27:08
201,025,899
0
1
null
null
null
null
UTF-8
Python
false
false
1,875
py
# Generated by Django 2.2.6 on 2019-10-13 15:34 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('OneByOne', '0007_auto_20191013_1531'), ] operations = [ migrations.AlterField( model_name='stimuli', name='stimuli_1...
[ "adityakapoor074@gmail.com" ]
adityakapoor074@gmail.com
a2face64492994c1d89d87de17f1735956e91868
1f214956382f62e876de3d00c40c5a8684a3b5df
/preprocessing/tests/test_mysql.py
ef73d63c507114b639af108327ad9518ec0fd887
[ "MIT" ]
permissive
ennima/omas
e1f00e0d3445f995d36b221c43ab47113750aeee
c8507b95c8c07a311c29c70acc0a7d3504d28f78
refs/heads/master
2021-01-18T18:11:49.027451
2016-10-14T19:28:14
2016-10-14T19:28:14
56,949,079
0
0
null
null
null
null
UTF-8
Python
false
false
1,041
py
import sys import unittest sys.path.append('../') sys.path.append('../db') from MysqlProcessing import * from pprint import pprint class MysqlProcessingTest(unittest.TestCase): # def test_it_should_be_able_to_construct(self): # mysql = MysqlProcessing() # self.assertIsInstance(mysql,MysqlProcessing,"Es instanc...
[ "ennima@hotmail.com" ]
ennima@hotmail.com
3435d0e6edaab0672cac56775147c66023890e1f
15f321878face2af9317363c5f6de1e5ddd9b749
/solutions_python/Problem_75/288.py
5d27fe84e3a6db4dda7c09565446712b904e8b3e
[]
no_license
dr-dos-ok/Code_Jam_Webscraper
c06fd59870842664cd79c41eb460a09553e1c80a
26a35bf114a3aa30fc4c677ef069d95f41665cc0
refs/heads/master
2020-04-06T08:17:40.938460
2018-10-14T10:12:47
2018-10-14T10:12:47
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,467
py
# coding:utf-8 import sys argvs = sys.argv argc = len(argvs) #print argvs #print argc f = open(argvs[1]) T = f.readline() for i in range(int(T)): comb_rules = [] oppo_rules = [] line = f.readline() tc = line.split(' ') C = int(tc[0]) # 変換ルールの個数 for j in range(C): temp = tc[j+1]...
[ "miliar1732@gmail.com" ]
miliar1732@gmail.com
07e73e5938d07257afed1573992aba6c87816c9d
1a9d162c1e5ab7c24c17c3e54356f96e040b5d3e
/env_jupyter/bin/jupyter
f625ad65144d3357b99ca591cc8c83400a837d69
[]
no_license
a5347354/100Day-pycrawler-Marathon
80ecfd0762ed1733d54a33a3f21958a280a21eb3
31b13912081a40ec3775670798a629281aee296a
refs/heads/master
2022-12-14T07:36:20.234776
2020-02-05T15:58:14
2020-02-05T15:58:14
222,389,375
0
0
null
2022-12-08T05:35:55
2019-11-18T07:36:15
Jupyter Notebook
UTF-8
Python
false
false
282
#!/Users/fan/Documents/Github/100Day-pycrawler-Marathon/env_jupyter/bin/python3.7 # -*- coding: utf-8 -*- import re import sys from jupyter_core.command import main if __name__ == '__main__': sys.argv[0] = re.sub(r'(-script\.pyw|\.exe)?$', '', sys.argv[0]) sys.exit(main())
[ "a5347354@gmail.com" ]
a5347354@gmail.com
c5de7953254fdb1308494e7667c8a26fe17950d4
f82757475ea13965581c2147ff57123b361c5d62
/gi-stubs/repository/ModemManager/ModemOmaClass.py
aa6224a47cc7b630f23469b8985f3eb96ae06ecb
[]
no_license
ttys3/pygobject-stubs
9b15d1b473db06f47e5ffba5ad0a31d6d1becb57
d0e6e93399212aada4386d2ce80344eb9a31db48
refs/heads/master
2022-09-23T12:58:44.526554
2020-06-06T04:15:00
2020-06-06T04:15:00
269,693,287
8
2
null
2020-06-05T15:57:54
2020-06-05T15:57:54
null
UTF-8
Python
false
false
4,603
py
# encoding: utf-8 # module gi.repository.ModemManager # from /usr/lib64/girepository-1.0/ModemManager-1.0.typelib # by generator 1.147 """ An object which wraps an introspection typelib. This wrapping creates a python module like representation of the typelib using gi repository as a foundation. Accessing attr...
[ "ttys3@outlook.com" ]
ttys3@outlook.com
4b93bbc5c5978d275eec53fe2003a3f30c35e31e
3b658ab1611e1bea9ce77050fa2e49412bd0404f
/03_Visualisation/03A_Plotting_for_correlation/Correlation_Plot.py
b9d082057d7b2a20cf7c1107be081864e397d48f
[]
no_license
SophieMerl/DataAnalytics_London
d924aeb4cc6d2c6a837c2d9779aa0829d4d42b1d
c5129562cefa64dce05bd8b3cbf8a9620a611b53
refs/heads/master
2023-09-06T08:57:24.311348
2021-11-27T23:30:37
2021-11-27T23:30:37
421,169,059
0
0
null
null
null
null
UTF-8
Python
false
false
3,750
py
import pandas as pd import numpy as np import io import requests import matplotlib.pyplot as plt # receiving travel data, formating date & grouping over the boroughs url_lnd = "https://raw.githubusercontent.com/SophieMerl/DataAnaytics_London/master/02_Preprocessing/London_cleaned_unpivoted.csv" download_lnd = requests...
[ "dennis_blaufuss@web.de" ]
dennis_blaufuss@web.de
4d7905548568108573c8f94af0bd8d8dd325351c
3a143e43ba7160dfd33cfe1f2369ce2747fb238b
/trabalho0222222/server.py
60c5c81ae63c42f3ddbe13febdc1ee914dc61b9f
[]
no_license
vascocmarieiro/authentication_SIO
770b7042847cf1732bac1febcc8601860bf00961
34565a9ac8bca8ebf2cafc2cad64694e94170f7a
refs/heads/main
2023-03-07T14:11:42.412874
2021-02-20T15:55:13
2021-02-20T15:55:13
340,689,779
0
0
null
null
null
null
UTF-8
Python
false
false
9,742
py
import asyncio import json import base64 import argparse import coloredlogs, logging import re import os from aio_tcpserver import tcp_server import rsa from cryptography.hazmat.primitives import serialization, hashes from cryptography.hazmat.backends import default_backend from cryptography.hazmat.primitives.asymmetri...
[ "noreply@github.com" ]
vascocmarieiro.noreply@github.com
4dc98360b6b09c2585684d65e841dc4239d20e34
401ea01ffb848f1eabd8aa17690ec1ff5dc8e6bd
/test/test_action_event.py
62370e432b086e11d277be6874c16774885dc2d8
[]
no_license
bbrangeo/python-api-client
735acda3627d7a0ddd78ecb1e9617bb4082c9001
c2481e0cd012a41aeceefdce289d48509540b909
refs/heads/master
2020-03-14T18:24:20.888631
2018-04-30T14:47:47
2018-04-30T14:47:47
null
0
0
null
null
null
null
UTF-8
Python
false
false
873
py
# coding: utf-8 """ BIMData API BIMData API documentation # noqa: E501 OpenAPI spec version: v1 Contact: contact@bimdata.io Generated by: https://github.com/swagger-api/swagger-codegen.git """ from __future__ import absolute_import import unittest import bimdata_api_client from bimdata_api_c...
[ "hugo.duroux@gmail.com" ]
hugo.duroux@gmail.com
336592f3fd92c3670e0e38e51f104464af58470d
800ec411fe296212564d291c1cd888c1ab6d20d3
/function home work/fun 5.py
64c2b91966e232ff851f6af52eff2a6597cdd037
[]
no_license
Ruchitghadiya9558/python-program
510135210aea4de94ecd10c0971223dae30596a0
ae1bcf19a3b3cc175e2b63e4c5f49a8adedc6aea
refs/heads/master
2023-06-27T23:42:52.157240
2021-07-27T10:55:51
2021-07-27T10:55:51
389,961,812
0
0
null
null
null
null
UTF-8
Python
false
false
195
py
# revers number def revers(n): box=0 while n>0: rem= n % 10 box=(box*10) + rem n=n//10 print("revers=",box) num = int(input("enter the number:")) revers(num)
[ "ruchitghadiya99@gmail.com" ]
ruchitghadiya99@gmail.com
8b15ed6ba9f382e8f2b53a7713540d4d982e40cf
797245b1f6513da556911e55644a4ce0b2bf9f3e
/Source_Code/__pycache__/ttkbar.py
c4ada8189f713a15d92631ebee2a3daf656a801c
[]
no_license
HowcanoeWang/Floraecite
6848ed0c15db2df2d46b7a09f395566f31f95238
0ef710485beed92a5f735cda69af4869c687a4c1
refs/heads/master
2020-07-25T21:57:28.661216
2018-11-05T21:31:03
2018-11-05T21:31:03
73,649,568
1
0
null
null
null
null
UTF-8
Python
false
false
943
py
import tkinter as tk from tkinter import ttk class SampleApp(tk.Tk): def __init__(self, *args, **kwargs): tk.Tk.__init__(self, *args, **kwargs) self.button = ttk.Button(text="start", command=self.start) self.button.pack() self.progress = ttk.Progressbar(self, orient="horizontal", ...
[ "howcanoewang@gmail.com" ]
howcanoewang@gmail.com
7bc4a334661480db4b344f56862b847a89735faa
6e56c8204e30ea8b280228385723e9c9614dce33
/assignment2/randomized-optimization/data/loader.py
f5993d57ea86823a605d207f477701854720042c
[ "LicenseRef-scancode-warranty-disclaimer" ]
no_license
yifanguo247/CS7641
7f7c94c41d30df9d33d01897b9036f4602b77d3d
8512497f3f7eb2cc90359b91acb26c614fd35ef6
refs/heads/master
2020-04-22T03:02:38.167518
2019-04-15T04:23:06
2019-04-15T04:23:06
170,071,937
0
0
null
null
null
null
UTF-8
Python
false
false
27,208
py
import copy import logging import pandas as pd import numpy as np from collections import Counter from sklearn import preprocessing, utils import sklearn.model_selection as ms from scipy.sparse import isspmatrix from sklearn.pipeline import Pipeline from sklearn.preprocessing import StandardScaler import os import s...
[ "yifanguo247@gmail.com" ]
yifanguo247@gmail.com
0f1efd38304a5382f434bb66d79a51c0c7e7975c
b521802cca8e4ee4ff5a5ffe59175a34f2f6d763
/maya/maya-utils/Scripts/Animation/2019-2-15 Tim Cam_Route_Manager/.history/Cam_Main/Cam_Main/Cam_Attribute_Panel_20190119093039.py
087baf065ed52ddf41a02765c0e1351af2098e5e
[]
no_license
all-in-one-of/I-Do-library
2edf68b29558728ce53fe17168694ad0353a076e
8972ebdcf1430ccc207028d8482210092acf02ce
refs/heads/master
2021-01-04T06:58:57.871216
2019-12-16T04:52:20
2019-12-16T04:52:20
null
0
0
null
null
null
null
UTF-8
Python
false
false
13,514
py
# -*- coding:utf-8 -*- # Require Header import os import json from functools import partial # Sys Header import sys import traceback import subprocess import plugin.Qt as Qt from Qt.QtCore import * from Qt.QtGui import * from Qt.QtWidgets import * from maya import cmds def loadUiType(uiFile): import plugin.Qt a...
[ "2595715768@qq.com" ]
2595715768@qq.com
63f38c65853bab4f5cfe54a9c9460e2f4e89690f
6eab37abbc1fd64e7283e1cd0170aaef8989aa71
/src/kigo/http/server.py
86b6492f87e2bc08d979ec0575a6d4b1f4b73615
[]
no_license
olk/ki-go
0aff248e3c980491b821161c61039a9aa18284ac
b2c25006b99ca0f8566054d1a8b0498b223d8d2c
refs/heads/master
2021-06-24T07:58:45.656332
2020-05-25T11:34:27
2021-03-11T19:36:08
208,029,073
0
0
null
null
null
null
UTF-8
Python
false
false
1,924
py
import os from flask import Flask from flask import jsonify from flask import request from kigo import types from kigo.board import GameState, Move from kigo.utility import coords_from_point from kigo.utility import point_from_coords def get_web_app(bot_map): """Create a flask application for serving bot moves....
[ "oliver.kowalke@gmail.com" ]
oliver.kowalke@gmail.com
4ebf71176b29290d49c3086b15b39b23d8e60340
17c2d25724d8e86085fbc1556f5f87ca1e773987
/web/ShoppingMall/ShoppingMall/wsgi.py
2130fce97ea9c85445115f698f00eca61ed6ffad
[]
no_license
dltmdgh1994/multicampus
93c4ec53f4f3864105f94957b52fca46d00c42e3
fddf8bd33c77b9bb69c1a2f975237026704b2727
refs/heads/main
2023-04-19T06:55:10.963257
2021-05-05T14:30:26
2021-05-05T14:30:26
325,204,824
0
0
null
null
null
null
UTF-8
Python
false
false
401
py
""" WSGI config for ShoppingMall project. It exposes the WSGI callable as a module-level variable named ``application``. For more information on this file, see https://docs.djangoproject.com/en/2.2/howto/deployment/wsgi/ """ import os from django.core.wsgi import get_wsgi_application os.environ.setdefault('DJANGO_...
[ "dltmdgh1997@gmail.com" ]
dltmdgh1997@gmail.com
183022f34e2b1c7cf67eb81188e4eadc3cc202a2
4c89c922a3d22c4c9d8f7419d0bbccb693e6b215
/30 Days of Code/Day 06 - Let's Review/solution.py
bd77b9f80c7e5dfae351c6582f6cb0faaf06b9ab
[ "MIT" ]
permissive
aesavas/HackerRank
66b29adfbfe47d9bd8cdbccc8b4d3aa52e69441a
c1ffecc92e3e3db923f94594b9115f650dc2983a
refs/heads/master
2021-01-05T10:05:57.996492
2020-09-29T22:47:48
2020-09-29T22:47:48
240,984,986
0
0
null
null
null
null
UTF-8
Python
false
false
771
py
""" author : Ali Emre SAVAS Link : https://www.hackerrank.com/challenges/30-review-loop/problem """ if __name__ == '__main__': S = list() N = int(input()) for _ in range(N): s = input() S.append(s) # This solution is classical way for i in S: odd, even = "", "" # b...
[ "aliemresavas.95@gmail.com" ]
aliemresavas.95@gmail.com
387709ceec1cd708efad58885ceba08d4c913c14
776907762cefa7d449a9124daa0d74cb425c3b9f
/porfolio/fabfile.py
4e876fc3f2744ad49d261ff640191c89251df985
[]
no_license
123mahesh/portfolio
2344a72ee32371b95a76372361640a1d253b4f72
ea2b411fd8a6834e650007b6741889866480b537
refs/heads/master
2021-01-21T21:48:09.147827
2016-01-07T02:00:39
2016-01-07T02:00:39
48,783,726
0
0
null
null
null
null
UTF-8
Python
true
false
21,858
py
from __future__ import print_function, unicode_literals from future.builtins import open import os import re import sys from contextlib import contextmanager from functools import wraps from getpass import getpass, getuser from glob import glob from importlib import import_module from posixpath import join from mezza...
[ "rowhseham@yahoo.com" ]
rowhseham@yahoo.com
be8e5e49757da2d235076e9890d0f790ea19a91d
1273fc880f09305fd1ed9ddc9b273df4253f15e7
/muffin_babel/__init__.py
3c8cca5765181a5b60e915fac27beabaa6161269
[ "MIT" ]
permissive
klen/muffin-babel
ac63b997bb7ecb589b72d6e8a0ce3092fb87193f
c627a4da4263e883bec04793c6637d3f8aa1f9bc
refs/heads/develop
2023-06-01T04:38:45.708882
2023-05-22T12:04:37
2023-05-22T12:04:37
39,961,646
3
0
MIT
2021-05-28T10:02:34
2015-07-30T16:51:18
Python
UTF-8
Python
false
false
10,443
py
"""Muffin-Babel -- I18n engine for Muffin framework.""" import csv import logging import sys from contextlib import contextmanager from pathlib import Path from typing import TYPE_CHECKING, Any, Awaitable, Callable, Dict, Optional, Tuple, TypeVar from asgi_babel import current_locale, select_locale_by_request from bab...
[ "horneds@gmail.com" ]
horneds@gmail.com
e829030a1ce36ea2aa1a476003fbf1e1c91a059e
8fc9366fdaa79e8dd748e435b62db171d44581ad
/jtoken.py
8e22c65226e1ae67e9f2a086bee9f897167003c6
[]
no_license
mindchains/challenges-under_construction
e21fa1b43385cc8dff44772fbd65cdcf39141d29
ea596b42a24b7cdafb52e7625bdd83bef44aeba4
refs/heads/main
2023-03-05T12:01:28.766997
2021-02-22T22:31:14
2021-02-22T22:31:14
341,355,291
0
0
null
null
null
null
UTF-8
Python
false
false
1,231
py
import json, base64, sys, os, jwt from colorama import Fore, Style intro = """ ################################################# # # # JSON WebToken # # challenge: # # hackthebox/under_construction # # # ################################################# """ print(Fore.GREEN + intro) tok...
[ "mindchains_pt@protonmail.com" ]
mindchains_pt@protonmail.com
635262664cf5f3f517bcfd5715c457c14797e423
b5430b06bf0b59f5015e3cc7ad2d94fc045eb29f
/crawler/crawler/control/deploy/proxy_tools/deploy_proxy/shadowsocks_old/test_local.py
8389f8f0f971d6943e2ea900d20cfbc8dcf31421
[]
no_license
pengdan01/spider
9250007be3c7c422d916c370a1389ce434948442
67f57c26673606b2a215d6ef9e9340e027990c4c
refs/heads/master
2021-08-24T13:35:02.645038
2017-12-10T01:50:59
2017-12-10T01:50:59
112,009,041
1
2
null
null
null
null
UTF-8
Python
false
false
4,491
py
#!/usr/bin/env python # Copyright (c) 2012 clowwindy # # Permission is hereby granted, free of charge, to any person obtaining a copy # of this software and associated documentation files (the "Software"), to deal # in the Software without restriction, including without limitation the rights # to use, copy, modify, me...
[ "pengdan.pd@alibaba-inc.com" ]
pengdan.pd@alibaba-inc.com
d8c33a598956091bab533eda8716d63e6ce852b5
2986a62a5221885b2f070060aadb9c9ab1e84035
/Aula10 - Condições em Python/ex033 - Maior e menor valor.py
1084395b85db8996bebe2ec6aea68e8a3f430e7f
[]
no_license
igorkoury/cev-phyton-exercicios-parte-1
dcb39772be48ba7333a391af4e9fda025654472f
b187565ca996402f4862ad3000d18bfb461e269e
refs/heads/main
2023-08-28T02:38:32.311162
2021-10-06T21:38:39
2021-10-06T21:38:39
414,375,879
1
0
null
null
null
null
UTF-8
Python
false
false
627
py
# Faça um programa que leia 3 números e diga qual é o maior e o menor. print("Digite 3 numeros para saber quem é o menor e o maior.") n1 = int(input("Digite um número: ")) n2 = int(input("Digite outro: ")) n3 = int(input("Digite mais um: ")) print("Você digitou {}, {} e {} respectivamente.".format(n1, n2, n3)...
[ "noreply@github.com" ]
igorkoury.noreply@github.com
94b7c4f227bf9ec62303991809f59e1a3ffd478b
0c24fcbf802ed1881abdfbf14b867d4545237602
/students/y2336/practical_works/Zolotarev_Daniil/django_project_zolotarev/zolotarev_app/zolotarev_app/settings.py
108b126d4192155cc8cf56bc0ea77e43b93358c2
[]
no_license
TonikX/ITMO_FSPO_Web_Django_2020
d435d2984778d668f6d04c86d78c991b3f390c1a
267141d6e4ee231ca689c8929f3db25fef15a5fd
refs/heads/master
2023-01-18T17:38:05.964240
2020-11-20T18:08:57
2020-11-20T18:08:57
245,081,715
2
139
null
2023-04-25T18:54:50
2020-03-05T05:59:54
Python
UTF-8
Python
false
false
3,210
py
""" Django settings for zolotarev_app project. Generated by 'django-admin startproject' using Django 3.0.3. For more information on this file, see https://docs.djangoproject.com/en/3.0/topics/settings/ For the full list of settings and their values, see https://docs.djangoproject.com/en/3.0/ref/settings/ """ import...
[ "danzolax@gmail.com" ]
danzolax@gmail.com
9d4a06013d0517080446f5dfd957558c9e77d8d9
a86fda09a185ebf367e31cf26589161303f9497a
/metrics/topologyVertex.py
3b6fc44e77e468ade8bbf02eebf09fef94eecc0f
[ "BSD-3-Clause" ]
permissive
kristianeschenburg/metrics
67ec2cd5b697241eee35da46daf71b2d735cdb64
53900f8130cb7dd762ae3e816225fb4f178a5b29
refs/heads/master
2020-03-25T10:27:29.623361
2019-04-02T21:20:08
2019-04-02T21:20:08
116,600,441
0
0
null
null
null
null
UTF-8
Python
false
false
1,711
py
import numpy as np def labelCounts(label, adjacencyList): """ For each vertex, count the number of vertices with other labels that are adjacent to it. Parameters: - - - - - label : int, array label vector adjacencyList : SurfaceAdjacency adjacency list for surface mesh ...
[ "keschenb@uw.edu" ]
keschenb@uw.edu
47af906a4fc637e1df0f37c9d51100c80e6bf5bc
ee1267bd39a90e9856d2e8dd735af29986b2d52a
/DS5.py
4ad6a6d9026fc705c44151489a4b8410e4509ba2
[]
no_license
Khushi-03-12/DSP-17Jan
d7fcc647435253079c986114c441706cb9542ca5
618cd72f898d40701465374dc8688bf6ecd3f523
refs/heads/main
2023-02-25T09:48:21.755344
2021-01-31T12:29:30
2021-01-31T12:29:30
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,217
py
# -*- coding: utf-8 -*- """ Created on Sun Jan 24 16:12:17 2021 @author: vikas """ teamA = ['India', 'Australia','Pakistan', 'England'] # 4elements list index 0-3 for i in teamA: print (i) for i in range(len(teamA)): print (teamA[i]) r1 = range(1,11) for i in range(1,11): print ('2 * ' + str(...
[ "vikas.khullar@gmail.com" ]
vikas.khullar@gmail.com
455ab705f17ca676bf7042b5beb8912bd9ac74c8
6ab31b5f3a5f26d4d534abc4b197fe469a68e8e5
/tests/kyu_7_tests/test_patterncraft_visitor.py
8824069b8298d54921b0b5d2084e335ee8fe30a0
[ "MIT" ]
permissive
mveselov/CodeWars
e4259194bfa018299906f42cd02b8ef4e5ab6caa
1eafd1247d60955a5dfb63e4882e8ce86019f43a
refs/heads/master
2021-06-09T04:17:10.053324
2017-01-08T06:36:17
2017-01-08T06:36:17
null
0
0
null
null
null
null
UTF-8
Python
false
false
552
py
import unittest from katas.kyu_7.patterncraft_visitor import Marauder, Marine, TankBullet class PatterncraftVisitorTestCase(unittest.TestCase): def setUp(self): self.bullet = TankBullet() self.light = Marine() self.bullet2 = TankBullet() self.armored = Marauder() def test_equ...
[ "the-zebulan@users.noreply.github.com" ]
the-zebulan@users.noreply.github.com
8b1d40c7b939223d27df2de0f50f9eb62f259089
63627101e170b3cd82cfff95bf123867f3723187
/pyopengl/test.py
a02dba6291f5a639ec2a16a266bb73209b279663
[]
no_license
winstongithub/gittest
405b2a362f8fdbf76400481a1f9f60fa05420300
e2935fd4e2d7d6e75f97903c229258bafce957e0
refs/heads/master
2021-09-12T13:02:53.007824
2018-04-17T02:01:24
2018-04-17T02:01:24
58,017,198
0
0
null
null
null
null
UTF-8
Python
false
false
3,885
py
from OpenGL.GL import * from OpenGL.GLU import * from OpenGL.GLUT import * import numpy as np def transToArray( lists , n ): size = len(lists) array = [] for i in range( 0 , size//n ): l=lists[ i*n: i*n + n ] l.append(1) array.append( l ) return np.array( array , float ) def tr...
[ "670293316@qq.com" ]
670293316@qq.com
466cb57b80be5c049eef958613b756e7c32b4aab
d2a45fe8a7036d27e761212a345fb6d2abcbf2c8
/app_study/popages/contactpage.py
ebc95aff07f78bab5cb48c292073a38c06bb85b3
[]
no_license
superman552/-pytest_study
d212b0a50b80e97a439f41c35c333b6d64d796ff
30e2da96341c5d2bb1e117aebfebb833a8959c02
refs/heads/master
2023-02-05T07:33:23.793446
2020-12-25T08:59:08
2020-12-25T08:59:08
305,019,668
0
0
null
null
null
null
UTF-8
Python
false
false
1,205
py
from appium.webdriver.common.mobileby import MobileBy from selenium.webdriver.common.by import By from selenium.webdriver.support.wait import WebDriverWait from app_study.popages.addcontactpage import AddContactPage from app_study.popages.basepage import BasePage from app_study.popages.otherinformation import OtherInf...
[ "245773788@qq.com" ]
245773788@qq.com
31de42d8a93f76985b06a65ff8e74ce14733af1e
bec8f33002130d8395f4ac4f0c74b785aa22cac5
/appium/options/common/language_option.py
f82de63d08680cc5a2a131403286ba603d4c8827
[ "Apache-2.0" ]
permissive
appium/python-client
1c974fdf1ac64ce4ac37f3fc8c0a3e30c186d3ca
2e49569ed45751df4c6953466f9769336698c033
refs/heads/master
2023-09-01T22:14:03.166402
2023-09-01T11:52:27
2023-09-01T11:52:27
18,525,395
1,588
606
Apache-2.0
2023-09-10T02:00:09
2014-04-07T17:01:35
Python
UTF-8
Python
false
false
1,317
py
# Licensed to the Software Freedom Conservancy (SFC) under one # or more contributor license agreements. See the NOTICE file # distributed with this work for additional information # regarding copyright ownership. The SFC licenses this file # to you under the Apache License, Version 2.0 (the # "License"); you may not...
[ "noreply@github.com" ]
appium.noreply@github.com
3db2ae30b8fab95ab7e8a15d555ab18f2421cf1f
650a65942fc3a7000f498e1932d4229b3a224524
/python/ray/autoscaler/sdk.py
0a48d6533d5a15d5f52622552c72f28dca7935cf
[ "Apache-2.0", "MIT" ]
permissive
verystrongjoe/ray
52bd9ef627c736d325aee22148012183997d58b6
9f598230ebd9b84af8dce6a1b144d60f384e9266
refs/heads/master
2023-01-27T23:37:13.205094
2020-11-25T17:26:53
2020-11-25T17:26:53
288,704,026
0
0
Apache-2.0
2020-08-19T10:39:06
2020-08-19T10:39:05
null
UTF-8
Python
false
false
7,905
py
"""IMPORTANT: this is an experimental interface and not currently stable.""" from contextlib import contextmanager from typing import Any, Dict, Optional, List, Union import json import os import tempfile from ray.autoscaler._private import commands def create_or_update_cluster(cluster_config: Union[dict, str], ...
[ "noreply@github.com" ]
verystrongjoe.noreply@github.com
01e6a378473dec7ae11da3a1205ee2449569340b
13bc6393eaf65780fc70575d5354f55c4cc1450d
/pres_analytics_site/analytics_main/views.py
1eac87ecbaf4d10b11cdc769cf49398f92a8cc91
[]
no_license
abhinavasingh16/PresidentialAnalytics
91ec446883efdc13bd16798f7418f80ad6d0d332
6386f80aeb544ea2fcce41c10d71348d7d79f682
refs/heads/master
2021-01-10T14:47:25.465431
2015-10-11T15:40:38
2015-10-11T15:40:38
44,029,357
0
0
null
null
null
null
UTF-8
Python
false
false
471
py
from django.template import Context, loader from django.http import HttpResponse from django.shortcuts import render, render_to_response from django.http import HttpResponseRedirect from django.template import RequestContext import json import os import copy import sys def index(request): ''' Index view - shows a li...
[ "abhisingh@nw0627.nerdwallet.com" ]
abhisingh@nw0627.nerdwallet.com
f4faa60e850bd436bde2b614fac2f1c41c339840
efa92bc7be48af31ac7bce524e23ee2627879c41
/scale_and_normalize.py
489e1c2aeb0613696a0dcc693ffef82dd8b6038f
[]
no_license
amaunz/kaggle_preproc
09e8c6d2501f8c21c34ddfc6b019aa71a9171636
90081eef03f3beb9c800ab7187e7cb2c50db9be0
refs/heads/master
2022-12-11T04:53:35.044601
2020-09-13T15:15:31
2020-09-13T15:15:31
295,177,823
0
0
null
null
null
null
UTF-8
Python
false
false
7,286
py
########################################################### ########################################################### #### #### #### LUMINOSITY NORMALIZATION & #### #### PREPROCESSING RECIPE OF THE WINNER OF #### #### KAGGLE DI...
[ "andreas.maunz@roche.com" ]
andreas.maunz@roche.com
f91e3109fc3e107d0b4b837ee59485dabdb88cbb
5441789f59fd2de1a0761308182e3dc4e9b69bff
/objects/Personne.py
e600b14aebe674c26909691c9725e00af9d28b63
[]
no_license
Koungoins/Covid-19
8f9487969a1abd96023cf7a136863b2fed182657
dab6ac0e18d20d348a8401012211d69b10efc8b7
refs/heads/master
2022-12-19T20:35:12.430495
2020-09-16T03:25:38
2020-09-16T03:25:38
272,237,863
0
0
null
null
null
null
UTF-8
Python
false
false
1,814
py
#!/bin/env python # coding=utf-8 from objects import coordonnees class Personne(object) : #Constructeur de la classe Personne def __init__(self): self.id = -1 self.nom = "" self.prenom = "" self.date_de_naiss = "" self.coordonnees = coordonnees.Coordonnees() #Saisi...
[ "bina.ansf@gmail.com" ]
bina.ansf@gmail.com
f890543311bf3991003bb75799e29477022c6245
00ce0f4d0c380d60cb336484200153636b249120
/hearthbreaker/effects/minion.py
18d49d2a99c6775f7c8aca516afe987f51750f98
[ "MIT" ]
permissive
tezheng/hearthbreaker
21784aeba11f557703e22a23af54886c496d3fec
169ad0d00e62300054e7cbaf5562d750f28730a8
refs/heads/master
2021-01-15T14:30:05.542012
2014-09-24T20:03:12
2014-09-24T20:03:12
null
0
0
null
null
null
null
UTF-8
Python
false
false
28,857
py
import copy import json import abc from hearthbreaker.constants import MINION_TYPE import hearthbreaker.game_objects class MinionEffect (metaclass=abc.ABCMeta): def __init__(self): self.target = None def set_target(self, target): self.target = target @abc.abstractmethod def apply(se...
[ "daniel.yule@gmail.com" ]
daniel.yule@gmail.com
2e6e3a213ecd4d9aedd876ae527ccdb0aad99505
c995e0b8cb2468a179bb20a1585b6a65a559b87e
/routes.py
e32844b946a10663def5cf00860e034defc9e4dd
[]
no_license
Lormenyo/Ashesi-Maker
0f35d3a156fa39af0f0ac7067f4b0749e212ffb6
3c65851785752dcde4cc89e030299bb66738d71e
refs/heads/master
2020-05-27T02:22:16.737069
2019-05-24T16:10:48
2019-05-24T16:10:48
188,451,032
0
0
null
null
null
null
UTF-8
Python
false
false
1,057
py
from flask import Flask, render_template, request, redirect, url_for, session, flash import datetime app = Flask(__name__) app.config['SECRET_KEY'] = 'mykey' # Homepage @app.route('/') def index(): final_year = int(datetime.datetime.now().strftime("%Y")) third_year = final_year + 1 second_year = fin...
[ "noreply@github.com" ]
Lormenyo.noreply@github.com
971474881594f60e7aec7c36c68c8e7f3accc65f
db6f218c2df0db698e1a900c32ca4212158c176c
/RL_brain(sarsa).py
b4808af2b8fb906a2e6ca7bfe80e7a612472ffff
[]
no_license
alvinyee860120/Reinforcement-learning
b13efd687ab691ec3878e41a14bd6e47fd01c66d
33db05d16db764419224f2adbda23ac325d91622
refs/heads/master
2022-02-25T00:42:44.884905
2019-10-07T17:23:01
2019-10-07T17:23:01
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,076
py
#!/usr/bin/env python # coding: utf-8 # In[3]: import numpy as np import pandas as pd class Agent(object): def __init__(self, actions, learning_rate=0.01, reward_decay=0.9, e_greedy=0.9): self.actions = actions # a list self.lr = learning_rate self.gamma = reward_decay self.epsi...
[ "noreply@github.com" ]
alvinyee860120.noreply@github.com
8ba17eac98795a2e90941bb8a59a7c5f271b75eb
a9937139b1af85180cea706a52d447abce2430f4
/e/Pliki/otwieranie_pliku.py
1f748da7717c491ec9513b293b31648e29137cf4
[]
no_license
MirekPz/Altkom
8f16014d43adb10e87804ae2b5d23151924cb226
0a49e75e681593b41d07cbff63dea0723a11756b
refs/heads/master
2020-09-29T00:12:37.990353
2019-12-13T15:52:30
2019-12-13T15:52:30
226,899,295
0
0
null
null
null
null
UTF-8
Python
false
false
192
py
plik = open('example_txt_file.dmo', 'r') zawartosc = plik.read() print(zawartosc) plik.close() input('drugi:') # with open with open('example_txt_file.dmo') as file: print(file.read())
[ "mirek@info-tur.pl" ]
mirek@info-tur.pl
83a7659611f229a80e07a21c67da2d3906d0f1e0
ebd042f0b3ab83f9a44334f6dd9cd8b72449a3fe
/apps/tickets.py
0f8e6298b5239c7607e3f3dd60f3762497a09e0b
[ "MIT" ]
permissive
Gotchi9106/baazaar-explorer
3d0d048e85c57c1cc660a385d1a9483379a3224f
deac25ad076b9249b26ccf52458c72096987eb9c
refs/heads/main
2023-07-04T17:25:47.087891
2021-08-26T16:01:30
2021-08-26T16:01:30
null
0
0
null
null
null
null
UTF-8
Python
false
false
3,244
py
import dash_bootstrap_components as dbc import dash_core_components as dcc import dash_html_components as html import dash_table import data import pandas as pd import plotly.express as px import plotly.io as pio from dash_core_components.Graph import Graph pio.templates.default = "plotly_white" ticket_sales = data.t...
[ "alexjj@gmail.com" ]
alexjj@gmail.com
df9181e897d1c79756259eeadcb4711eca0fff67
04975a41eb459f1528dcbdcb1143a3cb535aa620
/Tree_easy/leetcode_590.py
ef470b8651a6a2b4c709b9cdf7f36ce6651cff88
[]
no_license
RickLee910/Leetcode_easy
2a50d632379826979a985e1b9950d4cf6bbd8b18
c2687daf334f96a908737067bb915b8b072d0d56
refs/heads/master
2023-01-29T11:09:26.701243
2020-12-02T04:36:14
2020-12-02T04:36:14
294,952,436
0
0
null
null
null
null
UTF-8
Python
false
false
325
py
class Solution: def postorder(self, root: 'Node') -> List[int]: ans = [] def dfs(root,ans): if root == None: return for i in root.children: dfs(i,ans) ans.append(root.val) return ans dfs(root, ans) return...
[ "13554543910@163.com" ]
13554543910@163.com
e32d436ac61e8d385d06cb8ad9cb3a11d7de2260
d49cb6d8f0e1b8d70ccde2a8b9b6e4d0c5725462
/tests/unit/test_search_algorithm_registry.py
c8206ba6a5781af9d18b1322c5d9c78901f773d9
[ "Apache-2.0" ]
permissive
Jardo72/Python-Sudoku-Sandbox
57ccd0fe26b3f6d59ef951d18eea7077c4abc020
ff702e0c752cc57ff409fb868fae3a136280d55c
refs/heads/master
2023-03-01T15:14:26.481545
2023-02-20T17:44:32
2023-02-20T17:44:32
164,080,583
0
0
Apache-2.0
2023-02-20T17:44:33
2019-01-04T08:32:27
Python
UTF-8
Python
false
false
2,347
py
# # Copyright 2023 Jaroslav Chmurny # # This file is part of Python Sudoku Sandbox V2. # # Python Sudoku Sandbox is free software developed for educational and # experimental purposes. It is licensed under the Apache License, Version 2.0 # (the "License"); you may not use this file except in compliance with the # Licen...
[ "noreply@github.com" ]
Jardo72.noreply@github.com
f4ba49f50c1a6829dee16f64d136e2f0406c7115
d992f98d3c5d009c567e9dac83f38770d8d72f77
/postCMeval/annoate_summary_with_pscore.py
942920673d5212449ff7547f0710420b4b39e90f
[]
no_license
rlleras/quasiClique
c65643dcc35e2426e4c519ee1b3400895e9610cc
d57be41a213d2e57778d2feb9c103594ebbbf705
refs/heads/master
2021-01-21T20:53:05.841720
2012-02-28T22:49:17
2012-02-28T22:49:17
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,335
py
import os import sys import glob import csv def annotate_rank_summary_with_pscore(filename, delimiter=','): """ Given a rank_cmfinder.pl-output summary file X, create a new file X.pscore_added that has the motifs' pscores appended """ motif_dir = os.path.dirname(filename) in_csv = csv.DictReader(open(filename),...
[ "magdoll@gmail.com" ]
magdoll@gmail.com
d6ac82bbeaec93d9d00fa93a6af791d6ca622d53
c5c22db44e0a07dbf8e9ecb1f4a2b01a8f78745c
/colonist_ql/game_structure/structures.py
63f69e542c86ee64b8533331f49b4735bf14988c
[]
no_license
Shalwaban/ColonistQLearning
0dc10e3c82b7ad762b9a16bae4e4d09a27b976bf
ce57b97825e24037db989d40bd288022ae5c5a0d
refs/heads/master
2022-09-13T17:59:47.501977
2020-05-30T07:21:33
2020-05-30T07:21:33
null
0
0
null
null
null
null
UTF-8
Python
false
false
9,957
py
from abc import abstractmethod from colonist_ql.game_structure import cube_coord as cc import colonist_ql.patterns as patterns import colonist_ql.facts as facts import numpy as np class Hex: def __init__(self, cube_coords, real_coords, resource, value, blocked=False): self.cube_coords = cube_coords ...
[ "zactodd0@gmail.com" ]
zactodd0@gmail.com
8f16b2d94dc4d8a4ebc5c2b779b1049670c0faa5
d8829cbc2d2863f68cb1b447a878dce0ac20a878
/scraper/positions.py
40a42e62b99118840ea7c9eef7ef2123b8b36208
[]
no_license
XiaoxiaoWang87/InsightPrj
170a9757dfdf4669ee2c52322f2f5e5d766ce2a1
767a3719fad93ddb9711817f543b5e7b1822f680
refs/heads/master
2021-01-19T00:41:44.195663
2014-10-06T22:28:24
2014-10-06T22:28:24
null
0
0
null
null
null
null
UTF-8
Python
false
false
198
py
import pandas as pd df = pd.read_csv('position_draft.csv',sep='\t') for index, row in df.iterrows(): #if row["DRAFT"] == '[]': if row["POSITION"] == '[]': print row["PLAYERCODE"]
[ "=" ]
=
2901a64d6a75331ae821fc785d834c03fc4d5a31
616c3c02be31b9ae4d06bd7c5a8d4a2e7c446aa1
/1370.上升下降字符串.py
36aae8d92dbacc45541253677dc27fdce052d717
[]
no_license
L1nwatch/leetcode-python
8b7c47c04ee9400d50d8b0764a544a0463df8f06
0484cbc3273ada25992c72105658cd67411c5d39
refs/heads/master
2023-01-11T14:53:15.339276
2023-01-11T05:24:43
2023-01-11T05:24:43
194,516,548
0
1
null
null
null
null
UTF-8
Python
false
false
935
py
# # @lc app=leetcode.cn id=1370 lang=python3 # # [1370] 上升下降字符串 # # @lc code=start class Solution: def sortString(self, s: str) -> str: s = list(s) s.sort() answer = list() while len(s) > 0: # step1 char = s.pop(0) answer.append(char) ...
[ "watch1602@gmail.com" ]
watch1602@gmail.com
5f57eece93900b5d336c3834dff8ef564e01e82f
d6e8b2a950ce4eddb2d8325ad08750fe5099f183
/How to plot curves.py
7848cf69d4f68dd2e70839c104ce69fe27dd5956
[ "MIT" ]
permissive
govindak-umd/A-Star-Non-Holonomic
2ea94da02feb4b4c64c820d7dd750a78384bab5d
f3080e9dc0b224147f5164c2a5e441be318514b7
refs/heads/master
2022-12-30T07:53:15.399113
2020-09-29T23:44:25
2020-09-29T23:44:25
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,667
py
import matplotlib.pyplot as plt import numpy as np import math fig, ax = plt.subplots() XL=[] def plot_curve(X0,Y0,Theta0,UL,UR): t=0 r=0.5 L=4 dt=0.1 X1=0 Y1=0 dtheta=0 Theta0=3.14*Theta0/180 Theta1=Theta0 while t<1: t=t+dt X0=X0+X1 Y0...
[ "noreply@github.com" ]
govindak-umd.noreply@github.com
f1161011ed04bd3840278525bb37efb6f1ee6b1c
1db89e7951175584738bf68357094cb8f71d30e1
/meiduoshop/meiduoshop/apps/contents/utils.py
7e29aa6df354ae0de1f4ed5b88c518821f1d9c19
[ "MIT" ]
permissive
juntao66/meiduoshopping
f7059ba1e943dd6806d528bf42710a71e8aca7a9
30f2f3c508ce4e50680f805f1ca8b64162cd926d
refs/heads/master
2022-12-06T08:06:20.311901
2020-08-24T03:24:11
2020-08-24T03:24:11
287,690,996
0
0
null
null
null
null
UTF-8
Python
false
false
1,080
py
from collections import OrderedDict from goods.models import GoodsChannel def get_categories(): categories=OrderedDict() channels = GoodsChannel.objects.order_by('group_id', 'sequence') #遍历所有频道 for channel in channels: #获取当前频道所在的组 group_id = channel.group_id # 当前组 ...
[ "1401180436@qq.com" ]
1401180436@qq.com
1e13e04eda9a95768a0674f2890d5771f4427b34
f0dc114a8269809d759bf55e261b21802c115107
/fastestimator/trace/xai/__init__.py
e08a7a46543a1d57a6cf90d6950da155de3a128e
[ "Apache-2.0" ]
permissive
purujitb/fastestimator
5ca857286c35dc551b5a514b0e92343b3a6c2cdf
32369742e58a091f83021694b91db7bb375bb088
refs/heads/master
2021-07-08T10:40:43.122405
2021-01-13T18:29:29
2021-01-13T18:29:29
225,451,676
0
0
Apache-2.0
2019-12-02T19:24:07
2019-12-02T19:24:06
null
UTF-8
Python
false
false
746
py
# Copyright 2019 The FastEstimator Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by appl...
[ "Michael.Potter@GE.com" ]
Michael.Potter@GE.com
b46696c3c9181bf36981cb44b5e87175bbdb65e1
cfeea2347a9b820659e55eb3076e718f7504a5f1
/app/models/integrations/txt_files_integration.py
91a50910eb3ab8b63b9f30506acfa68d455e1639
[]
no_license
BarbaraMoser/Ecommerce-MVC
190b98a9ee7bdd8afd47de309d1ed1b65b8f6cc7
436f7368d54feb0e14b27c4c91510d61f91d865b
refs/heads/master
2022-09-28T10:00:02.912499
2020-05-28T17:06:11
2020-05-28T17:06:11
256,049,974
0
0
null
2020-06-06T09:47:39
2020-04-15T22:21:37
HTML
UTF-8
Python
false
false
1,583
py
import lxml.etree as ET class TxtFilesIntegration: _ENCODING_WINDOWS = 'windows-1252' _ENCODING_UTF = 'utf-8' _INFO_NOT_FOUND = 'Info não encontrada.' @classmethod def read_file(cls, file_name: str): return open(f'{file_name}.txt', encoding=cls._ENCODING_WINDOWS) @classmethod def...
[ "barbaramoser91@gmail.com" ]
barbaramoser91@gmail.com
940acbee62ee89ded6482322acd686d8e8016304
5502909705e5cd8f37a88980dcbcd61a26708d3a
/env/bin/symilar
4f3258b7bb932cc236550a4d87bc9580b9b24614
[]
no_license
fobibot/FOBI-Bot
2fc92d793b64c5362b8122a2da4429bfecd82792
7e25d64a9812cb6a5b1c706ab17904c81545d9c4
refs/heads/master
2021-04-30T12:56:26.308624
2018-02-12T18:52:38
2018-02-12T18:52:38
121,284,254
0
0
null
null
null
null
UTF-8
Python
false
false
231
#!/home/pi/env/bin/python3 # -*- coding: utf-8 -*- import re import sys from pylint import run_symilar if __name__ == '__main__': sys.argv[0] = re.sub(r'(-script\.pyw?|\.exe)?$', '', sys.argv[0]) sys.exit(run_symilar())
[ "fobi.fibo@gmail.com" ]
fobi.fibo@gmail.com
7dcaaf85799043a0033d4e6e863734abc3a348e5
5f129972f9135495bfb9714038fd6aab30031330
/nanjingmap/plot_echarts_map.py
d12bffb53b4014843300f1712ef71be13bd79ed3
[]
no_license
appleyesss/Visualization
5b4ceb5a2753fb906356e28df5fb1ea4b46bc441
8b169eef1a9a73f36c288fdd2ce609b6e909bb9c
refs/heads/main
2023-06-22T10:21:46.423679
2021-07-29T02:37:49
2021-07-29T02:37:49
390,308,036
0
0
null
null
null
null
UTF-8
Python
false
false
4,584
py
import json import ssl import pyecharts.options as opts from pyecharts.charts import Map from pyecharts.render import make_snapshot from pyecharts.globals import ThemeType from pyecharts.faker import Faker from pyecharts.datasets import register_url from pyecharts.charts import Grid, Bar import asyncio ...
[ "noreply@github.com" ]
appleyesss.noreply@github.com
5aae6e6c0cb7252a3a9c1b5e4334d7c90919cb06
dc6176c6d2213926e6e4a343dfe399970931b976
/code/DF_one_hot1.py
19b3f0e48dd0c23cb38bdc1bfd95a92d42493a16
[]
no_license
abosun/jiaohang
153efd168b6c958e0e2d25d2b61aa0c72ca141a0
3fff2c90b6adc09d430994544751b06f7fefec2b
refs/heads/master
2020-04-11T15:14:21.059788
2018-12-15T08:29:26
2018-12-15T08:29:26
161,883,820
0
0
null
null
null
null
UTF-8
Python
false
false
6,064
py
#coding:utf-8 import pandas as pd import numpy as np PCA_count = 15 def ids_prose(ls): ls[1] = '-'.join(ls[1].split('.')[:2]) return ls def log_reader(log_path): train_log = log_path train_log = open(train_log) train_log.readline() train_log = [ids_prose(x.split()) for x in train_log.readlines...
[ "lmy413033003@126.com" ]
lmy413033003@126.com
2833d8de3a0b18a6459e8f03b507b3f21f0213c7
24324bddf112790cb45a2931a28c50a01ebbc030
/codingbat_list1.py
0c2c4ab3451adc4263b4a67359182cb8e884249c
[]
no_license
HamzaYacub/codingbat_exercises
4f15d98bb58e135234fa155e1d5764620f178091
c9e62331db5573764d88d11aa9370a05aad0c864
refs/heads/master
2022-06-13T02:15:26.249729
2020-05-05T15:21:46
2020-05-05T15:21:46
261,267,156
0
0
null
null
null
null
UTF-8
Python
false
false
1,954
py
#----------------------------------------------- q1 #def first_last6(nums): # if nums[0] == 6 or nums[-1] == 6: # return True # else: # return False #------------------------------------------------ q2 #def same_first_last(nums): # if (len(nums) >= 1) and (nums[0] == nums[-1]): # return True # else: # ...
[ "hamzayacub@gmail.com" ]
hamzayacub@gmail.com
a3d44c517ab38a95c83ab8b1483260b48e15327b
4328c71ddbb3dd564c04c599f8e95afef16e0d7c
/dg/4-sysProcess/06-全局变量在多个进程中不共享.py
773b57b49e89c4bc420af8e6576049b0201d5761
[]
no_license
amtfbky/git_py
470fb7bc8f2c5017d47c31e1af8bb042bfe377b4
6159049b088036ebd133f5dab917d3e540a304c8
refs/heads/master
2020-03-09T04:16:12.991206
2018-06-01T01:16:05
2018-06-01T01:16:05
128,583,362
0
0
null
null
null
null
UTF-8
Python
false
false
275
py
import os import time g_num = 100 ret = os.fork() if ret == 0: print("------process-1--------") g_num += 1 print("------pricess-1---g_num=%d--"%g_num) else: time.sleep(1) print("------process-2--------") print("------pricess-2---g_num=%d--"%g_num)
[ "xjbrhnhh@163.com" ]
xjbrhnhh@163.com
ec9554520288d8413d2755df9482f7ffc60cb745
94fef8c06a4417eef6c443039547360ffb768ec0
/service/user.py
1bec1b2d646c9aa157087db7769103c85ab3b764
[]
no_license
lisongjian/lo
321c36fed940e03020b26b8010915bcbf5c5812f
94a40396ebffceeffaa069507d98fa0d76f02817
refs/heads/master
2021-01-10T21:29:13.752015
2015-06-07T08:35:09
2015-06-07T08:35:09
37,009,676
0
0
null
null
null
null
UTF-8
Python
false
false
33,251
py
#!/usr/bin/env python # -*- coding: utf-8 -*- # # Copyright Youmi 2014 # # @author: lisongjian@youmi.net # """用户信息相关 """ import protocols import utils import constants import IP import re import time import urllib2 from datetime import date import os import random import datetime from PIL import Image from models imp...
[ "lisongjian@gmail.com" ]
lisongjian@gmail.com
038d8af70d2975fdca13a66f5b4337d9efbc4a19
98818aebfb30a12eff9d37a6fd98656f8850e47b
/node_modules/kerberos/build/config.gypi
183ab8ae7e3f078368283a5b11fb9c5079a436c6
[ "Apache-2.0" ]
permissive
limonjuices/test-nlpf
b58694152cefdb86051a9bac11fa0269204956cf
64863000e079326d099cf159adac9af3fbb91ade
refs/heads/master
2021-07-10T08:03:07.090334
2017-10-10T13:39:38
2017-10-10T13:39:38
106,321,227
0
0
null
null
null
null
UTF-8
Python
false
false
4,807
gypi
# Do not edit. File was generated by node-gyp's "configure" step { "target_defaults": { "cflags": [], "default_configuration": "Release", "defines": [], "include_dirs": [], "libraries": [] }, "variables": { "asan": 0, "coverage": "false", "debug_devtools": "node", "debug_http2"...
[ "limonjuices" ]
limonjuices
ac958ec2d6d2db7da2dfb5dbd182f81028eebf15
ff2066656eb14103598a58ea27525449d626eb11
/Retail_Website/mysite/rfq/migrations/0002_auto_20200901_1820.py
b802dfa06e4bcc1e7c00cc2413312f498211723d
[]
no_license
mhjn95/Retail_Website
9a03f9a5709a9c734df04641dbb5e88037d7ee0a
62c59f111d1c412c3e1a833e37d7a0660556422a
refs/heads/master
2023-04-27T03:11:02.261450
2021-05-26T21:38:45
2021-05-26T21:38:45
371,173,254
0
0
null
null
null
null
UTF-8
Python
false
false
1,431
py
# Generated by Django 3.0.3 on 2020-09-01 12:50 from django.conf import settings from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): dependencies = [ migrations.swappable_dependency(settings.AUTH_USER_MODEL), ('rfq', '0001_i...
[ "aayushmahajan950@gmail.com" ]
aayushmahajan950@gmail.com
7ca8f55fef396068a976662a7c583e7704acf5ec
71bedfbfa6e1ac2d2469e632df0795eedb1def60
/scr/SSD300/test.py
7f016749c8dab7b307b6e55eb3c26feba1116e13
[]
no_license
cyctrung/audit
d4748ab5721bcf18e8e43005f7731112d2b635f3
fb6474cd6de4ec5d03eaf3f6278aba71d4ede96e
refs/heads/master
2021-05-29T00:02:45.860358
2020-04-09T06:20:23
2020-04-09T06:20:23
254,291,274
0
0
null
null
null
null
UTF-8
Python
false
false
1,631
py
from tqdm import tqdm import cv2 import time import torch import numpy as np from dataset import DataSet from loss2 import MultiBoxLoss from ssd300 import SSD from ssdpytorch.utils.augmentations import SSDAugmentation from torch.utils.data import DataLoader from torch.autograd import Variable import matplotlib as plt f...
[ "48109056+cyctrung@users.noreply.github.com" ]
48109056+cyctrung@users.noreply.github.com
e04f5043f0f19ff523bd05f33050be05401a5874
3be7cb09d29aac4be60b6d3813d3bdc728c994d6
/test/test_webhooks_api.py
fe811796e65f539ccaaddaf3c36f94288abe55e7
[ "MIT" ]
permissive
latourette359/modern_logic_client
aa0cbf5063568110e6f7ac886e0db62b580cca00
16d415e1b07a66a975dc08a67465c0d70c90cbac
refs/heads/master
2023-08-29T08:20:43.995465
2021-11-03T00:55:32
2021-11-03T00:55:32
408,497,435
0
0
MIT
2021-11-02T21:50:01
2021-09-20T15:26:48
Python
UTF-8
Python
false
false
1,017
py
# coding: utf-8 """ Modern Logic Api Manage and version your customer decision logic outside of your codebase # noqa: E501 OpenAPI spec version: 1.0.0 Contact: info@usemodernlogic.com Generated by: https://github.com/swagger-api/swagger-codegen.git """ from __future__ import absolute_import im...
[ "nick@shieldrule.com" ]
nick@shieldrule.com
1788d7fb0349eebc05ab37f91754b18e6ce66b3f
5393cc633a96df60c2398d5e9f8382b23a7b11e0
/SelectionSort/selection-sort.py
8b52e49a085054df1b38c563e92655016dfa96f2
[]
no_license
SeshaSusmitha/Data-Structures-and-Algorithms-in-Python
5d1d96acccc1d8ba29c4e7444fd306d055f7c533
5e1d463e0229006f5d8cb104928bfe56662f78de
refs/heads/master
2021-01-22T20:44:11.841711
2017-03-22T08:28:36
2017-03-22T08:28:36
85,347,430
0
0
null
null
null
null
UTF-8
Python
false
false
423
py
def insertionSort(array1,length): for i in range(0, length ): min_pos = i; for j in range(i+1, length): if array1[j] < array1[min_pos]: min_pos = j; temp = array1[i]; array1[i] = array1[min_pos]; array1[min_pos] = temp; array1 = [2, 7, 4, 1, 5, 3]; print "Array before Selection sort" print(array1);...
[ "yellamraju.susmita@gmail.com" ]
yellamraju.susmita@gmail.com
80e2fd4809f7201fbfc0672f394bc66a92df6390
8e6a9a6eecf4d81fade63dd424b6a55a0c116936
/FeatureSelection.py
59266262f9eb6441673959dde6e2ba5216275305
[]
no_license
kluaynum1150/Fake-News-Detection-Using-Machine-Learing
8671c847fa49f588cf1f4a3d8aeb4924797901d5
2e5cee839f4a6ecaba100aaa83cff2abeca5bcb7
refs/heads/main
2023-03-27T19:14:54.474282
2021-03-20T18:53:11
2021-03-20T18:53:11
null
0
0
null
null
null
null
UTF-8
Python
false
false
4,941
py
# -*- coding: utf-8 -*- """ @author: Vatsal Verma Note: before we can train an algorithm to classify fake news labels, we need to extract features from it. It means reducing the mass of unstructured data into some uniform set of attributes that an algorithm can understand. For fake news detection, it could be word ...
[ "noreply@github.com" ]
kluaynum1150.noreply@github.com
d8ef1ee6764fdbda951fade50fc717dc9d34f22b
d71d5797b52008f409c23e126d55ccfdd2692ba0
/lesson5/5.py
017e1ac1c4b2449546622cde16bfae71f52a9d6e
[]
no_license
timliakhor/geekbrains_python
6a77942755bfad4efc80c0abe0a34c499d68d433
07cb6ac945335cc6863adff5f11dbfe030943a3b
refs/heads/main
2023-03-28T04:25:21.706803
2021-03-28T08:51:54
2021-03-28T08:51:54
null
0
0
null
null
null
null
UTF-8
Python
false
false
381
py
from functools import reduce with open("resources/5_res_1.txt", 'a') as file: for j in [i for i in range(1, 20) if i % 2 == 0]: file.write(str(j) + ' ') with open("resources/5_res_1.txt", 'r') as file: print(reduce(lambda previous_element, current_element: previous_element + current_element, ...
[ "USXFFq44RuaauYZ" ]
USXFFq44RuaauYZ
16ed1bbd15b7c2290b97b1c341d7040eccac0c3f
f2a1f9420030f70de2824aa93f47e48cd09745d2
/MainOrbitPlots.py
eda0973442b46eb0a071662d520ed909ca1b464f
[]
no_license
TheJezzaS/Jupiter
acdbb60c0c9633acdb1b93f8ad25a0775d3178ea
2c5468ec738de681b3624bd74191423cc1cc64b4
refs/heads/main
2023-06-25T06:32:10.953569
2021-07-29T08:25:37
2021-07-29T08:25:37
315,133,927
1
0
null
null
null
null
UTF-8
Python
false
false
1,921
py
from CoreFunctions import * # Using un-perterbed initial conditions: sol = solver( times, 5.455*np.sin(np.pi/3) , 5.455*np.cos(np.pi/3) , 0, #initial values of Trojan position 2.622*np.cos(np.pi/3), -2.622*np.sin(np.pi/3), 0 #initial values of Trojan Velocity ).transpose() # Creates 24 x len(times) arr...
[ "70977631+TheJezzaS@users.noreply.github.com" ]
70977631+TheJezzaS@users.noreply.github.com
c7bbf75e9ae960b5941a6ca595b5b3d9fe56c169
fa96af5a7b13ef0c79c134f0f38e0c8beb2ad4ac
/runtime/python/tests/regression-tests/migration_huge_fold.py
8213de5dc62f562501a82bd2425b9ce80ae0e86a
[]
no_license
tfmorris/wrangler
0eda4610207128047187be427d53d90958860021
0ae804edd84cb8040e1c93cc42222e0a41a4e94a
refs/heads/master
2021-01-24T00:24:50.076635
2013-06-18T20:55:05
2013-06-18T20:55:05
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,708
py
from wrangler import dw w = dw.DataWrangler() # Split data repeatedly on newline into rows w.add(dw.Split(column=["data"], table=0, status="active", drop=True, result="row", update=False, insert_position="right", row=N...
[ "tfmorris@gmail.com" ]
tfmorris@gmail.com
e06cadebacbff361ff878048b6fad071797735b4
531bf94573d8bad90fdf1fa0ee16c34d8fab8ad7
/app/mailer.py
c4e47a001d1e971cae7aadd372646204f202648c
[ "MIT" ]
permissive
sam0737/niceboat
0f141a32dfef7e28606269cd55fdaa0bc305a9f0
97a11ba2b382a95534e0a5224536ce795ba4d646
refs/heads/master
2021-06-06T16:02:23.666864
2021-02-24T10:51:56
2021-02-24T10:51:56
98,638,402
5
0
null
null
null
null
UTF-8
Python
false
false
662
py
from config import Config from email.mime.text import MIMEText import smtplib def sendmail(tos, subject, text): message = """From: %s\nTo: %s\nSubject: %s\n\n%s """ % (Config.smtp_from, ", ".join(tos), subject, text) msg = MIMEText(text) msg['Subject'] = subject msg['From'] = Config.smtp_from ...
[ "sam@hellosam.net" ]
sam@hellosam.net
dae0a454a1758a196f7dfa316c463a1e98caa99c
8e6b35febea0e730d726616d807756a760dfff96
/generators/vtt.py
86120a0e11b1289f623fe6d561744e3dbc216aa8
[ "MIT" ]
permissive
additive/bulk-optimization
6a43f0796fe2be721d140ad5b81f48a2bcf8ea7f
31fcf8f0d5100779902bef586ac1c6c562b9cd14
refs/heads/master
2020-09-24T01:34:16.663947
2019-12-11T15:59:14
2019-12-11T15:59:14
225,630,887
4
2
null
null
null
null
UTF-8
Python
false
false
5,324
py
""" Generates video thumbnails (VTT) """ import random import shutil import math import tempfile import datetime from sty import fg from moviepy.editor import VideoFileClip from PIL import Image from pathlib import Path from utils.display import Box from utils.progress import show_progress from generators.generator ...
[ "marvin.heilemann@googlemail.com" ]
marvin.heilemann@googlemail.com
6add13271b6ebf08177a20b058dc78e738d70a03
255e19ddc1bcde0d3d4fe70e01cec9bb724979c9
/dockerized-gists/5320734/snippet.py
5d6a295d577a6aa909c64302aa627f27dc8e67b7
[ "MIT" ]
permissive
gistable/gistable
26c1e909928ec463026811f69b61619b62f14721
665d39a2bd82543d5196555f0801ef8fd4a3ee48
refs/heads/master
2023-02-17T21:33:55.558398
2023-02-11T18:20:10
2023-02-11T18:20:10
119,861,038
76
19
null
2020-07-26T03:14:55
2018-02-01T16:19:24
Python
UTF-8
Python
false
false
1,522
py
import os import matplotlib.pyplot as plt def save(path, ext='png', close=True, verbose=True): """Save a figure from pyplot. Parameters ---------- path : string The path (and filename, without the extension) to save the figure to. ext : string (default='png') The file exte...
[ "gistshub@gmail.com" ]
gistshub@gmail.com
c1af59b6e439cfba8c9a0c0ea6501303a66d886a
2bb5ffa26516d667a3116d1f772f21b5abad1dcc
/fp/practic/services/ShowService.py
3c78756094598d2d92798438769e47c21b00d705
[]
no_license
Demon000/uni
71a0c8d26ae1a6024f2215f4105dc8daee3c1bb5
7735fc90b17f452879bfca4b0e4e8c2c4e80831f
refs/heads/master
2022-08-14T03:08:51.029670
2021-12-15T16:50:06
2021-12-15T16:51:09
154,342,332
0
4
null
2022-07-21T08:25:57
2018-10-23T14:26:35
Jupyter Notebook
UTF-8
Python
false
false
3,746
py
from entities.ProgramEntity import ProgramEntity from errors.ServiceError import ServiceError from random import randint class ShowService(): def __init__(self, show_repo): ''' Initialize a new show service. Args: show_repo (ShowRepository): The repository to retrieve shows fr...
[ "demonsingur@gmail.com" ]
demonsingur@gmail.com
c47b81eae5619450ed32f1b322237587c0217bf4
33d490698f2958f2d53a6436043959bac5c9f63d
/l10n_es_aeat_mod340/__openerp__.py
5bc97b620692f733dc328a58c8b83803b21a8568
[]
no_license
ideosoft/odoo-modules
cf1a4bf0a1f0f25bfa44a83f8c10a2c73baed67e
3183a533ec9b89a57fd2b4c09cca0111afc86730
refs/heads/master
2021-03-30T18:13:42.873503
2016-07-14T13:46:01
2016-07-14T13:46:01
49,328,128
0
1
null
null
null
null
UTF-8
Python
false
false
3,276
py
# -*- coding: utf-8 -*- ############################################################################## # # OpenERP, Open Source Management Solution # Copyright (c) 2011 Ting (http://www.ting.es) All Rights Reserved. # Copyright (c) 2011-2013 Acysos S.L. (http://acysos.com) # Ignacio Ibeas...
[ "jgomez@ideosoft.es" ]
jgomez@ideosoft.es
4532e075eae5a1ddc4b9609e44839947d035ec9f
a68f37fcbf069c0656d4838af7386d6a9919fe59
/company_account/decorators.py
1454352528e707241395d14220ced8df0d57a92c
[]
no_license
mitchellpottratz/JobMatch
7dd2cbd979ca55cf651bcee4356a97e061145b90
797a9b1c3dfad57c05db52384d87d5f82be632f5
refs/heads/master
2022-11-26T08:44:27.535809
2019-12-13T20:05:11
2019-12-13T20:05:11
224,901,935
0
0
null
2022-11-22T04:53:46
2019-11-29T18:08:55
JavaScript
UTF-8
Python
false
false
457
py
from functools import wraps from django.http import HttpResponseRedirect # this decorators checks if the current user is a company_user, and redirects # them to the login user if they are not a company_user def company_account_required(function): @wraps(function) def wrap(request, *args, **kwargs): if not request...
[ "mitchellpottratz@Mitchells-MacBook-Air.local" ]
mitchellpottratz@Mitchells-MacBook-Air.local
3c26a203f65aa755554a86421e1604463d91627b
44937f6cfccc5748a0434dfc84267afacfbeb4f0
/deviceToIotHub/lib/iothub.py
01d2ddf8c6a42708c714eb6efe0001b464ac7ffb
[]
no_license
PankajRawat333/ESP32-
2c810ad7f707328a1486eda0989b45abf31f9ffd
e444b3f0c65d9f31c8c2009002e1c9dd74217b8a
refs/heads/master
2020-06-28T22:45:25.333622
2019-09-11T12:19:32
2019-09-11T12:19:32
200,361,825
0
0
null
null
null
null
UTF-8
Python
false
false
1,556
py
from sha256 import sha256 import base64 import hmac import urlencode import ntptime import time class IotHub(): def __init__(self, hubAddress, deviceId, sharedAccessKey): self.sharedAccessKey = sharedAccessKey self.sasUrl = hubAddress + '/devices/' + deviceId self.hubUser = hubAddress + '...
[ "pankaj.ra@hcl.com" ]
pankaj.ra@hcl.com
65c7729551ddd86b53033485bf1841cf27281704
3b56e8b8a5478a396daf5a8189e5f339eea12eb3
/Transition_Matrices/GDP_Cartesian/initialise.py
025855f01343f89c7855eb0745591c73bf9709e1
[]
no_license
rm1911/TestGit
8df427634f3a78f7b82fadd84a44df7b5b9d8594
ca62a7572ef8f2b278724c2aa0a9dfabba3dd48d
refs/heads/master
2021-01-15T11:48:15.787964
2017-01-14T21:22:55
2017-01-14T21:22:55
78,834,020
0
0
null
null
null
null
UTF-8
Python
false
false
388
py
import numpy as np from scipy.sparse import lil_matrix def initialise(lonarray,latarray,sparse): """ Requires coordinate arrays for at the relevant resolution and the sparse matrix entries """ full=lil_matrix( ( (latarray.size-1)*(lonarray.size-1),(lonarray.size-1)*(latarray.size-1) ) ) for i in range(sparse[0]....
[ "rm1911@ic.ac.uk" ]
rm1911@ic.ac.uk
48f53fce88946d524c83d625efe16376a4e5de8f
fb214cb2b1b11bec3185ad07e0257a65fa35db7f
/programmers/python/level2/올바른_괄호.py
6649a30ac0c957b1c67125e6958fdeb4dc151547
[]
no_license
LimHaksu/algorithm
48738631ea9ea79edaf6d481ba2c6c4bd0d3d662
596307751301d2357f77319e047d1c9fc9adb635
refs/heads/master
2021-12-07T07:56:59.804361
2021-11-21T04:53:52
2021-11-21T04:53:52
180,160,651
2
2
null
null
null
null
UTF-8
Python
false
false
218
py
def solution(s): top = -1 for c in s: if c == '(': top += 1 else: if top < 0: return False else: top -= 1 return top == -1
[ "neroren2@gmail.com" ]
neroren2@gmail.com
c1ceb404454ce567e24d20d975800d5a86c84ea7
4140a1eecd862356d7d41b171d8956a7ab96be7b
/nitro-python-1.0/nssrc/com/citrix/netscaler/nitro/resource/stat/lsn/lsndslite_stats.py
23db16cfc4e72bdd3a3490761b166565c8a07ce0
[ "Apache-2.0", "Python-2.0", "LicenseRef-scancode-unknown-license-reference" ]
permissive
Citrix-TechSpecialist/NS-Init
1c4311fef80d47d80fb5bfe107df058f5ff93e20
bd1b695584a6acadec0140457782c7f4e97c266b
refs/heads/master
2020-12-02T10:00:13.245312
2017-07-09T09:30:51
2017-07-09T09:30:51
96,673,273
1
0
null
null
null
null
UTF-8
Python
false
false
13,736
py
# # Copyright (c) 2008-2015 Citrix Systems, Inc. # # Licensed under the Apache License, Version 2.0 (the "License") # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable l...
[ "Mayank@Mandelbrot.local" ]
Mayank@Mandelbrot.local
abc5b6a8c336e7194e4f23944c25431c5fbe8e5d
809401fd897e879fee9487b0718c872c1758dbd5
/pybloom/src/backends/bitarraybackend.py
66a8e39c808a6b74b457a40b9f1295545068afca
[ "MIT" ]
permissive
nitxiodev/python-bloomfilter
7888e68d82b192f5780cfab4432e06d2f381ee3e
f83865ef28ce2b5052b16841d2877373bbd2c054
refs/heads/master
2023-04-04T23:53:25.457075
2020-03-22T17:55:22
2020-03-22T17:55:22
163,771,823
2
1
MIT
2023-03-31T14:35:52
2019-01-01T22:45:14
Python
UTF-8
Python
false
false
957
py
from bitarray import bitarray as Bitarray from pybloom.src import BloomFilterException from pybloom.src.backends import ThreadingBackend class BitArrayBackend(ThreadingBackend): def __init__(self, array_size: int, hash_size: int, filter_size: int, **kwargs): self._array = Bitarray(array_size) su...
[ "smnitxio@gmail.com" ]
smnitxio@gmail.com
4d2368011cef249879537e524c2bec02359e13e0
5b0db9b68a243141505d2424cba65bce45851021
/win.py
8eae5a4d6eafd8ac578c542d0ff76988e1d9e796
[]
no_license
Tayacan/Restless-game
02bc1629e45a497e1991bdf5119be3f9f1ce7a2a
7c4142b9c5a2d91b64b30508be17364304b38edd
refs/heads/master
2016-09-02T05:28:58.542687
2014-10-09T22:04:34
2014-10-09T22:04:34
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,508
py
import pygame import os from pygame.locals import * from gamelib.gameobject import GameObject from gamelib.game import Game from gamelib.input import Input from gamelib.collider import BoxCollider class WinScene(GameObject): def __init__(self): GameObject.__init__(self) def draw(self,pos,screen): ...
[ "mayasaietz@gmail.com" ]
mayasaietz@gmail.com
7126b93550683fbad9c87de9989134e029d88d9e
49d17b01d560ed7a3ad05b312340a2540d0382e1
/api/package/artnet/ArtSyncGroup.py
be5f041e4bed3eb2bc4b67e6743d5c380c01b549
[]
no_license
HE-Arc/Extrusion---web-interface
709f851e7efcee61ba43c17bb2e29869376c0bc3
de1408317d5071b7e0c6b2fea6f281660115d728
refs/heads/master
2023-01-10T15:50:20.759994
2019-11-01T19:56:44
2019-11-01T19:56:44
171,432,440
4
0
null
2023-01-04T05:22:47
2019-02-19T08:08:39
Python
UTF-8
Python
false
false
887
py
class ArtSyncGroup: """ArtSyncGroup is a class to manage multiple instance of StupidArtSync""" def __init__(self, *args): """Constructor of ArtNet :param args: StupidArtSnyc objects """ self.listArtNet = [] for a in args: self.listArtNet.append(a) def _...
[ "charles-lewis.jaggi@he-arc.ch" ]
charles-lewis.jaggi@he-arc.ch
e673a7b29f1fb572b569c9d26973535990ca05f3
7082f389c6a45e5e8c3b8941c464da5c363bf727
/src/create_modify_sample_db.py
a0d80417f89ced3893fe864797971f373a473832
[]
no_license
Debdan1997/Transcriber
b56964e2284a0dd4c94b08c9b3d75bab724ddc35
504eb6c849889393930b9eb6088964e33dfaa841
refs/heads/master
2022-12-24T21:38:46.919135
2020-09-26T13:58:12
2020-09-26T13:58:12
298,006,101
0
0
null
null
null
null
UTF-8
Python
false
false
1,353
py
from pymongo import MongoClient # client = MongoClient("localhost",27017) # db = client['mydb'] # print("Database created........") # #Verification # print("List of databases after creating new one") # print(client.list_database_names()) # coll = db['user'] #Inserting document into a collection # doc1 = {"name": ...
[ "dpapan.rik.1996@gmail.com" ]
dpapan.rik.1996@gmail.com
0943a2cdb3a5924d2bbdcf5810eded4886b41065
bf4c1793a20dcb5fac58ede1532212171fb5800c
/boss_service/models/Data/WholeService.py
65a011ff880f6420da9edcee195d3b76468157a1
[]
no_license
a2381165/bss-service
392a52f02ecc383a240a08336141c9484705c028
f5ab00f5a6abccdb53653eecc29c0f14b50da07d
refs/heads/master
2020-04-13T23:17:03.336220
2018-12-29T10:33:50
2018-12-29T10:33:50
163,502,365
0
0
null
null
null
null
UTF-8
Python
false
false
3,989
py
# -*- coding: utf-8 -*- from config import db class WholeService(db.Model): __tablename__ = "data_whole_service" id = db.Column(db.Integer, primary_key=True, nullable=False) task_id = db.Column(db.Integer) service_id = db.Column(db.Integer) customer_name = db.Column(db.String(20)) service_sta...
[ "haijiesong@qq.com" ]
haijiesong@qq.com
1aef2bdf27740de3c0b6b28a05b4afecc91e7556
3d445252518d34f2aa446a6851dcd0ac33a3b74f
/easycluster/server.py
127bbbb79705fab50935636c9f1728fa9bf6be81
[ "MIT" ]
permissive
pjcrosbie/easycluster
36d45c0f90b954603735fb73acdfdf73d3977686
a44992db04b25cb5b86922b309b228ca541393a1
refs/heads/master
2021-05-28T10:29:14.180166
2015-03-06T22:58:04
2015-03-06T22:58:04
null
0
0
null
null
null
null
UTF-8
Python
false
false
31,855
py
# Copyright (C) 2013 Jared Stafford (jspenguin@gmail.com) # # Permission is hereby granted, free of charge, to any person obtaining # a copy of this software and associated documentation files (the # "Software"), to deal in the Software without restriction, including # without limitation the rights to use, copy, modify...
[ "jspenguin@jspenguin.org" ]
jspenguin@jspenguin.org
8ed9e4186dac0518855857e80937519e864abf6b
b6e349a3731037f342224c5a8b30c785f632f88a
/Application/views.py
14d0bbdf9a2b0ec65a683cb5b8dd1a9bf92a58d0
[]
no_license
abhishekgupta3/GUI-Based-Marksheet-Generator
325b0f218a56c7316f81d179c86d51b019907992
7f12131c18fe035b191db67ffcc834e37f5a80c8
refs/heads/main
2023-09-05T07:44:38.395052
2021-11-21T12:44:52
2021-11-21T12:44:52
424,215,592
0
0
null
null
null
null
UTF-8
Python
false
false
15,190
py
from django.http import response from django.shortcuts import render, HttpResponse from . models import myuploadfile import os import csv import openpyxl from openpyxl import workbook, load_workbook from openpyxl import styles from openpyxl.styles import PatternFill, Border, Side, Alignment, Protection, Font from djang...
[ "abhishek_1901ee03@iitp.ac.in" ]
abhishek_1901ee03@iitp.ac.in
6e475fa396e9a6dcef96eed3caf04907181bd82f
03f9b8bdea312636afb4df3737b55cb0cc4b21ff
/RLEIterator.py
abaa4b9c89f81c3310c20d22aec12ca5c65ea68a
[]
no_license
ellinx/LC-python
f29dd17bbe15407ba0d06ad68386efdc9a343b56
9190d3d178f1733aa226973757ee7e045b7bab00
refs/heads/master
2021-06-01T15:21:24.379811
2020-10-29T04:37:07
2020-10-29T04:37:07
132,704,788
1
1
null
2019-05-15T03:26:11
2018-05-09T05:13:26
Python
UTF-8
Python
false
false
2,435
py
""" Write an iterator that iterates through a run-length encoded sequence. The iterator is initialized by RLEIterator(int[] A), where A is a run-length encoding of some sequence. More specifically, for all even i, A[i] tells us the number of times that the non-negative integer value A[i+1] is repeated in the sequence....
[ "ellin.xll@gmail.com" ]
ellin.xll@gmail.com
29808ad57a6fe8e50a2fc17e6c3c306b1bedb653
4f2cef2daf4083aa0f9113e588d3063cdaca05ad
/lost_found/urls.py
fcb4bd2440877ec3911551e1e6e327f036054bc0
[]
no_license
leslierere/lost_found
b8bc0250c3e84819c5d46d1c01ff8f06a3809cfc
39fec4caafd4ebd6997aba6eb40f5558b6291608
refs/heads/master
2022-12-09T15:21:57.323320
2021-05-21T20:39:23
2021-05-21T20:39:23
248,314,879
0
0
null
null
null
null
UTF-8
Python
false
false
1,358
py
"""lost_found 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') Class-ba...
[ "leslierenzy@gmail.com" ]
leslierenzy@gmail.com
6f84a6cf095fb5a86314bab9ec6f5027ef1c7133
09c95dc1035faa150f10fbe13dfb95b41113a68e
/common/apiRequests.py
6f951eb40624bfa8c96179413cd7040e66660b5b
[]
no_license
a31503214/KFF_interface
baa65039ff9b22d80af913615ca6fcc2eb75884b
16e2924d854c5bafb9587aab5b45eda50a630e29
refs/heads/master
2020-03-15T05:20:09.819278
2018-04-26T09:10:03
2018-04-26T09:10:03
131,986,667
0
0
null
null
null
null
UTF-8
Python
false
false
251
py
import requests base_url = "http://47.98.197.101/tzg-rest" read_url = "" method = "" params = "" url = base_url + read_url headers = "" resp = requests.request(method = method,url = url,params = params,headers = headers) # respJson = resp.json()
[ "331503214@qq.com" ]
331503214@qq.com
4d3bf528a77469025477e60365fc5db57a33ee28
af4b9a65ccd2a641d2644ebd9742e399baec5f82
/examples/pywrentest.py
98ce52629be78db04358c2a151d1c3def5e2a57b
[]
no_license
idoyehe/Industrial_Project_234313
38ac06e892b45bbc878f078a9bc80b7bc4b4bd9a
6399f96b0d5d0dc46dfeae4ca1a7231bc28ec4b4
refs/heads/master
2022-03-14T17:02:07.847060
2019-04-06T06:13:47
2019-04-06T06:13:47
null
0
0
null
null
null
null
UTF-8
Python
false
false
283
py
""" Simple PyWren example using one single function invocation """ import pywren_ibm_cloud as pywren def my_function(x): return x + 7 if __name__ == '__main__': pw = pywren.ibm_cf_executor(runtime_memory=2048) pw.call_async(my_function, 3) print (pw.get_result())
[ "idoye@campus.technion.ac.il" ]
idoye@campus.technion.ac.il