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
bd63b8e1ecf45c334724bc34debf628114b3047e
f734a39a0c37186e90caea597f13000823c9e67a
/leetcode/Hash Table/1213. Intersection of Three Sorted Arrays.py
658d6de9e6d97a5ad69bbe7071633e6fde37a8e0
[ "MIT" ]
permissive
yanshengjia/algorithm
681746e0371a82860e64a279bfe4c83545469641
46caaf74aeab8af74861fb5b249eb4169baf8493
refs/heads/master
2022-08-02T20:15:57.927418
2022-07-17T14:43:51
2022-07-17T14:43:51
192,160,418
69
32
null
null
null
null
UTF-8
Python
false
false
1,006
py
""" Given three integer arrays arr1, arr2 and arr3 sorted in strictly increasing order, return a sorted array of only the integers that appeared in all three arrays. Example 1: Input: arr1 = [1,2,3,4,5], arr2 = [1,2,5,7,9], arr3 = [1,3,4,5,8] Output: [1,5] Explanation: Only 1 and 5 appeared in the three arrays. Sol...
[ "i@yanshengjia.com" ]
i@yanshengjia.com
7c2d99114b3aafbeb624eb534da25400a8ae4e87
06c1d6bcd099bf1c25abb52ba07351b068d1ab16
/Unidad_3/leccion_3.py
7c26b82dce0e0e918ab604fafd4e3dc5a427c8aa
[]
no_license
dafnemus/python-curso-udemy
1105e5f51980d6f5ec32dac338ebc340250c6384
493717fb321b24bd5abcadb8e27d25d68b4f12f8
refs/heads/main
2023-03-09T12:27:41.934087
2021-02-24T18:34:56
2021-02-24T18:34:56
337,728,568
0
0
null
null
null
null
UTF-8
Python
false
false
2,638
py
# pylint: disable=missing-docstring # 1. Aplica un incremento de sueldo del 8% al salario de un trabajador. # Para ello, recuerda que primero debes solicitar el monto base del salario. def incrementar_sueldo(sueldo): incremento = 0.08 valor_incrementado = sueldo * incremento sueldo_incrementado = sueldo + ...
[ "dafnemus@gmail.com" ]
dafnemus@gmail.com
19c1083ddebaae8a8cafbbfcbc4f663167f858b0
79fa6f3a9c0c07b2768b5c67d48cd2d3ada921c7
/kikimr/public/api/grpc/ydb_export_v1_pb2.py
8b1ed589a3769c3321e6a8c3913604b83594a9b6
[ "Apache-2.0" ]
permissive
clumpytuna/ydb-python-sdk
8dd951a532045587fcba1d541b3fb8798c358318
f09d8db19f62032738ed77dabb3672c3e0f86cc3
refs/heads/master
2023-06-09T22:38:29.747969
2021-06-30T08:09:14
2021-06-30T08:09:14
319,103,389
0
0
NOASSERTION
2020-12-06T18:32:35
2020-12-06T18:32:34
null
UTF-8
Python
false
true
2,581
py
# Generated by the protocol buffer compiler. DO NOT EDIT! # source: kikimr/public/api/grpc/ydb_export_v1.proto import sys _b=sys.version_info[0]<3 and (lambda x:x) or (lambda x:x.encode('latin1')) from google.protobuf import descriptor as _descriptor from google.protobuf import message as _message from google.protobu...
[ "arcadia-devtools@yandex-team.ru" ]
arcadia-devtools@yandex-team.ru
f18aa97b5ffc96f15248cad15ddee3ba1135c971
4a36b5979b0753b32cff3956fd97fb8ed8b11e84
/0.22/_downloads/aaf6e18611e50c34953a2674b6489a9c/plot_30_info.py
6f27946faf6e543cadc3b69272928b6c607cd2ee
[]
permissive
mne-tools/mne-tools.github.io
8aac7ae10bf2faeeb875b9a351a5530dc0e53154
495e878adc1ef3374e3db88604504d7542b01194
refs/heads/main
2023-09-03T07:06:00.660557
2023-09-03T04:10:18
2023-09-03T04:10:18
35,639,371
12
16
BSD-3-Clause
2023-05-05T19:04:32
2015-05-14T22:04:23
HTML
UTF-8
Python
false
false
8,689
py
# -*- coding: utf-8 -*- """ .. _tut-info-class: The Info data structure ======================= This tutorial describes the :class:`mne.Info` data structure, which keeps track of various recording details, and is attached to :class:`~mne.io.Raw`, :class:`~mne.Epochs`, and :class:`~mne.Evoked` objects. .. contents:: ...
[ "larson.eric.d@gmail.com" ]
larson.eric.d@gmail.com
1692e595b877b44d05dbf5b3b8052e97d5d06780
1d928c3f90d4a0a9a3919a804597aa0a4aab19a3
/python/matplotlib/2019/8/figure.py
4e0cc02f9b055f7b8ac7ab105f45c733614451a0
[]
no_license
rosoareslv/SED99
d8b2ff5811e7f0ffc59be066a5a0349a92cbb845
a062c118f12b93172e31e8ca115ce3f871b64461
refs/heads/main
2023-02-22T21:59:02.703005
2021-01-28T19:40:51
2021-01-28T19:40:51
306,497,459
1
1
null
2020-11-24T20:56:18
2020-10-23T01:18:07
null
UTF-8
Python
false
false
101,029
py
""" The figure module provides the top-level :class:`~matplotlib.artist.Artist`, the :class:`Figure`, which contains all the plot elements. The following classes are defined :class:`SubplotParams` control the default spacing of the subplots :class:`Figure` Top level container for all plot elements. """ imp...
[ "rodrigosoaresilva@gmail.com" ]
rodrigosoaresilva@gmail.com
6733aab9ea53e9cbe7a36f8c18521ad328708815
fbbe424559f64e9a94116a07eaaa555a01b0a7bb
/pytorch/source/PIL/ImageQt.py
b747781c50bd2eede24eb9145a6224a4a90712ff
[ "MIT" ]
permissive
ryfeus/lambda-packs
6544adb4dec19b8e71d75c24d8ed789b785b0369
cabf6e4f1970dc14302f87414f170de19944bac2
refs/heads/master
2022-12-07T16:18:52.475504
2022-11-29T13:35:35
2022-11-29T13:35:35
71,386,735
1,283
263
MIT
2022-11-26T05:02:14
2016-10-19T18:22:39
Python
UTF-8
Python
false
false
6,558
py
# # The Python Imaging Library. # $Id$ # # a simple Qt image interface. # # history: # 2006-06-03 fl: created # 2006-06-04 fl: inherit from QImage instead of wrapping it # 2006-06-05 fl: removed toimage helper; move string support to ImageQt # 2013-11-13 fl: add support for Qt5 (aurelien.ballier@cyclonit.com) # # Copyr...
[ "ryfeus@gmail.com" ]
ryfeus@gmail.com
b7174ad5e70aad83997120f3f26a0af8c31902f4
48e124e97cc776feb0ad6d17b9ef1dfa24e2e474
/sdk/python/pulumi_azure_native/network/v20210501/get_dscp_configuration.py
1dde2dd4b7042811e658cde1bbc7524c32f1811b
[ "BSD-3-Clause", "Apache-2.0" ]
permissive
bpkgoud/pulumi-azure-native
0817502630062efbc35134410c4a784b61a4736d
a3215fe1b87fba69294f248017b1591767c2b96c
refs/heads/master
2023-08-29T22:39:49.984212
2021-11-15T12:43:41
2021-11-15T12:43:41
null
0
0
null
null
null
null
UTF-8
Python
false
false
11,569
py
# coding=utf-8 # *** WARNING: this file was generated by the Pulumi SDK Generator. *** # *** Do not edit by hand unless you're certain you know what you are doing! *** import warnings import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload from ... import _utilities fro...
[ "noreply@github.com" ]
bpkgoud.noreply@github.com
4de5d342f5f6db3ec70d35c5b46c60132fe5dbc6
fae0af723a5d2b41fa57e5cc0bec700974440069
/tencentcloud/faceid/v20180301/models.py
a078bf16f7239b59287d4ff2c20a108960d6620c
[ "Apache-2.0" ]
permissive
simiaoxiaoseng/tencentcloud-sdk-python
dc319b492967044bf08756a7591e06d70f6d1e4b
e93b2291526946fd2381fc9e40f7f4c7f34c7c42
refs/heads/master
2020-04-12T19:11:46.876644
2018-12-20T13:39:13
2018-12-20T13:39:13
null
0
0
null
null
null
null
UTF-8
Python
false
false
14,143
py
# -*- coding: utf8 -*- # Copyright (c) 2017-2018 THL A29 Limited, a Tencent company. 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...
[ "tencentcloudapi@tencent.com" ]
tencentcloudapi@tencent.com
d41da186fe71beeba5d6a5db47eb2df882f9a820
44221bc0507955c1e62d256182291ac95514c4f6
/automatron_notify/__init__.py
e4ef215bc2aaa375436f09977691bf480f1315f1
[ "MIT" ]
permissive
automatron/automatron-notify
8c14ee5d8025ebefc7e9b7788e5414230c269676
4dcacfb3a56a51a7d1a7521f2ab9f7a895493f1a
refs/heads/master
2021-01-17T14:31:31.323071
2014-03-25T08:18:46
2014-03-25T08:18:46
null
0
0
null
null
null
null
UTF-8
Python
false
false
259
py
from automatron.core.event import IAutomatronEventHandler class IAutomatronNotifyHandler(IAutomatronEventHandler): def on_notify(server, username, title, body, body_as_html=None): """ Called when a notification is triggered. """
[ "iksteen@gmail.com" ]
iksteen@gmail.com
321adce537d7842bc56ed5889f848d7433663330
4b8d6d0c057049beabdc7a516bd0653af94894a6
/DRF_nextjs/asgi.py
c3274d19c1591f6d6331af69cbe01c1a6e03c5b4
[]
no_license
felipefoc/DRF-Next.Js
71a4d35cd2f69ffe84fb76b37a7094cc2950a71f
f8a904ec17d21e88590719ba98202d9fbcccf11e
refs/heads/main
2023-03-14T18:51:55.521287
2021-03-22T04:15:32
2021-03-22T04:15:32
350,203,864
0
0
null
null
null
null
UTF-8
Python
false
false
397
py
""" ASGI config for DRF_nextjs 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_SE...
[ "felipemfmayer@gmail.com" ]
felipemfmayer@gmail.com
141c85f367df5664a2789b37bc7d83c97dc4a197
b5a29700c3516cf12f837e2284e3844546205d09
/plugins/vipread_generic_plugin.py
2771bd40386bf812df6f131de4bd2ab09fe0bf1a
[]
no_license
p1g3/Collect-Info-Research
f609823486f36460186cfde27f4be7c9c5a058ae
e8e7366677a8642c3bcf4b103e43378762e6673c
refs/heads/master
2020-12-24T03:59:01.190032
2020-01-31T06:47:35
2020-01-31T06:47:35
237,374,792
37
12
null
null
null
null
UTF-8
Python
false
false
1,913
py
import asyncio import feedparser import ssl import pymongo from loguru import logger import datetime from dateutil import parser class vipread_generic_plugin: def __init__(self,loop,collection,lock): ssl._create_default_https_context = ssl._create_unverified_context self.headers = {'User-Agent':'Mozilla/5.0 (Wi...
[ "p1g3cyx@gmail.com" ]
p1g3cyx@gmail.com
80939f748aac5f3242ea0bc5610644cacf4f8ba9
d31d744f62c09cb298022f42bcaf9de03ad9791c
/lingvo/lingvo/tasks/car/input_preprocessors.py
5848311b990c04f1afc36ede62048283bad93104
[ "Apache-2.0" ]
permissive
yuhuofei/TensorFlow-1
b2085cb5c061aefe97e2e8f324b01d7d8e3f04a0
36eb6994d36674604973a06159e73187087f51c6
refs/heads/master
2023-02-22T13:57:28.886086
2021-01-26T14:18:18
2021-01-26T14:18:18
null
0
0
null
null
null
null
UTF-8
Python
false
false
136,426
py
# Lint as: python3 # Copyright 2019 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless ...
[ "nateweiler84@gmail.com" ]
nateweiler84@gmail.com
68c3277a9fe9cd3efe646288a0c0b687daeb5f40
9743d5fd24822f79c156ad112229e25adb9ed6f6
/xai/brain/wordbase/otherforms/_continua.py
1d4f1175f6f6eee08a5947b834b37af45e65325d
[ "MIT" ]
permissive
cash2one/xai
de7adad1758f50dd6786bf0111e71a903f039b64
e76f12c9f4dcf3ac1c7c08b0cc8844c0b0a104b6
refs/heads/master
2021-01-19T12:33:54.964379
2017-01-28T02:00:50
2017-01-28T02:00:50
null
0
0
null
null
null
null
UTF-8
Python
false
false
230
py
#calss header class _CONTINUA(): def __init__(self,): self.name = "CONTINUA" self.definitions = continuum self.parents = [] self.childen = [] self.properties = [] self.jsondata = {} self.basic = ['continuum']
[ "xingwang1991@gmail.com" ]
xingwang1991@gmail.com
144e5a7d1b97218faf780fe0706e3cee01e48160
37fdc797f0060a67c1e9318032bc7102d4fd9ecd
/spider/beautifulsoup_test/lib/python3.7/site-packages/twisted/names/test/test_server.py
1378cd4196e91a2ddb3a28c59f527bcdbe43cc1f
[ "LicenseRef-scancode-unknown-license-reference", "MIT" ]
permissive
Change0224/PycharmProjects
8fa3d23b399c5fb55661a79ca059f3da79847feb
818ba4fd5dd8bcdaacae490ed106ffda868b6ca4
refs/heads/master
2021-02-06T15:37:16.653849
2020-03-03T14:30:44
2020-03-03T14:30:44
243,927,023
0
0
null
null
null
null
UTF-8
Python
false
false
41,264
py
# Copyright (c) Twisted Matrix Laboratories. # See LICENSE for details. """ Test cases for L{twisted.names.server}. """ from __future__ import division, absolute_import from zope.interface.verify import verifyClass from twisted.internet import defer from twisted.internet.interfaces import IProtocolFactory from twist...
[ "lijj0224@163.com" ]
lijj0224@163.com
d604b39ae0f8e7002cb175fae59528062f11a466
5da988c176252fca1b558190eff74ef3b89afc9f
/instrumentation/opentelemetry-instrumentation-celery/src/opentelemetry/instrumentation/celery/__init__.py
d225e6bd069b0db9f870fc1da037a9f0be6aaf31
[ "Apache-2.0" ]
permissive
kinvolk/opentelemetry-python
3801376ee6bdb46d85d8876a97713e698e1241ce
47483865854c7adae7455f8441dab7f814f4ce2a
refs/heads/master
2023-05-25T19:36:05.130267
2020-11-02T17:29:59
2020-11-02T17:29:59
201,488,070
1
2
Apache-2.0
2023-05-16T18:48:46
2019-08-09T14:56:28
Python
UTF-8
Python
false
false
8,741
py
# Copyright The OpenTelemetry Authors # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in ...
[ "noreply@github.com" ]
kinvolk.noreply@github.com
26fc8b49fcc85ffb16820963727e86ecec723ae3
abccdbf9b0849b47960c3c352870793405debfed
/0x02-python-import_modules/3-infinite_add.py
319d74896baaa8ff2b1e4ae09a0a2729223fdf4b
[]
no_license
hunterxx0/holbertonschool-higher_level_programming
88b1b0f31b536c6940f2e64a6924a06ba9cbf193
44064cf0722cd20d93f58b64ab185d2898770d73
refs/heads/master
2022-12-20T12:14:15.877147
2020-09-24T21:25:54
2020-09-24T21:25:54
259,276,369
0
1
null
null
null
null
UTF-8
Python
false
false
290
py
#!/usr/bin/python3 if __name__ == "__main__": from sys import argv x = len(argv) if x == 2: print("{}".format(argv[1])) elif x == 1: print("0") else: s = 0 for i in range(1, x): s += int(argv[i]) print("{}".format(s))
[ "azouzimhamed@gmail.com" ]
azouzimhamed@gmail.com
ead86ff3ce709ffe0865987335eb19c8dcab3987
8a3c1c66828008941dffad983ad79936830045d7
/abc172/b.py
084cbc4ece4e6e4b1bae05f8ff60e9956d5934a1
[ "MIT" ]
permissive
nishio/atcoder
71130c7923f557b5269ffd8063dab1f7e2732a30
8db36537b5d8580745d5f98312162506ad7d7ab4
refs/heads/master
2023-04-15T07:41:00.322297
2021-04-25T09:00:26
2021-04-25T09:00:26
273,831,891
1
0
null
null
null
null
UTF-8
Python
false
false
72
py
S = input() T = input() print(sum(S[i] != T[i] for i in range(len(S))))
[ "nishio.hirokazu@gmail.com" ]
nishio.hirokazu@gmail.com
3cad8bd54419850ca2db1e342c3d3452f6f847f5
3b4b188514c33a1f4568baa59a2a385a2d7b6205
/config/urls.py
b7d78a9010e1d399cb8c68101fcb8d15635d4acf
[]
no_license
amyth/django-starter
5d74a7a5654611f966748523982d9d4591f1e43d
8a629cd717c038677488fd1860cc6001baf8c542
refs/heads/master
2020-05-17T17:32:46.993614
2014-09-24T07:15:17
2014-09-24T07:15:17
null
0
0
null
null
null
null
UTF-8
Python
false
false
633
py
""" Main project url confuguration module. Other url modules to be included in this module. """ from django.conf.urls import patterns, include, url from django.contrib import admin admin.autodiscover() urlpatterns = patterns('', # Custom apps' urls url(r'^', include('candidates.urls')), url(r'^', in...
[ "aroras.official@gmail.com" ]
aroras.official@gmail.com
087bc3914f01d56c5b118f5446be99dce12b524f
bd72c02af0bbd8e3fc0d0b131e3fb9a2aaa93e75
/Backtracking/restore_ip_addresses.py
9f2f7ded2404852ca3a967a2eb84096a1fa29da3
[]
no_license
harvi7/Leetcode-Problems-Python
d3a5e8898aceb11abc4cae12e1da50061c1d352c
73adc00f6853e821592c68f5dddf0a823cce5d87
refs/heads/master
2023-05-11T09:03:03.181590
2023-04-29T22:03:41
2023-04-29T22:03:41
222,657,838
1
0
null
null
null
null
UTF-8
Python
false
false
555
py
class Solution: def restoreIpAddresses(self, s: str) -> List[str]: def dfs(idx, path): if len(path) == 4 or idx == len(s): if len(path) == 4 and idx == len(s): output.append(".".join(path)) return for i in range(idx, min(idx + 3, le...
[ "iamharshvirani7@gmail.com" ]
iamharshvirani7@gmail.com
ef4a126562505db34aa836430078148dcbfd71a4
a462a24ff937e151e8151f3a1bdc9c3714b12c0e
/2021EJOR/scripts/mebb/mebb_11_51.py
17f1585137674da26b982b1f87cdbfac36fdc275
[]
no_license
noeliarico/kemeny
b4cbcac57203237769252de2c50ce959aa4ca50e
50819f8bf0d19fb29a0b5c6d2ee031e8a811497d
refs/heads/main
2023-03-29T14:36:37.931286
2023-03-16T09:04:12
2023-03-16T09:04:12
330,797,494
0
0
null
null
null
null
UTF-8
Python
false
false
188,718
py
import numpy as np import pandas as pd import time from kemeny import algorithms as alg rep = 3 results = np.zeros(0).reshape(0,7+rep) ############################################################## om = np.array([ [0,32,14,21,25,27,30,23,22,16,21], [19,0,15,18,16,21,21,18,18,17,17], [37,36,0,32,28,30,31,22,19,25,23]...
[ "noeliarico@uniovi.es" ]
noeliarico@uniovi.es
6ae2af63c360ac6ce8e469d4ef399d5bd20040d2
6e4e6b64c035881f1cff39db616b0a80e1568c51
/JOI7Qual/q1.py
360741c86f3ad98b0fc70d4bc433923644dfa0f2
[]
no_license
Lischero/Atcoder
f7471a85ee553e3ae791e3e5670468aea1fa53cc
f674d6a20a56eebdafa6d50d5d2d0f4030e5eace
refs/heads/master
2020-05-21T16:23:36.095929
2018-10-18T04:27:55
2018-10-18T04:27:55
60,671,810
0
0
null
null
null
null
UTF-8
Python
false
false
205
py
# -*- coding:utf-8 -*- N = int(input()) change = 1000 - N factors = [500, 100, 50, 10, 5, 1] ans = 0 for factor in factors: while change >= factor: change -= factor ans += 1 print(ans)
[ "vermouth.lischero@gmail.com" ]
vermouth.lischero@gmail.com
e2e6ae133a3c7d5e2a67478e807b2afbce460c4e
ca7aa979e7059467e158830b76673f5b77a0f5a3
/Python_codes/p02921/s327676216.py
8d79966a0d9b41817f7a2c90ca060bbf016f3e46
[]
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
625
py
# -*- coding: utf-8 -*- ## Library import sys from fractions import gcd import math from math import ceil,floor import collections from collections import Counter import itertools import copy ## input # N=int(input()) # A,B,C,D=map(int, input().split()) # S = input() # yoko = list(map(int, input().split())) # ta...
[ "66529651+Aastha2104@users.noreply.github.com" ]
66529651+Aastha2104@users.noreply.github.com
8a1420991c7365f09dd23479368f9c23d3c181f4
485cf3c70fcaa68689a2b690b6465f1d6bcf21bd
/Python_Coding_Tips/Code_py/Code(实例源码及使用说明)/01/11/2.列表拼接的4种方法/demo04.py
9c2228030fefdd2ff56cc3049a75ad004b1c1f83
[]
no_license
lxz0503/study_20190608
5ffe08c4704bb00ad8d1980baf16b8f5e7135ff4
47c37798140883b8d6dc21ec5da5bc7a20988ce9
refs/heads/master
2022-12-23T17:23:45.039015
2021-06-23T14:50:19
2021-06-23T14:50:19
190,884,812
1
3
null
2022-12-15T23:17:33
2019-06-08T12:22:56
Python
UTF-8
Python
false
false
1,015
py
# *_* coding : UTF-8 *_* # 开发团队 :明日科技 # 开发人员 :Administrator # 开发时间 :2019/7/1 15:32 # 文件名称 :demo04.py # 开发工具 :PyCharm gem = [["大众",643518],["奔驰",319163],["宝马",265051],["福特",252323],["雪铁龙",227967],["奥迪",255300]] fra = [["雪铁龙", 698985],["雷诺",547704],["大众",259268],["福特",82633],["宝马",84931],["奔驰",73254]] eng = [[...
[ "lxz_20081025@163.com" ]
lxz_20081025@163.com
c7c5b0151c352832384a07e85f6e49c5f966ec94
a0947c2778742aec26b1c0600ceca17df42326cd
/Python/PythonInADay2/CSV-Files-Drill/37of79-87.py
c6d72c705eb76b99aaf1d8f9ab163131ca821099
[]
no_license
JohnCDunn/Course-Work-TTA
5758319d4607114914ba9723328658bed8fb2024
8c4f60d51007dac2ac4cceb84b0f9666e143c0d7
refs/heads/master
2021-01-10T16:37:02.609879
2016-02-01T18:05:38
2016-02-01T18:05:38
49,983,248
0
0
null
null
null
null
UTF-8
Python
false
false
331
py
import wx class Frame(wx.Frame): def __init__(self, title): wx.Frame.__init__(self, None,\ title=title, size=(300,250)) panel = wx.Panel(self) wx.SpinCtrl(panel, value='0', pos=(130, 50), size=(70, 25)) app = wx.App() frame = Frame("wxPython Widgets!") frame.Show() app....
[ "JohnClydeDunn@Gmail.com" ]
JohnClydeDunn@Gmail.com
3cacda28f5023df250d156ab5a4eff4b61274f2e
dc77896138400114f6770310591fbfb02e36d3cd
/{{cookiecutter.repo_name}}/{{cookiecutter.repo_name}}/common/utils.py
cf5bc6fc70109d2f501aa0fa00154039301d810c
[ "MIT" ]
permissive
drgarcia1986/cookiecutter-muffin
97163a66a57d83dc802223ccbd5307bd1896429d
7aa861787b4280477a726da99cf9de4047b01d91
refs/heads/master
2021-01-01T16:34:08.043952
2015-08-27T22:19:35
2015-08-27T22:31:22
40,458,394
3
0
null
null
null
null
UTF-8
Python
false
false
216
py
import muffin from .. import app @app.ps.jinja2.context_processor def current_user_context(): local = muffin.local(app.loop) current_user = getattr(local, 'current_user') return {'user': current_user}
[ "drgarcia1986@gmail.com" ]
drgarcia1986@gmail.com
bbc418a42973b051de3e9c10d573895219af86b0
48e124e97cc776feb0ad6d17b9ef1dfa24e2e474
/sdk/python/pulumi_azure_native/web/v20200901/get_web_app_slot.py
dae31f66a42b428754b1c8f79c1670fe27468c36
[ "BSD-3-Clause", "Apache-2.0" ]
permissive
bpkgoud/pulumi-azure-native
0817502630062efbc35134410c4a784b61a4736d
a3215fe1b87fba69294f248017b1591767c2b96c
refs/heads/master
2023-08-29T22:39:49.984212
2021-11-15T12:43:41
2021-11-15T12:43:41
null
0
0
null
null
null
null
UTF-8
Python
false
false
29,519
py
# coding=utf-8 # *** WARNING: this file was generated by the Pulumi SDK Generator. *** # *** Do not edit by hand unless you're certain you know what you are doing! *** import warnings import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload from ... import _utilities fro...
[ "noreply@github.com" ]
bpkgoud.noreply@github.com
7b7fd334b67b1727da4bdc482d2cdcaadfa4dab1
0403dcc7cdf0e8174300569969914e885ebc4a9b
/tests/test_scriptdata_longstring.py
e12af73e657048fee3f976929a27d7d4d20b3bfb
[ "BSD-2-Clause" ]
permissive
chrippa/python-flashmedia
03ea9029ef51871872c87d26384bf8433d8b165c
f5df4987d6d6661a240756435bb8729f82d8d31f
refs/heads/master
2021-01-19T19:36:09.256165
2013-04-29T10:30:07
2013-04-29T10:30:07
5,651,549
15
3
null
null
null
null
UTF-8
Python
false
false
1,799
py
# vim: set fileencoding=utf8 : from __future__ import unicode_literals from . import with_fd from flashmedia.types import ScriptDataLongString ASCII = b"\x00\x00\x00\x03ABC" ASCII_SIZE = len(ASCII) UTF8 = b"\x00\x00\x00\t\xe6\x97\xa5\xe6\x9c\xac\xe8\xaa\x9e" UTF8_SIZE = len(UTF8) BROKEN_UTF8 = b"\x00\x00\x00\x08\...
[ "chrippa@tanuki.se" ]
chrippa@tanuki.se
3468f78680d2c6fa3b3616f9121f4dae00214184
ce55c319f5a78b69fefc63595d433864a2e531b5
/爬虫知识/爬虫/04day/04-爬取音乐.py
66b60b9b5ade7ecbd06ebc3bde5dd9fae6443f39
[]
no_license
Suijng/1809_data
a072c875e8746190e3b715e53f1afe3323f4666b
45f8a57089f5c30ccc1a3cddb03b76dc95355417
refs/heads/master
2022-12-21T12:38:30.458291
2019-09-27T01:14:41
2019-09-27T01:14:41
211,207,071
0
0
null
2022-11-22T03:16:18
2019-09-27T00:55:21
HTML
UTF-8
Python
false
false
360
py
import urllib.request proxy={ 'http':'61.176.223.7:58822', 'https':'119.102.132.60:31325' } handler = urllib.request.ProxyHandler( proxies=proxy ) opener = urllib.request.build_opener(handler) request = urllib.request.Request(url='http://www.xicidaili.com/') response = opener.open(request) content =...
[ "1627765913@qq.com" ]
1627765913@qq.com
f7d8f662b47b19b1207a866a5facfa1516f5aeb8
02680f3057c3acd9c5a70474d37f76ac9fe39cd2
/Python Environment Setup/Alternate/1. Python/1. Installer/Python-3.4.0(Linux)/Lib/test/test_tempfile.py
cf2ae080bed9269d4cb4c40d27e964fefb779988
[ "Apache-2.0", "LicenseRef-scancode-free-unknown", "LicenseRef-scancode-python-cwi", "GPL-1.0-or-later", "LicenseRef-scancode-other-copyleft", "Python-2.0" ]
permissive
tpsatish95/Python-Workshop
1b43e25487b48d51185947e244845b41f199da6f
5f4da07c96cfd0ae76a502efc8acb94409347946
refs/heads/master
2022-11-04T02:31:49.286334
2017-02-26T13:35:29
2017-02-26T13:35:29
44,395,862
1
2
Apache-2.0
2022-10-21T00:22:22
2015-10-16T16:02:24
Python
UTF-8
Python
false
false
41,583
py
# tempfile.py unit tests. import tempfile import errno import io import os import signal import sys import re import warnings import contextlib import weakref import unittest from test import support, script_helper if hasattr(os, 'stat'): import stat has_stat = 1 else: has_stat = 0 has_textmode = (tempf...
[ "tpsatish95@gmail.com" ]
tpsatish95@gmail.com
43a04e5ac41572106ab3ff879af6d0b36c7e0e92
c36679186f669c6e3bd1c106c96d4a17be1f5ab1
/Data Science and Mechine Leraning/99.py
a816c6cc8a35dc07365ddd5a9e3c00881cf640da
[]
no_license
touhiduzzaman-tuhin/python-code-university-life
60a3d671b200a6f5222c6d176c13c5f20f013509
6d2e3d90d430faa5c83fe79e7fb1ebe516994762
refs/heads/master
2023-03-22T15:18:10.636203
2021-03-06T18:52:04
2021-03-06T18:52:04
332,467,190
0
0
null
null
null
null
UTF-8
Python
false
false
183
py
import numpy as np import pandas as pd li = {'A': [1, 2, np.nan], 'B': [1, np.nan, np.nan], 'C': [1, 2, 3]} li2 = pd.DataFrame(li) li3 = li2.fillna(value='FILL VALUE') print(li3)
[ "touhiduzzamantuhin95@gmail.com" ]
touhiduzzamantuhin95@gmail.com
ccbd6d4fef4e78de38c9276cc38f6fa7330b80d5
e23a4f57ce5474d468258e5e63b9e23fb6011188
/125_algorithms/_examples/_algorithms_challenges/pybites/intermediate/097_beautifulsoup_ii_scrape_us_holidays/save1_passed.py
23b546430bed3f5a69c3ef251e95a5ae2acb06fc
[]
no_license
syurskyi/Python_Topics
52851ecce000cb751a3b986408efe32f0b4c0835
be331826b490b73f0a176e6abed86ef68ff2dd2b
refs/heads/master
2023-06-08T19:29:16.214395
2023-05-29T17:09:11
2023-05-29T17:09:11
220,583,118
3
2
null
2023-02-16T03:08:10
2019-11-09T02:58:47
Python
UTF-8
Python
false
false
1,037
py
from collections import defaultdict import os from u__.r.. import u.. from bs4 import BeautifulSoup # prep data tmp = os.getenv("TMP", "/tmp") page = 'us_holidays.html' holidays_page = os.path.join(tmp, page) u..( f'https://bites-data.s3.us-east-2.amazonaws.com/{page}', holidays_page ) with open(holidays_pa...
[ "sergejyurskyj@yahoo.com" ]
sergejyurskyj@yahoo.com
bb02dddbd6ef8c599eda31ca5a6d7365c3f4b787
636ba2700eaf3a151b73144b510f38c75ab1919d
/ml/m11_kfold_estimators2_cancer.py
83c224be41b0db487d18733b67d449cc86ebf928
[]
no_license
Taerimmm/ML
17997f388e18c28dfd9de83af98a6d4bebe7e1f0
6147cede81ebcc95f21adebf75731fbbb11edfab
refs/heads/master
2023-06-10T14:26:45.335219
2021-07-05T15:30:47
2021-07-05T15:30:47
324,874,959
3
0
null
null
null
null
UTF-8
Python
false
false
1,070
py
from sklearn.model_selection import train_test_split, KFold, cross_val_score from sklearn.metrics import accuracy_score from sklearn.utils import all_estimators from sklearn.datasets import load_breast_cancer import warnings warnings.filterwarnings('ignore') dataset = load_breast_cancer() x = dataset.data y = dataset...
[ "xofla7560@naver.com" ]
xofla7560@naver.com
1ced1e5bd8b38f823f7c72e74c340613a4c11f63
a9c0daa4a7b9a4d7341afcab270c5b5debb8c13f
/env/lib/python3.6/site-packages/pathspec/tests/test_gitignore.py
af1ee7a82daa8a6f90fb940d7c15e127faf3eb7e
[]
no_license
phamcong/alienator-plf
bad8c4e003fd189c43243b31ef2b975b6f154754
ea65628af66fbca51f2248ceb4ba93f858dbddce
refs/heads/master
2022-11-26T01:28:38.286261
2017-11-07T15:12:08
2017-11-07T15:12:08
109,412,097
0
1
null
2020-07-25T23:43:17
2017-11-03T15:30:22
JavaScript
UTF-8
Python
false
false
5,066
py
# encoding: utf-8 """ This script tests ``GitIgnorePattern``. """ import unittest import pathspec.util from pathspec import GitIgnorePattern class GitIgnoreTest(unittest.TestCase): """ The ``GitIgnoreTest`` class tests the ``GitIgnorePattern`` implementation. """ def test_00_empty(self): """ Tests an empty...
[ "ccuong.ph@gmail.com" ]
ccuong.ph@gmail.com
e914343fa85ca6d3f23aeda9938362687fbe0344
20c20938e201a0834ccf8b5f2eb5d570d407ad15
/abc146/abc146_c/8937880.py
ee9c12a0ce700fce574a65e29313213efa3efaa3
[]
no_license
kouhei-k/atcoder_submissions
8e1a1fb30c38e0d443b585a27c6d134bf1af610a
584b4fd842ccfabb16200998fe6652f018edbfc5
refs/heads/master
2021-07-02T21:20:05.379886
2021-03-01T12:52:26
2021-03-01T12:52:26
227,364,764
0
0
null
null
null
null
UTF-8
Python
false
false
272
py
A, B, X = map(int, input().split()) minN = 1 maxN = 10**9 ans = 0 while(1): N = (minN + maxN) // 2 n = A*N + len(str(N))*B if n <= X: ans = N if minN == maxN: break if n < X: minN = N+1 else: maxN = N print(ans)
[ "kouhei.k.0116@gmail.com" ]
kouhei.k.0116@gmail.com
30ac3811a3b1bd1fe781ad76f925c49dc1176111
84888c7f9d6d7195917053b2d14b2d30e1e5e375
/stress_testing/tcp_syn_flood.py
165848ca4522c0e0c341fb99281fc5f23da65896
[]
no_license
codeandrew/offensivesecurity-python
a8d48c565d2434430e6f0e3069385b19dfbdef60
364ff7233c31a4a853f9ef185f96078e50c7bef4
refs/heads/master
2023-08-17T11:23:44.852329
2023-08-02T14:54:37
2023-08-02T14:54:37
242,969,080
12
5
null
2023-09-04T16:45:25
2020-02-25T10:10:59
Python
UTF-8
Python
false
false
628
py
from scapy.all import * import sys def main(target_ip, target_port, rounds=10_000): print(f"Target IP: {target_ip}") print(f"Target Port: {target_port}") print(f"Rounds: {rounds}") # Define the payload to send in the packets payload = "A" * 1024 # Create a loop to send a large number of packe...
[ "jeanandrewfuentes@gmail.com" ]
jeanandrewfuentes@gmail.com
7c9e003239f263252fb0adea540bb5e1962cd733
b3b68efa404a7034f0d5a1c10b281ef721f8321a
/src/sims4communitylib/enums/common_species.py
eacddcd09423a491b7c32754f111f81175abc65a
[ "Apache-2.0" ]
permissive
velocist/TS4CheatsInfo
62195f3333076c148b2a59f926c9fb5202f1c6fb
b59ea7e5f4bd01d3b3bd7603843d525a9c179867
refs/heads/main
2023-03-08T01:57:39.879485
2021-02-13T21:27:38
2021-02-13T21:27:38
337,543,310
1
0
null
null
null
null
UTF-8
Python
false
false
1,376
py
""" The Sims 4 Community Library is licensed under the Creative Commons Attribution 4.0 International public license (CC BY 4.0). https://creativecommons.org/licenses/by/4.0/ https://creativecommons.org/licenses/by/4.0/legalcode Copyright (c) COLONOLNUTTY """ from sims.sim_info import SimInfo from sims4communitylib.en...
[ "cristina.caballero2406@gmail.com" ]
cristina.caballero2406@gmail.com
413f0b7b9ab12d75b76ef41418717665a490a242
d489eb7998aa09e17ce8d8aef085a65f799e6a02
/lib/modules/python/collection/osx/keychaindump_decrypt.py
64015ea23ade2de15835ef86ce40b32770ac9187
[ "MIT" ]
permissive
fengjixuchui/invader
d36078bbef3d740f95930d9896b2d7dd7227474c
68153dafbe25e7bb821c8545952d0cc15ae35a3e
refs/heads/master
2020-07-21T19:45:10.479388
2019-09-26T11:32:38
2019-09-26T11:32:38
206,958,809
2
1
MIT
2019-09-26T11:32:39
2019-09-07T11:32:17
PowerShell
UTF-8
Python
false
false
3,432
py
class Module: def __init__(self, mainMenu, params=[]): # metadata info about the module, not modified during runtime self.info = { # name for the module that will appear in module menus 'Name': 'Sandbox-Keychain-Dump', # list of one or more authors for the modu...
[ "noreply@github.com" ]
fengjixuchui.noreply@github.com
c1f9bdee162eb8870f5e99d07e1132ddbc03d481
2f98aa7e5bfc2fc5ef25e4d5cfa1d7802e3a7fae
/python/python_14019.py
78da2db51c32750262ee6905da1673496452c3d7
[]
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
52
py
# If comparison statements in Python random.randint
[ "ubuntu@ip-172-31-7-228.us-west-2.compute.internal" ]
ubuntu@ip-172-31-7-228.us-west-2.compute.internal
25e0f060c6bbb381ef0adce82ef475fb49accea2
7a23870e9b0b56b112f634d26760282ff7a4f46c
/Projects/Archived Tk code/From extensions folder/Pmw/Pmw_1_3/contrib/PmwFileDialog.py
b11001ca1e80505bdb49d27b9cd04f81218da196
[]
no_license
leo-editor/leo-editor-contrib
0c671998c4ec7fd7c4ce890a201395afe340481b
28c22721e1bc313c120a8a6c288893bc566a5c67
refs/heads/master
2023-06-25T04:28:54.520792
2023-06-14T20:18:12
2023-06-14T20:18:12
16,771,641
6
6
null
2023-06-09T11:26:42
2014-02-12T15:28:36
Python
UTF-8
Python
false
false
14,836
py
# __version__ = '$Id: PmwFileDialog.py,v 1.1 2007/12/13 16:06:01 edream Exp $' # # Filename dialogs using Pmw # # (C) Rob W.W. Hooft, Nonius BV, 1998 # # Modifications: # # J. Willem M. Nissink, Cambridge Crystallographic Data Centre, 8/2002 # Added optional information pane at top of dialog; if option # ...
[ "edreamleo@gmail.com" ]
edreamleo@gmail.com
efa55d788ff68fe0cf919b7a45220e24baccb822
2f98aa7e5bfc2fc5ef25e4d5cfa1d7802e3a7fae
/python/python_25489.py
0e0cbd91234b9936d47833c2c46fd67b71ab0056
[]
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
33
py
# y = 3 (#This is not a comment)
[ "ubuntu@ip-172-31-7-228.us-west-2.compute.internal" ]
ubuntu@ip-172-31-7-228.us-west-2.compute.internal
b9c35bacbba1122e7bf5ad1531e085007384e51a
f023692f73992354a0b7823d9c49ae730c95ab52
/AtCoderRegularContest/132/C.py
3e94b88d37560e4a0f7c839099cf78a2907fed1a
[]
no_license
corutopi/AtCorder_python
a959e733f9a3549fab7162023e414ac2c99c4abe
a2c78cc647076071549e354c398155a65d5e331a
refs/heads/master
2023-08-31T09:40:35.929155
2023-08-20T06:19:35
2023-08-20T06:19:35
197,030,129
1
0
null
2022-06-22T04:06:28
2019-07-15T15:57:34
Python
UTF-8
Python
false
false
1,979
py
""" 解説AC 変則dp """ # import sys # sys.setrecursionlimit(10 ** 6) # # for pypy # import pypyjit # pypyjit.set_param('max_unroll_recursion=-1') # import bisect # from collections import deque # import string from math import ceil, floor inf = float('inf') mod = 10 ** 9 + 7 mod2 = 998244353 # from decorator import stop...
[ "39874652+corutopi@users.noreply.github.com" ]
39874652+corutopi@users.noreply.github.com
069869c1802fa40cf5d5a5437907958a0bfa9e2d
ad13583673551857615498b9605d9dcab63bb2c3
/output/instances/nistData/list/nonNegativeInteger/Schema+Instance/NISTXML-SV-IV-list-nonNegativeInteger-enumeration-3-1.py
0a96f1ef465b374d9e5d0791ff5bc20220dcdd83
[ "MIT" ]
permissive
tefra/xsdata-w3c-tests
397180205a735b06170aa188f1f39451d2089815
081d0908382a0e0b29c8ee9caca6f1c0e36dd6db
refs/heads/main
2023-08-03T04:25:37.841917
2023-07-29T17:10:13
2023-07-30T12:11:13
239,622,251
2
0
MIT
2023-07-25T14:19:04
2020-02-10T21:59:47
Python
UTF-8
Python
false
false
695
py
from output.models.nist_data.list_pkg.non_negative_integer.schema_instance.nistschema_sv_iv_list_non_negative_integer_enumeration_3_xsd.nistschema_sv_iv_list_non_negative_integer_enumeration_3 import NistschemaSvIvListNonNegativeIntegerEnumeration3 from output.models.nist_data.list_pkg.non_negative_integer.schema_insta...
[ "tsoulloftas@gmail.com" ]
tsoulloftas@gmail.com
a99e5fd938668998f40d71595197fe4eabfea880
7cd36fa026bb922e438905819e97d7ed208dc49e
/examples/advanced/thinplate_morphing.py
d0515987197e12cfdcdd0e91e7e65d6ca9ab8b07
[ "MIT" ]
permissive
lxychuanhai/vtkplotter
b267bfcbbee5c7733ac98f5327e311c9529c74b1
bc1b8b8821095263a46bba20ca345cab1d70cc42
refs/heads/master
2020-11-25T15:25:33.597049
2019-12-17T18:49:05
2019-12-17T18:49:05
null
0
0
null
null
null
null
UTF-8
Python
false
false
808
py
""" Warp the tip of a mesh using Thin Plate Splines. Red points stay fixed while a single point in space moves as the arrow shows. """ from vtkplotter import * mesh = load(datadir+"man.vtk").normalize() meshd = mesh.clone().decimate(N=100) # a heavily decimated copy sources = [[0.0, 1.0, 0.2]] # this point moves ...
[ "marco.musy@gmail.com" ]
marco.musy@gmail.com
1d94a7aaf0160f003ff3934bba18e8f21ae50052
69a576aa60918b3b846963da2238931468e354ab
/utils/spatial.py
48c11f134472aad99921594a9b5bfddc25d536b5
[]
no_license
parallel-ml/stand-alone
3d04a31d442bf422d67d2f0a1f03eb04bdb841c7
c86ce0d632188e9e16fb5539a7e2baed2c40ecdb
refs/heads/master
2020-03-29T10:49:48.426742
2018-11-20T16:40:35
2018-11-20T16:40:35
149,824,728
0
0
null
null
null
null
UTF-8
Python
false
false
3,044
py
""" This module implements single Conv2D layer spatial split. It provides an example of 2 division and another generalized example. The arithmetic technique is discussed in 2 division example. """ from keras.layers import Conv2D, Lambda, ZeroPadding2D from keras.layers.merge import Concatenate import ke...
[ "caojiashen24@gmail.com" ]
caojiashen24@gmail.com
4fd1a36063610493d16705b91faca3442fdc810a
480e33f95eec2e471c563d4c0661784c92396368
/Geometry/HGCalCommonData/test/python/dumpTBGeometryDDD_cfg.py
998122a85ad6a346ff919cce319dcc301f314db8
[ "Apache-2.0" ]
permissive
cms-nanoAOD/cmssw
4d836e5b76ae5075c232de5e062d286e2026e8bd
4eccb8a758b605875003124dd55ea58552b86af1
refs/heads/master-cmsswmaster
2021-01-23T21:19:52.295420
2020-08-27T08:01:20
2020-08-27T08:01:20
102,867,729
7
14
Apache-2.0
2022-05-23T07:58:09
2017-09-08T14:03:57
C++
UTF-8
Python
false
false
821
py
import FWCore.ParameterSet.Config as cms process = cms.Process("DUMP") process.load("Geometry.HGCalCommonData.testTB181XML_cfi") process.load('FWCore.MessageService.MessageLogger_cfi') if 'MessageLogger' in process.__dict__: process.MessageLogger.categories.append('G4cerr') process.MessageLogger.categories.ap...
[ "sunanda.banerjee@cern.ch" ]
sunanda.banerjee@cern.ch
37483fd1e0d9006657489d14e97b898faed7670f
45de7d905486934629730945619f49281ad19359
/xlsxwriter/test/worksheet/test_cond_format22.py
4c5f28418e89a70c30d923a17b0cf44b9f5c802f
[ "BSD-2-Clause" ]
permissive
jmcnamara/XlsxWriter
599e1d225d698120ef931a776a9d93a6f60186ed
ab13807a1be68652ffc512ae6f5791d113b94ee1
refs/heads/main
2023-09-04T04:21:04.559742
2023-08-31T19:30:52
2023-08-31T19:30:52
7,433,211
3,251
712
BSD-2-Clause
2023-08-28T18:52:14
2013-01-04T01:07:06
Python
UTF-8
Python
false
false
8,726
py
############################################################################### # # Tests for XlsxWriter. # # SPDX-License-Identifier: BSD-2-Clause # Copyright (c), 2013-2023, John McNamara, jmcnamara@cpan.org # import unittest from io import StringIO from ..helperfunctions import _xml_to_list from ...worksheet import...
[ "jmcnamara@cpan.org" ]
jmcnamara@cpan.org
bce38b1477870007035b59a1dc2f07b2775b04fa
487ce91881032c1de16e35ed8bc187d6034205f7
/codes/CodeJamCrawler/16_0_3/Himanshu.Mishra/problem.py
abd5a6a5b627365883042f53a6cc564bc5e737e7
[]
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
1,389
py
def isprime(n): if n == 2: return True if not n & 1: return False return pow(2, n-1, n) == 1 # def isprime(n): # """Returns True if n is prime.""" # if n == 2: # return True # if n == 3: # return True # if n % 2 == 0: # return False # if n % 3 == 0: # return ...
[ "[dhuo@tcd.ie]" ]
[dhuo@tcd.ie]
59aec718fce53f6051be2ea2d5f6ec1380b3bfd2
c7027edceeae907ce7d21112336e84f101eeb89b
/airflow/providers/sqlite/hooks/sqlite.py
5a14249ca5902174edf5d6b29c533545cbd950d7
[ "Apache-2.0", "BSD-3-Clause", "MIT" ]
permissive
jao6693/airflow
0a8027ce33e20ee8f6032facb1b8ab453c2d20d4
269b608246b015c55e6cae4ed0f50b1e2bb0fa95
refs/heads/main
2023-01-30T18:53:23.431745
2022-11-05T14:59:27
2022-11-05T14:59:27
320,338,180
0
0
Apache-2.0
2020-12-10T17:08:36
2020-12-10T17:08:35
null
UTF-8
Python
false
false
1,618
py
# # Licensed to the Apache Software Foundation (ASF) under one # or more contributor license agreements. See the NOTICE file # distributed with this work for additional information # regarding copyright ownership. The ASF licenses this file # to you under the Apache License, Version 2.0 (the # "License"); you may not...
[ "fabien.beuret@delaware.pro" ]
fabien.beuret@delaware.pro
c643c289d6a7b2f99414e9f9a7bb4a558e5ac8c3
d79f3a31d173f18ec112c521acdcee8e8e73724d
/test5.py
7cd08b85a12191df9c24b5d26bcedcd5412f72de
[]
no_license
k156/hello
3de815de569b38f8260e774e57b138f4da43f480
f5a7f386d3f78d15d7f166a95ad25724e168f472
refs/heads/master
2020-04-04T23:15:38.252126
2019-05-03T05:57:00
2019-05-03T05:57:00
156,352,395
0
0
null
null
null
null
UTF-8
Python
false
false
589
py
from bs4 import BeautifulSoup import requests from time import sleep headers = { "User-Agent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/71.0.3578.98 Safari/537.36" } url = "https://www.melon.com/chart/index.htm#params%5Bidx%5D=1/" html = requests.get(url, headers = ...
[ "jm_91@live.co.kr" ]
jm_91@live.co.kr
48ee6be5fa369aab7a24d7f1be33ef53dfa886a5
e452f89c51180487f2ed68c33ca2fed54e14a967
/1-Python-Programming-Basics (Sep 2020)/Course-Exercises-and-Exams/02_Conditional-Statements/01.Lab-01-Excellent-Result.py
4d9450ac08bdcaf06642e2351b5898ce2cc0b984
[ "MIT" ]
permissive
karolinanikolova/SoftUni-Software-Engineering
c996f18eea9fb93164ab674614e90b357ef4858a
7891924956598b11a1e30e2c220457c85c40f064
refs/heads/main
2023-06-21T23:24:55.224528
2021-07-22T16:15:59
2021-07-22T16:15:59
367,432,464
0
0
null
null
null
null
UTF-8
Python
false
false
436
py
# 1. Проверка за отлична оценка # Първата задача от тази тема е да се напише конзолна програма, която чете оценка (реално число), # въведена от потребителя и отпечатва "Excellent!", ако оценката е 5.50 или по-висока. grade = float(input()) if grade >= 5.50: print("Excellent!")
[ "Nikolova@eum.root.eumetsat.int" ]
Nikolova@eum.root.eumetsat.int
b9e01fd5c696231a6b883b2817e73b84b476dbaa
1646b3fe9000c3109695e99b4bb75679577906ff
/236.LowestCommonAncestorOfABinaryTree.py
78bdf6a542e4686bb190fc7b9d792fdb40e9fbeb
[]
no_license
yao9208/lc
5ecf6720886beb951c9a70433f53a0ec0bcb74dc
024c1b5c98a9e85706e110fc2be8dcebf0f460c3
refs/heads/master
2020-04-03T20:55:40.199637
2017-02-10T08:30:46
2017-02-10T08:30:46
56,478,941
0
0
null
null
null
null
UTF-8
Python
false
false
554
py
class Solution(object): def lowestCommonAncestor(self, root, p, q): """ :type root: TreeNode :type p: TreeNode :type q: TreeNode :rtype: TreeNode """ if not root: return root if root==p or root==q: return root left = sel...
[ "yao9208@foxmail.com" ]
yao9208@foxmail.com
1f2424d5b24baaab7fe1c1ce30f92fcfc2ec1dd1
7ea5517353f325fc0bcc0e552233b103335bc9ec
/QUANTAXIS/QAMarket/common.py
143b325f56b9ba86e312c9a8f7bbeee7f3dbd0fd
[ "MIT" ]
permissive
lxqjswa/QUANTAXIS
304f20c3ba957d51664a8736faca6a777a658583
a5f89b28a75d1a5094630a4ed166f596840528b1
refs/heads/master
2020-03-28T08:45:47.064394
2018-09-08T07:15:26
2018-09-08T07:15:26
147,987,895
1
0
MIT
2018-09-09T02:52:34
2018-09-09T02:52:34
null
UTF-8
Python
false
false
5,031
py
# shipane # "申报时间", "证券代码", "证券名称", "操作", "委托状态", "委托数量", "成交数量", "撤消数量", , "委托价格", "成交均价", "合同编号", "委托子业务", "约定号", "对方账户", "参考汇率", "结算币种", "交易币种", "证券中文名", "出错信息 from QUANTAXIS.QAUtil.QAParameter import ORDER_DIRECTION, TRADE_STATUS, ORDER_STATUS cn_en_compare = {'明细': 'id', '证券代码': 'code', ...
[ "yutiansut@qq.com" ]
yutiansut@qq.com
e53c50114defbb9001385514940c7f56071976fb
20c20938e201a0834ccf8b5f2eb5d570d407ad15
/abc032/abc032_b/8108449.py
b7cc2e87327a45202a747c78434008246dab432c
[]
no_license
kouhei-k/atcoder_submissions
8e1a1fb30c38e0d443b585a27c6d134bf1af610a
584b4fd842ccfabb16200998fe6652f018edbfc5
refs/heads/master
2021-07-02T21:20:05.379886
2021-03-01T12:52:26
2021-03-01T12:52:26
227,364,764
0
0
null
null
null
null
UTF-8
Python
false
false
159
py
S=input() k=int(input()) import collections table=collections.defaultdict(int) for i in range(len(S)-k+1): table[S[i:k+i]]+=1 print(len(list(table.keys())))
[ "kouhei.k.0116@gmail.com" ]
kouhei.k.0116@gmail.com
cb0e122b4c0e9234e1f0f0e11d6affdfaed10c6a
aa0270b351402e421631ebc8b51e528448302fab
/sdk/network/azure-mgmt-frontdoor/azure/mgmt/frontdoor/aio/operations/_experiments_operations.py
3447700b37de7b3edc5130e30a769d21572d3f89
[ "MIT", "LGPL-2.1-or-later", "LicenseRef-scancode-generic-cla" ]
permissive
fangchen0601/azure-sdk-for-python
d04a22109d0ff8ff209c82e4154b7169b6cb2e53
c2e11d6682e368b2f062e714490d2de42e1fed36
refs/heads/master
2023-05-11T16:53:26.317418
2023-05-04T20:02:16
2023-05-04T20:02:16
300,440,803
0
0
MIT
2020-10-16T18:45:29
2020-10-01T22:27:56
null
UTF-8
Python
false
false
38,260
py
# pylint: disable=too-many-lines # 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) AutoRe...
[ "noreply@github.com" ]
fangchen0601.noreply@github.com
f085ce927f914d7feac5640390c519859f1df241
53e3e676b66e4ed6bbf7941c7e78c2820fcbed59
/build_isolated/rospack/test/test/utest.py
c5cf969afefe057c5a2c2fca0f9db7480002ba66
[]
no_license
daichi08/catkin_ws_atPi
0bdc3e5f2c7073d888a2f6109c0842521c99104e
9690697e1d432f06c5ee4570a0e7d1a2cc7c44ed
refs/heads/master
2020-03-22T21:09:04.291933
2018-08-02T06:10:41
2018-08-02T06:10:41
140,661,209
0
0
null
null
null
null
UTF-8
Python
false
false
38,742
py
# Software License Agreement (BSD License) # # Copyright (c) 2008, Willow Garage, Inc. # 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...
[ "b1504000@planet.kanazawa-it.ac.jp" ]
b1504000@planet.kanazawa-it.ac.jp
a570f27a7c1170f47520d0fd62cc5ef08e71442c
255e19ddc1bcde0d3d4fe70e01cec9bb724979c9
/all-gists/833679/snippet.py
4ab198d900965b661dbb57b70023f8d4c2106db6
[ "MIT" ]
permissive
gistable/gistable
26c1e909928ec463026811f69b61619b62f14721
665d39a2bd82543d5196555f0801ef8fd4a3ee48
refs/heads/master
2023-02-17T21:33:55.558398
2023-02-11T18:20:10
2023-02-11T18:20:10
119,861,038
76
19
null
2020-07-26T03:14:55
2018-02-01T16:19:24
Python
UTF-8
Python
false
false
2,067
py
# # HashUtils - Simple functions derivated from standard Python hashlib. # __author__ = 'Mauro Baraldi (mauro@visie.com.br)' __version__ = '0.0.2: February 17, 2011' import re import hashlib from datetime import datetime class Hash: """Common facilities using hashlib standard lib. Algotrithm used in all ...
[ "gistshub@gmail.com" ]
gistshub@gmail.com
a5ba5bef1c1edc9aa06f3fe87232501307f1a1b2
c61c9bedba1968bfaf571ac3996b696fc35890a6
/Chapter16/16-3.py
ce29436d126c588d3560f122a3141296ca60d21e
[]
no_license
ArunRamachandran/ThinkPython-Solutions
497b3dbdeba1c64924fe1d9aa24204a9ca552c5b
1a0872efd169e5d39b25134960168e3f09ffdc99
refs/heads/master
2020-04-01T10:23:20.255132
2014-11-07T17:04:52
2014-11-07T17:04:52
25,806,318
1
0
null
null
null
null
UTF-8
Python
false
false
652
py
class Time(object): ''' to represent the time of a day ''' t1 = Time() t2 = Time() t1.h = 4 t1.m = 185 t1.s = 0 t2.h = 1 t2.m = 56 t2.s = 0 def add_time(t1,t2): sum_time = Time() sum_time.h = t1.h + t2.h sum_time.m = t1.m + t2.m sum_time.s = t1.s + t2.s if sum_time.s > 60: val = sum_time.s / 60 sum_tim...
[ "arunkramachandran92@gmail.com" ]
arunkramachandran92@gmail.com
5e875e702c4451a5fc79d1144425698fbc263c61
9743d5fd24822f79c156ad112229e25adb9ed6f6
/xai/brain/wordbase/adjectives/_twining.py
87ddda74e438d11af092105cfd9569d7a62ef7c6
[ "MIT" ]
permissive
cash2one/xai
de7adad1758f50dd6786bf0111e71a903f039b64
e76f12c9f4dcf3ac1c7c08b0cc8844c0b0a104b6
refs/heads/master
2021-01-19T12:33:54.964379
2017-01-28T02:00:50
2017-01-28T02:00:50
null
0
0
null
null
null
null
UTF-8
Python
false
false
238
py
from xai.brain.wordbase.adjectives._twin import _TWIN #calss header class _TWINING(_TWIN, ): def __init__(self,): _TWIN.__init__(self) self.name = "TWINING" self.specie = 'adjectives' self.basic = "twin" self.jsondata = {}
[ "xingwang1991@gmail.com" ]
xingwang1991@gmail.com
e354add3beb18f533d7157be7068cbf4b7dd45db
0b5b699459252996f058c8303a1f7093e7951ba0
/food_delivery_app/restaurants/filters.py
1c91e8a329ec67287390dbb43fe190d8aa8fe536
[ "MIT" ]
permissive
MahmoudFarid/Food-Delivery-App
f145293548949618ae47d81f4ee7c35629fdaf5c
8411ca48497e7347fe0258b720c2d2a566bb6e88
refs/heads/master
2020-04-12T04:40:22.129486
2018-12-23T21:52:09
2018-12-23T21:52:09
162,302,419
0
0
null
null
null
null
UTF-8
Python
false
false
198
py
from django_filters import rest_framework as filters from .models import Order class OrderFilter(filters.FilterSet): class Meta: model = Order fields = ['customer', 'status']
[ "mahmoud.farid.94@gmail.com" ]
mahmoud.farid.94@gmail.com
0964ca87b1476b689cf1f886a4e21864d6b7bb07
d488f052805a87b5c4b124ca93494bc9b78620f7
/google-cloud-sdk/.install/.backup/lib/googlecloudsdk/command_lib/functions/deploy/labels_util.py
5e9da496f8ef33a5e94a3f93ad396421b5bf7ef7
[ "MIT", "LicenseRef-scancode-unknown-license-reference", "Apache-2.0" ]
permissive
PacktPublishing/DevOps-Fundamentals
5ce1fc938db66b420691aa8106ecfb3f9ceb1ace
60597e831e08325c7e51e8557591917f7c417275
refs/heads/master
2023-02-02T04:48:15.346907
2023-01-30T08:33:35
2023-01-30T08:33:35
131,293,311
13
19
null
null
null
null
UTF-8
Python
false
false
2,718
py
# Copyright 2018 Google Inc. 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 applicable law or ag...
[ "saneetk@packtpub.com" ]
saneetk@packtpub.com
4374e0f6d09d3fac569ee903abba1a0b69fc1c4a
da7740e0d20dc7dd9775d4a53da7c0f7779834e1
/MultiPlanarUNet/logging/logger.py
4147e6a51aeb3f3ead32053006a4c39614f4c56e
[ "MIT" ]
permissive
xiaochengcike/MultiPlanarUNet
ca8fa35a8372b8d107bb16b29018e2413c108075
99c73ba2936b63282338cf31fe27086d414d2e62
refs/heads/master
2020-04-18T19:25:51.699311
2019-01-10T09:39:59
2019-01-10T09:39:59
null
0
0
null
null
null
null
UTF-8
Python
false
false
4,492
py
import os import inspect from MultiPlanarUNet.utils.decorators import accepts class Logger(object): def __init__(self, base_path, print_to_screen=True, active_file=None, overwrite_existing=False, print_calling_method=True): self.base_path = os.path.abspath(base_path) self.path = o...
[ "mathias@perslev.com" ]
mathias@perslev.com
0637d34c345649b17b190752d77694ce2c4b4bb1
57c697ffebe2e9b3f5bd5da8122638152e4d0e9f
/contrib/seeds/makeseeds.py
4b8d889c83c3bb295de84aab0658b5cb0d5ef45c
[ "MIT" ]
permissive
Globycoin/glbcore
4039ddb98dec19dadebf8b2d583f27e6c083d9cd
d5dd9b5475915956849658373d8658286a08781b
refs/heads/master
2020-03-22T20:02:44.733133
2018-11-15T00:42:39
2018-11-15T00:42:39
140,569,343
3
2
null
null
null
null
UTF-8
Python
false
false
5,519
py
#!/usr/bin/env python3 # Copyright (c) 2013-2017 The Bitcoin Core developers # Distributed under the MIT software license, see the accompanying # file COPYING or http://www.opensource.org/licenses/mit-license.php. # # Generate seeds.txt from Pieter's DNS seeder # NSEEDS=512 MAX_SEEDS_PER_ASN=2 MIN_BLOCKS = 615801 #...
[ "you@example.com" ]
you@example.com
f886c22e0fbc3e0a268193239c53656c2954fcc7
c54f5a7cf6de3ed02d2e02cf867470ea48bd9258
/pyobjc/pyobjc-core/Lib/objc/_category.py
acfb9a48e26e38dd13712137c8517c88b442e532
[ "MIT" ]
permissive
orestis/pyobjc
01ad0e731fbbe0413c2f5ac2f3e91016749146c6
c30bf50ba29cb562d530e71a9d6c3d8ad75aa230
refs/heads/master
2021-01-22T06:54:35.401551
2009-09-01T09:24:47
2009-09-01T09:24:47
16,895
8
5
null
null
null
null
UTF-8
Python
false
false
2,372
py
__all__ = ['classAddMethod', 'Category'] from _objc import selector, classAddMethods, objc_class, ivar from types import FunctionType, MethodType def classAddMethod(cls, name, method): """ Add a single method to a class. 'name' is the ObjC selector """ if isinstance(method, selector): sel = s...
[ "ronaldoussoren@f55f28a5-9edb-0310-a011-a803cfcd5d25" ]
ronaldoussoren@f55f28a5-9edb-0310-a011-a803cfcd5d25
ab81aec92b4137221d359ec9b7ddacf88e47a00b
81e008b746f89d144066ee5589fafa370f37e5a5
/1005.py
8bf880a472d0444a295f1fb678435685f4c44eb9
[]
no_license
osmarsalesjr/SolucoesUriOnlineJudgeEmPython3
5c43fb37608ff3d8ff042d94e6b897f4b1d6afb9
5de3fa39483fd4ff409efa5981e65daba7744809
refs/heads/master
2021-01-01T06:40:51.938732
2017-08-30T21:46:39
2017-08-30T21:46:39
97,482,585
0
0
null
null
null
null
UTF-8
Python
false
false
175
py
def main(): a = float(input()) b = float(input()) media = ((a * 3.5) + (b * 7.5)) / 11 print("MEDIA = %.5f" % media) if __name__ == '__main__': main()
[ "osmarsalesjr@gmail.com" ]
osmarsalesjr@gmail.com
594f7ee6ba623887c47dbde85e653e5183136971
f9886d2b57d92186773d73f59dc0a0e9759b8944
/04_bigdata/02_Standardization_Analysis/2.Excel/10_excel_column_by_name_all_worksheets.py
c9fc988e32e973138146a52d7b0e7546d7aca05f
[]
no_license
Meengkko/bigdata_python2019
14bab0da490bd36c693f50b5d924e27f4a8e02ba
a28e964ab7cefe612041830c7b1c960f92c42ad5
refs/heads/master
2022-12-12T15:51:21.448923
2019-11-08T03:50:15
2019-11-08T03:50:15
195,142,241
0
0
null
2022-04-22T22:37:59
2019-07-04T00:17:18
HTML
UTF-8
Python
false
false
1,894
py
# 목적: 열의 인덱스 값을 사용하여 특정 열 선택하기 # 라이브러리 호출 import sys from datetime import date from xlrd import open_workbook, xldate_as_tuple from xlwt import Workbook # 시스템 인자로 인풋/아웃풋 설정 input_file = sys.argv[1] # sales_2013.xlsx output_file = sys.argv[2] # output_files/10_output_basic.xls # 워크북클래스, 시트 이름 설정 output_workbook = ...
[ "you@ddd.com" ]
you@ddd.com
e831918416256c25927fb1be5c435b8555f05dc6
577a40ff1c84d28b88a9ade84d265587d28ed2a3
/0707/02.py
1c05cbec1dfbd4eeaecf48ec375bcfb73a53d48c
[]
no_license
bosl95/MachineLearning_Note
b167c182fcf5186f6466b8b062cde83b076b0b04
934714c5a62e4864f2b5338153c3aaeb3363abe9
refs/heads/master
2022-12-06T20:58:20.457567
2020-09-05T16:18:11
2020-09-05T16:18:11
279,835,223
1
0
null
null
null
null
UTF-8
Python
false
false
1,580
py
import struct name = 'train' maxdata = 1000 path = 'mnist/' lbl_f = open(path + name + '-labels-idx1-ubyte', 'rb') # 학습정답파일. 바이너리. img_f = open(path + name + '-images-idx3-ubyte', 'rb') csv_f = open(path + name + '.csv', 'w', encoding='utf-8') mag, lbl_count = struct.unpack('>II', lbl_f.read(8)) # 레이블파일에서 매직넘버와 개수를...
[ "bosl95@naver.com" ]
bosl95@naver.com
369183498068e8e4659aa370fd0efa60b8a6ebd1
72316a1d1a2e0358486d50aeecbac8219ccdf092
/ietf/bin/send-milestone-reminders
9ed5d254f74bbac1e2488cb1549dcb81cb5f4510
[ "BSD-3-Clause", "LicenseRef-scancode-unknown-license-reference" ]
permissive
algby/ietfdb
363541941bd6e806bed70891bed4c7f47c9f0539
9ff37e43abbecac873c0362b088a6d9c16f6eed2
refs/heads/master
2021-01-16T18:57:50.100055
2014-09-29T21:16:55
2014-09-29T21:16:55
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,566
#!/usr/bin/env python # # This script will send various milestone reminders. It's supposed to # be run daily, and will then send reminders weekly/monthly as # appropriate. import datetime, os import syslog os.environ.setdefault("DJANGO_SETTINGS_MODULE", "ietf.settings") syslog.openlog(os.path.basename(__file__), sys...
[ "henrik@levkowetz.com@7b24d068-2d4e-4fce-9bd7-cbd2762980b0" ]
henrik@levkowetz.com@7b24d068-2d4e-4fce-9bd7-cbd2762980b0
8d4e01d63f029ae4f6264c3ec8a2b1b51bacfbc6
0fa51edef92cd07033e7d03aa441ae54d8edad2e
/news_scrapers/epu_scrapy/spiders/deredactie_spider.py
f7aab7c2ba79b7d300fec7f911dcf631998cb515
[]
no_license
Datafable/epu-index
d86fc108f7e8591cb949fde78f490fd970654bde
3f9d24448ff85a8ea6736dbf9da0ec954a3b224b
refs/heads/master
2020-12-25T18:13:53.397154
2018-03-28T09:37:53
2018-03-28T09:37:53
35,040,805
1
0
null
null
null
null
UTF-8
Python
false
false
7,835
py
import scrapy from scrapy.contrib.spiders import CrawlSpider from scrapy.exceptions import CloseSpider from epu_scrapy.items import Article from datetime import datetime, timedelta from time import strptime, strftime, mktime import re import json import os def set_start_urls(settings): """ Based on the dates g...
[ "bart.aelterman@gmail.com" ]
bart.aelterman@gmail.com
ea386863fc4bcc4650983431b032e9c25ddd69a7
8ca2c5b9673c9bf9a7b6033ffc7b3aea7008ca91
/src/gdata/finance/__init__.py
f207b212756b50e71075be803fb53ec064e8dcbe
[ "Apache-2.0" ]
permissive
hfalcic/google-gdata
c3a10f0260002c3d8a8d44686572ec2002e076e0
56d49a9915ce51590a655ec5f8aeef9f65517787
refs/heads/master
2021-01-10T22:01:52.403803
2015-02-17T15:12:18
2015-02-17T15:12:18
24,432,292
3
1
null
2014-11-30T07:26:44
2014-09-24T20:53:59
Python
UTF-8
Python
false
false
15,423
py
#!/usr/bin/env python # # Copyright (C) 2009 Tan Swee Heng # # 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 applicabl...
[ "harvey.falcic@gmail.com" ]
harvey.falcic@gmail.com
5bf6d8e5da9416d75daaa4e067ae7119ca58f647
c2c6798ced0db33b2669f11f2434596c61496aef
/fastparquet/__init__.py
38dec432f8c525661a842f3d0a7c473b1fa9f2e3
[ "Apache-2.0" ]
permissive
PGryllos/fastparquet
e037b0d5e6387746f82e91fd9b4240962f178308
07401c501dbfc55c456052413f0c904483c68b50
refs/heads/master
2020-04-04T19:09:27.392744
2018-10-24T18:31:06
2018-10-24T18:31:06
156,194,372
0
0
Apache-2.0
2018-11-05T09:46:52
2018-11-05T09:46:52
null
UTF-8
Python
false
false
424
py
"""parquet - read parquet files.""" from __future__ import absolute_import from __future__ import division from __future__ import print_function from __future__ import unicode_literals from .thrift_structures import parquet_thrift from .core import read_thrift from .writer import write from . import core, schema, conv...
[ "martin.durant@utoronto.ca" ]
martin.durant@utoronto.ca
36411eb463c030ab4360eebfa9af78fa62396e0f
5e434bcedb9cfd14b26d7c8a2dc6ccdf132a8b83
/test/test.py
04a91fd7df5dae6a21c2e573a7b2a1b86f8f9d36
[ "MIT" ]
permissive
mindw00rk/ccxt
5884e73ac871e66bdfd0e86f6634e141b008b967
b2f9ee175ea93d70b3699081fd84285f63254fec
refs/heads/master
2021-07-08T20:12:30.199246
2017-09-28T06:58:45
2017-09-28T06:58:45
null
0
0
null
null
null
null
UTF-8
Python
false
false
10,764
py
# -*- coding: utf-8 -*- import argparse import os import sys import json import time from os import _exit from traceback import format_tb # ------------------------------------------------------------------------------ root = os.path.dirname(os.path.dirname(os.path.abspath(__file__))) sys.path.append(root) # ------...
[ "igor.kroitor@gmail.com" ]
igor.kroitor@gmail.com
2f0a611da567bf2a6e1eedcb7042f1a475d9f211
d89a482aaf3001bbc4515f39af9ba474e1ae6062
/ubertool/exposure_output.py
4a6a41f37b05e878207260f2803b50a2a59f17da
[]
no_license
hongtao510/u_tool
2925e3694aba81714cf83018c3f8520a7b503228
98c962cfb1f53c4971fb2b9ae22c882c0fae6497
refs/heads/master
2021-01-10T20:40:24.793531
2014-03-14T22:57:37
2014-03-14T22:57:37
null
0
0
null
null
null
null
UTF-8
Python
false
false
5,183
py
import os os.environ['DJANGO_SETTINGS_MODULE']='settings' import webapp2 as webapp from google.appengine.ext.webapp.util import run_wsgi_app from google.appengine.ext.webapp import template from google.appengine.api import users from google.appengine.ext import db import cgi import cgitb cgitb.enable() import datetime ...
[ "hongtao510@gmail.com" ]
hongtao510@gmail.com
38b657507fa9116655cd0f1e6c4c24ea7c348d49
a8a5b9c9c526b600b0b8395a1eaf4044355d6ad9
/01_Basic/30_Output02(1032).py
2a3d1b328802e1d3bc48038b9cab25e5e223e60f
[]
no_license
kiteB/CodeUp
a342e40720290758de3fcfff961813250eee9541
f485f6c50a252e9cb6449c39a872a73561468415
refs/heads/master
2023-02-08T15:57:20.557421
2020-12-31T08:35:58
2020-12-31T08:35:58
323,678,767
0
0
null
null
null
null
UTF-8
Python
false
false
90
py
# 10진수 정수를 입력받아 16진수로 출력하기 a = int(input()) print('%x' %a)
[ "69155170+kiteB@users.noreply.github.com" ]
69155170+kiteB@users.noreply.github.com
b0853a9aba65d24c4142d61fcce38fcedb426468
2420a09930fcc1a0d3c67a0791be70ddee418f4a
/Kth_Largest_Element_in_an_Array.py
d08f8e38b151d423cded627522ff355833c7db5b
[]
no_license
Superbeet/LeetCode
eff8c2562fb5724b89bc2b05ab230a21b67a9e5a
a1b14fc7ecab09a838d70e0130ece27fb0fef7fd
refs/heads/master
2020-04-06T03:34:10.973739
2018-02-13T00:57:06
2018-02-13T00:57:06
42,485,335
4
0
null
null
null
null
UTF-8
Python
false
false
1,727
py
# Use Bubble k times - Time Complexity: O(nk) class Solution3(object): def findKthLargest(self, nums, k): if not nums: return None size = len(nums) for i in xrange(0, k): for j in xrange(0, size-1-i): if nums[j]>nums[j+1]: nums[j],nums[j+1] = nums[j+1], nums[j] return nums[-k] # Time compl...
[ "aslan.yeh2010@gmail.com" ]
aslan.yeh2010@gmail.com
cea8f85549e20e56b361532625210c10df856781
163bbb4e0920dedd5941e3edfb2d8706ba75627d
/Code/CodeRecords/2818/60900/249172.py
7ab8f518b83de81d5c00a7ebae67bc19775a6307
[]
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
470
py
str1 = input() str2 = input() data1 = str1.split(" ") chapter = str2.split(" ") subject = (int)(data1[0]) time = (int)(data1[1]) total = 0 temp = 0 index = 0 while len(chapter)!=0: temp = (int)(chapter[0])*time index = 0 for i in range (0,len(chapter)): if(temp>(int)(chapter[i])*time): ...
[ "1069583789@qq.com" ]
1069583789@qq.com
21610adcf332d720d04f4d26788b6caca4289ec7
de24f83a5e3768a2638ebcf13cbe717e75740168
/moodledata/vpl_data/200/usersdata/273/81828/submittedfiles/al15.py
1656fb72d68d08049b3e4bfbe2bfaff5a11427c5
[]
no_license
rafaelperazzo/programacao-web
95643423a35c44613b0f64bed05bd34780fe2436
170dd5440afb9ee68a973f3de13a99aa4c735d79
refs/heads/master
2021-01-12T14:06:25.773146
2017-12-22T16:05:45
2017-12-22T16:05:45
69,566,344
0
0
null
null
null
null
UTF-8
Python
false
false
83
py
# -*- coding: utf-8 -* if numero*0.5=(numero%100) + numero//100: print(numero)
[ "rafael.mota@ufca.edu.br" ]
rafael.mota@ufca.edu.br
01d0f066ebccfbcc3429bb92eb4c58c7288e5c33
ba694353a3cb1cfd02a6773b40f693386d0dba39
/sdk/python/pulumi_google_native/beyondcorp/v1alpha/client_gateway_iam_member.py
e411f2bc786043e5ec3c549e1882babd6062d57d
[ "BSD-3-Clause", "Apache-2.0" ]
permissive
pulumi/pulumi-google-native
cc57af8bd3d1d6b76f1f48333ed1f1b31d56f92b
124d255e5b7f5440d1ef63c9a71e4cc1d661cd10
refs/heads/master
2023-08-25T00:18:00.300230
2023-07-20T04:25:48
2023-07-20T04:25:48
323,680,373
69
16
Apache-2.0
2023-09-13T00:28:04
2020-12-22T16:39:01
Python
UTF-8
Python
false
false
11,706
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 copy import warnings import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload from ... import _u...
[ "noreply@github.com" ]
pulumi.noreply@github.com
c73ec83d2bc16f0e985a6026dd20b6c6936d08f1
15f321878face2af9317363c5f6de1e5ddd9b749
/solutions_python/Problem_95/2212.py
d949b82062698cadca5cf074e35b0245522ff71b
[]
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
797
py
test_input1 = 'ejp mysljylc kd kxveddknmc re jsicpdrysi' test_input2 = 'rbcpc ypc rtcsra dkh wyfrepkym veddknkmkrkcd' test_input3 = 'de kr kd eoya kw aej tysr re ujdr lkgc jv' test_output1 = 'our language is impossible to understand' test_output2 = 'there are twenty six factorial possibilities' test_output3 = 'so it i...
[ "miliar1732@gmail.com" ]
miliar1732@gmail.com
35e250ddb36f9bda71a9edb9402cff3dc7b06ecd
1b9075ffea7d4b846d42981b41be44238c371202
/tags/2007-EOL/applications/multimedia/xsane/actions.py
a5dcf88f3f4b48317cf764f6179f90f66eb3cf6d
[]
no_license
pars-linux/contrib
bf630d4be77f4e484b8c6c8b0698a5b34b3371f4
908210110796ef9461a1f9b080b6171fa022e56a
refs/heads/master
2020-05-26T20:35:58.697670
2011-07-11T11:16:38
2011-07-11T11:16:38
82,484,996
0
0
null
null
null
null
UTF-8
Python
false
false
1,280
py
#!/usr/bin/python # -*- coding: utf-8 -*- # # Licensed under the GNU General Public License, version 2. # See the file http://www.gnu.org/licenses/old-licenses/gpl-2.0.txt from pisi.actionsapi import autotools from pisi.actionsapi import pisitools from pisi.actionsapi import shelltools from pisi.actionsapi import get ...
[ "turkay.eren@gmail.com" ]
turkay.eren@gmail.com
1697c0111932a0c9cad342f698ed370b0c72284d
a46d135ba8fd7bd40f0b7d7a96c72be446025719
/packages/python/plotly/plotly/validators/histogram/_outsidetextfont.py
91c57eed75e3073c405ed483e18e2d95722ed640
[ "MIT" ]
permissive
hugovk/plotly.py
5e763fe96f225d964c4fcd1dea79dbefa50b4692
cfad7862594b35965c0e000813bd7805e8494a5b
refs/heads/master
2022-05-10T12:17:38.797994
2021-12-21T03:49:19
2021-12-21T03:49:19
234,146,634
0
0
MIT
2020-01-15T18:33:43
2020-01-15T18:33:41
null
UTF-8
Python
false
false
1,566
py
import _plotly_utils.basevalidators class OutsidetextfontValidator(_plotly_utils.basevalidators.CompoundValidator): def __init__( self, plotly_name="outsidetextfont", parent_name="histogram", **kwargs ): super(OutsidetextfontValidator, self).__init__( plotly_name=plotly_name, ...
[ "nicolas@plot.ly" ]
nicolas@plot.ly
7a3131ae28be4405ce5a794b47ed688f2fecf0cb
71b11008ab0455dd9fd2c47107f8a27e08febb27
/04、 python编程/day06/3-code/06-函数的返回值.py
7adbf30fba433ca7320decfaec8f19bc9ce11693
[]
no_license
zmh19941223/heimatest2021
49ce328f8ce763df0dd67ed1d26eb553fd9e7da4
3d2e9e3551a199bda9945df2b957a9bc70d78f64
refs/heads/main
2023-08-25T17:03:31.519976
2021-10-18T05:07:03
2021-10-18T05:07:03
418,348,201
0
0
null
null
null
null
UTF-8
Python
false
false
478
py
# # 我们没有使用过函数 带返回值 # print("hello python") # # 对于没有返回值的函数,调用方法,直接函数名(参数) # # len是有返回值的函数 # a = len("hello python") # 会把一个值返回给调用者 # print(a) # print(len("hello python")) def my_sum(a, b): return a + b # 把a + b 的结果,返回给调用者 num1 = my_sum(2, 3) # 这里就是调用my_sum函数,所以num1得到了函数的返回值 print(num1) print(my_sum(5, 6))
[ "1780858508@qq.com" ]
1780858508@qq.com
98d962d303e316845b4a01a0847eb8e0c36ade3c
e75a40843a8738b84bd529a549c45776d09e70d9
/samples/openapi3/client/petstore/python/test/test_outer_enum.py
aa195260019e50c396a5107af8708f89aed3f908
[ "Apache-2.0" ]
permissive
OpenAPITools/openapi-generator
3478dbf8e8319977269e2e84e0bf9960233146e3
8c2de11ac2f268836ac9bf0906b8bb6b4013c92d
refs/heads/master
2023-09-02T11:26:28.189499
2023-09-02T02:21:04
2023-09-02T02:21:04
133,134,007
17,729
6,577
Apache-2.0
2023-09-14T19:45:32
2018-05-12T09:57:56
Java
UTF-8
Python
false
false
816
py
# coding: utf-8 """ OpenAPI Petstore This spec is mainly for testing Petstore server and contains fake endpoints, models. Please do not use this for any other purpose. Special characters: \" \\ # noqa: E501 The version of the OpenAPI document: 1.0.0 Generated by: https://openapi-generator.tech """ ...
[ "noreply@github.com" ]
OpenAPITools.noreply@github.com
6bbd7506cb05eb4e4065865fdd18cc17fcea1b2b
8bccc05fcb3cfc6ed93991927a514a96f53f7ec0
/example_extender/add_mention_dummy_extender.py
de5c32d684d6884597a818c80c3c1a1b17752451
[ "MIT" ]
permissive
afcarl/QuestionAnsweringGCN
54101c38549405d65ef22e38fed9e5bd58122ada
e9c1987b40a553f0619fa796f692c8880de32846
refs/heads/master
2020-03-20T10:35:55.729170
2018-06-07T11:45:12
2018-06-07T11:45:12
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,615
py
import numpy as np from example_reader.graph_reader.edge_type_utils import EdgeTypeUtils class AddMentionDummyExtender: relation_index = None vertex_index = None inner = None def __init__(self, inner, relation_index, vertex_index): self.inner = inner self.relation_index = relation_i...
[ "michael.sejr@gmail.com" ]
michael.sejr@gmail.com
b6df2c47c2e660f59205c497b027827cc1e83442
52e83d67c8b76f83278b61a4c0787abebfa2423c
/DeepLense/Shubham Jain/pipelines/beginner/features/redshifts_lens_and_source.py
f7fbc9325206394e42474457af943383399ac661
[]
no_license
mlsft/gsc_tasks-
3935142c93cebc978ff35e3f37486438c4dceeed
84b62aa04f2333d26f8f95a7c0b24c3922bac647
refs/heads/master
2022-04-13T16:22:18.054908
2020-04-14T11:59:45
2020-04-14T11:59:45
249,394,940
2
0
null
null
null
null
UTF-8
Python
false
false
4,271
py
import autofit as af import autolens as al ### PIPELINE DESCRIPTION ### # In this pipeline, we'll demonstrate passing redshifts to a pipeline - which means that the results and images of this # pipeline will be returned in physical unit_label (e.g. lengths in kpcs as well as arcsec, luminosities in magnitudes, # mass...
[ "alihariri@MacBook-Air-de-Ali.local" ]
alihariri@MacBook-Air-de-Ali.local
4856bde0b0b864ee66218ab2cf5abb1934f118c2
27bdcba25df8b2416783d8a1229bfce08dc77189
/tests/util/httpretty/test_decorator.py
d2ccd74525dfd97109047417dea28c64ee280b8a
[ "Apache-2.0" ]
permissive
BenjamenMeyer/stackInABox
5fbeab6aac38c52d5360f9dbabb9101447e32eb5
15586e61a2013b6f4997c652e8412a1784f8fc93
refs/heads/master
2022-04-01T01:04:33.103603
2021-01-09T05:52:55
2021-01-09T05:52:55
30,074,880
5
2
null
null
null
null
UTF-8
Python
false
false
6,522
py
""" Stack-In-A-Box: Basic Test """ import collections import sys import types import unittest import requests from stackinabox.util.httpretty import decorator from tests.util import base from tests.utils.services import AdvancedService from tests.utils.hello import HelloService @unittest.skipIf(sys.version_info >=...
[ "bm_witness@yahoo.com" ]
bm_witness@yahoo.com
44169eb3847ec870ceabdbf7343dc31c946a5041
ba2eea85cef560c54d5cb4af0e4f2c7c3ee3eb2f
/nesfr3_workspace/catkin_ws/devel/lib/python2.7/dist-packages/hdl_people_tracking/msg/__init__.py
25469b939f284ee573515fba8efc8d24068cf7de
[]
no_license
HiSeun/nesfr3_selfwork
0c782597ffd66d736d53ae05594d23fa7f1d9a85
855d43117a235462335c6693b334e7a6235d1d31
refs/heads/master
2023-02-08T07:33:15.637998
2021-01-05T08:48:45
2021-01-05T08:48:45
326,935,430
0
1
null
null
null
null
UTF-8
Python
false
false
102
py
from ._Cluster import * from ._ClusterArray import * from ._Track import * from ._TrackArray import *
[ "ksw05088@naver.com" ]
ksw05088@naver.com
8746be1fd3b410f5feea5dc25408026a13c2840a
b5445f9a1f3597472f47df89696465bca7735406
/app/program.py
fbad7d4d00617fce1af32fa10d72252d695d045e
[ "MIT" ]
permissive
mikeckennedy/pyramid-web-builder-python-gui
8af5a4dde9ff1bd6173f789464b67bdaba8bd3fa
d842e116730e9b0ed9daaf1125e1fb6e2b3ea40e
refs/heads/master
2021-05-03T11:00:32.390158
2018-02-17T16:12:56
2018-02-17T16:12:56
120,542,873
6
2
null
null
null
null
UTF-8
Python
false
false
2,867
py
import cookiecutter.main import sys from gooey import Gooey, GooeyParser from utils import to_project_style @Gooey( program_name='Pyramid app builder', program_description='Create a Pyramid web app', show_success_modal=False, requires_shell=False) def main(): info = get_user_values() proj_dir...
[ "mikeckennedy@gmail.com" ]
mikeckennedy@gmail.com
411345c0f65612ba6ffbc7676affbf602610f570
b639cc785f3e548c77090fb8d2bc35d5aebfa27c
/tests/test_patterns/test_des.py
79d37243bb32adcaed183884512f9af4dcd4d33f
[]
no_license
jmcarp/neurotrends
92b7c33a0fe7a216af4cbbb5d4d26f8ee051286e
724c06f6a31ecfe37780b51038b3367cd501be37
refs/heads/master
2016-09-05T15:49:35.435697
2014-11-02T04:27:21
2014-11-02T04:27:21
6,889,235
6
3
null
2014-10-19T18:33:44
2012-11-27T19:15:19
Python
UTF-8
Python
false
false
433
py
# -*- coding: utf-8 -*- import pytest from neurotrends.pattern import des from . import check_taggers @pytest.mark.parametrize('input, expected', [ # Positives ('block design', {}), ('blocked paradigm', {}), ('epoch based', {}), ('epoched analysis', {}), # PMID 21625502 ('we used a bloc...
[ "jm.carp@gmail.com" ]
jm.carp@gmail.com
50ed4c1e4c8f3a3d0004a7364916f829ebeb823e
e831c22c8834030c22c54b63034e655e395d4efe
/171-ExcelSheetColumnNumber.py
b0ecffe70dcf519041cda5b5ec7b971faf11ca34
[]
no_license
szhmery/leetcode
a5eb1a393422b21f9fd4304b3bdc4a9db557858c
9fcd1ec0686db45d24e2c52a7987d58c6ef545a0
refs/heads/master
2023-08-16T00:27:56.866626
2021-10-23T07:35:37
2021-10-23T07:35:37
331,875,151
0
0
null
null
null
null
UTF-8
Python
false
false
394
py
class Solution: def titleToNumber(self, columnTitle: str) -> int: ans = 0 for char in columnTitle: num = ord(char) - ord('A') + 1 ans = ans * 26 + num return ans if __name__ == '__main__': solution = Solution() result = solution.titleToNumber("FXSHRXW") ...
[ "szhmery@gmail.com" ]
szhmery@gmail.com
f4b2a1dbd9240673bd7048d07490b2712b5479ef
4578b30c433510cf370d51475ec11cac9c3de1cb
/serpent/analytics_client.py
f7cc26e803be8a25bf0c6da550b983ec00c7ca18
[ "MIT" ]
permissive
SerpentAI/SerpentAI
0a5b2d567b50388722c3a3c5152555ce94256c49
00a487dd088c6ca2528d025f3273c0a796efe210
refs/heads/dev
2023-03-08T14:14:07.171435
2020-05-22T22:34:09
2020-05-22T22:34:09
88,444,621
7,216
950
MIT
2020-07-15T00:41:35
2017-04-16T21:48:39
Python
UTF-8
Python
false
false
1,395
py
from redis import StrictRedis from datetime import datetime from pprint import pprint from serpent.config import config import json class AnalyticsClientError(BaseException): pass class AnalyticsClient: def __init__(self, project_key=None): if project_key is None: raise AnalyticsClien...
[ "info@nicholasbrochu.com" ]
info@nicholasbrochu.com
6f69f90944511a4dd09b85444b506dbc254f8afb
8f8ac99fd3ed9ceb36778b404f6fdd0b6899d3f4
/pyobjc-framework-Cocoa/PyObjCTest/test_nsattributedstring.py
b340f942563363e10e7fc3227d6dd2846b890741
[ "MIT" ]
permissive
strogo/pyobjc
ac4201c7742eb75348328eeecb7eedf4e3458de3
2579c5eaf44b0c5af77ee195c417d2c65e72dfda
refs/heads/master
2023-07-13T00:41:56.448005
2021-08-24T06:42:53
2021-08-24T06:42:53
null
0
0
null
null
null
null
UTF-8
Python
false
false
17,273
py
import objc import Foundation import AppKit from PyObjCTools.TestSupport import TestCase, min_os_level class TestNSAttributedString(TestCase): def testMethodsFoundation(self): self.assertArgIsOut( AppKit.NSAttributedString.attributesAtIndex_effectiveRange_, 1 ) self.assertArgIs...
[ "ronaldoussoren@mac.com" ]
ronaldoussoren@mac.com
cdc62e0661ae30c80e83b7d35e680840195d3461
2929a5acbe52994cf2f961ed120374b7b330d074
/form5/migrations/0008_auto_20200724_1433.py
30b1610c3e20398521e7651d662281109a24371c
[]
no_license
orhunakar01/larasolar01
a52135747676c587f6dfd98c67bf4c4a323dc448
18e12ecd5adc086da56b956a7f8da33f0723c84a
refs/heads/master
2022-12-04T16:06:32.983099
2020-08-26T06:45:03
2020-08-26T06:45:03
290,418,075
0
0
null
null
null
null
UTF-8
Python
false
false
434
py
# Generated by Django 3.0.8 on 2020-07-24 11:33 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('form5', '0007_auto_20200724_1430'), ] operations = [ migrations.AlterField( model_name='form5', name='dosya', ...
[ "orhunakar@yandex.com" ]
orhunakar@yandex.com
e8bd886a3bdc6cc1e1d74870cc517a83b8118279
51885da54b320351bfea42c7dd629f41985454cd
/abc198/e.py
4bad4cd9760be8cf70992b7142d358622bb251b8
[]
no_license
mskt4440/AtCoder
dd266247205faeda468f911bff279a792eef5113
f22702e3932e129a13f0683e91e5cc1a0a99c8d5
refs/heads/master
2021-12-15T10:21:31.036601
2021-12-14T08:19:11
2021-12-14T08:19:11
185,161,276
0
0
null
null
null
null
UTF-8
Python
false
false
1,109
py
# # abc198 e # import sys from io import StringIO import unittest from collections import deque class TestClass(unittest.TestCase): def assertIO(self, input, output): stdout, stdin = sys.stdout, sys.stdin sys.stdout, sys.stdin = StringIO(), StringIO(input) resolve() sys.stdout.seek...
[ "mskt4440@gmail.com" ]
mskt4440@gmail.com
eed9894019e05eca7b30267d37c17455147ae279
52a3beeb07ad326115084a47a9e698efbaec054b
/horizon/.venv/lib/python2.7/site-packages/muranodashboard_org/api/packages.py
30555b0805e18d567b9299fc0c686cec216987c7
[ "Apache-2.0" ]
permissive
bopopescu/sample_scripts
3dade0710ecdc8f9251dc60164747830f8de6877
f9edce63c0a4d636f672702153662bd77bfd400d
refs/heads/master
2022-11-17T19:19:34.210886
2018-06-11T04:14:27
2018-06-11T04:14:27
282,088,840
0
0
null
2020-07-24T00:57:31
2020-07-24T00:57:31
null
UTF-8
Python
false
false
3,859
py
# Copyright (c) 2014 Mirantis, 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...
[ "Suhaib.Chishti@exponential.com" ]
Suhaib.Chishti@exponential.com
0f702ff15d1d5b9145082f6402c50e7a282d49a8
5b3d8b5c612c802fd846de63f86b57652d33f672
/Python/eight_kyu/make_negative.py
1ced2d2e37e6381d69e9df3fff51514a55f71b75
[ "Apache-2.0" ]
permissive
Brokenshire/codewars-projects
1e591b57ed910a567f6c0423beb194fa7f8f693e
db9cd09618b8a7085b0d53ad76f73f9e249b9396
refs/heads/master
2021-07-22T18:50:25.847592
2021-01-25T23:27:17
2021-01-25T23:27:17
228,114,677
1
0
null
null
null
null
UTF-8
Python
false
false
724
py
# Python solution for 'Return Negative' codewars question. # Level: 8 kyu # Tags: FUNDAMENTALS and NUMBERS. # Author: Jack Brokenshire # Date: 11/04/2020 import unittest def make_negative(number): """ Make a given number negative. :param number: an integer value. :return: the integer as a negative nu...
[ "29889878+Brokenshire@users.noreply.github.com" ]
29889878+Brokenshire@users.noreply.github.com
be5c1b5992e68428d06e14747e5ee74245b52472
58afefdde86346760bea40690b1675c6639c8b84
/leetcode/elimination-game/365996335.py
a8932065ba6959fe4df1131bf0761ece4fd6de2d
[]
no_license
ausaki/data_structures_and_algorithms
aaa563f713cbab3c34a9465039d52b853f95548e
4f5f5124534bd4423356a5f5572b8a39b7828d80
refs/heads/master
2021-06-21T10:44:44.549601
2021-04-06T11:30:21
2021-04-06T11:30:21
201,942,771
1
0
null
null
null
null
UTF-8
Python
false
false
311
py
# title: elimination-game # detail: https://leetcode.com/submissions/detail/365996335/ # datetime: Mon Jul 13 18:50:53 2020 # runtime: 52 ms # memory: 13.7 MB class Solution: def lastRemaining(self, n: int) -> int: return (2 * (n // 2 - self.lastRemaining(n // 2) + 1)) if n > 1 else 1
[ "ljm51689@gmail.com" ]
ljm51689@gmail.com
1dc16a63a83e65662628b2453ff91ff337eff28d
3de21fc587c02f2702bd5770f11a31d5558a4666
/django_ac22/apps/avisos/forms.py
f0f90b51cfdad481b5d8887b01638b45daf0f108
[]
no_license
juanros13/ac22
8c20d59de62d596a73d6d7190f551ef3accf2b8e
d8ecf0686f3d8a57a747503b231b46277db71a6e
refs/heads/master
2020-04-16T11:24:07.344404
2016-09-22T23:51:39
2016-09-22T23:51:39
65,859,654
0
0
null
null
null
null
UTF-8
Python
false
false
1,110
py
# -*- encoding: utf-8 -*- from django import forms from django.contrib.auth.models import User from django.core.urlresolvers import reverse from django.contrib.auth.forms import UserCreationForm, AuthenticationForm from django.contrib.auth import authenticate from django.forms.widgets import Select, Textarea fro...
[ "juanros13@gmail.com" ]
juanros13@gmail.com
9d970a6420fe907b2979185d2b48aa7ae78262f1
5c61990fc1a79f389111a3e449c1fadf65fc1b8c
/portnet_reports/indicateurs_financier/__init__.py
b8f88826d9a9cd5ecc4a5bc263880c787dbaefa2
[]
no_license
brahim94/portnet
3befb64009fd014b74e01151cc429a613d3d2f11
f1120ce4806ba2fd7e26132ca918d1ce8b9ad32c
refs/heads/master
2023-04-14T07:17:40.956207
2021-04-27T16:37:48
2021-04-27T16:37:48
356,211,308
0
0
null
null
null
null
UTF-8
Python
false
false
27
py
import financial_indicator
[ "brahim-ayad@hotmail.com" ]
brahim-ayad@hotmail.com
81b9658d7beef3f5af94d215949d0df32e66dc26
df8ec66b10e97956f80ec52503dd456372c03c4a
/plotter/objects/selections.py
b4d32bd707d2c9a8132f64b9d47eda95be2cf1ba
[]
no_license
amlyon/plotter
3670820faf9864501b666f2e157e435a8285a766
5a3295fbf5d0875fd4a1c53164ac45e92d3ccd05
refs/heads/master
2022-11-17T02:27:42.072710
2020-07-07T20:19:25
2020-07-07T20:19:25
270,580,472
0
0
null
2020-06-23T14:55:25
2020-06-08T07:56:20
Python
UTF-8
Python
false
false
10,048
py
from collections import OrderedDict class Selections(object): def __init__(self, channel): self.channel = channel self.base = None self.selections = OrderedDict() if self.channel == 'mmm': self.selections['pt_iso'] = ' & '.join(['l0_pt > 25' , ...
[ "riccardo.manzoni@cern.ch" ]
riccardo.manzoni@cern.ch
7efb8ef9da9d77a2dea29542cdfeae246c6ad6d6
a2b6bc9bdd2bdbe5871edb613065dd2397175cb3
/Cookbook/Array/最小路径和.py
8fcbf61420a03b424278ab65480d35b31e907523
[]
no_license
Asunqingwen/LeetCode
ed8d2043a31f86e9e256123439388d7d223269be
b7c59c826bcd17cb1333571eb9f13f5c2b89b4ee
refs/heads/master
2022-09-26T01:46:59.790316
2022-09-01T08:20:37
2022-09-01T08:20:37
95,668,066
0
0
null
null
null
null
UTF-8
Python
false
false
1,076
py
''' 给定一个包含非负整数的 m x n 网格 grid ,请找出一条从左上角到右下角的路径,使得路径上的数字总和为最小。 说明:每次只能向下或者向右移动一步。   示例 1: 输入:grid = [[1,3,1],[1,5,1],[4,2,1]] 输出:7 解释:因为路径 1→3→1→1→1 的总和最小。 示例 2: 输入:grid = [[1,2,3],[4,5,6]] 输出:12   提示: m == grid.length n == grid[i].length 1 <= m, n <= 200 0 <= grid[i][j] <= 100 ''' from typing import List cla...
[ "sqw123az@sina.com" ]
sqw123az@sina.com