blob_id
stringlengths
40
40
directory_id
stringlengths
40
40
path
stringlengths
3
281
content_id
stringlengths
40
40
detected_licenses
listlengths
0
57
license_type
stringclasses
2 values
repo_name
stringlengths
6
116
snapshot_id
stringlengths
40
40
revision_id
stringlengths
40
40
branch_name
stringclasses
313 values
visit_date
timestamp[us]
revision_date
timestamp[us]
committer_date
timestamp[us]
github_id
int64
18.2k
668M
star_events_count
int64
0
102k
fork_events_count
int64
0
38.2k
gha_license_id
stringclasses
17 values
gha_event_created_at
timestamp[us]
gha_created_at
timestamp[us]
gha_language
stringclasses
107 values
src_encoding
stringclasses
20 values
language
stringclasses
1 value
is_vendor
bool
2 classes
is_generated
bool
2 classes
length_bytes
int64
4
6.02M
extension
stringclasses
78 values
content
stringlengths
2
6.02M
authors
listlengths
1
1
author
stringlengths
0
175
c7c20591f36d3a78bb501c4b60a1b4b5e79f72dd
8fe983691e012a4e83b73be1d9aac33e0449593a
/manage.py
736cedcced36af0ad618f1c4fb2558424400df37
[]
no_license
damnation14/Blog-website
3b50379f532cff60cf62fbf5f768b04f55b45e71
685f5bfb351a8aae54967e48ebed47ed65b36fec
refs/heads/main
2023-04-19T23:27:08.138264
2021-04-30T18:51:02
2021-04-30T18:51:02
361,385,935
0
0
null
null
null
null
UTF-8
Python
false
false
625
py
#!/usr/bin/env python """Django's command-line utility for administrative tasks.""" import os import sys def main(): os.environ.setdefault('DJANGO_SETTINGS_MODULE', 'djang.settings') try: from django.core.management import execute_from_command_line except ImportError as exc: raise ImportEr...
[ "manoj.kartik14@gmail.com" ]
manoj.kartik14@gmail.com
cef6bd38f4fad1c3701ee6dd6b153b9d00497fe1
a8d0af54470f5d0b33596c918562bfb18ffceb27
/Problem Set 8 - Unique BST/AnuKritiWadhwa.py
a9d3b0e523ad16d3fe3e3e1e86d725ff15f1f517
[]
no_license
AnuKritiW/git-at-soc
71d2b1040ae2b2731f863bc81af516ef9855d383
a570c65eb5ede637d086ee2757467aa1da8fef3e
refs/heads/master
2021-07-16T13:24:01.671210
2020-06-07T14:40:20
2020-06-07T14:40:20
172,067,770
2
3
null
2020-05-23T11:01:33
2019-02-22T13:06:00
Python
UTF-8
Python
false
false
862
py
class Solution: def numTrees(self, n: int) -> int: if n < 3: return n lst = [0] * (n+1) #create a list of 0s of length 'n+1' lst[0:3] = [0, 1, 2] for i in range(3, n+1): for j in range(2, i): lst[i] += lst[j-1]*lst[i-j] ...
[ "anu.kriti.w@gmail.com" ]
anu.kriti.w@gmail.com
ed642068a76c4955cfea971258841d394062ea8c
d959f73049a19d20dd9a628175dfe2827c3e84ef
/python3/class_python/class2.py
078360df9593572560cd4d5f04879cc41431d98b
[ "MIT" ]
permissive
fossabot/experiment_code
5f1071d45f824e0f41e14bb5f3ffced5146e0d1e
de0fdfc4f6cc61cd1941af8df6e39491fada0e6b
refs/heads/master
2020-03-21T15:16:18.937619
2018-06-26T07:46:26
2018-06-26T07:46:26
138,703,041
0
0
MIT
2018-06-26T07:46:21
2018-06-26T07:46:20
null
UTF-8
Python
false
false
502
py
# -*- coding: utf-8 -*- # @Author: Zhiwei Yang # @Date: 2018-04-03 13:46:22 # @Last Modified by: Zhiwei Yang # @Last Modified time: 2018-04-03 14:48:41 from class1 import Base class Checkusebasevar(Base): def __init__(self): self.vc = Base.printme() def printtwo(self): # print (self....
[ "tencrance@gmail.com" ]
tencrance@gmail.com
ab1287140a9c366c6cfb75957e93c3de60460ba6
9588bd52bcc9fff2ae52e29ea92f6b0120e4313b
/mysite/polls/models.py
210450915f6ab67f543bc945504f397997b48149
[]
no_license
neelparmar17/learn-python
05a03f4b4d8673bcfc8b64e5e658281e6122efa1
a5d30f8380ca2535909df9d99382dd13a87f17ec
refs/heads/master
2021-01-25T13:18:29.249108
2018-09-17T05:32:37
2018-09-17T05:32:37
123,553,114
0
0
null
null
null
null
UTF-8
Python
false
false
674
py
import datetime from django.db import models from django.utils import timezone # Create your models here. class Question(models.Model): question_text = models.CharField(max_length = 200) pub_date = models.DateTimeField('date published') def __str__(self): return self.question_text def was...
[ "neel.parmar@mountblue.io" ]
neel.parmar@mountblue.io
3a074572647edca905c1104c2e82709c859ebddb
4050f786f3cc505760e25608d66805e3543835f8
/the_flyer_15147/urls.py
141a25667c75334ebfabf7887b5c99cfe55f3ff9
[]
no_license
crowdbotics-apps/the-flyer-15147
6fb0a403286d06c5393d9f58b39f76ad5c538312
e2f62327110f1200c8d4ebf46f127ce4fe903189
refs/heads/master
2022-12-11T02:03:31.153849
2020-03-28T02:01:50
2020-03-28T02:01:50
250,693,069
0
0
null
2022-12-08T05:09:49
2020-03-28T01:59:48
Python
UTF-8
Python
false
false
2,055
py
"""the_flyer_15147 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') Cla...
[ "team@crowdbotics.com" ]
team@crowdbotics.com
c0af08e88913629965f51ba0bb0312a9f360c0a5
12246c255155df4af076cc75b5085b187d847fb2
/supervised_algo/AdaBoost_Classifier.py
df02e8fcc6d018d568658811bd9635fcff3c72d0
[]
no_license
babakaskari/MachineLearning
e349748fa8fae499faf86ff1ae7e0624fea3d6ff
c948b4b6c889bddbb09d0876a9448324e80a9b06
refs/heads/master
2023-03-12T07:50:28.616330
2021-02-23T12:25:10
2021-02-23T12:25:10
315,897,013
0
0
null
2020-11-25T11:02:10
2020-11-25T09:57:05
Python
UTF-8
Python
false
false
1,590
py
import pandas as pd import numpy as np import matplotlib.pyplot as plt import time from matplotlib import dates as mpl_dates import sklearn from sklearn.metrics import roc_auc_score from sklearn.semi_supervised import LabelPropagation from sklearn.feature_extraction.text import CountVectorizer from sklearn import prepr...
[ "babakas76@gmail.com" ]
babakas76@gmail.com
026c8dcdda379049b5cf134c6075b408057c02e2
cb06f6c7d6ca495374bbef4cb2bb868067920cbc
/solution/q1_100/question_23.py
f70910675bd0cc4158e88a1961bdca09f9c47e2c
[]
no_license
wentjiang/leetcode-py
7d9d7fe6e59d225a7c0cdf34e42fec612065b2bd
5b9b214f26d44fe798a1ce382e0f764a6f23a4ee
refs/heads/master
2022-10-27T06:40:00.469691
2022-10-04T03:41:53
2022-10-04T03:41:53
210,098,584
0
0
null
null
null
null
UTF-8
Python
false
false
558
py
# Definition for singly-linked list. from typing import List class ListNode: def __init__(self, x): self.val = x self.next = None class Solution: def mergeKLists(self, lists: List[ListNode]) -> ListNode: head = ListNode(0) temp = [] for i in lists: while i...
[ "wentjiang@sina.com" ]
wentjiang@sina.com
9f496144a2fa17d02324a2573e5c8d6dde020f12
b5fa5c71bd4013cd504c1e383a10a547ca618f8d
/customers/serializers.py
a987ea8bc0906679d6392052a9274cbcc1df05d4
[]
no_license
Bsaint95/Digireceipt-backend
c785ff0a986c5a0c8e58bac395078099949578c7
005d6587df0fafd8a16e79d520f5b3466c9b494b
refs/heads/master
2022-11-15T15:50:49.571214
2020-06-22T21:13:07
2020-06-22T21:13:07
274,195,045
0
0
null
2020-06-22T16:56:45
2020-06-22T16:56:45
null
UTF-8
Python
false
false
218
py
from .models import customers from rest_framework import serializers class customersSerializer(serializers.ModelSerializer): class Meta: model = customers fields = ('id', 'issue_no', 'name', 'email', 'platform')
[ "bsaintdesigns@gmail.com" ]
bsaintdesigns@gmail.com
68b314221633cc684b3e98955cfb6fb09c89b25b
2c3ec46e6a3fe4db76ee576b4e52f69106b3171f
/app/app.py
4599fe0d5cf71b71ecd255eab9557cebc1628b93
[]
no_license
deepakn01/cs410proj
9033596c18aacb65a9cdc14131bed31637388006
cadcbdf15358394b0c4528714b8de90ff2e7ee39
refs/heads/master
2021-07-16T11:23:23.775206
2017-10-19T21:59:06
2017-10-19T21:59:06
107,602,723
0
0
null
null
null
null
UTF-8
Python
false
false
820
py
from flask import Flask, request, redirect, render_template import cgi import os app = Flask(__name__) app.config['DEBUG'] = True @app.route("/") def index(): return render_template('index.html') #@app.route("/results", methods=['post']) #def results(): # search_term = request.form['search'] # ret...
[ "noreply@github.com" ]
noreply@github.com
d484d90a1d4d8c4e0529ddf16eb67ff40f9a0521
c6e3fdae79621611defdcafddc504a899781fe8f
/cgi-bin/user_avatar.py
4febaa86a37fa40db08dd13f82ee85e0c3b6bb43
[ "MIT" ]
permissive
zhchbin/Yagra
a1a458f1f42ec8eab043b8bbc0ff721897ce5652
b0422aa5d2972c2352d26518c1da686908f2a015
refs/heads/master
2021-01-25T10:29:49.125552
2015-03-17T00:54:11
2015-03-17T00:54:11
31,765,829
0
0
null
null
null
null
UTF-8
Python
false
false
792
py
#!/usr/bin/python from config import USER_AVATAR_DIRECTORY from util import print_html_and_exit, connect_db from MySQLdb import Error import cgi import mimetypes form = cgi.FieldStorage() username = form.getvalue('username') try: con = connect_db() cur = con.cursor() cur.execute("SELECT avatar FROM User...
[ "zhchbin@gmail.com" ]
zhchbin@gmail.com
664fa09f48389314c2a900ac4b98a88fce679aba
84a617d20424c0e06847ee5230c579d99e85956c
/pytorch/re/pure/entity_models.py
36fb6f121c714294e0fbd9672ed9362eec3ddb85
[]
no_license
ienoob/neo_nlp_project
a6b1fce5ba3413e3d8dba174ffba8b8700d03444
1009dc9780b8827813ee3e575e8bfcb03aa5d388
refs/heads/master
2023-02-22T20:09:06.366958
2022-07-14T02:45:12
2022-07-14T02:45:12
249,361,823
8
0
null
2023-02-16T03:31:49
2020-03-23T07:22:13
Python
UTF-8
Python
false
false
12,864
py
#!/usr/bin/env python # -*- coding: utf-8 -*- # Copyright (c) *** import torch import torch.nn as nn from transformers import BertTokenizer, BertPreTrainedModel, BertModel from transformers import AlbertTokenizer, AlbertPreTrainedModel, AlbertModel from torch.nn import CrossEntropyLoss import logging logger = logging....
[ "mostli@qq.com" ]
mostli@qq.com
1e445cc5bd290315f961eb98d248e02c72584909
f4653b4bd7528150a53c8f454658c00d7ea0b836
/cbm/ipycbm/ipy_view/view_main.py
e19d0de98e84ac96843c63b82e5adf468f855f50
[ "BSD-3-Clause" ]
permissive
mokasini/cbm
ccb09cb8ab96e6b06b0e13d86ff51124538706f6
33bd9c8a0d107f6cdc3343953ae9f7c9bd9272cd
refs/heads/main
2023-02-24T04:44:07.744715
2021-02-01T12:29:38
2021-02-01T12:29:38
null
0
0
null
null
null
null
UTF-8
Python
false
false
976
py
#!/usr/bin/env python3 # -*- coding: utf-8 -*- # This file is part of CbM (https://github.com/ec-jrc/cbm). # Author : Konstantinos Anastasakis # Credits : GTCAP Team # Copyright : 2021 European Commission, Joint Research Centre # License : 3-Clause BSD from ipywidgets import Tab from cbm.ipycbm.utils import h...
[ "Konstantinos.ANASTASAKIS@ext.ec.europa.eu" ]
Konstantinos.ANASTASAKIS@ext.ec.europa.eu
12ec702200149989447216a4b0d095a71ab4c438
e161773a84fe27b1ce7c05101342e9cec42ec28b
/accounts/views.py
941232652c991c841fa829bd3be4163b460fd60c
[]
no_license
pyorc/pyorc
7b7852945717b2c06e4955bf04519de805a16d5c
6248347228c3dfca6760a27f6c03af95c6834a9d
refs/heads/master
2021-01-24T22:36:28.996534
2016-01-22T05:36:11
2016-01-22T05:36:11
47,625,086
3
0
null
null
null
null
UTF-8
Python
false
false
1,520
py
# coding=utf-8 from django.contrib.auth.models import User from django.contrib.auth import authenticate from rest_framework.viewsets import ViewSet from rest_framework.response import Response from accounts.serializers import UserSerializer from accounts.token import Token class AccountViewSet(ViewSet): querys...
[ "zhaojames0707@hotmail.com" ]
zhaojames0707@hotmail.com
ca3f567bca835be25d44fd12966652681f3d321e
c8e763e2870f2245c1598404faf1c79643c88c53
/con_functions_resting.py
1c96579c769bb50066f2b7d41f76246d9ec27bda
[]
no_license
KathrineSN/Bachelor-Project
0b448db665463f048f34d848a9214a49d801de19
995a73680ef1e882a6850a6e55b289a7c10b58a2
refs/heads/master
2023-04-23T12:07:09.798464
2021-05-06T08:09:17
2021-05-06T08:09:17
333,376,487
0
0
null
null
null
null
UTF-8
Python
false
false
25,235
py
# -*- coding: utf-8 -*- """ Created on Wed Mar 24 14:24:09 2021 @author: kathr """ import os import mne import numpy as np import pandas as pd from matplotlib import pyplot as plt from hypyp import prep from hypyp import analyses from hypyp import stats from hypyp import viz from collections import Counter from coll...
[ "46521720+KathrineSN@users.noreply.github.com" ]
46521720+KathrineSN@users.noreply.github.com
56bd58f9bd52e614c848299da4fe59b994d1f0f2
13d54ea22049f93637df5267411d50e71f68e739
/scripts/cable_joint/envs/gym_gazebo_env.py
3cf4f566d8453ee3a7c62f13e31cfb31a96b8502
[ "MIT" ]
permissive
deePurrobotics/gazebo_rl
555c2fe49f410edadf745a546e07daf51a200b88
7ec8b135d9334f7d28ce8db84a04599f5506c9e3
refs/heads/master
2020-03-31T10:27:34.337469
2019-02-07T17:52:17
2019-02-07T17:52:17
152,135,408
16
8
MIT
2019-02-07T17:52:18
2018-10-08T19:33:27
Python
UTF-8
Python
false
false
3,732
py
import numpy as np import rospy import gym # https://github.com/openai/gym/blob/master/gym/core.py from gym.utils import seeding from .gazebo_connection import GazeboConnection class GymGazeboEnv(gym.Env): """ Gazebo env converts standard openai gym methods into Gazebo commands To check any topic we need to h...
[ "zhan2838@purdue.edu" ]
zhan2838@purdue.edu
49307e4030a27ff3a99f09bee2dfa9b7677a0bfa
6109a95a284891792c35d0d19906ab8d1697f9c7
/src/datamigration/azext_datamigration/vendored_sdks/datamigration/operations/_database_migrations_sql_mi_operations.py
442a15827c7342be590b73150c6bde88654f882a
[ "MIT", "LicenseRef-scancode-generic-cla" ]
permissive
Tatsinnit/azure-cli-extensions
3e5a1752edced00d7c33660027d2c17fae074569
a1959b123d4c11149adae2728ab5791949889d54
refs/heads/master
2022-10-05T17:40:10.825889
2022-03-16T10:33:56
2022-03-16T10:33:56
250,102,909
0
0
MIT
2020-03-25T22:12:01
2020-03-25T22:12:01
null
UTF-8
Python
false
false
26,682
py
# coding=utf-8 # -------------------------------------------------------------------------- # Copyright (c) Microsoft Corporation. All rights reserved. # Licensed under the MIT License. See License.txt in the project root for license information. # Code generated by Microsoft (R) AutoRest Code Generator. # Changes may ...
[ "noreply@github.com" ]
noreply@github.com
27c35318c6b5f8212dd449e282c2b081d6dc4c61
046c1141399890afa13fd243e55da3dbf31085c5
/test/test22.py
05c20e2d7892acce138d4df0ab6d184be9b7d49e
[]
no_license
carusyte/tflab
1d0edf87282352aeb5a38b83c58ab9c0189bbb1a
2324c3b0ad22d28c50a4fd8db56e36a2836735c3
refs/heads/master
2021-05-12T06:58:26.270868
2019-03-24T14:57:44
2019-03-24T14:57:44
117,232,451
0
0
null
null
null
null
UTF-8
Python
false
false
6,165
py
from __future__ import print_function # Path hack. import sys import os sys.path.append(os.path.dirname(os.path.abspath(__file__)) + "/..") import tensorflow as tf from pstk.model import model11 from time import strftime from pstk.data import data as data0 from pstk.data import data12 from test import collect_summary ...
[ "carusyte@163.com" ]
carusyte@163.com
4fb7f3f8c8810c58b87853feb8ee750250f4d42e
a4efbdbef086fe1822601d87ef04a605d8e993d4
/problem-solving/bon-appetit.py
06afecbe9d7e50eb8053cc89e537b6b7c5c8bdb1
[]
no_license
JMSchietekat/hackerrank
618270e45dcf2f3cac0aa46b9356e914ac44cbb4
704192d5fc81ec9497cdcd9d2d1414817988c5bd
refs/heads/master
2022-11-30T02:22:14.338578
2020-08-12T20:08:11
2020-08-12T20:08:11
274,339,065
0
0
null
null
null
null
UTF-8
Python
false
false
494
py
import math import os import random import re import sys def bonAppetit(bill, k, b): b_charged = 0 b_actual = 0 for e in bill: b_charged += e b_actual = (b_charged - bill[k]) / 2 return 'Bon Appetit' if b == b_actual else int(b - b_actual) if __name__ == '__main__': nk = input().r...
[ "justinschietekat@gmail.com" ]
justinschietekat@gmail.com
d954433fc734887cf2bed62499ea0205cefd66a3
30b97efb2f36f81aa684d16d19e0e2db17f2967d
/기타/2468.py
05d75b8ff59e165f6298ad243ba4d49c20202b24
[]
no_license
jmseb3/bakjoon
0a784a74c6476ef51864e2ada9d2551c7c7979eb
a38db54e851372059b0e45add92e43e556835e62
refs/heads/main
2023-08-25T08:43:04.579785
2021-10-01T08:40:37
2021-10-01T08:40:37
362,287,450
2
0
null
null
null
null
UTF-8
Python
false
false
956
py
from collections import deque N = int(input()) maps = [] max_len = 0 for _ in range(N): temp = list(map(int, input().split())) max_len = max(max_len, max(temp)) maps.append(temp) moves = [(-1, 0), (1, 0), (0, 1), (0, -1)] ans = 0 def bfs(y, x, ck, visited): q = deque() q.append((y, x)) visite...
[ "jmseb3@naver.com" ]
jmseb3@naver.com
d75eff24f288cc9555e4bedb4e88a7c5a17eac8b
8c648a15d5e97a4d8449ca9120d7989d69f4d7fd
/leaderboard/endpoints/__init__.py
1abb177bd9671ac3b99813cd25df5ef1ec417c7a
[]
no_license
robclewley/flask-leaderboard
ef3e951b9f61845978efded72a6f0d9a1d90adab
c738edee5069e9da2d28ca7a73d41d61868e6bc8
refs/heads/master
2021-05-29T16:02:53.656242
2015-07-21T18:26:46
2015-07-21T18:26:46
null
0
0
null
null
null
null
UTF-8
Python
false
false
498
py
import pkgutil from flask import g, session from leaderboard import app from leaderboard.database import User __all__ = [] for (loader, module_name, is_pkg,) in pkgutil.walk_packages(__path__): __all__.append(module_name) module = loader.find_module(module_name).load_module(module_name) globals()[module_...
[ "mykolasmith@gmail.com" ]
mykolasmith@gmail.com
4ecf47ca7e7b37620817c44064a35600aa63affa
dfc2c18053b8e7576f88e7b2524d7ca3a8f47282
/ch03/session3/63.py
a3458fac0a02818719ccecbeba2d2a88982ce7e0
[]
no_license
Xoozi/tchomework
a6eed3bbf697ff12af8d42249ec58a139aed0c4c
627c98b0b652ef20fd93025a17341bba76fbfce6
refs/heads/master
2021-01-23T21:18:15.793703
2018-10-21T11:05:55
2018-10-21T11:05:55
57,583,655
1
2
null
null
null
null
UTF-8
Python
false
false
1,067
py
#一族三次曲线 #(a)对k = 0, 及其邻近的k的正和负值, 把f(x) = x**3 + k*x的图形画在一个公共屏幕上. #k的值是怎么影响到图形的形状的 #k小于0时, 函数递减, 只有一个根 #k向0移动, 函数图像开始逆时针旋转, 并且开始弯曲, 靠近0时开始有多个根 #k大于0时, 又开始伸展, #(b)求f'(x). 正如你知道的, f'(x)是一个二次函数, 求该二次函数的判别式. 对什么样的k值, 该判别式 #为正, 为零, 为负? 对什么k值f'有两个零点, 一个或,没有零点? #说明k的值对f图形的形状有什么影响? #f'(x) = 3*x**2 + k #Δ = -4*3*k = -12k #k>0时Δ...
[ "wwfxtt@gmail.com" ]
wwfxtt@gmail.com
27cee5430e7698de53fc8eb0c7e228edb4d834a4
be7ff4e7d995cfd2c28b2b93321931f886994653
/project/stack_overflow/migrations/0006_auto_20190209_1310.py
7493b227b034913c612d5f3ea72c0a03660844fe
[]
no_license
j7sai/Pregunta
26f96ce41a870d9d4724fac80ba6a9388fc95d7d
0255347bb1d3945c21d5dcaae70cfa4efff6c828
refs/heads/master
2022-12-09T20:47:47.773368
2019-03-10T09:26:12
2019-03-10T09:26:12
174,516,925
0
0
null
2022-12-08T01:41:12
2019-03-08T10:26:22
Python
UTF-8
Python
false
false
805
py
# Generated by Django 2.1.5 on 2019-02-09 07:40 from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): dependencies = [ ('stack_overflow', '0005_auto_20190209_1228'), ] operations = [ migrations.RenameField( model_nam...
[ "sairohanj@gmail.com" ]
sairohanj@gmail.com
5db9f1bb82aaada88a79243dab0be796299f41e9
a1d8fefb84ce2f69ebce5fedcdf5262ba0005a5f
/zvt/recorders/eastmoney/meta/china_stock_category_recorder.py
a0a6b9c47e284491ad80a9fade92202ba428d1f4
[ "MIT" ]
permissive
vinhphu3000/FinanceCenter
f2c827ffe268421011682ed45375f55ac6ddc54a
1511751fe6d7d1f1fb940ae66d29b45eb0782fea
refs/heads/master
2023-03-30T19:55:17.124679
2021-03-27T11:40:18
2021-03-27T11:40:18
null
0
0
null
null
null
null
UTF-8
Python
false
false
5,630
py
# -*- coding: utf-8 -*- import pandas as pd from numba import njit from zvt import zvt_config from zvt.api.data_type import Region, Provider, EntityType from zvt.api.quote import china_stock_code_to_id from zvt.domain import BlockStock, BlockCategory, Block from zvt.contract.api import df_to_db from zvt.contract.recor...
[ "doncat99@gmail.com" ]
doncat99@gmail.com
c2b307ea65c6d7a19d34a4f1085403b21d38e02f
874fcbf6b35226a9b61205630b2eaeed5f884303
/decision_tree/studentMain.py
a93089a87af6670df4b488330a2e82d86e304941
[]
no_license
pieces201020/ud120-projects
c8236c8597a5e7c626478ac6ef565e2cbf4fdd22
3ebee19f66a6f85f11a669a3ecad597a0ebec5c0
refs/heads/master
2021-01-18T16:14:14.145015
2017-04-04T01:18:57
2017-04-04T01:18:57
86,730,863
0
0
null
2017-03-30T17:38:21
2017-03-30T17:38:20
null
UTF-8
Python
false
false
710
py
#!/usr/bin/python """ lecture and example code for decision tree unit """ import sys from class_vis import prettyPicture, output_image from prep_terrain_data import makeTerrainData import matplotlib.pyplot as plt import numpy as np import pylab as pl from classifyDT import classify features_train, labels_train, fea...
[ "zbw.zhangbowei@gmail.com" ]
zbw.zhangbowei@gmail.com
931dd466a1df578c537a95a690a9c0529161c7ba
6553f98336fa296ca4faa6e3e247c0a343d883f3
/yolo/utils.py
c639349f2c4306f0ce792157149cee22126cc8ce
[]
no_license
DableUTeeF/algea
5341a529534e26f1d7ae4ad71d064f32f8f0aba5
3a34c796bdddd07f2ab17811fe472cdce6d9207a
refs/heads/master
2020-08-29T12:27:39.566480
2019-11-08T02:41:03
2019-11-08T02:41:03
218,030,814
1
0
null
null
null
null
UTF-8
Python
false
false
51,045
py
import numpy as np import os import xml.etree.ElementTree as ET import csv import cv2 # from keras.optimizers import Optimizer # from keras import backend as K import copy from pycocotools.coco import COCO from pycocotools.cocoeval import COCOeval from six import raise_from import csv import sys import os.path def _p...
[ "palm22180@gmail.com" ]
palm22180@gmail.com
0c5ddd754402e381d583db718376e182f1a98e59
b86a1c66449bdb7ce8c14605cb37e96de9c8d89b
/util.py
778b7b760a83d395d6a003fab7b31cd440926e25
[]
no_license
offmeplz/9game
bbfc273e57ee0c231a278e8bcc40564839ba1f31
8b9a0e610126778939d6900e8c6b039861ee49e1
refs/heads/master
2021-01-24T04:09:40.290376
2012-09-16T14:31:47
2012-09-16T14:31:47
null
0
0
null
null
null
null
UTF-8
Python
false
false
7,836
py
#!/usr/bin/env python #vim:fileencoding=utf-8 import itertools import math import os import pygame from pygame import Rect from cfg import * def load_image(name): '''Return: image, image rectangle pair.''' fullpath = os.path.join(RESOURCE_PATH, name) image = pygame.image.load(fullpath) if image.get_...
[ "epdmitry@yandex.ru" ]
epdmitry@yandex.ru
8c07bb997a9c57cbe78d33f9d4148796158ad0c6
45f38bb8754d5144fbbdc72dbe0cc70b43cde8a7
/migration/trash/synonym2.py
957e0ba474b5cfd17c869281404d9e6aeabacada
[]
no_license
koyoru12/ShizuokaTrashNavi
aa2bec1e2b92fd0a6669840c373d7c715bc727e4
ed443c701f1250f9867e2d2c19f7ae9280ba663f
refs/heads/master
2020-04-27T07:46:29.644108
2019-03-21T02:16:57
2019-03-21T02:16:57
174,147,248
0
0
null
null
null
null
UTF-8
Python
false
false
1,817
py
import re import csv import uuid from dbconn import DatabaseConnection from settings import migrate_settings as SETTINGS trash_conn = DatabaseConnection.get_connection(SETTINGS['database_path']) trash_cursor = trash_conn.cursor() def import_csv(file_path): csv_file = open(file_path) return csv.DictReader(cs...
[ "koyoru12@yahoo.co.jp" ]
koyoru12@yahoo.co.jp
aca881e30875093e445b415e2338ebc303c5b3d1
30364152b551754ae4ef122e0ff9b4eb6c82d295
/user/migrations/0008_user_register_time.py
1ab56daa333270f291fe372f970ee7536c7cde52
[ "MIT" ]
permissive
darkliang/JudeeBE
fa16d2dcccf276a082200d5750ed02f929e85224
7e0ef9c9a69215c8ffd20cd09ddd300df1dec729
refs/heads/master
2020-08-18T09:49:45.997545
2020-03-08T04:49:46
2020-03-08T04:49:46
215,775,981
2
0
null
null
null
null
UTF-8
Python
false
false
494
py
# Generated by Django 2.2.7 on 2019-11-21 02:06 from django.db import migrations, models import django.utils.timezone class Migration(migrations.Migration): dependencies = [ ('user', '0007_auto_20191121_0205'), ] operations = [ migrations.AddField( model_name='user', ...
[ "11710911@mail.sustech.edu.cn" ]
11710911@mail.sustech.edu.cn
e0b1b9862bfdcbcd85808a3da492258a9d3be3b4
05148c0ea223cfc7ed9d16234ab3e6bb40885e9d
/Packages/matplotlib-2.2.2/examples/units/basic_units.py
be07f0c9fce57fe2c456d751270dfbe77b983ac9
[ "MIT" ]
permissive
NightKirie/NCKU_NLP_2018_industry3
9ee226e194287fd9088429f87c58c874e050a8b3
23ac13644b140587e23cfeffb114c7c6f46f17a2
refs/heads/master
2021-06-05T05:33:09.510647
2018-07-05T10:19:47
2018-07-05T10:19:47
133,680,341
1
4
MIT
2020-05-20T16:29:54
2018-05-16T14:43:38
Python
UTF-8
Python
false
false
10,875
py
""" =========== Basic Units =========== """ import six import math import numpy as np import matplotlib.units as units import matplotlib.ticker as ticker from matplotlib.axes import Axes from matplotlib.cbook import iterable class ProxyDelegate(object): def __init__(self, fn_name, proxy_type): self.pr...
[ "qwer55113322@gmail.com" ]
qwer55113322@gmail.com
928da74d5675d0c79228f461deb1e13f55008135
0ffa373c5dfe3f20739d6a646d5b0f5ca0f66b54
/utils/dataset.py
e0006687f823de977ad3c757857e3a357e74201d
[]
no_license
Mahmudulazamshohan/vgg16-image-classification
e31612336ea7dd823d0bcb2e2564ee9467a63182
eb45260db73d46c744f8e2d90d6b515e901c8b55
refs/heads/master
2022-09-02T12:54:58.908981
2020-05-31T16:49:01
2020-05-31T16:49:01
267,092,650
0
0
null
null
null
null
UTF-8
Python
false
false
285
py
import numpy as np def pretrain_dataset(): return np.load('weights/train.npy') def load_labels(): return np.load('weights/labels.npy') def save_dataset(data): return np.save('weights/train.npy', data) def save_labels(labels): return np.save('weights/labels.npy',labels)
[ "mahmudulazamshohan7@gmail.com" ]
mahmudulazamshohan7@gmail.com
ad0fac08a240ed3589c725d9032cea898daf0b13
99b116d1c3f64823e0867beb4d9a0568fb0e8eb8
/test_model.py
373a2da56af176eb783e7a664f3d393f0d856c57
[]
no_license
0205yes/softdrink-classifier
04917e0303568e6ae1f4cca4bb4805c12917c4a9
212f7f06556f031b16bdb5eb8948089c70fd608b
refs/heads/main
2023-04-21T03:33:36.084118
2021-05-06T17:00:30
2021-05-06T17:00:30
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,337
py
import os import tensorflow as tf from tensorflow.keras.preprocessing.image import ImageDataGenerator from tensorflow.keras.preprocessing import image from tensorflow.python.keras.models import load_model import numpy as np from set_vars import classes, test_dir, new_model_dir def test_model(model, files): acc_co...
[ "noreply@github.com" ]
noreply@github.com
8e3fa73798e6a5f4db6926aeb15688606a866cb0
f33cb8fbe1ba67e57288ade2fc59909f5fc48db0
/Client/venv/Scripts/easy_install-3.7-script.py
1ac2c5e93f3cd16cb0ce5b5bc26295e1679a9dc7
[]
no_license
Zombinn/VoteSysterm
cd0c3f289e8aa7ec4f1b68f93a99fc910148dfe0
212eccc86e04c5edb15bf128a9e06c9ca32f8060
refs/heads/master
2023-01-09T23:19:22.291579
2020-11-22T11:24:09
2020-11-22T11:24:09
312,867,463
0
0
null
null
null
null
WINDOWS-1252
Python
false
false
461
py
#!E:\¼ÆËã»úÍøÂç¿ÎÉè\Client\venv\Scripts\python.exe -x # EASY-INSTALL-ENTRY-SCRIPT: 'setuptools==39.1.0','console_scripts','easy_install-3.7' __requires__ = 'setuptools==39.1.0' import re import sys from pkg_resources import load_entry_point if __name__ == '__main__': sys.argv[0] = re.sub(r'(-script\.pyw?|\.exe)?$'...
[ "zyb5603@qq.com" ]
zyb5603@qq.com
84f29f68b65af4c479188bad5fe13eb540caa362
7fac5e7216c8f4328f21a14f9e222005890a57f8
/11_Actor_Critic_Advantage/refactor/CartPole/network.py
a91406a51ae6f89da620c63ac4298837c272d612
[]
no_license
ZhangRui111/MorvanRL
bee77d644df50ce9900be6ec7d702c395238fae4
ad443d56314427aa9ebe4af552dde0f5470da967
refs/heads/master
2021-04-14T12:05:14.657272
2019-03-26T02:28:31
2019-03-26T02:28:31
126,663,363
0
0
null
null
null
null
UTF-8
Python
false
false
1,786
py
import numpy as np import tensorflow as tf def build_actor_network(n_features, n_actions, lr): s = tf.placeholder(tf.float32, [1, n_features], "state") a = tf.placeholder(tf.int32, None, "act") td_error = tf.placeholder(tf.float32, None, "td_error") # TD_error with tf.variable_scope('Actor'): ...
[ "zhangruisg111@163.com" ]
zhangruisg111@163.com
418acbd366d52090308359359fd700121fa0ab19
f89bd745e96223513c03ab1a59d67a1a27eec715
/Python-Project/firefighter/gwrobolib/__init__.py
e2d19d122d3805c3b57c6be734b8d804858c3ae5
[ "MIT", "LicenseRef-scancode-unknown-license-reference" ]
permissive
Hakum-Lartey/2017-Firefighter
a462ac7320b0fb88cb7a3ab9dab69c5c686b0f2d
0d42eb37d7a0e19d7bef907f73837d53a11cd638
refs/heads/master
2021-06-22T10:43:35.442520
2017-04-05T20:07:59
2017-04-05T20:07:59
null
0
0
null
null
null
null
UTF-8
Python
false
false
189
py
# gwrobolib # Copyright 2017 GW Robotics # See LICENSE for details """ GW Robotics Library """ __version__ = '0.0.1' __author__ = 'GW Robotics' __license__ = 'MIT' from gwrobolib import *
[ "tranngocnam97@yahoo.com" ]
tranngocnam97@yahoo.com
b0b88e277c56283992b1ba38b41328a47c44402a
bf890b0fd6e4aab1544d96d444ed5e28ac27bba8
/pythalesians_examples/markets/paralleldata_examples.py
da8d1594d5d8fffe70687c0742f0ae7a69c7e782
[ "Apache-2.0" ]
permissive
femtotrader/pythalesians
24cfbb88d28a468d58498219d09d441f2209c2c7
febdfbabc9f99b0ae3eb0b20ce4c5ed6a34c0bbb
refs/heads/master
2021-01-17T23:59:10.220652
2016-08-20T15:46:54
2016-08-20T15:46:54
67,237,312
27
11
null
2016-09-02T16:15:34
2016-09-02T16:15:33
null
UTF-8
Python
false
false
9,279
py
__author__ = 'saeedamen' # Saeed Amen / saeed@thalesians.com # # Copyright 2015 Thalesians Ltd. - http//www.thalesians.com / @thalesians # # 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://...
[ "saeedamen@hotmail.com" ]
saeedamen@hotmail.com
e1ecdb9dddc1bcdc4da805d75772b02eead18e04
85a9ffeccb64f6159adbd164ff98edf4ac315e33
/pysnmp-with-texts/LIVINGSTON-PM4-MIB.py
aa942223a96f63f216f498a166e8bc9c5381dac9
[ "Apache-2.0", "LicenseRef-scancode-warranty-disclaimer", "LicenseRef-scancode-proprietary-license", "LicenseRef-scancode-unknown-license-reference" ]
permissive
agustinhenze/mibs.snmplabs.com
5d7d5d4da84424c5f5a1ed2752f5043ae00019fb
1fc5c07860542b89212f4c8ab807057d9a9206c7
refs/heads/master
2020-12-26T12:41:41.132395
2019-08-16T15:51:41
2019-08-16T15:53:57
237,512,469
0
0
Apache-2.0
2020-01-31T20:41:36
2020-01-31T20:41:35
null
UTF-8
Python
false
false
135,200
py
# # PySNMP MIB module LIVINGSTON-PM4-MIB (http://snmplabs.com/pysmi) # ASN.1 source file:///Users/davwang4/Dev/mibs.snmplabs.com/asn1/LIVINGSTON-PM4-MIB # Produced by pysmi-0.3.4 at Wed May 1 14:07:28 2019 # On host DAVWANG4-M-1475 platform Darwin version 18.5.0 by user davwang4 # Using Python version 3.7.3 (default, ...
[ "dcwangmit01@gmail.com" ]
dcwangmit01@gmail.com
38369a60ad247f19f2f3c5a6ca6ea3730df8b4ea
58259290601e1a35bf2303743269f577f58ad4e7
/audio.py
68fa89b0f162463303272623c7f8d63025ffdf7f
[]
no_license
notGivingUp/PYTHON-DSP
45b7063eefc486a63e461caed0b023f142a4991f
9e3050176d059c34cb54f01001d28603b99ae8db
refs/heads/master
2021-05-10T12:05:40.931158
2018-01-22T08:58:02
2018-01-22T08:58:02
118,430,939
0
0
null
null
null
null
UTF-8
Python
false
false
10,181
py
from tkinter import * from tkinter.ttk import Frame, Button, Style, Label from matplotlib.backends.backend_tkagg import FigureCanvasTkAgg from matplotlib.figure import Figure import numpy import numpy as np import wave import contextlib from scipy.io import wavfile # import sounddevice as sd class Example(Frame): ...
[ "hoxuanduc172@gmail.com" ]
hoxuanduc172@gmail.com
a25196a8f29cc48a0abcab0af5d74810790319c3
de24f83a5e3768a2638ebcf13cbe717e75740168
/moodledata/vpl_data/470/usersdata/281/112524/submittedfiles/Av2_Parte3.py
a4b0c34470239c11ef1a33686d04422e6413ad37
[]
no_license
rafaelperazzo/programacao-web
95643423a35c44613b0f64bed05bd34780fe2436
170dd5440afb9ee68a973f3de13a99aa4c735d79
refs/heads/master
2021-01-12T14:06:25.773146
2017-12-22T16:05:45
2017-12-22T16:05:45
69,566,344
0
0
null
null
null
null
UTF-8
Python
false
false
477
py
# -*- coding: utf-8 -*- m=int(input('Digite a quantidade de listas desejada: ')) for i in range(0,m,1): lista=[] n=int(input('Digite a quantidade de elementos da %d lista: ' %(i+1))) for i in range(0,n,1): lista.append(int(input('Digite o %d elemento dessa lista: ' %(i+1)))) media=sum(lista)/len...
[ "rafael.mota@ufca.edu.br" ]
rafael.mota@ufca.edu.br
a71ef68374913762fe7a2464d2a06799e0304138
135a93aa1c521c80d83038367c9293cad010ee47
/detect_mask_video.py
cc43cf07c9c6dd1b8643773d09e9bc7f9ea08cdd
[]
no_license
Kikyo1264/selectoptic
74eb8ff97a840f013722386153a15fe59b403b62
60ef79009e1a574cb2b41a60d4328539fe2ea1d2
refs/heads/main
2023-01-22T11:47:50.178621
2020-12-05T14:58:15
2020-12-05T14:58:15
318,801,299
0
0
null
null
null
null
UTF-8
Python
false
false
4,210
py
# import the necessary packages from tensorflow.keras.applications.mobilenet_v2 import preprocess_input from tensorflow.keras.preprocessing.image import img_to_array from tensorflow.keras.models import load_model from imutils.video import VideoStream import numpy as np import imutils import time import cv2 import os d...
[ "noreply@github.com" ]
noreply@github.com
75b561b5406589aa4620fdd70b2b1aa41f7f173b
49d94aae03550cd4cfc4590e617bafc1dffa7f7e
/scripts/intersect-tail-with-head.py
b13760ebe74e7c16b2185a53765e54c553121ebb
[]
no_license
vmanisha/entityAnalysis
01e0b95a1ba29c93ac44567a351bfc1b6f1eca03
e9209e6930a23198fb14a58e06ae8a6ed0c0f690
refs/heads/master
2020-06-06T14:46:08.402658
2014-10-31T15:48:08
2014-10-31T15:48:08
22,752,195
1
0
null
null
null
null
UTF-8
Python
false
false
438
py
#!/usr/bin/env python import sys def main(): head_queries = {} with open(sys.argv[1]) as head: for line in head: head_queries[line.split("\t")[0]]=1 with open(sys.argv[2]) as tail: with open(sys.argv[3],"w") as output: for line in tail: if (line.s...
[ "manisha.verma@research.iiit.ac.in" ]
manisha.verma@research.iiit.ac.in
7fb852b04434c3fa237af3b7bd89c067bec8d328
62dd63d1c0fab618575d00882122004b301d978d
/RTS/techRender.py
f1ae9756bc9b63eea1e9e34525ecb4d773533ae4
[]
no_license
benjamintomad/modo-scripts
4cb241ce9b7614a597581d3f6bef9e8ad55f9c36
a1b27eb7c3f7e5b2671ab4e8e871dea0a5835abc
refs/heads/master
2021-01-16T19:16:51.897211
2016-01-13T16:33:36
2016-01-13T16:33:36
21,005,240
0
0
null
2015-03-24T16:27:02
2014-06-19T15:21:41
Python
UTF-8
Python
false
false
1,441
py
# python import lx import os import modo import tank reload(tank) # scene = modo.scene.current() # # tk = tank.tank_from_path(r"w:\rts") # temp = tk.template_from_path(scene.filename) # # step = temp.get_fields(scene.filename)['Step'] # assetName = temp.get_fields(scene.filename)['Asset'] # assetType = temp.get_field...
[ "benjamin.tomad@gmail.com" ]
benjamin.tomad@gmail.com
10bede8a4f0b3d9d7746c90716585439ccf491dc
9dc137725be8ab131359820b6fee0b087da09ab7
/clan_unit.py
28fe4c216882717fc8479125d6f5cab9dacab40f
[]
no_license
swoogles/ClashOfClans
88f5842b08933c0b7d176258e01dbd94a1035051
71cee3532cf61d36ab39eecbb4d4f5e119e0becd
refs/heads/master
2021-01-01T05:32:38.493168
2014-08-30T03:05:37
2014-08-30T03:05:37
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,832
py
from numpy import array, random, linalg BLACK = (0, 0, 0) WHITE = (255, 255, 255) GREEN = (0, 255, 0) RED = (255, 0, 0) class Unit(object): # Define some colors _table = "unit" name = "Abstract Unit" width = 1 color = WHITE fill = 0 def __init__(self, level=1): self.level = level...
[ "bill.frasure@gmail.com" ]
bill.frasure@gmail.com
6aba3ced73c931303b47e07e10a5cae357364b9e
31ab01a0e8f8fe37ce1b7561de77916c0e0d5223
/optimisers/timer.py
6c2bd479a381fcdc10c03cc4158a6272b48bf8a8
[]
no_license
jakelevi1996/backprop2
1e392404432e6a18d55347050a82eeda8c41f37c
389dbb3c4f84f8498ea879980b82e2cf543e5441
refs/heads/master
2022-11-14T08:13:00.379250
2022-10-23T17:06:26
2022-10-23T17:06:26
162,126,784
0
0
null
null
null
null
UTF-8
Python
false
false
2,306
py
""" This module contains the Timer and TimedObject classes """ from time import perf_counter class Timer: """ Timer object, which can be shared between different classes, for example Result, Evaluator, Terminator, which all require access to a shared timer """ def __init__(self, t_lim=None): "...
[ "jakelevi@hotmail.co.uk" ]
jakelevi@hotmail.co.uk
641a500e6b10de6d078f37e63879a26490cda3da
ddbae4e3616ce77216c9d085b6ad831fe213232e
/tests/deepspeed/test_deepspeed.py
5f8cab68003f772d5d37922dadb279b3028a3976
[ "Apache-2.0" ]
permissive
asg0451/transformers
84e32f8815cf5bec02c71f2a85e64435f2d5c823
32290d87f6e1550cf251e318b9543dd1fdf54fd2
refs/heads/master
2023-08-21T16:26:00.326475
2021-06-08T15:36:15
2021-06-08T15:36:15
375,081,599
0
0
Apache-2.0
2023-09-06T17:32:57
2021-06-08T16:49:10
null
UTF-8
Python
false
false
37,168
py
# Copyright 2020 The HuggingFace Team. All rights reserved. # # 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 applicabl...
[ "noreply@github.com" ]
noreply@github.com
2c095792fbb4ab3f50aaabdd4912343dfe6bba50
de711dd6fbd6e30c75f2da329c3949e561e37af0
/Kniznica/games/views.py
615c6c1597758a15d1ced0d5151ca4f7f1fccb6c
[]
no_license
zurek11/Kniznica
47be816327065ba1f56566b3d8a7fd5cf42aff3e
97fba293eae65cd8d2a2935bfb0f6b7818f1fa2b
refs/heads/master
2022-12-15T16:20:40.985991
2020-06-25T08:19:35
2020-06-25T08:19:35
131,394,918
0
0
null
2022-12-08T09:34:47
2018-04-28T09:26:24
Python
UTF-8
Python
false
false
3,600
py
import logging import re import unidecode from django.core.paginator import Paginator from django.http import Http404 from django.shortcuts import render from register.models import Type, Product, Category, StatisticsProductUse def index(request): logged = False user_name = '' products_list = None pr...
[ "adamzurek14@gmail.com" ]
adamzurek14@gmail.com
e53efbe049c094e5be678421fe7672e4b5d7d7ad
89b74e49ae1fd52aa3445c474fd5293c4e6fd1f5
/personal_potfolio_project/portfolio/migrations/0002_auto_20210117_1804.py
ce63ec21a387f2fd29955bb56d38d06bb579b95a
[]
no_license
romainquere29/django
f3b749fdb488d3918d9ff24163fc0582d24dbd78
fa5243fa9eb45efdbc6f901317c5a60a65583d91
refs/heads/main
2023-03-02T13:21:32.930178
2021-02-13T09:50:45
2021-02-13T09:50:45
338,542,654
0
0
null
null
null
null
UTF-8
Python
false
false
342
py
# Generated by Django 3.1.5 on 2021-01-17 17:04 from django.db import migrations class Migration(migrations.Migration): dependencies = [ ('portfolio', '0001_initial'), ] operations = [ migrations.RenameModel( old_name='Project', new_name='MyProject'...
[ "rquere@tribvn-hc.com" ]
rquere@tribvn-hc.com
8097cd76dfdb17a5f56a6669d5f06e4bfe40892f
733d611026eb6c816a8ac35a7f5b397cd07e4e55
/guestbook/gb_con.py
fb18b056ca979654cf8ba6e5d28f66e2dab0293f
[]
no_license
DeVeom/pyweb
9bfb26e3256ca255ca7e27520d79b50068ca567a
8c21eb7171b64fcfa826116b9b37cf605ce488ef
refs/heads/master
2022-04-03T02:46:40.644838
2020-01-14T05:11:52
2020-01-14T05:11:52
null
0
0
null
null
null
null
UTF-8
Python
false
false
3,324
py
from flask import Flask, request, render_template, session, redirect, url_for from db_con import * app = Flask(__name__) app.config["SECRET_KEY"] = "3vdTWLLW25b05EZCbd_gIQ" #게시판 컨트롤러 #글쓰기 @app.route('/write/') def write_con()->'html': return render_template('write.html') #글쓰기 컨트롤 @app.route('/write_db/', methods...
[ "geekhaam@gmail.com" ]
geekhaam@gmail.com
4243066e38fc996fe0cc5a456c6976896605c8e7
ebb12c398ec1ecf9abe79ec2a8f7048b0bfaeb36
/server.py
b74b0425b9d60ec85fb50b169d1d90b93be6430d
[]
no_license
shiyayonn/unscrambl_assessment
ebc95fef9aea1df9996ae460cd39fb46b29603da
10361428e577ec0d29b80d3172c2aae3a1f3e559
refs/heads/master
2022-12-09T07:20:08.159806
2020-09-28T10:58:03
2020-09-28T10:58:03
299,276,631
0
0
null
null
null
null
UTF-8
Python
false
false
1,157
py
import json from flask import Flask from flask import jsonify from methods import * app = Flask(__name__) @app.route("/assignment/transaction/<int:id>") def getTransactionById(id): data = {} record = TransactionById(id) if(record == False): return jsonify({"Message":"No record was found"})...
[ "ysonconcepcion@gmail.com" ]
ysonconcepcion@gmail.com
f3bb31c5b3e0097237eea1155694ed19ff7e560d
176e6ffbf4187cabf0271b446d3a201db4be8c8f
/bodb/authorization.py
3deb28e077f63cce5afc14a4577e4ff84fe64713
[]
no_license
uscbp/bodb
49af42a2a75fae01be0a699b5942466c3959f610
bf4920f2af813636aef913f1eedbc0e3cdc2ce1e
refs/heads/master
2021-03-27T11:52:44.372581
2016-11-17T14:38:14
2016-11-17T14:38:14
15,534,301
0
0
null
null
null
null
UTF-8
Python
false
false
2,739
py
from tastypie.authorization import Authorization from tastypie.exceptions import Unauthorized from bodb.models import * class BODBAPIAuthorization(Authorization): def read_list(self, object_list, bundle): q=Document.get_security_q(bundle.request.user) return object_list.filter(q) def read_det...
[ "mwinter@unboundedpress.org" ]
mwinter@unboundedpress.org
64b3b19617750c864e2a4ba97f8d5091be077485
23bd415bbe8a4c714a0f59b42ff3c533d7dffbb2
/vot_siamfc_3D_v1_2/siamfc_mine/dataloader.py
1ab3a9b8f6c8c557a9f9f196e0751ff69ad59c24
[]
no_license
khw11044/PlenOpticVot_Siamfc_2020
04269e1881ceba550975c0a84d489b6a5f0244f8
6315eda7e54e5ee8e77e9eb55ffddeef0fc9b1b2
refs/heads/master
2023-07-04T02:11:19.375740
2021-07-31T12:59:19
2021-07-31T12:59:19
312,847,472
0
0
null
null
null
null
UTF-8
Python
false
false
1,768
py
import os import argparse import cv2 import numpy as np from glob import glob from PIL import Image def dataLoader_img(video_name,locateframe): filelist = [] root_dir = video_name for (root, dirs, files) in os.walk(root_dir): if len(dirs) > 0: for dir_name in dirs: if d...
[ "khw11044@gmail.com" ]
khw11044@gmail.com
e49ef0beb9df247be1e2e07453f35d25f74ddbbc
52b6560a9bc096df7803459c92a261d4878e3377
/earleyparser.py
d404628055ed13996510e51af5279cd662583d3a
[]
no_license
ajeya-bhat/new_earley
e870a94791132737b06466ab06bd1df926abe4cc
83fc9d326268a628e32f5087edd39fb85d846d4d
refs/heads/master
2023-04-09T08:57:22.267629
2021-04-08T16:52:21
2021-04-08T16:52:21
355,962,516
0
0
null
null
null
null
UTF-8
Python
false
false
8,285
py
import argparse import sys import os import string from collections import defaultdict from nltk.tree import Tree class Rule(object): """ Represents a CFG rule. """ def __init__(self, lhs, rhs): # Represents the rule 'lhs -> rhs', where lhs is a non-terminal and # rhs is a list of non-terminals and terminal...
[ "ajeyabs@gmail.com" ]
ajeyabs@gmail.com
eb8c10b039bfd5279a3863efc1aa2b22a486d2c9
971348f300d55be3c83580fa17a86939ffd00de1
/assets/migrations/0002_auto_20171208_1359.py
1d7f98f9864002a55f3196e4ca769b34cae6cbfb
[]
no_license
UnicornSymbol/hxoms
6eef8c04e4eda81b2d3c59a21ba3c3c3c87910c9
6b12b1926df46d77c779cdd3009ae0246447b66f
refs/heads/master
2021-05-14T20:23:52.037501
2018-03-16T07:42:11
2018-03-16T07:42:11
113,306,083
2
0
null
null
null
null
UTF-8
Python
false
false
1,898
py
# -*- coding: utf-8 -*- # Generated by Django 1.9.5 on 2017-12-08 13:59 from __future__ import unicode_literals import assets.models from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('assets', '0001_initial'), ] operations = [ migrations.R...
[ "623882484@qq.com" ]
623882484@qq.com
5c40044346818fa4a6f0a6df9b47198cae9db72d
965a4651890f8ac0a9f4c7f315529f36ab659268
/etwist/etwist.py
924c1eda1affbcb9bdaf1daaff560f100aa818c7
[ "Apache-2.0" ]
permissive
sabaini/emkuu
d27aba3e31ea8734d6b1bebc13f8e48db00ad7da
4953ff96e15eeb1659c16400e5f61be0daf277b4
refs/heads/master
2021-03-12T22:15:47.372700
2010-08-13T17:26:29
2010-08-13T17:26:29
null
0
0
null
null
null
null
UTF-8
Python
false
false
4,689
py
import logging from xml import sax from zope.interface import implements from zope.component import getGlobalSiteManager, getUtility, queryUtility import twisted from twisted.internet.protocol import Protocol, ClientFactory from twisted.internet import reactor, defer from twisted.python import components import emku...
[ "peter@sabaini.at" ]
peter@sabaini.at
27da08cfa78217f9a5c0fc73b6cccf72ff2e25ac
69a2f0c4419d0bf39d2fe46e8ff2ee117eaf237a
/mutilprocess/test.py
5b992fe9cd521106dc327da20aafd0555f827fc5
[]
no_license
lxy5513/python
7da339e8ef6e2fa827e2da723c0f4e3595e11e04
228c3e631e642228de659e68f98ea938bcb2509f
refs/heads/master
2020-03-27T03:21:03.582842
2020-01-17T00:39:57
2020-01-17T00:39:57
145,855,837
0
0
null
null
null
null
UTF-8
Python
false
false
817
py
import multiprocessing import time import collections Queue = collections.deque(maxlen=10) def consume(interval): while True: print("Queue: ", Queue) if len(Queue) == 0: print("no data") time.sleep(0.5) else: num = Queue.pop() print("Num: ", ...
[ "lxy5513@gmail.com" ]
lxy5513@gmail.com
d47788e04577cf96cfacf288e50dc9c0ec8ba4ad
5075934450c3b267a347a01604b68e6300dd9a63
/Tarea_4/Array.py
66fe1f0a5f92f8ea3323b62afebb97b95d4a6274
[]
no_license
JarethManrique/edd_1310_2021
b68a7002bf46ad25a5c91e6b1cb09870de13a3d7
5a01948cc39c2a5a05873d5f5abcf4b8004bd4e1
refs/heads/master
2023-02-22T14:09:48.163755
2021-01-26T18:55:11
2021-01-26T18:55:11
299,690,191
0
0
null
null
null
null
UTF-8
Python
false
false
1,053
py
class Array: def __init__(self,tam): self.__info = [0 for x in range(tam) ] def get_item(self,posicion): dato = -1 try: dato = self.__info[posicion] except Exception as e: print("error de posicion") dato = "error" return dato def ...
[ "yarethmanrique@gmail.com" ]
yarethmanrique@gmail.com
9da339758ae02de67a2fc145c94fe84fa5a78291
b540881f6d6db128f1cc30e6ab88d1d686a8bb59
/train_tb.py
6fe4a357d58acf1c82474b95fdace042f8f26a34
[ "Apache-2.0", "MIT", "LicenseRef-scancode-unknown-license-reference", "BSD-2-Clause" ]
permissive
TracelessLe/stylegan2-pytorch
2a1ec2c6db32d516437d2c821104dcf90ecf73cf
484237d2b971906cfaabaf6bca6d225afb99a754
refs/heads/master
2023-08-30T14:20:03.299685
2021-10-18T13:31:07
2021-10-18T13:31:07
416,154,508
0
0
NOASSERTION
2021-10-12T02:26:45
2021-10-12T02:26:44
null
UTF-8
Python
false
false
18,862
py
import argparse import math import random import os import time import numpy as np import torch from torch import nn, autograd, optim from torch.nn import functional as F from torch.utils import data import torch.distributed as dist from torchvision import transforms, utils from tqdm import tqdm from ten...
[ "tracelessle@163.com" ]
tracelessle@163.com
1b611b721f8c8b246e16af69e02d8583d26b2d75
44bf3fc2af5de97c3bb4803b2048f4f5fac3f4b1
/learning_templates/basicapp/views.py
cf29b043d79f4c8c50227cc1987055c845acf900
[]
no_license
gyanvardhan7/django-deployment-example
20e7e5855dfe2107418088f2f26cd33e71bf54f5
8ea9aaef1f47719325cc606458b9da1a5fd5ea29
refs/heads/master
2021-01-02T08:18:30.632452
2017-08-01T17:41:58
2017-08-01T17:41:58
98,991,918
0
0
null
null
null
null
UTF-8
Python
false
false
363
py
from django.shortcuts import render # Create your views here. def index(request): context_dict = {'text':'hello world','number':100} return render(request,'basicapp/index.html',context=context_dict) def other(request): return render(request,'basicapp/other.html') def relative(request): return render(...
[ "vardhangyan3@gmail.com" ]
vardhangyan3@gmail.com
e41e207d7e1effbd92680d3cc30d14ea00d3cf54
b4dad46c4b2639e68effa88a08612f9997c6c573
/project/src/api/ticket_feedback.py
099ee93ae468d794aacead617b71a6c557022a04
[]
no_license
AutograderUCSD/Queues-Backend
1cc5c03892c94580c8b8ad544dfc110256e45b6f
64b69182b0aafe353b1ab314e8b7647f8ff73ba0
refs/heads/master
2023-04-20T01:51:51.733761
2021-05-17T22:39:34
2021-05-17T22:39:34
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,829
py
from flask_cors import CORS from flask_login import login_required, current_user from flask import Blueprint, request, jsonify from ..models.ticket import Ticket from ..models.ticket_feedback import TicketFeedback, Rating feedback_api_bp = Blueprint('feedback_api', __name__) CORS(feedback_api_bp, supports_credential...
[ "noreply@github.com" ]
noreply@github.com
1648baed214078a8926589e49711518dd6f5a517
49f61714a6f78d984fd2194d6064d84e891bc5b7
/2019-1/220/users/4258/codes/1647_2445.py
e74ad3e0112c554a5f274784d793ec04694fb134
[]
no_license
psbarros/Variaveis3
b5c4e1517e7d94a846ee03791d25d5821a1c651c
3dcf6f810709ce03c78335acf9533e008a2ae125
refs/heads/master
2023-06-13T07:05:00.878430
2021-07-06T17:51:37
2021-07-06T17:51:37
383,549,597
0
0
null
null
null
null
UTF-8
Python
false
false
207
py
escala = input("Escolha C para Celsius, ou F para Fahrenheit: ") temp = float(input("Temperatura: ")) c = (5/9)*(temp - 32) f = ((9/5)*temp) + 32 if(escala == "C"): print(f) if(escala == "F"): print(c)
[ "psb@icomp.ufam.edu.br" ]
psb@icomp.ufam.edu.br
aca102ba379f86d774530313c359be0ea25547c8
747f759311d404af31c0f80029e88098193f6269
/extra-addons/hr_attendance_analysis/interface.py
01271421ed420fa708a35f11eb536752ed1a9217
[]
no_license
sgeerish/sirr_production
9b0d0f7804a928c0c582ddb4ccb7fcc084469a18
1081f3a5ff8864a31b2dcd89406fac076a908e78
refs/heads/master
2020-05-19T07:21:37.047958
2013-09-15T13:03:36
2013-09-15T13:03:36
9,648,444
0
1
null
null
null
null
UTF-8
Python
false
false
2,712
py
# -*- encoding: utf-8 -*- ############################################################################## # # Clock Reader for OpenERP # Copyright (C) 2004-2009 Moldeo Interactive CT # (<http://www.moldeointeractive.com.ar>). All Rights Reserved # $Id$ # # This program is free software: you can redistribu...
[ "geerish@omerp.net" ]
geerish@omerp.net
769afb7623da0289c6dc97015f9e4fa301f95254
acb8e84e3b9c987fcab341f799f41d5a5ec4d587
/langs/5/mzm.py
3ec62cfc159dc28f0f1be15728991241acff646f
[]
no_license
G4te-Keep3r/HowdyHackers
46bfad63eafe5ac515da363e1c75fa6f4b9bca32
fb6d391aaecb60ab5c4650d4ae2ddd599fd85db2
refs/heads/master
2020-08-01T12:08:10.782018
2016-11-13T20:45:50
2016-11-13T20:45:50
73,624,224
0
1
null
null
null
null
UTF-8
Python
false
false
486
py
import sys def printFunction(lineRemaining): if lineRemaining[0] == '"' and lineRemaining[-1] == '"': if len(lineRemaining) > 2: #data to print lineRemaining = lineRemaining[1:-1] print ' '.join(lineRemaining) else: print def main(fileName): with open(fileName) as f: for line in f: ...
[ "juliettaylorswift@gmail.com" ]
juliettaylorswift@gmail.com
3c564b99140d76bb4a4319fc75ad1861e7dc024e
cb66762a849455d5955afd69db21586ba61c1b9c
/blog/sitemaps.py
be45d99b7b0e16383d21f05a865b8b09cfbcda9c
[]
no_license
ilnurgi/website
e4ad35061d0edeb93a1aa020ff57ab0a9fb366ba
ca54fcfd2e67b97634e8cb802a4cfed314f1a396
refs/heads/master
2021-01-24T10:35:42.985453
2017-12-16T17:14:55
2017-12-16T17:14:55
39,440,066
2
1
null
null
null
null
UTF-8
Python
false
false
497
py
# coding: utf-8 from django.contrib.sitemaps import Sitemap from .models import Post class BlogSitemap(Sitemap): changefreq = "weekly" priority = 0.5 def items(self): return Post.objects.filter(published=True) def lastmod(self, obj): """ :param obj: :type obj: Post...
[ "ilgayfut@mera.ru" ]
ilgayfut@mera.ru
d7dbf831295933c7978f3753cabb23510160f5f5
88165c107bacc215d9c3eaee89f1d31d8c736a51
/Pygame/test_dirty/test_dirty_v6.py
eacf8171a5e2733e97c78cb7f78dbd40ffd5d909
[ "MIT" ]
permissive
Pharaoh00/My-Experiments
9490afcaa71a69a949ee90efbd03cbe594917a28
2c761d04500e2ba9778feb4a66641d4565da5040
refs/heads/master
2021-04-28T08:07:25.735514
2018-03-15T14:04:43
2018-03-15T14:04:43
122,241,822
0
0
null
null
null
null
UTF-8
Python
false
false
3,463
py
#-*- coding:utf-8 -*- #test_dirty_v6.py import pygame from pygame.locals import * pygame.init() #pygame.key.set_repeat(250, 25) s_width = 600 s_height = 600 clock = pygame.time.Clock() fps = 30 running = True game_screen = pygame.display.set_mode((s_width, s_height), pygame.DOUBLEBUF) background = p...
[ "noreply@github.com" ]
noreply@github.com
883182e36ae3c57c73a7b281ee795b79299603a9
191fbcc96b9f0c74b88b001003f024064c973753
/gateware/rtl/platform/syzygy/boson.py
8ca2d666a8022c603a68c64631c4c2278825ce82
[ "BSD-2-Clause" ]
permissive
gregdavill/boson-eth-firmware
f0b5895469260e414b90cd7e7e0fad37a5728159
056843c43fac6486114bfb916fb78a4f7d38e87c
refs/heads/main
2023-08-24T12:55:10.648741
2021-10-15T00:28:16
2021-10-15T00:28:16
374,504,758
1
0
null
null
null
null
UTF-8
Python
false
false
2,166
py
# This file is Copyright (c) 2020 Gregory Davill <greg.davill@gmail.com> # License: BSD from litex.build.generic_platform import * def boson_syzygy_r0d1(syzygy_id=0): _id = f'SYZYGY{syzygy_id}' return [ ("Boson", 0, Subsignal("data", Pins(f'{_id}:S27 {_id}:P2C_CLKN {_id}:D5P {_id}:S26 \ ...
[ "greg.davill@gmail.com" ]
greg.davill@gmail.com
fbdf8f7eb7a94a0c622ef52e62168d56f6834aa6
d3f167a5c5e114c51a4dda0037117c7cb9733410
/book/urls.py
90f62a97d31fecff6910cab488c1538e4b43fe52
[]
no_license
BaselAllam/books
3fb41bc566726e2ceef2595267fe4ecba186fcc8
63acfe154237206af79186bd86fbaade8729c471
refs/heads/master
2023-03-04T03:29:25.596466
2021-02-12T15:59:47
2021-02-12T15:59:47
329,945,857
1
0
null
null
null
null
UTF-8
Python
false
false
523
py
from django.urls import path from . import views from django.conf.urls.static import static from django.conf import settings from .views import BookListView, AddBook urlpatterns = [ path('books/', views.first_view), path('search/<int:id>/', views.search), path('bookListView/', BookListView.as_view()), ...
[ "baseljahen@gmail.com" ]
baseljahen@gmail.com
21b8c9f44927459be125440bea1eff530f530da0
040236bf3bb45826c0bbc39e7432512ff420a0d1
/geomk/api/serializers.py
6c022a859e6e149bbc1d0f638e27c128eb57e92b
[]
no_license
ThiagoDiasV/parking-lot-api
2768baf8921b9dc087616def8c93ccc4f2fe8cf5
5cb3f687099bea59740b0034aeebf9a65b791358
refs/heads/master
2022-12-13T02:25:50.754524
2020-02-12T12:08:32
2020-02-12T12:08:32
232,959,041
4
3
null
2022-03-08T21:10:08
2020-01-10T03:36:52
Python
UTF-8
Python
false
false
991
py
from .models import Car from rest_framework import serializers class CarSerializer(serializers.ModelSerializer): class Meta: model = Car fields = "__all__" read_only_fields = ["entry_time", "left_time", "time", "paid", "left"] def create(self, validated_data: dict) -> Car: """...
[ "thiago76ers@gmail.com" ]
thiago76ers@gmail.com
4e57e9f8afef32608fce5b2ef3be8fcca3d039e4
2f1fd98a76e54320815f5155e10e29937f53fcae
/ex20.py
dacfba32ece4e6030f2b3ee8a27a4aa47cc6a57f
[]
no_license
260964595/homework-yichun
354980b31e871ef201559d30ede478918aa43a59
efa96a62f1cb7dbaeff6107baa849c6ee448553c
refs/heads/master
2016-09-05T15:13:36.476980
2014-02-14T07:28:53
2014-02-14T07:28:53
null
0
0
null
null
null
null
UTF-8
Python
false
false
585
py
from sys import argv script, input_file = argv def print_all(f): print f.read() def rewind(f): f.seek(0) def print_a_line(line_count, f): print line_count, f.readline() current_file = open(input_file) print "First let's print the whole file:\n" print_all(current_file) print "Now let's rewind, kind of like a...
[ "260964595@qq.com" ]
260964595@qq.com
2a6b069781e6adb8ea16670f2ff1a3dde7106cb2
f34beda2769fb98aaf118d13319da541a2203963
/recipes/migrations/0002_recipe_image.py
8f3067e956a56b53d31b89dc7e279ac391e73ce6
[]
no_license
MacLure/recipeapp
4839a6d5b49f3b50aeaea31885e1bbe14b2ec9eb
5480ba45fe6d40e69d8a2dc2862088e6eaf17d80
refs/heads/master
2020-05-07T10:35:02.192346
2019-04-20T01:16:01
2019-04-20T01:16:01
180,423,555
0
0
null
null
null
null
UTF-8
Python
false
false
407
py
# Generated by Django 2.0.7 on 2019-04-13 15:17 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('recipes', '0001_initial'), ] operations = [ migrations.AddField( model_name='recipe', name='image', fiel...
[ "malcolm.maclure@gmail.com" ]
malcolm.maclure@gmail.com
719262b20195418ddb0703cd539e1a2d6e1886cf
e19214b0aab18702ce9eb1e805d9506a080d9be8
/Python/print_neat.py
ba0ce81fb234b3b1a05bd78b4df415ccf4c6ebdb
[]
no_license
titanspeed/PDX-Code-Guild-Labs
8bb62ba1efe4e85e61ac77325e4d86079eb52d17
c32dc22fd92d1e27ba0e522a9a8da95c38df4a53
refs/heads/master
2021-01-19T00:02:51.407727
2017-06-07T03:53:36
2017-06-07T03:53:36
87,141,638
0
0
null
null
null
null
UTF-8
Python
false
false
271
py
def pretty_print(str): phonum = str phonum1 = list(phonum) phonum1.insert(0, '(') phonum1.insert(4, ')') phonum1.insert(5, ' ') phonum1.insert(-4, '-') phonum2 = ''.join(phonum1) print(phonum2) pretty_print(input('What phone number?: '))
[ "titanspeed@gmail.com" ]
titanspeed@gmail.com
7f62f140a16b71334fc63c2066e776c649adea4c
2fb266cb1860008187cdec533d0970183d107e58
/server/jencode.py
6a546f1e97143abc96e21c3693576df8f3cafc95
[ "MIT" ]
permissive
bizet/xpmanager
d12fe1e16bee227da825297ec4f5f7290182fa2a
3f5e62e894c5a4df42d610016a22179726b9d621
refs/heads/master
2021-01-22T21:32:16.865883
2013-11-04T08:18:35
2013-11-04T08:18:35
null
0
0
null
null
null
null
UTF-8
Python
false
false
364
py
import os,sys sys.path.append(os.path.dirname(os.path.realpath(__file__))) import json import datetime class JEncoder(json.JSONEncoder): def default(self, obj): if isinstance(obj, datetime.datetime): return str(obj.strftime('%Y-%m-%d')) if isinstance(obj, datetime.timedelta): return str(obj) ...
[ "bizet.cn@hotmail.com" ]
bizet.cn@hotmail.com
6bd46a4f4244ba797acee64d6fc5e3adb9325864
5fe35ca981886c8ec689af788ac6b8db8291b4a0
/SEBEphen/Spring_scenarios.py
4e4d93b8e67033680ffa80f2af8dbf0e8d4abfe9
[]
no_license
DienesB/VG2.0
cba5e04181f2b5dbd07cdc47fc272f3a87493976
ad9d5fed803e8b1ae28c5a1aa9dbf1cc67809ebe
refs/heads/master
2020-04-26T05:56:48.964595
2019-08-23T07:45:14
2019-08-23T07:45:14
173,349,210
0
0
null
null
null
null
UTF-8
Python
false
false
2,093
py
# Author: Balazs Dienes # Contact: dienes.balazs88@gmail.com # Incorporating mean spring temperature for the calculation of leaf density and transmissivity. # Three scenarios are possible: "warm spring", "cold spring", and "no spring temperature". #Import libraries import numpy as np def scenario(): ...
[ "noreply@github.com" ]
noreply@github.com
00d0a14e123abd54a6e59a43184ae690361ef49d
acbb6e1e33cf2c5dae45c73e3d07723ce21f1cf9
/migrations/versions/ad4630b5d9d4_followers.py
6b6dd161cc165a486f3c1637ff7b444302d21143
[]
no_license
Tur-4000/microblog
24edde54599937bc97bf782861868fea0f57814e
24de02ed7c1d417b68171079dc366833f7d2e6c7
refs/heads/master
2022-05-25T22:16:10.609591
2018-08-02T20:34:40
2018-08-02T20:34:40
141,682,858
1
0
null
2022-05-25T00:20:33
2018-07-20T08:05:00
Python
UTF-8
Python
false
false
840
py
"""followers Revision ID: ad4630b5d9d4 Revises: 6f99f9ee47c0 Create Date: 2018-07-24 17:35:58.696784 """ from alembic import op import sqlalchemy as sa # revision identifiers, used by Alembic. revision = 'ad4630b5d9d4' down_revision = '6f99f9ee47c0' branch_labels = None depends_on = None def upgrade(): # ### ...
[ "tur.4000@gmail.com" ]
tur.4000@gmail.com
a5605a7eed477479e64e9c5d8da412bf6716d2cc
05a5431bdc547cfa762d8af680e7c5e9a660324a
/clock.py
ff4a780d7b350422cdd8aa2487c3085fe7f540f6
[]
no_license
CWRatliff/Rover
4f1ee0f0d5496cd8474b370973b560d431f536a3
84330a43f1bafdbb657dec68694cca2271d56a31
refs/heads/master
2023-09-03T20:00:40.993436
2023-08-25T16:45:40
2023-08-25T16:45:40
157,921,594
1
0
null
null
null
null
UTF-8
Python
false
false
3,753
py
import tkinter as tk import tkinter.font as tkFont import time ############################################################################### # Parameters and global variables # Default font size font_size = -24 # Declare global variables root = None dfont = None frame = None dtime = None # Global variable to reme...
[ "noreply@github.com" ]
noreply@github.com
b54dbcbba5b87d5e208a4286878095d159ab7260
4f75cc33b4d65d5e4b054fc35b831a388a46c896
/test_watchlist.py
395cd36afd93c199d6f54cfb098279bd0d6044b4
[]
no_license
Lr-2002/newpage
c3fe2acc451e24f6408996ea1271c61c321de702
c589ad974e7100aa9b1c2ccc095a959ff68069b6
refs/heads/main
2023-09-03T06:13:53.428236
2021-11-23T10:41:21
2021-11-23T10:41:21
402,606,000
0
0
null
null
null
null
UTF-8
Python
false
false
8,048
py
from os import name from re import A, T import unittest from app import app, db, Movie, User class WatchlistTestCase(unittest.TestCase): def setUp(self): app.config.update( TESTING = True, SQLALCHEMY_DATABASE_URI = 'sqlite:///:memory:' ) db.create_all() ...
[ "2629651228@qq.com" ]
2629651228@qq.com
422a6f41954d22664da8ac08cf79aa26bcbc3704
dc420a558136bfb98df8f36b68fc84fe01e38547
/Step 3 - Splice video and Find TenOfTen.py
547e33c19c40d381871bc4134d8bf22ac6eea633
[]
no_license
NukeWolf/CNN-10-Pun-Compilation-Editor-Scripts
da8bdb527fcd900d78dd53e44bf66e42d3de7195
dbbb956e63b90f08e1466714c0e4e609ccd517cc
refs/heads/master
2023-02-16T13:28:58.467972
2021-01-19T03:43:23
2021-01-19T03:43:23
330,854,611
0
0
null
null
null
null
UTF-8
Python
false
false
2,423
py
#Purpose: After downloading the videos and placing each video in its own folder, #With names corresponding to integers, this code will go into each folder and splice # Each video into the last 300 seconds of each video. import pytesseract import cv2 import time import os import yaml with open('videos.yaml','r') as f:...
[ "smart.alex.huang@gmail.com" ]
smart.alex.huang@gmail.com
f5a58c9ab3eef65eed0d84473d1c97fa5542387a
c4a5052afa22f900d3f15adf3a4545149b43e044
/elomerchant/src/models/train_model_4.py
da08d4c3a25d534fb021ead9ae3aefa73df4c40a
[ "MIT" ]
permissive
nehaboob/Kaggle
e888ff50a19411fb0f92751324236542b694d6b3
84e70960371b81120e8f299f1f7d5732d6d280c4
refs/heads/master
2020-09-26T04:46:22.902956
2019-12-06T19:56:35
2019-12-06T19:56:35
226,168,128
0
0
null
null
null
null
UTF-8
Python
false
false
9,942
py
import click import logging from pathlib import Path from dotenv import find_dotenv, load_dotenv import pandas as pd import numpy as np from sklearn.model_selection import StratifiedKFold, KFold from sklearn.metrics import confusion_matrix,accuracy_score, roc_curve, auc from sklearn.metrics import mean_squared_error f...
[ "noreply@github.com" ]
noreply@github.com
7b11a217c464081c230ff8cc59f4bce2964fcaed
6f791fe957d702a7de9030c1e75edff435ad941f
/Opdracht 8/Opdracht 8.3.py
0cfd7b0a8aff99c4d9e9295c088c91e647a9900d
[]
no_license
brunhildevink/Python-exercises
10386830c998771500b16ce778d566bd178945d2
58a008737d9434f52f21a1bef0d99f0606d93b8e
refs/heads/master
2021-08-10T12:06:42.410011
2017-11-12T15:01:00
2017-11-12T15:01:00
null
0
0
null
null
null
null
UTF-8
Python
false
false
196
py
def code(input): input = input('Geef je naam en bestemming: ') data = list(input) output = str(''.join(str(ord(c) + 3) for c in data)) print(output) return output code(input)
[ "brunhilde.vink@student.hu.nl" ]
brunhilde.vink@student.hu.nl
6be33a60eeaa0a45b7f2af9452a5253e7dc448f9
ca7450c44c593b4261b8be73c482cf223519ce76
/venv/bin/rst2odt_prepstyles.py
bc7e0f2cff2e81ab34ea08f9e18ca331d5ca4cbe
[ "MIT" ]
permissive
danielbandeir/ExpoPoisson
57fa931a70f770ca518575544db49e8799ccbe03
861289f7d9df9ea66fcedbafc3fc9f764b4aa5fd
refs/heads/master
2020-03-19T02:23:18.307185
2018-11-06T19:48:23
2018-11-06T19:48:23
135,624,413
1
0
null
null
null
null
UTF-8
Python
false
false
1,738
py
#!/home/daniel/Documentos/git/ExpoPoisson/venv/bin/python3 # $Id: rst2odt_prepstyles.py 5839 2009-01-07 19:09:28Z dkuhlman $ # Author: Dave Kuhlman <dkuhlman@rexx.com> # Copyright: This module has been placed in the public domain. """ Fix a word-processor-generated styles.odt for odtwriter use: Drop page size specifi...
[ "bandeirapbdaniel@gmail.com" ]
bandeirapbdaniel@gmail.com
da085176e2dd3c04b3ee9aeea6d02d5e23df5e7d
2b33418f6f375792a0c95cb07706b4de55a35178
/meregistro/apps/consulta_validez/forms.py
1f99508c81de5852c8b90e726bc43433874b0284
[ "BSD-3-Clause" ]
permissive
MERegistro/meregistro
23afc8fdb48eb855fa611d87c6bcfee1bcbed6d6
6cde3cab2bd1a8e3084fa38147de377d229391e3
refs/heads/master
2021-01-19T01:23:57.227561
2017-12-05T18:45:02
2017-12-05T18:45:02
1,250,928
0
0
null
2012-09-05T13:54:43
2011-01-13T14:55:42
Python
UTF-8
Python
false
false
4,801
py
# -*- coding: UTF-8 -*- """ from django import forms from apps.registro.models import Jurisdiccion, TipoGestion from apps.consulta_validez.models import UnidadEducativa, Titulo """ from django import forms from apps.validez_nacional.models import ValidezNacional from apps.registro.models import Establecimiento, Anexo...
[ "luciano.baraglia@gmail.com" ]
luciano.baraglia@gmail.com
2997912da47e388f1a2e1ac36aac7890aec2dbb0
37e84e4169a43f1299f4955c5ce02d6c84ebd08d
/yohack/migrations/0003_auto_20200426_1011.py
12f23d4c877a8845a91fb9ab400217767faf1381
[]
no_license
evgenii-ivanov/yohack-2020-scrapping-psychlogy
0588aa92d4a3de9103c1aaa436e8d5a4c7cec96d
7df86b01f1ffd36e07e6edaba4ee584cb806afa6
refs/heads/master
2022-04-25T05:20:23.452088
2020-04-26T14:27:16
2020-04-26T14:27:16
258,707,697
0
0
null
null
null
null
UTF-8
Python
false
false
1,553
py
# Generated by Django 3.0.5 on 2020-04-26 07:11 from django.conf import settings from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): dependencies = [ migrations.swappable_dependency(settings.AUTH_USER_MODEL), ('yohack', '0002_userinter...
[ "timeescapenow@gmail.com" ]
timeescapenow@gmail.com
2731797098fb1c664c1170bf19c72783be7e9407
a0a4bda67eacbc1fe922591e12fdc5bf1f13a9c0
/power_method.py
4297c28b21357dce495b58529353cf33820a75a4
[]
no_license
zzag/codesamples
cdd713a62e08480988f3372d33d0e8ca1c326d7b
de3496cd572d4b27f9781078c69b23df22ad7c18
refs/heads/master
2023-01-21T05:44:34.628273
2023-01-09T11:20:39
2023-01-09T11:20:39
133,409,760
4
1
null
null
null
null
UTF-8
Python
false
false
549
py
import numpy as np def power_method(M): b = np.ones(M.shape[0]) for i in range(10): _b = b / abs(b).max() b = M.dot(_b) eigenvalue = b.dot(M.dot(b)) / b.dot(b) # Rayleigh quotient eigenvector = b / np.linalg.norm(b) return eigenvalue, eigenvector M = np.array([ [1, 2], ...
[ "vladzzag@gmail.com" ]
vladzzag@gmail.com
3dacc33f7215617274d1918dacbcf4c4e3788fb8
6f76510dee731e86d6ae553f060bb6e1149bb570
/lmtpd/tests.py
b9b309b0c26de0b7786f12d9acafbc07787b97e2
[ "MIT", "LicenseRef-scancode-unknown-license-reference", "Python-2.0" ]
permissive
moggers87/lmtpd
da154e5972082e0524767a8c5b378d3d02d3c438
d9aad65fa4e2c3d29fe7dd81d449718e395254d0
refs/heads/master
2021-03-13T00:02:19.282293
2020-07-05T05:05:41
2020-07-05T05:05:41
9,945,190
1
1
MIT
2019-12-06T15:54:06
2013-05-08T20:24:29
Python
UTF-8
Python
false
false
8,350
py
# -*- coding: utf-8 -*- # # See LICENSE for copyright notices from __future__ import print_function, unicode_literals import asyncore import lmtpd import os import shutil import socket import tempfile import threading import unittest TO = b"mrs.smoker@example.com" FROM = b"mrs.non-smoker@example.com" MSG = b"""Subje...
[ "moggers87+git@moggers87.co.uk" ]
moggers87+git@moggers87.co.uk
c789e5f2f069242cc4df33612fe2e753488ff350
6f5db09bc4db30bd9e6c647ca8e338c62c3f4b6c
/HI/20200623_4_1.py
962c7b2fb36e0ea7e3e1f278d1c4dcae582e7ffb
[]
no_license
zzarbttoo/TMT
96cb64caf4603d6c6eb454ea7f3d649d4b2ca9fb
f63800662b705e5661ce416ebb9d64978b0a84d0
refs/heads/master
2022-11-29T07:14:27.087788
2020-08-09T13:54:16
2020-08-09T13:54:16
272,377,222
2
0
null
null
null
null
UTF-8
Python
false
false
604
py
# 1주자 4번_가장 큰 수 import itertools numb = [3, 30, 34, 5, 9] def solution(numbers): answer='' numb_list = list(map(str, numbers)) numb_list = list(map(int,map(''.join, itertools.permutations(numb_list)))) #순열 함수 answer = str(max(numb_list)) #순열 조합 중 가장 큰 수 return answer print(solution(numb))...
[ "junghi5487@gmail.com" ]
junghi5487@gmail.com
d21b3482eeb0fc664fba87cef3b29a57a58ae907
bad1906d8ef6b4b11fb1a4f5553482242174fd21
/randomforest.py
3004f72d6d24a5fb3cdc7402cea56f9473827bad
[]
no_license
simonxmh/MachineLearningClassifiers
4d5132579ac1ce4b4c5c54ed6332ef13212d88d9
14bbfb02070c4bb975e42c6b2eb9081a2370db48
refs/heads/master
2021-03-24T12:01:44.138391
2018-01-28T21:22:40
2018-01-28T21:22:40
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,151
py
from sklearn.ensemble import RandomForestClassifier import pandas as pd import numpy as np import time np.random.seed(0) # print(clf.predict_proba(test[features])[0:10]) def loadTrainingDataset(filename, split): df = pd.read_csv(filename,header=0) df.drop('Unnamed: 0', axis=1, inplace=True) df['is_train'...
[ "simh@live.ca" ]
simh@live.ca
8c1a08628fbe4512d1ff02ecc142ce0ecd80fe1b
f03472a1b928c4db2378f92b051f400dc756a89e
/bruteparser.py
74719abd7bbf0732b448a5406e7fd9d5a1efd365
[]
no_license
10ego/Brute-Parser
2fca989fac1fd5ee147e6588fe21ae321bc94b66
7a978a0422a48d2738b0addd088a0dc8bd849c78
refs/heads/master
2020-04-20T08:59:04.302190
2019-03-25T15:00:02
2019-03-25T15:00:02
168,754,649
0
0
null
null
null
null
UTF-8
Python
false
false
2,527
py
from PyPDF2 import PdfFileReader import docx2txt from docx import * import csv import subprocess import os subprocess.run("ls > filelist.csv", shell=True) #subprocess to create a list of files to parse in folder script_dir = os.path.dirname(__file__) output_dir = "RAW_RESULTS" #This is the subdirectory where the outp...
[ "noreply@github.com" ]
noreply@github.com
55f3d48b8bedb08c75415c504602832b5b5c9760
0e461c8d2b99493afb884a80c2b851fc5602c4bf
/tools/parse-log.py
893b45e0c351eca256676b72b6bf8b189848d125
[]
no_license
ontiyonke/smokey
f6d75757f2b0cfcb7a089f7bfed61839c9c83d28
01b0996724891e7fdc3a5912753b50e5246b184e
refs/heads/master
2020-05-22T18:11:13.596914
2018-02-28T15:05:17
2018-02-28T15:07:38
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,071
py
#!/usr/bin/env python import argparse import re def extract_python_exceptions(log_file): """ Searches a log file for references to Python exceptions and returns an array of lines describing the type of exception that occurred. """ for line in log_file: match = re.match('^(\s+...
[ "robertknight@gmail.com" ]
robertknight@gmail.com
9dedcdee6a2d68515c547bd4a1b13efe3b23bdce
3a891a79be468621aae43defd9a5516f9763f36e
/desktop/core/ext-py/dnspython-1.15.0/examples/ddns.py
f351524ee738290cfe64177208bb0df88bbff61f
[ "LicenseRef-scancode-warranty-disclaimer", "ISC", "Apache-2.0" ]
permissive
oyorooms/hue
b53eb87f805063a90f957fd2e1733f21406269aa
4082346ef8d5e6a8365b05752be41186840dc868
refs/heads/master
2020-04-15T20:31:56.931218
2019-01-09T19:02:21
2019-01-09T19:05:36
164,998,117
4
2
Apache-2.0
2019-01-10T05:47:36
2019-01-10T05:47:36
null
UTF-8
Python
false
false
1,204
py
#!/usr/bin/env python # # Use a TSIG-signed DDNS update to update our hostname-to-address # mapping. # # usage: ddns.py <ip-address> # # On linux systems, you can automatically update your DNS any time an # interface comes up by adding an ifup-local script that invokes this # python code. # # E.g. on my systems I have...
[ "yingchen@cloudera.com" ]
yingchen@cloudera.com
499388b2165572001dc1138029488a7777cf7e8c
45fdc51cf264bbd50e59655440eefc91451c50ea
/text/src/textwrap_dedent.py
5084ccaedb083bd8a9ae1878d3c3217339c0efd4
[]
no_license
blindij/python3_stl
2163043f3a9113eac21a48a35685a4a01987e926
ea138e25f8b5bbf7d8f78e4b1b7e2ae413de4735
refs/heads/master
2021-12-24T20:37:54.055116
2021-09-29T13:37:38
2021-09-29T13:37:38
191,508,648
0
0
null
2019-08-27T15:45:53
2019-06-12T06:10:30
Python
UTF-8
Python
false
false
142
py
import textwrap from textwrap_example import sample_text dedented_text = textwrap.dedent(sample_text) print('Dedented') print(dedented_text)
[ "blindij@users.noreply.github.com" ]
blindij@users.noreply.github.com
49bde105991fc66de00af0bad32ba7c993b35317
e2c08424f2d6fc8bc5a63430824d739df657ee5e
/turtles/starter/ifs.py
9ac6b3a8da4cf55be766e661c2228ef7aa5a08bb
[]
no_license
emlbarnes/she_codes_python
ca71c9555c6876d69b0e6cf34ae83ea6942af106
13859cb4591e52deaa5deff5295c28a945dc404b
refs/heads/main
2023-07-06T18:52:45.961848
2021-08-10T06:32:58
2021-08-10T06:32:58
374,647,631
0
0
null
null
null
null
UTF-8
Python
false
false
179
py
mylist = [None, 6, None, 1, 2, 5, 0] for item in mylist: print() print (item) if item is None: print ('None!') elif item < 3: print ('Little!')
[ "33987921+emlbarnes@users.noreply.github.com" ]
33987921+emlbarnes@users.noreply.github.com
3f5d5a2261db4dba1672d87cd75edaf13c28353b
a23716501d5b5c9495f43e8e69c1090a9ea4daae
/aws_boto3.py
4280cee3d8a457859433ac4ffee3afae1f8541c0
[]
no_license
jmortega/python_ciberseguridad_2021
0b539f399bc176daf00cda58076606168e14b8b5
5bf507b0989c19f3512824be54f36d06a39c0215
refs/heads/main
2023-07-15T11:54:10.440026
2021-08-26T14:06:15
2021-08-26T14:06:15
400,169,791
0
1
null
null
null
null
UTF-8
Python
false
false
483
py
import boto3 aws_access_key_id = '' aws_secret_access_key = '' region_name = 'ap-southeast-2' session = boto3.session.Session(aws_access_key_id=aws_access_key_id, aws_secret_access_key=aws_secret_access_key, region_name=region_name) ec2client = session.cli...
[ "noreply@github.com" ]
noreply@github.com
2d23576a7b5ecdc8e2788f1a60990a07cd2f57a2
950a56dec9220698c329c013f5c09a1c8113658b
/Week 03 - Python/Extra_Content/ADVANCED_Stu_Resume_Analysis/Solved/resume_analysis.py
d9aa72160b5d4be5ef613c991b9d46cf090cfa68
[]
no_license
Yannahhh/git-lab-content
6e6eabdcc9a0fd3c60f10f10b509e3644684f53f
264e92c2c5b330231d366bdf9390edd7616fccca
refs/heads/master
2023-03-25T02:52:15.798135
2020-04-13T01:38:37
2020-04-13T01:38:37
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,062
py
# -*- coding: UTF-8 -*- """Resume Analysis Module.""" import os import string # Counter is used for the bonus solution from collections import Counter # Paths resume_path = os.path.join('resume.md') # Skills to match REQUIRED_SKILLS = {"excel", "python", "mysql", "statistics"} DESIRED_SKILLS = {"r", "git", "html", ...
[ "raakeshtrip@gmail.com" ]
raakeshtrip@gmail.com
43f1faa94723a423196ae617e13bd6ae27f0dc76
50e9d0d60bed361d78fe71845e63cc6bf2f4e315
/stats_info.py
3cb67cbf02d2bf14114d6dcc6300f5fcbe680f43
[]
no_license
gigpir/Tesi
fce8a9026c25781d3923810f61f9021a9ea19c61
dae53e2bfe289bbf91dd936af8c279c9b8e095db
refs/heads/master
2023-03-05T21:10:48.831197
2021-02-16T16:03:42
2021-02-16T16:03:42
326,991,671
0
0
null
null
null
null
UTF-8
Python
false
false
1,254
py
import numpy as np from matplotlib import pyplot as plt def stats_artists_songs(artists): #given a dictionary<artist.id><artist> #print information about number of songs avg_songs=0 d = dict() for a in artists: avg_songs += len(artists[a].song_list) if len(artists[a].song_list) not...
[ "lpgpirisi@gmail.com" ]
lpgpirisi@gmail.com
abcfc4a925460837c5467bc95c3e4a0a2944ec26
bffb3e1df31bd705d362510f06590fbe2e438cae
/ML_Hw1/HW1/class_work.py
85931f4a0f1abec85e13ccacde736939659d8353
[]
no_license
Giulero/Machine_Learning
3fba72f5bac6ebaf72a91400869a3b4820c556d2
718fea08903d4e3f2b3525ec883381e113ac727d
refs/heads/master
2020-03-28T23:22:25.757799
2018-11-19T15:58:43
2018-11-19T15:58:43
149,288,397
1
0
null
null
null
null
UTF-8
Python
false
false
5,265
py
# -*- coding: utf-8 -*- """ Created on Sat Dec 24 17:03:34 2016 @author: Giulero""" from PIL import Image import numpy as np import glob import matplotlib.pyplot as plt from sklearn import preprocessing from sklearn.decomposition import PCA from sklearn.cross_validation import train_test_split from sklea...
[ "gl.giuseppelerario@gmail.com" ]
gl.giuseppelerario@gmail.com
0c43f3db6d2706d724e78202eb40dc195b033170
4bba0615e2ae5110e8e6198722767dc07dba8e73
/main/click.py
f4591fbfda6ab700b9e966b4c4b5a0894d4da634
[]
no_license
Lun4rIum/autoclick
1cfd9c45f9df3039043959e5e2fca3206e16d76e
b087c707f04051510ad48c8ee0694d7a2bdf7dd8
refs/heads/main
2023-05-30T00:03:25.930487
2021-06-19T18:13:50
2021-06-19T18:13:50
378,475,348
2
0
null
null
null
null
UTF-8
Python
false
false
719
py
from pynput.mouse import Button, Controller import keyboard import time mouse = Controller() while True: if keyboard.read_key() == "n": while True: time.sleep(0.01) mouse.press(Button.right) mouse.release(Button.right...
[ "noreply@github.com" ]
noreply@github.com
2eb81e6bc89d77f0ee7640edaec9543348a8f465
de24f83a5e3768a2638ebcf13cbe717e75740168
/moodledata/vpl_data/380/usersdata/315/101991/submittedfiles/minha_bib.py
37dfe39276605bb65b991985c20942c3898a1b93
[]
no_license
rafaelperazzo/programacao-web
95643423a35c44613b0f64bed05bd34780fe2436
170dd5440afb9ee68a973f3de13a99aa4c735d79
refs/heads/master
2021-01-12T14:06:25.773146
2017-12-22T16:05:45
2017-12-22T16:05:45
69,566,344
0
0
null
null
null
null
UTF-8
Python
false
false
3,182
py
# -*- coding: utf-8 -*- import random #Simbolo que o Jogador quer utilizar def solicitaSimbolodoHumano(a): a = input('\nQual símbolo você deseja utilizar no jogo? ') while a!='O' and a!='X' and a!='o' and a!='x': a = input('\nQual símbolo você deseja utilizar no jogo? ') if a == 'x' or a =='X': ...
[ "rafael.mota@ufca.edu.br" ]
rafael.mota@ufca.edu.br
157696dff38f89d8e82a94dc51c66681fbf9d197
ae7652c7cdbf624340e7e2e83e89592895fad456
/selenium-explicit_wait2.py
bfa05fc4c311fc31ef1152d3c999df40613702e7
[]
no_license
sw88tch/stepik-auto-tests-course
799acbdccb38ce0a26c9c1ec033c60770c31f01e
1d7060f0619d326d05019855495fcf5bf2d7a59d
refs/heads/main
2023-04-18T11:07:48.878907
2021-05-13T10:49:25
2021-05-13T10:49:25
363,947,053
1
0
null
null
null
null
UTF-8
Python
false
false
870
py
from selenium.webdriver.common.by import By from selenium.webdriver.support.ui import WebDriverWait from selenium.webdriver.support import expected_conditions as EC from selenium import webdriver import time import math def calc(x): return str(math.log(abs(12*math.sin(int(x))))) browser = webdriver.Chrome() browse...
[ "fcukmycopyrights@gmail.com" ]
fcukmycopyrights@gmail.com
ee57f682e295cbfd9747da50306e7deadad5f554
b66e70a8bb3c53595acd01dceb23298694884b67
/cloudy/cloudy/models.py
92cd7f135177bdbc3b72c907c8741df29eb2c148
[]
no_license
flupke/cloudy-release
d7735a38d79f816c52da3d983c714512a32919b1
6b160188a7067f125b107eb68dc8db4bbb4bfdf4
refs/heads/master
2016-09-06T05:23:40.856287
2013-02-23T18:17:16
2013-02-23T18:17:16
8,377,854
0
0
null
null
null
null
UTF-8
Python
false
false
936
py
from django.db import models class SshIdentity(models.Model): name = models.CharField(max_length=256) public = models.TextField() private = models.TextField() class HostsGroup(models.Model): name = models.CharField(max_length=256) ssh_user = models.CharField(max_length=32, blank=True) ssh_...
[ "luper.rouch@gmail.com" ]
luper.rouch@gmail.com
b8e6f22145dd002a5ed4f938f018506b9434a57b
c746227453bed96ba2c940c32fed96fdd5258ace
/code_base/layers_bkp.py
530f4290aaa3b290998722b54b83ee43a2a66b71
[ "Apache-2.0" ]
permissive
dixantmittal/numpy-cnn-implementation
48675d0699ca7d08935879cc953204c39e70fab4
0de844a5f8d12fceae19aa36f9dff31ced05f1c7
refs/heads/master
2021-07-19T19:35:38.203425
2017-10-13T14:55:58
2017-10-13T14:55:58
null
0
0
null
null
null
null
UTF-8
Python
false
false
14,329
py
import numpy as np import datetime from code_base.matrix_transformation import * from code_base.im2col import * from code_base.classifiers import * def affine_forward(x, w, b): """ Computes the forward pass for an affine (fully-connected) layer. The input x has shape (N, d_1, ..., d_k) and contains a min...
[ "dixant.mittal@gmail.com" ]
dixant.mittal@gmail.com
76262bda20e1e68938ed5ca28d16e8ac0a7c1760
d9af2ba0d001173ac55a97adcf003e66f49de80d
/starbase.py
2456ce33ceec16ef3c95cfebd0d32e597ed2391f
[]
no_license
bamcleod/skycover
ae1063ab483c5a8d47e9c481da04987df05d14ce
c46d74351d3c3f14ac7dd7c66437754e01b178a9
refs/heads/master
2022-11-09T10:00:21.411785
2022-10-27T19:47:42
2022-10-27T19:47:42
67,826,878
0
2
null
2022-10-27T19:47:43
2016-09-09T19:34:41
C++
UTF-8
Python
false
false
17,367
py
import sys,os,re, subprocess, tempfile from threading import Thread """ Add colnum Add insert header before, after other header value Add add/del header Add add/del row Add add/del col Add row formatting """ try: import starbase_data Starbase_readdata = star...
[ "mpr56@drexel.edu" ]
mpr56@drexel.edu
aef62cffcdd6a3983978fe05e6b113ce21db958c
fe776380d46b0273c5448a8f42cd6b78202d1518
/nota_fiscal/__init__.py
bb6fe859062ec7b9e905dc3b50a214cb9718c454
[]
no_license
frac/calculos_nota_fiscal
fade5995c242ef009ec7d35964e49b16cb3dfbd3
5c36c12291efcc804a62fbb3e429ebc6fa3980a3
refs/heads/master
2020-05-19T17:46:11.484553
2012-05-02T15:11:53
2012-05-02T15:11:53
4,204,192
1
0
null
null
null
null
UTF-8
Python
false
false
28
py
from calculo import calcula
[ "petrich@gmail.com" ]
petrich@gmail.com