blob_id
stringlengths
40
40
directory_id
stringlengths
40
40
path
stringlengths
2
616
content_id
stringlengths
40
40
detected_licenses
listlengths
0
69
license_type
stringclasses
2 values
repo_name
stringlengths
5
118
snapshot_id
stringlengths
40
40
revision_id
stringlengths
40
40
branch_name
stringlengths
4
63
visit_date
timestamp[us]
revision_date
timestamp[us]
committer_date
timestamp[us]
github_id
int64
2.91k
686M
⌀
star_events_count
int64
0
209k
fork_events_count
int64
0
110k
gha_license_id
stringclasses
23 values
gha_event_created_at
timestamp[us]
gha_created_at
timestamp[us]
gha_language
stringclasses
213 values
src_encoding
stringclasses
30 values
language
stringclasses
1 value
is_vendor
bool
2 classes
is_generated
bool
2 classes
length_bytes
int64
2
10.3M
extension
stringclasses
246 values
content
stringlengths
2
10.3M
authors
listlengths
1
1
author_id
stringlengths
0
212
c5ebbca3223f948f4b4d71f7bdbc7f6da53e72bc
f370072d7d07681654d4a8c06b23e6508af5679c
/entregable 1.py
04aa02706a14646f7c91b0549da45a33f3d90c67
[]
no_license
Thitsugaya1/python
58268f3544907db3e03a06d57119437ba942bc2e
6de59c4c576d73e8552e3bd6a74ab49fda140097
refs/heads/master
2021-07-15T17:46:54.608543
2020-07-31T17:09:43
2020-07-31T17:09:43
194,190,801
0
0
null
null
null
null
UTF-8
Python
false
false
689
py
# -*- coding: utf-8 -*- """ Created on Thu Apr 10 15:48:09 2014 @author: Toshiron """ x = int(raw_input("x ")) y = int(raw_input("y ")) R1 = int(raw_input("Radio 1 ")) R2 = int(raw_input("Radio 2 ")) R3 = int(raw_input("Radio 3 ")) if R1>0 and R2>R1 and R3>R2: if x*x + y*y <= R3*R3: if x*...
[ "noreply@github.com" ]
Thitsugaya1.noreply@github.com
47a6427d9fce348f25e2e3a5daf450c69483b45c
9beb9833f809e8db7b25ac24cbb124cc9c3eedee
/TourOfHeroes/HeroTour/serializers.py
447381e29214374b7138339ec679127d86e7c55c
[]
no_license
caoyunhao/angluar2-and-django-demo-tour-of-heroes
8546f59184f8ba7a8826ee7eed276a2521794d5c
2b4871d6ffcb177756d411c12f55d7bb3048602f
refs/heads/master
2021-01-20T00:28:36.232757
2017-04-23T11:52:51
2017-04-23T11:52:51
89,137,916
0
0
null
null
null
null
UTF-8
Python
false
false
508
py
from django.contrib.auth.models import User, Group from .models import Hero from rest_framework import serializers class HeroSerializer(serializers.ModelSerializer): class Meta: model = Hero fields = ('id', 'name',) # # def create(self, validated_data): # Hero.objects.create(**vali...
[ "792775641@qq.com" ]
792775641@qq.com
5c6e65b79134891e1027bacfbba9d1aec5e1ab7b
b40cd1835ec1d051c1267fde260ed95d037eaa98
/accounts/views.py
78f9bb96714f8020febec0bbbb1a37acd3d3be9c
[]
no_license
staplercut/study-project
9bd5f94707d13e075614fa640318fb83044a504f
8cda84986f84a20e1946cd07cb63e7c194ea125f
refs/heads/master
2021-09-06T14:00:52.650319
2018-02-07T08:52:36
2018-02-07T08:52:36
112,208,437
0
0
null
null
null
null
UTF-8
Python
false
false
1,511
py
from django.contrib.auth import authenticate, login, logout from django.shortcuts import render, get_object_or_404, redirect from django.http import HttpResponseRedirect from django.urls import reverse from .forms import LoginForm, SignUpForm from django.contrib.auth import get_user_model User = get_user_model() def...
[ "staplercut@gmail.com" ]
staplercut@gmail.com
da761fb4b1552b29b86d4bdfba1658040562588f
55c12592dfa226b0ad047947d22f25914a5b30ff
/crotal/views.py
ae8e7ba2bee960e45043e92ccae1d5ea99ae21ca
[ "BSD-3-Clause" ]
permissive
dezechristophe/Crotal
821fbdd4f6828d4e699654d9b6e90c8b3af87d2d
270cc6fb09a0ae4e734651a900eaa7ef038a5a7b
refs/heads/master
2021-01-21T03:38:13.267514
2014-01-23T16:22:47
2014-01-23T16:22:47
null
0
0
null
null
null
null
UTF-8
Python
false
false
5,935
py
# -*- coding:utf-8 -*- import os.path from jinja2 import FileSystemLoader from jinja2.environment import Environment from crotal.models.posts import Post from crotal.models.pages import Page from crotal.models.categories import Category from crotal.plugins.markdown.jinja_markdown import MarkdownExtension private_dir =...
[ "dinever@live.cn" ]
dinever@live.cn
29f900d91f5760cc2455ffec06f98e07ffd59474
cf3a530ca85919800a1a67e0481972a2d1dc16a4
/Part 8 - Deep Learning/Volume 2 - Unsupervised Deep Learning/Part 6 - AutoEncoders (AE)/AE.py
b7d0f4fe15682d02eff89d796bb3cc90ecb7ccd9
[]
no_license
KaanHanGunay/Py_ML
9d721dc8dcf865bd74c7b1616064a93cc637239a
d2a5eb876f4f24d047813e2f768311a968c2e6dc
refs/heads/master
2021-09-27T20:35:46.338717
2018-11-11T19:55:19
2018-11-11T19:55:19
null
0
0
null
null
null
null
UTF-8
Python
false
false
3,662
py
# Autoencoders # Importinf the libraries import numpy as np import pandas as pd import torch import torch.nn as nn import torch.nn.parallel import torch.optim as optim import torch.utils.data from torch.autograd import Variable # Importing the dataset movies = pd.read_csv('ml-1m/movies.dat', sep = '::', header = Non...
[ "kaangunay16@gmail.com" ]
kaangunay16@gmail.com
c91a8508d1e277fc17184ad763b0d412c0fdc2b8
7d13cfda2f6804f119e0dc2da688cc8212af3cc7
/codes/predict_NN.py
2c08e9ceeca454c594411b70414f1eb887528cd7
[]
no_license
zhengyuan-liu/Twitter-Mood-Detection-and-Prediction
bba1bc45bd943d9251d4a42af2a7b3ada4286572
e7e5d5402407e7391c1b04d20888baec9096d525
refs/heads/master
2021-04-03T08:14:29.890036
2018-03-16T07:11:13
2018-03-16T07:11:13
124,836,302
6
2
null
null
null
null
UTF-8
Python
false
false
2,754
py
# -*- coding: utf-8 -*- """ Created on Mon Dec 04 18:59:11 2017 @author: x1310 """ import csv import numpy as np import pandas as pd from sklearn.utils import shuffle def sigmoid(x): return 1/(1+np.exp(-x)) # Apply Z-score Standardization to the data and return the standardized data def z_score(d...
[ "liuzhengyuan1995@gmail.com" ]
liuzhengyuan1995@gmail.com
fa6038bb9ebd4f86443a72c63cef5659417085ca
e1d3233af9a37e4f961acd571bd309e209e579ae
/manager/migrations/0001_initial.py
8c35a9ca258596e5eaa493829ff8ac9aa7703300
[]
no_license
AkashUR/DesktopManager
1e11b510b474e7c8d819a6f7617919a0af42ff83
0458b01781c083e1889a1db5f85685e1d50edcd1
refs/heads/master
2020-05-24T02:27:12.849967
2019-05-16T15:39:36
2019-05-16T15:39:36
187,054,312
0
0
null
null
null
null
UTF-8
Python
false
false
1,296
py
# Generated by Django 2.0.2 on 2019-02-17 13:15 from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): initial = True dependencies = [ ] operations = [ migrations.CreateModel( name='Log', fiel...
[ "noreply@github.com" ]
AkashUR.noreply@github.com
d2baddf93bb68ce3f48966469287c24a475347dd
512f28b81dc8651ade4963adc4bb1f06981e0091
/NodeAdv/node_modules/uws/build/config.gypi
9b4897b27ebc263409d4d720c9594096de917826
[ "Zlib" ]
permissive
praveenax/LearnLab
6a9ebd2170fb5d68524d708570ed2353a6cdf0bc
2fee44e8664ab022200bb561bb26275782e9a128
refs/heads/master
2023-01-05T18:51:55.209628
2021-08-15T08:30:05
2021-08-15T08:30:05
113,063,558
1
0
null
2023-01-03T19:15:44
2017-12-04T15:59:58
XSLT
UTF-8
Python
false
false
4,355
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, "debug_devtools": "node", "force_dynamic_crt": 0, "host_arch...
[ "xav.axp@gmail.com" ]
xav.axp@gmail.com
7c912c080ce213764f96f6a8af2955e094dec0fc
01a9b51398f347cb774d76b65b440bf29c5f14c1
/algorithm/longest_panlindromic_substring.py
20dd63b73d321839911d238e65bfaf4ad98c50c2
[]
no_license
luabijam/arts
dc3b646bbabbbb2dc9170cc74d77c9f957906925
d9489ff4c42b0d97164223b602262be09bd5db81
refs/heads/master
2021-09-08T16:14:13.687766
2021-08-27T15:29:47
2021-08-27T15:29:47
137,713,695
0
0
null
null
null
null
UTF-8
Python
false
false
1,115
py
#coding:utf-8 class Solution: def longestPalindrome(self, s): """ :type s: str :rtype: int """ c = {} pos = [] maxCount = 0 ff = '' for i,ss in enumerate(s): if ss not in c.keys(): c[ss] = [i] else: ...
[ "zxwecat@163.com" ]
zxwecat@163.com
97fa84c39973c42abf1342a2dade067e2cc99e5c
05480da284a48410c9b4d3f3a90f50d39dd983d8
/solutions/practice/rps_randomnumber.py
90e330a7ef2edbf7c1cfdb1ae15a07aa1155dc47
[ "MIT" ]
permissive
mrparkonline/py_conditionals
ab88ebb951eb871a50cde33808ecb1b61c6c9cf4
d9420ec8c9a69689d8a87b4232db288d620b22bb
refs/heads/master
2022-12-26T14:26:45.491463
2020-10-06T20:48:35
2020-10-06T20:48:35
294,415,619
0
0
null
null
null
null
UTF-8
Python
false
false
836
py
# RPS game with random numbers # import from random import randint # input print('Welcome to RPS game!!') player_choice = int(input('Enter your choice (0 - Rock | 1 - Scissors | 2 - Paper): ')) # processing & output cpu_choice = randint(0,2) if cpu_choice == 0: print('CPU chose Rock') elif cpu_choice == 1: p...
[ "mrparkonline@gmail.com" ]
mrparkonline@gmail.com
7d7c54c48ac7b4204a4dcf6d1930095c8a3cac28
b20c72f0bc5c71cb262259874a1a0d583d413a9e
/100+ Exercises course/002.py
e8f18bd0aa02b14e4598e7b01932cd437881004f
[]
no_license
Kacyk27/python-unittest-learning
f40d5748322a3c94e44330799f997f6450bb2cbd
bdc4d8cec38b306e53bb98e853bb8373d0328828
refs/heads/main
2023-08-12T07:18:13.481355
2021-09-23T00:09:23
2021-09-23T00:09:23
402,567,684
0
1
null
null
null
null
UTF-8
Python
false
false
96
py
countries = ['POL', 'ENG', 'GER', 'USA', 'ITA'] is_canada = 'CAN' in countries assert is_canada
[ "dudek.kacper2797@gmail.com" ]
dudek.kacper2797@gmail.com
6e4d047048b44a9f53560676832db0f6ee3dff43
dc6bf406f1fe5db2017ddcff0211f7c5252a27c0
/cart/views.py
ecdd6a57361d0977bc7a5b13a07915b67261aa9e
[ "MIT" ]
permissive
deeksonparlma/kibandaski
1ac8dc4a39fc13a15b28a1139ea8d8f723f34d05
fc20c698ba78c8e9929dcc5e3bca5759cfd103d2
refs/heads/master
2020-04-26T12:32:15.674177
2018-03-26T18:33:35
2018-03-26T18:33:35
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,462
py
from django.shortcuts import render,redirect,get_object_or_404 from django.views.decorators.http import require_POST from django.contrib.auth.decorators import login_required from food.models import Food from .cart import cart from .forms import CartAddProductForm @require_POST def cart_add(request, food_id): Cart...
[ "vicky.mutai96@gmail.com" ]
vicky.mutai96@gmail.com
bfa12f99f26a1804bedae8e86cc34726f79f9e1f
822da89b2fdf2bc0f31d6018aad8cfec24fb9d7b
/experiment/migrations/0002_auto_20170109_1133.py
c218f587c1721b06ff95a25a64712bc1baff5de7
[ "MIT" ]
permissive
piotrb5e3/1023alternative-backend
daef41f68c9ee3ff4e0b13620339cc975b08a1bf
3a3882a906ae17d9d670d600d68063e4a9ea7102
refs/heads/master
2020-06-21T17:55:05.021801
2017-01-23T23:05:23
2017-01-23T23:05:23
74,777,759
0
0
null
null
null
null
UTF-8
Python
false
false
755
py
# -*- coding: utf-8 -*- # Generated by Django 1.10.3 on 2017-01-09 11:33 from __future__ import unicode_literals import django.core.validators from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('experiment', '0001_initial'), ] operations = [ ...
[ "piotrb5e3@gmail.com" ]
piotrb5e3@gmail.com
bee576efdbcfc4d5518a173f386250f5a0397bf8
2738194fbd564439a164f323f50b33db50923dfa
/src/github.com/nats-io/asyncio-nats-streaming/examples/queue_group.py
ac12444a6fccf371c317272af89c6b3828dac463
[ "MIT" ]
permissive
asialiugf/gott
dbb581de78010f70b1681f5fdd3457ac4a01410d
45ba35fbae6af98138661532951336ce8ac5088c
refs/heads/master
2022-12-17T01:56:58.815789
2017-12-22T01:51:40
2017-12-22T01:51:40
112,195,086
0
0
null
2022-12-08T00:42:00
2017-11-27T12:43:43
Go
UTF-8
Python
false
false
1,450
py
# Copyright 2017 Apcera Inc. All rights reserved. import asyncio from nats.aio.client import Client as NATS from stan.aio.client import Client as STAN async def run(loop): nc1 = NATS() sc1 = STAN() await nc1.connect(io_loop=loop) await sc1.connect("test-cluster", "client-1", nats=nc1) nc2 = NATS(...
[ "asialiugf@sina.com" ]
asialiugf@sina.com
5360842703c97b192c0c2e2080f0040fd5ca258f
538dc734652c9e975eb70472a92af9e80da87afe
/netfpga.py
ce35405e4554196ad6c18789572f12a61992766d
[ "MIT" ]
permissive
BillWSY/netfpga
5d85b7da1fe261d3c3cf0d6ebf2b36e455f39667
a49edd387b760cee7d3ee623a682a7c155df165b
refs/heads/master
2020-05-04T21:07:32.607377
2013-02-03T08:38:49
2013-02-03T08:38:49
null
0
0
null
null
null
null
UTF-8
Python
false
false
9,883
py
#!/usr/bin/env python #netfpga.py - A simple web.py application allow remote debugging on Altera FPGA #Project NetFPGA created by Shengye Wang, Fudan University 01/25/2013 #Inspired by Prof. Michael Taylor, UC San Diego #See http://shengye.me for more information #This file may be used or modified with no restriction...
[ "wang@shengye.me" ]
wang@shengye.me
a300a53801d6563a292adcaecedf28904dce9352
81cdb096c3d77b8c661d1d8642fe0249d39d6a53
/FindArt/Web App/contacts/admin.py
a5919f43920fbe67f32a5ddcbed7777d52b4731c
[]
no_license
KinGGniK/Find-Art
a5e5f0b11508e393c1e50614bf6db82d4e760e88
d808205c8a191dd9635b7d9bf1b1d927b6df508f
refs/heads/master
2020-04-24T06:20:49.938811
2019-02-20T23:19:28
2019-02-20T23:19:28
171,761,870
0
0
null
null
null
null
UTF-8
Python
false
false
351
py
from django.contrib import admin from .models import Contact # Register your models here. class ContactAdmin(admin.ModelAdmin): list_display = ('id', 'name', 'piece', 'email', 'contact_date') list_display_links = ('id', 'name') search_fields = ('name', 'email', 'piece') list_per_page = 25 admin.site....
[ "ivensky360@gmail.com" ]
ivensky360@gmail.com
b0fb8943da9fd057e6dc3b232caa8a74154ef40f
7264dde37e2cab4c5a73f5d814249bee4a58cffb
/packages/conan/recipes/cmake/test_package/conanfile.py
5154eb9e5c445edac433fd662672f56a02634aa9
[ "Apache-2.0", "MIT" ]
permissive
aloysbaillet/aswf-docker
f6410171f814d4bfb1b976326f2f01a1e7d6ed16
5dc8fc7ec9fde634aa3b3608903da16670230c98
refs/heads/master
2023-01-28T03:27:02.830582
2023-01-21T03:18:50
2023-01-21T06:50:20
191,636,815
3
0
Apache-2.0
2019-07-30T15:51:48
2019-06-12T20:04:10
Shell
UTF-8
Python
false
false
705
py
import os from six import StringIO from conans import ConanFile, tools class TestPackageConan(ConanFile): settings = "os" def test(self): if not tools.cross_building(self.settings): output = StringIO() self.run("cmake --version", output=output, run_environment=True) ...
[ "aloys.baillet+github@gmail.com" ]
aloys.baillet+github@gmail.com
49e54172dde1f0d80e80ad8549712d2fd174f679
e8326dbcca8b2c2b4bbfd66cde90dc218fcd585f
/Occupancy_Grid/condensed_OG.py
9cb61681b4d6fd44139e93459802600e50feed07
[]
no_license
knickels/OLDNickelsLab
327b70969f65054fd1a3a6819fe0c895a290f660
15e6b39e8c99daa3b62b04bd73ce0b910760de13
refs/heads/master
2020-04-14T14:27:15.337951
2015-03-03T16:34:22
2015-03-03T16:34:22
21,049,447
1
1
null
null
null
null
UTF-8
Python
false
false
3,009
py
# Author: Pablo Tarquino (building off of Eric Kang's work) # First "real-time" mapping program. # Notes: It needs external program to operate robot (playerv, etc.) # Improvement: Make faster response time # Improvement: Make continuous plotting, not just when it changes direction import sys import os sys.pa...
[ "rgreen1@trinity.edu" ]
rgreen1@trinity.edu
dd633dbe664bdd17e365d4b9ffac79bd43e6d18a
75303fe036561248f5e938d654e4c6e901d61c25
/Model For Time Series data/Keras/m7_lstm_keras.py
25bf7f982b05f1c8cc6a482f9205f569b5f63063
[]
no_license
nnguyen1602/DeepLearning-Project
8523255f993605fd7c9ff1794022930a835e0087
53a762a25a9ebc14d9fe0ce48e5377a5d8d700ce
refs/heads/master
2021-08-20T08:50:27.164055
2017-11-28T16:58:27
2017-11-28T16:58:27
112,188,032
0
0
null
null
null
null
UTF-8
Python
false
false
2,585
py
from keras.models import Sequential from keras.layers import LSTM, Dense import numpy as np import pandas as pd import matplotlib.pyplot as plt from sklearn.cross_validation import train_test_split ######################################################################################################################### ...
[ "ngochieu1993@gmail.com" ]
ngochieu1993@gmail.com
30d31003bf6cebc8d04d6661918a3d77df66010b
8515c78aa6d012b24ee7e517be669ef7d55f1658
/addons/website/controllers/main.py
25c0b5d94ea0d738881580991a5551fe703b7d8d
[]
no_license
rmenendezdaw/Onewave-Odoo12
fe8fe9b2b85a223f89a5730a8ad2e6d39a9f7587
348e989a41519b02d75c08743cee7f79e2d1d2b6
refs/heads/master
2023-05-02T00:13:21.682531
2021-05-21T19:11:14
2021-05-21T19:11:14
369,597,696
0
0
null
null
null
null
UTF-8
Python
false
false
20,566
py
# -*- coding: utf-8 -*- # Part of Odoo. See LICENSE file for full copyright and licensing details. import base64 import datetime import json import os import logging import requests import werkzeug.utils import werkzeug.wrappers from itertools import islice from xml.etree import ElementTree as ET import odoo from od...
[ "rmenendeziestacio@gmail.com" ]
rmenendeziestacio@gmail.com
34c3f2f621ae4331d272cf8ba526b66e16182943
afba523627573c3d9402c34a0538cbc50a1fc1e4
/flask_eyetraking/audio_processing.py
59319cf56f2ab5a68433a3e3620b570091c80196
[]
no_license
yy-oung/test
24e62e11d0298f26f130ec8fb6d653c36685d82f
ea64a56aa706ccf4b6cee44add24d82ab1d1cd75
refs/heads/main
2023-08-12T16:05:59.996140
2021-10-16T09:20:00
2021-10-16T09:20:00
364,529,022
0
0
null
null
null
null
UTF-8
Python
false
false
363
py
import pyaudio FORMAT = pyaudio.paInt16 CHANNELS = 1 RATE = 44100 CHUNK = 1024 audio = pyaudio.PyAudio() def record(): # start Recording stream = audio.open(format=FORMAT, channels=CHANNELS, rate=RATE, input=True, frames_per_buffer=CHUNK) # print "recording..." ...
[ "49151523+yy-oung@users.noreply.github.com" ]
49151523+yy-oung@users.noreply.github.com
6247a271ea7143389db5f30cc399967974103431
7cc67e3e7b1e2b431922a5a9cac9662ffa7a89e8
/test_lt_LT.py
20c4e14bd9e66573749fa81689a28dd9fff15a44
[]
no_license
lv-gh/numbertext-lt
e3912590f5f6d6f0e3de4beb84da4bec55f58d32
fb9f6539f7ca454407fc16ca31854f040f6f4adf
refs/heads/master
2021-01-09T20:32:20.054235
2016-06-03T17:11:16
2016-06-03T17:11:16
60,359,377
0
0
null
null
null
null
UTF-8
Python
false
false
11,937
py
# -*- coding: utf-8 -*- from __future__ import unicode_literals import os, sys, re import timeit import random import doctest import argparse from threading import Timer, RLock from cachetools import TTLCache, cached root = os.path.dirname(__file__) sys.path.append(os.path.join(root, 'org', 'Numbertext')) import Sor...
[ "laimonas.vebra@gmail.com" ]
laimonas.vebra@gmail.com
3ef68c4e00519dc36a8f040be797b3099fb9a65c
e2b70cdf9fd24f9a002081a4fb3a1224cc624190
/Face_Detection/detect_all_dlib.py
fe403606333683c4e5325701b4ef41fbeffece58
[ "MIT" ]
permissive
Tubbz-alt/Image-Restoration
059a3cc96e55cf78b21272cbe86de0b52a06cd19
55b681c2e366a300d3e96cf7c734b07225d7d3df
refs/heads/main
2023-01-24T03:17:39.827973
2020-12-12T09:00:29
2020-12-12T09:00:29
321,444,051
1
0
MIT
2020-12-14T18:56:31
2020-12-14T18:56:30
null
UTF-8
Python
false
false
5,307
py
# Copyright (c) Microsoft Corporation. # Licensed under the MIT License. import torch import numpy as np import skimage.io as io # from FaceSDK.face_sdk import FaceDetection # from face_sdk import FaceDetection import matplotlib.pyplot as plt from matplotlib.patches import Rectangle from skimage.transform import Simi...
[ "41532584+yasamin-niknam@users.noreply.github.com" ]
41532584+yasamin-niknam@users.noreply.github.com
7c988bb45e59202d421c2c4a2033c76c06732832
cbff9a1f0a1d7221b4bbaf2e02bb90004fac3bf9
/blog/models.py
f88fb31a34875c6e82239618746e56c20c7437f0
[]
no_license
liumaoshen/liumaoshenblog
eb94a5f579b7950af781f292a8df1f33a8a4fc8b
f34ee4f5c420f9d4305972803b6693554d9225dd
refs/heads/master
2021-04-24T21:39:35.033999
2018-01-10T09:34:56
2018-01-10T09:34:56
116,937,638
0
0
null
null
null
null
UTF-8
Python
false
false
1,458
py
from django.db import models from django.contrib.auth.models import User from django.urls import reverse from django.utils.six import python_2_unicode_compatible # Create your models here. @python_2_unicode_compatible class Category(models.Model): name = models.CharField(max_length=100) def __str__(self): ...
[ "2449234611@qq.com" ]
2449234611@qq.com
ffd098afc7c7363e15f0181d9a02f89ec7709a69
a77802040fac0c1207902946f3a1e8a2d9a4fbd0
/examples/ccxt.pro/py/binance-reload-markets.py
50ad40b078a268a69c9fd85cc548d15e0af10bb8
[ "MIT" ]
permissive
ndubel/ccxt
6eef84cddc9ac42db2fd03b9eaa04befd59775e6
982a12b1ab0f02a11911bee8a0aba8ad4f35ded1
refs/heads/master
2023-07-29T15:45:37.941234
2022-04-05T10:26:05
2022-04-05T10:26:05
331,591,556
1
0
MIT
2021-01-21T10:24:16
2021-01-21T10:24:15
null
UTF-8
Python
false
false
1,360
py
import ccxtpro from asyncio import get_event_loop, gather print('CCXT Pro version', ccxtpro.__version__) async def watch_order_book(exchange, symbol): while True: try: orderbook = await exchange.watch_order_book(symbol) datetime = exchange.iso8601(exchange.milliseconds()) ...
[ "igor.kroitor@gmail.com" ]
igor.kroitor@gmail.com
552213ea699ee5c5dbeb98cc9cf8b5eaf76bed64
cf6646983a0088248acfc5dafefd847a350bac94
/posts/views/admin.py
0e677adb3fb805b838df242ecf343a7ae63fbd7b
[ "MIT" ]
permissive
Toxblh/vas3k.club
a370239e95b496f234cd6dd018881f1dcfa78d69
97fa3c815b25a6af789ba04892627f6c6c822113
refs/heads/master
2022-11-09T01:43:56.581340
2020-07-05T18:51:21
2020-07-05T18:51:21
277,580,310
1
0
MIT
2020-07-06T15:30:57
2020-07-06T15:30:56
null
UTF-8
Python
false
false
1,896
py
from django.shortcuts import get_object_or_404, render from auth.helpers import auth_required, moderator_role_required from bot.common import render_html_message from notifications.telegram.posts import announce_in_club_channel from posts.admin import do_post_admin_actions from posts.forms.admin import PostAdminForm, ...
[ "me@vas3k.ru" ]
me@vas3k.ru
8afb565e8c088838ac3d5b09ef30ba77d098a713
1bd0fe85d2d417c4a16940e32ef1b8abe29d95f4
/echobot/models.py
f2817124291b05ca3bdf8c216bcbdb250430fa81
[]
no_license
amosricky/LineBot
e68ab7df13d4082d8001db55223025794b41cc73
50d68c13cbb76176879c7399319fbb528b7dbcbe
refs/heads/master
2022-12-08T10:13:18.804419
2018-03-12T10:28:21
2018-03-12T10:28:21
124,871,843
0
0
null
2022-12-07T23:47:26
2018-03-12T10:25:14
Python
UTF-8
Python
false
false
901
py
from django.db import models # Create your models here. class user(models.Model): userID = models.CharField(max_length=100) TimeStamp = models.CharField(max_length=100) def __unicode__(self): return self.userID class goods(models.Model): goodsID = models.CharField(max_length=100) title = ...
[ "amosricky95@gmail.com" ]
amosricky95@gmail.com
ea01353fee3883e777cd572d6adebbe811a1ae98
8a61f0803e9d18772d867857a5a2a15e9549e6f5
/pnu/urls.py
6434f255de0516ae85606ecbb65c5bbecf72cc79
[]
no_license
hjlee73/pnu-django-201904
94504935bf5bdb511d7b99c138e3ea3d9ac5f758
6e39a9b63525a8312968cabcc190f8661e1aa9e3
refs/heads/master
2020-05-20T18:19:55.389915
2019-04-12T08:22:12
2019-04-12T08:22:12
null
0
0
null
null
null
null
UTF-8
Python
false
false
349
py
from django.contrib import admin from django.urls import include, path # FIXME: 이 코드는 RedirectView에 의해서 제거될 것입니다. from django.shortcuts import redirect def root(request): return redirect("/shop/") urlpatterns = [ path('admin/', admin.site.urls), path('shop/', include('shop.urls')), path('', root), ]
[ "me@askcompany.kr" ]
me@askcompany.kr
859298615eca58d27ee301fcdc7cc9d54d5cdcf7
a964352de25046b629ed16b3df297f628ddb3646
/dataflame/version.py
c623cf496f5309e7eb108718c810f9b5b49e1e9a
[ "Apache-2.0" ]
permissive
shayanfazeli/dataflame
d72b1341b813e8a6888dec80b307eb5c4c6dcbdb
a7af906288b6303fafe437f797c6afffa9079b47
refs/heads/master
2022-07-17T22:29:49.487122
2019-11-21T02:54:45
2019-11-21T02:54:45
204,369,401
0
0
Apache-2.0
2022-06-21T22:35:27
2019-08-26T01:02:27
Python
UTF-8
Python
false
false
154
py
_MAJOR = "1" _MINOR = "0" _REVISION = "6-beta" VERSION_SHORT = "{0}.{1}".format(_MAJOR, _MINOR) VERSION = "{0}.{1}.{2}".format(_MAJOR, _MINOR, _REVISION)
[ "shayan@cs.ucla.edu" ]
shayan@cs.ucla.edu
c57ff123c590a2cf75240e12400e1fc1736c0cc0
a3df58165b664dcf114e64dd16688ec4f10e9243
/main2.py
54a3122c74a624418d01868d07cf95e8a0408547
[]
no_license
nguyentannguyen166/ntn1904
a0be1ea7a4d645ba149f343ae0a30ed4a8f670ce
e1502ca5f482ec8c3d61e8f21b0ff057131bb8d9
refs/heads/master
2023-07-27T14:32:51.018581
2021-09-11T11:59:43
2021-09-11T11:59:43
405,363,206
0
0
null
null
null
null
UTF-8
Python
false
false
257
py
import math a= int(input("nhap a")); del songuyento(a): b=0; for i in range(1,a+1): if a%i == 0: b=b+1 if b==2: return("a la so nguyen to"); return("a ko là so nguyen to"); print(songuyento(a))
[ "ntn19dubai@gmail.com" ]
ntn19dubai@gmail.com
080cec501022e82e07a5355b6dcecf7d4acce296
f9ca6bd7c9e7b0ff2f9d4039213a81859b7c5179
/clientlist/tests/test_case_clientlist.py
57e68c24462fe91a6677766828ac86729567652c
[]
no_license
opherdonchin/liyapilates
f1a1dfd9ecf905da7c6ed2ad20a4003b13f4d98d
97009b629db974ee18cf1aeeaf3687ebf0e6704f
refs/heads/master
2022-05-29T13:45:04.800437
2019-08-03T14:27:02
2019-08-03T14:27:02
187,392,106
0
0
null
2022-04-22T21:36:59
2019-05-18T18:25:50
Python
UTF-8
Python
false
false
2,944
py
from datetime import timedelta from django.utils import timezone from django.test import TestCase from ..models import Client, Card, CardType, Lesson, LessonType from django.test.utils import setup_test_environment class ClientListTestCase(TestCase): client_name1 = 'Sarah Shadlock' client_slug1 = 'sarah-shadlo...
[ "opher.donchin@gmail.com" ]
opher.donchin@gmail.com
3d36d8542ca387319e47bd61e32eb8a71c9f7a09
44d7c13c0b09b1433a16f2cf54df761a326630b9
/predict_w2v.py
7f0a3fe46be544186293cd8da95b65fd82c0cd50
[]
no_license
gyy8426/MSRNN
5f9abed5a6432bc9f575797fb54a5d4ff78bd874
2b91d8b647a4cca28bba28b26d9b88c69e6eac77
refs/heads/master
2022-06-18T23:17:39.494287
2022-06-07T15:05:30
2022-06-07T15:05:30
97,574,787
4
1
null
null
null
null
UTF-8
Python
false
false
19,954
py
from utils import * import copy import numpy as np class Predict(object): def build_sampler(self, layers, tparams,Wemb, options, use_noise, trng): debug_print = [] #debug_print.append( theano.printing.Print('input_p.shapa')(input_p.shape)) # context: #annotations x dim ct...
[ "842651507@qq.com" ]
842651507@qq.com
329e5754ce0f88cbc105d4a0378d750583a6060c
bd85070753c0a8dd4bce46eaa06fd42eef6197de
/lists/views.py
bc0babbdb1cd2ee7ed0d7d2ff683e8a4a38ade85
[]
no_license
porlin72/superlists
23412e73834ea3935e4ea451d2c0c2e922779b83
40ab46cb9c80dc3bdcf27f97a4e3e92ba212dc22
refs/heads/master
2021-01-20T01:57:10.358751
2014-01-15T03:00:40
2014-01-15T03:00:40
null
0
0
null
null
null
null
UTF-8
Python
false
false
931
py
from django.shortcuts import redirect, render from lists.models import Item, List # Create your views here. def home_page(request): if request.method == 'POST': Item.objects.create(text=request.POST['item_text']) # return HttpResponse(request.POST['item_text']) return redirect('/lists/%d/'...
[ "porlin72@yahoo.com" ]
porlin72@yahoo.com
1557177234d2e73621871b8266e14969956cd97f
deab99a317f0d755a9ca37c323ce1150d334bae4
/app/models/state_history.py
4c84b78f5bf1733ea6d71db7d49ac0798947260b
[ "BSD-3-Clause" ]
permissive
jcarlosneto/crwiz
f9d78666e362c7f6b14b17c90519b578af9a9f7a
1e0c4b28b41d6956df875529dba90befeaf36525
refs/heads/master
2022-04-07T14:37:22.035701
2020-03-05T12:15:06
2020-03-05T12:15:06
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,473
py
import bson from .. import db from . import Base from .log import Log from .user import get_user_messages class StateHistory(Base): __tablename__ = 'StateHistory' user_id = db.Column(db.Integer, db.ForeignKey("User.id"), nullable=False) previous_state = db.Column(db.String(100), nullable=False) utterance = d...
[ "jchiyah@outlook.com" ]
jchiyah@outlook.com
93009620e8f11f1e383f6d6968e9ff60e50b3ac9
0af63b552505a9e02a70b9427a8895555ec832d1
/3.Clustering/Clustering on Dataset 2/Dia_Clust_dataset2.py
fb2cc153812c7b2e0e1f6c622c43a7aed765e1f5
[]
no_license
avinashreddy21/Data-Mining
532a90109e87998f6361d95598cfde3166fe0cbe
96df603f8e3ac441c88c4c64912e9f13b933489c
refs/heads/main
2023-03-02T15:20:00.451913
2021-02-11T05:09:53
2021-02-11T05:09:53
337,878,648
0
0
null
null
null
null
UTF-8
Python
false
false
3,449
py
import numpy as np import pandas as pd import matplotlib.pyplot as plt import math from scipy.spatial.distance import cosine np.seterr(divide='ignore', invalid='ignore') # calculating Euclidean Distance def eucledian(a, b): sum = 0 for i in range(len(a)): sum += math.pow(a[i] - b[i], 2) return mat...
[ "noreply@github.com" ]
avinashreddy21.noreply@github.com
42829685c7aeee0859301a0b72e523061be7c28b
c2b5f4907acba44e3bb03211380d77eb2f766f80
/Chapter_12/commandLineEmail.py
e29888c6a4958324b74ae9bc0da4cd22a96706c0
[]
no_license
CheeShyan96/atbs2-projects
1c265f123e390175557aa623da4577969d4a40a4
8bed18bf953f8f5584d0a71816eb7a9bd0e55c5f
refs/heads/master
2023-03-17T18:01:39.139724
2020-02-02T17:13:43
2020-02-02T17:13:43
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,460
py
''' Chapter 12 Web Scraping Command Line Emailer Write a program that takes an email address and string of text on the command line and then, using selenium, logs in to your email account and sends an email of the string to the provided address. (You might want to set up a separate email account for this program.) Th...
[ "git@sebastian-drewke.de" ]
git@sebastian-drewke.de
8b9a2b5796faf71dffc63f756f7e86a683e06f02
706d5ff4707793a225f41c469f19a4f1891078da
/tianlang_yingshi/Spider.py
f14757f1dbc0586922085fefef2a2dd6acbc548d
[]
no_license
dcc668/PyDemo1.2
eb5f13a19343e4d9d82fdd7c54f6f45622c5c00e
f883ca1d9bc04673beb9b40d889da74d2aaa5095
refs/heads/master
2020-04-15T02:23:16.000157
2019-01-30T23:57:41
2019-01-30T23:57:41
164,312,703
1
0
null
null
null
null
UTF-8
Python
false
false
2,987
py
#! /usr/bin/env python #ecoding=utf-8 from utils.http_utils import HttpUtils from selenium.webdriver.support.wait import WebDriverWait from selenium.webdriver.support import expected_conditions as EC from selenium.webdriver.common.by import By class TianLang(): def __init__(self): self.index_href='http://...
[ "dcc668@163.com" ]
dcc668@163.com
8db87241f8729075799cebef19640aeff7c95d7a
7b909395e809f1337cc305818e15d8d6cc01a0db
/copy2.py
8693086aa6177feab7d8fec197d279d8d3aebf0b
[]
no_license
sriharsha0806/CarND-Advanced-Lane-Lines
99d0ccbdd1f7d1d29d1f07412e12ca50536867d8
001cb7100a146cfd324239a98c5ab7f5d93d5315
refs/heads/master
2020-05-21T05:03:20.503976
2017-04-16T15:08:18
2017-04-16T15:08:18
84,573,964
0
0
null
2017-03-10T15:31:39
2017-03-10T15:31:39
null
UTF-8
Python
false
false
3,391
py
import numpy as np import cv2 class(tracker): # When starting a new instance please be sure to specify all unassigned variables def __init__(self, Mywindow_width, Mywindow_height, Mymargin, My_ym = 1, My_xm = 1, Mysmooth_factor = 15): # list that stores all the past (left, right) center set values used for smooth...
[ "noreply@github.com" ]
sriharsha0806.noreply@github.com
87aeeb6fab1174bc70f1f828ffefc4e813138f52
7546e55f860b7701cdeae4f965c40a6a8f3378c4
/main/forms.py
237ee40f112dddc4350a7d118ebd16bbbaf21ec8
[]
no_license
ave-78/django_db
7503c6e6b86b6eb2e054bf300e9aec16575d071d
1574c14b217bc641d4072f883275bf6d637dff46
refs/heads/master
2020-07-12T09:07:48.528959
2019-08-27T19:34:31
2019-08-27T19:34:31
204,775,199
0
0
null
null
null
null
UTF-8
Python
false
false
619
py
from django import forms class Form1(forms.Form): name = forms.CharField( min_length=1, max_length=20, label='Имя', initial='Noname', help_text='Введите свое имя') age = forms.IntegerField( required=False, min_value=1, max_value=120, label='Возраст', initial='18', help_text='Введите свой возрас...
[ "mialeter@gmail.com" ]
mialeter@gmail.com
285062a75cfa3493ea2d508bdbf90d09d900d8c7
18d83768d178551cfbf182fad9a1ed1dce449598
/blue_relay_poc/app/db_tables.py
2330b4cd6d36bc90a5a6297e0ac001fbc99cdaf6
[]
no_license
duhicomp/workspace
9a5d8da63239df1a284ea039d0c6d93455eaff7e
633b888d7de868ddd685a6a19adee0ec7c8080cb
refs/heads/master
2020-04-15T16:32:16.372712
2016-02-24T15:59:12
2016-02-24T15:59:12
34,009,108
0
0
null
null
null
null
UTF-8
Python
false
false
443
py
from app import app, db with app.app_context(): print db.reflect() # print db.metadata.schema # print db.metadata.tables ResDesc = db.metadata.tables['res_desc'] # print dir(ResTyp) # res_select = ResTyp.select().where(ResTyp.columns.ID == 0) # print dir(res_select) # result = db.sessi...
[ "m.makhzomi@gmail.com" ]
m.makhzomi@gmail.com
ab672d9af755c205e647fa7d7e758d8fadc62a4f
b1f991ab088c5447fbdd7affa73e285d827ee5f1
/env/bin/range-detector
8c70fdbc325a0c88c3b15c854289157402981935
[]
no_license
darvid7/fb-hackerdoggos-voice-backend
53133b9a20f19599d34fb613e8de07a432d7e86d
5dd171648187adcb06e61796465ccba10c5e4e39
refs/heads/master
2021-01-20T13:02:51.134598
2017-05-08T07:53:59
2017-05-08T07:53:59
90,436,899
2
0
null
null
null
null
UTF-8
Python
false
false
2,591
#!/Users/David/Desktop/FB-Hackathon/backend/fb-hackerdoggos-voice-backend/env/bin/python # -*- coding: utf-8 -*- # USAGE: You need to specify a filter and "only one" image source # # (python) range-detector --filter RGB --image /path/to/image.png # or # (python) range-detector --filter HSV --webcam import cv2 import ...
[ "bvdarvid@gmail.com" ]
bvdarvid@gmail.com
d41d5aa5e426cc07f5afb1c5003970a387e889ba
ab3aba678ae49b744a5a97b4d87a737678ec160d
/previous_scripts/onerun2.py
9e932baaa4325b04faad0cc7d777245b7dd3d61f
[]
no_license
wolfgangouille/pytorch_traderAI
4acff9493f2ee20ebb343b4727d49f1593a26318
1806e0a600e1072363c086606aea1d0cb3507bc9
refs/heads/master
2023-08-24T17:10:05.327932
2021-10-29T21:41:21
2021-10-29T21:41:21
361,022,710
0
0
null
null
null
null
UTF-8
Python
false
false
1,026
py
less=torch.zeros(duration,1,ag1.inputlength+ag1.hiddenlength) times=[] sizes=[] lesr=[] lesa=[] ag1.EUR=100; ag1.XBT=0; ag1.value=100; ag1.meanreward=0; ag1.iterations=0; ag1.record_on=0; ag1.lasth=torch.zeros(1,1,ag1.hiddenlength) ag1.epsilon=0.25 Nbatch=150 Lbatch=20 duration=ys.__len__()-Ilength-1 for k in range...
[ "wolfgangouille@aol.com" ]
wolfgangouille@aol.com
899ddad0ccaa03f1cccb2693cbfe0916db0a2112
cd781c114deb0ee56fcd8e35df038397ebf8dc09
/Classes and Objects basics/Class.py
90dd512abd00251408ad11e23ac9c5e7d11cfc57
[]
no_license
GBoshnakov/SoftUni-Fund
4549446c3bb355ff74c14d6071d968bde1886de5
de9318caaf072a82a9be8c3dd4e74212b8edd79e
refs/heads/master
2023-06-06T04:56:14.951452
2021-06-30T21:50:44
2021-06-30T21:50:44
381,817,178
0
0
null
null
null
null
UTF-8
Python
false
false
695
py
class Class: __students_count = 22 def __init__(self, name): self.name = name self.students = [] self.grades = [] def add_student(self, name, grade): if Class.__students_count > len(self.students): self.students.append(name) self.grades.append(grade) ...
[ "boshnakov.g@gmail.com" ]
boshnakov.g@gmail.com
a15f74f8fcdbd7a574d08924d9208e099735d437
882e97d3392f11692d8cae815439cd2609c3b96b
/LinkedList/LList.py
538145e8024b237a941429ad93eafdf6221cf294
[]
no_license
springrolldippedinsoysauce/pythonshit
af0a48ee99838df35da4cdb9d1990ae41ccb07c4
340f9d9aab0f75914d3306694f73b821808702e2
refs/heads/master
2020-07-18T17:28:42.122560
2019-09-04T09:42:24
2019-09-04T09:42:24
206,284,550
0
0
null
null
null
null
UTF-8
Python
false
false
2,114
py
from LinkedList import ListNode class LinkedList: def __init__(self): self._head = None self._tail = None self._count = 0 def is_empty(self): empty = (self._head is None) return empty def insert_first(self, value): new_nd = ListNode.ListNode(...
[ "noreply@github.com" ]
springrolldippedinsoysauce.noreply@github.com
2a584f9236deef0fff0a5aa9cb278ebbfd511473
1fcb004f2bc330a8e1b3b78317880d912b1c5be1
/scripts/build/build/targets.py
72e7496e4c6a6652eea06567c2048f98074bbe28
[ "Apache-2.0", "LicenseRef-scancode-unknown-license-reference" ]
permissive
nykh2010/connectedhomeip
09a5364ccbf696739fd3dc43f8a1ced321b2fcc7
f8d689b746f81c2a30d03da5b6a1f64f50f9f2e1
refs/heads/master
2023-08-15T22:42:19.625689
2021-10-10T18:02:20
2021-10-10T18:02:20
null
0
0
null
null
null
null
UTF-8
Python
false
false
5,810
py
# Copyright (c) 2021 Project CHIP Authors # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in ...
[ "noreply@github.com" ]
nykh2010.noreply@github.com
d322d5dc70bed899b520514e91c769f33bb18e3f
3889c3a64ad420da5a3a4e3f5e8e7439cadbe3bf
/猪脚饭_Baseline.py
b72014ac35ffa31456a67ca2e8fd98dcc028192e
[]
no_license
JasonCh17/Intrusion_Detection_20171220
6ddf276e030c90a0278310fa5dd92a7aad7cd899
b9743593c008741416169fad9dde98abc197effc
refs/heads/master
2021-08-31T05:59:09.861065
2017-12-20T13:22:44
2017-12-20T13:22:44
114,890,100
0
0
null
null
null
null
UTF-8
Python
false
false
10,213
py
# 读取数据 import time import pandas as pd #数据分析 import matplotlib.pyplot as plt import numpy as np #混淆矩阵 def plot_confusion_matrix(cm, classes, title='Confusion matrix', cmap=plt.cm.Blues): """ This function prints and plots the confusion matrix. """ impo...
[ "695534569@qq.com" ]
695534569@qq.com
7aae7f6a39a8d2e44b0dbcc836e11dc5b34293bd
7b8c5df8a4debb33f5a73f591dea6d64de986bc1
/TestPackage/GraphTest.py
f122ede58ba659e0f059571a7cbde974112f42f5
[]
no_license
YanisSong/ConsumerDataAnalyzing
456b36a48b7e570ed4a60da9d31886e3d89f1adc
08cd7884dbfbe134f0474b66b90ca4e1c80d0235
refs/heads/master
2021-04-18T22:22:22.590311
2018-03-29T06:00:14
2018-03-29T06:00:14
126,567,194
0
0
null
null
null
null
UTF-8
Python
false
false
410
py
import re import matplotlib.pyplot as plt import sys import xlrd as xlrd from xlwt import * from xlutils.copy import copy # x = [0, 1] # y = [0, 1] # plt.figure() # plt.plot(x, y) # plt.show() # f = "123" # price = re.findall(r"\d{2,3}", f) # print(int(price[0])) # # for i in range(10): # print(i) # p = input...
[ "iamsioa@163.com" ]
iamsioa@163.com
7d58317b6f2f3c90960acc903fb374e5632ffd0f
b97ce434b7889c402a8b939fe0ef1e8f117b2f68
/src/wizard/media/images.py
9a7328f3244904018467edee9acca56c1dd016b8
[ "BSD-3-Clause" ]
permissive
ODM2/ODM2StreamingDataLoader
164cf272450ada9c0edf2fbbab1db8bbf5e40697
711886167a068754efff6dfbd604e3e19e545253
refs/heads/master
2020-04-04T07:52:49.118152
2017-08-03T18:02:23
2017-08-03T18:02:23
20,116,035
2
0
null
2017-08-03T18:02:23
2014-05-23T22:30:50
Python
UTF-8
Python
false
false
23,592
py
#---------------------------------------------------------------------- # This file was generated by /Users/stephanie/DEV/StreamingDataLoader/src/wizard/media/img2py.py # from wx.lib.embeddedimage import PyEmbeddedImage blue_add = PyEmbeddedImage( "iVBORw0KGgoAAAANSUhEUgAAAQAAAAEACAMAAABrrFhUAAABblBMVEUAAAAwVrEwVr...
[ "stephanie.reeder@usu.edu" ]
stephanie.reeder@usu.edu
f7a8f67bd155343ccd8a3054bfd9525b0aefee87
1180ca70d6dc55afced0b1141c839a7cb94e30e2
/TS-Tempotron-DVS-python/modules/tempotron.py
0c046bceca2a8e21bbca9e2adcc40b17c5d2d210
[]
no_license
LuLu0616/NCRC-Realtime-Recognition
325c8799b7c867f9d98a96e447c8df54fecbef51
cf6fa5ed7b52cd4f4474c2b46b1ec1a28b0b524f
refs/heads/master
2021-01-25T22:11:51.046726
2020-03-06T08:25:08
2020-03-06T08:25:08
243,200,811
1
4
null
null
null
null
UTF-8
Python
false
false
6,555
py
# coding=utf-8 ''' @Author : Noah @Version : v1.0.0 @Date : 2020-02-27 21:06:34 @LastEditors: Please set LastEditors @LastEditTime: 2020-02-29 22:31:28 @FilePath : \WorkSpace\Local\Tempotron-python\modules\tempotron.py @CopyRight (c): 2019 NCRC, SCU. All rights reserv...
[ "noreply@github.com" ]
LuLu0616.noreply@github.com
fead7cadab30b14db5429d1711553a9327b5b85a
d192a6df01f81d576a32bdc5d00fc0c22a08686e
/qa/rpc-tests/fundrawtransaction-hd.py
5bb187dbbfe96e48a6ec22fb8164ebdb466e7d66
[ "MIT" ]
permissive
soom-4th-blockchain/soom-core
e477892419337c20727bae1724e580d7e74fc53f
7018e66445b9c156efb2c46dc4ea360cc61b1c0e
refs/heads/master
2020-03-25T04:37:24.648970
2019-01-10T05:17:12
2019-01-10T05:17:12
143,404,975
0
3
null
null
null
null
UTF-8
Python
false
false
25,446
py
#!/usr/bin/env python2 # Copyright (c) 2014-2015 The Bitcoin Core developers # Distributed under the MIT software license, see the accompanying # file COPYING or http://www.opensource.org/licenses/mit-license.php. from test_framework.test_framework import BitcoinTestFramework from test_framework.util import * # Creat...
[ "jhhong@soompay.net" ]
jhhong@soompay.net
13b12e44d58045c0dc4db3d6c78aeef89fbfa1c0
753228dcb67b00b410b4a1e894bc92781cf152d3
/test2.py
672cebda649954988446f294c1cb5c4a15c82efd
[]
no_license
milo7hao/GCN_Project
c8c94476425fffbed64d22d37e0301220a380ac2
1c59d404a186a512d58e105ac5340eee73afada1
refs/heads/master
2020-09-11T15:34:53.796896
2019-11-12T19:42:09
2019-11-12T19:42:09
null
0
0
null
null
null
null
UTF-8
Python
false
false
4,306
py
from transformers import BertTokenizer from pathlib import Path import torch from box import Box import pandas as pd import collections import os from tqdm import tqdm, trange import sys import random import numpy as np import apex from sklearn.model_selection import train_test_split import datetime from fast_bert...
[ "noreply@github.com" ]
milo7hao.noreply@github.com
2df22224aa226dc75cbe956bcad704c9efbeb719
d12b59b33df5c467abf081d48e043dac70cc5a9c
/uhd_restpy/testplatform/sessions/ixnetwork/globals/protocolstack/dhcpv6serverglobals/dhcpv6serverglobals.py
321f4303de80c42f3b8c01d087612a4cd30a8aff
[ "MIT" ]
permissive
ajbalogh/ixnetwork_restpy
59ce20b88c1f99f95a980ff01106bda8f4ad5a0f
60a107e84fd8c1a32e24500259738e11740069fd
refs/heads/master
2023-04-02T22:01:51.088515
2021-04-09T18:39:28
2021-04-09T18:39:28
null
0
0
null
null
null
null
UTF-8
Python
false
false
6,767
py
# MIT LICENSE # # Copyright 1997 - 2020 by IXIA Keysight # # Permission is hereby granted, free of charge, to any person obtaining a copy # of this software and associated documentation files (the "Software"), # to deal in the Software without restriction, including without limitation # the rights to use, copy, modify,...
[ "andy.balogh@keysight.com" ]
andy.balogh@keysight.com
0acd20c314fc21919e02ee09efdc56900995e995
69e767e3de62f130df6ad71504bc94cc5a1f7aef
/Ebix-DS-master/Ebix-DS-master/1. Python/ML-introduction1.py
3aede568f0854a1d1d5f2ee964f63d4ed239d8db
[]
no_license
charanseeram/Data-Science
bea068e1f918abd6ad89866280fab4cb3c220ad3
fb912da90ff3b49015d5588d558e1b3f1d764906
refs/heads/master
2021-08-24T21:06:31.118028
2017-11-21T12:14:20
2017-11-21T12:14:20
111,082,719
1
0
null
null
null
null
UTF-8
Python
false
false
1,263
py
# -*- coding: utf-8 -*- """ Created on Thu May 25 14:27:23 2017 @author: Sreenivas.J """ import os import pandas as pd from sklearn import tree import io import pydot #if we need to use any external .exe files.... Here we are using dot.exe os.environ["PATH"] += os.pathsep + 'C:/Program Files (x86)/Graphviz2.38/bin/'...
[ "Saicharan.S@pbsystems.biz" ]
Saicharan.S@pbsystems.biz
d2b7fded9f82e2c5c82a5ae7d58b3066c94a0234
f5fcbc71f746ebce64ae17aa182d221884e0161d
/env/bin/easy_install
4a24f00c57ada18d4898edadc3895ca8bed3532b
[]
no_license
t3chboy/python_imdb_restapi
f6cdaf2882e1ca91a52d566fcdb6b58fda982d6d
2c1e0e7b28df0b03113ea897ff73a9668969e7f4
refs/heads/master
2020-05-27T17:49:12.088827
2019-05-26T20:49:05
2019-05-26T20:49:05
188,727,492
0
0
null
null
null
null
UTF-8
Python
false
false
251
#!/var/python/pyimdb/env/bin/python3 # -*- coding: utf-8 -*- import re import sys from setuptools.command.easy_install import main if __name__ == '__main__': sys.argv[0] = re.sub(r'(-script\.pyw?|\.exe)?$', '', sys.argv[0]) sys.exit(main())
[ "mail2techboy@gmail.com" ]
mail2techboy@gmail.com
048521fbf9c0d46993e2505ccc84c3e21302ed2a
ec65636f2f0183c43b1ec2eac343b9aa1fc7c459
/train/abnormal_detection_new/10.133.200.69/session_active.py
17249ec5279b8fc88290cc73764f849af4dd5cb5
[]
no_license
tyroarchitect/AIOPs
db5441e5180fcace77b2d1022adb53bbd0b11f23
46fe93329a1847efa70e5b73bcbfd54469645cdd
refs/heads/master
2020-04-16T13:45:02.963404
2018-11-15T06:50:57
2018-11-15T06:51:29
null
0
0
null
null
null
null
UTF-8
Python
false
false
5,203
py
import tensorflow as tf import numpy as np import pandas as pd import matplotlib.pyplot as plt # settings of lstm model timesteps = 20 batch_size = 64 epochs = 5 lstm_size = 30 lstm_layers = 2 filename = "../../../datasets/1-10.133.200.69_20181027_20181109.csv" model = "../../../model/abnormal_detection_model_new/10...
[ "873869027@qq.com" ]
873869027@qq.com
c10012c74a053ca6e3cb4b656b1a0b473a613b5d
51ed1a0e85bfeb4958b53225c25f0d1cbaa9ed83
/gh_tools/migrations/0007_auto__chg_field_blogmodel_email.py
e7e614ae4f7dd29487b76843089004dbafebdaca
[]
no_license
bs-insecure/gh_tools
901b74b4651abb660f83650252df96b07d3e5416
84365db7007a67a2efbc53c332ec6cfcd5ff599c
refs/heads/master
2021-01-23T15:41:53.145153
2013-02-23T21:59:07
2013-02-23T21:59:07
null
0
0
null
null
null
null
UTF-8
Python
false
false
3,173
py
# -*- coding: utf-8 -*- import datetime from south.db import db from south.v2 import SchemaMigration from django.db import models class Migration(SchemaMigration): def forwards(self, orm): # Changing field 'BlogModel.email' db.alter_column('gh_tools_blogmodel', 'email', self.gf('django.db.models...
[ "bogdan.staicu@cegeka.be" ]
bogdan.staicu@cegeka.be
7864ee4973a26fb92dac10a132763892fb308197
b54eb04ec2de1dec11a7143c6b5049a1d031ddaf
/test/baselines/bench/monitor.py
de942e56796664c57ce2c88a82de1e85341665de
[]
no_license
Jerryxiaoyu/CR_CPG_RL
78c4c6e7539f08465b1f55125e04f982b1323bf2
69213cc48440ea66c42fbe3ace35163174686321
refs/heads/master
2020-03-28T12:11:51.491796
2018-09-14T04:32:33
2018-09-14T04:32:33
148,277,281
0
0
null
null
null
null
UTF-8
Python
false
false
5,832
py
__all__ = ['Monitor', 'get_monitor_files', 'load_results'] import gym from gym.core import Wrapper import time from glob import glob import csv import os.path as osp import json import numpy as np class Monitor(Wrapper): EXT = "monitor.csv" f = None def __init__(self, env, filename, allow_early_resets=Fa...
[ "drl@wjy.com" ]
drl@wjy.com
4b176aa836322383c348c0c2b77897e540a72463
bc62e2283333c6f0cefd4d0566e8d3bf4a7204d2
/python-ar_drone2/libardrone/arnetwork.py
1d70da2f258d598655a6068e9ba735131d50f1c1
[ "MIT" ]
permissive
Temennigru/TPRM03
0907622c48dbf2e1f03ec6736996f343da251536
fb7a033da9ee4b41fbc36873a35b194f9dd1a46f
refs/heads/master
2016-09-10T11:11:12.577080
2014-11-19T01:19:38
2014-11-19T01:19:38
null
0
0
null
null
null
null
UTF-8
Python
false
false
4,561
py
# Copyright (c) 2011 Bastian Venthur # # Permission is hereby granted, free of charge, to any person obtaining a copy # of this software and associated documentation files (the "Software"), to deal # in the Software without restriction, including without limitation the rights # to use, copy, modify, merge, publish, dis...
[ "temennigru@github.com" ]
temennigru@github.com
f2427f13f588cf7376778e89b011741ee33122e9
24eeb28433680606f9d1e099b19ec595552cf06b
/repo/plugin.video.shadow/resources/modules/mediaurl.py
e9b928533b79bd2f69b6f54703a5a709481a89e7
[]
no_license
irmu/arda
d8ecdedc17bb01650b538dc9e00f438b6d0eed5a
9b7cab3656c2497c812ab101a56ed661dd8cf4a7
refs/heads/main
2023-09-01T08:48:02.823681
2023-08-29T18:11:28
2023-08-29T18:11:28
151,835,016
7
3
null
null
null
null
UTF-8
Python
false
false
1,321
py
''' Copyright (C) 2014-2016 ddurdle 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. This program is di...
[ "zacharias.sama@gmail.com" ]
zacharias.sama@gmail.com
98aeabaaaf519429b130475bfc89622324abd910
af90afcbafd74e88711c4a62af8b15785e318db2
/line/bin/pyreverse
e54bf3901ace6022d21086ecd5e7c3597e1f484e
[]
no_license
MItsusawa-5/Aibot
470dffa9a863cf6834064d8ff5e012ac3d98d147
5b87781d8534e4cdbb130efe33ca4da978e228d4
refs/heads/master
2022-12-13T11:06:20.653444
2020-09-08T17:30:31
2020-09-08T17:30:31
293,590,174
0
0
null
2020-09-08T17:30:33
2020-09-07T17:25:13
Python
UTF-8
Python
false
false
264
#!/Users/igarashikazuya/projects/Aibot/line/bin/python3 # -*- coding: utf-8 -*- import re import sys from pylint import run_pyreverse if __name__ == '__main__': sys.argv[0] = re.sub(r'(-script\.pyw?|\.exe)?$', '', sys.argv[0]) sys.exit(run_pyreverse())
[ "aigacyo1989@gmail.com" ]
aigacyo1989@gmail.com
b0ffcda0390055f3150501a684274619f22878f8
6878c8e8188aff7c44921b12e71217e7c9503a20
/code/test_profiles_and_season_ids_synchronizer.py
9cafa55e9d8a5d0007535c7d7f7281bef21d5895
[]
no_license
JustNicosh/Historische-Tennis-Daten
5ad346810f5b8bead95011e94ceabec7a8be8dc7
58a9883f1d381c93b9f046f70157828dc90588e2
refs/heads/master
2021-09-11T23:54:56.805259
2018-04-13T10:00:17
2018-04-13T10:00:17
108,378,144
1
0
null
null
null
null
UTF-8
Python
false
false
2,384
py
#!/usr/bin/python3 # -*- coding: iso-8859-1 -*- import profiles_and_season_ids_synchronizer import os import unittest import csv_handler class TestProfilesAndSeasonIdsSynchronizer(unittest.TestCase): """Unittests for the class ProfilesAndSeasonIdsSynchronizer. """ def test_return_profiles_and_seasons(self): """...
[ "nicolas.schmidt@heimspiel.de" ]
nicolas.schmidt@heimspiel.de
12558bfc3ee3b95aafba147fed938ed62cb79fff
02c67e8b9a5910bbc47948e73e0abb057170f639
/migrations/versions/be3a149bbf64_.py
3363374f5768ec9056f6e2e3e86f1fc1a26ab00e
[]
no_license
Jizga/StarWarsBlogAPI
7cd064d81ac3125ef75442b744f34f8ccc8a7978
34ca7241fc19c34e5c0aa1efb6e8c16a5aab5bd7
refs/heads/main
2023-06-07T14:33:15.841401
2021-07-10T22:38:17
2021-07-10T22:38:17
383,483,298
0
0
null
null
null
null
UTF-8
Python
false
false
1,246
py
"""empty message Revision ID: be3a149bbf64 Revises: 0aa7c993ad66 Create Date: 2021-07-10 18:30:01.960715 """ from alembic import op import sqlalchemy as sa from sqlalchemy.dialects import mysql # revision identifiers, used by Alembic. revision = 'be3a149bbf64' down_revision = '0aa7c993ad66' branch_labels = None depe...
[ "jizga93@gmail.com" ]
jizga93@gmail.com
e78aa00cb52895bc7eced85dce63abce441f801a
947d1ecfddb42f9defa0beb69c34d481432bf0e2
/day7.py
8397e5fda230999da4b5628510bfd3e408f75bb0
[]
no_license
alexresiga/advent-of-code-2018
0344dab92919d5fa301d9f5f60e61d57aadcb8d0
3266908558cc3e063bac6d26b26b8adb3c0bab6d
refs/heads/master
2020-04-13T03:06:29.399102
2018-12-23T20:59:42
2018-12-23T20:59:42
162,921,898
1
0
null
null
null
null
UTF-8
Python
false
false
1,818
py
# with open('data.in', 'r') as f: # pairs = [(x.split(" ")[1], x.split(" ")[-3]) for x in [x.strip() for x in f.readlines()]] # steps = set(x[0] for x in pairs).union(set(x[1] for x in pairs)) # stack = [sorted(list(steps.difference(set(x[1] for x in pairs))))[0]] # ready = sorted(list(steps.difference(...
[ "resiga.alex@gmail.com" ]
resiga.alex@gmail.com
c2344449a55215020bf1c24bc68c488d99186456
ed114e6737c8a8ac6e01374a7bb916e0c90b37b6
/18_dynamic_programming/yh_triangle.py
9e492b5617f3b83310e24495211017c96bf7037a
[]
no_license
Neilgxz/Data-structure-python
5b6dcf9b4463a921b4594ad37a31fa68d0733a05
cb666a9d9b224a9811b967cdbb01a07f3a3f2e77
refs/heads/master
2022-12-11T22:59:41.593156
2020-08-26T18:17:18
2020-08-26T18:17:18
286,888,488
1
0
null
null
null
null
UTF-8
Python
false
false
2,039
py
#!/usr/bin/python # -*- coding: UTF-8 -*- from typing import List Layer_nums = List[int] def yh_triangle(nums: List[Layer_nums]) -> int: """ 从根节点开始向下走,过程中经过的节点,只需存储经过它时最小的路径和 :param nums: :return: """ assert len(nums) > 0 n = len(nums) # 层数 memo = [[0]*n for i in range(n)] memo...
[ "43714202+Neilgxz@users.noreply.github.com" ]
43714202+Neilgxz@users.noreply.github.com
02c50cce79051ef6b107c81ece6815018bb9a720
f38393395c36e49ff346e3f335e23bb45a4e224b
/fibonacci.py
da9ab9b7fe8435c386cc8a04a4606ae17257c263
[]
no_license
bishajitchakraborty/Python_Basic
fb34386c615398b6e0abcfa217829aeec31d65d5
1120d44ca8d2a64217d91c038c979480befeb231
refs/heads/master
2023-07-11T08:58:13.154129
2021-08-22T14:56:13
2021-08-22T14:56:13
null
0
0
null
null
null
null
UTF-8
Python
false
false
141
py
print("Enter you number:") number=int(input()) a=0 b=1 count=0 while(count<number): print(a) c=a+b a=b b=c count=count+1
[ "2018000000010@seu.edu.bd" ]
2018000000010@seu.edu.bd
6f93644b62f826f4386575458db4d779b67aa909
6cb589e0c530971d80588eafc4f8b5cf56c8e069
/FX Optimiser.py
8f71e42b58646e48b4f75c1268f2d0c337d55914
[]
no_license
aakashpatel12345/FunProjects
4fad3ab213b3467e17286ee1d59c72e3abdb4e78
dc4a4db238a333ed0ca7457c68cdc707a2755aff
refs/heads/master
2023-01-10T11:04:39.759678
2020-11-14T22:40:38
2020-11-14T22:40:38
255,095,547
0
0
null
null
null
null
UTF-8
Python
false
false
3,372
py
# -*- coding: utf-8 -*- """ @author: Aakash """ import pandas as pd best_chain = None best_value = 0.0 currency_summary = {} path_summary = {} def build_rates_dict(data): global currency_summary rates_dict = dict.fromkeys(data['Quote'].unique()) for currency1 in rates_dict: rates ...
[ "noreply@github.com" ]
aakashpatel12345.noreply@github.com
e5e887f9f6be5e7dab70cd8d34e952852a6932a8
0f42fc3044e87fd63a23e4cf123a0a4374c20c99
/ThreeFinal/ProOne/settings.py
c133fd736d650be5d9415000de328c9b2bb8ea10
[]
no_license
Jackychen8/udemy_django
f894c4bf080e519c9fc6e7d452897ee78ddb71fd
a484b82ea222c67adfa68e9551f2d5cbc1e9ae23
refs/heads/master
2021-10-28T03:42:07.280348
2019-04-21T15:27:47
2019-04-21T15:27:47
108,762,445
0
0
null
null
null
null
UTF-8
Python
false
false
3,258
py
""" Django settings for ProOne project. Generated by 'django-admin startproject' using Django 1.11.6. For more information on this file, see https://docs.djangoproject.com/en/1.11/topics/settings/ For the full list of settings and their values, see https://docs.djangoproject.com/en/1.11/ref/settings/ """ import os ...
[ "chenjacky9@gmail.com" ]
chenjacky9@gmail.com
6796ebc283396b84c6eb01a47ee91715aac89cfd
ee4ae7e2a0279269d3cf726ac7c77158d2aca5db
/source/mysite/mysite/settings2.py
717ab524721aa0a9d3568878ef45fcc8ae292e67
[]
no_license
ramkumarreddy/Movieo
2e790cd9effce33fcda61c606586196665d42f44
61024f2291625a2f91ffa1d3f55377b76a7df7a4
refs/heads/master
2021-04-25T16:17:17.080010
2015-11-24T08:27:08
2015-11-24T08:27:59
109,568,288
0
1
null
null
null
null
UTF-8
Python
false
false
3,148
py
#import MySQLdb """Con = MySQLdb.Connect( host="localhost", port=8000, user="root", passwd="password", db="movieo_DB" )""" #Cursor = Con.cursor() #sql = "SELECT * FROM test.testing" #Cursor.execute(sql) """ Django settings for mysite project. Generated by 'django-admin startproject' using Django 1.8.4. For more inf...
[ "punyaslok.pattnaik@research.iiit.ac.in" ]
punyaslok.pattnaik@research.iiit.ac.in
10d43faffcf81b8dde6fa7ea3ea774c52a986c6b
6923f79f1eaaba0ab28b25337ba6cb56be97d32d
/Numerical_Heat_Transfer_and_Fluid_Flow_Patankar/CFD_books_codes-master/Patnakar/2D_SIMPLE_algorithm.py
1ede47be2bee4e11dc15afb666b92bb83cea0fe6
[]
no_license
burakbayramli/books
9fe7ba0cabf06e113eb125d62fe16d4946f4a4f0
5e9a0e03aa7ddf5e5ddf89943ccc68d94b539e95
refs/heads/master
2023-08-17T05:31:08.885134
2023-08-14T10:05:37
2023-08-14T10:05:37
72,460,321
223
174
null
2022-10-24T12:15:06
2016-10-31T17:24:00
Jupyter Notebook
UTF-8
Python
false
false
4,324
py
import numpy as np from matplotlib import pyplot as plt # Peclet function scheme def funcPeclet(P, n): if n == 1: # Central Difference return 1 - 0.5*np.mod(P, 1) if n == 2: # Upwind return 1 if n == 3: # Hybrid return max(0, 1 - (0.1 * pow(np....
[ "me@yomama.com" ]
me@yomama.com
db3fd4da914b2266eec1cfb491375b54ab697719
214360e4a5671022ae3a68cc1f279453ea2b5d1a
/merger/error.py
f35d4a3f538f315e41d7a95aa52c22ac5da34dcc
[]
no_license
dnsl48/silverstripe-patch-merger
80aad754c97bba8a33cf3dbb9a4c2b16bba67958
a5e526c5c180741a67d4669239d60b7db44308c2
refs/heads/master
2020-08-29T19:58:19.775946
2020-03-13T04:00:24
2020-03-13T04:00:24
218,156,836
0
0
null
null
null
null
UTF-8
Python
false
false
51
py
class UnresolvedConflictsError(Exception): pass
[ "dnsl48@gmail.com" ]
dnsl48@gmail.com
3c5c3b6af7cab8706b3c0870f1e5a3238fa80070
5a9b0877e8ed73679bcb84bb359365c52d3d7372
/old_code/refine_topo_.py
8134b1a28c7c6426f9cea8738015e777aefc5901
[]
no_license
orpheus92/CyQuery
1d2537275c08a7836ae1be2135a4a19484ed1efb
1b89c599eb5c8c848b632739cdbb066f530ec9bf
refs/heads/master
2020-03-27T16:48:38.555790
2018-10-29T20:37:33
2018-10-29T20:37:33
146,807,538
0
0
null
null
null
null
UTF-8
Python
false
false
5,276
py
import queue from sklearn.linear_model import LinearRegression from sklearn.metrics.pairwise import cosine_similarity import pandas as pd def check_fit(*args, **kwargs): """ arg: threshold kwargs: "check_attr": attr to check, if none passed, will compute parent similarity "greater...
[ "dwang0127@gmail.com" ]
dwang0127@gmail.com
012a9c7b8f122e660f09df57cc0dc27ddc8cdb67
de3476e02a870395282602db4419c37870a87c66
/PYTHONSCRIPTS/Hist_2D_Runs_2_runs.py
dd6bff1c88f78eaab2c04979347a035a21f78efa
[]
no_license
MartinHagman/WRF_Low_Cloud_Case
5d19b11b238872af4a1c721609af2ac83c107d02
4c84ff7873934a0b3c9415695952f0b39dd5f20f
refs/heads/main
2022-12-28T16:51:01.633894
2020-10-16T11:14:55
2020-10-16T11:14:55
304,572,497
0
0
null
null
null
null
UTF-8
Python
false
false
6,426
py
import numpy as N import scipy.io.netcdf as S import netCDF4 as N4 import matplotlib as mpl import matplotlib.pyplot as plt import mpl_toolkits.basemap as bm import os import pandas as pd from math import * import sys from matplotlib.colors import LogNorm from pylab import * #18 Feb Filobjekt_Ref = N4.Dataset('/nobac...
[ "noreply@github.com" ]
MartinHagman.noreply@github.com
ae5b1ee0270b6f94e9949bdfda9d616a64d35370
4987884a7985695f1d80c3ff71ef897931cef3ec
/src_dir/backend.py
b1b4c0f6bbc93503098ef2001b2b7170a1f64b55
[ "MIT" ]
permissive
knyghtmare/bookstore-management-system
4b31577827c4d9ab911350552604643b24b43d5b
6e496abeecea05c03c6229f253e28152102f31a6
refs/heads/master
2021-02-07T00:58:21.794678
2020-02-29T21:49:03
2020-02-29T21:49:03
243,964,597
0
1
null
null
null
null
UTF-8
Python
false
false
3,065
py
import psycopg2 import sys def connect_to_database(): try: conn = psycopg2.connect( host='localhost', database='bookstore', user='postgres', password='root', port=5432 ) except Exception as e: print(e) cursor = conn.curso...
[ "tahsinjahinkhalid@gmail.com" ]
tahsinjahinkhalid@gmail.com
97f8c1bd9f49a88501eae437cfcc1356f2b1e396
64eca1e4f3958325120bf25d060e36a5acd2fa29
/csc131/ch09/student.py
65ac0bd4c8d0d07438035448e449eac490d308c6
[ "MIT" ]
permissive
kk14409/lectures
7b1b05e693993ae55dd296d763ecc14da6e062d1
a75c21e69e076437137503d85f62976cc3ab5410
refs/heads/master
2020-03-17T22:28:17.150025
2018-03-22T02:58:52
2018-03-22T02:58:52
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,817
py
""" File: student.py Resources to manage a student's name and test scores. """ class Student(object): """Represents a student.""" def __init__(self, name: str, number: float): """ Initialize a Student instance with given name and the number of scores to associate with the given Student. ...
[ "jdaehn@missouristate.edu" ]
jdaehn@missouristate.edu
ffd3b9d9d940171b060575665f8f9ade3bd3101c
3e787b102daa62c52c0e5a8772ac314795b6ef3d
/Binary Search Tree/Binary Search Tree.py
26baa1737ff433bae921d803f9ca1315e49f1acb
[]
no_license
AkilaSachin/Binary-Tree
13c89ba58a75730c7922d809055228591474fe5a
768692f06ab226c2692aa776a8de2a1461193901
refs/heads/main
2023-07-21T19:14:12.921691
2021-09-05T03:35:13
2021-09-05T03:35:13
403,203,333
0
0
null
null
null
null
UTF-8
Python
false
false
3,993
py
# Creating the Binary node class class binaryNode: def __init__(self, data): self.data = data self.left = None self.right = None # Adding new child to node def addChild(self, data): if data == self.data: return if data < self.data: if self.le...
[ "noreply@github.com" ]
AkilaSachin.noreply@github.com
995248ec77ec98b6e79e3f04330b2db456a1d145
f089470f6d272c5587a711c2bf0442055f47de57
/kick.py
dbc242f48e619d34a360009049378a94fc6342d8
[ "MIT" ]
permissive
realyinmo/kickv2
2ca9d0eacb3f64ffe4fed4678cb58bcb9155a379
e8cf2df2bf9b1dff44fd04425a3f5e14b6c9835b
refs/heads/master
2020-04-10T00:17:30.679024
2018-12-06T13:53:57
2018-12-06T13:53:57
160,680,721
0
0
null
null
null
null
UTF-8
Python
false
false
7,600
py
from kickpy import * from time import sleep from datetime import datetime, timedelta import time, string, asyncio, json, os, ast, re, sys, traceback cl = LINE() cl.log("Auth Token : " + str(cl.authToken)) cl.log("Mid : " + str(cl.getProfile().mid)) print("登入成功") oepoll = OEPoll(cl) clID = cl.getProfile().mid Me = [clID...
[ "noreply@github.com" ]
realyinmo.noreply@github.com
14791f13fdf3fa4e329ccc041c58e7431102c8e7
bda85a240d9ed2a6e744046d48c341ab2ff64505
/people/migrations/0004_auto_20201120_1348.py
2924e84f8aae4bcea34c24cd8bed374cc07b469e
[]
no_license
sangjunyoon/Django_People_DB
95f663409a9aa6f070579eb02c47e13338d3298a
612ba8076a1d4596aba606a1983361f69f746ec5
refs/heads/master
2023-01-19T21:39:26.505317
2020-11-24T07:00:52
2020-11-24T07:00:52
315,545,518
0
0
null
null
null
null
UTF-8
Python
false
false
431
py
# Generated by Django 2.1.15 on 2020-11-20 18:48 from django.db import migrations class Migration(migrations.Migration): dependencies = [ ('people', '0003_auto_20201120_0405'), ] operations = [ migrations.RemoveField( model_name='subject_matter_expert', name='sme...
[ "65435025+sangjunyoon@users.noreply.github.com" ]
65435025+sangjunyoon@users.noreply.github.com
4d86b3b9f9738d7dd518438a5b723b44d957916a
cf586b7b2d21d1bb8c39ac43a0080f17e5c2a81d
/searchAPI.py
f4373a2e6e9b7ada984b62fef46667e7eed21a2e
[]
no_license
ranjithkumar8352/NotesCC
fbc08bda71b87e8b00a8adc65ade5af035f36bcb
5b334ec5ecde30ac2cef5f4a58bd4c43cc0194b9
refs/heads/master
2020-12-31T05:24:40.862792
2016-08-20T11:32:58
2016-08-20T11:32:58
63,763,797
0
0
null
2016-07-20T08:21:08
2016-07-20T08:21:08
null
UTF-8
Python
false
false
5,353
py
from models import CourseListResponse, CourseResponse, NoteBookResponse, NoteBookListResponse from google.appengine.api import search from google.appengine.ext import ndb def createCourseDoc(request, key): courseName = getattr(request, 'courseName') professorName = getattr(request, 'professorName') cours...
[ "saurav24081996@gmail.com" ]
saurav24081996@gmail.com
479102c319b9e34f07c960131a9b5d78f9b49b8f
5bd12174cb97e26108cd388fb9e4642117775f4a
/Hard-Level/Multilingual Online Translator/Stage 2 Over the internet/translator.py
d22f8d8f406ccdff12c71daff721cc088f9314f3
[]
no_license
Qaminono/JetBrains-Academy
e33a7fc9eedff35ce7def49cf13139e92cde43d4
97b42fe5051ab02a0bbd8b15e21e6f688bd6301d
refs/heads/main
2023-04-24T06:38:33.787202
2021-04-25T20:28:12
2021-04-25T20:28:12
321,183,523
0
1
null
null
null
null
UTF-8
Python
false
false
1,099
py
import requests from bs4 import BeautifulSoup language_choice = input('Type "en" if you want to translate from French into English, ' 'or "fr" if you want to translate from English into French:') language = {"en": "french-english", "fr": "english-french"} word_choice = input("Type ...
[ "qaminono@gmail.com" ]
qaminono@gmail.com
2595238a2510ebed2d6eb2e627d4901a1a1b2833
71557c81a7896830e4fdc7eae783013a8708711c
/pattern.py
8626ae12860f11a868c2035e7ddcad26f45aac0b
[]
no_license
harshika18/Jet-Pack-Joy-Ride-Game
5f8dc34e73a8a7fc37a6a164111a6ca5b3d24f97
735fdb3f53a0cd0a596fcefe5499f68f9ca30a01
refs/heads/master
2022-04-05T16:28:01.079869
2020-01-22T19:10:57
2020-01-22T19:10:57
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,081
py
from back import * from globalfunc import * class pattern: def __init__(self,x,y): self._matrix=[] self.__length=26 self.__width=26 self.x=x self.y=y for i in range(0,26): self._matrix.append([]) for j in range(0,26): self._matrix[i].append(' ') def Set_pos(self,x,y,background): Fit_in(self,x...
[ "harshikaj18@gmail.com" ]
harshikaj18@gmail.com
230c396e722a95fd29ac4f4e2dd8fda5a3201e55
41d0c61780a0649ee4de88f1554bbec2570ba5da
/camera-test2.py
560bcc5170d8aada0e8c61f4473fd407d9f08fee
[]
no_license
Mmat97/BrandScanner
6ecc9fca53c6cae20c17014c83da0ae207470199
873ed6ac877379c8577595089a896fbe11faf8c4
refs/heads/master
2020-06-03T13:39:46.946160
2019-08-19T18:51:45
2019-08-19T18:51:45
191,589,421
1
0
null
null
null
null
UTF-8
Python
false
false
17,085
py
# USAGE # python text_recognition.py --east frozen_east_text_detection.pb --image images/example_01.jpg # python text_recognition.py --east frozen_east_text_detection.pb --image images/example_04.jpg --padding 0.05 # import the necessary packages import numpy as np import pytesseract import argparse import cv2 import ...
[ "michael.mathew@stonybrook.edu" ]
michael.mathew@stonybrook.edu
32e3ba7f14b1d312171af5719b0d645094cb5fcf
19cbf0742344fe6f69de30b61538b5c8eb56c6ee
/PyramidFrontEnd/src/routes.py
8323152fee2ab92e39655409ebaf0c4915541d0f
[]
no_license
brianmafu/SiyavulaProject
3d4d49d1c433133fdb7226c2bc13d389e7a1bd08
79c42e7cfc55a6f8a6d7fc3445b0d662fcc56ddf
refs/heads/main
2023-07-13T15:47:04.869538
2021-08-25T18:22:12
2021-08-25T18:22:12
399,381,459
0
0
null
null
null
null
UTF-8
Python
false
false
239
py
def includeme(config): config.add_static_view("static", "static", cache_max_age=3600) config.add_route("todo_index", "/") config.add_route("api_todo", "/api/todo") config.add_route("api_todo_search", "/api/todo/{name}")
[ "zeus01@localhost.localdomain" ]
zeus01@localhost.localdomain
c52b0ed01555bbbabf76d7e7f60b44ba51f093e6
cbb3d5ba1e67f1b5fb5b3b1baa3c18d7c58355fd
/dmv.py
2170cd18ec518b331809ea2fc6651a08830cd7d3
[]
no_license
dduong42/DMV-BTW
5bab752775143685f9633516cefa7011dd5ac0f3
81285de483fc0dfc6c295adaa7c0784577a2b6fa
refs/heads/master
2021-01-10T11:55:19.021241
2015-11-27T01:26:44
2015-11-27T01:26:52
46,953,418
0
0
null
null
null
null
UTF-8
Python
false
false
6,764
py
from bs4 import BeautifulSoup from collections import namedtuple from contextlib import suppress from datetime import datetime import logging import requests logger = logging.getLogger(__name__) DMV_BY_ID = { 537: 'ALTURAS', 587: 'ARLETA', 661: 'ARVIN', 570: 'AUBURN', 529: 'BAKERSFIELD', 679...
[ "daniel.duong@outlook.com" ]
daniel.duong@outlook.com
66e630aaf6f9596f35c23f7163f6a901d541858e
a7fa1f8dd7ed8ad5cab92b5c79818294c6aec239
/c03_comment.py
ebdce06091ce3856be9d065f129b2c62c6dc31c1
[]
no_license
Sum-Sovann2018/Python-Bootcamp_week_1
b1227f263919f8e704ca2c265e1f7c139a7cd00c
c61178169e9774341117116f96e7c160a3e5a718
refs/heads/master
2022-07-18T16:12:13.241151
2020-05-24T05:40:22
2020-05-24T05:40:22
266,477,133
0
0
null
null
null
null
UTF-8
Python
false
false
41
py
# Work compete print("Work complete!")
[ "noreply@github.com" ]
Sum-Sovann2018.noreply@github.com
a0de4f1a90228e16d2b1c4b408664e1662c286e8
f97d843bf44db7d8afebd0490f40bd0c201c0327
/BNT/solidity/python/EmulationTestPurchase.py
010d7651c7cf506685e2433dbde5635d09e1a994
[ "Apache-2.0" ]
permissive
4000D/tokens
6053608964e2dc407d90ad4fc0666b72ed8c9b23
683171d95bbb3cc5286086cb45a768fce7daf75a
refs/heads/master
2021-01-15T23:22:18.670211
2017-08-28T02:12:53
2017-08-28T02:12:53
99,935,510
0
0
null
null
null
null
UTF-8
Python
false
false
2,729
py
import web3 import json import math import FormulaSolidityPort MINIMUM_VALUE_SUPPLY = 100 MAXIMUM_VALUE_SUPPLY = 10**34 GROWTH_FACTOR_SUPPLY = 2.5 MINIMUM_VALUE_RESERVE = 100 MAXIMUM_VALUE_RESERVE = 10**34 GROWTH_FACTOR_RESERVE = 2.5 MINIMUM_VALUE_RATIO = 10 MAXIMUM_VALUE_RATIO = 90 GROWTH_FACTOR_RATIO =...
[ "dkdkajej@gmail.com" ]
dkdkajej@gmail.com
10bff657f77e8452395e5ab98e301ed6a131f2d1
5a9420ec24ff892d5bf3e7b438ddcffe4bbe1956
/r18_main.py
96a22ce7d284daa9c50ccebb125112860450b9e9
[]
no_license
canfoderiskii/r18comic_spider
cb178bfa204f936bc2f82a4e0a67cee54bea0f00
edecb99b0e3e9fe470fa4fa25325fab35d7f58fc
refs/heads/master
2021-12-13T16:27:10.356423
2021-12-03T14:03:50
2021-12-03T14:03:50
133,222,290
2
0
null
null
null
null
UTF-8
Python
false
false
12,345
py
# -*- coding: utf-8 -*- """ Used to download comic automatically from r18 comic site @author: Geminii """ import os import sys import re import datetime import json import time import http.client import urllib.request import ssl import urllib3 import certifi import requests # local imports import r18_comics as comics...
[ "wch007@msn.com" ]
wch007@msn.com
b9d874a3c49d258fd8217ba238ad471f631b0566
6b5bf225a8453c5f190d8ab0e55978bb3eb7a904
/dllutils.py
d61988930f6c224d1d149293f583a98d01e8aa4d
[ "BSD-3-Clause" ]
permissive
GrinnyManyform/pyzo
2ffeb45d7743cc0cf88ca8606e60d12cef5c6158
e15e4220dc33570f3f55ca9e47a24005fb6988f5
refs/heads/master
2021-01-20T16:42:16.496531
2016-09-16T11:26:12
2016-09-16T11:26:12
68,451,901
1
0
null
2016-09-17T12:51:13
2016-09-17T12:51:13
null
UTF-8
Python
false
false
9,034
py
# -*- coding: utf-8 -*- # Copyright (C) 2012 Almar Klein # This module is distributed under the terms of the (new) BSD License. """ Various utilities to modify Dynamic Link libraries. Needed to build the Pyzo distro, and it's possible that this functionality is needed to fix extension modules after installation in a ...
[ "almar.klein@gmail.com" ]
almar.klein@gmail.com
28562b3bf21f9a8b3de2b4b95dfeca552ff60532
0d37bd2718b5facf483e659354e025a5b01ae0de
/search_picture.py
c4640c9b4e9332873d1df84c67d5b5bc9e8bc470
[]
no_license
jiangxiaoyu610/CBIR-with-vocabulary-tree
4719cccf7c2af320ef2ef7374fa01b8a2f76b25b
5f0ff343cf31ffe7a4c541854ed6e8b7293dba3e
refs/heads/master
2022-10-07T06:30:34.542628
2020-06-13T10:10:49
2020-06-13T10:10:49
267,216,753
2
1
null
null
null
null
UTF-8
Python
false
false
5,904
py
import time import matplotlib.pyplot as plt from common import * from logger import Logger from build_feature_base import get_extractor, get_image_feature # 由于展示时每行 3 张图片,因此建议 TOP N 为 3 的倍数。 TOP_N = 6 def bgr2rgb(im): im = im.copy() temp = im[:, :, 0].copy() im[:, :, 0] = im[:, :, 2].copy(...
[ "noreply@github.com" ]
jiangxiaoyu610.noreply@github.com
5d73acd96034f8bcfb122c5a8fd790141f859aa3
50b2a447cccfbad70ca2f7d19d4550a708a74cbe
/blog/urls.py
6bfee92f9dce6c0387b338a007edade69a9decda
[]
no_license
halsayed/portfolio_project
c07fa9f21f252d5cce130c78220ceefed2504675
c22c3d219b126b71951377285b18ce1b438a1b1d
refs/heads/master
2020-03-20T11:25:37.333806
2018-06-17T21:18:50
2018-06-17T21:18:50
137,402,717
0
0
null
null
null
null
UTF-8
Python
false
false
180
py
from django.urls import path from . import views urlpatterns = [ path('', views.allblogs, name='allblogs', ), path('<int:blog_id>/', views.blogdetail, name='blogdetail') ]
[ "husain@alsayed.ws" ]
husain@alsayed.ws
a7376cb9c16d643647caa204b56b259ea74c9399
0ef4371c87c2196d9c2d2706e51f4b452f6e9d19
/4_Curso/Proyecto_Sistemas_Informáticos/model_exam_2/venv/lib/python3.7/site-packages/flake8/style_guide.py
c617f5ab89ccd6731e3ec8f31da49e238d4f9549
[ "Apache-2.0" ]
permissive
AlejandroSantorum/Apuntes_Mat_IngInf
49c41002314216a994aa60db04062e34abc065eb
c047e41d086f3028ec78ac3a663b9848862e52df
refs/heads/master
2023-05-15T03:02:56.882342
2023-04-20T20:19:54
2023-04-20T20:19:54
212,392,195
29
10
Apache-2.0
2023-09-09T13:03:45
2019-10-02T16:44:22
Jupyter Notebook
UTF-8
Python
false
false
21,018
py
"""Implementation of the StyleGuide used by Flake8.""" import collections import contextlib import copy import enum import itertools import linecache import logging import sys from typing import Optional, Union from flake8 import defaults from flake8 import statistics from flake8 import utils __all__ = ("StyleGuide",...
[ "alejandro.santorum@gmail.com" ]
alejandro.santorum@gmail.com
92e10f88e8943c08131b84fc6b784f7a1d0973a6
70c583be13fb1f9ee4c4ba1a7a2f73494972f514
/travel_buddy_app/migrations/0003_auto_20200426_2020.py
4eff2fe1e3e15ef7445790948bcfbd301085426a
[]
no_license
nathannewyen/Python
ef757441bc0aecdf451ad64f5160d080c8e1681a
d4d20d5df5ec40cea13f25e09b395d16f78ce2b8
refs/heads/master
2022-04-24T13:37:26.550766
2020-04-27T15:41:33
2020-04-27T15:41:33
259,376,971
0
0
null
null
null
null
UTF-8
Python
false
false
526
py
# Generated by Django 2.2.4 on 2020-04-26 20:20 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('travel_buddy_app', '0002_auto_20200426_2018'), ] operations = [ migrations.AlterField( model_name='trip', name='trav...
[ "nathan13574@gmail.com" ]
nathan13574@gmail.com
f57ac532798e09393e1b24fab20cc04d6d62504b
b841daa53e72ffe3aff0d6bf788261b519c880f6
/pythongeojson.py
5b05163b8fe314484394fd6b16b7b190272afcd2
[]
no_license
SenorLancelot/GeoDataAPIMapping
9432396deb892cc49516356f379f8f1881cb7ee5
ca9467da85f7ef707582c8903e06957460fc445c
refs/heads/master
2023-02-18T15:43:56.395510
2021-01-18T18:19:45
2021-01-18T18:19:45
330,751,404
0
0
null
null
null
null
UTF-8
Python
false
false
1,433
py
import urllib.request, urllib.parse, urllib.error import json import ssl api_key = False # If you have a Google Places API key, enter it here # api_key = 'AIzaSy___IDByT70' # https://developers.google.com/maps/documentation/geocoding/intro if api_key is False: api_key = 42 serviceurl = 'http://py4e-data.dr-ch...
[ "amarshendkar.as@gmail.com" ]
amarshendkar.as@gmail.com
6c04ed9d151a7bd672fa94d24da5c68676b8669c
bbe7d6d59ef6d7364ff06377df9658367a19c425
/cogdominium/CogdoBarrelRoom.py
2bda0b18b835d5204d88476acf5c89a676ed85f0
[ "Apache-2.0" ]
permissive
DedMemez/ODS-August-2017
1b45c912ad52ba81419c1596644d8db2a879bd9b
5d6214732e3245f63bfa250e3e9c881cc2dc28ad
refs/heads/master
2021-01-22T18:37:51.626942
2017-08-19T02:04:51
2017-08-19T02:04:51
100,762,513
0
8
null
null
null
null
UTF-8
Python
false
false
7,736
py
# Fuck you Disyer. Stealing my fucking paypal. GET FUCKED: toontown.cogdominium.CogdoBarrelRoom from panda3d.core import Camera, Fog, Lens, Light, Point3, Vec3 import random from direct.interval.IntervalGlobal import * from direct.directnotify import DirectNotifyGlobal from toontown.toonbase import ToontownGlobals...
[ "noreply@github.com" ]
DedMemez.noreply@github.com
19c5ae7636942eb89cfaae41a4317182b380e750
bf3c460d60ffc9b036167ccd40be6e88c381e134
/sit_core/templates/subscribe2.html.py
4196055c68f69ea7b1c6306dff4a9455049b1ce0
[]
no_license
DjangoCrypto/SIT-messenger-backend
c20188a7722cc8ef9e87d1e9a8aa475a0d006cc3
a0ebea0ba24b1da75b714a49e14e389bc2b53b23
refs/heads/main
2023-05-06T08:56:27.723731
2021-04-09T13:29:12
2021-04-09T13:29:12
371,139,609
0
0
null
2021-05-31T06:25:01
2021-05-26T18:55:36
Python
UTF-8
Python
false
false
3,179
py
XXXXX XXXXXXXXXXXXXXXXXXXXXX XXXXXXXXXXXXXX BBBBBBBBBB XXXX XXXXXXXXXXXXXXXXXXXXXXX XXXXXXX XXXXXXXXXXXXXXXXXXXXXXXXXXXXX XXXXXXX XXXXXXX XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX XXXXXXXXXXXXXXXXXXXXXXXXXX...
[ "kamil.marczak@insoh.pl" ]
kamil.marczak@insoh.pl
1467738d94268d1874bd1e4d0b6332ed1382ff9a
3052660f8a9c4e17ba5e93e863f89cb40811640a
/node_modules/opencv/build/config.gypi
7c6772de832c00d4c156d2df0a0996afc44b0436
[ "MIT" ]
permissive
KwangJongJeon/FruitRecognition
3368d43448cdc98864adf1f0c3ebef956fd8af02
417d5f8c04abe89a17959a58034db456736257be
refs/heads/master
2023-06-07T02:07:40.717878
2021-07-03T11:13:20
2021-07-03T11:13:20
382,594,762
0
0
null
null
null
null
UTF-8
Python
false
false
5,986
gypi
# Do not edit. File was generated by node-gyp's "configure" step { "target_defaults": { "cflags": [], "default_configuration": "Release", "defines": [], "include_dirs": [], "libraries": [], "msbuild_toolset": "v142", "msvs_windows_target_platform_version": "10.0.18362.0" }, "variables"...
[ "abc8339265@gmail.com" ]
abc8339265@gmail.com
634ad36ed581010b14d03be5ee25fdb30b2adc68
d29046d7cb50f69ed993f668478ed5cf3c527355
/leetcode_algorithm151/chapter3/3_8_longest_common_prefix.py
fd0846265f3bb2c315e4d69765295a6f5346858a
[]
no_license
836304831/leetcode
6a8efa3d52ceb84b11e8893a55e0e086cdb1f83d
16a84d8b0087a9761660ca5cfa7dbee1ff61a0e4
refs/heads/master
2021-07-24T13:37:20.229996
2021-05-16T08:07:22
2021-05-16T08:07:22
249,977,771
1
0
null
null
null
null
UTF-8
Python
false
false
1,007
py
class Solution(object): def longestCommonPrefix(self, strs): """ :type strs: List[str] :rtype: str """ # 24 ms # 12.8 MB if len(strs) == 0: return "" if len(strs) == 1: return strs[0] shortest_len = len(strs[0]) ...
[ "836304831@qq.com" ]
836304831@qq.com
b8c389cec7435e9a38a89769021c5743030c48e0
def0e74cdbe194832f2447ab96c2085454434dfd
/project_files/cooperative/cooperative_dirichle_gui.py
878825d9fd4c7b26c40cf4f2f672fb790dfe7335
[]
no_license
MherBaghinyan/python_differential
c2e7217a88d5f088c0a73bdb4a2101061cf6c4e7
3e0200792ec19e722e5bbaa7a3a874347f37ee35
refs/heads/master
2020-03-26T10:33:47.349875
2017-06-24T08:23:02
2017-06-24T08:23:02
41,693,227
0
0
null
null
null
null
UTF-8
Python
false
false
1,719
py
# http://www.java2s.com/Code/Python/GUI-Tk/2dtableofinputfields.htm # http://www.java2s.com/Code/Python/GUI-Tk/LabelborderRAISEDSUNKENFLATRIDGEGROOVESOLID.htm from project_files.cooperative.cooperative_dirichle import * from project_files.services.graph_gui import * def graph_cd_window(root, matrix, t_value): gra...
[ "mbaghinyan@gmail.com" ]
mbaghinyan@gmail.com
88983ba58579d66596f8efac20102f270c9fba97
a97fb0584709e292a475defc8506eeb85bb24339
/source code/code-Python 3.0.1/ch405.py
6791b224e8992f7ce92ddf7376f1155f90e2870e
[]
no_license
AAQ6291/PYCATCH
bd297858051042613739819ed70c535901569079
27ec4094be785810074be8b16ef84c85048065b5
refs/heads/master
2020-03-26T13:54:57.051016
2018-08-17T09:05:19
2018-08-17T09:05:19
144,963,014
0
0
null
null
null
null
UTF-8
Python
false
false
741
py
#!/usr/bin/env python # -*- coding: utf-8 -*- ## 宣告user變數與passwd變數來接收使用者輸入的帳號與密碼 user = input("login:") passwd = input("password (empty for guest):") ## 使用string.strip()函數將使用者輸入的空白字元刪除, 因為使用者可能會輸入空白字元 user = user.strip() passwd = passwd.strip() if (user == "" and passwd == "") or (user =="" and passwd !=""): prin...
[ "angelak.tw@gmail.com" ]
angelak.tw@gmail.com
aa5990d801b5599003ca44cc8874705e33f4bcd9
6e4203cd6f731ee3ff8402e081b69f3564a4cbef
/tests/v2/test_user_register.py
9644189ab07f3c06f15363a39e97e81889647ea1
[ "MIT" ]
permissive
Bakley/Questioner-ADC
2085804c96ed61c38f0a086cb8b6eaa8a5e71e6a
bfc9f99224005437ad92d914faafdcc5155d71b9
refs/heads/develop_v1
2022-12-10T01:51:38.261682
2019-01-25T07:42:16
2019-01-25T07:42:16
164,590,353
1
5
MIT
2022-12-08T01:31:49
2019-01-08T07:30:13
Python
UTF-8
Python
false
false
3,604
py
import unittest import json from tests.v2.basecases import TestBaseCase class AuthTestCase(TestBaseCase): """ test class for the registration endpoint """ def setUp(self): TestBaseCase.setUp(self) def test_signup(self): """Test if a user can signup""" response = self.clie...
[ "barclaykoin@gmail.com" ]
barclaykoin@gmail.com
46fe97177f3bbbce62cfb44bf9651cb61d005666
39d17148ac0517af1b0fdfc9e0f2d962183b7953
/dev/benchmarks/bench_check.py
d393c4fdb7662e18e06543bc2386b656eabe00af
[ "Apache-2.0" ]
permissive
Erotemic/progiter
a784f69fbca990a53d7f5abd56527f56b720c7f1
2d8e1a90b2de59e74c21b5f026832a119aa840e1
refs/heads/main
2023-06-22T05:01:03.177353
2023-06-20T17:36:08
2023-06-20T17:36:08
134,924,299
15
2
Apache-2.0
2023-06-11T21:35:08
2018-05-26T02:59:51
Python
UTF-8
Python
false
false
3,753
py
import ubelt as ub import progiter import timerit def basic_benchmark(): """ Run the simplest benchmark where we iterate over nothing and compare the slowdown of using a progress iterator versus doing nothing. """ N = 100_000 ti = timerit.Timerit(21, bestof=3, verbose=2) for timer in ti.r...
[ "erotemic@gmail.com" ]
erotemic@gmail.com