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
7ecfe5384e80e17e91224d164934ca18fa4094ea
f6fb47f9fff6ac541831f6d8e6dade53c8ab320f
/stock_predictor/optionvaluecalculation/OptionChain/optionChainDataDownloaderAndAnalyzer.py
69b2eb53f83e02fc8aac39d1dbbb81cdd2943dc7
[]
no_license
SanjotRaibagkar/mokshtech
d3cd7b04bf3390040fa6c602e58cba0a9c21fff9
53c8f80909bb796188239b868729fe8447bae508
refs/heads/master
2021-06-04T14:04:21.007465
2021-05-10T03:29:41
2021-05-10T03:29:41
126,794,340
6
3
null
null
null
null
UTF-8
Python
false
false
8,819
py
import requests import json #import logging #import http.client import pandas as pd import xlwings as xw from time import sleep from datetime import datetime,time,timedelta import os import property as p import numpy as np pd.set_option("display.width",1500) pd.set_option("display.max_columns",75) pd.set_option("dis...
[ "sanjotraibagkar@gmail.com" ]
sanjotraibagkar@gmail.com
f1d870574b4d5ccd5bd123a5c206c7b793cb6e2e
abdac28d1883b68660727b540159a4e4f4e7d6d0
/subsequencia_crescente_maxima.py
1c446b218c9e3d17f817dca930c07162f0e46941
[]
no_license
arturmbrasil/subsequencia_crescente_maxima
d3b34534903564056d59690a9cae5a757479361b
1ac042019a14719ab813996752a40e5d4e937980
refs/heads/master
2020-05-16T11:15:54.917128
2019-04-23T12:35:03
2019-04-23T12:35:03
183,011,228
0
0
null
null
null
null
UTF-8
Python
false
false
1,388
py
def subsequencia_crescente_maxima(arr): #Cria um dicionario para ir salvando as maiores subsequencias subsequencia = dict() for i in range(0, len(arr)): subsequencia[i] = [] subsequencia[0] = [arr[0]] #Usando o método de memorização para acessar as melhores subsequencias ja conhecidas o al...
[ "noreply@github.com" ]
arturmbrasil.noreply@github.com
edeb30be000b27d675c53556bc63fdbd3d27cde3
065c600d5f2f248c6674e29bd613fa516256fdff
/app/auth/views.py
67f673f62cf57b77f4091f6bc6f73b4c8bfc47a8
[]
no_license
Panmax/playground
f10268b4f6793a412214074c2002cf2d235636d4
98cc519abfd28b78e4c9a0f882f5c7af4e23e57e
refs/heads/master
2021-01-10T16:00:10.067965
2016-02-18T04:06:53
2016-02-18T04:06:53
48,731,373
2
0
null
2016-01-23T07:49:03
2015-12-29T06:23:57
JavaScript
UTF-8
Python
false
false
1,320
py
# -*- coding: utf-8 -*- # @Author: 'Panmax' from flask import request, render_template, redirect, url_for, flash from flask.ext.login import login_user, login_required, logout_user from leancloud import Query from . import auth from .forms import RegistrationForm, LoginForm from ..models import _User as User @auth...
[ "967168@qq.com" ]
967168@qq.com
fa21e10296eb30e481e593225da2c5bf067b17d8
36de14c6b188886df6a284ee9ce4a464a5ded433
/Solutions/0537/0537.py
4fbd4e5cece2524d0caf81d892c6c3888fa19f8e
[]
no_license
washing1127/LeetCode
0dca0f3caa5fddd72b299e6e8f59b5f2bf76ddd8
b910ddf32c7e727373449266c9e3167c21485167
refs/heads/main
2023-03-04T23:46:40.617866
2023-02-21T03:00:04
2023-02-21T03:00:04
319,191,720
3
0
null
null
null
null
UTF-8
Python
false
false
379
py
# -*- coding:utf-8 -*- # Author: washing # DateTime: 2022/2/25 10:22 # File: 0537.py # Desc: class Solution: def complexNumberMultiply(self, num1: str, num2: str) -> str: real1, imag1 = map(int, num1[:-1].split('+')) real2, imag2 = map(int, num2[:-1].split('+')) return f'{real1 * r...
[ "1014585392@qq.com" ]
1014585392@qq.com
d8db91fd010d07b03bab8025d4fad5fc29f05755
70a2bdc9633d58d9909892e438d1713fcf8eef18
/main.py
a7beafd27b7e112cb0e8d428c688529f4b51f86e
[]
no_license
kennmundell/ISSoverhead
1b524bebba7095e15179bf457c7f433ffa5e06a8
78a65118426fa6052e8f24726ca214c5067ce27a
refs/heads/main
2023-06-03T06:22:17.667207
2021-06-26T13:51:39
2021-06-26T13:51:39
380,513,203
0
0
null
null
null
null
UTF-8
Python
false
false
1,481
py
import requests from datetime import datetime import smtplib import time my_email = "********" password = "********" MY_LAT = 54.857800 MY_LONG = -5.823622 def is_iss_overhead(): response = requests.get(url="http://api.open-notify.org/iss-now.json") response.raise_for_status() data = response.json() ...
[ "noreply@github.com" ]
kennmundell.noreply@github.com
ae1fa30c5631a8e3f5ffca2290134820eafe419b
29429b9924f930733a9f59bb2379876e6a878b29
/shootingmovingagent.py
6cee455860c1dc52c6d2d171d36cf4001be06c8f
[]
no_license
np9603/Berzerk-Agent
0aaf9e0dcb24ad7148d693c287d4bb89d5275572
09b1962619a94ee980e8f0b0aaaa9e61cf998871
refs/heads/main
2021-07-04T09:43:21.015336
2020-11-01T23:09:50
2020-11-01T23:09:50
178,928,253
0
0
null
null
null
null
UTF-8
Python
false
false
4,436
py
""" file: shootingmovingagent.py language: python2.7 author 1: np9603@cs.rit.edu Nihal Surendra Parchand author 2: rk4447@cs.rit.edu Rohit Girijan Kunjilikattil """ import argparse import sys import gym import random from gym import wrappers, logger from PIL import Image frame_skip=0 #Used to skip the initial fram...
[ "np9603@g.rit.edu" ]
np9603@g.rit.edu
b534443eb7a6ff5e442042819ea39672e4e998c7
b1697c65c4feaeafe670922a94e84ff5414c9e05
/python_workspace/seleniumStudy/pythonStudy/Exercises16.py
3e464091f37b6aee624160bb4b5168a3e45a05cf
[]
no_license
yuxichen2019/AotuTestStudy
3278e17b331fcc2a1c770cdb72cb7b2e770aad1e
3462d485d688660378d1ebc4cc8796ab59779add
refs/heads/master
2022-11-11T04:53:31.942675
2020-06-29T10:27:19
2020-06-29T10:27:19
265,173,915
1
0
null
null
null
null
UTF-8
Python
false
false
181
py
# -*- coding: utf-8 -*- # 2020/05/26 11:37 # seleniumStudy # Exercises16.py # company ''' 题目:输出指定格式的日期。 程序分析:使用 datetime 模块。 '''
[ "707148142@qq.com" ]
707148142@qq.com
6375cebff8340c4fa802ed06c295c5e08828cbfb
fddfb19ff50226313afc821fd9feac98bea31ea7
/docs/docsource/conf.py
900411c46513caf0a441a393f22d94d8475cf027
[]
no_license
DynamicaLab/Dynamicalab
c09e7a292945e3d55f8abc58abf8c49035e19af7
a5485ae3a7fd7eb622152a6cfac14844bec828a1
refs/heads/master
2020-03-23T13:45:07.358351
2019-12-18T21:08:40
2019-12-18T21:08:40
141,635,224
13
0
null
2019-09-23T20:07:47
2018-07-19T22:04:48
Jupyter Notebook
UTF-8
Python
false
false
6,265
py
#!/usr/bin/env python3 # -*- coding: utf-8 -*- # # DynamicaLab documentation build configuration file, created by # sphinx-quickstart on Mon Jul 23 20:39:22 2018. # # This file is execfile()d with the current directory set to its # containing dir. # # Note that not all possible configuration values are present in this ...
[ "edward.laurence.1@ulaval.ca" ]
edward.laurence.1@ulaval.ca
8c26014f3e24b3acd9fd0deabc9897d4a0d0d378
b1566d65a82ad41a6362240f09c028a067def1fd
/Lesson 4/Lesson 4(3).py
c806a2a281a8b46675a71cae066da7e45e3b195e
[]
no_license
4el0ve4eshk4/Python
464bd2b2c303575cd5ba1e475590df778bda072b
34a901ed01a6ff5a091ca6271921b18081b098a8
refs/heads/main
2023-08-16T21:49:30.798933
2021-10-01T15:02:47
2021-10-01T15:02:47
412,508,921
0
0
null
null
null
null
UTF-8
Python
false
false
186
py
mashin=['tesla', 'mazda', 'suzuki', 'lexus', 'volkswagen']; mashin.insert(2, "lamborgini"); print(mashin); del mashin[0]; print(mashin); del_mashin = mashin.pop(); print(mashin);
[ "noreply@github.com" ]
4el0ve4eshk4.noreply@github.com
13e5cb4f12f1bff9bbd2dc3e55384d60c4676198
103d541bab04591619569c0f9724e0d67e8f0940
/pytomatic/actions/__init__.py
69cab6ac3a14a77e85feebb2de17dd54a86fdd4d
[]
no_license
N0K0/pytomatic
5ca7854e88deea873a2c71e684d9af51bd1718bc
0946290965df3475c62f867e3ac2b0b549fbc1d6
refs/heads/master
2020-12-07T13:45:50.945317
2020-01-05T02:16:31
2020-01-05T02:16:31
49,326,442
3
2
null
null
null
null
UTF-8
Python
false
false
69
py
__all__ = ['helpers','MouseMovement','PixelSearch','WindowHandlers']
[ "nikolasp@ifi.uio.no" ]
nikolasp@ifi.uio.no
2a011e6a7832230ec23963079420a3ac44f227a4
e3671dd2dcd289f101fd9aef66d1f3d4fc1f23b5
/learning_log/users/urls.py
6e94e4ba6c111e2a5a48a13f1596cff64f821b11
[]
no_license
ctjzhl/learngit
aa0bb2db9e748adfb006eb79f41cb1d0e5a9b469
38bf9774fd29f0bf2a38a73b13a34dc6ed4810f4
refs/heads/master
2020-03-27T05:52:00.519591
2018-10-24T12:06:38
2018-10-24T12:06:38
146,058,305
0
0
null
null
null
null
UTF-8
Python
false
false
1,017
py
# -*- coding: utf-8 -*- """users URL Configuration The `urlpatterns` list routes URLs to views. For more information please see: https://docs.djangoproject.com/en/1.11/topics/http/urls/ Examples: Function views 1. Add an import: from my_app import views 2. Add a URL to urlpatterns: url(r'^$', views.home...
[ "caotijian@126.com" ]
caotijian@126.com
65d33b9a12ff3e96f54edd64d8513a9a8587806f
94d960e9d1384b3b3f9d6eb74afbe9d6c3ea49bf
/lode.py
de37f393a92ce72452b916db3fb60f184c554bdb
[]
no_license
mmaharebi/SciFun
84235d9e2aa75bf5642d65a35fdc5dfa3374e4ce
78ededc84cfdcb1c40f67ddbe28de4b52d5015db
refs/heads/master
2023-06-04T18:19:11.268165
2021-06-30T10:50:24
2021-06-30T10:50:24
381,667,492
0
0
null
null
null
null
UTF-8
Python
false
false
608
py
# libraries import numpy as np from numpy.polynomial import Polynomial from numpy.linalg import solve import matplotlib.pyplot as p # linear ODE solver function def lode(a, x0): N = a.shape[0] - 1 s = Polynomial(a).roots() S = np.zeros([N, N], dtype=complex) for i in range(N): S[i] = s**(i) A = solve(S, x0) de...
[ "mmaharebi@hotmail.com" ]
mmaharebi@hotmail.com
511e10b14f53d6e9a1d39287391a1ae8ae82673b
43547893b358ee192fde9c90ac089fa2eeb19a18
/delfi/utils/data.py
a1b8b9e94289fbb97cb59bede9dc3bdcfddcfa70
[ "BSD-2-Clause" ]
permissive
holmosaint/delfi
7f3162c8545da153feaa2a7f51fa867b7d4e7b26
d06b9f2e6ce6235c4b318b9807a75263beb3e518
refs/heads/master
2021-03-03T23:14:05.473583
2020-05-31T15:35:32
2020-05-31T15:35:32
245,992,579
0
0
NOASSERTION
2020-03-09T09:23:59
2020-03-09T09:23:58
null
UTF-8
Python
false
false
615
py
import numpy as np def isint(x): return np.issubdtype(type(x), np.integer) def repnewax(A, n, axis=0): """Add a new axis (default 0), shifting other dimensions down. Then repeat all values on this new axis n times""" return np.expand_dims(A, axis).repeat(n, axis=axis) def combine_trn_datasets(trn_...
[ "1600012947@pku.edu.cn" ]
1600012947@pku.edu.cn
e9a2c85c967c133538eba9ed5ca1159475f9d9d8
cb9b22c2f6aed1153c6d96aa208312616ba64a84
/FirstDjango/urls.py
ea9c20ff76bad654dc137cec0cdc99c2af265a1e
[]
no_license
kalibus/django-example
31a53115dde546a2f204ae00e00f103a3be84c4a
70bb41c1120a5d6f99eccb283cf91d9718c0dc27
refs/heads/master
2021-01-17T05:56:41.008704
2015-08-27T03:55:45
2015-08-27T03:55:45
41,459,388
0
0
null
null
null
null
UTF-8
Python
false
false
875
py
"""FirstDjango URL Configuration The `urlpatterns` list routes URLs to views. For more information please see: https://docs.djangoproject.com/en/1.8/topics/http/urls/ Examples: Function views 1. Add an import: from my_app import views 2. Add a URL to urlpatterns: url(r'^$', views.home, name='home') Class...
[ "nemesis@MacBook-Pro-de-Michael.local" ]
nemesis@MacBook-Pro-de-Michael.local
804f49414465e15033fc09bb3eea3590c35d7545
ca7aa979e7059467e158830b76673f5b77a0f5a3
/Python_codes/p02555/s408550146.py
3f1770a9705e2185d087542383f1ac6db23d0a59
[]
no_license
Aasthaengg/IBMdataset
7abb6cbcc4fb03ef5ca68ac64ba460c4a64f8901
f33f1c5c3b16d0ea8d1f5a7d479ad288bb3f48d8
refs/heads/main
2023-04-22T10:22:44.763102
2021-05-13T17:27:22
2021-05-13T17:27:22
367,112,348
0
0
null
null
null
null
UTF-8
Python
false
false
246
py
def main(): S = int(input()) dp = [0]*(S+1) dp[0] = 1 dp[1] = 0 if S >= 2: dp[2] = 0 for i in range(3,S+1,1): for j in range(0,i-2,1): dp[i] += dp[j] return dp[S]%1000000007 print(main())
[ "66529651+Aastha2104@users.noreply.github.com" ]
66529651+Aastha2104@users.noreply.github.com
b3cd3a08be871308af48cbe1ee823c53b0face0f
940a640391de81ef16e942d5efb098912141878e
/alib_doc2vec_recommender.py
b7d23f83912eaa69b5ec69d642f553a1cf1c4fcd
[]
no_license
rakvat/nlp_experiments
9320182777dfc045981ea2a68d3572355e049146
8e1816508b91b6ccbad60d18613fd2418d8a5cda
refs/heads/master
2020-03-10T21:58:32.828975
2018-04-15T16:49:02
2018-04-15T16:49:02
129,607,692
0
0
null
null
null
null
UTF-8
Python
false
false
3,918
py
import glob import numpy as np import scipy.sparse as sp from gensim.models import Doc2Vec from lightfm import LightFM from lightfm.evaluation import precision_at_k from lightfm.evaluation import auc_score def predict(user_id, item_ids, item_features, document_list): output = model.predict( user_id, ...
[ "rakvat@users.noreply.github.com" ]
rakvat@users.noreply.github.com
461180ba48bd8ecaefe08c79c397ad7f35041988
193370b4c23e44da6a336895d1d0f425054f0d63
/base_tools/plot_funcs.py
86ae7bcf294f85ec2b66cde5534c5642cfd66d20
[]
no_license
SFin94/phdtbtk
64c3427419af10ac8138631541729da4b1329ce9
43829afcf8514de13b64c661a9a6b792f1bafdb6
refs/heads/master
2021-08-15T05:32:30.004569
2021-08-03T18:01:23
2021-08-03T18:01:23
247,782,863
1
0
null
null
null
null
UTF-8
Python
false
false
29,000
py
"""General plotting functions - mainly use Molecule DataFrames.""" import sys import os import numpy as np import pandas as pd import seaborn as sns import matplotlib.pyplot as plt import matplotlib.cm as cm import matplotlib.axes as axes import matplotlib.lines as mlin from mpl_toolkits.axes_grid1.inset_locator impo...
[ "smf115@ic.ac.uk" ]
smf115@ic.ac.uk
05c563364d587f0fa890e75867555f18a2205d0c
9c73eccb0f27ee98452864e6388802e1c0a9e51c
/py_tdlib/constructors/t_me_url_type.py
ec8c58654223c80ecc7ea8d5032b708d8c3779a1
[ "MIT" ]
permissive
Tempah28/python-tdlib
32a684cba6f5b8fcd5673d01a06f926304d29c5b
925781f2ef9e386dab437334048c798fa9cb945f
refs/heads/master
2020-03-31T00:16:06.943269
2018-10-05T14:16:12
2018-10-05T14:16:12
null
0
0
null
null
null
null
UTF-8
Python
false
false
630
py
from ..factory import Type class tMeUrlTypeUser(Type): # URL linking to a user @user_id Identifier of the user_id = None # type: "int32" class tMeUrlTypeSupergroup(Type): # URL linking to a public supergroup or channel @supergroup_id # of the supergroup or channel supergroup_id = None # t...
[ "andrew@localhost" ]
andrew@localhost
7c3a368627b6c5d92b2d8d695a1e752c269eab48
9682b580655d966d2297cb48537dd5a59accc82c
/leecode17.py
fd217ae34476846687987142f5e02d7861f2a68a
[]
no_license
yulishuta/algorithms-python
ae86d482ce2e11aeb8f10115ea0bb57c8ac6ac65
80c21d309cb490d435ef23ac836dd2d808a63a04
refs/heads/master
2020-12-02T18:58:53.121332
2019-12-31T12:29:24
2019-12-31T12:29:24
231,090,273
0
0
null
null
null
null
UTF-8
Python
false
false
4,356
py
#!/usr/bin/python # -*- coding: UTF-8 -*- # 等式的传递性 # 识别无向图的环,但是flag要设置正确 import time from collections import defaultdict, deque UNEQUAL = 0 EQUAL = 1 class Solution(object): def initGraph(self, equations): graph = defaultdict(list) for item in equations: start = item[0] ...
[ "yuli@pinduoduo.com" ]
yuli@pinduoduo.com
f69a5c6f512f645430e7edc55d751d33a7114009
25f7093a8c75b460c024354b8f68604c12910290
/spotify/migrations/0001_initial.py
ecbc3ecba9fe24fe7aa9fe5c1e4ebe54b1c9b9c2
[]
no_license
suannelee/spotify_music_controller
00e4892b22766a001c714ed36ec63eb64c611b72
18525b48ecf13605f6aeb68f32aa4d06eb55ea94
refs/heads/main
2023-08-29T15:34:56.127187
2021-11-07T16:30:42
2021-11-07T16:30:42
424,671,206
0
0
null
null
null
null
UTF-8
Python
false
false
838
py
# Generated by Django 3.2.8 on 2021-11-06 14:05 from django.db import migrations, models class Migration(migrations.Migration): initial = True dependencies = [ ] operations = [ migrations.CreateModel( name='SpotifyToken', fields=[ ('id', models.BigAu...
[ "suannelee@hotmail.com" ]
suannelee@hotmail.com
3e02fbcf5a5cabd935225fc5e748690b9b0d991a
89c0bcbf71fcdb70b0999010224f3e1c4cb78811
/scripts/WidgetDefense.py
6a959a1df860910243853f341a6cbfda9779f52c
[]
no_license
k-ongs/Pyqt5-Vision-Demo
1f77d8991ae858ee1bc7ef98fe9e1fb7223ae5fa
a49d9af2f010ba541e73396bbf045046dd32dc76
refs/heads/master
2023-03-27T06:11:32.199270
2021-03-30T07:38:31
2021-03-30T07:38:31
352,911,499
0
0
null
null
null
null
UTF-8
Python
false
false
8,523
py
# -*- coding: utf-8 -*- import cv2 import time from scripts.QClickLabel import QClickLabel from PyQt5.QtGui import QPixmap, QImage, QCursor from scripts.scriptsss import sp_noise, gasuss_noise from PyQt5.QtCore import pyqtSignal,QThread, QSize, Qt from PyQt5.QtWidgets import QLabel, QWidget, QGridLayout, QSizePolicy, Q...
[ "1624325694@qq.com" ]
1624325694@qq.com
b925052072de7b80996eeab4ea8d5073b4bf0d7d
9743d5fd24822f79c156ad112229e25adb9ed6f6
/xai/brain/wordbase/nouns/_berg.py
835c645c3c22cffa1536daa21db85c66f67b6b03
[ "MIT" ]
permissive
cash2one/xai
de7adad1758f50dd6786bf0111e71a903f039b64
e76f12c9f4dcf3ac1c7c08b0cc8844c0b0a104b6
refs/heads/master
2021-01-19T12:33:54.964379
2017-01-28T02:00:50
2017-01-28T02:00:50
null
0
0
null
null
null
null
UTF-8
Python
false
false
288
py
#calss header class _BERG(): def __init__(self,): self.name = "BERG" self.definitions = [u'an iceberg '] self.parents = [] self.childen = [] self.properties = [] self.jsondata = {} self.specie = 'nouns' def run(self, obj1 = [], obj2 = []): return self.jsondata
[ "xingwang1991@gmail.com" ]
xingwang1991@gmail.com
4ec9ad2bf1b01ed5fd7b94ee450f15bf56ab51e7
87e2ff0f0c0fea51beab5b0879fa43ea66626a90
/defenses_submission/all_models.py
9ce35da7904ff6e64f9d7beeef53478f6b38d9d9
[ "MIT" ]
permissive
yao-zhao/NipsAdversarial
f78a03f4052a4ee8d1eef8d7a17e182191778e81
5cb7c5261b9417d689b0d1d9ffb0b6c7832360dc
refs/heads/master
2018-12-01T19:13:57.186329
2017-10-09T21:05:39
2017-10-09T21:05:39
106,334,053
0
0
null
null
null
null
UTF-8
Python
false
false
9,083
py
import os import tensorflow as tf import tensorflow.contrib.slim as slim from nets import inception_v3 from nets import inception_v4 from nets import inception_resnet_v2 from nets import resnet_v2 from nets import densenet def inference_densenet161(x_input, dropout_keep_prob=1, num_classes=1001): with slim.arg_s...
[ "yaozhao@microsoft.com" ]
yaozhao@microsoft.com
b9383786f24faad6d22d09c7ffb92448059c8d8e
aa1e637de90f69f9ae742d42d5b777421617d10c
/nitro/resource/config/transform/transformglobal_transformpolicy_binding.py
5e27701f03de88bcc7867890f79bb6462abcd939
[ "Apache-2.0", "Python-2.0", "LicenseRef-scancode-unknown-license-reference" ]
permissive
km0420j/nitro-python
db7fcb49fcad3e7a1ae0a99e4fc8675665da29ba
d03eb11f492a35a2a8b2a140322fbce22d25a8f7
refs/heads/master
2021-10-21T18:12:50.218465
2019-03-05T14:00:15
2019-03-05T15:35:43
null
0
0
null
null
null
null
UTF-8
Python
false
false
14,401
py
# # Copyright (c) 2008-2015 Citrix Systems, 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 l...
[ "lennart.weller@hansemerkur.de" ]
lennart.weller@hansemerkur.de
0f1b6ed5b32ce54c70312d272bf411b228b84ce2
686d5622e42988ead63efecd3bff4dc3299d5411
/supermamas/common/forms/recaptcha.py
6cb9b81c1e718a7ea96a8cdc13042d2379b86ecb
[ "Apache-2.0" ]
permissive
oasalonen/supermamas
7e9ab8e847428ac85ca59e55b9726a403018de18
3ab2b2370de903cea614ea9dfa10ce1c0504a715
refs/heads/master
2020-04-14T11:40:28.601222
2019-01-13T17:41:24
2019-01-13T17:41:24
163,820,438
0
0
null
null
null
null
UTF-8
Python
false
false
837
py
import requests from flask import request from flask_babel import gettext from wtforms import HiddenField from supermamas.common.configuration_service import ConfigurationService class RecaptchaField(HiddenField): def process(self, formdata): self.data = formdata.get("g-recaptcha-response") def valid...
[ "oasalonen@gmail.com" ]
oasalonen@gmail.com
188461060053fefec26896880b12a0fbf681fd89
920b575bf5220ad05964e84a10554e4af78f9b4c
/4/tests/unit_tests/test_fields.py
bdba781730c1e6018eecf0a63b8c2269ab3f321a
[]
no_license
DmitrySyr/HM19
7c63ec66210a5e98c9089ccce23120cee9b9c3d6
e8ba36b05b4d912fd1d0642409add35a386ee06a
refs/heads/master
2020-04-19T18:22:58.022935
2019-06-11T08:52:02
2019-06-11T08:52:02
168,362,328
0
0
null
null
null
null
UTF-8
Python
false
false
8,569
py
import functools import unittest from server.class_blocks import (CharField, ValidationError, EmailField, PhoneField, ArgumentsField, DateField, BirthDayField, GenderField, ClientIDsField,) def cases(cases): def decorator(f): @functools.wraps(f) ...
[ "dmitry.syr@gmail.com" ]
dmitry.syr@gmail.com
99e61e1cd5328d32f171dbd46c0181736f388d70
6a7f58b465fe610fa2ad2e7ee2c74d452431aef1
/age_text.py
9c4e63586746c7226dcf44a77721644c6827404c
[]
no_license
rateeshtrivedi/python
a79814c1c450f4b8dda3bd3fdc4a81c3b7264b6b
91ab8fccf385e47edc1de57c60b43888e764989a
refs/heads/main
2023-02-28T23:48:07.436187
2021-02-13T06:04:32
2021-02-13T06:04:32
338,506,861
0
0
null
null
null
null
UTF-8
Python
false
false
359
py
#Program to identify whether individual is Kid, Teenager, Adult or old while True: age_input=int(input("Please Enter your Age: ")) if age_input<=12 and age_input>=0: print("You are a Kid!") elif age_input>=13 and age_input<=18: print("You are a Teenager!") elif age_input>=18 and age_input<=50: p...
[ "noreply@github.com" ]
rateeshtrivedi.noreply@github.com
1176c798cb68ca646f78f4d4987b4a68465d87b8
b09a91cbd1283e4be11c86316690b6d9a27dc4a1
/task_webPage/wsgi.py
99caa86f919c237403c9c014f30b7262fafc1795
[]
no_license
Guitarrunner/TaskWebPage
f7b78e9a38c72640151932bd4bcd00888f1116d0
8ef5a58733c36a338941743ac12871bca22f69cf
refs/heads/master
2023-06-02T20:58:25.099629
2021-06-23T01:32:07
2021-06-23T01:32:07
379,428,007
0
0
null
null
null
null
UTF-8
Python
false
false
417
py
""" WSGI config for task_webPage 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.2/howto/deployment/wsgi/ """ import os from django.core.wsgi import get_wsgi_application os.environ.setdef...
[ "jdag98228@gmail.com" ]
jdag98228@gmail.com
cfbffd3dbb5869ec50e18586d70c7ec063dcbfc7
08e52336b44a73a5c0a22f928c20a0a80c7c0d87
/src/cars/parts/drive/drive.py
15f0c99bc2a7c495372b318fd107b2b36a38c4ad
[]
no_license
JaykeMeijer/cct
ea5b83ae3a503ea5b995b52af2d081cb45fad850
1b4e409166c56e8910a2bfd6a90053169078b485
refs/heads/master
2021-01-20T15:44:27.398262
2016-01-15T18:54:01
2016-01-15T18:54:01
42,476,873
0
0
null
null
null
null
UTF-8
Python
false
false
255
py
from cars.parts.part import Part class Drive(Part): def __init__(self, drivetype, gearbox, options): self.drivetype = drivetype self.gearbox = gearbox self.options = options self.gears = 0 print('Drive init')
[ "jayke.meijer@gmail.com" ]
jayke.meijer@gmail.com
90a18520068e9cc9a3bc4c329446cc3b41343dcd
e56214188faae8ebfb36a463e34fc8324935b3c2
/test/test_workflow_message_all_of.py
654f4f6970ce39d9f9fc11e89ced5a2dea656d61
[ "Apache-2.0" ]
permissive
CiscoUcs/intersight-python
866d6c63e0cb8c33440771efd93541d679bb1ecc
a92fccb1c8df4332ba1f05a0e784efbb4f2efdc4
refs/heads/master
2021-11-07T12:54:41.888973
2021-10-25T16:15:50
2021-10-25T16:15:50
115,440,875
25
18
Apache-2.0
2020-03-02T16:19:49
2017-12-26T17:14:03
Python
UTF-8
Python
false
false
1,933
py
# coding: utf-8 """ Cisco Intersight Cisco Intersight is a management platform delivered as a service with embedded analytics for your Cisco and 3rd party IT infrastructure. This platform offers an intelligent level of management that enables IT organizations to analyze, simplify, and automate their environmen...
[ "ucs-build@github.com" ]
ucs-build@github.com
2d716a983e72cd3a9e2cf22b6cbe0ef9e479280d
d1ac319bf0249be8f147c08917720a60a08be3c2
/support/admin.py
21274592bb7151175a3488cf9a1210a72b27bb2d
[]
no_license
eunki7/diquest_demo
7361041df8bbd75fb2e7a6619fe5622920f2b0cc
4ed82e5c2041251d5b8e3c6d63fabb50fbcd7278
refs/heads/master
2023-03-08T12:47:41.553527
2019-04-30T07:22:50
2019-04-30T07:22:50
172,851,287
0
3
null
2023-02-15T20:51:07
2019-02-27T05:44:31
JavaScript
UTF-8
Python
false
false
314
py
from django.contrib import admin from .models import Support class SupportAdmin(admin.ModelAdmin): list_display = ('title', 'modify_date') list_filter = ('modify_date',) search_fields = ('title', 'content') prepopulated_fields = {'slug': ('title',)} admin.site.register(Support, SupportAdmin)
[ "outsider7224@hanmail.net" ]
outsider7224@hanmail.net
6e574b0de69b4616138d02352acd9982437cbefa
cc728b5b44c62cb24fc119e8e680531d908777c1
/projects/views.py
c3107defd7c14d4ab116ff3ac0f864e945260aba
[]
no_license
Hasanalghanim/portfolio-2.0
d32d1c9a674558c39a86312056992c634134e0ea
d34112234150ab9bdeb802b60a71131bb304b454
refs/heads/master
2023-03-27T21:06:57.785492
2021-03-24T06:23:16
2021-03-24T06:23:16
350,688,742
0
0
null
null
null
null
UTF-8
Python
false
false
1,694
py
from django.shortcuts import render, get_object_or_404, HttpResponse from .models import Project from django.core.mail import send_mail, BadHeaderError from portfolio.settings import EMAIL_HOST_USER # Create your views here. def home(request): project = Project.objects.all()[:3] return render(request, ...
[ "hasanalghanim@gmail.com" ]
hasanalghanim@gmail.com
37a5aa4c5c6ad9f7cad6d472a10fd2c5e1880445
b7cdfd22859c3fdb41d01fb74e7cc0360e9596d0
/env/bin/ipython2
6c906ec67d6aab252ca82429c50fd3eb65d34b59
[ "MIT" ]
permissive
pernambucano/projeto-bd
1a09eef8b892acf9f42295d65e487c8723602078
407a47309e96e7d23da5b4606adcb33cb6ca69da
refs/heads/master
2020-06-13T18:35:11.018536
2016-12-04T22:37:49
2016-12-04T22:37:49
75,569,103
0
0
null
null
null
null
UTF-8
Python
false
false
282
#!/Users/paulo/Downloads/freelancer-flask-template-master/env/bin/python # -*- coding: utf-8 -*- import re import sys from IPython import start_ipython if __name__ == '__main__': sys.argv[0] = re.sub(r'(-script\.pyw?|\.exe)?$', '', sys.argv[0]) sys.exit(start_ipython())
[ "paulo@Joses-MacBook-Pro.local" ]
paulo@Joses-MacBook-Pro.local
c7329bfa8315417557f63f77208a762155edab85
5c7ac1213bdeed103d88e6b5f6dc78587e05464c
/comments/views.py
62001a6def8a06e617e9a110926c25448871df2d
[]
no_license
madao33/myBlogProj
fc8566d9f977d6d21686b46e37e86ce0adb7864d
c8e8a60ec635016b3eba09b7ae9f9cd545dc48fe
refs/heads/master
2022-11-27T15:47:29.573099
2020-07-31T09:35:50
2020-07-31T09:35:50
280,379,417
0
0
null
null
null
null
UTF-8
Python
false
false
2,386
py
from django.contrib import messages from blog.models import Post from django.shortcuts import get_object_or_404, redirect, render from django.views.decorators.http import require_POST from .forms import CommentForm @require_POST def comment(request, post_pk): # 先获取被评论的文章,因为后面需要把评论和被评论的文章关联起来。 # 这里我们使用了 dj...
[ "3282389858@qq.com" ]
3282389858@qq.com
d335a7cc3edc062d69905ad4e9defe57f3fa988d
fa64d67d9a0eef7c25010942b46a504955e902ab
/everyday/7.11-7.17/7.11.py
3f5b3397ec29d226efad57aacba98375cd07df1a
[]
no_license
eehello/learn_python
b22989c005715c236e212f3796eda5c6ab16232a
172056f050bc61747b26b5973f5982ce1291918c
refs/heads/master
2021-01-18T22:05:14.190746
2019-07-17T07:24:12
2019-07-17T07:24:12
42,077,078
0
0
null
null
null
null
UTF-8
Python
false
false
940
py
#!/usr/bin/env python # coding=utf-8 """ # @Created on : 2019/07/11 20:41 # @Author : ldf (ldf@eehello.com) # @Link : http://www.eehello.com # @Version : # 本程序在python3.7下测试通过 """ print("这是一个处理坐标象限的小程序!") pd_x = int(input("请输入X坐标:")) pd_y = int(input("请输入Y坐标:")) if pd_x > 0: if pd_y > 0: pri...
[ "admin@eehello.com" ]
admin@eehello.com
d75e52988237979c3f357df1a6ce4790cc070751
4d9328d99f4861ab8f1d4ccdbcba52d40498a5ff
/playernames.py
e0b4da7f79ecbfc3161ba59e2e09f8e64d35d8ef
[]
no_license
rhysmaiden/rugbyvaultbackend
a9a770f669699e1a1efaeec2c977ee8b09dfc52e
1b55d7cfdefbb810b0e2fcb7f3360176e79bc08f
refs/heads/master
2023-04-27T16:40:58.122762
2021-11-06T03:16:47
2021-11-06T03:16:47
228,321,143
0
0
null
2023-04-21T21:49:29
2019-12-16T06:47:35
JavaScript
UTF-8
Python
false
false
388
py
import wikipedia import os import subprocess from datetime import datetime, timedelta os.environ.setdefault("DJANGO_SETTINGS_MODULE", "rugby.settings") import django django.setup() from rugby.models import Match time_period = datetime.today() - timedelta(days=10) matches = Match.objects.filter(date__gte=time_period)...
[ "maidenrhys@gmail.com" ]
maidenrhys@gmail.com
c459148983d81569062f84649f0dbef0d413cedb
277a8680d5072f0f7f21dc3a2aa6407d2c52e350
/PrimerProyectoWeb/blog/views.py
fc629d334a9e9f9a75f69a50bb5f52ed4ea54a7a
[]
no_license
gonzaloferreyra2021/proyectoWeb
33a16007d34f5cb6b88941545b38299d1e255b29
e25bfdc17f6d776c1aa4d61ba6acdd2722cce650
refs/heads/master
2023-04-20T23:14:12.610661
2021-05-03T12:54:17
2021-05-03T12:54:17
363,926,157
0
0
null
null
null
null
UTF-8
Python
false
false
439
py
from django.shortcuts import render from blog.models import Post,Categoria # Create your views here. def blog(request): post=Post.objects.all() return render(request,"blog/blog.html",{"posts":post}) def categoria(request,categoria_id): categoria=Categoria.objects.get(id=categoria_id) post=Post.object...
[ "gonzaloferreyra94@gmail.com" ]
gonzaloferreyra94@gmail.com
9a5c0715b63d74d4b5e7fa7d34316099d13704cf
1620e0af4a522db2bac16ef9c02ac5b5a4569d70
/Ekeopara_Praise/Phase 2/FILE I & O/Day80 Tasks/Task1.py
109db1cdc280113138b75857ededfd9fc6b0e6fe
[ "MIT" ]
permissive
Ekeopara-Praise/python-challenge-solutions
cda07902c9ffc09ba770ae7776e5e01026406a05
068b67c05524b5c5a0d6084315eca3424c768421
refs/heads/master
2022-12-15T15:29:03.031583
2020-09-25T06:46:27
2020-09-25T06:46:27
263,758,530
2
0
null
2020-05-13T22:37:33
2020-05-13T22:37:32
null
UTF-8
Python
false
false
203
py
'''1. Write a Python program to read a file line by line store it into an array.''' testsite_array = [] with open('topsites.txt') as my_file: for line in my_file: testsite_array.append(line)
[ "ekeoparapraise@gmail.com" ]
ekeoparapraise@gmail.com
8fe38f226b5dc3959f8aac867bcb652ee305b738
3529ecaa44a53172094ba13498097057c8972723
/Questiondir/734.sentence-similarity/734.sentence-similarity_129681570.py
23ee0ae42b482e3b8c39ecb97392e6fe4002d270
[]
no_license
cczhong11/Leetcode-contest-code-downloader
0681f0f8c9e8edd5371fd8d0a1d37dcc368566b6
db64a67869aae4f0e55e78b65a7e04f5bc2e671c
refs/heads/master
2021-09-07T15:36:38.892742
2018-02-25T04:15:17
2018-02-25T04:15:17
118,612,867
0
0
null
null
null
null
UTF-8
Python
false
false
526
py
class Solution: def areSentencesSimilar(self, words1, words2, pairs): """ :type words1: List[str] :type words2: List[str] :type pairs: List[List[str]] :rtype: bool """ if len(words1) != len(words2): return False sim = collections.defaultdict(set) ...
[ "tczhong24@gmail.com" ]
tczhong24@gmail.com
7cc7093ed529928ed54397b42ff0deede1c0c298
00f7ec222ad8fce4c4ca02cd2febe71d1649bf94
/model_tuning/linsvm_tuning.py
8a43e103ee4c5e0baf445ac9da9dec3dd0f83178
[]
no_license
eghensley/march_maddness
1dd61c9b07b3ebb495ab9bb16a7e8c388b50ae4c
e98e33cacffe9f9bb8250cff3711b6de0a6b9fb3
refs/heads/master
2021-01-25T15:01:43.896041
2018-03-06T06:25:31
2018-03-06T06:25:31
123,743,815
0
0
null
null
null
null
UTF-8
Python
false
false
7,349
py
import os from gp import bayesian_optimisation import numpy as np from sklearn.model_selection import cross_val_score, KFold from sklearn.gaussian_process.kernels import Matern from sklearn.preprocessing import StandardScaler, MinMaxScaler, RobustScaler from sklearn.pipeline import Pipeline from sklearn.linear_model im...
[ "eghensley@email.wm.edu" ]
eghensley@email.wm.edu
76c41d643300b4719d32c4c55d6e3e23fb2d9255
4f9335717b02c4d3dc697ff051d34455be45a9d1
/pytorch_codes/ver9/Unet_blocks.py
a9d7e6e88d2d355f36d2cfa02f9f6a504bbb98a0
[]
no_license
sunhongfu/scripts
7df6bf7eb922a58fba2cdef187ac2d5bb19f8357
6d0239e05cea73d9413acca1bd4ecdcc22d00404
refs/heads/master
2022-12-11T01:05:06.209578
2022-12-07T04:28:26
2022-12-07T04:28:26
63,374,060
4
1
null
null
null
null
UTF-8
Python
false
false
2,990
py
#################### ResNet Blocks ######################## ## import defaults packages import torch import torch.nn as nn ## learnable TKD layers. class TKD_layer(nn.Module): def __init__(self, th = 0.15): ## th: TKD threshold, default: 0.1 super(TKD_layer, self).__init__() se...
[ "sunhongfu@gmail.com" ]
sunhongfu@gmail.com
e3eb76d8af714dabc4a80970b11379a7150a0c17
8ce5d570c44f069f354f59f902f6b8802ac5bec3
/portfolio/migrations/0001_initial.py
2330b4bf3ff8d2d86a90af28666b412eeab06839
[]
no_license
phamhalamdxc/personal_portfolio
9e79ea8de7091976fab1de9dd339e68499210afc
b5088c523d33d69e2091a2e8f2c846cc9665afa5
refs/heads/main
2023-06-24T21:27:21.352865
2021-07-24T11:56:54
2021-07-24T11:56:54
388,863,905
0
0
null
null
null
null
UTF-8
Python
false
false
689
py
# Generated by Django 3.2.5 on 2021-07-23 17:42 from django.db import migrations, models class Migration(migrations.Migration): initial = True dependencies = [ ] operations = [ migrations.CreateModel( name='Project', fields=[ ('id', models.BigAutoFie...
[ "phamhalam.ads@gmail.com" ]
phamhalam.ads@gmail.com
ddd29fd1bdf46b40c932c810105c2a124bf71216
0c1d6b8dff8bedfffa8703015949b6ca6cc83f86
/lib/worklists/operator/CT/v4.0/business/VDSL_4+1/WAN_DHCP/script.py
3792bca3f4ea07607c279908fc191e1b734f0112
[]
no_license
samwei8/TR069
6b87252bd53f23c37186c9433ce4d79507b8c7dd
7f6b8d598359c6049a4e6cb1eb1db0899bce7f5c
refs/heads/master
2021-06-21T11:07:47.345271
2017-08-08T07:14:55
2017-08-08T07:14:55
null
0
0
null
null
null
null
UTF-8
Python
false
false
5,544
py
#coding:utf-8 # -----------------------------rpc -------------------------- import os import sys #debug DEBUG_UNIT = False if (DEBUG_UNIT): g_prj_dir = os.path.dirname(__file__) parent1 = os.path.dirname(g_prj_dir) parent2 = os.path.dirname(parent1) parent3 = os.path.dirname(parent2) parent4 = os...
[ "zhaojunhhu@gmail.com" ]
zhaojunhhu@gmail.com
9474df0d34a97d8102eb5a06e97827504985baf9
65bbeb5a396edc807fe79e24501cbc784121f388
/cogs/board.py
954a3896d6bb93a17ebd05e13d447361f10814d6
[]
no_license
airando/Skyline_py
a4bbb1c0e40ca95a08a35900d0149094abcd54fd
02d1e08c66426e7468fc3fe875bda1306d069860
refs/heads/master
2020-09-07T09:47:21.897347
2019-11-04T08:48:31
2019-11-04T08:48:31
null
0
0
null
null
null
null
UTF-8
Python
false
false
14,858
py
import asyncio import datetime import io import json import re import typing import discord from discord.ext import commands from .general import board_kwargs listener = commands.Cog.listener class DiscussionBoard(commands.Cog): pattern = re.compile(r'(channel|category)(\d+)') filename = 'dis.json' de...
[ "kesigomon@gmail.com" ]
kesigomon@gmail.com
d1f98716975db967e457cc83d9dca4584949e151
fb2d3e3f5e0f27dc74dcfde2f38e7a83acdeaa28
/safe/items.py
0dcd74ec3e1877669a1c3ec9fc5cbae5bce29a3c
[]
no_license
MoZhongBai/-Automatic_check-in
118e72430bbc184746149960e2b032e9d8ab76b2
fe34e93d12df47c03309c9e3e734ee8cd0c44c89
refs/heads/master
2021-02-17T18:47:18.851511
2020-03-05T09:18:45
2020-03-05T09:18:45
245,118,753
0
1
null
null
null
null
UTF-8
Python
false
false
285
py
# -*- coding: utf-8 -*- # Define here the models for your scraped items # # See documentation in: # https://docs.scrapy.org/en/latest/topics/items.html import scrapy class SafeItem(scrapy.Item): # define the fields for your item here like: # name = scrapy.Field() pass
[ "2423719783@qq.com" ]
2423719783@qq.com
196720624975c780fd7ec3154e9c1f7fe228de09
8549d8b69e8534dd93ac8bd62adb9dbc148eb8d3
/yggram/users/tests/test_views.py
25707890a46adeedf63ad334c99effd8f4ca8501
[ "MIT" ]
permissive
zedonora/yggram
b5803a7241f853daa9e527f2abd9def5bb1552da
9a65871be036fde77648dfc81df10253ac7e0441
refs/heads/master
2020-06-03T04:28:22.982727
2019-07-13T02:23:58
2019-07-13T02:23:58
191,437,835
0
0
null
null
null
null
UTF-8
Python
false
false
1,497
py
import pytest from django.conf import settings from django.test import RequestFactory from yggram.users.views import UserRedirectView, UserUpdateView pytestmark = pytest.mark.django_db class TestUserUpdateView: """ TODO: extracting view initialization code as class-scoped fixture would be gr...
[ "timeundtime@gmail.com" ]
timeundtime@gmail.com
6332618a3a0601b9b8c13fd7b69309179f7cbc95
4bf57d634aede7bb03cfe2f55fc6966dd50eb22c
/pr13.py
8a7c329c73ffa02641087e2c605baec2d42932b2
[]
no_license
saiteja29/py
1653f5379719b00b6c5649a1c8d23d2084a0454f
774366f9350750236af84d60c158f89d30959654
refs/heads/master
2020-06-22T18:57:49.599137
2019-08-03T11:48:33
2019-08-03T11:48:33
197,780,676
0
0
null
null
null
null
UTF-8
Python
false
false
210
py
#b n, m = [int(i) for i in input().split()] u = [] Lis = [int(i) for i in input().split()] for _ in range(m): l, k = [int(i) for i in input().split()] u.append(min(Lis[l-1:k])) for i in u: print(i)
[ "noreply@github.com" ]
saiteja29.noreply@github.com
cf1a78dcde97da19bf99bbb1b6fc5bad6f7db225
5c9bc7b4f4d6d03ab6c7eed44f2e3f504d538543
/bin/pip-3.8
686145affcae35ff5c792f029a05cffe11a4d17e
[]
no_license
olad5/project_folder
49bebfd76860b0b7cb97679a8cde08b1d92f176f
06a209d1b962c14301cc4c8115de847f2034860c
refs/heads/master
2023-07-10T13:05:54.857106
2021-08-22T14:49:24
2021-08-22T14:49:24
398,210,520
0
0
null
null
null
null
UTF-8
Python
false
false
289
8
#!/home/oladipo/dev_work/python_work/zuri_internship/stage_2/project_folder/bin/python # -*- coding: utf-8 -*- import re import sys from pip._internal.cli.main import main if __name__ == '__main__': sys.argv[0] = re.sub(r'(-script\.pyw|\.exe)?$', '', sys.argv[0]) sys.exit(main())
[ "shonubioladipo@gmail.com" ]
shonubioladipo@gmail.com
81445b4174e76cfa77b7cdd0cd32426aaec8df78
6d35795eb07bbcb2c0c8c426798224a732cebddb
/test/reco_STREAMRAW2DIGI_RECO_AOD.py
3ce6fac0b6ccd9c7226b2d1a5d6ac45ee26806f4
[]
no_license
amassiro/EcalAlignment
1ee2bf7ed3350368d0b5265a7e72396b11434e54
8d30551d4cc6c6aa6ba32e53d236959b0ea1c42c
refs/heads/master
2021-09-22T23:08:30.228383
2019-04-26T16:27:08
2019-04-26T16:27:08
13,582,822
0
3
null
2021-09-22T01:47:51
2013-10-15T07:02:08
Python
UTF-8
Python
false
false
14,068
py
# Auto generated configuration file # using: # Revision: 1.19 # Source: /local/reps/CMSSW/CMSSW/Configuration/Applications/python/ConfigBuilder.py,v # with command line options: reco -s RAW2DIGI,RECO -n 100 --filein=/store/data/Run2015B/DoubleEG/RAW/v1/000/251/562/00000/EEBA3AAA-9428-E511-861B-02163E012073.root --da...
[ "massironi.andrea@gmail.com" ]
massironi.andrea@gmail.com
9b8cff8f114db7826600a12efb9f71ac73eef1f4
59864cbd213b5da6f50d6255b0a021564b3d5bd4
/challenges/A_Game_of_Chance/support/common.py
7cd674a6fcd522b49c3c53e2c3cfe94efcb57844
[ "MIT", "BSD-3-Clause", "LicenseRef-scancode-unknown", "BSD-2-Clause" ]
permissive
trailofbits/cb-multios
8af96a4fbc3b34644367faa135347f88e0e0d0a3
810d7b24b1f62f56ef49b148fe155b0d0629cad2
refs/heads/master
2023-09-05T03:56:20.229403
2022-12-27T15:47:54
2022-12-27T15:47:54
41,688,943
522
133
MIT
2023-06-29T02:47:13
2015-08-31T17:04:31
C
UTF-8
Python
false
false
1,423
py
#!/usr/bin/env python # # Copyright (C) 2014 Narf Industries <info@narfindustries.com> # # 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 # th...
[ "william@yossarian.net" ]
william@yossarian.net
b93607c5053ecba560f2d6f6d299ba5066826ffb
d034d4519cb65965adba950210eb132585443c1c
/usim800/Request_slideshow/Request_ftpconnection.py
7e37f84040859256377ce5d4119e98dc68ec659a
[]
no_license
Hamilkar247/usim800_slideshow
52ebd7335491b26660ac93cd4dca8bb2b8a69a06
c756a61a6563f8a549548b2148d16af8dcb2a428
refs/heads/master
2023-08-13T15:06:34.918460
2021-10-05T11:59:12
2021-10-05T11:59:12
351,773,566
0
0
null
2021-06-24T11:09:24
2021-03-26T12:22:27
Python
UTF-8
Python
false
false
14,724
py
import re import traceback from pprint import pprint from gpiozero import LED from usim800_slideshow.usim800.Communicate_slideshow import communicate_slideshow import logging import time class request_ftpconnection(communicate_slideshow): def __init__(self, *args, **kwargs): super().__init__(*args, **k...
[ "adonnibal96@gmail.com" ]
adonnibal96@gmail.com
5c4fe91162ef9cee1b0579e438899a4070237397
f96d32fcc7caf30015bb5b0ea2c3c1e56b0d0d88
/zeus/artifacts/pylint.py
fbb93b8a4d35867edaa6c72f9c7a0f3bb561d485
[ "Apache-2.0" ]
permissive
robopsi/zeus
146237eb26ddd848e7c70b360b8033cf5ccb427f
83f6bdc244877ecec392c7ffbd9758ae7c3c3c5a
refs/heads/master
2020-03-19T07:18:05.967645
2018-05-30T16:55:01
2018-05-30T16:55:23
136,103,031
0
1
null
2018-06-05T01:35:04
2018-06-05T01:35:03
null
UTF-8
Python
false
false
1,499
py
import re from zeus.config import db from zeus.constants import Severity from zeus.models import StyleViolation from .base import ArtifactHandler regexp = re.compile( r"^(?P<filename>.+?)\:(?P<lineno>\d+)\: \[(?P<source>[a-z]\d+)\([^\)]+\), [^\]]*?\] (?P<message>.*)", re.I, ) SEVERITY_MAP = {"W": Severity.w...
[ "dcramer@gmail.com" ]
dcramer@gmail.com
a29bd9eef86d060e1c19124dbc8537e82a9136db
5e5df2c7fafd23efab5c3d47777c990dd707406f
/pass_by_reference2.py
7524ce890727d7e8acdabfbc57ab1cedb3e079a3
[]
no_license
leonardo185/Python_ObjectOrientedProgramming
4ee53ad465fb9443ae8077d1d850c007a53646d4
7c824bf92903e08acae12b77336b294f41e6d306
refs/heads/master
2020-05-29T23:15:25.055287
2019-06-03T04:45:57
2019-06-03T04:45:57
189,430,489
0
0
null
null
null
null
UTF-8
Python
false
false
354
py
def change_function(data): print ("Id of list received in method", id(data)) data[1] = 500 print ("Id of list after element modification in method", id(data)) value = [100, 200, 300] print ("List and its id before method call", value, id(value)) change_function(value) print ("List and its id after ...
[ "leonardo18598@gmail.com" ]
leonardo18598@gmail.com
305f656cc45225d1f969b66d88bd321fdef3039b
2b34d5b7824efcc2270e81da1b138e3adb08edc7
/7948_02_Python.py
a33998bc16604d8fbff00291e9332f7d29a0137e
[]
no_license
SatyaYalla/7948_02_exercises
48bf14b1bcd893e49fd965fdc0c48659a734a583
15cfd1077322fa4744a45554d38071f08ce3b687
refs/heads/master
2020-12-15T15:25:34.350516
2020-01-21T07:14:06
2020-01-21T07:14:06
235,155,888
0
0
null
null
null
null
UTF-8
Python
false
false
9,459
py
import pandas as pd import numpy as np from pandas import ExcelWriter from pandas import ExcelFile import math import seaborn as sns import matplotlib.pyplot as plt get_ipython().run_line_magic('matplotlib', 'inline') sale_df = pd.read_excel('C:/Users/satya.yalla/Documents/Tiger_Analytics_Learning_Path/Python_workspa...
[ "noreply@github.com" ]
SatyaYalla.noreply@github.com
58ed12c65e67c96d071fd04bffe20a5d5861bd64
25b85a1dd7d818087d534099bffdd04ee1492d1e
/modeling/__init__.py
f30941d10f9f3d39f9a245d28b41b3a1d35a1d3a
[]
no_license
thanit456/ReID-pytorch
608c906f32f7dccd1421537d9097c2698fae0d80
945c9a94eff7c2d426b04501157f5ff891c42a54
refs/heads/master
2022-11-19T01:42:34.065145
2020-07-12T07:32:02
2020-07-12T07:32:02
277,168,088
0
0
null
null
null
null
UTF-8
Python
false
false
652
py
from modeling.ft_net import ft_net, ft_net_dense, ft_net_NAS, ft_net_middle from modeling.model import ResNet18 from modeling.pcb import PCB, PCB_test def build_model(cfg): if cfg.MODEL.NAME == 'ft_net': model = ResNet18(cfg.MODEL.NUM_CLASSES) elif cfg.MODEL.NAME == 'ft_net_dense': model = ft_n...
[ "too_w_o@hotmail.com" ]
too_w_o@hotmail.com
855bee6eaae31ae2f22463dba13da44f5169b6f9
a6962f431936d3707e0bdaf7e535dd16411bdd68
/Dogs_Cats/data_classify.py
b4c44ac245c22ead3f651f4b04f7c0995cab712b
[]
no_license
BetterBench/TensorFlow2_keras_Demo-
b6165d487366f8cff74e0d220c5b4463656080f7
f45eadc0f1833b022516b9c37d2b6e26096da2e0
refs/heads/master
2023-05-31T04:27:54.376552
2021-07-03T07:36:49
2021-07-03T07:36:49
382,546,975
8
2
null
null
null
null
UTF-8
Python
false
false
1,519
py
import shutil import os def remove_file(old_path, new_path): print(old_path) print(new_path) filelist = os.listdir(old_path) # 列出该目录下的所有文件,listdir返回的文件列表是不包含路径的。 # print(filelist) cat_n =0 dog_n = 0 for file in filelist: src = os.path.join(old_path, file) if not os.path.is...
[ "lium823316627@gmail.com" ]
lium823316627@gmail.com
9007dfc60f7c6ccbf1dd758617acb1e532c543b8
e3ec25c9fb39c4481e1bb8eef56a590404cae5f1
/legal/models.py
e5cc85cf65f4bf197d77ff4e6212ed63b4be2b4c
[]
no_license
astromitts/fantasydrag
44b1c42cea952dd62ffb87531727e3a2dd719de9
8a6868c4f92c7e49e5637fc45e4ddac7e5f11628
refs/heads/main
2023-07-04T12:04:50.319297
2021-08-04T12:09:29
2021-08-04T12:09:29
379,885,538
0
0
null
null
null
null
UTF-8
Python
false
false
1,201
py
from django.contrib.auth.models import User from django.db import models from django.utils.timezone import now class Policy(models.Model): eula = models.TextField() privacy_policy = models.TextField() created = models.DateTimeField(default=now, null=True, editable=False) version = models.AutoField(pri...
[ "morinbe@gmail.com" ]
morinbe@gmail.com
3c6814d78820d373e21b88bec95dc5e1c28befd5
bd9ca065e214950c51c2c688085e3ddc549f4882
/apps/home/views.py
3cbd73ec464e392863452fdecafd33e8639aebf8
[]
no_license
ilyar1015/flask-demo
5101fb863fffb5395b2b87799905d6f3b329b5f0
7af4a67dbd3298e593057ad2cc51a6461312de31
refs/heads/master
2020-09-29T08:54:26.280788
2019-12-12T10:07:51
2019-12-12T10:07:51
227,004,587
0
0
null
null
null
null
UTF-8
Python
false
false
91
py
from apps.home import home @home.route("/") def index(): return "暂时没有首页"
[ "ilyar1015@hotmail.com" ]
ilyar1015@hotmail.com
6c18d8a6eec22fbfba238c0f0c346d3a79f9301f
53b896211a618cecad6be13f5e0c9f7fb09ad02f
/L22_django/zoo/animals/views.py
03f95d4437bfe3e0a6efe548de6587af68d7f8a3
[]
no_license
pikulevlv/OTUS_PYTHON_DEV_LESSONS
c658520f45dd7a559382ba94ea4b1b41d340c3e7
1e7b58c5fe7d9e3fc208c5032dac67dd012fd36f
refs/heads/master
2023-01-30T22:28:10.203968
2020-12-15T13:52:09
2020-12-15T13:52:09
310,818,474
0
0
null
null
null
null
UTF-8
Python
false
false
203
py
from django.shortcuts import render from .models import Animal def index_view(request): animals = Animal.objects.all() return render(request, 'animals/index.html', {'animals': animals})
[ "pikulev.l.v@gmail.com" ]
pikulev.l.v@gmail.com
6890c18ec56c8d90cc320ad519a6428fa8e61297
579ecf8619f5fc2af461a0888428c8555be4dbe2
/proj2.py
d9d0cad4ab4302458a5aaf137de3b61cfb593e82
[]
no_license
sampriti/Machine-Learning
eb3e6dbd091ebf4723baa94e66649722789c5831
5d27fbae79e335230843fe5855760e090b76af47
refs/heads/main
2023-01-05T23:11:14.732743
2020-11-05T20:47:27
2020-11-05T20:47:27
310,412,072
0
0
null
null
null
null
UTF-8
Python
false
false
3,754
py
# PCA example # author: SAMPRITI NEOG ######################################################################################################### # A project to analyse how many PCA components required in a MLP classifier to dectect mines accurately # # and find out the chances of survival from the mines ...
[ "noreply@github.com" ]
sampriti.noreply@github.com
7bc26ca0b2e205773e9605ea23bc9539a80bcb53
994c9370e6a4cc5c04c3d4fc44874f59360244f5
/zbw_jointRadius.py
73a71f9e9d18697b0fc7685ae927ede63d78c928
[]
no_license
charliewales/zTools
0be923f1235e33a17465a65c744fd8a4458b8e59
3a0c39accbc11460f09ce62c86fcec07eb7ba9d6
refs/heads/master
2022-04-08T11:08:48.630166
2017-08-17T19:30:23
2017-08-17T19:30:23
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,650
py
"""change all joint display radius""" # put a slider on this, floatField and button import maya.cmds as cmds widgets = {} def jointRadiusUI(*args): if cmds.window("jntWin", exists=True): cmds.deleteUI("jntWin") widgets["win"] = cmds.window("jntWin", t="zbw_jointRadius", w=200, h=90, s=False) wi...
[ "zethwillie@gmail.com" ]
zethwillie@gmail.com
e21a914016eac107e7327d117a6361b6ad2b9f6e
75f2712cdcea01f96b52ad3356ea64fac9a1a54b
/Excercise.1/Excercise 1: Mailing Address.py
4d640b8db14e84a65ff7b77eadd4f6afbdc44e3a
[]
no_license
usmanghulamnabi/The-python-workbook-solution
f6c70bb58f1d58372d0c14646447f199c95d659d
e7081a962b9dcd1ec157c5431a1617100ce58e49
refs/heads/master
2023-06-01T20:19:02.710983
2021-06-15T09:11:21
2021-06-15T09:11:21
null
0
0
null
null
null
null
UTF-8
Python
false
false
212
py
# Excercise to print the address without taking any user input name = "Muhammad Usman" email = "usmanghulamnabi@gmail.com" address = "Villa no.26, Pearl City, Multan" print(f"\n{name} \n{email} \n{address}")
[ "noreply@github.com" ]
usmanghulamnabi.noreply@github.com
b3cb35d11e5b7bafa2c23c9b9619d9c52e1f53bf
28a221025b33a4d151404ae7ec57ccca60aae024
/allinone/userapplication.py
2b849a67fb6450b976195e8a39630d5784b6656f
[]
no_license
nadiaalshezawy/Clever-Garbage-Bin
fdca5a4ee302f1c6abb3213f88dca8927c9406e6
b0009d3cdfcdd905906b8b8501dcea5ed909b29a
refs/heads/master
2020-05-24T10:06:53.672400
2019-09-28T10:00:47
2019-09-28T10:00:47
187,016,707
0
0
null
null
null
null
UTF-8
Python
false
false
5,064
py
#!/usr/bin/env python # Build A user application # Done by : Nadia Ahmed from flask import Flask, render_template, request from flask import redirect, jsonify, url_for, flash from sqlalchemy import create_engine,DateTime,cast, Date,extract,and_ from sqlalchemy.orm import sessionmaker from sqlalchemy import exists from ...
[ "nadiaalshezawy@gmail.com" ]
nadiaalshezawy@gmail.com
a1fde4bb834dca2c8f36340a046275a8c711f39f
f6f632bee57875e76e1a2aa713fdbe9f25e18d66
/python/_1501_2000/1750_minimum-length-of-string-after-deleting-similar-ends.py
bf58c66264c49310b807de815dc82c0f6b590eb7
[]
no_license
Wang-Yann/LeetCodeMe
b50ee60beeeb3661869bb948bef4fbe21fc6d904
44765a7d89423b7ec2c159f70b1a6f6e446523c2
refs/heads/master
2023-08-07T05:31:23.428240
2021-09-30T15:33:53
2021-09-30T15:33:53
253,497,185
0
0
null
null
null
null
UTF-8
Python
false
false
2,507
py
#!/usr/bin/env python # -*- coding: utf-8 -*- # @Author : Rock Wayne # @Created : 2021-02-27 17:12:18 # @Last Modified : 2021-02-27 17:12:18 # @Mail : lostlorder@gmail.com # @Version : alpha-1.0 """ # 给你一个只包含字符 'a','b' 和 'c' 的字符串 s ,你可以执行下面这个操作(5 个步骤)任意次: # # # 选择字符串 s 一个 非空 的前缀,这个前缀的...
[ "wzy-511@163.com" ]
wzy-511@163.com
4cd56ff6bb7a640fccc4205de51b2848e77002ea
9cfe282a03379b7334b4506932520339cb988455
/app/main.py
b77c70452bf53050ebc783d10c8962bda8c2c7ec
[ "MIT", "Python-2.0", "Apache-2.0", "BSD-2-Clause" ]
permissive
hosniah/license-cop
29c5aa4eb5cd169c1dcc4e67554851c33e708c08
d7e39f0d0c605d02ded4589bae3980eb1e4eb84d
refs/heads/master
2020-06-19T18:19:12.327659
2017-12-05T17:45:49
2017-12-05T17:45:49
null
0
0
null
null
null
null
UTF-8
Python
false
false
3,087
py
import sys import traceback from textwrap import dedent from app import * from app.github.owner import * from app.github.repository import * from app.platform import * from app.reporting.excel import ExcelReport from app.reporting.plain_text import PlainTextReport def print_usage(): print( dedent( ...
[ "felipe.dornelas@toptal.com" ]
felipe.dornelas@toptal.com
637da6a359491fbfbb66ffee17e47b7dae4c7643
48fb39ed44ec1c214203c07619daaa974f5059f9
/parse_names.py
cc9ba6f77c8de8bd9520612dd43c9e13a39bad69
[]
no_license
daniellefuller03/python_code
39f3cba63874078b688498fe030360a59bfd8b81
d856ca886181f26a2cb178a2208dae444443605e
refs/heads/master
2020-05-23T19:55:37.246089
2019-05-17T15:28:36
2019-05-17T15:28:36
186,922,862
0
0
null
null
null
null
UTF-8
Python
false
false
859
py
NAMES = ['arnold schwarzenegger', 'alec baldwin', 'bob belderbos', 'julian sequeira', 'sandra bullock', 'keanu reeves', 'julbob pybites', 'bob belderbos', 'julian sequeira', 'al pacino', 'brad pitt', 'matt damon', 'brad pitt'] def dedup_and_title_case_names(names): """Should return a li...
[ "danielle.fuller@dfuller-jg5h.local" ]
danielle.fuller@dfuller-jg5h.local
f7d4a0cdbf2be335fc4f045368a0d00044582d42
c921307a2e01a4ad1551b4850a6da6fc0dcdf636
/01_Python Refresher/05_list_comprehension.py
533e8774834c5a45f1f96e52b73eef8d99948070
[]
no_license
jlazar89/Udemy-Python-Training
1450d63b2614fdd2b16f2355ce84d2293a4962da
34ceba3ef810b348d4fdf5e9f768c407aae94ba0
refs/heads/master
2020-03-27T05:57:01.303423
2018-09-23T17:27:55
2018-09-23T17:27:55
146,065,527
0
0
null
null
null
null
UTF-8
Python
false
false
378
py
# simple list declaration simpleListDeclaration = [44,55,66,77,88] # [0,1,2,3,4] list2 = [x for x in range(5) ] # [0,3,6,9,12] list3 = [x * 3 for x in range(5)] # [0,2,4,6,8] list4 = [n for n in range(10) if n % 2 ==0] print(list4) namesList = ["James", "Peter", "Aamir", "Nishad", "Abdul"] contactsList =[person.str...
[ "jlazar89@gmail.com" ]
jlazar89@gmail.com
aa4a23aa6155bceafd2df3548ec7ef9f27d1c81d
8c211704f0bd3f835660b4524a1d342b95de752e
/base/views.py
0ba512a0c11cc930513504a160c04aa6a38631ca
[]
no_license
Tookliin/macco_web
e908bba84b3ecb25509665b8c1e847d25f380091
fd582b9a2be0b7e94c501cd444f50b60c215b51a
refs/heads/master
2022-12-08T21:12:30.161078
2020-04-19T17:43:31
2020-04-19T17:43:31
250,799,834
0
0
null
2022-07-06T20:35:07
2020-03-28T13:18:30
HTML
UTF-8
Python
false
false
317
py
from django.shortcuts import render, redirect from django.views import generic # Create your views here. def home(request): return render(request, 'main/home.html') def about(request): return render(request, 'main/about.html') def experience(request): return render(request, 'main/experience.html')
[ "maccoskuni@gmail.com" ]
maccoskuni@gmail.com
97e6b5533e3e2ff7ebfaf88da1089c2315d7f6e1
2222fa632138465c237e0d501a17e78bd41c4fca
/main_all/main_ming.py
2b7f4fc57b5f86efbb5faa096b22cfc93bca9390
[]
no_license
minji9583/ai_chatbot_project
e3d1936091650150090c642fcda335c4a5583e3a
dafdf565bddb0841d5dc38dfb85a1b41310b87c8
refs/heads/master
2023-01-06T17:32:54.982468
2019-10-15T02:20:37
2019-10-15T02:20:37
207,702,203
4
1
null
2023-01-01T13:24:51
2019-09-11T02:08:05
Python
UTF-8
Python
false
false
5,743
py
import tensorflow as tf import model as ml import data_ming as data import numpy as np import os import sys import pickle from nltk.translate.bleu_score import sentence_bleu from nltk.translate.bleu_score import SmoothingFunction from rouge import Rouge from configs import DEFINES DATA_OUT_PATH = './data_out/' # R...
[ "aksenskf0k@gmail.com" ]
aksenskf0k@gmail.com
5e520ee7a70afddf2817d213f8d53c3ba3312c48
84ee5aca830c25848b1392da9391ab07287bd70e
/gallary/settings.py
84e4f33545bc852fcfa65f3b43c9e414e5803470
[ "MIT" ]
permissive
peter302/petergallary
a66428bc117f6350c41909ee60efb4095a5b3319
3734eb6584598035a5ddad3d594f4c185d5c1964
refs/heads/master
2021-09-10T02:06:21.337857
2020-02-04T12:12:54
2020-02-04T12:12:54
237,388,751
0
0
null
2021-09-08T01:38:23
2020-01-31T08:25:37
Python
UTF-8
Python
false
false
4,377
py
""" Django settings for gallery project. Generated by 'django-admin startproject' using Django 1.11. For more information on this file, see https://docs.djangoproject.com/en/1.11/topics/settings/ For the full list of settings and their values, see https://docs.djangoproject.com/en/1.11/ref/settings/ """ import os i...
[ "you@example.com" ]
you@example.com
1948ae0f8b6c5c2e5c2eb41c8ca507c0bd847e49
6f5b15d1eb86a416711c59ff557dbe60871a4a9f
/pytorch_rl/utils.py
633b5b80169cae38e17ec4c1489f2635766a9e42
[ "MIT" ]
permissive
abefetterman/pytorch-rl
83b5200da6a1b3d54521d284a2f05938597ab374
f021b71b774c1e07dba8301673e754d493323942
refs/heads/master
2020-04-25T06:51:03.349304
2019-02-28T18:07:44
2019-02-28T18:07:44
172,594,498
0
0
null
null
null
null
UTF-8
Python
false
false
209
py
def rewards_to_go(rewards, gamma=0.99): rev_rtg = [] run_reward = 0 for x in rewards[::-1]: run_reward = x + run_reward * gamma rev_rtg.append(run_reward) return rev_rtg[::-1]
[ "abe@nomiku.com" ]
abe@nomiku.com
b11de713ba8b277d958bfb30d8afbfe441eaf25c
628db9198a43c323adae0e0f38b8ed50719b191f
/FbxPipeline/generated/apemodefb/TransformFb.py
9b89b511f074ac862f7c30d0e7e8939bbd217123
[ "LicenseRef-scancode-warranty-disclaimer", "Apache-2.0", "LicenseRef-scancode-unknown-license-reference" ]
permissive
VladSerhiienko/FbxPipeline
0f1ca6ddfca69cdc320da3ef750b56f58afd363c
540a6b7f90e402dcf3c8c7b25a6fb831e552b164
refs/heads/master
2021-01-11T19:46:05.273736
2019-03-23T21:06:16
2019-03-23T21:06:16
79,388,705
77
11
null
null
null
null
UTF-8
Python
false
false
4,394
py
# automatically generated by the FlatBuffers compiler, do not modify # namespace: apemodefb import flatbuffers class TransformFb(object): __slots__ = ['_tab'] # TransformFb def Init(self, buf, pos): self._tab = flatbuffers.table.Table(buf, pos) # TransformFb def Translation(self, obj): ...
[ "vlad.serhiienko@gmail.com" ]
vlad.serhiienko@gmail.com
ed4e9613598f77f8dae95f950d6d724147952228
25694414f4f7000d19122b01c884bc081cad6bed
/Archive/2020/fizzbuzz/fizzbuzz_ahmedjouda.py
9d6b9db235d73083c47e6859599a8483e56a3066
[]
no_license
NawferArham/Hacktoberfest
19b5e961cc58993ff14949069433ac0fa767ecc6
84cce9af303318b7ddf5c8d1b7f4c8d3ab6da2f7
refs/heads/master
2023-08-18T01:26:11.771621
2021-10-15T13:32:01
2021-10-15T13:32:01
null
0
0
null
null
null
null
UTF-8
Python
false
false
314
py
val = input("Enter your value: ") for fizzbuzz in range(int(val)+1): if fizzbuzz % 3 == 0 and fizzbuzz % 5 == 0: print("fizzbuzz") continue elif fizzbuzz % 3 == 0: print("fizz") continue elif fizzbuzz % 5 == 0: print("buzz") continue print(fizzbuzz)
[ "ashrafali379@gmail.com" ]
ashrafali379@gmail.com
744ebd9777a042460c1d5c958b2e18d0b5412870
99a6da0b3b4fb3d858a072edabb23a4394624207
/ch 3/pages/urls.py
29cc9c7fdb8541e7d91a8af8f301755e8b48df52
[]
no_license
EngAhmedElkady/Django-for-Beginners
0d6dbdf0f013e285ac5dc767f5d698f9c2d3c203
c137cb26e15c900986e6c59f41f761d699cc0cdc
refs/heads/main
2023-08-29T09:59:31.269088
2021-10-17T09:24:40
2021-10-17T09:24:40
415,901,992
1
0
null
null
null
null
UTF-8
Python
false
false
209
py
from django.urls import path from .views import AboutPageView, HomePageView urlpatterns = [ path('', HomePageView.as_view(), name='home'), path('about/', AboutPageView.as_view(), name='about'), # new ]
[ "ahelkady110@gmail.com" ]
ahelkady110@gmail.com
0060712efe8183e2656f214855bf6fae2a71ed81
219842a624bcf3540eed4243554ce6db932e44a3
/models/ModelSEED/ModelSEED_rxns_BiGG_aliases.py
a8d93d25eb7846b5dcd2399512b938a95573f8c7
[]
no_license
aarthi31/DS_lab
73e234e7e1e57e17d7b798afb81a9c0a2071e757
7c6137bf7b7379cc98bf4ce319610448592bc075
refs/heads/master
2020-09-22T21:04:04.286163
2016-07-19T05:26:57
2016-07-19T05:26:57
null
0
0
null
null
null
null
UTF-8
Python
false
false
930,165
py
rxns_by_BiGG_id = {} rxns_by_clean_BiGG_id = {} rxns_by_BiGG_id['12DGR120tipp'] = ['rxn07912'] rxns_by_clean_BiGG_id['12dgr120tipp'] = ['rxn07912'] rxns_by_BiGG_id['12DGR140tipp'] = ['rxn07913'] rxns_by_clean_BiGG_id['12dgr140tipp'] = ['rxn07913'] rxns_by_BiGG_id['12DGR141tipp'] = ['rxn07914'] rxns_by_clean_BiGG_id['12...
[ "auz107@users.noreply.github.com" ]
auz107@users.noreply.github.com
c299566e441d106f41728e5abc3c602c0f327696
9259591e4794aecd85c199b645ffb05ccbebd993
/vendor/celery/concurrency/__init__.py
31981d5bbbdc51626a4bf21a7b3f1cb7c3d7b9f0
[ "Apache-2.0" ]
permissive
swdotcom/swdc-sublime
000e20b2d2d9fa214480d2a94fcb97a88b83f67f
eab2007ab408e44d38163a121bf95c5d2018d6e4
refs/heads/main
2022-03-10T05:57:44.701151
2022-03-09T23:53:14
2022-03-09T23:53:14
127,207,312
14
5
Apache-2.0
2022-03-09T23:53:15
2018-03-28T22:47:16
Python
UTF-8
Python
false
false
933
py
# -*- coding: utf-8 -*- """Pool implementation abstract factory, and alias definitions.""" from __future__ import absolute_import, unicode_literals # Import from kombu directly as it's used # early in the import stage, where celery.utils loads # too much (e.g., for eventlet patching) from kombu.utils.imports import sy...
[ "bo@software.com" ]
bo@software.com
7483f16f2838a7977231400d5ce1227eff7c995e
8bc318aee790dc5e8775fc2f223821eca0d3c190
/process/SelfWrap.py
690a100ddd0c2a2b9640f04cf8055197e5acbc29
[]
no_license
isabelmette/pynet
a54bf3f1d7f87b1acf2fc3d11ecbb95f933f3e82
6bd401bc1a25676c2c6c7d641f9e78db7ecfb27c
refs/heads/master
2021-01-15T08:28:06.708905
2014-02-23T12:47:52
2014-02-23T12:47:52
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,642
py
""" helper for ordinary access to classinstances after having overwritten __getattribute__ this does not work for type instances """ import sys def aspectSelfWrap(BaseClass): __setattr__= BaseClass.__setattr__ __getattribute__= BaseClass.__getattribute__ __delattr__= BaseClass.__delattr__ class ...
[ "niccokunzmann@googlemail.com" ]
niccokunzmann@googlemail.com
4fb2a1691d2d3484434a66019f92540f5722ceda
022ad7234b4e74a2eb45b65086e4a4d399c1f25d
/code/app/utils.py
471eb22100eaf0b67618e0b390d245c2b7b663df
[]
no_license
akarazeev/Bachelor
4e5712ef7182845c41c90c54130a94064143cfbb
160a93b2252f288d9462c9ba581531c9beeacfbc
refs/heads/master
2021-06-14T04:25:36.327320
2021-05-01T15:11:24
2021-05-01T15:11:24
183,230,245
2
0
null
null
null
null
UTF-8
Python
false
false
251
py
import pandas as pd def get_json_data(file): df = pd.read_csv(file, nrows=15) return df.to_json() def get_header(json_data): return pd.read_json(json_data).columns def get_values(json_data): return pd.read_json(json_data).values
[ "anton.karazeev@gmail.com" ]
anton.karazeev@gmail.com
fffa8b2fd8328a5dda7a888a9dfec69affc17374
83e3c1780568c0a6ea8c87cacdb8aa8699245327
/Python Scripts/AumPush2/AumPush2.py
81e2ffe3223e9ca35b93cd84d1793f7572b1025c
[]
no_license
thomasf/m4m8
367c6a6a7a8ef382b9543ba981beb432d39c921c
ba7c20c1824b55dd2415bbe00f68407c3e2c27a9
refs/heads/master
2020-03-29T11:13:59.115757
2018-09-18T05:02:52
2018-09-18T05:02:52
null
0
0
null
null
null
null
UTF-8
Python
false
false
34,052
py
# by amounra 1016 : http://www.aumhaa.com # written against Live 10.0.3b8 RC on 083018 from __future__ import absolute_import, print_function import Live import Live.DrumPad import logging logger = logging.getLogger(__name__) from contextlib import contextmanager from functools import partial from itertools import iz...
[ "aumhaa@gmail.com" ]
aumhaa@gmail.com
78acb536b107dc32714349da52f4b50b3fa4f5bb
2bb90b620f86d0d49f19f01593e1a4cc3c2e7ba8
/pardus/playground/memre/fakeroot/actions.py
78817c5780e59ec37b06f37c42038cd22f1b3133
[]
no_license
aligulle1/kuller
bda0d59ce8400aa3c7ba9c7e19589f27313492f7
7f98de19be27d7a517fe19a37c814748f7e18ba6
refs/heads/master
2021-01-20T02:22:09.451356
2013-07-23T17:57:58
2013-07-23T17:57:58
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,828
py
#!/usr/bin/python # -*- coding: utf-8 -*- # # Copyright 2010 TUBITAK/UEKAE # Licensed under the GNU General Public License, version 2. # See the file http://www.gnu.org/licenses/old-licenses/gpl-2.0.txt from pisi.actionsapi import autotools from pisi.actionsapi import pisitools from pisi.actionsapi import shelltools f...
[ "yusuf.aydemir@istanbul.com" ]
yusuf.aydemir@istanbul.com
63252e4ba9f4bdec4235325a9b15c1a6ad62a55e
09e57dd1374713f06b70d7b37a580130d9bbab0d
/benchmark/startQiskit_Class491.py
476b66461343366ca6a9238990a93a3d1c1aa17b
[ "BSD-3-Clause" ]
permissive
UCLA-SEAL/QDiff
ad53650034897abb5941e74539e3aee8edb600ab
d968cbc47fe926b7f88b4adf10490f1edd6f8819
refs/heads/main
2023-08-05T04:52:24.961998
2021-09-19T02:56:16
2021-09-19T02:56:16
405,159,939
2
0
null
null
null
null
UTF-8
Python
false
false
2,672
py
# qubit number=3 # total number=15 import numpy as np from qiskit import QuantumCircuit, execute, Aer, QuantumRegister, ClassicalRegister, transpile, BasicAer, IBMQ import networkx as nx from qiskit.visualization import plot_histogram from typing import * from pprint import pprint from math import log2 from collectio...
[ "wangjiyuan123@yeah.net" ]
wangjiyuan123@yeah.net
9152da877b996a35f59e06d0b0a4e8b4a507c419
7b0a1e987e9ea94041d9e2e3a0f327f37a00866f
/stats.py
59ee8db8ca964c758b35cc8c991b3ea2f654c348
[ "Apache-2.0" ]
permissive
BedrockDigger/chrome-dino-pyremake
140c4e2c96227facfff897ac3b1f6827505083d9
cebb5725a25c40e7f2fae4290e64fd7a5d410575
refs/heads/master
2020-05-18T13:10:57.421684
2019-05-22T01:47:43
2019-05-22T01:47:43
184,430,685
3
1
null
null
null
null
UTF-8
Python
false
false
162
py
class Stats(): def __init__(self, settings): self.settings = settings self.reset() self.status = False def reset(self):
[ "callmebedrockdigger@gmail.com" ]
callmebedrockdigger@gmail.com
9bb2e4679b5579f3c83517c771f8b861cb023611
0a3b08678e2d6669188649bfc8d38439ac076f61
/odziez/employees/views.py
7b8fb5fc60ab31d44e58fda282a6d155205c1de5
[ "MIT" ]
permissive
szymanskirafal/odziez
48f31fb72a8875511000f6aa5d9032770a670e64
029d20da0474a0380e8383f9f89c1072666c5399
refs/heads/master
2020-05-25T08:18:58.783882
2020-05-10T19:19:29
2020-05-10T19:19:29
187,707,616
0
0
null
null
null
null
UTF-8
Python
false
false
3,962
py
from django.core.exceptions import ObjectDoesNotExist from django.db.models import Q from django.urls import reverse_lazy from django.utils.timezone import localdate from django.views import generic from clothes.models import KindOfClothe, Clothe from orders.models import Order from .forms import EmployeeForm from .m...
[ "r.szymansky@gmail.com" ]
r.szymansky@gmail.com
86e9eabf6759d513ccabb35762770a4bf01dc49a
c5cad31bfc771d3261d1eead8e31856c19eb5e74
/renderManBatchCmd/renderManBatchCMD_2_8.py
922e5043607bae947f0958cb16c3ec08e885f90c
[]
no_license
alpha0080/mayaTool
61b649825d85b88de2d24e9260e23f5c5aa559cb
153da6e987d13fb7311ee55a2a3e635bc8c7afde
refs/heads/master
2021-01-19T11:52:03.715437
2018-05-07T10:30:23
2018-05-07T10:30:23
88,001,018
0
0
null
null
null
null
UTF-8
Python
false
false
45,826
py
# -*- coding: utf-8 -*- # Form implementation generated from reading ui file 'C:/Users/alpha.DESKTOP-1S1STEK/Documents/GitHub/ribGen/renderManBatchCMD_UI_01.ui' # # Created: Tue Feb 14 10:48:29 2017 # by: pyside-uic 0.2.14 running on PySide 1.2.0 # # WARNING! All changes made in this file will be lost! from PySi...
[ "alpha@mail.chungyo.net" ]
alpha@mail.chungyo.net
83926321a1931c689e4eb5d4ea8cb4bc05cf7ea8
ebc7674f23a1489fc9ae724f7fa5730555d9e560
/src/Level1 with Python/12921.py
3c8f4f72cfc5368bc62a43ebb233e5a28fb3f4be
[]
no_license
ufshg/Programmers
e9fd890beb98beb481f006a78c20cfda6438f8b3
cb2d6db3c62c6cf06fcb2ff57b12762e876817a0
refs/heads/master
2023-03-17T06:57:55.589742
2021-03-29T10:23:02
2021-03-29T10:23:02
null
0
0
null
null
null
null
UTF-8
Python
false
false
366
py
import math as m def solution(n): count = 0 if n == 2 or n == 3: return 1 else: for i in range (2, n + 1): plus = True for j in range (2, int(m.sqrt(i)) + 1): if i % j == 0: plus = False break if plu...
[ "ufshg@naver.com" ]
ufshg@naver.com
7d6cbe13a65f47ea7759f454ae2fdcec0c7dfa2f
13101de2704f3bf05de54f5d3315d6581f463d2c
/scripts/ezpool.py
c73cf76a2c8ad5712a20b0e0b11ec2fbf9e29dc6
[ "BSD-3-Clause", "LicenseRef-scancode-unknown-license-reference" ]
permissive
kashenfelter/pyina
f30ed2139d3a39cf67bdf07dca7caaa28c5c46de
8f37f5e8eb42fd9720bee3f67201802eb6c364c8
refs/heads/master
2020-03-08T22:25:26.384959
2018-01-07T23:26:22
2018-01-07T23:26:22
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,141
py
#!/usr/bin/env python # # Author: Mike McKerns (mmckerns @caltech and @uqfoundation) # Copyright (c) 1997-2016 California Institute of Technology. # Copyright (c) 2016-2018 The Uncertainty Quantification Foundation. # License: 3-clause BSD. The full license text is available at: # - https://github.com/uqfoundation/py...
[ "mmckerns@8bfda07e-5b16-0410-ab1d-fd04ec2748df" ]
mmckerns@8bfda07e-5b16-0410-ab1d-fd04ec2748df
7dd4bfca34b2ad41e10cfab96565f5572ea0bfd3
31a928cff4960236923b6bc3b68e34bb2f46f470
/CAVE/cave/html/html_helpers.py
18bd2ff34446b80eadaba6faf5dc84f67306581b
[ "BSD-3-Clause" ]
permissive
webclinic017/ml_monorepo
707df2afd2f986eb0721d26430e6135c917817c6
945f0a83d6b94282c547bb6f4805f3381ad9c16a
refs/heads/master
2021-10-19T21:02:53.322944
2019-02-19T20:58:51
2019-02-23T20:06:04
null
0
0
null
null
null
null
UTF-8
Python
false
false
3,127
py
from collections import OrderedDict def figure_to_html(figure, prefix=None, max_in_a_row=None, true_break_between_rows=False): """ Turns filepaths to nice html-figures Parameters ---------- figure: Union[List[str], str] path or list of paths prefix: Union[None, str] if set, the len...
[ "tmichael.yu@gmail.com" ]
tmichael.yu@gmail.com
c4e5c83ae02f5f26b63ed96f4ca49d3f650bf141
3f253a13ae1a2c84cc8ef5e51b8156ba00845eeb
/backend-scripts/mapping.py
de34f1febb5eb7b273754e51379c3f3f80edba01
[]
no_license
napszel/ClimbingRoutes
6e8e878f382554797ba37aa25edcb7c5fcbedaf4
ac596208d07be14e6d25545b2bd7a4f49bcd02ec
refs/heads/master
2022-12-24T02:37:15.108704
2022-12-10T16:10:01
2022-12-10T16:10:01
122,495,106
0
0
null
2022-12-10T20:47:27
2018-02-22T15:11:13
HTML
UTF-8
Python
false
false
3,180
py
#!/usr/bin/python # -*- coding: utf-8 -*- import json from pprint import pprint import sqlite3 import sys from collections import OrderedDict def get_the_real_names(): full_names = open("../intermediate_calculations/nevek.jo", "r") names_list = full_names.readlines() numbers_names = {} for item in nam...
[ "eva@napszel.com" ]
eva@napszel.com
c43338a67334c6482388f5d58b4e5dcb2576ec17
f9be6f15af272fce4565a74d85dfe3298ea22315
/aiogram/types/chat_permissions.py
9d44653edb1aa4d1187ea108201e77fb13522078
[ "MIT" ]
permissive
hellboi-atul/aiogram
7654ca127b9b709b8700cb1755674a895abb7d05
3440ab3c96e31384cbcf515e75904dcade6f5fd0
refs/heads/dev-2.x
2023-01-27T12:09:21.177136
2020-12-05T13:28:56
2020-12-05T13:28:56
318,952,603
1
0
MIT
2020-12-06T04:44:05
2020-12-06T04:44:04
null
UTF-8
Python
false
false
1,673
py
from . import base from . import fields class ChatPermissions(base.TelegramObject): """ Describes actions that a non-administrator user is allowed to take in a chat. https://core.telegram.org/bots/api#chatpermissions """ can_send_messages: base.Boolean = fields.Field() can_send_media_messages...
[ "jroot.junior@gmail.com" ]
jroot.junior@gmail.com
29fb2c28bb4f6c59f1b57e237ce3a8b0a468011b
07beeb108930d0b0633670997619115cc7e1230c
/src/p05.py
262341a959e1ec8c08f3ab580361aa70c46a5256
[]
no_license
tuxedocat/nlp100
03ec98c7a221ad192256b3ede2cd3e19c4a74dff
2226b5096a55d0cfb504860197b9ae1b77580f8f
refs/heads/master
2020-12-31T04:42:20.517792
2015-05-23T03:28:01
2015-05-23T03:28:01
36,234,689
1
0
null
null
null
null
UTF-8
Python
false
false
825
py
# -*- coding: utf-8 -*- """nlp100 in python3""" __author__ = "Yu Sawai (tuxedocat@github.com)" __copyright__ = "Copyright 2015, tuxedocat" __credits__ = ["Naoaki Okazaki", "Inui-Okazaki Lab. at Tohoku University"] __license__ = "MIT" def ngram(s=None, n=2): """Return n-grams for given list or string""" try:...
[ "yusawai.null@gmail.com" ]
yusawai.null@gmail.com
482108b87a519f8a5a0130f7bdb8e5c503802712
092514d5c79b81011d2a945d9a52bc308599c3a4
/naive-bayes.py
619935deef6204689609694d3e007c9458ebd2ba
[]
no_license
mkurg/coursework
d2d2123b3fd11a958f2136ea8068f365d5180a17
b680c69280564bec0735420370ade14fc29a8c63
refs/heads/master
2020-12-25T15:08:45.531804
2016-06-28T06:31:05
2016-06-28T06:31:05
62,003,017
0
0
null
null
null
null
UTF-8
Python
false
false
4,362
py
#!/usr/bin/python # -*- coding: utf-8 -*- import pandas as pd from sklearn.naive_bayes import MultinomialNB from sklearn.preprocessing import LabelEncoder from sklearn.pipeline import Pipeline from sklearn.metrics import classification_report loc_train = "data.csv/data_lem_tags_train.csv" loc_test = "data.csv/data_le...
[ "mkurg@ya.ru" ]
mkurg@ya.ru
1666015cd326f30f7f482726006128c11a48ffac
fedc6f6e31a7c3def965e0befc1b206460fcebcb
/grey.py
5c1433c8022c84d65fe5bc87018574127d7f20a0
[ "Artistic-2.0" ]
permissive
rec/grey
42aab62b343d57b382489f510efe0f04ae9cbc3f
775152545eae7016e9449ae70205279def8706d2
refs/heads/master
2016-09-05T19:37:09.446971
2015-02-16T20:24:07
2015-02-16T20:24:07
30,839,759
1
0
null
null
null
null
UTF-8
Python
false
false
241
py
# def to_grey(i): return (i / 2) ^ i def to_bin(i): return '{0:b}'.format(i) DISPLAY = oct def grey(count): for i in range(count): # print to_bin(i), to_bin(to_grey(i)) print '%5d -> %05o' % (i, to_grey(i)) #
[ "tom@swirly.com" ]
tom@swirly.com
901cf731b51323b7b319fed722e957eb23e9cbd9
138f9cbc288dade85faf14bda9d1a3c978dac93b
/bslparlour/serializers.py
4e8796635b88aa419d19487a97c8ef6b0a53ec0f
[]
no_license
natfarleydev/bslparloursite
981a487f34027b67c0a201af7e647b7a61273a6e
d2c8db07093c2723d882c573e40eb50cecef5bef
refs/heads/master
2021-05-28T22:29:00.518610
2015-06-10T14:33:02
2015-06-10T14:33:02
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,470
py
from django.forms import widgets from django.contrib.auth.models import User from rest_framework import serializers, permissions from bslparlour.models import SourceVideo, NotSourceVideo, CastMember class SourceVideoSerializer(serializers.ModelSerializer): permission_classes = (permissions.IsAuthenticatedOrReadOnl...
[ "nasfarley88@gmail.com" ]
nasfarley88@gmail.com
b778bd03a5df0af73fee0e351b840db4286e7f2a
b5de82109e06596bb916091b3bd60e445d03a1dd
/feedforward.py
479d3257f991fd4fe5c1dbcea9a26b7b36d88082
[]
no_license
i2huang/superres
b0826fbf57245aa75850961881cbcfa75f2a9258
06777e584680e11a060c3605786dcfe4f8f7df1c
refs/heads/master
2020-06-26T05:09:48.708436
2019-07-30T00:06:45
2019-07-30T00:06:45
199,543,075
0
0
null
null
null
null
UTF-8
Python
false
false
6,976
py
# -*- coding: utf-8 -*- """FeedForward.ipynb Automatically generated by Colaboratory. Original file is located at https://colab.research.google.com/drive/1Hd5_DXbibykqOtZWsEo5Yicm8SHwgnzw """ import random import glob import subprocess import os from PIL import Image import numpy as np import tensorflow as tf fr...
[ "rhuang@RHUANG2.na.qualcomm.com" ]
rhuang@RHUANG2.na.qualcomm.com
003519694e53fc618cea37703d220fd890737ae2
e5b4ed3bb7398cbe2276928c261b41f2dfed4c52
/classes/Browser.py
0accdd0223fa7710eed125846f42e054dcaadbd3
[]
no_license
rajeevmc77/webscrapper
d92dbaca5388d421de64c9ca2e260b4d9ec93374
f085e78796ef381a4c4d3bceea8d19aef5a7014a
refs/heads/master
2021-01-07T21:12:05.648199
2020-02-24T07:23:03
2020-02-24T07:23:03
241,819,431
0
1
null
null
null
null
UTF-8
Python
false
false
1,079
py
import requests class Browser: def __init__(self): self.headers = { 'User-Agent': 'Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/79.0.3945.130 Safari/537.36' } self.login_data ={ } self.session = None def createSession(self):...
[ "rajeevmc@kite.kerala.gov.in" ]
rajeevmc@kite.kerala.gov.in
38f36586b02a41fe7b9e7927a59e7a7606c5ee17
008146d6822aee14f9430aa1c0b87e7caadf12fe
/src/polychar.py
cf98d8a4fbe6f8581e3d68ae6b2e10f29f0068ed
[ "MIT" ]
permissive
JoseAAManzano/polychar
1d232bc6dd12c31efd86a0da01e522219f6971c5
826844b4c02808349cc43c07f91ae58d551ec838
refs/heads/main
2023-01-23T16:16:32.616448
2020-12-08T14:20:36
2020-12-08T14:20:36
301,413,223
0
0
MIT
2020-11-17T09:07:44
2020-10-05T13:12:02
Python
UTF-8
Python
false
false
1,438
py
# -*- coding: utf-8 -*- """ Created on Fri Sep 25 14:18:44 2020 @author: josea """ import torch import torch.nn as nn import torch.nn.functional as F class PolyChar(nn.Module): def __init__(self, n_in, n_hidden, n_layers, n_out, drop_p=0.1): super(PolyChar, self).__init__() self.drop_p = drop_p ...
[ "joseaamanzano@gmail.com" ]
joseaamanzano@gmail.com
57d23ea512feca1c72a7c8fb8ed734c1d2bd2132
660e35c822423685aea19d038daa8356722dc744
/timesheet_cost/__init__.py
e1f310f4f40a1aee77e771e0ef97fa63f5c65639
[]
no_license
saifkazi/tryton_modules
a05cb4a90ae2c46ba39d60d2005ffc18ce5e44bb
94bd3a4e3fd86556725cdff33b314274dcb20afd
refs/heads/main
2023-05-05T12:20:02.059236
2021-05-19T10:46:37
2021-05-19T10:46:37
368,768,310
0
0
null
null
null
null
UTF-8
Python
false
false
391
py
# This file is part of Tryton. The COPYRIGHT file at the top level of # this repository contains the full copyright notices and license terms. from trytond.pool import Pool from . import company from . import timesheet def register(): Pool.register( company.Employee, company.EmployeeCostPrice, ...
[ "saif.kazi76@gmail.com" ]
saif.kazi76@gmail.com
63cf95515377a9c77642869443954ffdc0abd977
e0cdce1ab4bb2dbc4e168d4440b86c03a075ad67
/manage.py
10038ec0711cf914aaa34f5aa662d97055c49c17
[]
no_license
FormedFlow/eer
93865a4314499f8543afe97c7da0defcc701d1ed
ebbec46f5c31281b347ed60165f181235fecae25
refs/heads/master
2023-06-15T12:53:11.935182
2021-07-06T23:41:35
2021-07-06T23:41:35
378,655,694
0
0
null
null
null
null
UTF-8
Python
false
false
659
py
#!/usr/bin/env python """Django's command-line utility for administrative tasks.""" import os import sys def main(): """Run administrative tasks.""" os.environ.setdefault('DJANGO_SETTINGS_MODULE', 'EER.settings') try: from django.core.management import execute_from_command_line except ImportEr...
[ "anothermail71@gmail.com" ]
anothermail71@gmail.com
49b166ea8f71bee4cd4db9529224db322ba20a7d
782b382dc9ab45241ad40e5962f2db536493eee1
/source/mediaTask/leetcode/explore/lc_teambition.py
09df2bc71f46cdc36238c6c03905d96b14972eab
[]
no_license
Lewic1201/pythonDemo
3c26efb0c7cdec67d7ccb6205dadebfeb8bc494d
94084e64b1d7582b0b77c785f915ed2218e398e6
refs/heads/master
2022-12-02T05:55:25.295637
2019-12-20T17:09:52
2019-12-20T17:09:52
161,649,982
3
0
null
2022-11-22T02:55:21
2018-12-13T14:23:18
Python
UTF-8
Python
false
false
3,680
py
#!/usr/bin/env python # -*- coding: utf-8 -*- # @Time : 2019/1/17 22:46 # @Author : Administrator # @File : lc_teambition.py # @Software: PyCharm # @context : from source.utils.decorators import print_cls class Solution: @print_cls def fullJustify(self, words, maxWidth): """ 文本左右对齐 ...
[ "lpf1201@qq.com" ]
lpf1201@qq.com
e4050524a151408f5902496da2483d1353448d8f
61e3adb771b2fb379dcf6206b86f3be9d05d4768
/5-Project_Data_Pipelines/dags/my_airflow_dag.py
fe98ca0033abcee93c47c1df11eec6401ab67873
[]
no_license
pfife00/Data_Engineering_Nano_Degree
1ce4dcd9cb18479dbb7167d4793b220d059398de
6330aeaea6852b2d072d63614ecbfdc20d2be4d7
refs/heads/master
2020-07-03T05:23:23.004675
2019-09-04T00:30:41
2019-09-04T00:30:41
201,798,117
1
0
null
2019-09-04T00:30:42
2019-08-11T18:03:23
Jupyter Notebook
UTF-8
Python
false
false
3,618
py
from datetime import datetime, timedelta import os from airflow import DAG from airflow.operators.dummy_operator import DummyOperator from airflow.operators import (StageToRedshiftOperator, LoadFactOperator, LoadDimensionOperator, DataQualityOperator) from helpers import SqlQueries # AW...
[ "forest.pfeiffer@gmail.com" ]
forest.pfeiffer@gmail.com