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
28bda1e33cd425eb795d84761fee2c683f18d463
81c914bfcc5cd7fcb78a4cc3e9c86a12366c6379
/flask_emal/pyMail/pyMail.py
fd5f68d0a65245d83a88ded5c0ccdaeaafeccc6d
[]
no_license
DarionRichie/emali
2e9e487beec3962990eaf6633333f508d5808c32
f4251965aea95ffcb5a14052f4b419735740ba2d
refs/heads/master
2023-05-24T01:10:18.566193
2021-06-17T09:07:28
2021-06-17T09:07:28
377,769,029
0
0
null
null
null
null
UTF-8
Python
false
false
8,210
py
# -*- coding: utf-8 -*- import imaplib, email import sys import os import smtplib import mimetypes from email.MIMEMultipart import MIMEMultipart from email.MIMEBase import MIMEBase from email.MIMEText import MIMEText from email.encoders import encode_base64 from email.header import Header reload(sys) sys.setdefaultenc...
[ "2969524644@qq.com" ]
2969524644@qq.com
3229ae4d99f065b255b95b5914601dccb2a74017
9f0e1e43883d99ac6e88cb120ad88158e5f7b1f9
/Evaluation/PSNR calculation_grayscale.py
9a48a865bfb56e16a8e44d585aa4a36dc699f0e7
[]
no_license
Sreeramansr/Image_Compression--Convolutional_Auto-encoder
8a9f93a36126ea49eff05fcffef196dd174ad1b6
17d5268064eacf61432cc0f2b6e1266089576e94
refs/heads/master
2022-12-17T01:37:59.822076
2020-09-19T10:13:02
2020-09-19T10:13:02
240,003,304
0
0
null
null
null
null
UTF-8
Python
false
false
1,339
py
# -*- coding: utf-8 -*- """ Created on Mon May 18 16:24:42 2020 @author: Sreeraman """ # calculation of PSNR values from math import log10, sqrt import cv2 import numpy as np def PSNR(original, compressed): # original = original.astype(np.float64) / 255. # compressed = compressed.astype(np....
[ "noreply@github.com" ]
Sreeramansr.noreply@github.com
bff32a13096803e1b074e49cecebb181d4d6913f
785a06d576cd4f7486a8a4306481392d0b65f621
/0x06-python-classes/0-square.py
b295cba0972b97fb25477fe35a3935cfbf691fec
[]
no_license
LauraPeraltaV85/holbertonschool-higher_level_programming
7c3d0a99c2dbd4f2f6951999634dbc2ae9acf1c4
264fe99bf5fc128d2faf59057e9062c2408e6065
refs/heads/master
2021-07-21T07:49:24.049890
2020-08-19T00:07:20
2020-08-19T00:07:20
207,329,486
0
0
null
null
null
null
UTF-8
Python
false
false
87
py
#!/usr/bin/python3 class Square: """Empty class that defines a squares""" pass
[ "=" ]
=
567c5930ce4dce2b362ee9ebf34f4f2c604b528e
88df15f1c36960f3473caf54904cbaae5f3bab52
/function.py
b9deefeceb27b05ad098eda3a0941d75fe731747
[]
no_license
pigpigman8686/listen
eef86b391b7399a96edfe1f8136dcd26d0ffd646
aa3b3f7d2e49ffb557739c19c3712b9e6d823e43
refs/heads/master
2020-06-19T17:46:29.283378
2019-07-14T07:34:39
2019-07-14T07:34:39
196,806,426
0
0
null
null
null
null
UTF-8
Python
false
false
897
py
import random import os,re def getMessage(yes=True,snr=28,count=1): if count == 1: page = int(9) elif yes==True: page = int((snr-10)/2-1) if page<0: page = 0 else: page = int((snr-10)/2+1) if page>18: page=18 filepath = "static/voice/"+str...
[ "952361195@qq.com" ]
952361195@qq.com
a59061f71af376b2f08082145adac1d496c50c3b
9189391a982d0297c8c79670b207e0d3fe3e9a1d
/sys/Analysis_script/lustre_server/lustre_server_band.py
5ec111d68973dd23270db18a58c8b50b50b5f24e
[]
no_license
dxhhisboy/Beacon
62f5eedcd7349d383f3324f74bd7475170ce5a57
7941ebb7ae2e55b923795a850e74ee23c14aca3e
refs/heads/master
2021-03-26T07:43:24.544769
2019-12-18T02:56:14
2019-12-18T02:56:14
247,685,346
1
0
null
2020-03-16T11:30:22
2020-03-16T11:30:21
null
UTF-8
Python
false
false
8,806
py
from OST_each_all import search from OST_each_all import search_le from OST_each_all import search_gt import datetime import matplotlib.pyplot as plt import numpy as np import csv import sys from optparse import OptionParser host_online1 = null host_online2 = null parser = OptionParser() parser.add_option( "-d", ...
[ "binyang@BindeMacBook-Pro.local" ]
binyang@BindeMacBook-Pro.local
431eeaf082bc0c52b6b0cf4689df74a54c8b61e3
b207f020927e1acb24641670af22bc9eef978e26
/DeepQNetwork-MCTS/2048_DQN_MCTS_initial.py
dc1c96d3a9be47589ccace528b7e4010b84bebf9
[]
no_license
QuincyCherubini/2048
49ee7daf07313526edc93a33e03f31d592c2d154
27f64bf8365428af6f881b88c0eb29bd12166191
refs/heads/master
2020-12-20T01:55:56.540776
2020-02-25T03:26:52
2020-02-25T03:26:52
235,923,049
0
0
null
null
null
null
UTF-8
Python
false
false
11,847
py
from board import board import numpy as np import math import time import random import pickle import cProfile from collections import deque import keras from keras.models import load_model, Sequential from keras.optimizers import Adam from keras.layers.core import Activation, Dropout, Flatten, Dense from k...
[ "Quincy@Cherubini.ca" ]
Quincy@Cherubini.ca
06e60323dd57f2def66299b5acfc0b773762fb62
a3c4935537a42330758c7ac54553ae45daad069d
/.history/backend/src/api_20210807005753.py
d5a98b48745dbac2d9550540ef0d1b41a0699108
[]
no_license
saraalmuraytib/Coffee-Shop
219292b4e2dd9b39621f9cd42bdcb049f5bb20c8
cec4b8df3a4c38600fb2964f8fa85d3c820ddb6c
refs/heads/main
2023-07-12T19:39:26.617313
2021-08-28T19:22:23
2021-08-28T19:22:23
392,365,613
0
0
null
null
null
null
UTF-8
Python
false
false
4,532
py
import os from flask import Flask, request, jsonify, abort from sqlalchemy import exc import json from flask_cors import CORS from .database.models import db_drop_and_create_all, setup_db, Drink from .auth.auth import AuthError, requires_auth app = Flask(__name__) setup_db(app) CORS(app) ''' @TODO uncomment the foll...
[ "sara.almuraytib@gmail.com" ]
sara.almuraytib@gmail.com
5d0294f94f35d0bd05457deb413fd46c97de577b
8c7b19751e0b674103e5dfa3cae63582e04c474e
/msorter.py
19d935dc04089be48189c9ea8773df3e92e23ef3
[]
no_license
andreyiv/music_sorter
eab9e9a18b1b3cebc6c43f44a2f91ad48ef01290
e93ff7ec5684a007ec1995802672ff67a3b360c1
refs/heads/master
2020-06-06T11:02:35.559773
2014-03-11T01:12:27
2014-03-11T01:12:27
15,989,698
0
0
null
null
null
null
UTF-8
Python
false
false
2,918
py
""" Sort your music. Call this in a directory with your music to get it sorted. """ import os import sys import io import eyed3 import json import time import logging # create logger logger = logging.getLogger('log') logger.propagate = False # Stops the logging from being picked up by eyed3 logger.setLevel(logging....
[ "andrey.ivannikov@gmail.com" ]
andrey.ivannikov@gmail.com
6d7ba8affc9415e0e28f008abc1c5f881a23b965
d779765b758d43ed9ae19ff1e83a894ec37e1e86
/Practice/07/Python/07.py
9994d752dc51040462adea2ef23610cf2c89dc8f
[]
no_license
gamebars/Programming
2e0cc641056ba020f609f3f9a28228faafd5bb1d
9def7f353461062a0b33b10f8aa454bb16df4939
refs/heads/main
2023-05-09T09:57:58.775725
2021-06-05T18:50:59
2021-06-05T18:50:59
310,386,577
0
1
null
null
null
null
UTF-8
Python
false
false
885
py
import math print("""Выберите удобный для вариант 1. Длины стороны треугольника. 2. Координаты треугольника.""") a = b = c = 0.0 choise = int(input()) if choise == 1: print("Введите длины сторон треугольника, каждое с отдельной строки.") a = float(input()) b = float(input()) c = float(input()) elif cho...
[ "freerancho@gmail.com" ]
freerancho@gmail.com
b4e432358186054be12e449387e496621aedd273
08b693556d4f2476667eccd26afcdda705c2530f
/venv/bin/odf2mht
b54238864f529a8bc8c4c904f066c4390925860b
[]
no_license
ravikantpal1408/django-admin
f2f282150b1741f503895dfba6aba7adb109c6fd
dc6dbb0d1c7e78dba88b578528787fbda121e531
refs/heads/master
2020-05-07T08:25:31.865263
2019-04-09T08:40:07
2019-04-09T08:40:07
180,322,997
0
0
null
null
null
null
UTF-8
Python
false
false
2,327
#!/Volumes/MyMacDrive128/Python/blog/venv/bin/python # -*- coding: utf-8 -*- # Copyright (C) 2006 Søren Roug, European Environment Agency # # This is free software. You may redistribute it under the terms # of the Apache license and the GNU General Public License Version # 2 or at your option any later version. # # Th...
[ "ravikantpal@Ravis-MacBook-Air.local" ]
ravikantpal@Ravis-MacBook-Air.local
df09cfd7a1ce1fc9c2986dd66f9c32ec791e7b64
d9ed74c886ff517b721d6bcf2fef8ec6ed991783
/manage.py
d6d2e183eb5c5d69ca185c4e14632682bd1f7218
[]
no_license
hexvolt/poll_server
d31fa2951ecb23df87d7ff4c5543c586f1064225
8401dcbf90b1f5b6b8d69d5973a955143199438d
refs/heads/master
2021-01-19T03:45:35.332792
2016-04-17T10:10:34
2016-04-17T10:10:34
62,493,567
1
0
null
null
null
null
UTF-8
Python
false
false
254
py
#!/usr/bin/env python import os import sys if __name__ == "__main__": os.environ.setdefault("DJANGO_SETTINGS_MODULE", "poll_server.settings") from django.core.management import execute_from_command_line execute_from_command_line(sys.argv)
[ "hexvolt@gmail.com" ]
hexvolt@gmail.com
51943779ab94d18f5a638f48ab59775a6b0b305f
d5193c2e726a40a48b0f45db27bb04aec280398e
/shortner/models.py
551783922f0264121e8bc9d5fc1d3dcd8acc3517
[]
no_license
sahaib9747/DUShort-Django_URL_Shortener
2ad652a56efb421cd49222d5f5bcfbdcc673462c
32567439883f5c7407913f061c166b0d9934c502
refs/heads/master
2023-09-01T11:04:23.224791
2021-10-27T20:11:15
2021-10-27T20:11:15
null
0
0
null
null
null
null
UTF-8
Python
false
false
229
py
from django.db import models # Create your models here. class URLShortner(models.Model): link = models.TextField(max_length=100000) uuid = models.CharField(max_length=10) def __str__(self): return self.uuid
[ "pro.sahaib9747@gmail.com" ]
pro.sahaib9747@gmail.com
0aa9d2bdb669e4233d1f34d05673e4ec31234d57
7808d2f1bc4d890938278eab5846da4108d165b7
/Rec/website/website/settings.py
c2f947fcc4aa33ef8dd9ebbb0305ac2a9d684eae
[]
no_license
KarlRixon/MovieLens_RecSys
4fe8d6906fb14a18990a6d897e94ff287600d7b8
7605f7620d1fb884c037f775cb71d303fe0ed56a
refs/heads/master
2021-05-24T16:35:33.373101
2020-04-25T12:06:25
2020-04-25T12:06:25
253,657,746
0
0
null
null
null
null
UTF-8
Python
false
false
3,762
py
""" Django settings for website project. Generated by 'django-admin startproject' using Django 2.2. For more information on this file, see https://docs.djangoproject.com/en/2.2/topics/settings/ For the full list of settings and their values, see https://docs.djangoproject.com/en/2.2/ref/settings/ """ im...
[ "2434685393@qq.com" ]
2434685393@qq.com
6462655651cadf4cca9cff9d20e10ad691ceea84
bedd5e4c8186d848fa10a572d000e5b1a36acaa9
/metrics/gD43_index.py
7285d493189a3d5f73c33bc85137be24fa48d3d5
[]
no_license
AntipovDen/EvoClusterization
2eb7df815a088e8b0f6ccf57ef57cc0e95c55120
61f01cedc8f2a7b55a8cd109389b8b236885af26
refs/heads/master
2020-05-01T00:42:12.951206
2019-05-08T17:17:55
2019-05-08T17:17:55
177,174,643
0
0
null
null
null
null
UTF-8
Python
false
false
4,305
py
import sys import numpy as np import metrics.cluster_centroid as cluster_centroid import metrics.utils as utils import math from metrics.measure import Measure class Index(Measure): def __init__(self, centroids=None, cluster_sizes=None, centers=None, sums=None, diameter=0, centroid_dists=None):...
[ "mursmail@gmail.com" ]
mursmail@gmail.com
0bb96f30a42e50bc0408cf4a6f607b6796d6546d
edf91e2614f0bf0dbfea1c77d2f41add5a14fac1
/twitterino/twitterino/urls.py
5e36063f9d99be119b11bcd0d2d3164226497241
[]
no_license
Razhelq/Twitterino
c5c4a9de47566a21240f1de316c9cb980b9fe01d
88269625aa2306f58c197477f3d682db270ca469
refs/heads/master
2020-03-26T18:23:15.149839
2018-08-27T19:59:57
2018-08-27T19:59:57
145,210,513
0
0
null
null
null
null
UTF-8
Python
false
false
1,831
py
"""twitterino URL Configuration The `urlpatterns` list routes URLs to views. For more information please see: https://docs.djangoproject.com/en/2.0/topics/http/urls/ Examples: Function views 1. Add an import: from my_app import views 2. Add a URL to urlpatterns: path('', views.home, name='home') Class-ba...
[ "mateuszszpakowski@wp.pl" ]
mateuszszpakowski@wp.pl
79a21b3cd0fc0706188237e2a0b76e6e913732bc
15f122c5d9d91493107c008acb23a9a1288aa95b
/review/settings.py
f91fff3e8b6e438ad860bfbb8623bb3d56d6b47d
[]
no_license
AdityaGaur-whiteCrayon/reviewap
9baba1c0dcf5adbe54f573ef10f8398ba75e1791
080bd45634f793d5c8d48f512472a7845bfd389f
refs/heads/main
2023-06-27T04:30:58.378069
2021-08-03T21:43:43
2021-08-03T21:43:43
392,461,954
0
0
null
null
null
null
UTF-8
Python
false
false
3,720
py
""" Django settings for review project. Generated by 'django-admin startproject' using Django 3.2.3. 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/ """ f...
[ "noreply@github.com" ]
AdityaGaur-whiteCrayon.noreply@github.com
81b87030e4f49031523e25eeadd2033600229db8
ec00584ab288267a7cf46c5cd4f76bbec1c70a6b
/Django/webapp/webapp/urls.py
b992ee479948a6c3cd42bf76a7571f15eb468e76
[]
no_license
rahuldbhadange/Python
b4cc806ff23953389c9507f43d817b3815260e19
7e162117f1acc12537c7eeb36d6983d804122ff3
refs/heads/master
2021-06-23T05:04:20.053777
2020-01-28T10:34:28
2020-01-28T10:34:28
217,307,612
0
0
null
2021-06-10T22:44:11
2019-10-24T13:35:42
Python
UTF-8
Python
false
false
1,494
py
"""webapp URL Configuration The `urlpatterns` list routes URLs to views. For more information please see: https://docs.djangoproject.com/en/2.1/topics/http/urls/ Examples: Function views 1. Add an import: from my_app import views 2. Add a URL to urlpatterns: path('', views.home, name='home') Class-based ...
[ "46024570+rahuldbhadange@users.noreply.github.com" ]
46024570+rahuldbhadange@users.noreply.github.com
6f599a1d19033673865ff49df26e57b170a4a4c0
1b20455d8e80e70ad101644adf72123572558bc1
/app.py
38dbd465d0fe9e09d875e7b8cc7e2336cc59162d
[]
no_license
techcoderunner/s3-lambda-event-sample
bfa7bb6ef6de8c66fea4f67a232757b7b53a1d23
d832293cf6e05f18db61c1b834514e6ec89e1add
refs/heads/master
2022-05-25T12:12:36.286752
2020-04-27T16:13:04
2020-04-27T16:13:04
null
0
0
null
null
null
null
UTF-8
Python
false
false
256
py
#!/usr/bin/env python3 from aws_cdk import core from s3_lambda_event_sample.s3_lambda_event_sample_stack import S3LambdaEventSampleStack app = core.App() S3LambdaEventSampleStack(app, "s3-lambda-event-sample",env={'region': 'ap-south-1'}) app.synth()
[ "Rashmi.Jamadade@teradata.com" ]
Rashmi.Jamadade@teradata.com
6e23c5de1d7411fa2a34e57a9a50d0e75aa00440
abc422f58ad053bcbb6653ba15b66e46d220a199
/serial_scripts/rsyslog/mylogging.py
d5ca62ae2331a8ee83e6c2ec8c2eda766a56adab
[ "LicenseRef-scancode-warranty-disclaimer", "Apache-2.0" ]
permissive
tungstenfabric/tf-test
d3efff59bca931b614d0008260b2c0881d1fc009
4b9eca7eb182e5530223131ecab09d3bdf366407
refs/heads/master
2023-02-26T19:14:34.345423
2023-01-11T08:45:18
2023-01-11T10:37:25
265,231,958
8
22
null
2023-02-08T00:53:29
2020-05-19T11:46:12
Python
UTF-8
Python
false
false
3,406
py
#!/usr/bin/python2.7 from __future__ import print_function from builtins import str from builtins import range import syslog import random import time import sys def send_10_log_messages_with_delay(): syslog.openlog(logoption=syslog.LOG_PID, facility=syslog.LOG_MAIL) for ind in range(10): msg = str(i...
[ "andrey-mp@yandex.ru" ]
andrey-mp@yandex.ru
5d17abe09dfdef19d8a4a829102bfef36a25bc8f
345d3257600d96454131398879d0b1f3cdde78f6
/ros_arduino_bridge/ros_arduino_python/src/ros_arduino_python/arduino_driver.py
3fc307009fde91a05b88d6112a1bcc795ca0dd39
[]
no_license
dtbinh/weeding-robot
ced30324f5a9ceb4fae5d69a6439ef1c6bc2ec10
8759ebed740657c47de8295ca54e6418c6ef368d
refs/heads/master
2023-02-26T17:01:42.433657
2021-02-04T21:52:00
2021-02-04T21:52:00
null
0
0
null
null
null
null
UTF-8
Python
false
false
12,327
py
#!/usr/bin/env python """ A Python driver for the Arduino microcontroller running the ROSArduinoBridge firmware. Created for the Pi Robot Project: http://www.pirobot.org Copyright (c) 2012 Patrick Goebel. All rights reserved. This program is free software; you can redistribute it and/or modify ...
[ "jhw83@uclive.ac.nz" ]
jhw83@uclive.ac.nz
3d74cfe83f47c3ca2637e2f6ece134fe923e052c
126456d21ae5b8c58eec084fdb595353a4dbc35b
/openslides_backend/permissions/permission_helper.py
5b72c70528aef0172de11bc2a7eee6c4eddd86af
[ "MIT" ]
permissive
FinnStutzenstein/openslides-backend
7f50667e5001733c9c955e2775b135c32a4466c5
fffc152f79d3446591e07a6913d9fdf30b46f577
refs/heads/master
2023-07-08T01:19:20.710441
2021-04-08T10:51:10
2021-04-08T10:51:10
271,211,208
0
0
MIT
2020-06-10T07:39:20
2020-06-10T07:39:19
null
UTF-8
Python
false
false
2,921
py
from typing import List from ..services.datastore.commands import GetManyRequest from ..services.datastore.interface import DatastoreService from ..shared.exceptions import PermissionDenied from ..shared.patterns import Collection, FullQualifiedId from .permissions import OrganisationManagementLevel, Permission, permi...
[ "noreply@github.com" ]
FinnStutzenstein.noreply@github.com
3cd7e9bdfdb3f39bde5b3be9f9d914040e221895
d2b3bfce1d6ae568d019245bd7a0d8edc9af0a15
/articles/views.py
b26b3626d278d33497df36d97a08e3af128c23a5
[]
no_license
nvelichkin/DjangoBlog
58ca5e2bd9fc3c397c11e290d89e8a1a570fbf58
b8624cb8b226ce011d81ffe3da7547bcd7d7efda
refs/heads/master
2021-07-21T14:48:21.145525
2017-10-28T13:28:25
2017-10-28T13:28:25
null
0
0
null
null
null
null
UTF-8
Python
false
false
3,692
py
from .models import * from django.shortcuts import render, redirect from django.http import Http404, HttpResponse from django.contrib.auth.models import User from django.contrib.auth import authenticate, login # Create your views here. def archive(request): return render(request, "archive.html", {"posts": Articl...
[ "bashka389@gmail.com" ]
bashka389@gmail.com
6bfd1c5183aa706f998839766d337607080cb8bd
50a4423ce551b125fc062d84077a8457fbe21be3
/work_spider/util/langconv/zh_wiki.py
c831fae4f9a61b5eb11109d04dfbbb88d167c180
[]
no_license
zhenglanfang/spider_project
15c247b0e14803d40fca17a65219a0fc4245279d
7108662aafff9f971928e4acda7781ac7b76d250
refs/heads/master
2021-01-25T11:28:07.782535
2018-07-04T02:21:40
2018-07-04T02:21:40
123,399,309
0
1
null
null
null
null
UTF-8
Python
false
false
143,277
py
# -*- coding: utf-8 -*- # copy fom wikipedia zh2Hant = { '铺':'舖', '呆': '獃', "打印机": "印表機", '帮助文件': '說明檔案', "画": "畫", "板": "板", "表": "表", "才": "才", "丑": "醜", "出": "出", "淀": "澱", "冬": "冬", "范": "範", "丰": "豐", "刮": "刮", "后": "後", "胡": "胡", "回": "回", "伙": "夥", "姜": "薑", "借": "借", "克": "克", "困": "困", "漓": "漓", "里": "里", "帘"...
[ "lanfang.zheng@mrs.ai" ]
lanfang.zheng@mrs.ai
02fe2f8f0c81c0e2c94b762ff4dbe94e7b537f33
625a978da66de7ee9054a360492455f2abd438c5
/backend.py
5588c7389e7d02bffa1129bf13922d1bf35f72d9
[]
no_license
DeVoe-byte/Bookstore-GUI
7d4de7c22977f6c968a75c3ae8d10ac0dc76afee
08f723585f957bba8cc534e74c939b7100c87a9c
refs/heads/main
2023-06-04T11:33:34.435794
2021-06-28T13:23:09
2021-06-28T13:23:09
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,415
py
import sqlite3 class Database: def __init__(self,db): self.conn=sqlite3.connect(db) self.cur=self.conn.cursor() self.cur.execute("CREATE TABLE IF NOT EXISTS bookstore(id INTEGER PRIMARY KEY , title text , author text, year integer , isbn integer)") self.conn.commit() ...
[ "noreply@github.com" ]
DeVoe-byte.noreply@github.com
de869b069c66146da83205a95ae39c151a1dab0d
4c89d3ea51082d8beb05f7d4b89295d31e1dd241
/wagtail/wagtailredirects/views.py
c88de70283be4924ba6e651fd0431273cb9b8a44
[ "BSD-3-Clause" ]
permissive
simaojf-dellent/wagtail-1.3.1
69fb08addf9c1369122f1a734429aebfc77430f7
f84134f19774ddea2cc4de408582d4cbf0ebcf7a
refs/heads/master
2021-01-12T06:33:05.253443
2016-12-26T16:07:45
2016-12-26T16:07:45
77,381,143
0
0
null
null
null
null
UTF-8
Python
false
false
3,982
py
from django.shortcuts import render, redirect, get_object_or_404 from django.utils.translation import ugettext as _ from django.views.decorators.vary import vary_on_headers from django.core.urlresolvers import reverse from wagtail.utils.pagination import paginate from wagtail.wagtailadmin.forms import SearchForm from ...
[ "patricio-fernandes@dellentconsulting.pt" ]
patricio-fernandes@dellentconsulting.pt
8458e2e8286ca685608a32c0a0d73a4550dbfb9d
8240b06d31eec50797c29d5a10ad0c76956891dd
/redact_logs.py
f1ae36ff949d45b160395aa535dc29b474457952
[]
no_license
kalina/log_redactor
770eaf91400d06482b8b77e793c4a3495f71b47a
b6100c0df02bc2674bcf6457f103447c7d21c0d3
refs/heads/master
2021-07-14T19:07:48.345527
2017-10-18T22:35:43
2017-10-18T22:35:43
107,451,605
0
0
null
null
null
null
UTF-8
Python
false
false
4,140
py
#!/usr/bin/env python import argparse import datetime import gzip import logging import os """ Redacts lines from files (likely log) containing the specified fields. """ def process_files(args): """processes files from the argument removing lines and log the results """ for f in args.files: #...
[ "drew.kalina@nike.com" ]
drew.kalina@nike.com
f2836bb9ea59828b0765647f8692b4473ddbe64b
d1134f71f464e38bc75d34c7972b6fb55c361366
/PYTHON/allContacts.py
74ec013fa82b74404e5d72a64ca2e61306602806
[]
no_license
deolekarmayuresh/Zoho-Desk-API
3bf2f899cc5a21900f079364d0cfa4fb53d44f02
77147d206c5b22c59ac06306d5ceff78b89a0adb
refs/heads/master
2020-12-21T21:23:26.287504
2020-02-25T14:45:03
2020-02-25T14:45:03
236,566,355
1
0
null
null
null
null
UTF-8
Python
false
false
572
py
import requests auth_token="59550a0e2b1a864a31bef962363e029f" #YOUR_AUTH_TOKEN org_id="652853630" #YOUR_ORGANISATION_ID params="sortBy=firstName&limit=15" headers={ "Authorization":auth_token, "orgId":org_id, "contentType": "application/json; charset=utf-8" } request=requests.get('https://desk.zoho.com/...
[ "mayureshdeolekar.md@gmail.com" ]
mayureshdeolekar.md@gmail.com
a4864319528ea6eedb76e88579add3f1820a7ce0
7ba8f2512eda33326fb9ccb3e338d4f078eff5d2
/config.py
f6c3d08348adf3ea65b5465a05679bacf83f46c8
[]
no_license
elinaldosoft/sync_cassandra_elasticsearch
1158d41585d525cabba3f8664fc5d4c0432b4962
33292357142543c8ed7951d96cf1a4b9ff18e6a1
refs/heads/master
2021-06-09T08:20:19.137827
2015-06-29T19:32:53
2015-06-29T19:32:53
31,242,298
1
0
null
2021-06-01T21:44:49
2015-02-24T02:59:33
Python
UTF-8
Python
false
false
993
py
#! /usr/bin/python # -*- coding: utf-8 -*- __author__ = 'elinaldo' from elasticsearch import Elasticsearch """ http://datastax.github.io/python-driver/api/cassandra/cluster.html """ CASSANDRA = { 'IP': ['127.0.0.1'], 'DB': u'cassandra_db', } """ https://elasticsearch-py.readthedocs.org/en/master/api.html#glob...
[ "git@li798-221.members.linode.com" ]
git@li798-221.members.linode.com
d1d4037b3e971877ea2970f5fd6932bfc9f2ecb8
6768db30b642e8ee8f128d0854d08c4d33debbad
/blog/migrations/0001_initial.py
98a12c3ec86c20b6a18e440ba08e93fe40ea9fc3
[]
no_license
S3817852/Notification
b850bface709b2949154d5a5e4a0b22c2cfdfbfc
b358c85b88c31c0d2dca99cade452963f6258075
refs/heads/main
2023-04-23T15:31:45.785122
2021-05-06T18:41:33
2021-05-06T18:41:33
362,190,179
0
0
null
null
null
null
UTF-8
Python
false
false
601
py
# Generated by Django 3.2 on 2021-05-03 08:12 from django.db import migrations, models class Migration(migrations.Migration): initial = True dependencies = [ ] operations = [ migrations.CreateModel( name='Article', fields=[ ('id', models.BigAutoField...
[ "s3817852@rmit.edu.vn" ]
s3817852@rmit.edu.vn
ba84e51bc7bf0a2d37b2022de76f9c7bd937fab0
89dcfb1af881cfda7b9bfc9a1babf8f36d665cf5
/app6/Not_app/exercise1.py
d2a2261c3dca85f07c629177e4be5ffc6ff8c6f7
[]
no_license
AvyanshKatiyar/megapython
5be6104f78dea06093a6d499ec23f6fecdcc3525
928defe72da59c58de82a71f85f0bad9ca080914
refs/heads/master
2023-02-26T04:35:18.553701
2021-01-29T14:33:53
2021-01-29T14:33:53
329,606,121
0
0
null
null
null
null
UTF-8
Python
false
false
313
py
#resizes all images in the directory import cv2 import glob all_file_names = glob.glob("sample_images/*.jpg") print(all_file_names) for filename in all_file_names: img= cv2.imread(filename, 1 ) resized_image = cv2.resize(img,(100, 100)) cv2.imwrite(f"{filename[:-4]}_resized.jpg", resized_image)
[ "avyanshkatiyar@gmail.com" ]
avyanshkatiyar@gmail.com
eac10a806ad58329f8f11936dda99609b1065f55
7b5828edda7751700ca7002b40a214e39e5f48a8
/EA/simulation/interactions/object_retrieval_liability.py
2f36b95318e52aa7996e4d60ba902bea61025b51
[]
no_license
daniela-venuta/Sims-4-Python-Script-Workspace
54c33dac02f84daed66f46b7307f222fede0fa62
f408b28fb34626b2e3b2953152343d591a328d66
refs/heads/main
2023-03-29T18:08:39.202803
2021-03-30T19:00:42
2021-03-30T19:00:42
353,111,243
1
0
null
null
null
null
UTF-8
Python
false
false
7,849
py
import build_buy import enum import services import sims4 from element_utils import build_element, CleanupType from interactions import ParticipantType, ParticipantTypeSingle from interactions.aop import AffordanceObjectPair from interactions.base.interaction_constants import InteractionQueuePreparationStatus from inte...
[ "44103490+daniela-venuta@users.noreply.github.com" ]
44103490+daniela-venuta@users.noreply.github.com
e9d169335a5f914f653a37844eac60d56eb8136e
b96ed10d6247e22d4fa1d28bc3314bc319d3109c
/LessonSample/chapter12/03_进程池.py
2ba823ca2fd1e127c6f7ef24b29591aaddf7cb6d
[]
no_license
13555785106/PythonPPT-01
ac1b22b9b1851f2b3ea6e4ab0a100e5f6896ee8c
40e5883f248cb342f3a7fc7ad12ba02ebde4c619
refs/heads/master
2020-04-26T16:49:59.675964
2019-03-04T07:16:21
2019-03-04T07:16:21
157,095,747
4
0
null
null
null
null
UTF-8
Python
false
false
941
py
#!/usr/bin/python # -*- coding: UTF-8 -*- import os import random import time from multiprocessing import Pool def run(name): print("子进程%d启动--%s" % (name, os.getpid())) start = time.time() time.sleep(random.choice([5, 7, 9])) end = time.time() print("子进程%d结束--%s--耗时%.2f" % (name, os.getpid(), end ...
[ "312655424@qq.com" ]
312655424@qq.com
1bdc224dca8b596ac6e94359d90f12c8b5e1815f
631901398be90a2dda7b703e8229165e719dae7f
/orm/entities/Area/__init__.py
fb86137b571e9985fd20e226197292e6b653f21d
[]
no_license
hevayo/results-tabulation-api
4b22cc7cb3c535862429fef84422e97e1ca5890a
939c1cbd360fd908dcdf563623ee91393959bcd5
refs/heads/master
2020-08-08T22:58:34.133675
2019-11-02T07:54:07
2019-11-02T07:54:07
213,940,023
0
0
null
2019-10-09T14:27:02
2019-10-09T14:27:00
null
UTF-8
Python
false
false
15,851
py
from app import db from sqlalchemy.orm import relationship, aliased from sqlalchemy import and_, func, or_ from orm.enums import AreaTypeEnum from orm.entities import Election from sqlalchemy.ext.hybrid import hybrid_property class AreaModel(db.Model): __tablename__ = 'area' areaId = db.Column(db.Integer, pr...
[ "l.dinukadesilva@gmail.com" ]
l.dinukadesilva@gmail.com
384e15fbdaa55431540d81542c3cbb215c0f67a0
70cb76fbbee81dcf8beeb531d98fbeaf9f97cbd7
/PASTA.py
83a0f2cd06163481b5ef2ed5d8c230e2703fbdf4
[]
no_license
someshsharma63/Restaurant-System
05ec858eafcaf883317c371a21ed2b9b6ac8cb09
c83416a98c0b5ab7ad140c12a8392ecc10bb3825
refs/heads/master
2020-08-07T23:59:23.158702
2019-10-08T12:10:35
2019-10-08T12:10:35
213,632,040
0
0
null
null
null
null
UTF-8
Python
false
false
2,130
py
from tkinter import * root=Tk() root.title("Pasta") root.geometry("500x500") framePasta=Frame(root) framePasta.pack(side="right",fill=BOTH,expand=True) ButtonCHEESEPASTA=Button(framePasta,text="CHEESE PASTA",width="15",font=("calibri",17,"bold"),height=5) ButtonCHEESEPASTA.grid(row=0,column=0,sticky="nsew"...
[ "noreply@github.com" ]
someshsharma63.noreply@github.com
0588499572b5db43202033b8b7e52943684e02b8
6811dc616a18898f565ee1e59f52a889da2b4d47
/clog/urls.py
7e24d23a5403e98aa3fd5f1454f3dabc71e0531f
[]
no_license
rtreharne/clog
163e28b8e387e7f2fe926d88e28972c115294508
69320d929d96fd291e6da8fc11023d14da998655
refs/heads/master
2021-01-10T18:24:16.863481
2015-08-18T13:58:07
2015-08-18T13:58:07
40,085,671
0
0
null
null
null
null
UTF-8
Python
false
false
563
py
from django.conf.urls import patterns, include, url from django.contrib import admin from django.conf import settings urlpatterns = patterns('', url(r'^$', 'clog.views.home', name='home'), url(r'^admin/', include(admin.site.urls)), url(r'^user/', include('profiles.urls')), url(r'^upload/', include('upl...
[ "R.Treharne@liverpool.ac.uk" ]
R.Treharne@liverpool.ac.uk
3d16576478fa4173a6b4ac13bd24082a5243908a
507e9728307439fa3b343de015237e2f179b0032
/hospital/api/AConfig.py
9fa547be309e9abd3052ecb9319676517a13cbcb
[]
no_license
haobin12358/hospital
3075f31c4ed527190292f2655350ef0bbc9ac7f3
9705e03eaf9514eb47f1d44d2bbe18ccf5cd5b30
refs/heads/master
2022-12-14T01:48:56.759520
2021-03-02T04:00:47
2021-03-02T04:00:47
245,367,609
2
1
null
2022-12-08T03:45:40
2020-03-06T08:32:44
Python
UTF-8
Python
false
false
1,128
py
# -*- coding : utf-8 -*- from hospital.extensions.base_resource import Resource from hospital.control.CConfig import CConfig class AConfig(Resource): def __init__(self): self.cconfig = CConfig() def get(self, config): apis = { "list_banner": self.cconfig.list_banner, "g...
[ "1276121237@qq.com" ]
1276121237@qq.com
58283a877c92264ed11f230941d6d677d08e6af0
c829213e49a18c1b5b8fbfb37bcad4258b2c6fba
/CoderParadise/users/forms.py
c1af099f0d7e8e466087cea2022933382661a095
[]
no_license
NTUST/108-team5
f6b8ee29fceb0bd63278f690ba9723cb0e81c28d
e71dcca6ffeb5f73c769337b22938f15b453f064
refs/heads/master
2022-12-11T09:57:41.809315
2019-06-19T15:15:32
2019-06-19T15:15:32
172,817,739
6
0
null
2022-11-22T03:50:44
2019-02-27T01:12:56
HTML
UTF-8
Python
false
false
921
py
from django import forms from django.contrib.auth.models import User from django.contrib.auth.forms import UserCreationForm from .models import UserProfile from django.core.files.images import get_image_dimensions from ckeditor.fields import RichTextFormField class UserRegisterForm(UserCreationForm): email = forms...
[ "leoxz02leo@outlook.com" ]
leoxz02leo@outlook.com
9d59bed8d06382c07e4a5134ae0c40d289c3960c
6366f8d344d88101ebb5d6c1dfe77dc8cf81d265
/Test85.py
f9d53816010c2d441505db1888f164b75f98930e
[]
no_license
bobbypt05/ICE---HRM-Testing
54ccf28b6cd9fdc5ceb49bd115baa250d2a7323f
c8d061eb62ee7465cb614ea85012391c4bd83976
refs/heads/master
2020-09-09T07:53:02.418745
2019-11-13T01:24:33
2019-11-13T01:24:33
221,392,192
0
0
null
null
null
null
UTF-8
Python
false
false
3,203
py
# -*- coding: utf-8 -*- from selenium import webdriver from selenium.webdriver.common.by import By from selenium.webdriver.common.keys import Keys from selenium.webdriver.support.ui import Select from selenium.common.exceptions import NoSuchElementException from selenium.common.exceptions import NoAlertPresentException...
[ "bobbypt05@gmail.com" ]
bobbypt05@gmail.com
679b253d7f74808791e9fb785f946b825d3f2d31
ffefea09bc3bcbf02abcbc8c8eee1d5f32c3b857
/dtn/MNIST_USPS_p1/queuer.py
b2ea71dbb8960ce9301f882e6ddb469e1fe00875
[ "MIT" ]
permissive
elchico1990/domain_sampler_nets
0b51a6d5ee0ea02b72c7ae7595f3ac2a5b8dbeff
51103462f2f28125b50b81af8a759c1dac46531d
refs/heads/master
2020-03-16T18:59:25.179460
2018-03-21T09:53:32
2018-03-21T09:53:32
null
0
0
null
null
null
null
UTF-8
Python
false
false
596
py
import zmq import sys def main(): context = zmq.Context() queuerBe = context.socket(zmq.DEALER) queuerBe.bind('tcp://*:5570') queuerFe = context.socket(zmq.ROUTER) queuerFe.bind('tcp://*:5560') poll = zmq.Poller() poll.register(queuerFe, zmq.POLLIN) while True: ...
[ "rvolpi@capri11.Stanford.EDU" ]
rvolpi@capri11.Stanford.EDU
a99f22fac472b6feaf6d196d7ba23b1ceea6c804
991a7fc38847c51b9c44ad2abf7f8a4dd4a75d3f
/vnpy/app/cta_crypto/__init__.py
ddb80071b8ece5d87252dcfdfb8f6c43dbc4d66b
[ "MIT" ]
permissive
alexfordc/lee_vnpy
0e15a09432d101b719540ef252a3907e22c023a1
55e2f60aee94682a08e2c10bdd927e436811382c
refs/heads/master
2021-05-17T21:44:47.897021
2020-03-29T05:28:10
2020-03-29T05:28:10
250,966,103
0
1
MIT
2020-03-29T06:08:30
2020-03-29T06:08:30
null
UTF-8
Python
false
false
632
py
from pathlib import Path from vnpy.trader.app import BaseApp from .base import APP_NAME, StopOrder from .engine import CtaEngine from .template import ( Direction, Offset, Status, Interval, TickData, BarData, TradeData, OrderData, CtaTemplate, CtaFutureTemplate) # noqa from vnpy...
[ "123122492@qq.com" ]
123122492@qq.com
bc2a86c16fdc46755d1f68ef3d15c959ac845b19
b2ed893d04f04eeaf7209187133de7431c476a96
/user_net/activity_info.py
94dc0c294de672dfcb333926cf41fa221e1c7235
[]
no_license
liruikaiyao/workshop
4b5221259f59ad504d87d73c31f5fa0e58d4a1f0
6dbde74e35ef02f5e92c76dcdd1909f1d0afb89e
refs/heads/master
2021-01-17T16:09:13.248109
2015-08-05T09:43:21
2015-08-05T09:43:21
23,420,887
0
0
null
null
null
null
UTF-8
Python
false
false
1,674
py
# coding=utf-8 __author__ = 'Carry lee' from collections import Counter import datetime import urllib2 import json from config.db import ICCv1, sh, utc api_url = u'http://api.map.baidu.com/geocoder/v2/?ak=' parameter = u'&output=json&coordtype=wgs84ll&location=' ak = 'SIpMcORCSogM916QMOz5tx7S' weixin = ICCv1['weixi...
[ "liruikaiyao@gmail.com" ]
liruikaiyao@gmail.com
327256d7a433ba37df241987b159a68ca5fe7e81
edc576c94b2724a98cc5e49a9ac3209133ae544c
/deepfacet/mlb_DodecahedronGeometry.py
6a7b127c1102e1e5866aaf4e68f821181954b874
[]
no_license
alexahs/DeepFacet
980c105269a754a009fd8a2167cfddb2f81a9631
ce6f43155387fc6f6b309aa23e911189b0182a7e
refs/heads/main
2023-08-20T07:51:16.692144
2021-10-18T16:42:18
2021-10-18T16:42:18
401,029,896
3
0
null
null
null
null
UTF-8
Python
false
false
1,000
py
from molecular_builder.geometry import PlaneGeometry import numpy as np class DodecahedronGeometry(PlaneGeometry): """ Taken from molecular builder source code: https://github.com/henriasv/molecular-builder/ A convex rectangular dodecahedron geometry to be used for silicon carbide (SiC). :param d:...
[ "alexander.sexton@infomedia.dk" ]
alexander.sexton@infomedia.dk
7db06e472032ce8391e3363466790dae510de469
66d0559da61eb9d09ef3bda297b7e3aaf7549e4d
/ClientCode_19.9.9/ChangeThemeWin.py
00b12c9872d5c4ee12472a1c39ac227b799ec391
[]
no_license
HappyPointer/Spam-Recognition-System-19
d7eb1984678b5f892d7c336034839f06f38afa22
fd6f6dbf1c80141ad225446304f3c4c65a515dc8
refs/heads/master
2020-07-07T07:02:55.191812
2019-09-10T14:41:44
2019-09-10T14:41:44
203,285,870
3
2
null
2019-09-09T01:45:02
2019-08-20T02:37:34
Python
UTF-8
Python
false
false
16,344
py
""" 说明:换肤窗口,为用户提供多种个性装扮。当用户点击主界面MainUI中右上角的换肤图标时跳出本窗口, 用户点击本窗口中的任意主题并确认即可换肤 作者:71117205丁婧伊 创建时间:2019/9/8 8:23pm 最后一次修改时间:2019/9/10 9:35am """ import traceback from functools import partial from PyQt5.QtCore import Qt, pyqtSignal from PyQt5.QtGui import QCursor, QPixmap, QIcon from PyQt5.QtWidgets import QW...
[ "noreply@github.com" ]
HappyPointer.noreply@github.com
80e133ecd3f92edf940d262ef396d4bb0b0d6f90
9dee53bfc35c5c21cd4b20b197fa2d5b6bed16a6
/CTFd/utils/email/__init__.py
d2b39beb92a261d1e43e0c56ae4760ec0d6108cf
[ "Apache-2.0" ]
permissive
Shad0w-Synd1cate/CTFd
c8656e23533c9b32b492911df5d4411c6c4951be
0d64a37b3b06929f836a4e6cb2d462fe14e1e40e
refs/heads/master
2020-12-04T13:33:35.777021
2020-01-20T01:30:37
2020-01-20T01:30:37
231,782,690
0
0
Apache-2.0
2020-01-05T21:38:27
2020-01-04T15:09:19
Python
UTF-8
Python
false
false
1,959
py
from flask import url_for from CTFd.utils import get_config from CTFd.utils.formatters import safe_format from CTFd.utils.config import get_mail_provider from CTFd.utils.email import mailgun, smtp from CTFd.utils.security.signing import serialize def sendmail(addr, text, subject="Message from {ctf_name}"): subjec...
[ "noreply@github.com" ]
Shad0w-Synd1cate.noreply@github.com
7670f28ba7aabb549461ab2ef055a921d977f465
19236d9e966cf5bafbe5479d613a175211e1dd37
/cohesity_management_sdk/controllers/certificates.py
419684769ccf8289a0dc95ec3fbc113bd7eed60f
[ "MIT" ]
permissive
hemanshu-cohesity/management-sdk-python
236c44fbd9604809027f8ddd0ae6c36e4e727615
07c5adee58810979780679065250d82b4b2cdaab
refs/heads/master
2020-04-29T23:22:08.909550
2019-04-10T02:42:16
2019-04-10T02:42:16
176,474,523
0
0
NOASSERTION
2019-03-19T09:27:14
2019-03-19T09:27:12
null
UTF-8
Python
false
false
6,978
py
# -*- coding: utf-8 -*- # Copyright 2019 Cohesity Inc. import logging from cohesity_management_sdk.api_helper import APIHelper from cohesity_management_sdk.configuration import Configuration from cohesity_management_sdk.controllers.base_controller import BaseController from cohesity_management_sdk.http.auth.auth_manag...
[ "ashish@cohesity.com" ]
ashish@cohesity.com
0ecd07731b356d536fe9a4dc781886663a0a62e4
2fcb8038c7f87da4ae2408f45bb8cdf40e1b90e3
/myTest/global/global.py
7f77d11b5bb4b13e5a770f4f5568bdef67631be6
[]
no_license
JokerZhu/PythonLearn
dceb8cb8fbf5b4e1edce4ca96ce847ed38056cce
27c2f53e8e1c53b9e680b6558797a2cab695561e
refs/heads/master
2020-04-16T07:42:47.384470
2018-09-12T09:51:21
2018-09-12T09:51:21
36,870,000
2
0
null
null
null
null
UTF-8
Python
false
false
146
py
#!/usr/bin/python3.4 x = 50 def func(): global x print('x的值是', x) x = 2 print('全局变量x改为', x) func() print('x的值是', x)
[ "z_jing_wei_10@163.com" ]
z_jing_wei_10@163.com
078c96a9b10e7f7913654e533eeda707766c6979
72b4f3ae71dcc6cc39c1987bd3550e02d364b43e
/VOC2012_AUG/utils.py
e28b906c5b9e3325e91005dd1b38ae1df9087535
[]
no_license
tangzhenjie/deeplabv3
6f462a2554a7038319ed0b0e7ed5d02b25592404
fc7158f82f8712268d2acb0683e9f00a2686dfa4
refs/heads/master
2020-06-19T17:53:17.266676
2019-08-07T02:19:43
2019-08-07T02:19:43
196,810,231
2
0
null
null
null
null
UTF-8
Python
false
false
3,669
py
#!/usr/bin/env python # Martin Kersner, m.kersner@gmail.com # 2016/03/11 import scipy.io import struct import numpy as np def pascal_classes(): classes = {'aeroplane' : 1, 'bicycle' : 2, 'bird' : 3, 'boat' : 4, 'bottle' : 5, 'bus' : 6, 'car' : 7, 'cat' :...
[ "2819786276@qq.com" ]
2819786276@qq.com
b0fb1dd21188b414f92475ad5ecc9e6106075637
ff97f84275ff7997f8ab9417d75a026bf2dc23c3
/_02_02.py
57f95be8ab7c2da26172cc211b70ebbec15368e7
[]
no_license
yurimkoo/numpy-lab
c9f355b2c6507efb956712bbc8aa1cf91365f71b
316577987a1a027f0d90104c37777fac4584abc4
refs/heads/master
2021-01-21T20:39:01.771787
2017-05-24T15:56:55
2017-05-24T15:56:55
92,266,064
0
0
null
null
null
null
UTF-8
Python
false
false
523
py
# 낮과 밤의 속도의 차이 plotting import numpy as np import matplotlib.pyplot as plt data = np.loadtxt('data2.txt') day, night = data.T print("day - night:", day-night) print("|day - night|:", abs(day-night)) ID = np.arange(1, len(day)+1) plt.plot(ID, day-night, 'k.') # 양과 음의 값 plt.title("Distribution of day-n...
[ "yurimzzang51@gmail.com" ]
yurimzzang51@gmail.com
7080cff6932dd365f3332a5487091c0646eb9781
aae9baf451966e81ad48846f5df123351fefe3d1
/test_circle.py
ca1ce892406841b4bde33c55a5b4c149f3a12f36
[]
no_license
7esting/py-repo
39b50ebb71d628bdb8710573c38076ecf1325fcc
94e413a9f4bbb4b05240ce7fbc2935620372c35d
refs/heads/master
2020-04-08T11:23:44.136753
2019-01-30T08:19:07
2019-01-30T08:19:07
159,303,262
0
0
null
null
null
null
UTF-8
Python
false
false
751
py
"""Unit Tests. \"Trust but verify.\" - Shakesphere.""" # File name: test_circles.py import unittest from circles import circle_area from math import pi class TestCircleArea(unittest.TestCase): def test_area(self): # Test areas when radius >= 0 self.assertAlmostEqual(circle_area(1), pi) self.assertAlmostEqual(ci...
[ "7esting@gmail.com" ]
7esting@gmail.com
be3079255ff0c6f0516f22a40d69ef50e6948839
9515a4c50d24b0dbbbd03d307bb7cfa7ef800c64
/manage.py
e644d48503620106cf4cc0a910b0625bea02e1f7
[]
no_license
zlzr200599/Test_dJango
6df0295a98b2c1ebca1a30b99fd93944d482b027
7cf428a81bf709cb6eb44e117d21118e9398628b
refs/heads/master
2021-01-21T11:16:16.141855
2017-03-01T10:55:56
2017-03-01T10:55:56
83,544,668
0
0
null
null
null
null
UTF-8
Python
false
false
805
py
#!/usr/bin/env python import os import sys if __name__ == "__main__": os.environ.setdefault("DJANGO_SETTINGS_MODULE", "Test_dn.settings") try: from django.core.management import execute_from_command_line except ImportError: # The above import may fail for some other reason. Ensure that the ...
[ "zlzr200599@gmail.com" ]
zlzr200599@gmail.com
4084290fcf60c4bc0684288c02b15d7f93ae83dd
4c9f6ec19e36e0791f7970e8863fc6e4bec3641e
/Py-backup/TVD_png2docx.py
82a2ad268a126fb352df356f1eddd66e46c5afc7
[]
no_license
vivlavie/PyPHAST
cd7e75ad8ef135609d91b9101d256a1d51a54602
809f4fce0e8b73d44d34952408a17e5e846e55e3
refs/heads/master
2022-07-10T09:12:57.742156
2020-05-08T13:49:44
2020-05-08T13:49:44
260,618,659
0
0
null
null
null
null
UTF-8
Python
false
false
1,981
py
from openpyxl import load_workbook import dill from docx import Document from docx.shared import Cm, RGBColor, Pt from docx.text.run import Font, Run # from docx.dml.color import ColorFormat import re def slugify(value): """ Normalizes string, converts to lowercase, removes non-alpha characters, and conve...
[ "dr.sunghoon.kim@gmail.com" ]
dr.sunghoon.kim@gmail.com
a907b10a10fa739cebb6a2d9d28ef3ddc01bc2f9
e770533cc7d8517134d6f9159f5f9e52747c7153
/python/04selenium/selenium014.py
88e3348deb7fa6521253c9474ea652722cafae13
[]
no_license
code1990/bootPython
5d878f7fac8aaa09a2b9e4a6d50a3c0f86c6dea5
e5debd59b07a2c713f3e692aa4f44a9d2e5baeae
refs/heads/master
2022-07-27T04:31:00.292692
2020-08-07T07:07:15
2020-08-07T07:07:23
206,805,170
0
0
null
2020-10-13T15:51:34
2019-09-06T13:56:39
Python
UTF-8
Python
false
false
634
py
# (十四)下拉框选择 from selenium import webdriver from selenium.webdriver.support.select import Select from time import sleep driver = webdriver.Chrome(executable_path='C:\driver\chromedriver.exe') driver.implicitly_wait(10) driver.get('http://www.baidu.com') # 鼠标悬停至“设置”链接 driver.find_element_by_link_text('设置').cl...
[ "s1332177151@sina.com" ]
s1332177151@sina.com
a9f4fef1e4376bfc10ef1a75e7fe509d20b30fac
1e0e610166b36e5c73e7ff82c4c0b8b1288990bf
/mail/mail02.py
dbc58ae4fa61f846897bc4421ee3a39ac60cfbbc
[]
no_license
PythonOpen/PyhonProjects
4ef1e70a971b9ebd0eb6a09e63e22581ad302534
ede93314009564c31aa586d2f89ed8b1e4751c1b
refs/heads/master
2022-05-20T23:21:03.536846
2020-04-27T00:59:32
2020-04-27T00:59:32
250,142,108
0
0
null
null
null
null
UTF-8
Python
false
false
1,665
py
from email.mime.text import MIMEText import smtplib # MIMEText三个主要参数 # 1.邮件内容 # 2.MIME子类型,在此案例我们用plain表示text类型 # 3.邮件编码格式 main_content=""" <!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <title>Title</title> </head> <body> <h1>这是一封H...
[ "1083138609@qq.com" ]
1083138609@qq.com
91d54ca42f1b60b27b644774e15e6df0c31cf44e
f5d26e1403de16e8bcb022b954ab8f68e8b6733e
/comments/python_comments.py
66d6eed9005fd1fe785bf4c0e8f60d119bbddc65
[ "Apache-2.0" ]
permissive
aryanz-co-in/python-comments-variables-type-casting-operators
823fe24e840ddc68b7c7a82c6a4cf10a37d6739b
cdc1ccdb6ccc32c539b988e9169c6ff7d585bea2
refs/heads/main
2023-02-25T11:11:05.448802
2021-01-31T13:19:18
2021-01-31T13:19:18
330,080,631
0
0
null
null
null
null
UTF-8
Python
false
false
876
py
# Python Comments # Single line comment print("End of line comment, which will ignore anything after # and treat is as comment \n\n") # End of line comments # This # is # Multi line comments print("Multi line comment is nothing but using the # to be prefixed at start of the line.\n\n") """ Well this is also a...
[ "balamurugan.th@gmail.com" ]
balamurugan.th@gmail.com
58881bd351dcea4ee757f3d9e6d5131f643fa74a
0df1ccb1af31d5ce9d32af640ad948525ddc9ac3
/session.py
5689aded565c670bed65a3fb531cc0359f6cd362
[ "Apache-2.0" ]
permissive
SsureyMoon/Python-GoogleAppEngine
0d5b6bb8252aed14de9c1df26964905ece6bb80f
8afd367fcaf379a63f39e0077a75c3d06543a744
refs/heads/master
2020-04-06T21:55:44.552332
2015-06-20T08:04:12
2015-06-20T08:04:12
37,762,607
0
0
null
null
null
null
UTF-8
Python
false
false
24,096
py
import json from datetime import datetime from itertools import ifilter import endpoints from google.appengine.api import memcache from google.appengine.ext import ndb from protorpc import messages from protorpc import message_types from protorpc import remote from core import EMAIL_SCOPE, API_EXPLORER_CLIENT_ID,\ ...
[ "ssureymoon@gmail.com" ]
ssureymoon@gmail.com
d54cc75966e856301a0dcf4985642e9a0b5898a5
baf72cca99b66cca6f6300fcb9f89a39845ee3fd
/dashboard/migrations/0003_post_views.py
380588cf59b5dd62b8983c6a8d4f9f98fa944122
[]
no_license
anisiomarrime/tol-uat
54af169c1f7f7a9300b01a3c513b7c05f5d6d8ff
91d598987e958ca612e6c4854e7d037e22d75a6a
refs/heads/master
2022-12-27T03:29:38.510438
2020-09-29T16:50:17
2020-09-29T16:50:17
299,680,972
0
0
null
null
null
null
UTF-8
Python
false
false
382
py
# Generated by Django 2.2.7 on 2020-03-05 13:07 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('dashboard', '0002_auto_20200305_1231'), ] operations = [ migrations.AddField( model_name='post', name='views', ...
[ "anisio.marrime@gmail.com" ]
anisio.marrime@gmail.com
31cdcf71be688cfac6a59016037fa0c88fbc9eec
6dfdacb37c29778768c1384e88a7bb40a60ffd9f
/CS_AppsStore/project_env_appstore/lib/python3.7/site-packages/CS_AppsStore/tycho_nextflow/deployment.py
b3ef401b74ab3f71d21760201696de8bc080f920
[]
no_license
ananyagithub2/test_allauth
03235a77e4d92ef0fb15d7ac02f6a31cb9bef85c
1266742505e27d4329222cadebab982ce85d1d67
refs/heads/master
2022-04-03T02:12:28.322767
2020-02-24T16:12:01
2020-02-24T16:12:01
242,587,241
0
0
null
null
null
null
UTF-8
Python
false
false
2,267
py
import os import yaml from tycho.client import TychoClientFactory import time from django.http import HttpResponseRedirect def deploy(): try: client_factory = TychoClientFactory() client = client_factory.get_client() tycho_url = client.url print(f"TYCHO URL: {tycho_url}") exce...
[ "ananyam@rciadmins-MacBook-Pro.local" ]
ananyam@rciadmins-MacBook-Pro.local
76f8ac209548c5d2c1fd9f573f7d8158456d853f
42eace12c1d6b54b775e1ff9dce9a1726b5048d0
/job/migrations/0002_auto_20181206_1218.py
0b0685dae1af7fa9f9eba1916eb6462666c93f3c
[]
no_license
macmohan26/PortfolioBlogwebapp
c9b9936cb638c2eb672667114fdaa4680b47b932
ff5675d304edb13c29ff725fbb8aa9155402054a
refs/heads/master
2020-04-11T14:29:07.023266
2018-12-15T02:07:10
2018-12-15T02:07:10
161,856,763
0
0
null
null
null
null
UTF-8
Python
false
false
1,570
py
# Generated by Django 2.0.5 on 2018-12-06 17:18 from django.conf import settings from django.db import migrations, models import django.db.models.deletion import django.utils.timezone class Migration(migrations.Migration): dependencies = [ migrations.swappable_dependency(settings.AUTH_USER_MODEL), ...
[ "mrathore@unomaha.edu" ]
mrathore@unomaha.edu
fbfe7a8c892ccaf8a85a6c82938fd2cba4859293
f441537763dd490b6c365bfd7b4f33bbdd62f11f
/robin.py
ebbd036fda491633de65cfec1c48391f66b434f4
[]
no_license
kristopolous/robinhood-analytics
2482934823506088f691f7adf12a2272095ca9b6
59512e955c975a18ee37ba99f1c548b3dd184d6f
refs/heads/master
2022-12-24T12:11:15.957349
2020-10-04T21:57:26
2020-10-05T21:57:26
286,158,739
0
1
null
null
null
null
UTF-8
Python
false
false
12,424
py
#!/usr/bin/env python3 from pyrh import Robinhood import urllib import sys import json import os import dateparser, datetime, time from colr import color import db import lib YEAR = 365.2524 def get_archive(stockList = None): global last if stockList is None: stockList = lib.getsymols() if type(stockList...
[ "kristopolous@yahoo.com" ]
kristopolous@yahoo.com
5704a6e8200a1842c1da7c558ef26fbc91662ce3
c071eb46184635818e8349ce9c2a78d6c6e460fc
/system/python_stubs/-745935208/_ast/Eq.py
65f93d36a7d2abe45c41f6fe9cdfc0b757574bc7
[]
no_license
sidbmw/PyCharm-Settings
a71bc594c83829a1522e215155686381b8ac5c6e
083f9fe945ee5358346e5d86b17130d521d1b954
refs/heads/master
2020-04-05T14:24:03.216082
2018-12-28T02:29:29
2018-12-28T02:29:29
156,927,399
0
0
null
null
null
null
UTF-8
Python
false
false
347
py
# encoding: utf-8 # module _ast # from C:\Users\siddh\AppData\Local\Programs\Python\Python37\lib\site-packages\numpy\core\_dummy.cp37-win_amd64.pyd # by generator 1.146 # no doc # no imports from .cmpop import cmpop class Eq(cmpop): # no doc def __init__(self, *args, **kwargs): # real signature unknown ...
[ "siddharthnatamai@gmail.com" ]
siddharthnatamai@gmail.com
29ef0030765216e8ee664d7ecb0a5486c0605619
6e5590d564125dc9261d6749ea896acf2e70c019
/release/create-constraints.py
91b80821357ddcfe120340469fd1aa23488c1c31
[]
no_license
andreasma/buildout.coredev
fdf6355b3e9f9732dad6d238b18f6aef22866b34
1030e2ec271b91484eb774f9c97ca6eaada44d79
refs/heads/5.2
2021-12-29T07:18:41.440633
2021-12-06T08:20:02
2021-12-06T08:20:02
240,798,449
0
0
null
2020-02-18T16:14:02
2020-02-15T22:45:09
Python
UTF-8
Python
false
false
2,020
py
# -*- coding: utf-8 -*- """Parse versions from buildout.cfg and write them into constraints.txt. This script is called by 'tox -c release/tox.ini -e constraints2' or constraints3 It must work in both Python 2 and 3. Manual usage: bin/python create-constraints.py zc.buildout needs to be importable in that python. """...
[ "maurits@vanrees.org" ]
maurits@vanrees.org
50f2430a2f70ad89b97ecf0b80ada7989f14448c
9732fe676f4618c78b3ffd482d2c50347077a84c
/Search item 1st occurrence.py
dbab754a2f4d41c7a0ea5e1c289ec95df6209010
[]
no_license
Abhijeet198/Python-Program
16a733391d2420183613ae6797aad3a5360a0808
ead71392d7bb26de0b3cd9eb896a10f186f93395
refs/heads/master
2020-12-23T17:32:26.734934
2020-04-03T05:20:23
2020-04-03T05:20:23
237,219,738
0
0
null
null
null
null
UTF-8
Python
false
false
527
py
# Search item's 1st occurrence - index() mytuple=(1,3,5,7,2,3,1,4,6,7,8,1,2,3,1,) num = int(input("Enter item to be searched")) x = mytuple.index(num) print("First occurrence of the",num,"is at index:",x) # Count Occurrence of items-count() #count()>> number of times the item appears in the Tuple pri...
[ "noreply@github.com" ]
Abhijeet198.noreply@github.com
e6de3511f6f2fdee9e45700e02bc864b73345fc4
c66074d8815887a1faf6e67d35ff041af3fffb0e
/LivingMachines2013_9/gamePopulationClass.py
5b0aa363288406bac806f80d9dbdbf7749908b26
[]
no_license
rheiland/DarwinianNeurodynamics
b1eda114df838ccfbc2cd80f7832b594f70e1da4
602cdffaeef808b1e8029afcf7e7c9b0f71e8b0c
refs/heads/master
2021-01-18T10:53:27.372958
2013-04-22T15:01:08
2013-04-22T15:01:08
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,488
py
from naoqi import * import math import almath import random from gameClass import gameClass global actors import copy class gamePopulationClass(ALModule): """Game population class""" def __init__(self,name, type): ALModule.__init__(self,name) self.isRunning=True self.mm = ALProxy("...
[ "ctf20@sussex.ac.uk" ]
ctf20@sussex.ac.uk
c5a0b602802047331764d01e3710f4ec2987177d
2b28ef0b41b7d9eccbd54d30951591b84c9abfdb
/codes/DQN.py
38cfe2b25b80ba8ade8b159597ca75e01fd58a8e
[]
no_license
wangzz15/Playing-ViZDoom-based-on-DQN
b83665b6bee9fc757aeea034c04a29fd61f564a4
fba5a17f3e99a5febd0f4cd87fa13d73e1502447
refs/heads/master
2022-11-20T06:22:55.768904
2020-07-20T14:36:50
2020-07-20T14:36:50
281,140,853
0
0
null
null
null
null
UTF-8
Python
false
false
6,431
py
import os import random import numpy as np import torch import torch.nn.functional as F import torch.optim as optim from memory_buffers import ReplayBuffer from nn_models import DQNetwork class StateMotion(): def __init__(self, frame_shape, num_frames, device='cuda:0'): self.num_frames = num_frames ...
[ "wangzz15@tsinghua.org.cn" ]
wangzz15@tsinghua.org.cn
73676db8fb5ad6d93116521e45d1b67101bb0caf
5ba91f39171497a9ee26567eee0627a5b9134ccf
/vis.py
c1cb615b535e179b21210f466a5f510cec66a491
[]
no_license
agrafix/grabcite-net
bade98be3bce947701e14bd6ad48ad350234d608
4fa9c81d5c46114a981edab19a3c1b6e07f85a41
refs/heads/master
2021-03-27T08:45:30.067163
2017-10-08T21:22:55
2017-10-08T21:22:55
93,861,790
3
1
null
null
null
null
UTF-8
Python
false
false
5,396
py
# visualise a data set # local imports import prepare_data as pd from config import data_glob # package imports import glob import numpy as np from tqdm import tqdm import matplotlib matplotlib.use('agg') import matplotlib.pyplot as plt plt.style.use('ggplot') # std lib from collections import Counter from urllib.r...
[ "mail@athiemann.net" ]
mail@athiemann.net
95513d0222466b05775626ce21dbbcff1a0f2158
09e57dd1374713f06b70d7b37a580130d9bbab0d
/data/p4VQE/R1/benchmark/startQiskit_noisy68.py
2abe4bba4276c4ad5fc8fe827f963e48f6c2e57f
[ "BSD-3-Clause" ]
permissive
UCLA-SEAL/QDiff
ad53650034897abb5941e74539e3aee8edb600ab
d968cbc47fe926b7f88b4adf10490f1edd6f8819
refs/heads/main
2023-08-05T04:52:24.961998
2021-09-19T02:56:16
2021-09-19T02:56:16
405,159,939
2
0
null
null
null
null
UTF-8
Python
false
false
2,423
py
# qubit number=3 # total number=9 import numpy as np from qiskit import QuantumCircuit, execute, Aer, QuantumRegister, ClassicalRegister, transpile, BasicAer, IBMQ import networkx as nx from qiskit.visualization import plot_histogram from typing import * from pprint import pprint from math import log2 from collection...
[ "wangjiyuan123@yeah.net" ]
wangjiyuan123@yeah.net
def4314c7820727d47ae584b6003a9ba2b1c1f8f
e070ae82ebca838948bda28882b99bce036d1b9f
/spider/telegram.py
9cce7b7b884a9ab7d35099a5a1d6d49537eaecbb
[]
no_license
sheng2333/new_resources
e29bd7ab3af07259957d498b4221a1b3c56a2172
96987e79abcc5fbb1bcd74e9c96b7cfa20eb3e6d
refs/heads/master
2020-04-19T08:18:18.729854
2018-12-27T11:23:18
2018-12-27T11:23:18
168,072,230
1
3
null
2019-02-16T05:25:05
2019-01-29T02:08:46
Python
UTF-8
Python
false
false
4,599
py
import sys import os sys.path.append("./../") from db.mongodb import connectMongo import requests from lxml import etree from tools.translate.translate_google import mainTranslate import time import logging # 全局变量 类对象 telegramObj = None telegramResourcecollection = None telegramUrlColletion = None class MongoDB():...
[ "huguangjing@globalegrow.com" ]
huguangjing@globalegrow.com
fb2ad1469a3b5b969fe792f8502ac2afe0658c59
42dd928353c1d534ce149322c3ae65ec97545ac5
/boards/urls.py
be9271e3a125345f3a34e95f4a524d2995e7a0c8
[]
no_license
yeojinhwang/django_recrud
1ef480b3c5802ce5c3c5487eef8344588e52b0c0
d2fdf3f68fbdf6dcf85e0736ec4ccec25af70979
refs/heads/master
2020-04-28T08:10:51.572333
2019-03-18T02:26:46
2019-03-18T02:26:46
175,116,967
0
0
null
null
null
null
UTF-8
Python
false
false
673
py
from django.urls import path from . import views app_name = 'boards' urlpatterns = [ path('', views.index, name='index'), # boards:index path('new/', views.new, name='new'), path('<int:board_pk>/', views.detail, name='detail'), # path('create/', views.create, name='create'), path('edit/<int:board_...
[ "hwangyj0202@gmail.com" ]
hwangyj0202@gmail.com
a0ff9afe2f9a4d79aea2f7d6c0bba518ccf73cf9
be22c3bf693c7626f2fe27232933beb35981e200
/mtzs2structures.py
d955b92cf9e380a98e14d7490a338443417508e1
[]
no_license
miket928/mct_useful_scripts
cc9130b16e226b8d7673856f383ae72e8fdc53f0
b9b05f329052a639f64acd06f1ca7c473bb1c4f2
refs/heads/master
2021-05-14T02:32:45.684463
2018-10-04T03:40:04
2018-10-04T03:40:04
116,596,419
1
0
null
null
null
null
UTF-8
Python
false
false
6,850
py
#Script for copying a set of Rfree flags across multiple isomorphous data sets and #perform rigid-body refinement to initiate rebuild. #Usage: libtbx.python mtzs2structures.py [isomorphous.pdb] [r_free.mtz] #You will need to source a phenix installation to run with libtbx.python #Run from a directory containing all of ...
[ "miket928@users.noreply.github.com" ]
miket928@users.noreply.github.com
8142a079cb5679353a2068fb899c1793ccb9dbb0
56a00818882990c758aab49b2f71b3c340f966ab
/Implementations/content/contest/genLong.py
0eeaaa0544b1f1eeb8f3744c182fc745c801a019
[ "MIT" ]
permissive
ManishGotame/USACO
2c4d651da2af9500637ea063e8775cbde7a78009
24ef4c9a298695c7a8770726e6ac3eb6180fe56f
refs/heads/master
2020-09-13T09:07:20.669660
2019-11-18T00:37:44
2019-11-18T00:37:44
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,266
py
filenames = ['template.cpp', 'CppIO.h', '../number-theory (11.1)/Modular Arithmetic/Modular.h'] with open('templateLong.cpp', 'w') as outfile: res = [] active = False def ad(line): global active if line.startswith('#include "'): return if line.startswith('/**'): active = True if active and '*/' in lin...
[ "bqi343@gmail.com" ]
bqi343@gmail.com
9d32305746ee8dc48cfda6a108885921793c9eb2
8b16579c1b89a1ac33ec0c5584236922d508eb9b
/proyectodetiempo/settings.py
2fd4372c1f040b78fecc9a0dc3b3f1291ef98e44
[]
no_license
SergioAnanias/time_display
c9c6f26466ffcbea3833d6a9177397b8a776037b
498a948ff53c2cd6233ed2bea8f88825838dba8b
refs/heads/main
2023-05-09T19:36:48.397757
2021-06-05T18:10:09
2021-06-05T18:10:09
373,287,364
0
0
null
null
null
null
UTF-8
Python
false
false
3,289
py
""" Django settings for proyectodetiempo project. Generated by 'django-admin startproject' using Django 3.2.3. 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/ """ fro...
[ "sergio.ananias.o@gmail.com" ]
sergio.ananias.o@gmail.com
077511796d2fb021509e9b9b7a655e16d156254f
d3375f789ee64d3ca8495cb88f8f7cfc133c48ab
/visualization.py
ddaa10ee80a054b92a857aa0f0e9f4cc84a7050a
[]
no_license
danglingP0inter/Recognition-of-Handwritten-digits
9c8964dd7fd48c8df1d69870a6a0a6884a11b042
6579b9c2e76248c028474ad7dbaa0aeebb0070b0
refs/heads/master
2020-04-18T06:33:59.318688
2019-01-24T08:25:57
2019-01-24T08:25:57
167,326,417
1
0
null
null
null
null
UTF-8
Python
false
false
362
py
from mnist import MNIST from PIL import Image, ImageDraw # Load dataset mndata = MNIST('./data/') images, labels = mndata.load_training() # Pick the fifth image from the dataset (it's a 9) i = 4 image, label = images[i], labels[i] # Print the image output = Image.new("L", (28, 28)) output.putdata(image) output.save(...
[ "noreply@github.com" ]
danglingP0inter.noreply@github.com
25e6e896033a557680d6a173703473897e0b1fdd
000b86164340d118fc87f14d5d73265e308d50f4
/ACGPN_inference/get_score.py
6b6e1ddfb188c2c3063a109cf3d0c23a2de75c93
[]
no_license
Gogo693/frank
3ff21db9d41fff6a7c202fb130e9b5f73b2db135
ef2ad6bb39df022defd7992d4510a23fe3eb5d39
refs/heads/master
2023-04-28T10:52:40.362367
2021-05-11T15:44:11
2021-05-11T15:44:11
332,807,586
0
0
null
null
null
null
UTF-8
Python
false
false
2,701
py
# calculate inception score for cifar-10 in Keras from math import floor from numpy import ones from numpy import expand_dims from numpy import log from numpy import mean from numpy import std from numpy import exp from numpy.random import shuffle from keras.applications.inception_v3 import InceptionV3 from keras.appli...
[ "giorgio.crepaldi93@gmail.com" ]
giorgio.crepaldi93@gmail.com
1374a52f9cb3e9c340ae14537ee505ffd8ec8389
c5460c90510054bf7e827be21665e03eb8faac5d
/blog/migrations/0001_initial.py
2ff0933ef1187b31de8c556b7e5101cc40500389
[]
no_license
sergiofv/portfolio-template
f0d3d39cf256ec1833fcccb7bd3dcc41b4db9598
eb28c73c8d22918a1e960c8faa0ba5b1e991b6be
refs/heads/main
2023-01-24T13:38:46.333652
2020-12-11T22:03:08
2020-12-11T22:03:08
320,618,979
0
0
null
null
null
null
UTF-8
Python
false
false
652
py
# Generated by Django 3.1.4 on 2020-12-10 14:18 from django.db import migrations, models class Migration(migrations.Migration): initial = True dependencies = [ ] operations = [ migrations.CreateModel( name='Blog', fields=[ ('id', models.AutoField(aut...
[ "sfvsound@gmail.com" ]
sfvsound@gmail.com
8d76957311696f5d8031a0f6af07845ca6839a63
6223dc2e5de7921696cb34fb62142fd4a4efe361
/.metadata/.plugins/org.eclipse.core.resources/.history/0/10c54487a564001418adf2b9b78fa3c6
9c5974137244fcb2386c19b2e81426b669f02921
[]
no_license
Mushirahmed/python_workspace
5ef477b2688e8c25b1372f546752501ee53d93e5
46e2ed783b17450aba29e4e2df7b656522b2b03b
refs/heads/master
2021-03-12T19:24:50.598982
2015-05-25T10:23:54
2015-05-25T10:23:54
24,671,376
0
1
null
2015-02-06T09:27:40
2014-10-01T08:40:33
Python
UTF-8
Python
false
false
2,411
#!/usr/bin/env python # # Copyright 2014 <+YOU OR YOUR COMPANY+>. # # This is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation; either version 3, or (at your option) # any later version. # # This software is dis...
[ "imushir@gmail.com" ]
imushir@gmail.com
c79f5defc4669af504b01120e06bf5dba6eb51f4
2bdedcda705f6dcf45a1e9a090377f892bcb58bb
/src/main/output/community/way/lot_world/month/car_level/president_program.py
09d22c760a6b771bc4aee758f82f7a48327f5762
[]
no_license
matkosoric/GenericNameTesting
860a22af1098dda9ea9e24a1fc681bb728aa2d69
03f4a38229c28bc6d83258e5a84fce4b189d5f00
refs/heads/master
2021-01-08T22:35:20.022350
2020-02-21T11:28:21
2020-02-21T11:28:21
242,123,053
1
0
null
null
null
null
UTF-8
Python
false
false
3,135
py
## Get supported languages for translation The following code gets a list of language codes representing languages supported for translation, using the GetLanguagesForTranslate method. 1. Create a new Node.JS project in your favorite IDE. 2. Add the code provided below. 3. Replace the `key` value with an access key v...
[ "soric.matko@gmail.com" ]
soric.matko@gmail.com
c05cfa6cdcbb0ebcaf7c05cf9eea5afacaf608c7
eafa31d951cfed5a10b77ae1258f19fab29f6442
/utils/pagerduty_api.py
e82b463865d87616469a4f59d7909285eff5abea
[ "Apache-2.0" ]
permissive
apahim/qontract-reconcile
4cbd459e18a6fe1be6d54c195702df2212985955
b540660da1ee5b2f843d42cf8754381c0487b6a9
refs/heads/master
2022-05-03T16:45:50.415734
2020-10-19T13:27:11
2020-10-19T13:27:11
227,624,515
0
0
Apache-2.0
2019-12-12T14:23:09
2019-12-12T14:23:08
null
UTF-8
Python
false
false
2,506
py
import pypd import datetime import requests import utils.secret_reader as secret_reader class PagerDutyUserNotFoundException(Exception): pass class PagerDutyApi(object): """Wrapper around PagerDuty API calls""" def __init__(self, token, settings=None): pd_api_key = secret_reader.read(token, se...
[ "noreply@github.com" ]
apahim.noreply@github.com
8e81c83eca27fafe4374430fd062b2cda78d9877
ca045f22bc2660a24d44ecacdb41f7a646df3d19
/src/exemplos/2_Operadores/9_exponenciacao.py
4888c9e422a96a463e3625ae6a742f61a4d519ba
[]
no_license
gabriel1997castro/CIC-APC
db7e4114bfa0925e976b64638cac9e94845d8376
217f66ab04b0529886d2ef22ce1de15103440ba3
refs/heads/master
2020-12-25T11:32:06.276710
2016-01-27T02:57:24
2016-01-27T02:57:24
50,466,976
0
0
null
2016-01-26T23:32:49
2016-01-26T23:32:49
null
UTF-8
Python
false
false
2,414
py
# -*- coding: utf-8 -*- # @file: 9_exponenciacao.py # @author: Guilherme N. Ramos (gnramos@unb.br) # @disciplina: Algoritmos e Programação de Computadores # # Exemplos de utilização do operador de exponenciação. print 'Exponenciação:' base = 0 expoente = 0 resultado = base ** expoente print ' (%d)**(%d)...
[ "ramos@gnramos.com" ]
ramos@gnramos.com
6828773afe2c70b90d77d77c6f63e2884339c267
ce20d0de4822644e2a553d33cfa5d1ba21d2ee5e
/codingame/fall-challenge-2022/ai.py
8bf6250a90265d8ed4c706b37739908d4a1fa3f8
[]
no_license
yana87gt/procon
08bfc87756d43a7cac9d61fad271880c421e4aca
3f420f0b242f3e9108c780ca37288696e09522eb
refs/heads/master
2023-08-31T01:50:13.592343
2023-08-26T17:11:02
2023-08-26T17:11:02
92,819,190
0
1
null
null
null
null
UTF-8
Python
false
false
28,085
py
''' # IDE https://www.codingame.com/ide/challenge/fall-challenge-2022 # ルール https://tsukammo.hatenablog.com/ # Leader Board https://www.codingame.com/contests/fall-challenge-2022/leaderboard # Replay https://www.codingame.com/replay/684709569 https://www.codingame.com/replay/684770223 https://www.codingame.com/repla...
[ "syts175yana@gmail.com" ]
syts175yana@gmail.com
0eb2806e88e7b7ed43ae5003fc4771667bace830
09ae3fa519a48e81d4c0dd1ed54b1fb0ba06c804
/LAB_1/task2.py
c64bf5efd313cf5ad20f21d27b8665b22ad1964a
[]
no_license
GavrichenkoKate/infa_2021_gavrichenko
1e008141e78eecfa64deaa5ded8960164441c3f3
aab80bd038a22f01a0e821f53ec597ecf763a286
refs/heads/main
2023-09-06T07:27:54.218910
2021-11-15T11:39:17
2021-11-15T11:39:17
408,338,761
0
0
null
null
null
null
UTF-8
Python
false
false
207
py
import numpy as np import matplotlib.pyplot as plt x = np.arange(-10, 10.01, 0.01) plt.plot(x, x*x - x - 6) plt.xlabel(r'$x$') plt.ylabel(r'$f(x)$') plt.title(r'$f(x)=x^2 - x - 6$') plt.grid(True) plt.show()
[ "noreply@github.com" ]
GavrichenkoKate.noreply@github.com
dc55ed13f4103e66e4e5edcf55079267753cb476
ee4db47ccecd23559b3b6f3fce1822c9e5982a56
/Build Chatbots/Tokenization.py
db3b63f6326833b215d84cf8c42b27248d31c56d
[]
no_license
meoclark/Data-Science-DropBox
d51e5da75569626affc89fdcca1975bed15422fd
5f365cedc8d0a780abeb4e595cd0d90113a75d9d
refs/heads/master
2022-10-30T08:43:22.502408
2020-06-16T19:45:05
2020-06-16T19:45:05
265,558,242
0
1
null
null
null
null
UTF-8
Python
false
false
586
py
from nltk.tokenize import word_tokenize,sent_tokenize ecg_text = 'An electrocardiogram is used to record the electrical conduction through a person\'s heart. The readings can be used to diagnose cardiac arrhythmias.' tokenized_by_word = word_tokenize(ecg_text) tokenized_by_sentence = sent_tokenize(ecg_text) t...
[ "oluchukwuegbo@gmail.com" ]
oluchukwuegbo@gmail.com
29082448882838e7a4277231b7d1440fd2de26ce
ba0be392e94049fa796fa94f3c33a52d9f17afc7
/3-Factorial/factorial.py
6062affaa0634cf40e108410f10e61ee168c6870
[]
no_license
olteffe/GrokkingAlgorithms
f985b7f6b92b48641f32ba2eff3c6d126c555fcb
c3584cd31ce6568080df72bb39a5855776f85617
refs/heads/master
2023-08-26T22:12:51.165361
2021-11-11T12:45:31
2021-11-11T12:45:31
424,656,976
0
0
null
null
null
null
UTF-8
Python
false
false
169
py
def fact(x: int) -> int: if x == 1: return 1 else: return x * fact(x-1) def main(): print(fact(5)) if __name__ == '__main__': main()
[ "olteffe@gmail.com" ]
olteffe@gmail.com
56b7265616c08c752940d5c5672d4fe0e629698d
35994e4609cb8a59189ea1b8329708cdc7f3ac0c
/PS5/ps5.py
b77203dd17bf26c5243140791d5f0970b06ad7b1
[]
no_license
eravet/MIT-OCW-6.0002
bcd0ab89ab714b1fdf62bde5ff81cc4426f1085a
65cf4aab0f5bc9e8503481cd08759c493b60514f
refs/heads/main
2022-12-29T01:50:03.086521
2020-10-15T04:59:33
2020-10-15T04:59:33
304,210,899
0
0
null
null
null
null
UTF-8
Python
false
false
14,048
py
# -*- coding: utf-8 -*- # Problem Set 5: Experimental Analysis # Name: # Collaborators (discussion): # Time: import pylab import re # cities in our weather data CITIES = [ 'BOSTON', 'SEATTLE', 'SAN DIEGO', 'PHILADELPHIA', 'PHOENIX', 'LAS VEGAS', 'CHARLOTTE', 'DALLAS', 'BALTIMORE',...
[ "noreply@github.com" ]
eravet.noreply@github.com
15733217b80855ba05d5934e7d07194f747db416
fa62a10dc55e5af03f24d0e0c1fe46502b814e8c
/python基础/发布模块/message_package/receive_message.py
c254e1c1f8703a6f9d885bb93783119a5f3acbd9
[]
no_license
jiangchuan617/PythonLearning
c5ede77f596c2282e819cc0270cef842e4147783
a8b999e348a0f90b8febc6ded8f4ae14a5f0ebe5
refs/heads/master
2022-05-02T04:37:59.515143
2022-05-01T16:20:15
2022-05-01T16:20:15
129,497,116
0
0
null
null
null
null
UTF-8
Python
false
false
55
py
def receive(): return '这是来自177***的消息'
[ "jiangfeng@jiangfengdeMacBook-Pro.local" ]
jiangfeng@jiangfengdeMacBook-Pro.local
05e64eeb45294e4e372816d49ce3ba6960080540
615bbf1429b51458b4c7db3e63cf30fcf312b37d
/python/messages/command_data/__init__.py
33ad7438162351c34ad3c1c37a0514145a213a8f
[]
no_license
shahar481/remote-mem-editor
5d42d90718187c1d3d53d58c611c9d0f29587cd4
e987f9a1f94879331652ed0f85c67707de015262
refs/heads/master
2022-12-28T19:46:11.449116
2020-10-08T15:27:58
2020-10-08T15:27:58
299,881,045
0
0
null
2020-10-08T15:28:00
2020-09-30T10:13:07
Python
UTF-8
Python
false
false
67
py
from messages.command_data.command_data import CommandDataMessage
[ "sshaharse1@gmail.com" ]
sshaharse1@gmail.com
0d0a0b3617df919849491feea5ce2e7a9fac4f4b
9508d6a89a7bd459ce62a9701795fcc3763dfdd6
/raft_wrapper.py
6019cb5fad48ac664f6c4310a7ad1a66417d89cc
[ "MIT" ]
permissive
zebrajack/layered-neural-atlases
3be4afc644aebf5a124b56321c4d605c176b4e06
1cc6428e4a603457f6b663d77df5f15f75d0220f
refs/heads/main
2023-08-24T13:56:22.687541
2021-10-23T18:43:57
2021-10-23T18:43:57
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,389
py
import torch import numpy as np import argparse import cv2 import sys import os from PIL import Image device = torch.device("cuda:0" if torch.cuda.is_available() else "cpu") sys.path.insert(0, './thirdparty/RAFT/core') from utils.utils import InputPadder from raft import RAFT from utils import flow_viz sys.path.remov...
[ "yonikasten@gmail.com" ]
yonikasten@gmail.com
2d78ec6bc312d47fc94f57d817cd005695b414fe
1b87d5f7cba7e068f7b2ea902bba494599d20a78
/contrib/wydget/wydget/__init__.py
fe326d70a56e2ec6b127a655b859e95144cddc65
[ "BSD-3-Clause" ]
permissive
jpaalasm/pyglet
906d03fe53160885665beaed20314b5909903cc9
bf1d1f209ca3e702fd4b6611377257f0e2767282
refs/heads/master
2021-01-25T03:27:08.941964
2014-01-25T17:50:57
2014-01-25T17:50:57
16,236,090
2
2
null
null
null
null
UTF-8
Python
false
false
10,005
py
'''wydget is a graphical user interface (GUI) toolkit for pyglet. This module allows applications to create a user interface comprised of widgets and attach event handling to those widgets. GUIs are managed by the top-level GUI class:: from pyglet.window import Window from wydget import GUI window = Win...
[ "joonas.paalasmaa@gmail.com" ]
joonas.paalasmaa@gmail.com
ace2295d50585c48c7aa70f2db8b8c85f23a747c
0991830fd90a37462ca5ef6db5cb7c2a8f59c44f
/stopWWTslideshow.py
58a45a87bbeb0d7e82fb84ab87d76e92b9a240f0
[ "MIT" ]
permissive
ageller/SVL_db_nav
4e0d537c1a61e40a59f7d4ed7c5897c1c4a2c1e1
3b2a094dc01dcb731bec7c6f99f0c63ff750d9d6
refs/heads/main
2023-07-30T09:09:03.023072
2021-10-08T14:48:13
2021-10-08T14:48:13
223,447,110
0
0
null
null
null
null
UTF-8
Python
false
false
2,793
py
''' This code will automatically turn off the slideshow in WorldWide Telescope that is initiated in the current "WWTBasic" starter. This code will manipulate the mouse in order to access the menu and click on the checkbox. (This appears to be the easiest method.) The .bat file can be used to run the code from startup ...
[ "a-geller@northwestern.edu" ]
a-geller@northwestern.edu
39ccfa1bfe82238f935dda6943bcfeabd47426bd
f200651e624d5e5cd2f2262359a5932216d2d443
/demo-effects-html5-canvas/fire_controls/conv.py
2431b8a237fa8e6630f04a1d1e18c70d1a4332e7
[]
no_license
lwerdna/lwerdna.github.io
fbea38c62029884930ebfac70c9d455979c43fde
f80c7cb173359e13b2894d64fb735c0396278b7e
refs/heads/master
2023-07-19T17:07:20.169897
2023-07-07T18:39:02
2023-07-07T18:39:02
38,472,392
0
0
null
null
null
null
UTF-8
Python
false
false
3,112
py
palette = [ [0,0,0], [0,1,1], [0,4,5], [0,7,9], [0,8,11], [0,9,12], [15,6,8], [25,4,4], [33,3,3], [40,2,2], [48,2,2], [55,1,1], [63,0,0], [63,0,0], [63,3,0], [63,7,0], [63,10,0], [63,13,0], [63,16,0], [63,20,0], [63,23,0], [63,26,0], [63,29,0], [63,33,0], [63,36,0], [63,39,0], [63,39,0], [63,40,0], [63,40,0], [63,4...
[ "andrew@vector35.com" ]
andrew@vector35.com
2e51ecf568f7cc81565abd284680556690f6bd10
08f298aa9e6703554f5c2ef141a82cfbbfe9c664
/feed/spiders/ksl.py
8864f9c3a5864b1e7bc788fb6b80faff029c483c
[]
no_license
bysorry/scrape-ksl
70c442c0b5907ea426fea44ff6551994306ebf2f
9ecd473917c614524d41d6da01357a92b2897762
refs/heads/master
2021-10-11T01:06:14.975528
2019-01-20T16:27:32
2019-01-20T16:27:32
213,028,545
2
0
null
null
null
null
UTF-8
Python
false
false
4,371
py
# -*- coding: utf-8 -*- import scrapy from ..contact import Contact import csv import json class KSLSpider(scrapy.Spider): name = "ksl" category = [ # "Baby",# # "Books and Media" # # "Clothing and Apparel", # # "Computers",# # "Cycling",# # "Elec...
[ "ceo@skylinesdigital.com" ]
ceo@skylinesdigital.com
d80f1035fe26c828d8c7307112f4fa58542caa74
2192f4e3843c796c5208409337199946f7036079
/Django_projects/User/Users/usersapp/migrations/0002_auto_20210520_1143.py
361f9e55d0e344121ee345aa6fee1f04bb73179c
[]
no_license
GhaithAssaf9/Python
370f84e1ca7d8076f066f6bd0fdae7007aac3dd3
84c84ee4463112b0a8ab08787f139fea3cbf5cf5
refs/heads/main
2023-06-25T10:16:14.022594
2021-08-03T08:41:31
2021-08-03T08:41:31
364,543,192
0
4
null
null
null
null
UTF-8
Python
false
false
892
py
# Generated by Django 2.2.4 on 2021-05-20 08:43 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('usersapp', '0001_initial'), ] operations = [ migrations.CreateModel( name='users', fields=[ ('id', m...
[ "urnostalgic@gmail.com" ]
urnostalgic@gmail.com
640e9d4c72e6502ed5b447c2352db355ec85f291
10dca81be35594d01065f1c41b654a6ad8a711c3
/mysite/ag53/migrations/0005_auto_20150620_0603.py
1c501ddea341b4299d2eb76e323ca1700bd376ea
[]
no_license
kb0304/Login_signup_app
b4b9b67fc18aa8201d07cc6992b5820c91d8573b
1d5ad299c490f14c247552ac56651aba48c0d62e
refs/heads/master
2021-01-16T21:14:18.493988
2015-07-26T23:54:10
2015-07-26T23:54:10
35,742,050
0
0
null
null
null
null
UTF-8
Python
false
false
412
py
# -*- coding: utf-8 -*- from __future__ import unicode_literals from django.db import models, migrations class Migration(migrations.Migration): dependencies = [ ('ag53', '0004_profile_user'), ] operations = [ migrations.RemoveField( model_name='email', name='prof...
[ "karan@Karans-MacBook-Air.local" ]
karan@Karans-MacBook-Air.local
994e8779646749a4cf313d90030d6d16cddf276b
bc3faef4df41d04dd080a10de084d50962861b55
/4. Sensitivity Analysis, Appendix A/DL_FP_EC_RB.py
0b9ed080f0eea81171c8094723db9e4a8a865cbb
[ "MIT" ]
permissive
rioarya/IDN_LC_WoodyBiomass
3f65ab79b759b8f9e3a11872dc83857a6b15acf1
0042fd4333212e65735f3643ecb59971d1bd9466
refs/heads/main
2023-07-28T04:23:39.737572
2021-09-14T05:23:14
2021-09-14T05:23:14
404,382,744
0
0
null
null
null
null
UTF-8
Python
false
false
112,493
py
# -*- coding: utf-8 -*- """ Created on Fri Dec 13 15:21:55 2019 @author: raryapratama """ #%% #Step (1): Import Python libraries, set land conversion scenarios general parameters import numpy as np import matplotlib.pyplot as plt from scipy.integrate import quad import seaborn as sns import pandas ...
[ "noreply@github.com" ]
rioarya.noreply@github.com
413aa420b985881d6b0be993051cd8740ed2b88e
7c9789aa0ac1cb7d3e1839c3aeffe8b7f9362ad4
/Tensorflow2/SaveModel.py
c8d7ce64c0245c86414302430690fd979b99dccc
[]
no_license
xjsaber/MyML
5ca511e84da3248bfec76ce2b70f0c1f102c3926
4a1930d92d6edd2e2edf0b340b0b1a6b18844418
refs/heads/main
2023-07-23T07:20:05.257267
2021-09-02T15:23:50
2021-09-02T15:24:10
369,053,904
0
0
null
null
null
null
UTF-8
Python
false
false
956
py
# 使用 SavedModel 格式 import os import tempfile from matplotlib import pyplot as plt import numpy as np import tensorflow as tf tmpdir = tempfile.mkdtemp() physical_devices = tf.config.list_physical_devices('GPU') for device in physical_devices: tf.config.experimental.set_memory_growth(device, True) # file = tf.kera...
[ "xjsaber@yeah.net" ]
xjsaber@yeah.net
142c92391f03f9036f5df23bd5d855af23e4e0ac
f0d713996eb095bcdc701f3fab0a8110b8541cbb
/YXjx9G5uQ4CdYPuB4_20.py
f0a10dccbee452d6af543673b232e8f6d5b7d4b0
[]
no_license
daniel-reich/turbo-robot
feda6c0523bb83ab8954b6d06302bfec5b16ebdf
a7a25c63097674c0a81675eed7e6b763785f1c41
refs/heads/main
2023-03-26T01:55:14.210264
2021-03-23T16:08:01
2021-03-23T16:08:01
350,773,815
0
0
null
null
null
null
UTF-8
Python
false
false
1,110
py
""" **Mubashir** needs your help to compare two lists. First list `lst1` contains some numbers and second list `lst2` contains **squared values of numbers given in the first list**. Create a function which takes these two lists and returns `True` if all square values are available, `False` otherwise. lst1 = ...
[ "daniel.reich@danielreichs-MacBook-Pro.local" ]
daniel.reich@danielreichs-MacBook-Pro.local
37d5fa2a6f6b3325e6960b512dbb88914fa86b99
b2ba670818623f8ab18162382f7394baed97b7cb
/test-data/AndroidSlicer/Mitzuli/DD/10.py
d2f993240a11bbf9562d22402b0c95323cee8d8d
[ "MIT" ]
permissive
hsumyatwin/ESDroid-artifact
012c26c40537a79b255da033e7b36d78086b743a
bff082c4daeeed62ceda3d715c07643203a0b44b
refs/heads/main
2023-04-11T19:17:33.711133
2022-09-30T13:40:23
2022-09-30T13:40:23
303,378,286
1
1
null
null
null
null
UTF-8
Python
false
false
1,184
py
#start monkey test seedNo 0 import os; from subprocess import Popen from subprocess import PIPE from com.android.monkeyrunner import MonkeyRunner, MonkeyDevice, MonkeyImage from com.android.monkeyrunner.MonkeyDevice import takeSnapshot from com.android.monkeyrunner.easy import EasyMonkeyDevice from com.android.monkeyru...
[ "hsumyatwin@gmail.com" ]
hsumyatwin@gmail.com
919ec5668529c8b954200dd2623656a3d771a752
8039fd72bc4d7a7fc89ded9d63b47f020e9d95a5
/app/recipe/tests/test_ingredients_api.py
77c03c142401b118f4cc30bf4e11cb49be70de61
[ "MIT" ]
permissive
vturbin/recipe-app-api
543b5439f73299c3db12638c18df51adcc740108
edec6371863ea7bd3aec95f6472fa66e0db5386b
refs/heads/main
2023-01-16T06:55:29.750405
2020-11-22T17:06:21
2020-11-22T17:06:21
307,793,886
0
0
null
null
null
null
UTF-8
Python
false
false
4,427
py
from django.contrib.auth import get_user_model from django.urls import reverse from django.test import TestCase from rest_framework import status from rest_framework.test import APIClient from core.models import Ingredient, Recipe from recipe.serializers import IngredientSerializer INGREDIENTS_URL = reverse('recip...
[ "v.turbins@smart-iot.solutions" ]
v.turbins@smart-iot.solutions
bfbe23ea237a6fece6340961f1e41b21a9cd1481
16eac80ebb68689c31bdf13c7ac903532fba315b
/weather/helpers.py
a0a489d0ed6fd58d0ac0af15d5e0622a8997e60e
[]
no_license
sthapa123/NWS-Hourly-Forecast-Analysis
f58e600b8156e7c47345e59bd4bedab19bec9781
4cbd7372cee14f28123404edf417b55b946b0db2
refs/heads/master
2022-04-08T12:06:39.268374
2020-03-13T19:08:36
2020-03-13T19:08:36
null
0
0
null
null
null
null
UTF-8
Python
false
false
623
py
__all__ = ["days_ago", "short_isotime", "isodate"] from datetime import datetime, timedelta, date def gen_analysis_key(start, end): if not isinstance(start, date): start = datetime.strptime(start, "%Y-%m-%d") if not isinstance(end, date): end = datetime.strptime(end, "%Y-%m-%d") ...
[ "ryanp54@yahoo.com" ]
ryanp54@yahoo.com
af4bf8c4de3811ea5faf7ca96cca9df2fd75cb2c
c1ab0f3ccd1ae6f59a80bfcc3c2caaeed2868ba8
/django_medcheck/django_medcheck/settings.py
ac4fdda695b1c79fd2e1d3ba6cbd6894cbb0a6ac
[]
no_license
antz22/MedCheck
0a91945f63c850b429f829b1e12e242f885ffdb9
b75d44b13492f3dcac641504544eea3ef2e3754f
refs/heads/master
2023-05-31T00:00:01.905437
2021-06-14T12:21:12
2021-06-14T12:21:12
376,289,998
6
0
null
null
null
null
UTF-8
Python
false
false
3,565
py
""" Django settings for django_medcheck 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/ """ from...
[ "anthonyznj@gmail.com" ]
anthonyznj@gmail.com
d2aaff5adf1ae65ce0bd9633a7c3a6ac774391e4
f77ceeba8b499be7886dca264108688f2acbe11c
/lstm.py
4db31ed38a2681666ed3f8f2af658fea0b2207c8
[]
no_license
TATlong/Research-report-Classification-system
066960be9b340537968866b83611e335898b3024
4bbe39964cc87898f7ef1b87b05bc02129d1a4b2
refs/heads/master
2021-12-21T11:34:33.765297
2021-12-10T08:55:13
2021-12-10T08:55:13
157,339,220
100
46
null
null
null
null
UTF-8
Python
false
false
8,112
py
#!/usr/bin/env python3 # -*- coding: utf-8 -*- """ Created on Tue Oct 30 22:28:41 2018 @author: lilong """ from interface import Interface_base import numpy as np import pandas as pd import sys,os import yaml from sklearn.cross_validation import train_test_split from gensim.models.word2vec import Word2Vec from g...
[ "34054731+TATlong@users.noreply.github.com" ]
34054731+TATlong@users.noreply.github.com