blob_id stringlengths 40 40 | directory_id stringlengths 40 40 | path stringlengths 2 616 | content_id stringlengths 40 40 | detected_licenses listlengths 0 69 | license_type stringclasses 2
values | repo_name stringlengths 5 118 | snapshot_id stringlengths 40 40 | revision_id stringlengths 40 40 | branch_name stringlengths 4 63 | visit_date timestamp[us] | revision_date timestamp[us] | committer_date timestamp[us] | github_id int64 2.91k 686M ⌀ | star_events_count int64 0 209k | fork_events_count int64 0 110k | gha_license_id stringclasses 23
values | gha_event_created_at timestamp[us] | gha_created_at timestamp[us] | gha_language stringclasses 220
values | src_encoding stringclasses 30
values | language stringclasses 1
value | is_vendor bool 2
classes | is_generated bool 2
classes | length_bytes int64 2 10.3M | extension stringclasses 257
values | content stringlengths 2 10.3M | authors listlengths 1 1 | author_id stringlengths 0 212 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
da81bb3dea7ab7ec884e515a580eb6c8ab10ce51 | 9efbcd9e8a1636b86305bbce7ea827cb673459b8 | /Images/z books courses tutorials and manuals/curso python - Nina/problema12.py | 5d80339b4ad262119d5f282efb35f7f63cde7c42 | [] | no_license | brenoskuk/Breno_and_Kogler | 754714853beba71b007488fd160192c4930b7b82 | 91d8ffaedab8196de20158c6975a2a1dea0945e9 | refs/heads/master | 2020-04-16T08:27:07.884823 | 2019-05-07T15:36:28 | 2019-05-07T15:36:28 | 165,425,686 | 0 | 0 | null | null | null | null | ISO-8859-1 | Python | false | false | 741 | py | # -*- coding: latin-1 -*-
# A linha acima faz o sistema interpretar direito os acentos
# nas linhas de comentários
#
# programa problema12.py
# Verificar se um número natural é triangular
def main():
n = input("Digite um numero natural: ")
if n<=0:
print "O numero deve ser positivo!!!"
return... | [
"breno.skuk@polijunior.com.br"
] | breno.skuk@polijunior.com.br |
6ff3929a41ab113dcbf117a3b1aa6a29d4691ed5 | 6a52b4cbd7255a4e99377ca445b8ebcb7b7845e4 | /examples_scalability/demo_small_race_performance.py | 073e2af6c57be8afb6e8056d20e1df22b5677b8f | [
"MIT"
] | permissive | sachman15/winning | 1a52f93e47a1a9a936c1c469b5b3267e1cb26653 | e68314ad6ebba50b439e383640b1a3f996ab5700 | refs/heads/main | 2023-08-07T12:17:11.810111 | 2021-10-04T19:27:55 | 2021-10-04T19:27:55 | null | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 1,971 | py | from winning.lattice_plot import densitiesPlot
from winning.lattice import skew_normal_density, mean_of_density, implicit_state_prices, winner_of_many, sample_winner_of_many
from winning.lattice_calibration import solve_for_implied_offsets, state_prices_from_offsets, densities_from_offsets
import numpy as np
PLOTS=Tru... | [
"petercotton@Peters-Mac-mini-2.local"
] | petercotton@Peters-Mac-mini-2.local |
2c3403845866237d826c9ad973b26b0d4667c57b | 55617c83a3e3183ad8b08630b87d1cfda9f9ebcf | /jared/jpenny-bot.py | 51d3e11a69f432f2da3cffa5dabc7ba9eb0f4ee5 | [] | no_license | BjornLJohnson/Jane_Street | c063b021b49e1e549e73e49261f116a5f342b41d | 2664745d6ee3ad608b4d9d5784b5c1152c7cfbd3 | refs/heads/master | 2020-06-19T15:01:51.424569 | 2019-07-14T02:10:00 | 2019-07-14T02:10:00 | 196,753,565 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 3,987 | py | #!/usr/bin/python
# ~~~~~============== HOW TO RUN ==============~~~~~
# 1) Configure things in CONFIGURATION section
# 2) Change permissions: chmod +x bot.py
# 3) Run in loop: while true; do ./bot.py; sleep 1; done
from __future__ import print_function
import sys
import socket
import json
import random
import t... | [
"ubuntu@bot-bananas.sf-2019.js-etc"
] | ubuntu@bot-bananas.sf-2019.js-etc |
98a9a6515829e349ecfdbe50d49b5c9199c1ddb6 | 99c969413c21b38f399a27298e9aa06c3aafc5ca | /venv/Scripts/runxlrd.py | 8c07eed56936ad09c83ae5f4a07720774a852fc9 | [] | no_license | wwwgang/JDReptail_price | 1a302a4fef36edb565994e9364a84621473635f8 | f010a4bc4518413a8bb5b7e89051b9b7a8b65131 | refs/heads/master | 2022-02-21T21:25:42.980215 | 2019-03-01T10:15:44 | 2019-03-01T10:15:44 | null | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 16,338 | py | #!C:\Users\wg186\PycharmProjects\JDReptail_price\venv\Scripts\python.exe
# Copyright (c) 2005-2012 Stephen John Machin, Lingfo Pty Ltd
# This script is part of the xlrd package, which is released under a
# BSD-style licence.
from __future__ import print_function
cmd_doc = """
Commands:
2rows Print the cont... | [
"https://github.com/wg18618262234/JDReptail.git"
] | https://github.com/wg18618262234/JDReptail.git |
5427bf1d7adba27512955184fcf4aba4b4460d85 | 877edb2612f11e86d77d500c6d141f54a0275c71 | /gdsctools/readers.py | 0c843db2da62217614efe446729027cae6b27793 | [
"BSD-3-Clause",
"BSD-2-Clause"
] | permissive | shukwong/gdsctools | 7172cfc12efb1611efa3eb33c35616cb42af28d6 | 09c0e80cb755b09b8d92d01cb08679c880122d4c | refs/heads/master | 2021-01-21T10:04:36.069659 | 2017-02-01T09:53:06 | 2017-02-01T09:53:06 | null | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 45,635 | py | # -*- python -*-
# -*- coding utf-8 -*-
# This file is part of GDSCTools software
#
# Copyright (c) 2015 - Wellcome Trust Sanger Institute
# All rights reserved
#
# File author(s): Thomas Cokelaer <cokelaer@gmail.com>
#
# Distributed under the BSD 3-Clause License.
# See accompanying file LICENSE.txt distributed... | [
"cokelaer@gmail.com"
] | cokelaer@gmail.com |
57c26cb2700ed8b46be455ccddd74d58132b8513 | 64edc5ecf979bf712d32b9972a5823d5ac13af43 | /deprecated/background_noise.py | 4ec4abe6994e9fd1ac14515582b3126b6f50fc51 | [
"MIT"
] | permissive | SMaldonado/snakerf | b678ea08a240f498f1e1115d46eadf413849c091 | d8b4701088f42450c856a5a7c0a21b98b8024485 | refs/heads/master | 2021-03-01T13:21:39.043726 | 2020-08-31T06:46:48 | 2020-08-31T06:46:48 | 245,788,863 | 1 | 0 | null | null | null | null | UTF-8 | Python | false | false | 1,311 | py | import snakerf as srf
import matplotlib.pyplot as plt
import numpy as np
from math import inf, pi, log2
from scipy import signal
# see https://docs.scipy.org/doc/scipy/reference/generated/scipy.signal.periodogram.html#scipy.signal.periodogram
m = 3
data = '{0:0{1:d}b}'.format(srf.gold_codes(m)[2], 2**m - 1)
print(dat... | [
"engineerajm@gmail.com"
] | engineerajm@gmail.com |
b0e8ca8760ad8bb8774db650426a7c08920f1800 | bb90af4bf93fff8f0924f09c42349de8e944b980 | /CP/Recursion/PermutationOfString.py | f03a2824fdc9c550642e1c9a510f73f555f3b662 | [] | no_license | tanucdi/dailycodingproblem | ed18a15a6efad9bf3612abe51ef0d585e5c63e12 | 4e995b1739a1e7a63ed68d50e508f1770a4e206b | refs/heads/main | 2023-05-31T19:47:46.196131 | 2021-06-12T05:07:24 | 2021-06-12T05:07:24 | 358,788,654 | 1 | 0 | null | null | null | null | UTF-8 | Python | false | false | 304 | py | result=[]
def cal(data,i,n):
if i ==n:
result.append(''.join(data)) #A B C
for j in range(i,n+1):
data[i],data[j]=data[j],data[i]
cal(data,i+1,n)
data[i],data[j]=data[j],data[i] #BACKTRACKING
'''
data='abc'
i=0
n=len(data)-1
'''
cal(list('abc'),0,2)
print(result) | [
"tanucdi7@gmail.com"
] | tanucdi7@gmail.com |
4d4bf41cfc6668556e18405c2b1da9e6f85f8787 | e0e96b8d26cd12c16a3e4a6265b6bceb11c4b1f0 | /17day/updtest.py | 2d6ca62c4a6dff1d92723fc2cea303250088b3cf | [] | no_license | superwenqistyle/2-2018python | 4419bc4ae4700e5b7839c4974106e03fc33e85f8 | 76e5ea72413abfa774ad61b3bdff76eba0c5e16c | refs/heads/master | 2020-03-13T11:08:50.860361 | 2018-05-22T11:17:39 | 2018-05-22T11:17:39 | 131,096,306 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 713 | py | from socket import *
from threading import Thread
from time import ctime
Id=""
port=0
updSocket=None
def send():
while True:
message=input("请输入内容:")
updSocket.sendto(message.encode("gb2312"),(Id,port))
def receive():
while True:
content=updSocket.recvfrom(1024)
print("%s-%s\n请输入内容:"%(content[0].decode("gb2... | [
"1623515120@qq.com"
] | 1623515120@qq.com |
66077abb066062ef6d4bc2e2eeed498e9420829e | 89d74b9d907ca96995afe702b3a3742206f9ef4d | /app.py | 4bb3d55cb2cf04111831e7ee5b352df16862f89c | [] | no_license | LEO2822/Flask-Todo-website | 9e12327aaef257ff6bfff8d8b6576cbe3d1673a9 | 4828a629bf49cf9ef2ed56b3ff522a217678f223 | refs/heads/main | 2023-08-29T14:16:54.272969 | 2021-09-22T05:55:32 | 2021-09-22T05:55:32 | 408,742,641 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 2,436 | py |
# importing required packages
from flask import Flask , render_template , session , request , redirect
from flask_sqlalchemy import SQLAlchemy
from datetime import datetime
# initializing the app
app = Flask(__name__)
app.config['SQLALCHEMY_DATABASE_URI'] = 'sqlite:///todo.db'
app.config['SQLALCHEMY_TRACK_MODIFICAT... | [
"mtkashid7@gmail.com"
] | mtkashid7@gmail.com |
91cfed374788a01c5cdcce7947bb0ec816270afb | 2a116bcbb25b929e49a5f8eefebd76407ff40774 | /day_12_queue.py | 3040a482fcc7e6e81d4c275490cef7a729c004c0 | [] | no_license | yaweibuyousang/Python_Learning | 34bc6b6937a00347a8029194550eb791720849b4 | 5d80fe33c8b18d479db227facad4673153785c53 | refs/heads/master | 2020-12-29T04:38:37.871962 | 2020-02-05T23:49:10 | 2020-02-05T23:49:10 | 238,457,465 | 1 | 0 | null | null | null | null | UTF-8 | Python | false | false | 4,957 | py | #序列
'''
序列是具有先后关系的一组元素
序列是一维元素向量,元素类型可以不同
类似数学序列:S0,S1,...,Sn-1
元素间由序号引导,通过下标访问序列的特定元素
序列类型定义:
序列是一个基类类型
字符串类型 元组类型 列表类型
序号的定义
序号分为两类:
反向递减序号
-5 -4 -3 -2 -1
"BIT" 3.1415 1024 (2,3) ["中国",9]
0 1 2 3 4
正向递增序号
序列类型通用操作符
x in s 如果x是序列s的元素,返回True,否... | [
"noreply@github.com"
] | yaweibuyousang.noreply@github.com |
1626df6646682430eb9d47c57614e0fc6c70476f | 194124b184101bbeb18c00482a1f60a6dd32eebf | /blog/migrations/0002_category.py | a811ab55f0b35be64c8208579dfff5eb7e36a19a | [] | no_license | fc-wsd/s4-instablog | 2fc758461f09fe124b28d86d29d4df429ef72040 | 8e38b07fe7dae0378fda228f2cfa7752f93254c9 | refs/heads/master | 2021-01-10T12:13:09.293036 | 2015-12-12T06:13:34 | 2015-12-12T06:13:34 | 45,733,935 | 2 | 2 | null | null | null | null | UTF-8 | Python | false | false | 660 | py | # -*- coding: utf-8 -*-
from __future__ import unicode_literals
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [
('blog', '0001_initial'),
]
operations = [
migrations.CreateModel(
name='Category',
fields=[
... | [
"kay@hannal.net"
] | kay@hannal.net |
8adc351ce01139f3c2be60de53be8c6d0d8a8b74 | 2f6b3417c221bad1058a6f22956fbf56d5970c57 | /remember/__init__.py | a81108886013c5ca3b8bdc43224cccd279646f3c | [] | no_license | xkenneth/dontpaythestate | 062807530324b1f11fd88493d685bdb1f0ed21ef | 6917890b0347f83c15c86dd921b376d313219b6c | refs/heads/master | 2016-09-05T18:39:15.463460 | 2009-07-20T03:41:01 | 2009-07-20T03:41:01 | null | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 23 | py | import signal_handlers
| [
"citizen@donthatethestate.com"
] | citizen@donthatethestate.com |
852612c0740acb99feeafc07e63bc0d921779cc6 | c7d913f55bc6c7e9bacc0268481c33b1164c2fce | /node_modules/mongoose/node_modules/mongodb/node_modules/bson/build/config.gypi | 8bed261a5b44c09b99b9a9ae02f37062e90c7280 | [
"Apache-2.0",
"MIT"
] | permissive | nrtapia/user-app | f8d2f4349962726a1e60b575384852db3c3ca0af | a6095cf767de872d321b6af40cf82e578944f08f | refs/heads/master | 2016-09-06T15:35:30.961244 | 2014-10-03T20:33:51 | 2014-10-03T20:33:51 | null | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 3,236 | gypi | # Do not edit. File was generated by node-gyp's "configure" step
{
"target_defaults": {
"cflags": [],
"default_configuration": "Release",
"defines": [],
"include_dirs": [],
"libraries": []
},
"variables": {
"clang": 0,
"host_arch": "ia32",
"node_install_npm": "true",
"node_pref... | [
"nrtapia@sprc.com.co"
] | nrtapia@sprc.com.co |
1ba8b8cecc5ff4ed094141c30c623e714f1b361e | 50ab3f0abfc2dc410232fbb253c6e1f9211e65f4 | /knowledge-import/SNET/Physical Entity (PE) Identifier mapping.py | 49506b177735b9c47bef6399786c84f6979ffe8a | [] | no_license | MOZI-AI/agi-bio | c736e5b0c6d234f444d7f25497d785fb6dd8c597 | 95168fa6820b9d3ffcdfc24fbfe414947e78bc9a | refs/heads/master | 2020-07-05T06:51:11.062704 | 2020-03-09T22:48:56 | 2020-03-09T22:48:56 | 202,560,215 | 0 | 0 | null | 2020-03-09T22:48:57 | 2019-08-15T14:52:56 | Python | UTF-8 | Python | false | false | 8,543 | py | __author__ = "Hedra"
__email__ = "hedra@singularitynet.io"
# The following script imports the Physical Entity (PE) Identifier mapping files from https://reactome.org/download-data
# Requires: NCBI2Reactome_PE_Pathway.txt
# UniProt2Reactome_PE_Pathway.txt
# ChEBI2Reactome_PE_Pathway.txt
# from https://react... | [
"tanksh24@gmail.com"
] | tanksh24@gmail.com |
0ac0a0b90dd61c60bbb43322d941eaedad1d4918 | 58b79d98c2b12538324657a4e94a29d78ef93dff | /Automate the Boring Stuff With Python/forex_data_scraper.py | 0bb20372cc80d2fd86ccf2501086b05788c48264 | [] | no_license | Vasallius/Python-Journey | 2d68f8203453a1e4091d9ef14109914429a656da | ee0d8b1df2c3dbf20be5ff0805820835288a5ad6 | refs/heads/master | 2023-01-02T02:39:25.039693 | 2020-10-19T07:55:35 | 2020-10-19T07:55:35 | 265,748,648 | 2 | 0 | null | null | null | null | UTF-8 | Python | false | false | 1,645 | py | from selenium import webdriver
from selenium.webdriver.common.keys import Keys
import time
import requests
from bs4 import BeautifulSoup
start_time = time.time()
profile = webdriver.FirefoxProfile()
profile.set_preference('browser.download.folderList', 2) # custom location
profile.set_preference('browser.download.man... | [
"masterjed7262@gmail.com"
] | masterjed7262@gmail.com |
335b402a007aeb18653a23cbcedabbb8a23b486f | 2f2d2ac1d9bad42f41d28cca2cbfd28540a9edba | /Z-Transform/IZ_transform/iztrans_13.Py | f7be378e3f2138acbf235db7ee582c367d7ce936 | [] | no_license | BrunoLQS/Projects_and_ITA | 92272380cb21b385c13a81c79a8dc47aec7c1c34 | 7cb26ae2712f0c1530dc966660db79ec37ff11e1 | refs/heads/master | 2023-03-14T18:14:59.135757 | 2021-03-21T02:01:43 | 2021-03-21T02:01:43 | 264,700,697 | 4 | 0 | null | null | null | null | UTF-8 | Python | false | false | 480 | py | title="""Simétrico da Fórmula 5"""
N=6
X=Piecewise((z/(-a+z), True), (Sum(a**n*z**(-n), (n, 0, oo)), True))
X=X.subs(a,2)
# a deve ser substituído por um INTEIRO !
m=1.0
results=[ iztrans(X,i,m) for i in nparange(-N,N+1)]
fig = figure()
ax1 = fig.add_subplot(111)
ax1.set_ylabel('Valor',fontsize=15)
ax1.set_xlabel... | [
"bruno.lqs222@gmail.com"
] | bruno.lqs222@gmail.com |
9a21c23715d128db1bc954fa6c15f26465495d0a | 97187ec0a310f3c798e5ac8abdea3faaf6a7c06f | /preprocessing/data_processing/time_parsers.py | f08d504c320a00b1e9ea80f3aef077a7e194039d | [] | no_license | ClaudiaWinklmayr/RoboStats | a1e32cb06d6bcb93507684254d1cbe6fa35d7317 | 800c39ba7cccdd0ba4bc9f71c7dad2f8cc05045f | refs/heads/master | 2021-09-17T00:37:48.146240 | 2018-06-15T08:36:27 | 2018-06-15T08:36:27 | 114,121,447 | 0 | 1 | null | 2018-03-06T13:00:30 | 2017-12-13T13:02:11 | Python | UTF-8 | Python | false | false | 1,671 | py | from datetime import datetime
import locale
import json
import numpy as np
def handle_timestamp(timestamp, time_format, date_format_file, rounding = False):
''' This function takes a string value from the selected time column of the original file
and tries to convert it to either datetime format or a float... | [
"claudia.winklmayr@gmx.net"
] | claudia.winklmayr@gmx.net |
abeeec02fe789c788714f86d5410f5b957b7b6c1 | 53fab060fa262e5d5026e0807d93c75fb81e67b9 | /backup/user_276/ch49_2019_04_04_15_20_35_762666.py | 9d3cc6514e971164771488683d6fcc0b8efa07d7 | [] | no_license | gabriellaec/desoft-analise-exercicios | b77c6999424c5ce7e44086a12589a0ad43d6adca | 01940ab0897aa6005764fc220b900e4d6161d36b | refs/heads/main | 2023-01-31T17:19:42.050628 | 2020-12-16T05:21:31 | 2020-12-16T05:21:31 | 306,735,108 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 106 | py | a = input('Digite um número inteiro positivo: )
lista = []
while a > 0:
lista.append(a)
print[ : :-1] | [
"you@example.com"
] | you@example.com |
94154160c02cab96d59313604b6931282af423a3 | ae25b06fad34f8ab68944761458c204f566b7f9f | /hoshino/modules/groupmaster/chat.py | eeceb3dc60785435a56725f363b26278aca72849 | [] | no_license | zw531129/shiori | 1adee2adc143c45ce3dfe35b32ef72b6bc728054 | 3803d00c02295000b37903222be34e478d5271d9 | refs/heads/master | 2023-02-24T13:50:26.184947 | 2021-02-02T13:52:45 | 2021-02-02T13:52:45 | 335,304,737 | 1 | 0 | null | null | null | null | UTF-8 | Python | false | false | 2,559 | py | import random
from nonebot import on_command
from hoshino import R, Service, priv, util
# basic function for debug, not included in Service('chat')
@on_command('zai?', aliases=('在?', '在?', '在吗', '在么?', '在嘛', '在嘛?'), only_to_me=True)
async def say_hello(session):
await session.send('はい!私はいつも貴方の側にいますよ!')
sv = S... | [
"zw531129@outlook.com"
] | zw531129@outlook.com |
01b828d2865b4a3207556680e892c62aa6f28e15 | 2b468b1d22ecc5668529255676a1d43936829074 | /codes/personal_backend/tuoen/abs/service/product/__init__.py | 43853f724363e33396251d2f10c21af53b191a1a | [] | no_license | MaseraTiGo/4U | 5ac31b4cccc1093ab9a07d18218c3d8c0157dc9c | f572830aa996cfe619fc4dd8279972a2f567c94c | refs/heads/master | 2023-07-26T09:44:21.014294 | 2023-07-13T03:43:34 | 2023-07-13T03:43:34 | 149,217,706 | 0 | 0 | null | 2020-06-05T20:38:16 | 2018-09-18T02:34:29 | Python | UTF-8 | Python | false | false | 3,304 | py | # coding=UTF-8
'''
Created on 2016年7月22日
@author: Administrator
'''
import hashlib
import datetime
import json
import random
from django.db.models import Q
from tuoen.sys.core.exception.business_error import BusinessError
from tuoen.sys.utils.common.split_page import Splitor
from model.models import ProductModel
f... | [
"344627181@qq.com"
] | 344627181@qq.com |
2372bc7c4eb86967b911e30dc506c92fcfd35f80 | 6ddba492106dff3295ff5dbe9f38b712ac84d9f9 | /KerasSingleLaneExperiment/health_nodewise_dropout.py | 3b4e656a40a81b2fff02adf03bcad93633e13e85 | [] | no_license | briannoogin/ANRL-UCI-Test-Networks | f2e067be3b4e141a2bfe9a30c4be680daaa032f3 | 3557d5ea964a17cb3239ec2d0576f1f598d1be86 | refs/heads/master | 2020-04-08T21:01:11.509497 | 2019-08-26T19:44:57 | 2019-08-26T19:44:57 | 159,725,312 | 2 | 0 | null | null | null | null | UTF-8 | Python | false | false | 10,049 | py |
from KerasSingleLaneExperiment.deepFogGuardPlus import define_deepFogGuardPlus, define_adjusted_deepFogGuardPlus
from KerasSingleLaneExperiment.loadData import load_data
from sklearn.model_selection import train_test_split
from KerasSingleLaneExperiment.FailureIteration import calculateExpectedAccuracy
from KerasSingl... | [
"brian.qh.nguyen@gmail.com"
] | brian.qh.nguyen@gmail.com |
919890dfa27b2785488ab4ec815c2d7c9bf0faa7 | 9cac3bc1c61f4de32251072e49c50b0543450490 | /examples/find_available_seattlegeni_vessels.py | 412176990dffaec0800a9c6acb8ef925e3c14bd2 | [
"MIT"
] | permissive | SeattleTestbed/experimentmanager | 40b036028809fa77dcdec804d58853f679e326de | 31c52f35fba1e367b1177b3a95ae65b4dd0e1a1c | refs/heads/master | 2020-12-25T17:34:49.713296 | 2017-05-15T11:37:36 | 2017-05-15T11:37:36 | 20,136,879 | 0 | 5 | null | 2016-08-29T09:00:07 | 2014-05-24T18:43:36 | Python | UTF-8 | Python | false | false | 4,356 | py | """
This script will look up all active nodes that are part of a testbed managed
by SeattleGENI and determine which vessels on those nodes are available.
This information could be used in various ways, one of them being to gather
information about those node locations, such as latency from a certain
location, and decid... | [
"USER@DOMAIN"
] | USER@DOMAIN |
6d394181e586c05039f2bdc5b5b36643df128c19 | a7e326100e5e73d434685306d7b556b828ff0271 | /P95.fabriz.py | 8448c5c9e27c752d1cc9ccdbe7f65d5267dfe753 | [] | no_license | robj137/ProjectEuler | 812cdc3d2c1aed674bbddf50ea6bc4a197594d74 | 6fb6f50e62870c5bfcee5e271fceff8f655792cd | refs/heads/master | 2021-01-18T16:35:36.074584 | 2013-08-30T19:05:26 | 2013-08-30T19:05:26 | null | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 823 | py | #!/usr/bin/python
lim = 1000000
div = [0]*lim #sieving for divisor sums
for i in xrange(1,lim):
for j in xrange(2*i, lim, i):
div[j] += i
chain = [0]*lim #chains: -1 = bad, 0 = untested, n = length of chain
chain[0] = -1
for i in xrange(1,lim):
if chain[i]: continue
seq = [i]
while(div[seq[-1... | [
"robj137@gmail.com"
] | robj137@gmail.com |
dcfe71cae74fb930530a22f259f0c77b4e78a2f5 | 9da784a791c671ef08398f1833f90b67182e53d3 | /object_branch/preprocess/nyu/voxelize_objects.py | baf7e4af389d8dcf5a5d80b8e2a20b876bdf0bf7 | [
"MIT"
] | permissive | zebrajack/Associative3D | 2b237036b0fcc1ddcc7028b7c61287653a87354a | c50818b593ec48c38ed7ee3e109c23531089da32 | refs/heads/master | 2022-12-05T19:21:08.918853 | 2020-08-25T19:04:32 | 2020-08-25T19:04:32 | null | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 3,568 | py |
'''
Converts the mat data mesh for object to vox
'''
import os.path as osp
import argparse
import scipy.io as sio
import pdb
import numpy as np
import os
import sys
#sys.path.append('/home/nileshk/3d/external/binvox')
code_dir=os.path.abspath(os.path.join(os.path.dirname(os.path.abspath(__file__)),'../../'))
nyu_d... | [
"jasonsyqian@gmail.com"
] | jasonsyqian@gmail.com |
871588cf841884f7fc798cea219e466dad82e5ed | c123cb27fbb807acbc4a8bc6148e539dc8c3c3a3 | /view/Ui_CadastrePageReportDialog.py | bf2daf3ef71c709552d9ebe8c80c5b11dea33fb7 | [] | no_license | ankhbold/lm3_mgis | 0b1e5498adc3d556b7ea0656ae9fdc02c47fc0f7 | a2b4fbdcf163662c179922698537ea9150ba16e5 | refs/heads/master | 2020-08-06T20:17:49.049160 | 2019-10-08T05:35:05 | 2019-10-08T05:35:05 | 213,139,587 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 6,886 | py | # -*- coding: utf-8 -*-
# Form implementation generated from reading ui file 'D:\work\LAND_MANAGER\lm2\view\CadastrePageReportDialog.ui.'
#
# Created by: PyQt5 UI code generator 4.11.4
#
# WARNING! All changes made in this file will be lost!
from PyQt5 import QtCore, QtGui
try:
_fromUtf8 = QtCore.QString.fromUtf... | [
"aagii_csms@yahoo.com"
] | aagii_csms@yahoo.com |
d2cc4dc3b948ffe438042ed4adc5ccc75d1930a0 | 66021e6e21fbc31af116b10472ce27f743c35c05 | /code/12_protein_identification.py | 208b84bc78f37139f4f1de97f33d2fb6e3aca559 | [] | no_license | erik-burger/erik_burger_genome_analysis | fc0c913429f8c5797e4e13fee91fa9b2725542a2 | b3c3b53ccba0b40f4b267e98b10d78f07f64dc73 | refs/heads/master | 2021-04-23T13:10:22.060975 | 2020-05-25T13:39:40 | 2020-05-25T13:39:40 | 249,927,729 | 1 | 0 | null | null | null | null | UTF-8 | Python | false | false | 1,599 | py | # This code is made to assign each found gene to a DNA sequence and then output a cvs file containing
# THe sequence together with it's 2logfold change and it's pvalue and name.
import csv
from Bio import SeqIO
import re
# Open and read the tsv file from R, this path is changed based on which of the R files that were t... | [
"erik.burger@hotmail.se"
] | erik.burger@hotmail.se |
5ec37b8dfa191eb8cf8385f62e8bb0758b02315b | 619bbcfbdfcbc572d4233c2470bb11a07395f5ae | /Interprete/Instrucciones/Print.py | fcbfcaeacb8844081b6d902ed44b105bc39e0c3c | [] | no_license | Josue-Zea/-OLC2-Proyecto1_201807159 | 6119850e57bfcaaf1d2ef1bed7129b1378517f9f | 087e495bcb89ca0fb612492a9127eb7fd73390be | refs/heads/master | 2023-08-17T23:21:37.186506 | 2021-09-23T05:50:06 | 2021-09-23T05:50:06 | 403,418,546 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 1,293 | py | from Interprete.Abstract.Instruccion import Instruccion
from Interprete.Abstract.NodoAst import NodoAst
from Interprete.TS.Exception import Exception
from Interprete.Expresiones.Primitivos import Primitivos
from datetime import datetime
from Interprete.Abstract.NodoAst import NodoAst
class Print(Instruccion):
def ... | [
"jdzeaherrera@gmail.com"
] | jdzeaherrera@gmail.com |
4305a9232a81ce0a924a5bae10cd5e4b6444862a | 171a89102edf10901e18a2c0f41c3313608d2324 | /src/rogerthat/cron/send_unread_reminder.py | 2f76a5ae8ad60c5efdeacb4ee60c30ac0549458b | [
"Apache-2.0"
] | permissive | gitter-badger/rogerthat-backend | 7e9c12cdd236ef59c76a62ac644fcd0a7a712baf | ab92dc9334c24d1b166972b55f1c3a88abe2f00b | refs/heads/master | 2021-01-18T06:08:11.435313 | 2016-05-11T08:50:20 | 2016-05-11T08:50:20 | 58,615,985 | 0 | 0 | null | 2016-05-12T06:54:07 | 2016-05-12T06:54:07 | null | UTF-8 | Python | false | false | 834 | py | # -*- coding: utf-8 -*-
# Copyright 2016 Mobicage NV
#
# 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 o... | [
"bart@mobicage.com"
] | bart@mobicage.com |
87888c3d6040c0c56b092e7fcb48f9d5955572bc | 75156596d9a6385542ae11b88d059231445537fd | /apps/goods/views_base.py | f203c13e92255abac5bb86b2ce0d0507ed02a9de | [] | no_license | hupingan86/VueShop5 | aa224fb39c15abb866a1e038879bfc113e12651a | 64fddf1438a7eeaf033bd458641c3c45dd76ed89 | refs/heads/master | 2020-06-26T08:56:10.455018 | 2019-08-06T01:10:37 | 2019-08-06T01:10:37 | 199,589,321 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 1,897 | py | from django.views.generic.base import View
from goods.models import Goods
class GoodsListView(View):
def get(self,request):
"""
通过django的View实现商品列表页
:param request:
:return:
"""
json_list = []
goods = Goods.objects.all()[:10]
# for good in goods:
... | [
"406839815@qq.com"
] | 406839815@qq.com |
25622946d4cc694e63901dc2980ec2fa9f1ae137 | 57c62abd33f8b508e357ca8631a160ce85a7f340 | /ggNtuplizer/test/crab_submit/jobs/FullXsection_GJets_HT-400To600_TuneCP5_13TeV-madgraphMLM-pythia8/crab_FullXsection_GJets_HT-400To600_TuneCP5_13TeV-madgraphMLM-pythia8.py | 4470aec7aea4019d8df76db06409c83c17dfeaf4 | [] | no_license | jainshilpi/aNTGC_ggNtuplizer | 8973ce3cdab293317fd928679b14038f03c10976 | 7153d73fbee35969dad0d85c6517e577a0546566 | refs/heads/master | 2022-09-18T07:39:40.246699 | 2020-04-20T13:03:20 | 2020-04-20T13:03:20 | 267,979,045 | 1 | 1 | null | 2020-05-30T00:09:36 | 2020-05-30T00:09:36 | null | UTF-8 | Python | false | false | 2,178 | py | from CRABClient.UserUtilities import config, getUsernameFromSiteDB
import sys
config = config()
#**************************submit function***********************
from CRABAPI.RawCommand import crabCommand
from CRABClient.ClientExceptions import ClientException
from httplib import HTTPException
def submit(config):
t... | [
"abrar.discloses@gmail.com"
] | abrar.discloses@gmail.com |
1cdc35d465e2d36f6b9dbcee0ccaa1c9a68fe7fd | 711756b796d68035dc6a39060515200d1d37a274 | /output_cog/optimized_24852.py | 0c27ea11820885c9563e4852cbe27378470e68f3 | [] | no_license | batxes/exocyst_scripts | 8b109c279c93dd68c1d55ed64ad3cca93e3c95ca | a6c487d5053b9b67db22c59865e4ef2417e53030 | refs/heads/master | 2020-06-16T20:16:24.840725 | 2016-11-30T16:23:16 | 2016-11-30T16:23:16 | 75,075,164 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 10,839 | py | import _surface
import chimera
try:
import chimera.runCommand
except:
pass
from VolumePath import markerset as ms
try:
from VolumePath import Marker_Set, Link
new_marker_set=Marker_Set
except:
from VolumePath import volume_path_dialog
d= volume_path_dialog(True)
new_marker_set= d.new_marker_set
marker_set... | [
"batxes@gmail.com"
] | batxes@gmail.com |
285c836fd77ebda83be0479d34015c7eabb7ff57 | 1bce3d256aac17b7cd86a71a6892a69b19b9580c | /LogicTT/__init__.py | be8d570383fe793f536d063ab05e9f92960b29be | [
"MIT"
] | permissive | SpecialDude/LogicTT | 3fdaca97a6a9aeb04a1f216ef0843dafc93c5901 | 1e65127686eb0a5fa9b6c196d8620c4c6f3d0101 | refs/heads/main | 2023-06-29T00:04:39.422402 | 2021-08-03T22:12:31 | 2021-08-03T22:12:31 | 361,158,181 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 16 | py | from . import TT | [
"noreply@github.com"
] | SpecialDude.noreply@github.com |
fb6a10611097d3cbf96cc746303990edd07beedb | f91eda66a21e7435cdda4cc3ddbdd49c04879bf2 | /back/src/products/config.py | 426622383f45ee2e6b9d326e1ce222ddc3551460 | [] | no_license | matheusangelo/flask-dockerize | 0b2cbe4609aa054d2c1b944ceb4f1732cf6fe0a1 | 45472f547864ea56e4b27ee0e6caa698a168d673 | refs/heads/master | 2022-09-07T20:43:03.647202 | 2020-05-31T18:26:11 | 2020-05-31T18:26:11 | null | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 182 | py | import os
from pymongo import MongoClient
# connection
mongo = MongoClient('mongodb://db')
# databases
db = mongo['Sample']
# collections
products_collection = db['products']
| [
"msilva@brasilseg.com.br"
] | msilva@brasilseg.com.br |
f806b32b55a9145c4c04c121ccedc5edfff7e060 | 632d7759536ed0726499c2d52c8eb13b5ab213ab | /Data/Packages/mdpopups/tests/validate_json_format.py | 0afbb2d170664281507ba611c0927e38799d1ae9 | [
"MIT"
] | permissive | Void2403/sublime_text_3_costomize | e660ad803eb12b20e9fa7f8eb7c6aad0f2b4d9bc | c19977e498bd948fd6d8f55bd48c8d82cbc317c3 | refs/heads/master | 2023-08-31T21:32:32.791574 | 2019-05-31T11:46:19 | 2019-05-31T11:46:19 | null | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 7,661 | py | """
Validate JSON format.
Licensed under MIT
Copyright (c) 2012-2015 Isaac Muse <isaacmuse@gmail.com>
"""
import re
import codecs
import json
RE_LINE_PRESERVE = re.compile(r"\r?\n", re.MULTILINE)
RE_COMMENT = re.compile(
r'''(?x)
(?P<comments>
/\*[^*]*\*+(?:[^/*][^*]*\*+)*/ # mu... | [
"guan2296107714@126.com"
] | guan2296107714@126.com |
fdbb4c570b879191cf9237843bc61dbaad27ada4 | f473b827edf903b7e02c4a8a1968310acbcc07e3 | /Tools/Scripts/webkitpy/benchmark_runner/browser_driver/browser_driver.py | 437a8cbcd38ae146741e94b77710530cc62e0dc8 | [] | no_license | raghavl78/webkit | 3e5e8563c164094451284c61eaa79a116d3bbd5e | 74b8aaf525ec4961324c528336963795a8f3624e | refs/heads/master | 2023-02-24T06:12:26.370924 | 2015-06-22T14:32:48 | 2015-06-22T14:32:48 | null | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 296 | py | #!/usr/bin/env python
import abc
class BrowserDriver(object):
@abc.abstractmethod
def prepareEnv(self, deviceID):
pass
@abc.abstractmethod
def launchUrl(self, url, browserBuildPath=None):
pass
@abc.abstractmethod
def closeBrowser(self):
pass
| [
"commit-queue@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc"
] | commit-queue@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc |
dede3dc0563b1336d20fdf7f164822132c1bf9be | 2ed86a79d0fcd299ad4a01310954c5eddcf01edf | /homeassistant/components/zha/climate.py | 9f999bd52fa561f770e24b9319954d8356a8b231 | [
"Apache-2.0"
] | permissive | konnected-io/home-assistant | 037f12c87bb79e19220192eb918e49db1b1a8b3e | 2e65b77b2b5c17919939481f327963abdfdc53f0 | refs/heads/dev | 2023-05-11T08:57:41.891518 | 2023-05-07T20:03:37 | 2023-05-07T20:03:37 | 109,931,626 | 24 | 10 | Apache-2.0 | 2023-02-22T06:24:01 | 2017-11-08T05:27:21 | Python | UTF-8 | Python | false | false | 29,742 | py | """Climate on Zigbee Home Automation networks.
For more details on this platform, please refer to the documentation
at https://home-assistant.io/components/zha.climate/
"""
from __future__ import annotations
from datetime import datetime, timedelta
import functools
from random import randint
from typing import Any
f... | [
"noreply@github.com"
] | konnected-io.noreply@github.com |
e191dcd55943188856e0aa6d20abcb3ae22cd4d2 | c5698844e4c5cd6428d25f5a97a2f4ad069df251 | /twitter/publicar desde python/read.py | a394d4c896e493b5d9f689dc1751a7b77d468356 | [] | no_license | jrartd/Python-tools | 1ade026dcc9b3987bb7a6af130403895a8456d3c | 361031a2d108e048d267bf386a8a703359a81321 | refs/heads/master | 2022-12-21T23:38:53.038535 | 2018-02-09T18:18:10 | 2018-02-09T18:18:10 | 114,409,529 | 0 | 1 | null | 2022-12-12T09:18:07 | 2017-12-15T20:41:15 | HTML | UTF-8 | Python | false | false | 458 | py | from twitter import *
access_token = "712533602102284288-QGxqYcFiQlGZGTaoNIgHgq2KZxqZeeH"
access_token_secret = "rlH5ItRHtlguzChQbIvLDo1yYCu47liEtq8fdVgeOZpb9"
consumer_key = "VWe4b0p7vRcVS06gbJyS83dIS"
consumer_secret = "PjkoSJ4YxPXo4V9Uk7bazq4y507e6zBr96q7u2OlJeP1aVZd7w"
texto_tweet = input("Ingrese el texto a twitt... | [
"you@example.com"
] | you@example.com |
a1590dd5a7d854d633c6cc4a59cd757b06b26e95 | 84c4474a88a59da1e72d86b33b5326003f578271 | /saleor/graphql/app/mutations/app_retry_install.py | 64faee9ee45caa39c2e77961854e66c1815f20c1 | [
"BSD-3-Clause"
] | permissive | vineetb/saleor | 052bd416d067699db774f06453d942cb36c5a4b7 | b0d5ec1a55f2ceeba6f62cf15f53faea0adf93f9 | refs/heads/main | 2023-07-20T02:01:28.338748 | 2023-07-17T06:05:36 | 2023-07-17T06:05:36 | 309,911,573 | 0 | 0 | NOASSERTION | 2020-11-04T06:32:55 | 2020-11-04T06:32:55 | null | UTF-8 | Python | false | false | 2,274 | py | import graphene
from django.core.exceptions import ValidationError
from ....app import models
from ....app.error_codes import AppErrorCode
from ....app.tasks import install_app_task
from ....core import JobStatus
from ....permission.enums import AppPermission
from ....webhook.event_types import WebhookEventAsyncType
f... | [
"noreply@github.com"
] | vineetb.noreply@github.com |
f6ff32206f96b23acbe579bc37f574b0be83c008 | 70045ba3b29d87d9d210b4757c6c46968841d977 | /p1.py | e05575a455d1780beab6a038db7ddfe930f7a617 | [] | no_license | jtarlecki/project_euler | 8ef05a5feaa949d73bac4ce06019ad3e90c1d420 | 7057997ef5195a2fc10062bb91d47eda4b40f7fa | refs/heads/master | 2021-01-22T19:44:53.474400 | 2015-09-21T03:12:42 | 2015-09-21T03:12:42 | 23,652,030 | 1 | 0 | null | null | null | null | UTF-8 | Python | false | false | 232 | py | lim=1000
sum_mult=0
multiples = [3,5]
def modtest(number, mults):
for mult in mults:
mod = number % mult
if mod == 0:
return number
return 0
for i in range(1, lim):
sum_mult += modtest(i, multiples)
print sum_mult
| [
"jtarlecki@yahoo.com"
] | jtarlecki@yahoo.com |
f5e695d6725c6581db24a42d28a276bba108e8f3 | f663f5bedffdceca8d7884369f6daea91d4768b7 | /isdquantum/utils/binary.py | 451b063264c66b7b95a3a43e729fa3e5a4b56b75 | [] | no_license | simrit1/isd-quantum | 17500f74be99e80cb4668e7cf2559046686f5d97 | 33ee3b6e99530da358de6dcefdac9cebd3a93b83 | refs/heads/master | 2023-03-15T12:35:37.945753 | 2019-04-05T08:49:08 | 2019-04-05T08:49:08 | null | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 1,800 | py | import logging
from math import ceil, log
logger = logging.getLogger(__name__)
def check_enough_bits(a_int, bits):
bits_required = get_required_bits(a_int)
assert bits >= bits_required, "Not enough bits."
def get_required_bits(*ints):
if len(ints) == 0:
raise Exception("number of ints must be g... | [
"simone.perriello@protonmail.com"
] | simone.perriello@protonmail.com |
f638f56858b04ebec911d65ea5e21bc289feea28 | e75db05d6b5767f7d40b893b8febdcfaf1b9f28d | /run_cold+hot_f475w_Nie_20210103.py | 33d12bc6e22cb40fe94149957b2c2740fcecf13b | [] | no_license | Lu-Nie/PM | 46dbf425457eedd9d12f498b54e1acfe6240a3e6 | cc3449bafcbe976dd4c2e09941c570012a75997d | refs/heads/master | 2023-02-16T16:11:26.705508 | 2021-01-10T04:08:23 | 2021-01-10T04:08:23 | 327,254,332 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 8,343 | py | import os, subprocess, shlex, datetime, multiprocessing as mp, numpy as np, astropy.io.fits as pyfits
import pandas as pd
start_t = datetime.datetime.now()
num_cores = int(mp.cpu_count())
#print("The computer has " + str(num_cores) + " cores")
data_path, res_path = './data/', './res_test/'
X = np.arange(323.75,3... | [
"374594094@qq.com"
] | 374594094@qq.com |
dc43909402e1e03c13d1fa0416aabda3fe2f3a39 | c03b2d9117c02183ccc551b746edf7baddac3ecb | /settings.py | 20f0548c5dfb213b1e4602ce09e90fab2aabc9b5 | [] | no_license | SCARLETCRAZY/update2 | 58f65e583c4223ab7c93eb9a10d01ae33774369b | 45c5507feeb331ae6dfa50a9b111dc45a9a7d24b | refs/heads/master | 2022-11-23T13:03:15.367126 | 2020-07-24T08:05:30 | 2020-07-24T08:05:30 | 282,159,577 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 1,841 | py |
bot_token = '1356809982:AAEnCcj_QuQE3tOGqTLKncQqqhHTZlJjYjU' # токен бота
LOGIN_BOT = '@snus_pvl_bot' # логин бота
CHANNEL_ID = 1245689 # id канала куда будет отсылаться информация, ид без -100 в начале (например: 124873248)
admin_id = 691058046 # id админа
LOGIN_ADMIN = '@snus_sup' # тг логин спамера, нужен для и... | [
"noreply@github.com"
] | SCARLETCRAZY.noreply@github.com |
0573b6563ad45c09808049f4fdd2f87ff082fce9 | ba157236151a65e3e1fde2db78b0c7db81b5d3f6 | /String/longest_group_positions.py | f01ef3284224992f2d915fed2ff79a7296bfda75 | [] | no_license | JaberKhanjk/LeetCode | 152488ccf385b449d2a97d20b33728483029f85b | 78368ea4c8dd8efc92e3db775b249a2f8758dd55 | refs/heads/master | 2023-02-08T20:03:34.704602 | 2020-12-26T06:24:33 | 2020-12-26T06:24:33 | null | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 372 | py | class Solution(object):
def largeGroupPositions(self, s):
ans = []
i = 0
for j in range(len(s)):
if j == len(s) - 1 or s[j] != s[j+1]:
if j-i+1 >= 3:
ans.append([i,j])
i = j+1
return ans
"""
:type s: str
... | [
"spondoncsebuet@gmail.com"
] | spondoncsebuet@gmail.com |
d0d1f95bef7336294b1bd005942cb777bbb27c4f | fd16ccc7c5576a2f1921bcd9a10d7a157566190e | /Source/server/SocketServer/TestSocket/GameRules/GameRule_Poker.py | 86483d280051168781561c40724b23a8f28c8489 | [] | no_license | willy2358/lxqenjoy | 5469b2b8cf615a43ae777a841156523a8bf0564b | 8d72d76497b21996e72cf97aa4bb7a5fdf6a03be | refs/heads/dev | 2021-01-02T22:40:16.346181 | 2018-10-17T14:34:28 | 2018-10-17T14:34:28 | 99,359,908 | 0 | 1 | null | 2018-10-03T13:47:34 | 2017-08-04T16:12:19 | Python | UTF-8 | Python | false | false | 160 | py |
from GameRules.GameRule import GameRule
class GameRule_Poker(GameRule):
def __init__(self, rule_id):
super(GameRule, self).__init__(rule_id)
| [
"willy2358@139.com"
] | willy2358@139.com |
567b9ec705d537e69437e923395e97ecf0605c77 | e4bb1bdc907164512408aef2e5de9cb184997218 | /test_project/api/views.py | af2e99efe9409cb64c306d3ee5f249c4f130c1ed | [] | no_license | pawel1830/cassandra_app | 0fb61d9a8abf04c1c720faa3d9df49fd66ecfd2e | 5b074591fcf3be94361329fd37fa8064a139932a | refs/heads/master | 2023-01-04T00:07:28.199358 | 2020-10-21T08:35:00 | 2020-10-21T08:35:00 | 305,443,925 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 2,447 | py | from smtplib import SMTPException
from django.conf import settings
from django.core import mail
from django.http import JsonResponse
from rest_framework.decorators import api_view
from rest_framework.parsers import JSONParser
from rest_framework.response import Response
from rest_framework import status
from rest_fram... | [
"pawel1830@gmail.com"
] | pawel1830@gmail.com |
d31ea69750d27b528737a27ade4b005680ae0f2f | 17cdde8c5de4ee2d40303a1621a3d9ac1abaf7dc | /2009/03/entries/case-pythonbf/lookup.py | ff96c07fa70db7d52a4d888b5c9d472f825f1e27 | [] | no_license | VijayEluri/sum_challenge2 | dee7316d6133526d653a48636b9bcdec531a8510 | d23ed432d481731a83f3660c6606bb979583974e | refs/heads/master | 2020-05-20T11:01:41.211668 | 2012-01-03T23:30:19 | 2012-01-03T23:30:19 | null | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 1,318 | py | segmenttable = {}
segmenttable[1] = [' ',
' |',
' ',
' |',
' ']
segmenttable[2] = [' - ',
' |',
' - ',
'| ',
' - ']
segmenttable[3] = [' - ',
... | [
"nsmith@.(none)"
] | nsmith@.(none) |
1a3f20ea52dde542cdf4d53cd5e2ea3d761e3e9d | 5c6c7eb44ae1b2c50a104b260df86e43730564bc | /face_detection/face_detection.py | a86430e7e716a12c8d210724b639f18e394ee1c0 | [] | no_license | xcacao/IBM-labcourse | 43e51bef9e91a70dafcc4229a5bef1a699b089a4 | 850d49c0d17f9984fb9741f971ae949edababbc8 | refs/heads/master | 2023-02-24T02:30:38.520730 | 2021-01-08T14:42:26 | 2021-01-08T14:42:26 | null | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 2,347 | py | import cv2
import torch
import imutils
import time
import numpy as np
from os.path import join, dirname, abspath
absolute_dir = dirname(abspath(__file__))
PROTO_TXT = join(absolute_dir, "model", "deploy.prototxt")
MODEL = join(absolute_dir, "model", "res10_300x300_ssd_iter_140000.caffemodel")
THRESHOLD = 0.5
def fac... | [
"q.thien.nguyen@outlook.de"
] | q.thien.nguyen@outlook.de |
3d5ff485a4026f8cedfadf674fe06cf536874e11 | 4530aa754bec557fc7bc49d39d83991b47c745ce | /run.py | a77896dcac17c1901f552cf6eca616f4c80bf86a | [] | no_license | jvanvugt/ai-at-the-webscale | 79d44f11696e3564de4dbeec8a82d09baa53d88c | f0c0b946784dde039998ca1d3f59d973651fdc02 | refs/heads/master | 2021-01-21T14:40:12.437099 | 2016-06-30T02:12:23 | 2016-06-30T02:12:23 | 59,597,598 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 2,227 | py | from __future__ import division
import sys
from threading import Thread
import numpy as np
from tqdm import *
# import matplotlib.pyplot as plt
from aiws import api
from models import *
from encoding import encode_context, decode_action
from login_info import USERNAME, PASSWORD
api.authenticate(USERNAME, PASSWORD)... | [
"jorisvan.vugt@student.ru.nl"
] | jorisvan.vugt@student.ru.nl |
047756f0358b390379b309b76e1451174e9c5664 | cd2a798257db172ef37ffeea320d0edd7041e7a1 | /scripts/__init__.py | 6bbe0fa87a1481169b68adb6df5040c113ad6140 | [
"MIT"
] | permissive | masonkadem/python-functions | 46e4e0e5ba4a23711182b612db3e7bfdf079c0af | cbbb2e9eb14c637aa402f0082a037a5d4dd70468 | refs/heads/main | 2023-08-31T17:30:42.849891 | 2021-09-14T17:42:42 | 2021-09-14T17:42:42 | null | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 117 | py | """
__init__.py.
init file for scripts module.
"""
from scripts.common import df_info
__all__ = [
"df_info",
]
| [
"szymonos@outlook.com"
] | szymonos@outlook.com |
794017d9f59b8fd340f371c0dea125e86eb249c4 | 2f5fca8492ca07854eb554d5d5c7dcfc84daf50d | /Day2/greeting.py | 521ad63e07595e48a5e3102e04cbb6e796e5231c | [] | no_license | rashmisharma83/python | e0c8b6db41b46a2bc9da1a20fab60e7db721a7f6 | e83036d8feb11aba99c3da8cfb7ae277325dec3f | refs/heads/master | 2023-07-31T14:58:28.272223 | 2021-09-24T15:02:52 | 2021-09-24T15:02:52 | 410,005,525 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 347 | py | my_first_name ="rashmi"
my_last_name ="sharma"
message ="Good Morning"
print(message +" "+ my_first_name.title() +" " + my_last_name.title())
import datetime
now = datetime.datetime.now()
print("currentdate :" +(now.strftime("%y-%m-%d")))
message ="The beautiful thing about learning is that nobody can take it away... | [
"rashmisharma83@gmail.com"
] | rashmisharma83@gmail.com |
74813ff7c7c6ab9c755033aaf276c4d173470032 | fe47728df24e90c1d34355ec7d64213bfe66e718 | /Topics/Integer arithmetic/A complex expression/main.py | bbc96cc4a5e8b3730c6e16cdfd3fc3dd7e0cc8b3 | [] | no_license | amari-at4/Zookeeper | 02c61c2924c949552f32905b1a943ecdb532f4bc | 9afcbef27dd1e20e782dea8f8f5d37bb7aa960db | refs/heads/master | 2023-06-30T11:22:14.320865 | 2021-08-03T22:31:20 | 2021-08-03T22:31:20 | 392,474,033 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 51 | py | n = int(input())
print((((n + n) * n) - n) // n)
| [
"amari@at4.net"
] | amari@at4.net |
081efe0c1b63967fdc1eed07e74e7fd3db00c00d | 397ca46ff137200953d2296618c8969ac8f7d88a | /ch3_app.py | 67066f4568d019be592b8809334085e97efc5e45 | [] | no_license | MiltonMcNeil/CHAPTER03HW | c9c28b94d64c240956cd239f5d6294026eb58699 | 559ee592e08639787df15d46dbd942e1f767cd54 | refs/heads/master | 2022-12-12T19:37:32.467834 | 2020-09-13T16:58:06 | 2020-09-13T16:58:06 | 295,196,395 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 9,378 | py | from datetime import datetime
import os
import csv
import tkinter as tk
from tkinter import ttk
class LabelInput(tk.Frame):
"""A widget containing a label and input together."""
def __init__(self, parent, label='', input_class=ttk.Entry,
input_var=None, input_args=None, label_args... | [
"noreply@github.com"
] | MiltonMcNeil.noreply@github.com |
6855504b26d9c7e32693fcd35a8479d92601f4c8 | a2160fdafd3520693cfa41626ca4d69f408cb1a5 | /benchmark/seaborn-test.py | 29558dd2f16e00068b079c7e6f89316d0d69a615 | [] | no_license | goFrendiAsgard/jurnal-chiml | cbc820f0a770389a98fec855e73df2cba6d4c4dd | 7cad128a8418e53013a039b8bef4f3ed8b59264d | refs/heads/master | 2020-03-13T03:51:54.263197 | 2018-09-04T15:09:14 | 2018-09-04T15:09:14 | 130,952,072 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 262 | py | import seaborn as sns
import matplotlib.pyplot as plt
import pandas as pd
d = {
'a': [1, 1, 3, 1, 1, 3],
'b': [1, 2, 2, 1, 2, 2],
'c': [1, 1, 1, 0, 0, 0],
'd': [0, 0, 0, 1, 1, 1]
}
df = pd.DataFrame(data=d)
sns.pairplot(df, hue='d')
plt.show()
| [
"gofrendiasgard@gmail.com"
] | gofrendiasgard@gmail.com |
87273241a4c3e1194c7c82ded20a113867a816f0 | 75ed37cfdb793062f6e138d7d25a4ac357670d2a | /mercado.py | 4b8e2e96f0b379959683fdbb718cffbf180ef9cf | [] | no_license | ArturAvelino/mini-market | a8107a43a136aa5b8497697aa3852bbe0d83fad4 | df270373a8c3ed04dd849ab6c697222f755d21dc | refs/heads/main | 2023-02-23T10:17:04.372735 | 2021-02-01T21:35:42 | 2021-02-01T21:35:42 | 335,089,993 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 4,860 | py | from time import sleep
from Models.produto import Produto
from utils.helper import formata_valor
produtos = []
carrinho = []
def main():
menu()
def menu():
print("================================================================")
print("======================== Bem-vindo(a)! =============... | [
"noreply@github.com"
] | ArturAvelino.noreply@github.com |
ed83b8b9465e7789fbdf5342d12e6863ef98a36d | ab79ca83f97aff1f5e00d46781e0355b8e26b4c7 | /LogTranslation/SurveyMode.py | 32758c98925e9a4ab2306d4f3422dfbebcbe5061 | [] | no_license | AngusGLChen/LearningTransfer | d966ece2b94b3287f7cf0468ae7afd9591c64d99 | 956c9a9e557deb959b26ae42fb46eba38fb417dd | refs/heads/master | 2021-01-19T06:42:47.967713 | 2016-06-20T19:18:09 | 2016-06-20T19:18:09 | 61,573,656 | 0 | 1 | null | null | null | null | UTF-8 | Python | false | false | 12,461 | py | '''
Created on Jul 27, 2015
@author: Angus
'''
import os,re
from sets import Set
def survey_mode(path):
files = os.listdir(path)
course_id = ""
id_map = {}
response_id_set = set()
# Output survey_description table
survey_description_path = os.path.dirname(os.path.dirname(o... | [
"angus.glchen@gmail.com"
] | angus.glchen@gmail.com |
34bda52c1409fe6f08feee5eeea3683f4dfd5f15 | 9f030bcc6b5ff7a8b437c8c444f6146d83738dca | /thinktown/settings.py | 634b9aad7fb436f738e7c938504f237c431bb849 | [] | no_license | baby4bamboo/apolish | c1e47f9fc94c6ba90cdbf5a7d1b1e671fc90abdd | af3df232dacf0694504596d4a1e02079dcdd9b1c | refs/heads/master | 2021-01-10T14:04:07.360827 | 2015-11-26T02:42:02 | 2015-11-26T02:42:02 | null | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 5,460 | py | # Django settings for thinktown project.
DEBUG = True
TEMPLATE_DEBUG = DEBUG
ADMINS = (
# ('Your Name', 'your_email@example.com'),
)
MANAGERS = ADMINS
DATABASES = {
'default': {
'ENGINE': 'django.db.backends.sqlite3', # Add 'postgresql_psycopg2', 'mysql', 'sqlite3' or 'oracle'.
'NAME': 'apol... | [
"bayao@cisco.com"
] | bayao@cisco.com |
9eb4c6fd78ca26eecf850645b8fec5f1befa753d | d6fd92d44bfdd3c2f16fb91cd66910f21e88dbb5 | /echo_env_var.py | 55e769995ebf1ae27f230292a31e4bca2091057d | [] | no_license | Sruinard/AzVmssPerformance | 87fef23ee36dd447df01b55a9058d6918c4a665d | 376a142e9ffcf045790258ac8b9953657a0c30a1 | refs/heads/master | 2023-07-12T17:50:01.009728 | 2021-08-31T14:27:47 | 2021-08-31T14:27:47 | 399,727,782 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 2,957 | py | import os
import json
import requests
import datetime
import hashlib
import hmac
import base64
import argparse
parser = argparse.ArgumentParser()
parser.add_argument('--config-id', type=str)
parser.add_argument('--time-in-seconds', type=int)
parser.add_argument('--number-of-instances', type=int)
args = parser.parse_a... | [
"stefruinard@hotmail.com"
] | stefruinard@hotmail.com |
907f2069f1ed74d3a3e751a3b36db148b39348c8 | 539078fa5ba0ec583cf697ceec366cea3cbd8fc6 | /leetcode/替换后的最长重复子串(滑动窗口).py | 92534be4cccab194dc8c382fdb37467d1af9b865 | [] | no_license | Bubbleskye/2019summer | 88ec3b32aa1346e942455e2e38a20e036dd07d68 | 2329898b3653802de287434b5facd09636cc92cf | refs/heads/master | 2022-12-18T04:41:13.199755 | 2020-09-24T16:42:29 | 2020-09-24T16:42:29 | 291,307,029 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 1,129 | py | # 如何判断一个字符串改变K个字符,能够变成一个连续串:如果当前字符串中的出现次数最多的字母个数+K大于串长度,那么这个串就是满足条件的
# historyCharMax保存滑动窗口内相同字母出现次数的历史最大值
# 通过判断窗口宽度(right - left + 1)是否大于historyCharMax + K,大于则窗口滑动,否则窗口就扩张
def characterReplacement(s,k):
map=[0 for _ in range(26)]
if not s:
return 0
left=0
right=0
historymax=0
maxlen=0
... | [
"35057725+Bubbleskye@users.noreply.github.com"
] | 35057725+Bubbleskye@users.noreply.github.com |
e98c3ae636909443eeb2ddd593429ea6b54e78d4 | a953655b27aba5c72a4668c3e621874f406e70e1 | /MazeGenerator/MazeGenerator.pyde | aa5e7bedc278a5cfde2816d1cd374384376305b4 | [] | no_license | bitrogen/Processing-Scripts | 3cb98a3db816c6f2a8e55af581d12d313176b906 | 43ff2e016793a695cad2766ab77c5c457fab4269 | refs/heads/main | 2023-03-24T19:42:34.385062 | 2021-03-18T20:35:32 | 2021-03-18T20:35:32 | 348,644,796 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 4,096 | pyde | screenSize = [1920, 1080]
# from classes import Maze
class Maze:
def __init__(self, sizeofBoard):
self.size = sizeofBoard
self.blocks = list()
self.cellSize = 1000/sizeofBoard
self.squareSize = self.cellSize*0.7
self.padx = 485
self.pady = 6... | [
"noreply@github.com"
] | bitrogen.noreply@github.com |
2a947f6dde626fc5c7a608db41b0b51fbd6eafdb | 8d5ba6747531cbd43d63d32265fd608f9081c3b7 | /.venv/lib/python2.7/site-packages/indico/core/db/sqlalchemy/custom/unaccent.py | b4838177828f13481121fa0984a94d46e9307b19 | [] | no_license | Collinsnyamao/indico | 0e433b78803afae5b1ac90483db1f3d90ce2fddb | 32adf8123e266eb81439b654abc993b98e0cd7f2 | refs/heads/master | 2020-03-18T04:55:40.386595 | 2018-06-02T13:45:47 | 2018-06-02T13:45:47 | 134,314,163 | 1 | 0 | null | null | null | null | UTF-8 | Python | false | false | 3,436 | py | # This file is part of Indico.
# Copyright (C) 2002 - 2018 European Organization for Nuclear Research (CERN).
#
# Indico is free software; you can redistribute it and/or
# modify it under the terms of the GNU General Public License as
# published by the Free Software Foundation; either version 3 of the
# License, or (a... | [
"collins.nyamao@strathmore.edu"
] | collins.nyamao@strathmore.edu |
7690636bb731b6485ad4915aa61584211b9871ae | 3490e72263dbb9084830d5d217ac7762069b1ddc | /src/data_collection/get_lineups_dev.py | 6ae9db2701654dfdcdc0a8ddcfa35a2eda16c8ed | [
"MIT"
] | permissive | vietanhnl95/football-results-prediction | 34ef412c65bbd902c00123da88499ad41cc40306 | f4b17b8720d78c449d799f9c622a58c5f481c244 | refs/heads/main | 2023-08-25T16:02:53.389502 | 2021-10-15T10:51:56 | 2021-10-15T10:51:56 | 414,508,336 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 673 | py | import json
import pandas as pd
import datetime
import sqlalchemy
import utils
def main():
"""
Request to API and insert data to DB
"""
#read_config
config = utils.read_config()
lineups_config = config['lineups']
# connect to db
db_url = config['db_url']
conn = utils.create_db_con... | [
"anh.nguyen18@onemount.com"
] | anh.nguyen18@onemount.com |
77f768d0691bcb93bf5f8e5d1630136179da8c86 | 4da78036b1b94e9ca520f8c5ea264c8734848f7e | /a1-911-Andrioaie-Daria/p3.py | 00c6f3144432d36c76fc59fc8e0c91af2634fdbd | [] | no_license | daria-andrioaie/Fundamentals-Of-Programming | df5631a4afb20b119daba100c14bad22d0ccaffb | 91cebf0d279d0e52cb72ba49f4db2b05f7e209d5 | refs/heads/main | 2023-08-11T05:39:58.964184 | 2021-09-20T19:37:43 | 2021-09-20T19:37:43 | null | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 3,567 | py | #
# Implement the program to solve the problem statement from the third set here
#Problem 12. Determine the age of a person, in number of days.
'''
Program description:
Imagining a 'year axis' where we place the birth date and the current date, the program calculates
the sum of all the days in the years betwe... | [
"noreply@github.com"
] | daria-andrioaie.noreply@github.com |
c7b8cda8705fd1fd9c44d4ed382af4c6b95dbabe | e0986503b275a658687798771cdef4e290630f29 | /Cyber_Security/25-MyNetScanner/venv/bin/chardetect | 60cbb097fad5f532e80f4840637cffeb62530d2d | [] | no_license | deliceyagmur/Python_Siber_Guvenlik | 76ce98803d65599ed7c898ad824dc543648e9c1e | eed640c46b0ba52e27d950fa21410af5e7745027 | refs/heads/master | 2023-04-18T11:18:59.452726 | 2021-05-07T12:18:33 | 2021-05-07T12:18:33 | null | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 258 | #!/root/PycharmProjects/25-MyNetScanner/venv/bin/python
# -*- coding: utf-8 -*-
import re
import sys
from chardet.cli.chardetect import main
if __name__ == '__main__':
sys.argv[0] = re.sub(r'(-script\.pyw|\.exe)?$', '', sys.argv[0])
sys.exit(main())
| [
"yagmur.delice@gmail.com"
] | yagmur.delice@gmail.com | |
6371e03f7e86aed6d39e751ba81d7471c80155ef | 7d2f933ed3c54e128ecaec3a771817c4260a8458 | /venv/Lib/site-packages/requests/packages/urllib3/__init__.py | f669e1f517d93579a48a00c7ca81b40ac6d206c5 | [] | no_license | danielmoreira12/BAProject | c61dfb1d0521eb5a28eef9531a00e744bfb0e26a | 859f588305d826a35cc8f7d64c432f54a0a2e031 | refs/heads/master | 2021-01-02T07:17:39.267278 | 2020-02-25T22:27:43 | 2020-02-25T22:27:43 | 239,541,177 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 1,700 | py | # urllib3/__init__.py
# Copyright 2008-2013 Andrey Petrov and contributors (see CONTRIBUTORS.txt)
#
# This module is part of urllib3 and is released under
# the MIT License: http://www.opensource.org/licenses/mit-license.php
"""
urllib3 - Thread-safe connection pooling and re-using.
"""
__author__ = 'Andrey Petrov (a... | [
"danielmoreira12@github.com"
] | danielmoreira12@github.com |
9e0f5a34033d15ae81aa48a45f3c218ec10b7f08 | 72a9976d9e6c11459134521cc1e9d3ee0becf765 | /home/admin.py | 5184e4b7a4165b39fd094b6909792f15cbdb2443 | [] | no_license | vinaykumar1908/082021i | a0f69745b726baa3a4981208b040956073a57597 | 85950350f17781e791b87718eeecc1f65d39a056 | refs/heads/master | 2023-08-28T00:36:05.818798 | 2021-09-16T18:24:27 | 2021-09-16T18:24:27 | 400,771,913 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 113 | py | from django.contrib import admin
from . import models
# Register your models here.
admin.site.register(models.p)
| [
"vinaykumar1908@gmail.com"
] | vinaykumar1908@gmail.com |
60f35b72cf602b20a9b81ac201d5bff69e1e3489 | 8a05d954639e5253ee4ed144671d74e0a85d5a30 | /callapp/migrations/0011_auto_20211004_1503.py | 9a7a345701f5eb90bd8f2190348b44cdebd5d823 | [] | no_license | jaguar48/Therapy-booking-app | 8c28826c992285592aadbde672be33ba54161ef0 | fe1b2434a843763097ddd71fd041e53770aea1d1 | refs/heads/master | 2023-09-05T23:38:50.305747 | 2021-11-16T12:11:17 | 2021-11-16T12:11:17 | null | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 1,107 | py | # Generated by Django 2.2.10 on 2021-10-04 22:03
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),
('callapp', '0010_transfe... | [
"okonkwostanley67@yahoo.com"
] | okonkwostanley67@yahoo.com |
2914fe989199a7020838934d879bd59c4b3a46ad | ef7530b5816fc1dcde650f7c982ab7c97fd6e65b | /movies/admin.py | e5d26af9476beaf892d7ae817a0a500a95b6aebd | [] | no_license | shofizone/vidly | e908293257db5e7c4496ed44d07ab87a766d8dc9 | ca6c0af5504e582beee79df18b2fc893bb7e1232 | refs/heads/master | 2023-04-30T22:31:50.288851 | 2019-09-12T08:51:56 | 2019-09-12T08:51:56 | 207,768,499 | 0 | 0 | null | 2023-04-21T20:37:28 | 2019-09-11T08:59:46 | JavaScript | UTF-8 | Python | false | false | 395 | py | from django.contrib import admin
from .models import Genre, Movie
class GenreAdmin(admin.ModelAdmin):
list_display = ('id', 'name')
class MovieAdmin(admin.ModelAdmin):
exclude = ('date_created',)
list_display = ('title', 'number_in_stock', 'daily_rate', 'release_year')
# Register your models here.
adm... | [
"pop.shofi@mail.com"
] | pop.shofi@mail.com |
75d3f3cbc53aec0bbc59eb3519e7bbbfd1d50305 | a719bd5c20f377b4986595b5a64f2df4bad36f66 | /hw5/task2.py | b9567827a7c4e4efa83ee81e792a66a4794e3b07 | [] | no_license | tom6311tom6311/DLCV2018SPRING | d3e2222209dd1cf4ba1d584d758acb624e0d88a2 | ed0c5528a59ea67611eab850b83d698e92975ed8 | refs/heads/master | 2021-04-06T10:53:11.023432 | 2018-07-04T15:08:49 | 2018-07-04T15:08:49 | 125,384,136 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 2,100 | py | import sys
import os
import preprocessor
import numpy as np
import tensorflow as tf
from keras.backend.tensorflow_backend import set_session
from keras.models import Sequential
from keras.layers import Dense, Dropout, Conv1D, Flatten, LSTM, Bidirectional
from keras.callbacks import EarlyStopping, TensorBoard
from keras... | [
"tom.huang@positivegrid.com"
] | tom.huang@positivegrid.com |
5371ef32285aad17ae37e7185878ecb06b2d21ac | abffc57da3154adfa2e844698d50556e07e19336 | /u3/apps.py | 2e5525b184c73aad781ab5a4d24dc9517e9aa8d1 | [] | no_license | milym2/milogit | 7c67e299812bd024a338321c9c0766e17dc31893 | bd42ff36ff78e1faa21ac9fbec9407ee52b57a3c | refs/heads/master | 2023-03-31T10:51:52.727285 | 2021-04-06T23:47:28 | 2021-04-06T23:47:28 | 355,362,088 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 79 | py | from django.apps import AppConfig
class U3Config(AppConfig):
name = 'u3'
| [
"milymejia8@gmail.com"
] | milymejia8@gmail.com |
f48b6acd7862cead47ba1fafc6a3ebd6557b73be | 303bac96502e5b1666c05afd6c2e85cf33f19d8c | /solutions/python3/993.py | d918d769447829914b6898f916ac2d314071b6a7 | [
"MIT"
] | permissive | jxhangithub/leetcode | 5e82f4aeee1bf201e93e889e5c4ded2fcda90437 | 0de1af607557d95856f0e4c2a12a56c8c57d731d | refs/heads/master | 2022-05-22T12:57:54.251281 | 2022-03-09T22:36:20 | 2022-03-09T22:36:20 | 370,508,127 | 1 | 0 | MIT | 2022-03-09T22:36:20 | 2021-05-24T23:16:10 | null | UTF-8 | Python | false | false | 430 | py | class Solution:
def isCousins(self, root: TreeNode, x: int, y: int) -> bool:
def dfs(node, parent, depth, mod):
if node:
if node.val == mod:
return depth, parent
return dfs(node.left, node, depth + 1, mod) or dfs(node.right, node, depth + 1, mo... | [
"cenkay.arapsagolu@gmail.com"
] | cenkay.arapsagolu@gmail.com |
869d4de40b4774adacf3db6705df1c3d7a5ab419 | cb2411c5e770bcdd07b170c2bc07f5e0cc72fc86 | /Greedy/55. Jump Game.py | 6ad22c17c7c535c3c1f269e0caf4426d60a13b2f | [] | no_license | roy355068/Algo | f79cf51662832e33664fc1d2479f79405d586e2e | 14febbb5d8504438ef143678dedc89d4b61b07c9 | refs/heads/master | 2021-05-11T04:32:11.434762 | 2018-01-30T00:01:26 | 2018-01-30T00:01:26 | 117,941,600 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 1,905 | py | # Given an array of non-negative integers, you are initially positioned at the first index of the array.
# Each element in the array represents your maximum jump length at that position.
# Determine if you are able to reach the last index.
# For example:
# A = [2,3,1,1,4], return true.
# A = [3,2,1,0,4], return fal... | [
"bochengl@andrew.cmu.edu"
] | bochengl@andrew.cmu.edu |
27c7d0f1df93464f4b0283670d93b1c42e27ffaa | 7119da65c22d702e410cefeb63c337bc6d46d15e | /template06_template_howto_use/csvt02/urls.py | 810e4f6756fd4b678484f056115e9f041a82232b | [
"Apache-2.0"
] | permissive | ysh329/django-test | a9a6e75b5c7822717b0c2dfca24505cd08199669 | 8b2c75b5a02257d464de2b6cd6cdb8f12dcda630 | refs/heads/master | 2021-01-19T11:17:56.089309 | 2015-09-26T03:15:30 | 2015-09-26T03:15:30 | 42,867,635 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 935 | py | """csvt02 URL Configuration
The `urlpatterns` list routes URLs to views. For more information please see:
https://docs.djangoproject.com/en/1.8/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-base... | [
"ysh329@sina.com"
] | ysh329@sina.com |
ab02bade9da8357492dd294ee109487abed33b14 | 0461c0707135ca789db004c4ff621ed0cce3d1ac | /egSentence.py | 04fbb09fa6e2e9badfac3294d371abdf881006be | [
"MIT"
] | permissive | aklcqq/py | a44acd3445c7ddc6bb9b85cf4e3ee785fa5fbcd8 | 39c4abf8ee02d7021d47bd608be0498c6753f466 | refs/heads/master | 2020-05-16T17:17:26.485191 | 2019-04-24T13:33:01 | 2019-04-24T13:33:01 | 183,190,240 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 1,417 | py | # This file is for example sentence
#!python3
#import lib
from selenium import webdriver
import urllib.request, urllib.parse, urllib.error
import re
import ssl
from bs4 import BeautifulSoup
import time
from selenium.common.exceptions import TimeoutException
from selenium.webdriver.support.ui import WebDriverWait # av... | [
"aklqq@163.com"
] | aklqq@163.com |
be591fc55d67ad2eff63ff3c3608b7c583ad18fa | b4196a2ce68a725f7e8c69e554b12faec0becbea | /id3rapgenius.py2 | 7c9504fdced3cf953e5b7ad5517e7ba74b7316fb | [] | no_license | cvzi/genius-downloader | 9a92a8b48ad756730ef564da62d336483340059d | 6ba81bf5a2a2337e0a8649932cfc95b90760dac9 | refs/heads/master | 2023-07-24T17:37:47.751946 | 2023-07-10T09:10:56 | 2023-07-10T09:10:56 | 32,405,791 | 3 | 0 | null | null | null | null | UTF-8 | Python | false | false | 14,796 | py2 | #!/usr/bin/env python2
# -*- coding: utf-8 -*-
# Python 2.7
# https://github.com/cvzi/genius-downloader
# Download lyrics from rap.genius.com and saves the lyrics in a mp3 or m4a file
import sys
import urllib
import urllib2
import re
import threading
import htmlentitydefs
import json
from mutagen import *
from mutagen... | [
"cuzi@openmail.cc"
] | cuzi@openmail.cc |
0d58a2ce4eb9faa73cccf4e8472c5309e6b4c691 | 5394d78d778dd1163b1548b185e0612e515c2285 | /HW4/problem1.py | f8009f0d78d7a082b8effa64289ff16da3174a0a | [] | no_license | claireedanaher/ML_hw | bf485b2027f612e56e388ae02711cd3dce28a95f | 0a17a46a336eb3648f82ce40e47b7605b8e9255e | refs/heads/master | 2020-04-08T05:38:24.132129 | 2018-11-25T19:49:27 | 2018-11-25T19:49:27 | 159,068,255 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 29,831 | py | import numpy as np
import math
#-------------------------------------------------------------------------
'''
Problem 1: softmax regression
In this problem, you will implement the softmax regression for multi-class classification problems.
The main goal of this problem is to extend the logistic regression... | [
"claireedanaher@gmail.com"
] | claireedanaher@gmail.com |
5b66e5488adb223bed0d7e7749eeb60e9097dcc8 | bfa60e4febca9d4bd07f82482586b553ab0b6102 | /mybbs/bbs/migrations/0002_auto_20170721_1146.py | 243a3f0a6e8e0bba6e220f59c4a09b631bd4b39f | [] | no_license | txowner/website | a9d0f427fad36f221b1b5d80d4b1bfd7583c6714 | 9e8d7c6dca0904a272a073bfaabd2da11bb13b2c | refs/heads/master | 2021-01-01T16:09:13.048481 | 2017-08-04T11:06:15 | 2017-08-04T11:06:15 | null | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 487 | py | # -*- coding: utf-8 -*-
# Generated by Django 1.10 on 2017-07-21 03:46
from __future__ import unicode_literals
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [
('bbs', '0001_initial'),
]
operations = [
migrations.AlterField(
mo... | [
"46785647@qq.com"
] | 46785647@qq.com |
dd43ef149c835d13ebd09048a1987e06f39bc38f | aac0c961fcea65cbbe61055bb25d8788f9b97e5e | /Practica01.py | a78f4d75f2c4adf12f5a718f83e13d354981b2a1 | [] | no_license | julioolivares90/PracticaOpenCV | 987d0322e78396f3f84d3b790c9b6593afb06082 | 47adfecf1008935a474944f53bf44871ded8f09a | refs/heads/master | 2022-09-30T23:48:08.994330 | 2020-06-06T19:22:00 | 2020-06-06T19:22:00 | 270,080,616 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 393 | py | import cv2
from datetime import date
from datetime import datetime
#cv2.IMREAD_UNCHANGED = -1
#0 imagen en blanco y negro
#1 imagen a color
img = cv2.imread('lena.jpg',1)
print(img)
cv2.imshow('image',img)
key = cv2.waitKey(0)
if key == 27:
cv2.destroyAllWindows()
pass
elif key == ord('s'):
name_file = '... | [
"julioolivares90@hotmail.com"
] | julioolivares90@hotmail.com |
add36c49f08156fa9f65d5e079441f0e3c7f56f7 | ca7aa979e7059467e158830b76673f5b77a0f5a3 | /Python_codes/p03168/s086851558.py | 7143c7be26364089fb75fade50516b0a34c2696e | [] | no_license | Aasthaengg/IBMdataset | 7abb6cbcc4fb03ef5ca68ac64ba460c4a64f8901 | f33f1c5c3b16d0ea8d1f5a7d479ad288bb3f48d8 | refs/heads/main | 2023-04-22T10:22:44.763102 | 2021-05-13T17:27:22 | 2021-05-13T17:27:22 | 367,112,348 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 511 | py | import sys
def input(): return sys.stdin.readline().rstrip()
def main():
n=int(input())
P=list(map(float,input().split()))
dp=[[0]*(n+1) for _ in range(n)]#コインi(0-)までで,j枚が表
dp[0][0]=1-P[0]
dp[0][1]=P[0]
for i in range(1,n):
for j in range(i+2):
if j==0:
dp[i][... | [
"66529651+Aastha2104@users.noreply.github.com"
] | 66529651+Aastha2104@users.noreply.github.com |
24ed744017c918e52f7deb73afd93041eb195411 | 8b5268b4111ef72fd4b0372969785a4407104c42 | /mapper_v2/tools/workspacePlotter.py | ff46dd8335edc24cfe2b6df31469306f7faa9dc3 | [] | no_license | oliverek12/robot_arm_workspace_mapper | 6b05c268fad21f84d829c6ba6b98bf02663f584d | 3e18249d719722af28a4d5c31bbdcfdaccf4af5a | refs/heads/master | 2020-12-24T15:22:28.327156 | 2016-03-07T05:33:14 | 2016-03-07T05:33:14 | 42,014,865 | 1 | 1 | null | null | null | null | UTF-8 | Python | false | false | 3,556 | py | #! /usr/bin/python
################################################################
### This is a tool used to plot the output csv file from ###
### the workspace_mapper node. ###
### author: Oliver Ebeling-Koning <odek@vt.edu> ###
### date: 09/07/2015 ... | [
"oliverek12@gmail.com"
] | oliverek12@gmail.com |
27fadea70c2e3189b9fb17f793a06d41f8af201b | 92382f1a7c719903684d06eb440f4fba346ce755 | /data/wrangling.py | cdc86ae129a728c215b09f5c50d53edab59bd083 | [] | no_license | furuta/springboard_capstone_gradient | c8dc2c3f14e2f273cb6eccfb9bd3ca3dcbe3aeb1 | 39f101dfa72eca3f3d884ae899c41f2893c04250 | refs/heads/master | 2020-08-23T15:59:34.943078 | 2019-11-02T15:16:48 | 2019-11-02T15:16:48 | 216,656,636 | 1 | 0 | null | 2019-10-24T02:53:56 | 2019-10-21T20:12:08 | Python | UTF-8 | Python | false | false | 10,693 | py | import pandas as pd
import numpy as np
import dask
import dask.dataframe as dd
import jpholiday
import luigi
import pickle
from datetime import datetime
import time
import requests
import json
import os
import argparse
# Parse input parameters
parser = argparse.ArgumentParser(description='Airbnb Listing Data Wrangling... | [
""
] | |
177ed0375292e788a78899691c3d5ee070da09aa | d50ce5f5c58a2c79b0a81a2d93936ed4493b75e1 | /myConfig.py | e969a43227819e297e65d2ffb6c12707418949cc | [] | no_license | Hilfri/windlabor | 2fc13d4c3b552056be9f9a9811f9883e954609bc | 13a8ec745838ebdfbc1125bca61ca4f30178dd2f | refs/heads/master | 2020-03-19T16:37:05.460320 | 2018-07-13T15:07:11 | 2018-07-13T15:07:11 | 136,721,751 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 374 | py | import json
def get(param):
sysJson = open("settings.json")
sysData = json.load(sysJson)
try:
return sysData[param]
except:
return
def update(param, new_value):
pfad = "settings.json"
sysJson = open(pfad)
sysData = json.load(sysJson)
sysData[param] = new_value
wit... | [
"leonard.hilfrich@gmail.com"
] | leonard.hilfrich@gmail.com |
7d442a07bfb8f720507da67a316b7bfbddefbabe | e29b450bf924b983023db41a0cdea97cde129880 | /reversible/sinkhorn.py | da994a5c781f3dbf5244c34a45a3d33e8ec14a12 | [] | no_license | afcarl/generative-reversible | b9efedad155d9c08f0f299f0b861ff6ff53607cf | e21b0846c654e0e041562f715bc5ddd90dde0e07 | refs/heads/master | 2020-03-21T03:29:34.655671 | 2018-05-26T18:53:54 | 2018-05-26T18:53:54 | null | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 3,783 | py | import torch as th
from reversible.gaussian import get_gauss_samples
from reversible.util import log_sum_exp, ensure_on_same_device, var_to_np
def sinkhorn_to_gauss_dist(outs, mean, std, **kwargs):
gauss_samples = get_gauss_samples(len(outs), mean, std)
return sinkhorn_sample_loss(outs, gauss_samples, **kwar... | [
"robintibor@gmail.com"
] | robintibor@gmail.com |
89f7995781d60bb6ec3ed228079f873bf72f7ce1 | f47df27f960b3c5abebf16145026d20fc81f062b | /dheeranet/views/home.py | 9d2568894366f760bc5e482240240503dcf65e9a | [] | no_license | dheera/web-dheeranet | 34eec0591872d01afd441ce97a4853c95fde18a8 | 1faceb4d54d91ae1b7ee3f7e449ee3f224600b08 | refs/heads/master | 2021-01-22T06:32:12.403454 | 2017-04-10T20:55:33 | 2017-04-10T20:55:33 | 20,196,792 | 5 | 3 | null | null | null | null | UTF-8 | Python | false | false | 487 | py | from flask import Blueprint, render_template, abort, request
from jinja2 import TemplateNotFound
from dheeranet import static_bucket
from dheeranet.cache import s3_get_cached
import json, datetime
home = Blueprint('home', __name__,template_folder='../template')
@home.route('/')
def show():
home_items = json.loads(s... | [
"dheera@dheera.net"
] | dheera@dheera.net |
4c3811665bbf4bd491fb4e745743c88e967f3dc6 | f855a86f687fce18fd359d0ccc6dc36b7e1b192a | /SimpleApply/trimPy.py | afc9f1bf2bb30dfcf865f6dea554fcbff9dac2ed | [] | no_license | wvkia/Python | b95d65366082dea5da4d2ab92cafa06f5b23df99 | d94be9936cb841b74da158104258ae098d01af4c | refs/heads/master | 2021-09-15T04:50:24.384603 | 2018-05-26T16:39:49 | 2018-05-26T16:39:49 | 123,883,420 | 1 | 0 | null | null | null | null | UTF-8 | Python | false | false | 1,049 | py | #去除字符串前后空格
def trim(s):
while s[:1] ==' ':
s=s[1:]
while s[-1:] ==' ':
s=s[:-1]
return s
print(trim(' asdf '))
#判断是否可以迭代
from collections import Iterable
print(isinstance('adsf',Iterable)) #str是否可以迭代
print(isinstance([23,4,5,5],Iterable)) #list是否可以迭代
print(isinstance((34... | [
"502332082@qq.com"
] | 502332082@qq.com |
311a9775bce343a683f03cf92db0e518fac17914 | 95d050fb7ad215f3a34ffd8b56e92d8493af414d | /MovingAverageStrategy_1.py | d077e1ad04d7bb5313a2090026fca421839007e4 | [
"MIT"
] | permissive | kamzzang/StockAnalysis | fd7ac4dbb959511f08284d976c19302e5c49be6f | 1f78150a1c20ff827a37c2c63bde15d0f9a7b6de | refs/heads/master | 2022-11-19T22:34:17.909218 | 2020-07-26T08:06:40 | 2020-07-26T08:06:40 | 265,568,639 | 1 | 1 | null | null | null | null | UTF-8 | Python | false | false | 11,539 | py | import datetime, time
import talib as ta
import numpy as np
import pandas as pd
from pandas import DataFrame
import pandas.io.sql as pdsql
import matplotlib
import matplotlib.pyplot as plt
import matplotlib.ticker as ticker
from matplotlib import dates
import matplotlib.font_manager as font_manager
import seaborn as ... | [
"kamzzang1@naver.com"
] | kamzzang1@naver.com |
77443b0c81a87de4fc9f92620ad1d9f81cf46729 | a696d8aefb1dec34d1e030bbfbf9ac1e6d38167f | /config.py | c571f4a36b0f80273c393e072c128711929fae89 | [] | no_license | ayang2012/Dash_Beer_Stats | 2b282174d2f47790c1f8e573650dcbb33deddf8e | f781a4300ea3506258ffb26d02eebca38684ca23 | refs/heads/master | 2020-04-16T05:08:03.587822 | 2019-01-11T20:50:51 | 2019-01-11T20:50:51 | 165,293,955 | 0 | 1 | null | null | null | null | UTF-8 | Python | false | false | 67 | py | api_key = "db2208bcd8a86d5b3a817f122e6ef489"
username = "ayang2012" | [
"ayang2012@gmail.com"
] | ayang2012@gmail.com |
63ad15afd9c026d9a3011825c941ab69cff2caf6 | 74d499c8aa661b19323fd0fc5ec7b55815997c5e | /GenerateTestCases/DatabaseGeneration.py | e1f2ec6dcfff6bb58c466786f3c905c04ddd9899 | [
"MIT"
] | permissive | MayAbdeldayem/LIWI | 65747e825998d0215481f4ff8efeac2c221996d4 | b4d615e0951b7c28c9258d0d7a8ff86c73c4ebe2 | refs/heads/master | 2020-05-31T08:14:45.501818 | 2019-06-04T06:02:58 | 2019-06-04T06:02:58 | null | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 6,122 | py | import xml.etree.ElementTree as ET
import glob
import cv2
from pathlib import Path
import os, errno
import numpy as np
import shutil
from itertools import combinations
import random
from PIL import Image
import copy
#start at 687,3240
#id starts at 672
def firemaker_preprocessing():
base = 'C:/Users/omars/Documen... | [
"omarshaalan31@gmail.com"
] | omarshaalan31@gmail.com |
e570b8176b57d3d1da45335c0576713cf401f565 | 299f9ed8cfb4e24124ea45505561abd746f1b276 | /DECamExposure.py | 698390eb2976aac52323673b6d946a4140b3ce5d | [] | no_license | dwgerdes/tnofind | 18e3fc061d9c42da49e9832bb51bd1c796cfdec1 | 68cd58ffeee978caaf11ca23acfe2adff859a1ee | refs/heads/master | 2021-01-17T08:54:38.408501 | 2016-04-26T01:57:26 | 2016-04-26T01:57:26 | 40,010,273 | 0 | 1 | null | null | null | null | UTF-8 | Python | false | false | 2,155 | py | #!/usr/bin/env python
import os
import ephem
from DECamField import DECamField
class DECamExposure(object):
#
def __init__(self, expnum=0, date=ephem.date('2013-01-01 00:00:00'), exptime=0, band='r', ra=ephem.degrees(0), dec=ephem.degrees(0), nite=20130101, tag='None', obj='None'):
self.expnum = expnum
... | [
"gerdes@umich.edu"
] | gerdes@umich.edu |
4e66d7ef70e81215819cad08fe0cf65909585429 | 7ace308f23d4114cd2d28837200f497de3205a94 | /manage.py | 0bd28bee07324cf3c4bee440f9955e7fb241d017 | [] | no_license | jeffersonls-dev/desafio-amcom | 8a26d9f8bc3b52bc2500694acb39c7ba19814a3d | dd9408c3967117524d2d67defd56c4c281d7860b | refs/heads/main | 2023-06-04T09:29:08.504432 | 2021-06-22T14:11:52 | 2021-06-22T14:11:52 | 378,714,479 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 661 | py | #!/usr/bin/env python
"""Django's command-line utility for administrative tasks."""
import os
import sys
def main():
"""Run administrative tasks."""
os.environ.setdefault('DJANGO_SETTINGS_MODULE', 'amcom.settings')
try:
from django.core.management import execute_from_command_line
except Import... | [
"jefferson.ls563@gmail.com"
] | jefferson.ls563@gmail.com |
a6a2936d4a3bd0bbf1418468b07779177c769e4b | 765a9bcead1bd53ad7b95d93dbf8faf4485afb5a | /python/solutions/codeforces_263A.py | 659465486170123e0304cda010707407967e7899 | [] | no_license | haxdds/codeforces | fc59a3de3d72f1655f01ea9a1ba9414e4582cf62 | c822d3d9f119cefbc8b39fc2efb41f3086f71dc2 | refs/heads/main | 2023-01-31T04:19:26.408330 | 2020-12-13T00:54:39 | 2020-12-13T00:54:39 | 320,733,593 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 464 | py | #!/usr/bin/env python3
matrix = []
for x in range(5):
row = [int(x) for x in input().split(' ')]
matrix.append(row)
i_1 = 0
j_1 = 0
i_center = 2
j_center = 2
delta_i = 0
delta_j = 0
for row in matrix:
if 1 in row:
for x in row:
if x != 1:
j_1 += 1
... | [
"haxdds@gmail.com"
] | haxdds@gmail.com |
54adf7f713f597318439481b4a00f4ef0fe1b16c | 5857039ecf32a0eac002fca612c964dc528fe729 | /Estrutura de Repetição 2.0/Codes/059 Menu de Opções_1.py | 8d9b2434831cfef5bc2f3621da133713700de05b | [] | no_license | gabrielSampaioDev/Python_code | d8d62bfc90820f4bd8053b060f49ce21fd252b49 | f0b3d35e09e4dde49bf0fe4714afb0ea3dc575a6 | refs/heads/master | 2023-07-14T13:19:47.564018 | 2021-08-23T20:40:37 | 2021-08-23T20:40:37 | 369,521,032 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 1,568 | py | #INTRO
print('-=-'*20)
print('|',' '*20,'MENU DE OPÇÕES', ' '*20, '|')
print('-=-'*20)
opção = 0
while opção != 5:
primeiro_valor = int(input('Digite o primeiro valor: '))
segundo_valor = int(input('Digite o segundo valor: '))
print('=='*15)
print(''' [ 1 ] SOMAR
[ 2 ] MULTIPLICAR
[ 3... | [
"gabrielsampaio.ssa@gmail.com"
] | gabrielsampaio.ssa@gmail.com |
1cc88ac8efc9ee654b98623c83bb76faa5eb6493 | 4326aed1e764f8fa63099fa59c3886cbbc84c7b0 | /chatfirst/settings.py | b0fb7b2b31d7ff2011e8e64b1672bef680091012 | [] | no_license | theashu/chat-first-django | ba897a0f1228f69335056dd58b343c8041ddd54c | 67800cfcb1f18f7656c714e5f656e44c526fd882 | refs/heads/master | 2020-08-09T04:49:46.302241 | 2019-10-10T13:44:04 | 2019-10-10T13:44:04 | 214,001,864 | 1 | 0 | null | null | null | null | UTF-8 | Python | false | false | 3,097 | py | """
Django settings for chatfirst project.
Generated by 'django-admin startproject' using Django 2.2.6.
For more information on this file, see
https://docs.djangoproject.com/en/2.2/topics/settings/
For the full list of settings and their values, see
https://docs.djangoproject.com/en/2.2/ref/settings/
"""
import os
... | [
"animesh00914902017@msi-ggsip.org"
] | animesh00914902017@msi-ggsip.org |
624cb6720d60660e5105faf9b4616df20f9bc3e3 | 48f2256ef0cfe582f39a7eb6ceef117069d29847 | /ChaosTheory/LogisticMapPrediction.py | af53c87af4862d9d481ce960d7e62de94bc2fc93 | [] | no_license | MGSE97/NAVY | 9dc4bffc5f05c9ec10dd29aed2a53868eb5c6e42 | 6137d51e68ba1657c29a16734052aac360ddba3d | refs/heads/master | 2022-07-17T21:33:59.667116 | 2020-05-13T16:42:44 | 2020-05-13T16:42:44 | 244,203,057 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 1,457 | py | import matplotlib.pyplot as plt
import numpy as np
from mpl_toolkits.mplot3d import Axes3D
from NeuralNetworks.Net import Net, Layer
from NeuralNetworks.Utils import Sigmoid, Linear, ReLu, Empty
Axes3D = Axes3D # pycharm auto import
def create_graph(name):
"""
Prepare graph window
:param name: Window T... | [
"elektrikar97@gmail.com"
] | elektrikar97@gmail.com |
f416e06cc19555240322fde37cd44dc114ade597 | 97e316355e4b0ee9d64f91ebf3d584316fa14610 | /parse_tools.py | 7facc1c64eb26c16a0a67f2eb4d54eced7147b9b | [] | no_license | beckgom/ae-wavenet | 91a73b6778fdee25b3aba1f4d1d45713f3a48ae5 | f31021060721c92bd9391fbd028a39c081c28e7f | refs/heads/master | 2020-05-16T17:03:53.844374 | 2019-04-18T01:51:57 | 2019-04-18T01:51:57 | null | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 7,891 | py | import argparse
top_usage = """
Usage: train.py {new|resume} [options]
train.py new [options]
-- train a new model
train.py resume [options]
-- resume training from .ckpt file
"""
# Training options common to both "new" and "resume" training modes
train = argparse.ArgumentParser(add_help=False)
train.add_arg... | [
"hrbigelow@gmail.com"
] | hrbigelow@gmail.com |
7f0c6256117de70af1d86da7aec023d388d519a8 | 675cfed77845e7f717177a2e17e46a675a2eab43 | /src/riwayatstudi/migrations/0003_auto_20210829_0928.py | 7985681100e3ce268bf8d0ba6ba2c34e8b8cab75 | [] | no_license | guhkun13/websasambo | ca6e68ca2a57593157fd98af9f97e1641f6d13c1 | 3eb11a075d109b6d5f378db03f15690d02b78185 | refs/heads/master | 2023-07-16T12:50:35.744005 | 2021-09-08T12:33:50 | 2021-09-08T12:33:50 | 400,786,174 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 1,209 | py | # Generated by Django 3.2.6 on 2021-08-29 09:28
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [
('riwayatstudi', '0002_auto_20210829_0730'),
]
operations = [
migrations.RemoveField(
model_name='riwayatstudi',
name=... | [
"guhkun13@gmail.com"
] | guhkun13@gmail.com |
c2ad9a49e4e23ffa98d960a2818b4175b1dece93 | b5029b5710f72010690c5e57fe5c045dcff2701c | /books_authors_app/migrations/0001_initial.py | 9f233b82732ee72e3c171a7a7c24c182c0d25b6d | [] | no_license | Jallnutt1/first_django_project | 2d059ed815227cf5c72af67e4e4074e95edf1508 | 200b98623292e806a407badf1cb9311e25bd561d | refs/heads/main | 2023-04-04T00:50:19.183891 | 2021-04-13T18:56:03 | 2021-04-13T18:56:03 | 357,659,099 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 1,166 | py | # Generated by Django 2.2 on 2021-04-09 00:55
from django.db import migrations, models
class Migration(migrations.Migration):
initial = True
dependencies = [
]
operations = [
migrations.CreateModel(
name='Author',
fields=[
('id', models.AutoField(aut... | [
"{ID}+{username}@users.noreply.github.com"
] | {ID}+{username}@users.noreply.github.com |
ae0a91cab4eaa6cc3efe51378737808add69cb8b | d73bdca9cc2f612087eeafe021d3832e1e7cd90b | /binary-tree-right-side-view.py | deeacfbeb0e71caacc31a5ae03d463c6deaf5961 | [] | no_license | pathankhansalman/LeetCode | 5e51f9d45cf4769367a5996ae8f4759d9d14f5c4 | d9f37b437613ce7c2c8126555052eb8a899ec6a1 | refs/heads/master | 2022-06-25T00:33:03.083545 | 2022-06-12T15:25:07 | 2022-06-12T15:25:07 | 13,919,064 | 1 | 0 | null | null | null | null | UTF-8 | Python | false | false | 964 | py | # -*- coding: utf-8 -*-
"""
Created on Wed Apr 6 21:02:11 2022
@author: patha
"""
# Definition for a binary tree node.
# class TreeNode(object):
# def __init__(self, val=0, left=None, right=None):
# self.val = val
# self.left = left
# self.right = right
class Solution(object):
def rig... | [
"pathankhan.salman@gmail.com"
] | pathankhan.salman@gmail.com |
d0f1d4e3732bab857d6547863edbe8e25f3cd794 | 16caaf86763ae52abaa888d137472949718b8daf | /testpy.py | 2c317b9994b7e414b06313ddf9dda00ac1467401 | [] | no_license | ummood/Github-Test | 76fd8ab7f2fb2b1a4d837c443b47662505d14dd0 | 73e3cfca70d346f0869b307e18fce4fe7d3d4a30 | refs/heads/main | 2023-02-07T22:46:37.419610 | 2020-12-30T17:17:14 | 2020-12-30T17:17:14 | 325,598,623 | 0 | 0 | null | 2020-12-30T17:17:15 | 2020-12-30T16:34:39 | Python | UTF-8 | Python | false | false | 31 | py | print("Into the child branch")
| [
"noreply@github.com"
] | ummood.noreply@github.com |
4c9afb7f1a1c3156c3c0e419a9d664957618cf06 | 159d4ae61f4ca91d94e29e769697ff46d11ae4a4 | /venv/lib/python3.9/site-packages/pygments/lexers/theorem.py | ec55a32ea39569297ed9647deaf213b073c5d5f6 | [
"MIT"
] | permissive | davidycliao/bisCrawler | 729db002afe10ae405306b9eed45b782e68eace8 | f42281f35b866b52e5860b6a062790ae8147a4a4 | refs/heads/main | 2023-05-24T00:41:50.224279 | 2023-01-22T23:17:51 | 2023-01-22T23:17:51 | 411,470,732 | 8 | 0 | MIT | 2023-02-09T16:28:24 | 2021-09-28T23:48:13 | Python | UTF-8 | Python | false | false | 19,507 | py | """
pygments.lexers.theorem
~~~~~~~~~~~~~~~~~~~~~~~
Lexers for theorem-proving languages.
:copyright: Copyright 2006-2021 by the Pygments team, see AUTHORS.
:license: BSD, see LICENSE for details.
"""
import re
from pygments.lexer import RegexLexer, default, words
from pygments.token import Text... | [
"davidycliao@gmail.com"
] | davidycliao@gmail.com |
d0fa78d37064bf03251c9c6edf18a378195106d5 | 6196bd8f9226042b4c8e171313e273d1875c3ee4 | /up_down_chain/up_down_chain/app/Subseribe/migrations/0002_bidsusersetting_mid.py | d2f23630662918aa99b11057208f625ad32ce97c | [] | no_license | wang18722/Up_down_chain | 87230f057dadea95ab8b2760ca756afe00675b26 | 3c18d5d5727db1562438edea66ef15f54b378e33 | refs/heads/master | 2022-12-27T09:04:49.976753 | 2019-07-01T01:19:12 | 2019-07-01T01:19:12 | 225,579,284 | 0 | 0 | null | 2022-12-08T01:23:21 | 2019-12-03T09:22:22 | Python | UTF-8 | Python | false | false | 694 | py | # -*- coding: utf-8 -*-
# Generated by Django 1.11.11 on 2019-06-24 05:29
from __future__ import unicode_literals
from django.conf import settings
from django.db import migrations, models
import django.db.models.deletion
class Migration(migrations.Migration):
initial = True
dependencies = [
migrati... | [
"xwp_fullstack@163.com"
] | xwp_fullstack@163.com |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.