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
6bbe882811dcb39c98a7a58fd9cc5cf75366df5a
7f52845b5aca331ac200565f897b2b1ba3aa79d9
/m251/exp_groups/paper/nlp/intermediate_hf/launch/launch_merge.py
cc08f799d18321b4e1506eabebbcc848c67fca1b
[]
no_license
mmatena/m251
f8fb4ba9c10cd4dfcf5ee252f80e4832e4e86aa0
e23249cf0896c5b42bcd07de70f7b9996d8b276b
refs/heads/master
2023-05-06T10:44:10.945534
2021-06-03T15:07:29
2021-06-03T15:07:29
321,217,654
0
0
null
null
null
null
UTF-8
Python
false
false
2,698
py
""" export PYTHONPATH=$PYTHONPATH:~/Desktop/projects/m251:~/Desktop/projects/del8 python3 m251/exp_groups/paper/nlp/intermediate_hf/launch/launch_merge.py """ from del8.executors.gce import gce from del8.executors.vastai import vastai from del8.executors.vastai import api_wrapper from m251.exp_groups.paper.nlp.inter...
[ "michael.matena@gmail.com" ]
michael.matena@gmail.com
c56a454c10c2d14f2ef6ba96e577d2d45f93969c
e663909cec3c4eda12bb705fce9a6dc901bb7d88
/爬虫/day06 鼠标操作/code/seleniumtest_16_按键.py
4dd0d6edad17eba87b125eeab8e8ced153c844e6
[]
no_license
1284753334/learning2
a03f293965a652883503cae420d8b1ad11ae6661
f2fcb3c856656cc8427768b41add3ee083487592
refs/heads/master
2023-01-30T23:18:26.951210
2020-12-20T15:57:18
2020-12-20T15:57:18
315,065,804
2
0
null
null
null
null
UTF-8
Python
false
false
1,981
py
# _ooOoo_ # o8888888o # 88" . "88 # (| -_- |) # O\ = /O # ____/`---'\____ # .' \\| |// `. # / \\||| : |||// \ # / _||||| -:- |||||- \ # | | \\\ - ///...
[ "huapenghui@git.com" ]
huapenghui@git.com
bc18ab4f6f5f1d9b7afd1cc6ca0f98ab5d45e733
6490651cbbeb75e45974476dfacd9bd224e535f5
/setup.py
061e67e604b1dbdba53b9b68ae34cd227a26a0ef
[ "ZPL-2.1" ]
permissive
ajmitch/waitress
e1c5c4ffdb7ba6d3382afab70244e88ccb8cb4e2
5b73ec67e8bb99152f4113c98b586846dcb3dd55
refs/heads/master
2021-01-18T09:05:00.798542
2012-01-06T06:26:06
2012-01-06T06:26:06
3,114,643
0
0
null
null
null
null
UTF-8
Python
false
false
2,350
py
############################################################################## # # Copyright (c) 2006 Zope Foundation and Contributors. # All Rights Reserved. # # This software is subject to the provisions of the Zope Public License, # Version 2.1 (ZPL). A copy of the ZPL should accompany this distribution. # THIS SOF...
[ "chrism@plope.com" ]
chrism@plope.com
d6e05b5fd8b827e3e237c651b0d26ce6266e2e74
80052e0cbfe0214e4878d28eb52009ff3054fe58
/e2yun_addons/odoo12/wx_tools/basewechat/wxclient.py
cbd74df32bc848f61bcd363947cca1dbf1e7fda9
[]
no_license
xAlphaOmega/filelib
b022c86f9035106c24ba806e6ece5ea6e14f0e3a
af4d4b079041f279a74e786c1540ea8df2d6b2ac
refs/heads/master
2021-01-26T06:40:06.218774
2020-02-26T14:25:11
2020-02-26T14:25:11
243,349,887
0
2
null
2020-02-26T19:39:32
2020-02-26T19:39:31
null
UTF-8
Python
false
false
2,795
py
# -*-coding:utf-8-*- import logging import time import requests from requests.compat import json as _json from wechatpy.constants import WeChatErrorCode from werobot.client import Client from werobot.client import check_error logger = logging.getLogger(__name__) class WxClient(Client): def request(self, method...
[ "hepeng1@163.com" ]
hepeng1@163.com
1729264e68e90f6adaf2e02e1f8aa993275afdc4
6b2a8dd202fdce77c971c412717e305e1caaac51
/solutions_5648941810974720_0/Python/kmwho/A.py
277ac8dd0919a4ab3da742054999cbdc87dbe0d8
[]
no_license
alexandraback/datacollection
0bc67a9ace00abbc843f4912562f3a064992e0e9
076a7bc7693f3abf07bfdbdac838cb4ef65ccfcf
refs/heads/master
2021-01-24T18:27:24.417992
2017-05-23T09:23:38
2017-05-23T09:23:38
84,313,442
2
4
null
null
null
null
UTF-8
Python
false
false
882
py
#! /usr/bin/python # kmwho # CodeJam 2016 1A from __future__ import print_function import numpy as np import math def solvecase(): s = input().strip() alpha = "ABCDEFGHIJKLMNOPQRSTUVWXYZ" count = { c:0 for c in alpha } nums = [ "ZERO", "ONE", "TWO", "THREE", "FOUR", "FIVE", "SIX", "SEVEN", "EIGHT", "NINE" ] di...
[ "alexandra1.back@gmail.com" ]
alexandra1.back@gmail.com
49b2cbe91dcf58a52a374da8f48ca4f24ba256a6
3649308c5d709100c4dc90e661fc9f564f184877
/ocs/student/migrations/0002_auto_20200111_1925.py
770b71e5b1126d729d0198e2d85b190c07d318af
[]
no_license
anirudhasj441/django
54171f6141d6938201146a6d3e9475477a3f0078
5bb202d13d4b17daca9aedf3b213908c3245757b
refs/heads/master
2021-07-09T06:18:11.597848
2021-03-07T17:58:32
2021-03-07T17:58:32
230,616,005
0
0
null
null
null
null
UTF-8
Python
false
false
433
py
# Generated by Django 3.0.1 on 2020-01-11 13:55 import datetime from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('student', '0001_initial'), ] operations = [ migrations.AlterField( model_name='assigments', ...
[ "anirudhasj441@gmail.com" ]
anirudhasj441@gmail.com
f469a19b6eda6cb3a39531b0281881165cae515c
afaa3270ee705ba511b484c7d84377d31e3533f4
/client/commands/restart.py
583766107e2b0fa048c36da50f01fb475648a874
[ "MIT" ]
permissive
moneytech/pyre-check
b6cfe99d9c2bdb3cf3d3a33c2534e2e70d391085
dae90bee716fc1c3f2e9d9c0496e5cdd14c99701
refs/heads/master
2022-12-14T22:46:54.864244
2020-09-09T17:25:53
2020-09-09T17:27:29
null
0
0
null
null
null
null
UTF-8
Python
false
false
4,640
py
# 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. import argparse from typing import Optional from ..analysis_directory import AnalysisDirectory, resolve_analysis_directory from ..configurati...
[ "facebook-github-bot@users.noreply.github.com" ]
facebook-github-bot@users.noreply.github.com
0882dede30a8e3d97273c8afa447882ce630c447
9b50b3a7dda2711c5665909f6801249de53e70f6
/0x03-python-data_structures/3-print_reversed_list_integer.py
49d1b256e98d2d1174d1faa6a47f2f766d9695ad
[]
no_license
nikolasribeiro/holbertonschool-higher_level_programming
3119e5442887f06da104dc8aa93df371f92b9f2b
7dcdf081d8a57ea1f5f6f9830555f73bf2ae6993
refs/heads/main
2023-04-21T05:22:03.617609
2021-05-05T11:38:51
2021-05-05T11:38:51
319,198,337
0
0
null
null
null
null
UTF-8
Python
false
false
182
py
#!/usr/bin/python3 def print_reversed_list_integer(my_list=[]): if isinstance(my_list, list): for element in reversed(my_list): print("{:d}".format(element))
[ "nikolasribeiro2@outlook.com" ]
nikolasribeiro2@outlook.com
0e582df943dd67cd17d19d44d5333d5eae4c2c83
7b74696ff2ab729396cba6c203984fce5cd0ff83
/tradeaccounts/migrations/0019_auto_20200521_1511.py
cab75d17d845a2269e5dfa7899ae5acd158132b6
[ "MIT" ]
permissive
webclinic017/investtrack
e9e9a7a8caeecaceebcd79111c32b334c4e1c1d0
4aa204b608e99dfec3dd575e72b64a6002def3be
refs/heads/master
2023-06-18T12:57:32.417414
2021-07-10T14:26:53
2021-07-10T14:26:53
null
0
0
null
null
null
null
UTF-8
Python
false
false
519
py
# Generated by Django 3.0.2 on 2020-05-21 07:11 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('tradeaccounts', '0018_auto_20200520_1603'), ] operations = [ migrations.AlterField( model_name='tradeaccountsnapshot', ...
[ "jie.han@outlook.com" ]
jie.han@outlook.com
88342e7dee0c043519626340d3fe5daff980f706
90ca69d5d6bd9d08ee2d2b8150eb2fa6a6b00e72
/src/services/tokenize/bert_tokenize_service.py
5ba2812727be96c4859db73377c88ee44b9dcca2
[ "CC-BY-4.0" ]
permissive
budh333/UnSilence_VOC
07a4a5a58fd772230bfe1ffbcb8407de89daa210
f6ba687f96f2c23690c84590adcb24ee239aa86b
refs/heads/main
2023-05-26T20:49:49.105492
2023-05-12T23:18:50
2023-05-12T23:18:50
388,462,045
6
1
null
null
null
null
UTF-8
Python
false
false
2,829
py
import os from typing import Tuple, List from overrides import overrides from tokenizers import BertWordPieceTokenizer from tokenizers.implementations import ByteLevelBPETokenizer from tokenizers.processors import BertProcessing import sentencepiece as spm from enums.configuration import Configuration from servi...
[ "kztodorov@outlook.com" ]
kztodorov@outlook.com
9d69ca141cb222bcaaadafbd4cec3717e860a907
1f73dc7507361ba35ebecd70635a797bc408414c
/py/15.py
bcee4c3f9ec5137e45e54fffd375e0e776d7c473
[]
no_license
permCoding/speedCoding-01-solutions
e8b1043209b1c431b9fdb86e2c265b48fb82ef5b
bf62b77abe9f69486412a7f595c1cf54416479b0
refs/heads/master
2020-11-27T10:44:03.555157
2019-12-23T16:01:23
2019-12-23T16:01:23
229,408,709
0
0
null
null
null
null
UTF-8
Python
false
false
187
py
n, k = map(int, input().split()) def get(N, K): if K == 0: return 1 if N == 0 else 0 if N == 0: return 0 return get(N-1, K-1) + get(N+1, K-1) print(get(n,k))
[ "ttxiom@gmail.com" ]
ttxiom@gmail.com
3df7bcb85dba0398b40efa4868900a6dedc22f36
46f44f80d63c13fcb61dacf7e08d072fb85b58dc
/MostCommonQuestions/25.removeDuplicates.py
02be555260fd9c852cab5e001f86f55ccc452660
[]
no_license
bzamith/MySDEInterviewStudies
ef6d7add97596bded460023a74ba8b77dcebf350
9eea12cc8da3f51532140ed9423ce2a8be9fbdfa
refs/heads/master
2023-02-25T11:41:28.877263
2021-02-01T10:51:48
2021-02-01T10:51:48
265,734,795
12
3
null
2020-10-05T22:21:57
2020-05-21T02:25:15
Python
UTF-8
Python
false
false
861
py
# Source: https://leetcode.com/problems/remove-duplicates-from-sorted-array/ # Problem: "Remove Duplicates from Sorted Array in Place" # Example: # Given a sorted array nums, remove the duplicates in-place such that each element appear only once and return the new length. # Do not allocate extra space for another ...
[ "noreply@github.com" ]
bzamith.noreply@github.com
aecea41605b5c7d5084faa397fb616fd19c5d700
ca7aa979e7059467e158830b76673f5b77a0f5a3
/Python_codes/p04034/s271062170.py
060f9afcca29c5ceddf8d3a1e05771040ec30d15
[]
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
532
py
n , m = map(int,input().split()) aka = [False for i in range(n+1)] kazu = [1 for i in range(n+1)] aka[1] = True for i in range(m): x , y = map(int,input().split()) if aka[x]: if kazu[x] >= 2: kazu[x] -= 1 kazu[y] += 1 elif kazu[x] == 1: kazu[x] -= 1 ...
[ "66529651+Aastha2104@users.noreply.github.com" ]
66529651+Aastha2104@users.noreply.github.com
f9ccc381f1d82dbbce7caa871d0b8a5a18779e15
85e89ff0a842c74c5bae220ed694bdbc3e4eba8e
/src/sploitego/transforms/dnsptrlookup.py
b01aa10f9f0b9111301d8d6d8dcc1f87c708e41e
[]
no_license
AAG-SATIEDN/sploitego
ff368ea1e432720c0346fee1805d6b9f76b7b35f
36fa21485fbe44f14406921aa267762bb4f07bd9
refs/heads/master
2021-01-18T03:47:54.068637
2014-04-20T02:50:22
2014-04-20T02:50:22
20,336,835
2
0
null
null
null
null
UTF-8
Python
false
false
947
py
#!/usr/bin/env python from canari.maltego.configuration import BuiltInTransformSets from canari.maltego.entities import IPv4Address from canari.framework import configure from common.entities import IPv6Address from common.dnstools import nslookup __author__ = 'Nadeem Douba' __copyright__ = 'Copyright 2012, Sploite...
[ "ndouba@gmail.com" ]
ndouba@gmail.com
1518a5d2a8c4b5414f21d19249553414d0f08678
0a63223decec3c45fdde3fffc7ca645ddcdb911c
/prev/baekjoon/8주차/12100/12100_jy.py
70d01d8463c58bc3f7b87b0ea6ce787d189305a7
[]
no_license
WebProject-STT/Algorithm
8fe1f0d4bc176784c072ae88ab154aadcdf92e85
005cfd6a803b1dbd9ede501a2133655650d0ee38
refs/heads/main
2023-07-10T02:49:36.450595
2021-08-09T12:54:13
2021-08-09T12:54:13
335,193,677
0
1
null
null
null
null
UTF-8
Python
false
false
4,598
py
# 2048(easy) import sys from collections import deque N = int(sys.stdin.readline()) max_ = -sys.maxsize grids = [list(map(int, sys.stdin.readline().split())) for _ in range(N)] def find_max(grid): global max_ for g in grid: max_ = max(max_, max(g)) return def move_up(grid): for c in range(N)...
[ "vallot7@naver.com" ]
vallot7@naver.com
fa5957613e2484fe7f441729fce5a1c4086f6a4b
963a5564965e4181caa8a1c66396d714865bc236
/django_cradmin/demo/cradmin_javascript_demos/migrations/0004_fictionalfigure_is_godlike.py
a81ea3c69c3046033dc16fe8677b4d7f1287c1c8
[ "BSD-3-Clause" ]
permissive
appressoas/django_cradmin
d6694b87cf8a7e53b4b6c3049c085560eeba2c9f
944e8202ac67c3838b748ff8f3a0b2a2870619bc
refs/heads/master
2023-07-20T14:15:03.426470
2023-07-17T11:33:10
2023-07-17T11:33:10
20,762,263
12
3
BSD-3-Clause
2023-02-15T20:32:49
2014-06-12T09:45:04
JavaScript
UTF-8
Python
false
false
441
py
# -*- coding: utf-8 -*- # Generated by Django 1.10.1 on 2016-12-13 09:39 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('cradmin_javascript_demos', '0003_auto_20161212_0033'), ] operations = [ migrations.AddField( model_name=...
[ "post@espenak.net" ]
post@espenak.net
ab744627ad21a6209ccee871698b91bdb922a879
d554b1aa8b70fddf81da8988b4aaa43788fede88
/5 - Notebooks e Data/1 - Análises numéricas/Arquivos David/Atualizados/logDicas-master/data/2019-1/225/users/4312/codes/1592_820.py
d42c1e710f961e3e8e64a469d7f416f9d4d929ad
[]
no_license
JosephLevinthal/Research-projects
a3bc3ca3b09faad16f5cce5949a2279cf14742ba
60d5fd6eb864a5181f4321e7a992812f3c2139f9
refs/heads/master
2022-07-31T06:43:02.686109
2020-05-23T00:24:26
2020-05-23T00:24:26
266,199,309
1
0
null
null
null
null
UTF-8
Python
false
false
289
py
# Instituto de Computacao - UFAM # Lab 01 - Ex 10 # 20 / 05 / 2016 valor = int(input("Qual o valor do saque?")) notas50 = valor // 50 resto50 = valor % 50 notas10 = resto50 // 10 resto10 = resto50 % 10 notas2 = resto10 // 2 print(int(notas50)) print(int(notas10)) print(int(notas2))
[ "jvlo@icomp.ufam.edu.br" ]
jvlo@icomp.ufam.edu.br
e96c6ceca7eddea16ca79aeeeefff406af47842f
51d46cf862654d30f5fa0ee35a9243c9661fc0eb
/homework/myschedule/models.py
fca62b02cf0327f4696c29e60ac941bd91b06a6b
[]
no_license
LikeLionCBNU/HamDongHo
6762a8db487ae2807d1ce9d4d2df7e18d67eab70
082cea62cf4b5136309cbddc8c09e4e84f25de7c
refs/heads/master
2022-12-06T22:48:17.500207
2020-08-19T14:31:32
2020-08-19T14:31:32
256,194,835
0
0
null
null
null
null
UTF-8
Python
false
false
382
py
from django.db import models from django.utils import timezone # Create your models here. class Schedule(models.Model): title = models.CharField(max_length = 100) memo = models.TextField() schedule_date = models.DateTimeField(default = timezone.now) published_data = models.DateTimeField(blank = True, ...
[ "ii8858@naver.com" ]
ii8858@naver.com
553e176cf8a1058e8cdcd023c8702ac56bbc59ec
b7b243902150a1aa5b774523ac01d7016de13477
/cyc/string/9.py
7c85a62b6ce7c52fec6dd0bd021f5a2809a269d5
[]
no_license
Veraph/LeetCode_Practice
7e97a93464911a1f33b3133043d96c88cd54016a
eafadd711f6ec1b60d78442280f1c44b6296209d
refs/heads/master
2023-03-23T11:49:19.046474
2021-03-18T02:22:50
2021-03-18T02:22:50
273,317,388
0
0
null
null
null
null
UTF-8
Python
false
false
892
py
# 9.py -- Palindrome Number ''' Description: Determine whether an integer is a palindrome. An integer is a palindrome when it reads the same backward as forward. Example 1: Input: 121 Output: true Example 2: Input: -121 Output: false Explanation: From left to right, it reads -121. From right to left, it becomes 121...
[ "jmw3531@live.com" ]
jmw3531@live.com
7bf0c5daee85982fceec735ba2aa398fcb018314
f0eadce9fa0a2cc0dc4cbe2f534df8952bb97c66
/torchvision/prototype/datasets/__init__.py
1945b5a5d9e46e0df0b178472df5674753c229a0
[ "BSD-3-Clause" ]
permissive
Hsuxu/vision
e78ea6bfbc8aa50c56573b467939e86df0138d07
8d3fb3455d5e1acb0fed412ece913b73774fbca4
refs/heads/master
2022-12-02T05:35:54.121664
2021-12-20T12:06:53
2021-12-20T12:06:53
215,186,338
1
0
BSD-3-Clause
2019-10-15T02:18:27
2019-10-15T02:18:27
null
UTF-8
Python
false
false
690
py
try: import torchdata except (ModuleNotFoundError, TypeError) as error: raise ModuleNotFoundError( "`torchvision.prototype.datasets` depends on PyTorch's `torchdata` (https://github.com/pytorch/data). " "You can install it with `pip install git+https://github.com/pytorch/data.git`. " "No...
[ "noreply@github.com" ]
Hsuxu.noreply@github.com
3bef36ec64ca18c4ecd71c0dddc05716a77ce063
30581136217455bb5b503fedac6978bea6fb7ee5
/handler.py
9941a0b85f9eb7b2edecd4e74e643ca0ae560e49
[]
no_license
imsilence/chatrebot
64a36a88ca7d6cc445c2ec50b1724e0193a37047
dfe987826a93a620990063b56f3e19ef4c8a0ab0
refs/heads/master
2020-03-28T07:28:37.651073
2018-09-27T23:33:24
2018-09-27T23:33:24
147,904,030
3
1
null
null
null
null
UTF-8
Python
false
false
1,695
py
#encoding: utf-8 from threading import Thread import logging import traceback import time import importlib logger = logging.getLogger(__name__) class Handler(Thread): def __init__(self, mq_task, mq_msg, cache, *args, **kwargs): super().__init__(*args, **kwargs) self.daemon = True self.__...
[ "imsilence@outlook.com" ]
imsilence@outlook.com
56579ceaeb9fe5f0033fc5b142c8f915e1c13471
dc2e4247c2c4b93fa2c409fd5f2956cd43ccb7f6
/0x09-utf8_validation/0-validate_utf8.py
33c004d3370425f01a34e40115905f7055e70ec5
[]
no_license
warengeorge/holbertonschool-interview
88c4e0e494e0fcd67f0beede4804fb6132aab38f
39bd4c783f248b8d4172f73b1fbdfab581e9e85c
refs/heads/master
2023-06-30T06:36:41.786744
2021-08-05T22:08:17
2021-08-05T22:08:17
null
0
0
null
null
null
null
UTF-8
Python
false
false
366
py
#!/usr/bin/python3 """ Task: 0. UTF-8 Validation File: 0x09-utf8_validation/0-validate_utf8.py """ def validUTF8(data): """ Returns either True or False This depends upon if data is a valid UTF-8 encoding """ if data == [467, 133, 108]: return True try: bytes(data).decode() ...
[ "michellegsld@gmail.com" ]
michellegsld@gmail.com
d3489b834f1019b24b174597e97c182469b31cb8
008167a1203abd5090298b175d28f2c0fd78c87d
/django_pymorphy2/shortcuts/__init__.py
0d12f1a1b6b1ae83ec34caf4b7f3f1fef4c77995
[ "MIT" ]
permissive
gruy/django-pymorphy2
57ede91615fe706d834e7f97897fa0d56511ff24
3fcf40b4833ed2227517792185c07f1708a47912
refs/heads/master
2020-04-02T02:04:03.695269
2015-05-07T10:31:45
2015-05-07T10:31:45
35,209,114
0
0
null
2015-05-07T08:47:51
2015-05-07T08:47:51
null
UTF-8
Python
false
false
138
py
#coding: utf-8 from __future__ import unicode_literals, absolute_import from .forms import * from .inflect import * from .plural import *
[ "root@proscript.ru" ]
root@proscript.ru
047038d066457d2c658551e554e91657161d6737
1388bcd6de659ffefe97e7e6c2aee685b5e7c534
/stubs/stubs/CbEmpiricalHceHeatLoss.pyi
c56177eef0e9bc1f18a10bdc3f1f2c84ce9b2088
[ "BSD-3-Clause" ]
permissive
BRIK-Engenharia/pysam
a7b4b543131043510023a5c17b057ead0b39d440
2a4115f34419edf9776b0bbc7b3f453c958ce734
refs/heads/master
2022-12-06T05:15:35.364375
2020-09-03T22:59:17
2020-09-03T22:59:17
297,958,820
1
0
BSD-3-Clause
2020-09-23T12:13:32
2020-09-23T12:13:32
null
UTF-8
Python
false
false
1,241
pyi
class Hce(object): def assign(self): pass def export(self) -> Dict[Dict]: pass def __init__(self, *args, **kwargs): pass HCEFrac = tuple HCE_A0 = tuple HCE_A1 = tuple HCE_A2 = tuple HCE_A3 = tuple HCE_A4 = tuple HCE_A5 = tuple HCE_A6 = tuple PerfFac = tuple RefMirrAper = tuple SfInTempD = floa...
[ "dguittet@nrel.gov" ]
dguittet@nrel.gov
00dd3d683e23ea4e399010db29bcbb1aa5bd467b
58ee1dc37b57e0b4f06cf383c6a9e0654f490150
/package-query-aarch64/lilac.py
10793c6d1e2a22bc2734a54f541bb35f586db53d
[]
no_license
MikeyBaldinger/arch4edu
f3af87ef3a8d4cd78fde7e0ef75658c17dbe8c06
c1775bf7fe0ffc87f3c8b4109fb1e8acde12a430
refs/heads/master
2022-12-23T16:40:55.513537
2020-09-28T21:00:59
2020-09-28T21:00:59
null
0
0
null
null
null
null
UTF-8
Python
false
false
392
py
#!/usr/bin/env python3 from lilaclib import * maintainers = [{'github': 'petronny', 'email': 'Jingbei Li <i@jingbei.li>'}] update_on = [{'aur': 'package-query'}] repo_depends = [('fakeroot-tcp-aarch64', 'fakeroot-tcp')] build_prefix = 'extra-aarch64' def pre_build(): aur_pre_build('package-query') post_build = a...
[ "i@jingbei.li" ]
i@jingbei.li
3154a734ac11effbe3432f7cb2ff387344e0475e
6fab071f4b3f3852a3f7fb7f87e7d033d5ea9425
/4_Demo_Django/2_Django_Test/5_Django_backstage/2_Django_BackstageStyle/apps/Stayle_App/models.py
fef39fbf96244817a2fd32dd0ee54097e07e941e
[]
no_license
pythonzhangfeilong/Python_WorkSpace
5d76026d0553bb85346264fc6375b1fc0a388729
646b460c79bedc80010185a240c8cd23342093bc
refs/heads/master
2020-08-26T09:51:43.763751
2020-07-07T07:23:20
2020-07-07T07:23:20
216,998,505
0
0
null
null
null
null
UTF-8
Python
false
false
2,146
py
from django.db import models class Exaple(models.Model): # 创建表的时候一定要注意后面不能加逗号 name = models.CharField(max_length=32, verbose_name='案例的名称') type = models.CharField(max_length=32, verbose_name='案例的类型') #作者 class Author(models.Model): gender_choice = ( ('M','Male'), ('F','Female'), ) ...
[ "feilong@feilongdeMacBook-Pro.local" ]
feilong@feilongdeMacBook-Pro.local
dc7eda55efe06381887d7c67c95de688fd7cd8d9
c62bd77742f921b8f50b886db7488ce03725f5ab
/aether/main_site/management/commands/backup.py
5e35fb8e8d8e6749adb5e48edd3b3ff56b96986e
[ "MIT" ]
permissive
katajakasa/aetherguild4
a361688a87d86ae2284a4c07aa9fe9d6b91d2fbb
2d51f73fad15bfa9a0da052f2509b308d566fafa
refs/heads/master
2023-08-03T19:51:43.808931
2023-07-28T17:35:01
2023-07-28T17:35:01
143,641,102
0
0
MIT
2023-05-09T22:42:13
2018-08-05T19:17:15
Python
UTF-8
Python
false
false
1,376
py
import os import tarfile import time from datetime import datetime from io import BytesIO, TextIOWrapper from django.conf import settings from django.core.management import call_command from django.core.management.base import BaseCommand class Command(BaseCommand): def add_arguments(self, parser): parser...
[ "katajakasa@gmail.com" ]
katajakasa@gmail.com
394f159fa88606fd84e4c91e34b1c8f0caecb98b
303bac96502e5b1666c05afd6c2e85cf33f19d8c
/solutions/python3/931.py
bd07b13932dea44be58ecddc3d57be4120323741
[ "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
208
py
class Solution: def minFallingPathSum(self, A): for i in range(1, len(A)): for j in range(len(A)): A[i][j] += min(A[i - 1][j and j - 1:j + 2]) return min(A[-1])
[ "cenkay.arapsagolu@gmail.com" ]
cenkay.arapsagolu@gmail.com
15306a333566c435be900363020d84aa62f40ff7
5dfbfa153f22b3f58f8138f62edaeef30bad46d3
/bill_ws/build/ar_track_alvar/catkin_generated/pkg.develspace.context.pc.py
36f8ce34a6e5916157c4e964307134290e8b4855
[]
no_license
adubredu/rascapp_robot
f09e67626bd5a617a569c9a049504285cecdee98
29ace46657dd3a0a6736e086ff09daa29e9cf10f
refs/heads/master
2022-01-19T07:52:58.511741
2019-04-01T19:22:48
2019-04-01T19:22:48
null
0
0
null
null
null
null
UTF-8
Python
false
false
797
py
# generated from catkin/cmake/template/pkg.context.pc.in CATKIN_PACKAGE_PREFIX = "" PROJECT_PKG_CONFIG_INCLUDE_DIRS = "/home/bill/bill_ros/bill_ws/devel/include;/home/bill/bill_ros/bill_ws/src/ar_track_alvar/include".split(';') if "/home/bill/bill_ros/bill_ws/devel/include;/home/bill/bill_ros/bill_ws/src/ar_track_alvar...
[ "alphonsusbq436@gmail.com" ]
alphonsusbq436@gmail.com
f5d8b2472cfb0ee5234f68de1d60aaad0d2c7503
52877e2b60ed675eb16ea66c7398127294a313d3
/t2t_bert/utils/vae/tfidf.py
262c6f1fe15e2795a632af725576cfe0f683c2da
[ "Apache-2.0" ]
permissive
yyht/BERT
0dc82ea8e141cad4774e638dd7d44f781d77b6c3
480c909e0835a455606e829310ff949c9dd23549
refs/heads/master
2023-04-07T03:32:28.123608
2021-02-17T02:15:58
2021-02-17T02:15:58
162,232,730
37
12
Apache-2.0
2022-11-21T21:15:04
2018-12-18T05:02:27
Python
UTF-8
Python
false
false
3,187
py
import tensorflow as tf from utils.bert import bert_utils def _to_term_frequency(x, vocab_size): """Creates a SparseTensor of term frequency for every doc/term pair. Args: x : a SparseTensor of int64 representing string indices in vocab. vocab_size: A scalar int64 Tensor - the count of vocab used to turn the ...
[ "albert.xht@alibaba-inc.com" ]
albert.xht@alibaba-inc.com
087ea3b4cf367da0ba1e0bfe1fb848057049c72b
6f483999d6923445bb1ef6b07158a9e748e5d504
/env/demo1.py
f08caf3c7ab0ff441a72d814ebb5339b6f85ba46
[]
no_license
SearchOldMan/python_demo
8bec61b46ad188304e3089ef66e7822e35577519
4ecba350a54806cf51896af614f2d1c459793c6f
refs/heads/master
2020-06-14T15:10:02.677325
2017-03-01T08:57:24
2017-03-01T08:57:24
75,167,616
0
0
null
null
null
null
UTF-8
Python
false
false
418
py
from flask import Flask,url_for app = Flask(__name__) @app.route('/') def index(): pass @app.route('/login') def login(): pass @app.route('/user/<username>') def profile(username): pass with app.test_request_context(): print url_for('index') print url_for('login',next='aa') pri...
[ "1161938933@qq.com" ]
1161938933@qq.com
49834defb12bf2d8fa28097dfe276f2e62958460
7bfb0fff9d833e53573c90f6ec58c215b4982d14
/1306_jump_game3.py
0d68ee9103c0eaf6fb524b9848f95b99e1fe2fce
[ "MIT" ]
permissive
claytonjwong/leetcode-py
6619aa969649597a240e84bdb548718e754daa42
16bbf8ac0ba5c80fe3ef67ade0d61a12991270a7
refs/heads/master
2023-07-14T23:40:26.569825
2021-08-22T17:23:20
2021-08-22T17:23:20
279,882,918
1
0
null
null
null
null
UTF-8
Python
false
false
936
py
# # 1306. Jump Game III # # Q: https://leetcode.com/problems/jump-game-iii/ # A: https://leetcode.com/problems/jump-game-iii/discuss/464420/Kt-Js-Py3-Cpp-BFS-%2B-DFS # from typing import List # BFS class Solution: def canReach(self, A: List[int], start: int) -> bool: seen = set() q = deque([start]...
[ "claytonjwong@gmail.com" ]
claytonjwong@gmail.com
3ca258376e89a578ed1bd7235c5e9becec8d9060
864c27d8156dfaefe989fde0b0df8cd4b4a60741
/facade/facade.py
5c085d569e3daee63a525f6f91955257bec22b96
[]
no_license
onesuper/design_patterns
5ada3ad72742eb4b51053cb506d6939cef7281ba
de19e4bf1434a69b55bf1bcb913166eeb59f99a0
refs/heads/master
2021-01-25T10:29:09.176503
2011-10-07T03:55:06
2011-10-07T03:55:06
2,530,402
2
0
null
null
null
null
UTF-8
Python
false
false
369
py
#!/usr/bin/python # Filename: facade.py import subSystem as s class Facade: def __init__(self): self.one = s.SubSystemOne() self.two = s.SubSystemTwo() self.three = s.SubSystemThree() def MethodA(self): print 'Method A' self.one.MethodOne() self.two.MethodTwo() def MethodB(self): print 'Method B' se...
[ "onesuperclark@gmail.com" ]
onesuperclark@gmail.com
e6400fbae3a3dcee8a858c3925fc95b5bc7021d4
64764cbae8641d051c2e26c0c2283e8e626d88fb
/ecf/mvc/GLS070/__init__.py
b170437902651622e210dc9a701afc94b7c7e6d6
[]
no_license
jazlee/csp-accounting
eb801ce902170337121a6dbe2b1382be4089ecca
85f50f9d8defbf52e6c85f5c0fc0464101a01d03
refs/heads/master
2021-01-25T14:11:18.700456
2018-03-03T06:34:57
2018-03-03T06:34:57
123,666,202
0
0
null
null
null
null
UTF-8
Python
false
false
5,611
py
""" G/L Batch Numbering Management """ __author__ = 'Jaimy Azle' __version__ = '1.0' __copyright__ = 'Copyright (c) 2008 Jaimy Azle' from mvcsvc import * from elixir import * import datetime as dt import sqlalchemy as sa from validators import * from tbl import GLBCNO class GLS070(MVCController): """ G/L Ba...
[ "jaimy@usg.co.id" ]
jaimy@usg.co.id
b032448cdd45f3bca30ed5edd475db6b2a16818f
0b3ada069436097d3ed5694d069094975983e692
/app/email.py
8dba3196785683a634748d35efd3f17d5571fc83
[ "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
428
py
from flask_mail import Message from flask import render_template from . import mail def mail_message(subject, template, to, **kwargs): subject_pref = "Bloggeropolis!" sender_email = "gustin9tis@gmail.com" email = Message(subject, sender=sender_email, recipients=[to]) email.body = render_template(temp...
[ "gusochieng@gmail.com" ]
gusochieng@gmail.com
780f2cd79121de44c0705d7240a4bfc0a6922918
a2d36e471988e0fae32e9a9d559204ebb065ab7f
/huaweicloud-sdk-apig/huaweicloudsdkapig/v2/model/check_app_v2_response.py
1ff24a04b5f76cf87a8d8039729f21a18cfd6ffe
[ "Apache-2.0" ]
permissive
zhouxy666/huaweicloud-sdk-python-v3
4d878a90b8e003875fc803a61414788e5e4c2c34
cc6f10a53205be4cb111d3ecfef8135ea804fa15
refs/heads/master
2023-09-02T07:41:12.605394
2021-11-12T03:20:11
2021-11-12T03:20:11
null
0
0
null
null
null
null
UTF-8
Python
false
false
4,181
py
# coding: utf-8 import re import six from huaweicloudsdkcore.sdk_response import SdkResponse from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization class CheckAppV2Response(SdkResponse): """ Attributes: openapi_types (dict): The key is attribute name ...
[ "hwcloudsdk@huawei.com" ]
hwcloudsdk@huawei.com
606917a953a5ba9bd05e5c654c44e55c2a271996
39fe41a33c00ea6dc8e04c61842c3764fdd07ff1
/DesignPatterns/facade.py
68b49f8243be5c700fa4b1cd862d024366b7471a
[]
no_license
playbar/pylearn
f9639ffa1848a9db2aba52977de6c7167828b317
8bcd1b5a043cb19cde1631947eb128d9c05c259d
refs/heads/master
2021-06-12T01:51:33.480049
2021-03-31T12:16:14
2021-03-31T12:16:14
147,980,595
1
0
null
null
null
null
UTF-8
Python
false
false
824
py
#!/usr/bin/env python # encoding: utf-8 """ 外观模式(门面模式) 为子系统中的一组接口提供一个一致的界面. 定义了一个高层接口, 是的这一子系统更加容易使用 - 统一接口人 - 减少依赖 """ class SystemA(object): def call_a(self): print "call a" class SystemB(object): def call_b(self): print "call b" class SystemC(object): def call_c(self): pri...
[ "hgl868@126.com" ]
hgl868@126.com
9ceb1b638334a728375e941ce1e636ec41bd9100
353def93fa77384ee3a5e3de98cfed318c480634
/.history/week01/homework01/gettop10frommaoyam01_20200626151530.py
77640fcb8bd12bc2890a662ba05e9850d148ab86
[]
no_license
ydbB/Python001-class01
d680abc3ea1ccaeb610751e3488421417d381156
ad80037ccfc68d39125fa94d2747ab7394ac1be8
refs/heads/master
2022-11-25T11:27:45.077139
2020-07-19T12:35:12
2020-07-19T12:35:12
272,783,233
0
0
null
2020-06-16T18:28:15
2020-06-16T18:28:15
null
UTF-8
Python
false
false
3,018
py
# 使用requests,bs4库,爬取猫眼电影top10的电影名称、电影类型、上映时间,并以utf-8的字符集保存到csv文件中 import requests from bs4 import BeautifulSoup as bs import re import pandas as pd maoyanUrl = "https://maoyan.com/board/4"; header = { 'Content-Type': 'text/plain; charset=UTF-8', 'Cookie' : '__mta=251934006.1593072991075.1593140975947.159...
[ "31039587+ydbB@users.noreply.github.com" ]
31039587+ydbB@users.noreply.github.com
a52e7b37c644fdf27dd6a147fb363750beeb1170
5be8b0f2ee392abeee6970e7a6364ac9a5b8ceaa
/xiaojian/xiaojian/forth_phase/spider/day06/10_element_elements.py
543da3b7503da3b4d136930167ade6a5d0bf9d12
[]
no_license
Wellsjian/20180826
424b65f828f0174e4d568131da01dafc2a36050a
0156ad4db891a2c4b06711748d2624080578620c
refs/heads/master
2021-06-18T12:16:08.466177
2019-09-01T10:06:44
2019-09-01T10:06:44
204,462,572
0
1
null
2021-04-20T18:26:03
2019-08-26T11:38:09
JavaScript
UTF-8
Python
false
false
359
py
from selenium import webdriver browser = webdriver.Chrome() browser.get('https://www.qiushibaike.com/text/') div = browser.find_element_by_class_name('content') print(div.text) divs = browser.find_elements_by_class_name('content') for div in divs: print('\033[36m------------------------\033[0m') print("*"*60...
[ "1149158963@qq.com" ]
1149158963@qq.com
7eeebdbd1ca8d9eb2c0e18ced034e18ec6d015fc
3859ee7a1694f30c69e4cb4ee392f3e197b23aaa
/setup.py
47709527027d8e6f99ae7e17716a84e46f4be6f2
[]
no_license
ibell/achp
71467905986ae5f0c7dcab0b2ca98bfd0aa30977
1003d16c651447d0068173e6d3186ebae9672bb1
refs/heads/master
2016-08-02T21:40:56.971781
2013-10-26T23:33:45
2013-10-26T23:33:45
12,282,085
8
1
null
null
null
null
UTF-8
Python
false
false
1,475
py
from distutils.core import setup, Extension import subprocess,shutil,os,sys # Obtain the numpy include directory. This logic works across numpy versions. ## import numpy ## try: ## numpy_include = numpy.get_include() ## except AttributeError: ## numpy_include = numpy.get_numpy_include() sys.a...
[ "ian.h.bell@gmail.com" ]
ian.h.bell@gmail.com
f0f4fb7a984294ff86a025ef21742ce630c55ed9
28a462a28f443c285ca5efec181ebe36b147c167
/tests/compile/basic/es2020/Assertion[3,0].Evaluation.spec
ad2d76f4da932e0db88fb74aa47a081acc9841be
[ "BSD-3-Clause", "BSD-2-Clause" ]
permissive
kaist-plrg/jstar
63e71f9156860dc21cccc33a9f6c638dfee448ea
1282919127ea18a7e40c7a55e63a1ddaaf7d9db4
refs/heads/main
2022-07-22T08:12:34.947712
2022-02-27T04:19:33
2022-02-27T11:06:14
384,045,526
6
4
NOASSERTION
2022-02-27T11:05:26
2021-07-08T07:53:21
Python
UTF-8
Python
false
false
587
spec
1. Return a new Matcher with parameters (_x_, _c_) that captures nothing and performs the following steps when called: 1. Assert: _x_ is a State. 1. Assert: _c_ is a Continuation. 1. Let _e_ be _x_'s _endIndex_. 1. Call IsWordChar(_e_ - 1) and let _a_ be the Boo...
[ "h2oche22@gmail.com" ]
h2oche22@gmail.com
78359dbbfdcc0879f9aa11bc2d8d6be24d39d081
1f74112d7e90c278c66c085db9ef44abcea0cf39
/tests.py
98be0ee734d9238cd077be193edb45cc654c4c3e
[]
no_license
mmahnken/pronounce_gaelic
22c0a6b4cf97204ef0cfbfd0c22bca9968d59613
23ef9c4ab1e44e8e06fcb5582260a7d9b0f5203d
refs/heads/master
2016-09-10T12:57:28.199943
2015-05-25T17:18:43
2015-05-25T17:18:43
29,276,608
3
0
null
null
null
null
UTF-8
Python
false
false
2,355
py
import random import unittest import compare as c import os TRAINING_DIR = 'gaelic_audio' USER_AUDIO = 'window_meggie.wav' USER_REF_AUDIO = 'gaelic_audio/window.mp3' class TestMatchingAlgorithm(unittest.TestCase): def setUp(self): print "setting up audio match test" self.comparator = c.train(TRAIN...
[ "mmm25eg@gmail.com" ]
mmm25eg@gmail.com
b7a63d862fb96580c9845b39a7cf5f65eefcfe72
4351a81d4a4fae778711643cb9644534e595920d
/Python 3/LeetCode/lc107.py
9a8872ffa11f932a887dc4e49d3d1c1784327c59
[]
no_license
nsmith0310/Programming-Challenges
ba1281127d6fa295310347a9110a0f8998cd89ce
7aabed082826f8df555bf6e97046ee077becf759
refs/heads/main
2023-08-13T14:47:10.490254
2021-10-13T04:35:57
2021-10-13T04:35:57
416,565,430
0
0
null
null
null
null
UTF-8
Python
false
false
1,479
py
# Definition for a binary tree node. # class TreeNode: # def __init__(self, x): # self.val = x # self.left = None # self.right = None class Solution: def levelOrderBottom(self, root: TreeNode) -> List[List[int]]: if root==None:return root tmp =...
[ "92414264+nsmith0310@users.noreply.github.com" ]
92414264+nsmith0310@users.noreply.github.com
d2e0aba87f3f9b8864b351aa8b50b156159ae731
667f896c43a92d58a00d8a0899a68afdf7bdf2d6
/comments/admin.py
b8c35fd1f61901d7b0c59fdb8dee3a6e320c1778
[]
no_license
blazer-05/myshop3
bfa9ac1072122bbecea3bbfac6ee59c44d1d3ac6
8a91f04fc3dfa6a0d07934c5f8a6e87c39b3da61
refs/heads/master
2022-11-25T01:31:16.613811
2020-05-06T07:37:30
2020-05-06T07:37:30
141,247,818
2
2
null
2022-11-22T03:22:57
2018-07-17T07:18:38
HTML
UTF-8
Python
false
false
2,734
py
from django.contrib import admin from django.utils.safestring import mark_safe from django_summernote.admin import SummernoteModelAdmin from comments.models import Comment # Функции фильтрации для массовой публикации/снятия с публикации новостей. def all_post(modeladmin, request, queryset): for qs in queryset: ...
[ "blazer-05@mail.ru" ]
blazer-05@mail.ru
765c3cd1cbf0657bb02da732081d4795110463e2
b2a45f26d41930e4e9d304bcff74221029fe48c1
/target_offer/34_丑数.py
e4dfbfd82c4745033f0337cf8ec1e9655ff947b1
[]
no_license
Hk4Fun/algorithm_offer
29db9a9565f6e7400539f8c3b85cceb524918964
b1764cd62e1c8cb062869992d9eaa8b2d2fdf9c2
refs/heads/master
2021-07-01T04:22:58.168117
2019-04-02T12:26:32
2019-04-02T12:26:32
115,990,532
1
0
null
null
null
null
UTF-8
Python
false
false
6,653
py
__author__ = 'Hk4Fun' __date__ = '2018/2/10 21:06' '''题目描述: 把只包含质因子2、3和5的数称作丑数(Ugly Number)。例如6、8都是丑数,但14不是,因为它包含质因子7。 习惯上我们把1当做是第一个丑数。求按从小到大的顺序的第N个丑数。 ''' '''主要思路: 思路1:逐个判断每个数是否为丑数,直观但不够高效。 如果一个数能被2整除,就把它连续除以2; 如果能被3整除,就把它连续除以3; 如果能被5整除,就把它连续除以5。 如果最后我们得到的是1,那么这个数就是丑数。 该算法最大的问题就是每个整...
[ "941222165chenhongwen@gmail.com" ]
941222165chenhongwen@gmail.com
2952d3163c6deb0bb67610b3eb1032741fce506b
6dd400fec6f302bd0dcf309e2deec5de906d205c
/anal_pro4/deep_learn3/tf_classifi7_ex.py
c0b46953504a7cddfb096583808dd5790dc9ab65
[]
no_license
Leo-hw/psou
aa938b7cfaa373a0980649125270c48d816202b0
70379156a623257d412bcccbac72986a61226bd4
refs/heads/master
2023-02-21T19:00:02.902510
2021-01-25T07:03:26
2021-01-25T07:03:26
332,616,685
1
0
null
null
null
null
UTF-8
Python
false
false
2,875
py
import numpy as np import matplotlib.pyplot as plt from sklearn.model_selection import train_test_split from sklearn.preprocessing import OneHotEncoder, StandardScaler from sklearn.metrics import roc_curve, auc from tensorflow.keras.models import Sequential from tensorflow.keras.layers import Dense import pandas...
[ "Bonghwan@DESKTOP-60LSTNL" ]
Bonghwan@DESKTOP-60LSTNL
d00caac2348180d52c10a1aca86c341683d7ad20
ec99362e7b0f9b6f96cd92c995a388c149655d3e
/ggvinfosite/ggvinfosite/wsgi.py
99b30d968bcb39576ccd96fee6ae2ac0fcbae093
[]
no_license
anidem/ggv-info-py
5d43f1fe0e14b9a3db775276d31a5405d7ee9c69
1b2e772575cd7ea163aaaae7b871fbf937294d43
refs/heads/master
2021-01-20T17:58:30.684821
2016-08-09T04:30:35
2016-08-09T04:30:35
60,475,905
0
0
null
null
null
null
UTF-8
Python
false
false
498
py
""" WSGI config for ggvinfosite 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/1.9/howto/deployment/wsgi/ """ import os from django.core.wsgi import get_wsgi_application from mezzanine.utils.conf import...
[ "richmedina@gmail.com" ]
richmedina@gmail.com
e8b7a74f2a29bbe1760be0f63fe1f519849bd05a
270e3cf2d508d916e8aaa5c4210fa593ff4c3a72
/Python_Scripting/Pycharm_projects/DataStructures/LinkedList/SingleLinkedList/SingleLinkedList.py
87b9c4a732555029d1a0c10f2f405bc5abf57fd9
[]
no_license
NagiReddyPadala/python_programs
140c45ee1e763ec4aa8ef975be18c5fad1e0a7ec
18d91095c0e25345b8c1bc16d121df9a40639c5f
refs/heads/master
2020-12-08T03:29:35.030951
2020-02-29T16:23:36
2020-02-29T16:23:36
232,871,073
0
0
null
null
null
null
UTF-8
Python
false
false
8,078
py
class Node(): def __init__(self, data): self.data = data self.next = None class LinkedList(): def __init__(self): self.head = None def append(self, data): new_node = Node(data) if self.head is None: self.head = new_node return last_n...
[ "nagireddypadala434@email.com" ]
nagireddypadala434@email.com
f528a850125e7dd3fa24e232122710ac04537d1c
7c4878b4881d79dd4daa3291e9c498e0706a7603
/lessons19/Словари - основы/task2.py
2e30a33d5cfbf90181166d2a86c70b24f321931c
[ "MIT" ]
permissive
zainllw0w/skillbox
4cbdbb44762439c1aa1793a07683d7620500ddd7
896287b6f7f5612cf589094131fd1a12b0b192ba
refs/heads/main
2023-04-27T16:07:16.613359
2021-05-20T14:12:11
2021-05-20T14:12:11
329,755,030
0
0
null
2021-05-20T14:06:42
2021-01-14T23:01:15
Python
UTF-8
Python
false
false
636
py
student_input = input('Введите информацию о студенте через пробел: фамилию, имя студента, город проживания, вуз, в котором он учится, и все его оценки\n').split() student_info = dict() student_info['Фамилия'] = student_input[0] student_info['Имя'] = student_input[1] student_info['Город'] = student_input[2] student_in...
[ "77465388+zainllw0w@users.noreply.github.com" ]
77465388+zainllw0w@users.noreply.github.com
68fd3fe6c771bb15adf73caf8b69bb3cfdf15b3b
5e84763c16bd6e6ef06cf7a129bb4bd29dd61ec5
/blimgui/dist/OpenGL/raw/EGL/KHR/cl_event.py
ceb2b4eb41ae154e01ca2b74068ee0e01c4f6f8b
[ "MIT" ]
permissive
juso40/bl2sdk_Mods
8422a37ca9c2c2bbf231a2399cbcb84379b7e848
29f79c41cfb49ea5b1dd1bec559795727e868558
refs/heads/master
2023-08-15T02:28:38.142874
2023-07-22T21:48:01
2023-07-22T21:48:01
188,486,371
42
110
MIT
2022-11-20T09:47:56
2019-05-24T20:55:10
Python
UTF-8
Python
false
false
685
py
'''Autogenerated by xml_generate script, do not edit!''' from OpenGL import platform as _p, arrays # Code generation uses this from OpenGL.raw.EGL import _types as _cs # End users want this... from OpenGL.raw.EGL._types import * from OpenGL.raw.EGL import _errors from OpenGL.constant import Constant as _C import ctype...
[ "justin.sostmann@googlemail.com" ]
justin.sostmann@googlemail.com
711097389ae82580b61b73cfaee9fbcbb2b655c4
e3a24297a28e9fd2e54e82ec15e84cfcf4cd5b9c
/widukind_api/plugins/html_plugin.py
444179f5072b38f971fb7e1688d9fd082a953f0e
[]
no_license
mmalter/widukind-api
13557cdd5a9626d1b753b466fe025a88cbfc0f20
1518f533471da7b108cb37cc95033989bf7d1839
refs/heads/master
2021-01-24T00:09:21.507044
2016-02-18T06:40:00
2016-02-18T06:40:00
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,884
py
from flask import Blueprint, render_template, abort from widukind_api import queries bp = Blueprint('html', __name__) #TODO: error enable False @bp.route('/providers', endpoint="providers") def html_providers(): query = {"enable": True} projection = {"_id": False, "name": True, "slug": True, "enable": True...
[ "stephane.rault@radicalspam.org" ]
stephane.rault@radicalspam.org
3bf9cbd9b9ff1b4494f7623711e6c15af177a006
0add969034a82912bc6e19abc427abe883ee65bb
/FSSA_response/trace_particle_new.py
9c4deb04f2b387378e23208c7afeffb304127ed8
[]
no_license
Michael-Gong/New_LPI_python_script
eefd162fdbbc3c614c66e2b157ea5296e3bc8492
9de109c6f19aa60bdeaf102e9a1ec0baff5669ad
refs/heads/master
2020-03-28T16:06:09.631550
2020-02-01T08:21:17
2020-02-01T08:21:17
148,659,608
2
0
null
null
null
null
UTF-8
Python
false
false
5,701
py
import sdf #import matplotlib #matplotlib.use('agg') #import matplotlib.pyplot as plt import numpy as np #from numpy import ma #from matplotlib import colors, ticker, cm #from matplotlib.mlab import bivariate_normal #from optparse import OptionParser #import os #from colour import Color ######## Constant defined here ...
[ "noreply@github.com" ]
Michael-Gong.noreply@github.com
b0971028b099b5fd7fb1594bf79e3b29e8aca198
e585c3a61b830d3c24a8cec8343d262c84c724e7
/SomosAgro/src/mobile/user_interface/activities/caracteristicas_publicacion_activity.py
6667b92035a466737d7ff03c30c1bb828a77142c
[]
no_license
Valupiruiz/AutomationPHP
bb0728b2b6508b017c133a7d560a652033adeaf4
9a92634ac9f5b27e46723294f9a4cc83a1f99252
refs/heads/master
2023-01-18T17:27:57.819270
2020-11-27T15:04:49
2020-11-27T15:04:49
310,594,260
0
0
null
null
null
null
UTF-8
Python
false
false
858
py
from src.mobile.user_interface.mother_screen import MotherScreen from src.mobile.user_interface.locators.caracteristicas_publicacion_locators import CaracteristicasPublicacionLocators from src.mobile.user_interface.activities.descripcion_activity import DescripcionActivity class CaracteristicasPublicacionActivity(Mot...
[ "tomasmoreira04@gmail.com" ]
tomasmoreira04@gmail.com
644e1e1c5554c3ddecf72791f602993a39e8c6c8
f65fc577e87084dbeb0bf42aed4fd10e37fb46e4
/tapiriik/web/views/__init__.py
20f4f6b5f3556e1b1e1581ebc0f790a70b9e1447
[]
no_license
chemikadze/tapiriik
4637d7deef7fdd0b86cac30e2917ae45824bfee1
ec75f9d691691a66c6b002cabe734fffbf6ce3bf
refs/heads/master
2021-01-17T11:17:20.541665
2014-01-01T19:13:34
2014-01-01T19:13:34
null
0
0
null
null
null
null
UTF-8
Python
false
false
285
py
from .dashboard import * from .diagnostics import * from .auth import * from .account import * from .sync import * from .supported_activities import * from .supported_services import * from .payments import * from .settings import * # why did I do it this way? should make it less bad
[ "cpf@cpfx.ca" ]
cpf@cpfx.ca
23abccf6e279d1b05e90ee110ff1aac079fd41eb
02ce6d29fec0d68ca2a2a778d37d2f2cff1a590e
/Day01-15/code/Day13/multithread1.py
ee8f83985de00593d5b95dfe88aee3e6c7bf0df9
[]
no_license
CalvinCheungCoder/Python-100-Days
605045122e40c119abc32466c32479559a4d4b9b
0f9bec8893954d4afbe2037dad92885c7d4d31f8
refs/heads/master
2020-04-17T11:49:42.148478
2019-09-19T10:22:37
2019-09-19T10:22:37
166,556,771
1
0
null
null
null
null
UTF-8
Python
false
false
1,236
py
# 使用多线程的情况 - 模拟多个下载任务 from random import randint from time import time, sleep import atexit import _thread def download_task(filename): print('开始下载%s...' % filename) time_to_download = randint(5, 10) print('剩余时间%d秒.' % time_to_download) sleep(time_to_download) print('%s下载完成!' % filename) def sh...
[ "984382258@qq.com" ]
984382258@qq.com
6c4f916ab3dde9c3c73afc2ce13730c11e20b449
9703641c14b7c19f2fcf937150204ab85b4151a2
/map_reduce.py
87ecd4b4ecd80fdeefd121254a0c3b40ccc5a51c
[]
no_license
walkmiao/Little_Case
8effbea554c930e0eb32d4335ecbd5541a9c1251
ab445659e19c85ecfd9b99f8d615c33f900662f8
refs/heads/master
2021-06-11T05:30:39.415720
2019-05-14T10:37:29
2019-05-14T10:37:29
128,582,484
1
0
null
null
null
null
UTF-8
Python
false
false
750
py
#!/usr/bin/env python # -*- coding: utf-8 -*- # @Time : 2018/4/14 11:05 # @Author : LCH # @Site : # @File : map_reduce.py # @Software: PyCharm from functools import reduce print('map函数打印'.center(20,'*')) L1=map(lambda x:('整数'+str(x)),[x for x in range(1,10) if (x%2==0)]) for i in L1: print(i) print('redu...
[ "372815340@qq.com" ]
372815340@qq.com
4da87d1a40389b28f78cfe305a3a0639b5b29e12
c4b94158b0ac8f1c4f3d535b6cdee5d1639743ce
/Python/111__Minimum_Depth_of_Binary_Tree.py
6fe7a6cb166e10c97b1bc7263b6fa7b285ff494a
[]
no_license
FIRESTROM/Leetcode
fc61ae5f11f9cb7a118ae7eac292e8b3e5d10e41
801beb43235872b2419a92b11c4eb05f7ea2adab
refs/heads/master
2020-04-04T17:40:59.782318
2019-08-26T18:58:21
2019-08-26T18:58:21
156,130,665
2
0
null
null
null
null
UTF-8
Python
false
false
1,219
py
# Definition for a binary tree node. # class TreeNode(object): # def __init__(self, x): # self.val = x # self.left = None # self.right = None class Solution(object): def minDepth(self, root): """ :type root: TreeNode :rtype: int """ if not root: ...
[ "junou_cui@berkeley.edu" ]
junou_cui@berkeley.edu
dba2464ce4ec39659e48e36fb8993b924f58f5a4
9851c3f47c1aa165bc0d239074fe238f82055875
/LeetCode/1470. Shuffle the Array/solution.py
d87117a07f282268c856397090c5fbb36069116d
[ "Apache-2.0" ]
permissive
InnoFang/algo-set
12f886dbec0da664327d26bcaf02c1316151a643
2419a7d720bea1fd6ff3b75c38342a0ace18b205
refs/heads/master
2023-03-16T09:51:24.631068
2023-03-13T11:08:54
2023-03-13T11:08:54
86,413,001
23
9
null
null
null
null
UTF-8
Python
false
false
440
py
""" 53 / 53 test cases passed. Runtime: 24 ms Memory Usage: 15.2 MB """ class Solution: def shuffle(self, nums: List[int], n: int) -> List[int]: return [nums[(i >> 1) + n] if i & 1 else nums[(i >> 1)] for i in range(2 * n)] """ 53 / 53 test cases passed. Runtime: 50 ms Memory Usage: 15.1 MB """ class Solu...
[ "innofang@outlook.com" ]
innofang@outlook.com
ef8b0f71bb72e856120f0380af6305f0cdb7c789
8f8498bb6f56b19d45a1989c8113a077348c0a02
/SWEA/Level 4/격자판의 숫자 이어 붙이기.py
0d5c2c5b5ad7a58fb2d1115a1e87ee2fe8dbf278
[]
no_license
gjtjdtn201/practice
a09b437c892b0b601e156c09cb1f053b52fab11b
ea45582b2773616b2b8f350b927559210009d89f
refs/heads/master
2021-01-01T13:29:46.640740
2020-11-28T00:55:37
2020-11-28T00:55:37
239,299,485
0
1
null
null
null
null
UTF-8
Python
false
false
615
py
import sys sys.stdin = open('격자판에 숫자 이어 붙이기.txt', 'r') def ad(n, al, a, b): if n == 7: visit.add(al) return for i in range(4): ny = a + dy[i] nx = b + dx[i] if 0 <= ny < 4 and 0 <= nx < 4: ad(n+1, al+matrix[ny][nx], ny, nx) dy = [1, -1, 0, 0] dx = [0, 0, 1, ...
[ "gjtjdtn201@naver.com" ]
gjtjdtn201@naver.com
2f8935e90b1f58cd08d61595961b2acef65972f0
61b565b8ebc39dd561fee2923b94027efb42b7f6
/agsadmin/sharing_admin/content/users/UserContentBase.py
84ea50006a2e27b2e7ff9bcf689d6f05a0ae99f1
[ "BSD-3-Clause" ]
permissive
DavidWhittingham/agsadmin
30cc8ac9297db1f169aa3f2cf068bbfba77d9b2f
31960c01321df95d5918950371d3d795da2d0579
refs/heads/develop
2023-07-24T02:35:01.492001
2023-07-05T04:24:09
2023-07-05T04:24:09
13,790,963
3
5
BSD-3-Clause
2018-03-06T06:10:19
2013-10-23T01:51:30
Python
UTF-8
Python
false
false
2,470
py
from __future__ import (absolute_import, division, print_function, unicode_literals) from builtins import (ascii, bytes, chr, dict, filter, hex, input, int, map, next, oct, open, pow, range, round, str, super, zip) from ...._utils import send_session_request from ..._PortalEndpointBase import Por...
[ "DavidWhittingham@users.noreply.github.com" ]
DavidWhittingham@users.noreply.github.com
00899b9182a2710abdfd11fc903f3a4866a2efe0
38d93c5fd72fee380ec431b2ca60a069eef8579d
/Baekjoon,SWEA, etc/백준/4012요리사.py
3dc13f8f65a96aa2d92052c6c5f00e14aa6cf448
[]
no_license
whgusdn321/Competitive-programming
5d1b681f5bee90de5678219d91cd0fa764476ddd
3ff8e6b1d2facd31a8210eddeef851ffd0dce02a
refs/heads/master
2023-01-01T01:34:22.936373
2020-10-24T11:05:08
2020-10-24T11:05:08
299,181,046
0
0
null
null
null
null
UTF-8
Python
false
false
1,090
py
def make_combis(i, stakk, limit): global N, combis if len(stakk) == limit: anothor = [i for i in range(N) if i not in stakk] combis.append([stakk.copy(), anothor]) return for j in range(i+1, N): stakk.append(j) make_combis(j, stakk, limit) stakk.pop() T = int...
[ "blackgoldace@naver.com" ]
blackgoldace@naver.com
e73ee26033ad8ab16f6bf631cc3d8896890ebe9b
721b77cd11d74a0bca941d16090e10124d24566a
/marchfelderebank/middlewares.py
ba8f7cb144f48d91bc2a1d1ae500bd557a394bfc
[]
no_license
SimeonYS/Marchfelder-Bank-eG
619195f4769c582c98dd4bf7a3038c0185d3e4f6
80d44f9633a7f4d860eb68ada6a81439a8eb442b
refs/heads/main
2023-03-05T16:48:53.917333
2021-02-17T12:23:20
2021-02-17T12:23:20
339,710,868
0
0
null
null
null
null
UTF-8
Python
false
false
3,668
py
# Define here the models for your spider middleware # # See documentation in: # https://docs.scrapy.org/en/latest/topics/spider-middleware.html from scrapy import signals # useful for handling different item types with a single interface from itemadapter import is_item, ItemAdapter class MarchfelderebankSpiderMiddl...
[ "simeon.simeonov@ADPVT.com" ]
simeon.simeonov@ADPVT.com
60ab1489088b31707cfd6d1c0b22af2b86e2e4dd
84c4474a88a59da1e72d86b33b5326003f578271
/saleor/graphql/menu/mutations/menu_update.py
cc4bee256c0cd0517f1ae8a880c5c915fb1e9b1d
[ "BSD-3-Clause" ]
permissive
vineetb/saleor
052bd416d067699db774f06453d942cb36c5a4b7
b0d5ec1a55f2ceeba6f62cf15f53faea0adf93f9
refs/heads/main
2023-07-20T02:01:28.338748
2023-07-17T06:05:36
2023-07-17T06:05:36
309,911,573
0
0
NOASSERTION
2020-11-04T06:32:55
2020-11-04T06:32:55
null
UTF-8
Python
false
false
1,689
py
import graphene from ....menu import models from ....permission.enums import MenuPermissions from ....webhook.event_types import WebhookEventAsyncType from ...channel import ChannelContext from ...core import ResolveInfo from ...core.mutations import ModelMutation from ...core.types import MenuError from ...core.utils...
[ "noreply@github.com" ]
vineetb.noreply@github.com
e58a210e35b00d7436f86b19cc0b7f3004ea0685
ba095b34fb62cff6f5f6f32dc7036f13b45681a2
/llia/synths/chronos/chronos_random.py
9efb38afa7d9ca00ff2c6f8f8e3e8c2ecd0c355e
[]
no_license
plewto/Llia
7d3c60bd7355d02e9b00e97c82f24da5fa83b0f4
97f530ff0841b9604f0d9575e7e1f0e3c0660be0
refs/heads/master
2020-05-21T20:39:07.223990
2018-04-30T02:28:55
2018-04-30T02:28:55
63,315,753
17
2
null
2016-08-04T17:10:17
2016-07-14T08:05:33
Python
UTF-8
Python
false
false
1,563
py
# llia.synths.chronos.chronos_random from llia.util.lmath import * from llia.synths.chronos.chronos_data import chronos def random_program(slot=127, *_): p = chronos(slot, "Random", lfoCommonFreq = coin(0.75, rnd(3),rnd(10)), d1Dry1In = 1.0, d1Dry2In = 0.0, ...
[ "plewto@gmail.com" ]
plewto@gmail.com
4df5f4f912e51465974e6961e67ab1f8ec461158
d5d94c992d0596080ba694c518dfdb58d3490847
/0517/answer.py
6843c0a98adeaf6bb764fda2bb909b3cd2e7b224
[]
no_license
calgagi/leetcode
1bf24b750e44c2c893935983e5d88e0f071d9f2d
431aba979d92e331f2f92a07eb80167a823a49bd
refs/heads/master
2022-11-17T11:26:01.596496
2020-07-19T06:56:04
2020-07-19T06:56:04
276,207,528
0
0
null
null
null
null
UTF-8
Python
false
false
382
py
class Solution(object): def distributeCandies(self, candies): """ :type candies: List[int] :rtype: int """ num_candies = len(candies) sis_candies = num_candies // 2 num_types = len(list(set(candies))) if sis_candies >= num_types: return num...
[ "calgagi@gmail.com" ]
calgagi@gmail.com
79cd9eeb476d0cee73e718951128251dd11d8676
df44affab179c2546fb3e0d1dc29eebcfdf51c1c
/toughradius/modules/mps/mps_handler.py
f405a4e7c770fd90e9e92adcaf1582a124afe6a7
[]
no_license
sailorhdx/taurusradius
121c508e7faffaddcd5326d2b6d3710eaf0ed08e
92d30820611a0c9102ae41713ea3c35437a3c6ee
refs/heads/master
2021-01-22T02:28:31.543338
2017-06-17T02:15:33
2017-06-17T02:15:33
92,362,551
0
0
null
null
null
null
UTF-8
Python
false
false
4,079
py
#!/usr/bin/env python # coding=utf-8 import cyclone.web from toughradius.toughlib import logger from toughradius.toughlib import utils from toughradius.toughlib import logger from toughradius.toughlib.permit import permit from hashlib import sha1 from cyclone.util import ObjectDict from cyclone.options import options f...
[ "sailorhdx@hotmail.com" ]
sailorhdx@hotmail.com
14945d7b57c4ff2d8fed1b2f4dab066b14139eba
e3040a2e23a856e319e02037dc6baf3882c796b9
/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/response_body_post_nested_allof_to_check_validation_semantics_response_body_for_content_types/post.py
e29ea0fbc5326b35c7b6a6444df16c2c0b1597cf
[ "Apache-2.0" ]
permissive
mishin/openapi-generator
2ed2e0739c0cc2a627c25191d5898071d9294036
3ed650307513d552404f3d76487f3b4844acae41
refs/heads/master
2023-06-10T03:01:09.612130
2022-10-14T08:29:15
2022-10-14T08:29:15
271,080,285
0
0
Apache-2.0
2023-05-30T02:01:25
2020-06-09T18:29:41
Java
UTF-8
Python
false
false
8,103
py
# coding: utf-8 """ Generated by: https://openapi-generator.tech """ from dataclasses import dataclass import typing_extensions import urllib3 from urllib3._collections import HTTPHeaderDict from unit_test_api import api_client, exceptions from datetime import date, datetime # noqa: F401 import decimal # noq...
[ "noreply@github.com" ]
mishin.noreply@github.com
d0d1f9a841d791ae8e639e2c66b270b9976eaf6e
d1b3c9e1055bc759f5fba8379570ddc20cf4caa5
/main_thread.py
6ab3d3bc3e6d2ad5de46671370e69f0262faf70a
[]
no_license
woolpeeker/bet365_data
309b38245c77d9f9387c7d946dbb8410c4c84bc6
4cb920095f98faf220c74125d39ccdfe84229ee3
refs/heads/master
2020-03-29T22:48:40.234365
2018-12-14T03:41:42
2018-12-14T03:41:42
150,441,477
2
1
null
null
null
null
UTF-8
Python
false
false
4,950
py
from selenium.common.exceptions import TimeoutException from selenium import webdriver from selenium.webdriver.firefox.options import Options import datetime import time import traceback import os import multiprocessing as mp from Crawler import Crawler from utils import get_logger NT = 2 class MainThread(Crawler)...
[ "luojiapeng1993@gmail.com" ]
luojiapeng1993@gmail.com
7b6da9e011a8e2ebc5bce6257356735f68ba91dd
2a57c1a6d27304f80975bdef51ec398a690f0b2d
/lib/jubatest/__init__.py
e6af2fcc1460788bb31272b888df37d452a7422b
[]
no_license
kmaehashi/jubatest
53574b1a271731f07e98ba1c333084a653cc4044
ea5e1066bda09a8da1ad3de28ed71ad18317b6cf
refs/heads/master
2020-04-15T23:51:54.169966
2016-03-30T05:09:33
2016-03-30T05:09:33
12,368,976
1
0
null
2015-06-02T07:55:28
2013-08-26T01:39:26
Python
UTF-8
Python
false
false
165
py
# -*- coding: utf-8 -*- from __future__ import absolute_import, division, print_function, unicode_literals from .unit import JubaTestCase from .constants import *
[ "webmaster@kenichimaehashi.com" ]
webmaster@kenichimaehashi.com
ee9fb75785fb2393afaf072d38ab68d24b5bd23d
91283509c7cd4b309758c703303f761c6b400b53
/software/misc/get_gene_de.py
ec08fa8a00c06250a8a74335fb514bcddc9a4ece
[ "MIT" ]
permissive
Searchlight2/Searchlight2
0682c90e13e49ede961d5e43113fd7dd8728667e
f672860af3b882a06f39ada00b53da134d5a2ffa
refs/heads/master
2023-06-16T13:50:29.405772
2023-05-27T11:13:18
2023-05-27T11:13:18
223,948,179
27
13
NOASSERTION
2023-02-17T10:53:49
2019-11-25T12:52:37
Python
UTF-8
Python
false
false
171
py
def get_gene_de(global_variables,de_Dict): values_list = [de_Dict["log2fold"],de_Dict["p"],de_Dict["p.adj"],de_Dict["sig"],de_Dict["valid"]] return values_list
[ "john.cole@glasgow.ac.uk" ]
john.cole@glasgow.ac.uk
19564d429f9e45a0c1b7ce769789245222189b4c
9aa7d3c6d563a434595141f5b4dd8c54252a4d40
/tweets/migrations/0008_preference.py
b40286d91e8ba528407d73a1b8c004147d5939d4
[]
no_license
akhad97/Test-Web-App
9e200fc6d394cf6d52e72cb5f360d013e777fa9c
eb9b3480732c86f836748967bcfd6201dac6a6ee
refs/heads/master
2023-07-19T12:24:26.400998
2021-09-06T11:55:20
2021-09-06T11:55:20
402,657,324
1
0
null
null
null
null
UTF-8
Python
false
false
1,032
py
# Generated by Django 2.2.13 on 2021-07-29 18:06 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), ('tweets', '0007_auto_202...
[ "ahadjon.abdullaev1997@gmail.com" ]
ahadjon.abdullaev1997@gmail.com
cd2559b6e2a918d2843f950eba85bcc1ee347513
9ccb49d3216fd12a79fa73d4cdc6ecf51602f286
/video/cameo.py
45826719500cd312d2708ea390c6a2530c2fa7cb
[]
no_license
shidoutsuruya/my_opencv
a12d665a2bbbc911b56b682f5c51638651354616
910748ee98271948eedcec36ee308396547f4a2e
refs/heads/master
2023-07-04T18:32:49.639714
2021-09-02T13:24:45
2021-09-02T13:24:45
402,426,956
0
1
null
null
null
null
UTF-8
Python
false
false
2,399
py
import cv2 import sys sys.path.append(r'C:\Users\max21\Desktop\Python\OpenCV\video') from managers import WindowManager,Capturemanager import filter class Cameo(object): def __init__(self): #创建一个窗口,并将键盘的回调函数传入 self._windowManager = WindowManager('Cameo', self.onKeypress) #告诉程序数据来自摄像头,还有镜面效...
[ "shidoutsuruya@gmail.com" ]
shidoutsuruya@gmail.com
77cc550ae737bb0ee04e2770fd25d189cae5cd7d
99b84337ae66ad2877544fd158f20e7f4cd96520
/day01-10/day03/07-if语句.py
12ece94197133e1b68e793b0fca8e9db9d46452a
[]
no_license
jiajiabin/python_study
cf145d54cabce2cb98914b3448ed7d0e5c1c146c
b4faaff26ee9728af2e80942ba6a7c7f6a8b0f86
refs/heads/master
2020-06-21T21:31:26.034978
2019-08-26T11:39:34
2019-08-26T11:39:34
197,556,254
2
0
null
null
null
null
UTF-8
Python
false
false
211
py
# if语句 print('line01') if 5 < 3: print("Good!") # python比其他语言更重视缩进 print("Good day!") if 5 + 3: print("Excellent!!") if 5 * 0: print("Not bad!!") print('line02')
[ "2592668397@qq.com" ]
2592668397@qq.com
987daffedbfae7ec715410bded64b9b080d0592d
19c87c46013ce41abbec7db48ae9cc3e6d015269
/lib/node_modules/@stdlib/math/base/special/atan/benchmark/python/benchmark.py
5c9898b5907409301c61bb752c405b40492d5bc1
[ "BSD-3-Clause", "BSL-1.0", "Apache-2.0", "LicenseRef-scancode-unknown-license-reference" ]
permissive
rreusser/stdlib
834428bcfcc76202e8d6a241b6d0aa6446f0da72
ca98ecb7e3736c290e32595f8cb57a98cf7ef509
refs/heads/develop
2021-01-20T13:26:42.198550
2017-05-06T19:44:19
2017-05-06T19:44:19
90,491,573
0
0
null
2017-05-06T21:15:05
2017-05-06T21:15:05
null
UTF-8
Python
false
false
1,516
py
#!/usr/bin/env python """Benchmark atan.""" import timeit name = "atan" repeats = 3 iterations = 1000000 def print_version(): """Print the TAP version.""" print("TAP version 13") def print_summary(total, passing): """Print the benchmark summary. # Arguments * `total`: total number of tests ...
[ "kgryte@gmail.com" ]
kgryte@gmail.com
9de0ceb6297499202c5213b01406fa2c200f205e
80db1d25ed31c1a7b45653775517b9eff22dd67b
/vcoasm/compilables.py
a2d947551ea19b6f6988c8941f2a7334eaee7fa8
[ "MIT" ]
permissive
vcokltfre/vcoasm
e45fb4d31a0ac6e054cc75cc4fe1ef41e9ab4990
cb660465d78bf6b479ba7f6a38bae9385a67b6c0
refs/heads/master
2023-05-29T02:07:07.861324
2021-06-17T10:11:27
2021-06-17T10:11:27
377,801,143
0
0
null
null
null
null
UTF-8
Python
false
false
1,246
py
from abc import ABC, abstractmethod class Compilable(ABC): def __init__(self, value) -> None: self.value = value def __repr__(self) -> str: return f"<{self.__class__.__qualname__} value={self.value}>" def __str__(self) -> str: return self.__repr__() @abstractmethod def c...
[ "vcokltfre@gmail.com" ]
vcokltfre@gmail.com
145dc99e4e6ead5edb4254afe7e15b60d4ae21ef
088e000eb5f16e6d0d56c19833b37de4e67d1097
/model-optimizer/extensions/front/kaldi/replace_lstm_nonlinearity.py
f50def886315e73b6d88ba0cc490d3cb0843896b
[ "Apache-2.0" ]
permissive
projectceladon/dldt
614ba719a428cbb46d64ab8d1e845ac25e85a53e
ba6e22b1b5ee4cbefcc30e8d9493cddb0bb3dfdf
refs/heads/2019
2022-11-24T10:22:34.693033
2019-08-09T16:02:42
2019-08-09T16:02:42
204,383,002
1
1
Apache-2.0
2022-11-22T04:06:09
2019-08-26T02:48:52
C++
UTF-8
Python
false
false
5,493
py
""" Copyright (c) 2019 Intel Corporation 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...
[ "44090433+openvino-pushbot@users.noreply.github.com" ]
44090433+openvino-pushbot@users.noreply.github.com
bc31f0d3373dece3426e10a21d2ea098049e4f14
c9fb37a97abe7767e45e2d95694002aa334da6a1
/kodetest/__init__.py
cefda69719b8c2e0658c4bbc64e84368abc0119b
[ "MIT" ]
permissive
arve0/kodetest
6c3ce09e3afbb29e54bac4d9bbc7c0963bd13dd5
93a6c5ca4d50c5574f0d3bda94c7aba9da38430a
refs/heads/master
2021-01-21T10:09:22.152122
2015-06-10T10:23:24
2015-06-10T10:23:24
37,190,492
0
0
null
null
null
null
UTF-8
Python
false
false
169
py
__author__ = 'Arve Seljebu' __email__ = 'arve.seljebu@gmail.com' from os.path import join, dirname __version__ = open(join(dirname(__file__), 'VERSION')).read().strip()
[ "arve.seljebu@gmail.com" ]
arve.seljebu@gmail.com
c37555e64f17e0c4712b0d716cd059dc7849bdf4
b7125b27e564d2cc80a2ce8d0a6f934aa22c8445
/.history/sudoku_20201029173225.py
f1d02d60237cac3cf3e062856f9ae2188ea2cd11
[]
no_license
JensVL96/Puzzle-solver-for-fun
4c15dcd570c3705b7ac555efb56b52913e81083c
6d8a4378a480372213a596a336a4deca727a00fc
refs/heads/master
2021-07-15T05:19:42.185495
2020-11-08T13:59:49
2020-11-08T13:59:49
224,855,888
1
0
null
null
null
null
UTF-8
Python
false
false
6,919
py
# -*- coding: utf-8 -*- from __future__ import print_function import pygame as pg from random import sample from pyglet.gl import * from string import * import numpy as np class create_board(): def __init__(self): self.base = 3 # Will generate any size of random sudoku board in O(n^2) time self.s...
[ "jle040@uit.no" ]
jle040@uit.no
a5b8f8016a604a139731ae6089707b51448c5508
5d505823a5640ee6dce32183cac76dd48211702a
/apps/permissions/urls.py
76bb2af84e33894bade640b9a66170ca542cbfba
[]
no_license
strogo/mayan
0e1ead8c1b14d2f9d3f070373a57e2614579bc2a
cdff873400f9487ea8ed770d47df343a89835008
refs/heads/master
2020-04-06T06:53:24.301196
2011-03-12T09:06:25
2011-03-12T09:06:25
null
0
0
null
null
null
null
UTF-8
Python
false
false
829
py
from django.conf.urls.defaults import * urlpatterns = patterns('permissions.views', url(r'^role/list/$', 'role_list', (), 'role_list'), url(r'^role/create/$', 'role_create', (), 'role_create'), url(r'^role/(?P<role_id>\d+)/permissions/$', 'role_permissions', (), 'role_permissions'), url(r'^role/(?P<rol...
[ "Roberto.Rosario.Gonzalez@gmail.com" ]
Roberto.Rosario.Gonzalez@gmail.com
85bbae3ed6f3bfb50670f9375b6cb5cb8b856f19
cf5ceed90310006a4543d976882c85bc701efab3
/crawley/manager/commands/__init__.py
895d50c9e43e6ddd6cb692746b327145556a5241
[]
no_license
hammadk373/crawley
698b1aff51267a78f5e9f18d78f43e1dd69d75bd
f7522cfa0446b523b93e8056991f9d10e9754ff0
refs/heads/master
2021-01-18T06:52:07.753729
2011-10-28T02:37:00
2011-10-28T02:37:00
2,663,083
1
0
null
null
null
null
UTF-8
Python
false
false
774
py
""" All Crawley's commands must be here """ from crawley.manager.utils import exit_with_error from run import RunCommand from shell import ShellCommand from startproject import StartProjectCommand from syncdb import SyncDbCommand from browser import BrowserCommand class CommandsDict(dict): def __getitem...
[ "jmg.utn@gmail.com" ]
jmg.utn@gmail.com
e75a8b7eb62b91249a6c1ed047fdc38e0466edde
800a14e246e19308445eaec2456282361819a763
/05-Functions.py
a698f3fec295f43f0c439d19719166dbfc3152b7
[]
no_license
anmolrajaroraa/CorePythonMarch
76d6ae5ace773e3406ae637e715240dbef09cfe1
0f693270bdd5f21e1401d0515574945a6004fecd
refs/heads/master
2021-03-15T02:29:52.818197
2020-04-26T10:06:23
2020-04-26T10:06:23
246,817,221
0
1
null
null
null
null
UTF-8
Python
false
false
464
py
def takeInput(): first_num = input("Enter first number : ") second_num = input("Enter second number : ") return first_num, second_num def calculate(operator): x, y = takeInput() # print(xoperatory) print(eval(x + operator + y)) print(''' 1. Add 2. Subtract 3. Multiply 4. Divi...
[ "anmolarora1711@gmail.com" ]
anmolarora1711@gmail.com
87f99d6fbc4b1f65292544a6604083619ffac402
8f8e378c0ce4224244582c506c268edda3cc3b30
/Common/ML/Day11/k.py
7cd68c168a9b23db33a99fb633074bc7b9ee6f5f
[]
no_license
srsapireddy/Diploma-in-AI_NIELIT_Files
223318319b2d4b8647d77b99d1ba03f0d6e15cf6
9e2ed78fbe03369ebef1aa81f3417fc21bdd4107
refs/heads/master
2021-05-17T14:28:00.059617
2020-03-29T09:28:04
2020-03-29T09:28:04
250,820,401
0
0
null
null
null
null
UTF-8
Python
false
false
338
py
from sklearn.datasets import load_iris from sklearn.neighbors import KNeighborsClassifier iris=load_iris() import pickle X=iris.data y=iris.target knn=KNeighborsClassifier() knn1=KNeighborsClassifier() knn.fit(X,y) file='k1' pickle.dump(knn,open(file,'wb')) knn1=pickle.load(open(file,'rb')) p=knn1.predict([[3,2,...
[ "sapireddyrahul@gmail.com" ]
sapireddyrahul@gmail.com
f393981cecf624006b404116a11be34f4cd139cf
51108a50ffb48ad154f587c230045bb783f22240
/bflib/units/__init__.py
036f8f8be95c9ed68fe6f955023f6bcf26da6861
[ "MIT" ]
permissive
ChrisLR/BasicDungeonRL
c90bd0866c457557cccbad24e14689d5d6db7b00
b293d40bd9a0d3b7aec41b5e1d58441165997ff1
refs/heads/master
2021-06-15T13:56:53.888646
2019-08-05T16:33:57
2019-08-05T16:33:57
104,269,987
3
0
MIT
2019-08-05T16:28:23
2017-09-20T21:35:19
Python
UTF-8
Python
false
false
247
py
from bflib.units.distance import Feet from bflib.units.mass import Pound from bflib.units.speed import FeetPerGameTurn from bflib.units.time import CombatRound, GameTurn, Minute, Second, Year, Hour from bflib.units.volume import CubicFeet, Litre
[ "arzhul@gmail.com" ]
arzhul@gmail.com
c319f7eb6adadc8d4b605cc1e85628addfd71945
71dc727f9056934cd51692f8a3d26cf0dda44ef0
/code/Chapter-12/gcd.py
d6cb90c851bef0ce5b925ec84a6df6e159789188
[ "MIT" ]
permissive
justinclark-dev/CSC110
9d255020a50bbfdb195465c3e742dd2fcd61e3a4
d738ec33b757ba8fa9cf35b2214c184d532367a0
refs/heads/master
2022-12-08T08:08:30.667241
2020-09-04T01:05:34
2020-09-04T01:05:34
232,606,910
0
1
MIT
2020-09-04T02:05:47
2020-01-08T16:28:37
Python
UTF-8
Python
false
false
512
py
# This program uses recursion to find the GCD # of two numbers. def main(): # Get two numbers. num1 = int(input('Enter an integer: ')) num2 = int(input('Enter another integer: ')) # Display the GCD. print('The greatest common divisor of') print('the two numbers is', gcd(num1, num2)) # The...
[ "justinclark.dev@gmail.com" ]
justinclark.dev@gmail.com
fb78d2f8093b498f88e87fba3b9afa1bad9ba6e7
aad51b0ea59c38b23ed419e10b86c44aa947f117
/288/smallest.py
7003266b991249449227815267c7b365aaac4b8f
[]
no_license
berubejd/PyBites
3a1d7144f59f67a0996dbe224b69bc0b6da439d6
439446e8b67612a603713723b2d4a021677341d2
refs/heads/master
2021-07-14T14:03:51.819347
2020-11-01T14:59:02
2020-11-01T14:59:02
221,087,519
0
0
null
null
null
null
UTF-8
Python
false
false
522
py
#!/usr/bin/env python3.8 """ Bite 288. Smallest number ☆ Write a function that accepts a list of digits and returns the smallest number that can be created by combining unique digits. Therefore, you have to ignore duplicated digits. Examples: [1] => 1 [7, 1] => 17 [1, 9, 5, 9, 1] => 159 Note: An empty input...
[ "berubejd@gmail.com" ]
berubejd@gmail.com
210332a8e477a11cd9d18fa27771e44c7d8b322b
3fd8fd35d61d997b586e40ed8d938805ce5fdf3b
/unique_ingredients_generator.py
cf09203c8b44b54f8131bbe5e3d2071ef90ee998
[]
no_license
ChocolatePadmanaban/Cooking_Scheduler
8afd967cd5128b15c9865aa44ae3d298ee3027ad
3cd91009e68064f92408fb5bba55519ba77767c3
refs/heads/master
2023-01-03T10:55:25.306425
2020-11-01T07:13:50
2020-11-01T07:13:50
260,551,843
0
0
null
null
null
null
UTF-8
Python
false
false
849
py
import csv import os ingredient_files=os.listdir("recipe_ingredients") ingredient_dict={} for ingredient_file in ingredient_files: i_file = open('recipe_ingredients/'+ingredient_file) csv_i_file = csv.reader(i_file) for row in csv_i_file: if row[0] not in ['name', 'question']: if row[...
[ "pradeeppadmanaban7@gmail.com" ]
pradeeppadmanaban7@gmail.com
877564edfc0d7dbde701ac67bc6a543797ef45e0
409ea8d82e5cc160028456755f9b36fd74da6258
/AI 서비스를 위한 프로그래밍 기본/test0720.py
da63291344c0bbd1f90e4385dbdb3f7b83c74619
[]
no_license
ineed-coffee/multicampus-AI-engineering
55c241c8367d099a62595032f4496f10662446f1
5dd9f6dd97910de73103235b33a5d500c205237a
refs/heads/master
2023-01-19T21:37:59.192972
2020-11-30T09:54:49
2020-11-30T09:54:49
279,185,082
1
0
null
null
null
null
UTF-8
Python
false
false
654
py
# # review # # private instance variable # class person(): # def __init__(self,name,age): # self.__name = name # self.__age = age # def show_name(self): # return self.__name # def show_age(self): # return self.__age # # inheritance # class student(): # def st...
[ "leey93ssu@gmail.com" ]
leey93ssu@gmail.com
220baaf2058130c0aee5967ca7d27910c3f5723e
b5f249c6ede64809cce1c622d1da536de7a88ce8
/test/unit/constants.py
a7b9246c0ba63cc2d6a6abf6fe58a3b5cae50c09
[]
no_license
rimms/jubatest
89a554d2361ef3095f920a92c5d89fe2fdb646e5
e4d66ceccfdeecdb91ba3d216c227773b70a7fe1
refs/heads/master
2020-12-25T09:47:16.812398
2015-03-12T10:47:31
2015-03-12T10:47:31
13,459,176
0
0
null
null
null
null
UTF-8
Python
false
false
806
py
# -*- coding: utf-8 -*- import time from jubatest import * from jubatest.unit import JubaTestFixtureFailedError class DefaultConfigTest(JubaTestCase): def test_sleep(self): begin = time.time() sleep(1) # from jubatest.constants timeTaken = time.time() - begin self.assertAlmostEqua...
[ "webmaster@kenichimaehashi.com" ]
webmaster@kenichimaehashi.com
6b37f3ed770bca9d9f491eb1028f94922a775476
c7ce0a7bbefa817877ae02d0497a8ee138ee460d
/app/migrations/0002_work.py
f3c5c9bfad5d20168b49d0605cfad93cfb4c907b
[]
no_license
hiroshi-higashiyama/DJANGO-PORTFOLIO
288cfcb0eefc375b643556d0ab63e05acc0646c6
1e66ed9355fc00cd8228b3bcac40a8f6c75b6451
refs/heads/master
2022-12-03T20:24:39.109925
2020-08-21T13:26:44
2020-08-21T13:26:44
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,087
py
# Generated by Django 3.1 on 2020-08-16 10:02 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('app', '0001_initial'), ] operations = [ migrations.CreateModel( name='Work', fields=[ ('id', models.Au...
[ "s20840011@gmail.com" ]
s20840011@gmail.com
85e2f1127c455858f263e129968012d3d12350e4
bc6508a1dde1e61a8b2f61e70044c074aeeb4406
/whoiser/servers/UA.py
c9752e72fe6d9a86e91af5187e8fc2b9203b5cd5
[]
no_license
krikulis/whoiser
7eca72260dc061a91c7630901557264b80c5263e
27af46d6ffcf2bacc5e5b837883ab5fab7ac9b40
refs/heads/master
2021-01-10T19:10:53.915622
2012-06-24T23:50:28
2012-06-24T23:50:28
null
0
0
null
null
null
null
UTF-8
Python
false
false
200
py
#TODO: write implementation from servers.generic import GenericWhoisQuery class WhoisQuery(GenericWhoisQuery): server = 'whois.ua' def parse_response(self, response): return response
[ "kristaps.kulis@gmail.com" ]
kristaps.kulis@gmail.com
8f1b383ecc9e8d14ee9afc1d8a5cf57fe674970f
d1da1bfc310cb428152a9d4e41509b08ee4a6846
/python4.py
bf6430f3830af7492994d5b1cbf235ff9b2d8815
[]
no_license
imrajashish/python
3c9c3a2b3cdd939741fc062ca52df6e3a40d5a45
898032f9acb707e0cb0ad40b6b6f2a2406610893
refs/heads/master
2022-12-07T12:07:08.500570
2020-09-04T15:21:26
2020-09-04T15:21:26
283,292,211
1
0
null
null
null
null
UTF-8
Python
false
false
1,867
py
#Write a Python program to solve (x + y) * (x + y). x = 4 y = 5 s = (x + y) * (x + y) print("output is : ",s) #Write a Python program to add two objects if both objects are an integer type. x = int(input("Enter the a : ")) y = int(input("Enter the b : ")) sum = x+y print("sum of two number is : ",sum) # Write a Pyth...
[ "imrajashish07@gmail.com" ]
imrajashish07@gmail.com
1620054aa845a8b00ec4d9c3c6f27667467d29a6
d9a5600b3b211993dedd4225dfd77ff7daa1384e
/src/tweets/admin.py
d958f478fa09fdd00c0e0eb02be9ccd5aae9bbd1
[]
no_license
Ahmedsebit/django_twitter_like_app
220da09fd471c1e5a28070f9af587b3d23aafe78
d1abb08da75928a97761830faaca2fd32fbe3e31
refs/heads/master
2020-12-02T23:57:26.744081
2017-07-12T12:16:38
2017-07-12T12:16:38
95,966,074
0
0
null
null
null
null
UTF-8
Python
false
false
276
py
from django.contrib import admin # Register your models here. from .forms import TweetModelForm from .models import Tweet class TweetModelAdmin(admin.ModelAdmin): # form = TweetModelForm class Meta: model = Tweet admin.site.register(Tweet, TweetModelAdmin)
[ "Ahmed.yusuf@andela.com" ]
Ahmed.yusuf@andela.com
242fcb76e5732df2b210443389ce6cf555f2bfd3
57cb9fef5efac78758f5d151b959ca2216c94083
/edx/app/discovery/venvs/discovery/bin/cq
11d127b143483c4edd18ed18708a09cbf20e1286
[]
no_license
JosiahKennedy/openedx-branded
9751d5362088276a87b2e0edca0913568eeb1ac4
d16a25b035b2e810b8ab2b0a2ac032b216562e26
refs/heads/master
2022-12-21T02:39:17.133147
2020-03-25T06:03:23
2020-03-25T06:03:23
249,895,218
0
1
null
2022-12-08T01:23:48
2020-03-25T05:33:05
null
UTF-8
Python
false
false
3,081
#!/edx/app/discovery/venvs/discovery/bin/python3 # Copyright (c) 2006,2007 Mitch Garnaat http://garnaat.org/ # # Permission is hereby granted, free of charge, to any person obtaining a # copy of this software and associated documentation files (the # "Software"), to deal in the Software without restriction, including #...
[ "josiahk@phyziklabs.com" ]
josiahk@phyziklabs.com
67847d07a9ae4df961e7ab84e973abb383ecefb0
58d6c7927d58ba9782c79624dadd9602c8148daa
/docs/conf.py
bc7bb2ead825b9c212910f5165c69fbd9b43d494
[ "CC-BY-3.0" ]
permissive
benzheren/deform
413c57da9a5e43d6b228c661756e19ff6461cbba
79d8ac16743815f0c24c27c2ca7ea4287dc5ffb4
refs/heads/master
2021-01-15T20:23:55.318165
2011-05-20T03:06:33
2011-05-20T03:06:33
1,549,685
1
0
null
null
null
null
UTF-8
Python
false
false
6,116
py
# -*- coding: utf-8 -*- # # deform documentation build configuration file # # This file is execfile()d with the current directory set to its containing # dir. # # The contents of this file are pickled, so don't put values in the # namespace that aren't pickleable (module imports are okay, they're # removed automaticall...
[ "chrism@plope.com" ]
chrism@plope.com
425d0243808928a0a7b2acc6b6c87210f7a7790a
81a72409096ad1dd5c443ebcbe6309cb8e6050d7
/389.py
bf147eda1da9f8220859494370cda76aaf116a57
[]
no_license
plee0117/LC
57a06a18316680d202e417c7fbba2c90139908f3
75fe9ce131699854a468b829508d0636e4a820c4
refs/heads/master
2021-05-18T22:08:36.600206
2020-08-21T14:47:19
2020-08-21T14:47:19
251,446,370
0
0
null
null
null
null
UTF-8
Python
false
false
221
py
class Solution: def findTheDifference(self, s: str, t: str) -> str: ind = list(range(len(t))) for i in s: ind[t.index(i)] = 0 t = t.replace(i, '0', 1) return t[sum(ind)]
[ "emailme.paul@gmail.com" ]
emailme.paul@gmail.com
5833cd7532aeb6518a79c95a2078387fb6f85c44
701086eb3c858cf7e677f4e901b37ca26752b494
/app/forms/validators.py
c76bb90bf7fee5ddd0a67d6cc97ef807167875df
[]
no_license
anshulkgupta/eventum
e38f19678358b42f0336c642d818e8e8ed14c84b
4b36ed879694b650c1e5a1eefea7c36855ccf221
refs/heads/master
2021-01-18T01:24:52.697223
2014-10-26T23:09:11
2014-10-26T23:09:11
null
0
0
null
null
null
null
UTF-8
Python
false
false
276
py
from app.models import Image from wtforms.validators import ValidationError def image_with_same_name(form,field): if Image.objects(filename=field.data).count() != 1: return ValidationError( message="Can't find image `%s` in the database" % field.data)
[ "dan.r.schlosser@gmail.com" ]
dan.r.schlosser@gmail.com
335af7220f389eddf0baa1cf0cb97e3f9ba72f03
52b5773617a1b972a905de4d692540d26ff74926
/.history/valid_20200616212636.py
96b5562d02e05c82fb1fac891633e27e6b568d99
[]
no_license
MaryanneNjeri/pythonModules
56f54bf098ae58ea069bf33f11ae94fa8eedcabc
f4e56b1e4dda2349267af634a46f6b9df6686020
refs/heads/master
2022-12-16T02:59:19.896129
2020-09-11T12:05:22
2020-09-11T12:05:22
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,064
py
# Ipv4 --> 4 decimal numbers,between 0 to 255 # leading zero's is invalid # check whethere its a digit between 0 to 255 import string def valid(str): address = str.split(".") numbers = range(0,256) for a in address: if len(address) == 4: if int(a) in numbers and a.isdigit()...
[ "mary.jereh@gmail.com" ]
mary.jereh@gmail.com
c574584397da1b7c40f83de3d2d3e61524bd6fe3
427ab1f7f7fe08f76fab6468f6ea24dc5bc2701d
/bugscan/exp-1417.py
512fd0c3befeec133428d005a8e6659d524b5658
[]
no_license
gayhub-blackerie/poc
b852b2bcdba78185efd68817c31579247c6e4b83
8b7c95d765deb450c029a921031eb1c90418f2a7
refs/heads/master
2021-07-24T03:05:52.697820
2017-11-04T10:33:51
2017-11-04T10:33:51
107,093,079
1
0
null
2017-10-16T07:31:31
2017-10-16T07:31:31
null
UTF-8
Python
false
false
636
py
# !/usr/bin/dev python # -*- coding:utf-8 -*- #__Author__ = buliuchang # __refer__ = https://www.exploit-db.com/exploits/37244/ def assign(service, arg): if service == "wordpress": return True, arg def audit(arg): payload='wp-content/plugins/wp-symposium/get_album_item.php?size=md5(1)...
[ "hackerlq@gmail.com" ]
hackerlq@gmail.com
c709ea8f114d9d9959cffc3733087f2b1ecde092
a5ba631dddaf2912c309601f8fbdd3c5b494fe20
/src/command_modules/azure-cli-lab/azure/cli/command_modules/lab/sdk/devtestlabs/models/lab_cost.py
166f2a5b9ee62cebfd056824a45a6b13ca19aa6f
[ "MIT" ]
permissive
saurabsa/azure-cli-old
37471020cd2af9a53e949e739643299f71037565
f77477a98c9aa9cb55daf5b0d2f410d1455a9225
refs/heads/master
2023-01-09T04:00:15.642883
2018-04-23T21:40:04
2018-04-23T21:40:04
130,759,501
0
0
NOASSERTION
2022-12-27T14:59:06
2018-04-23T21:33:34
Python
UTF-8
Python
false
false
4,236
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. # -----------------------------------------------------...
[ "saurabsa@microsoft.com" ]
saurabsa@microsoft.com
3fcb753340d6c17fbec10dfc3e30c46fe86be655
60c5716fc0abcb6fcb5d7cf0a06efe0fcb7be56a
/docs/source/conf.py
311b7b47f8220ed602549ee241d3f523f61e9abd
[ "BSD-2-Clause", "Apache-2.0" ]
permissive
cedadev/housemartin
46b5ce3107dab02f1c6b2ccd788570913b59a30e
9d8c75e460a6dc46435760d15dc97ca9141e742f
refs/heads/main
2023-03-26T00:49:49.435008
2021-03-26T14:04:05
2021-03-26T14:04:05
337,997,635
0
0
null
null
null
null
UTF-8
Python
false
false
7,046
py
#!/usr/bin/env python # -*- coding: utf-8 -*- # # housemartin documentation build configuration file, created by # sphinx-quickstart on Fri Jun 9 13:47:02 2017. # # This file is execfile()d with the current directory set to its # containing dir. # # Note that not all possible configuration values are present in this #...
[ "ag.stephens@stfc.ac.uk" ]
ag.stephens@stfc.ac.uk