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
7e0f82ff171415401fbdc0bdc5d489cab5b7c30f
585700f820e4eff76654735ec74a48350709dbab
/app/face_rec_model/model_recognizer.py
ad55bd45de8258daf0749b8d4565aa4ad026b9a4
[]
no_license
mozzielol/MonitoringSystem
109259be0aaf06f36712e32fbf368146303e474c
e2fd68449dafe6e97d804da1e43a1a442dfa41ab
refs/heads/master
2021-01-23T09:35:13.897172
2017-09-06T21:14:00
2017-09-06T21:14:00
102,583,062
0
0
null
null
null
null
UTF-8
Python
false
false
5,629
py
import cv2 import sys import setlcd from .. import secret from helper.common import * from helper.video import * from facerec.serialization import load_model,save_model from facerec.model import PredictableModel from facedet.detector import CascadedDetector from facerec.feature import Fisherfaces from facerec.classifie...
[ "noreply@github.com" ]
mozzielol.noreply@github.com
7bc28716b12489f23a995214061a23c0e8f73c4e
e902bc98a6842c3ff6716996d6f18afdb0df1fc4
/HWM/heroes/views.py
05f59d5cdb18a976b33a6dd9f96b010292224df6
[]
no_license
alenabonch/heroeswm
59def82d3bd9908e88439303bc7b5293bd342f4f
df72317bdb66cdcdde14af57f41b37996de955a4
refs/heads/master
2021-01-15T10:18:33.373249
2012-08-10T10:08:25
2012-08-10T10:08:25
41,934,828
0
0
null
null
null
null
UTF-8
Python
false
false
1,819
py
# -*- coding: utf-8 -*- from HWM.utils.Graber import Graber from HWM.heroes.models import * from django.http import HttpResponse from django.shortcuts import render_to_response from HWM.utils.SpiderThread import SpiderThread def run_spider(): thread = SpiderThread() thread.start() run_spider() ...
[ "1@h67pro.routerddc782.com" ]
1@h67pro.routerddc782.com
b9b2639c8445a515e7ae7021c75a6d321a581794
949a9dfdbea2644c80b691670833f85bb3d4bd57
/api/views.py
fb61ad56b894a137a8eb50522617188c6ac9d30c
[]
no_license
dzanto/api_final_yatube
da16727518a431277d33d328c4f7dbf90adca532
17653303a11155ef7cd010a5edf249472ad92dec
refs/heads/master
2022-12-17T23:09:35.921880
2020-09-15T11:27:12
2020-09-15T11:27:12
294,035,087
0
0
null
null
null
null
UTF-8
Python
false
false
1,660
py
from rest_framework import viewsets, filters, generics from api.models import Post, Comment, Group, Follow from api.serializers import PostSerializer, CommentSerializer, GroupSerializer, FollowSerializer from api.permissions import OwnResourcePermission, OwnFollowerPermission from rest_framework.permissions import IsAu...
[ "dzanto@gmail.com" ]
dzanto@gmail.com
346791581fa50a83b1320ea547c19c0532d12c33
6858498dfc5ba42d82c6a9fd207cbec0ec883ec1
/assign02/irdc/forms.py
805cbafdca42ca1dd8cfeba4b11e5a5303dcb6c5
[]
no_license
NethraGunti/IR-System-Using-Distributed-Approaches
fceeda593607c50b00324762fdc19b2c0833cd34
33f970c3eb1cf5ea9c88ae2303f044a9dc0bfc52
refs/heads/master
2023-04-05T08:43:23.112135
2021-04-02T21:00:32
2021-04-02T21:00:32
354,115,560
0
0
null
null
null
null
UTF-8
Python
false
false
357
py
from django import forms class SearchForm(forms.Form): query = forms.CharField( max_length=500, required=True, widget=forms.TextInput( attrs={ 'class' : 'form-control form-control-lg', 'type' : 'search', 'placeholder' : 'enter your...
[ "nethrag16@gmail.com" ]
nethrag16@gmail.com
35d51f70a0c746cc72a3d41cfeb0daf434ab3106
b4b796d863bcf5b9e8617dc2566bd5418c0a7737
/py/5523.文件夹操作日志搜集器.py
e851577dbcc1835e180f11fa3e1e946a005fc550
[]
no_license
NidhoggZe/LeetCode
a02e323ffdbc660f43a148fd7219ecf8dc2bff95
0ae2e9fac6692f76b71f929154ba72c31d2c2bfd
refs/heads/master
2023-01-13T04:55:47.911464
2020-11-11T12:16:06
2020-11-11T12:16:06
311,876,420
0
0
null
null
null
null
UTF-8
Python
false
false
345
py
from typing import List class Solution: def minOperations(self, logs: List[str]) -> int: count = 0 for i in logs: if i == "../": count -= 1 count = max(0, count) elif i == "./": continue else: count...
[ "397257341@qq.com" ]
397257341@qq.com
2de6c9501b1b8560c72788d40905ffe4818ba046
f305f84ea6f721c2391300f0a60e21d2ce14f2a5
/5_map/构造O(1)复杂度数组.py
4022012734ec37223659443e2deaa1ed6ec62b0f
[]
no_license
981377660LMT/algorithm-study
f2ada3e6959338ae1bc21934a84f7314a8ecff82
7e79e26bb8f641868561b186e34c1127ed63c9e0
refs/heads/master
2023-09-01T18:26:16.525579
2023-09-01T12:21:58
2023-09-01T12:21:58
385,861,235
225
24
null
null
null
null
UTF-8
Python
false
false
665
py
# 设计一个特殊的数组,要求该数据结构以下三种操作的时间复杂度均为O(1) # 1. 查询数组某个位置的元素 # 2. 将数组某个位置的元素修改为指定值 # 3. 将数组所有元素修改为指定值 from collections import defaultdict class SpecialArray: __slots__ = "_data" def __init__(self) -> None: self._data = defaultdict(int) def get(self, index: int) -> int: return...
[ "lmt2818088@gmail.com" ]
lmt2818088@gmail.com
334b82dd1d41cb64046cee93036721cc2e211b97
a64f5213ad8c042caee3d39abe469d15161f27c4
/python_ruby/conditional/5.py
2c9b0476985201df8ce8194b735942d56a086281
[]
no_license
jhl-n/open_cording
88f70ab52068be9ed451e62d982bffc92672d27c
376e34e2dda49e5d267e3e22a6d3d6b52514ca10
refs/heads/master
2022-11-30T00:30:48.920646
2020-08-07T07:22:50
2020-08-07T07:22:50
284,917,449
0
0
null
null
null
null
UTF-8
Python
false
false
193
py
input = 21 real_egoing = 11 real_k9905 = "ab" if real_egoing == input: print("hello!, egoing") elif real_k9905 == input: print("hellow!, k9905") else: print("Who are you")
[ "noreply@github.com" ]
jhl-n.noreply@github.com
188b851908235dc50dfdd4d527177484609ede91
1ed6658b38d6d8935de79d91308566638b7256a9
/dailyCoding/problem048.py
f8e2217632a4eb2660ac84570afcc5435875f4f3
[]
no_license
tanajis/python
4e87328c4e65506567d7b30c05e88a6b25b4827e
ec6a7a5cb720830bb220c8b52b9ac10b5bd22d5b
refs/heads/master
2021-06-26T22:10:36.593105
2021-02-03T13:20:36
2021-02-03T13:20:36
211,669,831
0
0
null
null
null
null
UTF-8
Python
false
false
1,024
py
Good morning! Here's your coding interview problem for today. This problem was asked by Google. Given pre-order and in-order traversals of a binary tree, write a function to reconstruct the tree. For example, given the following preorder traversal: [a, b, d, e, c, f, g] And the following inorder traversal: [d, b,...
[ "noreply@github.com" ]
tanajis.noreply@github.com
5ac1797622fe0bcd125d03ce61c93180d8666cbd
e54c2d836d559cef875d59a72476a30ae812a495
/assignment2/cs231n/layer_utils.py
39a11649fb3bff4054219fa3f4a16ad524ddd9ce
[]
no_license
Sogues/cs231n
ba4a5d40c9b05791e542c60d29092a3d1ae60377
d25d631fdfa31af955cfd21c0c7bff23c60934f7
refs/heads/master
2021-09-11T17:51:20.476942
2018-04-10T15:00:23
2018-04-10T15:00:23
119,624,115
0
0
null
null
null
null
UTF-8
Python
false
false
4,888
py
pass from cs231n.layers import * from cs231n.fast_layers import * def affine_relu_forward(x, w, b): """ Convenience layer that perorms an affine transform followed by a ReLU Inputs: - x: Input to the affine layer - w, b: Weights for the affine layer Returns a tuple of: - out: Output from...
[ "mail.caoke@icloud.com" ]
mail.caoke@icloud.com
aae418b09e020cce81700285920c343230390a3b
b4ee252a6dac4e099904eb88af7efaa11c162747
/visual_search/extractor.py
fa1c72496a48276d4ee7871eec3b66f2c248f665
[ "MIT" ]
permissive
andyhx/match_face
9bfa59b4ca1f160ad4939812eb946f61e86746ca
1cbc2e8f9dcaa6ab9e7a8382fcb72e16a7a73bf2
refs/heads/master
2021-01-21T09:10:55.193163
2017-07-03T08:02:27
2017-07-03T08:02:27
null
0
0
null
null
null
null
UTF-8
Python
false
false
12,668
py
import _init_paths #from model.test import extract_regions_and_feats \ # as _extract_regions_and_feats #from model.test import extract_imfea \ # as _extract_imfea from math import ceil import numpy as np import cv2 from lib.utils.im_util import read_img_base64 from mtcnn.MtcnnDetector import FaceDetector_mt impor...
[ "yandaweixx@163.com" ]
yandaweixx@163.com
d6f0dd5c587a5205dc3e3b19517b90443f991d4e
97e349765284a1239580f4ae6943f597797fdc0d
/dingweitest/test1.py
88b98797ba89775967126c4b52b4988562f63047
[]
no_license
chenhanfang/test2
716aa9b1f875a6c88bfc6fb45ddc9879441c3c34
5d9d44086815bdf514636a1fc14bcd2c1f4284a5
refs/heads/master
2021-01-20T14:22:51.885745
2017-05-09T01:59:34
2017-05-09T01:59:34
90,597,906
0
0
null
null
null
null
UTF-8
Python
false
false
2,244
py
#coding=utf-8 from selenium import webdriver from selenium.webdriver.common.action_chains import ActionChains#######鼠标事件的类 import time from selenium.webdriver.common.desired_capabilities import DesiredCapabilities driver=webdriver.Remote(desired_capabilities=DesiredCapabilities.CHROME) driver.get('http://www.baidu.com...
[ "chenhanfang@zhixunkeji.cn" ]
chenhanfang@zhixunkeji.cn
6f66ef247d249d472ab1dc47b7de6f50ed703bd3
bfaa8a34f0d954fd91d57e101556aab01099d0ea
/beary/__init__.py
97da988c56cb1c2f294b7bd6ea5be11500110eda
[]
no_license
vtmer/bearychat
cf9167385c4451c45c9ea2caffd25298ec950855
8223151d74a0f859274e60032b1dfe8be3cd7db2
refs/heads/master
2016-09-05T16:09:35.369036
2015-06-29T08:05:42
2015-06-29T08:05:42
33,439,045
1
0
null
null
null
null
UTF-8
Python
false
false
97
py
# coding: utf-8 ''' beary ~~~~~ vtmer 里面的熊孩子 ʅ(´◔౪◔)ʃ '''
[ "bcxxxxxx@gmail.com" ]
bcxxxxxx@gmail.com
a4cf21c7947436caf793a85f604a3c13567755fa
0982b87dbed9c8fd3199b02571fbfcbb07220ee8
/posts/migrations/0004_post_likes.py
b82de391792e7b0d6060a86986ed16923bb17f63
[]
no_license
iaminzmam/SocialNetworkApp-by-Django-PostgreSQL
598fa272eef451c4fa482eb23b3cc5a7bb037f64
ca49d1fc490f5cf44f0e29f51013cace798daf77
refs/heads/master
2020-06-22T16:30:53.282062
2019-07-19T09:50:41
2019-07-19T09:50:41
197,745,977
0
0
null
null
null
null
UTF-8
Python
false
false
508
py
# Generated by Django 2.2.2 on 2019-07-10 11:22 import django.contrib.postgres.fields from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('posts', '0003_remove_post_likes'), ] operations = [ migrations.AddField( model_name='post'...
[ "iaminzmam@gmail.com" ]
iaminzmam@gmail.com
c2c63aa40e75f612a8a46c1b0b43554e84fdbfc1
38d9f0f67f5c4264c88382d1e4a9617cdd6bc41b
/picoCTF2019/BE/NewOverFlow1/solution.py
c50c76b61c85a433ca6533d2036185a8ca3ecde8
[]
no_license
MontyHull/CTF
0b5e90be2e635b4f483dcef8f44b597c5a6de85a
11ecba347dfe70171a0cac990f969cf5b8d3fad0
refs/heads/master
2022-11-30T13:51:05.460566
2020-08-14T18:46:33
2020-08-14T18:46:33
246,088,469
0
0
null
null
null
null
UTF-8
Python
false
false
1,032
py
from pwn import * import json LOCAL = False CYCLIC_FOUND = True local_bin = './vuln' elf = ELF('./vuln') if(LOCAL): p = process(local_bin) else: hostname = "2019shell1.picoctf.com" dir = '/problems/newoverflow-1_6_9968801986a228beb88aaad605c8d51a' with open("/.2019creds.json") as f: creds = js...
[ "mickyhall35@gmail.com" ]
mickyhall35@gmail.com
2286bd716acb5cc6f707dc291bfb3eb246ecf817
40f0c9269dd2b715f232270598f39bd013fa114f
/drift-check.py
3c3b1e4edf808416f6de9be726dd31259937aa31
[]
no_license
vforvarun/cloudformation-stack-toolkit
2e7a5bf2b4ddd082592994ad68085929292fd0c4
93c67ef447bdcb4902747ae5cc4d037dc1cf3a66
refs/heads/master
2020-05-02T11:30:45.107563
2019-03-27T06:38:06
2019-03-27T06:38:06
177,931,126
0
0
null
null
null
null
UTF-8
Python
false
false
2,990
py
import boto3 import click stack_session = boto3.client('cloudformation') @click.group('cli') def cli(): pass @cli.command('list-stacks') def list_stack(): "List the status and drift status of all stacks" dash = '-' * 120 paginator = stack_session.get_paginator('list_stacks') response_iterator = pagi...
[ "vforvarun@gmail.com" ]
vforvarun@gmail.com
6d1feda3838da5c89bb841909024e8c44126e03c
8681fa7b744a5fde9a913dee691ee939af3b5513
/search/maxCircles.py
fb030e4c151f86bce885ef8cf31a63e747b097b9
[]
no_license
dkumar95120/python
baec8d38b1d17657c737e86ec11d2b8c8b965ac2
9a9d02e0322cd646c4931d8fef93dd7e23a93ee8
refs/heads/master
2020-08-29T17:41:00.902279
2020-05-14T13:41:23
2020-05-14T13:41:23
218,114,582
0
0
null
null
null
null
UTF-8
Python
false
false
737
py
def maxCircle(queries): friends = [] groups = [] max_friends = 2 for a,b in queries: groups.append({a,b}) group_to_join=[] for group in groups: if a in group or b in group: if group not in group_to_join: group_to_join.append(group) ...
[ "dhakumar@hotmail.com" ]
dhakumar@hotmail.com
9b1aec656d50ff842d5761e6a750df7afab50cad
2e682fd72e3feaa70e3f7bf2a3b83c50d783ec02
/PyTorch/built-in/nlp/Bert-text-classification_for_PyTorch/transformers/tests/bartpho/test_tokenization_bartpho.py
3e35ad15c1ee543473709c7f66f9c1e22cda20ae
[ "Apache-2.0", "BSD-2-Clause", "MIT", "BSD-3-Clause", "LicenseRef-scancode-generic-cla", "LicenseRef-scancode-unknown-license-reference", "GPL-1.0-or-later" ]
permissive
Ascend/ModelZoo-PyTorch
4c89414b9e2582cef9926d4670108a090c839d2d
92acc188d3a0f634de58463b6676e70df83ef808
refs/heads/master
2023-07-19T12:40:00.512853
2023-07-17T02:48:18
2023-07-17T02:48:18
483,502,469
23
6
Apache-2.0
2022-10-15T09:29:12
2022-04-20T04:11:18
Python
UTF-8
Python
false
false
2,656
py
# coding=utf-8 # Copyright 2021 HuggingFace Inc. team. # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law o...
[ "dongwenbo6@huawei.com" ]
dongwenbo6@huawei.com
53b6a7bc899a0f65cef55097daabe46ab1650748
e1908a5dc666e699ebf1011832d606582fe2e184
/src/layers/merge_block.py
5f468b0ac3a2c2cda98b8249a6c0e8224409b321
[]
no_license
ASI-SX/M2Det_Keras-1
a656355dacd3644e358ba8846debf6c657a2991f
f1f5f0443d8aa59c51ae76f1c691a7ffbc349adc
refs/heads/master
2020-06-29T19:14:29.873077
2019-03-01T14:09:03
2019-03-01T14:55:15
null
0
0
null
null
null
null
UTF-8
Python
false
false
973
py
from keras.layers import Concatenate, Reshape, Activation from .prior_box_layer import PriorBoxLayer import keras.backend as KB class MergeBlock(): def __init__(self, class_num=21): self.__class_num = class_num def __call__(self, inputs): return self.__merge_block(inputs) def __merge_b...
[ "x7286x_ayk@yahoo.co.jp" ]
x7286x_ayk@yahoo.co.jp
1999e928a7bf7a159576ef1141e9e0fc4dfb62aa
356e25ed43e240c1c8b813eee444e3142c14fdc4
/sphinx_serve/__main__.py
a80e76cd2a79d3f7956cbf5001c58a1952514c6c
[ "MIT" ]
permissive
tlatsas/sphinx-serve
90e594b3376ebe61ecabd7dafc74941e9aa6362b
f7659787f5375025e9bc0e72c4427f096ce6785d
refs/heads/master
2021-01-13T02:25:59.979692
2013-07-15T14:16:17
2013-07-15T14:16:17
11,409,929
2
2
MIT
2020-08-27T15:16:11
2013-07-14T21:52:54
Python
UTF-8
Python
false
false
114
py
#!/usr/bin/env python import sys from .sphinx_serve import main if __name__ == "__main__": sys.exit(main())
[ "tlatsas2000@gmail.com" ]
tlatsas2000@gmail.com
d6667c371f5635050e24804b3548edbb78015a8e
d2e69d4d3d1e11a87f5a377e4a423422fe0a7058
/FullStack/12/celery_stuff/periodic_task.py
5d5dcb1b71af4eff0549304787a59963e751cecf
[]
no_license
oJacker/_python
6f30dd4a60c1593d27c00ac485163fc0ba77dd8c
8086d0cd78e156abfff9819a56384149dd431c56
refs/heads/master
2021-05-06T03:13:29.167281
2018-02-01T09:41:42
2018-02-01T09:41:42
114,827,084
1
0
null
null
null
null
UTF-8
Python
false
false
773
py
from celery import Celery from celery.schedules import crontab app = Celery() @app.on_after_configure.connect def setup_periodic_tasks(sender,**kwargs): # Calls test('hello) every 10 seconds sender.add_periodic_task(10.0, test.s('hello'),name='add every 10') # Calls test('world') every 30 seconds se...
[ "623657285@qq.com" ]
623657285@qq.com
914fa86716ed865bb5eabf6824fd0f4239243ca5
163c66e58f04268c884335ed66461d5ddf513280
/hw2/quicksort.py
9d115b440faadc402a3c34e630c76fdcad1375f1
[]
no_license
pz325/Coursera_ADA
4ca0d8273c0571b45364b951d52a5d06cbdc652c
b968dd6b60f73d1ebe34195ddfa7fc39df3726cd
refs/heads/master
2016-09-05T22:16:13.865655
2014-11-18T21:27:54
2014-11-18T21:27:54
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,269
py
def chooseFirstElementAsPivot(A, l, r): return A[l] def chooseLastElementAsPivot(A, l, r): tmp = A[l] A[l] = A[r] A[r] = tmp return A[l] def chooseMedianOfThreeAsPivot(A, l, r): if r - l == 1: return chooseFirstElementAsPivot(A, l, r) mid = (r - l) / 2 + l # print(l, mid, r) ...
[ "sg71.cherub@gmail.com" ]
sg71.cherub@gmail.com
e70429dba0ffd7ae76f3782c46c6721233b7ea52
d16a0ec744f3544894fb102f8b43aa7448f135a5
/config.py
a5bc9c2c7682b86bb8b4696bc82d7de201b31a23
[]
no_license
hectorcanto/self-disabling-client-class
f057898b5a89e5c2986e75a72b700de07e8a1cc1
e70efa9156f4219cb6968a2a6513e5938288b89d
refs/heads/master
2021-01-19T17:26:20.668655
2017-02-19T14:21:53
2017-02-19T14:21:53
82,458,936
0
0
null
null
null
null
UTF-8
Python
false
false
978
py
""" This module works as a template for configuration values. Use it to create a local_config.py with the real values, but do not add them to the repository. At the end of the module local_config.py is imported. If using this class in a Django project, use local_config to import the needed variables from the django ap...
[ "hectorcanto@gmail.com" ]
hectorcanto@gmail.com
46c624b4a72db7b9845aadda40d8aceec1f1c846
8f946e3b38ba0a5865743f7c4348144cf902ed74
/similarity.py
3b6b381294de65b6c0559d5b84f0bd51f2fada03
[ "BSD-2-Clause" ]
permissive
lorabit/MiningReasons
c659bc223e7ce9412a4f22ace6fa6dbb04b26faf
4c8356e4edc4e2f7c52c00b60eac9f92fec0ddc7
refs/heads/master
2021-01-17T21:15:18.992855
2017-03-17T06:42:10
2017-03-17T06:42:10
84,168,132
1
0
null
null
null
null
UTF-8
Python
false
false
1,118
py
import enchant from nltk.stem.porter import * from nltk.tokenize import TweetTokenizer from nltk.corpus import stopwords t = TweetTokenizer() d = enchant.Dict("en_US") stemmer = PorterStemmer() stopword = set(stopwords.words('english')) def tokenize(text): ret = t.tokenize(text) return ret def stem(text): ret =...
[ "conglaiwubei@163.com" ]
conglaiwubei@163.com
4216ca7508a2873fee17c8913af6730dcc524bce
cc3dffe46924b1c76d02ce2b7ec12ae2cd2f2242
/DevBarber/urls.py
0c151a9dc3fff2ccc99a0b1452ebacac7a090094
[]
no_license
MadayDomtt/djangoBarber
2a5d6b51c3928f19bad930d0106f1c67589fbc6a
a5f2def4b1ab3f7c42d9f9f52c9532e06d23b9b9
refs/heads/master
2023-08-19T00:57:21.416832
2021-09-30T02:03:26
2021-09-30T02:03:26
398,132,316
0
0
null
null
null
null
UTF-8
Python
false
false
961
py
"""DevBarber 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-bas...
[ "madaydomtt@gmail.com" ]
madaydomtt@gmail.com
37b62f0aa2982ea9f161d579010a0275beeb3cdd
05c719dac020c69e43294ab6a435081c36f8a6a6
/blog/migrations/0001_initial.py
74992c43aac19a098c6256555c1efb3c96b36f0b
[]
no_license
Luguaa/django_blog
1ff5e7ff2077a14a56702f71d0a9193403c58434
2e2298bdbfac78f0b2dc6290d1b802a0eeb49f28
refs/heads/master
2021-05-17T00:47:15.576706
2020-03-30T12:53:50
2020-03-30T12:53:50
250,542,337
0
0
null
null
null
null
UTF-8
Python
false
false
1,727
py
# Generated by Django 2.2.3 on 2020-03-24 11:44 from django.conf import settings from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): initial = True dependencies = [ migrations.swappable_dependency(settings.AUTH_USER_MODEL), ] ope...
[ "893821635@qq.com" ]
893821635@qq.com
c6aabaf6847cb6258dbdbcb4d4ad7ab23f640236
b9b1710e919d927af0382eb9845a2647606d7df7
/python/plot_logs.py
f842ec19c03375a45727230d3b72b46c5efa6bc5
[]
no_license
jafo2128/arduino-ecu-logger
84d29c0323e3662278a7d550398ccc541cd71938
e303f19444163650b882aa9a8f86a9ada303dadc
refs/heads/master
2020-12-28T22:11:23.413365
2016-01-17T02:24:57
2016-01-17T02:24:57
null
0
0
null
null
null
null
UTF-8
Python
false
false
3,718
py
from hdf5_log import HDF5Source from sys import argv import pylab from scipy.signal import fftconvolve from scipy.interpolate import interp1d import numpy as np def to_kph(data): return ((data[0] * 256.0 + data[1]) - 10000) / 100 def to_rpm(data): return (data[0] * 256.0 + data[1]) / 4 def compute_g(wheelspe...
[ "ihaque@cs.stanford.edu" ]
ihaque@cs.stanford.edu
a102e1ab09143f6dd37b0af10823852c407ad90f
a69944be2869cb8141c0f6b9de2d7ffb8afbad73
/src/features/transformer/count_character_pairs_transformer.py
354113b7b8dacb29506b8d7ae856ecd6d5d78349
[]
no_license
ryancollingwood/DGAClassifier
64249790693b15a50741424b0302f784e8ed1290
7d45576823ef3601dfdf31c57f1fc4772c7f5863
refs/heads/master
2023-07-20T08:03:19.117517
2022-07-11T21:12:09
2022-07-11T21:12:09
232,232,425
12
8
null
2023-07-06T21:55:14
2020-01-07T03:11:12
Python
UTF-8
Python
false
false
750
py
from typing import List import numpy as np import pandas as pd from src.pipeline import DataFrameColumnTransformer from src.features import count_character_pairs_in_column_as_df class CountCharacterPairsTransformer(DataFrameColumnTransformer): def __init__(self, column_suffix: str, in_columns: List[str], looking_...
[ "ryancollingwood@gmail.com" ]
ryancollingwood@gmail.com
d7da4a135696fdb30fff15dd97ac605ae75485ac
e94dd1ae2715dbedcc21047e90ed58043b47d265
/src/temp/button.py
632710c8f10a5b05bb7fb5287c41ecc67b850d82
[]
no_license
Arslandinho/iot-project
c13672acf867e1f1991b85255ad04c7923377b8a
68bd41b9798784f6f9cd08209b74adf371429e82
refs/heads/master
2022-04-20T10:57:02.840181
2020-04-15T11:59:41
2020-04-15T11:59:41
255,901,693
0
0
null
null
null
null
UTF-8
Python
false
false
430
py
import time import RPi.GPIO as GPIO GPIO.setmode(GPIO.BCM) GPIO.setwarnings(False) delayTime = 0.5 Button_PIN = 17 GPIO.setup(Button_PIN, GPIO.IN, pull_up_down=GPIO.PUD_UP) try: while True: if GPIO.input(Button_PIN): print("Button: not pushed") else: print("Button: pushed...
[ "arslan.tachmuradov@gmail.com" ]
arslan.tachmuradov@gmail.com
1b713ba1f3ca2783af7524cca3234b09b419b169
6368c7aff52816322ad570a574ccd04d74acb526
/django_template/api/urls.py
8fe3a964af6c76842cce2a1b5e6af19c89d82aa9
[ "MIT" ]
permissive
r2rstep/django-styleguide
b92c78d16baec71449ea238328712a8b4255db23
f3f13a40704f46c85c75fc534aaa094cb4721857
refs/heads/master
2023-02-18T16:44:38.824362
2021-01-22T14:32:10
2021-01-22T14:32:10
331,671,756
0
0
null
null
null
null
UTF-8
Python
false
false
359
py
from django.urls import path, include urlpatterns = [ path( 'auth/', include(('django_template.authentication.urls', 'authentication')) ), path('common/', include(('django_template.common.urls', 'common'))), path('users/', include(('django_template.users.urls', 'users'))), path('items/', in...
[ "aart.st@gmail.com" ]
aart.st@gmail.com
95c04b903a2227aa95ae7b28244a63c95428bd2c
796b5f7230583236779594aa7359be0d3c74483b
/basics/decisions/simple_decision/if_elif_else.py
b330c3d8e835e20bbfe9ce8c72997be0ad70b0b4
[ "MIT" ]
permissive
samualtnorman/com411
16284e3a3848db5fb89141ffe4b4e8519bbb42b5
f1a4e0378ce06a8dacba72f87da30e0b134ea28c
refs/heads/main
2023-01-27T19:46:34.100179
2020-11-30T12:56:21
2020-11-30T12:56:21
303,633,869
0
0
null
2020-10-13T08:14:12
2020-10-13T08:14:11
null
UTF-8
Python
false
false
208
py
# I think I missed the point of the task here while 1: direction = input("Towards which direction should I paint (up, down, left or right)? ") print("I am painting in the", direction + "ward direction!")
[ "samualtnorman@gmail.com" ]
samualtnorman@gmail.com
97f136b14681008e20c099f12631a94a0fc21e33
b7203262280b8fabcf5573ea494e8e2408d8d2b9
/turtle/star.py
9282c3b8c1bd90f12603fc067e860a8e5d21d5fd
[ "Apache-2.0" ]
permissive
MDGSF/PythonPractice
1c11994a047ecb01c74b0cf0b320b6ffc570209d
77e81d7c965c5de1629df223cb27dd541d128eb1
refs/heads/master
2021-06-16T13:49:00.310063
2021-04-15T11:32:24
2021-04-15T11:32:24
177,229,019
1
0
null
null
null
null
UTF-8
Python
false
false
304
py
#!/usr/bin/env python # -*- coding: UTF-8 -*- import turtle as t def main(): t.color('red', 'yellow') t.begin_fill() while True: t.forward(200) t.left(170) if abs(t.pos()) < 1: break t.end_fill() t.done() if __name__ == "__main__": main()
[ "1342042894@qq.com" ]
1342042894@qq.com
25f6f3fc84cb8ebb7fa9d66004b96a34713ee607
babd7f3f774ed070b785bbfaae155cd16f964ed9
/module_5/pages/login_page.py
b7465ed1bc0c50b5a49a7fd0f2dae4fbf2d98d18
[]
no_license
IDorot/stepik_lessons
0135a864ff42a9966e3b2dd9a05b13522c81a117
ed60f381847a582fcdd3149aaf4b5880061db844
refs/heads/master
2023-06-17T05:43:48.578576
2021-07-01T21:03:17
2021-07-01T21:03:17
367,456,721
0
0
null
null
null
null
UTF-8
Python
false
false
1,685
py
from .base_page import BasePage from .locators import LoginPageLocators import random import string class LoginPage(BasePage): def register_new_user(self, email, password): EMAIL = self.browser.find_element(*LoginPageLocators.REGISTER_EMAIL_FIELD) EMAIL.send_keys(email) PASSWORD = self.brow...
[ "iackya@yandex.ru" ]
iackya@yandex.ru
e7cf300c95480122ec69e44096b3a9baa29236fa
e6795dc0f6be3fdc0476689d6545c9b138286301
/inventario/migrations/0002_auto_20170313_1256.py
a215e0fa5591081c719dbc5ee2cb147b27f196e0
[]
no_license
bikerlfh/ShopNeubs
846d482e254f70f68914abac4f82eeee54bfd242
bac740fb57c0c1d0cece276fc477454e959aaf5a
refs/heads/master
2021-01-11T14:53:30.280015
2017-07-24T21:59:46
2017-07-24T21:59:46
80,241,149
0
0
null
null
null
null
UTF-8
Python
false
false
1,254
py
# -*- coding: utf-8 -*- # Generated by Django 1.10.5 on 2017-03-13 17:56 from __future__ import unicode_literals from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): initial = True dependencies = [ ('inventario', '0001_initial'), (...
[ "bikerlfh@hotmail.com" ]
bikerlfh@hotmail.com
b4b56f26384ee4b46b552c8a6914adcbb8839e95
a9bcdff9fee8b647ba9416df1d0b6ec10c260b8e
/DAL/product.py
c010823513bb0868a8e0e71aac21defb49426dee
[]
no_license
Maxside/computer_design_technologies-monitoring_system-
4e24208fc5efc3661e4a83175d9115be36db531b
ad21474adced302ab94e87ede1ee2375eda285a9
refs/heads/master
2022-11-04T21:45:20.397335
2020-06-22T13:45:56
2020-06-22T13:45:56
274,114,087
0
0
null
null
null
null
UTF-8
Python
false
false
255
py
from DAL.sqlRequest import SqlRequest, get, db_session from DAL.database_store import Product class ProductRequest(SqlRequest): db_class = Product def Get(self, item_id): return get(i for i in self.db_class if i.product_id == item_id)
[ "antoshvart@gmail.com" ]
antoshvart@gmail.com
cffdf2acd94a6de7763817adac19b55f22d9108d
ea9a84142f7cad598400174bbaea6d1eb634467e
/src/exporters/blendersmf/smf_import.py
c12dff41bf8214a4695e42ef7f48054ba6add248
[]
no_license
johndemlon/3d-physics
5f5851da09db59ec53f7ae7c3908be28d4cc7a0f
345028ce4eaa0f9210eeffb725eac4608cf5abc2
refs/heads/master
2022-09-10T03:04:03.101188
2020-06-02T19:02:59
2020-06-02T19:02:59
268,722,662
0
0
null
null
null
null
UTF-8
Python
false
false
5,512
py
#!BPY """ Registration info for Blender menus: Name: 'SMF...' Blender: 234 Group: 'Import' Tip: 'Import a Stanford PLY file.' """ # Copyright (C) 2004: Bruce Merry, bmerry@smuts.uct.ac.za # # This program is free software; you can redistribute it and/or # modify it under the terms of the GNU General Publi...
[ "noreply@github.com" ]
johndemlon.noreply@github.com
47727b6c497ea2ca0026b63f5bc8ffbec4d16a26
8af67e349460fbd5dfc02204490db68404aac87d
/String_Demo.py
858fa7c83091f2cfd6e956716ad89748e296ab0c
[]
no_license
PrachiGupta123/MSCW2020_Python
fc669f529f0b8e4eaa691cbcb228389363a6c34e
828bf6580b72abd115f438455369c571ec32ce4f
refs/heads/main
2023-02-11T04:46:01.851798
2021-01-11T09:06:46
2021-01-11T09:06:46
null
0
0
null
null
null
null
UTF-8
Python
false
false
136
py
name = "Prachi Gupta" print(name.upper()) print(name.lower()) print(name.swapcase()) print(name.replace('Prachi','Pallavi'))
[ "noreply@github.com" ]
PrachiGupta123.noreply@github.com
ec0c9e08418b84d778e9c06e6e71b69aeff2fc3f
5979abaa0e0505ae6c451fb499ec169852149572
/src/tasks/tasks.py
66eea099ee3454f3974fe2c25fe1c8bae0aa3adb
[]
no_license
lilylilalala/annotation
319b105ac0f6551f0806888358e420be8c98031d
8f29e335b26cf65c78b6ed4183e6fceb1b16171c
refs/heads/master
2022-12-14T09:27:06.385401
2019-01-17T01:28:51
2019-01-17T01:28:51
150,534,127
0
0
null
2022-12-08T02:24:29
2018-09-27T05:40:06
Python
UTF-8
Python
false
false
148
py
from celery import task @task(name='tasks.tasks.calling_submit') def calling_submit(instance): instance.submitted = True instance.save()
[ "973548751@qq.com" ]
973548751@qq.com
75869a80c9112aec95c89f8cafe5d4bc41012d64
74b7b062b4a7b759845adc2121fa8530d55aa452
/record_notebook_py/nicks_dataset.py
cde19e80bb298b7a9418d4931d6c7bfcd03b71f4
[]
no_license
drschwenk/tableparse_notebooks
a817dca6bde0e4e41078f76bf756c087b49e8ea8
07f5daa760c5e01349fba5a360bd4aa4b6d0956c
refs/heads/master
2021-01-22T06:18:56.168313
2017-06-22T22:32:22
2017-06-22T22:32:22
92,539,999
0
0
null
null
null
null
UTF-8
Python
false
false
18,543
py
# -*- coding: utf-8 -*- # <nbformat>4</nbformat> # <markdowncell> # # Table of Contents # * [Alternate tables](#Alternate-tables) # * [pairing images and annotations](#pairing-images-and-annotations) # * [sampling images](#sampling-images) # * [Regents tables](#Regents-tables) # * [Hough lines experiment](#Hough-li...
[ "schwgit2@gmail.com" ]
schwgit2@gmail.com
5d53a353a0efb382be881a4241cd629c5ef2714e
8ab314944385de19fd39076003eacb2ea1ebdd71
/config.py
89b011fe4db2eea583a62f773e6edf6d09169050
[]
no_license
orige-zz/compressimg
4202709ffa1cafe923bfd706b1bc88bcfd83ef69
859a049c885895636ad18d4fb34ac98c03b3ceae
refs/heads/master
2021-05-31T13:06:01.380166
2016-05-27T22:42:24
2016-05-27T22:42:24
null
0
0
null
null
null
null
UTF-8
Python
false
false
17
py
TINYPNG_KEY = ''
[ "eduardo.orige@gmail.com" ]
eduardo.orige@gmail.com
7ba674e395d20c039e13bf62b81baa1f6c1e5aa6
3ec45e4dd6db62ba7bebd6d13c01d7e2d2a85c4f
/mysite/settings.py
16b330627498c5d7dea3e13a8e8e7bc5e72d8885
[]
no_license
Skipi1111/my-first-blog
86cf3108c57700ead8bd5804199809dd06b5ff41
af96f1fc612b23a15f6031bc81566baf3ce54fea
refs/heads/master
2021-01-20T04:29:16.674137
2017-04-28T13:36:51
2017-04-28T13:36:51
89,698,765
0
0
null
null
null
null
UTF-8
Python
false
false
2,776
py
""" Django settings for mysite project. Generated by 'django-admin startproject' using Django 1.8. For more information on this file, see https://docs.djangoproject.com/en/1.8/topics/settings/ For the full list of settings and their values, see https://docs.djangoproject.com/en/1.8/ref/settings/ """ # Build paths i...
[ "19skipi96@gmail.com" ]
19skipi96@gmail.com
1851da00b12eb23c5a2b0d5aa267beca5f9ff212
8f9ac0355d2b4618ec4032b118bdbbc8779e3aab
/Lab/week 4_Queue/5 candyCrush2.py
71a0454c8884e17120770040ba499600edd53028
[]
no_license
G-nap/data-structure
1034f6b601eedd9e30a1832a0a96820eb54d06d2
d4c375782b48651adc7681eae9feb9fe6ea3227e
refs/heads/master
2023-01-05T12:26:17.992658
2020-11-06T10:10:26
2020-11-06T10:10:26
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,322
py
n = input('Enter Input (Normal, Mirror) : ').split() #print(n) nor = list(n[0]) mir = list(n[1]) stack_MIR = [] stack_NOR = [] boomz = [] def same(x,y,z): return x == y == z for e in mir: stack_MIR.append(e) if len(stack_MIR) > 2: if stack_MIR[-1] == stack_MIR[-2] and stack_MIR[-2] == stack_MIR[-...
[ "bebpandy@gmail.com" ]
bebpandy@gmail.com
15d42ea40f4c46a42efcaaa1b55978a0ff411af1
4e50d2345a2cfeb3c9ecb02187f88e753d1ed83c
/bin/html/json_structure/00.getJson.py
4444705d5d8eb9020504cacb7d70ecd2aa9b18c9
[]
no_license
ms201420201029/real_metagenome_pipeline
7c7b54e5e8a798933387f960256ebb849e9c2200
e8f0b188f21975305565d06e4fefe4f4c9adc1f7
refs/heads/master
2020-04-05T06:41:34.349662
2018-12-04T05:48:52
2018-12-04T05:48:52
156,646,750
1
1
null
null
null
null
UTF-8
Python
false
false
10,957
py
#!/usr/bin/python3 #-*- coding : utf-8 -*- ########################################################## # # Filename: 00.getJson.py # Author: mas@realbio.cn # Description: 将结果文件转化成json文件,以便后续渲染 # Last Modified: 2018-10-31 11:26:30 # # Copyright (C) 20181031 Ruiyi Corporation ############...
[ "1037080472@qq.com" ]
1037080472@qq.com
c351193f7c13944665260375b74e52d614f9e126
ad13583673551857615498b9605d9dcab63bb2c3
/output/instances/nistData/list/double/Schema+Instance/NISTXML-SV-IV-list-double-maxLength-3-3.py
b87e6657a0667e04224d685b68de4abfd4acfadf
[ "MIT" ]
permissive
tefra/xsdata-w3c-tests
397180205a735b06170aa188f1f39451d2089815
081d0908382a0e0b29c8ee9caca6f1c0e36dd6db
refs/heads/main
2023-08-03T04:25:37.841917
2023-07-29T17:10:13
2023-07-30T12:11:13
239,622,251
2
0
MIT
2023-07-25T14:19:04
2020-02-10T21:59:47
Python
UTF-8
Python
false
false
415
py
from output.models.nist_data.list_pkg.double.schema_instance.nistschema_sv_iv_list_double_max_length_3_xsd.nistschema_sv_iv_list_double_max_length_3 import NistschemaSvIvListDoubleMaxLength3 obj = NistschemaSvIvListDoubleMaxLength3( value=[ 6.828163737338829e+162, 4.3832452374445357e+167, ...
[ "tsoulloftas@gmail.com" ]
tsoulloftas@gmail.com
b285701b407b0c0a8f04c5f42f759a12b47915be
8442dad0497001d49ee857b49b785665e8d91904
/ex_crawl/2_bs4.py
3891ba645354dd6a1adc302396dfbf80a349ebe3
[]
no_license
rkarkd/abcd-python-apply
98360833a008d5b66cc513af8f3c59bbcd576ea5
e2867800ea32be11dc4869deb7302d786920edc3
refs/heads/master
2021-05-10T17:44:25.584123
2018-01-23T12:54:12
2018-01-23T12:54:12
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,149
py
import urllib.request from bs4 import BeautifulSoup # pip3 install beautifulsoup4 url = "http://abcds.kr" html = urllib.request.urlopen(url).read() soup = BeautifulSoup(html, "html.parser") # DOM 접근 (<html><body><p>) p1 = soup.html.body.p print("p1 - " + str(p1)) print("p1.string - " + p1.string) # id요소로 접근 ...
[ "do.ockhyun@gmail.com" ]
do.ockhyun@gmail.com
77888a46569bd7839413f22d826facd7c8ce1fc4
180aed13ba53f80582b51832123035d504dd4884
/js-axe-selenium/a11y/lib/python3.8/site-packages/panel/models/vega.py
82c28bd8156affb3b5d3f3495b2a9e7bc969b371
[ "MIT" ]
permissive
dalsontws/accessibility-axe-selenium
cf807a4b64d245eac8cf3fe0ee1a41420af551d3
ca0b54d550c9763902bd22bbc48562b9b211dd42
refs/heads/master
2023-02-01T07:24:18.661381
2020-02-04T08:11:11
2020-02-04T08:11:11
226,026,018
0
3
MIT
2023-01-24T01:04:41
2019-12-05T05:49:33
Python
UTF-8
Python
false
false
967
py
""" Defines custom VegaPlot bokeh model to render Vega json plots. """ from bokeh.core.properties import Dict, String, Any, Instance from bokeh.models import LayoutDOM, ColumnDataSource class VegaPlot(LayoutDOM): """ A Bokeh model that wraps around a Vega plot and renders it inside a Bokeh plot. """ ...
[ "noreply@github.com" ]
dalsontws.noreply@github.com
8203fd832cf20de386aac8d5cf27ac9570dbcc9e
6dfeb6981a8cff42ae3adc11cff7ffe48462f30e
/leet_code/112.path_sum.py
cdad5dfe5fa7abcc346d66e583f1a96261d7fdf9
[]
no_license
hqsds/Python
177ba56d4610e56784eab7069adb1f76fd72341c
ce2b0f50d3dd0b31de0e374747e11898abaf72f5
refs/heads/master
2021-06-13T15:36:53.351997
2017-03-20T20:42:15
2017-03-20T20:42:15
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,379
py
# Given a binary tree and a sum, determine if the tree has a root-to-leaf path such that adding up all the values along the path equals the given sum. # # For example: # Given the below binary tree and sum = 22, # 5 # / \ # 4 8 # / / \ # 11 13 4 # ...
[ "wangjian790@gmail.com" ]
wangjian790@gmail.com
c35bf4942c3e8db0eece733ab23cf2a2b8e38e2d
1dd113e9736c7d656695ce219c6c27efccb08ade
/code/main.py
d3e70f19891cd2c75e1976fdc5688b688a2a98d4
[]
no_license
kdbanapindi/drug-activity-prediction
564cfcc74da5c5e666bc409f093d63818aa55bc5
66b4cc157118b37e4b971e381281b37629792bc5
refs/heads/master
2020-12-12T17:33:32.754584
2020-01-15T22:50:51
2020-01-15T22:50:51
234,186,017
1
0
null
null
null
null
UTF-8
Python
false
false
2,176
py
# -*- coding: utf-8 -*- """ Created on Mon Apr 29 16:57:32 2019 @author: krish """ save_root='C:/Users/krish/Desktop/STAT 578/data/processed/' model_root='C:/Users/krish/Desktop/STAT 578/data/models/' dataset_names = ['DPP4','HIVINT', 'HIVPROT','METAB','OX1'] import json import os import pandas as pd os.chdir('C:/U...
[ "krishna.anapindi@gmail.com" ]
krishna.anapindi@gmail.com
0aca4857892de6d386b94530a1cac37b941e61f5
99f8ceb395af46d86c95163599413cd7e81bd09b
/tasks/signals.py
4312b225af8a1bd50c8cbed17073e9533a0be613
[]
no_license
tfgg/constituencyvolunteernetwork
703544b1ea2fe44dfe0ddd4d133776c49932f4dc
07d5717a9c6040b41cd4c18aaef918294f00579c
refs/heads/master
2021-01-21T19:28:19.295379
2010-05-10T13:23:04
2010-05-10T13:23:04
41,304,200
0
1
null
null
null
null
UTF-8
Python
false
false
398
py
""" Signals for the task application. Sent when the state of a user on a task changes. """ import django.dispatch task_assigned = django.dispatch.Signal(providing_args=["task_user"]) task_started = django.dispatch.Signal(providing_args=["task_user"]) task_ignored = django.dispatch.Signal(providing_args=["task_...
[ "timothy.green@220e2412-9961-11de-a05d-3bd73e269465" ]
timothy.green@220e2412-9961-11de-a05d-3bd73e269465
3fbc358145ffcbbfef77b090dea5d46431030f02
78c676b1f3daddb2ec433f6d4833f5b909addfd8
/austrian tax rate/austrian_tax_rate.py
f8cba50a4a185629b873e38664c32cac6663488b
[]
no_license
astronomyk/random_ideas
32d78e4adbe6eb16853c5f5cb3663213f0b5fa83
0f33b024c1d7de7a2617d13c9b7e9fd70aeee5a0
refs/heads/master
2020-06-15T04:29:37.425447
2019-07-04T08:49:58
2019-07-04T08:49:58
195,203,634
0
0
null
null
null
null
UTF-8
Python
false
false
1,486
py
import numpy as np from matplotlib import pyplot as plt from matplotlib.ticker import ScalarFormatter def austrian_tax_rate(): # in 1000s of € mon_netto = np.array([1.0, 1.2, 1.4, 1.7, 2.0, 2.4, 2.7, 3., 4., 5., 8., 12.]) mon_brutt = np.array([1.18, 1.47, 1.8, 2.4, 3.0, 3.8, 4.4, 5....
[ "kdleschinski@gmail.com" ]
kdleschinski@gmail.com
d293986f0d35054b57ae49bfc448a85136b0717b
9ab07a79bb97e4f2c24b31b716d14acbfb3249e2
/USING DB SQLite/emaildb.py
55a64e3611ffefaef30d1a2fe27a450bda775a56
[ "MIT" ]
permissive
AlvisonHunterArnuero/EinstiegPythonProgrammierung-
1017864be33ae095a0416d597149be10507f4478
ce106060fd244b83bf23beb98845d0510d8ccd0b
refs/heads/master
2022-12-10T20:07:16.154053
2022-12-03T20:42:47
2022-12-03T20:42:47
254,501,792
8
0
null
null
null
null
UTF-8
Python
false
false
1,068
py
import sqlite3 conn = sqlite3.connect('emaildb.sqlite') cur = conn.cursor() cur.execute(''' DROP TABLE IF EXISTS Counts''') cur.execute(''' CREATE TABLE Counts (org TEXT, count INTEGER)''') fname = input('Enter file name: ') if ( len(fname) < 1 ) : fname = 'mbox-short.txt' fh = open(fname) for line in fh: if no...
[ "alvison@gmail.com" ]
alvison@gmail.com
8902683bf3cc7c9f8b4f4ac72258d1f85bddac37
26f42ef7204c1e30e4de14c37d5b9c348602205e
/countfreq.py
517c3cd01a6e83e1fedc908342173dc14f5d5470
[]
no_license
dc3671/TangPoetryGenerate
557cd7b1115bdd405e331a59dae8388aa340abae
edfbd1864a8b510ead990c2745e1ee885204da49
refs/heads/master
2021-01-12T05:37:38.454453
2016-12-22T14:36:24
2016-12-22T14:36:24
77,150,508
0
0
null
null
null
null
UTF-8
Python
false
false
2,235
py
#!/bin/usr/env python # -*- coding: utf-8 -*- import sys import re reload(sys) sys.setdefaultencoding('utf-8') def count(obser, status, so, press, snum): if len(obser) != len(status): return for i in range(1, len(obser)): o = obser[i] s = status[i] pres = status[i - 1] if s n...
[ "chenzhh3671@gmail.com" ]
chenzhh3671@gmail.com
691c95aa3b1587f1682c69e5cc5038c5f3be130a
98fdf92757db14943939348126d7c2433cedef83
/luigi/contrib/salesforce.py
dadbd86a65b7a5462fc0a2a906abdf574980e12e
[ "Apache-2.0" ]
permissive
huygn/luigi
83db3ec38add943952292830465f51859b65cd5f
bf7194091d9c934ca4e741033debe73ee693b29f
refs/heads/master
2021-09-24T02:08:43.878769
2016-03-25T02:00:47
2016-03-25T02:00:47
54,885,159
0
0
Apache-2.0
2018-10-01T18:52:28
2016-03-28T10:34:02
Python
UTF-8
Python
false
false
25,819
py
# -*- coding: utf-8 -*- # # Copyright 2012-2015 Spotify AB # # 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...
[ "dlstadther@gmail.com" ]
dlstadther@gmail.com
5b89597467106b28a80cea60757167381bfd8edc
2aee45d23b47c6adba9eafc5a84d606a021f9300
/web_dashboard/models/models.py
fec9ca50de1abcd2af54f1f4e7a897ee9cb90ce6
[]
no_license
charles-123456/Primoris-System
23b183460ea79bfa8d896556aa35d62460154567
0880b8266eedfd0016a3b365c9939c34ad301155
refs/heads/main
2023-08-21T06:24:42.840026
2021-10-25T06:10:48
2021-10-25T06:10:48
385,922,247
1
0
null
null
null
null
UTF-8
Python
false
false
555
py
# -*- coding: utf-8 -*- from odoo import models, api from lxml.builder import E class BaseModel(models.AbstractModel): _inherit = 'base' @api.model def _get_default_dashboard_view(self): """ Generates a default dashboard view containing default sub graph and pivot views. :returns...
[ "charlesit333@gmail.com" ]
charlesit333@gmail.com
523d863369652fae4e71eb3c3f18e20eae041782
e0980f704a573894350e285f66f4cf390837238e
/.history/menus/wagtail_hooks_20201030120504.py
b3b8766746430b42c76ff1e9a244cfa6de30ca5e
[]
no_license
rucpata/WagtailWebsite
28008474ec779d12ef43bceb61827168274a8b61
5aa44f51592f49c9a708fc5515ad877c6a29dfd9
refs/heads/main
2023-02-09T15:30:02.133415
2021-01-05T14:55:45
2021-01-05T14:55:45
303,961,094
0
0
null
null
null
null
UTF-8
Python
false
false
116
py
""" Kategoria zostanie dodana w pasku bocznym u admina""" import ModelAdmin, decorator class MenuAdmin(ModelAdmin)
[ "rucinska.patrycja@gmail.com" ]
rucinska.patrycja@gmail.com
e0077da32f8f0a9b4ddeb55a914be35925f10d0d
64ec0ce37edfec33e1a7c9f074517c07161dc4b3
/torch/overrides.py
049115ebcd779e034d2f864af86cc6a072340b07
[ "BSD-2-Clause", "BSD-3-Clause", "LicenseRef-scancode-generic-cla", "BSL-1.0", "Apache-2.0" ]
permissive
Yodai1996/pytorch
35ffb1c1ba2f77957193e26c6c823daab5270aef
72274e2a2fd55019ec860e1743dbdc5b0c5a5624
refs/heads/master
2023-07-25T01:25:09.684093
2021-09-08T07:22:05
2021-09-08T07:25:34
null
0
0
null
null
null
null
UTF-8
Python
false
false
83,071
py
""" Python implementation of ``__torch_function__`` While most of the torch API and handling for ``__torch_function__`` happens at the C++ level, some of the torch API is written in Python so we need python-level handling for ``__torch_function__`` overrides as well. The main developer-facing functionality in this fil...
[ "facebook-github-bot@users.noreply.github.com" ]
facebook-github-bot@users.noreply.github.com
38408044753df3abbfd19b04baebe47b44771d83
618b4530b7cf790d16971a52013949b6a9219746
/interview_questions/24_game.py
fa6b8743d8ee5a9e0f898212332523b4d67cbb1e
[]
no_license
juanda2222/playground
aa01854ef038cc41c83ee6d1ffa86273ad1234e0
62e13179063a1e68dce6b3193f541a81008f23de
refs/heads/master
2023-01-07T20:07:05.763286
2020-08-19T03:13:19
2020-08-19T03:13:19
234,250,357
0
0
null
2022-12-13T12:35:59
2020-01-16T06:24:20
Python
UTF-8
Python
false
false
3,364
py
# Property always holds: root.val = min(root.left.val, root.right.val) from itertools import product, permutations class Solution: def judgePoint24(self, nums: list) -> bool: operations = ["*", "/", "+", "-"] parenthesis_combinations = ( (' ', ' ', ' ', ' ', ' ', ' '), (' ', ' ',...
[ "juan.ramirez.villegas@correounivalle.edu.co" ]
juan.ramirez.villegas@correounivalle.edu.co
dd184f73ef42292dbd02ac5f977f312ca788eb44
af7d54a425379264f11837530d4e7ce9dc3f7a2c
/oob_error.py
a5461a6e5fc85ff49f7377cd3be2a792ba2c7fa3
[]
no_license
pduy/dm-assignment-3
0bc1abad3d279ef306512fccda70ea00d52716ab
eb1ebf137d5d8453daf29b53943b94024aad47e7
refs/heads/master
2021-01-10T05:25:18.789553
2016-04-16T20:43:07
2016-04-16T20:43:07
55,680,117
0
0
null
null
null
null
UTF-8
Python
false
false
2,267
py
# OOB error for random forest import matplotlib.pyplot as plt import numpy as np import generate from sklearn import cross_validation from collections import OrderedDict from sklearn.datasets import make_classification from sklearn.ensemble import RandomForestClassifier, ExtraTreesClassifier RANDOM_STATE = 123 n_esti...
[ "lianzitong@yahoo.com" ]
lianzitong@yahoo.com
c9ae147a61ba47a73fdf8a33f736f0333de0c516
39eeb8ee756d5cebdfeed5dee7b57eb770fa075d
/src/amfe/io/mesh/constants.py
bc59d4e1b652ffc264f34652613edf1d4c394fc9
[ "BSD-3-Clause" ]
permissive
c-meyer/AMfe
9ca37535316b502fdc6731904d99287ae4cff824
61658db4f00858da4b4c6ba295ce66fd3ca9d324
refs/heads/master
2023-06-13T03:44:45.482814
2023-06-07T12:08:23
2023-06-07T12:08:23
187,845,356
0
0
NOASSERTION
2023-06-07T12:08:07
2019-05-21T13:41:32
Python
UTF-8
Python
false
false
286
py
VOLUME_ELEMENTS_2D = {'Tri6', 'Tri3', 'Quad4', 'Quad8', } VOLUME_ELEMENTS_3D = {'Tet4', 'Tet10', 'Hexa8', 'Hexa20', 'Prism6'} BOUNDARY_ELEMENTS_2D = {'straight_line', 'quadratic_line'} BOUNDARY_ELEMENTS_3D = {'straight_line', 'quadratic_line', 'Tri6', 'Tri3', 'Tri10', 'Quad4', 'Quad8'}
[ "christian.meyer@tum.de" ]
christian.meyer@tum.de
847a6db393065b4413fc689ae3d6de1956da7c97
ab3eddf86e0e572b3fef550c315fbfb5c2cb5c67
/spider/news/bak/peopleStatic.py
cd8d7a69536fdce2dfea8a527fbe247adb927c46
[]
no_license
wing02/weXun
d96696011743cb27ed6b90a2b5960a61a4f7bc17
7981072d453c94f2a1860ef1d86fc0b5dfdca2d2
refs/heads/master
2020-04-06T06:56:06.539237
2016-08-30T09:01:09
2016-08-30T09:01:09
63,228,536
0
0
null
null
null
null
UTF-8
Python
false
false
1,390
py
import scrapy from scrapy import signals from pydispatch import dispatcher import time import os import re import cPickle import os.path as osp from news.items import NewsItem import hashlib from news.spiders.myExt import TextExtract from news.spiders.staticSpider import StaticSpider class PeopleStaticSpider(StaticSpi...
[ "531857684@qq.com" ]
531857684@qq.com
29575ccb22e1acdccd3a4a2a69ae05b0f6d10aab
3144d8abd9d9bc149dc5bdc642e7c103142ff8ae
/checkout/models.py
9ad047b34c9b9c88d712e89044915a26f7d2f5ad
[]
no_license
hebs87/e-commerce
2d99c6020db22c00dfb6580381485e6d05f03752
625839af74a8d1df6a5a28ba8c6374b1791cc31e
refs/heads/master
2020-07-12T09:37:12.079405
2019-10-28T22:16:19
2019-10-28T22:16:19
204,781,040
0
0
null
null
null
null
UTF-8
Python
false
false
1,559
py
from django.db import models from products.models import Product # Create your models here. class Order(models.Model): ''' Gives a summary of the user's order ''' # blank=False means it can't be left blank full_name = models.CharField(max_length=50, blank=False) phone_number = models.CharField(...
[ "ubuntu@ip-172-31-94-120.ec2.internal" ]
ubuntu@ip-172-31-94-120.ec2.internal
d824469d87928da30bcc2a3d470dd249f66ca8e7
6c44f2828db602c361f512ea54891e1b4d0efc43
/cgi.ru/cgi-bin/general.py
a6d0576a34dc8adac6003ba48f06067aa7b4ddd9
[]
no_license
snaiffer/test
5ea75dbf254a2e61073df77ece18cf8aa53250b9
75e066cf7a0311686f464c41c6d798587b0dc3a3
refs/heads/master
2021-05-02T08:13:51.133084
2021-03-23T08:28:48
2021-03-23T08:28:48
24,724,453
0
0
null
null
null
null
UTF-8
Python
false
false
1,253
py
#!/usr/bin/env python3.2 " Global settings and constants " import re rootBglobal_id = 1 # for ordering branches orderb_step = 1000000 # initial step in order field between branches. It's tidy connection with orderb_MAX. And influence on performance orderb_MIN = 1 orderb_MAX = 2147000000 - orderb_step # dbtype = "...
[ "snaiffer@gmail.com" ]
snaiffer@gmail.com
1e4cb6c2ef210b00387238f4082d976cfc4ca57e
4304d7929972da2a92edb57d4e039182bc2ac463
/photosphere.py
9ecd31182a33dc175b7928d1f10f9b125c4b4581
[]
no_license
geocachecs/photosphere
61c696b960263073cd7a9e93c4874b9b35a79c95
b9777d8eeb374e8e983efa1143376a908f108f66
refs/heads/master
2021-01-15T08:47:21.898982
2015-10-21T17:42:06
2015-10-21T17:42:06
null
0
0
null
null
null
null
UTF-8
Python
false
false
3,876
py
from PIL import Image import math def getAngle(x, y): #Gets the angle of any pixel in the new image (in reference to its center) #the coordinates have to be adjusted so that the center of the picture would be the origin #this is done in main, or whatever y=-y p=math.sqrt( ma...
[ "munoz@users.noreply.github.com" ]
munoz@users.noreply.github.com
ca34433e40b33107c57ce5c65c9ed745cc89c6bc
71ed7b1d4198df0268ea33ccdce9bd0ae0305170
/gui_examples/exercise3_ans.py
9d258389d2df53cb7f7e478d66e988f33d7a6aff
[]
no_license
kailash-manasarovar/GCSE_code
753b625951de053ceecadca4c0ea3e57678a87f9
84fc5908b059116186050c58b1dd75376d2b061f
refs/heads/main
2023-07-14T21:24:52.687135
2021-08-13T15:17:20
2021-08-13T15:17:20
358,193,174
0
0
null
null
null
null
UTF-8
Python
false
false
1,318
py
# Completed CODE for EXERCISE 3 # ------------------- # This exercise introduces # * Difference border styles # * Pack options: # # The exercise aims explores layout from tkinter import * import random app = Tk() # Create the top-level window app.title("GUI Example") # OPTIONALLY set the title # # Create two f...
[ "niramisa777kubera@gmail.com" ]
niramisa777kubera@gmail.com
f9afa71a024e5a172a4f860a28df273e4af365b0
db49edf79b5a20341734f28bf5218792b1cf5858
/trajnetplusplusbaselines/trajnetbaselines/lstm/loss.py
b43a793d4533586bffad5b65c580a1bb926ad9aa
[]
no_license
Arturjssln/trajnetplusplus
6b3e5afa395e489afeebf1a8eaa6fcc7bf6a2d4b
dcdbb24a897a165528e4bac4b5f0642e25f335a2
refs/heads/master
2023-02-25T15:50:35.221104
2021-01-31T14:40:10
2021-01-31T14:40:10
293,736,684
1
0
null
2020-10-18T14:53:02
2020-09-08T07:38:54
Python
UTF-8
Python
false
false
5,091
py
import math import random import torch class PredictionLoss(torch.nn.Module): """2D Gaussian with a flat background. p(x) = 0.2 * N(x|mu, 3.0) + 0.8 * N(x|mu, sigma) """ def __init__(self, keep_batch_dim=False, background_rate=0.2): super(PredictionLoss, self).__init__() self.keep_b...
[ "36760014+Arturjssln@users.noreply.github.com" ]
36760014+Arturjssln@users.noreply.github.com
fc31d2e94e5ef8adf938b67904a25b66dbb993f4
5cd4b79bcd87844be9a26e870d98659e0483a157
/rplugin/python3/tomemo/sync.py
3631df935a78ff8be7a603b5d644127e9be0d9b4
[]
no_license
tortuepin/tomemo
859dd8e7dc901d939754fed2b9de434b1fb0387e
7541573724e470d49d0ac200772c581da2c92c04
refs/heads/master
2020-12-24T06:24:26.819797
2017-04-08T09:25:38
2017-04-08T09:25:38
73,488,140
0
0
null
null
null
null
UTF-8
Python
false
false
2,456
py
# vim:set foldmethod=marker: import simplenote import os.path def get_User_Data(filename): #{{{ ''' get user data from file ret dictonary: {"email":'', "password":''} datafile should be this structure : 1. email 2. password number and '.' which is in head represent linenumber. ...
[ "kameyasu119@gmail.com" ]
kameyasu119@gmail.com
1b4899ddb490787b92f042f6d5e21fcde84aa21a
2aace9bb170363e181eb7520e93def25f38dbe5c
/build/idea-sandbox/system/python_stubs/cache/1935d5ba538766606877fea3170e8be386a9677d1874a1cd4f21bb4b15b507a4/_cython_0_29_16.py
134551b94817f810b1dd85bf60fdae6b79d3c44b
[]
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
4,282
py
# encoding: utf-8 # module _cython_0_29_16 # from C:\Users\Doly\Anaconda3\lib\site-packages\scipy\integrate\_test_multivariate.cp37-win_amd64.pyd # by generator 1.147 # no doc # no imports # Variables with simple values __loader__ = None __spec__ = None # no functions # classes class cython_function_or_method(obje...
[ "qinkunpeng2015@163.com" ]
qinkunpeng2015@163.com
166c9c3f9f372c3b705c39c37284d4bceebb2b21
352cefc110d4fc69f1637da109c48b7e2edb5a53
/tiles/admin.py
78b8d5e081ac96516247945a7671703f039f9c63
[]
no_license
ulsu/abiturient2
2a3ac18c0b9ca150f5b73d73d7f0544913195caf
f71082f2693ca21a94df6f2d608e4219ad18111e
refs/heads/master
2021-01-19T20:16:11.828569
2014-05-12T02:34:37
2014-05-12T02:34:37
null
0
0
null
null
null
null
UTF-8
Python
false
false
524
py
from django.contrib import admin from models import * class TileSetAdmin(admin.ModelAdmin): list_display = ('slug',) class LinkTileAdmin(admin.ModelAdmin): list_display = ('href',) class FileTileAdmin(admin.ModelAdmin): list_display = ('document',) class ContentTileAdmin(admin.ModelAdmin): list_...
[ "dave73@mail.ru" ]
dave73@mail.ru
bb6fb54135f828268b32553a317043acc288650b
a2ab6c23253badb3be54b19ba061e1aeaac6a8cd
/utils/image_annotator.py
6d3168d8b386e8ae48a956d41739e56d99f89255
[]
no_license
vivek09pathak/ImageDetection_RealTime
0720fb4a6f35a81591f401a04ae44aa3bbea013f
d9e376b41a1216aecaacc9626cee59d45001695c
refs/heads/master
2022-12-26T22:04:18.328476
2020-09-30T10:20:15
2020-09-30T10:20:15
152,729,896
0
0
null
null
null
null
UTF-8
Python
false
false
2,380
py
import cv2 import numpy as np from data.videos import path as videos_path def from_image(image): try: grid_interval = 25 grid_color = (200, 100, 200) points = [] current = [0, 0] width = image.shape[1] height = image.shape[0] img = image.copy() c_x ...
[ "anupamb266@gmail.com" ]
anupamb266@gmail.com
b686b3b8ebf90c4193a4b8d30d1a9c37b9392ce4
a6e773c3f06defd0e843ee87cfe86b474634aa35
/week1/hello_world.py
d96eb1b8a8ae6c0e85021564adb9add38af3d8c6
[]
no_license
liyujiel/M101P
d959bd468fc562a21f7070b1fa6bee669b5bc80c
1af7ae0021c8ef0987caf762de990aa49c010f27
refs/heads/master
2021-01-23T10:47:43.733345
2017-06-19T20:10:06
2017-06-19T20:10:06
93,093,220
0
0
null
null
null
null
UTF-8
Python
false
false
204
py
import bottle @bottle.route('/') def home_page(): return "Hello World\n" @bottle.route('/testpage') def test_page(): return "Test Page" bottle.debug(True) bottle.run(host='127.0.0.1',port=8080)
[ "li1995717@gmail.com" ]
li1995717@gmail.com
8e25a1796167d78df9540e1af627c58840c35ae1
be53d9967a7e9d52365e93521c015dae95a4c8a2
/app/forms.py
5a4144ccc57d8f395286400f44aa63ab85674f49
[]
no_license
marklandp/info3180-project4
2de90d8693e5b83207767d6f4092ffdfcc99874e
638fc7924e50f556738ac896ed8e179c901860ad
refs/heads/master
2020-12-31T01:11:08.581892
2016-04-30T18:19:43
2016-04-30T18:19:43
56,341,737
0
0
null
null
null
null
UTF-8
Python
false
false
3,241
py
from flask.ext.wtf import Form from wtforms.fields import TextField, IntegerField, SelectField, FileField, PasswordField, SubmitField, TextAreaField from wtforms.fields.html5 import EmailField from wtforms.validators import Required, Length, EqualTo, ValidationError, Email, NumberRange from app.models import User_info ...
[ "marklandpayne@gmail.com" ]
marklandpayne@gmail.com
e5298e2cb42519ec6fdfc02dc68398406969417c
cc096d321ab5c6abf54fdcea67f10e77cd02dfde
/flex-backend/pypy/translator/js/function.py
c14b8c8c19d81579e42f69e8c29f1ca539832eaa
[ "LicenseRef-scancode-unknown-license-reference", "MIT" ]
permissive
limweb/flex-pypy
310bd8fcd6a9ddc01c0b14a92f0298d0ae3aabd2
05aeeda183babdac80f9c10fca41e3fb1a272ccb
refs/heads/master
2021-01-19T22:10:56.654997
2008-03-19T23:51:59
2008-03-19T23:51:59
32,463,309
0
0
null
null
null
null
UTF-8
Python
false
false
7,649
py
try: set except NameError: from sets import Set as set from pypy.objspace.flow import model as flowmodel from pypy.rpython.lltypesystem.lltype import Signed, Unsigned, Void, Bool, Float from pypy.rpython.lltypesystem.lltype import SignedLongLong, UnsignedLongLong from pypy.rpython.ootypesystem import ootype fr...
[ "lucio.torre@dbd81ab4-9648-0410-a770-9b81666e587d" ]
lucio.torre@dbd81ab4-9648-0410-a770-9b81666e587d
3c495192798aa7afc37d5e8f172d18fe0044f2a1
87f7de620267548c5504b4d022378e56b7d25bc4
/converter.py
f80828f214738e37ce237090d407373997f547a0
[]
no_license
jakeolenick/Orchestra
4c2c8e95b9d88c6d0336ba60ea41178f4864e79b
d40e863562a21378ecf8106dbc2e61848ec5ae44
refs/heads/master
2020-05-26T18:30:29.452004
2019-05-24T02:11:56
2019-05-24T02:11:56
188,335,901
0
0
null
null
null
null
UTF-8
Python
false
false
566
py
def convert(n): notes = [" ", 'C', 'd', 'D', 'e', 'E', 'F', 'g', 'G', 'a', 'A', 'b', 'B', 'C1', 'd1', 'D1'] #print len (notes) keys = ["-", 'a', 'w' , 's' , 'e', 'd', 'f', 't' , 'g' , 'y', 'h', 'u', 'j', 'k', 'o', 'l'] #print len (keys) return keys [notes.index (n)] def score (s): r...
[ "noreply@github.com" ]
jakeolenick.noreply@github.com
efdf17b0386a062ae1786386cfcd575b6dfe973d
397e125e94f4f139f2bf5055824d81f24b8b1757
/ABC/165/F-1.py
e46b77a108de4a46bd7d12686ca0056a7ddfe1e2
[]
no_license
tails1434/Atcoder
ecbab6ee238e3f225551297db961b1b502841fa4
e7c7fed36be46bbaaf020a70997842240ba98d62
refs/heads/master
2021-07-07T00:31:49.235625
2020-09-30T01:42:01
2020-09-30T01:42:01
189,009,622
0
0
null
null
null
null
UTF-8
Python
false
false
1,035
py
import sys import bisect from collections import deque sys.setrecursionlimit(4100000) input = sys.stdin.readline def main(): N = int(input()) A = list(map(int, input().split())) edge = [[] for _ in range(N)] for i in range(N-1): u, v = map(int, input().split()) u -= 1 v -= 1 ...
[ "sososo1333@gmail.com" ]
sososo1333@gmail.com
f6dfeaf665aeacee6e8e8506307ea7e21cea454e
747f759311d404af31c0f80029e88098193f6269
/addons/purchase_confirm/__init__.py
dff9e4121dca62a7713e16faec859bfcefc3e483
[]
no_license
sgeerish/sirr_production
9b0d0f7804a928c0c582ddb4ccb7fcc084469a18
1081f3a5ff8864a31b2dcd89406fac076a908e78
refs/heads/master
2020-05-19T07:21:37.047958
2013-09-15T13:03:36
2013-09-15T13:03:36
9,648,444
0
1
null
null
null
null
UTF-8
Python
false
false
66
py
/home/openerp/production/extra-addons/purchase_confirm/__init__.py
[ "geerish@omerp.net" ]
geerish@omerp.net
7b5120e458925011193d91e7147821cf1b7fa809
a04a552d2f59d701689da51f84a6496d72a90d1b
/Matplotlib/tutorial011_histogram.py
25076e4d2224acf75db177fe74f24fee8d20a95e
[]
no_license
gauravbachani/Fortran-MPI
e4489305506b1c6ae03ef295161f27518105da95
50c9a01aefda22011d57022ad6967e4e79a06674
refs/heads/master
2023-04-20T12:58:31.984984
2021-05-25T07:33:40
2021-05-25T07:33:40
370,604,507
1
0
null
null
null
null
UTF-8
Python
false
false
669
py
# Plotting tutorials in Python # Histogram Plots # IQ distribution of a random normal population import numpy as np import matplotlib.pyplot as plt import matplotlib as mpl mpl.style.use('classic') mean = 100 sd = 15 N = 1000 binsize = 20 IQ = np.random.normal(mean, sd, N) # plt.hist(IQ, binsize, facecolor='chocolat...
[ "arunprasaad2711@gmail.com" ]
arunprasaad2711@gmail.com
72473fc5a603d519d1cb855ace1e770bfa4612f5
735d55df1f8003646287dac1f74e350e189e52fc
/visualize.py
2acc13d588d3157e428a13fa785658cca440ce24
[]
no_license
dwkr/ComputerVisionProject
e317aca7987904653931ee7c0ec011407eec9bed
a9aff20434361baefb3df1ac8899218af1cb7db4
refs/heads/master
2020-03-30T17:02:50.123602
2019-04-07T23:59:06
2019-04-07T23:59:06
151,439,340
0
0
null
null
null
null
UTF-8
Python
false
false
286
py
import numpy as np import cv2 DATA_PATH = "D:\\data\\" data = np.load(DATA_PATH+"train_data_53.npy") for d in data: cv2.imshow('window', d[0]) print(d[1]) print(d[2]) print(d[3]) if(cv2.waitKey(25) & 0xFF == ord('q')): cv2.destroyAllWindows() break
[ "19.diwakar.92@gmail.com" ]
19.diwakar.92@gmail.com
922c0124f025212fbc27c08829428951147fb44d
3fd707fc7106f0e504327fa88bd85e41e8f63c8f
/utils.py
fd6c7c867324fb984d1058fef71589e801ed4a4d
[]
no_license
hellvetica42/WinVolumeMixer
964e29c2697e86b64d3b1c6967f5eaf0f25c0fb1
a1b6859561466c945f15eb55079fb27abaad4bb1
refs/heads/master
2023-02-12T07:37:30.257022
2021-01-17T18:18:45
2021-01-17T18:18:45
329,981,340
0
0
null
null
null
null
UTF-8
Python
false
false
674
py
from pycaw.pycaw import AudioUtilities, IAudioEndpointVolume from ctypes import cast, POINTER from comtypes import CLSCTX_ALL from masterVolume import * from math import floor def getSources(): sessions = AudioUtilities.GetAllSessions() return [s.Process.name() for s in sessions if s.Process] def setSourceVol...
[ "petar.slavicek@gmail.com" ]
petar.slavicek@gmail.com
02c88c50e679434e3e4ae163ee0e5026f6e74efc
e489172f6e49e1239db56c047a78a29a6ffc0b36
/via_purchase_enhancements/stock.py
94ac503ae599e50b3f088a456a70e97b5fede72d
[]
no_license
eksotama/prln-via-custom-addons
f05d0059353ae1de89ccc8d1625a896c0215cfc7
f2b44a8af0e7bee87d52d258fca012bf44ca876f
refs/heads/master
2020-03-25T19:49:08.117628
2015-12-01T07:29:43
2015-12-01T07:29:43
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,321
py
############################################################################## # # Vikasa Infinity Anugrah, PT # Copyright (c) 2011 - 2012 Vikasa Infinity Anugrah <http://www.infi-nity.com> # # This program is free software: you can redistribute it and/or modify # it under the terms of the GNU Affero Genera...
[ "aero@aero.(none)" ]
aero@aero.(none)
680addf26dba5b848a8d83cd34e73d8f679a6b41
b67ba573498318c906968bd2c946543dbd4658fe
/gravityspytools/retrain_model/views.py
479c7bb11b8c958af3bc4fd322cdb30c88d2d2d7
[ "BSD-3-Clause" ]
permissive
Gravity-Spy/gravityspytools
1f86f91a00063afdfe507f1d1bf38be5c8e1b421
23ef83e36ed934f7c39440bf43f4d5c7b7b4abb0
refs/heads/master
2021-05-09T08:55:12.904449
2020-07-14T18:38:25
2020-07-14T18:38:25
119,413,494
4
4
BSD-3-Clause
2020-07-14T18:38:27
2018-01-29T17:05:08
Python
UTF-8
Python
false
false
2,405
py
# -*- coding: utf-8 -*- #from __future__ import unicode_literals from django.shortcuts import render, redirect from login.utils import make_authorization_url from collection_to_subjectset.utils import retrieve_subjects_from_collection from .forms import NewClassForm from .models import NewClass from gwpy.table impo...
[ "scottcoughlin2014@u.northwestern.edu" ]
scottcoughlin2014@u.northwestern.edu
80867443a6705a722d5e6467fd92d39c34e454a4
9c7c67738220b4ee31452798b46999ed8125977c
/Disaster_Response_Pipeline/app/run.py
022b1f3a3b4679ddfd145ff43f729d4fecca1c23
[]
no_license
Arunk-rbs/MachineLearning
492d618e592ef7d8e3d1f394501ccba09f7eb39f
42ca7e9b8f39de9394ce88371325e8e9865523eb
refs/heads/master
2023-01-10T20:34:03.985878
2020-11-17T07:42:27
2020-11-17T07:42:27
276,357,300
0
0
null
null
null
null
UTF-8
Python
false
false
3,459
py
import json import plotly import pandas as pd from nltk.stem import WordNetLemmatizer from nltk.tokenize import word_tokenize from flask import Flask from flask import render_template, request, jsonify from plotly.graph_objs import Bar from sklearn.externals import joblib from sqlalchemy import create_engine app = ...
[ "noreply@github.com" ]
Arunk-rbs.noreply@github.com
acd302247f1d22de27a073e16b3e068811335a2a
7f5a4bf7fb5a339c99a8572f3ccba807f687ea37
/mainapp/migrations/0001_initial.py
b98f87e153a20ac509d2d9b6903aba98cb2856ea
[]
no_license
EgorDubkov/django
6c84a87de3f3e500e010d116478595b7dc0a5f21
581ea14a75594019faf64fb1d32bd3654283c947
refs/heads/main
2023-06-22T11:14:48.966391
2021-08-02T14:05:28
2021-08-02T14:05:28
391,969,046
0
0
null
null
null
null
UTF-8
Python
false
false
2,230
py
# Generated by Django 3.2.5 on 2021-07-29 09:31 from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): initial = True dependencies = [ ] operations = [ migrations.CreateModel( name='ProductCategory', ...
[ "noreply@github.com" ]
EgorDubkov.noreply@github.com
7759480a6b4389cb6e24e2ad5da044b038b0bbea
3c810de9b983d77826721541c8d7b7889b79755c
/twitterScanner.py
e5d32aee85898aa940713ee84cb9c7f3f0db2fd0
[]
no_license
bljaime/Twitter_SparkStreaming
c5dd5f74c4be580735d7fabb63f5cb33e0fd23d9
1a869bff636cca25ba6bcef05d12a06c3aacf747
refs/heads/master
2020-05-02T02:00:07.291898
2019-03-26T03:28:37
2019-03-26T03:28:37
177,695,903
0
0
null
null
null
null
UTF-8
Python
false
false
1,555
py
import tweepy from tweepy import OAuthHandler, Stream from tweepy.streaming import StreamListener import socket import json # Fill out your consumer & consumer secret API keys, # access & access secret token keys. consumer_key = ' ' consumer_secret = ' ' access_token = ' ' access_secret = ' ' # It's going to listen ...
[ "noreply@github.com" ]
bljaime.noreply@github.com
de6a0052a01c3672f8b0b6d1da124f80da4e08a8
b251590cc2970f837eb88224f196d7b833f40abf
/src/app.py
f865fcadce22b74cb027a469217dd9fe1fc52b3f
[]
no_license
MoBran/bi2_project
ea07974624baf03ed1e5c2351efafe85ea7876a3
2bcc36949c9e4a20da74f559d6a64d44b8dc36b2
refs/heads/master
2021-08-20T06:09:56.686180
2017-11-28T11:27:57
2017-11-28T11:27:57
107,972,290
0
1
null
null
null
null
UTF-8
Python
false
false
52
py
""" Main script for executing the data pipeline """
[ "lukas.miklautz@gmail.com" ]
lukas.miklautz@gmail.com
67c9731aabf13945d17be90097d08b5ee47a54ed
b820df7fbcf8c764e2d309cf63fc409e1a3deb5c
/polls/migrations/0001_initial.py
5836340b11242a2eed71342e03ccc07c84ea17ef
[]
no_license
rishabhSmartdata/Django_DemoProject
834a8c6a42cc6a638b79aaba880a5884da7fa50f
9a41011b92ebae4f1975da5ecd929135953a2707
refs/heads/master
2020-06-30T00:44:12.989308
2019-08-05T14:22:10
2019-08-05T14:22:10
200,670,248
0
0
null
null
null
null
UTF-8
Python
false
false
1,075
py
# Generated by Django 2.2.1 on 2019-07-22 21:50 from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): initial = True dependencies = [ ] operations = [ migrations.CreateModel( name='Question', fields=[ ...
[ "rishabh.gupta@isteams-Mac-mini-23.local" ]
rishabh.gupta@isteams-Mac-mini-23.local
ab2e4af17f8e39c556b8394fc307067c0fcf635b
da0d673da16f92ffed008b4c8b8c82c336d78122
/server/app.py
90039f57aee1197bfae1a0fe21bfe9586aac1f61
[]
no_license
aparkalov/sc-web
5dcac607c42376df205c6a025dbfe076f018970b
43c0d79f0fefa435bb9f53b230e9b9048e000613
refs/heads/master
2021-01-17T18:21:58.247615
2015-10-25T20:45:11
2015-10-25T20:45:11
null
0
0
null
null
null
null
UTF-8
Python
false
false
5,155
py
import tornado.ioloop import tornado.web import tornado.options import secret import os from handlers.main import MainHandler import handlers.api as api import handlers.auth as auth import admin.main as admin import admin.users as admin_users import ws, db is_closing = False def signal_handler(signum, frame): gl...
[ "denis.koronchik@gmail.com" ]
denis.koronchik@gmail.com
e9b6d696d4071162bc5c1b73de0a440616035648
7c3e25b4c80f791700fc982ce3b73b6dd6ec54bc
/graph/views.py
353e49371382396f1f5fc961405d062e0ee2c233
[]
no_license
avivalbeg/Janivi
0b63c502b3e2577480c74ad0fef50b00daaca702
14109b2793df58182e3829e7a618c15807a17a94
refs/heads/master
2020-03-22T02:49:16.717887
2018-07-10T06:49:45
2018-07-10T06:49:45
139,395,084
0
0
null
null
null
null
UTF-8
Python
false
false
644
py
from django.shortcuts import render from django.http import HttpResponse from django.template import loader from .models import Graph from django.http import Http404 # Create your views here. def index(request): all_graphs = Graph.objects.all() template= loader.get_template('graph/index.html') context = { ...
[ "aviv_elbag@umail.ucsb.edu" ]
aviv_elbag@umail.ucsb.edu
fa0e3069b8efdb86ff7cd4222733eaadb9e77aef
ac3c861743a99f514fd959ab7ab283ca31c1bb44
/digits/extensions/view/boundingBox/view.py
a5401a2fc29830c6120c9291f0225e7a46dd5022
[ "LicenseRef-scancode-generic-cla" ]
no_license
smichalowski/DIGITS
6b96e73da567c8b550c03a7defd3167e50c25025
c07ad69c420b963f09bd5dd158a5b9026a086e9a
refs/heads/master
2021-01-16T18:31:17.957297
2016-08-03T16:29:30
2016-08-03T16:29:30
64,968,027
1
0
null
2016-08-04T21:18:33
2016-08-04T21:18:33
null
UTF-8
Python
false
false
4,171
py
# Copyright (c) 2016, NVIDIA CORPORATION. All rights reserved. from __future__ import absolute_import import os import PIL.Image import digits from digits.utils import subclass, override from .forms import ConfigForm from ..interface import VisualizationInterface CONFIG_TEMPLATE = "config_template.html" HEADER_TEMP...
[ "gheinrich@nvidia.com" ]
gheinrich@nvidia.com
4792575944911b2df78e6328076c706c771bb9d6
44675bde51a18bfc64a51ae8202b3329f06217be
/Lista III/Lista III exercício 2.py
53e2c205aee93c772177637264dc2f7b33603754
[]
no_license
zirou30/Zumbis-Exercicios
049cf5f68ad574b512da0ed974e50a56d5d50df4
391cc40a8e0884d475c523a8eec83cf464b683d1
refs/heads/master
2021-01-21T15:44:10.653280
2014-09-12T00:10:42
2014-09-12T00:10:42
25,316,118
2
0
null
null
null
null
UTF-8
Python
false
false
189
py
usuário = input('Usuário: ') senha = input('Senha: ') while usuário == senha: print('Senha deve ser diferente do Usuário') usuário = input('Usuário: ') senha = input('Senha: ')
[ "jasiel_serra@hotmail.com" ]
jasiel_serra@hotmail.com
125a21a1623712717c697965f8a5a9521fef3f5e
5d7c574c150df24ac9ba1b34ac77a732e705fafa
/framework/test1.py
ce670247bd3d2155c06233763e4aa04127a4588f
[]
no_license
marco776/automation
739f05a4d51a063546d3b0ec0ba4307f67512bc0
34e037b5d5e9763a19048468069d7542fbd5d08f
refs/heads/master
2020-07-07T00:48:23.532218
2019-08-19T14:48:22
2019-08-19T14:48:22
203,190,654
0
0
null
null
null
null
UTF-8
Python
false
false
231
py
# !/usr/bin/python # -*- coding:utf-8 -*- import os import configparser config = configparser.ConfigParser() file_path = os.path.dirname(os.path.abspath('.')) + '/config/config.ini' print(os.path.abspath('.')) print(file_path)
[ "370363672@qq.com" ]
370363672@qq.com
fd2b33ca40af9247a24856266fbe39f80aaec19c
cfa5901c0d154f391d7d4d227ac20c0c19633128
/app/na4u/apps/articles/migrations/0019_auto_20191126_1827.py
39c77a0d0b100e25ee97b2033ad3cfa3ed7099b1
[]
no_license
Proffett/django-blog
a1b2f90b87139f6836145f3c1d7b860340e24127
2196df555d116ed2986251052c4c641869d226e4
refs/heads/main
2023-01-01T00:40:29.104368
2020-10-28T09:14:00
2020-10-28T09:14:00
null
0
0
null
null
null
null
UTF-8
Python
false
false
447
py
# Generated by Django 2.2.7 on 2019-11-26 18:27 from django.db import migrations import djrichtextfield.models class Migration(migrations.Migration): dependencies = [ ('articles', '0018_auto_20191121_1630'), ] operations = [ migrations.AlterField( model_name='article', ...
[ "34817647+Proffett@users.noreply.github.com" ]
34817647+Proffett@users.noreply.github.com
5d17e513b427415520b3fd591509b1b5542e8fb0
556db265723b0cc30ad2917442ed6dad92fd9044
/tensorflow/lite/tutorials/dataset.py
fdaf84c2bb43e306fe0bf9c9172c996cdcefe1c6
[ "MIT", "Apache-2.0", "BSD-2-Clause" ]
permissive
graphcore/tensorflow
c1669b489be0e045b3ec856b311b3139858de196
085b20a4b6287eff8c0b792425d52422ab8cbab3
refs/heads/r2.6/sdk-release-3.2
2023-07-06T06:23:53.857743
2023-03-14T13:04:04
2023-03-14T13:48:43
162,717,602
84
17
Apache-2.0
2023-03-25T01:13:37
2018-12-21T13:30:38
C++
UTF-8
Python
false
false
4,299
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 appl...
[ "gardener@tensorflow.org" ]
gardener@tensorflow.org
4eb7fd3641a767be8eff8e13ef44c03040c78381
40053507cbe947a31be5eb0b936325928c1a4ff3
/OOPBasics/innerClassDemo.py
2b47dd52637fb9f0d613b9bee9430284b394857c
[]
no_license
Aborigenius/python
082c4cd3a835e4e947bbf147610336fba65d7fea
41f36668ea695e516c0da9505b9d09a86dfbcf6d
refs/heads/master
2020-12-11T15:03:18.870655
2020-01-17T15:07:09
2020-01-17T15:07:09
233,879,140
0
0
null
null
null
null
UTF-8
Python
false
false
439
py
# -*- coding: utf-8 -*- """ Created on Fri Jan 17 14:44:08 2020 @author: spiridiv """ class Car: def __init__(self,make,year): self.make=make self.year=year class Engine: def __init__(self,number): self.number=number def start(self): print("Engi...
[ "spiridonovivan@gmail.com" ]
spiridonovivan@gmail.com
6f9560bec055af72ffec3a925fc4d4664ddf9e41
33054e9ecb113293bfa511c067622ac6a2184302
/Lektion 1 (Kap. 1_2)/Opgave4.py
bece571e488c843f0629c7c7d584aa1116a82973
[]
no_license
Itchy83/PythonStudie
a8ac9b3782d3a1514dbd660e13bf5bb36451f76b
e1f5a9152b38311b283f81039932f6fd743ea0e1
refs/heads/master
2020-04-22T12:38:35.918874
2019-03-12T16:37:45
2019-03-12T16:37:45
170,379,163
0
0
null
null
null
null
UTF-8
Python
false
false
73
py
alder = 4 besked = 'Meo er ' + str(alder) + ' år gammel!' print(besked)
[ "aj83@live.dk" ]
aj83@live.dk
bd8120b22e58c6e63c7601d35545bfd5546febc3
f7c5e3f5834206a7b0d1dadd773d1de032f731e7
/dmerce1/db2HTML.py
ae12d22aacbefa718a58e88f68f863685e00d0f8
[]
no_license
rbe/dmerce
93d601462c50dfbbf62b577803ae697d3abde333
3cfcae894c165189cc3ff61e27ca284f09e87871
refs/heads/master
2021-01-01T17:06:27.872197
2012-05-04T07:22:26
2012-05-04T07:22:26
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,326
py
#!/usr/bin/env python ## # # $Author: rb $ # $Revision: 1.2.7.1 $ # # Revision 1.1 2000-07-13 17:05:50+02 rb # Initial revision # ## # # I M P O R T M O D U L E S # try: import sys import aDataStruct except: print '[db2HTML: ERROR LOADING MODULES: (%s, %s)]' % (sys.exc_info()[0], sys.exc_info()[1]) sys.e...
[ "ralf@art-of-coding.eu" ]
ralf@art-of-coding.eu
6524c9b9746a0a2dbdbe814067af684ebc955c76
5206299afebf9dad1377f0359cf93fea19867bcc
/MergeKSortedLists.py
856451a141b75d723dcf56e8108c70fccfaf44d6
[]
no_license
atirpetkar/leetcode
1ebbd7b4bdfcc43c30caaf6ef2ec5d9b1d6143a8
a4fd250b95326eae4fe3d8b4be93346d4c0e37d4
refs/heads/master
2020-03-13T02:38:45.731629
2018-04-26T21:01:21
2018-04-26T21:01:21
130,922,514
0
0
null
null
null
null
UTF-8
Python
false
false
713
py
# Definition for singly-linked list. class ListNode: def __init__(self, x): self.val = x self.next = None def __cmp__(self, other): return self.val < other.val from queue import PriorityQueue class Solution(object): def mergeKLists(self, lists): dummy = ListNode(None) ...
[ "ap8185@g.rit.edu" ]
ap8185@g.rit.edu
019c6a6e9ff4eb5fa8133e54d03f61d36fcf000c
b201cb2395d4d6b42df2e97bb76454ebaac90379
/Python Mid Term Ques Problem 9.py
917e71cf65c62fea1b24637b3121bf6db34096ad
[]
no_license
SaladAss87/PythonMidTermQuesSol
efcc159df15688c3b8e586f564c4d61527dde01d
7b7ee7e57275735052991569cda707185c62ccdf
refs/heads/master
2020-09-10T17:06:48.550920
2019-11-15T17:47:40
2019-11-15T17:47:40
221,772,222
0
0
null
null
null
null
UTF-8
Python
false
false
649
py
#Calculating Monthly Payment loanAmount = eval(input("Enter The Loan Amount: ")) annualInterestRate = eval(input("Enter The Annual Interest Rate in %: ")) numberOfPayments = eval(input("Enter Number of Payments: ")) monthlyInterestRate = annualInterestRate/1200 monthlyPayment = ((monthlyInterestRate*((1+monthlyIntere...
[ "noreply@github.com" ]
SaladAss87.noreply@github.com
38ccc89b47c2c8c689d298955694bbd7d333413c
b8a200e8d40ea9a40c620f7fcfb594426c7deb3d
/apps/wall_app/views.py
00d929bce284c263f3575bf54ae96a5469397f20
[]
no_license
EddiePulido/Wall
99fe0afae1033571044db9ca5cd8c132be1f10b5
c1b337e29ba64e876603ca8ff6416998d17d90f1
refs/heads/master
2020-05-01T12:44:40.501709
2019-03-24T21:53:16
2019-03-24T21:53:16
177,473,816
0
0
null
null
null
null
UTF-8
Python
false
false
2,311
py
from django.shortcuts import render, HttpResponse, redirect from django.contrib import messages from .models import * import bcrypt def index(request): if 'id' in request.session: return redirect("/wall") return render(request,"wall_app/index.html") def create(request): errors = User.objects.regis...
[ "genaroepulido@gmail.com" ]
genaroepulido@gmail.com
6cd326cfb64f226dafb3197d606ea2a4b4b9e382
57e5e73f039f1834b4b21162d8398fd5ce4e79b5
/discussion/03/fibonacci.py
fbb1e10fae3b852c74ed91b29ed01eca339aa761
[]
no_license
Rabona17/dsc80-wi19
e0355da049eb95b6fcacbe8e2889bf1713d6d72b
e12317b09a6bab6e054d4be5218be4c711b2c4da
refs/heads/master
2020-04-28T18:56:01.543071
2019-03-14T21:37:12
2019-03-14T21:37:12
175,494,342
0
1
null
2019-03-14T21:37:13
2019-03-13T20:30:58
Jupyter Notebook
UTF-8
Python
false
false
88
py
def fib1(n): a, b = 0, 1 for i in range(n): a, b = b, a + b return a
[ "nemilshah@Nemils-MacBook-Pro.local" ]
nemilshah@Nemils-MacBook-Pro.local
0181ef44adc6a95802456c7d2e1120f024d02a6b
3d62d6b12b1a24c6cadeb51e6fcbf36c07b9730f
/server.py
92689ebd36a2cd4d0bb449d734faf91499301052
[]
no_license
sprasanth2k/Birthday-Wisher
e25f9a0246adb806d67c3c013b326845f39802ea
94626f32792c7534d468c66878c70aa6b32ef211
refs/heads/master
2023-06-26T04:09:49.331723
2021-07-22T14:17:07
2021-07-22T14:17:07
388,486,894
1
0
null
null
null
null
UTF-8
Python
false
false
1,335
py
import pymongo import smtplib import datetime url="<MongoDB url>" client=pymongo.MongoClient(url) db=client['birthdaywisher'] birthdays=db['birthdays'] sender=db['emailidpwd'] sender_email = sender.find()[0]['emailid'] sender_password=sender.find()[0]['password'] while True: current_date=datetime.date.today()...
[ "sprasanth2k@gmail.com" ]
sprasanth2k@gmail.com
a4518e729ef53840e6d5101d68fd31567724946c
f846820f99c63bbad2b3d7a03ae5289752012697
/python_scripts/ensemble_hyperparameters.py
1de84700c6ab90bbc79748e0d7c2784ad46417b0
[ "CC-BY-4.0" ]
permissive
mdiazmel/scikit-learn-mooc
4d946eff314ae7d4c0a13c235ccccdd8d5dd8913
3576bda5f6e2fe31fdf6a1c09644d4db41a30699
refs/heads/master
2023-01-14T17:03:18.586722
2020-11-24T15:30:03
2020-11-24T15:30:03
null
0
0
null
null
null
null
UTF-8
Python
false
false
4,451
py
# %% [markdown] # # Hyper-parameters tuning # # In the previous section, we did not discuss the parameters of random forest # and gradient-boosting. However, there are a couple of things to keep in mind # when setting these parameters. # # This notebook gives crucial information regarding how to set the # hyperparamete...
[ "noreply@github.com" ]
mdiazmel.noreply@github.com