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
ed71b75da8a01e6d632ea9b987b714f5e40022da
46f1c3c6c319bc52772779d9e3d5ed5649849fa8
/pybasic/ex01_removefile/mergebatfile.py
07744ba7074c70522aebcaaf428f0236c9ad17cf
[]
no_license
fioletflying/pycook
b2789cb8b3ab87c6062211c82ef8b554acd0543a
8e70a1fb3b8c687987325f91b4918853eaae693e
refs/heads/master
2021-06-23T19:05:35.083184
2021-02-03T02:00:26
2021-02-03T02:00:26
180,733,211
0
0
null
null
null
null
UTF-8
Python
false
false
2,422
py
#!/usr/bin/env python # -*- coding:utf-8 -*- # @author : Feifei # @IDE : Pycharm # @file : mergebatfile.py # @time : 2019/6/3 14:41 import os import sys def mergeBat(inputPath,outputPath): listpaths = [] files = os.listdir(inputPath) for file in files: if os.path.splitext(file)[...
[ "fioletflying@hotmail.com" ]
fioletflying@hotmail.com
1ae844e3e607fb795c24cc0a0a10b36e1af206df
ff74348a3ad5f08e5f857767fb900580a0fc2894
/Module/testJSON.py
487b0f1fbfbf2fffa531c1ea90d142bc6bbc904e
[]
no_license
AForbis/Movies-ETL
9ab77c64d63673b0f127bdff16fa828ff496e75d
d64f057d590199ba1aaeee1b6fcf464589bd633d
refs/heads/main
2023-03-19T17:47:02.505846
2021-02-26T16:00:09
2021-02-26T16:00:09
338,619,501
1
0
null
null
null
null
UTF-8
Python
false
false
399
py
#%% import json import pandas as pd import numpy as np # %% file_dir = 'C://Users/alexf/Desktop/Bootcamp/Movies-ETL/' # %% with open(f'{file_dir}/wikipedia-movies.json', mode='r') as file: wiki_movies_raw = json.load(file) # %% len(wiki_movies_raw) # %% # First 5 records wiki_movies_raw[:5] # %% # Last 5 records wi...
[ "alexforbis@utexas.edu" ]
alexforbis@utexas.edu
3777fe9862ea7b7c070a0c2c8480e304e297d9dd
235b114c39d7c4889b8c73f22a242465c549a79b
/venv/lib-python/3/sre_constants.py
f683bd9fcfea77318cb923035b513273cdef1716
[]
no_license
yay135/Rtree
00c489ba34192be85431861c90e299715150f3da
af61058aa2fdadfd86aee5892e8b47249b42d74b
refs/heads/master
2020-05-17T11:11:34.114030
2019-04-28T18:52:24
2019-04-28T18:52:24
183,678,712
0
0
null
null
null
null
UTF-8
Python
false
false
65
py
/home/yay135/pypy3.6-v7.1.1-linux64/lib-python/3/sre_constants.py
[ "yanfy135@gmail.com" ]
yanfy135@gmail.com
6a30dc9b38211d87c056b375cf9b69902f2e7a72
db02d8bb5df07ebcfdbb17a771efdc6fc4d412e2
/classifier.py
068bd5fbc8c14e4a74eb1a45cbf058a4b701ffd2
[]
no_license
meismaomao/Pig2
8b9d5db25bff7614e94188d94d797baece6529b7
6b490cf125a9a993113e979e0f82fac87d71b6f3
refs/heads/master
2021-08-28T23:32:55.062506
2017-12-13T08:35:49
2017-12-13T08:35:49
112,196,648
24
6
null
null
null
null
UTF-8
Python
false
false
3,762
py
import tensorflow as tf import numpy as np import model import data_process import pickle from sklearn.svm import SVC from sklearn.neighbors import KNeighborsClassifier def main(data, iter_num, labels, train=True): BATCH_SIZE = 2 ITERATION = iter_num embedding_size = 1024 CLASS_NUM = 30 train_anch...
[ "yqljxr@163.com" ]
yqljxr@163.com
f083028d794d36880b64451d9cd91e8f72074936
b5c2bc7dcfd924717775a6b8c4a79c02cec2090b
/pre-processing/pre-processing-code/lambda_function.py
89d1157dbb4b1419083ed4143656951056159d42
[ "CC-BY-4.0", "CC-BY-3.0" ]
permissive
rearc-data/who-covid-19-cases-deaths
52d5e58e0468e29e9a9d49d82f17feedd9f42619
532c896b89febce38b3d0edd36c35a4c69e6040a
refs/heads/master
2023-06-03T08:31:56.049504
2020-05-19T05:19:18
2020-05-19T05:19:18
258,016,496
0
0
null
null
null
null
UTF-8
Python
false
false
4,437
py
import time import json from source_data import source_dataset import boto3 import os from datetime import date, datetime os.environ['AWS_DATA_PATH'] = '/opt/' dataexchange = boto3.client( service_name='dataexchange', region_name=os.environ['REGION'] ) marketplace = boto3.client( service_name='marketplace-catalog...
[ "me@derekwolpert.com" ]
me@derekwolpert.com
513585815f578441d36ec0ca05c53d57e7f93932
20357b1919b7c7c846704ab1bca9a0e1f8fb732e
/Notebooks/core/image/image_compression.py
86edb3d3688b051e38362e22aa6e9d80d5575c9d
[]
no_license
h3nok/MLIntro
56e287dadb7fb56afdc0ac6cf5378764e7ed633c
397936ea146bf7522277c70061b386feb3563317
refs/heads/master
2022-12-13T05:28:14.779945
2021-12-09T18:29:12
2021-12-09T18:29:12
199,041,488
0
0
null
2022-12-08T11:36:48
2019-07-26T15:34:56
Jupyter Notebook
UTF-8
Python
false
false
4,028
py
import cv2 import numpy as np import os class Compressor: __image__ = None def __init__(self, image): self.__image__ = image self._src_path = None @classmethod def from_image_path(cls, image_path: str): """ Initializes the Compressor class. :param image_path:...
[ "nkenok@outlook.com" ]
nkenok@outlook.com
3aee2304f6ce6905b17a4929c76426d41f7fb975
873a93d9082d5a8679a23bd0fdd32a6b48722ba5
/error.py
707eefa0ebbabae4db40136b075a223d53014852
[]
no_license
AdedejiAdewole/SoilFertility-predictive-model-
35dba309559264bef8458f2d63cf7ddc559a2585
a2ee67dbf1d7820cbfd7df53dd8fbb381866d879
refs/heads/master
2023-01-30T10:08:37.569809
2020-12-07T13:24:52
2020-12-07T13:24:52
null
0
0
null
null
null
null
UTF-8
Python
false
false
7,814
py
import pickle import threading import time import numpy as np import pandas as pd from kivy.app import App from kivy.clock import Clock, mainthread from kivy.lang import Builder from kivy.uix.label import Label from kivy.uix.popup import Popup from kivy.uix.screenmanager import ScreenManager, Screen from k...
[ "noreply@github.com" ]
AdedejiAdewole.noreply@github.com
b59ab8b44b9932748a04872ae0b78b7ccf42e11d
7a75cb7621a198e9609c1922f51b701a709bd94b
/flickrapi-1.4.2/flickrapi/multipart.py
69e6f14f47bcc37cd2f1530d125a8e08509658f4
[ "BSD-3-Clause", "MIT" ]
permissive
cycomachead/FlickrTools
eee9ee0a89a384da01a932ee8f0c535f27344b7b
1610dcb4ad253ffab7a1bb9a5e79270569376566
refs/heads/master
2021-01-23T12:45:50.579816
2013-10-06T10:09:14
2013-10-06T10:09:14
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,885
py
# -*- encoding: utf-8 -*- '''Module for encoding data as form-data/multipart''' import os import base64 class Part(object): '''A single part of the multipart data. >>> Part({'name': 'headline'}, 'Nice Photo') ... # doctest: +ELLIPSIS <flickrapi.multipart.Part object at 0x...> >>> image = op...
[ "cycomachead@gmail.com" ]
cycomachead@gmail.com
d764099b2b06d795e622a7d7bca8d90fd827e50f
c3cce2f010504298da154d3a9f7efa094e1d006d
/programs/count_string_without_space.py
d6062eaa79f21d69cc5f7b0e834e0c52d2d67475
[]
no_license
MVasanthiM/guvi
8bbaa06960830d487e16d58066e0871d987667c5
db2eebb55edac19387e8f218a3af9e6de87980de
refs/heads/master
2020-06-03T00:07:51.431371
2019-08-13T12:52:51
2019-08-13T12:52:51
191,355,065
0
0
null
null
null
null
UTF-8
Python
false
false
70
py
a=input() c=0 for i in a: if i.isspace!=True: c+=1 print(c)
[ "noreply@github.com" ]
MVasanthiM.noreply@github.com
2f9ff8e134eaa96dab94a8adf57b27fb8a23be23
d6cf604d393a22fc5e071a0d045a4fadcaf128a6
/Challenge Book/JOI_2007_C.py
7e53612c30d66f59e862f33ab20efe583c393bc7
[]
no_license
shikixyx/AtCoder
bb400dfafd3745c95720b9009881e07bf6b3c2b6
7e402fa82a96bc69ce04b9b7884cb9a9069568c7
refs/heads/master
2021-08-03T21:06:45.224547
2021-07-24T11:58:02
2021-07-24T11:58:02
229,020,968
0
0
null
null
null
null
UTF-8
Python
false
false
444
py
import numpy as np import sys sys.setrecursionlimit(10 ** 7) read = sys.stdin.buffer.read readline = sys.stdin.buffer.readline # 半分全列挙 N, M = map(int, readline().split()) P = np.array([0] + read().split(), np.int64) P = P[P <= M] P2 = (P[:, None] + P[None, :]).ravel() P2 = P2[P2 <= M] P2.sort() # numpyで並列にやらないと間に合...
[ "shiki.49.313@gmail.com" ]
shiki.49.313@gmail.com
55cef7ba6f4bab4b32350b0bcbab3ce2d4c00d12
8f8ac99fd3ed9ceb36778b404f6fdd0b6899d3f4
/development-support/wheel-smoke-test.py
fc47c188998f8298c69edac63841101e78c93158
[]
no_license
strogo/pyobjc
ac4201c7742eb75348328eeecb7eedf4e3458de3
2579c5eaf44b0c5af77ee195c417d2c65e72dfda
refs/heads/master
2023-07-13T00:41:56.448005
2021-08-24T06:42:53
2021-08-24T06:42:53
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,668
py
""" Helper script for performing smoke tests on an installed copy of PyObjC # NOTE: This file is not yet complete """ import platform from distutils.version import LooseVersion import objc # noqa: F401 from AddressBook import * # noqa: F401, F403 from AppleScriptKit import * # noqa: F401, F403 from AppleScriptObj...
[ "ronaldoussoren@mac.com" ]
ronaldoussoren@mac.com
49e1044a4d5765da4d4a8804e49e49c69cc6eaae
985d7454f6684d3b7fdb1311596eda6364c84a5f
/Backend Projects/education-platform-for-pythoneers/task_statistics_app/tests/test_models.py
62162c023f7a503f0b9fc2af38fc2e482ce5f252
[]
no_license
kgarbacinski/Devs-Mentoring-Students-Projects
3c152b3ae548c4cc941774c1a9102586d3d281e0
05114fbad76ddb62aaf3adfc4007494ec6fb0e06
refs/heads/master
2023-08-13T16:26:35.833156
2021-10-16T08:54:35
2021-10-16T08:54:35
406,718,325
0
0
null
null
null
null
UTF-8
Python
false
false
1,607
py
from django.test import TestCase # Own from task_statistics_app.models import TasksStatistics class TestTasksStatistics(TestCase): @classmethod def setUpTestData(cls) -> None: TasksStatistics.objects.create( task_title="Test Task", sum_of_all_tries_per_task=0, sum_...
[ "kgarbacinski@gmail.com" ]
kgarbacinski@gmail.com
200a73a7cdedd2e3dde32dd56a9c23425875847d
ccabbdb36a21c2e248821ceba9cd9d147de1f96c
/0x02-python-import_modules/add_0.py
5f01a53b5c52abc310801def9469ef3c96bd682d
[]
no_license
adri-er/holbertonschool-higher_level_programming
eb08dc8a8c3338a37d3d3e005520a0f2338c0af1
305db8d8834eac0283b1514d3c11940c9c1c12e3
refs/heads/main
2023-08-13T10:02:21.501247
2021-09-23T02:57:35
2021-09-23T02:57:35
361,915,377
1
1
null
null
null
null
UTF-8
Python
false
false
205
py
#!/usr/bin/python3 def add(a, b): """My addition function Args: a: first integer b: second integer Returns: The return value. a + b """ return (a + b)
[ "adriana.er98@hotmail.com" ]
adriana.er98@hotmail.com
5146a405a7caef3f85bb856a7847056768592a77
f090c3e0faa70cf0ef7c4be99cb894630bce2842
/clients/4wire_measurement_keithley_VoltageOnly.py
1b1099070a75253fc9935b89243ab044f299db36
[]
no_license
HaeffnerLab/resonator
157d1dc455209da9b7de077157bda53b4883c8b7
7c2e377fdc45f6c1ad205f8bbc2e6607eb3fdc71
refs/heads/master
2021-01-09T20:48:03.587634
2016-09-22T18:40:17
2016-09-22T18:40:17
6,715,345
2
1
null
null
null
null
UTF-8
Python
false
false
1,605
py
import labrad from time import * from csv import * import numpy as np from keithley_helper import voltage_conversion as VC from keithley_helper import resistance_conversion as RC #Run on the Windows cxn = labrad.connect() #Connect to Windows Computer to use Keithley DMM keithley2 = cxn.keithley_2100_dmm() keithley =...
[ "ryanblais11@berkeley.edu" ]
ryanblais11@berkeley.edu
30e1bb070924905323da2b3adf333239477b7c6d
8bac6c63a7b826bfd6b415e6faa51ff22505d112
/openNFR-skin-2018/usr/lib/enigma2/python/Components/Renderer/NFRSambaVpnIp_renderer.py
fabdc9a68e371461e2f463086cbfa48cd40c720c
[]
no_license
stein17/Skins-for-openNFR
03330102b7d883f8485297cea0468143d9116b6f
ca6c5d02035e4bacdad6efc45995249a317b7fb6
refs/heads/master
2023-03-12T19:58:50.112456
2022-03-21T07:02:03
2022-03-21T07:02:03
94,653,786
0
15
null
2023-03-02T17:52:37
2017-06-17T23:05:42
Python
UTF-8
Python
false
false
467
py
from Renderer import Renderer from enigma import ePixmap class NFRSambaVpnIp_renderer(Renderer): def __init__(self): Renderer.__init__(self) GUI_WIDGET = ePixmap def postWidgetCreate(self, instance): self.changed((self.CHANGED_DEFAULT,)) def changed(self, what): if what[0] != self.CHANGED_CLEAR: if sel...
[ "lutz.f.kroll@gmail.com" ]
lutz.f.kroll@gmail.com
43b57a33e9da0cb5bf97b804bf1344c69e0fe7a8
84028feac9a808d64e7b45afde597bc3f2eef6c9
/movie_program/apps.py
79d39a36d0f0ba4e4c58900703821d884f86317f
[]
no_license
kaleykong/copy_netflix
df4bb537f8b55668d814f3d36cd82913e54dd73d
d39a5c52e3b31771ee54531a93f208edffb280a0
refs/heads/master
2022-12-06T08:35:32.517541
2020-08-24T09:46:53
2020-08-24T09:46:53
289,798,844
0
0
null
null
null
null
UTF-8
Python
false
false
100
py
from django.apps import AppConfig class MovieProgramConfig(AppConfig): name = 'movie_program'
[ "kaleykong@lever-t.com" ]
kaleykong@lever-t.com
b9f094638372cc8dd62303be40a4c5728ec5ed7a
491d89ae62905494318fe89183c0c8ecfd981240
/python基础/数据类型和变量.py
ec3b4ac87f4fd72f444dae4c06ac0c73da49c2e9
[]
no_license
jiangfeng-Myself/my-test
44e75219a541decf5cc277ee58e28736a3ca277e
8a26cdb8e6d705c4968a87f96a210ac57ada1a40
refs/heads/main
2023-05-11T09:06:46.990230
2021-05-13T15:31:08
2021-05-13T15:31:08
361,392,735
0
0
null
null
null
null
UTF-8
Python
false
false
524
py
# 数据类型: # int # float # string # 转义字符: # \n :换行 # \t : 制表符 # 用''' '''展示多行信息 print('''line1 line2 line3''') # 布尔值: 布尔值的运算(and 和 or 和 not) print(True and False) print(True or False) print(not True) # 空值: # 变量:同一变量可以被重复赋值 a = 'abc' print(a) a = 234 print(a) # 除法: # 单纯的除法:10/3 ...
[ "noreply@github.com" ]
jiangfeng-Myself.noreply@github.com
a6c9e2f8afdfa6e3ecfc304bd5ba029828ddd079
05fe579c12f0013ce83a106083ddb66ace5e8f47
/tests/ut/profiler/analyser/test_minddata_analyse.py
8d05ddc449bd9c051e0779ee0ddd08c06f4c94c7
[ "Apache-2.0", "LicenseRef-scancode-unknown-license-reference", "MIT", "BSD-3-Clause" ]
permissive
mindspore-ai/mindinsight
59d3f47144ada9a12d2c82d9826ad5f5288aed78
a774d893fb2f21dbc3edb5cd89f9e6eec274ebf1
refs/heads/master
2023-07-22T22:46:43.075617
2023-07-17T11:26:58
2023-07-17T11:26:58
250,692,948
224
24
Apache-2.0
2020-12-29T12:22:51
2020-03-28T01:58:56
Python
UTF-8
Python
false
false
2,818
py
# Copyright 2020 Huawei Technologies Co., Ltd # # 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...
[ "zhangyihui7@huawei.com" ]
zhangyihui7@huawei.com
33ec7b25f70d0994dc1a5448e31e5b47d09d0dcb
34f756b62911e36c3aa16af59630b80799e22b8d
/server/main.py
30f1de5cb4e6bf980e945260b7ee1a85adc72101
[ "MIT" ]
permissive
vadym-khodak/play-with-k8s
4b227bc9d4d814f3f266e6fa90daa25d68969e0a
b81090ea800c3da7f7007f9f332c723da29776fc
refs/heads/main
2023-06-22T00:40:31.375168
2021-07-16T19:20:34
2021-07-16T19:20:34
381,859,086
1
0
MIT
2021-07-12T09:59:02
2021-06-30T23:42:05
Python
UTF-8
Python
false
false
1,273
py
import platform import time from typing import Optional import redis from fastapi import FastAPI, Header from fastapi.middleware.cors import CORSMiddleware import config def create_app(): app = FastAPI() app.add_middleware( CORSMiddleware, allow_origins=config.ORIGINS, allow_credenti...
[ "vaddimart@gmail.com" ]
vaddimart@gmail.com
df34fa64996088ed055a205098db599c6b6c7e9c
19f9ac0c772c3d1be4d7e94bc5599a84ec1dd837
/Site_management/asgi.py
fbb5c953f0eeb46453b2428d96e224e22b37eb67
[]
no_license
NyashaGodobi/Assignment-4
572b4a6c81daa532441995b6d873a351c22adaa3
04648f496fc0ab6a81a9cdaef4d60373c05b001a
refs/heads/master
2022-11-22T09:03:05.674651
2020-07-24T12:17:05
2020-07-24T12:17:05
282,211,736
0
0
null
null
null
null
UTF-8
Python
false
false
407
py
""" ASGI config for Site_management project. It exposes the ASGI callable as a module-level variable named ``application``. For more information on this file, see https://docs.djangoproject.com/en/3.0/howto/deployment/asgi/ """ import os from django.core.asgi import get_asgi_application os.environ.setdefault('DJAN...
[ "marlvinchihota@gmail.com" ]
marlvinchihota@gmail.com
ec76951464f19ee4aa67d70eb7a04c24ce9a6d22
5b08637874bc959bfffe9a076313fd38712ff522
/main.py
8c1995bd9e0f646e93cde8e87871299a1feba7be
[]
no_license
OULibDavis/scrape_ou_sso
8625e25fbe9e31396969d31dcfb2ac801fd9e17d
0ec8de78f45960ffc33709fec54a4bded87e9276
refs/heads/master
2022-11-30T22:43:18.507380
2020-08-14T15:52:13
2020-08-14T15:52:13
287,369,580
0
0
null
null
null
null
UTF-8
Python
false
false
1,608
py
import requests from lxml import etree from urllib.parse import urlparse from secrets import username, password s = requests.Session() resp = s.get("https://accounts.ou.edu/") if "sso.ou.edu" in resp.url: print("Redirected to SSO sign-in") # Make sure we have the valid login url to send authentication t...
[ "tdpearson@ou.edu" ]
tdpearson@ou.edu
5171d6acac1e78b70a50a813ff700ead3317d7d9
7b7c570b30d6d7a0e9b904c7cb378cfb0d0f0e07
/mlflow/models/flavor_backend.py
894829a8cfcb69840c6c12785cdff07fc6a9cbb5
[ "Apache-2.0" ]
permissive
mlflow/mlflow
ca97bfbbf32f8e59f454e428f5e46eb3d34d062f
37298ffafcd34002352d01d579d4524790544267
refs/heads/master
2023-09-01T13:15:53.902815
2023-09-01T09:00:42
2023-09-01T09:00:42
136,202,695
14,102
3,748
Apache-2.0
2023-09-14T21:52:42
2018-06-05T16:05:58
Python
UTF-8
Python
false
false
3,421
py
from abc import ABCMeta, abstractmethod from mlflow.utils.annotations import developer_stable @developer_stable class FlavorBackend: """ Abstract class for Flavor Backend. This class defines the API interface for local model deployment of MLflow model flavors. """ __metaclass__ = ABCMeta de...
[ "noreply@github.com" ]
mlflow.noreply@github.com
bf7fcf88de1f76cb2ade9e1d5ad78bb6c9d5350f
8ae0bf166da68488efec84fe79063f874687b332
/tests/ext/django/settings.py
47565381bb011dbafa23c965dd6905ecef88234f
[ "BSD-3-Clause" ]
permissive
snopoke/slycache
75aafcd0fb9c9289a292c907f48159652e275f93
412e9e81a8c53f684f3fd7c5dafb6b06ecfbd0c0
refs/heads/main
2023-06-01T19:20:12.847651
2021-03-16T20:30:28
2021-03-16T20:30:28
340,279,785
0
0
NOASSERTION
2021-06-14T07:26:50
2021-02-19T06:34:25
Python
UTF-8
Python
false
false
494
py
DATABASES = { 'default': { 'ENGINE': 'django.db.backends.sqlite3', 'NAME': ':memory:', }, } INSTALLED_APPS = ['slycache.ext.django'] CACHES = { 'default': { 'BACKEND': 'django.core.cache.backends.locmem.LocMemCache', 'TIMEOUT': 60, 'LOCATION': 'location-1', }, ...
[ "skelly@dimagi.com" ]
skelly@dimagi.com
a59b69de96b87c4963e2a5082a415c273af284f3
2da8bcfb9a72e507812a8723e38ad6d030c300f1
/two_sum_1.py
57a56e2fc2bce51207bff8c27039bcaa0809aea2
[]
no_license
aditya-doshatti/Leetcode
1a4e0f391a7d6ca2d7f8fdc35e535f4ec10fb634
eed20da07896db471ea6582785335e52d4f04f85
refs/heads/master
2023-04-06T02:18:57.287263
2023-03-17T03:08:42
2023-03-17T03:08:42
218,408,346
0
0
null
null
null
null
UTF-8
Python
false
false
995
py
''' 1. Two Sum Easy Given an array of integers, return indices of the two numbers such that they add up to a specific target. You may assume that each input would have exactly one solution, and you may not use the same element twice. Example: Given nums = [2, 7, 11, 15], target = 9, Because nums[0] + nums[1] = 2 +...
[ "aditya.doshatti@sjsu.edu" ]
aditya.doshatti@sjsu.edu
391255ad2f1eb691e84f5d00bbc3fd938027e7ef
23403df53224ca581b9ace9114d424bcaa6506a0
/mnist/model_experiment.py
cac54f7d95fd379b7f4255cebd57f5f0d044ce25
[]
no_license
jimthompson5802/ludwig_examples
7ee06e62ebc202e48e7cd90693e32b4a7ef0140f
926f37e6bf4cc0c92817828b45ddcd06277e64e6
refs/heads/master
2022-05-02T11:48:12.314495
2022-04-20T00:12:12
2022-04-20T00:12:12
216,285,701
14
1
null
null
null
null
UTF-8
Python
false
false
667
py
from ludwig.api import LudwigModel import logging import glob import os # reset data preprocessing files = glob.glob('./data/*.hdf5') for f in files: try: os.remove(f) except: pass files = glob.glob('./data/*.json') for f in files: try: os.remove(f) except: pass # tra...
[ "jimthompson5802@aol.com" ]
jimthompson5802@aol.com
6149c261c026056311ebdf78fa584f97cdb749a1
bdd0135efeaee109a9aba65199be90b00518489c
/src/server.spec
bcd259210d21cce47310b62cff2faa962fa91285
[]
no_license
plundeen/remote-mgmt
a6d99046f225e2d8b999db3813286dbfefe78528
968cdadbd81fb3f3cf72ad03067464542562d0e5
refs/heads/master
2023-08-26T07:59:10.332494
2021-10-13T22:27:04
2021-10-13T22:27:04
410,017,612
0
0
null
2021-09-24T22:52:32
2021-09-24T15:40:17
Python
UTF-8
Python
false
false
1,088
spec
# -*- mode: python ; coding: utf-8 -*- block_cipher = None a = Analysis(['server.py'], pathex=['C:\\Users\\plundeen\\PyProxy\\src'], binaries=[], datas=[('templates', 'templates'), ('static', 'static')], hiddenimports=[], hookspath=['hooks'], ...
[ "plundeen@tae.com" ]
plundeen@tae.com
2822101bd3a1a94ad8f127b4a1edf24936e4c48e
a6007c4fdd47b81c332eecf5f2e5388a1d9eb269
/weshow.py
89c220412e68c5e8d6b2f0987f1d862a0fb60b97
[]
no_license
Thomechen/Movie_schedule
b914298e0614cde57bf10704c6ef3dab095261cd
74acf1f90b57ddda1f3ed0c4ec6819448a6e2f96
refs/heads/main
2023-01-23T20:27:36.069432
2020-12-07T17:19:30
2020-12-07T17:19:30
313,836,379
0
0
null
null
null
null
UTF-8
Python
false
false
2,213
py
import requests import urllib.request from selenium import webdriver from selenium.webdriver.common.keys import Keys from selenium.webdriver.support.ui import Select from selenium.webdriver.support.wait import WebDriverWait from selenium.webdriver.support import expected_conditions as EC from selenium.webdriver.common....
[ "island6614@gmail.com" ]
island6614@gmail.com
17e98671744e907b39b79ee00bceb8d098905ea7
c0792645c156cb9e20a1aa2b28c565150358bc6e
/apps/inmueble/migrations/0017_auto_20180526_0412.py
8ddac3048c867751bb7c7635c709ef1ddbd2cc4d
[]
no_license
clioo/Praver
b22fd92886e0399845adb4366663cae6a7d7853b
523f0d78e0a2039a5bae3e539c93e2c2415a0840
refs/heads/master
2020-03-11T12:38:54.272392
2018-06-28T18:24:21
2018-06-28T18:24:21
130,003,043
1
0
null
null
null
null
UTF-8
Python
false
false
411
py
# -*- coding: utf-8 -*- # Generated by Django 1.9.6 on 2018-05-26 10:12 from __future__ import unicode_literals from django.db import migrations class Migration(migrations.Migration): dependencies = [ ('inmueble', '0016_auto_20180526_0410'), ] operations = [ migrations.AlterModelOptions...
[ "jesus_acosta1996@hotmail.com" ]
jesus_acosta1996@hotmail.com
37718b8153ac580be6d880230e37603860b6b3ae
5c212a4da89d89d40f9a795d28a1b39e626b44d3
/ini/case.py
8bf1b929a3e879a54e311820355fc10faf2ef300
[]
no_license
AnSwErYWJ/Python
0e07166196440d29bfd864653cbb38c75e4c511b
b411a852e7dba471336c080933d3fae4f82360d1
refs/heads/master
2016-09-05T23:50:26.388458
2015-10-28T03:54:25
2015-10-28T03:54:25
35,715,220
1
0
null
null
null
null
UTF-8
Python
false
false
1,377
py
#!/usr/bin/env python # coding=utf-8 import os import os.path import ConfigParser class student_info(object): #初始化 def __init__(self,recordfile): self.logfile = recordfile self.cfg = ConfigParser.ConfigParser() #读取文件 def cfg_load(self): self.cfg.read(self.logfile) ...
[ "ywj1993@yeah.net" ]
ywj1993@yeah.net
a7ef23256e595386a7431764d2bac9c29a0477b7
6e6a082325a9b38ce9b5258e6171a776636fdd68
/movie-project/main.py
75cc96e29ffaf20e7e91ae6e24ac8fe1f83b3555
[]
no_license
bunja/python-100days
5d8d0e7739e642ab16289c6a1b371776a761370a
494e945a9e5d4cecff6583f5851ee18564a1f2e9
refs/heads/main
2023-08-30T17:12:41.244183
2021-11-04T13:45:28
2021-11-04T13:45:28
369,013,652
0
0
null
null
null
null
UTF-8
Python
false
false
4,405
py
from flask import Flask, render_template, redirect, url_for, request from flask_bootstrap import Bootstrap from flask_sqlalchemy import SQLAlchemy from flask_wtf import FlaskForm from wtforms import StringField, SubmitField from wtforms.fields.simple import HiddenField from wtforms.validators import DataRequired import...
[ "kos.lv@yandex.com" ]
kos.lv@yandex.com
a7b1fbcdbf63db82f5b5e4d4447927af0cdd1ab4
9fbb38727732e234b78c06f9bd3f443b524364df
/partners/migrations/0013_migrate_clubcard_to_m2m.py
6e7a22f65ae93531e99b30ccbb6a00f6b2f9427d
[]
no_license
stden/bonushouse
0f6e42b22b809ad8cf26b16345a2e611ebb4008b
e6a47105026021c6b5ee9882de9181eb9ee6c668
refs/heads/master
2016-09-09T19:58:58.508714
2013-07-09T14:55:24
2013-07-09T14:55:24
null
0
0
null
null
null
null
UTF-8
Python
false
false
10,716
py
# -*- coding: utf-8 -*- import datetime from south.db import db from south.v2 import DataMigration from django.db import models class Migration(DataMigration): def forwards(self, orm): "Write your forwards methods here." # Note: Remember to use orm['appname.ModelName'] rather than "from ...
[ "root@free.ds" ]
root@free.ds
7008601e3bf3445d42e9710cf5c83b8b76fad6b2
efe7ac5034698b95c7bf86b2800182b6c042310c
/script.service.hue/resources/lib/kodiHue.py
74eb113100ab1a32223b74f4a4515b8f301fab9d
[ "MIT" ]
permissive
Paynemaster/script.service.hue
3b8320659c28569b75548160fe13214f39458398
1a7c8e9ca732d27a4838f20f6a20c861694d8763
refs/heads/master
2023-03-02T09:03:36.365045
2020-12-30T18:06:28
2020-12-30T18:06:28
null
0
0
null
null
null
null
UTF-8
Python
false
false
18,191
py
import json from datetime import timedelta from socket import getfqdn, socket import requests import xbmc import xbmcgui from resources.lib.qhue.qhue import QhueException from . import ADDON, QHUE_TIMEOUT, SETTINGS_CHANGED from .kodisettings import settings_storage from . import qhue, ADDONID, logger, ca...
[ "krisyoung@gmail.com" ]
krisyoung@gmail.com
4a6527f8ab80096d974ecbc2592c03ee486098cf
6632896b4e320c932bdaa98b2caa16e057905333
/utils/io/labels/character.py
42500f3bb08e1952e8f60fcd45e82f1d64eb7841
[ "MIT" ]
permissive
sky1170447398/tensorflow_end2end_speech_recognition
56229b5de62c8a4580a9d349afe6ccdf20d478fb
7ef52ae702db3852a7339136852bb14585e55b3b
refs/heads/master
2021-07-13T14:26:22.117311
2017-10-12T00:51:12
2017-10-12T00:51:12
null
0
0
null
null
null
null
UTF-8
Python
false
false
4,507
py
#! /usr/bin/env python # -*- coding: utf-8 -*- from __future__ import absolute_import from __future__ import division from __future__ import print_function import numpy as np class Char2idx(object): """Convert from character to index. Args: map_file_path (string): path to the mapping file """ ...
[ "hiro.mhbc@gmail.com" ]
hiro.mhbc@gmail.com
9ba285150af283cf9d35c2c7919feedb6398d693
33f351a8444ad0f63b7efd5014957d58175681a8
/mosaic.py
3b52f1f9dde233cf6907ce5c3a9eca462b5657ae
[]
no_license
rjonnal/FEM_raster_model
21bb070c397d73733e366893a8d11314430d8b0f
7568aec5aeff93146c7481c216f2360e03a36f2c
refs/heads/master
2021-01-11T21:23:09.319209
2017-03-15T22:05:31
2017-03-15T22:05:31
78,775,079
0
0
null
null
null
null
UTF-8
Python
false
false
17,047
py
import numpy as np from scipy import interpolate from scipy.signal import convolve2d from matplotlib import pyplot as plt import os,sys from time import time,sleep from fig2gif import GIF from cone_density import ConeDensityInterpolator from random import shuffle from data_store import H5 import datetime class Mosaic:...
[ "rjonnal@gmail.com" ]
rjonnal@gmail.com
f33b381516ae361987247b7d5ecf3162ea2b1413
2ecbfa15c50088090d60283b5dbbf0e6f2481c43
/python/classes/Json.py
a52dd3b0bc7e8d1435d6eb9ab4314f94d14ed8c0
[]
no_license
petrfaltus/mortgage-calculation-rest-client-source-codes
cff88a705c0017ecc605d0db037f08c47c6c89d1
60577daa8bba32900e585c1451cc02c390cbed41
refs/heads/main
2023-08-28T21:00:19.458340
2021-10-27T18:35:40
2021-10-27T18:35:40
334,079,942
0
0
null
2021-04-03T13:34:26
2021-01-29T08:17:16
Java
UTF-8
Python
false
false
1,655
py
import json class Json: METHOD_NUMBER = "method_number" LOAN_AMOUNT = "loan_amount" LOAN_TERM_MONTHS = "loan_term_months" INTEREST_RATE_PERCENT_PA = "interest_rate_percent_pa" ERROR_CODE = "error_code" ERROR_STRING = "error_string" DATA = "data" INTEREST_RATE_PERCENT_PM = "interest_ra...
[ "petrfaltus@petrfaltus.net" ]
petrfaltus@petrfaltus.net
4d600fd63c0aeed5bf18477543b5bc0ec2ebc2dc
c4c92ecdec0d6f767af0f7a2f222be8b9a172896
/migrations/versions/ad463e3591c5_.py
b20f101422b8902b6fc8b12699780f6b45108d9d
[]
no_license
BBiscov1/WurkBootstrap
aa22737643d0577b2c58ad273821cc6f18654d91
c9cf461069fb5b248dc663d488568d476c80932f
refs/heads/master
2022-12-27T00:27:44.265575
2020-09-29T20:02:01
2020-09-29T20:02:01
300,112,915
0
0
null
2020-10-01T02:07:55
2020-10-01T02:07:54
null
UTF-8
Python
false
false
1,181
py
"""empty message Revision ID: ad463e3591c5 Revises: 2c06ec7f8cbe Create Date: 2020-05-12 18:57:15.884186 """ from alembic import op import sqlalchemy as sa # revision identifiers, used by Alembic. revision = 'ad463e3591c5' down_revision = '2c06ec7f8cbe' branch_labels = None depends_on = None def upgrade(): # ...
[ "angelonelson@outlook.com" ]
angelonelson@outlook.com
d6080c0d06a462d633df72f5b365878e71594a2c
a175af1ab20cfa010ff6da0b9c56df9101cca73d
/Module1/Chapter5/chapter5.py
82d0c346c9e5cf7360454eed85000dd476492e5c
[]
no_license
1170300830/Machine-Learning
17cd07e9629a909ca78f6d827c801c7d84d63e41
b3862df67cb420a4b3f9e053227d89b06551612a
refs/heads/master
2020-03-28T17:17:02.627550
2019-02-27T06:27:31
2019-02-27T06:27:31
148,774,481
0
0
null
null
null
null
UTF-8
Python
false
false
385
py
#week 7 ''' 第五章 为数据过程建造功能组合 建造机器学习流水线 发现最近邻域 建造一个 k-nearest 领域分类器 建造一个 k-nearest 领域回归器 计算欧几里得距离分数 计算皮尔逊相关分数 在数据集中发现相似用户 生成影片推荐 ''' ''' 协作筛选从当前用户过去的行为建立模型 推荐给其他的用户 '''
[ "43235704+wongyu1999@users.noreply.github.com" ]
43235704+wongyu1999@users.noreply.github.com
482bf4048abae7d06883ea17e77e348d28c91223
368d7fcea081c803cdab44ad74f308e6710fbf5c
/for_loop/for-loop-ex2.py
a784e58e297a70c7f2751d34a4362b4d7330efe2
[]
no_license
kronkanok/workshop_2
153d4da87e77989cec7abde7e6c6e9dcc1e513b5
b326fe31e1f53a5a9f0b6b9129c18607bce605c1
refs/heads/main
2023-03-18T11:27:25.873578
2021-03-13T14:14:30
2021-03-13T14:14:30
330,190,305
0
0
null
null
null
null
UTF-8
Python
false
false
55
py
string = "banana" for char in string: print(char)
[ "noreply@github.com" ]
kronkanok.noreply@github.com
32db8ce55c4cbea9aca382b29446bdc0d34fdd5f
a7aa5492b574c0d15b43a6ec6f3c8425a860147b
/onto_cleaner.py
e3fcfa193abea9b55b7ce88baaa2de89b4c72e29
[]
no_license
mikjkd/json_owl_converter
d001e5a74bf1e50d24ed2a605bc350422e877a54
d1c29224299f9078733994185fc474f61762ec71
refs/heads/master
2023-03-08T19:53:26.698557
2021-02-24T10:19:38
2021-02-24T10:19:38
334,791,565
0
0
null
null
null
null
UTF-8
Python
false
false
1,966
py
import re import sys import getopt def formatString(s): upChar = 0 pos = [] inChar = False l = 0 for p, i in enumerate(s): if i == '\'': if inChar: pos.append(p) else: pos.append(p + 1) inChar = not inChar elif inC...
[ "michele.digiovanni@studenti.unicampania.it" ]
michele.digiovanni@studenti.unicampania.it
c7615ae87c204635c837d040527aafb5352163e4
574d0f165a96fadf8a76e92d60dc4dddbbd3c0ed
/common/performance_analysis/performance_plots.py
41d765eff0172793c8c5197b8de8ceb972fc3d02
[ "Apache-2.0" ]
permissive
wso2/performance-is
8bd4d9ce8ca67ac4ef52eb8be6f7f81f45b8590c
d90eeeafe39f6a77382219f81afce1c47f9759ac
refs/heads/master
2023-08-28T08:06:24.825505
2023-07-19T06:32:21
2023-07-19T06:32:21
93,613,034
47
66
Apache-2.0
2023-07-20T12:10:14
2017-06-07T08:45:50
Shell
UTF-8
Python
false
false
6,646
py
#!/usr/bin/env python # -*- coding: utf-8 -*- # Copyright 2023 WSO2, LLC. http://www.wso2.org # # 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/LICEN...
[ "sachinm@wso2.com" ]
sachinm@wso2.com
de2a34e609fc4ee854d4f0dea3df532f693580c9
4973afd9699d27c05072c1580eb28c4905122a92
/statistics_functions/statistics_api.py
53ae7238607a05aa809305d4a0260d80ac142d6e
[]
no_license
SGjorge/TFG_MODELADO-DE-DATOS-Y-APLICACION-WEB-PARA-EL-ESTUDIO-DE-LA-ENFERMEDAD-ARTERIAL-PERIFERICA
d4443f3ad487244f285ee54293b238c7b19403d2
08e3338848947b93c288b23b7eab770f7e5331c1
refs/heads/master
2021-05-15T05:50:12.485358
2017-12-29T11:34:31
2017-12-29T11:34:31
115,715,342
0
0
null
null
null
null
UTF-8
Python
false
false
421
py
import numpy as np import pandas as pd #import sklearn as sk def mean(array): return np.mean(array) def median(array): return np.median(array) def lowerQuartile(array): dataframe = pd.DataFrame(array) description = dataframe.describe() #print (description.25) print (description) def topQuartile(array): dataf...
[ "dtjorge_2@hotmail.com" ]
dtjorge_2@hotmail.com
823e85e0dfe556e154f26652a500ed91838d9a13
8fa8ded3772dd7a124c1bbb91fc109ed2b63574b
/mycelium/apps/volunteers/tests/selenium_abstractions.py
5cda3d87e310f4732fb2b14444382ce6e7a8d3c9
[]
no_license
skoczen/mycelium
3642b0f5e5ea03d609a3e499c7ad68092101dce0
da0f169163f4dc93e2dc2b0d934abf4f18c18af0
refs/heads/master
2020-04-10T09:21:46.893254
2014-05-20T02:27:06
2014-05-20T02:27:06
2,114,887
0
0
null
null
null
null
UTF-8
Python
false
false
2,479
py
import time from test_factory import Factory class VolunteerTestAbstractions(object): def create_new_volunteer(self): sel = self.selenium self.create_john_smith_and_verify() sel.click("css=.detail_tab[href=#volunteer]") time.sleep(1) assert sel.is_text_present("No volunteer...
[ "steven@quantumimagery.com" ]
steven@quantumimagery.com
426754a25a41c7f3a465cbbe669c2600c93eb885
a9f7ecbb56fcb6b18fd6620af2861530eadb2fb1
/MyBlog/views.py
d8488d4fb2cebca0b564e1c700db93db772fca65
[]
no_license
bhagyashree3s/MyBlog
ecc4db5f552f56b7c0ef5dc561f6b960325ea5c7
21d5d93aab4780890a5739950948542ab29c8c5d
refs/heads/master
2022-11-17T11:09:37.426674
2020-07-14T14:38:52
2020-07-14T14:38:52
279,607,524
0
0
null
null
null
null
UTF-8
Python
false
false
307
py
from django.http import HttpResponse from django.shortcuts import render def about(request): return render(request,'about.html') #return HttpResponse('you will make it bhagyashree') def homepage(request): return render(request,'homepage.html') #return HttpResponse('hi bhagyashree!! XOXO')
[ "bhagyashree3surve@gmail.com" ]
bhagyashree3surve@gmail.com
07bcadddefd59904943642eeef05cf637f5af081
1b2714c2b103a9a7cd0babe1a84ec24669e3dfeb
/python_study_2/page9/script.py
a4f472c417ca6da7e1e487d2a172f3653b3c22c6
[]
no_license
ianlombu-09/Python-Course
bd885e50cdd9fcd636c1d92ee673e4775ac945bb
a26a8c7d881f6d1d4203e5280325f26c271df8d0
refs/heads/master
2023-03-22T02:47:05.853108
2020-08-19T03:02:53
2020-08-19T03:02:53
null
0
0
null
null
null
null
UTF-8
Python
false
false
242
py
numbers = [765, 921, 777, 256] for number in numbers: print(number) # When the number variable is 777, print '777 found, stopping loop' and exit the loop if number == 777: print('777 found, stopping loop') break
[ "ianlombu@protonmail.com" ]
ianlombu@protonmail.com
63a622bc5dc7d75afba5823fe08a819f1f40dabe
6911e809262655fe9e61b64f448cd2619264e532
/Graph/graphutils.py
2da9a843575a62a96666f97d59bfb21fa718446c
[]
no_license
bougui505/pymol_isosurface
34e31198e5185f72aa916a592125874325f0e154
8196e4ff5b58433ee3609a6841f365644fa77a77
refs/heads/master
2023-03-29T18:12:36.619106
2023-03-27T08:33:45
2023-03-27T08:33:45
240,028,457
0
0
null
null
null
null
UTF-8
Python
false
false
1,940
py
#!/usr/bin/env python # -*- coding: UTF8 -*- # Author: Guillaume Bouvier -- guillaume.bouvier@pasteur.fr # https://research.pasteur.fr/en/member/guillaume-bouvier/ # 2020-03-12 17:28:01 (UTC+0100) import numpy import scipy.sparse.csgraph from collections import defaultdict def sparse_to_dict(adjmat, symmetrize=Fals...
[ "bougui@mantrisse.bis.pasteur.fr" ]
bougui@mantrisse.bis.pasteur.fr
ed1efc723a92cb5f2e7d59cf64eacf8afa578873
986fa7a2fb79d2450926db8e20e555e08bfd515f
/cross3d/softimage/_PySoftimage_setup/PySoftimage/__init__.py
c20db828e71d803b104a48e51e07377652dfc485
[ "MIT" ]
permissive
josephkirk/cross3d
3547ed384e7419574df31f9931b762f6dba2217b
8cf02f9325177c46f52ea757861ca2c9015cb0d8
refs/heads/master
2021-01-11T23:09:35.658549
2018-08-18T09:48:18
2018-08-18T09:48:18
78,552,364
1
0
null
2017-01-10T16:33:53
2017-01-10T16:33:53
null
UTF-8
Python
false
false
1,564
py
## # \namespace PySoftimage # # \remarks Defines the PySoftimage interface for basic Qt interaction with softimage using the blurdev package # # \author beta@blur.com # \author Blur Studio # \date 12/03/08 # import os.path import win32com.client # Import Application Constants from win32com.client import constants...
[ "mikeh@blur.com" ]
mikeh@blur.com
148be6e4cab6c7167767f805db5fe00213f61fe3
afb951b29acd33952e979851a647a27ffac66e9a
/lib/ccs2sub.py
d71a0e12d2c3222b2cded2168366b9f66c28a045
[]
no_license
zxgsy520/sbarcode
08580aaba4cb167d33c97ba9a25cd0b6ea23d105
041bff936ae56394beaca30b660ddc0e7c2d748f
refs/heads/main
2023-04-22T08:31:07.089803
2021-05-13T14:03:51
2021-05-13T14:03:51
320,477,611
0
0
null
null
null
null
UTF-8
Python
false
false
4,807
py
#!/usr/bin/env python #coding:utf-8 import os import re import sys import gzip import pysam import logging import argparse import collections LOG = logging.getLogger(__name__) __version__ = "1.1.0" __author__ = ("Xingguo Zhang",) __email__ = "113178210@qq.com" __all__ = [] def get_sample(file): name = file.s...
[ "noreply@github.com" ]
zxgsy520.noreply@github.com
d9dcfe1635501330719684caf79db67c250583dc
477c2342a296ef4388da8347dc4f897bb3455906
/BaekJoon/10996.py
8a917175297132ad1d3aa98d8054197c1602778b
[]
no_license
llhbum/Problem-Solving_Python
eb56e7bac44c1fd15cbfc9766839a81d5743b797
97c03ffb4a2f6301c7f7443c11741ac94c9173c6
refs/heads/master
2023-02-11T08:03:02.831518
2021-01-07T11:47:04
2021-01-07T11:47:04
294,284,438
0
0
null
null
null
null
UTF-8
Python
false
false
442
py
N = int(input()) array_2 = [[' ' for _ in range(N)] for _ in range(2)] for i in range(N): if i % 2 == 0 : array_2[0][i] = "*" elif i % 2 == 1: array_2[1][i] = '*' for i in range(N): for i in range(2): for j in range(N): print(array_2[i][j] , end='') print() ...
[ "llhbum@gmail.com" ]
llhbum@gmail.com
f787d50b557f0d147fbe93df2775bd5530138d40
a55576f86a08b3c92a3a76ee814166671272be10
/Citral/CC_L1app.py
688e270f3f49fd7618e41ff4c3843c5573d4d3d5
[]
no_license
sharifrahman/CodechefV2
9f79373f833080f2eca077a3309dd88d6de4e96d
8b04517476b0d6921580cf9ddee6c13969e71516
refs/heads/master
2022-12-29T14:48:15.384718
2020-09-17T02:57:21
2020-09-17T02:57:21
289,880,301
0
0
null
null
null
null
UTF-8
Python
false
false
5,166
py
import os import flask import webbrowser import socket import dash import dash_html_components as html import dash_core_components as dcc import dash_bootstrap_components as dbc from dash.dependencies import Input import plotly.express as px import CC_AppModules as cca app = dash.Dash(__name__, external_stylesheets=[d...
[ "ahmadsharif90@gmail.com" ]
ahmadsharif90@gmail.com
098abcaa95c65e425c1c3af460a7ffab5fcf5073
64428d657723c40745616ec8880e4d5744b63b72
/tryproject/tryproject/urls.py
eee2b8c39f9c4c5bedb88bc77f6e79d4abbe1f6e
[]
no_license
anirudhmaheshwari/tryproject
b12f6f233d20510d71083c5667841f26d011aebd
8fcb87f36f25f987b7ce0df0b96a44dc283bae36
refs/heads/master
2020-05-30T19:27:03.440907
2019-06-03T03:09:11
2019-06-03T03:09:11
189,925,180
0
0
null
null
null
null
UTF-8
Python
false
false
818
py
"""tryproject 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') ...
[ "noreply@github.com" ]
anirudhmaheshwari.noreply@github.com
755cad6603b8c7456ae3bef3a56d255f70dd82a7
f137ccf8aad740938af1f45170c16794483e2f76
/Assignment-3/q15.py
db853cd4cebb6e857535771e49a79271ba623e60
[]
no_license
pranithsrujanroy/netpro
77d38ef508a2966aa7d0ab9f22228c1813be1e66
ed2a202743695032e4c9c83aed1ac9d79a9a4570
refs/heads/master
2020-04-16T22:34:55.844603
2019-03-27T05:21:57
2019-03-27T05:21:57
165,974,745
1
0
null
2019-01-16T04:45:18
2019-01-16T04:39:48
null
UTF-8
Python
false
false
1,088
py
import sys import socket import fcntl import struct import array SIOCGIFCONF = 0x8912 #from C library sockios.h STUCT_SIZE_32 = 32 STUCT_SIZE_64 = 40 PLATFORM_32_MAX_NUMBER = 2**32 DEFAULT_INTERFACES = 8 def list_interfaces(): interfaces = [] max_interfaces = DEFAULT_INTERFACES is_64bits = sys.maxsize > PLATFORM_3...
[ "noreply@github.com" ]
pranithsrujanroy.noreply@github.com
c97f4fa37276df399fb50aac2a55fad32d1694e4
22a0715a4b71deb014cfc333c496385553ed2261
/karger2.py
a71419022383adecdac48dad811fcf30b81904c3
[]
no_license
Kharya3/algo
044d8716e65e038f5b5d94f86970bfc886caba93
9df53fc2e8a57fe7cb0d0a4ba198c622953ec801
refs/heads/master
2022-12-22T02:52:40.616235
2020-09-16T08:56:12
2020-09-16T08:56:12
280,258,290
1
0
null
null
null
null
UTF-8
Python
false
false
1,088
py
import random, copy def choose_random_key(G): v1 = random.choice(list(G.keys())) v2 = random.choice(list(G[v1])) return v1, v2 def karger(G): length = [] while len(G) > 2: v1, v2 = choose_random_key(G) # print(v1, v2) G[v1].extend(G[v2]) # print(G[v1], G[v2]) ...
[ "noreply@github.com" ]
Kharya3.noreply@github.com
a17c8e10327fd1f3e4410e993fc2d0e913549aef
f601b3c96bf7c33f488789ca7c5dd61f3af0aa67
/Project/src/main.py
5bf15901c9b9b470324a81e1b5a3c848353f6a5b
[]
no_license
abdur75648/COL-780-Assignments
c7ad4557fa186f4604397c452f6da4a92ab66e7d
e21e8cd401e2781cadda1983fc88338b5aad4b4a
refs/heads/master
2021-09-01T14:35:01.710437
2017-12-27T13:48:03
2017-12-27T13:48:03
null
0
0
null
null
null
null
UTF-8
Python
false
false
14,410
py
import numpy as np, networkx as nx import scipy.ndimage from bundler import * from box import * from functions import * try: import mrf # mrf is a Cython module that depends on the gco graph cuts library except ImportError: print('mrf import failed! Cannot use the MRF-based models. Try compiling it with ...
[ "noreply@github.com" ]
abdur75648.noreply@github.com
09ea36cc2dab1ca85f45f1d7576b20a05a647c73
ef599d3a3d8134eb70b2d39c119bea99918b4aa1
/app/settings.py
1fd88de931729651c5e050abada592d9f61244df
[]
no_license
cecedille1/django-migrate-empty-columns-poc
867044eab948d83ebe56db158058c82b5383e39a
a9b7f652141604d33c87d78fca336315993d1c6c
refs/heads/master
2021-08-15T10:09:20.099751
2017-11-17T17:39:18
2017-11-17T17:39:18
111,132,251
0
0
null
null
null
null
UTF-8
Python
false
false
293
py
# -*- coding: utf-8 -*- import os.path BASE_DIR = os.path.dirname(os.path.dirname(__file__)) SECRET_KEY = '4' INSTALLED_APPS = [ 'app', ] DATABASES = { 'default': { 'ENGINE': 'django.db.backends.sqlite3', 'NAME': os.path.join(BASE_DIR, 'database.sqlite3'), } }
[ "gregoire@emencia.com" ]
gregoire@emencia.com
48ecc0ca3ad42f620a77d66a398fbe5db2ff1a40
87bee130fd3f2b5131b0b376b62b8d0ca56645a8
/game_stats.py
8eb9463de089b1f53575cda8e8326285c9e60610
[]
no_license
likthiis/Alien_Invarsion
42f1961ef035f5f1f10fba6ebe32bfdb46ab11fb
9fcf248d66b5a009f554b19dfdee7a4cc4092ae5
refs/heads/master
2020-03-18T03:57:41.206437
2018-05-25T10:46:45
2018-05-25T10:46:45
134,263,839
0
0
null
null
null
null
GB18030
Python
false
false
573
py
# coding=gbk class GameStats(): """跟踪游戏的统计信息""" def __init__(self, ai_settings): """初始化统计信息""" self.ai_settings = ai_settings self.reset_stats() # 游戏刚启动时处于活动状态 self.game_active = False # 在任何情况下都不应重置最高得分 self.high_score = 0 def reset_stats(self): ...
[ "1501681615@qq.com" ]
1501681615@qq.com
3637fd77df2558839eb597774bf2005728fdb9c7
1b9754e54d54a162ce17aa1bc218f8591fe8265a
/diagnose.py
35a738276941ae783c66f4e9a64aed683dc98f66
[]
no_license
ifayost/cdb_pneumonia
7cc3255ff547dd851443d915833e1390a8e00aac
1b261d4b9a6c01c89b4e04f800646a13a3f5088c
refs/heads/master
2022-09-15T18:09:38.441144
2020-05-21T11:40:09
2020-05-21T11:40:09
259,653,419
1
0
null
null
null
null
UTF-8
Python
false
false
4,651
py
import os import sys import numpy as np import matplotlib.pyplot as plt from PIL import Image import torch from torch import nn import torch.nn.functional as F from torch.utils.data import Dataset import torchvision from torchvision import transforms from tqdm import tqdm from transform_images import crop_images from c...
[ "ifayost@gmail.com" ]
ifayost@gmail.com
5d3b0d5651a6723d3dcf389c5490f62d3a179bf4
2fd2b050270b8984d889717dd64896522be9803c
/homework_examples.py
a811dcb49ceb64c2834d6edbf679ab356ab8ace4
[]
no_license
nj-bay/python_programs
7b78f265f71f23c8d1b7ae109f2575df31c2f149
2a1f5bdb07d4cc970a4aab41ca986fb9db45d109
refs/heads/master
2021-01-10T18:26:03.263693
2014-05-20T17:31:48
2014-05-20T17:31:48
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,812
py
# Name: # Login: # TA: # Section: # Q1. def stone_age(): """Returns the year in which Steven and Eric took CS 61A.""" return _____ # Q2. def favorite_player(): """Returns Steven's favorite basketball player.""" return '_____' # Q3. def favorite_number(): """Returns Eric's favorite number.""" ...
[ "neal_jacob_415@gmail.com" ]
neal_jacob_415@gmail.com
f55d8b2b851ab050c47ad3346198c04b4e60571d
5cc3334518c73a7de57f33a9b79ab4dd38693163
/golden_creator.py
57ad7041a243814f8bfa65bfebfa30f3e283b6e0
[]
no_license
arashdn/sof-expert-finding-ml
0affecc06db78e96a55c376f65f53aaf780d1e5f
de8f6b64bf666d7d4fa3a6abd24354d7d8000f6f
refs/heads/master
2021-01-19T18:59:02.731049
2018-01-20T11:02:40
2018-01-20T11:02:40
88,392,949
3
0
null
null
null
null
UTF-8
Python
false
false
1,511
py
import mysql.connector acceptance_ratio = 0.4 number_of_acc_answers = 10 cnx = mysql.connector.connect(user='root', password='root', host='127.0.0.1', database='sof') cnx2 = mysql.connector.connect(user='root', password='root', ...
[ "arash@dargahi.org" ]
arash@dargahi.org
d3cf62698d9c734188d0b31120667881b4dbb74f
19973144ec11438c8bc4c973473033ee877e1ad3
/loops.py
0e22fb9d5d04e04afe5fcb57f9a73c37d413be10
[]
no_license
kuzmich321/python-core
b6d1720c1a0202e5d40032ed9f4b96aec1d284df
cd137980c8c5677a72f3e9c0703a1f3f06ef37e5
refs/heads/main
2023-04-16T19:10:42.450055
2021-04-24T06:52:43
2021-04-24T06:52:43
332,165,313
0
0
null
null
null
null
UTF-8
Python
false
false
1,228
py
# The For Loop # There is not like for (let i = 0; i < 5; i++) {...} # In Python, an Iterable is an Object capable of returning values one at a time. # There are standard numbers of ways to iterate over iterables s = 'hello' for c in s: print(c) for i in range(len(s)): print(i, s[i]) for i, c in enumerate(s...
[ "dota2drot@gmail.com" ]
dota2drot@gmail.com
5db23612af98cf79e6c92ed2f0f172468c11550b
132d88c08e339b5e69b4bac8589123e457aa6625
/troll_scammer/declined.py
56b591741b6f3c49ff5027866b18179f66e8d1bd
[]
no_license
josemballes99/The-Playbook
4221f7d0a8c4363a7641a60113d299c38776bc5e
bbf628deedaf97c936f88f2e065d606c97fa1a7f
refs/heads/master
2022-12-03T21:54:07.344037
2022-11-30T06:03:35
2022-11-30T06:03:35
210,080,848
0
0
null
null
null
null
UTF-8
Python
false
false
3,228
py
import requests import threading import random import string def generateUsername(first, last): num = random.randint(0,4) if (num == 0): return first.lower() + ''.join(str(random.randint(1,100))) elif (num == 1): return last.lower() + ''.join(str(random.randint(1,100))) elif (num == 2): return firstname.lo...
[ "ballesjm@mcmaster.ca" ]
ballesjm@mcmaster.ca
85aaa7c1675fe5b80b9f19648ff51427595f8e1c
7d46e8745a7c6d7c369a9e212cabb6b8b6dd0334
/tools/build_system/scripts/flac.py
5090730ff765b24f76cb853d4b87ef5c17482451
[]
no_license
eighteight/roxlu_experimental2
02166ccab0322061b3ed4269dcfd2453f2fea537
5a4d3f81a5abcac415adfa107c4d4bc7d4fb173c
refs/heads/master
2021-01-22T09:51:01.638125
2013-10-10T15:33:49
2013-10-10T15:33:49
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,447
py
import os from base import * class Flac(Base): def __init__(self): self.name = "flac" self.version = "1.3.0" self.compilers = [Base.COMPILER_WIN_MSVC2010] # Base.COMPILER_MAC_GCC, Base.COMPILER_MAC_CLANG] # , Base.COMPILER_WIN_MSVC2010, Base.COMPILER_WIN_MSVC2012] self.arch =...
[ "diederick@apollomedia.nl" ]
diederick@apollomedia.nl
5a8b22eb963fde1ffb823b79eb1f765310937784
9bfd68e0138d6fadc82a0d70b0966cc5d396acc6
/src/python/extendeble_ISO3166.py
3c086ebd2814b10acaf94e52c3807bab9a3317e2
[]
no_license
persan/ISO-3166
3c14ab6b57f418e2748763cea35f6d9228c7d153
35aa2756b2fb9cb9d0c1f88bda93ced8b02672bc
refs/heads/main
2023-08-16T09:45:53.784852
2021-02-09T09:26:08
2021-02-09T09:26:08
333,488,328
4
0
null
null
null
null
UTF-8
Python
false
false
47,282
py
# =================================================================== # This file is generated from an iso-3166 descrition # Do not edit by hand ! # If more entries are needed write a new xmlfile and run the tool # with both the basefile and the extras as arguments # =============================================...
[ "per.s.sandberg@bahnhof.se" ]
per.s.sandberg@bahnhof.se
82ffcf288917a2676cd025438e5aa94b75c65e82
1f7d10c27fdb9d6a8a2100e23cfa3a8962fa7548
/2018/07a.py
9468556da6ea7086811f90a60af25848f6c23dea
[ "MIT" ]
permissive
apie/advent-of-code
97ce01e5d64f73a675b8027e7d5c0635162a1795
51963d2b53fed8b521676e4e20be961816f994fe
refs/heads/master
2022-12-22T22:39:33.308275
2022-12-16T15:34:39
2022-12-16T15:35:05
160,063,354
5
0
null
null
null
null
UTF-8
Python
false
false
1,731
py
#!/usr/bin/env python3 import pytest import re from collections import defaultdict from itertools import chain DAY='07' def answer(in_lines): #print('\n'.join(in_lines)) blockers = defaultdict(list) for in_line in in_lines: #print('['+in_line.strip()+']') m = re.match(r'Step (.) must be finished before ...
[ "1049485+apie@users.noreply.github.com" ]
1049485+apie@users.noreply.github.com
6334628fdb2404ff737bbd910afaf8aff7e39961
9334fc8856717457f2bdeb29dc3f7d5f317221d3
/robo_protocolados/script_extracao_tudo.py
795269490e74efd5afaacfbc701deff65252d34a
[]
no_license
h-pgy/api_alvaras
68e1ad2b5eb9fe713314438a2661f6cbd3a3e640
dc0aed0593dfa0e2b45d6c8a1f71c4423d489d83
refs/heads/master
2022-07-16T11:29:42.507014
2020-03-11T21:23:06
2020-03-11T21:23:06
246,632,054
0
0
null
2022-06-22T01:24:03
2020-03-11T17:07:18
Python
UTF-8
Python
false
false
1,569
py
from config import usuario, chromedriver_path import os from extractor_ano import ExtratorAno from selenium import webdriver from selenium.webdriver.chrome.options import Options def gerar_driver(headless): if headless: chrome_options = Options() chrome_options.add_argument("--headless") d...
[ "hpougy@gmail.com" ]
hpougy@gmail.com
4ddb20892f2525b9f1ec0275d12d03c500c0ed78
2259345acb0d9726acd915f7a839f592a44168b7
/searches.py
0385379eb2a9370994ed269204131c8f69dd9ad1
[]
no_license
zesameri/Beginner-Python-Projects
b251c0655fd568133e13687fe18dc886f0a425f7
d91e26a54438fcfd648341ad17f589f516945358
refs/heads/master
2021-05-28T15:22:00.516125
2015-04-02T13:35:49
2015-04-02T13:35:49
null
0
0
null
null
null
null
UTF-8
Python
false
false
600
py
''' Created on Jan 11, 2012 @author: Meredith ''' def linear_search(lst, key): for i in range(len(lst)): if key == lst[i]: return i return -1 def binary_search(lst, key): low = 0 high = len(lst) -1 while high >= low: mid = low + (high - low)//2 if key == lst[mid...
[ "meredith.hoo1@gmail.com" ]
meredith.hoo1@gmail.com
5b85084497e2350d3913f2572f94e78b809bd578
4b99ba23522e4ddfa998ffd82f8d3f8c069bc64d
/COMP 1405A/General/A2/digits.py
5175bcaafd7cd2e785e7912c8fd5391267477159
[]
no_license
Matei-Paleacu/Python-Work
ed6f4d82e5a48f64bd9d103d8dc722d504bcbac8
6bca48fa8cc8528b79fcb2d061f3a6f3d51186dd
refs/heads/main
2023-04-25T20:54:44.806853
2021-05-25T00:18:14
2021-05-25T00:18:14
370,493,296
1
0
null
null
null
null
UTF-8
Python
false
false
1,883
py
def passwordIsValid(passwd:str): passwordLenght = len(passwd) valid = False if passwordLenght >= 5: CheckDigits = digits(passwd) if CheckDigits == True: CheckChar = specialChar(passwd) if CheckChar == True: CheckUpperCase = UpperCase(passwd) ...
[ "noreply@github.com" ]
Matei-Paleacu.noreply@github.com
f19711c824d08b2f99bde202875be60d5015bc4a
dfc827bf144be6edf735a8b59b000d8216e4bb00
/CODE/experimentcode/DryBedPaper/Dambreak/FEVMdryWBuhonly zeroorder/Run.py
12accac582bfd8b9937706f72632e59e0bb7acdc
[]
no_license
jordanpitt3141/ALL
c5f55e2642d4c18b63b4226ddf7c8ca492c8163c
3f35c9d8e422e9088fe096a267efda2031ba0123
refs/heads/master
2020-07-12T16:26:59.684440
2019-05-08T04:12:26
2019-05-08T04:12:26
94,275,573
0
1
null
null
null
null
UTF-8
Python
false
false
7,430
py
# -*- coding: utf-8 -*- """ Created on Mon Jun 5 14:24:26 2017 @author: jp """ from Serre2dc import * from scipy import * from pylab import plot, show, legend,xlim,ylim,savefig,title,xlabel,ylabel,clf, loglog import csv import os from numpy.linalg import norm,solve from time import time def copyarraytoC(a): n = ...
[ "jordanpitt3141@github.com" ]
jordanpitt3141@github.com
3e02810e60f802ee9aac3b685c0efbc957858d9d
c893a42d342bc2cb3a96b054bda8b3be8df68f90
/enigma2/python/Plugins/Extensions/dBackup/plugin.py
58a045118b3240aa37c19fc3fe0e1b8c8e1312fc
[]
no_license
erolmutlu/tsimage
d60de733920f800bf64af6eaf96381ebcc01166d
6e98431726f3eca1989ce4c5e6895d8df9b4849a
refs/heads/master
2021-08-07T21:32:16.010264
2017-11-08T23:58:01
2017-11-08T23:58:01
110,044,408
0
0
null
null
null
null
UTF-8
Python
false
false
117,383
py
# -*- coding: utf-8 -*- # # dBackup Plugin by gutemine # dbackup_version="0.71" # from Components.ActionMap import ActionMap from Components.Label import Label from Components.config import config, ConfigSubsection, ConfigText, ConfigBoolean, ConfigInteger, ConfigSelection, getConfigListEntry from Components.ConfigList...
[ "erol@gentoo.erolmutlu.com" ]
erol@gentoo.erolmutlu.com
3a390a443f62dda7aaf9ce5b667f5dfe9dd4c376
9b39e32f36e4f949d617e158c5034faa9595aaf0
/python/PHYS14/QCD_Pt-1800to2400_Tune4C_13TeV_pythia8_cff.py
e21dd683067ea39f4ddd04af1141721dd2490d0b
[]
no_license
awhitbeck/SuSySubstructure
c24043227697f74bb85edc1cb84d65b884a141d5
1422a1f6e46468fdd103f92ccbdffc34468cbbd9
refs/heads/synch_June26_2015
2021-01-19T07:43:59.339373
2015-08-16T09:35:49
2015-08-16T09:35:49
14,053,341
0
2
null
2015-08-08T08:24:37
2013-11-01T20:44:04
Python
UTF-8
Python
false
false
1,133
py
import FWCore.ParameterSet.Config as cms maxEvents = cms.untracked.PSet( input = cms.untracked.int32(-1) ) readFiles = cms.untracked.vstring() secFiles = cms.untracked.vstring() source = cms.Source ("PoolSource",fileNames = readFiles, secondaryFileNames = secFiles) readFiles.extend( [ '/store/mc/Phys14DR/QCD_P...
[ "whitbeck.andrew@gmail.com" ]
whitbeck.andrew@gmail.com
e4bbff0c6a3c94d8f907716931b1a66bbbca591a
71fdaa3b1d528011eabe13c2ffed34516e21c8b3
/PEuler021.py
bd87f51ab2ebb44bc4a06de63a38ccd2d5b87932
[]
no_license
rchughye/tripping-octo-wight
feaa085ae56b40fe1ddb7af77d236f8a94d1cda3
0eed15aa81da78b945af8ab9ad98e970e3a4377f
refs/heads/master
2020-04-14T07:10:45.119372
2014-06-13T04:35:36
2014-06-13T04:35:36
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,425
py
# Euler Problem #21: Amicable numbers # http://projecteuler.net/problem=21 # Q: Evaluate the sum of all the amicable numbers under 10000. # A: 31626 # Iterate through the sum of divisors for 1 - 9999 # sum if both sum of divisors(sum of divisors) = i AND if sum of divisors != i # i.e. if d(d(a)) = a and d(a) != a , a...
[ "rchughye@uwaterloo.ca" ]
rchughye@uwaterloo.ca
2147443dc38aba2001c329771265c83121d84896
0dc57da7ac6f9eff5c05d40693309f15ad511aed
/MessageBox.py
506a7536c0a9725c1a30314bb290a5f1776afcc3
[]
no_license
Lorenhub/Python
8e6fc82701d6dda71da070d2390b095ed91fa8e3
5e6afa748f222cda754780c69adfd6f7a4217f50
refs/heads/main
2023-03-10T11:48:01.568699
2021-02-24T06:28:06
2021-02-24T06:28:06
null
0
0
null
null
null
null
UTF-8
Python
false
false
647
py
from pyautogui import * print(alert(text="alert", title="messagebox", button="ok")) # creates a tkinter window with alert message box # button accepts only one string print(confirm(text="confirm", title="messagebox", buttons=["ok", "save", "cancel"]))# creates a tkinter window with confirm message box # buttons accepts...
[ "75368049+Yohith-Programmer101@users.noreply.github.com" ]
75368049+Yohith-Programmer101@users.noreply.github.com
3514ec92ed02abcbee5fee7ae8ee2db6b9582ad4
a087b6fbd9bc4f3ec1d7f48268e733e106369fcd
/food_project/recipe/ingredient.py
7e888e99153f0a4be95aaba923d7f84a712d1aff
[]
no_license
zhakguder/FoodProject
8b628583fb2f0ee3537f5340301b78c926401968
7ab881d9884d366efffa7a4c84c27c02fbe7a467
refs/heads/main
2023-03-05T18:30:16.939582
2021-02-14T19:50:04
2021-02-14T19:50:04
327,974,533
0
0
null
null
null
null
UTF-8
Python
false
false
1,746
py
#!/usr/bin/env python3 class Ingredient: def __init__(self, name, id, quantity, entropy): self.name = name self.id = id # column number in recipe ingredients dataframe self.quantity = quantity self.entropy = entropy # clusters = {} ingredients_to_clusters = {} # TODO: put this ...
[ "zeynep.hakguder@huskers.unl.edu" ]
zeynep.hakguder@huskers.unl.edu
5b21cf2a5b35d62a5fba6d66b251e0e4f36c3d54
05a70c12df808455100598d8a6fdb5635c641ab8
/Ago-Dic-2019/DanielM/Ordinario/EjercicioUno/Ord_DB_RickMorty.py
ede14cf7a284dde57b93a500e312e190b711133b
[ "MIT" ]
permissive
Jonathan-aguilar/DAS_Sistemas
991edcc929c33ba9bb8bc84e741b55c10a8420a3
4d02efc64161871084df1bff258112351e5d1241
refs/heads/development
2023-07-24T12:26:54.698452
2021-09-02T20:52:26
2021-09-02T20:52:26
289,764,892
1
0
MIT
2021-09-02T20:52:27
2020-08-23T20:54:55
Python
UTF-8
Python
false
false
1,988
py
import sqlite3 # Crear BD try: conexion = sqlite3.connect('Ord_DB_RickMorty.db') cursor = conexion.cursor() print('Conectado a SQLite') query = 'SELECT sqlite_version();' cursor.execute(query) rows = cursor.fetchall() print('Version de SQLite: ', rows) cursor.close() except sqlite3.Err...
[ "daniel.mont@hotmail.com" ]
daniel.mont@hotmail.com
aafeccc6a332e1269060337aa4a3ad47c3a4a974
1be9cc00531cb884bac1f69ecc43b801575611d8
/Park.py
4e6449b16c7d7966b0d3b83d869bebb87bff8916
[]
no_license
sirvar/fast-and-furious-parking
44a6e34905f95ad92b4b977ef337c4d9e4132cd5
7934962de39193874f3ee045f20b3538cbda1a1d
refs/heads/master
2021-01-14T11:22:52.155620
2015-10-22T12:35:37
2015-10-22T12:35:37
33,823,440
0
0
null
null
null
null
UTF-8
Python
false
false
364
py
#class that has parking location from pygame import * class Park(): def __init__(self, surface, x, y): "Set surface and position of parking spot" self.surface = surface self.x = x self.y = y self.park = image.load("res/park.png") self.rect = Rect(x,y,73,110) def render(self): "Blit parking spot" se...
[ "katyalrikin@gmail.com" ]
katyalrikin@gmail.com
ce0a9a6f7b597165158e3f6115852854e6e42276
d86f50d01ac04fffe58fd91afd836c142606151f
/web.py
d9391fa1198d103f9b1cd546ac015ff7eb43c41f
[]
no_license
Kanika-Gurditta/release-script
af94c5ae4efff721d3cc527c6eb35b4fa66bb052
65c4b0e22ae263996b20320ac383450e754a8403
refs/heads/master
2020-03-26T05:33:00.013305
2018-07-24T16:00:21
2018-07-24T16:00:21
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,509
py
""" Web server for handling slack webhooks """ import json from tornado.web import Application, RequestHandler class ButtonHandler(RequestHandler): """ Handle button requests """ def initialize(self, token, bot, loop): # pylint: disable=arguments-differ """ Set variables Arg...
[ "noreply@github.com" ]
Kanika-Gurditta.noreply@github.com
6f7181182372c8d12ebeef354db623f7661accf3
aa7836793561f01fa26e51f37ac13a79402a0a86
/fec_download/luigi_indiv.py
e3a22740effc5b6f8ea03799e9029f3f95aaa0b5
[ "Apache-2.0" ]
permissive
jmausolf/OpenFEC
211989de56a78555c4d973635b89abfe186467a9
7313b0a3ef21a60984db0668757c0032554dc453
refs/heads/master
2022-04-28T23:21:48.511435
2020-04-11T06:35:26
2020-04-11T06:35:26
104,601,210
0
0
null
null
null
null
UTF-8
Python
false
false
472
py
""" from _get_individuals.gen_indiv_profiles import * from _util.util import * from _build_db.clean_db import * def gen_indiv_table(db, c): #(Clean file to merge, then calc levels, load) alter_create_table("schedule_a_cleaned", "individual_partisans", db, c, alter_function=alt_group_indiv, limit=...
[ "jgm346@gmail.com" ]
jgm346@gmail.com
c20fe8115967e9d552ddfeb737d8479dc086965d
764dda5d961257581dd21eae83953a307387eab3
/comments/views.py
c672e8906c4a4b4a7c46349a4eaceef11c930f99
[]
no_license
erfanrahaei/my_first_personal_website
3c429c1139d0fc80f6ec7ce4e5f7b22fe01c7cc3
cb5e340c7d42239bda4efc3c76adb44daaacdc65
refs/heads/master
2023-06-29T22:03:00.860400
2021-08-01T15:52:21
2021-08-01T15:52:21
391,660,526
0
0
null
null
null
null
UTF-8
Python
false
false
248
py
from django.shortcuts import render,redirect from .models import Comment def comment_delete(request,id=None,post_id=None): comment=Comment.objects.get(id=id) print(comment) comment.delete() return redirect('details',id=post_id)
[ "erfanrahaei5@gmail.com" ]
erfanrahaei5@gmail.com
ded92cee6acaafcbd79d447b4776c8cc928d4f3e
58124977b232fab135ea97468b8c53e7672e4f42
/benchmarks/sanic_app.py
fdc199778b34d2571368c2ca881fd083352e9fb0
[ "MIT" ]
permissive
BLQNXAY/xweb
b3103786fd78a3b60d5585e7385d8b99138c4253
28a7b1e0d7ca424bf1d4b9265d68a212c5e5a799
refs/heads/master
2021-01-06T08:49:27.762942
2018-11-08T07:41:12
2018-11-08T07:41:12
null
0
0
null
null
null
null
UTF-8
Python
false
false
289
py
"""python sanic_app.py""" from sanic import Sanic from sanic.response import text app = Sanic() @app.route('/') async def test(request): return text('hello world') # Requests/sec 50000 if __name__ == '__main__': app.run(host='0.0.0.0', port=8000, workers=4, access_log=False)
[ "elliotgao@xwfintech.com" ]
elliotgao@xwfintech.com
6cccf043bfac22f74bf6b70629ea65782072baf2
3b2c34559cf6bd2d9974dc4bc38487f1cce0bd16
/blog/views.py
941885ae19ff003a766d91793742b85d6b1d52c8
[]
no_license
urbinasusseth16/interiores
2cef1429b2cd342c4df57b0315bafbdb6a36ad3e
3c5deba58e8f5417b4a3762d645980d00b6b50c6
refs/heads/main
2022-12-29T05:48:00.914751
2020-10-19T00:33:22
2020-10-19T00:33:22
304,149,111
0
0
null
null
null
null
UTF-8
Python
false
false
532
py
from django.shortcuts import render from .models import * def listar_publicaciones(request): news = Publicacion.objects.all() return render(request, './post/index.html', {'news':news}) def ver_publicacion(request, pub): publicacion = Publicacion.objects.get(id = pub) return render(request, './post/v...
[ "51416167+urbinasusseth16@users.noreply.github.com" ]
51416167+urbinasusseth16@users.noreply.github.com
5ea6dac2e1e68ac62b2b84dc089bade38e2b1911
4e135c9d35a033c8f9f5c70e57ae27f61b4f34fb
/19_Sympact/Python/sympact.py
cc5b733f58860962724032b8ef0ef8b107763984
[]
no_license
xpessoles/TP_Documents_PSI
a95b57eebd32a3641a02623e01cd3ab32f3155c2
76bd77fed5a88337e7669c8ca01944020de47458
refs/heads/master
2023-08-23T21:15:23.205881
2023-08-15T06:15:29
2023-08-15T06:15:29
168,961,130
0
0
null
null
null
null
UTF-8
Python
false
false
3,417
py
# -*- coding: utf-8 -*- """ Created on Fri Jan 21 07:27:14 2022 @author: xpess """ import numpy as np import matplotlib.pyplot as plt def trapeze(les_t:list,t1:float,t2:float,amax:float,vmax:float)->list : """ Détermination des loi horaires en trapèze Parameters ---------- les_t : list DE...
[ "xpessoles.ptsi@free.fr" ]
xpessoles.ptsi@free.fr
80323aa0c33ac672897ee319b3f16f71e768fb5c
da47e42519b6d5eb37bdb634fd618672706e79da
/localizacion_metromed/tys_http/__manifest__.py
5094cf573f3be281a9e1d379e90f33313dc7ee0c
[]
no_license
Tysamncaweb/produccion2
02bbbccefc4f4cd0d0948b1b0552d931f804fb9b
b95909d0689fc787185290565f0873040a6027cf
refs/heads/master
2022-04-26T13:51:22.316294
2020-04-29T19:58:35
2020-04-29T19:58:35
260,013,639
1
0
null
null
null
null
UTF-8
Python
false
false
916
py
# -*- coding: utf-8 -*- { 'name': "submodules/tys_http", 'summary': """ Short (1 phrase/line) summary of the module's purpose, used as subtitle on modules listing or apps.openerp.com""", 'description': """ Long description of module's purpose """, 'author': "My Company", ...
[ "soporte.innova2129@gmail.com" ]
soporte.innova2129@gmail.com
aeea6a98694c9496aa4295c0bb0e019d074e27e0
b6b1710a8a3f3d0ceda6496e9d846c1c8dc1c5fa
/Zookeeper/Zookeeper/task/test.py
3c6ba1c0b84aab7489814f469395aa71996f6bd6
[]
no_license
pulkocho/Pyhton
fce0cfec98c052aed43a4c4bba80d8c38308221b
90176c34bffbc08939e63494bcfb1e374eacb9cb
refs/heads/main
2023-04-26T14:19:34.875864
2021-05-16T16:21:31
2021-05-16T16:21:31
339,902,089
0
0
null
null
null
null
UTF-8
Python
false
false
93
py
a = input() b = input() if a >= b: print(a) print(b) else: print(b) print(a)
[ "david87dc@gmail.com" ]
david87dc@gmail.com
77b0e27f69d68d55e5c960174be4b00b81a93555
3c8858e9f41ebcc01952a395372b54ab10cee02b
/Problems/prob016/models/TrafficLights.py
ea3df5b3705d928e57d3904a7b9159fdcc7f3ae6
[ "CC-BY-4.0" ]
permissive
csplib/csplib
052d496016fa52b594f788bce8af4feecf64c6bc
102fc7418c6ac103e6ae07d3c8ac1df4f010d73a
refs/heads/master
2023-05-02T17:54:32.570647
2023-04-20T20:59:43
2023-04-20T20:59:43
14,191,632
77
77
null
2023-04-20T20:59:44
2013-11-07T02:02:24
Prolog
UTF-8
Python
false
false
494
py
""" PyCSP3 Model (see pycsp.org) Execution: python3 TrafficLights.py """ from pycsp3 import * R, RY, G, Y = "red", "red-yellow", "green", "yellow" table = {(R, R, G, G), (RY, R, Y, R), (G, G, R, R), (Y, R, RY, R)} # v[i] is the color for the ith vehicle traffic light v = VarArray(size=4, dom={R, RY, G, Y}) # p[...
[ "caj21@st-andrews.ac.uk" ]
caj21@st-andrews.ac.uk
b663e80f12a97f590a58ac182a8cfc7e791046fc
acee3064bab44e1ac466425988349d899df2171e
/DatabaseConnectivity/Demo1.py
50e65e91110ec3a755c1f06a0debd598965481a9
[]
no_license
vidhyachenji/gitdemo
fd387be8a87ac077f513427dbdb89572b29661ee
eb345648e3940f977c047512cde743a660f0198a
refs/heads/master
2023-01-08T08:49:11.898333
2020-11-16T04:01:43
2020-11-16T04:01:43
313,179,893
0
0
null
null
null
null
UTF-8
Python
false
false
541
py
import cx_Oracle import os os.environ['PATH'] = 'C:\\oracle\\instantclient_19_6' #create connection dsn_tns = cx_Oracle.makedsn('localhost', '1523', service_name='orcl3') conn = cx_Oracle.connect(user='system', password='system', dsn=dsn_tns) print(conn.version) query1 = "insert into persons values(101,'Radhika','FQ','...
[ "chenjividhya@gmail.com" ]
chenjividhya@gmail.com
8bdd4dfa161b69ab1245afd50eb7f926c7bd1cac
7889c115e37025b8d5ebc7475a7de87430a3dde1
/GUIWrapper.py
d54f25e3017f5b78c0a02aed6593edda31f07889
[]
no_license
DaEvil1/Tagpro-Replay-Renderer
c4a667e4e853572abe02ad484de588cdc5a43860
e36dae4f13b8b5966ae424c03774e340ec197631
refs/heads/master
2021-01-16T21:46:15.538639
2016-07-08T22:05:27
2016-07-08T22:05:27
62,918,081
0
0
null
null
null
null
UTF-8
Python
false
false
9,663
py
from _GUIWrapper import * import sys, os import pygame from pygame.locals import * class Window(Window_): def __init__(self, name, width, height, position = (5, 20)): self.functions = {"background" : self._background, "transparent" : self._transparent, ...
[ "thomas.m.bolstad@gmail.com" ]
thomas.m.bolstad@gmail.com
b4114f55a3b44215c32b9f099140ad31264d5e11
781e2692049e87a4256320c76e82a19be257a05d
/all_data/exercism_data/python/simple-cipher/85118e8764e3424d97f4175fe0cad1fd.py
28007cdd0fefc6a8857a63ff19f4b2b3418fd3e8
[]
no_license
itsolutionscorp/AutoStyle-Clustering
54bde86fe6dbad35b568b38cfcb14c5ffaab51b0
be0e2f635a7558f56c61bc0b36c6146b01d1e6e6
refs/heads/master
2020-12-11T07:27:19.291038
2016-03-16T03:18:00
2016-03-16T03:18:42
59,454,921
4
0
null
2016-05-23T05:40:56
2016-05-23T05:40:56
null
UTF-8
Python
false
false
1,923
py
# cgi path # William Morris # exercism.io # cipher.py import random class Caesar: def __init__(self): self.key = 'd' def encode(self,phrase): encoded_phrase = '' for letter in phrase: if letter.isalpha(): encoded_phrase += _shift(le...
[ "rrc@berkeley.edu" ]
rrc@berkeley.edu
538e683d6a0172584d0d26be823ecacd73ca9eb2
f85087a1b033d0319fedfbb2c7cf05167cc126e3
/ch7/dream_vacation.py
b56a62e610608b5972d8addacef9676fda8086d4
[]
no_license
drliebe/python_crash_course
d62ec0cde497101c34f7a0221c4ca30ae68de81d
081a0b6dc07e867e7d7c27fdc739062341c76552
refs/heads/master
2023-04-05T01:56:56.836690
2021-04-22T22:24:07
2021-04-22T22:24:07
360,694,544
0
0
null
null
null
null
UTF-8
Python
false
false
376
py
prompt = 'Where would you go on a dream vacation? ' prompt += "\n(enter 'quit' to stop): " destinations = [] active = True while active: destination = input(prompt) if destination == 'quit': active = False else: destinations.append(destination) print('\nDestinations of a Dream Vacation:')...
[ "drliebe@gmail.com" ]
drliebe@gmail.com
4051013cb749e4537f1d7905343871778e1be479
14ed72a44d78f748d03df772c4449a5620ae2e85
/openstack_dashboard/api/nova.py
07688692eb223e3a73f7fa073aea0098e26c1304
[]
no_license
duihuhu/mydashboard
91a98b240da320f65a5324c78d099760057eb429
670f5f2fc7ceb7f0f2770b2f7f6f1c9173e0a8c6
refs/heads/master
2021-01-19T03:02:18.128402
2016-07-25T09:06:01
2016-07-25T09:06:01
64,120,033
0
0
null
null
null
null
UTF-8
Python
false
false
37,337
py
# Copyright 2012 United States Government as represented by the # Administrator of the National Aeronautics and Space Administration. # All Rights Reserved. # # Copyright 2012 OpenStack Foundation # Copyright 2012 Nebula, Inc. # Copyright (c) 2012 X.commerce, a business unit of eBay Inc. # # Licensed under the Apach...
[ "root@localhost.localdomain" ]
root@localhost.localdomain
5cfa9ce5c59fad91ec62018641f1f8e3be5b7d6b
176c2f480ab726ec7997f0042681751cdfaf1368
/Chapter6_WebCrawler/6_4_WeChatCrawler.py
f32e91f437065b334e60223bcb9d5c3d6dbb97d5
[]
no_license
Donald-Zhuang/WebScrapingWithPython
d06f9a4be2e72b53d38c264d76de3dbe6cfa7425
efd5721a5293aac733a3225871cb3f008c4cc62e
refs/heads/master
2021-01-01T16:40:41.350708
2017-08-30T00:45:15
2017-08-30T00:45:15
97,884,535
0
0
null
null
null
null
UTF-8
Python
false
false
5,160
py
#!/usr/local/bin/python3 #-*- coding: utf-8 -*- __author__ = 'donald.zhuang' import urllib.request import http.cookiejar import random import re import os import socket # for collecting proxy address Url_ProxyAddr = 'http://www.xicidaili.com/nn' RegExp_ProxyAddr= '<tr class=.*?<td>(.*?)</td>\s+<td>(.*?)</td>.*?(HTT...
[ "1034894966@qq.com" ]
1034894966@qq.com
e4c8ee2b1b83f67d9e4246f9b3f50db7419e2523
e27e113d73cf90da91d9161847460b4dbe18e593
/apps/catalog/migrations/0008_auto_20191114_1724.py
d4cbc8d33cfd81992d95a144d3b720c5adb122b9
[]
no_license
rsdeus/dt-store
14a75ddca20029a1ee44c10abd8e7c3af46219cd
94292e4a3fcd51e4fe89b29d360bad82a0a3689a
refs/heads/master
2023-02-27T00:22:18.291658
2021-01-26T18:12:23
2021-01-26T18:12:23
220,774,167
0
0
null
null
null
null
UTF-8
Python
false
false
2,148
py
# Generated by Django 2.2.6 on 2019-11-14 20:24 from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): dependencies = [ ('catalog', '0007_auto_20191108_1524'), ] operations = [ migrations.CreateModel( name='Partner', ...
[ "rsdeus@gmail.com" ]
rsdeus@gmail.com
c5dba6dff121e068273a2ebd3d8421bb6bd64bef
ee8eb2971a095e930637328232611be1278e5592
/tests/test_anim.py
47e5bf4d92c7947a637a53d9af1c6319effefd31
[ "BSD-3-Clause" ]
permissive
AlfredoSequeida/termtosvg
481b45a864b4d87ddf77b81fe58e7f27fdb2329a
59081f5b6dc531d6e7bad850b62f1c727b51beaf
refs/heads/master
2020-03-31T01:56:24.777272
2018-08-05T09:06:58
2018-08-05T13:41:06
151,801,080
0
0
null
null
null
null
UTF-8
Python
false
false
8,273
py
import io import pkgutil import tempfile import unittest from collections import namedtuple import pyte.screens from lxml import etree from termtosvg import anim class TestAnim(unittest.TestCase): def test_from_pyte(self): pyte_chars = [ # Simple mapping pyte.screens.Char('A', 'r...
[ "nicolas.bedos@gmail.com" ]
nicolas.bedos@gmail.com
495b2ec1563ff083c161ceed00c7cb888178ead0
fbbaf3f4cf87d75e87c992f62f40dc198fb7b5a8
/libs/sqlalchemy-rel_0_7/lib/sqlalchemy/engine/reflection.py
76cb5bdaa4328f1096ba3b737ba8bc4d3d374d4c
[ "MIT" ]
permissive
sonikandpikachu/wcomp
cfe30371beb518fda9af890434a089673226df32
b0c445bf3e2fec636eb4b5cb01ae1e2fc06ed29a
refs/heads/master
2021-01-18T16:47:50.918828
2012-10-05T15:27:37
2012-10-05T15:27:37
3,497,017
0
1
null
null
null
null
UTF-8
Python
false
false
17,090
py
# engine/reflection.py # Copyright (C) 2005-2012 the SQLAlchemy authors and contributors <see AUTHORS file> # # This module is part of SQLAlchemy and is released under # the MIT License: http://www.opensource.org/licenses/mit-license.php """Provides an abstraction for obtaining database schema information. Usage Note...
[ "marchukpavelp@gmail.com" ]
marchukpavelp@gmail.com
e63185ef82854f35fb855155037d1cc7a2ad8563
07d30793a76a0dd2fa1d3ffec462c73e0164c6e1
/hexaparse.py
9ff25d7c8f06e38587430cccecebd561f5c5ff08
[ "MIT" ]
permissive
bbrk364/isilon_stat_browser
6e4eef622264328032fed6544409ca4d0b19b841
c0368c079c73f44b6b1a49a4605920efe48a17c4
refs/heads/master
2020-05-19T02:04:49.507126
2018-04-11T21:36:40
2018-04-11T21:36:40
null
0
0
null
null
null
null
UTF-8
Python
false
false
7,518
py
#! /usr/bin/env python """ Parse a hexa key/lists-of-values doc into a list of dicts. Each list item is a dict. The contain lists referenced by keyname. -Input- :::::: :::keyA value1 :::keyB value1 value3 value5 :::::: :::key20 valuesA -Outputs- [{'keyA': ['value1'], 'keyB': ['value1', 'value3', 'value5']}, {'key2...
[ "christopher.brainerd@isilon.com" ]
christopher.brainerd@isilon.com
b34cc4a6c6bb510a6cb526348b14851f8cf7b341
27c9b374a75550252ddfe5da400fad891c6de590
/chars/monster_scripts/MonsterAudio.py
d92db631a6f408a33e87967e694889278c5eabfa
[]
no_license
Dynamique-Zak/Zelda_BlenderGame
03065416939deb3ce18007909ccc278c736baad0
0f5d5d15bfa79e9f8ea15f0ebcb76bce92f77a21
refs/heads/master
2016-08-13T00:12:34.746520
2016-02-19T23:18:27
2016-02-19T23:18:27
49,572,402
30
16
null
null
null
null
UTF-8
Python
false
false
383
py
import aud # load sound device device = aud.device() class MonsterAudio: def __init__(self): self.lastStepFrame = 0 def playStepSound(self, current_frame, frames, audio): for frame in frames: r = range(frame-1, frame+1) if ( (current_frame >= frame and current_frame <= frame+1) and self.lastStepFrame !=...
[ "schartier.isaac@gmail.com" ]
schartier.isaac@gmail.com
2d6be584dbe664f1c96da1731febcec3c8fc88fb
2481cde6506743565dff2b405a2396daf208ab3e
/src/notification/migrations/0026_notificationmessage_sender.py
567ce2e804646575b24a3ee33b7668cbd7a59bdb
[ "Apache-2.0" ]
permissive
aropan/clist
4819a3036d179595e4df8c646aff2ed593b9dad3
5c805b2af71acee97f993f19d8d4e229f7f5b411
refs/heads/master
2023-08-31T11:15:17.987776
2023-08-27T21:51:14
2023-08-27T21:52:16
187,111,853
276
35
Apache-2.0
2023-09-06T18:42:53
2019-05-16T22:57:03
Python
UTF-8
Python
false
false
593
py
# Generated by Django 3.1.14 on 2022-01-17 00:04 from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): dependencies = [ ('true_coders', '0048_auto_20220111_2315'), ('notification', '0025_auto_20220111_2315'), ] operations = [ ...
[ "nap0rbl4@gmail.com" ]
nap0rbl4@gmail.com
8beeb7a8ce35cf20c2ed489a10a9da606021b5c7
eaf37d1f428fd552e16c40fd57ab07b6822358a5
/products/views.py
6a708ed4e0ca6b276bdb41a5cd11380323286150
[]
no_license
PathakDeepak/Ecommerce_Website
26df5f502a5ca04ddb9a456c31ac0df3b57ccb27
23eaa2f07462d03b2c326761c4135c3b63258e77
refs/heads/master
2020-03-19T08:34:36.465715
2018-06-12T22:14:50
2018-06-12T22:14:50
136,216,239
0
0
null
2018-06-12T22:10:00
2018-06-05T18:08:22
HTML
UTF-8
Python
false
false
1,122
py
from django.shortcuts import render, get_object_or_404 from django.views.generic import ListView, DetailView from .models import Product # Create your views here. #class based Listviews class ProductListView(ListView): queryset = Product.objects.all() #function based Listview def product_list_view(request): ...
[ "pathakdeepak024@gmail.com" ]
pathakdeepak024@gmail.com
a483c715ff7b777eb9d2bd220bd3a653dadc3f48
042f4afa2e438cc3f2776d934e649534309c5c16
/export_time_groups.py
c3d068a0a96cac52af68305b70dec223caef5f11
[ "Apache-2.0" ]
permissive
CheckPointSW/ExportObjects
2f038947186eebd4828c10ffaa8fc076958335c1
e3260800ecc042307936835cdda8dadd28c47b50
refs/heads/master
2022-05-01T17:33:48.074011
2022-04-28T06:12:36
2022-04-28T06:12:36
111,394,430
13
9
Apache-2.0
2019-04-10T17:05:08
2017-11-20T10:17:12
Python
UTF-8
Python
false
false
505
py
from get_objects import get_objects fields = { "whitelist": ["^name$", "^tags$", "^color$", "^comments$", r"^members\.[0-9]+\.name$"], "blacklist": ["uid"], "translate": [ # (#1, [(#2, #3)]) -> if field matches with regex #1 then in that field, replace regex #2 with regex #3 (r"^members\.[...
[ "rdecker@checkpoint.com" ]
rdecker@checkpoint.com
48506f5f4c982eb1a23f118f17baf17f0336d215
eddde71b861b2fd4eddcfdeff1a498677b80ab55
/base/base_assert.py
80967ee3d6845ad7ef5ef97a80091a38b88a5ca2
[]
no_license
MgLay123/KBZ
652b874c679b74dfc4da4ad12c7936713d6e415c
00ee9358dc87d17f3e16ae71245286967c1edcd9
refs/heads/master
2020-06-25T03:59:14.418526
2019-03-09T10:08:26
2019-03-09T10:08:26
199,194,492
0
0
null
2019-07-27T17:23:21
2019-07-27T17:23:21
null
UTF-8
Python
false
false
835
py
import time from base.base_action import BaseAction class BaseAssert: def if_display(self, driver, text): for i in range(10): if text in driver.page_source: break else: time.sleep(2) print('Finding element,Please waiit...') ...
[ "446880611@qq.com" ]
446880611@qq.com
69f59da5d712304e8e6c0f2455bb587bd17c6609
73a4598aa7dca01ef53218e4ef3d13c89d49303e
/blogapp/forms.py
b46f340acac86acea3b207ea76dbb82f54581ab8
[]
no_license
Emon-Jan/blog-app-django
d76161f2d41fe4ce0ff22c0b58628abe790e14a6
86ddcfacc41dc44215a54ce95ef5b59f23e1eab1
refs/heads/master
2023-01-12T12:32:42.695139
2018-07-01T11:53:38
2018-07-01T11:53:38
314,035,414
0
0
null
null
null
null
UTF-8
Python
false
false
1,225
py
from django.contrib.auth import get_user_model from django.forms import ModelForm, TextInput, Textarea, PasswordInput, EmailInput from django.contrib.auth.forms import UserCreationForm from django import forms from blogapp.models import Post, Comment class PostForm(ModelForm): class Meta: model = Post ...
[ "muktadirimam@gmail.com" ]
muktadirimam@gmail.com
57b8b6cac2db007cca24da9c5ae401f81b02ad05
a77f8f2d576b3875d647837fd0a786f38147b32d
/venv/bin/email_validator
64b4fc5fa7ae999bdd3e6ee2269904aa110a55c7
[]
no_license
Jaeki-Lee/Flask-practice
a0dbb63e33647ca581bbc539b483a01e64e160a0
ee1407e388982ee56715f252551bc607742f59fb
refs/heads/main
2022-12-23T16:40:10.622584
2020-10-04T16:39:08
2020-10-04T16:39:08
300,859,800
0
0
null
null
null
null
UTF-8
Python
false
false
255
#!/Users/jaekilee/root/src/python/myproject/venv/bin/python # -*- coding: utf-8 -*- import re import sys from email_validator import main if __name__ == '__main__': sys.argv[0] = re.sub(r'(-script\.pyw|\.exe)?$', '', sys.argv[0]) sys.exit(main())
[ "jaekilee@jaekis-MacBook-Pro.local" ]
jaekilee@jaekis-MacBook-Pro.local