blob_id
stringlengths
40
40
directory_id
stringlengths
40
40
path
stringlengths
2
616
content_id
stringlengths
40
40
detected_licenses
listlengths
0
69
license_type
stringclasses
2 values
repo_name
stringlengths
5
118
snapshot_id
stringlengths
40
40
revision_id
stringlengths
40
40
branch_name
stringlengths
4
63
visit_date
timestamp[us]
revision_date
timestamp[us]
committer_date
timestamp[us]
github_id
int64
2.91k
686M
star_events_count
int64
0
209k
fork_events_count
int64
0
110k
gha_license_id
stringclasses
23 values
gha_event_created_at
timestamp[us]
gha_created_at
timestamp[us]
gha_language
stringclasses
213 values
src_encoding
stringclasses
30 values
language
stringclasses
1 value
is_vendor
bool
2 classes
is_generated
bool
2 classes
length_bytes
int64
2
10.3M
extension
stringclasses
246 values
content
stringlengths
2
10.3M
authors
listlengths
1
1
author_id
stringlengths
0
212
7454e773ea8edc027d5830ae01f8e4737b1415ed
6f568983e2662d9c69603d93b62755f2dd47705e
/week5/ProblemSet5/ps5_recursion.py
b5c1d094a0f6bb086ac8f80155181080b3402d43
[]
no_license
sesan/6.00x
6e40d1832326e724e3d554c7327e28569890c2ae
86afbf1f447cf5bd0e493890be2a00403ae2e825
refs/heads/master
2020-12-31T02:14:44.869543
2013-03-26T20:45:44
2013-03-26T20:45:44
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,310
py
# 6.00x Problem Set 5 # # Part 2 - RECURSION import imp storyFile = open("story.txt", 'r') story = storyFile.read() from ps5_encryption import * # # Problem 3: Recursive String Reversal # def reverseString(aStr): """ Given a string, recursively returns a reversed copy of the string. For example, if the s...
[ "ryan.lindgren@gmail.com" ]
ryan.lindgren@gmail.com
6a368fc990d1e42010f3c08fb5a77e6b4041cf24
22d9a354423bfedd3e49bab34db7a550ec9142b4
/数据嗨客/HousePricePridect/houserepdict1.py
b2db2250a46eafe652cb2080f81c4091ed1b2bc4
[]
no_license
linxiaoby/PyCode
b486f583b25019ae3579fe44e8850758a66be5bf
f52bf0cd5fbe586c81d782e03a9458de234e5b20
refs/heads/master
2018-10-22T12:58:14.219968
2018-05-03T07:28:57
2018-05-03T07:28:57
104,988,568
0
0
null
null
null
null
UTF-8
Python
false
false
8,076
py
# Adding needed libraries and reading data import pandas as pd import numpy as np import warnings from sklearn import ensemble, tree, linear_model from sklearn.model_selection import train_test_split, cross_val_score from sklearn.metrics import r2_score, mean_squared_error from sklearn.utils import shuffle warnings.fi...
[ "wanglin_bnu@163.com" ]
wanglin_bnu@163.com
94bb2d5431ce4313c83f6d758e2f635450d23874
6d5bc5e2bff976f8c2057e311be2e7a4a4e327e5
/main.py
8b4079c7c8e8025ec00bfe8d5aa0e85745f3742e
[]
no_license
vikasnataraja/Predicting-Adult-Census-Income-using-Machine-Learning
8393c377fcc24a62adfc00dffb4a8818883432eb
617b5e910ae015393d08765d95d6aedb2a05d5b5
refs/heads/master
2020-05-20T01:57:11.882412
2019-05-07T04:51:59
2019-05-07T04:51:59
null
0
0
null
null
null
null
UTF-8
Python
false
false
9,443
py
#!/usr/bin/env python # coding: utf-8 # ## Predicting Adult Census Income # # Using only data from the training set, I am aiming to predict the test score (or incomes) without knowing the test # solution. To circumvent this uncertainty, I am using cross validation which allows me to tune the hyperparameters. # In[ ]...
[ "viha4393@colorado.edu" ]
viha4393@colorado.edu
6a6dae441e61243aa4dc37b47e3ab5b3a6fe36d7
6703813468e8dccfafc7462be67c52d5456d89a6
/example/web/app_factory.py
9c3f9bf369963d01dbf54a02637b5664c9d97ea2
[]
no_license
selecsosi/docker-compose-example
42f9abb18c4040179f0d5b9ff77afb002635bb2e
07a7ae485ab7b91f935bbb208cffc309eca1e5a2
refs/heads/master
2022-09-26T12:19:02.143742
2019-11-15T18:24:55
2019-11-15T18:38:27
221,803,777
0
0
null
2022-09-13T23:03:04
2019-11-14T23:18:49
Python
UTF-8
Python
false
false
234
py
from flask import Flask def create_app(logger_override=None): app = Flask("web") if logger_override: app.logger.handlers = logger_override.handlers app.logger.setLevel(logger_override.level) return app
[ "sam.lahti@avant.com" ]
sam.lahti@avant.com
a1f7fdc043c119d5be8f9287702eb97ba545e849
af2f88672cb9d0be3ff6424235180f2a5815a846
/xml_process.py
56eec4f34e1d1f57d6157b20d676857b8f96189c
[]
no_license
wfy1452473846/preprocess-dataset
1260e77209ccf05b8982b73c5f6c8e03fa5f3d92
58e54897fe03b78979cc7c8710cbb5c7b57270b0
refs/heads/master
2020-08-02T03:10:38.283237
2019-09-27T02:12:20
2019-09-27T02:12:20
211,217,281
0
0
null
2019-09-27T02:10:50
2019-09-27T02:10:49
null
UTF-8
Python
false
false
4,361
py
""" xml_process.py 20190408 """ import xml.dom.minidom import os from tqdm import tqdm import cv2 import numpy as np def pnpoly(test_point, polygon): """ Point Inclusion in Polygon Test https://wrf.ecse.rpi.edu//Research/Short_Notes/pnpoly.html :param test_point: t...
[ "noreply@github.com" ]
wfy1452473846.noreply@github.com
6f6c6ada1f54e063deb49df940dc1cc3650971d6
b9008dc6326b30de1a16ba01a1f3143aa248f7c3
/python/chapter3/ex01_10.py
0eed47d612f626182ab96704303341e3153a0b74
[]
no_license
wonjongah/multicampus_IoT
ce219f8b9875aa7738ef952a8702d818a571610e
765a5cd7df09a869a4074d8eafce69f1d6cfda4a
refs/heads/master
2023-02-13T12:30:19.924691
2021-01-08T10:17:42
2021-01-08T10:17:42
292,800,307
0
0
null
null
null
null
UTF-8
Python
false
false
392
py
country = "Korea" if country == "Korea": print("한국입니다") if country != "Korea": print("한국이 아닙니다") if "korea" > "japan": print("한국이 더 크다") if "korea" < "japan": print("일본이 더 크다") if "Korea" > "korea": print("Korea가 더 큽니다") if "Korea" < "korea": print("korea가 더 큽니다") print(ord("K")) print(ord("...
[ "wonjongah@gmail.com" ]
wonjongah@gmail.com
7c2d0335fc9981073bcab8ae14c39d83b10e1c1f
76902c0ca5e16eb68dfee899c5595fd697d3a7d8
/CoisaDeUfersa/AgroPopShop/src/main/resources/aeiou.py
462c2e199ed38cfe60b77617df60d4f36cce88bf
[ "MIT" ]
permissive
weixiaoUfesa/pweb_2020.2_weixiaoChen
d2c9c0aa88917fa7b103ac520a2ebc29500f85ac
1061a980bba25f75f104dafb310fc0509aed71f0
refs/heads/main
2023-08-30T16:25:26.876386
2023-08-30T11:45:10
2023-08-30T11:45:10
343,974,773
2
0
null
null
null
null
UTF-8
Python
false
false
227
py
a=e=ii=o=u=0 str=input('nome:') for i in str: if i=='a'or i=='I':a=a+1 if i=='e':e=e+1 if i=='i':ii=ii+1 if i=='o':o=o+1 if i=='u':u=u+1 print('a:',a) print('e:',e) print('i:',ii) print('o:',o) print('u:',u)
[ "56464135+weixiao1994c@users.noreply.github.com" ]
56464135+weixiao1994c@users.noreply.github.com
835b6e0ac178cfa27a2002e624816e0d162cf8b4
9d7afba14939649c0f20b2748d8a20cb973e4a0a
/generate.py
cebb86450d7ee4d0b968170465925193dfe3d9d5
[]
no_license
ansible-network/resource_module_planning
47f552a85e1693b68ba730596d6ad7e1b3ff73a0
c7cca18a4f2f811859d8f1135de2ba2ddeacd935
refs/heads/master
2020-04-30T22:57:51.772230
2019-04-05T18:33:03
2019-04-05T18:33:03
177,132,464
0
2
null
2019-04-09T18:10:27
2019-03-22T12:01:20
HTML
UTF-8
Python
false
false
4,846
py
from datetime import timedelta, datetime from jinja2 import Template import csv import settings def build_ansible_releases(): ars = [] settings.ANSIBLE_RELEASES.sort(key=lambda x: x['date']) for release in settings.ANSIBLE_RELEASES: ars.append({"start": release['date'].isoformat(), ...
[ "bthornto@thethorntons.net" ]
bthornto@thethorntons.net
9aeac7b87a2f57ebe772c44c85063b2f39bf2e16
4fe15daaf02b59ee4bf21d529c8ea092477de2ce
/wtiproj05_api_logic2.py
827c84be93afbb8f39ececbc5930cb2e5d9f71d6
[]
no_license
DalduK/WTILAB
a41e849ed20dbbb57d1af67f58743f4c70ec9572
27ee663737a096ad10cea02807b6026c1beb659c
refs/heads/master
2022-10-25T06:59:53.269637
2020-06-20T15:21:53
2020-06-20T15:21:53
251,050,630
1
0
null
null
null
null
UTF-8
Python
false
false
1,803
py
import json import numpy as np import pandas as pd import wtiproj05_redis as rr import wtiproj04_ETL_and_data_processing as w class api(): def get(self): ll = rr.get_rand_user() ll = ll.fillna(0) return ll.to_dict() def post(self, data): immutable = frozenset(data.items()) ...
[ "przemyslaw7wozny@gmail.com" ]
przemyslaw7wozny@gmail.com
343d228b230e0ac0eb81a170c2d7b22a7aef5b22
ed773a408297250d3c1d2797f593fe043f6e07fa
/database_setup.py
09a8eb086b080d56101b0a269cd160be74e1d5ba
[]
no_license
pedrocecchetti/pythonflaskapp
8239baa978519f4210364fab64c5d38a610f47cc
aee00aa4c711629a7f4e9b95a2d07502ffc27150
refs/heads/master
2020-04-11T06:06:17.414814
2018-12-14T12:56:03
2018-12-14T12:56:03
161,570,556
0
0
null
null
null
null
UTF-8
Python
false
false
1,115
py
import os import sys from sqlalchemy import Column, ForeignKey, Integer, String from sqlalchemy.ext.declarative import declarative_base from sqlalchemy.orm import relationship from sqlalchemy import create_engine Base = declarative_base() class Restaurant(Base): __tablename__ = 'restaurant' id = Co...
[ "noreply@github.com" ]
pedrocecchetti.noreply@github.com
b9e6bf9944097897f35f1edbb712bbb2fa99f251
c51eef37bb983a9c35635c7ccc96a0cf689a7438
/com/chapter03_python_begin/05_for/02_range.py
6e97b3c6cbd2c9345bac79003fba8ca69d3a9ff6
[]
no_license
Kyeongrok/python_crawler
0a717b43be36584af1b0f7c1ad0c79108a5d11e0
5a5da8af7bb080f752a9a066741ac8adab136a3a
refs/heads/master
2022-09-13T03:15:08.053639
2022-08-02T15:45:03
2022-08-02T15:45:03
124,719,435
40
34
null
2019-02-27T08:29:52
2018-03-11T03:20:32
HTML
UTF-8
Python
false
false
25
py
print(list(range(1, 10)))
[ "kyeongrok.kim@okiconcession.com" ]
kyeongrok.kim@okiconcession.com
bcb2bac7460fd22247f6850cfb190c7713966a7e
490ffe1023a601760ae7288e86723f0c6e366bba
/kolla-docker/nova/nova/compute/resource_tracker.py
4f32a9eff29481b02245cdfa874c8e6d7ccb2a78
[ "Apache-2.0" ]
permissive
bopopescu/Cloud-User-Management
89696a5ea5d2f95191327fbeab6c3e400bbfb2b8
390988bf4915a276c7bf8d96b62c3051c17d9e6e
refs/heads/master
2022-11-19T10:09:36.662906
2018-11-07T20:28:31
2018-11-07T20:28:31
281,786,345
0
0
null
2020-07-22T21:26:07
2020-07-22T21:26:06
null
UTF-8
Python
false
false
67,693
py
# Copyright (c) 2012 OpenStack Foundation # 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 ...
[ "Mr.Qinlichao@hotmail.com" ]
Mr.Qinlichao@hotmail.com
a71ffa22320c4670dd2b0cdddeac57895b932240
38f74ac071e1368b209f5659919204be6f3f7a75
/algorithmic-toolbox/week4_divide_and_conquer/4_number_of_inversions/inversions.py
297838c9b48955fac49f428e0e25256a2f328c0e
[]
no_license
pablo-var/data-structures-and-algorithms
40ca102b40b2f96caa1bf70ac9c03187c062f2ed
b07d9025c162025b289cbb60f0c964973849f532
refs/heads/master
2022-11-11T05:21:45.700575
2020-06-21T20:29:10
2020-06-21T20:29:10
258,991,965
0
1
null
null
null
null
UTF-8
Python
false
false
1,631
py
# Uses python3 import sys def merge(arr, l, m, r): number_of_inversions = 0 n1 = m - l + 1 n2 = r - m # create temp arrays L = [0] * (n1) R = [0] * (n2) # Copy data to temp arrays L[] and R[] for i in range(0, n1): L[i] = arr[l + i] for j in range(0, n2): R[j] = ...
[ "pablovargasibarra12@gmail.com" ]
pablovargasibarra12@gmail.com
2ca65305c59f566dc9043beda4fac38b816d1645
cc3dd8ee82c854666680b086e55ba7bead421bef
/2.python_module/3.example/finance/methodForFin.py
175a26041cf5c1924b98336735c8ab00a8588ffb
[]
no_license
eggeggss/PythonTutorial
b46a4377fdc0967f3c13e4d70f8ebfdebc93ef53
a35fbf5d9c78ec6896b757529d97b262f6f0637b
refs/heads/master
2020-04-01T01:27:42.793973
2018-12-01T15:14:49
2018-12-01T15:14:49
152,739,571
0
0
null
null
null
null
UTF-8
Python
false
false
51
py
def printMethodName(): print('Finance Method')
[ "eggeggss@gmail.com" ]
eggeggss@gmail.com
65a186d1f261b126882e2435ee2ae83f22c7970b
48c47c714502fdc8cb8bb59601f30c344945a6d0
/sdt/util/logging.py
2269f55874bf16b4b6e19049b6a40526ff113113
[]
no_license
ronvree/SoftDecisionTree
327ef0e89eb600f0ee16d3f9cb0ad619b8bb9ba7
b3ad17be8870c08be66d78974e0f78ae6f0439c7
refs/heads/master
2022-12-12T13:35:51.805748
2020-08-22T15:05:13
2020-08-22T15:05:13
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,456
py
import os class TrainLog: """ Object for managing the train log directory """ def __init__(self, log_dir: str): # Store log in log_dir self._log_dir = log_dir self._logs = dict() # Ensure the directories exist if not os.path.isdir(self.log_dir): os.mkdi...
[ "ronvbree@gmail.com" ]
ronvbree@gmail.com
d01b878b550fec82255c4c85c7fdef2cbb8fe1a7
e23dba7ea5d2413025f5075d8fbaed893e3edc3a
/preprocess/preprocess_core.py
4e9947c616e308a68053250fcabe9f6f1039e1b7
[]
no_license
leoliu1221/engagement_db
900bee11f6d9cada6a5986d10ada7da1ac7d6a45
0b8477079d9ab46ba342c77e52ea2f70368f767e
refs/heads/master
2021-06-07T09:12:17.797754
2016-04-12T04:35:42
2016-04-12T04:35:42
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,714
py
# -*- coding: utf-8 -*- ''' #functions needed: Preprocessing after preprocessing input: [x] Normalize the X and Y with definition2. [x] Use the current cut c to cut both X and Y into smaller pieces. E.g. for N(X), I will have N(X) [0:c], N(X)[c:2c], N(X)[2c:3c]… etc. Same thing goes for N(Y). [x] For each p...
[ "leoliu@u.northwestern.edu" ]
leoliu@u.northwestern.edu
65fa9de6c1fdf8b167f5af603e921268421be24f
6cde25cd6cf38f854e465889ef1c59a5d05e58b4
/src/python/normalize-by-median.py
d42a5891a8401eab2e814f7d7507d935af88a34c
[ "Artistic-1.0" ]
permissive
smyang2018/ergatis
ef8eb6e86add69c3583e16be530e42775be0c565
1081ede54c9b06efadf8046ec206e8d8c593e0df
refs/heads/master
2022-01-21T07:21:42.407806
2019-07-12T19:46:50
2019-07-12T19:46:50
262,735,101
0
1
NOASSERTION
2020-05-10T07:32:32
2020-05-10T07:32:32
null
UTF-8
Python
false
false
4,158
py
#! /usr/bin/env python """ Eliminate reads with median k-mer abundance higher than DESIRED_COVERAGE. Output sequences will be placed in 'infile.keep'. % python scripts/normalize-by-median.py [ -C <cutoff> ] <data1> <data2> ... Use '-h' for parameter help. """ import sys, screed, os sys.path.append("/usr/local/pack...
[ "kabolude@c60d6122-3b2e-0410-912d-af40fea696fe" ]
kabolude@c60d6122-3b2e-0410-912d-af40fea696fe
ec0697a587adfde770bd0982ff82827775e2cf74
5729a58d778cb2937960ffd381f81a42a92e7b17
/python/0067.py
89b75831148f283c91e990c09b0693abe572f80a
[]
no_license
morizyun/aoj-ruby-python
af62e59e42bc1533aa953ea540a409bc2b31b8cb
296ab281328751f6fa4975d3cafd8a9db1d98f94
refs/heads/master
2020-05-18T18:08:19.189754
2017-07-09T07:54:02
2017-07-09T07:54:02
18,957,701
2
1
null
null
null
null
UTF-8
Python
false
false
632
py
def get_map(): map = [] while True: try: tmp = list(raw_input()) if len(tmp) != 12: break map.append(tmp) except: break return map def remove_island(x, y, map): map[x][y] = 0 move = [[1, 0], [0, 1], [-1, 0], [0, -1]] for i, j in move: if 0 <= x + i <= 11 and 0 <= y + j <...
[ "merii.ken@gmail.com" ]
merii.ken@gmail.com
fac71e017c2137fab436e08e46fbcddfb616918b
0104a8813f94c71d8b119109e50e33f460ab4867
/modular/subscribe.py
69020294dfb0b80ca0d30298eab1ed479ca65280
[]
no_license
sunnyhong123/test_ui
ce650962c467631766d38edf067efa39c53a538b
eb8528b72e9de5b76918a8cef5ef696636280ed5
refs/heads/master
2023-04-11T12:30:22.427364
2021-04-16T08:23:34
2021-04-16T08:23:34
353,869,001
0
0
null
null
null
null
UTF-8
Python
false
false
1,399
py
#coding=utf-8 from public.Commonlib import Common from public.rd_email_name import RD import time class Subscirbe(): def __init__(self,dr): self.driver = dr self.elt = Common(self.driver) self.rm = RD(self.driver) def subscribe_success(self): #订阅流程 subscribe_value = ...
[ "alexhong465@gmail.com" ]
alexhong465@gmail.com
8bd85a71ed32a09c3f871431ee97970c9134121b
a2e638cd0c124254e67963bda62c21351881ee75
/Extensions/FrontCache/FPythonCode/FC_TCOLL_01_ATS_40.py
11d35ced4c4937f267029d8778ff4dfce2f825ed
[]
no_license
webclinic017/fa-absa-py3
1ffa98f2bd72d541166fdaac421d3c84147a4e01
5e7cc7de3495145501ca53deb9efee2233ab7e1c
refs/heads/main
2023-04-19T10:41:21.273030
2021-05-10T08:50:05
2021-05-10T08:50:05
null
0
0
null
null
null
null
UTF-8
Python
false
false
6,150
py
'''---------------------------------------------------------------------------------------------------------- MODULE : FC_TCOLL_01_ATS_40 PROJECT : FX onto Front Arena PURPOSE : This module is the entry point for the Trade Collection ATSs. These ATSs w...
[ "nencho.georogiev@absa.africa" ]
nencho.georogiev@absa.africa
8123f8b823863a2cdfac01616013fec780ac3e16
ef4a1748a5bfb5d02f29390d6a66f4a01643401c
/algorithm/2_algo/strting_search.py
cd08c5997becfb887981008a564f5f0a36907fff
[]
no_license
websvey1/TIL
aa86c1b31d3efc177df45503d705b3e58b800f8e
189e797ba44e2fd22a033d1024633f9e0128d5cf
refs/heads/master
2023-01-12T10:23:45.677578
2019-12-09T07:26:59
2019-12-09T07:26:59
162,102,142
0
1
null
2022-12-11T16:31:08
2018-12-17T08:57:58
Python
UTF-8
Python
false
false
667
py
import sys, time start = time.time() sys.stdin = open("./tc/strting_search.txt","r") T = int(input()) for tc in range(1,T+1): data = input() all = input() ############# 쉬운버전 ############3 0.0초 result = 5 if data in all: result = 1 else: result = 0 ###############3 어렵 #####...
[ "websvey1@gmail.com" ]
websvey1@gmail.com
d6d4045aeb90759fae31fe036e9cb108f29134fe
4249b126a07d277a110e1acbf12175ebfcdcbaad
/Book-Chapter3_3-Bisection-SqRoot.py
7ea22cfe11a57c883242f37ab43a9ad50962992b
[ "MIT" ]
permissive
tocheng/Book-Exercises-Intro-to-Computing-using-Python
426b24d1175b889dd5aea5df1fbac4b485bd4ba4
a54f164cb53dc5fa0bfb88cee9e1a5d69cb9fb09
refs/heads/master
2023-02-12T19:47:43.832801
2021-01-14T15:34:48
2021-01-14T15:34:48
null
0
0
null
null
null
null
UTF-8
Python
false
false
619
py
# -*- coding: utf-8 -*- """ Created on Fri Nov 13 17:09 2020 Introduction to Computation and Programming Using Python. John V. Guttag, 2016, 2nd ed Book Chapter 3 Finger Exercises Bisection search for square root @author: Atanas Kozarev - github.com/ultraasi-atanas """ # Find x such that x**2 - 24 is within epsilon o...
[ "55555430+ultraasi-atanas@users.noreply.github.com" ]
55555430+ultraasi-atanas@users.noreply.github.com
bd090aca89d155016d194168fac8a7c7b8509f17
ea393959886a5cd13da4539d634f2ca0bbcd06a2
/82.py
7ccff9c2594f1e475a361dff197c8395f4f63aba
[]
no_license
zhangchizju2012/LeetCode
f605f35b82f16282559af71e4e61ec2629a90ebc
0c4c38849309124121b03cc0b4bf39071b5d1c8c
refs/heads/master
2020-04-05T12:12:14.810639
2018-08-09T10:24:52
2018-08-09T10:24:52
81,021,830
7
1
null
null
null
null
UTF-8
Python
false
false
1,013
py
#!/usr/bin/env python2 # -*- coding: utf-8 -*- """ Created on Wed Mar 15 01:07:11 2017 @author: zhangchi """ # Definition for singly-linked list. class ListNode(object): def __init__(self, x): self.val = x self.next = None class Solution(object): def deleteDuplicates(self, head): """ ...
[ "zhangchizju2012@zju.edu.cn" ]
zhangchizju2012@zju.edu.cn
5ef1396f75bbdc52a5d18f9d2ba0ba151107189a
5e22c8508a766a6c163f6ab40575db35f02ed31a
/Project-4/job_search.py
0d4e2123d22905cf1336850620c75079cb4cdfb8
[]
no_license
anita-data/GA-Projects
e263dec7b8d090a2ef0c909cf28a933bae2ac333
3d0c27bbd5a4f375470504ba630f8f895a703aae
refs/heads/main
2023-04-06T18:44:31.336714
2021-04-18T11:09:18
2021-04-18T11:09:18
358,546,555
0
0
null
null
null
null
UTF-8
Python
false
false
1,479
py
import scrapy class SeekSpider(scrapy.Spider): name = "job_search" allowed_domains = ["seek.com.au"] start_urls = ['https://www.seek.com.au/data-science-jobs/in-All-Australia'] def parse(self, response): print('-----------------') print('I just visited :' + response.url) pr...
[ "noreply@github.com" ]
anita-data.noreply@github.com
ced414a621cd118c2763f7acf3b292e0b3e15b21
234ed1b2c5b070dc0263e7e065c1f6b82d8a7c88
/new_code/ui_activities/course_planner_components/course_information_window.py
de7acecaa4370033a7ebf6d79f52ccb93ebe53c3
[]
no_license
Mossaka/grabbing_UCSD_courses
8dec226ecdd42689d84740f456fa6ca9b670b228
88065dfa4f535d8f3d0ed3ca0a78ab22bec30cc1
refs/heads/master
2021-01-19T04:45:05.363362
2017-09-07T15:04:27
2017-09-07T15:04:27
87,393,494
1
1
null
2017-07-18T03:54:14
2017-04-06T06:20:27
Python
UTF-8
Python
false
false
1,027
py
import tkinter as tk class ShowInfo: def __init__(self, upper, course_ID, connector): self.info_level = tk.Toplevel(upper) self.info_level.title("More Info about {}".format(course_ID)) self.info_level.geometry() self.info_level.resizable(0, 0) self.info_level.bind('<Escape>...
[ "jiz417@ucsd.edu" ]
jiz417@ucsd.edu
97f54bfaf9957347fb4254fc70ebbe9c10c2fb2f
03e4331a8d5c107f7cc1d814215ed1547ba6a0f0
/xTool/models/models.py
315e176f675bac1087ca7cd370482d941f7dd775
[ "MIT", "BSD-3-Clause", "Apache-2.0", "BSD-2-Clause" ]
permissive
KqSMea8/xTool
ba61a4f56e2e5ddda7caaf429cfb452be06a65c6
eade656ca77347d2c05e66a3d680e236c8779683
refs/heads/master
2020-04-11T19:01:29.673695
2018-12-16T16:15:50
2018-12-16T16:15:50
null
0
0
null
null
null
null
UTF-8
Python
false
false
807
py
#coding: utf-8 from __future__ import absolute_import from __future__ import division from __future__ import print_function from __future__ import unicode_literals from future.standard_library import install_aliases from builtins import str from builtins import object, bytes import dill from urllib.parse import url...
[ "jinyinqiao@gmail.com" ]
jinyinqiao@gmail.com
f177da88dbb975deb9ac6b07454a03d21b3123c0
3d158381e8b51b547cb97b42f31715460968c343
/python_html_css_blog/routes.py
a5d9de0505cce8203d0743dffe21e440188e1fad
[]
no_license
bkzzshzz/Python_Practice
942ab981ba64ddc8321b6532ef6790da54230100
01352aa29a881204595b98dead60b3c836be7070
refs/heads/master
2023-06-29T18:35:24.374307
2021-08-03T04:14:10
2021-08-03T04:14:10
372,134,055
0
0
null
2021-06-24T10:06:57
2021-05-30T05:46:03
HTML
UTF-8
Python
false
false
1,396
py
class Route: def __init__(self, list_of_paths, redirect_path_list): self.list_of_paths = list_of_paths self.redirect_path_list = redirect_path_list def add_path_to_list(input_path, return_url): pass def register_url(input_path): pass if __name__ == '__main__': al...
[ "bkzz_shzz@yahoo.com" ]
bkzz_shzz@yahoo.com
ea26d52cac00b4d403d26785a8562ac5dd52f808
a0282c578384ea765bee9c6611fabbe79b2256fc
/openhrms/hr_biometric_machine_zk_demo/models/finger.py
8de9829e3932d0a7ec804b62f8cf03fede1221d9
[ "MIT" ]
permissive
nadahmed/hivecorehrms
f688220d5dcabace8c62fb2eb42ce6b9b4e02105
e0cacbbd2f608490b613b9c671809e251868035d
refs/heads/main
2023-03-29T12:08:53.539162
2021-03-23T06:07:43
2021-03-23T06:07:43
350,272,239
0
0
MIT
2021-03-22T08:54:46
2021-03-22T08:54:44
null
UTF-8
Python
false
false
1,764
py
# -*- coding: utf-8 -*- from struct import pack #, unpack import codecs class Finger(object): def __init__(self, uid, fid, valid, template): self.size = len(template) # template only self.uid = int(uid) self.fid = int(fid) self.valid = int(valid) self.template = template ...
[ "abrarahnaf@gmail.com" ]
abrarahnaf@gmail.com
35e7366e76f6e50c77b6fa3fcf1065b6905128ef
05780fe9a74b116832611a35fce38fa24b4d4ffc
/madgraph/madgraph_binaries/models/taudecay_UFO/__init__.py
3c9f65445319ce87b7af17ac5a5968bbe0ceae11
[]
no_license
cesarotti/Dark-Photons
d810658190297528470abe757c4a678075ef48f6
c6dce1df70c660555bf039a78765e4efbffb4877
refs/heads/master
2021-01-22T19:26:13.892225
2015-01-28T05:43:20
2015-01-28T05:49:54
20,692,647
2
2
null
null
null
null
UTF-8
Python
false
false
893
py
import particles import couplings import lorentz import parameters import vertices import coupling_orders import write_param_card import propagators all_particles = particles.all_particles all_vertices = vertices.all_vertices all_couplings = couplings.all_couplings all_lorentz = lorentz.all_lorentz all_parameters = ...
[ "eyvind.niklasson@gmail.com" ]
eyvind.niklasson@gmail.com
67545b2050a0a9a4e4595f07aeedbc7bf6d89031
5945903ff7b3c0be799d8b228aa96309e8d6b68a
/PTA_AL_1011.py
ccbd0a00df6ca36344b78bfa9460a3742a7ea3c2
[]
no_license
freesan44/LeetCode
44fd01fa37e2d7e729ae947da2350b1649c163ae
2ed9f1955c527d43fe1a02e5bebf5a6f981ef388
refs/heads/master
2021-12-07T20:07:02.308097
2021-11-01T23:58:11
2021-11-01T23:58:11
245,178,582
0
0
null
null
null
null
UTF-8
Python
false
false
542
py
inputList = [] for _ in range(3): inputData = list(map(float,input().split())) # inputData = list(map(float, "1.1 2.5 1.7".split())) inputList.append(inputData) retList = [] res = 1 for i in inputList: maxVal = max(i) indexVal = i.index(maxVal) if indexVal == 0: retList.append("W") e...
[ "freesan44@163.com" ]
freesan44@163.com
f0e29bbe13f62a6f3b132755b006dc05eec22ad3
45b6f06f0dca5f8eb0331b496af8f945e27367b3
/core/migrations/0001_initial.py
f0aaf491bf7d04f5d019b5b7a847a692cbef6dab
[]
no_license
roman-timoshenko/shold-rest
5d0c7b90a15cc66392d3c45fdfd6d176f6f57aaf
29c155f2aa19410cf048c2361e7f9444a9714fcf
refs/heads/master
2020-04-27T05:41:25.709733
2014-12-01T20:38:28
2014-12-01T20:38:28
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,713
py
# -*- coding: utf-8 -*- from __future__ import unicode_literals from django.db import models, migrations class Migration(migrations.Migration): dependencies = [ ] operations = [ migrations.CreateModel( name='Region', fields=[ ('id', models.AutoField(verbo...
[ "rootboss@gmail.com" ]
rootboss@gmail.com
82cadd475948ffd96531e64287bce69554e71933
caba6799c6cd4d33954db0a07e8821e73087d81a
/updatesproducer/updateapi/audio.py
c4d025b62cbc40190a9c95c6f8fcba2b4514de7b
[ "Apache-2.0" ]
permissive
ShakedGold/Iris
f2bcf3c5568fdb9de7bcb06a9a161fbd2cdd8953
b60deb6575820253bad50b48b9b39023d6440fd4
refs/heads/master
2022-12-31T03:32:36.695256
2020-10-18T06:07:01
2020-10-18T06:07:01
null
0
0
null
null
null
null
UTF-8
Python
false
false
233
py
from updatesproducer.updateapi.imedia import IMedia class Audio(IMedia): duration_seconds: int title: int artist: int def __init__(self, **kwargs): self._type = 'Audio' self.__dict__.update(kwargs)
[ "multi@codeprecise.com" ]
multi@codeprecise.com
9e2613d43c8d4d08d227418cedbf0dd8bf1c3c42
c09cfdb1302f4d409bfc042dd0fff6a6d59f4a87
/Apocalypse/textRNN_half2.py
6b50d99efbdabc8f4d5a19027bbc5fc8bd9a864f
[]
no_license
Utschie/ML_Monitoring_Trade
30773b91024c7ffca4f95a8e18ed56c4e2147529
3791e8405ae314dee4f6008c3feb214427f14a55
refs/heads/master
2021-11-08T03:17:06.834889
2021-07-05T18:10:37
2021-07-05T18:10:37
166,300,248
0
0
null
null
null
null
UTF-8
Python
false
false
15,151
py
#本程序是采用平衡数据集的用tsvd的模型,看看会不会比非平衡数据集好————20210126 #把优化器的eps跳到1e-16,并把初始学习率调低两个数量级,看看loss会不会继续持续下降 ''' 经过初始学习率分别为0.01,0.001,0.0001,0.00001的比对后,发现0.001甚至0.01是最好的学习率,loss最低降到1.1左右 而0.0001和0.00001下降非常慢,甚至在初始学习率为0.00001时loss到了5之后下降就非常慢了 而当学习率为0.01时loss很快就下降到了1.1,而且非常稳定,甚至比0.001还稳 ''' #这次试一下如果不用正交初始化而是用默认初始化的话,loss会是个什么结果 #使用默...
[ "littlecat.j@hotmail.com" ]
littlecat.j@hotmail.com
0101c439286a2a128d794b2c3fc87af2270da6b3
30a8da946a7cacc12450c2bc251c10ad00132c64
/mysite/urls.py
5d953fd3f6e5694e12257040e4a35b3bfd581406
[]
no_license
proavinashthakur/python-django
11e61c6676ffca86919f743f3bdc7110f33f8a13
7c892f2b159a843de82d9115025229787ec5b370
refs/heads/master
2020-05-09T23:42:31.069886
2019-04-15T15:09:22
2019-04-15T15:09:22
181,510,277
0
0
null
null
null
null
UTF-8
Python
false
false
163
py
from django.contrib import admin from django.urls import include, path urlpatterns = [ path('polls/', include('polls.urls')), path('', admin.site.urls), ]
[ "proavinashthathur@gmail.com" ]
proavinashthathur@gmail.com
071cf340c23a15c39e29549b47c35d45036859f0
551ef0567aca428a535775d3949f5d9670c0d29c
/abc/173/d/main.py
17b7c7ad3e7efd9f8db31585e1d42505e573aa4d
[]
no_license
komo-fr/AtCoder
7451a9402466ce8d487d0c521128732061c647df
c916889294cb12f21e74254de43b3e17e1b354bc
refs/heads/master
2023-07-22T07:05:52.955188
2023-03-01T14:22:16
2023-03-01T14:22:16
213,109,943
0
0
null
2023-07-06T22:01:28
2019-10-06T04:44:49
Python
UTF-8
Python
false
false
370
py
#!/usr/bin/env python3 from collections import deque N = int(input().split()[0]) a_list = list(map(int, input().split())) a_list = sorted(a_list, reverse=True) c_list = a_list[: (N + 1) // 2] if len(c_list) == 1: ans = c_list[0] elif N % 2 == 0: ans = c_list[0] + sum(c_list[1:]) * 2 else: ans = c_list[0]...
[ "komo.mdrms@gmail.com" ]
komo.mdrms@gmail.com
cc17135e622350d97b56cf2a70cdf6c25951c579
8e132f71b1b63d5972a347f8d1677dcd9a100837
/django_project/users/views.py
0bda1b00548aeef2285cc7242a86536a6e4666f1
[]
no_license
Wooodzu/portfolio2021
e1620a47f73ff9d1b93d5d3c47d3f9828ae6c0e8
1fd053018ccc20739c3faf60c5ff33ba155dccd7
refs/heads/main
2023-06-25T23:14:45.953993
2021-07-12T13:44:22
2021-07-12T13:44:22
381,327,108
0
0
null
null
null
null
UTF-8
Python
false
false
1,399
py
from django.shortcuts import render, redirect from django.contrib import messages from .forms import UserRegisterFrom, UserUpdateForm, ProfileUpdateForm from django.contrib.auth.decorators import login_required def register(request): if request.method == 'POST': form = UserRegisterFrom(request.POST) ...
[ "artur199933@gmail.com" ]
artur199933@gmail.com
1f052585d22d982aad068374350cb10be20972f4
5a438b6f246981fde6d6c3cb63db16bd495e503f
/Gullabi
3ebec2c9d475e947aef45773c26d6653c923a63c
[]
no_license
gullabi1/PAKISTAN
ee47a128ba786bff4b7ffafb1fc4cb06497d693a
19aee80cbb742e0865bc386eb5f00bb0f607e32f
refs/heads/master
2022-11-21T13:39:33.593672
2020-07-26T17:09:52
2020-07-26T17:09:52
282,677,103
0
0
null
null
null
null
UTF-8
Python
false
false
18,854
#!/usr/bin/python2 #coding=utf-8 import os,sys,time,datetime,random,hashlib,re,threading,json,urllib,cookielib,requests,mechanize from multiprocessing.pool import ThreadPool from requests.exceptions import ConnectionError from mechanize import Browser reload(sys) sys.setdefaultencoding('utf8') br = mechanize.Browse...
[ "noreply@github.com" ]
gullabi1.noreply@github.com
fe9f5ac55217dfc033c9cc3c4fd89943726640c8
614e01d08c8bb5adbe4d263d9dba04688502a12f
/toggl_driver/commands/start_timer.py
fe1b1ed883f441770071e74e3ae2ab9cf118f09e
[ "MIT" ]
permissive
cloew/TogglDriver
28b2b2ebd396d08000fc92e0013f15722975ae06
7b0528710e7686690a88a22cf5cca1f3ac55ebbf
refs/heads/master
2021-01-10T13:05:58.759515
2015-10-01T03:43:52
2015-10-01T03:43:52
43,025,616
0
0
null
null
null
null
UTF-8
Python
false
false
750
py
from ..args import OptionalProjectArg from ..config import GlobalConfig from kao_command.args import Arg, BareWords class StartTimer: """ Represents a command to start the Toggl Timer """ description = "Start the Toggl Timer" args = [Arg('description', nargs='+', provider=BareWords), ...
[ "cloew123@gmail.com" ]
cloew123@gmail.com
bcb1548eaff70ab7970362c482e0a054b23840d0
775fdec8dd3d959560450fec3cf17c82a79e3f61
/apps/user_login/views.py
75b7d126f265a28fa96c48312207d196e04a6e1f
[]
no_license
HarmsA/Dojo_Ninja
f2ff9833ea1b7707bed567ab869d1a645f8694a4
23ce11de538e600fccf64ac3c28348ca7bf38422
refs/heads/master
2020-04-09T03:13:10.591710
2018-12-02T18:27:29
2018-12-02T18:27:29
159,974,181
0
0
null
null
null
null
UTF-8
Python
false
false
126
py
from django.shortcuts import render, HttpResponse # Create your views here. def index(request): return HttpResponse('hi')
[ "harms2a@gmail.com" ]
harms2a@gmail.com
3adadf9d0a7cf055b3e864a876187d3d5e847789
58f38f1d69d4bfc650ad18e0045c36ae29c9d84a
/Django基础部分代码/chapter04/orm_lookup_demo/manage.py
ffb9c5d178fd47e763791ff1172e7f8d84831441
[]
no_license
zjf201811/DjangoWebProject
0670c61b89387901089bf67cf2423d9341f69913
fab15784fb326ba4517951e180418ea54de03afe
refs/heads/master
2020-04-18T12:03:08.798484
2019-05-06T03:59:46
2019-05-06T03:59:46
167,522,193
3
1
null
null
null
null
UTF-8
Python
false
false
547
py
#!/usr/bin/env python import os import sys if __name__ == "__main__": os.environ.setdefault("DJANGO_SETTINGS_MODULE", "orm_lookup_demo.settings") try: from django.core.management import execute_from_command_line except ImportError as exc: raise ImportError( "Couldn't import Djan...
[ "thor201105@163.com" ]
thor201105@163.com
5a67766465e0814c91167f402e4f1c1c79f8948e
db9c366fa675bfabcc85d13841078d473e355bc3
/string/Valid_Palindrome.py
39a684079988104c2a5a6de0949a0e1daf959790
[]
no_license
laihoward/leetcode_practice
7d7121e34e470354c738213ea166df86e59b2264
ddb7939c7333c66ab2e0c909f8d445d1d8327b33
refs/heads/master
2023-07-14T12:31:58.454907
2021-08-27T05:24:29
2021-08-27T05:24:29
377,393,671
0
0
null
null
null
null
UTF-8
Python
false
false
936
py
class Solution(object): def isPalindrome(self, s): slist = [] for i in s: if i.isalnum(): slist.append(i.lower()) l = len(slist) print(l//2) for i in range(0,l//2): if slist[i]!=slist[l-1-i]: return False return ...
[ "howardlai30425@gmail.com" ]
howardlai30425@gmail.com
93042cdae27f560677fe72b23e03692a92bba34e
e49c005551937e31464c2f546e97e9e89e35c49c
/02.Scripts/NCBI_Genome_Downloader.py
65f45439d00124702a872873896f6c4aa00dbb29
[]
no_license
cruizperez/Bioinformatic_Tools
7283588e4d8b91bd33be6be18d4b79faa9ce150c
91c75b2b36a6a1b62e00cffd285c4183ee87f67a
refs/heads/master
2023-04-30T21:27:49.963193
2021-05-19T04:23:34
2021-05-19T04:23:34
173,467,371
2
0
null
null
null
null
UTF-8
Python
false
false
2,193
py
#!/usr/bin/env python """ ######################################################################## # Author: Carlos Ruiz, cruizperez3@gatech.edu # Intitution: Georgia Institute of Technology # https://github.com/cruizperez/ # Version: 1.0 # Date: 07 Nov 2019 # Description: Downloads multiple genomes fr...
[ "30295020+cruizperez@users.noreply.github.com" ]
30295020+cruizperez@users.noreply.github.com
a498b47d7f945fc88750e331b4a303c556793f1d
443a7c76a528d864463f631773fe352024fdaeac
/media.py
21b47b3e153524651a7a82e1977e3f2d19e58031
[]
no_license
jlyden/movies
24c996f9a94cb516b03696180ce2822fb4137e19
5dd2ec0a91d447681095e4cfe6a541714697bf55
refs/heads/master
2021-01-10T09:49:19.961235
2016-04-25T23:28:35
2016-04-25T23:28:35
43,646,741
0
0
null
null
null
null
UTF-8
Python
false
false
657
py
# needed for show_trailer() import webbrowser class Movie(): # class __doc__ """This class provides a way to store movie related information""" # class variable VALID_RATINGS = ["G", "PG", "PG-13", "R"] # constructor def __init__(self, movie_title, movie_storyline, poster_image, ...
[ "jlyden1@alumni.nd.edu" ]
jlyden1@alumni.nd.edu
ca4f2fb7a024febb083b52ed05ba2c569bfa2a7f
493166a9d5ce0286f19164b061ad442f94dee62e
/old/BattleShip.py
e064c16d53c5ae0328af6821821255503e30de17
[]
no_license
mcdwayne/PublicDocs
f9d8539b4d9b536b885a28ec1430a65a5feb49e0
a1d1a934dc07e350b4f3b8faab10cc24094bccc4
refs/heads/master
2021-07-24T12:58:37.787253
2020-12-23T14:45:33
2020-12-23T14:46:13
96,465,763
0
0
null
2018-10-06T18:27:25
2017-07-06T19:37:33
Python
UTF-8
Python
false
false
1,477
py
from random import randint #create the board board = [] for x in range(4): board.append(["O"] * 5) #function for printing the board in a clean way def print_board(board): for row in board: print " ".join(row) #Begin the game print "Let's play Battleship!" print_board(board) #Set where the computer's ...
[ "1dwayne.mcdaniel@gmail.com" ]
1dwayne.mcdaniel@gmail.com
21007a2cbcde589ceabb5c374744d08a16256342
94dd67c3dda4cbc0b9dd04c3a9d65953f922afcb
/utils/test-resources/python-files/some_other_script.py
4c9a21552ef7b781db02bcff654db0875812b0da
[]
no_license
saeedsiddik/mllint
ba259dc7a6bf98b3b22f09951229f7a8b6136d05
498dedd8a47571b17648f9347a2c00b92020b6f6
refs/heads/main
2023-04-30T07:45:24.474072
2021-05-28T21:14:01
2021-05-28T21:14:01
null
0
0
null
null
null
null
UTF-8
Python
false
false
24
py
print("something")
[ "bart@vanoort.is" ]
bart@vanoort.is
11a2932a8b8e0ad8ab3477cd1dd0d81b66ea3912
9775d287deb7fb82c1408d0be25bae920fd32676
/reducer.py
2851b6f1fd9d151dedb955ab3e42389bdd934340
[]
no_license
pallyjoel/Final_Project
3be2c18dc0f5a5d6a139429c30ad28921b4a0351
76ef67ea97e412857e6c9e688535c9adfdb8f7c0
refs/heads/master
2016-09-06T06:27:35.927778
2015-08-05T03:18:47
2015-08-05T03:18:47
22,735,501
0
0
null
null
null
null
UTF-8
Python
false
false
728
py
import logging import csv, sys reader=csv.reader(sys.stdin,delimiter='\t') entries = 0 days = 0 old_key = None with open("output.csv", 'w') as master_file: master_file.write( '{0},{1}\n'.format('Day', 'Avg_Hourly_Entries')) for row in reader: data = str(row).strip().split(',') if len(data) !=2 or data[1][4:-3]...
[ "pallyjoel@gmail.com" ]
pallyjoel@gmail.com
296ece0c83bf4b271b0778cc6df19c0aaee9ec6d
6f7555588e481e24c052604d59cc82d1f79b9f82
/mysite/polls/polls_test/test01.py
81fb67b37bc0dc2ed64c11f2cb4984f36966c539
[]
no_license
zzb15997937197/django-study
dd708c92418277a7e2b2b34393f63e6b95d78d1d
20b3ef21e73680552bee583374671bd8c7fc0b4f
refs/heads/master
2023-01-05T22:11:53.514591
2020-11-06T00:29:40
2020-11-06T00:29:40
285,442,079
0
0
null
null
null
null
UTF-8
Python
false
false
442
py
# 生成器 data = [1, 2, 3, 3, 4] for i in range(10, -1, -1): print(i) # 生成器,返回的结果为一个集合,集合里的元素是无序不重复的。 a = {x for x in data if x not in [4]} print(a) # def f1(data): # for i in data: # yield data[i] # # # for c in f1(data): # print(c) t1 = (1, 2, 3) t2 = (1, 2) print(t1 + t2) print(t1[1]) # 判断列表是否为空(...
[ "zhangzhengbing@huayin.com" ]
zhangzhengbing@huayin.com
f422fb2aa8b196a101d648ac90b7f4ec7ad9cf68
cdb8ec47700aa47b3a665096a1d5f036cfec2710
/posts/models.py
c501aeae7278b98889535c63732df134863461ee
[]
no_license
FarhoodHS/MyBlog_new
d93e09497e96da5400bd8673f90ab6912947725a
20e8155be5f3eaedd88ae4896531e8363f74cc16
refs/heads/master
2023-05-01T20:07:09.968211
2020-03-17T19:29:50
2020-03-17T19:29:50
239,857,090
0
0
null
2023-04-21T20:48:41
2020-02-11T20:24:43
HTML
UTF-8
Python
false
false
1,887
py
from django.db import models from django.urls import reverse from django.db.models.signals import pre_save from django.utils.text import slugify from django.utils import timezone from Blog.settings import AUTH_USER_MODEL def upload_location(instance, filename): return f"{instance.slug}/{filename}" class PostMan...
[ "farhood.1995.hosseinzadeh@gmail.com" ]
farhood.1995.hosseinzadeh@gmail.com
7c5d2d23bc243408c2cc2678b42f0f0f589019e4
2d74104aaa132896a65ea0032951eee5d4c97840
/chemman/floor_map/apps.py
a55b9d94eeb570eacc258399a39914b0a100a76f
[]
no_license
Whitie/ChemManager
6e228e8713f9dfeca21adbd3e9a65c8871a822bc
d40792361527219514b1b4cc03718ea7c2a92777
refs/heads/master
2023-06-09T09:29:41.626087
2022-12-14T13:29:44
2022-12-14T13:29:44
189,994,861
0
0
null
2023-04-21T21:40:13
2019-06-03T11:47:23
Python
UTF-8
Python
false
false
92
py
from django.apps import AppConfig class FloorMapConfig(AppConfig): name = 'floor_map'
[ "weimann.th@yahoo.com" ]
weimann.th@yahoo.com
a4ea8aef58307c7fd9f4806033d86e69851e27ae
d7e80b224cb21838be3308d16bd502727f77eecb
/leetcood_problems/110-balanced-Tree.py
f48531f7a5b4f6e3b8fbceadedde9e4acf9e54cd
[]
no_license
erdeq-upenn/datascience
cfe2bfc2bbbd5656783201e37c92eafc7b87764c
3b1fb449c13c341aeced6c368eb0ec0f0d8a904c
refs/heads/master
2021-07-11T06:26:24.256786
2020-06-14T01:52:12
2020-06-14T01:52:12
162,773,484
0
0
null
null
null
null
UTF-8
Python
false
false
1,196
py
# Definition for a binary tree node. # class TreeNode(object): # def __init__(self, x): # self.val = x # self.left = None # self.right = None class Solution(object): #def hight(self,root): # if root == None: # return 0 # return max(self.hight(root.left),self.hight(...
[ "31527345+erdeq-upenn@users.noreply.github.com" ]
31527345+erdeq-upenn@users.noreply.github.com
aad091992484971b4abdae987643107c3b501e90
262a17e18dcfdb5bf95590b30c959029edf4352b
/facility_info/routers/instruments.py
e16acbb2bb19613cb60c5536085e23d67947e3fb
[ "BSD-3-Clause" ]
permissive
JunAishima/facility-info
eab86156038dc31e0140a1589012baa186555bde
4ea11e5920ae85b6343e33eb820a538004f0cab3
refs/heads/master
2023-01-02T21:13:08.842457
2020-10-09T18:26:54
2020-10-09T18:26:54
295,758,380
0
0
BSD-3-Clause
2020-10-02T18:28:25
2020-09-15T14:43:30
Python
UTF-8
Python
false
false
1,101
py
from fastapi import APIRouter, HTTPException instruments = {'1':{'port':'2ID', 'nickname':'SIX', 'instrument_id':1, 'emergency_contact':1, 'beamline_staff':[2,3,4], 'beamline phone numbers':[1602]}, '2':{'port':'3ID', 'nickname':'HXN', 'instrument_id':2, 'emergency_contact':2, 'beamline_staff':[1,3,4], ...
[ "jaishima@bnl.gov" ]
jaishima@bnl.gov
61b3cf3373d26befd371f164e12e5ca2f09ab031
e4624ec8193c7da963f31498fc92ea63227eb25a
/app/resource/user/user_info.py
dd67b2d873a4bd7728ef7d74de68f836bcbfa377
[ "MIT" ]
permissive
150619/Practice_news_A
5e6a3059fa0ca3985e185cbd53f61f0ed9de87c9
2f01e5f90dcc67041abcb54270484a6d42a5557b
refs/heads/main
2023-02-16T12:39:37.271434
2021-01-10T11:35:30
2021-01-10T11:35:30
null
0
0
null
null
null
null
UTF-8
Python
false
false
731
py
from flask_restful import Resource from common.utils.decorators import login_required class UserInfoResource(Resource): method_decorators = {'get': [login_required]} def get(self): # 找到已登录用户的id from flask import g user_id = g.user_id from common.models.user import User ...
[ "73057041+150619@users.noreply.github.com" ]
73057041+150619@users.noreply.github.com
95df1ccae68346a5ae7a648bbaf1f8ab1f06dad7
d78d18eeb2033606537058e66740e3c43d62134b
/purchase/controllers/catalog.py
e964682dc01d63de79e67ca2d5bd1e2c15d1d1db
[]
no_license
saguitarius/Purchase
ea65ef5b004251a4fdf430b0bd6103ef23df22b4
8e687f37a02c4e89735400704e764475de0472c7
refs/heads/master
2020-08-28T00:24:08.733321
2011-05-30T17:38:56
2011-05-30T17:38:56
1,403,771
0
0
null
null
null
null
UTF-8
Python
false
false
14,273
py
## -*- coding: utf-8 -*- import logging from pylons import request, response, session, tmpl_context as c, url from pylons.controllers.util import abort, redirect from purchase.lib.base import BaseController, render import purchase.lib.helpers as h from purchase.lib import auth from authkit.users.sqlalchemy_driver ...
[ "saguitarius@gmail.com" ]
saguitarius@gmail.com
d825ddb6b8070997553f9d0296ff9d3bbd6e2f30
684474c94982c0e4bf9bf2f183a616d28e1cb718
/tornato_base_frame/tornato_application.py
d43e9158917eed8421a59e7e149004e25ceff1fc
[]
no_license
YuzhuoMa816/Yuzhuo_Tornado_baseframe
9156c5fe6fc5b5902670927340ff31290d890f4b
7ebee850b8465db89c3b6446ba44f588dc6d9999
refs/heads/master
2023-08-22T05:09:55.636035
2021-09-30T05:42:37
2021-09-30T05:42:37
411,901,117
0
0
null
null
null
null
UTF-8
Python
false
false
285
py
import tornado.web from views import index import tornato_config class Application(tornado.web.Application): def __init__(self): handlers = [ (r'/', index.IndexHandler), ] super(Application, self).__init__(handlers, **tornato_config.settings)
[ "71178309+YuzhuoMa816@users.noreply.github.com" ]
71178309+YuzhuoMa816@users.noreply.github.com
912853260f856dde1edb561a497c0406a6f7d555
090346874ffd62b4daf7e1690e9cccc305971382
/binder/postBuild
cbfb1fa03f60f9874efe649863e55d3a35c446d5
[ "BSD-3-Clause" ]
permissive
Alalalalaki/jupyterlab_white_theme
8fe5dd01bfb2d01b56199398550f2b5e9a52bee4
97ccb32b3455d2c46e63160960a91ac8c3c4f2b0
refs/heads/main
2023-07-12T17:34:50.797518
2021-08-28T17:35:00
2021-08-28T17:35:00
400,616,518
0
0
null
null
null
null
UTF-8
Python
false
false
1,272
#!/usr/bin/env python3 """ perform a development install of jupyterlab_white_theme On Binder, this will run _after_ the environment has been fully created from the environment.yml in this directory. This script should also run locally on Linux/MacOS/Windows: python3 binder/postBuild """ import su...
[ "harlan.zhu@gmail.com" ]
harlan.zhu@gmail.com
9a77046a8b02899002884bdbcb8f4b15478e20c2
eff7effdc4ada534be1c76ca83ac026ace4f4c05
/leetcode/242.py
715f3b2f70d33cf3920ab152d51059243bef0a29
[]
no_license
ceuity/algorithm
470951d9fe77de3b0b28ae06f8224cf8a619d5b5
dd28a842709ae00c3793741e411f2cb8e5086fda
refs/heads/master
2023-06-20T11:32:56.994859
2021-07-19T20:31:07
2021-07-19T20:31:07
279,136,037
1
0
null
null
null
null
UTF-8
Python
false
false
521
py
from collections import Counter # 48ms class Solution: def isAnagram(self, s: str, t: str) -> bool: if sorted(s) == sorted(t): return True else: return False # 32ms class Solution: def isAnagram(self, s: str, t: str) -> bool: if Counter(s) == Counte...
[ "everland7942@gmail.com" ]
everland7942@gmail.com
23aa4bfce5b269d5f1ccfec27f806a8adf56799d
33e50bf5f64225248b895568891f81948056176a
/poly/views/treatment.py
409f40d6a6eaa4be1571e686df54c2d279bd891a
[]
no_license
furkankapukaya/PolyClinic
09a25dc555d47d032a2e60f2af384a357dcfc20c
ce6650c10dc6e875f1221bdc7083847eb54ebd0c
refs/heads/master
2022-04-29T17:49:14.323390
2018-05-23T07:27:36
2018-05-23T07:27:36
null
0
0
null
null
null
null
UTF-8
Python
false
false
3,410
py
from django.http import JsonResponse from django.shortcuts import render, redirect from django.views.generic import * from django.urls import reverse_lazy from poly.forms.treatment import TreatmentForm from poly.models import Treatment, Clinic, Appointment, Doctor, Patient def treatment_json(request): data = [] ...
[ "hcancakici@gmail.com" ]
hcancakici@gmail.com
4e5c2182e548c13c2a86d5375448e7719ceebe95
b066191ce947eb7ca4acebd021070ee46eae4d05
/backend/apiserver/helpers/exceptions.py
c977d50f6ade3ffe4c7206fea11617847827a345
[]
no_license
friendlywhales/lineup-web
17624b8c17678eb1abd380fa603d5559ece83115
ed06227b14a57791449a4c134c5a0955fc5b9f27
refs/heads/master
2022-12-04T20:08:13.482782
2020-09-01T07:59:49
2020-09-01T07:59:49
291,615,047
0
0
null
null
null
null
UTF-8
Python
false
false
270
py
from django.utils.translation import ugettext as _ from rest_framework.exceptions import ValidationError class FrozenPostError(ValidationError): default_detail = _('삭제 가능 기한을 지나 삭제할 수 없습니다.') default_code = 'denied-deletion'
[ "sooeun@gmail.com" ]
sooeun@gmail.com
04fa7019c63fdbc39ed76380e913d742f176299f
a5dc0e0450ebb601a03af02de2da019f2ddc458b
/1.py
e4eea03141143148e511c76b3fedf9e0bedbc558
[]
no_license
Bondarev2020/infa_2019_Bondarev2020
b570d65037f85c83fdc90c54cddd9d220c71fa7b
464ddfebc56bb64dad30b0f414edd9a1da0212b1
refs/heads/master
2021-01-09T00:04:05.038990
2020-04-04T16:13:31
2020-04-04T16:13:31
242,182,162
0
0
null
null
null
null
UTF-8
Python
false
false
770
py
def change_possibilities_bottom_up(amount, denominations): ways_of_doing_n_cents = [0] * (amount + 1) ways_of_doing_n_cents[0] = 1 for coin in denominations: for higher_amount in range(coin, amount + 1): print(coin) print('higher_amount=', higher_amount) ...
[ "noreply@github.com" ]
Bondarev2020.noreply@github.com
af19d7f2a60fa59c218d57ed62c778d40750e96c
cd43ea8410c38735038d66cb12266ad6aff8ceb6
/forms.py
32f313cc11612370a6cc411b95d28fa2067f55b9
[]
no_license
malinichandran/flask-feedback
f74cfe87482155bbe6a0a8e644ad94ba4de205b2
3a2a1eb0f7f1b140d25c7fe60637cd6391a96d4f
refs/heads/master
2023-04-02T15:31:24.484535
2021-04-02T00:00:19
2021-04-02T00:00:19
353,855,678
0
0
null
null
null
null
UTF-8
Python
false
false
955
py
from flask_wtf import FlaskForm from wtforms import StringField, PasswordField from wtforms.validators import InputRequired class UserForm(FlaskForm): """User Registration Form""" username = StringField("Username", validators=[InputRequired()]) password = PasswordField("Password", validators=[InputRequired...
[ "malinichandran@Malinis-MacBook-Air.local" ]
malinichandran@Malinis-MacBook-Air.local
f538831424ed0a5b0992c4e0f3cf9a8d0fa12010
40cbe470faef9d6a17d85a32bacaae9c306504cd
/geom_subscriber.py
e72f5343626881907098bb5a60f4731cf12000b8
[]
no_license
yunzc/wam_arm
3885982d78a33f4c098dd1c619a795823a661328
a27bbda65e1889e5e0a435e3e5933e118dde3a5e
refs/heads/master
2020-07-20T05:56:09.834848
2016-11-14T19:30:33
2016-11-14T19:30:33
73,739,711
0
0
null
null
null
null
UTF-8
Python
false
false
911
py
import rospy from geometry_msgs.msg import Pose def callback(data): global geom_data geom_data = {} geom_data['position'] = [data.position.x,data.position.y,data.position.z] geom_data['orientation'] = [data.orientation.x, data.orientation.y, data.orientation.z, data.orientation.w] def listener(): ...
[ "noreply@github.com" ]
yunzc.noreply@github.com
e299bc6c617e9a532f45ffbcce445d97239ace0b
141af477d95db2aa40eb7909f81779eb709df4ec
/Chapter11-Dictionaries/Ex11.1.py
eb1d67ec163e9ff1061bc365b222056080eaeaa4
[]
no_license
inwk6312fall2019/dss-Tarang97
37f63c717666307ce36e95661c0e6267ad31d338
dfe8154c32dbc1f258fcdf647d60e0b97a725684
refs/heads/master
2020-07-30T01:02:27.656871
2019-09-22T23:22:32
2019-09-22T23:22:32
210,027,796
0
0
null
2019-09-22T05:01:57
2019-09-21T17:36:46
Python
UTF-8
Python
false
false
662
py
# Write a function that reads the words in words.txt and stores them as keys in a # dictionary. It doesn’t matter what the values are. Then you can use the # in operator as a fast way to check whether a string is in the dictionary. def words_in_dictionary(): word_list = dict() fin = open('words.txt') ...
[ "noreply@github.com" ]
inwk6312fall2019.noreply@github.com
949038ebdf9753e56dcfe9c20bd188ff885222d8
6814d3633affbacefa6510ec26d8d8198e4d7d08
/models.py
18ee00802e91b484c00c5ed33fc1b843988b71c8
[]
no_license
mariocamaraneto/SkyHub
ee9ce395ac5a75d080299f1bb3caf87c1a467988
be43fcae3758cc59c5b80700eab7b82b209a7cd5
refs/heads/master
2022-12-14T13:05:21.257729
2017-06-07T06:48:45
2017-06-07T06:48:45
93,587,439
0
0
null
2022-11-22T01:46:16
2017-06-07T03:15:03
Python
UTF-8
Python
false
false
174
py
from db import db class Photo(db.Document): url = db.StringField() path_large = db.StringField() path_medium = db.StringField() path_small = db.StringField()
[ "mariocamaraneto@gmail.com" ]
mariocamaraneto@gmail.com
1336f3318039f4e42291a2201c124b0de8197265
1c4c8b04ce6b956d473bb6abc0f5c7550a38abf2
/main/urls.py
51c76ed9ea8079962937ddea384da018153cc583
[]
no_license
MaximSungmo/pysite
bc580e62d84f985db70b262e0beb5d0fe04494c6
7d10426a46f48ebf0b9dbe125cb1a3bc0f5d73de
refs/heads/master
2020-06-07T02:11:25.895885
2019-06-24T11:07:31
2019-06-24T11:07:31
192,898,677
1
0
null
null
null
null
UTF-8
Python
false
false
779
py
"""python_ch3 URL Configuration The `urlpatterns` list routes URLs to views. For more information please see: https://docs.djangoproject.com/en/2.2/topics/http/urls/ Examples: Function views 1. Add an import: from my_app import views 2. Add a URL to urlpatterns: path('', views.home, name='home') Class-ba...
[ "ksm5318@naver.com" ]
ksm5318@naver.com
3f064d90d711bb1e3e36cfcf8b1413ed9f5c99d1
115e824300c16053071700bc624359dffa8dbf34
/GUI/control_widget.py
7c7022c64bdfc408c1a6f0f2386ff6b1b688b8c8
[]
no_license
DuseobSong/CCTV_project
295bdfea6651bd0b5608da232b41ebf26f4d0fa6
151362b00fc8494d88e9221b0e4dc0f7f11ba022
refs/heads/master
2023-05-24T19:09:51.396711
2021-05-27T11:07:17
2021-05-27T11:07:17
365,710,311
0
0
null
null
null
null
UTF-8
Python
false
false
9,964
py
''' Button groups function : turn on/off several camera == Button Layout == interval_h1 width2 interval_h2 \ / / ================================\\ ------- | width1 |----|--|-------| || i...
[ "duseob.song@outlook.kr" ]
duseob.song@outlook.kr
5296e19942d244285d13d5f6cb17242a9191235c
79120c8033b595a6d9ff44fe541b85a66a742d01
/scraper/electives.py
898238d1ca4a666bf08568c4c8d295eb35b1d3ff
[]
no_license
amitra93/DARS-Digest
0059fa593c68c04e939576f0ead1367838f4148c
c1340668961318ab63e29b1d07ea2a89f15dd58c
refs/heads/master
2020-05-16T11:29:41.987355
2013-06-30T22:50:57
2013-06-30T22:50:57
null
0
0
null
null
null
null
UTF-8
Python
false
false
796
py
import MySQLdb db = MySQLdb.connect(host="engr-cpanel-mysql.engr.illinois.edu", # your host, usually localhost user="darsfordummies_x", # your username passwd="XGonGive", # your password db="darsfordummies_dars") # name of the data base cur = db.cursor()...
[ "amitra93@gmail.com" ]
amitra93@gmail.com
763e098f46526ffc53d82bdb059e237202c22748
61b12f799e6f6caef26875c128b46de9f43f5ea4
/venv/bin/django-admin
b62fc8e5ef3b3912872744a1e957566c9d68332c
[]
no_license
raymondethan/shoppinglist
fd8cb6f5944afca09a8bbf3b58ee3925c3b72ab5
5ace94236e65afc25eacc8c1d87bb3ae0344cb4c
refs/heads/master
2021-01-10T20:38:58.438157
2015-06-06T18:17:04
2015-06-06T18:17:04
35,457,926
0
0
null
null
null
null
UTF-8
Python
false
false
306
#!/Users/jonr/Documents/Ethan/shoppinglist/venv/bin/python # -*- coding: utf-8 -*- import re import sys from django.core.management import execute_from_command_line if __name__ == '__main__': sys.argv[0] = re.sub(r'(-script\.pyw|\.exe)?$', '', sys.argv[0]) sys.exit(execute_from_command_line())
[ "jonr@new-host.home" ]
jonr@new-host.home
c56444664cf3333a301f0884510b0044d4904ce6
d612a06eec26d98d8dc6666202b8e6745d4d0e8d
/cmatrixtester/indexcreator.py
3cefd9eb10a670fdd2d8297c6726ffc72d333817
[]
no_license
usman64/Document_Classification
f666d3c25040fd0711b296b1d5d64a33a6b818fb
1873bf7a5d43073d534770087a9ac7a48b402a72
refs/heads/master
2022-03-06T23:34:53.904598
2019-08-04T15:56:11
2019-08-04T15:56:11
195,414,932
0
0
null
null
null
null
UTF-8
Python
false
false
1,438
py
# make an in index of all the templates/images along with their paths and their respective classification (true) # path filename class import os import shutil import time count = 0 start_time = time.time() parentPath = 'wkdir' #change this to desired folder path print('1 for template index creation') #can change this...
[ "noreply@github.com" ]
usman64.noreply@github.com
2d740379b638a22df79119c84d3b7dddf824aa09
4ef80242cf22a1ccd0d7a2042476b5b6ac1eb03e
/build/lib/scadparser/ScadModel.py
c00db947830a69e33733ad984fc06ea2a68a7bc0
[]
no_license
rblack42/ScadParser
71081adb99ec03e78bc78b4101562b7fa1bab134
a9cc10b23c6515a53065dfb58b23881d0145f88d
refs/heads/master
2023-07-11T03:51:53.434534
2021-08-27T02:03:37
2021-08-27T02:03:37
397,718,873
0
0
null
null
null
null
UTF-8
Python
false
false
1,172
py
from __future__ import annotations import os import tatsu from tatsu.ast import AST symbol_table = {} def store(id, val): symbol_table[id] = val def lookup(id): if not id in symbol_table: return id else: return symbol_table[id] class ScadSemantics(object): def include(self, ast): ...
[ "roie.black@gmail.com" ]
roie.black@gmail.com
1a1cc183e8a106d2a1e6d43af03309ad1e706ec3
d31e060d2e47ea84621e7985acaa762cb0b5a9d1
/0x08-python-more_classes/0-rectangle.py
82429b5a46296ee88505b92d3832108ae33b7655
[]
no_license
auraPasmin/holbertonschool-higher_level_programming
3db265a0c37ce20497a15734619b0eb82d63260d
62e1786ac6ee0f8045dd4e310cdd4b990c5b1470
refs/heads/master
2020-09-28T23:24:56.341216
2020-06-05T04:35:04
2020-06-05T04:35:04
226,890,615
1
0
null
null
null
null
UTF-8
Python
false
false
129
py
#!/usr/bin/python3 """ Write an empty class Rectangle that defines a rectangle:""" class Rectangle: """ pass """ pass
[ "1288@holbertonschool.com" ]
1288@holbertonschool.com
0fda81459bc7dbbfdfd31cc6ad3c19fa455a756f
19ebf2faa5f7d4baf4151e350dd22b88f625c44b
/confirmed_users.py
2b8e8a7a913d25c29c891e8188bec791fef50f04
[]
no_license
20145208/PyCharm_test
e6108d41d497ffd16822814e093b707f8df59ba7
a09679b6e471e3659a29822001f83a924867fb0f
refs/heads/master
2022-10-22T14:38:07.977634
2020-06-18T13:55:02
2020-06-18T13:55:02
269,376,634
0
0
null
null
null
null
UTF-8
Python
false
false
1,908
py
# @Time : 2020/6/4 0004 22:10 # @Author: CaiYe # @File : confirmed_users.py def con_users(): unconfirmed_users = ['alice', 'brian', 'candace'] confirmed_users = [] while unconfirmed_users: current_users = unconfirmed_users.pop() print("Verifying user: " + current_users.title()) ...
[ "177315815@qq.com" ]
177315815@qq.com
bbc92ccd5d682422acb5a8364021fb0f1838bea1
3ec32f5aba8624125918adad5cfbc174d698526d
/test/functional/zmq_test.py
3a7b77bc01b67f696e4585ac2662d14f1115b421
[ "MIT" ]
permissive
aixinwang/atc
b51b85bd91956657d70b72ca128d30132754269e
9f0b53af19735ce0d6a5a6feed6733a51f109019
refs/heads/master
2021-04-03T06:48:24.497048
2018-03-14T04:53:58
2018-03-14T04:59:04
125,152,414
0
0
null
null
null
null
UTF-8
Python
false
false
4,297
py
#!/usr/bin/env python3 # Copyright (c) 2015-2016 The Ai the coins developers # Distributed under the MIT software license, see the accompanying # file COPYING or http://www.opensource.org/licenses/mit-license.php. """Test the ZMQ API.""" import configparser import os import struct from test_framework.test_framework im...
[ "your_email@youremail.com" ]
your_email@youremail.com
f5652e43484283b338bb4c520e99d2d2437cec4e
a7645e386f7975a39ec79adc9748b87884fcb5cc
/socket_factory.py
8b9eaea6f357f9176268517c2d9a0dab3d1d0e0a
[]
no_license
snjdck/PythonCode
343e84dc2967ce70b657b678d03a1996f35ffd9d
f0703c534fadadda6ee804059bd6ddf4f9976579
refs/heads/master
2021-01-01T17:05:11.482774
2015-06-03T07:32:29
2015-06-03T07:32:29
10,338,777
0
0
null
null
null
null
UTF-8
Python
false
false
286
py
import socket def create_client(ip, port): sock = socket.socket() sock.connect((ip, port)) return sock def create_server(ip, port): sock = socket.socket() sock.setsockopt(socket.SOL_SOCKET, socket.SO_REUSEADDR, 1) sock.bind((ip, port)) sock.listen(5) return sock
[ "shao_kai@qq.com" ]
shao_kai@qq.com
11a2702023957a734b9bdaa5b56342d72e3e0d9b
01fff6a4d726582262f6c4334894515ce9aee382
/Test/Measurements/GHZ.py
145acf852f186381ccff3d2c9f8f50d446f68537
[]
no_license
FredericSauv/QuantumSimulation
e10160550dd0b501c523031e74cfc427bcb53c23
0be68edfa33fb570d52e31be1d0b277a611b9ba4
refs/heads/master
2021-06-07T08:38:02.867027
2020-10-16T10:17:11
2020-10-16T10:17:11
130,664,275
0
0
null
null
null
null
UTF-8
Python
false
false
5,460
py
#!/usr/bin/env python3 # -*- coding: utf-8 -*- """ Created on Tue Aug 6 20:42:34 2019 @author: fred """ import qutip as qt import numpy as np import matplotlib.pyplot as plt from functools import reduce import utilities as ut ############ Init, utility zero = qt.qubits.qubit_states(1,[0]) one = qt.qubits.qubit_sta...
[ "frederic.sauv@gmail.com" ]
frederic.sauv@gmail.com
67145f23dd23fff18a42410689e3e97390749427
de4d3ba52b0792695813549f9b3401c3c7ff5d12
/computervision/predictGrowth.py
c59408064bbb2ecc0ed2ae33b44beede050f6e27
[ "MIT" ]
permissive
OurFourthRodeo/Photo-Synthesis
f7d275d67fec14f40c9ad4ebb766951caacfb51f
314ebcfbed0adb2d95e927c410242b48e86720bd
refs/heads/main
2023-01-31T03:16:38.581955
2020-12-11T03:27:34
2020-12-11T03:27:34
305,520,546
1
0
null
null
null
null
UTF-8
Python
false
false
3,140
py
import numpy as np import logging from matplotlib import pyplot as plt import os import sys import json import tensorflow as tf import cv2 ##------------------------------------------------------------------------------------------------ ## Global Variables ##--------------------------------------------------...
[ "jasona99@outlook.com" ]
jasona99@outlook.com
a79b90083990c4ddff918a7d0b71d0f301ea6b07
47813000cf80dbf4ae9bdc81d1cdb5f8986023a4
/models/tiny/resnet.py
a61ff890565444487b983e3b89f08dbed4b16e1c
[]
no_license
w5yang/bone-project
fa72b4085f6f99bf7d64f853df8d9665c132456d
47049ed08abdc51c52fde5c0056423c1aaec2235
refs/heads/master
2023-02-24T05:45:44.833294
2021-01-27T08:12:45
2021-01-27T08:12:45
307,283,494
0
0
null
null
null
null
UTF-8
Python
false
false
5,842
py
from __future__ import absolute_import """ Source for CIFAR models: https://github.com/bearpaw/pytorch-classification by user "bearpaw" Notes: - Network names have been edited to make it consistent with pytorch-torchvision and cadene imagenet models """ """Resnet for 32x32 dataset. Ported form https://github.com/f...
[ "yangwenbin@whu.edu.cn" ]
yangwenbin@whu.edu.cn
9738125e28cf1c9de83533eb096c8762262e5edb
b8b3dcf89ac1df5ab348a85d9bd360b68ca3389e
/scrape/urls.py
70a536405bd40d4a4cfe6babde5245c9f995b6d0
[]
no_license
griggz/democratizer
eaa5d44889127c75e50118c54597114e13efb993
0633282933ea1a67c1ac0e685714b6b0435b8ad2
refs/heads/master
2022-02-28T22:45:38.220324
2019-09-23T23:51:57
2019-10-10T00:36:53
208,864,119
1
0
null
null
null
null
UTF-8
Python
false
false
500
py
from django.urls import re_path, path from . import views app_name = 'scrape-api' urlpatterns = [ path('yelp', views.ScrapeListCreateAPIView.as_view(), name='yelp-list-create'), re_path(r'^yelp/(?P<slug>[\w-]+)/$', views.ScrapeDetailAPIView.as_view(), name='yelp_detail'), path('indeed', views....
[ "grigswa@gmail.com" ]
grigswa@gmail.com
2da010a994603596628ceff6366bd62638a2f44b
1c6a8bc04a051239a0a12519f58066c71e36597d
/API/restApi/urls.py
5a4637fcae5642bf7d7ac4ecf773c97d9b240067
[]
no_license
Irfanwani/AppDev
90fa0f0e05ceb32dc879b14c6af40785a9e567ca
1d5f8e09029ad2b49cbc7c3a4af6cbff4eb55116
refs/heads/master
2023-04-26T16:40:48.441275
2021-05-08T13:27:21
2021-05-08T13:27:21
364,173,584
0
0
null
null
null
null
UTF-8
Python
false
false
481
py
from django.urls import path, include from . import views from rest_framework.routers import DefaultRouter router = DefaultRouter() router.register('articles', views.ArticleViewSet, basename='articles') urlpatterns = [ path('api/', include(router.urls)) # path('articles/', views.ArticleList.as_view()), # ...
[ "irfanwani347@gmail.com" ]
irfanwani347@gmail.com
1755ca056d41648fe5b3aac113eda6a31d225032
49457014fcb1295afe446e1f492bfd93d6a2c02b
/django_project/settings.py
e01246cf8dba1b1ee11f1978cfd5c24bfed9f293
[]
no_license
jatinkumar0/Project-1
a4a5654a8a5f2951c3d33db8f6dde9bcf687acc8
fce17d3b1578533457642723492bd2baf1fe1883
refs/heads/main
2023-06-07T01:40:08.926537
2021-07-08T09:59:58
2021-07-08T09:59:58
326,420,913
0
0
null
null
null
null
UTF-8
Python
false
false
3,095
py
""" Django settings for djp project. Generated by 'django-admin startproject' using Django 3.1.6. For more information on this file, see https://docs.djangoproject.com/en/3.1/topics/settings/ For the full list of settings and their values, see https://docs.djangoproject.com/en/3.1/ref/settings/ """ from pathlib imp...
[ "ec2-user@ip-172-31-0-46.ap-south-1.compute.internal" ]
ec2-user@ip-172-31-0-46.ap-south-1.compute.internal
77d2e492ca8fc9fa2ef3a42bf16a2aef6dbe8259
bb96f517535a25f2f2617c6f711cc4f0933692a1
/pickle_tester/pickler.py
a8cd9eb2eba9ea8290eb136521c12c36dbd6dd08
[]
no_license
davpayne/Thinkful
746de19dcdd2d5e13a35fbc62add38d3cfd1779f
f03707bf6b50d5743f750b2b2198975401389c84
refs/heads/master
2020-03-29T15:46:25.955508
2014-03-09T19:57:16
2014-03-09T19:57:16
null
0
0
null
null
null
null
UTF-8
Python
false
false
221
py
import sys import pickle def list_pickler(a_list, path): fil = open(path, 'wb') pickle.dump(a_list, fil) fil.close() def unpickler(path): fil = open(path, 'rb') b_list = pickle.load(fil) fil.close() return b_list
[ "dpayne162@gmail.com" ]
dpayne162@gmail.com
7f802e323fd498a28e7d5eabd0de2d8e12535b04
0d11209671cdefa7791a9775f16820f57b603ce8
/store/views/contact.py
ebafc1723297e16ae96b6fe2a1cc5f5955538a7f
[]
no_license
RektInator/webstore-python
d4e02d0e790e07201c14b946185a9c3a82ce1e61
c366e6a19ca96438da0c4c3db73a77854ef0c6b5
refs/heads/master
2021-03-27T18:20:35.303448
2018-01-17T13:53:24
2018-01-17T13:53:24
null
0
0
null
null
null
null
UTF-8
Python
false
false
273
py
from django.http import HttpResponse from django.shortcuts import render from django.template import loader from django.template.context import RequestContext from . import renderer def contact(request): return renderer.RenderWithContext(request, 'store/contact.html')
[ "0929380@hr.nl" ]
0929380@hr.nl
458dfdce4a2733781ab1f8fdbde70e547d6feec7
15da37c85e9e7b7ff5c88aa9debf9cf604e6d1bf
/data-science/bin/jupyter-kernel
902ee1dcaa588d6310a62932cec80298609c6651
[ "Apache-2.0" ]
permissive
alejandrozorita/Python-Big-data
cb45d6e041cfde6eff694454cad104965fe12f0d
8d9f777caec8a77ee0ad7c8f23e68d13cc77221a
refs/heads/master
2020-03-07T15:00:49.576110
2018-04-08T17:06:48
2018-04-08T17:06:48
127,542,352
0
0
null
null
null
null
UTF-8
Python
false
false
286
#!/Applications/MAMP/htdocs/Python/Python-Big-data/data-science/bin/python3.6 # -*- coding: utf-8 -*- import re import sys from jupyter_client.kernelapp import main if __name__ == '__main__': sys.argv[0] = re.sub(r'(-script\.pyw?|\.exe)?$', '', sys.argv[0]) sys.exit(main())
[ "alejandro.zorita@medssocial.com" ]
alejandro.zorita@medssocial.com
cce7342a42c8684ddbf949892ee53711e6b54f11
52f26888973c4e5ee23dbac68d3fbd536e616652
/octoprint_yonotifier/__init__.py
14b8ee9fc360fc8de52a5e7306081912d80082be
[]
no_license
josephgeis/OctoPrint-YoNotifications
802c43e22c64ae086b1ba16fe1ccb1d3cdf1131d
c939b38ccdfbf0bfb934ecabe1035233fd355488
refs/heads/master
2022-01-10T14:37:26.280231
2019-05-27T07:24:22
2019-05-27T07:24:22
null
0
0
null
null
null
null
UTF-8
Python
false
false
6,727
py
# coding=utf-8 from __future__ import absolute_import # (Don't forget to remove me) # This is a basic skeleton for your plugin's __init__.py. You probably want to adjust the class name of your plugin # as well as the plugin mixins it's subclassing from. This is really just a basic skeleton to get you started, # defini...
[ "juniorrubyist@gmail.com" ]
juniorrubyist@gmail.com
0d9d84e3b4df268835c47267e9345d14af8f3da3
a6912b5120608203d245024b2a8d3a0b1766595f
/students/KyleCreek/lesson06/assignment/src/good_perf.py
ee0fe8ec9724366c514e90e9bba07e7d2e087f23
[]
no_license
KyleCreek/Python220A_2019
a66a3eb14332e60fd73da00b3691d33630245885
b61e0fb05576b3e3dd7fcc0c73885d6b7d5d2593
refs/heads/master
2020-05-04T19:42:17.155894
2019-06-10T01:14:30
2019-06-10T01:14:30
179,404,089
0
0
null
2019-04-04T02:09:49
2019-04-04T02:09:49
null
UTF-8
Python
false
false
2,323
py
""" #----------------------------- # # Title: good_perf.py # Desc: Revisions to poor_perf.py # Change Log: (Who, When, What) KCreek, 5/14/2018, Finalized Script # ----------------------------- # """ import csv import datetime import logging # Set Up Logger logging.basicConfig(level=logging.DEBUG) def analyze(filena...
[ "Kyle.A.Creek@gmail.com" ]
Kyle.A.Creek@gmail.com
fa108bd7530e8565ffc888194f3b2bc13e59a4a5
b56eaf7a603cbb850be11dbbed2c33b954dedbcb
/distar/envs/other/alphastar_statistics.py
f2c414f241ad9e9546fba1cdbf7a88c0f1c3aa70
[ "Apache-2.0" ]
permissive
LFhase/DI-star
2887d9c5dd8bfaa629e0171504b05ac70fdc356f
09d507c412235a2f0cf9c0b3485ec9ed15fb6421
refs/heads/main
2023-06-20T20:05:01.378611
2021-07-09T16:26:18
2021-07-09T16:26:18
384,499,311
1
0
Apache-2.0
2021-07-09T16:50:29
2021-07-09T16:50:28
null
UTF-8
Python
false
false
20,962
py
import copy import os import logging import numpy as np import torch from ctools.pysc2.lib.action_dict import GENERAL_ACTION_INFO_MASK from ctools.pysc2.lib.static_data import NUM_BEGIN_ACTIONS, NUM_UNIT_BUILD_ACTIONS, NUM_EFFECT_ACTIONS, NUM_RESEARCH_ACTIONS, \ UNIT_BUILD_ACTIONS_REORDER_ARRAY, EFFECT_ACTIONS_RE...
[ "opendilab@gmail.com" ]
opendilab@gmail.com
9771c5d379236811cc2517b042004d5534af8a1a
d73e252c9618ef7fad2434ab0c2f6cc51fe5aa8a
/Gestion location.py
8f2ab09856cb47c8af7f2ad87c3e1265d02a241b
[]
no_license
HaticeKara/Location
883d199ee64b65c50341f56d50f73bc0f3232bee
e57e2173049d2744df6b3b9267edc388c442dea9
refs/heads/master
2023-03-14T03:47:33.423032
2021-03-05T08:14:21
2021-03-05T08:14:21
344,445,771
0
0
null
null
null
null
UTF-8
Python
false
false
4,680
py
import mysql.connector mydb = mysql.connector.connect( host="localhost", user="hatice", password="Plmoplmo14*", database="baseloc" ) print(mydb) mycursor = mydb.cursor() # partie création et insertions : mycursor.execute("CREATE TABLE Loyer (id_loyer int not null auto_increment primary key,type_logement...
[ "hakara]msn.com" ]
hakara]msn.com
4ed8c6acd675d417daccb464aa6770a050037a26
011e932c48456ba8015cd45e326fd9b5df2758bd
/python_db/query_data.py
8b430c6ff3024dd89d753a3cd252d53344aa12d1
[]
no_license
JasminSantana/Patterns-Design
f3e05d735f3ce2018638ad81f9f4ba9aa8633489
27429085e22eb4357402575d36eefc1dca9c7dab
refs/heads/master
2021-08-20T10:52:20.145097
2017-11-29T00:17:04
2017-11-29T00:17:04
111,817,968
0
0
null
null
null
null
UTF-8
Python
false
false
878
py
from config import config import psycopg2 """"Author: Santana Mares Jasmin gmail: sant.mar.1997@gmail.com """ def get_vendors(): """ query data from the vendors table """ conn = None try: params = config() conn = psycopg2.connect(**params) cur = conn.cursor()...
[ "noreply@github.com" ]
JasminSantana.noreply@github.com
420507f01bf945d4e26787b3a4f118ddd1f40cb2
776d7a10616aac4913e02c8999bb7e10c4748c8c
/tests/conftest.py
2a741bb3be832cba82d55abf91241b201f310e02
[ "Apache-2.0" ]
permissive
acv-auctions/manifold
57277506a5d8c517196d40b7f3c345c8d3732507
b798b0dd6c2f96395d47f700fd2ed0451b80331b
refs/heads/master
2021-03-27T12:55:42.015027
2019-01-15T20:12:16
2019-01-15T20:12:16
123,957,712
2
0
Apache-2.0
2019-01-15T18:37:51
2018-03-05T17:59:51
Python
UTF-8
Python
false
false
827
py
""" Copyright 2018 ACV Auctions 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 agreed to in writing, software di...
[ "starner.daniel5@gmail.com" ]
starner.daniel5@gmail.com
2c163b01d88f546a5fc61e0aa38f9a7dda79d688
b0c8de1f780ae9a12a7f1290774391d2c6fe73b6
/16-Tekstbestanden/Hittegolven.py
91cdec93e16d6004e0840785bf7f8a2d4f4cf359
[]
no_license
MichielFeys/Informatica5
65f161f8263a442a4191428516ecab5d0f754066
a8db06fe52532b7046c0ab3ecea22a4e222b086c
refs/heads/master
2021-07-01T14:48:22.667840
2019-05-08T17:50:24
2019-05-08T17:50:24
147,636,999
0
0
null
null
null
null
UTF-8
Python
false
false
507
py
temp = [28, 19, 26, 27, 23, 23, 25, 27, 30, 32, 25, 28] lijnen = [] aantal_25_plus = 0 aantal_30_plus = 0 hittegolven = 0 for i in range(len(temp)): if aantal_25_plus >= 5 and aantal_30_plus >= 2: hittegolven += 1 aantal_30_plus = 0 aantal_25_plus = 0 if temp[i] >= 30: aantal_30...
[ "43027811+MichielFeys@users.noreply.github.com" ]
43027811+MichielFeys@users.noreply.github.com
d1d879e6edfda7cc8eacaeed847c2ffabd08f673
c09cf7d51edc9b9b769c3ec5344f114678e9b6fb
/ecommerce/sales.py
8c8c4ff107392ad7a2db3d1b2b673e542cba7121
[]
no_license
asadsid95/CodeWithMosh
21852fe9324eed79246e1d2fb0c2c8e9b11b7305
5791ff644186aaa0e705f2780e24c312aa02860c
refs/heads/main
2023-07-15T19:52:18.661866
2021-08-12T00:49:18
2021-08-12T00:49:18
393,736,435
0
0
null
null
null
null
UTF-8
Python
false
false
111
py
def calc_tax4(): print('this function is in \'sales\' module, inside of \'ecommerce\' package.') pass
[ "38368758+asadsid95@users.noreply.github.com" ]
38368758+asadsid95@users.noreply.github.com
8de9252cb023d9bc76e4587f3bb887d814af3d7c
18468f11a0b2e63ea6ee97566b3e8c3d9cc40f6b
/0_brincando.py
abb2f344044c9b3e3553234d0b61b342ce5c6e8b
[]
no_license
gutaors/ToolBox
931b85477a167d3f7e5173ded20e4210b248e8e8
b6a3d9468e998e17b03d3c1fefdbeda78f902ef3
refs/heads/main
2022-11-05T13:52:52.018223
2022-10-24T04:04:38
2022-10-24T04:04:38
136,492,251
0
0
null
null
null
null
UTF-8
Python
false
false
31,083
py
# --- # jupyter: # jupytext: # formats: ipynb,py:light # text_representation: # extension: .py # format_name: light # format_version: '1.5' # jupytext_version: 1.13.8 # kernelspec: # display_name: Python 3 (ipykernel) # language: python # name: python3 # --- # ### mostra...
[ "gutaors@gmail.com" ]
gutaors@gmail.com
205d1f4dc6e69a3c928c5cb54ea44d579e471935
b5096738be18bf771365185b7d341a687090924b
/ics/lesson4/problem_set_optional/converting_second.py
73115dc588917559282692d5a021b1a4800c926f
[]
no_license
shgtkshruch/udacity
7809dc8852d7657207062503e2159d40897357d6
5cf1ff017fe08294018945976d54a193ccc129b4
refs/heads/master
2020-05-03T23:35:51.986344
2014-07-02T00:58:27
2014-07-02T00:58:27
19,366,551
7
1
null
null
null
null
UTF-8
Python
false
false
1,319
py
# Write a procedure, convert_seconds, which takes as input a non-negative # number of seconds and returns a string of the form # '<integer> hours, <integer> minutes, <number> seconds' but # where if <integer> is 1 for the number of hours or minutes, # then it should be hour/minute. Further, <number> may be an intege...
[ "shgtk.shruch@gmail.com" ]
shgtk.shruch@gmail.com
4687b44e6de343e51dd559e06e829299c7675cf5
99e8ae654abe1aa3995d4a6252ddc14e1b247413
/Python_Demo/WEEK_EIGHT/TKinterDemo5.py
1331b3d30af2fe5eef68512b4a5ad02a83b1bd56
[]
no_license
l516q582/pythondemo
fc6e9054ec4ac78d58d6bc75b5ccba796947396d
dbe3ee4e7bb7d6be5f0264adb666867be99d1069
refs/heads/master
2021-09-16T20:15:22.015411
2018-06-23T03:00:56
2018-06-23T03:00:56
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,179
py
from graphics import * def convert(inputPart): celsius = eval(inputPart.getText())#输入转换 fahrenheit = 9.0/5.0 * celsius + 32 return fahrenheit def colorChange(win, inputPart): cnum = eval(inputPart.getText()) weight = cnum / 100.0 newcolor = color_rgb(int(255*weight), int(66+150*(1-weight)), in...
[ "1558319437@qq.com" ]
1558319437@qq.com
a933f81155bab2489d7505fd0f8dce1a748f177e
78fd344f54042c706aa1db9937af0f451a858f47
/academics/migrations/0030_alter_quizgrades_timetaken.py
ec3a1939ff3c5a77df190e96b4e7a528c6a16c60
[]
no_license
Aniketvyas/inhouse
2ca8b29777798ad3268fbaeb83e93eeca750d996
908a7368587f562d32c4968da6e7b629332c6265
refs/heads/master
2023-07-03T09:11:56.688054
2021-08-11T12:15:30
2021-08-11T12:15:30
393,966,782
0
0
null
null
null
null
UTF-8
Python
false
false
424
py
# Generated by Django 3.2 on 2021-07-12 11:44 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('academics', '0029_assignment_assignmenttype'), ] operations = [ migrations.AlterField( model_name='quizgrades', name='...
[ "vyasaniket6@gmail.com" ]
vyasaniket6@gmail.com
5a90946ba66382708baa565dac613ce90965d81f
69bdd5f89421fb81e74e1c8ba1b8ab8fc41c8a25
/plotly_to_gif.py
2e0f46545399df5bc00334e3b88e64cf67f10f18
[]
no_license
satoshi-teji/plotly_to_gif
e1f0aaef761b83b3bdb53d70a8d538eb5d2d71eb
ee58624d19900f3446c2cf51dbd499243335618d
refs/heads/master
2023-02-26T04:10:53.958058
2021-01-28T20:24:41
2021-01-28T20:24:41
333,897,948
0
0
null
null
null
null
UTF-8
Python
false
false
1,280
py
from PIL import Image import plotly.graph_objects as go import io import numpy as np import pandas as pd class Converter: def __init__(self, layout=go.Layout()): self.layout = layout self.images = [] def to_gif(self, ts_data, changing_index=False, indexes=np.array([])): data_type = ty...
[ "te.sato1030@gmail.com" ]
te.sato1030@gmail.com
49f1a41f9ba2b58896b0eb4e7a76d13dbb45c2a1
551b75f52d28c0b5c8944d808a361470e2602654
/huaweicloud-sdk-vpc/huaweicloudsdkvpc/v2/model/neutron_list_security_group_rules_request.py
c2fd8e52b4af1f422cfe563c56bf84d24458f81d
[ "Apache-2.0" ]
permissive
wuchen-huawei/huaweicloud-sdk-python-v3
9d6597ce8ab666a9a297b3d936aeb85c55cf5877
3683d703f4320edb2b8516f36f16d485cff08fc2
refs/heads/master
2023-05-08T21:32:31.920300
2021-05-26T08:54:18
2021-05-26T08:54:18
370,898,764
0
0
NOASSERTION
2021-05-26T03:50:07
2021-05-26T03:50:07
null
UTF-8
Python
false
false
13,621
py
# coding: utf-8 import pprint import re import six class NeutronListSecurityGroupRulesRequest: """ Attributes: openapi_types (dict): The key is attribute name and the value is attribute type. attribute_map (dict): The key is attribute name ...
[ "hwcloudsdk@huawei.com" ]
hwcloudsdk@huawei.com
7f5a4fc0ed1fefe04e9275015cc32f1b1f2c2e50
1cfc2e726cf5efccae42fe292dd0b6570705c524
/Python/Application2/main.py
21889393d04dd31419a302a47f6c75b30e2ed43c
[]
no_license
PatiVioleta/PythonApplication
3007d096d0af23a380c0e862f965109e5484c57d
983a0c1ce4f8b8df975be2c7960fd97325de77b7
refs/heads/master
2020-04-28T15:05:12.838831
2019-03-13T06:25:29
2019-03-13T06:25:29
175,359,445
0
0
null
null
null
null
UTF-8
Python
false
false
1,955
py
''' Created on Nov 12, 2017 @author: PATI ''' from repository.repositoryStudent import inMemoryRepository from repository.repositoryMaterie import inMemoryRepositoryD from repository.repositoryNota import inMemoryRepositoryN from repository.repositoryMaterie2 import disciplinaFileRepository from repository.repositoryN...
[ "48491987+PatiVioleta@users.noreply.github.com" ]
48491987+PatiVioleta@users.noreply.github.com
b7175444a24d6feb9f6c5f2e06b70705b249d4a6
babe794f1efd974e7f2a289b644891ad9f572bee
/hechuang/order/admin.py
288b2f8a6475164dfb0b6e99367e7f46e837d620
[ "MIT" ]
permissive
VirtualBookStore/hechuang_backend
6137fc9e3e4e5092a910c07a7737135c1465bf07
421bdeca90eb174b117e8bd8ac0f4cb002461dcd
refs/heads/master
2023-06-07T04:17:33.342808
2021-06-28T07:28:26
2021-06-28T07:28:26
325,348,792
0
0
null
null
null
null
UTF-8
Python
false
false
135
py
from django.contrib import admin from order.models import Order @admin.register(Order) class OrderAdmin(admin.ModelAdmin): pass
[ "rand1925@outlook.com" ]
rand1925@outlook.com
164e025c757cbef908707f5219e2c665aaa5261b
be84495751737bbf0a8b7d8db2fb737cbd9c297c
/sdl/tests/sdl/rnd_test.py
bd5ccfdfe9baac2abbb86c6b90739265c39087ae
[]
no_license
mario007/renmas
5e38ff66cffb27b3edc59e95b7cf88906ccc03c9
bfb4e1defc88eb514e58bdff7082d722fc885e64
refs/heads/master
2021-01-10T21:29:35.019792
2014-08-17T19:11:51
2014-08-17T19:11:51
1,688,798
1
0
null
null
null
null
UTF-8
Python
false
false
724
py
import unittest from tdasm import Runtime from sdl.vector import Vector2, Vector3, Vector4 from sdl.shader import Shader from sdl.args import IntArg, FloatArg, Vec2Arg, Vec3Arg, Vec4Arg code = """ p1 = rand_int() p2 = random() p3 = random2() p4 = random3() p5 = random4() """ p1 = IntArg('p1', 333) p2 = FloatArg('p2',...
[ "mvidov@yahoo.com" ]
mvidov@yahoo.com
c6872feee88fe1b197782ffe58764561cf3b2807
9f78c2bfadd1e87d779a786e7cd0952b6fbc96f1
/common/models/log/AppErrorLog.py
918ff63b12f1ffc3cbcf7a180a16e09a55e0cc6a
[]
no_license
Erick-LONG/order
08393ed9b315cf2c6af5e2b9bfd6917605fe8d94
4b853403c9c949b3ecbe2766ec77750557cf11fc
refs/heads/master
2022-11-11T09:32:53.570524
2020-06-30T09:20:18
2020-06-30T09:20:18
262,786,005
0
0
null
null
null
null
UTF-8
Python
false
false
544
py
# coding: utf-8 from application import db class AppErrorLog(db.Model): __tablename__ = 'app_error_log' id = db.Column(db.Integer, primary_key=True) referer_url = db.Column(db.String(255), nullable=False, server_default=db.FetchedValue()) target_url = db.Column(db.String(255), nullable=False, server_...
[ "834424581@qq.com" ]
834424581@qq.com