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
e54416140692cc6de81bef6a7723085a7570ffe0
9b29c9fffd33489a35225b256d148f1a6146137b
/Server/StartAppium.py
1d03d6ae9dfaadb81966adff4b31f36bdb966eba
[]
no_license
fghad1991/companion
748bb9fa0753d4bdcc1cd9f53ec21a56b7ef2aa3
8a836531f15400eb392f12c85d5cdfaad02f1db9
refs/heads/master
2020-12-30T14:20:40.653720
2017-05-15T08:30:53
2017-05-15T08:30:53
91,313,711
0
0
null
null
null
null
UTF-8
Python
false
false
610
py
__author__ = 'JJLanMo' class appium(): def start(self,host,port,bootstrap_port,session_override): errormsg = "" appium_server_url = "" appium_log_path = "" # appium - a 127.0.0.1 - p4726 - -bootstrap - port 4780 - -session - override - -log "E:/appium" - -command - timeout 600 ...
[ "13564733570@163.com" ]
13564733570@163.com
61c54a8826e2a96a5e82ca3db7fd51286bf2f868
2222fa632138465c237e0d501a17e78bd41c4fca
/predict.py
6158b5f1f965669746d8b42bfa9fd8b2aff23e9a
[]
no_license
minji9583/ai_chatbot_project
e3d1936091650150090c642fcda335c4a5583e3a
dafdf565bddb0841d5dc38dfb85a1b41310b87c8
refs/heads/master
2023-01-06T17:32:54.982468
2019-10-15T02:20:37
2019-10-15T02:20:37
207,702,203
4
1
null
2023-01-01T13:24:51
2019-09-11T02:08:05
Python
UTF-8
Python
false
false
5,403
py
import tensorflow as tf import data import sys import model as ml from configs import DEFINES def eval(): char2idx, idx2char, vocabulary_length = data.load_voc() train_input, train_label, eval_input, eval_label = data.load_data() # ํ‰๊ฐ€์…‹ ์ธ์ฝ”๋”ฉ ๋งŒ๋“œ๋Š” ๋ถ€๋ถ„์ด๋‹ค. eval_input_enc, eval_input_enc_length = data.enc_pro...
[ "gpfhddl09@gmail.com" ]
gpfhddl09@gmail.com
d4c173c2e18b79464f26d50aed0cb587a711543d
20e7921251e81518fccb87a583d0a0c8c284d539
/orayeb/asgi.py
db1930dd39872542af7b6425ca6c5dbba490fe2b
[]
no_license
ysawiris/orayeb
fd2c88c39807d378178f2db7ac0626e3ed38b9d5
ba24bfc74f34edf0f9d7d553d39723ab32a6b21f
refs/heads/main
2023-02-23T14:41:29.949013
2021-01-12T23:24:57
2021-01-12T23:24:57
329,027,461
0
0
null
null
null
null
UTF-8
Python
false
false
389
py
""" ASGI config for orayeb project. It exposes the ASGI callable as a module-level variable named ``application``. For more information on this file, see https://docs.djangoproject.com/en/3.1/howto/deployment/asgi/ """ import os from django.core.asgi import get_asgi_application os.environ.setdefault('DJANGO_SETTIN...
[ "youssef.sawiris@students.dominican.edu" ]
youssef.sawiris@students.dominican.edu
1f4c69f1e02e3cd6bc5a0a58287d130163386f84
ad1e55b9a67c798cf4b4ce41c76b26977f8b4e8d
/vendor-local/celery/tests/test_events/test_events_state.py
b8817f5a83f3398df59f2048f1e18115062a33b1
[ "BSD-3-Clause" ]
permissive
kumar303/rockit
7a6ac84bb8c37e5f3b65d7dcecf9b9c549902cf5
fc347b5b143835ddd77fd0c1ea4e6f2007a21972
refs/heads/master
2021-01-10T19:51:30.638073
2020-07-26T19:00:37
2020-07-26T19:00:37
4,219,328
0
2
BSD-3-Clause
2020-07-26T19:00:38
2012-05-03T22:03:24
Python
UTF-8
Python
false
false
10,736
py
from __future__ import absolute_import from time import time from itertools import count from celery import states from celery.events import Event from celery.events.state import State, Worker, Task, HEARTBEAT_EXPIRE from celery.utils import uuid from celery.tests.utils import Case class replay(object): def _...
[ "kumar.mcmillan@gmail.com" ]
kumar.mcmillan@gmail.com
8b93e8f95d8ebe73848675dccb06fce575530545
994ae8f8dec8e4484ea490b3874991fd6f788b7e
/ARTools/ARUtils.py
08633d2b1a1e494907237337e3c97e0fd3b57b4f
[]
no_license
Leslie-zh/autoRig_Tools
c249f6b942d3a065e5aba203a5172ed9e689c856
9aa833ce674095fb24e91a7f9c9b5cb6435b4655
refs/heads/master
2022-03-15T04:26:47.502259
2019-04-22T18:59:07
2019-04-22T18:59:07
null
0
0
null
null
null
null
UTF-8
Python
false
false
16,732
py
from maya import cmds from maya import OpenMaya from maya import OpenMayaAnim from maya import mel import re import pymel.core as pm import math import logging logging.basicConfig() logger = logging.getLogger('RigUtils:') logger.setLevel(logging.DEBUG) def snapIkFk(controller): """ snap ik fk or fk ik :pa...
[ "Jap3dWorks@gmail.com" ]
Jap3dWorks@gmail.com
0894168cf481341050dd22efc8f324aea99c393d
040a735434f94168c34543c69291a6860d83ad01
/exel/xl_snake.py
87e8da4d19991f9450eba8e30d5ca4365132e651
[]
no_license
ngphatpython190/tren-mang
a1fb5d9f01e68ac40f4bc9f8e12b5744fc5d7d87
9276e53f38218e97c5bcdecb74442fe01b87af4d
refs/heads/main
2023-09-03T11:19:12.657557
2021-11-06T11:35:11
2021-11-06T11:35:11
418,477,353
0
0
null
null
null
null
UTF-8
Python
false
false
4,012
py
import xlwings as xw from string import ascii_uppercase from random import randint from time import sleep from sys import exit class Snake: def __init__(self,speed,width,height): # Book setup self.book = xw.Book() self.sheet = self.book.sheets[0] self.sheet.name = 'snake' # board setup ...
[ "noreply@github.com" ]
ngphatpython190.noreply@github.com
bb88c6ede9da6acfa26ee404324f10121a2c33c1
9695228629e72a9074882211603d12dae51abf3e
/show/views.py
8c9a14b21b2aa359624f1980e18db48375fab06f
[]
no_license
ken890728/maze
b875880adc08800f03adbb4a0ce3a6c6adbe8786
a30cca47121a238df0a84b10b00e5b245abf0bac
refs/heads/master
2021-01-15T22:08:51.058562
2017-08-10T07:17:04
2017-08-10T07:17:04
99,888,238
0
0
null
null
null
null
UTF-8
Python
false
false
509
py
from django.shortcuts import render_to_response, redirect from django.http import HttpResponse from django.template import RequestContext from models import Record def index(request): return render_to_response('index.html') def add(request, seconds): record = Record(seconds=seconds) record.save() return re...
[ "ken22436653@gmail.com" ]
ken22436653@gmail.com
88fc2053e80bc58ae209cdfe9ed49b6a4bcafc2c
c3082eb2adc43b311dd3c9ff16fd3ed9df85f266
/python/examples/gravatar.py
02ce05805f996cdb851c9e6a8fb3a644257d5e44
[]
no_license
szabgab/slides
78818c7138331b3ba9e221c81da3678a46efe9b3
63bba06678554db737602f2fbcd6510c36037e8a
refs/heads/main
2023-08-31T07:13:51.536711
2023-08-29T13:17:59
2023-08-29T13:17:59
122,212,527
87
69
null
2023-05-19T06:55:11
2018-02-20T14:57:03
Python
UTF-8
Python
false
false
294
py
import hashlib import sys def gravatar(email): return hashlib.md5(email.strip().lower().encode('utf8')).hexdigest() if len(sys.argv) != 2: exit(f"Usage: {sys.argv[0]} EMAIL") email = sys.argv[1] code = gravatar(email) print(f"https://www.gravatar.com/avatar/{code}?s=100&d=blank")
[ "gabor@szabgab.com" ]
gabor@szabgab.com
feee5c1b995b9b8d43dd9bb95364532994f3bf72
ff469ac1982a55d0ac209b5c42ee20c54f9fd5e5
/app/app.py
ebc61f9ce7ef40933a9b579bb6924a70aebf00e2
[]
no_license
carlosrv999/demo-gcp
7667618e98751f95d25f6d70c885ee0dd208ae44
2c13e48a915acf908fa048e26b6d1d754a750df7
refs/heads/master
2023-05-13T17:21:17.470582
2020-05-05T23:46:04
2020-05-05T23:46:04
261,557,229
0
0
null
2023-05-01T21:39:47
2020-05-05T18:51:37
Shell
UTF-8
Python
false
false
584
py
from flask import request, Flask import socket app = Flask(__name__) @app.route("/healthz") def healthz(): return "Healthy" @app.route("/") def rootpage(): return "root page" @app.route("/greetings") def hello(): return "Hello World from " + socket.gethostname() + "." @app.route("/square") def square()...
[ "carlosrv125@icloud.com" ]
carlosrv125@icloud.com
db5043627d2d557ddbf8f268af315b97bae02f34
17c280ade4159d4d8d5a48d16ba3989470eb3f46
/18/mc/ExoDiBosonResonances/EDBRTreeMaker/test/crab3_analysisM2500_R_0-1.py
0f7c4e4db7ada38e47e4cb679cfa85d072b43dce
[]
no_license
chengchen1993/run2_ntuple
798ff18489ff5185dadf3d1456a4462e1dbff429
c16c2b203c05a3eb77c769f63a0bcdf8b583708d
refs/heads/master
2021-06-25T18:27:08.534795
2021-03-15T06:08:01
2021-03-15T06:08:01
212,079,804
0
2
null
null
null
null
UTF-8
Python
false
false
2,201
py
from WMCore.Configuration import Configuration name = 'WWW' steam_dir = 'xulyu' config = Configuration() config.section_("General") config.General.requestName = 'M2500_R0-1_off' config.General.transferLogs = True config.section_("JobType") config.JobType.pluginName = 'Analysis' config.JobType.inputFiles = ['Autumn...
[ "c.chen@cern.ch" ]
c.chen@cern.ch
97bb186f1525825173d22a5a7c27d401e39fa997
29619c1b1ee216fd40f6c13b1cb4612cc6ef79e5
/merge_two_sorted_list.py
6379cb54ca6829eb7ed3674e29982c7b323e4810
[]
no_license
sacsachin/programing
9527c4340522159423120d203152c37dcf9f8931
377b25c317e3972d63ead7a34397458702f8accf
refs/heads/master
2022-12-14T00:20:35.232816
2020-09-26T12:36:32
2020-09-26T12:36:32
298,810,542
0
0
null
null
null
null
UTF-8
Python
false
false
1,424
py
# !/usr/bin/python3 """ https://www.interviewbit.com/problems/remove-duplicates-from-sorted-list/ Remove dyplicate from sorted list. """ class Node: def __init__(self, val=0, nxt=None): self.val = val self.next = nxt class LinkList: def __init__(self, nodes=None): self.head = None ...
[ "psachin@zeomega.com" ]
psachin@zeomega.com
5fb84372f582c5ae87a1b79178eaa1d6403251aa
3f3044255b8430a9c73e02177e94c0fadc88ca9a
/archive/bullshitalign.py
654a0985d689389ac04f9e3e9689e2cfff95ae38
[]
no_license
msgordon/optipol-reduc
263d95b5d0b1c7009d40c03a79d7038d3d26438e
37a0e778ea357ad1cb679a0364a31fe5d6dd6ff9
refs/heads/master
2020-05-17T13:26:07.974020
2017-10-11T00:31:24
2017-10-11T00:31:24
20,042,490
0
0
null
null
null
null
UTF-8
Python
false
false
1,631
py
#! /usr/bin/env python import numpy as np import argparse import pyfits from scipy.ndimage.interpolation import shift as sc_shift #from shift import shift as fft_shift import os from pyds9 import pydisplay def shift(filename, xs, ys, refFile,noShift=False): f = pyfits.open(filename) header = f[0].header ...
[ "msgordon.astro@gmail.com" ]
msgordon.astro@gmail.com
9a34a1120fe9546f1836735b1d5af632a15b354f
2642ea15cb26372c616458233d3b94e3700e3eb7
/Module02/radixStable.py
a5a12db587c8984d1b4f16c1064dd12bf18ad12b
[]
no_license
hdmcspadden/CS5012
96be4c1d09007fb365a1f2f3d4afb70f22d4ad7a
b856c5e780229dddd909691c2ddb4e454d377826
refs/heads/master
2023-04-18T08:12:07.733808
2021-05-02T21:48:29
2021-05-02T21:48:29
333,499,252
1
0
null
null
null
null
UTF-8
Python
false
false
1,823
py
# Python program for implementation of Radix Sort # A function to do counting sort of arr[] according to # the digit represented by exp. def countingSort(arr, exp1): n = len(arr) # The output array elements that will have sorted arr output = [0] * (n) # initialize count array as 0 ...
[ "hdmcspadden@gmail.com" ]
hdmcspadden@gmail.com
84804ddd9a4668077b8d84017577df31b6b0775b
2d1dcf1d13e5aa5cbc60fd2730f39bbace5556e4
/quiz/settings/base.py
0f4da07aedf0f56b1eea9814e7b1505b448efd98
[]
no_license
amalu-m/world-trivia
2c66c0f84c6cb87a459590cdd778c14cc0e575b7
ffb837231b40b0d357aef27edd45ff4e2f2a8e3a
refs/heads/master
2023-01-10T12:20:30.844418
2020-11-13T03:01:41
2020-11-13T03:01:41
305,027,675
0
0
null
2020-11-09T05:53:26
2020-10-18T05:14:51
Python
UTF-8
Python
false
false
197
py
import os from dotenv import load_dotenv load_dotenv() SECRET_KEY = os.getenv("SECRET_KEY") ENV_NAME = os.getenv("ENV_NAME") DB_USER = os.getenv("DB_USER") DB_PASSWORD = os.getenv("DB_PASSWORD")
[ "amalulmathew@gmail.com" ]
amalulmathew@gmail.com
8108385351aac8c2bdb972161149bfb87e009ee6
e50edc6f4b4bececb13ec4f8b3249418a1b36fb1
/็Ÿฅ่ฏ†ๅฏ่ง†ๅŒ–/urls.py
cd08ec2a6e27c62e174bd5a3a0f06ec0ed71885f
[]
no_license
Fanyunjie/ML-Project
e9b0efb378deaa4bf1d96cad199835f3bbe0d8ee
fba6248f6c978e3add20eaa904107009cadf44cc
refs/heads/master
2022-11-30T08:51:12.319983
2020-08-14T04:35:44
2020-08-14T04:35:44
287,442,250
0
0
null
null
null
null
UTF-8
Python
false
false
1,546
py
"""็Ÿฅ่ฏ†ๅฏ่ง†ๅŒ– 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-based v...
[ "843179781@qq.com" ]
843179781@qq.com
eff067dc97f33395ef1ff5db167fdf8df5d64cba
ec1d4ce3fcbb8057281bee180a936be1767c3fae
/04.py
05d48ecfd651ccdb567cfb3a56625bbab081df0c
[]
no_license
majatrepsic/advent-of-code-2017
fda71a48aee28ffb2e4e4b277655b4f9c4de0d77
c36eb3a7e82b282f39607988f622e4c67fafbd75
refs/heads/master
2021-08-24T11:03:22.033849
2017-12-09T11:51:25
2017-12-09T11:51:25
112,757,282
2
0
null
null
null
null
UTF-8
Python
false
false
1,027
py
import csv # Part one valid_inputs = 0 with open('inputs/04.txt', 'rb') as csvfile: input_reader = csv.reader(csvfile, delimiter=' ') for row in input_reader: # print len(row) # print len(set(row)) if len(row) == len(set(row)): valid_inputs += 1 print valid_inputs # Part ...
[ "maja.trepsic@amphinicy.com" ]
maja.trepsic@amphinicy.com
50530eb0a7d5d0fe82c48791eaa79b4cc8fa29dd
759dd1e7aef4e54fe07c89d4e7289758b6fe18f3
/core/models.py
dc32b9b8dd74e7b56339ed6f083c12ee06c00190
[]
no_license
igoo-Y/iemu11
059e8bcd51764bad6f5adeaca174b013defe35a4
0ed68ec8932ece7e4537d5cee601f5b86fae656d
refs/heads/main
2023-08-18T23:09:55.233882
2021-10-04T11:09:40
2021-10-04T11:09:40
351,639,014
0
0
null
null
null
null
UTF-8
Python
false
false
247
py
from django.db import models class TimeStampedModel(models.Model): """Time Stamed Model Definition""" created = models.DateField(auto_now_add=True) updated = models.DateField(auto_now=True) class Meta: abstract = True
[ "79055280+igoo-Y@users.noreply.github.com" ]
79055280+igoo-Y@users.noreply.github.com
67be5ae559d9805937ef23598331da812d5621e8
f41409cd5bff8ad9dbd2b96f49ff27a733472da5
/agentpool/agentcraw/xiciagent/xiciCraw.py
a19528f4ade6c4ab890d48dcd09f4e58e7333117
[]
no_license
LittleStone8/SBagentpool
3f5229c1dde2d9d6f9ac29e428371b90dcc18c57
0a0302c3763069c11d0b3bf729d6460162bb51d5
refs/heads/master
2020-06-24T02:57:54.795022
2019-07-26T05:47:53
2019-07-26T05:47:53
198,829,367
6
0
null
null
null
null
UTF-8
Python
false
false
1,535
py
from agentpool.agentcraw.xiciagent import xicicommon from agentpool.agentcraw.xiciagent.xiciUrlmanager import xiciUrlmanager from agentpool.agentcraw.xiciagent.xicidownloader import xicidownloader from agentpool.agentcraw.xiciagent.xicioutputer import xicioutputer from agentpool.agentcraw.xiciagent.xiciparser import xi...
[ "262627160@qq.com" ]
262627160@qq.com
7368fbf5331c7acbeec9c4c90da997d2e4fa59e8
d7d27f05de357cfa68f85c3529364409e488622c
/repo/repo
65fb2cde1f75f764db026cd4fcf4d29482857b21
[]
no_license
yuanjianye/software_config
c82949d06f118690911f93bb46d9fee7def82161
a7314c8cef49fa83ede033df2b07b8766567be55
HEAD
2016-09-05T12:28:28.247501
2015-05-14T06:02:01
2015-05-14T06:02:01
35,592,603
1
0
null
null
null
null
UTF-8
Python
false
false
24,140
#! /usr/bin/python ## repo default configuration ## #REPO_URL = 'https://gerrit.googlesource.com/git-repo' REPO_URL = 'root@home.yuanjianye.com:/.storage/git/git-repo' REPO_REV = 'stable' # Copyright (C) 2008 Google Inc. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file e...
[ "yuanjianye@126.com" ]
yuanjianye@126.com
399f348277fb3b7163ca3a4c76f76af5f25d109d
3366e2c70dd863951a3386aa41bf0a00c8b79178
/process_iemocap.py
d2f454b9a90b4d90a42fcc1713a1da822ba48c98
[]
no_license
mia2mia/emotionrecognition
5ec5d9e220dbfe42f2ab926be035c40553f32951
d1915b00f316a2b516050e772e57436c27325e53
refs/heads/master
2022-07-16T16:38:17.816397
2018-08-16T20:02:07
2018-08-16T20:02:07
263,222,665
0
0
null
null
null
null
UTF-8
Python
false
false
5,659
py
import argparse import os from sklearn.utils import shuffle import numpy as np #TODO: import the correct feature extraction function from audio_features import extract_logmel as extract_feat def parse_args(): """Returns dictionary containing CLI arguments""" ap = argparse.ArgumentParser() ap.add_argument(...
[ "deepc94@gmail.com" ]
deepc94@gmail.com
bacc0ed50288fc9e1318a109db7351883c306837
f07a42f652f46106dee4749277d41c302e2b7406
/Data Set/bug-fixing-5/388510f379bf268c9fa7e135007fcf1295a5e82f-<read_sysctl_file>-fix.py
5944de126f95a653371ecd488b692d83c9600aee
[]
no_license
wsgan001/PyFPattern
e0fe06341cc5d51b3ad0fe29b84098d140ed54d1
cc347e32745f99c0cd95e79a18ddacc4574d7faa
refs/heads/main
2023-08-25T23:48:26.112133
2021-10-23T14:11:22
2021-10-23T14:11:22
null
0
0
null
null
null
null
UTF-8
Python
false
false
624
py
def read_sysctl_file(self): lines = [] if os.path.isfile(self.sysctl_file): try: f = open(self.sysctl_file, 'r') lines = f.readlines() f.close() except IOError: e = get_exception() self.module.fail_json(msg=('Failed to open %s: %s' % (s...
[ "dg1732004@smail.nju.edu.cn" ]
dg1732004@smail.nju.edu.cn
603b373c5b40981b400793fb84c38b2fe0e80722
53fab060fa262e5d5026e0807d93c75fb81e67b9
/backup/user_321/ch87_2020_05_06_17_53_40_771914.py
9e76ed669a24108340ce5d59e9ea300a2bd1138d
[]
no_license
gabriellaec/desoft-analise-exercicios
b77c6999424c5ce7e44086a12589a0ad43d6adca
01940ab0897aa6005764fc220b900e4d6161d36b
refs/heads/main
2023-01-31T17:19:42.050628
2020-12-16T05:21:31
2020-12-16T05:21:31
306,735,108
0
0
null
null
null
null
UTF-8
Python
false
false
199
py
with open('churras.txt','r') as texto: conteudo = texto.read n = conteudo.split(',') print (n) del n[0,:,3] valor = 0 i = 0 while i <= len(n): valor += n[i]*n[i+1] i += 2 print(valor)
[ "you@example.com" ]
you@example.com
1c7c47ec1ae65cc25478853c5ec03cb378ba9ce6
3a17482f2229325dda7dfdf74f51b18a69faeb17
/setup.py
5f3688acdef48ff07d79ffb7decf00b496f6cf1d
[]
no_license
Albertomanas/ApiRest_gildedRose
067b4031d455d40053488f713048147dec5edf14
430000567500fed4b6e7e745cf08caccf25c1c2b
refs/heads/master
2022-04-10T10:25:34.205277
2020-03-27T04:12:18
2020-03-27T04:12:18
247,736,498
0
0
null
null
null
null
UTF-8
Python
false
false
1,440
py
import setuptools with open("README.md", "r") as fh: long_description = fh.read() setuptools.setup( name="API REST GildedRose", version="0.0.1", author="dfleta", author_email="gelpiorama@gmail.com", description="API REST Flask example", long_description=long_description, long_descripti...
[ "amanas@cifpfbmoll.eu" ]
amanas@cifpfbmoll.eu
259d2cd92a32309fc550fed0d26e1561a84b8007
e6cd7bc1214ae7a44c3cb789a360e9a840eb8034
/week2/practical3_approximate_matching.py
fb11fdab32e9342cf35b834f063f2b84c27f9179
[]
no_license
MariaTroj/DNA_sequencing_algo
3e93546645c9e96966aeeecacd36c5c06e9541bd
11a45bcdd4d5df3e96ab2ef245b613dca0aa0acf
refs/heads/master
2023-09-03T15:13:44.292655
2021-10-19T11:30:20
2021-10-19T11:30:20
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,254
py
from practical1_boyer_moore import * def approximate_match(pattern: str, text: str, n: int): segment_length = int(round(len(pattern) / (n + 1))) all_matches = set() for i in range(n+1): start = i*segment_length end = min((i+1) * segment_length, len(pattern)) p_bm = BoyerMoore(patte...
[ "maria.a.mierzwa@gmail.com" ]
maria.a.mierzwa@gmail.com
5dbf5f0adba3a36a978555d503f078233ec24a42
ec7359f3c1739d68ee4d18351ee048d7c42d9e5c
/regression/samples/overfitting.py
0c616ec001e19f84937dd3d00b0c0a63f52ef596
[]
no_license
guilhermevarela/machinelearning
381e4db33f6500f07e3886754e94befed9610b84
3af1514c6f6916f51c242648ee185b417736a023
refs/heads/master
2020-12-02T19:33:52.426149
2019-04-02T21:45:12
2019-04-02T21:45:12
96,360,194
0
0
null
null
null
null
UTF-8
Python
false
false
3,670
py
''' Created on May 11, 2017 @author: Varela ''' # notes for this course can be found at: # https://deeplearningcourses.com/c/data-science-linear-regression-in-python # https://www.udemy.com/data-science-linear-regression-in-python import numpy as np import matplotlib.pyplot as plt import aux as ax from regress impor...
[ "guilhermevarela@hotmail.com" ]
guilhermevarela@hotmail.com
f75e0ea9b0d03abe0bb91340f6a38c7ef5450902
02f565644b729c496bb4d802dfc6cb3a5db68ff1
/problems/sum_of_root_to_leaf_binary_numbers.py
bf25156100ee3f75041e482b2c02950d01d394ed
[]
no_license
saubhik/leetcode
99a854ad87272eb82b16f22408ee7314ba0db099
221f0cb3105e4ccaec40cd1d37b9d7d5e218c731
refs/heads/master
2023-04-27T03:11:03.565056
2021-05-17T07:55:22
2021-05-17T07:55:22
275,324,914
3
1
null
2020-10-03T07:06:17
2020-06-27T07:48:37
Python
UTF-8
Python
false
false
949
py
# Definition for a binary tree node. class TreeNode: def __init__(self, val=0, left=None, right=None): self.val = val self.left = left self.right = right class Solution: # Normal DFS. # Time: O(H) = O(N) in worst case of degenerate tree. # Space: O(H) = O(N) in worst case of de...
[ "saubhik.mukherjee@gmail.com" ]
saubhik.mukherjee@gmail.com
d76eac3ec6e96bc0e958803f72c4ec807b4ce5fb
9afbf779eb64a925e379bcd005798ec04c1b7232
/WebScraper/WebScraper.py
4df72dea9228643b671e7dc2c2cfcd61782770ce
[]
no_license
hoomanvhd/Broken_link_finder_in_a_page
1a1124f86163a66231b44bfa055ef6e0115dad68
d7a885021f33e2039057f7cd9d7c6267d3b1a87f
refs/heads/master
2021-05-17T04:14:16.126600
2020-03-27T18:49:49
2020-03-27T18:49:49
250,616,917
1
0
null
null
null
null
UTF-8
Python
false
false
2,087
py
from bs4 import BeautifulSoup import requests from urllib.parse import urlparse, urljoin import urllib.request import colorama colorama.init() green = colorama.Fore.GREEN yellow = colorama.Fore.YELLOW gray = colorama.Fore.LIGHTBLACK_EX red = colorama.Fore.RED reset = colorama.Fore.RESET internal_urls = set() externa...
[ "mahmood.vahedi.94@gmail.com" ]
mahmood.vahedi.94@gmail.com
010571ff13652a4024b55546fc0ae60db508f76c
f781030f19b59d59817e4020b68f2bb1a293e629
/find_best_smoothing_value.py
99c7d5ce7dad4f0516cb4665822e306fcd245b6d
[]
no_license
xchenlp/simplified-lp-nlu-v2
9885e7d32184d6a1910931f59abaf1c2785146ac
e0b00c13f4b08ec9bbd632e58fb4d7fd6f68f4ab
refs/heads/master
2023-01-31T20:27:53.087258
2020-12-09T01:04:31
2020-12-09T01:04:31
318,620,268
0
0
null
null
null
null
UTF-8
Python
false
false
2,963
py
from model import Model import os import pandas from sklearn.metrics import classification_report, f1_score, accuracy_score import argparse os.environ["CUDA_VISIBLE_DEVICES"] = '-1' # disable gpu. This is because on ca-gpu2, the cuDNN version is wrong for tensorflow def main(): f1s, accs = [], [] es = [0.01...
[ "xchen@liveperson.com" ]
xchen@liveperson.com
6309417daf524ad0787d2defa32fb75f0a8a4672
3335d3c7b8eccaeb3a212a9247aa320de9306896
/arboretum/auditree/evidences/repo_metadata.py
f434980da977e6cbc785a2b2ba22413c0dc16ca8
[ "Apache-2.0" ]
permissive
syllogy/auditree-arboretum
6dc3f3e254bc2124b9a1e7860f29040241afb3ce
ed3cdfc7eca3c44591e606178aff00744d3e4e1e
refs/heads/main
2023-03-01T19:34:55.819952
2021-02-15T17:53:31
2021-02-15T17:53:31
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,202
py
# -*- mode:python; coding:utf-8 -*- # Copyright (c) 2020 IBM Corp. 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 # # ...
[ "noreply@github.com" ]
syllogy.noreply@github.com
bfeef4f3238d108628c91eff7054ab03319a3c5d
d21f40ea0014950437e06c0ffb688b407e359a56
/utilities/config.py
7215bbcd7d43042448206ed0294f51985588258f
[]
no_license
slimanihajar/flights-delta-lake
7b8d54544ba7ab77457deb26a01715c74750dd8a
2d2bc36bc508d6dd4dd76ac16cf47ab9008e66c9
refs/heads/main
2023-08-13T19:47:40.949018
2021-09-29T12:35:41
2021-09-29T12:35:41
null
0
0
null
null
null
null
UTF-8
Python
false
false
5,051
py
#!/c/Users/aghar/anaconda3/envs/ds/python # -*- coding: utf-8 -*- # # PROGRAMMER: Ahmed Gharib # DATE CREATED: 20/06/2021 # REVISED DATE: # PURPOSE: Configuration file to hold all the variables and import needed for DEND project # ## # Imports python modules import os import pandas as pd import logging from IPython.cor...
[ "a.gharib89@yahoo.com" ]
a.gharib89@yahoo.com
7de2176332b55861a0bb08f58d2b7caa91fa5460
77b3923245bd7b4a215471067548d1aeb9c8d8c0
/fboss/system_tests/test_server.py
09fd3e7fcf0fdec66bad1a6a34595c791128fe76
[ "BSD-3-Clause" ]
permissive
nanokinetics/fboss
95682f29aa77bd465ee64f54cad9f41789c9f66b
2e4799aefaddd5ef5f82002c6d31538257b90460
refs/heads/master
2021-04-14T04:41:36.688789
2018-03-22T23:02:18
2018-03-22T23:17:48
null
0
0
null
null
null
null
UTF-8
Python
false
false
12,250
py
from __future__ import absolute_import from __future__ import division from __future__ import print_function from __future__ import unicode_literals """ A service to run on testing hosts, so that we can source traffic, sync traffic, etc. Modeled after pyserver example in open source https://github.com/facebook/fbthri...
[ "facebook-github-bot@users.noreply.github.com" ]
facebook-github-bot@users.noreply.github.com
9b94651beea06eff8912c9e6c4fa33218dddd01b
0bfb0c59bdaf3a8999f22abc9a177ba0560817cc
/fgiggle/manage.py
e58288544eb6dfd6b05827602c2a0384d52d93e5
[]
no_license
CristiBalu/furry-giggle
0b51bf7d61ac4beb9d8ed7725c932dc09841418c
81521cc52f3b8fddcc2527dfb34867a21323a4b7
refs/heads/master
2020-04-19T04:05:32.567934
2016-09-07T22:05:44
2016-09-07T22:05:44
67,527,854
0
0
null
null
null
null
UTF-8
Python
false
false
250
py
#!/usr/bin/env python import os import sys if __name__ == "__main__": os.environ.setdefault("DJANGO_SETTINGS_MODULE", "fgiggle.settings") from django.core.management import execute_from_command_line execute_from_command_line(sys.argv)
[ "sb720@exeter.ac.uk" ]
sb720@exeter.ac.uk
991297ff8bc64fc31dcaf0117b5a96ea34df9c31
2579392850ca0534d98b391bae670b578792ff3f
/historical/tests/test_commons.py
37802929ba4e1335a852fe4644105623bbf7fce8
[ "Apache-2.0" ]
permissive
shdobxr/historical
7bf4b6db357d78065b7ed31d77b7b237ee61d031
05a8473fb5fc00233fdbb0974c515110dc64ffbc
refs/heads/master
2020-03-24T09:10:19.330468
2018-07-26T20:31:18
2018-07-26T20:31:18
null
0
0
null
null
null
null
UTF-8
Python
false
false
9,057
py
""" .. module: historical.tests.test_commons :platform: Unix :copyright: (c) 2017 by Netflix Inc., see AUTHORS for more :license: Apache, see LICENSE for more details. .. author:: Mike Grima <mgrima@netflix.com> """ import json from datetime import datetime import pytest from historical.common.exceptions...
[ "mgrima@netflix.com" ]
mgrima@netflix.com
9459684b423408f0e0e297ebd428202457793f54
bfd523ae160a49e24c9529dbbf6eb151c1790b2c
/localizacao/migrations/0001_initial.py
c406ff375662ebd56882ed26ca894e8712b6c5e7
[]
no_license
FilipeBP/DjangoAPI
bad1d5b273fa0795e2ad1abf9c206998b46c0504
b05d9f46901597d95b1f2dd39bfd429bbdfbd0cc
refs/heads/master
2020-09-08T09:11:56.469188
2019-11-16T19:13:07
2019-11-16T19:13:07
221,089,038
0
0
null
null
null
null
UTF-8
Python
false
false
834
py
# Generated by Django 2.2.7 on 2019-11-13 20:46 from django.db import migrations, models class Migration(migrations.Migration): initial = True dependencies = [ ] operations = [ migrations.CreateModel( name='Localization', fields=[ ('id', models.AutoF...
[ "filipebritoperez@hotmail.com" ]
filipebritoperez@hotmail.com
a23aa3dc313e6e4ce01499017354a5d938c4d720
4c15467527b2526cb24e543868b4b4249949b4d4
/main.py
c606b82bbe05f5c085945c4adaf02f820f2365b9
[]
no_license
reergymerej/chords
9cd3f4170a5361d715a9c04b2d0f62feb222f05a
878113d95823431b0a4217e386d8aa3f8c11ab5c
refs/heads/master
2021-09-03T11:56:11.743040
2018-01-08T21:56:22
2018-01-08T21:56:22
115,677,340
0
0
null
null
null
null
UTF-8
Python
false
false
1,930
py
#!/usr/bin/env python3 print("Give me a root note.") NOTES = [ 'A', 'Bโ™ญ', 'B', 'C', 'Cโ™ฏ', 'D', 'Eโ™ญ', 'E', 'F', 'Fโ™ฏ', 'G', 'Gโ™ฏ', ] def validate_note(note): return note.upper() in NOTES def interpret_note_varian...
[ "jeremy.greer.atl@gmail.com" ]
jeremy.greer.atl@gmail.com
2ae0490a8033275531c9922d8b3dbeb36687774c
2ed1b17c2bd710a1cb31d5e6e7956297a374a8f6
/04-Evr_List_Comprehensions/Solved/comprehensions.py
c45261007e8c2e6730273eefa277f6e2845eb86f
[]
no_license
jzcapets/09PythonActivities2
cf5910dc1212dcb6195936f0cb0b36b08d7b30f0
7f2998cda57fa7f43a6ac6c610eb35f68abd8983
refs/heads/master
2020-11-27T12:41:40.663968
2019-12-21T15:11:43
2019-12-21T15:11:43
229,444,337
0
0
null
null
null
null
UTF-8
Python
false
false
968
py
fish = "halibut" # Loop through each letter in the string # and push to an array letters = [] for letter in fish: letters.append(letter) print(letters) # List comprehensions provide concise syntax for creating lists letters = [letter for letter in fish] print(letters) # We can manipulate each el...
[ "noreply@github.com" ]
jzcapets.noreply@github.com
bc3244f2e25658027cd449260e5ba51108e15589
2d56818b961354d1aed1f4884eeacfa5390a236f
/Day 9/day9_starting_code.py
aa4be2b5d8b2470e223af316bae473703566dbf3
[]
no_license
bayramhayri/100DaysOfPython
675a6ece8cbb45b47af7d95e8f881b623877dd25
f3dae0882055f11f65f02ac3b86702ecd154d5d6
refs/heads/main
2023-01-23T16:30:34.561243
2020-12-05T14:23:08
2020-12-05T14:23:08
312,025,224
0
0
null
null
null
null
UTF-8
Python
false
false
740
py
programming_dictionary = { "Bug": "An error in a program that prevents the program from running as expected.", "Function": "A piece of code that you can easily call over and over again." } print(programming_dictionary["Bug"]) # Adding new items to dictionary. programming_dictionary["Loop"] = "The action of do...
[ "bayramhayri@gmail.com" ]
bayramhayri@gmail.com
ec916814fa9524bc04235e34b57fdd9c3a848dc7
678864ef6b96ca59c5de29dab0047f6b7cc7463a
/libs/SmartMeshSDK/ApiDefinition/IpMgrDefinition.py
9dd1768799bb4cc3d972f6237ea4bfa323ccba15
[]
no_license
ddidiy/smartmeshsdk
c880f894a7f45a38af15d2f427a742115d1b744d
947224c945e560854ff3e80d142a79077c267671
refs/heads/master
2021-01-12T19:24:18.464870
2016-08-04T19:05:02
2016-08-04T19:05:02
null
0
0
null
null
null
null
UTF-8
Python
false
false
77,802
py
#!/usr/bin/python import ApiDefinition import ByteArraySerializer class IpMgrDefinition(ApiDefinition.ApiDefinition): ''' \ingroup ApiDefinition \brief API definition for the IP manager. \note This class inherits from ApiDefinition. It redefines the attributes of its par...
[ "twatteyne@linear.com" ]
twatteyne@linear.com
361d332a36051cf2846855e434f8291687e94b7a
0c6332a4ab51a2b762d74c6a73b321838637fa06
/Haystome2/wsgi.py
b04a2d7141c334fa57e2376e242c5508d348ce4a
[]
no_license
bopopescu/Haystome
58d097125506a35b4ded60f52d8ab9ff28060c25
9242f96a17fdd63696179e9015f54f7b1e000d9b
refs/heads/master
2022-11-20T01:33:20.999462
2019-12-05T01:31:41
2019-12-05T01:31:41
280,994,289
0
0
null
2020-07-20T02:33:35
2020-07-20T02:33:34
null
UTF-8
Python
false
false
395
py
""" WSGI config for Haystome2 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_SET...
[ "tan.rathanah@gmail.com" ]
tan.rathanah@gmail.com
fb86da0ccb95eb27bef39c4322166f68a0ee5aaa
4acab9fb77c551ee58b00df025431376f11106be
/1. PythonChallenges/reverse.py
b7621e2809df5f1ec1bf36231f485545e94ccaab
[]
no_license
MakeSchool-17/twitter-bot-python-samlee405
e7404f278eeb07097577eefbe5f549e450087089
09a14af858af89292d4d636d91f7be2d35118cfe
refs/heads/master
2021-01-18T23:07:09.913608
2016-11-28T21:24:44
2016-11-28T21:24:44
72,684,235
1
0
null
null
null
null
UTF-8
Python
false
false
344
py
import sys def main(): argumentList = sys.argv del argumentList[0] inputString = " ".join(argumentList) newString = "" index = len(inputString) for _ in range(0, index): newString = newString + inputString[index - 1] index = index - 1 print("The reverse of your string is:...
[ "samlee405@yahoo.com" ]
samlee405@yahoo.com
2c7925a442418e9717b78845dced5ee0d39b26da
d7775fa094ce48785c4a9abbc00ed1e3cd3a8ba8
/api/tests/test_hotel.py
7907bba8fd4281d2ecac2e1bec6f9efdce4c25b3
[]
no_license
fabricioadenir/tourismAPI
75580ef45ef51f9123dc6879ef9ed9c1e9b956f1
8e65dcde7c03fc2fbf8d015b6db2ebc96fbcefdb
refs/heads/main
2023-02-17T19:16:01.613525
2021-01-19T16:50:31
2021-01-19T16:50:31
321,408,077
0
0
null
2021-01-19T16:50:32
2020-12-14T16:31:38
Python
UTF-8
Python
false
false
2,009
py
from django.test import TestCase from rest_framework.test import APIRequestFactory from rest_framework.test import force_authenticate from django.contrib.auth.models import User from api.models import Hotel, Category, City, Country from api.views import HotelViewSet class HotelViewSetTestClass(TestCase): """ ...
[ "fabricio.adenir@softplan.com.br" ]
fabricio.adenir@softplan.com.br
a5cd54ab133af5c5678d2b51970ce91d246f1b8b
c4c63c0ee30b655ef335afa6bce361746be27d9f
/app/User/models.py
221e561bd86cb7f0a2713eea845b34d931fc93a4
[]
no_license
neofit77/food-recipes-web-service
6227bec14627cf9c52af6203b40794c57eedfd52
e16faaf13b9dff933e0c0655f47ec00fafe256f1
refs/heads/main
2023-07-14T19:43:02.850531
2021-08-20T08:50:13
2021-08-20T08:50:13
396,765,256
0
0
null
null
null
null
UTF-8
Python
false
false
2,055
py
from django.db import models from django.contrib.auth.models import AbstractBaseUser, BaseUserManager, PermissionsMixin from django.db import models from rest_framework_simplejwt.tokens import RefreshToken from django.contrib.auth.hashers import make_password class UserManager(BaseUserManager): """Overide default ...
[ "aleksandar.petrovicvr@gmail.com" ]
aleksandar.petrovicvr@gmail.com
97beaeedfc15447c373d82819beeb0e8631738aa
d4a891ea1d8fd87068daee7a8dfa2f0968add0e7
/MyDProject/album/migrations/0002_belongs.py
5bdc046e16da380927217a08d90683406b4505de
[]
no_license
pravinkmrp/MyProjectRepo
f5a320ba0604b37ae69ee932444e283697910dfe
68ce63aed02cd7cbef7a07b01ba0553b256e8700
refs/heads/master
2021-01-22T02:34:22.026108
2020-09-17T11:48:43
2020-09-17T11:48:43
30,541,674
0
0
null
null
null
null
UTF-8
Python
false
false
685
py
# -*- coding: utf-8 -*- from __future__ import unicode_literals from django.db import models, migrations class Migration(migrations.Migration): dependencies = [ ('album', '0001_initial'), ] operations = [ migrations.CreateModel( name='Belongs', fields=[ ...
[ "pravinkmrp@gmail.com" ]
pravinkmrp@gmail.com
950f014ebeca729c8a7fc11225d996b5ce09836c
ead3782e2d3cd07bf0b513ce5bf4b0a9f443e8e0
/classes_play.py
66933044fd66f5bfccf0c4e0f14a7e740a4f74a8
[]
no_license
racinmat/kralupy_coding
013fa6209ef6de9c633563f5609fc6ef018c61b2
c61646c3fbe38c95d46900c398b4d34143d063d0
refs/heads/master
2020-07-06T03:27:54.614442
2019-08-25T09:52:32
2019-08-25T09:52:32
202,874,065
0
0
null
null
null
null
UTF-8
Python
false
false
2,869
py
class Inventory: my_items = [] def __init__(self, items) -> None: super().__init__() self.items = items print('jรก jsem konstruktor') def filled_size(self): return len(self.items) def __repr__(self) -> str: return f'Inventory(items={self._items})' def __co...
[ "racinmat@fel.cvut.cz" ]
racinmat@fel.cvut.cz
4803c21ff84494043745787f4b9e8fcf6ed4cefc
54ba419e5bad49858f6a861472c98ef307cf25d3
/pages/views.py
0e93366dc22b857ae6c8bc64f812d9eb06f630d5
[]
no_license
shuvo14051/real-estate51
84ccbd777e29598f50fd55efc2adc4ceebe51119
13987bcad3395cfe1a78decdda809ddf11a891da
refs/heads/master
2022-11-30T22:36:55.300239
2020-08-16T10:08:22
2020-08-16T10:08:22
287,917,958
0
0
null
null
null
null
UTF-8
Python
false
false
807
py
from django.shortcuts import render from listings.choice import price_choices, bedroom_choices, state_choices from listings.models import Listing from realtors.models import Realtor def index(request): listings = Listing.objects.order_by('-list_date').filter(is_published = True)[:3] context = { 'list...
[ "shuvo1137017@gmail.com" ]
shuvo1137017@gmail.com
e4436c2940f82a4b464c4040bf76269a52189500
286b6dc56323f982092ffafbfac8a32dbbaeb7ef
/training_assignments/Day_05/logging_1.py
ab38671c36e6f080f41b3a6e1bf5506b890b451a
[]
no_license
learndevops19/pythonTraining-CalsoftInc
ccee0d90aadc00bfdb17f9578620f6bf92f80a4c
c5f61516b835339b394876edd1c6f62e7cc6f0c3
refs/heads/master
2021-02-05T04:27:17.590913
2019-11-20T17:27:06
2019-11-20T17:27:06
null
0
0
null
null
null
null
UTF-8
Python
false
false
502
py
import logging logging.basicConfig(level=logging.DEBUG) logger = logging.getLogger(__name__) def Add(a ,b): logger.info("in Add function") return a+b def Sub(a ,b): logger.info("in sub function") return a-b def Mul(a ,b): logger.info("in mul function") return a*b def Div(a ,b): logger.i...
[ "rajpratik71@gmail.com" ]
rajpratik71@gmail.com
393532f42e7a054d841d2b238db0d1525894c730
3a298c93b67386392d3dee243671f2c101decf01
/leetcode/patterns/08-tree-dfs/15_delete_nodes_and_return_forest.py
004f1730162a62940d860e9aa5c02e17c05792eb
[]
no_license
Zahidsqldba07/coding-problems-2
ffbc8408e4408fc846c828af2ec50a9d72e799bc
020bffbd14ca9993f1e678181ee7df761f1533de
refs/heads/master
2023-06-26T11:05:34.089697
2021-07-21T15:16:10
2021-07-21T15:16:10
null
0
0
null
null
null
null
UTF-8
Python
false
false
722
py
class Solution: def delNodes(self, root, to_delete): self.nodes = [] self.toDelete = set(to_delete) self.delNodesRec(root) if not root.val in self.toDelete: self.nodes.append(root) return self.nodes def delNodesRec(self, node): ...
[ "alvee.akand@outlook.com" ]
alvee.akand@outlook.com
ae60e70aebbd79c68c1790edc4625e528d4ed8a9
6e8b920ddc4ac45c80796e4db08c12ce65058429
/Python/Black-Hat-Python/chapter 2/tcpsclient-gui.py
8c6526db1341042d08f8e14f1ae20088ae7a15df
[]
no_license
arpbadger/Library
d4a892c77917b593a457ebda5ca40dacf1ec99ce
a078fe30f62160a82d798d86e1fa6224116da018
refs/heads/master
2020-06-07T20:45:36.143018
2019-07-23T00:46:44
2019-07-23T00:46:44
193,090,914
0
0
null
2019-07-23T00:46:45
2019-06-21T12:03:02
C
UTF-8
Python
false
false
2,063
py
# tcpclient-badger-gui # developed by arpbadger with assistance from Justic Seitz, "Black Hat Python" # The GUI version of tcpclient-badger from Tkinter import * import socket target_host = "" target_port = 0 # Pring title page def title_sequence(): print (''' __ _ _ ___ ...
[ "arpbadger@protonmail.com" ]
arpbadger@protonmail.com
c546a6a6e6f1bac8f1c5d07cc5d4459195450daa
85c4417294b234ba3e3ef652d1cd5724706d77e1
/main.py
1b28738b21267e9c7370c316182d6fb723630add
[]
no_license
iamabdil/workout-tracker
e9df8e0df4d7f9bdf3442f1056f8dcdb19d78b2d
e552de4246c14c3df9377015b6f4deea91d63bd2
refs/heads/master
2023-04-25T22:37:07.870057
2021-05-21T19:10:47
2021-05-21T19:10:47
369,631,270
0
0
null
null
null
null
UTF-8
Python
false
false
1,761
py
import requests from datetime import datetime import os GENDER = "Male" WEIGHT_KG = 81 HEIGHT_CM = 179 AGE = 22 # APP_ID = "63c48190" APP_ID = os.environ['APP_ID'] # API_KEY = "36924c0dc3e1dea5ddc559a75ad334e0" API_KEY = os.environ['API_KEY'] USERNAME = "" USERNAME = os.environ['USERNAME'] PROJECT_NAME = "Workout Tr...
[ "51669829+iamabdil@users.noreply.github.com" ]
51669829+iamabdil@users.noreply.github.com
c47940f8d078b632487c905152a5da7ba9ea90a7
98731548daa91f8f7c10e0bd41e6f5dc59f8cdf7
/zArchive/datastore-2014/intro_datastore.py
f576a6cec34cc6df1de48cf18b0411a18a3e1c77
[ "MIT" ]
permissive
topquark28/CSSI-2016
3ae52686abfc208684cdfb9843e4e8bf51f6e493
42b82462fc58fd3f454e2529e860d5edc0548e7f
refs/heads/master
2020-12-25T10:59:12.837422
2016-07-20T05:58:47
2016-07-20T05:58:47
63,488,363
0
0
null
null
null
null
UTF-8
Python
false
false
203
py
from google.appengine.ext import ndb class Student(ndb.Model): name = ndb.StringProperty(required=True) university = ndb.StringProperty(required=True) birthday = ndb.DateProperty(required=False)
[ "reimerc@gmail.com" ]
reimerc@gmail.com
ce175b4964ee84d489102bcbf273165ae4966f89
1023fbd328d001782fdc42a9f2b81d2ac715704a
/01-Neural_Networks_and_Deep_Learning/week4/py-project2/dnn_app_utils_v2.py
057ed658f1d64bf98464b00feb95597d3cc2b5ae
[]
no_license
Qu-rixin/deeplearning.ai-notes
a7868ce6b4fc87f266a41bccf3887fa95705bc67
fb217a0fd4be79846be1e069c9baea2221689fa5
refs/heads/master
2020-09-02T14:56:16.851256
2019-11-03T12:01:02
2019-11-03T12:01:02
209,943,381
0
0
null
null
null
null
UTF-8
Python
false
false
17,199
py
import numpy as np import matplotlib.pyplot as plt import h5py def sigmoid(Z): """ Implements the sigmoid activation in numpy Arguments: Z -- numpy array of any shape Returns: A -- output of sigmoid(z), same shape as Z cache -- returns Z as well, useful during backp...
[ "noreply@github.com" ]
Qu-rixin.noreply@github.com
1641dbf439c23db22eef588cd46047788da9152a
6968d37d97727685af9e413d34fd8cd9004c836e
/blog/migrations/0002_auto_20200630_2248.py
74544862a11349c0d0a8d5191e6e5a1e8eef507e
[]
no_license
eunjungleo/0715lecnote
6ef8c7992c6c82fd49a2f8059c1a78f7e9ade3e9
a6b93279c1ad806e1a9297cc3be325b8a237bc3e
refs/heads/master
2022-11-17T12:55:08.289124
2020-07-15T11:26:35
2020-07-15T11:26:35
279,613,525
0
0
null
null
null
null
UTF-8
Python
false
false
731
py
# Generated by Django 3.0.7 on 2020-06-30 13:48 from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): dependencies = [ ('blog', '0001_initial'), ] operations = [ migrations.AlterField( model_name='comment', ...
[ "asaprocky123@likelion.org" ]
asaprocky123@likelion.org
d000a16a23df4f4f7a6039f2585d22f6f582f620
d829c090d178a1bca976a4299014c46e0fbac24b
/push/push.py
10c6881e00019cf8d126cece53945f586d4bbf33
[ "MIT" ]
permissive
quannv108/redis_fifo_clients
9bdab30daad86caff8b5b37f8e77d8282f7bb175
880c2ea1c7e49f39dc74e16d3b2dd96e9ff1c9e4
refs/heads/master
2022-02-24T04:16:01.095022
2019-10-04T07:17:14
2019-10-04T07:17:14
212,522,124
2
0
null
null
null
null
UTF-8
Python
false
false
411
py
import redis import os import time from datetime import datetime if __name__ == '__main__': print('push starting...') redis_conn = redis.Redis(host=os.getenv('HOST'), port=6379, db=0) count = 0 while True: time.sleep(3) now = datetime.now() print('will push value {}'.format(now)...
[ "quannv@d-soft.com.vn" ]
quannv@d-soft.com.vn
fc347e03429f8460b8f3300c15f04c370a519892
c61a28aba19f7cdf9a5127e8a782bf115c265e70
/env/bin/pygmentize
71647a426bbc992d8f9a844ab9330a2cd73d7788
[]
no_license
sharmilaviji/RecruitPRO-NEW
fa72c8fc00f469a41798b1047c11dcc470fbc495
dcfaedebe56b45acd6ddcab7e24c939b853a2c8c
refs/heads/master
2021-05-26T12:14:12.611154
2020-04-27T04:40:50
2020-04-27T04:40:50
254,125,640
1
0
null
null
null
null
UTF-8
Python
false
false
242
#!/home/sharmila/frappe-bench/env/bin/python3 # -*- coding: utf-8 -*- import re import sys from pygments.cmdline import main if __name__ == '__main__': sys.argv[0] = re.sub(r'(-script\.pyw|\.exe)?$', '', sys.argv[0]) sys.exit(main())
[ "sharmiviji1997@gmail.com" ]
sharmiviji1997@gmail.com
23c3506556a0d679d371d7221560b44fc26c5655
6514c3c286e8637e9d73fe140df61e260394e655
/vault/forms.py
84d2c5d438d66e6290da87d0f7aff7f2afef02c7
[]
no_license
Duncan-Stout/your_vault
3b8ceb785388c6c5f7b783d072dc137907b5ee85
4cf079dbef98a04d28498c7ec4fa7556e561f638
refs/heads/main
2023-02-12T05:50:43.776694
2020-11-28T09:39:11
2020-11-28T09:39:11
312,155,154
0
0
null
null
null
null
UTF-8
Python
false
false
131
py
from django import forms class UploadfileForm(forms.Form): title = forms.CharField(max_length=50) file = forms.FileField()
[ "destout1983@yahoo.com" ]
destout1983@yahoo.com
7a8e55bc4d5539029e8c24e20c1d25272b887f74
62f271853955906d3c2898f357c65945a0b38998
/py_dj_blog/wsgi.py
6d936bdf523dcd65ba59226562454833795d077a
[]
no_license
shootie007/py_dj_blog
46bd9cc65cf98a4e9065223c9132ee9930a95245
9e018201e8550dd92bd1c0d275f46c4498de55a0
refs/heads/master
2022-12-04T11:10:57.086828
2020-08-28T07:50:07
2020-08-28T07:50:07
285,501,370
0
0
null
null
null
null
UTF-8
Python
false
false
397
py
""" WSGI config for py_dj_blog project. It exposes the WSGI callable as a module-level variable named ``application``. For more information on this file, see https://docs.djangoproject.com/en/3.1/howto/deployment/wsgi/ """ import os from django.core.wsgi import get_wsgi_application os.environ.setdefault('DJANGO_SE...
[ "shoot@Shootie-MacBook.local" ]
shoot@Shootie-MacBook.local
2dbb562e94ee2bfe30d7a41946ff1b5bca578a55
11fc58b24edc43f00cba7bf029fe498b7beb493d
/lab project/mysite/mysite/urls.py
12dfe9c0586bc409f5b73c24bf7f18b563bd452b
[]
no_license
AndrewZhou924/Bootstrap_Django_website
ab460a2f45b75d0bf3cce9167def5571cf872d87
7f565ef56a5859092535b953f90f3a4b6169233b
refs/heads/master
2022-12-04T18:14:31.799855
2019-07-01T07:12:24
2019-07-01T07:12:24
193,053,240
0
0
null
2022-11-22T03:15:07
2019-06-21T07:35:19
JavaScript
UTF-8
Python
false
false
1,029
py
"""mysite URL Configuration The `urlpatterns` list routes URLs to views. For more information please see: https://docs.djangoproject.com/en/2.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-based ...
[ "andrewzhou924@gmail.com" ]
andrewzhou924@gmail.com
a545ac2c798829459b6312574645abf1a5576465
94d065f032359c0c7f18f5c8cba933dde14d3f95
/train.py
1616e35044629e87e7b0b512a1a8a8bf23415f2f
[]
no_license
smartprobe/HGNN
d57350e19274a9364ec50093af1d1c2e402f2153
6c68c42fff55057ec5e14185e51b7449293a4583
refs/heads/main
2023-01-25T05:21:46.183436
2020-12-10T12:15:05
2020-12-10T12:15:05
320,261,591
3
2
null
null
null
null
UTF-8
Python
false
false
22,421
py
from torchtools import * from data import MiniImagenetLoader,TieredImagenetLoader from model import EmbeddingImagenet, Unet,Unet2 import shutil import os import random import time class ModelTrainer(object): def __init__(self, enc_module, unet_module, data_loader)...
[ "noreply@github.com" ]
smartprobe.noreply@github.com
fbec8e03c0fe27c466c4d49ca9f37570fa8f45b3
d28df0e0ec46aa47d75273e55dad5bba34162919
/InitUser/wsgi.py
8c8f8275895d5ab3237d295335142d525a115d9e
[]
no_license
sarudalf3/Django_register
0a85e7215f809a3d0bdc4392b3c576018b08c87f
f5d2c61e15949ce22337f992a8c17769991299c5
refs/heads/master
2023-07-17T13:44:30.502860
2021-09-02T00:52:28
2021-09-02T00:52:28
402,244,068
0
0
null
null
null
null
UTF-8
Python
false
false
393
py
""" WSGI config for InitUser project. It exposes the WSGI callable as a module-level variable named ``application``. For more information on this file, see https://docs.djangoproject.com/en/3.2/howto/deployment/wsgi/ """ import os from django.core.wsgi import get_wsgi_application os.environ.setdefault('DJANGO_SETT...
[ "ruben.miranda.f@gmail.com" ]
ruben.miranda.f@gmail.com
059f8ab0f37b5e7f40886a1a96270d144121d038
f320256bf4cd65db7a8bc0cd6fe61131cd1903d7
/pondpi/ui/views/index.py
3ae374badc357aabeea3e6a4ad96712ca9a488a8
[ "MIT" ]
permissive
meinjens/pondpi
6bc1a9648a42bc25135b7a99058cdb6ddb0b5c46
f6830d0d834b685bff2729943188171096f31c93
refs/heads/main
2023-05-13T22:28:49.098092
2023-01-28T14:19:50
2023-01-28T14:19:50
354,050,540
0
0
MIT
2023-05-01T22:44:37
2021-04-02T14:56:55
Jinja
UTF-8
Python
false
false
373
py
import flask from pondpi.ui import ui @ui.route('/', methods=["GET"]) def index(): return flask.render_template('start.html') @ui.route('/dashboard', methods=["GET"]) def dashboard(): return flask.render_template('dashboard.html') @ui.route('/control-station', methods=["GET"]) def control_station(): ...
[ "1739138+meinjens@users.noreply.github.com" ]
1739138+meinjens@users.noreply.github.com
c09fbb5af4bd07204b3f6165d002d80a474d3891
9fb8ba88d50ffba4e9ad4f3fb4cfd7c5d13f3591
/new/read_xml.py
93b34d9bb50bfb872bb4f5b66487d06f7f93449b
[]
no_license
joshsomma/python_webdata
b35e4903ca63b8f17493de32e8d24222107f6401
017673bd89ca2ec7af52a3dc214f06f1464d2831
refs/heads/master
2016-08-10T15:31:13.071254
2016-02-07T00:26:18
2016-02-07T00:26:18
45,772,812
0
0
null
null
null
null
UTF-8
Python
false
false
420
py
# import libs import urllib import xml.etree.ElementTree as ET # prompt to enter data location address = raw_input('Enter location: ') print 'Retrieving', address # open and store data from location uh = urllib.urlopen(address) data = uh.read() # parse data in object tree = ET.fromstring(data) total = 0 for num i...
[ "jsomma@squiz.com" ]
jsomma@squiz.com
db876c2995e00f27fc4d14a58b98efde7091f4a1
3b5f7fe204a3f2f8d0534e7f02bc4aa517e12d70
/wargaming/games/wot/__init__.py
7a957b218e13abcfe313079ae9bc77ed6c89ccba
[ "MIT" ]
permissive
cstrutton/python-wargaming
1916d45cad1ca5a490342253a2f6f41427afeb50
8a446b5c34a55025dd961438d6b67a3a0a186791
refs/heads/master
2020-12-29T18:52:23.411208
2014-11-26T15:12:01
2014-11-26T15:12:01
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,308
py
# -*- coding: utf-8 -*- import six from wargaming import settings from wargaming.api import BaseAPI, MetaAPI from wargaming.games.wot.accounts import Accounts from wargaming.games.wot.auth import Auth from wargaming.games.wot.clans import Clans from wargaming.games.wot.globalwar import GlobalWar from wargaming.games....
[ "self@svartalf.info" ]
self@svartalf.info
4b4a3d00e0c59dfe5920fc6020a70ade72ea8065
0e26592078429d8b0b3da25e797128f72938b311
/ๆ•ฐๅญ—ไฟกๅทๅค„็†ๅฎž้ชŒ/2.2.py
c0aa3bac0692a05600e274f97181bdfcc0d8f226
[]
no_license
wrh2048470785/2
e67c144243c9a64cc3dc5935e46ebd820ddfdc62
de15509e3d32bcbdd79a2d8a2a7c75eb3bf09240
refs/heads/main
2023-06-08T03:48:25.054502
2021-06-30T07:51:15
2021-06-30T07:51:15
366,720,162
0
0
null
null
null
null
UTF-8
Python
false
false
1,667
py
from thinkdsp import Sinusoid from thinkdsp import normalize, unbias import numpy as np import matplotlib.pyplot as plt from thinkdsp import SquareSignal from thinkdsp import TriangleSignal class SawtoothSignal(Sinusoid): '''้”ฏ้ฝฟๆณข็š„็ฑป''' def evaluate(self, ts): #cycleๆ˜ฏ่‡ช่ตทๅง‹ๆ—ถ้—ด็š„ๅ‘จๆœŸๆ•ฐ cycles ...
[ "noreply@github.com" ]
wrh2048470785.noreply@github.com
37e661602813c679895aa41f210f591c32611488
d4ea1f4955863aa2a013c6f3ae206675cf437f51
/code-examples/mapreduce/wc_mapper.py
dc4fac9cfe07f66eda851d2ff279f984a56f6f1e
[]
no_license
SolGirouard/css
b20cec0df4c011603ec717512bbcd00016442cf1
fcf6fde063f290cb6a2fa7eedb288da810046dc9
refs/heads/master
2021-01-19T13:22:49.670095
2017-05-05T22:50:31
2017-05-05T22:50:31
null
0
0
null
null
null
null
UTF-8
Python
false
false
611
py
#!/usr/bin/env python2 """Example mapper module for counting words via map-reduce. This file is saved as wc_mapper.py with execute permission (chmod +x wc_mapper.py)""" import sys def main(): """Take lines from stdin and emit each word with count 1. This is for illustration purposes, treating any string s...
[ "jongbin@stanford.edu" ]
jongbin@stanford.edu
7dc97045f49c5a4732e198885b55b6eca8057611
b92adbd59161b701be466b3dbeab34e2b2aaf488
/.c9/metadata/environment/fb_post_learning/fb_post/utils/__init__.py
da90613ab5a9ef0bd8b13998516cf28468ee3e78
[]
no_license
R151865/cloud_9_files
7486fede7af4db4572f1b8033990a0f07f8749e8
a468c44e9aee4a37dea3c8c9188c6c06e91cc0c4
refs/heads/master
2022-11-22T10:45:39.439033
2020-07-23T09:31:52
2020-07-23T09:31:52
281,904,416
0
1
null
2022-11-20T00:47:10
2020-07-23T09:08:48
Python
UTF-8
Python
false
false
24,199
py
{"filter":false,"title":"__init__.py","tooltip":"/fb_post_learning/fb_post/utils/__init__.py","undoManager":{"mark":93,"position":93,"stack":[[{"start":{"row":0,"column":0},"end":{"row":30,"column":12},"action":"insert","lines":["from .create_comment import create_comment","from .create_post import create_post","from ....
[ "r151865@rguktrkv.ac.in" ]
r151865@rguktrkv.ac.in
0a2ef5825e62d7df2aea484feabf55d8d106bc18
225a5b040c0fdb758b5077fe779315339c46d828
/detect/lib/prepare_training_data/txt2voc.py
a9d2a5dc0bc735793aa56d09e83c83c2b6458e7c
[]
no_license
RobotWithCV/ocrui
b9b37cf238f97cddd70024bc27946754f476bbd2
459c82e8e31831533c4b60ac3e90b90ce68b9a9e
refs/heads/master
2020-05-19T18:31:33.281564
2018-08-15T12:34:18
2018-08-15T12:34:18
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,584
py
import os import numpy as np import math import cv2 as cv root = '/home/deeple/project/ctpn/text-detection-ctpn/data/0730/' path = root + 'errdata' gt_path = root + 'errlabel_txt' out_path = 're_image' if not os.path.exists(out_path): os.makedirs(out_path) files = os.listdir(path) files.sort() #files=files[:100] f...
[ "651238355@qq.com" ]
651238355@qq.com
67e65c9303e2f35244f9a50b2a85e1d3d3956dbb
82b69271d5473d538fb9230c0cc316d5cd5bd5f3
/tests/settings.py
b123d7fec0420117c939a67c94b21990a38fb8a7
[ "MIT" ]
permissive
aaloy/django-simple-options
3ade7369eaebd15bc4d0af7f1d1ba458b15b7c22
3199faf5da34e6cb05fc7dab4890a6f32b1f5217
refs/heads/master
2020-06-12T02:33:45.489231
2019-06-28T15:43:43
2019-06-28T15:43:43
194,169,633
0
0
MIT
2019-06-27T22:12:48
2019-06-27T22:12:48
null
UTF-8
Python
false
false
487
py
# -*- coding: utf-8 -*- from __future__ import unicode_literals, absolute_import import django DEBUG = True USE_TZ = True SECRET_KEY = "dummy" DATABASES = { "default": { "ENGINE": "django.db.backends.sqlite3", "NAME": ":memory:", } } INSTALLED_APPS = [ "django.contrib.auth", "django...
[ "marcosgabarda@gmail.com" ]
marcosgabarda@gmail.com
814fba12e0e1c92414fe77f4e1ff2cfc2fc371a4
5f2103b1083b088aed3f3be145d01a770465c762
/187. Repeated DNA Sequences.py
6a64da5e4c341cebe26e62b83c60533052f79460
[]
no_license
supersj/LeetCode
5605c9bcb5ddcaa83625de2ad9e06c3485220019
690adf05774a1c500d6c9160223dab7bcc38ccc1
refs/heads/master
2021-01-17T17:23:39.585738
2017-02-27T15:08:42
2017-02-27T15:08:42
65,526,089
2
0
null
null
null
null
UTF-8
Python
false
false
854
py
# All DNA is composed of a series of nucleotides abbreviated as A, C, G, and T, for example: "ACGAATTCCG". When studying DNA, it is sometimes useful to identify repeated sequences within the DNA. # # Write a function to find all the 10-letter-long sequences (substrings) that occur more than once in a DNA molecule. #...
[ "ml@ml.ml" ]
ml@ml.ml
df205bbcb23d0a5a2204480913e333ac31bcc619
e9dda48b620484a50d5685c8f7f17284bb42a086
/rig/zbw_shapeClash.py
9c63afcc20a48886d47eccaf4884bf3e2965d2a2
[]
no_license
zethwillie/zTools
5b7b1903c18e4e619b07f1eb92c4c3f24c0f1a54
04bc49af814561264f08b2af2b2a503a0d63440c
refs/heads/master
2022-08-26T19:47:32.844348
2022-07-18T15:12:48
2022-07-18T15:12:48
53,161,975
5
4
null
null
null
null
UTF-8
Python
false
false
334
py
"""zbw_shapeClash""" import maya.cmds as cmds import zTools.resources.zbw_clash as clash reload(clash) # get all shape node clashes def shapeClash(): clashes = clash.detectShapeClashes(fixClashes = False) print("in Shape Clashes:", clashes) # put them all into a list # button to fix the shape nodes for each ...
[ "zethwillie@gmail.com" ]
zethwillie@gmail.com
c39c950b162896d3455479b623469d98e24be1df
830e2b774c2884252fed369ba38f11636890d33d
/www/cgi-bin/register.py
a9d93da51e56045f272bb4ec7324c26c9d624201
[]
no_license
AckerStewie/todo
419fddc9bedc6bf9a268ce7f28b69e24aa5882e7
7d0582bd8d02e5a3b633bad7b109448310ffa544
refs/heads/master
2020-06-28T03:56:18.175884
2019-08-02T00:32:27
2019-08-02T00:32:27
197,731,153
0
0
null
null
null
null
UTF-8
Python
false
false
980
py
import psycopg2 #ใƒ‡ใƒผใ‚ฟใƒ™ใƒผใ‚น ๆŽฅ็ถš conn = psycopg2.connect("dbname=postgres user=postgres password=password") #ใ‚ซใƒผใ‚ฝใƒซๅ–ๅพ— cur = conn.cursor() #selectๆ–‡ใฎๅฎŸ่กŒ cur.execute("SELECT * FROM priorites;") ERA = [] #for row in cur: # ERA.append((row[1].***,row[0)) print(""" <!DOCTYPE html> <html lang="ja"> <head> <meta charset="UTF-8...
[ "fkiseexz5@i.softbank.jp" ]
fkiseexz5@i.softbank.jp
330b4fce52616fc3aeac0ed2bbdef3bd4b5793c4
d725745f5c6b4ad99399aa50f368db39f5046f81
/angr_platforms/tricore/bo_instr.py
9402711fd0eabc663d5ad0d234880096523d9d7f
[ "BSD-2-Clause" ]
permissive
angr/angr-platforms
6816d777ea4696af05290613a490e91b8daa79ea
06db4e6a594af47aaeb0a5071f2cdb9a8c30f7f5
refs/heads/master
2023-03-05T10:15:20.783462
2023-02-20T18:38:12
2023-02-20T18:38:12
86,003,468
60
28
BSD-2-Clause
2023-08-31T19:50:46
2017-03-23T22:28:04
Python
UTF-8
Python
false
false
57,764
py
#!/usr/bin/env python3 """ bo_instr.py Implementation of tricore BO format instructions. """ import sys from pyvex.lifting.util import Type, Instruction import bitstring from .rtl import reverse16, extend_to_32_bits from .logger import log_this class BO_LD_09_Instructions(Instruction): """ A class for LOAD instru...
[ "noreply@github.com" ]
angr.noreply@github.com
9d2eb5e7101f25c69133388b5298f21e6c156b36
2aace9bb170363e181eb7520e93def25f38dbe5c
/build/idea-sandbox/system/python_stubs/cache/3edeb844795ba685a7cb6811051e176c0111319ceb300f8bdfc98281d9d62383/win32inet.py
f6bb75423847caf8b877cb3111a35d2eae311d40
[]
no_license
qkpqkp/PlagCheck
13cb66fd2b2caa2451690bb72a2634bdaa07f1e6
d229904674a5a6e46738179c7494488ca930045e
refs/heads/master
2023-05-28T15:06:08.723143
2021-06-09T05:36:34
2021-06-09T05:36:34
375,235,940
1
0
null
null
null
null
UTF-8
Python
false
false
3,530
py
# encoding: utf-8 # module win32inet # from C:\Users\Doly\Anaconda3\lib\site-packages\win32\win32inet.pyd # by generator 1.147 # no doc # imports from pywintypes import error # Variables with simple values UNICODE = 1 # functions def CommitUrlCacheEntry(*args, **kwargs): # real signature unknown pass def Cre...
[ "qinkunpeng2015@163.com" ]
qinkunpeng2015@163.com
5599fddb1996441c6feec6e05de8788be34929d3
ff811849b246e78df4a4054594e4ff31dc52532a
/interception_efficiency.py
8a0076cb2cc7cdd80d8238778bd85651166a6c95
[]
no_license
zhan3870/git_filtration
8e4bee8f00a435c55ec3d0389c3d8d989433b0a5
4fffcc9b4290955444c42bea9c813b20d595e06c
refs/heads/master
2021-07-23T08:29:00.489477
2017-10-31T06:26:40
2017-10-31T06:26:40
null
0
0
null
null
null
null
UTF-8
Python
false
false
211
py
# coding: utf-8 # In[ ]: def interception_efficiency(alpha,Ku,N_R): import numpy as np eta_R = (1+N_R)/(2*Ku)*(2*np.log(1+N_R)-1+alpha+(1/(1+N_R))**2*(1-alpha/2)-alpha/2*(1+N_R)**2) return eta_R
[ "zhan3870@umn.edu" ]
zhan3870@umn.edu
92bd2b77c3e3fe6df3bc537ad30e4e44ab32392e
91e23b6db1d756ea0fdfd3d7c77350c839226dbf
/home/migrations/0019_auto_20200524_0053.py
46d7ed3782447d84ef5d43a884c0b92314dbf712
[]
no_license
hasretbicak/Python-Django-Havaliman-TransferSistemi
c02103f0ea9b611351e0f704e922b83b7d43cd1b
7700e5383c62394c1b6b4ab98aa4f2d16faea7b7
refs/heads/master
2022-10-09T13:13:13.047622
2020-05-23T23:12:54
2020-05-23T23:12:54
252,548,623
0
0
null
null
null
null
UTF-8
Python
false
false
428
py
# Generated by Django 3.0.5 on 2020-05-23 21:53 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('home', '0018_auto_20200524_0035'), ] operations = [ migrations.AlterField( model_name='faq', name='status', ...
[ "hsrt.bck002@gmail.com" ]
hsrt.bck002@gmail.com
12b427b03bb9491d4cf68afa4d66488fac655eb4
3d1aacb0ce641a1d96cb4a4b1363b0d03bc3f87c
/netbox/virtualization/constants.py
307921e0ea6176e2d2a5e69b705dfdff8fbf7863
[ "Apache-2.0" ]
permissive
MarcelRaschke/netbox
242e30909c8cdcc6cbfb1e5beb7fc29752d5025e
8206e46991498616bd9fdc5f40b57e66067b674a
refs/heads/develop
2023-09-05T18:59:32.540609
2022-08-12T02:26:58
2022-08-12T02:26:58
160,838,955
1
1
Apache-2.0
2023-04-30T00:40:43
2018-12-07T15:08:25
Python
UTF-8
Python
false
false
466
py
from __future__ import unicode_literals from dcim.constants import DEVICE_STATUS_ACTIVE, DEVICE_STATUS_OFFLINE, DEVICE_STATUS_STAGED # VirtualMachine statuses (replicated from Device statuses) VM_STATUS_CHOICES = [ [DEVICE_STATUS_ACTIVE, 'Active'], [DEVICE_STATUS_OFFLINE, 'Offline'], [DEVICE_STATUS_STAGED...
[ "jstretch@digitalocean.com" ]
jstretch@digitalocean.com
d5011dbad6c73ea2ce5cdc2afc4b6923897018b1
2dbccf2272e391c9c177478881a474ba84f80eac
/example/data_pb2_grpc.py
3677703a5790f6104a1bf68c86207ad8dc6baeb9
[]
no_license
killer933/grpc_python
703725b212f5ffccabf77d9e2ec87eec9b55f196
27d91b6b358ca0d3ad760d09aa77688632d849eb
refs/heads/master
2020-06-17T12:39:58.542032
2019-07-09T03:44:36
2019-07-09T03:44:36
195,927,231
0
0
null
null
null
null
UTF-8
Python
false
false
1,466
py
# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! import grpc import sys sys.path.append('C:/Users/Administrator/PycharmProjects/testkeras') from example import data_pb2 as data__pb2 class GreeterStub(object): # missing associated documentation comment in .proto file pass def __init__(self...
[ "china.sunzhi@gmail.com" ]
china.sunzhi@gmail.com
8e78c55ebf8c6ff4d594d23acba62782228ce564
b8cb10a3c99961f44ac758b3683523627d032680
/runoschool/runo/migrations/0016_auto_20201022_2208.py
7895a86854c2633520c818682c2444f93ede56d4
[]
no_license
samuelatuma1/runoschool
4a2183be4a7e856723fc5368c90edcb79d6ed29e
ed75fb4077cf5ff86b7d546d3346fc4625bee97e
refs/heads/master
2023-01-29T20:22:25.160805
2020-12-14T08:33:13
2020-12-14T08:33:13
312,167,155
1
0
null
null
null
null
UTF-8
Python
false
false
783
py
# Generated by Django 3.1.1 on 2020-10-22 21:08 from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): dependencies = [ ('runo', '0015_auto_20201022_1707'), ] operations = [ migrations.AddField( model_name='welcometab...
[ "atumasaake@gmail.com" ]
atumasaake@gmail.com
0e7053df72c502c35c80129ff5ba7ca61f4884f4
ea0bcd33f1bb1fa9fde281508c5446fa07cf0c27
/real_estate/migrations/0010_auto_20201228_1250.py
6cd099028d08a5ba450258e9c8bb1fad84fc64f2
[]
no_license
Pranali2510/Real_Estate
1acf0d56dc7a0e7b3cc11f3a54d909a8f51f28c5
65b3167abf14243a75bb5bc306bd290a65d5f558
refs/heads/master
2023-04-07T16:35:47.141109
2021-04-08T12:10:04
2021-04-08T12:10:04
355,891,277
0
0
null
null
null
null
UTF-8
Python
false
false
431
py
# Generated by Django 3.0.7 on 2020-12-28 07:20 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('real_estate', '0009_auto_20201227_1814'), ] operations = [ migrations.AlterField( model_name='agent', name='a_image'...
[ "pranalimahajan2510@gmail.com" ]
pranalimahajan2510@gmail.com
91d6a853e70ce8e64013e96c27438efa6310f2a0
88ae8695987ada722184307301e221e1ba3cc2fa
/third_party/grpc/src/tools/codegen/core/gen_stats_data.py
85e22146f76ff03b993c5760ec1a582e6e86e0c8
[ "BSD-3-Clause", "MPL-2.0", "Apache-2.0", "LGPL-2.0-or-later", "MIT", "GPL-1.0-or-later" ]
permissive
iridium-browser/iridium-browser
71d9c5ff76e014e6900b825f67389ab0ccd01329
5ee297f53dc7f8e70183031cff62f37b0f19d25f
refs/heads/master
2023-08-03T16:44:16.844552
2023-07-20T15:17:00
2023-07-23T16:09:30
220,016,632
341
40
BSD-3-Clause
2021-08-13T13:54:45
2019-11-06T14:32:31
null
UTF-8
Python
false
false
18,146
py
#!/usr/bin/env python3 # Copyright 2017 gRPC authors. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law...
[ "jengelh@inai.de" ]
jengelh@inai.de
75c9694b5b9779f317f22559caee48de01e93160
501ceb6d503b749fa6cb86961fdc825a516a7c22
/heroes4Hire/urls.py
c46411081e0ef7e7f1e3a39c2c9cb74c466b552e
[]
no_license
prasanthkp89/Heroes4Hire
07de9d7542e9aa18f3a8fe06d8ade2414d0f3a9b
689128ccb8328c08e113466cf7b2a5ce18f4d08b
refs/heads/master
2021-06-11T14:20:32.081560
2017-02-14T07:52:28
2017-02-14T07:52:28
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,309
py
"""heroes4Hire URL Configuration The `urlpatterns` list routes URLs to views. For more information please see: https://docs.djangoproject.com/en/1.10/topics/http/urls/ Examples: Function views 1. Add an import: from my_app import views 2. Add a URL to urlpatterns: url(r'^$', views.home, name='home') Clas...
[ "wmmufunde@yahoocom" ]
wmmufunde@yahoocom
420c886aade9e0be50a6e79d828ce906825b4ff5
549188abd5cf84ab4ec24445184ac76b2e54eec4
/circle_magic.py
91f5c26dced00a4073b14d8159f05bed1a72455f
[]
no_license
BuakawRed/Circles_Are_Magical
970bfa1eadb6bb94ddd2935a98eb9fcc82b7e40c
084bbe71278241cb19ef4910664d3ff0ca1b3de3
refs/heads/master
2020-04-21T18:32:38.143237
2019-04-03T05:54:30
2019-04-03T05:54:30
169,773,648
0
0
null
null
null
null
UTF-8
Python
false
false
293
py
import numpy as np import math def Pi_tester(N): x=np.random.uniform(-1,1, N) y=np.random.uniform(-1,1, N) sum_sqr=x*x+y*y a=[] for val in sum_sqr: if math.sqrt(val)<=1: a.append(val) M=len(a) return (M/N)*4 print(Pi_tester(999))
[ "noreply@github.com" ]
BuakawRed.noreply@github.com
ef8cfc42b48088eae6cdd117fce499e597517b00
7e12fef37575c7a3bfc352a30c8937b7dcdf590a
/mysite/myapp/migrations/0008_auto_20190215_1306.py
a0cd0f8ff402432709d6edbfe722d5074efb0dcc
[]
no_license
shree7796/webapp
37945a29a41d03a3c406635fc60bb484423d3a0d
42a8294f5448ff41fe47810b6593a215a27a7786
refs/heads/master
2021-06-11T22:47:48.287237
2021-04-18T14:19:15
2021-04-18T14:19:15
179,231,439
1
0
null
2021-04-16T16:14:53
2019-04-03T07:09:46
JavaScript
UTF-8
Python
false
false
2,813
py
# Generated by Django 2.0.10 on 2019-02-15 07:36 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('myapp', '0007_auto_20190215_1302'), ] operations = [ migrations.AlterField( model_name='personaleducationdetails', ...
[ "shivamshrivastava470@gmail.com" ]
shivamshrivastava470@gmail.com
01659e7f6238a105a77b183b7982dfceadda8e86
761c39ed62047c0f2fc6675b17e7477cc635741e
/com/test/ConnectSqlite.py
b8d948587bf090cc6e7d29766fd7d7c45c299458
[]
no_license
open-pythons/lottedfs
e48d9a121a9a1158067c6351fcf35d98575f3574
a17422231802503527ee4f31a90da0ae3878718e
refs/heads/master
2022-03-16T20:54:10.205219
2019-11-08T15:53:56
2019-11-08T15:53:56
220,019,179
1
0
null
null
null
null
UTF-8
Python
false
false
5,839
py
#!/usr/bin/env python # encoding: utf-8 """ @version: v1.0 @author: W_H_J @license: Apache Licence @contact: 415900617@qq.com @software: PyCharm @file: SQLite3Config.py @time: 2019/5/17 14:22 @describe: sqllit3 ๆ“ไฝœๅŠฉๆ‰‹ """ import sys import os import sqlite3 sys.path.append(os.path.abspath(os.path.dirname(__file__) + '/'...
[ "longzinziyan@gmail.com" ]
longzinziyan@gmail.com
4dc67dc8f16d162464e5fa5448a7a507a8d151ba
e4b39086d0dd1cda8f97582b263377587aa7383b
/Connect4/connect4/strategy/strategy.py
58bbe980ef1d587229a0289575b0c447e16d2450
[]
no_license
jercanioana/Fundamentals-of-Programming
f88207027e86bf1f1c088fc63992b47e34a50524
2da42da4029401705c6bfa832898266f25c9e41e
refs/heads/master
2022-07-04T09:57:14.903444
2020-05-05T12:22:48
2020-05-05T12:22:48
261,451,383
0
0
null
null
null
null
UTF-8
Python
false
false
155
py
from abc import abstractmethod from connect4.board.cell import Cell class Strategy: @abstractmethod def move(self, *args) -> Cell: pass
[ "ioana.jercan02@gmail.com" ]
ioana.jercan02@gmail.com
3b2a70bdb3ab23a408a21d4cc1d8bc2d9154cca2
c1125e2835829c6ed0f06d641142fb7b4e179132
/project/simpleLogisticRegression.py
888686ad40bb890089e46f6c67cdc2f0281d5c97
[]
no_license
chien-lung/DataScience_2018
b3b41e9cd9a5deaadd17e8507fcb0b80dd576022
dbb2a6ac9b695aafe6e2b9ba5a892387574b2514
refs/heads/master
2020-04-16T19:55:20.242523
2019-01-17T10:08:44
2019-01-17T10:08:44
165,879,051
0
0
null
null
null
null
UTF-8
Python
false
false
3,880
py
# -*- coding: utf-8 -*- """ Created on Tue Jan 8 00:03:35 2019 @author: Lung """ import numpy as np import pandas as pd from sklearn.preprocessing import LabelEncoder, OneHotEncoder from sklearn.model_selection import train_test_split from sklearn.linear_model import LogisticRegression def deleteWC(wc_data, normal_n...
[ "e125313530@gmail.com" ]
e125313530@gmail.com
0280e212179474e2cef2943f05464f14fa6fb089
e2cb1cc3ebf462300b519bfec5841c326dccb095
/pyscandl/modules/Pyscandl.py
b3e204b69561604583a039eadc9b607c6042296d
[ "BSD-3-Clause" ]
permissive
Annwan/pyscandl
eb9fcd60bca49f277d96ec9968f1e9b57e69b72a
afec7b410699f1bb6289a8653fc7cfa5b0d03406
refs/heads/master
2023-03-14T09:05:36.478222
2021-02-23T18:24:33
2021-02-23T18:24:33
344,026,261
0
0
BSD-3-Clause
2021-03-03T06:32:19
2021-03-03T06:32:19
null
UTF-8
Python
false
false
12,594
py
import contextlib from .excepts import DryNoSauceHere, TooManySauce, EmptyChapter, DelayedRelease from .fetchers.fetcher import StandaloneFetcher from PIL import Image import requests import os from re import sub as re_sub from sys import stderr from wand.image import Image class Pyscandl: """ The main object of t...
[ "thomas99.montero@gmail.com" ]
thomas99.montero@gmail.com
de75a9910004d2d0ddb1e10339b6493c821b0881
ce814bdc76513d1a03245a292a9b1194a287b152
/CEM/frozen_lake/preprocessing.py
9de50b6eb619024de295666c81a2f5673ddb58ef
[]
no_license
gowtham1997/Reinforcement-Learning-Algorithms
b34678bbdcfee2634beef2a687758337b4fd09d2
44f52d5d6ffbf684c790752966dcf9b1bd4514cf
refs/heads/master
2022-08-14T18:12:51.835771
2019-09-28T14:40:31
2019-09-28T14:40:31
160,662,125
0
0
null
2022-06-21T21:36:16
2018-12-06T11:00:57
Python
UTF-8
Python
false
false
2,512
py
import torch import numpy as np from collections import namedtuple import gym import torch.nn as nn class DiscrteOneHotWrapper(gym.ObservationWrapper): def __init__(self, env): super().__init__(env) # converting discrete to Box space self.observation_space = gym.spaces.Box(0.0, 1.0, ...
[ "gowtham.ramesh1@gmail.com" ]
gowtham.ramesh1@gmail.com
4e7f38e9a24f9b722097e1408a4fbf5462cce724
9fb581010facc08374cd636b98951dae0f2c0a2d
/kineticmodels/views.py
1abddc074f8e12b5ce97cb79e6db90ce5bcf6090
[]
no_license
bslakman/kineticmodelssite
e4f74378ca3663647b9de9eeeb88af8035279780
0bb3aa9dff2795442d1c451b2b2d2e27742e90c5
refs/heads/master
2020-12-25T13:23:46.677652
2015-10-30T14:00:02
2015-10-30T14:00:02
null
0
0
null
null
null
null
UTF-8
Python
false
false
269
py
from django.shortcuts import render from django.http import HttpResponse from django.template import RequestContext, loader def index(request): # template=loader.get_template('kineticmodels/index.html') return HttpResponse("This is the kinetic models index!")
[ "david.ma.green@gmail.com" ]
david.ma.green@gmail.com
16a6a02aabedb0b303922512e57ad926b4e9f14d
0bc81c8742e6b7cd4bd3a804ac41cedee637c921
/portalweb/tests/__init__.py
c16c21fb2eadf9f4ff591414edaa544253c1dcfe
[]
no_license
TPAC-MARVL/portal
c7ff9445ea340774aaa1890e2b847001e6564379
b9660d7b771f105360c814e1a861fb16dc036c2b
refs/heads/master
2016-09-16T11:25:25.742221
2014-11-07T04:44:19
2014-11-07T04:44:19
null
0
0
null
null
null
null
UTF-8
Python
false
false
168
py
from openstackmoduletest import * #from usermanagertest import * #from instancemanagertest import * #from configmanagertest import * #from instanceservicetest import *
[ "fxmzb123@gmail.com" ]
fxmzb123@gmail.com
c53395dc36f9d60f7b1508497f163495d634a4fb
d1667b512038e21045ec35d85e307d85a396dd46
/news/views.py
ba4c7aedbb6e094b83f10e6ab53a8868e1181c5f
[]
no_license
yashmoda/CodeUtsava_HackStrangely_AgricultureServer
556ff334d52cffa87d330b106a0640380e763f11
03b73ce4c8d9cb712ed2e061746768d4df0991e5
refs/heads/master
2021-05-16T16:46:30.949722
2018-02-21T09:45:47
2018-02-21T09:45:47
120,063,987
1
0
null
null
null
null
UTF-8
Python
false
false
1,693
py
# -*- coding: utf-8 -*- from __future__ import unicode_literals from django.http.response import JsonResponse from django.shortcuts import render import urllib2 # Create your views here. import keys def show_news(request): response_json = {keys.NEWS: []} try: if request.method == 'GET': n...
[ "yashmoda07@gmail.com" ]
yashmoda07@gmail.com
9ea39910d1888a5c1b4e29019173a17c18c082ce
19f96fdd86f1a29f4eec3d18d9e513865f1f512f
/webWork_backup/webflask/test_py3/lib/python3.5/weakref.py
318c642b1c2955967e39c3fcdbb4b83861e7c44a
[]
no_license
Cattmonkey/openWork
e133376eeea3bbf5279f9199b18aa8cf44f21637
3e1f21f0c6bce7ec114cc8d6311746c4a2cc426b
refs/heads/master
2020-03-14T00:58:41.610424
2018-05-04T09:59:03
2018-05-04T09:59:03
131,368,011
0
0
null
null
null
null
UTF-8
Python
false
false
40
py
/root/anaconda3/lib/python3.5/weakref.py
[ "yyxdyx01@163.com" ]
yyxdyx01@163.com
0358b4f0bbab7000ade46e616a5d61fd12016333
823e659ad9aad1a0717cecfdd6f8c3eab4310fd1
/to_do_list/todo_router.py
0aaa26e31be6b99be20c84ad6d54243d5cf0ba48
[]
no_license
gaoqingloon/best_wishes
e3d708264d58da52239fc3ebd18c4678a7a1e253
cc0ffd49b96b98edfd706ddcaf1f6529a7afb443
refs/heads/main
2023-03-22T04:25:50.496289
2021-03-13T04:33:59
2021-03-13T04:33:59
332,776,305
0
1
null
null
null
null
UTF-8
Python
false
false
1,429
py
from utils.valid_util import module_select def todo_return_button(): print("ไปปๆ„้”ฎ่ฟ”ๅ›ž\n", end="") input("Please input: ") todo_router() def todo_router(): function_select_parse = \ "+" + "-" * 58 + "+\n" \ "| <1> Our plan\t\t\t\t\t\t |\n" + \ "| <2> Secret\t\t\t\t\t\t |\n" + ...
[ "gordon_ml@163.com" ]
gordon_ml@163.com
20f5aa7402083c520f00ed6fee80516b0dce609b
d8adb204f43471bf868b44d4cd552103ab9b114f
/Lab3.py
5ffa9f575a491ef1c29be6d5be9a1794235886b7
[]
no_license
ytwog/tchmkProject3
bfbadcb09ed2df657948cd59aa186188bc808713
d91a5a95ae4ebc75a9d8c02f5d76ccdec6bf2a80
refs/heads/master
2022-09-15T16:50:18.911887
2020-05-30T07:08:20
2020-05-30T07:08:20
268,026,644
0
0
null
null
null
null
UTF-8
Python
false
false
303
py
import math import random N = 10 ** 100 M = 10 ** 4 res = 2 - (2 * math.log(2)) def func(M): num = 0 for x in range(M): b = random.randint(1, N) r = N % b if r < b / 2: num += 1 print('Probability: ', num / M) print('Teoreth: ', res) print(func(M))
[ "ytwog@mail.ru" ]
ytwog@mail.ru
73585b7971de472d714d021bd438be989c8d4e19
86ea59142d252b1f11421a9771e7ec66d4b374d7
/project/script/LR_model.py
ac09d0be0c71f0c334df669bffb37f0c3ecb0c4f
[]
no_license
Loielaine/NLP
145c6883852d0fdd5713830fbeba3030ecc860c3
7c45ee6f98045cb22af6fede48ae61bc76c89802
refs/heads/master
2020-12-29T10:18:19.850359
2020-04-28T18:25:46
2020-04-28T18:25:46
238,570,520
1
1
null
null
null
null
UTF-8
Python
false
false
714
py
from torch import nn import torch.nn.functional as F class LogisticRegression(nn.Module): def __init__(self, input_size, num_classes): super(LogisticRegression, self).__init__() self.linear = nn.Linear(input_size, 200) self.output = nn.Linear(200, num_classes) # Initialize the weights of both layers self.i...
[ "noreply@github.com" ]
Loielaine.noreply@github.com
cb6db7eb37364ebd18c2e62d7b3e88d6bad7b233
719c658585b2e585ee16d7a9421d0ca28b30158e
/code/sulheim2020/consensusModel/fix_SBO_terms.py
a373c47ee1e6302f60ac5d9e6f3403665fea746a
[ "CC-BY-4.0" ]
permissive
matinnuhamunada/Sco-GEM
896046f0ef2b4a15f408eab75959dd1cf0c1a5a3
418c1a5942cd22b89a9d118c01f72506f2c80e16
refs/heads/master
2023-05-04T16:22:27.119213
2021-04-04T19:57:58
2021-04-04T19:57:58
null
0
0
null
null
null
null
UTF-8
Python
false
false
3,452
py
# -*- coding: utf-8 -*- #!/usr/bin/env python """ Author: Snorre Sulheim / Eduard Kerkhoven # Description This file adds SBO terms to reactions and metabolites. This is kind of a copy of a matlab-script Eduard used to to the same """ import cobra import logging """ Reactions SBO terms =================== SBO term ...
[ "ssulheim@gmail.com" ]
ssulheim@gmail.com
95e284a91a19a3a14eaf0b3cdecba1fa3bbdd1e9
6c4a0877fd924ccb2ef276a6214e9dc0440e1a65
/PairwiseCorrelation_3.py
4de4a2fc068319ded1f9921fcf146a600ee064ee
[]
no_license
GboladeAI/hipppocampal-Neuro-modelling
907ccbde3a7fe541aabfb25b04fc906bfdd3a764
a9061830d0e6267813b40193a67586b379e67fa9
refs/heads/master
2021-06-29T15:20:56.170384
2017-09-14T14:24:28
2017-09-14T14:24:28
103,421,748
0
0
null
null
null
null
UTF-8
Python
false
false
7,640
py
import math import numpy as numpy from pandas import * import pylab as pltlab from matplotlib.pyplot import * import matplotlib.pyplot as plt import matplotlib.mlab as mlab import bisect import pandas as pdb import numpy as np import pandas as pd import scipy.io as spio import matplotlib.pyplot as plt from matplotlib...
[ "noreply@github.com" ]
GboladeAI.noreply@github.com
3612f1f79bd273655750d177b8935d7343cae48a
3b66632458e2463db62a800f9a0cf9e13c71a47e
/tests/test_iterators/test_tf_batches.py
a458cf5d88bfb93a210c6d1e36e2c94cdc9f33ff
[ "MIT" ]
permissive
pesser/edflow
eddb6d9341b861670946c157363933e9add52288
317cb1b61bf810a68004788d08418a5352653264
refs/heads/dev
2022-12-09T05:19:35.850173
2020-07-21T16:29:15
2020-07-21T16:29:15
146,750,121
27
15
MIT
2022-12-07T20:55:50
2018-08-30T12:59:11
Python
UTF-8
Python
false
false
1,075
py
import pytest import numpy as np from edflow.iterators import tf_batches as batches def test_tf_batch_to_canvas(): import tensorflow as tf tf.enable_eager_execution() x = np.ones((9, 100, 100, 3)) x = tf.convert_to_tensor(x) canvas = batches.tf_batch_to_canvas(x) assert canvas.shape == (1, 30...
[ "supermario94123@gmail.com" ]
supermario94123@gmail.com
a3612f2f4a46e893399fd2040db726e8602be19d
f203c94b9bc0e65dff7d955fc96e581cbed3edff
/desafio 20.py
046a0c1bbcce6376cd43b3e8872fca758a61a199
[]
no_license
Woimarina/mundo-1---python-curso-em-video
45521012613c69a045d341855b619e8d59dd7811
09e2b127d2ee85e70807a83a7bd9880992748bee
refs/heads/main
2023-09-05T15:57:28.274525
2021-11-01T18:50:24
2021-11-01T18:50:24
null
0
0
null
null
null
null
UTF-8
Python
false
false
358
py
import random aluno1 = input('digite o nome do primeiro aluno: ') aluno2 = input('digite o nome do segundo aluno: ') aluno3 = input('digite o nome do terceiro aluno: ') aluno4 = input('digite o nome do quarto aluno: ') lista = [aluno1, aluno2, aluno3, aluno4] random.shuffle(lista) print(' a sequencia de aprese...
[ "noreply@github.com" ]
Woimarina.noreply@github.com
c50bc8addf50e1d761c36d106a08f8f01960d815
040e29f30d17743a67562867640b73ae19834524
/incentive.py
8de5910986cb9d0c8b94d72df90e7303903b2e26
[ "Apache-2.0" ]
permissive
AIandSocialGoodLab/securitygamewithinformants
0f7ee58471ac9ccd542b73e2c60290796447b6e9
6244e8891d1244fd6162aea79ff259a34d0f3c66
refs/heads/master
2023-04-03T00:33:51.256758
2023-03-19T20:52:27
2023-03-19T20:52:27
260,015,755
0
3
null
2020-04-29T19:01:13
2020-04-29T18:54:54
null
UTF-8
Python
false
false
5,113
py
# This is the code used to generate the data for Figure 4(b) in the paper. import gurobipy as gp from gurobipy import GRB import numpy as np import pandas # from scipy.special import softmaxscipy import matplotlib.pyplot as plt import seaborn as sns import datetime def printGraph(X, Y, Y1, name): plt.figure('Dr...
[ "chenweizhe1999@126.com" ]
chenweizhe1999@126.com
93fc5ec316577bd629f8918a2d20178df6b74d41
f15e1bf95382348c8ed758bf136bf86d2435b9b4
/apputils/stock_analysis.py
55a5308e20168c7e45544acfc69a4046e49ddb20
[ "Apache-2.0" ]
permissive
VaidherviKansal/Delta-lake_demo
40e56913e631b3b22bda963bd1a240307c29cf96
fca694b1b89959fb29932c90a0f1784a779dd22c
refs/heads/master
2021-05-17T21:47:49.874987
2020-03-31T07:14:29
2020-03-31T07:14:29
250,966,078
0
0
null
null
null
null
UTF-8
Python
false
false
2,181
py
import datetime from pyspark.sql import SparkSession # read from local system spark = SparkSession.builder.appName('abc').getOrCreate() dfBasePrice = spark.read.format("csv").option("header", "true").load("/home/vaidhervi/Downloads/stocksDailyPrices.csv") dfBaseFund = spark.read.format("csv").option("header", "true")....
[ "vaidhervi.kansal@teamcomputers.com" ]
vaidhervi.kansal@teamcomputers.com