blob_id stringlengths 40 40 | directory_id stringlengths 40 40 | path stringlengths 3 616 | 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 777
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 149
values | src_encoding stringclasses 26
values | language stringclasses 1
value | is_vendor bool 2
classes | is_generated bool 2
classes | length_bytes int64 3 10.2M | extension stringclasses 188
values | content stringlengths 3 10.2M | authors listlengths 1 1 | author_id stringlengths 1 132 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
13b73990e891faa18a06ceed2afd5a7714b36549 | ac8781440c1e418dd9e5aa989ff36095728687e6 | /lib/tests/test_storage_upgrade.py | bba027a7ef7742a702bca3a96716b9dfaf586369 | [
"MIT"
] | permissive | XUEZ/electrum-xuez | 381598f7dc38ba7889a82c62dbafed379cd26b79 | 26f768cce94e5e2f8e5fbe286ef579c4617326c5 | refs/heads/master | 2020-04-04T12:40:59.967222 | 2018-08-18T23:49:43 | 2018-08-18T23:49:43 | 155,934,483 | 0 | 1 | MIT | 2018-11-03T00:13:58 | 2018-11-03T00:13:57 | null | UTF-8 | Python | false | false | 8,099 | py | import shutil
import tempfile
from lib.storage import WalletStorage
from lib.wallet import Wallet
from lib.tests.test_wallet import WalletTestCase
# TODO add other wallet types: 2fa, xpub-only
# TODO hw wallet with client version 2.6.x (single-, and multiacc)
class TestStorageUpgrade(WalletTestCase):
def test_... | [
"32743542+ddude1@users.noreply.github.com"
] | 32743542+ddude1@users.noreply.github.com |
59868bde98baef6553bc297d6e3a9a5961b17e57 | e23a4f57ce5474d468258e5e63b9e23fb6011188 | /125_algorithms/_exercises/templates/_algorithms_challenges/leetcode/LeetCode_with_solution/849 Maximize Distance to Closest Person.py | b6e54714a63014072b31a7d7edc3ed3900de8b9e | [] | no_license | syurskyi/Python_Topics | 52851ecce000cb751a3b986408efe32f0b4c0835 | be331826b490b73f0a176e6abed86ef68ff2dd2b | refs/heads/master | 2023-06-08T19:29:16.214395 | 2023-05-29T17:09:11 | 2023-05-29T17:09:11 | 220,583,118 | 3 | 2 | null | 2023-02-16T03:08:10 | 2019-11-09T02:58:47 | Python | UTF-8 | Python | false | false | 2,333 | py | #!/usr/bin/python3
"""
In a row of seats, 1 represents a person sitting in that seat, and 0 represents
that the seat is empty.
There is at least one empty seat, and at least one person sitting.
Alex wants to sit in the seat such that the distance between him and the closest
person to him is maximized.
Return that ma... | [
"sergejyurskyj@yahoo.com"
] | sergejyurskyj@yahoo.com |
f2fdf829d5ea58bda66bc286d53f322c80596ce0 | 66153b1864abee82006e060438887862ae9577c5 | /L4/L4_7.py | 3ae4d3d988bf7def949804ac0d9115a34790dd24 | [] | no_license | ArvinZJC/BUAAHND_G2T2_Python | d05f3399b13394252f2a187f9915f33bdb03b5f9 | 1f5ad1a894559717c13cae6c683a3a984ee05ad6 | refs/heads/master | 2021-06-03T13:19:58.120021 | 2020-02-18T20:20:35 | 2020-02-18T20:20:35 | 147,664,826 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 215 | py | # 第5章.pptx, P40, program that imports module math
import math
print(math.e)
print(math.pi)
print(math.ceil(3.4))
print(math.fabs(-3))
print(math.floor(3.4))
print(math.sqrt(4))
print(math.trunc(3.4)) | [
"tomzjc@qq.com"
] | tomzjc@qq.com |
db449c1334babcf141a25c05499799d80ad717ef | ca7aa979e7059467e158830b76673f5b77a0f5a3 | /Python_codes/p02925/s102175948.py | 8626594420d162d567dd933824c89bb48507f45f | [] | 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 | 588 | py | from collections import deque
n=int(input())
a=[list(map(int,input().split())) for i in range(n)]
for i in range(n):
for j in range(n-1):
a[i][j]-=1
a[i].reverse()
# print(a)
day=[0]*n
pair=[-1]*n
q=deque(range(n))
while q:
me=q.popleft()
if not a[me]:
continue
oppo=a[me].pop()
... | [
"66529651+Aastha2104@users.noreply.github.com"
] | 66529651+Aastha2104@users.noreply.github.com |
d2495c2093ddf4a8ee6ec28e4ad2bac359359ed0 | 60b5a9a8b519cb773aca004b7217637f8a1a0526 | /inspection/urls.py | 2c70bca05de76c783a1ed7e5085bb4b8f919a278 | [] | no_license | malep2007/dag-bragan-erp-backend | 76ce90c408b21b0bda73c6dd972e2f77b7f21b1f | e98182af2848a6533ddd28c586649a8fee1dc695 | refs/heads/master | 2021-08-11T01:29:27.864747 | 2019-01-15T17:46:26 | 2019-01-15T17:46:26 | 151,831,965 | 0 | 0 | null | 2021-06-10T20:56:21 | 2018-10-06T11:10:12 | Python | UTF-8 | Python | false | false | 441 | py | from django.urls import path
from . import views
urlpatterns = [
path('', views.PropertyDetailList.as_view(), name='index'),
path('detail/<int:pk>', views.PropertyDetailView.as_view(), name='detail'),
path('edit/<int:pk>/', views.PropertyUpdateView.as_view(), name='edit'),
path('delete/<int:pk>', views... | [
"ephraim.malinga@gmail.com"
] | ephraim.malinga@gmail.com |
9a9a42ee81a71f98f4e379cea9c7726b49a5df3a | fab14fae2b494068aa793901d76464afb965df7e | /benchmarks/f3_wrong_hints/scaling_software_termination/11-2Nested_false-termination_23.py | d2168de86996467b1613aa8d401f0ed5c1e2f819 | [
"MIT"
] | permissive | teodorov/F3 | 673f6f9ccc25acdfdecbfc180f439253474ba250 | c863215c318d7d5f258eb9be38c6962cf6863b52 | refs/heads/master | 2023-08-04T17:37:38.771863 | 2021-09-16T07:38:28 | 2021-09-16T07:38:28 | null | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 6,414 | py | from typing import Tuple, FrozenSet
from pysmt.environment import Environment as PysmtEnv
from pysmt.fnode import FNode
import pysmt.typing as types
from utils import symb_to_next
from hint import Hint, Location
def transition_system(env: PysmtEnv) -> Tuple[FrozenSet[FNode], FNode, FNode,
... | [
"en.magnago@gmail.com"
] | en.magnago@gmail.com |
c6763b313c55dfbb26de2d027ecc5df9716cc657 | f34d3948b707e461151ee33296a61fb23a6d3f44 | /month01/day10/day10/exercise03.py | 230ff438aaca319979f8254df0dcf1da291c2398 | [] | no_license | xiao-a-jian/python-study | f9c4e3ee7a2f9ae83bec6afa7c7b5434e8243ed8 | c8e8071277bcea8463bf6f2e8cd9e30ae0f1ddf3 | refs/heads/master | 2022-06-09T17:44:41.804228 | 2020-05-05T07:48:07 | 2020-05-05T07:48:07 | 256,927,969 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 1,232 | py | # 练习1:创建手机类,实例化2个对象
class MobilePhone:
"""
抽象的手机类
"""
# 数据:品牌 价格 颜色
def __init__(self, brand, price, color):
"""
创建一个新手机对象
:param brand: 品牌
:param price: 单价
:param color: 颜色
"""
self.brand = brand
self.price = price
self... | [
"1261247299@qq.com"
] | 1261247299@qq.com |
0a67a16f0095e36e51adb2684562ff0c065fcc95 | 8eab8ab725c2132bb8d090cdb2d23a5f71945249 | /virt/Lib/site-packages/jedi/third_party/typeshed/stdlib/2and3/termios.pyi | 9eecbf68136fb417c1fead051c8b49eecdbc598f | [
"MIT",
"Apache-2.0"
] | permissive | JoaoSevergnini/metalpy | 6c88a413a82bc25edd9308b8490a76fae8dd76ca | c2d0098a309b6ce8c756ff840bfb53fb291747b6 | refs/heads/main | 2023-04-18T17:25:26.474485 | 2022-09-18T20:44:45 | 2022-09-18T20:44:45 | 474,773,752 | 3 | 1 | MIT | 2022-11-03T20:07:50 | 2022-03-27T22:21:01 | Python | UTF-8 | Python | false | false | 3,504 | pyi | from _typeshed import FileDescriptorLike
from typing import Any, List, Union
_Attr = List[Union[int, List[Union[bytes, int]]]]
# TODO constants not really documented
B0: int
B1000000: int
B110: int
B115200: int
B1152000: int
B1200: int
B134: int
B150: int
B1500000: int
B1800: int
B19200: int
B200: int
B2000000: int
B... | [
"joao.a.severgnini@gmail.com"
] | joao.a.severgnini@gmail.com |
7a77dd7c4c773dfab9aafac519ff24d0c7af32a4 | f9d564f1aa83eca45872dab7fbaa26dd48210d08 | /huaweicloud-sdk-iec/huaweicloudsdkiec/v1/model/delete_routes_response.py | 2deada3f40bc68793148d51e3a40ff437e4f4463 | [
"Apache-2.0"
] | permissive | huaweicloud/huaweicloud-sdk-python-v3 | cde6d849ce5b1de05ac5ebfd6153f27803837d84 | f69344c1dadb79067746ddf9bfde4bddc18d5ecf | refs/heads/master | 2023-09-01T19:29:43.013318 | 2023-08-31T08:28:59 | 2023-08-31T08:28:59 | 262,207,814 | 103 | 44 | NOASSERTION | 2023-06-22T14:50:48 | 2020-05-08T02:28:43 | Python | UTF-8 | Python | false | false | 3,270 | py | # coding: utf-8
import six
from huaweicloudsdkcore.sdk_response import SdkResponse
from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization
class DeleteRoutesResponse(SdkResponse):
"""
Attributes:
openapi_types (dict): The key is attribute name
and the va... | [
"hwcloudsdk@huawei.com"
] | hwcloudsdk@huawei.com |
15b28aeeba051cdcd4d812f93e12f48fc059c25c | 53fab060fa262e5d5026e0807d93c75fb81e67b9 | /backup/user_335/ch25_2019_08_21_17_45_54_086418.py | 55459b6fc9131d41cddf928dbe752d80e4db31d4 | [] | no_license | gabriellaec/desoft-analise-exercicios | b77c6999424c5ce7e44086a12589a0ad43d6adca | 01940ab0897aa6005764fc220b900e4d6161d36b | refs/heads/main | 2023-01-31T17:19:42.050628 | 2020-12-16T05:21:31 | 2020-12-16T05:21:31 | 306,735,108 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 268 | py | def PrecoPassagem(d):
if (d<=200):
v = d*0.50
return v
else:
v = 100 + ((d - 200)*0.45)
return v
distancia = int(input("Quantos km você deseja percorrer? "))
print ("Você pagará R$: {0:.2f}".format(PrecoPassagem(distancia))) | [
"you@example.com"
] | you@example.com |
6158b06b89565bf9aeb58c8fca215bd7dc836d5e | 585e04dbc338efb5a9f8861e9970bd9bfc224f44 | /src/Display/GraphTest.py | 331754a58b32bf159995c2d1e315dbe54b4d42e0 | [] | no_license | CONNJUR/PyScheduler | 34dba79baf881216dfd06a1421849603f35b145f | 150f60495d5a0b86bb211f4c5d691e7d79a9e0b7 | refs/heads/master | 2021-01-23T08:52:46.891768 | 2014-04-26T15:37:03 | 2014-04-26T15:37:03 | null | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 379 | py | '''
Created on Feb 13, 2011
@author: matt
'''
import Graph as g
import Tkinter as Tk
def displayPoints(schedule, xmax, ymax):
frame = Tk.Tk()
graph = g.Graph2D(frame, xmax, ymax)
frame.title('Schedule')
frame.geometry('700x680+150+5')
for point in schedule.getPoints():
grap... | [
"mfenwick100@gmail.com"
] | mfenwick100@gmail.com |
63f62ab97ea33e088f5603bb0393134aad47a6c7 | 40948fe9f867ac5ebe4937ff2922449e79cd26dc | /lib/redis_coon/__init__.py | e7d1975825885ba64581e230bd8e9b71aef76a04 | [] | no_license | Suyn/bz_program | 706910df2120eb722346753f72595e1088c579ea | a691e79f692cc47f6ffc912a4be11e63d5d1f14f | refs/heads/master | 2020-04-16T13:04:25.543202 | 2019-01-14T06:17:39 | 2019-01-14T06:17:39 | 165,191,625 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 157 | py | #!/usr/bin/env python
# -*- coding: utf-8 -*-
# @Time : 2019/1/9 16:43
# @Author : Liquid
# @Site :
# @File : __init__.py.py
# @Software: PyCharm
| [
"myEmail@example.com"
] | myEmail@example.com |
f9268273cc0b87383f904db3290a20fa761bb391 | 6a7e9e0e9c08132166f566bd88ae1c46ff8f9c0a | /azure-cognitiveservices-language-luis/azure/cognitiveservices/language/luis/authoring/models/closed_list_model_update_object.py | c9a72314d9bf830200d9a7923870beb88a423067 | [
"MIT"
] | permissive | ashirey-msft/azure-sdk-for-python | d92381d11c48f194ec9f989f5f803db614fb73f2 | e04778e13306dad2e8fb044970215bad6296afb6 | refs/heads/master | 2020-03-23T06:05:39.283442 | 2018-09-15T00:18:26 | 2018-09-15T00:18:26 | 141,188,192 | 0 | 1 | MIT | 2018-07-16T20:02:52 | 2018-07-16T20:02:52 | null | UTF-8 | Python | false | false | 1,202 | py | # coding=utf-8
# --------------------------------------------------------------------------
# Copyright (c) Microsoft Corporation. All rights reserved.
# Licensed under the MIT License. See License.txt in the project root for
# license information.
#
# Code generated by Microsoft (R) AutoRest Code Generator.
# Changes ... | [
"lmazuel@microsoft.com"
] | lmazuel@microsoft.com |
661b70ba496cfd5771df2c917106168deccf0c0c | 11aaeaeb55d587a950456fd1480063e1aed1d9e5 | /.history/ex45-test_20190609121219.py | 2c116329785b368dc1068c42260ea98709da4189 | [] | no_license | Gr4cchus/Learn-Python-3-The-Hard-Way | 8ce9e68f6a91ea33ea45fe64bfff82d65422c4a8 | f5fa34db16cdd6377faa7fcf45c70f94bb4aec0d | refs/heads/master | 2020-05-17T23:18:29.483160 | 2019-06-26T18:42:52 | 2019-06-26T18:42:52 | 184,023,439 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 690 | py |
class Room1():
def enter():
print("You enter room 1")
class Room2():
def enter():
print("You enter room 2")
class Map():
def __init__(self, starting_room):
self.starting_room = starting_room
self.locations = {
'room1': Room1(),
'room2': Room2()... | [
"ahivent@gmail.com"
] | ahivent@gmail.com |
7b7c0674a9d8be762b5af182046205d28a4ae0c9 | eeb7e70b0b68decbdcb32682351e54e0be99a5b0 | /kaggle/python_files/sample453.py | ad3779f42d0ce7478cd0feb47ba8bbd3c057db7b | [] | no_license | SocioProphet/CodeGraph | 8bafd7f03204f20da8f54ab23b04f3844e6d24de | 215ac4d16d21d07e87964fe9a97a5bf36f4c7d64 | refs/heads/master | 2023-02-16T02:51:27.791886 | 2021-01-15T07:00:41 | 2021-01-15T07:00:41 | null | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 2,934 | py | #!/usr/bin/env python
# coding: utf-8
# *=== Please read also the comments below, in case Kagglers write updates to this post ===*
# <br>
# <br>
# If you're new to Kaggle kernels, you may wonder how to create an output file. Perhaps you have already run in your notebook a function like .to_csv, but **you don't see you... | [
"mccusker@gmail.com"
] | mccusker@gmail.com |
ad983194e5b166299097326ce0fffd28c5c84e54 | a838d4bed14d5df5314000b41f8318c4ebe0974e | /sdk/devtestlabs/azure-mgmt-devtestlabs/azure/mgmt/devtestlabs/aio/operations/_virtual_machine_schedules_operations.py | dab93e3eb69b9c11db62d49d8446fd124415c9ec | [
"MIT",
"LicenseRef-scancode-generic-cla",
"LGPL-2.1-or-later"
] | permissive | scbedd/azure-sdk-for-python | ee7cbd6a8725ddd4a6edfde5f40a2a589808daea | cc8bdfceb23e5ae9f78323edc2a4e66e348bb17a | refs/heads/master | 2023-09-01T08:38:56.188954 | 2021-06-17T22:52:28 | 2021-06-17T22:52:28 | 159,568,218 | 2 | 0 | MIT | 2019-08-11T21:16:01 | 2018-11-28T21:34:49 | Python | UTF-8 | Python | false | false | 26,744 | py | # coding=utf-8
# --------------------------------------------------------------------------
# Copyright (c) Microsoft Corporation. All rights reserved.
# Licensed under the MIT License. See License.txt in the project root for license information.
# Code generated by Microsoft (R) AutoRest Code Generator.
# Changes may ... | [
"noreply@github.com"
] | scbedd.noreply@github.com |
6714d4727442f57a60f2a1b933dd2c2c14184d73 | 9afbb6993450d1e0c3bae68e86844bd06d4419ee | /online_python1/test1.py | f04455f08aa863043ca8ed9220f502155e340275 | [] | no_license | Jigar710/Python_Programs | 6f331caac30878655d4cca4ad97d4214c0262088 | 714a6306487eb6712f32ccb51b6a2407a81873fa | refs/heads/main | 2023-02-25T12:24:44.874199 | 2021-01-28T15:43:24 | 2021-01-28T15:43:24 | 332,869,164 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 53 | py | # will not work
a = "hi"
b = a ** 3
print(a)
print(b) | [
"jigar.shekhat.777@gmail.com"
] | jigar.shekhat.777@gmail.com |
2a46b438faa12882746a9dba0a9c554cb4b097f5 | 79e1d04867c4298b23c907f92c7119e4bea8ef02 | /ParlAI/parlai/core/torch_agent.py | c02eed03b23ea3e468e8c4ffccbe84eb315faf5d | [
"MIT",
"Apache-2.0"
] | permissive | ethanjperez/convince | 53db0bcd978831799c68fe63ecb0c91473ec40c4 | ccf60824b28f0ce8ceda44a7ce52a0d117669115 | refs/heads/master | 2023-01-08T09:12:16.722614 | 2021-11-03T18:50:30 | 2021-11-03T18:50:30 | 205,189,291 | 27 | 8 | Apache-2.0 | 2023-01-05T22:43:12 | 2019-08-29T15:03:34 | Python | UTF-8 | Python | false | false | 57,670 | 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.
"""General utility code for building PyTorch-based agents in ParlAI.
Contains the following main utilities:
* TorchAgen... | [
"ethanperez18@gmail.com"
] | ethanperez18@gmail.com |
711f21cc4cd6f0bf21f392cac68b5ceb4054c50e | ce0f8956c4c308c67bd700d31fe8d5a17b16ac08 | /Python3/src/15 Threading and Concurrency/Threading/05-sharing-data-3.py | d5ca22185670820f47a50c33bf733153a91ad842 | [] | no_license | seddon-software/python3 | 795ae8d22a172eea074b71d6cd49d79e388d8cc6 | d5e6db1509a25c1a3040d5ae82d757539a2ff730 | refs/heads/master | 2021-07-10T15:48:31.893757 | 2020-07-16T20:29:22 | 2020-07-16T20:29:22 | 175,872,757 | 0 | 1 | null | null | null | null | UTF-8 | Python | false | false | 918 | py | ############################################################
#
# sharing data
#
############################################################
from threading import Thread
from threading import Lock
import random
import time
import sys
# use the with statement to create an implicit try block
# the lock will be rel... | [
"seddon-software@keme.co.uk"
] | seddon-software@keme.co.uk |
d86561bfdf7942d11d55ac36cc529fe5e11f5802 | 35a30c54193fc790b41085eb0e7b2fdd0e06dc91 | /basic_python/basics/more_db.py | cabe081d49542706ffab508e99935c99c77c89ae | [] | no_license | kooshanfilm/Python | fbf479da44565f1a2cba4ee78648bbe05892fc2b | e3a28631d7eeb8cf3ccc8f0f8ebb73d7c198df67 | refs/heads/master | 2023-02-19T16:29:28.724367 | 2022-02-19T22:11:56 | 2022-02-19T22:11:56 | 141,833,237 | 0 | 1 | null | 2023-02-07T22:27:49 | 2018-07-21T17:32:33 | Python | UTF-8 | Python | false | false | 1,468 | py | #!/usr/local/bin/python3.4
# By Amir Hassan Azimi [http://parsclick.net/]
import sqlite3
def insert(db, row):
db.execute('insert into test (t1, i1) values (?, ?)', (row['t1'], row['i1']))
db.commit()
def retrieve(db, t1):
cursor = db.execute('select * from test where t1 = ?', (t1,))
return cursor.fet... | [
"kooshanfilm@hotmail.com"
] | kooshanfilm@hotmail.com |
031d81b2d0c6f4baa7ca6095d7bbba85ae54328c | e5565fac8a04642fadf1da0d6bc54a3d0ea1c5a1 | /flask/auxiliar.py | e8803a60b6b61ca743db98ac7766b96ff2e9637d | [
"Unlicense"
] | permissive | ttm/pnud4 | 86b1c7988ae80f9ed9277dec838f62b16746dd85 | 89e1fd866dbdea7afcb3d1020816370e303f258c | refs/heads/master | 2021-01-02T23:07:58.939440 | 2014-09-15T22:50:06 | 2014-09-15T22:50:06 | 23,091,064 | 1 | 0 | null | null | null | null | UTF-8 | Python | false | false | 5,873 | py | #-*- coding: utf8 -*-
from SPARQLWrapper import SPARQLWrapper, JSON
from configuracao import *
import string, networkx as x, nltk as k
import __builtin__
stemmer = k.stem.RSLPStemmer()
def fazRedeAmizades():
global SPARQLWrapper
q="""SELECT ?a ?b ?aname ?bname
WHERE {
?a foaf:knows ?b .
... | [
"renato.fabbri@gmail.com"
] | renato.fabbri@gmail.com |
29599983d99ecf7c0beb4b5ffa2d3fbad0885f2b | 897871d09b8b1e86c5a48599839ba9534260f2c9 | /aromawine3-new_update__with_checkout/payment_method/admin.py | 13faee6d60754243b61ec6690004079549f71e01 | [] | no_license | sidkushwah123/wine | 0b8b8fdf44068b4488d5f1ae5d34a24d3fff19a9 | bb29e84fb4a0709aca36e819ae6191147a9691b5 | refs/heads/main | 2023-07-27T14:03:06.814484 | 2021-09-11T15:25:39 | 2021-09-11T15:25:39 | 405,354,798 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 404 | py | from django.contrib import admin
from .models import AwPaymentMethod
from import_export.admin import ImportExportModelAdmin
# Register your models here.
class AwPaymentMethodAdmin(ImportExportModelAdmin):
list_display = ('Name_on_Card','Card_Number','Expiry_Date','CVC_CVV','ZIP','Created_by','Created_date')
lis... | [
"sachinkushwah0007@gmail.com"
] | sachinkushwah0007@gmail.com |
4577736c5d74a779f6b69196e1839be30b3b2d43 | a50e4fb1440b2c0638b3c72f343de62734caf194 | /healthybills/settings.py | 66abb14b0adf3810de757fa3ae652d7bbd188ec5 | [] | no_license | MarkyAaronYoung/healthy-bills-server | 168226ef60254021b501edf47d391a6a559488b3 | cd615e3a1940987ca58be07fa6a5b5cf60a1b110 | refs/heads/main | 2023-03-25T22:30:23.189937 | 2021-03-25T14:06:38 | 2021-03-25T14:06:38 | 345,149,493 | 0 | 0 | null | 2021-03-25T14:06:39 | 2021-03-06T17:08:21 | Python | UTF-8 | Python | false | false | 3,637 | py | """
Django settings for healthybills project.
Generated by 'django-admin startproject' using Django 3.1.3.
For more information on this file, see
https://docs.djangoproject.com/en/3.1/topics/settings/
For the full list of settings and their values, see
https://docs.djangoproject.com/en/3.1/ref/settings/
"""
from pa... | [
"markyaaronyoung@gmail.com"
] | markyaaronyoung@gmail.com |
d62d2fb0eb8cd86a8bdf9e54a1b2f8252b442737 | 3ae62276c9aad8b9612d3073679b5cf3cb695e38 | /easyleetcode/leetcodes/Leetcode_182_Duplicate_Emails_*.py | 9a26c8dd2a6c68b81ef9544faf61c564c217b7a7 | [
"Apache-2.0"
] | permissive | gongtian1234/easy_leetcode | bc0b33c3c4f61d58a6111d76707903efe0510cb4 | d2b8eb5d2cafc71ee1ca633ce489c1a52bcc39ce | refs/heads/master | 2022-11-16T17:48:33.596752 | 2020-07-13T02:55:03 | 2020-07-13T02:55:03 | null | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 40 | py | print('Leetcode_182_Duplicate_Emails_*') | [
"425776024@qq.com"
] | 425776024@qq.com |
6228c85e2ca9337db6bb95f8b224cd4de6cfcd2f | 28c6989b05f8ea30065877ae84beaaadcb392d69 | /manage.py | d1105f22f147c7352a751eeaedf223dba04e6f2f | [] | no_license | Umutonipamera/ToDoListApp | cfc56fd15ebddaf10aebe6e17dc132125df22ff9 | 65901fa0ed3841ef740ddb300873262cc6574862 | refs/heads/master | 2023-06-24T07:11:09.791246 | 2021-07-27T18:29:42 | 2021-07-27T18:29:42 | 388,177,351 | 1 | 0 | null | null | null | null | UTF-8 | Python | false | false | 665 | py | #!/usr/bin/env python
"""Django's command-line utility for administrative tasks."""
import os
import sys
def main():
"""Run administrative tasks."""
os.environ.setdefault('DJANGO_SETTINGS_MODULE', 'ToDo_List.settings')
try:
from django.core.management import execute_from_command_line
except Im... | [
"umutonipamera@gmail.com"
] | umutonipamera@gmail.com |
6ff072a6e2147a1cd4036db9c351a5c509cedd3d | 8ab2c7d0664a9c4b2d400f330e5516990eabd9a1 | /posts/migrations/0017_post_likes.py | 6ffa81a0505573735c6c29c9cc88883d8f598210 | [] | no_license | mahmud-sajib/Django-Blog | d335f759279feef712738126477bcb288e1aa5a9 | cba9f692dde1d50878cdfded4f36d1fd76bde253 | refs/heads/master | 2023-04-27T14:00:23.364276 | 2020-08-28T09:55:34 | 2020-08-28T09:55:34 | 240,199,312 | 2 | 1 | null | 2023-04-21T20:48:38 | 2020-02-13T07:13:52 | CSS | UTF-8 | Python | false | false | 421 | py | # Generated by Django 2.2 on 2020-03-07 04:27
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [
('posts', '0016_auto_20200306_2033'),
]
operations = [
migrations.AddField(
model_name='post',
name='likes',
... | [
"shout.mahmud@gmail.com"
] | shout.mahmud@gmail.com |
9aa21be925718892c331a7da4ca05d100cfe084e | 8c10c35b247ad417a0e3893b08a890e2c70055a5 | /backend/comedianModel/models.py | 4f5814e86a91c67a111940cec375c42147232207 | [] | no_license | crowdbotics-apps/test14-28665 | d06576c969ca12f92169ee0404562366777c2a50 | 182788839dd9b1149196428183ee91dfd67231a3 | refs/heads/master | 2023-06-19T02:45:40.322924 | 2021-07-09T16:55:29 | 2021-07-09T16:55:29 | 384,499,526 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 463 | py | from django.conf import settings
from django.db import models
class Comedians(models.Model):
"Generated Model"
name = models.CharField(
max_length=256,
)
class Jokes(models.Model):
"Generated Model"
joke = models.CharField(
max_length=256,
)
comedian = models.ForeignKey(
... | [
"team@crowdbotics.com"
] | team@crowdbotics.com |
49acfc58754069e15a3218eee7d216363410dc11 | e5dae0f531f3aa6cfd3c6c122a4bbf8b37872d46 | /check_apk.py | 15b73755b48bb5b01620a19cb6005787fad3ff1d | [] | no_license | Rafiot/stalkerware-indicators | cc67d0fa10c63e05ff8ece5024dfd45b2c917ef2 | eb832dcec7677adf739e73845dae285c3c8fd1cd | refs/heads/master | 2022-10-29T11:42:42.232554 | 2020-06-21T15:32:30 | 2020-06-21T15:32:30 | 273,949,498 | 1 | 0 | null | 2020-06-21T17:09:51 | 2020-06-21T17:09:51 | null | UTF-8 | Python | false | false | 3,282 | py | import argparse
import os
import sys
import yaml
import hashlib
from androguard.core.bytecodes.apk import APK
def load_indicators(file_path: str) -> dict:
indicators = {}
with open(os.path.join(file_path, 'appid.yaml')) as f:
indicators['appids'] = yaml.load(f, Loader=yaml.BaseLoader)
with open(os... | [
"tek@randhome.io"
] | tek@randhome.io |
e555059f4b9fad75ec4400c0decfcf6294982ccb | 6c137e70bb6b1b618fbbceddaeb74416d387520f | /pyqtgraph/examples/GLImageItem.py | 581474fd18d616485b254e71b69d1e8cde075c2a | [
"BSD-2-Clause",
"MIT"
] | permissive | zhong-lab/code | fe497c75662f8c3b7ab3c01e7e351bff6d5e8d15 | b810362e06b44387f0768353c602ec5d29b551a2 | refs/heads/master | 2023-01-28T09:46:01.448833 | 2022-06-12T22:53:47 | 2022-06-12T22:53:47 | 184,670,765 | 2 | 7 | BSD-2-Clause | 2022-12-08T21:46:15 | 2019-05-02T23:37:39 | Python | UTF-8 | Python | false | false | 1,746 | py | # -*- coding: utf-8 -*-
"""
Use GLImageItem to display image data on rectangular planes.
In this example, the image data is sampled from a volume and the image planes
placed as if they slice through the volume.
"""
## Add path to library (just for examples; you do not need this)
import initExample
from pyqtgraph.Qt ... | [
"none"
] | none |
469cc61d352a836fb7a5e828aef4c3cf0676a75c | a43cf3cacf518096737dd39833fd39624f8cf543 | /antevents/base.py | 4bcf9c7c5e4451d37e41cb428ba8c774e70f8e84 | [
"Apache-2.0"
] | permissive | Mickey1964/antevents-python | f6ad4f9b056550055a223f7d4a7d34bc030c1dfb | 5b9226813583141986014fc83f6f74342a5f271e | refs/heads/master | 2021-06-15T11:23:56.253643 | 2017-03-31T05:25:59 | 2017-03-31T05:25:59 | null | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 43,174 | py | # Copyright 2016 by MPI-SWS and Data-Ken Research.
# Licensed under the Apache 2.0 License.
"""
Base functionality for ant events. All the core abstractions
are defined here. Everything else is just subclassing or using
these abstractions.
The key abstractions are:
* Publisher - a publisher is a data source that p... | [
"jeff@data-ken.org"
] | jeff@data-ken.org |
30dc206da3ff7417c076c63484ea339e73e4c54f | 7bc54bae28eec4b735c05ac7bc40b1a8711bb381 | /src/tlm/data_gen/run_unmasked_pair_gen.py | c299a5acd7c979901fa33e9074b373f3d2b44a8e | [] | no_license | clover3/Chair | 755efd4abbd5f3f2fb59e9b1bc6e7bc070b8d05e | a2102ebf826a58efbc479181f1ebb5de21d1e49f | refs/heads/master | 2023-07-20T17:29:42.414170 | 2023-07-18T21:12:46 | 2023-07-18T21:12:46 | 157,024,916 | 0 | 0 | null | 2023-02-16T05:20:37 | 2018-11-10T21:55:29 | Python | UTF-8 | Python | false | false | 1,378 | py | import random
import sys
from cache import *
from job_manager.marked_task_manager import MarkedTaskManager
from tlm.data_gen.lm_datagen import UnmaskedPairGen
working_path ="/mnt/nfs/work3/youngwookim/data/bert_tf"
class Worker:
def __init__(self, out_path):
self.out_dir = out_path
self.gen = Un... | [
"lesterny@gmail.com"
] | lesterny@gmail.com |
1218803bf87eb7bc922d113422099a6153d4b9ae | 0e834094f5e4274b279939b81caedec7d8ef2c73 | /m1/project_mnth01/gemo2048.py | 843145d70d77f59201f2f88e40b483506471b774 | [] | no_license | SpringSnowB/All-file | b74eaebe1d54e1410945eaca62c70277a01ef0bf | 03485c60e7c07352aee621df94455da3d466b872 | refs/heads/master | 2020-11-27T23:54:36.984555 | 2020-01-21T08:42:21 | 2020-01-21T08:42:21 | 229,651,737 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 2,074 | py | """
2048 核心算法
"""
#1.定义函数,零元素移动到末尾
__list_merge = [0, 0, 2, 2]
def move_zero():
""" 零元素移动到末尾
"""
while __list_merge[0] ==0:
for i in range(len(__list_merge) - 1):
if __list_merge[i] == 0:
__list_merge[i], __list_merge[i + 1] = __list_merge[i + 1], __list_merge[i]
... | [
"tszxwsb@163.com"
] | tszxwsb@163.com |
4ca164e8240cf3a03a4ab486d60f31f2c8b7f081 | 5068bc927a7fff73923ce95862ff70120160c491 | /electrum-axe | a28c9603b39f9bc773a86ff3f3798eda29d3e10e | [
"MIT"
] | permissive | AXErunners/electrum-axe | cdbce2dbb92e23e32e9f9b733ae9f65f51c0ae9f | 7ef05088c0edaf0688fb167df353d6da619ebf2f | refs/heads/master | 2021-04-03T09:40:37.109317 | 2020-08-27T16:53:18 | 2020-08-27T16:53:18 | 124,705,752 | 336 | 75 | MIT | 2020-10-17T18:30:25 | 2018-03-10T23:00:48 | Python | UTF-8 | Python | false | false | 17,448 | #!/usr/bin/env python3
# -*- mode: python -*-
#
# Electrum - lightweight Bitcoin client
# Copyright (C) 2011 thomasv@gitorious
#
# Permission is hereby granted, free of charge, to any person
# obtaining a copy of this software and associated documentation files
# (the "Software"), to deal in the Software without restri... | [
"slowdive@me.com"
] | slowdive@me.com | |
2d8fcd0850a499bb52741a35c6b388c439e2c882 | 13f5c66af02a64aa8c5d988e9560b82bcf058fd0 | /use_a_cabeca_python/AthleteList.py | e10bd9802bb655276a7b55d79046f4a6ca44901a | [] | no_license | heitorchang/reading-list | a1090b969d0f16cbc7c0e371671e85dca0bde201 | 3dcfd68cb02179e75216ff459fda693ec1fb8684 | refs/heads/master | 2023-04-27T03:04:28.122341 | 2023-04-21T14:04:20 | 2023-04-21T14:04:20 | 67,825,952 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 713 | py | class AthleteList(list):
def __init__(self, a_name, a_dob=None, a_times=[]):
# list.__init__([]) # appears to be optional
self.name = a_name
self.dob = a_dob
self.extend(a_times)
def top3(self):
return sorted(set(self))[:3]
def test():
k = AthleteList("Kelly", "1997... | [
"heitorchang@gmail.com"
] | heitorchang@gmail.com |
5c6e3ec0223dac4075998a312d7139df867bec08 | ca7aa979e7059467e158830b76673f5b77a0f5a3 | /Python_codes/p03724/s824484588.py | 8979fbff9f609574d28ec62f6dbe789a65c69b5a | [] | 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 | 274 | py | import collections
N, M = map(int,input().split())
A = [0] * M
B = [0] * M
for i in range(M):
A[i], B[i] = input().split()
C = A + B
D = collections.Counter(C)
for i in D:
if D[i] % 2 == 0:
continue
else:
print('NO')
exit()
print('YES')
| [
"66529651+Aastha2104@users.noreply.github.com"
] | 66529651+Aastha2104@users.noreply.github.com |
62d6fe75fdf5cb31098bb87c9e4a23b50b00b62e | 75f7dba3115d6e771ff16f8a227289b35c80f00d | /views/second_category_list_table_model.py | 376712fd9653c532ff5456f01ba78c82675ebedd | [] | no_license | ltnghia/video-object-annotation-interface | e801e8c1f0b472af98ede9646025328530dfcc5f | f7b363efe20423a6b1dfa455df2743b71b8d8905 | refs/heads/master | 2023-01-09T17:24:25.973062 | 2020-02-19T13:19:53 | 2020-02-19T13:19:53 | 199,964,408 | 2 | 2 | null | 2022-12-27T15:35:29 | 2019-08-01T02:50:24 | Python | UTF-8 | Python | false | false | 1,552 | py | from PyQt5.QtGui import *
from PyQt5.QtCore import *
from PyQt5.QtWidgets import *
from views.base_table_model import BaseTableModel
class SecondCategoryListTableModel(BaseTableModel):
def __init__(self, parent=None):
QAbstractTableModel.__init__(self, parent)
self.header_labels = ['ID', 'Second ... | [
"trungnghiadk@gmail.com"
] | trungnghiadk@gmail.com |
bc9ee56a9c570d8e46fb2b8ba05a4b5994a2eed5 | ca7aa979e7059467e158830b76673f5b77a0f5a3 | /Python_codes/p02830/s301067674.py | dcfb17d8140ff77e16201b26096c1ad052528e47 | [] | 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 | 140 | py | n = int(input())
a, b = map(list, input().split())
if len(a) == len(b):
for i in range(0, len(a)):
print(a[i] + b[i], end = "") | [
"66529651+Aastha2104@users.noreply.github.com"
] | 66529651+Aastha2104@users.noreply.github.com |
e9fab5abba7eff5c66dd8e49ed4e4d3ff5dde702 | 1e18d62167e3924079dd34555253fa11cd8f2d23 | /practice02.py | 3e3e568bea0c0c8f9c20f673477f761606a1549e | [] | no_license | hoyeonkim795/image_processing_project | e19fcc6022095d565da2ef86533c1d29159f5195 | 8ec401f8c1c34fa4cda3f53ba1552b6b329fe564 | refs/heads/master | 2022-11-09T20:50:37.082455 | 2020-06-29T06:43:31 | 2020-06-29T06:43:31 | 275,752,289 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 805 | py | import cv2
import numpy as np
img = cv2.imread('/home/kriskim/Documents/Python/eye.jpg',0)
img = cv2.medianBlur(img,5)
cimg = cv2.cvtColor(img,cv2.COLOR_GRAY2BGR)
circles = cv2.HoughCircles(img,cv2.HOUGH_GRADIENT,1,150,
param1=80,param2=50,minRadius=0,maxRadius=0)
circles = np.uint16(np.a... | [
"hy940313@gmail.com"
] | hy940313@gmail.com |
1d17bf27e8a12df36303623b6f782d166b6fb889 | 1d60c68f79072236ddb4ef27ed882b4d6e4c1034 | /demo/loops/break_demo.py | bab06e3b9f8edfc6b9d650a1dc69223cee369820 | [] | no_license | srikanthpragada/PYTHON_13_OCT_2020 | 21e9c9ba86fbdd0858d19f38fad20ee2b7786310 | 183fb465d93a6bd3a703479936c1c972f3681f24 | refs/heads/master | 2023-01-19T14:45:46.969376 | 2020-11-25T14:26:50 | 2020-11-25T14:26:50 | 304,349,928 | 1 | 0 | null | null | null | null | UTF-8 | Python | false | false | 162 | py | total = 0
for i in range(1, 6):
num = int(input("Enter number [0 to stop]:"))
if num == 0:
break # Terminate loop
total += num
print(total)
| [
"srikanthpragada@gmail.com"
] | srikanthpragada@gmail.com |
8c184805763226fa12e2f8874c3f3cef738b840d | acfab9011d276323ce4aa24075aee35f470c17b8 | /9.DictionaryandSets/79.2.Dictionary.py | 07b944ca48d73d04d2d7bbbf314a042f7ea2798a | [] | no_license | Engi20/Python-Programming-for-Beginners | ad84d66a5ce9dd4e6ab23acde13f74607b87ead1 | fa02fcd265f8d7145e554267435c7e73ed562e36 | refs/heads/master | 2022-06-07T05:56:17.326070 | 2020-05-02T17:41:20 | 2020-05-02T17:41:20 | null | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 292 | py | d={'USA':100,'UK':200,'India':300}
#d1 = d + {'Aus':400} Cannot Use
#d.insert('Aus',400) #AttributeError
#d.append('Aus',400) #AttributeError
#d.extend({'Aus':400}) #AttributeError
#print(d[0:2]) #TypeError
print(d)
del(d['UK'])
print(d)
#d.sort() #AttributeError
| [
"noreply@github.com"
] | Engi20.noreply@github.com |
0b397781d98083fbe0cf7e16940847ffc73a0c3e | 06eb243dd14f54445d9d09a2cf9356b398ce5cc8 | /shoe_sale/settings.py | 158251dcdb5166d1aa5e254f6af65f121d0a4d1c | [] | no_license | wgoode3/shoes | 6c4c0ff97c343b65358bda96aff1d7d477d68f6d | 38571a15b81a1c12df859fd51d058639c0c63dd6 | refs/heads/master | 2020-03-23T15:28:49.307455 | 2018-07-20T21:48:48 | 2018-07-20T21:48:48 | 141,751,041 | 1 | 1 | null | null | null | null | UTF-8 | Python | false | false | 3,118 | py | """
Django settings for shoe_sale project.
Generated by 'django-admin startproject' using Django 2.0.7.
For more information on this file, see
https://docs.djangoproject.com/en/2.0/topics/settings/
For the full list of settings and their values, see
https://docs.djangoproject.com/en/2.0/ref/settings/
"""
import os
... | [
"wgoode3@gmail.com"
] | wgoode3@gmail.com |
cdf68b3e52046785fd22b375763373f8f35affb6 | 96724f89fc16ec2b73896946d7a44e0532618ba6 | /Iwant/plugin.py | 0ff92d98d8a600f03ed7fcd1f1ded0d43d842398 | [] | no_license | Azelphur/Supybot-plugins | d1448a8b7d3281b5ce7e1a25d9956a3dcd908200 | 063f3475022ddd9834b94564bb9bb499aee6b503 | refs/heads/master | 2020-05-20T13:28:40.213224 | 2012-06-27T12:20:01 | 2012-06-27T12:20:01 | null | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 4,818 | py | ###
# Copyright (c) 2011, Valentin Lorentz
# All rights reserved.
#
# Redistribution and use in source and binary forms, with or without
# modification, are permitted provided that the following conditions are met:
#
# * Redistributions of source code must retain the above copyright notice,
# this list of conditi... | [
"progval@gmail.com"
] | progval@gmail.com |
4dd67cedb2fcdaea1d23cfffdaee40bd297ed2ca | 43d4b962a83dac734dfb09b8523fdfcfcc6628c1 | /top_cliente/migrations/0011_auto_20190108_1123.py | a99a0b5f821b487044361a1ed6e31198bf0f69e0 | [] | no_license | redcliver/sistemas | 01edd98c2814eee50550010169b2c7594e5256f5 | 1129c9516c57fbf53ce3cf5e0e5feb3835d3e9df | refs/heads/master | 2020-04-07T17:23:04.809752 | 2019-05-02T16:24:18 | 2019-05-02T16:24:18 | 158,567,651 | 1 | 0 | null | null | null | null | UTF-8 | Python | false | false | 679 | py | # -*- coding: utf-8 -*-
# Generated by Django 1.11.16 on 2019-01-08 14:23
from __future__ import unicode_literals
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [
('top_cliente', '0010_auto_20190107_1215'),
]
operations = [
migrations.AddF... | [
"igor-peres@hotmail.com"
] | igor-peres@hotmail.com |
eb07d2424a264b5eb6f3ace30dd67c0b523d36d7 | f4f0a38b624badf71628b3d908732b0ac271a429 | /src/py_playground/graphene/sqlalchemy/model.py | d9e37a331cf3c9a31338498cd0f7b93b7922e0b6 | [] | no_license | gy-chen/py_playground | d2e5cbe803aacf12f777d39cc276dc1bb874dd0b | 5b0fbf42f67ac1cae5ee40f2209513d182669180 | refs/heads/master | 2021-01-23T05:19:10.862126 | 2019-04-24T12:45:10 | 2019-04-24T12:45:10 | 86,298,726 | 0 | 1 | null | null | null | null | UTF-8 | Python | false | false | 592 | py | import os
from sqlalchemy import create_engine, Column, Integer, String
from sqlalchemy.orm import scoped_session, sessionmaker
from sqlalchemy.ext.declarative import declarative_base
engine = create_engine(os.getenv('SQLALCHEMY_DATABASE_URI', 'sqlite:///:memory:'), echo=True)
Base = declarative_base(bind=engine)
ses... | [
"gy.chen@gms.nutc.edu.tw"
] | gy.chen@gms.nutc.edu.tw |
90264299de42b7c729ca7e36729da524020f09a6 | 1f1c75f93692453e7fa944106ea7ed5a6f69d53c | /Day2/LoginTest.py | 0b793b239071b06a1ac550ef5553c8cc8a5ace94 | [] | no_license | caotya/selenium7th | 6e286b70f9430872f57e363595261c36ec9cd820 | 9155fa03763d60afc98d8241a4a3f2077375d6f3 | refs/heads/master | 2020-03-21T10:42:46.092006 | 2018-06-24T08:46:06 | 2018-06-24T08:46:06 | 138,466,849 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 1,907 | py | #1.打开浏览器
from selenium import webdriver
from selenium.webdriver import ActionChains
from selenium.webdriver.common.keys import Keys
class login():
def loginWithDefaultUser(self,driver):
#driver = webdriver.Chrome()
driver.implicitly_wait(20)
#2.打开海盗商城网站
driver.get("http://localhost/"... | [
"51Testing"
] | 51Testing |
8fab3fb2c510162b5127a40f03644fd6193110e5 | f9f05cf26b8fd4b23a7dc907523cc2c66ab750a0 | /day02/test_008.py | b3db10ad2a2aa0e17664a1a3a3c44310c537725e | [] | no_license | wuxing1314/APIAuto-Test | 59c4a114be3dc93cfba13c0157acd83830807658 | 3c3ab0d019a3f8d41a06ea62a13174eaac94555e | refs/heads/main | 2023-03-13T14:44:24.464393 | 2021-02-24T10:43:45 | 2021-02-24T10:43:45 | 341,841,382 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 973 | py | '''
fixtrue带参数
'''
import pytest
# 5组测试数据,表示不同的用户名
@pytest.fixture(params=["root", "admin", "administrator", "123", "Test-123"])
def login_data(request): # 固定写法,request是pytest中的关键字
return request.param # 固定写法
# 使用5组数据分别执行这个用例,共执行5次。
def test_login(login_data):
print(login_data)
# format,
print(f"测试登... | [
"wuxing1314@aliyun.com"
] | wuxing1314@aliyun.com |
ec9b35b248d103492bc01394deffe8539d84aacd | 415f728f6132d10c0e6d3a43a97e80a9947bdfa1 | /convertmusic/tools/xmp_lib/libxmp.py | ab922d31541fcd92b8661794d0e0f815d4ca4204 | [
"MIT"
] | permissive | groboclown/music-uploader | bcc1e9ea35ed024ef838bd00eb5198e129de0bd4 | d73ad811324027f2d1d4292eaa599709f3600b56 | refs/heads/master | 2021-07-04T18:16:04.930378 | 2020-07-25T01:38:08 | 2020-07-25T01:38:08 | 129,127,331 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 56,529 | py | '''Wrapper for xmp.h
Generated with:
ctypesgen/ctypesgen.py -x XMP_VER.* -lxmp libxmp/include/xmp.h -o libxmp.py --insert-file=interface.py
Do not modify this file.
'''
__docformat__ = 'restructuredtext'
# Begin preamble
import ctypes, os, sys
from ctypes import *
_int_types = (c_int16, c_int32)
if hasattr(ctype... | [
"matt@groboclown.net"
] | matt@groboclown.net |
d4c32b4b746774ecff46664b0dd4d7aa9138c14e | 33ddc0a7e904b53eacf2170856699ae91fe8aa47 | /decim/immuno_scripts/imshow_stan_valid_onefixed.py | a96fbbf06274086b1a0288bcd68f194ee4ea8ece | [] | no_license | nwilming/decim | 6670dd460ce15b65c433b25b6a983236b92474c0 | e593f171d132afa3bcf4959457c320d0b35f3c77 | refs/heads/master | 2020-03-08T03:24:36.986437 | 2018-12-11T17:03:38 | 2018-12-11T17:03:38 | 106,668,018 | 0 | 0 | null | 2017-10-12T08:48:37 | 2017-10-12T08:48:37 | null | UTF-8 | Python | false | false | 5,324 | py | import pandas as pd
import numpy as np
import matplotlib.pyplot as plt
import seaborn as sns
from glob import glob
from os.path import join
import decim.statmisc as ds
from mpl_toolkits.axes_grid1.inset_locator import inset_axes
plt.rcParams['pdf.fonttype'] = 42
plt.rcParams['ps.fonttype'] = 42
sns.set(style='ticks', ... | [
"kenohagena@gmail.com"
] | kenohagena@gmail.com |
b66cb8cd268e12d2613932e1d84ac5e53a45a29c | 51f887286aa3bd2c3dbe4c616ad306ce08976441 | /pybind/slxos/v17r_2_00/uda/access_list/extended/uda_acl_ext/__init__.py | 8740c49c78f619cdb9372e1857028a79468ddced | [
"Apache-2.0"
] | permissive | b2220333/pybind | a8c06460fd66a97a78c243bf144488eb88d7732a | 44c467e71b2b425be63867aba6e6fa28b2cfe7fb | refs/heads/master | 2020-03-18T09:09:29.574226 | 2018-04-03T20:09:50 | 2018-04-03T20:09:50 | null | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 8,430 | py |
from operator import attrgetter
import pyangbind.lib.xpathhelper as xpathhelper
from pyangbind.lib.yangtypes import RestrictedPrecisionDecimalType, RestrictedClassType, TypedListType
from pyangbind.lib.yangtypes import YANGBool, YANGListType, YANGDynClass, ReferenceType
from pyangbind.lib.base import PybindBase
from d... | [
"badaniya@brocade.com"
] | badaniya@brocade.com |
b1d1dc32f4381bf42dfc0d9f8c7447b72a0e98fe | ca7aa979e7059467e158830b76673f5b77a0f5a3 | /Python_codes/p02616/s927139462.py | cdcf6e7467f81108f9611486873420b5b172324c | [] | 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 | 1,349 | py | MOD = 10 ** 9 + 7
N, K = map(int, input().split())
l = list(map(int, input().split()))
pos = []
neg = []
z = 0
for v in l:
if v > 0:
pos.append(v)
elif v < 0:
neg.append(v)
else:
z += 1
pos.sort()
neg.sort()
if N - z < K:
print(0)
elif N - z == K:
if len(neg) % 2 and z:... | [
"66529651+Aastha2104@users.noreply.github.com"
] | 66529651+Aastha2104@users.noreply.github.com |
a8839f781f7fcf40aeace3aebbce531b846de372 | 845e20f1cfa0980244f68643577dd7ca909194b5 | /drf_auth/views.py | e6a2d2c191d8d53b6ec245b11ec3158c124c6230 | [
"MIT"
] | permissive | TheArtling/django-drf-auth | 919735b138572287ba6b7b05cef345679638267e | 732183fae6cb129a1bf5c0c619fbd76e366ab392 | refs/heads/master | 2020-07-25T18:41:09.969468 | 2016-11-29T10:02:23 | 2016-11-29T10:02:23 | 73,772,544 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 170 | py | """Views for the drf_auth app."""
from django.views.generic import TemplateView
class FinishSignupView(TemplateView):
template_name = 'drf_auth/finish_signup.html'
| [
"mbrochh@gmail.com"
] | mbrochh@gmail.com |
ae15be2cb00e3b167a3e5ed07674069074de2c2e | f162f030660fa1529cb339fb325b57eceb3e112c | /zinnia/tests/__init__.py | 79bc4626f752f615fa603bdf5ecedfafea63c1fb | [
"BSD-3-Clause"
] | permissive | jbazik/django-blog-zinnia | f1d4b17e36d9b5b27982d7bcdc6c926adf9baac4 | ed18a76887b934eb697be94dc7cf5bd3c866dc87 | refs/heads/master | 2021-01-15T20:38:14.435222 | 2013-06-01T13:28:26 | 2013-06-01T13:28:26 | null | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 3,238 | py | """Unit tests for Zinnia"""
from unittest import TestSuite
from unittest import TestLoader
from zinnia.tests.entry import EntryTestCase
from zinnia.tests.entry import EntryHtmlContentTestCase
from zinnia.tests.entry import EntryAbsoluteUrlTestCase
from zinnia.tests.models_bases import LoadModelClassTestCase
from zinni... | [
"fantomas42@gmail.com"
] | fantomas42@gmail.com |
e7d036db641c2fbed1c78e31507a4b3f732631ed | 6057b6a85760902950479fe8fdbd06ad4d72f0bb | /Modules/BotCore/Nick_Commands/BotNick_Gitpull.py | 3b6237aa4cc942055e26ecb9cd4d37ad6261b53b | [] | no_license | SpiceBot/SpiceBot.old | c4d1672c5552dd4fa43988b0288e29d1652ca399 | a8dbfe4406d84dcef0a0449fc0f5ee4c4a880166 | refs/heads/master | 2020-05-18T13:12:06.067617 | 2019-06-17T16:13:51 | 2019-06-17T16:13:51 | 184,431,450 | 0 | 1 | null | 2019-06-17T16:13:52 | 2019-05-01T14:48:44 | Python | UTF-8 | Python | false | false | 1,581 | py | #!/usr/bin/env python
# coding=utf-8
from __future__ import unicode_literals, absolute_import, print_function, division
# sopel imports
import sopel.module
# imports for system and OS access, directories
import os
import sys
# imports based on THIS file
moduledir = os.path.dirname(__file__)
shareddir = os.path.dirna... | [
"sam@deathbybandaid.net"
] | sam@deathbybandaid.net |
16b30666c8848aad3076537200b3ee44a4225c37 | 31df36bde8d00fbafdada3e40705036aa7b136f0 | /todo_app/migrations/0001_initial.py | b3924a8344f1829e79c8aa8bccf06f1fcd5617b2 | [] | no_license | IMsumitkumar/TO-DO-Django-rest-framework- | 9d1a562e20850d8a9b87885a7d8c9ed66fe05fc9 | 3d6a9019bc4b317d9bdaffe2d05251f1845b3d36 | refs/heads/master | 2022-12-05T06:37:07.632915 | 2020-08-26T20:14:58 | 2020-08-26T20:14:58 | 290,594,768 | 1 | 0 | null | null | null | null | UTF-8 | Python | false | false | 575 | py | # Generated by Django 3.0.3 on 2020-08-05 07:17
from django.db import migrations, models
class Migration(migrations.Migration):
initial = True
dependencies = [
]
operations = [
migrations.CreateModel(
name='Task',
fields=[
('id', models.AutoField(aut... | [
"sk20506942@gmail.com"
] | sk20506942@gmail.com |
17c090bdb8836170c137db5dfbe4f020d57883d9 | 0fc1ba5ecb2d8eac5533890c0c1df2034e42eeff | /s14/clase/edmonds-karp.py | b1488cae23f42645e0cf35d0c4bdcec6ba577986 | [] | no_license | oscarburga/tutorias-complejidad-algoritmica-2021-1 | 00c8d017ed63d10378b7ba543096564082ef3d3c | c2ad9c27e082de442e739f61264f19160ade9c07 | refs/heads/master | 2023-06-12T07:16:26.528929 | 2021-07-04T21:00:03 | 2021-07-04T21:00:03 | 354,336,135 | 7 | 1 | null | null | null | null | UTF-8 | Python | false | false | 1,928 | py | #!/usr/bin/python3.7
import resource, sys
resource.setrlimit(resource.RLIMIT_STACK, (2**29, -1))
sys.setrecursionlimit(10**7)
inf = 10**18
# math.inf es de tipo float
# aqui estamos usando puros enteros,
# entonces mejor trabajemos al 100% con enteros
# buena practica: evitar convertir tipos de datos constantemente
... | [
"oscarburga2001@gmail.com"
] | oscarburga2001@gmail.com |
6bbc05fd9ff6b3fea46450045bac001afee57322 | ae67b9d90db114c1e15ce63ee0d27942d999a83b | /ask-smapi-model/ask_smapi_model/v1/skill/nlu/evaluations/resolutions_per_authority_status.py | 4d246d84d31991604e03f4f5736d0a140fb51da4 | [
"Apache-2.0"
] | permissive | Birds-Awesome-Org/alexa-apis-for-python | ecb2e351b5cb1b341dda5c3ebc38927fa6d66a93 | d22c1712cb53a442b72f830f53d97ef66075750b | refs/heads/master | 2022-12-30T04:37:51.214040 | 2020-10-09T21:41:03 | 2020-10-09T21:41:03 | null | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 4,659 | py | # coding: utf-8
#
# Copyright 2019 Amazon.com, Inc. or its affiliates. All Rights Reserved.
#
# Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file
# except in compliance with the License. A copy of the License is located at
#
# http://aws.amazon.com/apache2.0/
#
# or in the "lice... | [
"ask-pyth@dev-dsk-ask-sdk-python-2b-85d79f62.us-west-2.amazon.com"
] | ask-pyth@dev-dsk-ask-sdk-python-2b-85d79f62.us-west-2.amazon.com |
9c0d8de69c2968fa840abcc6e154859bb8c79a48 | 6712885a4c2a056eee3b4488382b9afc2149f799 | /New LeetCode Problems/flood_fill.py | aed8336f938eaf04101b4de54e4a8e3705e75959 | [] | no_license | matthewharrilal/CS-Questions-GRIND | cac1cb562e5dad79ee4e224895d034f9c71d9ed3 | 7196c5e8df495d43ee91f218d6253c8a88a7d59d | refs/heads/master | 2020-04-16T01:30:53.289837 | 2019-07-24T04:34:21 | 2019-07-24T04:34:21 | 165,176,585 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 2,693 | py | class Solution(object):
def floodFill(self, image, sr, sc, newColor):
"""
:type image: List[List[int]]
:type sr: int
:type sc: int
:type newColor: int
:rtype: List[List[int]]
"""
initial_value = image[sr][sc]
image = self.dfs(... | [
"matthewharrilal@gmail.com"
] | matthewharrilal@gmail.com |
d7009b78267a75e0972f520f5271a6afec7e9767 | 936dc2666f27de7a7d1428c7ad2ded62a722b8fa | /src/projects/migrations/0017_alter_project_contract_link.py | bfd01d72a5c29ef1378ad353f67404924b02d0de | [
"ISC"
] | permissive | MTES-MCT/aides-territoires | 03451a32bdeaab3812b8593bfe3a27c1b1d9a182 | af9f6e6e8b1918363793fbf291f3518ef1454169 | refs/heads/master | 2023-09-04T22:15:17.819264 | 2023-08-25T13:19:17 | 2023-08-25T13:19:17 | 124,301,398 | 21 | 11 | NOASSERTION | 2023-09-12T13:46:49 | 2018-03-07T22:19:11 | Python | UTF-8 | Python | false | false | 1,046 | py | # Generated by Django 4.2.2 on 2023-06-20 12:52
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [
("projects", "0016_alter_project_due_date_and_more"),
]
operations = [
migrations.AlterField(
model_name="project",
nam... | [
"noreply@github.com"
] | MTES-MCT.noreply@github.com |
0724ad5f522ef9ddb6cd0a6db10f6a57e98dca56 | beae392dcd51001613e5d3e226587d646d854c1f | /ML_Finance/OptimizeAndFitLine.py | f4ee7558d5eeae3765e5b442004a34c6dc14846f | [] | no_license | ShubraChowdhury/ML | 2c7a0a51ca657dda47ceb8a19cecbcafa6cd16b0 | 1e631f2ab86bfd35e2c8790501a7effb4e0d106a | refs/heads/master | 2021-05-15T14:44:28.753164 | 2018-11-18T14:06:48 | 2018-11-18T14:06:48 | 106,418,011 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 2,496 | py | # -*- coding: utf-8 -*-
"""
Created on Thu Apr 28 08:49:38 2016
@author: DevAdmin
"""
import pandas as pd
import numpy as np
import matplotlib.pyplot as plt
import scipy.optimize as op
def error(line, data):
""" Compute error between a given line model and observed data
Parameters
li... | [
"noreply@github.com"
] | ShubraChowdhury.noreply@github.com |
80e801fbafd132a8341b829abd5e3072fded48bd | 64460c308cd18945e93e8fb014a35855b734e05f | /src/tasks/waterbird.py | 09bcedc2b4140429779ee92b10a1fcc372bd2dc9 | [] | no_license | davidrmh/P-DRO | b3e6e304b2de7ce05fe387acd37bf2b4f3ae8e7c | fba797fdd833f87a737c13ef707e71541cc70911 | refs/heads/main | 2023-03-23T22:33:16.926562 | 2021-03-22T21:28:42 | 2021-03-22T21:28:42 | null | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 1,632 | py | #!/usr/bin/env python3
import os.path
from ..data.waterbird import WaterbirdDataset
from .task import Task
class Waterbird(Task):
"""Split CIFAR into separate classes"""
def __init__(self, path, img_size=84, in_memory=True):
super(Waterbird, self).__init__()
self.path = os.path.join(path, "w... | [
"pmichel31415@gmail.com"
] | pmichel31415@gmail.com |
edac5ea3b0682e65fd05dae85284ef059fd107b7 | 3e660e22783e62f19e9b41d28e843158df5bd6ef | /script.me.syncsmashingfromgithub/smashingfavourites/scripts/checked/ideaordemo/printtologwaskodilog.py | 6823b7c81ef3f5b871a6ef28dbcfc27b4316bbde | [] | no_license | monthou66/repository.smashingfavourites | a9603906236000d2424d2283b50130c7a6103966 | f712e2e4715a286ff6bff304ca30bf3ddfaa112f | refs/heads/master | 2020-04-09T12:14:34.470077 | 2018-12-04T10:56:45 | 2018-12-04T10:56:45 | 160,341,386 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 389 | py | #!/usr/bin/python
print "testing********************************************************************************"
mess = sys.argv[1]
def message():
if mess == 1:
message = "one"
elif mess == 2:
message = "two"
else:
message = "balls"
print message()
print "testing*******************... | [
"davemullane@gmail.com"
] | davemullane@gmail.com |
61ec7902fb7b680c8a025735c148cadcfb6bcf9e | df2cbe914f463ad050d7ed26194424afbe3a0a52 | /addons/stock_account/tests/test_stock_valuation_layer_revaluation.py | d84f865229a37f1d0402513b760613b1c9ccf043 | [
"Apache-2.0"
] | permissive | SHIVJITH/Odoo_Machine_Test | 019ed339e995be980606a2d87a63312ddc18e706 | 310497a9872db7844b521e6dab5f7a9f61d365a4 | refs/heads/main | 2023-07-16T16:23:14.300656 | 2021-08-29T11:48:36 | 2021-08-29T11:48:36 | 401,010,175 | 0 | 0 | Apache-2.0 | 2021-08-29T10:13:58 | 2021-08-29T10:13:58 | null | UTF-8 | Python | false | false | 8,263 | py | # -*- coding: utf-8 -*-
# Part of Odoo. See LICENSE file for full copyright and licensing details.
from odoo.exceptions import UserError
from odoo.tests import Form
from odoo.addons.stock_account.tests.test_stockvaluation import _create_accounting_data
from odoo.addons.stock_account.tests.test_stockvaluationlayer impo... | [
"36736117+SHIVJITH@users.noreply.github.com"
] | 36736117+SHIVJITH@users.noreply.github.com |
4936f83f132b296c9d8ead10fe8022a6728e0d3b | b92adbd59161b701be466b3dbeab34e2b2aaf488 | /testing/testing_submissions/testing_assignment_003/venv/bin/pylint | e4b4c059f8234121a722c73fe47bbf82ae1cb450 | [] | no_license | R151865/cloud_9_files | 7486fede7af4db4572f1b8033990a0f07f8749e8 | a468c44e9aee4a37dea3c8c9188c6c06e91cc0c4 | refs/heads/master | 2022-11-22T10:45:39.439033 | 2020-07-23T09:31:52 | 2020-07-23T09:31:52 | 281,904,416 | 0 | 1 | null | 2022-11-20T00:47:10 | 2020-07-23T09:08:48 | Python | UTF-8 | Python | false | false | 244 | #!/home/ec2-user/environment/venv/bin/python3
# -*- coding: utf-8 -*-
import re
import sys
from pylint import run_pylint
if __name__ == '__main__':
sys.argv[0] = re.sub(r'(-script\.pyw|\.exe)?$', '', sys.argv[0])
sys.exit(run_pylint())
| [
"r151865@rguktrkv.ac.in"
] | r151865@rguktrkv.ac.in | |
c2f8a182a164740adceb99c8dd13c0e3eed81592 | 385c523c08eea5e95d323de5c9be45ddbc7f51f9 | /notebook/moscatel/models.py | 2437e62fa7fa2ed2cba90b695dc8567f146e336f | [] | no_license | jpdeleon/moscatel | d55f393c780600c8b5477a056c232578d333a699 | 29b1ce813cf649c8e4aaabc22aa71d186731fee0 | refs/heads/master | 2021-01-22T23:10:51.028885 | 2017-07-12T03:19:51 | 2017-07-12T03:19:51 | 85,614,391 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 3,617 | py | import warnings
import numpy as np
import matplotlib.pyplot as plt
from astropy.modeling import models, fitting
from scipy.optimize import curve_fit
from scipy.ndimage.filters import gaussian_filter
from moscatel import utils
def gauss1D(x, *params):
A, mu, sigma, eps= params
return A*np.exp(-(x-mu)**2/(2.*sig... | [
"jpdeleon.bsap@gmail.com"
] | jpdeleon.bsap@gmail.com |
bb1957eea0d4ed3918f498288f4568ea16b8cc32 | f0fd2b4f56b1753e47139a3557a1625abcfead9e | /django/django_fundamentals/books_authors_shell copy/read/migrations/0002_author_notes.py | ba6f997fbecc30dbebbe77a7829bb0fd53a537f3 | [] | no_license | nlee1229/Python-Stack | 16dd6078be98392d8a21a93965beb7d39ba4157e | 1aba5cf17f1f6c50d8fd50de031fcd6ec2bdda21 | refs/heads/master | 2023-03-26T05:12:14.264780 | 2021-03-22T01:56:22 | 2021-03-22T01:56:22 | 328,876,685 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 402 | py | # Generated by Django 2.2.4 on 2020-11-06 01:25
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [
('read', '0001_initial'),
]
operations = [
migrations.AddField(
model_name='author',
name='notes',
field=m... | [
"72540269+nlee1229@users.noreply.github.com"
] | 72540269+nlee1229@users.noreply.github.com |
af877db2a3557b2f2f8cc28b36a87cd4436541ae | 13c14be20f16ffc14b7cde71ed8c4179e2410a0b | /python/itertools/itertools-product.py | bc998829e6f43581fbdbeec69ff4e231a9c533e2 | [] | no_license | gautamits/hackerrank | 79688e5735a27eed032ce0c34f4fe253cfb6b572 | aee6b00f4cd39c18e9107e933cceb55b9677c3c7 | refs/heads/master | 2020-05-21T22:55:50.977437 | 2018-12-11T05:09:36 | 2018-12-11T05:09:36 | 61,579,845 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 155 | py | from itertools import product
a=[]
a.append(map(int,raw_input().split()))
a.append(map(int,raw_input().split()))
print " ".join(map(str,list(product(*a)))) | [
"gautamamits95@gmail.com"
] | gautamamits95@gmail.com |
023b8fcd6d5eb2c84a834045fcaab3fad74bf426 | ee974d693ca4c4156121f8cb385328b52eaac07c | /env/lib/python3.6/site-packages/werkzeug/_reloader.py | b8affbfaf3f213035d1af24083e04d179718cf1a | [] | no_license | ngonhi/Attendance_Check_System_with_Face_Recognition | f4531cc4dee565d0e45c02217f73f3eda412b414 | 92ff88cbc0c740ad48e149033efd38137c9be88d | refs/heads/main | 2023-03-12T07:03:25.302649 | 2021-02-26T15:37:33 | 2021-02-26T15:37:33 | 341,493,686 | 1 | 0 | null | null | null | null | UTF-8 | Python | false | false | 130 | py | version https://git-lfs.github.com/spec/v1
oid sha256:cb9230666c805b39a95ad7d873c66804bfb5ce66cabb2ba57948e0073b851041
size 11575
| [
"Nqk180998!"
] | Nqk180998! |
ddd43ec1005c55d22fc1301dec9583ce1b24deb3 | 9a4c569548c6aa96f9e137da1e4dba9a8dd0ec13 | /catkin_ws/build/ur_bringup/catkin_generated/pkg.installspace.context.pc.py | dc72e7893dcbd1aaef28c40ab611739b23d06846 | [] | no_license | capf-2011/Vargi-Bots-eYRC | 081014358a1b2f9cf55064d58ff2e5bdee554445 | 89b0bd0d5de1215e2338379931e31aea2e946ed3 | refs/heads/master | 2023-03-23T07:50:43.159560 | 2021-03-07T10:19:50 | 2021-03-07T10:19:50 | null | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 374 | py | # generated from catkin/cmake/template/pkg.context.pc.in
CATKIN_PACKAGE_PREFIX = ""
PROJECT_PKG_CONFIG_INCLUDE_DIRS = "".split(';') if "" != "" else []
PROJECT_CATKIN_DEPENDS = "".replace(';', ' ')
PKG_CONFIG_LIBRARIES_WITH_PREFIX = "".split(';') if "" != "" else []
PROJECT_NAME = "ur_bringup"
PROJECT_SPACE_DIR = "/hom... | [
"satyamozar@gmail.com"
] | satyamozar@gmail.com |
1f1f32e09e1aedb0e123abef9b9abff5affa06e3 | 303bac96502e5b1666c05afd6c2e85cf33f19d8c | /solutions/python3/644.py | bd0062c1612ae51de4128e84257e4bb08e7798cd | [
"MIT"
] | permissive | jxhangithub/leetcode | 5e82f4aeee1bf201e93e889e5c4ded2fcda90437 | 0de1af607557d95856f0e4c2a12a56c8c57d731d | refs/heads/master | 2022-05-22T12:57:54.251281 | 2022-03-09T22:36:20 | 2022-03-09T22:36:20 | 370,508,127 | 1 | 0 | MIT | 2022-03-09T22:36:20 | 2021-05-24T23:16:10 | null | UTF-8 | Python | false | false | 691 | py | class Solution:
def findMaxAverage(self, nums: List[int], k: int) -> float:
def sub(mid):
sm = pre = mn = 0
for i in range(k):
sm += nums[i] - mid
if sm >= 0:
return True
for i in range(k, len(nums)):
sm += nums[... | [
"cenkay.arapsagolu@gmail.com"
] | cenkay.arapsagolu@gmail.com |
4efaa604ba95e701f0daf84a32fa872c854e2d5d | 84d0c498d10958e763e303a80bfec1c2ff0da1f9 | /raven_django/management/__init__.py | e011a71d8e72588431c0d8fe1a373d8c128e6ccc | [
"BSD-3-Clause"
] | permissive | nikolas/raven-django | 08e54b4dda8bc53c621659b8d3a2b71759c0b7cc | f9065d60b579046ace266741a2f1e0e1d55c4f38 | refs/heads/master | 2020-05-23T11:18:38.516078 | 2014-07-26T09:35:19 | 2014-07-26T09:35:19 | 34,874,324 | 0 | 0 | null | 2015-04-30T20:10:23 | 2015-04-30T20:10:23 | null | UTF-8 | Python | false | false | 1,589 | py | """
raven_django.raven.management
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
:copyright: (c) 2010-2013 by the Sentry Team, see AUTHORS for more details
:license: BSD, see LICENSE for more details.
"""
from __future__ import absolute_import, print_function
import sys
from functools import wraps
from django.conf import settings
... | [
"xordoquy@linovia.com"
] | xordoquy@linovia.com |
3db8e3a44e9b6f7ee7f5f3ee716ce2af413c1025 | 9405aa570ede31a9b11ce07c0da69a2c73ab0570 | /aliyun-python-sdk-adb/aliyunsdkadb/request/v20190315/DescribeAutoRenewAttributeRequest.py | 5520ea659e7e68fa89a55c79e277c964b88dae9f | [
"Apache-2.0"
] | permissive | liumihust/aliyun-openapi-python-sdk | 7fa3f5b7ea5177a9dbffc99e73cf9f00e640b72b | c7b5dd4befae4b9c59181654289f9272531207ef | refs/heads/master | 2020-09-25T12:10:14.245354 | 2019-12-04T14:43:27 | 2019-12-04T14:43:27 | 226,002,339 | 1 | 0 | NOASSERTION | 2019-12-05T02:50:35 | 2019-12-05T02:50:34 | null | UTF-8 | Python | false | false | 2,551 | py | # Licensed to the Apache Software Foundation (ASF) under one
# or more contributor license agreements. See the NOTICE file
# distributed with this work for additional information
# regarding copyright ownership. The ASF licenses this file
# to you under the Apache License, Version 2.0 (the
# "License"); you may not u... | [
"sdk-team@alibabacloud.com"
] | sdk-team@alibabacloud.com |
14e3153830d0ff69b185461c524aab1119d22619 | 63ba933a294865f65409635f62e0f1d59f725f37 | /src/arrays/binPack.py | 2e77ffde61fd1c0e826333caf4fad122a0c6913a | [
"CC0-1.0"
] | permissive | way2arun/datastructures_algorithms | fc4302bdbb923ef8912a4acf75a286f2b695de2a | 4ea4c1579c28308455be4dfa02bd45ebd88b2d0a | refs/heads/master | 2021-12-07T04:34:35.732026 | 2021-09-30T12:11:32 | 2021-09-30T12:11:32 | 203,658,808 | 1 | 0 | null | 2020-08-08T15:55:09 | 2019-08-21T20:23:46 | Python | UTF-8 | Python | false | false | 2,947 | py | """
Bin Packing Problem (Minimize number of used Bins)
Given n items of different weights and bins each of capacity c,
assign each item to a bin such that number of total used bins is minimized.
It may be assumed that all items have weights smaller than bin capacity.
Input: wieght[] = {4, 8, 1, 4, 2, 1}
... | [
"way2aru@yahoo.com"
] | way2aru@yahoo.com |
1c4cdb460d278b4211fcb0bce7e90768202e98d5 | c9639acba536063561716bafab5cb6260cff3f08 | /tests/hwsim/test_ap_wps.py | e0791a0cae0265ad7822b06213213187f013eea7 | [
"BSD-3-Clause"
] | permissive | kimocoder/dragonslayer | ff1957acfbda12a56b65a71d9e9e1d2f95c7b41a | 818d7761442cfc0dd32fbf220a750d87676d8d31 | refs/heads/master | 2023-04-29T18:57:34.908302 | 2019-06-01T08:28:27 | 2019-06-01T08:28:27 | 182,525,614 | 0 | 0 | NOASSERTION | 2019-06-01T08:28:28 | 2019-04-21T11:41:05 | C | UTF-8 | Python | false | false | 410,991 | py | # WPS tests
# Copyright (c) 2013-2017, Jouni Malinen <j@w1.fi>
#
# This software may be distributed under the terms of the BSD license.
# See README for more details.
from remotehost import remote_compatible
import base64
import binascii
from Crypto.Cipher import AES
import hashlib
import hmac
import os
import time
im... | [
"j@w1.fi"
] | j@w1.fi |
b5822261e53c48528db1d1073d4f975024a41473 | 0b3ada069436097d3ed5694d069094975983e692 | /virtual/bin/easy_install | b573bb5979a2e3a72621bfb10756720b17768b1c | [
"MIT"
] | permissive | AugustineOchieng/blogger | 3329d866ccb25916c814607354ee12b6ca02a192 | d8205ddb6cd17c654003b49ff876002fb65b3449 | refs/heads/master | 2020-05-17T19:24:48.248542 | 2019-05-01T11:21:50 | 2019-05-01T11:21:50 | 183,913,837 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 277 | #!/home/moringa/Documents/ms-python/blogger/virtual/bin/python
# -*- coding: utf-8 -*-
import re
import sys
from setuptools.command.easy_install import main
if __name__ == '__main__':
sys.argv[0] = re.sub(r'(-script\.pyw?|\.exe)?$', '', sys.argv[0])
sys.exit(main())
| [
"gusochieng@gmail.com"
] | gusochieng@gmail.com | |
a1afd59f2383d1c1d8ee3a291ac661bd40087f98 | 01ac9e40052a468dd472a296df0003c4e629e2c9 | /news_all/spiders_old/shanxicm_all.py | 2c4298366b4cccc2e58e3004a296b2ce82e2d04f | [] | no_license | Pintrue/news_all | b5cee16584ed92e6574edd825b574214df65d917 | eb8c32c79bdacd8e2f76b88f27871c3cd0118006 | refs/heads/master | 2022-03-23T13:34:10.354029 | 2019-11-22T07:40:50 | 2019-11-22T07:40:50 | 223,058,997 | 2 | 1 | null | null | null | null | UTF-8 | Python | false | false | 2,666 | py | # -*- coding: utf-8 -*-
from datetime import datetime
from scrapy.linkextractors import LinkExtractor
from scrapy.spiders import Rule
from news_all.spider_models import NewsRCSpider
class Shanxichuanmei_allSpider(NewsRCSpider):
"""陕西传媒网"""
name = 'sxcm'
mystart_urls = {
'http://www.sxdaily.com.cn... | [
"py416@ic.ac.uk"
] | py416@ic.ac.uk |
984dc779ae03db65aa5cf196064ce9583373b4c7 | 45de3aa97525713e3a452c18dcabe61ac9cf0877 | /src/secondaires/navigation/commandes/vent/liste.py | 65ff36e8051daaf0b236c3e0f09e072847d05caf | [
"BSD-3-Clause"
] | permissive | stormi/tsunami | 95a6da188eadea3620c70f7028f32806ee2ec0d1 | bdc853229834b52b2ee8ed54a3161a1a3133d926 | refs/heads/master | 2020-12-26T04:27:13.578652 | 2015-11-17T21:32:38 | 2015-11-17T21:32:38 | 25,606,146 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 3,178 | py | # -*-coding:Utf-8 -*
# Copyright (c) 2010 LE GOFF Vincent
# All rights reserved.
#
# Redistribution and use in source and binary forms, with or without
# modification, are permitted provided that the following conditions are met:
#
# * Redistributions of source code must retain the above copyright notice, this
# l... | [
"kredh@free.fr"
] | kredh@free.fr |
3333a07dc20203cbf1503febc29135cf866471da | 0ddcfcbfc3faa81c79e320c34c35a972dab86498 | /puzzles/search_suggestions_system.py | 35af16a9a95358d24b63e69cb907978adf85d9a1 | [] | no_license | IvanWoo/coding-interview-questions | 3311da45895ac4f3c394b22530079c79a9215a1c | 1312305b199b65a11804a000432ebe28d1fba87e | refs/heads/master | 2023-08-09T19:46:28.278111 | 2023-06-21T01:47:07 | 2023-06-21T01:47:07 | 135,307,912 | 0 | 0 | null | 2023-07-20T12:14:38 | 2018-05-29T14:24:43 | Python | UTF-8 | Python | false | false | 3,358 | py | # https://leetcode.com/problems/search-suggestions-system/
"""
Given an array of strings products and a string searchWord. We want to design a system that suggests at most three product names from products after each character of searchWord is typed. Suggested products should have common prefix with the searchWord. If ... | [
"tyivanwu@gmail.com"
] | tyivanwu@gmail.com |
9f7bc00e6bfd71fef8d6700737b94e508fd7ad4f | 06b06ce31d4369dcb2a998a80fb7e5a3349803ce | /pm4pyws/handlers/xes/process_schema/inductive_freq/__init__.py | f872e4943d514f560b289a08398c9d41945870d1 | [
"AGPL-3.0-only"
] | permissive | Javert899/pm4py-ws | f3df4dea442ff0e46fc5ee6df427520c580c96b5 | 78fa062df449d3e5076df87f094f9d5461684f1a | refs/heads/master | 2021-07-07T22:59:35.024414 | 2020-06-02T06:00:57 | 2020-06-02T06:00:57 | 175,439,265 | 0 | 1 | Apache-2.0 | 2019-03-13T14:39:16 | 2019-03-13T14:39:16 | null | UTF-8 | Python | false | false | 71 | py | from pm4pyws.handlers.xes.process_schema.inductive_freq import get_vis
| [
"a.berti@pads.rwth-aachen.de"
] | a.berti@pads.rwth-aachen.de |
a299703a8fe6ac4b1fb2393169df3798178c9f7d | da29f1f5b4459fbfec968bb694bedb9586f87b14 | /new_algs/Numerical+algorithms/Matrix+multiplication+algorithms/mosaicMM.py | 1c007854ee7eec1797b99f1e4bf5ec63e91208c6 | [] | no_license | coolsnake/JupyterNotebook | 547806a45a663f090f313dc3e70f779ad9b213c0 | 20d8df6172906337f81583dabb841d66b8f31857 | refs/heads/master | 2023-01-13T18:55:38.615312 | 2020-11-17T22:55:12 | 2020-11-17T22:55:12 | null | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 17,574 | py | # Mosaic - Block Matrix-Multiplication (simulated over a cluster or an array-of-processors arch)
# The HW details are number of processors (or tiles or tensor cores), number of Fmacs, bandwidth, frequency.
# Then the MM is partitioned over the the processors using a new algorithm (check README.md)
import matplotli... | [
"chenqh@uci.edu"
] | chenqh@uci.edu |
0e4fe342e18762fbb8a1bc4750b26745d730e480 | 71877e3f343e3899da77878937362191fdc02a0f | /swiflow_analysis/swi_aggregation_comparison/compare_swi.py | d563cb0874c877b7f5736ada0aceb571a557e152 | [] | no_license | micahjohnson150/scripts | 2a9007ae6d2ad3eec3596aff6e016f6d13fb0652 | 32a8322cab7463dbcc4d6042e7d53a03c2ee2654 | refs/heads/master | 2023-05-26T04:48:27.005338 | 2023-01-21T14:08:51 | 2023-01-21T14:08:51 | 144,737,605 | 0 | 0 | null | 2023-05-22T21:36:55 | 2018-08-14T15:17:16 | Python | UTF-8 | Python | false | false | 1,342 | py | import pandas as pd
import matplotlib.pyplot as plt
f_ernesto = "./Tollgate_SWI_timeseries_from_ernesto.csv"
f_swiflow = "swi_from_swiflow.csv"
f_swiflow_basin = "./basin_catchments.csv"
df_ernesto = pd.read_csv(f_ernesto, names=["datetime","1","3","5","7","9"],
header=2, parse_dates=[0])
df_... | [
"micah.johnson150@gmail.com"
] | micah.johnson150@gmail.com |
c7310bce92fed3500b1a50f978309ae31303d0fb | 82b946da326148a3c1c1f687f96c0da165bb2c15 | /sdk/python/pulumi_azure_native/network/v20170601/get_virtual_network_gateway_learned_routes.py | 5c875d8b272d5c9c9b638d37f083bdd9454a09d7 | [
"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 | 2,482 | 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 |
bbc32479d7947671ccf4f1be76d2dab361e4feb2 | 60eb98538025c61cf94a91f6c96f9ee81dcd3fdf | /monai/data/dataset.py | 74b97260811d5a2f04a5415b7439a47fa4f54ec3 | [
"Apache-2.0",
"LicenseRef-scancode-free-unknown"
] | permissive | gagandaroach/MONAI | 167e7746995d4b6136731881e22ad4df333b16a9 | 79b83d9fac41efae9b90ed2f9ad078d6d664bf64 | refs/heads/master | 2023-06-02T19:54:47.737846 | 2021-06-24T18:34:02 | 2021-06-24T18:34:02 | 270,741,899 | 0 | 0 | Apache-2.0 | 2020-06-08T16:29:32 | 2020-06-08T16:29:31 | null | UTF-8 | Python | false | false | 49,337 | py | # Copyright 2020 - 2021 MONAI Consortium
# 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 wri... | [
"noreply@github.com"
] | gagandaroach.noreply@github.com |
7eb490f9ab7fbd6edc6061daadffadd67e92f8d0 | 8b7378fafa1cfd996db146bc32cb88f3855ff91c | /assignments/hw11/test_recursive.py | 2d32eb7c133252151c79d84ec49a2c089ec4c575 | [] | no_license | foureyes/csci-ua.0003-fall2020-001 | ec6eb1d039eb1bd3e768add0e39ee76d0db16caf | 7383fe0e4853a88b6e376e6a8a065f1294625da8 | refs/heads/master | 2023-08-10T06:09:49.812705 | 2020-12-07T14:29:08 | 2020-12-07T14:29:08 | 269,897,283 | 0 | 0 | null | 2020-11-30T14:26:38 | 2020-06-06T06:57:07 | HTML | UTF-8 | Python | false | false | 89 | py | import unittest
from recursive import count_nested_tuple
# write your test class here!
| [
"jversoza@cs.nyu.edu"
] | jversoza@cs.nyu.edu |
9f593f2817b494eb73c69db565b4aebe6106d997 | b62f8cc3dc7383bc1c58ac0f20ba187a685fd98d | /MyPortfolioDjangoProject/wsgi.py | 9024f94897f6cbba4237bd7215e1134c45edaf55 | [] | no_license | dilipksahu/dilipksahu.github.io | 9c153fd0777a59157fc77c1e2cd199b32b8e8757 | 489e177fd6680f40b24890ef586f717425e2aa10 | refs/heads/master | 2022-12-24T03:33:50.490601 | 2020-10-01T16:32:54 | 2020-10-01T16:32:54 | 300,344,305 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 425 | py | """
WSGI config for MyPortfolioDjangoProject project.
It exposes the WSGI callable as a module-level variable named ``application``.
For more information on this file, see
https://docs.djangoproject.com/en/3.0/howto/deployment/wsgi/
"""
import os
from django.core.wsgi import get_wsgi_application
os.environ.setdefa... | [
"sahud048@gmail.com"
] | sahud048@gmail.com |
6d0052fbb9e7fb5414767163bdb2f2fa7e500bd1 | 5215ee22217a0bddc6a6eae3b0e49c1216a77bbc | /snippets/cap3ParserGenerators.py | 5f903d0079eca40fbe66d625456550323df04e21 | [
"Artistic-2.0"
] | permissive | PapenfussLab/Mungo | 5cda4d19a5ef4cb51da495f7abf259b4cd4d1697 | 02c5b0e48ecd28596cb9481b282753859f47fed6 | refs/heads/master | 2021-01-17T07:40:08.832760 | 2015-08-20T01:21:19 | 2015-08-20T01:21:19 | 41,067,597 | 1 | 3 | null | 2016-06-12T23:31:20 | 2015-08-20T01:02:28 | Python | UTF-8 | Python | false | false | 2,986 | py | # CAP3 standalone parsers
def parserGenerator(iFile):
header = ''
contents = []
state = State.begin
for line in iFile:
line = line.rstrip()
if not line:
# Blank
pass
elif state==State.begin:
if line[0]!='*':
# Junk at top
... | [
"papenfuss@mac2576.wehi.edu.au"
] | papenfuss@mac2576.wehi.edu.au |
17e987694a1e5f10d40a2ab4709b6b83fced2300 | b7b6557c4de21c1dd7344a0f125badbc32f0b7ca | /standard_midi_file/src/python/standard_midi_file.py | 587ecfaa66d93a61cb1c36c38751389b2a1a8b03 | [
"ISC"
] | permissive | kaitai-io/formats-kaitai-io.github.io | 2aae60b0275178dc9c052e3f41521c9c0cf115ad | 06ce1c307939563c06855fde1988aaf67635a27f | refs/heads/master | 2023-08-29T00:48:43.066965 | 2023-07-30T11:02:21 | 2023-07-30T11:02:21 | 93,513,463 | 8 | 4 | null | 2023-03-23T21:56:31 | 2017-06-06T12:00:54 | HTML | UTF-8 | Python | false | false | 9,986 | py | # This is a generated file! Please edit source .ksy file and use kaitai-struct-compiler to rebuild
import kaitaistruct
from kaitaistruct import KaitaiStruct, KaitaiStream, BytesIO
from enum import Enum
if getattr(kaitaistruct, 'API_VERSION', (0, 9)) < (0, 9):
raise Exception("Incompatible Kaitai Struct Python AP... | [
"kaitai-bot@kaitai.io"
] | kaitai-bot@kaitai.io |
29c9c1c45cb0f0e35774a92ac9cbae8597de59d0 | d94b6845aeeb412aac6850b70e22628bc84d1d6d | /d3pm/text/tasks.py | 4916ac410505d43ba5fb1193b727bda89bf2c71d | [
"CC-BY-4.0",
"Apache-2.0"
] | permissive | ishine/google-research | 541aea114a68ced68736340e037fc0f8257d1ea2 | c1ae273841592fce4c993bf35cdd0a6424e73da4 | refs/heads/master | 2023-06-08T23:02:25.502203 | 2023-05-31T01:00:56 | 2023-05-31T01:06:45 | 242,478,569 | 0 | 0 | Apache-2.0 | 2020-06-23T01:55:11 | 2020-02-23T07:59:42 | Jupyter Notebook | UTF-8 | Python | false | false | 1,918 | py | # coding=utf-8
# Copyright 2023 The Google Research 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 applicab... | [
"copybara-worker@google.com"
] | copybara-worker@google.com |
f28146e0dd215371221afd39ab297aeb7fdfc9e8 | c21535bd337e7059f0bf5cf2ef9b012692b855c7 | /blog/views.py | 65c4c119c8eb0d57eec50edaeba98e24a12228de | [] | no_license | samarmstrong88/my-first-blog | b171f10bd9cce5e5c35d6e43b22c80f8785c9eb2 | 92595810db2daa73da7045f4ca9ddae41a200cfd | refs/heads/master | 2021-01-19T17:00:32.565007 | 2017-08-28T06:01:24 | 2017-08-28T06:01:24 | 101,034,112 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 655 | py | # -*- coding: utf-8 -*-
from __future__ import unicode_literals
from django.utils import timezone
from django.shortcuts import render
from .models import Post
def post_list(request):
posts = Post.objects.filter(published_date__lte=timezone.now()).order_by('published_date')
return render (request, 'blog/post_li... | [
"="
] | = |
e3fd712c70db44494bb5f1c5c844a77579c891b9 | 78ae755947ad6fb3a7a37dd680e59bf5af9cb721 | /suru/suru/users/models.py | 590f643ec0152459dffe8db881dfa68581f75e00 | [] | no_license | fali007/django | ec01f1788781e3be8a7ddda0f7b1947ed326194d | c75396c94ebebf674eb499ea45ea19d45d9b6a6c | refs/heads/master | 2020-12-04T05:30:02.338895 | 2020-01-03T17:23:10 | 2020-01-03T17:23:10 | 231,632,993 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 597 | py | from django.db import models
from django.contrib.auth.models import User
from PIL import Image
# Create your models here.
class Profile(models.Model):
user=models.OneToOneField(User,on_delete=models.CASCADE)
image=models.ImageField(default='default.jpg',upload_to='profile_pics')
def __str__(self):
... | [
"noreply@github.com"
] | fali007.noreply@github.com |
3e9a2ce01e9f699ae38015ad6ffc8efebadefec1 | a5e5d39f42f468d35f18aab3e78c3c090046b0df | /apps/roulette/tests/test_logging.py | 59ef62266f77f2e4b62ed24ee47ddd4a343c978a | [] | no_license | WayneLambert/portfolio | 66198dfc18b3f254e6bc726575903c3e8f570dc4 | 7e02165386e4784f81e15bae0325a77cf45f410d | refs/heads/main | 2023-02-04T18:08:13.559223 | 2023-01-29T14:13:59 | 2023-01-29T14:13:59 | 180,239,669 | 5 | 1 | null | 2023-02-04T07:07:10 | 2019-04-08T22:02:22 | JavaScript | UTF-8 | Python | false | false | 204 | py | import os
from aa_project.settings import base
from apps.roulette.logging import log_file
def test_log_file_setup():
assert os.path.join(base.APPS_DIR, 'roulette/holiday_roulette.log') in log_file
| [
"wayne.a.lambert@gmail.com"
] | wayne.a.lambert@gmail.com |
6312a9f67b1788b44d9d6913ef7dbdc8e08b386f | 600df3590cce1fe49b9a96e9ca5b5242884a2a70 | /ui/display/types/DEPS | b9a60faf0b3450762cc8e3f8d988a289ecc67f88 | [
"BSD-3-Clause"
] | permissive | metux/chromium-suckless | efd087ba4f4070a6caac5bfbfb0f7a4e2f3c438a | 72a05af97787001756bae2511b7985e61498c965 | refs/heads/orig | 2022-12-04T23:53:58.681218 | 2017-04-30T10:59:06 | 2017-04-30T23:35:58 | 89,884,931 | 5 | 3 | BSD-3-Clause | 2022-11-23T20:52:53 | 2017-05-01T00:09:08 | null | UTF-8 | Python | false | false | 102 | include_rules = [
"-ui",
"+ui/display/types",
"+ui/gfx/buffer_types.h",
"+ui/gfx/geometry",
]
| [
"enrico.weigelt@gr13.net"
] | enrico.weigelt@gr13.net | |
d58c064d3d996614800bacbe85f75a0ff0d5d374 | 7f0548b7191b7589712af19baebafddae1d0505f | /dojoassignments/python/django/django_ajax/manage.py | b208ef82b70a129130537068d1aee4b0465b4bd6 | [] | no_license | mtjhartley/codingdojo | dd8eab1bd61fb847e44766e89fe3db2340468102 | 65dc558d19adbe62f85ad61c32cb1c392b56567c | refs/heads/master | 2022-12-14T23:06:11.927445 | 2017-08-16T21:08:35 | 2017-08-16T21:08:35 | 92,218,728 | 1 | 5 | null | 2022-12-07T23:59:48 | 2017-05-23T20:46:03 | Python | UTF-8 | Python | false | false | 809 | py | #!/usr/bin/env python
import os
import sys
if __name__ == "__main__":
os.environ.setdefault("DJANGO_SETTINGS_MODULE", "django_ajax.settings")
try:
from django.core.management import execute_from_command_line
except ImportError:
# The above import may fail for some other reason. Ensure that ... | [
"mtjhartley@gmail.com"
] | mtjhartley@gmail.com |
94afbd7b3445837af8142ab8c1dde595884eb5ed | bcb56cc126ea1885eb5ecc920884e2e331def045 | /Part A/Hit the Lottery.py | e335f218068cefd63fa5c0957da8bd1028c1ae6d | [] | no_license | priyanshkedia04/Codeforces-Solutions | 2d11cb7b8329fe658f983b7212c17fc89fd784f0 | a5197c633bf4c3238f48bfb5b308144c2ffba473 | refs/heads/main | 2023-06-06T13:10:13.787843 | 2021-07-01T14:06:52 | 2021-07-01T14:06:52 | 382,000,707 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 114 | py | n = int(input())
denoms = [100,20,10,5,1]
ans = 0
for coin in denoms:
ans += n//coin
n = n%coin
print(ans) | [
"noreply@github.com"
] | priyanshkedia04.noreply@github.com |
f7ebb83f358b38587aa55ff103c60b460170d9f7 | ca7aa979e7059467e158830b76673f5b77a0f5a3 | /Python_codes/p02556/s557926160.py | 6830cd4a60fdd04ec44f47554183d669a4690815 | [] | 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 | 8,921 | py | # This code is generated by [Atcoder_base64](https://github.com/kyomukyomupurin/AtCoder_base64)
import base64
import subprocess
import zlib
exe_bin = "c%1D#dwf$>nm0+)mPd1f1B#Ch87GXyv9*;~JAyW)!5a(@vG`_U`Us7-O(#vU@>|C`0mf_zbR1`vonc1yH|#7kJG;Z|?jSnKw4kv(1*r;Dv{WhyMMR0nv)S)EkL2by8Fkj*{^jj2_uTJ0=X;*-eD~gS&*_sk$84=eBZ)&N-6... | [
"66529651+Aastha2104@users.noreply.github.com"
] | 66529651+Aastha2104@users.noreply.github.com |
22cd9eded0af52639910f322140b746baf239595 | e4bc9d7f2e177bcd9850ffa12e5b2ddabb3f98ab | /02. Data Science/2. Analysis/2. Excel/2excel_parsing_and_write.py | 3a90d282a077644dc637de6c0f289e7a98428ea8 | [] | no_license | yameenjavaid/bigdata2019 | 94b80b570b76cb174fcacddf8c8c1711a72e77b4 | 3565a1f10162d0ad147a9f189536b858ebe04ffa | refs/heads/master | 2022-01-13T15:39:09.793982 | 2019-04-29T00:14:07 | 2019-04-29T00:14:07 | null | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 614 | py | # xlwt 모듈 설치
# 목적 : 단일 워크시트 처리
import sys
from xlrd import open_workbook
from xlwt import Workbook
input_file = sys.argv[1]
output_file = sys.argv[2]
output_workbook = Workbook()
output_worksheet = output_workbook.add_sheet('jan_2013_output')
with open_workbook(input_file) as workbook :
worksheet = workbook.she... | [
"bgd0706@hanmail.net"
] | bgd0706@hanmail.net |
8cd6a57e9cce192f75ee616e48397155d4a6adf7 | 6bac331844a2f25e56f37b29de7fb79c497d6ad4 | /store/migrations/0001_initial.py | da15004b7df3a7e92c7b5c83c3ec5c7684142ac6 | [] | no_license | ratulkhan44/django_ecommerce | 766de76b7aae4519df24249ea49e54d05d39db52 | b3342ec5aa8af152e5998a6e8e9184b8da69296e | refs/heads/main | 2023-05-24T18:26:25.279079 | 2021-05-30T11:56:37 | 2021-05-30T11:56:37 | 370,646,637 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 1,262 | py | # Generated by Django 3.2.3 on 2021-05-24 08:52
from django.db import migrations, models
import django.db.models.deletion
class Migration(migrations.Migration):
initial = True
dependencies = [
('category', '0002_alter_category_slug'),
]
operations = [
migrations.CreateModel(
... | [
"ratulcse.khan@gmail.com"
] | ratulcse.khan@gmail.com |
1fe7abbfc19a18a9bfc6cf68d65f2a80be279abe | e8a48749014f372633de65d79bfa26a3ad743d89 | /src/transformers/benchmark/benchmark_utils.py | 36fe5eb116cbefab39d6256afab49b385bc37c80 | [
"Apache-2.0"
] | permissive | pvcastro/pytorch-pretrained-BERT | 183b7291972c8d8c66c995647df66c1fe439a763 | 49cd736a288a315d741e5c337790effa4c9fa689 | refs/heads/master | 2022-08-19T08:55:16.332585 | 2022-06-30T16:11:08 | 2022-06-30T16:11:08 | 168,367,637 | 1 | 0 | Apache-2.0 | 2019-01-30T15:39:42 | 2019-01-30T15:39:41 | null | UTF-8 | Python | false | false | 37,626 | py | # This file is adapted from the AllenNLP library at https://github.com/allenai/allennlp
# Copyright 2020 The HuggingFace Team and the AllenNLP authors. All rights reserved.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may o... | [
"noreply@github.com"
] | pvcastro.noreply@github.com |
84bf16a2585d4f39efc961d844fc7b71f2809961 | 010e2215e0db148880ece9d9f16cb2d145f0cdf9 | /metrics/task_compute_metrics.py | c3461611ef46b11219e325ba3e4283d2c0b9c826 | [] | no_license | kangzhonghua/electra_pytorch | cf83898796cf9bfc1d44c3273803a85fd1d6fd77 | e453a4ba17e24cd57af7b77f8d81a12151da932a | refs/heads/master | 2021-04-15T21:43:46.414797 | 2020-03-21T15:01:13 | 2020-03-21T15:01:13 | null | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 3,399 | py | # coding=utf-8
# Copyright 2018 The Google AI Language Team Authors and The HuggingFace Inc. team.
# Copyright (c) 2018, NVIDIA CORPORATION. All rights reserved.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain... | [
"1436496575@qq.com"
] | 1436496575@qq.com |
0e5a93b4e1a221c861ab60ce38306eb99f449544 | 12fcd6e05a1dd359cbba94e76278dc53daa319f5 | /src/billing/migrations/0002_auto_20191227_1342.py | 669fe9149c7a279c05e698c9b171bfaa0133e6ac | [] | no_license | Raju-Pinnam/stacks | 1b105c8e61b793f8ca06cf45371f67e586f7611c | a546a74b059140298b0d9d53f6e2ddb94c6c7028 | refs/heads/master | 2020-11-27T13:35:37.155907 | 2019-12-29T09:25:56 | 2019-12-29T09:25:56 | 229,464,675 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 600 | py | # Generated by Django 3.0.1 on 2019-12-27 08:12
from django.conf import settings
from django.db import migrations, models
import django.db.models.deletion
class Migration(migrations.Migration):
dependencies = [
migrations.swappable_dependency(settings.AUTH_USER_MODEL),
('billing', '0001_initial'... | [
"pinnampadmaraju@gmail.com"
] | pinnampadmaraju@gmail.com |
bf0b06383f948812e270deb17bef1b52028d6343 | 410f0d66049ca881dfdeb9b7f784bd70b1c3f6e7 | /citiesocial/citiesocial/spiders/getproductsfromcollecturl.py | 60451efcd336354b3fb6615f86f6a3e968889314 | [] | no_license | ans2human/Scrappers | 1bdf5a1a4a34752c58fb18d45ac01e3cb54b5fe1 | cb2183d25a8af08284f2a6c1311b8da24c720b96 | refs/heads/master | 2020-03-19T20:41:01.244911 | 2018-06-11T11:27:17 | 2018-06-11T11:27:17 | 136,911,832 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 689 | py | #-*- coding: utf-8 -*-
import scrapy
from citiesocial.items import CitiesocialItem
class GetproductsfromcollecturlSpider(scrapy.Spider):
name = 'getproductsfromcollecturl'
allowed_domains = []
start_urls = []
read_urls = open('collecturls.csv', 'r')
for url in read_urls.readlines():
url =... | [
"ans2human@gmail.com"
] | ans2human@gmail.com |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.