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
220 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
257 values
content
stringlengths
2
10.3M
authors
listlengths
1
1
author_id
stringlengths
0
212
b7f64b488967b17bca55e572ba1fa82ce4bb0851
5d0a85c793266da7ea77aed0998398cc2eef0e49
/Sem 4/AI/Assignment2/task2/cube.py
6188ab2af0536685b9b891182a5df8c38cc9f969
[]
no_license
GeorgeSfarz35/UBB-Projects
8757efeeb4f8517602e2f0659050a6e54c47109f
b025958be030fd80c6b571cdd6e26c6a1bbd61b9
refs/heads/main
2023-09-03T15:30:08.652869
2021-10-15T16:02:08
2021-10-15T16:02:08
417,543,524
0
0
null
null
null
null
UTF-8
Python
false
false
2,886
py
import pygame, sys from pygame.locals import * from OpenGL.GL import * from OpenGL.GLU import * ###### import random verticies = ( (1, -1, -1), (1, 1, -1), (-1, 1, -1), (-1, -1, -1), (1, -1, 1), (1, 1, 1), (-1, -1, 1), (-1, 1, 1) ) edges = ( (0,1), (0,3), (0,4), (...
[ "george.sfarz@stud.ubbcluj.ro" ]
george.sfarz@stud.ubbcluj.ro
4b803dc11bc61c8e8bfaa692a0a6f248f40f8b06
bf885e4a58ac5ab888890e297eafcfca907d7845
/hello_world_project/hello_world_project/urls.py
d3bf32b3ef4875f4d09711b297f85325df8055ae
[]
no_license
manishbalyan/django-hello_world_app
c54e4875a9bb3dac7e58224f11e1cf6d60b70463
bc53fa0a8d3e57bc085bc113c0d5640521c45e44
refs/heads/master
2021-01-23T16:28:18.954683
2019-02-13T05:55:24
2019-02-13T05:55:24
38,373,453
0
0
null
null
null
null
UTF-8
Python
false
false
418
py
from django.conf.urls import patterns, include, url from django.contrib import admin urlpatterns = patterns('', # Examples: # url(r'^$', 'hello_world_project.views.home', name='home'), # url(r'^blog/', include('blog.urls')), # this link the project urls to app urls url(r'^admin/', include(admin.si...
[ "balyan05.manish@gmail.com" ]
balyan05.manish@gmail.com
9b698fbb7fa81969df29bb6c75b7825c6c411271
50fa5e53d749f1ee829ecdb8351374ca80db1b5a
/DraggablePoint.py
5654e97856b41c44480631c84f82ac1e76ae3482
[]
no_license
locdoan12121997/matplot-test
bd938a47be13dfe0f89b87558fd4d6e5ee6fe0ec
7536ca3f3c1748e095195a2b8778443795504e96
refs/heads/master
2022-07-07T22:14:31.764868
2019-10-01T03:58:31
2019-10-01T03:58:31
211,907,700
0
0
null
2022-06-21T22:57:51
2019-09-30T16:44:48
Jupyter Notebook
UTF-8
Python
false
false
3,459
py
import matplotlib.patches as patches from matplotlib.lines import Line2D class DraggablePoint: lock = None id = None lines = [] def __init__(self, parent, x, y, size=0.3): self.parent = parent self.point = patches.Circle((x, y), size, fill=True, fc='k', ec='g') self.x = x ...
[ "cs2015_loc.dtt@student.vgu.edu.vn" ]
cs2015_loc.dtt@student.vgu.edu.vn
9a0d49f1da096724198cae1381ead5d2f5ab901e
7d4f3360991786ea493b5020e327951613ea3e54
/node_modules/mongoose/node_modules/mongodb/node_modules/bson/build/config.gypi
65bb45cf42ebcb13eaa1fc5f90908018caa7f712
[ "Apache-2.0", "MIT" ]
permissive
kiranw/travelingtable
ec7224e4d2496ce55a66de87a24f697e17796ef2
520d99bff8d0d72ba9986c3a0e0762fb8074892c
refs/heads/master
2016-09-05T22:02:38.520882
2015-03-02T03:36:34
2015-03-02T03:36:34
31,521,984
0
0
null
null
null
null
UTF-8
Python
false
false
3,116
gypi
# Do not edit. File was generated by node-gyp's "configure" step { "target_defaults": { "cflags": [], "default_configuration": "Release", "defines": [], "include_dirs": [], "libraries": [] }, "variables": { "clang": 1, "host_arch": "x64", "node_install_npm": "true", "node_prefi...
[ "kiranw@mit.edu" ]
kiranw@mit.edu
6f319e57426860fd21a49fcc0ff9ad5f63b64e02
ed9d718007b5bc776f3405ad6bac3a64abdebf0b
/google/cloud/logging_v2/services/metrics_service_v2/transports/grpc.py
6a7a2c6a61a74aea88c49021160e9d906ee686b5
[ "Apache-2.0" ]
permissive
renovate-bot/python-logging
06b020e1aaae238b2693264bbad489567902481b
28d141d0e8ed4560d2e33f8de0d43b0825a7f33f
refs/heads/master
2023-08-31T09:01:49.829649
2021-08-30T20:37:20
2021-08-30T20:37:20
238,564,076
0
0
Apache-2.0
2020-02-05T22:49:14
2020-02-05T22:49:13
null
UTF-8
Python
false
false
15,816
py
# -*- coding: utf-8 -*- # Copyright 2020 Google LLC # # 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 or...
[ "noreply@github.com" ]
renovate-bot.noreply@github.com
03de2449eab530e9938f1967544c20b6d90aa7d6
7ac83871db3ac0d2f3403ca574d6c16729b14e51
/p14.py
a035e1d6971ebe5411b33deef53ec2b3baa6c913
[]
no_license
hexiaolang/TensorFlow
aff18372c8edbc0102c83e535315e42c9ce0b022
82f5c00045e0a0bc49cffbcb4572fbdc4d8ec2b7
refs/heads/master
2021-04-26T23:56:12.375649
2018-03-06T09:23:38
2018-03-06T09:23:38
123,882,377
0
0
null
null
null
null
UTF-8
Python
false
false
2,104
py
# -*- coding:utf-8 -*- import tensorflow as tf import numpy as np def add_layer(inputs, in_size, out_size, n_layer, activation_function=None): layer_name = 'layer%s' % n_layer with tf.name_scope(layer_name): with tf.name_scope('weights'): Weights = tf.Variable(tf.random_normal([in_size, ou...
[ "helin0905@163.com" ]
helin0905@163.com
09cf6f7180cf4a125f28ec1629fc501026177646
041228051fa241354ea3f33cd3065be58b3a7258
/binary_tree/huffman_decoding.py
8400dae15ebea018328ed06089541281b26a30c1
[]
no_license
muthusrathinam/30dayscoding
d52d6abd688e0d3d17115804dbbb613314a938c7
da5f880ba0252d2d425e1171924c8ad5e821e130
refs/heads/main
2023-06-21T15:45:00.224532
2021-07-23T06:19:19
2021-07-23T06:19:19
364,475,496
0
0
null
null
null
null
UTF-8
Python
false
false
489
py
def decodeHuff(root, s): #Enter Your Code Here #create temp. pointer temp = root result=[] #traverse binary coded string for char in s: #traverse left of the tree if char is '0': temp = temp.left #traverse right of the tree else: temp = t...
[ "muthusmr444@gmail.com" ]
muthusmr444@gmail.com
1bd538971347d12cadaa9a32a71f8df8df448517
0ec06804975ff5ae7e4258d088d2a940e7b7f128
/artenv/artproject/artwork/settings.py
e12ad39f7dccf62d2210bcfa3f13ab838875340f
[]
no_license
NatashaGumbo/Artworks
4d38c817a7fefb22989590d08fcea2d8e22fc04c
fbbd7f9f16f48ea377159bb060460c039846461e
refs/heads/master
2021-08-11T09:39:11.739360
2017-11-13T14:11:15
2017-11-13T14:11:15
110,244,784
0
0
null
null
null
null
UTF-8
Python
false
false
3,444
py
""" Django settings for artwork project. Generated by 'django-admin startproject' using Django 1.11.7. For more information on this file, see https://docs.djangoproject.com/en/1.11/topics/settings/ For the full list of settings and their values, see https://docs.djangoproject.com/en/1.11/ref/settings/ """ import os...
[ "tashaverahgumbo@gmail.com" ]
tashaverahgumbo@gmail.com
b8c213645b92dcf3207a40770f860521dd4ee3aa
1363e0788e8359d7d50e7238ae08a165af3eced1
/shoppon/logs/my_syslog.py
1490cd48ce62af50024b0ee0f9f65b0115a0da37
[ "MIT" ]
permissive
shoppon/Python-learning
dd9b94f81a0d5d47061b3b6405ba5b00d6094a0d
50b68785b6b3b78a7deba3f452fa9c0fad218e9b
refs/heads/master
2021-06-20T16:15:38.156790
2020-12-22T15:20:44
2020-12-22T15:20:44
148,798,551
0
0
null
null
null
null
UTF-8
Python
false
false
601
py
# coding: utf-8 import logging from logging import Formatter from logging import StreamHandler from logging.handlers import SysLogHandler try: import syslog except: syslog = None def init(): # 指定syslog的programname syslog.openlog('shoppon') def get_logger(): logger = logging.getLogger(__name__) ...
[ "shopppon@gmail.com" ]
shopppon@gmail.com
63875d79110d18f6cff0081c2b8bd5e9f9f2c73c
ce29e42a50e35ec4637521bf8a3b71ab5f2fb9a6
/others/efficient/multi_process_manager.py
76f62e733dced66c471ded08dfc6895c02769ffe
[]
no_license
ico-Meng/WebCrawler
97b3d5f0956cc13a83009a26c3e50944252fba44
7d9236ee4e1c664d257f550d64186eeed892188b
refs/heads/master
2020-03-15T21:40:26.224465
2018-05-06T17:13:36
2018-05-06T17:13:36
132,359,481
0
0
null
null
null
null
UTF-8
Python
false
false
676
py
#!/usr/bin/env python import random, time, Queue from multiprocessing.managers import BaseManager task_queue, result_queue = Queue.Queue(), Queue.Queue() class QueueManager(BaseManager): pass QueueManager.register('get_task_queue', callable=lambda: task_queue) QueueManager.register('get_result_queue', callable=lamb...
[ "ico.yigang.wang@gmail.com" ]
ico.yigang.wang@gmail.com
3d29fc4351f1f443d97e90cdd5c1312728d92434
d498180b97f5f474c969b8f89fef522ae1afa642
/src/kubectl_launcher/config.py
9c0214253271dfaa0856cb57b576574f026dd584
[]
no_license
fm1ck3y/kubectl_launcher
cff19fc06f461655cdb8570f4701373b03f6586c
c842dae62ee265ab4e6aaaad01510920f3c0e0df
refs/heads/master
2023-04-21T19:39:58.203965
2021-05-07T16:35:37
2021-05-07T16:35:37
365,292,357
0
0
null
null
null
null
UTF-8
Python
false
false
581
py
import yaml import logging from kubectl_launcher.exceptions import KubectlLauncherYamlException log = logging.getLogger(__name__) class Config: kubectl_servers = [] servers = [] deployments = [] services = [] persistentVolumes = [] def __init__(self,file_yaml): try: config...
[ "arte.vdovin@gmail.com" ]
arte.vdovin@gmail.com
c8e00806ae74fe6db6ef1b04820024697e4e3627
766c392a3a196d15909505fefae2d44a7041b215
/sanicApp.py
c935d9db151d0570392f46802fbdcc07f661144f
[]
no_license
bunny1985/qtConnect
b942702afce9bd1b7efc65b8f5d11754cf8b6000
e092cea5c87d3d5acea6f89cf153bc0dc561dd21
refs/heads/master
2020-05-19T08:52:24.786923
2019-05-05T13:30:37
2019-05-05T13:30:37
184,933,405
0
0
null
null
null
null
UTF-8
Python
false
false
71
py
from sanic import Sanic app = Sanic("QTConnect", strict_slashes=True)
[ "michal.banas@gmail.com" ]
michal.banas@gmail.com
71b4c3192c59446446642f2dc38ac6eac594e87f
15f321878face2af9317363c5f6de1e5ddd9b749
/solutions_python/Problem_138/1273.py
7807dd8fe021579a8ca3aa6fa4f8c90eff1cc487
[]
no_license
dr-dos-ok/Code_Jam_Webscraper
c06fd59870842664cd79c41eb460a09553e1c80a
26a35bf114a3aa30fc4c677ef069d95f41665cc0
refs/heads/master
2020-04-06T08:17:40.938460
2018-10-14T10:12:47
2018-10-14T10:12:47
null
0
0
null
null
null
null
UTF-8
Python
false
false
800
py
t = int(raw_input()) for i in range(1,t+1): n = int(raw_input()) line = raw_input().split() naomi = [] for j in range(0,n): naomi.append(float(line[j])) line = raw_input().split() ken = [] for j in range(0,n): ken.append(float(line[j])) naomi = sorted(naomi) ken = sorted(ken) ...
[ "miliar1732@gmail.com" ]
miliar1732@gmail.com
b5b837af34e57caa301ef9f8de09196ca005dc82
d913ab73cc005749478ae374729a68952ba16a1a
/mrjob/mrjob_spark_word_count.py
7acd36db76956ae3a19002fb4a1a350df16bd507
[]
no_license
matrixor/BigData
f5fa238b5c5bd165d6df2b227684a3f4774fd07b
1ba320424220891302b4643635b0e4938b691ba2
refs/heads/master
2021-09-03T20:07:57.349489
2018-01-11T16:21:52
2018-01-11T16:21:52
109,291,916
0
0
null
null
null
null
UTF-8
Python
false
false
980
py
### You must define this file name as 'mrjob_spark_xxxxx' ### xxxxx is your job description, like 'word_count' ######################################################### from mrjob.job import MRJob class MRSparkJob(MRJob): ### update below 'job' function to define your job def job(self,lines): fr...
[ "alan.0002.t@gmail.com" ]
alan.0002.t@gmail.com
71618da8689e4208efa693fb48db8b677d588d1c
5ad97fca229f380bba82e6647b606ca93ba19f37
/tests/docstring_tests.py
59076ce548ac59be270952b895fa0c9f1523e983
[ "MIT" ]
permissive
KeyserSosa/lighthouse
d53df9b643c2214cd42811c61f2c0b3bcb58f388
5d66718daa14d0e5a243e3f2930cda818a88d33d
refs/heads/master
2021-01-23T01:08:54.881556
2015-06-05T22:23:22
2015-06-05T22:23:22
null
0
0
null
null
null
null
UTF-8
Python
false
false
4,794
py
import inspect import re import lighthouse.balancer import lighthouse.check import lighthouse.checks.http import lighthouse.checks.redis import lighthouse.cluster import lighthouse.configs.handler import lighthouse.configs.monitor import lighthouse.configs.watcher import lighthouse.configurable import lighthouse.disco...
[ "william@hipmunk.com" ]
william@hipmunk.com
b0adb28cc7f846a838514b4518eeb37eab5b89d6
dded91a7c9a6f45c6b2753270e46f4fab8ffbaa3
/EC_MenuApps/richtext_notepad.py
ed430474431476c52ce1138375a1b99ca4cbbbf1
[]
no_license
francisco-ribeiro1/Curso-Python
e0ab05c210f9228c85c0d889b4a3429ce8e87f33
edb7bfb4cf9bc6eb291e4caec894b0330ce4850f
refs/heads/master
2022-12-17T17:30:04.196796
2020-09-18T23:35:35
2020-09-18T23:35:35
296,724,075
0
0
null
null
null
null
UTF-8
Python
false
false
8,147
py
# Notepad com Rich text import sys from PySide2.QtWidgets import (QApplication, QMainWindow, QAction, QMessageBox, QTextEdit, QFileDialog, QInputDialog, QFontDialog, QColorDialog) from PySide2.QtGui import QIcon, QTextCursor, QColor from PySide2.Q...
[ "noreply@github.com" ]
francisco-ribeiro1.noreply@github.com
39abb1c58a1ae46d15c937d463dbc72c51ee8659
b641319ea5164c1eb5db77c819abdd1f8136fce3
/random_stream.py
26e2a2c280f4736e7a6b65c58e3d223854009094
[]
no_license
Anwesh43/theano-starter
8d4b2a9e3023f10018f9005ef9a9e4583270fee0
87f2d987ce02a883889eac6543b82530d1b90989
refs/heads/master
2021-01-12T02:48:45.879958
2017-01-16T15:35:22
2017-01-16T15:35:22
78,109,827
0
0
null
null
null
null
UTF-8
Python
false
false
693
py
import theano.tensor as T from theano import * from theano.tensor.shared_randomstreams import RandomStreams srng = RandomStreams(seed=1000) r_uv = srng.uniform((2,2)) r_nd = srng.normal((2,2)) rng_val = r_uv.rng.get_value(borrow=True) rng_val.seed(345) r_uv.rng.set_value(rng_val,borrow=True) r_uniform = function([],r_...
[ "anweshthecool0@gmail.com" ]
anweshthecool0@gmail.com
702983a9b768406deede4bb9d92ee2a880f5bd28
1926bce5e0cbdd6ab1e76f801ac2adb40b39da4b
/Car_Showroom inventory management/purchaseparts.py
bf4e29aa9066b2978178aac23c706a82ad831533
[]
no_license
AshvinjeetSingh/Car-showroom-inventory-system
b07eaa434b097a7a164b8edcc35bd33263679456
0d636b9c4c4346332e22fe58ccd83e9e8ef628b2
refs/heads/master
2020-06-28T16:02:08.341109
2019-08-29T11:14:09
2019-08-29T11:14:09
200,274,662
0
0
null
null
null
null
UTF-8
Python
false
false
13,857
py
from tkinter import * from tkinter import messagebox, ttk from tkinter.ttk import Combobox import tkinter as tk import pymysql class Purchase: def __init__(self): self.root = tk.Toplevel() self.root.title("Sales") width = 900 height = 600 screen_width = self.root.winfo_sc...
[ "ashvinjeetsingh98@gmail.com" ]
ashvinjeetsingh98@gmail.com
d7078816be6d36440d58f60f8b3cbd2db9ef4135
9640a6783b61e962b15ed14b163e1d91836a0d26
/webcrawl/naver_autologin.py
27a332501bc1c540b6c74304fb7d1b03b55ed4c9
[]
no_license
namgiho96/tf_Python_study
5c644b79efd2012ab90569f1748d2003298f98cd
639634373e6350951a484b782cbfb26aa7d2e740
refs/heads/master
2020-05-07T09:10:38.774408
2019-04-09T13:00:51
2019-04-09T13:00:51
180,365,932
3
0
null
null
null
null
UTF-8
Python
false
false
567
py
from selenium import webdriver # 웹불러오는 라이브러리 ctx = '../crawler/chromedriver' driver = webdriver.Chrome(ctx) driver.implicitly_wait(3) driver.get('https://nid.naver.com/nidlogin.login?mode=form&url=https%3A%2F%2Fwww.naver.com') driver.find_element_by_name('id').send_keys('giho123') # 아이디를 정해준다 driver.find_element_by_na...
[ "namgiho96@gmail.com" ]
namgiho96@gmail.com
1ea4f37d648dbba8cdb93a2e9036c0c97129ecf0
8c06beebdb5ee28f7292574fefd540f8c43a7acf
/Arctype_Dashboard/asgi.py
f843ce0156227c94479067214b7caa5e4e018782
[]
no_license
progettazionemauro/ARCTYPE_DJANGO_DASHBOARD
0c3baf93c6a3f8dd28d9459a21a273efbed1f4e3
60d1dab19c32b7a80d70de85e846fd6760be9a26
refs/heads/master
2023-04-12T01:37:57.317231
2021-05-03T01:48:41
2021-05-03T01:48:41
null
0
0
null
null
null
null
UTF-8
Python
false
false
411
py
""" ASGI config for Arctype_Dashboard 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('DJ...
[ "chukslord1@gmail.com" ]
chukslord1@gmail.com
7bfebb60ad510573083f308d96db0442c9bcef2b
0464932d544ee946a13d991d2ae0b284b31f5edd
/hourglassSum.py
da959cca4c5b6d4bbe5cf48f412abd10d7401144
[]
no_license
arjun1237/2D-Array-DS
f9ace4ca845c6247fcff3c8d589745d8580fbb4d
61c74cdef9cbe8be493aa3249996ebe87e5267b1
refs/heads/master
2020-07-12T14:20:07.051525
2019-08-28T03:27:05
2019-08-28T03:27:05
204,839,189
0
0
null
null
null
null
UTF-8
Python
false
false
451
py
def hourglassSum(arr): array_len = len(arr) highest = 0 for i in range(1, array_len-1): for j in range(1, array_len-1): total = arr[i][j] for k in range(0, 3): total += arr[i-1][j-1+k] + arr[i+1][j-1+k] if i == 1 and j == 1: ...
[ "noreply@github.com" ]
arjun1237.noreply@github.com
bb352a077de0a96d708f7bd908b1d4f2e9c8b720
aa76391d5789b5082702d3f76d2b6e13488d30be
/programmers/Lev1/print_triangle.py
aeb50f3fd8f6008928c6bee577e7267406cb4451
[]
no_license
B2SIC/python_playground
118957fe4ca3dc9395bc78b56825b9a014ef95cb
14cbc32affbeec57abbd8e8c4ff510aaa986874e
refs/heads/master
2023-02-28T21:27:34.148351
2021-02-12T10:20:49
2021-02-12T10:20:49
104,154,645
0
0
null
null
null
null
UTF-8
Python
false
false
132
py
def printTriangle(num): s = '' for i in range(1, num + 1): s += "*" * i + "\n" return s print(printTriangle(5))
[ "the_basic_@kookmin.ac.kr" ]
the_basic_@kookmin.ac.kr
d0fdb912fce20ef803705dbad7736eeb3cee1a79
81abfb6bfeb12b01e0df631cb5dbfe467f8b4382
/classes_objects.py
3ee8a3a7a0b51fbf70757da05c335894d157e417
[]
no_license
saikaranpraveen/python-basics
704163c40df6128585ff0b9cad884014445dbc76
e70148b4098b9d3b0ee86b91b46d6cd9581cf040
refs/heads/main
2023-06-27T06:42:04.356688
2021-04-23T06:10:53
2021-04-23T06:10:53
391,301,650
0
0
null
null
null
null
UTF-8
Python
false
false
381
py
class Car: def __init__(self, brand, model): self.brand = brand self.model = model def handling(self, handling): print (f"{self.brand} {self.model} has {handling} handling.") def __str__(self) -> str: return f"Brand = {self.brand}\nModel = {self.model}" honda_city = Car("H...
[ "karansiamintern@gmail.com" ]
karansiamintern@gmail.com
baa7678b52fae8e25d141a1b921f8006e86a6d26
66adad393a638d3a4cc47ed3d8b45b208f155ebe
/bookmarks1/account/views.py
bdac6a72fc611c4ef5ecf8d9c87d1849eaffa17e
[]
no_license
Dyavathrocky/image_sharing
a5e265c65fde29c1f665c522230bd73dfbf16c23
0939240f9a96dd8c80de813939d79455e95782c7
refs/heads/main
2023-01-21T15:23:10.141362
2020-11-29T13:53:26
2020-11-29T13:53:26
316,220,540
0
0
null
null
null
null
UTF-8
Python
false
false
3,172
py
from django.http import HttpResponse from django.shortcuts import render from django.contrib.auth import authenticate, login from django.contrib.auth.decorators import login_required from .forms import LoginForm, UserRegistrationForm, \ UserEditForm, ProfileEditForm from .models import Profile from ...
[ "davathrak@gmail.com" ]
davathrak@gmail.com
b6780c329a1ffec2fc775d000bede61cd63fd982
0814eb1801f8a6f7b0fd8e3b07b2b8b4b23b2041
/dataloader/DataLoader.py
0ec4a93357adcf6c937dc0eacfa8fd811f6208a1
[]
no_license
xianfengju/SiamRPN-TF
173d59cf7205bc2c8a1c6b3d921ddc7622fe3db9
cf0859ee02328a2f32fb7a3ab5b38eaa55a6e17d
refs/heads/master
2022-02-13T03:47:55.532351
2019-06-26T10:07:43
2019-06-26T10:07:43
null
0
0
null
null
null
null
UTF-8
Python
false
false
7,595
py
import tensorflow as tf import numpy as np import cv2 import os,sys CURRENT_DIR = os.path.dirname(__file__) sys.path.append(os.path.join(CURRENT_DIR, '..')) from dataloader.sampler import Sampler,ShuffleSample from dataloader.data_augmentation import RandomGray,RandomStretch,CenterCrop,RandomCrop,RandomColorAug,Rando...
[ "xiongjiangfeng@gmail.com" ]
xiongjiangfeng@gmail.com
e7e0deac411c991076dc18e374867a07a253d989
d89a482aaf3001bbc4515f39af9ba474e1ae6062
/sip/sip_history.py
7bdbef694f14c90a11c7df182424967f95a137dc
[]
no_license
hongtao510/u_tool
2925e3694aba81714cf83018c3f8520a7b503228
98c962cfb1f53c4971fb2b9ae22c882c0fae6497
refs/heads/master
2021-01-10T20:40:24.793531
2014-03-14T22:57:37
2014-03-14T22:57:37
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,527
py
# -*- coding: utf-8 -*- """ Created on Tue Jan 03 13:30:41 2012 @author: jharston """ import webapp2 as webapp from google.appengine.ext.webapp.util import run_wsgi_app from google.appengine.ext.webapp import template import os from uber import uber_lib import history_tables import rest_funcs class SIPHistoryPage(we...
[ "hongtao510@gmail.com" ]
hongtao510@gmail.com
a3f0f41e1e74dfb4968b10ff2fecd3d29bb11d66
a20b8bea72c6f0def075001152455a6bfd68ac85
/game/views.py
a6e0b824cbbb03ede6f636ac3864c4d2a856346a
[]
no_license
mr-korean/portfolio-django
cb0ea4cedd816ac75a657dbfca949235d8d30aa7
8246e137283344faf2b6c0555e129a54f064f5ee
refs/heads/master
2020-03-20T15:44:29.021007
2018-09-11T16:28:46
2018-09-11T16:28:46
117,920,585
0
0
null
null
null
null
UTF-8
Python
false
false
2,937
py
# -*- coding: UTF-8 -*- from django.views.generic.base import TemplateView from django.contrib.auth.models import User from django.shortcuts import render, get_object_or_404 from django.utils import timezone from .models import Record, HighRecord from django.http import JsonResponse, HttpResponse from django.contrib.a...
[ "zzang2314274@hanmail.net" ]
zzang2314274@hanmail.net
215571d3b4b7d4e305c325ec81353e980d4c283e
1ad78a9e70ed4295d11c7df6d33737c8a0af7b18
/adjust_image_color.py
12c2a2ecd7e177199f2c88ec9a34463b65d283c3
[]
no_license
linchaolong-learn/TensorflowLearn
7200cd2ac1640ec5f12fcfd411c1f424e831ea46
0838f3191bdc564a947c8e898b3119767ecf05d3
refs/heads/master
2020-03-15T07:18:31.928342
2018-06-06T08:18:03
2018-06-06T08:18:03
132,026,220
2
0
null
2018-05-03T17:07:19
2018-05-03T17:07:18
null
UTF-8
Python
false
false
1,296
py
# 图像色彩调整 import matplotlib.pyplot as plt import tensorflow as tf # 读取图像的原始数据 image_raw_data = tf.gfile.FastGFile("datasets/cat.jpg", 'rb').read() # 解码图片 img_data = tf.image.decode_jpeg(image_raw_data) with tf.Session() as sess: # 将图像的亮度-0.5 # adjusted = tf.image.adjust_brightness(img_data, -0.5) # 在[-0.5...
[ "linchaolong@healthmall.cn" ]
linchaolong@healthmall.cn
344e07bbfa7a9945dc213604ca7facf2917036fa
c526a482a0da0ef09d05975c97faae062d1911b6
/Week 5/day 3/JSON_loads.py
443924bd515c90fe8d17f23333c92280f7536c46
[]
no_license
Wdecibel/MyPythonProject1
2958171e80e9aa74af2f1446a624af3183b6e741
4d443091d3df5b3774e490950c5b5e19b18dd149
refs/heads/master
2020-07-02T03:59:19.090917
2019-08-09T06:36:40
2019-08-09T06:36:40
201,409,347
0
0
null
null
null
null
UTF-8
Python
false
false
168
py
# __Author__: Han # __Date__: 2019/1/17 import json with open('JSON_text', 'r') as f: data = f.read() data = json.loads(data) print(data['name'])
[ "hanw@cefcfco.com" ]
hanw@cefcfco.com
d57dc6bd6e6ed40663cea90c3cb805e43497b4f9
e0980f704a573894350e285f66f4cf390837238e
/.history/news/models_20201124144813.py
df865398f4c40cdf05ca57629f9dae3cd204713b
[]
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
1,391
py
from django.db import models from wagtail.contrib.forms.models import AbstractEmailForm # Create your models here. class FormField(AbstractEmailForm): page = ParentalKey( 'NewsPage', on_delete=models.CASCADE, related_name ) class NewsPage(AbstractEmailForm): tempalte ='news/ne...
[ "rucinska.patrycja@gmail.com" ]
rucinska.patrycja@gmail.com
60e68556375c7be92b4a838b420b1e603730aca7
6f6997efe1a15d57688c12ff0197790fb2eac6bc
/histogram/wigets/waferdata_histogram.py
aa532f8c85f67b1d487d0d292c97a7194ae277d9
[]
no_license
montanaviking/waferprobe
29fa5f0eb07e60820162916e48059f63374902c5
fb2786b376153f9b6e9495b6faf3ee5960f90a06
refs/heads/master
2022-11-06T10:57:01.539733
2020-06-19T23:47:59
2020-06-19T23:47:59
273,601,408
4
0
null
null
null
null
UTF-8
Python
false
false
65,386
py
# -*- coding: utf-8 -*- # Form implementation generated from reading ui file 'waferdata_histogram.ui' # # Created by: PyQt5 UI code generator 5.11.2 # # WARNING! All changes made in this file will be lost! from PyQt5 import QtCore, QtGui, QtWidgets class Ui_Histogram(object): def setupUi(self, Histogram): ...
[ "microcraftx@gmail.com" ]
microcraftx@gmail.com
e9a1330a1595a139f084229242758028a2cfc425
cc1f28b97af0eba00706e70a246d3e737216356f
/generateGroups.py
fab1671ba31e87bf4ac70272865259b5e90368e5
[]
no_license
Cherishlrx/DeepGroup
26288aa23b43e6904c45e30c9c7004228a7ff4bc
f4bfe6cc97efdb13ce2065f13695427dea0d8a18
refs/heads/main
2023-02-19T07:31:23.530470
2021-01-23T17:28:19
2021-01-23T17:28:19
null
0
0
null
null
null
null
UTF-8
Python
false
false
6,311
py
import random import pandas as pd import itertools from config import Config def get_train_test_datasets(lambda_amount, num_groups, overlap_val, max_len_groups, num_items, fileName, version, train_portion=100): config = Config() file_name = fileName + '/negative_example_'+ config.decision_rule +'/ne_' + str(nu...
[ "s.sajadi@ghoghnos.net" ]
s.sajadi@ghoghnos.net
a21cbc48f84c785c531000e69be0bc25254d2951
8dfce5fab6ab68bd08807d5893c3dd60ddc5bded
/scraper/test_AmazonProduct.py
6296ef2ab9dea7176cb8f085e16f107615c5cfb2
[]
no_license
khiemjannguyen/Sem4_DB_Projekt
0f8865076f952311882eb7198defcca936d4c50b
60c157b38c423edf684c04372510a83ee9e7bd00
refs/heads/main
2023-04-19T22:38:31.110635
2021-05-15T21:47:19
2021-05-15T21:47:19
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,754
py
import unittest from AmazonProduct import * class Test_AmazonProduct(unittest.TestCase): url1 = "https://www.amazon.de/Samsung-MU-PA1T0B-EU-Portable-Kabel/dp/B074M774TW/?_encoding=UTF8&pd_rd_w=l7mCN&pf_rd_p=4f36a2ac-16fe-4a2a-a875-9a9ac12f9041&pf_rd_r=GXM3CM87QAX521QKM1WH&pd_rd_r=ce39a955-9f89-4159-88b2-278a4df7de...
[ "khiemjan.nguyen@gmail.com" ]
khiemjan.nguyen@gmail.com
24b75e19d3d0afdeca0a294cc8798e0b8e02fdde
0fa977f3ccfd3293d7707a1ec36dcc2dcbd82915
/2017/booleans/underwater.py
dca547a6d61c876dd7b102ec563bd530643f7b59
[]
no_license
xzou288/MInecraft_Python_4Xiang
c121bd22e66d8720198a4fa68b9445b52bf2d494
7ba8d7e5d1a0f24e49ee08bdc6c839548f4f3bf8
refs/heads/master
2021-09-10T15:32:51.524841
2018-03-28T15:47:14
2018-03-28T15:47:14
110,139,759
0
0
null
null
null
null
UTF-8
Python
false
false
230
py
from mcpi.minecraft import Minecraft mc = Minecraft.create() pos = mc.player.getPos() x = pos.x y = pos.y z = pos.z blockType = mc.getBlock(x, y, z) mc.postToChat(blockType == 0) pos = mc.player.underwater() underwater = true
[ "noreply@github.com" ]
xzou288.noreply@github.com
67245adfabd81ea366d100de52754decec5d6173
eeeceb85a215522ef412fddc44cc471c894f28af
/src/python/Problem113.py
d87253a0df06867a8444367d729a88f520e69e6c
[ "MIT" ]
permissive
mchrzanowski/ProjectEuler
3874ad141ca0bf633039899807a6afc1cca67134
06a24cadbd2c38fb42c3935779fc7ffb6de4e1b5
refs/heads/master
2021-01-25T05:34:32.548331
2015-02-08T20:31:10
2015-02-08T20:31:10
3,176,325
0
1
null
null
null
null
UTF-8
Python
false
false
3,016
py
''' Created on Apr 7, 2012 @author: mchrzanowski ''' from operator import ge, le from time import time def calculateBouncyNumbers(limit): ''' there are two sets of bouncy numbers: 1). numbers that are stable or decreasing 2). numbers that are stable or increasing there exists an non...
[ "mike.chrzanowski0@gmail.com" ]
mike.chrzanowski0@gmail.com
55d65050fc5aacda7acd63dcd44060f20f7cf89f
6a2db8e177cacd14a33cb49b8ea78b5fd7c3ebe1
/day01/day01_2.py
16600064035200615bbea703a73ed44c734004b8
[]
no_license
somyungsub/kosta-pythonbasic
fa42c55852774b9791120829087fcea343efc502
0abfde24ff7a3018ec0ac057eed2a27746b77148
refs/heads/master
2020-03-27T19:30:45.803299
2018-09-01T11:49:28
2018-09-01T11:49:28
146,993,932
0
0
null
null
null
null
UTF-8
Python
false
false
847
py
# 숫자 from builtins import divmod, complex # 정수 할당 n1 = 4 n2 = 3 n3 = 2 # 실수 할당 n1 = 4.0 n2 = 3.0 n3 = 2.0 # 복소수 할당 -> 정수 나눗셈, 나머지 연산자는 안됨 # n1 = 4j # n2 = 3j # n3 = 2j print(n1 + n3) print(n1 - n3) print(n1 / n3) print(n1 / n2) # 기본적으로 실수형으로 변환 후 실행되어 실수형 반환 print(n1 // n2) # //는 정수형으로 됨 print(n1 * n3) print(...
[ "gkdldy5@naver.com" ]
gkdldy5@naver.com
0a2a2c8497f4ec98148d7fb8ba76e6e61511350b
33fd027b90dd8c4efd600f5bbcaf474edcc953a7
/pyspark_windowfunctions.py
6c96f1218c633ebc61e915eb25e33b9a7bed2965
[]
no_license
andrevictorm/PYSPARK_ESTUDO
50ce523ee0ce08533dc7a8dd0c2f9b4b0d0ca2cc
fedca431f5eaac6d57fcfaa42e39a819ac295072
refs/heads/main
2023-09-05T15:30:59.235946
2021-11-16T14:32:05
2021-11-16T14:32:05
428,668,907
0
0
null
null
null
null
UTF-8
Python
false
false
2,412
py
# Databricks notebook source As Windows Functions retornam um único valor para cada grupo de linhas. O PySpark oferece suporte a 3 tipos de Windows Functions: Ranking functions Analytic functions aggregate functions Documentação: https://spark.apache.org/docs/latest/api/python/reference/api/pyspark.sql.Window.html?hig...
[ "noreply@github.com" ]
andrevictorm.noreply@github.com
0bc20c0d41b836f3d9feff0c9ebc05cc4c02a45a
b9054f8fb2da88a4788e04f06e52e1745ef5683e
/displayer/custom_entry.py
9c11f2cf36b3346b574febf1087a52f9fc5452d8
[]
no_license
thinkingabouther/functionDisplayer
9f9f012af54daa02d0062325d3cb9ab8aa807d1f
1517847498bb21e0ce05a28798a1e74d5210a4dc
refs/heads/master
2021-09-12T02:12:17.915235
2018-03-26T17:20:24
2018-03-26T17:20:24
null
0
0
null
null
null
null
UTF-8
Python
false
false
736
py
from tkinter import Entry class EntryWithBackgroundText(Entry): def __init__(self, *args, **kwargs): self.background_text = kwargs.pop("background_text", "") super(EntryWithBackgroundText, self).__init__(*args, **kwargs) self.insert(0, self.background_text) self.bind('<FocusOut>', ...
[ "widauka@ya.ru" ]
widauka@ya.ru
a8f2cafb277643c76e1a634c5fcab184d07b9eb5
04b1803adb6653ecb7cb827c4f4aa616afacf629
/third_party/blink/web_tests/external/wpt/tools/third_party/pytest/src/_pytest/_code/__init__.py
815c13b42c25bd314988dbaa7ff9f4e3d1d2e5c2
[ "LGPL-2.0-or-later", "LicenseRef-scancode-warranty-disclaimer", "LGPL-2.1-only", "GPL-1.0-or-later", "GPL-2.0-only", "LGPL-2.0-only", "BSD-2-Clause", "LicenseRef-scancode-other-copyleft", "BSD-3-Clause", "MIT", "Apache-2.0" ]
permissive
Samsung/Castanets
240d9338e097b75b3f669604315b06f7cf129d64
4896f732fc747dfdcfcbac3d442f2d2d42df264a
refs/heads/castanets_76_dev
2023-08-31T09:01:04.744346
2021-07-30T04:56:25
2021-08-11T05:45:21
125,484,161
58
49
BSD-3-Clause
2022-10-16T19:31:26
2018-03-16T08:07:37
null
UTF-8
Python
false
false
410
py
""" python inspection/code generation API """ from __future__ import absolute_import, division, print_function from .code import Code # noqa from .code import ExceptionInfo # noqa from .code import Frame # noqa from .code import Traceback # noqa from .code import getrawcode # noqa from .source import Source # noq...
[ "sunny.nam@samsung.com" ]
sunny.nam@samsung.com
db6a5f9a9e48fbdb723307801d93ecf4a47d4f32
2b23ac5fac45ea526324b84bc1c873794a92ce3f
/example.py
741e4ecd2ec915d16f015f54bb3416549d03e785
[]
no_license
yaleman/technicolorspeedstats
9bd9b1dded37ba943c09551edf42d8a7871722ee
5a1514eacd7d93ab86f93489053ec9a0cf786dd3
refs/heads/master
2022-05-19T10:17:52.020727
2022-05-09T01:15:36
2022-05-09T01:15:36
245,538,477
1
0
null
2022-05-09T01:15:37
2020-03-06T23:59:40
Python
UTF-8
Python
false
false
86
py
#!/usr/bin/env python3 from technicolorspeedstats import get_data print(get_data())
[ "yaleman@ricetek.net" ]
yaleman@ricetek.net
4dde79d5e3be0ffc2d8fdc9b8d3237fd2be57c5b
5a52ccea88f90dd4f1acc2819997fce0dd5ffb7d
/alipay/aop/api/domain/Dowsure.py
c4c979d73ab936957a9778dbb5945bfedab00234
[ "Apache-2.0" ]
permissive
alipay/alipay-sdk-python-all
8bd20882852ffeb70a6e929038bf88ff1d1eff1c
1fad300587c9e7e099747305ba9077d4cd7afde9
refs/heads/master
2023-08-27T21:35:01.778771
2023-08-23T07:12:26
2023-08-23T07:12:26
133,338,689
247
70
Apache-2.0
2023-04-25T04:54:02
2018-05-14T09:40:54
Python
UTF-8
Python
false
false
961
py
#!/usr/bin/env python # -*- coding: utf-8 -*- import json from alipay.aop.api.constant.ParamConstants import * class Dowsure(object): def __init__(self): self._application_code = None @property def application_code(self): return self._application_code @application_code.setter d...
[ "jishupei.jsp@alibaba-inc.com" ]
jishupei.jsp@alibaba-inc.com
bb34d51fcdd2bb89209f9280e0d806d946c14977
4dbf7b5be86e7cc27cc3606106ce1daa792ade4b
/mmdet/models/detectors/base.py
b74cb657faa80d77757bf451dfe113c9a04efb42
[ "MIT" ]
permissive
ashwinvaswani/lesion_detection
61a011a90e9e42ab0cc56eba066540c879946f1d
26246e3954209075c56649dfb2ef565290e6dcb3
refs/heads/master
2023-04-03T03:56:21.856885
2021-04-03T12:14:18
2021-04-03T12:14:18
273,017,913
1
0
null
null
null
null
UTF-8
Python
false
false
6,706
py
import logging from abc import ABCMeta, abstractmethod import mmcv import numpy as np import pycocotools.mask as maskUtils import torch.nn as nn import inspect from mmdet.core import auto_fp16, get_classes, tensor2imgs class BaseDetector(nn.Module): """Base class for detectors""" __metaclass__ = ABCMeta ...
[ "ashwin.vaswani99@gmail.com" ]
ashwin.vaswani99@gmail.com
e163ad73aa563dda6ef681844f282f3877df4508
cf0f368408240a146b0d91ad7fe1c2f299694f4b
/main/migrations/0008_auto_20190609_2032.py
919f27c81a72f260f0494a748082b8ecf9479268
[]
no_license
joseangelmm/Project-AII
aaab67cef3575d0d13b59604bb63919950e933a9
67f8f082b48142de16cb65ba1d9d98de51b41771
refs/heads/master
2020-06-02T05:43:10.897784
2019-06-13T21:53:55
2019-06-13T21:53:55
191,058,099
0
0
null
null
null
null
UTF-8
Python
false
false
399
py
# Generated by Django 2.2 on 2019-06-09 18:32 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('main', '0007_auto_20190607_0027'), ] operations = [ migrations.AlterField( model_name='noticia', name='fecha', ...
[ "36623144+joseangelmm@users.noreply.github.com" ]
36623144+joseangelmm@users.noreply.github.com
4905f1162de481d5c10d057cf7e2d91f01cd6fba
a3d32e0ff84958d194ced642441f5379c0032465
/tests/functions/test_image_train_process.py
3fe7e75cf95dfa56d3155c3a714ddfd2389acd77
[]
no_license
TensorMSA/tensormsa_old
406755511d05d4ec179c085337a05f73c0dde80a
ef058737f391de817c74398ef9a5d3a28f973c98
refs/heads/master
2021-06-18T11:58:29.349060
2017-04-20T10:17:43
2017-04-20T10:17:43
67,384,681
6
0
null
null
null
null
UTF-8
Python
false
false
5,430
py
import unittest, requests, os, json,random from tfmsacore.utils.logger import tfmsa_logger from django.core.files.uploadedfile import TemporaryUploadedFile from tfmsacore.data import ImageManager class TestImageTrainProcess(unittest.TestCase): """ ./manage.py jenkins ./tests/functions --enable-coverage ./m...
[ "tmddno1@naver.com" ]
tmddno1@naver.com
a079211c11689b83b59f3657cc19f4ecfdd5c9e7
43d38bf7ad12fd6030e705c1cb326e6a4d57595d
/kmsPidGenerator.py
692a4210cdb384c6ea3f0d05674f79d2d1eb80c5
[]
no_license
Cheain/kms_tool
fba8d1a9427e074eb6392471572c7d28fdeadbb9
fa795d40667111fbc3ea23c1caa7d7d7f47397f9
refs/heads/master
2021-04-03T10:01:36.459501
2018-03-11T08:44:54
2018-03-11T08:44:54
124,347,704
1
1
null
null
null
null
UTF-8
Python
false
false
4,582
py
import datetime import random import time import uuid APP_ID_WINDOWS = uuid.UUID("55C92734-D682-4D71-983E-D6EC3F16059F") APP_ID_OFFICE14 = uuid.UUID("59A52881-A989-479D-AF46-F275C6370663") APP_ID_OFFICE15 = uuid.UUID("0FF1CE15-A989-479D-AF46-F275C6370663") # also valid for Office 16 (2016). # KMS Host OS Type hostOs...
[ "hch.hch@163.com" ]
hch.hch@163.com
beafb58ab3ec08a99d6f55d9c254e7f0c0b3fe56
e92ed45992bf8ef42e36596baa152f5412b45cc9
/learners/perceptron.py
0d1a1c2150a65c7b218ba98e4f6c2c579a737ca5
[]
no_license
kjohnsen/cs478
e4fda959aae8e87cffc82deee88f111f69f4fe19
f01fab43833dbc50fff78b242113b4fbb46931d0
refs/heads/master
2020-04-15T14:41:05.262515
2019-03-20T05:57:15
2019-03-20T05:57:15
null
0
0
null
null
null
null
UTF-8
Python
false
false
980
py
import random import numpy as np class Perceptron: def __init__(self, num_features, learning_rate): # last weight is bias self.weights = np.array([random.uniform(0.1, 0.5) for x in range(num_features)]) self.l_rate = learning_rate # Returns 1 if it was correct, to keep track of accurac...
[ "johnsenkyle13@gmail.com" ]
johnsenkyle13@gmail.com
7cfee5b9df13834712ed1c7dfcb5aaac39cd1210
cd8f7ecd20c58ce1ae0fe3840f7c7ee961aa5819
/Third Maximum Number.py
e33e7d88fe709f5f961c58fc1b2f6c3993b73f63
[ "Apache-2.0" ]
permissive
sugia/leetcode
9b0f2a3521b088f8f7e5633c2c6c17c76d33dcaf
6facec2a54d1d9f133f420c9bce1d1043f57ebc6
refs/heads/master
2021-06-05T07:20:04.099488
2021-02-24T07:24:50
2021-02-24T07:24:50
29,124,136
1
0
null
null
null
null
UTF-8
Python
false
false
855
py
''' Given a non-empty array of integers, return the third maximum number in this array. If it does not exist, return the maximum number. The time complexity must be in O(n). Example 1: Input: [3, 2, 1] Output: 1 Explanation: The third maximum is 1. Example 2: Input: [1, 2] Output: 2 Explanation: The third maxim...
[ "noreply@github.com" ]
sugia.noreply@github.com
cedfaacfc1ea964fcf106617d42d8c8281ed0dad
69a9564d94bc9bcd8983703cdaba8c8c388b5c03
/my-project/back_up_lcd_3.py
ec7b9c68f56dad1df2e92d9814eff663140a2e11
[]
no_license
arunksoman/PCPL-electro
c67dd4a75bccea5063ae76ea2935a48a9e52a68b
52afbb63ea4a8843b774c3b0d7dc636b997ba724
refs/heads/master
2020-05-06T15:41:57.483108
2020-02-11T16:04:25
2020-02-11T16:04:25
180,203,771
0
1
null
null
null
null
UTF-8
Python
false
false
8,968
py
import RPi.GPIO as GPIO import random import time import sys import requests import json import serial product = json.loads(requests.get("http://192.168.43.94:8084/SmartTrolley/Files/ProductData.txt").text) print(product) GPIO.setmode(GPIO.BOARD) GPIO.setwarnings(False) ser = serial.Serial("/dev/ttyACM0", baudrate=9...
[ "noreply@github.com" ]
arunksoman.noreply@github.com
7ecc66635c799a752527ae9aea098b284abae35c
2f24d7b5c852eb0a8f70b898e101487b1cb3c407
/src/models/request.py
1efa149b4e80aa76c8da9ad67e28c619d366a886
[]
no_license
Project78/Project78
afdf60dc6f517207070b02488c19f8d392c11784
9d8feb4181e9b8b97c05bb49ba3156a1964fa517
refs/heads/master
2020-12-24T17:35:44.022129
2012-01-31T09:16:56
2012-01-31T09:16:56
2,641,947
0
0
null
null
null
null
UTF-8
Python
false
false
618
py
''' Created on Nov 6, 2011 @author: averaart ''' from google.appengine.ext import db from event import Event from guardian import Guardian from student import Student from combination import Combination class Request(db.Model): ''' A Request represents one subject about which a Guardian wants to talk '''...
[ "averaart@hotmail.com" ]
averaart@hotmail.com
ff3255e6e3d9e37b3559b22797e3b5adaa849817
5167c21d194d3a03d59d58368f5c8481370af356
/Semana 09/03.py
1fb45f83b87281362864de69b3330d4c0d0d6d4a
[]
no_license
GuilhermeSSx/NappAcademy1
15ebc206d12ec52b25df2705ff3f8fe08b415605
cd3a7641d3b8468a876d31df33044ea946b78e36
refs/heads/master
2023-05-28T05:52:17.048297
2021-06-13T18:51:02
2021-06-13T18:51:02
372,360,364
0
0
null
null
null
null
UTF-8
Python
false
false
131
py
import json def criar_json(**kwargs): return json.dumps(kwargs) assert criar_json(test="porvilow") == '{"test": "porvilow"}'
[ "guilhermedosantos45@gmail.com" ]
guilhermedosantos45@gmail.com
3387ea205b396e3bb8b9c493c9f7e9b47b825ea5
82e7ff55cc4d7fa9d4423e77eb7625cd89a65b78
/src/bench/bench_muxers.py
594da8837410126482bcf45fec660db9068be6be
[ "BSD-3-Clause", "LicenseRef-scancode-unknown-license-reference" ]
permissive
JohanSmet/lsim
d3c9cc63e01f5caa2bf2de50ff810999998c3d0a
37594029278539f012b970d1516a4e27f82c0e24
refs/heads/master
2023-04-27T03:50:28.394867
2023-04-24T20:22:16
2023-04-24T20:22:16
208,345,318
11
5
BSD-3-Clause
2023-04-24T20:34:07
2019-09-13T20:56:13
C++
UTF-8
Python
false
false
31,484
py
#!/usr/bin/env python3 import lsimpy from bench_utils import * lsim = lsimpy.LSimContext() HIGH = lsimpy.ValueTrue LOW = lsimpy.ValueFalse def test_mux2to1s(): truth_table = [ [{'I0': LOW, 'I1': LOW, 'Sel': LOW, '/Strobe': LOW}, {'Y': LOW}], [{'I0': HIGH, 'I1': LOW, 'Sel': LOW, '/Strobe': ...
[ "johan.smet@justcode.be" ]
johan.smet@justcode.be
bcf48bbac8518b773ccfdc6279bdd00a78314561
7a7c0cd1b38a306e7d51a67f6442fc0b48ae83a0
/Exam/28.py
991a36c618d133a6c35e5fa823d398b37a0cc2b7
[]
no_license
09-03/Infa
f06fd007ded30101b289730ef0ea12154e3f7317
a7896461435650a6d3865047ed09ec9dadd4b493
refs/heads/master
2023-06-10T16:48:06.440654
2021-06-29T00:43:27
2021-06-29T00:43:27
297,751,033
1
0
null
null
null
null
UTF-8
Python
false
false
538
py
""" Написать программу, вычисляющую наибольший общий делитель двух чисел, введённых с клавиатуры. """ def NOD(a,b): a_start = a b_start = b while a != 0 and b != 0: if a > b: a = a % b else: b = b % a return print(f"НОД {a_start} и {b_start}: {a+b}")...
[ "noreply@github.com" ]
09-03.noreply@github.com
0b420050e1479b0904e29b59e1c48a5160989fd1
f392a5e4193d44c41e234696d093140cdf301497
/tests/example2.py
8b1a937795148bdddefeb027df7948a1d1727c74
[ "Apache-2.0" ]
permissive
GateNLP/gate-lf-python-data
fb151132c94e25f59947d6400692f23914dfa89e
89880a82458f09702c1d6828ae341997e0b45f73
refs/heads/master
2021-03-27T08:55:26.304655
2019-05-31T11:44:29
2019-05-31T11:44:29
113,597,027
4
1
Apache-2.0
2019-05-30T08:50:59
2017-12-08T16:52:39
Python
UTF-8
Python
false
false
362
py
from __future__ import print_function from gatelfdata import Dataset import sys if len(sys.argv) != 2: raise Exception("Need one parameter: meta file") file = sys.argv[1] ds = Dataset(file) valset = ds.convert_to_file() for b in ds.batches_converted(batch_size=20, as_numpy=False, pad_left=True): print("Batch: ...
[ "johann.petrak@gmail.com" ]
johann.petrak@gmail.com
7d7924468a06f470667187de5548dd1e1047dfaa
a93cfeed4c2a2833f1896bf5f39aa31955f21efe
/Data Structures/Graphs/BFS_simple.py
5ae140432c3c0db4bf5c088416c25bf7cebf8063
[]
no_license
akshat343/Python-Programming
ae83d05408fb67d51d388df22492dfe743596b2a
f5a1540770388e49d65536352ce1816c406d5229
refs/heads/master
2023-08-05T19:58:40.293770
2021-10-07T07:25:46
2021-10-07T07:25:46
null
0
0
null
null
null
null
UTF-8
Python
false
false
897
py
""" Author : Robbin Singh Simple Implementaion of BFS (Breadth First Search)using queue """ #Entre Adjancey Matrix of the graph print("Enter Adjancey matrix") R = int(input("Enter the number of rows:")) C = int(input("Enter the number of columns:")) matrix = [] print("Enter the entries row wise:") for i in range(R): ...
[ "robin25tech@gmail.com" ]
robin25tech@gmail.com
d4d27d560f9cb70b7b0cdfe713f2b5481ce676e5
facb8509e51a388030550574ab414d324374c8c8
/iwlearn/models/based_on_keras.py
fcd6cf62d08b8356a6fb89099dd7c0a5d5ccbe06
[ "Apache-2.0" ]
permissive
mfridental/iwlearn
a257092053d8a6c0f514713f83f0fa15c9d11c2e
a3253f9f59761663f59768eb26c9dc047504cc4e
refs/heads/main
2022-07-31T05:58:43.217852
2022-07-03T21:31:28
2022-07-03T21:31:28
214,254,342
3
0
Apache-2.0
2022-07-03T21:31:29
2019-10-10T18:16:52
Python
UTF-8
Python
false
false
7,606
py
# TODO: KERAS MODELS ARE TEMPORARY BROKEN DUE TO TENSORFLOW API CHANGE # # -*- coding: utf-8 -*- # import sys # import logging # import dill # import ujson as json # import os # import datetime as dt # # import numpy as np # import tensorflow.compat.v1.keras as k # from keras.preprocessing.image import Iterator # imp...
[ "maxim.fridental@paessler.com" ]
maxim.fridental@paessler.com
4a5726c2ee0ab88d6178f75060afb050e28bb3d0
9b946ad3b66792aafdb3a41e7cd05289f747bd1a
/Festhub/studlogin/apps.py
3525eea9deae50b93a58b1efcf41d31b84dde048
[]
no_license
aiswaryathenkunnel/MCAProjec
fcadfea71dad0fcd4d297624d07ac2341c9a220d
c4e0b4c6e9de02baae82269c9aefb8c62e4ce3b2
refs/heads/master
2020-04-07T23:16:16.555560
2018-11-23T08:49:16
2018-11-23T08:49:16
158,805,298
0
0
null
null
null
null
UTF-8
Python
false
false
93
py
from django.apps import AppConfig class StudloginConfig(AppConfig): name = 'studlogin'
[ "45259054+aiswaryathenkunnel@users.noreply.github.com" ]
45259054+aiswaryathenkunnel@users.noreply.github.com
b59946a4e00e1bcdc58afd777c83dd4e729b3c09
436f7239b7314251b91a55868473a96d7dccac00
/layer_definition.py
1f5bfc88b4109cb0aed3ccbd62aab0e8d766ed26
[ "Apache-2.0" ]
permissive
anguoyang/RED-NN
44164d15f89072d230a62556eb449af0a108ec04
b4b746eb0c1c0920822ee37b02c30c87ae0fba3d
refs/heads/master
2022-02-18T23:19:13.892083
2019-10-08T07:48:04
2019-10-08T07:48:04
null
0
0
null
null
null
null
UTF-8
Python
false
false
10,117
py
import tensorflow as tf import numpy as np class Rig2DConv(tf.keras.layers.Layer): def __init__(self, filters, kernel_size, phi, un_rotate=True, padding='SAME', **kwargs): # Non-trainable variables initialization self.filters = filters self.un_rotate = un_rotate self.phi =...
[ "noreply@github.com" ]
anguoyang.noreply@github.com
8b9843406d7206f8d8eb6ef33274a88f5669773e
b727870804e5c7a474c271e1cf0ebfe05619ddfb
/keras44_5_wine_conv1d.py
38577cf7df599d8d5b61c45ee04523731daff3ff
[]
no_license
marattang/keras
843227592f7b3cb08034bfdc2e6319200e62e990
cc78d1d70bfbe99e78f19ae11053ebbb87f20864
refs/heads/main
2023-08-03T21:50:53.438394
2021-09-10T05:11:15
2021-09-10T05:11:15
383,742,096
0
0
null
null
null
null
UTF-8
Python
false
false
3,365
py
import numpy as np from sklearn.datasets import load_wine from sklearn.model_selection import train_test_split from tensorflow.keras.utils import to_categorical from tensorflow.keras.models import Sequential from tensorflow.keras.layers import Dense, Conv2D, GlobalAveragePooling2D, Flatten, LSTM, Conv1D from sklearn.pr...
[ "tlawlfp0322@gmail.com" ]
tlawlfp0322@gmail.com
73efba33a53e27b03f156c4fa1fef480aa463f10
8de7a1bb8e4939f37d77f66e90376fd2727e1972
/trade.py
ccd09807bfdbfcb1e1110d050984962a54880ab0
[]
no_license
webclinic017/stonk-1
8228a5da5ab47f2f9f7a2511e7ffef79add15f47
fbf162b1f2e9a414d6262a6046f0f897857fb127
refs/heads/master
2023-08-22T02:37:44.036641
2021-10-13T02:33:17
2021-10-13T02:33:17
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,546
py
# interface between the code and the Interactive Brokers API # imports analysis and data import analysis from data import mktPrice # Interactive Brokers imports from ibapi.client import EClient from ibapi.wrapper import EWrapper from ibapi.contract import Contract from ibapi.order import * # time and threading for o...
[ "danieldunc@hotmail.com" ]
danieldunc@hotmail.com
37a72d6160014af204fb5ae6c5c9eca84b4d6906
f19cc4e99b265ae41ad6e5c16f023c1e68d11126
/Stess.py
7a80a65c9ad9ab88157b1b83af91f42ab902ccf3
[]
no_license
aezakmi007/CPU-STRESS-ALERT-SYSTEM-IOT
b9e3cdbed265f5a6b8c1839711ddf9fcd12453dd
bfb7f487e50c6aa6abd1a2a11c8f54b179f494ef
refs/heads/main
2023-03-31T23:29:41.990723
2021-04-11T06:04:34
2021-04-11T06:04:34
null
0
0
null
null
null
null
UTF-8
Python
false
false
680
py
import psutil from boltiot import Bolt api_key = "a1d04b0c-01e4-4542-bafa-116090c8f0ae" device_id = "BOLT293335" cpu_Threshold = 0.4 clientId = Bolt(api_key, device_id) interval = 5 def control_green_color(pin, value): response = clientId.digitalWrite(pin, value) def control_red_color(pin, value): response = c...
[ "Abdullah9695" ]
Abdullah9695
f62ae8f7f1ee46d83a45239fa0760d60126d68ef
c9f64fdf0a51b2ec438c05f2a08796a056aac73b
/HW1_solution_example/integrate.py
bd368bcece228facd6870ec75371c28150b84b66
[ "MIT" ]
permissive
MengbinZhu/pg2014
dd5e3d766e8ffd6292a551e4559c9c36d065f177
3571b2be5df2a9f593f781375b4b8029ce0c0c9e
refs/heads/master
2021-05-27T17:20:49.235056
2014-12-04T23:07:26
2014-12-04T23:07:26
null
0
0
null
null
null
null
UTF-8
Python
false
false
673
py
# Rob Hetland # 2014-10-14 # Homework 1, problem 2, trapazoidal integration # Released under MIT license import numpy as np def trapz(f, dx=1.0): """Trapazoidal integration of function f, with spacing dx""" f = np.asarray(f) return dx * 0.5 * np.sum(f[1:] + f[:-1]) if __name__ == '__main__': #...
[ "hetland@tamu.edu" ]
hetland@tamu.edu
ad81e48cc1fae84b6d8c962232aab56ba3d9292b
b8485ced30894816aa3f4e12574764acc4ff87df
/thecart/shop/migrations/0008_auto_20210321_1546.py
771c468c5709e40c9011ec8db8737d9ec3e26cc6
[]
no_license
gauravsalwatkar/E-commerce-website
74bdfbba88373f9d8589d200ef3ce7a36c5c216d
4de236a74ce465d7d4205c458a397123b5fc3e83
refs/heads/master
2023-04-03T16:29:23.444752
2021-04-05T05:12:07
2021-04-05T05:12:07
354,724,844
0
0
null
null
null
null
UTF-8
Python
false
false
343
py
# Generated by Django 3.1.1 on 2021-03-21 10:16 from django.db import migrations class Migration(migrations.Migration): dependencies = [ ('shop', '0007_auto_20210321_1543'), ] operations = [ migrations.RenameModel( old_name='Order', new_name='Orders...
[ "noreply@github.com" ]
gauravsalwatkar.noreply@github.com
c9744084c4db946f615b3b38f72857617c7d3169
109e3c93cd7de41fd5fbfad242bb39ab267dd290
/examples/twitter_server.py
1dfbe86ea28f3944fad6d8ae27766c38ed72f461
[ "Apache-2.0" ]
permissive
scholer/pygephi_graphstreaming
1bab016dc65c4f521be72d8038094bc39eb6f5f1
eace8d34a43badb39922b7ee764bac453ecfadc7
refs/heads/master
2021-01-15T16:28:13.646093
2015-10-08T22:31:07
2015-10-08T22:31:07
43,645,754
0
0
null
2015-10-04T17:44:08
2015-10-04T17:44:07
null
UTF-8
Python
false
false
9,047
py
#!/usr/bin/python # coding: utf-8 # # Copyright (C) 2012 André Panisson # # 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...
[ "panisson@gmail.com" ]
panisson@gmail.com
1fcabfdfd261d113f56cf3419f435286db66644a
ebec4fb7b2eb36b0214e7c018dd1a2f9a9f7b67d
/SPLN/testes/teste_2019/ex6_2.py
8f64e6fb33ebc2a9359e11e36545baea12b4f200
[]
no_license
MrBoas/PLC
cb09aaa2440a8711a6ba888a92cdcd2559b0b8cf
3f77cf1ce96cf8c4bb21ee4ec05f1fc418e9b73e
refs/heads/master
2022-02-02T10:45:16.322559
2019-08-05T15:51:51
2019-08-05T15:51:51
null
0
0
null
null
null
null
UTF-8
Python
false
false
992
py
from bs4 import BeautifulSoup as BS import requests import subprocess def getHTML(distrito,concelho): urlBase = "http://www.ipma.pt/pt/otempo/prev.localidade.hora/#" composedURL = urlBase + distrito + '&' + concelho response = requests.get(composedURL).content soup = BS(response) return soup # x = getHTML(...
[ "raulvilasboas97@gmail.com" ]
raulvilasboas97@gmail.com
0208a4a50bebc3bf813bc885b5acd3bc9bda9696
88c1f9ccb62e91d6b0574bcde1043921bdeb0126
/client_cli/src/d1_cli/tests/test_cli.py
cf82f63f797c9ac5a31102d6f830c03b7f3c3656
[ "Apache-2.0" ]
permissive
jevans97utk/d1_python
83b8de8780287c655779844f367b9189413da074
3ac4d4f3ca052d3e8641a6a329cab526c8ddcb0d
refs/heads/master
2020-05-21T01:16:50.677816
2019-04-22T16:09:44
2019-04-22T16:09:44
null
0
0
null
null
null
null
UTF-8
Python
false
false
28,974
py
#!/usr/bin/env python # This work was created by participants in the DataONE project, and is # jointly copyrighted by participating institutions in DataONE. For # more information on DataONE, see our web site at http://dataone.org. # # Copyright 2009-2019 DataONE # # Licensed under the Apache License, Version 2.0 (t...
[ "git@dahlsys.com" ]
git@dahlsys.com
16e79e32970b8fe13d66dc766354d45e07bc578d
91df76643a7d942f0ae11fa89c2dfcbd3feadfa9
/utils/dump_helpers.py
db66dbc830479a25545b07185b394d09ca21e9a3
[ "MIT" ]
permissive
Sixzero/yolov3-tf2
c6bb4a826872fec74b5c77d68b34962ee0876d7c
404d937481f16804a80ce605ce1f8704d6775e56
refs/heads/master
2020-12-01T20:02:21.021216
2020-01-01T15:03:34
2020-01-01T15:03:40
230,750,981
0
0
MIT
2019-12-29T13:01:53
2019-12-29T13:01:52
null
UTF-8
Python
false
false
47
py
../../diabtrend-treasures/utils/dump_helpers.py
[ "havliktomi@hotmail.com" ]
havliktomi@hotmail.com
1693c4a0d618967a4157bd72cbf492d3b6a83247
330540d9e2dcb3b8cc70272f5fb5c2bebdb572b5
/DnfDeals/utils.py
b6601effd4e5ecee0c4a6d694f97f490f9465f3e
[]
no_license
xiaguangting/DnfDeals
2a8e1e881cfbdd692bb1f16dffdb640b070c2af5
3dfdb34de4ea6bc5f9fb1c0352e0e94aeb24cae4
refs/heads/master
2020-08-05T22:47:15.889580
2019-11-14T03:45:36
2019-11-14T03:45:36
212,740,629
0
0
null
null
null
null
UTF-8
Python
false
false
2,703
py
import logging import smtplib from email.mime.text import MIMEText from logging.handlers import TimedRotatingFileHandler import pymysql from DnfDeals import settings def send_email(subject, content): message = MIMEText(content, 'html', 'utf-8') message['From'] = "DnfDeals<%s>" % settings.EMAIL_ADDRESS m...
[ "18627924383@163.com" ]
18627924383@163.com
efdbbbe6b16c275ebb302d934239ed9abb79e159
603f752f35b34802d15f397c9d11c56aad2ac5e4
/getStudentScore.py
fc95bc09a24f687285cf4ee0d24a8aa4963922ec
[]
no_license
waitfun/university
a0b153e6121205ec772ee201f201c18c2aade8e2
71c1fad8a3193525e74389c8f5dc5fe9a9ab4e64
refs/heads/master
2020-04-06T17:01:24.980336
2018-11-15T03:53:07
2018-11-15T03:53:07
157,643,248
1
0
null
null
null
null
UTF-8
Python
false
false
1,782
py
import requests from bs4 import BeautifulSoup import csv,time,re,math import sys import io sys.stdout = io.TextIOWrapper(sys.stdout.buffer,encoding='gb18030') def getScore(): cookie = "JSESSIONID=AE9029BE20920E54399350EB7C13D7AF; Hm_lvt_c09b7f26e29f23a8e4c2c74fc98ca736=1526317044,1527310349,1527498285,1527844527" ...
[ "waitfun319@qq.com" ]
waitfun319@qq.com
582e0a4f9404ffe497957148713488fb28333b04
49f23f530d0cda7aadbb27be9c5bdefaa794d27f
/server/common_models/user.py
a5b3f4d6f5e5d6819209dd9b15cdda3c1a15dacb
[ "MIT" ]
permissive
Soopro/totoro
198f3a51ae94d7466136ee766be98cb559c991f1
6be1af50496340ded9879a6450c8208ac9f97e72
refs/heads/master
2020-05-14T09:22:21.942621
2019-08-03T20:55:23
2019-08-03T20:55:23
181,738,167
0
1
MIT
2019-10-29T13:43:24
2019-04-16T17:42:16
Python
UTF-8
Python
false
false
2,223
py
# coding=utf-8 from __future__ import absolute_import from document import BaseDocument, ObjectId, INDEX_DESC from utils.misc import now class User(BaseDocument): STATUS_BEGINNER, STATUS_VIP, STATUS_BANNED = (0, 1, 2) MAX_QUERY = 120 structure = { 'login': unicode, 'password_hash': unic...
[ "redy.ru@gmail.com" ]
redy.ru@gmail.com
63b86d3db2a788557594680b422fe05b9c77afcf
d01f9ff2d7ba3c7c99158678adeaf082f3f15dbc
/model/cpn/ade.cpn.R50_v1c.v38.v2/train.py
294cb1add0f70efdd177b711e5ca1fc5df2170d0
[ "MIT" ]
permissive
akinoriosamura/TorchSeg-mirror
d8e76d99e80d55c2555f4f8f7a7fc3f30ef5dec4
34033fe85fc24015bcef7a92aad39d2a25a001a5
refs/heads/master
2021-06-18T15:47:00.946788
2019-10-26T04:46:07
2019-10-26T04:46:07
217,657,156
0
0
MIT
2021-06-08T20:36:44
2019-10-26T04:46:39
Python
UTF-8
Python
false
false
6,088
py
from __future__ import division import os.path as osp import sys import argparse from tqdm import tqdm import torch import torch.nn as nn import torch.nn.functional as F import torch.distributed as dist import torch.backends.cudnn as cudnn from config import config from dataloader import get_train_loader from network...
[ "osamura.akinori@gmail.com" ]
osamura.akinori@gmail.com
e64468f489f6456474b6cfadd135210659097b4d
9a6ed03100c84c6863ea94c592740ed7836bebaa
/venv/bin/wheel
b7654b7eb42f70ab2cb36133dd9af2c5f2b68513
[]
no_license
nemanjamaksim/cicd-buzz
b708ea171cbdd4fc9648fea2f018e9e41bdff447
31fe7a1fa12eaca22eec172e3dc3c8cba7fe56d2
refs/heads/master
2020-04-30T17:18:50.182192
2019-03-21T15:42:00
2019-03-21T15:42:00
176,961,656
0
0
null
null
null
null
UTF-8
Python
false
false
244
#!/home/nemanja/Documents/cicd-buzz/venv/bin/python # -*- coding: utf-8 -*- import re import sys from wheel.cli import main if __name__ == '__main__': sys.argv[0] = re.sub(r'(-script\.pyw?|\.exe)?$', '', sys.argv[0]) sys.exit(main())
[ "nemanja.maksimovic@bepecs.com" ]
nemanja.maksimovic@bepecs.com
ea182e68ead47f4393fd988adea64d157fd53d03
fee6a2ef79fd27c4795fe5256c2a144fc0c1311b
/roman/rq/sim_connection.py
9b2de331765bde37df18f4334dae86a01d655dc0
[ "MIT", "LicenseRef-scancode-generic-cla" ]
permissive
microsoft/roman
a290b470d3e2cc28f44dd8470f7ef295942fd929
51405e6a404d670ae571b7ddff4f9468f9381b8a
refs/heads/main
2023-06-30T01:59:16.074496
2023-02-07T20:17:12
2023-02-07T20:17:12
246,629,589
20
15
MIT
2023-02-03T20:51:15
2020-03-11T16:56:42
Python
UTF-8
Python
false
false
2,175
py
from .hand import * ################################################################ ## Simulated hand implementation ################################################################ class SimConnection: """Implements functionality to read and command the simulated hand, regardless of simulator.""" def __init_...
[ "mihaijal@microsoft.com" ]
mihaijal@microsoft.com
492a402cbf27dab0e47aac4ae9e1d9d48b0ac5d8
f273e6fbd3d2a39bc88373718cf226ae9638e491
/POP_moving_file_once.py
c1edeb0ce1340305c601f68e70825e22ada8952c
[]
no_license
TheRiseOfDavid/ntut_crawler
510c36f95afb8bace42702a60dc388a999dcb6c2
4b0a9d4bc92de38f50112975a6d922dbcdda5d4c
refs/heads/master
2022-06-14T10:06:03.843702
2020-03-02T01:38:40
2020-03-02T01:38:40
242,755,269
0
0
null
null
null
null
UTF-8
Python
false
false
1,964
py
# -*- coding: utf-8 -*- """ Created on Sun Jan 26 01:25:29 2020 @author: user """ import os import time def duplicate(strPath , Data ): lisDir = os.listdir(strPath) dicAll_Data = dict() strData = "" if(type(Data) == dict): dicAll_Data = Data for strFile in lisDir : strFile_Name = strFile.r...
[ "david53133@gmail.com" ]
david53133@gmail.com
b2494838e2dd49d90b6e70323d72d2dcb16bfb95
0d97aede474efb01d893eba0180bc1cb5170687d
/traceml/setup.py
61d6ce0b266d06cf5c25160a9d0f3f4d5dc59fc3
[ "Apache-2.0" ]
permissive
jinheeson1008/tensorflow-lstm-regression
ae7bcd3e48a36cc8bde34c2bd3c2df4f6d24d4b3
f31fc1181a5696a25f5737398ee0715c24626248
refs/heads/master
2022-08-10T13:42:21.695155
2022-03-26T16:30:17
2022-03-26T16:30:25
79,639,036
0
0
Apache-2.0
2023-09-04T23:21:41
2017-01-21T10:26:51
Python
UTF-8
Python
false
false
2,716
py
#!/usr/bin/env python import os import sys from setuptools import find_packages, setup from setuptools.command.test import test as TestCommand def read_readme(): if not os.path.exists("./README.md"): return "" with open("./README.md") as f: return f.read() class PyTest(TestCommand): def...
[ "ci@polyaxon.com" ]
ci@polyaxon.com
122f637e84c5e5004fd039a44edc78f44b846fcc
4be65fc46dbb6e56834796f2f143256edf1bf03e
/chapter_11/language_survey.py
5859296df3b5545d5a750877a40578a628db69c3
[]
no_license
Mozes721/PythonCrashCourse
78cbb32695d618a14f06f7ae71780b2604f6c7bf
9c823cc9a75bd6a282bfbbe51aaccf3d21069177
refs/heads/master
2021-07-15T10:46:55.979655
2020-06-01T14:17:45
2020-06-01T14:17:45
158,593,111
0
0
null
null
null
null
UTF-8
Python
false
false
395
py
from chapter_11.survey import AnonymousSurvey question = "What language did you first learn to speak?" my_survey = AnonymousSurvey(question) my_survey.show_questions() print("Enter 'q' to quit at any time/n") while True: response = input("Language ") if response == 'q': break my_survey.store_respo...
[ "MozesTheGreat@yahoo.com" ]
MozesTheGreat@yahoo.com
a1f7fdc043c119d5be8f9287702eb97ba545e849
af2f88672cb9d0be3ff6424235180f2a5815a846
/xml_process.py
56eec4f34e1d1f57d6157b20d676857b8f96189c
[]
no_license
wfy1452473846/preprocess-dataset
1260e77209ccf05b8982b73c5f6c8e03fa5f3d92
58e54897fe03b78979cc7c8710cbb5c7b57270b0
refs/heads/master
2020-08-02T03:10:38.283237
2019-09-27T02:12:20
2019-09-27T02:12:20
211,217,281
0
0
null
2019-09-27T02:10:50
2019-09-27T02:10:49
null
UTF-8
Python
false
false
4,361
py
""" xml_process.py 20190408 """ import xml.dom.minidom import os from tqdm import tqdm import cv2 import numpy as np def pnpoly(test_point, polygon): """ Point Inclusion in Polygon Test https://wrf.ecse.rpi.edu//Research/Short_Notes/pnpoly.html :param test_point: t...
[ "noreply@github.com" ]
wfy1452473846.noreply@github.com
c9bd05b4601e4999b2f8e8388cc5a71f4d443296
83dec1c86682fee0bebf19b1c30c4051795b4a3d
/Utilities.py
f35987e7f1489ea6281e0b060f807d0072ca36cc
[]
no_license
hayridurmaz/FaceAuthentication
97b88248cf533a8a9bb4bf2f95da96240f35eaae
6e6b949e740de56e67c611052a419d12abaab056
refs/heads/master
2023-06-07T11:57:57.777695
2021-06-17T19:15:43
2021-06-17T19:15:43
322,927,037
0
0
null
null
null
null
UTF-8
Python
false
false
5,000
py
import logging import os import time import cv2 import matplotlib.pyplot as plt import numpy as np from deepface import DeepFace from keras_vggface.vggface import VGGFace import config dataset_path = config.recognizer_options['user_dataset'] database_path = config.recognizer_options['user_database'] resnet50_featur...
[ "hayri.durmaz@tedu.edu.tr" ]
hayri.durmaz@tedu.edu.tr
6f6c6ada1f54e063deb49df940dc1cc3650971d6
b9008dc6326b30de1a16ba01a1f3143aa248f7c3
/python/chapter3/ex01_10.py
0eed47d612f626182ab96704303341e3153a0b74
[]
no_license
wonjongah/multicampus_IoT
ce219f8b9875aa7738ef952a8702d818a571610e
765a5cd7df09a869a4074d8eafce69f1d6cfda4a
refs/heads/master
2023-02-13T12:30:19.924691
2021-01-08T10:17:42
2021-01-08T10:17:42
292,800,307
0
0
null
null
null
null
UTF-8
Python
false
false
392
py
country = "Korea" if country == "Korea": print("한국입니다") if country != "Korea": print("한국이 아닙니다") if "korea" > "japan": print("한국이 더 크다") if "korea" < "japan": print("일본이 더 크다") if "Korea" > "korea": print("Korea가 더 큽니다") if "Korea" < "korea": print("korea가 더 큽니다") print(ord("K")) print(ord("...
[ "wonjongah@gmail.com" ]
wonjongah@gmail.com
6a6dae441e61243aa4dc37b47e3ab5b3a6fe36d7
6703813468e8dccfafc7462be67c52d5456d89a6
/example/web/app_factory.py
9c3f9bf369963d01dbf54a02637b5664c9d97ea2
[]
no_license
selecsosi/docker-compose-example
42f9abb18c4040179f0d5b9ff77afb002635bb2e
07a7ae485ab7b91f935bbb208cffc309eca1e5a2
refs/heads/master
2022-09-26T12:19:02.143742
2019-11-15T18:24:55
2019-11-15T18:38:27
221,803,777
0
0
null
2022-09-13T23:03:04
2019-11-14T23:18:49
Python
UTF-8
Python
false
false
234
py
from flask import Flask def create_app(logger_override=None): app = Flask("web") if logger_override: app.logger.handlers = logger_override.handlers app.logger.setLevel(logger_override.level) return app
[ "sam.lahti@avant.com" ]
sam.lahti@avant.com
d01b878b550fec82255c4c85c7fdef2cbb8fe1a7
e23dba7ea5d2413025f5075d8fbaed893e3edc3a
/preprocess/preprocess_core.py
4e9947c616e308a68053250fcabe9f6f1039e1b7
[]
no_license
leoliu1221/engagement_db
900bee11f6d9cada6a5986d10ada7da1ac7d6a45
0b8477079d9ab46ba342c77e52ea2f70368f767e
refs/heads/master
2021-06-07T09:12:17.797754
2016-04-12T04:35:42
2016-04-12T04:35:42
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,714
py
# -*- coding: utf-8 -*- ''' #functions needed: Preprocessing after preprocessing input: [x] Normalize the X and Y with definition2. [x] Use the current cut c to cut both X and Y into smaller pieces. E.g. for N(X), I will have N(X) [0:c], N(X)[c:2c], N(X)[2c:3c]… etc. Same thing goes for N(Y). [x] For each p...
[ "leoliu@u.northwestern.edu" ]
leoliu@u.northwestern.edu
65fa9de6c1fdf8b167f5af603e921268421be24f
6cde25cd6cf38f854e465889ef1c59a5d05e58b4
/src/python/normalize-by-median.py
d42a5891a8401eab2e814f7d7507d935af88a34c
[ "Artistic-1.0" ]
permissive
smyang2018/ergatis
ef8eb6e86add69c3583e16be530e42775be0c565
1081ede54c9b06efadf8046ec206e8d8c593e0df
refs/heads/master
2022-01-21T07:21:42.407806
2019-07-12T19:46:50
2019-07-12T19:46:50
262,735,101
0
1
NOASSERTION
2020-05-10T07:32:32
2020-05-10T07:32:32
null
UTF-8
Python
false
false
4,158
py
#! /usr/bin/env python """ Eliminate reads with median k-mer abundance higher than DESIRED_COVERAGE. Output sequences will be placed in 'infile.keep'. % python scripts/normalize-by-median.py [ -C <cutoff> ] <data1> <data2> ... Use '-h' for parameter help. """ import sys, screed, os sys.path.append("/usr/local/pack...
[ "kabolude@c60d6122-3b2e-0410-912d-af40fea696fe" ]
kabolude@c60d6122-3b2e-0410-912d-af40fea696fe
343d228b230e0ac0eb81a170c2d7b22a7aef5b22
ed773a408297250d3c1d2797f593fe043f6e07fa
/database_setup.py
09a8eb086b080d56101b0a269cd160be74e1d5ba
[]
no_license
pedrocecchetti/pythonflaskapp
8239baa978519f4210364fab64c5d38a610f47cc
aee00aa4c711629a7f4e9b95a2d07502ffc27150
refs/heads/master
2020-04-11T06:06:17.414814
2018-12-14T12:56:03
2018-12-14T12:56:03
161,570,556
0
0
null
null
null
null
UTF-8
Python
false
false
1,115
py
import os import sys from sqlalchemy import Column, ForeignKey, Integer, String from sqlalchemy.ext.declarative import declarative_base from sqlalchemy.orm import relationship from sqlalchemy import create_engine Base = declarative_base() class Restaurant(Base): __tablename__ = 'restaurant' id = Co...
[ "noreply@github.com" ]
pedrocecchetti.noreply@github.com
835b6e0ac178cfa27a2002e624816e0d162cf8b4
9d7afba14939649c0f20b2748d8a20cb973e4a0a
/generate.py
cebb86450d7ee4d0b968170465925193dfe3d9d5
[]
no_license
ansible-network/resource_module_planning
47f552a85e1693b68ba730596d6ad7e1b3ff73a0
c7cca18a4f2f811859d8f1135de2ba2ddeacd935
refs/heads/master
2020-04-30T22:57:51.772230
2019-04-05T18:33:03
2019-04-05T18:33:03
177,132,464
0
2
null
2019-04-09T18:10:27
2019-03-22T12:01:20
HTML
UTF-8
Python
false
false
4,846
py
from datetime import timedelta, datetime from jinja2 import Template import csv import settings def build_ansible_releases(): ars = [] settings.ANSIBLE_RELEASES.sort(key=lambda x: x['date']) for release in settings.ANSIBLE_RELEASES: ars.append({"start": release['date'].isoformat(), ...
[ "bthornto@thethorntons.net" ]
bthornto@thethorntons.net
6a368fc990d1e42010f3c08fb5a77e6b4041cf24
22d9a354423bfedd3e49bab34db7a550ec9142b4
/数据嗨客/HousePricePridect/houserepdict1.py
b2db2250a46eafe652cb2080f81c4091ed1b2bc4
[]
no_license
linxiaoby/PyCode
b486f583b25019ae3579fe44e8850758a66be5bf
f52bf0cd5fbe586c81d782e03a9458de234e5b20
refs/heads/master
2018-10-22T12:58:14.219968
2018-05-03T07:28:57
2018-05-03T07:28:57
104,988,568
0
0
null
null
null
null
UTF-8
Python
false
false
8,076
py
# Adding needed libraries and reading data import pandas as pd import numpy as np import warnings from sklearn import ensemble, tree, linear_model from sklearn.model_selection import train_test_split, cross_val_score from sklearn.metrics import r2_score, mean_squared_error from sklearn.utils import shuffle warnings.fi...
[ "wanglin_bnu@163.com" ]
wanglin_bnu@163.com
fac71e017c2137fab436e08e46fbcddfb616918b
0104a8813f94c71d8b119109e50e33f460ab4867
/modular/subscribe.py
69020294dfb0b80ca0d30298eab1ed479ca65280
[]
no_license
sunnyhong123/test_ui
ce650962c467631766d38edf067efa39c53a538b
eb8528b72e9de5b76918a8cef5ef696636280ed5
refs/heads/master
2023-04-11T12:30:22.427364
2021-04-16T08:23:34
2021-04-16T08:23:34
353,869,001
0
0
null
null
null
null
UTF-8
Python
false
false
1,399
py
#coding=utf-8 from public.Commonlib import Common from public.rd_email_name import RD import time class Subscirbe(): def __init__(self,dr): self.driver = dr self.elt = Common(self.driver) self.rm = RD(self.driver) def subscribe_success(self): #订阅流程 subscribe_value = ...
[ "alexhong465@gmail.com" ]
alexhong465@gmail.com
2ca65305c59f566dc9043beda4fac38b816d1645
cc3dd8ee82c854666680b086e55ba7bead421bef
/2.python_module/3.example/finance/methodForFin.py
175a26041cf5c1924b98336735c8ab00a8588ffb
[]
no_license
eggeggss/PythonTutorial
b46a4377fdc0967f3c13e4d70f8ebfdebc93ef53
a35fbf5d9c78ec6896b757529d97b262f6f0637b
refs/heads/master
2020-04-01T01:27:42.793973
2018-12-01T15:14:49
2018-12-01T15:14:49
152,739,571
0
0
null
null
null
null
UTF-8
Python
false
false
51
py
def printMethodName(): print('Finance Method')
[ "eggeggss@gmail.com" ]
eggeggss@gmail.com
b9e6bf9944097897f35f1edbb712bbb2fa99f251
c51eef37bb983a9c35635c7ccc96a0cf689a7438
/com/chapter03_python_begin/05_for/02_range.py
6e97b3c6cbd2c9345bac79003fba8ca69d3a9ff6
[]
no_license
Kyeongrok/python_crawler
0a717b43be36584af1b0f7c1ad0c79108a5d11e0
5a5da8af7bb080f752a9a066741ac8adab136a3a
refs/heads/master
2022-09-13T03:15:08.053639
2022-08-02T15:45:03
2022-08-02T15:45:03
124,719,435
40
34
null
2019-02-27T08:29:52
2018-03-11T03:20:32
HTML
UTF-8
Python
false
false
25
py
print(list(range(1, 10)))
[ "kyeongrok.kim@okiconcession.com" ]
kyeongrok.kim@okiconcession.com
65a186d1f261b126882e2435ee2ae83f22c7970b
48c47c714502fdc8cb8bb59601f30c344945a6d0
/sdt/util/logging.py
2269f55874bf16b4b6e19049b6a40526ff113113
[]
no_license
ronvree/SoftDecisionTree
327ef0e89eb600f0ee16d3f9cb0ad619b8bb9ba7
b3ad17be8870c08be66d78974e0f78ae6f0439c7
refs/heads/master
2022-12-12T13:35:51.805748
2020-08-22T15:05:13
2020-08-22T15:05:13
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,456
py
import os class TrainLog: """ Object for managing the train log directory """ def __init__(self, log_dir: str): # Store log in log_dir self._log_dir = log_dir self._logs = dict() # Ensure the directories exist if not os.path.isdir(self.log_dir): os.mkdi...
[ "ronvbree@gmail.com" ]
ronvbree@gmail.com
94bb2d5431ce4313c83f6d758e2f635450d23874
6d5bc5e2bff976f8c2057e311be2e7a4a4e327e5
/main.py
8b4079c7c8e8025ec00bfe8d5aa0e85745f3742e
[]
no_license
vikasnataraja/Predicting-Adult-Census-Income-using-Machine-Learning
8393c377fcc24a62adfc00dffb4a8818883432eb
617b5e910ae015393d08765d95d6aedb2a05d5b5
refs/heads/master
2020-05-20T01:57:11.882412
2019-05-07T04:51:59
2019-05-07T04:51:59
null
0
0
null
null
null
null
UTF-8
Python
false
false
9,443
py
#!/usr/bin/env python # coding: utf-8 # ## Predicting Adult Census Income # # Using only data from the training set, I am aiming to predict the test score (or incomes) without knowing the test # solution. To circumvent this uncertainty, I am using cross validation which allows me to tune the hyperparameters. # In[ ]...
[ "viha4393@colorado.edu" ]
viha4393@colorado.edu
7454e773ea8edc027d5830ae01f8e4737b1415ed
6f568983e2662d9c69603d93b62755f2dd47705e
/week5/ProblemSet5/ps5_recursion.py
b5c1d094a0f6bb086ac8f80155181080b3402d43
[]
no_license
sesan/6.00x
6e40d1832326e724e3d554c7327e28569890c2ae
86afbf1f447cf5bd0e493890be2a00403ae2e825
refs/heads/master
2020-12-31T02:14:44.869543
2013-03-26T20:45:44
2013-03-26T20:45:44
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,310
py
# 6.00x Problem Set 5 # # Part 2 - RECURSION import imp storyFile = open("story.txt", 'r') story = storyFile.read() from ps5_encryption import * # # Problem 3: Recursive String Reversal # def reverseString(aStr): """ Given a string, recursively returns a reversed copy of the string. For example, if the s...
[ "ryan.lindgren@gmail.com" ]
ryan.lindgren@gmail.com
bcb2bac7460fd22247f6850cfb190c7713966a7e
490ffe1023a601760ae7288e86723f0c6e366bba
/kolla-docker/nova/nova/compute/resource_tracker.py
4f32a9eff29481b02245cdfa874c8e6d7ccb2a78
[ "Apache-2.0" ]
permissive
bopopescu/Cloud-User-Management
89696a5ea5d2f95191327fbeab6c3e400bbfb2b8
390988bf4915a276c7bf8d96b62c3051c17d9e6e
refs/heads/master
2022-11-19T10:09:36.662906
2018-11-07T20:28:31
2018-11-07T20:28:31
281,786,345
0
0
null
2020-07-22T21:26:07
2020-07-22T21:26:06
null
UTF-8
Python
false
false
67,693
py
# Copyright (c) 2012 OpenStack Foundation # 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 ...
[ "Mr.Qinlichao@hotmail.com" ]
Mr.Qinlichao@hotmail.com
7c2d0335fc9981073bcab8ae14c39d83b10e1c1f
76902c0ca5e16eb68dfee899c5595fd697d3a7d8
/CoisaDeUfersa/AgroPopShop/src/main/resources/aeiou.py
462c2e199ed38cfe60b77617df60d4f36cce88bf
[ "MIT" ]
permissive
weixiaoUfesa/pweb_2020.2_weixiaoChen
d2c9c0aa88917fa7b103ac520a2ebc29500f85ac
1061a980bba25f75f104dafb310fc0509aed71f0
refs/heads/main
2023-08-30T16:25:26.876386
2023-08-30T11:45:10
2023-08-30T11:45:10
343,974,773
2
0
null
null
null
null
UTF-8
Python
false
false
227
py
a=e=ii=o=u=0 str=input('nome:') for i in str: if i=='a'or i=='I':a=a+1 if i=='e':e=e+1 if i=='i':ii=ii+1 if i=='o':o=o+1 if i=='u':u=u+1 print('a:',a) print('e:',e) print('i:',ii) print('o:',o) print('u:',u)
[ "56464135+weixiao1994c@users.noreply.github.com" ]
56464135+weixiao1994c@users.noreply.github.com
d6d4045aeb90759fae31fe036e9cb108f29134fe
4249b126a07d277a110e1acbf12175ebfcdcbaad
/Book-Chapter3_3-Bisection-SqRoot.py
7ea22cfe11a57c883242f37ab43a9ad50962992b
[ "MIT" ]
permissive
tocheng/Book-Exercises-Intro-to-Computing-using-Python
426b24d1175b889dd5aea5df1fbac4b485bd4ba4
a54f164cb53dc5fa0bfb88cee9e1a5d69cb9fb09
refs/heads/master
2023-02-12T19:47:43.832801
2021-01-14T15:34:48
2021-01-14T15:34:48
null
0
0
null
null
null
null
UTF-8
Python
false
false
619
py
# -*- coding: utf-8 -*- """ Created on Fri Nov 13 17:09 2020 Introduction to Computation and Programming Using Python. John V. Guttag, 2016, 2nd ed Book Chapter 3 Finger Exercises Bisection search for square root @author: Atanas Kozarev - github.com/ultraasi-atanas """ # Find x such that x**2 - 24 is within epsilon o...
[ "55555430+ultraasi-atanas@users.noreply.github.com" ]
55555430+ultraasi-atanas@users.noreply.github.com
f177da88dbb975deb9ac6b07454a03d21b3123c0
3d158381e8b51b547cb97b42f31715460968c343
/python_html_css_blog/routes.py
a5d9de0505cce8203d0743dffe21e440188e1fad
[]
no_license
bkzzshzz/Python_Practice
942ab981ba64ddc8321b6532ef6790da54230100
01352aa29a881204595b98dead60b3c836be7070
refs/heads/master
2023-06-29T18:35:24.374307
2021-08-03T04:14:10
2021-08-03T04:14:10
372,134,055
0
0
null
2021-06-24T10:06:57
2021-05-30T05:46:03
HTML
UTF-8
Python
false
false
1,396
py
class Route: def __init__(self, list_of_paths, redirect_path_list): self.list_of_paths = list_of_paths self.redirect_path_list = redirect_path_list def add_path_to_list(input_path, return_url): pass def register_url(input_path): pass if __name__ == '__main__': al...
[ "bkzz_shzz@yahoo.com" ]
bkzz_shzz@yahoo.com
9aeac7b87a2f57ebe772c44c85063b2f39bf2e16
4fe15daaf02b59ee4bf21d529c8ea092477de2ce
/wtiproj05_api_logic2.py
827c84be93afbb8f39ececbc5930cb2e5d9f71d6
[]
no_license
DalduK/WTILAB
a41e849ed20dbbb57d1af67f58743f4c70ec9572
27ee663737a096ad10cea02807b6026c1beb659c
refs/heads/master
2022-10-25T06:59:53.269637
2020-06-20T15:21:53
2020-06-20T15:21:53
251,050,630
1
0
null
null
null
null
UTF-8
Python
false
false
1,803
py
import json import numpy as np import pandas as pd import wtiproj05_redis as rr import wtiproj04_ETL_and_data_processing as w class api(): def get(self): ll = rr.get_rand_user() ll = ll.fillna(0) return ll.to_dict() def post(self, data): immutable = frozenset(data.items()) ...
[ "przemyslaw7wozny@gmail.com" ]
przemyslaw7wozny@gmail.com
82cadd475948ffd96531e64287bce69554e71933
caba6799c6cd4d33954db0a07e8821e73087d81a
/updatesproducer/updateapi/audio.py
c4d025b62cbc40190a9c95c6f8fcba2b4514de7b
[ "Apache-2.0" ]
permissive
ShakedGold/Iris
f2bcf3c5568fdb9de7bcb06a9a161fbd2cdd8953
b60deb6575820253bad50b48b9b39023d6440fd4
refs/heads/master
2022-12-31T03:32:36.695256
2020-10-18T06:07:01
2020-10-18T06:07:01
null
0
0
null
null
null
null
UTF-8
Python
false
false
233
py
from updatesproducer.updateapi.imedia import IMedia class Audio(IMedia): duration_seconds: int title: int artist: int def __init__(self, **kwargs): self._type = 'Audio' self.__dict__.update(kwargs)
[ "multi@codeprecise.com" ]
multi@codeprecise.com
a71ffa22320c4670dd2b0cdddeac57895b932240
38f74ac071e1368b209f5659919204be6f3f7a75
/algorithmic-toolbox/week4_divide_and_conquer/4_number_of_inversions/inversions.py
297838c9b48955fac49f428e0e25256a2f328c0e
[]
no_license
pablo-var/data-structures-and-algorithms
40ca102b40b2f96caa1bf70ac9c03187c062f2ed
b07d9025c162025b289cbb60f0c964973849f532
refs/heads/master
2022-11-11T05:21:45.700575
2020-06-21T20:29:10
2020-06-21T20:29:10
258,991,965
0
1
null
null
null
null
UTF-8
Python
false
false
1,631
py
# Uses python3 import sys def merge(arr, l, m, r): number_of_inversions = 0 n1 = m - l + 1 n2 = r - m # create temp arrays L = [0] * (n1) R = [0] * (n2) # Copy data to temp arrays L[] and R[] for i in range(0, n1): L[i] = arr[l + i] for j in range(0, n2): R[j] = ...
[ "pablovargasibarra12@gmail.com" ]
pablovargasibarra12@gmail.com
9e2613d43c8d4d08d227418cedbf0dd8bf1c3c42
c09cfdb1302f4d409bfc042dd0fff6a6d59f4a87
/Apocalypse/textRNN_half2.py
6b50d99efbdabc8f4d5a19027bbc5fc8bd9a864f
[]
no_license
Utschie/ML_Monitoring_Trade
30773b91024c7ffca4f95a8e18ed56c4e2147529
3791e8405ae314dee4f6008c3feb214427f14a55
refs/heads/master
2021-11-08T03:17:06.834889
2021-07-05T18:10:37
2021-07-05T18:10:37
166,300,248
0
0
null
null
null
null
UTF-8
Python
false
false
15,151
py
#本程序是采用平衡数据集的用tsvd的模型,看看会不会比非平衡数据集好————20210126 #把优化器的eps跳到1e-16,并把初始学习率调低两个数量级,看看loss会不会继续持续下降 ''' 经过初始学习率分别为0.01,0.001,0.0001,0.00001的比对后,发现0.001甚至0.01是最好的学习率,loss最低降到1.1左右 而0.0001和0.00001下降非常慢,甚至在初始学习率为0.00001时loss到了5之后下降就非常慢了 而当学习率为0.01时loss很快就下降到了1.1,而且非常稳定,甚至比0.001还稳 ''' #这次试一下如果不用正交初始化而是用默认初始化的话,loss会是个什么结果 #使用默...
[ "littlecat.j@hotmail.com" ]
littlecat.j@hotmail.com
8bd85a71ed32a09c3f871431ee97970c9134121b
a2e638cd0c124254e67963bda62c21351881ee75
/Extensions/FrontCache/FPythonCode/FC_TCOLL_01_ATS_40.py
11d35ced4c4937f267029d8778ff4dfce2f825ed
[]
no_license
webclinic017/fa-absa-py3
1ffa98f2bd72d541166fdaac421d3c84147a4e01
5e7cc7de3495145501ca53deb9efee2233ab7e1c
refs/heads/main
2023-04-19T10:41:21.273030
2021-05-10T08:50:05
2021-05-10T08:50:05
null
0
0
null
null
null
null
UTF-8
Python
false
false
6,150
py
'''---------------------------------------------------------------------------------------------------------- MODULE : FC_TCOLL_01_ATS_40 PROJECT : FX onto Front Arena PURPOSE : This module is the entry point for the Trade Collection ATSs. These ATSs w...
[ "nencho.georogiev@absa.africa" ]
nencho.georogiev@absa.africa
ea26d52cac00b4d403d26785a8562ac5dd52f808
a0282c578384ea765bee9c6611fabbe79b2256fc
/openhrms/hr_biometric_machine_zk_demo/models/finger.py
8de9829e3932d0a7ec804b62f8cf03fede1221d9
[ "MIT" ]
permissive
nadahmed/hivecorehrms
f688220d5dcabace8c62fb2eb42ce6b9b4e02105
e0cacbbd2f608490b613b9c671809e251868035d
refs/heads/main
2023-03-29T12:08:53.539162
2021-03-23T06:07:43
2021-03-23T06:07:43
350,272,239
0
0
MIT
2021-03-22T08:54:46
2021-03-22T08:54:44
null
UTF-8
Python
false
false
1,764
py
# -*- coding: utf-8 -*- from struct import pack #, unpack import codecs class Finger(object): def __init__(self, uid, fid, valid, template): self.size = len(template) # template only self.uid = int(uid) self.fid = int(fid) self.valid = int(valid) self.template = template ...
[ "abrarahnaf@gmail.com" ]
abrarahnaf@gmail.com