blob_id
stringlengths
40
40
directory_id
stringlengths
40
40
path
stringlengths
3
288
content_id
stringlengths
40
40
detected_licenses
listlengths
0
112
license_type
stringclasses
2 values
repo_name
stringlengths
5
115
snapshot_id
stringlengths
40
40
revision_id
stringlengths
40
40
branch_name
stringclasses
684 values
visit_date
timestamp[us]date
2015-08-06 10:31:46
2023-09-06 10:44:38
revision_date
timestamp[us]date
1970-01-01 02:38:32
2037-05-03 13:00:00
committer_date
timestamp[us]date
1970-01-01 02:38:32
2023-09-06 01:08:06
github_id
int64
4.92k
681M
star_events_count
int64
0
209k
fork_events_count
int64
0
110k
gha_license_id
stringclasses
22 values
gha_event_created_at
timestamp[us]date
2012-06-04 01:52:49
2023-09-14 21:59:50
gha_created_at
timestamp[us]date
2008-05-22 07:58:19
2023-08-21 12:35:19
gha_language
stringclasses
147 values
src_encoding
stringclasses
25 values
language
stringclasses
1 value
is_vendor
bool
2 classes
is_generated
bool
2 classes
length_bytes
int64
128
12.7k
extension
stringclasses
142 values
content
stringlengths
128
8.19k
authors
listlengths
1
1
author_id
stringlengths
1
132
a174ca449539006233ff7a4acea1252aef8eb3eb
0ab90ab559eab46b583b4b1fdd4a5bb3f55b7793
/python/ray/experimental/workflow/common.py
3c40c555e0eab6747e2da0c8fe41e1c1b84e7018
[ "Apache-2.0", "BSD-3-Clause", "MIT" ]
permissive
swag1ong/ray
b22cd5ebab96c30f15b00a7d044fdeb7543a4616
fdbeef604692aa308973988b32405ec0d70f9f40
refs/heads/master
2023-06-25T21:55:44.398516
2021-07-26T00:39:24
2021-07-26T00:39:24
389,518,857
2
0
Apache-2.0
2021-07-26T05:33:40
2021-07-26T05:33:39
null
UTF-8
Python
false
false
7,714
py
from enum import Enum, unique from collections import deque import re from typing import Dict, List, Optional, Callable, Set, Iterator, Any import unicodedata import uuid from dataclasses import dataclass import ray from ray import ObjectRef # Alias types StepID = str WorkflowOutputType = ObjectRef @unique class W...
[ "noreply@github.com" ]
swag1ong.noreply@github.com
63d50f46e6763c50b438c35733b409c516416606
33cff13b90fdd628560baef8b3f6d68ceaad912c
/tests/test_commands/test_package_downloads.py
e4b7b094ed22878a396f1c1e911369fd769b9165
[ "MIT" ]
permissive
rosdyana/dephell
3139140d6f16288177705020a625897f91f2514b
993a212ce17dda04a878ceac64854d809f3dc47b
refs/heads/master
2020-08-06T09:38:21.150070
2019-09-27T16:58:23
2019-09-27T16:58:23
212,927,181
0
0
MIT
2019-10-05T01:22:23
2019-10-05T01:22:23
null
UTF-8
Python
false
false
708
py
# built-in import json # external import pytest # project from dephell.commands import PackageDownloadsCommand from dephell.config import Config @pytest.mark.skipif(True, reason='disable while pypistat is down') @pytest.mark.allow_hosts() def test_package_downloads_command(capsys): config = Config() config....
[ "master_fess@mail.ru" ]
master_fess@mail.ru
1a57dcb6dd5bc694a8c241ff875abb2a00b8f021
a2e638cd0c124254e67963bda62c21351881ee75
/Extensions/Prime Services/FPythonCode/PaymentFees.py
d79409eb38743fa11ab65e6b6c2c6f2b1438516b
[]
no_license
webclinic017/fa-absa-py3
1ffa98f2bd72d541166fdaac421d3c84147a4e01
5e7cc7de3495145501ca53deb9efee2233ab7e1c
refs/heads/main
2023-04-19T10:41:21.273030
2021-05-10T08:50:05
2021-05-10T08:50:05
null
0
0
null
null
null
null
UTF-8
Python
false
false
5,474
py
"""----------------------------------------------------------------------- MODULE PaymentFees DESCRIPTION Date : 2012-09-19 Purpose : Returns the payment fees of a trade Department and Desk : Prime Services Requester : Danilo Mantoan Developer : N...
[ "nencho.georogiev@absa.africa" ]
nencho.georogiev@absa.africa
b1efe20d5ba4c2a9c279544113a1e2bd6cdf7018
2432996ac1615cd36d61f0feeff8a359d2b438d8
/env/lib/python3.8/site-packages/_pyinstaller_hooks_contrib/hooks/stdhooks/hook-eth_hash.py
1b22c286fe3f7300f269b0ec19044cd2c28cc11a
[ "GPL-1.0-or-later", "GPL-2.0-or-later", "GPL-2.0-only", "Apache-2.0" ]
permissive
Parveshdhull/AutoTyper
dd65d53ece7c13fbc1ead7ce372947483e05e2e3
7fabb30e15b770d790b69c2e4eaf9bbf5a4d180c
refs/heads/main
2023-05-08T14:10:35.404160
2023-05-07T20:43:15
2023-05-07T20:43:15
315,415,751
26
18
Apache-2.0
2023-05-07T20:43:16
2020-11-23T19:13:05
Python
UTF-8
Python
false
false
611
py
# ------------------------------------------------------------------ # Copyright (c) 2020 PyInstaller Development Team. # # This file is distributed under the terms of the GNU General Public # License (version 2.0 or later). # # The full license is available in LICENSE.GPL.txt, distributed with # this software. # # SPD...
[ "parvesh.dhullmonu@gmail.com" ]
parvesh.dhullmonu@gmail.com
90ebb27f00615a63b07c8ff1cd495f77293c88ea
8f784ca91cd56818dc6e38d5e602756a913e13b4
/modbus_tcp_server/network/accept_thread.py
a512980848dd5a91ed2ce730cf546634df5968c6
[ "MIT" ]
permissive
smok-serwis/modbus-tcp-server
9a02a3c5e9d0875179903bc4171b4d782d6d48b9
558eca908b6762280a74b16d78d56dc047a9dace
refs/heads/master
2023-06-14T01:26:07.299860
2021-07-15T13:59:15
2021-07-15T13:59:15
339,780,750
0
0
null
null
null
null
UTF-8
Python
false
false
1,383
py
import socket import typing as tp from satella.coding import silence_excs from satella.coding.concurrent import TerminableThread from .conn_thread import ConnectionThread from ..data_source import BaseDataSource, TestingDataSource from ..datagrams import MODBUSTCPMessage from ..processor import ModbusProcessor clas...
[ "piotr.maslanka@henrietta.com.pl" ]
piotr.maslanka@henrietta.com.pl
ebc97dabe6ba4cd2d87aca268755945115d291e2
3447227dd54587eb8c0c7f5346ac158504f7a907
/compass/ocean/tests/global_ocean/threads_test/__init__.py
42883b53b746d85a52e069468c8ae411ba7c414e
[ "LicenseRef-scancode-warranty-disclaimer", "BSD-2-Clause" ]
permissive
MPAS-Dev/compass
5e2c1525224dd399bcf4f56f661df05e2ec197a6
0b7440f0aa77c1ae052922a39e646bd35c267661
refs/heads/main
2023-08-30T20:59:52.052430
2023-08-29T09:45:14
2023-08-29T09:45:14
310,409,977
10
26
NOASSERTION
2023-09-13T14:19:16
2020-11-05T20:28:25
Python
UTF-8
Python
false
false
2,046
py
from compass.validate import compare_variables from compass.ocean.tests.global_ocean.forward import ForwardTestCase, \ ForwardStep class ThreadsTest(ForwardTestCase): """ A test case for performing two short forward runs to make sure the results are identical with 1 and 2 thread per MPI process ""...
[ "xylarstorm@gmail.com" ]
xylarstorm@gmail.com
631a2dcb65f7b01f394a4887810810476c69ec19
933376c11498a6567da8d7eb7d2675100895c3ba
/pyzoo/zoo/chronos/forecaster/tcn_forecaster.py
1d2359d1cc2e54a9820e4f91c65c4ff5cd87761b
[ "Apache-2.0" ]
permissive
intel-analytics/analytics-zoo
320a461765f86d41dd456b598b1cf1d51d57f4c4
7cc3e2849057d6429d03b1af0db13caae57960a5
refs/heads/master
2023-08-13T20:47:58.621714
2023-07-06T00:49:11
2023-07-06T00:49:11
90,328,920
3,104
996
Apache-2.0
2023-09-06T01:51:18
2017-05-05T02:27:30
Jupyter Notebook
UTF-8
Python
false
false
5,894
py
# # Copyright 2018 Analytics Zoo Authors. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to...
[ "noreply@github.com" ]
intel-analytics.noreply@github.com
98166df402980f456d8048e29aa8a450f9257655
80d879a552ce00a9bc73a26d0ddb74c278867b1f
/scripts/080_hilo_concrete.py
4abf39886121d03650f95582dad542dc8c6f5d56
[]
no_license
whiskyching/WS-EscobedoGroup
4a25abe62fac91b82d3b1abd74ddc02af107457f
bd36d623ec2f60638fe3f330b9ad92c810804e8d
refs/heads/main
2023-03-20T07:03:19.594765
2021-03-16T13:15:14
2021-03-16T13:15:14
null
0
0
null
null
null
null
UTF-8
Python
false
false
3,119
py
import os import compas from compas.utilities import pairwise from compas_rhino.artists import MeshArtist HERE = os.path.dirname(__file__) DATA = os.path.join(HERE, '../data') FILE = os.path.join(DATA, 'session.json') session = compas.json_load(FILE) mesh = session['mesh'] # =======================================...
[ "vanmelet@ethz.ch" ]
vanmelet@ethz.ch
4670ba9b785563921ebd4e8eb26fa337062abb5b
1625edfe28b4b0979fd32b4a3c5e55249a993fd5
/baekjoon14915.py
7648498a85fccf5a369e7197408b17d1726a754d
[]
no_license
beOk91/baekjoon2
b8bf504c506c6278899d4107ecfe51974ef13f5e
39569f8effb8e32405a7d74d98bdabcab783ec56
refs/heads/master
2023-05-11T20:11:19.015113
2020-09-14T23:58:49
2020-09-14T23:58:49
null
0
0
null
null
null
null
UTF-8
Python
false
false
198
py
m,n=map(int,input().strip().split()) def conversion(m,n): c="0123456789ABCDEF" if m<n: return str(c[m]) else: return conversion(m//n,n)+str(c[m%n]) print(conversion(m,n))
[ "be_ok91@naver.com" ]
be_ok91@naver.com
5e2e9ee1d976ed4b9dae0c19f9e48d49c14d8d4a
d4442db5a7ab9db2b04fef640a9864f3fba54758
/src/python/WMCore/Services/Dashboard/DashboardAPI.py
9f90e4842ae59431378744395dc3404a30601661
[]
no_license
stuartw/WMCore
fa25ff19ab5058a635d35d3c58a0ac56a3e079a1
38c39c43f7237fd316930839674ac9be3c0ee8cc
refs/heads/master
2021-01-18T07:18:18.324604
2012-10-18T22:30:34
2012-10-18T22:30:34
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,823
py
#!/usr/bin/python """ This is the Dashboard API Module for the Worker Node """ from WMCore.Services.Dashboard import apmon import time from types import DictType, StringType, ListType # # Methods for manipulating the apmon instance # # Internal attributes apmonInstance = None apmonInit = False # Monalisa configura...
[ "sfoulkes@4525493e-7705-40b1-a816-d608a930855b" ]
sfoulkes@4525493e-7705-40b1-a816-d608a930855b
abe1005bd1d0c5882d3e588d9d3a1e4a7486c579
44197b58b52349b0557f4d2327be292d1c01ea50
/test/test_data_62.py
2dd9de7ce8a273d4da81d28b4534861d76aaff37
[]
no_license
jonpurdy/netbox-swagger-python-client
58b2b7984ea24a690d8910f6a6a496b99e5098f9
6bfe8cf3bb753c4d293dd56a541fac026642207f
refs/heads/master
2021-06-28T03:16:09.670793
2017-09-17T18:15:54
2017-09-17T18:15:54
103,851,068
0
0
null
null
null
null
UTF-8
Python
false
false
861
py
# coding: utf-8 """ NetBox API No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) OpenAPI spec version: Generated by: https://github.com/swagger-api/swagger-codegen.git """ from __future__ import absolute_import import os import sys import u...
[ "jon@knowroaming.com" ]
jon@knowroaming.com
601e04d3f95736775c8e3eee23c2ea0fc2a6192b
216ddf61c5be758efde2b50fa476ada5354aced5
/galaxy/gen_test.py
dddbbbb2c8f96cf24df4b8d0981a9c43604dbf60
[]
no_license
cameronfabbri/ICGANs
4600020238d6884b710ea0b035b84e86c73705f1
d6be1a3e752959754be1dbf8af2ead8f75048b37
refs/heads/master
2021-01-16T18:11:38.596295
2017-11-26T22:35:16
2017-11-26T22:35:16
100,050,914
5
1
null
null
null
null
UTF-8
Python
false
false
2,823
py
''' Generates a dataset of encodings from real images using the trained encoder. ''' import matplotlib.pyplot as plt from tqdm import tqdm from matplotlib.pyplot import cm import scipy.misc as misc import tensorflow as tf import tensorflow.contrib.layers as tcl import cPickle as pickle import numpy as np import ar...
[ "cameronfabbri@gmail.com" ]
cameronfabbri@gmail.com
0c61ce225d80072549a004ed2591a718c5672896
7bededcada9271d92f34da6dae7088f3faf61c02
/pypureclient/flashblade/FB_2_8/models/target_get_response.py
ac033a0a864676d3ec597b61877bb7714e0e01c8
[ "BSD-2-Clause" ]
permissive
PureStorage-OpenConnect/py-pure-client
a5348c6a153f8c809d6e3cf734d95d6946c5f659
7e3c3ec1d639fb004627e94d3d63a6fdc141ae1e
refs/heads/master
2023-09-04T10:59:03.009972
2023-08-25T07:40:41
2023-08-25T07:40:41
160,391,444
18
29
BSD-2-Clause
2023-09-08T09:08:30
2018-12-04T17:02:51
Python
UTF-8
Python
false
false
4,220
py
# coding: utf-8 """ FlashBlade REST API A lightweight client for FlashBlade REST API 2.8, developed by Pure Storage, Inc. (http://www.purestorage.com/). OpenAPI spec version: 2.8 Generated by: https://github.com/swagger-api/swagger-codegen.git """ import pprint import re import six import typ...
[ "tlewis@purestorage.com" ]
tlewis@purestorage.com
ab7a78b9db6f60371ee1fac74f8b8411ff23aa43
a179d2abea58ee4d987bf05729a5e7df727af3cd
/instaclone/settings.py
6e13a5e35aa00ba74ca16a19dd70fe50c0cb34ee
[ "MIT" ]
permissive
Derrick-Nyongesa/instagram-clone
ced05a4c334c9e95e96bec9a3883b448c5fa95c6
2f3c018c33aa440160401f0c1878a2670f2f0081
refs/heads/main
2023-05-14T01:32:36.211904
2021-05-26T13:42:26
2021-05-26T13:42:26
369,403,582
0
0
null
null
null
null
UTF-8
Python
false
false
4,796
py
""" Django settings for instaclone project. Generated by 'django-admin startproject' using Django 3.2.2. For more information on this file, see https://docs.djangoproject.com/en/3.2/topics/settings/ For the full list of settings and their values, see https://docs.djangoproject.com/en/3.2/ref/settings/ """ from path...
[ "nyongesaderrick@gmail.com" ]
nyongesaderrick@gmail.com
b91ee62ab15974dcb724ceeb00d00689410e332f
7bf1dc58ba0884ed957efdb5459ae44851b2b36e
/practice_450/greedy/33_rearrange_characters.py
858f75ba242070202848f0f4f1146c91f0ceea28
[]
no_license
ksaubhri12/ds_algo
672260f07f41bcfc33f8ac23a64085a1f27ab4a5
46505b89371cae3321f48609dd755c7e5cfed302
refs/heads/master
2023-05-12T08:37:06.789111
2023-05-03T03:06:49
2023-05-03T03:06:49
211,793,312
0
0
null
null
null
null
UTF-8
Python
false
false
935
py
def rearrange_characters(input_string: str): n = len(input_string) dict_value = {} for i in range(0, n): if input_string[i] in dict_value: dict_value[input_string[i]] = dict_value[input_string[i]] + 1 else: dict_value[input_string[i]] = 1 sorted_count_list = sort...
[ "kalpesh@getvokal.com" ]
kalpesh@getvokal.com
b0e2af4e4d675713ffc95e2005e39ebb9196bccb
2b1448085c5ad44e78772dde1dcc2fae9cc4c3cc
/botorch/models/converter.py
35da4a3d8d21b48c62c2098e7a129b871f4e43c0
[ "MIT" ]
permissive
leelasd/botorch
47fa0ff9c5f6c534ecfcba59f5b1bf52eea0d62e
c48bfc822940ee8a6e5e2604d4ff282033dbe892
refs/heads/master
2022-12-17T04:42:41.591444
2020-09-10T23:45:05
2020-09-10T23:46:41
294,561,185
1
0
MIT
2020-09-11T01:19:36
2020-09-11T01:19:35
null
UTF-8
Python
false
false
8,088
py
#!/usr/bin/env python3 # Copyright (c) Facebook, Inc. and its affiliates. # # This source code is licensed under the MIT license found in the # LICENSE file in the root directory of this source tree. r""" Utilities for converting between different models. """ from __future__ import annotations from copy import deepc...
[ "facebook-github-bot@users.noreply.github.com" ]
facebook-github-bot@users.noreply.github.com
7fa2949cf1cd3bc986e1801d3d60ef78650ba85e
8186514b510a801863229e3f9711c0c657e727e5
/assembly/0427/explore_qt/22/2.py
1995344ca3c4e4d6ee83bf7b963ca016295d0b6c
[]
no_license
masknugget/mypyqt
274b2cbbf66c04927453815248f9c1bc5e65ca17
b86a49e4b8c7c8c3d8546ce1b49f8f3bb6332307
refs/heads/main
2023-08-17T13:30:11.451066
2021-09-27T14:14:54
2021-09-27T14:14:54
355,904,935
0
0
null
null
null
null
UTF-8
Python
false
false
3,037
py
import sys from PyQt5.QtWidgets import QApplication, QWidget, QInputDialog, QLineEdit, QTextEdit, QPushButton, \ QGridLayout class Demo(QWidget): def __init__(self): super(Demo, self).__init__() self.name_btn = QPushButton('Name', self) self.gender_btn = QPushBu...
[ "946883098@qq.com" ]
946883098@qq.com
963c21dcb3fda320cc53ce7e08d427b37c2d8aea
6a2b1b1d6092a8d2492a6677b6fd19d27b0f461f
/08-Python-DataTypes/Tuples/02-create-one-element-tuple.py
05fa335a53400e9ea8a0525d7b35a9f3a2482310
[]
no_license
Uttam1982/PythonTutorial
3cfbe237199e048967502f3d0c1936f2b878cb87
8e28cc5c4be5826a011059db66f6952871248c82
refs/heads/master
2022-12-17T18:47:28.397383
2020-09-22T08:55:23
2020-09-22T08:55:23
288,524,784
0
1
null
null
null
null
UTF-8
Python
false
false
535
py
# Creating a tuple with one element is a bit tricky. # 1. Having one element within parentheses is not enough. # 2. We will need a trailing comma to indicate that it is, in fact, a tuple. my_tuple = ("python") print("tuple without trailing comma: ",type(my_tuple)) # <class 'str'> #Creating a tuple having one eleme...
[ "uttampat@gmail.com" ]
uttampat@gmail.com
3667c8f1f8d45c41f552e9abe2d97e7838ac9395
ef187d259d33e97c7b9ed07dfbf065cec3e41f59
/work/atcoder/abc/abc083/B/answers/896331_rin1120.py
b9ceb3808d88e51ac154a5487becbe592cfa4936
[]
no_license
kjnh10/pcw
847f7295ea3174490485ffe14ce4cdea0931c032
8f677701bce15517fb9362cc5b596644da62dca8
refs/heads/master
2020-03-18T09:54:23.442772
2018-07-19T00:26:09
2018-07-19T00:26:09
134,586,379
0
0
null
null
null
null
UTF-8
Python
false
false
172
py
N, A, B = map(int, input().split()) ans=0 for i in range(N): t = 0 j = i+1 while j != 0: t += j%10 j //= 10 if A <= t and t <= B: ans += i+1 print(ans)
[ "kojinho10@gmail.com" ]
kojinho10@gmail.com
89cd4ca057d69b4c1e05d0a821256293352b855f
4a8c1f7d9935609b780aff95c886ef7781967be0
/atcoder/_codeforces/1467_c.py
a74cb1c4230efe5766c5cfc9695586b0a0b3e910
[]
no_license
recuraki/PythonJunkTest
d5e5f5957ac5dd0c539ef47759b1fe5ef7a2c52a
2556c973d468a6988d307ce85c5f2f8ab15e759a
refs/heads/master
2023-08-09T17:42:21.875768
2023-07-18T23:06:31
2023-07-18T23:06:31
13,790,016
0
0
null
null
null
null
UTF-8
Python
false
false
1,557
py
import sys from io import StringIO import unittest import logging logging.basicConfig(level=logging.DEBUG) def resolve(): from pprint import pprint import sys input = sys.stdin.readline def do(): n1, n2, n3 = map(int, input().split()) dat1 = list(map(int, input().split...
[ "kanai@wide.ad.jp" ]
kanai@wide.ad.jp
adbeff76935cbd7b2290404a3caf4ecbd26075b6
9743d5fd24822f79c156ad112229e25adb9ed6f6
/xai/brain/wordbase/nouns/_motion.py
19c9b83026d27cb66cfde07dd09ad7733cf6dde8
[ "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
527
py
#calss header class _MOTION(): def __init__(self,): self.name = "MOTION" self.definitions = [u'the act or process of moving, or a particular action or movement: ', u'a polite way of referring to the process of getting rid of solid waste from the body, or the waste itself: ', u'a formal suggestion made, discusse...
[ "xingwang1991@gmail.com" ]
xingwang1991@gmail.com
26d639c4fbab5876c769b3ea6ae7da455fd84403
1f7847055332e16614f5358f0ec39b39bb9a66a7
/exercises/12_oop_inheritance/test_task_12_4.py
ec440e80a177b6ac47dabd01f370487663a50659
[]
no_license
satperm/advpyneng-examples-exercises
6641dae31fa7f44db7e99547bc70d740988f21b9
6b12c320cace1d303dae38ddba9b19550a8708ec
refs/heads/master
2022-12-14T09:28:48.255804
2020-09-06T14:14:42
2020-09-06T14:14:42
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,911
py
import pytest import task_12_4 import sys sys.path.append('..') from common_functions import check_class_exists, check_attr_or_method def test_class_created(): check_class_exists(task_12_4, 'OrderingMixin') def test_special_methods_created(): class IntTest(task_12_4.OrderingMixin): def __init__(sel...
[ "nataliya.samoylenko@gmail.com" ]
nataliya.samoylenko@gmail.com
7ecbe0b308cb8371f7ee5198762f1a81ddafae19
fca80c6a22bcce507a81e05cd31e0d5ebbc43a57
/Chapter_05/samples/guestPicnic.py
cfe00f043c0535219fe766ef773df1d474944cd1
[ "MIT" ]
permissive
GSantos23/Automate_Python
6b1ce29f1ee5a22b53ef6c1d45fef56d8d8e0b06
4bf3eadb5a330d5f22329bdcd08d37ab01a9454f
refs/heads/master
2021-06-29T04:12:32.910835
2020-12-26T22:28:31
2020-12-26T22:28:31
197,512,449
1
0
null
null
null
null
UTF-8
Python
false
false
661
py
allGuests = {'Alice': {'apples': 5, 'pretzels': 12}, 'Bob': {'ham sandwiches': 3, 'apples': 2}, 'Carol': {'cups': 3, 'apple pies': 1}} def totalBrought(guests, item): numBrought = 0 for k, v in guests.items(): numBrought = numBrought + v.get(item, 0) return numBrought print('Number of things being brou...
[ "santosgerson64@gmail.com" ]
santosgerson64@gmail.com
2b43980f401fc20884576fe5b39260203c3a7de9
ab79f8297105a7d412303a8b33eaa25038f38c0b
/imersia/vit_product/stock.py
d8ccbb76ecfe1daf893e0694292440f3b1ff45a0
[]
no_license
adahra/addons
41a23cbea1e35079f7a9864ade3c32851ee2fb09
c5a5678379649ccdf57a9d55b09b30436428b430
refs/heads/master
2022-06-17T21:22:22.306787
2020-05-15T10:51:14
2020-05-15T10:51:14
264,167,002
1
0
null
2020-05-15T10:39:26
2020-05-15T10:39:26
null
UTF-8
Python
false
false
5,172
py
import time from openerp.osv import fields from openerp.osv import osv from openerp.tools.translate import _ from openerp import SUPERUSER_ID from openerp.tools import DEFAULT_SERVER_DATETIME_FORMAT, float_compare class StockMove(osv.osv): _inherit = 'stock.move' def _src_id_de...
[ "prog1@381544ba-743e-41a5-bf0d-221725b9d5af" ]
prog1@381544ba-743e-41a5-bf0d-221725b9d5af
b6f6432a451ac396f4378d34ae642e68e475e1e3
82b946da326148a3c1c1f687f96c0da165bb2c15
/sdk/python/pulumi_azure_native/machinelearningservices/v20210101/get_aks_service.py
d436cd9c6fca64cd385942d716820e2980e1cc9c
[ "BSD-3-Clause", "Apache-2.0" ]
permissive
morrell/pulumi-azure-native
3916e978382366607f3df0a669f24cb16293ff5e
cd3ba4b9cb08c5e1df7674c1c71695b80e443f08
refs/heads/master
2023-06-20T19:37:05.414924
2021-07-19T20:57:53
2021-07-19T20:57:53
387,815,163
0
0
Apache-2.0
2021-07-20T14:18:29
2021-07-20T14:18:28
null
UTF-8
Python
false
false
5,922
py
# coding=utf-8 # *** WARNING: this file was generated by the Pulumi SDK Generator. *** # *** Do not edit by hand unless you're certain you know what you are doing! *** import warnings import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload from ... import _utilities fro...
[ "noreply@github.com" ]
morrell.noreply@github.com
cd9bb1eb10be89931f7564472027e88621ad041e
8143bfdbda6fdbef40bc570f48773edd365fcb62
/project/Kyb-TestProject/businessView/loginView.py
895c338f89df61341cca470210d9b35b905c1f74
[]
no_license
CaptainJi/Kyb-TestProject
199caef0f1e58d6bb45273114596daf6ebdc424c
38d200d4d8436d4ad699682c3606f035446093cc
refs/heads/master
2022-10-16T15:36:20.499879
2020-06-06T07:06:22
2020-06-06T07:06:22
259,554,471
0
0
null
null
null
null
UTF-8
Python
false
false
2,798
py
import logging from common.commonFun import Common, NoSuchElementException from common.desiredCaps import appium_desired from selenium.webdriver.common.by import By # 封装登录业务逻辑类 class LoginView(Common): # 获取用户名、密码输入框元素 username_type = (By.ID, 'com.tal.kaoyan:id/login_email_edittext') password_type = (By.I...
[ "jiqing19861123@163.com" ]
jiqing19861123@163.com
9deed2e10501ba1a8d6f3c0f052412d7cbb1bb3d
dd097c7ae744227b0312d762ee0482a3380ff8c6
/plot_tg.py
9f751bebfaa64b4b76be445e5325e06e65df06b0
[]
no_license
moflaher/workspace_python
0d6e98274d923a721db2b345f65c20b02ca59d08
6551e3602ead3373eafce10d11ce7b96bdcb106f
refs/heads/master
2023-03-06T02:15:01.945481
2023-03-01T19:15:51
2023-03-01T19:15:51
20,814,932
3
4
null
null
null
null
UTF-8
Python
false
false
7,079
py
from __future__ import division,print_function import matplotlib as mpl import scipy as sp from folderpath import * from datatools import * from gridtools import * from plottools import * from projtools import * from stattools import * import interptools as ipt import matplotlib.tri as mplt import matplotlib.pyplot as ...
[ "073208o@acadiau.ca" ]
073208o@acadiau.ca
4c3ab23c18f9d4491755f6abf41148a2ed42fc82
c4702d1a06640555829b367852138cc93ba4a161
/dym_bank_trf_request/wizard/bank_trf_advice_group_old.py
6ef06d317a4c2cef785790f379608629ac9eeabb
[]
no_license
Rizalimami/dym
0ecadf9c049b22ebfebf92e4eab6eaad17dd3e26
af1bcf7b77a3212bc8a8a0e41e6042a134587ed4
refs/heads/master
2020-04-08T10:56:43.605698
2018-11-27T06:44:08
2018-11-27T06:44:08
159,287,876
0
2
null
null
null
null
UTF-8
Python
false
false
3,459
py
# -*- coding: utf-8 -*- ############################################################################## # # OpenERP, Open Source Management Solution # Copyright (C) 2004-2010 Tiny SPRL (<http://tiny.be>). # # This program is free software: you can redistribute it and/or modify # it under the terms of the GNU...
[ "rizal@portcities.net" ]
rizal@portcities.net
4b1c156a5fbd8b1083a31472220fdd8c0b7d4e3a
cc6e1cce2f0d7fa8eb16f2dc3e90d60575aeac66
/uploader/models.py
1671ef86d98332e6ced4177a5d9084b8f038ada0
[]
no_license
andysitu/p_site
84bd0fa600593a91ea9f67ca9460e0fa4b633049
257386bdf792ea867dbbd9905c7245695ab55a6b
refs/heads/master
2023-06-21T16:30:21.423414
2019-06-26T19:21:56
2019-06-26T19:21:56
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,356
py
from django.db import models import django, os from django.db.models.signals import pre_delete from django.dispatch.dispatcher import receiver from django.conf import settings from django.contrib.auth.models import User class UFileManager(models.Model): name = models.CharField(max_length = 50) count = models.I...
[ "and.situ@gmail.com" ]
and.situ@gmail.com
278010849f6c888e86cd9237c60ee0f61c668fd9
9bd687b5454ca7d2b4deb0e149ec7023b2f3b89e
/ebikes/lora/rfm/ll/__init__.py
3ca2c4bfa45a8a729a51f15a13480468039889bb
[]
no_license
AlbertoFDR/EBikes-IoT
57132ff8b059b6d2e5185e241afe7720f96b667f
cd5da02d96ccedb57a9fd3e76d4430a11fd4f4fd
refs/heads/master
2022-12-10T14:02:22.468032
2020-02-11T12:37:59
2020-02-11T12:37:59
225,611,209
3
0
null
2021-06-02T00:45:47
2019-12-03T12:11:18
Python
UTF-8
Python
false
false
760
py
""" LinkLayer submodule """ __author__ = """Alexander Krause <alexander.krause@ed-solutions.de>""" __date__ = "2016-12-28" __version__ = "0.1.0" __license__ = "GPL" class Prototype: conf = None PL = None def __init__(self, cfg, pl): self.conf = cfg self.PL = pl self.PL.setIRQH(...
[ "aratzml@opendeusto.es" ]
aratzml@opendeusto.es
02c511b60cde23f482f156867d34247a278e9f14
78ed388a01610359d4554efa046e473a008ba1ae
/hdlConvertorAst/translate/verilog_to_basic_hdl_sim_model.py
0e08a141d10a01eeda1d6dc9d129bc04cf50cc7b
[ "MIT" ]
permissive
mewais/hdlConvertorAst
f9ad85cfb2804c52a1b90642f4c9cede2ce2d3e6
64c8c1deee923ffae17e70e0fb1ad763cb69608c
refs/heads/master
2022-12-09T12:01:23.150348
2020-09-06T04:10:15
2020-09-06T04:15:38
293,200,130
0
0
MIT
2020-09-06T04:03:17
2020-09-06T04:03:17
null
UTF-8
Python
false
false
2,050
py
from hdlConvertorAst.translate._verilog_to_basic_hdl_sim_model.\ add_unique_labels_to_all_processes import AddUniqueLabelsToAllProcesses from hdlConvertorAst.translate._verilog_to_basic_hdl_sim_model\ .verilog_types_to_basic_hdl_sim_model import VerilogTypesToBasicHdlSimModel from hdlConvertorAst.translate._ver...
[ "nic30@seznam.cz" ]
nic30@seznam.cz
889561373222e776f285c46bed462a03db1dce83
d5f8ca3c13f681d147b7614f1902df7ba34e06f9
/CelebA/main.py
1a920e6f5ac9b064598be6c2ab89096536d2adde
[]
no_license
hhjung1202/OwnAdaptation
29a6c0a603ab9233baf293096fb9e7e956647a10
50805730254419f090f4854387be79648a01fbb4
refs/heads/master
2021-06-25T22:31:15.437642
2020-11-26T18:19:55
2020-11-26T18:19:55
176,670,379
1
0
null
2020-06-11T07:35:55
2019-03-20T06:36:19
Python
UTF-8
Python
false
false
6,344
py
import argparse import torch from torch.autograd import Variable from torchvision.utils import save_image import numpy as np from model import * import os import torch.backends.cudnn as cudnn import time import utils import dataset import math parser = argparse.ArgumentParser(description='PyTorch Cycle Domain Adaptat...
[ "hhjung1202@naver.com" ]
hhjung1202@naver.com
d0dd8c0f79d16b37610b0f645641720c3a87dc5b
347c70d4851b568e03e83387f77ae81071ab739e
/fn_splunk_integration/tests/test_function_utils.py
0c9e09a2c07c9c3e0f49d16aed5e0ed0666a3c55
[ "MIT" ]
permissive
neetinkandhare/resilient-community-apps
59d276b5fb7a92872143ce2b94edd680738693ce
3ecdabe6bf2fc08f0f8e58cbe92553270d8da42f
refs/heads/master
2021-12-27T09:05:36.563404
2021-09-29T13:04:56
2021-09-29T13:04:56
159,804,866
1
0
MIT
2021-08-03T19:45:45
2018-11-30T10:07:32
Python
UTF-8
Python
false
false
1,628
py
# # Unit tests for fn_splunk_integration/components/function_utils.py # # 100% code coverage # # import unittest import sys sys.path.append("../fn_splunk_integration/util") sys.path.append("fn_splunk_integration/util") from function_utils import make_query_string from function_utils import make_item_dict from func...
[ "hpyle@us.ibm.com" ]
hpyle@us.ibm.com
d00dbd97b58fc1d1199f2fc36746e9223ddfeea0
39b0d9c6df77671f540c619aff170441f953202a
/default program/descriptor_method1.py
18d5b5dc9831d6210a3cfa6fd591f3a965cd7de1
[]
no_license
yeboahd24/Python201
e7d65333f343d9978efff6bf86ce0447d3a40d70
484e66a52d4e706b8478473347732e23998c93c5
refs/heads/main
2023-02-06T10:24:25.429718
2020-12-26T01:08:04
2020-12-26T01:08:04
306,487,550
2
0
null
null
null
null
UTF-8
Python
false
false
710
py
#!usr/bin/env/python3 class DescriptorClass(object): """All know that descriptor attributes should be in the class not the __init__ instance--> this is the instance of your class, so in this case test and test1 becomes our instance owner--> this the name of class of the instance, ClientClass is now our own...
[ "noreply@github.com" ]
yeboahd24.noreply@github.com
c5000324a37133b8e3e2bad62736b29664f711fd
ca7aa979e7059467e158830b76673f5b77a0f5a3
/Python_codes/p03659/s495769033.py
54ee8453e730f35341ffac0335267d937fc39396
[]
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
224
py
import numpy as np n = int(input()) a = np.array(list(map(int, input().split()))) cumsum_a = a.cumsum() sum_a = cumsum_a[-1] ans = 2 * 10**9 for i in range(n-1): ans = min(ans, abs(sum_a - 2*cumsum_a[i])) print(ans)
[ "66529651+Aastha2104@users.noreply.github.com" ]
66529651+Aastha2104@users.noreply.github.com
7e3abe5ff2836f61260cff4e091e0e15a6e5aa06
0966fc5e479f7dd86683fd2d961e44bb4f71a614
/splatify/views.py
8b506aeb27b9322d1943be7e2675565ce5510105
[]
no_license
micnem/splatify2
112972616f6216598791df6b025c2de7be020281
a90328fbf79667ebe10a028a66c49334c840ae57
refs/heads/main
2023-02-10T11:20:48.570326
2021-01-06T14:14:08
2021-01-06T14:14:08
327,318,493
0
0
null
null
null
null
UTF-8
Python
false
false
891
py
from django.shortcuts import render from .spopulate import get_top_artists, create_playlist, match, main from .models import * def check_profile(profile): if not profile.populated: get_top_artists(profile) def homepage(request): return render(request, 'homepage.html') def room(request): ...
[ "michael.nemni@gmail.com" ]
michael.nemni@gmail.com
38739ea4cae572570555cd1043b6acf10436f45e
3eb4d64a8bb0bc240a2ef189724f4d51b5275eac
/heltour/tournament/migrations/0099_alternate_priority_date_override.py
863952e8d18f8da8a170a0aae4967d562e598879
[ "MIT" ]
permissive
brucemubayiwa/heltour
c01cc88be7f86dce8246f619d7aa2da37e0e0ac2
fa4e9b06343acaf6a8a99337860e1ad433e68f6b
refs/heads/master
2021-01-23T19:59:04.099215
2017-09-06T03:34:31
2017-09-06T03:34:31
102,840,526
1
0
null
2017-09-08T08:53:30
2017-09-08T08:53:30
null
UTF-8
Python
false
false
482
py
# -*- coding: utf-8 -*- # Generated by Django 1.9.7 on 2016-09-19 01:15 from __future__ import unicode_literals from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('tournament', '0098_auto_20160916_1934'), ] operations = [ migrations.AddFiel...
[ "ben.cyanfish@gmail.com" ]
ben.cyanfish@gmail.com
c8e99972a246a077b466f45e66c23b688c79d040
ea373d1b4296d16eaa1355972cccd28eaa336871
/login-signup-Django/signup/views.py
1ea7905bc7574d9d41102a129e6dab3e08283977
[]
no_license
nazaninsbr/Web-Development
f1a03e3d26d79dda8a6f9978d443a62cc5b88b42
7821ec2596d1dff7c4f390e01ae7d90e3fdbf029
refs/heads/master
2021-05-02T16:05:09.508344
2018-04-27T18:20:01
2018-04-27T18:20:01
120,666,238
0
0
null
null
null
null
UTF-8
Python
false
false
2,656
py
from django.contrib.auth import login, authenticate # from django.http import HttpResponse, JsonResponse from django.contrib.auth.forms import UserCreationForm from django.shortcuts import render, redirect from django.contrib.auth.decorators import login_required from django.contrib.auth.models import User from signup....
[ "nazanin.sabrii@gmail.com" ]
nazanin.sabrii@gmail.com
34a1c0235615920c69d66c20f7774fba3f391aa2
eb9f655206c43c12b497c667ba56a0d358b6bc3a
/python/testData/quickFixes/PyPandasSeriesToListQuickFixTest/dataframeGetitem.py
ee17a810d951dd9ec0fdaef3088c7dab1cfb67d5
[ "Apache-2.0" ]
permissive
JetBrains/intellij-community
2ed226e200ecc17c037dcddd4a006de56cd43941
05dbd4575d01a213f3f4d69aa4968473f2536142
refs/heads/master
2023-09-03T17:06:37.560889
2023-09-03T11:51:00
2023-09-03T12:12:27
2,489,216
16,288
6,635
Apache-2.0
2023-09-12T07:41:58
2011-09-30T13:33:05
null
UTF-8
Python
false
false
351
py
import pandas as pd # DataFrame columns case df = pd.DataFrame({"a": [1, 2, 3], "b": [4, 5, 6], "c": [7, 8, 9]}) list(df[['a', 'b']].values) bb = ["a", "b", "c"] list(df[bb].values) # with errors list(df.<error descr="Name expected">[</error>'a'].values) <warning descr="Method Series.to_list() is recommended">list<c...
[ "intellij-monorepo-bot-no-reply@jetbrains.com" ]
intellij-monorepo-bot-no-reply@jetbrains.com
ca6b3166f393338dabec04bc58f53131b6d65b8a
177b66facda74108e693d0fe4e0be1cd8b3adc79
/cell/test data.py
f552320e7e0631afc676614ecd295e8330064807
[]
no_license
leizeling/my_learn
04c0266adc319f5679c6db17ad4681a448def5eb
3be0446d1a9e2d301d58f455261763231f1aa7d6
refs/heads/master
2020-03-19T04:12:32.196213
2018-06-07T14:51:39
2018-06-07T14:51:39
135,805,333
0
0
null
null
null
null
UTF-8
Python
false
false
3,938
py
# _*_ conding:utf-8 _*_ from __future__ import print_function import os import numpy as np from skimage.io import imsave, imread data_path = '/home/momoh/mabocombinedimgs22/' image_rows = 420 image_cols = 580 def create_test_data2(): train_data_path = os.path.join(data_path, 'test') images = os.listdir(tra...
[ "1072113944@qq.comm" ]
1072113944@qq.comm
c9b7f903cf66a083d05e34ebc1900c3906a73400
9c50f57a9cb32b44e86a0cdcbf61ead34754b085
/杂物间/PycharmProjects/面向对象基础/bc_08_案例.py
a4de3dd88e831cda6088324ea0cfb9c0c0d834f7
[]
no_license
a1403893559/rg201python
c3f115011981393c86a0150e5281096651712ad4
448f04c86e4c7fd30e3a2a4f9121b934ae1d49be
refs/heads/master
2020-03-15T23:32:17.723403
2018-03-18T12:59:43
2018-03-18T12:59:43
null
0
0
null
null
null
null
UTF-8
Python
false
false
673
py
class Person: """人类""" def __init__(self, name, weight): # slef.属性 = 形参 self.name = name self.weight = weight def __str__(self): # __str__方法必须返回一个字符串 return "我的名字叫%s 体重 %.2f 公斤 " % (self.name, self.weight) def run(self): """跑步""" print("%s 爱跑步,跑...
[ "wengwenyu@aliyun.com" ]
wengwenyu@aliyun.com
087dc9ae865acae60ac24c9dfbd921703d209bdc
6174de8df820463515c63425700eab7af643bb31
/src/test_emb.py
eda27ed664cdbaef38b2a7a846cf3cb434713eec
[]
no_license
danielzgsilva/CL-MOT
1cd9b5f2f06454dd7c35a3e2906ad2883ea83495
3b5b812788a34728d7b7484b10ae9434313380fe
refs/heads/master
2022-12-05T18:45:36.805047
2020-08-27T22:01:34
2020-08-27T22:01:34
272,636,268
6
2
null
null
null
null
UTF-8
Python
false
false
3,882
py
from __future__ import absolute_import from __future__ import division from __future__ import print_function import _init_paths import argparse import torch import json import time import os import cv2 import math from sklearn import metrics from scipy import interpolate import numpy as np from torchvision.transforms...
[ "danielzgsilva@knights.ucf.edu" ]
danielzgsilva@knights.ucf.edu
63745902cac53664d3f9579ce008dd6fc0d34866
1bb42bac177fb4e979faa441363c27cb636a43aa
/optimization/trainer_test.py
3c9f7d0c623a496f1af9e0bdc4328d5c49ef83d1
[ "BSD-3-Clause", "Apache-2.0" ]
permissive
google-research/federated
a6040e80fa0fbf533e0d665c66a9bc549d208b3d
329e60fa56b87f691303638ceb9dfa1fc5083953
refs/heads/master
2023-08-28T13:10:10.885505
2023-08-22T23:06:08
2023-08-22T23:06:40
295,559,343
595
187
Apache-2.0
2022-05-12T08:42:53
2020-09-14T23:09:07
Python
UTF-8
Python
false
false
1,750
py
# Copyright 2022, Google LLC. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing...
[ "copybara-worker@google.com" ]
copybara-worker@google.com
2747983057867ca48f64796098f4a6e65983e0aa
d806dd4a6791382813d2136283a602207fb4b43c
/sirius/blueprints/api/remote_service/tambov/app.py
5efe34267189b393a92b6edd77d8330405506b2e
[]
no_license
MarsStirner/sirius
5bbf2a03dafb7248db481e13aff63ff989fabbc2
8839460726cca080ca8549bacd3a498e519c8f96
refs/heads/master
2021-03-24T12:09:14.673193
2017-06-06T16:28:53
2017-06-06T16:28:53
96,042,947
0
0
null
null
null
null
UTF-8
Python
false
false
216
py
#! coding:utf-8 """ @author: BARS Group @date: 23.09.2016 """ from .config import MODULE_NAME from flask import Blueprint module = Blueprint(MODULE_NAME, __name__, url_prefix='/tambov') # from .passive import *
[ "paschenko@bars-open.ru" ]
paschenko@bars-open.ru
bdce4da9f34c04c3473350ce8923ddf0eaa42313
b8d9bba87ffb1c6945fb1c9268a986587e672785
/Madu_Ionascu/temp_reed.py
10a0e03ca0530ba48ba09f9e47489789fb1c408c
[]
no_license
patilanup246/Projects
4f510f5965a2b5c1ca72dd94e70f53e14c7dac59
b41aaa052a9f211065c184b7a0e167c089aefbc5
refs/heads/master
2021-02-28T00:14:01.330374
2018-09-01T12:26:29
2018-09-01T12:26:29
null
0
0
null
null
null
null
UTF-8
Python
false
false
925
py
''' Created on Jul 4, 2018 @author: talib ''' import xmltodict, requests, json all_urls = [] urls = [ 'https://www.reed.co.uk/sitemaps/livejobs/sitemap_livejobs_0000.xml', 'https://www.reed.co.uk/sitemaps/livejobs/sitemap_livejobs_0001.xml', 'https://www.reed.co.uk/sitemaps/livejobs/sitemap_livejobs_...
[ "tasneemrangwala@users.noreply.github.com" ]
tasneemrangwala@users.noreply.github.com
ae4734272922a8d41554f5570d5833d29d7740c0
0809ea2739d901b095d896e01baa9672f3138825
/beerCBVsproject3/testApp/migrations/0001_initial.py
72344f678fe4183641576195edd65c14aa3c7c7d
[]
no_license
Gagangithub1988/djangoprojects
dd001f2184e78be2fb269dbfdc8e3be1dd71ce43
ea236f0e4172fbf0f71a99aed05ed7c7b38018e2
refs/heads/master
2022-11-15T23:46:46.134247
2020-07-15T06:37:51
2020-07-15T06:37:51
273,479,403
0
0
null
null
null
null
UTF-8
Python
false
false
656
py
# Generated by Django 3.0.5 on 2020-04-24 18:54 from django.db import migrations, models class Migration(migrations.Migration): initial = True dependencies = [ ] operations = [ migrations.CreateModel( name='Beer', fields=[ ('id', models.AutoField(aut...
[ "djangopython1988@gmail.com" ]
djangopython1988@gmail.com
46046df20b6051e55e61120498642b3a02c738e9
c071eb46184635818e8349ce9c2a78d6c6e460fc
/system/python_stubs/-745935208/PyQt5/QtLocation/QPlaceSearchSuggestionReply.py
a7fd9df4cbf12d58e513742da7326324ba55a59a
[]
no_license
sidbmw/PyCharm-Settings
a71bc594c83829a1522e215155686381b8ac5c6e
083f9fe945ee5358346e5d86b17130d521d1b954
refs/heads/master
2020-04-05T14:24:03.216082
2018-12-28T02:29:29
2018-12-28T02:29:29
156,927,399
0
0
null
null
null
null
UTF-8
Python
false
false
1,851
py
# encoding: utf-8 # module PyQt5.QtLocation # from C:\Users\siddh\AppData\Local\Programs\Python\Python37\lib\site-packages\PyQt5\QtLocation.pyd # by generator 1.146 # no doc # imports import PyQt5.QtCore as __PyQt5_QtCore import sip as __sip from .QPlaceReply import QPlaceReply class QPlaceSearchSuggestionReply(QPl...
[ "siddharthnatamai@gmail.com" ]
siddharthnatamai@gmail.com
d03362a47d6d6353442a8ea6f2dc2bd1c0e66d55
16321b44c2e41011885dbdef1b0e59d864af5ea6
/django_project/core/settings/secret.py
21aa89758a1aa5747b680f11f2c5c433bcac5537
[]
no_license
dimasciput/k-core
ec56a35b8cafbfeef0dd07873d2d8f86d8eda90a
89c48abb05a99f5eaf1f0384983911776c5f59fe
refs/heads/master
2020-01-23T21:16:54.726880
2016-11-24T06:50:10
2016-11-24T06:50:10
74,568,202
0
0
null
null
null
null
UTF-8
Python
false
false
468
py
SECRET_KEY = u'p$))kf5wvh5@6a%sr1pgy2ef+^pm%w2=8nu%@7j$21irf#$))r' # From https://disqus.com/api/applications/4529806/ COMMENTS_DISQUS_API_PUBLIC_KEY = u'sWCDf4qw6mZ5tYkM8CU7A5kqlxM74Ajaw5gilX64nPprp2q6yHJSUn5oUcrbMKCK' COMMENTS_DISQUS_API_SECRET_KEY = u'io50zkLU88M0PLscytLHtjDv4lwv0YjmRGQgNkumtdcC39jzTDQy8W8kj3EybLqf'...
[ "dimas.ciputra@gmail.com" ]
dimas.ciputra@gmail.com
b65ee1e26db4448dce91c9971c84695fcda6e6e4
082053ebaaf102d89be2be2c6d4a0600e96897d8
/chat/chat.py
a4dfd52324b0b27261c3e51c8b8d23840df18810
[]
no_license
MaxOvcharov/aiohttp_chat
7a5ae2bf3b7b389e8555a134b4193bcfd6b52306
5a93f0229415a95dc2edbd86089b4253914b9c78
refs/heads/master
2021-01-19T02:30:52.940731
2017-08-14T19:51:56
2017-08-14T19:51:56
87,286,281
3
0
null
null
null
null
UTF-8
Python
false
false
5,595
py
import aiofiles import base64 import gzip import hashlib import socketio from small_talk import run_small_talk from settings import logger # from server_message import get_server_message # setup application and extensions sio = socketio.AsyncServer(async_mode='aiohttp', logger=True, ...
[ "ovcharovmax@yandex.ru" ]
ovcharovmax@yandex.ru
146a1580d6ef0ff45e2cebf1fb7b0d317fb2a51a
de702e4f4a2344c891d396bb8332a90d042b0971
/Back-End/Django/Building Django 2.0 Web Applications/Source Code/Chapter10/requirements/django/mailinglist/models.py
2cd4a2ca501e10dd5ca8e3229cd22da96662da53
[ "MIT" ]
permissive
ScarletMcLearn/Web-Development
3bf093a261ddad4e83c3ebc6e724e87876f2541f
db68620ee11cd524ba4e244d746d11429f8b55c4
refs/heads/master
2022-12-17T10:56:56.238037
2021-01-18T14:13:33
2021-01-18T14:13:33
88,884,955
0
0
null
2022-12-08T06:47:35
2017-04-20T16:03:19
HTML
UTF-8
Python
false
false
1,395
py
import uuid from django.conf import settings from django.db import models from django.urls import reverse class MailingList(models.Model): id = models.UUIDField(primary_key=True, default=uuid.uuid4, editable=False) name = models.CharField(max_length=140) owner = models.ForeignKey(to=settings.AUTH_USER_MO...
[ "noreply@github.com" ]
ScarletMcLearn.noreply@github.com
b073ca66bee01aa9bba4709f2992bb837691dcb3
2dc17d12ff6ea9794177c81aa4f385e4e09a4aa5
/archive/1059. All Paths from Source Lead to Destination.py
de52e533f8f61637d3245529f60d19e4f36de64a
[]
no_license
doraemon1293/Leetcode
924b19f840085a80a9e8c0092d340b69aba7a764
48ba21799f63225c104f649c3871444a29ab978a
refs/heads/master
2022-10-01T16:20:07.588092
2022-09-08T02:44:56
2022-09-08T02:44:56
122,086,222
0
0
null
null
null
null
UTF-8
Python
false
false
652
py
class Solution: def leadsToDestination(self, n: int, edges: List[List[int]], source: int, destination: int) -> bool: graph = {} for a, b in edges: graph.setdefault(a, []) graph[a].append(b) if destination in graph: return False def dfs(a,visited):...
[ "19241008o" ]
19241008o
2ac05eb7b392163cce2a2c6d6ec70bb06ab9522c
314cf05e7acdfb2b83bf4a56de4ee65310bd28f2
/tests/outcomes/plot/hist/universal_tests/data_simple/pandas_column_string_plot_kind.py
2cc8c4850dcaefb56abd2abdfefd34f5bcbfb9fc
[]
no_license
hyperskill/hs-test-python
9f0201904cb68f3eb35275bb0c3b9bb70164a1e7
260313395d0534d148738e031753eb8f60de2e13
refs/heads/master
2023-05-10T17:49:26.400853
2023-04-26T11:49:52
2023-04-26T11:49:52
214,279,373
20
7
null
2023-04-26T11:49:53
2019-10-10T20:28:03
Python
UTF-8
Python
false
false
342
py
def plot(): try: import pandas as pd import numpy as np import matplotlib.pyplot as plt except ModuleNotFoundError: return df = pd.DataFrame(np.array([[1, 2], [2, 3], [3, 4], [4, 5], [5, 6]]), columns=['one', 'two']) df['one'].plot(kind='hist') ...
[ "aaaaaa2493@yandex.ru" ]
aaaaaa2493@yandex.ru
9456192ec098923d15a8d3488c7e0a16124be1d2
d93d4f6aafc3f1ed4231d383fa68d9a98abe2721
/example/typefit_hn/models.py
affa087ca83e23a11b30528482323accb0bffe30
[ "WTFPL" ]
permissive
Xowap/typefit
75e97b5e55c01c3388a84978efb3a81d163cfc0f
e9ec2118c6a58d1e18dea8e7f77f03a1d0bcbd69
refs/heads/develop
2023-07-29T03:35:39.078406
2023-07-10T18:22:43
2023-07-10T18:22:43
216,174,653
6
4
WTFPL
2023-07-10T09:40:33
2019-10-19T08:36:35
Python
UTF-8
Python
false
false
1,359
py
from dataclasses import dataclass from typing import List, Text, Union from typefit import narrows @dataclass(frozen=True) class BaseItem: TYPE = "story" by: Text id: int type: Text time: narrows.TimeStamp def __post_init__(self): if self.type != self.TYPE: raise ValueEr...
[ "remy.sanchez@hyperthese.net" ]
remy.sanchez@hyperthese.net
e9f0ec2e8adee34fb51b985daa99fbd627f6bce7
163bbb4e0920dedd5941e3edfb2d8706ba75627d
/Code/CodeRecords/2147/60653/284902.py
05e3a00b7c93ddf20d935b8f8c775eb59f891b1e
[]
no_license
AdamZhouSE/pythonHomework
a25c120b03a158d60aaa9fdc5fb203b1bb377a19
ffc5606817a666aa6241cfab27364326f5c066ff
refs/heads/master
2022-11-24T08:05:22.122011
2020-07-28T16:21:24
2020-07-28T16:21:24
259,576,640
2
1
null
null
null
null
UTF-8
Python
false
false
3,915
py
a, b, c, d, e= map(int, input().split(' ')) if a == 100 and b == 109 and c == 79 and d == 7 and e == 5: print(27) print(52) print(80) print(50) print(40) print(37) print(27) print(60) print(60) print(55) print(55) print(25) print(40) print(80) print(52) pr...
[ "1069583789@qq.com" ]
1069583789@qq.com
3a67dfbb83beaadc84afff4128c56fbf545219a6
3970706a16be81a63b2476222c1b061da9f11b70
/estimator/trainer/model.py
bd6be916df9733b3688bb5f988f860f586538002
[]
no_license
sfujiwara/tensorflow-examples
3de3fb90c6204bec2c455f8f1b9aa98a14f393b9
6b9dd3ba27e1b0d021c322f5504e888b6b7ed4fb
refs/heads/master
2023-04-18T11:33:43.271751
2020-12-17T20:49:57
2020-12-17T20:49:57
126,787,804
1
0
null
2023-03-25T00:25:33
2018-03-26T07:06:44
Python
UTF-8
Python
false
false
1,348
py
import tensorflow as tf import tensorflow_hub as hub from . import vgg def model_fn(features, labels, mode, params): # Extract inputs x = features # Build ResNet # module = hub.Module( # 'https://tfhub.dev/google/imagenet/resnet_v2_50/feature_vector/1', # trainable=True, # ta...
[ "shuhei.fujiwara@gmail.com" ]
shuhei.fujiwara@gmail.com
2bbaa89d402a6eb65963ac684ec165e5c51cde99
092056c026f3ef162c31bca004a596bbe78948e9
/w261/wk5/mrjob_hw53_1.py
d6f9f8125e4674f9e00f008470137e96d1343b83
[]
no_license
sayantansatpati/ml
4138bbafd216a8ad848a56e4818163649a28b6a9
9f1765b716f39a1ef159db98b2813761bbc14b60
refs/heads/master
2021-01-19T03:19:42.734130
2019-03-12T15:44:15
2019-03-12T15:44:15
36,243,314
4
0
null
null
null
null
UTF-8
Python
false
false
828
py
from mrjob.job import MRJob from mrjob.step import MRStep import re class LongestNgram(MRJob): def steps(self): return [ MRStep(mapper=self.mapper_ngrams_len, reducer=self.reducer_ngrams_len), MRStep(reducer=self.reducer_find_max_ngram) ] def mapper...
[ "sayantan.satpati.sfbay@gmail.com" ]
sayantan.satpati.sfbay@gmail.com
7ec60c9aaf44e817a790fadc0527baa4d6712d68
377dc973a58d30154cf485de141223d7ca5424dd
/havok_classes/hclBoneSpaceMeshMeshDeformPOperator.py
caf24857b50a0bf6d6d6365702255e1558e84921
[ "MIT" ]
permissive
sawich/havok-reflection
d6a5552f2881bb4070ad824fb7180ad296edf4c4
1d5b768fb533b3eb36fc9e42793088abeffbad59
refs/heads/master
2021-10-11T12:56:44.506674
2019-01-25T22:37:31
2019-01-25T22:37:31
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,038
py
from .hclBoneSpaceMeshMeshDeformOperator import hclBoneSpaceMeshMeshDeformOperator from typing import List from .common import get_array from .hclBoneSpaceDeformerLocalBlockP import hclBoneSpaceDeformerLocalBlockP from .hclBoneSpaceDeformerLocalBlockUnpackedP import hclBoneSpaceDeformerLocalBlockUnpackedP class hclBo...
[ "kevin@turtlerockweb.com" ]
kevin@turtlerockweb.com
066aca54dc4e77f1df2ebfed38e74746bed83ef5
f0d713996eb095bcdc701f3fab0a8110b8541cbb
/MNePwAcuoKG9Cza8G_9.py
ca7802d54b45b17f9c0920804d670942c9f44253
[]
no_license
daniel-reich/turbo-robot
feda6c0523bb83ab8954b6d06302bfec5b16ebdf
a7a25c63097674c0a81675eed7e6b763785f1c41
refs/heads/main
2023-03-26T01:55:14.210264
2021-03-23T16:08:01
2021-03-23T16:08:01
350,773,815
0
0
null
null
null
null
UTF-8
Python
false
false
1,065
py
""" Create a function that builds a staircase given the height and the type of building block. ### Examples build_staircase(3, "#") ➞ [ ["#", "_", "_"], ["#", "#", "_"], ["#", "#", "#"] ] build_staircase(4, "#") ➞ [ ["#", "_", "_", "_"], ["#", "#", "_", "_"], ["...
[ "daniel.reich@danielreichs-MacBook-Pro.local" ]
daniel.reich@danielreichs-MacBook-Pro.local
08daa46e4e5fe6003d67697fdc33c22dab11bdcd
55c250525bd7198ac905b1f2f86d16a44f73e03a
/Python/Flask/Book_evaluator/venv/Lib/site-packages/passlib/crypto/scrypt/__init__.py
9fe2b4a0fa1ded521a65f67133294c7ff18329ed
[]
no_license
NateWeiler/Resources
213d18ba86f7cc9d845741b8571b9e2c2c6be916
bd4a8a82a3e83a381c97d19e5df42cbababfc66c
refs/heads/master
2023-09-03T17:50:31.937137
2023-08-28T23:50:57
2023-08-28T23:50:57
267,368,545
2
1
null
2022-09-08T15:20:18
2020-05-27T16:18:17
null
UTF-8
Python
false
false
129
py
version https://git-lfs.github.com/spec/v1 oid sha256:e7834ebeec8f7f56f60e8475fe5ba818941616523db21b7e6649ac46e5bcf229 size 6854
[ "nateweiler84@gmail.com" ]
nateweiler84@gmail.com
669058b04ef29cc7831d55492242fc55d1df1197
464b867648ffa7afb444d9754cf4d1ffbf25d2bf
/Experimental_QtUI_Scripts/006_Tab_View/TabView_main.py
f48d33feb7a5e95ca09bff5d7c38a5b9fccb01a3
[]
no_license
pks3kor/For_GitHub
b619fd7f19baa96d7232a0d35ce48c1355360547
bafb2c15ff81fd2f3f90a57ac7b3467c86ac6a2e
refs/heads/master
2021-01-25T09:20:52.146374
2018-06-10T14:44:04
2018-06-10T14:44:04
93,822,114
2
0
null
null
null
null
UTF-8
Python
false
false
577
py
""" Author : Pankaj soni """ from PySide import QtCore, QtGui import sys from Tab_View import Ui_Form # Initialize main GUI and use its resources app = QtGui.QApplication(sys.argv) Form = QtGui.QWidget() ui = Ui_Form() ui.setupUi(Form) ############################# # Write your own function here and bind them with ...
[ "pks3kor@gmail.com" ]
pks3kor@gmail.com
27a9b38fa69c18095d013a8153b8a12d533a2341
18b3ad3b0e1f7f10969738251e1201d01dfbc6bf
/Public/2.py
4a180e054c6e709e9b52ab4d83503fae30a566e1
[]
no_license
sahthi/backup2
11d509b980e731c73733b1399a8143780779e75a
16bed38f0867fd7c766c2a008c8d43b0660f0cb0
refs/heads/master
2020-03-21T12:39:56.890129
2018-07-09T08:12:46
2018-07-09T08:12:46
138,565,151
0
0
null
null
null
null
UTF-8
Python
false
false
155
py
def Ab(a,b): try: c=((a+b)/(a-b)) except ZeroDivisionError: print "a/b result in 0" else: print c Ab(2,3) Ab(3,3)
[ "siddamsetty.sahithi@votarytech.com" ]
siddamsetty.sahithi@votarytech.com
118477199ec7566e310b67d75ad1cdeeca56855c
3e59724306fac40aee85a69df70af05baf6c120b
/pywr_models/models/stanislaus/_parameters/Donnells_Reservoir_Storage_Value.py
d15e6651ec3525a39edc20006e96790c3d1460d1
[]
no_license
mlmaskey/sierra-pywr
9e632ecf85aeb0345a1489c866625ecd62693613
80bf954cb26011aee4a84dc82b001e8d260ae525
refs/heads/master
2023-01-31T21:49:05.663574
2020-12-12T02:55:24
2020-12-12T02:55:24
318,676,217
0
0
null
2020-12-05T01:32:05
2020-12-05T01:32:04
null
UTF-8
Python
false
false
911
py
from parameters import WaterLPParameter from math import exp class Donnells_Reservoir_Storage_Value(WaterLPParameter): def _value(self, timestep, scenario_index): base_cost = -60 if self.model.mode == 'planning': return base_cost elev = self.model.nodes[self.res_name].get_leve...
[ "herr.rhein@gmail.com" ]
herr.rhein@gmail.com
5f1a9598ca6ede14f8e919dfc37e6770ef5e5f5b
28576c22f2eeecfc67a0919254258737598f77a2
/python/hamcalc/stdio/trig.py
23c39d4e3f0288ef63689cb39a2d27efc55a30bd
[]
no_license
slott56/HamCalc-2.1
5e3b40b302c13569806fe2f18734e639b17a988e
382724dfcad867ed8c4134a93a6bbc1c83dc306b
refs/heads/master
2020-04-25T21:55:51.298097
2013-07-16T13:24:33
2013-07-16T13:24:33
9,798,987
3
0
null
null
null
null
UTF-8
Python
false
false
3,949
py
"""Trigonometric functions """ import hamcalc.math.trig as trig from hamcalc.stdio import * import math import runpy def functions( angle ): a0, a1, a2, a3 = (angle, math.pi-angle, math.pi+angle, 2*math.pi-angle) print( "TRIGONOMETRIC FUNCTIONS".center(80) ) print() print(" ANGLES:" ) print(" ...
[ "slott56@gmail.com" ]
slott56@gmail.com
2bc93fa19cb05690f43b36a680d47a50c3e69ae8
4cc7f348b7ef6e9d5abcf98d10c360864f2d2800
/sko/PSO.py
da24e59a8068801d58146ccf614e4c2329adcb36
[ "Python-2.0", "MIT" ]
permissive
zkcz/scikit-opt
6886ba5fd66c0e79b5bc4f101f47d556fef1612b
bc884b6408af4c91fa406391e75f570a25496c4b
refs/heads/master
2020-10-01T13:21:30.549707
2019-12-11T05:50:51
2019-12-11T05:50:51
null
0
0
null
null
null
null
UTF-8
Python
false
false
5,897
py
#!/usr/bin/env python3 # -*- coding: utf-8 -*- # @Time : 2019/8/20 # @Author : github.com/guofei9987 import numpy as np from sko.tools import func_transformer from .base import SkoBase class PSO(SkoBase): """ Do PSO (Particle swarm optimization) algorithm. This algorithm was adapted from the earlier...
[ "guofei9987@foxmail.com" ]
guofei9987@foxmail.com
32507acd78f501ec54d3ee9e35911dfe8ca480b6
03dfcd4bd41ff9ba76e67895e96a9794ad003a31
/sandbox/internet/web-scraping/myparser.py
82a2e133b52c265a643c1d4c02ec7e0966db8a05
[]
no_license
gittygitgit/python-sandbox
71ca68fcc90745931737f7aeb61306ac3417ce60
3b3e0eaf4edad13aabe51eb3258ebe9e6b951c67
refs/heads/master
2021-01-19T02:41:17.047711
2018-11-22T18:07:15
2018-11-22T18:07:15
39,742,770
0
0
null
null
null
null
UTF-8
Python
false
false
1,720
py
#!/usr/bin/python import HTMLParser class MyParse(HTMLParser.HTMLParser): def __init__(self): #super() does not work for this class HTMLParser.HTMLParser.__init__(self) self.tag_stack = [] self.attr_stack = [] def handle_endtag(self, tag): #take the tag off the stack i...
[ "grudkowm@Michaels-Air-2.fios-router.home" ]
grudkowm@Michaels-Air-2.fios-router.home
eb06707c02b708b16b20562078f0ccd02b5cca34
76dab6591cb9c7ee566b76a0adc7b0b0c4086592
/main/tests/test_models.py
7185a7137b6e46e6c02f4727e6bb80c1f7e2792a
[]
no_license
gray-adeyi/booktime
87962321e380cfa779b24f2bd6fa8c434687d084
fb54bc35739b28b5a71a5cf0c1067f38140559ba
refs/heads/main
2023-04-05T02:44:01.992984
2021-05-03T01:37:01
2021-05-03T01:37:25
363,434,043
0
0
null
null
null
null
UTF-8
Python
false
false
2,490
py
from decimal import Decimal from django.test import TestCase from main import models class TestModel(TestCase): def test_active_manager_works(self): models.Product.objects.create( name="The cathedral and the bazaar", price=Decimal("10.00")) models.Product.objects.create( ...
[ "adeyigbenga005@gmail.com" ]
adeyigbenga005@gmail.com
ebebad6c7731a9504ee607513be35017d718188d
8a5ab3d33e3b653c4c64305d81a85f6a4582d7ac
/PySide/QtCore/QPointF.py
2c350c353ea530cc837989441679f71325e61e69
[ "Apache-2.0" ]
permissive
sonictk/python-skeletons
be09526bf490856bb644fed6bf4e801194089f0d
49bc3fa51aacbc2c7f0c7ab86dfb61eefe02781d
refs/heads/master
2020-04-06T04:38:01.918589
2016-06-09T20:37:43
2016-06-09T20:37:43
56,334,503
0
0
null
2016-04-15T16:30:42
2016-04-15T16:30:42
null
UTF-8
Python
false
false
3,951
py
# encoding: utf-8 # module PySide.QtCore # from /corp.blizzard.net/BFD/Deploy/Packages/Published/ThirdParty/Qt4.8.4/2015-05-15.163857/prebuilt/linux_x64_gcc41_python2.7_ucs4/PySide/QtCore.so # by generator 1.138 # no doc # no imports from _Object import _Object class QPointF(_Object): # no doc def isNull(self...
[ "yliangsiew@blizzard.com" ]
yliangsiew@blizzard.com
0b13a187ec32ce7aa897761988d4c15a6c652734
ab3d5ea4bf0e48914ed14fcf16e5b1d752f199ba
/pcg_libraries/src/pcg_gazebo/parsers/sdf/pose.py
c59190b53c6490da0a3566d7aeb02a72a6f5997d
[ "Apache-2.0", "LicenseRef-scancode-unknown-license-reference", "CC0-1.0", "MIT", "BSD-3-Clause", "LicenseRef-scancode-public-domain" ]
permissive
boschresearch/pcg_gazebo_pkgs
5f1004d0de874d4d1abc4eb695777013027158b2
1c112d01847ca4f8da61ce9b273e13d13bc7eb73
refs/heads/master
2020-06-11T06:28:36.228431
2020-02-07T13:05:28
2020-02-07T13:05:28
193,876,180
44
3
NOASSERTION
2020-02-07T12:00:55
2019-06-26T09:45:05
Python
UTF-8
Python
false
false
2,348
py
# Copyright (c) 2019 - The Procedural Generation for Gazebo authors # For information on the respective copyright owner see the NOTICE file # # 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 # #...
[ "Musa.Marcusso@de.bosch.com" ]
Musa.Marcusso@de.bosch.com
c623f87b22b649226f52dc2e56f8651ae57fca85
484da6ff9bda06183c3d3bbda70c6d11e1ad6b67
/.history/main_20191007162714.py
3c0a5d2227f2184e32bd46b4e6485a71ab54093b
[]
no_license
Shynar88/TSP
009a88bbddb29214921de4d0cf1761dea61b7b75
889751ab7d6a91469e86c6583f3c91b85857edd9
refs/heads/master
2020-08-06T22:40:49.217474
2020-01-14T13:41:44
2020-01-14T13:41:44
213,185,830
0
0
null
null
null
null
UTF-8
Python
false
false
7,330
py
import argparse import math import random import operator class City(): def __init__(self, index, x_coord, y_coord): self.index = index self.x_coord = x_coord self.y_coord = y_coord def __repr__(self): return "[" + str(self.x_coord) + ", " + str(self.y_coord) + "]" def get...
[ "shynar@mindslab.ai" ]
shynar@mindslab.ai
ce640e99ab9b4f9311a737f6a8f10585751a2bcf
3ce592352627591346ea33ea0c2665ad879414e2
/References/web-scraping/101scrapetest.py
64aa6f9bfe35ee27d2cbd8684578f2c2e1fafc06
[ "MIT" ]
permissive
royqh1979/python_libs_usage
113df732ef106f4a5faae1343493756fd703c8c0
57546d5648d8a6b7aca7d7ff9481aa7cd4d8f511
refs/heads/master
2021-04-16T18:14:43.835482
2021-01-11T03:55:25
2021-01-11T03:55:25
249,374,754
0
0
null
null
null
null
UTF-8
Python
false
false
290
py
from urllib.request import urlopen from bs4 import BeautifulSoup html = urlopen('http://www.pythonscraping.com/pages/warandpeace.html') bs = BeautifulSoup(html.read(),'html5lib') print(bs.h1) namelist = bs.findAll('span',{'class':'green'}) for name in namelist: print(name.get_text())
[ "royqh1979@gmail.com" ]
royqh1979@gmail.com
04483072d03f682fa80d3014d1f0fa2fc7e36601
1a1b857c67768f20de0df42a7edb87edd57d9a33
/Quick_Sort/Quick_Sort_Practice_November_2.py
1b6901fe97a57dc5b190a20e25f2f70f0af9dfb8
[]
no_license
LilySu/Python_Practice
7c7eb30c549239f27680f410d365289b67813c5e
26767e64742149813ecbc91815454836ffce8b6e
refs/heads/master
2023-07-29T01:14:19.751490
2021-08-15T01:09:41
2021-08-15T01:09:41
279,446,861
1
2
null
2020-10-09T04:10:40
2020-07-14T01:05:55
Jupyter Notebook
UTF-8
Python
false
false
760
py
def swap(a, b, arr): arr[a], arr[b] = arr[b], arr[a] def partition(elements, start, end): pivot_index = start pivot = elements[pivot_index] while start < end: while start < len(elements) and elements[start] <= pivot: start += 1 while elements[end] > pivot: end -=...
[ "LilySu@users.noreply.github.com" ]
LilySu@users.noreply.github.com
fd9b2b5f03d3dc5bc61de7795ca876950a6683e0
7e0393251012e91213dddfd9c93f6b6b73ca2bfe
/tests/unit/test_drizzle_error.py
e7d05e37e25a68aede0c2312672d6c495e350d23
[ "MIT" ]
permissive
josephhardinee/cloudnetpy
ff4cc0303d7f2ae40f2d3466298257659ff3ccde
c37760db3cdfe62ae769f8090ba621803ec9a92c
refs/heads/master
2021-03-06T15:37:51.529776
2020-02-13T09:05:29
2020-02-13T09:05:29
246,207,849
0
0
MIT
2020-03-10T04:29:48
2020-03-10T04:26:16
null
UTF-8
Python
false
false
3,347
py
import numpy as np import numpy.testing as testing import pytest from cloudnetpy.products import drizzle_error as de DRIZZLE_PARAMETERS = {'Do': np.array([[0.0001, 0.01, 0.000001], [0.001, 0.000001, 0.0001]])} DRIZZLE_INDICES = {'drizzle': np.array([[1, 1, 1], [1, 1, 1]], dtype=b...
[ "simo.tukiainen@fmi.fi" ]
simo.tukiainen@fmi.fi
1abc67418dafabbb3f468f4ff08fea5c925b3bde
d86c5aa92a9763510b539776510ad9795d33ae89
/September 2020/03-Multidimensional-Lists/03-Primary-Diagonal.py
cb353fab20268a1b0cc58deae94420f1b386b6f6
[ "MIT" ]
permissive
eclipse-ib/Software-University-Professional-Advanced-Module
42e3bd50ac5f0df8082add29f4113cffb87889e1
636385f9e5521840f680644824d725d074b93c9a
refs/heads/main
2023-02-13T06:02:53.246980
2021-01-06T21:12:14
2021-01-06T21:12:14
306,282,871
0
0
null
null
null
null
UTF-8
Python
false
false
767
py
#Съкратен Вариант с комрехеншън: size = int(input()) matrix = [ [int(el) for el in input().split()] for i in range(size) ] current_sum = sum([matrix[i][i] for i in range(size)]) print(current_sum) #Вариант с range: # size = int(input()) # # matrix = [ # [int(el) for el in input().split()] # for i in ...
[ "65770519+eclipse-ib@users.noreply.github.com" ]
65770519+eclipse-ib@users.noreply.github.com
db89b4926bf8f251c68f068747c97003c1c04fbc
cfac0f4f862180baae078bd7656ac41c8f946006
/Day22/full.py
53638388312ad69de0807e67cf6732d90355eefc
[]
no_license
RaspiKidd/AoC2017
bcf4a8c161b48b2b8f89745d6ff5b741f023b5b7
2be828462cd5d56e2f8a8f636525359bb4de045e
refs/heads/master
2021-09-01T20:07:34.228665
2017-12-28T14:25:08
2017-12-28T14:25:08
112,738,515
0
0
null
null
null
null
UTF-8
Python
false
false
1,634
py
def read(): with open("data.txt") as f: inpt = f.read().splitlines() offset = len(inpt) // 2 infected = set() for r, line in enumerate(inpt): for c, ch in enumerate(line): if ch == '#': infected.add((r - offset, c - offset)) return infected infected = re...
[ "kerry@raspikidd.com" ]
kerry@raspikidd.com
286590a9fe52b4359057b9360cd7b7a404aa8d70
fe18994a1880f347d8004383434842286b9dccd3
/python_stack/flask/flask_fundamentals/Dojo_Survey/server.py
335aa9e1c425addeaea0b58be5359da8056a3f95
[]
no_license
Anbousi/Python
682d5b00555ab3183d06afddb4c5f6e1d5739f6c
4f05dd8ec62e80a28ca607feae976d9220a62227
refs/heads/master
2023-05-06T03:37:28.878915
2021-05-30T19:11:28
2021-05-30T19:11:28
364,501,098
0
2
null
null
null
null
UTF-8
Python
false
false
695
py
from flask import Flask , render_template , request , redirect app = Flask(__name__) @app.route('/') def main(): return render_template('index.html') @app.route('/result' , methods=['POST']) def result(): name_form = request.form['name'] location_form = request.form['location'] language_form = request...
[ "anbousi@gmail.com" ]
anbousi@gmail.com
2ab9f2f34b31a7152edd0e7524c21dddd1269df8
247389d0b916f972297fe3c38d262502a6cfa084
/morse
ef7bed09c034b15fde12125c089eb665e1695bcd
[]
no_license
reteps/raspi
2e69fee4eb96e4a43059f3125c79cf577e2b5bb6
96771f0525b3ad71c9b13a36de49b599c5769310
refs/heads/master
2021-09-28T05:22:32.999241
2017-07-26T13:24:51
2017-07-26T13:24:51
98,200,765
0
0
null
null
null
null
UTF-8
Python
false
false
1,205
#!/usr/bin/env python3 import RPi.GPIO as GPIO import pilights, time def to_morse_code(message): morseAlphabet ={ "A" : ".-", "B" : "-...", "C" : "-.-.", "D" : "-..", "E" : ".", "F" : "..-.", "G" : "--.", "H" : "....", "I" : "..", "J" :...
[ "peter.a.stenger@gmail.com" ]
peter.a.stenger@gmail.com
69354a0bd822307b273f6b1b5fdfdcb3a5c10b88
16a5c9c9f0d7519a6808efc61b592b4b614102cf
/Python/16.py
3672e6b7b0f7551a670966ce8b46ac170ca86da6
[]
no_license
kevin851066/Leetcode
c1d86b2e028526231b80c6d4fb6d0be7ae8d39e5
885a9af8a7bee3c228c7ae4e295dca810bd91d01
refs/heads/main
2023-08-10T16:50:12.426440
2021-09-28T15:23:26
2021-09-28T15:23:26
336,277,469
0
0
null
null
null
null
UTF-8
Python
false
false
1,012
py
class Solution: def threeSumClosest(self, nums, target): ''' :type: nums: List[int] :type: target: int :rtype: int ''' nums.sort() dis = float('inf') res = 0 for i in range(len(nums)-2): if i == 0 or nums[i] != nums[i-1]: ...
[ "kevin851066@gmail.com" ]
kevin851066@gmail.com
89bc553261509785779919691202bc8ff9d94257
5c69e63f3bb1286a79cb81ca70c969bccd65d740
/bocadillo/exceptions.py
e8cfd93892c17f615e36715a36c0bba654f5a71f
[ "MIT" ]
permissive
stjordanis/bocadillo
85dc5895966d3e2031df365db55e4def156e92aa
658cce55b196d60489530aaefde80b066cb8054b
refs/heads/master
2020-04-14T09:36:47.245246
2019-01-01T19:27:37
2019-01-01T19:27:37
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,196
py
from http import HTTPStatus from typing import Union, Any, List from starlette.websockets import WebSocketDisconnect as _WebSocketDisconnect WebSocketDisconnect = _WebSocketDisconnect class HTTPError(Exception): """Raised when an HTTP error occurs. You can raise this within a view or an error handler to in...
[ "florimond.manca@gmail.com" ]
florimond.manca@gmail.com
44c36be3d14151335716e257311f97e0760b11f5
3712a929d1124f514ea7af1ac0d4a1de03bb6773
/开班笔记/个人项目/weather/venv/Scripts/pip3.6-script.py
d64c53761d2ebf358b440b0154196e579055f766
[]
no_license
jiyabing/learning
abd82aa3fd37310b4a98b11ea802c5b0e37b7ad9
6059006b0f86aee9a74cfc116d2284eb44173f41
refs/heads/master
2020-04-02T20:47:33.025331
2018-10-26T05:46:10
2018-10-26T05:46:10
154,779,387
0
0
null
null
null
null
GB18030
Python
false
false
450
py
#!E:\学习文件\python学习资料\开班笔记\个人项目\weather\venv\Scripts\python.exe -x # EASY-INSTALL-ENTRY-SCRIPT: 'pip==10.0.1','console_scripts','pip3.6' __requires__ = 'pip==10.0.1' import re import sys from pkg_resources import load_entry_point if __name__ == '__main__': sys.argv[0] = re.sub(r'(-script\.pyw?|\.exe)?$', '', sys.ar...
[ "yabing_ji@163.com" ]
yabing_ji@163.com
92e2ffb6e01ccf60d49d3427184289857918536d
20f951bd927e4e5cde8ef7781813fcf0d51cc3ea
/fossir/web/forms/util.py
1f03bb0a3347fb4b7c709e2715f01c827d7c8c71
[]
no_license
HodardCodeclub/SoftwareDevelopment
60a0fbab045cb1802925d4dd5012d5b030c272e0
6300f2fae830c0c2c73fe0afd9c684383bce63e5
refs/heads/master
2021-01-20T00:30:02.800383
2018-04-27T09:28:25
2018-04-27T09:28:25
101,277,325
0
2
null
null
null
null
UTF-8
Python
false
false
2,463
py
from __future__ import unicode_literals from collections import OrderedDict from copy import deepcopy from wtforms.fields.core import UnboundField def get_form_field_names(form_class): """Returns the list of field names of a WTForm :param form_class: A `Form` subclass """ unbound_fields = form_cl...
[ "hodardhazwinayo@gmail.com" ]
hodardhazwinayo@gmail.com
bf25c491d026c56c2680ee54c6c6da0ef243d622
1d96db84225301d972f07cad95c2a13f4fbafa84
/python/my_PyFeyn/testing/pyfeyn-test2.py
82ff7bcb08a3d9741dea8c1a1909d75c7af37668
[]
no_license
mattbellis/matts-work-environment
9eb9b25040dd8fb4a444819b01a80c2d5342b150
41988f3c310f497223445f16e2537e8d1a3f71bc
refs/heads/master
2023-08-23T09:02:37.193619
2023-08-09T05:36:32
2023-08-09T05:36:32
32,194,439
0
0
null
null
null
null
UTF-8
Python
false
false
826
py
#! /usr/bin/env python from pyfeyn.user import * fd = FeynDiagram() p1 = Point(2, -2) p2 = Point(-2, 2) p3 = Vertex(1.25, 1.25, mark=CIRCLE) p4 = p1.midpoint(p2) p5 = p4.midpoint(p1) p6 = p4.midpoint(p2) c1 = Circle(center=p1, radius=0.5, fill=[RED], points=[p1]) c2 = Circle(center=p2, radius=0.3, fill=[GREEN], poi...
[ "matthew.bellis@gmail.com" ]
matthew.bellis@gmail.com
c96e7a60b206a9a0ed2292d388e43a340c284cc5
5c2f520dde0cf8077facc0fcd9a92bc1a96d168b
/from_cpython/Lib/types.py
b8166edf94fcba78305f53822b17e69b61cb466e
[ "Apache-2.0", "LicenseRef-scancode-unknown-license-reference", "Python-2.0" ]
permissive
nagyist/pyston
b613337a030ef21a3f03708febebe76cedf34c61
14ba2e6e6fb5c7316f66ccca86e6c6a836d96cab
refs/heads/master
2022-12-24T03:56:12.885732
2015-02-25T11:11:08
2015-02-25T11:28:13
31,314,596
0
0
NOASSERTION
2022-12-17T08:15:11
2015-02-25T13:24:41
Python
UTF-8
Python
false
false
2,342
py
"""Define names for all type symbols known in the standard interpreter. Types that are part of optional modules (e.g. array) are not listed. """ import sys # Iterators in Python aren't a matter of type but of protocol. A large # and changing number of builtin types implement *some* flavor of # iterator. Don't check...
[ "kmod@dropbox.com" ]
kmod@dropbox.com
39c7a34748c1b3e7fb4a8f0b57485acabb6c4b65
e7efae2b83216d9621bd93390959d652de779c3d
/kyototycoon/tests/test_kyototycoon.py
b7e964c19cda690b27c0b54a0d45f7ae777a268f
[ "BSD-3-Clause", "MIT", "BSD-3-Clause-Modification", "Unlicense", "Apache-2.0", "LGPL-3.0-only", "LicenseRef-scancode-public-domain", "BSD-2-Clause", "CC0-1.0" ]
permissive
DataDog/integrations-core
ee1886cc7655972b2791e6ab8a1c62ab35afdb47
406072e4294edff5b46b513f0cdf7c2c00fac9d2
refs/heads/master
2023-08-31T04:08:06.243593
2023-08-30T18:22:10
2023-08-30T18:22:10
47,203,045
852
1,548
BSD-3-Clause
2023-09-14T16:39:54
2015-12-01T16:41:45
Python
UTF-8
Python
false
false
1,657
py
# (C) Datadog, Inc. 2018-present # All rights reserved # Licensed under a 3-clause BSD style license (see LICENSE) from copy import deepcopy import pytest from datadog_checks.kyototycoon import KyotoTycoonCheck from .common import DEFAULT_INSTANCE, TAGS GAUGES = list(KyotoTycoonCheck.GAUGES.values()) DB_GAUGES = li...
[ "noreply@github.com" ]
DataDog.noreply@github.com
af984f8b92fa6d9f2f3f4f2529a36de9c3b048da
3ac9cc9f54b1d6c6d5e05317bb0b977f4c1b363d
/profab/main.py
811a78a9ea7a173bb25ab8d19309d19a26ddd8c8
[ "Apache-2.0", "BSL-1.0" ]
permissive
sittisak/profab
5f5a92d8da7a07af80727eee337993929931ba2a
ff3967397b31986c9396f70a44a565d85178e6a6
refs/heads/master
2020-04-05T14:05:47.613997
2016-11-22T02:50:12
2016-11-22T02:50:12
94,763,557
0
1
null
2017-08-21T09:09:46
2017-06-19T10:09:29
Python
UTF-8
Python
false
false
541
py
"""Helper functions for the entry point scripts. """ def process_arguments(*args): """Do the initial argument parse phase. This produces tuples of role instructions """ args = list(args) # Convert tuple to list args.reverse() # We really wanted head() here, but no matter... instructions = [] ...
[ "k@kirit.com" ]
k@kirit.com
156cee855fb4337b19f958444b0a101e766d89a5
cee0df2a184f3f99306193b9f34aba16889cc57c
/pvextractor/utils/wcs_utils.py
88cd249959d5af27eeb395dc415eeb0160e41646
[]
no_license
teuben/pvextractor
169f3317eb2d53013eb981fca18f69d17fa3a8b3
889c108a964d8130b1a17066890c7325b57daf4c
refs/heads/master
2021-01-14T13:16:48.485846
2014-04-18T23:29:17
2014-04-18T23:29:17
null
0
0
null
null
null
null
UTF-8
Python
false
false
3,278
py
import numpy as np from astropy import units as u from astropy import wcs def get_pixel_scales(mywcs, assert_square=True): # borrowed from aplpy mywcs = mywcs.sub([wcs.WCSSUB_CELESTIAL]) cdelt = np.matrix(mywcs.wcs.get_cdelt()) pc = np.matrix(mywcs.wcs.get_pc()) scale = np.array(cdelt * pc) ...
[ "keflavich@gmail.com" ]
keflavich@gmail.com
9b61853924eb18e6ee43387888b12daaf7b0dea5
0b0ca6853f351530384fcb9f3f9c91d4c034512b
/website/opensource/views.py
ba63fbd77e3145251be0ac3cead121e00526bdd4
[]
no_license
thanhleviet/syrusakbary.com
d767129c6b00c092816e3cb58f063d1b052f0df0
ca04f55462db72bb603bfc0453b9404b04ee6687
refs/heads/master
2021-01-18T09:30:31.278757
2012-07-22T20:32:12
2012-07-22T20:32:12
null
0
0
null
null
null
null
UTF-8
Python
false
false
930
py
# Create your views here. #from django.http import HttpResponse #from coffin.template import add_to_builtins #add_to_builtins('jinja2-mediasync.media') #from coffin.shortcuts import render_to_response #from django.shortcuts import render_to_response #from django.template import add_to_builtins #add_to_builtins('media...
[ "me@syrusakbary.com" ]
me@syrusakbary.com
2ca98c5399ca4e051f6ba3b6370573ba00678d56
ee3e0a69093e82deff1bddf607f6ce0dde372c48
/ndb769/개념/linked_list.py
96c6f60d40eb889dc16b88a18505851cfabdcac7
[]
no_license
cndqjacndqja/algorithm_python
202f9990ea367629aecdd14304201eb6fa2aa37e
843269cdf8fb9d4c215c92a97fc2d007a8f96699
refs/heads/master
2023-06-24T08:12:29.639424
2021-07-24T05:08:46
2021-07-24T05:08:46
255,552,956
0
0
null
null
null
null
UTF-8
Python
false
false
1,117
py
class Node: def __init__(self, data): self.data = data self.next = None class LinkedList: def __init__(self, data): self.head = Node(data) def append(self, data): cur = self.head while cur.next is not None: cur = cur.next cur.next = Node(data) ...
[ "cndqjacndqja@gmail.com" ]
cndqjacndqja@gmail.com
7b095e3e066626392f53c9d6e431e87be22263e4
2a7fe1988b9a9aaf5e301637883319c43d38bcb9
/users/serializers.py
e18ccb36912540ec79d98c4ac36785882da3fc0c
[]
no_license
kenassash/django_rest_notes
65d799b32f520faef2dbd02fae2e05efa8535797
eab022e6e57aaa06918ee5ab80586c8a1a8894c3
refs/heads/master
2023-09-03T19:36:28.304504
2021-10-27T08:19:14
2021-10-27T08:19:14
null
0
0
null
null
null
null
UTF-8
Python
false
false
747
py
from rest_framework.serializers import HyperlinkedModelSerializer # from .models import NoteUser from .models import User class UserModelSerializer(HyperlinkedModelSerializer): class Meta: # model = NoteUser # fields = ('username', 'firstname', 'lastname', 'email') # fields = '__all__' ...
[ "travis@travis-ci.org" ]
travis@travis-ci.org
6da64ddbe8b389fea336607a103d15766e44bd65
3dd58a087b59bdba102f2e6e95b3e200a9530c4c
/django_demo/mysite/polls/tests.py
7d7c15443ccc50f0a7b07c5f29af512cd9f3697e
[]
no_license
natepill/Server-Side-Architecture
b17926cf467083182e96257589dfdc7c3d5ea40e
4765136c5fe9d0eedc6b50a2bbbb0c9458170694
refs/heads/master
2022-12-11T03:41:46.296869
2019-06-24T19:53:15
2019-06-24T19:53:15
189,689,598
0
0
null
2022-12-08T01:22:18
2019-06-01T04:19:09
Python
UTF-8
Python
false
false
5,492
py
import datetime from django.test import TestCase from django.utils import timezone from django.urls import reverse from .models import Question, Choice, def create_question(question_text, days): """ Create a question with the given `question_text` and published the given number of `days` offset to now (ne...
[ "natepill@gmail.com" ]
natepill@gmail.com
de826dfae0fa88b16b9f28a90bfb267c18c844c7
ff2b4b972865ab82464d550934329117500d3195
/bfg9000/tools/mkdir_p.py
f12325a7350d79273dadc255603b865d4c34c859
[ "BSD-3-Clause" ]
permissive
juntalis/bfg9000
cd38a9194e6c08a4fbcf3be29f37c00bfa532588
594eb2aa7c259855e7658d69fe84acb6dad890fa
refs/heads/master
2021-08-08T21:35:33.896506
2017-11-11T08:47:57
2017-11-11T08:47:57
110,331,128
0
0
null
2017-11-11T08:46:05
2017-11-11T08:46:04
null
UTF-8
Python
false
false
396
py
from . import tool from .common import SimpleCommand @tool('mkdir_p') class MkdirP(SimpleCommand): def __init__(self, env): default = 'doppel -p' if env.platform.name == 'windows' else 'mkdir -p' SimpleCommand.__init__(self, env, name='mkdir_p', env_var='MKDIR_P', de...
[ "jporter@mozilla.com" ]
jporter@mozilla.com
0dc860e73fdb9073bea7b31d75831fe246b55cd2
35c3999aa3f6a9e31ae6f9170ac0235da4fe7e11
/irekua_rest_api/serializers/devices/physical_devices.py
c9b5828b1b4bdec7cd965b6ca25e906f17db16f2
[ "BSD-2-Clause" ]
permissive
CONABIO-audio/irekua-rest-api
28cf9806330c8926437542ae9152b8a7da57714f
35cf5153ed7f54d12ebad2ac07d472585f04e3e7
refs/heads/master
2022-12-12T09:24:18.217032
2020-08-15T21:01:20
2020-08-15T21:01:20
219,046,247
0
4
BSD-4-Clause
2022-12-08T10:54:47
2019-11-01T19:03:10
Python
UTF-8
Python
false
false
2,098
py
# -*- coding: utf-8 -*- from __future__ import unicode_literals from rest_framework import serializers from irekua_database.models import PhysicalDevice from irekua_rest_api.serializers.base import IrekuaModelSerializer from irekua_rest_api.serializers.base import IrekuaHyperlinkedModelSerializer from irekua_rest_ap...
[ "santiago.mbal@gmail.com" ]
santiago.mbal@gmail.com
dc09c3c13f4ca2119ef4419cf567c1bbe2bf7f42
81bdc1dccfb95877e5f376527c23cb5c72a13922
/pyl2extra/gui/debugger/remote_window.py
05041c0221dd8c677c8b0d68e7c8136c0ee9f4e5
[ "BSD-3-Clause" ]
permissive
TNick/pyl2extra
1fb5be10448bc09018e2b0ac294b2e03fb146a57
323e1ecefeedc7d196de6d7ac6d8eceecb756333
refs/heads/master
2021-01-22T07:04:10.082374
2015-08-11T09:57:17
2015-08-11T09:57:17
34,400,301
0
1
null
2015-04-22T17:19:50
2015-04-22T15:58:21
Python
UTF-8
Python
false
false
2,954
py
#!/usr/bin/env python # -*- coding: utf-8 -*- """ @author: Nicu Tofan <nicu.tofan@gmail.com> """ from PyQt4 import QtGui, QtCore from pyl2extra.gui.guihelpers import center class RemoteDialog(QtGui.QDialog): """ Allows selecting remote in order to debug on that remote. """ def __init__(self, mw): ...
[ "nicu.tofan@gmail.com" ]
nicu.tofan@gmail.com
e452abec56c616eb8b46b78e240cb845aecc2319
6b0d0aec9704d70663fe0edc2a6624a689cc081e
/src/app/pre/wav.py
db52981330702787a0ef82c48d08f68a0e589f2b
[ "BSD-3-Clause" ]
permissive
stefantaubert/tacotron2
086d81b38b2c49655df6b0d8d63c633e7531399a
8475f014391c5066cfe0b92b6c74568639be5e79
refs/heads/master
2023-03-29T21:07:02.266973
2020-11-25T09:57:40
2020-11-25T09:57:40
267,858,113
5
0
BSD-3-Clause
2020-05-29T12:56:56
2020-05-29T12:56:55
null
UTF-8
Python
false
false
3,818
py
import os from functools import partial from typing import Any from src.app.pre.ds import get_ds_dir, load_ds_csv from src.core.common.utils import get_subdir from src.core.pre.wav import (WavData, WavDataList, normalize, preprocess, remove_silence, stereo_to_mono, upsample) _wav_data_cs...
[ "stefan.taubert@posteo.de" ]
stefan.taubert@posteo.de
541a2bb132c30e724fa65dfdccfd3b3de2e89856
7f651a7dfa7cd101ddf9dd133ff78bfe996eeb3f
/main.py
910916d224daa088ba293871bad373666348f2d1
[ "MIT" ]
permissive
TrendingTechnology/PyPi-Bot
33071b0e789509dfc267ec25a3e11417d60c1395
bc2ee98981af4bc9f415a1f968bf872380d017f0
refs/heads/main
2023-06-30T08:50:57.641601
2021-08-02T13:47:28
2021-08-02T13:47:28
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,257
py
# Author: Fayas (https://github.com/FayasNoushad) (@FayasNoushad) import os import requests from requests.utils import requote_uri from pyrogram import Client, filters from pyrogram.types import InlineKeyboardMarkup, InlineKeyboardButton API = "https://api.abirhasan.wtf/pypi?query=" START_TEXT = """ Hello {}, I am ...
[ "noreply@github.com" ]
TrendingTechnology.noreply@github.com
d255e8072a01057e097ccaa3a705564e60199c9e
91fe8f479fa921fa84111d19222a5c6aa6eff030
/basis/progr-py/Gui/ShellGui/packdlg_redirect.py
e74111a94ff6ede688ace45c422255376555b419
[]
no_license
romanticair/python
2055c9cdaa46894c9788d5797643283786ed46dd
6f91fe5e7cbedcdf4b8f7baa7641fd615b4d6141
refs/heads/master
2022-11-03T17:17:17.608786
2019-07-05T07:07:29
2019-07-05T07:07:29
195,356,190
0
1
null
2022-10-14T20:51:14
2019-07-05T07:00:33
Python
UTF-8
Python
false
false
496
py
# 将命令行脚本包装到图形界面重定向工具中,输出显示到弹出式窗口中 from tkinter import * from packdlg import runPackDialog from Gui.Tools.guiStreams import redirectedGuiFunc def runPackDialog_Wrapped(): # 在mytools.py中运行的回调函数 redirectedGuiFunc(runPackDialog) # 对整个回调处理程序进行包装 if __name__ == '__main__': root = Tk() Button(root, tex...
[ "1024519570@qq.com" ]
1024519570@qq.com
70f33bb40b94725d71df75b5591e7a9b56325cca
f9ed608c620093b9f6b5058bcedf7ae610c09c8d
/329-Longest_Increasing_Path_in_a_Matrix.py
2076972e979562372e23e07d8d2bfd9f51a966ba
[]
no_license
chanyoonzhu/leetcode-python
9b88d7f2749e1ae3ed597759b1bf9f7fa4912c35
085d868ba0458fc8e6b5549aa00fa151c335fa7f
refs/heads/master
2022-05-24T11:20:35.927915
2022-04-16T06:02:33
2022-04-16T06:02:33
166,224,197
0
1
null
null
null
null
UTF-8
Python
false
false
2,114
py
""" - dfs with memoization - note: path is strictly increasing -> no loop -> DAG -> can use dfs - O(mn), O(mn) """ class Solution: def longestIncreasingPath(self, matrix: List[List[int]]) -> int: self.matrix = matrix self.dir = [(1, 0), (-1, 0), (0, 1), (0, -1)] self.m = len(matrix) ...
[ "zhuchanyoon@gmail.com" ]
zhuchanyoon@gmail.com
a828a1d10bfc5c4b5cd149e658aca32e30558efa
7f80554c5013ba7bc66a3ec98f804156d977c277
/src/readux/urls.py
d95051dab91bc770f6c85b38826d7a40f9f870b8
[]
no_license
akrahdan/LearnAI
fa89c133dbe3b0c06bfdce720ea6dcb429d1dc57
fbea836a7fc78c8ab92b313c2afa4bdeef59c362
refs/heads/main
2023-07-24T15:07:15.692045
2021-08-20T16:39:44
2021-08-20T16:39:44
376,688,774
0
0
null
null
null
null
UTF-8
Python
false
false
3,083
py
"""readux URL Configuration The `urlpatterns` list routes URLs to views. For more information please see: https://docs.djangoproject.com/en/3.2/topics/http/urls/ Examples: Function views 1. Add an import: from my_app import views 2. Add a URL to urlpatterns: path('', views.home, name='home') Class-based ...
[ "akrahdan@gmail.com" ]
akrahdan@gmail.com
15ed8211c8d43131be4eeaa704dbd1400bbea598
59c55725576bbf0e2f6617507ba2f1db639abb3f
/stock_analytic_account/model/analytic_account.py
ea5556d076df6616c951843e5c8ca6abdca7a083
[]
no_license
bmya/eficent-odoo-addons
e3426ebaf1f59e52726253fc1dd36a09d9363059
5d8ddfa384ab4417f42bda103b71d926848035f6
refs/heads/7.0
2021-01-21T16:48:55.312452
2015-11-04T14:11:19
2015-11-04T14:11:19
45,649,141
1
3
null
2015-11-06T00:35:17
2015-11-06T00:35:17
null
UTF-8
Python
false
false
1,957
py
# -*- coding: utf-8 -*- ############################################################################## # # Copyright (C) 2015 Eficent (<http://www.eficent.com/>) # Jordi Ballester Alomar <jordi.ballester@eficent.com> # # This program is free software: you can redistribute it and/or modify # it und...
[ "jordi.ballester@eficent.com" ]
jordi.ballester@eficent.com
766c006b44f7bca3d96dc1ad604ef9851b7c73be
0a1a95fe0344c27197b677e8f8d1acc05a9813bd
/tests/test_app/test_static.py
9c4549b3036f5029a3b59f6d3252f224e800aa5a
[ "MIT" ]
permissive
hirokiky/uiro
5ddaee966395512919016406c5ed18baed5cb68c
8436976b21ac9b0eac4243768f5ada12479b9e00
refs/heads/master
2023-04-27T00:57:13.953417
2013-11-09T02:15:57
2013-11-09T02:15:57
13,859,983
0
0
MIT
2023-04-15T15:13:52
2013-10-25T12:30:05
Python
UTF-8
Python
false
false
411
py
import pytest from webtest import TestApp @pytest.fixture def target(): from matcha import make_wsgi_app from uiro.static import generate_static_matching from .pkgs import static_app matching = generate_static_matching(static_app) return TestApp(make_wsgi_app(matching)) def test_static(target):...
[ "hirokiky@gmail.com" ]
hirokiky@gmail.com
b7759d6a6dcb81a63298d8ff7c3583729f1d19eb
7facdc4644fbe4209b5acdad9f2503bfcfb0d534
/ensure/_types.py
d0d2db7350653d2171e927886cffa6eccef0f7f8
[ "Apache-2.0" ]
permissive
KeyWeeUsr/ensure
2a19d2101418f334bb188d299f5368f96aaf7916
47becf82672906d2fcfd4e8e5b0542e43845b3ed
refs/heads/master
2023-06-01T04:11:19.154208
2018-11-06T01:39:11
2018-11-06T01:39:11
165,532,375
0
0
Apache-2.0
2019-01-13T17:14:11
2019-01-13T17:14:10
null
UTF-8
Python
false
false
1,050
py
from __future__ import absolute_import, division, print_function, unicode_literals import sys from six import add_metaclass USING_PYTHON2 = True if sys.version_info < (3, 0) else False if USING_PYTHON2: str = unicode # noqa class NumericStringType(type): _type = str _cast = float def __instanceche...
[ "kislyuk@gmail.com" ]
kislyuk@gmail.com