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
80c17d8f71b2c154e6a79fc0e019d8b3749683f8
eaf54e6c022b748fd0d04f076634aafdfad5f69f
/motors/tools/enable_test.py
a873643226d5ae664ca70200712378dfb4e4abd4
[]
no_license
PenguPilot/PenguPilot
91f131effa11a3c1ef47abb161463772325ae63b
9cb08836789cf17b9de57517040188c79765046b
refs/heads/ng-wip
2020-03-28T00:41:06.634109
2015-11-19T16:06:00
2015-11-19T16:06:00
7,300,320
78
30
null
2015-11-19T16:06:00
2012-12-24T00:18:48
C
UTF-8
Python
false
false
1,364
py
#!/usr/bin/env python """ ___________________________________________________ | _____ _____ _ _ _ | | | __ \ | __ (_) | | | | | | |__) |__ _ __ __ _ _ _| |__) || | ___ | |_ | | | ___/ _ \ '_ \ / _` | | | | ___/ | |/ _ \| __| | | | | | __/ | | |...
[ "tobias.simon@tu-ilmenau.de" ]
tobias.simon@tu-ilmenau.de
0690830ce3ac14f34a1c85b94348aab7a7d9b37f
1db2e2238b4ef9c1b6ca3b99508693ee254d6904
/develop/md_sim_holo_analysis/plot_cc_data.py
d5b6fd2975790d699c8e3b82243558e3a33f4170
[]
no_license
pgreisen/pythonscripts
8674e08095f76edf08ef2059300349218079724c
0aadf8f96d19b306c1bc44a772e766a06fe3408b
refs/heads/master
2021-07-06T23:54:57.774342
2021-06-08T19:36:36
2021-06-08T19:36:36
22,017,192
3
0
null
null
null
null
UTF-8
Python
false
false
257
py
from numpy import * import sys def get_matrix(datafile): return matrixfile def main(): inputfile = sys.argv[1] with open(inputfile, 'r') as f: for line in f: print len(line.split()) if __name__ == "__main__": main()
[ "pgreisen@gmail.com" ]
pgreisen@gmail.com
f70a761e34b86161b69ddcd65bbc7765bcdabcb8
95540a155c043dd84ea6c0fb7d59ba06dc78b875
/python/第三周:自助小练习/3.天堂图片网.py
a5fee2fb4afdc4fa8f2dc1cc71cc084044603f84
[]
no_license
Lilenn/must
41b95d8e80f48a6b82febb222936bbc3502cc01f
a510a8d0e58fde1bc97ab7ad9bd2738158dcba5e
refs/heads/master
2020-04-09T23:09:20.116439
2018-12-06T09:02:09
2018-12-06T09:02:09
160,648,431
0
0
null
null
null
null
UTF-8
Python
false
false
57
py
from lxml import etree import requests import shutil,os
[ "846077763@qq.com" ]
846077763@qq.com
f356b46e0e3ef8c8113b7799bab89f96ae631642
09e5cfe06e437989a2ccf2aeecb9c73eb998a36c
/base/lib/python2.7/site-packages/wx-3.0-gtk2/wx/tools/Editra/src/extern/stcprint.py
e477e0d248b68e8f79b14a351f09dbd9616d09a7
[ "BSD-3-Clause", "LGPL-2.0-or-later", "WxWindows-exception-3.1", "LicenseRef-scancode-python-cwi", "GPL-1.0-or-later", "LicenseRef-scancode-other-copyleft", "LicenseRef-scancode-free-unknown", "Python-2.0" ]
permissive
jorgediazjr/dials-dev20191018
b81b19653624cee39207b7cefb8dfcb2e99b79eb
77d66c719b5746f37af51ad593e2941ed6fbba17
refs/heads/master
2020-08-21T02:48:54.719532
2020-01-25T01:41:37
2020-01-25T01:41:37
216,089,955
0
1
BSD-3-Clause
2020-01-25T01:41:39
2019-10-18T19:03:17
Python
UTF-8
Python
false
false
25,840
py
#----------------------------------------------------------------------------- # Name: stcprint.py # Purpose: wx.StyledTextCtrl printing support # # Author: Rob McMullen # # Created: 2009 # RCS-ID: $Id: stcprint.py 67499 2011-04-15 20:33:40Z CJP $ # Copyright: (c) 2009 Rob McMullen <robm@user...
[ "jorge7soccer@gmail.com" ]
jorge7soccer@gmail.com
c5b358ad0899de087b7ee223a7bcd45f3ad3f642
a333ef95f7deeb7a0a6ee4700beb022dc7649256
/ecommerce/forms.py
e21e2d600b125de9ddfc4520c15ab34d25323cb8
[]
no_license
gmachielsen/fullstackproject
3884dc2b301c3aeab1eb6aa025159754e5a3b9ea
7a4879d9fb83ec5c83ff39ea12f7986deae4cfcc
refs/heads/master
2020-07-27T04:25:04.494803
2019-10-07T13:35:43
2019-10-07T13:35:43
208,867,108
0
0
null
null
null
null
UTF-8
Python
false
false
1,477
py
from django import forms from django.contrib.auth import get_user_model User = get_user_model() class ContactForm(forms.Form): fullname = forms.CharField( widget=forms.TextInput( attrs={ "class": "form-control"...
[ "g.machielsen@gmail.com" ]
g.machielsen@gmail.com
ccdb326548458a86ef14d736d9d50c92db7f1157
a74b980fd95d5d810315f181449fc9d1710e6923
/phonedata/yeahnet.py
ed6ea5f874b95e8ee37ab7dee51a5a1e02d7bdf8
[ "Apache-2.0" ]
permissive
cbbbbbbbb/sspywork
b70f5539203b47b21eec2f0514ddca155affc2b8
8f05a6b91fc205960edd57f9076facec04f49a1a
refs/heads/master
2023-03-22T19:45:13.024076
2021-03-08T01:24:21
2021-03-08T01:24:21
null
0
0
null
null
null
null
UTF-8
Python
false
false
3,741
py
""" 获取yeahnet邮箱的信息 create by swm 2018/05/29 """ import requests class MAIL: def __init__(self): self.cookie = 'starttime=; NTES_SESS=piyH0LD0YptBM8leUeE478YlP7T8.Vgig.MBVVoa5OYn_q13_H8IY.T_jau1Xgd13aK5m3qSOIgAXZoIvQ5woT3FPsROJ0QIeSIcFGHnqdecWJhKt57dXjBMcAe._UfATVVcxmFpPiC8JDSOTYF22vro.RoXSY7ZXU1AouztMtkGb...
[ "shiyuegege@qq.com" ]
shiyuegege@qq.com
03e28e10b2f413a51c84df41bcf5de6ac327d799
bb33e6be8316f35decbb2b81badf2b6dcf7df515
/source/res/scripts/client/messenger/proto/bw_chat2/__init__.py
ac4f1deb4dfe87e1d77ff2abdd87fb006403ac1c
[]
no_license
StranikS-Scan/WorldOfTanks-Decompiled
999c9567de38c32c760ab72c21c00ea7bc20990c
d2fe9c195825ececc728e87a02983908b7ea9199
refs/heads/1.18
2023-08-25T17:39:27.718097
2022-09-22T06:49:44
2022-09-22T06:49:44
148,696,315
103
39
null
2022-09-14T17:50:03
2018-09-13T20:49:11
Python
UTF-8
Python
false
false
4,907
py
# Python bytecode 2.7 (decompiled from Python 2.7) # Embedded file name: scripts/client/messenger/proto/bw_chat2/__init__.py from messenger import g_settings from messenger.m_constants import MESSENGER_SCOPE, PROTO_TYPE from messenger.proto.bw_chat2 import chat_handlers from messenger.proto.bw_chat2.VOIPChatProvider im...
[ "StranikS_Scan@mail.ru" ]
StranikS_Scan@mail.ru
481aef95b2e0e4b7e38a5f718281cc3d4c43de04
5e6d8b9989247801718dd1f10009f0f7f54c1eb4
/sdk/python/pulumi_azure_native/containerservice/snapshot.py
146c8fe3f5c751dc328ebf2524362453d22cb87b
[ "BSD-3-Clause", "Apache-2.0" ]
permissive
vivimouret29/pulumi-azure-native
d238a8f91688c9bf09d745a7280b9bf2dd6d44e0
1cbd988bcb2aa75a83e220cb5abeb805d6484fce
refs/heads/master
2023-08-26T05:50:40.560691
2021-10-21T09:25:07
2021-10-21T09:25:07
null
0
0
null
null
null
null
UTF-8
Python
false
false
12,040
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 from...
[ "noreply@github.com" ]
vivimouret29.noreply@github.com
620b7c3b1f1b3ae6cb598abf93fc176deb65cae5
5c0c0176db0ccf2c24b6b5ed459a8dc144518b13
/nni/nas/tensorflow/base_mutator.py
860680f199278d3fd38910b82e7661b17d2f652e
[ "MIT" ]
permissive
petuum/nni
ac4f4a1c4d6df71684eeffa127b7c4858fd29e97
8134be6269902939232482d63649c06f9864be6d
refs/heads/master
2023-02-18T11:21:41.078889
2021-01-20T03:21:50
2021-01-20T03:21:50
302,736,456
4
3
MIT
2020-11-20T20:21:15
2020-10-09T19:34:11
Python
UTF-8
Python
false
false
2,957
py
# Copyright (c) Microsoft Corporation. # Licensed under the MIT license. from tensorflow.keras import Model from .mutables import Mutable, MutableScope, InputChoice from .utils import StructuredMutableTreeNode class BaseMutator(Model): def __init__(self, model): super().__init__() self.__dict__[...
[ "noreply@github.com" ]
petuum.noreply@github.com
108d1dfb0862d12efa5e05cbbe676147dcf2ad65
32daa457e295c74b96c99f74a6a3031cf03c571e
/aliyun-python-sdk-onsmqtt/aliyunsdkonsmqtt/request/v20191211/ApplyTokenRequest.py
c2f46482b8d34454284f4fd68b823522489df47f
[ "Apache-2.0" ]
permissive
BertonLan/aliyun-openapi-python-sdk
0836057c888f7534f37b0001fe2a338c6d505e8e
fd9723c2a800b991179231c1ac4bc92dd8bb5934
refs/heads/master
2022-04-23T16:57:26.354904
2020-04-22T02:51:45
2020-04-22T02:51:45
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,664
py
# Licensed to the Apache Software Foundation (ASF) under one # or more contributor license agreements. See the NOTICE file # distributed with this work for additional information # regarding copyright ownership. The ASF licenses this file # to you under the Apache License, Version 2.0 (the # "License"); you may not u...
[ "sdk-team@alibabacloud.com" ]
sdk-team@alibabacloud.com
69f21e60bf08fd723da51b261ecc602779004ec5
3eb20ec4cf54cd01fc71caa3e8561ef1ff80b893
/revyoume_club/admin.py
00b452e6560ea90fc25b570e531a788c63bcb318
[]
no_license
hottredpen/laowai_panda
38f0db4f6d848ed0b7b6449d1bc77aa952dac695
e862bbe64b84698b7981176c7c190775edf99a67
refs/heads/master
2023-01-03T05:11:01.012487
2020-10-12T08:04:19
2020-10-12T08:04:19
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,420
py
from django.contrib import admin from .models import * from solo.admin import SingletonModelAdmin from django import forms from django.contrib import messages # Register your models here. class PostInline(admin.TabularInline): model = Post extra = 0 readonly_fields = ('text', 'type', ...
[ "893287656@qq.com" ]
893287656@qq.com
cc4076f02f63594508a9d96b275032e977bddf42
ca7aa979e7059467e158830b76673f5b77a0f5a3
/Python_codes/p03003/s019657668.py
2a8dd04d77c9270c431b31d84ff7f1a1871ddf1e
[]
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
372
py
#15:35 h,w = map(int,input().split()) a = list(map(int,input().split())) b = list(map(int,input().split())) mod = 10 ** 9 + 7 now = [1 for _ in range(w+1)] for i in range(h): last = now now = [1] for j in range(w): if a[i] == b[j]: now.append((last[j+1]+now[-1])%mod) else: now.append((last[j+1...
[ "66529651+Aastha2104@users.noreply.github.com" ]
66529651+Aastha2104@users.noreply.github.com
9778a8ca7ff30e47c535cb48b6e916ec98ae7099
c9dc1df17ecb9e279eb4403b83358363cdbe7fee
/project/urls.py
3c97f6855709a1835bcf8389736c05b2eba7bea8
[]
no_license
m0nte-cr1st0/keyua
c3894a94c9bfe73409078be11cb1d3f64831054c
b964ebb7e260fbebdbc27e3a571fed6278196cac
refs/heads/master
2022-11-25T16:03:51.882386
2020-01-09T12:57:54
2020-01-09T12:57:54
232,809,529
0
0
null
2022-11-22T02:24:49
2020-01-09T12:58:10
Python
UTF-8
Python
false
false
1,534
py
"""IncheckSite URL Configuration The `urlpatterns` list routes URLs to views. For more information please see: https://docs.djangoproject.com/en/1.10/topics/http/urls/ Examples: Function views 1. Add an import: from my_app import views 2. Add a URL to urlpatterns: url(r'^$', views.home, name='home') Clas...
[ "dinamo.mutu111@gmail.com" ]
dinamo.mutu111@gmail.com
dd23642f0663cc57638424411a54c21671bcc149
35a88ca38bb850b5c82d8a4e4de430d1d48660b7
/www_dytt8_net/www_dytt8_net/spiders/dytt8.py
b7eca5b30f78c900600914c17c3e5cbc47451ade
[]
no_license
gyc567/spider_world
3798cf854efcaacc4918c82358836480e6245a11
4bf04e5a4b0578cd7a28c14f3c10f9a0cad63f7c
refs/heads/master
2020-05-22T02:14:12.210582
2019-05-07T12:34:06
2019-05-07T12:34:06
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,690
py
# -*- coding: utf-8 -*- import re import scrapy import sys from scrapy.linkextractors import LinkExtractor from scrapy.spiders import CrawlSpider, Rule from scrapy.loader.processors import Compose from www_dytt8_net.items import WwwDytt8NetItem class Dytt8Spider(CrawlSpider): __ERROR_INFO = "很抱歉,您要访问的页面已被删除或不存在。...
[ "funblessu@gmail.com" ]
funblessu@gmail.com
d87431582d1e6699e5bfae0c1ec66b9c87041503
eacfc1c0b2acd991ec2cc7021664d8e79c9e58f6
/ccpnmr2.4/python/ccpnmr/analysis/popups/BrowseStrucGen.py
d6a57c109db13ce4d0d86d320642832b5b103990
[]
no_license
edbrooksbank/ccpnmr2.4
cfecb0896dcf8978d796e6327f7e05a3f233a921
f279ca9bb2d972b1ce075dad5fcc16e6f4a9496c
refs/heads/master
2021-06-30T22:29:44.043951
2019-03-20T15:01:09
2019-03-20T15:01:09
176,757,815
0
1
null
2020-07-24T14:40:26
2019-03-20T14:59:23
HTML
UTF-8
Python
false
false
15,870
py
""" ======================COPYRIGHT/LICENSE START========================== BrowseStrucGen.py: Part of the CcpNmr Analysis program Copyright (C) 2003-2010 Wayne Boucher and Tim Stevens (University of Cambridge) ======================================================================= The CCPN license can be found in ...
[ "ejb66@le.ac.uk" ]
ejb66@le.ac.uk
5cb10b21ff50792c7351d990d7a45c0414b624f8
8040c2be85e686df30143600ed91100b6094812a
/csv-file-operation/csvFileGen2.py
c3d7c7992c25a52c3e574525bb8070c6b63f51b7
[]
no_license
eLtronicsVilla/Miscellaneous-Useful-code
0b6e3d6dd4b9feca3364f98929e26ee9da3221af
cc5be1e8b8e9b0d2f49f2abcba16b2548bf4a41e
refs/heads/master
2021-08-07T23:16:08.088315
2020-05-22T19:38:17
2020-05-22T19:38:17
181,491,048
0
0
null
2019-05-18T09:06:46
2019-04-15T13:19:55
Python
UTF-8
Python
false
false
703
py
#!/usr/bin/env python3 # -*- coding: utf-8 -*- """ Created on Thu Apr 11 16:23:34 2019 @author: brijesh Gupta """ import csv import os import sys import time with open('Test.csv','wb') as csvfile: filewriter = csv.writer(csvfile, delimiter=',',quotechar='|',quoting=csv.QUOTE_MINIMAL) filewriter.writerow(['SN','Dat...
[ "eltronicsvilla17@gmail.com" ]
eltronicsvilla17@gmail.com
f09f51e942e96e258583d9deb9f7490ac54883aa
f3fdfdf714e23ef69c9ce6631c188f1ebc328546
/setup.py
a65c551e0c1b8aae6a58f0ff2a4edfb44f1e6111
[ "BSD-2-Clause" ]
permissive
liujie40/PSpider
bf2a134812ce81357588b260cee9e3d039c73df0
f1162c777ec87250edfd2532882eb15b8d712e6a
refs/heads/master
2022-02-21T18:20:41.468852
2022-01-19T06:55:54
2022-01-19T06:56:00
112,547,656
1
0
null
2017-11-30T01:17:47
2017-11-30T01:17:47
null
UTF-8
Python
false
false
383
py
# _*_ coding: utf-8 _*_ """ install script: python3 setup.py install """ from setuptools import setup, find_packages setup( name="spider", version="3.0.4", author="xianhu", keywords=["spider", "crawler"], packages=find_packages(exclude=("test.*",)), package_data={ "config": ["*.conf"]...
[ "qixianhu@qq.com" ]
qixianhu@qq.com
4380d953b1142157b79abdcc6ac89919e7e88fc9
90f545733f076747bad979faa3a8cf23867f7a3a
/HS5f.py
a49ff24bdca897a53c0c4690860b5d5d81f31ae2
[]
no_license
kunweiTAN/techgym_ai
f85dc52ce6e75f4c08213d5796171908beb9a69e
051274bcc789a563c46ed5661301535e76ae1e18
refs/heads/master
2023-08-17T05:15:18.758183
2021-09-21T11:57:07
2021-09-21T11:57:07
null
0
0
null
null
null
null
UTF-8
Python
false
false
775
py
#AI-TECHGYM-4-7-Q-1(AI-TECHGYM-3-20-Q-1) #回帰問題と分類問題 #インポート from sklearn.ensemble import GradientBoostingClassifier from sklearn.ensemble import AdaBoostClassifier from sklearn.model_selection import train_test_split from sklearn.datasets import load_iris from sklearn.metrics import accuracy_score iris = loa...
[ "noreply@github.com" ]
kunweiTAN.noreply@github.com
1cfebbe7fd51cc5599eba80d68db0e7cd7e7fbdd
2d694018e5f1ca0d8a60e2ecd3debc094a0ce9a2
/venv/Scripts/autopep8-script.py
03573f16b86b67d8a2fcfee0dfb8e380b465a0ce
[]
no_license
gajanantadas/Ecommerce_project
9a380fd5c0c37440b3d48982a9aac742d6831d2a
0b0251d30f8a10a79f72cc8dfb2780d99e62fe05
refs/heads/master
2023-03-05T03:51:02.690861
2021-02-15T07:43:34
2021-02-15T07:43:34
338,998,863
0
0
null
null
null
null
UTF-8
Python
false
false
428
py
#!"G:\New folder\Ecommerce_project\venv\Scripts\python.exe" # EASY-INSTALL-ENTRY-SCRIPT: 'autopep8==1.5.4','console_scripts','autopep8' __requires__ = 'autopep8==1.5.4' import re import sys from pkg_resources import load_entry_point if __name__ == '__main__': sys.argv[0] = re.sub(r'(-script\.pyw?|\.exe)?$', '', sy...
[ "gajanantadas3@gmail.com" ]
gajanantadas3@gmail.com
a8b19f48de819574504f9c9c8e74496ef9571385
5e9dedabeeabf45d9e3e76bc884bdb6f7a76ed92
/server/src/uds/services/OVirt/OVirtLinkedService.py
827f4fcff5ba7f8f16546c8e3da600a8d10558fb
[]
no_license
kostyan6812/openuds
7f98e7db8031685cc69490ab270c8e2179a983eb
4793667435923fd7db5c92007b30eab2839aaca1
refs/heads/master
2021-01-22T19:30:50.017752
2017-03-15T09:54:06
2017-03-15T09:54:06
null
0
0
null
null
null
null
UTF-8
Python
false
false
15,254
py
# -*- coding: utf-8 -*- # # Copyright (c) 2012 Virtual Cable S.L. # All rights reserved. # # Redistribution and use in source and binary forms, with or without modification, # are permitted provided that the following conditions are met: # # * Redistributions of source code must retain the above copyright notice, #...
[ "dkmaster@dkmon.com" ]
dkmaster@dkmon.com
d74d978814589cb360e60156707fb640d5ac8a75
6b587069460046cefbb3f2d18bafbbe4ffbc00d1
/further_study.py
74b6ba5f552ad93ec1ae9135307eced4fe91d5bd
[]
no_license
rachel-lynch-lin/list-slicing
bd992c84ff5865d2b9010e80f9fc01648f161906
d598df20941f34a6e993b73897cfada38f52ca88
refs/heads/master
2020-03-21T06:40:38.214931
2018-06-22T00:06:16
2018-06-22T00:06:16
null
0
0
null
null
null
null
UTF-8
Python
false
false
7,103
py
"""Custom implementations of several standard Python list methods. Implement your own versions of Python's standard list methods, as functions. You should use only the primitive operations from Part 1 and 2 in your implementations. For loops are also allowed, such as the following: for element in some_list: ...
[ "no-reply@hackbrightacademy.com" ]
no-reply@hackbrightacademy.com
839bbb95ff3a972b5ab6d75ef01bd4339081612a
64bf39b96a014b5d3f69b3311430185c64a7ff0e
/intro-ansible/venv3/lib/python3.8/site-packages/ansible_collections/inspur/sm/plugins/modules/download_auto_screenshot.py
7c8f830ec5e4a390bc12d58743e4817959ff16e9
[ "MIT", "GPL-3.0-only", "GPL-3.0-or-later" ]
permissive
SimonFangCisco/dne-dna-code
7072eba7da0389e37507b7a2aa5f7d0c0735a220
2ea7d4f00212f502bc684ac257371ada73da1ca9
refs/heads/master
2023-03-10T23:10:31.392558
2021-02-25T15:04:36
2021-02-25T15:04:36
342,274,373
0
0
MIT
2021-02-25T14:39:22
2021-02-25T14:39:22
null
UTF-8
Python
false
false
2,448
py
#!/usr/bin/python # -*- coding:utf-8 -*- # Copyright (C) 2020 Inspur Inc. All Rights Reserved. # GNU General Public License v3.0+ (see COPYING or https://www.gnu.org/licenses/gpl-3.0.txt) from __future__ import (absolute_import, division, print_function) __metaclass__ = type DOCUMENTATION = ''' --- module: download...
[ "sifang@cisco.com" ]
sifang@cisco.com
e4bf678fe219d6b3554fa9948f51af523385ce03
b2b79cc61101ddf54959b15cf7d0887d114fb4e5
/web/pgadmin/tools/debugger/tests/test_restart_debugger.py
6c30562bf91dcb925a73c5ff388af96cf835ee8a
[ "PostgreSQL" ]
permissive
99Percent/pgadmin4
8afe737eb2ec1400ab034ad1d8a4f7c4ba4c35c8
5e0c113c7bc4ffefbec569e7ca5416d9acf9dd8a
refs/heads/master
2021-10-10T20:08:48.321551
2021-09-30T12:51:43
2021-09-30T12:51:43
165,702,958
0
0
NOASSERTION
2019-01-14T17:18:40
2019-01-14T17:18:39
null
UTF-8
Python
false
false
3,016
py
########################################################################## # # pgAdmin 4 - PostgreSQL Tools # # Copyright (C) 2013 - 2021, The pgAdmin Development Team # This software is released under the PostgreSQL Licence # ########################################################################## import json impor...
[ "akshay.joshi@enterprisedb.com" ]
akshay.joshi@enterprisedb.com
efda514ddc0e46df56878a94c5569a740445e0fb
d429c131df32789e11a98e9e965e652176fcee97
/454B - Little Pony and Sort by Shift.py
8dcfd32741c9cd4e29c47a0c82bd29701b71a480
[]
no_license
shan-mathi/Codeforces
a11841a1ef1a1ef78e3d506d58d9fdf4439421bd
6f8166b79bea0eb1f575dbfc74c252ba71472c7e
refs/heads/main
2023-06-15T08:25:41.130432
2021-06-24T10:36:06
2021-06-24T10:36:06
341,176,287
0
0
null
null
null
null
UTF-8
Python
false
false
546
py
#118706045 Jun/07/2021 14:53UTC+5.5 Shan_XD 454B - Little Pony and Sort by Shift PyPy 3 Accepted 218 ms def one_shift(n,x): c = x.copy() c.sort() if c ==x: return 0 set =0 for i in range(n): if x[i+1] < x[i] and not set: set = 1 if (x[i+1:] + x[:i+1])== c: ...
[ "noreply@github.com" ]
shan-mathi.noreply@github.com
f0d75c548356b509d1ce973bd3524ff051486610
f445450ac693b466ca20b42f1ac82071d32dd991
/generated_tempdir_2019_09_15_163300/generated_part004907.py
f15c185acaf516f2e92f4364b40ff14c731692d7
[]
no_license
Upabjojr/rubi_generated
76e43cbafe70b4e1516fb761cabd9e5257691374
cd35e9e51722b04fb159ada3d5811d62a423e429
refs/heads/master
2020-07-25T17:26:19.227918
2019-09-15T15:41:48
2019-09-15T15:41:48
208,357,412
4
1
null
null
null
null
UTF-8
Python
false
false
1,296
py
from sympy.abc import * from matchpy.matching.many_to_one import CommutativeMatcher from matchpy import * from matchpy.utils import VariableWithCount from collections import deque from multiset import Multiset from sympy.integrals.rubi.constraints import * from sympy.integrals.rubi.utility_function import * from sympy....
[ "franz.bonazzi@gmail.com" ]
franz.bonazzi@gmail.com
f79e2cae087ea96ee7bf206c8c58102f233d61a4
aadad415f425b9f45fed14290235488a46687a4f
/2009/bastieri/cadmio/passosbagliato/wavelength.py
54e7ed3023e3d79258a794b356218a90c4540593
[]
no_license
enucatl-university/lab-unipd
c1fdae198ccc3af3f75ad07554e148427a9cc096
c197bb92f479913c1183375fa22fd1619e6bbad4
refs/heads/master
2023-08-15T01:59:55.502505
2016-11-11T19:20:13
2016-11-11T19:20:13
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,201
py
from __future__ import division import math from ROOT import TGraph, TF1, TCanvas def to_decimal(deg): int = math.floor(deg) rem = 5*(deg - int) / 3 return int + rem class WaveLength(object): def __init__(self, file_name): self.output_file = file_name + '.out' with open(file_name) as i...
[ "gmatteo..abis@gmail.com" ]
gmatteo..abis@gmail.com
522f43d045aead4510090ccba73165183d45dd2a
a3cf848e37683b45ea570578e398ab85f1ca4732
/DEMO/write_excel.py
c874f2fbbb1796ab96bf428e6653507c492782df
[ "MIT" ]
permissive
AceCoooool/python-example
7f456f702ecc59909d500bcf62e478d0a86082de
1d0068627210f08d31f027b6a333118d9f743956
refs/heads/master
2020-04-18T07:27:45.200465
2019-02-24T11:22:26
2019-02-24T11:22:26
167,360,679
2
0
null
null
null
null
UTF-8
Python
false
false
597
py
import xlwt if __name__ == '__main__': # Workbook is created wb = xlwt.Workbook() # add_sheet is used to create sheet. sheet1 = wb.add_sheet('Sheet 1') sheet1.write(1, 0, 'ISBT DEHRADUN') sheet1.write(2, 0, 'SHASTRADHARA') sheet1.write(3, 0, 'CLEMEN TOWN') sheet1.write(4, 0, 'RAJPUR ...
[ "tinyshine@yeah.net" ]
tinyshine@yeah.net
ecb2639a5a72d1cd7a09a16340dc5cfff6926757
55eda01bdcbda99f72cfdf0b29afb5ea36756873
/arxiv/kdgan/mdlcompr_xw/train_kd.py
5fac90bbad9ad11f7d44ec75643db75b3b861de5
[]
no_license
yyht/KDGAN
7489a0ca1a2f044b6bcb7cd8bb0d6f2dae1da5e7
8f1367d242d7d174bf5bb2740aa18e3846d7b521
refs/heads/master
2020-05-16T08:36:18.872239
2019-01-12T04:17:31
2019-01-12T04:17:31
null
0
0
null
null
null
null
UTF-8
Python
false
false
3,738
py
from kdgan import config from kdgan import metric from kdgan import utils from flags import flags from data_utils import AffineGenerator from gen_model import GEN from tch_model import TCH import data_utils from os import path from tensorflow.contrib import slim import math import os import time import numpy as np imp...
[ "xiaojiew1@student.unimelb.edu.au" ]
xiaojiew1@student.unimelb.edu.au
03f83b3a694301dea1d55fc6a15c0c9f2974f189
c67f2d0677f8870bc1d970891bbe31345ea55ce2
/zippy/lib-python/3/test/test_pep263.py
598d980b2a67e289dfefb23de2265ee229c13b0e
[ "BSD-3-Clause" ]
permissive
securesystemslab/zippy
a5a1ecf5c688504d8d16128ce901406ffd6f32c2
ff0e84ac99442c2c55fe1d285332cfd4e185e089
refs/heads/master
2022-07-05T23:45:36.330407
2018-07-10T22:17:32
2018-07-10T22:17:32
67,824,983
324
27
null
null
null
null
WINDOWS-1252
Python
false
false
1,852
py
# -*- coding: koi8-r -*- import unittest from test import support class PEP263Test(unittest.TestCase): def test_pep263(self): self.assertEqual( "ðÉÔÏÎ".encode("utf-8"), b'\xd0\x9f\xd0\xb8\xd1\x82\xd0\xbe\xd0\xbd' ) self.assertEqual( "\ð".encode("utf-8")...
[ "thezhangwei@gmail.com" ]
thezhangwei@gmail.com
b73c82ceb84172586c6092a5ce99dceb1c4cfeb1
fe06311a7de13a02ca0be37d84c542c3cece3f33
/Chapter35/file_35_1_3b.py
ea3649be523e31c869c950e58a5182dc36a0424f
[]
no_license
mooksys/Python_Algorithms
a4a84ddabc34ec4b7cc0ac01d55019880af38514
375817e3dfdec94411cf245fe3f685a69d92b948
refs/heads/master
2020-08-24T06:35:05.791979
2018-07-30T01:22:24
2018-07-30T01:22:24
null
0
0
null
null
null
null
UTF-8
Python
false
false
505
py
ELEMENTS_OF_A = 20 ELEMENTS_OF_B = 30 # 입력받은 값을 리스트 a와 b에 각각 저장한다. a = [None] * ELEMENTS_OF_A b = [None] * ELEMENTS_OF_B for i in range(ELEMENTS_OF_A): a[i] = float(input()) for i in range(ELEMENTS_OF_B): b[i] = float(input()) # 리스트 new_arr를 생성한다. new_arr = [] for element in a: new_arr.append(element) for...
[ "jeipubmanager@gmail.com" ]
jeipubmanager@gmail.com
7f34525db79355d8b29d94cd4d602be3e174f216
e3365bc8fa7da2753c248c2b8a5c5e16aef84d9f
/indices/rafter.py
4901806228c6a101f8104a174897153cd9ad05db
[]
no_license
psdh/WhatsintheVector
e8aabacc054a88b4cb25303548980af9a10c12a8
a24168d068d9c69dc7a0fd13f606c080ae82e2a6
refs/heads/master
2021-01-25T10:34:22.651619
2015-09-23T11:54:06
2015-09-23T11:54:06
42,749,205
2
3
null
2015-09-23T11:54:07
2015-09-18T22:06:38
Python
UTF-8
Python
false
false
666
py
ii = [('CookGHP3.py', 1), ('MarrFDI.py', 3), ('GodwWSL2.py', 3), ('KembFJ1.py', 1), ('WilkJMC3.py', 1), ('GellWPT.py', 1), ('GellWPT2.py', 2), ('WilkJMC2.py', 10), ('AinsWRR3.py', 1), ('KiddJAE.py', 3), ('CrokTPS.py', 1), ('BuckWGM.py', 1), ('GilmCRS.py', 1), ('WestJIT2.py', 1), ('AinsWRR.py', 1), ('MedwTAI.py', 1), ('...
[ "prabhjyotsingh95@gmail.com" ]
prabhjyotsingh95@gmail.com
f8066949fde26242a622104d46dbf942a6148195
78f3fe4a148c86ce9b80411a3433a49ccfdc02dd
/2012 and earlier/superdonors-20121023/graphic_config.py
f8301f5d3df1c9e94821f63c2824fad43e9647b1
[]
no_license
nprapps/graphics-archive
54cfc4d4d670aca4d71839d70f23a8bf645c692f
fe92cd061730496cb95c9df8fa624505c3b291f8
refs/heads/master
2023-03-04T11:35:36.413216
2023-02-26T23:26:48
2023-02-26T23:26:48
22,472,848
16
7
null
null
null
null
UTF-8
Python
false
false
305
py
#!/usr/bin/env python import base_filters COPY_GOOGLE_DOC_KEY = '1o6fwDxOQI70FxDnK7_PaXad8viYcTkY7Q1a_B6uzdlE' USE_ASSETS = False # Use these variables to override the default cache timeouts for this graphic # DEFAULT_MAX_AGE = 20 # ASSETS_MAX_AGE = 300 JINJA_FILTER_FUNCTIONS = base_filters.FILTERS
[ "ahurt@npr.org" ]
ahurt@npr.org
c1a3a789c006348284a0eb6f9830c24029f49b40
2940f5416082dadd9c646cd9a46d2d0a99883efb
/venv/Lib/site-packages/scipy/sparse/base.py
75a8f1815614e98f8ce7b5394d6b3f13ca7e93b0
[ "MIT", "BSD-3-Clause", "Python-2.0", "Qhull", "LicenseRef-scancode-unknown-license-reference", "Apache-2.0", "BSD-2-Clause", "GPL-3.0-or-later", "BSD-3-Clause-Open-MPI", "GCC-exception-3.1", "GPL-3.0-only" ]
permissive
tpike3/SugarScape
4813e4fefbfb0a701f5913d74f045fd0eaed1942
39efe4007fba2b12b75c72f7795827a1f74d640b
refs/heads/main
2021-06-20T03:55:46.288721
2021-01-20T17:06:35
2021-01-20T17:06:35
168,583,530
11
3
MIT
2021-01-20T17:19:53
2019-01-31T19:29:40
Jupyter Notebook
UTF-8
Python
false
false
42,103
py
"""Base class for sparse matrices""" import numpy as np from .sputils import (isdense, isscalarlike, isintlike, get_sum_dtype, validateaxis, check_reshape_kwargs, check_shape, asmatrix) __all__ = ['spmatrix', 'isspmatrix', 'issparse', 'SparseWarning', 'SparseEffi...
[ "tpike3@gmu.edu" ]
tpike3@gmu.edu
7a047c3eaac3fc87eeeb8acc8bd41efee40e159c
897871d09b8b1e86c5a48599839ba9534260f2c9
/aromawine3-new_update__with_checkout/admin_manage_notification/admin.py
d94ca7e5b51a57bff11127a6e62b3e27e9e735ab
[]
no_license
sidkushwah123/wine
0b8b8fdf44068b4488d5f1ae5d34a24d3fff19a9
bb29e84fb4a0709aca36e819ae6191147a9691b5
refs/heads/main
2023-07-27T14:03:06.814484
2021-09-11T15:25:39
2021-09-11T15:25:39
405,354,798
0
0
null
null
null
null
UTF-8
Python
false
false
371
py
from django.contrib import admin from .models import AwNotification from import_export.admin import ImportExportModelAdmin # Register your models here. class AwNotificationAdmin(ImportExportModelAdmin): list_display = ('user','Send_Status', 'Created_by', 'Created_by','Created_date','Read_Status','Read_date') admi...
[ "sachinkushwah0007@gmail.com" ]
sachinkushwah0007@gmail.com
b23ab19206208ca963896607269c13453e188470
0d61f90e3a7877e91d72fed71b0895c7070dc046
/final_project/.history/project/menu_app/urls_20210103102257.py
433c7dab24301af7a57b5a070851582c545d4fcd
[]
no_license
lienusrob/final_project
44d7d90dc0b7efc0cf55501549a5af0110d09b3b
4164769626813f044ec2af3e7842514b5699ef77
refs/heads/master
2023-02-10T16:36:33.439215
2021-01-05T09:34:01
2021-01-05T09:34:01
325,002,104
0
0
null
null
null
null
UTF-8
Python
false
false
898
py
# from project.account_app.views import HomeView from django.urls import path from . import views from .views import view_cart, add_to_cart, adjust_cart urlpatterns = [ #path('', views.menu_list_view(template_name = 'menu_app/menu_list.html'), name = 'menu_list'), #path('menu/', views.menu_list_view, name = 'menu_lis...
[ "lienus.rob@hotmail.de" ]
lienus.rob@hotmail.de
80cecf6b14e008ae28b91dce83556e31dd9fb1a7
15f321878face2af9317363c5f6de1e5ddd9b749
/solutions_python/Problem_81/507.py
bdd84a38baf779ae289c6f1817d6c5003b53e93f
[]
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,592
py
fp = open('A-large.in') T = int(fp.readline()) for t in range(T): N = int(fp.readline()) M = [] for n in range(N): s = fp.readline().strip() M.append(s) print "Case #%d:"%(t+1) WP = [] for n in range(N): playcount = 0 wins = 0.0 wp = 0.0 for i i...
[ "miliar1732@gmail.com" ]
miliar1732@gmail.com
d8b174c28eccb7c63f64135fafc8e975c5d0d119
fd574c2d37afd8fddc548f64aa8befdfcf96d43a
/greedy/queueByHeight.py
bcee8e588c9ce1d64f6ecc744310778402e743e9
[]
no_license
g10guang/LeetCode
023f1630611b05edf0ba069adf383e86db66c3f3
da2a75c3c4a853b4768ae03bab7725e11cf38d1a
refs/heads/master
2021-07-05T15:29:03.007752
2020-07-15T14:32:10
2020-07-15T14:32:10
129,694,867
0
1
null
null
null
null
UTF-8
Python
false
false
758
py
# https://leetcode.com/problems/queue-reconstruction-by-height/description/ class Solution: def reconstructQueue(self, people): """ :type people: List[List[int]] :rtype: List[List[int]] """ if not people: return people length = len(people) i = len...
[ "g10guang@gmail.com" ]
g10guang@gmail.com
747653f0003ab3203563cf84d3100573691845ae
20b04495f17e7cb9970feffb92eb2b2fc05289a3
/sample/ThreadPy.py
7bf1df16327b09d783ffb6cae3f622729d8c4e3a
[]
no_license
to-yuki/pythonLab
4a69e5f24df86005f32bda0e41ddfd23a2942335
270487690818faa90d5c17e6619d0b531f9a4f39
refs/heads/master
2021-09-09T23:59:25.938777
2018-03-20T09:26:18
2018-03-20T09:26:18
108,782,578
0
0
null
null
null
null
UTF-8
Python
false
false
711
py
# -*- coding: UTF-8 -*- import threading from time import sleep # スレッド化する関数1 def thread1(): # 1秒間隔で "T1" を表示 for i in range(5): sleep(1) print "T1 ", # スレッド化する関数2 def thread2(): # 2秒間隔で "T2" を表示 for i in range(5): sleep(2) print "T2 ", # メインスレッド関数 def mainThread(): ...
[ "to-yuki@jtp.co.jp" ]
to-yuki@jtp.co.jp
d033b899c9e461cf8c7d511f8aea043dfb973638
5af277b5819d74e61374d1d78c303ac93c831cf5
/grouptesting/utils.py
8a680f40932fb818fdc48333c6f8d26210eaa058
[ "Apache-2.0" ]
permissive
Ayoob7/google-research
a2d215afb31513bd59bc989e09f54667fe45704e
727ec399ad17b4dd1f71ce69a26fc3b0371d9fa7
refs/heads/master
2022-11-11T03:10:53.216693
2020-06-26T17:13:45
2020-06-26T17:13:45
275,205,856
2
0
Apache-2.0
2020-06-26T16:58:19
2020-06-26T16:58:18
null
UTF-8
Python
false
false
2,223
py
# coding=utf-8 # Copyright 2020 The Google Research Authors. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicab...
[ "copybara-worker@google.com" ]
copybara-worker@google.com
2377ec59602cc8f7f6606e2b2bc07593ae2982a3
7b6377050fba4d30f00e9fb5d56dfacb22d388e1
/xData/Documentation/keyword.py
047eedd677d3fb462e8a9cbd6adeadcbebc84fca
[ "BSD-3-Clause", "LicenseRef-scancode-unknown-license-reference" ]
permissive
LLNL/fudge
0a4fe8e3a68b66d58e42d1f4d209ea3f713c6370
6ba80855ae47cb32c37f635d065b228fadb03412
refs/heads/master
2023-08-16T21:05:31.111098
2023-08-01T22:09:32
2023-08-01T22:09:32
203,678,373
21
4
NOASSERTION
2023-06-28T20:51:02
2019-08-21T23:22:20
Python
UTF-8
Python
false
false
1,266
py
# <<BEGIN-copyright>> # Copyright 2022, Lawrence Livermore National Security, LLC. # See the top-level COPYRIGHT file for details. # # SPDX-License-Identifier: BSD-3-Clause # <<END-copyright>> """ This module contains the GNDS documentation child nodes keywords and keywork classes. """ from LUPY import ancestry as a...
[ "mattoon1@llnl.gov" ]
mattoon1@llnl.gov
4fb633e66e24821fa918896ec72f310a2c7d7300
10ddfb2d43a8ec5d47ce35dc0b8acf4fd58dea94
/Python/count-square-submatrices-with-all-ones.py
aedd724cf51f450b6e3698b4879fa2c9d95b2743
[ "MIT" ]
permissive
kamyu104/LeetCode-Solutions
f54822059405ef4df737d2e9898b024f051fd525
4dc4e6642dc92f1983c13564cc0fd99917cab358
refs/heads/master
2023-09-02T13:48:26.830566
2023-08-28T10:11:12
2023-08-28T10:11:12
152,631,182
4,549
1,651
MIT
2023-05-31T06:10:33
2018-10-11T17:38:35
C++
UTF-8
Python
false
false
501
py
# Time: O(m * n) # Space: O(1) class Solution(object): def countSquares(self, matrix): """ :type matrix: List[List[int]] :rtype: int """ for i in xrange(1, len(matrix)): for j in xrange(1, len(matrix[0])): if not matrix[i][j]: ...
[ "noreply@github.com" ]
kamyu104.noreply@github.com
9b66a08d83f538492518e8d3c941d747b9fd27df
b7851ffc689990a5c394697b1d016ba34307630c
/venv/lib/python3.8/site-packages/faker/providers/ssn/uk_UA/__init__.py
7673ee7bc606d47605ae2f9243e218267865b6d0
[]
no_license
denokenya/django-schooling-rest-api
f38fb5cc31a6f40462f9cb1dcc6c3fd36e1301c6
552b98d5494344049541df615f446713cb5da1fa
refs/heads/main
2023-06-14T12:53:11.897887
2021-07-10T18:02:11
2021-07-10T18:02:11
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,131
py
from datetime import date from .. import Provider as SsnProvider class Provider(SsnProvider): def ssn(self): """ Ukrainian "Реєстраційний номер облікової картки платника податків" also known as "Ідентифікаційний номер фізичної особи". """ digits = [] # Number of d...
[ "lucasciccomy@gmail.com" ]
lucasciccomy@gmail.com
2a5d6a8fa6c48f12df1474865332576ad3e7cadc
7882860350c714e6c08368288dab721288b8d9db
/구현/swea1954.py
ed62a9b2ebde3549be409ada6635d1d7bd8ba1fd
[]
no_license
park-seonju/Algorithm
682fca984813a54b92a3f2ab174e4f05a95921a8
30e5bcb756e9388693624e8880e57bc92bfda969
refs/heads/master
2023-08-11T18:23:49.644259
2021-09-27T10:07:49
2021-09-27T10:07:49
388,741,922
0
0
null
null
null
null
UTF-8
Python
false
false
925
py
delta = ( (0, 1), # 열증가 (1, 0), # 행증가 (0, -1), # 열감소 (-1, 0), # 행감소 ) T = int(input()) for test_case in range(1, T + 1): N = int(input()) board = [[0] * N for _ in range(N)] def snail(): row = 0 col = 0 num = 1 distance = max(N - 1,1) while T...
[ "cucu9823@naver.com" ]
cucu9823@naver.com
51cdbcf4d68698ce397c18e4b7206e52ed374f3e
45c170fb0673deece06f3055979ece25c3210380
/toontown/speedchat/TTSCSellbotNerfMenu.py
bbd255756bc5a8d3dac7b3e4c5b633742d7a73a5
[]
no_license
MTTPAM/PublicRelease
5a479f5f696cfe9f2d9dcd96f378b5ce160ec93f
825f562d5021c65d40115d64523bb850feff6a98
refs/heads/master
2021-07-24T09:48:32.607518
2018-11-13T03:17:53
2018-11-13T03:17:53
119,129,731
2
6
null
2018-11-07T22:10:10
2018-01-27T03:43:39
Python
UTF-8
Python
false
false
1,965
py
#Embedded file name: toontown.speedchat.TTSCSellbotNerfMenu from toontown.toonbase import ToonPythonUtil as PythonUtil from otp.speedchat.SCMenu import SCMenu from otp.speedchat.SCMenuHolder import SCMenuHolder from otp.speedchat.SCStaticTextTerminal import SCStaticTextTerminal from otp.otpbase import OTPLocalizer Sell...
[ "linktlh@gmail.com" ]
linktlh@gmail.com
820c683151119ae0f56135a8a28e4731af344619
dc9f2638209a9be235a1c4acc44fe2a26256c4b4
/venv/projects/lib/python3.8/site-packages/pip/_vendor/requests/cookies.py
98f2d259603a6600bbc45c48d57f097417ad8087
[]
no_license
alwinruby/RealWorld
4f5fcaed68fdd2d9fc37f5973fec365195cb3e9e
ec446f96f3545cb847429b5e33cefdc4f00ce432
refs/heads/main
2023-08-13T10:28:40.528047
2021-10-10T14:58:23
2021-10-10T14:58:23
408,079,742
0
0
null
null
null
null
UTF-8
Python
false
false
18,430
py
# -*- coding: utf-8 -*- """ requests.cookies ~~~~~~~~~~~~~~~~ Compatibility code to be able to use `cookielib.CookieJar` with requests. requests.utils imports from here, so be careful with imports. """ import copy import time import calendar from ._internal_utils import to_native_string from .compat import cookiel...
[ "alwinsolanky@gmail.com" ]
alwinsolanky@gmail.com
18130661e23c4633371e6d3b4d5f35ee3b109d5a
e3365bc8fa7da2753c248c2b8a5c5e16aef84d9f
/indices/whitish.py
cda5fd3383760008658310fb2429a5b96a5120d6
[]
no_license
psdh/WhatsintheVector
e8aabacc054a88b4cb25303548980af9a10c12a8
a24168d068d9c69dc7a0fd13f606c080ae82e2a6
refs/heads/master
2021-01-25T10:34:22.651619
2015-09-23T11:54:06
2015-09-23T11:54:06
42,749,205
2
3
null
2015-09-23T11:54:07
2015-09-18T22:06:38
Python
UTF-8
Python
false
false
221
py
ii = [('RennJIT.py', 11), ('SeniNSP.py', 1), ('LyelCPG.py', 3), ('WestJIT2.py', 9), ('MedwTAI.py', 3), ('WestJIT.py', 19), ('FitzRNS4.py', 3), ('FitzRNS.py', 8), ('BrewDTO.py', 17), ('FitzRNS2.py', 4), ('LyelCPG3.py', 1)]
[ "prabhjyotsingh95@gmail.com" ]
prabhjyotsingh95@gmail.com
f0a517b00e54ed242fe81c1004b6aee54258f5a3
e7f67295e62fc5301ab23bce06c61f2311c2eeee
/mjml/core/registry.py
e2271ec00d336fba2502dc0692184cf39c26c0c4
[ "MIT" ]
permissive
bayesimpact/mjml-stub
94d10588359990cd58d2085429b19a3777c51f15
30bab3f2e197d2f940f58439f2e8cd9fadb58d48
refs/heads/main
2023-05-08T11:54:19.313877
2021-01-25T21:30:48
2021-01-25T21:30:48
344,026,118
0
0
MIT
2021-03-03T06:31:49
2021-03-03T06:31:48
null
UTF-8
Python
false
false
828
py
__all__ = [] def _components(): from ..elements import (MjButton, MjText, MjSection, MjColumn, MjBody, MjGroup, MjImage, MjDivider, MjTable, MjRaw) from ..elements.head import (MjAttributes, MjFont, MjHead, MjPreview, MjStyle, MjTitle) components = { 'mj-button': MjButton, ...
[ "felix.schwarz@oss.schwarz.eu" ]
felix.schwarz@oss.schwarz.eu
cead28b04e4a16444377b87a16a95113cc2f446d
a6a5ae108c06685ce86ba878906bc2c1838454ba
/manage.py
55445425d91572e8460e0ea47c599b5fcce4ba24
[]
no_license
williamsko/sutura
bd8e1116492cb3cd5b4df811a3386317236520f2
1d21b655107c44703e2259a7770cff6fc75a77ab
refs/heads/main
2023-08-13T08:35:08.881261
2021-09-30T21:41:47
2021-09-30T21:41:47
355,569,208
1
1
null
null
null
null
UTF-8
Python
false
false
662
py
#!/usr/bin/env python """Django's command-line utility for administrative tasks.""" import os import sys def main(): """Run administrative tasks.""" os.environ.setdefault('DJANGO_SETTINGS_MODULE', 'sutura.settings') try: from django.core.management import execute_from_command_line except Impor...
[ "williamsko89@gmail.com" ]
williamsko89@gmail.com
0ed0dfe65d95fab0c170fd9efd0fde92b547adc1
8f980a143c729693ddf4e90a3efd07511158be08
/tensorflow/python/debug/wrappers/local_cli_wrapper_test.py
e22f6e783e83bcb81a94c13e510346c3bfe3ec7f
[ "Apache-2.0" ]
permissive
alexwelcing/tensorflow
0eb3ac0a3a37356198ba9a15ee121aa4d1ef33f5
3273cf4f4d18820daf83ba7dd8b4c8a4329a4f01
refs/heads/master
2023-02-06T02:41:49.851497
2017-05-04T20:55:20
2017-05-04T20:55:20
90,309,170
0
0
Apache-2.0
2023-02-03T04:17:41
2017-05-04T21:00:19
C++
UTF-8
Python
false
false
18,101
py
# Copyright 2016 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...
[ "gardener@tensorflow.org" ]
gardener@tensorflow.org
6105554d84433e416576e543c9d8029e5b038601
f889bc01147869459c0a516382e7b95221295a7b
/test/test_body_61.py
83de2fb29e48fbb0b61eadc44a78bdfab46ca709
[]
no_license
wildatheart/magento2-api-client
249a86f5c0289743f8df5b0324ccabd76f326512
e6a707f85b37c6c3e4ef3ff78507a7deb8f71427
refs/heads/master
2021-07-14T16:01:17.644472
2017-10-18T13:33:08
2017-10-18T13:33:08
107,412,121
1
1
null
null
null
null
UTF-8
Python
false
false
871
py
# coding: utf-8 """ Magento Community No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) OpenAPI spec version: 2.2 Generated by: https://github.com/swagger-api/swagger-codegen.git """ from __future__ import absolute_import import os import sy...
[ "sander@wildatheart.eu" ]
sander@wildatheart.eu
f7754d30c7af009e5787a949e16e849192197347
fde8c89b352076f95cc16e589b1baf18f7befb51
/tempest/api/volume/admin/v2/test_snapshot_manage.py
111492428e46f21cf3942f3c59602e1e69b2eb0a
[]
no_license
571451370/devstack_mitaka
b11145256deab817bcdf60a01a67bb6b2f9ddb52
1bdd3f2598f91c1446b85c5b6def7784a2f6ab02
refs/heads/master
2020-08-26T12:53:07.482514
2017-04-12T01:32:55
2017-04-12T01:32:55
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,876
py
# Copyright 2016 Red Hat, 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...
[ "tony.pig@gmail.com" ]
tony.pig@gmail.com
6231e67fb193f1342ac7b6c8ffec4b3a73693b57
e500ab4de52039625608dbc6273ec1bb9f7b5593
/user_details/urls.py
a90ecd452544374a39beb0e3d6faf9fb868f2a3f
[]
no_license
AdrianHavengaBennett/hackathon2020team2
62cd943ddfe4a7dc5300fe4a103600aa0233c637
94c77d3a36935f3245ba9eaa1e69d836c6392ca2
refs/heads/master
2021-02-24T10:17:45.441401
2020-03-06T14:34:26
2020-03-06T14:34:26
245,428,511
0
0
null
2020-03-06T13:35:38
2020-03-06T13:35:37
null
UTF-8
Python
false
false
893
py
"""user_details 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-...
[ "adrian.havenga@yahoo.com" ]
adrian.havenga@yahoo.com
abde780147865cf4ca652871760406dd4091293a
1dacbf90eeb384455ab84a8cf63d16e2c9680a90
/pkgs/scipy-0.18.0-np111py27_nomkl_0/lib/python2.7/site-packages/scipy/io/tests/test_netcdf.py
32fe9f8c0bebcd638557a82c1b221021da135544
[ "Apache-2.0", "BSD-3-Clause", "LicenseRef-scancode-unknown" ]
permissive
wangyum/Anaconda
ac7229b21815dd92b0bd1c8b7ec4e85c013b8994
2c9002f16bb5c265e0d14f4a2314c86eeaa35cb6
refs/heads/master
2022-10-21T15:14:23.464126
2022-10-05T12:10:31
2022-10-05T12:10:31
76,526,728
11
10
Apache-2.0
2022-10-05T12:10:32
2016-12-15T05:26:12
Python
UTF-8
Python
false
false
14,532
py
''' Tests for netcdf ''' from __future__ import division, print_function, absolute_import import os from os.path import join as pjoin, dirname import shutil import tempfile import warnings from io import BytesIO from glob import glob from contextlib import contextmanager import numpy as np from numpy.testing import (...
[ "wgyumg@mgail.com" ]
wgyumg@mgail.com
856d2373425f060429aa63fde2ae8ce926777eec
888899f0cb3e6e7b28a9de39001a1fd1c177cd35
/COMPLETE PYTHON-3 COURSE/Chapter-03-IF_ELSE_FOR_WHILE_LOOP/infinite_loop.py
9e010471ab0611accc49974e87c73a684c37d8ed
[]
no_license
VivakaNand/COMPLETE_PYTHON_3
ef162d71d3a44bf661fcc1a8aacce31e7953cd7c
b3b835afe7671fdc3d29d912650fd4ccd3bc83f6
refs/heads/master
2023-02-04T10:13:41.881939
2020-12-23T08:30:51
2020-12-23T08:30:51
323,839,528
0
1
null
null
null
null
UTF-8
Python
false
false
164
py
# infinite loop #i = 0 #while i<10: # print(Hello World) while True: print("Hello World") # to terminate infinite loop use command # Ctrl + c
[ "vivekjetani83@gmail.com" ]
vivekjetani83@gmail.com
5fd0337e4783437ab44e5fcf862272a2e3c1070e
aa0270b351402e421631ebc8b51e528448302fab
/sdk/identity/azure-identity/azure/identity/_credentials/device_code.py
688c44c12f6b04cad5a40b0980d84b109f0cfcad
[ "MIT", "LGPL-2.1-or-later", "LicenseRef-scancode-generic-cla" ]
permissive
fangchen0601/azure-sdk-for-python
d04a22109d0ff8ff209c82e4154b7169b6cb2e53
c2e11d6682e368b2f062e714490d2de42e1fed36
refs/heads/master
2023-05-11T16:53:26.317418
2023-05-04T20:02:16
2023-05-04T20:02:16
300,440,803
0
0
MIT
2020-10-16T18:45:29
2020-10-01T22:27:56
null
UTF-8
Python
false
false
5,815
py
# ------------------------------------ # Copyright (c) Microsoft Corporation. # Licensed under the MIT License. # ------------------------------------ from datetime import datetime import time from typing import Dict, Optional, Callable, Any from azure.core.exceptions import ClientAuthenticationError from .._constant...
[ "noreply@github.com" ]
fangchen0601.noreply@github.com
35dbc8417982370fd70de25f449e08b98d2b5632
0ba2c3776618b5b8b76f4a23f21e9c6ad3f6e2e1
/afterclass/homework3/6.1.py
fc73fce3ae1c98fb5f0ed793b9585b6b9b1ba543
[]
no_license
WangDongDong1234/python_code
6dc5ce8210b1dcad7d57320c9e1946fd4b3fe302
6a785306a92d328a0d1427446ca773a9803d4cc0
refs/heads/master
2020-04-15T12:35:03.427589
2019-09-16T15:38:25
2019-09-16T15:38:25
164,681,323
1
0
null
null
null
null
UTF-8
Python
false
false
754
py
while 1: try: str=input() array=[int(i) for i in str.strip().split(" ")] list=array[1::] result=[] for i in range(array[0]): result.append(0) for i in range(array[0]): for j in range(array[0]): if list[i]>list[j]: ...
[ "827495316@qq.com" ]
827495316@qq.com
8dc1e96652aaf00ffc9d44fcce57038bec5ae2c1
06f56c201e3988bdf4add289a84c2d6d9ceaa6bb
/build/lib/test/test_inline_response_200.py
a996719676e83d5c36552f7bd24d02faeb054478
[]
no_license
kevinlansel/yanport-client
8534311c7ae9fb3a78689d7b348eb56c49aab224
8bea6468c12e7789a6740d590db45f98d555db4a
refs/heads/master
2021-09-24T16:09:47.126776
2018-10-11T15:51:35
2018-10-11T15:51:35
110,860,096
0
0
null
null
null
null
UTF-8
Python
false
false
2,478
py
# coding: utf-8 """ Yanport API ## À propos Voici quelques ressources qui vous aideront à explorer notre API, si vous avez des problèmes ou des demandes, veuillez contacter le [support](mailto:support@yanport.com). ## REST API Nos services webs utilisent le protocle **HTTPS** sur le port 443, tout accès en HT...
[ "kevin@homeloop.fr" ]
kevin@homeloop.fr
6908c575ccde591afe9caf7d459b020ca4b7f5b9
56ca0c81e6f8f984737f57c43ad8d44a84f0e6cf
/src/api_v1/serializers/openaccess.py
aada052fbc6179eb4bd84c660136bfb111f92683
[ "MIT" ]
permissive
iplweb/bpp
c40f64c78c0da9f21c1bd5cf35d56274a491f840
a3d36a8d76733a479e6b580ba6ea57034574e14a
refs/heads/dev
2023-08-09T22:10:49.509079
2023-07-25T04:55:54
2023-07-25T04:55:54
87,017,024
2
0
NOASSERTION
2023-03-04T04:02:36
2017-04-02T21:22:20
Python
UTF-8
Python
false
false
288
py
from rest_framework import serializers from bpp.models import Czas_Udostepnienia_OpenAccess class Czas_Udostepnienia_OpenAccess_Serializer(serializers.HyperlinkedModelSerializer,): class Meta: model = Czas_Udostepnienia_OpenAccess fields = ["id", "nazwa", "skrot"]
[ "michal.dtz@gmail.com" ]
michal.dtz@gmail.com
5a8427de6fdcde4bce96df3cfac1ad3cec39ace3
09e57dd1374713f06b70d7b37a580130d9bbab0d
/benchmark/startPyquil1203.py
fafeb57574e59bf7a05a7e9fb1487768b3914af1
[ "BSD-3-Clause" ]
permissive
UCLA-SEAL/QDiff
ad53650034897abb5941e74539e3aee8edb600ab
d968cbc47fe926b7f88b4adf10490f1edd6f8819
refs/heads/main
2023-08-05T04:52:24.961998
2021-09-19T02:56:16
2021-09-19T02:56:16
405,159,939
2
0
null
null
null
null
UTF-8
Python
false
false
2,220
py
# qubit number=5 # total number=51 import pyquil from pyquil.api import local_forest_runtime, QVMConnection from pyquil import Program, get_qc from pyquil.gates import * import numpy as np conn = QVMConnection() def make_circuit()-> Program: prog = Program() # circuit begin prog += H(0) # number=3 pr...
[ "wangjiyuan123@yeah.net" ]
wangjiyuan123@yeah.net
11feff481cc0b103cd744e5ddaa43c27c9b9557e
a5698f82064aade6af0f1da21f504a9ef8c9ac6e
/huaweicloud-sdk-dds/huaweicloudsdkdds/v3/model/list_auditlogs_request.py
a1697211afe96dd24be2581077e2977269f456d9
[ "Apache-2.0" ]
permissive
qizhidong/huaweicloud-sdk-python-v3
82a2046fbb7d62810984399abb2ca72b3b47fac6
6cdcf1da8b098427e58fc3335a387c14df7776d0
refs/heads/master
2023-04-06T02:58:15.175373
2021-03-30T10:47:29
2021-03-30T10:47:29
null
0
0
null
null
null
null
UTF-8
Python
false
false
6,513
py
# coding: utf-8 import pprint import re import six class ListAuditlogsRequest: """ Attributes: openapi_types (dict): The key is attribute name and the value is attribute type. attribute_map (dict): The key is attribute name and the val...
[ "hwcloudsdk@huawei.com" ]
hwcloudsdk@huawei.com
229367ad40fc730f2e52dd2f23c9e2967bc956e6
6fa7f99d3d3d9b177ef01ebf9a9da4982813b7d4
/b8wRDMWgMZTN2nmfx_12.py
d816d604f90e8b6c23df10170ce6f72b2ee90835
[]
no_license
daniel-reich/ubiquitous-fiesta
26e80f0082f8589e51d359ce7953117a3da7d38c
9af2700dbe59284f5697e612491499841a6c126f
refs/heads/master
2023-04-05T06:40:37.328213
2021-04-06T20:17:44
2021-04-06T20:17:44
355,318,759
0
0
null
null
null
null
UTF-8
Python
false
false
135
py
def equal(a, b, c): eq = 0 if a == b and a == c and b == c: eq = 3 elif a == b or a == c or b == c: eq = 2 return eq
[ "daniel.reich@danielreichs-MacBook-Pro.local" ]
daniel.reich@danielreichs-MacBook-Pro.local
e5b009d8dc00d9b2eaef28128c03f56b450a9b67
20cea1f3ba7e5b35246b169eb156414a4cac2f98
/exercise_motion_planning/cde-package/cde-root/usr/lib/python2.7/dist-packages/IPython/utils/decorators.py
7225df3853c99bf123acab16222b9156ca6eb1ff
[]
no_license
jenniferdavid/summer_school_jul14
3a395b119aa79a2c31a1c376cfc31b2eee271850
d1e29e41f55ed69a0e4311946381984e12eacd8a
refs/heads/master
2021-05-04T09:43:40.169931
2018-01-04T14:29:26
2018-01-04T14:29:26
36,803,580
5
2
null
null
null
null
UTF-8
Python
false
false
57
py
../../../../../share/pyshared/IPython/utils/decorators.py
[ "jenniferdavid87@gmail.com" ]
jenniferdavid87@gmail.com
9af273cac076fed3d2bb3147957deeebc7485900
c6dc8b682aea706b18b05952f791e01989db3669
/Programiz/checkStringIsPalindrome.py
4d9854af2259cf67461730ef2b277c103a7f238e
[]
no_license
LizaPersonal/personal_exercises
aeb9ceb2593a6d5ee1a8e9f7c0862ce638acd29b
649dc0c116861995fbf58b4736a0c66fd75d648c
refs/heads/master
2021-04-03T02:17:51.850676
2018-07-31T21:10:59
2018-07-31T21:10:59
125,123,778
0
0
null
null
null
null
UTF-8
Python
false
false
390
py
# Program to check if a string is palindrome or not # change this value for a different output my_str = 'aIbohPhoBiA' # make it suitable for caseless comparison my_str = my_str.casefold() # reverse the string rev_str = reversed(my_str) # check if the string is equal to its reverse if list(my_str) == list(rev_str): ...
[ "liza@rocketrip.com" ]
liza@rocketrip.com
4a8b858b417a2c65f955b1ce76dfdf44fba59bea
8629f82f971f4e036c2b6358fe353a2c88bfd098
/BConverters/AnnotationConverters.py
76e538d13ae67693278507c13db362dc14a696cc
[ "MIT" ]
permissive
mahajrod/MAVR
92828fa1c191b5f8ed08f1ba33f1684df09742cd
8c57ff5519f130357e36e6f12868bc997e52a8a7
refs/heads/master
2023-08-25T01:02:24.738724
2023-08-22T15:13:39
2023-08-22T15:13:39
21,181,911
11
6
null
2017-09-18T20:25:16
2014-06-24T21:45:57
Python
UTF-8
Python
false
false
635
py
__author__ = 'mahajrod' import os from BCBio import GFF class AnnotationConverters: " @staticmethod def gff22gff3(input_file, output_file, target_lines=100000): in_fd = open(input_file, "r") out_fd = open(output_file, "w") GFF.write(GFF.parse(in_fd, target_lines=target_lines), out_...
[ "mahajrod@gmail.com" ]
mahajrod@gmail.com
a510a15dfe373e469b66e9435f40c354e16b56cf
77311ad9622a7d8b88707d7cee3f44de7c8860cb
/res_bw/scripts/common/lib/encodings/cp1026.py
c4de9dd6738fbafdea4d05746feed1a2dabe7703
[]
no_license
webiumsk/WOT-0.9.14-CT
9b193191505a4560df4e872e022eebf59308057e
cfe0b03e511d02c36ce185f308eb48f13ecc05ca
refs/heads/master
2021-01-10T02:14:10.830715
2016-02-14T11:59:59
2016-02-14T11:59:59
51,606,676
0
0
null
null
null
null
WINDOWS-1250
Python
false
false
2,269
py
# 2016.02.14 12:48:01 Střední Evropa (běžný čas) # Embedded file name: scripts/common/Lib/encodings/cp1026.py """ Python Character Mapping Codec cp1026 generated from 'MAPPINGS/VENDORS/MICSFT/EBCDIC/CP1026.TXT' with gencodec.py. """ import codecs class Codec(codecs.Codec): def encode(self, input, errors = 'stric...
[ "info@webium.sk" ]
info@webium.sk
1fe21bfb31d89042f71c3414c4e127daaeb2dadb
eb61d62ca1f6f0123e3771105f5dfbbd6115138d
/.history/leccion_20210910224916.py
890f138fa4238e95326e91bb5a1829aaf353de86
[]
no_license
Alopezm5/CORRECTO-2
e0f14bcc3a88c0e222d10e3261e68532008bc42e
223613f1fb04dce3fac9f82f243cb2f22fe100f3
refs/heads/main
2023-07-29T06:52:48.147424
2021-09-12T20:33:27
2021-09-12T20:33:27
388,995,308
0
0
null
null
null
null
UTF-8
Python
false
false
427
py
from datetime import date class Calculos: def antiguedad(self,fecha): hoy=date.today() if hoy<fecha: return -1 else: anio=fecha.year mes=fecha.month dia=fecha.day aa=0 while fecha<hoy: aa=1 ...
[ "85761855+Alopezm5@users.noreply.github.com" ]
85761855+Alopezm5@users.noreply.github.com
aa3ae29b2d0ea43a8ec9e447b892f19baf331b19
258b656d1b6864726864f89d4c8dc38fc633a48f
/odoo_addons_customization/lending_import_kairos/models/lending_kairos_line.py
319e3707c1efd5689559ff6c6ea912bea29179ab
[]
no_license
test-odoorosario/opt
c17e1c1767710ca8e13a799644fb85b07e83639b
77921b4d965f2e4c081d523b373eb306a450a873
refs/heads/master
2022-12-02T04:36:04.685119
2019-07-11T17:17:20
2019-07-11T17:17:20
196,436,293
0
1
null
2022-11-22T00:30:40
2019-07-11T17:13:21
Python
UTF-8
Python
false
false
2,130
py
# - coding: utf-8 -*- ############################################################################## # # This program is free software: you can redistribute it and/or modify # it under the terms of the GNU Affero General Public License as # published by the Free Software Foundation, either version 3 of the # ...
[ "root@ip-172-31-8-107.sa-east-1.compute.internal" ]
root@ip-172-31-8-107.sa-east-1.compute.internal
04555d417f5d237a3e8c6bf9da7c8825b5cf8789
2ac01e5646032561a45f1c3283297dad58d4f5f0
/broker/libs/gdrive.py
f9c9cf2a50e0739082a8808f5ffdf2c05dfab995
[ "MIT" ]
permissive
avatar-lavventura/ebloc-broker
4f31c3135b7a3cd44a00f5c8a47fa38eeffe7fda
3501ac4bb958f73c4e5612f647f33af11db0360a
refs/heads/master
2023-07-22T11:48:03.159093
2023-06-18T17:53:27
2023-06-18T17:53:27
null
0
0
null
null
null
null
UTF-8
Python
false
false
14,758
py
#!/usr/bin/env python3 import json import os import shutil import subprocess from contextlib import suppress from pathlib import Path from broker._utils._log import br, ok from broker._utils.tools import _remove, mkdir, read_json from broker.config import env from broker.lib import echo_grep_awk, run, subprocess_call...
[ "alper.alimoglu@gmail.com" ]
alper.alimoglu@gmail.com
f90310a5c43477d44f9d152349a9a72b164b204a
2ed86a79d0fcd299ad4a01310954c5eddcf01edf
/homeassistant/components/ws66i/media_player.py
1101c0c9fbc8c9e1a5adc29af5766489e54fae72
[ "Apache-2.0" ]
permissive
konnected-io/home-assistant
037f12c87bb79e19220192eb918e49db1b1a8b3e
2e65b77b2b5c17919939481f327963abdfdc53f0
refs/heads/dev
2023-05-11T08:57:41.891518
2023-05-07T20:03:37
2023-05-07T20:03:37
109,931,626
24
10
Apache-2.0
2023-02-22T06:24:01
2017-11-08T05:27:21
Python
UTF-8
Python
false
false
6,345
py
"""Support for interfacing with WS66i 6 zone home audio controller.""" from pyws66i import WS66i, ZoneStatus from homeassistant.components.media_player import ( MediaPlayerEntity, MediaPlayerEntityFeature, MediaPlayerState, ) from homeassistant.config_entries import ConfigEntry from homeassistant.core impo...
[ "noreply@github.com" ]
konnected-io.noreply@github.com
757b8887c2b25b7bcfb6e1b864e4c50f6c00ff28
da29f1f5b4459fbfec968bb694bedb9586f87b14
/new_algs/Sequence+algorithms/Selection+algorithm/version13.py
7b3e88334e262afc2d481e41273eef3d0a0a5617
[ "BSD-3-Clause", "Apache-2.0" ]
permissive
coolsnake/JupyterNotebook
547806a45a663f090f313dc3e70f779ad9b213c0
20d8df6172906337f81583dabb841d66b8f31857
refs/heads/master
2023-01-13T18:55:38.615312
2020-11-17T22:55:12
2020-11-17T22:55:12
null
0
0
null
null
null
null
UTF-8
Python
false
false
20,000
py
# -*- coding: utf-8 -*- """ Created on Sat Dec 1 13:53:42 2018 @author: wmy """ import cv2 import numpy as np import matplotlib.pyplot as plt from sklearn.cluster import KMeans import tkinter as tk from tkinter.filedialog import askopenfilename from tkinter import messagebox from PIL import Image, ImageTk from sklear...
[ "chenqh@uci.edu" ]
chenqh@uci.edu
b95263fbfa97e24adf60bea5b151e16fde445b04
92675502d571ebe41ce38c6ba58413b1dc7af315
/0x00-python-hello_world/102-magic_calculation.py
7c936a7bc1c8e675de17b3fc19fee37c48eea9ee
[]
no_license
isaza00/holbertonschool-higher_level_programming
8fc1eb0665602920bc1e86e5e17293156158c985
f6e6cc619c8c74b131bc3a67931d3297ceec033d
refs/heads/master
2022-12-25T09:01:01.635214
2020-09-30T21:14:13
2020-09-30T21:14:13
259,348,477
0
6
null
null
null
null
UTF-8
Python
false
false
54
py
def magic_calculation(a, b): return 98 + a**b
[ "isaza00@hotmail.com" ]
isaza00@hotmail.com
f07cc36cc24fb93bc7abf3c6797c8a06336d73ce
61f6a7b3226e892d897538180a41b9d65f3be9ef
/run.py
ef09f7438d369749a1b07c293e1931da000c9400
[ "MIT" ]
permissive
tangbiondi/aantonop-subtitles
db7952dc6dd340eabb53b85813493f34ca6e45bd
35120f247cee63b4f1c0f937d5c337374ef51ec3
refs/heads/master
2021-04-28T01:32:54.412736
2018-02-20T13:45:31
2018-02-20T13:45:31
122,281,228
0
0
MIT
2018-02-21T01:55:35
2018-02-21T01:55:34
null
UTF-8
Python
false
false
1,875
py
import re from collections import defaultdict from glob import glob languages = set() videos = {} for filepath in glob("./subtitles/original/*"): filename = filepath.replace("./subtitles/original/", "") title, youtube_id, lang = re.match(r"(.*)-(.{11,13})\.(.*)\.vtt", filename).groups() languages.add(la...
[ "noisy.pl@gmail.com" ]
noisy.pl@gmail.com
88f23fd76116a7637df84116fa5bd6222cf5318a
f7dd190a665a4966db33dcc1cc461dd060ca5946
/apps/posts/migrations/0001_initial.py
97494a6fbf0f67308adabcc659abd18daaae77c0
[]
no_license
Darwin939/macmeharder_back
2cc35e2e8b39a82c8ce201e63d9f6a9954a04463
8fc078333a746ac7f65497e155c58415252b2d33
refs/heads/main
2023-02-28T12:01:23.237320
2021-02-02T17:37:33
2021-02-02T17:37:33
328,173,062
0
0
null
null
null
null
UTF-8
Python
false
false
918
py
# Generated by Django 3.1.5 on 2021-01-16 09:30 from django.db import migrations, models class Migration(migrations.Migration): initial = True dependencies = [ ] operations = [ migrations.CreateModel( name='Post', fields=[ ('id', models.AutoField(aut...
[ "51247000+Darwin939@users.noreply.github.com" ]
51247000+Darwin939@users.noreply.github.com
0cb41a6e2298f4c7682445e5240068028f4c752b
51f887286aa3bd2c3dbe4c616ad306ce08976441
/pybind/slxos/v17r_1_01a/routing_system/router/router_bgp/address_family/ipv6/ipv6_unicast/default_vrf/network/__init__.py
9346822ef6a0c05ec1827aba2513ed36c687e717
[ "Apache-2.0" ]
permissive
b2220333/pybind
a8c06460fd66a97a78c243bf144488eb88d7732a
44c467e71b2b425be63867aba6e6fa28b2cfe7fb
refs/heads/master
2020-03-18T09:09:29.574226
2018-04-03T20:09:50
2018-04-03T20:09:50
null
0
0
null
null
null
null
UTF-8
Python
false
false
17,865
py
from operator import attrgetter import pyangbind.lib.xpathhelper as xpathhelper from pyangbind.lib.yangtypes import RestrictedPrecisionDecimalType, RestrictedClassType, TypedListType from pyangbind.lib.yangtypes import YANGBool, YANGListType, YANGDynClass, ReferenceType from pyangbind.lib.base import PybindBase from d...
[ "badaniya@brocade.com" ]
badaniya@brocade.com
8aac422067e1cd8db4e302ec4ff97aacdc5f7736
ca7aa979e7059467e158830b76673f5b77a0f5a3
/Python_codes/p02708/s543945314.py
6e7a98625c4186a02cb68a2ca3bd2c3ee37b3d97
[]
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
283
py
#!/usr/bin/env python3 def main(): N, K = map(int, input().split()) mod = 7 + 10 ** 9 res = 0 for k in range(K, N + 2): res += ((k * (2 * N - k + 1) / 2) - (k * (k - 1) / 2) + 1) res %= mod print(int(res)) if __name__ == '__main__': main()
[ "66529651+Aastha2104@users.noreply.github.com" ]
66529651+Aastha2104@users.noreply.github.com
fc6c6f943c0e49189d8ac9a2b455467b12652b7d
6b9084d234c87d7597f97ec95808e13f599bf9a1
/models/operator/multiscale_deformable_attention/_get_torch_build_conf.py
06290f7aabf171664429380306b945bfc02fd19c
[]
no_license
LitingLin/ubiquitous-happiness
4b46234ce0cb29c4d27b00ec5a60d3eeb52c26fc
aae2d764e136ca4a36c054212b361dd7e8b22cba
refs/heads/main
2023-07-13T19:51:32.227633
2021-08-03T16:02:03
2021-08-03T16:02:03
316,664,903
1
0
null
null
null
null
UTF-8
Python
false
false
953
py
import torch from torch.utils.cpp_extension import include_paths, library_paths, CUDAExtension, COMMON_NVCC_FLAGS def _get_torch_cuda_flags(): return COMMON_NVCC_FLAGS def _get_torch_cuda_archs(): config = torch.__config__.show() configs = config.split('\n') archs = set() for conf in configs: ...
[ "linliting06@live.com" ]
linliting06@live.com
54af20a4223a7fce77f976c6063056318656c59a
0fa98dbc4d6256121b9f478a13ff2254047fb543
/12_01_typical_interview_tasks/L. Extra letter.py
3044323e3d49139edab4073c9b2c1641c929ee7f
[]
no_license
vamotest/yandex_algorithms
48d5b29cb6e2789ea8f7e8024c798851058f1d4c
a588da3d21ff95e2437818493769719600f3eaf7
refs/heads/master
2023-03-19T20:44:59.373046
2021-01-20T19:06:28
2021-01-20T19:06:28
330,421,669
3
1
null
null
null
null
UTF-8
Python
false
false
427
py
from itertools import zip_longest def define_anagrams(first, second): li = list(zip_longest(first, second)) for letter in li: if letter[0] != letter[1]: return letter[1] if __name__ == '__main__': first_word = ''.join(sorted(list(str(input())))) second_word = ''.joi...
[ "vamotest@gmail.com" ]
vamotest@gmail.com
16953af903b8aa207c099df1b969dace225c4224
40c3c3ad98e5d5b10af1cdaa5b5d2278472448a5
/tests/app/tests/test_content_panes.py
20881cc868cfd0f4365af6ba10b42a04acede327
[]
no_license
modohash/django-hstore-flattenfields
ac96a509dde799625c01cff078c830b48d479f9d
09626a638b9ef85d28fa5bfef1b040f9926bb95b
refs/heads/master
2021-01-18T16:08:59.850946
2015-05-04T23:19:00
2015-05-04T23:19:00
54,548,872
0
0
null
2016-03-23T09:54:54
2016-03-23T09:54:53
null
UTF-8
Python
false
false
3,645
py
#!/usr/bin/env python # encoding: utf-8 """ This file demonstrates writing tests using the unittest module. These will pass when you run "manage.py test". Replace this with more appropriate tests for your application. """ from django.test import TestCase from django.core.exceptions import ValidationError from dateti...
[ "luanfonceca@gmail.com" ]
luanfonceca@gmail.com
95a73697b11de4cb430cc1ce6bf5219f0e4f562a
a6894d17fdbceb56d4364f0e279d03b16a181396
/working-env/lib/python2.5/TurboGears-1.0.2.2-py2.5.egg/turbogears/i18n/data/no.py
0da3995f3e22ebaf88f03183914aae17f47e17df
[]
no_license
thraxil/gtreed
c1c5a19178c1f50ff5e61887b13ff7b004da1d25
ca228848364edb204b15a7411fd6192379781c78
refs/heads/master
2020-04-18T03:02:15.468044
2008-12-10T20:02:12
2008-12-10T20:02:12
88,388
1
0
null
null
null
null
UTF-8
Python
false
false
6,983
py
# Formatting configuration for locale no languages={'vi': 'vietnamesisk', 'el': 'gresk', 'eo': 'esperanto', 'en': 'engelsk', 'zh': 'kinesisk', 'af': 'afrikaans', 'sw': 'swahili', 'ca': 'katalansk', 'am': 'amharisk', 'gu': 'gujarati', 'sv': 'svensk', 'cs': 'tsjekkisk', 'ar': 'arabisk', 'ga': 'irsk', 'eu': 'baskisk', 'e...
[ "anders@columbia.edu" ]
anders@columbia.edu
c4397cb30b808d19f39e5dc639214ad89de14d75
8832f83436809e8e918e60e5526d95add9fe8dbd
/books_app/migrations/0068_auto_20190930_1758.py
4ad159bea80bec7a1af460bd8bd499d5f456283d
[]
no_license
HCDigitalScholarship/booksofduchesses
e31e56eaba253b92a1362de5918b5b005cb27f3c
3f0e27515963c92a56714c5bada3b6a68a8665df
refs/heads/master
2022-12-09T18:41:20.019687
2021-10-25T14:58:18
2021-10-25T14:58:18
190,254,161
0
3
null
2022-12-08T05:21:54
2019-06-04T18:05:08
Python
UTF-8
Python
false
false
539
py
# Generated by Django 2.2.2 on 2019-09-30 17:58 from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): dependencies = [("books_app", "0067_auto_20190927_1626")] operations = [ migrations.AlterField( model_name="dateowned", ...
[ "apjanco@gmail.com" ]
apjanco@gmail.com
cbd2c64466a8223e6f012a4117d8d62e307a34fb
f2a967dfcb768ef2e5729b1f7665740dc8f4e09c
/tti/indicators/_relative_momentum_index.py
84f4a6dd01db9e19231be93ec64dd61f5df603f8
[ "MIT" ]
permissive
Bill-Software-Engineer/trading-technical-indicators
799c44a88ee73fb33c0255cb3ff5463f9d578506
fc00008a41da54f160609343e866c72306f4962c
refs/heads/master
2023-03-24T20:13:16.088567
2021-03-24T05:50:58
2021-03-24T05:50:58
349,295,934
0
1
MIT
2021-03-20T04:31:57
2021-03-19T04:05:07
null
UTF-8
Python
false
false
6,267
py
""" Trading-Technical-Indicators (tti) python library File name: _relative_momentum_index.py Implements the Relative Momentum Index technical indicator. """ import pandas as pd from ._technical_indicator import TechnicalIndicator from ..utils.constants import TRADE_SIGNALS from ..utils.exceptions import NotEnoug...
[ "vsaveris@gmail.com" ]
vsaveris@gmail.com
f4b5f06d621a40f412a9d3abd8a0a2c8f2e1248b
26dcf8e0457156a8bde936d56a59e1099893f8c6
/tests/test_hmm.py
e97feff68370733dbcc69ffcce59a30cb789f25b
[ "MIT" ]
permissive
SilenceWinter/MicroTokenizer
fc4212fb9a324e93e707edbe130b518bd782d07a
0b617f4b107743f6c7c473a9fac9408d21c56931
refs/heads/master
2020-03-29T04:31:23.050836
2018-09-18T16:40:28
2018-09-18T16:40:28
null
0
0
null
null
null
null
UTF-8
Python
false
false
772
py
#!/usr/bin/env python # -*- coding: utf-8 -*- """Tests for `MicroTokenizer` package.""" import pytest from MicroTokenizer.hmm import HMMTokenizer def test_persist(tmpdir): temp_path = tmpdir.mkdir("hmm") temp_path_str = str(temp_path) tokenizer = HMMTokenizer() tokenizer.train_one_line(["我", "是", "...
[ "u1mail2me@gmail.com" ]
u1mail2me@gmail.com
fc53892213fa66aece7218c6e1a0dc1a2b68968c
5c0a253bf2fb83db01abc99097871c965f4cf565
/spark/crm/PROC_A_CI_DEP_CONTRIBUTION.py
e899aff59721d52b99cbb6e4dbf84908af6f822b
[]
no_license
airuibel/python-1
3b16553ede9d069ec56efbb12a89a4de6917a447
94f387e2d406fab2128bcfffce6146da720b2ccc
refs/heads/master
2020-07-05T15:43:00.957221
2017-09-17T14:05:48
2017-09-17T14:05:48
null
0
0
null
null
null
null
UTF-8
Python
false
false
5,376
py
#coding=UTF-8 from pyspark import SparkContext, SparkConf, SQLContext, Row, HiveContext from pyspark.sql.types import * from datetime import date, datetime, timedelta import sys, re, os st = datetime.now() conf = SparkConf().setAppName('PROC_A_CI_DEP_CONTRIBUTION').setMaster(sys.argv[2]) sc = SparkContext(conf = conf)...
[ "cysuncn@126.com" ]
cysuncn@126.com
ee11e3de057d99b1e8ccfa4e205cb98f0315e99a
da3d949ee5b40981934a91852cffdad1843f497b
/pushserver/urls.py
0b12094409d3abeb1f8bfb9c9ae2a47e09d35c2a
[ "MIT" ]
permissive
epikjjh/Stay_Hungry_Push-server
597ecee836c4e42d55974640db6e62558226f295
d4a3e3fcf650c078b5d6ea7cc1277ebd5f75141d
refs/heads/master
2021-01-12T05:27:19.599515
2017-01-04T07:49:08
2017-01-04T07:49:08
77,929,914
0
0
null
null
null
null
UTF-8
Python
false
false
775
py
"""pushserver URL Configuration The `urlpatterns` list routes URLs to views. For more information please see: https://docs.djangoproject.com/en/1.10/topics/http/urls/ Examples: Function views 1. Add an import: from my_app import views 2. Add a URL to urlpatterns: url(r'^$', views.home, name='home') Class...
[ "epikjjh@gmail.com" ]
epikjjh@gmail.com
efce074729bc329b7d3d2b62f933c18cd1893b4b
a4deea660ea0616f3b5ee0b8bded03373c5bbfa2
/executale_binaries/register-variants/cmovbeq_r64_r64.gen.vex.py
aac0087e2d26b58209d268bec75c7d8b5c9eaab4
[]
no_license
Vsevolod-Livinskij/x86-64-instruction-summary
4a43472e26f0e4ec130be9a82f7e3f3c1361ccfd
c276edab1b19e3929efb3ebe7514489f66087764
refs/heads/master
2022-02-02T18:11:07.818345
2019-01-25T17:19:21
2019-01-25T17:19:21
null
0
0
null
null
null
null
UTF-8
Python
false
false
159
py
import angr proj = angr.Project('cmovbeq_r64_r64.exe') print proj.arch print proj.entry print proj.filename irsb = proj.factory.block(proj.entry).vex irsb.pp()
[ "sdasgup3@illinois.edu" ]
sdasgup3@illinois.edu
76d09e968cf645ce2067c816a6f63d03efb99692
4920b6c12dc2427036077d38ed8fa513130418a8
/bipad_api/test/test_inline_response20059.py
7f7f5f5d6b53b4e708645271de5f31afefb61347
[]
no_license
laxmitimalsina/covid_dashboard
d51a43d3ba2ad8a9754f723383f6395c1dccdda5
ccba8a3f5dd6dbd2b28e2479bda6e581eb23805f
refs/heads/master
2023-05-29T15:07:32.524640
2021-05-03T11:15:43
2021-05-03T11:15:43
273,698,762
0
0
null
null
null
null
UTF-8
Python
false
false
948
py
# coding: utf-8 """ BIPAD API No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 OpenAPI spec version: v1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ from __future__ import absolute_import import unittes...
[ "laxmitimalsina2017@gmail.com" ]
laxmitimalsina2017@gmail.com
8c0e1b2b4be9161d9d7d0227d2503c37d44d22eb
0c7d7b24a8d453fc1a9c2f27a08f3c4cfa46ec3b
/recipes/sota/2019/lm_analysis/shuffle_segments.py
f7e4b68d3a3f817fbc7488b29cbead6bad1659ba
[ "BSD-3-Clause", "MIT" ]
permissive
piEYj/wav2letter
e6ae462eeeb6a4374f8280c8fa15d8f194c60215
49fbb1392e69b5194c077df9847505ec995b4e3d
refs/heads/main
2023-09-06T01:08:48.837731
2021-11-12T14:13:41
2021-11-12T14:15:15
444,344,109
1
0
NOASSERTION
2022-01-04T08:37:19
2022-01-04T08:37:19
null
UTF-8
Python
false
false
3,394
py
import os import random import sys from multiprocessing import Pool import sox align_file = sys.argv[1] output_dir = sys.argv[2] lines = [] with open(align_file) as fin: lines = fin.readlines() N_THREADS = 40 MIN_SIL_LENGTH = 0.13 TOLERANCE = 0.04 def process(parameters): tid, n_samples = parameters ...
[ "facebook-github-bot@users.noreply.github.com" ]
facebook-github-bot@users.noreply.github.com
49f63466b6602a419c57f27b6e2d27a713646b02
56ade096db1fe376ee43d38c96b43651ee07f217
/033. Search in Rotated Sorted Array/Python/Solution.py
c1099f90447f301ab75df1e19f2814222c1d9484
[]
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
788
py
class Solution(object): def search(self, nums, target): """ :type nums: List[int] :type target: int :rtype: int """ length = len(nums) low = 0 high = length - 1 while low < high: mid = (low + high) // 2 if nums[mid] > nu...
[ "zhantong1994@163.com" ]
zhantong1994@163.com
f92e9cd13f5028cb073ece399a73ac451bd30914
fc5fa8501e8a62291a48c82611e1b74b961ca561
/robust_loss/adaptive_test.py
415dcbad61aff7e3520d0fcc1882db89e5a4445b
[ "Apache-2.0" ]
permissive
hitesh-hk/google-research
fa3d3e31cce995fa6da89322dab4993bf1c1ead8
ddc22300c4cb3223654c9a981f892dc0f6286e35
refs/heads/master
2021-02-17T18:57:31.267570
2020-01-17T14:49:25
2020-01-17T14:54:27
245,119,290
1
1
Apache-2.0
2020-03-05T09:24:01
2020-03-05T09:24:00
null
UTF-8
Python
false
false
17,982
py
# coding=utf-8 # Copyright 2019 The Google Research Authors. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicab...
[ "copybara-worker@google.com" ]
copybara-worker@google.com
91dcd5408203ac48530134b4c58374aad4842f14
e298bf40ae88c2bd8e0a07f3e92f3e08a92edcc6
/oslo_messaging/_drivers/zmq_driver/poller/green_poller.py
ab8f313f9fb8e6fd25990f75c2785310d39b15a9
[]
no_license
KevinKaiQian/polar-bear
46a814c746246394f76505846166673a049f12f2
61d4e0ccd7328a6aa543af3b75e5f7fedf98bf8e
refs/heads/master
2022-04-29T02:15:35.536039
2021-05-19T12:33:07
2021-05-19T12:33:07
172,068,536
2
0
null
2022-03-29T21:56:51
2019-02-22T13:11:58
Python
UTF-8
Python
false
false
2,501
py
# Copyright 2015 Mirantis, Inc. # # Licensed under the Apache License, Version 2.0 (the "License"); you may # not use this file except in compliance with the License. You may obtain # a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or ...
[ "root@localhost.localdomain" ]
root@localhost.localdomain
5b868fc577cd8428158cebc51ec4b35b5f9e7d80
9970ab0ad1e805f83cc4463d008ee4654cfb668e
/tags/2.01/AStyleTest/file-py/file-extract.py
342109f0b3e5c350d23ed0312153fc5378c9d14d
[]
no_license
svn2github/Artistic-Style
a464a7f6cc6bd11aec2a3452a9736e638630ecd8
6bd4db522937a182e63db96dbc095f2baae8a17a
refs/heads/master
2020-12-08T06:01:08.497124
2018-04-05T22:36:21
2018-04-05T22:36:21
67,278,407
2
2
null
null
null
null
UTF-8
Python
false
false
1,425
py
#! /usr/bin/python # Calls libextract to extract files in the TestArchives directory. # Change the global variables to the desired values. import libastyle #local directory import libextract #local directory import os import sys import time # global variables --------------------------------------------------------...
[ "jimp03@1fe3c263-5997-42ff-936f-87a7378ef0cd" ]
jimp03@1fe3c263-5997-42ff-936f-87a7378ef0cd
4304b728a6cae825d940ba9d9e818606ca8eb1b0
aaf045878465b2b26ff7ea12eb72453446cbd428
/flaskRESTful/app.py
e19033a24a3162b6c6ec4ffe77a40785473fac05
[]
no_license
mishrakeshav/REST-APIs-with-Flask-and-Python
c35a0e61c75763459227079c524eaf1dceb078f3
2b9dfdcb8da8d487713cd85cee9ee0aa3e65d974
refs/heads/master
2022-04-24T23:06:52.675441
2020-04-30T07:57:54
2020-04-30T07:57:54
257,958,388
0
0
null
null
null
null
UTF-8
Python
false
false
1,711
py
from flask import Flask,request from flask_restful import Resource , Api, reqparse from flask_jwt import JWT ,jwt_required from security import authenticate,identity app = Flask(__name__) app.secret_key = "keshav" api = Api(app) jwt = JWT(app, authenticate, identity) # /auth items = [] class Item(Resource): ...
[ "mishrakeshav@users.noreply.github.com" ]
mishrakeshav@users.noreply.github.com
1d2033a62e150fe1e23310385b00a8eba8c7586f
2a7acc39c637824dd6974fa154664ef9eca4383e
/app/utils/validators.py
3734657aa887f9ffb80c401926e70d99a84f7645
[]
no_license
pigmonchu/backfiles
e2a9415902f780708928065770486c6a8ee34e15
d0e8248d2949710f56d62777fb2a57727de39302
refs/heads/master
2022-10-04T12:10:50.078244
2019-08-26T22:30:20
2019-08-26T22:30:20
204,572,276
0
0
null
2022-09-16T18:08:43
2019-08-26T22:27:30
Python
UTF-8
Python
false
false
1,117
py
import importlib from werkzeug.datastructures import MultiDict import inspect ''' Gestión de validaciones y mensajes de error ''' def validate_form(blueprint_import_path, class_name, data): m_data = MultiDict(data) module = importlib.import_module('{}.forms'.format(blueprint_import_path)) form_class ...
[ "monterdi@gmail.com" ]
monterdi@gmail.com
3b8c7c687f2e9d9835d220c82d5e677e59f7cea6
dcbe50ee6cb4dc108e71df95479d9fd6e868e4e6
/Torch/6_nn.py
990f6dd84670a000b7a0c511a2bad9919fc6d998
[]
no_license
krishnakalyan3/DeepLearning-Experiments
1854821bb630a0ce2f4dea2423350c1b303d954b
7b7d9e9570e787b162c68e2734aa6b0c6567f257
refs/heads/master
2020-07-03T16:46:09.491095
2017-07-20T03:18:44
2017-07-20T03:18:44
74,243,657
1
0
null
null
null
null
UTF-8
Python
false
false
681
py
#!/usr/bin/env python3 # https://github.com/PythonWorkshop/Intro-to-TensorFlow-and-PyTorch/blob/master/PyTorch%20Tutorial.ipynb import pandas as pd import numpy as np from sklearn.model_selection import train_test_split import torch import torch.nn as nn import torch.nn.functional as F from torch.nn.modules.activation...
[ "krishnakalyan3@gmail.com" ]
krishnakalyan3@gmail.com
1aa7ae250a923bee4235a9567487ed406c8f8edd
e5873fabe08bac8c298026871bc3a562e330151e
/openrasp_iast/plugin/scanner/directory_basic.py
13fdb506795d49166c2fb0b801e70926a8e1ca03
[ "Apache-2.0" ]
permissive
1u0Hun/openrasp-iast
7a93d33301fdeae8021f4742870068f2d09f62bb
8b98e4ffda52c3e04bfaa682dde219e78c87c21a
refs/heads/master
2020-11-30T13:57:55.088148
2019-12-20T06:42:08
2019-12-20T06:42:08
null
0
0
null
null
null
null
UTF-8
Python
false
false
3,472
py
#!/usr/bin/env python3 # -*- coding: UTF-8 -*- """ Copyright 2017-2019 Baidu Inc. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by...
[ "350905402@qq.com" ]
350905402@qq.com
5ab15084fd09e6973269b95c1650ba480596b272
6b2a8dd202fdce77c971c412717e305e1caaac51
/solutions_2700486_0/Python/Venia/prob.py
86e3993e498a5d987a87e9293bcae14108d3f127
[]
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
2,633
py
#from functools import lru_cache from fractions import Fraction from copy import copy def sim(n): s = {(0, 0)} for i in range(20): s.add((2*i+1, -1)) s.add((-2*i+1,-1)) d = [(s, 1)] for i in range(n-1): dd = [] for pos, P in d: i = 0 whil...
[ "eewestman@gmail.com" ]
eewestman@gmail.com
13f1a79700d0944ac29487331e54040083749301
7d2f933ed3c54e128ecaec3a771817c4260a8458
/venv/Lib/site-packages/hamcrest/core/matcher.py
9694cdc65f3a3d50e5c962cf8660c9ebfdeb01ff
[]
no_license
danielmoreira12/BAProject
c61dfb1d0521eb5a28eef9531a00e744bfb0e26a
859f588305d826a35cc8f7d64c432f54a0a2e031
refs/heads/master
2021-01-02T07:17:39.267278
2020-02-25T22:27:43
2020-02-25T22:27:43
239,541,177
0
0
null
null
null
null
UTF-8
Python
false
false
2,663
py
from hamcrest.core.description import Description from typing import Generic, Optional, TypeVar from .selfdescribing import SelfDescribing __author__ = "Jon Reid" __copyright__ = "Copyright 2011 hamcrest.org" __license__ = "BSD, see License.txt" T = TypeVar("T") class Matcher(Generic[T], SelfDescribing): """A ...
[ "danielmoreira12@github.com" ]
danielmoreira12@github.com
9271e738798b8de817ca13db1bf838eab731809a
e3365bc8fa7da2753c248c2b8a5c5e16aef84d9f
/indices/errantri.py
2826e0ef09a4463a8b1073331ad6ffbaa22f4d4a
[]
no_license
psdh/WhatsintheVector
e8aabacc054a88b4cb25303548980af9a10c12a8
a24168d068d9c69dc7a0fd13f606c080ae82e2a6
refs/heads/master
2021-01-25T10:34:22.651619
2015-09-23T11:54:06
2015-09-23T11:54:06
42,749,205
2
3
null
2015-09-23T11:54:07
2015-09-18T22:06:38
Python
UTF-8
Python
false
false
44
py
ii = [('AinsWRR.py', 1), ('AinsWRR2.py', 1)]
[ "prabhjyotsingh95@gmail.com" ]
prabhjyotsingh95@gmail.com
09715a8d5742db87c2c7f8144885b717b9d5a4ab
9b9a02657812ea0cb47db0ae411196f0e81c5152
/repoData/zedshaw-librelist/allPythonContent.py
d8dd0ae1811f773aadcda994d70e4002c4d2289b
[]
no_license
aCoffeeYin/pyreco
cb42db94a3a5fc134356c9a2a738a063d0898572
0ac6653219c2701c13c508c5c4fc9bc3437eea06
refs/heads/master
2020-12-14T14:10:05.763693
2016-06-27T05:15:15
2016-06-27T05:15:15
null
0
0
null
null
null
null
WINDOWS-1252
Python
false
false
72,014
py
__FILENAME__ = admin from email.utils import parseaddr from config.settings import relay, SPAM, CONFIRM import logging from lamson import view, queue from lamson.routing import route, stateless, route_like, state_key_generator from lamson.bounce import bounce_to from lamson.server import SMTPError from app.mode...
[ "dyangUCI@github.com" ]
dyangUCI@github.com
fe086916c88a8fb986cfa09b74afb9490397ab2f
86df6f8f4f3c03cccc96459ad82bcdf3bf942492
/lintcode/majority-number.py
e759f4f141d0ff3c9823992ea18f1ff927931f25
[]
no_license
bdliyq/algorithm
369d1fd2ae3925a559ebae3fa8f5deab233daab1
e1c993a5d1531e1fb10cd3c8d686f533c9a5cbc8
refs/heads/master
2016-08-11T21:49:31.259393
2016-04-05T11:10:30
2016-04-05T11:10:30
44,576,582
0
0
null
null
null
null
UTF-8
Python
false
false
713
py
#!/usr/bin/env python # encoding: utf-8 # Question: http://www.lintcode.com/en/problem/majority-number/ class Solution: """ @param nums: A list of integers @return: The majority number """ def majorityNumber(self, nums): # write your codeare if len(nums) == 0: return 0 ...
[ "liyongqiang01@baidu.com" ]
liyongqiang01@baidu.com