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
b8a16ce325c65f9044f2ff1ecf5af27060e6b600
c719e07b1b4edb9596d8e286938bf29c9c8c3b4a
/blog.py
b59b2a7ec3369c2af7a07ec28a7f1443448e5ba5
[]
no_license
furkanctn/FlaskBlogAPP
bbdcb37da4de8e8f14c3226b31c91502657d02f5
2fba43dcc5f18f378a9590f2f5223bfac1599ddc
refs/heads/main
2023-07-01T02:37:37.275304
2021-08-12T07:49:55
2021-08-12T07:49:55
395,234,915
0
0
null
null
null
null
UTF-8
Python
false
false
8,453
py
from re import S from MySQLdb import cursors from flask import Flask, render_template,flash,redirect,url_for,session,logging,request from flask_mysqldb import MySQL from wtforms import Form,StringField,TextAreaField,PasswordField, form,validators from passlib.hash import sha256_crypt from functools import wraps from w...
[ "furkanc.tin63.gmail.com" ]
furkanc.tin63.gmail.com
b176a24c12a2f81960d594b227e0eb66dc7ca889
c192132c7c2b815d480b243b591c2c9dac8d969b
/result.py
f369eb20ad333d584dbf29c1573ee366b42523f5
[]
no_license
Annihilater/blast.ncbi.nlm.nih.gov
b967dd3abf1ca1b075566262ee11906d7f5170ce
e62dabb4f9fc7c0e359051e3cdbc97c45f1fbdee
refs/heads/master
2020-08-24T14:32:54.451809
2019-10-23T09:41:37
2019-10-23T09:41:37
216,845,290
0
0
null
null
null
null
UTF-8
Python
false
false
5,854
py
#!/usr/bin/env python # -*- coding: utf-8 -*- # @Date : 2019/10/23 11:16 # @Author: yanmiexingkong # @email : yanmiexingkong@gmail.com # @File : result.py import requests def get_result(rid): """ 通过 rid 获取结果 :param rid: :return: """ url = "https://blast.ncbi.nlm.nih.gov/Blast.cgi" heade...
[ "yanmiexingkong@gmail.com" ]
yanmiexingkong@gmail.com
22adc91bac04f3122bc3818650680df04a0b2166
87d6009910b00a0b377f819e415b8ee5badacad1
/data/generate_data_humans.py
f738e681720d3983b5a02028e496a52ccd3c57e9
[ "MIT" ]
permissive
ThibaultGROUEIX/3D-CODED
a176d9017355a9013562a5f90fd4af79c2c918bd
7b28f2736edaaa1b2e6471d2acdc23e7e53de39c
refs/heads/master
2023-08-15T00:58:40.839499
2021-11-18T16:26:14
2021-11-18T16:26:14
137,830,527
328
54
null
2021-11-18T16:26:15
2018-06-19T02:31:35
Python
UTF-8
Python
false
false
8,642
py
import sys sys.path.append('/home/thibault/lib/smpl') import pymesh import numpy as np from smpl_webuser.serialization import load_model mesh_ref = pymesh.load_mesh("./template/template_color.ply") import cPickle as pickle import os def generate_surreal(pose, beta, outmesh_path): """ This function generation...
[ "thibaultgroueix@orange.fr" ]
thibaultgroueix@orange.fr
f73d1fe32098c5bf77b55cbe7ca232ff32b2a49a
1475fd4bf28de5647860e0d106af2b459e114ae9
/app/data.py
4f4330cf2270a5595071bd0221f3949856fc9bf6
[ "MIT" ]
permissive
snspam/sn_spam
66232942685d37dbbbb861d331ec52120034153a
e0bb8e9c843e26e5f4be8a49a960ebf7a0d5bfd5
refs/heads/master
2020-03-19T09:16:46.460571
2018-06-07T23:20:02
2018-06-07T23:20:02
136,274,192
0
0
null
null
null
null
UTF-8
Python
false
false
3,386
py
import pandas as pd class Data: data_dir = 'independent/data/' # public def __init__(self, generator_obj, util_obj): self.gen_obj = generator_obj self.util_obj = util_obj def get_rel_ids(self, dfs, domain='twitter', relations=[], sim_dir=None, exact=True): ...
[ "machinelearning7887@gmail.com" ]
machinelearning7887@gmail.com
84be4e8d39c28cb877ef19a7d621b0647ea40be7
b3ee3f3f1c5493770919bdfd39680d87be848b9b
/Week5/exist.py
2ba9d3ce55a12872028e78a8e46a3367f827ab60
[]
no_license
shubhrarajadhyaksha/Wallbreakers
ae3ef97454636ce068330fe10be9fef7ed58f099
e6f8f6045c1a4f60c6e719e88abacfb71d23e995
refs/heads/master
2020-06-08T03:14:03.160010
2019-09-02T20:21:33
2019-09-02T20:21:33
193,148,679
0
0
null
null
null
null
UTF-8
Python
false
false
999
py
class Solution: def exist(self, board: List[List[str]], word: str) -> bool: rows=len(board) cols=len(board[0]) index=0 l=len(word) def dfs(board,r,c,i): if i==l: return True if r<0 or r>=rows: return F...
[ "noreply@github.com" ]
shubhrarajadhyaksha.noreply@github.com
a3d0222fa8f4486519ffbbbe5c77ae4db0b06a79
ee6a6489bfc55cabebe8d975a8747a5334ca2ea2
/osc_liblo_server_simple_example.py
53f2372b70903c4842b5df87160b91c54c581480
[]
no_license
edwardsharp/python
291839fc3fe8e431c381454508a02b527dfdda1e
6340fdb68e5774f099a587d61c3970fa6b9cc412
refs/heads/master
2020-05-27T09:32:17.895850
2018-01-18T08:30:13
2018-01-18T08:30:13
4,568,105
0
0
null
null
null
null
UTF-8
Python
false
false
785
py
#!/usr/bin/env python from liblo import * import sys class MyServer(ServerThread): def __init__(self): ServerThread.__init__(self, 8000) @make_method('/1/multipush1/1/1', None) #my_callback(path, args[, types[, src[, user_data]]]) def l1_callback(self, path, args): # i, f, s = args ...
[ "edward@edwardsharp.net" ]
edward@edwardsharp.net
7d791803bd7703cce697c0a6fd02403ea830a060
e807fe527f6d763bf3dd260f3aa713c13b9c7123
/src/python/procyon/dump.py
cc2c72e0badd1f677fc06345d52680ed9178d640
[ "Apache-2.0" ]
permissive
orbea/procyon
082623058b7fcf18911756dded3f6894776a0062
469d94427d3b6e7cc2ab93606bdf968717a49150
refs/heads/master
2020-12-07T05:53:43.607616
2019-07-18T14:59:34
2019-07-18T14:59:34
232,649,374
0
0
Apache-2.0
2020-01-08T20:10:20
2020-01-08T20:10:19
null
UTF-8
Python
false
false
15,928
py
#!/usr/bin/env python3 # -*- coding: utf-8 -*- # # Copyright 2017 The Procyon Authors # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Un...
[ "sfiera@twotaled.com" ]
sfiera@twotaled.com
9efe79a16c6f27bddfc4536d573389398935b830
3b5d1a53af8d2f4094005f342403eabc7af9c980
/moderation_module/storage/logging_data.py
5f1eb3107e2c0a2e75844b5cbdd60700cde60414
[ "MIT" ]
permissive
alentoghostflame/StupidAlentoBot
daa828be3d47b24d3e13d500155a6a0d2019f724
c024bfb79a9ecb0d9fda5ddc4e361a0cb878baba
refs/heads/master
2021-06-30T17:50:14.997416
2021-06-08T03:54:24
2021-06-08T03:54:24
237,541,303
2
0
null
null
null
null
UTF-8
Python
false
false
387
py
from alento_bot import guild_data_transformer import logging import typing logger = logging.getLogger("main_bot") @guild_data_transformer(name="guild_logging_config") class GuildLoggingConfig: def __init__(self): self.toggled_on: bool = False self.log_channel_id: int = 0 self.exempt_chan...
[ "alexanderschoenhofen@gmail.com" ]
alexanderschoenhofen@gmail.com
c9538de673b65c0b29c54571c0b7394ae9b9485a
b772c1bfdf94886d06505a29053d8ff419f5b99f
/estudiantes/migrations/0001_initial.py
c379140b99b3a9a307d628b6c27a7c08cd091790
[]
no_license
dehivix/bot_algoritmos
54dfda89e1216559646eb92a6d176c06af40cec3
e9be630b4f771aab4ac3fa262888a1b677063849
refs/heads/master
2022-02-10T05:18:38.506667
2016-05-08T20:20:31
2016-05-08T20:20:31
43,855,581
1
0
null
2022-01-21T19:00:33
2015-10-08T01:43:12
Python
UTF-8
Python
false
false
1,687
py
# -*- coding: utf-8 -*- # Generated by Django 1.9.6 on 2016-05-06 22:27 from __future__ import unicode_literals from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): initial = True dependencies = [ ] operations = [ migrations.Creat...
[ "dehivis.oliver@gmail.com" ]
dehivis.oliver@gmail.com
6f361c7d8b2af01f6ee96c8df06630eaf5cef7f8
1929a989d1e2a5c5caabad32aa8baf4444250574
/h2o-py/tests/testdir_munging/pyunit_upload_large.py
3d4d69107d8603c202a6d6e94a6ae18df88df391
[ "Apache-2.0" ]
permissive
codelibs/h2o-3
9c417c0c6ee4ae9a6eaffe5a0373c0d78c37527e
cf96fb28da4732870a0d65c24f0d99f422d140d1
refs/heads/master
2023-05-27T10:04:14.408620
2023-04-28T18:16:48
2023-04-28T18:16:48
253,197,280
0
0
Apache-2.0
2020-04-05T09:22:41
2020-04-05T09:22:40
null
UTF-8
Python
false
false
772
py
from __future__ import print_function import sys sys.path.insert(1,"../../") import h2o import os import tempfile from tests import pyunit_utils def generate_large_file(path, size): with open(path, "wb") as f: f.seek(size-1) f.write(b"\0") assert size == os.stat(path).st_size def upload_larg...
[ "michalk@h2o.ai" ]
michalk@h2o.ai
8071db56a1faa459eccd4c3bfbd0c735f51f2c1e
6ace7e15e3191d1b8228ad7922a8552ca84f84e7
/.history/image_detector_20200614203341.py
2465a36001cd934f7bd739e37f170e75e719b85c
[]
no_license
mehmetaliarican/Similar-Image-Finder
f72e95be50c51aa03fc64954a03124b199ca64b1
a9e0015c443b4a73394099cccf60329cfc4c7cef
refs/heads/master
2022-10-27T00:57:43.173993
2020-06-14T18:02:16
2020-06-14T18:02:16
272,256,295
0
1
null
null
null
null
UTF-8
Python
false
false
2,485
py
from skimage.metrics import structural_similarity as ssim from imutils import paths import matplotlib.pyplot as plt import numpy as np import cv2 import glob import os import argparse ap = argparse.ArgumentParser() ap.add_argument("-t", "--threshold", type=float, default=0.9, help="threshold") ap.add_a...
[ "m.ali.arican@gmail.com" ]
m.ali.arican@gmail.com
baaa8e9d8ca5f90a4057aebc3b06ae714f72c8ef
f41b88669ebe05d58dfe93b69b42a2bddc0c01a1
/socket/tcp/sample.client.py
bb2966a918557ed214cf923371a675bdde3d33d7
[]
no_license
byfuls/python
69545b4623cb597086cc23b52f9648bb39765f76
a95bb96a5e09ebf5e3250e67c58a41e1d5a336b6
refs/heads/master
2023-04-21T03:43:09.080049
2021-05-14T05:00:05
2021-05-14T05:00:05
272,568,316
0
0
null
null
null
null
UTF-8
Python
false
false
545
py
import socket # 접속 정보 설정 SERVER_IP = '127.0.0.1' SERVER_PORT = 50000 SIZE = 1024 SERVER_ADDR = (SERVER_IP, SERVER_PORT) # 클라이언트 소켓 설정 with socket.socket(socket.AF_INET, socket.SOCK_STREAM) as client_socket: client_socket.connect(SERVER_ADDR) # 서버에 접속 client_socket.send('hi'.encode()) # 서버에 메시지 전송 msg = ...
[ "byfuls@gmail.com" ]
byfuls@gmail.com
6f927f95ffc8e9ede4b6ba26df040a784d1f5146
8f5cb19e9c6a0670100b4a4fbdbb892d94ccd4a8
/deployment/georegistry.py
5c1e240d6a6b964f6e177dd39a8f7f9b1dc6a607
[]
no_license
invisibleroads/georegistry
84438e680e56ac716f60d23784f05469c4888841
df56cc17b01a794bfbd53f354bb5fa9abeb420cc
refs/heads/master
2023-08-24T03:34:50.554375
2011-05-05T16:36:19
2011-05-05T16:36:19
966,680
1
2
null
null
null
null
UTF-8
Python
false
false
2,359
py
'GeoRegistry API Python wrapper' # Import system modules import urllib import urllib2 import simplejson # Core baseURL = 'http://georegistry.invisibleroads.com' def updateFeatures(key, srid, featureCollection, tags, public=False): 'Update features using the GeoRegistry web service' # Initialize url = ba...
[ "support@invisibleroads.com" ]
support@invisibleroads.com
ad6f6960cdbbc6c8f57b0490e1f141715f7b7a79
d7f8e70d67442463c221c8f011b9e5bfa36b2aaa
/student_api/models.py
fb33d301fe793ef806bb48e1b95013a73398e5b0
[]
no_license
BipinKalra/StudentAPI_Django
ea8484912ce4dc486c8c1a75ddc5c9424c4f31bc
f54ec45a159a21cc0aa8474b04d72c8b338d63d7
refs/heads/master
2022-05-03T04:25:13.311212
2019-09-09T17:01:52
2019-09-09T17:01:52
207,360,996
0
0
null
2022-04-22T22:18:57
2019-09-09T17:03:37
Python
UTF-8
Python
false
false
1,065
py
from django.db import models from django.core.validators import ( MaxValueValidator, MinValueValidator ) # Create your models here. class Student(models.Model): GENDERS = ( ("f", "female"), ("m", "male"), ("u", "Undisclosed") ) name = models.CharField(max_length = 100) roll_number = models...
[ "bipinkalra@gmail.com" ]
bipinkalra@gmail.com
de725320a63af209519b9a5e0ee804c2715c38e2
d0efb8180b17f12f032716663e9202ed664af34b
/Pintrest-Board-Download-Python3.py
98a16854171b702a64701d8dfbf435b64b7c9df0
[]
no_license
smjrifle/Pintrest-Board-Image-Downloader
d32dd7a645388aa8df46d59fe296693dc536ebca
9b15ee0e680a87c4e32c31f19d22f69e2f9099c2
refs/heads/master
2021-05-13T18:00:43.502937
2018-01-23T18:37:54
2018-01-23T18:37:54
116,846,587
1
2
null
null
null
null
UTF-8
Python
false
false
1,267
py
URL_String=input("Please enter your Pinterest board url {https://www.pinterest.com/username/board-slug}: ") from tkinter import filedialog FOLDER_URL=filedialog.askdirectory(title="Select the folder where you want to save the images: ") if FOLDER_URL=='': print('Folder not selected') exit(0) from lxml import ...
[ "smjrifle@gmail.com" ]
smjrifle@gmail.com
2988550f0019d72b5c3f9fc7a35abca539069ed6
e54c41eafc5132aba7dcfb62dae1a456e6065ad7
/parse_station.py
5192b302992adbcd09aa04068a84ec68a5dc1aee
[]
no_license
YJGit/12306-tools
69c3a3916fe5e7963955932d68a8958e4cb3be67
c5cfd3bba17806b0842b6fce088ccda1b68acb89
refs/heads/master
2021-05-12T06:03:25.961160
2018-01-12T08:27:09
2018-01-12T08:27:09
117,208,903
0
0
null
null
null
null
UTF-8
Python
false
false
471
py
import re import requests from pprint import pprint import urllib3 urllib3.disable_warnings(urllib3.exceptions.InsecureRequestWarning) url = 'https://kyfw.12306.cn/otn/resources/js/framework/station_name.js?station_version=1.9028' response = requests.get(url, verify=False) stations = re.findall(u'([\u4e00-\u9fa5]+)\|...
[ "18569095589@163.com" ]
18569095589@163.com
50f810b060440b87571481bdd02409e6fe2fea77
81ceba4abc00a43c6baa2057e278b9e35eae5d68
/EMS/migrations/0004_auto_20191026_1852.py
46b75f82193393ea213e977e977ef66ef5150e0b
[]
no_license
deveshd2k/clgproject
188815d20af52bb183a1cbabaf39427d8d1769d8
94532f46164ac30232cda8d03121cda89a301d3d
refs/heads/master
2022-12-18T06:22:20.430223
2019-11-16T11:58:37
2019-11-16T11:58:37
219,149,052
0
2
null
2022-12-08T06:48:46
2019-11-02T12:13:46
JavaScript
UTF-8
Python
false
false
450
py
# Generated by Django 2.2.6 on 2019-10-26 13:22 import EMS.models from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('EMS', '0003_auto_20191026_1848'), ] operations = [ migrations.AlterField( model_name='customuser', ...
[ "deveshkailay24@gmail.com" ]
deveshkailay24@gmail.com
d0028651862455ad29cc5783753b1f241f679938
4d7fd59810aad8bd63bbf8fcc2dbb1158009bdd0
/comprehensions-2020-05-18_13-22-57-956.py
a8e7d5a62a8a2b3bfbf8b8b8fcda4edc80c1151a
[]
no_license
doughbuoy/learning_python
0346ffd97c310a9bd4fec69c2d5958fb0fc71dcc
36816c2cb024b60366c5df0d4bf6e11d142e7ece
refs/heads/master
2022-12-04T05:57:44.301124
2020-08-28T00:44:41
2020-08-28T00:44:41
259,989,146
0
0
null
2020-08-28T00:44:43
2020-04-29T17:05:10
Python
UTF-8
Python
false
false
1,076
py
words = "On a dark desert highway Cool wind in my hair Warm smell of colitas Rising up through the air".split() lengths = [len(word) for word in words] print(words) print(lengths) # ALTERNATIVLY lengths2 = [] for item in words: lengths2.append(len(item)) print(lengths2) from math import factorial # creates a li...
[ "47123406+doughbuoy@users.noreply.github.com" ]
47123406+doughbuoy@users.noreply.github.com
70705d415f9f7e79293d2c40ed2115e5e1caff7c
149f3e5d26d9e6428a7d136e9753cae9d87afdb3
/mfscrm/crm/urls.py
8c71bd74590ba6aef890e41086bc945950a4e961
[]
no_license
bpeightal/MavFoodService
d628417b4ab2745008665dfc904c79c516c92b1d
df49b9147639e41194791ae8e4b2ae46e0610d01
refs/heads/master
2020-06-21T23:24:27.059553
2019-07-18T14:43:28
2019-07-18T14:43:28
197,577,208
0
0
null
null
null
null
UTF-8
Python
false
false
1,113
py
from django.conf.urls import url from . import views from django.urls import path, re_path app_name = 'crm' urlpatterns = [ path('', views.home, name='home'), re_path(r'^home/$', views.home, name='home'), path('customer/<int:pk>/summary/', views.summary, name='summary'), path('service/<int:pk>/edit/', ...
[ "bpeightal@unomaha.edu" ]
bpeightal@unomaha.edu
fcf372ccfafa7ce16d3ec5744829c5fc40edd1be
3c33d89e127d3f04b4232f22361919ce1f95e2e6
/ngremote.py
ce6aa4445bed5349f64efb80a0947b5f41443f5b
[]
no_license
kaevee/NgBackup
1277a4e6802a5b3b65481fa7017b51da03d035b6
2f3ec00f2374b5f4dd196425c57abff596954582
refs/heads/main
2023-08-24T00:52:10.107383
2021-09-28T03:13:16
2021-09-28T03:13:16
409,851,971
0
0
null
null
null
null
UTF-8
Python
false
false
4,766
py
from pathlib import Path import paramiko from paramiko import transport from paramiko.client import AutoAddPolicy, SSHClient from paramiko.rsakey import RSAKey from paramiko.ssh_exception import AuthenticationException, BadHostKeyException, SSHException import logging class NgRemote: host: str user: str po...
[ "kaevee@gmail.com" ]
kaevee@gmail.com
1d90eb564286440c993c0ed57142493085ad53ca
a33264b19fb5cf9388916713baebfeed635ed26a
/main.py
c7c4f1eb38ccd31b5b87c4f0728e4a1410a4d955
[]
no_license
LiangYuHai/DSTC-7
628713ac2cfe6ef7ae51dddad659b49941b1fba3
7d00eaed68b29d8673ab964609f82949f2972687
refs/heads/master
2020-09-11T01:27:45.246477
2020-01-06T05:50:49
2020-01-06T05:50:49
221,894,671
0
1
null
null
null
null
UTF-8
Python
false
false
3,978
py
import os import tensorflow as tf from Model import Model import pickle import numpy as np import sys from sklearn.metrics import classification_report import logging logger = logging.getLogger(__name__) logger.setLevel(level=logging.INFO) handler = logging.FileHandler("log.txt") handler.setLevel(logging.INFO) formatt...
[ "lyh20180204@163.com" ]
lyh20180204@163.com
878ddaf62f61de755b7fb4fef4624b7ecbf5a5d8
d442bfa7e1402c08ae15e9d1612fc6ed1d5b07b2
/detector/send_receive/test/njsp_tester2.py
bdfa36174868d485dd781638ae1406a87d09bc5c
[]
no_license
alex0sunny/Detector
098a59720e567166fe8a4432d912beea19020a77
281a060d8435fbaf52f86fc9ff25725657215fc4
refs/heads/master
2022-08-08T20:39:20.337239
2022-08-04T07:53:34
2022-08-04T07:53:34
210,623,771
0
0
null
null
null
null
UTF-8
Python
false
false
3,472
py
import logging import numpy as np from queue import Queue, Empty from time import sleep from matplotlib import pyplot from obspy import Stream, Trace, UTCDateTime from detector.send_receive.njsp.njsp import NJSP show_signal = True host = 'localhost' port = 10012 station = 'NDYY' sample_rate = init_packet = check_tim...
[ "perekhodovalexey@gmail.com" ]
perekhodovalexey@gmail.com
04b349165621c8e2ed4e9273c7f99f5570861329
1019c1afd3b8c4be7d1870499d3803a820a51f76
/nbayes/nbayes/urls.py
d1f8555cf8d60a30ad50c51ecfd5193e25aafd5e
[]
no_license
shunshun0904/django-apps
6f628ae02c0c3bb07eedd456f97d59787e7a7144
93e5851619a42eb90208ec3c1696aaa9b91f360b
refs/heads/master
2021-01-22T00:29:14.209775
2017-10-17T16:17:21
2017-10-17T16:17:21
102,188,772
0
0
null
null
null
null
UTF-8
Python
false
false
793
py
"""nbayes URL Configuration The `urlpatterns` list routes URLs to views. For more information please see: https://docs.djangoproject.com/en/1.11/topics/http/urls/ Examples: Function views 1. Add an import: from my_app import views 2. Add a URL to urlpatterns: url(r'^$', views.home, name='home') Class-bas...
[ "shun@nakamurashunnoMacBook-Pro.local" ]
shun@nakamurashunnoMacBook-Pro.local
2db16db5c0570084ec0dbb9abc064697f824fa90
f51aff57f826aeea1be21e2d0c03cce0adaadefc
/exp/utils/rand.py
70cd3809130978b9f18a56c77772c3f8afb2594d
[ "MIT" ]
permissive
zv5dmjq5/vivit
0a26f8b61e6f00da75fce7a9bbc75b0185ffea76
a05f448d1badb2db42e724c80676ce7e309194d2
refs/heads/master
2023-07-12T06:36:10.627912
2021-08-26T12:02:59
2021-08-26T12:02:59
370,409,161
1
0
MIT
2021-08-10T12:58:27
2021-05-24T16:00:04
Python
UTF-8
Python
false
false
1,198
py
"""Utility functions to control random seeds.""" import torch class temporary_seed: """Temporarily set PyTorch seed to a different value, then restore current value. This has the effect that code inside this context does not influence the outer loop's random generator state. """ def __init__(se...
[ "Anonymous" ]
Anonymous
c4bbdfd24d7948656571bd51d3470a828aa2441a
7343ddd703134c47bdbc0ee2dcf438c35aac580a
/python_for_image_processing_APEER-master/python_for_image_processing_APEER-master/tutorial35_denoising_using_NLM.py
a1fe4dcf62f82620cd4483e964207ba7b8c81af6
[]
no_license
MohamedMehery/Computer-vision-tutorial
a3686f8ca671e237cf87e717dfd6a8db9664c060
f25737b7d114ed63c6783a983fb82674f94fd14c
refs/heads/master
2023-01-01T15:58:02.439220
2020-10-17T11:37:39
2020-10-17T11:37:39
296,582,526
0
0
null
null
null
null
UTF-8
Python
false
false
1,723
py
#Video Playlist: https://www.youtube.com/playlist?list=PLHae9ggVvqPgyRQQOtENr6hK0m1UquGaG """ https://scikit-image.org/docs/dev/auto_examples/filters/plot_nonlocal_means.html Works well for random gaussian noise but not as good for salt and pepper https://www.iro.umontreal.ca/~mignotte/IFT6150/Articles/Buades-NonLoc...
[ "49691904+MohamedMehery@users.noreply.github.com" ]
49691904+MohamedMehery@users.noreply.github.com
be8e2c8714c19d0c40a4c4d30f0f27ad4db621a7
4221d0686153b599b7cf9edcd806a73253340887
/IMMonitor/wx/message/proxy.py
aa17d508c55cb9601a28d45fa962b7348d02da24
[]
no_license
taozi926494/IMMonitor
4e7e8a140003e817a85b553d27e27ae19e15527c
92b71c006cb30d88023a0c0510e31fd2b4e9a4ef
refs/heads/master
2020-04-26T15:35:59.048928
2019-03-11T04:29:07
2019-03-11T04:29:07
173,651,747
0
7
null
2019-03-12T03:02:49
2019-03-04T01:21:02
Python
UTF-8
Python
false
false
12,402
py
#!/usr/bin/env python # -*- coding: utf-8 -*- # @File : proxy.py # @Time : 2018-12-12 10:23 # @Software: PyCharm # @Author : Taoz # @contact : 371956576@qq.com # 微信消息相关请求代理 import base64 import io import json import random import re import time import xml import requests from flask import session from pyqrcode...
[ "371956576@qq.com" ]
371956576@qq.com
f7541475b3be841d31e189cb3c9fdf1758902cb0
899535934b21c2afbbf00d85ee73e05df5dff876
/wisdompets/settings.py
70aff8427aa16971b8c237438a4f390456492da2
[]
no_license
YousefKJM/Wisdompets-Django-Web-App
b29c71978ce85f1342e9d01b878b105e3bc5d5ed
aca3484256a1a77acf26e10da2358fd28006aa6a
refs/heads/master
2021-02-27T14:27:03.493629
2020-04-13T20:48:43
2020-04-13T20:48:43
245,612,348
0
0
null
null
null
null
UTF-8
Python
false
false
3,198
py
""" Django settings for wisdompets project. Generated by 'django-admin startproject' using Django 3.0.4. For more information on this file, see https://docs.djangoproject.com/en/3.0/topics/settings/ For the full list of settings and their values, see https://docs.djangoproject.com/en/3.0/ref/settings/ """ import os...
[ "uaso0of056@gmail.com" ]
uaso0of056@gmail.com
5268cff948f9c48f0fd6138032a6afd729243dd6
2a6412a9359a1df5f8f12e319e73b9e4e46fd64c
/specializedSubjects/AlgorithmII/dijkstra_ON2.py
f7130f780bcfbbcb7e2864c816bf76de51c44942
[]
no_license
danganhvu1998/myINIAD
504d1147a02f12e593f30e369daf82f85aa01bfd
01547673dd3065efb6c7cc8db77ec93a5a4f5d98
refs/heads/master
2022-03-17T12:58:34.647229
2022-02-08T06:34:19
2022-02-08T06:34:19
143,675,719
1
4
null
null
null
null
UTF-8
Python
false
false
770
py
import networkx as nx import matplotlib.pyplot as plt def get_min(D, X): arg_min= -1 min_value= float('inf') for i in range(len(D)): if D[i] < min_value: if i in X: arg_min= i min_value= D[i] return arg_min def dijkstra(src, G): D= [float('inf')...
[ "danganhvu1998@gmail.com" ]
danganhvu1998@gmail.com
d891dab2b005529ae77978248f4f5b948a30095b
87062d04d0de4effcd76ff88b80906da582a0be9
/project3/app/login_helper.py
95d5af2e8b263e05674fc3a85fb6c7211212251c
[]
no_license
ohheydom/udacity_projects
16fedb4cc490a6884109a568c7d3620a71167af5
b795891f558e782b4092a49602039c5f209024ac
refs/heads/master
2021-01-10T23:04:06.959236
2016-10-31T14:30:42
2016-10-31T14:30:42
70,427,820
0
0
null
null
null
null
UTF-8
Python
false
false
810
py
import hmac import string import random import hashlib SECRET = '?e@7[!{+w$)W<s4Z)ENTzfWZ-K#fK.LR' # Hashing helper methods def build_salt(length=5): return ''.join(random.choice(string.letters) for _ in xrange(length)) def build_password_hash(username, password, salt=None): if not salt: salt = build...
[ "ohheydom@gmail.com" ]
ohheydom@gmail.com
69164bbea98c02532b7343c5e57bd6723e642a62
758ba574aa10ae67214a1116808e2f8e3ee43449
/prac_04/list_comprehensions.py
9b2e2ed38d21cfc986339f75d77a517cd5d99163
[]
no_license
app-1/Practicals
d2d5bb44cec8c5516b6e1ec650db920d21d307ef
64e54e8ae299add47f8b3593d4cae8be098f81c7
refs/heads/master
2021-01-19T18:25:24.857704
2017-09-13T03:43:39
2017-09-13T03:43:39
101,135,228
0
0
null
null
null
null
UTF-8
Python
false
false
1,175
py
""" CP1404/CP5632 Practical List comprehensions """ names = ["Bob", "Angel", "Jimi", "Alan", "Ada"] full_names = ["Bob Martin", "Angel Harlem", "Jimi Hendrix", "Alan Turing", "Ada Lovelace"] # for loop that creates a new list containing the first letter of each name first_initials = [] for name in names...
[ "appianinobiri@gmail.com" ]
appianinobiri@gmail.com
f841a6d78d2ca8e726c6e9843c80a73b250420e9
27c53a4ae22c17a2bed24ed0b4d46583b8feff64
/numpy_exercise.py
97ecab6f660314df8d56eceb899b67638388bfe3
[]
no_license
yscho224/numpy
5ccc4f5bfdc75a395bc1e2ac67310ba32a68b2ab
eb336a5379c1bd578943316ac23949ca00b75009
refs/heads/main
2022-12-19T18:35:23.107858
2020-10-07T06:47:30
2020-10-07T06:47:30
301,658,830
0
0
null
null
null
null
UTF-8
Python
false
false
553
py
''' use NumPy random-number generation to create an array of twelve random grades in the range 60 through 100, then reshape the result into a 3-by-4 array. Calculate the average of all the grades, the averages of the grades for each test and the averages of the grades for each student. ''' import numpy as np ...
[ "noreply@github.com" ]
yscho224.noreply@github.com
0253f89a91fb0b17bcc6d9619da3aa727880d474
04d191ecce6071515d9ad97878289d101062cab7
/Contur.py
e3d87fc55518437b2aeba58cd8116a5dd64a6ffe
[]
no_license
Alloyer/Physics
1133256014885f816f2311aca55dccf8eb435926
10f514420287931d31b31e9069326f552d54edea
refs/heads/main
2023-04-22T06:34:39.498362
2021-05-09T17:37:34
2021-05-09T17:37:34
365,811,377
0
0
null
null
null
null
UTF-8
Python
false
false
3,226
py
from math import * import matplotlib.pyplot as plt import numpy as np ### CONSTANTS ### c = 299792458 # m/s k_B = 8.617333262 * pow(10, -5) # эВ * К^-1 m = 15.994915 # аем T = 1000 # К lambda_S0_CONST = 6.62 * pow(10, -6) ...
[ "alexeygruntov@yandex.ru" ]
alexeygruntov@yandex.ru
6654106ee8d717fd2879ea22d95e5b2fa3248d24
64490a017504e76b12e22024a40ec782ea6b00a4
/application/Movie.py
a8070db80185cc9fc38b44c9e0453e2724416cb3
[]
no_license
mihaitopan/MovieRecommenderSystem
b0ee9400dfeecc2669bfb1ba4def7b9cc113533a
8377ebcf5a40b4f6195e3dc94828e4e4a36d3c0b
refs/heads/master
2020-03-20T04:42:52.479942
2018-06-24T18:59:55
2018-06-24T18:59:55
137,192,398
0
1
null
2018-06-24T18:59:55
2018-06-13T09:18:57
null
UTF-8
Python
false
false
365
py
class Movie: def __init__(self, movieId, title, genres): self._movieId = movieId self._title = title self._genres = genres def getMovieId(self): return self._movieId def getTitle(self): return self._title def getGenres(self): return self._genres d...
[ "mtopan@bitdefender.com" ]
mtopan@bitdefender.com
f6b95860f10c9325ec94d3af1b593bc00be03155
96f76dc8e634c4e9324168c163f098ec27d431a0
/decaf_PA3/TestCases/S3/output/q5-array-test3.tac
a7b3524e0745bb28deb5fc97d16819cbac615eca
[ "MIT" ]
permissive
joker452/Decaf-compiler
8e452a8d1f2a4584df7cdf3feb694e87f6333afb
4f81dbd3d049245af8a8cb7234db7792ca57e61a
refs/heads/master
2020-08-05T11:24:19.679494
2019-10-03T02:23:52
2019-10-03T02:23:52
212,482,043
2
0
null
null
null
null
UTF-8
Python
false
false
1,860
tac
VTABLE(_Father) { <empty> Father _Father.foo; } VTABLE(_Child) { _Father Child _Father.foo; } VTABLE(_Main) { <empty> Main } FUNCTION(_Father_New) { memo '' _Father_New: _T1 = 8 parm _T1 _T2 = call _Alloc _T3 = 0 *(_T2 + 4) = _T3 _T4 = VTBL <_Father> *(_T2...
[ "dbw15@mails.tsinghua.edu.cn" ]
dbw15@mails.tsinghua.edu.cn
62f8f6e45e2c8fa0b96b0ee822ef9e2ee1a0d83b
44a7b4879c1da661cc2e8aa51c7fcc24cfb0fd3b
/src/scs_core/osio/manager/user_manager.py
f14e3e70118f2019ef5dd083551e6ca93ec113de
[ "MIT" ]
permissive
seoss/scs_core
21cd235c9630c68f651b9a8c88120ab98fe5f513
a813f85f86b6973fa77722a7d61cc93762ceba09
refs/heads/master
2021-08-08T08:09:56.905078
2020-04-16T19:46:52
2020-04-16T19:46:52
156,239,538
0
0
null
null
null
null
UTF-8
Python
false
false
2,315
py
""" Created on 21 Mar 2017 @author: Bruno Beloff (bruno.beloff@southcoastscience.com) """ from scs_core.osio.client.rest_client import RESTClient from scs_core.osio.data.user import User from scs_core.osio.data.user_metadata import UserMetadata # ---------------------------------------------------------------------...
[ "bruno.beloff@southcoastscience.com" ]
bruno.beloff@southcoastscience.com
4548ef21e9b08582379456e8ad9027209ec11034
b816b149247b395e2df5c32fe0c33557f5bc4224
/Unified SL-RL/joyStickExamples/Joy_Test.py
70ec418d7146a14aa8e85a0f5ab7bab67983d369
[]
no_license
NiklasMelton/research_code
490683d979159fb77b540e016200d09912c4e1e6
9bc3bfc5dfd7c7b1741d91d31f940c19aff6a677
refs/heads/master
2021-01-09T20:41:09.010564
2016-07-01T22:07:27
2016-07-01T22:07:27
62,421,676
0
0
null
null
null
null
UTF-8
Python
false
false
827
py
#joyTest import pygame, sys pygame.init() size = width, height = 1000, 600 screen = pygame.display.set_mode(size) font = pygame.font.SysFont("Comic Sans MS", 12) pos = [int(width/2),int(height/2)] joystick_count = pygame.joystick.get_count() my_joystick = pygame.joystick.Joystick(0) my_joystick.init() while True: ...
[ "niklas melton" ]
niklas melton
a645386e0c34474857014299151a5d45a2ce0535
b8115bc7503581bf3bb44bfa87b270793aff4381
/ddsp/training/data_preparation/ddsp_prepare_tfrecord.py
f7a4c0f3576f5ff085e50c33af5f4a887ed246f2
[ "Apache-2.0" ]
permissive
pollinations/ddsp
7a5cfd18efcd8a77729d26231d294a4c03c2d286
4bbb3b1b0aa9e9a4c1f77e8758f409cbd1ec03f7
refs/heads/main
2023-06-21T18:21:37.230721
2021-07-22T09:45:54
2021-07-22T09:45:54
388,399,770
0
0
Apache-2.0
2021-07-22T09:14:11
2021-07-22T09:14:10
null
UTF-8
Python
false
false
3,340
py
# Copyright 2021 The DDSP Authors. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in wri...
[ "no-reply@google.com" ]
no-reply@google.com
a02fe7d684c93e479473a43170637acca1d3c53d
11db9251522c2c3850dee4495ee66e8a969b051d
/facedetectcam.py
59cd14e7a2ebbd537a03610d49278503724e7752
[]
no_license
RayDragon/Opencv-Face
7b496797e15ac84b7315d367135b9d1b26d33242
b2b8ef7d2eedf68ebef6779b5bfb5704dee2b181
refs/heads/master
2021-07-18T16:33:50.860004
2017-10-25T02:05:54
2017-10-25T02:05:54
108,206,829
0
0
null
null
null
null
UTF-8
Python
false
false
561
py
import cv2 camera = cv2.VideoCapture(0) cascade = cv2.CascadeClassifier("FDM/haarcascade_frontalface_default.xml") while True: retval, pict = camera.read() faces = cascade.detectMultiScale(pict,scaleFactor=1.1,minNeighbors=5,minSize=(30, 30),flags=cv2.CASCADE_SCALE_IMAGE) for (x, y, w, h) in faces: ...
[ "govind.resarch0000@gmail.com" ]
govind.resarch0000@gmail.com
b82ca425bb35c94f7141a7d5fb59cbea3e9c59b2
3194b35e8a93cf708f262dcf1cb070da330fc6a7
/flaskr/blog.py
3223c14b48527aefb0b290f5850897e4ee20bd8b
[]
no_license
monkeysh1ne/flask-tutorial
2235014068a4bf9dd3fdd4119883ade2d0578fd0
06a5145714f93a3540e98f0d9daa26b4afd73d1e
refs/heads/master
2020-09-07T07:28:23.106552
2019-11-15T05:56:01
2019-11-15T05:56:01
220,682,389
0
0
null
null
null
null
UTF-8
Python
false
false
2,608
py
from flask import ( Blueprint, flash, g, redirect, render_template, request, url_for ) from werkzeug.exceptions import abort from flaskr.auth import login_required from flaskr.db import get_db bp = Blueprint('blog', __name__) @bp.route('/') def index(): db = get_db() posts = db.execute( 'SELECT...
[ "mcdoob@gmail.com" ]
mcdoob@gmail.com
8ae9d30226f0b7472a646d8cbb5938c465c681c6
cdc8c21405aec6c823c43ea65239bb0e860a6b6f
/setup.py
687a65aa8c3b54281b88b2444c4b79f9281be427
[ "Apache-2.0" ]
permissive
antonini/TRX
ae8b4f4b77f702ccdb3571632ba3f27a5769628b
a66ed83f95e3597c89a02193179913e983065ff2
refs/heads/master
2021-01-12T12:50:14.468959
2016-09-22T19:26:46
2016-09-22T19:26:46
null
0
0
null
null
null
null
UTF-8
Python
false
false
475
py
try: from setuptools import setup except ImportError: from distutils.core import setup config = { 'description': 'TRX', 'author': 'Kyle Maxwell, based on Paterva\'s library', 'url': 'https://github.com/krmaxwell/TRX', 'download_url': 'https://github.com/krmaxwell/TRX', 'author_email': 'krma...
[ "kmaxwell@verisign.com" ]
kmaxwell@verisign.com
dca5f0f92983189cae3d3cb56061ba96de3d20d2
bc0c70345e42332d0d79a552f0ea2702c5080914
/recommendation/api.py
666a6fccfad42d99f2c0039210b394bb8a53469d
[]
no_license
rozig/nutrition-calculator
603b5609b17e562b7bd351e79f85c0f485f0fe45
45a36c21150899723b1adad767454a40827a1616
refs/heads/master
2021-03-22T04:32:12.139535
2017-01-04T02:00:21
2017-01-04T02:00:21
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,753
py
# -*- coding: utf-8 -*- from django.shortcuts import render, redirect, render_to_response from django.contrib.auth.decorators import login_required from django.contrib.auth import authenticate, login from django.http import HttpResponse from django.http import JsonResponse from datetime import date from .models impor...
[ "the.ganzorig25@gmail.com" ]
the.ganzorig25@gmail.com
dafd4470eabf9ab2496e9006e235388f265a48d7
1a5db9481bdb6711af937a0ae647a2cf65d55191
/2020/Day 5/Part 1.py
effc15a669adbb54912ff838a2b252d1530e2b93
[]
no_license
Danny213123/Advent-of-Coding
5ef76f71f998ea3f8e46d361fe073f2f2b2d6d77
0b7b1b6b6ae431dd5b341e871ec7749a9e370451
refs/heads/main
2023-01-29T00:06:06.822021
2020-12-14T13:46:43
2020-12-14T13:46:43
317,964,154
0
0
null
null
null
null
UTF-8
Python
false
false
548
py
import math rowid = 0 for x in range (945): k = input() row, col = 0, 0 min2, max2 = 0, 7 min, max = 0, 127 for y in range (len(k) - 3): if (k[y] == "F"): max = math.floor((max + min) / 2) elif (k[y] == "B"): min = math.ceil((max + min) / 2) row = max for d in range (len(k) - 3, l...
[ "noreply@github.com" ]
Danny213123.noreply@github.com
aeab9d49d772c2d77f897b4369b6a216e4f2c638
99a5f8d01c0219a1883bb4b06fd8c7c04a43b0ee
/src/main.py
bce9ba1b4b099c9ea3abe8d8fec0ef1bb8879b3a
[]
no_license
ElenaCerezoSwing/kaggle_competiton
ec973a41a4091d66308a5471de4bf5a9dc9f671d
a3626ae6ae558e1b9d20d596903bef9b508107b3
refs/heads/master
2020-08-11T22:32:33.791285
2019-10-12T21:56:56
2019-10-12T21:56:56
214,640,072
0
0
null
null
null
null
UTF-8
Python
false
false
1,551
py
from data_tasks import load_train_data, load_test_data, save_data, get_dataframe_copy from cleaning import get_cleaner_data, get_random_forest_cleaner_data from assign import assign_X_y, get_splitted_train_test, assign_y_to_submitted from modelize import get_linear_regression_model, get_k_neighbors_model, get_ridge_mod...
[ "elena.cerezo.ibanez.contractor@bbva.com" ]
elena.cerezo.ibanez.contractor@bbva.com
3bbfd86396dc378104b0ad258757a4707150a004
fca6dcc1fbb1acc698ee21599c0a3f7abbff36b9
/5. Additional materials/contextmanager.py
be0d7a54b8a048f679459bf68601fefbcbc4423d
[]
no_license
megaes/CGScripting
69b1a62aecd72e489a7535c36e1301c51df2b5e1
c7cc3a11c479e1a8e0ef9d17abeaa6e3804986f9
refs/heads/master
2021-09-21T19:26:57.914055
2018-08-30T17:35:32
2018-08-30T17:35:32
null
0
0
null
null
null
null
UTF-8
Python
false
false
457
py
import time """The file will be closed automatically""" with open('c:/file') as f: print f.read() """This class can be used with a context manager: some actions will be done before and after the main action""" class timer(object): def __enter__(self): self.t = time.time() def __exit__(self, exc_...
[ "aerpyljov@gmail.com" ]
aerpyljov@gmail.com
f0314427b5fc397267fc0589358f06e65ed0710d
afa287d9c6e0a4e3a556fc23d444ad2130a05120
/HW07/generate.py
5d1d7820978a0970dbd51156692093e32221f37f
[]
no_license
zhangzhy52/cs759-High-Performance-Computing
ef0270ded30070245294279e52b31f4e9f64f9d7
e1c2299607e140c1008852556f457eb984ad8eb7
refs/heads/master
2021-09-03T19:25:56.910529
2018-01-11T11:52:45
2018-01-11T11:52:45
109,479,190
3
1
null
null
null
null
UTF-8
Python
false
false
429
py
import numpy as np def arrToFile (filename, array): nrows, ncols = array.shape f = open(filename , 'w') for i in range(nrows): for j in range(ncols): f.write (str(array[i,j]) + "\n") f.close() if __name__ == '__main__': A = np.random.random_integers (-10, 10, size = (16,32)) b = np.random.random_integer...
[ "zhangzhenyu52@gmail.com" ]
zhangzhenyu52@gmail.com
20a501ad1afd7a17f50785678b12fba3bf55851b
8f65f9232208921ec2645b11ec62e6b1b958e32e
/catalog/urls.py
94946ba9eb3fc834165642047fde1e9269b9d830
[]
no_license
jdalzatec/Learning-Django
ca8a11c8a25841ed09b318e00ea8d7a1b0a586dc
e6ae2080fddb7bea1c4a7f3a24732d4896100592
refs/heads/master
2020-03-26T13:26:22.363870
2018-08-22T05:30:46
2018-08-22T05:30:46
144,939,145
0
0
null
null
null
null
UTF-8
Python
false
false
1,164
py
from django.urls import path from . import views urlpatterns = [ path('', views.index, name="index"), path('books', views.BookListView.as_view(), name="books"), path('book/<int:pk>', views.BookDetailView.as_view(), name='book-detail'), path('authors', views.AuthorListView.as_view(), name="authors"), ...
[ "jdalzatec@unal.edu.co" ]
jdalzatec@unal.edu.co
8e1fb53a12cc8169be23e1cdcdc37884cdf551ec
a6cbc03780b5c390f4f8ce9063bd8a7f6d75e8aa
/mail2.py
1c0dfcd906c6beffc8d5efcafb1c822ea969e238
[]
no_license
KimaruThagna/Email_and_Regex
5f825554bd17e56ff091a79187c5ab7a758960d9
c250e37d6e09f1a9c35fb6af873ff1c77707a8fd
refs/heads/master
2021-09-06T11:59:04.784389
2018-02-06T12:16:58
2018-02-06T12:16:58
110,789,925
2
1
null
null
null
null
UTF-8
Python
false
false
1,992
py
#This example still uses gmail but this time includes an attachment import os,smtplib from email.mime.text import MIMEText from email.encoders import encode_base64 from email.mime.multipart import MIMEMultipart from tkinter.filedialog import askopenfilename from email.mime.base import MIMEBase # function that sends the...
[ "thagana44@gmail.com" ]
thagana44@gmail.com
d5ab6e2c2301fa7c2de21056b961275cd20e463d
840b98f14f181f7dbd693f2ee4b3c46e5be59305
/demos/demo_pycloudmessenger/POM1/NeuralNetworks/pom1_NN_worker_pycloudmessenger.py
3bb1b70be16f54c7404843da2a380711222b695e
[ "Apache-2.0" ]
permissive
Musketeer-H2020/MMLL-Robust
4ef6b2ff5dff18d4d2b2a403a89d9455ba861e2b
ccc0a7674a04ae0d00bedc38893b33184c5f68c6
refs/heads/main
2023-09-01T18:47:46.065297
2021-09-28T15:34:12
2021-09-28T15:34:12
386,264,004
0
0
null
null
null
null
UTF-8
Python
false
false
7,786
py
# -*- coding: utf-8 -*- ''' @author: Marcos Fernandez Diaz November 2020 Example of use: python pom1_NN_worker_pycloudmessenger.py --user <user> --password <password> --task_name <task_name> --id <id> Parameters: - user: String with the name of the user. If the user does not exist in the pycloudmessenger...
[ "rober.diaz@gmail.com" ]
rober.diaz@gmail.com
405861d4482cedf6d0dcaa32d21b8a8bff19a759
97de3ec78108f9380e78237b9a582f1fc697d199
/cgi-bin/login.py
8e0b0402c55a16b4317a81f60445d43e46f6409e
[]
no_license
siddartha19/Login-Form
50706921c18987a9d996ba74f20b3bb90691b287
535915d859352c5be0bdc7b04be2fd242a374360
refs/heads/master
2020-03-31T21:18:13.298939
2019-02-05T14:34:45
2019-02-05T14:34:45
151,095,668
0
0
null
null
null
null
UTF-8
Python
false
false
373
py
import cgi import sqlite3 print("Content-type:text/html\r\n") form = cgi.FieldStorage() un= form.getvalue("un") up = form.getvalue("pwd") if un=="chandu" and up=="519": print("<script>window.location.href='http://localhost:8000/test.html';</script>") else: #if un=="chandu": # print("WRONG PASSWORD") #else: ...
[ "gsiddartha01@gmail.com" ]
gsiddartha01@gmail.com
529e64afce996323c0964b1bbdce4a74e5087754
cbe75aea42763c465cc5d1e6ca8ed95889fead79
/Aleyxkashan.py
391b86688cc00535cc186fd29cab27899f0b837c
[]
no_license
aleykashanbrand/aleyxkashan
bc9428e10f1f0dfe481f98b5a860ca3d3ddc1eba
4e3648e3ea89718f307d0d9343a83a67db6c2d4e
refs/heads/main
2023-06-15T15:32:23.236165
2021-07-06T07:19:59
2021-07-06T07:19:59
383,375,448
0
0
null
null
null
null
UTF-8
Python
false
false
28,406
py
#!/usr/bin/python2 #coding=utf-8 import os,sys,time,datetime,random,hashlib,re,threading,json,urllib,cookielib,requests,mechanize from multiprocessing.pool import ThreadPool from requests.exceptions import ConnectionError from mechanize import Browser reload(sys) sys.setdefaultencoding('utf8') br = mechanize.Browse...
[ "noreply@github.com" ]
aleykashanbrand.noreply@github.com
c41fbd8fb280c104bb9a6dbd7dccac03142c3685
91c314460f7fac42e1198b9fef2978bdadd3d214
/test_proj3/test_proj3/urls.py
26987996903456a63db0bf51e626d1de1a259cad
[]
no_license
g-merrill/proj3-test-repo
f03d136fd695dddcb257cd9f636d9c7ed727ee9d
5e9235b7d55539e775fe07d87a60a91552195b9a
refs/heads/master
2020-07-23T18:41:47.575956
2019-09-10T22:33:37
2019-09-10T22:33:37
207,670,599
0
2
null
2019-09-10T22:33:38
2019-09-10T21:59:21
Python
UTF-8
Python
false
false
752
py
"""test_proj3 URL Configuration The `urlpatterns` list routes URLs to views. For more information please see: https://docs.djangoproject.com/en/2.2/topics/http/urls/ Examples: Function views 1. Add an import: from my_app import views 2. Add a URL to urlpatterns: path('', views.home, name='home') Class-ba...
[ "nyantsa.rajaonarison@gmail.com" ]
nyantsa.rajaonarison@gmail.com
c54ee5782b49ba10185b84a0833b690133e6e82f
e6647877270c955ddd6fe6318cc9763b9e531615
/F2C.py
285121d8fb3df547694a36425517e2f4ad1cf121
[]
no_license
Atticakes/Portfolio
a4dbfad79203e808c5fa7fab412d22843254d183
8115eb9661556dac5026715f2bdc6a5e9e262d23
refs/heads/master
2021-01-13T00:55:46.609781
2016-03-21T01:46:06
2016-03-21T01:46:06
52,247,800
0
0
null
null
null
null
UTF-8
Python
false
false
389
py
#T(°C) = (T(°F) - 32) × 5/9 print "Hello, I am a temperature converter." fahrenheit = int(raw_input("Please provide me with the Fahrenheit reading:")) print "Thank you!" print "I will not do some maths to convert",fahrenheit,"to Celsius." print "Celsius =",fahrenheit,"- 32) x 5/9" celsius = (fahrenheit - 32) * (5/9) ...
[ "atticus.dassin@gmail.com" ]
atticus.dassin@gmail.com
95986ae73d179770f7292b38dbaaf00b540d68bb
67ecf1aca10c6b3504027edc131d3f295a66ae08
/00-deleteintreeview.py
d3e2d07a7e5d08d4338fd394ee4a32966af7637f
[ "MIT" ]
permissive
UncleEngineer/TkinterTrick
5efa58dee8612d48d18040debe7868c6b5815e3c
471a5f4906ddad195731410e9df1a2b35f466fcb
refs/heads/master
2020-03-16T09:57:28.696335
2018-06-22T10:23:39
2018-06-22T10:23:39
132,626,504
1
0
null
null
null
null
UTF-8
Python
false
false
1,029
py
from tkinter import * from tkinter import ttk root = Tk() tree = ttk.Treeview(root) tree["columns"]=("one","two") tree.column("one", width=100 ) tree.column("two", width=100) tree.heading("one", text="coulmn A") tree.heading("two", text="column B") tree.insert("" , 0, text="Line 1", values=("1A","...
[ "noreply@github.com" ]
UncleEngineer.noreply@github.com
59e0a98241e7bc62282bfca078e754e048389113
5b5efaaa9ca73cd67dc032c654f8aa402ebb9cc7
/jhu-code/Cryptology/merklehellman.py
0f22a0b78d3b9053e0a8a8819604c33c97fb01a9
[]
no_license
shellsharks/assorted
5fa00cbfac49bcf3db3f15f622ce68ded615993f
d20a3d2069837c18e1da9ac013eaad1f1744c316
refs/heads/master
2022-09-17T11:48:36.233633
2022-08-15T14:11:58
2022-08-15T14:11:58
190,086,937
6
3
null
2023-07-27T21:30:38
2019-06-03T21:47:20
Java
UTF-8
Python
false
false
765
py
M = 2647 W = 1036 ciphertext = [6368,7879,2050,1745,2714,3439,4007,4680,4246,2450,7501] A = [3,5,11,20,41,83,165,329,662,1321] ''' B = [] def calcB(a): for x in a: B.append((W*x)%M) calcB(A) print(B) ''' def modInverse(a, m) : a = a % m; for x in range(1, m) : if ((a * x) %...
[ "michaeltsass@gmail.com" ]
michaeltsass@gmail.com
322d4d98c58a100b1d7db231f1dbea4fe7ad8180
0a47474366d60323c683b83e2224d409701b9e34
/core.py
a7d8208fb94b70790fe825b246543ae03cc235d1
[]
no_license
AdriCabSan/VisionBoard-API
77b74a01109ca6f83fb53066f5c62e6ffb1f67bf
f43336b1e19b5b4512fae2897bf184235bec5ef5
refs/heads/master
2020-06-18T19:57:24.695954
2019-07-12T17:16:17
2019-07-12T17:16:17
196,427,521
0
0
null
2019-07-12T14:33:29
2019-07-11T16:12:06
Python
UTF-8
Python
false
false
1,122
py
from flask import Flask from datetime import datetime from Slack import SlackMessenger from Trello import VisionTrello app = Flask(__name__) @app.route("/") def home(): return "Hello, Flask!" @app.route("card/") def getPointsOfCard(card_name, open_character, closed_character): return VisionTrello.get_points_...
[ "adriancabsan98@gmail.com" ]
adriancabsan98@gmail.com
f39ddf34b551cffbf5f5682a315080605920917c
baad77465c6470247b6a00736aed1442ae084249
/ui/constants.py
7d581348506bb09a22422a2a348794773972adfd
[ "MIT" ]
permissive
yiluzhu/arbi
03d5d3bbc32bb7def7e9ae84ff174677fd371cf6
5b141e981547341dcb32e730f058da567731ebed
refs/heads/master
2020-03-11T05:15:13.999035
2018-04-16T20:14:53
2018-04-16T20:14:53
129,797,314
4
1
null
null
null
null
UTF-8
Python
false
false
40
py
ENGINE_INSPECTOR_UI_REFRESH_INVERVAL = 5
[ "noreply@github.com" ]
yiluzhu.noreply@github.com
60b4bc818f8aeec5c6472c707d341e83ee9e4bab
d43de3e1133190f3e18803fd6046459bb0553b38
/best_test.py
8d4a62a7111849fcc3f06b491ffe7e64826abbb2
[ "MIT" ]
permissive
mkazmier/best-test
5274d9848347581c7b9527d8f973f29b5a32807f
d1d8897055f543da7ec67cb579ca9092604cdb56
refs/heads/master
2021-07-07T11:33:35.070691
2017-10-03T11:00:28
2017-10-03T11:00:28
null
0
0
null
null
null
null
UTF-8
Python
false
false
6,385
py
import pymc3 as pm class BayesianDifferenceTest: """Perform a Bayesian test for difference of means and standard deviations between two samples. Inspired by the classic BEST paper by Kruschke. """ def __init__(self, param_a_name, param_b_name, mu_mean, mu_sd, sd_lower, sd_upper, nu_mean): ...
[ "mkazmierski.poznan@gmail.com" ]
mkazmierski.poznan@gmail.com
62e27de6af0b88d2d51e7df695b6b24b7bacf167
cdcbfae0fda98917bd18e14f72d92aa801af6f74
/class_samples/2-5_userinput/input.py
458781cb83dfcfd849cc1795497ba15c19112881
[]
no_license
BiradaterA/lps_compsci
e67c5ef68f81035290383903b78adf48e45e9689
f058043d14b71e62e5a9d0e70841711de5ebbe78
refs/heads/master
2020-12-24T12:00:40.576839
2017-04-30T22:57:47
2017-04-30T22:57:47
73,103,783
0
1
null
null
null
null
UTF-8
Python
false
false
395
py
# First one for hw print("How old are you?") age = int(raw_input()) + 10 print("In ten years you will be " + str(age) + " years old") # Second one print("How much does it cost you for a coke?") price = raw_input() print("How many Cokes will you drink today?") amount = raw_input() x = int(price) * int(amount) print(...
[ "rc.adarkwah.biradater@leadps.org" ]
rc.adarkwah.biradater@leadps.org
769544d72d4133cfda273b9299d86d755a66af8d
ed0ae2e865211ef932b519ece7f243134b34dd6b
/etl/views.py
d349ce6a1bac41385d163051d2a4936e9b04beaf
[ "MIT" ]
permissive
vahana/etl
f21c2674bfa17c30a7492260841160f689539dd4
d76e6f975850dc286a22ba2afb22416a6b35cf33
refs/heads/master
2023-03-10T08:34:58.752529
2021-02-23T21:00:28
2021-02-23T21:00:28
270,042,567
0
0
null
null
null
null
UTF-8
Python
false
false
182
py
import logging import prf from jobs.views import BaseJobView from jobs.etl import ETLJob log = logging.getLogger(__name__) class ETLJobView(BaseJobView): _job_class = ETLJob
[ "aivosha@gmail.com" ]
aivosha@gmail.com
d81e5b4cac4a3d420bf1a4c78a385832a70ea509
c7691adc85632e20c8bd0c7f031e5cfde34f2456
/Carry/mysite/sub_client.py
6da519ef9f1f1a619c0b4e0db35136662d86e22e
[]
no_license
hunaghaikong/CodeAll
3bd112d4299d8b14d4e41512791c82c7febeadf4
818ae04b6f2ca00495c73fd9b3810f083aa3339e
refs/heads/master
2020-05-16T17:19:45.707554
2019-04-24T09:18:18
2019-04-24T09:18:18
183,191,783
0
2
null
null
null
null
UTF-8
Python
false
false
2,195
py
import zmq from zmq import Context from datetime import datetime from threading import Thread from mysite import HSD tcp=HSD.get_tcp() # IP地址 poller = zmq.Poller() ctx1 = Context() ticker_sub_socket = ctx1.socket(zmq.SUB) ticker_sub_socket.connect('tcp://{}:6868'.format(tcp)) ticker_sub_socket.setsockopt_unicode(zmq.S...
[ "649344475@qq.com" ]
649344475@qq.com
8a2f3e9208b69376adaa77424ffcaf983fc436f6
c3d4a88e8a5d97b6cd45382161aa3565f822526e
/pythonapp/intellihistory/apps.py
415a45ab3dd29eef316fda7b8966e98ae83500fa
[ "MIT" ]
permissive
ashna111/intelli-history
69bde4110b3ae0152557951bf16bb2f10098d077
23ea8f7260f64b6dfe2b6cf095bd29e757f546ae
refs/heads/master
2020-05-30T12:19:28.972576
2019-08-17T19:15:55
2019-08-17T19:15:55
189,729,000
1
0
null
null
null
null
UTF-8
Python
false
false
103
py
from django.apps import AppConfig class IntellihistoryConfig(AppConfig): name = 'intellihistory'
[ "21999998+opheliagame@users.noreply.github.com" ]
21999998+opheliagame@users.noreply.github.com
149e72fac2e0d4c9c7498864b786dea80e5774cb
eddf03ad238da8731eadd8d4d46be335b216a5fd
/todo_list/settings.py
2ba85e9f0ba77ffcd7d726c68aa35e13e75de5d2
[]
no_license
Gertobin11/ci-todo-django
f663d5b4a946ffef7b07ddfe261a4b44feea5667
33d2e991cb5679258f7f572904270fdd630f3099
refs/heads/master
2023-06-08T22:06:16.953048
2021-06-21T21:46:51
2021-06-21T21:46:51
377,287,589
0
0
null
null
null
null
UTF-8
Python
false
false
3,605
py
""" Django settings for todo_list project. Generated by 'django-admin startproject' using Django 3.2.4. For more information on this file, see https://docs.djangoproject.com/en/3.2/topics/settings/ For the full list of settings and their values, see https://docs.djangoproject.com/en/3.2/ref/settings/ """ import os f...
[ "gertobin11@gmail.com" ]
gertobin11@gmail.com
d2af03e3a4906a1fa23e9f3a1ce18e723be2b7dd
a5b4d77e760c6131ba1c5f040265a3b08d3c0478
/enemy_bot/enemy_bot_level5/burger_detect/scripts/image_save.py
e695863b746ba773cd8cf5ea415ec5f9c57f2dab
[ "BSD-3-Clause" ]
permissive
kenjirotorii/burger_war_kit
700b511739299a9d90d23c70262ecf4856d234b7
d9b1b443f220980a4118c13cdf22174696c3db9c
refs/heads/main
2023-03-21T23:32:24.415502
2021-03-11T15:59:12
2021-03-11T15:59:12
337,704,943
0
1
BSD-3-Clause
2021-03-11T15:59:13
2021-02-10T11:36:22
Python
UTF-8
Python
false
false
1,046
py
#!/usr/bin/env python # -*- coding: utf-8 -*- import rospy import random # from geometry_msgs.msg import Twist from sensor_msgs.msg import Image import sys from cv_bridge import CvBridge, CvBridgeError import cv2 import time import os dir="Image/test/" num=10*1000 class ImageGet(): def __init__(self): r...
[ "you@example.com" ]
you@example.com
9876632e6db6b195c0bdd9d1e585ff36112b7603
f4cfcd20522b6db90cfb22c83892574a159ec609
/setup.py
ccfe83665c0b8095b5f1b0a81956c34d03b6a4c7
[ "MIT" ]
permissive
rituraj254/simple-linear-regression-1
3f81eb78899b9d852d700c0f92d4707b4d66ec44
5f147ae0850aba6658a9fba707f132c76d61cb3b
refs/heads/main
2023-07-13T02:10:14.223667
2021-08-25T18:05:15
2021-08-25T18:05:15
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,519
py
import io import os import sys from shutil import rmtree from typing import Tuple, List from setuptools import Command, setup # Package meta-data name = "simple-linear-regression_python" description = "Simple Linear Regression in Python" url = "https://github.com/drnitinmalik/simple-linear-regression" email = "nitinm...
[ "noreply@github.com" ]
rituraj254.noreply@github.com
c2096c302141110dd8b88c15a12d60e75092cfd2
c560886c018da73acedd795857c0fe6c334ed890
/venv/bin/pip3
a0048fff3bdd3fafc07ca773357d3e859ed4dd65
[]
no_license
vigneshnin/zabbixreport
aebcb6c6d630a7a5104b29a1328e9f27a4a859d5
6dd897f4816d5000f2ce6704621448e6ddec0c01
refs/heads/master
2022-01-08T14:12:52.856960
2019-06-18T09:15:38
2019-06-18T09:15:38
null
0
0
null
null
null
null
UTF-8
Python
false
false
413
#!/home/vigneshngr8/PycharmProjects/zabbixreport/venv/bin/python # EASY-INSTALL-ENTRY-SCRIPT: 'pip==10.0.1','console_scripts','pip3' __requires__ = 'pip==10.0.1' import re import sys from pkg_resources import load_entry_point if __name__ == '__main__': sys.argv[0] = re.sub(r'(-script\.pyw?|\.exe)?$', '', sys.argv[...
[ "vigneshngr8@gmail.com" ]
vigneshngr8@gmail.com
2025f4ef19b96e9e2c5913d82afced71108eca7c
bab7fb81d6297f4afb6828c9b25d2e0cb89ef81d
/Atom_cloud.py
62f24a7ba93c81f5c1cbadf916840d5f387e2bdb
[]
no_license
ollieennis1966/Group-Studies-
99739c58bb6efae0d25facf4e42b2e77d75e7cc9
ecf0f07c8cf141745fa4b7572fe7b42ec6753ed3
refs/heads/master
2021-01-02T20:33:43.693835
2020-02-13T21:55:28
2020-02-13T21:55:28
239,789,349
0
0
null
null
null
null
UTF-8
Python
false
false
5,617
py
from Vector import Vector import numpy as np import matplotlib.pyplot as plt import random from math import sqrt, pi, exp, log10, sin, cos class Cloud: def __init__(self, Temp_0 = 1e-5, N = int(1e4), diameter = 1e-3): """ Initial conditions of the atom cloud: i.e. at time t = 0 when the ...
[ "noreply@github.com" ]
ollieennis1966.noreply@github.com
bf36f0bfeb79d182b6f679f3ce2fbef7ca0f037e
153e2356d4101516459488309613f5097b9365a8
/week6 - Сортировка/week6 - Результаты олимпиады.py
4e139e3e0311dc6e985deb1030a1d00076b393aa
[]
no_license
MariaZork/Coursera-Python-Course
bd9500d0f705d74e1a13c6dcd2d9b65f7a4fa712
316f1cbdc90cb5cf903e17eaa68f27bc9cb26a09
refs/heads/master
2021-09-06T12:28:56.922695
2018-02-06T14:35:21
2018-02-06T14:35:21
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,764
py
# -*- coding: utf-8 -*- """ Created on Sun Nov 12 02:28:36 2017 @author: Maria """ # В олимпиаде участвовало N человек. Каждый получил определенное количество # баллов, при этом оказалось, что у всех участников разное число баллов. # Упорядочите список участников олимпиады в порядке убывания набранных баллов. # Форма...
[ "fear2029@gmail.com" ]
fear2029@gmail.com
8c3039935e219d19bd45140590f6d01a01c5aee8
6bc40cc640b56d0c66a784289a72d9dce78df517
/src/sst/selftests/test_two_methods.py
e7a5a9135380ad8e2db47f9c48012405f49fc715
[ "Apache-2.0" ]
permissive
Work4Labs/selenium-simple-test
2cad968582b6f9491bc842d4d08a5dcd67d321e6
9bebc85b783c9566a23d383ba5a9be434efbec85
refs/heads/master
2020-12-24T14:01:44.712125
2016-04-29T18:19:25
2016-04-29T18:19:25
9,199,948
6
2
null
2016-02-03T02:02:31
2013-04-03T16:56:04
Python
UTF-8
Python
false
false
181
py
from sst.actions import * from sst import runtests class TestBoth(runtests.SSTTestCase): def test_one(self): assert True def test_two(self): assert True
[ "cgoldberg@gmail.com" ]
cgoldberg@gmail.com
eaaa199710e402820402eb1c34822f07205426bd
2586b1b0de8671db58db1940b955470035565fc3
/scikit_flower_1.py
b3c65e504a12897623ae67ab328bbdc9d44ba235
[]
no_license
ivantay2003/flowerml
faab42723a9972a99dd10ea849bb6db2f2494e1b
898102a3931c5864eaa5cc6b0b0cf74f0963f482
refs/heads/master
2022-01-09T03:19:18.579187
2019-07-22T02:31:39
2019-07-22T02:31:39
198,132,242
0
0
null
null
null
null
UTF-8
Python
false
false
1,395
py
from sklearn.datasets import load_iris from sklearn.datasets import load_digits import numpy as np from sklearn import tree import seaborn as sns from sklearn.metrics import accuracy_score digital = load_digits() iris = load_iris() print (iris.target_names) iris_target = iris.target; iris_data = iris.data sns.boxpl...
[ "swrath@hotmail.com" ]
swrath@hotmail.com
8a042149ac8e1eed6ac7d024e0d49715100baf45
a228077f91b7fb1c2ce01ce28cd11a61f845900e
/app/main/forms.py
4bf0d4dc4f27a892939a9b98ca35c1dd39f749d4
[ "MIT" ]
permissive
jerumanu/blogs
983a88340ff52153315b7145abb85e481ae4f17b
cf18679947de9a11f4f030a6f4b4ee4e66aef4da
refs/heads/master
2023-01-31T23:40:04.674537
2020-12-14T15:58:19
2020-12-14T15:58:19
320,576,900
0
0
null
null
null
null
UTF-8
Python
false
false
546
py
from flask_wtf import FlaskForm from wtforms import StringField,TextAreaField,SubmitField,SelectField from wtforms.validators import Required class UpdateProfile(FlaskForm): bio = TextAreaField('Tell us about you.',validators = [Required()]) submit = SubmitField('Submit') class OpinionForm(FlaskForm): t...
[ "emmanueljeru200@gmail.com" ]
emmanueljeru200@gmail.com
4b817c3e092dc8e83dad78044a79438fef7a44ef
055914b8b2f79bf55dccb3bfe8f2d41c7ce6cd59
/books/forms.py
6d9ca8d940d0a3fc7e1a60467c7a4aac50e8697a
[]
no_license
mywave76/readit1
ec3f9cd45758ec8c028b508565762538ee04e8db
9d13d42dfddc9a58a8ac7a363cf952d48f30e760
refs/heads/master
2021-01-19T10:17:20.567950
2017-05-18T11:05:35
2017-05-18T11:05:35
87,851,636
0
0
null
null
null
null
UTF-8
Python
false
false
455
py
from django import forms class ReviewForm(forms.Form): """ Form for reviewing a book """ is_favourite = forms.BooleanField( label='Favourite?', help_text='In your top books of all time?', required=False, ) review = forms.CharField( widget=forms.Textarea, min_length=300, error_messages={ 'req...
[ "mywave.reloaded@yahoo.com" ]
mywave.reloaded@yahoo.com
2f1642adf2c65906163910817f8df375846974fc
5dbf2bd2a011209a4b70f142f7d17af828372742
/web/migrations/0011_auto_20180409_2305.py
7ad0d070b596f81031cd4f393759a6ca2d166250
[]
no_license
MHMasuk/takdhum-new
f52e2f06698bf411426af506a6c8329f0688b081
b3d874d8dc2310e58a7ae99fbb8380e834d3988f
refs/heads/master
2020-03-15T20:20:29.622496
2018-05-06T11:04:28
2018-05-06T11:04:28
132,329,901
0
0
null
null
null
null
UTF-8
Python
false
false
507
py
# Generated by Django 2.0.3 on 2018-04-09 17:05 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('web', '0010_auto_20180407_2219'), ] operations = [ migrations.RemoveField( model_name='aboutus', name='promo_video',...
[ "m.h.masukboss@gmail.com" ]
m.h.masukboss@gmail.com
9b92373cf464a0275bfb39704ace4aaa54297003
cd49daf85b2f2a4241aa73fba67676f889e3d41c
/11day.py
0b35425da38fda063456305a02d31bb71a7fb550
[]
no_license
siwoo281/python-study
9a7cc25071b80ffe1432ff846afb2a6d777db983
c235b8c9490e2fa85c6e58e20b0e2072600ad6e3
refs/heads/master
2023-02-22T15:44:34.562086
2021-01-26T14:52:00
2021-01-26T14:52:00
330,130,627
0
0
null
null
null
null
UTF-8
Python
false
false
192
py
nums = [] sum = 0 for i in range(7): num = int(input("정수를 입력 해주세요.")) nums.append(num) for i in range(7): sum = sum + nums[i] average = sum / 7 print(average)
[ "xx2114@naver.com" ]
xx2114@naver.com
4c00ec27527bf43ea1adb64e2aab49cfaa7e8473
a22b655b2265fe2e34de89ce1e8e1d47f37e4ac8
/assignment/migrations/0008_remove_assignment_created.py
d71dc14a4fe6b594ff6d10e16e3e89d27abb4b04
[]
no_license
shravan-ks/Class_Network_System
b287b400fa2422e743a05255188b703d57eb8125
10841cef41a286c458603eae38d4bfdd3e4ef8c6
refs/heads/master
2022-11-27T14:23:26.111076
2019-09-28T20:27:32
2019-09-28T20:27:32
208,486,666
6
0
null
2022-11-22T03:58:16
2019-09-14T18:40:26
Python
UTF-8
Python
false
false
401
py
# -*- coding: utf-8 -*- # Generated by Django 1.10.5 on 2019-05-09 13:54 from __future__ import unicode_literals from django.db import migrations class Migration(migrations.Migration): dependencies = [ ('assignment', '0007_assignment_created'), ] operations = [ migrations.RemoveField( ...
[ "Shravan2967@gmail.com" ]
Shravan2967@gmail.com
327f5bed18063bc5103443d55e4856bea69453da
009c5522fe7fd1b6ffad167097535e592818c9d7
/app/inheritance/abstract/migrations/0003_auto_20191223_0545.py
02758dcc786385764c2036954dc49dd6a0eb3c57
[]
no_license
moorekwon/django-document
d891d3d329bc697598517c0918e912da89cf5f6a
983de2babdabd106e17467af27bac4efced170b8
refs/heads/master
2021-09-29T00:37:04.647977
2019-12-26T09:07:55
2019-12-26T09:07:55
228,784,209
0
0
null
2021-09-22T18:10:05
2019-12-18T07:35:12
Python
UTF-8
Python
false
false
740
py
# Generated by Django 3.0 on 2019-12-23 05:45 from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): dependencies = [ ('abstract', '0002_childa_childb'), ] operations = [ migrations.AlterField( model_name='childa', ...
[ "raccoonhj33@gmail.com" ]
raccoonhj33@gmail.com
8d53d54a950be32dfd8165fa1686bc0a2afa6a39
ac8364c25840f3de6734266280068aa374a7a79b
/3053-택시-기하학.py
f259599602dc2e9cf90592a58295bd54a64317f0
[]
no_license
Zeta611/baekjoon-solutions
337e500302a94157d34c1e721457944456950b53
9f24ea2b8f2bc175b94d0d34ccab7b890bb06fc4
refs/heads/master
2021-11-07T15:44:00.014364
2021-10-18T13:23:20
2021-10-18T13:23:20
146,745,849
2
0
null
null
null
null
UTF-8
Python
false
false
157
py
# Contest > Croatian Open Competition in Informatics > COCI 2006/2007 > Contest #1 2 import math R = input() print "%.6f\n%.6f" % (math.pi * R**2, 2 * R**2)
[ "tomtommy611@icloud.com" ]
tomtommy611@icloud.com
7c2d17ddb06d955c905ab695d8215828781f9cfd
eb92c33f9f62b810681e9a84b6db841975b3f20d
/IOUtilities.py
3040ae917607bd86e43a0fbb53adaaf71dbcc885
[ "MIT" ]
permissive
pumbas600/CriticalPath
7572f4611a76cc8de6f9f0a2be0a2ffb510a945f
31889c875dedf733aeb9a4ebeba8bf8930e86176
refs/heads/master
2022-10-12T00:16:58.468726
2020-06-16T09:39:06
2020-06-16T09:39:06
266,998,713
0
0
null
null
null
null
UTF-8
Python
false
false
3,680
py
import csv from _tkinter import TclError import os.path as ospath from enum import Enum class Errors(Enum): SUCCESS = 'Successfully completed the action.' FILE_NOT_FOUND = "The file, {}, couldn't be found." FILE_MADE = "The file, {}, didn't exist and so it has been created." FILE_CURRENTLY_OPEN = 'The ...
[ "38820160+pumbas600@users.noreply.github.com" ]
38820160+pumbas600@users.noreply.github.com
3666744fd63b20a1ba3fc2432b58097f6f0e3956
f49a9212f0566fcd1d6bc8226af545e42501a16f
/scrape/scrape.py
629525912755ae61eda1d8e2003c4d228ccd8fc9
[]
no_license
georgenewman10/python
5a5c867e6e5f1723a6ea13cedd3710944411c727
cbbd43b40c340e6652fe9a3bf1658f4e54eb8f45
refs/heads/master
2020-04-24T00:12:36.448042
2019-05-09T15:40:07
2019-05-09T15:40:07
171,559,350
0
0
null
null
null
null
UTF-8
Python
false
false
310
py
import requests, urllib.request, time from bs4 import BeautifulSoup url = 'https://www.bovada.lv/sports/basketball/nba-playoffs/' game = 'portland-trail-blazers-denver-nuggets-201905012105' url = url + game # response = requests.get(url) soup = BeautifulSoup(response.text, 'html.parser') soup.findAll('a')
[ "george.newman10@gmail.com" ]
george.newman10@gmail.com
ce722b96d8fecb30f1a69bab0230ac92a06e1a2d
8681c50f52d1244448a173667916cf27d9685b30
/enjoy_download_requests.py
01ce9cb01cb14c0385d0e64f5973529b325b1b3c
[]
no_license
hourglasskoala/spider
bb4a53b845bee4dad9fedc7ea592e174f5bdd628
1bcc325e99ec43429364dedf93876d1614f73f60
refs/heads/master
2020-03-31T17:12:04.417754
2018-10-23T03:55:39
2018-10-23T03:55:39
152,411,894
0
0
null
null
null
null
UTF-8
Python
false
false
316
py
import requests if __name__ == '__main__': image_url = 'https://morvanzhou.github.io/static/img/description/learning_step_flowchart.png' r = requests.get(image_url, stream=True) with open('./images/image2.png', 'wb') as f: for chunk in r.iter_content(chunk_size=32): f.write(chunk)
[ "zhanglong@tuotiansudai.com" ]
zhanglong@tuotiansudai.com
2164d42c3bd1009d1f13a0035f79365a0d3e7f15
6c91ed56292a39f8b1ddfc9cf721618c1e57ba93
/pillars/engines/redis.py
160408c2621ab45efb257b6e54a90ed598258368
[]
no_license
Eyepea/pillars
233803df0f9760fa6552ac1e17b2a36fcd2bf03c
813253779de0db1edfb39560579af9558d1b7ec0
refs/heads/master
2022-12-10T16:27:56.420745
2019-03-06T14:52:33
2019-03-06T14:52:33
149,730,884
15
0
null
2022-12-08T02:03:11
2018-09-21T08:04:18
Python
UTF-8
Python
false
false
3,527
py
import asyncio import logging from contextlib import asynccontextmanager from typing import Optional import aioredis import async_timeout from ..app import Application LOG = logging.getLogger(__name__) class Redis: def __init__( self, app: Application, *args, reconnection_timeof...
[ "quentin.dawans@eyepea.eu" ]
quentin.dawans@eyepea.eu
ce2b890e442ee5d8a8e046307f337c910de700c7
14e4606b932f004bb925f9adf847e2c6e1ff16ed
/distinct_spark.py
459c746293d84841d4ac0969ec58f1517b208683
[]
no_license
nyu-cds/dov205_assignment3
4cf11dd23b75c24068c6597faa6383e9f3149757
189bebb6e3ff9b1612c3b201fac9f2bbbd90d271
refs/heads/master
2021-01-22T05:28:24.820049
2017-05-04T23:58:38
2017-05-05T00:01:13
81,666,483
0
0
null
null
null
null
UTF-8
Python
false
false
650
py
from pyspark import SparkContext import re # remove any non-words and split lines into separate words # finally, convert all words to lowercase def splitter(line): line = re.sub(r'^\W+|\W+$', '', line) return map(str.lower, re.split(r'\W+', line)) def main(sc): # Read input file. text = sc.textFile(...
[ "dov205@nyu.edu" ]
dov205@nyu.edu
65c4da75fb004f1520cb29a69802bcce620518d9
40c4b0c31a5870a9201d3d42a63c5547092e5912
/frappe/recorder.py
8cbcaa01bb980c8cbdc9a77613591f7700643486
[ "MIT" ]
permissive
ektai/frappe3
fab138cdbe15bab8214cf623d9eb461e9b9fb1cd
44aa948b4d5a0d729eacfb3dabdc9c8894ae1799
refs/heads/master
2022-12-25T15:48:36.926197
2020-10-07T09:19:20
2020-10-07T09:19:20
301,951,677
0
0
null
null
null
null
UTF-8
Python
false
false
5,212
py
# -*- coding: utf-8 -*- # Copyright (c) 2018, Frappe Technologies Pvt. Ltd. and Contributors # MIT License. See license.txt from __future__ import unicode_literals from collections import Counter import datetime import inspect import json import re import time import traceback import frappe import sqlparse from pygmen...
[ "63931935+ektai@users.noreply.github.com" ]
63931935+ektai@users.noreply.github.com
f3503165cd1ace5452007f7d57957e0c0a1ed163
59fbeea017110472a788218db3c6459e9130c7fe
/[211]Design Add and Search Words Data Structure.py
9980dcd8b49ade61ed4dee0d0b2ac3865846077a
[]
no_license
niufenjujuexianhua/Leetcode
82b55d9382bc9f63f4d9da9431194e20a4d299f1
542c99e038d21429853515f62af51a77deaa4d9c
refs/heads/master
2022-04-27T16:55:00.035969
2022-03-10T01:10:04
2022-03-10T01:10:04
79,742,663
0
0
null
null
null
null
UTF-8
Python
false
false
2,818
py
# Design a data structure that supports adding new words and finding if a string # matches any previously added string. # # Implement the WordDictionary class: # # # WordDictionary() Initializes the object. # void addWord(word) Adds word to the data structure, it can be matched later. # # bool search(word...
[ "noreply@github.com" ]
niufenjujuexianhua.noreply@github.com
7011d3943f6f731fe47de23eacacda74e70c19d7
7a2c620ffa996b36916774b5710464f27c029801
/Sheet04/task02.py
6f0d9b2d29fc5f7bcd2b18e08f6eae60472580ed
[]
no_license
dnychennnn/Computer-Vision-I
82f351b86913fccd18d7c56a3ad15b665027c473
ba1ecc5f5ff8787686076427446a6af2f810d589
refs/heads/master
2020-04-23T14:44:10.632942
2019-02-18T08:30:57
2019-02-18T08:30:57
171,241,825
0
0
null
null
null
null
UTF-8
Python
false
false
3,169
py
import numpy as np import cv2 import matplotlib.pyplot as plt from matplotlib import rc #rc('text', usetex=True) # if you do not have latex installed simply uncomment this line + line 75 def load_data(): """ loads the data for this task :return: """ fpath = 'images/ball.png' radius = 70 Im = ...
[ "jieverson@gmail.com" ]
jieverson@gmail.com
2c982da3a77795930b0c0b3c356bf6f4267a9c35
7aa112e54e5935ebad6e00f617220d02839a578e
/stickerify.py
4976ce30b04d124b6a52f896b290ca02e5ae73f9
[ "MIT" ]
permissive
joelosw/Telegram_Bot
9b28013e1e69d1f2d4aa22901ab7c39b9bab096a
c1c60280eac0f67324806c31bf0fba44705da7f9
refs/heads/master
2022-12-25T08:19:09.919506
2020-04-08T08:08:36
2020-04-08T08:08:36
182,814,845
0
0
MIT
2022-12-08T05:00:57
2019-04-22T15:23:36
Python
UTF-8
Python
false
false
2,409
py
import numpy from PIL import Image import requests import machine_learning def sticker_from_rectangle(coordinates, url): # max size for stickers max_size = (512,512) try: # url for picture on telegram server img = Image.open(requests.get(url, stream=True).raw) except Exception: ...
[ "aron.gaden@mailbox.tu-dresden.de" ]
aron.gaden@mailbox.tu-dresden.de
72329a9613e01b0ded0f0edac0113fbaacce05e9
470e73b3b8f628616c9e8f82499d634b53d70b63
/Part 1 - Data Preprocessing/Section 2 -------------------- Part 1 - Data Preprocessing --------------------/Python/data_preprocessing_tools.py
bf961270942e41af2b4e77d5ff0b9eac20050cc9
[]
no_license
masko101/ml-with-py-and-r
31f8013b174f624b57f58bc5b32c1ae963a6581e
392635aea2831c46f57079f81e61f1449c6c3236
refs/heads/master
2023-02-19T02:09:53.844007
2023-02-07T21:32:40
2023-02-07T21:32:40
289,317,728
0
0
null
null
null
null
UTF-8
Python
false
false
1,411
py
data_preprocessing_tools.py# Data Preprocessing Tools # Importing the libraries import numpy as np import matplotlib.pyplot as plt import pandas as pd # Importing the dataset dataset = pd.read_csv('Data.csv') X = dataset.iloc[:, :-1].values y = dataset.iloc[:, -1].values print(X) print(y) # Taking care of missing da...
[ "mark.turner0@gmail.com" ]
mark.turner0@gmail.com
ba68519141d32a841098c1c243d7e322667265ca
5dfb76e98a7ecd8fde2edfdef7d8dd91479f36d0
/superseded/blender_lum2radiance.py
9f3fb306f8c9ee3e0d9da1e687c23327b03b2406
[ "MIT" ]
permissive
pisuke/brad
6f6c57d3c116618bee589b26a600c9792b282de8
fb7a8bc026c588754db021e7e98465d4b58b8399
refs/heads/master
2021-12-14T15:45:14.709974
2021-12-05T22:30:43
2021-12-05T22:30:43
3,709,637
8
1
MIT
2019-06-30T23:16:09
2012-03-13T18:12:47
Python
UTF-8
Python
false
false
1,328
py
# exports each selected object into its own file import bpy import os import math # export to blend file location basedir = os.path.dirname(bpy.data.filepath) lumname = bpy.path.display_name_from_filepath(bpy.data.filepath) +'.lum' fn = os.path.join(basedir, lumname) f = open(fn,'w') if not basedir: ...
[ "francesco.anselmo@arup.com" ]
francesco.anselmo@arup.com
2055a94fef3753eb2044e88777c867cb70cfd5ba
0fc2b11f52085b584bc52f4982c297dd2c03e8b2
/Programmers/Level1/콜라츠 추측.py
6a895e14e41a65d5df6cf3b720dade065a7454ed
[]
no_license
yw9142/Solving-algorithmic-problems
ec9cdb23492ec10e494937f6f221d54d8987be3d
d78b2d518608bd89b463a0e8da1ca30e1dddaec3
refs/heads/master
2023-01-10T06:52:55.938545
2020-11-10T16:09:05
2020-11-10T16:09:05
277,123,609
0
0
null
null
null
null
UTF-8
Python
false
false
313
py
def solution(num): if num == 1: return 0 count = 0 while True: if num % 2 == 0: num //= 2 else: num = (num * 3) + 1 count += 1 if num == 1: break if count >= 500: return -1 return count
[ "yw9142@gmail.com" ]
yw9142@gmail.com
7ff1083ed831a508777187c4dcf4392f0dcd3481
efbe77abe49694f853b48f0726aa4968224b1a2b
/my_project/src/collect_new_user.py
9dcb44e072110bfa8e2b81b694432b33802afb11
[]
no_license
johnnysand7/steam-study
f7cc918418fa77ede1fc2a1d04d83849b26a28d7
17100b97ade1d4b0d0ee273c071b9efa4cf3ee10
refs/heads/master
2021-01-21T14:24:05.004016
2016-06-24T17:52:10
2016-06-24T17:52:10
55,985,030
0
0
null
null
null
null
UTF-8
Python
false
false
5,665
py
import cPickle import operator import os import re import requests import time import pandas as pd from bs4 import BeautifulSoup class CollectNewUser(): def __init__(self, popular_games): self.popular_games = popular_games self.uid = self.determine_user_input() self.key = os.environ["ACCE...
[ "johnnysand@Johnny-Sands-MacBook-Pro.local" ]
johnnysand@Johnny-Sands-MacBook-Pro.local
33478fe87820b50085a43d69c5d4905485208e70
aec63b7086f30d5b10c9da01f6b2a2fa3bd1dfe0
/blog/migrations/0002_blogpost_user.py
f726647c04b6bf69de6f6c3fae79606d4741c9e8
[]
no_license
Ajith1202/BlogPost
711933c562a88b42509e3babe42171d0b39e229a
91417ec65635534ae37aebe144963b28e2f3dd19
refs/heads/master
2022-08-01T19:22:05.732859
2020-05-29T06:31:31
2020-05-29T06:31:31
267,769,047
0
0
null
null
null
null
UTF-8
Python
false
false
585
py
# Generated by Django 3.0.6 on 2020-05-27 09:15 from django.conf import settings from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): dependencies = [ migrations.swappable_dependency(settings.AUTH_USER_MODEL), ('blog', '0001_initial'), ...
[ "ajith1202@gmail.com" ]
ajith1202@gmail.com
871e74c940da56c3387dffad57b313ca22cdc089
9d961bd6a590cc96db0c1f9c72d84e3a66636edf
/심심풀이땅콩/[백준]4673.py
76fb463f5fde7bf3313b00ca4769b70034e63f75
[]
no_license
0equal2/Python_Programming
bae65338929e8e1a88247b8d23de805caa026702
2ac1d0262320220f49cbdb45e787e55e994d0b0f
refs/heads/master
2023-05-14T22:13:41.583214
2021-06-09T03:04:51
2021-06-09T03:04:51
304,628,012
0
0
null
null
null
null
UTF-8
Python
false
false
195
py
###[백준]4673 memo=[0]*10001 for i in range(1,10001): newnum=i+sum(list(map(int,list(str(i))))) if newnum<=10000: memo[newnum]=1 if memo[i]==0: print(i)
[ "duddms0115@gmail.com" ]
duddms0115@gmail.com
37cda467832d9959605d1668f2ef07cc8c293df9
ece6f45409ee2bcbff1be64fa1ac98e7805e0e18
/API:Data_Visualization/population_json.py
78c7c29a84dd29b055d74f7b1bbb767d4b2871b3
[]
no_license
PickertJoe/python_exercises
5b9ac3334eec32e35a477d126c911d4ca07a4343
77955427db9c3342c9a51618a0cd9cf6f884fbee
refs/heads/master
2022-12-12T11:57:08.267814
2019-12-08T21:52:31
2019-12-08T21:52:31
184,834,676
1
0
null
2022-12-08T05:14:43
2019-05-04T00:16:12
Python
UTF-8
Python
false
false
1,293
py
# A program to read and analyze the data in population_data.json import json from comma import comma from country_code import code_search from pygal.maps.world import World from pygal.style import RotateStyle # Importing the data in the json file into a list filename = "chapter_16/population_data.json" with open(file...
[ "pickertjoe@gmail.com" ]
pickertjoe@gmail.com
29f70510cbfece44978fed15e74af58232f29650
38510f6cf958883e8bef02e5869f6c3fa9f75619
/leetcode/334_increasingTripletSubsequence.py
6a5a35993337fbb36ce5d8cf536309b92ec9d57a
[]
no_license
kapitsa2811/leetcode-algos-python
c6f6521789eaab521db7e687bd3418f35bc5f6e1
19b040360b03c883c2e3ff6dd5c836ff40124137
refs/heads/master
2022-11-20T22:23:48.972259
2020-07-19T03:26:54
2020-07-19T03:26:54
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,793
py
""" Given an unsorted array return whether an increasing subsequence of length 3 exists or not in the array. Formally the function should: Return true if there exists i, j, k such that arr[i] < arr[j] < arr[k] given 0 ≤ i < j < k ≤ n-1 else return false. Note: Your algorithm should run in O(n) time complexity and O(1)...
[ "dpark068@gmail.com" ]
dpark068@gmail.com
2cbf4dec4904b5a4b3767fd1b54f122bd69c3a27
81e95540c15acbf47aa0549fdf8aef948953bb1c
/Knowledge Graph/KSGAN/data_utils.py
36c64430476f2f7ebe55d3afd7ff4ff2abd338cb
[]
no_license
TAM-Lab/TAMRepository
809c96c027b2f71a836a59e05907bdb3f163c947
1099a1b2dd13ed8d3c701c89ba6e3e973f03d3f6
refs/heads/master
2023-05-14T21:41:25.536228
2021-05-30T12:36:57
2021-05-30T12:36:57
309,056,410
1
2
null
2020-11-05T09:25:24
2020-11-01T09:51:23
Python
UTF-8
Python
false
false
2,224
py
from random import randint from collections import defaultdict import torch def heads_tails(n_ent, train_data, valid_data=None, test_data=None): train_src, train_rel, train_dst = train_data if valid_data: valid_src, valid_rel, valid_dst = valid_data else: valid_src = valid_rel = valid_dst...
[ "739772893@qq.com" ]
739772893@qq.com
ddec6cd9802fce441a701b336d13ae8f94355a2d
1a08cb336871e1b3a017c3c2e31a38c6e59aeb52
/venv/Scripts/easy_install-3.7-script.py
78a55a1a49b16231a3d170800f0e4adf4a428bd7
[]
no_license
5hy0w1/Horse
8080aee77824ec66fb544e1166dbdbe6ed862e78
442975ddda1abff81130e4f134ebfe9b96e21f79
refs/heads/master
2020-11-24T19:32:37.527022
2019-12-16T06:00:04
2019-12-16T06:00:04
228,313,827
0
0
null
null
null
null
UTF-8
Python
false
false
460
py
#!"C:\Users\Mi\PycharmProjects\Horse Gone\venv\Scripts\python.exe" # EASY-INSTALL-ENTRY-SCRIPT: 'setuptools==40.8.0','console_scripts','easy_install-3.7' __requires__ = 'setuptools==40.8.0' import re import sys from pkg_resources import load_entry_point if __name__ == '__main__': sys.argv[0] = re.sub(r'(-script\.p...
[ "5hy0w1@mail.ru" ]
5hy0w1@mail.ru
fa57718f1317f1a74453ee73ba28b006f1fbe0b1
95e0f460534e637758bf02abda26b8eeae1728b8
/grad_cam_activation.py
6829866edcc8e9ea5b0d1bd8046718da7747c61d
[]
no_license
tap222/Grad_cam_conv
02459c8dfbceece8d496d6ead012cd83847a00c6
5f4a74bb77a1bcaa2c34205093b4378e42a72e98
refs/heads/master
2020-12-03T15:44:50.629892
2020-01-02T12:29:05
2020-01-02T12:29:05
231,377,409
0
0
null
null
null
null
UTF-8
Python
false
false
4,902
py
from keras.applications.vgg16 import ( VGG16, preprocess_input, decode_predictions) from keras.preprocessing import image from keras.layers.core import Lambda from keras.models import Sequential from tensorflow.python.framework import ops import keras.backend as K import tensorflow as tf import numpy as np ...
[ "noreply@github.com" ]
tap222.noreply@github.com
632061c9d5640beb2d19eb33e8aa4e88b06b5d15
63f295999adee27f68a7b12e0bd3b1396600fb15
/main.py
33e85eeb8b39d348a279fb74c43e3955ddcf6f24
[]
no_license
rcaze/15_10CaFoClSc
bd547ef08395f6c392e70f1a847265e983cb78b0
cefa98565d944a4851547dc83b6b8824e0420a4e
refs/heads/master
2020-12-02T07:57:44.352825
2017-07-13T13:12:56
2017-07-13T13:12:56
96,753,547
0
0
null
null
null
null
UTF-8
Python
false
false
7,372
py
import os import numpy as np import h5py import lib import lib_phy import plot # The global variables of the project PROJ_NAME = "15_01CaJaFoSc" FIG_FOLDER = "../Figs/Source/" FIG_SUF = ".png" DATA_FOLDER = "../Data/" # Creabbte the folders if not existing dirs = [FIG_FOLDER, DATA_FOLDER] for c_dir in dirs: if no...
[ "romain.caze@gmail.com" ]
romain.caze@gmail.com
1e8cd3ac9ecbba58f120ee139240489cc7bc6255
89a6865f28d55107d8b9258eb53383b10c36a544
/blog/migrations/0003_auto_20201030_1756.py
2f5a6e407b0d7e3b59c4a6ab4a235044f91e94fe
[]
no_license
106306028/HowAI_blog
780cba4de01bdb1059d103b76e33f4dd777087be
40fe488aacd244132f003eb570809052d457f599
refs/heads/master
2023-01-21T07:07:21.386757
2020-11-27T06:58:55
2020-11-27T06:58:55
310,203,512
0
0
null
null
null
null
UTF-8
Python
false
false
424
py
# Generated by Django 3.1.2 on 2020-10-30 09:56 import ckeditor_uploader.fields from django.db import migrations class Migration(migrations.Migration): dependencies = [ ('blog', '0002_auto_20201030_1556'), ] operations = [ migrations.AlterField( model_name='blog', ...
[ "106306028@nccu.edu.tw" ]
106306028@nccu.edu.tw
e7e1516d35cd34b71ef7ff6a3426845787454241
9b4d7013eaf4b6d91fc0b4beb6011c6e42929fa1
/vae/vae.py
5b4873fe569bf55db41a7238f0f2aa1a2fdb2051
[]
no_license
hcch0912/ma_world_model
bc4557f3daafd1bc769db17c8417f2c206acf7e4
0dab2d109ea815e1a900cadbcd4b10ac1fb21de1
refs/heads/master
2020-03-25T15:11:24.684153
2018-08-08T10:32:04
2018-08-08T10:32:04
143,870,278
1
0
null
null
null
null
UTF-8
Python
false
false
6,556
py
# ConvVAE model import numpy as np import json import tensorflow as tf import os def reset_graph(): if 'sess' in globals() and sess: sess.close() tf.reset_default_graph() class ConvVAE(object): def __init__(self, z_size=32, batch_size=1, learning_rate=0.0001, kl_tolerance=0.5, is_training=False, reuse=Fals...
[ "hui.chen.17@ucl.ac.uk" ]
hui.chen.17@ucl.ac.uk
e526dff4533b0e9972e26f65b6d19e52f181525e
9e36de2b7954ce9d093bf7512faa8e66047ba34e
/main.py
1035f7b2cc27442b8df828a62bb96d47a4bcd618
[]
no_license
hlcooll/minioY
1928e39cc3e0a7965c7c37a811ccd537256c92bb
3026798b18528acfc92579e4876ba9eacb6536cf
refs/heads/main
2023-02-17T20:03:29.513388
2021-01-22T07:31:46
2021-01-22T07:31:46
331,869,131
0
0
null
null
null
null
UTF-8
Python
false
false
1,416
py
from minio import Minio from minio.error import S3Error from progress.prog import Progress minioClient = Minio('127.0.0.1:9000', access_key='usename', secret_key='password',secure=False ) # Create bucket. class minioCreateBucket(object): #init def __init__...
[ "834890137@qq.com" ]
834890137@qq.com