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
c1862a4a570e4842c1fe5594ee31588c50f1f4de
e80d4832e433890d6e797b32968ff09e59bff5aa
/bin/esptool3.py
7d81629633d0284af03c8889b2934f860a425c5f
[]
no_license
menlsux/xtensa-toolchain
4bd6e9d9f8e20876eda20f916d8fdaf3d037d010
fcb52faaf658c4bcc46f3c93698fdd77b37f89f4
refs/heads/master
2023-05-28T22:46:18.594150
2021-05-28T12:01:45
2021-05-28T12:01:45
null
0
0
null
null
null
null
UTF-8
Python
false
false
33,365
py
#!/usr/bin/env python # # ESP8266 ROM Bootloader Utility # https://github.com/themadinventor/esptool # # Copyright (C) 2014 Fredrik Ahlberg # # This program is free software; you can redistribute it and/or modify it under # the terms of the GNU General Public License as published by the Free Software # Foundation; eith...
[ "jiankemeng@gmail.com" ]
jiankemeng@gmail.com
37c81f3e58e9f65707b6aff4eabdfe911a9432cc
41d17419b743929069cf1dd7bace93a0838ebfcf
/TransformationCode/com/lyit/service/TransformationService.py
76348be9a6c7540484ed5dd1348c08e3ff6da7cc
[]
no_license
Priyanks27/TransformCode
45b3c86fcc3f02750aa863abf4f9b44c9f2a0227
056572bf45cb36705947a81f9a34ce6d680f552f
refs/heads/master
2022-12-12T14:41:28.771251
2020-08-30T01:28:07
2020-08-30T01:28:07
287,707,245
0
0
null
null
null
null
UTF-8
Python
false
false
6,434
py
import os import json from com.lyit.DependencyScanning.DependencyScanning import DependencyScanning from com.lyit.DependencyScanning.UpdatePomInTarget import UpdatePomInTarget from com.lyit.Reporting.Reporting import Reporting from com.lyit.RuleEngine.RuleEngine import RuleEngine from com.lyit.RuleEngine.UpdateGoogleP...
[ "saxenapriyank1027@gmail.com" ]
saxenapriyank1027@gmail.com
4a2bdfc37e3b59dc3e78f8c3346a22e17a27c06c
e23d6bada82885311adf5cf4b25c92bdbfd42784
/neuron_data_display.py
620d14579a5f28bde5c69cc4bc1d1dcfb758d3ce
[]
no_license
TakashiNomura/neural_network
325d3f3dae227cc8db3396bb069f7705f49b456e
6d9e0acaa4996bbf99277940544d7aae1193be12
refs/heads/master
2021-01-23T16:06:08.699272
2017-06-10T07:01:19
2017-06-10T07:01:19
93,283,738
0
0
null
null
null
null
UTF-8
Python
false
false
1,524
py
# coding:UTF-8 import matplotlib.pyplot as plt import math # シグモイド関数 def sigmoid(a): return 1.0 / (1.0 + math.exp(-a)) # ニューロン class Neuron: input_sum = 0.0 output = 0.0 def setInput(self, inp): self.input_sum += inp def getOutput(self): self.output = sigmoid(self.input_sum) ...
[ "nomufamily@gmail.com" ]
nomufamily@gmail.com
6a8a15099b951ef5622b7485ccb8a701d77f2115
77260af8ad419237b66789145bfac00d98e806ab
/manage.py
21c90ac02ac036da2467ec121638c3725023a7f5
[]
no_license
KiranGangadhar01/CloneProject_Test
6b3ae7fc9c7484302c9b1b27d4daa4190b8f6776
13194bf0aedf8bc2316456c0663984eacb9aca47
refs/heads/master
2020-05-02T03:10:26.592021
2019-04-02T04:58:03
2019-04-02T04:58:03
177,721,843
0
0
null
null
null
null
UTF-8
Python
false
false
544
py
#!/usr/bin/env python import os import sys if __name__ == '__main__': os.environ.setdefault('DJANGO_SETTINGS_MODULE', 'CloneProject.settings') try: from django.core.management import execute_from_command_line except ImportError as exc: raise ImportError( "Couldn't import Django....
[ "kiran.gangadhar.01@gmail.com" ]
kiran.gangadhar.01@gmail.com
5fd7149fbd4109af07177bba0bdb242780b881b3
a355c3e1796f207fc3088206d041d39a89d38649
/score-bot/run.py
01ebbefa723659280f00ed098da53cf837e87a88
[]
no_license
devsoc/dailyprogrammer
2a51b042c075c6a72ab53b6cbf8ea5a023aed62c
69ccd8fdb86d6aabed8d123fa7dbe23b8a9cea94
refs/heads/master
2021-01-22T07:39:12.568668
2017-02-21T19:24:00
2017-02-21T19:24:00
81,837,059
0
0
null
null
null
null
UTF-8
Python
false
false
495
py
import os import asyncio import threading from score import main from flask import Flask app = Flask(__name__) def run_script(): loop = asyncio.new_event_loop() thread = threading.Thread(target=loop.run_until_complete(main(loop))) thread.start() thread.join() @app.route('/', methods=['GET', 'POST'...
[ "programmer.arsh@gmail.com" ]
programmer.arsh@gmail.com
51488b6af889fd61bcc3bde0f432eebce76ef284
fb84e82ab80f2af43d3cdcf9a6c0351228d0f682
/validate.py
e93c4b1bb4adf2936a69d41ba81724c3c0b0e580
[]
no_license
doctorwk007/semseg
bf1ea79e8e5f9a0084de98e0bd588a2c46af30b0
39f7e642014a1e8e21a84d0ff1e0057469b5d8e4
refs/heads/master
2020-04-12T01:10:35.164155
2018-12-15T03:03:27
2018-12-15T03:03:27
null
0
0
null
null
null
null
UTF-8
Python
false
false
8,095
py
# -*- coding: utf-8 -*- import torch import os import argparse import cv2 import time import numpy as np import visdom from torch.autograd import Variable from scipy import misc from semseg.dataloader.camvid_loader import camvidLoader from semseg.dataloader.cityscapes_loader import cityscapesLoader from semseg.datalo...
[ "guanfuchen@zju.edu.cn" ]
guanfuchen@zju.edu.cn
a3fe21f6b4df87f847e18ec86aa121ab5f4bd395
c5457ee0cdb6d2d13764a6f1db2222f55835d017
/app/seeds/reviews.py
fccdaf09c2e867d9ec5ada198e8ea768c27b2da9
[]
no_license
boothjacobs/stay-awhile
1a275cb6d7c2d655928f7f4f060c5d3e1765c011
0b25b10c27d2ecbdf8108eb736865047e140b81d
refs/heads/main
2023-07-09T10:50:53.349409
2021-08-08T22:31:27
2021-08-08T22:31:27
380,834,358
15
0
null
2021-07-12T02:54:31
2021-06-27T20:42:47
Python
UTF-8
Python
false
false
1,318
py
from werkzeug.datastructures import ContentRange from app.models import db, Review def seed_reviews(): review1 = Review( guest_id='1', ranch_id='6', booking_id='1', content="Aenean dictum leo elementum, bibendum neque facilisis, interdum mauris.", stars='4' ) revie...
[ "jacobs.b.sarah@gmail.com" ]
jacobs.b.sarah@gmail.com
4c659bec2a8b634ed455336351bdfde97a018dd7
d447054870e0217b6f6c69c1ea3d76e5e49e971a
/app.py
2990539722f759e658d1c63cae88564a7d35e6e6
[]
no_license
maciekpykosz/GrainGrowthAndBoundarySmoothing
5757174766620f8252f98df482e3e02ea629c9b1
1ec863f3d9c9a6acccbeae318d1e5025b6678142
refs/heads/master
2022-06-17T00:23:04.961966
2020-05-04T22:23:53
2020-05-04T22:23:53
261,300,918
1
1
null
null
null
null
UTF-8
Python
false
false
17,919
py
import itertools import random import copy import numpy as np import neighborhood as nh from collections import Counter from math import exp from tkinter import * from tkinter import ttk from tkinter import messagebox x_size = 0 y_size = 0 grid = None mc_grid = None rectangle_size = 5 begin_id = None colors = {} seed...
[ "maciekpykosz@gmail.com" ]
maciekpykosz@gmail.com
68ac0eeb5d55a38888952d35a6cd32b67c9bde23
d7b4e2e391e1f15fd7cb4fbf4d9aee598131b007
/AE_Datasets/R_A/datasets/CWRUCWT.py
66ff726731086772786eee97b0378a32b4c39b8e
[ "MIT" ]
permissive
wuyou33/DL-based-Intelligent-Diagnosis-Benchmark
eba2ce6f948b5abe68069e749f64501a32e1d7ca
e534f925cf454d07352f7ef82d75a8d6dac5355c
refs/heads/master
2021-01-02T15:06:29.041349
2019-12-28T21:47:21
2019-12-28T21:47:21
239,673,952
1
0
MIT
2020-02-11T04:15:21
2020-02-11T04:15:20
null
UTF-8
Python
false
false
5,887
py
import os import numpy as np import pandas as pd from scipy.io import loadmat from sklearn.model_selection import train_test_split from datasets.MatrixDatasets import dataset from datasets.matrix_aug import * from tqdm import tqdm import pickle import pywt signal_size=100 datasetname = ["12k Drive En...
[ "646032073@qq.com" ]
646032073@qq.com
2ea59d15a88cd4a3cfba74fb74162da032c006d3
d613fecbe4845ed4a0f1d667439640ed10c8922a
/app1/views/ajax.py
e9581d351b9923bc2a953751021d2bda01cc0396
[]
no_license
AnyiYim/DjangoTeacherManagerDemo
e18bdb312237e39da00f62006e9e7a98d817d08c
eecfaac3bd5badfb3ac1aed5b2e3f034e505e26e
refs/heads/master
2021-04-27T00:23:38.853148
2018-03-04T16:08:46
2018-03-04T16:08:46
123,805,205
0
0
null
null
null
null
UTF-8
Python
false
false
488
py
from django.shortcuts import render, redirect, HttpResponse from app1 import models def ajax1(request): return render(request, 'ajax1.html') def ajax2(request): u = request.GET.get('username') p = request.GET.get('password') return HttpResponse('我愿意') def ajax4(request): nid=request.GET.get('n...
[ "759502117@qq.com" ]
759502117@qq.com
0d8de83b4bd580f8d4fe58a16cad571d34cd8067
7c2e887049ef409bec9481820c3924596b033974
/mysite/urls.py
06d9066373cdf85f38e59ba2710b398b8ba323b1
[]
no_license
davemaharshi7/Online-Examination-system
5022541901729477537ea2ae2168a8bf4ab32771
95d7ddb02d59adaecf04e1ab0ade249da5e733f3
refs/heads/master
2020-03-26T20:18:28.021979
2018-08-19T17:17:01
2018-08-19T17:17:01
145,316,023
0
0
null
null
null
null
UTF-8
Python
false
false
1,218
py
"""mysite URL Configuration The `urlpatterns` list routes URLs to views. For more information please see: https://docs.djangoproject.com/en/2.0/topics/http/urls/ Examples: Function views 1. Add an import: from my_app import views 2. Add a URL to urlpatterns: path('', views.home, name='home') Class-based ...
[ "39943075+davemaharshi7@users.noreply.github.com" ]
39943075+davemaharshi7@users.noreply.github.com
f23ca4dfac5ec05af295ebc0d0c60a34536b013f
14208e9ff64dfca2feebbe9758bf78ea5a2ad113
/migrations/versions/0c2ef460c5f9_.py
af6c14f257106d36339e43d3cf21b51a4c721885
[]
no_license
sameerank/word-frequency
f83da0ff1bc1d4e9cf330f125c8073de0f96533c
e64f9bd0cc79403bf47cdc68132d3b90897abf8b
refs/heads/master
2021-01-19T04:00:39.401619
2016-05-31T02:03:50
2016-05-31T02:03:50
59,968,260
1
0
null
null
null
null
UTF-8
Python
false
false
849
py
"""empty message Revision ID: 0c2ef460c5f9 Revises: None Create Date: 2016-05-29 23:04:32.909854 """ # revision identifiers, used by Alembic. revision = '0c2ef460c5f9' down_revision = None from alembic import op import sqlalchemy as sa from sqlalchemy.dialects import postgresql def upgrade(): ### commands auto...
[ "skunche@gmail.com" ]
skunche@gmail.com
3dd15c6e2f034c217ed036d16ead87ec715fc1d6
f59d3d7f6b12a6b235bd89d4be815bee1c2164a3
/command_handlers/test.py
b665dec86d66442e4d7aec8b52a2dd5f0881fc70
[]
no_license
sanje2v/DualSuperResLearningForSemSeg
39ed0db5055503a8c0b41a56f1670a9640dd4bf1
084da170adbcb23c09dad556d60f3f44a0068e59
refs/heads/master
2023-03-26T21:42:44.003684
2021-03-28T12:28:26
2021-03-28T12:28:26
318,446,369
6
0
null
null
null
null
UTF-8
Python
false
false
7,221
py
import os import os.path from tqdm.auto import tqdm import numpy as np import torch as t import torchvision as tv from PIL import Image, ImageOps from models import DSRL from models.transforms import * from utils import * import settings import consts @t.no_grad() def test(image_file, images_dir, dataset, output_dir...
[ "swtbase@hotmail.com" ]
swtbase@hotmail.com
443e9fc54de020dd08d250e460d00b92e76ac597
8f1a9e1e2a48894a805616032433b019575e49ee
/BinaryTreeUsingLists.py
26e75c7e64dc8109e3ec2a241fc9dc4c0aaa1560
[]
no_license
melitadsouza/CTCI
1c8b061e43bc052c0ffb31ace724575c7a35488f
5688d02c11e62bb0e238d6748f523977ac1e789c
refs/heads/master
2021-08-29T02:15:07.470984
2018-02-19T21:48:14
2018-02-19T21:48:14
120,383,372
0
0
null
2021-08-19T08:42:52
2018-02-06T01:13:35
Python
UTF-8
Python
false
false
775
py
def BinaryTree(r): return [r,[],[]] def insertLeft(root,newBranch): t = root.pop(1) if len(t) > 1: root.insert(1,[newBranch,t,[]]) else: root.insert(1,[newBranch,[],[]]) return root def insertRight(root,newBranch): t = root.pop(2) if len(t) > 1: root....
[ "noreply@github.com" ]
noreply@github.com
669a113c17fd1fe1e8f0256f0d625bbbc78a9be4
46404c77e04907225475e9d8be6e0fd33227c0b1
/wildcard pattern matching.py
0ed16783c406fd5ec5eaf2858e1c35ca373e0e95
[]
no_license
govardhananprabhu/DS-task-
84b46e275406fde2d56c301fd1b425b256b29064
bf54f3d527f52f61fefc241f955072f5ed9a6558
refs/heads/master
2023-01-16T07:41:27.064836
2020-11-27T11:52:50
2020-11-27T11:52:50
272,928,074
0
0
null
null
null
null
UTF-8
Python
false
false
1,819
py
""" Given two strings 'str' and a wildcard pattern 'pattern' of length N and M respectively, You have to print '1' if the wildcard pattern is matched with str else print '0' . The wildcard pattern can include the characters ‘?’ and ‘*’ ‘?’ – matches any single character ‘*’ – Matches any sequence of characters (...
[ "noreply@github.com" ]
noreply@github.com
482570c62a6775d803e88aeef37fddf7afcd691b
55016a9795fd847ea044f8be659814ca1f0fe1de
/run.py
2f1c0e28fce25c3c1ac522cad45d0cd54fbf161f
[]
no_license
farhanlarenzo/Automate-updating-catalog-information
6b6bdab358247be42762742a3b02dd4d82c2f11c
1859fdc5d12c0661ab49e502aa87ab4343f82b57
refs/heads/main
2023-03-19T12:56:24.663605
2021-03-15T07:49:37
2021-03-15T07:49:37
null
0
0
null
null
null
null
UTF-8
Python
false
false
877
py
#script to read descriptions and add it to a json file along with it's deatils. #!/usr/bin/env python3 import os, sys import json import requests path = "supplier-data/descriptions/" url = "http://localhost/fruits/" files = os.listdir(path) for file in files: if file.endswith("txt"): with open(p...
[ "noreply@github.com" ]
noreply@github.com
d716a3b72ae3d732e5d2b3fddd46f8508cc71a99
511049d21eccd143dbb1e1df16b23690ba15f1ca
/python/patTuple_jetlepSal_cfg.py
103a0146df9ff6113784088d2c6c24a4446b9da0
[]
no_license
cfantasia/CMGWPrimeGroup
e1b907c3d2350d0c994a59d4d50060a7d3f373d7
97ef1292828b4c0d2f481c6462e9757ac500087a
refs/heads/master
2021-01-20T08:44:12.139482
2013-08-05T19:37:44
2016-02-16T02:42:39
11,907,010
0
0
null
null
null
null
UTF-8
Python
false
false
4,637
py
from UserCode.CMGWPrimeGroup.patTuple_common_cfg import * from UserCode.CMGWPrimeGroup.patTuple_el_cfg import * from UserCode.CMGWPrimeGroup.patTuple_mu_cfg import * from UserCode.CMGWPrimeGroup.patTuple_jet_cfg import * from UserCode.CMGWPrimeGroup.patTuple_met_cfg import * def addFastJet(process): process.load(...
[ "" ]
4e15a1419fe0011d3ea7a53bc3bdd0169a1dee84
b98f54e846c9b107a2f4360f8e5bfaa297c7a573
/pytest_wish/utils.py
b7f367ac670bca85bb914aa5b4c04b1c3931110c
[ "MIT" ]
permissive
gitter-badger/pytest-wish
6f1682251a05ce5cb74b864db8476b6c0d795d0f
7b7f870d3e915d56aa6d831eb2f763d97b702232
refs/heads/master
2021-01-16T00:56:56.528431
2016-01-25T11:41:12
2016-01-25T11:41:12
50,360,291
0
0
null
2016-01-25T15:34:10
2016-01-25T15:34:10
null
UTF-8
Python
false
false
6,038
py
# -*- coding: utf-8 -*- # python 2 support via python-future from __future__ import absolute_import, unicode_literals from builtins import str import collections import importlib import inspect import logging import re import sys import pkg_resources import stdlib_list # blacklists DISTRIBUTION_BLACKLIST = set() ...
[ "alexamici@gmail.com" ]
alexamici@gmail.com
e36e09c306b5d8f6409029937c7295bd58aa2c3e
58b8010949e68e7b206a48a9c6eb1f03317399b3
/sample-with-priority-queue.py
d620ea40e212dc6e1537e5ba9ede8d66c98e64c2
[]
no_license
zainulabidin302/8-puzzle-problem-using-a-star-algorithm
81a2c73dd8aad70b58fc1bf423a4db4a12f8262f
4bc0677bb21630737a5f7088bb60686e6e062902
refs/heads/master
2020-05-25T20:26:29.008415
2017-05-07T13:31:10
2017-05-07T13:31:10
83,651,678
0
0
null
null
null
null
UTF-8
Python
false
false
1,002
py
import queue as Q from Node import Node def a_star(node, goal): open_list = Q.PriorityQueue() close_list = [] moves_counter = 0 max_move_counter = 10000 while True: if max_move_counter == moves_counter: print('MOVE COUNTER EXCEEDED MAX MOVE COUNTER ') return ...
[ "zain302@hotmail.com" ]
zain302@hotmail.com
b368553bc4f28e3306a5f1465e6e025fff5e2dd8
f620212678d7722d22d7c046e39ef63f496c6206
/ReadData.py
d72bbae345429e2421c97b97a128049fff1cb4a2
[]
no_license
mikekuian/webapplication
30d9ca4b81e1ea9c8cd48f25f71190e91c80f7dd
8adc80b730d343d1db4a3c3f1e410e9b9148fc6a
refs/heads/master
2022-11-29T09:36:24.391545
2020-07-28T17:35:30
2020-07-28T17:35:30
283,274,602
0
0
null
null
null
null
UTF-8
Python
false
false
1,092
py
import sqlite3 import psycopg2 def create_table(): conn = sqlite3.connect("myStudents.db") cur = conn.cursor() cur.execute("CREATE TABLE IF NOT EXISTS students (id INTEGER, name TEXT, email TEXT)") conn.commit() conn.close() def insert(id, name, email): conn = sqlite3.connect("myStudents.db...
[ "michaelkuian@gmail.com" ]
michaelkuian@gmail.com
7057275be9c281c00e6df203bce5fce8e71251b1
0c5f061a32aa865f16a87b7a45c066560ba0b1e7
/OOPS/oops_ClassMethod.py
c7ec8ce54e0acfa9162aba7e5376ee3b7bd571c3
[]
no_license
divya-chopra/python
0ac6a70e320dd569dc1f6ebac1fece16892f70df
c7bf67e74bd321b72ab57a3db5267e64d25494c9
refs/heads/main
2023-03-13T04:23:53.471256
2021-02-21T13:16:36
2021-02-21T13:16:36
340,855,682
0
0
null
null
null
null
UTF-8
Python
false
false
1,069
py
# @classmethod #-> can use without even instantiating class #-> Call it using classname.method_name(method arguments) #-> 95% not useful #-> Can be used to instantiate an object of class #@staticmethod #-> Same as classmethod except no access to cls or class #-> So we cannot instantiate class using static method #-...
[ "divya.chopra@siemens.com" ]
divya.chopra@siemens.com
c61dda42206def3fa80cf32e0d15a1f267ee0713
d882e66d71f26403dbb82be4cf5667929f3b82a8
/news/models.py
d5d06ffddbeb96f7f987b69a39c71feadfc7bdb3
[]
no_license
pythongiant/DarkBeautifulReviews
2f5b9f7b9c3a0ccc442ea0ac8c196463257bf6ae
6bc1dfd3d147ed3dc91ca19dba288cce453b4107
refs/heads/master
2020-08-02T04:07:49.536708
2020-02-24T09:19:06
2020-02-24T09:19:06
211,228,918
0
0
null
null
null
null
UTF-8
Python
false
false
298
py
from django.db import models # Create your models here. class News(models.Model): date = models.DateTimeField() author = models.CharField(max_length=255) content = models.TextField() image = models.ImageField() def __str__(self): return self.name+"("+str(self.date)+")"
[ "srihari.unnikrishnan@gmail.com" ]
srihari.unnikrishnan@gmail.com
a7f24ef184928de29cb7077c5a33eb6c01eae3b5
d8422247ecbe450c75df45dcf2c92fb4438b65af
/horizon/openstack_dashboard/dashboards/admin/instances/forms.py
9d2bf6d665256ffd420ae81e10ff16ed18c8cfd8
[ "Apache-2.0" ]
permissive
yianjiajia/openstack_horizon
deb9beca534b494b587ae401904c84ddbed64c4a
9e36a4c3648ef29d0df6912d990465f51d6124a6
refs/heads/master
2016-09-12T21:34:25.718377
2016-04-28T05:29:56
2016-04-28T05:29:56
57,273,157
0
0
null
null
null
null
UTF-8
Python
false
false
4,293
py
# Copyright 2013 Kylin OS, Inc # # 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 agre...
[ "yanjj@syscloud.cn" ]
yanjj@syscloud.cn
3739db1ecd8528d5f8fcaaf0b5400ad84e17e4a1
b7724c20c876eb0cc90beba3614cec6ffdb9533a
/DrowsinessDetection/eye_status.py
049137283a58a4218a81ecd4c2ce72252e713eae
[ "MIT" ]
permissive
muhammadbilalakbar021/driverDrowsiness
9753680eabaea63fe570cc0172aff024253dd9e1
8abf4055e2a756e538c5ae535b88b8bed4d88c78
refs/heads/main
2023-06-23T10:05:31.139485
2021-07-14T03:04:47
2021-07-14T03:04:47
385,797,978
0
0
null
null
null
null
UTF-8
Python
false
false
3,665
py
import os from PIL import Image import numpy as np from keras.models import Sequential from keras.layers import Conv2D from keras.layers import AveragePooling2D from keras.layers import Flatten from keras.layers import Dense from keras.models import model_from_json from keras.preprocessing.image import ImageDataGenera...
[ "muhammadbilalakbar021@gmail.com" ]
muhammadbilalakbar021@gmail.com
8e785bad39be8eecdff23af271fa04fee05abaf7
5534372b34b8c79732f9555b72eb22d4bda5f719
/web_services_project/settings.py
26528fd948649bd5f80f8d41088c78388fc528b1
[]
no_license
JulianHB/web_services_teacher_api
6971405734f1453788e4dbc9fe26d56f59c66c8c
1b0eca8359d10568569f0ab7c70c04d4fcf893c2
refs/heads/master
2022-12-18T06:01:26.740537
2020-03-06T17:49:05
2020-03-06T17:49:05
245,431,976
0
0
null
2022-12-08T03:44:54
2020-03-06T13:51:48
Python
UTF-8
Python
false
false
3,466
py
""" Django settings for web_services_project project. Generated by 'django-admin startproject' using Django 2.2.9. 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/ """ ...
[ "sc17jjhh@leeds.ac.uk" ]
sc17jjhh@leeds.ac.uk
abeee0a41c8430a1ec73728748161b3758a74b77
3b662ff24ba24b09e4de7ceb2c2d3bd298591e88
/Python/libraries/recognizers-number-with-unit/recognizers_number_with_unit/number_with_unit/extractors.py
757cb5c9e949ff59c7d4e4ba56149821509b421a
[ "MIT" ]
permissive
gzhebrunov/Recognizers-Text
39d916e891a09b26032430184dc90394e197d195
157daf7ac85cc5b4e1e708aed8f96601fd28a612
refs/heads/master
2020-04-03T13:51:32.840384
2018-10-30T01:22:05
2018-10-30T01:22:05
155,301,539
0
0
MIT
2018-10-30T00:48:07
2018-10-30T00:48:06
null
UTF-8
Python
false
false
15,594
py
from abc import ABC, abstractmethod from typing import List, Dict, Set, Pattern, Match from copy import deepcopy from collections import namedtuple from itertools import chain import regex from .constants import * from recognizers_text.utilities import RegExpUtility from recognizers_text.extractor import Extractor, Ex...
[ "tellarin@gmail.com" ]
tellarin@gmail.com
9b25bdfd056b7f6af3b11a60b7b9bc218f607fc7
32fe3359e8c3dd7110d23ddab5c9fd3f8c488440
/kickstart/kickstart/models.py
f7e278b56c061d571af8b9a729d6ba91b28623bc
[]
no_license
tutortalk/django_kickstart
35fe18598becbb8ddbb66ad54227de9346b25cdc
201ecec7908de72266710af382978fba2f6739f4
refs/heads/master
2021-01-02T08:56:45.788347
2014-01-26T13:48:53
2014-01-26T13:48:53
null
0
0
null
null
null
null
UTF-8
Python
false
false
9,675
py
import os from django.db import models from django.contrib.auth.models import User from pytils.translit import slugify from django.utils import timezone from django.utils.translation import ugettext_lazy as _ from django.conf import settings from easy_thumbnails.files import get_thumbnailer from django.core.mail import...
[ "moisizz@gmail.com" ]
moisizz@gmail.com
3f84b9dcb1f883353278b6f06f472d8d32a06e47
1521332438d4e711b6fa4af825047a3466925511
/WorkshopWeek8/problem5.py
1925e67c31009097d9b36fdcb1b950cb256b497e
[]
no_license
JakeAttard/Python-2807ICT-NoteBook
df0907bdca9ff10f347498233260c97f41ea783b
9a38035d467e569b3fb97f5ab114753efc32cecc
refs/heads/master
2020-04-26T17:33:18.184447
2019-11-05T13:04:56
2019-11-05T13:04:56
173,717,675
3
1
null
null
null
null
UTF-8
Python
false
false
615
py
def function(list, diff): counter = 1 for a in list[::2]: for b in list[1::2]: if int(b) - int(a) == diff: counter += 1 elif int(b) - int(a) == -1 * diff: counter += 1 else: break return counter def testString(a): ...
[ "jakeattard18@gmail.com" ]
jakeattard18@gmail.com
9a23ec200ff08940a0fb345e73430f25aba9414f
9d95d451eb26e862ca8867d463b723b06c16f5bc
/wiki_top_words/manage.py
2e065d1a8fc2e721a1ac315eaea5349a5f4458fe
[]
no_license
shurik2533/wiki_top_words
4a02427f60852a19b33e495203a061e4105053df
df54ba7b1f3bdf4c6f17ce1ae227ecd1eae9a22c
refs/heads/master
2020-05-05T11:37:25.850282
2019-04-14T14:52:46
2019-04-14T14:52:46
179,996,821
0
0
null
null
null
null
UTF-8
Python
false
false
546
py
#!/usr/bin/env python import os import sys if __name__ == '__main__': os.environ.setdefault('DJANGO_SETTINGS_MODULE', 'wiki_top_words.settings') try: from django.core.management import execute_from_command_line except ImportError as exc: raise ImportError( "Couldn't import Djang...
[ "shurik2533@Aleksandrs-MacBook-Pro.local" ]
shurik2533@Aleksandrs-MacBook-Pro.local
104ae0e1215c1ecdfe021a82e06a809c19ef9c39
82b194b063eadfb57d3e3e83b41279c122a33b53
/movies/admin.py
78c3c95dd96a45e613bc967166ee7f8e5e95dd6c
[]
no_license
AnupKandalkar/ssdb_django_angular_heroku
8c02a3a8751ffaf5957895bf4a27add2fe7d004a
91619f128728d42f15e26dd0c57ad36fab1fd79c
refs/heads/master
2021-01-21T21:40:16.190289
2019-01-16T17:36:08
2019-01-16T17:36:08
50,094,286
0
0
null
null
null
null
UTF-8
Python
false
false
149
py
from django.contrib import admin from models import * # Register your models here. admin.site.register(MoviesData) admin.site.register(MoviesGenre)
[ "kandalkar.a87@gmail.com" ]
kandalkar.a87@gmail.com
7646e70cd05301a9d704f982477baddb00f8a39a
58bba1cf855244591eba578f71fd733c5484af61
/myapp/mongoconnect.py
ab05718e32f5a08f97458f0dd932bd11173f9532
[]
no_license
cowhite/restaurant_system
f911ebc2989d291165e9130f0711f182723542d3
b0849dff649ebe9f301f6d824dca7c14fe804b68
refs/heads/master
2023-05-15T20:45:10.510206
2021-06-11T09:06:51
2021-06-11T09:06:51
375,705,389
0
0
null
null
null
null
UTF-8
Python
false
false
384
py
from pymongo import MongoClient import os #CODE_TYPE = os.environ['CODE_TYPE'] CODE_TYPE = os.environ.get('CODE_TYPE', "dev") def connect_to_mongo(): if CODE_TYPE == "dev": client = MongoClient('localhost', 27017) return client.dev_db elif CODE_TYPE == "prod": client = MongoClient("mong...
[ "bljd369@gmail.com" ]
bljd369@gmail.com
20fa7b8ada3d03a343ebc33095b3bb86e9ea1111
d76eaf771f4dfcaa30110281a7d783da60689c9b
/Lesson_1/task_6.py
125c346fe4291540740247338a2241a406250790
[]
no_license
MyodsOnline/diver.vlz-python_basis
404a4a5883ba350613c6c5349d534e81ced2385f
9538372a7d93f42ef72bba23ab8b0d8760103a67
refs/heads/python_basis
2023-02-12T19:47:04.033780
2021-01-11T05:56:43
2021-01-11T05:56:43
318,102,061
1
0
null
2021-01-11T05:56:44
2020-12-03T06:48:55
Python
UTF-8
Python
false
false
1,381
py
"""урок 1 задание 6 Спортсмен занимается ежедневными пробежками. В первый день его результат составил a километров. Каждый день спортсмен увеличивал результат на 10 % относительно предыдущего. Требуется определить номер дня, на который общий результат спортсмена составить не менее b километров. Программа должна принима...
[ "diver.vlz@gmail.com" ]
diver.vlz@gmail.com
13a587656896590a285c2380d20b3708d1e6ffa7
439d2d30b61514bd6a9072c175b124c63f124834
/data_statistics/base/total.py
19d25ef609d1c29858e834396f6f32382acd7562
[]
no_license
meteor-gogogo/python
6f92e3a680c653f92a8d9b04a2d09be6d6ea126a
7d03e2f57d4dfb7c7aeb15bf836a6e0d4af9b89d
refs/heads/master
2022-12-10T07:45:31.085951
2019-09-04T06:01:50
2019-09-04T06:01:50
197,333,904
0
1
null
2022-12-08T05:19:07
2019-07-17T07:01:55
Python
UTF-8
Python
false
false
190
py
#!/usr/bin/env python # coding=utf-8 from .baselist import BaseList class TotalList(BaseList): @classmethod def is_registrar_for(cls, listtype): return listtype == 'total'
[ "liuhang@aplum.com.cn" ]
liuhang@aplum.com.cn
b5ff8d15d1586adaa2f9fbccbee1571b6f987707
2f66a358372ac20bbb5e3949a7ee37768b82f49e
/scripts/simuPOP/tests/old/parallel_run_adaptive_collapsing_permute3.py
aac315cb7c3620ede87fef444c05511aadd9f5cb
[]
no_license
cwolock/rvat
ab9648e6d1c480c71a7aa1d3428c881db0cd62e9
9643e4e2f5ca23a090fcd5cd8f3ed56e69bf824d
refs/heads/master
2021-09-17T22:41:27.077915
2018-07-06T04:04:08
2018-07-06T04:04:08
108,668,177
0
0
null
null
null
null
UTF-8
Python
false
false
2,384
py
#!/usr/bin/env python """ parallel_run_adaptive_collapsing_permute.py Collects *.smp, *.spl, *regions.txt files and runs adaptive collapsing in parallel """ import luigi import os from adaptive_collapsing_permute3 import * class RequireFiles(luigi.ExternalTask): """ Class for checking that necessary files ...
[ "cwolock@gmail.com" ]
cwolock@gmail.com
d7ef8890a6ce56916383b518e78a04c723e683ff
0fccee4c738449f5e0a8f52ea5acabf51db0e910
/genfragments/EightTeV/BprimeBprime/BprimeBprimeToBHBZinc_M_950_TuneZ2star_8TeV-madgraph_cff.py
425c01667e5ad92ae0b9a16636c284b2b8579120
[]
no_license
cms-sw/genproductions
f308ffaf3586c19b29853db40e6d662e937940ff
dd3d3a3826343d4f75ec36b4662b6e9ff1f270f4
refs/heads/master
2023-08-30T17:26:02.581596
2023-08-29T14:53:43
2023-08-29T14:53:43
11,424,867
69
987
null
2023-09-14T12:41:28
2013-07-15T14:18:33
Python
UTF-8
Python
false
false
6,054
py
import FWCore.ParameterSet.Config as cms #from Configuration.Generator.PythiaUEZ2Settings_cfi import * from Configuration.Generator.PythiaUEZ2starSettings_cfi import * generator = cms.EDFilter("Pythia6HadronizerFilter", pythiaHepMCVerbosity = cms.untracked.bool(False), maxEventsToPrint = cms.untracked.int32(0)...
[ "sha1-5c9a4926c1ea08b633689ec734e2440da58b8c56@cern.ch" ]
sha1-5c9a4926c1ea08b633689ec734e2440da58b8c56@cern.ch
19d2071c90dfbf39c31669b82ef26d4c0d376a89
4edd89e807ac9a70d4fb4a258015e6889b01ff27
/md5decoder.py
f0610781b1f9b91c3f091c3120739488857dd15c
[]
no_license
karimmakynch/PYTHON
ca68576fb3079fdd56559959edb3b4e1ba8ccf04
4842269368d49a3954c39ce4e8f2a0bc03b2e99c
refs/heads/main
2023-03-15T21:16:38.610893
2021-02-26T05:42:26
2021-02-26T05:42:26
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,191
py
# -*- coding: utf-8 -*- import hashlib import sys #variables count = 0 tour = 0 tourclone = 0 tourx = 0 creds = '' part = 1 inputfilelines = 0 try: try: inputfile = sys.argv[1] dicfile = sys.argv[2] outputfile = sys.argv[3] fout = open(outputfile,'w') fouttx = '[+] inputfile: '+str(inputfile)+' Dict...
[ "root@localhost.localdomain" ]
root@localhost.localdomain
b56fd06fa63effc6cecdeb64776d8258e2d824e3
3a31bd9928d4c81ab2a1e48a8c584fe17b7c4151
/GAF-CLEANING-master/houseCleaning/pages/migrations/0003_auto_20210120_1725.py
7034ef39f83a8db1c0b220ed0eaf1e87381f84f3
[]
no_license
shahzaibk23/Cleaning
a60921b7172cfb60478d33d2057413a9878708bb
3bb98a1433165394519c9b91ba551b165c791568
refs/heads/main
2023-05-07T04:21:34.356430
2021-02-27T10:27:16
2021-02-27T10:27:16
340,332,051
0
0
null
2021-06-01T23:18:54
2021-02-19T10:16:56
Python
UTF-8
Python
false
false
595
py
# Generated by Django 3.1.5 on 2021-01-20 17:25 from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): dependencies = [ ('pages', '0002_auto_20210120_1722'), ] operations = [ migrations.RemoveField( model_name='panel'...
[ "72767591+MR-Pvt@users.noreply.github.com" ]
72767591+MR-Pvt@users.noreply.github.com
943b2967a8d699984b0a857aaa42eea8529a4414
6bbd3825d7b1329215a128f93cdb807747fe5fc7
/python-jenkins/jenkins-plugins.py
b1e0d8a21cec28d2f25c1126257c521082ada4ba
[]
no_license
Shwebs/ci-cd-with-jenkins-using-dsl-pipelines-and-docker
e0c43d0640c0834ff4d67813d1b541ddee5b8081
d42d500835d8798ac4cd9708681e3ddbb00ef99d
refs/heads/master
2023-03-16T07:29:49.763589
2019-04-09T11:56:29
2019-04-09T11:56:29
null
0
0
null
null
null
null
UTF-8
Python
false
false
630
py
import sys import jenkins import json import credentials # Credentails username = credentials.login['username'] password = credentials.login['password'] # Print the number of jobs present in jenkins server = jenkins.Jenkins('http://localhost:8080', username=username, password=password) # Get the installed Plugin ...
[ "bdas@broadsoft.com" ]
bdas@broadsoft.com
02bf83316933dda91a9241311fb8fae755d4f00c
f4a6dea2ba16ea6957754a91220627d33e88390b
/app/models.py
b939137301c403f1a6a9fc949df24ce3fb403db7
[]
no_license
simplc/ZDBK
acde035a19690608f84ca1d7df3af2377d0ccf4e
487c4f922b9f01c7687b5c02fefdcbaa72c26ef8
refs/heads/master
2020-06-03T09:05:10.321796
2019-06-14T07:18:52
2019-06-14T07:18:52
191,517,561
0
0
null
null
null
null
UTF-8
Python
false
false
3,537
py
from _datetime import datetime import json from sqlalchemy.dialects.mysql import LONGTEXT from . import db class BaiKeDoc(db.Model): __tablename__ = 'baike_doc' doc_id = db.Column(db.Integer, unique=True, primary_key=True, autoincrement=False) title = db.Column(db.String(255)) description = db.Column...
[ "liuchen81195@gmail.com" ]
liuchen81195@gmail.com
fe1c9c57c7c1417f62e68d17bddeb9fbf2dbca82
f3bacae751b8b50acf8ee60cfa739619ba296574
/horovod/data/data_loader_base.py
68780717481715cb58aa2e8dc9647edf571ff256
[ "BSD-3-Clause", "Apache-2.0", "BSD-2-Clause" ]
permissive
Tixxx/horovod
295ba368aba7749a87010e809b599eb58f1bf7db
bc8c71b3138a4c5f77773bfd3291bd1027598a13
refs/heads/master
2021-08-28T00:23:49.014274
2021-08-06T14:42:50
2021-08-06T14:42:50
194,719,288
3
2
NOASSERTION
2019-10-29T18:06:56
2019-07-01T17:55:47
C++
UTF-8
Python
false
false
4,597
py
# Copyright 2019 Uber Technologies, Inc. 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...
[ "noreply@github.com" ]
noreply@github.com
4452fbde5d0694f9c4907cd8efffcb4f97437d44
6cb9088222b842ee8a70e164adc06cd840a190c0
/parser.py
71295555cf3406f50bc15fe3f8fd75edac0e3749
[]
no_license
tef/toyparser
a259f1b06a39d056fd6e5baf91c6301e9199f5b1
37f87035df92f8d3907d6a47ed0d616b678722cf
refs/heads/master
2021-01-10T02:58:42.856747
2015-10-06T02:17:04
2015-10-06T02:17:04
43,529,378
1
0
null
null
null
null
UTF-8
Python
false
false
14,762
py
from __future__ import print_function, unicode_literals """ An operator precedence parser that handles expressions. The trick here is what's known as precedence climbing, or left corner transform, or pratt parsing, and a litany of other names. The trick is frequenly re-invented. It's basically recursive descent + a w...
[ "tef@twentygototen.org" ]
tef@twentygototen.org
035f2485d9238b11a68df3adc4d304e7add9874d
2687412dd10032667e50e74d9d3f832133bc2536
/code/disasters/reload_landslide_data.py
9963d89459014edca49ca7efbc21837e02e92c30
[ "MIT" ]
permissive
wfp-ose/sparc2-pipeline
644e040c27517889c84598c34397c06f3d82ca96
fdd3bd29426d9231956f449cb5e78afd33446a8a
refs/heads/master
2021-01-17T18:07:58.641768
2016-12-02T12:40:54
2016-12-02T12:40:54
57,199,382
0
1
null
null
null
null
UTF-8
Python
false
false
1,144
py
from geodash.enumerations import MONTHS_SHORT3 from geodash.data import GeoDashDatabaseConnection print "Inserting Landslide Data..." print "..." print "" prob_classes = [ {'input': 'low', 'output_text': 'low', "output_int": 1}, {'input': 'medium', 'output_text': 'medium', "output_int": 2}, {'input': 'high', '...
[ "pjdufour.dev@gmail.com" ]
pjdufour.dev@gmail.com
d893d6bda716d9a47904627e4d218b88be59669f
6fcfb638fa725b6d21083ec54e3609fc1b287d9e
/python/pytorch_pytorch/pytorch-master/test/test_sparse.py
11b51eaf3f1f94a07eaf3d721684547d9a17be77
[]
no_license
LiuFang816/SALSTM_py_data
6db258e51858aeff14af38898fef715b46980ac1
d494b3041069d377d6a7a9c296a14334f2fa5acc
refs/heads/master
2022-12-25T06:39:52.222097
2019-12-12T08:49:07
2019-12-12T08:49:07
227,546,525
10
7
null
2022-12-19T02:53:01
2019-12-12T07:29:39
Python
UTF-8
Python
false
false
6,617
py
import torch from torch import sparse import itertools import random import unittest from common import TestCase, run_tests from numbers import Number SparseTensor = sparse.DoubleTensor class TestSparse(TestCase): @staticmethod def _gen_sparse(d, nnz, with_size): v = torch.randn(nnz) if isi...
[ "659338505@qq.com" ]
659338505@qq.com
9f4d7a3e21d712a9f322de4e2a8fdacc5bce00d0
f3ad19f5426baccd9ed1704e4552795e0c3e2f76
/df_goods/models.py
ebb84d275af140a1b9ff10139fcaa6781326e965
[]
no_license
zhbowei/dailyfresh
0195bab188c95ce43cd3c3c097215b62cb4164c8
738b689c6494140a3900bc297f7666f427fc7253
refs/heads/master
2020-03-23T15:45:12.652039
2018-07-25T04:50:44
2018-07-25T04:50:44
141,772,196
0
0
null
null
null
null
UTF-8
Python
false
false
978
py
from django.db import models from tinymce.models import HTMLField # Create your models here. class TypeInfo(models.Model): title = models.CharField(max_length=20) isDelete = models.BooleanField(default=False) def __str__(self): return self.title class Meta: verbose_name = '分类信息' ...
[ "770516093@qq.com" ]
770516093@qq.com
c1c1a1b4bcf10a914af1f1fbd3c74728f03b7356
5d79ca9f873645a9a78636549bda2d111d07d856
/diff_classifier/knotlets.py
176ef34ec244a67e743721ff2a5846439280c541
[ "MIT" ]
permissive
hugopontess/diff_classifier
a8474b551cb67fd4765d26a52395f1fdd3eca538
9d093a2436edb838edc8094e7e4b70bcd34c6eeb
refs/heads/master
2020-04-25T19:01:09.492732
2019-02-27T16:45:22
2019-02-27T16:45:22
null
0
0
null
null
null
null
UTF-8
Python
false
false
15,866
py
'''Functions to submit tracking jobs to AWS Batch with Cloudknot This is a set of custom functions for use with Cloutknot for parallelized multi-particle tracking workflows. These can also be used as template if users want to build their own parallelized workflows. See Cloudknot documentation at https://richford.githu...
[ "ccurtis7@uw.edu" ]
ccurtis7@uw.edu
dfa52f8f4a5c08260ca6f9c4014300383b6ab5f7
dd9571236f35807e130bb987b4f1f5f0b2676efb
/users/admin_user_api.py
41fce13a4ea094ff16f8ec70ab22cde148d74c67
[]
no_license
sekhorroy/bysterdjango
58337e6ac1191ae945fcbd2ec1c47229e598a570
fd016bcc3414875cd874a3c69733722815a84e05
refs/heads/master
2022-12-13T12:49:04.802319
2020-09-06T06:28:50
2020-09-06T06:28:50
292,861,164
0
0
null
null
null
null
UTF-8
Python
false
false
2,411
py
from rest_framework.exceptions import ValidationError from rest_framework.generics import CreateAPIView, RetrieveUpdateDestroyAPIView, ListAPIView from rest_framework.permissions import AllowAny from rest_framework import status from rest_framework.response import Response from rest_framework_jwt.authentication import ...
[ "apple@Apples-MacBook-Pro.local" ]
apple@Apples-MacBook-Pro.local
6232ebe6eff361b09c7c59f0adc47853d7dff360
5fade7b0061d0e1210c34eae7c5061efeb7e4723
/cscWebsite/news_events/views.py
516dc7cf1cb8828f8d3e22113efc7ce15df65987
[]
no_license
Mbobby/ComputerScience-MathematicsWebsite
ed9e02a699452f57b8185b300bbe73f0ac47f3b3
13bff4669fa9172cd2a3527b3f1dcea864446c36
refs/heads/master
2021-01-22T17:40:05.149451
2017-04-25T16:14:15
2017-04-25T16:14:15
85,029,438
0
0
null
null
null
null
UTF-8
Python
false
false
1,962
py
from django.shortcuts import render from models import Events, News from django.core.paginator import Paginator, EmptyPage, PageNotAnInteger # Create your views here. def index(request): events = Events.objects.order_by('event_date')[:3] news = News.objects.order_by('-pub_date')[:3] context = {"news": news, "events...
[ "mongemmanuel@gmail.com" ]
mongemmanuel@gmail.com
fd89b6b80d768122ff62323673921e21f05b7c1b
8f6224be647a7b3c46ff337c0c4c7d6162b52b63
/2017/Round 1C/baby.py
a99dd144cb76093df3296017b8ce4ca324759066
[]
no_license
samMeow/googleCodeJam
6948728416e4480da28dcbbe54c28dc12756d8bc
18917c0a3f5f0542c76a7c451f42688319606bfc
refs/heads/master
2022-06-14T05:44:03.130884
2022-06-04T03:04:56
2022-06-04T03:04:56
87,523,233
0
0
null
null
null
null
UTF-8
Python
false
false
1,805
py
import sys from itertools import repeat from functools import reduce import math if len(sys.argv) < 3: print("Usage `python3 base input_file output_file`") sys.exit(1) def readFile(filename): data = [] ac_datum = [] aj_datum = [] with open(filename) as f: line = f.readline() ac_datum_line = 0 aj_datum_li...
[ "kwokyinlun@gmail.com" ]
kwokyinlun@gmail.com
2e71f64795ff3a59b5427e3fc329aaf19605ff01
9037e63a73d0f2e9f239351472d856572a6992c3
/mean_teacher/architectures.py
5471de49836c5638e40ebb5dc9d20e37fa410e24
[]
no_license
huhengtong/one-bit-supervision
cb84c8c063b5d4defd43e237dba27392c7dcc4aa
7e74114af6e8b887b54df50c3829c2ce7a0627e2
refs/heads/main
2023-05-02T00:49:10.232444
2021-05-21T03:14:56
2021-05-21T03:14:56
303,673,704
7
1
null
null
null
null
UTF-8
Python
false
false
11,007
py
import sys import math import itertools import torch from torch import nn from torch.nn import functional as F from torch.autograd import Variable, Function from .utils import export, parameter_count @export def cifar_shakeshake26(pretrained=False, **kwargs): assert not pretrained model = ResNet32x32(ShakeS...
[ "noreply@github.com" ]
noreply@github.com
ee7c3478d0e0dfeaa6a0a7d49dbdf9812ce0fca6
5f676f009c06bcaad52bc97f1895eb1f55cb2133
/Py-Solutions/Problem-14.py
4f9beb28ca31af99080c8cf599630c5463aad0f0
[]
no_license
MikeCalabro/euler-everywhere
b9841cacf3db00347d38add01d857a94c4d0a63e
efaaa317b4cc4326778531da28156c7ef3d497b8
refs/heads/main
2023-02-21T16:51:08.520838
2021-01-20T20:01:24
2021-01-20T20:01:24
323,172,665
0
0
null
null
null
null
UTF-8
Python
false
false
504
py
# Which starting number, under one million, produces the longest Collatz chain? def longestCollatz(limit): max_len = 0 max_starter = 0 for n in range(3,limit): starter = n chain_len = 1 while n > 1: if n % 2 == 0: n = n/2 else: n = 3*n+1 chain_len += 1 if chain_l...
[ "michael_calabro@college.harvard.edu" ]
michael_calabro@college.harvard.edu
fa2b8e4b4b31c5976cfa0868ac3565ea5a72106b
d0da63b99ae1accdbb4167e5e70590656599bd86
/New folder/ping_pong.py
a8b346d057d21c93c27f329cfc47d20543a657e9
[]
no_license
chaudharykapil/ping_pong_game
775b13913677ceb051743b42c2f865574af59b0b
07e3f02bddba618fcbaa000d1295e39b0fda3a4b
refs/heads/master
2023-04-12T13:25:08.753125
2021-04-30T19:34:01
2021-04-30T19:34:01
300,169,065
1
0
null
2020-10-01T06:20:14
2020-10-01T06:20:14
null
UTF-8
Python
false
false
4,536
py
import turtle from pygame import mixer import random dx = 0 dy = 0 chng_pan = 0 usr_1_scor = 0 usr_2_scor = 0 pause = False mixer.init() mixer.music.load('hit.wav') def moveBall(): global dx,dy,usr_1_scor,usr_2_scor,pause,chng_pan lim_x,lim_y = (500/2)+30,210 curr_x,curr_y = ball.pos() if...
[ "noreply@github.com" ]
noreply@github.com
f5ba807cf4377fe11e6a9eac40676eed893527a6
fe1349a9bd25586f830f2a44618a4012ea20184a
/stanford_tf_research/01_plot_histogram_random.py
838a63c687196773d418188816a03661ad3095dc
[]
no_license
EmbraceLife/LIE
cdca29b8308f2cd7740743cea379a72d7bde51db
8c30b6aabc5842092c18dd97a0c20aa19f62000f
refs/heads/master
2022-12-04T05:56:37.393552
2017-08-16T04:54:55
2017-08-16T04:54:55
87,597,172
4
3
null
2022-11-26T15:26:45
2017-04-08T00:39:27
Python
UTF-8
Python
false
false
1,477
py
""" ========================================================= Demo of the histogram (hist) function with a few features ========================================================= In addition to the basic histogram, this demo shows a few optional features: * Setting the number of data bins * The ``normed`` flag...
[ "1227561934@qq.com" ]
1227561934@qq.com
7f47bf2696c9a907c2e8401c4fb244db09781782
7810e57e7851f4c2559faa114c84260d6fd69673
/tutorial/urls.py
48c3a7db603504468902c84261539df43d25bb1a
[]
no_license
juliakimchung/rest-framework-tutorial
ae40c4f990118d15c2d88557831025d6f8d1c5f8
9dc1941d5d2117e75daca5ed3f58407c2e43a7cc
refs/heads/master
2021-01-11T18:46:16.163371
2017-01-21T04:03:19
2017-01-21T04:03:19
79,622,570
0
0
null
null
null
null
UTF-8
Python
false
false
527
py
from django.conf.urls import url, include from rest_framework import routers from tutorial.quickstart import views router = routers.DefaultRouter() router.register(r'users', views.UserViewSet) router.register(r'groups', views.GroupViewSet) # Wire up our API using automatic URL routing. # Additionally, we include logi...
[ "julhkm@gmail.com" ]
julhkm@gmail.com
1a7ee7ad25d703905a1b326105e18c566f03cf65
d7cd51a7aaa9bd5a7c39409a39d1be1944ecb9c4
/Assignments/Python_Stack/Django/Django_ORM/users_template/users_template/wsgi.py
5725974a941c17bdca19fd76e2fc66d918edd371
[]
no_license
Geneveroth/Coding_Dojo_Assignments
ae525e6d95e0f3fcf10b44a6734e8996b53ec7e1
9643845e237d5029de03dfe1ae2d43a49350ba22
refs/heads/master
2022-12-23T18:46:08.971696
2020-07-21T20:44:17
2020-07-21T20:44:17
251,153,510
0
0
null
2021-01-06T03:08:14
2020-03-29T23:10:09
Python
UTF-8
Python
false
false
405
py
""" WSGI config for users_template 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/3.0/howto/deployment/wsgi/ """ import os from django.core.wsgi import get_wsgi_application os.environ.setdefault('DJANG...
[ "black.samlh@gmail.com" ]
black.samlh@gmail.com
b747a70cecd7534e41ef25e34ab1630cbfc4c525
f18e139c88098005ebf6e71cebacca43166c79cd
/ch4/squares.py
824e3b3eb79d880e35349345e349b42ed193a32e
[]
no_license
Levanoz2/pcc
6b981c91be6e95ab1ecf8e576ab0771a56a03611
8253db8bf31100b72146650031febf26485951eb
refs/heads/master
2023-09-05T16:23:30.935168
2021-11-11T18:34:06
2021-11-11T18:34:06
null
0
0
null
null
null
null
UTF-8
Python
false
false
250
py
squares = [] for value in list(range(1, 11)): square = value ** 2 # print(f"{value} squared is equal to {square}") # print(f"adding {square} to squares") squares.append(square) # print('squares = ' + str(squares)) print(squares)
[ "gabesfordev@gmail.com" ]
gabesfordev@gmail.com
648e5ca36c4d9b01db5a8637ad045c23b07bf7f6
80aabbd44790ec4feee93624f61c29e87d691d6a
/drawBot/ui/drawView.py
24fac94c74d4a3c9c44d2a34358e011c780327b5
[ "BSD-3-Clause", "BSD-2-Clause" ]
permissive
asaumierdemers/drawbot
546961ead63f71859725a87f190f7ebbd45995f2
9ba1ef902bdd5c8e291d5d6835e09f05bfa00261
refs/heads/master
2020-12-25T19:59:00.391766
2016-08-05T10:04:57
2016-08-05T10:04:57
29,844,501
0
0
null
2015-01-26T04:12:30
2015-01-26T04:12:30
null
UTF-8
Python
false
false
2,955
py
from AppKit import * from Quartz import PDFView, PDFThumbnailView, PDFDocument from vanilla import Group epsPasteBoardType = "CorePasteboardFlavorType 0x41494342" class DrawBotPDFThumbnailView(PDFThumbnailView): def draggingUpdated_(self, draggingInfo): return NSDragOperationNone class ThumbnailView(...
[ "frederik@typemytype.com" ]
frederik@typemytype.com
b24bb4d5da2b1cc530f38ea45051ecb301423349
6fcfb638fa725b6d21083ec54e3609fc1b287d9e
/python/explosion_spaCy/spaCy-master/spacy/language.py
bebdeab20b61bc4446c9cf4acb5b82d330363308
[ "MIT" ]
permissive
LiuFang816/SALSTM_py_data
6db258e51858aeff14af38898fef715b46980ac1
d494b3041069d377d6a7a9c296a14334f2fa5acc
refs/heads/master
2022-12-25T06:39:52.222097
2019-12-12T08:49:07
2019-12-12T08:49:07
227,546,525
10
7
null
2022-12-19T02:53:01
2019-12-12T07:29:39
Python
UTF-8
Python
false
false
15,022
py
from __future__ import absolute_import from __future__ import unicode_literals from warnings import warn import pathlib from contextlib import contextmanager import shutil import ujson as json try: basestring except NameError: basestring = str from .tokenizer import Tokenizer from .vocab import Vocab from ...
[ "659338505@qq.com" ]
659338505@qq.com
18f6e39dba7d10b57e3c9aba5cd962eb49d61030
122d71f2003123cf9141860c57fcef2f8357e25e
/excel_marksheet_generator_project.py
108db139f13fbc1b56ba0fe3fdbfd967ef782cae
[]
no_license
chaitanya-lohar/Python-programs
f1812893a53c8a525387cafc2fe33e4424cfd5e3
3003624ac2653cd61cae1d1971abf5f14ebb7e53
refs/heads/master
2022-11-13T06:03:22.570061
2020-07-09T08:12:37
2020-07-09T08:12:37
278,299,386
0
0
null
null
null
null
UTF-8
Python
false
false
722
py
import openpyxl as xl from openpyxl.chart import BarChart,Reference def marksheet_generate(filename): wb=xl.load_workbook("marks.xlsx") sheet=wb["Sheet1"] cell1=sheet.cell(1,1) print(cell1.value) sum=0 for row in range(3,sheet.max_row-1): cell1=sheet.cell(row,2) sum=s...
[ "noreply@github.com" ]
noreply@github.com
04d6541daf0a5a782f444e495432b9f0bc9d80a1
fcaa0395a7c6aa74cbc47c40f35fdc312e44b9c5
/aok/comparisons/_basics.py
30b87c970c9d3869bf7cb89261e8ca2a4506b453
[]
no_license
rocketboosters/a-ok
b6f1a70d262123c2df5e4969a687cbcfdfbafc8c
06f31404a4ce34d561253ba74b533ce3fb73c60c
refs/heads/main
2023-09-02T19:18:18.158296
2021-11-03T01:54:36
2021-11-03T01:54:36
388,142,177
0
0
null
null
null
null
UTF-8
Python
false
false
7,951
py
import typing import yaml from aok import _definitions from aok import _operations class Equals(_definitions.Comparator): """Compares two values as an equality.""" def _compare( self, observed: typing.Any, subset: bool = False, ) -> typing.Union[_definitions.Comparison, bool]: ...
[ "swernst@gmail.com" ]
swernst@gmail.com
b7ffbd9e5f8d2aa067a0e7fc422bbcec459a3281
7ab0fddb577c06989c3718fd50f7250fcbe81821
/JurgenPeter/ql/traversals/dependency_checker.py
5d9fd243a6a51c89c991a5c2e2e1f94ffb6b6ff0
[]
no_license
thanus/myriad-ql
54ce0d4dfbd5336c9f5c1d9b7ebf7072d6bdb4a0
a7294c108f35a4b1c0ba90982aa41f93f7a68a51
refs/heads/master
2020-12-02T17:45:40.794417
2017-04-24T20:39:04
2017-04-24T20:39:04
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,251
py
from collections import defaultdict from misc.visitor import CheckerVisitor from ql.traversals.dependency_finder import DependencyFinder class DependencyChecker(CheckerVisitor): def __init__(self, errors=[]): self.known_dependencies = defaultdict(list) self.errors = errors def check(self, n...
[ "jurgen.baas@outlook.com" ]
jurgen.baas@outlook.com
5876891d12a98776210d975330a0ebd2b15e82b7
787f2f9c40bc029061683e979c5acbf00cc35434
/tests/test_fs.py
bba86334837c0c4d82690bf011e3f94dcf94f20e
[ "Apache-2.0" ]
permissive
johnpaulett/mazel
a809a0694485053f8a1c379a2214bd3b16a6047c
b8cfc92e967c5150aa5cf116ed872df7ca2eb448
refs/heads/main
2023-03-16T04:06:17.399004
2022-09-05T16:26:28
2022-09-05T16:28:43
230,663,994
0
0
null
null
null
null
UTF-8
Python
false
false
983
py
from pathlib import Path from unittest import TestCase from mazel.fs import cd from .utils import abspath def cwd(): return Path.cwd() class CdTest(TestCase): def setUp(self): self.current_dir = abspath("..") # tests run from package root self.other_dir = abspath("examples/simple_workspac...
[ "john.paulett@equium.io" ]
john.paulett@equium.io
1c79a147eb625f03988ddf93f50550b1d00a41bb
f481098e027bd92178257229b1e2f123b174da79
/apps/interview/__init__.py
d4ed308085a35479f6b96b604a80250c62362722
[]
no_license
shiqianlong/job_cms
9e53077bc2f3037659d39326188b59b169c29613
8b8253aafae3b29a93029accf5ea5a1c296fef6e
refs/heads/master
2023-07-27T18:21:24.527160
2021-09-09T09:45:27
2021-09-09T09:45:27
364,789,106
0
0
null
null
null
null
UTF-8
Python
false
false
59
py
default_app_config = 'apps.interview.apps.InterviewConfig'
[ "shiqianlong@nsfocus.com" ]
shiqianlong@nsfocus.com
a2afcdbb25e5d5358991ecaf4ea9ef99624a88ba
912021bc754e9b6f62efaf0d69e4179dda376d62
/splatify/spopulate.py
5d26f2fcf6d4c130bc7636eab1a4cff76fea7336
[]
no_license
micnem/splatify
5439cfb21ada1b194cea3f17661b9e02dd60d403
792e3be4bd9bcc2c34ace6dd0aea3acf512b8829
refs/heads/master
2023-07-22T02:39:34.123446
2023-02-18T21:55:37
2023-02-18T21:55:37
123,298,090
2
1
null
2023-07-15T00:54:42
2018-02-28T14:42:28
Python
UTF-8
Python
false
false
7,334
py
from django.shortcuts import render, redirect import spotipy from spotipy.oauth2 import SpotifyOAuth from requests import Request, post from .models import Artist, TopArtist, RelatedArtist, Profile from django.utils import timezone from datetime import timedelta import requests as r import json import base64 from spla...
[ "michael.nemni@gmail.com" ]
michael.nemni@gmail.com
01ba08cce655859e38e1ae12bb6490855debc6d1
63e7f6c96651030d0e379e7babd1af33d3244f72
/core/criterions/sm.py
2f2ef3cf401b8d5e26717e7336b9b8cdff2ae7b3
[]
no_license
WN1695173791/VaGES
18086f4197986721cdeefd5567815bab3a18e979
5c0c29b5c2864a1a2b2bd61b8561be70de231878
refs/heads/main
2023-02-25T16:14:13.920635
2021-02-05T03:07:42
2021-02-05T03:07:42
null
0
0
null
null
null
null
UTF-8
Python
false
false
4,771
py
__all__ = ["ssm", "dsm", "mdsm", "SSM", "DSM", "MDSM", "make_ssm_noise", "make_mdsm_sigmas"] import torch import torch.autograd as autograd import numpy as np from .base import NaiveCriterion import core.utils.managers as managers import core.func as func from core.lvm.base import LVM def make_ssm_noise(*size, noi...
[ "2978777543@qq.com" ]
2978777543@qq.com
c36f58b52ce68f0259e9453934cfe86a3e24a7d2
6330f5caa7dbe4bb8045808b8edc6d49a5bd1000
/Python3/ElectionResult.py
97b89e02e5fe5390b7afdcdc109e9f490e6893e8
[]
no_license
SteveJarosi/CodeCademy_projects
43494bbd0514c5d1eb927dd47869d93046e679ef
ae8a8ce9dba10793e681b1bd5af666705a048d52
refs/heads/main
2023-05-07T18:30:52.113524
2021-06-09T13:08:08
2021-06-09T13:08:08
336,215,765
0
0
null
null
null
null
UTF-8
Python
false
false
1,579
py
#import codecademylib import numpy as np from matplotlib import pyplot as plt survey_responses = ['Ceballos', 'Kerrigan', 'Ceballos', 'Ceballos', 'Ceballos', 'Kerrigan', 'Kerrigan', 'Ceballos', 'Ceballos', 'Ceballos', 'Kerrigan', 'Kerrigan', 'Ceballos', 'Ceballos', 'Kerrigan', 'Kerrigan', 'Ceballos...
[ "dr.jarosi@yahoo.com" ]
dr.jarosi@yahoo.com
a98ee3453af8e367bb94991bb6722e190e0aab83
604c7b40f58830c16c51b4514765a6c1915769c4
/bnop_source/b_code/core/object_model/bnop_repositories.py
e07a5d0d940ed0673114233db8b6b95c9beac9aa
[ "MIT" ]
permissive
boro-alpha/bnop
2e3a0654ddf73dce357928d399853c8d0fc936e7
ae80ce88f12f3b9d509f416aea4f19dc20f1081b
refs/heads/master
2023-06-11T17:34:42.743589
2021-06-30T07:24:51
2021-06-30T07:24:51
381,096,614
0
0
null
null
null
null
UTF-8
Python
false
false
127
py
class BnopRepositories(object): def __init__( self, uuid): self.uuid = \ uuid
[ "xibertao@borogroup.co.uk" ]
xibertao@borogroup.co.uk
15a79fad6d620b138d00e6839c6708d9b004afea
8ddc6dfb69ba997071f5aa8e96e1434c4259c95b
/qt7.py
419711774f19347423ce18c6ed16581d4f5562a1
[]
no_license
xiger78/python
74dcd728de8b7e72cb74ed46ba96c4cd7dc01d84
9657be5c4c9599a36f557edf626acfb7ab617512
refs/heads/master
2020-06-30T15:06:57.436112
2019-08-06T14:23:14
2019-08-06T14:45:02
182,071,946
0
0
null
null
null
null
UTF-8
Python
false
false
3,368
py
import sys from PyQt5.QtWidgets import (QApplication, QWidget, QGroupBox, QRadioButton, QCheckBox, QPushButton, QMenu, QGridLayout, QVBoxLayout) class MyApp(QWidget): def __init__(self): super().__init__() self.initUI() def initUI(self): grid = QGridLayout() grid.addWidget(...
[ "xiger78@gmail.com" ]
xiger78@gmail.com
a2ae0b22ecd07cda1c140e4cca4adef0b164eee2
bc3346620897273bd6f7252cefb81e6ad32130f6
/ksx1026/constants.py
2d0c6f4958bd16e6e2a732e2852d4207d4a60b13
[ "MIT" ]
permissive
Pusnow/KS-X-1026-Python
8b5e4f1a46c99f895dfd520a6495e9a70b33cb62
6497dc84e8ff185c6ad62471c8ded37a33b022b3
refs/heads/master
2022-12-07T19:26:50.107573
2022-11-24T01:59:09
2022-11-24T01:59:09
66,271,082
1
1
null
null
null
null
UTF-8
Python
false
false
7,476
py
# -*- coding: utf-8 -*- """ ==================================== Constants for KS X 1026-1 ==================================== .. moduleauthor:: Wonsup Yoon <pusnow@me.com> All constants for KS X 1026-1. Reference ============ * http://www.unicode.org/L2/L2008/08225-n3422.pdf """ from __future__ import unicode...
[ "pusnow@yonsei.ac.kr" ]
pusnow@yonsei.ac.kr
5f450882399c1537153efb6d553b14f0575cd1de
8804f70749e13604d01b71c3d3840c9573dc84a1
/src/course/migrations/0011_lecture_belongs_to.py
c03e68e25856cf11b6589fb8345ef5e474897f71
[]
no_license
hamada-kamal/students-management-system
53e1c7b681ae9081770df4546d11eb5c6519ab61
a745cb2cd116a84323a95a804442a31cabafeb71
refs/heads/master
2023-06-29T23:46:56.875830
2021-08-02T22:26:23
2021-08-02T22:26:23
392,110,650
0
0
null
null
null
null
UTF-8
Python
false
false
509
py
# Generated by Django 3.2.5 on 2021-07-08 12:55 from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): dependencies = [ ('course', '0010_lecture'), ] operations = [ migrations.AddField( model_name='lecture', ...
[ "hamadakamal819gmail.com" ]
hamadakamal819gmail.com
a02de45e9c96d2815075582d0cdd03da14cd9495
63516bf6fb88c77666c6d4942a85e3e15f34bc7f
/blog/migrations/0001_initial.py
20b4c07279af357e94596a204b972f2dd2758220
[]
no_license
erastusnzula/Django
13e3740e445427585e05c9edb85a44dc54f5053b
957a3c4cbc1ec8f436d0957cfa683bdd666a2b88
refs/heads/master
2023-07-16T14:12:33.671864
2021-08-31T10:10:05
2021-08-31T10:10:05
401,649,144
0
0
null
null
null
null
UTF-8
Python
false
false
1,269
py
# Generated by Django 3.2.4 on 2021-07-01 09:53 from django.db import migrations, models class Migration(migrations.Migration): initial = True dependencies = [ ] operations = [ migrations.CreateModel( name='Category', fields=[ ('id', models.BigAutoFi...
[ "nzulaerastus@gmail.com" ]
nzulaerastus@gmail.com
e624ee43d05f02fa4c7d7f5af15c2102132688c5
630d7cbef6488b3557b5461f4c1c56e270b91667
/TEBD/mpstest6.py
57440230562e8048f5effe5170aae4a706714bca
[ "MIT" ]
permissive
ehua7365/RibbonOperators
341eabf548b18262be8d9bd4c199a3d80b97a273
6b60eb3a6e0246b457e6d6e89ea2e01ef265746f
refs/heads/master
2021-01-10T19:09:55.446361
2014-11-04T04:41:23
2014-11-04T04:41:23
null
0
0
null
null
null
null
UTF-8
Python
false
false
10,594
py
""" mpstest6.py A test of manipulating matrix product states with numpy. 2014-08-25 """ import numpy as np import matplotlib.pyplot as plt from cmath import * from mpl_toolkits.mplot3d import Axes3D from matplotlib import cm def main(): #test1() #test2() test3() #test4() #test5() def test1(): ...
[ "ehua7365@uni.sydney.edu.au" ]
ehua7365@uni.sydney.edu.au
b29e3ade3cd2a2c6bf345197fde1325fe063977b
6660cb47a8e86495e27f33ad4ea07a91245e3cd5
/main.py
87754e243ca7e87e31f3779a544cfe7eb45cd076
[]
no_license
LADYHR/CapsNet_for_ADNI
1a981177b8b2229f9f524e070ff8fd92190f3417
7d5851baace8434e5123fb03964f775b992bf19a
refs/heads/master
2021-04-12T08:11:05.114182
2018-05-20T13:07:16
2018-05-20T13:07:16
126,023,868
0
0
null
null
null
null
UTF-8
Python
false
false
5,823
py
''' ===================================================== ===================================================== Copyright (c) 2018,LADYHR All rights reserved FileName: main.py Abstract: This is a main program. Aimed at using Capsule Network to design a classifier for AD/MCI/NC. ========================================...
[ "ladyhr@outlook.com" ]
ladyhr@outlook.com
65876a1c89f8f78806ac85f76004766b167432d2
e73bd3bd40a58aed0e00fcfc3494180b4e49c7fb
/BossZhiPin/spider/spider_boss.py
86f4e7d102311b1a0b532a85ea9b6972cb978eb8
[]
no_license
XXO47OXX/BossSpider
980b6f1d55adb9f1dc0c9dad6b186255238c0a0e
4127531a42f2c6c83a3c7980cca95200154c9c61
refs/heads/master
2023-03-22T07:59:24.681017
2020-06-03T12:34:03
2020-06-03T12:34:03
null
0
0
null
null
null
null
UTF-8
Python
false
false
7,938
py
import requests import re from lxml import etree # from multiprocessing.dummy import Pool as ThreadPool # from spider_boss.getCookie import GetCookie from db.MysqlSave import Save2Mysql from getCookie import GetCookie from settings import KEYWORD class JobSpider(object): def __init__(self): self.mysql = Sa...
[ "pli@kaikeba.com" ]
pli@kaikeba.com
0302ab3ae4300e2c98fc2193b302f23a15365277
d8a14050d2e294eeb1bae3500c001d25ec10b9e7
/django_rok/ssh_tunnel.py
f8e97c4962d1f91a694d9e59d3450e92a37d9497
[ "MIT" ]
permissive
ramesh960386/django-rok
6e7ee93f56910c798b560ffbd309b1a717ec0356
5edb21b7c39904fdcd3c90410e43a34c3f9f70b1
refs/heads/master
2021-09-18T19:14:24.744063
2018-07-18T08:09:27
2018-07-18T08:09:27
null
0
0
null
null
null
null
UTF-8
Python
false
false
868
py
import paramiko import sys from django_rok.re_forward_port import reverse_forward_tunnel from django_rok.util import bcolors ssh_port = 22 localhost = '127.0.0.1' def create_ssh_tunnel(localport, remote_host, remote_port, username, password=None, pkey=None): transport = paramiko.Transport((remote_host, ssh_port))...
[ "ankurj630@gmail.com" ]
ankurj630@gmail.com
4b69df22370439b056815649a17bf08a73296d20
6a0c944d1f3c6f1b4a262e235cb5d8f0889e80be
/capitulo_6/cap6_project/urls.py
fa211d1f9e876eac4b1338f4d34a2cbf76bd5efe
[]
no_license
Fahrek/django-test
40625dcdad2774d927c0f5252b2c2caa3192415c
48fbbf1ae66a1776f4140d36dfa363fbd07d1277
refs/heads/master
2022-12-18T01:40:20.457896
2020-09-23T18:42:40
2020-09-23T18:42:40
296,071,515
0
0
null
null
null
null
UTF-8
Python
false
false
953
py
"""cap6_project URL Configuration The `urlpatterns` list routes URLs to views. For more information please see: https://docs.djangoproject.com/en/3.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-...
[ "andresgqjob@gmail.com" ]
andresgqjob@gmail.com
4ed7b0073e5f3f21e7883ee46de2d41af70f1429
b00840e56173dc2a196442bd354b9e3cc13b17df
/code_util/createJobScript.py
c360a93fc09e90dace29b76e6b66c43797d94224
[]
no_license
Sportsfan77777/vortex
56c28fb760f6c98de4a7c8fdcf1168d78b4e57af
780ec14937d1b79e91a367d58f75adc905b8eef2
refs/heads/master
2023-08-31T02:50:09.454230
2023-08-24T10:55:05
2023-08-24T10:55:05
41,785,163
1
1
null
null
null
null
UTF-8
Python
false
false
3,804
py
""" makes a new job script """ import argparse def new_argument_parser(description = "Make a new job script."): parser = argparse.ArgumentParser() # File parser.add_argument("fn", help = 'job file name (.sh appended to the end) that must be included, error otherwise') # Ba...
[ "mhammer44444@gmail.com" ]
mhammer44444@gmail.com
f74f0ac80048edd8b753de5045de96a035617ea8
051002c97de47ef5885c64fc1cb8b1bbbdf1dfe3
/backend/accounts/serializers.py
03d031742711d03ea2ce21a93292006636aba4b1
[]
no_license
cristianemoyano/descuentos
9a669eaaadd1cf74c5ed872480b3e7cadb7cf9d0
3ba1b89595b0691f2f26fc60e45f7fd74e682d52
refs/heads/master
2023-01-14T02:57:28.540235
2019-07-14T21:02:22
2019-07-14T21:02:22
195,719,236
0
0
null
2023-01-04T03:53:37
2019-07-08T02:00:42
JavaScript
UTF-8
Python
false
false
906
py
from rest_framework import serializers from django.contrib.auth.models import User from django.contrib.auth import authenticate class UserSerializer(serializers.ModelSerializer): class Meta: model = User fields = ('id','username','email') class RegisterSerializer(serializers.ModelSerializer): ...
[ "cristianmoyano.mza@gmail.com" ]
cristianmoyano.mza@gmail.com
53ae973bfd0abd293fa0007514cbe6badfd2f088
3a0bb0e087166f0835eae4cc3aab41e689afd020
/main_app/serializers.py
b1c82f0a534d7769f8b19ca8fc475ee3e1a69f10
[]
no_license
garabedian/AutoCry_Python_WEB_Final_Project
742356a761db1aeed7e8c45bce1e8f29161732ba
1a20dc1782164084e9a924c7f7b5878867f7757b
refs/heads/master
2023-01-30T20:34:35.876902
2020-12-13T17:41:44
2020-12-13T17:41:44
310,921,502
0
1
null
null
null
null
UTF-8
Python
false
false
189
py
from rest_framework import serializers from main_app.models import Item class ItemSerializer(serializers.ModelSerializer): class Meta: model = Item fields = '__all__'
[ "takvor@abv.bg" ]
takvor@abv.bg
f8989ca25200e1c8ef2f174e882aa2177cf58852
a1e9101bbd309f613369b10018b16541e9af2fd0
/gui.py
779104ae0317562583993f3f2f6a444b80dc32dd
[]
no_license
seuqaj114/ANN
93d6fb474cde319c26ba5e557208fbb0e59a39a5
9453604bdf87d8fadf726735eb8bed1b37a93319
refs/heads/master
2016-09-05T15:57:39.117540
2014-12-22T17:12:54
2014-12-22T17:12:54
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,593
py
import numpy as np import sys import time from PyQt4 import QtGui from PyQt4 import QtCore import network """ Training the OR function """ def train(): global net global window for i in range(0,100): time.sleep(0.1) net.gd(training_set,5.0) window.update(net.feed_forward([1,0])) class MainWindow(QtGui.QW...
[ "migjacques@hotmail.com" ]
migjacques@hotmail.com
3ab0cd1ee0d711b1a1741999178c114cffc8b52f
766636058fb034c02cb43ab99a8ba222df1a525b
/liblavinder/command.py
fa0ec5a4a7a62ad99a31511fcde720b84d8f8285
[ "MIT" ]
permissive
g--o/Lavinder
b8954616e6de17f0e1d2d8b309d4a5817f50869a
a31092c452be769b7aeb6a1a80a6e57cc4625829
refs/heads/develop
2020-04-24T17:15:17.672924
2019-09-04T21:49:32
2019-09-04T21:49:32
172,140,376
1
4
MIT
2019-06-05T23:14:57
2019-02-22T21:59:58
Python
UTF-8
Python
false
false
14,203
py
# Copyright (c) 2008, Aldo Cortesi. All rights reserved. # # 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,...
[ "ke7oxh@gmail.com" ]
ke7oxh@gmail.com
ed9e4b221adaa95040a98a9868aeb47e3bf421e2
93a23825f9a89b2c74b90f85117fddf9927e96ac
/backend/devices/views.py
9677e34bcd90964909d0891039b8d123f84c9dd9
[]
no_license
mddemarie/experimenting-with-CSV
94ae618e4c6b5547c03491b6a28af6319d810ccd
b22a767d5843f305ef33bbdc9fffd3681e6123d0
refs/heads/master
2022-12-12T18:41:56.413176
2018-05-16T20:19:44
2018-05-16T20:19:44
133,716,989
0
0
null
2022-12-08T02:12:18
2018-05-16T20:01:09
Python
UTF-8
Python
false
false
550
py
from django.http import Http404 # using later for status code 404 from rest_framework.views import APIView from rest_framework.response import Response from rest_framework import status # using later on for status codes from devices.models import Device from devices.serializers import DeviceSerializer class DeviceLi...
[ "mddemarie@gmail.com" ]
mddemarie@gmail.com
5658bc7bc727ba66efcf62e2e774e8da30c069fb
f048b5a783d793c5dd1889a2eb00d72cf9ae4761
/Router/Router.py
2671dfe1397dc05cb93efbda627fc2771c6080f0
[]
no_license
ashkan-jafarzadeh/504-essential-words
e1bfcabf82c4c1c66d551ca7df947eb8d24fada0
d3db99f5095a5df7aeb59c73e295594062850845
refs/heads/main
2023-08-24T12:50:55.267367
2021-09-30T19:14:02
2021-09-30T19:14:02
412,193,804
1
0
null
null
null
null
UTF-8
Python
false
false
2,679
py
from Controllers.BaseController import BaseController from Helpers.StrHelper import StrHelper from Requests.Request import Request import re class Router: api = False path = "" routes = [] status = 200 @classmethod def register(cls, method: str, route: str, callback: callable, is_api=False): ...
[ "ashkan.jafarzade@yahoo.com" ]
ashkan.jafarzade@yahoo.com
fe0881db35f3f5d538b836ae7ffdbb95c3e3210e
de24f83a5e3768a2638ebcf13cbe717e75740168
/moodledata/vpl_data/380/usersdata/308/84669/submittedfiles/testes.py
9138abd6a192264d1bfcda194bb1960c01f572ad
[]
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
119
py
# -*- coding: utf-8 -*- #COMECE AQUI ABAIXO def mostrar(): print(a+b) print('Resultado') a = 3 b = 4 mostrar()
[ "rafael.mota@ufca.edu.br" ]
rafael.mota@ufca.edu.br
abd514985aa887677633fa023398dda638ac660f
d61a8f464474b5032a417b210d56f2e968c5c88c
/Accounts/models.py
eaeef4e59b1a50d6358c24c2f8d0deb3f6cd6888
[]
no_license
Peterbamidele/Customer-Dashboard
8f29bd5540f35bc4616f9924751100bda03e52de
6de114ac7ff870cdfb5d7902157cec5a9f4c70fa
refs/heads/main
2023-04-23T19:01:37.397312
2021-05-01T20:22:41
2021-05-01T20:22:41
362,900,044
0
0
null
null
null
null
UTF-8
Python
false
false
1,470
py
from django.db import models # Create your models here. class Customer(models.Model): name = models.CharField(max_length=200, null=True) phone = models.CharField(max_length=200, null=True) email = models.CharField(max_length=200, null=True) date_created = models.DateTimeField(auto_now_add=True) ...
[ "peterbamidele@gmail.com" ]
peterbamidele@gmail.com
cd25ad9f9b621517a8f79e725e360604777f67c1
a34d9458832a033bb05b1cec9f13c9f997c6e8d0
/eola/two_d_space.py
8b4cfdaa771b30e15433839b87f4c8762caa38f3
[]
no_license
scottopell/manim
9de0ca8fd1f4a203e557dc5503b38591e0ef66bc
a3fa16ebcbc9b3eb462c0a3434840c954a92e0d1
refs/heads/master
2021-01-14T12:44:51.483245
2016-09-03T19:29:17
2016-09-03T19:29:17
59,712,661
0
0
null
2016-05-26T02:18:09
2016-05-26T02:18:09
null
UTF-8
Python
false
false
15,698
py
import numpy as np from scene import Scene from mobject import Mobject from mobject.vectorized_mobject import VMobject, Group from mobject.tex_mobject import TexMobject, TextMobject from animation import Animation from animation.transform import ApplyPointwiseFunction, Transform, \ ApplyMethod, FadeOut, ApplyF...
[ "grantsanderson7@gmail.com" ]
grantsanderson7@gmail.com
7c1d83b837c19a47aec690f304c4dcdf7004c723
9b8b5b3ca5012373ba4dbcde31eb2335007c06c7
/songs/migrations/0008_song_user.py
69de2be8d9bee3175a24ce411fd69ea96a202b75
[]
no_license
Amit152116Kumar/Django_songs_playlist
9238fa6117477fafde8d7683d25eda88c3a4beac
815741f3aef40c24ab948aa4438fe6afee244f36
refs/heads/master
2020-04-28T21:10:23.808009
2019-03-14T07:53:20
2019-03-14T07:53:20
175,572,566
0
0
null
null
null
null
UTF-8
Python
false
false
616
py
# Generated by Django 2.1.5 on 2019-02-09 13:09 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), ('songs', '0007_remove_son...
[ "amit170103004@iitg.ac.in" ]
amit170103004@iitg.ac.in
a3ca5cace42ecc5aaea3b17b2f1cb97ad2b0b39c
1837323ef879e5216aa1ee267593fd96c911c587
/venv/bin/pip
3263da6bdb820a98e3545a6ad5b58c160a99e75c
[]
no_license
tee-jaay/dj_contentfeed
05f800b34165660dbd334fe75f5ffcf7f07e7022
fed1a5089fc0bb9ef32446d051fdf55c2de23e44
refs/heads/master
2022-08-21T09:43:05.997970
2018-06-18T13:15:52
2018-06-18T13:15:52
137,673,942
1
0
null
null
null
null
UTF-8
Python
false
false
287
#!/home/jtam/Documents/Projects/Python/Django/max-goodridge/content-feed/venv/bin/python3 # -*- coding: utf-8 -*- import re import sys from pip._internal import main if __name__ == '__main__': sys.argv[0] = re.sub(r'(-script\.pyw?|\.exe)?$', '', sys.argv[0]) sys.exit(main())
[ "tamjid84@yahoo.com" ]
tamjid84@yahoo.com
d3be12214002bf0e8ed2b4e329795a1e62b70612
b2f755bdb8c5a73cf28679b14de1a7100cd48b35
/Interview/4/31.py
398dfb0ecf5c8643733ea6c6524bdb8f8ed60db3
[]
no_license
Futureword123456/Interview
cc50e1a3e4e85e4ac570469fc8a839029cdc6c50
5cb36dc5f2459abd889e1b29f469d5149139dc5f
refs/heads/master
2023-03-25T15:24:23.939871
2021-03-13T08:15:54
2021-03-13T08:15:54
345,374,608
0
0
null
null
null
null
UTF-8
Python
false
false
513
py
# -*- coding: utf-8 -*- # @Time : 2021/3/8 0008 # @Author : yang # @Email : 2635681517@qq.com # @File : 31.py """Python 获取昨天日期""" import datetime def getyesterday(): days = datetime.date.today() """ datetime.timedelta对象代表两个时间之间的时间差 两个date或datetime对象相减就可以返回一个timedelta对象。 """ day = datetime.time...
[ "2635681517@qq.com" ]
2635681517@qq.com
30cff20693dfa6eedd7d0e9a6d63f3de230dc906
3995505d38cb4f9b25a0481676a273a92122922b
/books/views.py
c23c60fe633a00c23665bc217f110758f37bf701
[ "MIT" ]
permissive
MySuperSoul/BookTradeWeb
57c90f105c71adb474fb41cc313968446228afbc
0414e7674aded9580d5d90a0ac364d60b6e79cba
refs/heads/master
2023-05-30T05:29:05.976806
2019-07-04T13:56:10
2019-07-04T13:56:10
187,504,740
0
0
null
2023-05-22T22:16:15
2019-05-19T17:02:23
JavaScript
UTF-8
Python
false
false
18,568
py
from django.shortcuts import render from django.http import HttpResponseRedirect, JsonResponse from BookTradeWeb.utils import BaseView, Category, SortingUtil from django.urls import reverse from useraction.views import User from django.contrib.auth.decorators import login_required from django.utils.decorators import me...
[ "1144358492@qq.com" ]
1144358492@qq.com
e98b77984a85a75c56042c1e0688f4cf6d48cef8
adb9fbfcd4f9d114717d20d79bf26abd4b88925a
/accounts/urls.py
73573c078fa2686ee0d260df151fd7ec57c9baf2
[]
no_license
rushali09/Django-basic-project
42e2a100004dd468a487c7f6be2bd504ddaee51d
ff20097f9ccfd8e8a1d2d6274c346d5deabdc286
refs/heads/master
2022-05-06T05:13:43.281106
2020-04-20T21:51:48
2020-04-20T21:51:48
256,799,661
1
0
null
null
null
null
UTF-8
Python
false
false
204
py
from django.urls import path from . import views urlpatterns = [ path("register",views.register,name="register"), path("login",views.login,name="login"),path("logout",views.logout,name="logout") ]
[ "rushalisreedhar37@gmail.com" ]
rushalisreedhar37@gmail.com
d9d920d1ce089e3e0cf249717c5ce561b43a35bc
a6d2b09dc279c905a99f062b179c5a9158074089
/typeidea/config/adminx.py
bfb3c20cc866854ad81f4f88ef82bee34cc4d023
[]
no_license
guansongsong/typeidea
2324fa15ad17f1bf37c5380d4503d1fae908401a
118e9697ed2a29d63cc93a622d721a63886cb6cb
refs/heads/master
2020-05-09T22:58:31.826544
2019-04-21T16:06:38
2019-04-21T16:06:38
181,488,471
0
0
null
2019-04-21T16:06:39
2019-04-15T13:05:47
Python
UTF-8
Python
false
false
568
py
from django.contrib import admin from . import models from custom_site import custom_site from base_admin import BaseOwnerAdmin import xadmin # Register your models here. @xadmin.sites.register(models.Link, ) class LinkAdmin(BaseOwnerAdmin): list_display = ['title', 'href', 'status', 'weight', 'create_time'] ...
[ "1339338612@qq.com" ]
1339338612@qq.com
b09c68c9c382bf4dd4c79cda1d6bd50b3ec5f107
95f1ce4525b96285ad1f60302ac0ac43690750fb
/Translator_uti_v2/Translator_GUI_v7.py
04d777413a458e56b95b23c04dae5b3150b5e248
[]
no_license
hjnnjh/Useful_tools
5c2bbf8c957c4099b6289afe4269f57ae605e689
2671aad85dc27822120e635d928015c2643d321c
refs/heads/master
2021-01-03T07:50:53.566844
2020-12-02T06:50:09
2020-12-02T06:50:09
239,987,116
4
0
null
null
null
null
UTF-8
Python
false
false
5,443
py
# -*- coding: utf-8 -*- # Form implementation generated from reading ui file 'Translator_GUI_v7.ui' # # Created by: PyQt5 UI code generator 5.9.2 # # WARNING! All changes made in this file will be lost! from PyQt5 import QtCore, QtGui, QtWidgets from GetText import Gettext from ph_divide import get_content, get_forme...
[ "755423541@qq.com" ]
755423541@qq.com
34ad42bab6e570409ead52cb2806a07e63ae51e4
f514fbafe8953cdf91ade0076ce11412924b3121
/sort/sort_arr_by_el_frequency.py
a3f522c7a57d3898d6bf98f2ce26b586090e2b14
[]
no_license
morozov1982/python-checkio
2b70dde5d7784054e6eca1214d59e114db64ef33
e44b183cea4819fb1c542c11fc8c93dd639181f2
refs/heads/master
2023-02-11T01:36:40.130912
2021-01-04T07:30:12
2021-01-04T07:30:12
300,554,582
0
0
null
null
null
null
UTF-8
Python
false
false
2,932
py
''' ***** Sort Array by Element Frequency *** (Elementary+) ***** ***(EN)*** Sort the given iterable so that its elements end up in the decreasing frequency order, that is, the number of times they appear in elements. If two elements have the same frequency, they should end up in the same order as the first appearanc...
[ "morozov1982@gmail.com" ]
morozov1982@gmail.com
a2e28b37e97ee345bbce0bd063e5c7952d887ae1
061a5bb81672809424fc534471edcf09b5d5535d
/1.py
44e0ad5b445066aea800f95cccb52dea0bd59191
[]
no_license
nitish66/newrepo
8f5448ee99d7fd671bc810ff08cf8d4e158a11c8
a41ad04ebc99ca5d4b76b970ffb5654bd51eaa61
refs/heads/master
2022-12-22T07:42:16.285851
2020-09-28T10:58:38
2020-09-28T10:58:38
299,275,731
0
0
null
2020-09-28T10:58:39
2020-09-28T10:42:27
Python
UTF-8
Python
false
false
128
py
x=int(input("Enter a number:")) if x<=10: print(x,"is not greater than 10") if x>10: print(x,"is greater than 10")
[ "noreply@github.com" ]
noreply@github.com
c39197167bebafc12dd01290ed117d1832b17519
f0079054632435825e36594bc3644f47daa69c03
/api_rest_ecommerce/settings/production.py
74b86a6888b1294421d6f8c18de801cbd221da3e
[]
no_license
endaniel1/Curso_Django_RestFramework
b3f70c6a4ac56487a1fd3c0692f534452efaa9b3
b2a85f9283495f6b4ccc4fb942691e8de1ee5585
refs/heads/main
2023-05-29T01:14:24.611313
2021-06-05T03:33:30
2021-06-05T03:33:30
367,515,215
0
0
null
null
null
null
UTF-8
Python
false
false
465
py
from .base import * # SECURITY WARNING: don't run with debug turned on in production! DEBUG = True ALLOWED_HOSTS = [] # Database # https://docs.djangoproject.com/en/3.0/ref/settings/#databases DATABASES = { 'default': { 'ENGINE': 'django.db.backends.sqlite3', 'NAME': os.path.join(BASE_DIR, 'db.s...
[ "enriq_1997@hotmail.com" ]
enriq_1997@hotmail.com
3a047d50208cf8649840ad6a6c3f71f4875cf42b
d0938de7a70fedef46fa7ec1d09f80446884f8eb
/venv/Lib/site-packages/seleniumwire/__init__.py
7e5f424cf652cd8b326833b64f3fcf0a1e95bd45
[]
no_license
RubyPatil/5_Class
66ebf8cc1db6b59bd2bde282c2f3a804df22c10b
12a65dea65fff4cd63176fad0011ce9d918a09fd
refs/heads/master
2020-04-21T20:15:36.602623
2019-02-09T06:08:27
2019-02-09T06:08:27
169,837,448
0
0
null
null
null
null
UTF-8
Python
false
false
123
py
# -*- coding: utf-8 -*- """Top-level package for Selenium Wire.""" __author__ = """Will Keeling""" __version__ = '1.0.1'
[ "rathnakar.patil@gmail.com" ]
rathnakar.patil@gmail.com
dadea59a2de115c79519009bb91a64eea7e37639
d3fe4fe683e612164bea4c4e2c16acc077640bf4
/abs.py
5106d281f9ebaccd16409308cb5a6cc83129bfef
[]
no_license
ibkov/check_functions1
dd098b5b424766a9f63603a39c4b5e80fdab53ea
c1d2342eef6c936053a4c1f693ef324c635f7c43
refs/heads/master
2022-12-31T07:34:51.674550
2020-10-22T12:18:08
2020-10-22T12:18:08
306,324,065
0
0
null
null
null
null
UTF-8
Python
false
false
64
py
def abs(num): if num < 0: return -num return num
[ "34207589+ibkov@users.noreply.github.com" ]
34207589+ibkov@users.noreply.github.com
4238d3e59229db3f82e82deeaea7ce90768f81e6
036a41c913b3a4e7ae265e22a672dd89302d3200
/未完成题目/LCP/LCP25/LCP25_Python_1.py
dafd8c2c8eabcccd19a5f5df0444b87409140e43
[]
no_license
ChangxingJiang/LeetCode
e76f96ebda68d7ade53575354479cfc33ad4f627
a2209206cdd7229dd33e416f611e71a984a8dd9e
refs/heads/master
2023-04-13T15:23:35.174390
2021-04-24T05:54:14
2021-04-24T05:54:14
272,088,506
0
0
null
null
null
null
UTF-8
Python
false
false
192
py
class Solution: def keyboard(self, k: int, n: int) -> int: pass if __name__ == "__main__": print(Solution().keyboard(1, 1)) # 26 print(Solution().keyboard(1, 2)) # 650
[ "1278729001@qq.com" ]
1278729001@qq.com
b3effe603643e62e7f5a801a4141d3a5770f80f1
906ecd89b7beff111629655e48db7e10f0a4290d
/CTFWeb/writeup/urls.py
789ce4b9742857e599918f01df088d51ac687994
[]
no_license
Kenun99/WellCTF_CTFWeb
09093471a16f813d664611e6b5c3803fed79f698
e23cdb96a68361ba969ce55ad3e6763a63e6bda0
refs/heads/master
2021-10-09T15:28:53.839106
2018-12-30T15:51:18
2018-12-30T15:51:18
153,210,143
1
0
null
null
null
null
UTF-8
Python
false
false
113
py
from django.urls import path from . import views urlpatterns = [ path(r'', views.disscuss, name='writeup') ]
[ "chenwm_@outlook.com" ]
chenwm_@outlook.com
c9112067c2be87153127531d92149d2996a54b55
a3371564332688b66705590a606a9da12c3b079a
/tradematcher/order_stack.py
c2ec22d41bc047fbbde0d813afdd5a48d08c1ad6
[]
no_license
jhylands/aglodie
688981c74ec9d09cc4428fc925dd94b78639c672
9a64d883af1215bb7fd928ff7cff992f03dac9ac
refs/heads/main
2023-05-15T03:19:14.680407
2021-03-30T16:41:00
2021-03-30T16:41:00
352,934,631
0
0
null
null
null
null
UTF-8
Python
false
false
1,422
py
from typing import List from tradematcher.order import Order, Offer, Bid from user import User class EndOfOrders(Exception): pass class OrderStack: def __init__(self, orders): # type: (List[Order]) self.orders = orders self.sorted = False @property def top(self): if n...
[ "hylands.james@gmail.com" ]
hylands.james@gmail.com