blob_id
stringlengths
40
40
directory_id
stringlengths
40
40
path
stringlengths
3
288
content_id
stringlengths
40
40
detected_licenses
listlengths
0
112
license_type
stringclasses
2 values
repo_name
stringlengths
5
115
snapshot_id
stringlengths
40
40
revision_id
stringlengths
40
40
branch_name
stringclasses
684 values
visit_date
timestamp[us]date
2015-08-06 10:31:46
2023-09-06 10:44:38
revision_date
timestamp[us]date
1970-01-01 02:38:32
2037-05-03 13:00:00
committer_date
timestamp[us]date
1970-01-01 02:38:32
2023-09-06 01:08:06
github_id
int64
4.92k
681M
star_events_count
int64
0
209k
fork_events_count
int64
0
110k
gha_license_id
stringclasses
22 values
gha_event_created_at
timestamp[us]date
2012-06-04 01:52:49
2023-09-14 21:59:50
gha_created_at
timestamp[us]date
2008-05-22 07:58:19
2023-08-21 12:35:19
gha_language
stringclasses
147 values
src_encoding
stringclasses
25 values
language
stringclasses
1 value
is_vendor
bool
2 classes
is_generated
bool
2 classes
length_bytes
int64
128
12.7k
extension
stringclasses
142 values
content
stringlengths
128
8.19k
authors
listlengths
1
1
author_id
stringlengths
1
132
4f40417e1b3d5e7727b23349015224819e159c34
d0efa2026b7ed22ff4f9aa76c27ae2474c30f26d
/test/test_payment_method_payment_schedules_request.py
452cc8ec29e8473df8ec6a5a8e0ae80b14d7d5f7
[]
no_license
begum-akbay/Python
2075650e0ddbf1c51823ebd749742646bf221603
fe8b47e29aae609b7510af2d21e53b8a575857d8
refs/heads/master
2023-03-28T00:11:00.997194
2021-03-25T16:38:17
2021-03-25T16:38:17
351,499,957
0
0
null
2021-03-25T16:38:17
2021-03-25T16:15:16
Python
UTF-8
Python
false
false
1,270
py
# coding: utf-8 """ Payment Gateway API Specification. The documentation here is designed to provide all of the technical guidance required to consume and integrate with our APIs for payment processing. To learn more about our APIs please visit https://docs.firstdata.com/org/gateway. # noqa: E501 The ve...
[ "emargules@bluepay.com" ]
emargules@bluepay.com
8147523bcb0f515c279cdd116378042b0911fd7c
56e469a1bfd29004fa258a54668dfbbc4459663d
/python3-nltk-tutorial/src/lesson2.py
eea468d14140f4c269abb2552dfb9c86ded6c8b6
[]
no_license
wind86/learning
bfce4a6795b58b27d0148b878299cacfe96aa26f
4449ba0eed0a8f803a2bb9fbd663faf43148f03a
refs/heads/master
2020-04-05T23:28:40.082439
2017-11-04T11:36:40
2017-11-04T11:36:40
83,236,426
0
0
null
null
null
null
UTF-8
Python
false
false
634
py
''' Created on Apr 09, 2017 Stop words with NLTK https://www.youtube.com/watch?v=w36-U-ccajM&index=2&list=PLQVvvaa0QuDf2JswnfiGkliBInZnIC4HL @author: ubuntu ''' from nltk.corpus import stopwords from nltk.tokenize import word_tokenize example_sent = "This is a sample sentence, showing off the stop words filtration."...
[ "wind86@meta.ua" ]
wind86@meta.ua
ed0a7a587fa699bb3e21e4116d874fda8a2c2d5c
3337e9150a743e0df2898528dd1e4dfac9730b25
/artemis/fileman/persistent_print.py
13b30ccc07235563122878b4675f41b117e62124
[]
no_license
ml-lab/artemis
f3353cb462b06d64e1007010db94667b4703c90e
b4f5f627f1798aff90b845d70fd582142a9f76c8
refs/heads/master
2021-01-22T06:49:41.346341
2017-09-01T15:31:13
2017-09-01T15:31:13
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,171
py
import sys from artemis.fileman.local_dir import get_artemis_data_path from artemis.general.display import CaptureStdOut __author__ = 'peter' """ Save Print statements: Useful in ipython notebooks where you lose output when printing to the browser. On advice from: http://stackoverflow.com/questions/4675728/redirect...
[ "peter.ed.oconnor@gmail.com" ]
peter.ed.oconnor@gmail.com
c367f874817b32c6f63cee71858c33cc30dede45
5d0fe4a9e026234fe15e6c4380355061bb4dac64
/tests/functional/pages/profile/individual_enter_your_personal_details.py
53c55f143ecca632274757bbfec1c6127897fa4a
[ "MIT" ]
permissive
uktrade/directory-tests
37e243862da8ac594cf1ea06ade714db5e1aba03
39ec6c26203580238e65566a472cbd80916e6726
refs/heads/master
2022-08-09T16:58:56.248982
2022-08-01T12:25:10
2022-08-01T12:25:10
71,367,747
4
3
MIT
2022-08-01T12:26:09
2016-10-19T14:48:57
Python
UTF-8
Python
false
false
1,572
py
# -*- coding: utf-8 -*- """Profile - Enter your personal details""" from requests import Response, Session from directory_tests_shared import PageType, Service, URLs from tests.functional.utils.context_utils import Actor from tests.functional.utils.request import ( Method, check_response, check_url, m...
[ "kowalczykjanusz@gmail.com" ]
kowalczykjanusz@gmail.com
6e3f7646454551de97bff7229a6e4a0d163b2856
ca231a325e8f4c18d50d89ffa7eec993d4cc68c3
/codility/minimal_interger_not_ocurrs.py
4f9b4ac785566637a02e89df334015135a5bb335
[]
no_license
HugoPorto/PythonCodes
8e1597999ccd34ffa86df5ae7e91111d77dc7a22
539ad6891cbd49a2c011349f843ab710aad2993a
refs/heads/master
2022-02-13T05:48:24.633750
2017-09-12T15:44:06
2017-09-12T15:44:06
null
0
0
null
null
null
null
UTF-8
Python
false
false
853
py
# -*- coding:utf-8 -*- def solution(A): ''' Solve it with Pigeonhole principle. There are N integers in the input. So for the first N+1 positive integers, at least one of them must be missing. ''' # We only care about the first N+1 positive integers. # occurrence[i] is for the i...
[ "gpzim98@gmail.com" ]
gpzim98@gmail.com
12ccbb6a49dc123cca42202409efb9bb333f2c8c
a135e6aebb4b525d090272c107d9986ed50ec919
/grip/__init__.py
263bab0ee2649d40658a1dc3023c1a3e0b27c6d5
[ "MIT" ]
permissive
wemersondev/grip
2a6740d32e045cfa6639936d6640555ea81d3b53
8a9d7caf2f8a7cf07d8b31e030600404b4c498c7
refs/heads/master
2021-01-24T03:26:40.071776
2018-02-25T19:58:13
2018-02-25T19:58:13
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,663
py
"""\ Grip ---- Render local readme files before sending off to GitHub. :copyright: (c) 2014-2016 by Joe Esposito. :license: MIT, see LICENSE for more details. """ __version__ = '4.4.0' import sys # Patch for Flask 11.0+ on Python 3 (pypy3) if not hasattr(sys, 'exc_clear'): sys.exc_clear = lambda: None from .a...
[ "joe@joeyespo.com" ]
joe@joeyespo.com
18df10d8b1c09bf6663d3185bce769d2c532a8f7
8c6816435093cb8e9e45593d3ffdd67028a011b6
/tests/test_is_palindrome_permutation.py
8afe1e3ee3486b7078ef4211c354a84d7504048b
[]
no_license
Keeady/daily-coding-challenge
6ee74a5fe639a1f5b4753dd4848d0696bef15c28
31eebbf4c1d0eb88a00f71bd5741adf5e07d0e94
refs/heads/master
2020-03-27T07:58:05.713290
2019-03-08T15:03:05
2019-03-08T15:03:05
146,210,027
0
0
null
null
null
null
UTF-8
Python
false
false
586
py
from String import is_palindrome_permutation def test_is_palindrome_permutation(): str = 'Tact Coa' assert True == is_palindrome_permutation.is_palindrome_permutation(str) str = 'Tact oCoa' assert True == is_palindrome_permutation.is_palindrome_permutation(str) str = 'Tact Ca' assert True ...
[ "cbevavy@datto.com" ]
cbevavy@datto.com
83ebf96ed9d709453f2542d0921655ff7857ce40
caf135d264c4c1fdd320b42bf0d019e350938b2d
/04_Algorithms/Leetcode/L24_Swap Nodes in Pairs.py
eba7c0bc0a8f2006110eb82a2b8a1604aa56fe07
[]
no_license
coolxv/DL-Prep
4243c51103bdc38972b8a7cbe3db4efa93851342
3e6565527ee8479e178852fffc4ccd0e44166e48
refs/heads/master
2022-12-31T22:42:20.806208
2020-10-23T10:19:19
2020-10-23T10:19:19
null
0
0
null
null
null
null
UTF-8
Python
false
false
807
py
# Definition for singly-linked list. # class ListNode: # def __init__(self, x): # self.val = x # self.next = None class Solution: def swapPairs(self, head: ListNode) -> ListNode: if not head or not head.next: return head else: first = head sec...
[ "1574572981@qq.com" ]
1574572981@qq.com
f851895535c8f43ebe64751ebaf22d82378cf452
1e0b77feea4aa08f2aa9ff63feddbc818428a350
/script/dedecms/dedecms_win_find_manage.py
77efcee0ec9487364ba143234992930c3a5232e7
[]
no_license
cleanmgr112/Tentacle
838b915430166429da3fe4ed290bef85d793fae4
175e143fc08d1a6884a126b7da019ef126e116fa
refs/heads/master
2022-12-08T06:36:28.706843
2020-08-26T14:06:35
2020-08-26T14:06:35
null
0
0
null
null
null
null
UTF-8
Python
false
false
4,769
py
#!/usr/bin/env python # -*- coding: utf-8 -*- # @author: 'orleven' import itertools from lib.utils.connect import ClientSession from lib.core.enums import VUL_LEVEL from lib.core.enums import VUL_TYPE from lib.core.enums import SERVICE_PORT_MAP from script import Script class POC(Script): def __init__(self, targe...
[ "546577246@qq.com" ]
546577246@qq.com
fd665f4ee1a672d4be5eb93dc6f5a52a578af62d
cf297c3d66189d2bd9fd8bfdadaeff3ebe6eee05
/WebBrickLibs/EventHandlers/tests/DummyRouter.py
aeb6ebe6d84716938a3c453ac113956c324b0805
[ "BSD-3-Clause" ]
permissive
AndyThirtover/wb_gateway
0cb68a1f2caf7f06942f94b867ea02f4f8695492
69f9c870369085f4440033201e2fb263a463a523
refs/heads/master
2022-01-19T00:07:20.456346
2022-01-05T21:08:16
2022-01-05T21:08:16
14,687,973
0
0
null
null
null
null
UTF-8
Python
false
false
1,228
py
# Copyright L.P.Klyne 2013 # Licenced under 3 clause BSD licence # $Id: DummyRouter.py 2612 2008-08-11 20:08:49Z graham.klyne $ # # Some test helpers for testing event handlers. Uses a SuperGlobal to save state. # import logging import sys import unittest from EventLib.Event import Event, makeEvent from EventHandle...
[ "github@lklyne.co.uk" ]
github@lklyne.co.uk
5c22c50092409f049081caf5752155a483abf51f
6656c2acc607d269870d04d310e8a35ebbad8d3f
/lib/python2.7/dist-packages/pr2_mechanism_controllers/msg/_Odometer.py
3a8c8d7ac9f8a3aacb42386f5ce327b54bf4e2bf
[]
no_license
uml-comp4510-5490/install
97bd8b643773e34f3956e40ac169729a45e34bbe
2897bf668177aced2e58cac18e86b109716c01df
refs/heads/master
2020-04-01T05:59:56.541628
2018-10-14T01:52:57
2018-10-14T01:52:57
152,929,072
0
0
null
null
null
null
UTF-8
Python
false
false
3,835
py
# This Python file uses the following encoding: utf-8 """autogenerated by genpy from pr2_mechanism_controllers/Odometer.msg. Do not edit.""" import sys python3 = True if sys.hexversion > 0x03000000 else False import genpy import struct class Odometer(genpy.Message): _md5sum = "1f1d53743f4592ee455aa3eaf9019457" _t...
[ "james.perl12@gmail.com" ]
james.perl12@gmail.com
61f7e1110562904492dddc8c101dfdb04a9f0b79
2009735d19318a3ffe8e56687efb8e7688ebaf5a
/models/final_experiment_scripts/MIMIC/LoS/channel_wise_lstm.py
672a261444acf134a165a8bd320b316b08fb5d3f
[ "MIT" ]
permissive
weikunzz/TPC-LoS-prediction
7bb9865e2f0fa3b461cb6fc23ed49996bfba59c1
30770f3e75d6a2a725c422b837f7ec864708f5d9
refs/heads/master
2023-04-06T10:19:12.284137
2021-04-08T14:06:53
2021-04-08T14:06:53
null
0
0
null
null
null
null
UTF-8
Python
false
false
834
py
from eICU_preprocessing.split_train_test import create_folder from models.run_lstm import BaselineLSTM from models.initialise_arguments import initialise_lstm_arguments from models.final_experiment_scripts.best_hyperparameters import best_cw_lstm if __name__=='__main__': c = initialise_lstm_arguments() c['ex...
[ "ecr38@cam.ac.uk" ]
ecr38@cam.ac.uk
0d7102130db2739bb99c1c008e466724c33ed4b7
583d03a6337df9f1e28f4ef6208491cf5fb18136
/dev4qx/messagepush/task/subscribe.py
be4fdbc0be1cdda9998b0a83fc02a876b7637185
[]
no_license
lescpsn/lescpsn
ece4362a328f009931c9e4980f150d93c4916b32
ef83523ea1618b7e543553edd480389741e54bc4
refs/heads/master
2020-04-03T14:02:06.590299
2018-11-01T03:00:17
2018-11-01T03:00:17
155,309,223
1
0
null
null
null
null
UTF-8
Python
false
false
1,146
py
# -*- coding: utf-8 -*- import logging import tornado from core.subscribe import subscrible_direct request_log = logging.getLogger("ms.request") class SubscribeTask(tornado.ioloop.PeriodicCallback): def __init__(self, application, callback_time): super(SubscribeTask, self).__init__(self.run, call...
[ "lescpsn@aliyun.com" ]
lescpsn@aliyun.com
fbefcb0112cca43cc7b8a399c2dde0d4ca329f56
182c651a9b00b9b4d80e6d51ae574cb793958cd6
/widgets/stylesheet/stylesheet.py
f9c37d6886961ae308ad487c3780ee79e8573ba3
[]
no_license
eudu/pyqt-examples
c61a7108e1fbfcf2cd918a0f99e9a5a90a3f305c
8e533b7b3c5e9bbe0617ef1ecb9b169dd216c181
refs/heads/master
2020-03-16T01:23:19.573347
2018-05-06T20:20:57
2018-05-06T20:20:57
132,438,940
1
0
null
null
null
null
UTF-8
Python
false
false
3,546
py
#!/usr/bin/python3 ############################################################################# ## ## Copyright (C) 2013 Riverbank Computing Limited ## Copyright (C) 2010 Hans-Peter Jansen <hpj@urpla.net>. ## Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies). ## All rights reserved. ## ## This file is...
[ "dukalow@gmail.com" ]
dukalow@gmail.com
1f77afe28d0cb282cba9d56049db486e0e6d1c6f
d39bf3e0141f39752b40ca420ec7d90204ad4219
/tests/test_day_02.py
213be9a1bfceacdaa6696775d1b77d416bee4eb0
[]
no_license
jasonbrackman/advent_of_code_2017
33260d98e1c348b8d249eabe425783568c3db494
a50e0cf9b628da96cb365744027d1a800557d1c9
refs/heads/master
2022-02-18T18:06:58.119383
2019-09-12T05:00:02
2019-09-12T05:00:02
112,784,403
0
2
null
null
null
null
UTF-8
Python
false
false
957
py
""" 5 1 9 5 7 5 3 2 4 6 8 The first row's largest and smallest values are 9 and 1, and their difference is 8. The second row's largest and smallest values are 7 and 3, and their difference is 4. The third row's difference is 6. In this example, the spreadsheet's checksum would be 8 + 4 + 6 = 18. What is ...
[ "brackman@gmail.com" ]
brackman@gmail.com
9e8347f3ee2a079d974e2bdbee6c34880736fe6e
d8a9b88f4087ebfe97b462e589071222e2261e47
/520. Detect Capital.py
05ac6786a14cb0b3bec7c1c660096e885cf8269c
[]
no_license
rohitpatwa/leetcode
a7a4e8a109ace53a38d613b5f898dd81d4771b1b
f4826763e8f154cac9134d53b154b8299acd39a8
refs/heads/master
2021-07-07T12:40:30.424243
2021-03-31T00:21:30
2021-03-31T00:21:30
235,003,084
1
0
null
null
null
null
UTF-8
Python
false
false
379
py
# Check if word is all upper or all lower. elif check if word is one capital and all lower. Else return False. class Solution: def detectCapitalUse(self, word: str) -> bool: if word==word.upper() or word==word.lower(): return True if word[0] == word[0].upper() and word[1:]==wor...
[ "rohitpatwa@gmail.com" ]
rohitpatwa@gmail.com
871132389561d6b5b48a9d5e7d876bc1654d5ee6
f2889a13368b59d8b82f7def1a31a6277b6518b7
/30.py
75414b4d6be012ed0fdb069967fc9cd91daa06d6
[]
no_license
htl1126/leetcode
dacde03de5c9c967e527c4c3b29a4547154e11b3
c33559dc5e0bf6879bb3462ab65a9446a66d19f6
refs/heads/master
2023-09-01T14:57:57.302544
2023-08-25T15:50:56
2023-08-25T15:50:56
29,514,867
7
1
null
null
null
null
UTF-8
Python
false
false
1,038
py
# ref: https://discuss.leetcode.com/topic/10665/concise-python-code-using # -defaultdict import collections import copy class Solution(object): def findSubstring(self, s, words): """ :type s: str :type words: List[str] :rtype: List[int] """ if not words...
[ "b93902098@ntu.edu.tw" ]
b93902098@ntu.edu.tw
6c8ac1427f142513c13bd7794b07ab96a6f4c884
751cf52d62dba7d88387fc5734d6ee3954054fc2
/opencv/experiments_raw/contourExperiments/contourExperiment.py
25321959930231caf2a2607e82fe2c8687768cfe
[ "MIT" ]
permissive
nooralight/lab-computer-vision
70a4d84a47a14dc8f5e9796ff6ccb59d4451ff27
0c3d89b35d0468d4d3cc5ce2653b3f0ac82652a9
refs/heads/master
2023-03-17T12:45:22.700237
2017-07-11T22:17:09
2017-07-11T22:17:09
null
0
0
null
null
null
null
UTF-8
Python
false
false
3,364
py
""" Display three views: original frame mask resultant frame whenever user clicks in original frame, color is specified this color becomes the new mask color The system then creates a contour around the largest object of that color on the screen, and a crosshair follows after that object """ import cv2 imp...
[ "danbudanov@gmail.com" ]
danbudanov@gmail.com
8dc31ef220e3a12803bb906e33892e6ea9a93a18
b00873d36e44128ce30623da0ee3b556e4e3d7e7
/solutions/solution725.py
534be36c9402b8115b72bfe0c67a417dff55304b
[ "MIT" ]
permissive
Satily/leetcode_python_solution
b4aadfd1998877b5086b5423c670750bb422b2c8
3f05fff7758d650469862bc28df9e4aa7b1d3203
refs/heads/master
2021-07-18T07:53:10.387182
2021-07-17T06:30:09
2021-07-17T06:30:09
155,074,789
3
0
null
null
null
null
UTF-8
Python
false
false
1,157
py
from data_structure import ListNode, build_link_list, flatten_link_list class Solution: def splitListToParts(self, root, k): """ :type root: ListNode :type k: int :rtype: List[ListNode] """ def split(h, lh): if h is not None: p = h ...
[ "houjiaxu@xiaomi.com" ]
houjiaxu@xiaomi.com
c3784b117e770c6c6948e80849e5bd8cf0457254
7727187a009e4b9c46c2fe06609372ec8814cd23
/test/test_augment_data.py
d83bec586121132d679dc61a95c78929cece6eea
[]
no_license
govtmirror/freemix-akara
ebf204554f4effc0543e60083698f2ea012413b8
1d10c3f02afbd4268852e2c52afdf77809176bdd
refs/heads/master
2021-01-12T07:47:08.183429
2014-06-05T18:53:56
2014-06-05T18:53:56
null
0
0
null
null
null
null
UTF-8
Python
false
false
809
py
import os import urllib, urllib2 from urllib2 import urlopen from freemix_akara import __version__ from server_support import server RESOURCE_DIR = os.path.join(os.path.dirname(__file__), "resource") def test_augment(): import simplejson url = server() + "augment.freemix.json" req = urllib2.Request(url) ...
[ "dfeeney@gmail.com" ]
dfeeney@gmail.com
f1f4be0600c0a96312d2b00339681c2c5efff41b
9743d5fd24822f79c156ad112229e25adb9ed6f6
/xai/brain/wordbase/otherforms/_cackles.py
b56545b1c6dceb5e279e87bc0ba44c4f57263de2
[ "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
222
py
#calss header class _CACKLES(): def __init__(self,): self.name = "CACKLES" self.definitions = cackle self.parents = [] self.childen = [] self.properties = [] self.jsondata = {} self.basic = ['cackle']
[ "xingwang1991@gmail.com" ]
xingwang1991@gmail.com
0f7ddbc55809f101e6c51e745fc682ec6439b74a
edbf8601ae771031ad8ab27b19c2bf450ca7df76
/283-Move-Zeroes/MoveZeroes.py
b7e24b42230eae378975aceeeb96569feb6628fa
[]
no_license
gxwangdi/Leetcode
ec619fba272a29ebf8b8c7f0038aefd747ccf44a
29c4c703d18c6ff2e16b9f912210399be427c1e8
refs/heads/master
2022-07-02T22:08:32.556252
2022-06-21T16:58:28
2022-06-21T16:58:28
54,813,467
3
2
null
2022-06-21T16:58:29
2016-03-27T05:02:36
Java
UTF-8
Python
false
false
548
py
class Solution(object): def moveZeroes(self, nums): """ :type nums: List[int] :rtype: None Do not return anything, modify nums in-place instead. """ if not nums or len(nums)<2: return slow=0 fast=0 size=len(nums) while fast < size: ...
[ "gxwangdi@gmail.com" ]
gxwangdi@gmail.com
f8ba0392696152c9b0153c42e7340ebb511a2e0a
32bfc07c9661b0820e525158ef9a03c1d3256ecd
/Week 2/mysite-link1/django-polls/polls/migrations/0001_initial.py
8f55db1363fc94de11712f49c0f9b7f97cca9bdc
[]
no_license
Aktoty00/BFDjango
c4d42d0f8d11a14813dbf2d67830531193b81417
95e28e9c56b1c1a3a286a1919b942512efdd585a
refs/heads/master
2021-09-25T15:35:16.722971
2020-04-19T11:43:27
2020-04-19T11:43:27
234,919,812
0
0
null
2021-09-22T18:39:00
2020-01-19T15:16:34
Python
UTF-8
Python
false
false
1,178
py
# Generated by Django 2.1.7 on 2020-01-22 15:19 from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): initial = True dependencies = [ ] operations = [ migrations.CreateModel( name='Choice', fields=[ ...
[ "aktoty.rysdaulet@gmail.com" ]
aktoty.rysdaulet@gmail.com
a789ad6f90b611c1ab8c53baa204e144607c2690
e7dfccc8136776443461b6580752c7f0f50556b3
/matrix_webhook/__main__.py
18d4fccae9584210927760e0ca5fa6e165449fa1
[ "BSD-2-Clause" ]
permissive
nim65s/matrix-webhook
f223e404922860dfae711b3017664b976fd9d4e2
ad74f632c630a748577ba201c5e89dfa02eece4d
refs/heads/master
2023-09-01T01:02:28.097429
2023-08-01T11:09:14
2023-08-01T11:09:14
171,114,171
97
32
NOASSERTION
2023-09-06T13:53:04
2019-02-17T11:29:31
Python
UTF-8
Python
false
false
334
py
"""Matrix Webhook module entrypoint.""" import logging from . import app, conf def main(): """Start everything.""" log_format = "%(asctime)s - %(name)s - %(lineno)d - %(levelname)s - %(message)s" logging.basicConfig(level=50 - 10 * conf.VERBOSE, format=log_format) app.run() if __name__ == "__main__...
[ "guilhem.saurel@laas.fr" ]
guilhem.saurel@laas.fr
15c83f62c9fd56c469799186fc20478de46552d4
054eefaa17157b32869ea986347b3e539d2bf06b
/big_o_coding/Blue_13/Homework/day_12_eko_spoj.py
23dcd5c8db290cfe538fb92b5da5ca59e51c778e
[]
no_license
baocogn/self-learning
f2cb2f45f05575b6d195fc3c407daf4edcfe7d0e
f50a3946966354c793cac6b28d09cb5dba2ec57a
refs/heads/master
2021-07-12T23:32:14.728163
2019-02-10T14:24:46
2019-02-10T14:24:46
143,170,276
0
0
null
null
null
null
UTF-8
Python
false
false
389
py
import sys input = sys.stdin.readline N, M = map(int, input().split()) heights = list(map(int, input().split())) def getCutted(height): return sum(max(0, h - height) for h in heights) left = 0 right = max(heights) res = 0 while (left <= right): mid = left + (right - left) // 2 if getCutted(mid) >= M: ...
[ "baocogn123@gmail.com" ]
baocogn123@gmail.com
064bb76c7c62f304ae205b982893d13f9243fac9
1c4110a0bdbb888fd7a82579810cda2c73b52dba
/20210715 Pycharm/Pycharm/venv/Lib/site-packages/bamboo/common/colours.py
389df001c9cd8b21e7310bebdda8bb08960fbeee
[]
no_license
DrillND/python
d09786e2937a10c9c67170826131b8ee204e0b37
f6aa1d4d29e4519f89a63af4c3c8f83ed60630ea
refs/heads/main
2023-06-19T11:51:14.307597
2021-07-16T07:18:52
2021-07-16T07:18:52
355,095,502
0
0
null
null
null
null
UTF-8
Python
false
false
205
py
class bcolours: HEADER = '\033[95m' OKBLUE = '\033[94m' OKGREEN = '\033[92m' WARNING = '\033[93m' FAIL = '\033[91m' ENDC = '\033[0m' BOLD = '\033[1m' UNDERLINE = '\033[4m'
[ "gornhub13@gmail.com" ]
gornhub13@gmail.com
a44a8301d9cf018c0b5ff5bc64748a1262eda343
b9eb496c4551fd091954675a61382636fc68e715
/src/ABC1xx/ABC14x/ABC140/ABC140B.py
8357fa46e4c56c5d78f10b2adcc2a1f6074cfb70
[]
no_license
kttaroha/AtCoder
af4c5783d89a61bc6a40f59be5e0992980cc8467
dc65ce640954da8c2ad0d1b97580da50fba98a55
refs/heads/master
2021-04-17T16:52:09.508706
2020-11-22T05:45:08
2020-11-22T05:45:08
249,460,649
1
0
null
null
null
null
UTF-8
Python
false
false
339
py
def main(): _ = int(input()) A = list(map(int, input().split())) B = list(map(int, input().split())) C = list(map(int, input().split())) prev = -100 s = 0 for a in A: s += B[a-1] if a - prev == 1: s += C[prev-1] prev = a print(s) if __name__ == '__m...
[ "kthamano1994@gmail.com" ]
kthamano1994@gmail.com
2b67e235a3490fd768faa695ff32d76ed01f6f61
a6bd25c3508d45134436bc3a39345e2565debec0
/Assignment1/urls.py
1fec19327932a4d972c8807b1a1ec09c09df8b86
[]
no_license
gitNikhilsahu/Django-Business-Employee-Management
2a869dbf9c0aac078662b09db708b7c03b372c5c
e1c6d1588561abf193d70ca4cb91c912c3ea66d1
refs/heads/master
2022-12-17T07:58:25.655611
2020-09-25T08:43:18
2020-09-25T08:43:18
298,517,130
1
0
null
null
null
null
UTF-8
Python
false
false
478
py
from django.contrib import admin from django.urls import path, include from django.conf import settings from django.conf.urls.static import static urlpatterns = [ path('', include('business.urls')), path('employee/', include('employee.urls')), path('admin/', admin.site.urls), ] if settings.DEBUG: ur...
[ "Nikhilsahu.in@gmail.com" ]
Nikhilsahu.in@gmail.com
bf63fe697c539ec382672dc75ea18cf93dae240b
71d4cc88c68f957a37a2db8234f8178ad2c1c769
/graphgallery/data/npz_dataset.py
8e769181796d82f0fa694a5ba370dd41a5b82c3e
[ "MIT" ]
permissive
MLDL/GraphGallery
3159e0b8ddb1d2fa6b7cea4a27ba075f97db0a03
2474622286f135ca693c62981f5a4c4b31bcd2e6
refs/heads/master
2022-12-28T03:03:48.516408
2020-09-26T16:08:05
2020-09-26T16:08:05
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,080
py
import os import zipfile import os.path as osp import numpy as np from graphgallery.data import Dataset from graphgallery.data.io import makedirs, files_exist, download_file from graphgallery.data.graph import Graph, load_dataset _DATASETS = ('citeseer', 'cora', 'cora_ml', 'cora_full', 'amazon_cs', 'amazon_photo', ...
[ "cnljt@outlook.com" ]
cnljt@outlook.com
59c65295bbf233c1466985d1aa33bafac20aa3fe
15f321878face2af9317363c5f6de1e5ddd9b749
/solutions_python/Problem_95/1152.py
a5a2f7fcec24d2ae43109115e3074698189fdd34
[]
no_license
dr-dos-ok/Code_Jam_Webscraper
c06fd59870842664cd79c41eb460a09553e1c80a
26a35bf114a3aa30fc4c677ef069d95f41665cc0
refs/heads/master
2020-04-06T08:17:40.938460
2018-10-14T10:12:47
2018-10-14T10:12:47
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,234
py
#!/usr/bin/env python #-*- coding:utf-8 -*- from string import ascii_lowercase from pprint import pprint import sys, os sample_googlerese = """ejp mysljylc kd kxveddknmc re jsicpdrysi rbcpc ypc rtcsra dkh wyfrepkym veddknkmkrkcd de kr kd eoya kw aej tysr re ujdr lkgc jv """ sample_answer = """our language is impossibl...
[ "miliar1732@gmail.com" ]
miliar1732@gmail.com
77dcd58897fa39cc6326e1fc2178a0adc30ff87b
cbdef2e8ed259adc4653ade34db12d8bcc0cea9f
/dominion/cards/Wizard_Student.py
fa8a42e3234ec5e594f4503326b3c3dd61788893
[]
no_license
dwagon/pydominion
8dd5afef8ec89c63ade74c4ae6c7473cd676799f
545709f0a41529de74f33aa83b106c456900fa5b
refs/heads/main
2023-08-29T10:02:26.652032
2023-08-23T02:25:00
2023-08-23T02:25:00
18,776,204
1
0
null
2023-08-23T02:25:02
2014-04-14T20:49:28
Python
UTF-8
Python
false
false
3,568
py
#!/usr/bin/env python import unittest from dominion import Game, Card, Piles ############################################################################### class Card_Student(Card.Card): def __init__(self): Card.Card.__init__(self) self.cardtype = [ Card.CardType.ACTION, ...
[ "dougal.scott@gmail.com" ]
dougal.scott@gmail.com
01f32c1f857b3e6cb6206443d4778d3411fa38fa
85de10a9467b3cd88ce83227bee0d71706e2c2b0
/c15/point1.py
bcd93dd9a81cdd42b3999ae7c53212cba3aa9078
[]
no_license
sreejithev/thinkpythonsolutions
f0bbfc0951e57e9b81f50aabf968860484081524
59481fd3d2976e73691a3fff97e083c336070cea
refs/heads/master
2019-07-22T14:08:54.890004
2017-09-15T05:06:26
2017-09-15T05:06:26
94,759,672
0
0
null
null
null
null
UTF-8
Python
false
false
1,480
py
""" Code example from Think Python, by Allen B. Downey. Available from http://thinkpython.com Copyright 2012 Allen B. Downey. Distributed under the GNU General Public License at gnu.org/licenses/gpl.html. """ class Point(object): """Represents a point in 2-D space.""" def print_point(p): """Print a Point ...
[ "sreejithevwyd@gmail.com" ]
sreejithevwyd@gmail.com
d7a3715564bf502e8f7675515f39437fd16aea6d
1adc05008f0caa9a81cc4fc3a737fcbcebb68995
/hardhat/recipes/libsecret.py
b42a31342843ec94f44a8536408092b7348707ab
[ "MIT", "BSD-3-Clause" ]
permissive
stangelandcl/hardhat
4aa995518697d19b179c64751108963fa656cfca
1ad0c5dec16728c0243023acb9594f435ef18f9c
refs/heads/master
2021-01-11T17:19:41.988477
2019-03-22T22:18:44
2019-03-22T22:18:52
79,742,340
0
0
null
null
null
null
UTF-8
Python
false
false
672
py
from .base import GnuRecipe class LibSecretRecipe(GnuRecipe): def __init__(self, *args, **kwargs): super(LibSecretRecipe, self).__init__(*args, **kwargs) self.sha256 = '9ce7bd8dd5831f2786c935d82638ac42' \ '8fa085057cc6780aba0e39375887ccb3' self.name = 'libsecret' ...
[ "clayton.stangeland@gmail.com" ]
clayton.stangeland@gmail.com
da3f14eb4676c866d47a2784491765e6f5abcac8
0bbeb0bbe788ec5a8ba15acf159e4b913985bba4
/tests/testsuite/a_basic/tests_03_networking.py
5173cf96368f92efba523e5f790107970eeb035a
[ "Apache-2.0" ]
permissive
GlenDC/0-core
629bd9836ab4ff2fe0c40628419b58205bb64648
807fa1939199fa3aa3b3e57679f61bb6c72cc57f
refs/heads/master
2021-06-17T19:52:40.405225
2017-06-14T16:42:39
2017-06-14T16:42:39
null
0
0
null
null
null
null
UTF-8
Python
false
false
3,190
py
from utils.utils import BaseTest import time import unittest class BasicNetworking(BaseTest): def setUp(self): super(BasicNetworking, self).setUp() self.check_g8os_connection(BasicNetworking) def test001_join_leave_list_zerotier(self): """ g8os-012 *Test case for testing join...
[ "deboeck.jo@gmail.com" ]
deboeck.jo@gmail.com
6b3e10704b67a05bbd5fc73fe408618d870f0728
262311e60529868e38c2c57ee3db573f8e11c458
/qa-automated/runner.py
c841c2e6d2e393b0fa9c3ef97393f624bae447f1
[]
no_license
huileizhan227/untitled
1c5604736d9ffcce6f7cb7e308cdc0ebd07e116a
07df74c89291b1664a28e3c8dcba51a917f1835f
refs/heads/master
2023-01-27T11:51:37.609210
2020-04-16T11:49:59
2020-04-16T11:49:59
150,606,504
1
0
null
2023-01-09T12:00:12
2018-09-27T15:12:18
HTML
UTF-8
Python
false
false
2,700
py
import os import sys import time import qasite import pytest import config from multiprocessing import Pool from performance import Report as Perf from common import devicectl from common import serverctl from common import utils def run(project_name=None, build_id=None, test_name_filter=None): # before if (n...
[ "374826581@qq.com" ]
374826581@qq.com
4926ffe92721d5b449773c2caff35eabfbef1e6a
b410490f4249b4075eab92e3a16000a8b839e18c
/object_detection/YOLOv3/dataset.py
835b5b26d48edf15af90e53cc530340dfc619848
[]
no_license
TaeYeon-kim-ai/Pytorch
5936145643a2b36b5c52e43f735bda81264ed6d5
452e5543a959f2b280b088635953985e1101041d
refs/heads/master
2023-07-01T17:29:30.558774
2021-08-12T19:01:36
2021-08-12T19:01:36
387,499,162
1
0
null
null
null
null
UTF-8
Python
false
false
3,282
py
#import config import numpy as np import os import pandas as pd import torch from PIL import Image, ImageFile from torch.utils.data import Dataset, DataLoader from utils import ( iou_width_height as iou, non_max_suppression_as_nms, ) ImageFile.LOAD_TRUNCATED_IMAGES = True class YOLODataset(Dataset) : de...
[ "lovehjty@gmail.com" ]
lovehjty@gmail.com
fa653f9c0963489e50b7ebe54873f2359c9252e1
3d19e1a316de4d6d96471c64332fff7acfaf1308
/Users/P/pere/postliste-ruter.py
6868c570393c7a8e844c70e499b5f1ed041bc480
[]
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
4,876
py
# -*- coding: UTF-8 -*- import scraperwiki import json from BeautifulSoup import BeautifulSoup import datetime import dateutil.parser import lxml.html import resource import sys import urlparse import re scraperwiki.scrape('http://www2.ruter.no/verdt-a-vite/presse/offentlig-journal/') lazycache=scraperwiki.swimport('l...
[ "pallih@kaninka.net" ]
pallih@kaninka.net
c151f1cb971c5514c93deb2d3355846a22aa6971
6f21068b31084e81f38db304a51a2609d8af37cd
/2_Scientific_Libraries/plotsine.py
13f08b42e470e8a434e801048a9ba254ea8288aa
[]
no_license
vickyf/eurocontrol_datascience
374b889cac7b8d377caa78079fb57098e73bba0a
0a7c09002e3b5f22ad563b05a6b4afe4cb6791d7
refs/heads/master
2020-03-19T06:03:14.864839
2018-06-04T07:24:25
2018-06-04T07:24:25
135,986,678
1
0
null
null
null
null
UTF-8
Python
false
false
142
py
%matplotlib inline import matplotlib.pyplot as plt import numpy as np x = np.linspace(0,2*np.pi, 100) y = np.sin(x) plt.plot(x,y) plt.show()
[ "vicky.froyen@infofarm.be" ]
vicky.froyen@infofarm.be
07bac4b0659c7151d22ec455cb5bbb340db2a1c5
6219e6536774e8eeb4cadc4a84f6f2bea376c1b0
/common/util_vietnamese_test.py
3fa3dfa1e91ecf9cc5553850f8be6ef7c293dfd5
[ "MIT" ]
permissive
nguyenminhthai/choinho
109d354b410b92784a9737f020894d073bea1534
d2a216fe7a5064d73cdee3e928a7beef7f511fd1
refs/heads/master
2023-05-07T16:51:46.667755
2019-10-22T07:53:41
2019-10-22T07:53:41
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,948
py
#!/usr/bin/env python # encoding: utf-8 import unittest from common import util_vietnamese as uv class TestUtilVietnamese(unittest.TestCase): def testConvert2Unsign(self): self.assertEquals(uv.convert2Unsign(u'Dĩ độc trị độc'), u'Di doc tri doc') self.assertEquals(uv.convert2Unsign...
[ "nguyenchungthuy.hust@gmail.com" ]
nguyenchungthuy.hust@gmail.com
47114303d4036a4aeb4733f34ef927d7095bb970
ac2c3e8c278d0aac250d31fd023c645fa3984a1b
/saleor/saleor/core/payments.py
777cdcf229f3af0436638628319a4ed5f6c33a12
[ "CC-BY-4.0", "BSD-3-Clause" ]
permissive
jonndoe/saleor-test-shop
152bc8bef615382a45ca5f4f86f3527398bd1ef9
1e83176684f418a96260c276f6a0d72adf7dcbe6
refs/heads/master
2023-01-21T16:54:36.372313
2020-12-02T10:19:13
2020-12-02T10:19:13
316,514,489
1
1
BSD-3-Clause
2020-11-27T23:29:20
2020-11-27T13:52:33
TypeScript
UTF-8
Python
false
false
1,983
py
from abc import ABC, abstractmethod from typing import TYPE_CHECKING, List, Optional if TYPE_CHECKING: # flake8: noqa from ..checkout.models import Checkout, CheckoutLine from ..discount import DiscountInfo from ..payment.interface import ( PaymentData, GatewayResponse, TokenCon...
[ "testuser@151-248-122-3.cloudvps.regruhosting.ru" ]
testuser@151-248-122-3.cloudvps.regruhosting.ru
09e35450b6520f6def9cc7c4b3196fd617f912dc
f7b3c098db4dcea347eac5ee18fc19b84cbf2059
/scrubadub/scrubbers.py
fa06a388bb3e10f0b9bdd5a8bc93ad220ffe8f15
[ "MIT" ]
permissive
jb08/scrubadub
f625a4bc265dfb743ab91f0a1449629392233cb2
7e7b6acc3938ded1e596960b6f095b7e79ae503e
refs/heads/master
2021-01-16T22:03:02.271663
2016-01-14T20:25:32
2016-01-14T20:25:32
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,748
py
import re import operator import textblob import nltk from . import exceptions from . import detectors from .filth import Filth, MergedFilth class Scrubber(object): """The Scrubber class is used to clean personal information out of dirty dirty text. It manages a set of ``Detector``'s that are each responsib...
[ "dean.malmgren@datascopeanalytics.com" ]
dean.malmgren@datascopeanalytics.com
9e8d55b19f819bc5d3bd1235d4e62225b2271730
b7b2f80ab5e1ee0ea028576e3014b62b8d3a8d7e
/pyedit/pyedit-032/pyedlib/pedync.py
0ba8b937ecb2f51e498cc3516a5f9b0a422ebcc7
[]
no_license
pglen/pgpygtk
4d1405478a714f003984cf3e3db04ff1f767470b
33f58010e304f1a312f2356de453ecedb7aa21ef
refs/heads/master
2021-01-22T01:18:52.238415
2019-01-01T01:37:24
2019-01-01T01:37:24
102,215,955
0
0
null
null
null
null
UTF-8
Python
false
false
3,693
py
#!/usr/bin/env python # Prompt Handler for pyedit import os, string, gtk, gobject import pyedlib.pedconfig # ------------------------------------------------------------------------ def yes_no_cancel(title, message, cancel = True): dialog = gtk.Dialog(title, None, gtk.DIALO...
[ "peterglen99@gmail.com" ]
peterglen99@gmail.com
a58a9d7303bef7ea14954d5a6376cf8f18b14d02
fe91ffa11707887e4cdddde8f386a8c8e724aa58
/chrome/test/enterprise/e2e/policy/safe_browsing/safe_browsing_ui_test.py
296faf0623b41a371544722ac0962d719d89d5de
[ "BSD-3-Clause" ]
permissive
akshaymarch7/chromium
78baac2b45526031846ccbaeca96c639d1d60ace
d273c844a313b1e527dec0d59ce70c95fd2bd458
refs/heads/master
2023-02-26T23:48:03.686055
2020-04-15T01:20:07
2020-04-15T01:20:07
255,778,651
2
1
BSD-3-Clause
2020-04-15T02:04:56
2020-04-15T02:04:55
null
UTF-8
Python
false
false
2,371
py
# Copyright 2019 The Chromium Authors. All rights reserved. # Use of this source code is governed by a BSD-style license that can be # found in the LICENSE file. import re import test_util import time from absl import app from selenium import webdriver from pywinauto.application import Application UnsafePageLink = "h...
[ "commit-bot@chromium.org" ]
commit-bot@chromium.org
b1a541ae2823325189c5b0f803ec117c9df66d07
de69d99db8be567d97060149481091c25907d4ef
/src/trees/binary_trees.py
84f2bcde422555256b4619c0ba4e877f5b7f152d
[]
no_license
chalam/Pynaconda
0dd5acdb19c38352ee5d4b92c002d05bd75e452d
e24600d26afbc685e3853a6037f50dfc3fe077d2
refs/heads/master
2021-01-10T13:37:54.811250
2018-10-13T20:48:44
2018-10-13T20:48:44
36,340,529
1
0
null
null
null
null
UTF-8
Python
false
false
3,556
py
class Node: """ Class Node """ def __init__(self, value): self.left = None # No self-referential Node in python self.data = value self.right = None class Tree: """ Class tree will provide a tree as well as utility functions. """ def createNode(self, data): ...
[ "dim2dip@gmail.com" ]
dim2dip@gmail.com
c9d62cd28eb6a98c113b079864bf0553c983be35
284f4f56aed56573eb5516aa67c99bf41e595522
/Leetcode/Arrays/p3574.py
4261a42c73d1469fdff5a35d33f807e57238da87
[]
no_license
rohangoli/PythonAdvanced
537a05eff9ec305a6ec32fa2d0962a64976cd097
6448a5f0d82c7e951b5e476638e15a3c34966cd9
refs/heads/develop
2023-07-20T04:33:50.764104
2023-07-14T04:04:18
2023-07-14T04:04:18
126,811,520
0
0
null
2022-06-10T23:07:10
2018-03-26T10:20:16
Jupyter Notebook
UTF-8
Python
false
false
514
py
## Squares of a Sorted Array # Example 1: # Input: nums = [-4,-1,0,3,10] # Output: [0,1,9,16,100] # Explanation: After squaring, the array becomes [16,1,0,9,100]. # After sorting, it becomes [0,1,9,16,100]. # Example 2: # Input: nums = [-7,-3,2,3,11] # Output: [4,9,9,49,121] class Solution: def sortedSquares(sel...
[ "rohanr27@gmail.com" ]
rohanr27@gmail.com
1525fa01ca88e86a1491f6968ca7daf25bda962c
c086a38a366b0724d7339ae94d6bfb489413d2f4
/PythonEnv/Lib/site-packages/win32com/server/exception.py
f84cccdf5e349025e91ae2f9bdf4e87a0bb9e8d9
[]
no_license
FlowkoHinti/Dionysos
2dc06651a4fc9b4c8c90d264b2f820f34d736650
d9f8fbf3bb0713527dc33383a7f3e135b2041638
refs/heads/master
2021-03-02T01:14:18.622703
2020-06-09T08:28:44
2020-06-09T08:28:44
245,826,041
2
1
null
null
null
null
UTF-8
Python
false
false
3,452
py
"""Exception Handling Exceptions To better support COM exceptions, the framework allows for an instance to be raised. This instance may have a certain number of known attributes, which are translated into COM exception details. This means, for example, that Python could raise a COM exception that includes...
[ "=" ]
=
f1de4f284f6ae6dcbf0e216dae4bd4020b7fe948
cd5746f8cc7aee1f20606a65b4fae0d5e8ee78dc
/Python Books/Mastering-Machine-Learning-scikit-learn/NumPy-Cookbook/NumPy Cookbook 2nd Edition_CodeBundle/Final Code/0945OS_05_Final Code/ch5code/sobel.py
7a60c93500bba9e0a6d9825f564f9b66bfa7ba43
[]
no_license
theGreenJedi/Path
df24fca355590efef0c6cb5c52e7216c6b5d2464
b5ed2805dbb046480929e49e550bfd8af5bb4d6f
refs/heads/master
2023-07-27T14:23:37.694546
2021-07-16T01:38:55
2021-07-16T01:38:55
87,686,563
8
2
null
2023-07-11T22:49:03
2017-04-09T05:57:30
Jupyter Notebook
UTF-8
Python
false
false
623
py
import scipy import scipy.ndimage import matplotlib.pyplot as plt lena = scipy.misc.lena() plt.subplot(221) plt.imshow(lena) plt.title('Original') plt.axis('off') # Sobel X filter sobelx = scipy.ndimage.sobel(lena, axis=0, mode='constant') plt.subplot(222) plt.imshow(sobelx) plt.title('Sobel X') plt.axis('off') # ...
[ "GreenJedi@protonmail.com" ]
GreenJedi@protonmail.com
3f2079b1e4c24c815959e7a54257986eb1c35628
82199bfad7b77d62aa265c8ea463e20df6901801
/global_variables.py
0349063285f925772377b500255d2fdee5a359ce
[]
no_license
hyzcn/interactive-behaviour-design
6119f8685b91226916f06678735fcfea5e6c27ab
26faa63f0d1494dedd7dd9c3757ab08ec6473119
refs/heads/master
2020-05-16T09:04:42.342957
2019-04-22T19:26:27
2019-04-22T19:38:41
null
0
0
null
null
null
null
UTF-8
Python
false
false
425
py
# ALE is generally safe to use from multiple threads, but we do need to be careful about # two threads creating environments at the same time: # https://github.com/mgbellemare/Arcade-Learning-Environment/issues/86 # Any thread which creates environments (which includes restoring from a reset state) # should acquire thi...
[ "matthew.rahtz@gmail.com" ]
matthew.rahtz@gmail.com
9b43ee53672fb7b8aa059524c4d04d2b92fd2289
689a557b32161faafeb0b68076bca96b65c320ce
/restourant/migrations/0003_auto_20170726_1525.py
3156e7bad15655147d6acc6853903542146c11b9
[]
no_license
FNSalimov/new
5d957a5e2543bcecece2fa88e4ff61030eb58203
e2b15e5e83dbc22d776112fc5859219d7f625e4f
refs/heads/master
2021-01-01T18:36:54.171096
2017-07-27T06:27:24
2017-07-27T06:27:24
98,386,102
0
0
null
null
null
null
UTF-8
Python
false
false
740
py
# -*- coding: utf-8 -*- # Generated by Django 1.9 on 2017-07-26 12:25 from __future__ import unicode_literals from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('restourant', '0002_order_orderdish'), ] operations = [ migrations.RemoveField(...
[ "you@example.com" ]
you@example.com
87db130e21a172d48ce24cd1480dd27f518ba1f0
8313b823a755694cfd71e57ad63760ba1c7009d4
/Classification/kernal_SVM.py
adcd73f8c99e84b0ddc56f69991b888dba8e9c20
[]
no_license
KRBhavaniSankar/Machine-Learning
49063374a8b243563212cf52a933da03b41bb576
339f146362aa5960794d8ddcef50d502955c24c4
refs/heads/master
2021-06-07T17:09:57.259971
2020-02-18T13:40:03
2020-02-18T13:40:03
143,809,260
0
0
null
null
null
null
UTF-8
Python
false
false
2,638
py
# Kernal-SVM Classification # Importing the libraries import numpy as np import matplotlib.pyplot as plt import pandas as pd # Importing the dataset dataset = pd.read_csv('Social_Network_Ads.csv') X = dataset.iloc[:, [2, 3]].values y = dataset.iloc[:, 4].values # Splitting the dataset into the Training set and Test ...
[ "krbhavanisankar@gmail.com" ]
krbhavanisankar@gmail.com
0dad5e1d305a873fa56187c074313e2abafcd989
a57a79bd2cb2397c6d879751e7041e9142390acc
/apps/tags/management/commands/migrate_tags.py
ba82af97368ac66dbcffd52844782f5c57617454
[]
no_license
cephey/country
b41e85bfd5df20caec5d6f54b409ffe4f1b11ac3
774800e79417122876119246bb5b6e9b2e186891
refs/heads/master
2021-01-22T23:15:46.934125
2017-09-10T21:53:16
2017-09-10T21:53:16
85,618,298
0
0
null
2017-05-11T11:34:16
2017-03-20T19:36:45
Python
UTF-8
Python
false
false
911
py
import csv from django.conf import settings from django.core.management.base import BaseCommand, CommandError from apps.tags.models import Tag class Command(BaseCommand): help = 'Migrate tags from csv' def add_arguments(self, parser): parser.add_argument('--path', help='/path/to/file.csv') def...
[ "andrey.ptitsyn86@gmail.com" ]
andrey.ptitsyn86@gmail.com
65f5d2a5f15722582ddbc314d4a85e0b2b534645
99ea33e3b36d3da52d3817c28fd60696e4d36c91
/config/settings.py
e7d355059e8274925475bf1ab8ef560a7afa450e
[]
no_license
ghostnoop/WhatToWatch-ml-telegram
2628c97a62f24ac149f540386d0d14a2091d97d9
da7bb1386dab789641d9245544e89cf5d983fb50
refs/heads/main
2023-03-09T07:15:15.707105
2021-02-22T19:00:13
2021-02-22T19:00:13
341,305,969
0
1
null
null
null
null
UTF-8
Python
false
false
190
py
import tmdbsimple as tmdb class BotSettings: API_TOKEN = "1083477387:AAHtlo1ngC61ZFA8rVadPut15CUjX92h79U" ADMIN_ID = 153621836 tmdb.API_KEY = 'ad11be6ccbdb27f9a1f4530c5848891f'
[ "giliyazovmarat@gmail.com" ]
giliyazovmarat@gmail.com
ed4170fd87c23a603adf961d9030d73d0b004cf1
2b1448085c5ad44e78772dde1dcc2fae9cc4c3cc
/botorch/sampling/__init__.py
d27b244ea432efe02fe8a14dadd028d62b99e381
[ "MIT" ]
permissive
leelasd/botorch
47fa0ff9c5f6c534ecfcba59f5b1bf52eea0d62e
c48bfc822940ee8a6e5e2604d4ff282033dbe892
refs/heads/master
2022-12-17T04:42:41.591444
2020-09-10T23:45:05
2020-09-10T23:46:41
294,561,185
1
0
MIT
2020-09-11T01:19:36
2020-09-11T01:19:35
null
UTF-8
Python
false
false
806
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. from botorch.sampling.pairwise_samplers import ( PairwiseIIDNormalSampler, PairwiseMCSampler, PairwiseSobol...
[ "facebook-github-bot@users.noreply.github.com" ]
facebook-github-bot@users.noreply.github.com
884dd2e27584897fc76bd41c4be519872d0ebcf0
07a42b46fe9f154c32c1cfe4e7ef878d5c653ae7
/simple_skeleton/urls.py
9d3acfd8f816549f4662656cda55eb48a7def3ea
[ "MIT" ]
permissive
Mamacitapunto/simple-django-skeleton
0d2fe60616a2df7829f1fdf05b57754f464d6e9f
0babb4aa6bfcf6b9a803caed3a4167cbf4d9113f
refs/heads/master
2021-01-19T04:25:03.444748
2015-11-30T20:16:02
2015-11-30T20:16:02
null
0
0
null
null
null
null
UTF-8
Python
false
false
246
py
from django.conf.urls import include, url from django.contrib import admin from simple_skeleton.apps.core import views as core_views urlpatterns = [ url(r'^$', core_views.home, name='home'), url(r'^admin/', include(admin.site.urls)), ]
[ "vitorfs@gmail.com" ]
vitorfs@gmail.com
61c120b8fd81352b68514fa25a7440b9e07c6d13
7807d8d9d109a3e272fffed91bf841201da39256
/trans_NTL_1_C/aaa119_NTL_1_C_kotonoha.py
b982f55f4bfddd7e6698b1ac8f94bef517d3ba62
[]
no_license
y-akinobu/AOJ_to_Kotonoha
0e8df43393964fcdd5df06c75545091bd6c0c2e2
5a694a55a3d85e3fbc4a07b57edc4374556db9a1
refs/heads/main
2023-02-05T15:33:16.581177
2020-12-30T16:14:44
2020-12-30T16:14:44
325,524,216
0
1
null
null
null
null
UTF-8
Python
false
false
613
py
[#Document [# 'coding: utf-8']][#Document [# '76']] # fractionsモジュールを用いる import fractions # 入力された文字列の整数値をnとする n = int(input()) # 'map(整数,{{入力された文字列を空白で分割した列}})のリストをaとする a = list(map(int,input().split())) # aの最初値をansとする ans = a[0] # '1からn未満までの数列の各要素を順にiとして、繰り返す for i in range(1,n) : # ansにa(i)を掛けた値をfractions.gcd(ans,...
[ "sx2_vn_yuka@outlook.jp" ]
sx2_vn_yuka@outlook.jp
8f8f3812524da3845410fcca49e1304a214732b9
33421188df7d7dcf2ee9be0771b0f2fe1ffad4f5
/2014/Codemotion/celery/examples/canvas/tasks.py
852cca47ec68a4b448671ea1b3a13cf41af94abc
[ "CC-BY-4.0" ]
permissive
Gustavo17/ponencias
c0482fc7a72d7d4d829a54b94775e77c81ca5d97
effb002b0300fe57d26776654b61a2396010da40
refs/heads/master
2021-01-13T09:18:13.837313
2014-11-21T04:58:11
2014-11-21T04:58:11
null
0
0
null
null
null
null
UTF-8
Python
false
false
713
py
from celery import Celery, group, chain, chord import time app = Celery('tasks', backend='amqp', broker='amqp://guest@localhost//') @app.task def fetch_url(url): return "CONTENT DATA" @app.task def lowcase(content): return content.lower() @app.task def split(content): return content.split() @app.task d...
[ "jesus.espino@kaleidos.net" ]
jesus.espino@kaleidos.net
be8a44a141a5d792643c73427964c8088de152e4
448756d7ff6c9cbdf0a8b3b4ff8309207a6bb504
/scripts/howtofit/chapter_database/profiles.py
7621d81f9dc7090851b2ab1977513de4f4476fbc
[]
no_license
jonathanfrawley/autofit_workspace_copy
f84c8ed8d8106cbd0735601b54d35104976219cf
4631ac452f62cd9c3d5257b4d0b2a64630c51ecf
refs/heads/master
2023-04-21T04:06:20.140963
2021-05-13T16:02:59
2021-05-13T16:02:59
367,427,102
0
0
null
null
null
null
UTF-8
Python
false
false
5,552
py
import numpy as np """ In tutorial 5, we perform modeling using multiple profiles, in particular the `Gaussian` profile from the previous tutorials and an Exponential profile. In analysis.py, we will edit how model-data is generated from profiles such that it is the sum of all profiles in our model. In this mo...
[ "james.w.nightingale@durham.ac.uk" ]
james.w.nightingale@durham.ac.uk
6a2a59d480d7535ce9790d74f76a9ff441a76d8a
8c5c74f6f0d19111f2873fcf7763ad1529110cb7
/Examples/game4.py
a514e08d8424e79f30572b4f0255928ac58bc963
[]
no_license
lostboy1/cps-108
44ba4e4aa6e224f73b8b82ab91c2216bdb821026
4264567557ba772f1b5e62ce380cf540af40d5d3
refs/heads/master
2023-01-19T13:19:10.469778
2020-12-01T07:39:29
2020-12-01T07:39:29
288,768,661
0
0
null
null
null
null
UTF-8
Python
false
false
2,161
py
from tkinter import Tk, Canvas, mainloop SPEED = 10 root = Tk() c = Canvas(root, width=500, height=500) c.pack() # Put drawing here! c.create_rectangle(0, 0, 500, 300, fill='blue') c.create_rectangle(0, 300, 500, 500, fill='yellow') c.create_rectangle(347, 380, 353, 450, fill='white') c.create_polygon(350, 360, 400...
[ "brandon@rhodesmill.org" ]
brandon@rhodesmill.org
798b7d8a6302939a34469359265942e49b7adc81
9839b73a6c09ac8a110feb692ef0c001d93f8cbf
/examples/advanced/preprocessGapFill.py
fddd2531aa700c42c6ca76aff7b6d658df654398
[ "MIT" ]
permissive
GeoMTMan/resistics
c253caa9a70295a462756625261f93349475908f
942afe45456f63657267020749d723f7eee89934
refs/heads/master
2020-08-01T10:25:12.535890
2019-09-25T23:36:39
2019-09-25T23:36:39
null
0
0
null
null
null
null
UTF-8
Python
false
false
3,255
py
from pathlib import Path from resistics.project.projectIO import loadProject projectPath = Path("preprocessProject") proj = loadProject(projectPath) proj.printInfo() from resistics.utilities.utilsPlotter import plotOptionsTime, getPresentationFonts plotOptions = plotOptionsTime(plotfonts=getPresentationFonts()) fro...
[ "nss350@gmail.com" ]
nss350@gmail.com
55a42b6ae85147bc6d3fec90d6653672efb28b4e
3ae38471ca4ff70e30d8eeb0508b9b0aab5e19a2
/web/models.py
c7e701ae4777b6eeb1dcdcbf6d7c130c9268d9b0
[]
no_license
Hamidnet220/Chapar
5596d6b703aa4c01c1010f0067cde5a57c33e336
3654601f34f0c58a17813851448889ccbf2c1c90
refs/heads/master
2020-05-03T04:22:51.140098
2019-04-02T05:15:50
2019-04-02T05:15:50
178,419,739
0
0
null
null
null
null
UTF-8
Python
false
false
2,502
py
from django.db import models from django.core.exceptions import ValidationError from django.contrib.auth.admin import User # Create your models here. def empty_validate_event(value): if len(value)<=2: raise ValidationError(("You can not leave this field empty!"),params={'value':value},) class Organization...
[ "kiani.hamidreza@gmail.com" ]
kiani.hamidreza@gmail.com
9a18da4e47bb28850eb94b19cf46de0c7858bff1
008c065391d766fec2f2af252dd8a5e9bf5cb815
/Compress the Lis.py
177600548b994ba7e7b61511e9f4aed3f2340214
[]
no_license
22Rahul22/Codechef
b261ab43ff5ff64648a75ad1195e33cac2cfec52
1f645c779a250a71d75598e1eabad7e52dd6b031
refs/heads/master
2022-11-29T21:51:09.578798
2020-08-19T06:20:23
2020-08-19T06:20:23
288,650,009
0
0
null
null
null
null
UTF-8
Python
false
false
625
py
t = int(input()) for _ in range(t): n = int(input()) arr = list(map(int, input().split())) c = 0 a = [] k = 0 s = "" j = 0 arr.append(0) for i in range(n): if arr[i] + 1 == arr[i + 1]: c += 1 else: if c >= 2: a.append(i - c) ...
[ "rahulbhl22@gmail.com" ]
rahulbhl22@gmail.com
2af7d3345e7878e5745045fa9d0cc15efba802d3
8e7e9aaf06fed4e5be52f61462a40539c55d0f76
/Chapter03/wifi_lookup.py
191b4060e6064134d820b48c18240f5a011382c0
[]
no_license
CodedQuen/Python-Digital-Forensics-Cookbookk
2809ed1680958250a139c22f8a33b5512b608d98
f69e56d4f2f88e71a74dc538c7b3a934ee014369
refs/heads/master
2022-06-06T10:10:36.288517
2020-05-04T03:06:39
2020-05-04T03:06:39
261,067,063
0
0
null
null
null
null
UTF-8
Python
false
false
7,612
py
from __future__ import print_function import argparse import csv import os import sys import xml.etree.ElementTree as ET import requests """ MIT License Copyright (c) 2017 Chapin Bryce, Preston Miller Please share comments and questions at: https://github.com/PythonForensics/PythonForensicsCookbook...
[ "noreply@github.com" ]
CodedQuen.noreply@github.com
be166e9147de70c62d3f58a25394cfa3dbf8ba87
6469e5689c5888481a5eb1c2d37e057c42e2afc3
/biolink/api/link/endpoints/associations_from.py
068338308ebe6c4ba78cebb9d5f045be2ad9c4f7
[]
no_license
othreecodes/biolink-api
66e2b171da0f112f124c5adc8bf2a3a23d78ce1a
37761acba24ff5045fb65b16b009fdaa0fafa03e
refs/heads/master
2021-05-09T00:34:32.199397
2018-01-31T22:10:08
2018-01-31T22:10:08
119,743,095
2
0
null
2018-01-31T21:03:53
2018-01-31T21:03:52
null
UTF-8
Python
false
false
3,655
py
import logging from flask import request from flask_restplus import Resource from biolink.datamodel.serializers import association, association_results from biolink.api.restplus import api from ontobio.golr.golr_associations import get_association, search_associations import pysolr log = logging.getLogger(__name__) ...
[ "cjm@berkeleybop.org" ]
cjm@berkeleybop.org
d6e53802abe18fd58b79466f4e5b581f8311cc8f
b864b992187e2e1c5c8da6fdabeeab5040058fe9
/Python Example/python 100 examples/064.py
5d0b0242ccab80007fa668c36eec6b037ee30270
[]
no_license
Mr-Phoebe/ProgramLanguage
5384afeef20c8a12cd89cf3720beb0337bd38fc9
1588aea62e15304339efb73d55653be1b4e57156
refs/heads/master
2023-02-06T11:59:06.272680
2023-02-06T04:00:14
2023-02-06T04:00:14
65,252,634
52
37
null
null
null
null
GB18030
Python
false
false
630
py
# -*- coding: UTF-8 -*- ''' 题目:利用ellipse and rectangle 画图。 1.程序分析: 2.程序源代码: ''' if __name__ == '__main__': from Tkinter import * canvas = Canvas(width = 400,height = 600,bg = 'white') left = 20 right = 50 top = 50 num = 15 for i in range(num): canvas.create_oval(250 - right,250 - lef...
[ "whn289467822@outlook.com" ]
whn289467822@outlook.com
84d1b66a1d65710dbf72630462b771d0caabbd2d
5a1e5603a42ff27e648fad307d60957cb95f0185
/dask/dataframe/tests/test_csv.py
5e6550be7b23c583897a4f98ca267e45c276d05a
[ "LicenseRef-scancode-unknown-license-reference", "BSD-3-Clause" ]
permissive
jseabold/dask
1937931e7951f776b253432f6b5beedee90892a0
f6332dec1ead4034540bc2c3c1010a9783099752
refs/heads/master
2021-01-23T04:23:10.852740
2016-04-29T00:14:34
2016-04-29T00:14:34
57,442,996
0
0
null
2016-04-30T13:29:31
2016-04-30T13:29:30
Python
UTF-8
Python
false
false
6,358
py
from __future__ import print_function, division, absolute_import from io import BytesIO import pytest pd = pytest.importorskip('pandas') dd = pytest.importorskip('dask.dataframe') from toolz import partition_all, valmap, partial from dask import compute from dask.async import get_sync from dask.dataframe.csv import...
[ "mrocklin@gmail.com" ]
mrocklin@gmail.com
8c69b04818eb1c529b6ad11ac1a9de153b213ba5
68747ba592c252c952823ff4973c9508b7c8c5e9
/Ensemble/BeamVelocity.py
dfcd6b48965024dc062ad756bb54688fbce1a739
[]
no_license
ricorx7/rti_python-1
50ce01e7acf60ad6d57c26cfe5d79ecd1fc84563
384edef9c14ae5296d7e123eec473b29905a8a58
refs/heads/master
2023-02-01T04:33:48.585793
2020-12-16T23:25:22
2020-12-16T23:25:22
null
0
0
null
null
null
null
UTF-8
Python
false
false
4,649
py
from rti_python.Ensemble.Ensemble import Ensemble import logging class BeamVelocity: """ Beam Velocity DataSet. [Bin x Beam] data. """ def __init__(self, num_elements, element_multiplier): """ Beam Velocity data. :param num_elements: Number of bins :p...
[ "rcastelo@rowetechinc.com" ]
rcastelo@rowetechinc.com
b35b6265d2f87725bbf04c7a1a015b18573508d8
db7b618e7d9f7c2af001678e7bc7dd703cb86e61
/TelegramBot/settings.py
5bcca8b1e223f39bd5a3ac86c3f826827b3c5348
[]
no_license
abdullakn/impress.ai
6f24403b70130d8b6440ceab22931cd1cdcb9aeb
c9033970d33304a306fd6dd5e8cc9c1e39ddf1d8
refs/heads/master
2023-08-10T18:07:19.462283
2021-09-29T17:27:52
2021-09-29T17:27:52
411,642,025
0
1
null
null
null
null
UTF-8
Python
false
false
3,388
py
""" Django settings for TelegramBot project. Generated by 'django-admin startproject' using Django 3.1.7. For more information on this file, see https://docs.djangoproject.com/en/3.1/topics/settings/ For the full list of settings and their values, see https://docs.djangoproject.com/en/3.1/ref/settings/ """ import ...
[ "abdudebanjazz@gmail.com" ]
abdudebanjazz@gmail.com
e4542b8b5cbb4bef96ff785702f56111f3fe58f4
768058e7f347231e06a28879922690c0b6870ed4
/venv/lib/python3.7/site-packages/pip-10.0.1-py3.7.egg/pip/_internal/commands/help.py
386278cf5f1461bd429c082c29df90b3b868a0cf
[]
no_license
jciech/HeisenbergSpinChains
58b4238281d8c158b11c6c22dd0da82025fd7284
e43942bbd09f6675e7e2ff277f8930dc0518d08e
refs/heads/master
2022-12-18T08:04:08.052966
2020-09-29T12:55:00
2020-09-29T12:55:00
258,476,448
0
0
null
null
null
null
UTF-8
Python
false
false
1,044
py
from __future__ import absolute_import from pip._internal.basecommand import SUCCESS, Command from pip._internal.exceptions import CommandError class HelpCommand(Command): """Show help for commands""" name = "help" usage = """ %prog <command>""" summary = "Show help for commands." ignore_r...
[ "jan@multiply.ai" ]
jan@multiply.ai
6383c420b4d765598ded8fa8b7e09a41780ee859
5761eca23af5ad071a9b15e2052958f2c9de60c0
/generated-stubs/allauth/socialaccount/providers/weixin/views.pyi
ab4087168efbf7f077d1dc53cf0dcb35eb434d7a
[]
no_license
d-kimuson/drf-iframe-token-example
3ed68aa4463531f0bc416fa66d22ee2aaf72b199
dd4a1ce8e38de9e2bf90455e3d0842a6760ce05b
refs/heads/master
2023-03-16T13:52:45.596818
2021-03-09T22:09:49
2021-03-09T22:09:49
346,156,450
0
0
null
null
null
null
UTF-8
Python
false
false
973
pyi
from .client import WeixinOAuth2Client as WeixinOAuth2Client from .provider import WeixinProvider as WeixinProvider from allauth.account import app_settings as app_settings from allauth.socialaccount.providers.oauth2.views import OAuth2Adapter as OAuth2Adapter, OAuth2CallbackView as OAuth2CallbackView, OAuth2LoginView ...
[ "d-kimuson@gmail.com" ]
d-kimuson@gmail.com
5ac9b4d7308eaba4eff0b9657389f4c3652b5b94
ebdeaa70f6e30abab03a1589bcdd56d1339151ef
/day14Python对象3/02-添加子类属性.py
e7ac08d531ca166a266198f0171a8931da24f600
[]
no_license
gilgameshzzz/learn
490d8eb408d064473fdbfa3f1f854c2f163a7ef6
d476af77a6163ef4f273087582cbecd7f2ec15e6
refs/heads/master
2020-03-31T11:32:42.909453
2018-11-22T03:34:45
2018-11-22T03:34:45
152,181,143
0
0
null
null
null
null
UTF-8
Python
false
false
1,547
py
# Filename : 02-添加子类属性.py # Date : 2018/8/2 """ 对象属性的继承:是通过继承init方法来继承的对象属性 给当前类添加对象属性:重写init方法,如果需要保留父类的对象属性,需要使用 super()去调用父类的init方法 多态:同一个事物有多种形态,子类继承父类的方法,可以对方法进行重写, 一个方法就有多种形态(多态的表现) 类的多态:继承产生多态 """ class Person: def __init__(self, name='', age=2): self.name = name self.age = age class Sta...
[ "619959856@qq.com" ]
619959856@qq.com
2d1003eb12e4578cbb09e2a2b23226e356bffd3e
80c8d4e84f2ea188a375ff920a4adbd9edaed3a1
/bigdata_study/pyflink1.x/pyflink_learn/examples/4_window/sink_monitor.py
f9435ee7aaed197828b8fafad6f66d9fa6cace97
[ "MIT" ]
permissive
Birkid/penter
3a4b67801d366db15ca887c31f545c8cda2b0766
0200f40c9d01a84c758ddcb6a9c84871d6f628c0
refs/heads/master
2023-08-22T14:05:43.106499
2021-10-20T07:10:10
2021-10-20T07:10:10
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,191
py
""" 读取 kafka 的用户操作数据并打印 """ from kafka import KafkaConsumer from reprint import output import json topic = 'click_rank' bootstrap_servers = ['localhost:9092'] group_id = 'group7' consumer = KafkaConsumer( topic, # topic的名称 group_id=group_id, # 指定此消费者实例属于的组名,可以不指定 bootstrap_servers=bootstrap_servers, # ...
[ "350840291@qq.com" ]
350840291@qq.com
25a39bfe0961decc5e8a5665dfe83a66b05dbd27
18430833920b3193d2f26ed526ca8f6d7e3df4c8
/src/notifications/context_processors.py
f80de60ee43e53ffde101052edf945953ac0c19e
[ "MIT" ]
permissive
providenz/phase
ed8b48ea51d4b359f8012e603b328adf13d5e535
b0c46a5468eda6d4eae7b2b959c6210c8d1bbc60
refs/heads/master
2021-01-17T06:56:07.842719
2016-06-28T11:17:53
2016-06-28T11:17:53
47,676,508
0
0
null
2015-12-09T07:45:19
2015-12-09T07:45:18
null
UTF-8
Python
false
false
991
py
# -*- coding: utf-8 -*- from __future__ import unicode_literals from django.contrib.auth.models import AnonymousUser from django.conf import settings from notifications.models import Notification def notifications(request): """Fetches data required to render navigation menu. The main menu contains the lis...
[ "thibault@miximum.fr" ]
thibault@miximum.fr
e270360c2e7314eb2a69a82872043984e52ce1b4
70ba2c6f45bf036cf8e2860003ee03ef2de7842c
/apps/registro_hora_extra/models.py
c2e70f1ef58c47a87e4baec3d3f2f58225e2e7a5
[]
no_license
Izaiasjun1Dev/gestao_rh
b99d0ba767ad136ba596c8da388ec184e19b5aae
29830e5d7e1eed5eec93548ee31b19a4c6d62797
refs/heads/master
2022-01-26T00:57:10.561760
2019-07-31T17:56:25
2019-07-31T17:56:25
199,683,872
0
0
null
null
null
null
UTF-8
Python
false
false
167
py
from django.db import models class Registro_Hora_Extra(models.Model): motivo = models.CharField(max_length=100) def __str__(self): return self.motivo
[ "solucaoprogramer@gmail.com" ]
solucaoprogramer@gmail.com
db5fc913c50c24d9c3bb985ff8799f82103afce3
de24f83a5e3768a2638ebcf13cbe717e75740168
/moodledata/vpl_data/454/usersdata/302/106280/submittedfiles/programa.py
ca76871b6b4cba21f2e253a7a5ef79930a322905
[]
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
164
py
# -*- coding: utf-8 -*- c = int(input('Digite o número de consultas:')) for i in range(c): c.append(int(input('Digite a consulta %d: %(i+1)))) print(c)
[ "rafael.mota@ufca.edu.br" ]
rafael.mota@ufca.edu.br
20a5737230bac56977780a12595c131b8523268d
9fa8c280571c099c5264960ab2e93255d20b3186
/system/scientist/panel/control/stop_criterion/view.py
76a6fe614d545726fcac47b3131dbcdefb304689
[ "MIT" ]
permissive
thuchula6792/AutoOED
8dc97191a758200dbd39cd850309b0250ac77cdb
272d88be7ab617a58d3f241d10f4f9fd17b91cbc
refs/heads/master
2023-07-23T16:06:13.820272
2021-09-08T14:22:18
2021-09-08T14:22:18
null
0
0
null
null
null
null
UTF-8
Python
false
false
5,417
py
import tkinter as tk from system.gui.widgets.factory import create_widget class StopCriterionView: def __init__(self, root_view): self.root_view = root_view self.window = create_widget('toplevel', master=self.root_view.root_view.root, title='Stopping Criterion') self.widget = { ...
[ "yunsheng@mit.edu" ]
yunsheng@mit.edu
0e1c84c3ad5515132006c028d0ce7d87bdfbc4e2
c8c77f6cc6c032daf179ea2138e4dda5473b426b
/pinpoint-email/pinpoint_send_email_message_email_api.py
c607d8762534d68c7b98210c7dd0bc37ba9ccd58
[]
no_license
arunmastermind/AWS-examples-using-BOTO3
b411a6c96011ab58a66952a53fa2938cb58d5135
e8390094374c10902bab016a21caba75ea179b5a
refs/heads/master
2020-09-30T13:34:33.657621
2019-12-11T12:37:44
2019-12-11T12:37:44
227,297,211
0
2
null
null
null
null
UTF-8
Python
false
false
3,698
py
import boto3 from botocore.exceptions import ClientError # The AWS Region that you want to use to send the email. AWS_REGION = "us-west-2" # The "From" address. This address has to be verified in # Amazon Pinpoint in the region you're using to send email. SENDER = "Mary Major <sender@example.com>" # The addresses on...
[ "arunmastermind.sci@gmail.com" ]
arunmastermind.sci@gmail.com
89aadd7f9dd9e91da3e1da7db4d4e2395ffb8883
93b495b3624399c81b7edb39d1f6c5cebb2cd987
/vyper/ast.py
445bdf16b1ecb9ebfb855d44e98e25836353f5e9
[ "Apache-2.0" ]
permissive
fubuloubu/vyper-redux
bf4b91d00290e5ed063ce74b44b740af6c3afae7
a190c69083a968136ce10d1ceb68e42e41ff9de1
refs/heads/master
2020-12-20T16:29:44.390444
2020-01-25T07:53:23
2020-01-25T07:53:23
236,137,024
2
0
null
null
null
null
UTF-8
Python
false
false
6,683
py
import ast as py_ast import inspect import sys from typing import ( Any, Dict, List, Tuple, Type, Union, ) import lark import stringcase class Ast(py_ast.AST): _fields = () class Module(Ast): _fields = ('methods',) def __init__(self, children: List[Union[lark.Tree, lark.Token]])...
[ "fubuloubu@gmail.com" ]
fubuloubu@gmail.com
adcc7a4f456face62e0edc4a15503cb7ef48c86e
d3efc82dfa61fb82e47c82d52c838b38b076084c
/Autocase_Result/XjShRightSide/YW_GGQQ_QLFXJHA_086.py
6a72b553056082e63709d5549fef6af05775698c
[]
no_license
nantongzyg/xtp_test
58ce9f328f62a3ea5904e6ed907a169ef2df9258
ca9ab5cee03d7a2f457a95fb0f4762013caa5f9f
refs/heads/master
2022-11-30T08:57:45.345460
2020-07-30T01:43:30
2020-07-30T01:43:30
280,388,441
0
0
null
null
null
null
UTF-8
Python
false
false
3,894
py
#!/usr/bin/python # -*- encoding: utf-8 -*- import sys import json sys.path.append("/home/yhl2/workspace/xtp_test/xtp/api") from xtp_test_case import * sys.path.append("/home/yhl2/workspace/xtp_test/option/service") from OptMainService import * from OptQueryStkPriceQty import * sys.path.append("/home/yhl2/workspace/xt...
[ "418033945@qq.com" ]
418033945@qq.com
2d5241ff37c81e87fe5dde76480448e82b1a8bf5
2bacd64bd2679bbcc19379947a7285e7ecba35c6
/1-notebook-examples/keras-udemy-course/ann_class2/mxnet_example.py
9ea745fce7cb6e4c583659c52a0dfbfe86e6fcb1
[ "MIT" ]
permissive
vicb1/deep-learning
cc6b6d50ae5083c89f22512663d06b777ff8d881
23d6ef672ef0b3d13cea6a99984bbc299d620a73
refs/heads/master
2022-12-12T15:56:55.565836
2020-03-06T01:55:55
2020-03-06T01:55:55
230,293,726
0
0
MIT
2022-12-08T05:27:43
2019-12-26T16:23:18
Jupyter Notebook
UTF-8
Python
false
false
2,621
py
# https://deeplearningcourses.com/c/data-science-deep-learning-in-theano-tensorflow # https://www.udemy.com/data-science-deep-learning-in-theano-tensorflow from __future__ import print_function, division from builtins import range # Note: you may need to update your version of future # sudo pip install -U future # in...
[ "vbajenaru@gmail.com" ]
vbajenaru@gmail.com
8f0559a6949b29f1325ea7e4b0952a514e72b342
2a17e6a5d78849469b2094ec11f8a51e86475128
/DIU_HS/settings.py
36d64d8a3fb733268c23cd3ad16ffc365d0de70c
[]
no_license
maxhasan882/DIU_HS
fbe25b5d22dded5171b7bd9c31a75c16f03a7f8a
cbffe3b3799e46afe492064ecb45b617e8ff536b
refs/heads/master
2020-07-29T07:54:07.332060
2019-09-20T09:12:00
2019-09-20T09:12:00
209,721,763
0
0
null
null
null
null
UTF-8
Python
false
false
2,506
py
import os # Build paths inside the project like this: os.path.join(BASE_DIR, ...) BASE_DIR = os.path.dirname(os.path.dirname(os.path.abspath(__file__))) SECRET_KEY = '-qqcz^f-332ox2t)s(b$d&slmg^c+q@m!--w*7_%w_pckp(gdq' # SECURITY WARNING: don't run with debug turned on in production! DEBUG = True ALLOWED_HOSTS = ...
[ "rhmithu50@gmail.com" ]
rhmithu50@gmail.com
d6a2692395d973722c538c781b8fecfa4e62647b
c53fcab99e84ccfe6d9f1455e7471892fbd6661e
/kubeface/commands/copy.py
63edb408d96fc9594aa6ee83d89f860d51b393cf
[ "Apache-2.0" ]
permissive
proj4spes/kubeface
3af558ae05f1fd89b2d93e81ce479094ef3f4b8f
443d7432e6d2f8e4d20b6326e98fabeec7ad68b6
refs/heads/master
2021-04-03T02:53:10.284569
2017-06-22T19:40:30
2017-06-22T19:40:30
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,263
py
''' Copy files, including support for google storage buckets. ''' import sys import argparse import logging from .. import storage from ..common import configure_logging from .. import serialization parser = argparse.ArgumentParser(description=__doc__) parser.add_argument("source") parser.add_argument("destination"...
[ "timodonnell@gmail.com" ]
timodonnell@gmail.com
4209e5499b98a104adc9693ae8356a5bc01c7ae4
30cf02eb3c15da89db2e6efd3d405e92d0c8df36
/src/pyobo/sources/gwascentral_study.py
0f00a9432c87ccdffe5a7ed6c2fc786e107b0af4
[ "MIT" ]
permissive
shunsunsun/pyobo
f53e5e6a4bb0b3ea135312cd8a54c905a52bd754
407c8f15873eb84cb5351ccc6e6ae0e8e3add22a
refs/heads/master
2023-04-04T01:13:16.456853
2021-04-05T15:57:33
2021-04-05T15:57:33
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,162
py
# -*- coding: utf-8 -*- """Converter for GWAS Central.""" import logging import tarfile from typing import Iterable from xml.etree import ElementTree from pyobo.struct import Obo, Reference, Term, has_part from pyobo.utils.path import ensure_path logger = logging.getLogger(__name__) VERSION = 'jan2021' URL = f'htt...
[ "cthoyt@gmail.com" ]
cthoyt@gmail.com
4a4aedbcae688967b5b85e60e73a727908c934a5
4fc016459e4c78680c61488c771eb6b7eb20d5fe
/Python-Algorithms-DataStructure/src/leet/104_MaximumDepthofBinaryTree.py
f6cf6d7dcb193f73f277665a5f23cbafd59f85b0
[]
no_license
coremedy/Python-Algorithms-DataStructure
7c318de68fd9694377a0a4369d8dbeb49e1e17aa
3873502679a5def6af4be03028542f07d059d1a9
refs/heads/master
2021-01-25T07:34:17.714241
2015-11-05T10:17:40
2015-11-05T10:17:40
27,949,498
0
0
null
null
null
null
UTF-8
Python
false
false
600
py
''' Created on 2015-08-02 ''' # Definition for a binary tree node. # class TreeNode: # def __init__(self, x): # self.val = x # self.left = None # self.right = None class Solution: # @param {TreeNode} root # @return {integer} def maxDepth(self, root): if r...
[ "coremedy@hotmail.com" ]
coremedy@hotmail.com
7526e1a07f83c8b237e6f892e95f0b2f235bb4b0
8fb5319079f3d9a5524a4fa44dc9fdeb4e578a33
/Contours/counting_coins.py
3d0b8461f126be4dabeaf660096bdf9d2180144c
[]
no_license
KhairulIzwan/Python-OpenCV-Basics
1dc414a07d25b2800f3a6f4eb7edf375e891b92b
2bcf3536c9d5225188dce7c081600459a7b1ebb0
refs/heads/main
2023-04-26T17:37:10.838035
2021-05-23T03:11:36
2021-05-23T03:11:36
369,949,180
0
0
null
null
null
null
UTF-8
Python
false
false
1,261
py
#!/usr/bin/env python import numpy as np import argparse import cv2 # use argparse to handle parsing our command line arguments ap = argparse.ArgumentParser() ap.add_argument("-i", "--image", required = True, help = "Path to the image") args = vars(ap.parse_args()) image = cv2.imread(args["image"]) gray = cv2.cvtC...
[ "wansnap@gmail.com" ]
wansnap@gmail.com
d04a3cc08125307c425fc4a3bbdbde890ec4fcda
b5aa43c8db450c3bcacc8f28897eab684a8032a1
/data/games/missiles/states/level_fail.py
1968f989a08e959a762da5f55ffd79a9dd9aa27b
[]
no_license
iminurnamez/Python_Arcade_Collab
29a74cf2a6264969de9bae3c4a6ed23d6282e793
67702414ed30addd1bf46339bb458df34ed88f2a
refs/heads/master
2021-04-15T07:32:18.573004
2018-05-13T14:29:19
2018-05-13T14:29:19
126,644,972
2
0
null
null
null
null
UTF-8
Python
false
false
1,748
py
import pygame as pg from data.components.state_machine import _State from data.core.tools import scaled_mouse_pos from data.core import constants as prog_constants from data.components.labels import Label, ButtonGroup from data.components.special_buttons import NeonButton from .. import constants class LevelFail(_S...
[ "easinerf@gmail.com" ]
easinerf@gmail.com
b29a1e598f2e2fc26af73f214978b0998c04b461
8c917dc4810e2dddf7d3902146280a67412c65ea
/v_7/NISS/common_shamil_v3/hr_violation_punishment/__openerp__.py
719dad2e987819e3bcda88edba479c93f4c3fcff
[]
no_license
musabahmed/baba
d0906e03c1bbd222d3950f521533f3874434b993
0b997095c260d58b026440967fea3a202bef7efb
refs/heads/master
2021-10-09T02:37:32.458269
2018-12-20T06:00:00
2018-12-20T06:00:00
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,110
py
# -*- coding: utf-8 -*- ############################################################################## # # NCTR, Nile Center for Technology Research # Copyright (C) 2013-2014 NCTR (<http://www.nctr.sd>). # ############################################################################## { 'name': 'Employee Viol...
[ "bakry@exp-sa.com" ]
bakry@exp-sa.com
26726fa6fa874f79a109c4fc897e9f4671bd5ca7
439386f9097632d44d31d1f599df76ec2820d072
/性能项目/统一大厅常规checklist/1601/DFQP/src/uilib/exchange_page.py
100b9e01ac952280dbe97665969e45d263c46165
[]
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
171
py
#!/usr/bin/env python # -*- coding:utf-8 -*- #Author: MindyZhang ''' 兑换奖品场景 ''' from appiumcenter.element import Element class Exchange_Page(Element): pass
[ "YoungLiu@boyaa.com" ]
YoungLiu@boyaa.com
a5a75d90679c6ca3fd506ea8dfbafd949dc61360
d488f052805a87b5c4b124ca93494bc9b78620f7
/google-cloud-sdk/lib/googlecloudsdk/core/updater/release_notes.py
977fe1c29e08b001c9d41029efce76a4f5bf998e
[ "MIT", "LicenseRef-scancode-unknown-license-reference", "Apache-2.0" ]
permissive
PacktPublishing/DevOps-Fundamentals
5ce1fc938db66b420691aa8106ecfb3f9ceb1ace
60597e831e08325c7e51e8557591917f7c417275
refs/heads/master
2023-02-02T04:48:15.346907
2023-01-30T08:33:35
2023-01-30T08:33:35
131,293,311
13
19
null
null
null
null
UTF-8
Python
false
false
7,835
py
# Copyright 2015 Google Inc. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or ag...
[ "saneetk@packtpub.com" ]
saneetk@packtpub.com
5ae862e9d518c2f20efcded062ee983747e72c04
4778bb52672e5bfd3bc227fd46bd3e2262146788
/check_pickle_data.py
77936b0793afdc053427dfe6f921049916de9d4f
[]
no_license
vyshor/NTU_timetable_generator
cf5d2914a52d41ca1087259fafe215d3298cfd3d
e7223fd98da718232af85e960bddc9e88ee02e5d
refs/heads/master
2021-06-02T09:12:44.419674
2021-05-20T14:25:04
2021-05-20T14:25:04
135,579,641
1
0
null
null
null
null
UTF-8
Python
false
false
245
py
import pandas as pd import pickle import os.path if os.path.isfile('database.p'): with open('database.p', 'rb') as f: store = pickle.load(f) print(store.keys()) print([x for x in store.keys() if 'CZ' in x]) print(store['HE9091'])
[ "vyshornehc@gmail.com" ]
vyshornehc@gmail.com
9d2088838424734104abac49d03bc31bad104416
ca48bab2e2ffca8bb351050791f3b94bccc886b9
/final report/interpreter2.py
95afe2a50ddc908c1b87ab7b75229f75451ed525
[]
no_license
haaksmash/QUI
ff394205bd3c3c089d23c0de66bcc4de6bc4e65b
f1cc2b3e999bebc7811598bde0f3ffddba216e65
refs/heads/master
2020-04-06T03:35:15.499196
2011-12-10T09:21:55
2011-12-10T09:21:55
2,872,173
0
0
null
null
null
null
UTF-8
Python
false
false
231
py
$ python -i FileModel.py >>> f = FileModel() >>> f.size = "really big" Traceback (most recent call last): ... ... fields.ValidationError: Could not convert to int: really big >>> f.size = 100 >>> f.size 100 >>>
[ "haak.erling@gmail.com" ]
haak.erling@gmail.com
21c63146676fd30217432916e59f7094633339a4
1a9852fe468f18e1ac3042c09286ccda000a4135
/Specialist Certificate in Data Analytics Essentials/DataCamp/05-Working_with_Dates_and_Times/e23_march_29_throughout_a_decade.py
f8a0f897b1922372263e9afbb7bb4c04be5da9a8
[]
no_license
sarmabhamidipati/UCD
452b2f1e166c1079ec06d78e473730e141f706b2
101ca3152207e2fe67cca118923896551d5fee1c
refs/heads/master
2023-08-14T15:41:24.312859
2021-09-22T17:33:01
2021-09-22T17:33:01
386,592,878
0
0
null
null
null
null
UTF-8
Python
false
false
739
py
""" For example, in the United Kingdom, as of the time this lesson was written, Daylight Saving begins on the last Sunday in March. Let's look at the UTC offset for March 29, at midnight, for the years 2000 to 2010. Using tz, set the timezone for dt to be 'Europe/London'. Within the for loop: Use the .repl...
[ "b_vvs@yahoo.com" ]
b_vvs@yahoo.com
fa469309fe18cbe3e77032ace895be4cfa02963f
aa7049506e929693941436f93e22b13ff3122650
/clubs/migrations/0002_club_club_picture.py
95e50125132ee8e4eda71cd2d4fd2b4b1f9cfa77
[]
no_license
austinbrovick/bellevue_college_hackathon
24aa5f1ef64c4a4b85dd50e1f6dd628be15f3817
2ad9fa6c5ea79e8a34d55df8e21838aeb8fd044f
refs/heads/master
2021-05-31T16:08:32.770057
2016-05-21T16:54:46
2016-05-21T16:54:46
null
0
0
null
null
null
null
UTF-8
Python
false
false
508
py
# -*- coding: utf-8 -*- # Generated by Django 1.9.6 on 2016-05-20 07:24 from __future__ import unicode_literals import clubs.models from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('clubs', '0001_initial'), ] operations = [ migrations.Add...
[ "austinbrovick@gmail.com" ]
austinbrovick@gmail.com
9475e978727f421d6640b6c19aa2463bef419be8
e9e717e8dd8d05ccf39170492721559076312a50
/{{ cookiecutter.repo_name }}/src/transform.py
37973295657a02ee98c67018a41f22b4433f8016
[ "MIT" ]
permissive
alexkyllo/workbench-py
bf9ca182eb86ddfb828887ee459a63212373c79d
c0f56450a416fda6905b2f8ee087d414bcc0dd95
refs/heads/master
2022-12-08T12:02:01.038914
2020-09-04T05:28:33
2020-09-04T05:28:33
291,903,232
0
0
null
null
null
null
UTF-8
Python
false
false
1,407
py
"""transform.py fit a transformer on test data to transform test and training data. """ import os import logging import dotenv import click import joblib from sklearn import preprocessing, impute, pipeline, compose @click.command() @click.argument("input_file", type=click.Path(exists=True)) @click.argument("output_fil...
[ "alex.kyllo@gmail.com" ]
alex.kyllo@gmail.com
4240df00eb5010e26f95c087f229324170c9f756
18a6b272d4c55b24d9c179ae1e58959674e53afe
/tf_rl/examples/Sutton_RL_Intro/ch4_DP/value_iteration.py
60e7e8461ec89060fd9007c1bb8e4dffbb0be478
[ "MIT" ]
permissive
Rowing0914/TF2_RL
6cce916f409b3d4ef2a5a40a0611908f20d08b2c
c1b7f9b376cbecf01deb17f76f8e761035ed336a
refs/heads/master
2022-12-10T09:58:57.456415
2021-05-23T02:43:21
2021-05-23T02:43:21
233,476,950
9
1
MIT
2022-12-08T07:02:42
2020-01-12T23:53:48
Python
UTF-8
Python
false
false
854
py
# Following the algo in section 4.4 Value Iteration from policy_evaluation import Policy_Evaluation import sys import numpy as np if "../" not in sys.path: sys.path.append("../") from utils.envs.grid_world import GridworldEnv def Value_Iteration(env, policy, state_value, gamma, theta): state_value = Policy...
[ "kosakaboat@gmail.com" ]
kosakaboat@gmail.com
ae317d3819b06f5de71f3da6f88fc4df21141864
b593247a2bf162819eea6820b6a25c7a659d2f76
/Unit 07 Lists and Functions/01 Lists and Functions/1 List Recap/4-Removing elements from lists.py
8f667b9e1e80ddb0e19190278409ab25d8eb16c0
[]
no_license
Angelpacman/codecademy-py3
d4d727857a8894fec5dd3d78c00f3f25f31979dc
729d232a8732e53bdf0131246b043354ed933614
refs/heads/master
2020-03-28T02:50:31.431167
2019-01-26T01:07:01
2019-01-26T01:07:01
147,601,355
0
0
null
null
null
null
UTF-8
Python
false
false
272
py
n = [1, 3, 5] # Removes 1 from the list, # NOT the item at index 1 n.remove(1) # Another possible solution, will remove the item at the given index: del(n[0]) # Another possible solution will remove the item at index from the list and return it to you: n.pop(0) print (n)
[ "angelr4a1@gmail.com" ]
angelr4a1@gmail.com
6cf0154e33520dc042d50a3f03c9ef013abaeca8
1e5c6f4b08d9470fce248cf39e6dccce40e90a41
/codes/11/vpython_mouse.py
1dfa5be57b729a6fc2531903cb36ec3f2576e212
[]
no_license
misaiya99/scipybook2
1529cfb7f800df2ef7ce024a86281af16e343a37
734ba177b4705cc25da695d42a8cbada7cd22bd9
refs/heads/master
2020-03-10T21:26:23.595494
2017-08-25T09:48:07
2017-08-25T09:48:07
null
0
0
null
null
null
null
UTF-8
Python
false
false
748
py
# -*- coding: utf-8 -*- from visual import * text = label(pos=(0, -2, 0)) sphere(pos=(0,2,0)) box(pos = (2, 0, 0)) ray = arrow(pos=(0,0,0), color=(1,0,0)) while True: rate(30) texts = [] for attrname in ["pos", "pick", "pickpos", "camera", "ray"]: texts.append("%s=%s" % (attrname, getat...
[ "qytang326@gmail.com" ]
qytang326@gmail.com
4d53d7f73ebb9720864f89da0c2327cfa136e2c2
54ddb3f38cd09ac25213a7eb8743376fe778fee8
/topic_05_data_structure/practice/zip_1_common.py
4236c882354be343b387f643ccd4d9be6d9b4296
[]
no_license
ryndovaira/leveluppythonlevel1_300321
dbfd4ee41485870097ee490f652751776ccbd7ab
0877226e6fdb8945531775c42193a90ddb9c8a8b
refs/heads/master
2023-06-06T07:44:15.157913
2021-06-18T11:53:35
2021-06-18T11:53:35
376,595,962
0
0
null
null
null
null
UTF-8
Python
false
false
1,648
py
""" Функция zip_common. Принимает 3 аргумента: список, строку и кортеж. Возвращает список (list) с тройками значений из каждого аргумента. ВНИМАНИЕ: для строки один элемент = один символ (Порядок проверки именно такой:) Если вместо list передано что-то другое, то возвращать строку 'First arg must be list!'. Если вм...
[ "ryndovaira@gmail.com" ]
ryndovaira@gmail.com
6856e89aa1d898a889e5af7dae23b5576017b49c
292cec77b5003a2f80360d0aee77556d12d990f7
/typings/filetype/types/video.pyi
9b61193428fe1cf6d3aee36815c69fc32f0d96e0
[ "Apache-2.0" ]
permissive
yubozhao/BentoML
194a6ec804cc1c6dbe7930c49948b6707cbc3c5f
d4bb5cbb90f9a8ad162a417103433b9c33b39c84
refs/heads/master
2022-12-17T00:18:55.555897
2022-12-06T00:11:39
2022-12-06T00:11:39
178,978,385
3
0
Apache-2.0
2020-12-01T18:17:15
2019-04-02T01:53:53
Python
UTF-8
Python
false
false
2,296
pyi
""" This type stub file was generated by pyright. """ from .base import Type from .isobmff import IsoBmff class Mp4(IsoBmff): """ Implements the MP4 video type matcher. """ MIME = ... EXTENSION = ... def __init__(self) -> None: ... def match(self, buf): # -> bool: ... ...
[ "noreply@github.com" ]
yubozhao.noreply@github.com
9b750390731edd5a1a683067240907563877df45
7a66ff970580297ba50b0d4bdd0406352071c05a
/Pyscience/3. numpy.py
5662327a3911c27438e44e19446518f84358e67d
[]
no_license
zero-big/Python-Basic
1ab3da9d09983d937b410ca9ec1741424ebaa3ae
5cd2eaa822aedb46a79283a6007b900a3c9665c8
refs/heads/master
2023-08-03T13:10:22.556732
2021-09-24T11:35:50
2021-09-24T11:35:50
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,391
py
import numpy as np # 1. 배열 만들기 : array b = np.array([2, 4, 6, 8]) print(b) # [2 4 6 8] # ndim : 랭크를 반환 print(b.ndim) # 1 # size : 배열에 있는 값의 총 개수 반환 print(b.size) # 4 # shape : 각 랭크에 있는 값의 개수 반환 print(b.shape) # (4,) a = np.arange(10) print(a) # [0 1 2 3 4 5 6 7 8 9] print(a.ndim) # 1 print(a.shape) ...
[ "bosl95@naver.com" ]
bosl95@naver.com
4bc2b97cfdf5ecd84e54794669f4b1629022175a
d3efc82dfa61fb82e47c82d52c838b38b076084c
/utils/insertOrder.py
85952c6096e1e1cff45f6714581d1c7d9b599c2b
[]
no_license
nantongzyg/xtp_test
58ce9f328f62a3ea5904e6ed907a169ef2df9258
ca9ab5cee03d7a2f457a95fb0f4762013caa5f9f
refs/heads/master
2022-11-30T08:57:45.345460
2020-07-30T01:43:30
2020-07-30T01:43:30
280,388,441
0
0
null
null
null
null
UTF-8
Python
false
false
2,208
py
#!/usr/bin/python # -*- encoding: utf-8 -*- import sys sys.path.append("/home/yhl2/workspace/xtp_test/xtp/api") from xtp_test_case import * sys.path.append("/home/yhl2/workspace/xtp_test/service") from QueryStkPriceQty import * import time a = [] i = 0 def insertOrder(order_client_id): case_goal = { 'case...
[ "418033945@qq.com" ]
418033945@qq.com