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
bbdfd2a738fa239c003b365edd88175d2bffc480
6c651e1d1eecba344590ed473c2c3208e1995ee7
/Training/python/python.py
bf52c499941fb42abf6be3dad0cc6bf000e28dde
[]
no_license
rbjagadeesh/Materials
0355c54c0c4c7f95d7e2dc404022bf0b20f92911
5c10e452b7f2cd13a0c4f55ec268a0ff88fdf11f
refs/heads/master
2021-01-19T06:56:38.011935
2017-04-06T12:45:13
2017-04-06T12:45:13
87,511,035
0
0
null
null
null
null
UTF-8
Python
false
false
75
py
x = 10 y = True z = "abcd" a = [1,2,3,4,5,6,7,8,9] b = (1,2,3,4,56,7,8,9)
[ "jagadeeshrb1@gmail.com" ]
jagadeeshrb1@gmail.com
70f33bb40b94725d71df75b5591e7a9b56325cca
f9ed608c620093b9f6b5058bcedf7ae610c09c8d
/329-Longest_Increasing_Path_in_a_Matrix.py
2076972e979562372e23e07d8d2bfd9f51a966ba
[]
no_license
chanyoonzhu/leetcode-python
9b88d7f2749e1ae3ed597759b1bf9f7fa4912c35
085d868ba0458fc8e6b5549aa00fa151c335fa7f
refs/heads/master
2022-05-24T11:20:35.927915
2022-04-16T06:02:33
2022-04-16T06:02:33
166,224,197
0
1
null
null
null
null
UTF-8
Python
false
false
2,114
py
""" - dfs with memoization - note: path is strictly increasing -> no loop -> DAG -> can use dfs - O(mn), O(mn) """ class Solution: def longestIncreasingPath(self, matrix: List[List[int]]) -> int: self.matrix = matrix self.dir = [(1, 0), (-1, 0), (0, 1), (0, -1)] self.m = len(matrix) ...
[ "zhuchanyoon@gmail.com" ]
zhuchanyoon@gmail.com
c2ac2a498c6d0f1b98e65c591ae6d6739f4a5ed0
ec2b311861e61890639e0be31515af7480d27f8f
/Django-Python-Full-Stack-Web-Devloper-master/Python_Level_Two/Part1_Scope.py
b265008226e51f0a83b85fb6b181131dc0a85780
[]
no_license
schwarzm3283/django_udemy
f501446009c0477190e08444acc8f8d220fa4ca6
485cd1e383ca4e2381eef7a47660c32c54abffd8
refs/heads/master
2021-01-21T10:55:35.647831
2017-06-20T00:59:13
2017-06-20T00:59:13
91,714,624
0
0
null
null
null
null
UTF-8
Python
false
false
5,982
py
############################### # Nested Statements and Scope # ############################### # Now that we have gone over on writing our own functions, its important to # understand how Python deals with the variable names you assign. When you create # a variable name in Python the name is stored in a *name-space*....
[ "schwarz.mike@gmail.com" ]
schwarz.mike@gmail.com
fde39ca57166f92eb10125b0a16994d58681046d
8c732265fd0a8245136d57cda91d8c1c6c727305
/word_count_milestone_2.py
3380267e6ca580c1dc1065c92eaca21a642c90b3
[]
no_license
daruby59/word_count
0cf4adbef6bd190e105516077fe2e37c470cdafb
a36b7129049aed2e09ea396b9902f2dfb18a7e2a
refs/heads/master
2021-01-01T04:43:14.967701
2020-01-11T15:54:45
2020-01-11T15:54:45
97,233,606
0
0
null
null
null
null
UTF-8
Python
false
false
12,347
py
from __future__ import division import sys import random import re xfile = str(sys.argv[1]) limit = str(sys.argv[2]) count = 0 tagcount = 0 # # color references... # color_array = ["red","maroon","magenta","orange","#6094DB","green","teal","olive","purple","blue","navy","#0088dd","#6755E3","#B6BA18","blac...
[ "noreply@github.com" ]
noreply@github.com
c22170c208dfa332195dc6b992e8089d3a9b37ee
7930befaed2a94711484411bf9c36d35d039e099
/train.py
61fd5c6f1df957b4dc336db4f0516ef9e264cf3b
[]
no_license
iamsile/tf-ran-cell
4ed077a703c04f1b29f7f89b69df7630a96fbea0
389d549314928e5c9cb7658b3371f76d25a44ab2
refs/heads/master
2021-06-18T04:13:36.307125
2017-06-30T07:25:40
2017-06-30T07:25:40
null
0
0
null
null
null
null
UTF-8
Python
false
false
5,274
py
import os import numpy as np import tensorflow as tf import dataplumbing as dp from tensorflow.contrib import rnn from tensorflow.contrib.rnn import GRUCell, BasicLSTMCell, LayerNormBasicLSTMCell from tensorflow.contrib.rnn.python.ops import core_rnn from tensorflow.contrib.layers import xavier_initializer as glorot fr...
[ "indiejoseph@gmail.com" ]
indiejoseph@gmail.com
541a2bb132c30e724fa65dfdccfd3b3de2e89856
7f651a7dfa7cd101ddf9dd133ff78bfe996eeb3f
/main.py
910916d224daa088ba293871bad373666348f2d1
[ "MIT" ]
permissive
TrendingTechnology/PyPi-Bot
33071b0e789509dfc267ec25a3e11417d60c1395
bc2ee98981af4bc9f415a1f968bf872380d017f0
refs/heads/main
2023-06-30T08:50:57.641601
2021-08-02T13:47:28
2021-08-02T13:47:28
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,257
py
# Author: Fayas (https://github.com/FayasNoushad) (@FayasNoushad) import os import requests from requests.utils import requote_uri from pyrogram import Client, filters from pyrogram.types import InlineKeyboardMarkup, InlineKeyboardButton API = "https://api.abirhasan.wtf/pypi?query=" START_TEXT = """ Hello {}, I am ...
[ "noreply@github.com" ]
noreply@github.com
9973c7bbcdadc89c6e2f809cd6749834574c852a
a01099ad3b57e3ba58dcaa982d42192d0c7bc465
/start.py
9d1e0516e2a13ab9270e4e694eabf5f7b2660e7f
[]
no_license
pradumna123/Decision-tree-for-authorship-prediction
54f89c3d52273bb9edc98a9c7f0d15bbe4b5df09
d3bfc6c356b1c4304bec6bb02f143f11393a8b02
refs/heads/master
2020-07-25T02:06:16.826534
2019-09-14T15:48:47
2019-09-14T15:48:47
208,125,717
0
0
null
null
null
null
UTF-8
Python
false
false
11,593
py
from main import data_processing as dp import timeit as t import pickle class Node: """ this is a class that represents the node of the tree classifier """ __slots__ = ["left_node", "right_node", "data_obj", "data_for_left", "data_for_right", 'current_depth', 'expr_entropy', "root_st...
[ "ps6275@gmail.com" ]
ps6275@gmail.com
e452abec56c616eb8b46b78e240cb845aecc2319
6b0d0aec9704d70663fe0edc2a6624a689cc081e
/src/app/pre/wav.py
db52981330702787a0ef82c48d08f68a0e589f2b
[ "BSD-3-Clause" ]
permissive
stefantaubert/tacotron2
086d81b38b2c49655df6b0d8d63c633e7531399a
8475f014391c5066cfe0b92b6c74568639be5e79
refs/heads/master
2023-03-29T21:07:02.266973
2020-11-25T09:57:40
2020-11-25T09:57:40
267,858,113
5
0
BSD-3-Clause
2020-05-29T12:56:56
2020-05-29T12:56:55
null
UTF-8
Python
false
false
3,818
py
import os from functools import partial from typing import Any from src.app.pre.ds import get_ds_dir, load_ds_csv from src.core.common.utils import get_subdir from src.core.pre.wav import (WavData, WavDataList, normalize, preprocess, remove_silence, stereo_to_mono, upsample) _wav_data_cs...
[ "stefan.taubert@posteo.de" ]
stefan.taubert@posteo.de
88f57018677f39300839046947eab8d9e791995c
43ae95628a9d5f384ebaee9fd682592649b4c445
/service_SG.py
3989270f58e38d742a578e6051f60eb7cf806804
[]
no_license
ottriho/CNCottriho
62486296574fe2d93b35ef3499770d2daf52acb7
19abd576f97b29d87e0d6158a082a4de3d82b986
refs/heads/master
2020-04-28T22:46:16.148845
2019-03-14T13:44:18
2019-03-14T13:44:18
175,629,786
0
0
null
null
null
null
UTF-8
Python
false
false
1,245
py
from flask import Flask, request import sqlite3 import json app = Flask(__name__) @app.route('/blog', methods=['POST', 'GET']) def sum(): c=request.args.get("c",'') conn = sqlite3.connect('andmestik.db') cur = conn.cursor() if c: sql1 = """ insert into LOG(LOG_DATE,LOG_TIME,...
[ "noreply@github.com" ]
noreply@github.com
81723606fe2b68e5e78173541ef43ddbca608263
0eab71dd5cf5fa5aa29c5ccc595bee1e19caa9c3
/app/routes.py
a17f43930959321f77661517d2a0322ec7d24de2
[]
no_license
aljanaki/whosliverightnow
13af76e681828a6c385a37628caaf680be8147ea
952fb2211b290d893f60eb09a5698a57e2ba77cb
refs/heads/master
2021-05-17T12:48:53.929259
2020-03-30T11:58:13
2020-03-30T11:58:13
250,722,558
0
0
null
null
null
null
UTF-8
Python
false
false
173
py
from app import app from datetime import date from flask import render_template @app.route('/') @app.route('/index') def index(): return render_template('index.html')
[ "aljanaki@gmail.com" ]
aljanaki@gmail.com
79d180a70cb6a5c44e3877544316527d2b40a258
674013162755a57e258156832d7fdc645ab55c0d
/No0739-dailyTemperatures2.py
e82bafb62ad60c48f8f53787116b62972db01c3c
[]
no_license
chenxy3791/leetcode
cecd6afb0a85e5563ba2d5ae8eb2562491f663e0
1007197ff0feda35001c0aaf13382af6869869b2
refs/heads/master
2023-06-25T13:54:12.471419
2023-06-12T05:02:03
2023-06-12T05:02:03
229,204,520
0
0
null
null
null
null
UTF-8
Python
false
false
1,966
py
""" 每日温度 根据每日 气温 列表,请重新生成一个列表,对应位置的输出是需要再等待多久温度才会升高超过该日的天数。如果之后都不会升高,请在该位置用 0 来代替。 例如,给定一个列表 temperatures = [73, 74, 75, 71, 69, 72, 76, 73],你的输出应该是 [1, 1, 4, 2, 1, 1, 0, 0]。 提示:气温 列表长度的范围是 [1, 30000]。每个气温的值的均为华氏度,都是在 [30, 100] 范围内的整数。 """ import math import time import numpy as np from collections import deque c...
[ "chenxy@BWAVE.LOCAL" ]
chenxy@BWAVE.LOCAL
15ed8211c8d43131be4eeaa704dbd1400bbea598
59c55725576bbf0e2f6617507ba2f1db639abb3f
/stock_analytic_account/model/analytic_account.py
ea5556d076df6616c951843e5c8ca6abdca7a083
[]
no_license
bmya/eficent-odoo-addons
e3426ebaf1f59e52726253fc1dd36a09d9363059
5d8ddfa384ab4417f42bda103b71d926848035f6
refs/heads/7.0
2021-01-21T16:48:55.312452
2015-11-04T14:11:19
2015-11-04T14:11:19
45,649,141
1
3
null
2015-11-06T00:35:17
2015-11-06T00:35:17
null
UTF-8
Python
false
false
1,957
py
# -*- coding: utf-8 -*- ############################################################################## # # Copyright (C) 2015 Eficent (<http://www.eficent.com/>) # Jordi Ballester Alomar <jordi.ballester@eficent.com> # # This program is free software: you can redistribute it and/or modify # it und...
[ "jordi.ballester@eficent.com" ]
jordi.ballester@eficent.com
0b216fd14819d28ed423883d66d0426efdbf220b
d00e68b2c14b44e7cbf13f7ddca284cdfd21c201
/tests/v2_validation/cattlevalidationtest/core/test_services_lb_host_routing_balancer.py
94d5b0c0c6c9e7f67ae8c9ce735a2053a54d1fa2
[ "Apache-2.0", "LicenseRef-scancode-warranty-disclaimer" ]
permissive
guangbochen/validation-tests
db92aff9b48c705115be828de1dc645143f4c9c8
23e7ab95ce76744483a0657f790b42a88a93436d
refs/heads/master
2021-09-11T14:16:57.668817
2018-04-08T19:01:02
2018-04-08T19:01:02
null
0
0
null
null
null
null
UTF-8
Python
false
false
57,937
py
from common_fixtures import * # NOQA logger = logging.getLogger(__name__) logger.setLevel(logging.DEBUG) STRESS_LB_PORT_RULE_COUNT = os.environ.get( 'STRESS_LB_PORT_RULE_COUNT', "20") def test_lbservice_host_routing_1(client, socat_containers): port = "900" service_scale = 2 lb_scale = 1 serv...
[ "sangeetha@rancher.com" ]
sangeetha@rancher.com
d255e8072a01057e097ccaa3a705564e60199c9e
91fe8f479fa921fa84111d19222a5c6aa6eff030
/basis/progr-py/Gui/ShellGui/packdlg_redirect.py
e74111a94ff6ede688ace45c422255376555b419
[]
no_license
romanticair/python
2055c9cdaa46894c9788d5797643283786ed46dd
6f91fe5e7cbedcdf4b8f7baa7641fd615b4d6141
refs/heads/master
2022-11-03T17:17:17.608786
2019-07-05T07:07:29
2019-07-05T07:07:29
195,356,190
0
1
null
2022-10-14T20:51:14
2019-07-05T07:00:33
Python
UTF-8
Python
false
false
496
py
# 将命令行脚本包装到图形界面重定向工具中,输出显示到弹出式窗口中 from tkinter import * from packdlg import runPackDialog from Gui.Tools.guiStreams import redirectedGuiFunc def runPackDialog_Wrapped(): # 在mytools.py中运行的回调函数 redirectedGuiFunc(runPackDialog) # 对整个回调处理程序进行包装 if __name__ == '__main__': root = Tk() Button(root, tex...
[ "1024519570@qq.com" ]
1024519570@qq.com
a828a1d10bfc5c4b5cd149e658aca32e30558efa
7f80554c5013ba7bc66a3ec98f804156d977c277
/src/readux/urls.py
d95051dab91bc770f6c85b38826d7a40f9f870b8
[]
no_license
akrahdan/LearnAI
fa89c133dbe3b0c06bfdce720ea6dcb429d1dc57
fbea836a7fc78c8ab92b313c2afa4bdeef59c362
refs/heads/main
2023-07-24T15:07:15.692045
2021-08-20T16:39:44
2021-08-20T16:39:44
376,688,774
0
0
null
null
null
null
UTF-8
Python
false
false
3,083
py
"""readux URL Configuration The `urlpatterns` list routes URLs to views. For more information please see: https://docs.djangoproject.com/en/3.2/topics/http/urls/ Examples: Function views 1. Add an import: from my_app import views 2. Add a URL to urlpatterns: path('', views.home, name='home') Class-based ...
[ "akrahdan@gmail.com" ]
akrahdan@gmail.com
7bff1cf2cf3d6197fe73bcee6755c0bf8ceff5cf
2a68b03c923119cc747c4ffcc244477be35134bb
/Alog/class4/exercises/knightII.py
5367616c345efb372dc4c02cc4833b0a6ae69052
[]
no_license
QitaoXu/Lintcode
0bce9ae15fdd4af1cac376c0bea4465ae5ea6747
fe411a0590ada6a1a6ae1166c86c585416ac8cda
refs/heads/master
2020-04-24T20:53:27.258876
2019-09-24T23:54:59
2019-09-24T23:54:59
172,259,064
1
0
null
null
null
null
UTF-8
Python
false
false
1,708
py
from collections import deque DIRECTIONS = [ (1, 2), (-1, 2), (2, 1), (-2, 1) ] class Solution: """ @param grid: a chessboard included 0 and 1 @return: the shortest path """ def shortestPath2(self, grid): # write your code here # BFS queue = deque() ...
[ "xuqitao@QX-MBP.local" ]
xuqitao@QX-MBP.local
fbea320702fa3c11e50173b54ddcad4517345559
65e9bc161df0553b272de5b2d91fe7ad16df7c31
/medipipeline/utility.py
2a712dbee0d7b7c3223ae6d1b2ed4ddb960b2063
[]
no_license
EhsanArabnezhad/Django-Dashboard
6369d4b85798c9c3d8c35d22a9d258b9d32fe96b
8ce00ffe0598c71391c169300cc54190b2477786
refs/heads/master
2022-07-31T13:11:28.461970
2020-05-21T07:58:28
2020-05-21T07:58:28
265,787,754
0
0
null
2020-05-21T07:53:31
2020-05-21T07:49:27
JavaScript
UTF-8
Python
false
false
779
py
import pandas as pd import psutil import os # measure memory usage def memory_usage(): process = psutil.Process(os.getpid()) mem_bytes = process.memory_info().rss return( float(mem_bytes)/1048576 ) # Substitute to pandas.apply, which has a memory leak. # https://ys-l.github.io/posts/2015/08/28/how-not-to-...
[ "ehsan5359_ar@yahoo.com" ]
ehsan5359_ar@yahoo.com
1a7c13a0cf606ed6a8e9e5f4c348e5582d7ccda9
074d3e411b87a12f93872ef70a98ff270d5068d8
/Python_Gui/test.py
b2b086d631051cdeebf6cac775268069684e0b52
[]
no_license
zidaliu/APIC_CISCO
f0bb3a88baee82025f5ed9f09c90e6f1a8b07ac1
bd92206665719409b4ffce2577460f545880b0f9
refs/heads/master
2021-08-19T19:50:05.542437
2017-11-27T09:02:23
2017-11-27T09:02:23
110,214,166
1
0
null
2017-11-16T12:01:19
2017-11-10T07:01:31
Python
UTF-8
Python
false
false
1,009
py
#!/usr/bin/env python # _*_ coding:utf-8 _*_ from Tkinter import * root = Tk() # 按扭调用的函数, def reg(): User = e_user.get() Pwd = e_pwd.get() len_user = len(User) len_pwd = len(Pwd) if User == '111' and Pwd == '222': l_msg['text'] = '登陆成功' else: l_msg['text'] = '用户名或密码错误' ...
[ "liuzida@liuzidadeMacBook-Pro.local" ]
liuzida@liuzidadeMacBook-Pro.local
cdba2f90e4c387023b541c5623d1da6b8a4184ff
e2189dc1dbbde547d334e6d66ce0c8ca8d1c929b
/apps/pspnet/tools/fix_unprocessed_init_image.py
fb13512d6587859517e1ebcc4be7d6d0e8501dc4
[ "MIT" ]
permissive
c0710204/python-socketio-cluster
d3503b79e5472acaa19b89f4dfae778faccd9500
768cf2eb40a9b75b912a8b8cd86b14c52f3fc9d7
refs/heads/master
2021-04-27T03:46:20.464320
2018-12-17T23:06:39
2018-12-18T19:11:04
124,025,324
0
2
null
null
null
null
UTF-8
Python
false
false
240
py
import pymysql db=pymysql.connect(host="127.0.0.1",port=33061, user="guxi",passwd="dHtFkI6g",db="gsv_file_list") sql="update tasks set status=\"wait\" where status=\"init\"" with db.cursor() as cur: cur.execute(sql) db.commit()
[ "c0710204@gmail.com" ]
c0710204@gmail.com
b7759d6a6dcb81a63298d8ff7c3583729f1d19eb
7facdc4644fbe4209b5acdad9f2503bfcfb0d534
/ensure/_types.py
d0d2db7350653d2171e927886cffa6eccef0f7f8
[ "Apache-2.0" ]
permissive
KeyWeeUsr/ensure
2a19d2101418f334bb188d299f5368f96aaf7916
47becf82672906d2fcfd4e8e5b0542e43845b3ed
refs/heads/master
2023-06-01T04:11:19.154208
2018-11-06T01:39:11
2018-11-06T01:39:11
165,532,375
0
0
Apache-2.0
2019-01-13T17:14:11
2019-01-13T17:14:10
null
UTF-8
Python
false
false
1,050
py
from __future__ import absolute_import, division, print_function, unicode_literals import sys from six import add_metaclass USING_PYTHON2 = True if sys.version_info < (3, 0) else False if USING_PYTHON2: str = unicode # noqa class NumericStringType(type): _type = str _cast = float def __instanceche...
[ "kislyuk@gmail.com" ]
kislyuk@gmail.com
78e5cde7fe4b290dc0854b446bc10a45a3a71864
bb0a28f1c7140fc75241085af4d772bf690c92c5
/books/deep-learning-from-scratch-2/ch06/train_better_rnnlm.py
adc2c710c5231c2fbcfa605a9890582c48f4536c
[ "MIT" ]
permissive
oonisim/python-programs
dcddad2df3d3451169e79d053624072706091741
b592c9bf004d9f2ca6b014eae0e9623e5567bcff
refs/heads/master
2023-08-23T19:09:19.425013
2023-06-23T03:38:29
2023-06-23T03:38:29
224,111,443
2
2
null
2023-02-16T07:37:54
2019-11-26T05:40:37
Jupyter Notebook
UTF-8
Python
false
false
1,689
py
# coding: utf-8 import sys sys.path.append('..') from src.common import config # GPUで実行する場合は下記のコメントアウトを消去(要cupy) # ============================================== # config.GPU = True # ============================================== from src.common import SGD from src.common import RnnlmTrainer from src.common import eva...
[ "oonisim@gmail.com" ]
oonisim@gmail.com
766c006b44f7bca3d96dc1ad604ef9851b7c73be
0a1a95fe0344c27197b677e8f8d1acc05a9813bd
/tests/test_app/test_static.py
9c4549b3036f5029a3b59f6d3252f224e800aa5a
[ "MIT" ]
permissive
hirokiky/uiro
5ddaee966395512919016406c5ed18baed5cb68c
8436976b21ac9b0eac4243768f5ada12479b9e00
refs/heads/master
2023-04-27T00:57:13.953417
2013-11-09T02:15:57
2013-11-09T02:15:57
13,859,983
0
0
MIT
2023-04-15T15:13:52
2013-10-25T12:30:05
Python
UTF-8
Python
false
false
411
py
import pytest from webtest import TestApp @pytest.fixture def target(): from matcha import make_wsgi_app from uiro.static import generate_static_matching from .pkgs import static_app matching = generate_static_matching(static_app) return TestApp(make_wsgi_app(matching)) def test_static(target):...
[ "hirokiky@gmail.com" ]
hirokiky@gmail.com
eb287c9f403e2617a50b4f92ea1ae509b3f71845
56271296eec22a95840b8ca3904ab125bba2365c
/Battleship.py
602ccfd6c5a3c24544682839531152cb5412d0ba
[]
no_license
Brianw9/Python
fdbc21bf6d6c7d19e09c21d1238b8a008afd3324
b122010e30f9d94d0e75eb05207b95b322d2da9e
refs/heads/master
2020-04-19T09:37:04.417227
2019-02-26T05:56:05
2019-02-26T05:56:05
168,116,240
0
0
null
null
null
null
UTF-8
Python
false
false
1,086
py
from random import randint board = [] for x in range(5): board.append(["O"] * 5) def print_board(board): for row in board: print " ".join(row) print "Let's play Battleship!" print_board(board) def random_row(board): return randint(0, len(board) - 1) def random_col(board): return randint(0,...
[ "noreply@github.com" ]
noreply@github.com
afd0fc499a05d344d03d6e8a34a154dec63f373a
06bdd09453504d23bf262a87513e1f6790f62359
/crud_sqlite.py
f66e6e9adeb5deae87fa4410d0f41c4462e1135e
[]
no_license
kiransringeri/flask_tutorial
1efeb386458fd7c2fa6c82c8eb45ceb223f25a90
266eb11ab6caf56267f1150ff3834cadf4ddc5f2
refs/heads/master
2020-03-26T16:19:18.816422
2018-08-17T09:03:51
2018-08-17T09:03:51
145,093,929
0
0
null
null
null
null
UTF-8
Python
false
false
2,409
py
""" CRUD application to manage users - list/add/edit/delete users. Uses MySQL database Need to run the below commands in python terminal/console to initialize the SQLite databse from crud import db db.create_all() """ from flask import Flask, request, jsonify from flask_sqlalchemy import SQLAlchemy from flask_mars...
[ "kiransringeri@gmail.com" ]
kiransringeri@gmail.com
8a2ba36c13ed0a54537e2379413daddba59b9ec9
c7c6e6a08d1d8440895480499ce4f76817b475de
/app/models/db/models.py
cede069b4479c8008bece82162d9b8c07f44c927
[]
no_license
PatchouliTC/tencent_webhook
c606167191ace91f11e67100ddf655575e9abbfe
3b478c4a282345a2580e414b827861ed11e5a096
refs/heads/master
2023-03-14T00:06:56.554572
2021-03-03T08:17:53
2021-03-03T08:17:53
342,829,128
0
0
null
null
null
null
UTF-8
Python
false
false
5,951
py
from enum import unique import datetime from sqlalchemy import * from sqlalchemy.orm import relationship from sqlalchemy.types import TIMESTAMP from app.utils import verifyUtil from . import Base class Repository(Base): __tablename__='repositories' id=Column(Integer,primary_key=True,index=True) identit...
[ "1009609373@qq.com" ]
1009609373@qq.com
76c6c29d88c946054eeb89706a4d5b02734af8a6
7fcae6ef4351befd3b67105149eb010a11e8aaa3
/2019/day8/Day8.py
188f586edc020543678ccf55f0552b42a6e7c5ad
[]
no_license
RobinVercruysse/AdventOfCode
2f4610c4e26262d0fd0b6c6cefe96f2d6a8f2f34
a73f62c6c23813af0a303277262eafe4f248eb56
refs/heads/master
2022-12-08T21:26:39.046585
2022-11-27T22:19:23
2022-11-27T22:19:23
160,561,734
0
0
null
2020-10-13T11:18:07
2018-12-05T18:33:49
Java
UTF-8
Python
false
false
1,777
py
layers = [] width = 25 height = 6 def print_layer(layer): for h in range(height): row = '' for w in range(width): index = (h * (width - 1)) + w row += str(layer[index]) print(row) with open('input') as fp: layer_index = 0 w = 0 h = 0 current_layer ...
[ "cm9iaW4@protonmail.com" ]
cm9iaW4@protonmail.com
4afc9e26c651892b4c66a8e40b134a2277fdb425
be4759201435054c55ca76d4a973aee8c549e1a6
/sockets/mn_edge_indices_list_socket.py
82fca744d5684176868484ad02929b8ee962b360
[]
no_license
vvFiCKvv/animation-nodes
75f94549f82702b3ac5f548f009dd2202c694240
6988606b8c3601d428fa3fe32c77c7b440eb7c38
refs/heads/master
2021-01-17T00:29:13.299665
2015-04-25T16:46:20
2015-04-25T16:46:20
27,539,581
0
0
null
null
null
null
UTF-8
Python
false
false
657
py
import bpy from animation_nodes.mn_execution import nodePropertyChanged from animation_nodes.mn_node_base import * class mn_EdgeIndicesListSocket(mn_BaseSocket, mn_SocketProperties): bl_idname = "mn_EdgeIndicesListSocket" bl_label = "Edge Indices List Socket" dataType = "Edge Indices List" allowedInputTypes = ["Ed...
[ "mail@jlucke.com" ]
mail@jlucke.com
bd70c58aac8b6133299432ebb60e9a77ed4bca33
06a88c9651d07c26a7bcf8f50afc0a426af526b6
/Classifying:Clustering_ForestCoverType_Project/covtype_classifier.py
5524b548aeec27716d6cda01c1bc1611fa18624c
[]
no_license
psanch/coen140
1c1b6fe5bdbfcd81f02a15d5e1cc4e26949bc317
11ee72b22f0104ba65c4570e1c39c8552aa890d7
refs/heads/master
2020-03-21T18:49:05.852688
2018-10-25T23:07:40
2018-10-25T23:07:40
138,915,020
0
0
null
null
null
null
UTF-8
Python
false
false
2,802
py
# Pedro Sanchez # ================================================== # IMPORTS # ================================================== import numpy as np import math from sklearn.discriminant_analysis import LinearDiscriminantAnalysis from sklearn.discriminant_analysis import QuadraticDiscriminantAnalysis # =...
[ "pedrosanchezm97@gmail.com" ]
pedrosanchezm97@gmail.com
785d121eb91f18fa2396671c6a87ce682ba81220
74f6da0c3f197ab395caafc321575e6374e2f6dc
/bitPredict.py
2aa60a2b346e044582f7320e48a2fd194e28d750
[]
no_license
RNNCCL/bitPredict
1e80f7d5830a596043d791cf340e2a237c3cb476
98ebcd86967e5f3eca854081ba789d5664d06e4e
refs/heads/master
2021-05-30T00:56:19.562494
2015-10-01T05:16:22
2015-10-01T05:16:22
null
0
0
null
null
null
null
UTF-8
Python
false
false
57,348
py
import math import urllib import contextlib # for urllib.urlopen import copy import os import tkMessageBox import tkSimpleDialog from datetime import datetime from datetime import date from Tkinter import * import time import webbrowser from eventBasedAnimationClass import EventBasedAnimationClass class Matrix(object)...
[ "shantanuchhabra@Shantanus-MBP.wv.cc.cmu.edu" ]
shantanuchhabra@Shantanus-MBP.wv.cc.cmu.edu
8c41b3c3d982dc9e35baa49bc9cc3669dade3e3f
c15f9b7da2476d26cbbfe23a9a4af158c8e902cb
/tests/test_utils.py
8de1e037c40a9e461425db65f21787d9d96a3e68
[ "MIT" ]
permissive
winterwolf32/JWT-
e0cff77a2a4c92b209d5a0f5cbfa40979818e692
34c552cab40c0f8c4370a26f1a0848182b8182f8
refs/heads/debian
2023-02-24T06:18:00.364230
2021-01-09T18:42:52
2021-01-09T18:42:52
331,849,653
0
0
MIT
2021-01-22T06:15:06
2021-01-22T05:49:56
Python
UTF-8
Python
false
false
2,217
py
"""Test""" import os import pytest as pytest from myjwt.Exception import InvalidJWT from myjwt.Exception import InvalidJwtJson from myjwt.utils import create_crt from myjwt.utils import encode_jwt from myjwt.utils import encoded_to_json from myjwt.utils import HEADER from myjwt.utils import is_valid_jwt f...
[ "matthieubouamama@gmail.com" ]
matthieubouamama@gmail.com
1b7bc60e5f96d7021876fa2984fee6dbd694c9b2
29eca8f09cda1b5a744d71405e866758b298eb3f
/sprint_01_[Types,Loops,Conditions,Collections,Modules]/Task_7.py
8a3c59f68dec4b3091bc76449975614d7fa827df
[]
no_license
JustSayHelloWorld/python-coding-marathon
c8144b9832e7860b832cdfa223a872f460aaef64
f2e4a60af668954c794112ad80eb13ae88f7cd76
refs/heads/main
2023-03-06T19:15:49.163394
2021-02-23T00:46:29
2021-02-23T00:46:29
313,949,762
1
0
null
null
null
null
UTF-8
Python
false
false
1,680
py
"""Nicky and Dev work in a company where each member is given his income in the form of points. On Nicky's birthday, Dev decided to give some of his points as a gift. The number of points Dev is gifting is the total number of visible zeros visible in the string representation of the N points he received this month. Le...
[ "Useresps5007717f" ]
Useresps5007717f
7153a4c17d679b6a69da201b4c53f56cfe0c5619
517a904955033092aec11288151d725548226abc
/pandas_tutorial/data_advance/df_column_order.py
bd0d1a7f8f2a20eab540746de7dffb1501d42be3
[]
no_license
MinSu-Kim/python_tutorial
ae0a4e3570aa4cb411626cefbc031777364764d5
ed0c08892822d7054161c9e8f98841370868e82d
refs/heads/master
2021-06-16T16:15:30.349719
2021-05-26T04:59:47
2021-05-26T04:59:47
207,266,202
1
0
null
null
null
null
UTF-8
Python
false
false
1,010
py
import seaborn as sns print("# titanic 데이터셋의 부분을 선택하여 데이터프레임 만들기") titanic = sns.load_dataset('titanic') df = titanic.loc[0:4, 'survived':'age'] print(df, '\n') print("# 열 이름의 리스트 만들기") columns = list(df.columns.values) # 기존 열 이름 print("ssss", sorted(columns, reverse=True), type(sorted(columns, reverse=True))) prin...
[ "net94.teacher@gmail.com" ]
net94.teacher@gmail.com
abfed8d8ae22cce4407a9b4c8daf17be14dc23d7
81fc35981a1a77f5a4af2f333be7a01e8c00959b
/NOT.py
60dd196d039a901551a417d3b971dc001e4c1a94
[]
no_license
mellow-d/GameOfLife
ba01ee508ff807f12dda64ec0b0c63133812947d
2c00ae7d58ccfc4a4e1d04a8694081a72d855193
refs/heads/master
2021-10-08T19:56:39.758529
2018-12-17T04:54:44
2018-12-17T04:54:44
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,446
py
import numpy as np import matplotlib.pyplot as plt import matplotlib.animation as animation from spawners import * import sys # N = 50 ON = 255 OFF = 0 vals = [ON, OFF] # populate grid with random on/off - more off than on #grid = np.random.choice(vals, 80 * 158, p=[0.2, 0.8]).reshape(80, 158) def numOfNeighbors(x,...
[ "majinsparks@gmail.com" ]
majinsparks@gmail.com
7887f18e6d71f9eaf61d02aa2d134eb927a02aec
d3638776a2ce455eb42f29c9c06e267392b6815a
/reading/book/migrations/0007_auto_20180703_2156.py
d188bede58a1d3c4590c803e1b5a26ae3aa7e460
[ "MIT" ]
permissive
Family-TreeSY/reading
abce1b5e6047c72867839303ab0181c7a4997913
a35d1242ce3a7303fe125c11de8125bd9afbdb3c
refs/heads/master
2020-03-20T04:53:18.089247
2018-07-09T08:51:32
2018-07-09T08:51:32
137,197,886
2
1
null
null
null
null
UTF-8
Python
false
false
749
py
# -*- coding: utf-8 -*- # Generated by Django 1.11.3 on 2018-07-03 13:56 from __future__ import unicode_literals from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('book', '0006_auto_20180619_2116'), ] operations = [ migrations.AddField( ...
[ "286210002@qq.com" ]
286210002@qq.com
bda236931f532e5ace9057479265cd634180924d
dd3692b21cab2bf907775b6769cb015c887b8fe2
/Admin/routes/categories.py
5be1ca125908ae88ffc90fabc0b65f3bc69f7358
[]
no_license
Nesquate/flaskBlog
e718bed9a2e36f31324cc240c6fa06dfb792f91b
17e2077ddb048f5e08ca9b083227e453d07c579a
refs/heads/master
2023-05-23T18:47:37.540339
2021-06-19T18:21:59
2021-06-19T18:21:59
344,166,974
0
0
null
null
null
null
UTF-8
Python
false
false
2,187
py
from flask import render_template, url_for, escape, redirect, abort, request from flask_login.utils import login_required from app import core from database import db, models @core.route('/admin/categories', methods=['GET', 'POST']) @login_required def adminCategories(): status = 0 if request.method == 'POST':...
[ "nesquate.100001@gmail.com" ]
nesquate.100001@gmail.com
dc09c3c13f4ca2119ef4419cf567c1bbe2bf7f42
81bdc1dccfb95877e5f376527c23cb5c72a13922
/pyl2extra/gui/debugger/remote_window.py
05041c0221dd8c677c8b0d68e7c8136c0ee9f4e5
[ "BSD-3-Clause" ]
permissive
TNick/pyl2extra
1fb5be10448bc09018e2b0ac294b2e03fb146a57
323e1ecefeedc7d196de6d7ac6d8eceecb756333
refs/heads/master
2021-01-22T07:04:10.082374
2015-08-11T09:57:17
2015-08-11T09:57:17
34,400,301
0
1
null
2015-04-22T17:19:50
2015-04-22T15:58:21
Python
UTF-8
Python
false
false
2,954
py
#!/usr/bin/env python # -*- coding: utf-8 -*- """ @author: Nicu Tofan <nicu.tofan@gmail.com> """ from PyQt4 import QtGui, QtCore from pyl2extra.gui.guihelpers import center class RemoteDialog(QtGui.QDialog): """ Allows selecting remote in order to debug on that remote. """ def __init__(self, mw): ...
[ "nicu.tofan@gmail.com" ]
nicu.tofan@gmail.com
7bd05db19bfc73b84e228e2d63a0457b0444eb53
eef3b9b1796cda5342399c5ed286503bc0f92aee
/breast_cancer.py
708e00a7ef1eeb90c5676eb80a383ba89979d187
[]
no_license
RenanJochem98/RedesNeurais
8112b890c8e22d0e21a892bb54a4dbe908f8385d
5b09332540fc3d43351f4c36c168ab8da85963c2
refs/heads/master
2020-12-20T07:19:41.645345
2020-02-24T13:38:27
2020-02-24T13:38:27
235,999,740
0
0
null
null
null
null
UTF-8
Python
false
false
3,446
py
import numpy as np from sklearn import datasets from datetime import datetime def calculaAtivacao(entradas, pesos): somaSinapse = np.dot(entradas, pesos) return sigmoid(somaSinapse) def atualizaPesos(camada, delta, pesos, momento, taxaAprendizagem): camadaTransposta = camada.T # eh necessaria a transposta...
[ "renanjochem98@gmail.com" ]
renanjochem98@gmail.com
3ec4aad73f67b02aaeb6f0ca72ece622d9168757
eeab5c5f07331cf3fbccb5232a2825c90d4bf5b5
/RestAPI/urls.py
4f957d035b1b19d8e90f4e261ede85d759b5f76b
[]
no_license
AlbertBuluma/DjangoRestAPI
8ab8c6e935aae12008643e813c73d6105ee98c80
a1dc6ae4768219b590a25c4f8b8c1bca6c848ca6
refs/heads/master
2020-06-07T15:44:56.822383
2019-06-21T14:21:24
2019-06-21T14:21:24
193,051,587
0
0
null
null
null
null
UTF-8
Python
false
false
799
py
"""RestAPI URL Configuration The `urlpatterns` list routes URLs to views. For more information please see: https://docs.djangoproject.com/en/2.2/topics/http/urls/ Examples: Function views 1. Add an import: from my_app import views 2. Add a URL to urlpatterns: path('', views.home, name='home') Class-based...
[ "albert.buluma1@gmail.com" ]
albert.buluma1@gmail.com
a343c836cf8321f236486772dd7e2cff06976448
65b844b72641fcdbf14b640f101c7fb0c4bbef5a
/eventex/core/views.py
fae68c412e60530ef53ab48d9bb2b82a2968de91
[]
no_license
victornovais/wttd
bcb6a53cf447e40062246c8b1ea4ea444aa64fb8
839d7ffa95809436d1c3da11e43651accb83ef14
refs/heads/master
2021-01-10T19:01:28.934467
2012-10-30T15:04:54
2012-10-30T15:04:54
6,015,049
0
1
null
null
null
null
UTF-8
Python
false
false
166
py
# -- coding:utf-8 -- from django.views.generic.simple import direct_to_template def homepage(request): return direct_to_template(request, template='index.html')
[ "victorh.novaisr@gmail.com" ]
victorh.novaisr@gmail.com
d580bb52936c3e6585d52824c4aa694524658047
7b593731dffd7be9034a7904eb46a8ac6771d3a4
/FrozenLake-v0/Q_learning.py
373db383257e0d22ef46b383cb523531f404fdbe
[]
no_license
hsdtlx/openAI-Gym
1bfa32f885543744720860b551c487bd38502579
b3c59788d29cab70388c614063a02e07d41b16d2
refs/heads/master
2020-03-22T07:05:30.572768
2018-09-22T04:02:03
2018-09-22T04:02:03
139,677,472
1
0
null
null
null
null
UTF-8
Python
false
false
1,275
py
# results of 100000 episodes, 10000 tests: # 74.72% # 73.97% # 74.18% import gym import numpy as np env = gym.make('FrozenLake-v0') LR = .01 y = .8 MAX_EPISODES = 100000 MAX_TEST = 10000 Q = np.zeros([env.observation_space.n, env.action_space.n]) test_reward = 0 training_reward = 0 epsilon = 0.9 decay_rate = 0.001 ...
[ "956895214@qq.com" ]
956895214@qq.com
d109de108b76bdf5b2a33d7d1a963f878e74c838
76964e4eedb8f2f8317dcac51ca458fe31af0de7
/IITBxReportsProj/v_1_faculty/urls.py
4c8d9791907fad24bdc172e3c1d3b1cc32e00515
[]
no_license
Chirram/IITBombayXMAPP
4e8e7a4086fc3bfa8147397e69b1a7cb6a447685
ffea8b3e7168da9065a91363fcd50f3112953203
refs/heads/master
2021-01-10T18:12:11.468559
2016-02-21T07:08:22
2016-02-21T07:08:22
52,195,116
0
1
null
null
null
null
UTF-8
Python
false
false
1,623
py
from django.conf.urls import url from . import views urlpatterns = [ url(r'^index/(?P<facultyid>(.+))$',views.index,name='index'), url(r'^course_unanswered_questions/(?P<facultyid>(.+))$',views.course_unanswered_questions,name='course_unanswered_questions'), url(r'^course_answered_questions/(?P<facult...
[ "chkumariiit123@gmail.com" ]
chkumariiit123@gmail.com
99d7d18dcbf19d05926656b8d453cb74662d354b
c34805d6b2e9b4cd03feaa53feee93077e5efba6
/common/migrations/0001_initial.py
3b8413542aa7fe972d2e90bdf18d1b0460b7d05b
[]
no_license
ccpwcn/niu_she_bing
4d98333693e21c2614998d1634a0f296f8c839e3
207302706d5632b62203a46ce9e6e69b62d8b5bf
refs/heads/master
2022-09-01T04:49:34.542610
2020-05-25T12:50:55
2020-05-25T12:50:55
259,833,331
0
0
null
null
null
null
UTF-8
Python
false
false
2,093
py
# Generated by Django 3.0.5 on 2020-04-29 11:32 from django.db import migrations, models class Migration(migrations.Migration): initial = True dependencies = [ ] operations = [ migrations.CreateModel( name='Article', fields=[ ('id', models.IntegerFie...
[ "ccpwcn@gmail.com" ]
ccpwcn@gmail.com
3768f4cd95d5fb4609086e286e82398041acb23f
dc112f7819ba3cba1c889d1a524fad054cdfb3a2
/Write a Python script to generate and print a dictionary that contains a number in the form/main.py
7c56342e13514313eae0b7a6b915d75c6cc6c9c6
[]
no_license
Grozdanovsky/Dictionaries
fcc42558733864e780ead407c4e98f721da62201
72941bd1ae34f45a5d47b8c0bc768f5d14147723
refs/heads/master
2023-03-12T20:04:26.092581
2021-03-01T18:06:50
2021-03-01T18:06:50
343,498,322
0
0
null
null
null
null
UTF-8
Python
false
false
132
py
counter = int(input("write a number: ")) dic1 = {} for item in range(1,counter+1): dic1.update({item: item*item}) print(dic1)
[ "viktor.grozdanovski@outlook.com" ]
viktor.grozdanovski@outlook.com
5e917b913b6974267f31b4a811c0056105fd1047
9625c975792f7a7bc2ad73f0a48fb478452cd15e
/search.py
e6b308aca4f4e37594890e8c0053a2e4c789756f
[]
no_license
nickallaire/CSE150Assignment1
9698038ed91526a8a258416b410fd87c64a4d6c6
da5fe4baf7975f40b5d0b3a143fd27fca49d98a3
refs/heads/master
2020-03-10T08:54:32.514931
2018-04-13T02:49:31
2018-04-13T02:49:31
129,297,252
0
0
null
null
null
null
UTF-8
Python
false
false
10,345
py
# search.py # --------- # Licensing Information: You are free to use or extend these projects for # educational purposes provided that (1) you do not distribute or publish # solutions, (2) you retain this notice, and (3) you provide clear # attribution to UC Berkeley, including a link to http://ai.berkeley.edu. # # A...
[ "nick.allaire@gmail.com" ]
nick.allaire@gmail.com
32ad761ef74eab1d9a05b46efafe7da15251b1e0
f9aba4362f254ee094028b6c3fe1f2a8465a706e
/configs/SpecialRequests2013/gio3bis_STEP1_DIGI_L1_DIGI2RAW_HLT.py
28102ab99f63ca4813b7db581b3e8f2e08d231dd
[]
no_license
cms-PdmV/wmcontrol
be28bf80eb022ceeb9ccb3b3c2906a66261f6536
6f564c325db5a9718f2aceb9e6f18f901ff04179
refs/heads/master
2022-07-28T17:46:14.908388
2022-06-22T10:10:13
2022-06-22T10:10:13
12,247,869
1
12
null
2021-03-16T12:25:06
2013-08-20T16:20:53
Python
UTF-8
Python
false
false
3,396
py
# Auto generated configuration file # using: # Revision: 1.381.2.13 # Source: /local/reps/CMSSW/CMSSW/Configuration/PyReleaseValidation/python/ConfigBuilder.py,v # with command line options: STEP1 --step DIGI,L1,DIGI2RAW,HLT:7E33v2 --conditions START53_V7C::All --datamix NODATAMIXER --eventcontent RAWSIM --datatier ...
[ "franzoni@4525493e-7705-40b1-a816-d608a930855b" ]
franzoni@4525493e-7705-40b1-a816-d608a930855b
ee714e86e308d91faaac2484d9ae4ef7adaa57e7
2e4d49fbcc29bf5a5d409e9c8b7565dd1624f5d4
/ecom/api/user/models.py
58ebf55199243862362faa425c7dd01bc56cbbe2
[]
no_license
Vasanth-Korada/Ecommerce-Web-App-React-Django
b114ba1d007c3d81189efc9434c8028e50621635
7032a50a153719b4da37fea00c41ee9348c1c2fe
refs/heads/master
2022-11-28T12:02:31.380058
2020-08-10T17:25:13
2020-08-10T17:25:13
286,537,329
1
0
null
null
null
null
UTF-8
Python
false
false
815
py
from django.db import models from django.contrib.auth.models import AbstractUser # Create your models here. class CustomUser(AbstractUser): name = models.CharField(max_length = 50, default = "Anonymous User") first_name = models.CharField(max_length = 50, default = "") last_name = models.CharField(max_leng...
[ "vasanthkorada999@gmail.com" ]
vasanthkorada999@gmail.com
91a6002050a2af7455c332231a47d933bb9a242e
435585a1fb0d0c0e0a6029fc93526ef0797462dd
/scripts/setup_mysql.py
79deba1ac2cbfb77239e45341c88d2592f18b9cb
[]
no_license
jhuang1996/seidm-hw7
f86de860a06ad25803ab72ad860844caa6252246
3d449a133ece98f6bc4692828440bc35ada37cb6
refs/heads/master
2021-01-01T18:40:18.729930
2017-07-21T00:09:41
2017-07-21T00:09:41
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,257
py
#!/home/yeeede/pyenv/bin/python # -*- coding: utf-8 -*- import sys import MySQLdb import MySQLdb.cursors try: r_conn = MySQLdb.connect(host='127.0.0.1', user='root', passwd='root1234', charset='utf8') except: print("Can't Conn...
[ "yeeede@gmail.com" ]
yeeede@gmail.com
8bb060909a202550a078a45e2a9a1cd214cf9ab5
9941a2c8e6eac5ca86f369bc6f863edee181e79b
/routes/admin.py
048ede46f56aeecae946f16211d4f0ab69d5bd48
[]
no_license
InvokerAndrey/detect_route
62bda06b6f8942808151e3a2641836aca0ea347f
3b3b6618aa77f79d77e55616f0d2c25be2db008f
refs/heads/master
2023-03-24T08:43:05.694189
2021-03-23T18:15:06
2021-03-23T18:15:06
343,092,312
0
0
null
null
null
null
UTF-8
Python
false
false
88
py
from django.contrib import admin from .models import Route admin.site.register(Route)
[ "dydyshko1999@gmail.com" ]
dydyshko1999@gmail.com
3e7419435bcf00e6e2ce2fac653376bc982e68eb
1cc505f220f49ea59afc5d81a9d2dda45334e78c
/update.py
0c5273f2c873478ea897cc7255def9da7723de15
[]
no_license
padmeshnaik/Sentiment-Analysis
7dd57ee5b10003f3c8f23c640f5d15ee881c66cd
b76586ab215919fdca186c32a6a98674192d21af
refs/heads/master
2022-11-07T08:20:14.239534
2020-06-23T09:58:27
2020-06-23T09:58:27
274,345,128
0
0
null
null
null
null
UTF-8
Python
false
false
1,675
py
import pickle import sqlite3 import numpy as np import os # import HashingVectorizer from local dir from vectorizer import vect """ The update_model function will fetch entries from the SQLite database in batches of 10,000 entries at a time, unless the database contains fewer entries. Alternatively, we could also fe...
[ "paddy@orkut.com" ]
paddy@orkut.com
bb89c0558e9830a7ba414e9cea296ffb578f8509
e49b654d3db99773390c5b9686df9c99fbf92b2a
/linked_lists/linked_list.py
f018e58590e973d2a1aac0516779018498713c0c
[]
no_license
hao89/diary_of_programming_puzzles
467e8264d0ad38768ba5ac3cfb45301293d79943
0e05d3716f28075f99bbd7b433d16a383209e57c
refs/heads/master
2021-01-16T00:49:38.956102
2015-08-25T13:44:53
2015-08-25T13:44:53
41,692,587
1
0
null
2015-08-31T18:20:38
2015-08-31T18:20:36
Python
UTF-8
Python
false
false
455
py
class LinkedListNode: def __init__(self, data): self.next = None self.data = data def __str__(self): node_str = "" current_node = self while current_node: if current_node.next: node_str = node_str + str(current_node.data) + ", " el...
[ "me@davidadamojr.com" ]
me@davidadamojr.com
edf6d30b532cf45a423e77182e923ca471f650bb
daa0a1df5c86b5eed882f50bb2f10be670f16bd7
/utils/get_seq_from_fasta.py
30258750f3538594fbbdb4f82d65133084cda6ee
[]
no_license
mengzhou/scripts
ded2d3ccf81905c444e1b4c11c09313fc7bca1ed
6b7d2c184aaee6e6541e788d7098ba2548215638
refs/heads/master
2021-01-12T02:04:11.908707
2019-01-04T20:03:29
2019-01-04T20:03:29
78,463,547
0
0
null
null
null
null
UTF-8
Python
false
false
1,456
py
#!/usr/bin/python import sys def get_length(inf): pool = [] headline = 0 for i in range(2): line = inf.readline() if line.startswith(">"): headline = len(line) continue pool.append(line) l = [len(i) for i in pool] return (sum(l)/len(l),headline) def process_len( start, len_par )...
[ "mengzhou@usc.edu" ]
mengzhou@usc.edu
a2c894266a18f801e6be30feb0966af7a35fcc59
1fbcb308d5431e60b50262b175a62ad935b833dd
/object_detection/1_data_creation/vid_to_img.py
4c4c080659f54b7abbcc38416429854182cdca53
[]
no_license
deveshasha/computer_vision
d0288554c440f9051e4e719447bd61ace74dc316
9cbd86c273a907355c9d06d6d118f67d2fb0009c
refs/heads/master
2020-04-25T14:54:18.379126
2019-03-26T12:17:29
2019-03-26T12:17:29
172,858,351
0
0
null
null
null
null
UTF-8
Python
false
false
380
py
import cv2 import os vidcap = cv2.VideoCapture('1.mp4') success,image = vidcap.read() count = 0 i=0 path = 'D:/D/win10_desktop/projects/tensorflow/bottle/images' while success: if count%2 == 0: i += 1 cv2.imwrite(os.path.join(path,'frame%d.jpg' % i), image) # save frame as JPEG file success,image = vid...
[ "deveshasha.2@gmail.com" ]
deveshasha.2@gmail.com
1bfb4f5d995aad01cce1ca871097d0778a1a7b0b
2054c6debfb02196c79474d2bd72404c9e23129d
/09day/12-等腰三角形.py
b73ca5639a64362fef42af7570782bff1c56b055
[]
no_license
yanzixiong/Python_Test
7c5083d8fc2fef81f534c15d800e7b749668ea0d
9cf53b42e72df6fa4b296bc78c0debadcf3dd625
refs/heads/master
2021-04-15T14:33:00.440187
2018-05-03T01:34:15
2018-05-03T01:34:15
126,916,873
0
0
null
null
null
null
UTF-8
Python
false
false
118
py
i = 1 while i <= 5: print("* "*i)#*后带空格 跟*后不带空格 i+=1 j = 4 while j >= 1: print("* "*j) j-=1
[ "569603978@qq.com" ]
569603978@qq.com
e69e7a9c4fffe8c06fd9032e770298561232b62a
13bc9dc187a4714fb76b83c9385ff27c0b55fc99
/HiggsAnalysis/CombinedLimit/python/HiggsCouplings.py
2ddb6bd16770169add412d7b56fc9a1de447e982
[]
no_license
bachtis/CMSDAS
46bf05e896b6f01b797f1abfa9c04fe713a22d0b
17796f62f03d1a2739977ff0180d65ed7650abac
refs/heads/V0
2016-09-16T05:01:26.062550
2014-01-23T11:20:54
2014-01-23T11:20:54
15,795,736
1
0
null
2014-01-14T16:05:58
2014-01-10T10:53:36
C++
UTF-8
Python
false
false
1,510
py
# Benchmark Higgs models as defined in (put ref to LHCXSWG document) # the model equivalent to mu from HiggsAnalysis.CombinedLimit.HiggsBenchmarkModels.CSquared import CSquaredHiggs cSq = CSquaredHiggs() # CVCF models from HiggsAnalysis.CombinedLimit.HiggsBenchmarkModels.VectorsAndFermionsModels import CvCfHiggs, CvC...
[ "bachtis@cern.ch" ]
bachtis@cern.ch
b34ecbc075ee5638798ac7fef871cffcc948730a
039a8b5362c958ce58275ca80d9bb03b03bf9d70
/warehouse-management-python-widget/p1_vodjenje_magacina/p_model.py
d54f7bdb55135c266db433fcd89e17aa24f13f25
[]
no_license
djkrstovic/Python-warehouse-management-widget
3c02641da90465baae3f52f225938a1e082be878
750bbd2b45718b611f820b7e3b1722d85bbe85f1
refs/heads/master
2020-09-22T15:49:19.665482
2019-12-02T02:02:21
2019-12-02T02:02:21
225,255,114
0
0
null
null
null
null
UTF-8
Python
false
false
6,068
py
from PySide2 import QtCore import csv import os import re class PModel(QtCore.QAbstractTableModel): """ Klasa koja predstavlja specijalizaciju QAbstractTableModel-a. Koristimo tabelarni model, jer cemo podatke posmatrati kao tabelu, i u tabeli ih prikazivati. Svaki tabelarni model ima redove i kolone....
[ "noreply@github.com" ]
noreply@github.com
fd69e5c0ad13bddd3665e157cdd85e17f6da1920
d25003d4e1a1cd3b5eca1525c0119da47579f294
/scripts/sort_double.py
51093694d8a595573520419157b7d218af437429
[]
no_license
rd37/GooglePracticeProjects
ceabcb838bd4bd50397b8fdf775e810db320dbb1
b3543ada39b8c24f688a41cf0b745482013a93d9
refs/heads/master
2016-09-06T16:50:41.303580
2014-12-12T03:23:23
2014-12-12T03:23:23
null
0
0
null
null
null
null
UTF-8
Python
false
false
441
py
''' Created on Dec 10, 2014 @author: ronaldjosephdesmarais ''' ints = [5,8.2,1,7,4.1,13,12,4.1,8.2] print "------use python sorted------" print sorted(ints) print "------use dictionary ------" srt_dict = {} srt_arr = [] for i in ints: if i not in srt_dict: srt_dict[i]=1 else: srt_dict[i]=s...
[ "ron.desmarais@gmail.com" ]
ron.desmarais@gmail.com
17b011426ea5dd281920f3b73b76457056e5bd1b
4ce6fb5c49ee6ec4b5df9e056040382812a8a591
/product/migrations/0029_auto_20191001_0528.py
2120012f6b7045350592076be1c5027236969a78
[]
no_license
yantrashalait/Multronics
198c807a0bb2b8c1ae7bcc2325436467ee8a90b3
c85b5a263fe1507c994236bba26ad12d93157622
refs/heads/master
2021-02-14T18:28:25.984830
2021-01-18T09:19:21
2021-01-18T09:19:21
244,825,522
0
0
null
null
null
null
UTF-8
Python
false
false
636
py
# Generated by Django 2.2.4 on 2019-10-01 05:28 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('product', '0028_aboutiteam'), ] operations = [ migrations.AddField( model_name='product', name='visibility', ...
[ "saneprijal@gmail.com" ]
saneprijal@gmail.com
cd19029f0c39b283a11f7e1d3128085545b137cf
f6e6aa28ec179090d93da2fa6e3ab32ad448a17c
/login.py
b86829fb5fec7d51699f501ef6006647f37c0ae8
[]
no_license
Feelian/pythonVkChat
6d644c3ad3ca91bc393ee4730461114f186a6764
8ce9ce144f7cf77c12f8cdb87be42784248f397d
refs/heads/master
2020-04-04T02:41:18.854789
2014-08-18T09:59:48
2014-08-18T09:59:48
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,813
py
import time from urllib import unquote from PyQt4 import QtGui, QtCore, uic, QtWebKit from PyQt4.QtGui import QDialog from PyQt4.QtCore import QUrl from loginDialog import Ui_LoginDialog class LoginExc(Exception): def __init__(self, arror_msg): self.error_msg = error_msg def __str__(self): re...
[ "feelianp@gmail.com" ]
feelianp@gmail.com
ddfd7bf5af10cd3f6fccd9b4bb92f1766db97e72
a1d5290470d5a8beb99846d62d8539a13021470e
/exercicios/PythonBrasilWiki/exe016.descisao.py
7a33791db9916adabfbecfbfee5c60f676bcb34e
[]
no_license
Jackroll/aprendendopython
26007465b42666f0a9aff43e8229b24aef418d4c
9211612a1be8015bcf8d23d8cdfbd11d9df38135
refs/heads/master
2021-02-19T19:40:22.993033
2020-04-04T21:35:08
2020-04-04T21:35:08
245,319,139
0
0
null
null
null
null
UTF-8
Python
false
false
1,415
py
#Faça um programa que calcule as raízes de uma equação do segundo grau, na forma ax2 + bx + c. # O programa deverá pedir os valores de a, b e c e fazer as consistências, informando ao usuário nas seguintes situações: #Se o usuário informar o valor de A igual a zero, a equação não é do segundo grau e o programa nã...
[ "jeremias.jacson@gmail.com" ]
jeremias.jacson@gmail.com
70ea07fbc9a71f9c1baec3a6bf4c6d9ddb095cba
80ba3b75b6080cc166e629e4170869dee54b7e6a
/WebScraping/CharityNavigator/Scrape.py
ecacf77c681e446777dcb212cc88d99beb866e7c
[]
no_license
bloodtypebpos/Python
1df10e6ff18c403a402f086a2ed9bffedb5f98bc
28b9f107b065643239d897670d1c2afd56c3ca8d
refs/heads/master
2023-07-21T19:40:23.756432
2023-07-19T12:07:48
2023-07-19T12:07:48
49,387,407
0
0
null
null
null
null
UTF-8
Python
false
false
1,509
py
import urllib2 import re import urllib import csv f = open('File.txt', 'r') x = f.readlines() urls = x i = 0 regex = '<td align="right">(.+?)</td>' regex2 = '<h1 class="charityname">(.+?)</h1>' y = [] pattern = re.compile(regex) pattern2 = re.compile(regex2) while i < 100: argh = 0 htmlfile = urllib.url...
[ "matt.tigrett@gmail.com" ]
matt.tigrett@gmail.com
ea49f983a7f76448d0096f7f3db4167a050bb333
914169f306e4d4a4662d5e6d9503cef29dbf1747
/104.二叉树的最大深度.py
caac420138092b50deec6bcf6ceb2425d257a333
[]
no_license
weshao/LeetCode
55a6bd16ce6496928748d0f8f0de3cdf40fd1087
6abef0e78db48ad2d1bd69e3991a14784c6fb813
refs/heads/master
2023-03-06T09:58:19.740092
2021-02-09T10:47:16
2021-02-09T10:47:16
284,904,436
0
0
null
null
null
null
UTF-8
Python
false
false
1,148
py
# # @lc app=leetcode.cn id=104 lang=python3 # # [104] 二叉树的最大深度 # # https://leetcode-cn.com/problems/maximum-depth-of-binary-tree/description/ # # algorithms # Easy (75.29%) # Likes: 738 # Dislikes: 0 # Total Accepted: 304.9K # Total Submissions: 404.9K # Testcase Example: '[3,9,20,null,null,15,7]' # # 给定一个二叉树,找出...
[ "shihao.wei@doneenterpsies.fi" ]
shihao.wei@doneenterpsies.fi
dbe400a1b3020905a30368837a0dd906638b22cc
8f9ba4a18bd61490a12f25940dd346dd99090b45
/election/src/attacks.py
852dfb17c292297907ff72e630189578c07e2618
[ "MIT" ]
permissive
KiFoundation/ki-simulator
f658045c9060f2868aca22279bddcd4a367a7d5c
291c9217f4555d4bebd4f7a86b802badfeaffe5a
refs/heads/master
2020-04-22T16:18:58.184572
2019-09-19T13:17:05
2019-09-19T13:17:05
170,503,987
0
0
null
null
null
null
UTF-8
Python
false
false
2,162
py
import os import pandas as pd from election.src.generator import * from dotenv import load_dotenv # Load dotenv file load_dotenv() # Load config weight_stake = float(os.getenv("weight_stake")) stake_operator = float(os.getenv("stake_operator")) num_rounds = int(os.getenv("num_rounds")) num_validators_per_round = int...
[ "tarek.awwad.36@gmail.com" ]
tarek.awwad.36@gmail.com
3580cafd6143fcbe243e5532adc80b03980dee44
bf383bfdbeefe059ee5e9145b3515ccab428433a
/Week 2 - Task 1.py
88d174f0f0d3ef4c4f3ea640d575c14b199560ba
[]
no_license
Tstaite/210CT
1a13c9ba4b61edb9f94e8547889b913b82a4f0a4
896307b2e2d888571aaecc310a7996548a82999a
refs/heads/master
2021-05-01T00:46:49.205611
2016-11-29T17:29:29
2016-11-29T17:29:29
71,224,600
0
0
null
null
null
null
UTF-8
Python
false
false
854
py
#function to calculate the highest perfect square def Perfect_Square(Mynumber): #check datatype of input try: Mynumber = int(Mynumber) except ValueError: print("Incorrect datatype") return Integer = 1 Answer = Integer*Integer if (Mynumber == 1): print(...
[ "noreply@github.com" ]
noreply@github.com
d012a11c686f43885568788458bc63886376f692
1df81e3f797e8e22e8dd9a6da3571ac55bf6eb01
/setup.py
51e7c45dc21f1c07fdd38d62c23cd96aa2dfd25a
[]
no_license
xavitorne/python_skeleton
48ce3709d4610838f8c36deb9a87c3d8c811466a
93379c878e4522e1ca6c612db9a9d9ac78a498d1
refs/heads/master
2021-01-20T22:44:31.363008
2015-07-05T14:50:32
2015-07-05T14:50:32
38,571,722
0
0
null
null
null
null
UTF-8
Python
false
false
1,073
py
import os from setuptools import find_packages from setuptools import setup version = '0.1' project = 'project_name' install_requires=[ 'Babel', 'lingua', 'sqlalchemy-i18n', ], here = os.path.abspath(os.path.dirname(__file__)) README = open(os.path.join(here, 'README.md')).read() setup(name=project, ...
[ "xavitorne@gmail.com" ]
xavitorne@gmail.com
1fde76fe6d7ee15fb2be82a427394b347a48cc92
24b2ddd58721395b2dc921404da65beacac500bd
/where_are_you_going/middlewares.py
e77c48d064445bc4e6f094725a95f4e04d7d3d13
[ "MIT" ]
permissive
matheuslc/where_are_you_going
a033b770301c763063e4a4f649a52042a914324d
3a86f91ba2d36829abf7f424606d39d9fb519d06
refs/heads/master
2021-01-18T16:12:16.341250
2017-03-30T16:38:44
2017-03-30T16:40:32
86,724,889
2
0
null
null
null
null
UTF-8
Python
false
false
1,890
py
# -*- coding: utf-8 -*- # Define here the models for your spider middleware # # See documentation in: # http://doc.scrapy.org/en/latest/topics/spider-middleware.html from scrapy import signals class WhereAreYouGoingSpiderMiddleware(object): # Not all methods need to be defined. If a method is not defined, #...
[ "mematheuslc@gmail.com" ]
mematheuslc@gmail.com
92c9509a0a3d567feaa03af380141533adf3ec39
1f417a284f040ffd1936877228e9a8978d15158d
/hexrd/ui/interactive_template.py
f6b6f12668d4440185f012953a29ba05117a2f7b
[ "BSD-3-Clause" ]
permissive
aniru919/hexrdgui
732302543c579bf1c47b30125e620b8d77795fab
ff178c4733f2c6837a1e11595ae8762c8a95564e
refs/heads/master
2023-06-03T07:13:33.746381
2021-06-18T23:23:16
2021-06-18T23:23:16
null
0
0
null
null
null
null
UTF-8
Python
false
false
11,739
py
import numpy as np from PySide2.QtCore import Qt from matplotlib import patches from matplotlib.path import Path from matplotlib.transforms import Affine2D from skimage.draw import polygon from hexrd.ui.create_hedm_instrument import create_hedm_instrument from hexrd.ui import resource_loader from hexrd.ui.hexrd_con...
[ "brianna.major@kitware.com" ]
brianna.major@kitware.com
f1d81dc67ee2ad81eee744acd413b10b94d601ef
d28677015c35b03abcb316746761eb4757dd9fba
/isentia/items.py
11058f05d163010c89dee18f9a3fa3af320985a2
[]
no_license
saianger/isentia
42ae3774b3aa090deb85e2489ebc5283dc7f4e1f
25b9c856b247b55d5a8ccca19bab52f2d87d7acc
refs/heads/master
2021-01-10T03:55:45.165106
2016-03-29T02:51:20
2016-03-29T02:51:20
54,907,605
0
0
null
null
null
null
UTF-8
Python
false
false
313
py
# -*- coding: utf-8 -*- # Define here the models for your scraped items # # See documentation in: # http://doc.scrapy.org/en/latest/topics/items.html import scrapy class IsentiaItem(scrapy.Item): headline = scrapy.Field() link = scrapy.Field() article = scrapy.Field() author = scrapy.Field()
[ "guyangyu.li@hotmail.com" ]
guyangyu.li@hotmail.com
24567018d6cc56c197cd0f52a9cf7d6b9311506f
349d6ff272a4a113cee5b0ab7849f46305ebfb13
/sc2/game_data.py
2e69241ddf4f3f9265fd5ee0cf9aa760d4ddda4e
[ "MIT" ]
permissive
raimohanska/python-sc2
dafec03d73b905b092c92aefd5ee9d896e8df5e1
fb936be1618b4c8b8bf453d76d3f9894780a0f21
refs/heads/master
2021-09-03T04:04:46.630550
2018-01-05T12:50:11
2018-01-05T12:50:11
116,264,519
0
0
null
2018-01-04T13:41:56
2018-01-04T13:41:55
null
UTF-8
Python
false
false
2,856
py
from functools import lru_cache from .data import Attribute from .ids.unit_typeid import UnitTypeId from .ids.ability_id import AbilityId class GameData(object): def __init__(self, data): self.abilities = {a.ability_id: AbilityData(self, a) for a in data.abilities} self.units = {u.unit_id: UnitTy...
[ "hannes.karppila@gmail.com" ]
hannes.karppila@gmail.com
577e72e6c72d74c083f0ab47e43009c0b8368618
7579540f8f08666d8dc01d295162f94d7b0d9510
/env/bin/django-admin.py
d6710b7781ef67e89705f283fc0920ed8f7c9aa9
[ "MIT" ]
permissive
CanOzcan93/TriviaServer
a6d98865828ecc261094ccb0b3db779da21eb9ca
64bdffb91198a123860047ba46e3577078bdf2b8
refs/heads/master
2022-11-22T16:17:10.933845
2019-10-30T00:26:41
2019-10-30T00:26:41
218,407,122
0
0
MIT
2022-11-04T19:14:42
2019-10-30T00:06:00
Python
UTF-8
Python
false
false
190
py
#!/Users/canozcan/Desktop/Projeler/Python/django-example-channels/env/bin/python3.6 from django.core import management if __name__ == "__main__": management.execute_from_command_line()
[ "can.ozcan@redblac.net" ]
can.ozcan@redblac.net
28336385c105ef33bf482732e43d24abbfadd45e
78dad7cae02eb5291bb6f6fefad773dff4d01d73
/No1WeekMisssion_Two.py
372d1ecd4c48d14d7a5a38395c007b41d8f97fa2
[]
no_license
jasmintung/sz-hello-world
34af376661c946a58dbe5ca87b032bb4a4d90cf3
c51ab3f400f616ed3ab960c88ceb61190d0b010e
refs/heads/master
2020-09-15T23:41:21.998958
2017-07-18T02:42:55
2017-07-18T02:42:55
66,353,540
0
0
null
null
null
null
UTF-8
Python
false
false
4,064
py
# Author : 张桐 # Create Date: 2017-06-27 # instruction: 三级菜单,显示省(直辖市)市区 import json fileDst = "F:\CTO_week_mission\OneWeek\source\cities.txt" recycle = True highRecycle = True middleRecycle = True lowRecycle = True while recycle: print("退出使用请输入大些字母 : Q") with open(fileDst, 'r', encoding='utf-8') a...
[ "noreply@github.com" ]
noreply@github.com
38653fdd3af2752f4418005c7726f391d92dcefd
b1b0387bca58c30f62e02ca983cd1f9367ba4452
/superset/sqllab/query_render.py
b03b21d83ce3a7150efec363c869e0220aec4842
[ "Apache-2.0", "OFL-1.1" ]
permissive
fakegit/incubator-superset
32e347fddf87ccafdef950d8316e1c40548f4cb5
96f44219615a287db267f9dc1c0073aa038e0ed0
refs/heads/master
2023-09-03T00:13:06.357918
2021-10-18T18:09:23
2021-10-18T18:09:23
240,325,790
0
0
Apache-2.0
2023-01-26T21:04:15
2020-02-13T17:56:13
Python
UTF-8
Python
false
false
6,015
py
# Licensed to the Apache Software Foundation (ASF) under one # or more contributor license agreements. See the NOTICE file # distributed with this work for additional information # regarding copyright ownership. The ASF licenses this file # to you under the Apache License, Version 2.0 (the # "License"); you may not u...
[ "noreply@github.com" ]
noreply@github.com
567d7710808a7acfc4aeaefead48b3e49edd8d77
dae19f063c84698a92e8ab435c7563a6231dd1ea
/friends/urls.py
9bcd02610286c52366cb50f16fb8bc9c0f733bb2
[]
no_license
amirsedghi/friends
dd4861881db21c76bb46e0562c38aca98c2833fe
668da04786e50add497bcb327d2a8fc02ed72551
refs/heads/master
2020-12-25T14:23:23.498342
2016-08-19T20:14:07
2016-08-19T20:14:07
66,109,493
0
0
null
null
null
null
UTF-8
Python
false
false
750
py
"""friends URL Configuration The `urlpatterns` list routes URLs to views. For more information please see: https://docs.djangoproject.com/en/1.10/topics/http/urls/ Examples: Function views 1. Add an import: from my_app import views 2. Add a URL to urlpatterns: url(r'^$', views.home, name='home') Class-ba...
[ "amir.sepultura@gmail.com" ]
amir.sepultura@gmail.com
2d25644bf3cb309db61e58afcb3896a9c1e89aa9
0dc7ed076f70b28f2546f2e266783fd7dee5c5a3
/8/myStuff.py
f69e8bb0c170966ca029132250b3f3de591a9cae
[]
no_license
Kristjan-O-Ragnarsson/vef2t-05cu_verkefni
5145f8ef920af9221d53c139039d094349f77016
24f6ab6d1b0f282d3a0d964dbf9a6542789f80d0
refs/heads/master
2021-01-21T11:30:51.251314
2017-11-07T09:07:44
2017-11-07T09:07:44
102,003,336
0
1
null
null
null
null
UTF-8
Python
false
false
370
py
""" Kristjan O. myStuff 0.1.x """ DEBUG = True PORT = 81 HOST = 'localhost' session_opts = { 'session.type': 'memory', 'session.cookie_expires': True, 'session.auto': True } def debug(*args, **kwargs): if DEBUG: print(args, kwargs) def msg(msg, title): """ a msg...
[ "korri1313@gmail.com" ]
korri1313@gmail.com
9f217ec36d8e23186e431bd2f0f1ae0b6ba58f28
b7e6cdf094baaee9d6e5034c2355641fbf9138d7
/test2.py
1d278e6887286acf6ad8073e7a7038fe7af2e13f
[]
no_license
heshibo1994/leetcode-python-2
04296c66cd6d1fe58880062aeafdbe9d474b7d2e
3ea32f03bd453743b9b81de9871fad7ac67ced90
refs/heads/master
2020-05-23T21:49:01.367969
2019-09-30T03:31:27
2019-09-30T03:31:27
186,961,972
0
0
null
null
null
null
UTF-8
Python
false
false
17
py
print(int("343"))
[ "csuheshibo@163.com" ]
csuheshibo@163.com
4ff9e42fa0d257aff951b9cb1b37e0e6c62952fc
30884d1ee1767448528e0229f6adf7bc548cc1d4
/archive/old_4IAR/beck_old/config.py
09c7f5852b9a66f69767d8d1c0aa99285c54b30d
[]
no_license
jctops/4IAR-RL
6fc0cbdc6c4ca772f35139dabacb6742b3088efa
c110c5c7daad754b3ce726d20965a02583d03637
refs/heads/master
2021-08-08T09:40:36.696763
2020-12-10T09:25:50
2020-12-10T09:25:50
229,827,229
0
0
null
2020-10-05T18:32:53
2019-12-23T21:46:14
Python
UTF-8
Python
false
false
2,213
py
MCTS_ARGS = { 'parallel_threads': 1, 'cpuct': 1, 'mcts_iterations': 60 } SELFPLAY_ARGS = { 'DETERMINISTIC_PLAY': 8, 'GAMES_PER_SUBMISSION': 3, } TRAINING_ARGS = { 'MAX_MEMORY_SIZE': int(1e6), 'MAX_EXAMPLES_PER_RECEIVE': 10, 'START_TRAINING_THRESHOLD': 4096 * 3 / 1e6, 'TRAINING_SAMP...
[ "email@jaketopping.co.uk" ]
email@jaketopping.co.uk
a68ba341c2091ba7c4bc3e301c4a02c3a80db0b6
d9db6b00d0d0d570fce3e89cecd8b2c67b2ed9d8
/aicsmlsegment/bin/curator/curator_takeall.py
aba192f8c000dd886999c927c6ed3ff456ba30cc
[ "BSD-2-Clause" ]
permissive
AllenInstitute/aics-ml-segmentation
84afcf52085f36b1672a58828abc81479c806686
6ee1713100666ff4cd32380a75cc628124d9c2dc
refs/heads/master
2021-06-09T07:32:49.827954
2020-12-16T05:46:22
2020-12-16T05:46:22
149,820,330
24
7
NOASSERTION
2020-11-16T14:40:31
2018-09-21T21:30:48
Python
UTF-8
Python
false
false
6,669
py
#!/usr/bin/env python import os import sys import logging import argparse import traceback import importlib import pathlib import csv import pandas as pd import numpy as np import matplotlib.pyplot as plt from glob import glob from random import shuffle from scipy import stats from skimage.io import i...
[ "jxchen.ustc@gmail.com" ]
jxchen.ustc@gmail.com
4c6b68fbb70b544b5a6a1cded622f00c20ca5dc4
2c1e7bbc853097b3b7cc5ea5676a807a8abc84b2
/env/bin/ndg_httpclient
1c1ddc4828ed8ffd2296640ca45d52ab7630a3df
[ "MIT" ]
permissive
NickDST/Interactive-Assistant-Winter
4c304d791f14d6b1bb8c60c47cfdeff76b1bcf8c
7b4ea5bea45201a8a091134cdfab9e8bd3419d65
refs/heads/master
2023-01-20T09:08:32.618098
2020-01-06T15:39:22
2020-01-06T15:39:22
232,119,652
0
0
MIT
2023-01-09T12:06:44
2020-01-06T14:35:51
Python
UTF-8
Python
false
false
261
#!/Users/nicholasho/Desktop/GCPWinterV2/env/bin/python3 # -*- coding: utf-8 -*- import re import sys from ndg.httpsclient.utils import main if __name__ == '__main__': sys.argv[0] = re.sub(r'(-script\.pyw?|\.exe)?$', '', sys.argv[0]) sys.exit(main())
[ "learningnickk@gmail.com" ]
learningnickk@gmail.com
34e5075f02a2189ea0067c1e33f54c3292c1a874
56577a32dafc513c85dd02050a3ed93834bc2f83
/com/yanglf/main/doutu.py
b0825a3071f356d024ccee500ed23f51027a30c8
[]
no_license
yanglangfei/image
50ee00f370259534d4e31385544e18a6472a70a4
333c7b7e5bda41e83a63cc85f46390b6d0408784
refs/heads/master
2020-07-21T00:58:02.022299
2020-03-17T09:58:52
2020-03-17T09:58:52
206,734,418
3
3
null
null
null
null
UTF-8
Python
false
false
2,102
py
# _*_coding:utf8_*_ # Project: spider # File: main.py # Author: ClassmateLin # Email: 406728295@qq.com # 有项目的可以滴滴我, Python/Java/PHP/Go均可。WX: ClassmateYue # Time: 2020/2/21 4:54 下午 # DESC: import requests import os from bs4 import BeautifulSoup def get_html_text(url): """ 获取html文本 :param url: :return: ...
[ "文字899117" ]
文字899117
7a286bf190f3a7ccafa0b6a2278c68f4aebdc583
40280c446e21c07ac3ffd20c5eda064a05093698
/easy_module_attribute_getter/custom_transforms.py
4eb9cbf5ed62de0c0da0fdd380f0b4112685e08a
[ "MIT" ]
permissive
KevinMusgrave/easy-module-attribute-getter
884fdee1960b792db49e09edc5de0d268fd6ac8a
e0a733c02f2e6a969191a75c79159f45440c969f
refs/heads/master
2021-07-04T02:18:17.113242
2021-01-21T03:32:22
2021-01-21T03:32:22
218,787,854
9
2
null
null
null
null
UTF-8
Python
false
false
686
py
import torchvision.transforms.functional as F from PIL import Image class ConvertToBGR(object): """ Converts a PIL image from RGB to BGR """ def __init__(self): pass def __call__(self, img): r, g, b = img.split() img = Image.merge("RGB", (b, g, r)) ...
[ "tkm45@cornell.edu" ]
tkm45@cornell.edu
456651b819e2657166a381ed7218a062acf17c5c
973c0e2155372d3e03ff8043a404fca07fdb49e1
/accounts/migrations/0001_initial.py
f6867e6c216087438b9ace028733420cb89f089c
[]
no_license
CalebNash/full-stack-chatapp
5221e75b77a5d20f1e4ed8a3889ccb6a5c40d136
2dac447d617783df51c4c2fa905b5da92463d657
refs/heads/main
2022-12-31T14:36:06.535441
2020-10-20T20:10:10
2020-10-20T20:10:10
305,493,999
0
0
null
null
null
null
UTF-8
Python
false
false
2,870
py
# Generated by Django 3.1.2 on 2020-10-19 20:28 import django.contrib.auth.models import django.contrib.auth.validators from django.db import migrations, models import django.utils.timezone class Migration(migrations.Migration): initial = True dependencies = [ ('auth', '0012_alter_user_first_name_m...
[ "calebnash@Calebs-MacBook-Pro.local" ]
calebnash@Calebs-MacBook-Pro.local
b953899f2ab5ded79933d11b7d4da92f268e3ba3
49d1cc538dc2c97304f545834afaecd32a0b57d4
/proyectos/tienda_frutas_excel.py
90885798111c337aca2f0a054f3f2b070ad1320f
[]
no_license
Misachel/python-master
ea70926e2570a638c55e1dddf7faecc0eab596bb
f1145ec0bf7d986f45bfe234fa0db04e11d9ee17
refs/heads/master
2023-07-10T13:33:54.166756
2021-08-07T00:11:39
2021-08-07T00:11:39
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,435
py
# TODO: Abre la hoja de Excel que contiene el DataFrame de frutas (NOMBRE | PRECIO) # TODO: Abre la hoja de Excel que contiene el DataFrame de ventas (FRUTA | PRECIO | CANTIDAD | TOTAL | FECHA) def obtenerFrutas(): pass # TODO: Recorre cada fruta del DataFrame de frutas # TODO: haz un yield sobre df_...
[ "dragonnomada123@gmail.com" ]
dragonnomada123@gmail.com
e9aaecada9a17d7d8b636210f8d990f11a900e07
16631cf7cd4a70f2cd2750851649d3eff5e17724
/2022/day15/part2.py
00daf3f196e692462e068c11a24b226c3febf106
[]
no_license
kynax/AdventOfCode
1dd609a3308d733f2dd7d4ea00508d2da73180b9
36a339241dd7a31ebe08a73e5efa599e5faeea1a
refs/heads/master
2022-12-21T13:32:52.591068
2022-12-16T22:41:30
2022-12-16T22:41:30
48,439,585
0
0
null
null
null
null
UTF-8
Python
false
false
1,241
py
import sys grid = {} sensitivity = [] sensors = [] beacons = [] for l in sys.stdin: l = l.strip().split(' ') sx, sy, bx, by = int(l[2][2:-1]), int(l[3][2:-1]), int(l[8][2:-1]), int(l[9][2:]) grid[(sx,sy)] = 'S' grid[(bx,by)] = 'B' dx,dy = abs(sx-bx), abs(sy-by) md = dx+dy sensitivity...
[ "guilemay@gmail.com" ]
guilemay@gmail.com
17acf1996c328537a151dac3bb5658feba2a8a72
8f743e29d503e775fc19b2897ae23105b92a3659
/fairplay/competition/migrations/0039_auto_20161014_2312.py
cd481237e6a57352f4f5a7109edd955b73261c62
[]
no_license
Greymalkin/fairplay
3bd3bd1e93008f4b0da07d79da9dd5baa5d7ce2d
0c3280050e1caa34f42d350dfab00fd3b1dbe5ad
refs/heads/master
2020-03-23T15:23:07.815912
2018-08-05T19:14:16
2018-08-05T19:14:16
141,743,902
0
0
null
null
null
null
UTF-8
Python
false
false
497
py
# -*- coding: utf-8 -*- # Generated by Django 1.9.5 on 2016-10-15 03:12 from __future__ import unicode_literals from django.db import migrations class Migration(migrations.Migration): dependencies = [ ('competition', '0038_auto_20161014_2249'), ] operations = [ migrations.RemoveField( ...
[ "plee@automatastudios.com" ]
plee@automatastudios.com
d911a1de75e301eed643472356197ac68faf3647
b0fab024e9b7e7bd51c18c5578f0f45314808592
/sine_competition_url/competition_url.py
692142fbbe0f49ea5ac2e79373fac3914a120a1b
[]
no_license
dhecar/SINERGIA
a34d98fda84ce8ca8d2f67b89680bbf19c15fe1b
678cfd41df8045645be130d2f3d51399908b15fd
refs/heads/master
2021-01-23T11:07:48.724177
2017-04-20T10:51:07
2017-04-20T10:51:07
33,182,317
1
7
null
2015-08-31T20:59:43
2015-03-31T11:45:11
Python
UTF-8
Python
false
false
471
py
import openerp.addons.decimal_precision as dp from openerp.tools.translate import _ from openerp.osv import fields, osv import urllib import re class competition_url(osv.osv): _name = 'competition.url' _description = 'URL for competition' _table = 'competition_url' _rec_name = 'url_competition' _...
[ "dhecar@gmail.com" ]
dhecar@gmail.com
4a9b0390b225568ad02d0406e914e19e6b4dd947
13153747fb37c39b51c6a9af9a7c06f92cc303a8
/FeatureExtraction/TF_ISF.py
6926056f03df07905a4c0b306d7820f0787c471b
[]
no_license
cs60050/ML-JusticeLeague
f824eab180ac96a6ac84303cf7aef8700a6d4c3f
ffe1cec8e251af531f22e2f3620c139e92d76f62
refs/heads/master
2021-01-11T19:41:33.483780
2016-11-16T09:40:14
2016-11-16T09:40:14
69,039,943
2
11
null
2016-11-11T11:11:04
2016-09-23T16:00:20
Perl
UTF-8
Python
false
false
392
py
def calcMeanTF_ISF(VSM, index): vocab_len = len(VSM[index]) sentences_len = len(VSM) count = 0 tfisf = 0 for i in range(vocab_len): tf = VSM[index][i] if(tf>0): count += 1 sent_freq = 0 for j in range(sentences_len): if(VSM[j][i]>0): sent_freq += 1 tfisf += (tf)*(1.0/sent_freq) if(count > 0):...
[ "annepuharsha@gmail.com" ]
annepuharsha@gmail.com
07f7b2b64d310595be6ea13a62a182660b842ec9
4cac54bd6b326f9fe2bd280aba0bb7df5b3ada72
/src/adas/datasets.py
cfea4f614195a084c7cdc88b89e5932160cb8e68
[ "MIT" ]
permissive
llucid-97/AdaS
d16e7990bc6a0d79cc53cceb42ea6302576e8b03
298beca98d5b432460c9f268364c0fe7ce8323a6
refs/heads/master
2022-12-17T13:48:59.097898
2020-09-21T19:43:02
2020-09-21T19:45:27
297,433,885
0
0
MIT
2020-09-21T18:58:43
2020-09-21T18:58:42
null
UTF-8
Python
false
false
12,871
py
from contextlib import contextmanager from pathlib import Path import warnings import tempfile import shutil import os import torch from torchvision.datasets.utils import check_integrity,\ extract_archive, verify_str_arg, download_and_extract_archive from torchvision.datasets.folder import ImageFolder class Tin...
[ "tuli.mathieu@gmail.com" ]
tuli.mathieu@gmail.com
29f1b6a21401ee236b971d6979bebb602294ee1b
89967e55f8ab4037368972dcf30d2aa2cd8cb0f3
/oop_pedia_classifier.py
8a0939f92a57883e84b9301842adc075e6e28583
[]
no_license
petkraw/classifier
5f487dd51ef70023aa502d69ec402b14bfe6019c
b813ff17013caf4d6d5aa036d6cb45c6c745e3ef
refs/heads/master
2021-01-21T20:54:22.315291
2017-05-18T14:59:12
2017-05-18T14:59:12
92,289,428
0
0
null
2017-05-24T12:23:13
2017-05-24T12:23:13
null
UTF-8
Python
false
false
57,249
py
# -*- coding: utf-8 -*- """ Created on Mon Feb 20 09:56:23 2017 @author: Martin """ import json, os import warnings import numpy as np import sys from matplotlib import pyplot as plt from sklearn import svm from sklearn import preprocessing from sklearn.neural_network import MLPClassifier from sklearn....
[ "la60312@gmail.com" ]
la60312@gmail.com
63b5c0c591f597c17991b2aed4f3f12c4bde6812
5603c820064b57b2ebffbebcf05a53ba83e0364c
/cases_increase_visulization.py
13e31c37acb44ccc01075f5d833cb296b0bf5815
[ "MIT" ]
permissive
Yiheng1999/COVID-19-Quebec-Data-Analysis
a3cecea4eb8de9a0ea8ee1cdd12889a79f0c1f93
fee8a8a85d8b8f30d961decf8fbc3ec2158e96d7
refs/heads/master
2022-12-11T20:12:32.923428
2020-09-08T19:08:47
2020-09-08T19:08:47
287,821,425
1
0
null
null
null
null
UTF-8
Python
false
false
1,017
py
from read_data import * import matplotlib.pyplot as plt import numpy as np import matplotlib.ticker as ticker date = qc_cases_data["date_report"] cases = qc_cases_data["cases"] cumulative_cases = qc_cases_data["cumulative_cases"] plt.plot(date, cases, color='r', label="Cases Increased Each Day") plt.plot(date, cumula...
[ "lluuyyiihh@icloud.com" ]
lluuyyiihh@icloud.com
5a9660779063959ecef329d1b58ac42c1dc13e5e
0da3ebae606295ee3c1613004c6f21650e914841
/codestreak/extensions.py
07761de1820e73e03a2ea21169597925d9435969
[]
no_license
mfwarren/codestreak.io
38bac87f2ddc6e7cff56a4bc95b6b1ca4a41ef1a
bd37dd7ad55c9926e7a4752afca5986c08145d34
refs/heads/master
2020-06-11T06:21:27.012529
2019-03-03T15:43:32
2019-03-03T15:43:32
75,747,414
3
1
null
null
null
null
UTF-8
Python
false
false
448
py
# -*- coding: utf-8 -*- """Extensions module. Each extension is initialized in the app factory located in app.py.""" from flask_debugtoolbar import DebugToolbarExtension from flask_migrate import Migrate from raven.contrib.flask import Sentry from flask_sqlalchemy import SQLAlchemy from flask_wtf.csrf import CsrfProtec...
[ "matt.warren@gmail.com" ]
matt.warren@gmail.com
91b1a189b3f728d01fda709574934827203d64d8
cfacde67a64b40f01aa4395f79c89681084d14f5
/3/DrawingRectangle.py
bfcbe28d754d61e7bdc24f4eb5675df4123326c7
[]
no_license
dzjfromChina/opencv
5625be655fba806e2c632ad9677584bf34bf5d82
9ac790247cabd25903fdcb4f37ea6d347ab3b764
refs/heads/master
2020-04-19T22:47:55.771063
2019-02-09T07:57:15
2019-02-09T07:57:15
168,479,308
2
0
null
null
null
null
UTF-8
Python
false
false
1,045
py
""""""""""""""""""""""""""""""""""""""""""""""" @author: duzj @contact: dzj0574@163.com @software: PyCharm @file: DrawingRectangle.py @time: 2019/1/31 17:06 """"""""""""""""""""""""""""""""""...
[ "dzj0574@163.com" ]
dzj0574@163.com
61d2852f4a8db76980d9c0c705e83ec85c83c828
8d92399f4b1aa961aba60c55d97d79b701fbe725
/Remove_all_occurances_of_any_element_for_maxium_array_sum.py
8f16617c2d1bbb37c6ed538337aedcf6497f2a8b
[]
no_license
shankarshastr/main
858939bbbecdec2a268d59cdd6d4100744aa9f91
9815dc93e95335b2535e673f9218c655dc406db5
refs/heads/master
2020-04-29T10:26:16.545022
2019-04-25T12:51:53
2019-04-25T12:51:53
176,061,987
0
0
null
null
null
null
UTF-8
Python
false
false
292
py
a = [1, 1, 3, 3, 2, 2, 1, 1, 1] sum =0 dict = {} max = 0 prod = 0 for i in a: sum = sum + i if i not in dict: dict[i] = 1 else: dict[i] += 1 for i in dict.keys(): prod = i * dict[i] diff = sum - prod if diff > max: max = diff print max
[ "shankarnarayanshastri@gmail.com" ]
shankarnarayanshastri@gmail.com
f051952d00de8a9fcedd3c7f62105461285f8d97
e740862e1f335731bc537f3be5dbd48145e1775d
/01.DeepLearningForEveryone/SingleLinearRegression.py
92c990223be819244568e78cf57d86f048499a8c
[]
no_license
inseok1121/tensorflow_2
0c8209beee3986362f8df84fd1ea4cba2c27bd00
ed3c1efcfae1b91e73c9938231e0aa5cb33bf75c
refs/heads/master
2020-04-18T07:07:00.148631
2019-02-01T12:36:59
2019-02-01T12:36:59
167,349,013
0
0
null
null
null
null
UTF-8
Python
false
false
805
py
import tensorflow as tf x_data = [2., 4., 6., 8.] y_data = [81., 93., 91., 97.] X = tf.placeholder(dtype=tf.float32, shape=[None]) Y = tf.placeholder(dtype=tf.float32, shape=[None]) a = tf.Variable(tf.random.uniform([1], 0, 10, dtype=tf.float32, seed=0)) b = tf.Variable(tf.random.uniform([1], 0, 100, dtype=tf.float...
[ "inseck1121@gmail.com" ]
inseck1121@gmail.com
f6741c2252c2ee9fb6272ae320b6439a7870f901
c0d47f66bb88026c79286857ad94729ba7bf369c
/Exercices/Photos/organize_photos.py
95667a98bf7a900537af44dd3f71f130350cdf60
[]
no_license
tahia910/PythonProjects
a44434640376be2a3f7a8bc53842b966fe078377
05963c023e06e27caa63f61bd270b929e4df975a
refs/heads/main
2023-03-20T11:55:12.212950
2021-03-14T07:57:48
2021-03-14T07:57:48
null
0
0
null
null
null
null
UTF-8
Python
false
false
705
py
import os def extract_place(filename): return filename.split("_")[1] def make_place_directories(places): for place in places: os.mkdir(place) def organize_photos(directory): # First, extract place names os.chdir(directory) originals = os.listdir() places = [] for filename in ori...
[ "37906654+ootahiaoo@users.noreply.github.com" ]
37906654+ootahiaoo@users.noreply.github.com
3c2393b7cc3380369cbc4d1b55810fd9d9d82ed4
c16ea32a4cddb6b63ad3bacce3c6db0259d2bacd
/google/cloud/clouddms/v1/clouddms-v1-py/google/cloud/clouddms_v1/services/data_migration_service/transports/grpc.py
27875f61ce4a3548b8ad8719aabf93eec1c8092e
[ "Apache-2.0" ]
permissive
dizcology/googleapis-gen
74a72b655fba2565233e5a289cfaea6dc7b91e1a
478f36572d7bcf1dc66038d0e76b9b3fa2abae63
refs/heads/master
2023-06-04T15:51:18.380826
2021-06-16T20:42:38
2021-06-16T20:42:38
null
0
0
null
null
null
null
UTF-8
Python
false
false
31,544
py
# -*- coding: utf-8 -*- # Copyright 2020 Google LLC # # 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...
[ "bazel-bot-development[bot]@users.noreply.github.com" ]
bazel-bot-development[bot]@users.noreply.github.com
9dd9d05f4cd541b85501ac0159eb87d7229d4dae
fed1c1865e98ed17fd5b871f2ac4ee54e892647f
/coronaCount.py
acfb80ca2aaf44f571bd1082c7c610bc1c5c43e9
[]
no_license
cjws/Corona
118137cb887d28802e3761d4eceaa88a704183f2
cdc807b2e9bfc78d47ae804b8f04ceece659ab3f
refs/heads/master
2021-03-29T07:17:57.809680
2020-03-19T07:19:07
2020-03-19T07:19:07
247,930,598
1
0
null
null
null
null
UTF-8
Python
false
false
541
py
#!/usr/bin/python import re from bs4 import BeautifulSoup import requests page = requests.get('https://www.worldometers.info/coronavirus/') soup = BeautifulSoup(page.content, 'html.parser') # print(soup) bat_soup = soup.find_all("div", {"id": "maincounter-wrap"}) titles=[] for block in bat_soup: titles.append(b...
[ "christopher.smith@gmx.com" ]
christopher.smith@gmx.com
6111b42cd4ab33f03d68f6ef6755a02237f6a2d9
141ca83daf77e83c2150b16c827db7b1e212e64c
/code/crossDet/main_video.py
3a73aceb49aff92fb2ff5e924cbef839d6f74e31
[]
no_license
zldodo/seed2020_vehicle_cross_lane
cbde356b66640b56a3469f589b7c59e7cfef6bad
f059910fd8a7b38c07c6da749acb03e4022c9cc8
refs/heads/master
2023-01-03T03:33:59.114042
2020-10-30T07:37:02
2020-10-30T07:37:02
308,556,804
0
0
null
null
null
null
UTF-8
Python
false
false
1,602
py
import json import cv2 from .utils import display,detect_vehicle_cross_line,draw_points,\ IsMatched,update_tracks,save_json,lane_tracking,fit_lane_points,\ draw_lane,remove_occluded_vehicle,match_vehicle from .classify_lane_type import * from .ekf_track import * import time import math def main(ori_frame,v...
[ "quelongkai2@csvw.com" ]
quelongkai2@csvw.com
6b2d8024e715360e23bbbf8b3078b125720b0785
bde716f863c2f473e8db1e5eceecf8f9b8b5762e
/tests/unit/types/arrays/test_documentarray.py
8bed39befa0fb6200cc6d792ffbe52a3de86a2f5
[ "Apache-2.0" ]
permissive
igsova/jina
30f07e3cc0adc49f764fa9e76a58ef98df67c370
0c4b4a02cbce6938d53a54e8c54279fd9c35ca37
refs/heads/master
2023-06-19T11:12:48.999557
2021-07-06T23:05:17
2021-07-06T23:05:17
null
0
0
null
null
null
null
UTF-8
Python
false
false
9,373
py
import os from copy import deepcopy import pytest import numpy as np from scipy.sparse import coo_matrix from jina import Document, DocumentArray from jina.logging.profile import TimeContext from jina.types.document.graph import GraphDocument from tests import random_docs DOCUMENTS_PER_LEVEL = 1 @pytest.fixture(s...
[ "noreply@github.com" ]
noreply@github.com
c9fa1a91e0f3e7cee9d024d8640788163d795026
eebb9e36127b34592b1200aa3a4a4c25ea36568c
/tel_params/BINOSPEC.py
3371b6a957a5e17b81983b0b5e26ed2cbc512829
[]
no_license
souvikmanik/Imaging_pipelines
c20177d9f693d1608acbfea5738854656416a1a0
b3eda61523b13ce18af79685cf4faa71d712e9de
refs/heads/master
2023-06-26T13:10:33.002846
2021-07-30T15:27:13
2021-07-30T15:27:13
null
0
0
null
null
null
null
UTF-8
Python
false
false
13,764
py
#parameter file for BINOSPEC/MMT import os import astropy import datetime import numpy as np from photutils import make_source_mask, Background2D, MeanBackground from astropy.stats import SigmaClip from astropy.io import fits from astropy.time import Time from astropy.nddata import CCDData import astropy.units.astrophy...
[ "kerry.paterson@northwestern.edu" ]
kerry.paterson@northwestern.edu
1d8fbcb32fcc90105c32c2371521f7a102651765
a7c9dfae07ca780e9522981477942e44e7043db4
/config_files/__init__.py
2193549b1ec23adb546f1edb977a51d8751d02e7
[ "MIT" ]
permissive
cnrmrphy/crossReference
2a563380dc8eceb9ae80321c4bc4e5925ed116e7
00948be4caca4329e6d7883d43b9c746c5e4ba13
refs/heads/master
2021-03-22T22:49:32.146550
2020-05-29T18:46:27
2020-05-29T18:46:27
247,403,694
1
0
MIT
2020-03-18T02:39:26
2020-03-15T04:52:18
Python
UTF-8
Python
false
false
118
py
import config_files.providers.load_providers def __init__(self): print('you shoulda just loaded load_providers')
[ "conor.p.murphy52@gmail.com" ]
conor.p.murphy52@gmail.com
5ebce1a0d30b4d6400f079d238ee11b7b6211139
f47c540d5e8d1b773de57a9e66e0ad2af9b13e9c
/mwana/apps/reports/webreports/management/commands/tracing_analysis.py
942b9e4a2337f872b45eeefdf8c6f08b59a0adb8
[]
no_license
mwana/mwana
e70d1b0c59f2f3ad1300452f58b908a57210415d
698c2f693f2c49f6dc41c1c0b6669300b619b579
refs/heads/develop
2021-01-17T10:11:17.502708
2016-02-15T10:56:56
2016-02-15T10:56:56
600,738
5
6
null
2016-02-03T19:12:45
2010-04-08T13:24:18
Python
UTF-8
Python
false
false
5,670
py
# vim: ai ts=4 sts=4 et sw=4 """ """ from django.core.management.base import CommandError from django.core.management.base import LabelCommand from mwana.apps.locations.models import Location from mwana.apps.reminders.models import SentNotification from rapidsms.contrib.messagelog.models import Message class Comma...
[ "sinkalation@gmail.com" ]
sinkalation@gmail.com