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
0640154e6d006f7e8cd5a8a84feb4397adea1e62
3dbb38734200935f143ea8b6446e9bf32a4a16ee
/PyClient/TableOfLife/app/forms.py
2f670b63694db308562266cdc27f51cebb639723
[]
no_license
k-t-l-h/TableOfLife
4624938a2edff3b5de336c30fec5775a5e3971cf
f0ceefe499b9a5a76b9f15201cbd409fa75f0605
refs/heads/main
2023-05-14T09:39:37.406622
2021-06-03T19:35:43
2021-06-03T19:35:43
345,408,827
0
2
null
2023-02-17T18:58:24
2021-03-07T17:26:42
C++
UTF-8
Python
false
false
1,125
py
from django.core.exceptions import ValidationError, ObjectDoesNotExist from django.contrib.auth.models import User from django.core import validators from django import forms import re class AskForm(forms.Form): classes = forms.CharField(label='О предметах:', widget=forms.Textarea( attrs={'class': 'form-c...
[ "you@example.com" ]
you@example.com
4b019b306236babfdf442ed4b7f1e6d0ebb21614
ae8a89e90b4d69a061076563ba68272d27e5c664
/HIDS/main.py
a75779d5ec65158a8c28c296ca08fbb8d7b57269
[]
no_license
Louis-Saglio/python_script
8d1a65f704c21eb3b2fee17e63b8d2b467764bb0
f039e61078f5eb18d3334c4940d794fa5bc5f67d
refs/heads/master
2022-12-21T21:37:07.234976
2017-10-29T15:52:47
2017-10-29T15:52:47
106,963,199
0
1
null
2022-12-09T03:22:11
2017-10-14T21:11:03
Python
UTF-8
Python
false
false
255
py
import filecmp import os def rlistdir(path='.'): for directory, sub_dir, files in os.walk(path): for file in files: yield os.path.join(directory, file) if __name__ == '__main__': for i in rlistdir('/usr'): print(i)
[ "louis.saglio@sfr.fr" ]
louis.saglio@sfr.fr
bcfaee049701f0696da3a47ef641b699bbe4b7cd
c5f58af61e3577ded52acda210f4f664651b598c
/template/mmdetection/configs/foveabox/fovea_r50_fpn_4x4_1x_coco.py
2b00ad2faf61e2c437b5237d9de02049a81edf57
[ "Apache-2.0", "MIT", "LicenseRef-scancode-unknown-license-reference" ]
permissive
hojihun5516/object-detection-level2-cv-02
0a4ee5cea9a77ef5d43fb61a4b37fe3a87cb0eac
bc8a08286935b31b8e7e597c4b1ca2cbbaeb9109
refs/heads/master
2023-08-31T09:50:59.150971
2021-10-16T15:00:19
2021-10-16T15:00:19
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,528
py
_base_ = ["../_base_/datasets/coco_detection.py", "../_base_/schedules/schedule_1x.py", "../_base_/default_runtime.py"] # model settings model = dict( type="FOVEA", backbone=dict( type="ResNet", depth=50, num_stages=4, out_indices=(0, 1, 2, 3), frozen_stages=1, no...
[ "hojihun5516@daum.net" ]
hojihun5516@daum.net
6357de8a8bbeccf5484ff2c1b1e34b8452d63ff4
8a12d939f01a179c1fb8b7e72d8cb1c7d4970b6f
/tools/train.py
ebc65480c5fc9610caee60b39c0eafdd4661cecf
[ "Apache-2.0" ]
permissive
459737087/mmflow
bebd2da1bd87e9b5b2a1a10ecdc61558978610d9
a32f7af12f1a0d2ae3f962f4c94a4a1680c7a19e
refs/heads/master
2023-09-03T03:04:40.010033
2021-11-18T04:35:06
2021-11-18T04:35:06
null
0
0
null
null
null
null
UTF-8
Python
false
false
6,433
py
# Copyright (c) OpenMMLab. All rights reserved. import argparse import copy import os import os.path as osp import time import mmcv import torch from mmcv import Config, DictAction from mmcv.runner import init_dist from mmcv.utils import get_git_hash from mmflow import __version__ from mmflow.apis import set_random_s...
[ "meowzheng@outlook.com" ]
meowzheng@outlook.com
73575c45ed55b4146558350ddb50d28b66091187
8ef5a09d76a11c56963f18e6a08474a1a8bafe3c
/leet_code/18. 4Sum.py
972245f09f2573fa6cc14283b372bbd0b6f022b4
[]
no_license
roiei/algo
32c4677649c7666db148f6183fbfbf66c8b1969f
ae8bb8bf4ae4026ccaf1dce323b4098547dd35ec
refs/heads/master
2022-04-01T19:21:27.768675
2022-02-19T06:15:29
2022-02-19T06:15:29
169,021,154
0
0
null
null
null
null
UTF-8
Python
false
false
1,124
py
import time from util.util_list import * from util.util_tree import * import copy import collections import bisect class Solution: def fourSum(self, nums: [int], target: int) -> [[int]]: n = len(nums) res = set() nums.sort() for i in range(n - 2): for ...
[ "hyoukjea.son@hyundai.com" ]
hyoukjea.son@hyundai.com
e8f99e195a00a7eb686066deabd7198bdbd95ded
0db97db08743783019efe022190f409d22ff95bd
/aliyun/api/rest/Cdn20141111DescribeCdnMonitorDataRequest.py
589fb0bb77c88eb908d460a95e93610af5c76c7d
[ "Apache-2.0" ]
permissive
snowyxx/aliyun-python-demo
8052e2a165f1b869affe632dda484d6ca203bd9b
ed40887ddff440b85b77f9b2a1fcda11cca55c8b
refs/heads/master
2021-01-10T03:37:31.657793
2016-01-21T02:03:14
2016-01-21T02:03:14
49,921,095
0
0
null
null
null
null
UTF-8
Python
false
false
398
py
''' Created by auto_sdk on 2014.11.27 ''' from aliyun.api.base import RestApi class Cdn20141111DescribeCdnMonitorDataRequest(RestApi): def __init__(self,domain='cdn.aliyuncs.com',port=80): RestApi.__init__(self,domain, port) self.DomainName = None self.EndTime = None self.StartTime = None def geta...
[ "snowyxx@126.com" ]
snowyxx@126.com
0f787c236ec1a8d885a4ef087fc082373227c8bc
7f523c407d45d116860eff67f079e807f2b53339
/src/third_party/beaengine/tests/0fc0.py
0ac3b3878d9ad1a76c66fa1cc72d3a95f77ed24d
[ "LGPL-3.0-only", "LGPL-2.0-or-later", "MIT" ]
permissive
0vercl0k/rp
a352c96bfe3715eb9ce8c5942831123e65289dac
b24e7f58a594aaf0ce3771745bf06862f6ecc074
refs/heads/master
2023-08-30T08:03:14.842828
2023-08-09T00:41:00
2023-08-09T00:41:00
3,554,173
1,557
239
MIT
2023-08-09T00:41:02
2012-02-26T19:26:33
C++
UTF-8
Python
false
false
2,280
py
#!/usr/bin/python # -*- coding: utf-8 -*- # This program is free software: you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation, either version 3 of the License, or # (at your option) any later version. # # This progra...
[ "noreply@github.com" ]
0vercl0k.noreply@github.com
99987cf070bb316131b7d0ea14e3388a616f9a15
20be441085d9a9ae41dcf8e4dd5f416bcd3f22da
/botapi/type_cast.py
ad3483bde31f98a71ed76a913e083021fa977960
[ "Apache-2.0" ]
permissive
santarovich/botapi
928aaf48c44167b6893c51df738b9dc50873073a
dfb5161be08d0c045d70e023842144c4a18e012c
refs/heads/master
2023-03-16T10:51:00.997084
2020-12-22T09:33:44
2020-12-22T09:33:44
null
0
0
null
null
null
null
UTF-8
Python
false
false
3,052
py
from datetime import datetime from typing import Any from .exceptions import TypeCastException from .serialize import SerializableModel from .types import TypedList, DateTime def type_cast(func): def wrapper(var_name: str, value: Any, *args, **kwargs): if value is None: return None re...
[ "rineisky@gmail.com" ]
rineisky@gmail.com
f7503c9a867b753e4c09c2fade37efbef3ea46d8
9c73eccb0f27ee98452864e6388802e1c0a9e51c
/py_tdlib/constructors/stickers.py
4e1794bd2471db1a883cd9ab46fffe75f0da5e8d
[ "MIT" ]
permissive
Tempah28/python-tdlib
32a684cba6f5b8fcd5673d01a06f926304d29c5b
925781f2ef9e386dab437334048c798fa9cb945f
refs/heads/master
2020-03-31T00:16:06.943269
2018-10-05T14:16:12
2018-10-05T14:16:12
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,549
py
from ..factory import Method, Type class stickers(Type): # a list of stickers @stickers List of stickers stickers = None # type: "vector<sticker>" class getStickers(Method): # stickers from the installed sticker sets that correspond to # given emoji. If the emoji is not empty, favorite # r...
[ "andrew@localhost" ]
andrew@localhost
159c3758b380920b7b9c253c437fa4ad4939b8f9
e8e4bb89c6ce57c038de445091ddebc1c1b6eb26
/DataProcessing_1418merged/CF1_merged_reconstruction.py
207351cab222fb8c1799a14ab3f481dc095780f2
[]
no_license
ilebras/OSNAP
dc7fba846f866ec64edab35a278d2ce6c86e5f97
a5b22026351d2eb8dc4c89e2949be97122936d23
refs/heads/master
2021-05-12T16:46:18.955345
2020-09-08T23:04:23
2020-09-08T23:04:23
117,025,921
0
0
null
null
null
null
UTF-8
Python
false
false
6,880
py
from firstfuncs_1618 import * dat16=xr.open_dataset(datadir+'OSNAP2016recovery/mcat_nc/CF1_2016recovery_dailymerged.nc') dat16_recon=xr.open_dataset(datadir+'OSNAP2016recovery/mcat_nc/CF1_recon_2016recovery_dailymerged.nc') dat18=xr.open_dataset(datadir+'OSNAP2018recovery/mcat_nc/CF1_2018recovery_dailymerged.nc') ...
[ "isabela.lebras@gmail.com" ]
isabela.lebras@gmail.com
0564a1a72dcfd96a4e5f97d467c399d260cf2044
6ba8a0ebb55fee0406da9e4c6784def6391cf61b
/pyartcd/pyartcd/cli.py
62569db660eb11953ff60867489214cead41a104
[ "Apache-2.0" ]
permissive
gabemontero/aos-cd-jobs
a354d680250bf306a90a24ec5023cf203658df59
0208570f5bf14d6f9672da84b0edb6cffaaded92
refs/heads/master
2021-09-28T04:57:13.789002
2021-09-21T09:18:05
2021-09-21T09:18:05
96,802,806
0
0
null
2017-07-10T17:17:20
2017-07-10T17:17:20
null
UTF-8
Python
false
false
2,047
py
import asyncio from functools import update_wrapper import logging from pathlib import Path from typing import Optional import click from pyartcd.runtime import Runtime pass_runtime = click.make_pass_decorator(Runtime) def click_coroutine(f): """ A wrapper to allow to use asyncio with click. https://github...
[ "yuxzhu@redhat.com" ]
yuxzhu@redhat.com
433aa413dbbf3fa57c5763bd7eb0530e55be08f0
830465731dfda87b4141546262f20d74c29297bf
/Games/DagwCTF2020/TakeItBackNow/client0.py
3e577c3492467502cc615738464b2bae91453420
[]
no_license
jchen8tw-research/CTF
f559d7ca0e16a730335b11caeeae208c42e8bf17
f49615c24437a9cc6a2c20d6b30cb5abf7a32b71
refs/heads/master
2023-03-17T12:29:08.630613
2021-03-23T06:31:26
2021-03-23T06:31:26
null
0
0
null
null
null
null
UTF-8
Python
false
false
646
py
# -*- coding: utf-8 -*- """ Created for Spring 2020 CTF Cryptography 0 10 Points Welcome to my sanity check. You'll find this to be fairly easy. The oracle is found at umbccd.io:13370, and your methods are: flg - returns the flag tst - returns the message after the : in "tst:..." @author: pleo...
[ "cpr1014@gmail.com" ]
cpr1014@gmail.com
b542e098a92e72342cb38640aacc06125c27de7f
998610ed0b370c5beb73d908164d07f6f9a692ab
/tachovendo_proj/settings/base.py
2eeb26e276275d69531b6b692436f73ad4a6f279
[]
no_license
loogica/tachovendo_backend
d372f0032cc5ab02883c433cc2ed36467adf85c9
4333a55716df31897eeecb84ffa019456336e010
refs/heads/master
2016-09-06T08:06:07.003269
2013-06-04T01:03:36
2013-06-04T01:03:36
null
0
0
null
null
null
null
UTF-8
Python
false
false
8,111
py
# coding: utf-8 """Common settings and globals.""" import os from os.path import abspath, basename, dirname, join, normpath from sys import argv, path from unipath import Path ########## PATH CONFIGURATION # Absolute filesystem path to the Django project directory: DJANGO_ROOT = dirname(dirname(abspath(__file__)))...
[ "felipecruz@loogica.net" ]
felipecruz@loogica.net
2b17d640e22b95cc5a61021381c03af14f83aee7
a30362e51cb3291daf26d0c62e56c42caeec837f
/python/acmicpc/unsolved/8984.py
e9fc6b9f6e862ee51d73a36e02a12d6bc484c6b5
[]
no_license
TERADA-DANTE/algorithm
03bf52764c6fcdb93d7c8a0ed7a672834f488412
20bdfa1a5a6b9c378e588b17073e77a0126f7339
refs/heads/master
2023-04-14T21:40:11.250022
2023-04-12T13:00:37
2023-04-12T13:00:37
288,335,057
0
0
null
null
null
null
UTF-8
Python
false
false
210
py
import sys input = sys.stdin.readline n, l = list(map(int, input().split())) lines = [list(map(int, input().split())) for _ in range(n)] def solution(n, l, lines): return n, l, lines print(n, l, lines)
[ "55175301+TERADA-DANTE@users.noreply.github.com" ]
55175301+TERADA-DANTE@users.noreply.github.com
3f14475e0c2863c12b7447c7a82f14ad759b824e
a140fe192fd643ce556fa34bf2f84ddbdb97f091
/.history/class맴버변수_20200708170750.py
62351d8c9312e58d87ab4c22a5685c88c76c9c41
[]
no_license
sangha0719/py-practice
826f13cb422ef43992a69f822b9f04c2cb6d4815
6d71ce64bf91cc3bccee81378577d84ba9d9c121
refs/heads/master
2023-03-13T04:40:55.883279
2021-02-25T12:02:04
2021-02-25T12:02:04
342,230,484
0
0
null
null
null
null
UTF-8
Python
false
false
374
py
class Unit: def __init__(self, name, hp, damage): self.name = name self.hp = hp self.damage = damage print("{0} 유닛이 생성 되었습니다.".format(self.name)) print("체력 {0}, 공격력 {1}".format(self.hp, self.damage)) # 레이스 : 공중 유닛, 비행기, 클로킹 (상대방에게 보이지 않음) wraith = Unit
[ "sangha0719@gmail.com" ]
sangha0719@gmail.com
76c6674b3a2fb4f35bd3276d78443a663070b14f
163bbb4e0920dedd5941e3edfb2d8706ba75627d
/Code/CodeRecords/2950/60632/269982.py
e99e3be7a8277b32c3e022c23301da28661ec71a
[]
no_license
AdamZhouSE/pythonHomework
a25c120b03a158d60aaa9fdc5fb203b1bb377a19
ffc5606817a666aa6241cfab27364326f5c066ff
refs/heads/master
2022-11-24T08:05:22.122011
2020-07-28T16:21:24
2020-07-28T16:21:24
259,576,640
2
1
null
null
null
null
UTF-8
Python
false
false
273
py
s = list(input()) if len(s) % 2 == 1: print(-1) else: result = 0 for i in range(len(s)): if s[:i].count('5') > s[:i].count('2'): result = -1 break result = max(s[:1].count('2')-s[:1].count('5'), result) print(result)
[ "1069583789@qq.com" ]
1069583789@qq.com
54a8883bb18ba783ca7d90de1608b104223d1c3f
30dbb8c5a5cce9dfea904924f00a1451abd0c88b
/이분탐색/입국심사.py
d1b435138bd0d7498ccb48efc79bedafab3961ee
[]
no_license
gksrb2656/AlgoPractice
7eac983509de4c5f047a880902253e477f4ca27c
5285479625429b8ef46888c8611dc132924833b7
refs/heads/master
2020-12-22T17:20:33.677147
2020-09-22T16:05:53
2020-09-22T16:05:53
236,872,750
0
0
null
null
null
null
UTF-8
Python
false
false
428
py
def solution(n, times): l = 1 r = max(times)*n answer = 0 while l <= r: mid = (l + r) // 2 flag = 0 people = 0 for t in times: people += mid // t if people >= n: flag = 1 answer = mid break if...
[ "rbcjswkd@gmail.com" ]
rbcjswkd@gmail.com
149a39da8051edd413bd0e53d557532e042ebf01
fc6f0806292263bbfb2055587468df68ab6a950e
/tests/test_mixins.py
dad5938477e9c873a7c71c6b6f343aff1a6fd7b9
[ "Apache-2.0" ]
permissive
WithPrecedent/sourdough
8c0a5cff14c2257162fd1d66bf03a5a53f6a9571
e42f81e5b27b067e13ff17338300e56c23ae4cad
refs/heads/master
2023-03-03T16:23:10.857530
2021-02-10T04:49:57
2021-02-10T04:49:57
261,512,460
0
0
null
null
null
null
UTF-8
Python
false
false
1,898
py
""" test_mixins: unit tests for Component mixins Corey Rayburn Yung <coreyrayburnyung@gmail.com> Copyright 2020-2021, Corey Rayburn Yung License: Apache-2.0 (https://www.apache.org/licenses/LICENSE-2.0) """ import dataclasses import sourdough @dataclasses.dataclass class AComponent( sourdough.Bunch, sourdou...
[ "coreyrayburnyung@gmail.com" ]
coreyrayburnyung@gmail.com
20878697ebaf854f56e4a45f312b2032fba93a2c
ef8c5c55b6ec3971adff9afe2db1f76556b87082
/code_examples/PyKIM/util/convert_coord/test_cart_cs.py
73f53cd89f0df756db61dc64bfb03fbd2688b823
[]
no_license
wbkifun/my_stuff
7007efc94b678234097abf0df9babfbd79dcf0ff
0b5ad5d4d103fd05989b514bca0d5114691f8ff7
refs/heads/master
2020-12-10T22:40:28.532993
2017-11-15T11:39:41
2017-11-15T11:39:41
5,178,225
1
0
null
null
null
null
UTF-8
Python
false
false
4,608
py
import numpy as np from numpy import pi, sin, cos, tan, sqrt from numpy.random import rand, randint from numpy.testing import assert_equal as equal from numpy.testing import assert_array_equal as a_equal from numpy.testing import assert_array_almost_equal as aa_equal from nose.tools import raises, ok_ import sys from ...
[ "kh.kim@kiaps.org" ]
kh.kim@kiaps.org
7ba4723843b10f4bdde50acfefd5f04d1227d875
4344f7d6b3c26e8cb9c666ca0a1dc81d5d484fca
/4-auth/bookshelf/model_cloudsql.py
5ceac779fc83be92f4bf47d5d8bd2c1317916370
[ "Apache-2.0", "LicenseRef-scancode-unknown-license-reference" ]
permissive
dpebot/getting-started-python
5beec5a68738ae47ed4bb642a7f4a119052ee6b6
07ce28b40c9be8555cb8575b83d7ba836b6483f2
refs/heads/master
2020-12-26T04:38:09.399296
2016-08-03T18:16:30
2016-08-03T18:16:30
65,573,255
4
3
null
2016-08-12T17:59:13
2016-08-12T17:59:13
null
UTF-8
Python
false
false
3,043
py
# Copyright 2015 Google Inc. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, ...
[ "jon.wayne.parrott@gmail.com" ]
jon.wayne.parrott@gmail.com
4bf42f64d15e50c0c51bbc1ad46db6a070cd95e2
d5d2ddfb2f6a4d025d0d323d343550d11990674f
/model/scripts/main_mutual_information_MSN.py
d3113bb158c04dbcb81800724706ff0a482a1844
[]
no_license
mickelindahl/dynsyn
5d710fa67d31f344c56c3b853b9d78af1f297fbf
c05a74c0f7dd977742ce55220d12270c03147e0f
refs/heads/master
2021-01-01T05:37:57.452690
2015-02-23T10:16:44
2015-02-23T10:16:44
30,537,438
1
1
null
null
null
null
UTF-8
Python
false
false
6,161
py
import numpy import pylab import os import sys import time as ttime # Get directory where model and code resides model_dir= '/'.join(os.getcwd().split('/')[0:-1]) code_dir= '/'.join(os.getcwd().split('/')[0:-2]) # Add model, code and current directories to python path sys.path.append(os.getcwd()) sys.path...
[ "mickelindahl@gmail.com" ]
mickelindahl@gmail.com
28cd2ba0f453c1e05fbe64bea3586c73a9f79d23
f3bd271bf00325881fb5b2533b9ef7f7448a75ec
/xcp2k/classes/_ic1.py
dfa06f08d6b858b4ef14780d7a8e80c0a989bcb7
[]
no_license
obaica/xcp2k
7f99fc9d494859e16b9b0ea8e217b0493f4b2f59
6e15c2c95658f545102595dc1783f5e03a9e6916
refs/heads/master
2020-07-15T17:27:43.378835
2019-02-11T16:32:24
2019-02-11T16:32:24
null
0
0
null
null
null
null
UTF-8
Python
false
false
849
py
from xcp2k.inputsection import InputSection class _ic1(InputSection): def __init__(self): InputSection.__init__(self) self.Print_ic_list = None self.Eps_dist = None self.Optimize_homo_lumo = None self.Gw_eigenvalues = None self.Gw_eigenvalues_beta = None sel...
[ "xingwang1991@gmail.com" ]
xingwang1991@gmail.com
5f7c905b69a5173153cc985d9e73093dceb5a83f
5c531de5e4759c904e608b4fc653b2b041f79a0e
/Amazon_735. Asteroid Collision.py
6737b4cae3d0689e2f94c48aac92eb951b2c6267
[]
no_license
jianhui-ben/leetcode_python
133c7e6e5c7316d00607ba2e327239e002de28b2
fcc16124cc24a5993e27f5d97e78d8f290e68230
refs/heads/master
2022-06-05T22:32:18.034581
2022-05-17T02:27:11
2022-05-17T02:27:11
250,683,308
0
0
null
null
null
null
UTF-8
Python
false
false
2,407
py
#735. Asteroid Collision #We are given an array asteroids of integers representing asteroids in a row. #For each asteroid, the absolute value represents its size, and the sign represents #its direction (positive meaning right, negative meaning left). Each asteroid moves #at the same speed. #Find out the state of th...
[ "jianhui.ben@gmail.com" ]
jianhui.ben@gmail.com
720fea823a41bf05eb6a14e1f940971f38e10095
e77a3618d0afe63a2f00d87b61c3f19d3eba10d8
/plugins/beebeeto/poc_2014_0149.py
ff203f0727674fb7a8ebff1da4a637af1da4eb49
[]
no_license
Explorer1092/coco
b54e88a527b29209de7c636833ac5d102514291b
15c5aba0972ac68dc4c874ddacf5986af5ac2a64
refs/heads/master
2020-05-31T07:03:19.277209
2019-01-29T14:36:45
2019-01-29T14:36:45
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,184
py
#!/usr/bin/env python # coding=utf-8 """ Site: http://www.beebeeto.com/ Framework: https://github.com/n0tr00t/Beebeeto-framework """ import urllib2 from baseframe import BaseFrame class MyPoc(BaseFrame): poc_info = { # poc相关信息 'poc': { 'id': 'poc-2014-0149', 'name': 'D-L...
[ "834430486@qq.com" ]
834430486@qq.com
21c0cebb2546807a8dd223104a08e5e29d58ec7c
62766deea531d0b89b86a53e6f51b94fd2a88f23
/AtCoder/ABC/131/c.py
fbe2beb18aab0fad58d1c7599493260ae7b68225
[ "MIT" ]
permissive
ttyskg/ProgrammingCompetition
53620b07317ae5cbd1ee06272e573e3682ac15f3
885c5a1be228ae7ba9f00b3d63521c9ff7d21608
refs/heads/master
2023-08-18T08:38:33.068168
2023-08-15T04:28:13
2023-08-15T04:28:13
183,425,786
0
0
MIT
2023-08-15T04:28:14
2019-04-25T12:02:53
Python
UTF-8
Python
false
false
476
py
import sys def gcd(a, b): """Euclidean Algorithm""" while b != 0: a, b = b, a % b return a def lcm(a, b): return (a * b) // gcd(a, b) def main(): input = sys.stdin.readline A, B, C, D = map(int, input().split()) E = lcm(C, D) total = B - (A-1) mul_c = B // C - (A-1) // ...
[ "tatsu100311@gmail.com" ]
tatsu100311@gmail.com
889b22757513884a8c6c50f0b76bbe2c55a22845
b515ebbe9b259cf8cc11bae3eb2cd9094d9dac80
/tests/integration/test_base.py
09c270270007ae701dc6d64c0735eb0fe39714a5
[ "MIT", "Python-2.0" ]
permissive
cambiumproject/python-quickbooks
a234e29555e37399f53a9909cf4c3cf61e9e7bc1
06110a4a88bb47b2e6349a193908c083d506dde1
refs/heads/master
2023-08-07T20:15:14.600671
2021-07-20T21:53:59
2021-07-20T21:53:59
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,335
py
import os from unittest import TestCase from intuitlib.client import AuthClient from quickbooks.client import QuickBooks, Environments class QuickbooksTestCase(TestCase): def setUp(self): super(QuickbooksTestCase, self).setUp() self.auth_client = AuthClient( client_id=os.environ.get(...
[ "edward.emanuel@gmail.com" ]
edward.emanuel@gmail.com
843d5c4d45fddd036ed5fa1783b168dbde9b6640
52b5773617a1b972a905de4d692540d26ff74926
/.history/binary_20200524140021.py
cad576ae530c25621bd03b09d3d763a13dba320b
[]
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,207
py
def solution(N): print(N) maximumCount = 0 well = format(9,"b") print("wow",well) # while( N >= 1): # N = int(N / 2) # # print("this",N) # print("N",N/2,"well",N%2) # if N % 2 == 0 : # binaryNumber.append(0) # else: # ...
[ "mary.jereh@gmail.com" ]
mary.jereh@gmail.com
efd20d62075642d05d33586f9a2f19037598aa02
ee41311a11a1c6baedafd9a914d5a1f8330fe8a9
/SANEF_LIVE/venv/Lib/site-packages/skimage/segmentation/slic_superpixels.py
b196dbffc726dfb4cbf2e1da2a6e255d3901f1ec
[]
no_license
sethnanati/CodeRepoPython
2dffb7263620bd905bf694f348485d894a9513db
b55e66611d19b35e9926d1b1387320cf48e177c8
refs/heads/master
2023-07-07T11:16:12.958401
2021-02-13T10:09:48
2021-02-13T10:09:48
376,531,283
0
0
null
null
null
null
UTF-8
Python
false
false
7,799
py
# coding=utf-8 from __future__ import division import collections as coll import numpy as np from scipy import ndimage as ndi from ..util import img_as_float, regular_grid from ..segmentation._slic import (_slic_cython, _enforce_label_connectivity_cython) from ..color impor...
[ "adeyemiadenuga@gmail.com" ]
adeyemiadenuga@gmail.com
0a20a0a7c7b6b3c688405d2ef7bcee0b30ed230f
ee3e0a69093e82deff1bddf607f6ce0dde372c48
/coding_test/카카오 인턴/num_4.py
226a287c788a6bf68f50fcecbe70e1a4d17bfa7e
[]
no_license
cndqjacndqja/algorithm_python
202f9990ea367629aecdd14304201eb6fa2aa37e
843269cdf8fb9d4c215c92a97fc2d007a8f96699
refs/heads/master
2023-06-24T08:12:29.639424
2021-07-24T05:08:46
2021-07-24T05:08:46
255,552,956
0
0
null
null
null
null
UTF-8
Python
false
false
647
py
from heapq import heappush, heappop INF = int(1e9) def solution(n, start, end, roads, traps): data = [[] for _ in range(n+1)] for i in roads: a, b, c = i data[a].append((b, c)) def dijkstra(start, end, n, data): distance = [INF for _ in range(n+1)] distance[start] = 0 q = [] ...
[ "cndqjacndqja@gmail.com" ]
cndqjacndqja@gmail.com
4489ddbba60f18b2f96f68362668c0918617c6d0
e96cc817c768915eeff46027ded14e759e8042ff
/Python基础/字符串/判断.py
a08d4cb40f7a539f93ede6b04ae4724cf9c0e573
[]
no_license
fovegage/learn-python
e22a32207cf513ba0f8c3428e9c00138987c2359
93b8d3513769a0b7d492a7b515f289fe3f1efc4a
refs/heads/master
2023-06-08T13:44:57.274677
2023-05-29T05:52:35
2023-05-29T05:52:35
148,493,932
6
0
null
null
null
null
UTF-8
Python
false
false
1,187
py
# -*- coding: utf-8 -*- # @Time : 2018/12/27 14:45 # @Author : fovegage # @Email : fovegage@gmail.com # @File : 判断.py # @Software: PyCharm # islower 仅对字母判断 str = 'hello' print(str.islower()) # isalnum() 判断是否由数字和字母组成 str = 'jjjssss22' print(str.isalnum()) # isalpha() 判断只有字母 26个字母以外均报错 ...
[ "fovegage@gmail.com" ]
fovegage@gmail.com
de75179eb73337e3b223f1e9b50d70bc2438f591
b2d2ce1752ec5ea39b70ae37551bc162a748b469
/tests/unit/pypyraws/version_test.py
4ec7ddabcd59da582daa199da4ef6a25a4c6a7b9
[ "Apache-2.0" ]
permissive
AvdN/pypyr-aws
05c28abb904e2f71a0fbdaacaeaf20b458f97c52
96477b2deb46b6db73fa6d64f1350991dd378c31
refs/heads/master
2021-01-24T06:46:41.130069
2017-06-02T15:03:15
2017-06-02T15:03:15
93,318,585
0
0
null
2017-06-04T14:23:52
2017-06-04T14:23:52
null
UTF-8
Python
false
false
319
py
"""version.py unit tests.""" import pypyraws.version import platform def test_get_version(): actual = pypyraws.version.get_version() expected = (f'pypyraws {pypyraws.version.__version__} ' f'python {platform.python_version()}') assert actual == expected, "version not returning correctly"
[ "thomas@345.systems" ]
thomas@345.systems
da5e68cfc1a7005a1e829bc6a913fac6fd2f1f7d
1e263d605d4eaf0fd20f90dd2aa4174574e3ebce
/components/ally-http/ally/http/spec/server.py
6712ab685dee0fe68395d0005537a4483bf101b2
[]
no_license
galiminus/my_liveblog
698f67174753ff30f8c9590935d6562a79ad2cbf
550aa1d0a58fc30aa9faccbfd24c79a0ceb83352
refs/heads/master
2021-05-26T20:03:13.506295
2013-04-23T09:57:53
2013-04-23T09:57:53
null
0
0
null
null
null
null
UTF-8
Python
false
false
4,564
py
''' Created on Jun 1, 2012 @package: ally http @copyright: 2012 Sourcefabric o.p.s. @license: http://www.gnu.org/licenses/gpl-3.0.txt @author: Gabriel Nistor Provides HTTP server specification. ''' from ally.design.context import Context, defines, requires, optional from ally.support.util_io import IInputStream from...
[ "etienne@spillemaeker.com" ]
etienne@spillemaeker.com
db7daaad0a903a177dcefeb07c6912390cdeb411
b5fa959a5a1a6cd1e5027e41ed45b6dfb1c19151
/testapp/tests/test_models.py
63eb981a166d436d958ec9b87a1b3dde0dbd614a
[ "MIT" ]
permissive
Mikekh84/learning-journal
13c8e036620d4286f7e6bf3c1d9df0c5e0d368d8
d0d5af7913790ab895a2fa530aa259cf2934f49b
refs/heads/master
2021-01-17T17:12:15.009156
2016-03-28T02:50:48
2016-03-28T02:50:48
54,362,834
0
1
null
2016-03-28T02:50:48
2016-03-21T05:43:15
Python
UTF-8
Python
false
false
511
py
# -*- coding: utf-8 -*- from testapp.models import Entry, DBSession, render_markdown def test_create_entry(dbtransaction): """Test for a change of state of the model.""" new_model = Entry(title="jill", text='jello') assert new_model.id is None DBSession.add(new_model) DBSession.flush() assert ...
[ "nadia.bahrami@gmail.com" ]
nadia.bahrami@gmail.com
e218ccbde421b4913b280795d031f3fc87789818
15f321878face2af9317363c5f6de1e5ddd9b749
/solutions_python/Problem_199/773.py
30a001a8f7c676f7eb2fe925665c826df0915c48
[]
no_license
dr-dos-ok/Code_Jam_Webscraper
c06fd59870842664cd79c41eb460a09553e1c80a
26a35bf114a3aa30fc4c677ef069d95f41665cc0
refs/heads/master
2020-04-06T08:17:40.938460
2018-10-14T10:12:47
2018-10-14T10:12:47
null
0
0
null
null
null
null
UTF-8
Python
false
false
705
py
# Problem A. Oversized Pancake Flipper import os SOURCE = '%s/../Resources/Q1Al.in' % os.path.dirname(__file__) TARGET = '%s/../Resources/Q1Al.out' % os.path.dirname(__file__) INPUT = open(SOURCE).read().splitlines() OUTPUT = open(TARGET, 'w') T = int(INPUT.pop(0)) for t0 in xrange(T): print >> OUTPUT, 'Case #%...
[ "miliar1732@gmail.com" ]
miliar1732@gmail.com
30bab34cfeff4c18f9f343631ed0cdb6410ae39a
baf3996414315ffb60470c40c7ad797bf4e6897f
/02_ai/1_ml/3_data_preparation/code/chapter_18/02_model_evaluation.py
c6093bdc54ef4415a5811861005577357adb543d
[ "MIT" ]
permissive
thiago-allue/portfolio
8fbbecca7ce232567aebe97c19944f444508b7f4
0acd8253dc7c5150fef9b2d46eead3db83ca42de
refs/heads/main
2023-03-15T22:10:21.109707
2022-09-14T17:04:35
2022-09-14T17:04:35
207,919,073
0
0
null
2019-11-13T18:18:23
2019-09-11T22:40:46
Python
UTF-8
Python
false
false
955
py
# evaluate knn on the raw diabetes dataset from numpy import mean from numpy import std from pandas import read_csv from sklearn.model_selection import cross_val_score from sklearn.model_selection import RepeatedStratifiedKFold from sklearn.neighbors import KNeighborsClassifier from sklearn.preprocessing import LabelEn...
[ "thiago.allue@yahoo.com" ]
thiago.allue@yahoo.com
7bf358f112e3ef7aa77ff185a38d1f372ce35085
163bbb4e0920dedd5941e3edfb2d8706ba75627d
/Code/data_analyze.py
1b53f51941b2a5bab76c5647d28bf9d31e0e44bf
[]
no_license
AdamZhouSE/pythonHomework
a25c120b03a158d60aaa9fdc5fb203b1bb377a19
ffc5606817a666aa6241cfab27364326f5c066ff
refs/heads/master
2022-11-24T08:05:22.122011
2020-07-28T16:21:24
2020-07-28T16:21:24
259,576,640
2
1
null
null
null
null
UTF-8
Python
false
false
3,937
py
""" 数据分析 详细研究过程见研究报告 """ import json import pandas as pd import numpy as np from decimal import Decimal pd.set_option('display.unicode.ambiguous_as_wide', True) pd.set_option('display.unicode.east_asian_width', True) def save_as_file(data: dict, filename): with open(filename, 'w', encoding='utf-8')as json_file:...
[ "1069583789@qq.com" ]
1069583789@qq.com
c7f5f003abb3040b1524784d99a06585be3ae3cc
5afd733a5c1f753601c69b8b4eae1b49edfbae7c
/1-100/26.py
fa36e700d0e1f5ab060ef83dfb14183c587f6ef8
[]
no_license
yanbinbi/leetcode
9dcd4a0160be915006455b83d6b7cd39e9819811
616a868bfa7bdd00195067b0477b0236a72d23e0
refs/heads/master
2021-05-13T19:34:17.222576
2017-11-12T02:04:31
2017-11-12T02:04:31
null
0
0
null
null
null
null
UTF-8
Python
false
false
391
py
class Solution(object): def removeDuplicates(self, nums): """ :type nums: List[int] :rtype: int """ size = len(nums) if size == 0: return 0 j = 0 for i in range(1,size): if nums[i] > nums[j]: j += 1 ...
[ "xukaifeng1986@gmail.com" ]
xukaifeng1986@gmail.com
aa034bd935af2335c3c1651436ae7001c1fde500
a4525c981552117dabdf5f952ced15997199da32
/ask-smapi-model/ask_smapi_model/v1/skill/interaction_model/model_type/slot_type_definition_output.py
5a60b84255908d1a8d2553d4ce4a24b9d61f9ea7
[ "Apache-2.0" ]
permissive
muskanmahajan37/alexa-apis-for-python
29b3b8e45bb009fa56ba0a2a73ed2f50efe77f65
8e0c90a3031f5afd8a2e62d19b51fe392e7da1af
refs/heads/master
2022-11-09T01:14:58.947495
2020-06-25T17:33:19
2020-06-25T17:33:19
null
0
0
null
null
null
null
UTF-8
Python
false
false
3,919
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
46b7f2b1be3242b3a9fd4117a6a4d2ec15eabc2a
7cb646a87705156e9d6e0b651df4c0a90a99947b
/phy/io/mock/kwik.py
eed05ce223d2cfe13a1c77dd59cf3e8a4654db4d
[]
no_license
cgestes/phy
1339b8ce46ac076129496745c23d87bfc73e6407
8bb7b9377e6376dce46ef123ccc97ecf3671fb15
refs/heads/master
2021-01-18T10:21:35.785483
2015-04-16T11:42:39
2015-04-16T13:51:57
30,656,835
0
0
null
null
null
null
UTF-8
Python
false
false
5,009
py
# -*- coding: utf-8 -*- """Mock Kwik files.""" #------------------------------------------------------------------------------ # Imports #------------------------------------------------------------------------------ import os.path as op import numpy as np from ...io.mock.artificial import (artificial_spike_sample...
[ "cyrille.rossant@gmail.com" ]
cyrille.rossant@gmail.com
c72670766922c59f54f1e38c3251a93c3d29440e
8ed4bf9fbead471c9e5f88e4d18ac432ec3d628b
/hackerrank/algorithm/string/reduced_string.py
0fec6e1adc81c9b8b46f35b176b59a2b2e96024b
[]
no_license
hizbul25/programming_problem
9bf26e49ed5bb8c9c829d00e765c9401222fb35c
2acca363704b993ffe5f6c2b00f81a4f4eca7204
refs/heads/master
2021-01-10T22:28:26.105787
2018-01-21T16:45:45
2018-01-21T16:45:45
65,394,734
1
0
null
null
null
null
UTF-8
Python
false
false
270
py
# URL: https://www.hackerrank.com/challenges/reduced-string s = input() stack = [] for i in range(len(s)): if not stack or s[i] != stack[-1]: stack += [s[i]] else: stack.pop() if stack: print(''.join(stack)) else: print('Empty String')
[ "hizbul.ku@gmail.com" ]
hizbul.ku@gmail.com
c2f63be45f8a4ef6445fb0981f9ae21611bb6d46
82b946da326148a3c1c1f687f96c0da165bb2c15
/sdk/python/pulumi_azure_native/web/v20181101/get_web_app_swift_virtual_network_connection_slot.py
5279f9e04c7689c8359817ea2659e83821fa878c
[ "BSD-3-Clause", "Apache-2.0" ]
permissive
morrell/pulumi-azure-native
3916e978382366607f3df0a669f24cb16293ff5e
cd3ba4b9cb08c5e1df7674c1c71695b80e443f08
refs/heads/master
2023-06-20T19:37:05.414924
2021-07-19T20:57:53
2021-07-19T20:57:53
387,815,163
0
0
Apache-2.0
2021-07-20T14:18:29
2021-07-20T14:18:28
null
UTF-8
Python
false
false
5,220
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 __...
[ "noreply@github.com" ]
morrell.noreply@github.com
e2daa17da7418fb80cec9ab0745d804c304546ab
fee71dd79c16f8e4aa4be46aa25863a3e8539a51
/ear/core/delay.py
58999508e96ec84140b7be0b2066bb0c4deb9373
[ "BSD-3-Clause-Clear" ]
permissive
ebu/ebu_adm_renderer
d004ed857b3004c9de336426f402654779a0eaf8
ef2189021203101eab323e1eccdd2527b32a5024
refs/heads/master
2023-08-09T09:13:06.626698
2022-12-07T12:22:39
2022-12-07T12:22:39
123,921,945
61
13
BSD-3-Clause-Clear
2023-08-30T17:17:05
2018-03-05T13:15:36
Python
UTF-8
Python
false
false
1,676
py
import numpy as np class Delay(object): """Multi-channel delay line. Parameters: nchannels (int): number of channels to process delay (int): number of samples to delay by """ def __init__(self, nchannels, delay): assert delay >= 0 self.delaymem = np.zeros((delay, ncha...
[ "tom@tomn.co.uk" ]
tom@tomn.co.uk
42803d5018e53b70b319b1d8fc3cfa2d380118f7
b8d2f095a4b7ea567ccc61ee318ba879318eec3d
/数组 Array/228. 汇总区间.py
2459ae5ea8ae5dd79af2263fa4cdbfdda2c61f89
[]
no_license
f1amingo/leetcode-python
a3ef78727ae696fe2e94896258cfba1b7d58b1e3
b365ba85036e51f7a9e018767914ef22314a6780
refs/heads/master
2021-11-10T16:19:27.603342
2021-09-17T03:12:59
2021-09-17T03:12:59
205,813,698
1
0
null
null
null
null
UTF-8
Python
false
false
971
py
from typing import List class Solution: def summaryRanges(self, nums: List[int]) -> List[str]: if not nums: return [] ans = [] lt, rt = nums[0], None for i in range(len(nums) - 1): if nums[i + 1] - nums[i] == 1: # if t is None 和 if...
[ "zsjperiod@foxmail.com" ]
zsjperiod@foxmail.com
2ec9d717282626becf58a398a994ec197e90f564
55c250525bd7198ac905b1f2f86d16a44f73e03a
/Python/Kivy/python-for-android/pythonforandroid/recipes/ffpyplayer_codecs/__init__.py
599d8d30207ce572fac347c18e6677d753b80e58
[ "MIT" ]
permissive
NateWeiler/Resources
213d18ba86f7cc9d845741b8571b9e2c2c6be916
bd4a8a82a3e83a381c97d19e5df42cbababfc66c
refs/heads/master
2023-09-03T17:50:31.937137
2023-08-28T23:50:57
2023-08-28T23:50:57
267,368,545
2
1
null
2022-09-08T15:20:18
2020-05-27T16:18:17
null
UTF-8
Python
false
false
128
py
version https://git-lfs.github.com/spec/v1 oid sha256:d196a4f300350342824820ae06ebac62968d8b22ad0fd350043b298a302af005 size 206
[ "nateweiler84@gmail.com" ]
nateweiler84@gmail.com
235d72234d9d44c9e16f8a005e6726574387a789
a689a72d3699883d7b58bd4ee3103373270bd0d5
/BOJ/Python/BOJ17135.py
5ecf7f7b4bd365d3f602a3d3ca99da2cd2830899
[]
no_license
Oizys18/Algo
4670748c850dc9472b6cfb9f828a3ccad9c18981
45caafe22a8a8c9134e4ff3b227f5f0be94eefe7
refs/heads/master
2022-05-11T08:35:06.812539
2022-05-07T01:30:41
2022-05-07T01:30:41
202,690,024
4
1
null
null
null
null
UTF-8
Python
false
false
1,722
py
# 캐슬 디펜스 from pprint import pprint as pp import collections import itertools import copy N, M, D = map(int, input().split()) mat = [[*map(int, input().split())] for _ in range(N)] + [[0]*M] archers = [0]*M def isMap(x, y): if 0 <= x < N + 2 and 0 <= y < M: return True else: return False def...
[ "oizys18@gmail.com" ]
oizys18@gmail.com
98f5a7d9ab4b3f578ce6948bda3f56af31438973
eb42558f56fdb41526cc31ac4ef3a6937bf39e96
/ConfigDefinitions/UserConfigs/SMHTT_2017_MCOnly_AntiIso_Configs_Deep/WConfig.py
c3c70830e40ca4f509cffad86bf361a53146d0bb
[]
no_license
samhiggie/Jesterworks
6906b042d3e200efb9bd10b70284ccd30661aa53
562e8cbb20d7e4b1d5b9bdba3715578cc66f097d
refs/heads/master
2020-09-11T19:35:59.770456
2019-11-16T12:37:35
2019-11-16T12:37:35
null
0
0
null
null
null
null
UTF-8
Python
false
false
967
py
from ConfigDefinitions.JesterworksConfigurations import JesterworksConfiguration as Config from ConfigDefinitions.BranchAdditions.UserDefinedCollections.SMHTT_2017_MC_Data_Collection import MC_Data_Collection as BranchCollection from ConfigDefinitions.CuttingDefinitions.UserCutConfigs.SMHTT2017Cuts_MC_AntiIso_wDeep im...
[ "aloelige@cern.ch" ]
aloelige@cern.ch
109a0b28a419817d509d6d4ce27db19a8f90c3ad
235fcd12177715b51f26715befb7cb1909f27126
/sleep_control/experiments/arxiv/experiment_QNN_Jan31_2249_LSTM.py
ad1ee787afca6d41b7db4289cd35014ed9d60009
[]
no_license
xiaogaogaoxiao/dqn4wirelesscontrol
1d165977f01e263735865e2b6daeed51c4288b01
68c2c485e64cef260c0dcb3975a88af4fae97283
refs/heads/master
2020-06-16T17:05:45.038089
2017-02-10T07:30:12
2017-02-10T07:30:12
null
0
0
null
null
null
null
UTF-8
Python
false
false
6,160
py
# System built-in modules import time from datetime import datetime import sys import os from multiprocessing import Pool project_dir = "../../" log_file_name = "msg_QNN_Jan31_2249_LSTM_{}.log".format(sys.argv[1]) sys.path.append(project_dir) sys_stdout = sys.stdout # Project dependency modules import pandas as pd pd...
[ "liujingchu@gmail.com" ]
liujingchu@gmail.com
8ff0c8e47e574a3a1e3a5c08bcb4cd992a48c23a
7fbf91c595f3adb67e29ab879a0b215581d260bf
/知识点/04-LiaoXueFeng-master/55-urllib.py
f613e42c3282f9ecbfdeb46685e8f672b48fb8c8
[]
no_license
Randyedu/python
69947b3836e62d0081d92591ae2acd9a54eadb9a
5f9e7bec295ae05eadde0f661e7039c2bd08f725
refs/heads/master
2021-04-26T22:20:22.555128
2018-03-02T07:01:27
2018-03-02T07:01:27
124,074,741
1
0
null
2018-03-06T12:23:42
2018-03-06T12:23:42
null
UTF-8
Python
false
false
4,701
py
''' urllib urllib提供了一系列用于操作URL的功能。 urllib提供的功能就是利用程序去执行各种HTTP请求。如果要模拟浏览器完成特定功能,需要把请求伪装成浏览器。伪装的方法是先监控浏览器发出的请求,再根据浏览器的请求头来伪装,User-Agent头就是用来标识浏览器的。 ''' ''' Get urllib的request模块可以非常方便地抓取URL内容,也就是发送一个GET请求到指定的页面,然后返回HTTP的响应: ''' ''' # 对网页进行抓取,并返回响应: from urllib import request url = 'https://api.douban.com/v2/book/2129...
[ "954950195@qq.com" ]
954950195@qq.com
09ea107626a3b50a80e9b2624651b464bff260df
162e0e4791188bd44f6ce5225ff3b1f0b1aa0b0d
/examples/ensemble/plot_gradient_boosting_regularization.py
30116b2be102df536f491dab433fc757a2c46506
[]
no_license
testsleeekGithub/trex
2af21fa95f9372f153dbe91941a93937480f4e2f
9d27a9b44d814ede3996a37365d63814214260ae
refs/heads/master
2020-08-01T11:47:43.926750
2019-11-06T06:47:19
2019-11-06T06:47:19
210,987,245
1
0
null
null
null
null
UTF-8
Python
false
false
2,842
py
""" ================================ Gradient Boosting regularization ================================ Illustration of the effect of different regularization strategies for Gradient Boosting. The example is taken from Hastie et al 2009 [1]_. The loss function used is binomial deviance. Regularization via shrinkage (`...
[ "shkolanovaya@gmail.com" ]
shkolanovaya@gmail.com
2c1206ff3140a312e6079a06ddf7380a15553501
009c1088e42cd50591946f736c30c0bad6db851b
/netmiko/ssh_exception.py
ad9e728ba282388faa4e5286d0a8f5df8748ee36
[ "MIT" ]
permissive
hellt/netmiko
812501b0651db920ac07e09132651eee7bdd4794
f7ff5e6278acaecff7583518cc97bd945fceddc3
refs/heads/master
2021-01-18T12:45:01.751466
2016-11-18T23:30:44
2016-11-18T23:30:44
38,681,423
2
0
null
2015-07-07T10:44:21
2015-07-07T10:44:20
Python
UTF-8
Python
false
false
380
py
from paramiko.ssh_exception import SSHException from paramiko.ssh_exception import AuthenticationException class NetMikoTimeoutException(SSHException): """SSH session timed trying to connect to the device.""" pass class NetMikoAuthenticationException(AuthenticationException): """SSH authentication excep...
[ "ktbyers@twb-tech.com" ]
ktbyers@twb-tech.com
115a5f4de9b5a815764712b22925f2dff071cb0c
acef5161a1eeb107b116f9763114bb9f77d701b4
/pytorch/深度学习之PyTorch入门/廖星宇教程/14_googlenet.py
92ed042f6f1974bc2acbf433b857c3b0917fb789
[]
no_license
lingxiao00/PyTorch_Tutorials
aadb68582edbaa093ab200724c670b36763156b7
285bcfb0c60860e47343485daeb54947cd715f97
refs/heads/master
2021-10-20T16:56:21.275740
2019-03-01T02:46:42
2019-03-01T02:46:42
null
0
0
null
null
null
null
UTF-8
Python
false
false
5,188
py
#!/usr/bin/env python # -*- coding: utf-8 -*- # @Date : 2018-12-25 09:07:53 # @Author : cdl (1217096231@qq.com) # @Link : https://github.com/cdlwhm1217096231/python3_spider # @Version : $Id$ import torch import torchvision import torch.nn.functional as F from torch.autograd import Variable from torchvision.data...
[ "1217096231@qq.com" ]
1217096231@qq.com
1d32e1151eba68baf6a8345f309bbe74e4e2f45e
3cb59da879c7865dd6ddb246b7ea92d5a71cb838
/documentation/book/src/conf.py
da1eca7ba63789d464e1cc8f1721a2ecc13e5f7b
[]
no_license
iNarcissuss/Cuckoodroid-1
9110be112f45327ffe8a74b2216fe8ad6a153485
0170c52aa9536ffc5b8391190dec892c9bd7ba0b
refs/heads/master
2020-04-07T08:53:28.011215
2018-06-17T22:25:29
2018-06-17T22:30:04
null
0
0
null
null
null
null
UTF-8
Python
false
false
7,078
py
# -*- coding: utf-8 -*- # # Cuckoo Sandbox documentation build configuration file. # # 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 # autogenerated file. # # All configuration values have a default; values that are...
[ "upgautam@ualr.edu" ]
upgautam@ualr.edu
9e204b2a44c4a6faeafac15f08663c30bceeb24e
53784d3746eccb6d8fca540be9087a12f3713d1c
/res/packages/scripts/scripts/client/gui/prb_control/entities/random/squad/actions_handler.py
5f596563a646d6a33336b7a766a43818fd80f3e2
[]
no_license
webiumsk/WOT-0.9.17.1-CT
736666d53cbd0da6745b970e90a8bac6ea80813d
d7c3cf340ae40318933e7205bf9a17c7e53bac52
refs/heads/master
2021-01-09T06:00:33.898009
2017-02-03T21:40:17
2017-02-03T21:40:17
80,870,824
0
0
null
null
null
null
WINDOWS-1250
Python
false
false
3,310
py
# 2017.02.03 21:48:45 Střední Evropa (běžný čas) # Embedded file name: scripts/client/gui/prb_control/entities/random/squad/actions_handler.py from CurrentVehicle import g_currentVehicle from constants import MIN_VEHICLE_LEVEL, MAX_VEHICLE_LEVEL from gui import DialogsInterface from gui.Scaleform.daapi.view.dialogs imp...
[ "info@webium.sk" ]
info@webium.sk
94f99e7b82a5ec22f9c330c1c3424c80ddffd340
68cf7c25bb614883c50d21e5051fbea8dbf18ccb
/ecommercejockey/premier/migrations/0004_premiermanufacturer_is_relevant.py
7fffb9a4c92c2468f267399e76f0273e040662dc
[ "MIT" ]
permissive
anniethiessen/ecommerce-jockey
63bf5af6212a46742dee98d816d0bc2cdb411708
9268b72553845a4650cdfe7c88b398db3cf92258
refs/heads/master
2022-12-14T02:29:25.140796
2021-05-15T01:20:30
2021-05-15T01:20:30
211,400,595
1
1
MIT
2022-12-08T06:45:40
2019-09-27T20:57:19
Python
UTF-8
Python
false
false
420
py
# Generated by Django 2.2.5 on 2019-10-24 21:49 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('premier', '0003_premierproduct_vendor_part_number'), ] operations = [ migrations.AddField( model_name='premiermanufacturer', ...
[ "anniethiessen79@gmail.com" ]
anniethiessen79@gmail.com
91ee91326e2c26dfbfda3d24dd84086ee64b226b
bfc25f1ad7bfe061b57cfab82aba9d0af1453491
/data/external/repositories/124701/kaggle-bike-sharing-demand-master/support_vector_regression.py
759c9ec148be5704e863f8be68bcb9bf1a95db7a
[ "MIT" ]
permissive
Keesiu/meta-kaggle
77d134620ebce530d183467202cf45639d9c6ff2
87de739aba2399fd31072ee81b391f9b7a63f540
refs/heads/master
2020-03-28T00:23:10.584151
2018-12-20T19:09:50
2018-12-20T19:09:50
147,406,338
0
1
null
null
null
null
UTF-8
Python
false
false
2,644
py
# Kaggle Bike Sharing Demand # Joey L. Maalouf # Approach: Support Vector Regression # -- import any necessary modules ---------------------------------------------- import csv from sklearn.svm import SVR # from sklearn.grid_search import GridSearchCV # -- define our functions ---------------------------------------...
[ "keesiu.wong@gmail.com" ]
keesiu.wong@gmail.com
6b6a068af11269018cfc37811340df981f155484
760c354ab910fb9ad5f1ea44221e1dc724f1108b
/tests/test_extrusion_stiffness.py
8b49218dfee3067009ce6ae4e0e2c5320fc400a6
[ "MIT" ]
permissive
yijiangh/assembly_instances
dabeafc7c5fc8b8b2b9ce7003ab493ad0f421db8
b97a4924d9998b64815c692cada85f4f595e023f
refs/heads/master
2021-06-13T13:27:27.579912
2020-01-30T02:40:51
2020-01-30T02:40:51
174,738,145
3
0
null
null
null
null
UTF-8
Python
false
false
2,286
py
import os import pytest import numpy as np from pyconmech import StiffnessChecker @pytest.fixture def stiffness_tol(): trans_tol = 0.0015 rot_tol = 5 * np.pi / 180 return trans_tol, rot_tol @pytest.fixture def known_failure(): return ['klein_bottle_trail.json', 'rotated_dented_cube.json'] def create_...
[ "yijiangh@mit.edu" ]
yijiangh@mit.edu
5b641a6aa3fe121f56f85194dd5c3617d7814729
e2220b78a968d8bff21061bdf67b027d933bb2be
/rentoMojo/rentoMojo/asgi.py
5399867dc8911d3da9c3bd8daa85d9e095910552
[]
no_license
amannvl/rentoMojo
eab2ed103ed32e9e81424093571019160d9c49c0
0f4f0076f00ccd7178f42dee0081ee0d58027874
refs/heads/master
2023-03-08T10:24:44.339962
2021-02-20T09:48:30
2021-02-20T09:48:30
340,601,344
0
0
null
null
null
null
UTF-8
Python
false
false
395
py
""" ASGI config for rentoMojo project. It exposes the ASGI callable as a module-level variable named ``application``. For more information on this file, see https://docs.djangoproject.com/en/3.1/howto/deployment/asgi/ """ import os from django.core.asgi import get_asgi_application os.environ.setdefault('DJANGO_SET...
[ "Your-Email" ]
Your-Email
d7eaedaf350f3b86d019a17c881535f17a757277
7b1de4a2607e3125b719c499a05bf6e2d3ec532d
/design_patterns/Command/ex2/actions.py
12e98f5164f5d62f49fffacf1ac797ab96234447
[]
no_license
ganqzz/sandbox_py
61345ac7bddb09081e02decb78507daa3030c1e8
cc9e1ecca2ca99f350a3e2c3f51bbdb5eabc60e1
refs/heads/master
2022-12-01T21:54:38.461718
2021-09-04T03:47:14
2021-09-04T03:47:14
125,375,767
0
1
null
2023-04-16T00:55:51
2018-03-15T14:00:47
Python
UTF-8
Python
false
false
599
py
# Receiver classes class Appliance(object): def __init__(self, name): self._name = name def on(self): print('%s has been turned on.' % self._name) def off(self): print('%s has been turned off.' % self._name) class Door(object): def __init__(self, name): self.name = ...
[ "ganqzz@users.noreply.github.com" ]
ganqzz@users.noreply.github.com
41a9e2c99011225acf96d6969a1bfc6ac8265ef4
837c1bd7e021f071fbee78e2e4c7c27695ff62db
/meiduo_lianxi/apps/areas/migrations/0001_initial.py
9296f6f3a0d7380538a93604e5129fed0e6b4aa4
[ "MIT" ]
permissive
Wang-TaoTao/lianxiku
0ae87b3db98e9f869a2a9901c24da80ccb63fe6f
0f58b6859b4dcd4e81d8f7c4f67be68f245811cc
refs/heads/master
2020-07-06T01:21:59.869064
2019-09-16T16:05:24
2019-09-16T16:05:24
202,844,338
0
0
null
null
null
null
UTF-8
Python
false
false
968
py
# -*- coding: utf-8 -*- # Generated by Django 1.11.11 on 2019-08-23 09:00 from __future__ import unicode_literals from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): initial = True dependencies = [ ] operations = [ migrations.Cre...
[ "xwp_fullstack@163.com" ]
xwp_fullstack@163.com
47f5d95e1f02be15883f5396f1c1136658fc91af
8660f77e77948f7646e2f0e4e46b46c0c7b318c5
/examples/ps-simulator.py
1e61d5fc5c05526a910c34ea8942a6492baf3424
[]
no_license
ajoubertza/icalepcs-workshop
b6c227c4e6f79181222c40a9c505d3c41a8d068f
06ff925fe4724a71c17bbd193e3387884a919e51
refs/heads/gh-pages
2020-08-03T09:28:09.959380
2019-10-06T01:04:06
2019-10-06T01:04:06
211,702,036
1
1
null
2019-10-05T16:28:27
2019-09-29T17:45:48
HTML
UTF-8
Python
false
false
3,665
py
#!/usr/bin/env python3 import time import random import logging import gevent.server DEFAULT_BIND = '' DEFAULT_PORT = 45000 class Attr: def __init__(self, *, initial_value=0., encode=lambda x: bytes(str(x), 'ascii'), decode=float): self.value = initial_value self...
[ "coutinhotiago@gmail.com" ]
coutinhotiago@gmail.com
4672862d3327093a2d281b7b1a5b7c8ee31255f7
fafbddf21e669a20e3329d85f8edb06fb03d5a82
/wp2txt2json_run.py
fd6589378173f0054d69a1acae25e2572e872c3d
[]
no_license
quesada/runs-gensim
07e188ca971d9734989c1981f297f00d7813eedc
aae75cc3188b99bd571fe7bbef008ac94bf3918a
refs/heads/master
2020-06-05T00:46:10.856429
2011-09-01T19:14:35
2011-09-01T19:14:35
1,306,724
0
1
null
null
null
null
UTF-8
Python
false
false
2,042
py
#!/usr/bin/env python # encoding: utf-8 """ wp2txt2json.py Created by Stephan Gabler on 2011-06-09. Copyright (c) 2011 __MyCompanyName__. All rights reserved. """ from os import path import codecs import glob import json import os import re import sys import time import tools def main(param_file=None): # setup...
[ "stephan.gabler@gmail.com" ]
stephan.gabler@gmail.com
4279424d2d636b5183bcdaca92e5e30219f6fbc4
0a9949a7dbe5f7d70028b22779b3821c62eb6510
/static/rice/tools.py
542ed77243cfdf7ef84167c7dd93f31ce1e57930
[]
no_license
744996162/warehouse
ed34f251addb9438a783945b6eed5eabe18ef5a2
3efd299a59a0703a1a092c58a6f7dc2564b92e4d
refs/heads/master
2020-06-04T22:10:14.727156
2015-07-03T09:40:09
2015-07-03T09:40:09
35,603,929
0
0
null
null
null
null
UTF-8
Python
false
false
5,322
py
#ecoding=utf-8 __author__ = 'Administrator' import os import xlwt import smtplib from email.mime.text import MIMEText from email.mime.multipart import MIMEMultipart from email.mime.application import MIMEApplication import datetime from email.mime.image import MIMEImage # import sys # reload(sys) # sys.setdefaultencod...
[ "744996162@qq.com" ]
744996162@qq.com
7d35d105cdd8d6255538d78fb8262fabfedcd14f
1e17cce2124d772871eaa7086a37e98b5af14adf
/Alphabets/Q.py
59937c56bc6e491340c16d5360de8e91efd68e2d
[]
no_license
venukumarbv/PythonPatternPrinting
b5e62e23ac2e9d929a74f5b58a42116f27163889
3318907b8e930ada6e367cc04a0b6e314666ec24
refs/heads/master
2022-12-23T02:02:18.793081
2020-07-03T07:21:23
2020-07-03T07:21:23
276,833,884
0
1
null
2020-09-30T19:44:18
2020-07-03T07:14:53
Python
UTF-8
Python
false
false
508
py
''' * * * * * * * * * * * * * * * * * * * ''' for row in range(7): for col in range(5): if row in {0, 6} and col in {1, 2, 3}: print('*', end=' ') elif row in range(1,6) and col in {0, 4}: print('*', end=' ') elif (row == 4 and col == 2) ...
[ "VKvision@venu.com" ]
VKvision@venu.com
6f349d3c153769bb6bfa800268372e30579abeb6
a82aa8430e32eaf62df0f44b20afb0e7d50c3d7b
/ippon/tournament/seralizers.py
8c29e4688e49aed3e000d0f5c7bfc44a4784bbeb
[ "MIT" ]
permissive
morynicz/ippon_back
314daac99f79247b749dc46d59a645a6eb840263
dce901bfc649c6f8efbbf0907654e0860606b3e3
refs/heads/master
2022-12-20T23:33:10.898738
2021-10-17T09:25:39
2021-10-17T09:25:39
124,851,931
0
2
MIT
2022-12-08T12:37:26
2018-03-12T07:43:17
Python
UTF-8
Python
false
false
3,502
py
from django.contrib.auth.models import User from rest_framework import serializers from rest_framework.exceptions import ValidationError import ippon.models.player as plm import ippon.models.tournament as tm import ippon.player.serializers as pls class TournamentParticipationSerializer(serializers.ModelSerializer): ...
[ "morynicz@gmail.com" ]
morynicz@gmail.com
a62739539e974b10b70d26d979a69301251dca72
c49590eb7f01df37c8ec5fef00d0ffc7250fa321
/test/test_res_mtf_order_cancel.py
b4faf84610f01187cc9e405cac99e3cb98b887c9
[]
no_license
harshad5498/ks-orderapi-python
373a4b85a56ff97e2367eebd076f67f972e92f51
237da6fc3297c02e85f0fff1a34857aaa4c1d295
refs/heads/master
2022-12-09T19:55:21.938764
2020-09-03T05:22:51
2020-09-03T05:22:51
293,533,651
0
0
null
2020-09-07T13:19:25
2020-09-07T13:19:24
null
UTF-8
Python
false
false
1,481
py
# coding: utf-8 """ KS Trade API's No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 The version of the OpenAPI document: 1.0 Generated by: https://openapi-generator.tech """ from __future__ import absolute_import import unitte...
[ "thebhushanp@gmail.com" ]
thebhushanp@gmail.com
5ffe3a1f93e81e9e2774504dd769dcc13ce6537b
c0c533728e049d41206282bb929bf66aedc1d154
/apps/application/migrations/0011_auto_20180516_0149.py
9ce644b45d34365c8c220b0648d3c407cf6e19b2
[]
no_license
nolan1299/madras
5df425a7796fae71f3c9d6763a06aa08145d50e0
489f6279160622e72fcaf8654ec0c1bed7413fe8
refs/heads/master
2020-03-17T16:30:34.728894
2018-05-25T18:02:13
2018-05-25T18:02:13
133,751,296
0
0
null
2018-05-17T03:03:48
2018-05-17T03:03:48
null
UTF-8
Python
false
false
832
py
# -*- coding: utf-8 -*- # Generated by Django 1.11.5 on 2018-05-16 01:49 from __future__ import unicode_literals from django.db import migrations, models import django.db.models.deletion import django.utils.timezone class Migration(migrations.Migration): dependencies = [ ('application', '0010_resume'), ...
[ "jreinstra@gmail.com" ]
jreinstra@gmail.com
6f8b879786c5c0c3dc31c1641bfe4a723a5afa62
b2cce36e9f7dba3f393ce5a177cd4d03eced094a
/PageObject/me/CollectSwipeDellPage.py
f4c7122b39fce18cf1115b05b2baee5de90966a1
[]
no_license
tachibana814/appium
180192ba0727f4ab0cdfaec54f332ce603e203b4
1f8945f8fa2057a46f2291d03de152af2566ad55
refs/heads/master
2021-08-22T22:34:26.056831
2017-12-01T13:47:57
2017-12-01T13:47:57
null
0
0
null
null
null
null
UTF-8
Python
false
false
4,383
py
from Base.BaseStatistics import countSum, countInfo from Base.BaseYaml import getYam from Base.BaseOperate import OperateElement from Base.BaseElementEnmu import Element as be import re class CollectSwipeDelPage: ''' 滑动删除收藏 isOperate: 操作失败,检查点就失败,kwargs: WebDriver driver, String path(yaml配置参数) ''' ...
[ "284772894@qq.com" ]
284772894@qq.com
ffdf703a0923d7b64e0319499dffc354cf526805
55c250525bd7198ac905b1f2f86d16a44f73e03a
/Python/Scripts/pyinstaller/build/lib/PyInstaller/hooks/hook-dynaconf.py
d8b99ecb1e4dab7a0cca50558645cd76d92825ed
[]
no_license
NateWeiler/Resources
213d18ba86f7cc9d845741b8571b9e2c2c6be916
bd4a8a82a3e83a381c97d19e5df42cbababfc66c
refs/heads/master
2023-09-03T17:50:31.937137
2023-08-28T23:50:57
2023-08-28T23:50:57
267,368,545
2
1
null
2022-09-08T15:20:18
2020-05-27T16:18:17
null
UTF-8
Python
false
false
128
py
version https://git-lfs.github.com/spec/v1 oid sha256:837c53561512a82c5654188db01cd8d6fbe3b2a9eb1608240134ac0b77dda545 size 886
[ "nateweiler84@gmail.com" ]
nateweiler84@gmail.com
2f1a8a7c8912e0d47a5e9ad908e93778deb29aa0
6b7ae49d83c51c298f1ed4e5a8324db7ee393f06
/rms/urls.py
9c10cde55095b8e9e47bb26c15768b2c486c9e7b
[]
no_license
MoTechStore/ma
6837596be92532f613e4b8f2bd91cbcf6daa103d
21a4c63f66681e2b919c8bfcfe3acf12de385205
refs/heads/main
2023-08-22T01:49:22.739313
2021-10-05T10:03:25
2021-10-05T10:03:25
411,613,640
0
0
null
null
null
null
UTF-8
Python
false
false
2,502
py
from django.urls import include, path from . import views from django.contrib import admin from django.contrib.auth import views as auth_views urlpatterns = [ path('', views.ma, name='ma'), path('engine/', views.ai_search, name='engine'), path('rms/', views.index, name='rms'), path('report/', views.dow...
[ "mosesnoel02@gmail.com" ]
mosesnoel02@gmail.com
cd4554e2cfdb845fb82245f7c366f0dfe311f709
3506d8c9a8391be52d24cff54f27537a92a7228c
/HackerRank/Implementation/Picking_Numbers.py
8120850a099a18dbfc581f4ef6b163926e96aed7
[]
no_license
saumya-singh/CodeLab
04ef2c61c516c417c03c6a510e8b5e6e498fbe5d
9371f0d6bd45e5592dae25b50f0d04ba45ae67cf
refs/heads/master
2021-09-12T05:01:17.491312
2018-04-14T19:48:40
2018-04-14T19:48:40
81,596,628
1
0
null
null
null
null
UTF-8
Python
false
false
970
py
#!/bin/python3 #https://www.hackerrank.com/challenges/picking-numbers/problem def pickingNumbers(n, a): dictionary = {} for element in a: value = dictionary.get(element, "None") if value == "None": dictionary[element] = 1 else: dictionary[element] = int(value) +...
[ "saumya.singh0993@gmail.com" ]
saumya.singh0993@gmail.com
d3c4ff20dda9054f73a27d12749f649b646cc97c
0791b310393b0a88ae03e05593abf921e1920951
/resourses/convertui.py
5653855d28da8e3db4670c41f89c569103ed4a0c
[ "MIT" ]
permissive
sashgorokhov-heaven/python-vkontakte-music-gui-old
482ae8f84e43abbc1137f920fe445a67d81522a3
b57d80686d404292a35d9055ba43b0da0e5aaab2
refs/heads/master
2021-06-01T04:30:05.525614
2014-06-24T16:42:08
2014-06-24T16:42:08
20,318,424
0
0
null
null
null
null
UTF-8
Python
false
false
885
py
__author__ = 'sashgorokhov' __email__ = 'sashgorokhov@gmail.com' import os, time os.startfile('convertui.cmd') files = [ r'..\modules\forms\downloadform\ui.py', r'..\modules\forms\mainform\ui.py', r'..\modules\forms\mainform\components\audiolist\components\audiolistitemwidget\ui.py', r'..\modules\form...
[ "sashgorokhov@gmail.com" ]
sashgorokhov@gmail.com
facebbe13610d58711da7060347d0e724d170152
4427916fafe69a32626cb5d8c02bc55c7c87f642
/FortyTwo/plugin.py
df71696ddb0010cbf8d1a2244f0c02d37bdc3f81
[]
no_license
ki113d/Supybot-plugins
13f91f2fe0c01c9769a562e3d480d4f0e7fa8739
0d6b4447004b822acbe41fd7075cc85d8476a289
refs/heads/master
2021-04-15T07:57:27.272322
2012-12-30T21:35:56
2012-12-30T21:35:56
4,077,461
1
0
null
null
null
null
UTF-8
Python
false
false
5,562
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
39f23942de022147dd5876c2b5e9383005d57383
bb970bbe151d7ac48d090d86fe1f02c6ed546f25
/arouse/_dj/utils/_os.py
4f586b4c0305d41a7a7a672366300d62577ff519
[ "Python-2.0", "BSD-3-Clause" ]
permissive
thektulu/arouse
95016b4028c2b8e9b35c5062a175ad04286703b6
97cadf9d17c14adf919660ab19771a17adc6bcea
refs/heads/master
2021-01-13T12:51:15.888494
2017-01-09T21:43:32
2017-01-09T21:43:32
78,466,406
0
0
null
null
null
null
UTF-8
Python
false
false
3,593
py
from __future__ import unicode_literals import os import sys import tempfile from os.path import abspath, dirname, isabs, join, normcase, normpath, sep from arouse._dj.core.exceptions import SuspiciousFileOperation from arouse._dj.utils import six from arouse._dj.utils.encoding import force_text if six.PY2: fs_e...
[ "michal.s.zukowski@gmail.com" ]
michal.s.zukowski@gmail.com
7ea6777f121d25cecdd3df4ad37bc8958faa33f6
f82349a5d9cb285ced7c52db1ce95c65f5fd0cf0
/mars/tensor/execution/optimizes/ne.py
34e7ee8d39dbabd98b8b5eb609277840c853c493
[ "MIT", "BSD-3-Clause", "OFL-1.1", "LicenseRef-scancode-unknown-license-reference", "Python-2.0", "Apache-2.0", "BSD-2-Clause" ]
permissive
pingrunhuang/mars
8d2602356b6f4d9eb7c6dfe4b2c4536b4bdfc229
ae920c374e9844d7426d0cc09c0d97059dc5341c
refs/heads/master
2020-04-17T03:42:11.147774
2019-01-18T06:49:29
2019-01-18T06:49:29
166,196,676
0
0
Apache-2.0
2019-01-17T09:17:25
2019-01-17T09:17:25
null
UTF-8
Python
false
false
4,936
py
#!/usr/bin/env python # -*- coding: utf-8 -*- # Copyright 1999-2018 Alibaba Group Holding Ltd. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-...
[ "xuye.qin@alibaba-inc.com" ]
xuye.qin@alibaba-inc.com
84246ba2dc3ebc23ea5633a69655136b4e07164e
2ada0217e09e02c6d1ab1af6c12c1262eb66ea06
/NTWebsite/migrations/0033_auto_20190518_1729.py
73af9010eb07ba2cb93c8ef71bfd283d8ac97d07
[]
no_license
lianglianggou/Django-Python-NagetiveWeb-Beta
74545d2f19d7a65b974e7b88c06cbe1bae450568
e19175d14541debf59d6ea1223fef54727bd2150
refs/heads/master
2021-01-07T00:43:16.696519
2019-12-12T14:02:13
2019-12-12T14:02:13
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,028
py
# Generated by Django 2.0.6 on 2019-05-18 09:29 from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): dependencies = [ ('NTWebsite', '0032_auto_20190518_1714'), ] operations = [ migrations.AlterField( model_name='com...
[ "616604060@qq.com" ]
616604060@qq.com
53df6c2ebd3e371dd21d207caaa24b7293593289
fa7e75212e9f536eed7a78237a5fa9a4021a206b
/python/smqtk/tests/representation/DataElement/test_DataElement_abstract.py
80492106247f0fbfc59c332c3d5f27c062eb74f8
[]
no_license
kod3r/SMQTK
3d40730c956220a3d9bb02aef65edc8493bbf527
c128e8ca38c679ee37901551f4cc021cc43d00e6
refs/heads/master
2020-12-03T09:12:41.163643
2015-10-19T14:56:55
2015-10-19T14:56:55
44,916,678
1
0
null
2015-10-25T15:47:35
2015-10-25T15:47:35
null
UTF-8
Python
false
false
8,164
py
""" Tests for DataElement abstract interface class methods that provide functionality. """ import hashlib import mock import nose.tools as ntools import os.path as osp import tempfile import unittest import smqtk.representation.data_element __author__ = "paul.tunison@kitware.com" # because this has a stable mimety...
[ "paul.tunison@kitware.com" ]
paul.tunison@kitware.com
e1361bf2b8bd4dd6a0afeb1667b5967a9269d8a3
159d4ae61f4ca91d94e29e769697ff46d11ae4a4
/venv/lib/python3.9/site-packages/jedi/third_party/django-stubs/django-stubs/utils/datastructures.pyi
7b5f7b2d182a86676ef63a639789ad5293c52f11
[ "MIT" ]
permissive
davidycliao/bisCrawler
729db002afe10ae405306b9eed45b782e68eace8
f42281f35b866b52e5860b6a062790ae8147a4a4
refs/heads/main
2023-05-24T00:41:50.224279
2023-01-22T23:17:51
2023-01-22T23:17:51
411,470,732
8
0
MIT
2023-02-09T16:28:24
2021-09-28T23:48:13
Python
UTF-8
Python
false
false
2,624
pyi
from typing import ( Any, Callable, Dict, Iterable, List, Mapping, MutableMapping, MutableSet, Tuple, TypeVar, Union, overload, Iterator, Optional, ) from typing_extensions import Literal _K = TypeVar("_K") _V = TypeVar("_V") class OrderedSet(MutableSet[_K]): ...
[ "davidycliao@gmail.com" ]
davidycliao@gmail.com
d9bd2890dfcfbc0a88d99138185203be8d152d8b
13d8ede6d23ed0a375bbc9310d93be035fd164e9
/InterviewBits/arrays/flip.py
f9d5783e746d6b7c2e6a9d020b5caec7cd947ea2
[]
no_license
iamrishap/PythonBits
192d3fb7bce101485eb81da2153e5b0c82b6872a
dcbc5f087ad78110a98e78dd6e5943ed971309c2
refs/heads/master
2022-03-10T07:16:08.601170
2019-11-17T04:01:00
2019-11-17T04:01:00
206,778,724
0
0
null
null
null
null
UTF-8
Python
false
false
2,038
py
""" You are given a binary string(i.e. with characters 0 and 1) S consisting of characters S1, S2, …, SN. In a single operation, you can choose two indices L and R such that 1 ≤ L ≤ R ≤ N and flip the characters SL, SL+1, …, SR. By flipping, we mean change character 0 to 1 and vice-versa. Your aim is to perform ATMOST ...
[ "rishap.sharma@iress.com" ]
rishap.sharma@iress.com
a27ec35f7aa311ffa7144d14cdcef4c0bea23acd
4bebd76e65768c6a2fe9f8019c99ae9e579dbafd
/scripts/LAPipe/NumPy/PART2/P2.10RW.py
c37313dde9fcf99a541e71b68a800c74863e1648
[]
no_license
hadad-paper/HADAD_SIGMOD2021
7e0f7687bfdb3601b817570a2c10c2b923970fd9
6bfef6838a5549288adca6bdd71ec0d3497d3f2e
refs/heads/master
2023-03-05T22:54:36.894263
2021-02-22T23:24:43
2021-02-22T23:24:43
296,177,486
0
0
null
null
null
null
UTF-8
Python
false
false
1,159
py
with open(__file__) as fh: print fh.read() import os import sys import datetime import time import numpy as np import numpy.linalg as alg import pandas as pd from numpy import genfromtxt def timeOp(string,cleanup=None): times = [] time_stamp = datetime.datetime.fromtimestamp( time.time()).strftime('%Y...
[ "hadad-paper@clt-128-93-177-51.vpn.inria.fr" ]
hadad-paper@clt-128-93-177-51.vpn.inria.fr
ff68e33fd5b4b5b0f46bab5d93a2456434b1b756
fe6775ca8c5b42710785e3a923974ae079f92c8f
/code/111. 二叉树的最小深度.py
3e4de4635aa4de1d9e8f7a31cf17e83b061248e2
[]
no_license
AiZhanghan/Leetcode
41bda6676fa1a25fa19e393553c1148ed51fdf72
101bce2fac8b188a4eb2f5e017293d21ad0ecb21
refs/heads/master
2021-06-28T10:48:07.865968
2020-11-20T09:45:15
2020-11-20T09:45:15
188,155,059
0
0
null
null
null
null
UTF-8
Python
false
false
615
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 minDepth(self, root): """ Args: root: TreeNode Return: int """ if not...
[ "35103759+AiZhanghan@users.noreply.github.com" ]
35103759+AiZhanghan@users.noreply.github.com
8cbcd942da4735224385ab3dbc3923e725f2b36b
5a52ccea88f90dd4f1acc2819997fce0dd5ffb7d
/alipay/aop/api/request/AlipayMarketingCampaignDiscountBudgetQueryRequest.py
1c336dd763456ee791f4e197b59b28af345ec219
[ "Apache-2.0" ]
permissive
alipay/alipay-sdk-python-all
8bd20882852ffeb70a6e929038bf88ff1d1eff1c
1fad300587c9e7e099747305ba9077d4cd7afde9
refs/heads/master
2023-08-27T21:35:01.778771
2023-08-23T07:12:26
2023-08-23T07:12:26
133,338,689
247
70
Apache-2.0
2023-04-25T04:54:02
2018-05-14T09:40:54
Python
UTF-8
Python
false
false
4,052
py
#!/usr/bin/env python # -*- coding: utf-8 -*- import json from alipay.aop.api.FileItem import FileItem from alipay.aop.api.constant.ParamConstants import * from alipay.aop.api.domain.AlipayMarketingCampaignDiscountBudgetQueryModel import AlipayMarketingCampaignDiscountBudgetQueryModel class AlipayMarketingCampaign...
[ "liuqun.lq@alibaba-inc.com" ]
liuqun.lq@alibaba-inc.com
37c277ed6f27a9c565bc80f5f94a5ff4a42bba0b
eb7513f3e59cf5ab1dda5611627793e4391582f4
/fab_bundle/django.py
78fb35a4743d2e5d3d4dc088cb680677edfc4fa5
[]
no_license
linovia/fab-bundle
69e51224216cf8d365fb128fd98165b79564fc1b
640544bd1d9131f8814e5dc8b4ea0d050889b502
refs/heads/master
2021-01-18T14:31:40.857998
2015-05-20T05:54:49
2015-05-20T05:54:49
7,828,777
1
0
null
2015-01-16T13:32:22
2013-01-25T21:21:08
Python
UTF-8
Python
false
false
2,021
py
from fabric.api import env, run from .utils import die, template from .db import postgres def manage(command, noinput=True): """Runs a management command""" noinput = '--noinput' if noinput else '' run('%s/env/bin/django-admin.py %s %s --settings=settings' % ( env.bundle_root, command, noinput)) ...
[ "xordoquy@linovia.com" ]
xordoquy@linovia.com
339acf442deb6e5204b27de4e42be183a8496e8c
59453f279255ed7e65ba6b134ab428e5b8c3a565
/chapter4/ans_34.py
b4b3668a3cccd7a562615202cfff8e5c6bc2952a
[]
no_license
takapy0210/nlp_2020
b42497f0db95f947e7ad61ec058769e824bbbc9c
085747a8c22573a095658e202faccb7197a7041e
refs/heads/master
2023-07-12T20:32:34.225335
2021-08-21T04:31:12
2021-08-21T04:31:12
258,741,277
3
1
null
null
null
null
UTF-8
Python
false
false
1,051
py
""" 名詞の連接(連続して出現する名詞)を最長一致で抽出せよ. """ def parse_morpheme(morpheme): (surface, attr) = morpheme.split('\t') attr = attr.split(',') morpheme_dict = { 'surface': surface, 'base': attr[6], 'pos': attr[0], 'pos1': attr[1] } return morpheme_dict def get_value(items): r...
[ "takanobu.030210@gmail.com" ]
takanobu.030210@gmail.com
7c92ef5096f56c6a4b16819e0acc383015d28bf6
40f4908483b98fc4f370ff4f2d520e1284d045b3
/phase02/immortals_repo/harness/pymmortals/generated/com/securboration/immortals/ontology/expression/expressionnodenumerical.py
febd6b50e97fc22a14dfb1027c13f4ae466cba44
[]
no_license
TF-185/bbn-immortals
7f70610bdbbcbf649f3d9021f087baaa76f0d8ca
e298540f7b5f201779213850291337a8bded66c7
refs/heads/master
2023-05-31T00:16:42.522840
2019-10-24T21:45:07
2019-10-24T21:45:07
null
0
0
null
null
null
null
UTF-8
Python
false
false
313
py
from pymmortals.generated.com.securboration.immortals.ontology.expression.booleanexpressionnode import BooleanExpressionNode # noinspection PyPep8Naming class ExpressionNodeNumerical(BooleanExpressionNode): _validator_values = dict() _types = dict() def __init__(self): super().__init__()
[ "awellman@bbn.com" ]
awellman@bbn.com
d35d55dc09e71211c9c1ab9c5f08da0e330fe2f5
ca7aa979e7059467e158830b76673f5b77a0f5a3
/Python_codes/p02261/s604578340.py
adf89a926b10d9913875be65ef10f9e9f300870a
[]
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
943
py
def BubbleTrump(C, N): i = 0 while i < N: j = N - 1 while j > i: if int(C[j][1]) < int(C[j-1][1]): c = C[j] C[j] = C[j - 1] C[j - 1] = c j -= 1 i += 1 return C def SelectionTrump(C, N): i = 0 while i < N...
[ "66529651+Aastha2104@users.noreply.github.com" ]
66529651+Aastha2104@users.noreply.github.com
52af64e512464476b3c7a71be4c14934d950a785
ca7aa979e7059467e158830b76673f5b77a0f5a3
/Python_codes/p03095/s821591285.py
5426f4262b305dbd1540275eb9ed8bdc4c475f98
[]
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
214
py
from collections import Counter n = int(input()) s = input() mod = 10**9+7 scnt = Counter(s).most_common() ans = 1 for i in range(len(scnt)): ans = ans*(scnt[i][1]+1)%mod ans = (ans - 1 + mod)%mod print(ans)
[ "66529651+Aastha2104@users.noreply.github.com" ]
66529651+Aastha2104@users.noreply.github.com
54e92565033d5c76621554dac95020cc7b579dc2
fa5713863cada0177d15e56f5327b79d907a119f
/test/compare_releases.py
70cf5e5907f8577f16a47c9a3461b04ef5c48543
[]
no_license
rappoccio/EXOVV
1500c126d8053b47fbc425d1c2f9e76f14cb75c5
db96edf661398b5bab131bbeba36d331b180d12d
refs/heads/master
2020-04-03T20:12:57.959191
2018-08-24T01:30:03
2018-08-24T01:30:03
39,910,319
4
2
null
null
null
null
UTF-8
Python
false
false
3,404
py
#!/usr/bin/env python from optparse import OptionParser from jettools import getJER from math import sqrt parser = OptionParser() parser.add_option('--outname', type='string', action='store', dest='outname', default = "", help='Histogram to plot') (options, ar...
[ "rappoccio@gmail.com" ]
rappoccio@gmail.com
4d422bbbbeeb2c15974cfa4de441a3c6671ccf70
3a857528f238c9460fd7c14fc0477a9bee0974a5
/ipycanvas/_frontend.py
2da2ede4429a6af5aed88050218d375c62a47c5c
[ "BSD-3-Clause" ]
permissive
amoeba/ipycanvas
aafb38b341828f0ff69cc4816ea3ab169096c251
0cc98b4d0cd1dc7a0b4057fe8d5d276efdb55928
refs/heads/master
2023-02-04T21:58:01.556211
2020-12-17T20:42:01
2020-12-17T20:42:01
null
0
0
null
null
null
null
UTF-8
Python
false
false
245
py
#!/usr/bin/env python # coding: utf-8 # Copyright (c) Martin Renou. # Distributed under the terms of the Modified BSD License. """ Information about the frontend package of the widgets. """ module_name = "ipycanvas" module_version = "^0.7.0"
[ "martin.renou@gmail.com" ]
martin.renou@gmail.com
8f0e1b6af08c0ba68ced1a36c3dd18973cf224ab
5292b03998384c0d2bb5858058892d7e45c5365b
/InCTF/2021/crypto/Lost_Baggage/main.py
2db4763071280ad4c8a5294fa28c99cb3bb0c207
[ "MIT" ]
permissive
TheusZer0/ctf-archives
430ef80d367b44fd81449bcb108e367842cb8e39
033ccf8dab0abdbdbbaa4f0092ab589288ddb4bd
refs/heads/main
2023-09-04T17:56:24.416820
2021-11-21T06:51:27
2021-11-21T06:51:27
430,603,430
1
0
MIT
2021-11-22T07:24:08
2021-11-22T07:24:07
null
UTF-8
Python
false
false
1,119
py
#!/usr/bin/python3 from random import getrandbits as rand from gmpy2 import next_prime, invert import pickle FLAG = open('flag.txt', 'rb').read() BUF = 16 def encrypt(msg, key): msg = format(int(msg.hex(), 16), f'0{len(msg)*8}b')[::-1] assert len(msg) == len(key) return sum([k if m=='1' else 0 for m, k in zip(msg...
[ "sajjadium@google.com" ]
sajjadium@google.com
12cf8b1fc6f4b7f9991b27ccfa0db18d53281139
d96ffbadf4526db6c30a3278f644c1bc25ff4054
/src/flickr/city.py
54ab51925d971f99e12f845cbc74900f03e05b10
[ "MIT" ]
permissive
dballesteros7/master-thesis-2015
07c03726f6ceb66e6d706ffe06e4e5eb37dcda75
8c0bf9a6eef172fc8167a30780ae0666f8ea2d88
refs/heads/master
2021-05-03T11:22:28.333473
2016-04-26T14:00:30
2016-04-26T14:00:30
44,601,064
0
0
null
null
null
null
UTF-8
Python
false
false
563
py
from enum import Enum from flickr.boundingbox import BoundingBox class City(Enum): LONDON = ('london', BoundingBox(51.672343, 0.148271, 51.384940, -0.351468)) ZURICH = ('zurich', BoundingBox(47.434680, 8.625370, 47.320230, 8.448060)) NEW_YORK = ('new-york', BoundingBox(40.915256, -73.700272, 40.491370, -...
[ "diegob@student.ethz.ch" ]
diegob@student.ethz.ch
52ea565222d6051d93f5b73b48e501c55e9bd1ce
736032949e6ec4291dba0b06a441efe9d8ad2b82
/colegio/models.py
451bf327c02291b724848dab273618cf88c656d4
[]
no_license
CoriAle/Examen-Final
b93498e10818d91cb672ef216dbc1663cb1973ef
bcbdecce989ee55e85c0dbfbf22c20950bfd2199
refs/heads/master
2021-08-26T05:32:34.204416
2017-11-21T18:56:45
2017-11-21T18:56:45
111,577,021
0
0
null
null
null
null
UTF-8
Python
false
false
1,611
py
from django.db import models from django.utils import timezone from django.contrib import admin class Alumno(models.Model): carnet=models.CharField(max_length=50) nombre=models.CharField(max_length=50) apellido=models.CharField(max_length=50) fecha_nacimiento = models.DateField() def __str__(self)...
[ "1995coral@hotmail.es" ]
1995coral@hotmail.es
127b3622e28069bc808f7dc1542354d21e9dce3c
80b5bc903e5ceb368f374f9a1313e1dc7ac698c2
/bcoffice/members/views/member_force_disable.py
1dbe2b8b190ef21b05374aca59a95a45fed30cbc
[]
no_license
Bobur-kobilov/back
830471f7d36f9120aa04e3ae884f7091f0ba4333
5a852c4d24da3db6226ce17c437c4ae9c6b01141
refs/heads/master
2022-10-01T22:50:24.073570
2019-08-02T01:51:19
2019-08-02T01:51:19
200,145,509
0
0
null
null
null
null
UTF-8
Python
false
false
4,360
py
from . import * import pytz # 회원 강제 상태변경 class MemberForceDisable(APIView): name = "member-force-disable" permission_classes = [MemberForceDisablePermission] def put(self, request, *args, **kwargs): member_id = request.data.get('member_id', None) reason = request.data.get('reason',...
[ "bobur0114jon@gmail.com" ]
bobur0114jon@gmail.com
5e8d232feecaf3739a9c05723fb003384adf5152
23ae328d533fafdeb8b49b8a66911a9e9aef4e83
/exercises/1901090010/1001S02E06_stats_word.py
0b2d0b586169d3cc48703ba0459b9c517888bf39
[]
no_license
sky3116391/selfteaching-python-camp
85b35ba16e014e7d1c2545e450a22021acd668e7
635a74035b37bdd4e37919a81848e86bdb853a11
refs/heads/master
2020-05-25T15:51:30.853311
2019-05-30T06:49:20
2019-05-30T06:49:20
187,006,599
0
0
null
2019-05-16T10:32:55
2019-05-16T10:32:55
null
UTF-8
Python
false
false
3,945
py
import re #(1)定义一个名为 stats_text_en 的函数 def stats_text_en(text): #(2)函数接受一个字符串 text 作为参数。如果不是字符串,则提示 if not isinstance(text,str): return '请输入字符串' #(3)统计参数中每个英文单词出现的次数 # 1.替换掉所有的符号 word_str = text.replace(','," ").replace('.'," ").replace('!'," ").replace('*'," ").replace('--'," ") # 2.按照...
[ "46160162+EthanYan6@users.noreply.github.com" ]
46160162+EthanYan6@users.noreply.github.com
99a090ec7d96de49b32002c3d389094efe608890
b6233af6a39e7ab500743d6b2ac7d52f68ae3be2
/19/00/2.py
9a4163a95b325fbdda531426194e1e107c5ac754
[ "CC0-1.0" ]
permissive
pylangstudy/201712
9754526e1d8f1c0519fcce98bc7df803f456cc4e
f18f1251074729c4a3865b113edc89ec06b54130
refs/heads/master
2021-09-02T06:08:08.278115
2017-12-30T23:04:55
2017-12-30T23:04:55
112,670,974
0
0
null
null
null
null
UTF-8
Python
false
false
736
py
import asyncio try: from socket import socketpair except ImportError: from asyncio.windows_utils import socketpair # Create a pair of connected file descriptors rsock, wsock = socketpair() loop = asyncio.get_event_loop() def reader(): data = rsock.recv(100) print("Received:", data.decode()) # We a...
[ "pylangstudy@yahoo.co.jp" ]
pylangstudy@yahoo.co.jp
ffff5d674aabfb39a7fe604058e907e6a8469b8d
af71dc3825a4ad9f8f3582a1532828d680005dea
/social/__init__.py
895ff9af9158dab005e6dc20c74f0c3c076e27b9
[ "BSD-2-Clause", "Python-2.0", "BSD-3-Clause" ]
permissive
loitd/python-social-auth
48c81b05858e9aabecd7989f6721018da14406d7
3a2e40c1d4341a0237363e28928b540ba7e7a49b
refs/heads/master
2021-07-15T17:07:17.700728
2016-04-29T16:40:05
2016-04-29T16:42:53
58,113,389
0
0
NOASSERTION
2021-03-20T05:01:35
2016-05-05T07:40:35
Python
UTF-8
Python
false
false
212
py
""" python-social-auth application, allows OpenId or OAuth user registration/authentication just adding a few configurations. """ version = (0, 2, 19) extra = '' __version__ = '.'.join(map(str, version)) + extra
[ "matiasaguirre@gmail.com" ]
matiasaguirre@gmail.com
30aadff3b0ad693ad37410c5ddadb1a597999933
9f86a677c78db9b670759595b3b8b1a7f233acfd
/listings/admin.py
f8e5077d979804e2802b8dda4a1599caec15823d
[]
no_license
husainr/btre_project
0337f8e705ca59460a62da06f54905fff4b50841
e5bfbdc5d9e214d04aa212badeaca09fb2f37090
refs/heads/master
2020-04-20T07:00:44.152929
2019-01-28T14:26:25
2019-01-28T14:26:25
168,700,092
0
0
null
null
null
null
UTF-8
Python
false
false
408
py
from django.contrib import admin from .models import Listing class ListingAdmin(admin.ModelAdmin): list_display = ('id','title','is_published','price','list_date','realtor') list_display_links = ('id','title') list_filter = ('realtor',) list_editable = ('is_published',) search_fields = ('title','description','ad...
[ "you@example.com" ]
you@example.com
827af1cf985b10a20d8f337fcaae5cbb62d5988b
23165420a2ced2306c1154cbd479e67006860e87
/Algorithms/二叉搜索树的最近公共祖先.py
91ed039655c7be3b5e96ef60887d3ebe524a141a
[]
no_license
pppineapple/LeetCode
8a446a65f99e2f2c572696caca2550c6e3bd8acc
e41a86e9d4615079247ef3ef9a35537f4b40d338
refs/heads/master
2020-04-06T14:54:02.475837
2018-11-19T09:38:56
2018-11-19T09:38:56
157,558,169
0
0
null
null
null
null
UTF-8
Python
false
false
2,737
py
#!/usr/bin/env python2 # -*- coding: utf-8 -*- """ Created on Sun Sep 23 22:29:22 2018 @author: pineapple """ ''' 给定一个二叉搜索树, 找到该树中两个指定节点的最近公共祖先。 百度百科中最近公共祖先的定义为:“对于有根树 T 的两个结点 p、q, 最近公共祖先表示为一个结点 x,满足 x 是 p、q 的祖先 且 x 的深度尽可能大(一个节点也可以是它自己的祖先)。” 例如,给定如下二叉搜索树: root = [6,2,8,0,4,7,9,null,null,3,5] _______6_____...
[ "504434414@qq.com" ]
504434414@qq.com
9969c9d8301f7eb0cef375d5b636e00db8126cfb
d2cacbd1bde10e464faabc22ad5936f1aaf4e2ef
/data/DescLearning/SummerTests/RGBtrainD/Alexnet/BUTF/OTS/MAC-true/main.py
07ef2c62f3b6a26072f5d33198b09fcb7f045794
[]
no_license
npiasco/dl_management
a26950a3b53c720d881a8b7ac3fa81161a048256
11c29a3637efa5fd223b36664d62c704e8166bab
refs/heads/master
2021-03-16T05:44:39.806437
2019-09-06T13:52:52
2019-09-06T13:52:52
124,055,338
1
0
null
null
null
null
UTF-8
Python
false
false
1,619
py
#!/usr/bin/env python import os, sys import setlog conf_file = os.environ['DEV'] + 'dl_management/.log/logging.yaml' save_file = os.path.abspath(sys.argv[0])[:-len(sys.argv[0])] + 'log/' setlog.reconfigure(conf_file, save_file) import system.DescriptorLearning as System if __name__ == '__main__': machine = Sy...
[ "nathan.piasco@gmail.com" ]
nathan.piasco@gmail.com
b83333bde4c5f401bfdfa13b41e2fcfc9a51c187
42fa1862effc3e494859904b76c43ce2bcd623a0
/low_high_band_pass_filtering.py
f4ad03423a9a9bded4c998b4dc162316a4c715fa
[]
no_license
PaulHalloran/desktop_python_scripts
3e83aedf3e232da610b5f7477e4d7e8fb0253f99
325e923527278a5c3e9ab8c978f29b2816dab087
refs/heads/master
2021-01-01T19:52:06.828997
2015-06-27T21:14:10
2015-06-27T21:14:10
38,155,075
0
0
null
null
null
null
UTF-8
Python
false
false
2,945
py
import iris import matplotlib.pyplot as plt import scipy import iris.quickplot as qplt import numpy as np ''' We will use the following functions, so make sure they are available ''' def butter_bandpass(lowcut, cutoff): order = 2 low = 1/lowcut b, a = scipy.signal.butter(order, low , btype=cutoff,analog...
[ "paul.halloran@gmail.com" ]
paul.halloran@gmail.com
a031ad5ed05e689e5acac722ec476741ddb709b9
55d4e10ff2c71ac0f0042bda930d7e3dcc7a1a76
/freezing/web/scripts/fix_photo_urls.py
6950149827302ee3339431889337c9bc2382c8c6
[]
no_license
freezingsaddles/freezing-legacy
28f813690b0c81d6a075fe2fc4ebe6d644ab7417
d2c0a445e189e0a359fa134258e0d5e14bd9de56
refs/heads/master
2021-05-09T11:24:56.219056
2018-01-23T16:25:57
2018-01-23T16:25:57
118,989,278
0
0
null
null
null
null
UTF-8
Python
false
false
2,024
py
from instagram import InstagramAPIError from freezing.model import meta from freezing.model.orm import RidePhoto from freezing.web.autolog import log from freezing.web.scripts import BaseCommand from freezing.web.utils.insta import configured_instagram_client class FixPhotoUrls(BaseCommand): @property def ...
[ "hans@xmpl.org" ]
hans@xmpl.org