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
3dc9e30e5c222c2883a7eac6fdbd007fc805284a
a31de016611f3b4efc7a576e7113cad1a738419b
/9.8_exception_classes.py
f3fb70d78cdd6362c88d732831f0ffe476b30943
[]
no_license
Ing-Josef-Klotzner/python
9d4044d632672fff966b28ab80e1ef77763c78f5
3913729d7d6e1b7ac72b46db7b06ca0c58c8a608
refs/heads/master
2022-12-09T01:40:52.275592
2022-12-01T22:46:43
2022-12-01T22:46:43
189,040,355
0
0
null
2022-12-01T19:52:37
2019-05-28T14:05:16
Python
UTF-8
Python
false
false
207
py
# exception classes #import sys class B: pass class C(B): pass class D(C): pass for c in [B, C, D]: try: raise c() except D: print "D" except C: print "C" except B: print "B"
[ "noreply@github.com" ]
Ing-Josef-Klotzner.noreply@github.com
0ad259d0f323921f6882bfce2be18fa92b27acdc
e845f7f61ff76b3c0b8f4d8fd98f6192e48d542a
/djangocg/utils/safestring.py
f2b147175bdb1cb129a4deff7e5ed7f49f002395
[ "BSD-3-Clause" ]
permissive
timothyclemans/djangocg
fd150c028013cb5f53f5a3b4fdc960a07fdaaa78
52cf28e046523bceb5d436f8e6bf61e7d4ba6312
refs/heads/master
2021-01-18T13:20:13.636812
2012-08-31T23:38:14
2012-08-31T23:38:14
null
0
0
null
null
null
null
UTF-8
Python
false
false
4,189
py
""" Functions for working with "safe strings": strings that can be displayed safely without further escaping in HTML. Marking something as a "safe string" means that the producer of the string has already turned characters that should not be interpreted by the HTML engine (e.g. '<') into the appropriate entities. """ f...
[ "timothy.clemans@gmail.com" ]
timothy.clemans@gmail.com
124ed1ef4d6daa12465b30bbddac78841214f9f8
6d116e51e92d199b65f60929ed51e3b8e2ffcba2
/dephell/commands/autocomplete.py
00fe5569a1e70210055c34b2de1fd44352a500b6
[ "MIT" ]
permissive
avallbona/dephell
a2ce64466092360b82b98ae314f242626d54b099
b96b401ea6906b464f9ea87f7ec9f52f9ac6297f
refs/heads/master
2020-05-20T08:47:12.498537
2019-05-08T21:12:03
2019-05-09T05:56:28
185,482,156
0
0
null
2019-05-07T21:42:04
2019-05-07T21:42:03
null
UTF-8
Python
false
false
2,208
py
# built-in from argparse import ArgumentParser from pathlib import Path # external from appdirs import user_data_dir from dephell_shells import Shells # app from ..actions import make_bash_autocomplete, make_zsh_autocomplete from ..config import builders from .base import BaseCommand class AutocompleteCommand(BaseC...
[ "master_fess@mail.ru" ]
master_fess@mail.ru
82684a66eda279814ea72973da8efc55538b1150
4074db4436d5fc5fa5395de072557def620f993e
/0x07-python-test_driven_development/5-text_indentation.py
8cc9fff7f5c7176d0a15c39387dbc13dcfc8d719
[]
no_license
Hunt66/holbertonschool-higher_level_programming
49b4a93a8b565cdd588e26e6348bed5d3e9d6953
b26f42c1d41bb24842d77bf5cf86c441bd8fcf51
refs/heads/master
2020-03-28T11:11:52.204554
2019-03-25T19:45:28
2019-03-25T19:45:28
148,187,536
0
1
null
null
null
null
UTF-8
Python
false
false
299
py
#!/usr/bin/python3 def text_indentation(text): if not isinstance(text, str): raise TypeError("text must be a string") for i in range(0, len(text)): if text[i] == '.' or text[i] == '?' or text[i] == ':': text = text[:i + 1] + '\n\n' + text[i + 2:] print(text)
[ "489@holbertonschool.com" ]
489@holbertonschool.com
78216d61d2bb30903297162eb9e88377d48f746e
d64a5a065ec3d368ee508f197fc0e61fc7a6607e
/build/navigation/base_local_planner/catkin_generated/pkg.develspace.context.pc.py
7c5c6126d275af4617da46d917ce5215b4cfcc06
[]
no_license
ProgettoSGN/charlie
925f0373b79135cab9d307ddd9a4fbac0dba69cf
b44c65cbb518fe7d3d7fa1b022ece92df3882595
refs/heads/master
2023-01-19T09:18:27.382628
2020-11-16T12:59:16
2020-11-16T12:59:16
312,522,792
0
0
null
null
null
null
UTF-8
Python
false
false
819
py
# generated from catkin/cmake/template/pkg.context.pc.in CATKIN_PACKAGE_PREFIX = "" PROJECT_PKG_CONFIG_INCLUDE_DIRS = "/home/robot/charlie_ws/devel/include;/home/robot/charlie_ws/src/navigation/base_local_planner/include".split(';') if "/home/robot/charlie_ws/devel/include;/home/robot/charlie_ws/src/navigation/base_loc...
[ "74403226+ProgettoSGN@users.noreply.github.com" ]
74403226+ProgettoSGN@users.noreply.github.com
27888c9296c46a1804a96ccbc084f8cacc2d38e5
3d19e1a316de4d6d96471c64332fff7acfaf1308
/Users/A/alice_corona/mtv_italy_top_20_scraper.py
54032d35f4c41ec3e149925dd92b9a1ec496cc2a
[]
no_license
BerilBBJ/scraperwiki-scraper-vault
4e98837ac3b1cc3a3edb01b8954ed00f341c8fcc
65ea6a943cc348a9caf3782b900b36446f7e137d
refs/heads/master
2021-12-02T23:55:58.481210
2013-09-30T17:02:59
2013-09-30T17:02:59
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,626
py
import scraperwiki import scraperwiki import scraperwiki import requests import lxml.html html = requests.get('http://classifiche.mtv.it/classifica/hitlist-italia-classifica-singoli/hitlist-italia-singoli-7-gennaio-2012').text root = lxml.html.fromstring(html) for item in root.cssselect("span.today") : date = item....
[ "pallih@kaninka.net" ]
pallih@kaninka.net
f8adb2e5d9355b185e9cfa1e7aa552bd39f443f7
245b92f4140f30e26313bfb3b2e47ed1871a5b83
/airflow/serialization/serializers/kubernetes.py
0ed9c96f7186007e794cfdde0cc62bc5d2e9cec3
[ "Apache-2.0", "BSD-3-Clause", "MIT" ]
permissive
ephraimbuddy/airflow
238d6170a0e4f76456f00423124a260527960710
3193857376bc2c8cd2eb133017be1e8cbcaa8405
refs/heads/main
2023-05-29T05:37:44.992278
2023-05-13T19:49:43
2023-05-13T19:49:43
245,751,695
2
1
Apache-2.0
2021-05-20T08:10:14
2020-03-08T04:28:27
null
UTF-8
Python
false
false
2,226
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...
[ "noreply@github.com" ]
ephraimbuddy.noreply@github.com
574d55b848536bfcfa322627dbf0c6b104d9d507
c64bb34a3dde14d3c9bf813bde414a7b3f10611d
/ommat_addons/sprogroup_purchase_request/models/__init__.py
570e708fb07b60d951eacbd75670b5b49e901c7c
[]
no_license
sm2x/my_work
ebf2e1abd06191ee59b0d82a23534274a81a3195
efc469aee4cd20b038d48d4c09f8257f3f04ba1c
refs/heads/master
2021-01-07T20:41:45.254025
2020-02-12T16:02:46
2020-02-12T16:02:46
null
0
0
null
null
null
null
UTF-8
Python
false
false
220
py
# -*- encoding: utf-8 -*- # Part of Odoo. See LICENSE file for full copyright and licensing details. from . import sprogroup_purchase_request from . import vendor_model from . import products from . import stock_castom
[ "ragaamaherhanna@gmail.com" ]
ragaamaherhanna@gmail.com
abfb82095f1a7ee3c1b729cc4f99af3aa9ed2b7c
b9d54c64d4a280703b459b346e42518896e20e0a
/lingvo/tools/compare_params.py
4515d2c948c01e7afb76a2e16c89d9df30b14990
[ "Apache-2.0" ]
permissive
zh794390558/lingvo
55a27a4e241414389f0c7b40f381a672bb164372
ecdf678179018ca07f4f52d065b9bf3fe2dc7c5a
refs/heads/master
2020-09-26T18:32:31.631402
2019-12-06T04:01:22
2019-12-06T04:02:05
177,497,272
0
0
Apache-2.0
2019-03-25T02:05:42
2019-03-25T02:05:42
null
UTF-8
Python
false
false
3,983
py
# Lint as: python2, 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 # ...
[ "copybara-worker@google.com" ]
copybara-worker@google.com
621c1ffa8b324f1b4fe00aa56300fb2c3f0c237c
ca034a0fe0ae4661ed952ea597e1ba97a1f48d7e
/_build.py
60c79d7104f07978bcdb6ca7f56f2e3ed2bf1f18
[]
no_license
tokejepsen/docs
2bde19a64551b63c6017dec7103a17504f0d4019
631498f1552c3c5e45754e3f249aef0d254c9e15
refs/heads/master
2020-03-19T12:41:15.291282
2018-06-07T21:32:34
2018-06-07T21:32:34
136,533,338
0
0
null
2018-06-07T21:33:13
2018-06-07T21:33:13
null
UTF-8
Python
false
false
6,365
py
"""Generate markdown from template. This module converts bespoke markdown into markdown compatible with the bespoke mkdocs theme developed for Avalon. """ import sys import json import time import shutil import contextlib import subprocess from tempfile import mkdtemp @contextlib.contextmanager def tempfile(name):...
[ "konstruktion@gmail.com" ]
konstruktion@gmail.com
95dd605d13b812f1e44aa83d1847cdec84539d9d
50e089f906489b2586cc586712420fd085f1f637
/nested_functions.py
bc7e0eb17a8dd8bb22b42ee4d5c4d9a3db320695
[]
no_license
AaronTho/Python_Notes
5ab629e3b3d49be5c68d2a285a79683dc604cd3e
4aa0e1fb4a35763458a1da467e1bb01e393bc972
refs/heads/main
2023-07-24T00:59:23.552952
2021-09-11T17:32:25
2021-09-11T17:32:25
375,399,260
0
0
null
null
null
null
UTF-8
Python
false
false
148
py
def greeting(first, last): def full_name(): return f'{first} {last}' print(f'Hi {full_name()}!') greeting('Kristine', 'Hudgens')
[ "aamith@gmail.com" ]
aamith@gmail.com
be5efb5f77e4571b19fcd2f4531c1a7779771783
f305f84ea6f721c2391300f0a60e21d2ce14f2a5
/22_专题/单词缩写/527. 单词缩写.py
05bf160951915d6d65e4e60fcb9259136c8d17ac
[]
no_license
981377660LMT/algorithm-study
f2ada3e6959338ae1bc21934a84f7314a8ecff82
7e79e26bb8f641868561b186e34c1127ed63c9e0
refs/heads/master
2023-09-01T18:26:16.525579
2023-09-01T12:21:58
2023-09-01T12:21:58
385,861,235
225
24
null
null
null
null
UTF-8
Python
false
false
1,753
py
from typing import List # 缩写规则: # 1. 初始缩写由起始字母+省略字母的数量+结尾字母组成。 # 2. 若存在冲突,则使用更长的前缀代替首字母,直到从单词到缩写的映射唯一 # 3. 若缩写并不比原单词更短,则保留原样。 # 贪心: # !首先给每个单词选择最短的缩写。然后我们对于所有重复的单词,我们增加这些重复项的长度。 class Solution: def wordsAbbreviation(self, words: List[str]) -> List[str]: def compress(word: str, start=0) -> str...
[ "lmt2818088@gmail.com" ]
lmt2818088@gmail.com
d0decda0750a41a8cd360423f492d5acd9c51db4
7d7ef4997628d92c9f2ad119ba956c711cc7470e
/preprocess/set_informations.py
1a0daaba394c3457093e1ac50ab82ccd56be0582
[]
no_license
jpra2/bifasico_v2
6a53031d2b4c37ee231770a61c09815146f897d8
061330d5cc1185946283379a2478732ae9bb1b3b
refs/heads/master
2020-06-01T14:39:30.547389
2019-06-26T14:42:51
2019-06-26T14:42:51
190,817,718
0
0
null
null
null
null
UTF-8
Python
false
false
4,145
py
from pymoab import types, rng def injector_producer_press(mb, gama_w, gama_o, gravity, all_nodes, volumes_d, tags): press_tag = tags['P'] values = mb.tag_get_data(press_tag, volumes_d, flat=True) wells_injector_tag = mb.tag_get_handle('WELLS_INJECTOR', 1, types.MB_TYPE_HANDLE, types.MB_TAG_SPARSE, True) ...
[ "jprandrade2@gmail.com" ]
jprandrade2@gmail.com
77878cfdb6cf7b01007cf4810306020ad7afae92
e2dc5943070ddb3e6198711a9fe3c4dda4e8449a
/190227/최소배열/venv/Scripts/easy_install-script.py
338e6276c2540c67179947380316d9e7e30b6741
[]
no_license
jiheelee/stack
eb7b34073180a9a46221b974585b4cd98cd42e59
b99dba43d1fb2bfae4b4643fda8a523ba18450e5
refs/heads/master
2020-04-25T15:25:53.306308
2019-02-27T08:53:28
2019-02-27T08:53:28
172,878,764
0
0
null
null
null
null
WINDOWS-1252
Python
false
false
471
py
#!C:\Users\student\PycharmProjects\190227\Ãּҹ迭\venv\Scripts\python.exe -x # EASY-INSTALL-ENTRY-SCRIPT: 'setuptools==39.1.0','console_scripts','easy_install' __requires__ = 'setuptools==39.1.0' import re import sys from pkg_resources import load_entry_point if __name__ == '__main__': sys.argv[0] = re.sub(r'(-sc...
[ "jiheelee.ljh@gmail.com" ]
jiheelee.ljh@gmail.com
b4c9d08e5f326c5490092f715abc0fd8db325ea5
551b75f52d28c0b5c8944d808a361470e2602654
/huaweicloud-sdk-elb/huaweicloudsdkelb/v2/model/list_healthmonitors_request.py
55e42a77119b95340d34d87e638ffc28030ee5da
[ "Apache-2.0" ]
permissive
wuchen-huawei/huaweicloud-sdk-python-v3
9d6597ce8ab666a9a297b3d936aeb85c55cf5877
3683d703f4320edb2b8516f36f16d485cff08fc2
refs/heads/master
2023-05-08T21:32:31.920300
2021-05-26T08:54:18
2021-05-26T08:54:18
370,898,764
0
0
NOASSERTION
2021-05-26T03:50:07
2021-05-26T03:50:07
null
UTF-8
Python
false
false
15,706
py
# coding: utf-8 import pprint import re import six class ListHealthmonitorsRequest: """ Attributes: openapi_types (dict): The key is attribute name and the value is attribute type. attribute_map (dict): The key is attribute name and th...
[ "hwcloudsdk@huawei.com" ]
hwcloudsdk@huawei.com
155751b1f16e508681de993ca06665d2975eb2ce
9c5abcd43318ef7553be95a95a859a0f3e41a467
/examples/tutorials/11_load.py
84afd7397952523fee2c5088abc9332745ba37a5
[ "BSD-3-Clause" ]
permissive
xzy103/PyEasyGraphics
d66da503f601868fe39d404a77b3b8d0a43a2e52
16bd6f21dd6f3d76edaab2b533500e9aa789c6b2
refs/heads/master
2020-05-19T07:31:22.005958
2019-02-25T09:54:41
2019-02-25T09:54:41
null
0
0
null
null
null
null
UTF-8
Python
false
false
309
py
""" Load and display a image """ if __name__ == "__main__": from easygraphics import * init_graph(800, 600) img = load_image("test.png") draw_image((get_width() - img.get_width()) // 2, (get_height() - img.get_height()) // 2, img) pause() img.close() close_graph()
[ "royqh1979@gmail.com" ]
royqh1979@gmail.com
fd27ad6a8290c32a967a034eca6ecec5d2b83195
02b650423c122fd4c2a200eb6a90c4530a75511d
/tests/unit/api/commands/test_Schedule_Commands.py
0ab731997fe190c8d7405e2d013704fed5854efd
[ "Apache-2.0" ]
permissive
OpenSecuritySummit/OSS-Bot
67b5f83ca94c612fbbed7610b92e4174e1f512de
8341df2be0f12c59ca1b0e9c407b650ef2fa44f9
refs/heads/master
2021-08-10T15:28:22.046363
2020-05-28T22:56:41
2020-05-28T22:56:41
185,175,370
1
1
Apache-2.0
2019-06-03T09:49:15
2019-05-06T10:31:25
Python
UTF-8
Python
false
false
572
py
from pbx_gs_python_utils.utils.Dev import Dev from oss_bot.Deploy import Deploy from oss_bot.api.commands.Participant_Commands import Participant_Commands from oss_bot.api.commands.Schedule_Commands import Schedule_Commands from oss_bot.helpers.Test_Helper import Test_Helper class test_Schedule_Commands(Test_Helper)...
[ "dinis.cruz@owasp.org" ]
dinis.cruz@owasp.org
714febafa72df8362cb0c1a03d8eeec7bb22472c
005d644bb56f8c9e168834ae7b8aa6eb6ac121fd
/splash/ui_splash_screen.py
f04928ecdf3274c3ce622ab71292fb9879474210
[]
no_license
TrendingTechnology/Notepy
950c797a111a57aedd521f558cdebe14e643e03d
029f0725a667d2085e20a9ad60e9032d4535830c
refs/heads/main
2023-06-20T21:02:48.004169
2021-07-17T05:47:56
2021-07-17T05:47:56
null
0
0
null
null
null
null
UTF-8
Python
false
false
4,474
py
from PySide2.QtCore import (QCoreApplication, QMetaObject, QObject, QPoint, QRect, QSize, QUrl, Qt) from PySide2.QtGui import (QBrush, QColor, QConicalGradient, QCursor, QFont, QFontDatabase, QIcon, QLinearGradient, QPalette, QPainter, QPixmap, QRadialGradient) from PySide2.QtWidgets import * class Ui_Spl...
[ "noreply@github.com" ]
TrendingTechnology.noreply@github.com
223fd5fbb8b7756b2d9e6bea44f9505273bd3aa9
b022d86a5beabbc830d3896ccfba4f219875cbca
/meshio/medit_io.py
87bcf8e31d2cc5a2c2217046f45872dff2bb8d40
[ "MIT" ]
permissive
nicoguaro/meshio
4bb136417f0c93990b8ebbc3b9cd53d0b0b044c1
5b3a15e72f3a0c134d176b016d2c16e10e890f27
refs/heads/master
2021-01-22T04:24:37.177143
2017-05-18T17:45:50
2017-05-18T17:45:50
92,463,341
1
0
null
2017-05-26T02:24:27
2017-05-26T02:24:27
null
UTF-8
Python
false
false
3,757
py
# -*- coding: utf-8 -*- # ''' I/O for Medit's format, cf. <https://people.sc.fsu.edu/~jburkardt/data/medit/medit.html>. .. moduleauthor:: Nico Schlömer <nico.schloemer@gmail.com> ''' from itertools import islice import numpy def read(filename): with open(filename) as f: points, cells = read_buffer(f) ...
[ "nico.schloemer@gmail.com" ]
nico.schloemer@gmail.com
da978648cea65bbf38b0bdafda58e143903f1c6e
5c36cf1f219f8a4f665f68346951d8f92b40eb28
/BUILD/doc/source/conf.py
b20254e88f9b52d9134c5fb4d06239d392f139ca
[ "MIT" ]
permissive
c1rdan/pytan
33fbee6bf51a69479c0a8bca54b95f72ad69c2b1
5e537a6dcf4136e3b9c3905a39f073396e7f044f
refs/heads/master
2020-04-02T14:21:37.339108
2018-10-25T12:07:25
2018-10-25T12:07:25
154,521,218
1
0
MIT
2018-10-24T15:04:36
2018-10-24T15:04:35
null
UTF-8
Python
false
false
10,135
py
# -*- coding: utf-8 -*- # # PyTan documentation build configuration file, created by # sphinx-quickstart on Wed Dec 3 05:16:49 2014. # # This file is execfile()d with the current directory set to its # containing dir. # # Note that not all possible configuration values are present in this # autogenerated file. # # All...
[ "jim.olsen@tanium.com" ]
jim.olsen@tanium.com
22b155a60cc9f26f8fbcbfb19da779853da72f7b
fc7cad490cb774d769c1b463ac6d1d9a8ea97024
/pages/tests/test_views.py
1769e7849fc404679d64f326e2eea26408bcaedd
[]
no_license
Aviemusca/curriculum-dev
c301915532353836cb085130fd12e2734da4b956
691a6536718ef496ac603b1c8daee7508b3e8ff2
refs/heads/master
2022-12-26T20:56:55.031344
2020-10-01T08:11:49
2020-10-01T08:11:49
297,643,769
0
0
null
null
null
null
UTF-8
Python
false
false
1,158
py
from django.test import SimpleTestCase from django.urls import reverse class HomePageViewTests(SimpleTestCase): def test_home_page_status_code(self): response = self.client.get('/') self.assertEqual(response.status_code, 200) def test_home_view_url_by_name(self): response = self.cli...
[ "yvan@metatech.ie" ]
yvan@metatech.ie
b6a3f94427f43ae734fb20b7e2c1c4f6c926b604
2aace9bb170363e181eb7520e93def25f38dbe5c
/build/idea-sandbox/system/python_stubs/cache/1ed4e86933efe88eca97680f436c5548265533bfbc196a385877104ccb45103b/_cython_0_29_11.py
091c1badfe884dc8faa5756d595898a85fb668e4
[]
no_license
qkpqkp/PlagCheck
13cb66fd2b2caa2451690bb72a2634bdaa07f1e6
d229904674a5a6e46738179c7494488ca930045e
refs/heads/master
2023-05-28T15:06:08.723143
2021-06-09T05:36:34
2021-06-09T05:36:34
375,235,940
1
0
null
null
null
null
UTF-8
Python
false
false
4,290
py
# encoding: utf-8 # module _cython_0_29_11 # from C:\Users\Doly\Anaconda3\lib\site-packages\skimage\measure\_marching_cubes_lewiner_cy.cp37-win_amd64.pyd # by generator 1.147 # no doc # no imports # Variables with simple values __loader__ = None __spec__ = None # no functions # classes class cython_function_or_met...
[ "qinkunpeng2015@163.com" ]
qinkunpeng2015@163.com
6751ec11b96160d04f89626642ceb462999b1053
ab621c65fc91f5194c4032d68e750efaa5f85682
/pabi_asset_management/wizard/account_asset_compute.py
d6cacc753c4c8d1e7b206c84a6b2f2cc5727aea3
[]
no_license
pabi2/pb2_addons
a1ca010002849b125dd89bd3d60a54cd9b9cdeef
e8c21082c187f4639373b29a7a0905d069d770f2
refs/heads/master
2021-06-04T19:38:53.048882
2020-11-25T03:18:24
2020-11-25T03:18:24
95,765,121
6
15
null
2022-10-06T04:28:27
2017-06-29T10:08:49
Python
UTF-8
Python
false
false
1,524
py
# -*- coding: utf-8 -*- import ast from openerp import models, fields, api, _ class AccountAssetCompute(models.Model): # Change to a Model _inherit = 'account.asset.compute' _rec_name = 'id' _order = 'id desc' id = fields.Integer( string='ID', readonly=True, ) period_id = fie...
[ "kittiu@gmail.com" ]
kittiu@gmail.com
0b2dfc4a3aeb2cffa837508f7aeee51394e57bd1
2cfa0cd5e016d81ecdd3f643e95bd6382652f1ab
/toTheMoon/leetcode_139_WordBreak.py
64604808320a3a83f58121a9a3c08cfb7d26d7ca
[ "MIT" ]
permissive
jercas/offer66-leetcode-newcode
b863871840875cc38e0310b1e20ccaa4040ea134
a2e5256f27dbfb23fc34119fc857cd9b00e28c03
refs/heads/master
2020-05-07T17:43:43.326326
2019-10-24T12:52:32
2019-10-24T12:52:32
180,738,543
0
0
null
null
null
null
UTF-8
Python
false
false
2,094
py
# -*- coding: utf-8 -*- """ Created on Thu Apr 18 20:32:31 2019 @author: jercas """ """ leetcode-139: 单词拆分 MEDIUM '动态规划' 给定一个非空字符串 s 和一个包含非空单词列表的字典 wordDict,判定 s 是否可以被空格拆分为一个或多个在字典中出现的单词。 说明: 拆分时可以重复使用字典中的单词。 你可以假设字典中没有重复的单词。 Hint: (1)设dp[i]表示字符串s[0:i]是否可以被拆分,False 不能,True能。 (2)现在要想求dp[i]的值,很显然只要判断dp[i...
[ "jercas0618@163.com" ]
jercas0618@163.com
4e2e3d32be1cba99eb676eb1b0b9eb38a7c57daf
4a8c1f7d9935609b780aff95c886ef7781967be0
/atcoder/_codeforces/1359_d.py
e4583d55e18b587b4ff08fba68b0847da062511c
[]
no_license
recuraki/PythonJunkTest
d5e5f5957ac5dd0c539ef47759b1fe5ef7a2c52a
2556c973d468a6988d307ce85c5f2f8ab15e759a
refs/heads/master
2023-08-09T17:42:21.875768
2023-07-18T23:06:31
2023-07-18T23:06:31
13,790,016
0
0
null
null
null
null
UTF-8
Python
false
false
1,580
py
import sys from io import StringIO import unittest import logging logging.basicConfig(level=logging.DEBUG) def resolve(): from pprint import pprint import sys input = sys.stdin.readline n = int(input()) dat = list(map(int, input().split())) s = [0] * (n+1) for i in range(n): s[i+1]...
[ "glenda.kanai@gmail.com" ]
glenda.kanai@gmail.com
369cc333ac5f443e085115379b09a143723492e7
936c893f29a7e3c99450b49512d5ad6dd7e63d12
/api/migrations/0006_codesubbietype.py
7a09f80fdcddf9e4a90dccbe52897390cab09456
[]
no_license
pavithra994/cormack_dev
0d3f5f794173013f3219c786b83779df2f2ae344
78927eaeea27320908b117aa50380ddacd6e2662
refs/heads/master
2023-04-09T22:34:33.746134
2021-04-13T20:12:08
2021-04-13T20:12:08
357,628,147
0
0
null
null
null
null
UTF-8
Python
false
false
1,504
py
# -*- coding: utf-8 -*- # # Copyright (C) 2019 Ocom Software- All Rights Reserved # Unauthorized copying of this file, via any medium is strictly prohibited # Proprietary and confidential # Written by Ocom Software <licence@ocom.com.au, 2019 # # # Generated by Django 1.10.7 on 2017-12-12 04:36 from __future__ imp...
[ "scott.hooper@hordernit.com.au" ]
scott.hooper@hordernit.com.au
b19af4145b02f7ea5d7e947944ec9842a0a92632
ca7aa979e7059467e158830b76673f5b77a0f5a3
/Python_codes/p02886/s480047151.py
182b8aad58af1035a08c56cbe0d021cb65d131cb
[]
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
186
py
N=int(input()) List = list(map(int, input().split())) wa = 0 for i in range(N): for j in range(N): if j == i: pass else: wa += List[i]*List[j] wa = wa //2 print(wa)
[ "66529651+Aastha2104@users.noreply.github.com" ]
66529651+Aastha2104@users.noreply.github.com
8d2091e6ed66f99a803f6b2852b1ad75f6b5c9b0
cca752de5ce7f2ce2a225a4d67fc05f917716572
/pyemma/coordinates/clustering/assign.py
62de35890757e6f5f8dd27392fac2db8b2345893
[ "BSD-2-Clause" ]
permissive
kziolkowska/PyEMMA
aef5cf697c4d470e380d888e87d4ec81197f3651
358edf630f02a893795c41f57bb8ae2843510444
refs/heads/master
2021-01-16T22:46:03.817339
2015-02-23T07:48:46
2015-02-23T07:48:46
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,655
py
''' Created on 18.02.2015 @author: marscher ''' from pyemma.coordinates.clustering.interface import AbstractClustering from pyemma.msm.io import read_matrix import numpy as np class AssignCenters(AbstractClustering): """Assigns given (precalculated) cluster centers. If you already have cluster centers from ...
[ "m.scherer@fu-berlin.de" ]
m.scherer@fu-berlin.de
5fbe51365e416484320375db8432cd15c9a6a8f0
ea9b8accf7040cc7d463cb162c798e9675f16533
/edittask
3e3fb3f7085e5c25fa4576cfc0f4486dba8ed4d0
[]
no_license
thomasballinger/ballingercalendar
d51619310cc9b39ff343547366caa764ee86404b
6ebaa8b97d6fb3a393ce1a7d988e22a1daaaec49
refs/heads/master
2021-01-10T21:04:52.684282
2011-05-27T21:06:44
2011-05-27T21:06:44
32,118,158
0
0
null
null
null
null
UTF-8
Python
false
false
12,963
#!/usr/bin/python # edittask # being updated for use with spreadsheet-based tasks # thomasballinger@gmail.com import time import os, sys, optparse import datetime, parse import gssltask as task import calendarhours as hours origDir = os.getcwd() scriptFile = os.path.abspath(__file__) scriptDir = os.path.basename(script...
[ "thomasballinger@gmail.com" ]
thomasballinger@gmail.com
0b045919b9d842b5ca1abb59d93d7ecbd92dd4d6
53fab060fa262e5d5026e0807d93c75fb81e67b9
/backup/user_156/ch23_2020_03_09_19_36_00_577839.py
3639b7a9881fc419db9d75cc326fb12e7b140fb9
[]
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
138
py
x = int(input('Velocidade do carro: ?')) if x>80: print("Voce foi multado: {0}".format((x-80)*5)) else: print("Não foi multado")
[ "you@example.com" ]
you@example.com
6b71d61f7c665ab19ef6b4a329625f9dd05d5188
b6c7f367306f8f3d9fad7551810c68b392a1b879
/omoide/tests/unit/infra/test_walking.py
9dd3fab1ae1c23cbaf0f50c2bc112f8e5e83b910
[ "MIT" ]
permissive
TaXeH/Omoide
c96ef35b1394125fc98367e8a9ef1674718e7e9e
8ccc9d47e802433bb2de21ff930e6630658cd5e3
refs/heads/main
2023-07-18T12:00:15.469707
2021-08-28T11:37:23
2021-08-28T11:37:23
400,773,814
0
0
MIT
2021-08-28T11:17:55
2021-08-28T11:17:55
null
UTF-8
Python
false
false
1,110
py
"""Tests. """ import tempfile from unittest import mock import pytest from omoide import infra @pytest.fixture() def filesystem(): return infra.Filesystem() def test_walk(filesystem): with tempfile.TemporaryDirectory() as tmp_dir: fake_stdout = mock.Mock() path_1 = filesystem.join(tmp_dir,...
[ "nicord@yandex.ru" ]
nicord@yandex.ru
e2453c1ab2c4cb5b531f46e966480c82014a35bf
450fc27c8c11eb3ffe7c764081c048d506a7fdea
/src/py_script.py
26f9d3ec788457a4b83465a273dc735636edc2c5
[]
no_license
rduvalwa5/SysExamples
6228fd93d4cec66e189ff3561af5c4e062349ea5
e47e8843b10c06f4f02d94d89a3f75b133c1d617
refs/heads/master
2020-04-06T06:28:07.657630
2016-10-12T06:37:20
2016-10-12T06:37:20
70,551,976
0
0
null
null
null
null
UTF-8
Python
false
false
624
py
#!/usr/local/bin/python ''' Created on Feb 19, 2016 @author: rduvalwa2 To run a script, go to directory were script is a execute Simpple Python script ''' print("1) go run a script, go to directory were script is") print("2) make sure is defined by system as executable") print("3) at command line type the script name...
[ "rduvalwa5@hotmail.com" ]
rduvalwa5@hotmail.com
c8377597fc5c29bc3e200dfff5a26e53cad854ca
d57b51ec207002e333b8655a8f5832ed143aa28c
/.history/1/PyGame/game_20200606103432.py
a377557bcf3c7a0484507e7545a9a8cfba1b1108
[]
no_license
yevheniir/python_course_2020
b42766c4278a08b8b79fec77e036a1b987accf51
a152d400ab4f45d9d98d8ad8b2560d6f0b408c0b
refs/heads/master
2022-11-15T07:13:24.193173
2020-07-11T15:43:26
2020-07-11T15:43:26
278,890,802
0
1
null
null
null
null
UTF-8
Python
false
false
7,306
py
# 1 - Import library import pygame from pygame.locals import * import math import random import os import json # 2 - Initialize the game pygame.init() width, height = 640, 480 screen=pygame.display.set_mode((width, height)) keys = [False, False, False, False] playerpos=[100,100] acc=[0,0] arrows=[] badtimer=100 badtim...
[ "yevheniira@intelink-ua.com" ]
yevheniira@intelink-ua.com
914e9bb4f96c7ca489cc4fbe7f9151479e95c700
9e988c0dfbea15cd23a3de860cb0c88c3dcdbd97
/sdBs/AllRun/pg_1705+398/sdB_PG_1705+398_lc.py
fb5a2c9a6010f68b8235076c5ed37319371ad64e
[]
no_license
tboudreaux/SummerSTScICode
73b2e5839b10c0bf733808f4316d34be91c5a3bd
4dd1ffbb09e0a599257d21872f9d62b5420028b0
refs/heads/master
2021-01-20T18:07:44.723496
2016-08-08T16:49:53
2016-08-08T16:49:53
65,221,159
0
0
null
null
null
null
UTF-8
Python
false
false
346
py
from gPhoton.gAperture import gAperture def main(): gAperture(band="NUV", skypos=[256.681792,39.732494], stepsz=30., csvfile="/data2/fleming/GPHOTON_OUTPU/LIGHTCURVES/sdBs/sdB_PG_1705+398 /sdB_PG_1705+398_lc.csv", maxgap=1000., overwrite=True, radius=0.00555556, annulus=[0.005972227,0.0103888972], verbose=3) if __name...
[ "thomas@boudreauxmail.com" ]
thomas@boudreauxmail.com
f062e5a2033afeb2b59a95e2eeb47f1166817c97
56ade096db1fe376ee43d38c96b43651ee07f217
/023. Merge k Sorted Lists/Python/Solution.py
955cbe788c96145af7c9fd5e35bd21a77b6ede15
[]
no_license
xiaole0310/leetcode
c08649c3f9a9b04579635ee7e768fe3378c04900
7a501cf84cfa46b677d9c9fced18deacb61de0e8
refs/heads/master
2020-03-17T05:46:41.102580
2018-04-20T13:05:32
2018-04-20T13:05:32
133,328,416
1
0
null
null
null
null
UTF-8
Python
false
false
1,196
py
# Definition for singly-linked list. # class ListNode(object): # def __init__(self, x): # self.val = x # self.next = None class Solution(object): def mergeKLists(self, lists): """ :type lists: List[ListNode] :rtype: ListNode """ def partition(lists, star...
[ "zhantong1994@163.com" ]
zhantong1994@163.com
7fa5192bb918b94bae014f603e2807d7b5949b69
43eb7f8581a8dbfa1298b4e6d84fc7b7a552e335
/python/kserve/kserve/models/v1beta1_xg_boost_spec.py
afd2ad2cb98960f28ef7270b898f7d8bcede6bd5
[ "Apache-2.0" ]
permissive
Suresh-Nakkeran/kserve
c2d114f7258a70b4c8ddeb8ee8c584d4eee0f81b
d3910e0fc6af4bf73156a53bd912d6e4acc87533
refs/heads/master
2023-07-29T00:17:28.900100
2021-09-11T08:04:54
2021-09-11T08:04:54
406,243,335
0
0
Apache-2.0
2021-09-14T05:59:05
2021-09-14T05:59:04
null
UTF-8
Python
false
false
32,713
py
# Copyright 2020 kubeflow.org. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing,...
[ "noreply@github.com" ]
Suresh-Nakkeran.noreply@github.com
a91d226941fc0003ace12552f033eb694ed8630a
3c000380cbb7e8deb6abf9c6f3e29e8e89784830
/venv/Lib/site-packages/cobra/modelimpl/eqpt/egrtotal15min.py
4b39e4bc1852a11791deb8bef7fb97bc03e4298d
[]
no_license
bkhoward/aciDOM
91b0406f00da7aac413a81c8db2129b4bfc5497b
f2674456ecb19cf7299ef0c5a0887560b8b315d0
refs/heads/master
2023-03-27T23:37:02.836904
2021-03-26T22:07:54
2021-03-26T22:07:54
351,855,399
0
0
null
null
null
null
UTF-8
Python
false
false
42,132
py
# coding=UTF-8 # ********************************************************************** # Copyright (c) 2013-2020 Cisco Systems, Inc. All rights reserved # written by zen warriors, do not modify! # ********************************************************************** from cobra.mit.meta import ClassMeta from cobra.m...
[ "bkhoward@live.com" ]
bkhoward@live.com
575e4ca2deb65350aa1786280363eb93b2489ec8
9e98a7770465227e8e0e962c02850acc5c172e96
/backend/admin/secure.py
e8efebe1599d1525a767e1c7dad8388d4a903692
[ "MIT" ]
permissive
pengjinfu/flask-bigger
281a43770958584c406accb34b2d13eebd4ba8cc
cc5ba476c20129a009ad8a8366daf4dc060bd4ac
refs/heads/master
2021-04-19T21:24:20.385510
2019-03-09T01:07:06
2019-03-09T01:07:06
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,490
py
# -*- coding: utf-8 -*- from functools import wraps from flask import ( g, session, request, redirect, url_for, current_app, abort ) def login_required(func): @wraps(func) def decorated_function(*args, **kwargs): not_in_g = not hasattr(g, 'login_user') or g.login_user is N...
[ "gogs@fake.local" ]
gogs@fake.local
c4e79832b0eae413614aef8f2f1b3143244b8230
0b14062e8db610817b7f0730bfb21bf3e93765b8
/component/intent/response.py
8539ee74f4e2f507f8567ee3b13ee8c97c86dc48
[ "MIT" ]
permissive
bkosciow/tenchi
63fa827607b7b725ea61b73119193904bde25a6a
e53e59df34934e3e81da3e9321c1648a844aa23c
refs/heads/develop
2023-06-24T17:14:45.696811
2023-06-12T09:53:40
2023-06-12T09:53:40
175,896,569
0
0
MIT
2023-06-12T09:53:42
2019-03-15T21:59:49
Python
UTF-8
Python
false
false
682
py
class Response(object): def __init__(self, request=None): self.intent_name = request.intent_name if request else '' self.lang = request.lang if request else '' self.data = request.data if request else '' self._speech = '' self._text = '' @property def text(self): ...
[ "kosci1@gmail.com" ]
kosci1@gmail.com
4b3d81773808ab07ce6131fa88b8d2fc3dd8e8e0
9edaf93c833ba90ae9a903aa3c44c407a7e55198
/bpmn/models/t_global_conversation.py
d14fa1bdd32f9e7ae6b1d934d12d5dd4c4b99b1d
[]
no_license
tefra/xsdata-samples
c50aab4828b8c7c4448dbdab9c67d1ebc519e292
ef027fe02e6a075d8ed676c86a80e9647d944571
refs/heads/main
2023-08-14T10:31:12.152696
2023-07-25T18:01:22
2023-07-25T18:01:22
222,543,692
6
1
null
2023-06-25T07:21:04
2019-11-18T21:00:37
Python
UTF-8
Python
false
false
250
py
from dataclasses import dataclass from .t_collaboration import TCollaboration __NAMESPACE__ = "http://www.omg.org/spec/BPMN/20100524/MODEL" @dataclass class TGlobalConversation(TCollaboration): class Meta: name = "tGlobalConversation"
[ "chris@komposta.net" ]
chris@komposta.net
3cddfeb55bb003700c11e2ec31184cc755b38f94
3e4fd46157cd8bee454fe0bff227da6204ade9f4
/api/migrations/0020_cdekkey_updated_at.py
c6a46496d2f3621b432afd3eeca684ce5a14729b
[]
no_license
skiboorg/docs_api
8e7017457cc111311d836f572597aeb3d6bed1c4
4bae50c8ea772439b93bf4e0fc95cb6395bb9cfb
refs/heads/master
2023-06-26T14:43:54.248638
2021-08-02T15:32:28
2021-08-02T15:32:28
336,874,780
0
0
null
null
null
null
UTF-8
Python
false
false
378
py
# Generated by Django 3.1.5 on 2021-02-24 10:08 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('api', '0019_cdekkey'), ] operations = [ migrations.AddField( model_name='cdekkey', name='updated_at', fi...
[ "d@skib.org" ]
d@skib.org
7e7edd6dae26504cd0c4210724cf8208bcd5fe68
5357b71f92e25f9fae36560daef33512c15cded6
/CommonTools/test/buildWZworkspace_f4_ATLASCMSforComb_signalShapeFix_less1sigmaInputForNegativeSystBkgDD_lnNall.py
a207b63daf03ed856867f0291e7c5caddee23903
[]
no_license
senka/ATLASCMS_combination_2
b0740cb00479db9d5692b42d1e0bb9be3568c640
080a2abff576a3f07dd2e78e95955eb673f38cbf
refs/heads/master
2021-01-15T10:47:01.015627
2014-08-06T08:54:10
2014-08-06T08:54:10
null
0
0
null
null
null
null
UTF-8
Python
false
false
39,768
py
import pyroot_logon import limits import os import sys from array import * from ROOT import * from optparse import OptionParser from ConfigParser import SafeConfigParser l2nu2_bkgMC=[0,0,0,0,8.53, 8.38, 4.14] l2nu2_bkgDD=[0.63,0.2,0.09,0.011,17.48, 7.58, 0.78] l2nu2_signal=[27.93, 14.63, 9.28, 1.55, 13.55, 15.66, ...
[ "senka.duric@cern.ch" ]
senka.duric@cern.ch
744c5eaa6cb3ca445d2636ef9869716a03f6577a
498e792e16ab1a74ac034c53177c4cccbeef2749
/classification/swin_transformer/utils.py
96ad54a4b596ffeb720d7ffd0dac0cc47157abe1
[]
no_license
ydwisroad/imageprocessingpytorch
f97bec4469c087f6bbbca5d42da180c95be8b13f
bd8d1af228619c9c6c9c1a2b880422f7d5048dd5
refs/heads/master
2023-07-29T05:05:11.145832
2022-02-21T23:32:03
2022-02-21T23:32:03
284,976,501
7
3
null
2023-07-24T01:08:22
2020-08-04T12:43:24
Jupyter Notebook
UTF-8
Python
false
false
6,729
py
import os import sys import json import pickle import random import torch from tqdm import tqdm import matplotlib.pyplot as plt def read_split_data(root: str, val_rate: float = 0.2): random.seed(0) # 保证随机结果可复现 assert os.path.exists(root), "dataset root: {} does not exist.".format(root) # 遍历文件夹,一个文件夹对应...
[ "wandf12345@163.com" ]
wandf12345@163.com
1acb498dd3826b34f113982a9323dd004030e092
5335098059388245cf65f0b0c791f1c3c910b74d
/mysite/settings.py
9dccea7de9f3ab318d24763e77c548922f870a70
[]
no_license
Mariia1991/my-first-blog
c333cbcf3648b12e1018a23da3995a76eb8be612
91fc87e054ccf95f7da422ea1f6453c5d96fec19
refs/heads/master
2021-01-10T16:17:43.171755
2016-03-06T10:42:57
2016-03-06T10:42:57
53,248,539
0
0
null
null
null
null
UTF-8
Python
false
false
2,706
py
""" Django settings for mysite project. Generated by 'django-admin startproject' using Django 1.8. For more information on this file, see https://docs.djangoproject.com/en/1.8/topics/settings/ For the full list of settings and their values, see https://docs.djangoproject.com/en/1.8/ref/settings/ """ # Build paths i...
[ "you@example.com" ]
you@example.com
18e9b2b74f11283b6321cc911e118ff92ad27bc1
0c6b4e9c5ecc5a7595717f9699953b227486ef3e
/tests/unit/modules/remote_management/oneview/test_oneview_network_set.py
925b136aea929159834fde6379a0dea5fd372036
[]
no_license
ansible-collection-migration/ansible.misc
d9c92e8bb0c17b3e2a92976215f523c2afaa5a46
3c02be2a8c03b2e375a1e1f37b0c119145ea358c
refs/heads/master
2020-12-26T23:11:36.544511
2020-02-03T22:18:53
2020-02-03T22:18:53
237,681,535
0
0
null
null
null
null
UTF-8
Python
false
false
6,364
py
# Copyright (c) 2016-2017 Hewlett Packard Enterprise Development LP # GNU General Public License v3.0+ (see COPYING or https://www.gnu.org/licenses/gpl-3.0.txt) from ansible_collections.ansible.misc.tests.unit.compat import unittest, mock from .hpe_test_utils import OneViewBaseTestCase from .oneview_module_loader impo...
[ "ansible_migration@example.com" ]
ansible_migration@example.com
f07650432096a5e2ce129c31565a46449a0bc4ac
9fc6604ae98e1ae91c490e8201364fdee1b4222a
/eg_unifonic_sms/wizards/__init__.py
ac6faede52edcd98fc0b73903df17624720de3c3
[]
no_license
nabiforks/baytonia
b65e6a7e1c7f52a7243e82f5fbcc62ae4cbe93c4
58cb304d105bb7332f0a6ab685015f070988ba56
refs/heads/main
2023-03-23T21:02:57.862331
2021-01-04T03:40:58
2021-01-04T03:40:58
null
0
0
null
null
null
null
UTF-8
Python
false
false
39
py
from . import unifonic_post_sms_wizard
[ "ash@odoxsofthub.com" ]
ash@odoxsofthub.com
864af22112c10a166d04ae1997c58bc756b43a51
f3f38a66daddccbb7fd0bfc1cacce40c7ad31010
/tippecanoe-downloads.py
0f09b1da5d9ca1e7df0f83a2ca8a0e864b40bc63
[]
no_license
kimballjohnson/dotmaps
386b5b87ce757412eeb7712def8bb595cc59e98f
09c9a3ceb16ba7f350247eee9a3b65ddb53fe290
refs/heads/master
2021-09-12T09:28:11.772233
2017-03-01T19:44:56
2017-03-01T19:44:56
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,221
py
import sys, csv, zipfile, os, itertools, io, json, tempfile, subprocess OA_PROPERTIES = 'HASH', 'NUMBER', 'STREET', 'UNIT', 'CITY', 'POSTCODE' with open('downloaded/files.csv') as file: run_rows = csv.DictReader(file) set_key = lambda run_row: int(run_row['set_id']) sorted_rows = sorted(run_rows, key...
[ "mike@teczno.com" ]
mike@teczno.com
01eb492e08352e8b7c503545b15924f421b2b23a
a46d135ba8fd7bd40f0b7d7a96c72be446025719
/packages/python/plotly/plotly/validators/choroplethmapbox/_reversescale.py
50dd2164ab3093d034fb5a3d4f8f4c172e533564
[ "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
435
py
import _plotly_utils.basevalidators class ReversescaleValidator(_plotly_utils.basevalidators.BooleanValidator): def __init__( self, plotly_name="reversescale", parent_name="choroplethmapbox", **kwargs ): super(ReversescaleValidator, self).__init__( plotly_name=plotly_name, ...
[ "noreply@github.com" ]
hugovk.noreply@github.com
ffa5db07a8c27e2c3241e1df2652096ea125e9a5
fc73e7249e227e5507976bd3825af037fbe6b46b
/legacy/geraldCode.save.py
739942b2397f49a83ea6644f3d89cbc5392f3f20
[ "LicenseRef-scancode-philippe-de-muyter" ]
permissive
mussard/SecondQuantizationAlgebra
32d10d85abae82da343c9b41764802f3f541d551
ee32159e24d510654a6d38df391b544ec9ffeb4a
refs/heads/master
2020-03-17T21:46:28.875095
2019-07-10T17:31:26
2019-07-10T17:31:26
133,974,911
0
0
null
2018-05-18T15:50:13
2018-05-18T15:50:13
null
UTF-8
Python
false
false
29,699
py
import secondQuantizationAlgebra as sqa def replaceindex(tensor, a, b) : for i in range(len(tensor.indices)): if (tensor.indices[i].name == a): tensor.indices[i] = b def replaceAllKdeltaWithDeltas(term, rdmDelta): import string l = list(string.ascii_lowercase) #list of all printables ...
[ "bastien.mussard@colorado.edu" ]
bastien.mussard@colorado.edu
e748ebb1dc90bf83276047fd9bf39673e39504bb
7d1fd87e1aaf7e6b2ea72ab086a128d03ab059f1
/Python_Web_Udemy/Udemy_REST_APIs/4_FLASK_RESFUL_MYSQLITE/create_table.py
62f58b871ea5f67e59f094c3c47fae03970e0dbb
[]
no_license
efren1990/codepy
05fb34fb608d9921cd5b1c257a9869f2d42eafae
1bd957e7a7285d459ba76e99c4bccb8dbabf8da4
refs/heads/main
2023-06-30T06:31:51.154519
2021-08-13T01:30:57
2021-08-13T01:30:57
395,486,511
0
0
null
null
null
null
UTF-8
Python
false
false
840
py
""" #APLICACION FLASK RESTFUL SQLITE3 ---------------------------------------------------------------- Archivo para crear base de datos y tablas """ # Libreria Sqlite3 -------> import sqlite3 # Conexion -------> connection = sqlite3.connect('data.db') # Cursor -------> cursor = connection.cursor() # Query table -------...
[ "52503339+incodeEfren@users.noreply.github.com" ]
52503339+incodeEfren@users.noreply.github.com
f353297693f93cf1bb526a1b505a7bc7cceb929c
4a5f11b55e23999a82b62f5c72b44e9a36d24f63
/simplemooc/settings.py
16965576ab5e4b9506cda51fa320f5cf46a46247
[]
no_license
diogo-alves/simplemooc
dca62bfcb2ea6357a551a5760778537f083b675c
cfec59f99888e4e23d41f020ff06bfdf39f70203
refs/heads/master
2022-05-10T10:32:18.686313
2019-06-04T19:30:43
2019-06-04T19:30:43
190,260,470
0
0
null
2022-04-22T21:34:44
2019-06-04T18:46:43
Python
UTF-8
Python
false
false
4,739
py
""" Django settings for simplemooc project. Generated by 'django-admin startproject' using Django 2.2.1. For more information on this file, see https://docs.djangoproject.com/en/2.2/topics/settings/ For the full list of settings and their values, see https://docs.djangoproject.com/en/2.2/ref/settings/ """ import os...
[ "diogo.alves.ti@gmail.com" ]
diogo.alves.ti@gmail.com
82ae50b9ae51ccd60366426d9c0ace8f68d0e24f
b719159a9980ef876b6e67131322917796320eb6
/tests/test_package.py
d846944bfda91415c8afc57c8ce9f43cf63fa854
[ "BSD-3-Clause" ]
permissive
rblack42/TikzBuilder
b4c369038c374fca32a0aa24c8366dbdd5d3bbdb
ec69517db422ebda947c6e236c0b9ea597c3a934
refs/heads/master
2020-03-10T15:18:33.651883
2018-04-19T01:24:15
2018-04-19T01:24:15
129,446,030
0
0
null
null
null
null
UTF-8
Python
false
false
118
py
from TikzBuilder.Builder import Builder def test_package(): tb = Builder() assert "version" in tb.version()
[ "rblack@austincc.edu" ]
rblack@austincc.edu
cb7f7346fbcbae97170d156650e13081a6403c4e
c8c1c8b3327ae93ceaa671681d5f9eac0933e738
/mrgpylinux/femcalc/meshgrid/iomrg.py
f99b0df5e027c53c26122eaa74a6195950cb345e
[]
no_license
gpspelle/acoustic-pollution
bbb2a6492b3d02d046cb533470affabcacb38409
ad80f1fd582f47ce679748bb6ac93ff3149fd445
refs/heads/master
2022-07-28T06:49:20.493083
2019-11-15T00:27:52
2019-11-15T00:27:52
null
0
0
null
null
null
null
UTF-8
Python
false
false
45,951
py
__pyarmor__(__name__, __file__, b'\x50\x59\x41\x52\x4d\x4f\x52\x00\x00\x03\x06\x00\x33\x0d\x0d\x0a\x01\x00\x00\x00\x00\x00\x00\x00\x01\x00\x00\x00\x40\x00\x00\x00\x96\x2c\x00\x00\x00\x00\x00\x10\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\xea\x50\x8c\x64\x26\x42\xd6\x...
[ "gpsunicamp016@gmail.com" ]
gpsunicamp016@gmail.com
7656c3adcf817be7059c97d960b189aefd1dfef1
db5b57a505d0ecdecf342d80b79a0e22e280c606
/bitbox/script.py
fcf5815868eb3669d4753c83febb5073ad144e43
[ "MIT" ]
permissive
lightswarm124/bitbox-py
6620ead6fc4272585389f3004aeec05b2b6784a3
67ee0d216e2630fd44dba83b5233f33c315dd30b
refs/heads/master
2020-09-12T18:00:01.353437
2019-11-17T02:33:52
2019-11-17T02:33:52
222,001,618
0
0
MIT
2019-11-15T20:54:24
2019-11-15T20:54:23
null
UTF-8
Python
false
false
3,640
py
class Script: def opcodes(): codes = { "OP_FALSE": 0, "OP_0": 0, "OP_PUSHDATA1": 76, "OP_PUSHDATA2": 77, "OP_PUSHDATA4": 78, "OP_1NEGATE": 79, "OP_RESERVED": 80, "OP_TRUE": 81, "OP_1": 81, ...
[ "merwanedr@gmail.com" ]
merwanedr@gmail.com
f3340d0bd5c5e5f803e09c14c522220a33e21689
98c6ea9c884152e8340605a706efefbea6170be5
/examples/data/Assignment_8/fkzluv001/question1.py
ceffc8905a53ff115df948b1aef2e73ac10f9c3c
[]
no_license
MrHamdulay/csc3-capstone
479d659e1dcd28040e83ebd9e3374d0ccc0c6817
6f0fa0fa1555ceb1b0fb33f25e9694e68b6a53d2
refs/heads/master
2021-03-12T21:55:57.781339
2014-09-22T02:22:22
2014-09-22T02:22:22
22,372,174
0
0
null
null
null
null
UTF-8
Python
false
false
603
py
"""program with a recursive function to calculate whether or not a string is a palindrome Luvo Fokazi 09 May 2014""" def alt(n,var,j,count): if j>n: return count else: if var%j==0: count+=1 j+=1 return alt(n,var,j,count) def Palindrome(dString,n): d=(n...
[ "jarr2000@gmail.com" ]
jarr2000@gmail.com
a3e6f64e66ad6b90edc86ac5a3a78782dd3ef12b
11c00c704a3d1171d1bf4474be7ff1779a1dcb69
/LSTM_Stateful/recurrent_v2.py
f97804311d3bca360167caab49fdee3d89de4684
[]
no_license
mikechen66/LSTM-TF2
89bd67ca481ded7264191e240e45f792cc5546c3
741250374509c332d9f4f5ddebcb1a966e268df0
refs/heads/main
2023-04-08T15:59:46.999735
2021-04-20T01:53:34
2021-04-20T01:53:34
305,043,822
0
0
null
null
null
null
UTF-8
Python
false
false
109,883
py
# Copyright 2015 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 required by applica...
[ "noreply@github.com" ]
mikechen66.noreply@github.com
38af6589a64233b172d528c200c9076dee62b25d
0806d939ef0e8218c0f727e025eb0b3bb328d343
/vote/vote/urls.py
74da84523c3b4c2be083cf880e6398fd17ab17ef
[]
no_license
aiegoo/django-web
bcd89687d951e0877000c23230661ce566144e78
5476ed77cf95919d9b825f4cef03d42f217768ce
refs/heads/master
2021-07-17T01:20:24.279227
2020-09-27T05:15:05
2020-09-27T05:15:05
215,240,173
0
0
null
null
null
null
UTF-8
Python
false
false
458
py
from django.urls import path from . import views app_name = 'vote' urlpatterns = [ # ex: /polls/ path('', views.IndexView.as_view(), name='index'), # ex: /polls/5/ path('<int:pk>/', views.DetailView.as_view(), name='detail'), # ex: /polls/5/results/ path('<int:pk>/results/', v...
[ "eozz21@gmail.com" ]
eozz21@gmail.com
c24181654bf4d3d4afa935bc6785919436c43826
82ca891008793f570668a7f2c760ae0f22d40494
/src/VAMPzero/Component/Fuel/Mass/mFuelMAX.py
3af884d709051594463eba984ea2a716f1333e4e
[ "Apache-2.0" ]
permissive
p-chambers/VAMPzero
22f20415e83140496b1c5702b6acbb76a5b7bf52
4b11d059b1c7a963ec7e7962fa12681825bc2f93
refs/heads/master
2021-01-19T10:49:06.393888
2015-06-24T10:33:41
2015-06-24T10:33:41
82,208,448
1
0
null
2017-02-16T17:42:55
2017-02-16T17:42:55
null
UTF-8
Python
false
false
3,632
py
#!/usr/bin/env python # -*- coding: utf-8 -*- ''' 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 wr...
[ "daniel.boehnke@dlr.de" ]
daniel.boehnke@dlr.de
c352969fb7fafde0ee6e6ff1bb2743e14ce90e4c
7e729ea05a6a4e297bb832b77720a18cd0227805
/Projects/Online Workouts/w3resource/String/program-52.py
5515ab19e111fdd9fa6c453eb8b5e32cb3e6da1c
[ "MIT" ]
permissive
ivenpoker/Python-Projects
943d127ae900df52b43aac07c395e9d717196115
2975e1bd687ec8dbcc7a4842c13466cb86292679
refs/heads/master
2022-12-18T16:36:37.954835
2020-09-14T19:42:46
2020-09-14T19:43:09
180,323,469
1
0
MIT
2022-12-08T01:05:35
2019-04-09T08:42:40
Python
UTF-8
Python
false
false
1,891
py
############################################################################################# # # # Program purpose: Prints all permutation with given repetition number of characters # # of a given st...
[ "nwaforhappiyvan@gmail.com" ]
nwaforhappiyvan@gmail.com
4beb0e58abe9c75d8744830eb9004bed5a7b0751
433da00d8da1c28b528a34775db66a53cb505d82
/players/Different Experiment and Final Script /Ex7- Script58/Script53.py
1848a546e0ad6521427d135594d2fa0e7661a879
[]
no_license
maithrreye/Cant-stop-game
9cf0e5ffe4862a6f5cd9aaafcb9e0e6359debfd9
225b638854643af3168fb75516a08167a431bb35
refs/heads/master
2022-11-05T21:07:32.627004
2020-03-04T09:03:59
2020-03-04T09:03:59
244,762,576
0
0
null
null
null
null
UTF-8
Python
false
false
3,102
py
from players.player import Player import random from players.scripts.DSL import DSL class Script53(Player): def __init__(self): self._counter_calls = [] for i in range(17): self._counter_calls.append(0) def get_counter_calls(self): return self._counter_calls ...
[ "maithrreye1994@gmail.com" ]
maithrreye1994@gmail.com
590ddb59f9578a5276547b3f499842f78bb87130
e7adbd8e9effb5c112e24adab012101fe07f2674
/tests/__init__.py
40e52aedb91313660e2c9dbfcc2ccd353891d38f
[ "MIT" ]
permissive
markmo/naya
6e35312ea218d357b1dfccfba5390adea609ccc7
8bdf4221ee8c2bc0b80ad5bb05c2d18114edf9e5
refs/heads/master
2020-04-11T15:49:21.910830
2018-12-15T13:14:29
2018-12-15T13:14:29
161,904,256
0
0
MIT
2018-12-15T12:46:26
2018-12-15T12:46:26
null
UTF-8
Python
false
false
21
py
__author__ = 'dyule'
[ "daniel.yule@gmail.com" ]
daniel.yule@gmail.com
e0766521e175164493e412fdd41801bcf8248c51
65e73c6c4a9e66715be2cbdd93339ebcab93976e
/windmill/boletagem/forms.py
ed5142d00f80dfe6141151b93321bb3cbde5cdf4
[]
no_license
AnimaTakeshi/windmill-django
3577f304d5e7f74750c7d95369e87d37209f1ac6
78bde49ace1ed215f6238fe94c142eac16e164dc
refs/heads/master
2022-12-13T11:13:21.859012
2019-02-07T20:50:01
2019-02-07T20:50:01
150,470,109
0
0
null
2022-12-08T01:29:36
2018-09-26T18:13:54
Python
UTF-8
Python
false
false
786
py
from django import forms from . import models class FormBoletaAcao(forms.ModelForm): class Meta: model = models.BoletaAcao fields = "__all__" def clean_quantidade(self): data = self.cleaned_data['quantidade'] print(data) if self.cleaned_data['operacao'] == 'C': ...
[ "33721822+AnimaTakeshi@users.noreply.github.com" ]
33721822+AnimaTakeshi@users.noreply.github.com
afd1459f1116172ee4305c5657bb7774a8069b34
103c413086fbfadee1c52a7ea3125b9f20864f67
/setup.py
7c43572a3cb6819a6055ef6a5645b869c9dbb5c1
[ "MIT" ]
permissive
tudstlennkozh/python-minifobf
2dff2cb407c665afc6cb23f795661092086b4ff7
1d4a59ede7298d46cde43a27f739991ad60c5171
refs/heads/master
2023-07-25T06:27:34.359672
2021-05-16T13:30:23
2021-07-22T16:41:21
398,327,879
1
0
null
null
null
null
UTF-8
Python
false
false
1,933
py
import os.path from setuptools import setup, find_packages readme_path = os.path.join(os.path.abspath(os.path.dirname(__file__)), 'README.md') with open(readme_path) as f: long_desc = f.read() setup( name='python_minifier', description='Transform Python source code into it\'s most compact representation',...
[ "daniel@flook.org" ]
daniel@flook.org
961058db0405e628c78d3744179be1a2aa4f188f
d507d0846902e0012a4b2a0aaaea1cbbdb21db46
/supervisely_lib/metric/classification_metrics.py
4392dea0801a666cd774015e3b43a9e1891fafec
[]
no_license
wpilibsuite/supervisely
a569fdc0d5e5f2fb912f32beab8f3fedb277504e
19805ca9b2bd20e31d6d41a99dc37dc439bc257a
refs/heads/master
2022-09-09T02:32:54.883109
2020-06-01T20:55:49
2020-06-01T20:55:49
267,916,361
2
3
null
2020-06-03T13:59:56
2020-05-29T17:27:30
Python
UTF-8
Python
false
false
5,021
py
# coding: utf-8 from copy import deepcopy from supervisely_lib.sly_logger import logger from supervisely_lib.annotation.tag_meta import TagValueType from supervisely_lib.metric.metric_base import MetricsBase from supervisely_lib.metric.common import log_line, safe_ratio, sum_counters, TRUE_POSITIVE, TRUE_NEGATIVE, \ ...
[ "austinshalit@gmail.com" ]
austinshalit@gmail.com
b8d15a47a5af0f68dbc337f3085e8229d1001478
6b2a8dd202fdce77c971c412717e305e1caaac51
/solutions_5769900270288896_0/Python/gilesg/B.py
9b6e7164caea2e5f0ee7de5be27548db97ad2c10
[]
no_license
alexandraback/datacollection
0bc67a9ace00abbc843f4912562f3a064992e0e9
076a7bc7693f3abf07bfdbdac838cb4ef65ccfcf
refs/heads/master
2021-01-24T18:27:24.417992
2017-05-23T09:23:38
2017-05-23T09:23:38
84,313,442
2
4
null
null
null
null
UTF-8
Python
false
false
1,116
py
def ints(): return map(int, raw_input().split()) INF = 10 ** 9 LIM = 16 num_cases, = ints() def count(grid): R = len(grid) C = len(grid[0]) ret = 0 for i in range(R): for j in range(C): for d in ((0, 1), (1, 0)): ii = i + d[0] jj = j + d[1] ...
[ "eewestman@gmail.com" ]
eewestman@gmail.com
1fff13e4ffd8369a4724c0d5ac905d670593c68b
a8769709aeb7299fa3757f0e7bba5c617eb8cfe3
/lesson-3/k8s/lib/python2.7/site-packages/adal/self_signed_jwt.py
54c0fd9913797739a85a8e938eb40ccea83fac03
[ "Apache-2.0" ]
permissive
simox-83/workshop-k8s
2ac5e8b282bb7c3337acc726a7d972717bf649cc
04cb18e8b5925a3cfd84ca316952a6cb64960b31
refs/heads/master
2020-03-31T20:52:21.421995
2018-10-11T14:43:08
2018-10-11T14:43:08
152,558,678
0
0
Apache-2.0
2018-10-11T08:37:20
2018-10-11T08:37:20
null
UTF-8
Python
false
false
4,883
py
#------------------------------------------------------------------------------ # # Copyright (c) Microsoft Corporation. # All rights reserved. # # This code is licensed under the MIT License. # # Permission is hereby granted, free of charge, to any person obtaining a copy # of this software and associated ...
[ "simone.dandreta@concur.com" ]
simone.dandreta@concur.com
b7f79c4d8d2f67f78e73f488547be2567370dd3a
998a978c0cefcb62d462c64ec88f61b8bdcbbbab
/braindecode/datautil/splitters.py
3cb3f7769369e41edc1817d0ee0b238ab085eb98
[ "BSD-3-Clause", "BSD-2-Clause" ]
permissive
petsas/braindecode
cf16b52f0bb0897165e14110959e486d0e379d64
651ef3d7a467b22948802527018a7a8e686c567d
refs/heads/master
2020-03-31T00:31:35.215291
2018-09-19T10:33:20
2018-09-19T10:33:34
null
0
0
null
null
null
null
UTF-8
Python
false
false
5,840
py
import numpy as np from braindecode.datautil.iterators import get_balanced_batches from braindecode.datautil.signal_target import apply_to_X_y, SignalAndTarget def concatenate_sets(sets): """ Concatenate all sets together. Parameters ---------- sets: list of :class:`.SignalAndTarget` Re...
[ "robintibor@gmail.com" ]
robintibor@gmail.com
e7ad8276225b9d99786edd79c442cec80c355739
d687928d05e05fac765f3b936c1e0c0d1950c68a
/src/hg/hourglass_tiny.py
0df5b078f74d54702491d4a5a8d86f714e885111
[]
no_license
PeterZs/PuzzleTunnelDiscovery
0b75dc3e62d0e8d18941e3c37646aec498b3a251
badd6debb5cf4882598038ac2cab454e014fc24b
refs/heads/master
2022-06-17T20:03:51.210708
2020-04-30T05:14:16
2020-04-30T05:14:16
null
0
0
null
null
null
null
UTF-8
Python
false
false
41,233
py
# -*- coding: utf-8 -*- """ Deep Human Pose Estimation Project by Walid Benbihi MSc Individual Project Imperial College Created on Mon Jul 10 19:13:56 2017 @author: Walid Benbihi @mail : w.benbihi(at)gmail.com @github : https://github.com/wbenbihi/hourglasstensorlfow/ Abstract: This python code creates a Stacked Ho...
[ "xinyazhang@utexas.edu" ]
xinyazhang@utexas.edu
ee2e28c481d7afa48b81d0bcf46feb11e033f0ac
61188d30cd69cfa5063b604f73ced3911e377d99
/tests/test_solver.py
c9333da956b04805e1d358204575c85e140b6173
[ "BSD-3-Clause" ]
permissive
bjodah/odelab
8dc984f9bcbb7cb9397cb0d8e598ccdfb52e9301
ac6e2e375579fe10e8ee4d7fc89d2c937bd64f6e
refs/heads/master
2021-01-18T10:41:57.973986
2013-01-08T21:44:55
2013-01-08T21:44:55
null
0
0
null
null
null
null
UTF-8
Python
false
false
11,460
py
# -*- coding: UTF-8 -*- from __future__ import division from odelab.scheme.rungekutta import * from odelab.scheme.generallinear import * from odelab.scheme import * from odelab.scheme.classic import * from odelab.scheme.exponential import * from odelab.store import Store, PyTableStore, SimpleStore from odelab.syste...
[ "olivier.verdier@gmail.com" ]
olivier.verdier@gmail.com
a259289c6a6b232a8abc5b6e5b43ede75f107410
60715c9ea4c66d861708531def532814eab781fd
/python-programming-workshop/pythondatastructures/dateandtime/time_yesterday.py
e220240661773649db71af463af4edfd0954a20a
[]
no_license
bala4rtraining/python_programming
6ce64d035ef04486f5dc9572cb0975dd322fcb3e
99a5e6cf38448f5a01b310d5f7fa95493139b631
refs/heads/master
2023-09-03T00:10:26.272124
2021-11-01T08:20:52
2021-11-01T08:20:52
null
0
0
null
null
null
null
UTF-8
Python
false
false
297
py
#Python program that returns yesterday from datetime import date from datetime import timedelta def yesterday(): # Get today. today = date.today() # Subtract timedelta of 1 day. yesterday = today - timedelta(days=1) return yesterday print(date.today()) print(yesterday())
[ "karthikkannan@gmail.com" ]
karthikkannan@gmail.com
01a2714dc644c9a68e8435d2bc8bbb20cdd487fb
c0c8aeb5aaf08925d8c9e1d660b02c89cbc7ad71
/Algorithms/Medium/55. Jump Game/answer.py
034d33909be49fa36615b2eb76dd8385990d05ed
[ "Apache-2.0" ]
permissive
kenwoov/PlayLeetCode
b2fdc43d799c37683a9efdc31c4df159cf553bf5
4012a2f0a099a502df1e5df2e39faa75fe6463e8
refs/heads/master
2022-12-17T05:54:22.775972
2020-09-26T14:08:43
2020-09-26T14:08:43
214,839,611
0
0
null
null
null
null
UTF-8
Python
false
false
394
py
from typing import List class Solution: def canJump(self, nums: List[int]) -> bool: N = len(nums) lastPosition = N - 1 for i in range(N-1, -1, -1): if i + nums[i] >= lastPosition: lastPosition = i return lastPosition == 0 if __name__ == "__main__": ...
[ "kenwoov@outlook.com" ]
kenwoov@outlook.com
d03ff966642e5d1c4511a4ac1e8024d75bf5f2e2
3ca67d69abd4e74b7145b340cdda65532f90053b
/LeetCode/Two_Pointers/Valid Palindrome/6047198844.py
b5bb7a7d4d16f6b7caa8c0ae6180b37f36c7b1bb
[]
no_license
DKU-STUDY/Algorithm
19549516984b52a1c5cd73e1ed1e58f774d6d30e
6f78efdbefd8eedab24e43d74c7dae7f95c2893b
refs/heads/master
2023-02-18T06:48:39.309641
2023-02-09T07:16:14
2023-02-09T07:16:14
258,455,710
175
49
null
2023-02-09T07:16:16
2020-04-24T08:42:27
Python
UTF-8
Python
false
false
145
py
import re class Solution: def isPalindrome(self, s: str) -> bool: s = re.sub('[^a-z0-9A-Z]','',s).lower() return s == s[::-1]
[ "2615240@gmail.com" ]
2615240@gmail.com
5d22821c7019c51b77ad3f13c64f5f67fa04579d
75f0e04c6330950a9bd225fd8b62fdc9fb0021b8
/103.binaryTreeZigzagLevelOrderTraversal.py
3511ea332bce45326491b783728bd51dc0aa9c57
[]
no_license
Minzhe/LeetCode
f07bc1edce77cee778d7dc3c4a379921747637a5
e5cb0212cb83daac829456c14aec557e26eea68c
refs/heads/master
2020-05-04T11:25:07.084483
2020-03-09T02:10:17
2020-03-09T02:10:17
179,107,420
0
0
null
null
null
null
UTF-8
Python
false
false
877
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 zigzagLevelOrder(self, root: TreeNode) -> List[List[int]]: if root is None: return [] ans, order = [], 1 leve...
[ "zenroute.mzhang@gmail.com" ]
zenroute.mzhang@gmail.com
f1c240360245fffab7d3d52118d4c4bc8ff0e397
33890b0061d0701b32bb7d78776485c3afb9f67e
/pyexe/cpumon.py
93ce008962966b4d1ff7aff3145f366a9cc1de24
[]
no_license
songzg/winterpy
677c7ec77a6923ba89d5f0b98c01d30e981336ae
05f8b3eb43588c452a0f76f4b6e04ee37ca0afb3
refs/heads/master
2020-05-29T11:46:26.768980
2016-05-19T04:08:02
2016-05-19T04:08:02
null
0
0
null
null
null
null
UTF-8
Python
false
false
849
py
#!/usr/bin/env python3 # vim:fileencoding=utf-8 ''' 监视CPU的使用,过高时自动执行命令 2010年7月17日 ''' cmd = 'echo ================== >> ~/tmpfs/cpumon && top -n 1 -b | awk \'{if($4 != 0) print}\' >> ~/tmpfs/cpumon' import os import time def getCPUUsage(): cpu_before = open('/proc/stat').readline().split()[1:] time.sleep(1) ...
[ "lilydjwg@gmail.com" ]
lilydjwg@gmail.com
7e9aa43fbb3cbd1f96f219c92e072a7b3b356403
223499de35fa67f487f332b70364ec48604fb67e
/spotify/migrations/0002_auto_20210326_1421.py
9b8029693ec2d846851e241dfd7445f52ab0f193
[]
no_license
MichelAtieno/Music_Controller
961dfa9c7bbcee0df686a1281d622875eca386e4
059e65167e73f44f1b505184a2f41dcf209b38ed
refs/heads/master
2023-04-07T16:47:17.527827
2021-04-15T11:50:26
2021-04-15T11:50:26
350,689,322
1
0
null
null
null
null
UTF-8
Python
false
false
568
py
# Generated by Django 3.1.7 on 2021-03-26 11:21 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('spotify', '0001_initial'), ] operations = [ migrations.AlterField( model_name='spotifytoken', name='access_token', ...
[ "mishqamish@gmail.com" ]
mishqamish@gmail.com
fb106f607a49363343562465ba2d40b67c5618fe
e174e13114fe96ad2a4eeb596a3d1c564ae212a8
/Python for Finance Analyze Big Financial Data by Y. Hilpisch/Code of Python For Finance/4375OS_06_Code/4375OS_06_23_interpolation.py
6866265b574971a283ffc99347e4dfdc5debddea
[]
no_license
Kevinqian0501/python_books
c1a7632d66dceb46db439f7cbed86d85370aab42
0691e4685af03a296aafb02447e3585db55ce461
refs/heads/master
2021-08-30T19:27:03.985464
2017-12-19T05:56:31
2017-12-19T05:56:31
104,145,012
1
0
null
null
null
null
UTF-8
Python
false
false
592
py
""" Name : 4375OS_06_23_interpolatioin.py Book : Python for Finance Publisher: Packt Publishing Ltd. Author : Yuxing Yan Date : 12/26/2013 email : yany@canisius.edu paulyxy@hotmail.com """ import numpy as np import matplotlib.pyplot as plt from scipy.interpolate imp...
[ "kevin@Qians-MacBook-Pro.local" ]
kevin@Qians-MacBook-Pro.local
dc29881f87dbe8e453f4f9473740b0d42fd07bda
538aec79c8039e500411647bba4a12343976bd03
/00 - Risorse/PYscripts/05scarica_condensatore.py
d4473036af722c795053b3b7c4825a9576ec40b6
[]
no_license
Andreo95/Lab3_gruppoBF_primosemestre
27adff4fa1b1a9c75cf74840c55ee2653d36d07e
8866ca1200f95bb86712c3b896409aabc395bf81
refs/heads/master
2020-01-23T21:43:47.212214
2017-02-22T22:35:08
2017-02-22T22:35:08
74,684,559
1
0
null
null
null
null
UTF-8
Python
false
false
1,826
py
import scipy from scipy.optimize import curve_fit import pylab import numpy ## indirizzo e nome file indirizzo_dati = '/afs/uz.sns.it/user/albord95/Scrivania/' file_origine = 'data05scarica.txt' ## importiamo i dati sxa, sya = pylab.loadtxt( r'%s%s' %(indirizzo_dati,file_origine), unpack = True ) ## grafici...
[ "andrea.luzio95@gmail.com" ]
andrea.luzio95@gmail.com
eaa89b0f66c0000c7e6c6f864c2936a2557be3e1
48e124e97cc776feb0ad6d17b9ef1dfa24e2e474
/sdk/python/pulumi_azure_native/eventhub/v20210601preview/list_namespace_keys.py
bd36206585e0c79e0cb1b7dc610f727d641a1a59
[ "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
7,240
py
# coding=utf-8 # *** WARNING: this file was generated by the Pulumi SDK Generator. *** # *** Do not edit by hand unless you're certain you know what you are doing! *** import warnings import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload from ... import _utilities __...
[ "noreply@github.com" ]
bpkgoud.noreply@github.com
e0ed519f505619c172341d75c16b1d767d11c23a
a2d36e471988e0fae32e9a9d559204ebb065ab7f
/huaweicloud-sdk-lts/huaweicloudsdklts/v2/model/event.py
6769cd2f23ac637c24543600a6c7e0b682fecc30
[ "Apache-2.0" ]
permissive
zhouxy666/huaweicloud-sdk-python-v3
4d878a90b8e003875fc803a61414788e5e4c2c34
cc6f10a53205be4cb111d3ecfef8135ea804fa15
refs/heads/master
2023-09-02T07:41:12.605394
2021-11-12T03:20:11
2021-11-12T03:20:11
null
0
0
null
null
null
null
UTF-8
Python
false
false
3,527
py
# coding: utf-8 import re import six from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization class Event: """ Attributes: openapi_types (dict): The key is attribute name and the value is attribute type. attribute_map (dict): The key is attribute...
[ "hwcloudsdk@huawei.com" ]
hwcloudsdk@huawei.com
c18b4b2479e2e52a5c6fb4c2daeb6a110dac55d8
28ef7c65a5cb1291916c768a0c2468a91770bc12
/configs/body/2d_kpt_sview_rgb_img/topdown_heatmap/mpii/cpm_mpii_368x368.py
eac8aef24aa08db278f9d31a79fbf5bfe6cd5ab2
[ "Apache-2.0" ]
permissive
bit-scientist/mmpose
57464aae1ca87faf5a4669991ae1ea4347e41900
9671a12caf63ae5d15a9bebc66a9a2e7a3ce617e
refs/heads/master
2023-08-03T17:18:27.413286
2021-09-29T03:48:37
2021-09-29T03:48:37
411,549,076
0
0
Apache-2.0
2021-09-29T06:01:27
2021-09-29T06:01:26
null
UTF-8
Python
false
false
3,842
py
_base_ = ['../../../../_base_/datasets/mpii.py'] log_level = 'INFO' load_from = None resume_from = None dist_params = dict(backend='nccl') workflow = [('train', 1)] checkpoint_config = dict(interval=10) evaluation = dict(interval=10, metric='PCKh', save_best='PCKh') optimizer = dict( type='Adam', lr=5e-4, ) op...
[ "noreply@github.com" ]
bit-scientist.noreply@github.com
96015b222285a8c5b5df3757e5a37985f0e8a737
0e1e643e864bcb96cf06f14f4cb559b034e114d0
/Exps_7_v3/doc3d/Wyx_w_M_w_Sob_to_Wz_focus/IN_Sob_k5_EroMore/Mae_s001/pyr_Tcrop256_pad20_jit15/pyr_2s/L8/step09_2side_L8.py
1a23ee7f0618f17d796ffbec8ecc0f1b8c68b60b
[]
no_license
KongBOy/kong_model2
33a94a9d2be5b0f28f9d479b3744e1d0e0ebd307
1af20b168ffccf0d5293a393a40a9fa9519410b2
refs/heads/master
2022-10-14T03:09:22.543998
2022-10-06T11:33:42
2022-10-06T11:33:42
242,080,692
3
0
null
null
null
null
UTF-8
Python
false
false
23,295
py
############################################################################################################################################################################################################# ##################################################################################################################...
[ "s89334roy@yahoo.com.tw" ]
s89334roy@yahoo.com.tw
5d608efd4cc1a7060a94a1a35e63cdfe6622a273
4be56098894a95da5964622fc4102b69e4530ab6
/题库/727.最小窗口子序列.py
c2e44407c2dae1162aed896872166b476694e850
[]
no_license
ACENDER/LeetCode
7c7c7ecc8d0cc52215272f47ec34638637fae7ac
3383b09ab1246651b1d7b56ab426a456f56a4ece
refs/heads/master
2023-03-13T19:19:07.084141
2021-03-15T09:29:21
2021-03-15T09:29:21
299,332,864
0
0
null
null
null
null
UTF-8
Python
false
false
88
py
# !/usr/bin/env python3 # -*- coding: utf-8 -*- # @File : 727.最小窗口子序列.py
[ "1641429327@qq.com" ]
1641429327@qq.com
ca598544f88391eaead44fb1a7f25af038a6a186
cc7bbdbb22cb6f7e7916388a5ee8218bc8ffa158
/Python3/Django/HelloREST/HelloREST/urls.py
a3c7eb05f80c131c40a6cde52f0d8a15ec715445
[ "MIT" ]
permissive
youngqqcn/QBlockChainNotes
a816e067642f48a6da38b624663254b4016ec496
c9c143eaba6c06e3cee866669ec286e4d3cdbba8
refs/heads/master
2023-04-03T23:31:05.585545
2023-03-30T09:29:07
2023-03-30T09:29:07
155,657,459
37
15
MIT
2023-03-06T23:09:32
2018-11-01T03:33:11
JavaScript
UTF-8
Python
false
false
993
py
"""HelloREST URL Configuration The `urlpatterns` list routes URLs to views. For more information please see: https://docs.djangoproject.com/en/3.0/topics/http/urls/ Examples: Function views 1. Add an import: from my_app import views 2. Add a URL to urlpatterns: path('', views.home, name='home') Class-bas...
[ "youngqqcn@163.com" ]
youngqqcn@163.com
5a4e70186cbcee334c036f14dec1ab81b6f690be
7a4ed01a40e8d79126b26f5e8fca43c8e61e78fd
/Harshit Vashisth/Chapter-18(Working With Files)/D-File Input Output Read And Write/234.read_and_write.py
bcda23d9eecfb48a95e74589b9e413c42cf0ca95
[]
no_license
satyam-seth-learnings/python_learning
5a7f75bb613dcd7fedc31a1567a434039b9417f8
7e76c03e94f5c314dcf1bfae6f26b4a8a6e658da
refs/heads/main
2023-08-25T14:08:11.423875
2021-10-09T13:00:49
2021-10-09T13:00:49
333,840,032
1
0
null
null
null
null
UTF-8
Python
false
false
100
py
with open('File5.txt','r') as rf: with open('File5a.txt','w') as wf: wf.write(rf.read())
[ "satyam1998.1998@gmail.com" ]
satyam1998.1998@gmail.com
d7bb46d9cff6cf7b90cb46af434aa1d1b5d00a2d
16b389c8dcace7f7d010c1fcf57ae0b3f10f88d3
/lib/jnpr/healthbot/swagger/models/groupgroupid_roles.py
ba247dfe7ee49ba923fd077393f66bb21f434add
[ "Apache-2.0" ]
permissive
Juniper/healthbot-py-client
e4e376b074920d745f68f19e9309ede0a4173064
0390dc5d194df19c5845b73cb1d6a54441a263bc
refs/heads/master
2023-08-22T03:48:10.506847
2022-02-16T12:21:04
2022-02-16T12:21:04
210,760,509
10
5
Apache-2.0
2022-05-25T05:48:55
2019-09-25T05:12:35
Python
UTF-8
Python
false
false
3,796
py
# coding: utf-8 """ Healthbot APIs API interface for Healthbot application # noqa: E501 OpenAPI spec version: 3.1.0 Contact: healthbot-feedback@juniper.net Generated by: https://github.com/swagger-api/swagger-codegen.git """ import pprint import re # noqa: F401 import six class Groupgroupi...
[ "nitinkr@juniper.net" ]
nitinkr@juniper.net
c19c3248b62dd32e7099185d2caa553d438fe77b
810c479dcaf8a5685a9d5b1a35a79c27f3bf6ba1
/movil/models.py
45eba52e1416087f67c8cbbf4daf9fe80b4bd215
[]
no_license
xangcastle/multipagos
1e8f9cac9033f964e54ab9b9bddb37763f6f275f
72d2b1b0f5494dacd413ae87520a902a413197db
refs/heads/master
2021-01-21T04:55:37.112879
2016-06-22T19:42:46
2016-06-22T19:42:46
50,454,659
0
1
null
2016-03-07T23:31:45
2016-01-26T19:49:09
Python
UTF-8
Python
false
false
1,694
py
from django.db import models from django.contrib.auth.models import User from metropolitana.models import get_media_url, Zona, Departamento from cartera.models import TipoGestion class UserProfile(models.Model): ''' esta clase es la utilizada para guardar los perfiles de usuario ''' user = models.OneT...
[ "cesarabel@johnmay.com.ni" ]
cesarabel@johnmay.com.ni
ebd2465ef5377d7dbdf889989eb9d1f39004f369
50f2587a55fd5364c5bf8e127eeeda52df1388f1
/ponosen/urls.py
d032e955cd80adb8646dd178f813086a508c0721
[]
no_license
OpenLuna/luna-api
e6cec2ea3adf63e4275f50802130d917bb840142
8f186e02d3b0c8939384dbbcd25bd3a1ccc276ab
refs/heads/master
2021-01-17T12:52:30.149021
2016-06-29T13:20:17
2016-06-29T13:20:17
56,492,804
0
0
null
null
null
null
UTF-8
Python
false
false
365
py
from django.conf.urls import url from ponosen.views import * urlpatterns = [ url(r'^save_email/(?P<email>[\w.%+-]+@[A-Za-z0-9.-]+\.[A-Za-z]{2,4})', saveEmail), url(r'^req_recover_password/(?P<email>[\w.%+-]+@[A-Za-z0-9.-]+\.[A-Za-z]{2,4})', reqRecoverPassword), url(r'^recover_password/(?P<code>[\w ]+)/', r...
[ "tomazkunst@gmail.com" ]
tomazkunst@gmail.com
e22e842a4653476d6dcfc969b8723ce9367fd231
5bc10755eb843642f272b4d96812e968d1229100
/backend/TheFoundater/venv/bin/chardetect
419b4ec56688e56623a40df1766a21e189ddde6c
[]
no_license
AhmedOmi/Rest_APi_Django_React_blog
5c24f90c8da4fd1654788ceab6ab32571158b3b8
e8d7fd23e0b27cc7f6ac9289be80db57ca2732ca
refs/heads/master
2023-04-08T17:33:18.682152
2021-04-21T06:12:52
2021-04-21T06:12:52
360,047,019
0
1
null
null
null
null
UTF-8
Python
false
false
287
#!/Users/ahmedomarmiladi/Documents/theFoundater/backend/TheFoundater/venv/bin/python # -*- coding: utf-8 -*- import re import sys from chardet.cli.chardetect import main if __name__ == '__main__': sys.argv[0] = re.sub(r'(-script\.pyw|\.exe)?$', '', sys.argv[0]) sys.exit(main())
[ "ahmedomarmiledi@gmail.com" ]
ahmedomarmiledi@gmail.com
4e7a4ccb3def2f594f32a68e5a868d11b1ff7949
b968a344f81c78a287ecd7addba096de1e1e61c9
/12okt/splitter.py
ab0d0456d813abc1a2532b001b66f04940543a7a
[]
no_license
TeknikhogskolanGothenburg/Python20_Python_Programming
c8f5dbe1ead92418589cc7a10a18658ee708db02
b837ddba4003842675533b87cf6209908b04c125
refs/heads/master
2023-01-22T05:15:22.502267
2020-10-28T10:27:33
2020-10-28T10:27:33
290,459,085
0
0
null
null
null
null
UTF-8
Python
false
false
120
py
def main(): values = input('Enter some values: ').split() print(values) if __name__ == '__main__': main()
[ "joakim@arthead.se" ]
joakim@arthead.se
e5d24182fdead8cd02d5319ff10780e76a83b905
439386f9097632d44d31d1f599df76ec2820d072
/常规项目/统一大厅常规checklist/1450/DFQP/src/cases/dfqp_mall.py
e7422d7ee1c2b3362eaa672fd34d80bca04b5559
[]
no_license
YiFeng0755/testcase
33693f0940a6497aa40e2e51a0535c9eb6c12b29
edc19480c3e94cbcbf004aa9d20099ec6d1b9304
refs/heads/master
2020-04-28T04:34:28.232022
2019-03-11T11:13:25
2019-03-11T11:13:25
146,287,761
0
0
null
null
null
null
UTF-8
Python
false
false
3,207
py
#!/usr/bin/env python # -*- coding:utf-8 -*- ''' 商城 ''' import time from runcenter.enums import EnumPriority,EnumStatus from runcenter.testcase import debug_run_all,TestCase from uilib.mall_page import Mall_Page from uilib.hall_page import Hall_Page from common.common import Common class C31049_DFQP_Mall(TestCase): ...
[ "YoungLiu@boyaa.com" ]
YoungLiu@boyaa.com
c70e151d43836de3933142d4f083d962c54cc40b
ca6fd0c9807f8811f8c023dcd9683ccf882111d1
/torch/_inductor/graph.py
d39988b7a646b18fd997109b24c3a5ae2c1d4b5f
[ "BSD-2-Clause", "LicenseRef-scancode-secret-labs-2011", "BSD-3-Clause", "LicenseRef-scancode-generic-cla", "BSL-1.0", "Apache-2.0" ]
permissive
jiayisunx/pytorch
a2a966701b1b77b33641d50b9f5fe02d4f9af440
d643a00efc6e1be655708d60dd2d0e702e0d20b9
refs/heads/master
2023-07-23T23:57:50.236788
2023-04-07T01:33:52
2023-04-07T06:53:31
205,314,147
1
1
null
2019-08-30T05:54:56
2019-08-30T05:54:56
null
UTF-8
Python
false
false
27,452
py
import functools import logging import operator import os import re import sys import time from typing import Dict, List, Optional, Set import sympy import torch import torch._logging import torch.fx from torch._decomp import get_decompositions from torch._dynamo.utils import dynamo_timed from torch.fx.experimental.s...
[ "pytorchmergebot@users.noreply.github.com" ]
pytorchmergebot@users.noreply.github.com
25703d130ef26252405e1f3e2b069e65fe2b38c0
fe70f357ac403c3ea6f859ae6648ae1aaae989f3
/apis_v1/documentation_source/organization_follow_doc.py
67287f52be6a872374bbbef485b943783bf12373
[ "MIT" ]
permissive
nickelser/WeVoteServer
313242945b3b556bc602240cc767bc2e41397163
be2c1367e8263f2cdcf3bd2e27e6cd4a6f35af68
refs/heads/develop
2021-01-22T02:24:35.099734
2017-05-25T01:16:47
2017-05-25T01:16:47
92,358,884
1
0
null
2017-05-25T03:00:26
2017-05-25T03:00:25
null
UTF-8
Python
false
false
3,606
py
# apis_v1/documentation_source/organization_follow_doc.py # Brought to you by We Vote. Be good. # -*- coding: UTF-8 -*- def organization_follow_doc_template_values(url_root): """ Show documentation about organizationFollow """ required_query_parameter_list = [ { 'name': 'vo...
[ "dale.mcgrew@wevoteusa.org" ]
dale.mcgrew@wevoteusa.org
84c206d459224db516ac7058f7b83b45e5b62ea3
e17ecf9839e8a4d450f6376f7b79d90ae6b365d8
/tlpipe/map/fmmode/util/safeeval.py
e899d2991d593fa20a92291beacf6764c22b5146
[]
no_license
wufq/tlpipe
4f490ac47c351085841d8a2bd7a34765511c49e3
62928c7fdd16680d56d76c8e1db5d3b863e23d16
refs/heads/master
2021-05-12T06:55:50.711254
2017-08-02T06:36:00
2017-08-02T06:36:00
117,227,941
0
0
null
2018-01-12T10:30:00
2018-01-12T10:30:00
null
UTF-8
Python
false
false
15,348
py
#---------------------------------------------------------------------- # I, Babar K. Zafar, the author or of this code dedicate any and all # copyright interest in this code to the public domain. I make this # dedication for the benefit of the public at large and to the # detriment of our heirs and successors. I inten...
[ "zuoshifan@163.com" ]
zuoshifan@163.com
cd0d381a1c80726c12b3a0929446246ddd281b45
d554b1aa8b70fddf81da8988b4aaa43788fede88
/5 - Notebooks e Data/1 - Análises numéricas/Arquivos David/Atualizados/logDicas-master/data/2019-1/225/users/4413/codes/1671_1104.py
72209cb1de809196d3880e615f97612ea59aa388
[]
no_license
JosephLevinthal/Research-projects
a3bc3ca3b09faad16f5cce5949a2279cf14742ba
60d5fd6eb864a5181f4321e7a992812f3c2139f9
refs/heads/master
2022-07-31T06:43:02.686109
2020-05-23T00:24:26
2020-05-23T00:24:26
266,199,309
1
0
null
null
null
null
UTF-8
Python
false
false
124
py
a = float(input("numero 1: ")) b = float(input("numero 2: ")) c = float(input("numero 3: ")) d = float(input("numero 4: "))
[ "jvlo@icomp.ufam.edu.br" ]
jvlo@icomp.ufam.edu.br
575b7eebc7449a5c217a0894b3470af53972e4bf
1dad74c0d1b050e4a66026599f9f883d82dabd60
/practices/pil_merge.py
ffd3726d223788c952f5145f00a3506c2fd90c2a
[]
no_license
DingZiming/python-api-tesing
0af0f9963f00f6de38e2c7bf7ebe8d85afb9e286
efd220ce3eca5d2728eea5110d8169c767e3eff2
refs/heads/master
2020-04-09T13:27:23.924448
2018-12-04T08:43:32
2018-12-04T08:43:32
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,131
py
#!/usr/bin/python3 # -*- coding: utf-8 -*- # 技术支持:https://www.jianshu.com/u/69f40328d4f0 # 技术支持 https://china-testing.github.io/ # https://github.com/china-testing/python-api-tesing/blob/master/practices/pil_merge.py # 项目实战讨论QQ群630011153 144081101 # CreateDate: 2018-12-04 import math from PIL import Image column = 2...
[ "x_r_zh@163.com" ]
x_r_zh@163.com
34fd125ce84e0a0bc0a8960ea874107dbbf28dea
59afd4e7c4a16838afb11f69ba2f908695c17794
/atcoder006/c.py
da243ca226b10fdc54e9628581b70bd0187a486f
[]
no_license
mugenen/AtCoder-Solution
ca29437abdcb90177eca6ff59f499235cb046bfc
a25c54a365f41e7a61abc9d4f7a90657c39fdd46
refs/heads/master
2021-01-01T17:57:49.228749
2013-10-12T15:25:10
2013-10-12T15:25:10
null
0
0
null
null
null
null
UTF-8
Python
false
false
349
py
# -*- coding: utf-8 -*- import math N = int(raw_input()) w = int(raw_input()) stack = [[w]] for i in xrange(N - 1): w = int(raw_input()) for j in stack: if j[-1] >= w: j.append(w) break else: stack.append([w]) stack.sort(lambda x, y: cmp(x[-1], y[-1])) # pri...
[ "8monkey.theorem@gmail.com" ]
8monkey.theorem@gmail.com
fac680958628294515257aa44df4dceddd5d0101
ca7aa979e7059467e158830b76673f5b77a0f5a3
/Python_codes/p03378/s856989995.py
f7d9d1fe3966811a933ff601b0728cdcd2a7c4ea
[]
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
197
py
n,m,x = map(int,input().split()) a=list(map(int,input().split())) cnt1, cnt2 = 0, 0 for i in range(m): if 0 <= a[i] < x: cnt1 += 1 if x < a[i] <= a[-1]: cnt2 += 1 print(min(cnt1, cnt2))
[ "66529651+Aastha2104@users.noreply.github.com" ]
66529651+Aastha2104@users.noreply.github.com
507054441fa8c8cb81c76f7c51336ccd96dddea1
f4ccf2f4bd7f806d32ef7121d949af2b9d45f159
/pytorch/scripts/compile_results_pytorch_bs.py
fbe7d1bd2e0856abeba20a8c837e1a4f57ff3b53
[]
no_license
shadowkun/deeplearning-benchmark
77d6089faa89025248c6794f3dcadcb441399dd3
85a7854440d74bce2f07b407077c7892f5c7537b
refs/heads/master
2023-06-19T03:44:40.088762
2021-07-13T05:03:54
2021-07-13T05:03:54
null
0
0
null
null
null
null
UTF-8
Python
false
false
7,088
py
# -*- coding: utf-8 -*- import os import re import argparse import pandas as pd # You need add your own experiments here so it can be included in the generated csv files # naming convention # key: config name # value: renaming the system so it is easier to read list_system_single = [ ('V100', 'V100 32GB'), (...
[ "cl.chuanli@gmail.com" ]
cl.chuanli@gmail.com
a42805b8e555c430f0797491343fdda4821e6518
7d0fdfeba2f6b1b2c4c2ac519ce31a2e0adc8d5d
/loan_prediction/__manifest__.py
f3789ad0338609af1dd51b9ccba57270464d51fd
[]
no_license
Inoxevious/malin_erp-custom-addons
54806cdf2b4083ad3f1833ba2d2ab9a65701e17c
11951bbad1df51347c2169da93a6ab21b5554e3c
refs/heads/main
2023-03-27T23:16:57.396133
2021-03-29T14:17:28
2021-03-29T14:17:28
344,091,174
0
1
null
null
null
null
UTF-8
Python
false
false
1,108
py
# -*- coding: utf-8 -*- { 'name': "loan_prediction", 'summary': """ Short (1 phrase/line) summary of the module's purpose, used as subtitle on modules listing or apps.openerp.com""", 'description': """ Long description of module's purpose """, 'author': "My Company", '...
[ "mpasiinnocent@gmail.com" ]
mpasiinnocent@gmail.com
5fc865d16ff6b2687f32bb164813ffafd1e684be
c9ddbdb5678ba6e1c5c7e64adf2802ca16df778c
/cases/synthetic/coverage-big-4885.py
3edf480f7df952263fa6bc691c5e9064090b4063
[]
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
13,348
py
count:int = 0 count2:int = 0 count3:int = 0 count4:int = 0 count5:int = 0 def foo(s: str) -> int: return len(s) def foo2(s: str, s2: str) -> int: return len(s) def foo3(s: str, s2: str, s3: str) -> int: return len(s) def foo4(s: str, s2: str, s3: str, s4: str) -> int: return len(s) def foo5(s: str,...
[ "647530+Virtlink@users.noreply.github.com" ]
647530+Virtlink@users.noreply.github.com