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
5f570981e26c2bac4086a1ffe4a40b861456aeb1
687928e5bc8d5cf68d543005bb24c862460edcfc
/nssrc/com/citrix/netscaler/nitro/resource/stat/network/rnatip_stats.py
ff47d65c3c79e5bbfd9e2bf5f9e1a3baa6292bb4
[ "Apache-2.0", "LicenseRef-scancode-unknown-license-reference", "Python-2.0" ]
permissive
mbs91/nitro
c6c81665d6abd04de8b9f09554e5e8e541f4a2b8
be74e1e177f5c205c16126bc9b023f2348788409
refs/heads/master
2021-05-29T19:24:04.520762
2015-06-26T02:03:09
2015-06-26T02:03:09
null
0
0
null
null
null
null
UTF-8
Python
false
false
6,255
py
# # Copyright (c) 2008-2015 Citrix Systems, Inc. # # Licensed under the Apache License, Version 2.0 (the "License") # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable l...
[ "bensassimaha@gmail.com" ]
bensassimaha@gmail.com
3fe7e554cfc697b434f4888e6a7b0dd0b813f539
4b850a7766d659ef936978e3051b35864fe6d04a
/source/images/topomut_exp_decay_2.py
9ab6f25bdbdd97f25cd740507ef96ba5f0178564
[]
no_license
bogdanvuk/phd
239720dc9c396c500994d41cdf72d1870a358804
3ba99aa16a9a2553bae28107636473ebf9b04dd0
refs/heads/master
2020-12-29T19:03:41.821908
2016-11-20T10:26:29
2016-11-20T10:26:29
68,291,585
0
0
null
null
null
null
UTF-8
Python
false
false
119
py
from topomut_exp_decay import plot_topomut plt = plot_topomut(180, 60, topo_mut=[0.6], loc="lower right") plt.show()
[ "bogdan.vukobratovic@gmail.com" ]
bogdan.vukobratovic@gmail.com
168517ec05262d912eb911a4fbe552334aea188a
5a43074c6c26a5dca27ba15a09468de0a2c7c654
/chapt9/train2/train2.py
25ee22110f449cf88a49a64a276720e65e0de135
[]
no_license
NHRD/The-second
76e922da542da5e7bb36a14d6bd942eb0a9d2c98
cb02544e23b826345224d9591d0e23499485aae0
refs/heads/master
2020-03-17T00:49:11.022011
2018-05-13T12:38:14
2018-05-13T12:38:14
133,130,782
0
0
null
null
null
null
UTF-8
Python
false
false
100
py
import cubed num = float(input("Input float num:")) result = cubed.cubic(num) print(result)
[ "naohisa.harada@gmail.com" ]
naohisa.harada@gmail.com
783de3fff23bcde48f9048bc5d4df16607e2da6c
39157aabbbab0f7824138a31ee26fbf88853e601
/users/migrations/0001_initial.py
2aeb55036fc284fbf105e0ea7fffddaaa53843ef
[ "MIT" ]
permissive
CecileSerene/uptv
825d9bb0dc7e44cc8e7224632403b82f30443b07
47bd79b34d409405396e9640c18578837d45e91b
refs/heads/master
2020-04-10T22:59:43.281114
2018-11-06T12:22:32
2018-11-06T12:22:32
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,952
py
# Generated by Django 2.1.2 on 2018-10-12 08:34 import django.contrib.auth.models import django.contrib.auth.validators from django.db import migrations, models import django.utils.timezone class Migration(migrations.Migration): initial = True dependencies = [ ('auth', '0009_alter_user_last_name_ma...
[ "florimond.manca@gmail.com" ]
florimond.manca@gmail.com
f3d08f6599133229000a463854dc0c353b87bf4c
a838d4bed14d5df5314000b41f8318c4ebe0974e
/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_08_01/aio/operations/_peer_express_route_circuit_connections_operations.py
9c16d68810402a80d26aeca6f5d45cd563bb9ae9
[ "MIT", "LicenseRef-scancode-generic-cla", "LGPL-2.1-or-later" ]
permissive
scbedd/azure-sdk-for-python
ee7cbd6a8725ddd4a6edfde5f40a2a589808daea
cc8bdfceb23e5ae9f78323edc2a4e66e348bb17a
refs/heads/master
2023-09-01T08:38:56.188954
2021-06-17T22:52:28
2021-06-17T22:52:28
159,568,218
2
0
MIT
2019-08-11T21:16:01
2018-11-28T21:34:49
Python
UTF-8
Python
false
false
9,352
py
# coding=utf-8 # -------------------------------------------------------------------------- # Copyright (c) Microsoft Corporation. All rights reserved. # Licensed under the MIT License. See License.txt in the project root for license information. # Code generated by Microsoft (R) AutoRest Code Generator. # Changes may ...
[ "noreply@github.com" ]
scbedd.noreply@github.com
bc0bcf60649a00c4d9f7212b42af2077cb311863
d954e2f74d1186c8e35be8ea579656513d8d3b98
/rllib/connectors/agent/obs_preproc.py
93f016e1e22a3f7275f5ed6e1bc017d7b3ecd56e
[ "MIT", "BSD-3-Clause", "Apache-2.0" ]
permissive
vakker/ray
a865de214e60f9e62d61c03ae7ce55ad6030f84c
de238dd626a48a16c8b3cd006f3482db75f63a83
refs/heads/master
2023-01-23T22:30:44.839942
2022-10-23T01:05:48
2022-10-23T01:05:48
171,845,804
0
1
Apache-2.0
2023-01-14T08:01:04
2019-02-21T09:54:36
Python
UTF-8
Python
false
false
2,447
py
from typing import Any from ray.rllib.connectors.connector import ( AgentConnector, ConnectorContext, register_connector, ) from ray.rllib.models.preprocessors import get_preprocessor from ray.rllib.policy.sample_batch import SampleBatch from ray.rllib.utils.typing import AgentConnectorDataType from ray.ut...
[ "noreply@github.com" ]
vakker.noreply@github.com
f3123e9c31e2c9ec19753cac3d6daa669ffa7fe7
2e682fd72e3feaa70e3f7bf2a3b83c50d783ec02
/PyTorch/built-in/foundation/GLM-10B/configure_data.py
9365cd518877885c9f0a276a850b14ec9414fab1
[ "GPL-1.0-or-later", "MIT", "Apache-2.0", "BSD-2-Clause", "BSD-3-Clause", "LicenseRef-scancode-generic-cla", "LicenseRef-scancode-unknown-license-reference" ]
permissive
Ascend/ModelZoo-PyTorch
4c89414b9e2582cef9926d4670108a090c839d2d
92acc188d3a0f634de58463b6676e70df83ef808
refs/heads/master
2023-07-19T12:40:00.512853
2023-07-17T02:48:18
2023-07-17T02:48:18
483,502,469
23
6
Apache-2.0
2022-10-15T09:29:12
2022-04-20T04:11:18
Python
UTF-8
Python
false
false
18,384
py
# coding=utf-8 # Copyright (c) 2019, NVIDIA CORPORATION. All rights reserved. # Copyright 2023 Huawei Technologies Co., Ltd # # 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...
[ "wangjiangben@huawei.com" ]
wangjiangben@huawei.com
42db9ae5b41d878484401904355a985bab0c7f8d
f998a574343292d050777f616b408a74fde05738
/eshop_docker/eshop/extra_apps/social_core/tests/backends/open_id_connect.py
25e6b5db9900819e073facd14c2e6cdb9f222ebc
[]
no_license
Boomshakal/Django
7987e0572fc902bd56360affea0b5087a4cb04a7
a149691c472eab3440028bf2460cd992acec0f8a
refs/heads/master
2023-01-11T06:16:29.283428
2022-12-23T08:00:05
2022-12-23T08:00:05
199,360,433
0
0
null
2020-06-06T09:37:02
2019-07-29T02:01:09
Python
UTF-8
Python
false
false
6,334
py
# -*- coding: utf-8 -*- from calendar import timegm import os import sys import json import datetime import unittest2 try: from jwkest.jwk import RSAKey, KEYS from jwkest.jws import JWS from jwkest.jwt import b64encode_item NO_JWKEST = False except ImportError: NO_JWKEST = True f...
[ "362169885@qq.com" ]
362169885@qq.com
f82fa05a647d060994f1394b769def3f788dcc39
0eaf0d3f0e96a839f2ef37b92d4db5eddf4b5e02
/abc274/b.py
1f18cd915d905546bb897ac0c9a184c714fb9018
[]
no_license
silphire/atcoder
b7b02798a87048757745d99e8564397d1ca20169
f214ef92f13bc5d6b290746d5a94e2faad20d8b0
refs/heads/master
2023-09-03T17:56:30.885166
2023-09-02T14:16:24
2023-09-02T14:16:24
245,110,029
0
0
null
null
null
null
UTF-8
Python
false
false
201
py
h, w = map(int, input().split()) cc = [ input().rstrip() for _ in range(h) ] xx = [0] * w for x in range(w): for y in range(h): if cc[y][x] == '#': xx[x] += 1 print(*xx)
[ "silphire@gmail.com" ]
silphire@gmail.com
325eb1dbf06a23dc59d7f10da7867ee273d97c26
0cbc02dd7d1efbe61de04dcf1c6eccb6496bf074
/month05/teacher/day02/demo03_dataframe.py
f25546461a98a1a27fa428c2ff04b2b73a91f7a7
[]
no_license
fsym-fs/Python_AID
0b1755c15e20b214940041e81bedb2d5ec99e3f9
f806bb02cdb1670cfbea6e57846abddf3972b73b
refs/heads/master
2021-03-20T06:57:45.441245
2020-05-27T14:13:45
2020-05-27T14:13:45
247,187,064
0
0
null
null
null
null
UTF-8
Python
false
false
2,871
py
""" demo03_dataFrame.py """ import pandas as pd import numpy as np df = pd.DataFrame() print(df) # 通过列表创建DataFrame data = ['王伟超', '王小超', '王大超', '王年轻超'] df = pd.DataFrame(data) print(df) data = [['Alex',10],['Bob',12],['Clarke',13]] df = pd.DataFrame(data, index=['S01', 'S02', 'S03'], columns=['Name', 'A...
[ "1085414029@qq.com" ]
1085414029@qq.com
c02b81dbf0c54de6a19bd9b9039bd4f20831c548
f435b177d625e50bb9beafb191e1df01e3cb30ee
/src/pyoiler/problems/euler015.py
c9d24f4b6a0d172559219d2b5607eca2cbc11049
[]
no_license
bathcat/pyOiler
dcf948b0a18a9094314564d177c7827c875de78b
3ce4d96277e61346509c2975a0034fb5ba845f23
refs/heads/main
2023-03-12T10:42:48.837126
2021-02-10T19:18:14
2021-02-10T19:18:14
337,828,844
1
0
null
null
null
null
UTF-8
Python
false
false
2,357
py
from typing import Iterable, Tuple from ..shared.more_itertools import flat_map, count from ..shared.solver import Solver """[summary] 2 thoughts on performance: 1. This *enumerates* paths, which isn't necessary. All we need to do is count them, so just increment a number when you get to 16,16, and...
[ "you@example.com" ]
you@example.com
0f65babd63124bdd8131d36882d73b9b9ea8f77e
ad59fb12042bfd3f5c43eca057d0f747f9e148cf
/Se2iP/usr/lib/enigma2/python/Plugins/Extensions/IPTVPlayer/tsiplayer/addons/resources/sites/enstream.py
ebd1c92b5ec4b69402b4e26a91e58348b7cf1fb3
[]
no_license
lexlong2007/eePlugins
d62b787100a7069ad5713a47c5688008063b45ec
167b262fe36901a2d3a2fae6d0f85e2307b3eff7
refs/heads/master
2022-03-09T05:37:37.567937
2022-02-27T01:44:25
2022-02-27T01:44:25
253,012,126
0
0
null
2020-04-04T14:03:29
2020-04-04T14:03:29
null
UTF-8
Python
false
false
13,438
py
# -*- coding: utf-8 -*- # vStream https://github.com/Kodi-vStream/venom-xbmc-addons import re from Plugins.Extensions.IPTVPlayer.tsiplayer.addons.resources.lib import xbmc from Plugins.Extensions.IPTVPlayer.tsiplayer.addons.resources.lib.gui.hoster import cHosterGui from Plugins.Extensions.IPTVPlayer.tsiplayer.a...
[ "zdzislaw22@windowslive.com" ]
zdzislaw22@windowslive.com
0bf08e9a43aaf6b9a2ef34639ca2ac9cc2f35030
6478723d180a8ef39941ba04b80c1eca9f437323
/Premuim/1134. Armstrong Number.py
5e3cf31015b6a7071c89cb6029a027521886b866
[]
no_license
NiuNiu-jupiter/Leetcode
2a49a365898ecca393cb1eb53a47f4501b25952d
e278ae6ded32f6a2d054ae11ad8fcc45e7bd0f86
refs/heads/master
2022-11-22T01:05:57.417538
2020-07-28T23:34:39
2020-07-28T23:34:39
182,104,119
0
0
null
null
null
null
UTF-8
Python
false
false
725
py
""" The k-digit number N is an Armstrong number if and only if the k-th power of each digit sums to N. Given a positive integer N, return true if and only if it is an Armstrong number. Example 1: Input: 153 Output: true Explanation: 153 is a 3-digit number, and 153 = 1^3 + 5^3 + 3^3. Example 2: Input: ...
[ "cmyumo.zhang@gmail.com" ]
cmyumo.zhang@gmail.com
0da148c12136dd8d13acd43683cee98ce7199904
c03d102d36ff21675ec3bb58e5d46af8c3f73ff6
/polyaxon/tracker/events/job.py
0e0cac80c31b9515316660fd5e0da98b98625c6c
[ "MIT" ]
permissive
errorsandwarnings/polyaxon
40cc1ee5797fe8add0a3bfb693abcfcab1c2f9cb
5eec0bc4aa4ad5f2dce8d1c0ef653265bf4fe6be
refs/heads/master
2020-03-21T05:28:27.001571
2018-06-20T06:43:55
2018-06-20T07:40:45
null
0
0
null
null
null
null
UTF-8
Python
false
false
764
py
import tracker from event_manager.events import job tracker.subscribe(job.JobCreatedEvent) tracker.subscribe(job.JobUpdatedEvent) tracker.subscribe(job.JobStartedEvent) tracker.subscribe(job.JobStartedTriggeredEvent) tracker.subscribe(job.JobSoppedEvent) tracker.subscribe(job.JobSoppedTriggeredEvent) tracker.subscrib...
[ "mouradmourafiq@gmail.com" ]
mouradmourafiq@gmail.com
2d532de125892942cfed2532b6dd7d87b171d905
aff694b019806db8f8cd66fd205f9049351bb10c
/bin/easy_install-2.7
8a5bf35b69b51d92171e4827376f2869c6617b0f
[]
no_license
mikilabarda/my-first-blog
3885d08f87e9c3f05da7000b9e60d29f3895efd3
7e1476fa75e6db95bfe8685ad43a233777166071
refs/heads/master
2021-05-30T19:25:38.022284
2016-03-20T05:31:16
2016-03-20T05:31:16
null
0
0
null
null
null
null
UTF-8
Python
false
false
254
7
#!/Users/Miki/Desktop/env/bin/python2.7 # -*- coding: utf-8 -*- import re import sys from setuptools.command.easy_install import main if __name__ == '__main__': sys.argv[0] = re.sub(r'(-script\.pyw|\.exe)?$', '', sys.argv[0]) sys.exit(main())
[ "you@example.com" ]
you@example.com
ca40804f3b11f5bf3ee4a29175aac94bdf3ecb7c
32c4b55b781b0b08860e1e56eb3cf226b1dc7644
/ask-sdk-model/ask_sdk_model/services/reminder_management/trigger.py
af37e6b7ee01251792653e4516fb55111ff43832
[ "Apache-2.0" ]
permissive
vertolab/alexa-apis-for-python
8d2b4b5b44d0360bfa24508ca7d55e4f2c92e0dd
85274cff0818e78d87f7f389e7b0e4613ddaa170
refs/heads/master
2020-04-29T01:33:15.395179
2019-03-15T02:33:42
2019-03-15T02:33:42
175,734,525
0
0
Apache-2.0
2019-03-15T02:29:44
2019-03-15T02:29:44
null
UTF-8
Python
false
false
5,240
py
# coding: utf-8 # # Copyright 2019 Amazon.com, Inc. or its affiliates. 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. A copy of the License is located at # # http://aws.amazon.com/apache2.0/ # # or in the "lice...
[ "ask-pyth@dev-dsk-ask-sdk-python-2b-85d79f62.us-west-2.amazon.com" ]
ask-pyth@dev-dsk-ask-sdk-python-2b-85d79f62.us-west-2.amazon.com
804fcab8ec23cea1ffebc6b018cc84cd0f542370
c66955c6fc178955c2024e0318ec7a91a8386c2d
/testframework/excise/runnerwithallure.py
2918eed15525373dfcc856b73f3e07c020e0037c
[]
no_license
duheng18/python-study
a98642d6ee1b0043837c3e7c5b91bf1e28dfa588
13c0571ac5d1690bb9e615340482bdb2134ecf0e
refs/heads/master
2022-11-30T17:36:57.060130
2019-11-18T07:31:40
2019-11-18T07:31:40
147,268,053
1
0
null
2022-11-22T03:36:51
2018-09-04T00:49:42
Python
UTF-8
Python
false
false
1,407
py
#!/usr/bin/env python # encoding: utf-8 import sys import os import pytest import subprocess import logging import allure import shutil #为什么我们要设置这个路径到pythonPATH sys.path.append(os.path.dirname(sys.modules[__name__].__file__)) fileHandler = logging.FileHandler(filename="../log/uiauto.log",encoding="utf-8") logging.g...
[ "emaildh@163.com" ]
emaildh@163.com
8bdced7c42b83cf816e4f2539ea174d548463aeb
1f074b0080c75fe7a3056b021551408f96396c59
/djangoTutorial/settings.py
1317286cc1e6643f34805a7c3c1a1155948eb079
[]
no_license
jkiggins/djangoTutorial
9668c0bb84f60334a43c0c698f6c7ce357342bf7
d58e7757cbcbdd0b8f42df6859e260dafe2d7d19
refs/heads/master
2020-12-01T17:29:25.565130
2016-09-10T01:27:21
2016-09-10T01:27:21
66,515,514
0
0
null
null
null
null
UTF-8
Python
false
false
3,264
py
""" Django settings for djangoTutorial project. Generated by 'django-admin startproject' using Django 1.9.1. For more information on this file, see https://docs.djangoproject.com/en/1.9/topics/settings/ For the full list of settings and their values, see https://docs.djangoproject.com/en/1.9/ref/settings/ """ impor...
[ "=" ]
=
4c9532d704fa42823f2a392471ecf7fe6eb6a66e
1ecde4178548f331f15717f245e3f657b58b9993
/yyx_crawler/scrapySchool_England_Ben_alevel_ib/scrapySchool_England_Ben/spiders/EdinburghNapierUniversity_Alevel_Ib.py
852782161acbd27696c6e0f7a26b3c11481e7502
[]
no_license
gasbarroni8/python_spider
296dcb7c3fd9dd028423fe5ec0a321d994478b15
7935fa462926bc8ea9bf9883bd15265dd0d3e6df
refs/heads/master
2023-03-26T05:22:59.858422
2019-04-15T07:17:56
2019-04-15T07:17:56
null
0
0
null
null
null
null
UTF-8
Python
false
false
11,486
py
# -*- coding: utf-8 -*- import scrapy import re from scrapySchool_England_Ben.clearSpace import clear_space, clear_lianxu_space from scrapySchool_England_Ben.getItem import get_item from scrapySchool_England_Ben.getTuition_fee import getTuition_fee from scrapySchool_England_Ben.items import ScrapyschoolEnglandBenItem f...
[ "1102213456@qq.com" ]
1102213456@qq.com
73b7beaa9bea2b28e0fd1617ec699f27fe407e5a
107f9bbd587decbab2e6188c0085e9f67b5f3708
/Extractor/util/DoubleValExtractor.py
6bba748c3edadf2ace17f5fc93206e110ab92d6e
[ "Apache-2.0" ]
permissive
FloatErrorAnalysis/LLVM
4dbcd52a60774847949cf190a71cdf374ca437ce
7ce723e1fe7fee227ab7c0ac8d49bca89459957a
refs/heads/master
2020-04-03T14:56:55.038691
2018-11-11T15:09:56
2018-11-11T15:09:56
155,343,259
1
0
null
null
null
null
UTF-8
Python
false
false
2,116
py
# 一个专门用于提取ll文件double类型变量和相关函数以及double类型的函数的工具类 ''' 全局标识符(函数,全局变量)以“@”字符开头。 本地标识符(注册名称,类型)以'%'字符开头 ''' class DoubleValExtractor: source_file_path = '' ll_file_content_list = [] vm_module = [] double_vars = [] double_functions = [] double_statements = [] def __init__(self, source_fil...
[ "2529716798@qq.com" ]
2529716798@qq.com
49440e2525655c4cccc5adb43fc2eaae167e8f7e
82b946da326148a3c1c1f687f96c0da165bb2c15
/sdk/python/pulumi_azure_native/cache/_enums.py
687882b04641acfe4856e26c5ddfb16742be973e
[ "BSD-3-Clause", "Apache-2.0" ]
permissive
morrell/pulumi-azure-native
3916e978382366607f3df0a669f24cb16293ff5e
cd3ba4b9cb08c5e1df7674c1c71695b80e443f08
refs/heads/master
2023-06-20T19:37:05.414924
2021-07-19T20:57:53
2021-07-19T20:57:53
387,815,163
0
0
Apache-2.0
2021-07-20T14:18:29
2021-07-20T14:18:28
null
UTF-8
Python
false
false
3,490
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! *** from enum import Enum __all__ = [ 'AofFrequency', 'ClusteringPolicy', 'DayOfWeek', 'EvictionPolicy', 'PrivateEndpointServiceConnec...
[ "noreply@github.com" ]
morrell.noreply@github.com
c9f5c22556be98cbe18c1f2803000713bd307741
80301f1cffc5afce13256e2ecab6323c5df00194
/cn.sc/py/C1707.py
aae24a1028182e2d6b73336421142d36b5e71075
[]
no_license
ZhenjianYang/SoraVoiceScripts
c1ddf7c1bbcb933243754f9669bd6b75777c87b9
94a948090aba0f63b10b2c69dc845dc99c822fc4
refs/heads/master
2023-04-18T04:54:44.306652
2023-04-06T11:15:17
2023-04-06T11:15:17
103,167,541
43
11
null
2021-03-06T08:52:54
2017-09-11T17:36:55
Python
UTF-8
Python
false
false
20,443
py
from ED6SCScenarioHelper import * def main(): SetCodePage("gbk") # 柏斯 CreateScenaFile( FileName = 'C1707 ._SN', MapName = 'Bose', Location = 'C1707.x', MapIndex = 1, MapDefaultBGM = "ed60010", Flags ...
[ "zhenjian.c.yang@gmail.com" ]
zhenjian.c.yang@gmail.com
084d1e9466ab51b588f6b9e5ee5775e6b2032af3
c9ddbdb5678ba6e1c5c7e64adf2802ca16df778c
/cases/synthetic/exp-big-987.py
98a30d699cfa98b31b62bcdabb1a8d73c564b701
[]
no_license
Virtlink/ccbench-chocopy
c3f7f6af6349aff6503196f727ef89f210a1eac8
c7efae43bf32696ee2b2ee781bdfe4f7730dec3f
refs/heads/main
2023-04-07T15:07:12.464038
2022-02-03T15:42:39
2022-02-03T15:42:39
451,969,776
0
0
null
null
null
null
UTF-8
Python
false
false
3,178
py
# Compute x**y def exp(x: int, y: int) -> int: a: int = 0 a2: int = 0 a3: int = 0 a4: int = 0 a5: int = 0 def f(i: int) -> int: nonlocal a nonlocal a2 nonlocal a3 nonlocal a4 nonlocal a5 def geta() -> int: return a if i <= 0: ...
[ "647530+Virtlink@users.noreply.github.com" ]
647530+Virtlink@users.noreply.github.com
a6754e24060dada2bc601f991212c3b62a574c61
ca7aa979e7059467e158830b76673f5b77a0f5a3
/Python_codes/p02927/s825032151.py
0c0da2fdaf320f22fbbb8c13954eeb5e830d6169
[]
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
232
py
M, D = map(int, input().split()) def f(m, d): d1, d10 = d % 10, d // 10 return d1 >= 2 and d10 >= 2 and d1 * d10 == m count = 0 for i in range(1, M+1): for j in range(1, D + 1): count += 1 if f(i, j) else 0 print(count)
[ "66529651+Aastha2104@users.noreply.github.com" ]
66529651+Aastha2104@users.noreply.github.com
f37ce077214372ee2aa95bf55c151a14a1b54739
49cb4e39c562c0cca9b8eaf09aeb10689d3f8e8f
/test/expr.py
3911c63c184a67db061627b9626c0d1f66507423
[]
no_license
2020saurav/py-codegen
2df470025e60bb157522de5eb92a467646bbd181
dca61d31faf41bd05aff8399daed3612211d77c2
refs/heads/master
2021-01-01T20:11:01.476604
2015-04-14T18:28:08
2015-04-14T18:28:08
33,630,589
4
2
null
null
null
null
UTF-8
Python
false
false
89
py
a = 100 while a > 0: if a % 5 == 0: print a if a%37 == 0: break a = a - 1 print a
[ "2020saurav@gmail.com" ]
2020saurav@gmail.com
f5321f3e48bf46ddb5a487c404d82dbee8b6acfd
0124528676ee3bbaec60df5d6950b408e6da37c8
/Projects/QTPy/adafruit-circuitpython-bundle-7.x-mpy-20220601/examples/irremote_transmit.py
9595f492cf2210c7860dca7d88ef446d35ffbe60
[ "LicenseRef-scancode-warranty-disclaimer" ]
no_license
land-boards/lb-boards
8127658dc537dcfde0bb59a5018ab75c3f0087f6
eeb98cc2003dac1924845d949f6f5bd387376568
refs/heads/master
2023-06-07T15:44:46.110742
2023-06-02T22:53:24
2023-06-02T22:53:24
4,847,305
10
12
null
null
null
null
UTF-8
Python
false
false
968
py
# SPDX-FileCopyrightText: 2021 ladyada for Adafruit Industries # SPDX-License-Identifier: MIT """IR transmit example using Circuit Playground Express""" # pylint: disable-msg=no-member import time import pulseio import pwmio import board import digitalio import adafruit_irremote # Create a button object to trigger IR...
[ "doug@douglasgilliland.com" ]
doug@douglasgilliland.com
8b3821d319dca7c778f383c3838af711f2438bfd
56f998d88a4cdae9f2c99b6f2013a10b90f227a2
/network/admin.py
8010ed3923c1ded4a1326c43ba9b78eac1fbe675
[]
no_license
lautarodapin/network-course-cs50
a45cfa675b7ff475ee1600276cbf47eb19fca7d9
2994c6b44eb46f4d303621a4e48604aa672017ea
refs/heads/main
2023-04-02T06:42:14.599721
2021-04-09T20:57:18
2021-04-09T20:57:18
355,749,724
0
0
null
null
null
null
UTF-8
Python
false
false
609
py
from django.contrib import admin from .models import Post, User, Comment class CommentInline(admin.TabularInline): model = Comment extra = 0 @admin.register(Post) class PostAdmin(admin.ModelAdmin): list_display = [ "id", "content", "likes", "user", ] inlines = [Com...
[ "lautarodapin@gmail.com" ]
lautarodapin@gmail.com
97afbf06615fccf029968bf34a0bc4e21e70c552
5c74f8526f185d90093aba3fb213a11de5ea18ba
/rx/operators/observable/observeon.py
8455b848d1b064d10076f186fa1593f02c7659e2
[ "Apache-2.0" ]
permissive
yutiansut/RxPY
df02c64cb791bf2a7a97413a75f4d2903e1682b5
c3bbba77f9ebd7706c949141725e220096deabd4
refs/heads/master
2020-03-10T11:07:27.642494
2018-12-29T07:02:02
2018-12-29T07:02:02
129,349,161
0
0
NOASSERTION
2018-12-29T07:02:03
2018-04-13T04:50:02
Python
UTF-8
Python
false
false
794
py
from rx.core import AnonymousObservable, ObservableBase from rx.core.observeonobserver import ObserveOnObserver def observe_on(source, scheduler) -> ObservableBase: """Wraps the source sequence in order to run its observer callbacks on the specified scheduler. Keyword arguments: scheduler -- Schedule...
[ "dag@brattli.net" ]
dag@brattli.net
44f00df1320decf7dfa7e83714f2c1c267a32738
9d461bb7e7db942654a819fd544dd6e59e671841
/gui_test.py
179acc4ff415a686fb2d97162ac3584cbf8d961d
[]
no_license
vimcoper/qt_candle_chart
193644057a43ef068292f2bd61e713530485f8e9
205c493e3e374562142eaac9992f73be9e0b9d98
refs/heads/master
2022-07-19T09:03:31.396671
2020-05-25T08:19:57
2020-05-25T08:19:57
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,135
py
import sys import time import numpy as np from matplotlib.backends.qt_compat import QtCore, QtWidgets, is_pyqt5 if is_pyqt5(): from matplotlib.backends.backend_qt5agg import ( FigureCanvas, NavigationToolbar2QT as NavigationToolbar) else: from matplotlib.backends.backend_qt4agg import ( Figure...
[ "pjt3591oo@gmail.com" ]
pjt3591oo@gmail.com
1e257cc346957e4e15add00df2f9cfc675ebce1c
61a72b019346d10c502f7ed4d4894adbfe03c8cb
/legacy/structures.py
fd6f19c85c10d4ae631646b1bc26fe6ea01bdf4c
[ "BSD-2-Clause" ]
permissive
numba/numba-examples
10617ced993e1f756595152711c1b6abe8d180a9
c423f5419a459f5ab8874fda6d39bb5ea05d04b2
refs/heads/master
2023-08-23T15:33:21.729427
2022-06-27T22:54:27
2022-06-27T22:54:27
96,823,247
168
62
BSD-2-Clause
2022-09-29T19:24:53
2017-07-10T21:32:44
Jupyter Notebook
UTF-8
Python
false
false
547
py
#!/usr/bin/env python from __future__ import print_function, division, absolute_import import numpy as np from numba import jit record_type = np.dtype([('x', np.double), ('y', np.double)]) a = np.array([(1.0, 2.0), (3.0, 4.0)], dtype=record_type) @jit def hypot(data): result = np.empty_like(data, dtype=np.floa...
[ "stuart.archibald@googlemail.com" ]
stuart.archibald@googlemail.com
ea5cf27bff17dbb8236475b3e8ee6c32c4dfa01f
5c928e2b5024920d26c93f4b06e93c08a3e61294
/portal_rnaseq_galaxy/scripts/api/copy_history_dataset_to_history.py
ec02564972b8186fd5dc669fbf1280a839f997fa
[ "CC-BY-2.5", "AFL-2.1", "AFL-3.0", "CC-BY-3.0", "LicenseRef-scancode-unknown-license-reference" ]
permissive
BioinformaticsArchive/PathogenPortal
c390cf78299595d170b20a105afdd5200200ddaf
d4b1e525e7e91ce32ec29998a7bcb5a1415706a3
refs/heads/master
2021-01-22T12:49:48.599355
2013-08-13T16:16:13
2013-08-13T16:16:13
null
0
0
null
null
null
null
UTF-8
Python
false
false
445
py
#!/usr/bin/env python import os, sys sys.path.insert( 0, os.path.dirname( __file__ ) ) from common import submit try: assert sys.argv[3] data = {} data['from_hda_id'] = sys.argv[3] except IndexError: print 'usage: %s key url hda_file_id' % os.path.basename( sys.argv[0] ) print ' library_file_id...
[ "anwarren@vbi.vt.edu" ]
anwarren@vbi.vt.edu
bf5c50208a3d1421abd348492423884ea0e9bb6f
60317dc519af01c33a9b0f507924fd51c44541df
/iMii_v9/venv/bin/pygmentize
1c281685d51694efc96f7519d8d42ff5271f05da
[]
no_license
Durant21/iMii_v9
b538450c8a9e7ca1c852270c2641f91083bd4270
338ff9adab7b0d794d84553f7cf380ac10e47761
refs/heads/master
2022-10-12T16:03:16.931696
2019-07-08T02:54:03
2019-07-08T02:54:03
195,724,107
0
1
null
2022-10-10T17:32:12
2019-07-08T02:40:19
Python
UTF-8
Python
false
false
406
#!/home/dante/Projects/iMii/v9/iMii_v9/venv/bin/python # EASY-INSTALL-ENTRY-SCRIPT: 'Pygments','console_scripts','pygmentize' __requires__ = 'Pygments' import re import sys from pkg_resources import load_entry_point if __name__ == '__main__': sys.argv[0] = re.sub(r'(-script\.pyw?|\.exe)?$', '', sys.argv[0]) sy...
[ "durant.crimson@icloud.com" ]
durant.crimson@icloud.com
4a2caa48c63041ee507c0375de604edc7effa7d2
cc6a674cab1dc959189b9edff975625f4815bc1c
/Transformers-from-scratch/examples/set_context.py
2317e03224a6ee1213b8d2ce86f2a61db92c7e66
[ "MIT" ]
permissive
shreyansh26/DL-Code-Repository
15173042f566ea42f96eb65283347927a2fab4ff
f1974eedc1fef54b2d274703390a22721e46f502
refs/heads/master
2023-07-15T23:15:05.484609
2021-08-30T15:41:20
2021-08-30T15:41:20
382,834,342
0
0
null
2021-07-04T12:11:08
2021-07-04T11:27:13
Python
UTF-8
Python
false
false
203
py
import os import sys sys.path.insert(0, os.path.abspath(os.path.join(os.path.dirname(__file__), '..'))) sys.path.insert(0, os.path.abspath(os.path.join(os.path.dirname(__file__), '../tfb'))) import tfb
[ "shreyansh.pettswood@gmail.com" ]
shreyansh.pettswood@gmail.com
ae0760e8766262053cf1d4a77e9a84e482e76efa
9f714608155e7f8b92cea3dd4bda78f3ac1f56a2
/Resume/put_item.py
a58e932cec941fad48372545f0eed3a34fb0491c
[]
no_license
yenkuanlee/FoodResume
0258dbaf29ac3efc864b47b70fdc14b8acc37dac
2e7bff23235d569cf4caaba86f956b1bad749082
refs/heads/master
2020-03-20T23:58:25.545722
2018-07-09T04:12:37
2018-07-09T04:12:37
137,871,950
2
0
null
null
null
null
UTF-8
Python
false
false
839
py
# -*- coding: utf-8 -*- import json from web3 import Web3, HTTPProvider, TestRPCProvider from web3.contract import ConciseContract import os import sys Cpath = os.path.dirname(os.path.realpath(__file__)) host = 'localhost' #account = '0x42946c2bb22ad422e7366d68d3ca07fb1862ff36' ## supplier account = '0xe6ab871f860d9f2...
[ "yenkuanlee@gmail.com" ]
yenkuanlee@gmail.com
1b73f4236d71f8b4f37038833d494e5d23ba0b35
87b904ebf11d416567a7e49b91b8e9934f67c6f3
/show_df_as_html_table.py
d8dd6bfadb056408f98c24475be1fe9ce25d2c20
[ "MIT" ]
permissive
NathanKr/pandas-playground
a701f524aa48f22f6680e48c597206e10f8222e5
a5355c59cb61ca3a7dcce590ed42d56a6b943783
refs/heads/main
2023-06-05T11:07:52.061327
2021-07-02T02:35:15
2021-07-02T02:35:15
328,917,719
0
0
null
null
null
null
UTF-8
Python
false
false
260
py
import pandas as pd import os url = 'https://en.wikipedia.org/wiki/List_of_S%26P_500_companies' snp500_df = pd.read_html(url)[0] file_path = os.path.join('temp','snp500_df_to_html.html') print(f'write snp500_df to {file_path}') snp500_df.to_html(file_path)
[ "natankrasney@gmail.com" ]
natankrasney@gmail.com
a59830d94f066732fabbf3056710ff933a7aef39
dddbc7dea28cc36fb110f83acbc4b6290c9dea2d
/Final/playground.py
88ae3ba8f2832e52c36bc0d0c8f6f3411df0c682
[]
no_license
rubcuadra/TC2025_PA
82551d6b10a214b99a4d7110492c7c0c01188eed
1893e1950709db009933d3f9ae9a84e9d8354241
refs/heads/master
2020-03-27T15:06:26.398245
2018-11-28T00:28:26
2018-11-28T00:28:26
146,698,373
0
0
null
null
null
null
UTF-8
Python
false
false
452
py
from onitampy.board import OnitamaBoard from onitampy.movements import OnitamaCards,DECK_INDEXES if __name__ == '__main__': board = OnitamaBoard() # print(board) board.cards[0].pop() board.cards[0].pop() board.cards[0].add('EEL') board.cards[0].add('COBRA') board.cards[1].pop() board.ca...
[ "rubcuadra@gmail.com" ]
rubcuadra@gmail.com
1c255e182e83fd5efcc23f3fcd88ce421d2cfc4b
ff58ba25d940ed34d9684efab04adef85d1e1c0f
/src/management/__init__.py
1cef4964de4e5953fc495c1d642a6ac0fde493ef
[]
no_license
afsmith/Kneto-Sello
e9046a81ff83652531adc55aab3f90f77af5b5be
a1b12daf8a04ef485ddcaa2944b2d87878a8cdd0
refs/heads/master
2021-03-27T17:31:23.830989
2013-06-04T07:29:58
2013-06-04T07:29:58
6,720,999
0
0
null
null
null
null
UTF-8
Python
false
false
309
py
# -*- coding: utf-8 -*- # # Copyright (C) 2010 BLStream Sp. z o.o. (http://blstream.com/) # # Authors: # Marek Mackiewicz <marek.mackiewicz@blstream.com> # """Application for user management. This application handles management of users and their permissions. """ # vim: set et sw=4 ts=4 sts=4 tw=78:
[ "andrew.smith@kneto.fi" ]
andrew.smith@kneto.fi
d2df797bf59936294a95a37b0c05d5cde507fd78
78137d5e4e688749399bbb386b26536e4ac6d9fa
/pytorch3d/ops/knn.py
72e3c28959b15d4b4cf7e2ae55fa45530c2401de
[ "MIT", "BSD-3-Clause" ]
permissive
bruinxiong/pytorch3d
4235681c6356f7e69fa506d8474a3c7cf83d9fe6
18a3c5cbb9055bcda44590d39db65bb0c74db799
refs/heads/master
2022-06-18T16:28:39.589229
2022-05-18T20:11:36
2022-05-18T20:11:36
238,892,798
0
0
NOASSERTION
2022-05-18T20:11:37
2020-02-07T10:04:39
Python
UTF-8
Python
false
false
10,403
py
# Copyright (c) Meta Platforms, Inc. and affiliates. # All rights reserved. # # This source code is licensed under the BSD-style license found in the # LICENSE file in the root directory of this source tree. from collections import namedtuple from typing import Union import torch from pytorch3d import _C from torch.a...
[ "facebook-github-bot@users.noreply.github.com" ]
facebook-github-bot@users.noreply.github.com
885b4a9b841ec2f7c0f895d76b18602485199964
846b11ccf549aba144c1824a24292a4850860ca7
/5-ExerciciosFuncoes/4.py
dcb657a9902f0c3fd3e9da6f637323357681ce71
[]
no_license
paulocesarcsdev/ExerciciosPython
6d1feff293e7efc4cd3fbc62eee0add93f76db99
25bfaa6dc5cb294242e478a2b253a8ca5d9c7078
refs/heads/master
2023-05-15T00:53:22.151884
2021-06-10T03:04:04
2021-06-10T03:04:04
337,847,875
0
0
null
null
null
null
UTF-8
Python
false
false
359
py
''' Faça um programa, com uma função que necessite de um argumento. A função retorna o valor de caractere ‘P’, se seu argumento for positivo, e ‘N’, se seu argumento for zero ou negativo. ''' def peso(valor): if valor % 2 == 0: return " 'P' " else: return " 'N' " numero = int(input('Entre o o valo...
[ "paulocesarcs.dev@gmail.com" ]
paulocesarcs.dev@gmail.com
148b5b1f7ca8a9c5547ea64c99330d158348a5a4
9ac6fda4872f67faf8ce3cb541f10cea692e72ee
/main.py
28467183158d45176c947599464a73fb8bbdd146
[]
no_license
markbirds/OpenCV-Face-Recognition
4db776d286313d9d93d464a4bce131add1f0921a
f486e3e0e37c4cd6cb23818a17f09194bfd9582e
refs/heads/master
2023-02-08T01:01:22.442349
2021-01-04T13:06:45
2021-01-04T13:06:45
326,679,777
0
0
null
null
null
null
UTF-8
Python
false
false
1,246
py
import numpy as np import cv2 import json # loading features to be used for face detection face_cascade = cv2.CascadeClassifier('src/haar_cascades/haarcascade_frontalface_default.xml') face_recognizer = cv2.face.LBPHFaceRecognizer_create() face_recognizer.read("./src/recognizer/face_trained.yml") with open('./src/rec...
[ "fowenpatrick@gmail.com" ]
fowenpatrick@gmail.com
402d662f1e8116b3c4afdf8427dc4cddb4b05546
2d276785c3663d4798be462115291c4706dbd255
/Python从菜鸟到高手/chapter5/demo5.04.py
5cbb5b358fee5ddbaa83e6d82be4b05bab815d51
[]
no_license
bupthl/Python
81c92433bd955663e6cda5fe7cab5ea3d067c3de
bdb33aeeb179a43100b9ef7129a925c63a133fd3
refs/heads/master
2022-02-21T11:02:40.195265
2019-08-16T05:49:18
2019-08-16T05:49:18
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,689
py
''' --------《Python从菜鸟到高手》源代码------------ 欧瑞科技版权所有 作者:李宁 如有任何技术问题,请加QQ技术讨论群:264268059 或关注“极客起源”订阅号或“欧瑞科技”服务号或扫码关注订阅号和服务号,二维码在源代码根目录 如果QQ群已满,请访问https://geekori.com,在右侧查看最新的QQ群,同时可以扫码关注公众号 “欧瑞学院”是欧瑞科技旗下在线IT教育学院,包含大量IT前沿视频课程, 请访问http://geekori.com/edu或关注前面提到的订阅号和服务号,进入移动版的欧瑞学院 “极客题库”是欧瑞科技旗下在线题库,请扫描源代码根目录中的小程序码安装“极客...
[ "registercn@outlook.com" ]
registercn@outlook.com
4649a07a27a686ce6bfe64cbce1f3e49493be5e0
23bfacd796850e9e2766bf3db3dcdfb640aa9cf4
/anamdesktop/entry.py
75ca190d87ad46083c09260be33ead5581aeadf0
[]
no_license
yeleman/anam-desktop
f223e77099c4ca261414e19746ef8237dfcada32
eefac7f58c84964b7871addffe5cc3201a299ae0
refs/heads/master
2021-03-12T17:54:27.987963
2020-10-22T18:56:34
2020-10-22T18:56:34
91,448,732
0
0
null
null
null
null
UTF-8
Python
false
false
613
py
#!/usr/bin/env python # -*- coding: utf-8 -*- # vim: ai ts=4 sts=4 et sw=4 nu import sys from PyQt5 import QtWidgets, QtCore from anamdesktop import setlocale, logger from anamdesktop.ui.main import MainWindow def destroy(): logger.info("Exiting Application") QtCore.QCoreApplication.instance().quit sys...
[ "rgaudin@gmail.com" ]
rgaudin@gmail.com
31f593769f4303c41f20eafa27f63464428e87b0
829b0a557d3cc43a108f9b76d748e923fba8d928
/lldb/packages/Python/lldbsuite/test/functionalities/breakpoint/source_regexp/TestSourceRegexBreakpoints.py
2258989806066f4b103f6d06ed3b3d0720c6e638
[ "NCSA", "LLVM-exception", "Apache-2.0" ]
permissive
ljh740/llvm-project
31766f1f687939a679531d372d56755dbb5c415b
89295aa3f2aebcd930e5ee7272ca47349bb7767d
refs/heads/sbingner/master
2023-04-06T14:15:22.003403
2020-01-07T08:36:49
2020-01-07T08:36:49
255,562,403
0
0
Apache-2.0
2021-04-15T14:56:23
2020-04-14T09:12:17
null
UTF-8
Python
false
false
3,778
py
""" Test lldb breakpoint setting by source regular expression. This test just tests the source file & function restrictions. """ from __future__ import print_function import lldb from lldbsuite.test.decorators import * from lldbsuite.test.lldbtest import * from lldbsuite.test import lldbutil class TestSourceRegexBr...
[ "teemperor@gmail.com" ]
teemperor@gmail.com
41e1aa9d1cb1c62fe89cbc3761521eaf73dce401
498cc670e199d8d3da497b8350b845c0717c505e
/readit/__init__.py
6723f5391c8b467acf39e926f77185ca47b08323
[]
no_license
dave-shawley/readit
1a0b24fb859f00c6fc415647028ab5ee27453328
2a05f1de29ddc18ccae81b866d3da5b0a10d0236
refs/heads/master
2020-05-14T14:51:47.951498
2013-02-06T01:57:03
2013-02-06T01:57:03
6,038,460
2
0
null
null
null
null
UTF-8
Python
false
false
494
py
# order is important here from .helpers import LinkMap from .reading import Reading from .user import User # flaskapp import required to be last since it depends on # other readit exports from .flaskapp import app, Application class MoreThanOneResultError(Exception): """You will encounter me when a single instan...
[ "daveshawley@gmail.com" ]
daveshawley@gmail.com
7aa4bba2c4b8fdf4ef4913eb41b7114c6a87829a
49dd2e801ae161b97abc2e7704debf1b19ef5f5d
/config.py
9ad5353015e986a27c9e8308ff1fbbbcc0b6cdba
[]
no_license
Ggzzhh/Learn_Flask
7b207a45454e71def3bf332c4ee381a03c5f2082
3cd52b674e11fcfd883266e504fb11134ae23337
refs/heads/master
2021-01-20T09:23:39.089481
2017-09-21T01:52:52
2017-09-21T01:52:52
101,593,392
0
0
null
null
null
null
UTF-8
Python
false
false
3,048
py
#!/usr/bin/env python3 # -*- coding:utf-8 -*- import os basedir = os.path.abspath(os.path.dirname(__file__)) # 基础设置 class Config: # 设置密匙 SECRET_KEY = os.environ.get('SECRET_KEY') or 'GG0914ZH' # 每次请求结束后自动提交数据库变动设置为true SQLALCHEMY_COMMIT_ON_TEARDOWN = True # Flask-SQLAlchemy 将会追踪对象的修改并且发送信号 SQL...
[ "471992509@qq.com" ]
471992509@qq.com
aca38c5c4660e95c314a00a95abe93394e298433
0ba1743e9f865a023f72a14d3a5c16b99ee7f138
/problems/test_0037_bit_field.py
24161f2a4e3a6e98aa27f1d11d43512d52de7cfa
[ "Unlicense" ]
permissive
chrisxue815/leetcode_python
d0a38a4168243b0628256825581a6df1b673855c
a33eb7b833f6998972e5340d383443f3a2ee64e3
refs/heads/main
2022-06-20T15:09:27.221807
2022-06-02T21:55:35
2022-06-02T21:55:35
94,590,264
1
0
null
null
null
null
UTF-8
Python
false
false
2,778
py
import unittest class Solution: def solveSudoku(self, board): """ :type board: List[List[str]] :rtype: void Do not return anything, modify board in-place instead. """ rows = [-1] * 9 cols = [-1] * 9 blocks = [-1] * 9 for rownum, row in enumerate(boa...
[ "chrisxue815@gmail.com" ]
chrisxue815@gmail.com
b095020e31a76e851a1c922f39050300a38635b1
942f0b081d2271978ffe20fbbfa8d687b57e5c02
/leetcode-june-challenge/largest_divisible_subset.py
78df0caffe4029792b53277570585a87054ba1a7
[]
no_license
simtb/coding-puzzles
99762322606bb505d82924d4d5843db1c04aafbd
9e1d53e35b2117240eb357d7930cdb8cfd891c8e
refs/heads/master
2021-04-12T15:46:40.181048
2021-02-28T23:47:36
2021-02-28T23:47:36
249,089,264
0
0
null
null
null
null
UTF-8
Python
false
false
689
py
""" Given a set of distinct positive integers, find the largest subset such that every pair (Si, Sj) of elements in this subset satisfies: Si % Sj = 0 or Sj % Si = 0. If there are multiple solutions, return any subset is fine. """ class Solution: def largestDivisibleSubset(self, nums) -> List[int]: if no...
[ "simeon@Sims-MacBook-Pro.local" ]
simeon@Sims-MacBook-Pro.local
8e81d9fa2913d6a02e05fbb400cf98948cbc3c60
6e68584f2819351abe628b659c01184f51fec976
/Centre_College/CSC_117/CSC_117_Python_Files/custom_library.py
b0fe3dea23a2323e7f981eba4de241d6c2dc5a3d
[]
no_license
DanSGraham/code
0a16a2bfe51cebb62819cd510c7717ae24b12d1b
fc54b6d50360ae12f207385b5d25adf72bfa8121
refs/heads/master
2020-03-29T21:09:18.974467
2017-06-14T04:04:48
2017-06-14T04:04:48
36,774,542
0
0
null
null
null
null
UTF-8
Python
false
false
4,531
py
### ### A custom library to make CSC 117 labs quicker ###By Daniel Graham ## from graphics import * #These save the buttons for use later button_list = [] points_list = [] button_text_list = [] def button(win_name, button_name, x1,y1,x2,y2,buttontext, button_outline = None, button_fill=None, text_color...
[ "dan.s.graham@gmail.com" ]
dan.s.graham@gmail.com
6c84cb245a34a99d80a0b5e9643a2cc14e435e3e
f4fa497cbd99e24e242a133e002c8142051a6902
/words/urls.py
796ee61ba06c25dd5414fda69636f201e9dbaf5d
[]
no_license
austinbrovick/django-economics
3b8e79a21e2a17a52e57b2a0731f4e797ee1b8c2
9ce51bd7e134e84409c48ae541e01456d48af2cb
refs/heads/master
2021-01-17T12:37:47.587407
2016-06-20T03:44:05
2016-06-20T03:44:05
58,336,150
0
0
null
null
null
null
UTF-8
Python
false
false
871
py
from django.conf.urls import url from .views import word_list, WordCreate, word_detail, DefinitionCreate, DefinitionDownVote, DefinitionUpVote, words_micro, words_macro, words_both urlpatterns = [ url(r'^$', word_list, name='words_list'), url(r'^create/$', WordCreate.as_view(), name='words_word_create'), ...
[ "austinbrovick@gmail.com" ]
austinbrovick@gmail.com
924d29ab36ead397539c2dbdea111bceb73f20aa
781e2692049e87a4256320c76e82a19be257a05d
/all_data/exercism_data/python/bob/edbcf1a652c246b7a144d8311374fbc3.py
e715104cfa6369084ca1fb912c106baa188e1191
[]
no_license
itsolutionscorp/AutoStyle-Clustering
54bde86fe6dbad35b568b38cfcb14c5ffaab51b0
be0e2f635a7558f56c61bc0b36c6146b01d1e6e6
refs/heads/master
2020-12-11T07:27:19.291038
2016-03-16T03:18:00
2016-03-16T03:18:42
59,454,921
4
0
null
2016-05-23T05:40:56
2016-05-23T05:40:56
null
UTF-8
Python
false
false
240
py
def hey(message): message = message.strip() if not message: return 'Fine. Be that way!' if message.isupper(): return 'Woah, chill out!' if message.endswith('?'): return 'Sure.' return 'Whatever.'
[ "rrc@berkeley.edu" ]
rrc@berkeley.edu
cb69a7b7282f4fb2539a466dee032cf0532748eb
78d5a6e0846cb6b03544e4f717651ca59dfc620c
/treasury-admin/interface/migrations/0005_auto_20171026_1641.py
47e6661136111d9a0fd9cdbb9048864ba031a0c8
[]
no_license
bsca-bank/treasury-admin
8952788a9a6e25a1c59aae0a35bbee357d94e685
5167d6c4517028856701066dd5ed6ac9534a9151
refs/heads/master
2023-02-05T12:45:52.945279
2020-12-13T08:07:41
2020-12-13T08:07:41
320,323,196
0
0
null
null
null
null
UTF-8
Python
false
false
502
py
# -*- coding: utf-8 -*- # Generated by Django 1.11.6 on 2017-10-26 15:41 from __future__ import unicode_literals from django.db import migrations class Migration(migrations.Migration): dependencies = [ ('interface', '0004_auto_20171026_0918'), ] operations = [ migrations.RemoveField( ...
[ "cn.makodo@gmail.com" ]
cn.makodo@gmail.com
2abc469fd8fa1c35134df85ffb8634a4f1989de0
3be42b83a15d022f5863c96ec26e21bac0f7c27e
/tensorflow_probability/python/experimental/mcmc/sample_sequential_monte_carlo.py
abda0f56e671f79f146e53b03248b99b99d40d8e
[ "Apache-2.0" ]
permissive
ogrisel/probability
846f5c13cddee5cf167b215e651b7479003f15d2
8f67456798615f9bf60ced2ce6db5d3dba3515fe
refs/heads/master
2022-11-09T10:53:23.000918
2020-07-01T23:16:03
2020-07-01T23:17:25
276,580,359
2
1
Apache-2.0
2020-07-02T07:37:58
2020-07-02T07:37:57
null
UTF-8
Python
false
false
24,262
py
# Copyright 2020 The TensorFlow Probability Authors. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law o...
[ "gardener@tensorflow.org" ]
gardener@tensorflow.org
b674cb6e1d39ea0db9ce015053153a2bdaba5038
699cad5fee497cce94463decf1bf2b811e3fd244
/16이미지요리/watermark.py
783d8c4b885bcab80a88fe98c929e68daade41b9
[]
no_license
Jeonghwan-Yoo/brain_python3
91974019a29013abe8c9f9ed132c48b404259e2f
a22e870515e760aaa497cbc99305977cf2f01a3d
refs/heads/master
2020-07-27T00:02:29.604848
2019-09-16T13:16:09
2019-09-16T13:16:09
208,802,993
0
0
null
null
null
null
UTF-8
Python
false
false
426
py
import sys from wand.image import Image if len(sys.argv) < 3: print('{0} <Image 1> <Image 2>'.format(sys.argv[0])) sys.exit() image1_path=sys.argv[1] image2_path=sys.argv[2] with Image(filename=image1_path) as image1: with Image(filename=image2_path) as image2: with image1.clone() as clone: ...
[ "dwgbjdhks2@gmail.com" ]
dwgbjdhks2@gmail.com
858a8df04939295cb7b278f80a8174f99d92e283
c1869b7106a4651ecc0f0f53b82d5f11021896e3
/XKT/DKVMN/net.py
a5a8b8568a55b5a938ccfea0ee51b82b111fd30c
[ "MIT" ]
permissive
bigdata-ustc/XKT
6efd7ff5b09c22ed9099f5b9b614edceff1cada0
b3ac07541b92001b62d7cff4e8fe7e5a69c5c93c
refs/heads/master
2021-09-22T19:22:25.563651
2021-09-16T02:56:10
2021-09-16T02:56:10
194,855,614
18
9
MIT
2021-09-16T02:56:11
2019-07-02T12:06:12
Python
UTF-8
Python
false
false
20,141
py
# coding: utf-8 # 2021/8/22 @ tongshiwei from baize.mxnet.utils import format_sequence, mask_sequence_variable_length from mxnet import gluon from mxnet import ndarray def get_net(ku_num, key_embedding_dim, value_embedding_dim, hidden_num, key_memory_size, nettype="DKVMN", dropout=0.0, **kwar...
[ "tongsw@mail.ustc.edu.cn" ]
tongsw@mail.ustc.edu.cn
9ecbb22d8a49abc54ee231701a047f52f535810c
099da16d748e89106b6abea62e49641afe68d04b
/migen/build/platforms/upduino_v1.py
8f41eb95fde882e115a3239ed0c902de246e7fcf
[ "BSD-2-Clause", "LicenseRef-scancode-unknown-license-reference" ]
permissive
chipmuenk/migen
a191db2e0bbe8f6e1dfc87e54acf2ded13ce69a0
a7eb394f46ac9d71f4598919294aa9efd1137bfe
refs/heads/master
2020-05-18T23:29:09.950066
2019-11-01T18:56:14
2019-11-01T18:56:14
184,712,987
3
0
NOASSERTION
2019-05-03T07:08:37
2019-05-03T07:08:36
null
UTF-8
Python
false
false
2,945
py
from migen import * from migen.build.generic_platform import * from migen.build.lattice import LatticePlatform from migen.build.lattice.programmer import IceStormProgrammer _io = [ ("rgb_led", 0, Subsignal("r", Pins("41")), Subsignal("g", Pins("40")), Subsignal("b", Pins("39")), IO...
[ "sb@m-labs.hk" ]
sb@m-labs.hk
d84ff8f2c78aba9a9b9af85e7fa3a9b9e16bab5c
3ea9509a26e59fafc4f53d4c5cf82cf1c600c2dc
/nn/registry.py
087c86b1fec4023f905a9b9be17f8b60f5d60428
[ "Apache-2.0" ]
permissive
mgilgamesh/grl
696230afe03d8332909452941c5d36cf23bd734c
7d42bb2e78bc3e7b7c3ebbcf356a4d1cf12abebf
refs/heads/master
2023-08-30T23:10:39.439264
2021-10-31T04:17:06
2021-10-31T04:17:06
null
0
0
null
null
null
null
UTF-8
Python
false
false
925
py
import functools from nn.utils import Dummy class Registry: def __init__(self, name): self._mapping = {None: Dummy} def register(self, name): def _thunk(func): self._mapping[name] = func return func return _thunk def get(self, name): if isi...
[ "122134545@qq.com" ]
122134545@qq.com
5b44eb7cc37bf636603b548625f23fcca036ddc4
3d705ec48c94373817e5f61d3f839988910431e3
/lib/interface/boss/bill_handler.py
5bcbc1c4db585f80edef42bb49152c62ff1591ea
[]
no_license
namesuqi/zeus
937d3a6849523ae931162cd02c5a09b7e37ebdd8
3445b59b29854b70f25da2950016f135aa2a5204
refs/heads/master
2022-07-24T14:42:28.600288
2018-03-29T08:03:09
2018-03-29T08:03:09
127,256,973
0
0
null
2022-07-07T22:57:57
2018-03-29T07:53:16
Python
UTF-8
Python
false
false
6,514
py
# coding=utf-8 """ boss系统-计费模块 自动化用例相关的脚本 __author__ = 'liwenxuan' 20170605 """ import time from random import choice from lib.database.pykafka_handler import pykafka_producer, pykafka_consumer from lib.interface.boss.time_handler import get_second_to_int from lib.database.mysql_db_v2 import MysqlDB from lib.interf...
[ "suqi_name@163.com" ]
suqi_name@163.com
36760485f3ba83fc51a32e232824579aa64e26b2
1b0649a5ad50e4b80506d5b4de52a9c0eff22123
/Lecture04_List_And_Loops/Exercises/rental_car.py
3fab1daa16ed383a50e10bdd37254de97bcde382
[]
no_license
duochen/Python-Kids
abeee3935fd80d5f157e7e0775f889c71485ae58
c2982a5f7581a974b91941c7faeea32e92ee9644
refs/heads/master
2020-06-04T21:53:11.865952
2019-09-07T01:05:22
2019-09-07T01:05:22
192,205,010
0
0
null
null
null
null
UTF-8
Python
false
false
104
py
car = input("What kind of rental car would you like? ") print(f"Let me check if I can find you a {car}")
[ "duochen@yahoo.com" ]
duochen@yahoo.com
b200321ee970c90457fd032ce4f154c60390b3fe
37a70c38e59a8c9098725e8999998ee5aa57f54c
/features/steps/index_page_user_holidays&books.py
5f5544493a2ccc867641a2f346a9438d0dcfa203
[]
no_license
A-Zorg/msw_front
38c0da655104c070a9da07b1a329c7ea7c2dcba3
73ac1df709e3b9001c117c1bb9d81c9dee39971b
refs/heads/master
2023-07-06T20:19:39.439660
2021-08-13T16:39:46
2021-08-13T16:39:46
338,313,730
0
0
null
null
null
null
UTF-8
Python
false
false
11,465
py
from behave import * from base.service_functions import check_image, refine_holidays, \ mysql_select, pgsql_del, pgsql_select, remove_spaces import configparser from base64 import b64decode import time import random import datetime config = configparser.ConfigParser() config.read("config/config.ini") selectors = ...
[ "you@example.com" ]
you@example.com
57a53454f6247d419b233ade15faf301089c4935
c94a678a2b78907d79bfdbde2a0f19f345d5d68c
/code/week03/two_level_menu.py
e03ffd4315bd6fb842bf1a80b7ce673bf4c09a25
[]
no_license
Heroes-Academy/IntroPython_Winter2017
7f26c009e2d2706128f2fc7ad906e95b4c7324c2
fdf467fa95b3d0708d40711dfcc9c734c9dd1226
refs/heads/master
2021-01-13T03:53:20.238013
2017-03-12T15:21:38
2017-03-12T15:21:38
78,315,006
0
0
null
null
null
null
UTF-8
Python
false
false
587
py
print("My firt menu") print("1. Hear a joke") menu_choice = # get the selection if # put the condition in here# print("Do you want a rabbit joke or science joke?") next_menu_choice = # get the next selection if next_menu_choice == "rabbit": print("What do you call a happy rabbit?") print("...
[ "brian.c.mcmahan@gmail.com" ]
brian.c.mcmahan@gmail.com
6c3b088984d81299af5aed927b416186025fa04c
eda678c6158431430fa195fd5d51c424293fc724
/experiments/subvariant_transfer/Snakefile
de29e27ae35c8a0f3a52d11fb6d2e2853a241462
[]
no_license
ohsu-comp-bio/dryads-research
8e75ecf812aa3c5139cffacf43116772d6a36376
c5c4b9e3c5e4ae5820b1dcfa669abf222e85d0db
refs/heads/master
2023-04-12T20:55:52.147569
2021-08-14T21:36:57
2021-08-14T21:36:57
139,887,441
0
3
null
null
null
null
UTF-8
Python
false
false
2,196
import os LOCALDIR = os.path.join(os.environ['CODEDIR'], 'HetMan', 'experiments', 'subvariant_transfer') TMPDIR = os.path.join(os.environ['TEMPDIR'], 'HetMan', 'subvariant_transfer', "{}__samps-{}".format(config['cohorts'], ...
[ "mgrzad@gmail.com" ]
mgrzad@gmail.com
96ee7dbb079ed5aff687ac0b049615f1919675e7
3d8838dab84f880a9131994608c146c032eaaa6f
/uevents/views.py
ff56af7d1111b36e4ef3a3c1ec4a29826f35ed93
[]
no_license
sergiosalonso/uevents
9f69c0d09a51216b3de67b37d5b2901557a32157
94d5adb36488194657c65817dc8ba45b16ce416a
refs/heads/master
2022-05-07T22:08:10.155075
2019-05-07T09:08:48
2019-05-07T09:08:48
185,363,746
0
0
null
2022-04-22T21:13:03
2019-05-07T09:02:57
Python
UTF-8
Python
false
false
253
py
from django.views.generic import TemplateView class IndexView(TemplateView): template_name='index.html' class LogOutView(TemplateView): template_name='success_logout.html' class LogInView(TemplateView): template_name='success_login.html'
[ "you@example.com" ]
you@example.com
30c0310b3a8e60252424745a39a32a7ea679b905
2c9b77d91f1ba7ece443711c8c9c7280732b07fe
/time_trial_gui/lib/racer_driver/echo_trial_job.py
a4672c7d5f55994814ec380c55f7755607ad3925
[ "MIT" ]
permissive
andresriancho/time_trial
d68c06dfc7fa2fc6c396b6e813d8df23ad068f76
d7a23dae0bc4e2ecb3eb1ea0f4a94e21861571cc
refs/heads/master
2021-01-18T02:34:46.045593
2015-10-30T16:46:38
2015-10-30T16:46:38
45,219,305
0
1
null
2015-10-30T00:33:01
2015-10-30T00:33:00
null
UTF-8
Python
false
false
524
py
import subprocess CPP_ECHO_TIMING_EXECUTABLE = "../racer/bin/run_timing_client" def run_echo_trial_job(trial): print("Executing Echo Trial...") #TODO: get this from a config file cmd = [] cmd.append(CPP_ECHO_TIMING_EXECUTABLE) cmd.append(trial.target_host) cmd.append(str(trial.target_port)) ...
[ "andres.riancho@gmail.com" ]
andres.riancho@gmail.com
9cfc1c903389414320a80047a53517d24b5020bd
283bbf2ce575ea72010e9823907285b08d20fce4
/breathecode/authenticate/migrations/0001_initial.py
401599c5ba55399253edb86f4edba14a5ef0a547
[]
no_license
AnMora/apiv2
c084ffcb4ff5b7a0a01dac8fca26f4f4c37aad97
fa3b3f0ce4a069facdecd18e133c7b4222a0004a
refs/heads/master
2023-05-19T23:00:34.257230
2021-06-08T21:17:56
2021-06-08T21:17:56
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,355
py
# Generated by Django 3.0.7 on 2020-06-16 06:25 from django.conf import settings from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): initial = True dependencies = [ migrations.swappable_dependency(settings.AUTH_USER_MODEL), ] ope...
[ "aalejo@gmail.com" ]
aalejo@gmail.com
3c228e9863635cdf5f5389d7f9a128c741ce52bc
c934e7c27f0e72385218a14b4e2a7e94a747a360
/google-cloud-sdk/lib/googlecloudsdk/command_lib/util/crc32c.py
42382ea1e774df38f8d3f3912594d1f689df477a
[ "LicenseRef-scancode-unknown-license-reference", "Apache-2.0" ]
permissive
PrateekKhatri/gcloud_cli
5f74b97494df4f61816026af9460b9c4d8e89431
849d09dd7863efecbdf4072a504e1554e119f6ae
refs/heads/master
2023-03-27T05:53:53.796695
2021-03-10T04:08:14
2021-03-10T04:08:14
null
0
0
null
null
null
null
UTF-8
Python
false
false
3,121
py
# -*- coding: utf-8 -*- # # Copyright 2021 Google LLC. 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 requir...
[ "actions@github.com" ]
actions@github.com
eadc5422a39457611dd5e83a0283a5b1f65b9fe1
f9d564f1aa83eca45872dab7fbaa26dd48210d08
/huaweicloud-sdk-apig/huaweicloudsdkapig/v2/model/app_code_base_info.py
306617ad18fd84a8907b99a86bf0874ecf9207a2
[ "Apache-2.0" ]
permissive
huaweicloud/huaweicloud-sdk-python-v3
cde6d849ce5b1de05ac5ebfd6153f27803837d84
f69344c1dadb79067746ddf9bfde4bddc18d5ecf
refs/heads/master
2023-09-01T19:29:43.013318
2023-08-31T08:28:59
2023-08-31T08:28:59
262,207,814
103
44
NOASSERTION
2023-06-22T14:50:48
2020-05-08T02:28:43
Python
UTF-8
Python
false
false
5,356
py
# coding: utf-8 import six from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization class AppCodeBaseInfo: """ Attributes: openapi_types (dict): The key is attribute name and the value is attribute type. attribute_map (dict): The key is attribute na...
[ "hwcloudsdk@huawei.com" ]
hwcloudsdk@huawei.com
d823a54db8bd861ca7aad7a392278d086fec9ee3
002f694e38c4b028e70b393510eaa98eb3b4d20f
/ga3c/EnvironmentHandler.py
8d60913691d177b0b2c7fa4f25f75fe3f2750de8
[]
no_license
jmribeiro/HybridGA3C
993cb4579ba0253b3b10a2160982398a0ca07e09
9b452e877c5c6ca0e8482c9ba3d6c3d9df7acec1
refs/heads/master
2020-03-08T15:09:47.305742
2018-04-19T14:20:23
2018-04-19T14:20:23
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,777
py
from queue import Queue import gym import numpy as np import scipy.misc as misc import Config class EnvironmentHandler: def __init__(self, render, render_lock): self.environment = gym.make(Config.ATARI_GAME) self.action_space = self.environment.action_space.n self.lookback_memory = Queu...
[ "jmribeiro77209@gmail.com" ]
jmribeiro77209@gmail.com
23ff84bfd5f8cbbc3030ea2a7ba5a7f0bb1b580c
73eb0cd7364a35cbc44b9d51bc7ff63d9646d540
/Python Cheat sheets/Classname.py
4aa4f0aed6fc6ac21c461e297e34912fc9a5dbee
[]
no_license
RMJ2/DI_bootcamp
09ac8f5b9915db641f0f29fd0f556d43907b3b21
632338d57fc4c838a4eb201056e6651b865740a2
refs/heads/main
2023-03-08T16:16:15.015672
2021-02-23T09:04:23
2021-02-23T09:04:23
329,610,659
0
0
null
null
null
null
UTF-8
Python
false
false
5,037
py
# Step 1 # Create a new class called Animal. # It should take 2 parameters, "species" and "habitat" # (make the class defintion and the init method) # Step2 # add another parameter to your class, which is the sound that the animal makes. # write a method called talk, that prints out the animals sound. # Step3 # creat...
[ "myEmail@example.com" ]
myEmail@example.com
5d8c946b3c08384e5b38e1628c8a3c8731002b8e
b049a961f100444dde14599bab06a0a4224d869b
/sdk/python/pulumi_azure_native/alertsmanagement/v20210401/__init__.py
b63d1d0b1d3561f095248d826033a4565d0bb685
[ "BSD-3-Clause", "Apache-2.0" ]
permissive
pulumi/pulumi-azure-native
b390c88beef8381f9a71ab2bed5571e0dd848e65
4c499abe17ec6696ce28477dde1157372896364e
refs/heads/master
2023-08-30T08:19:41.564780
2023-08-28T19:29:04
2023-08-28T19:29:04
172,386,632
107
29
Apache-2.0
2023-09-14T13:17:00
2019-02-24T20:30:21
Python
UTF-8
Python
false
false
389
py
# coding=utf-8 # *** WARNING: this file was generated by pulumi. *** # *** Do not edit by hand unless you're certain you know what you are doing! *** from ... import _utilities import typing # Export this package's modules as members: from ._enums import * from .get_smart_detector_alert_rule import * from .smart_detec...
[ "github@mikhail.io" ]
github@mikhail.io
9ebfefbdb3f40d1c7ba46b70b96d8d45174cab84
1a964c7860f9d95c31ca4b8fd4d36a74da1cbf2f
/ParsingWebsite/venv/bin/pip3.7
b012e092643cb6604adcbaf8463d46f14d877e20
[]
no_license
azatnt/ParsingKolesa
8aebb2159ef6d2458604b4530809ca55c0fd5b33
c20cea97acb3a25f9ac6632de7afea38df59332f
refs/heads/main
2023-02-20T09:13:16.431579
2021-01-25T09:31:59
2021-01-25T09:31:59
332,691,514
0
0
null
null
null
null
UTF-8
Python
false
false
265
7
#!/Users/sulpak/PycharmProjects/ParsingWebsite/venv/bin/python # -*- coding: utf-8 -*- import re import sys from pip._internal.cli.main import main if __name__ == '__main__': sys.argv[0] = re.sub(r'(-script\.pyw|\.exe)?$', '', sys.argv[0]) sys.exit(main())
[ "58590243+pr1nce07@users.noreply.github.com" ]
58590243+pr1nce07@users.noreply.github.com
01d218f4d47a23dac5ba88de6147b92fbf6542a9
e073d58c135e4b27b861946a6e84aa5b2e0ae7f2
/datastructure/trie_tree/FindWords.py
0a243c9f396bfd1364a4582bc2eff965ce8faf41
[]
no_license
yinhuax/leet_code
c4bdb69752d441af0a3bcc0745e1133423f60a7b
9acba92695c06406f12f997a720bfe1deb9464a8
refs/heads/master
2023-07-25T02:44:59.476954
2021-09-04T09:07:06
2021-09-04T09:07:06
386,097,065
0
0
null
null
null
null
UTF-8
Python
false
false
2,529
py
#!/usr/bin/env python # -*- coding: utf-8 -*- # @Author : Mike # @Contact : 597290963@qq.com # @Time : 2021/2/12 16:42 # @File : FindWords.py from typing import List """ 给定一个 m x n 二维字符网格 board 和一个单词(字符串)列表 words,找出所有同时在二维网格和字典中出现的单词。 单词必须按照字母顺序,通过 相邻的单元格 内的字母构成,其中“相邻”单元格是那些水平相邻或垂直相邻的单元格。同一个单元格内的字母在一个单词中不允许被重复...
[ "597290963@qq.com" ]
597290963@qq.com
b8cb1da9859a8b7d3e73511d1f3d1e79c33b94ba
b987d02490ab85b51f95d04a18731c1718b740fd
/ctpn_new/network/anchorlayer/proposal_target_tf.py
5849421c836ecb9440008a3b4f7f6fcae493d893
[]
no_license
lzd0825/text_detection_main
2948a4600ea9d1109ba7d1ddb163b634531f91a2
e2b5defd44fd31135be1bf8f7129d0e656d4a2ac
refs/heads/master
2020-03-27T20:22:09.179680
2018-04-03T12:10:20
2018-04-03T12:10:20
null
0
0
null
null
null
null
UTF-8
Python
false
false
5,657
py
from .generate_anchors import generate_anchors from lib import load_config import numpy as np from .anchor_nms_pf import anchor_nms cfg = load_config() def proposal_layer(rpn_cls_prob_reshape, rpn_bbox_pred, im_info, _feat_stride=(16,)): """ 'rpn_cls_prob_reshape': softmax以后的概率值,形状为(1, H, W, Ax2) 'rpn_bb...
[ "1071221759@qq.com" ]
1071221759@qq.com
3a2fc39ab03587a3455433a7490ceb28ba16c6a7
373035950bdc8956cc0b74675aea2d1857263129
/spar_python/report_generation/ta1/ta1_analysis_input.py
874d943a04b1e044f025d7ffc970b415bbae653f
[ "BSD-2-Clause", "BSD-3-Clause" ]
permissive
limkokholefork/SPARTA
5d122cd2e920775d61a5404688aabbafa164f22e
6eeb28b2dd147088b6e851876b36eeba3e700f16
refs/heads/master
2021-11-11T21:09:38.366985
2017-06-02T16:21:48
2017-06-02T16:21:48
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,808
py
# ***************************************************************** # Copyright 2013 MIT Lincoln Laboratory # Project: SPAR # Authors: SY # Description: A analysis input class # # # Modifications: # Date Name Modification # ---- --...
[ "mitchelljd@ll.mit.edu" ]
mitchelljd@ll.mit.edu
05ac163c99119bb20a966bfb6c4d464daccb8fdf
f48f9798819b12669a8428f1dc0639e589fb1113
/office/misc/t1utils/actions.py
4646311793129d513d7af2b63c65c2693fad65e7
[]
no_license
vdemir/PiSiPackages-pardus-2011-devel
781aac6caea2af4f9255770e5d9301e499299e28
7e1867a7f00ee9033c70cc92dc6700a50025430f
refs/heads/master
2020-12-30T18:58:18.590419
2012-03-12T03:16:34
2012-03-12T03:16:34
51,609,831
1
0
null
2016-02-12T19:05:41
2016-02-12T19:05:40
null
UTF-8
Python
false
false
505
py
#!/usr/bin/python # -*- coding: utf-8 -*- # # Copyright 2006-2009 TUBITAK/UEKAE # Licensed under the GNU General Public License, version 2. # See the file http://www.gnu.org/licenses/old-licenses/gpl-2.0.txt from pisi.actionsapi import autotools from pisi.actionsapi import pisitools from pisi.actionsapi import get de...
[ "kaptan@pisipackages.org" ]
kaptan@pisipackages.org
3252542c883a849ab435d4838cce3bbf887c8247
f576f0ea3725d54bd2551883901b25b863fe6688
/sdk/synapse/azure-mgmt-synapse/azure/mgmt/synapse/aio/operations/_library_operations.py
990d2d64e53b57c638fc900f4358193a5994d38a
[ "MIT", "LicenseRef-scancode-generic-cla", "LGPL-2.1-or-later" ]
permissive
Azure/azure-sdk-for-python
02e3838e53a33d8ba27e9bcc22bd84e790e4ca7c
c2ca191e736bb06bfbbbc9493e8325763ba990bb
refs/heads/main
2023-09-06T09:30:13.135012
2023-09-06T01:08:06
2023-09-06T01:08:06
4,127,088
4,046
2,755
MIT
2023-09-14T21:48:49
2012-04-24T16:46:12
Python
UTF-8
Python
false
false
5,218
py
# pylint: disable=too-many-lines # coding=utf-8 # -------------------------------------------------------------------------- # Copyright (c) Microsoft Corporation. All rights reserved. # Licensed under the MIT License. See License.txt in the project root for license information. # Code generated by Microsoft (R) AutoRe...
[ "noreply@github.com" ]
Azure.noreply@github.com
0fbb596da1c418ea68e5c2e601b52a8c30336826
7b221a4981edad73991cf1e357274b46c4054eff
/stacks/XIAOMATECH/1.0/services/DRUID/service_advisor.py
be0c5a7b79a4be724c116623a1208be4f1593daf
[ "Apache-2.0" ]
permissive
aries-demos/dataops
a4e1516ef6205ad1ac5f692822e577e22ee85c70
436c6e89a1fdd0593a17815d3ec79c89a26d48f1
refs/heads/master
2020-05-29T17:20:12.854005
2019-05-22T06:06:00
2019-05-22T06:06:00
189,270,801
2
3
Apache-2.0
2019-05-29T17:35:25
2019-05-29T17:35:24
null
UTF-8
Python
false
false
17,909
py
#!/usr/bin/env ambari-python-wrap """ 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...
[ "xianhuawei@MacBook-Air.local" ]
xianhuawei@MacBook-Air.local
e000797abae0baf2ef7c3b2faedebcc2cf39dbd4
98c6ea9c884152e8340605a706efefbea6170be5
/examples/data/Assignment_2/jblmuz001/question1.py
2a078b63ff7024e2ae2a73d45ec3628af59c4b52
[]
no_license
MrHamdulay/csc3-capstone
479d659e1dcd28040e83ebd9e3374d0ccc0c6817
6f0fa0fa1555ceb1b0fb33f25e9694e68b6a53d2
refs/heads/master
2021-03-12T21:55:57.781339
2014-09-22T02:22:22
2014-09-22T02:22:22
22,372,174
0
0
null
null
null
null
UTF-8
Python
false
false
187
py
#Question 1 import math x=eval(input("Enter a year:\n")) if(x%400==0 or (x%4==0 and x%100!=0)): print(x, "is a leap year.") else: print(x, "is not a leap year.")
[ "jarr2000@gmail.com" ]
jarr2000@gmail.com
c466266df26b42152c21f2fafa8ea9251a2c1683
cd014fae6791f51a9a382f34dbdcee6d61d84e30
/62_From_the_border_of_hell/62.py
6e0657bcb1f623ade641513504631b8ec63c4cef
[ "Apache-2.0" ]
permissive
ckclark/Hackquest
1505f50fc2c735db059205d1c9bbba1832cc5059
65ed5fd32e79906c0e36175bbd280d976c6134bd
refs/heads/master
2021-01-16T19:32:29.434790
2015-09-29T13:39:04
2015-09-29T13:39:04
42,388,846
13
5
null
null
null
null
UTF-8
Python
false
false
665
py
question = [ '''Toni, I write you this letter tonight with''', '''ebony pen and ink, to show my deep love''', '''and to give you my advise. If you pack your bag''', '''later tonight, do not feel responsible for future''', '''happenings, as they aren't your fault. Even, if a''', '''small part ins...
[ "clark.ck@gmail.com" ]
clark.ck@gmail.com
7ad1139df56926c27e7758e42935202a504b94cb
cb5093d193352c521dcc60da62dd8fc8a3564231
/devel/lib/python2.7/dist-packages/rqt_multiplot/__init__.py
bf5cb228f8bf0f85959b0386f71f9ff7b566ee4d
[]
no_license
ElliWhite/proj515_ws
85555dbad029d7fd10c8ffbfb8352b9cd7b4db53
ce51e547f2f4761850cef9116a85a34b232160c6
refs/heads/master
2020-04-23T22:11:59.284827
2019-05-24T16:46:30
2019-05-24T16:46:30
171,493,779
0
0
null
null
null
null
UTF-8
Python
false
false
1,054
py
# -*- coding: utf-8 -*- # generated from catkin/cmake/template/__init__.py.in # keep symbol table as clean as possible by deleting all unnecessary symbols from os import path as os_path from sys import path as sys_path from pkgutil import extend_path __extended_path = "/home/elliottwhite/proj515_ws/src/rqt_multiplot...
[ "elliott.white@students.plymouth.ac.uk" ]
elliott.white@students.plymouth.ac.uk
47cf68700b1912f0b319902af3bfc5e6fe42400a
a51b1814a9bf2fdcf880772fefaa2ab79e8c7308
/Week_4/temp.py
23e9119e3f467e0eb050e0b5e9513f068e1edacd
[ "Giftware" ]
permissive
369geofreeman/MITx_6.00.1x
d38913805168440969034e1d82611b0dbcd7a29a
ba84f70cc4e7cfbd4b685b742aa87d3f85cbbf59
refs/heads/master
2023-04-21T01:55:08.538290
2021-05-13T13:03:50
2021-05-13T13:03:50
282,055,845
3
0
null
null
null
null
UTF-8
Python
false
false
8,759
py
# The 6.00 Word Game import random import string VOWELS = 'aeiou' CONSONANTS = 'bcdfghjklmnpqrstvwxyz' HAND_SIZE = 7 SCRABBLE_LETTER_VALUES = { 'a': 1, 'b': 3, 'c': 3, 'd': 2, 'e': 1, 'f': 4, 'g': 2, 'h': 4, 'i': 1, 'j': 8, 'k': 5, 'l': 1, 'm': 3, 'n': 1, 'o': 1, 'p': 3, 'q': 10, 'r': 1, 's': 1, 't': 1, 'u': 1, ...
[ "geofreeman369@gmail.com" ]
geofreeman369@gmail.com
94b007996f60108dece620a6671baaa1f9ce2de4
18dba2f82e17873e5e8161e74bc714ef88b09b36
/realestate/devrep/migrations/0012_auto__del_field_address_estate_number__add_field_address_address.py
466d9a20feacbe56de9b322f7b3f3a05d2d569eb
[]
no_license
sanchellius/estate-agent
8013573624b62ea3b6362fa0c22edf8371ca6966
53c15c2f2c970bd432ae579b5aa6f76ab2fbac49
refs/heads/master
2021-01-17T21:15:35.988578
2016-07-25T21:51:24
2016-07-25T21:51:24
null
0
0
null
null
null
null
UTF-8
Python
false
false
22,297
py
# -*- coding: utf-8 -*- import datetime from south.db import db from south.v2 import SchemaMigration from django.db import models class Migration(SchemaMigration): def forwards(self, orm): # Deleting field 'Address.estate_number' db.delete_column('devrep_address', 'estate_number') # Addi...
[ "picasso75@yandex.ru" ]
picasso75@yandex.ru
84df14f4e1fe0f3a3e47fb1ee4461567843140f3
a79cccacfa422012caac481b5eff80f6e911d0af
/jax/_src/lax/ann.py
35c91721882c89d307d21a50dd0f62583c81d5e7
[ "Apache-2.0" ]
permissive
jblespiau/jax
f932fe6df23942756957db61655f6cc9c6d67d64
46a666c4489b9e04d2777cf2156453bc48a8e432
refs/heads/main
2022-04-17T01:50:55.041057
2022-04-15T08:49:52
2022-04-15T08:49:52
481,888,965
0
0
Apache-2.0
2022-04-15T08:20:44
2022-04-15T08:20:43
null
UTF-8
Python
false
false
16,155
py
# Copyright 2021 Google LLC # # 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 # # https://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, ...
[ "no-reply@google.com" ]
no-reply@google.com
b8d68d8d894d6c17419300003a7d20d74344d72a
c9a809c5ef2a6b5e7e50da548c182510d203f430
/salt/runners/state.py
c518e3a0d78bbbd446286c27c563e844fd7152c4
[ "Apache-2.0" ]
permissive
andyyumiao/saltx
676a44c075ce06d5ac62fc13de6dcd750b3d0d74
a05c22a60706b5c4389adbd77581b5cf985763b5
refs/heads/master
2022-02-24T00:51:42.420453
2022-02-09T06:46:40
2022-02-09T06:46:40
231,860,568
1
5
NOASSERTION
2022-02-09T06:46:40
2020-01-05T03:10:15
Python
UTF-8
Python
false
false
7,000
py
# -*- coding: utf-8 -*- ''' Execute orchestration functions ''' # Import pytohn libs from __future__ import absolute_import, print_function import logging # Import salt libs import salt.loader import salt.utils import salt.utils.event from salt.exceptions import SaltInvocationError LOGGER = logging.getLogger(__name__...
[ "yumiao3@jd.com" ]
yumiao3@jd.com
8f1eca7502fed553159d86ab0a9a9fc3b4e6cc4e
830465731dfda87b4141546262f20d74c29297bf
/PWN/picoCTF2018/gps/sol.py
30b5d3d95371c78ea26ca454d6de1719db8ff1e5
[]
no_license
jchen8tw-research/CTF
f559d7ca0e16a730335b11caeeae208c42e8bf17
f49615c24437a9cc6a2c20d6b30cb5abf7a32b71
refs/heads/master
2023-03-17T12:29:08.630613
2021-03-23T06:31:26
2021-03-23T06:31:26
null
0
0
null
null
null
null
UTF-8
Python
false
false
591
py
#coding=utf-8 from pwn import * import re #context.log_level = 'debug' #context(arch='amd64', os='linux', bits = '64') context.binary = './gps' debug = 0 if not debug: r = remote('2018shell.picoctf.com', 49351) else: r = process('./gps') nop = asm(shellcraft.nop()) shell = asm(shellcraft.sh()) #shell = asm(pwnli...
[ "cpr1014@gmail.com" ]
cpr1014@gmail.com
7d06158920b29367d17b448de2179236f193de27
b19c9fe62eaa309851dc11f6fd7a05bda463fb58
/bigfish/apps/reports/urls.py
5e6efab43043385bd460b9f0af28d1b83c72092f
[]
no_license
hyu9999/bigfish
3ff3b025982e71bd6dd80f60ad6c70e735e98936
4189fdcacc20795a4778b53c9d47d6fdd3e71811
refs/heads/master
2022-07-08T13:55:12.908583
2019-03-22T09:36:12
2019-03-22T09:36:12
177,055,829
0
0
null
null
null
null
UTF-8
Python
false
false
676
py
from django.conf.urls import url from rest_framework import routers router = routers.SimpleRouter() # router.register(r'studies/enters', EnterStudyViewSet) # router.register(r'studies/conversations', ConversationViewSet) # router.register(r'studies/savedatainfo', SaveDataInfoViews) # router.register(r'studies/saveda...
[ "757147959@qq.com" ]
757147959@qq.com
ab77d94e70a98628a260f53902bdd8a90be36265
ab1d0fcd4900e0a88d49999cbbde4b06cc441e5d
/Labs/Lab 3/Lab3/Boids.py
fd61d89efc38e7991605f09d6257f5c325460d9d
[]
no_license
ThomasMGilman/ETGG1803_ConceptsOf3DGraphicsAndMath
bf261b7ce16bb686e42b1a2600aa97b4f8984b65
fdf4e216b117769246154cd360b2c321f4581354
refs/heads/master
2020-03-29T23:14:05.715926
2018-09-26T17:18:25
2018-09-26T17:18:25
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,695
py
import flock import pygame import math3d import random # Pygame startup pygame.init() win_width = 800 win_height = 600 screen = pygame.display.set_mode((win_width, win_height)) fontObj = pygame.font.SysFont("Courier New", 12) clock = pygame.time.Clock() done = False paused = False # This is a list of circular "obstac...
[ "Thomas.Gilman@ymail.com" ]
Thomas.Gilman@ymail.com
52e69b7d9ab9be96457650a33223304431a7087b
583d03a6337df9f1e28f4ef6208491cf5fb18136
/dev4qx/madeira/handlers/data/zhixin.py
575cabc375e33c3480809e11ab34c9e4197cd44f
[]
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
3,763
py
# 智信接口 import logging import json import time import tornado.gen from tornado.httpclient import AsyncHTTPClient, HTTPError from utils.encryption_decryption import to_md5 request_log = logging.getLogger("madeira.request") RESULT_MAP = { '2': 0, # 成功 '602': 9, # 服务器数据接收异常 '603': 9, # 请求数据参数格式错误 '6...
[ "lescpsn@aliyun.com" ]
lescpsn@aliyun.com
b39e713e9b9d37a4a0137e5f0283d1dbfadfd28d
3986a89bb2c7fbc679dae33b0e1c280caa032885
/marketing/models.py
7f955fcc2f80924dcb266fe5005f66793ebf8076
[]
no_license
sajalmia381/ecommerce
9d46d9e00b5c58b294bc6d96019d389a24f57952
9e09da97c714b42bb415ff3cce87ff91cd69f925
refs/heads/master
2022-12-11T15:00:37.643467
2019-08-12T14:20:45
2019-08-12T14:20:45
123,375,046
0
0
null
2022-12-08T02:10:36
2018-03-01T03:09:26
CSS
UTF-8
Python
false
false
1,097
py
from django.db import models from django.conf import settings from django.db.models.signals import post_save from .utils import MailChimp # Create your models here. class MarketingPreference(models.Model): user = models.OneToOneField(settings.AUTH_USER_MODEL, on_delete=models.CASCADE) subscribe = models.Boole...
[ "sajal_mia@ymail.com" ]
sajal_mia@ymail.com
4acec8ace69eef5aab6e597888b33efb4cfdabc3
f9c7f734e13fa3c61347fe475306a6759940b860
/python3_cron_scripts/zgrab_port_ip.py
7c1c7b6e9d77c38598728e28b330e0706eb6664f
[ "Apache-2.0" ]
permissive
DalavanCloud/Marinus
48936f54395bae7c3e39dcffed77bb6fae3b473c
a9f3c4a54f6bf5c044121ac6d8d3d18a7a0e09d0
refs/heads/master
2020-04-29T12:32:17.645410
2019-03-16T00:37:11
2019-03-16T00:37:11
176,140,449
1
0
null
2019-03-17T18:07:18
2019-03-17T18:07:18
null
UTF-8
Python
false
false
30,397
py
#!/usr/bin/python3 # Copyright 2019 Adobe. All rights reserved. # This file is licensed to you 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 requir...
[ "puhley@adobe.com" ]
puhley@adobe.com
b4e15b33e55d23e30e8e2f6b8a321eafb8f54723
de24f83a5e3768a2638ebcf13cbe717e75740168
/moodledata/vpl_data/309/usersdata/293/73227/submittedfiles/atm.py
2c93c82af2e85472309450b343bbc2b08ab565f8
[]
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
267
py
# -*- coding: utf-8 -*- from __future__ import division import math money=int(input("Digite um valor: ")) r1=money%20 r2=r1%10 r3=r2%5 r4=r3%2 d1=money//20 d2=r1//10 d3=r2//5 d4=r3//2 d5=r4//1 if money<0: print("Valor inválido") else: print(str(d1)+str(d2))
[ "rafael.mota@ufca.edu.br" ]
rafael.mota@ufca.edu.br
604bca4b8f0b2686a9201ccb1c91a2fd818f3ee0
ca7aa979e7059467e158830b76673f5b77a0f5a3
/Python_codes/p02836/s667985812.py
1658fec98933a591e5a14d44dd868cbef7443c97
[]
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
379
py
S = input() leng = len(S) count = 0 if leng % 2 == 0: S1 = S[:int(leng/2)] S2 = S[int(leng/2):] for i in range(int(leng/2)): if S1[i] == S2[int(leng/2)-1-i]: count += 1 print(int(leng/2)-count) else: S1 = S[:int(leng/2)] S2 = S[int(leng/2)+1:] for i in range(int(leng/2)): if S1[i] == S2[int...
[ "66529651+Aastha2104@users.noreply.github.com" ]
66529651+Aastha2104@users.noreply.github.com
af2f0512e91ea49f71983aa68b1076a656ccefd2
090d43fb627fd1d91bb3d745f008485f15f8f189
/wotw_highlighter/block_header.py
be74c109bcd8bee32e87936500abd1df1f77b06e
[ "ISC" ]
permissive
wizardsoftheweb/wotw-highlighter
6153ebc50d574d963b060393591c76c44c13ba4c
f9c2c91f5ebc506192e81573942b4989c80ae2bb
refs/heads/master
2021-04-25T11:24:12.816987
2018-02-24T23:21:16
2018-02-24T23:21:16
111,818,711
0
0
null
null
null
null
UTF-8
Python
false
false
2,623
py
"""This file provides a class to attach a header to a block""" from wotw_highlighter.block_options import BlockOptions class BlockHeader(BlockOptions): """This class compiles and renders a block's header (if any)""" RENDER_AN_OPTION_NOT_INCLUDED = '' ERROR_NEED_blob_path_OR_TITLE = ValueError('''\ blob...
[ "cj@wizardsoftheweb.pro" ]
cj@wizardsoftheweb.pro
e4f9dcf65fe4ea8720044f55226e52e8eaf389c0
bfe3973571b066865d451fb7276b73158c4bd889
/code/AllenNLP_Modifications/allennlp_velmo30k/allennlp/tests/data/fields/text_field_test.py
faa5fabde756cecc6439ccda8abda64903c5200d
[ "Apache-2.0" ]
permissive
UKPLab/naacl2019-like-humans-visual-attacks
85dd11f13ac57e1a0a2e5e7f4161f3e6588fb0ed
0d4eb57c239125c0d7e0e827a9887e182f3deebd
refs/heads/master
2022-12-05T06:36:53.994158
2021-02-08T08:51:57
2021-02-08T08:51:57
174,987,605
26
6
Apache-2.0
2022-11-21T20:49:09
2019-03-11T11:38:48
Python
UTF-8
Python
false
false
13,954
py
# pylint: disable=no-self-use,invalid-name from collections import defaultdict from typing import Dict, List import pytest import numpy from allennlp.data import Token, Vocabulary from allennlp.data.fields import TextField from allennlp.data.token_indexers import SingleIdTokenIndexer, TokenCharactersIndexer, TokenInd...
[ "lee@ukp.informatik.tu-darmstadt.de" ]
lee@ukp.informatik.tu-darmstadt.de
d7e3a030d9c4566cdb0b31432119685df41159a8
045cb1a5638c3575296f83471758dc09a8065725
/addons/pos_kitchen_printer/models/__init__.py
a1b6a6939adf5937fd8371d0fb565ad87d39edb1
[]
no_license
marionumza/saas
7236842b0db98d1a0d0c3c88df32d268509629cb
148dd95d991a348ebbaff9396759a7dd1fe6e101
refs/heads/main
2023-03-27T14:08:57.121601
2021-03-20T07:59:08
2021-03-20T07:59:08
null
0
0
null
null
null
null
UTF-8
Python
false
false
127
py
# -*- coding: utf-8 -*- # Part of Harpiya. See LICENSE file for full copyright and licensing details. from . import pos_order
[ "yasir@harpiya.com" ]
yasir@harpiya.com
d415c73efb114941108de5cc70bf361106a5cb61
9655434fa24cff892af8a6a54fc448ef7075926a
/scrapy框架/day07/redisSpiderPro/redisSpiderPro/spiders/redisSpiderTest.py
db9f1980547be6a56ec5fd15b5ca791643ba9bd8
[]
no_license
chenrun666/Spider
acaa6849726417e0df56d4e43b52fd1de22ac1d8
2ec2e5621d0eaa15d2a2bcc2fa11642a9441888c
refs/heads/master
2020-04-09T04:42:05.168983
2019-01-15T13:21:40
2019-01-15T13:21:40
160,032,765
0
0
null
null
null
null
UTF-8
Python
false
false
943
py
# -*- coding: utf-8 -*- import scrapy from scrapy_redis.spiders import RedisSpider from redisSpiderPro.items import RedisspiderproItem class RedisspidertestSpider(RedisSpider): name = 'redisSpiderTest' #allowed_domains = ['www.xxx,com'] #start_urls = ['http://www.xxx,com/'] redis_key = 'data' #调度器队列的名称...
[ "17610780919@163.com" ]
17610780919@163.com
019b201d3703f4bbb1cdb006dd59a50afff07dcd
7949f96ee7feeaa163608dbd256b0b76d1b89258
/toontown/classicchars/CharStateDatas.py
26ffd583121582f0f54056dcb7f70c5766f0c052
[]
no_license
xxdecryptionxx/ToontownOnline
414619744b4c40588f9a86c8e01cb951ffe53e2d
e6c20e6ce56f2320217f2ddde8f632a63848bd6b
refs/heads/master
2021-01-11T03:08:59.934044
2018-07-27T01:26:21
2018-07-27T01:26:21
71,086,644
8
10
null
2018-06-01T00:13:34
2016-10-17T00:39:41
Python
UTF-8
Python
false
false
10,549
py
# File: t (Python 2.4) from pandac.PandaModules import * from direct.interval.IntervalGlobal import * from direct.distributed.ClockDelta import * from direct.fsm import StateData from direct.directnotify import DirectNotifyGlobal from direct.showbase.PythonUtil import * from direct.task import Task import CCharPaths f...
[ "fr1tzanatore@aol.com" ]
fr1tzanatore@aol.com
d6aef98a8cc8710fdc5ffecf706514f2625f6753
efebd5c42f5e5048d0db2022a7f1115605f403a2
/dnanexus/encode_idr/resources/home/dnanexus/common.py
f47f951370dccf22c885c0a1fe3038e8cec65374
[]
no_license
crazyhottommy/chip-seq-pipeline
d5854d01bcf99d82d7f830c9513a1320d806e83b
44163d89d8649d8193e62ff4c49b113b01038703
refs/heads/master
2020-04-05T23:28:50.538573
2015-08-12T12:43:58
2015-08-12T12:43:58
42,424,548
2
2
null
2015-09-14T03:16:54
2015-09-14T03:16:54
null
UTF-8
Python
false
false
8,518
py
#!/usr/bin/env python import sys, os, subprocess, shlex, logging, re, urlparse import dateutil.parser def test(): print "In common.test" def rstrips(string, substring): if not string.endswith(substring): return string else: return string[:len(string)-len(substring)] def touch(fname, times=None): with open(f...
[ "jseth@stanford.edu" ]
jseth@stanford.edu
b08549cdc9930326c9806f5c1e261d6761327e2b
4af5c720758bd4ef36ccf94934fa79ddfc6d29ab
/pelicanconf.py
a7b514784cb9a8bf6cbbdf25f15b355abd50c4a4
[]
no_license
juhhcarmona/grupyrp.github.io
5151fff8463821d8976ddf175281755b21a54675
9c1c68185ae95bd419bbb939493c3940fd5b319b
refs/heads/pelican
2021-01-11T03:56:10.644068
2016-10-18T20:10:58
2016-10-18T20:10:58
71,271,500
0
0
null
2016-10-18T17:03:34
2016-10-18T17:03:31
Python
UTF-8
Python
false
false
3,042
py
#!/usr/bin/env python # -*- coding: utf-8 -*- # from __future__ import unicode_literals AUTHOR = u'Grupy-RP' SITENAME = u'Grupy-RP' SITEURL = '' PATH = 'content' TIMEZONE = 'America/Sao_Paulo' THEME = 'themes/malt' SITE_LOGO = 'images/logo/logo.png' SITE_BACKGROUND_IMAGE = 'images/banners/aerea.jpg' STATIC_PATHS = ...
[ "daniloshiga@gmail.com" ]
daniloshiga@gmail.com
7290065a273141e75604456bb17635a31582454d
d1f32ec9b972c38951939978f12b3ad20db6a96c
/src/debug_toolbar/panels/sql/panel.py
71ef283f0edf4d6938f26482d8b613cab760c605
[ "BSD-2-Clause", "BSD-3-Clause" ]
permissive
domyhero/sentry
b69f4a4fec38d6ed7adc199f24a866528e92b87e
a418072946ebd2933724945e1ea2a833cf4c9b94
refs/heads/master
2021-01-01T16:21:44.227712
2017-07-19T22:32:00
2017-07-19T22:48:39
null
0
0
null
null
null
null
UTF-8
Python
false
false
9,038
py
from __future__ import absolute_import, unicode_literals import uuid from copy import copy from collections import defaultdict from django.conf.urls import url from django.db import connections from django.utils.translation import ugettext_lazy as _, ungettext_lazy as __ from debug_toolbar.panels import Panel from d...
[ "dcramer@gmail.com" ]
dcramer@gmail.com
f970ef6d795cca42f5cd5e6541386bd098a7e5cb
78db5bc74181173f2d00bea409997a64b4682adf
/venv/lib/python3.9/site-packages/pip/_internal/wheel_builder.py
8ec908621ba0201832d4a81a6ab66338fa6db45a
[ "MIT" ]
permissive
CiscoDevNet/meraki-code
dfe680f077ebd053a3b663f1434f648f5a91b541
d031aab82e3fa5ce7cf57b257fef8c9a4c63d71e
refs/heads/master
2023-05-28T18:43:28.848983
2022-04-11T19:45:19
2022-04-11T19:45:19
188,288,487
67
60
MIT
2023-05-23T00:51:58
2019-05-23T18:43:15
Python
UTF-8
Python
false
false
12,202
py
"""Orchestrator for building wheels from InstallRequirements. """ import logging import os.path import re import shutil import zipfile from pip._vendor.packaging.utils import canonicalize_name, canonicalize_version from pip._vendor.packaging.version import InvalidVersion, Version from pip._vendor.pkg_resou...
[ "agentle@cisco.com" ]
agentle@cisco.com