blob_id
stringlengths
40
40
directory_id
stringlengths
40
40
path
stringlengths
3
281
content_id
stringlengths
40
40
detected_licenses
listlengths
0
57
license_type
stringclasses
2 values
repo_name
stringlengths
6
116
snapshot_id
stringlengths
40
40
revision_id
stringlengths
40
40
branch_name
stringclasses
313 values
visit_date
timestamp[us]
revision_date
timestamp[us]
committer_date
timestamp[us]
github_id
int64
18.2k
668M
star_events_count
int64
0
102k
fork_events_count
int64
0
38.2k
gha_license_id
stringclasses
17 values
gha_event_created_at
timestamp[us]
gha_created_at
timestamp[us]
gha_language
stringclasses
107 values
src_encoding
stringclasses
20 values
language
stringclasses
1 value
is_vendor
bool
2 classes
is_generated
bool
2 classes
length_bytes
int64
4
6.02M
extension
stringclasses
78 values
content
stringlengths
2
6.02M
authors
listlengths
1
1
author
stringlengths
0
175
18a0d9873f18f71f270141f43088cee487f49f14
73ccbb899ab326bfa8c244cd81537fb584cafeca
/beetlebag.py
fc6e7fe223cdafaffe8c179f131f1b4de1ce4f93
[]
no_license
nebulaf91/ieeextreme-11.0-codes
725dc3df477364ba4c83515b1b825872a6eb2d17
559611b7278d406e892887934bdc09145032a306
refs/heads/master
2021-07-16T02:38:11.380849
2017-10-15T15:03:27
2017-10-15T15:03:27
107,022,137
1
0
null
null
null
null
UTF-8
Python
false
false
581
py
# not enough time. use simple greedy to try luck import numpy as np t = int(input()) for tt in range(t): out = 0 c, n = map(int, input().split()) weights = np.zeros(n, dtype=int) power = np.zeros(n, dtype=int) for i in range(n): weights[i], power[i] = map(int, input().split()) # print(power) while(p...
[ "stopf91@163.com" ]
stopf91@163.com
e8e2543ebf127df609e14150e7d324f892000270
899d52ea074189f5b55c0085a614217692c5d1ba
/Hand-Drawing-Classification-on-Google-Quick-Draw--master/resnet.py
d058be242ff22f73ff39c977d1be6826c3bbcacb
[]
no_license
robert-huang/stat441-project-quickdraw-classification
7191b48e5250b15a451475e732e0cd3d2debd6d3
ee80926f55e7904ab1a1390bec9db9308cc86cfe
refs/heads/master
2022-12-02T04:41:37.454068
2020-08-15T06:35:44
2020-08-15T06:35:44
287,683,357
0
0
null
null
null
null
UTF-8
Python
false
false
3,627
py
import torch from torch import nn from torch import autograd class ResNet(nn.Module): def __init__(self, num_stages=4, blocks_per_stage=4, block_size=2, fc_size=512, init_num_filters=32, img_dim=28, num_classes=10): super().__init__() kernel_sizes = [11, 5, 3] def consume_kerne...
[ "robert054321@hotmail.com" ]
robert054321@hotmail.com
c89f26e98a6adf9060a8e28bdaa0c0c2e2e8c5a2
dcc386509491b843c7ca264b96cdb08ec91d1f93
/3_variables_and_memory/garbage_collection.py
a5ae5388057eb480e35d13b2361f8f826c8bab9c
[]
no_license
RuddleTime/python3_deep_dive1_udemy
669d876b1da60a905cdea1d369979c3899e46c0f
8acff41dfbc2dc334892e62084509dda79a7b17b
refs/heads/master
2020-06-18T10:54:11.831239
2019-07-26T22:32:03
2019-07-26T22:32:03
196,278,052
0
0
null
null
null
null
UTF-8
Python
false
false
1,930
py
import ctypes import gc # garbage collection module def ref_count(address): return ctypes.c_long.from_address(address).value def object_by_id(object_id): # Go through every object in the garbage collector for obj in gc.get_objects(): if id(obj) == object_id: return "Object exists in g...
[ "ruddlec@tcd.ie" ]
ruddlec@tcd.ie
18a2999613176a92592cf6e5e50bea83d2cfe61a
8caee92caccb21668129b3dd7545d7f6db5da383
/exploring/find_ms_id_by_label.py
ef0a8e19e53dcf60744adb5060e07db649818b37
[]
no_license
OlivierValette/fibot
c097974bf42df01ee1ccb5f8d4c1bf0cadbcefb0
501306ddc8acb8a59a0f70a58267456515c52a14
refs/heads/master
2020-04-21T13:26:06.808314
2019-06-04T14:03:18
2019-06-04T14:03:18
169,598,212
0
0
null
null
null
null
UTF-8
Python
false
false
1,163
py
import requests from bs4 import BeautifulSoup # TODO: parameter to be stored in the database MS_SEARCH_URL = "http://www.morningstar.fr/fr/funds/SecuritySearchResults.aspx?search=" # Search for an asset's Morningstar ID def find_ms_id_by_label(label): target = MS_SEARCH_URL + label # fetch url pageresp...
[ "olivier.valette@spi10.com" ]
olivier.valette@spi10.com
d0e654a18ca12052dea42d78b42a73852453c9ec
07cf39100198fbd18a78afa99054f1bf6b19ad47
/signac/synced_collections/validators.py
910c2474040f70c566527948a75f58541f2cfbf5
[ "BSD-3-Clause" ]
permissive
jennyfothergill/signac
3e603526722611ccf31bda48dcd963e4c923ea90
f506f720095aac6f91cc9086c1adde5d8acbdacc
refs/heads/master
2023-03-06T17:58:25.594670
2021-06-14T11:21:40
2021-06-14T11:21:40
214,242,631
0
0
BSD-3-Clause
2023-03-01T00:57:30
2019-10-10T17:18:48
Python
UTF-8
Python
false
false
4,676
py
# Copyright (c) 2020 The Regents of the University of Michigan # All rights reserved. # This software is licensed under the BSD 3-Clause License. """Validators for SyncedCollection API. A validator is any callable that raises Exceptions when called with invalid data. Validators should act recursively for nested data s...
[ "noreply@github.com" ]
noreply@github.com
f7b7f9b07e860a94ff88ebb5c890928fd62d151a
fe7edf8a87c51d15f9b13e9a3a2bf165daa1de33
/cacert.py
ad29a5d683894bf2870ca903dbddfc8ce0966cbc
[]
no_license
artizzle/pimail
f404cc0906d198d31ebef617336b2a9d3dde6bbe
5957870a6e1a17a5218181d54d7421f1f3d27b38
refs/heads/master
2021-06-10T18:26:50.985165
2016-11-10T23:36:06
2016-11-10T23:36:06
73,429,215
1
0
null
null
null
null
UTF-8
Python
false
false
9,297
py
import subprocess import fileinput def cacert(): """Get a new certificate from CAcert.org.""" name = input("What's your name?\n") #Generate a private key. wait = input("Generate a private key. Press enter.") subprocess.call(['openssl', 'genrsa', '-out', name+'private.key', '4096']) ...
[ "noreply@github.com" ]
noreply@github.com
6f9cd1e5b7498d442628bca6592c84f90f1d02c0
82f993631da2871933edf83f7648deb6c59fd7e4
/w1/L1/12.py
4e40656a6ec9bba93b7855da255ff4c9ddd100ee
[]
no_license
bobur554396/PPII2021Summer
298f26ea0e74c199af7b57a5d40f65e20049ecdd
7ef38fb4ad4f606940d2ba3daaa47cbd9ca8bcd2
refs/heads/master
2023-06-26T05:42:08.523345
2021-07-24T12:40:05
2021-07-24T12:40:05
380,511,125
1
0
null
null
null
null
UTF-8
Python
false
false
369
py
# line = input() # print(len(line)) ''' 4 4 10 -1 100 ''' n = int(input()) # [<returning iter val> for <iter> in <list> condition ] numbers = [int(n) for n in input().split()] print(numbers) # nums = [] # for n in numbers: # nums.append(int(n)) # print(nums) s = 0 for i in numbers: if i > 0: s += i # pr...
[ "bobur.muhsimbaev@gmail.com" ]
bobur.muhsimbaev@gmail.com
3902901ad6c2c5b863e4a15e058503566e01aac6
4a82bea4e903b35be80f8a8a9196a0193ee5769e
/test_arduino_serial.py
745f7a16815ea20cb26cd64d36a6de7da0da94da
[]
no_license
yunzhongxicao/mmwave_radar
a3e56376678de6e4c6ee20c8f461f97c1bd2bd4b
67f69bc6b1d860537f4a91b7f204abd52ef1a241
refs/heads/master
2023-04-03T10:56:56.955040
2021-03-29T02:13:17
2021-03-29T02:13:17
336,739,823
1
0
null
null
null
null
UTF-8
Python
false
false
482
py
""" @File :test_arduino_serial.py @Author:dfc @Date :2021/3/1220:25 @Desc :这里只是测试利用python进行串口通信可行性 """ import serial # 打开串口 serialPort = "COM6" baudRate = 9600 ser = serial.Serial(serialPort, baudRate, timeout=0.5) demo1 = b'0' demo2 = b'1' demo3 = b'2' while 1: c = input('请输入指令:') c = int(c) if c == ...
[ "yunzhongxicao@sjtu.edu.cn" ]
yunzhongxicao@sjtu.edu.cn
a8f04dab50ef5c54b203ebdac62eb2fe2957caa3
b9922a20ba706bbd1e74e99f76822e365fc4398a
/estrutura_de_repeticao/numero_impar.py
0b3415a5657fb93d303143f09a2fb21e55d04b60
[]
no_license
adelyalbuquerque/projetos_adely
6a95a0064705fe7530616cd8833d17286ab82797
d0d7bd23b5fac90165f6a12c1acb11263b7021fb
refs/heads/master
2021-01-19T04:10:32.541863
2016-07-22T19:28:51
2016-07-22T19:28:51
63,546,926
0
0
null
null
null
null
UTF-8
Python
false
false
181
py
numero = input("Digite um numero inteiro: ") while numero != 0: if (numero % 1) != 0 and (numero % numero) != 0: print("Primo") else: print("Nao eh primo")
[ "adely.albuquerque@gmail.com" ]
adely.albuquerque@gmail.com
198db17b001f33aab6e03aa2f14284c01d52a729
046b40b6b5640b1779f8d42d84531e0b92433242
/user.py
cc3c572c1170b0295827af795020dbefa92940b4
[]
no_license
hawksuperguru/python-waitercaller
3ea5303e1f8b7b768a8efbcc068a0077166707ce
976eac7818978b16124b7875e8b13be9264d88d2
refs/heads/master
2021-05-07T16:19:48.873640
2017-10-30T10:44:18
2017-10-30T10:44:18
null
0
0
null
null
null
null
UTF-8
Python
false
false
275
py
class User: def __init__(self, email): self.email = email def get_id(self): return self.email def is_active(self): return True def is_anonymous(self): return False def is_authenticated(self): return True
[ "falcon.laravguru@yandex.com" ]
falcon.laravguru@yandex.com
baef0557dc2c63efaa59504149f8588fef1e4309
fd174bf1ef86d5cbf33ed7ce174a55274b0e327b
/Rescue/recieve.py
96ab418df43fbe8af6a8c70b8399e60237638a55
[]
no_license
pachicourse/IidaLab2017
470fc7b011906d7e316c51d5bedce6fd5e512263
e18fd495d4165a08a7de9af400cb2db9dba2d142
refs/heads/master
2021-01-25T06:44:33.982408
2018-01-24T08:47:45
2018-01-24T08:47:45
93,598,137
0
0
null
2018-01-21T11:44:48
2017-06-07T06:00:11
HTML
UTF-8
Python
false
false
1,700
py
# WANと接続されている端末用プログラム from flask import Flask, render_template, request from email.mime.text import MIMEText import os import requests import json import smtplib import datetime GMAIL_ADDRESS = os.environ.get('GMAIL_ADDRESS') GMAIL_PASS = os.environ.get('GMAIL_PASS') app = Flask(__name__) @app.route('/rescue', meth...
[ "ddds78199500825@gmail.com" ]
ddds78199500825@gmail.com
a921eb511127c4a8abd19099fdc2c956713a1868
bc62493ec74497a3ed4d3f20a2f284ed7c5c310e
/bot.py
6dc1de2556ade9f6d2ef611cc05b7593e48e4e3e
[]
no_license
tnwaps/youtube_tg_bot
34a2a4f8411f061f8ef694437a91e89d0a0b97ce
68bce5a9988821c123f473b96a6799262fe5218a
refs/heads/master
2022-11-08T02:30:31.387231
2020-06-13T08:37:52
2020-06-13T08:37:52
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,318
py
from telegram import Update from telegram.ext import CallbackContext from telegram.ext import Updater from selenium import webdriver from telegram.ext import Filters from selenium.webdriver.common.by import By from selenium.webdriver.support.ui import WebDriverWait from selenium.webdriver.support import expected_condit...
[ "abusaid.manap@gmail.com" ]
abusaid.manap@gmail.com
f0fd806301f11b38e6d5b561fd94db8760f5f48a
051ab476fe9e5076c999ec18b452248d30ae13dd
/conftest.py
fe2c0e9459c0e3a504f437ab19adf755897252a7
[]
no_license
art161qa/final_project_stepic_QA
075028d48a5e5954d8161da586c6ee5676e63ffa
f3e561cb548ccc00a337042ffea08af6633cf3b6
refs/heads/master
2022-12-21T01:50:01.251411
2020-09-25T15:47:34
2020-09-25T15:47:34
294,165,132
0
0
null
null
null
null
UTF-8
Python
false
false
1,162
py
import pytest from selenium import webdriver from selenium.webdriver.chrome.options import Options def pytest_addoption(parser): parser.addoption('--browser_name', action='store', default='chrome', help='Choose browser') parser.addoption('--language', action='store', default='en', help='Choose language') @pyte...
[ "massiveframe@gmail.com" ]
massiveframe@gmail.com
cad96b87c39da0d07e675e341783273ea03f36a4
633e2347ae46bbbb3bb68533407a32777017596f
/hook/zmes_hook_helpers/__init__.py
8025431701ffdb4bc25244ba1da39133aa836ae9
[ "MIT" ]
permissive
nmeylan/zmeventnotification
1366c9120b2c0050219f4dedf19cc98a7338a195
1ec30a342745f5221a49f05ba8da7d4eed5bce20
refs/heads/master
2022-11-29T16:39:25.235847
2020-07-24T13:18:54
2020-07-28T15:24:18
282,207,149
0
0
null
2020-07-24T11:52:44
2020-07-24T11:52:44
null
UTF-8
Python
false
false
43
py
__version__ = "5.15.7" VERSION=__version__
[ "pliablepixels@gmail.com" ]
pliablepixels@gmail.com
39622383718672dada6c3f167d95412716c9fdcf
0e9bb62e0d964fd9019b5e03d624a0990901d554
/misc/Final_Merge/merge_method.py
99413132862c38c4ff1519e56ec6d8c73b2d822a
[]
no_license
faramarzmunshi/app_classification
d99c4d85b25870d966fccd6e837a45baa14111fc
81161bf808ff505a9ef2d8221d05f6fff6b8e15f
refs/heads/master
2021-08-28T08:21:27.277145
2017-12-11T17:40:25
2017-12-11T17:40:25
113,754,780
1
0
null
null
null
null
UTF-8
Python
false
false
21,830
py
# ************************************************ Import Libraries **************************************************** import numpy as np import random np.random.seed(813306) from pprint import pprint from keras.models import Model from keras.layers import Input, Dense, Dropout from keras.utils import np_utils imp...
[ "faramarzmunshi@gmail.com" ]
faramarzmunshi@gmail.com
e9ac73578b1341f9b3e00b0301d3a37672230a11
ac7cab5a22fe8b73c03fb155028d19085d4b0f26
/rango/models.py
5bca5a21cdaeade75a0a20bb24baeffa8c2e6471
[]
no_license
FullStackPeterPAN/tango_with_django_project
c0d5838b61cdf91489a7f5af0d504130ccf90212
a7ac005bb7b9e01440770e68bc478b4f3559539b
refs/heads/master
2022-11-01T21:34:18.128669
2018-03-18T10:13:09
2018-03-19T16:46:59
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,311
py
from django.db import models from django.utils.encoding import python_2_unicode_compatible from django.template.defaultfilters import slugify from django.contrib.auth.models import User import datetime from django.db import models from django.utils import timezone class Category(models.Model): name = models.Char...
[ "2294163p@student.gla.ac.uk" ]
2294163p@student.gla.ac.uk
3cb9259d4f4214fc9346777f14b80e8f08b66957
e34dfe70b30e584d8b1992377b1b4f8a08235824
/cloudmesh/common/console.py
7042af40082ed1d6fcf2d07ae6ca9ec0509d795b
[ "Python-2.0", "Apache-2.0" ]
permissive
juaco77/cloudmesh-common
09efd91310f1d6fc5d34f60f4c34e63e8c6fc9ae
0bb330da363b8edb9e509a8138a3054978a8a390
refs/heads/master
2020-06-08T05:04:18.070674
2019-05-17T10:33:13
2019-05-17T10:33:13
null
0
0
null
null
null
null
UTF-8
Python
false
false
7,233
py
""" Printing messages in a console """ from __future__ import print_function import textwrap import traceback import colorama from colorama import Fore, Back, Style colorama.init() def indent(text, indent=2, width=128): """ indents the given text by the indent specified and wrapping to the given width ...
[ "laszewski@gmail.com" ]
laszewski@gmail.com
26cadb013cdd14f5324e9d6d73ca1a8a0f3d8c8f
4e008e556495839a15100262c39f35cbdbd25e65
/v12 Condicionales III/practica_condicionales.py
f8d213b430199cb77c5b8ec395169b4d0a952d09
[]
no_license
cmolinagithub/cursoPython
c2300c76570d653153e543cb02cc848be5ceb0fd
3e47d787dd2be151281c22f5d8d4bdb04a11d76a
refs/heads/master
2020-05-16T19:27:45.110116
2019-07-23T21:32:07
2019-07-23T21:32:07
183,261,813
0
0
null
null
null
null
UTF-8
Python
false
false
221
py
'''edad=7 if edad <100: print("Edad es correcta") else: print("Edad incorrecta") ''' ##concatenacion de condiciones #edad=-7 edad=145 if 0<edad<100: print("edad es correta") else: print("edad incorrecta")
[ "cmolinabastidas@gmail.com" ]
cmolinabastidas@gmail.com
275c145e3d67fab7b8eaa04044d410a9e813dbdd
a77f57098198d816b2fcc18fe12ade248d794a00
/sim/simpheno.py
264a3c30fa47de60585de9c2022ff3a809105ee6
[]
no_license
huwenboshi/blabbertools
60efea77fe9e46af993ca060cd25ea759db87fb6
bef8187b3e8811e3d25d4b4ba4b7686f448b2a1d
refs/heads/master
2020-12-07T13:31:46.292849
2014-10-08T02:36:16
2014-10-08T02:36:16
null
0
0
null
null
null
null
UTF-8
Python
false
false
6,521
py
#!/usr/bin/python """ python script to simulate phenotypes input data: haplotypes, legend output data: simulated phenotypes author: huwenbo shi """ from optparse import OptionParser import sys import math import os import random import numpy as np # get command line parser = OptionParser(add_help_option=False) par...
[ "shihuwenboinus@gmail.com" ]
shihuwenboinus@gmail.com
563dfccd2fd271a2ae0edc1613952e7947965a62
58afefdde86346760bea40690b1675c6639c8b84
/leetcode/global-and-local-inversions/288943653.py
0f1c892c5fa61990ec2ad92c40c0f4af8ae7abd2
[]
no_license
ausaki/data_structures_and_algorithms
aaa563f713cbab3c34a9465039d52b853f95548e
4f5f5124534bd4423356a5f5572b8a39b7828d80
refs/heads/master
2021-06-21T10:44:44.549601
2021-04-06T11:30:21
2021-04-06T11:30:21
201,942,771
1
0
null
null
null
null
UTF-8
Python
false
false
712
py
# title: global-and-local-inversions # detail: https://leetcode.com/submissions/detail/288943653/ # datetime: Fri Dec 27 19:09:22 2019 # runtime: 388 ms # memory: 13.4 MB class Solution: def isIdealPermutation(self, A: List[int]) -> bool: N = len(A) k = -1 i = 0 while i < N: ...
[ "ljm51689@gmail.com" ]
ljm51689@gmail.com
037cd1bbb07e278e8e22db1424ee0da288599866
b6d3a2cd9ced1e411f4d9a7815492c0070bf5691
/Code/tunneler/PubSubAgent/Main.py
62430f0a978c8896a1abb201aecb62e9b5d3215a
[]
no_license
FIU-SCIS-Senior-Projects/Addigy4
b9241c90107da3a0f1cdf70ec83809183b2a09d6
fc4f87f0097047d872cd9f775d98765b50c17257
refs/heads/master
2020-04-10T16:28:20.132129
2015-12-18T19:26:06
2015-12-18T19:26:09
41,682,638
2
1
null
2015-11-02T06:18:48
2015-08-31T15:12:40
JavaScript
UTF-8
Python
false
false
8,454
py
import shlex import getpass from threading import Thread import webbrowser __author__ = 'cruiz1391' import json import os, sys, traceback, subprocess import pubsub ChannelName = "DemoTest" ServerAdd = 'addigy-dev.cis.fiu.edu' ServerPort = 5672 PubSubId = "0c86c7ef-f579-4115-8137-289b8a257803" connected = True messag...
[ "cruiz1391@gmail.com" ]
cruiz1391@gmail.com
6be597b3f45df0dfaa61db71a171b3239f97b0a9
cb309ee241803ff4b87a05c579060027d953d71c
/collector/models.py
7ac275247bcbec5f3bba88f4c245910d46af74fb
[]
no_license
bio-it/ImpedanceServer
7c549cd946e8afa96b007c4e2e17d8db8ca2ac65
a165c1dedaf93d3ce9883afd8123faf28491ea95
refs/heads/master
2021-02-09T17:35:45.517861
2020-03-03T06:27:31
2020-03-03T06:27:31
244,308,076
0
1
null
null
null
null
UTF-8
Python
false
false
1,122
py
from __future__ import unicode_literals from django.db import models # Model for dwf class DwfResultData(models.Model): dataCounter = models.IntegerField(primary_key=True, default=0) startTime = models.DateTimeField(blank=True, null=True) targetTime = models.DateTimeField(blank=True, null=True) period = models....
[ "mauver@naver.com" ]
mauver@naver.com
d0b687546ac4f7f9e863239bf7175a5f4728cf41
ed2524c630a6991e6e8fa000216fbbd1d86a9aeb
/sum/urls.py
d9be7e088defea6f539a0cf3e91dc15d08cc50ed
[]
no_license
Subhramohanty/postman
e1435c6ed7c2034bccfbd93e1a4212f7cf148596
5bbb927222964960698c140f30d837e0fd06db47
refs/heads/main
2023-02-07T02:47:11.826908
2020-12-29T12:15:34
2020-12-29T12:15:34
325,278,052
0
0
null
null
null
null
UTF-8
Python
false
false
1,002
py
"""sum URL Configuration The `urlpatterns` list routes URLs to views. For more information please see: https://docs.djangoproject.com/en/3.1/topics/http/urls/ Examples: Function views 1. Add an import: from my_app import views 2. Add a URL to urlpatterns: path('', views.home, name='home') Class-based vie...
[ "subhramohanty008@gmail.com" ]
subhramohanty008@gmail.com
bc588af7165c518b2b39df077d944a19465b635e
b2a312acad1062ed7e35eaedc90eede1b6aee7f0
/pyramid_admin2/views/model_view.py
731b9b440c694a46da5d0d338b2df519f9526883
[]
no_license
tarzanjw/pyramid_admin2
93060ca0697359c956a525ea12f1951d1e94e849
479d0df566bd0577c485695c6940415d644f3ee2
refs/heads/master
2016-08-04T18:49:52.497474
2014-10-14T05:02:43
2014-10-14T05:02:43
24,974,500
1
0
null
2014-10-14T04:59:52
2014-10-09T05:08:57
Python
UTF-8
Python
false
false
8,012
py
__author__ = 'tarzan' import six if six.PY2: from urllib import urlencode else: from urllib.parse import urlencode import inspect import deform from pyramid.httpexceptions import HTTPFound from pyramid.view import view_config from ..helpers import cell_datatype from .. import resources as _rsr, admin_manager i...
[ "hoc3010@gmail.com" ]
hoc3010@gmail.com
33d0c570a0b5580573dfbdaff8adf62a2607badd
eb743ef136f3ad28ba6c9c90df436720a8d59d09
/main/extractorchong.py
4b5bebae2f55575b614036c004b31b67d8096358
[]
no_license
Cindie00/P2_1A_5
438dad0b3ad9c0baf9e31fa44616bcf2e7a6e788
b49fbf039c392cd4b73261cbe9abc195fe987fb2
refs/heads/main
2023-04-23T01:26:27.832109
2021-05-10T10:44:30
2021-05-10T10:44:30
351,902,542
0
0
null
null
null
null
UTF-8
Python
false
false
1,300
py
############################# # # Extracteur de donnés de Chong de l'exercice 2. ce qui équivaut à la Question 4 sur le site # #########################################################################################################@ import sqlite3 conn = sqlite3.connect('Base.sqlite') cursor= conn.cursor() data=l...
[ "noreply@github.com" ]
noreply@github.com
c9f4b189afc4ddbb247738162482210f8d229886
05e905fa3ca30fba051a8e8cce47895075ac03e3
/ex47/game.py
b985c7183f885568b89b4f33a2b67b9fbbcf1a7c
[]
no_license
gitrobike/ex47
b5396e35c75b5fad7d1cf135c80f76e9200c98f9
5d5c287e8ea6a5508868e5a5128cebe65421acde
refs/heads/master
2021-01-10T10:47:08.076449
2016-01-19T07:19:15
2016-01-19T07:19:15
49,685,815
0
0
null
null
null
null
UTF-8
Python
false
false
538
py
# -*- coding: utf-8 -*- class Room(object): def __init__(self, name, description): self.name = name self.description = description self.paths = {} def go(self, direction): #传入房间名,进入房间,获取value值。 return self.paths.get(direction) # return self.paths.get(direction,...
[ "497125399@qq.com" ]
497125399@qq.com
9304946f7f5ed9562d7a3dbb6c52486fd296a7a1
9ef502b92bd218e919c65513e835c15c32667e8f
/samsung_load_0113.py
75e8319216cf77777569806bc31afb952c0b80c3
[]
no_license
YoungriKIM/samsung_stock
034bc586440ab04531bb8d0b951747377c340966
f15b6a3ebc3db76f960fc8f138dba7e43e345ef4
refs/heads/main
2023-04-14T03:20:51.169497
2021-03-25T08:35:48
2021-03-25T08:35:48
351,362,762
0
0
null
null
null
null
UTF-8
Python
false
false
794
py
import numpy as np x_train = np.load('../data/npy/samsung_x_train.npy') y_train = np.load('../data/npy/samsung_y_train.npy') x_val = np.load('../data/npy/samsung_x_val.npy') y_val = np.load('../data/npy/samsung_y_val.npy') x_test = np.load('../data/npy/samsung_x_test.npy') y_test = np.load('../data/npy/samsung_y_test....
[ "lemontleo0311@gmail.com" ]
lemontleo0311@gmail.com
e6ba2e66f4df8af86c5e31215b5c3d8973ecf055
81302ee42c1b3c25ce1566d70a782ab5525c7892
/nr/nr_band_matching/autocorrelation_full_chain.py
aba89bd8971c7b2b106fb1a5a0ea7d38951568ae
[]
no_license
mdanthony17/neriX
5dd8ce673cd340888d3d5e4d992f7296702c6407
2c4ddbb0b64e7ca54f30333ba4fb8f601bbcc32e
refs/heads/master
2020-04-04T06:01:25.200835
2018-06-05T00:37:08
2018-06-05T00:46:11
49,095,961
0
0
null
null
null
null
UTF-8
Python
false
false
2,812
py
#!/usr/bin/python import sys, array, os #sys.path.insert(0, '..') import ROOT as root from rootpy.plotting import Hist, Hist2D, Canvas, Legend import nr_band_config import numpy as np import corner import cPickle as pickle import time, emcee if len(sys.argv) != 5: print 'Use is python perform_full_matching.py <filen...
[ "mda2149@columbia.edu" ]
mda2149@columbia.edu
911baf07b0630491c0a4b906152bb42fcb0be366
9b72de4f01c77b92ef23cf0433d7f806802bb419
/SPOJ/MOZPAS - Prangon and String/Prangon and String.py
a0ea818736818271596dc598de0e73defcb7acca
[]
no_license
GitPistachio/Competitive-programming
ddffdbc447669a2f8ade6118dfe4981bae948669
f8a73f5152b2016b1603a64b7037602d2ab2c06e
refs/heads/master
2023-05-01T20:55:18.808645
2023-04-21T20:45:08
2023-04-21T20:45:08
167,733,575
8
4
null
null
null
null
UTF-8
Python
false
false
448
py
# Project name : SPOJ: MOZPAS - Prangon and String # Author : Wojciech Raszka # E-mail : gitpistachio@gmail.com # Date created : 2019-04-21 # Description : # Status : Accepted (23669618) # Tags : python # Comment : import string n, m = map(int, input().split()) prangon = '' for l in s...
[ "gitpistachio@gmail.com" ]
gitpistachio@gmail.com
45ae89103552d5b6241450ebb6673d4b04d148c3
49856b872815dc9d1a623a72bad081dd40cc23ca
/src/ai/__init__.py
a41be53344c106111871c751111e83c61e4bca41
[ "BSD-2-Clause" ]
permissive
calcu16/GenericBoardGameAI
06eece1eb5857e50384a01ea5de38b4ec4963491
69dc99a0988703eccb72879443dbfaaf3ddb21fc
refs/heads/main
2023-01-23T04:50:28.350264
2020-11-29T23:29:01
2020-11-29T23:29:01
311,138,626
0
0
null
null
null
null
UTF-8
Python
false
false
13
py
# ai package
[ "acarter@linkedin.com" ]
acarter@linkedin.com
72952881d9b154e46425045a1436cf7b055e6414
68ce9d89a8cd3ebf1f1a011f5f039fcf287f2d7e
/Practica07_KohonenSOM/codigoFuente/UI/external_widgets/points_input.py
defb869f8f06837d4bd126d0e6fa9cd2c6c1c189
[ "MIT" ]
permissive
CodeRevenge/practicas_ia_2
3ada6f951a7d635451676920aeccb20d47cd0fd6
b81e3b68680b61785918b19360cb0afc5b14c26e
refs/heads/master
2023-02-09T13:56:30.807621
2019-11-26T18:17:01
2019-11-26T18:17:01
205,444,362
1
0
MIT
2021-01-05T15:52:27
2019-08-30T19:25:21
Python
UTF-8
Python
false
false
2,842
py
# ------------------------------------------------------ # -------------------- points_input.py -------------------- # ------------------------------------------------------ import sys from PyQt5.QtWidgets import QVBoxLayout, QWidget from matplotlib.backends.backend_qt5agg import FigureCanvas import matplotlib.pylab a...
[ "mas.arley2009@hotmail.com" ]
mas.arley2009@hotmail.com
c40388cde769fb9ada70d3cfdd7ebacb5039179f
e22f12667ce20387a689e41c145efff91a184df1
/tests/asserts/for.py
565e80e94fb67656c3a995e7ac7b0f3f37718e9a
[]
no_license
liwt31/NPython
d6246b6bd7a58865a3c32763a8766d296cc38f07
1159715bb6d4ff9502e9fa4466ddc6f36a8b63d2
refs/heads/master
2020-04-13T02:22:53.516945
2019-02-19T09:19:17
2019-02-19T09:19:17
162,900,818
21
1
null
null
null
null
UTF-8
Python
false
false
68
py
j = 0 for i in [1,2,3]: j = j + i assert j == 6 print("ok")
[ "liwt31@163.com" ]
liwt31@163.com
2220d983c98baec53a5ea75b6be2345d77c622c7
075a9186a43041b062ce883604a125484db64c71
/source_code/dependencies/Python_MyoSim/half_sarcomere/myofilaments/forces.py
07a9188d61ec2c2469269e9ab35951bcd3fba925
[]
no_license
mmoth-kurtis/MMotH-Vent
0c4afa14f882e3d6fff6aa3c354d142bc00ab906
b1caff62bfdc60000e429a35fb4a4327dfbed4ea
refs/heads/master
2023-02-24T00:02:09.078654
2021-01-29T19:19:25
2021-01-29T19:19:25
233,081,781
0
0
null
null
null
null
UTF-8
Python
false
false
1,807
py
# Functions relating to forces import numpy as np import scipy.optimize as opt def set_myofilament_forces(self): self.cb_force = return_cb_force(self, 0.0) self.pas_force = return_passive_force(self, 0.0) self.total_force = self.cb_force + self.pas_force def check_myofilament_forces(self, delta_hsl): ...
[ "ckma224@g.uky.edu" ]
ckma224@g.uky.edu
4973e7282b46d9706ed15045ac25c1ccdd76851e
aa4c5d11d168eb02e5596e55c3b6d2741eca69f6
/manage.py
06fb8bcb4a5a64027466f9f0e0f64f99f474a6a0
[]
no_license
bigwboy/SystemManager20
3c07531c2e02af43bfbc0d94898e1073bfa50f29
2096831341dc84cb94a729ac559d6a0c4a75258f
refs/heads/master
2021-05-05T18:47:36.016106
2018-01-30T05:21:11
2018-01-30T05:21:11
117,636,354
0
0
null
null
null
null
UTF-8
Python
false
false
547
py
#!/usr/bin/env python import os import sys if __name__ == "__main__": os.environ.setdefault("DJANGO_SETTINGS_MODULE", "SystemManager20.settings") try: from django.core.management import execute_from_command_line except ImportError as exc: raise ImportError( "Couldn't import Djan...
[ "kevinliu830829@163.com" ]
kevinliu830829@163.com
4c372b72b1e7e834e9fa8c9bde95f42de65c174c
8d86cad6e7eda824f3405c297a2245496beeed5c
/geometrycalculator.py
549c2860e4d8a31bd377f1ae05ee97e4bb3d16a7
[]
no_license
sstappa/automatic-spoon
94b303388955c16d6879e037710a1b2cf7945aef
8dd17c0409920e3cee4e729eda7b0391e9de3973
refs/heads/master
2021-01-01T18:04:52.977333
2017-08-03T16:16:15
2017-08-03T16:16:15
98,240,064
0
0
null
null
null
null
UTF-8
Python
false
false
3,175
py
#GPA Calculator #Shane Tappa #7/30/17 def rectangle_calc(): height = 0.0 width = 0.0 area = 0.0 while True: try: height = float(raw_input("Enter the height of your rectangle: ")) break except ValueError: print("Oops! That was no va...
[ "noreply@github.com" ]
noreply@github.com
4d9b59df5f0fe4ca4796d0121a12dc0208a93d3e
f5b7b87d0de1459c284b6ebf3aa21c6a96e52207
/broadgauge/views/auth.py
8d91aca9aa0d2097097fb9062d97b809ab2611b1
[]
no_license
iambibhas/broadgauge
cfbce9bbebdc5337918df7b378810a53c9a68f8b
381816cb9c288b071b44f189d662611cdc57e58b
refs/heads/master
2021-01-18T09:01:32.155941
2014-08-15T11:42:58
2014-08-15T11:42:58
null
0
0
null
null
null
null
UTF-8
Python
false
false
5,323
py
import web import json from .. import account from .. import oauth from .. import forms from ..sendmail import sendmail from ..flash import flash from ..models import User, Organization from ..template import render_template urls = ( "/login", "login", "/logout", "logout", "/oauth/(github|google|facebook)...
[ "anandology@gmail.com" ]
anandology@gmail.com
0a19c136e099464b3aa596b8aa85c466256d422b
88105415f122ff7ac7c36e682a0d35928a84c6cc
/pullRequests/seriedeeuler.py
bf4d1622079e26be04c089e7d84d16633d54ba1a
[]
no_license
drknssAndrey/github-course
37edac6e8aeafa9207d042d0915662911517bbfc
19090ecdcce2e1f0c8a525db8725f319a06b2aec
refs/heads/master
2020-05-29T17:48:18.906923
2020-04-12T13:22:37
2020-04-12T13:22:37
189,283,761
1
3
null
2019-10-24T00:11:21
2019-05-29T19:10:22
C
UTF-8
Python
false
false
161
py
def fat(a): if a == 0: return 1 else: return a * fat(a-1) s = 0 x = int(input()) for c in range(x): s += 1/fat(c) print("%.15f"%s)
[ "noreply@github.com" ]
noreply@github.com
51fa31d3f1c84dfee4fc19b997797bb617257a33
4bcc2f4b4608d2674f5d3923e39d1cc01a067059
/Object Oriented Programming/11_grumpy.py
35d5d375af4ec43bf61e2898fa426cd6c80e0d61
[]
no_license
bettercallkyaw/All-Python-Fields
6f57274c43631c29f6f9219b5b84c0529b9c04c0
3d67d48e5ee4f18d95a6d2ff6783fed1164b9e88
refs/heads/master
2023-08-20T12:45:46.860786
2021-10-23T13:59:25
2021-10-23T13:59:25
330,874,349
0
0
null
null
null
null
UTF-8
Python
false
false
588
py
class GrumpyDict(dict): def __repr__(self): print('NONE OF YOUR BUNISESS') return super().__repr__() def __missing__(self,key): print(f'YOU WANT {key}? WELL IT AINT HERE!') def __setitem__(self,key,value): print('YOU WANT OT CHANGE THE DICTIONARY?') print('OK FINE.....
[ "bettercallkyaw@outlook.com" ]
bettercallkyaw@outlook.com
38cf24e5c595728a7f5c72b09f8b2db1e0c29f92
bf93e278bf9325742f4e549ce4232ee8ff9e47e0
/courses/courses/spiders/courses.py
2cf17211f612b0b2054706cfe60a4b329a794647
[]
no_license
Chawwie/coursetree
4d3b8bfb1c9981485730e1952989a3903411db51
ec76e24a797d1a9a88bae0f50cce4d68e83e79e4
refs/heads/master
2021-02-09T11:40:52.277015
2019-11-06T05:42:28
2019-11-06T05:42:28
244,278,323
0
1
null
null
null
null
UTF-8
Python
false
false
1,210
py
# -*- coding: utf-8 -*- import scrapy from scrapy.spiders import CrawlSpider, Rule from scrapy.linkextractors import LinkExtractor class CoursesSpider(CrawlSpider): name = 'courses' # allowed_domains = ['my.uq.edu.au/'] # start_urls = ['https://my.uq.edu.au/programs-courses/search.html?keywords=CSSE&sear...
[ "charleliliu@gmail.com" ]
charleliliu@gmail.com
21599d7a7e64dcf0db7985ec616eb3690bd43f39
774e24bd32a36dd448a9390149c5fb531718fd96
/venv/bin/django-admin
11d6199337351c0713d5d018dd99d84c772f9f5a
[]
no_license
reetshrivastava/autoTextSummarizer
69e3c54f7ea25d53196797a9a258d137b8020f3e
03dde3dc8161fbe1181a0a0b4dcd10a6c3e042dd
refs/heads/master
2021-01-10T05:06:36.277145
2016-04-16T05:41:06
2016-04-16T05:41:06
52,152,413
0
0
null
null
null
null
UTF-8
Python
false
false
314
#!/home/hasher/finalYearProject/autoTextSummarizer/venv/bin/python # -*- coding: utf-8 -*- import re import sys from django.core.management import execute_from_command_line if __name__ == '__main__': sys.argv[0] = re.sub(r'(-script\.pyw|\.exe)?$', '', sys.argv[0]) sys.exit(execute_from_command_line())
[ "reet.shrivastava@hashedin.com" ]
reet.shrivastava@hashedin.com
27f1d1e42412bfb3574bdec543ba0703469f2fce
82f6a6c50a1fef2d7522a43cc4f60e5ff80b37a8
/solutions/Missing Number/solution.py
0bf89957ba6d64c0deea0d059f647ac75434429a
[ "MIT" ]
permissive
nilax97/leetcode-solutions
ca0f9545ce70975617738f053e0935fac00b04d4
d3c12f2b289662d199510e0431e177bbf3cda121
refs/heads/master
2023-05-14T02:21:48.893716
2021-06-08T13:16:53
2021-06-08T13:16:53
374,466,870
3
0
null
null
null
null
UTF-8
Python
false
false
136
py
class Solution: def missingNumber(self, nums: List[int]) -> int: return (len(nums) * (len(nums)+1))//2 - sum(nums)
[ "agarwal.nilaksh@gmail.com" ]
agarwal.nilaksh@gmail.com
77b6612c1c5ec7062621dabb8c700e0cb21a286f
847c8bda0bcf43e0b47928b9c8de0e9e351e8c84
/testsuite/tests/Q226-004__python_no_check_comment/src/space_after.py
546da9b085691944c8c7c2ecb941f8105c6350ac
[]
no_license
Tubbz-alt/style_checker
6c40644bcc92b8b0594ad796dfe3a12958814dee
e9aae5837983879487986ea6b062fc8b00cb97ab
refs/heads/master
2023-01-22T13:21:55.714986
2020-12-02T04:33:42
2020-12-02T04:34:37
null
0
0
null
null
null
null
UTF-8
Python
false
false
204
py
# No_Style_Check """The No_Style_Check comment above has trailing spaces, and this should cause the style_checker to ignore that comment, and therefore perform style checks. """ space_before_paren ()
[ "brobecker@adacore.com" ]
brobecker@adacore.com
173de47073bcfee2292415ce0e9b944d48e315cb
d912423117d96cd67d23bab87c0773a07d962cc1
/backend/socket_chat/consumers/main.py
a923f06cb91d42b37282f3545803320df8b675de
[]
no_license
modekano/ChatApp
b98f9081235c976642d024d56d1531b5120a04cf
22cca9f3d4c25a93ca255d6616f61773da757d18
refs/heads/master
2020-08-19T06:03:45.010063
2019-10-17T11:17:07
2019-10-17T11:17:07
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,557
py
from backend.socket_chat.consumers.base import BaseConsumer from channels.db import database_sync_to_async from backend.profiles.models import Profile from backend.socket_chat.consumers.dialog import DialogConsumer class MainConsumer(DialogConsumer, BaseConsumer): def __init__(self, *args, **kwargs): sup...
[ "kostya.nik.3854@gmail.com" ]
kostya.nik.3854@gmail.com
16c2ae91567af5e69813f720ed12596e55149529
5ff3234e9cae154b2f63cf8bfd1a79c6b6584202
/url_shorter/settings.py
42c9da9b71f742a4b5c2404c9e2d5ee985aa5bc5
[]
no_license
OleksiySitnik/aiohttp-urlshortener
76542494e9c76d66b1a61fe9d4e19ee350b7e48e
a2f2e9960857ce18f98885f235330845dee4b4b2
refs/heads/master
2022-12-24T22:31:40.852382
2019-05-26T11:33:24
2019-05-26T11:33:24
188,674,816
0
1
null
2022-12-14T23:36:49
2019-05-26T11:33:11
Python
UTF-8
Python
false
false
331
py
from pathlib import Path import trafaret as t from aiohttp import web import yaml BASE_DIR = Path(__file__).parent.parent CONFIG_DIR = BASE_DIR / 'config' def load_config(config_file): with open(CONFIG_DIR / config_file, 'r') as f: config = yaml.safe_load(f) return config CONFIG = load_config('co...
[ "bomchikimmmm@gmail.com" ]
bomchikimmmm@gmail.com
788b2a61a5404d4ca362cc99744810d225ec6ba4
4f990e1c80ba34942aab43c6f51d5d263516c3cd
/test/test_loss.py
56522a563c0668d160ae98ce1dd241d5ddbaae68
[]
no_license
EmiyaNing/paddle-yolov5
3e7a6003a65323e07d425b769b26a865b9f327b7
c39eb331d07049a0b884ed6d856f45c77dc5c007
refs/heads/master
2023-05-05T11:40:55.972433
2021-06-03T06:49:45
2021-06-03T06:49:45
366,685,205
0
0
null
null
null
null
UTF-8
Python
false
false
917
py
import sys import paddle import numpy as np sys.path.append("..") from utils.loss import ComputeLoss from models.yolo_head import Detect_head def test_loss(): p3 = paddle.to_tensor(np.random.rand(4, 512, 7, 7, 85), dtype='float32') p4 = paddle.to_tensor(np.random.rand(4, 256, 14, 14, 85), dtype='float32') ...
[ "ningkangl@icloud.com" ]
ningkangl@icloud.com
5ed249054576d9eaccecd2490d226c49e0b83bf6
00f4298b6714f34e6d56b19bc309e7ac8d824dd7
/Twitter/Files/TwitterStream.py~
6074db0b3c10de4e6d5ff4cf4eb86b8c23446a1f
[]
no_license
pbarker/pytwit
27c108836e66dbce1b2d481094c14e437d85c2e7
f1de663108917895bc83fd17016fcfa9669e4f47
refs/heads/master
2021-05-27T23:53:13.608008
2014-11-26T02:46:33
2014-11-26T02:46:33
null
0
0
null
null
null
null
UTF-8
Python
false
false
6,788
#!/usr/bin/python # -*- coding: utf-8 -*- # Copyright (C) 2012 Gustav Arngården # This program is free software: you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation, either version 3 of the License, or # (at your option) any later...
[ "patrickbarkerco@gmail.com" ]
patrickbarkerco@gmail.com
c593f5e09c932fe741aed482b1e7e5edd836f652
c9b1487d663563d596c13533b6a09f588d824a33
/youtubedata.py
ae56de117f1e43b30328b95cc7f9f94a93cea88d
[]
no_license
kdm0904/Project
8d301c645c001eac2ceab341b0315867f3a50a91
ff36c46c79b046521f95d87b02b1aba8ac607f37
refs/heads/master
2020-04-11T11:03:49.737844
2019-05-08T08:33:35
2019-05-08T08:33:35
161,735,869
0
0
null
null
null
null
UTF-8
Python
false
false
1,839
py
from bs4 import BeautifulSoup as bs def gettitle(div): title2 = div.find("div", {"id" : "title-wrapper"}) title1 = title2.find("h3", {"class":"title-and-badge style-scope ytd-video-renderer"}) title = title1.find("a", {"id":"video-title"}) return title.text def getyoutuber(div): Youtuber1...
[ "noreply@github.com" ]
noreply@github.com
8fa92d1105c004f189b6eced9adea6d7afe7208d
bb9a4f11e61e3b81bbf73912248c6e649d49ee48
/venv/Lib/site-packages/pyowm/utils/geo.py
e15e019ebf2188ceffa3afd2ede2022b866a4fb5
[ "MIT" ]
permissive
samuel-c/SlackBot-2020
0def47df1c4b499ce801e139f32767450a56bb2a
2350fcfe63a52d5e64cc5b467e760be7a7cee6bf
refs/heads/master
2020-12-21T22:48:53.516313
2020-02-06T01:55:51
2020-02-06T01:55:51
236,590,180
1
1
MIT
2020-02-05T05:03:04
2020-01-27T20:42:04
Python
UTF-8
Python
false
false
13,215
py
import json import math import geojson EARTH_RADIUS_KM = 6378.1 # utilities def assert_is_lat(val): """ Checks it the given value is a feasible decimal latitude :param val: value to be checked :type val: int of float :returns: `None` :raises: *ValueError* if value is out of latitude boun...
[ "42325107+Deep4569@users.noreply.github.com" ]
42325107+Deep4569@users.noreply.github.com
630c9af1fd5f87769d2cd87621e901ba2e383c7c
99c4d4a6592fded0e8e59652484ab226ac0bd38c
/code/batch-2/dn13 - objektni minobot/M-17021-1547.py
e7ab6dbf8eecabc84d9990edc02404615aaba381
[]
no_license
benquick123/code-profiling
23e9aa5aecb91753e2f1fecdc3f6d62049a990d5
0d496d649247776d121683d10019ec2a7cba574c
refs/heads/master
2021-10-08T02:53:50.107036
2018-12-06T22:56:38
2018-12-06T22:56:38
126,011,752
0
0
null
null
null
null
UTF-8
Python
false
false
5,849
py
class Minobot: def __init__(self): self.x=0 self.y=0 self.direction=90 self.tab=[] def koordinate(self): return self.x,self.y def naprej(self, d): self.tab.append(['naprej',d]) if self.direction == 0 or self.direction == 360: ...
[ "benjamin.fele@gmail.com" ]
benjamin.fele@gmail.com
db528857acb2029c8fdeafbe7e33b01213e19c3b
9dfda0c510b7a5c2511baf6620d33e722d9089ab
/config.py
cbc1c0d3350c49139cd98e1e4e8198725de297fe
[]
no_license
MikeWise2718/flask-mpld2
736a0f2a323084e35e064024016a9c8034ad00ca
0227602da480361d67473b6bf6fc1a53d6853745
refs/heads/master
2022-12-07T02:31:19.465049
2020-08-27T11:17:33
2020-08-27T11:17:33
290,755,204
0
0
null
null
null
null
UTF-8
Python
false
false
307
py
# config.py NODE_NAME = 'absol' # Cosmos data base encdpoints - leaving this in here for now in case I need something like this CDB_ENDPOINT = 'https://vafsp-cdb-sqlapi.documents.azure.com:443/', CDB_PRIMARYKEY = 'Xt7s6YDIeph4ekvHzmjQQaWWrXB08W7A8Z0DVAYrJhw0WGcKiUSUlYAZfEM88NLQZyVJi5dRLNIXsD1g2u9Hlw==',
[ "mwise@microsoft.com" ]
mwise@microsoft.com
d4b371038a871ea6c4c51c8868534d2b5ff67817
c333b3cfb05f4bc08a682ca5f4d70b212e9624ff
/punyty/objects.py
45d95c22a7c1a12f50b8844fd42352e55fd3d51a
[ "MIT" ]
permissive
jsheedy/punyty
a450f7daaf9e8b2acf5d861ac258e07e762c46c6
34d5bffc4cf85985537e199567c5ba2aa9105a05
refs/heads/master
2020-05-09T19:58:37.665508
2019-12-25T18:22:00
2019-12-25T18:22:00
181,391,798
4
0
null
null
null
null
UTF-8
Python
false
false
3,551
py
from math import sqrt import numpy as np from .object3d import Object3D class Tetrahedron(Object3D): vertices = np.array([ [1, 1, 1], [-1, -1, 1], [1, -1, -1], [-1, 1, -1], ], dtype=np.float64) edges = ( (0, 1), (1, 2), (2, 3), (1, 3), ...
[ "joseph.sheedy@gmail.com" ]
joseph.sheedy@gmail.com
3b555d902fbfedb62e681121fb36f092cbbc0ef5
4e4218d4dfa5cd72c6855b3819cae20d6d9e2527
/MatBuilder/processIago.py
b9e08936155919482512c1f0d34739e891bff9b0
[]
no_license
boldstelvis/PocketStudio
8d60241929cb8a9592138f12619ab8862bdee678
8229f9f9cfa5e5b9bbf546cddc061bae5234cd55
refs/heads/master
2023-03-20T08:06:02.722711
2021-03-03T16:22:39
2021-03-03T16:22:39
344,145,600
0
0
null
null
null
null
UTF-8
Python
false
false
102
py
import build build.MatBuild('/Users/stuartaitken/Dropbox/Projects/RT_Destiny/Assets/Iago/textures')
[ "bold.stelvis@gmail.com" ]
bold.stelvis@gmail.com
190737f57812491eab4446e604fdb63bd82f089d
2157782cf5875767f8d1fe0bb07243da2e87600d
/爬虫scrapy/demo/demo/settings.py
b03be2592fc5c78edd56253e6976c5315fe8d916
[]
no_license
mouday/SomeCodeForPython
9bc79e40ed9ed851ac11ff6144ea080020e01fcd
ddf6bbd8a5bd78f90437ffa718ab7f17faf3c34b
refs/heads/master
2021-05-09T22:24:47.394175
2018-05-11T15:34:22
2018-05-11T15:34:22
118,750,143
1
1
null
null
null
null
UTF-8
Python
false
false
3,104
py
# -*- coding: utf-8 -*- # Scrapy settings for demo project # # For simplicity, this file contains only settings considered important or # commonly used. You can find more settings consulting the documentation: # # http://doc.scrapy.org/en/latest/topics/settings.html # http://scrapy.readthedocs.org/en/latest/to...
[ "pengshiyuyx@gmail.com" ]
pengshiyuyx@gmail.com
d070578127809bf040bfcd1729dc053505ef1ce1
42afba2982753b5826d2cbbd402dc56e9d17f33c
/hyperwords/corpus2sgns_params.py
24e5984464554bb6c34e3c96ee879bdedbc570c7
[]
no_license
AlexanderRubinstein/InterpretableEmbeddings
c8431ef50f16b39e6f2fd64b68f154ac7476e711
cd0d214aac410b1e93c40d50bb89d2d72c11b59c
refs/heads/master
2022-03-28T03:23:16.398398
2019-12-21T20:01:56
2019-12-21T20:01:56
229,467,488
0
1
null
null
null
null
UTF-8
Python
false
false
1,884
py
from docopt import docopt # noinspection PyListCreation def main(): args = docopt(""" Usage: corpus2sgns.sh [options] <corpus> <output_dir> Options: --thr NUM The minimal word count for being in the vocabulary [default: 100] --win NUM Window size [default: 2] --p...
[ "rubalex14@gmail.com" ]
rubalex14@gmail.com
75ccc5e971e7897820fb56e7d4c7130e5188c704
b60d87e9818a336f5baf43764f242a5e015c84d8
/rasa_dm/policies/ensemble.py
2e98c9e92d0aa143901143effc008407fb2ffd0a
[]
no_license
mukesh-mehta/Chatbot
b3062e82cae07827847fdbad18bf1cc88aa9309d
69864a5dd96aefaa6b4958fec0513186e6af2d3d
refs/heads/master
2023-03-04T13:54:07.391881
2023-02-20T14:29:33
2023-02-20T14:29:33
114,714,602
4
10
null
2023-02-20T14:29:34
2017-12-19T03:27:07
Python
UTF-8
Python
false
false
3,610
py
from __future__ import absolute_import from __future__ import division from __future__ import print_function from __future__ import unicode_literals import io import json import os import numpy as np import rasa_dm from builtins import str from rasa_dm.trackers import DialogueStateTracker from rasa_dm.util import cre...
[ "mkm96.ubt2014@iitr.ac.in" ]
mkm96.ubt2014@iitr.ac.in
8c958e900b806f0503625aae951c03d030a5cea1
ebd6f68d47e192da7f81c528312358cfe8052c8d
/swig/Examples/test-suite/python/template_typedef_cplx4_runme.py
25ac851fbff3855719300e610179db627047c152
[ "Apache-2.0", "LicenseRef-scancode-swig", "GPL-3.0-or-later", "LicenseRef-scancode-unknown-license-reference", "GPL-3.0-only" ]
permissive
inishchith/DeepSpeech
965ad34d69eb4d150ddf996d30d02a1b29c97d25
dcb7c716bc794d7690d96ed40179ed1996968a41
refs/heads/master
2021-01-16T16:16:05.282278
2020-05-19T08:00:33
2020-05-19T08:00:33
243,180,319
1
0
Apache-2.0
2020-02-26T05:54:51
2020-02-26T05:54:50
null
UTF-8
Python
false
false
431
py
import string from template_typedef_cplx4 import * # # this is OK # s = Sin() s.get_base_value() s.get_value() s.get_arith_value() my_func_r(s) make_Multiplies_double_double_double_double(s, s) z = CSin() z.get_base_value() z.get_value() z.get_arith_value() my_func_c(z) make_Multiplies_complex_complex_complex_compl...
[ "inishchith@gmail.com" ]
inishchith@gmail.com
06491f782e441082256441de2f3aeea57b0a811b
5d2033405239dd7e64b4229689ed83410b35f2dc
/src/network3.py
ac6405a49ce95d4d22cecef136171de2cc205f84
[ "MIT" ]
permissive
mtasende/Neural-Networks-and-Deep-Learning-Nielsen
860d8fefca52b38a423191b73f3b3178c2bc131d
3e78ca22d20b53fd5d87ba5c7e33da4d9e8814a5
refs/heads/master
2021-01-13T03:09:16.552176
2016-12-27T00:50:26
2016-12-27T00:50:26
77,407,621
0
1
null
null
null
null
UTF-8
Python
false
false
13,096
py
"""network3.py ~~~~~~~~~~~~~~ A Theano-based program for training and running simple neural networks. Supports several layer types (fully connected, convolutional, max pooling, softmax), and activation functions (sigmoid, tanh, and rectified linear units, with more easily added). When run on a CPU, this program is m...
[ "miguel.tasende@gmail.com" ]
miguel.tasende@gmail.com
8d8fdbe506c47f47787dd5aab4831c37f052bbab
8bb9c2a39b586ec7f9ef630e557541ac7d754ba6
/Mundo 2/Python_Exercicios/ex041.py
06782808b41f220be2af4efeb4b3da7d647d5bf5
[]
no_license
SirGuiL/Python
390bd18ddb8af84271d72221314bb744f8af6e09
4a6c51a239548fc88788f71cc54184ef598c2584
refs/heads/main
2023-07-09T21:07:22.890943
2021-08-09T16:16:25
2021-08-09T16:16:25
383,320,224
0
0
null
null
null
null
UTF-8
Python
false
false
463
py
from datetime import date ano = int(input('Digite seu ano de nascimento: ')) idade = date.today().year - ano if(idade <= 9): print('Você se encaixa na categoria mirim.') elif(idade <= 14): print('Você se encaixa na categoria infantil.') elif(idade <= 19): print('Você se encaixa na categoria junior.') eli...
[ "guibiel-10@hotmail.com" ]
guibiel-10@hotmail.com
9a91b60c24903f61054fed747c3be85c66cb2793
256f817910dd698970fab89871c6ce66a3c416e7
/1. solvedProblems/340. Longest Substring with At Most K Distinct Characters/340.py
e1fd7e173bc2c9b114189909699c70c7543f9303
[]
no_license
tgaochn/leetcode
5926c71c1555d2659f7db4eff9e8cb9054ea9b60
29f1bd681ae823ec6fe755c8f91bfe1ca80b6367
refs/heads/master
2023-02-25T16:12:42.724889
2021-02-04T21:05:34
2021-02-04T21:05:34
319,225,860
1
0
null
null
null
null
UTF-8
Python
false
false
6,982
py
# !/usr/bin/env python # coding: utf-8 """ Author: Tian Gao (tgaochn@gmail.com) CreationDate: Sat, 11/28/2020, 20:48 # !! Description: """ import sys from typing import List sys.path.append('..') from utils import binaryTree, nTree, singleLinkedList from utils.utils import ( printMatrix, printDict, ...
[ "tgaochn@gmail.com" ]
tgaochn@gmail.com
b67b5e6d66ad477d22a129a6bb6faf2a37a69867
ad846a63f010b808a72568c00de016fbe86d6c35
/algotradingenv/lib/python3.8/site-packages/IPython/external/decorators/_numpy_testing_noseclasses.py
9f8f382391de958a20ccb9a35664f5c7c66ba463
[]
no_license
krishansinghal29/algotrade
74ee8b1c9113812b1c7c00ded95d966791cf76f5
756bc2e3909558e9ae8b2243bb4dabc530f12dde
refs/heads/master
2023-06-02T01:53:24.924672
2021-06-10T09:17:55
2021-06-10T09:17:55
375,641,074
0
0
null
null
null
null
UTF-8
Python
false
false
1,417
py
# IPython: modified copy of numpy.testing.noseclasses, so # IPython.external._decorators works without numpy being installed. # These classes implement a "known failure" error class. import os from nose.plugins.errorclass import ErrorClass, ErrorClassPlugin class KnownFailureTest(Exception): """Raise this exce...
[ "krishansinghal29@gmail.com" ]
krishansinghal29@gmail.com
c54b5c58d02b449322e21a4c7e7645c6e992197f
3150a03e5c0e3897b91472b750ab1de9751138c5
/ppdet/metrics/mot_eval_utils.py
8b0a03a13027995e2644cfa1159768faed8b1299
[ "Apache-2.0" ]
permissive
lazyand/ccccAI
95c66c7c732b3a447330acd7456e76e3e6152e8c
2d279a0ef261d10ef051b3685e041223193f81b5
refs/heads/main
2023-07-01T12:27:05.361219
2021-08-02T10:35:22
2021-08-02T10:35:22
407,152,836
1
0
Apache-2.0
2021-09-16T12:17:22
2021-09-16T12:17:22
null
UTF-8
Python
false
false
6,589
py
# Copyright (c) 2021 PaddlePaddle 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 appli...
[ "1429392157@qq.com" ]
1429392157@qq.com
27ccdbea81862874e0b78a77232a7d471e5f184a
6fa7f99d3d3d9b177ef01ebf9a9da4982813b7d4
/Av2u6FKvzFvrtGEKS_18.py
4e2d4cf4fdcb9ad90f1ec69e7cba9c1c762d567b
[]
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
846
py
# Do not touch this starter code but implement the reverse function at the # end of the LinkedList class class Node(object): def __init__(self, data): self.data = data self.next = None ​ ​ class LinkedList(object): def __init__(self): self.head = None self.tail = None ​ def insert(self, data): ...
[ "daniel.reich@danielreichs-MacBook-Pro.local" ]
daniel.reich@danielreichs-MacBook-Pro.local
2a6923ba26403d7e7ea8efed70b9bcf624239f60
3a031452d9abbeb16fb3f5592245aa1bf0a6c883
/WeatherApp.py
5e7896d65734edc0daa71b12abe37c189960bb7d
[]
no_license
Anam0609/WeatherApp
a0285ed409678603e169df3544d7bc768109607d
23a6b635486e2e5b20430057d0630122a291e14f
refs/heads/master
2022-11-30T01:47:43.959224
2020-08-11T10:30:21
2020-08-11T10:30:21
286,714,959
0
0
null
null
null
null
UTF-8
Python
false
false
3,128
py
import tkinter as tk import requests from PIL import Image, ImageTk # setting the window size theheight = 500 thewidth = 800 # "https://api.openweathermap.org/data/2.5/weather?lat=35&lon=139&appid=7f65701f025236c354d7754c5a4e0b71"; def get_weather(city): weatherkey = '7f65701f025236c354d7754c5a4e0b71' url = ...
[ "biancamajikijela95@gmail.com" ]
biancamajikijela95@gmail.com
84f11466840388f7cd822464925153da45672a52
3d870343f388fcd24be17be87f9c31a8267725e6
/feature_1.py
d7b90d46cec24099222a0979c929053c320e8da6
[]
no_license
jhaubrich/test_repo
bd29b6238cf2771bf241664d50be8e20e950297b
6f58bf8ce8cdffa4e3fcc16fedde1f376bc889b3
refs/heads/master
2016-09-09T23:03:27.877455
2012-12-17T15:15:01
2012-12-17T15:15:01
null
0
0
null
null
null
null
UTF-8
Python
false
false
35
py
#!/usr/bin/env import antigravity
[ "jesse.ctr.haubrich@faa.gov" ]
jesse.ctr.haubrich@faa.gov
03f78e02bcb35721419e9b22592c1ff69b8001ee
e902ce7156544420a18e838ff80b7fada60fee6f
/auctions/migrations/0016_remove_listing_winner.py
15b188088a4409ebace540badb2a9078a1921a47
[]
no_license
martyanovandrey/Auctions
4e45a48b044055f3ac35cbc23c6d95f6dc2094b7
58c70857b10c070162e496bf8da0227efedf85bd
refs/heads/master
2023-06-25T02:26:04.015361
2021-07-28T17:39:06
2021-07-28T17:39:06
297,530,574
0
0
null
2020-10-18T19:11:44
2020-09-22T03:59:56
Python
UTF-8
Python
false
false
328
py
# Generated by Django 3.1 on 2020-10-16 19:57 from django.db import migrations class Migration(migrations.Migration): dependencies = [ ('auctions', '0015_auto_20201016_2256'), ] operations = [ migrations.RemoveField( model_name='listing', name='winner', )...
[ "37772440+martyanovandrey@users.noreply.github.com" ]
37772440+martyanovandrey@users.noreply.github.com
584f70937fd6dd88eaa1f8f64e86437ca7008d88
54f352a242a8ad6ff5516703e91da61e08d9a9e6
/Source Codes/AtCoder/arc026/A/4566526.py
ac69b81f3ed3647b8383cbae78a92382afa0955c
[]
no_license
Kawser-nerd/CLCDSA
5cbd8a4c3f65173e4e8e0d7ed845574c4770c3eb
aee32551795763b54acb26856ab239370cac4e75
refs/heads/master
2022-02-09T11:08:56.588303
2022-01-26T18:53:40
2022-01-26T18:53:40
211,783,197
23
9
null
null
null
null
UTF-8
Python
false
false
61
py
n,a,b=map(int,input().split());print(min(n,5)*b+max(n-5,0)*a)
[ "kwnafi@yahoo.com" ]
kwnafi@yahoo.com
188b7d197ab77782771d8705118397eb1aae428b
4724e33369de6f39cc7f7b1b3a7398e6080cc8f8
/blog/views.py
052f490f53deb4da1a222f23ce7deb930555463f
[]
no_license
aylensp/first-blog
cc28db61b5ef7d0a5d2fa1c0d58ddf1ab8aafbcd
10bdd1725dac00ae1bdb705c284e89d2e78f880b
refs/heads/master
2021-05-05T23:28:05.134950
2018-01-12T15:20:48
2018-01-12T15:20:48
116,718,084
0
0
null
null
null
null
UTF-8
Python
false
false
2,826
py
from django.contrib.auth.decorators import login_required from django.shortcuts import render, get_object_or_404, redirect from django.utils import timezone from .forms import PostForm, CommentForm from .models import Post, Comment # Create your views here. def post_list(request): posts = Post.objects.filter(publi...
[ "aylenpresentado@gmail.com" ]
aylenpresentado@gmail.com
b3de9af0ea9ab10667ea7729377fab15baf9230e
def6bf52f6c01029e2c83b848b90e8b7d9f7abde
/.venv/bin/django-admin
4a1cb14fc2c10455db411ffc85ac2f7b4507587e
[ "MIT" ]
permissive
JayB-Kayode/practice-python-and-django
c3e82bc841bd3d2aa7194cb4077f96cc5546713c
c92333965aeb28de336694c9c289278fa275918d
refs/heads/master
2021-01-01T15:22:45.355145
2017-07-27T02:06:36
2017-07-27T02:06:36
97,606,980
0
0
null
null
null
null
UTF-8
Python
false
false
318
#!/home/jb/Documents/git/practice-python-and-django/.venv/bin/python3 # -*- coding: utf-8 -*- import re import sys from django.core.management import execute_from_command_line if __name__ == '__main__': sys.argv[0] = re.sub(r'(-script\.pyw?|\.exe)?$', '', sys.argv[0]) sys.exit(execute_from_command_line())
[ "jdickewu@gmail.com" ]
jdickewu@gmail.com
366e5b6c1921361a7577480414955fd30e18ee39
0547c3ebab814e3fdf2616ae63f8f6c87a0ff6c5
/846.hand-of-straights.py
1efee8792025199a30b3260fd14120bab6d55e5d
[]
no_license
livepo/lc
b8792d2b999780af5d5ef3b6050d71170a272ca6
605d19be15ece90aaf09b994098716f3dd84eb6a
refs/heads/master
2020-05-15T03:57:15.367240
2019-07-30T03:11:46
2019-07-30T03:11:46
null
0
0
null
null
null
null
UTF-8
Python
false
false
169
py
class Solution(object): def isNStraightHand(self, hand, W): """ :type hand: List[int] :type W: int :rtype: bool """
[ "qgmfky@gmail.com" ]
qgmfky@gmail.com
93a07c1afd9c37dc9445fbf0acf76b1f042adfaa
40cf4ad79c2e61ee7c1dbafc78449e4add6ba8ac
/Main.py
265f644f5f6cc0c2189acd83c8cd33a5eabcb8c3
[ "MIT" ]
permissive
Starrky/Problems-checker
d6bb06d5b01b0eb8ae44157a154b8d5e8b884d65
be4c91e7c7190e12ff465c0da5a60812057f35bb
refs/heads/main
2023-03-20T00:10:53.177760
2021-03-01T21:37:18
2021-03-01T21:37:18
333,546,342
0
0
null
null
null
null
UTF-8
Python
false
false
5,106
py
import configs as cfgs import selenium from selenium import webdriver from webdriver_manager.chrome import ChromeDriverManager import glob import os import os.path from os import path import time import csv import openpyxl from openpyxl import Workbook from openpyxl import load_workbook from os import listdir from os.p...
[ "kuba19945@gmail.com" ]
kuba19945@gmail.com
96bbad619bf902b5c03c90f60b751ea234ae0cb1
01ec5fae952211e0a0ab29dfb49a0261a8510742
/backup/scripts/s1_src.py
2059a709914e95436fd3845342e581a5154dc71d
[]
no_license
algoboy101/LeetCodeCrowdsource
5cbf3394087546f9051c493b1613b5587c52056b
25e93171fa16d6af5ab0caec08be943d2fdd7c2e
refs/heads/master
2021-02-20T00:18:51.225422
2020-06-21T09:04:24
2020-06-21T09:04:24
245,323,834
10
4
null
2020-03-09T02:23:39
2020-03-06T03:43:27
C++
UTF-8
Python
false
false
2,676
py
#!/usr/bin/env python2 #-*- coding:utf8 -*- """ 通过source/src.txt文件获取以下信息: d["index"] = index d["name"] = name d["title"] = build_title(index, name) d["url_leetcode_cn"] = url_leetcode_cn d["url_leetcode"] """ import glob import urllib import os import pickle import urllib data = {} fname_src =...
[ "chenwenwen0210@126.com" ]
chenwenwen0210@126.com
947166b31d96d83cdee5e6bd191f02766a960666
613a5915117e995ca3ac4146de978ab29e2518c9
/dmwTrader/technical/linreg.py
1e32df62dfdab1e49a971c05250e76ea8a58b93a
[]
no_license
dxcv/DmwTrader
44f4e49cbbe8276c37a46d27e3ed408aaed31ec5
9735227ac98224c847b9af80fc086ce87b8b1511
refs/heads/master
2020-06-20T11:21:56.104314
2017-12-28T06:04:31
2017-12-28T06:04:31
null
0
0
null
null
null
null
UTF-8
Python
false
false
5,189
py
# -*- coding: utf-8 -*- """ .. modulefrom:: pyalgotrade .. moduleauthor:: Gabriel Martin Becedillas Ruiz <gabriel.becedillas@gmail.com> revised by Zhongyu """ from dmwTrader import technical from dmwTrader.utils import collections from dmwTrader.utils import dt import numpy as np from scipy import stats # Using s...
[ "hezhongyu0@hotmail.com" ]
hezhongyu0@hotmail.com
138e79d105f114c67ae8e2c12bcd6e2bc886a47f
4b61ba2dded57be5673d5277cffadf6c13181b9f
/lab/lab1/0916/fifo_test.py
c965a8e4147e41e00289005a109b2ee141e36afe
[]
no_license
CL2228/ECE5725-Embedded_Operating_Systems
447f15da257f5ff0b66e821dd795983aff79d32a
c9b1f44babaeba5837ce9b5d721b68050ddce05f
refs/heads/main
2023-08-18T05:38:20.174596
2021-10-06T03:09:42
2021-10-06T03:09:42
406,428,404
0
0
null
null
null
null
UTF-8
Python
false
false
529
py
""" Names: Chenghui Li, Hehong Li NetIDs: cl2228, hl778 Lab1, 09/09/2021 & 09/16/2021 """ import subprocess import sys x= sys.stdin.readline() while x != "q\n": # if input a q, break the while and quit the video if x == "p\n": # if input a p, pause the video cmd = 'echo "' + "pause" + '" > /...
[ "g20170282@icloud.com" ]
g20170282@icloud.com
3f7bfbadf9329b5930c000e11628cb365ad9c346
c46bdc2bebb8a6c5868e3a12c1c9104eeecfee48
/chapter 15/15-3.py
b2e354ac71e5b0421e09207bd38623018d4c1e45
[]
no_license
JoeJiang7/python-crash-course
4612d9393918a8c460501df9a9a53e464b54c65b
0dc7fd517e71f1ea9229c9665dfdf2111d631e25
refs/heads/master
2020-08-24T08:37:31.888920
2019-10-22T12:45:33
2019-10-22T12:45:33
216,795,431
0
0
null
null
null
null
UTF-8
Python
false
false
573
py
import matplotlib.pyplot as plt from random_walk import RandomWalk while True: rw = RandomWalk() rw.fill_walk() point_numbers = list(range(rw.num_points)) plt.plot(rw.x_values, rw.y_values, linewidth=1) plt.scatter(0, 0, c='green', edgecolors='none', s=100) plt.scatter(rw.x_values[-1], rw.y_va...
[ "joejiang@seu.edu.cn" ]
joejiang@seu.edu.cn
0cb367809e325a0dd6c531f0d61a66a4ad15a1a6
43ccd4d2b43733790b015ff0aa298fbbf8e4aea6
/springy/indices.py
3e81c1184b9d909163856b1438e1e3f50d1ada43
[ "BSD-2-Clause", "BSD-3-Clause" ]
permissive
dboczek/springy
9c4ff247a898724ad71cc54fd20a54599155d3e3
e1df3e66e67b6614826b833f77a64cb95453108e
refs/heads/master
2021-01-18T04:49:28.487870
2016-01-29T20:54:48
2016-01-29T20:54:48
null
0
0
null
null
null
null
UTF-8
Python
false
false
9,177
py
from collections import defaultdict import itertools import six from .connections import get_connection_for_doctype from .fields import Field from .utils import model_to_dict, generate_index_name from .search import IterableSearch from .schema import model_doctype_factory, Schema from .exceptions import DocumentDoesNo...
[ "marcin.j.nowak@gmail.com" ]
marcin.j.nowak@gmail.com
190a5ad0ef2bfe1fa70d5db8c10a62b7ca1482e2
f1c07e84c9637c726aecca018dff4360a8523550
/python/7-kyu/complementary-dna.py
2922de2094797eed39d6a3b0831b293d6e397223
[]
no_license
magladde/code-wars
d4112210fb2ecd51cc0602e4f58b75c9a4b4271b
9409cce454e3255d97a6af020773c9aab435aab6
refs/heads/master
2022-06-22T23:24:12.129370
2020-05-12T22:58:37
2020-05-12T22:58:37
261,883,831
0
0
null
null
null
null
UTF-8
Python
false
false
426
py
def DNA_strand(dna): complimentary_strand = '' for i in range(len(dna)): if dna[i] == 'T': complimentary_strand += 'A' elif dna[i] == 'A': complimentary_strand += 'T' elif dna[i] == 'G': complimentary_strand += 'C' elif dna[i] == 'C': ...
[ "magladde@gmail.com" ]
magladde@gmail.com
aefe95e6018e09299e56e99a58f0ee15d7083c8d
cc892dd4361525e61bb7fe892ac3928b3e508887
/what.py
61eb1213c7e30bac13c2307eac80444fa24641e0
[]
no_license
Tsuirongu/PyQt
0a3498e0906868e928bd6a261fe1a2758781267d
3f0d3d25e43c587b68d0565d78840f1233980b54
refs/heads/main
2023-02-04T22:42:38.691985
2020-12-29T06:16:00
2020-12-29T06:16:00
325,202,705
1
0
null
null
null
null
UTF-8
Python
false
false
9,974
py
import sys import os import json from PyQt5.QtWidgets import * from PyQt5.QtGui import * from PyQt5.QtWebEngineWidgets import QWebEngineView from PyQt5.QtCore import * from PyQt5 import QtCore, QtGui, QtWidgets import loadCsv os.environ["CUDA_VISIBLE_DEVICES"] = "-1" class DragLabel(QLabel): def __...
[ "noreply@github.com" ]
noreply@github.com
64bb985a43603d2cd5341cc937268b27fd0230de
4cbc2a16074c51d928dd6686d3ba912b6c61fc88
/simple_social/accounts/urls.py
db9ceef6d44193c2b59e06eb4322175ad7361198
[]
no_license
andrew103/social_media_clone
b63439239630fa5cf75b9a5de6adf3b9c335824b
7129b00038beaf1a27a9d0604351b577ff530f1f
refs/heads/master
2020-12-02T09:11:22.378928
2017-07-09T20:21:38
2017-07-09T20:21:38
96,708,813
0
0
null
null
null
null
UTF-8
Python
false
false
388
py
from django.conf.urls import url from django.contrib.auth import views as auth_views from . import views app_name = 'accounts' urlpatterns = [ url(r'^login/$',auth_views.LoginView.as_view(template_name="accounts/login.html"), name = "login"), url(r'^logout/$', auth_views.LogoutView.as_view(), name = "logout")...
[ "andrew_103@rocketmail.com" ]
andrew_103@rocketmail.com
be3f75c453bf73ade54b0a5a7997dcd2e1d53c3a
e082450b1b8b0fad78e3aa325e305f3f7cdfa5d8
/component_add.py
6322b4dded3571b192ff4d4fdd28fd1daeea95d1
[]
no_license
Aditya-Kashyap/Automation
f41095f53f79d60c835f1856ff36f033ed07c167
0bccd805ea9d58054d7236d3faaa02e5d0c9e63e
refs/heads/master
2020-12-22T20:04:01.197235
2020-04-30T07:04:18
2020-04-30T07:04:18
236,916,728
0
0
null
null
null
null
UTF-8
Python
false
false
5,320
py
class ComponentAddition: def __init__(self): self.arr = {"name": "sample-name", "type": "sample-type", "flavor": "sample-flavor", "description": "sample"} @staticmethod def comp_add(): print("Enter the Name of Component to be added") comp_name = input() print("Enter the Typ...
[ "adi.inhere@gmail.com" ]
adi.inhere@gmail.com
14d7846fd0619742b8296a89bde76be7c95dda8a
c0bd691bb09a1a8b35b07aa27ffed54a4f2e8b57
/evaluation/questionnaires/questionnaire_eval.py
df5f85a5444a467d1352a621d37d95426a0277c0
[]
no_license
codwest/interactive_image_segmentation_evaluation
2302aa1cae7a012779287cf3d9a0a2356051ffc0
7c018b2fc0e22471dc6f820ad3f40d9c2dc1b57a
refs/heads/master
2022-04-13T05:47:39.788961
2020-03-19T16:42:40
2020-03-19T16:42:40
null
0
0
null
null
null
null
UTF-8
Python
false
false
4,392
py
from collections import namedtuple from typing import List, Union import numpy as np def generate_dummy_questionnaire_data(mode: str, num_users: int, num_prototypes: int = 1): """Function to generate example data""" if mode.lower() == 'sus': if num_prototypes == 1: return np.random.randin...
[ "mario.amrehn@fau.de" ]
mario.amrehn@fau.de
f8a244ebb1e4016d0d197a54d46ec5194a9c4296
751c37e6d6c9add85da691f9e5bcc87757cd66ec
/scripts/xdg_extract.py
0b90ec47200135b914ba906b56648d3a014393b8
[]
no_license
andreavanzo/lu4r_ros_interface
23d9ecdf908bf8c21f6ad55a0eff69f0d2238121
1b0e249541c359e1d0054375f76d6e9f9dfb2b83
refs/heads/master
2021-06-09T15:31:23.071501
2017-01-12T13:09:48
2017-01-12T13:09:48
68,290,354
6
1
null
null
null
null
UTF-8
Python
false
false
2,920
py
import xmltodict import json import pprint import os def find_node_in_list(root,serializerID,type="@serializerID"): if type in root: if root[type] == serializerID: return root for e in root: res = find_node(e,serializerID,type) if res is not None: return res def find_node(root,seriali...
[ "andrea.vanzo1@gmail.com" ]
andrea.vanzo1@gmail.com
34166c18d83a2ff7918a33296d355457645bae1b
5e31aec4b38d53993e416a4974842d6378148de2
/ratelimit9/forms.py
e24bdcea3cfc3a4daca13fa599d33a637ebf942f
[ "MIT" ]
permissive
9dev/django-ratelimit9
b2182ef067457a742c86130f624e2792eb02890b
ac1e6affeaa1084013467349e258e52abc50e7bb
refs/heads/master
2021-08-16T08:02:45.147091
2014-12-19T13:00:52
2014-12-19T13:00:52
28,229,301
2
0
MIT
2021-06-10T17:30:23
2014-12-19T12:51:54
Python
UTF-8
Python
false
false
639
py
from captcha.fields import ReCaptchaField class Ratelimit9Form(object): def __init__(self, *args, **kwargs): captcha = kwargs.pop('captcha', None) super(Ratelimit9Form, self).__init__(*args, **kwargs) if captcha: self.fields['captcha'] = ReCaptchaField( ...
[ "9devmail@gmail.com" ]
9devmail@gmail.com
ea693066e5c2cfa3a129e92b9162b3156c200ed6
60598454222bc1e6d352993f9c4cd164cd6cc9cd
/core/migrations/0014_auto_20200723_1127.py
f07013abc7d877cba2d16a2195b83a8886e01144
[]
no_license
nicksonlangat/mychurch
12be8911ce1497d7c6a595d06275f21ecf58b185
e503828cab165c9edcde89b3ef6d7c06b5eb7fdb
refs/heads/master
2023-08-10T15:36:06.208376
2020-07-23T09:52:19
2020-07-23T09:52:19
281,030,716
0
1
null
2021-09-22T19:35:09
2020-07-20T06:15:58
Python
UTF-8
Python
false
false
498
py
# Generated by Django 3.0.8 on 2020-07-23 08:27 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('core', '0013_attendance_status'), ] operations = [ migrations.RemoveField( model_name='service', name='seat_capacity...
[ "nicksonlangat95@gmail.com" ]
nicksonlangat95@gmail.com
bfe1897197b6c105575cd8e14a5f14ce2b3e933a
c56dd15329e1f1dde3c3598ac874ab628166e6ef
/malayalam chatbot/app.py
16c6b6d124a43b7e854391bb38cefdbe01ff1422
[ "MIT" ]
permissive
abinshoby/Auto-Suggestion-of-Malayalam-Question-using-LSTM
e9933e341571f5c9aad59f1dc84c568033381363
7f04f11d6d9a6b2b51450e519de8517199a640d4
refs/heads/master
2020-03-23T00:02:28.751720
2018-10-07T17:59:19
2018-10-07T17:59:19
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,029
py
from flask import Flask from flask import render_template from predict_text_meaning import predict from flask import * import os app = Flask(__name__) o="" #@app.route('/') # def index(): # return render_template('index.html',pred=predict) # @app.route('/pred', methods=['POST']) # def pred(): # data=request...
[ "noreply@github.com" ]
noreply@github.com
5479940e8409ca5cf4b10fe746b7b58d6f4ea083
4bae98f34747054505f11f2af0c61020bdcccf47
/gde_test.py
5e58bcd18c50d546d54b5070b0041d4913643387
[ "Apache-2.0", "LicenseRef-scancode-warranty-disclaimer" ]
permissive
edoliberty/streaming-quantiles
726adc679ab25dde3d88555138426211465f5faf
500747df3088ce4f236f84f5f5887d5f9a272ab8
refs/heads/master
2022-11-30T17:34:24.940409
2022-11-19T14:22:05
2022-11-19T14:22:05
54,480,798
53
23
Apache-2.0
2022-11-19T14:22:06
2016-03-22T14:17:23
Jupyter Notebook
UTF-8
Python
false
false
1,921
py
import unittest import numpy as np from gde import GDE class TestGDE(unittest.TestCase): def test_one_update(self): k = 10 gde = GDE(k, 3); gde.update([0, 0, 0]); self.assertTrue(gde.query([0, 0, 0]) == 1); self.assertTrue(gde.query([0.01, 0.01, 0.01]) > 0.95); ...
[ "edo.liberty@gmail.com" ]
edo.liberty@gmail.com
fe14f2115c6d8ac2ddf2d6e11be9e9c06367e1c5
299eabcb14187b58f931b9adc0542f7113210e27
/info/migrations/0005_auto_20210526_0739.py
6e162c69faf85463ca189517dfed59244a214220
[]
no_license
hebilidu/animal_info
e19b741162e19bc9bf4e30de6c92da079d292ed9
587dcfb572fedf8ce7c3d1e09cabe6e3a5754e2e
refs/heads/main
2023-05-08T20:59:52.582903
2021-06-01T06:00:29
2021-06-01T06:00:29
370,058,855
0
0
null
null
null
null
UTF-8
Python
false
false
699
py
# Generated by Django 3.2.3 on 2021-05-26 07:39 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('info', '0004_passport_last_visited_country'), ] operations = [ migrations.CreateModel( name='Country', fields=[ ...
[ "git@hebi.fr" ]
git@hebi.fr
e403926edc63a77639f93fdc497335b065b136c4
ff15cc1435c7fc3cb099e6d3ec8a6c2dbb3bc11c
/Programming Basics with Python/First_Steps_in_Coding/01_Hello_SoftUni.py
b8b38c7ced24f1042add7de96ca3aacb2c0b96ae
[ "MIT" ]
permissive
petyakostova/Software-University
4c6a687e365cb918e75b678378e699f8bd707fe0
672d887d104260f18220bfb3d4a667b96a444b23
refs/heads/master
2020-03-12T12:56:02.407069
2018-07-16T20:12:20
2018-07-16T20:12:20
130,630,180
1
0
null
null
null
null
UTF-8
Python
false
false
55
py
# prints the text "HelloSoftUni" print('Hello SoftUni')
[ "petya_kostova_@abv.bg" ]
petya_kostova_@abv.bg
39dfe7da8a352ef55114fb6b089a6e550760e664
b29d68ea866fdf99bc92609ab6bd0654f5ad2130
/tut2bonus.py
0a5da54c0a6d8470ac6ae7a6e244e31d5287d40d
[]
no_license
Mulokoshi/Simon-Assignment-1
05299f92f244e00a6436bc15afead13168bd9ba4
6fba6d49676fa3b594e5480dfa8f9f61af9108ba
refs/heads/master
2021-01-17T12:37:19.569972
2016-06-20T10:39:43
2016-06-20T10:39:43
56,517,751
0
0
null
null
null
null
UTF-8
Python
false
false
552
py
## We obtained the difference of the two Area by integrating the function in to two parts, ## from -5 to 5. The 1st initial part is from -5 to 3 and 2nd part from ## 3 to 5, Therefore, we can conclude that the 1st integral is the sum of the two parts and the 2nd integration is ## only for the initial part. import nu...
[ "simonmulokoshi@gmail.com" ]
simonmulokoshi@gmail.com
c14d0ef0b5ded965c2955fe2dba0d3e10bce2d87
6978c3de8160e3e88930e8da53588bd4b63ade94
/home/bin/syncthing-archive.py
417b8ce7cadfa6ddf6986a17185ac93a59aea3b6
[]
no_license
vonpupp/dotfiles-apps
37126cdd516079db105f3acce291854b9464edf2
b8188866193ccacf648758cb306c5265697c021c
refs/heads/master
2022-08-04T16:22:49.088386
2022-07-10T00:51:27
2022-07-10T00:51:27
36,723,839
1
0
null
null
null
null
UTF-8
Python
false
false
1,578
py
#!/usr/bin/env python # Source: https://docs.syncthing.net/users/versioning.html#external-file-versioning # Lets assume I have a folder "default" in ~/Sync, and that within that folder there is a file docs/letter.txt that is being replaced or deleted. The script will be called as if I ran this from the command line: ...
[ "albert@haevas.com" ]
albert@haevas.com
33503c160832f77601867c9dd684393799d296a4
01341bd59e8d51e98287a23fe94460959439642e
/11_hl_max_guesses.py
e82fb20a82da8e681980f00b2e5702950ee013da
[]
no_license
williamsj71169/02_Higher_Lower
d6a39e27711b03a3f21067696fbc615486a2f540
7d2cf92a54f346a98f9aac64f93aae32f982e553
refs/heads/master
2021-01-16T12:43:24.769153
2020-03-15T20:45:01
2020-03-15T20:45:01
243,126,216
0
0
null
null
null
null
UTF-8
Python
false
false
292
py
# import math for item in range(0, 4): low = int(input("Low: ")) high = int(input("High: ")) range = high - low + 1 max_raw = math.log2(range) max_upped = math.ceil(max_raw) max_guesses = max_upped + 1 print("Max Guesses: {}".format(max_guesses)) print()
[ "58008516+williamsj71169@users.noreply.github.com" ]
58008516+williamsj71169@users.noreply.github.com
bb4865db730020b6945e02383297db7706ba99ad
c82da5e6c9287951c1c214ed172c03761d0b3940
/Part 1 - Data Preprocessing/data_preprocessing_template.py
5dd9e788990ab666983fbcbc4fcbdffcc43e21d5
[]
no_license
NegiArvind/A-Z-machine-learning
695d1cbbd20a5ca1d94533069b734d34b0b22c7e
66b5c5e5c0abf03401016a4f932be3c24b6784c8
refs/heads/master
2020-04-02T04:46:54.149663
2018-10-21T17:20:33
2018-10-21T17:20:33
154,034,445
0
0
null
null
null
null
UTF-8
Python
false
false
758
py
# Data Preprocessing Template # Importing the libraries import numpy as np import matplotlib.pyplot as plt import pandas as pd # Importing the dataset dataset = pd.read_csv('Data.csv') X = dataset.iloc[:, :-1].values y = dataset.iloc[:, 3].values # first argument i.e ':' says take all rows and 3 saying take 3 column ...
[ "negiarvind229@gmail.com" ]
negiarvind229@gmail.com
e77b9bf7ab6d5437d6b040caef3e6915f04fffca
a71582e89e84a4fae2595f034d06af6d8ad2d43a
/tensorflow/python/data/experimental/kernel_tests/optimization/make_numa_aware_test.py
d79ae4387c868d4821ac65787ba0bc04d47cc7d3
[ "Apache-2.0" ]
permissive
tfboyd/tensorflow
5328b1cabb3e24cb9534480fe6a8d18c4beeffb8
865004e8aa9ba630864ecab18381354827efe217
refs/heads/master
2021-07-06T09:41:36.700837
2019-04-01T20:21:03
2019-04-01T20:26:09
91,494,603
3
0
Apache-2.0
2018-07-17T22:45:10
2017-05-16T19:06:01
C++
UTF-8
Python
false
false
1,813
py
# Copyright 2018 The TensorFlow 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 applica...
[ "gardener@tensorflow.org" ]
gardener@tensorflow.org
c16f8beb6dd17e8abea992b1486d2f97065e2a08
324d2f9f97c1eb82746ccbede11d359ce3ee0b60
/Inject.py
2bbd9635a78d20608221cd38b672261cdf861488
[]
no_license
kokobae741/koko2in1new
03512f1cd4b2c19e0a9a5b13046665667d3fdcf4
f3be010bfcd2810244569d049e7381bf03ba0124
refs/heads/master
2020-06-12T21:46:03.520115
2019-06-29T18:13:43
2019-06-29T18:13:43
194,435,675
0
0
null
null
null
null
UTF-8
Python
false
false
5,756
py
import os import sys import random import socket import select import datetime import threading lock = threading.RLock(); os.system('cls' if os.name == 'nt' else 'clear') def real_path(file_name): return os.path.dirname(os.path.abspath(__file__)) + file_name def filter_array(array): for i in range(len(array)...
[ "noreply@github.com" ]
noreply@github.com
78f3b9f5927206d15c77dd073f490b9202ab0fc2
cac93d697f9b3a75f059d725dee0251a8a81bf61
/robot/install/lib/python2.7/dist-packages/ur_dashboard_msgs/msg/_SetModeGoal.py
7628590a2f33e2c657df2d3e8743b53b989e0882
[ "BSD-3-Clause" ]
permissive
satvu/TeachBot
c1394f2833649fdd72aa5b32719fef4c04bc4f70
5888aea544fea952afa36c097a597c5d575c8d6d
refs/heads/master
2020-07-25T12:21:34.240127
2020-03-09T20:51:54
2020-03-09T20:51:54
208,287,475
0
0
BSD-3-Clause
2019-09-13T15:00:35
2019-09-13T15:00:35
null
UTF-8
Python
false
false
5,203
py
# This Python file uses the following encoding: utf-8 """autogenerated by genpy from ur_dashboard_msgs/SetModeGoal.msg. Do not edit.""" import sys python3 = True if sys.hexversion > 0x03000000 else False import genpy import struct class SetModeGoal(genpy.Message): _md5sum = "6832df07338535cc06b3835f89ba9555" _typ...
[ "sarahvu@mit.edu" ]
sarahvu@mit.edu
48de2103f2baa12bfa7ff1c30f880892b801a394
02263b003824b221e466928a997fd35f939bb655
/core/utils/timeout.py
4a697d94575be7bf70c57f8fdf321cc0f285f9cb
[ "Apache-2.0" ]
permissive
neoericnet/cmdbac
dad27b53a54df0a3ab76df4ea7cf4e66ec1dbf0d
1f981e6f110728e51ba4ffdb90ff2d4ce091057a
refs/heads/master
2020-08-06T23:54:01.631707
2017-11-15T05:54:47
2017-11-15T05:54:52
null
0
0
null
null
null
null
UTF-8
Python
false
false
538
py
from functools import wraps import errno import os import signal class TimeoutError(Exception): pass class timeout: def __init__(self, seconds=1, error_message='Timeout'): self.seconds = seconds self.error_message = error_message def handle_timeout(self, signum, frame): raise Timeo...
[ "zeyuanxy@gmail.com" ]
zeyuanxy@gmail.com
196e04b40f7912da4624f6e6f9ae396bb81751c6
6aaf1cc6caa35282d4acb347b11cd6dd138d7be7
/challenge3/challenge3.py
0b9c765f0975748ebaf095c6ddbacf41adb7b467
[]
no_license
ntrainor1/Challenges
df3e5ab1b0415d430c988b605957bf21f70dcc66
555c3ab817af39d58879f7bc91ad240fa13ec07e
refs/heads/master
2020-09-24T09:59:14.144274
2019-12-19T16:03:12
2019-12-19T16:03:12
225,734,728
0
0
null
null
null
null
UTF-8
Python
false
false
1,666
py
import unittest import time from selenium import webdriver from selenium.webdriver.common.by import By from selenium.webdriver.common.keys import Keys from selenium.webdriver.support.ui import WebDriverWait from selenium.webdriver.support import expected_conditions as EC class Challenge3(unittest.TestCase): def ...
[ "nathaniel.trainor@sling.com" ]
nathaniel.trainor@sling.com
596ba1a6543c1cde196b8ccaa7f46776e36327d6
2f02026ec22cf350d65449f90aea4dc9eb7ebc89
/exercise3/score_strategy.py
800fa51d73111ad3ede48da68ffb47d4b382cfe0
[]
no_license
Ten10/NLPCourse
3a349e2d665cebb33a083c2386772a7e176e3c1b
6da394c188f1272950f86724f89e0de5c9d4e680
refs/heads/master
2020-09-11T12:08:57.581360
2020-03-14T17:27:31
2020-03-14T17:27:31
222,059,263
1
0
null
null
null
null
UTF-8
Python
false
false
6,218
py
import abc from math import log10 from exercise3.corpus import Corpus from exercise3.document import Document from typing import Dict, List, Tuple class ScoreStrategy(abc.ABC): @abc.abstractmethod def __init__(self, name: str, corpus: Corpus, **kwargs): self.name = name self.corpus = corpus ...
[ "jonathan.k@qspark.co" ]
jonathan.k@qspark.co
05fc5187df71d55444543c1027e46b77e6aeaaa4
b14f4302363380024ca9b5cc096dbcef230057bd
/JPA_MASTER_no_model/Deployment_code/Bin/digitization/test_main.py
37593144c937145c1f708d138a97a481d89f0995
[]
no_license
RajatChaudhari/Clustering_n_stuff
1706da296656fc8c54d67c037d45ae5fd2b7b4f8
b0de4bece13725ace69b12006c50da421478fea2
refs/heads/master
2020-04-22T22:36:46.926207
2019-02-12T10:57:46
2019-02-12T10:57:46
170,714,482
0
0
null
null
null
null
UTF-8
Python
false
false
398
py
import family_classifier,jp_struct,pp_struct import mammoth convertor = pp_struct.pp_to_struct() clf = family_classifier.family_classify() path = 'Manager, Human Resources Business Partners - Human Resources Business Partners - Human Resources.DOCX' file = open(path, 'rb') fils = mammoth.convert_to_html(file).v...
[ "silverprince.v1@gmail.com" ]
silverprince.v1@gmail.com
8f98d8f3660cdf41a784921e4755a08b7d2a5bd4
beb637252e9b5ce3fa808ba4bb8f129823540cb0
/stats/mantel/plot_ISC_subplots_mantel.py
b8137a936e43ef460f4de07aaeda554762ed9be0
[ "MIT" ]
permissive
athiede13/free_speech
6b4ecdfcf66cc80148fa870876836da3a0b98a03
bde32c2d48724c98f089376876cf9888f67a9f20
refs/heads/master
2022-01-29T12:57:25.168260
2022-01-08T19:40:15
2022-01-08T19:40:15
176,300,570
0
0
null
null
null
null
UTF-8
Python
false
false
5,522
py
""" Plot subplots. Created on Tue Sep 4 16:21:37 2018 @author: Anja Thiede <anja.thiede@helsinki.fi> """ import matplotlib.pyplot as plt #%matplotlib qt #%matplotlib inline #to fill filepath = '/media/cbru/SMEDY/results/mantel_correlations/2019_05_simple_model/' filenames1 = (filepath + 'phon_clu_5.000000e-01-4Hz...
[ "anja.thiede@helsinki.fi" ]
anja.thiede@helsinki.fi
badb4fd17812c95118c46b700aaf4cbbb0c9698a
3cae0e4309cdad8a9c38668c1caeb8bdbdbc7224
/mag/data_scripts/test.py
94b9a780e4c5fdbe67bdae193ec370c189591a8f
[]
no_license
matmcc/graph_django_neomodel
bf84cd2e0eb08a703058447a8dcb0da0e7ded8fe
cd795a76bf9dbb45441f40a206f83dc4a6176323
refs/heads/master
2020-12-02T09:09:21.943323
2020-02-13T20:17:05
2020-02-13T20:17:05
230,957,055
0
0
null
null
null
null
UTF-8
Python
false
false
224
py
from mag.Mag import Mag_Api from decorators import timing mag = Mag_Api() p = mag.get_paper(2157025439) r = mag.get_refs(p) c = mag.get_cits(p) lp = r + c @timing def time_this(): return mag.get_cits(lp) time_this()
[ "matmcconkey@gmail.com" ]
matmcconkey@gmail.com