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
db35bccee94dc72ea2b03ff75a6e3b1036691f5b
efc9b70544c0bc108aaec0ed6a2aefdf208fd266
/swap_two_value.py
25897ecbcc46b07ca1f799983ab63bebbb923c35
[]
no_license
fxy1018/Leetcode
75fad14701703d6a6a36dd52c338ca56c5fa9eff
604efd2c53c369fb262f42f7f7f31997ea4d029b
refs/heads/master
2022-12-22T23:42:17.412776
2022-12-15T21:27:37
2022-12-15T21:27:37
78,082,899
1
0
null
null
null
null
UTF-8
Python
false
false
354
py
""" no extra space, swap two value """ ''' Created on Mar 18, 2017 @author: fanxueyi ''' #bit manipularion class Solution(object): ''' input: int, int rType: int, inte ''' def swap(self,a,b): a = a^b b = a^b a = a^b return(a,b) s = Solution() prin...
[ "fxy27@ccs.neu.edu" ]
fxy27@ccs.neu.edu
81594cdf4cc52ad02830471a6e4c0a2e4016e45e
5655b699aafe9d3518534459ca7fb0e73cc66b06
/day5.py
f4633c8e733ed9bb124cb9cbcafc46d96011a843
[]
no_license
yohanswanepoel/adventofcode2017
cc62c04b00f3bf2692976f20d96437e7e9873ae0
f79c8f75f8c0e4c14294afa64fc592869a0bfd16
refs/heads/master
2021-08-28T13:33:22.411249
2017-12-12T09:55:51
2017-12-12T09:55:51
113,157,032
0
0
null
null
null
null
UTF-8
Python
false
false
719
py
import sys def day5(): steps = [0,3,0,1,-3] steps = [] with open('day5.txt') as f: mylist = f.read().splitlines() for l in mylist: steps.append(int(l)) print (steps) performTask(steps) def performTask( steps ): step_counter = 0 current_instruction = 0 next_instructi...
[ "johanswanepoel@Johans-MacBook-Pro-2.local" ]
johanswanepoel@Johans-MacBook-Pro-2.local
8e9f3948ab5c1e5a196edddb2fe11e19304dd0e5
1cd0c5706f5afcabccf28b59c15d306b114dd82a
/siteapi/migrations/0004_auto_20170220_2215.py
b448ea88ca4bcdc7a5f1e878f3326138726cde40
[]
no_license
jacobbridges/scribbli
fb1ed8633fc8ebcd7d989fbab2e051612bdc07d2
eb21ca9f5ee4c7caba5a25b76c6cdfe81af5d995
refs/heads/master
2021-01-12T10:32:38.466332
2018-01-27T19:48:39
2018-01-27T19:48:39
81,711,757
0
0
null
null
null
null
UTF-8
Python
false
false
720
py
# -*- coding: utf-8 -*- # Generated by Django 1.10.5 on 2017-02-20 22:15 from __future__ import unicode_literals import datetime from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('siteapi', '0003_auto_20170220_2213'), ] operations = [ migr...
[ "him@jacobandkate143.com" ]
him@jacobandkate143.com
7056f3d1611086a2888f755ce101e11b34ac26bb
6c1d0916be8f26c82c2cab642a6ed0953efc2481
/src/arm_bringup/scripts/old_or_unused/sac.py
3c18813e56d52fd883c6d4153ce31a528f1a72f1
[]
no_license
dVeon-loch/ReinforcementLearning_Arm
d69a6e6c822fea9f92850b986156f62e5e1d3087
71215294af5ea030b4018f58040d9806589514c2
refs/heads/master
2023-02-18T02:00:52.978174
2021-01-14T13:49:39
2021-01-14T13:49:39
312,808,040
6
0
null
null
null
null
UTF-8
Python
false
false
2,563
py
from arm_pyenv import ArmEnv import numpy as np import rospy from tf_agents.environments import tf_py_environment from tf_agents.environments import utils from tf_agents.environments import wrappers from tf_agents.trajectories import time_step as ts from tf_agents.networks import actor_distribution_network, value_net...
[ "blochdevon@gmail.com" ]
blochdevon@gmail.com
84c9288217995f2610547ebe92e52a2f6e69d003
d5ee3688c0df793a765aa7fca25253ef450b82e9
/src/scs_mfr/opc_conf.py
a821e3faf7068277766ea4005206cbf8c299d8b0
[ "MIT" ]
permissive
seoss/scs_mfr
0e85146c57dfefd605967e7dd54c666bfefddf74
997dd2b57160df30ef8750abed7efa87831e4c66
refs/heads/master
2023-01-20T23:58:16.547082
2020-11-27T09:40:20
2020-11-27T09:40:20
null
0
0
null
null
null
null
UTF-8
Python
false
false
5,256
py
#!/usr/bin/env python3 """ Created on 13 Jul 2016 @author: Bruno Beloff (bruno.beloff@southcoastscience.com) DESCRIPTION The opc_conf utility is used to specify whether an Alphasense optical particle counter (OPC) is present and if so, which model is attached. An option is also available to override the host's defau...
[ "bruno.beloff@southcoastscience.com" ]
bruno.beloff@southcoastscience.com
6a1dc5ed224a04492551f23e2dc5763ece6cd56d
4bb9c661c33a9f057e05bf2a17e30c2eb633b0ee
/python_exec/Test/TextFileOrder.py
da8fea76d6b7262061719e15673a5dbfc39186ec
[]
no_license
Czy2GitHub/Python
3fa8089f10eb9fcfd5975d7ddcaa9dccbe742ce2
deb767ebf685f8c49446c49db92ffd808a995913
refs/heads/master
2022-07-14T05:40:54.061944
2019-12-27T12:42:36
2019-12-27T12:42:36
225,591,496
0
0
null
2022-06-21T23:41:29
2019-12-03T10:22:12
Python
UTF-8
Python
false
false
1,039
py
# coding:utf-8 # 测试文件的读写,与创建 # open()方法打开文件 # 使用with expression as file 的格式 # open()的参数:第一个为文件名 第二个为权限 # w:只写 w+:清空文件,只写 a:追加模式打开文件 a+:读写权限,若文件不存在,则创建 r:只读 with open("TextFile.txt","r") as file: # file.write(" 我曾难自拔于世界之大,也沉浸于其中梦话 ") # 写入内容,必须为w,w+,a,a+下有效 massage = file.readlines() # 读一行,仅r,r+下...
[ "1728871630@qq.com" ]
1728871630@qq.com
1d4e4568720e0575719b81a9775a7b63dfcd1c08
88be5f5b633132a3b2b691541aa742c6f70bc366
/dancer/dancer/settings.py
55861e8ea0a4d151163afe086599ba115df0d95f
[]
no_license
lzj3278/360-OPS
8078748fc51a282643c7c56d79d1d79ad58d0ec5
c50d53b208aef12640fcd6ea18baeda10fe04d23
refs/heads/master
2020-06-11T09:32:37.890428
2016-12-08T01:40:52
2016-12-08T01:40:52
75,691,758
0
0
null
2016-12-06T03:40:42
2016-12-06T03:40:42
null
UTF-8
Python
false
false
3,274
py
""" Django settings for dancer project. Generated by 'django-admin startproject' using Django 1.9.6. For more information on this file, see https://docs.djangoproject.com/en/1.9/topics/settings/ For the full list of settings and their values, see https://docs.djangoproject.com/en/1.9/ref/settings/ """ import os # ...
[ "630441839@qq.com" ]
630441839@qq.com
8b0e177182553e777299a443085a2ae29cf7eaba
d3eb3bfbd07b282e23b414a88c50cb2a48223ac4
/final/num2.b.py
8719694d08c5f6c7b537db8416177d30e08f540d
[]
no_license
JosephBingham/math3732017
9f423b30c4abf3e6d7c5b0b0be75ecb30090a80d
4885265054648df0f648959a873476c160e9a46d
refs/heads/master
2021-05-08T00:17:19.691969
2017-12-11T22:13:32
2017-12-11T22:13:32
107,632,143
0
0
null
null
null
null
UTF-8
Python
false
false
1,302
py
#!/usr/bin/python from math import sin import numpy as np import matplotlib.pyplot as plt #solve -u''(x) = f(x), [xmin, xmax] def gauss(A): n = len(A) for i in range(0, n): maxEl = abs(A[i][i]) maxRow = i for k in range(i+1, n): if abs(A[k][i]) > maxEl: maxE...
[ "joebingham@me.com" ]
joebingham@me.com
463c19066420695e6962096ac166f6fc925d6922
240aba0d30a93b31e12426b95deea240c4e6f883
/tree_model/scr.py
454c31e354c218fc6f24d652c38f4db0645ae643
[ "Apache-2.0" ]
permissive
EPgg92/solat
d001dd45ada3f859fba884dd77b0612e5f4bd356
18eb132fbfef39c67b3a41b5014e488da8d90307
refs/heads/master
2021-04-27T17:09:07.547378
2018-04-10T18:27:03
2018-04-10T18:27:03
122,315,744
0
0
null
null
null
null
UTF-8
Python
false
false
326
py
import os for x in range(1,10): print('clean tmp') os.system('bash cleantmp.sh') print(x) print('python generateFeatures.py {}'.format(x)) os.system('python generateFeatures.py {}'.format(x)) print('python xgb_train_cvBodyId.py {}'.format(x)) os.system('python xgb_train_cvBodyId.py {}'.forma...
[ "poggio.enzo@gmail.com" ]
poggio.enzo@gmail.com
3a5e3a9076882a87027c00689734bedef960925d
ca7aa979e7059467e158830b76673f5b77a0f5a3
/Python_codes/p03425/s478084192.py
7e20b760b92578dea372ba9ffdd4d4f5431cd5bc
[]
no_license
Aasthaengg/IBMdataset
7abb6cbcc4fb03ef5ca68ac64ba460c4a64f8901
f33f1c5c3b16d0ea8d1f5a7d479ad288bb3f48d8
refs/heads/main
2023-04-22T10:22:44.763102
2021-05-13T17:27:22
2021-05-13T17:27:22
367,112,348
0
0
null
null
null
null
UTF-8
Python
false
false
397
py
from itertools import combinations N = int(input()) A = [0 for _ in range(5)] for _ in range(N): a = input().strip() if a[0]=="M": A[0] += 1 elif a[0]=="A": A[1] += 1 elif a[0]=="R": A[2] += 1 elif a[0]=="C": A[3] += 1 elif a[0]=="H": A[4] += 1 cnt = 0 for...
[ "66529651+Aastha2104@users.noreply.github.com" ]
66529651+Aastha2104@users.noreply.github.com
70b83421da906c6fb4f01ff32342f572ebfc40c2
2f0796e2aba7e30cbd8e0cd7da00731ec57fd597
/Lab2/insertTableDHT_1.py
3993b45972b6364290681d1393dcb45f3d7d3f74
[ "MIT" ]
permissive
MStevenTowns/Advanced-Computer-Networks
34d2b146fce879a2fe1599c658d3f38d70245155
a7987cdea403a0892831b91d5695c0e65a475657
refs/heads/master
2020-04-13T16:24:10.208600
2018-12-27T18:25:58
2018-12-27T18:25:58
163,315,708
0
0
null
null
null
null
UTF-8
Python
false
false
308
py
import sqlite3 as lite import sys con=lite.connect('SensorsData.db') with con: cur=con.cursor() cur.execute("INSERT INTO DHT_data VALUES(datetime('now'), 20.5,30)") cur.execute("INSERT INTO DHT_data VALUES(datetime('now'), 28.5,40)") cur.execute("INSERT INTO DHT_data VALUES(datetime('now'), 30.5,50)")
[ "noreply@github.com" ]
noreply@github.com
163437f7bc5dcbf9e5d279128031d1d5a1aa8189
e1c15a8e8ae78184b09894024db98d946ab20de4
/BuildTools/Python/generate.py
dcee73ab95d1034445bab90afbd198657528e7ac
[]
no_license
Sunday111/D3D_Samples
d33721a36d2557a2aa4807305253be36afa6b06e
76851283b9f7950d0080deabae829c1751f9a179
refs/heads/master
2021-06-04T22:03:36.288475
2020-01-12T01:00:27
2020-01-12T01:00:27
118,942,545
0
0
null
null
null
null
UTF-8
Python
false
false
66
py
from build_tools import * generate_project(default_generator, [])
[ "konstantin.lazukin@gmail.com" ]
konstantin.lazukin@gmail.com
9c386ae35e39d738c13f3b989b48ca34d0c6f9a0
eef479eafa0645146246d10f56ed92470ca65ab2
/listtest2.py
ce8c6ef8366a94545c85fa14a23fede236b159e1
[]
no_license
swaminatarajan/sn
6b15d5eb1619251c863f395ce4acecd19d62f790
0816c1868c4ff838ab9be817d59b055d0f149558
refs/heads/master
2020-08-18T09:31:03.007094
2019-10-17T11:51:22
2019-10-17T11:51:22
215,774,795
0
0
null
null
null
null
UTF-8
Python
false
false
144
py
# -*- coding: utf-8 -*- astring = input("Enter the String:") alist = astring.split(",") print("alist:", alist) print("alist:", len(alist))
[ "noreply@github.com" ]
noreply@github.com
2d17b34a34f912e0caa9aefde207cbd96a75f9f7
78f1cc341cd6313d02b34d910eec4e9b2745506a
/p01_team_project/p02_team_source/base_ball_1.0.0.py
80e9963266f04648b0b5d9a5c83b40d1694b41e9
[]
no_license
python-cookbook/PythonStudy
a4855621d52eae77537bffb01aae7834a0656392
cdca17e9734479c760bef188dcb0e183edf8564a
refs/heads/master
2021-01-20T17:23:35.823875
2017-07-30T10:56:13
2017-07-30T10:56:13
90,873,920
2
0
null
null
null
null
UTF-8
Python
false
false
50,890
py
''' 확실히 게임 엔진에 loop문이 들어가면 안되는 것 같음. 그래서 해결책이 멀티스레드를 이용해서 돌려라, 콜백함수를 써라 이거인것 같은데... 어떻게 사용하는지 모름 http://stupidpythonideas.blogspot.kr/2013/10/why-your-gui-app-freezes.html ''' from tkinter import Frame, Canvas, Label, Button, LEFT, ALL, Tk, TOP import random,re,time,csv import ctypes ############# 기록을 저장할 경로 설정 ##...
[ "noreply@github.com" ]
noreply@github.com
0a472f6e96a00dfe4c19d566f86199c70912b332
195fdf812bd2bc6170bbe46174950d70641b55a0
/datastream/__init__.py
749076dc121bff3050789b1051782f5074da5f87
[]
no_license
ohwong/jy_manager
7c1dda37b819065d1c80eb670af94b04da33d81c
a0098e54004150c1be0f521407727705a77a86d9
refs/heads/master
2021-07-03T17:16:19.859188
2018-12-01T10:58:44
2018-12-01T10:58:44
95,996,307
0
0
null
null
null
null
UTF-8
Python
false
false
336
py
from django.apps import AppConfig import os default_app_config = 'datastream.DataStreamConfig' VERBOSE_APP_NAME = "数据管理" def get_current_app_name(_file): return os.path.split(os.path.dirname(_file))[-1] class DataStreamConfig(AppConfig): name = get_current_app_name(__file__) verbose_name = VERBOSE_A...
[ "wangjiaxi@cnicg.cn" ]
wangjiaxi@cnicg.cn
615955adb580e1338842797759b11d768ece2b85
0c33849e47952664b6c93218627181b57094f0b8
/run.py
55f8eb402a4aae71a59a6bc74fd721c3ce45f62e
[]
no_license
GabeMeister/router-app
2b514223fe6114ceda1a22c2fa11eb438b1e2167
85c06c609a7359771b7865dee3d30abcf4e63321
refs/heads/master
2021-08-28T00:30:54.446857
2017-12-10T21:34:03
2017-12-10T21:34:03
113,784,301
0
0
null
null
null
null
UTF-8
Python
false
false
177
py
""" Run the app in debug mode """ # pylint: disable=C0103,C0111,C0413,C0412,C0411,C0330 from flask import Flask, render_template from backend import app app.run(debug=True)
[ "thegabejensen@gmail.com" ]
thegabejensen@gmail.com
66247010991d0515b20060847c80edb1cd76d051
5326cd6af9dc2a1466c31ff763468eee9abce702
/blogengine/urls.py
2eb9a214e3750e4dd549d2e3097e502c7cba18d4
[]
no_license
dgiart/fblog
8f14aa22fcb0cf8886a6ba1ff417530392459060
3f90bc229c3ba3bbf4706b1e1365f2fcb0600723
refs/heads/master
2020-06-02T10:05:33.748467
2019-05-26T14:06:21
2019-05-26T14:06:21
191,122,623
0
0
null
null
null
null
UTF-8
Python
false
false
976
py
"""blogengine URL Configuration The `urlpatterns` list routes URLs to views. For more information please see: https://docs.djangoproject.com/en/2.2/topics/http/urls/ Examples: Function views 1. Add an import: from my_app import views 2. Add a URL to urlpatterns: path('', views.home, name='home') Class-ba...
[ "babichart@gmail.com" ]
babichart@gmail.com
45b28c612e1bd492c10238a493208446a0ab44c6
6f3f5c797fd60c360971af808c6bd2f3a1b54ceb
/MYAPPNAME/children/admin.py
c3e65894cd2aea186271ccbcdef7712d76838ca8
[]
no_license
oscarsj/django-react-template
f2e798f0c0b9231598161dfa509583aa108c9094
79f8750c9232f08636b402ac99d7518d9cda8768
refs/heads/master
2023-01-04T16:24:32.496367
2020-11-02T18:17:04
2020-11-02T18:17:04
305,813,598
0
0
null
null
null
null
UTF-8
Python
false
false
527
py
from django.contrib import admin from children.models import (Child, Parent, RegisteredChild, Course, Season, Monitor, PaymentMethods, Payments, Days, PricesPerDay) admin.site.register(Child) admin.site.register(Parent) admin.site.register(RegisteredChild) admi...
[ "osanjose@tuenti.com" ]
osanjose@tuenti.com
24cfd9890765970054c84fe09a54642c03bcf6f8
78b48272ba74fee13b40b0cce8aad2406c1a77f5
/core/utils/loggers/app_logger.py
60968ce64bcfe74c4eb2f6790bcdb836ac04c703
[ "MIT" ]
permissive
glassyweirdo/fastapi-boilerplate
97e78360658048a57e7f7e3e0ae1cd1bab5186fb
753261df16b0ae1ad6d67cff52c1da0f4243b8dc
refs/heads/master
2023-08-18T13:24:20.180143
2021-10-03T23:17:10
2021-10-03T23:17:10
null
0
0
null
null
null
null
UTF-8
Python
false
false
57
py
import logging app_logger = logging.getLogger(__name__)
[ "rajat.goyal@innovaccer.com" ]
rajat.goyal@innovaccer.com
c5230e396bd6c2e75f84e8b9d4d5048b07a1534d
7903809bf9f34c58af8879d9275ded0b5e661dce
/PasswordDataEncryption/shaserver.py
e5df84003e6843372bb33e43572e452b34e8dcd7
[]
no_license
nikhalster/ComputerLab3
1abf31e763b9835512257e4ad7385e2237557284
855bcd8122875481b923bbf9c08b81210dd940d6
refs/heads/master
2021-01-20T00:27:41.072863
2017-04-25T05:36:19
2017-04-25T05:36:19
89,131,115
1
0
null
null
null
null
UTF-8
Python
false
false
709
py
import hashlib import socket import os import base64 registeredPassword = raw_input("Enter registered password") #salt = os.urandom(32).decode() salt = base64.urlsafe_b64encode(os.urandom(32)) print("Salt is {}".format(salt)) digest = hashlib.sha1(salt + registeredPassword) digest = digest.hexdigest() ss = socket.soc...
[ "nikhalster@live.com" ]
nikhalster@live.com
8336c642c46de7acd13d8feb2bf4e88ba38d55a8
271c613f8fcad47a4c2cfeec0a2e11e3eace5466
/pwndb-convert.py
e39ae23bf9fbc776fb95c1c04e01776067a7da53
[]
no_license
vysecurity/PWNDB
d3b226f9cca9b200c77cfa09bfce5319a6e34400
9576108102e17bb479b031999f4ae731ad9700a6
refs/heads/master
2020-04-14T19:50:33.858517
2019-01-04T07:19:53
2019-01-04T07:19:53
164,072,400
5
2
null
null
null
null
UTF-8
Python
false
false
504
py
import sys with open(sys.argv[1]) as fp: line = fp.readline().strip() start = 0 user = "" domain = "" password = "" while line: if "[luser]" in line: start = 1 user = line.split("=> ")[1] if "[domain]" in line: if start == 1: domain = line.split("=> ")[1] start = 2 if "[password]" in line...
[ "vysec.private@gmail.com" ]
vysec.private@gmail.com
ad5ae115186a694489f6794a6279b0b75e037ee8
051c3ee44478265c4510530888335335ec9f7fdf
/ML_Applications/SVM/Mutants/code/SVM_rbf/DigitRecognitionApp_47.py
2be1dd52e2ea4cb532d52028ef938535d52fe789
[]
no_license
PinjiaHe/VerifyML
b581c016012c62d8439adfce0caef4f098b36d5e
3bd7c49e45720c1cdfe0af4ac7dd35b201056e65
refs/heads/master
2020-03-25T19:40:39.996370
2018-01-30T08:58:58
2018-01-30T08:58:58
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,166
py
""" Created on Fri May 26 15:20:01 2017 #Digit Recognition for V & V #Following note added by RR Note: 1. The actual digits data from the http://archive.ics.uci.edu/ml/datasets/Pen-Based+Recognition+of+Handwritten+Digits is different than the one referred in this sklearn example 2. For more info, refer this link htt...
[ "anurag.bms@gmail.com" ]
anurag.bms@gmail.com
dd9a63e1aaad0dc5bdcdff237e138d25cdbc9716
c4eecf1885da13b4c240eec7a73e657cead8c483
/V1.0/NeuralNet_TEMP.py
36ac6c5ab365b0620028bb74737503d3efdae252
[]
no_license
BarryDing/Hongxin
d16d2c5f8fc568c7705b5c542e6f46d4c73eb65a
8f76dcfb988cb1ad3c9e110cdaeca035db2b9745
refs/heads/master
2020-03-17T22:48:33.979170
2018-05-19T02:09:38
2018-05-19T02:09:38
134,018,930
0
0
null
null
null
null
UTF-8
Python
false
false
123,207
py
#!/usr/bin/python # -*- coding: UTF-8 -*- ######## Copyright 成都信息过程大学 李方平 ######## Time 2018年4月26日 ######## Function 将输入的矩阵 经过这个脚本,转换为w温度 #################### 输入Inputdata为一个60*n的矩阵,输出y1为一个93*n的矩阵 ######=================测试可读一列或两列数据================================== import numpy as np def NeutalNet(Input...
[ "noreply@github.com" ]
noreply@github.com
4b8d6169d7fb234c6643e2c07068d091c93fb197
006e45e8910f028d8337955022f18c40f0275da6
/fourtytwo.py
99ad6e1a3bd6c808f9ea17ae07366ce7117ce027
[]
no_license
Harryhar1412/assignement4
c5b93fd7fcc52393ed69be378e10884a74e41f94
4abd0e351f754866a5fdf8ba9dc5745a38363153
refs/heads/master
2022-11-07T04:13:05.197468
2020-06-28T13:29:09
2020-06-28T13:29:09
275,589,716
0
0
null
null
null
null
UTF-8
Python
false
false
207
py
# 42. Write a Python program to convert a list to a tuple. input_string = input("Enter a list elements separated by space ") userList = input_string.split() print (userList) tupp=tuple(userList) print (tupp)
[ "harryhar1412@gmail.com" ]
harryhar1412@gmail.com
c47ec3b06c58efce2ed9f6ca599d3017ad05f1e1
50f36fade526519d8e4eed33685e54a26b9f6b43
/lb4.py
f761a64e55e72450f82d516700913368b321fd18
[]
no_license
myusernameisalreadytakenn/MND
0bfaf9b8c33fd29484d8a228785f7db2f535a7ab
fd0393f10eda90a79cd6806408867b1b649edc87
refs/heads/main
2023-05-05T11:58:43.403192
2021-05-24T08:10:27
2021-05-24T08:10:27
340,164,535
0
1
null
null
null
null
UTF-8
Python
false
false
4,658
py
import random import numpy as np from numpy.linalg import solve from scipy.stats import f,t n = 8 x1min = -20 x1max = 30 x2min = 20 x2max = 60 x3min = -20 x3max = -5 y_max = 200 + (x1max + x2max + x3max) / 3 y_min = 200 + (x1min + x2min + x3min) / 3 xn = [[1, 1, 1, 1, 1, 1, 1, 1], [-1, -1, 1, 1, -1, -1, 1, ...
[ "noreply@github.com" ]
noreply@github.com
b4631acdfaeba6632543932c6d6b336b5eb9fa7f
2485f7d6e12daa2c29926a7c87e2ab18f951a107
/pypilot/signalk.py
a49f9d16378428197f19f51b84213e2e9ee31e36
[]
no_license
mielnicz/pypilot
add65367b9b1d2630bad463aa82ce6463e177147
f0c9b2d2c8a1107a0f114ebe528af2beee7ad161
refs/heads/master
2023-07-13T15:58:08.306890
2020-03-16T06:24:02
2020-03-16T06:24:02
null
0
0
null
null
null
null
UTF-8
Python
false
false
23,095
py
#!/usr/bin/env python # # Copyright (C) 2020 Sean D'Epagnier # # This Program 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 of the License, or (at your option) any later version. impo...
[ "seandepagnier@gmail.com" ]
seandepagnier@gmail.com
fd07b9fdad8d5582f4438aab1c8fef51b1643eff
c9ff64bd016899a1a7df0cc514fb41fbeaf3869d
/dicionario_extra_1.py
51cf13bdf7b9c67e5de49e7d9d207343dae24d45
[]
no_license
Viccari073/extra_excercises
a7f4931b2eccaf0800d54360ddc28b83804166ae
826cd3a1bc174841a600ee20ac07d242a3978515
refs/heads/master
2022-12-16T18:15:50.681195
2020-08-25T01:03:49
2020-08-25T01:03:49
275,982,418
0
0
null
null
null
null
UTF-8
Python
false
false
629
py
""" Faça um programa que leia nome e média de um aluno, guardando também a situação em um dicionário. No final, mostre o conteúdo da estrutura na tela. """ cadastro = dict() cadastro['nome'] = str(input('Nome: ')) media = float(input(f'Media de {cadastro["nome"]}: ')) cadastro['media'] = media if media >= 7...
[ "noreply@github.com" ]
noreply@github.com
191c73858214f3e5e42fa3ed6e23dc6d14551952
9f04c2977434c5854e889b424e34593fa9f938d1
/stock_1.py
858bfe43a44cf134f81de45903084da658bce44f
[ "MIT" ]
permissive
B10856017/chatbot_telegram_dialogflow
f5ca40d1d5568864c9944ea919fa36707d356523
b33172951c5513b1b60e68a1b5893506a073c397
refs/heads/main
2023-05-04T19:57:51.495156
2021-05-26T04:00:17
2021-05-26T04:00:17
null
0
0
null
null
null
null
UTF-8
Python
false
false
691
py
class Stock(object): def __init__(self, req): self.type = req.get("queryResult").get("parameters").get("serviceterm") self.chat_id = req.get("user").get("chat").get("id") def dayTrend(self, req, bot): self.chat_id = req.get("user").get("chat").get("id") #https://githu...
[ "noreply@github.com" ]
noreply@github.com
14d1850b73a3dd252891052bf7061504ebac69cc
78199e980b57060267f89c3cb83abe7d98317bf4
/Java/LeetCode/DFS&Backtracking/Tree/DiameterBinaryTree.py
2336263c446a09d5a04754ebe75786321f421049
[]
no_license
l0uvre/Simple-Codes
2a836ed3aec8fe32134a831fcdb804daa901f9f3
05fcc28da12013852358363207921bb6d8cacab8
refs/heads/master
2022-08-28T22:45:57.758605
2022-08-06T03:23:07
2022-08-06T03:23:07
116,573,952
0
0
null
null
null
null
UTF-8
Python
false
false
890
py
# Definition for a binary tree node. from typing import Optional ## LC 543 Tree, DFS, DP class TreeNode: def __init__(self, val=0, left=None, right=None): self.val = val self.left = left self.right = right class Solution: def diameterOfBinaryTree(self, root: Optional[TreeNode]) -> int: ...
[ "bladwinw@gmail.com" ]
bladwinw@gmail.com
600726e9c8157d2680f567b3c5ae22beb6afcaf8
df5931ac3b2d4f4769f422d351bf6f35becb57ac
/apps/users/migrations/0002_banner_emailverifyrecord.py
3ce9db4eaa1b3dd379e8bea68363b1d712357a94
[]
no_license
chendongyi/MxOnline
420e730da52c78a29e9a0c90af641fcdb144a185
6c24e258c80a0aa63a21d96fcbcf291d4c2fefb9
refs/heads/master
2020-03-23T04:41:38.893804
2018-07-20T04:45:27
2018-07-20T04:45:27
141,099,618
0
0
null
null
null
null
UTF-8
Python
false
false
1,797
py
# Generated by Django 2.0.6 on 2018-06-05 08:18 import datetime from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('users', '0001_initial'), ] operations = [ migrations.CreateModel( name='Banner', fields=[ ...
[ "cdy19861111@163.com" ]
cdy19861111@163.com
e23bc12419592f4b9956c4150d64796a12d4900f
ca7aa979e7059467e158830b76673f5b77a0f5a3
/Python_codes/p03329/s950503139.py
06a2ed1899ce879a8061ac47bf453dca06be7b16
[]
no_license
Aasthaengg/IBMdataset
7abb6cbcc4fb03ef5ca68ac64ba460c4a64f8901
f33f1c5c3b16d0ea8d1f5a7d479ad288bb3f48d8
refs/heads/main
2023-04-22T10:22:44.763102
2021-05-13T17:27:22
2021-05-13T17:27:22
367,112,348
0
0
null
null
null
null
UTF-8
Python
false
false
490
py
import sys read = sys.stdin.read readlines = sys.stdin.readlines def main(): n = int(input()) nums = [] n6 = 6 while n6 <= n: nums.append(n6) n6 = n6 * 6 n9 = 9 while n9 <= n: nums.append(n9) n9 = n9 * 9 nums.sort(reverse=True) dp = [i for i in range(2 * n...
[ "66529651+Aastha2104@users.noreply.github.com" ]
66529651+Aastha2104@users.noreply.github.com
6a2b5689eeaab249fbbcd16268bfeaf37add46d9
a5a2abaf5c7a681ebea71b4034d7b12dbd750455
/examens/migrations/0002_auto_20160210_0540.py
4a24c8b6dac1ce2a87efbeacc069d098d652c98a
[ "BSD-3-Clause" ]
permissive
matinfo/dezede
e8be34a5b92f8e793a96396f7ec4ec880e7817ff
829ba8c251a0301741460e6695438be52d04a2fc
refs/heads/master
2020-03-15T11:25:56.786137
2018-04-23T13:47:20
2018-04-23T13:47:20
null
0
0
null
null
null
null
UTF-8
Python
false
false
3,213
py
# -*- coding: utf-8 -*- from __future__ import unicode_literals from django.db import migrations, models LEVELS_DATA = ( (1, (6107, 10442, 10531)), (2, (2253, 12468, 12469)), (3, (10603, 8167, 10447)), (4, (8280, 15117)), (5, (3412, 14)), (6, (2256,)), ) LEVELS_HELPS = { 1: """ <p> ...
[ "bordage.bertrand@gmail.com" ]
bordage.bertrand@gmail.com
6b31c5782ba2db81a6a2b0b105aa3a0552dcb4ad
0e4519d3a94157a419e56576875aec1da906f578
/Python_200Q/051_/Q059.py
110df8a421ca7cff330c0a2f0054d5279bd7f11d
[]
no_license
ivorymood/TIL
0de3b92861e345375e87d01654d1fddf940621cd
1f09e8b1f4df7c205c68eefd9ab02d17a85d140a
refs/heads/master
2021-02-23T17:30:50.406370
2020-10-02T06:43:25
2020-10-02T06:43:25
245,388,390
0
0
null
null
null
null
UTF-8
Python
false
false
251
py
import time count = 1 try: while True: print(count) count += 1 time.sleep(0.5) # Ctrl + C가 입력되면 발생되는 오류 except KeyboardInterrupt: print('사용자에 의해 프로그램이 중단되었습니다')
[ "ivorymood@gmail.com" ]
ivorymood@gmail.com
091ab45ff559b57ac0a45909cf64482b20180975
24131940f40e1c71f3a7c0fa3368d09053feb036
/loop.py
df565bf92ba800b40f0a3161a25380e40aab5804
[]
no_license
binshadpb/expertzlab_python
de9f5f417201ae034dcdaa0cf9cccd0543c733f9
b7d29a9f8d356bc9b060dffa3aa8418b454e546e
refs/heads/master
2023-01-20T13:38:32.766810
2020-11-29T14:40:11
2020-11-29T14:40:11
314,594,318
0
0
null
null
null
null
UTF-8
Python
false
false
955
py
#prim number program using whilw loop # number=int(input("enter the number")) # i=2 # a=1 # while i<number: # if number%i==0: # a=0 # i+=1 # # # if a==0: # print("Its not a prime number") # else: # print("its a prime number") #program numbers divisible by 5 or 7 below 100 using while lopp # n=...
[ "binshadbinu40@gmail.com" ]
binshadbinu40@gmail.com
e78b99366d88cbdb16defac1ca2282fdf9ecf490
82f7c00aa14c95032fb6e6ff1029823404246b83
/apps/statistics/rstats.py
a55468334938caefa6725db99cec04117e861e29
[ "MIT", "LicenseRef-scancode-unknown-license-reference" ]
permissive
gillbates/NewsBlur
621feaa090cdc2fe9dcfcae4af7de3f40b69ba00
0eb2ccf4ebe59ff27d6ed822cc406a427cf3bf6a
refs/heads/master
2020-12-30T17:32:03.999893
2013-07-01T00:12:41
2013-07-01T00:12:41
null
0
0
null
null
null
null
UTF-8
Python
false
false
4,566
py
import redis import datetime import re from collections import defaultdict from django.conf import settings class RStats: STATS_TYPE = { 'page_load': 'PLT', 'feed_fetch': 'FFH', } @classmethod def stats_type(cls, name): return cls.STATS_TYPE[name] @classm...
[ "samuel@ofbrooklyn.com" ]
samuel@ofbrooklyn.com
eaaa3e518f566d4c9e4174b3e550e3ef6e0e9d55
85caf3d66dfbf8fb30c064ed629966fc18bb7a26
/alert_service_45.py
1c727a3f142188f155dedc0203b305e41ff7ff4e
[]
no_license
karandoshi98/CowinVaccineAlerts
e63f3e6946032bdbd02826b561df7e3c7a9348e0
074b3161eeb32f353f255fc98e979936980f45f4
refs/heads/main
2023-04-26T12:40:19.922137
2021-05-20T16:12:02
2021-05-20T16:12:02
368,974,452
0
0
null
null
null
null
UTF-8
Python
false
false
3,968
py
# Importing libraries import app import requests import json import time from datetime import datetime, date import smtplib date_str = str(date.today()) y = date_str[:4] m = date_str[5:7] d = str(int(date_str[8:10]) + 1) DATE = d+"-"+m+"-"+y MY_EMAIL = "testdummy2024@gmail.com" MY_PASS = 'krds1998' # Palghar = str(3...
[ "karandoshi98@gmail.com" ]
karandoshi98@gmail.com
eb442f39adcfd2574853c91485fa1346cffc836e
d286282c96ed1740a4afa266b290d26a6017fa42
/src/MakeSample.py
299e4b74ec3b094f93cb60f044888c0c86543179
[]
no_license
n-narisawa/GraphSLAM
c438c8322aba835a61f2b3fa9592fbbe797ff4ea
9276f882d67e2e0b67e175687fc4fc0dfe6e7f25
refs/heads/master
2020-06-12T11:01:20.581522
2019-07-12T04:40:17
2019-07-12T04:40:17
194,278,227
1
0
null
null
null
null
UTF-8
Python
false
false
3,027
py
import numpy as np from numpy.linalg import norm from numpy.random import normal import matplotlib.pyplot as plt import os A = 30 B = 20 RANGE = 20 TIMEFRAME = 1000 NFEATURE = 100 epsilon = 1e-6 def ellipse(): theta = np.linspace(0, 2*np.pi, TIMEFRAME+1) x = A * np.cos(theta) y = B * np.sin(theta) ...
[ "naoki.swbnml7070@gmail.com" ]
naoki.swbnml7070@gmail.com
c357a3066761f697e7adc957d4e50bcf31ced98d
4fbfcff9c498c597766655cee4867b13b0bc2c16
/Python/MiniProjects/Others/CardShuffle.py
9d575c04aefcd78c19c2a850b783378aa8ade3e4
[]
no_license
seniroberts/Expressions
e0541636cc5b4f5666d26ca3cb3e38c8294986b9
dee95389555afef2caa71c16fcef33aaf0f8631a
refs/heads/master
2022-12-19T21:54:58.703454
2020-10-09T08:09:44
2020-10-09T08:09:44
294,386,108
0
0
null
null
null
null
UTF-8
Python
false
false
849
py
import random card_deck = ["a", "b", "c", "d", "e", "f"] def shuffleCards(card_deck): numberofCards = len(card_deck) for i in range(0, numberofCards - 1): randon_number = random.randint(0, numberofCards-1) temp = card_deck[i] card_deck[i] = card_deck[randon_number] card_deck[...
[ "seniroberts@gmail.com" ]
seniroberts@gmail.com
8cc839ce2eb3f1d63aae16b0a5a37c6d5b8669aa
f4434c85e3814b6347f8f8099c081ed4af5678a5
/sdk/identity/azure-identity/tests/test_authn_client.py
3dac71b924c722a3ccaee3a40a4d6d8bfffbdf1c
[ "LicenseRef-scancode-generic-cla", "MIT", "LGPL-2.1-or-later" ]
permissive
yunhaoling/azure-sdk-for-python
5da12a174a37672ac6ed8e3c1f863cb77010a506
c4eb0ca1aadb76ad892114230473034830116362
refs/heads/master
2022-06-11T01:17:39.636461
2020-12-08T17:42:08
2020-12-08T17:42:08
177,675,796
1
0
MIT
2020-03-31T20:35:17
2019-03-25T22:43:40
Python
UTF-8
Python
false
false
9,973
py
# ------------------------------------ # Copyright (c) Microsoft Corporation. # Licensed under the MIT License. # ------------------------------------ """These tests use the synchronous AuthnClient as a driver to test functionality of the sans I/O AuthnClientBase shared with AsyncAuthnClient.""" import json import time...
[ "noreply@github.com" ]
noreply@github.com
65a4c58bbd2f6b1e6f6ce5534a14c31b02315230
28a72c59685f018611d3af9092fb36ee7d01b375
/maps/recommend.py
60b7c7e7527ad13dd380dcb28836bf0a1d587d5b
[]
no_license
mollygoss/cs61a
86cd612787807a0c4938fae894140abb1e93fbba
403530da63adfafa0d5cf8df77d5af5fb5ae72c4
refs/heads/master
2020-04-14T13:50:24.742596
2019-01-02T20:13:12
2019-01-02T20:13:12
163,880,105
0
0
null
null
null
null
UTF-8
Python
false
false
8,046
py
"""A Yelp-powered Restaurant Recommendation Program""" from abstractions import * from data import ALL_RESTAURANTS, CATEGORIES, USER_FILES, load_user_file from ucb import main, trace, interact from utils import distance, mean, zip, enumerate, sample from visualize import draw_map ################################## # ...
[ "noreply@github.com" ]
noreply@github.com
663c05a6f5937328bad2f0c0fd88804f8191ba0d
38ab2bf049b54c6774d7f11e0cfbb88b5d8d208d
/quadratic/views.py
4e4d40e5d8fe704677a47a3f0e80804d1af4343b
[]
no_license
Askarb/semester7
cae25da9e640e8c39af0ceacc5ce2c51d7962daf
7b55877f5e29ae2fe2fc129d70f84bffa09023c2
refs/heads/master
2021-01-16T22:38:13.702003
2017-01-24T10:42:34
2017-01-24T10:42:34
68,733,524
0
0
null
null
null
null
UTF-8
Python
false
false
939
py
from django.http import HttpResponse from django.template import loader from .forms import QuadraticForm from univer.settings import STATIC_URL from .core_quadratic import solve_quadratic def index(request): context = { 'form': QuadraticForm(), 'STATIC_URL': STATIC_URL, 'result': 0 } ...
[ "bolotbekov06@gmail.com" ]
bolotbekov06@gmail.com
0fe440efb0424338c51082177757617a39c437e7
8a081397dae063faa43d1e1dca58b67a44fb1a6c
/add_env_to_service_file.py
b6e686e9c53e39edab4ac444b84b79e9bf2e789b
[]
no_license
altuntasmuhammet/cloud-run-update-env-from-file
419cd84d638fea06e15823974b226ab4f7352806
ba92f0c04d877ee83f1d78261f5b19e01e02c676
refs/heads/main
2023-05-04T21:58:12.414528
2021-05-29T01:00:41
2021-05-29T01:00:41
371,849,628
3
0
null
null
null
null
UTF-8
Python
false
false
1,342
py
import argparse, sys # Service file can be obtained # gcloud run services describe <SERVICE_NAME> --format export > service.yml parser=argparse.ArgumentParser() parser.add_argument('--env-file', help='Environment variables file in YAML format', required=True) parser.add_argument('--service-file', help='Cloud Run se...
[ "noreply@github.com" ]
noreply@github.com
93ab51ff87e6e569afdf7b76fa2451e10048db40
4166e6d1725791f2a729b2613c3ee535aea34768
/PSO/local_search.py
da77e5e7dc26b2cbb16c61f11f36a0ac268367c2
[ "LicenseRef-scancode-warranty-disclaimer", "Apache-2.0" ]
permissive
DataAnalyticsResearchGroup/iRadical
bb8f06e01cff70916b6b3ec1c22cd4123343be55
3299217ef9cf035fb10d79e072e273425fc044da
refs/heads/master
2020-04-01T00:57:01.151829
2018-10-12T08:36:59
2018-10-12T08:36:59
152,677,499
0
0
null
null
null
null
UTF-8
Python
false
false
763
py
from fitness import fitness_con from utility import get_all_degrees, get_neighbors, decode_input, convert_to_binary def LocalSearch(x, candidate, args): x = decode_input(x, args) x = list(x) lenx= len(x) gmat = args['gmat'] best_fit_local = fitness_con(x, args) f...
[ "45037949@students.mq.edu.au" ]
45037949@students.mq.edu.au
aa9e60059acab84935c4078cc238226f830dd1fa
a364542004257ee19fb90ffdec7d2cd0ede662eb
/slicexyz.py
06ceccfba74a558bbe4c674db99251b75c87ac2f
[]
no_license
eselinger/quick-scripts
db0dfb59bd63bc9916bba7e3292ed113f4f689d0
b0337c4717834a464eb3cf041764db86d5aff8c3
refs/heads/master
2020-12-28T17:31:11.431572
2016-12-06T06:46:01
2016-12-06T06:46:01
68,584,955
0
0
null
null
null
null
UTF-8
Python
false
false
1,186
py
#!/usr/bin/python import sys def main(): infile = sys.argv[1] atoms = int(sys.argv[2]) #number of atoms to be stretched. MAKE SURE THESE ARE AT BOTTOM OF .xyz FILE readin = open(infile,'r') readout = open('cut01_'+infile, 'w') numat = int(readin.readline()) readout.write(str(numat) + '\n')...
[ "elizabeth.selinger@uoit.net" ]
elizabeth.selinger@uoit.net
dd724adaee147b231c761e78851a4b8b5eaabc35
fd0f25debda5eb51b8d404e78661752bf6eb1e5f
/python3.6.5/Django/2xkt/xxkt/manage.py
86334f2d371a27ef6b471235db2c4ad1705b54f4
[]
no_license
fblrainbow/Python
53f5be4de065dbde2809f69de41fa276107b176a
525604e756e1107183ae8fcc4d6dd611ea0f34ef
refs/heads/master
2021-01-20T14:03:11.263929
2019-01-06T15:19:33
2019-01-06T15:19:33
90,551,373
0
0
null
null
null
null
UTF-8
Python
false
false
551
py
#!/usr/bin/env python import os import sys if __name__ == "__main__": os.environ.setdefault("DJANGO_SETTINGS_MODULE", "xxkt.settings") try: from django.core.management import execute_from_command_line except ImportError as exc: raise ImportError( "Couldn't import Djang...
[ "846058904@qq.com" ]
846058904@qq.com
6e7b93ea109d344e4ca0462d6ed03ec20057b1d6
045665406e1c8fc74d7e3fd468497f8dc143d717
/main/migrations/0003_auto_20181211_2310.py
968c0beff0b819403f16c05cb0b991423de5ccc2
[]
no_license
ninjascare/Creative_Freedom
2f0a9df5cb6c379ca0d17db3e6a2f1dcdace99d8
74868a01e7ef9aa1506aceda6f2b6de0235019c9
refs/heads/master
2020-04-10T23:43:07.438354
2019-02-28T23:34:58
2019-02-28T23:34:58
161,362,224
1
1
null
2018-12-18T22:32:19
2018-12-11T16:27:14
JavaScript
UTF-8
Python
false
false
369
py
# Generated by Django 2.1.4 on 2018-12-11 23:10 from django.db import migrations class Migration(migrations.Migration): dependencies = [ ('main', '0002_auto_20181211_2304'), ] operations = [ migrations.RenameField( model_name='comment', old_name='created_At', ...
[ "kevinrosales@Kevins-MacBook-Air.local" ]
kevinrosales@Kevins-MacBook-Air.local
946262f86b97e05896d2f09c9f70dba55baa0988
668a4b6b4ce8155042ed55e05dd62ec78c99851b
/爬虫/py_useragent.py
099051eb1af591db5ab39dfc99d7376be82e143c
[]
no_license
lxjlovewcx/source_code
46b7255f0b05f32a219fc3a2f405811ae8986053
14310e136fb5f83fe1063ae0f9e60445ef5b300a
refs/heads/master
2021-10-20T17:09:22.595583
2019-03-01T05:24:53
2019-03-01T05:24:53
157,014,785
0
0
null
null
null
null
UTF-8
Python
false
false
1,059
py
''' Created on 2018年8月18日 @author: lixue ''' ''' useragent 用户代理 -useragent:用户代理,简称UA,属于heads的一部分,服务器通过UA来判断用户的身份。 -常见的UA值,使用的时候可以直接复制粘贴,也可以用浏览器访问的时候抓包 设置UA可以通过以下两种方式: 1:使用headers 2:使用add_header方法 ''' from urllib import request,error import json if __name__ == '__main__': try: url = "http://...
[ "lixuejian851677798@163.com" ]
lixuejian851677798@163.com
5762a635e14df7cc68f81066c7674a663954dd82
3f479528a34b2df9e9a001a3537761b259a613eb
/queue/__init__.py
b5ef5a5cec99448a8a93a9fa0b079254ad08d4aa
[]
no_license
gitu/soob
84e1cee0b7fbc085d6986bd6e66652508330e9f8
c9fc9d8f42151eac382287bae8cb4263ad41c525
refs/heads/master
2021-01-21T12:23:01.282583
2014-01-14T15:04:41
2014-01-14T15:04:41
null
0
0
null
null
null
null
UTF-8
Python
false
false
55
py
from LedsCommandQueue import * from PrintQueue import *
[ "gitu@schrag.org" ]
gitu@schrag.org
c38cba0ee016be6d548d916f969186d04162763b
5d8338ceea6798aa61d96d19eea007d30083c1aa
/TrainingRBC.py
6d8ce9f6afc15a552968e9f7ed3da941f19f5354
[]
no_license
aot3qx/RBC_DeepNet
22f527c7a70f5fb84015a4efe24b215541732d1e
8a3f31e1ac23489848b04c962045b8599de04217
refs/heads/main
2023-07-22T19:31:51.277411
2021-08-27T16:03:20
2021-08-27T16:03:20
375,060,237
0
0
null
null
null
null
UTF-8
Python
false
false
11,412
py
import tensorflow as tf import re import numpy as np import os as os import pandas as pd import matplotlib.pyplot as plt import matplotlib.image as img from datetime import datetime import sys def train_test_split(image_array,label_array,number_images_per_class,k_fold,seed,first_run,number_of_classes): nu...
[ "noreply@github.com" ]
noreply@github.com
615598e77a7b6267f4a4deecc9c45a50885c5ed7
be3a563eef50b64fa81fd5d7f25f3173e7e4d126
/base_web_apps/java/tests/basic_web_test.py
ac371168efa4dbaf0108fa8741c47600745c37ee
[]
no_license
KoalaTea/capstone-security-unit-tests
cc54b2b1fce109826635eda22c2e318231030117
249d17648b0909aa2337ef73ea13f6082880252d
refs/heads/master
2022-12-09T23:54:44.126132
2018-03-31T22:44:45
2018-03-31T22:44:45
126,236,282
0
0
null
2022-12-08T00:51:09
2018-03-21T20:24:58
Python
UTF-8
Python
false
false
340
py
import unittest import requests class BasicWebTest(unittest.TestCase): def setUp(self): self.client = requests self.url = "http://127.0.0.1:8080" def test_index(self): resp = self.client.get(self.url+'/index') self.assertEqual(resp.status_code, 200) if __name__ == '__main__': ...
[ "koalateac@gmail.com" ]
koalateac@gmail.com
9f0d153807bb442e2f36ecc5930db564c9560e68
d991df05cabd89bbebdff8882ebae599ab362172
/menu.py
79603ffda974e152b079209d04bab921c5e9bd27
[]
no_license
vikash232/Arth_task9.1_audio
0af13e3752aba2f9bad672ca24254d60777c7dae
3ec5e668ded5447cdf2b03f31d13ffe4523f985c
refs/heads/main
2023-01-23T08:21:17.195860
2020-11-20T15:54:40
2020-11-20T15:54:40
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,066
py
import os import getpass import speech_recognition as sr password = getpass.getpass("Password : ") if password != "menu": print("Wrong Password") exit() else: while True: print("\n") os.system("tput setaf 1") print("\t\t\t\t\t\t\tWELCOME TO MAIN MENU") print...
[ "noreply@github.com" ]
noreply@github.com
812eea57b1d0fb6ef70530615cc468dc5bbecced
5668d8e64a17f11f573f59bccca532c3a26b9780
/2-3 Months/non-tutorial projects/battleship.py
00d994b138d636ae28c248badd0e8efebe074345
[]
no_license
nzsnapshot/MyTimeLine
9b02141ead11ec660a37cb8752f0025f285443ab
5d22aa8d9eb043eea06fcb8f3f615a2f2453da56
refs/heads/master
2021-03-10T20:44:41.422805
2020-03-11T08:53:46
2020-03-11T08:53:46
246,484,336
0
0
null
null
null
null
UTF-8
Python
false
false
5,354
py
import random boat_lengths = [2,3,4,5] game_board = [0 for x in range(0,100)] for boat_len in boat_lengths: position_found = False vertical = random.randint(0,1) if vertical == 0: while not position_found: test_position = random.randint(0,99) position_found = True ...
[ "chris.snapshot@gmail.com" ]
chris.snapshot@gmail.com
d5da12321e8dcfa61681d4fe39243fb11987c243
f55315672696a099c1a25f484efe7c1d3c260d5f
/Co-integration/TradingStrategy.py
2fc6d6cd1ce3950a88c9577dfe14a05983051e7f
[]
no_license
anchalsri82/Python
cdb64e30b1bfb156be35d4a71ca8428b6feb3112
b9d35fe1d6a512de7daa80789f3720583ce8645d
refs/heads/master
2020-12-03T03:50:16.793792
2017-07-22T18:22:53
2017-07-22T18:22:53
95,779,465
0
0
null
null
null
null
UTF-8
Python
false
false
14,178
py
import pandas as pd # Import statsmodels equivalents to validate results from statsmodels.tsa.api import VAR from statsmodels.regression.linear_model import OLS from statsmodels.tsa.tsatools import (lagmat, add_trend) from statsmodels.tsa.stattools import adfuller import numpy as np import matplotlib.pyplot as p...
[ "anchal.sri82@gmail.com" ]
anchal.sri82@gmail.com
a030475f8a6a0ee5dc27f85bde609489b981399a
7e34099853f87cbfd0ee69d8894d10eaf8e1df94
/implementations/group6/src/send_email_is_added.py
70510b4dd1001292167313512f55410b2e98d056
[]
no_license
Matias-Bernal/dose2014
cc1b973de8ba592ba82b2c8c8efd7749bcd3a033
139376fb884523cf5e0ccd7e9fed152555641a35
refs/heads/master
2016-09-06T03:51:44.566674
2014-12-24T14:49:10
2014-12-24T14:49:10
32,119,587
0
0
null
null
null
null
UTF-8
Python
false
false
809
py
import email import smtplib import sys #receives the user email to which send the email if len(sys.argv) >= 4: #print 'Argument List:', str(sys.argv) user_logged = sys.argv[1] user_invited = sys.argv[2] project_name= sys.argv[3] msg = email.message_from_string('Dear user,\n\n You was joined to the pro...
[ "annamaria.nestorov@f6206239-57e0-e8d1-037d-e0d2c07dc7bc" ]
annamaria.nestorov@f6206239-57e0-e8d1-037d-e0d2c07dc7bc
097c70d581f0a7f277b93936c01ba8b93b14019d
b664bbc0f09ef88761c27aa212a7b0f649768a24
/ip138/cmdline.py
920a3f7ae3cbd7ae57e80b5f7878909635206858
[ "MIT" ]
permissive
niulinlnc/ip138
89811d173659106c48a38bd2a29b7c24dd1bef71
828962168a1f68517bd1e3258621f7a4dbfa2c7b
refs/heads/master
2020-09-28T03:06:05.387439
2019-06-12T06:09:11
2019-06-12T06:09:11
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,078
py
# coding: utf-8 from __future__ import print_function import sys from optparse import OptionParser try: from itertools import ifilter as filter except ImportError: pass from ip138.logger import logger from ip138 import __version__ try: if sys.version_info < (3, 0, 0): import codecs import...
[ "dianhuangkan@gmail.com" ]
dianhuangkan@gmail.com
9c39907cb189fd01a905f1183f03c509c54c9867
c89e4099f801cb4e71b732f74ba2237883de0b16
/spider/concurrent/concur_threads_insts.py
0dbe75f7f91c002521ecda1898366e1fa47d83e3
[ "BSD-2-Clause" ]
permissive
JiyangZhang/PSpider
3abc14792875e306d4a0207f1cd872834c35335c
2151bbdd028acfa5794acab6c87988dc4bf485d3
refs/heads/master
2021-08-19T01:31:22.975247
2017-11-24T10:03:10
2017-11-24T10:38:19
null
0
0
null
null
null
null
UTF-8
Python
false
false
5,792
py
# _*_ coding: utf-8 _*_ """ concur_threads_insts.py by xianhu """ import time import logging from .concur_abase import TPEnum, BaseThread # =============================================================================================================================== def work_fetch(self): """ procedure of f...
[ "qixianhu@qq.com" ]
qixianhu@qq.com
e59f782592089a4da3e002b48c1a670053397139
9e926b19df2f4f10c3f070530700a39c7282aad9
/media.py
483fd3ba5bd17c1056f877cc920a7ebc9c3a2ea8
[ "MIT" ]
permissive
saitec/Movie-Trailers
8dd011ceab19d5d6f7970cb5e18f775dc3104b1d
dab0b519bbdaf41fce6eb4944081084d51bb9d04
refs/heads/master
2021-01-10T04:34:41.223419
2016-04-08T19:09:49
2016-04-08T19:09:49
55,802,362
0
0
null
2016-04-08T19:09:49
2016-04-08T18:53:12
Python
UTF-8
Python
false
false
533
py
__author__ = 'Sai' class Movie(): """Creates movie object that maps movie with various attributes. A factory for creating movie objects that is subsequently used by fresh_tomatoes.html to display movie, its attributes, and media. """ def __init__(self, title, storyline, poster_image, tra...
[ "saikrishnavk26@gmail.com" ]
saikrishnavk26@gmail.com
8ab301dd273e72218c63933931cb30d0cf77700c
9d5dd1489fdd0a49ed1a273ba33a3712fd6984de
/gui.py
99a875ee51af63eada7836310ff9edc1e7848f77
[]
no_license
xgfelicia/Line-sticker-downloader
cdc7f8c3381dff0eb323f3450ee78104926f54b8
08d6dd733ae56cce08c201d0b08a204e0d737881
refs/heads/master
2021-01-14T09:53:26.550228
2016-12-05T19:15:16
2016-12-05T19:15:16
59,918,359
0
0
null
2016-12-05T17:43:50
2016-05-28T23:23:40
Python
UTF-8
Python
false
false
443
py
from tkinter import * root = Tk() root.configure(background = "#fff") root.geometry("500x500") title = Label(root, text = "Line Sticker Downloader", bg = "#fff", font = (None, 20)) inputText = Label(root, text = "Enter the sticker pack ID: ", font = (None, 12)) inputUser = Entry(root, bd = 2) title....
[ "msgao@ucdavis.edu" ]
msgao@ucdavis.edu
04b4d7465d1daa21646925bc05298466c4b22db1
8853c0d2d714f698bbdadfe6c9ad3af67af74018
/Python/demo0009.py
9c1cf93254ef4072976fe0e146057c34b86f2953
[]
no_license
zywz2333/111
a89d95d699f0cfb1ed5dd565af73f3fab462c146
3b05d4f023588fbc8d24477b8cf00732a0a6a5b6
refs/heads/master
2020-07-14T18:59:42.446699
2019-08-30T11:57:44
2019-08-30T11:57:44
205,379,178
0
0
null
null
null
null
UTF-8
Python
false
false
134
py
f = open("./名字.txt", encoding='utf-8') for user in f: if user.startswith("吴") and user.endswith("彬"): print(user)
[ "snake_goodluck@hotmail.com" ]
snake_goodluck@hotmail.com
73d482f093d60af110dad51de738c055a98d4ee8
da39bac16d679acf630539eaf3fcb7d9bfd4266c
/pruebas_estudio/ahorcado.py
261e54e6620b46343bce3b59d925c85ae73ba361
[]
no_license
JhonveraDev/python_test
1c2a7cb938d433d8449186e3918421de620fb76b
b24305bb7f5241161ebebab5b5f2296f622e41e0
refs/heads/master
2022-12-19T17:25:29.745898
2020-10-05T20:32:06
2020-10-05T20:32:06
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,067
py
import random IMAGES = [''' +---+ | | | | | | =========''', ''' +---+ | | O | | | | =========''', ''' +---+ | | O | | | | | =========''', ''' +---+ | | O | /| | | | =========''', ''' +---+ | | O | /|...
[ "70354869+synapsedeveloper@users.noreply.github.com" ]
70354869+synapsedeveloper@users.noreply.github.com
90b1b2935f90ce882628d4ff106a146a7efaf433
85e96c5af2a85a21d8c8ce7f48c458ecb9c1560d
/sigfeat/feature/common.py
2709789552bc21551c853a823441dd71e87e7f96
[ "BSD-3-Clause" ]
permissive
SiggiGue/sigfeat
0758cbe8bdefcb657f641239dad6256100ac59a3
86bb94200dcd4b33c21de1abc01814bf85f97b38
refs/heads/master
2021-01-10T15:39:37.379959
2019-08-21T15:28:53
2019-08-21T15:28:53
43,051,564
9
5
null
null
null
null
UTF-8
Python
false
false
2,658
py
import numpy as np from scipy.signal import get_window from scipy.stats import gmean from ..base import Feature from ..base import HiddenFeature from ..base import Parameter class Index(Feature): """Index of source.""" def process(self, data, result): return data[1] class WindowedSignal(HiddenFeatu...
[ "siegfried.guendert@googlemail.com" ]
siegfried.guendert@googlemail.com
6a229e3a74854188654dfdce1ffadf178b5c94d4
4391b3ecfe3add85093cc72aca825a1f28236a28
/deprecated/scripts/test_baddata.py
d155266411ba13b51d2c84a236408b0c4403f06f
[]
no_license
UWKepler/uwpyKepler
dd1d831db1ad8db495134fdf58fba1becf0b38f9
c6a65f3082854ff0b1f228b46fb6e2080ead24b8
refs/heads/master
2021-01-01T16:51:08.348073
2012-12-04T00:34:14
2012-12-04T00:34:14
2,013,217
0
0
null
null
null
null
UTF-8
Python
false
false
986
py
import sys import uwpyKepler as kep import numpy as num import pylab import MySQLdb #KeplerID = sys.argv[1] KeplerID = 8478994 #KeplerID = 11295426 #KeplerID = 10341831 db = MySQLdb.connect(host='tddb.astro.washington.edu', user='tddb', passwd='tddb', db='Kepler') cursor = db.cursor() foo = 'select * from so...
[ "pkundurthy@astro.washington.edu" ]
pkundurthy@astro.washington.edu
6b888afa8081076650b26ddc72d066c50f07c958
98b19dae95ea913b90a2eb298b646bce375470a6
/gov/gov/settings.py
dcab7394e42926cdb055687d1ec70a870b2dab44
[]
no_license
ZHENGYUANING/ENCP
88eb6aef3db7e8c639c06b05dc3676565f546916
18a00f5ff3e978c9176d6068c95aebcb6685f32b
refs/heads/master
2020-03-26T03:12:25.509718
2018-08-12T06:54:11
2018-08-12T06:54:11
144,444,384
0
0
null
null
null
null
UTF-8
Python
false
false
3,250
py
# -*- coding: utf-8 -*- # Scrapy settings for gov project # # For simplicity, this file contains only settings considered important or # commonly used. You can find more settings consulting the documentation: # # https://doc.scrapy.org/en/latest/topics/settings.html # https://doc.scrapy.org/en/latest/topics/do...
[ "yuan140228@163.com" ]
yuan140228@163.com
055f9ee55777f37d7d21551a10ed5e0c2a1a9a9a
fd36c2d26d1a39ad084d4ab86cfca2b4cc59e4ca
/run_server.py
19d0ea76e5957e428be98164f3b126425323977d
[]
no_license
mitchelljustin/PoliticansWritePHComments
dffadcc4fd0c1bf860c37b72e326896c253e6819
367b942b5a7c62e01dcac149f8589f31b3b8c71a
refs/heads/master
2021-05-31T02:29:44.715090
2016-03-03T03:43:23
2016-03-03T03:43:23
null
0
0
null
null
null
null
UTF-8
Python
false
false
141
py
from os import environ from app import app debug = (environ.get('DEBUG', 'true') == 'true') app.run(debug=debug, port=8001, host='0.0.0.0')
[ "mitchellvanderhoeff@gmail.com" ]
mitchellvanderhoeff@gmail.com
2692affb62ec83ac4b2975758a8639d73502b62b
05bdb29b7dbdbc3fd160ab1b06bff2cf8b62f81a
/installRadiant/xlib/xData.py
5ebe0ef69d424f2b685cd20b27748af8ceb7d951
[]
no_license
shawnyan888/wikee
6e9420a4bd828b9fc2aab55d7c6d6a0256196bb7
b2181cbba1b8600a044cfcfeb519de85755b14a3
refs/heads/master
2020-03-18T15:34:10.440524
2018-05-28T03:56:28
2018-05-28T03:56:28
134,915,388
0
0
null
null
null
null
UTF-8
Python
false
false
1,337
py
#!/usr/bin/python # -*- coding: utf-8 -*- import re import sys import collections __author__ = 'Shawn Yan' __date__ = '16:09 2018/5/25' ON_WIN = sys.platform.startswith("win") # Radiant Release Path rel_path_win = "//192.168.48.104/home/rel" rel_path_lin = "/home/rel" REL_PATH = rel_path_win if ON_WIN else rel_pat...
[ "boyan99@sohu.com" ]
boyan99@sohu.com
9b9fa54cd5bf6db34b1d4797b25707c6e44eef12
05c19a66688fc35e1d5d57a3c5101c267366aecd
/class_example_one_public.py
e6d073a3a42563d2a5866b56aa90257ad65c5242
[]
no_license
andrewjwant/warning_public_repo
eafb0790e120bbf1759ac03b99ba018738b96ba9
f499a20c26a91300ba6971ae34aa79f2174dad64
refs/heads/master
2020-05-19T09:39:00.611103
2014-12-23T20:02:24
2014-12-23T20:02:24
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,636
py
from numpy import loadtxt, where from error_log_file import log_file %pwd "Insert pathname here" class FileObject(object): def __init__(self, name, content=None): self.name = name self.content = content def add_content(self): if...
[ "andrewjwant@users.noreply.github.com" ]
andrewjwant@users.noreply.github.com
92b79cde823f26c042ca7d307980db5644353457
26997a040bc3b9dbc7a1a2ad427c50f474a1d2e5
/ProLite.py
0d95ce36b1486cd6cc6662df4d1d944387c09932
[]
no_license
flyingclimber/LegalTally
5af8fc2e283e445d5a0cfa91f57f86cc8247e8db
63aff26656c4a32bfbfc93d54dc4fada6bd4dbf9
refs/heads/master
2021-01-15T21:09:55.019532
2012-05-13T23:50:38
2012-05-13T23:50:38
4,037,224
1
0
null
null
null
null
UTF-8
Python
false
false
2,361
py
'''Class library for ProLite signs''' #Colors class ProLite: colors = dict({ 'DIM_RED':'<CA>', 'RED':'<CB>', 'BRIGHT_RED':'<CC>', 'ORANGE':'<CD>', 'BRIGHT_ORANGE' : '<CE>', 'LIGHT_YELLOW' : '<CF>', 'YELLOW' : '<CG>', 'BRIGHT_YELLOW' : '<CH>', 'LIME' : '<CI>', 'DIM_LIME' : '<...
[ "tomasz@gmail.com" ]
tomasz@gmail.com
91475bb7b2a80a9a0e351fb6cf1a0503131fe2c0
efea24c51375e6a5a79f7224a768b4677f35585e
/sistemaInventarioApi/migrations/0013_remove_usuario_cedula.py
e4d83b82c4aad54d492a8a078ce315a6f58414b5
[]
no_license
ORLINHNDZ/sistemaInventarioApi
da1bca1c8f2d716e2f9d759d514466196a36e4ad
9011ffbed1223d894fe0e15b66a555ff2ccf6cc9
refs/heads/main
2023-04-14T02:39:15.046578
2021-04-27T21:57:31
2021-04-27T21:57:31
315,148,057
1
0
null
null
null
null
UTF-8
Python
false
false
342
py
# Generated by Django 3.1.2 on 2020-12-10 23:22 from django.db import migrations class Migration(migrations.Migration): dependencies = [ ('sistemaInventarioApi', '0012_auto_20201207_1316'), ] operations = [ migrations.RemoveField( model_name='usuario', name='cedu...
[ "santiago.cruz43@gmail.com" ]
santiago.cruz43@gmail.com
d25711699363e9206514c4e7ad370e6cdfa6d6cc
53fab060fa262e5d5026e0807d93c75fb81e67b9
/backup/user_049/ch10_2019_02_25_13_33_57_478412.py
82ad6cf6556fc264702c4e9a127a1e2a0506b9ad
[]
no_license
gabriellaec/desoft-analise-exercicios
b77c6999424c5ce7e44086a12589a0ad43d6adca
01940ab0897aa6005764fc220b900e4d6161d36b
refs/heads/main
2023-01-31T17:19:42.050628
2020-12-16T05:21:31
2020-12-16T05:21:31
306,735,108
0
0
null
null
null
null
UTF-8
Python
false
false
52
py
def libras_para_kg(x): y=x*0.453592 return y
[ "you@example.com" ]
you@example.com
8929025ad037980637683b391c705635384815bd
114f9e0fc3671a653639f3946f97a2a343b42d1b
/latlong_assignment/settings.py
6205b4def9fa1ba2f79d0cf9cb3b03b8f5275b9c
[ "MIT" ]
permissive
sivasankar-dev/latlong-django
3db530419f30199790138e8bcf0ac55c1b119d0b
ca1093ced3955b89f8512f5a3b3ad5f39efec4ee
refs/heads/main
2023-04-13T18:31:15.690597
2021-04-27T18:40:20
2021-04-27T18:40:20
360,786,820
0
0
null
null
null
null
UTF-8
Python
false
false
3,573
py
""" Django settings for latlong_assignment project. Generated by 'django-admin startproject' using Django 2.2.17. 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/ """ ...
[ "83058214+sivasankar-dev@users.noreply.github.com" ]
83058214+sivasankar-dev@users.noreply.github.com
d2d2f55bf58acf2c7b0638ee9c3f974eddcc7f15
1f41b828fb652795482cdeaac1a877e2f19c252a
/maya_tools_backup/chRig/python/chModules/jointBasePsd/ui/part1_driverInfo.py
f84898d94a6be94c7c1a4dcd28d3858e67aa209f
[]
no_license
jonntd/mayadev-1
e315efe582ea433dcf18d7f1e900920f5590b293
f76aeecb592df766d05a4e10fa2c2496f0310ca4
refs/heads/master
2021-05-02T07:16:17.941007
2018-02-05T03:55:12
2018-02-05T03:55:12
null
0
0
null
null
null
null
UTF-8
Python
false
false
7,678
py
import maya.cmds as cmds import uifunctions as uifnc import globalInfo import math from functools import partial class MovedDriverList: def __init__(self, width, targetUI, minValue=0.1 ): self._width = width-25 self._minValue = minValue self._updateTargetUi = targetUI ...
[ "kimsung9k@naver.com" ]
kimsung9k@naver.com
17bfe12b73f8151f90bbe524f3e7eec78405670d
e00d41c9f4045b6c6f36c0494f92cad2bec771e2
/hardware/disk/jfsutils/actions.py
04137c15c4fe42097f20e21c0e2fb42b734f7ec0
[]
no_license
pisilinux/main
c40093a5ec9275c771eb5fb47a323e308440efef
bfe45a2e84ea43608e77fb9ffad1bf9850048f02
refs/heads/master
2023-08-19T00:17:14.685830
2023-08-18T20:06:02
2023-08-18T20:06:02
37,426,721
94
295
null
2023-09-14T08:22:22
2015-06-14T19:38:36
Python
UTF-8
Python
false
false
810
py
#!/usr/bin/python # -*- coding: utf-8 -*- # # Licensed under the GNU General Public License, version 3. # See the file https://www.gnu.org/licenses/gpl-3.0.txt from pisi.actionsapi import autotools from pisi.actionsapi import pisitools from pisi.actionsapi import get def setup(): autotools.configure("--sbindir=/u...
[ "icu7c1@gmail.com" ]
icu7c1@gmail.com
5134901473eeb9233f87e142e6334a82d18c9d2e
307653196b0a90f98d53aec2b1974ecd61dbad39
/zabbix/core/maintenance.py
ca8e570624db3cdedd29deedd3ce06a68498480f
[]
no_license
dhyaniarun1993/automation_scripts
b2138987da58b27f86953ca82245af738564a6d8
09521d1e264982a244c4e33ab969b6e754f659cb
refs/heads/master
2021-08-28T12:12:36.580484
2017-12-12T07:18:30
2017-12-12T07:18:30
112,226,652
0
0
null
null
null
null
UTF-8
Python
false
false
4,073
py
''' created by Arun Dhyani ''' import requests import json import sys URL = 'http://localhost/zabbix/api_jsonrpc.php' HEADERS = {'content-type': 'application/json'} def createTimePeriodObject(start_time, start_date=None, period=3600, timeperiod_type=0, day=None, dayofweek=None, every=None, month=None): ''' funct...
[ "arun.dhyani@paytm.com" ]
arun.dhyani@paytm.com
77e9fa8f8cf6dd5234cee2db266d3fdaeb7f6bbf
7c5f1aeda72966c9080aa2b0bafa83c3360d7de0
/link_prediction/link_prediction_neo4j.py
1b99fd0cb60e00e9ef9871d278dbe91e64573dc6
[]
no_license
jpalaskas/GraphAnalysis
88c3d3386ccf3bffa8c0e9855f83b6726f40caa1
541a817da4c336012df41eef813444efb043602c
refs/heads/master
2022-12-03T10:10:36.938929
2020-08-22T08:34:32
2020-08-22T08:34:32
284,316,179
0
0
null
2020-08-01T18:25:36
2020-08-01T18:25:35
null
UTF-8
Python
false
false
5,368
py
from py2neo import Graph import json import pandas as pd from pandas import DataFrame import sys import matplotlib.pyplot as plt def best_users(graph): best_in = graph.run('MATCH (u:User)<-[r]-() RETURN u.id, count(r) as count').to_data_frame() best_out = graph.run('MATCH (u:User)-[r]->() RETURN u.id, count(r...
[ "leonvogiaztis@gmail.com" ]
leonvogiaztis@gmail.com
3e043eafd697d0bda7dcd78559589164ec7a7da4
574b04d5942e33a580f93c0256670d8368d2c49e
/videoDetection/dataset_creation/dataset_generation/dataset_gen.py
4882be0c7f8f05685e7730f9a8029eaa807c9d88
[ "MIT" ]
permissive
Rubik90/TFM_AG
c9ac96f279a8583b9bbdd20c4917cf320a5a1057
5e836245d0704122f2a0d47413e93bf53d966ca0
refs/heads/main
2023-05-04T14:30:56.446322
2021-04-01T12:35:35
2021-04-01T12:35:35
336,585,569
1
1
null
null
null
null
UTF-8
Python
false
false
2,073
py
import os import sys import shutil import glob from PIL import Image if "--videos_path" in sys.argv: videos_path = sys.argv[sys.argv.index("--videos_path") + 1] else: print("ERROR: No value specified for the frames path") sys.exit() if "--annotations_path" in sys.argv: annotations_path = sys.argv[sys....
[ "anto@TFM.xuqxeykyz2sujfuayjgdzwzbqc.ax.internal.cloudapp.net" ]
anto@TFM.xuqxeykyz2sujfuayjgdzwzbqc.ax.internal.cloudapp.net
4cd959feba76f04559dbece78f61eac0cd436715
1efe68b3c5178a8054e499120066671363cc300d
/17/17.py
5b32b1fa6405e4b59bd8546e01f1aba5d2a63d13
[ "MIT" ]
permissive
fxbk/AoC2020
0c9f688bd1b38fec840a0a834216c51897b93865
52dca0a0d8e4960821ee3b363313b6f806c5cfa0
refs/heads/main
2023-02-07T08:51:00.948648
2020-12-28T12:32:18
2020-12-28T12:32:18
318,993,552
0
0
null
null
null
null
UTF-8
Python
false
false
2,916
py
import copy import itertools from tqdm import tqdm file = open('input.txt', 'r') input = file.read() input = input.split('\n') active = [] for y, row in enumerate(input): for x, c in enumerate(row): if c == '#': active.append((x, y, 0)) def get_number_of_active_neighbors(active_list, x, y, ...
[ "44337498+fxbk@users.noreply.github.com" ]
44337498+fxbk@users.noreply.github.com
036b49dc3e04b13b6a60801e493266459786b344
5ddec5c9fc664340de68cce69037d553478226d5
/python/AirConOff.py
dede34f710b8548e9dcd6268796171fdf59e22d3
[ "Apache-2.0" ]
permissive
dobachi/PythonECHONETLiteExample
4f17086dc9df835bdb59123738f5a8a1165c3116
ea243d8f084772a83c76a1e3cabd2be9d20cc072
refs/heads/main
2023-08-24T09:22:24.510430
2021-10-02T15:59:30
2021-10-02T15:59:30
411,939,682
0
0
Apache-2.0
2021-09-30T05:58:50
2021-09-30T05:52:07
null
UTF-8
Python
false
false
2,861
py
#!/usr/bin/env python # https://yomon.hatenablog.com/entry/2020/09/sharp_aircon_echonet_lite を # 参考に試してみる例 import socket import sys def create_command(): # --------------------------------------------------- # 3.2.1 ECHONET Lite ヘッダ(EHD) # --------------------------------------------------- # 3.2.1.1...
[ "dobachi1983oss@gmail.com" ]
dobachi1983oss@gmail.com
4adb49be9ca1bb4ee2cc1405b6663fb0901635ad
20e122159c1e877b87c55e09bf7239da9e893f6d
/CSE230/programming assignments/pa6/pa6_solution/vector.py
d8be81d69efdd0ecf03078bb9013d4cad86bac27
[]
no_license
e3u3/UCSDCourse
87fe4621e34cab962be94542bd8167e63585638e
ce89a23526482453275077aa5aa1eecc8829139b
refs/heads/master
2020-06-08T11:04:27.317484
2019-06-21T17:03:30
2019-06-21T17:03:30
193,217,763
1
1
null
2019-06-22T09:48:51
2019-06-22T09:48:51
null
UTF-8
Python
false
false
3,092
py
from misc import Failure class Vector(object): def __init__(self, args): """ constructor Input: int means the length of the vector or a list of values to assign to the vetor Out: vector """ if (isinstance(args,int) or isinstance(args,long)): if (args < 0): rais...
[ "1936381013@qq.com" ]
1936381013@qq.com
36ca3c04dd363c14bcc23be5a628b5e7e6829b54
d554b1aa8b70fddf81da8988b4aaa43788fede88
/5 - Notebooks e Data/1 - Análises numéricas/Arquivos David/Atualizados/logDicas-master/data/2019-1/226/users/4131/codes/1593_1801.py
68aa91038cf015d360afa193c96d8336c1eea4bb
[]
no_license
JosephLevinthal/Research-projects
a3bc3ca3b09faad16f5cce5949a2279cf14742ba
60d5fd6eb864a5181f4321e7a992812f3c2139f9
refs/heads/master
2022-07-31T06:43:02.686109
2020-05-23T00:24:26
2020-05-23T00:24:26
266,199,309
1
0
null
null
null
null
UTF-8
Python
false
false
74
py
x1= input("nome") x2= int(input(" nrf ")) print(("Abra " + x1 + " ") * x2)
[ "jvlo@icomp.ufam.edu.br" ]
jvlo@icomp.ufam.edu.br
04ce0850226367c30af7a2f3c7517bed18065b12
07763d43e0074ee19d550b02419e71b576b6dbec
/tuples_samples.py
d4de359b78c77d6d7eea0bb419af05a1b02f80c9
[]
no_license
balasubramanianramesh/Python_Training
a93ee368ec364485bec36b095018a62628799381
96b4ef0c06993407d12b411ded2de3b5a770ecaa
refs/heads/master
2021-01-11T16:02:01.792651
2017-01-25T09:08:27
2017-01-25T09:08:27
79,989,295
0
0
null
null
null
null
UTF-8
Python
false
false
855
py
tup1 = ('physics', 'chemistry', 1997, 2000); tup2 = ( 0, 1, 2, 3, 4, 5, 6, 7 ); tup3 = "a", "b", "c", "d"; tup1 = (); ##Empty tuple tup1 = (50,); ## To write a tuple containing a single value you have to include a comma, even though there is only one value print "tup1[0]: ", tup1[0] print "tup2[1:5]: ", tup2[1:5] print...
[ "balu.ofs@gmail.com" ]
balu.ofs@gmail.com
532ef36c34decb44e73a5e1b81beb7a67c57cc0a
f3b233e5053e28fa95c549017bd75a30456eb50c
/ptp1b_input/L83/83-79_MD_NVT_rerun/set_1.py
e52dbdc3dbc2b5c4afd43f06c240d855b04ecbb2
[]
no_license
AnguseZhang/Input_TI
ddf2ed40ff1c0aa24eea3275b83d4d405b50b820
50ada0833890be9e261c967d00948f998313cb60
refs/heads/master
2021-05-25T15:02:38.858785
2020-02-18T16:57:04
2020-02-18T16:57:04
null
0
0
null
null
null
null
UTF-8
Python
false
false
741
py
import os dir = '/mnt/scratch/songlin3/run/ptp1b/L83/MD_NVT_rerun/ti_one-step/83_79/' filesdir = dir + 'files/' temp_prodin = filesdir + 'temp_prod_1.in' temp_pbs = filesdir + 'temp_1.pbs' lambd = [ 0.00922, 0.04794, 0.11505, 0.20634, 0.31608, 0.43738, 0.56262, 0.68392, 0.79366, 0.88495, 0.95206, 0.99078] for j in la...
[ "songlin3@msu.edu" ]
songlin3@msu.edu
584d4619db06c8d1462cb07e7215ad04c548557e
31681488e69da3c7e00b0eda28e5cb720ef2299c
/liteiclink/serwb/packet.py
e8fc035b1b096ded56e1cea8560fc1819ccb2679
[ "BSD-2-Clause" ]
permissive
zsipos/liteiclink
4e9bdf6a819f490461cb33d0837247041203071d
864cd831f3475dffd1c92d6d4a1b86608680bcf2
refs/heads/master
2021-07-08T07:43:10.897604
2020-01-28T09:40:17
2020-01-28T09:40:17
245,119,569
0
0
NOASSERTION
2020-03-05T09:25:16
2020-03-05T09:25:15
null
UTF-8
Python
false
false
4,839
py
# This file is Copyright (c) 2017-2019 Florent Kermarrec <florent@enjoy-digital.fr> # License: BSD from math import ceil from migen import * from migen.genlib.misc import WaitTimer from litex.gen import * from litex.soc.interconnect import stream class HeaderField: def __init__(self, byte, offset, width): ...
[ "florent@enjoy-digital.fr" ]
florent@enjoy-digital.fr
545bebbae87cb9883640029d8b20937e0fc6f49c
c924c06d2b658924a0e0fabe7fcbf27ad98cc149
/COLOSSEUM/backend/migrations/0004_game_server_response.py
83461480f224dbbcc5fd35062c584d8774e0ba69
[]
no_license
ColosseumGroup/ColosseumII
49b85c7d00aa16c62d700fc194db679fd34a978c
36fde3cc947bf68034aeb4b84aa10e561b5be52a
refs/heads/master
2018-12-05T17:59:26.728207
2018-08-13T02:18:39
2018-08-13T02:18:39
119,014,472
2
0
null
null
null
null
UTF-8
Python
false
false
387
py
# Generated by Django 2.1 on 2018-08-12 03:00 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('backend', '0003_game_max_player_num'), ] operations = [ migrations.AddField( model_name='game', name='server_response'...
[ "213160842@seu.edu.cn" ]
213160842@seu.edu.cn
632910dc19509552a058895affb69cb8bfc155ce
8bb0dea2174658ad305ce37d38bc0375e4765977
/cards/management/commands/jsonimport.py
8c487cf8cbe691b9d37eb6764b1c5e634ccc3f33
[ "MIT" ]
permissive
axm1820/cards-against-django
e256622d6f12a608f68c617953f79c82a7ae2bfa
dabc508474b028e9de400b27736590613b8396d8
refs/heads/master
2020-12-03T10:30:10.394144
2014-08-15T01:24:08
2014-08-15T01:24:08
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,693
py
import sys from optparse import make_option # json support, TODO consider http://pypi.python.org/pypi/omnijson try: # Python 2.6+ import json except ImportError: # from http://code.google.com/p/simplejson import simplejson as json dump_json = json.dumps load_json = json.loads from django.core.managem...
[ "Chris.Clark@actian.com" ]
Chris.Clark@actian.com
29fe4042cd2cbd2f2ca9d31a58cf53afd5ba5298
4368c51ce45504e2cc17ea8772eeb94c13e1c34a
/utils/meta_utils.py
2c8068279495081ff5d67c14a8d980c40f3f982b
[]
no_license
Shuai-Xie/metaASM
1eddc02846ee3fc05198883277357f9735dbaeb0
c6a7b8fe3ecbca2bdc874e3b0dad6dd8f8c1c4cd
refs/heads/master
2021-03-18T17:57:12.952618
2020-04-03T14:20:12
2020-04-03T14:20:12
247,087,294
0
0
null
null
null
null
UTF-8
Python
false
false
3,664
py
import torch import numpy as np import random from datasets import CIFAR from datasets.dataset_utils import get_cls_img_idxs_dict from datasets.transforms import transform_train from utils.asm_utils import detect_unlabel_imgs, get_select_fn """ sort each cls samples by criterion """ @torch.no_grad() def sort_cls_sa...
[ "shuaixie@zju.edu.cn" ]
shuaixie@zju.edu.cn
f3ad2d30d023ac96ee324cece587c787ec28b6ad
93652e0f73558ffa24059647324f79ba043ba241
/topi/tests/python/test_topi_clip.py
041565433bccd162ef55c48cb1e6cd6f106a8200
[ "Apache-2.0" ]
permissive
souptc/tvm
830b1444435b6bda267df305538a783eb687d473
a8574e7bb814997cb3920a72035071899635b753
refs/heads/master
2020-03-25T12:42:20.686770
2018-08-06T21:07:38
2018-08-06T21:07:38
143,789,191
1
0
Apache-2.0
2018-08-06T22:18:20
2018-08-06T22:18:19
null
UTF-8
Python
false
false
1,458
py
"""Test code for clip operator""" import numpy as np import tvm import topi from topi.util import get_const_tuple from tvm.contrib.pickle_memoize import memoize def verify_clip(N, a_min, a_max, dtype): A = tvm.placeholder((N, N), dtype=dtype, name='A') B = topi.clip(A, a_min, a_max) s = tvm.create_schedul...
[ "tqchen@users.noreply.github.com" ]
tqchen@users.noreply.github.com
0eacc151f4687b9c510af5c578b7c2cc7da03f1f
f9626bbbffad4e4157fc279358e0edd1f997f1d8
/irl/maxent.py
945969f604bee43554f1c2fb036aeeac012e3c91
[]
no_license
markalence/MaxEntIRL
5b58a0272d06cd595c0ad5229be2164168067018
00e45c59de70ef9171496152e2cc1d13be5959f5
refs/heads/master
2023-01-10T20:32:42.767135
2020-11-17T22:07:09
2020-11-17T22:07:09
308,770,725
0
0
null
null
null
null
UTF-8
Python
false
false
9,470
py
""" Implements maximum entropy inverse reinforcement learning (Ziebart et al., 2008) Matthew Alger, 2015 matthew.alger@anu.edu.au """ from itertools import product import numpy as np import numpy.random as rn from . import value_iteration import json def irl(feature_matrix, n_actions, discount, transition_probabi...
[ "mark.alence@switch.org.za" ]
mark.alence@switch.org.za
eda754ab5842624ac525d528542a4e12b3812987
82dddaf5cde354bc6d96fdf0ef2516abf2960cb4
/zom/bonbon/migrations/0003_remove_res_link.py
caaf4f16351c0795ac0d78ece628613590113a9f
[ "MIT" ]
permissive
Neha-Prabhu/Zomato-clone
9f623d215c6e89528d129507f8cd27067c93d128
4d57f784c6de91780a171fe4e2853ccb20c8e8ca
refs/heads/master
2022-07-17T01:01:01.372469
2020-05-13T19:45:23
2020-05-13T19:45:23
263,724,693
0
1
null
null
null
null
UTF-8
Python
false
false
322
py
# Generated by Django 2.2.4 on 2019-10-12 18:57 from django.db import migrations class Migration(migrations.Migration): dependencies = [ ('bonbon', '0002_auto_20191012_2320'), ] operations = [ migrations.RemoveField( model_name='res', name='link', ), ...
[ "nehaprabhu8888@gmail.com" ]
nehaprabhu8888@gmail.com
8ad0f2dc3caaa8c82153abee8dbfd4ae141503a1
9321d3460ffbbb6cd7917b2bac77ce8321e04737
/contributions/Legacy/JPlus/Old/EDMFunctions with infiltration not working.py
0e4abdb725c1f2e288370fefe3c7374edd491e9d
[ "MIT" ]
permissive
muehleisen/CEAforArcGIS
b820d837cd5373b95851b4e5dda609d69f054b97
b6aeca5a9d70835381625a9162d5695714e1a02b
refs/heads/master
2021-01-11T21:24:18.482264
2017-01-06T05:28:48
2017-01-06T05:28:48
null
0
0
null
null
null
null
UTF-8
Python
false
false
73,097
py
# -*- coding: utf-8 -*- # <nbformat>3.0</nbformat> # <markdowncell> # ####MODULES # <codecell> from __future__ import division import arcpy from arcpy import sa import sys,os import pandas as pd import datetime import jdcal import numpy as np import math import sympy as sp import scipy import scipy.optimize sys.pat...
[ "fonseca@arch.ethz.ch" ]
fonseca@arch.ethz.ch
fd2d35e5d2c521e1cecac452695ef706d4c2c8f4
d60a3e90a556f0a3401b4353608da2aac5f7540b
/patch_dispatch.py
913599474cc1e1498e97b006aab071d810d30fff
[]
no_license
egorzhdan/swift-windows-helper
4ab8c31bfefee6659f79421800f38aea7e6d0a85
dd9999ef02f180c8b11524c665f458d1ade2d158
refs/heads/master
2023-03-10T21:42:22.161709
2021-02-20T14:19:49
2021-02-20T14:19:49
309,090,363
1
0
null
null
null
null
UTF-8
Python
false
false
434
py
import sys import shutil sdk_path = sys.argv[1] # C:\Library\Developer\Platforms\Windows.platform\Developer\SDKs\Windows.sdk include_dir = sdk_path + "\\usr\\include" dir_names = [ "Block", "dispatch", "os", ] for dir_name in dir_names: current_dir = sdk_path + "\\usr\\lib\\swift\\" + dir_name ...
[ "egor.zhdan@gmail.com" ]
egor.zhdan@gmail.com
56e24c6bedffbf4b9570c232138492920f42e23f
cab59201f865b223ecaf51de7a56e7876ec0b52f
/xpath.py
904e7f786ba6a29b88257f0aba7bb90b51a53bcc
[]
no_license
Dao-zhi/GoogleScholarGUI
e45128a18dfec823c6239f6338d053aeeef29420
4ef8efc265f3b56603f6bd72c596478a60e8fe76
refs/heads/master
2023-04-15T11:00:01.728444
2023-04-11T15:24:10
2023-04-11T15:24:10
296,362,335
50
10
null
null
null
null
UTF-8
Python
false
false
3,871
py
from lxml import etree text = ''' <div> <ul> <li class="item-0"><a href="https://ask.hellobi.com/link1.html">first item</a></li> <li class="item-1"><a href="https://ask.hellobi.com/link2.html">second item</a></li> <li class="item-inactive"><a href="https://ask.hellobi.com/link3.html">thir...
[ "daozhixs@gmail.com" ]
daozhixs@gmail.com
5f537c70f9cd6b0a19616b71a25a215de60024f5
e070e662194c12e8441f62e92cad8528b81b12a5
/djd-prog2/noite/aula6/teste_retangulo_for.py
5451392e572992ca3a801263bbdc7e89df81f727
[]
no_license
antoniorcn/fatec-2019-1s
0297c4a3d8b5ac4ff8d1f97edc5859202827e721
9f5e2e12b894de08b43db3c83a9c4d08cd6de14e
refs/heads/master
2020-04-22T23:02:45.763837
2019-06-03T15:58:19
2019-06-03T15:58:19
170,727,501
5
10
null
null
null
null
UTF-8
Python
false
false
98
py
for linha in range(0, 4): for coluna in range(0, 5): print("*", end="") print("")
[ "antonio@moonsoft.com.br" ]
antonio@moonsoft.com.br
51841a19a264faf973ced18a9e1cf35247bbda79
46681c3220e9279aa111167b8c5cb1d5a01aa2ad
/Flappy_bird/Keyboard version/bird.py
42864d03d56d0b71d092fa85b1ccdd36e9f9c875
[]
no_license
J-Z-Z/Pygame-Samples
c74e59f170c975e530fad60ac4f024095393b82d
9e8ca3ec1c1c2eb9747aa4108168a0809863aa95
refs/heads/master
2022-07-07T02:00:53.583274
2020-05-12T15:38:50
2020-05-12T15:38:50
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,264
py
import pygame class Bird(): def __init__(self,g_settings,screen): '''初始化 并设置其初始位置''' self.screen = screen self.g_settings = g_settings #加载主体图像并获取其外接矩形 self.image = pygame.image.load('images/bird.png') self.rect = self.image.get_rect() self.screen_rect = scre...
[ "lindingxuan@outlook.com" ]
lindingxuan@outlook.com
156246262492d16dbce1e7855ed7bfc5704e2fc2
20d7e33c26d6a26cfca5b7dd4c769e5a8e4fae5b
/app_info.py
210d25de849c52df1fb1412b5c5b79aca9f4d870
[ "MIT" ]
permissive
sokcheng/Kitsuchan-NG
02fc23cb2bc1c3e41226e3895cd32d0f23eec542
3a456ad06814181d13d4aabefc151756c55444f4
refs/heads/master
2021-01-21T17:38:14.271366
2017-05-21T15:16:45
2017-05-21T15:16:45
91,972,929
1
0
null
2017-05-21T16:51:46
2017-05-21T16:51:46
null
UTF-8
Python
false
false
634
py
#!/usr/bin/env python3 """Contains application information. Yes, it's slightly bad practice to put this in a Python file.""" NAME = "Kitsuchan-NG" URL = "https://github.com/n303p4/Kitsuchan-NG" DESCRIPTION = (f"This is a running instance of [{NAME}]({URL}), a modular Discord bot. Originally " "designe...
[ "n303p4@users.noreply.github.com" ]
n303p4@users.noreply.github.com
b497b5eab779e045244040b84540a3b1de211872
d47a1652db00123911c7f7ef41c26b094eaa5bf4
/statsmodels/datasets/statecrime/data.py
66f2cdd37551eebf7472fbeaa8e995767e5f885b
[ "BSD-3-Clause" ]
permissive
harpone/statsmodels
7779642f9f224966df515b24e3a95801884092ac
07576e42b29bf8a46511b316381624461499f8f6
refs/heads/master
2020-12-26T00:45:38.269093
2014-02-25T02:57:35
2014-02-25T02:57:35
17,170,955
1
1
null
null
null
null
UTF-8
Python
false
false
2,985
py
#! /usr/bin/env python """Statewide Crime Data""" __docformat__ = 'restructuredtext' COPYRIGHT = """Public domain.""" TITLE = """Statewide Crime Data 2009""" SOURCE = """ All data is for 2009 and was obtained from the American Statistical Abstracts except as indicated below. """ DESCRSHORT = """State ...
[ "jsseabold@gmail.com" ]
jsseabold@gmail.com
1b44227170fdcac65c26a440e7d2e2b2a47ec25c
e8900be618c45fdd4ded96a7f4f73d98175b0d58
/lifesaver/load_list.py
c0897b11c8bd4a9ec30ca2deb3fcbbbdec7c5025
[ "MIT" ]
permissive
lun-4/lifesaver
badf56aa0dfd744c49fb50a2611cbf201bd8ba0e
e8c4b492490d678db80258f69fce6dc4769fd1d7
refs/heads/master
2022-11-23T08:29:25.297035
2020-06-14T04:00:30
2020-06-14T04:00:30
228,510,471
0
0
NOASSERTION
2019-12-17T01:51:50
2019-12-17T01:51:49
null
UTF-8
Python
false
false
2,422
py
# encoding: utf-8 import importlib import logging import typing from collections import UserList from pathlib import Path FORBIDDEN_EXTENSIONS = { ".pyc", ".log", ".ini", ".DS_Store", ".db", ".mypy_cache", ".tmp", } FORBIDDEN_NAMES = {"__pycache__"} def transform_path(path: typing.Union[...
[ "ryaneft@gmail.com" ]
ryaneft@gmail.com
213840862cac4a5e0577be766248cd201e560514
be6b4181de09a50ccbd7caea58dbdbcbf90602be
/numba/servicelib/threadlocal.py
2ad13112109b26cdbb93c40202dffb8edc1a6bf4
[ "BSD-2-Clause" ]
permissive
pombreda/numba
6490c73fcc0ec5d93afac298da2f1068c0b5ce73
25326b024881f45650d45bea54fb39a7dad65a7b
refs/heads/master
2021-01-15T10:37:08.119031
2014-11-06T22:32:48
2014-11-06T22:32:48
null
0
0
null
null
null
null
UTF-8
Python
false
false
910
py
""" Implements: - Threadlocal stack """ from __future__ import print_function, absolute_import, division import threading class TLStack(object): def __init__(self): self.local = threading.local() @property def stack(self): try: # Retrieve thread local stack return ...
[ "michael.lam.sk@gmail.com" ]
michael.lam.sk@gmail.com
f97b3364c92a623168bf5bf6a376bc641629e379
52a784d003dea763794b526d0e8b5763d0a01fd9
/app.py
56a4a65b9d0a3a5707e7909854b8fa6b3510ae61
[]
no_license
jdaltuvec/flask-pets
9d9306583fb2d8892325d4fcebe9858bfae0ff40
8d0216fed907501a4ff89387bef68109f0041ab5
refs/heads/master
2023-05-11T06:21:11.722624
2020-02-15T19:47:43
2020-02-15T19:47:43
240,777,885
0
0
null
2023-05-02T18:42:41
2020-02-15T19:45:03
Python
UTF-8
Python
false
false
3,429
py
from flask import Flask, jsonify, request from flask_sqlalchemy import SQLAlchemy import datetime app = Flask(__name__) app.config["SQLALCHEMY_DATABASE_URI"] = "sqlite:///pets.sqlite" db = SQLAlchemy(app) class DictMixIn: def to_dict(self): return { column.name: getattr(self, column.name) ...
[ "josedavac@gmail.com" ]
josedavac@gmail.com
f7ddf93e9bfb05edb2d6891fb7ebf3d1b70e760a
17d32eb5d4c4f89811f1420ef712eb9d6c758352
/config.py
c1d5ee6759fdf1f2a906d8e6338ad007a2f18ce5
[]
no_license
bolv88/Auction
f5b16077473bb63074c7684907f6dd56035f0e58
4a5a7f2cf02aa6d9728b152edbd6f500e2b89d46
refs/heads/master
2021-03-19T07:10:15.014586
2012-07-25T14:42:44
2012-07-25T14:42:44
null
0
0
null
null
null
null
UTF-8
Python
false
false
53
py
userdb = {"user":"", "pw":"", "db":"", "host":""}
[ "bolv88@gmail.com" ]
bolv88@gmail.com
01b0ccd6b3a54eeed8c167ac4172f697c5a180f8
c7fb558508ed66254ad4553000327e244633a71b
/Python/python_stacks/django_test/surprise/surprise/settings.py
8c6137b331c35953423b8d51660aba1d89396262
[]
no_license
jrhodesy4/DojoAssignments
e64e33d5b96df65b54f7defe38959dbc69ce5285
57a5f82ee343ae1fd755564d7ec30998e301dc02
refs/heads/master
2021-01-22T23:29:35.068913
2017-04-24T23:21:50
2017-04-24T23:21:50
85,645,354
0
0
null
null
null
null
UTF-8
Python
false
false
3,125
py
""" Django settings for surprise project. Generated by 'django-admin startproject' using Django 1.10. For more information on this file, see https://docs.djangoproject.com/en/1.10/topics/settings/ For the full list of settings and their values, see https://docs.djangoproject.com/en/1.10/ref/settings/ """ import os ...
[ "jrhodesy4@gmail.com" ]
jrhodesy4@gmail.com