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
d674633af77ef6cb7ef491d0aac99cddc6b0b189
59995c33bfc97aaac24693fc05e697b44260c2dd
/word_learning/else_jieba.py
c16f5d392d228e7cb2d9575c048f4b8b76b8221f
[]
no_license
302wanger/Python-record
6bfd0ff34f486d62a9b06f105e77f942f1afd035
eac76cfd322a75bbb1ec7157a0877b2604daaddd
refs/heads/master
2021-08-27T19:57:22.953766
2017-11-28T06:15:05
2017-11-28T06:15:05
112,293,509
0
0
null
null
null
null
UTF-8
Python
false
false
540
py
import pandas # import pandas from pandas import Series as sr, DataFrame as df from clooections import Counter as cr # import Counter to count number import jieba.posseg as pseg # import jieba label path = '' # file path data1 = df.read_csv(path, sep= ) l = len(data1) df1 = df(columns=['word', 'type']) for i in r...
[ "wangyuanfu315@gmail.com" ]
wangyuanfu315@gmail.com
81130ed84a969cfe0c23e351c7813186869f045f
dfcadafb9b7aee820a6eebba7b67dc31c0cabda5
/codeforces/1015/C.py
1890b52cf53141a9948cd7f0a7ed29ef48ba0d21
[]
no_license
sainad2222/my_cp_codes
0b631872e96ff84897dd498caf4a6ed5ba4f9c15
4621a2b6d80ea5dc36401481bba58096192e0822
refs/heads/master
2023-02-15T20:42:03.524179
2021-01-12T09:14:00
2021-01-15T07:45:41
324,394,919
1
0
null
null
null
null
UTF-8
Python
false
false
287
py
n, m = map(int, input().split()) res = [] su = 0 for i in range(n): a, b = map(int, input().split()) res.append(b - a) su += a res.sort() i = 0 while su > m and i<len(res): su += res[i] i += 1 if i >= len(res) and su>m: print(-1) else: print(i)
[ "" ]
94b296fb16aa77725535acc65bedf3711e282432
c065a724143d5465971c21f7e9a3829ab177036a
/opt_ic.py
09cf5430178d36a3363dc03ff355edb74e12a6fc
[]
no_license
eubr-atmosphere/opt_ic
f859e261c7f0311a486aded920d3285933f1b226
83068bf42c6eae1856d60629c9e43c9211a4b3c2
refs/heads/master
2020-09-25T22:08:43.047066
2019-12-11T10:49:27
2019-12-11T10:49:27
226,098,649
0
0
null
null
null
null
UTF-8
Python
false
false
21,631
py
# coding: utf-8 """ Copyright 2019 Danilo Ardagna Copyright 2019 Marco Lattuada 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 a...
[ "marco.lattuada@polimi.it" ]
marco.lattuada@polimi.it
17a8ecc861f7d8cd4aca3b5ccae2459c6969877e
e6d4a87dcf98e93bab92faa03f1b16253b728ac9
/algorithms/python/reverseString/reverseString.py
8d30b5defc2ca207f40965dab0c6cfe7eaa1a921
[]
no_license
MichelleZ/leetcode
b5a58e1822e3f6ef8021b29d9bc9aca3fd3d416f
a390adeeb71e997b3c1a56c479825d4adda07ef9
refs/heads/main
2023-03-06T08:16:54.891699
2023-02-26T07:17:47
2023-02-26T07:17:47
326,904,500
3
0
null
null
null
null
UTF-8
Python
false
false
325
py
#! /usr/bin/env python3 # -*- coding: utf-8 -*- # Source: https://leetcode.com/problems/reverse-string/ # Author: Miao Zhang # Date: 2021-02-03 class Solution: def reverseString(self, s: List[str]) -> None: """ Do not return anything, modify s in-place instead. """ return s.rever...
[ "zhangdaxiaomiao@163.com" ]
zhangdaxiaomiao@163.com
c6589d12b3bc378d494176fd7668b370207fba84
8bb1abd35e1e96a4a6f992bbe8d07fd2876eec8c
/amazon/models.py
b04e7fb15d78150303be0b29d77ba56d0de32931
[]
no_license
zhat/system
e5847b7900072e31b574837c5a81d524b8a2fad2
d198fcbe8233d8e1f5df982aec35056b0f6a0866
refs/heads/master
2021-01-23T01:08:40.721897
2018-01-26T08:20:25
2018-01-26T08:20:25
102,430,962
0
0
null
null
null
null
UTF-8
Python
false
false
207
py
from django.db import models # Create your models here. class LoginUser(models.Model): username = models.CharField('username',max_length=128) password = models.CharField('password',max_length=128)
[ "yaoxuzhao@ledbrighter.com" ]
yaoxuzhao@ledbrighter.com
5d6169c3b0d31fc740377c9c1c9ff5e09fb5a40d
71bc873c20fbc45bb5e13095d2474496818a23f9
/service_coldstart/code/redundant_code/send_email_withAttachment.py
6027018a46aac7ab761d72c23456d9367df891aa
[]
no_license
2877992943/lianyun
f31c44ea2e266bae51cae4fa464d1bae368c8d3f
a872d6cd1b2eff402bcccb326d33d086816d87af
refs/heads/master
2021-01-20T16:17:20.226401
2017-05-10T06:49:31
2017-05-10T06:49:31
90,830,548
0
0
null
null
null
null
UTF-8
Python
false
false
2,904
py
#!/usr/bin/env python #coding: utf-8 import pandas as pd """ http://www.cnblogs.com/leetao94/p/5460520.html """ import smtplib from email.mime.text import MIMEText from email.header import Header import email.MIMEMultipart import email.MIMEText import email.MIMEBase import os.path def SendEmail(fromAdd, toAdd...
[ "2877992943@qq.com" ]
2877992943@qq.com
117a1d170619f56d8bd914de35f8ae0297301a68
ce5946e1b7fa3ede541b47d95ed5140b42dab726
/trans_pb2.py
b1f0c9762a8e70dceb7f5e207a71ccafefff6019
[]
no_license
Curtice-y/Heterogeneous-database-migration
e320b7b17ccce5fbe7c905c7d66c4a2a0600e5c2
a8e0e917e9be26717f1e3b4bca4b2711b883a1e6
refs/heads/master
2023-05-26T17:32:51.555810
2021-06-19T11:24:15
2021-06-19T11:24:15
378,390,679
0
0
null
null
null
null
UTF-8
Python
false
true
28,720
py
# -*- coding: utf-8 -*- # Generated by the protocol buffer compiler. DO NOT EDIT! # source: trans.proto """Generated protocol buffer code.""" from google.protobuf import descriptor as _descriptor from google.protobuf import message as _message from google.protobuf import reflection as _reflection from google.protobuf ...
[ "1850332656@qq.com" ]
1850332656@qq.com
2bb80d23bcbcdcfb82fdaaa46297915613b65219
67c15b8c2d993fcaab829af2c23cbe486d9a62ee
/api_service.py
673b87eab3c2cf3f05cfee24557a77effcf1b9b6
[]
no_license
zukdeividas/skelbiu_scrapper
f320fc2f258a28d4fed052d54a858f399bda876d
229aaa0ddcff5c168448a69697db892627bda528
refs/heads/master
2023-02-17T13:26:34.510571
2021-01-16T21:45:22
2021-01-16T21:45:22
328,192,532
1
1
null
2021-01-14T19:13:51
2021-01-09T16:04:58
JavaScript
UTF-8
Python
false
false
2,327
py
from flask import Flask, jsonify, request from flask_classy import FlaskView, route from database.database_service import DatabaseService from database.house_post import HousePost from flask_cors import CORS from sqlalchemy import inspect import os class ApiView(FlaskView): route_base = '/' def __init__(self...
[ "zukdeividas@gmail.com" ]
zukdeividas@gmail.com
363be7c5e8f77010c6cace3079a0f9c6bc5e1787
82c3c05942dcf505b823a7375bf753d7fb92dbce
/Test-Root2Python.py
87eb3f7014b0febd9d898b232c989b31acf69327
[]
no_license
lynch829/PP1011B-Shielding-and-Single-Measurement-Distance-Calculations
7c614d530ecf070c542809fc4abac7653c68f174
f05838f50f7e5031cb9e396b50309e74f89c43bd
refs/heads/master
2021-10-25T13:52:59.106872
2019-04-04T12:34:19
2019-04-04T12:34:19
null
0
0
null
null
null
null
UTF-8
Python
false
false
389
py
import numpy as np import math #from matplotlib import pylab as plt from ROOT import TTree, TFile, TH2D, TCanvas, TH1F, gROOT from root_numpy import array2hist, hist2array, fill_hist, tree2array,root2array inputFile="Detector1PS.root" E_kinetic=root2array(inputFile,treename="PhaseSpace", branches="Ekine") #plt.hist(E...
[ "47521143+cc14398@users.noreply.github.com" ]
47521143+cc14398@users.noreply.github.com
3b6e6ce76c9a0f2c6ec2eb39f3c9a9dcc7e18e9d
d6962dd4f935c5076fca110746aff5d23dfc5f70
/yysAuto.py
b768aa8a4e9b9abbb6acd3e66196aeb1bb83996a
[]
no_license
Asphodeluszct/yysAuto
4aec5d020b526832b8351c58741bafa297e48b4d
914e859cb3d007de7689cc386b3c6db5d9b10440
refs/heads/master
2021-01-01T01:18:57.956845
2020-02-08T10:27:37
2020-02-08T10:27:37
null
0
0
null
null
null
null
UTF-8
Python
false
false
3,083
py
#author:SuHaoXD #E-mail:suhaoxd@qq.com # -*- coding: utf-8 -*- import win32api import win32gui import win32con import random import numpy import cv2 import pyautogui from win32gui import * from PyQt5.QtWidgets import QApplication from PyQt5.QtGui import * import sys import time def resolution(): # 获取屏...
[ "noreply@github.com" ]
noreply@github.com
d5d23c6e0336868e5377870f90891ad80cbcc402
c96feff7c7d871ab3912058f14657bd77cc02d29
/s20_advanced_python_module_exercise.py
7780dc57176d58040b60e2bdcb48cc3894e7ae20
[]
no_license
jtihomirovs/2021-complete-python-bootcamp
0bdc8132563d9d9b76f1d758b8cf1139a884fa9e
7cc9fbe2eefc55764b5dfcc79e77de3271e49391
refs/heads/master
2023-05-27T13:07:47.401007
2021-06-08T16:52:18
2021-06-08T16:52:18
375,082,079
0
0
null
null
null
null
UTF-8
Python
false
false
601
py
import os import re file_path = 'C:\\Python\\Examples\\unzip_me_for_instructions\\extracted_content' def search_phone(file, pattern=r'\d{3}-\d{3}-\d{4}'): f = open(file, 'r') content = f.read() if re.search(pattern, content): return re.search(pattern, content) else: return '' resul...
[ "juris@zzdats.lv" ]
juris@zzdats.lv
472b9cd073509ff8995e618a730891fe6e41963e
b0c9b7239428a45fd44a26b44673ea0d6d77cd12
/flexibite_com_advance/models/table_reservation.py
21e32906217d7fd4cff5e2dc49ab9059c8c4f17d
[]
no_license
hcalvofernandez/VMP
f13bf948feca41f86b399b9da8949af63a088a1e
701eac3b441237b0c0aa7574c5295ddca37d620a
refs/heads/master
2023-06-24T11:21:33.729025
2020-10-25T04:02:32
2020-10-25T04:02:32
307,545,984
0
3
null
null
null
null
UTF-8
Python
false
false
3,248
py
# -*- coding: utf-8 -*- ################################################################################# # Author : Acespritech Solutions Pvt. Ltd. (<www.acespritech.com>) # Copyright(c): 2012-Present Acespritech Solutions Pvt. Ltd. # All Rights Reserved. # # This program is copyright property of the author menti...
[ "edgardoficial.yo@gmail.com" ]
edgardoficial.yo@gmail.com
5a28cf30120ab131a801188f13121ce9e054b8a9
d0b6cfc7b5a1c0b02f6efcf322009129f43a1d16
/experiment_01.py
9e0361d6d096281ed71da3f54fd91029b9b4523c
[]
no_license
boncheul92nd/compareTF
289c1245baef291267c9d06bd90efb8e5e71c3e6
b8524168f67700168685c02f1ab15fea713f57b2
refs/heads/master
2022-03-27T21:03:15.526582
2019-12-13T07:25:16
2019-12-13T07:25:16
209,686,405
0
0
null
null
null
null
UTF-8
Python
false
false
1,592
py
import os import librosa import librosa.display import numpy as np from libs.time_freq_transform import PreProcessor from scipy.spatial.distance import euclidean def main(): dist_list = [] wav_path = 'res/X-PROJECT/' high_definition = PreProcessor( srate=16000, fft_size=2048, fft_ho...
[ "boncheul92nd@naver.com" ]
boncheul92nd@naver.com
2e88341a1c2691fbab2721581e5263645612b4bd
ab2c144d510547f5a77937e07aef24a1b2b521cc
/server/alembic/versions/a204ed7503be_add_dataset_multi_column_index.py
2a2d30366b057fa5178737e130ccf03d13ac03df
[ "MIT" ]
permissive
dbcls/umakaviewer
b9ca43df5a86d6d50ef2a636b6e7b692b0dc7b6e
b32e923883d030f43c22d5d7a03411a45c383963
refs/heads/main
2023-08-21T13:05:35.913311
2022-12-05T03:19:41
2022-12-05T03:19:41
314,558,114
1
4
MIT
2023-03-16T23:45:50
2020-11-20T13:12:42
TypeScript
UTF-8
Python
false
false
1,591
py
"""Add DataSet multi column index Revision ID: a204ed7503be Revises: 39acfd4597da Create Date: 2019-08-05 16:18:40.191399 """ from alembic import op import sqlalchemy as sa # revision identifiers, used by Alembic. revision = 'a204ed7503be' down_revision = '39acfd4597da' branch_labels = None depends_on = None def ...
[ "ripry258@gmail.com" ]
ripry258@gmail.com
e21891fa297ee7c4ca8a4e8d84c6160a9d883849
84c5ce2f75ec8d4d9704dc993682ba52745a3e12
/m_layer/m_layer.py
d1b535b8a4da916f3951a00e1000943a97f0ea0c
[ "CC-BY-4.0", "Apache-2.0" ]
permissive
yang-song/google-research
d0610748ae8056cfa2f89345053b386e976a1b82
34119b64214af089db8c675e6a03b30a0f608f66
refs/heads/master
2022-12-16T06:05:40.561237
2020-09-17T20:39:13
2020-09-17T20:42:11
296,450,555
1
0
Apache-2.0
2020-09-17T21:55:10
2020-09-17T21:55:09
null
UTF-8
Python
false
false
3,595
py
# coding=utf-8 # Copyright 2020 The Google Research Authors. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicab...
[ "copybara-worker@google.com" ]
copybara-worker@google.com
5311c7de6d4c19bc5c23b7024f94490d6e4da152
648f742d6db2ea4e97b83c99b6fc49abd59e9667
/common/vault/oas/models/global_parameters_create_global_parameter_request.py
13908154762177b2ca58227508b96bd210f59d49
[]
no_license
jmiller-tm/replit
c56ce63718f6eb2d9b53bd09d3f7b3ef3496cb86
c8e6af3268c4ef8da66516154850919ea79055dc
refs/heads/main
2023-08-30T00:49:35.738089
2021-11-16T23:09:08
2021-11-16T23:09:08
428,809,777
0
0
null
null
null
null
UTF-8
Python
false
false
6,259
py
# coding: utf-8 """ vault/kernel/core_api/proto/v1/accounts/core_api_account_schedule_tags.proto No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 OpenAPI spec version: version not set Generated by: https://github.com/swagger-api/...
[ "jmiller@jmiller-tm00769-mbp.nomad.thomac.net" ]
jmiller@jmiller-tm00769-mbp.nomad.thomac.net
97aebf3b47faddfcc092a582e6a9526bbb23a0e1
211c2dcf69b8f82ff202851913255fd692228675
/src/network_mv2_hourglass.py
9e4034bcd1026ad6e3584484c6abbf13573a602d
[]
no_license
FrankYoungchen/CPM
ef92336abc09a144db380e5d1c2c12411cb26f35
5a597cf4d1a06d1fa3dddcdb46c65817cc1dd890
refs/heads/master
2020-05-02T01:53:30.778053
2019-03-28T03:08:04
2019-03-28T03:08:04
177,693,769
4
0
null
null
null
null
UTF-8
Python
false
false
3,630
py
import tensorflow as tf import tensorflow.contrib.slim as slim from network_base import max_pool, upsample, inverted_bottleneck, separable_conv, convb, is_trainable N_KPOINTS = 14 STAGE_NUM = 4 out_channel_ratio = lambda d: int(d * 1.0) up_channel_ratio = lambda d: int(d * 1.0) l2s = [] def hourglass_module(inp, ...
[ "chenyukunin1906@163.com" ]
chenyukunin1906@163.com
f326d396098af535a466262caabde1b751d25673
e8fef7552fb0c354d1084d2b4e7bf16efb7b9021
/tests/__init__.py
de4f4ac5908f313553e18bad2d117aacd1fda75c
[ "MIT" ]
permissive
TristanTTran/feets
180ea67030c88b9eebb77923fe1af6746f654b30
48b16a5f2b95c0a4c05b47a88b396250faf168d6
refs/heads/master
2023-03-28T01:07:48.636265
2021-03-26T01:28:36
2021-03-26T01:28:36
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,350
py
#!/usr/bin/env python # -*- coding: utf-8 -*- # The MIT License (MIT) # Copyright (c) 2017 Juan Cabral # Permission is hereby granted, free of charge, to any person obtaining a copy # of this software and associated documentation files (the "Software"), to deal # in the Software without restriction, including withou...
[ "jbc.develop@gmail.com" ]
jbc.develop@gmail.com
3faf5a6a6829da2954c6bca9a85fe86c73e5a2c2
286fcdb146513f9ebc6d440fb6393c7925c0c491
/CSP_Sem1/TURTLE/Testing Files/first_turtle.py
51b16a8129ea7cc275e860e4f2fc0d042254e7da
[]
no_license
LoganHentschel/csp_python
86dc0b305ef44e3e081b6b05e41d96567f5c9bf7
ed408e90a4fec9e4818a365c9e57e7a09ba697e0
refs/heads/master
2020-12-06T07:45:05.573690
2020-04-07T04:34:25
2020-04-07T04:34:25
232,395,261
0
0
null
null
null
null
UTF-8
Python
false
false
165
py
import turtle ##################### turt = turtle.Turtle() # turt.left(90) turt.forward(100) turt.shape('turtle') ### screen = turtle.Screen() screen.mainloop() ###
[ "hentscht@student.psdr3.org" ]
hentscht@student.psdr3.org
124c566b11061583dd8deb7c339c1629fd4a5c2d
a6894d17fdbceb56d4364f0e279d03b16a181396
/working-env/lib/python2.5/TurboGears-1.0.2.2-py2.5.egg/turbogears/i18n/data/fr.py
b6840bd42c607e4582867cded964637bda4f6444
[]
no_license
thraxil/gtreed
c1c5a19178c1f50ff5e61887b13ff7b004da1d25
ca228848364edb204b15a7411fd6192379781c78
refs/heads/master
2020-04-18T03:02:15.468044
2008-12-10T20:02:12
2008-12-10T20:02:12
88,388
1
0
null
null
null
null
UTF-8
Python
false
false
9,518
py
# Formatting configuration for locale fr languages={'gv': 'manx', 'gu': 'goudjrati', 'gd': u'ga\xe9lique \xe9cossais', 'ga': 'irlandais', 'gn': 'guarani', 'gl': 'galicien', 'lg': 'ganda', 'lb': 'luxembourgeois', 'la': 'latin', 'ln': 'lingala', 'lo': 'lao', 'tt': 'tatare', 'tr': 'turc', 'ts': 'tsonga', 'li': 'limbourge...
[ "anders@columbia.edu" ]
anders@columbia.edu
b5d0cbc15786c16668a697187e846da803dffaa5
a461513e330f547b16f57daa2c95b8e13ef6b6ff
/apps/utils/email_send.py
e6e9e41467639fe34457e7115a5ae19aeca706c3
[]
no_license
jxypython/guetonline
5de8373208d993a9f80d3e850e4197001b3862e5
80ae18cc446f718bcadafae7ecf244110d412c5c
refs/heads/master
2021-01-24T01:59:31.555231
2018-02-25T12:22:08
2018-02-25T12:22:08
122,830,849
0
0
null
null
null
null
UTF-8
Python
false
false
1,502
py
# _*_ encoding:utf-8 _*_ __author__ = 'jiangxiaoyan' __data__ = ' 15:05' from users.models import EmailVerifyRecord from random import Random from django.core.mail import send_mail from guetonline.settings import EMAIL_FROM def random_str(randomlength=8): str = '' chars = 'AaBbCcDdEeFeGgHhIiJjKkMmNnOoPpQqRrSs...
[ "31694330+jxypython@users.noreply.github.com" ]
31694330+jxypython@users.noreply.github.com
86cf6cf2c635a1fb3cadc1d87d5adc8f74b20a96
0696d4a27f64ebf47e4a65b3efe627d97dd85373
/Flow_Assignment-2.py
a72a91997c55dc939c98daee848091b96cd574a4
[]
no_license
aiman92cs/Computer-Networking-Internet-Technology
172667331ff8c4b29cd5d2200124889fdd6212ad
83855bc91cd6b3793a167288c6a6a310f889f8db
refs/heads/master
2020-06-26T08:02:45.765283
2019-07-30T06:10:14
2019-07-30T06:10:14
199,579,006
0
0
null
null
null
null
UTF-8
Python
false
false
8,163
py
""" COSC364 Flow Planning WRITTEN BY: Aiman Hazashah Ariel Evangelista - aev35 """ # ============================== # IMPORTS import os import time # GLOBAL VARIABLE(s) filename = 'flow.lp' # file to be created cplex_path = "cplex" # cplex path # ============================== def get_input(): ...
[ "noreply@github.com" ]
noreply@github.com
ce1489c8705a7d24c4d83a893c9ac48fb6a4bafa
aa7ae24a2e477497e39f8f8ab2909d84634ad6f9
/huevos aragon.py
fdc62fbb8701a1040c2a264f6c5bd97ce6caa5a0
[]
no_license
nhomar/actions_server
cedf1941c54bb71607c43f577fe0a4bec4d7037e
fd4eccf1f81b9f705fc40345b49d54da265251e5
refs/heads/master
2020-12-25T12:27:41.653581
2019-01-31T08:33:24
2019-01-31T08:33:24
50,902,562
3
10
null
2017-05-05T12:29:59
2016-02-02T07:28:53
Python
UTF-8
Python
false
false
963
py
if object.type =='out_invoice': sol_obj = self.pool['sale.order.line'] for ail in object.invoice_line: domain = [('invoice_lines','=', ail.id)] sol_ids = sol_obj.search(cr, uid, domain, limit=1, context=context) if sol_ids: sol = sol_obj.browse(cr, uid, sol_ids[0], context=co...
[ "sve@openerp.com" ]
sve@openerp.com
2c9c92852f66ce80a379d9a300e3fdffe8422685
5fd2cb72d08454cd5efd4bac12233b701454d01e
/src/Python/Stage_1/segment.py
67e913f98aaba4ccb2bd8028c0ca964a95a809a9
[ "MIT" ]
permissive
gkdas2/vtol_sizing
331e7831fdd5b4d71dd42df77b60ae968761d12f
3f754e1bd3cebdb5b5c68c8a2d84c47be1df2f02
refs/heads/master
2023-06-03T21:40:17.831807
2019-02-09T07:03:26
2019-02-09T07:03:26
null
0
0
null
null
null
null
UTF-8
Python
false
false
10,718
py
#==================================================================== # Routine to iterate multiple designs # Accommodates changes in AR, nblade, tip speed etc. #==================================================================== #==================================================================== # Access fortran...
[ "ananth.sridharan@airbus-sv.com" ]
ananth.sridharan@airbus-sv.com
7c62a2edf1e8806f334cf02ac667ebbb23b0f4f1
79ab8d3b618e9012eafa086f3ff7cfefeb6860d6
/2443.py
bb0e520517d02b8f5b24a784bbaefaf1e2f8bc0a
[]
no_license
jaewon1676/beakjoon_python
7dc3ea6c8f13128622aaed5e21e6953144b40417
abd899e65bffd8174485e12601535a86b4d31c20
refs/heads/main
2023-07-19T16:51:40.913033
2021-09-06T14:58:55
2021-09-06T14:58:55
351,048,993
1
0
null
null
null
null
UTF-8
Python
false
false
102
py
# 별 찍기 - 6 n = int(input()) for i in range(n, 0,-1): s = print(' ' * (n - i)+'*'* (i*2-1))
[ "jaewon1676@daum.net" ]
jaewon1676@daum.net
27b7bea7760d2aae277db6002c3ca2da3c455373
b8842700c2e071408bfab20bd499c6a4a47d0ccc
/week8/longest_subseq.py
235e90d05bcab9175a7c4d4306fc0cd8ada18942
[]
no_license
kobso1245/Algorithms
c74439b662d32b116b8ea3c7e6958b77d1a85bf5
1566a3b5e636f6a83f486382f17bff640da923a4
refs/heads/master
2016-08-10T10:11:14.314792
2015-10-05T21:36:45
2015-10-05T21:36:45
36,860,975
0
0
null
null
null
null
UTF-8
Python
false
false
897
py
def longest_subs(elems): table = [(0, "") for x in range(len(elems))] max_elem = elems[0] curr_max_elem = 0 max_length = 0 max_pos = len(elems) for i in range(len(elems) - 1, -1, -1): curr_max_elem = 0 curr_max_index = i for j in range(i + 1, len(elems)): if e...
[ "kalo.evt@mail.bg" ]
kalo.evt@mail.bg
0652bc2fd160fac2c7eef649b456303eafb0b348
78960e5497bc8760dd2e05941d581b6485e40c1d
/23082019/000000.py
f7bd6cf9f19e990656c6f4eb8209485f08164e65
[]
no_license
VicenteCV/MCOC-Intensivo-de-nivelacion
f3119f3980404aa1ff16bddd6f8a68efbf46adea
2604cb043f3d2aab9ee3f07b19b9fab42458f64f
refs/heads/master
2020-07-04T22:19:30.243070
2019-08-30T17:11:51
2019-08-30T17:11:51
202,438,206
0
1
null
null
null
null
UTF-8
Python
false
false
27
py
#5ta entrega #Ciclos while
[ "noreply@github.com" ]
noreply@github.com
2e1668cb1d0e2c6510da7192d37983ad1202bccc
8ae48dcf5d4b64583ed40370bb5c2271edeeef89
/EAM_alloy.py
b8c66d611e8db48feccc37e6b08b09f387bc51d4
[]
no_license
1mingfei/pairwise_int_for_Ag-ZnO
2a6dea79848f5582dced8bd7295dd88c366ae339
44c5b275e169190fd6bd4c13b7e1ac5162407c2e
refs/heads/master
2021-09-15T07:35:15.988964
2018-05-28T17:05:13
2018-05-28T17:05:13
113,227,752
0
0
null
null
null
null
UTF-8
Python
false
false
2,366
py
#!/usr/bin/python import numpy as np import matplotlib.pyplot as plt np.set_printoptions(precision=24) def get_setfl(): with open('AgO_hand.eam.alloy','r') as fin: mylines=fin.readlines() Nrho=mylines[4].split()[0] drho=mylines[4].split()[1] Nr =mylines[4].split()[2] dr =mylines[4].split()...
[ "mingfei@umich.edu" ]
mingfei@umich.edu
09959fbc007813a97153e55b336706d844a29ad6
9e0090384cdfd194188587897208f17ed031780b
/05-django-template/pjt05/manage.py
b159b3a3fdc4cf92d6370142cf28cc973586ee6c
[]
no_license
auscanaoy/flask-django-practice
ec1d5dec0d34e3d0100f4107d577bc8061988813
4eef9a3d0371deec9c860949f789f4d60866078a
refs/heads/master
2023-04-03T09:31:04.002674
2021-04-10T05:15:32
2021-04-10T05:15:32
null
0
0
null
null
null
null
UTF-8
Python
false
false
537
py
#!/usr/bin/env python import os import sys if __name__ == '__main__': os.environ.setdefault('DJANGO_SETTINGS_MODULE', 'pjt05.settings') try: from django.core.management import execute_from_command_line except ImportError as exc: raise ImportError( "Couldn't import Django. Are yo...
[ "ejisvip@gmail.com" ]
ejisvip@gmail.com
41783f6cd99c7b929bf77c9029ac35890c0097a7
1bed2f766620acf085ed2d7fd3e354a3482b8960
/script/hassfest/translations.py
9c4f75f1b2d264f2ca51ebbe306546e2a3b05dba
[ "Apache-2.0" ]
permissive
elupus/home-assistant
5cbb79a2f25a2938a69f3988534486c269b77643
564150169bfc69efdfeda25a99d803441f3a4b10
refs/heads/dev
2023-08-28T16:36:04.304864
2022-09-16T06:35:12
2022-09-16T06:35:12
114,460,522
2
2
Apache-2.0
2023-02-22T06:14:54
2017-12-16T12:50:55
Python
UTF-8
Python
false
false
14,840
py
"""Validate integration translation files.""" from __future__ import annotations from functools import partial from itertools import chain import json import re import voluptuous as vol from voluptuous.humanize import humanize_error import homeassistant.helpers.config_validation as cv from homeassistant.util import ...
[ "noreply@github.com" ]
noreply@github.com
12f159b5cb51056d3aa2a0c1960d1e41b4d15d73
321b4ed83b6874eeb512027eaa0b17b0daf3c289
/73/73.set-matrix-zeroes.661615342.Accepted.leetcode.python3.py
e41b638e253235c385e74103532f377b5bc54df6
[]
no_license
huangyingw/submissions
7a610613bdb03f1223cdec5f6ccc4391149ca618
bfac1238ecef8b03e54842b852f6fec111abedfa
refs/heads/master
2023-07-25T09:56:46.814504
2023-07-16T07:38:36
2023-07-16T07:38:36
143,352,065
0
1
null
null
null
null
UTF-8
Python
false
false
652
py
class Solution: def setZeroes(self, matrix): if not matrix or not matrix[0]: return h = len(matrix) w = len(matrix[0]) rows_to_remove = set() cols_to_remove = set() for i in range(h): if i not in rows_to_remove: for j in range(w...
[ "huangyingw@gmail.com" ]
huangyingw@gmail.com
cf62b222d79fef07ac249a28f315c40fe7cc7a9b
18c1f8b96ce78659e201c7fc3ff282d7c9eee0e3
/Web Scrapping/myprojectscrapy/myprojectscrapy/middlewares.py
08e4404a4d3102b261efbec9095421c1c5d48811
[]
no_license
par1hsharma/Machine-Learning
31867358f130b7f499e0b77ce06310a40cb0d7b6
ad71aaa64796e95f013ffe442144226d6945dfce
refs/heads/master
2023-08-18T11:00:56.394325
2021-09-23T05:43:55
2021-09-23T05:43:55
409,460,408
0
0
null
null
null
null
UTF-8
Python
false
false
3,666
py
# Define here the models for your spider middleware # # See documentation in: # https://docs.scrapy.org/en/latest/topics/spider-middleware.html from scrapy import signals # useful for handling different item types with a single interface from itemadapter import is_item, ItemAdapter class MyprojectscrapySpiderMiddle...
[ "parthsharma@Parths-MacBook-Air.local" ]
parthsharma@Parths-MacBook-Air.local
65e01bb9ea95445f0fbc344d59c8cffc72df0c29
a399a9024d502e3e23b78196b9d40afc25b30100
/blog_api/tests.py
ebbab2b3dc161292a3633621b44dc93441ee3cf6
[]
no_license
nivaskambhampati1998/Guide-Me
ef47d4fdb7614721b05311bda916e7eb702ba58a
d029b680f1a08a45ccddfc02c23f6e4b154814ca
refs/heads/master
2023-04-20T06:14:11.328235
2021-05-13T06:56:38
2021-05-13T06:56:38
343,045,833
0
0
null
null
null
null
UTF-8
Python
false
false
4,343
py
from django.urls import reverse, resolve from rest_framework.test import APITestCase from blog_api.views import PostList, PostDetail from accounts.models import User from blog.models import Post, Review class TestBlogUrls(APITestCase): def test_detail_create_url(self): url = reverse('blog_api:detail_crea...
[ "nivaskambhampati1998@gmail.com" ]
nivaskambhampati1998@gmail.com
a12ae7434248678b0933dd985c885b1b1305ba8d
c6a4dbd156bc3fe58f2160e59bfb3dba7c89d8db
/recsim_ng/applications/recsys_partially_observable_rl/corpus.py
b27609e1b7456627ee552f54b5390a7e4a3b53fc
[ "Apache-2.0" ]
permissive
TrendingTechnology/recsim_ng
4c72721cbd5948e9ef98441c75e444ecae9b8f12
30ac398c788a924b8f1677030cb1421cef60ec03
refs/heads/master
2023-03-14T17:45:59.840931
2021-03-17T22:51:25
2021-03-18T00:37:18
null
0
0
null
null
null
null
UTF-8
Python
false
false
4,719
py
# coding=utf-8 # Copyright 2021 The RecSim Authors. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or...
[ "cwhsu@google.com" ]
cwhsu@google.com
98786ab74f227844128d806071b7d54da62ff021
756bbf5d4d26b42ea7bcad0f00b11c4cbc1f76ff
/rnnfile.py
e711af23a618afc0edf9304b530b6eb1a8652404
[]
no_license
Sukhdeep99/Remote-Sensing-Image-Classification-Tool
3451bd9a80608aef5af8345807ac920a9e54629a
54c192a20d04d4effa7a06c87966e696098936b6
refs/heads/master
2020-06-28T00:37:41.213313
2019-08-01T17:57:58
2019-08-01T17:57:58
200,094,819
0
1
null
null
null
null
UTF-8
Python
false
false
18,049
py
from __future__ import absolute_import from __future__ import division from __future__ import print_function from tkinter import * from tkinter import ttk,StringVar,IntVar from tkinter import filedialog from PIL import ImageTk, Image from osgeo import gdal from tkinter import messagebox import tkinter.messagebox import...
[ "noreply@github.com" ]
noreply@github.com
c9531c718974feb559bfdd0cdbde31e32a12d72a
597f9fdfdc0bf01ded7669107a8a506f90d4c9f4
/problems/128_最长连续序列.py
a5be0382e1340875bb60f117a007dd7b473c9146
[]
no_license
coolboygym/leetcode-python
ed315ceb2a63d3253d60d67bfafc0d0f27732db8
88dd2146a963b25cc5d95384e12305e25578e621
refs/heads/master
2020-04-29T03:17:08.957360
2019-05-19T16:23:30
2019-05-19T16:23:30
175,803,045
8
3
null
null
null
null
UTF-8
Python
false
false
837
py
class Solution(object): def longestConsecutive(self, nums): """ :type nums: List[int] :rtype: int """ # 参考:https://leetcode-cn.com/problems/longest-consecutive-sequence/comments/13385 # O(n)复杂度优先考虑哈希表 想清楚key和value分别是什么 hash_dict = dict() max_length = ...
[ "gym2015@qq.com" ]
gym2015@qq.com
33130204f362dd7b187f2f589caaaff1f6d199b6
70fb0e9b887acab225bc92b7fa1135ba30372119
/Week_03/二叉树的最小深度.py
fbaf03fa4187fdf8e609ea05c3e075c9a4b11126
[]
no_license
suzySun345/algorithm011-class02
c328cda83aa4dab8463e3f8272c3b9422c5c64ea
e3459890c45f0fd7484949a11c3e160fe295241a
refs/heads/master
2022-12-08T11:47:27.430362
2020-08-31T09:02:34
2020-08-31T09:02:34
273,911,169
0
0
null
2020-06-21T13:36:13
2020-06-21T13:36:13
null
UTF-8
Python
false
false
374
py
class Solution(object): def minDepth(self, root): """ :type root: TreeNode :rtype: int """ if root == None: return 0 left_depth = self.minDepth(root.left) right_depth = self.minDepth(root.right) s = min(left_depth,right_depth) l = ...
[ "sunsunsisiyu@126.com" ]
sunsunsisiyu@126.com
43add8284ecda6e54188db15b7f2e99e9e457a49
3ae2f7a51a50c79f24045564907865cbfb176f4d
/JacquardPro/PLineView.py
99dca3c3dabcec24b6f92d214379e8b477b9ecf3
[]
no_license
daisunqian/clothestest
d401744252ce698593481e7254eb2c53d2d1a180
9cc8ed6ffe7610d35a181381d1fa6d987ec43002
refs/heads/master
2021-07-15T07:06:28.563146
2019-05-24T01:32:55
2019-05-24T01:32:55
188,331,136
0
1
null
2020-07-22T05:28:12
2019-05-24T01:27:02
Python
UTF-8
Python
false
false
4,294
py
# -*- coding=utf-8 -*- from ut import PLineui from PyQt4.QtGui import QPainter, QApplication, QColor,QWidget from PyQt4.QtCore import pyqtSignal from PyQt4.QtCore import Qt,QRect class PLWidget(QWidget): changedlinevalue = pyqtSignal() def __init__(self, value, parent=None): super(PLWidget, self)._...
[ "654251408@qq.com" ]
654251408@qq.com
1dd098ba87d2cc93834c8b838a5ba883e717db54
d71feb7711aaf850d1a0938755f7df894904fa83
/mailschedule.py
6b222d0fb7d6695dc43a5dd63cdd27971dc6532e
[]
no_license
AGobika/Action_Class
7da28ed6741ca69dced12bcf628442f077911575
b840e08a9f149df2b3886fead08492dc2cbcbf06
refs/heads/master
2023-07-14T09:13:15.356838
2021-08-24T05:38:48
2021-08-24T05:38:48
399,347,833
0
0
null
null
null
null
UTF-8
Python
false
false
390
py
from subprocess import call import os import schedule import time def gmail(): call(['C:/Users/gobika/AppData/Local/Programs/Python/Python39/python.exe', '-m', 'robot', 'C:/Users/gobika/PycharmProjects/Chess/TestCase/mail.robot']) schedule.every(5).seconds.do(gmail) # schedule.every(5).hours.do(gmail)...
[ "gobika.a@terralogic.com" ]
gobika.a@terralogic.com
b0a956e4699024f239848cc1dc6433a96452883c
8aa762d4fde241a8462a0e6840922b60599a018a
/flask_api/app.py
a669a7cf22eb3978c1be65190b4c5270e55ad377
[]
no_license
SidNimbalkar/Predict-book-genre-from-cover
ebfb1039feaab80c5abd8ff4255f08f816449813
f9c84c60e3f3e8c3267049a935f9433f5ad7ebd8
refs/heads/master
2022-04-22T03:28:30.978247
2020-04-26T23:17:13
2020-04-26T23:17:13
259,152,687
2
0
null
null
null
null
UTF-8
Python
false
false
751
py
from flask import Flask import werkzeug import keras.models import numpy import scipy.misc app = flask.Flask(__name__) @app.route('/predict', methods = ['GET', 'POST']) def handle_request(): imagefile = flask.request.files['image'] filename = werkzeug.utils.secure_filename(imagefile.filename) print("\nRec...
[ "noreply@github.com" ]
noreply@github.com
b74c18b3534dbc36ce394382938284999d1612c4
d9f774cd9b42b1e17625bcb028a3ec821f4cb914
/week1/utils.py
637c7e59a2bcba872b5722ae7f11ae0c3407e991
[]
no_license
AdriBesson/Statistical_learning_course
c1f2adb4aae78d4cfcc2f2d11d560713696016cf
31675cf88294a1cf3c635a254d849a794f5e4ac5
refs/heads/develop
2021-09-03T00:47:00.053621
2018-01-04T09:55:32
2018-01-04T09:55:32
104,462,446
2
1
null
2017-11-17T08:25:52
2017-09-22T10:27:23
Jupyter Notebook
UTF-8
Python
false
false
1,531
py
import numpy as np def compute_my_ls_estimate(x, y): # Compute X'X cov_mat = np.matmul(np.transpose(x), x) # Compute ((X'X)^-1)*X' if isinstance(cov_mat, np.float): inv_cov_mat = 1.0/cov_mat ls_matrix = inv_cov_mat*np.transpose(x) else: inv_cov_mat = np.linalg.inv(cov_mat) ...
[ "adrien.besson@epfl.ch" ]
adrien.besson@epfl.ch
8cab479aead0b05b07915bd2b9ec453d151bf9d4
9743d5fd24822f79c156ad112229e25adb9ed6f6
/xai/brain/wordbase/otherforms/_capsules.py
32a574bf1d186e135bc230087ec65675e0aa1fde
[ "MIT" ]
permissive
cash2one/xai
de7adad1758f50dd6786bf0111e71a903f039b64
e76f12c9f4dcf3ac1c7c08b0cc8844c0b0a104b6
refs/heads/master
2021-01-19T12:33:54.964379
2017-01-28T02:00:50
2017-01-28T02:00:50
null
0
0
null
null
null
null
UTF-8
Python
false
false
226
py
#calss header class _CAPSULES(): def __init__(self,): self.name = "CAPSULES" self.definitions = capsule self.parents = [] self.childen = [] self.properties = [] self.jsondata = {} self.basic = ['capsule']
[ "xingwang1991@gmail.com" ]
xingwang1991@gmail.com
200c75fdff4fa1317c02a08f43dc506d3c02c506
de24f83a5e3768a2638ebcf13cbe717e75740168
/moodledata/vpl_data/330/usersdata/302/93449/submittedfiles/lista1.py
3c901a262a68d819c6cfc03bf35fedd1961bb928
[]
no_license
rafaelperazzo/programacao-web
95643423a35c44613b0f64bed05bd34780fe2436
170dd5440afb9ee68a973f3de13a99aa4c735d79
refs/heads/master
2021-01-12T14:06:25.773146
2017-12-22T16:05:45
2017-12-22T16:05:45
69,566,344
0
0
null
null
null
null
UTF-8
Python
false
false
171
py
# -*- coding: utf-8 -*- n = int(input('DIgite a quantidade de valores da matriz: ')) a = [] for i in range(0,n,1): a.append(float(input('Digite a%d:' %(i+1))))
[ "rafael.mota@ufca.edu.br" ]
rafael.mota@ufca.edu.br
089219df0c11e00afe410ebde7f5b60be9238499
6092d481d042ae9383454f29567be7f4d0847fd9
/3vm-demo/trex/v2.35/automation/trex_control_plane/stl/services/scapy_server/unit_tests/test_scapy_service.py
656290ea4cf17de109b14e8edda3e1886df38910
[]
no_license
ilsffun19/ovs-dpdk
02971cc31190eb70264499dbdd3fb20cb3fd1b8f
d760f1fd8f76513caa665a6dbec65ce1f0c1ecc7
refs/heads/master
2020-04-03T17:54:27.838112
2020-03-30T19:20:37
2020-03-30T19:20:37
155,463,472
2
2
null
null
null
null
UTF-8
Python
false
false
15,122
py
# # run with 'nosetests' utility import tempfile import re from basetest import * RE_MAC = "^([0-9A-Fa-f]{2}:){5}([0-9A-Fa-f]{2})$" ether_chksum_sz = 4 # this chksum will be added automatically(outside of scapy/packet editor) TEST_MAC_1 = "10:10:10:10:10:10" # Test scapy structure TEST_PKT = Ether(dst=TEST_MAC_1)/IP...
[ "irene.liew@intel.com" ]
irene.liew@intel.com
b43371ed5b350666c780f23524655c92cfef2f34
7c7236aa95ebebe241f04b98d55f3033b19dadc2
/cms/venv/Scripts/pip3.6-script.py
c9130b7fc695e3c6029ee434982930129888e925
[]
no_license
taisuo/cms
57d792bb47d85bf6a4a39558a1bc34457a355c26
dd8baa834d6426a2ce7406ea0b74eab252ef7789
refs/heads/master
2020-08-03T13:49:44.754754
2019-10-08T04:00:21
2019-10-08T04:00:21
211,765,786
0
0
null
null
null
null
UTF-8
Python
false
false
400
py
#!G:\pythonwork\server\cms\venv\Scripts\python.exe # EASY-INSTALL-ENTRY-SCRIPT: 'pip==9.0.1','console_scripts','pip3.6' __requires__ = 'pip==9.0.1' import re import sys from pkg_resources import load_entry_point if __name__ == '__main__': sys.argv[0] = re.sub(r'(-script\.pyw?|\.exe)?$', '', sys.argv[0]) sys.ex...
[ "3148378928@qq.com" ]
3148378928@qq.com
28bf353840c0525c02bc197bea4bf7091890505e
1453f515b4c3aaacef3816d8eda4b96322efa382
/Assignment-3/RF.py
7398a686e512292d17330c9faec2c3e8edd65ff6
[]
no_license
manojis/Data_Analytics
f062867526eefcc093d10ba565e904561b75b332
d06da58c87119342a61d0f5bcab76c908b9755c8
refs/heads/master
2020-03-27T06:55:41.865701
2020-03-22T09:16:28
2020-03-22T09:16:28
146,147,529
0
0
null
null
null
null
UTF-8
Python
false
false
3,520
py
""" @author Manoj.Mohanan Nair @Date 03/14/20 @Description: Dimensionality Reduction with PCA technique @Reference: https://github.com/JonathanTay/CS-7641-assignment-3 which was used as a reference in creating my own code. """ import pandas as pd import numpy as np from sklearn.preproce...
[ "manojm_nair@outlook.com" ]
manojm_nair@outlook.com
34307cffb1dbe1d4624d546cc3c769cddd19f8a4
6f6ee47f87d94f48c55092a9edade1f896ccec63
/tf_kmeans.py
b2d069c7725be5c2e87ccae566adcce43ee2d480
[]
no_license
neb330/BlackHoles
f91639b5030b58a64854663f65c93d1763ba5a56
e48b3abf3f7b22bd7b5cb950d038dd623aa0afc5
refs/heads/master
2021-01-13T10:02:29.376187
2016-12-20T03:50:09
2016-12-20T03:50:09
72,152,752
0
2
null
2016-11-30T02:50:18
2016-10-27T22:19:36
Jupyter Notebook
UTF-8
Python
false
false
4,611
py
import os import numpy as np import astropy.io.fits as fits import matplotlib.pyplot as plt from sklearn.cluster import KMeans import argparse import csv import tensorflow as tf parser = argparse.ArgumentParser() parser.add_argument("--sub_ts", default=128, type=int, help="Length of sub-time series intervals.") pars...
[ "neb330@nyu.edu" ]
neb330@nyu.edu
73450c3296e8034de7cb80a6193f3d45d296b9e8
dad081459d204349db0852f8e55a366b36b52b37
/venv/bin/wheel
414fdf58787336146cca47c1e5cb93c84f62d631
[]
no_license
DennisMufasa/FirstFlaskApps
78241f4be6145132bb6b03e692fc4d9d62b83687
b5098718c1824077a6390a7dcfd924ad728d607a
refs/heads/master
2020-03-17T17:19:04.375419
2018-05-17T08:34:00
2018-05-17T08:34:00
133,783,613
0
0
null
null
null
null
UTF-8
Python
false
false
255
#!/home/mufasa/PycharmProjects/practiseII/venv/bin/python3.5 # -*- coding: utf-8 -*- import re import sys from wheel.tool import main if __name__ == '__main__': sys.argv[0] = re.sub(r'(-script\.pyw?|\.exe)?$', '', sys.argv[0]) sys.exit(main())
[ "denny.muasa@gmail.com" ]
denny.muasa@gmail.com
881cf41b0fc345c9daa12685153d327de017fb1e
7f61bbf31ebc17042572214acf864d6fb100729c
/data_sets/cifar10_data_set.py
c6d70e91bfc023a43e3603b538caad0d9f23ae51
[]
no_license
lj-sandjakoska/weight-initialization-relu-and-output-layers
daeb79e83b8d5c8266a55596a30334df08962884
cd97909f0e50d30b453fab5abac537117ddcad3e
refs/heads/master
2021-01-04T03:04:46.929090
2019-05-30T17:14:03
2019-05-30T17:14:03
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,061
py
import keras from keras.datasets import cifar10 import random class CIFAR10: num_classes = 10 image_width = 32 image_height = 32 image_channels = 3 num_training_examples = 50000 num_testing_examples = 10000 @staticmethod def get_data_set(): (x_train, y_train), (x_test, y_test...
[ "noreply@github.com" ]
noreply@github.com
200a33039455d9e0e2c6a52933958d9b0aba05fc
14cf909e569bbbe7a7211f62e093b5bc115ca7cf
/pgdump.py
1765479c7f17954a14a03a25f8e54c1dcf7121e9
[]
no_license
shishirkhandelwalgithub/python-script
ac31ad2e15420dad82d07e33dec4958ea11feac1
f5ee6f7d335875b5781caeb59e5cb620ced984e9
refs/heads/master
2021-07-17T13:18:08.687259
2020-03-13T07:02:14
2020-03-13T07:02:14
246,752,068
0
0
null
2021-04-20T19:30:07
2020-03-12T05:34:41
Python
UTF-8
Python
false
false
100
py
import subprocess def dump(url): return subprocess.Popen(['pg_dump',url],stdout=subprocess.PIPE)
[ "shishir.khandelwal@sourcefuse.com" ]
shishir.khandelwal@sourcefuse.com
cd4d6063ab5add89fd9bab90ce8c601d12978415
021d97bfed7518b812919ff7632859235eabe6dc
/PA4/hmm/tagger.py
3b9408b5c6f39a5c0bb47b0a8152ecafbbc41ebd
[]
no_license
pipixia10086/Machine-learning
a571549e9d6d833f24aa2c7a5bf2a23d4ca732d0
e46c2b3a9a729cb1abbf551b00900d74f827e9a2
refs/heads/master
2020-12-09T13:48:27.742233
2020-01-12T01:58:53
2020-01-12T01:58:53
233,323,092
0
0
null
null
null
null
UTF-8
Python
false
false
2,820
py
import numpy as np from util import accuracy from hmm import HMM from collections import defaultdict def model_training(train_data, tags): vocab = set() for line in train_data: words = line.words for w in words: vocab.add(w) observations = list(vocab) obs_dict = {o: i for i...
[ "yangziyao96@163.com" ]
yangziyao96@163.com
9dec5d997448753349a820e26e2e8551873c65f0
3f00fcea47ea4c49be892a0c9733e5082ca02683
/main.py
9c4d7b0026216b8cfb78b7b148ae1f5272e99b71
[]
no_license
gabrielpsdm/Prova2
f30d5ee9c4d8675945f7e3b7dd54de6db9391abc
6f38ddd78828ffc27cc99f3b9f0598f5dde024ab
refs/heads/master
2022-02-19T21:08:01.953562
2019-05-25T01:44:43
2019-05-25T01:44:43
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,196
py
# RA: 21800179 from flask import Flask, render_template, request from flaskext.mysql import MySQL from bd import * import webbrowser app = Flask(__name__) mysql = MySQL() mysql.init_app(app) app.config['MYSQL_DATABASE_USER'] = 'root' app.config['MYSQL_DATABASE_PASSWORD'] = 'root' app.config['MYSQL_DATABASE_DB'] = ...
[ "gabrielpsdm@hotmail.com" ]
gabrielpsdm@hotmail.com
cab65cd417c465b852461767f2626a224f692881
4fe6c002e8f77050936211feb6096a64b2576cbb
/chemical-warfare/test.py
57e54624f385493745e54bce8a9d2c6805106f8f
[]
no_license
Nexia23/cell-cell_communication
f21b59c6365853d3f7704fd79859b79e24f32359
87423e9fe00fc67dcb52c2a64b003b8ee3a3fb93
refs/heads/master
2021-01-18T10:04:36.838342
2017-03-08T12:55:31
2017-03-08T12:55:31
84,316,844
0
0
null
null
null
null
UTF-8
Python
false
false
433
py
import matplotlib.pyplot as plt import numpy as np # Simple data to display in various forms x = np.linspace(0, 2 * np.pi, 400) y = np.sin(x ** 2) plt.close('all') # Just a figure and one subplot f, ax = plt.subplots() ax.plot(x, y) ax.set_title('Simple plot') # Two subplots, the axes array is 1-d f, axarr = plt.su...
[ "karnetzki.maxim@gmx.de" ]
karnetzki.maxim@gmx.de
9b9262e6b9432df0462796e8acac817f0ee8ad09
96ddcfeb0f053a796be10e98b63ec5a6c2bb5687
/empleados/views.py
e448deb9a33bbe8f35616d1bcf0d93b2daa155dd
[]
no_license
difercamos/prototipo-activos-fijos
afe31e4cd6ddffe376f8a70ea8b75b31eb128e32
9a432660e868f9debbe347277765fb00c1130b19
refs/heads/master
2022-12-11T17:33:34.068706
2017-09-28T22:06:14
2017-09-28T22:06:14
102,613,411
0
0
null
null
null
null
UTF-8
Python
false
false
1,073
py
from rest_framework import viewsets from rest_framework.decorators import detail_route from rest_framework.response import Response from django.contrib.auth.models import User from empleados.models import Cargo, Empleado from activos_fijos.models import ActivoFijo from empleados.serializers import ( CargoSerialize...
[ "dcaicedo@grupoasd.com.co" ]
dcaicedo@grupoasd.com.co
2e684c51b2fd7c806522d30f3ff5b40d6c8c6464
f90f291c3b927372ca2329dfca51332b74a29321
/时间/time.py
0251eaca5f3ce93a8cd9a8de165e87323cc231b4
[]
no_license
Yangxuhao/day22
e1cc7467c60f831622604c6c8289e15d5166db29
93a72c6aa5a6a3dfd8e23d01713dcb4c9a930efa
refs/heads/master
2020-04-27T18:46:37.116890
2019-03-08T18:15:48
2019-03-08T18:15:48
174,586,761
0
0
null
null
null
null
UTF-8
Python
false
false
175
py
import time tick=time.time() print(tick)#19700101到现在的时间 print(time.localtime(tick)) localtime=time.localtime(tick) acttime=time.asctime(localtime) print(acttime)
[ "yxhyangxuhao@163.com" ]
yxhyangxuhao@163.com
1977abae7050d3155cd8b1c9fd6e9407ea1cfd84
51a0d360bf02585da0764a0331a970f434e8f15e
/blog/migrations/0004_auto_20151201_0758.py
6904fe4a39cc03969ee50fbe16df76fdff76d98b
[]
no_license
LAsbun/Blog
8a6d0023a99c15c5174221494fa94059ffb3554c
d50229dfff707436533b2d7302a5494626176e0a
refs/heads/master
2016-08-12T19:04:23.074416
2016-01-25T04:17:46
2016-01-25T04:17:46
47,102,196
0
0
null
null
null
null
UTF-8
Python
false
false
1,247
py
# -*- coding: utf-8 -*- from __future__ import unicode_literals from django.db import models, migrations class Migration(migrations.Migration): dependencies = [ ('blog', '0003_auto_20151201_0753'), ] operations = [ migrations.AlterModelOptions( name='article', op...
[ "794866972@qq.com" ]
794866972@qq.com
bede46778ebd5c5b26490fecc38fe70f71dea335
b3ee8faf7712be6edbb2e800602784125082fe90
/tensorflow/contrib/distribute/python/parameter_server_strategy_test.py
adfe3e8b020521d9c2c409da7c6d79e0ba060330
[ "Apache-2.0" ]
permissive
AudioStreamTV/tensorflow
dc6b657012e368c5c9bc84c370ec51d49ab5f1fc
7277ed8ed2da84b227295216632dec52a81f63b3
refs/heads/master
2020-03-27T02:43:28.244731
2018-08-27T08:39:42
2018-08-27T08:39:42
145,813,674
0
0
Apache-2.0
2018-08-23T06:55:46
2018-08-23T06:55:46
null
UTF-8
Python
false
false
17,881
py
# Copyright 2018 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applica...
[ "gardener@tensorflow.org" ]
gardener@tensorflow.org
266a5f54a1f979ad8b6c7c2d281833d7397d4730
c6150c5389cc3b0f594fdb53a0e3eb1891a1be2e
/code/network_utils.py
09f200e8d8eff5910fcd1aebaf0ac3b8cc4e3f0f
[]
no_license
awiesmulla/Cartpole-RL
fff2e8ad34be997a19be9af7f10442a2b676f368
77112ed5d112a89b2c3f3da81afb9fe97c035c93
refs/heads/main
2023-01-18T18:42:48.569599
2020-11-21T07:06:21
2020-11-21T07:06:21
314,753,984
0
0
null
null
null
null
UTF-8
Python
false
false
1,641
py
import tensorflow.compat.v1 as tf import tensorflow.keras.layers as layers def build_mlp( mlp_input, output_size, scope, n_layers, size, output_activation=None): """ Build a feed forward network (multi-layer perceptron, or mlp) with 'n_layers' hidden la...
[ "awies123mulla456@gmail.com" ]
awies123mulla456@gmail.com
fdac8e14537f401c50219a2c7b24630aa9c99ea5
f5841aeb20df36a9b166d497b3c04c8f18fc6fe1
/mean_var_std.py
3f964207d5a7d45317f71e38151ac9109a49a11a
[]
no_license
triantafillu/Mean-Variance-Standard-Deviation-Calculator
46302e260dde469c5276bf1f2ffe3f091dfca252
cd1eacbb0b94031857d44d7462a8ab1b53140e6b
refs/heads/main
2023-01-28T04:20:02.174039
2020-12-10T19:09:26
2020-12-10T19:09:26
320,336,096
0
0
null
null
null
null
UTF-8
Python
false
false
1,998
py
import numpy as np def calculate(list): #Check whether the matrix is 3x3 if len(list)!=9: raise ValueError( "List must contain nine numbers.") #Transform list to matrix matrix = np.array(list).reshape((3,3)) #First column (array of first element of each row) ax1_1=np.array([matrix[0, 0]...
[ "69384527+triantafillu@users.noreply.github.com" ]
69384527+triantafillu@users.noreply.github.com
22bbd73f990b818557acbb3846c45079f89ee5e8
a504228cfa00ac072d33f4807e0007914af6d449
/ifc_model/geometry/segment.py
1de7e00fdd69bb8b4fadcc0ca781ef5f3e3fa172
[ "MIT" ]
permissive
xeolabs/python-ifc-model
d21141ea1ef0f522ce8a1a4e882afdfd901d1290
f593a72703cdb460e493c48c9f39ee20eb729ecc
refs/heads/master
2020-04-13T17:52:21.220874
2018-11-20T12:45:16
2018-11-20T12:45:16
163,358,339
1
1
null
2018-12-28T02:54:01
2018-12-28T02:54:00
null
UTF-8
Python
false
false
1,647
py
from .relations import Relations from .point import Point ''' segment either an IfcPolyline or an IfcTrimmedCurve ''' class Segment(Relations): def from_json(self, data): super(Segment, self).from_json(data) self.type = data['type'] if self.type == 'Polyline': self.points = self...
[ "self@andreasbresser.de" ]
self@andreasbresser.de
1cd6902f33f6e59d95392ae417eaf30530fda9f6
4ae19b824eec75f54f5892da08d5f62ca2a1f33d
/venv/bin/pylint
bc3089dc6e69a137bf22747088f933182d81aad3
[]
no_license
rmontanana/djangotut
a1c5a87362e9253aa76980d035fd958e6485d499
ace1525459f6fe211b3894e11e29783768eca856
refs/heads/master
2020-05-31T01:21:01.921893
2019-06-03T16:55:31
2019-06-03T16:55:31
190,045,842
0
0
null
null
null
null
UTF-8
Python
false
false
249
#!/Users/rmontanana/code/django/venv/bin/python # -*- coding: utf-8 -*- import re import sys from pylint import run_pylint if __name__ == '__main__': sys.argv[0] = re.sub(r'(-script\.pyw?|\.exe)?$', '', sys.argv[0]) sys.exit(run_pylint())
[ "rmontanana@gmail.com" ]
rmontanana@gmail.com
96768b43319e0bf899c6b59f826dd13f17b4132b
5d4b351d02e4c4e49c9f706b97a21f8231bc9c81
/151-200/172*_factoria_trailing_zeros.py
f31b0991411124d22be5ecd9148b1abb170d3d47
[]
no_license
Dolantinlist/DolantinLeetcode
cf0086ebb8f9ed0f44cd17f5e618d25a7ae46af1
c47d0002921ce0bce6c791fac1e55bc0ab996dc5
refs/heads/master
2020-04-01T09:01:52.828755
2019-09-03T09:42:53
2019-09-03T09:42:53
153,056,757
0
0
null
null
null
null
UTF-8
Python
false
false
156
py
class Solution: def trailingZeroes(self, n): if n == 0: return 0 else: return n//5 + self.trailingZeroes(n // 5)
[ "bupt_dolantin@163.com" ]
bupt_dolantin@163.com
e527ebdc88ff1e9e7ae7f9436e97ae601e7aa3d6
0b240ed1865e9c0e7a559bb7cacda123718781bf
/anjali/Picnic.py
95a22cc021511ef025df2f855d8c88a1f4bc6d93
[]
no_license
anjalik16/REHS19
1aa1246d7c6eefe7081ea456e3900be96ef58d39
fed01da327c9f00eaeb9963adc658d8d43e03c29
refs/heads/master
2020-06-23T02:03:55.105074
2019-07-23T17:22:39
2019-07-23T17:22:39
198,469,416
0
0
null
2019-07-23T16:33:46
2019-07-23T16:33:45
null
UTF-8
Python
false
false
395
py
def printPicnic(itemsDict, leftWidth, rightWidth): print('PICNIC ITEMS'.center(leftWidth + rightWidth, '-')) for k, v in itemsDict.items(): print(k.ljust(leftWidth, '.') + str(v).rjust(rightWidth)) picnicItems = {'sandwiches': 4, 'apples': 12, 'cups': 4, 'cookies': 8000} printPicnic(picnicItems, 12...
[ "noreply@github.com" ]
noreply@github.com
75ba61e3f48abb9ef1288e7afe35383510ac8c68
c053a3f58d46ccd0e3fc6b619097d4d1ce99b8a6
/wshubsapi/test/utils/message_creator.py
6098cdce2e8efc76f30bae05f8f26ad0b099b585
[ "MIT" ]
permissive
JorgeGarciaIrazabal/WSHubsAPI
2eafff9c6666ef17cd5d1e7390100ee145cdc864
df4f5a89edc120c0e8b12060aef921e5eec6b0e6
refs/heads/master
2020-12-27T20:38:14.622048
2017-03-26T03:33:02
2017-03-26T03:35:29
36,126,930
11
2
null
2017-04-22T18:29:47
2015-05-23T14:30:54
Python
UTF-8
Python
false
false
839
py
class MessageCreator: @classmethod def create_replay_message(cls, **kwargs): message = cls.__get_default_replay_message() message.update(kwargs) return message @classmethod def __get_default_replay_message(cls): return { "success": True, "reply"...
[ "jorge.girazabal@gmail.com" ]
jorge.girazabal@gmail.com
691d3d1c38ed082fc74b058fb58503dceb7829fa
839e01aa0d6d929c8ff280c7d7dc21385dba5be5
/twitterapi/tweets/tests/utils.py
a49da422a055681259b90ecd23e327c5daaa3fc5
[]
no_license
tylerstar/twitter-api
088d8e54d69b6902275b27ccb8f20b11e3b42b7a
7e6592e52bedc4257ff7f8de6b1e1f41eba8b152
refs/heads/master
2022-12-27T13:59:37.344396
2020-09-29T11:32:57
2020-09-29T11:32:57
299,295,151
0
0
null
null
null
null
UTF-8
Python
false
false
2,566
py
import os import json import pathlib from tweets.services import ( TwitterSearchAPIService, TwitterUserAPIService ) class MockResponse: """Mock return value of requests.get""" def __init__(self, json_data, status_code): self.json_data = json_data self.status_code = status_code de...
[ "binglux@gmail.com" ]
binglux@gmail.com
8ae0d05862b192c9de72295d1cc399039ddfe880
cd889620b403cf1112f670feca28a10b0fa1c2be
/venv/Scripts/easy_install-3.7-script.py
49d3bcb6e45551d1d3d3760a4f5a5ac68d38062f
[]
no_license
drkinder/Darkness
fb1bb7e2989b78b6cc4dd2dc1a32ab46ab3e2101
78966c25939c6f7821d1a0ad43136a51e989b8a2
refs/heads/master
2020-11-27T17:27:49.369096
2019-12-22T09:41:31
2019-12-22T09:41:31
229,544,465
0
0
null
null
null
null
UTF-8
Python
false
false
477
py
#!"C:\Users\Dylan\Desktop\Programming Party\games\darkness\venv\Scripts\python.exe" # EASY-INSTALL-ENTRY-SCRIPT: 'setuptools==39.1.0','console_scripts','easy_install-3.7' __requires__ = 'setuptools==39.1.0' import re import sys from pkg_resources import load_entry_point if __name__ == '__main__': sys.argv[0] = re....
[ "dylkinder@gmail.com" ]
dylkinder@gmail.com
a669572bde947f0c360ee91d7e0581caa4d9ea20
acdef605201d62bfe005e4956486cca5da0fb049
/train_classifier.py
1ae8eb4b4565fd60a6fb7186eb34c85a5c471714
[ "MIT" ]
permissive
BrunoYang0918/Disaster-Response
68f6ab474b716ad644b496919d8dd76ab1f70041
d0d234af476b20d62b9e58c4c63c4adefda1936b
refs/heads/master
2020-04-24T23:26:49.643272
2019-02-26T13:39:13
2019-02-26T13:39:13
172,344,657
0
0
null
null
null
null
UTF-8
Python
false
false
5,495
py
# --- # jupyter: # jupytext: # formats: ipynb,py:light # text_representation: # extension: .py # format_name: light # format_version: '1.3' # jupytext_version: 0.8.6 # kernelspec: # display_name: Python 3 # language: python # name: python3 # --- # # Train Classifier # #...
[ "noreply@github.com" ]
noreply@github.com
b9ee506054e9573421671716b6c510df1337b184
c4f8d037a95cb1a2d587a1f2a39405a0efb2958a
/Challenger_DataAnalysis.py
c0db4a78178047fbcae32b9cc0848b1a3b21fe91
[]
no_license
youngsoomoon/RiotAPI_Analysis
8a47fe6db4731ebeb770183a4164ad2c671574d1
fe8e05dcd18be9cd03db5ad834c5dd6086800b72
refs/heads/main
2023-04-17T08:23:55.923304
2021-05-03T05:34:09
2021-05-03T05:34:09
355,832,956
1
0
null
null
null
null
UTF-8
Python
false
false
9,721
py
# -*- coding: utf-8 -*- # --- # jupyter: # jupytext: # formats: ipynb,py:light # text_representation: # extension: .py # format_name: light # format_version: '1.5' # jupytext_version: 1.11.1 # kernelspec: # display_name: Python 3 # language: python # name: python3 # --- ...
[ "moonyoungsu@naver.com" ]
moonyoungsu@naver.com
0bbb7d6b0b8bbb448b632364df7975b2df4298bc
44f99ff2284baa89b4bcbd2bd10ac9b3e3de7b1d
/midterm_project/src/model_train/config.py
0a61c136da6d9b932c0a453ec1c54b13cc331540
[]
no_license
HowardWang0915/EE2405
a502d683d0d3eee2976059c8d0d9c5f8bc1a3ebc
b77a7d09007e0c5e1f24decca3de2237b2c488ce
refs/heads/master
2022-06-13T10:27:04.272760
2022-06-10T11:25:31
2022-06-10T11:25:31
244,856,147
0
0
null
null
null
null
UTF-8
Python
false
false
448
py
DATA_NAME = "accel_ms2_xyz" LABEL_NAME = "gesture" # label name (you should keep "negative" in the end of the list) labels = ["ring", "slope", "oneshape", "negative"] # data split configuration # note that train_ratio + valid_ratio + test_ratio = 1 train_ratio = 0.6 valid_ratio = 0.3 data_split_random_seed = 30 # mo...
[ "howardwang99915@gmail.com" ]
howardwang99915@gmail.com
acf6e76c081a35cc4a197383d76e0d500ea7c480
bdb1558903fe4e2328b16728c5e5ddb62ce0ddbe
/app.py
a6f2830452df2b482f30cc25a0a423e2ecd86729
[]
no_license
AnoopKunju/RatingPredictor
9bd6409c2476345dd6190a38447c6cf2f04472f4
31d33f6117448199951e5af89327f91cb69fa01b
refs/heads/main
2023-05-11T20:52:38.950145
2021-06-04T19:03:20
2021-06-04T19:03:20
321,185,667
0
0
null
null
null
null
UTF-8
Python
false
false
891
py
import numpy as np import pickle from flask import Flask, request,jsonify, render_template app = Flask(__name__) model = pickle.load(open('modelSVM.pkl','rb')) vectorizer = pickle.load(open('modelvectorizer.pkl','rb')) @app.route('/') def home(): return render_template('index.html') @app.route('/pr...
[ "noreply@github.com" ]
noreply@github.com
d8d317c760b3bcb0f1b3ad75017677d51a69bcd4
d8471f1f9c217ff5c9dc8f3ffd0d2db19b0983e4
/3/Python/pythonLab10/pythonLab10.2.py
efcfd49e1c4e1a05ccfcdb0a3b65221472ed5cc9
[]
no_license
grig-ar/Projects
a31e3f1f59d8a724fd67c86b91fb61c6768bc0c9
b36e8d45956d29ac5287e9571cc83ebf0b04fabe
refs/heads/master
2022-11-30T23:58:12.270956
2020-08-19T13:21:59
2020-08-19T13:21:59
288,736,555
1
0
null
null
null
null
UTF-8
Python
false
false
842
py
class Table: def __init__(self, l, w, h): self.long = l self.width = w self.height = h def outing(self): print(self.long, self.width, self.height) class Kitchen(Table): def howplaces(self, n): if n < 2: print("It is not kitchen table") els...
[ "a.grigorovich@g.nsu.ru" ]
a.grigorovich@g.nsu.ru
a5f7ed3393d3a1f263d4c02c36efa1a350ef36b6
f01b2d546e01ac381258c9c286afeb4c4be460ea
/main.py
ede904eea317cc9048b3752fa968c399fe76ff99
[]
no_license
Yousif-Ahmed/Function-Plotter
e694a51844a9126b9d09933879f5fc1bb2815fac
9cedcb7561cdb4931d367614cfc2cfa0ac21fd67
refs/heads/main
2023-08-06T09:21:12.095593
2021-10-04T06:39:23
2021-10-04T06:39:23
413,295,903
2
0
null
null
null
null
UTF-8
Python
false
false
4,528
py
from Validate import Validate import sys import matplotlib import numpy as np import re from PySide2.QtWidgets import QLabel, QLineEdit, QMainWindow, QMessageBox, QPushButton, QVBoxLayout, QWidget, QApplication from matplotlib.backends.backend_qt5agg import FigureCanvasQTAgg, NavigationToolbar2QT as NavigationT...
[ "noreply@github.com" ]
noreply@github.com
9b427540fa69d3ad0a6784923c1bef9408a45d2f
2110d9df714f4ecbbaa31edba76b14fc9b452b02
/2semester_python/yandex_contest_4/the infinite game has no name.py
0045f92363ae049fbd9bcc2d89f9411ebccae6d6
[]
no_license
winsold107/MIPT_all
3676c82367aa6e2363ba1f615ce26eb82bf09aef
ce7192368f3a5972fb3eadf28e9bd8fca98aa189
refs/heads/master
2022-11-26T22:32:22.547855
2019-10-14T17:06:29
2019-10-14T17:06:29
215,095,362
0
1
null
2022-11-04T07:33:50
2019-10-14T16:39:28
C
UTF-8
Python
false
false
538
py
class Player: current_ready_method = 'ready' current_start_method = 'start' def ready(self, new_start_method, new_ready_method): setattr(self.__class__, new_ready_method, getattr(self, self.current_ready_method)) delattr(self.__class__, self.current_ready_method) self.current_start_...
[ "dolgova.ad@phystech.edu" ]
dolgova.ad@phystech.edu
5e5398d4c1ec94dd2af3a9229fec86265f1af953
2bf26a46657b7bef71557c48364035ffe90de121
/twiclone/wsgi.py
3c27e73ee3a2e95eefea9c8743070ad35964cef4
[]
no_license
ganiserb/twiclone
4f245cb506e9a9245c73191ce8963296252bcdf5
615fa02a3d8708fc16a3ce036169958940ed026d
refs/heads/master
2016-08-02T22:36:56.203549
2014-10-04T03:00:09
2014-10-04T03:00:09
null
0
0
null
null
null
null
UTF-8
Python
false
false
389
py
""" WSGI config for twiclo project. It exposes the WSGI callable as a module-level variable named ``application``. For more information on this file, see https://docs.djangoproject.com/en/1.7/howto/deployment/wsgi/ """ import os os.environ.setdefault("DJANGO_SETTINGS_MODULE", "twiclone.settings") from django.core.w...
[ "g.gabriel.b@gmail.com" ]
g.gabriel.b@gmail.com
9b2ef52e667d88cd09422527a959f8afbadf12b2
1bfb2d05dc208a796694a194c75ca1663c93def6
/Models/FissionProduct/Archive/FP_Distro/ETA_Predictions/FP_Utilities.py
f9e0d77403e97069b728cbf5d57776fdf3f6d3ad
[]
no_license
nickquartemont/NIF_ETA
9d17f9a002ebaa09a82e894183ef28ee5e2001a0
d04da4268d9327e6b6df2bfa475106298dc796d7
refs/heads/master
2022-02-27T15:02:21.101533
2019-10-03T21:06:23
2019-10-03T21:06:23
114,922,671
4
3
null
null
null
null
UTF-8
Python
false
false
16,730
py
#!/usr/bin/python ####################################################################################################### # # Module : FP_Utilities.py # # Contains : Routines to calculate fission product distributions and save the output # # Author : James Bevins # # Last Modified: 8Jul16 # ############################...
[ "nicholas.quartemont@afit.edu" ]
nicholas.quartemont@afit.edu
41548045a42748d17ade7d29eac099167198820d
dd32c5788caab10641c055b89c8c08f7b8a05361
/pippin/config.py
427652c0d1c6b105281b48ba0a698b382be69a79
[ "MIT" ]
permissive
jcraig5/Pippin
bae71ab24e819f02ca732d18560cfe3543b18050
85db01173dd4a4f12af39cd3a2bad3a713e8767d
refs/heads/master
2020-05-31T09:55:08.416338
2019-06-13T16:45:39
2019-06-13T16:45:39
190,225,226
0
0
MIT
2019-06-13T16:45:40
2019-06-04T15:09:56
Python
UTF-8
Python
false
false
3,032
py
import configparser import inspect import os import logging import hashlib import shutil import os import shutil import stat def singleton(fn): instance = None def get(*args, **kwargs): nonlocal instance if instance is None: instance = fn(*args, **kwargs) return instance ...
[ "samuelreay@gmail.com" ]
samuelreay@gmail.com
c56f75496000f1ad536224b2c2e38c0a931815bb
a769aaa89f5314f3702e1926d86b4e6ece79d701
/board/urls.py
c924f548d8a0a67c7edb0fd7992e6295bfa0bc35
[]
no_license
CASPER-REPSAC/casper-backend
3bfb5e75dea8c9134f1c8cf0e6ea09e8f8500d65
5d2d21c15d0312e65b96bf0c0a84f52e4c57ca00
refs/heads/main
2023-07-13T18:39:47.297854
2021-07-12T06:11:37
2021-07-12T06:11:37
378,759,864
1
0
null
2021-09-07T04:23:11
2021-06-20T23:41:01
Python
UTF-8
Python
false
false
495
py
from django.urls import path, include from rest_framework.routers import DefaultRouter from board import views router = DefaultRouter() router.register(r'posts', views.PostViewSet) router.register(r'categories', views.CategoryViewSet) router.register(r'suggestions', views.SuggestionViewSet) router.register(r'chats', v...
[ "noreply@github.com" ]
noreply@github.com
6a618c1bc31e5c1d4847dc2b5e0c0a32c900fa48
b144c5142226de4e6254e0044a1ca0fcd4c8bbc6
/ixnetwork_restpy/testplatform/sessions/ixnetwork/vport/protocolstack/range_5f0e3a0ea1418e640797b57a7df0b8d2.py
d86e43c9777830cf80b69dc5421183e66abe8cff
[ "MIT" ]
permissive
iwanb/ixnetwork_restpy
fa8b885ea7a4179048ef2636c37ef7d3f6692e31
c2cb68fee9f2cc2f86660760e9e07bd06c0013c2
refs/heads/master
2021-01-02T17:27:37.096268
2020-02-11T09:28:15
2020-02-11T09:28:15
239,721,780
0
0
NOASSERTION
2020-02-11T09:20:22
2020-02-11T09:20:21
null
UTF-8
Python
false
false
84,931
py
# MIT LICENSE # # Copyright 1997 - 2019 by IXIA Keysight # # Permission is hereby granted, free of charge, to any person obtaining a copy # of this software and associated documentation files (the "Software"), # to deal in the Software without restriction, including without limitation # the rights to use, copy, modify,...
[ "srvc_cm_packages@keysight.com" ]
srvc_cm_packages@keysight.com
29c49f468a82a5b92f378131e9279efddc0511bd
8a6c556248837d555594cdecc25952e7a40002a4
/pass2bw
d266b904c35c23a43e773552cbfb75378b5a7cce
[ "MIT" ]
permissive
csadorf/pass2bw
a8997a27be23bfd7f3e7462234916c57de542c36
08803b6c984afb2f44fe082fecf1b63be766f416
refs/heads/master
2022-07-28T23:29:15.424917
2020-05-20T07:31:09
2020-05-20T07:31:09
265,483,116
1
1
null
null
null
null
UTF-8
Python
false
false
2,439
#!/usr/bin/env python import csv from pathlib import Path from dataclasses import dataclass, asdict import click from click_spinner import spinner import gnupg HEADER = 'folder,favorite,type,name,notes,fields,login_uri,login_username,login_password,login_totp' @dataclass class Entry: folder: str = '' favor...
[ "csadorf@umich.edu" ]
csadorf@umich.edu
1bc2eb6ed46fb945bf38f9523723f40108ae43b1
1f1813920cd1e5420a2972b13be97127f7aa5133
/config.py
543660270a41c74551247c31346007cac2ef63f2
[]
no_license
IBMStockTraderLite/trade-history-python
09f3739efe3a05063aca06a6070137e282b669d8
2fb9e1abfe683281323de535851cd05aafea5170
refs/heads/master
2022-11-08T01:40:20.121129
2020-06-15T22:59:39
2020-06-15T22:59:39
272,558,375
0
1
null
null
null
null
UTF-8
Python
false
false
846
py
""" Copyright 2017-2020 IBM Corp All Rights Reserved Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable ...
[ "carew@us.ibm.com" ]
carew@us.ibm.com
de0a6755f53a3eafe1e55015a31bd72ed0aab67c
40cc3ce84f4cf884a3699544b0396c962289016b
/wrappingPlanners/Neoclassical-Planning/gp_csp_ver1.1.2/Test.py
09740189e72bc96c4a746c070e6f1325cadb143a
[]
no_license
isbada/plantool
3abf3e32891892d6e19960caa0ab1a689304502e
c3c1b92e044f47e2e83aa256417c315d98960e23
refs/heads/master
2021-01-21T11:59:55.822864
2017-05-19T02:32:55
2017-05-19T02:32:55
null
0
0
null
null
null
null
UTF-8
Python
false
false
117
py
import _gpcsp _gpcsp.oldmain(['gpcsp', '-csp', '-ldc', '-cutoff', '50000', '-o', 'domain.pddl', '-f', 'tower9.pddl'])
[ "996832853@qq.com" ]
996832853@qq.com
0b227badbe12d72eda1d08bf7b85c82dca9a0cc6
008c5aa9d132fa2549e089ae8df2ef1ce15ad020
/response_timeout/middleware.py
dd8597205cd6de79d9e8ffdb02f0c87431542156
[ "MIT" ]
permissive
movermeyer/django-response-timeout
0c0cedc5c838011d314c57e4ab42252639b350f7
38f7462ab71d967749efc3be914e2a7a2df80f33
refs/heads/master
2021-01-25T14:33:17.576026
2013-07-20T13:56:44
2013-07-20T13:56:44
123,708,880
0
0
MIT
2018-03-03T16:17:38
2018-03-03T16:17:38
null
UTF-8
Python
false
false
571
py
from django.conf import settings from django.utils.cache import patch_response_headers class SetCacheTimeoutMiddleware(object): """ Request-phase middleware that sets the timeout of each response based on the RESPONSE_CACHE_SECONDS If using with UpdateCacheMiddleware, must be placed after so that it ...
[ "s.shanabrook@gmail.com" ]
s.shanabrook@gmail.com
21234f9477d0dd888a3c7314462cefded4c5dbf6
df6e719b603c75e0ef60771ff0b7effe02ae1529
/SmartWatch_Dashboard/HealthTracker/migrations/0002_patient_username.py
3fd9984480ab93ac3c651a6d6675285e6088dcbf
[]
no_license
Romansth/heart-disease-api
9e26af004e3857ea914c2a074e28e47848e443f8
1399469c90d4456022dafc823c5faec146c96526
refs/heads/master
2023-07-04T17:03:54.145970
2021-08-08T06:05:29
2021-08-08T06:05:29
384,603,849
2
4
null
2021-08-08T06:05:29
2021-07-10T03:45:28
JavaScript
UTF-8
Python
false
false
397
py
# Generated by Django 3.2.5 on 2021-07-15 14:52 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('HealthTracker', '0001_initial'), ] operations = [ migrations.AddField( model_name='patient', name='username', ...
[ "roman.shrestha312@gmail.com" ]
roman.shrestha312@gmail.com
4cdc462c66dbf52bd65ffa90d47ca5bfebbb3f68
6e3e1834eaad3a0c97bf645238e59a0599e047b4
/blog/urls/entries.py
b1a1b1567818f862b31ae4101bac790aab9a1abd
[ "JSON" ]
permissive
davogler/davsite
2dc42bfebb476d94f92520e8829999859deae80b
edd8ceed560690fa2c3eefde236416ffba559a2e
refs/heads/master
2021-01-19T06:31:20.655909
2014-01-03T19:04:13
2014-01-03T19:04:13
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,303
py
from django.conf.urls.defaults import * from django.views.generic.dates import YearArchiveView, MonthArchiveView, DayArchiveView, DateDetailView from blog.models import Entry entry_info_dict = {'queryset':Entry.live.all(), 'date_field': 'pub_date', } urlpatterns = patterns('', # Pagination for the equivalent of arch...
[ "dave@sparkhouse.com" ]
dave@sparkhouse.com
5113d16247b94842134d4cd660b5730fbbde9140
429e3e7770ec07678de1ab66ae8acf018759e9d7
/skipass/templatetags/poll_extras.py
3a1ed0b7b8355a97331a8b10a35f0e2e1eb415d8
[]
no_license
neonua/skipass
353506a84188c11b8367f3d2cebbb0503b02ad57
cc7ae35321b78ff1658ddc2811f7cb1c1bdb813f
refs/heads/master
2021-01-12T13:55:33.993473
2016-09-22T12:47:18
2016-09-22T12:47:18
68,920,650
0
0
null
null
null
null
UTF-8
Python
false
false
3,782
py
# -*- coding: utf-8 -*- from django import template from skipass.models import AbonementLow, AbonementHight, Seasons, ClubCartBuy, ClubCartPay register = template.Library() @register.filter(name='id') def id(value): value = value.split("_") val1 = int(value[0]) return val1 @register.filter(name='skip')...
[ "igor@MacBook-Pro-neonua.local" ]
igor@MacBook-Pro-neonua.local
085b083d942b1be4eacba6bb2471428dbec26442
59a2531d9d89a55d2a3919164fe5e76d7d933580
/LinuxAcademy/OOP.py
935d9f59ab634e80f9cb57835f932164432b717c
[]
no_license
AadamBodunrin/Python-Analytics
44aeb6d3dda2fd89ce014a7f47c93fda4ae8bb80
565e8b54ebf77f85378849101d2cf582c0592a58
refs/heads/master
2020-09-11T09:09:48.378007
2020-04-10T21:40:17
2020-04-10T21:40:17
222,016,020
1
0
null
null
null
null
UTF-8
Python
false
false
2,977
py
# Creating classes class Car: """ Car models a car w/ tires and an engine """ def __init__(self, engine, tires): self.engine = engine self.tires = tires def description(self): return("A car with an {} engine and {} tires.".format(self.engine, self.tires)) def wheel_ci...
[ "aadamolalekan@gmail.com" ]
aadamolalekan@gmail.com
c0008b5d6f63884391b3cec6d4819b877dd7bf97
8c0c889bf94caf04a91db4c071863ef4af992ce0
/ticTacToe.py
67e1328fc1a9bf599e33035280f180295d1dee17
[]
no_license
drewcsontos/TicTacToe-Python
6a22dcf71b6f720f3b29cd9b37bd2d911171a203
b92e637a30bf5112fda0997ccc13b8e0edb56261
refs/heads/master
2020-05-19T14:51:39.663759
2019-05-10T23:16:05
2019-05-10T23:16:05
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,998
py
import numpy as np array = [1,2,3,4,5,6,7,8,9] currentPlayer = "X" def changer(ay): string = "" div3 = 0 for x in ay: div3 += 1 string += str(x) + ' ' if div3 % 3 == 0: string += "\n" return string def checker(ay): #for x in ay: check = np.resh...
[ "noreply@github.com" ]
noreply@github.com
86750648a6b749a7da7a53e98049373ef9ef6ea7
a524bfe7cce49118ed887e91a9d245e6f6358b20
/babs/exceptions/note_exception.py
9b5fa3d9364ea10067df447fcfc60d3b5152fbe5
[]
no_license
iskyd/babs
ceb353afea108e56138054931f25bdc2f46f111b
a9923ab8a22306936536b7d592ed65ac2c3fd59d
refs/heads/master
2021-06-18T23:50:12.435395
2019-03-28T15:16:52
2019-03-28T15:16:52
134,007,507
3
0
null
null
null
null
UTF-8
Python
false
false
41
py
class NoteException(Exception): pass
[ "careddumattia@gmail.com" ]
careddumattia@gmail.com
0143cea710f31022d5919c8a2a6621ac5ba1d148
dc31401bf279f2a2376af82a4914f2072542e7f1
/Python/88-Merge Sorted Array-V1.py
11bd239fe0d7afaf739f80b50036d146b0f1fbbf
[]
no_license
TJZ1990/leetcode
f877979b31c3a034c022dc8f1b263520f112eb08
4b3c7ee334809d6457f30ea617e5534a2702527c
refs/heads/master
2016-08-12T11:33:33.903834
2016-03-20T11:55:33
2016-03-20T11:55:33
44,373,291
0
0
null
null
null
null
UTF-8
Python
false
false
568
py
class Solution(object): def merge(self, nums1, m, nums2, n): """ :type nums1: List[int] :type m: int :type nums2: List[int] :type n: int :rtype: void Do not return anything, modify nums1 in-place instead. """ i1 = m - 1 i2 = n - 1 i = m...
[ "tjz2009@yeah.net" ]
tjz2009@yeah.net
c56df2a10e85a364cc8f8a5be1347de8cc461462
53fab060fa262e5d5026e0807d93c75fb81e67b9
/backup/user_068/ch152_2020_06_21_21_06_14_910169.py
9ecba31ee2d4056ecb74c2d89f3f12ef2d768425
[]
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
105
py
def verifica_preco(nome, n_cor, c_preco): cor = n_cor[nome] preco = c_preco[cor] return preco
[ "you@example.com" ]
you@example.com
25d4625f00b5b83b808a25252f1b8a7130ef9a6d
f25d940f582019b245e9ca36cd00d9ea30058b99
/PythonForEverybody/files2.py
76e86063fe3eae0a2d2f40a47f95d69d14df1f62
[ "Apache-2.0" ]
permissive
porcelainruler/Python-For-Everybody-Coursera-
701dd5a50eaaa42a3f4d0814379fbc9be59a39ea
a5cf7aeaafae9c00051fbf955c6ccbd2ac13b26c
refs/heads/master
2020-04-13T23:46:15.824708
2019-01-06T06:12:14
2019-01-06T06:12:14
163,515,157
1
0
Apache-2.0
2019-01-05T15:17:04
2018-12-29T13:56:34
Python
UTF-8
Python
false
false
416
py
# Use the file name mbox-short.txt as the file name fname = input("Enter file name: ") fh = open(fname) avg = 0.0; count = 0; for line in fh: if not line.startswith("X-DSPAM-Confidence:") : continue pos = line.find(':'); substring = line[pos+1:]; snum = substring.strip(); num = float(snum); ...
[ "princeshubham22699@gmail.com" ]
princeshubham22699@gmail.com
b2b0bcb274470509901337f8aafa2e13ec47fc33
278d7f4467a112416d1adfbcd3218033ff0fd9b3
/configs/gfl/gfl_r50_fpn_mstrain_2x_coco.py
ace084ddd452aab6f3f34cc7bc60057b5b0e2962
[]
no_license
Young-1217/detection
e3d67938b454e955b5b7a82d5ae222e62f9545fb
6760288dac92e00ddc3e813ed0e1363c1fa1ce2d
refs/heads/main
2023-06-01T21:41:37.998947
2021-06-21T10:03:01
2021-06-21T10:03:01
371,868,683
0
0
null
null
null
null
UTF-8
Python
false
false
774
py
_base_ = './gfl_r50_fpn_1x_coco.py' # learning policy lr_config = dict(step=[16, 22]) total_epochs = 24 # multi-scale training img_norm_cfg = dict( mean=[123.675, 116.28, 103.53], std=[58.395, 57.12, 57.375], to_rgb=True) train_pipeline = [ dict(type='LoadImageFromFile'), dict(type='LoadAnnotations...
[ "noreply@github.com" ]
noreply@github.com
b70c239c5624f51962f2462313939d9ddbd5e68b
aefc31eaa30db4cb44fd64e8e847064ad3db1132
/soc_ssa/migrations/0011_auto_20180626_1537.py
d69265b3503c4880812d99755366faa01a38e679
[]
no_license
sundw2015/841
934ca603a713f5ed170534f333adb71d5a4ca28a
d6e025d7e9d9e3aecfd399c77f376130edd8a2df
refs/heads/master
2022-12-11T13:33:34.342405
2021-07-26T03:24:40
2021-07-26T03:24:40
167,910,322
4
2
null
2022-12-09T02:19:24
2019-01-28T06:26:44
Python
UTF-8
Python
false
false
636
py
# -*- coding: utf-8 -*- from __future__ import unicode_literals from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('soc_ssa', '0010_auto_20180626_1510'), ] operations = [ migrations.RemoveField( model_name='seceventtype', ...
[ "guanchao@qssec.com" ]
guanchao@qssec.com
70fb34d8881ae2da93cf25919ddb43e7f711ca01
00ed34481bbcac5dead530ea59d2383750be049a
/src/util/seq2Img.py
e2471a0c157fdce376854052a2ca3705683f4270
[]
no_license
zhiruiluo/pdf_mal_dection
7177740b6d01959e982435a7b0cf1eecb042ca23
daaa959b1d9c7d54cad2515649ddfbe919898c5b
refs/heads/main
2023-09-03T11:45:37.322854
2021-11-10T06:16:00
2021-11-10T06:16:00
null
0
0
null
null
null
null
UTF-8
Python
false
false
92
py
class Seq2Img(): def __init__(self): pass def transform(self): pass
[ "zhirluo@gmail.com" ]
zhirluo@gmail.com
45037806bf225f86d2751623bd5ebac99333b549
18cd709cad01d13f06051e22a53111b4318a1ce2
/qa/rpc-tests/wallet.py
2d6118842adb4aa051e674042d35eb491b3f73b8
[ "MIT" ]
permissive
NodeHost/NODECore
8e0ba2794e6bd23af4e5c2126335c25a9c6e27ac
527a1eee6f1a9992f0d3f1cb9ffecf67e0211b43
refs/heads/master
2020-04-02T09:04:44.575856
2019-02-07T05:02:29
2019-02-07T05:02:29
154,274,665
0
0
null
null
null
null
UTF-8
Python
false
false
3,943
py
#!/usr/bin/env python2 # Copyright (c) 2014 The Bitcoin Core developers # Distributed under the MIT/X11 software license, see the accompanying # file COPYING or http://www.opensource.org/licenses/mit-license.php. # # Exercise the wallet. Ported from wallet.sh. # Does the following: # a) creates 3 nodes, with an emp...
[ "konez2k@gmail.com" ]
konez2k@gmail.com
980be05260a7c05a89ad33bb3493e6bc5ebad38a
24d9fa8e79f5ff8a274b73cdcde972c0ea98e09b
/c12/e/op.py
7d915519d0da9aa7739782f036e9ec8527e9ab61
[]
no_license
Switch-vov/python-automate-the-boring-stuff
2428399a497cbf8a5514decfde067a91abe38188
a1b8d40c343a500eac15f695fdcb38282109d38a
refs/heads/master
2021-05-13T21:00:01.567856
2018-01-06T04:10:17
2018-01-06T04:10:17
116,451,765
0
0
null
null
null
null
UTF-8
Python
false
false
547
py
import openpyxl workbook = openpyxl.load_workbook('example.xlsx') print(type(workbook)) print(workbook.get_sheet_names()) sheet = workbook.get_sheet_by_name('Sheet1') print(type(sheet)) print(sheet.title) active_sheet = workbook.get_active_sheet() print(sheet.title) A1 = active_sheet['A1'] print(A1) print(A1.value) pr...
[ "q547550831@outlook.com" ]
q547550831@outlook.com
1ebd0efe0a66f9a078725db1f244855bad4974a1
fe0071c9271883a6854f38e1e2e6091a3fa5c871
/gcd_soln/GcdUnitCL.py
84b88f70f76ac14a557d2e790f6c60217daefa7c
[]
no_license
mfkiwl/pymtl-tutorial
63edef14c67c0bb8ffa3699e93504b76e37bd62f
da438214111859a2959bc952c178197cccb82382
refs/heads/master
2022-01-13T01:04:12.969689
2019-06-22T15:58:25
2019-06-22T15:58:25
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,457
py
#========================================================================= # GCD Unit CL Model #========================================================================= from pymtl import * from pclib.ifcs import InValRdyBundle, OutValRdyBundle, valrdy_to_str from pclib.cl import InValRdyQueueAdapter, OutValRdy...
[ "lockhart@csl.cornell.edu" ]
lockhart@csl.cornell.edu
fc41b506821254727d4f96c0a016d04f4060ad0c
83b72e475a00bf1b9fd13d3b999fdae61881db83
/EntryLevel.py
1dfd216f219d55397d6e44b8f8c7d3372963c6b3
[]
no_license
rkguptaaa/PythonProgram
4d43b7056bbb557090c872a7c413eedeb9c8bc10
3285460c7241eca4b37b6be9c49d78b6f068cf7a
refs/heads/master
2020-09-15T03:54:08.809470
2020-01-10T08:56:53
2020-01-10T08:56:53
223,342,045
0
0
null
null
null
null
UTF-8
Python
false
false
739
py
# -*- coding: utf-8 -*- """ Created on Fri Nov 22 13:59:54 2019 @author: rgupta4 """ #This is if condition class ParentClass(): def __init__(self, Name, Class): self.StudentName = Name self.StudentClass = Class print('I m Parent') def PrintModel(self): print('Student Name is :'...
[ "ravi.gupta1@intsof.com" ]
ravi.gupta1@intsof.com
a62b4ca688c2e3f54ff75a5503803b8c2bb60f46
7e0c1275118878f29db1cb32352df90edc869562
/photography/urls.py
890d470fcaea76086d219d17e9df8623e0c43e45
[]
no_license
7satya/Photography
13c3e0b58984fa041796c48e2800e01a787b5599
678dbd289b40dc14cc5eaa2b7650bb15e1831ca7
refs/heads/master
2020-04-20T21:15:30.883869
2019-02-04T21:26:08
2019-02-04T21:26:08
169,103,469
0
0
null
null
null
null
UTF-8
Python
false
false
802
py
"""photography URL Configuration The `urlpatterns` list routes URLs to views. For more information please see: https://docs.djangoproject.com/en/2.1/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-b...
[ "2016231@iiitdmj.ac.in" ]
2016231@iiitdmj.ac.in
78672e2f5468a4b34190873999d5d3f7a39f440e
2f060a06270e6a332a7e6ebefac29e4d354a8651
/leetcode/question_572/test_solution_1.py
279c56063e01f81416dd551ad550b810bb1c261a
[]
no_license
asxzhy/Leetcode
aa3e80072d5ae607e32c1dbeb0c1a83a43eccdee
81b967e1ac0bc1cc56d9ae636dcee89b7b26802f
refs/heads/master
2023-02-22T20:54:57.764702
2021-01-28T20:31:03
2021-01-28T20:31:03
287,551,898
0
0
null
2021-01-28T20:31:04
2020-08-14T14:28:28
Python
UTF-8
Python
false
false
1,113
py
from .solution_1 import Solution from .solution_1 import TreeNode def test_is_subtree_case_one(): # tree [3, 4, 5, 1, 2] s = TreeNode( 3, TreeNode(4, TreeNode(1), TreeNode(2)), TreeNode(5), ) # tree [4, 1, 2] t = TreeNode(4, TreeNode(1), TreeNode(2)) re...
[ "asxzhy.zhang@gmail.com" ]
asxzhy.zhang@gmail.com