blob_id
stringlengths
40
40
directory_id
stringlengths
40
40
path
stringlengths
5
283
content_id
stringlengths
40
40
detected_licenses
listlengths
0
41
license_type
stringclasses
2 values
repo_name
stringlengths
7
96
snapshot_id
stringlengths
40
40
revision_id
stringlengths
40
40
branch_name
stringclasses
58 values
visit_date
timestamp[us]
revision_date
timestamp[us]
committer_date
timestamp[us]
github_id
int64
12.7k
662M
star_events_count
int64
0
35.5k
fork_events_count
int64
0
20.6k
gha_license_id
stringclasses
11 values
gha_event_created_at
timestamp[us]
gha_created_at
timestamp[us]
gha_language
stringclasses
43 values
src_encoding
stringclasses
9 values
language
stringclasses
1 value
is_vendor
bool
2 classes
is_generated
bool
2 classes
length_bytes
int64
7
5.88M
extension
stringclasses
30 values
content
stringlengths
7
5.88M
authors
listlengths
1
1
author
stringlengths
0
73
5ff1f4ca1dfed4b0ebb5d1bc6f7995b0366fe5f3
e69a040f13518314321cb5ce13828be411636849
/client/models.py
b57f89b11dbd4283dee5fb0977216a7d20947ceb
[]
no_license
maQgl/web2
0b85482366efc29fbeb819be727cef5ed4dcf2d7
d797bec53bcc95d2ad63f15f90b981d1a56b5ae1
refs/heads/master
2021-01-10T23:28:18.555385
2016-10-11T10:38:36
2016-10-11T10:38:36
70,582,894
0
0
null
null
null
null
UTF-8
Python
false
false
300
py
from __future__ import unicode_literals from django.db import models from core.models import BaseModel class Client(BaseModel): first_name = models.CharField(max_length=20) last_name = models.CharField(max_length=20) birthdate = models.DateField() description = models.TextField()
[ "karlov@phystech.edu" ]
karlov@phystech.edu
42a30a70db0281e234b835cd86b02392ad8ec116
55bbe1e41f7f4e28ed1b2bf938ab661f6c3132a9
/grading.py
b7639cfe7ceec2ee4a2806d975a63149aecc3183
[]
no_license
dllkou001/PacMan
5ea154d105b8d3afc8f4528ff19d90f26991d660
14c450d71669a4536a4ecd0944508b30585f6c60
refs/heads/master
2023-01-02T04:50:09.033045
2020-10-25T13:00:45
2020-10-25T13:00:45
306,051,117
0
0
null
null
null
null
UTF-8
Python
false
false
10,604
py
# grading.py # ---------- # Licensing Information: You are free to use or extend these projects for # educational purposes provided that (1) you do not distribute or publish # solutions, (2) you retain this notice, and (3) you provide clear # attribution to UC Berkeley, including a link to http://ai.berkeley.edu. # #...
[ "kouthardollie@Kouthars-MacBook-Pro.local" ]
kouthardollie@Kouthars-MacBook-Pro.local
c649bb417016312af3c7c4e8a9f0d1dd722dfefa
5a0bfb3db46eb2cc90c1b1721169674119808730
/Finding_Roots/bisection.py
ba756d6a279c39a3c63bba90a973f69d99ba8eef
[]
no_license
gabrielrmachado/NumericalMethods
fe9c1a826f61ac4776a13a20f28d44ad68e11be0
7f8b86bd327c287953cc208324575a93542c310d
refs/heads/master
2020-06-22T10:48:04.422413
2019-09-10T16:03:32
2019-09-10T16:03:32
197,110,480
0
0
null
null
null
null
UTF-8
Python
false
false
1,258
py
import math import numpy as np def function(x): # return math.pow(math.e, -x) * math.cos(x) # return ((math.pow(x,3)) - (7*math.pow(x,2)) + (14*x) - 6) return ((32 * math.pow(x,6)) - (48 * math.pow(x,4)) + (18 * math.pow(x,2)) - 1) # return math.sin(math.cos(math.pow(math.e, x))) def bisection(a, b, m...
[ "gabriel.rmachado10@gmail.com" ]
gabriel.rmachado10@gmail.com
5cd8e650c944ad0a10be42580412e8afd4ae592f
8d8c8f332dbb7056f73baa7e25bc52de9a2d8616
/train_emotion_classifier.py
5faf70c5379c3834a790396cf76e8c58cc62475c
[]
no_license
youssefadel77/Emotion-Gender-Detection
ecedb57225f4eb2e6723d45537233a0983ccab19
1f0fd383cacb87b46befb5bf39c02cdc8339df15
refs/heads/main
2023-03-05T22:24:56.515256
2021-02-22T12:54:08
2021-02-22T12:54:08
340,699,563
0
0
null
null
null
null
UTF-8
Python
false
false
6,641
py
""" File: train_emotion_classifier.py Author: Octavio Arriaga Email: arriaga.camargo@gmail.com Github: https://github.com/oarriaga Description: Train emotion classification model """ from keras.callbacks import CSVLogger, ModelCheckpoint, EarlyStopping from keras.callbacks import ReduceLROnPlateau from keras.preproces...
[ "youssef.adel.1998@hotmail.com" ]
youssef.adel.1998@hotmail.com
ee4a2153a041faef8e9d64a0328557a97ce4e280
db23328b2dedf1dcb8f1ec075f54d167f31905ce
/sumofnumbers.py
e3ece7a7df4f5eed8c919d27919b07f875334c31
[]
no_license
Aleti-Prabhas/python-practice
ae9730e87488da44a521cf696b0648ba29438f00
f8c0e120670ed856be9bdbbdd3406737e5642ef8
refs/heads/main
2023-04-18T02:04:55.176549
2021-05-21T13:10:58
2021-05-21T13:10:58
360,566,527
0
1
null
null
null
null
UTF-8
Python
false
false
114
py
t=3 while t: n=int(input("enter the n :")) print("the sum of {} is {}".format(n,n*(n+1)//2)) t-1
[ "noreply@github.com" ]
noreply@github.com
63b17bd938e8d081c3a7b3235a33595612a0855e
86ec17d662ad5fc741b1dc08e37fd248c11b175f
/lib/flights/__init__.py
8dcb37b550b42b35ca4bccd44851a4fb999ff29c
[]
no_license
joewalk102/FlightReservations
68b38ddbd02dd624c304f54ca5a2b951722b3308
4ae4e980cd284db929c2cd2b4164a3b947670437
refs/heads/master
2022-06-23T05:34:45.864746
2022-06-19T20:17:38
2022-06-19T20:17:38
88,907,662
0
0
null
null
null
null
UTF-8
Python
false
false
28
py
from .flights import Flight
[ "joewalk102@gmail.com" ]
joewalk102@gmail.com
71eec46f398a39faf790c148a403919a82bfe18a
ec1664be697cb0e1c3ec7be9f17873ace304c4c6
/He_atom_rhf.py
c223d79d8a0fe27741eaf89f989966ab3c975165
[]
no_license
vincehouhou/LINEARHF
4a2184053eb277c98e4711f067eaefbae2ca6a69
355d6648099cb82efed46c85697b2eeeac5ee17b
refs/heads/master
2021-01-25T12:30:43.755538
2014-09-23T04:18:26
2014-09-23T04:18:26
null
0
0
null
null
null
null
UTF-8
Python
false
false
4,048
py
# ************************************************************************ # File: He_atom_rhf.py # Purpose: Solve the ground-state of He atom in restricted Hartree-Fock model, including energy correction step # Version: FEniCS 1.4.0 # Author: Houdong Hu # **********************************************************...
[ "vincehouhou@gmail.com" ]
vincehouhou@gmail.com
61d733600cf9ae08ebb6048f86c4322b40dc5a0d
d44b58a203868884d97997aead32cb39fbe2fce5
/SVO_2D.py
b9e25ff0ea90f6d87dc252997544f8eebd0f4cb0
[]
no_license
ChengqianZhang/Visual_Odometry_AUV
304a9a264d3bfafb506f2c2352b8aa689e598e2e
e8a43daa25e6e6a087835c363a16dfd8e604ed01
refs/heads/master
2020-06-23T11:54:30.034604
2019-09-23T10:26:19
2019-09-23T10:26:19
198,616,015
1
0
null
null
null
null
UTF-8
Python
false
false
8,985
py
# -*- coding: utf-8 -*- """ Created on Tue Jul 23 15:46:26 2019 @author: sheva """ import cv2 import numpy as np import pandas as pd import yaml import functions_2D import os from matplotlib import pyplot as plt start_id = 67 end_id = 240 size =[2,2] with open('D:/Southampton/Msc Project/TEST FOLDE...
[ "noreply@github.com" ]
noreply@github.com
72647c0a005c96588d8d25613e4f4c5762bb9773
2fcb8038c7f87da4ae2408f45bb8cdf40e1b90e3
/myTest/8583/my8583/lib/customizeFun.py
0493ed3c8af3316184637d92d08e01e5fe1af10f
[]
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
7,796
py
#!/usr/bin/python3.4 #-*- coding:utf8 -*- import myConf import logging import os import time import qrcode import qrcode.image.svg from PIL import Image import re import readline import pack8583 from ctypes import * import Security def GetSerial(): initSeq = '1' #从配置文件取出流水号 cfgFile = myConf.GetCombination('app_e...
[ "z_jing_wei_10@163.com" ]
z_jing_wei_10@163.com
69c2f0ba3b489402e69e17bcb84dca3d503d331a
51477e354907d4d17238c21f4bae1a0acdefada3
/app/my_api/tests/v2/test_auth.py
44dcd1e59ffb880228992293f41e28df11e7a2ea
[]
no_license
AloisBlue/Politico_Backend
df31f9c5b4a7edd92e3305c5b094b4bb3a121973
852b3c3294ee665264f8936abf6b78738b9a5a55
refs/heads/develop
2022-12-13T17:12:41.164195
2019-02-22T07:39:23
2019-02-22T07:39:23
169,041,095
0
1
null
2022-12-08T01:36:14
2019-02-04T07:18:34
Python
UTF-8
Python
false
false
13,371
py
# test auth.py import unittest import os import json from psycopg2.extensions import ISOLATION_LEVEL_AUTOCOMMIT # local imports from ...database import database, database_init from app import create_app class TestVote(unittest.TestCase): """docstring for TestVote.""" def setUp(self): self.app = creat...
[ "aloismburu@gmail.com" ]
aloismburu@gmail.com
7b2a2326f0408669dc1abe5b9889c58fc52e95ec
451ec277c9a485721ac92c73a5a227bd9ae26b75
/lofar/spam/flag.py
0157e5b500cdb446d3e29088f274a50d18ac54f4
[]
no_license
kcavagnolo/astro-projects
2bad2c1760d85c95708ef76f8fe43bdbbdda2875
4cbfc4e8f95f54e85208352c5acdb7188f494536
refs/heads/main
2023-08-14T00:40:44.732673
2021-10-01T17:22:40
2021-10-01T17:22:40
412,538,271
0
0
null
null
null
null
UTF-8
Python
false
false
27,445
py
############################################################################### # import Python modules from sys import * from os import * from datetime import * from math import * # import user modules from files import * from aips import * from acalc import * from parameter import * from mpfit import * from solutio...
[ "4321555+kcavagnolo@users.noreply.github.com" ]
4321555+kcavagnolo@users.noreply.github.com
9d11e71efb57cb7492f8693d7711bcf512766ba5
7370306657f8e66018ae88b1c3db323bfd466710
/app/migrations/0007_auto_20141125_0153.py
905494f8e7b462ddbb1f84006d4542a3c6f6e3b2
[]
no_license
bradenneufeld/Nectere
a3c824902a6f3429571c2baa034335c082475c0c
870eac23452a9e1195028407f7f3669dde59d161
refs/heads/master
2021-01-23T15:42:39.085553
2015-09-04T22:16:40
2015-09-04T22:16:40
41,940,045
0
0
null
null
null
null
UTF-8
Python
false
false
639
py
# -*- coding: utf-8 -*- from __future__ import unicode_literals from django.db import models, migrations class Migration(migrations.Migration): dependencies = [ ('app', '0006_auto_20141125_0032'), ] operations = [ migrations.AddField( model_name='mfilteroptions', ...
[ "braden@neufeldinstitute.com" ]
braden@neufeldinstitute.com
ad2ea15cef4301d7f8b5227179b46d14b2ca82ce
de24f83a5e3768a2638ebcf13cbe717e75740168
/moodledata/vpl_data/446/usersdata/343/104747/submittedfiles/diagonaldominante.py
b75485db6ccbdd3657c717e4231a0d344b9c22fa
[]
no_license
rafaelperazzo/programacao-web
95643423a35c44613b0f64bed05bd34780fe2436
170dd5440afb9ee68a973f3de13a99aa4c735d79
refs/heads/master
2021-01-12T14:06:25.773146
2017-12-22T16:05:45
2017-12-22T16:05:45
69,566,344
0
0
null
null
null
null
UTF-8
Python
false
false
306
py
# -*- coding: utf-8 -*- n = int(input('número de linhas e colunas da matriz: ')) matriz = [] for i in range(n) : elementos = [] for j in range(n) : elementos.append(int(input('elementos da matriz: '))) matriz.append(elementos) linhas = 0 linhas = linhas + matriz[[0][i+1] print(linhas)
[ "rafael.mota@ufca.edu.br" ]
rafael.mota@ufca.edu.br
6cd04255453986f590c57c17644345ce8df51c16
263341a413ab36b75a2bcd20003037d7bf71122d
/ready_data.py
a8fd025119eaedaa588153554050e68928ab5a7a
[]
no_license
astrofizkid/SciPyNOAA
84f533c21e240cfa38b823ee6fd85560133fcbfc
0aa6ae754cd59d8d52b021699fbb660bff60dc55
refs/heads/master
2021-05-19T08:53:15.959513
2020-04-01T17:33:09
2020-04-01T17:33:09
251,613,839
0
0
null
null
null
null
UTF-8
Python
false
false
1,677
py
""" This code reads in GHCN CSV data for a specified number of years and calculate various aggregations of precipitation and temperature data. """ import ftplib import numpy as np import re import pandas as pd def tidy_frame(obs_df): """ Return a tidy dataframe of GHCN data. Args: obs_df: GHCN ...
[ "noreply@github.com" ]
noreply@github.com
1c751310823ef36d67d4d6004b8ab34d800c2825
ed7d812310cbe6c8a7a5863f422f4aaa4f0de94c
/models.py
363b6b17eb11c161555f1f73d3f2aab6e60837cf
[]
no_license
NoonWood/MyFlask
3c0d3876e07179a56ce2203c91af1d36ebbd6f55
588192b37428d0b089bfb88482e366c1b8698759
refs/heads/master
2021-08-23T22:22:41.506816
2017-12-06T21:25:19
2017-12-06T21:25:19
112,068,163
0
0
null
null
null
null
UTF-8
Python
false
false
4,374
py
from app import db from datetime import datetime import re from flask_security import UserMixin, RoleMixin from sqlalchemy import event from sqlalchemy.orm import * #ROLE_USER = 0 #ROLE_ADMIN = 1 def slugify(s): #генерация заголовков pattern = r'[^\w+]' return re....
[ "gkk978@gmail.com" ]
gkk978@gmail.com
03a702f1e6f7a7de77c91a5fd895268781c8cfcf
8f272d4ef56d2e778025cf31fc8aa4489a880242
/ch5/train_neuralnet.py
44be541bc261f8e464619718153831502e4b361c
[]
no_license
takashi7/zero_deep_learning
0653be912a2dcd01d38ec0321085517a2de66cf7
8eee9194b42c9e236e6c2482a54d2cc23f351ae9
refs/heads/master
2021-04-15T12:48:47.609880
2018-04-04T23:24:29
2018-04-04T23:24:29
126,666,764
0
0
null
null
null
null
UTF-8
Python
false
false
1,538
py
import sys, os sys.path.append(os.pardir) import numpy as np import matplotlib.pyplot as plt from dataset.mnist import load_mnist from two_layer_net import TwoLayerNet (x_train, t_train), (x_test, t_test) = load_mnist(normalize=True, one_hot_label=True) network = TwoLayerNet(input_size=784, hidden_size=50, output_si...
[ "konno.tlab@gmail.com" ]
konno.tlab@gmail.com
d01f20f969e7226cc85bb79c0708bde5b96a9abc
a9a3e931e1c5cf3dca8d9c9992e6966e3070f7ec
/Commands/server.py
5ab168a6033ccdf3167fd02ad2537b8ed475b25c
[]
no_license
Sjc1000/PyRC
3e92f3090deca1d2f70299b63e8099d25a127ab7
35c82327c56d59e359d865ad8f00ee95e1174709
refs/heads/master
2020-06-08T03:00:48.174018
2015-11-19T00:00:17
2015-11-19T00:00:17
42,507,288
1
0
null
null
null
null
UTF-8
Python
false
false
911
py
#!/usr/bin/env python3 def run(c, server, nickname='PyRC', port=6667, password=None): if server in c['MainWindow'].servers: return None c['MainWindow'].global_action('add_server', server) c['MainWindow'].ui_plugins['ServerList'].servers[server]['connection'] = c['Connection'](server, port, nicknam...
[ "42Echo6Alpha@gmail.com" ]
42Echo6Alpha@gmail.com
7f704fa66bc3954c55c21eefc29eede10d79bbe7
62bd59705a3d23971ce1451e32cc6461d1ec9f4e
/Structural Analysis/Buckling_analysis.py
0ff5b8c8c7029eff6c2376c07bbcf2a9ca7b7a51
[]
no_license
mitta64/WeFlyCycle
ae22f64ec86f9aa853661d5b0502c14f16a87996
7c694a5d04cd5995d5dc0acfb2f6d7ce6e08fd6f
refs/heads/master
2022-10-07T15:53:24.957648
2020-06-09T08:45:59
2020-06-09T08:45:59
259,890,865
0
0
null
null
null
null
UTF-8
Python
false
false
7,074
py
import numpy as np import matplotlib.pyplot as plt #Input parameters stringer_type = 2 #value 0 means hat, 1 means I, 2 means z, 3 means t (that is with the horizontal part of t not attached to skin) E = 70000.0 #N/mm^2 v = 0.3 #- Poisson ratio k_ss = 4.0 #value for simply support...
[ "matthew23_7@live.nl" ]
matthew23_7@live.nl
dc4b04839183fdcac9afa091b4ca1f0d6db46600
ac6d9ce7ecdf2f5b8ea2fa9764590bb74f37a07d
/ex3.py
081ba6ffca533bf51bc38d242dffcf1b0ceed1f2
[]
no_license
kellyspiano/lpthw
e50fc7de636ebfa19da25fd129a5ba12b838df4e
081aef1b81107b2dd40f5cc55fef8e7ce184ad4b
refs/heads/master
2021-01-20T10:32:55.079803
2012-04-25T12:00:14
2012-04-25T12:00:14
3,074,020
0
0
null
null
null
null
UTF-8
Python
false
false
752
py
# Tells that I am about to count my chickens print "I will now count my chickens:" # Counts the hens by performing simple mathematics print "Hens", 25.0 + 30.0 / 6.0 # Counts the Roosters by performing simple mathematics print "Roosters", 100. - 25. * 3. % 4. # Counts the eggs by performing simple mathematics print "...
[ "kellyspianoau@gmail.com" ]
kellyspianoau@gmail.com
0a359a4eb4f15ff8ed1286876f73c095f98be8cd
f09dc121f213f2881df3572288b7ee5b39246d73
/aliyun-python-sdk-mts/aliyunsdkmts/request/v20140618/DeleteSmarttagTemplateRequest.py
39011a4150d00329b06acbe4ca69e10bfd270e99
[ "Apache-2.0" ]
permissive
hetw/aliyun-openapi-python-sdk
2f31378ad6be0896fb8090423f607e9c7d3ae774
7443eacee9fbbaa93c7975c6dbec92d3c364c577
refs/heads/master
2023-01-19T22:42:36.214770
2020-12-04T10:55:14
2020-12-04T10:55:14
318,689,093
1
0
NOASSERTION
2020-12-05T03:03:03
2020-12-05T03:03:03
null
UTF-8
Python
false
false
2,226
py
# Licensed to the Apache Software Foundation (ASF) under one # or more contributor license agreements. See the NOTICE file # distributed with this work for additional information # regarding copyright ownership. The ASF licenses this file # to you under the Apache License, Version 2.0 (the # "License"); you may not u...
[ "sdk-team@alibabacloud.com" ]
sdk-team@alibabacloud.com
ace72b65df05227190bfa60dda1d6a36c1129d8e
64d37bfa76f3e74d424c3e13797d4f19571d9bd0
/hiretutor/hireapp/urls.py
b1256e27587d73c276c077b5d12543b9ddb67c2b
[]
no_license
BlackBoxSQL/ProjectSatisfaction
00f4b5cc7135d7662c1db1f72aa4f66e409c369a
bc9082e2c55dd56a81414344ba019f84a34edf82
refs/heads/master
2020-04-26T04:36:38.280759
2019-03-01T13:57:10
2019-03-01T13:57:10
173,307,673
0
0
null
null
null
null
UTF-8
Python
false
false
959
py
from django.urls import include, path from .views import hireapp, tutor, guardian urlpatterns = [ path('', hireapp.index, name='home'), path('guardian/', include(([ path('guardianhomepage/', guardian.GuardianHomepage.as_view(), name='g...
[ "naziburrahmanrockycop@gmail.com" ]
naziburrahmanrockycop@gmail.com
445fab7edaf0a01e847dffeda3088b1a52bc6727
012de5d44c54a9e3c6c4cedf5a0a405967e9d6e9
/web_scraping-python/irishamerica.py
b1b34af415257d86aa45a4afe2ab50a6bf937047
[]
no_license
paisap/chat-online
6717bf3c21863bb6ad07e9733784500b5a99a282
bb0dfc527d1dedc97f2a3c57e5f0da4823da9396
refs/heads/master
2022-12-12T08:14:05.775725
2020-09-09T20:49:54
2020-09-09T20:49:54
282,641,415
0
0
null
null
null
null
UTF-8
Python
false
false
2,671
py
#!/usr/bin/python3 from bs4 import BeautifulSoup from urllib.request import urlopen, Request import json def get_images(obj_soup): """ obtener todas las imagenes """ images = [img['src'] for img in obj_soup.find_all('img')] return images def get_articles(obj_soup): """ Obtiene todos los links de los ...
[ "leonardo.rincon@itac.co" ]
leonardo.rincon@itac.co
71832f29d29a577579d7bb02354e38f6e3f460aa
b036f05eb76aa199fe133b9b2e746f36f36330b2
/migrations/versions/2854fc568b35_initial_migration.py
f873e94b9001de4cbd1d89ee3b1db99c6b96c263
[]
no_license
kba977/flasky
be058662cc1c115b44f90aeaf3065b7ab40d92a0
3b2c202136356b447150a8f613bd31f509326aa0
refs/heads/master
2016-09-05T16:04:39.490412
2015-04-20T05:36:28
2015-04-20T05:36:28
33,992,627
0
0
null
null
null
null
UTF-8
Python
false
false
492
py
"""initial migration Revision ID: 2854fc568b35 Revises: None Create Date: 2015-04-15 18:51:53.074761 """ # revision identifiers, used by Alembic. revision = '2854fc568b35' down_revision = None from alembic import op import sqlalchemy as sa def upgrade(): ### commands auto generated by Alembic - please adjust!...
[ "kba977@163.com" ]
kba977@163.com
568331c7849b02404cac0440eb3cd6a9cc392935
335199b832de20a5a116df2d41c774fa72bfafd5
/p12/p12.py
151cc1248e27c3f0c8ec1b908db11b5720dd05df
[]
no_license
kefhifi/bili_7_days_learn_python
5f57622c28f14cdee132cdfc3e3034501be3732e
a4ca5a9edd50fd2cc84a822fa1ca32d81f20adda
refs/heads/master
2022-11-15T01:37:32.802239
2020-07-06T16:59:49
2020-07-06T16:59:49
266,197,916
0
0
null
null
null
null
UTF-8
Python
false
false
125
py
# 匿名函数 def add(x,y): return x+y print(add(1,2)) f = lambda x,y: x+y print(f(1,2)) # 装饰器
[ "1874570622@qq.com" ]
1874570622@qq.com
295f4c731293a440f282a7410066edd807c3a327
da90c63119a09219469d45b8064c804c0bc427c2
/venv/bin/pip3
aebd794abfbddf3e3911e73fd2141eeca7c8c9e5
[]
no_license
tkoz0/Bonobot
d2e5d7e582636d73a050587cb051ea98c8b5b149
a067d971fd6d03604fcfac0024669af642c29005
refs/heads/master
2022-04-17T16:52:56.007874
2020-04-14T18:14:38
2020-04-14T18:14:38
null
0
0
null
null
null
null
UTF-8
Python
false
false
402
#!/Users/chrisjerrett/Desktop/Bonobot/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[0]) sys...
[ "jerrec@rpi.edu" ]
jerrec@rpi.edu
c97cdb54b1c74a96fdb488d7479ce27892839dbb
78231eec1d52e71b1cc374b1d2d492232f4f8ddc
/tools/retrieve_data.py
20a2e403a9b4834c06266c4434476c080a50871c
[]
no_license
wyhfrank/crypto-project
d9ba9f4dc062869d06af1a821f6759525c1dfa80
88e92cf50ad9c14837cd932c456615bf143efd66
refs/heads/main
2023-05-06T04:11:20.125892
2021-05-22T01:38:36
2021-05-22T01:38:36
367,174,778
0
0
null
2021-05-13T21:06:59
2021-05-13T21:06:58
null
UTF-8
Python
false
false
1,926
py
import os from datetime import datetime, timedelta from dateutil.relativedelta import relativedelta import pandas as pd from cryptocompare import cryptocompare from utils import percent_calc def get_historical_price(crypto_name="BTC", start=datetime.now() - relativedelta(months=6), ...
[ "wyhfrank@gmail.com" ]
wyhfrank@gmail.com
99581de0640afbb2f1dcc630ac41dba1d2258a8c
532c78bae210da33e1f81bd89c53f21633ac8c5a
/count words.py
e640485f6a21738a10b2c30f9f069d4a52f55d07
[]
no_license
mariasanthosh0901/Santo
756dda9773817febdb3203fdb44b922318d5dbfa
ec3a4e5ef322bcdbb32f942e5e19c14199fe1227
refs/heads/master
2020-05-28T07:57:51.395216
2019-11-08T11:09:10
2019-11-08T11:09:10
188,929,758
0
0
null
null
null
null
UTF-8
Python
false
false
86
py
str1=input() c=0 for i in str1: if i==' ': c+=1 print(c+1)
[ "noreply@github.com" ]
noreply@github.com
9267075b848b3f45a6b213e1b9974734428fddca
35b4ad652269d5569ab771b3c03cd70a80e1a45b
/firacademy_openapi/signature.py
996be60d497b134e6d4b1b54b07a4e8121d68561
[ "MIT" ]
permissive
hongshanxueyuan/openapi_sdk
08b04b2318196cf48460eb46f24459888e825193
3a4945df67f7e8dd1948a24e1a9a5bb3b334fb84
refs/heads/master
2023-09-04T01:14:15.739638
2023-08-28T08:48:12
2023-08-28T08:48:12
394,182,887
0
0
null
null
null
null
UTF-8
Python
false
false
2,268
py
import base64 import hashlib import hmac try: from base64 import encodestring as base64encode except ImportError: from base64 import encodebytes as base64encode def build_sign_str(uri, method, headers, params=None, data=None): lf = '\n' string_to_sign = [] string_to_sign.append(method) need_...
[ "duoduo3369@gmail.com" ]
duoduo3369@gmail.com
006a39f5c5e48c5d9e25c2f81cf23dea32595cf4
cea6bff1b615432d97ffceb3dbaec65738444856
/stemmer.py
41b22647b49f27a75cde61e3e6b9f2944b239628
[]
no_license
Gontareva/help-learn-eng-bot-run
53febc87190cad083a45a940015fd9ee577a7241
43e23fd1682e89f16752ac7aed79e88fc5740c08
refs/heads/master
2020-03-19T05:36:53.098331
2018-06-03T22:53:17
2018-06-03T22:53:17
135,948,229
0
0
null
null
null
null
UTF-8
Python
false
false
526
py
import nltk class Stemmer: def __init__(self): self.__stemmer = nltk.stem.porter.PorterStemmer() def stemming_list(self, words): stem_dictionary = {} for word in words: stem_word = self.stemming(word) if stem_dictionary.get(stem_word): stem_dic...
[ "ana.gontareva@yandex.ru" ]
ana.gontareva@yandex.ru
0020731b43290f3db8e21077a41ebc493a9a2ca3
a8355427c05724b71256187ebf37ecda80deabc5
/tsk6.py
da4a396ebf40c55760897208bdfad39cfd1f846c
[]
no_license
jshhh/projects
79fbdb4c0ca27e0ca2c6490e7b9a5258f45c0eed
5e25c2e79de5bab8d95c7035a5fa4031aa1d3dac
refs/heads/master
2021-05-04T21:07:46.358771
2019-03-29T14:27:46
2019-03-29T14:27:46
119,881,827
0
0
null
null
null
null
UTF-8
Python
false
false
724
py
from random import randint #config mode = 'AUT' def digitInput(prompt='',bounds=(0,100)): if mode=='AUTO': out = randint(bounds[0],bounds[1]) else: out = int(input(prompt)) print('INPUT',out) return out total_amount=digitInput() first_number=digitInput() amount_of_doubles=0 d=0 def ...
[ "shakun.03@mail.ru" ]
shakun.03@mail.ru
98b024718a8e8a23277d18d3e4b43665152dd24b
852144258f9d6024331a16f8d51248dbc3e3b53b
/python_array/arithmetic_operators.py
47109051aee6d6d3d0cbd6c7812892124f8b17e8
[]
no_license
codewithbLanksS/workshop2
1e18c28df245d04299eaff7b89b41c104bcc3e8e
07dd735f8279450d08ce24a0baaca3f73d9e59c4
refs/heads/master
2023-03-21T15:54:42.368703
2021-03-14T23:03:16
2021-03-14T23:03:16
328,321,660
0
0
null
null
null
null
UTF-8
Python
false
false
157
py
x = 17 y = 2 print(x + y) print(x - y) print(x * y) print(x / y) print(x % y) print(x ** y) print(x // y) # 19 # 15 # 34 # 8.5 # 1 # 289 # 8 floatdivision
[ "apiwat.pu@ku.th" ]
apiwat.pu@ku.th
09709dcc36938f9cdc29535bbbd86dda3efd889b
5c7b1cd64fe600401473e8bb11aa8c606a2b1799
/lab2_2/main.py
b6847156391b23bc65a30886f2a3cad2753163a4
[]
no_license
drA666/rts
a7c303fd1fe4731d49a0a2233da3a9ed5138a449
6daf761e53549a4a2a465d6bfda4d13224c23a2f
refs/heads/main
2023-05-02T16:56:32.838573
2021-06-08T13:47:47
2021-06-08T13:47:47
364,647,745
0
0
null
null
null
null
UTF-8
Python
false
false
990
py
from random_signals import signal_generator from FFT import fft import matplotlib.pyplot as plotter from DFT import discrete_fourier_transform from time import time n = 14 w = 2000 N = 256 signal = signal_generator(n, w, N) start1 = time() spectre = abs(fft(signal)) end1 = time() start2 = time() dftsig = abs(discre...
[ "noreply@github.com" ]
noreply@github.com
cd66acb3301f32189da4bb68b39f499962460140
21a212056c86d41c9123b657084157f60ee4e161
/adduser.py
b0b3f117a7d5038cc95df9a7d902ff0bd01fda8a
[]
no_license
renanqts/pinger
a106eb2f68b9a8f94eb8b6c3038fa4072952a963
5e0f96d72bae453fb7f2476e27dbd7755f067c42
refs/heads/master
2021-01-23T06:34:04.770552
2017-04-09T21:44:20
2017-04-09T21:44:20
86,373,804
4
3
null
null
null
null
UTF-8
Python
false
false
1,144
py
#!/usr/bin/env python def insertUser(args): #load modules from database import Database import ConfigParser #load configurations config = ConfigParser.RawConfigParser() config.read('config.properties') #database configuration db = Database(config) #add user if db.setUser(args): print "\n Adde...
[ "renanqts@gmail.com" ]
renanqts@gmail.com
bfdf07b9e1a7e784e104b9757de014e1fc513768
1d49607268ff93aa6eadc92efee19c8521c8c3ec
/tensorflow_Application/tensorflow_Word2Vector_SkipGram_WithTSNE/main.py
7de32309b1ccaf8b3b4a80b330e7821fc14e7230
[]
no_license
ahn-github/Tensorflow_Advanced_Tutorials
9e444795360a0f28aba41274dcb1788388c62ac0
1c6eb420bf8d87877d8279dd3173d160689cc3aa
refs/heads/master
2020-03-25T22:25:52.496775
2018-08-09T16:45:29
2018-08-09T16:45:29
null
0
0
null
null
null
null
UTF-8
Python
false
false
865
py
from model import Word2Vec # optimizers_ selection = "Adam" or "RMSP" or "SGD" # weight_selection 은 encoder, decoder 임베디중 어떤것을 사용할 것인지 선택하는 변수 # weight_sharing=True시 weight_selection="decoder"라고 설정해도 encoder의 embedding_matrix 로 강제 설정된다. Word2Vec(TEST=True, tSNE=True, model_name="Word2Vec", weight_selection="encoder", ...
[ "medical18@naver.com" ]
medical18@naver.com
01c6d4ffb46db2fa4d42682580e0b5090ef96ef3
4424337b21b7ea91f7e24bea8366d7244fda6158
/week-03/day-01/18.py
cd541ddc93d5a9bc517f8eb03a65b5f82f95dffe
[]
no_license
oliviagardiner/green-fox-projects-oliviaisarobot
a9b0084160d3dfe5582dd798ffd25c9c666fec74
2b9a998a648036a76070a535326ed4b8985f2a24
refs/heads/master
2022-05-05T11:52:29.971584
2017-02-17T13:06:08
2017-02-17T13:06:08
null
0
0
null
null
null
null
UTF-8
Python
false
false
41
py
r = [54, 23, 66, 12] print(r[1] + r[2])
[ "oliv.gardiner@gmail.com" ]
oliv.gardiner@gmail.com
9c0d368db62ebb19f27b251f87a47c3b9d1c5c66
45de3aa97525713e3a452c18dcabe61ac9cf0877
/src/primaires/salle/masques/bonhomme_neige/__init__.py
a131702c6aeebce754231a0a2a6c118092257041
[ "BSD-3-Clause" ]
permissive
stormi/tsunami
95a6da188eadea3620c70f7028f32806ee2ec0d1
bdc853229834b52b2ee8ed54a3161a1a3133d926
refs/heads/master
2020-12-26T04:27:13.578652
2015-11-17T21:32:38
2015-11-17T21:32:38
25,606,146
0
0
null
null
null
null
UTF-8
Python
false
false
3,239
py
# -*-coding:Utf-8 -* # Copyright (c) 2012 LE GOFF Vincent # All rights reserved. # # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the following conditions are met: # # * Redistributions of source code must retain the above copyright notice, this # l...
[ "kredh@free.fr" ]
kredh@free.fr
17395668b258f165ea59612fb1b4df14fab387fa
5e9dee7a655ba3862cc1d40424b829f357aa6a97
/crawling/zigbang_ajax.py
496c718c72b7382beba3582d90b57011cd901d82
[]
no_license
soomok-lee/python_examples
6aae35639d2f6d42893ea6fc9f8c6c9ccfac769c
753f67cacc0e40fc68dd8bdc3bd144f5ff58c536
refs/heads/main
2023-02-12T03:28:02.580666
2021-01-05T20:35:57
2021-01-05T20:35:57
319,796,046
0
0
null
null
null
null
UTF-8
Python
false
false
2,407
py
import requests import json import pprint import geohash2 q = "충정로" serviceType = "아파트" url = "https://apis.zigbang.com/v2/search?q={}&serviceType={}".format(q, serviceType) r = requests.get(url) # json 형태를 반환 result = json.loads(r.text) # dict # pprint.pprint(result) # 정렬 if result["success"]: lat = result["item...
[ "soomok.us@gmail.com" ]
soomok.us@gmail.com
22b1c70e956c395dea7ff6157671ff88b17a7096
c7c6a29a36b1c9692aff30e585679d46be3a4051
/mainapp/migrations/0004_mainmodel_ph_value.py
901c60f6a759ffe5e33ff01944e16e9293936ce0
[]
no_license
risubaba/pH-monitoring-dashboard
158ae02d00d536f2156eb293874b6e0f768e755e
85f5eea85b238d9dcc70720c2ef4d07d53f28471
refs/heads/master
2022-12-17T10:22:39.071302
2019-11-25T06:11:18
2019-11-25T06:11:18
223,783,006
0
0
null
2022-12-08T06:58:28
2019-11-24T17:30:27
JavaScript
UTF-8
Python
false
false
419
py
# Generated by Django 2.2.6 on 2019-11-24 16:06 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('mainapp', '0003_mainmodel_power_5'), ] operations = [ migrations.AddField( model_name='mainmodel', name='pH_value', ...
[ "risubhjain1010@gmail.com" ]
risubhjain1010@gmail.com
c42b44c992bfa82a3831e519bb78eca2431a3b0e
8d5dae48231357998b4c46eb2daf540520de1344
/Trees.py
669ddd25baaecc7361079665d35d1dc9c59a13de
[]
no_license
rohith-honnegowda/AlgosInPython
cddcb49e61fbbf9c8060fd500ed943e8f215d4a3
c84c63e77c1d4f41f77a9d51330e770582851245
refs/heads/master
2021-05-05T08:11:52.973374
2018-02-15T06:16:28
2018-02-15T06:16:28
118,936,811
0
0
null
2018-02-15T06:16:29
2018-01-25T16:17:33
Python
UTF-8
Python
false
false
1,705
py
# Tree datastructure and its various operations class Node: def __init__(self, data): self.data = data self.left = None self.right = None def populateTree(root): temproot = root two = Node(2) three = Node(3) four = Node(4) five = Node(5) six= Node(6) seven = Nod...
[ "rohith.honnegowda@gmail.com" ]
rohith.honnegowda@gmail.com
c9bd0e5a4c999a5ab7fbe45f813372d1e2dcd713
474f00cf9f517cd36dca15b9dcbc77c77e787578
/ccwrapper/catcoin.py
f43272821dc7cb3be3998bd998235102c532b77c
[ "Apache-2.0" ]
permissive
duzive/ccwrapper
5a994b5c7158d27f266ee308d6b4881a6e426e9c
70369e076a8ba92d201a51c7991bc4a0d29823fc
refs/heads/master
2022-11-15T02:12:11.915309
2020-07-17T20:55:57
2020-07-17T20:55:57
280,410,467
1
0
null
null
null
null
UTF-8
Python
false
false
3,039
py
from requests import get, post from time import sleep from error import CCError class CatCoinWrapper(object): __slots__ = ('__user_id', '__token', '__api_url') def __init__(self, user_id, token): ''' :param user_id: ID Вконтакте используемый для CatCoin Api :param token: Токе...
[ "noreply@github.com" ]
noreply@github.com
88da7497807a799bf149384c35a374f1a5bc4c0d
1811d37ed6474ab7eaeafff3c82d3bb7c0466e3d
/parts/zodiac/pyramid/tests/test_scripts/test_ptweens.py
e65af20323e76ac294ca706cb05db207f8cc75d0
[]
no_license
bernatcortina/zodiac
ed384fe96f6739d841a3a777d10bad4b33fd0e78
aa0ecb2c386fc5b54ff60ba94e0a1bc5a7493f17
refs/heads/master
2021-01-18T14:02:44.978553
2014-02-07T17:33:27
2014-02-07T17:33:27
null
0
0
null
null
null
null
UTF-8
Python
false
false
97
py
/Users/Bernat/GitHub/zodiac/eggs/pyramid-1.4-py2.7.egg/pyramid/tests/test_scripts/test_ptweens.py
[ "bernatcortina@gmail.com" ]
bernatcortina@gmail.com
534c6b9603e2b3195e9f8d06e6b1ec02e3df20eb
d29738495f1efb53733ae3280c9c4c840762bc76
/day7/t_shirt.py
5ad9be942930869066b5d828b08e1730d6d004ee
[]
no_license
himanshuchelani/Python_course
e317fec168dd5952a0b31a594ae4c4d9ff0806af
e533aa63eee990364d151dc6f1712005696f29fc
refs/heads/master
2020-05-14T01:54:51.833559
2019-08-25T13:10:48
2019-08-25T13:10:48
181,687,249
3
0
null
null
null
null
UTF-8
Python
false
false
1,861
py
"""Q1. (Create a program that fulfills the following specification.) tshirts.csv T-Shirt Factory: You own a clothing factory. You know how to make a T-shirt given the height and weight of a customer. You want to standardize the production on three sizes: small, medium, and large. How would you figure out the actual...
[ "himanshuchelani95@gmail.com" ]
himanshuchelani95@gmail.com
babfcdf3b882999af803cf1579a6ffc69c2f9480
296ef02d80108e6404fabbeee31fb1b26d7bf202
/Python/find_missing.py
510dfda8e9f082db5f567ad38b51938654d33f73
[]
no_license
craigread77/CodeWars
cb00d6438ae51bd510766d84ac4072268fdf2c07
de14bc8bc0f8bc53ea25bc97cb10cbac9b3bad97
refs/heads/master
2023-07-21T09:45:18.559137
2020-02-01T03:46:19
2020-02-01T03:46:19
209,141,581
0
0
null
null
null
null
UTF-8
Python
false
false
33
py
def find_missing(sequence):
[ "craig@localhost.localdomain" ]
craig@localhost.localdomain
057f17f474be14a66bb9937b475951cf147c8312
e20aa172b8cbd1133597da4ca6ca79d2d3566be3
/main.py
2e0e4419978d62177c56efd073f625e7424bbc88
[]
no_license
kirilldd2/currency_exchange_rate_predictor
3071c47c07197be392e0a11161ae87a6e18845fd
6c0b45f0e953299bbd3bf5cd0510a929b572498d
refs/heads/master
2023-02-10T08:52:25.371201
2020-11-12T11:33:03
2020-11-12T11:33:03
null
0
0
null
null
null
null
UTF-8
Python
false
false
722
py
import predictor as pd from datetime import date if __name__ == '__main__': # proxy print('------------Proxy----------------') real = pd.DataVault() proxy = pd.DataVaultProxy(real) result = proxy.get_data(('rub', 'usd'), date(2020, 1, 1), 'day', date(2020, 1, 31)) # delegation print('----...
[ "kirilldd2@gmail.com" ]
kirilldd2@gmail.com
a88ffb6174ebdfd827e73bd766adc0b636593847
f77d25b8c21edd450257e4a6c91464116021b7af
/string-compression.py
492609f12d769f8a3a169e35f4859bf92ba310be
[]
no_license
kumarUjjawal/python_problems
094d7641fefe19115e85c0d2ee78bd2be656c8b2
dc28844a706f31619e646f30261435c8a829cade
refs/heads/master
2023-03-02T00:54:21.069340
2021-02-07T13:13:18
2021-02-07T13:13:18
312,626,921
0
0
null
null
null
null
UTF-8
Python
false
false
594
py
# Perform string compression using counts of repeated characters. def compress_string(string): compressed = [] counter = 0 for i in range(len(string)): # noqa if i != 0 and string[i] != string[i - 1]: compressed.append(string[i - 1] + str(counter)) counter = 0 coun...
[ "ujjawalpathak6@gmail.com" ]
ujjawalpathak6@gmail.com
5b3f0779c66036825c0fb1976a146b8afea55a86
175107e6b61ab499e22c74a8c3f05c3fbf533d0d
/src/adventofcode_2020/day_5.py
cc0f54d8607fec31e1cb885c48eaf4a6bc4f86a8
[ "MIT" ]
permissive
Erik-vdg/adventofcode-2020
70427659e9ebc7c957e89951f14feabb98cfdfc0
72a6009786eb12eeb449243336f63d704f0eb053
refs/heads/main
2023-02-07T05:32:35.038002
2021-01-03T22:03:41
2021-01-03T22:03:41
318,713,126
0
0
MIT
2021-01-03T22:03:42
2020-12-05T05:51:14
Python
UTF-8
Python
false
false
1,399
py
from dataclasses import dataclass @dataclass class Seat: row: int column: int @classmethod def from_boarding_pass(cls, boarding_pass: str) -> "Seat": min_row = 0 max_row = 127 for char in boarding_pass[:-3]: if char == "F": max_row = int(max_row - ...
[ "erik.vandergoetz@gmail.com" ]
erik.vandergoetz@gmail.com
4141188aff9e8bd74c836ce018b14b259eb7c4ce
ea4c4475a6c314d58e5e9272c18a52e083bf1d1d
/util/__init__.py
2cc570983393ce016cadd08f8b01b5e06039ed2f
[ "Apache-2.0" ]
permissive
marshuang80/ml-scl
389ae1535253986f563153a5f5a8dc95814ede11
ca6a3cbd82a7afa4f3d1e5e3385ddea7376da653
refs/heads/master
2023-01-24T14:47:58.669346
2020-08-17T02:31:54
2020-08-17T02:31:54
278,994,835
3
2
null
null
null
null
UTF-8
Python
false
false
76
py
from .image_util import * from .eval_util import * from .optim_util import *
[ "marshuang80@gmail.com" ]
marshuang80@gmail.com
c4df6dd3299a3317a4247bd9c0efab72463ce5c0
b005e5cbd491aa3c3516677d72c2171db3904847
/video_spliter.py
33ec8c59460bb0b034816cbfcbcd2fbe6283cd57
[]
no_license
Reina-a/scripts-python
90e94971cfd0f768dfb7b1a454065bc35e1a424d
583db410fdac09a408261447eeb6a9d517b9641f
refs/heads/master
2022-11-26T00:25:02.645317
2020-08-01T11:52:38
2020-08-01T11:52:38
283,504,090
0
0
null
null
null
null
UTF-8
Python
false
false
602
py
from cv2 import cv2 cap = cv2.VideoCapture('k3.mp4') if cap.isOpened(): print('Open successfully!') fps = cap.get(cv2.CAP_PROP_FPS) width = cap.get(cv2.CAP_PROP_FRAME_WIDTH) height = cap.get(cv2.CAP_PROP_FRAME_HEIGHT) frame_count = cap.get(cv2.CAP_PROP_FRAME_COUNT) print(frame_count) print...
[ "noreply@github.com" ]
noreply@github.com
70988cdaae8fe160d9ff4483ca11bfcc6337c3df
3e323c72ebb497a4e9ea5fcc94ee11962e44c43d
/main/admin.py
cccdc791c0b1a9c82b74a4cb2fdf101e0eeb5ea6
[]
no_license
skru/HealthApp
6e50e6dd2ef1f8502414bee8f7896beeb6ea2537
fefc37a6baa05fc2825ee6cd5683afcb010e3034
refs/heads/master
2022-12-12T19:00:17.161712
2020-05-01T12:06:35
2020-05-01T12:06:35
242,496,460
0
0
null
null
null
null
UTF-8
Python
false
false
1,727
py
from django.contrib import admin from django.contrib.auth.admin import UserAdmin as BaseUserAdmin from django.contrib.auth.models import User from django.contrib.contenttypes.admin import GenericTabularInline from .models import * from chat.models import * # Define an inline admin descriptor for Profile model # which...
[ "skruproxy@gmail.com" ]
skruproxy@gmail.com
0a304e0a40a48f21f190293e60e6e9529aa92ad8
7d1b906d0c5bd68eceb904232bb16e705578fb5a
/news_center/admin.py
1154a46efb99f8dc37024f96482e8760722b45a8
[]
no_license
jesustr20/ejercicio_semana12
a02bbcbbb4d8882674b40cabedadd9f60b031ed4
8e4c06965f06c33ae1392461a27475d163b32161
refs/heads/master
2023-04-27T11:32:13.941847
2019-10-30T22:48:51
2019-10-30T22:48:51
218,639,678
0
0
null
2023-04-21T20:39:51
2019-10-30T22:42:49
Python
UTF-8
Python
false
false
113
py
from django.contrib import admin from .models import New # Register your models here. admin.site.register(New)
[ "jesus.tr61@gmail.com" ]
jesus.tr61@gmail.com
af012a55a4d87f181d28bcb4732b0e1c344fcd66
c33e8b3d524ea6faa3cc538b45921edd7786cde4
/ANN.py
8e97721b0fc2b88308bfc4a5c13edda65f9427ba
[]
no_license
ganashanth/Machine-learning-using-various-techniques
df7973639d97152c1ba9d40e4e691f0a0dd3495e
bd4f51f5fe16ca6c9f417fe43e1111cf1f842bf7
refs/heads/master
2020-04-14T17:24:18.998847
2019-01-09T09:52:49
2019-01-09T09:52:49
163,978,621
0
0
null
null
null
null
UTF-8
Python
false
false
2,520
py
from __future__ import print_function, division import numpy as np import pandas as pd from scipy.io import arff from sklearn.model_selection import train_test_split, cross_val_score from sklearn.metrics import accuracy_score, confusion_matrix from sklearn.neural_network import MLPClassifier """This code apply MLPCla...
[ "Admin@Ganashanths-MacBook-Air.local" ]
Admin@Ganashanths-MacBook-Air.local
c8a72f5a833ab58c631ccd20d56b9b4f4518c6b1
18d352b8e07337c345327c32f00ba8167731609f
/src/cm_api_tests/test_replication.py
b0099793550c7b448e6d0306569910b1df6efdf4
[]
no_license
jbfavre/python-cmapi
f52797371c54bd250891008a117477ee0439e5ea
9de308403836de23943c3a742514e279ed93ca30
refs/heads/master
2020-12-24T17:44:16.691145
2014-06-06T15:54:42
2014-06-06T15:54:42
20,562,437
1
0
null
null
null
null
UTF-8
Python
false
false
9,228
py
# Licensed to Cloudera, Inc. under one # or more contributor license agreements. See the NOTICE file # distributed with this work for additional information # regarding copyright ownership. Cloudera, Inc. licenses this file # to you under the Apache License, Version 2.0 (the # "License"); you may not use this file ex...
[ "jean-baptiste.favre@blablacar.com" ]
jean-baptiste.favre@blablacar.com
9bfcc14d955c900d812edf063bb26a835f8cc94e
a3ff056443bcbcf80a4f3e39a63abb8b546e2b69
/Controller/AuteurController.py
9489a1aeda6ca6316a50796444c7f5b301440662
[ "Unlicense" ]
permissive
amillet90/Flask_crud_v1
aef041b45c9283af9fd030d9f80b4d2b5f304443
4958c06027b3eab87ac66774bb200ee2f4552e29
refs/heads/master
2023-03-26T18:23:18.631532
2020-06-14T21:02:40
2020-06-14T21:02:40
261,981,554
0
0
Unlicense
2021-03-20T04:19:14
2020-05-07T07:34:08
Python
UTF-8
Python
false
false
2,122
py
import re from flask import * from Model import Auteur, Oeuvre c = Blueprint('auteur', __name__, url_prefix='/auteur') @c.route('/show') def show(): return render_template('auteur/showAuteurs.html.jj2', auteurs=Auteur.list()) @c.route('/supprimer/<int:id>', methods=['GET']) def supprimer(id): auteur = Au...
[ "hi@yukiisbo.red" ]
hi@yukiisbo.red
b626e3121a2dd2b30ae1100cb4d69bdbaedc2a96
94c654a1ca30d94caa1e9e7d40e09015efa2e573
/03-persistence/scorelib.py
4c066e87a54bde0ed91fc7a57cd6efd25b23183a
[]
no_license
martinzilak/PV248
e2787bfc895d55a73f5d01280034ed4c9200bbef
518b1ada481a11a17f94d6969ccfa99ee839e0d4
refs/heads/master
2021-10-08T11:41:15.224871
2018-12-11T21:43:56
2018-12-11T21:43:56
null
0
0
null
null
null
null
UTF-8
Python
false
false
10,135
py
from enum import Enum import re Regex = { 'NUMBER': r'.*?(\d+)', 'ANYTHING_AFTER_COLON': r'.*?:(.*)', 'COMPOSER': r'(.+?)\(([^-]*)(-{1,2}|\+|\*)([^-]*)\)', 'Y': r'.*?(y)', 'COMPOSITION_YEAR': r'.*?(\d{3,})', 'VOICE': r'\s*(?:(\S+?)(-{2})(\S+?)(?:,|;)\s*){0,1}(.*)', 'EDITOR': r'((?...
[ "tinnyx@gmail.com" ]
tinnyx@gmail.com
fdd766ae19b5a40233294459af7e8d093e4b9f1c
c971cefa15391eb5bfc661b61791aa641089ff71
/Term 2/14/1-open.py
3be53fa519b0ca8ae5b84e4bbcc68bc2e9c951fb
[]
no_license
theseana/ajil
d8816be35b7ee56d9bc6899587b71c664a455f5f
3fcda909dae50394120c7c05d530ad905b05da0c
refs/heads/master
2023-02-23T23:28:23.529531
2021-01-26T10:07:11
2021-01-26T10:07:11
305,970,739
0
0
null
null
null
null
UTF-8
Python
false
false
68
py
file = open('names.txt', 'a') file.write('Kourosh\n') file.close()
[ "sina.bakhshandeh.t@gmail.com" ]
sina.bakhshandeh.t@gmail.com
2be103b94a4b2915c4eba259acc1ebafba32b71f
08305da9995cb69f8aca743ac217c896c98e9528
/dirMake.py
99cefdb18f0445c72afbc70970334dd19ffdee68
[]
no_license
liuweistrong/DirsDemo
99f198ca5772ba05dce6fc6b38ec66d9fcb6651a
b4fd71ebb90470bed959fe364027dda329fddd6f
refs/heads/master
2021-09-06T04:01:53.815847
2018-02-02T08:33:14
2018-02-02T08:33:14
119,954,586
2
0
null
null
null
null
UTF-8
Python
false
false
2,740
py
import os def makeDirs(PATH): for i in os.walk(PATH): print(i) dirs = i[0] dir_str = ''.join(dirs) os.makedirs(dir_str.replace('C','D')) def filePathUpdate(filePath,size): # '''C:\Users\Administrator\Desktop\1\22.mp4从原始的文件PATh到要生成的文件Path''' pathWith2 = os.path....
[ "noreply@github.com" ]
noreply@github.com
289ec8ad7bb58019ac6246b30b4e26f72dfd62aa
2ab208f3a517a494cdab576cd2dc67f3ccfe9405
/log.py
6c2d71abcd07ecb6582744ec59950520bd8f6002
[ "MIT" ]
permissive
Irekean/DiRer_DiceRoller
dc56ad92556aae6a362d105d0adc7901375f7378
82a08c08b79580cd92588abc5a028000ccc4e483
refs/heads/master
2023-08-07T18:42:10.874786
2022-10-30T09:26:01
2022-10-30T09:26:01
232,535,165
0
0
NOASSERTION
2023-07-20T15:11:31
2020-01-08T10:12:30
Python
UTF-8
Python
false
false
689
py
import time import datetime def get_actual_time(): ts = time.time() # Just a seconds timestamp st = datetime.datetime.fromtimestamp(ts).strftime( '%Y-%m-%d %H:%M:%S') # Converting it to human time return st def log(value): ts = time.time() # Just a seconds timestamp st = datetime.date...
[ "gambellifulvio@gmail.com" ]
gambellifulvio@gmail.com
405cfad4df55eb5ca46c582509c94da0daa5a043
a00e50ce437c33d3c3a1c3214f478be93101fd8b
/Module 2-Problem 4.py
c0e49eccc6bd2c02bca185dc1a7ee7c296e981a2
[]
no_license
kinghoward63/hello-world
df6ccc2664cffdcafb6c5b42be4d7fea4b627728
b68cfb8f5d843ab9f951d2e9ceca8bfd0010313f
refs/heads/master
2020-04-21T13:52:39.354394
2019-05-28T17:59:33
2019-05-28T17:59:33
169,615,176
0
0
null
2019-02-07T18:07:11
2019-02-07T17:48:25
null
UTF-8
Python
false
false
604
py
#Dante Howard #04/23/2019 #This program will give python interpreter's for a continuous session. def add_fruit(inventory, fruit, quantity): inventory[fruit] = quantity new_inventory = {} add_fruit(new_inventory, 'strawberries', 10) if 'strawberries' in new_inventory: print("yes. 'Straw...
[ "noreply@github.com" ]
noreply@github.com
b2543d4e49e0d671c02106ce72e558566098bd52
13b82912fd09a01301ed9444e8c4ed73f77ef86c
/week_number/models/sale_order.py
d434b8783b440dd4f097244d433c7ac321cb1ba1
[]
no_license
lizethq/Mesadeayuda
f786ccd3e2b0f921cd66504ad7930f509104c00d
647e26143d2ca6f52f44bb37a49685b7b7cf6739
refs/heads/master
2023-07-08T16:26:13.214240
2020-10-01T15:16:32
2020-11-19T20:42:34
null
0
0
null
null
null
null
UTF-8
Python
false
false
400
py
from odoo import models, fields, api from datetime import datetime class SaleOrder(models.Model): _inherit = 'sale.order' week_number = fields.Integer(string = 'Closing per week') @api.onchange('validity_date') def _onchange_validity_date(self): date = str(self.validity_date).replace('-','/'...
[ "fg@todoo.co" ]
fg@todoo.co
0b8179b97a3c91e4e38b85d89697ca710e3c0abf
805e4298849abe03f16b6658b832a889b9cda718
/teme1/isPalindrome.py
02a3db3b710e97586b73fc89220a15f538f4d128
[]
no_license
vladzoicas/exercises
9ef96bc9ae7bfdbb6da130974b87dfa4f1f86046
142a1d5b44138535677265ce6377b94814412e0a
refs/heads/master
2021-01-25T23:46:45.657987
2020-02-26T13:21:43
2020-02-26T13:21:43
243,229,949
0
0
null
null
null
null
UTF-8
Python
false
false
296
py
userString = (input('Please enter a stringof characters ')) isPalindrome = True i = 0 while i < len(userString) // 2: if userString[-i-1] != userString[i]: isPalindrome = False break else: i = i + 1 print('Is the number a palindrome? ', isPalindrome )
[ "vlad.zoicas.ro@gmail.com" ]
vlad.zoicas.ro@gmail.com
4b6ccfb86e48819f6eee99a5cd18f91af08a52ab
cb1fbe170f0c2f5d06d5bd14cc7e4470e8f87203
/timeWrapper.py
2d2ce11a129f7f4ab3c1570ed1b6be01eb2a5bb1
[]
no_license
chen19900307/helloworld
3d7786ed89a9e1f32d139071ed9a3c9203226730
23ed54831bbcc252492435ee10375e9d19b5b2d9
refs/heads/master
2021-01-01T04:29:56.406399
2016-05-17T08:59:06
2016-05-17T08:59:06
59,006,346
0
0
null
null
null
null
UTF-8
Python
false
false
594
py
import time from functools import wraps def timethis(func): ''' Decorator that reports the execution time ''' @wraps(func) def wrapper(*args,**kwargs): start = time.time() result = func(*args,**kwargs) end = time.time() print(func.__name__,end-start) return...
[ "15055162601@163.com" ]
15055162601@163.com
28681e57d26ffad32790fd7272fac313b6a9c78a
5502782c83398118b2095fe7abc525f05020bb9a
/src/main_classify.py
6293fb377b95e5891e39cc2a715aef633a60a420
[]
no_license
yashkhem1/rgb_classify_regress
2768529ba91f91f8febaa47dbcccd96c2e953653
63acf95c164e95ee5a35ea9bdfc2db87cd38a560
refs/heads/master
2023-01-23T01:20:25.272821
2020-02-12T13:22:33
2020-02-12T13:22:33
235,770,650
0
0
null
null
null
null
UTF-8
Python
false
false
6,091
py
import sys sys.path.append('./') import torch import torch.utils.data import numpy as np from opts import opts from models.models_list import BackBone, PoseClassifier from data_loader.h36m_classify import H36M from common.logger import Logger # from utils.utils import adjust_learning_rate # def worker_init_fn(worker_...
[ "rahulm9999@gmail.com" ]
rahulm9999@gmail.com
2eded4b579f1fa29c2fca781ce41275089ee6883
27ece9ab880a0bdba4b2c053eccda94602c716d5
/.history/tf_regression_logistic_20181129224035.py
042940152a06ad085508f84df2ea7b7c812b8fbf
[]
no_license
Symfomany/keras
85e3ad0530837c00f63e14cee044b6a7d85c37b2
6cdb6e93dee86014346515a2017652c615bf9804
refs/heads/master
2020-04-08T20:21:35.991753
2018-11-30T08:23:36
2018-11-30T08:23:36
159,695,807
0
0
null
null
null
null
UTF-8
Python
false
false
7,428
py
import matplotlib.pyplot as plt import tensorflow as tf import numpy as np import os, argparse """ Any interaction with your filesystem to save persistent data in TF needs a Saver object and a Session object. The Saver constructor allows you to control many things among which 1 is important: The var_list: Default to...
[ "julien@meetserious.com" ]
julien@meetserious.com
34b88ab5a4de0838ef54b4e88dd0efc0a23cc1bc
1e177ebdcb470f738c058606ac0f86a36085f661
/CPRG-104/Assign03/socket-client.03.02.py
45997a0555e0949378f8f1c3c1bb727dbb771f66
[]
no_license
robingreig/raspi-git
5cbdd295c1048a0571aa2c2f8576438269439f07
7373bf94557d7a88c8f343362ba64f9cd19c8ce7
refs/heads/master
2023-08-31T03:16:17.286700
2023-08-26T11:54:23
2023-08-26T11:54:23
16,873,881
2
0
null
null
null
null
UTF-8
Python
false
false
568
py
import socket import time ClientSocket = socket.socket() host = '127.0.0.1' #host = '192.168.200.138' port = 1233 print('Waiting for connection') try: ClientSocket.connect((host, port)) except socket.error as e: print(str(e)) Response = ClientSocket.recv(1024) count = 0 while count < 31: clientNumber = s...
[ "robin.greig@calalta.com" ]
robin.greig@calalta.com
69713713ecf2bdecf41619c598395a574530077f
a174bf57c6d3b48f436402a3b825248c395934f4
/accounts/urls.py
1587ef94b90abd79cc47920f3cc5eacb95cd7425
[]
no_license
pymq/ldap_change_password
b56cef07ecec4fb0b2967ebdd9b79ac455a55fb5
2db82b392713e6675f3f50aeca93c6666b880f27
refs/heads/master
2020-03-07T13:59:38.600728
2018-03-31T08:49:41
2018-03-31T08:49:41
127,515,821
0
0
null
null
null
null
UTF-8
Python
false
false
294
py
from django.conf.urls import url from django.views import generic from .views import change_password urlpatterns = [ url(r'^change-password/$', change_password), url(r'^change-password/success/$', generic.TemplateView.as_view(template_name='accounts/success.html'), name='success'), ]
[ "maksimmerzh@gmail.com" ]
maksimmerzh@gmail.com
38d0919f4d849377df4623f627e45260aa1d066d
d3ba68335668797d4d2afed4f7dd92c6210dbf87
/tests/test_helpers.py
8c1f88e7d5ad1000f3a5feefa18b6b1f818aea34
[ "MIT" ]
permissive
tusharve/cellpy
9dbd75c9e97893c1293808dd9dbcff8232f6b3cc
554866ead452d9f96e6ff65172eb19ff68d39276
refs/heads/master
2023-07-31T12:57:52.216694
2021-08-29T10:42:28
2021-08-29T10:42:28
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,797
py
import pytest import logging import pandas as pd from cellpy import log from cellpy.utils import helpers from . import fdv from cellpy.exceptions import NullData log.setup_logging(default_level=logging.DEBUG) @pytest.fixture def cell(): from cellpy import cellreader d = cellreader.CellpyData() d.load(f...
[ "jepe@ife.no" ]
jepe@ife.no
7f047e70e45dbef17099c57e8dd19192383df9cf
e7669caf1a4ce9053bb720bcfa2d85a4ee35ea65
/jade/rosetta_jade/SetupRosettaOptionsBenchmark.py
653ddcca461dfbecc36094e66ec625695fb1a017
[ "BSD-3-Clause" ]
permissive
SchiefLab/Jade
f81190321df061f8317db869a64a7b87a13d664a
791d26892aacf21bca733aa9c1c6ea3f2be51958
refs/heads/master
2023-01-10T15:14:08.431470
2018-11-07T17:11:02
2018-11-07T17:11:02
41,381,258
7
2
NOASSERTION
2022-12-26T20:35:53
2015-08-25T18:39:20
Python
UTF-8
Python
false
false
4,999
py
import os import sys from jade.rosetta_jade.SetupRosettaOptionsGeneral import SetupRosettaOptionsGeneral class SetupRosettaOptionsBenchmark(SetupRosettaOptionsGeneral): """ Class for setting up Rosetta Benchmarks. See database/rosetta/benchmark_jsons_rabd/nstruct_test.json for an example. Basically, ...
[ "jadolfbr@gmail.com" ]
jadolfbr@gmail.com
083cf77136d7e18b14371c9361b4caf2bfe0d2b6
fae30fe7f6b8a6db67b64b228847186ff96d3beb
/tests/test_task_2.py
4c2f1caa9911ae44413de0b8d306756d18514e45
[]
no_license
pshemekhinca/xyz-reqruitment_task
fbd108a519a262199bdf77453357a2521e2f054f
a4cc8ec1e643ab7503836c036f5fc7cb6cfa046b
refs/heads/master
2023-07-10T21:03:54.890261
2021-08-16T11:19:03
2021-08-16T11:19:03
392,294,788
0
0
null
null
null
null
UTF-8
Python
false
false
1,392
py
from task_2 import DigitsRangeError, combinations import pytest @pytest.fixture() def sample_results(): results = combinations("23") return results def test_combination_function_result_type(sample_results): assert type(sample_results) == list @pytest.mark.parametrize('symbol, expected', [("1", []), ("...
[ "pshemekhinca@gmail.com" ]
pshemekhinca@gmail.com
9bbc917d6a737f2a2a556f04f038a3de181d1dac
2bdc553a131a8ef08a6433150d1e853ed5a67d5f
/Services/ContentderAI.SimilarWord/similarword/asgi.py
07957e59441dc9510b7eeedee60a2be2970545f9
[]
no_license
Rushika193/Project
3e31d8aa9705a524398991d7e93b177d7d427b3c
3991d9fb1fb1e83cd144d6e0108107a975180a17
refs/heads/master
2023-02-27T14:02:00.625331
2021-02-09T12:08:12
2021-02-09T12:08:12
337,383,339
0
0
null
null
null
null
UTF-8
Python
false
false
399
py
""" ASGI config for similarword project. It exposes the ASGI callable as a module-level variable named ``application``. For more information on this file, see https://docs.djangoproject.com/en/3.1/howto/deployment/asgi/ """ import os from django.core.asgi import get_asgi_application os.environ.setdefault('DJANGO_S...
[ "Rushika18csu183@ncuindia.edu" ]
Rushika18csu183@ncuindia.edu
11c68b975c4b187dc8ea4b634c849a519d049d41
2e96336f7a17b63a4b5ceaef9b8a519732e7b9df
/my_website/canopy/Touchdowns.py
f5f0e547c8a76a827141b164480b56ee75422dc0
[]
no_license
danechris/danechris.github.io
a67d4b35ada0d2f7906ea5a21e8665c0d67001a9
83f5e9d1feba6a8e2015242813619dbdc09577fd
refs/heads/master
2021-09-15T02:58:09.819757
2018-05-24T15:17:19
2018-05-24T15:17:19
104,788,065
0
0
null
null
null
null
UTF-8
Python
false
false
1,020
py
import matplotlib.pyplot as plt import os.path import os.path directory = os.path.dirname(os.path.abspath(__file__)) #Open the file filename = os.path.join(directory, 'touchdowns.csv') datafile = open(filename,'r') data = datafile.readlines() #Creates empty list for weight values and touchdowns scored value...
[ "dchristensen@student.linfield.com" ]
dchristensen@student.linfield.com
49f939b441f3b3012567786f0d0053ec92ddf2a1
aa2b5edc23d5c888a90fb39a2f55bfa9498e3410
/twentyfourw_dev_2116/settings.py
fbbbe62df409feac63f9bd25f03c583e1bd21244
[]
no_license
crowdbotics-apps/twentyfourw-dev-2116
d19c5c346f0e0f7f11265ccaab4553623658dc26
afda378201bdab9c233c4168725162d9db6cc68f
refs/heads/master
2022-12-14T13:43:31.071106
2020-03-24T09:53:58
2020-03-24T09:53:58
249,655,237
0
0
null
2022-12-08T03:53:27
2020-03-24T08:42:25
Python
UTF-8
Python
false
false
5,496
py
""" Django settings for twentyfourw_dev_2116 project. Generated by 'django-admin startproject' using Django 2.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/ """ ...
[ "team@crowdbotics.com" ]
team@crowdbotics.com
dff11dee1d715de04963bbea26440111eadd59a1
98ddd36de43e933e573dceaa33836ede0233d72a
/netgraph/graph.py
e9eadd11511962f10803dbe1240a07432c5f61fd
[]
no_license
Arseny-N/NetGraph
8e029f5ce29fe119e665822537562fa52f5f745b
9fbd742d22f2e1f75914baff61fb9bbc6ae15554
refs/heads/master
2020-08-29T18:22:14.535256
2019-10-28T20:31:43
2019-10-28T20:31:43
218,127,163
0
0
null
null
null
null
UTF-8
Python
false
false
4,694
py
from pathlib import Path class FileGraphBase: def __init__(self): self.stats = { 'nodes' : 0, 'edges' : 0 } class GMLGraph(FileGraphBase): def __init__(self, file): super().__init__() self.file = open(Path(file).expanduser(), 'w') self.writ...
[ "arseny-n@yandex.ru" ]
arseny-n@yandex.ru
729b9db599e1ace18b90c24f15c7030a86dbc982
4680ff36ddf42a999b87a3fe085b5ccd12ba98cc
/core/admin.py
69cb450d88d2374dd81b7a97d4ecd059f0554108
[]
no_license
2-sha/back_atomhack
a8b43eaaa304b808bb341cb0d8f35445052ff480
bae5c6ffcf209e093e024594e676d5f89ddcdaef
refs/heads/master
2023-07-17T14:27:15.134528
2021-08-29T12:04:42
2021-08-29T12:04:42
400,773,958
0
0
null
null
null
null
UTF-8
Python
false
false
452
py
from django.contrib import admin from core.models import TagPerk, Perk, Tag from user.models import UserPerk @admin.register(Perk) class PerkAdmin(admin.ModelAdmin): list_display = ['name'] search_fields = ('name', ) @admin.register(Tag) class TagAdmin(admin.ModelAdmin): list_display = ['name'] sear...
[ "khalitov.anton@yandex.ru" ]
khalitov.anton@yandex.ru
49297290bb8dc8eb2343338ee4a3f84bf3797b9f
75ad8b428e56306b54ee71ae203e9a45f8e3de29
/tests/test_project.py
ac4d8c3d178ff2a7ce2ad8164827f461301c7d32
[]
no_license
toolness/fleeting
09b9d0c6ed0fea723bdeb855d5c986d7488056ce
3c4b36d32226145ef65450e41c58ca8567cd41cb
refs/heads/master
2020-04-01T12:43:36.441109
2013-06-15T23:33:20
2013-06-15T23:33:20
9,755,260
2
0
null
2013-06-15T11:37:29
2013-04-29T18:40:50
JavaScript
UTF-8
Python
false
false
17,101
py
import unittest import json from StringIO import StringIO import mock from boto.exception import BotoServerError from fleeting import project from fleeting.tempcache import DictTempCache def create_mock_instance(ec2, ready_tag=True): tags = { 'fleeting:openbadges': json.dumps(dict( git_user='...
[ "varmaa@gmail.com" ]
varmaa@gmail.com
73214de4e0d90d7fdc56f9a97deb0efeb602ec96
9be5e8d96f49b3accb5e1bca2ab3565252f7d6d6
/womens_health/Users/utils.py
217f4f0097982695547945a69c5919ed6a60ab77
[]
no_license
KIngSimeone/womens-health
6dbebd24f022d101ffc39cfa1ef00446f8ab583d
e458d7d92aa9b05b8565d2b30f3ce384c203e001
refs/heads/main
2023-06-22T09:10:33.510602
2021-07-22T14:01:54
2021-07-22T14:01:54
387,877,171
0
0
null
2021-07-22T12:33:29
2021-07-20T18:13:26
Python
UTF-8
Python
false
false
5,579
py
import logging import secrets import uuid from datetime import timedelta from django.conf import settings from django.contrib.auth.hashers import check_password, make_password from django.core.exceptions import ObjectDoesNotExist from django.db.models import Q from django.utils import timezone from .models import Pat...
[ "simeoneumoh@outlook.com" ]
simeoneumoh@outlook.com
970c77b0a70cde03ffb2411a4d0c339de9a5d195
052a3e59d6d28ef2c0c7af16cb43ab5dd8a122ee
/excelbt/vbproject.py
7f26661d22684f0bd6f380bbd765838e78dfeb6b
[]
no_license
feisuo/excelbt
fef48a70358963c21f229894a2734d358777b943
92b160aaa384de9b874a77a23cc879e91692bc77
refs/heads/master
2021-05-27T01:07:30.444975
2012-01-12T02:07:32
2012-01-12T02:07:32
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,007
py
import os class Module(object): extension = '.bas' def __init__(self, name, code): self.name = name self.code = code def export(self, path): destination = os.path.join(path, self.filename) file(destination, 'w+').write(self.code) return self.filename @property...
[ "brotchie@gmail.com" ]
brotchie@gmail.com
874f1c92431eb6ea589aecf23feb98ea1d7aa4a2
757360a33181882095a48598eab8ea16e4b7c909
/bs4/__init__.py
18cec686309165e8f65c05229c147d934213b712
[]
no_license
ardentras/topwallpaper
e011688fdd0d9ad5da33bf7ebb35c46a452a3276
c5c947f75ed746d538121abc95b6fa2af648c8ab
refs/heads/master
2021-01-18T21:19:12.176814
2016-04-22T16:27:41
2016-04-22T16:27:41
34,496,417
0
0
null
null
null
null
UTF-8
Python
false
false
12,878
py
"""Beautiful Soup Elixir and Tonic "The Screen-Scraper's Friend" http://www.crummy.com/software/BeautifulSoup/ Beautiful Soup uses a pluggable XML or HTML parser to parse a (possibly invalid) document into a tree representation. Beautiful Soup provides provides methods and Pythonic idioms that make it easy to navigate...
[ "shaunrasmusen@gmail.com" ]
shaunrasmusen@gmail.com
cef6f8e32412557bc2218e65e7bd40ed189bad42
15da50a471edf8517f5ddb34ee7ddec374ba2a19
/LNC_fileproc.py
8118e9643ad0e21dbffadd634c05faafba06c754
[]
no_license
nchaparr/LNCcode
4489f1333e53e0899c67417ca1e2e42ebbcd62d9
e22c8d32f92523eed3f7aa3734e342e42ec3835f
refs/heads/master
2021-01-24T02:34:12.002693
2013-08-16T20:24:51
2013-08-16T20:24:51
null
0
0
null
null
null
null
UTF-8
Python
false
false
3,208
py
import pandas as pan import numpy as np import os,sys import LNC_tools as LNC #---------------------------------------------------------------------------- #Uses tools created in LNC_tools to open all files in a folder and resample #them to a regular spacing in altitude/date the concatenates them into one #pandas data...
[ "dashamstyr@gmail.com" ]
dashamstyr@gmail.com
bdb0641a40b0b50cb222d0ca0f4a2167376a00fb
90943dc7929bb1d194d7d669501602a6e63279c2
/yourprojectname/app/__init__.py
d11e491b89315809fe7ee41bfc08334b21a210a1
[]
no_license
Devical/Python3-Flask-Min-Setup
151214647aa24714780436b1a3e564051e806080
819a03904c0e17ad48994baf869f6d970dbe5663
refs/heads/master
2020-06-01T10:59:36.315154
2014-12-31T18:44:55
2014-12-31T18:44:55
null
0
0
null
null
null
null
UTF-8
Python
false
false
275
py
#! /usr/bin/python3 from flask import Flask app = Flask(__name__) @app.route('/') def index(): return '<h1>Hello World!</h1>' @app.route('/user/<name>') def user(name): return '<h1>Hello, {0}!</h1>'.format(name) if __name__ == "__main__": app.run(debug=True)
[ "joe@devical.com" ]
joe@devical.com
c8c6e809b8392b49a2578267da1a5e6a9aceaec6
2fa471b4d7f2c7b0838dc8af4cc2611b6f244153
/community/migrations/0003_communities_communitycreationdate.py
62524730a2f11479d9f9e79bd736921b2156e5cc
[ "MIT" ]
permissive
akarakoc/Communityverse
c50973084c2afc43a64ea1f719375d4eb69317c4
73ecf51eae3f96cca865e0d7cc526b92c8ad6b5e
refs/heads/master
2020-08-02T20:24:22.186385
2019-12-15T15:31:16
2019-12-15T15:31:16
211,496,677
0
0
null
null
null
null
UTF-8
Python
false
false
412
py
# Generated by Django 2.2.6 on 2019-11-07 09:31 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('community', '0002_communities_communitycreator'), ] operations = [ migrations.AddField( model_name='communities', na...
[ "root@ip-172-31-47-76.us-east-2.compute.internal" ]
root@ip-172-31-47-76.us-east-2.compute.internal
ead4df863d115de2176526d1bd7a0cc164650f5c
385005433e8a6fedc1114ea9a394842e9da89db7
/airport_test/database/jokes/t.py
86fa640c1d5d2e40064cbd61fc6fa1c66d350f37
[]
no_license
oluwayetty/hri-for-airport
d2a575923d9568cb24efb9583a1bd34099862256
fd3067e86a5e6f865e6294cccd832c9805051b60
refs/heads/main
2023-06-05T21:32:15.837106
2021-06-22T13:30:56
2021-06-22T13:30:56
379,263,335
0
0
null
null
null
null
UTF-8
Python
false
false
331
py
with open('j1.txt','r') as f: jokes = [] s='' for line in f: if line.startswith('----'): jokes.append(s) s='' else: s+=line print(jokes) print(len(jokes)) print('\n\n\n\n') for i in jokes: print(i) print('------------------...
[ "mohdsukh@gmail.com" ]
mohdsukh@gmail.com
b8f36b1cd13f973bdc227c130d5ce47cd7c258d5
a9ae784983f4bd9599d522d5c93d3447081b75b4
/Tic_Tac_Toe_Board.py
8544ae0e97561cc9ff605fb6a0cccef2c1e18465
[]
no_license
arielmil/MinMaxTicTacToe
6745c241c9436beda4044897178403cc65de4ed2
30ef96ddf0e12a312677a1f765dacafb4b287335
refs/heads/main
2023-08-10T16:32:17.375116
2021-09-30T05:11:17
2021-09-30T05:11:17
411,929,797
0
0
null
null
null
null
UTF-8
Python
false
false
6,259
py
import copy class Board(): def __init__(self): self.board = [] self.rows, self.cols = (3, 3) self.x = 1 self.O = 0 self.none = -1 self.createBoard() def posIsValid(self, pos): (row, col) = (pos["row"], pos["col"]) if (ro...
[ "mileguir23@hotmail.com" ]
mileguir23@hotmail.com
aa966b5418da98a57aaaac4b31513de16276c42f
f5129176c7e06f42821d9d8cefcb7223c0819d8e
/atma/web/migrations/0009_project_strategy.py
517096d3ececede99c9083663eeef2c5de90a2cb
[]
no_license
Mumbai2016/team-12
b6cceb35485eba497a4896f8ca64a12eaf41d2f1
a986b5fa72a01304015fdc7f6810fb7d931d474e
refs/heads/master
2020-12-25T20:20:38.536884
2016-07-24T05:57:48
2016-07-24T05:57:48
63,882,298
0
0
null
null
null
null
UTF-8
Python
false
false
485
py
# -*- coding: utf-8 -*- # Generated by Django 1.9.8 on 2016-07-23 22:22 from __future__ import unicode_literals from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('web', '0008_remove_project_strategy'), ] operations = [ migrations.AddField(...
[ "varshashetty96@gmail.com" ]
varshashetty96@gmail.com
328aee9cbe3266d0570cbf5c3316cc3652682c4f
de24f83a5e3768a2638ebcf13cbe717e75740168
/moodledata/vpl_data/452/usersdata/295/103617/submittedfiles/avenida.py
6649f5b8ca7a93bb93757f04563ecc17f38f6018
[]
no_license
rafaelperazzo/programacao-web
95643423a35c44613b0f64bed05bd34780fe2436
170dd5440afb9ee68a973f3de13a99aa4c735d79
refs/heads/master
2021-01-12T14:06:25.773146
2017-12-22T16:05:45
2017-12-22T16:05:45
69,566,344
0
0
null
null
null
null
UTF-8
Python
false
false
503
py
# -*- coding: utf-8 -*- matriz = [] m = int(input("Digite um numero de quadras n-s:")) n = int(input("Digite um numero de quadras l-s:")) i = 0 j = 0 if 0<= m <=1000: if 0<= i <=m-1: if 2<= n <=1000: if 0<= j <=n-1: print("") for i in range(0,m,1): linha = []...
[ "rafael.mota@ufca.edu.br" ]
rafael.mota@ufca.edu.br
b1a97c6931a958d1bf2737730543b6ae7c285b35
190784e8861610e45eece0d617b113bf40840f28
/ros_wkspace_asgn2/build/assignment2/robot_sim/catkin_generated/pkg.installspace.context.pc.py
e31dc2befd983f304e4ec379ec24a344cb8831ce
[]
no_license
liulc006/Robotics
2d3d55627c1a67377bc1bb2af47bdd4f9eaf629a
02d3ef92fcdd649db96e6574e63f7644c90c9253
refs/heads/main
2023-02-11T05:15:58.452570
2021-01-08T17:41:54
2021-01-08T17:41:54
314,352,000
1
1
null
null
null
null
UTF-8
Python
false
false
474
py
# generated from catkin/cmake/template/pkg.context.pc.in CATKIN_PACKAGE_PREFIX = "" PROJECT_PKG_CONFIG_INCLUDE_DIRS = "${prefix}/include".split(';') if "${prefix}/include" != "" else [] PROJECT_CATKIN_DEPENDS = "roscpp;sensor_msgs;trajectory_msgs;urdf".replace(';', ' ') PKG_CONFIG_LIBRARIES_WITH_PREFIX = "-lrobot_sim"....
[ "lucaliu96@gmail.com" ]
lucaliu96@gmail.com
81327a2d889baeea4ad08944447ea99e61378163
7ff7b9f403f8c44588bc432c9cf81703dbadc149
/flaskr/venv/bin/pyrsa-keygen
c7a1ba23b6c856ea5ee535bb602398e43fd31edb
[]
no_license
Dorisvdmeer/pythonAdventure
32168b558208e4c9ebdac496a66fdb4d19e38999
29065ceacbf4b02cf5e01878a513e7dcf7f8cbe8
refs/heads/master
2020-06-05T04:10:59.562396
2019-06-26T07:41:54
2019-06-26T07:41:54
189,609,165
0
0
null
null
null
null
UTF-8
Python
false
false
286
#!/Users/dorisvandermeer/Documents/pythonAdventure/flask-tutorial/flaskr/venv/bin/python3.7 # -*- coding: utf-8 -*- import re import sys from rsa.cli import keygen if __name__ == '__main__': sys.argv[0] = re.sub(r'(-script\.pyw?|\.exe)?$', '', sys.argv[0]) sys.exit(keygen())
[ "doris.vandermeer@incentro.com" ]
doris.vandermeer@incentro.com
fc5fb76db405b511c747bebda2cd8a8bdb7d96f9
416ea1127f3e3a1a8e64dd980e59c7bf585379a0
/number_writer.py
2414d38b37368645071209585e62b1ef0d871232
[]
no_license
jocogum10/learning_python_crash_course
6cf826e4324f91a49da579fb1fcd3ca623c20306
c159d0b0de0be8e95eb8777a416e5010fbb9e2ca
refs/heads/master
2020-12-10T02:55:40.757363
2020-01-13T01:22:44
2020-01-13T01:22:44
233,486,206
0
0
null
null
null
null
UTF-8
Python
false
false
140
py
import json numbers = [2,3,5,7,11,13] filename = 'numbers.json' with open(filename, 'w') as file_object: json.dump(numbers, file_object)
[ "jocogum10@gmail.com" ]
jocogum10@gmail.com
78f29afec01ed1c12af51264ebf5fbc122dbe04a
9c70737e06c4da1aa541f3a0ef31a325881a3d9b
/DatabaseSyncAgent.py
edd1174ec25e28cc4105c2e7df65c3038b90468b
[]
no_license
zheksy/WFAssistant
a45001fae324b0bfee08695352d1f424918c8813
c8d1923dd473048661e02fa8a57667543fa9d7b2
refs/heads/main
2023-06-04T06:18:25.274920
2021-04-13T22:06:24
2021-04-13T22:07:11
379,887,446
0
0
null
null
null
null
UTF-8
Python
false
false
851
py
#!/usr/bin/python3 import time import random import datetime import WayfarerDataManager as wfdm import json import requests from datetime import date WAYFARER_JSON_PATH = './reviews.json' DATABASE_PATH = './database.json' REMOTE_DB_URL = 'https://api.jsonbin.io/v3/b/604faf7e7ea6546cf3dee383' def main(): dbUrl = R...
[ "gmguy.walls112@gmail.com" ]
gmguy.walls112@gmail.com
d056d27f5ef63960f7fb05326219de4a8375c06e
eaa9dda8d05187ce29c6498c2b7da8679f98be95
/resource_check.py
c7310f61e309699eca13fa13e340e9066e18e3ab
[]
no_license
bdeegan-r7/Divvy_scripts
1fc96ec9488d0ef12af9d526f07d15dca21fb1d6
10f8a55d9b822e812dccdadb7ab0db336636faf3
refs/heads/main
2023-04-29T20:11:47.653596
2021-05-20T15:36:22
2021-05-20T15:36:22
384,163,904
0
1
null
2021-07-08T15:08:00
2021-07-08T15:08:00
null
UTF-8
Python
false
false
3,110
py
# Check if a resource has showed up in DivvyCloud. If it has, check to see if there are any compliance violations on it. # Currently this looks for any insights but filtering in check_for_violations() can pull out specific insights if needed import json import requests import getpass import time requests.packages.ur...
[ "alex@abcwebdesigner.com" ]
alex@abcwebdesigner.com
4eacae07fc0db896acc89681bebd4f869bb7091c
84179e28f7a8237ca109dfa725e75743227562b4
/src/backend/analytics/MissionAnalysis.py
347cd96d6f0f6d47d0f230d5a549a1e4d81acf6f
[]
no_license
O1sims/Pax
b65a3dc060c4676fdcefefb8cf2f49e718c64931
aee9661c07429697b836f7140c76648eca7fa9d4
refs/heads/master
2022-12-12T09:16:32.024143
2018-10-19T07:55:52
2018-10-19T07:55:52
141,993,395
4
1
null
2022-11-22T16:47:33
2018-07-23T09:37:59
Python
UTF-8
Python
false
false
3,093
py
import os import pandas as pd import pymongo as pm import datetime as datetime import numpy.random as nprnd from Risk import Risk _author_ = 'Owen Sims (sims.owen@gmail.com)' """ A set of functions used to infer information about the mission from the mission network data, supplied by Risk Aware. :Note: Vulnerab...
[ "owen.sims@cyberlytic.com" ]
owen.sims@cyberlytic.com
a8c02aff72c33917ded6e08109c456d97687e6ab
e68960a0924496da1b7999709d19bc93a0166f7e
/run_cqa.py
4ea2863577d384f23a356e337f54d35a54fe9284
[]
no_license
ahashisyuu/MFIN
ddc9f0f8c8d9f03d805cc1ee4b4759ec5392e34e
e4f84b733e6fe025cb6558f1829b9dcaec7c23e2
refs/heads/master
2022-04-17T11:47:48.655555
2020-04-14T06:22:14
2020-04-14T06:22:14
255,508,469
0
0
null
null
null
null
UTF-8
Python
false
false
21,542
py
import os import numpy as np import tensorflow as tf import pickle as pkl import modeling import optimization from tensorflow.contrib import tpu from EvalHook import EvalHook from run_classifier import FLAGS from utils import PRF, eval_reranker, print_metrics from CQAModel import DoubleModel, Baseline, DoubleModelUpG...
[ "1347324360@qq.com" ]
1347324360@qq.com
7ae21a1edd8b22d7ce236af170136a4abff5837b
3f67ad2617457e3a164bdaae9b1e911760a25141
/Data Structures/findMergePointofTwoLists.py
747328a3cddd08867229fc406a3803ce6b6fd1f1
[]
no_license
arkwl/HackerRank
834bdc9885237392ee77c3a0cd571a2c769f6a45
9b9cc80ced4b38e83bdd1a6fceb1bc70f8b70faf
refs/heads/master
2021-01-12T01:24:39.777288
2017-12-28T18:46:05
2017-12-28T18:46:05
78,382,163
0
0
null
null
null
null
UTF-8
Python
false
false
1,058
py
""" Find the node at which both lists merge and return the data of that node. head could be None as well for empty list Node is defined as class Node(object): def __init__(self, data=None, next_node=None): self.data = data self.next = next_node """ class Stack(): def __init__(self): ...
[ "alexa.rockwell@stonybrook.edu" ]
alexa.rockwell@stonybrook.edu
e94d1664d63695dcb5284d9aacacb921ad6d29d7
6fdf57b6e90c97543f270cba68edd5171525e101
/manage.py
7b2fcd89c6994ed554f733c8f41d4e275f3c44e3
[]
no_license
coreyadkins/goalsaver
abc34978d2a8c2e63d27c7d8a2c951874bee0736
acdc91abd937660c5b2f0fa43619f4aa5162c573
refs/heads/master
2020-06-27T07:03:58.451048
2017-06-08T22:16:11
2017-06-08T22:16:11
74,530,361
0
0
null
null
null
null
UTF-8
Python
false
false
807
py
#!/usr/bin/env python import os import sys if __name__ == "__main__": os.environ.setdefault("DJANGO_SETTINGS_MODULE", "goalsaver.settings") try: from django.core.management import execute_from_command_line except ImportError: # The above import may fail for some other reason. Ensure that th...
[ "adkinsbass@gmail.com" ]
adkinsbass@gmail.com
954401ce5ac31f8047d2cd278b7a98196ac303f9
b7f78fd9769d47aaea08e008052ae24bb8bce893
/model.py
765bd42018f0a0bb44dc8fce6a6d1cf533d7afad
[]
no_license
wanghan0501/DeepBC
f2fbff95bcea99174b10c4c9a363af4ee01bce79
5e4485981596ecdca6ba3f10eeda6ab884f9047a
refs/heads/master
2021-09-05T07:31:24.379604
2018-01-25T08:07:16
2018-01-25T08:07:16
109,246,567
0
0
null
null
null
null
UTF-8
Python
false
false
8,403
py
# -*- coding: utf-8 -*- """ Created by Wang Han on 2017/11/2 17:01. E-mail address is hanwang.0501@gmail.com. Copyright © 2017 Wang Han. SCU. All Rights Reserved. """ from __future__ import absolute_import from __future__ import division from __future__ import print_function import tensorflow as tf import tensorfl...
[ "hanwang.0501@gmail.com" ]
hanwang.0501@gmail.com
516b9ee99a10824a1b7b9dde46b23c80a5075468
332ba17ddffba48343334663d1be36aaa9cbdf10
/IC_engine/angle.py
0944d444f53b5c5595c0bd93c1eaab6a7dae2f6d
[]
no_license
nivartfu/CFD-using-OpenFOAM
e1956f182c5d3318f81257221198b79552dfbdac
90ea127801373e3877e32d64431cac3341896595
refs/heads/master
2023-03-29T06:48:48.040219
2021-04-06T20:10:31
2021-04-06T20:10:31
286,535,635
0
0
null
null
null
null
UTF-8
Python
false
false
469
py
import math import numpy as np c = np.array([-37.5, -37.5, -22.8, -20.8, -20.8, -33, -3, -3, -6, -12, -16.8, -30.5]) d = np.array([0,90,90,96.5,106.5,130,130,100,98,97,90,0]) theta = 45 #tx = c * math.cos(math.radians(theta)) #tz = c * math.sin(math.radians(theta)) #for i in range(len(tx)): # print(tx[i], d[i] , tz...
[ "nsiddhartha1994@hotmail.com" ]
nsiddhartha1994@hotmail.com
57aebdb2f7a88a25d8d2a4e49efb730394d6b804
b7ac3795f6282d6eba6e220a101365874d9a6dba
/node_modules/fsevents/build/config.gypi
a5ead9e014ffb26de1996bb059b96bf21e2c7d8c
[ "MIT" ]
permissive
ITalik-gr/loramedical
8072d966d43ad0b4955d07da91b8e69121ebfad5
2283151d4ec219bf2f8f40075916f084709d0234
refs/heads/main
2023-07-03T20:53:37.237570
2021-08-05T15:46:17
2021-08-05T15:46:17
392,381,085
0
0
null
null
null
null
UTF-8
Python
false
false
6,086
gypi
# Do not edit. File was generated by node-gyp's "configure" step { "target_defaults": { "cflags": [], "default_configuration": "Release", "defines": [], "include_dirs": [], "libraries": [] }, "variables": { "asan": 0, "build_v8_with_gn": "false", "coverage": "false", "dcheck_al...
[ "h@192.168.0.102" ]
h@192.168.0.102
1401a014d3574f222a7fc2e289fafa0714a025b6
45a93186c2c3d1f6da3b7b162874a07433963702
/app/auth/forms.py
41a3b0ceb142f7375534def9142aff6320f33884
[]
no_license
kpglide/blog
ae0897c5b93e4799725dadf66886f18ac17aa792
a755c16351d448d2d408a5ae40ebb2e820126647
refs/heads/master
2021-01-20T10:35:34.293486
2015-03-29T14:48:40
2015-03-29T14:48:40
19,876,299
0
0
null
null
null
null
UTF-8
Python
false
false
382
py
from flask.ext.wtf import Form from wtforms import BooleanField, TextField, TextAreaField, PasswordField, \ validators, ValidationError #Represents a form for logging in class LoginForm(Form): username = TextField('username', [validators.InputRequired()]) password = PasswordField('password', [validators.InputRe...
[ "kpglide@gmail.com" ]
kpglide@gmail.com
ccf98e88db167a2dfc0b6cb385dc4990eebccba7
a1b375c3e98fe059dafc4d74cbcbcb99a0571e44
/social_app/settings.py
5de5aa7207f386de8a90e8dc7415e0d11491db46
[ "MIT" ]
permissive
mohsenamoon1160417237/Social_app
478a73552ceed8001c167be6caaf550cd58626bd
79fa0871f7b83648894941f9010f1d99f1b27ab3
refs/heads/master
2022-12-09T16:03:53.623506
2020-09-21T05:59:22
2020-09-21T06:02:03
297,242,915
0
0
null
null
null
null
UTF-8
Python
false
false
4,168
py
""" Django settings for social_app 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/ """ import os f...
[ "dramatic225@gmail.com" ]
dramatic225@gmail.com
377389f938f9c8a011bcdcffac812946bcae9096
6249b52f4713adf032dce1aa495ce5e8d0714309
/p2/financial_series/aux_fun.py
517b259e9f2b1b61f4c6e1a5867bac7750060e5e
[]
no_license
RHDZMOTA/simulacion_riesgos
5e86b39e3a95bdc5d414c251ad6c0d81b7f68cd2
7fecd738c9b726e22dea2361c8983387bb5597fd
refs/heads/master
2020-05-22T05:57:05.956435
2017-04-22T18:02:32
2017-04-22T18:02:32
84,675,860
0
0
null
null
null
null
UTF-8
Python
false
false
1,265
py
# -*- coding: utf-8 -*- """ Auxiliar functions """ import pandas as pd import numpy as np # Function to calculate returns: def calc_rtns(prices, warning = True, met_log = True): # Warning function def warn(sti = 0): w0 = 'Error: datatype must be numpy.ndarray' if sti == 0: s...
[ "rhdzmota@mxquants.com" ]
rhdzmota@mxquants.com
457b32b447be9a4857f5feaddd8c09c5f625f917
d6a8e9e44884a8d57e85c44c117f7e89faaae2db
/python/django/words_in_session/words_in_session/wsgi.py
c30669ea345f04691f2c91c0b039b970427a684f
[]
no_license
johnahnz0rs/CodingDojoAssignments
2710cc2722f26ddce4cbd4c2433b2a089122ad37
1ef3b76fb3306b1bad3905358d7366d1764bbdd3
refs/heads/master
2021-05-12T05:44:38.807753
2018-07-02T16:32:30
2018-07-02T16:32:30
117,198,001
1
0
null
null
null
null
UTF-8
Python
false
false
410
py
""" WSGI config for words_in_session project. It exposes the WSGI callable as a module-level variable named ``application``. For more information on this file, see https://docs.djangoproject.com/en/1.11/howto/deployment/wsgi/ """ import os from django.core.wsgi import get_wsgi_application os.environ.setdefault("DJ...
[ "johnahn123@gmail.com" ]
johnahn123@gmail.com