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
9445600ad019e24e80a7a4ac70c30bdbe24bef67
19d47d47c9614dddcf2f8d744d883a90ade0ce82
/pynsxt/swagger_client/models/ipfix_config_list_result.py
782a42967405d5d595ef1abf1d5dc20b7c5d7ce0
[]
no_license
darshanhuang1/pynsxt-1
9ed7c0da9b3a64e837a26cbbd8b228e811cee823
fb1091dff1af7f8b8f01aec715682dea60765eb8
refs/heads/master
2020-05-25T14:51:09.932853
2018-05-16T12:43:48
2018-05-16T12:43:48
null
0
0
null
null
null
null
UTF-8
Python
false
false
9,029
py
# coding: utf-8 """ NSX API VMware NSX REST API # noqa: E501 OpenAPI spec version: 1.0.0 Generated by: https://github.com/swagger-api/swagger-codegen.git """ import pprint import re # noqa: F401 import six from swagger_client.models.ipfix_config import IpfixConfig # noqa: F401,E501 from s...
[ "tcraft@pivotal.io" ]
tcraft@pivotal.io
d4a72aad760c526540e3ae2b03f64f9958a348e3
4fb4899758f3d8c5f1db07e8bc405b13ab4eb0b8
/h_index.py
1ea6c4fc1c00d04aa754178cd5f990acb014b8bc
[]
no_license
stephenosullivan/LT-Code
e70df6c52c4944c56bb604109c2fc5b537e28ae6
b93e46f6526be7a92ebe16f45998527e2b1dc494
refs/heads/master
2020-04-05T14:39:57.569699
2016-09-14T16:01:22
2016-09-14T16:01:22
15,329,855
1
0
null
null
null
null
UTF-8
Python
false
false
417
py
__author__ = 'stephenosullivan' class Solution(object): def hIndex(self, citations): """ :type citations: List[int] :rtype: int """ if citations: citations.sort() for cnt, numCitations in enumerate(citations): index = len(citations) -...
[ "osullisg@gmail.com" ]
osullisg@gmail.com
3927ffe7155703ec627fe189fa8182f5a4698d37
53fab060fa262e5d5026e0807d93c75fb81e67b9
/backup/user_382/ch47_2020_04_05_20_37_00_754367.py
ad5218cacb3e6f87e83bc6d0f70594d29f498ad3
[]
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
297
py
def estritamente_crescente(l1): if l1 == []: return l1 else: maximo = l1[0] lista = [maximo] i = 0 for i in range(len(l1)): if l1[i+1] > maximo: maximo = l1[i+1] lista.append(l1[i+1]) return lista
[ "you@example.com" ]
you@example.com
74d53d841e407b4f7c83dd9a75033b83752a0ea2
ed0b46825afb7d564f86e7583cec47116e5d211d
/lucifer/game/characters/api/views/character.py
7be5bbd6441730291c54d0112ea37275868d9895
[]
no_license
deadlylaid/lucifer
f8d9d4897e7100499da36bef15b19b8d05575bfe
3cc137d4cc7df6da9a313dafad6505086f7d8747
refs/heads/develop
2020-12-30T22:57:42.060895
2017-07-07T05:55:31
2017-07-07T05:55:31
80,637,709
2
7
null
2017-05-28T15:13:43
2017-02-01T16:11:15
JavaScript
UTF-8
Python
false
false
498
py
from rest_framework.generics import ListAPIView from game.characters.api.serializers import CharacterSerializer from users.models import User from game.characters.models import Character class CharacterAPIView(ListAPIView): serializer_class = CharacterSerializer def get_queryset(self): user = self...
[ "deadlylaid@gmail.com" ]
deadlylaid@gmail.com
70b537ee68ebfeb5c10452d84e3b72233ca2e5c8
cb588b49abdd36b36fe4921cbde0fb519c9f6f5f
/Gonzalo/Atwood_double.py
07a6616553eaf82e9da1bd5e35d4ac15a36fb47b
[]
no_license
Compys/VisualPhysics
c5c6f9f1f21e6ada6a5efc2b05047dbb3860bd1f
3d01d11cbb91433e2b554d6eebd33456b614a87b
refs/heads/master
2020-04-14T14:05:52.100269
2015-11-24T00:10:50
2015-11-24T00:10:50
25,881,241
0
0
null
null
null
null
UTF-8
Python
false
false
2,907
py
from __future__ import division from visual import * from visual.graph import * from math import * L = 10 l = L/2 Rpuley = 2. rpuley = Rpuley/2 rball = rpuley/8 rchain = rball/5 xaxis = ( 1, 0, 0 ) yaxis = ( 0, 1, 0 ) zaxis = ( 0, 0, 1 ) zero = ( 0, 0, 0 ) posa = ( -2, 0, 0 ) posb = ( +1, 0, 0 ) ...
[ "gonzaponte@gmail.com" ]
gonzaponte@gmail.com
de2103c7cb2ae59b29d2327305b9daa09569fed7
6a0957e13439c76740a0d15e73d1d17813f01c04
/playfair.py
96596d2d570122c5192a649f62bb7704907b434a
[]
no_license
ankorecpy/criptografia
9d742513bdf9d955b7c8d30157fc99cf69fb5e44
e8c9f0aeb5d1dbb7590ad7ffe7cb6a81a0fd317a
refs/heads/master
2020-05-02T09:24:15.084547
2019-03-26T21:27:34
2019-03-26T21:27:34
177,870,905
0
0
null
null
null
null
UTF-8
Python
false
false
3,067
py
# -*- coding: utf-8 -*- """ Clase PlayFair: Metodos basicos para cifrar y descifrar texto mediante el algoritmo PlayFair. Elaborado por: Jorge Tunubalá """ import sys from cifrar import Cifrar password = '' class Playfair(Cifrar): def pf_Cifrar(self, texto, clave): password = clave """Vuelve el texto cifrado...
[ "root@localhost.localdomain" ]
root@localhost.localdomain
18a20b219d82001839b7ddaae4fd48a98f43d141
360ae1188ad79e71ccc72da0b9ae709bda678f91
/ryu/tests/integrated/common/docker_base.py
1ae2cc27a4162ce2850af7a0557d728ed5a2a3c6
[ "Apache-2.0" ]
permissive
faucetsdn/ryu
47b3523e7ccb381f3bdf2877a3f9f01cb1876054
d6cda4f427ff8de82b94c58aa826824a106014c2
refs/heads/master
2023-09-05T06:37:21.991029
2022-06-09T23:09:40
2022-06-09T23:09:40
2,945,007
385
215
Apache-2.0
2022-11-13T10:50:25
2011-12-09T03:43:50
Python
UTF-8
Python
false
false
27,739
py
# Copyright (C) 2015 Nippon Telegraph and Telephone Corporation. # # This is based on the following # https://github.com/osrg/gobgp/test/lib/base.py # # 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 L...
[ "fujita.tomonori@lab.ntt.co.jp" ]
fujita.tomonori@lab.ntt.co.jp
c05deb3e22eeb4aa0abe844ef1ed8d64a9dd968b
fb3ebacfac245e8a068141c2054f9d32549d26b8
/welib/yams/yams.py
26bc85370a7da19875cb5a2e25005d93327ae690
[ "MIT" ]
permissive
michalehu/welib
c0cff331f00b4bd9a6e3be7d429f6102087ddfc8
b3fea84f88d7d931bc80127670747e461a265913
refs/heads/master
2023-01-02T11:57:28.373660
2020-10-27T18:17:39
2020-10-27T18:17:39
null
0
0
null
null
null
null
UTF-8
Python
false
false
26,141
py
""" Reference: [1]: Branlard, Flexible multibody dynamics using joint coordinates and the Rayleigh-Ritz approximation: the general framework behind and beyond Flex, Wind Energy, 2019 """ import numpy as np from .flexibility import GMBeam, GKBeam, GKBeamStiffnening, polymode from .utils import * from .bodies impor...
[ "elmanuelito.github@gmail.com" ]
elmanuelito.github@gmail.com
e4f689648d84f1d69c9a1f9dc69f41dd7ea18e3a
d3fb6bf7a904c78e733b053ee2cbaeded0154b89
/aiogram/utils/auth_widget.py
b5cce802c53b11d8a81b078b1f24027d8289f6b8
[ "MIT" ]
permissive
pmbi/aiogram
35e878a2dc72b8d33501a41175fe3914ab9fb65c
dfcc59d349e5387ff59ead32bd8f20d4ae064568
refs/heads/master
2021-04-27T00:10:45.819677
2018-02-23T12:11:35
2018-02-23T12:11:35
123,763,026
4
0
null
2018-03-04T06:23:19
2018-03-04T06:23:18
null
UTF-8
Python
false
false
721
py
import collections import hashlib import hmac def check_token(data, token): """ Validate auth token https://core.telegram.org/widgets/login#checking-authorization Source: https://gist.github.com/xen/e4bea72487d34caa28c762776cf655a3 :param data: :param token: :return: """ secret =...
[ "jroot.junior@gmail.com" ]
jroot.junior@gmail.com
43458a334e5bdaf8d4408a9c12e72d013ca8ed24
c855bc4640a54630b62fafd89a20967606a8f14e
/depth_first_search/1036_escape_a_large_maze.py
ccb7b51ab6a2529af42fda5999b5cacc6218a242
[ "MIT" ]
permissive
asethi-ds/Algorithm-Toolbox
0d8f7e68ebce47810c7dd88df0bb6d911013e1d1
b6c7b2228d8e70e0842e0bad607533a2c8322cf0
refs/heads/master
2021-01-02T15:44:06.833196
2019-08-31T11:32:11
2019-08-31T11:32:11
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,549
py
""" need to check both direction, because the blocks can try to trap source or destination max block area is (1 + 199) * 199 / 2 = 19900 0 <= blocked.length <= 200 1 OOO...OX 2 OOO...X . ... 199 OX 200 X 199 rows first row contains 199 O Row 199 contains 1 O Enclosed O: (199 + 1) * 199 / 2 """ def isEscapePos...
[ "shawlu@github.com" ]
shawlu@github.com
7db01f4e581c8af159c9bb33f821fe2cff46d1fe
0cf7ede6eea6220a019560535887d2b4e5e73018
/improve/查找/二分查找.py
087681548b717d4e0361e8cfc326f37f4701204b
[]
no_license
skywalkerqwer/PythonBase
76efd1fcbe0c2d1c54484c02fcb107063fba96fe
6faf8051bdf416a16586c7f660a4e6cc2a7745bf
refs/heads/master
2020-06-23T05:41:02.540900
2019-08-12T03:21:52
2019-08-12T03:21:52
198,533,526
0
0
null
null
null
null
UTF-8
Python
false
false
1,179
py
""" 二分查找: 前提:有序数据(升序) 由中间元素将数据分为左右两部分,比较中间元素与待查找值的大小 如果相等 则查找成功 如果中间元素比目标元素大,则继续在左侧重复该过程 如果中间元素比目标元素小,则继续在右侧重复该过程 如此递归下去直到成功找到或者查找完所有数据为止 """ def binary(value, key, left, right, count=0): """ :param value: 有序列表 :param key: 目标值 :param left: 左侧边界 ...
[ "15902162780@163.com" ]
15902162780@163.com
436e2580564e5c5d82addb65d3eaa4f848455e6a
9cb5587808e4d618fff2e90f5469b69bdc5c6352
/utils/colorize.py
44e0e14da571a693e55644df65d52233de260d01
[ "MIT" ]
permissive
tifgan/gacela
057f6678a7f4f3a2edca76157972767431e41d9e
cd496cfce128ea7b6191a93639f8f4efac7e7142
refs/heads/master
2023-02-02T11:07:33.353744
2020-12-17T18:58:11
2020-12-17T18:58:11
285,275,592
4
0
null
null
null
null
UTF-8
Python
false
false
1,616
py
import matplotlib import matplotlib.cm import numpy as np import torch __author__ = 'Andres' def colorize(value, vmin=None, vmax=None, cmap=None): """ A utility function for pytorch that maps a grayscale image to a matplotlib colormap for use with TensorBoard image summaries. By default it will norma...
[ "andimarafioti@gmail.com" ]
andimarafioti@gmail.com
48ca3f79157f689a60829683e8d90e023125e49e
8bc5c99c6a7e927ca61262bec23118168d880f6f
/setup.py
fe233c49f1b35b5fbe96ee2a64c610cf0b582d4a
[ "MIT" ]
permissive
AoiKuiyuyou/AoikProjectStarter-Python
588f8fc79a48ae58878996fcfcf438656282a6e2
448789ad012be8774d4a3792639b155394b16048
refs/heads/master
2020-09-18T18:47:12.863632
2016-08-19T14:08:10
2016-08-19T14:08:10
66,087,058
3
0
null
null
null
null
UTF-8
Python
false
false
1,411
py
# coding: utf-8 """ Setup module. """ from __future__ import absolute_import # Third-party imports from setuptools import find_packages from setuptools import setup setup( name='AoikProjectStarter', version='0.1.0', description=( 'Python starter project that can tidy-lint-test code and build' ...
[ "aoi.kuiyuyou@gmail.com" ]
aoi.kuiyuyou@gmail.com
19968898825807ffe4d54fc05634e99f4fbc965c
54da94dce244ab659c8036cafcdc1b326fbfe490
/datoteke-s-predavanj/2017-18/03-zanke/while-b.py
51a459ddf7b15660e1176605e831ebc26aa444d8
[]
no_license
jakamrak/uvod-v-programiranje
640b2738164e2026308d7e60f1478659df79cc40
3c05290f4f23b384ad9063880fffe208c08fc599
refs/heads/master
2022-07-17T16:50:18.563453
2020-05-18T13:54:13
2020-05-18T13:54:13
null
0
0
null
null
null
null
UTF-8
Python
false
false
154
py
vsota = 0 n = 1 while vsota < 15: n += 1 vsota += 1 / n def gcd(m, n): while n > 0: print(m, n) m, n = n, m % n return m
[ "matija@pretnar.info" ]
matija@pretnar.info
6e5e699df9d20ffc1fafaa062b3447420f7207cf
44d8d6edff1aab747a7c06bd64da3689578204f4
/week10/task2.py
48f51a71275422886d226b8a7b4c716576c910ac
[]
no_license
chenzhg33/bigdata
6e42b401f4ccb2ecba86c18b05380659d67b5e39
23bd52d7cb4fb9dadb45e13c4db0868b2f5c2f49
refs/heads/master
2021-01-25T07:39:53.404641
2015-05-19T15:21:19
2015-05-19T15:21:19
33,304,147
0
0
null
null
null
null
UTF-8
Python
false
false
1,505
py
#! /usr/bin/python from pyspark import SparkConf, SparkContext sconf = SparkConf().setMaster("local").setAppName("Correlated Pages") sc = SparkContext(conf = sconf) lines = sc.textFile("test") def mapper(line): datas = line.strip().split(" ") code = datas[1] title = datas[2] hits = datas[3] return [(code + " " ...
[ "training@localhost.localdomain" ]
training@localhost.localdomain
b3f98f469c0ce446263f922e2fe8cabcdde10da7
825c0913ee861dc319b3e9255df45e8b2de93320
/python/dgcnn/dgcnn_cls.py
113298d5368beaccf251980a128f433f8f47c93e
[]
no_license
MrRen-sdhm/grasp_pose_detector
fb6f687aa390c2013211fc00d004984a8dbbeb96
1f604cd55c04c9b9ef08da16e1f12139e975f2e1
refs/heads/master
2021-06-26T00:38:23.615206
2021-06-20T12:32:59
2021-06-20T12:32:59
184,882,267
9
0
null
null
null
null
UTF-8
Python
false
false
2,702
py
#!/usr/bin/env python # -*- coding: utf-8 -*- from __future__ import print_function import os import sys import time import numpy as np import torch import torch.nn as nn import torch.nn.functional as F import torch.optim as optim from torch.optim.lr_scheduler import CosineAnnealingLR from model.model import DGCNN f...
[ "rzy.1996@qq.com" ]
rzy.1996@qq.com
54972e0f90ee66a73ee0638e3f9bdf5bebf92c80
9743d5fd24822f79c156ad112229e25adb9ed6f6
/xai/brain/wordbase/nouns/_photons.py
8d8c119c435e9f6a6b0fb55a7c67d0290e283d1e
[ "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.nouns._photon import _PHOTON #calss header class _PHOTONS(_PHOTON, ): def __init__(self,): _PHOTON.__init__(self) self.name = "PHOTONS" self.specie = 'nouns' self.basic = "photon" self.jsondata = {}
[ "xingwang1991@gmail.com" ]
xingwang1991@gmail.com
1b851f067283f40e814f0f90e297671a6e5b11a2
ac61c80a2d9e95838ab6fdd8d41c9328e64a740e
/org/__init__.py
5cb075c765848e3d2a40892c4d50ccd25404bc99
[]
no_license
zdYng/ients_down
ac45f8f1016e8876b8e282d9055975b2c19291db
a85be63365ab7f54a3629498e19cd0c619e67887
refs/heads/master
2020-03-09T04:24:37.824832
2018-03-19T00:56:02
2018-03-19T00:56:02
128,586,973
1
0
null
2018-04-08T02:07:16
2018-04-08T02:07:16
null
UTF-8
Python
false
false
188
py
# import general.common_variable # # # def post_authority(request): # pass # # def post_urls_and_json(): # return [] # # # def post_menus(): # return {} # # # post_authority()
[ "mcdull9393@gmail.com" ]
mcdull9393@gmail.com
47fc0e9624d8cc322101caf2ae6445ee1054de30
92237641f61e9b35ff6af6294153a75074757bec
/Algorithm/BOJ/silver3_14889_스타트와 링크.py
bec2442f81404f829240877d5be59cfb8d03eb1a
[]
no_license
taepd/study
8ded115765c4f804813e255d9272b727bf41ec80
846d3f2a5a4100225b750f00f992a640e9287d9c
refs/heads/master
2023-03-08T13:56:57.366577
2022-05-08T15:24:35
2022-05-08T15:24:35
245,838,600
0
1
null
2023-03-05T23:54:41
2020-03-08T15:25:15
JavaScript
UTF-8
Python
false
false
508
py
from itertools import combinations ans = float('inf') n = int(input()) arr = [list(map(int, input().split())) for __ in range(n)] combo = list(combinations([i for i in range(n)], n//2)) start, link = combo[:len(combo)//2], combo[len(combo)//2:][::-1] for s, l in zip(start, link): sum_s, sum_l = 0, 0 for i, ...
[ "taepd1@gmail.com" ]
taepd1@gmail.com
e8e65f51fad220f41693e507b03b1f7dfcaabd76
2a91a64f5464c48fb56bd2f0e01668737d4eafa9
/google-cloud-sdk/lib/googlecloudsdk/third_party/apis/apikeys/v2/apikeys_v2_messages.py
50f60390d4df0f898540860ae87b4514ab7fa0ed
[ "LicenseRef-scancode-unknown-license-reference", "Apache-2.0" ]
permissive
salewski/google-cloud-sdk
8513faf8c2f5b9180361efb567c4cfb9986d1e21
060174026ac068b6442b6c58bedf5adc7bc549cb
refs/heads/master
2023-08-16T09:44:57.948620
2021-10-05T00:00:00
2021-10-05T16:15:40
417,465,521
0
0
null
null
null
null
UTF-8
Python
false
false
21,778
py
"""Generated message classes for apikeys version v2. Manages the API keys associated with developer projects. """ # NOTE: This file is autogenerated and should not be edited by hand. from __future__ import absolute_import from apitools.base.protorpclite import messages as _messages from apitools.base.py import encod...
[ "gcloud@google.com" ]
gcloud@google.com
136b946b045551386f5d1c1d0f3e3a8a6645bd2c
e1a7bbfc7ab3ec2ee0991ea6cfdd59f7f936c756
/validate_knn.py
fe6202ad27501dc59e6d1796cd6deb65ac79bf72
[ "MIT" ]
permissive
laiguokun/fairseq
0247068de72fa9360a28fbbeb2cb153239c3e4d9
6c01c91aac81eb2e3173add4463dfa45c404ffa5
refs/heads/master
2020-08-05T08:18:57.911610
2020-01-04T05:19:59
2020-01-04T05:19:59
212,462,353
1
0
MIT
2019-10-02T23:39:28
2019-10-02T23:39:28
null
UTF-8
Python
false
false
3,822
py
#!/usr/bin/env python3 -u #!/usr/bin/env python3 -u # Copyright (c) Facebook, Inc. and its affiliates. # # This source code is licensed under the MIT license found in the # LICENSE file in the root directory of this source tree. import torch from fairseq import checkpoint_utils, options, progress_bar, utils from knn_u...
[ "google-dl-platform@googlegroups.com" ]
google-dl-platform@googlegroups.com
50e395bd9440a907e36b8de3a4252b9688eca97a
50948d4cb10dcb1cc9bc0355918478fb2841322a
/azure-mgmt-network/azure/mgmt/network/v2018_10_01/operations/network_profiles_operations.py
3dbfc69a4939b320635e382c07ef622740b433dd
[ "MIT" ]
permissive
xiafu-msft/azure-sdk-for-python
de9cd680b39962702b629a8e94726bb4ab261594
4d9560cfd519ee60667f3cc2f5295a58c18625db
refs/heads/master
2023-08-12T20:36:24.284497
2019-05-22T00:55:16
2019-05-22T00:55:16
187,986,993
1
0
MIT
2020-10-02T01:17:02
2019-05-22T07:33:46
Python
UTF-8
Python
false
false
24,425
py
# coding=utf-8 # -------------------------------------------------------------------------- # Copyright (c) Microsoft Corporation. All rights reserved. # Licensed under the MIT License. See License.txt in the project root for # license information. # # Code generated by Microsoft (R) AutoRest Code Generator. # Changes ...
[ "lmazuel@microsoft.com" ]
lmazuel@microsoft.com
f166215cb97949167cdf97d382da8c146b4ba4d9
ed00151e514d38cffabc37f8c74c2142fe497a7b
/base/Html_Parser.py
a2b2e3e188feb3cd25156a48dbfaa0480fc51f5a
[]
no_license
jingihu/spider_simple_frame
e251e40b6f115123e69e2e0c25fee62c543c3004
722049c1bc2f68284c92bfe3cdf3fab1176802d6
refs/heads/master
2022-12-13T05:44:00.986211
2019-04-28T15:08:27
2019-04-28T15:08:27
183,922,594
0
0
null
2022-12-08T05:02:33
2019-04-28T15:00:56
Python
UTF-8
Python
false
false
1,577
py
import re from bs4 import BeautifulSoup class HtmlParser(object): def parser(self,page_url,html_cont): ''' 用于解析网页内容,抽取url和数据 :param page_url: 下载页面的url :param html_cont: 下载的网页内容 :return: 返回url和数据 ''' if page_url is None or html_cont is None: ret...
[ "you@example.com" ]
you@example.com
b178342fd8b0ff7488323056e7f6e2d26693d27c
6cb4739856259da363ec64c7f9f4837d29ea7cdd
/demo1/relationtest/migrations/0002_application_host.py
538461a1f89243c44bf06652eff006b26ed41837
[]
no_license
zzy0371/Py1903
41ac290f5e6303794229ca84a9c861bc7e50cf33
771c7e4e2cbdbfc01a0d19ac7b0e34f2b0da874a
refs/heads/master
2023-05-02T03:25:56.435094
2019-06-18T10:14:30
2019-06-18T10:14:30
189,959,324
0
0
null
2023-04-21T20:33:00
2019-06-03T07:49:45
Python
UTF-8
Python
false
false
861
py
# Generated by Django 2.2.2 on 2019-06-10 03:34 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('relationtest', '0001_initial'), ] operations = [ migrations.CreateModel( name='Host', fields=[ ('id'...
[ "496575233@qq.com" ]
496575233@qq.com
e971167c3bf097969bde9c314b3e31f0f5ff0ec8
4d2238210813c1581bf44f64d8a63196f75d2df4
/craking/greatestSumOfSubString.py
1e79a98d0fe3a195d3eef0ea87dcdc97222f1594
[]
no_license
wwtang/code02
b1600d34907404c81fa523cfdaa74db0021b8bb3
9f03dda7b339d8c310c8a735fc4f6d795b153801
refs/heads/master
2020-12-24T14:10:33.738734
2012-12-14T04:24:47
2012-12-14T04:24:47
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,115
py
""" Find the substring of string with largest sum input: an array with positive and negative integer, output the largest sum of a substring of the array algorithm: two flags : current sum and largest sum 1. Go through the array from the first integer, and add to current sum, if curSum < 0, set curSum to 0, els...
[ "andytang1994@gmail.com" ]
andytang1994@gmail.com
37574c2e7534e88d7bcf3fdb17429a4e75bdad6e
83de24182a7af33c43ee340b57755e73275149ae
/aliyun-python-sdk-cloudapi/aliyunsdkcloudapi/request/v20160714/ModifyInstanceSpecRequest.py
029d3eb3f1600144bcf8b98fdf168aeee7afb817
[ "Apache-2.0" ]
permissive
aliyun/aliyun-openapi-python-sdk
4436ca6c57190ceadbc80f0b1c35b1ab13c00c7f
83fd547946fd6772cf26f338d9653f4316c81d3c
refs/heads/master
2023-08-04T12:32:57.028821
2023-08-04T06:00:29
2023-08-04T06:00:29
39,558,861
1,080
721
NOASSERTION
2023-09-14T08:51:06
2015-07-23T09:39:45
Python
UTF-8
Python
false
false
2,445
py
# Licensed to the Apache Software Foundation (ASF) under one # or more contributor license agreements. See the NOTICE file # distributed with this work for additional information # regarding copyright ownership. The ASF licenses this file # to you under the Apache License, Version 2.0 (the # "License"); you may not u...
[ "sdk-team@alibabacloud.com" ]
sdk-team@alibabacloud.com
570235f256f12265864bbd2b43b6a86b7e0824e8
3419067388879d8a6542df01cb0278ae90b021a2
/第八天函数和io/05-知识点补充-交换2个变量.py
3fe1e6de5a6a2213efe82ab106846745e6bbb357
[]
no_license
oweson/python-river-master
faa31c5248e297a92054cc302e213e2b37fb8bd5
cf9e99e611311b712465eb11dec4bb8f712929b2
refs/heads/master
2021-06-21T15:47:01.755957
2019-10-02T00:08:05
2019-10-02T00:08:05
205,607,518
0
0
null
2021-06-10T21:55:20
2019-08-31T23:39:55
Python
UTF-8
Python
false
false
117
py
a = 4 b = 5 # 交换方式1 c = 0 c = a a = b b = c # 方法2 a = a + b b = a - b a = a - b # 方法3 a, b = b, a
[ "570347720@qq.com" ]
570347720@qq.com
3e5db3bf0ce7cfe3d6dff53a66645acf4e27bc41
cfbed7f3e66a56af17527a219e47e3586766e346
/sbpy/spectroscopy/tests/test_core.py
64042ceedf9bd3592decde74bfb29cc34b55aa04
[ "BSD-3-Clause" ]
permissive
bsipocz/sbpy
823ebf53ddedc4f7ac46a6bb40a2ed96f019cd4b
98fe91ca75e207608e4fc2d75a94f058ec5fb2fe
refs/heads/master
2020-05-16T13:27:37.196386
2019-04-10T22:01:19
2019-04-10T22:01:19
183,074,455
0
0
null
2019-04-23T18:32:30
2019-04-23T18:32:29
null
UTF-8
Python
false
false
6,959
py
# Licensed under a 3-clause BSD style license - see LICENSE.rst import sys import mock import pytest import numpy as np import astropy.units as u from astropy.tests.helper import remote_data import synphot from ..core import SpectralStandard from ... import bib, units, utils from ... import exceptions as sbe class S...
[ "msk@astro.umd.edu" ]
msk@astro.umd.edu
b8780aa002678b1d032caa6d442c9d6164ea3903
4ce6290a08616404e99ea7234221bb2df78f84c1
/scrapyspider/scrapyspider/spiders/lagoujob_crawler.py
bcaea14a9afb40b86cc3d5bab45a911c53985768
[]
no_license
Coder-Chandler/Spider
ba2e75664e441fba1abb5e76f89bafcd199ea172
42546b19ffd8eb05c9debf6164e44b2897bb60ab
refs/heads/master
2020-12-02T06:46:27.105950
2017-11-21T11:56:03
2017-11-21T11:56:03
96,895,528
1
0
null
null
null
null
UTF-8
Python
false
false
4,437
py
# -*- coding: utf-8 -*- import scrapy from scrapy.linkextractors import LinkExtractor from scrapy.spiders import CrawlSpider, Rule from items import LaGouItemLoader, LaGouJobItem from utils.common_use_func import get_md5 from scrapy.xlib.pydispatch import dispatcher from scrapy import signals import datetime class La...
[ "ysiwgtus@gmail.com" ]
ysiwgtus@gmail.com
221d50b6e5bc1574a78e1dbb605f1566c6d70015
ac83d1ddb84ecc904c73bdf779f458bd77efc98c
/test/programytest/config/bot/test_bot.py
9f5876b9d9ebdd4404fdc174cca5b57917d9ab21
[ "MIT" ]
permissive
secrecy27/chatbot
77829f32a15e17563f038663aebebdb71e52c5a7
e65a753cf665a4d6d97b57703431cba5331e4f0b
refs/heads/master
2022-07-24T08:39:57.788009
2020-07-16T03:55:21
2020-07-16T03:55:21
130,678,143
4
4
NOASSERTION
2022-07-06T19:49:14
2018-04-23T10:12:01
Python
UTF-8
Python
false
false
4,432
py
import unittest from programy.config.bot.bot import BotConfiguration from programy.clients.events.console.config import ConsoleConfiguration from programy.config.file.yaml_file import YamlConfigurationFile class BotConfigurationTests(unittest.TestCase): def test_with_data(self): yaml = YamlConfiguration...
[ "secrecy418@naver.com" ]
secrecy418@naver.com
3b738f29669105a66e15e5075a549c129746ad7a
52b5773617a1b972a905de4d692540d26ff74926
/.history/fizz_20200607124437.py
1acfb3576aa7e54f12aa37d13549a66ccfc22aa7
[]
no_license
MaryanneNjeri/pythonModules
56f54bf098ae58ea069bf33f11ae94fa8eedcabc
f4e56b1e4dda2349267af634a46f6b9df6686020
refs/heads/master
2022-12-16T02:59:19.896129
2020-09-11T12:05:22
2020-09-11T12:05:22
null
0
0
null
null
null
null
UTF-8
Python
false
false
425
py
def fizz(num): newNumber = [] for i in range(1,num+1): newNumber.append(i) for j in range(len(newNumber)): if newNumber[j] % 3== 0: newNumber[j] = "Fizz" elif newNumber[j] % 5 == 0: newNumber[j] = "Buzz" elif newNumber[j] % 3 == 0 and newNumber[j] ==...
[ "mary.jereh@gmail.com" ]
mary.jereh@gmail.com
45f4a980ce02d61a37cef0a80ed5db263406d23d
e6b0cc447024635419968fa0d5516af6630823bb
/sona15/enroll/migrations/0001_initial.py
7c172122b118876b2b9d02221424a4b43c0f20d0
[]
no_license
kamal0072/djangoproject
711c0ece49434065de0d66d8ba44dcda3198ff01
04b8f0071d1ce9cfd47c682318654c4b881e8011
refs/heads/master
2023-04-12T09:40:26.367185
2021-05-16T16:39:03
2021-05-16T16:39:03
366,583,498
1
0
null
null
null
null
UTF-8
Python
false
false
545
py
# Generated by Django 3.1.6 on 2021-05-16 05:47 from django.db import migrations, models class Migration(migrations.Migration): initial = True dependencies = [ ] operations = [ migrations.CreateModel( name='SchoolModel', fields=[ ('id', models.AutoFi...
[ "hasan.kamaal0072@gmail.com" ]
hasan.kamaal0072@gmail.com
9e0cc00a35519656f8c62a7e1a27959e44d00a01
e3120b6bb8c51c2faee8c9b17a43930831c652b0
/settings.py
0c7f9b0242f143204e8122fd4d79265f5395ea34
[]
no_license
yizhong120110/CnkiSpider
c7b47d09756239a88620d749aef8e7208a40937a
cc673fd8562eee0cf674447127b2022397f0cd12
refs/heads/master
2023-03-13T08:27:34.510685
2021-03-01T02:23:38
2021-03-01T02:23:38
312,212,265
1
0
null
null
null
null
UTF-8
Python
false
false
4,855
py
# -*- encoding: utf-8 -*- ''' @File : settings.py @Contact : yizhong120110@gmail.com @Descrip : @Modify Time @Author @Version @Desciption ------------ ------- -------- ----------- 2020/10/20 17:49 qiuy 1.0 None ''' import os,logging,time from urllib.parse import quote u...
[ "yizhong120110@gmail.com" ]
yizhong120110@gmail.com
d116fab0f058d5680740226afa5110ec3dc6da20
50f6ddd45ae2811ae4580ceb4a5617106145769f
/pali.py
305f84b4bfed52034edef5ce7c8e32166a458315
[]
no_license
MohammedFerozHussain/guvi1
432f89701b8d0d6e75229dbd199e362a42e2df53
cd4ae6c903bd5de883234d076aec770e2c8bcd41
refs/heads/master
2020-04-15T05:10:19.398719
2019-08-17T18:16:39
2019-08-17T18:16:39
164,411,569
0
1
null
null
null
null
UTF-8
Python
false
false
122
py
n=int(input()) e=n sum1=0 while(0<n): f=n%10 sum1=sum1*10+f n=n//10 if(e==sum1): print("yes") else: print("no")
[ "noreply@github.com" ]
MohammedFerozHussain.noreply@github.com
e3582d046af2b0c6594b1adfc10749c66e87436a
78d35bb7876a3460d4398e1cb3554b06e36c720a
/sdk/network/azure-mgmt-network/azure/mgmt/network/v2021_05_01/operations/_load_balancer_network_interfaces_operations.py
a407acb084c4141f9133496cde712cf20099cf7a
[ "MIT", "LicenseRef-scancode-generic-cla", "LGPL-2.1-or-later" ]
permissive
catchsrinivas/azure-sdk-for-python
e35f59b60318a31b3c940a7a3a07b61b28118aa5
596227a7738a5342274486e30489239d539b11d1
refs/heads/main
2023-08-27T09:08:07.986249
2021-11-11T11:13:35
2021-11-11T11:13:35
427,045,896
0
0
MIT
2021-11-11T15:14:31
2021-11-11T15:14:31
null
UTF-8
Python
false
false
5,718
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" ]
catchsrinivas.noreply@github.com
6d2f8069c79dda8d8e1e4b6be968afc549c3012a
04b1803adb6653ecb7cb827c4f4aa616afacf629
/services/data_decoder/DEPS
c891c85dfeff1340f5ee0bcfefde198c01b44a4a
[ "BSD-3-Clause" ]
permissive
Samsung/Castanets
240d9338e097b75b3f669604315b06f7cf129d64
4896f732fc747dfdcfcbac3d442f2d2d42df264a
refs/heads/castanets_76_dev
2023-08-31T09:01:04.744346
2021-07-30T04:56:25
2021-08-11T05:45:21
125,484,161
58
49
BSD-3-Clause
2022-10-16T19:31:26
2018-03-16T08:07:37
null
UTF-8
Python
false
false
152
include_rules = [ "+gin", "+jni", "+skia", "+third_party/libxml/chromium", "+third_party/blink/public", "+third_party/skia", "+ui/gfx", ]
[ "sunny.nam@samsung.com" ]
sunny.nam@samsung.com
730ca6302137cc0a24048c63a3a99879965648f2
c9ddbdb5678ba6e1c5c7e64adf2802ca16df778c
/cases/synthetic/tree-big-4200.py
302ff78c3d9f3fe0f5b940c9d32951736093ac2b
[]
no_license
Virtlink/ccbench-chocopy
c3f7f6af6349aff6503196f727ef89f210a1eac8
c7efae43bf32696ee2b2ee781bdfe4f7730dec3f
refs/heads/main
2023-04-07T15:07:12.464038
2022-02-03T15:42:39
2022-02-03T15:42:39
451,969,776
0
0
null
null
null
null
UTF-8
Python
false
false
23,249
py
# Binary-search trees class TreeNode(object): value:int = 0 left:"TreeNode" = None right:"TreeNode" = None def insert(self:"TreeNode", x:int) -> bool: if x < self.value: if self.left is None: self.left = makeNode(x) return True else: ...
[ "647530+Virtlink@users.noreply.github.com" ]
647530+Virtlink@users.noreply.github.com
f2fe1f5c48038929d8f7c61c80400c535521a137
7a20dac7b15879b9453150b1a1026e8760bcd817
/Curso/ExMundo3/Ex108Modulo.py
183abe4ae23ac44c68d6e9647476e2d2b8456a57
[ "MIT" ]
permissive
DavidBitner/Aprendizado-Python
7afbe94c48c210ddf1ab6ae21109a8475e11bdbc
e1dcf18f9473c697fc2302f34a2d3e025ca6c969
refs/heads/master
2023-01-02T13:24:38.987257
2020-10-26T19:31:22
2020-10-26T19:31:22
283,448,224
0
0
null
null
null
null
UTF-8
Python
false
false
298
py
def dobro(n=0): r = n * 2 return r def metade(n=0): r = n / 2 return r def aumentar(n=0, a=0): r = n + (n * a / 100) return r def diminuir(n=0, a=0): r = n - (n * a / 100) return r def moeda(n=0, m='R$'): r = f'{m}{n:.2f}'.replace('.', ',') return r
[ "david-bitner@hotmail.com" ]
david-bitner@hotmail.com
bfad10a5ddb1146f7e4e2c9f60602b6705330eac
b4206f15618a7f9595a0e70ed4980fd2f58b49f7
/Extended-Frustum-PointNet/eval_frustum_pointnet_img_test.py
725cca21f01e75f3500650031b96edc6c3336738
[ "MIT" ]
permissive
Sakura1221/3DOD_thesis
12f7c90c615c5634496aeff71e979b75755b43f2
5cb178a162b1e2821c012ff23195612607a49bc9
refs/heads/master
2021-08-01T13:58:25.676359
2021-07-20T16:32:24
2021-07-20T16:32:24
173,865,680
0
0
null
2019-03-05T03:24:28
2019-03-05T03:24:27
null
UTF-8
Python
false
false
6,490
py
# camera-ready from datasets_img import DatasetKittiTest, wrapToPi, getBinCenter # (this needs to be imported before torch, because cv2 needs to be imported before torch for some reason) from frustum_pointnet_img import FrustumPointNetImg import torch import torch.utils.data import torch.nn as nn from torch.autograd ...
[ "fregu856@student.liu.se" ]
fregu856@student.liu.se
f6a723b118f50519698ba8c4776f4a1848e03fcd
6f78a4c4896563a52d86eacf49dbb6a358a3646e
/programmers/python/programmers_12904.py
efc118b02d43f2337d64443db1fd693751e3de37
[]
no_license
wj1224/algorithm_solve
259c39d2a85ecb2630e089eb0c86cdde9ff3baeb
8b0f15b71a4dd8eb40d3c9baee003a0678c3f2aa
refs/heads/master
2023-08-25T06:14:21.615802
2021-10-26T05:00:59
2021-10-26T05:00:59
219,981,525
0
0
null
null
null
null
UTF-8
Python
false
false
431
py
def solution(s): mem = [] answer = 1 for i in range(len(s)): mem.append([]) for j in range(len(s)): if i == j or (i + 1 == j and s[i] == s[j]): mem[i].append(True) if i != j: answer = 2 else: mem[i].append(False) for i in range(2, len(s)): for j in range(len(s) - i): if s[j] == s[j +...
[ "cwj1387@gmail.com" ]
cwj1387@gmail.com
6defc671c2a6608b129c6fc17953b3be0ba0854a
f023692f73992354a0b7823d9c49ae730c95ab52
/AtCoderRegularContest/147/A.py
8a7373675180908c0032c4adb5ab004668371545
[]
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,247
py
# 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 heapq import heappush, heappop from math import ceil, floor inf = float('inf') mod = 10 ** 9 + 7 mod2 = 998244353 """ a <= b ...
[ "39874652+corutopi@users.noreply.github.com" ]
39874652+corutopi@users.noreply.github.com
ab7019008088b14511d226daaf7c4e2706cd062b
a8fbb18ded18beb0d8e5f5af8df9b765596566e2
/sqlite_insert_ex.py
6aa439f4ab967852258b4bdd11fc7af30e4dd7eb
[]
no_license
devkim0219/crawling
fc0156ad15117263c4a62d610818cdc3b3f03568
5e19b2d77748e3b32a82279cf113785fa168aa79
refs/heads/master
2021-01-03T06:06:25.313821
2020-02-12T07:48:25
2020-02-12T07:48:25
239,954,406
0
0
null
null
null
null
UTF-8
Python
false
false
2,088
py
from bs4 import BeautifulSoup import urllib.request, time, csv import sqlite3 def get_list_records(table, list_records): for i, r in enumerate(table.find_all('tr')): for j, c in enumerate(r.find_all('td')): print(j, ':::', c) if j == 0: no = int(c.text.strip()) ...
[ "devkim0219@email.mail" ]
devkim0219@email.mail
6e0f4c681bd7af9eb1426376b333ed03ab243ce3
adc6aaaea9a02f7312c2aaaa50ec5a7240ffc4da
/Handsome_app/migrations/0001_initial.py
546d60fe7e7e4dd1a7c75060ba1c8f38c3514ef2
[]
no_license
Jhougo/HandsomeDjango
f11b1e8ecd5192005a6bd5e2466c7e70e12b370d
8d149b7191a9004a762d15d864b48f845f2f0d56
refs/heads/master
2021-06-05T02:09:34.156887
2020-07-22T03:51:16
2020-07-22T03:51:16
149,241,286
0
0
null
null
null
null
UTF-8
Python
false
false
976
py
# Generated by Django 2.0.2 on 2018-03-01 08:46 from django.db import migrations, models class Migration(migrations.Migration): initial = True dependencies = [ ] operations = [ migrations.CreateModel( name='Article', fields=[ ('id', models.AutoField(...
[ "jhougo7928@gmail.com" ]
jhougo7928@gmail.com
124be8623d6304279cf27772f57560037993db7f
316a07bd7ab47d447606d341c5d221d8318f65b9
/horizon/horizon/dashboards/nova/chains/tables.py
9517739b0c87338047984e74a04ee75251efa7fc
[]
no_license
kumarcv/openstack-nf
791d16a4844df4666fb2b82a548add98f4832628
ad2d8c5d49f510292b1fe373c7c10e53be52ba23
refs/heads/master
2020-05-20T03:10:54.495411
2013-06-16T23:44:11
2013-06-16T23:44:11
7,497,218
2
0
null
null
null
null
UTF-8
Python
false
false
2,838
py
# Copyright 2013 Freescale Semiconductor, 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 #...
[ "b37839@freescale.com" ]
b37839@freescale.com
9994862af5db1a6c2bdbe178cd88391212c8513a
ad4d927b05d3004cc5f835c84807a272ecff439f
/src/olaf/install_isolated/lib/turtlebot3_teleop/turtlebot3_teleop_key
167a3e716ecd0800e5c249ab5013fd4cd8dc9f45
[]
no_license
kookmin-sw/capstone-2020-11
73954f8a692d3240a22ca9a81c9bede8538fabbf
081733fb0470d83930433a61aabf9708275d64dd
refs/heads/master
2023-03-06T23:02:14.869404
2022-11-09T01:44:27
2022-11-09T01:44:27
246,285,681
5
4
null
2023-03-04T13:53:47
2020-03-10T11:42:27
C++
UTF-8
Python
false
false
6,540
#!/usr/bin/env python2 # Copyright (c) 2011, 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 copyright # not...
[ "ksp2246@naver.com" ]
ksp2246@naver.com
31557908d04d13dc88dc40dd571f24ea7c14c433
786de89be635eb21295070a6a3452f3a7fe6712c
/pdsdata/tags/V00-01-28/SConscript
f3284caeca6d549b3c1e630047a321c8c67a4879
[]
no_license
connectthefuture/psdmrepo
85267cfe8d54564f99e17035efe931077c8f7a37
f32870a987a7493e7bf0f0a5c1712a5a030ef199
refs/heads/master
2021-01-13T03:26:35.494026
2015-09-03T22:22:11
2015-09-03T22:22:11
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,101
#-------------------------------------------------------------------------- # File and Version Information: # $Id$ # # Description: # SConscript file for package lusi-xtc #------------------------------------------------------------------------ # Do not delete following line, it must be present in # SConscript file...
[ "salnikov@SLAC.STANFORD.EDU@b967ad99-d558-0410-b138-e0f6c56caec7" ]
salnikov@SLAC.STANFORD.EDU@b967ad99-d558-0410-b138-e0f6c56caec7
18ed9924b40edc9ce087b3db3f9334695aac4a55
afbae26b958b5ef20548402a65002dcc8e55b66a
/release/stubs/System/Windows/Converters.py
b87e61a95cdccea263312ee234c5924ef19ea500
[ "MIT" ]
permissive
gtalarico/ironpython-stubs
d875cb8932c7644f807dc6fde9dd513d159e4f5c
c7f6a6cb197e3949e40a4880a0b2a44e72d0a940
refs/heads/master
2023-07-12T01:43:47.295560
2022-05-23T18:12:06
2022-05-23T18:12:06
95,340,553
235
88
NOASSERTION
2023-07-05T06:36:28
2017-06-25T05:30:46
Python
UTF-8
Python
false
false
11,880
py
# encoding: utf-8 # module System.Windows.Converters calls itself Converters # from WindowsBase, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35 # by generator 1.145 """ NamespaceTracker represent a CLS namespace. """ # no imports # no functions # classes class Int32RectValueSerializer(Val...
[ "gtalarico@gmail.com" ]
gtalarico@gmail.com
5e387e3300bfeb5911a39d5440cd1311b938502c
b70d64aabb196a5ca5614e88712722a983b5e383
/Stacks & Queues/Evaluation of Postfix Expression.py
3af1f30f52a963ec6271baf3a86be6b965794917
[ "MIT" ]
permissive
SupriyoDam/DS-450-python
023ee87461f9d77fcaf949571d4e033eb2a49ca7
5dc21ce61b3279e9bd9d6ef3ad236667227ca283
refs/heads/main
2023-06-04T11:39:17.576813
2021-07-01T14:27:13
2021-07-01T14:27:13
381,083,361
1
0
MIT
2021-06-28T15:42:55
2021-06-28T15:42:55
null
UTF-8
Python
false
false
715
py
from collections import deque class Solution: #Function to evaluate a postfix expression. def EvaluatePostfix(self, S): stack = deque() for char in S: if char.isdigit(): stack.append(int(char)) else: op2 = stack.pop() ...
[ "iamkaushik2014@desktop.com" ]
iamkaushik2014@desktop.com
0ef0bfe4c26f1a71a8507aaf9055a68dfedbb4cc
94708303f42fd0675c955c16be6ace52c817a7e7
/Widgets/spinctrl.py
50807dea96128887c3de47952369bf4bd3299247
[]
no_license
jdcs/TheWxPythonTutorial
c2901496158111132186ee56bdb54f99bd1d60a8
f5c9c0975f501ef39942a7c3bfb8838efe6c8dc1
refs/heads/master
2020-12-28T20:31:02.581514
2011-06-02T16:11:19
2011-06-02T16:11:19
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,281
py
#!/usr/bin/env python # -*- coding: utf-8 -*- # spinctrl.py import wx class Converter(wx.Dialog): def __init__(self, parent, id, title): wx.Dialog.__init__(self, parent, id, title, size = (350, 310)) wx.StaticText(self, -1, 'Convert Fahrenheit temperature to Celsius', (20, 20)) wx.Stat...
[ "Masashi.Kameda+github@gmail.com" ]
Masashi.Kameda+github@gmail.com
9534cb278ecdda340ab3c893f409de03179d7f13
5e84763c16bd6e6ef06cf7a129bb4bd29dd61ec5
/blimgui/dist/OpenGL/GLES2/NV/fence.py
27f2bb1011b3f0fa088a53576bc0762ce587386c
[ "MIT" ]
permissive
juso40/bl2sdk_Mods
8422a37ca9c2c2bbf231a2399cbcb84379b7e848
29f79c41cfb49ea5b1dd1bec559795727e868558
refs/heads/master
2023-08-15T02:28:38.142874
2023-07-22T21:48:01
2023-07-22T21:48:01
188,486,371
42
110
MIT
2022-11-20T09:47:56
2019-05-24T20:55:10
Python
UTF-8
Python
false
false
2,769
py
'''OpenGL extension NV.fence This module customises the behaviour of the OpenGL.raw.GLES2.NV.fence to provide a more Python-friendly API Overview (from the spec) The goal of this extension is provide a finer granularity of synchronizing GL command completion than offered by standard OpenGL, which offers only t...
[ "justin.sostmann@googlemail.com" ]
justin.sostmann@googlemail.com
1babeb62a39fbb99e21d72f22b1cb97397c3792a
663c108dca9c4a30b7dfdc825a8f147ba873da52
/venv/exceptionhandling/39UserDefinedException03.py
ee86fc0f283b48185732af2fb9ddaada644aa643
[]
no_license
ksrntheja/08-Python-Core
54c5a1e6e42548c10914f747ef64e61335e5f428
b5fe25eead8a0fcbab0757b118d15eba09b891ba
refs/heads/master
2022-10-02T04:11:07.845269
2020-06-02T15:23:18
2020-06-02T15:23:18
261,644,116
0
0
null
null
null
null
UTF-8
Python
false
false
747
py
class TooYoungException(Exception): pass class TooOldException(Exception): def __init__(self, arg): self.msg = arg age = int(input("Enter Age:")) if age > 60: raise ArithmeticError("Plz wait some more time you will get best match soon!!!") elif age < 18: raise TooOldException("Your age alrea...
[ "srntkolla@gmail.com" ]
srntkolla@gmail.com
bb855fae53672dcd85726cd863371bc14becb7d9
704976ea552111c6a5af9cd7cb62b9d9abaf3996
/pypy/module/math/test/test_math.py
e6c4d6cf6ccd04cc3af886fc4c2f6853affed182
[ "BSD-3-Clause" ]
permissive
mesalock-linux/mesapy
4f02c5819ce7f2f6e249d34840f1aa097577645d
ed546d59a21b36feb93e2309d5c6b75aa0ad95c9
refs/heads/mesapy2.7
2023-08-16T21:33:02.239581
2019-08-13T10:29:43
2019-08-13T18:06:45
136,080,721
396
33
NOASSERTION
2020-04-01T03:05:18
2018-06-04T20:45:17
Python
UTF-8
Python
false
false
8,001
py
from __future__ import with_statement import py from pypy.interpreter.function import Function from pypy.interpreter.gateway import BuiltinCode from pypy.module.math.test import test_direct class AppTestMath: spaceconfig = { "usemodules": ['math', 'struct', 'itertools', 'time', 'binascii'], } de...
[ "mssun@mesalock-linux.org" ]
mssun@mesalock-linux.org
6cc96f60c20717806a203032c24053b2713db2cb
9ea60e28aff016fc0a766163159ac051321904fb
/contrib/python/numpy/numpy/core/code_generators/ufunc_docstrings.py
8ebe63e4918c367a731fa52ae979edd51ee22193
[ "Apache-2.0" ]
permissive
yumoh/catboost_iter
853865c5487dcb3b0bf11dc52886f296eb00cfe1
85b943bc3c1f010d1ec7272c27a36f89f0173318
refs/heads/master
2022-11-17T17:58:46.718348
2019-01-10T14:15:07
2019-01-10T14:15:07
165,172,125
1
1
Apache-2.0
2022-11-03T02:07:17
2019-01-11T03:22:29
C++
UTF-8
Python
false
false
90,842
py
""" Docstrings for generated ufuncs The syntax is designed to look like the function add_newdoc is being called from numpy.lib, but in this file add_newdoc puts the docstrings in a dictionary. This dictionary is used in numpy/core/code_generators/generate_umath.py to generate the docstrings for the ufuncs in numpy.co...
[ "exprmntr@pepe.search.yandex.net" ]
exprmntr@pepe.search.yandex.net
426db8f4ce8b1c9473a2cb999087c55c7abdabfe
16047f965a69893a8cd2c8d18fbd7b9c86a07eb3
/src/kubernetes/client/apis/settings_v1alpha1_api.py
6ab247ceb60aaa32965fadfeb79a4cdc04c0db1a
[ "Apache-2.0", "LicenseRef-scancode-proprietary-license", "MIT" ]
permissive
guctum/aws-kube-codesuite
9ce2cc02fe5fa15c2e175fb697138014fb162f1e
5d62beaadc13bec745ac7d2fc18f07805e91cef3
refs/heads/master
2021-05-24T10:08:00.651840
2020-04-23T20:21:46
2020-04-23T20:21:46
253,511,083
0
0
Apache-2.0
2020-04-06T13:48:14
2020-04-06T13:48:13
null
UTF-8
Python
false
false
59,403
py
# coding: utf-8 """ Kubernetes No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) OpenAPI spec version: v1.7.4 Generated by: https://github.com/swagger-api/swagger-codegen.git """ from __future__ import absolute_import import sys import os im...
[ "olari@784f435df7a4.ant.amazon.com" ]
olari@784f435df7a4.ant.amazon.com
fa8d2b2835a1a5f049a0f391d047e5c7945a18a4
bba75b2de938c4854b658a92a3522520f7eb08e1
/PythonEdu/game_sprite_moving_rotating_images.py
07387e757be09ad98aa0fcbe273f5b24a1fc9423
[]
no_license
PyRPy/Py4fun
edb14e134e47061bf93935a4f8f05261fe434bd8
14e02c78f7f43fd47a44466f0da40329bc5ce03c
refs/heads/master
2023-03-15T19:23:16.526946
2023-03-04T18:54:43
2023-03-04T18:54:43
252,577,302
1
3
null
null
null
null
UTF-8
Python
false
false
3,113
py
# game 'sprite' class # http://programarcadegames.com/index.php?chapter=example_code import pygame import random # colors BLACK = (0, 0, 0) WHITE = (255, 255, 255) GREEN = (0, 255, 0) RED = (255, 0, 0) # block class class Block(pygame.sprite.Sprite): """ this class creates blocks, inherited fr...
[ "noreply@github.com" ]
PyRPy.noreply@github.com
cb2c881a3acef8dfa4f88a3f98cd20375bc01c7c
de24f83a5e3768a2638ebcf13cbe717e75740168
/moodledata/vpl_data/380/usersdata/338/107905/submittedfiles/principal.py
2ba9aca8170533ca17f85eb04af720dc76eab686
[]
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
3,096
py
""" from time import sleep #def tabuleiro(): nome_do_jogador = input("Digite o seu nome: ") simb = input("Digite o simbolo com o qual vocÊ quer jogar [X ou O] : ") while(True): if simb == "X" or simb == "O" : break else: simb = input("Digite um simbolo válido %s : " % nome_do_jogador) j_d_v...
[ "rafael.mota@ufca.edu.br" ]
rafael.mota@ufca.edu.br
1dd3b1f2639bc841cb19f37612f834c324afad8d
51f945d9dde113650cc1f937a07ecc8a71f5c4dc
/docs/conf.py
05b24004f6edc51a1ebe475b4525c1edc3d88d24
[ "Apache-2.0" ]
permissive
drix00/pycasinotools
00407c37cddda5fa28c96af71c0aabc8d47aa24f
67354bfe582f736227646a3979bfb838d14dd081
refs/heads/master
2023-07-26T09:18:51.258755
2023-06-24T16:41:57
2023-06-24T16:41:57
57,169,249
4
5
NOASSERTION
2019-10-23T23:21:51
2016-04-26T23:40:42
Python
UTF-8
Python
false
false
8,446
py
#!/usr/bin/env python # -*- coding: utf-8 -*- # # casinotools documentation build configuration file, created by # sphinx-quickstart on Tue Jul 9 22:26:36 2013. # # 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 #...
[ "hendrix.demers@mail.mcgill.ca" ]
hendrix.demers@mail.mcgill.ca
8a5b6165bfa0c9c3c493dd155db7e910e56c24f7
b7683c108e68ee2d28573edf55923eb34cc2f5ee
/4_Feature_Detection_n_Description/6_BRIEF/6_Binary_Robust_Independent_Elementary_Features.py
34d86f928a176fd6f5840ac77c4747e83f4f179f
[]
no_license
aCuissot/openVC_win_py_tutorial
cc42ab1a1fb6eaefe5a91c7e1bb1926a776b0e01
7186b629747cb16f2bf42a03d2339d3dc3ea77bd
refs/heads/master
2020-05-18T12:17:04.619047
2019-07-10T13:45:00
2019-07-10T13:45:00
184,403,715
0
0
null
null
null
null
UTF-8
Python
false
false
448
py
import numpy as np import cv2 as cv from matplotlib import pyplot as plt img = cv.imread('../../Data/in/poly.jpg', 0) # Initiate FAST detector star = cv.xfeatures2d.StarDetector_create() # Initiate BRIEF extractor brief = cv.xfeatures2d.BriefDescriptorExtractor_create() # find the keypoints with STAR kp = star.detect(...
[ "harrypotter9752@gmail.com" ]
harrypotter9752@gmail.com
f4f40e8f50c05b05a90af3fdb62fad9b41b921f0
f889d26fec0c4da86c2b857191564e5ee57430a8
/Python_fundamentals/course_chapters_excercises/dictionaries/EX07_08_Company Users.py
447518f24fec79913dfad59ab55a378451874953
[]
no_license
Grigorov999/SoftUni-Python
4da6ecea760d13d7571723b8faa771b3be0199f6
cb4f8f352fc48cb1ae8b2efd803265707a37227f
refs/heads/master
2022-12-13T15:04:05.303204
2020-09-11T20:32:29
2020-09-11T20:32:29
294,784,057
0
0
null
null
null
null
UTF-8
Python
false
false
494
py
companies = {} while True: company_info = input().split(" -> ") if company_info[0] == "End": break else: company = company_info[0] id = company_info[1] if company not in companies: companies[company] = [] if id not in companies[company]: ...
[ "noreply@github.com" ]
Grigorov999.noreply@github.com
c8ddab7ee9746ecf5c3528c542a4eeedaec4cc1f
8300217ee09e9650f7daf9949ab2df7522e37448
/tests/utils.py
3e1ef912a3cb9d200947cf3019353893da6e19ef
[ "MIT" ]
permissive
zssure-thu/pylinac
ebfd070d2b4faa54f2291644dfac9dcaac615bda
d6f675f5e19ca4e6cb7de517f4f9ca85d241acad
refs/heads/master
2020-03-27T21:51:48.566924
2018-07-28T23:56:38
2018-07-28T23:56:38
null
0
0
null
null
null
null
UTF-8
Python
false
false
6,290
py
import concurrent.futures from io import BytesIO, StringIO import multiprocessing import os import os.path as osp import pprint import time from tempfile import TemporaryDirectory from urllib.request import urlopen from pylinac.core import image def has_www_connection(): try: with urlopen('google.com') a...
[ "jkerns100@gmail.com" ]
jkerns100@gmail.com
e27deab430702d3df65dd09d298c294f8e2a5bcf
200697a438ada2985f70b7fc1cf14f1dd74ff5a2
/tests/nwchem/test01.py
1da295531707f8af7a4f92f80aa4deeaa0b9ee53
[]
no_license
f-fathurrahman/qeManager
b4beb396449556a81ade66603e2ac1982ae4a7eb
96cba93500d7c9fb73b83244610d0d5e44c189f2
refs/heads/master
2020-06-03T06:59:29.173948
2018-07-19T15:00:47
2018-07-19T15:00:47
94,120,083
0
0
null
null
null
null
UTF-8
Python
false
false
182
py
import sys sys.path.append('/home/efefer/WORKS/my_github_repos/') from qeManager.nwchem import * from ase.build import molecule atoms = molecule('NH3') NWChemInput(atoms).write()
[ "fadjar.fathurrahman@gmail.com" ]
fadjar.fathurrahman@gmail.com
6e74375cbaf54c6acfc12f9666b3ca226a550146
99259216f11b15ec60446b4a141b3592a35560ce
/wex-python-api/test/test_collection_params_default_output.py
3a2ac31e681eee918f92ad9e26ca931f27c98e77
[]
no_license
adam725417/Walsin
296ba868f0837077abff93e4f236c6ee50917c06
7fbefb9bb5064dabccf4a7e2bf49d2a43e0f66e9
refs/heads/master
2020-04-12T14:14:07.607675
2019-03-05T01:54:03
2019-03-05T01:54:03
162,546,202
0
0
null
null
null
null
UTF-8
Python
false
false
1,149
py
# coding: utf-8 """ WEX REST APIs Authentication methods - Basic Auth - JSON Web Token - [POST /api/v1/usermgmt/login](#!/User/signinUser) - [POST /api/v1/usermgmt/logout](#!/User/doLogout) - Python client sample [Download](/docs/wex-python-api.zip) OpenAPI spec version: 12.0.2.417 Generate...
[ "adamtp_chen@walsin.com" ]
adamtp_chen@walsin.com
cab5c629bf8deec16d275567b5261e191db5f7fd
5cec1ff43bf38cf31316254dabe3f972d38744ad
/src/hydrat/wrapper/GibbsLDA.py
b20c631e5acfb65dee77810c564fe53207a5f4e7
[]
no_license
eyadsibai/hydrat
7fb63f3c54f1fca25d04ab7266712c1077ffa2e3
5a68c6b8f32bc6bad59c3f002340bf7ef62e868c
refs/heads/master
2016-09-06T14:16:46.082697
2013-08-06T05:14:02
2013-08-06T05:14:02
33,199,904
1
0
null
null
null
null
UTF-8
Python
false
false
6,575
py
""" Python wrapper for GibbsLDA++ http://gibbslda.sourceforge.net/ """ import subprocess import tempfile import os import shutil import pexpect import re import numpy import scipy.sparse import logging # TODO: Support load/save of model # Support access to various mappings provided by the model logger = logging...
[ "saffsd@gmail.com" ]
saffsd@gmail.com
f782083c77baaf3a4dd9f3208c8567cd7f117651
999ec9742a865e3e6f800d5b8112c4bde7ec3154
/s3diff
2c18a7748168ae81670890a2e25e55f01950dae4
[ "MIT" ]
permissive
chbrown/scripts
896c97c8c700ce0fe302739bd50a17a4882f386a
4a7b0dbb2038cb792135c769895a78cbe3875b97
refs/heads/master
2020-12-25T16:51:00.051465
2020-11-11T15:29:22
2020-11-11T15:29:22
7,724,958
7
1
null
null
null
null
UTF-8
Python
false
false
5,829
#!/usr/bin/env python import re import os import argparse import hashlib import logging import ConfigParser from colorama import Fore # , Back, Style import boto # tree data structure definition (abstract, not intended to be instantiated directly) class Node(object): ''' Nodes each have a key (empty / None f...
[ "io@henrian.com" ]
io@henrian.com
01b5b728bcb71cae5526dd1eab2e3601c87a5035
d4fe89cd10a7ef77b8085ef10e629877c31f4ade
/Python Develop/Python_Django_Learn/Django_ZiQiangXueTang/Chapter 03/zqxt_tmpl_adv/zqxt_tmpl_adv/settings.py
d87d49977ffd67ca45c3bf42f0da899eff3f15fa
[]
no_license
qiushicumt/MayDay26
ed49ab1a41ed4ed9c3191b8b0ba1ab2cfc85c8f8
171a322149d29aead1795e5862c47a4e626e7f6f
refs/heads/master
2021-01-21T04:50:59.457421
2018-08-01T07:43:39
2018-08-01T07:43:39
36,060,248
0
0
null
null
null
null
UTF-8
Python
false
false
3,130
py
""" Django settings for zqxt_tmpl_adv project. Generated by 'django-admin startproject' using Django 1.11.8. For more information on this file, see https://docs.djangoproject.com/en/1.11/topics/settings/ For the full list of settings and their values, see https://docs.djangoproject.com/en/1.11/ref/settings/ """ imp...
[ "qiushicumt@gmail.com" ]
qiushicumt@gmail.com
226946091789a513cddc5f61f884c402f0aa23e5
4b1e64b6ded8f526760be0e8e771725e5f2a2c55
/behaviours/apps.py
81f81cc3b3080150eb1daf0e96d03523166fd630
[ "MIT" ]
permissive
drvinceknight/pupcoach
e22f9fc8edaf41d4af2ab7759a58bf7542b8b859
da33a973382f0b82389f519c269dc40e462fe6c0
refs/heads/master
2020-07-25T01:45:47.780602
2019-09-12T18:31:35
2019-09-12T18:31:35
208,118,477
1
0
null
null
null
null
UTF-8
Python
false
false
95
py
from django.apps import AppConfig class BehavioursConfig(AppConfig): name = 'behaviours'
[ "vincent.knight@gmail.com" ]
vincent.knight@gmail.com
5618478ba47827e9ce7d6cfb90a7ed1cfa53d135
8b7419572c2a3b92156462be87b1544efc0b3ba8
/django_test_app/models.py
5845747c09b1a7aa34db800e6faa9248f26d2ef0
[ "MIT" ]
permissive
briancappello/py-yaml-fixtures
e860eed93d84e6e7d490c7a6f40594cf13a1adb9
4f59db8a346e5ea097400c3c3d5a057a0f0647e4
refs/heads/master
2023-09-04T10:58:49.856749
2023-08-16T20:48:29
2023-08-16T20:48:29
124,434,821
15
5
MIT
2023-08-16T20:48:31
2018-03-08T18:58:38
Python
UTF-8
Python
false
false
642
py
from django.contrib.auth.models import AbstractUser from django.db import models class User(AbstractUser): pass class Category(models.Model): name = models.CharField(max_length=64) class Tag(models.Model): name = models.CharField(max_length=64) class Article(models.Model): title = models.CharFie...
[ "briancappello@gmail.com" ]
briancappello@gmail.com
bf45e440c1a92a1a01d82d385ae1a81934c4f206
8396606fcb98d8ab2d5e5a139da83e7ce0880324
/rps/backup_bots/Bot.py
0801126f71e02380689dc6143c3ac889ddfc9c36
[]
no_license
bopopescu/Learn2Mine-Main
87b3d6d7fa804568a93c4c7e8324c95574afc819
acc0267b86ad6a9e5e1619d494c20407d4710e90
refs/heads/master
2021-05-29T17:48:17.844094
2015-09-14T16:19:36
2015-09-14T16:19:36
null
0
0
null
null
null
null
UTF-8
Python
false
false
549
py
#Bot import random if input =="": numRock = numPaper = numScissors = 0 numRock = input.count("R") numPaper = input.count("P") numScissors = input.count("S") if numRock > numPaper and numRock > numScissors: output = "P" if numPaper > numScissors: output = "S" else: output = "R" if numRock==numPaper and numRock==n...
[ "pauleanderson@gmail.com" ]
pauleanderson@gmail.com
de379e25dfcb8dfc08a722bd3221e846a0ab5b4d
4a037c5711e680b9dfe05acf236df7998a80956c
/Testing/Test_4SR_Overlapping.py
7d4b33f02f34d2186b63541fe5a0c503860ef7e0
[]
no_license
muhammadikhsan94/Face-Verfication-Using-Partial-Triplet-Loss
60aa05a88916d8c39627480a0292cbdf29771618
549fdadc1e06c462bd12bdc8d5182a89dc824523
refs/heads/master
2022-11-19T23:53:09.754292
2020-07-19T16:24:53
2020-07-19T16:24:53
280,901,288
1
0
null
null
null
null
UTF-8
Python
false
false
11,296
py
from keras.models import Sequential, Model, load_model from keras.layers.core import Flatten, Dense, Dropout, Lambda from keras.layers.convolutional import Convolution2D, MaxPooling2D from keras.layers import Activation from keras.optimizers import Adam from keras.callbacks import ModelCheckpoint from keras import back...
[ "eparis@atlassian.com" ]
eparis@atlassian.com
d6538df7aa1f01fc8eea13ea802659dee23d5ed5
40804cfe754f4a0c99055e81966367f5a8641fac
/n_queens.py
fcc7ca042a0a7759883d6eae777921925f1dff57
[]
no_license
raochuan/LintCodeInPython
a3731b9a14c623278c8170fedd7be85fd7acfbfb
e57869437287bcc7619411f9d3d965a83e2bfacb
refs/heads/master
2021-01-17T23:57:47.709879
2016-08-02T07:21:36
2016-08-02T07:21:36
64,736,138
1
0
null
2016-08-02T07:48:56
2016-08-02T07:48:54
Python
UTF-8
Python
false
false
1,176
py
# -*- coding: utf-8 -*- class Solution: """ Get all distinct N-Queen solutions @param n: The number of queens @return: All distinct solutions """ def solveNQueens(self, n): # write your code here self.ret = [] self.limit = n self._solveNQueens(0, []) def _so...
[ "linying_43151@163.com" ]
linying_43151@163.com
71ac3e786a186c18ac40b3e6e111994157ccefb4
52b5773617a1b972a905de4d692540d26ff74926
/.history/stringReduction_20200722185803.py
8e66c32dd0cd58d3af318f47a05264caa553ffc6
[]
no_license
MaryanneNjeri/pythonModules
56f54bf098ae58ea069bf33f11ae94fa8eedcabc
f4e56b1e4dda2349267af634a46f6b9df6686020
refs/heads/master
2022-12-16T02:59:19.896129
2020-09-11T12:05:22
2020-09-11T12:05:22
null
0
0
null
null
null
null
UTF-8
Python
false
false
342
py
def string(str): st = list(str) count = 0 while count < 10: for i in range(0,len(st)-1,2): pair = st[i] + st[i+1] print(pair) if pair == 'ab' or pair =='ba': st.pop(i) st.pop(i) st.insert(i,c) count +=1 ...
[ "mary.jereh@gmail.com" ]
mary.jereh@gmail.com
eb2133cb4f79137247662b1cb35d90d2e2c1e4e5
ca7aa979e7059467e158830b76673f5b77a0f5a3
/Python_codes/p02716/s591586988.py
dea78424009c1a7b513c5d7d67d238af7b4b70de
[]
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
757
py
# coding: utf-8 # Your code here! N=int(input()) A=list(map(int,input().split())) if N==2: print(max(0,A[0],A[1])) exit() if N==3: print(max(0,A[0],A[1],A[2])) exit() dp=[[-10**18 for i in range(N)] for j in range(3)] dp[0][0]=A[0] dp[1][1]=A[1] dp[2][2]=A[2] for n in range(3): for index in rang...
[ "66529651+Aastha2104@users.noreply.github.com" ]
66529651+Aastha2104@users.noreply.github.com
e30d2a52ba715ac1acd000b884461fc7887dc46f
ca7aa979e7059467e158830b76673f5b77a0f5a3
/Python_codes/p03964/s776639936.py
7d50be72d57cfb538747044259e82cf27b16f454
[]
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
311
py
n = int(input()) ca, cb = 0, 0 for i in range(n): a, b = map(int,input().split()) x, y = 1, 1 if ca > a: x = ca // a if ca % a: x += 1 if cb > b: y = cb // b if cb % b: y += 1 x = max(x, y) ca = a * x cb = b * x print(ca + cb)
[ "66529651+Aastha2104@users.noreply.github.com" ]
66529651+Aastha2104@users.noreply.github.com
b7b4ba1e71e146a35df2cb96fd08e1dffae847a3
50008b3b7fb7e14f793e92f5b27bf302112a3cb4
/recipes/Python/252526_Complex_BooleRegular/recipe-252526.py
1254f8efca0d2f100a7596e08174dfb8c8a2308c
[ "Python-2.0", "MIT" ]
permissive
betty29/code-1
db56807e19ac9cfe711b41d475a322c168cfdca6
d097ca0ad6a6aee2180d32dce6a3322621f655fd
refs/heads/master
2023-03-14T08:15:47.492844
2021-02-24T15:39:59
2021-02-24T15:39:59
341,878,663
0
0
MIT
2021-02-24T15:40:00
2021-02-24T11:31:15
Python
UTF-8
Python
false
false
6,115
py
#!/usr/bin/python import re class PyBoolReException(Exception): def __init__(self, value): self.value = value def __str__(self): return str(self.value) class PyBoolRe: """ A class to perform boolean word matches in a string or paragraph. This class allows you to perform...
[ "betty@qburst.com" ]
betty@qburst.com
bb0e39e58d06b24f40dcd4805b94b5e9a7bbccd5
d1808d299de29518e38a572bc48a1da57d46c52d
/main/utils.py
6742449def223faffca83dbc72a7dfb346d31aab
[ "Unlicense" ]
permissive
jmhubbard/Good_Life_Meal_Prep_Subscribers_Page
64b7d3e1241cb16ae6263154360df907e782fe1d
5753a951514b507cc0a54b690e8276ff980b717c
refs/heads/main
2023-03-29T17:41:30.276239
2021-04-02T06:40:16
2021-04-02T06:40:16
327,174,048
0
0
null
null
null
null
UTF-8
Python
false
false
1,550
py
import os from django.contrib.sites.models import Site from django.core.mail import EmailMessage, send_mail from django.template.loader import render_to_string from django.urls import reverse from django.core.mail import EmailMultiAlternatives def send_email(context, message_text, message_html, subject, recipient_l...
[ "jasonhubb@gmail.com" ]
jasonhubb@gmail.com
80690316376983ee446f070cc185c2799a1cb9db
de24f83a5e3768a2638ebcf13cbe717e75740168
/moodledata/vpl_data/63/usersdata/199/28124/submittedfiles/swamee.py
676ce245babe53efc1f915d71a062ff3f1d90b18
[]
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
385
py
# -*- coding: utf-8 -*- import math f = 0.2 L = 5000 Q = 0.65 DeltaH = 22 v = 0.000001 g = float(input('Digite o valor de g: ')) e = float (input('Digite o valor de e: ')) Pi = float (input('Digite o valor de Pi: ')) D = (8*f*L*Q*Q) / (Pi*g*DeltaH)* (8*f*L*Q*Q) / (Pi*g*DeltaH) * (8*f*L*Q*Q) / (Pi*g*DeltaH)* (8*f*L*Q*Q)...
[ "rafael.mota@ufca.edu.br" ]
rafael.mota@ufca.edu.br
ea80ca6b2759a89858ab676d67678086f7f77bda
83c0a2411925287516f5984640ca65477a8869b7
/lib/updater.py
0fc587631526ca3e60df1d20b45495a08816c69c
[ "Apache-2.0" ]
permissive
jeisonfura/mff_auto
6cf39a0a95256d6ab9a9dc0d2c20204cf95eb9a5
b118a0993bbd61858cfd8b272a3431e7be401ba4
refs/heads/master
2023-01-11T12:12:13.629003
2020-10-11T18:06:52
2020-10-11T18:06:52
null
0
0
null
null
null
null
UTF-8
Python
false
false
6,796
py
import os import shutil import lib.logger as logging import zipfile import importlib import importlib.util import urllib.request as request import urllib.error as urlib_error import version as old_version_module from distutils.version import StrictVersion from distutils.dir_util import copy_tree logger = logging.get_...
[ "nkrayner@gmail.com" ]
nkrayner@gmail.com
f7d69efa3ca9348ed39d7c63a40ac07737017690
4ac420263254f61db0009ee69b5fa8d4f30d4333
/leecode/__init__.py
53bcae4bc172c4dfdc3fdadba39e3581813ca79f
[]
no_license
vannesspeng/Algorithm
3736678bd4022adeccc8ce93be06ca274969af25
b781d09c5182930e1dd8d45e84d87f074edbdfbf
refs/heads/master
2020-05-16T17:10:58.823321
2019-05-17T02:27:39
2019-05-17T02:27:39
183,187,184
0
0
null
null
null
null
UTF-8
Python
false
false
105
py
#!/usr/bin/env python #-*- coding:utf-8 -*- # author:pyy # datetime:2019/4/24 16:47 # leecode算法题
[ "401041628@qq.com" ]
401041628@qq.com
b96312be0c747bb8709de1aabe615fe55b2562b1
b5ae24fd2ece2ca5ac39477ddb707d35f84869ea
/programmers/숫자 게임.py
4b21cb7c1f3c68680f7dff0126d58e646cfdb359
[]
no_license
sky7th/algorithm-ps
3476fcbb58743aa3428b3b8017131f16580044e7
3a94a62141407f9eb2c5b01bea6275fad252789b
refs/heads/master
2021-06-13T17:40:02.472902
2021-04-18T14:11:53
2021-04-18T14:11:53
177,175,084
0
0
null
null
null
null
UTF-8
Python
false
false
262
py
from collections import deque def solution(A, B): answer = 0 A = sorted(A, reverse=True) B = deque(sorted(B, reverse=True)) for num in A: if num >= B[0]: continue B.popleft() answer += 1 return answer
[ "xoghk0321@gmail.com" ]
xoghk0321@gmail.com
26d183831fbd43b6aba78cba7bcfc4e09d511503
64bf39b96a014b5d3f69b3311430185c64a7ff0e
/intro-ansible/venv3/lib/python3.8/site-packages/ansible_collections/vyos/vyos/plugins/modules/vyos_vlan.py
c04ac93cbf30bc67ed433e985ca5ae5fd1a8579d
[ "MIT", "GPL-3.0-or-later", "LicenseRef-scancode-unknown-license-reference", "GPL-3.0-only" ]
permissive
SimonFangCisco/dne-dna-code
7072eba7da0389e37507b7a2aa5f7d0c0735a220
2ea7d4f00212f502bc684ac257371ada73da1ca9
refs/heads/master
2023-03-10T23:10:31.392558
2021-02-25T15:04:36
2021-02-25T15:04:36
342,274,373
0
0
MIT
2021-02-25T14:39:22
2021-02-25T14:39:22
null
UTF-8
Python
false
false
11,385
py
#!/usr/bin/python # -*- coding: utf-8 -*- # Copyright: (c) 2017, Ansible by Red Hat, inc # GNU General Public License v3.0+ (see COPYING or https://www.gnu.org/licenses/gpl-3.0.txt) from __future__ import absolute_import, division, print_function __metaclass__ = type DOCUMENTATION = """ module: vyos_vlan author: T...
[ "sifang@cisco.com" ]
sifang@cisco.com
333bf4f6c1b6a63465a4ae5c06e0420e823e1183
a97f789530412fc1cb83170a11811f294b139ee8
/疯狂Python讲义/codes/12/12.4/open_test.py
a82c8e0c5aad36b56cbc1ce6e38e8ab214fc0107
[]
no_license
baidongbin/python
3cebf2cc342a15b38bf20c23f941e6887dac187a
1c1398bff1f1820afdd8ddfa0c95ccebb4ee836f
refs/heads/master
2021-07-21T19:23:32.860444
2020-03-07T11:55:30
2020-03-07T11:55:30
195,909,272
0
1
null
2020-07-21T00:51:24
2019-07-09T01:24:31
Python
UTF-8
Python
false
false
249
py
# 以默认方式打开文件 f = open('open_test.py') # 访问文件的编码方式 print(f.encoding) # 访问文件的访问模式 print(f.mode) # 访问文件是否已经关闭 print(f.closed) # 访问文件对象打开的文件名 print(f.name)
[ "baidongbin@thunisoft.com" ]
baidongbin@thunisoft.com
c6d5a7f27e5cb9dc16455000f5f2e67af69bf8c6
12f006a0e5d75ef2349d4ae519c1c9cac5309761
/Solution_501.py
46ba1a4cb44d5d2a84e2ae8e9cc90ecffa559c3a
[]
no_license
TimothySjiang/leetcodepy
c613db16282eade713e01b7d641c0f5b341ec84b
ef64e46b8833a684b8b0355ce576b767a0e03596
refs/heads/master
2020-07-01T14:48:35.953841
2020-01-12T06:19:44
2020-01-12T06:19:44
201,199,810
1
0
null
null
null
null
UTF-8
Python
false
false
579
py
# Definition for a binary tree node. # class TreeNode: # def __init__(self, x): # self.val = x # self.left = None # self.right = None class Solution: def findMode(self, root: TreeNode) -> List[int]: if not root: return [] self.c = collections.Counter() self.dfs(r...
[ "shjiang@ucdavis.edu" ]
shjiang@ucdavis.edu
ce16f6208510e73773e5fa7429e9a1dc8fad905b
c98a9a8297c74dfa9b5daac86efc32d11c4be867
/backend/cookieapp/views.py
267671419c60ab45316e10d75183e94a51fd316c
[]
no_license
akabhi5/custom-jwt-auth-django
78e3537369f861860950782de5e7beb8c6d2e85c
63563cc8bbffedc54858eab1fb2f05dde4ab4ef8
refs/heads/master
2022-12-03T08:38:58.029548
2020-08-12T15:46:26
2020-08-12T15:46:26
287,053,299
0
0
null
null
null
null
UTF-8
Python
false
false
1,746
py
from django.shortcuts import render import jwt from django.conf import settings from django.contrib.auth import get_user_model from .authentication import JWTAuthentication from django.shortcuts import render from rest_framework.views import APIView from rest_framework.response import Response from django.conf import ...
[ "abhishekk580@gmail.com" ]
abhishekk580@gmail.com
be7296d5505159851b7da1f0b76ede50f2b031e2
0ba5622abc2125ac8a9907757680da4d7cb7b47e
/Knowrob/indigo/indigo-knowrob-dev/catkin_ws/devel/.private/iai_kinematics_msgs/lib/python2.7/dist-packages/iai_kinematics_msgs/srv/__init__.py
f136f1904c1a4c319f04225f41e010162bf2c515
[]
no_license
IoT-Lab-Minden/docker-ros
c2a327117bdf1d0b861d4580156e595a079ec5d5
5c57c15717cbcae515d82c3dc75470587bb2508e
refs/heads/master
2021-01-18T03:33:22.128596
2017-05-17T13:48:05
2017-05-17T13:48:05
85,809,457
0
0
null
null
null
null
UTF-8
Python
false
false
129
py
from ._GetKinematicSolverInfo import * from ._GetPositionFK import * from ._GetPositionIK import * from ._GetWeightedIK import *
[ "aljoscha.poertner@fh-bielefeld.de" ]
aljoscha.poertner@fh-bielefeld.de
ee797bcf0df3691569129f62733d3bf2b8296a89
d68c9105c03bef9dce2e438b5b91c2bdd0d856e2
/[14623] 감정이입.py
9781b1e9451ce13988db29d5e88f05c80a4b189c
[]
no_license
newfull5/Baekjoon-Online-Judge
2a2dd1080af234551ecab6277968fedeb170a1f4
00d04f6c21080e3ad7c0fb06ca311f2324a591c0
refs/heads/master
2023-06-29T21:05:07.539911
2021-07-16T09:23:46
2021-07-16T09:23:46
267,557,726
0
0
null
null
null
null
UTF-8
Python
false
false
60
py
a = input() b = input() print(bin(int(a,2) * int(b,2))[2:])
[ "noreply@github.com" ]
newfull5.noreply@github.com
08470bc51337c3da0a8b25c6824a3af07e9566bc
532e3f4530353fdf9b6befb8a88c1dd450f42c36
/migrate_all_dashboards.py
aa602319cb3c59db8ec4e7ba7001b5cfc2486eb7
[ "BSD-3-Clause" ]
permissive
DataDog/Miscellany
9aad31b7ac2d635c1a9dd9af8f4ab927c9914e3a
b55849ab0b2ec95642d4082a834218b32276884e
refs/heads/master
2023-08-10T20:20:41.437060
2022-09-23T06:40:40
2022-09-23T06:40:40
48,389,989
204
149
BSD-3-Clause
2023-07-21T13:35:55
2015-12-21T19:27:04
Python
UTF-8
Python
false
false
1,487
py
from datadog import initialize, api options = { 'api_key': '<API KEY ORIGINAL ACCOUNT>', 'app_key': '<APP KEY ORIGINAL ACCOUNT>' } initialize(**options) dashboard_ids = [] dashboard_data = [] ## Gather all the dashboard IDs in original account response = api.Dashboard.get_all() dashboards = response["dashb...
[ "noreply@github.com" ]
DataDog.noreply@github.com
2e0d57a2f1dc958f8ed8be51c36f9963c0f9a405
9b64f0f04707a3a18968fd8f8a3ace718cd597bc
/huaweicloud-sdk-cbr/huaweicloudsdkcbr/v1/model/delete_backup_request.py
dc3e90a18a98bebe8205afffe0c9ba84920a4374
[ "Apache-2.0" ]
permissive
jaminGH/huaweicloud-sdk-python-v3
eeecb3fb0f3396a475995df36d17095038615fba
83ee0e4543c6b74eb0898079c3d8dd1c52c3e16b
refs/heads/master
2023-06-18T11:49:13.958677
2021-07-16T07:57:47
2021-07-16T07:57:47
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,726
py
# coding: utf-8 import re import six class DeleteBackupRequest: """ Attributes: openapi_types (dict): The key is attribute name and the value is attribute type. attribute_map (dict): The key is attribute name and the value is json key i...
[ "hwcloudsdk@huawei.com" ]
hwcloudsdk@huawei.com
dc2b790206c0c8104d57a92101db113a62f90841
5c6c165cdbdc4fd538f4aed7d0fede76fc480444
/docs/conf.py
6da5bd8ef7dab025cbabbac48ca0dfdb16d687c1
[ "Apache-2.0" ]
permissive
asphalt-framework/asphalt-feedreader
b4b5e693a65dd51dd3fdbe1234a691c7de769bfb
096df835408ecfcfde593950c9c80d130f62cc5e
refs/heads/master
2021-01-18T19:53:06.455455
2017-11-26T17:33:13
2017-11-26T17:34:46
86,918,924
1
0
null
null
null
null
UTF-8
Python
false
false
854
py
#!/usr/bin/env python3 import pkg_resources extensions = [ 'sphinx.ext.autodoc', 'sphinx.ext.intersphinx', 'sphinx_autodoc_typehints', 'sphinxcontrib.asyncio' ] templates_path = ['_templates'] source_suffix = '.rst' master_doc = 'index' project = 'asphalt-feedreader' author = 'Alex Grönholm' copyrigh...
[ "alex.gronholm@nextday.fi" ]
alex.gronholm@nextday.fi
9f908d686f44596db30f8130af3df2355e16ac15
687928e5bc8d5cf68d543005bb24c862460edcfc
/nssrc/com/citrix/netscaler/nitro/resource/config/network/ip6tunnel.py
75fd0344de70b5e94f9909d6a3b7c8cca2c34c89
[ "Apache-2.0", "LicenseRef-scancode-unknown-license-reference", "Python-2.0" ]
permissive
mbs91/nitro
c6c81665d6abd04de8b9f09554e5e8e541f4a2b8
be74e1e177f5c205c16126bc9b023f2348788409
refs/heads/master
2021-05-29T19:24:04.520762
2015-06-26T02:03:09
2015-06-26T02:03:09
null
0
0
null
null
null
null
UTF-8
Python
false
false
8,587
py
# # Copyright (c) 2008-2015 Citrix Systems, 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 l...
[ "bensassimaha@gmail.com" ]
bensassimaha@gmail.com
1fe6bc904fb967eb965a4df87dc597e8cb4ea549
5c6a8cd15955f7ca5f822b17b56c37c36ca4144d
/reference/rpsnet/approaches/ewc.py
ceb185148f0ba6348d50965ed6f9e4eb71c91538
[]
no_license
xavoliva/CAT
57e48eb958d10f17071797645f4836ed33ae74a7
5f32ada1eed4bf4de4488840bd3ae7163e9dd22b
refs/heads/main
2023-01-22T16:06:40.200292
2020-12-08T17:38:30
2020-12-08T17:38:30
null
0
0
null
null
null
null
UTF-8
Python
false
false
5,783
py
import sys,time import numpy as np import torch from copy import deepcopy import utils class Appr(object): """ Class implementing the Elastic Weight Consolidation approach described in http://arxiv.org/abs/1612.00796 """ def __init__(self,model,nepochs=100,sbatch=64,lr=0.05,lr_min=1e-4,lr_factor=3,lr_patienc...
[ "15011700342Xuan" ]
15011700342Xuan
cb90bcf4ce4e8201546b3dd11c4c6e2d1af10e59
1401691e4b16b9feea9644df4e859c72aa971606
/class_04_sse.py
49c7ab36e25029cf65254e38eeba4a8cdad2b5e7
[]
no_license
Swall0w/cluster
1f28f5997380109bafdc40ed66778643e46f96e4
c9ee492c59b53ae0c0308d7236492c21d1757499
refs/heads/master
2021-01-20T01:38:19.400175
2017-06-27T09:22:05
2017-06-27T09:22:05
89,310,396
0
0
null
null
null
null
UTF-8
Python
false
false
1,410
py
import numpy as np import pandas as pd import matplotlib.pyplot as plt from mpl_toolkits.mplot3d import Axes3D from sklearn.cluster import KMeans from sklearn.decomposition import PCA from sklearn.preprocessing import StandardScaler #from func import cluster def data_split(data,num): X = data[:,:num] y = data...
[ "technext.jpn@gmail.com" ]
technext.jpn@gmail.com
3ab32d8352f4cf205033d81188ca4d834e9d63a0
07efdf9a706761285698918014a084c3e16ff058
/codecheffeb20blongcookdup.py
14081430eccefd0808892f3d6303473979b03f5a
[]
no_license
sreyansb/CodeChef
973ecbf304ebc5fe3f2c5cfe36ecb2f7d5b3abf6
b5c7b93730654e7b8dc616f7e8d41d257a8aa18d
refs/heads/master
2023-01-02T18:18:34.255247
2020-10-28T08:24:43
2020-10-28T08:24:43
275,896,544
0
0
null
null
null
null
UTF-8
Python
false
false
912
py
#question is not about leap year.t happens in FEB when the first friday appears #on 6th or 7th import datetime import calendar def leap(y): if (y%4==0 and y%100) or y%400==0: return 1 return 0 def findday(y): return datetime.datetime(y,2,1).weekday() for _ in range(int(input())): m1,y1=map(int,...
[ "sreyansrocks@gmail.com" ]
sreyansrocks@gmail.com
8026aba8c0c682ce4b10b72192b7aaebea17abc9
fd74a044c0037796455ba4bd4fd44f11c3323599
/Contest/ABC/Contest_155/d.py
647052df8ba0932deafa966e416b50adc33b6e1e
[]
no_license
tegetege/tegetege_AtCoder
5ac87e0a7a9acdd50d06227283aa7d95eebe2e2f
ba6c6472082e8255202f4f22a60953d0afe21591
refs/heads/master
2022-03-25T00:29:22.952078
2022-02-10T14:39:58
2022-02-10T14:39:58
193,516,879
0
0
null
2019-06-25T13:53:13
2019-06-24T14:02:05
Python
UTF-8
Python
false
false
174
py
N,K = map(int,input().split()) A = list(map(int,input().split())) ans = list() for i in range(N): for j in range(i+1,N): ans.append(A[i]*A[j]) ans.sort() print(ans[K-1])
[ "m_take7_ex_d@yahoo.co.jp" ]
m_take7_ex_d@yahoo.co.jp
6700179b0ecf461e83722b3ebff3dc48ca5b087e
35109088e79989e8b0ca9d9ddadad1546eebc8e3
/AB/pandas/pandas_day_02/pandas_student/practice.py
ffb496cde9ff888524b27063459228282554fb12
[]
no_license
ABCmoxun/AA
d0f8e18186325bfd832b26f3b71027d1dc8255b2
c2c4a5b6683555b5d6200730b789d6e655f64c7f
refs/heads/master
2020-03-25T11:11:54.882204
2020-03-03T05:19:07
2020-03-03T05:19:07
143,722,606
1
0
null
null
null
null
UTF-8
Python
false
false
1,191
py
import numpy as np import pandas as pd # 创建DataFrame df = pd.DataFrame([['Snow','M',22],['Tyrion','M',32],['Sansa','F',18],['Arya','F',14]], columns=['name','gender','age']) # print(df) #选去多列,gender和age列 # print(df[['name','gender']]) # print(df.loc[:,['name','gender']]) # print(df.iloc[:,[0,1]]) # print(df.iloc[:,0:2]...
[ "1945568441@qq.com" ]
1945568441@qq.com
bf6705246ac989960abc31e9a81a19d845c40178
3a117858e61c87b703c694d8e1b6da61e6074851
/src/.history/Test/HiwinRT605_test_20190619124455.py
8714b12dc8115d50a2fe523ce3f9839232707283
[ "MIT" ]
permissive
SamKaiYang/ROS_Socket
4daa2c66181a76038e20161a44f1362084b6bd58
aa131496617cec0a9c32141565faa668db738eb9
refs/heads/master
2020-05-25T22:02:02.468922
2019-07-18T09:02:35
2019-07-18T09:02:35
188,009,003
0
1
null
null
null
null
UTF-8
Python
false
false
10,569
py
#!/usr/bin/env python3 # license removed for brevity #策略 機械手臂 四點來回跑 import rospy import os import numpy as np from std_msgs.msg import String from ROS_Socket.srv import * from ROS_Socket.msg import * import math import enum import Hiwin_RT605_ROS as strategy pos_feedback_times = 0 mode_feedback_times = 0 msg_feedback...
[ "tt00621212@gmail.com" ]
tt00621212@gmail.com
a59beb2bdc6f80dc9f4828db98d6a38ebb4e144c
68ca052b019889567c7f110eccd5e5efcb5ef194
/factories/character_factory.py
06551931a8e9e5005ca7005e4102e49e1ce92dc9
[ "MIT" ]
permissive
botamochi0x12/Python-Roguelike-Framework
0098d8cd34d7c535845f294185d54d1e52036e1b
230101fb076e3d2a8009ce3320d25cf197192328
refs/heads/master
2023-08-15T17:54:14.641546
2021-06-08T14:41:57
2021-06-08T14:41:57
374,774,980
0
0
MIT
2021-06-08T14:41:58
2021-06-07T19:13:37
Python
UTF-8
Python
false
false
3,090
py
from characters.character import Character from components.display import Display from components.experience_pool import ExperiencePool from components.inventory import Inventory from components.race import Race from data.python_templates.characters import character_templates from data.python_templates.classes import c...
[ "arzhul@gmail.com" ]
arzhul@gmail.com
c910a0d34ab3719005f3073b1ba050463c30e037
54da94dce244ab659c8036cafcdc1b326fbfe490
/datoteke-s-predavanj/2017-18/11-uporabniski-vmesnik/command-lambda-b.py
7d486319c4732b4074111c9d9289823f2e9bd6cc
[]
no_license
jakamrak/uvod-v-programiranje
640b2738164e2026308d7e60f1478659df79cc40
3c05290f4f23b384ad9063880fffe208c08fc599
refs/heads/master
2022-07-17T16:50:18.563453
2020-05-18T13:54:13
2020-05-18T13:54:13
null
0
0
null
null
null
null
UTF-8
Python
false
false
410
py
import tkinter as tk def odzdravi(pozdrav): print('{}, človek!'.format(pozdrav)) okno = tk.Tk() tk.Button(okno, text='GOR', command=lambda: odzdravi('Živjo')).pack() tk.Button(okno, text='DOL', command=lambda: odzdravi('Dober dan')).pack() tk.Button(okno, text='LEVO', command=lambda: odzdravi('V redu')).pack() tk...
[ "matija@pretnar.info" ]
matija@pretnar.info
bda3c3bd74e713a8c7cdaa12682300dcb68c100a
6e8d58340f2be5f00d55e2629052c0bbc9dcf390
/eggs/Cheetah-2.2.2-py2.6-linux-x86_64-ucs4.egg/Cheetah/CheetahWrapper.py
a7fef80f611f06193046a65fe485f4d42c3446bc
[ "CC-BY-2.5", "MIT" ]
permissive
JCVI-Cloud/galaxy-tools-prok
e57389750d33ac766e1658838cdb0aaf9a59c106
3c44ecaf4b2e1f2d7269eabef19cbd2e88b3a99c
refs/heads/master
2021-05-02T06:23:05.414371
2014-03-21T18:12:43
2014-03-21T18:12:43
6,092,693
0
2
NOASSERTION
2020-07-25T20:38:17
2012-10-05T15:57:38
Python
UTF-8
Python
false
false
23,805
py
# $Id: CheetahWrapper.py,v 1.26 2007/10/02 01:22:04 tavis_rudd Exp $ """Cheetah command-line interface. 2002-09-03 MSO: Total rewrite. 2002-09-04 MSO: Bugfix, compile command was using wrong output ext. 2002-11-08 MSO: Another rewrite. Meta-Data ========================================================================...
[ "root@ip-10-118-137-129.ec2.internal" ]
root@ip-10-118-137-129.ec2.internal
e7305bab118320b18935aa1186ec818a4a0c4f98
5c0c0176db0ccf2c24b6b5ed459a8dc144518b13
/nni/algorithms/compression/pytorch/pruning/one_shot.py
75e2a7c30795aebadc404b3c003435cc00fc35f0
[ "MIT" ]
permissive
petuum/nni
ac4f4a1c4d6df71684eeffa127b7c4858fd29e97
8134be6269902939232482d63649c06f9864be6d
refs/heads/master
2023-02-18T11:21:41.078889
2021-01-20T03:21:50
2021-01-20T03:21:50
302,736,456
4
3
MIT
2020-11-20T20:21:15
2020-10-09T19:34:11
Python
UTF-8
Python
false
false
20,428
py
# Copyright (c) Microsoft Corporation. # Licensed under the MIT license. import logging from schema import And, Optional, SchemaError from nni.common.graph_utils import TorchModuleGraph from nni.compression.pytorch.utils.shape_dependency import ChannelDependency, GroupDependency from .constants import MASKER_DICT from...
[ "noreply@github.com" ]
petuum.noreply@github.com
26a134dc352c05ac934a88b9b19d64c431596254
283982c63aae8521e0736a05b13abfede8f6714d
/parlai/agents/hugging_face/dict.py
61946d93a067af8a9cc2c072a0c2110a4ee3353a
[ "MIT" ]
permissive
418sec/ParlAI
2a080dca65cc34b9c1a1e670104cf98423cb7ec6
12c4c19a3bcb9f3370c6479a33712ce3c5fda66e
refs/heads/master
2023-02-20T23:45:19.488816
2021-01-22T08:10:54
2021-01-22T08:10:54
327,594,300
0
1
MIT
2021-01-22T08:10:55
2021-01-07T11:40:04
null
UTF-8
Python
false
false
4,966
py
#!/usr/bin/env python3 # Copyright (c) Facebook, Inc. and its affiliates. # This source code is licensed under the MIT license found in the # LICENSE file in the root directory of this source tree. import os from abc import ABC, abstractmethod from typing import List from parlai.core.dict import DictionaryAgent fro...
[ "noreply@github.com" ]
418sec.noreply@github.com