blob_id
stringlengths
40
40
directory_id
stringlengths
40
40
path
stringlengths
3
616
content_id
stringlengths
40
40
detected_licenses
listlengths
0
112
license_type
stringclasses
2 values
repo_name
stringlengths
5
115
snapshot_id
stringlengths
40
40
revision_id
stringlengths
40
40
branch_name
stringclasses
777 values
visit_date
timestamp[us]date
2015-08-06 10:31:46
2023-09-06 10:44:38
revision_date
timestamp[us]date
1970-01-01 02:38:32
2037-05-03 13:00:00
committer_date
timestamp[us]date
1970-01-01 02:38:32
2023-09-06 01:08:06
github_id
int64
4.92k
681M
⌀
star_events_count
int64
0
209k
fork_events_count
int64
0
110k
gha_license_id
stringclasses
22 values
gha_event_created_at
timestamp[us]date
2012-06-04 01:52:49
2023-09-14 21:59:50
⌀
gha_created_at
timestamp[us]date
2008-05-22 07:58:19
2023-08-21 12:35:19
⌀
gha_language
stringclasses
149 values
src_encoding
stringclasses
26 values
language
stringclasses
1 value
is_vendor
bool
2 classes
is_generated
bool
2 classes
length_bytes
int64
3
10.2M
extension
stringclasses
188 values
content
stringlengths
3
10.2M
authors
listlengths
1
1
author_id
stringlengths
1
132
e36507f3d63923eb57400ad49739a789d61554b9
28de23d33b3bb699b2ded093e650f9862806f0be
/modules/test/test_wuvt.py
5271f9d2d5e1d3bf8f22a90d9b2c75906492ba5a
[]
no_license
LordTroan/phenny
e4356e74e691953119c717d47bd23967ed755e37
c702d7bc59e82fc1f23badd366081df9c3fc3dd6
refs/heads/master
2021-01-18T18:48:05.708630
2012-06-05T04:42:56
2012-06-05T04:42:56
null
0
0
null
null
null
null
UTF-8
Python
false
false
585
py
""" test_wuvt.py - tests for the wuvt module author: mutantmonkey <mutantmonkey@mutantmonkey.in> """ # add current working directory to path import sys sys.path.append('.') import re import unittest from mock import MagicMock from modules.wuvt import wuvt class TestWuvt(unittest.TestCase): def setUp(self): ...
[ "mutantmonkey@mutantmonkey.in" ]
mutantmonkey@mutantmonkey.in
9c8378a5436a2f7524f340d6729e66b5a01dc487
38d295459f3a2477dbff5b0599a2ae0b5f4a918b
/App_40/node_modules/agenda/node_modules/mongodb/node_modules/kerberos/build/config.gypi
59035b4bb11f11c04e61c68c4d82dec774ae74e6
[ "MIT", "Apache-2.0" ]
permissive
vibhatha/mean
b70ddf783d2ac8cc144c6655a5bb6ec14990f12f
ad394cfbc66d7694280925f81e9e0104a4e1623d
refs/heads/master
2016-09-05T10:48:57.335816
2015-12-01T19:37:31
2015-12-01T19:37:31
38,182,128
0
0
null
null
null
null
UTF-8
Python
false
false
3,817
gypi
# Do not edit. File was generated by node-gyp's "configure" step { "target_defaults": { "cflags": [], "default_configuration": "Release", "defines": [], "include_dirs": [], "libraries": [] }, "variables": { "clang": 0, "host_arch": "x64", "icu_data_file": "icudt54l.dat", "icu_d...
[ "vibhatha@gmail.com" ]
vibhatha@gmail.com
7a25a18a36bce3e2874cf0734a3ea45b0cd8a92b
2f98aa7e5bfc2fc5ef25e4d5cfa1d7802e3a7fae
/python/python_7173.py
5ae6c8b76296c9bc93091f57eeacd6642bcf92d5
[]
no_license
AK-1121/code_extraction
cc812b6832b112e3ffcc2bb7eb4237fd85c88c01
5297a4a3aab3bb37efa24a89636935da04a1f8b6
refs/heads/master
2020-05-23T08:04:11.789141
2015-10-22T19:19:40
2015-10-22T19:19:40
null
0
0
null
null
null
null
UTF-8
Python
false
false
215
py
# Django or python manipulate email addresses and reason about domains &gt;&gt;&gt; import tldextract &gt;&gt;&gt; tldextract.extract('foo@bar.baz.org.uk') ExtractResult(subdomain='bar', domain='baz', tld='org.uk')
[ "ubuntu@ip-172-31-7-228.us-west-2.compute.internal" ]
ubuntu@ip-172-31-7-228.us-west-2.compute.internal
542fbeff58119b8639a419115c0aec3e37f1700b
e1e5ffef1eeadd886651c7eaa814f7da1d2ade0a
/Systest/tests/DHCP_FUN_REL_003.py
e3237c1b885ed88647af62334fc16c0439b03c7d
[]
no_license
muttu2244/MyPython
1ddf1958e5a3514f9605d1f83c0930b24b856391
984ca763feae49a44c271342dbc15fde935174cf
refs/heads/master
2021-06-09T02:21:09.801103
2017-10-10T07:30:04
2017-10-10T07:30:04
13,803,605
0
0
null
null
null
null
UTF-8
Python
false
false
5,621
py
#!/usr/bin/env python2.5 """ ####################################################################### # # Copyright (c) Stoke, Inc. # All Rights Reserved. # # This code is confidential and proprietary to Stoke, Inc. and may only # be used under a license from Stoke. # ####################################################...
[ "muttu2244@yahoo.com" ]
muttu2244@yahoo.com
cc255fea3eb314dd5de652f9fbdd4c6b64bacd48
6b2a8dd202fdce77c971c412717e305e1caaac51
/solutions_5634697451274240_1/Python/bananaphone/2.py
1fe9a4cd0843f042be335dbc4d3a6e03c2f532a3
[]
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
328
py
T = int(raw_input()) def doprob(): read = raw_input() start = read[0] current = start length = 1 for i in read: if i == current: continue current = i length += 1 if current == '+': length -= 1 # if length == 0: # return 0 return length for qq in xrange(T): print "Case #" + str(qq+1) + ": " + str(d...
[ "alexandra1.back@gmail.com" ]
alexandra1.back@gmail.com
a55cd74ca8710f5c4bff9835f8b38bd3baea5d72
5c3d487c1f48e33c507a8aca1c2fc178cf95e17f
/interview/leet/761_Special_Binary_String_v2.py
cc2f94a5639966b3f2d152855610f267dc86dc5d
[ "MIT" ]
permissive
eroicaleo/LearningPython
52f9bcda796ea8fcc40a2971f30102d2847c93a4
ebebd1104b1947324fbaae304b44465f80803c8b
refs/heads/master
2023-07-20T04:34:51.465451
2023-07-13T06:43:31
2023-07-13T06:43:31
14,948,231
4
1
null
null
null
null
UTF-8
Python
false
false
1,373
py
#!/usr/bin/env python3 class Solution: def makeLargestSpecial(self, S: str) -> str: self.ix = 0 def dfs(S, level): tokens, sub_level_done = [], 0 print(f'{" "*level}before level = {level}, S = {S}, self.ix = {self.ix}, tokens = {tokens}') while self.ix < len(S):...
[ "eroicaleo@gmail.com" ]
eroicaleo@gmail.com
cd511e03a93a083d4439ca686fdd3a5a96f3f1d3
0987f31e64bcacb41ba3a1e20054d7b8ac0d7346
/contests/abc160/f.py
6d09d630608f1808398bd9d2ef8dd10b33a6f7a2
[]
no_license
masakiaota/kyoupuro
81ae52ab3014fb2b1e10472994afa4caa9ea463b
74915a40ac157f89fe400e3f98e9bf3c10012cd7
refs/heads/master
2021-06-27T04:13:52.152582
2020-09-20T03:21:17
2020-09-20T03:21:17
147,049,195
1
0
null
null
null
null
UTF-8
Python
false
false
2,061
py
import sys sys.setrecursionlimit(1 << 25) read = sys.stdin.readline def read_ints(): return list(map(int, read().split())) def read_a_int(): return int(read()) def read_tuple(H): ''' H is number of rows ''' ret = [] for _ in range(H): ret.append(tuple(map(int, read().split())))...
[ "aotamasakimail@gmail.com" ]
aotamasakimail@gmail.com
e41148a9eb8f6239182cd059dc84338908b1db9e
ca7aa979e7059467e158830b76673f5b77a0f5a3
/Python_codes/p02705/s671862912.py
193b3083630bbae19a4f955cb3134f71cf833090
[]
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
35
py
r = int(input()) print(3.1415*2*r)
[ "66529651+Aastha2104@users.noreply.github.com" ]
66529651+Aastha2104@users.noreply.github.com
3c235f49514a9af952f5569bfccf589dda7c6eeb
bbf874cf4abb20e7ec5c66e808e97ae6f2043c3f
/0X0C-python-almost_a_circle/models/square.py
51de7879982594927dfb0f2e43d3d6035392ea02
[]
no_license
imperfectskillz/holbertonschool-higher_level_programming
105fd80c2bea8fbb60eb786ce9019b3f63188342
704e99b29125d6449db32b9d52ede443318df620
refs/heads/master
2021-09-14T10:44:22.551896
2018-05-12T03:38:59
2018-05-12T03:38:59
113,130,980
0
0
null
null
null
null
UTF-8
Python
false
false
1,279
py
#!/usr/bin/python3 """ Module contains class Square """ from models.rectangle import Rectangle class Square(Rectangle): """ class Square """ def __init__(self, size, x=0, y=0, id=None): """ initalizes above """ super().__init__(size, size, x, y, id) def __str__(se...
[ "j.choi.89@gmail.com" ]
j.choi.89@gmail.com
c477e171fce91afdea998ee0e40e5fda535a8134
35dbd536a17d7127a1dd1c70a2903ea0a94a84c2
/src/sentry/api/serializers/models/doc_integration_avatar.py
0e261b4a3a0495391b95df2cdae0cee389599411
[ "Apache-2.0", "BUSL-1.1" ]
permissive
nagyist/sentry
efb3ef642bd0431990ca08c8296217dabf86a3bf
d9dd4f382f96b5c4576b64cbf015db651556c18b
refs/heads/master
2023-09-04T02:55:37.223029
2023-01-09T15:09:44
2023-01-09T15:09:44
48,165,782
0
0
BSD-3-Clause
2022-12-16T19:13:54
2015-12-17T09:42:42
Python
UTF-8
Python
false
false
504
py
from typing import MutableMapping from sentry.api.serializers import Serializer, register from sentry.models import DocIntegrationAvatar from sentry.utils.json import JSONData @register(DocIntegrationAvatar) class DocIntegrationAvatarSerializer(Serializer): def serialize( self, obj: DocIntegrationAvatar,...
[ "noreply@github.com" ]
nagyist.noreply@github.com
b3cc0b584b65490b2a10d1216a472a60c9650ce4
acaf511e63effd2489e096e034154adede7b7a7e
/eval_infer/eval_utils/average_precision_evaluator.py
72eb96aa2ae330b1b7cf12ba068866727a77ad9d
[]
no_license
ndkjing/detection_keras_tf
f3aa3bf1789554b937fa72e46d6c99ea54a797ba
507934d255d5d15377c844ea7f5ab7dced4c5155
refs/heads/master
2022-11-30T16:23:31.714692
2020-07-30T10:03:43
2020-07-30T10:03:43
267,485,642
4
0
null
null
null
null
UTF-8
Python
false
false
53,026
py
''' An evaluator to compute the Pascal VOC-style mean average precision (both the pre-2010 and post-2010 algorithm versions) of a given Keras SSD weights on a given dataset. Copyright (C) 2018 Pierluigi Ferrari Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in complia...
[ "ndkjing1@gmail.com" ]
ndkjing1@gmail.com
9c422f89610ca5d94f19c1460bcaeb9e9d1aba2c
ffc3984194d723774dd01a7e83fa96b21c36d33c
/bs_sample.py
fa1be494f9d8a71228bf29187ceb16154d07267c
[]
no_license
suhjohn/Python-Study
7aa430d79d3ff4c1161ab10f136b75b9ec53f6e4
f18531b82ac6b550a9c3eaac3898ef4364cd8961
refs/heads/master
2021-07-05T14:00:44.950339
2017-09-30T14:34:24
2017-09-30T14:34:24
103,229,270
0
0
null
null
null
null
UTF-8
Python
false
false
139
py
from bs4 import BeautifulSoup f = open('sample.txt', 'rt') source = f.read() soup = BeautifulSoup(source,'lxml') print(soup.prettify())
[ "johnsuh94@gmail.com" ]
johnsuh94@gmail.com
451a9d5dd1951cc36ad91c25005bf8a8843f0c9f
30565cf0e75783f3d342202ce61807698d4906e0
/scripts/extract_keywords.py
3bff74666a9f918c7c201c481b80c2a1bf6bc83b
[]
no_license
medialab/polarisation-espace-public
428623b2787d9d601df2c11d076713f13ce4f4e7
a5bb9687b6e9091c982f81903fc1afaf645b4c07
refs/heads/master
2022-05-25T08:59:36.410966
2022-05-23T08:47:47
2022-05-23T08:47:47
126,503,536
0
0
null
2018-11-21T10:10:21
2018-03-23T15:21:57
Python
UTF-8
Python
false
false
1,547
py
#!/usr/bin/env python3 import csv from collections import defaultdict from urllib.parse import urlparse # Parameters INPUT_FILE = './data/sources_mediacloud.csv' DEBUG = False # NOTE: blogs.mediapart is problematic... being in both inclusion/exclusion PROBLEMATIC_HOSTS = frozenset([ 'blogs.', 'blogspot', ...
[ "guillaumeplique@gmail.com" ]
guillaumeplique@gmail.com
6b15b684b25d95636bd04c21405c31abfb50b2ff
5d28c38dfdd185875ba0edaf77281e684c81da0c
/examples/pytorch/CaptumExample/Titanic_Captum_Interpret.py
1ca310242e48fabdc9ba56328acd0acc02d50b95
[ "Apache-2.0" ]
permissive
imrehg/mlflow
3a68acc1730b3ee6326c1366760d6ddc7e66099c
5ddfe9a1b48e065540094d83125040d3273c48fa
refs/heads/master
2022-09-24T05:39:02.767657
2022-09-20T00:14:07
2022-09-20T00:14:07
244,945,486
1
0
Apache-2.0
2020-03-04T16:11:54
2020-03-04T16:11:53
null
UTF-8
Python
false
false
14,395
py
""" Getting started with Captum - Titanic Data Analysis """ # Initial imports import numpy as np import torch from captum.attr import IntegratedGradients from captum.attr import LayerConductance from captum.attr import NeuronConductance import matplotlib.pyplot as plt import pandas as pd from scipy import stats import ...
[ "noreply@github.com" ]
imrehg.noreply@github.com
6f297f154dcb204cd2029d03d0e9dd0ced72cc37
29f8b7f92eb22cc3134a16c439d3180e254df4bb
/chp17_flasktaskr_part09/project/tasks/views.py
07cfd074dea3e9d5725219ee8496249b27b2cec0
[]
no_license
Hemie143/realpython2
7df80dd5f61ce7cd8c31b8bf78111b8507cbdb36
b8535ffe97594e1b18233bcd9aa0de664257cb09
refs/heads/master
2022-12-12T04:51:53.120131
2021-01-03T19:52:32
2021-01-03T19:52:32
208,735,855
0
0
null
2023-08-17T05:45:32
2019-09-16T07:22:16
Python
UTF-8
Python
false
false
3,168
py
import datetime from functools import wraps from flask import flash, redirect, render_template, \ request, session, url_for, Blueprint from .forms import AddTaskForm from chp14_flasktaskr_part07.project import db from chp14_flasktaskr_part07.project.models import Task ################ #### config #### ##########...
[ "hemie143@gmail.com" ]
hemie143@gmail.com
fbe83fa43b9a5a4924cae8351152026fcee49636
068c72d9fb68b8705f639a8911ea2568cfa7cd24
/niftidataset/transforms.py
6fef1ab5f5572e65800c3a259cf25a8ab268cce4
[ "Apache-2.0" ]
permissive
zzz123xyz/niftidataset
49707a9787b03f310fc893a5ed934573e8ff7975
c1eabde47a72680142ab7f3d045804f69e8096ad
refs/heads/master
2020-05-26T22:06:21.792039
2019-05-22T00:28:05
2019-05-22T00:28:05
null
0
0
null
null
null
null
UTF-8
Python
false
false
19,953
py
#!/usr/bin/env python # -*- coding: utf-8 -*- """ niftidataset.transforms transformations to apply to images in dataset Author: Jacob Reinhold (jacob.reinhold@jhu.edu) Created on: Oct 24, 2018 """ __all__ = ['RandomCrop2D', 'RandomCrop3D', 'RandomCrop', 'RandomSlice', 'To...
[ "jacob.reinhold@jhu.edu" ]
jacob.reinhold@jhu.edu
2198f4ee12c293f7937a5ae9a2e2d77c8522958e
6314e14889eb42b528de24636ac6342a672e78b4
/lib/exabgp/application/bgp.py
c025ed78d645c8868d7c3348ad160e5aa21a484c
[ "BSD-3-Clause" ]
permissive
asnd/exabgp
e4206abf23796432898a9465ad07390b6fa06477
68f22d2a7346d08c973fc6824ca47601f27973be
refs/heads/master
2021-04-09T13:48:40.468122
2014-07-14T16:27:38
2014-07-14T16:27:38
null
0
0
null
null
null
null
UTF-8
Python
false
false
16,763
py
# encoding: utf-8 """ exabgp.py Created by Thomas Mangin on 2009-08-30. Copyright (c) 2009 Exa Networks. All rights reserved. """ import os import sys import syslog import string import argparse from exabgp.version import version # import before the fork to improve copy on write memory savings from exabgp.reactor im...
[ "thomas.mangin@exa-networks.co.uk" ]
thomas.mangin@exa-networks.co.uk
b238e6a904ba088c4713fad8772a0917042a5db6
ca7aa979e7059467e158830b76673f5b77a0f5a3
/Python_codes/p03296/s543531293.py
8506d7aaa131dc9339cb85e25bdb34ac7ba85e65
[]
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
520
py
N = int(input()) a = list(map(int, input().split())) ans = [] count = 0 for i in range(0,N): if i == 0: count = 1 elif i == N-1: if a[i] == a[i-1]: count += 1 ans.append(count) else: ans.append(count) count = 1 ans.append(count...
[ "66529651+Aastha2104@users.noreply.github.com" ]
66529651+Aastha2104@users.noreply.github.com
56c427808c03688df819c7d7370dfa746080682f
f93f69c45b75606fbce9c7bec201b3c14d90e4d3
/DoD/dod.py
bf18c3298df36b117677946e91e7c1c6862d4d1a
[ "MIT" ]
permissive
singletrips/aurum-datadiscovery
676d30d1e364d8a9cd6f6f1df1fd51d0bf58dac7
2872c9e8cdc71522d60dda09b7bef862f7324054
refs/heads/master
2020-04-01T02:25:51.997945
2018-10-08T22:06:24
2018-10-08T22:06:24
null
0
0
null
null
null
null
UTF-8
Python
false
false
43,898
py
from algebra import API from api.apiutils import Relation from collections import defaultdict from collections import OrderedDict import itertools from DoD import data_processing_utils as dpu from DoD import material_view_analysis as mva from DoD.utils import FilterType import numpy as np from functools import reduce i...
[ "raulcf@csail.mit.edu" ]
raulcf@csail.mit.edu
e48d0f2931eaf88234bc666fc8c46f5d8940da0c
51d348426c6e5fa79f2e77baf59bdbf8357d9f12
/week10/HakerRank/6.py
b25ef65eba239debad244d853e25312dd352eb6b
[]
no_license
Zhansayaas/webdev
c01325b13abf92cef13138d7ffc123cf9bc4f81a
dd054d0bcafc498eccc5f4626ab45fd8b46b3a3f
refs/heads/main
2023-04-10T23:33:30.469465
2021-04-17T10:21:53
2021-04-17T10:21:53
322,049,225
0
0
null
null
null
null
UTF-8
Python
false
false
303
py
# Complete the solve function below. def solve(s): for i in s.split(): s = s.replace(i,i.capitalize()) return s if __name__ == '__main__':fptr = open(os.environ['OUTPUT_PATH'], 'w') s = input() result = solve(s) fptr.write(result + '\n') fptr.close()
[ "noreply@github.com" ]
Zhansayaas.noreply@github.com
1f3e42278c673ab8288fa3b2edda30f425898d82
51dfd0bc540f386b56f419152fbaee21a439b65e
/testmile-setu/setu/interface/setu.py
d0142aa558e7590f9b292072b3236fdf3bf5f0b1
[ "Apache-2.0" ]
permissive
test-mile/setu
3a791c3f19e46496ff91aa9c0df9b142fc3c4e55
b273a11e7f9462e64a370bda16f1952ecdbfb5a5
refs/heads/master
2020-04-20T10:52:05.539023
2019-03-14T15:18:27
2019-03-14T15:18:27
168,800,779
0
0
null
null
null
null
UTF-8
Python
false
false
9,202
py
from flask import request from flask_restful import Resource from .objmgr import SetuSvcObjectManager from .testsession_handler import TestSessionHandler from .setu_action import SetuActionType class SetuSvc(Resource): def post(self): json_dict = request.get_json(force=True) print("From Actor: {}"...
[ "rahulverma81@gmail.com" ]
rahulverma81@gmail.com
e97cf9abe263f5a4778538749405b24d3586f410
44c65c93549aa06b01ef9114817cd45e645da6f7
/tests/test_observable/test_where.py
c69a6bce6190ab0a37ed9003d4384e2d28b426da
[ "Apache-2.0" ]
permissive
Affirm/RxPY
692b6a0089f4e79b92c0c683f11427c558eefd06
7c23939ea497761c85b382257f9f0954998ab91e
refs/heads/master
2023-07-06T11:34:28.229747
2017-10-22T16:25:56
2017-10-22T16:25:56
108,198,347
0
2
Apache-2.0
2023-03-20T20:28:56
2017-10-25T00:18:37
Python
UTF-8
Python
false
false
13,069
py
import unittest from datetime import datetime from rx.core import Observable from rx.testing import TestScheduler, ReactiveTest, is_prime from rx.disposables import SerialDisposable on_next = ReactiveTest.on_next on_completed = ReactiveTest.on_completed on_error = ReactiveTest.on_error subscribe = ReactiveTest.subscr...
[ "dag@brattli.net" ]
dag@brattli.net
addefad5ca9698f2983e129b6753bfe6c453da05
9120120ee0b52f24c627759b0901afbc55347529
/pygis_src/ch02_gdal/sec5_create_raster/test_2_create_x_x.py
3f9e6d25d9dbaca801a3941aca09cb96d3e353ee
[]
no_license
xiaomozi/book_python_gis
d999b17833abe746a7be2683595f48b54071cd59
754fa10c17a20506146d8f409e035e4d4869ad3e
refs/heads/master
2020-03-11T18:36:40.739267
2018-01-04T16:31:23
2018-01-04T16:31:23
null
0
0
null
null
null
null
UTF-8
Python
false
false
962
py
#!/usr/bin/env python3 # -*- coding: utf-8 -*- ############################################################################### import gdal driver = gdal.GetDriverByName( 'GTiff' ) dst_filename = '/tmp/x_tmp.tif' dst_ds = driver.Create( dst_filename, 512, 512, 1, gdal.GDT_Byte ) #########################################...
[ "bukun@osgeo.cn" ]
bukun@osgeo.cn
d757e041d478f07d9f189c85d7d702d03a90b65e
7c8bd2e26fdabf1555e0150272ecf035f6c21bbd
/ps프로젝트/Gd/책나눠주기.py
bcadd77863d37ac61df814be6726ea3ce974234e
[]
no_license
hyeokjinson/algorithm
44090c2895763a0c53d48ff4084a96bdfc77f953
46c04e0f583d4c6ec4f51a24f19a373b173b3d5c
refs/heads/master
2021-07-21T10:18:43.918149
2021-03-27T12:27:56
2021-03-27T12:27:56
245,392,582
1
0
null
null
null
null
UTF-8
Python
false
false
449
py
if __name__ == '__main__': T=int(input()) for _ in range(T): n,m=map(int,input().split()) arr=[] for _ in range(m): a,b=map(int,input().split()) arr.append((a,b)) arr.sort(key=lambda x:x[1]) res=[0]*(n+1) for s,e in arr: fo...
[ "hjson817@gmail.com" ]
hjson817@gmail.com
2e712bda8928bcb667a32cc67ddc2d6db86ba260
fbb141c9b99c4c08ce2c0acfe13630d694d98744
/3-chain/10-insert_sort_list.py
6ad13954cad05360f141307c572a805e5c4db4d2
[]
no_license
huixian3/algorithm017
1534bc8a0364595b056e0f346cfe9fa8b8fee3bd
f43c99dc7810de863f8cd79115e272ac65ce9257
refs/heads/master
2023-04-02T07:10:03.670003
2021-04-13T14:38:36
2021-04-13T14:38:36
297,989,771
0
0
null
2020-09-23T14:05:41
2020-09-23T14:05:40
null
UTF-8
Python
false
false
1,678
py
class ListNode(object): def __init__(self, x): self.val = x self.next = None # 头插法 需多复习,没看太明白 ''' 147. 对链表进行插入排序 插入排序 时间复杂度O(N^2) 需要知道插入位置的前一个节点所以要判断next指针 ''' class Solution(object): def insertionSortList(self, head): """ :type head: ListNode :rtype: ListNode ...
[ "zhanhuixian@meituan.com" ]
zhanhuixian@meituan.com
0c1eb210734803454747782ffcc695380ab686bb
e57d7785276053332c633b57f6925c90ad660580
/sdk/elastic/azure-mgmt-elastic/azure/mgmt/elastic/operations/_monitors_operations.py
247ed242c330a076519767b56c484896ec5553c5
[ "MIT", "LicenseRef-scancode-generic-cla", "LGPL-2.1-or-later" ]
permissive
adriananeci/azure-sdk-for-python
0d560308497616a563b6afecbb494a88535da4c5
b2bdfe659210998d6d479e73b133b6c51eb2c009
refs/heads/main
2023-08-18T11:12:21.271042
2021-09-10T18:48:44
2021-09-10T18:48:44
405,684,423
1
0
MIT
2021-09-12T15:51:51
2021-09-12T15:51:50
null
UTF-8
Python
false
false
28,221
py
# coding=utf-8 # -------------------------------------------------------------------------- # Copyright (c) Microsoft Corporation. All rights reserved. # Licensed under the MIT License. See License.txt in the project root for license information. # Code generated by Microsoft (R) AutoRest Code Generator. # Changes may ...
[ "noreply@github.com" ]
adriananeci.noreply@github.com
6a24148d02b99d8456bd6059f35565a294418816
244ecfc2017a48c70b74556be8c188e7a4815848
/res/scripts/client/gui/scaleform/daapi/view/meta/fortwelcomeviewmeta.py
f4116a91f37f5f2643d31a2d68c19fbbf6ef77f6
[]
no_license
webiumsk/WOT-0.9.12
c1e1259411ba1e6c7b02cd6408b731419d3174e5
5be5fd9186f335e7bae88c9761c378ff5fbf5351
refs/heads/master
2021-01-10T01:38:36.523788
2015-11-18T11:33:37
2015-11-18T11:33:37
46,414,438
1
0
null
null
null
null
WINDOWS-1250
Python
false
false
595
py
# 2015.11.18 11:55:04 Střední Evropa (běžný čas) # Embedded file name: scripts/client/gui/Scaleform/daapi/view/meta/FortWelcomeViewMeta.py from gui.Scaleform.framework.entities.BaseDAAPIComponent import BaseDAAPIComponent class FortWelcomeViewMeta(BaseDAAPIComponent): def onViewReady(self): self._printOve...
[ "info@webium.sk" ]
info@webium.sk
249d8379acdb90ecc7eeec1a3455beb22a009726
163bbb4e0920dedd5941e3edfb2d8706ba75627d
/Code/CodeRecords/2699/60648/318906.py
4abcd8423ee106a207db4c2dd7b16026d8b8b0f8
[]
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
310
py
n=int(input()) s='' for i in range(n): s+=input() if s=='mom omomom ommnomoom': print(3) print(mom) print(mom) print(oom) else: print(s)
[ "1069583789@qq.com" ]
1069583789@qq.com
e0932d8ee9ded9df18c63dc6d587b09db9c4f227
4be56098894a95da5964622fc4102b69e4530ab6
/题库/1021.在二叉树中分配硬币.py
0f9bfa8154059f7412293515e720411fdda27feb
[]
no_license
ACENDER/LeetCode
7c7c7ecc8d0cc52215272f47ec34638637fae7ac
3383b09ab1246651b1d7b56ab426a456f56a4ece
refs/heads/master
2023-03-13T19:19:07.084141
2021-03-15T09:29:21
2021-03-15T09:29:21
299,332,864
0
0
null
null
null
null
UTF-8
Python
false
false
95
py
# !/usr/bin/env python3 # -*- coding: utf-8 -*- # @File : 1021.在二叉树中分配硬币.py
[ "1641429327@qq.com" ]
1641429327@qq.com
b02064ad03d568a5c295ad0dbb19f1cb14d108ff
5f7c40860e584cb86e140d0819397a75f93e28ea
/word_count.py
4404aea85f2758a0adccbce8c9c2bd0150858dd1
[]
no_license
bailijiang/Python_exercise
cb149db1bc770fc684bf461ebae1b6dd53bf10a5
744a2a3b44036495ae28ec87fea98c04d008b099
refs/heads/master
2021-09-02T03:30:21.512752
2017-12-29T23:39:05
2017-12-29T23:39:05
114,254,360
0
0
null
null
null
null
UTF-8
Python
false
false
583
py
__author__ = 'Bryan' #coding=utf-8 def count_words(filename): try: with open(filename) as file_obj: contents = file_obj.read() except FileNotFoundError: msg = "Sorry, the file " + filename + " does not exsit." print(msg) else: words = contents.split() nu...
[ "bailijiang@hotmail.com" ]
bailijiang@hotmail.com
d204a9ba4b9a26326219f9faa023ce656a460c10
285e244795836b9ab725383f34bac5f1d1fd08e7
/Competitive Coding/interesting_numbers.py
2688d15698987c05b83deb29702f597b21613390
[]
no_license
Swarajk7/Programs
2ef5d98d9d1fddefcde6147af7e9404f229f759f
9fb7224058c6d20963d3562a8bc16124dc2e7742
refs/heads/master
2020-05-16T08:41:50.251925
2017-05-19T11:29:41
2017-05-19T11:29:41
32,454,166
0
0
null
null
null
null
UTF-8
Python
false
false
613
py
n=int(input()) a=map(int,raw_input().split()) a.sort() diff=[0]*(n-1) if n==1: print "0 0" else: for i in range(0,n-1): diff[i]=a[i+1]-a[i] x=diff.count(min(diff)) ans1=1 ans2=1 if x==n-1: ans1=n*(n-1)/2 ans2=n*(n-1)/2 else: #print diff y=min(diff) ...
[ "swarajk7@gmail.com" ]
swarajk7@gmail.com
780914be772c680a00fe840ecb238a20001ff0a7
a893d00bae0c0fa7db1d42cd14c368033e1c3d3f
/5-4/toppings.py
40180010e9f171ef15b6982333eb166c2a419ca0
[]
no_license
taozhenting/python_introductory
71ac4b5fe4aa45a9008c9510c77e34e31226f849
f88afa0b4232e7ba79b42c370f2266fde85e7462
refs/heads/master
2020-04-27T06:02:20.169314
2019-05-22T09:17:40
2019-05-22T09:17:40
174,096,850
0
0
null
null
null
null
UTF-8
Python
false
false
1,303
py
#简单for循环 requested_toppings = ['mushrooms','green peppers','extra cheese'] for requested_topping in requested_toppings: print("Adding " + requested_topping + ".") print("\nFinished making your pizza!") #青椒用完 requested_toppings = ['mushrooms','green peppers','extra cheese'] for requested_topping in requested_toppin...
[ "taozt@ichile.com.cn" ]
taozt@ichile.com.cn
c314c56b7330ab1942f4692f8ea8e198b650304a
4e007a75031c6e20c8a8f1de54be4442d1699b0a
/glue/core/data_factories/tests/test_misc.py
8be3639c7f2f49dee47b4c39b27e03b12c92e432
[ "BSD-3-Clause" ]
permissive
tiagopereira/glue
9e77aa1936cba3ad70fff34c6ceea0e5b01c0983
85bf7ce2d252d7bc405e8160b56fc83d46b9cbe4
refs/heads/master
2020-06-28T02:22:29.828115
2019-08-01T20:54:35
2019-08-01T20:54:35
200,117,440
0
1
NOASSERTION
2019-08-01T20:50:05
2019-08-01T20:50:04
null
UTF-8
Python
false
false
487
py
from __future__ import absolute_import, division, print_function import os from glue.core import data_factories as df from glue.tests.helpers import requires_astropy DATA = os.path.join(os.path.dirname(__file__), 'data') @requires_astropy def test_load_vot(): # This checks that we can load a VO table which in...
[ "thomas.robitaille@gmail.com" ]
thomas.robitaille@gmail.com
3399af08c1f59bf6dc1737f8ca3868b3550d22ca
673e829dda9583c8dd2ac8d958ba1dc304bffeaf
/data/multilingual/Latn.KTU/Sun-ExtA_16/pdf_to_json_test_Latn.KTU_Sun-ExtA_16.py
d8a96c6bb59825f62bef9634682e882ceb2d4f6d
[ "BSD-3-Clause" ]
permissive
antoinecarme/pdf_to_json_tests
58bab9f6ba263531e69f793233ddc4d33b783b7e
d57a024fde862e698d916a1178f285883d7a3b2f
refs/heads/master
2021-01-26T08:41:47.327804
2020-02-27T15:54:48
2020-02-27T15:54:48
243,359,934
2
1
null
null
null
null
UTF-8
Python
false
false
311
py
import pdf_to_json as p2j import json url = "file:data/multilingual/Latn.KTU/Sun-ExtA_16/udhr_Latn.KTU_Sun-ExtA_16.pdf" lConverter = p2j.pdf_to_json.pdf_to_json_converter() lConverter.mImageHashOnly = True lDict = lConverter.convert(url) print(json.dumps(lDict, indent=4, ensure_ascii=False, sort_keys=True))
[ "antoine.carme@laposte.net" ]
antoine.carme@laposte.net
86608accc1694ee74d3fc8518bbc4a350dbc18dd
e755453c853ae400d94f562ad215b59166b63782
/tests/views_tests/values_view_tests/test_len.py
8c80d18c5c7cb8ff0787e696c73abba7010806d8
[ "MIT" ]
permissive
lycantropos/dendroid
0cb3e276dd9c476b82b0b7a17c25c2e05616a993
fd11c74a395eb791caf803c848805569869080f6
refs/heads/master
2023-04-07T11:07:55.550796
2023-03-27T00:46:03
2023-03-27T00:46:03
215,369,321
0
1
MIT
2020-09-24T05:02:02
2019-10-15T18:29:36
Python
UTF-8
Python
false
false
331
py
from hypothesis import given from tests.utils import (ValuesView, equivalence) from . import strategies @given(strategies.values_views) def test_properties(values_view_: ValuesView) -> None: result = len(values_view_) assert result >= 0 assert equivalence(bool(result), bool(valu...
[ "azatibrakov@gmail.com" ]
azatibrakov@gmail.com
ff849fd72a4bb6972cbd34fa83863f3e15304775
ca7aa979e7059467e158830b76673f5b77a0f5a3
/Python_codes/p03523/s566237496.py
7a2b110dfa1d3a6cba05b48a8077cf3ea6a8fc9b
[]
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
339
py
S = input() if S == 'KIHBR' or S == 'KIHBRA' or S == 'AKIHBR' or S == 'KIHABR' or S == 'KIHBAR' or S == 'AKIHABR' or S == 'AKIHBAR' or S == 'AKIHBRA' or S == 'KIHABAR' or S == 'KIHABRA' or S == 'KIHBARA' or S == 'AKIHABAR' or S == 'AKIHABRA' or S == 'AKIHBARA' or S == 'KIHABARA' or S == 'AKIHABARA': print('YES') el...
[ "66529651+Aastha2104@users.noreply.github.com" ]
66529651+Aastha2104@users.noreply.github.com
458260a5770f14b06445f8ab7e907081ba4a0e5b
ca55dcaa64ea9db4068e13091321cfebecc0ff41
/codeUp/codeUp100/1061.py
d3a3a245f7c4453903ab7801a1d0f9ab03b7cca4
[]
no_license
gomtinQQ/algorithm-python
8fb8343594b945099ae2a4dfa794ecb47e54ab0b
751562922b66e335f621d366bb73dacdc7125140
refs/heads/master
2022-12-07T23:05:44.535593
2020-08-21T12:29:58
2020-08-21T12:29:58
null
0
0
null
null
null
null
UTF-8
Python
false
false
359
py
''' 1061 : [기초-비트단위논리연산] 비트단위로 OR 하여 출력하기(설명) 입력된 정수 두 개를 비트단위로 or 연산한 후 그 결과를 정수로 출력해보자. 비트단위(bitwise) 연산자 |(or, vertical bar, 버티컬바)를 사용하면 된다. ''' x, y = input().split() x = int(x) y = int(y) result = x|y print(result)
[ "minhyeonlee1@gmail.com" ]
minhyeonlee1@gmail.com
ed268f56050407aa6bb13fa333efd8fdfa24feb5
b2cefb7a2a83aa93ee1b15a780b5ddf6c498215b
/nemo/collections/tts/models/aligner.py
110c97c08d069736bb717fc47621a34985afdafa
[ "Apache-2.0" ]
permissive
VahidooX/NeMo
bfde8c9b48c818342a9c6290fb9dee62fafeca38
866cc3f66fab3a796a6b74ef7a9e362c2282a976
refs/heads/main
2023-07-23T19:13:39.948228
2022-04-29T21:51:54
2022-04-29T21:51:54
227,733,473
1
2
Apache-2.0
2022-09-15T15:30:13
2019-12-13T01:55:21
Jupyter Notebook
UTF-8
Python
false
false
9,129
py
# Copyright (c) 2021, NVIDIA CORPORATION. All rights reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by appli...
[ "noreply@github.com" ]
VahidooX.noreply@github.com
8fcad89ba57e050a0e7e4ae03a5ff368078c5b9c
ffa5fdcda15cd6132f286edb5023876aa91ed7f6
/Plotly/05. Box Plots/py_code_3.py
3165bd996411ee2dcaad9e33c0bb55f9c0f68054
[]
no_license
Slothfulwave612/Python
b5684915a9cf8ffdeb60f621d571d576ad6fd322
a61b27b3cc6f7b39690027ba480a14ca6bc20418
refs/heads/master
2023-04-10T04:50:59.401004
2021-04-17T07:33:38
2021-04-17T07:33:38
264,513,613
0
1
null
2021-04-17T07:33:39
2020-05-16T19:42:02
Jupyter Notebook
UTF-8
Python
false
false
897
py
''' Author: @slothfulwave612 Box plot to compares sample distributions of three-letter words in the works of Quintus Curtius Snodgrass and Mark Twain ''' ## importing libraries import plotly.offline as pyo import plotly.graph_objs as go ## the data points snodgrass = [.209,.205,.196,.210,.202,.207,.224,.223,.220,.20...
[ "noreply@github.com" ]
Slothfulwave612.noreply@github.com
a73ff8cb3079d4e7b3817eb5b3c35e4af3cc2664
3eecaca9c842bffe8757917bcdb5a6911a7ed157
/introduction_exercise/biggest_of_two_number.py
04e65bda02f3481df17f96f2543203e64bfd946c
[]
no_license
matamkiran/python2020
2c79cb16e526ea7242e976c79c5db61d97326ec7
c86b96ed3a266245f14b26fc7e8c0c35e76d4946
refs/heads/master
2023-02-10T06:21:50.609567
2023-02-01T18:43:28
2023-02-01T18:43:28
244,181,848
5
1
null
2021-04-28T17:34:01
2020-03-01T16:18:05
Python
UTF-8
Python
false
false
115
py
a=100 b=2 #a==100 #equality cond=a>b print(cond) if(cond): print("a is big") else: print("b is big")
[ "noreply@github.com" ]
matamkiran.noreply@github.com
a1bde704873d42d8ab21d9ce3a387221131117da
9eaa2c64a777bd24a3cccd0230da5f81231ef612
/study/1905/month01/code/Stage1/day15/package01/model_a.py
2d01e0c235cceddccca404e9174e08df73cb7bea
[ "MIT" ]
permissive
Dython-sky/AID1908
4528932f2ca66b844d8a3fcab5ed8bf84d20eb0c
46cd54a7b36b5f009974f2bbb7005a4ad440ca1a
refs/heads/master
2022-04-14T12:23:30.426270
2020-04-01T18:05:19
2020-04-01T18:05:19
null
0
0
null
null
null
null
UTF-8
Python
false
false
37
py
def fun01(): print("a --- fun01")
[ "dong_1998_dream@163.com" ]
dong_1998_dream@163.com
0e2cfddc7114fd48cf34896507ffdecf64672cbe
571a728adb695a4939901abc5db45ac2ad422bae
/code/data_set.py
27f4739aa67f2665823c382e417a7d26dbd09cc2
[]
no_license
bcaitech1/p2-klue-dlrgy22
2dfc392e48713567d37bddf9fa0c7e518d66aadc
3695bb881cbbf58d63d1f2018e0ffc1110f055b2
refs/heads/main
2023-04-15T19:08:53.564548
2021-04-26T06:02:53
2021-04-26T06:02:53
360,470,334
0
0
null
null
null
null
UTF-8
Python
false
false
1,407
py
import os import pandas as pd import torch from torch.utils.data import Dataset from torch.utils.data import DataLoader from transformers import AutoTokenizer, BertForSequenceClassification, Trainer, TrainingArguments, BertConfig, ElectraForSequenceClassification, AdamW class RE_Dataset(Dataset): def __init__(self...
[ "dlrgy22@gmail.com" ]
dlrgy22@gmail.com
12b3b76ea34a6257e46ef38db4e051e67d38032c
25e99a0af5751865bce1702ee85cc5c080b0715c
/python/src/ptt/pttbase.py
e97991138f1a2fea8db58a5e633a52f456dd97b5
[]
no_license
jasonblog/note
215837f6a08d07abe3e3d2be2e1f183e14aa4a30
4471f95736c60969a718d854cab929f06726280a
refs/heads/master
2023-05-31T13:02:27.451743
2022-04-04T11:28:06
2022-04-04T11:28:06
35,311,001
130
67
null
2023-02-10T21:26:36
2015-05-09T02:04:40
C
UTF-8
Python
false
false
2,371
py
# coding=UTF-8 import time from datetime import datetime import requests import time import sys from bs4 import BeautifulSoup requests.packages.urllib3.disable_warnings() Board = '' payload={ 'from':'/bbs/'+ Board +'/index.html', 'yes':'yes' } def getPageNumber(content) : startIndex = content.find('index') ...
[ "gigi" ]
gigi
d9e4c4de2b63a97ca4dd5a59a2b621b662dc4a01
61e2e2fcc061f5252d968a4cf51e831c0271629b
/doc/source/conf.py
dfb96608888e4997b10ed90cd23ada21ab8422db
[ "MIT" ]
permissive
GiggleLiu/tridmat
71a327f533c42ce4422ae496206ea3b05f7335d6
c413a39efdd4ff5ab1dcd4da48891fcb2653e72a
refs/heads/master
2021-01-10T18:21:25.895935
2016-10-09T13:54:46
2016-10-09T13:54:46
45,249,583
0
0
null
null
null
null
UTF-8
Python
false
false
9,473
py
# -*- coding: utf-8 -*- # # TridMat documentation build configuration file, created by # sphinx-quickstart on Fri Oct 30 22:13:03 2015. # # 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. # # A...
[ "cacate0129@gmail.com" ]
cacate0129@gmail.com
e6c3eaf133b518de070011f21d2920bd5bd4ec43
0a46b027e8e610b8784cb35dbad8dd07914573a8
/scripts/venv/lib/python2.7/site-packages/cogent/maths/stats/histogram.py
8c6588ce5b6191b867c2de41b84d0dcbf46a5141
[ "MIT" ]
permissive
sauloal/cnidaria
bb492fb90a0948751789938d9ec64677052073c3
fe6f8c8dfed86d39c80f2804a753c05bb2e485b4
refs/heads/master
2021-01-17T13:43:17.307182
2016-10-05T14:14:46
2016-10-05T14:14:46
33,726,643
3
0
null
null
null
null
UTF-8
Python
false
false
3,474
py
#!/usr/bin/env python """Provides Histogram, which bins arbitrary objects. """ from cogent.maths.stats.util import Freqs __author__ = "Sandra Smit" __copyright__ = "Copyright 2007-2012, The Cogent Project" __credits__ = ["Sandra Smit", "Rob Knight"] __license__ = "GPL" __version__ = "1.5.3" __maintainer__ = "Sandra Sm...
[ "sauloal@gmail.com" ]
sauloal@gmail.com
7d25632c8ac5045d3ed31a28a37917e59f27369c
9e9a5ad25aa155a66500c7ec504a5ed99291549a
/telnet/v7/telnet.py
28d8c22a829dbd9b1d71328f3439ea9e38354a96
[]
no_license
willcai1984/AerohiveAutoLib
60de0782a65df6229ed5e19ca37d31287905d8d7
7d1c8193155b464f4864fdcf0d70228b08af3380
refs/heads/master
2021-01-21T22:29:26.760077
2014-11-18T14:37:16
2014-11-18T14:37:16
null
0
0
null
null
null
null
UTF-8
Python
false
false
32,204
py
#!/usr/bin/python # Filename: telnet.py # Function: telnet target execute cli # coding:utf-8 # Author: Well # Example command:telnet.py -d ip -u user -p password -m prompt -o timeout -l logdir -z logfile -v "show run" -v "show version" import pexpect, sys, argparse,re def debug(mesage, is_debug=True): if mesage an...
[ "willcai1984@gmail.com" ]
willcai1984@gmail.com
6ad7868e9d8adcc6e31c8874ea6317e3b4e8abc0
1c21fa248091e31c362b95afafc5021211e85e63
/invensis_pmc/inhouseapp/middleware.py
d94db034d3e8aa83d1185ffa194cd498e8171c35
[]
no_license
anudeepnaidu95/dev5
3d3252a51fccbb794e78a91681708e1b3c1ce0d4
7351244b79be242aa2cad36dbe1adca22a744edc
refs/heads/master
2021-01-20T12:28:07.286078
2017-05-05T11:08:37
2017-05-05T11:08:37
90,365,863
0
0
null
null
null
null
UTF-8
Python
false
false
236
py
from inhouseapp.logic import ViewPage class CoreMiddleware(object): def process_request(self, request): page_logic = ViewPage(request) page_logic.store_request() return None # Continue processing request
[ "anudeepnaidu95@gmail.com" ]
anudeepnaidu95@gmail.com
15992887749792a91893efdc868b466abfc69271
54f352a242a8ad6ff5516703e91da61e08d9a9e6
/Source Codes/CodeJamData/10/43/17.py
a3634453184472db4862522e0d3ba5512728d8a8
[]
no_license
Kawser-nerd/CLCDSA
5cbd8a4c3f65173e4e8e0d7ed845574c4770c3eb
aee32551795763b54acb26856ab239370cac4e75
refs/heads/master
2022-02-09T11:08:56.588303
2022-01-26T18:53:40
2022-01-26T18:53:40
211,783,197
23
9
null
null
null
null
UTF-8
Python
false
false
677
py
f = open('c.in', 'r') T = int(f.readline()) for t_no in range(T): n = int(f.readline()) P = [] A = [[0] * 102 for x in range(102)] for ii in range(n): x1, y1, x2, y2 = [int(x) for x in f.readline().split()] for i in xrange(x1, x2 + 1): for j in xrange(y1, y2 + 1): A[i + 1][j + 1] = 1 sol...
[ "kwnafi@yahoo.com" ]
kwnafi@yahoo.com
15ac7f6a18962fe20eab93efd63e4d98fa6ed951
42e5fd024ca7522c990d9627863302aa1f792804
/DeepWNCS/pytorch-gym-master/DDPG_from_baselines/base/logger.py
a68464c0bbf07080bd04bcb2d065d74ba70a1533
[]
no_license
msh0576/RL_WCPS
1f36de09ab6e4664b56ff929c69fab7de7314988
498a54f9777c5a849b0af491d9e76fcc470aa083
refs/heads/master
2023-06-08T19:13:33.676970
2020-11-30T05:30:02
2020-11-30T05:30:02
317,114,515
1
0
null
null
null
null
UTF-8
Python
false
false
12,504
py
import os import sys import shutil import os.path as osp import json import time import datetime import tempfile LOG_OUTPUT_FORMATS = ['stdout', 'log', 'csv', 'tensorboard'] # Also valid: json, tensorboard DEBUG = 10 INFO = 20 WARN = 30 ERROR = 40 DISABLED = 50 class KVWriter(object): def writekvs(self, kvs): ...
[ "msh0576@dgist.ac.kr" ]
msh0576@dgist.ac.kr
00210397585e0607e792cb67b96b608fee73e76f
cf57cd3355471f035ca429302742b4eb4baf1214
/Desempenho/Arquivos_Desempenho/FAST/FAST_sift/parserSiftMemoria.py
438545d16bfe401d998e5afd39a9f4238b7aec3b
[]
no_license
RobotColony-UEFS/feature-match
c56d78230d86948e5612a9645c71a0647eb94604
ac421989aa1ee3893243122a0cf041b30e038a28
refs/heads/master
2022-11-27T15:31:20.570505
2020-08-04T19:24:17
2020-08-04T19:24:17
285,063,878
0
0
null
null
null
null
UTF-8
Python
false
false
1,622
py
import math nImg = 1 con=0 l9 = [] l11 = [] l12 = [] l13 = [] l15 = [] l16 = [] l18 = [] l20 = [] l21 = [] l22 = [] while(nImg <= 13): teste = 1 while(teste <= 10): linhas = [] f = open("img"+str(nImg)+"/teste"+str(teste)+".txt", 'r') dados = f.readlines() for inf in dados: linhas.append(inf.split()) ...
[ "samuelreboucas07@hotmail.com" ]
samuelreboucas07@hotmail.com
334b4b21258315b1668ea273a6ba95dcf8c9fafe
b8d89bd2b0a4464146b349c6702d13caf776127b
/resticus/models.py
7d5af8bff08ae5449261576139d4963497432bab
[ "MIT" ]
permissive
ssteinerx/django-resticus
7683d20dbf30fe68f5c5ab04219d40f6b8f4627b
772a89d7bbe3ae72b2551f2dd5b823405460ddf8
refs/heads/develop
2020-12-24T06:44:54.998362
2016-11-11T14:17:39
2016-11-11T14:17:39
73,331,769
0
0
null
2016-11-10T00:06:54
2016-11-10T00:06:54
null
UTF-8
Python
false
false
927
py
import binascii import os from django.conf import settings from django.db import models from .compat import AUTH_USER_MODEL from .settings import api_settings class BaseToken(models.Model): key = models.CharField(max_length=40, primary_key=True) created = models.DateTimeField(auto_now_add=True) def __s...
[ "derek.payton@gmail.com" ]
derek.payton@gmail.com
31732184ab2b0c36adf08720f95635e46b04932c
b5ca0a2ce47fdb4306bbdffcb995eb7e6eac1b23
/Python/Numpy/Transpose and Flatten/Transpose_and_Flatten.py
93c5cc9d43ee42a4d10db5e735d7c517595f5de7
[]
no_license
rsoemardja/HackerRank
ac257a66c3649534197b223b8ab55011d84fb9e1
97d28d648a85a16fbe6a5d6ae72ff6503a063ffc
refs/heads/master
2022-04-14T22:46:03.412359
2020-04-03T07:44:04
2020-04-03T07:44:04
217,687,370
0
0
null
null
null
null
UTF-8
Python
false
false
260
py
import numpy inp = input() N, M = int(inp[0]), inp[1] running_list = [] for i in range(0, N): line = input().split() running_list.append([c for c in line]) arr = numpy.array(running_list, int) print((numpy.transpose(arr)), (arr.flatten()), sep='\n')
[ "rsoemardja@gmail.com" ]
rsoemardja@gmail.com
afaf7d803a6d900f0291960a8f3c26d44b651c4a
bb33e6be8316f35decbb2b81badf2b6dcf7df515
/source/res/scripts/common/site-packages/reload.py
142eb29ace2522be73a204ed8f3a17b28c1dc200
[]
no_license
StranikS-Scan/WorldOfTanks-Decompiled
999c9567de38c32c760ab72c21c00ea7bc20990c
d2fe9c195825ececc728e87a02983908b7ea9199
refs/heads/1.18
2023-08-25T17:39:27.718097
2022-09-22T06:49:44
2022-09-22T06:49:44
148,696,315
103
39
null
2022-09-14T17:50:03
2018-09-13T20:49:11
Python
UTF-8
Python
false
false
9,224
py
# Python bytecode 2.7 (decompiled from Python 2.7) # Embedded file name: scripts/common/site-packages/reload.py import imp import sys import traceback import types NO_DEBUG = 0 LEVEL1 = 1 LEVEL2 = 2 DEBUG = NO_DEBUG OUTPUT_DIR = '.jit/output' SRC_DIRS = ('wot', 'wot_ext') def write(*args): newLst = [] for a in...
[ "StranikS_Scan@mail.ru" ]
StranikS_Scan@mail.ru
1a7d696de64bb4c69bd8089c683504ab86905eff
7bf39a70b426b376e15183333bf78344d48d7f0f
/subliminal/converters/addic7ed.py
cb892abccb1707b0bea4253c20fbd69fed1d0543
[ "MIT" ]
permissive
porroto/subliminal
d00330351d54a4465088103f4e9a14f115fefc3b
60610e203290c4d51fb72e6972e394cdce67e907
refs/heads/master
2020-12-28T23:05:16.315422
2013-10-29T11:43:20
2013-10-29T11:43:20
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,622
py
# -*- coding: utf-8 -*- from __future__ import unicode_literals from babelfish.converters.name import NameConverter class Addic7edConverter(NameConverter): def __init__(self): super(Addic7edConverter, self).__init__() self.from_addic7ed = {'Català': ('cat', None), 'Chinese (Simplified)': ('zho', N...
[ "diaoulael@gmail.com" ]
diaoulael@gmail.com
c4ed03cb5064d49c1a530b18e305eb5c8fd697b0
dbde211b68ba49790e664764cca6029790297f7c
/LeetCode/1209. Remove All Adjacent Duplicates in String II(Medium).py
eedd1b206ed37c671b248ba783b2f12276c8e3ed
[]
no_license
ineed-coffee/PS_source_code
6706eb29e7d38336ee98875589596e760ab46686
4ecd0a40cc73207d19d43c558983943b86a929aa
refs/heads/master
2023-05-22T07:34:15.407371
2021-06-14T09:59:44
2021-06-14T09:59:44
279,225,203
1
0
null
null
null
null
UTF-8
Python
false
false
630
py
class Solution: def removeDuplicates(self, s: str, k: int) -> str: flag=1 while flag: cnt=0 flag=False adj=set() for i,letter in enumerate(s): if (not i) or (letter!=cur): cur=letter cnt=...
[ "leey93ssu@gmail.com" ]
leey93ssu@gmail.com
72af8506cb60287f8f764fd18e135370a4a4a133
9b2255e0a474555d8a4d90f586e280d40224a181
/apps/webtheme/templatetags/theme_tags.py
91ab1936d210691d280546d404123a9e223cac2e
[]
no_license
rogeriofalcone/redirector
85f496f7c3a3c755b2d9f86f90d25ace783842e4
8255be80ce4e3245317864dcc580a1ef68a7c244
refs/heads/master
2020-04-08T07:03:19.053680
2012-08-12T19:13:35
2012-08-12T19:13:35
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,790
py
import re from django.conf import settings from django.template import Library, Node, TemplateSyntaxError from django.utils.safestring import mark_safe from webtheme.conf import settings as web_theme_settings register = Library() class GetThemeNode(Node): def __init__(self, var_name, *args): self.var_n...
[ "Roberto.Rosario.Gonzalez@gmail.com" ]
Roberto.Rosario.Gonzalez@gmail.com
ed7a0c455a965c19802b9b25844fd26094b6eb05
5caee0aea844d1024dadb1a3a551ed347c4ce534
/Amazon_interview/Array/array longest subsequent increasing order.py
e9654021cfc1f7af56df29cd1e93bea5f5aac8a4
[]
no_license
Shikhar0907/Algo-and-data-structure-questions
840c004acb93d7f97615d87fc8c69d73434b380d
27d24cd18a9878cb59a81ef8b39aa4e31d8b8a7a
refs/heads/master
2020-03-27T18:28:52.707843
2018-11-02T05:08:19
2018-11-02T05:08:19
146,924,651
0
0
null
null
null
null
UTF-8
Python
false
false
488
py
N = len(X) P = [0] * N M = [0] * (N+1) L = 0 for i in range(N): lo = 1 hi = L while lo <= hi: mid = (lo+hi)//2 if (X[M[mid]] < X[i]): lo = mid+1 else: hi = mid-1 newL = lo P[i] = M[newL-1] M[newL] ...
[ "shikharsuman59@gmail.com" ]
shikharsuman59@gmail.com
fbda42abca6e1fd0dfc99068021aea1d589084a5
a5597d74049fcbe1e1e3afca1f4196243f2e7c90
/glyce/dataset_readers/lm_char_data.py
f95e17bd672710c7c0158769907f92c462a1c5ea
[ "Apache-2.0" ]
permissive
YuChen17Heaven/glyce
72759d8699bbe37ecd2221e90b8ec06a8844fd29
62369e3cc37442ed191862b77d87d0c17c8454f8
refs/heads/master
2020-06-14T01:52:41.111642
2019-06-30T10:52:10
2019-06-30T10:52:10
194,857,610
1
0
null
null
null
null
UTF-8
Python
false
false
7,387
py
#!/usr/bin/env python3 # -*- coding: utf-8 -*- import os import sys root_path = "/".join(os.path.realpath(__file__).split("/")[:-3]) if root_path not in sys.path: sys.path.insert(0, root_path) import torch from torch.utils import data as D from torchvision import transforms as TF from PIL import Image ...
[ "xiaoyli@outlook.com" ]
xiaoyli@outlook.com
f339af70fed9ee27c81c6724b54c8d7faf9d9b61
dfa5a7a41a9c6837a76b42764315c74a3960fcb8
/deeplearning_from_scratch/mnist_test/mnist_show.py
9f9cf241617455154b08f4c58494c0ee1c022413
[]
no_license
sff1019/b4_startup_program
fb244bead08c89e764b191bffeb5747ca4cd9c63
91416b06b40855cecf47ef38eac4b2db84ee779e
refs/heads/master
2022-01-27T11:32:23.883754
2019-05-26T13:27:22
2019-05-26T13:27:22
181,627,392
0
0
null
null
null
null
UTF-8
Python
false
false
528
py
import sys, os sys.path.append(os.pardir) import numpy as np from PIL import Image from dataset.mnist import load_mnist def img_show(img): pil_img = Image.fromarray(np.uint8(img)) pil_img.show() if __name__ == '__main__': # Load image in 1d array and normalize input image (x_train, t_train), (x_tes...
[ "starfield1019@gmail.com" ]
starfield1019@gmail.com
06ba10add53d11f111afb9f5654806ef56ade38b
ca7aa979e7059467e158830b76673f5b77a0f5a3
/Python_codes/p02995/s076785723.py
812c92287c00c0ed50f0692b3b950b351bdce781
[]
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
367
py
# 解説動画みた: https://www.youtube.com/watch?v=XI8exXVxZ-Q # 最小公倍数 # ユーグリッドの互除法 import math def lcm(x, y): return (x * y) // math.gcd(x, y) def f(x, c, d): res = x res -= x//c res -= x//d res += x//lcm(c, d) return res a, b, c, d = map(int, input().split()) ans = f(b, d, c) - f(a-1, c, d) print(a...
[ "66529651+Aastha2104@users.noreply.github.com" ]
66529651+Aastha2104@users.noreply.github.com
e2cb402bf11205c85bda100c7ff32856f42dac7c
53fab060fa262e5d5026e0807d93c75fb81e67b9
/backup/user_210/ch133_2020_04_01_11_51_20_705270.py
504f7c5b21b52745945548f66c0d49178b72e841
[]
no_license
gabriellaec/desoft-analise-exercicios
b77c6999424c5ce7e44086a12589a0ad43d6adca
01940ab0897aa6005764fc220b900e4d6161d36b
refs/heads/main
2023-01-31T17:19:42.050628
2020-12-16T05:21:31
2020-12-16T05:21:31
306,735,108
0
0
null
null
null
null
UTF-8
Python
false
false
383
py
resp = input("Está funcionando? ") if resp == "s": print("Sem problemas") else: resp = input("Você sabe corrigir? (n/s) ") if resp == "s": print("Sem problemas") else: resp = input("Você precisa corrigir? (n/s) ") if resp == "s": print("Apague tudo e tente ...
[ "you@example.com" ]
you@example.com
8596ab0220ddd8a68f6bca3a4a58592d020220ab
045bd3dde7c88d6daa3015d22f1f37669e175b45
/session4/solutions_makefile.py
c8cdb8f715cbd8a8afca29fd9a6cad27ac47c6bc
[]
no_license
ynonp/basic-python-for-developers
723c46d1936b3a9ada9598c348c86170530fc154
8f016a1d1968acbac08397ef971649ccb5c6f157
refs/heads/main
2023-01-30T08:48:12.154495
2020-12-09T10:26:21
2020-12-09T10:26:21
313,548,700
0
0
null
null
null
null
UTF-8
Python
false
false
1,522
py
""" Lab: Create a class called "BuildTarget" that represents an object file we're building. Each build target has "Dependencies" which are other "BuildTarget" objects. When building a BuildTarget we should first build all of its dependencies. Let's assume that to build a "BuildTarget" we just need to print its name. ...
[ "ynonperek@gmail.com" ]
ynonperek@gmail.com
eb694b5c6c60f4d07599d54f8b76daaffaef6465
a5768474918a82eec6b4ce82081c94e9782fb2a2
/nabu/neuralnetworks/classifiers/lm/lm_decoders/lstm_decoder.py
1e4e8548a70f2f0bc3b29edff9c2e289944ab191
[ "MIT" ]
permissive
mattsoundswitch/nabu
5755fb19a979f7881c28ab22e5b95de253ecf04c
f4000dcfed0b76dd54c9dd354db6a74cb1a9964f
refs/heads/master
2021-01-22T19:48:24.436311
2017-03-06T18:34:03
2017-03-06T18:34:03
null
0
0
null
null
null
null
UTF-8
Python
false
false
3,539
py
'''@file lstm_decoder.py contains the LstmDecoder class''' import tensorflow as tf from nabu.neuralnetworks.classifiers.layer import Linear class LstmDecoder(object): '''The decoder object used in a LSTM language model''' def __init__(self, numlayers, numunits, dropout=1, name=None): '''speller constr...
[ "vincent.renkens@esat.kuleuven.be" ]
vincent.renkens@esat.kuleuven.be
125d22f79a20bc27865b9d2a43915893a54826e2
a57d514510af29c8ddfffd808331312c0f073275
/polyaxon/spawner/utils/jobs.py
ee5062a93e2e17debf0714ad165fb7858abd7f65
[ "MIT" ]
permissive
Africa-AI-Engineers/polyaxon
38d2d3e5ea287620100eb8c984d2d75d64b48925
d46fc3ba85d9ff2b680966cc940839eb02287021
refs/heads/master
2021-04-26T16:24:54.294968
2018-02-12T09:54:44
2018-02-12T09:54:44
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,922
py
# -*- coding: utf-8 -*- from __future__ import absolute_import, division, print_function from polyaxon_schemas.experiment import JobStateConfig from spawner.utils.constants import PodLifeCycle, JobLifeCycle, ContainerStatuses, PodConditions from spawner.utils import pods def get_job_status(pod_state, job_container_...
[ "mouradmourafiq@gmail.com" ]
mouradmourafiq@gmail.com
d9a4e21c44570f5d371011925f077496855c8ca9
0c6354f0cf927a9ed4c8945740a7c3301b578bbe
/qchess_web/manage.py
8a73ac18675317a6c7c1982d3b6467a644daaf83
[]
no_license
victorhook/qchess
b39cd97eda58c076b89405897708e65cb5bd9b3c
60b6e2d684c1634bf69db82e67f30790d72e051f
refs/heads/main
2023-01-31T19:33:51.293797
2020-12-11T17:47:41
2020-12-11T17:47:41
318,813,198
0
0
null
null
null
null
UTF-8
Python
false
false
666
py
#!/usr/bin/env python """Django's command-line utility for administrative tasks.""" import os import sys def main(): """Run administrative tasks.""" os.environ.setdefault('DJANGO_SETTINGS_MODULE', 'qchess_web.settings') try: from django.core.management import execute_from_command_line except I...
[ "victorkrook96@gmail.com" ]
victorkrook96@gmail.com
92ee3d9b215d1a63978db705a118eb6f6d422fb3
00820b522cc16bf996f1ef44a94a2f31989c4065
/abc/abc133/b.py
bbb85ca39e26ff73d6c527c7cc8f2eb75bd7ceb2
[]
no_license
yamato1992/at_coder
6dffd425163a37a04e37507743a15f67b29239fc
6e0ec47267ed3cae62aebdd3d149f6191fdcae27
refs/heads/master
2020-08-31T11:17:03.500616
2020-06-12T15:45:58
2020-06-12T15:45:58
218,678,043
0
0
null
null
null
null
UTF-8
Python
false
false
352
py
import math N, D = map(int, input().split()) x = [list(map(int, input().split())) for _ in range(N)] cnt = 0 for i in range(N - 1): for j in range(i + 1, N): total = 0 for (y, z) in zip(x[i], x[j]): total += abs(y - z) ** 2 dist = math.sqrt(total) if dist.is_integer(): ...
[ "yamato.mitsui.orleans@gmail.com" ]
yamato.mitsui.orleans@gmail.com
5d98a510336d1a4286a0bbf68af78d9060e05391
b5ced559324aa6ac19d7323c49024005455749e6
/examples/dql/lunarlander/lunarlander.py
8e1d0bb35bee8cd7b5900d85ad88634aa01c8c2d
[]
no_license
BlakeERichey/RLToolkit
ea55814de7a9271d5a3a628f06830b976ba7ae37
af9e6908b5fead755060fddae8fa4f8012c61cbc
refs/heads/master
2023-02-01T15:11:30.483873
2020-12-16T23:07:54
2020-12-16T23:07:54
237,295,029
1
0
null
null
null
null
UTF-8
Python
false
false
1,441
py
import gym import keras from keras.models import load_model from rltoolkit.agents import ANN from rltoolkit.methods import DQL from rltoolkit.utils import test_network from rltoolkit.callbacks import Checkpoint, Graph env = gym.make('LunarLander-v2') try: print(env.unwrapped.get_action_meanings()) except: pass #B...
[ "blake.e.richey@gmail.com" ]
blake.e.richey@gmail.com
a821b05c38e413c27309dc5f091fc3344fcb99dd
de468d3ec6b7b69664678789e5fa71b613b29687
/scine_heron/database/database_viewer_widget.py
29ee9fd910568b1edc03cd41434e6e2f5314875e
[ "BSD-3-Clause" ]
permissive
qcscine/heron
dc566bf8bfdd5b5271ed79faed249a6552390d0d
688d2a510fda9f6bfaf5ef3af91fa3b988703a28
refs/heads/master
2023-04-06T23:31:14.931706
2022-08-31T05:40:15
2022-08-31T05:40:15
526,650,129
2
0
null
null
null
null
UTF-8
Python
false
false
35,087
py
#!/usr/bin/env python3 # -*- coding: utf-8 -*- __copyright__ = """ This code is licensed under the 3-clause BSD license. Copyright ETH Zurich, Laboratory of Physical Chemistry, Reiher Group. See LICENSE.txt for details. """ from PySide2.QtWidgets import (QWidget, QVBoxLayout, QHBoxLayout, QTabWidget, QMenu, ...
[ "scine@phys.chem.ethz.ch" ]
scine@phys.chem.ethz.ch
4d28b93c82e11faa1acf2c54d7e3ebebcff15eca
f96953dd079bdc0f28769d16f422a5e669b4c4f7
/web_flask/3-python_route.py
9edf1141d49e221e7eae1f5a08fd04ce961f2232
[]
no_license
jozsa/AirBnB_clone_v2
68e32d99c2daf1f53c46531b5320a46ab31bee92
57410ea8f2c8eb5828274961f389e47f7a966e1c
refs/heads/master
2020-05-06T20:08:56.375076
2019-04-26T16:29:51
2019-04-26T16:29:51
180,224,124
0
1
null
2019-04-08T20:03:33
2019-04-08T20:03:32
null
UTF-8
Python
false
false
1,070
py
#!/usr/bin/python3 """ Defines return values for people requesting various parts of my web app """ from flask import Flask app = Flask(__name__) @app.route('/', strict_slashes=False) def hello(): """Returns Hello HBNB to anyone who submits a GET request to my app""" return 'Hello HBNB!' @app.route('/hbn...
[ "allisonjoyweiner@gmail.com" ]
allisonjoyweiner@gmail.com
a4924e7cc0f35188c0c5cf9bc7538f8e1c5c323f
b47f2e3f3298388b1bcab3213bef42682985135e
/experiments/fdtd-2d/tmp_files/1748.py
04ee1847ca446eb06326f40adeda26266cbb9fa3
[ "BSD-2-Clause" ]
permissive
LoopTilingBenchmark/benchmark
29cc9f845d323431e3d40e878cbfc6d1aad1f260
52a3d2e70216552a498fd91de02a2fa9cb62122c
refs/heads/master
2020-09-25T09:45:31.299046
2019-12-04T23:25:06
2019-12-04T23:25:06
225,975,074
0
0
null
null
null
null
UTF-8
Python
false
false
414
py
from chill import * source('/uufs/chpc.utah.edu/common/home/u1142914/lib/ytopt_vinu/polybench/polybench-code/stencils/fdtd-2d/kernel.c') destination('/uufs/chpc.utah.edu/common/home/u1142914/lib/ytopt_vinu/experiments/fdtd-2d/tmp_files/1748.c') procedure('kernel_fdtd_2d') loop(0) known(' nx > 1 ') known(' ny > 1 ') ti...
[ "nashenruoyang@163.com" ]
nashenruoyang@163.com
e551eacf155a7b27e6a95566ce98f7b9100ddd18
8ad573e455450ce45b8dfd1cb995a8ce43f9a114
/persistence/database/entity/user/car_owner.py
423a6ba2ae1348d9cae8ed03804af068d69c7842
[]
no_license
afsaneh92/dr_autol
4da458b8a6682603c227e34a1a827a5918d40831
a1bd6d55ce9b67543ad7387631c48440dd38f68d
refs/heads/master
2022-12-23T08:32:47.851059
2019-12-10T13:51:24
2019-12-10T13:51:24
227,130,083
0
0
null
2022-12-08T01:05:23
2019-12-10T13:38:52
Python
UTF-8
Python
false
false
2,998
py
from passlib.hash import pbkdf2_sha256 from sqlalchemy.exc import InvalidRequestError from app import db, global_logger from core.messages.translator.messages_keys import MessagesKeys from core.result.success.success_update import SuccessUpdate from core.validation.helpers import db_error_message from persistence.data...
[ "forafsaneh.91@gmail.com" ]
forafsaneh.91@gmail.com
0dbfd008fb034d034343a6a727a3c5c5b9cc5947
7cbb47f0e1612c54299773c1cd39ef6b95d457af
/trial.py
eb6c3d224416722f0740ec53ab58a349dcfa298f
[]
no_license
fahimkk/eight_queen_puzzle
694501827c1cc85999157b0871cac4c9a25e69cb
c14f49ebc2fb3b1c05570a35d833eea4b1ee9b18
refs/heads/master
2023-01-05T21:34:13.730457
2020-10-25T16:00:11
2020-10-25T16:00:11
307,129,777
0
0
null
null
null
null
UTF-8
Python
false
false
1,067
py
SIZE=8 def checkPlacement (partial, col, spread=1) : if not partial : return True else : if int(partial[-1]) in (col,col-spread,col+spread): return False else : return checkPlacement(partial[:-1], col, spread+1) def printBoard(partial) : if partial : col = int(partial[0]) lin = ". "*...
[ "fahimasharafkk@gmail.com" ]
fahimasharafkk@gmail.com
f4d001be7ca5d975d8dc337a5b90bd07fff9715a
5203d58b0e00caff0f716c68549072dabfc99fe2
/specs/full_stack/next_designate_ha/newton/add-certs.py
ce16e33a39f0b1c2f8ee2adada0c337094d32cfe
[]
no_license
openstack-charmers/openstack-mojo-specs
800a87280a55313bca7aec6dedc72b6097cad91f
c2224c595b0a264f24b145938ca2734c14dbbea6
refs/heads/master
2021-10-09T03:43:00.063224
2021-10-08T14:20:23
2021-10-08T14:20:23
126,203,312
3
9
null
2021-10-08T14:20:23
2018-03-21T15:50:04
Python
UTF-8
Python
false
false
37
py
../../../../helper/setup/add-certs.py
[ "liam.young@canonical.com" ]
liam.young@canonical.com
2b445e58ada9ff59d6720333cfb0801cf4c528f0
487ce91881032c1de16e35ed8bc187d6034205f7
/codes/CodeJamCrawler/16_0_3/philippica/a.py
1ef6545dbe4326ddb92ca83f176cec8fb18691ef
[]
no_license
DaHuO/Supergraph
9cd26d8c5a081803015d93cf5f2674009e92ef7e
c88059dc66297af577ad2b8afa4e0ac0ad622915
refs/heads/master
2021-06-14T16:07:52.405091
2016-08-21T13:39:13
2016-08-21T13:39:13
49,829,508
2
0
null
2021-03-19T21:55:46
2016-01-17T18:23:00
Python
UTF-8
Python
false
false
761
py
f = open ("a.txt",'w') printable = 1 def isPrime(n): if n <= 1: return False for i in range(2, n): if i * i > n : break if i > 200: return True if n % i == 0: if printable == 0: f.write (str(i) + " ") return False return True def fun(x,bas): now = 1 ret = 0 while x != 0...
[ "[dhuo@tcd.ie]" ]
[dhuo@tcd.ie]
ec417513e05c3d3c459ad3dee86bf04b08eef291
b323fe5968aea700322428ba6bd239b45bc88c00
/sohpen/website/migrations/0010_auto_20170525_0545.py
23c880420efd367486c17684fdf67ee5c8f394ea
[]
no_license
aakashres/sophen
a1862be0fe4aaac51a03f111c1943c1e44f517cb
d84b8e8640f10eef22a79b8afba3e226405f9e5d
refs/heads/master
2022-11-08T01:46:05.697691
2017-11-06T11:10:22
2017-11-06T11:10:22
273,651,423
0
0
null
null
null
null
UTF-8
Python
false
false
403
py
# -*- coding: utf-8 -*- # Generated by Django 1.11.1 on 2017-05-25 05:45 from __future__ import unicode_literals from django.db import migrations class Migration(migrations.Migration): dependencies = [ ('website', '0009_auto_20170525_0544'), ] operations = [ migrations.AlterModelManager...
[ "aakash.shres@gmail.com" ]
aakash.shres@gmail.com
18b7dbf082d98c3c0cacd9bfe7f3c2026720d065
2bdedcda705f6dcf45a1e9a090377f892bcb58bb
/src/main/output/result_kerberos/people_business/city/water/kerberos_air_office/problem_member/law.py
1381af4cac8558519ac6f903620814e5067a3bb4
[]
no_license
matkosoric/GenericNameTesting
860a22af1098dda9ea9e24a1fc681bb728aa2d69
03f4a38229c28bc6d83258e5a84fce4b189d5f00
refs/heads/master
2021-01-08T22:35:20.022350
2020-02-21T11:28:21
2020-02-21T11:28:21
242,123,053
1
0
null
null
null
null
UTF-8
Python
false
false
6,699
py
# Luis Translator Bot Sample This sample shows how to translate incoming and outgoing text using a custom middleware and the [Microsoft Translator Text API](https://docs.microsoft.com/en-us/azure/cognitive-services/translator/). This bot example uses [`restify`](https://www.npmjs.com/package/restify) and [`dotenv`](ht...
[ "soric.matko@gmail.com" ]
soric.matko@gmail.com
b5f31c3ca74ad7e42cc17270621dfbb57994c057
5afa0b8e447bb6b1565a64d201ee38adfa406e44
/rapidsmsrw1000/apps/ubuzima/reports/bir.py
4cfec5c580fe2f1a68b1ff2ab982491d9748472d
[]
no_license
daaray/rapidsmsrw1000
98ad2cb24a4b5cbbd8b496c64ad357c6ff687874
013a06a61987b18e61bdb0da8da09140b8b16d9a
refs/heads/master
2020-12-25T00:38:29.934693
2013-03-26T07:15:11
2013-03-26T07:15:11
null
0
0
null
null
null
null
UTF-8
Python
false
false
3,756
py
####SAMPLE MESSAGE ##### ##res_EN = "The correct format message is: BIR MOTHER_ID TWINS CHILD_NUM DOB SEX ACTION_CODE LOCATION_CODE BREASTFEEDING CHILD_WEIGHT" ##res_FR = "Andika: BIR INDANGAMUNTU IMPANGA NUMERO ITARIKI_AVUTSE IGITSINA IBIBAZO AHO_AVUKIYE KONKA IBIRO" ##msg = "BIR 1198156435491265 TW 01 13.02.2011 GI P...
[ "zigdidier@gmail.com" ]
zigdidier@gmail.com
1012d700a01fa6df1d9b21ced68d9e98c94dc452
91de7cc36b94d9667192850681635ca75c08929b
/pelican_manager/views.py
0b75b4b54aad413b7ac2ba8cac270433159b0694
[ "Apache-2.0" ]
permissive
xiaojieluo/pelican-manager
9516e871dc3c7fac8b732bde9ab46f9b57895dfa
9e0839074d9b50faa3ee6a20df1f415e9ba15b0b
refs/heads/master
2022-11-17T23:44:43.439166
2018-02-20T06:26:36
2018-02-20T06:26:36
119,359,213
1
0
Apache-2.0
2022-11-08T14:41:39
2018-01-29T09:10:46
HTML
UTF-8
Python
false
false
3,463
py
from flask import (current_app, render_template, url_for, request, Blueprint, flash, redirect,abort) from pelican_manager.utils import iterdir import sys, os from pelican_manager.article import article_factory from pelican_manager.forms import ArticleForm, SettingForm, ServerSettingForm import copy ...
[ "xiaojieluoff@gmail.com" ]
xiaojieluoff@gmail.com
7eda86e2301b325d43bc475cd99b699c7dade605
32fb781cb6718ef90c4fdfba0469f9278380a256
/AntShares/Implementations/Wallets/config.py
c9b052e1e83cc4cf25633369f995c3d7a075b15b
[ "MIT" ]
permissive
OTCGO/sync_antshares
1dcd6f809518ff2f9f89047d7da5efedb14e8625
5724a5a820ec5f59e0c886a3c1646db2d07b4d78
refs/heads/master
2021-01-22T22:49:26.094742
2017-12-14T17:15:33
2017-12-14T17:15:33
85,582,206
10
3
null
null
null
null
UTF-8
Python
false
false
239
py
#!/usr/bin/env python class Mongo: def __init__(self, host='localhost', port=27017, usr=None, pwd=None): self.host = host self.port = port self.usr = usr self.pwd = pwd bcdb = Mongo(host='10.0.74.48')
[ "flowjacky@gmail.com" ]
flowjacky@gmail.com
c87bf104dab3c0151ad5e8f666ab61bb7a406bf3
b18e1d3849224dcfbdfbd323128efd7d56fd7a5b
/apps/files/models.py
b93e9b0153c2dd1c0ab6c83db191c08140da0cb4
[]
no_license
yunmanger/django-coderblog
2bd6255d9dd5948549d887f8dcffe558d597bc96
e4f57fa677594136795c77edc3eeccaf3a18b060
refs/heads/master
2021-07-04T16:30:01.899151
2011-02-01T10:52:40
2011-02-01T10:52:40
733,646
0
1
null
2020-10-01T14:03:30
2010-06-22T10:48:48
Python
UTF-8
Python
false
false
518
py
from django.db import models from django.contrib.auth.models import User import os class File(models.Model): def specific_dir(self, filename): return "files/uploads/%s/%s" % (self.user.username, filename) user = models.ForeignKey(User) file = models.FileField(upload_to=specific_dir) def g...
[ "germanilyin@gmail.com" ]
germanilyin@gmail.com
5004aa4e306b246de44f4935d744ccc11fd2b679
828f1009c1fe37c2240516c9afaaa9f78d9c3da0
/bin/lib/d3_utils.py
66ccd895f6f161d05d49a3e67c5a302164d84573
[ "MIT" ]
permissive
d-gold/data_utils3
433a8b82d1264b1d8377f11f190dc7d13ba8db8a
fe478a79a953a411a7607c323d674cedab018545
refs/heads/master
2021-01-20T21:53:28.623749
2014-10-31T14:24:35
2014-10-31T14:24:35
null
0
0
null
null
null
null
UTF-8
Python
false
false
505
py
import re def pct_change(old, new): """@todo: Docstring for pct_change. :old: @todo :new: @todo :returns: @todo """ return (new - old) / old * 100 # return (new != 0 and (new - old) / old * 100) or new def flatten_expressions(expressions, sep=r'\s*;\s*'): """@todo: Docstring for fl...
[ "autowitch@autowit.ch" ]
autowitch@autowit.ch
73f2362206f78ef252f9887c65bbbd29928d2cb7
1fccf52e0a694ec03aac55e42795487a69ef1bd4
/src/euler_python_package/euler_python/medium/p362.py
d47fb525032ed0e137d12c7f0e07ef23ca8d46e3
[ "MIT" ]
permissive
wilsonify/euler
3b7e742b520ee3980e54e523a018cd77f7246123
5214b776175e6d76a7c6d8915d0e062d189d9b79
refs/heads/master
2020-05-27T12:15:50.417469
2019-09-14T22:42:35
2019-09-14T22:42:35
188,614,451
0
0
null
null
null
null
UTF-8
Python
false
false
27
py
def problem362(): pass
[ "tom.andrew.wilson@gmail.com" ]
tom.andrew.wilson@gmail.com
7e10a84b18d4f90d7282e68576d6490609f50616
faa84a83a3d347ac8b17cab2fa0599c65652a85d
/uliweb/utils/ipython_extension.py
4766acb5dc0e8dd2e88b47a5d04915468048e41a
[ "BSD-2-Clause", "BSD-3-Clause" ]
permissive
limodou/uliweb
4d829568cb6bab4a807fb80adb84b6aa1d0e76ab
8bc827fa6bf7bf58aa8136b6c920fe2650c52422
refs/heads/master
2023-08-22T09:10:34.609797
2021-07-04T01:20:33
2021-07-04T01:20:33
283,042
230
65
BSD-2-Clause
2019-07-29T11:17:01
2009-08-20T13:50:46
Python
UTF-8
Python
false
false
1,288
py
def make_shell_env(**kwargs): import os import sys from uliweb import functions, settings from uliweb.core.SimpleFrame import Dispatcher from uliweb.manage import make_simple_application project_dir = '.' application = make_simple_application(project_dir=project_dir) if project_dir not...
[ "limodou@gmail.com" ]
limodou@gmail.com
a3d6f90349acaf4d22a605fbc94aa253f2137272
11aaeaeb55d587a950456fd1480063e1aed1d9e5
/.history/ex45-test_20190612200815.py
66849ae27deb0305a37fd1e846ac2ba4a3565d72
[]
no_license
Gr4cchus/Learn-Python-3-The-Hard-Way
8ce9e68f6a91ea33ea45fe64bfff82d65422c4a8
f5fa34db16cdd6377faa7fcf45c70f94bb4aec0d
refs/heads/master
2020-05-17T23:18:29.483160
2019-06-26T18:42:52
2019-06-26T18:42:52
184,023,439
0
0
null
null
null
null
UTF-8
Python
false
false
1,697
py
class Scenes(object): # def __init__(self): # # self.starting_room = starting_room # # self.locations = { # # 'room1': Room1(), # # 'room2': Room2() # # } map_list = [ 'room1', 'room2', 'finish' ] def start(self):...
[ "ahivent@gmail.com" ]
ahivent@gmail.com
067488da43b8b725435fda03291d1622eb41de3d
575ab9f0027d82a26041f37a443cda16cf010379
/DeepLearning/GAN/__init__.py
9720358c45321c131d333cf2bb263c6decd6b7c2
[]
no_license
huning2009/MachineLearning
ca665d63c6924d6229bcdea09d0e9fe715d2d1c8
016b98eae7e31aab4e2ca5a14e86150f31e97bba
refs/heads/master
2022-04-08T06:01:05.370260
2020-03-12T04:24:16
2020-03-12T04:24:16
null
0
0
null
null
null
null
UTF-8
Python
false
false
101
py
#-*- coding:utf-8 _*- """ @author:charlesXu @file: __init__.py.py @desc: @time: 2017/11/20 """
[ "charlesxu86@163.com" ]
charlesxu86@163.com
ab765ee4f0d686eac6a5590ebca214071bd8c4f9
82b946da326148a3c1c1f687f96c0da165bb2c15
/sdk/python/pulumi_azure_native/domainregistration/v20150401/get_domain_ownership_identifier.py
5633ea2556dbee8c74665a6791ec0ce114f4325e
[ "Apache-2.0", "BSD-3-Clause" ]
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
3,916
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
d152f3fb0db181cf5340020baf9f37dfeb47c6f2
c83e356d265a1d294733885c373d0a4c258c2d5e
/mayan/apps/user_management/tests/literals.py
12b44a9f385fb5142a7e9e98aa9b56127d1ad3b8
[ "Apache-2.0" ]
permissive
TrellixVulnTeam/fall-2021-hw2-451-unavailable-for-legal-reasons_6YX3
4160809d2c96707a196b8c94ea9e4df1a119d96a
0e4e919fd2e1ded6711354a0330135283e87f8c7
refs/heads/master
2023-08-21T23:36:41.230179
2021-10-02T03:51:12
2021-10-02T03:51:12
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,013
py
TEST_CASE_GROUP_NAME = 'test case group' TEST_CASE_SUPERUSER_EMAIL = 'test_case_superuser@example.com' TEST_CASE_SUPERUSER_PASSWORD = 'test case superuser password' TEST_CASE_SUPERUSER_USERNAME = 'test_case_superuser' TEST_CASE_USER_EMAIL = 'test_case_user@example.com' TEST_CASE_USER_PASSWORD = 'test case user...
[ "79801878+Meng87@users.noreply.github.com" ]
79801878+Meng87@users.noreply.github.com
d97d5cba6f2035192ccb16ede8003623dbfccd3d
112882b8d6c5071e7d2610c595bfca9210c79a0a
/tools/leetcode.124.Binary Tree Maximum Path Sum/leetcode.124.Binary Tree Maximum Path Sum.submission10.py
79a248e2b7ec628398e5ce13f2e1e6aa40d56138
[ "MIT" ]
permissive
tedye/leetcode
193b1900d98e35d5c402013cbe3bc993d0235da2
975d7e3b8cb9b6be9e80e07febf4bcf6414acd46
refs/heads/master
2021-01-01T19:06:06.408135
2015-10-24T06:44:40
2015-10-24T06:44:40
41,804,923
4
0
null
null
null
null
UTF-8
Python
false
false
637
py
# Definition for a binary tree node # class TreeNode: # def __init__(self, x): # self.val = x # self.left = None # self.right = None class Solution: # @param root, a tree node # @return an integer def maxPathSum(self, root): if not root: return 0 res = [-0x7ffff...
[ "tedye@bu.edu" ]
tedye@bu.edu
08029c788aedb87a9115070662d376ec3b8c30d7
0ea64713582df26190354acc39eeedba513e7548
/100_days_of_code/70-72-Excel-automation-with-openpyxl/excel_automation.py
26dddd1b4def12c60e39819fd1f4a886a4f22bf6
[]
no_license
SimonSlominski/Pybites_Exercises
38e9fe477a4539f4e96347c19a6b49df40028d48
07f95ec7bfd3c3563478e3d161425f8d4e50c945
refs/heads/master
2023-08-04T14:56:58.795590
2023-08-03T10:03:43
2023-08-03T10:29:20
241,180,910
2
0
null
2021-04-20T19:47:02
2020-02-17T18:39:07
Python
UTF-8
Python
false
false
295
py
from openpyxl import load_workbook wb = load_workbook('Financial Sample.xlsx') ws1 = wb['Finances 2017'] maxrow = ws1.max_row def insert_sum(): ws1['L' + str(maxrow)] = "=SUM(L2:L" + str(maxrow - 1) + ")" if __name__ == "__main__": insert_sum() wb.save('Financial Sample.xlsx')
[ "simon.slominski@gmail.com" ]
simon.slominski@gmail.com
80e7f26655f8f848753768c0cef0c03895943af2
d7d19d6918029de88bcf060cea23d5b4a1f7efb1
/xiab/apps/exercises/migrations/0003_auto_20180812_2240.py
d615cc4cf5d8270a7846935e9cf398042eb99be4
[]
no_license
petercollingridge/xiab
8abe2b2b7124eeb0cfa06d2f21ce858a4ffbd975
ae84d3d228f3fe9392d0fd894652e290b219b1d2
refs/heads/master
2020-03-26T04:25:28.163381
2019-09-29T16:20:25
2019-09-29T16:20:25
144,503,055
1
1
null
null
null
null
UTF-8
Python
false
false
1,261
py
# Generated by Django 2.0.8 on 2018-08-12 22:40 from django.db import migrations, models import django.db.models.deletion import modelcluster.fields import wagtail.core.fields class Migration(migrations.Migration): dependencies = [ ('exercises', '0002_auto_20180812_2238'), ] operations = [ ...
[ "peter.collingridge@gmail.com" ]
peter.collingridge@gmail.com
9a05ab9c805eb050d9af4b5f59833f1e6830aa82
2afb1095de2b03b05c8b96f98f38ddeca889fbff
/My_Module/econometrics/Regression_module.py
66588c73da20d19c6ef3666f3386d0f76ead8c8f
[]
no_license
draganmoo/trypython
187316f8823296b12e1df60ef92c54b7a04aa3e7
90cb0fc8626e333c6ea430e32aa21af7d189d975
refs/heads/master
2023-09-03T16:24:33.548172
2021-11-04T21:21:12
2021-11-04T21:21:12
null
0
0
null
null
null
null
UTF-8
Python
false
false
6,816
py
import pandas as pd import numpy as np import re import statsmodels.api as sm class Dummies(): ''' This module converts a column data to dummy variables. Call Dummies(df_array, dummy_name, convert_df = True).make_dummy() to run this module Parameters: df_array: a ndarray...
[ "13701304462@163.com" ]
13701304462@163.com
5a5646eac794c85690904c39dbfc066ef94e9df4
7996dafe175a77e962e78cfd01cedf972a8ee99b
/demo/server.py
8a5e1d3df1689b8a84317d207b5f55e6ac3147c3
[]
no_license
nbgao/GAN-Landscape-Painting-Photo
ac6526fb241d25b6024b060e4d5647fa1e9c2932
23a851c23c248f1393f6a7dc94d96ea51703ebe5
refs/heads/master
2022-11-05T10:45:49.864873
2020-06-26T02:19:00
2020-06-26T02:19:00
271,481,827
0
0
null
null
null
null
UTF-8
Python
false
false
14,876
py
''' @Filename: server.py @Author: nbgao (Gao Pengbing) @Contact: nbgao@126.com ''' import argparse import time, itertools import io import os import sys sys.path.append('..') from dataset import ImageFolder from PIL import Image import torch from torchvision import transforms from torch.utils.data import DataLoader fro...
[ "nbgao@126.com" ]
nbgao@126.com
e55dafe121a0c1c96e91b0c84da0b82cf638d40f
3a1f696274e5bc437e57acfd451ae196bdd1b722
/homework1/AI_homework_1_宋品皓_1901213096/utils.py
0855a2e2e924ff73a122ccdeaff2f62c71a63652
[]
no_license
Ryanrenqian/AI_HW
bca8987ac6c787d2ec10efce90449678c7a001ec
a4c9f8abbe158ac591c5755dcc439e6a420923b4
refs/heads/master
2020-08-11T12:47:32.568123
2019-12-17T03:33:24
2019-12-17T03:33:24
214,567,342
4
3
null
null
null
null
UTF-8
Python
false
false
1,805
py
import math import os import errno import shutil def get_grid_dim(x): """ Transforms x into product of two integers :param x: int :return: two ints """ factors = prime_powers(x) if len(factors) % 2 == 0: i = int(len(factors) / 2) return factors[i], factors[i - 1] i = l...
[ "778315181@qq.com" ]
778315181@qq.com
a4838696aa63ea383b8f29b74e63c53220de10f8
49b1b98e9bbba2e377d8b5318fcc13776bbcb10b
/museum/spiders/exhibition98.py
188755638f4122c51e283e5c234a9cc9c2b8ab62
[]
no_license
BUCT-CS1808-SoftwareEngineering/MusemData_Collection_System
fa4e02ec8e8aaa9a240ba92cf7be33dbc0e8e31f
023e829c77037ba6d2183d8d64dcb20696b66931
refs/heads/master
2023-04-29T05:43:01.627439
2021-05-23T03:02:09
2021-05-23T03:02:09
360,040,880
0
0
null
2021-05-23T03:02:09
2021-04-21T05:18:41
Python
UTF-8
Python
false
false
1,124
py
import scrapy from museum.items import exhibitionItem #爬取数据为空 class Exhibition98Spider(scrapy.Spider): name = 'exhibition98' #allowed_domains = ['www.xxx.com'] start_urls = ['http://www.lymuseum.com/bencandy.php?fid=60&id=37'] def parse(self, response): item = exhibitionItem() ...
[ "szqszq00766@163.com" ]
szqszq00766@163.com
16bd961c7feb7f23094cfc1c3141f95275b3d0af
2826bdf11463b199f20be351f514bcb16f35d04e
/.history/server_20210407015628.py
069c0e79fdb149c395ca99b0d5f696c8484aefb6
[]
no_license
Roarcannotprogramming/Sec_Client_Server
9efdb7e4c3e729cd6b5052b0ca0e23c14459ebc0
38f491e0e643e372c546eca73f9cf16c36513568
refs/heads/master
2023-04-11T12:40:12.780834
2021-04-17T15:53:47
2021-04-17T15:53:47
353,070,974
0
0
null
null
null
null
UTF-8
Python
false
false
1,110
py
import socket import ssl from time import sleep class server_ssl: def build_listen(self): CA_FILE = "CA.crt" KEY_FILE = "Server.key" CERT_FILE = "Server.crt" context = ssl.create_default_context(ssl.Purpose.CLIENT_AUTH) context.load_cert_chain(certfile=CERT_FILE, keyfile=KEY...
[ "z1991998920@gmail.com" ]
z1991998920@gmail.com
e986daa4860787f8c50573486ce0a121e1baffd2
583985f1daf3ad05aa8b7eb92f235d31d58ae0db
/ong/admin.py
4c4e1cb23c645a94f62e505eb59e0c76cb88fef7
[]
no_license
alrvivas/frijolitos
abb4c8f98496e917ac4948f1ad015a36ceaa1210
458dac8caeedd6eb627dcfad36e239d690cd3ec1
refs/heads/master
2021-07-02T22:03:00.821512
2017-09-23T22:24:00
2017-09-23T22:24:00
104,602,523
0
0
null
null
null
null
UTF-8
Python
false
false
115
py
from django.contrib import admin from .models import * admin.site.register(TipoEntidad) admin.site.register(ONG)
[ "alr.vivas@gmail.com" ]
alr.vivas@gmail.com
e652a162521ce453ea693182bb8c4af84850cfd5
bf3a266294c62cafc9508f7d85102c1d318c9bde
/project/spiders/ics/crawler/ktgg/spiders/province/gd/guang_zhou_fa_yuan_ting_shen_zhi_bo_wang.py
443f0871600c81acc0c7600e417249b3210f90d3
[]
no_license
stonegithubs/spiders
417442c94d2531b4b7e58990c5611de8dd9c1789
eeafe77fc8ab816e946522e99f02ba53b5350484
refs/heads/master
2020-07-15T09:17:03.305808
2019-08-30T08:40:30
2019-08-30T08:40:30
null
0
0
null
null
null
null
UTF-8
Python
false
false
5,788
py
# coding=utf-8 """ 广州法院庭审直播网 """ __author__ = 'wu_yong' import re import sys import time import traceback from bs4 import BeautifulSoup from ics.utils.exception_util import LogicException from ics.utils import get_ics_logger from ics.crawler.ktgg.core.constant import TASK_STATUS from ics.http.http_downloader import...
[ "31926990@qq.com" ]
31926990@qq.com
177ddda496960f421e89f8adcbcd77c235609d21
9cd4e3e5c1da2dc8ef577d91d36f3f50110947c6
/原电脑/study/beidaqingniao/day8/demo11.py
2f9ec3915433f06381872ed609b5c77a665f4efb
[]
no_license
sczhan/gsdiannao
459d982c437339af92e775d0fce5236a5d4d18bc
911736334dc23b03acbb844967ca62c791ef3b59
refs/heads/main
2023-06-09T01:00:45.915971
2021-06-25T17:52:39
2021-06-25T17:52:39
374,898,067
0
0
null
null
null
null
UTF-8
Python
false
false
1,007
py
from typing import * def find_local_sink(elevation_map: [List[int]], cell: List[int]) -> List[int]: if cell[0] > len(elevation_map) or cell[1] > len(elevation_map[0]): return False def local(min_map): return min_map[min(min_map)] dt = {elevation_map[cell[0]][cell[1]]: [cell[0], cell[1]]}...
[ "5481493@qq.com" ]
5481493@qq.com
fc34233bcaaf95a7767c5bc18733d6473f14cf2f
4bd555bc662b8182a2e7644976bfdb00ed5e1ebe
/PythonistaAppTemplate/PythonistaKit.framework/pylib_ext/mpmath/tests/test_interval.py
1fa86b6ab7fcecbd50954649029a1fdd9eb6a884
[]
no_license
fhelmli/homeNOWG2
a103df1ef97194dec9501dbda87ec1f7c111fb4a
e794fd87b296544542fd9dc7ac94c981c6312419
refs/heads/master
2020-04-04T13:40:20.417769
2019-01-30T21:41:04
2019-01-30T21:41:04
155,970,686
0
0
null
null
null
null
UTF-8
Python
false
false
17,152
py
#import pythonista from mpmath import * def test_interval_identity(): iv.dps = 15 assert mpi(2) == mpi(2, 2) assert mpi(2) != mpi(-2, 2) assert not (mpi(2) != mpi(2, 2)) assert mpi(-1, 1) == mpi(-1, 1) assert str(mpi('0.1')) == "[0.099999999999999991673, 0.10000000000000000555]" assert repr...
[ "tberk@gmx.at" ]
tberk@gmx.at
c9a0f63132e986771977ccb6edbd786fa3ac281c
81407be1385564308db7193634a2bb050b4f822e
/the-python-standard-library-by-example/codecs/codecs_invertcaps_error.py
142c40ddf721ffc73bfc38052fdecb56549fbafd
[ "MIT" ]
permissive
gottaegbert/penter
6db4f7d82c143af1209b4259ba32145aba7d6bd3
8cbb6be3c4bf67c7c69fa70e597bfbc3be4f0a2d
refs/heads/master
2022-12-30T14:51:45.132819
2020-10-09T05:33:23
2020-10-09T05:33:23
305,266,398
0
0
MIT
2020-10-19T04:56:02
2020-10-19T04:53:05
null
UTF-8
Python
false
false
489
py
#!/usr/bin/env python # encoding: utf-8 # # Copyright (c) 2010 Doug Hellmann. All rights reserved. # """Error handling with character map encodings. """ #end_pymotw_header import codecs from codecs_invertcaps_charmap import encoding_map text = u'pi: π' for error in [ 'ignore', 'replace', 'strict' ]: try: ...
[ "350840291@qq.com" ]
350840291@qq.com