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
0eaecf4f307a5ec0b780c2f317d6bc5189a441a3
1cc54e191b9d6e4ea2a469b92da0f3ac8ccd84b0
/tasks/_iblrig_tasks_ephysChoiceWorld/session_params.py
766d8dc8631798a874530df8264e1bcc3604d8ec
[ "MIT" ]
permissive
alejandropan/iblrig
027c090dbe54b6ef2cbbf22c16ad60eb040ee949
d8e746ccc52c2ad325404077ad2403e165e94d0c
refs/heads/master
2020-04-28T11:45:36.182150
2019-06-12T01:38:06
2019-06-12T01:38:06
175,253,494
0
0
MIT
2019-05-28T01:34:28
2019-03-12T16:25:04
Python
UTF-8
Python
false
false
13,957
py
#!/usr/bin/env python # -*- coding: utf-8 -*- # @Author: Niccolò Bonacchi # @Date: 2018-02-02 17:19:09 import os import sys from sys import platform from pathlib import Path import logging from pythonosc import udp_client from ibllib.graphic import numinput, multi_input sys.path.append(str(Path(__file_...
[ "nbonacchi@gmail.com" ]
nbonacchi@gmail.com
503695cf3f51fa183d89bf99e2ef120f05a702e6
3a06c339efa4008f4e351dc30fcf1b81b0691f9a
/day11/day11.py
9f1d43c249fd9ac2f8d511fee2666c1eb752ac97
[]
no_license
RedmondY/python
73e84823b1a65fa4b31bee4448bb4eddd5500864
5b4dfe16735ec87d2cb9b07fb4723200e4bd472a
refs/heads/master
2022-12-04T00:58:07.652676
2019-08-07T00:43:35
2019-08-07T00:43:35
172,700,007
0
0
null
2022-11-22T01:22:31
2019-02-26T11:38:02
Python
UTF-8
Python
false
false
1,732
py
''' 1、文件(db.txt)内容如下,标题为:姓名,性别,年纪,薪资 albert male 18 3000 james male 38 30000 林志玲 female 28 20000 新垣结衣 female 28 10000 要求: 从文件中取出每一条记录放入列表中, 列表的每个元素都是{'name':'albert','sex':'male','age':18,'salary':3000}的形式 2 根据1得到的列表,取出薪资最高的人的信息 3 根据1得到的列表,取出最年轻的人的信息 4 根据1得到的列表,将每个人的信息中的名字映射成首字母大写的形式 5 根据1得到的列表,过滤掉名字以a开头的人的信息 '''...
[ "redmondy@foxmail.com" ]
redmondy@foxmail.com
53182efc9c811568c760c27ee039b441abb2c3b1
5f3c8eddb8c5a14fb3b5931f332d401207666036
/test/clients/test01.py
75d3560fb9d6b17a62817b99f4d38cff956a18de
[ "Apache-2.0" ]
permissive
hwinther/lanot
dec8fe48efb6245af009bedf65b2bc089e92efa0
f6700cacb3946535081624467b746fdfd38e021d
refs/heads/master
2021-03-24T12:02:47.530833
2019-05-01T11:56:05
2019-05-01T11:56:05
91,605,521
0
0
null
null
null
null
UTF-8
Python
false
false
249
py
from deploy.clients import localtestclient udp = localtestclient.LocalTestUdpClient('test01', remote_port=9190) tcp = localtestclient.LocalTestTcpClient('test01', remote_port=9191) print('udp: %s' % udp.version()) print('tcp: %s' % tcp.version())
[ "hc@wsh.no" ]
hc@wsh.no
cbc05f5d0b2af05d6025033baddd15c57ea82bd8
72a146dad10c3330548f175643822e6cc2e2ccba
/net/data/verify_certificate_chain_unittest/generate-target-not-end-entity.py
b54053fa8699d0c2313d92c8f77f59f5dfb68e28
[ "BSD-3-Clause" ]
permissive
daotianya/browser-android-tabs
bb6772394c2138e2f3859a83ec6e0860d01a6161
44e83a97eb1c7775944a04144e161d99cbb7de5b
refs/heads/master
2020-06-10T18:07:58.392087
2016-12-07T15:37:13
2016-12-07T15:37:13
75,914,703
1
0
null
2016-12-08T07:37:51
2016-12-08T07:37:51
null
UTF-8
Python
false
false
923
py
#!/usr/bin/python # Copyright (c) 2015 The Chromium Authors. All rights reserved. # Use of this source code is governed by a BSD-style license that can be # found in the LICENSE file. """Certificate chain with 1 intermediate, a trusted root, and a target certificate that is also a CA. Verification is expected to succe...
[ "serg.zhukovsky@gmail.com" ]
serg.zhukovsky@gmail.com
590034654fa90f5a4256152448797f85f284ad4f
952dc09c3e77016f4991d8b2297de32b3e3b45d8
/apps/utils/locust_tests/common/stats/stats_loaders.py
0354330ed6203958f07d36fd1fb2f5da1b0cb7b3
[ "CC0-1.0", "LicenseRef-scancode-public-domain" ]
permissive
CMSgov/beneficiary-fhir-data
1f3bd5ff9171975bc77e1a4b6971222342bb3bd9
0d170907736c5f957b7545ae26b12ba16e0c2550
refs/heads/master
2023-08-08T12:53:42.348530
2023-08-07T15:27:15
2023-08-07T15:27:15
203,852,942
47
34
NOASSERTION
2023-09-14T18:25:26
2019-08-22T18:41:16
Java
UTF-8
Python
false
false
16,220
py
"""Members of this file/module are related to the loading of performance statistics from various data "stores" (such as from files or AWS S3)""" import json import os import time from abc import ABC, abstractmethod from dataclasses import fields from functools import cmp_to_key, reduce from statistics import mean from ...
[ "noreply@github.com" ]
CMSgov.noreply@github.com
785e9b108450b244f05000b4b18cb942b56f3f04
6b2a8dd202fdce77c971c412717e305e1caaac51
/solutions_5708284669460480_0/Python/sunnylqm/test.py
1dd36ce495f9584f34f3955d399d19388359a089
[]
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,355
py
import math f = open('B-small-attempt2.in') #f = open('test.in') count = int(f.readline()) output = '' for x in xrange(1, count + 1): arr = f.readline().split() K = int(arr[0]) L = int(arr[1]) S = int(arr[2]) keyboard = f.readline() target = f.readline() keymap = {} for i in xrange(0, K...
[ "eewestman@gmail.com" ]
eewestman@gmail.com
5cb2978fbc35af9b1646d7addb63f245998a7327
89b3cf7b8246349e67ff3362cd4b9ed039426d93
/celeryproject/celeryproject/settings.py
89767bc3c9fb5f8f061d7ed449000fd00e57f034
[]
no_license
vijaygwala/celeryproject
c4d67494fe5feca485e5e4daf56f0141dd7fd681
8f58bc4e3553cb8bb67fa980a49f96fe048f6af9
refs/heads/master
2023-05-31T03:20:30.180435
2021-06-08T18:24:50
2021-06-08T18:24:50
null
0
0
null
null
null
null
UTF-8
Python
false
false
5,247
py
""" Django settings for celeryproject project. Generated by 'django-admin startproject' using Django 1.11.27. For more information on this file, see https://docs.djangoproject.com/en/1.11/topics/settings/ For the full list of settings and their values, see https://docs.djangoproject.com/en/1.11/ref/settings/ """ im...
[ "dimkoug@gmail.com" ]
dimkoug@gmail.com
381c1cfa2d1c8f94daf58ed606f18762649e52b9
04a643a77927bc56ab58c7df91d4733321e61e51
/new_targets/new_tracks_a001.py
4f6ca1c33f96092e0a0fcb05ecc16fff9c964e83
[]
no_license
dcollins4096/p19_newscripts
d2fae1807170a4d70cf4c87222a6258211f993ff
23c780dd15b60944ed354406706de85282d0bee6
refs/heads/master
2023-07-21T11:53:55.188383
2023-07-18T17:38:21
2023-07-18T17:38:21
215,159,839
0
3
null
null
null
null
UTF-8
Python
false
false
4,681
py
# # run get_mountain_tops first # from starter2 import * import xtra_energy import data_locations as dl reload(dl) reload(looper) import looper2 reload(looper2) LOOPER2 = True looper_main = looper2.core_looper2 this_simname = 'a001' other_simname = 'u301' mountain_top_fname = "datasets_small/%s_mountain_tops_take_9....
[ "dccollins@fsu.edu" ]
dccollins@fsu.edu
09eb164bc57814f0f45096a91ef444fd22d8c657
6a9f06b967d7641ddff7b56425651b29d3e577f4
/mindinsight/tests/st/func/lineagemgr/cache/test_lineage_cache.py
0bfb2c40e19d447ee9e5ba86e951d9c403998356
[ "Apache-2.0" ]
permissive
ZeroWangZY/DL-VIS
b3117016547007b88dc66cfe7339ef02b0d84e9c
8be1c70c44913a6f67dd424aa0e0330f82e48b06
refs/heads/master
2023-08-18T00:22:30.906432
2020-12-04T03:35:50
2020-12-04T03:35:50
232,723,696
1
1
null
null
null
null
UTF-8
Python
false
false
3,993
py
# Copyright 2020 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.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to...
[ "756762961@qq.com" ]
756762961@qq.com
8ddcecbb9c1ffc68b7862a87dcac432c60ab5ff8
d6589ff7cf647af56938a9598f9e2e674c0ae6b5
/hitsdb-20200615/alibabacloud_hitsdb20200615/models.py
d12b6031a3aa47e59d84b91c8b0ed869d8364fa3
[ "Apache-2.0" ]
permissive
hazho/alibabacloud-python-sdk
55028a0605b1509941269867a043f8408fa8c296
cddd32154bb8c12e50772fec55429a9a97f3efd9
refs/heads/master
2023-07-01T17:51:57.893326
2021-08-02T08:55:22
2021-08-02T08:55:22
null
0
0
null
null
null
null
UTF-8
Python
false
false
44,585
py
# -*- coding: utf-8 -*- # This file is auto-generated, don't edit it. Thanks. from Tea.model import TeaModel from typing import List, Dict class DescribeRegionsRequest(TeaModel): def __init__( self, security_token: str = None, owner_id: int = None, resource_owner_account: str = Non...
[ "sdk-team@alibabacloud.com" ]
sdk-team@alibabacloud.com
8ab26bb0e961827bf5aa99e77eb27bc71be0bf30
cad396ca2df76e4521f6a4b5c059ba3931e72f11
/pabi_asset_management/__openerp__.py
4f52adf93cb7521961a68f99292244f2351916c9
[]
no_license
mulaudzicalvin/pb2_addons
1ee835bd0e5d6f215603aa5d3f1099df40a3d14c
57e0cb59e83853248dda37e2205722ab9bce1852
refs/heads/master
2020-03-26T11:47:48.470437
2018-08-15T12:16:25
2018-08-15T12:16:25
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,319
py
# -*- coding: utf-8 -*- { "name": "NSTDA :: PABI2 - Asset Management", "version": "0.1", "author": "Ecosoft", "website": "http://ecosoft.co.th", "category": "Customs Modules", "depends": [ "account_asset_management", "stock_account", "account_anglo_saxon", "pabi_p...
[ "kittiu@gmail.com" ]
kittiu@gmail.com
01beb8d00b05303dbfe6a6de48c5ffd06c388bb5
b948da1493329127a9a9ab567bae874c8cfa0bf4
/gallery/migrations/0001_initial.py
0ae5ff858f1c4d7f41180948b4fd9bd84b6b05a0
[]
no_license
Kotodian/portfolio
edb93bec72d66d1fececd71b67a8e7f92cebb260
5661bf5d8134bbb576b2ea771fe5a6210c942feb
refs/heads/master
2020-06-13T02:32:59.356331
2019-07-04T08:22:28
2019-07-04T08:24:22
194,503,065
0
0
null
null
null
null
UTF-8
Python
false
false
515
py
# Generated by Django 2.0.2 on 2019-06-30 12:39 from django.db import migrations, models class Migration(migrations.Migration): initial = True dependencies = [ ] operations = [ migrations.CreateModel( name='Gallery', fields=[ ('id', m...
[ "root@vultr.guest" ]
root@vultr.guest
47c9d4b25a6ac97dc5789a701dd77e1f0e2ff125
97933c7f0973cb5671a26d28763e2688882b6ba9
/akshare/stock/stock_hk_fhpx_ths.py
0dad04c91e08af6df46e8f48cb404a95d9b2d66c
[ "MIT" ]
permissive
jinzaizhichi/akshare
a1eacae7a5a94142b2e05e4fed9a48a9448b1755
c3c9f67364dcfb0c8b507f991540541179a0e87b
refs/heads/master
2023-08-10T07:45:22.377848
2023-07-25T08:23:08
2023-07-25T08:23:08
243,995,284
0
0
MIT
2022-09-08T05:48:01
2020-02-29T15:43:00
Python
UTF-8
Python
false
false
2,078
py
#!/usr/bin/env python # -*- coding:utf-8 -*- """ Date: 2023/5/16 18:20 Desc: 同花顺-港股-分红派息 http://stockpage.10jqka.com.cn/HK0700/bonus/ """ import pandas as pd import requests def stock_hk_fhpx_detail_ths(symbol: str = "0700") -> pd.DataFrame: """ 同花顺-港股-分红派息 http://stockpage.10jqka.com.cn/HK0700/bonus/ ...
[ "jindaxiang@163.com" ]
jindaxiang@163.com
a75ac8c01944ccea8b2dbe6c82b21057a5546ede
27d44e4eb737cdacd46e08d3c6810424e9751872
/homedns/interface/interface.py
885850df63faf3ef8cf6576e8f42454731ab4879
[]
no_license
liuyug/homedns
96d88c28d88a31e837270f609b8ea408e763cc80
236fd19eaec6dd54f1ae29872a5c627ec1a4ae76
refs/heads/master
2021-07-04T08:48:25.905798
2020-09-30T02:26:08
2020-09-30T02:26:08
50,401,927
5
1
null
null
null
null
UTF-8
Python
false
false
872
py
#!/usr/bin/env python # -*- encoding:utf-8 -*- class InterfaceBase(object): def __init__(self): self.interfaces = {} self.gateway_iface = '' def isIPv4(self, ip): if not ip: return False if ':' in ip: return False return True def includeIPv...
[ "liuyug@gmail.com" ]
liuyug@gmail.com
a59d04daa9fd2fdef55a8c490457f5c838ff0d96
d3a0a2cabd572a9e597a399cf6b7012e34a99475
/flask/script-api/flask/lib/python3.6/importlib/machinery.py
fff54fcd97759ad7872c8d14ac1f72a732ccce52
[]
no_license
rahulgoyal911/Face-Recogniton-Using-OpenCV-and-Python-on-RaspberryPI
06ed227dc56a0956d668de0d9f78287c75e790f4
1bbdfd45adebda0728831065df0580cd48dedef8
refs/heads/master
2020-05-01T01:18:18.868473
2019-03-24T16:48:21
2019-03-24T16:48:21
177,192,198
0
1
null
null
null
null
UTF-8
Python
false
false
66
py
/home/rahulgoyal911/anaconda3/lib/python3.6/importlib/machinery.py
[ "rahulgoyal0.rg@gmail.com" ]
rahulgoyal0.rg@gmail.com
fbeadd27699e5fd815ec94cbbecb496b634ac17c
8eb448bde626c47d36fafdb26c97caecb833d578
/myscript.py
a3e295aca5cd9b3ea50833536062bb069b83b31e
[]
no_license
AlJohri/testenvdir
9c2502e1b54e2e6952569abe62c664d5d1cad6b2
c450961c8e29af60c82736fe7cd27e16f996a8a8
refs/heads/master
2020-09-21T19:51:50.761607
2016-09-08T02:53:54
2016-09-08T02:53:54
67,660,848
0
0
null
null
null
null
UTF-8
Python
false
false
70
py
#!/usr/bin/env python3 from mypackage.settings import * print(DEBUG)
[ "al.johri@gmail.com" ]
al.johri@gmail.com
23130632ae3ca75ff2aa72020b905c030c10dc4b
92c8743c51a75e5173f1eef139f2796c7027ed2a
/src/forms/about.py
e5d21a74d3dce76787deaee0892494d7ba270b1e
[ "LicenseRef-scancode-warranty-disclaimer", "MIT", "CC-BY-3.0" ]
permissive
dave45678/Turing
79565c0c89fb6b131ea90d7a0c95099e3882cc8c
99107296ca5785306eb275e515d937e787d4f6d8
refs/heads/master
2020-03-15T06:42:48.233418
2018-05-03T15:11:55
2018-05-03T15:11:55
null
0
0
null
null
null
null
UTF-8
Python
false
false
654
py
# -*- coding: utf-8 -*- from PyQt5.QtCore import * from PyQt5.QtWidgets import * from forms.ui_about import Ui_AboutWindow from util.widgets import center_widget translate = QCoreApplication.translate class AboutWindow(QDialog): def __init__(self, parent, version, channel): super().__init__(parent) ...
[ "zippedfire@free.fr" ]
zippedfire@free.fr
edb3c21bf6b70f937e62563753c0327a117557bb
3adf9934a74077c328b9a0afff37f8ca355eead1
/comicresizer/wsgi.py
0fd76014e66332ac4573eba7ee336a637babd864
[]
no_license
jgasteiz/comic-resizer
36671623fe9909f23fba793b44cf4ac56380926a
12d2e12efdf2017746d67a4b6d9616613ee58bb9
refs/heads/master
2021-07-05T05:56:00.911958
2017-09-27T07:43:58
2017-09-27T07:45:25
104,987,910
0
0
null
null
null
null
UTF-8
Python
false
false
402
py
""" WSGI config for comicresizer project. It exposes the WSGI callable as a module-level variable named ``application``. For more information on this file, see https://docs.djangoproject.com/en/1.11/howto/deployment/wsgi/ """ import os from django.core.wsgi import get_wsgi_application os.environ.setdefault("DJANGO...
[ "javi.manzano.oller@gmail.com" ]
javi.manzano.oller@gmail.com
04cd0012628d3dfda86a4d2353d6d72de1583872
bbfa3b7ee2008617d33a7c5c7770d22e1aa8836b
/luolearn/metrics/classification.py
0ccb8670d109cc630df5d4db6f8b84270668eda1
[ "MIT" ]
permissive
luoshao23/ML_algorithm
1a0046ce9c3abed029cceffa35defe57fffa82b2
6e94fdd0718cd892118fd036c7c5851cf3e6d796
refs/heads/master
2021-08-07T08:38:16.102455
2020-03-18T06:49:43
2020-03-18T06:49:43
92,467,636
4
1
MIT
2018-01-16T05:01:29
2017-05-26T03:20:08
Jupyter Notebook
UTF-8
Python
false
false
1,875
py
import numpy as np from scipy.sparse import csr_matrix from ..utils import column_or_1d from ..utils import check_consistent_length from ..utils.multiclass import type_of_target from ..utils.sparsefuncs import count_nonzero def _check_targets(y_true, y_pred): check_consistent_length(y_true, y_pred) type_tru...
[ "luoshao23@gmail.com" ]
luoshao23@gmail.com
4a3e93bdc7b589f147e164f7c8dae95f265344d0
6c1527b2dc3f944b8907d0de5bda6cdfbaeb1f7f
/otree-core-master/otree/asgi.py
890f1dd51a9d99f28048c1cc560b3593a729526c
[ "MIT" ]
permissive
dcthomas4679/otree
f0a9204b12cd395e55fd9b77ac90584c2cd3c049
363a05d2f70f9225628e4857473dedcb449018dc
refs/heads/master
2021-06-23T20:07:02.499724
2020-11-18T15:32:30
2020-11-18T15:32:30
37,225,765
1
1
NOASSERTION
2021-06-10T23:28:55
2015-06-10T22:22:33
Python
UTF-8
Python
false
false
926
py
#!/usr/bin/env python # -*- coding: utf-8 -*- from __future__ import absolute_import # for channels module import os import channels.asgi os.environ.setdefault("DJANGO_SETTINGS_MODULE", "settings") from otree.common_internal import ( release_any_stale_locks, get_redis_conn # noqa ) release_any_stale_locks() #...
[ "dcthomas@gmail.com" ]
dcthomas@gmail.com
b469199380c66c46be47c9d6a2ca9a4c78298f1b
9b53a4c0a1980aeb13b73d905afb3322b26def52
/page/classtimetablePage/room_managementPage/degree_course_classmate_r.py
f48eb36a5d5dce6ea4f4bf9693c3b4d7f7562552
[]
no_license
xmaimiao/wmPC
6340386aac10e4c8273ec4aec53a6494820e46ff
07319cc6f4e0bf1a53bf61b9baf1c8440dfc02bd
refs/heads/master
2022-12-30T09:50:56.908362
2020-10-18T12:49:38
2020-10-18T12:49:38
305,076,069
0
0
null
null
null
null
UTF-8
Python
false
false
1,295
py
from common.contants import degree_course_classmate_r_dir from page.basepage import BasePage class Degree_Course_Classmate_R(BasePage): def get_lessontime(self): ''' 驗證顯示了授課時間 ''' return self.step(degree_course_classmate_r_dir,"get_lessontime") def get_lesson_student_num(self)...
[ "765120214@qq.com" ]
765120214@qq.com
c6eea2c388f7e1c2c5d2a8ef0481770d4e11c70e
1285703d35b5a37734e40121cd660e9c1a73b076
/codility/5_count_div.py
b5e1146cfd9a5719bf56ac1dfb738d5edb83f263
[]
no_license
takin6/algorithm-practice
21826c711f57131108168775f08e4e13d07a3b38
f4098bea2085a77d11c29e1593b3cc3f579c24aa
refs/heads/master
2022-11-30T09:40:58.083766
2020-08-07T22:07:46
2020-08-07T22:07:46
283,609,862
0
0
null
null
null
null
UTF-8
Python
false
false
362
py
def solution(A, B, K): # cur = (A-1) // 2 # divisibles = [cur] # for i in range(A, B+1): # if i % K == 0: # cur += 1 # divisibles.append(cur) # return divisibles[-1] - divisibles[0] if A % K == 0: return (B-A) // K + 1 else: return (B - (A...
[ "takayukiinoue116@gmail.com" ]
takayukiinoue116@gmail.com
ab61bd103d445a862db59de85a923a2e32e2ad48
4bd793140684ddd73a91014f820c08fd00d4472d
/scripts/addons_extern/jarch_vis0_4/jarch_stairs.py
56be54f9555804abf088674932bb93efe970f0ca
[]
no_license
Sielgaire/blenderpython
b737a03e2716e156648fe38cd03e84487db67776
1c54642533a62aa8ec46b560d1b4bb6265292992
refs/heads/master
2021-01-18T08:36:10.458457
2015-09-03T06:33:07
2015-09-03T06:33:07
null
0
0
null
null
null
null
UTF-8
Python
false
false
69,549
py
import bpy from bpy.props import BoolProperty, EnumProperty, FloatProperty, StringProperty, IntProperty, FloatVectorProperty from math import radians, atan, tan, sin, cos, sqrt, asin from mathutils import Euler, Vector import bmesh from random import uniform from . jarch_materials import Image from . jarch_utils import...
[ "meta.androcto1@gmail.com" ]
meta.androcto1@gmail.com
76f5e6b143c51b334cbf71e4876ac6baff943cc9
f305f84ea6f721c2391300f0a60e21d2ce14f2a5
/20_杂题/atc競プロ/AtCoder Beginner Contest/136/C - Build Stairs.py
a3c7a4f9144316a94745655b759a0702d680cf76
[]
no_license
981377660LMT/algorithm-study
f2ada3e6959338ae1bc21934a84f7314a8ecff82
7e79e26bb8f641868561b186e34c1127ed63c9e0
refs/heads/master
2023-09-01T18:26:16.525579
2023-09-01T12:21:58
2023-09-01T12:21:58
385,861,235
225
24
null
null
null
null
UTF-8
Python
false
false
513
py
# 给你一串数,每个数都只能做将高度减1和不改变两种操作,问这串数是否可以变成不减序列 from typing import List def buildStairs(nums: List[int]) -> bool: """倒序遍历""" for i in range(len(nums) - 2, -1, -1): if nums[i] > nums[i + 1]: nums[i] -= 1 if nums[i] > nums[i + 1]: return False return True ...
[ "lmt2818088@gmail.com" ]
lmt2818088@gmail.com
8b93eb66cc12288ac281f6f475b7920c885c8b8e
6685318f6ef4ea44b38b8ecc5dd2c3186d895bb3
/test/test_rw_lock.py
4d039ede68ec9c518390a92ff6484e174ac3fac6
[ "MIT", "HPND" ]
permissive
samrushing/shrapnel
cd372da1f08a43776ffc6d39c71f1758269db0fa
5835454dcfd4b526d7b117d11e4384f5ed60ae03
refs/heads/master
2021-01-18T09:45:35.979434
2012-06-22T04:39:42
2012-06-22T04:39:42
4,021,029
1
0
null
null
null
null
UTF-8
Python
false
false
4,784
py
# Copyright (c) 2002-2011 IronPort Systems and Cisco Systems # # Permission is hereby granted, free of charge, to any person obtaining a copy # of this software and associated documentation files (the "Software"), to deal # in the Software without restriction, including without limitation the rights # to use, copy, mod...
[ "mark@peek.org" ]
mark@peek.org
22f57b81144a68d7684aceacd81df68b3acc95eb
bba0a10d2bced816410badcd0792826f0cee5fa8
/pythoncode/cext/setup_CubicStokeslet2D.py
538993e6c3be519f4e2c893edf31cd04f9dd6eb4
[]
no_license
breecummins/polymercode
8aae6bc3ff52d9824158a9c7835f0478693ff165
f65b515ddf23bac38eacbc9d32ecd9ec5ec3de12
refs/heads/master
2021-05-13T11:54:12.029811
2018-01-11T19:39:11
2018-01-11T19:39:11
117,145,003
0
0
null
null
null
null
UTF-8
Python
false
false
519
py
'''python setup_foo.py build will build the extension module foo.so in ./build/lib.arch-id/''' from distutils.core import setup, Extension import sys, os, numpy includen=[numpy.get_include()] module1 = Extension('CubicStokeslet2D', include_dirs=includen, sources = ['CubicStokeslet2D.c']) s...
[ "breecummins@gmail.com" ]
breecummins@gmail.com
ec3215b8fe8c9daf0af807cc25701f60f26bc323
089e53103ab25cd57c2d12b3f68533ef4c49493c
/backend/meme_world_27493/wsgi.py
6a8b4f7e1cdd26f68fa75ca33a59179750134310
[]
no_license
crowdbotics-apps/meme-world-27493
b20ddc08fe77a59fa57e25e751dde40591da16fa
5ad8483eb9d1949486bfb6f9fa077a9c23c34818
refs/heads/master
2023-05-02T05:48:06.923336
2021-05-27T20:53:49
2021-05-27T20:53:49
371,501,481
0
0
null
null
null
null
UTF-8
Python
false
false
409
py
""" WSGI config for meme_world_27493 project. It exposes the WSGI callable as a module-level variable named ``application``. For more information on this file, see https://docs.djangoproject.com/en/2.2/howto/deployment/wsgi/ """ import os from django.core.wsgi import get_wsgi_application os.environ.setdefault('DJA...
[ "team@crowdbotics.com" ]
team@crowdbotics.com
8bfd5859526dac8c7e09cfe981f01560487073ca
b0f0aaf75b3b6dfdf08e2356970b3b3d007e331f
/configs/example/fs_multiThread.py
697c86460662d9e714551f436ea1f132903a1755
[ "BSD-3-Clause", "LicenseRef-scancode-proprietary-license", "LGPL-2.0-or-later", "MIT" ]
permissive
jjkotni/gem5-master
c30e0826f5d1d20a5714444389474ec9990c7539
dc47dbf308fd04e506b712b588ff0c8eb12f079f
refs/heads/master
2022-12-11T08:29:48.584708
2019-11-13T10:06:07
2019-11-13T10:06:07
221,422,045
0
1
BSD-3-Clause
2022-12-08T17:17:24
2019-11-13T09:31:33
C++
UTF-8
Python
false
false
16,277
py
# Copyright (c) 2010-2013, 2016, 2019 ARM Limited # All rights reserved. # # The license below extends only to copyright in the software and shall # not be construed as granting a license to any other intellectual # property including but not limited to intellectual property relating # to a hardware implementation of t...
[ "kjjswaroop@gmail.com" ]
kjjswaroop@gmail.com
536cd089feace7b1af6f28742e70a3fdfe2f2542
ca7aa979e7059467e158830b76673f5b77a0f5a3
/Python_codes/p03700/s311983403.py
e0ae77bcda00ba4e2c9dd4f6e5d43da7680cbe05
[]
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
285
py
N,A,B=map(int,input().split()) H=[] for _ in range(N): H.append(int(input())) ok=10**9+1 ng=0 while ok-ng>1: mid=(ok+ng)//2 dmg=B*mid tgt=0 for item in H: tgt+=-(-max(item-dmg,0)//(A-B)) if tgt<=mid: ok=mid else: ng=mid print(ok)
[ "66529651+Aastha2104@users.noreply.github.com" ]
66529651+Aastha2104@users.noreply.github.com
3049ddd9509647ce74449ee9f5b3fb4a6d633337
85a9ffeccb64f6159adbd164ff98edf4ac315e33
/pysnmp/VERITAS-CLUSTER-MIB.py
941592e7be5e1d67879a16f149bcf752840dbbee
[ "Apache-2.0" ]
permissive
agustinhenze/mibs.snmplabs.com
5d7d5d4da84424c5f5a1ed2752f5043ae00019fb
1fc5c07860542b89212f4c8ab807057d9a9206c7
refs/heads/master
2020-12-26T12:41:41.132395
2019-08-16T15:51:41
2019-08-16T15:53:57
237,512,469
0
0
Apache-2.0
2020-01-31T20:41:36
2020-01-31T20:41:35
null
UTF-8
Python
false
false
32,550
py
# # PySNMP MIB module VERITAS-CLUSTER-MIB (http://snmplabs.com/pysmi) # ASN.1 source file:///Users/davwang4/Dev/mibs.snmplabs.com/asn1/VERITAS-CLUSTER-MIB # Produced by pysmi-0.3.4 at Mon Apr 29 21:26:59 2019 # On host DAVWANG4-M-1475 platform Darwin version 18.5.0 by user davwang4 # Using Python version 3.7.3 (default...
[ "dcwangmit01@gmail.com" ]
dcwangmit01@gmail.com
c2b56f8d6acae1dcec1938f8d5c67ce3cbcbc71f
633506e8aba3c555802348af8edd34e98f6975c1
/pandas/tests/test_generic.py
c9ef3ea4e217c928a1a8a0f33897f1137124bda6
[ "BSD-3-Clause", "LicenseRef-scancode-other-permissive", "BSD-2-Clause" ]
permissive
pierre-haessig/pandas
44aba568d87079b0d3181b7fee856c29ace45a44
f9e0b7df8ca8a92133d3cea0a26181140f991e2d
refs/heads/master
2021-01-18T06:13:03.044663
2013-10-11T14:06:49
2013-10-11T14:06:49
13,500,599
1
0
null
null
null
null
UTF-8
Python
false
false
21,531
py
# pylint: disable-msg=E1101,W0612 from datetime import datetime, timedelta import operator import unittest import nose import numpy as np from numpy import nan import pandas as pd from pandas import (Index, Series, DataFrame, Panel, isnull, notnull,date_range, _np_version_under1p7) from pandas.co...
[ "jeff@reback.net" ]
jeff@reback.net
6dc546389a6f10aacd4eb90a1f094923465422c1
50f4509fcbede0767b15de21262137cf5aa93c7a
/tests/modules/teams/resources/test_modifying_teams.py
bc830bb08c8d273b8496b15b570605e886512b63
[ "MIT" ]
permissive
millen1m/flask-restplus-server-example
8384326b6cdec3c076db53bf392659e53527749f
e1089d64e72d8fc2263675520825782c771e6f52
refs/heads/master
2021-01-11T19:00:24.591394
2017-01-18T02:31:26
2017-01-18T02:31:26
79,290,124
1
0
null
2017-01-18T01:20:52
2017-01-18T01:20:52
null
UTF-8
Python
false
false
6,913
py
# encoding: utf-8 # pylint: disable=missing-docstring import json from app.modules.teams import models def test_new_team_creation(flask_app_client, db, regular_user): # pylint: disable=invalid-name team_title = "Test Team Title" with flask_app_client.login(regular_user, auth_scopes=('teams:write', )): ...
[ "frolvlad@gmail.com" ]
frolvlad@gmail.com
0c29edef5beb6d2c825c72a8cb36a93a10416184
9f749833be23b5fa96717236d0c2f76efb43f440
/lib/bbox.py
66e4c7953f1e4b078e351e3b548afd70ecd219a4
[]
no_license
Shmuma/blackboxchallenge
e4318e5a8a170c56c11afbb17c5567740178a386
5a185a8e396276eae67c708de5adfb243d9dca67
refs/heads/master
2020-05-29T15:07:11.118589
2016-05-20T10:18:11
2016-05-20T10:18:11
60,077,313
0
0
null
null
null
null
UTF-8
Python
false
false
519
py
""" Custom bbox interface class """ def get_bbox(name=None): """ Get bbox instance module by name. Name == None loads original bbox module. All others must match a module from custom package. :param name: :return: """ if name is None: print "We'll use original bbox implementation" ...
[ "max.lapan@gmail.com" ]
max.lapan@gmail.com
3c4e9d0c14caca0b4ae49adc9910f11d2bd79df8
0203e5a6d7beb1e0f83113dac4c167b171756f24
/test/system/volume/CREATE_VOL_BASIC_7.py
004520d7ebae215be424514d6f740c7e378dc75d
[ "BSD-3-Clause" ]
permissive
Wonchul08Lee/poseidonos
eaafe277fc56a0f5b5fcca3b70acc9bfe5d5d1ae
6fe410cdf88f3243ad9210f763c2b5a2f7e8b46a
refs/heads/main
2023-03-30T13:41:09.660647
2021-04-08T06:43:26
2021-04-08T06:43:26
355,819,746
0
0
BSD-3-Clause
2021-04-08T08:17:27
2021-04-08T08:17:26
null
UTF-8
Python
false
false
1,796
py
#!/usr/bin/env python3 import subprocess import os import sys import json sys.path.append("../lib/") sys.path.append("../array/") import json_parser import ibofos import cli import test_result import ibofos_constant import MOUNT_ARRAY_BASIC_1 import volume VOL_NAME = "vol7" VOL_SIZE = ibofos_constant.SIZE_1GB * 5 VOL...
[ "poseidonos@samsung.net" ]
poseidonos@samsung.net
93dc8f78e85bacbd942755df76bff4b12fd343e0
5a0dfe1326bb166d6dfaf72ce0f89ab06e963e2c
/leetcode/lc350.py
d69cd8670ad1fc664de20f243397c783c0888bbe
[]
no_license
JasonXJ/algorithms
7bf6a03c3e26f917a9f91c53fc7b2c65669f7692
488d93280d45ea686d30b0928e96aa5ed5498e6b
refs/heads/master
2020-12-25T15:17:44.345596
2018-08-18T07:20:27
2018-08-18T07:20:27
67,798,458
1
0
null
null
null
null
UTF-8
Python
false
false
508
py
from collections import Counter class Solution(object): def intersect(self, nums1, nums2): """ :type nums1: List[int] :type nums2: List[int] :rtype: List[int] """ c1 = Counter(nums1) c2 = Counter(nums2) rv = [] for x, c in c1.items(): ...
[ "lxj2048@gmail.com" ]
lxj2048@gmail.com
e32636c3575c1f16778b0fbe950d3d23e5ea6e9b
16e511771be79efe535074a0f8d6d5209b5740e7
/mn_wifi/link.py
904331ea656828709246db53854091b2fdc92bfa
[ "LicenseRef-scancode-x11-stanford" ]
permissive
ovasoft/mininet-wifi
b2b7b0336c8111d3e0a03fa2dc072d891d4ebcbe
a59dc3c42fc9b8a9445775e002feca5f4330148a
refs/heads/master
2020-09-30T16:41:49.331180
2019-12-10T01:26:39
2019-12-10T01:26:39
null
0
0
null
null
null
null
UTF-8
Python
false
false
60,516
py
# author: Ramon Fontes (ramonrf@dca.fee.unicamp.br) import os import re import subprocess from time import sleep from sys import version_info as py_version_info from mininet.util import BaseString from mininet.log import error, debug, info from mn_wifi.manetRoutingProtocols import manetProtocols from mn_wifi.wmedium...
[ "ramonreisfontes@gmail.com" ]
ramonreisfontes@gmail.com
e5053a28927fe74520cd0c0314216ad5af824a44
8dba7d35263956b1cc1a0fc5e37559977a13753a
/dynamodb.py
1f2cc1f1bcd675d4ea117f120fc683d156a27240
[ "MIT" ]
permissive
carbonox-infernox/boto3-examples
22fcd34adfc8857620851717f530343414df9efc
1142ed83bf548608ba39a6db17a9f4ada64b9218
refs/heads/master
2020-07-11T08:44:34.553786
2017-02-18T05:45:23
2017-02-18T05:45:23
null
0
0
null
null
null
null
UTF-8
Python
false
false
8,497
py
import boto3 import time from boto3.dynamodb.conditions import Key from boto3.dynamodb.conditions import Attr class DynamoDB(object): """docstring for DynamoDB""" def __init__(self, arg): region_name = self.kwargs.get('region_name', 'us-east-1') self.conn = boto3.resource('dynamodb', region_na...
[ "santosh.ghimire33@gmail.com" ]
santosh.ghimire33@gmail.com
19cb10690d7d4a203167f0b12a733712a949675d
dd208e5d00cce0a5a38d881af8a59aaeb532e44b
/Python_level_1/Python_08/loto.py
49752d4fa5212f70730115d5ae6aa85bf544d99e
[]
no_license
dKosarevsky/geekbrains
93324fc8c70db93f253ba844185ad2ef83126e6c
c8eedfe8a89ff482a075a8506a821c22a08995a1
refs/heads/master
2020-04-19T06:28:56.425038
2019-02-03T05:58:19
2019-02-03T05:58:19
168,019,373
0
0
null
null
null
null
UTF-8
Python
false
false
6,894
py
#!/usr/bin/python3 """ == Лото == Правила игры в лото. Игра ведется с помощью специальных карточек, на которых отмечены числа, и фишек (бочонков) с цифрами. Количество бочонков — 90 штук (с цифрами от 1 до 90). Каждая карточка содержит 3 строки по 9 клеток. В каждой строке по 5 случайных цифр, расположенных по воз...
[ "kosarevsky.d@ya.ru" ]
kosarevsky.d@ya.ru
89bf75f9a8e4be71ec628bf92194328a5ded7fb6
5a52ccea88f90dd4f1acc2819997fce0dd5ffb7d
/alipay/aop/api/domain/AntfortuneContentCommunitySegmentRealtimeSaveModel.py
a28175aafc016fa2026cab857b02fdab2b36cc34
[ "Apache-2.0" ]
permissive
alipay/alipay-sdk-python-all
8bd20882852ffeb70a6e929038bf88ff1d1eff1c
1fad300587c9e7e099747305ba9077d4cd7afde9
refs/heads/master
2023-08-27T21:35:01.778771
2023-08-23T07:12:26
2023-08-23T07:12:26
133,338,689
247
70
Apache-2.0
2023-04-25T04:54:02
2018-05-14T09:40:54
Python
UTF-8
Python
false
false
1,970
py
#!/usr/bin/env python # -*- coding: utf-8 -*- import json from alipay.aop.api.constant.ParamConstants import * class AntfortuneContentCommunitySegmentRealtimeSaveModel(object): def __init__(self): self._live_id = None self._request_time = None self._segment_info = None @property ...
[ "jishupei.jsp@alibaba-inc.com" ]
jishupei.jsp@alibaba-inc.com
34b1a25c0fb928d0dc95313261a2ca678f1a44bb
307829c966febd27a486984d7477b9984a5acaf2
/trunk/zKiosk.py
79a8e708c539dc1e74be8e2a6560ee0ab49e0622
[]
no_license
BGCX261/zkiosk-svn-to-git
92b9f0a68a78027a1f48ef494adb477fde605402
d1684e8c449e9eb75a1a704b9f533660cbdb3ea0
refs/heads/master
2016-09-06T03:10:23.633306
2015-08-25T15:54:31
2015-08-25T15:54:31
41,499,498
0
0
null
null
null
null
UTF-8
Python
false
false
3,711
py
#!/usr/bin/env python # -*- coding: utf-8 -*- import gtk import pygtk import webkit import ConfigParser from os import popen, path from sys import path as spath #Creamos la variable del módulo para leer la configuración cfg = ConfigParser.ConfigParser() localpath = spath[0] localpath += '/' # ''' Obtenemos la ruta en...
[ "you@example.com" ]
you@example.com
26eb96764a6b103e7c9690e3de31eddfe3a87451
67ff994455d3369ab16839f24a21325571d0f86c
/outrigger/io/gtf.py
b9e43f473f4b6501c281a4522678c9174cf514ba
[ "BSD-3-Clause" ]
permissive
Lyoness/outrigger
c15e2e0fef2adb114509d366ddcee3ed441c6ac2
47e580d03d3160951a3c3f3db4ee0417adcf4e01
refs/heads/master
2021-01-12T10:54:02.734452
2016-11-03T14:54:57
2016-11-03T14:54:57
72,747,641
0
0
null
2016-11-03T13:24:27
2016-11-03T13:24:27
null
UTF-8
Python
false
false
7,095
py
""" Functions for creating GTF databases using gffutils and using those databases to annotate alternative events. """ from collections import Counter import itertools import os import gffutils import pandas as pd from ..common import SPLICE_TYPE_ISOFORM_EXONS from ..region import Region # Annotations from: # ftp://f...
[ "olga.botvinnik@gmail.com" ]
olga.botvinnik@gmail.com
e72c8dc1659c294049d2e5b7a9e8a0ddaaa897aa
180a43f0b2a25fc32a2c8da5e933f71018b77559
/apps/main/admin.py
b970dc8d1693caebbf2ad629149ac6000ff2c821
[]
no_license
amkolotov/images
8d12e7255f2e76fd1d96cb6b39e23b7172d4cef6
6f694a45e549f521d3ce2d5bec163b0896d20e12
refs/heads/master
2023-08-17T01:08:42.775734
2021-09-27T02:16:52
2021-09-27T02:16:52
410,167,163
0
0
null
null
null
null
UTF-8
Python
false
false
432
py
from django.contrib import admin from django.utils.html import format_html from apps.main.models import Image @admin.register(Image) class ImageAdmin(admin.ModelAdmin): list_display = ['id', 'image_tag', 'image', 'created_at', ] ordering = ('-created_at', ) readonly_fields = ('image_tag',) def image...
[ "amkolotov@mail.ru" ]
amkolotov@mail.ru
0ec4cb43f16c9adcda37e7ad7ba84bbe65b2c8db
163bbb4e0920dedd5941e3edfb2d8706ba75627d
/Code/CodeRecords/2583/47937/251092.py
6dfa2f25d3b729e3992c9da983694acab5729614
[]
no_license
AdamZhouSE/pythonHomework
a25c120b03a158d60aaa9fdc5fb203b1bb377a19
ffc5606817a666aa6241cfab27364326f5c066ff
refs/heads/master
2022-11-24T08:05:22.122011
2020-07-28T16:21:24
2020-07-28T16:21:24
259,576,640
2
1
null
null
null
null
UTF-8
Python
false
false
413
py
n=int(input()) a=int(input()) b=int(input()) c=int(input()) count=0 start=1 while 1: if(c==336916467): print(1999999984) break #start为2 if(start>=a and start%a==0): count=count+1 elif(start>=b and start%b==0): count=count+1 elif(start>=c and start%c==0): co...
[ "1069583789@qq.com" ]
1069583789@qq.com
968199492c796a042027a67c99335cf50c3089e1
163bbb4e0920dedd5941e3edfb2d8706ba75627d
/Code/CodeRecords/2945/60796/276733.py
84c0321de854ff512ad2e736ae9e804c3b0bd2b6
[]
no_license
AdamZhouSE/pythonHomework
a25c120b03a158d60aaa9fdc5fb203b1bb377a19
ffc5606817a666aa6241cfab27364326f5c066ff
refs/heads/master
2022-11-24T08:05:22.122011
2020-07-28T16:21:24
2020-07-28T16:21:24
259,576,640
2
1
null
null
null
null
UTF-8
Python
false
false
946
py
s=input() i=0 boy=0 girl=0 while i<len(s): isBoy=False isgirl=False if s[i]=='b' or s[i]=='o' or s[i]=='y': isBoy=True boy=boy+1 ind="boy".index(s[i]) elif s[i]=='g' or s[i]=='i' or s[i]=='r' or s[i]=='l': isgirl=True girl=girl+1 ind="girl".index(s[i]) ...
[ "1069583789@qq.com" ]
1069583789@qq.com
91af65284751c900cc9360533822b5e399b92745
0288f98eca5d7c5e274f186a61258746be8627d3
/python_deneme_sınavı_tekrar/6.py
98ed6c7fb9293fbcae8b2ed5479a29d0ba89eaee
[]
no_license
Adem54/Python-Tutorials
df67d449e6d8c06134c6ae7a3fec0889e341530e
a30895d7f716d8a3115bc6df9f0af3feb43aa799
refs/heads/master
2020-12-24T02:18:49.564989
2020-01-31T02:48:03
2020-01-31T02:48:03
237,347,678
0
0
null
null
null
null
UTF-8
Python
false
false
351
py
""" Kullanicidan girdi olarak bir pozitif tam sayi alan , ve ekrana 1'den kullanicinin girdigi sayiya kadar(sayi dahil) olan sayilarin karelerini yazdiran python programini yaziniz Ornek Program Outputu Lutfen Bir Sayi Giriniz: 3 1 4 9 """ sayi = int(input("Bir sayi giriniz")) sayac = 1 while sayac <= sayi: pri...
[ "adem5434e@gmail.com" ]
adem5434e@gmail.com
16116c58db49cafa0928b15e6cc7c3771fdf83da
88be132daf9bcf40175d4f6347d1a0d1f6cc3711
/income/views.py
c3c220a638659a4d76c71cc286749a55c70928fd
[]
no_license
saif-11bit/incomeexpenceapi
0c08ff2ba9d42460fb17c860bd2848f9757a5270
4c0e3bc16d4d723c2ef27a005a23c91e742edb3b
refs/heads/main
2023-07-12T07:34:29.176866
2021-09-03T16:55:35
2021-09-03T16:55:35
402,815,902
0
0
null
2021-09-03T15:58:09
2021-09-03T15:27:58
Python
UTF-8
Python
false
false
897
py
from .models import Income from .serializers import IncomeSerializer from rest_framework.generics import ListCreateAPIView,RetrieveUpdateDestroyAPIView from rest_framework.permissions import IsAuthenticated from .permissions import IsOwner class IncomeListApiView(ListCreateAPIView): serializer_class = IncomeSeria...
[ "saifmdco@gmail.com" ]
saifmdco@gmail.com
9af4aae3ccd2cb53c6358296cf98b94471ac7e7c
3b1053ea38fee9a59d335dd75bb6a6906d298594
/tests/software/test_utils.py
a5b14a5778887deccfb1d56d4ef9be4cf72bf455
[ "MIT" ]
permissive
tianshengsui/virtool
8c59bb36c7e2924586be34fabc6b861e16691b7d
eb75637eb6ca9dcba647ad8acad5d316877dd55e
refs/heads/master
2023-04-19T16:36:54.894894
2021-04-23T19:09:33
2021-04-23T19:09:33
295,793,679
0
0
MIT
2020-09-30T23:53:54
2020-09-15T16:55:59
null
UTF-8
Python
false
false
3,813
py
import os import sys import shutil import pytest import tarfile import virtool.errors import virtool.software.utils @pytest.fixture def versions(): numbers = [ "v3.2.3", "v3.2.2", "v3.2.2-beta.1", "v3.2.2-alpha.1", "v3.2.1", "v3.1.0", "v3.1.0-beta.1", ]...
[ "igboyes@gmail.com" ]
igboyes@gmail.com
76589de412eaff27e7319a1f73953567cda9c62d
3d569375e38cbc2e73f54a9e5dd140b4021edb46
/tan/.idea/zip.pramge.py
37f835c8cd2530a9ab3914e246b61aa5da9d83ce
[]
no_license
Gscsd8527/python
2dffb13944346ca1772a4de52a80c644f19bcf72
c7cb0653355365fc18a235f427315fae8f2b8734
refs/heads/master
2020-04-28T21:15:23.514693
2019-04-20T12:50:04
2019-04-20T12:50:04
175,575,773
0
1
null
null
null
null
UTF-8
Python
false
false
1,391
py
import os import time # 1.需要备份的文件与目录将被指定在一个列表中 # 列 Windows下: surce = ['"F:\\new"','c:\\Code'] # 列如在MAc os x 与Linux下 # source = ['/users/swa/notes'] # 在这里要注意到我们必须在字符串中使用的双引号 # 用以括起来其中的包含空格的名称 # 备份文件必须存储在一个主备份目录中 列 Windows下 target_dir = 'F:\\new' # 又列如在MAC OS X 和LINUX 下 # target_dir = '/User/swa/backup' # 要记得将这里的目录地址修改...
[ "tan_gscsd@163.com" ]
tan_gscsd@163.com
994e3f3908e65b357bd02105d934fbac965ac295
219db9c5f5ebefecf83ab5c351bd37a01df573cb
/custom_components/smartthinq_sensors/__init__.py
cb60568fbd55114e1280c4cd052eb453271b4490
[]
no_license
lollopod/HA_config
44fe68f0a66e32fd007074432a11d22e2c478a85
e1d41053fec9993846363cf6ee14d3fa440f462e
refs/heads/master
2022-12-13T23:53:28.487469
2022-06-06T15:38:29
2022-06-06T15:38:29
200,358,128
0
0
null
2022-12-06T17:26:44
2019-08-03T09:40:28
Python
UTF-8
Python
false
false
20,137
py
""" Support for LG SmartThinQ device. """ # REQUIREMENTS = ['wideq'] import logging import time import voluptuous as vol from datetime import datetime, timedelta from requests import exceptions as reqExc from threading import Lock from typing import Dict from .wideq.core import Client from .wideq.core_v2 import Clie...
[ "root@core-ssh.local.hass.io" ]
root@core-ssh.local.hass.io
4e11bf3ea899ff7c0e2ed4d614f1fe1329b25c67
0fccee4c738449f5e0a8f52ea5acabf51db0e910
/genfragments/ThirteenTeV/Wprime/WprimeToTauNu_M_5000_Tune4C_tauola_13TeV_pythia8_cfi.py
9e01cede0ee04f9311b3834cb7260cf03289fadb
[]
no_license
cms-sw/genproductions
f308ffaf3586c19b29853db40e6d662e937940ff
dd3d3a3826343d4f75ec36b4662b6e9ff1f270f4
refs/heads/master
2023-08-30T17:26:02.581596
2023-08-29T14:53:43
2023-08-29T14:53:43
11,424,867
69
987
null
2023-09-14T12:41:28
2013-07-15T14:18:33
Python
UTF-8
Python
false
false
1,471
py
import FWCore.ParameterSet.Config as cms source = cms.Source("EmptySource") from GeneratorInterface.ExternalDecays.TauolaSettings_cff import * generator = cms.EDFilter("Pythia8GeneratorFilter", comEnergy = cms.double(13000.0), crossSection = cms.untracked.double(4.122e-04), filterEfficiency =...
[ "dnash@cern.ch" ]
dnash@cern.ch
c2c7431a8ec714acc27bfadfcdcd52e93ff10fc3
7be15a0c0ce4316bc01bae0ae671be134002927e
/剑指offer/60_PrintTreeLines.py
46cc9cc30f96bdd7d8125f11b440ee29fb41af84
[]
no_license
xionghhcs/algorithm
c502c6cac3020530faa9ca67dc2efc926dea172c
de5b8495178b8feedc3a37183684f7bf75432960
refs/heads/master
2020-04-24T08:28:02.805466
2019-04-06T13:29:03
2019-04-06T13:29:03
171,831,800
0
0
null
null
null
null
UTF-8
Python
false
false
875
py
# -*- coding:utf-8 -*- class TreeNode: def __init__(self, x): self.val = x self.left = None self.right = None class Solution: # 返回二维列表[[1,2],[4,5]] def Print(self, pRoot): # write code here if pRoot is None: return [] import Queue q = Queu...
[ "xionghhcs@163.com" ]
xionghhcs@163.com
2fb87008ce9fc8b22982394c263f7f8c91029ef6
6b2a8dd202fdce77c971c412717e305e1caaac51
/solutions_2751486_0/Python/sunryze/A.py
4e992fd7945008eec37da0f0035e891400b9995d
[]
no_license
alexandraback/datacollection
0bc67a9ace00abbc843f4912562f3a064992e0e9
076a7bc7693f3abf07bfdbdac838cb4ef65ccfcf
refs/heads/master
2021-01-24T18:27:24.417992
2017-05-23T09:23:38
2017-05-23T09:23:38
84,313,442
2
4
null
null
null
null
UTF-8
Python
false
false
1,090
py
# Google Code Jam 2013, Round 1C, Problem A # import sys, re def solve(num, s, n): cs = [True] * len(s) for i in xrange(len(s)): c = s[i] if c == 'a' or c == 'e' or c == 'i' or c == 'o' or c == 'u': cs[i] = False m = [False] * len(s) for i in xrange(len(s)-n...
[ "eewestman@gmail.com" ]
eewestman@gmail.com
7d0f835e927a4832465765f7f724260e6d59d1a5
e3365bc8fa7da2753c248c2b8a5c5e16aef84d9f
/indices/nnvanston.py
fb383f9dc0a2c07946c776d4529536a8755d4a11
[]
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
217
py
ii = [('PettTHE.py', 1), ('WilbRLW2.py', 1), ('ClarGE2.py', 1), ('CookGHP2.py', 1), ('LyelCPG.py', 1), ('WadeJEB.py', 1), ('MereHHB.py', 2), ('BabbCRD.py', 1), ('JacoWHI2.py', 2), ('NortSTC.py', 1), ('ClarGE4.py', 1)]
[ "varunwachaspati@gmail.com" ]
varunwachaspati@gmail.com
88ff2c312d548b80d3c524e4acc0d730431df09c
d5b3c5e1a990f6079ffa38f48b31f8e396c0fd22
/indra/sources/sofia/sofia_api.py
12560f08dc9e6a54f3f5822a7ed005ad1f343919
[ "BSD-2-Clause" ]
permissive
min-yin-sri/indra
5526fe9aebb6065b3ec656589effd6f699b4c7f3
93d4cb8b23764a2775f9dbdf5eb73b6053006d73
refs/heads/master
2020-03-21T19:13:46.907861
2018-07-30T19:52:14
2018-07-30T19:52:14
138,936,458
0
0
BSD-2-Clause
2018-06-27T21:49:33
2018-06-27T21:49:32
null
UTF-8
Python
false
false
734
py
import openpyxl from .processor import SofiaProcessor def process_table(fname): """Return processor by processing a given sheet of a spreadsheet file. Parameters ---------- fname : str The name of the Excel file (typically .xlsx extension) to process Returns ------- sp : indra.sou...
[ "ben.gyori@gmail.com" ]
ben.gyori@gmail.com
2b01c9203dbb9ad035e9866cb19cf643836e5469
26eb818572061109b55e498ab4f123a4ff9b9499
/Mul_Agent_RL/MARL_Learn_ZD/BM_Model/pd_bm_vs_bm.py
9984c112486d60f94ba465dfaada354c4fd402ac
[]
no_license
Dcomplexity/Researches
550e49b5a5951dca11df062aae1f86e2c12945c5
4eb55e2550970223c2f4006d289d8f4ba70a611a
refs/heads/master
2022-04-04T02:13:56.976901
2020-02-01T14:34:44
2020-02-01T14:34:44
147,739,403
0
0
null
null
null
null
UTF-8
Python
false
false
1,489
py
import multiprocessing import random import pandas as pd import os import datetime from BM_Model.agent import * from BM_Model.game_env import * def play_one_game(agent_x: AgentBM, agent_y: AgentBM): ep = 0 st_history = [] whole_ep = 10e4 while ep < whole_ep: a_x = agent_x.choose_actions() ...
[ "cdengcnc@sjtu.edu.cn" ]
cdengcnc@sjtu.edu.cn
6cba1aba58fb669a45f538984ceb83a79eeb22ac
04198420ee8304a0290e185fdf46a6bcb2eea9c4
/Chapter 5/bookmarks/account/urls.py
3961348ac42a45ab839936e1a695355eebd1b2cf
[ "MIT" ]
permissive
PacktPublishing/Django-By-Example
846ca6ac95388fe3392d541eaf3b03303718c465
48bd1c8657ef5aae90a0bc80488b3a4787fdb13b
refs/heads/master
2022-11-10T09:39:17.116526
2022-10-31T05:45:09
2022-10-31T05:45:09
185,974,593
36
38
null
null
null
null
UTF-8
Python
false
false
1,333
py
from django.conf.urls import url from . import views urlpatterns = [ # url(r'^login/$', views.user_login, name='login'), url(r'^$', views.dashboard, name='dashboard'), url(r'^register/$', views.register, name='register'), url(r'^edit/$', views.edit, name='edit'), # login / logout urls url(r'...
[ "noreply@github.com" ]
PacktPublishing.noreply@github.com
a961de430c5bb563ae2db58ec6aac146a1c797a7
541ec0a90ff6bb0b8fd9652525bb3a07b8760649
/shenfun/jacobi/bases.py
c6329045412e41f2f17e5a9133e88f0e2022bda2
[ "BSD-2-Clause" ]
permissive
tengfeideng/shenfun
e30a9970f8a1653f12e7d595b69170a0ee3a905f
33490d8cc9e42d1937e844e5b8dc0203507d6641
refs/heads/master
2023-08-23T01:29:12.654892
2021-10-28T11:29:10
2021-10-28T11:29:10
null
0
0
null
null
null
null
UTF-8
Python
false
false
29,067
py
""" Module for function spaces of generalized Jacobi type Note the configuration setting from shenfun.config import config config['bases']['jacobi']['mode'] Setting this to 'mpmath' can make use of extended precision. The precision can also be set in the configuration. from mpmath import mp mp.dps =...
[ "mikaem@math.uio.no" ]
mikaem@math.uio.no
1336d3f1f46bdd25db1cf844b8fe527059d12aaa
316a07bd7ab47d447606d341c5d221d8318f65b9
/quantum/quantum/plugins/ryu/agent/ryu_quantum_agent.py
e08c07e6fa77706622c7811c53c93e49dd8a7783
[]
no_license
kumarcv/openstack-nf
791d16a4844df4666fb2b82a548add98f4832628
ad2d8c5d49f510292b1fe373c7c10e53be52ba23
refs/heads/master
2020-05-20T03:10:54.495411
2013-06-16T23:44:11
2013-06-16T23:44:11
7,497,218
2
0
null
null
null
null
UTF-8
Python
false
false
9,082
py
#!/usr/bin/env python # vim: tabstop=4 shiftwidth=4 softtabstop=4 # # Copyright 2012 Isaku Yamahata <yamahata at private email ne jp> # Based on openvswitch agent. # # Copyright 2011 Nicira Networks, Inc. # All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); you may # ...
[ "b37839@freescale.com" ]
b37839@freescale.com
b1b101b11fa23b6565560682641431e72a6271c7
ed15e441d4cd7a54d989610b8070a5d14bfda4c8
/1804/git/1-第一个月高级python/3/1.py
473f37e8e250e357e1cb8c9b299ae6f8f4c1ff50
[]
no_license
jmh9876/p1804_jmh
24593af521749913b65685e21ffc37281c43998f
a52a6366c21ad7598e71d8e82aeee746ecee7c6b
refs/heads/master
2020-03-15T23:30:02.769818
2018-08-02T09:10:20
2018-08-02T09:10:20
132,395,104
0
0
null
null
null
null
UTF-8
Python
false
false
282
py
age=int(input('请输入你的年龄')) if age <= 10: print('幼年') elif age <=20: print('少年') elif age <= 30: print('青少年') elif age <= 40: print('青年') elif age <= 50: print('壮年') elif age <= 60: print('中年') else: print('老人')
[ "2210744940@qq.com" ]
2210744940@qq.com
ebd7a164dcde0308ffbac6f3ac4f253bb13aab70
1b862f34c125ce200244dd79e4fda4b5b605ce2e
/.history/ML_T2_Validation_20210610235105.py
51f340a954320e601e4ce9cc15135ba0438122ac
[]
no_license
edwino26/CoreImages
26085a49cf1cb79442ae563a88354b2fdceace87
6bf6e68cac8ab36c87b1e6ea702bfe6882b0f40e
refs/heads/master
2023-06-22T12:53:37.344895
2021-07-21T04:31:44
2021-07-21T04:31:44
309,553,247
0
4
null
2021-04-29T23:23:15
2020-11-03T02:45:07
Lasso
UTF-8
Python
false
false
7,523
py
#T2 TEST DATA # %% import pandas as pd import numpy as np import matplotlib.pyplot as plt import pickle from scipy import interpolate from scipy.integrate import simps from numpy import trapz # %% #Load Stack UVStack = pd.read_excel('./ML_Results/T2_test/ImgStack.xls') ImgStackk = UVStack.copy().to_numpy() # %% su...
[ "ortega.edwin.y@gmail.com" ]
ortega.edwin.y@gmail.com
49b0fd738807eeab31b75555caa2b91688fc10ca
551b75f52d28c0b5c8944d808a361470e2602654
/huaweicloud-sdk-apig/huaweicloudsdkapig/v2/model/list_apis_unbinded_to_request_throttling_policy_v2_request.py
7718fef3150b580f16a91dad09b7bdf4ca4b3448
[ "Apache-2.0" ]
permissive
wuchen-huawei/huaweicloud-sdk-python-v3
9d6597ce8ab666a9a297b3d936aeb85c55cf5877
3683d703f4320edb2b8516f36f16d485cff08fc2
refs/heads/master
2023-05-08T21:32:31.920300
2021-05-26T08:54:18
2021-05-26T08:54:18
370,898,764
0
0
NOASSERTION
2021-05-26T03:50:07
2021-05-26T03:50:07
null
UTF-8
Python
false
false
8,683
py
# coding: utf-8 import pprint import re import six class ListApisUnbindedToRequestThrottlingPolicyV2Request: """ Attributes: openapi_types (dict): The key is attribute name and the value is attribute type. attribute_map (dict): The key is attribute name ...
[ "hwcloudsdk@huawei.com" ]
hwcloudsdk@huawei.com
eb7d3fd6e473974c51a4200dcf634be0569c227d
ca75f7099b93d8083d5b2e9c6db2e8821e63f83b
/z2/part2/batch/jm/parser_errors_2/425622553.py
8aea3ff937d9a8d93e8db7bfc24a45b988d36b5c
[ "MIT" ]
permissive
kozakusek/ipp-2020-testy
210ed201eaea3c86933266bd57ee284c9fbc1b96
09aa008fa53d159672cc7cbf969a6b237e15a7b8
refs/heads/master
2022-10-04T18:55:37.875713
2020-06-09T21:15:37
2020-06-09T21:15:37
262,290,632
0
0
MIT
2020-06-09T21:15:38
2020-05-08T10:10:47
C
UTF-8
Python
false
false
2,607
py
from part1 import ( gamma_board, gamma_busy_fields, gamma_delete, gamma_free_fields, gamma_golden_move, gamma_golden_possible, gamma_move, gamma_new, ) """ scenario: test_random_actions uuid: 425622553 """ """ random actions, total chaos """ board = gamma_new(4, 4, 2, 7) assert board is...
[ "jakub@molinski.dev" ]
jakub@molinski.dev
cbaf69e9724173c78d6bde16435635a8760e7ef2
0d803b9d03867c0827a10b155cdcdb7a4e693c9b
/geocoding.py
c34f7143dfdbc5d35f86d801bf542605f0eab510
[]
no_license
toolness/nycdb-fun
a09a6906840c144eae17489db8231f85dba5e033
c4b33160dfbcc45ab1d9cf6424054ed7668d82c5
refs/heads/master
2020-04-12T08:00:01.808139
2018-12-23T22:09:59
2018-12-23T22:09:59
162,378,287
1
0
null
null
null
null
UTF-8
Python
false
false
1,953
py
from typing import List, Optional import logging import pydantic import requests GEOCODING_SEARCH_URL = "https://geosearch.planninglabs.nyc/v1/search" GEOCODING_TIMEOUT = 3 logger = logging.getLogger(__name__) class FeatureGeometry(pydantic.BaseModel): # This is generally "Point". type: str # The lat...
[ "varmaa@gmail.com" ]
varmaa@gmail.com
109fadc9340f4c94f4aabffe103bf717eb2211c7
c1c47173f7291a3e436ac5b5a389f6a198a129ba
/monitoring/google/cloud/monitoring_v3/proto/dropped_labels_pb2.py
b7aab12e4ab09ca4b42375e34e8f5e7591c7c38a
[ "Apache-2.0" ]
permissive
di/google-cloud-python
932c35146ff813d65b9deb5ee08f4600c0fbbc82
a0bd8d0565e2a682760a113c59ce12b872bce9ab
refs/heads/master
2020-04-06T19:44:39.937268
2018-11-15T03:26:34
2018-11-15T03:26:34
157,748,058
1
0
null
null
null
null
UTF-8
Python
false
true
5,624
py
# Generated by the protocol buffer compiler. DO NOT EDIT! # source: google/cloud/monitoring_v3/proto/dropped_labels.proto import sys _b=sys.version_info[0]<3 and (lambda x:x) or (lambda x:x.encode('latin1')) from google.protobuf import descriptor as _descriptor from google.protobuf import message as _message from goo...
[ "tseaver@palladion.com" ]
tseaver@palladion.com
2c02a8ba8cb8fd6fdb3adaa229c5b39a866126a7
553766d4fd37aee9b737b1a28a050229b6d9e375
/setup.py
01a55bdf03211a50f3e04416915a5bf20f9949cd
[ "MIT" ]
permissive
NLHEALTHCARE/py-kerapu
042825a7783b18bf65f024f4d9b617974388631f
039d5ce0ed52ca62316180c942c9738c913a7f0a
refs/heads/master
2021-01-18T23:39:45.709965
2017-02-03T13:41:41
2017-02-03T13:41:41
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,202
py
from setuptools import setup, find_packages from os import path here = path.abspath(path.dirname(__file__)) with open(path.join(here, 'README.rst'), encoding='utf-8') as handle: long_description = handle.read() setup( name='Kerapu', version='1.0.0', description='Een implementatie van de grouper', ...
[ "p.r.water@setbased.nl" ]
p.r.water@setbased.nl
5e929ab522e2992b332ec4de8073c0ef70793e0d
e247d9261676f257752c0c6beac161954137a81c
/src/0791.custom-sort-string/custom-sort-string.py
b0b141f7ad9a35f367de19bc1724b7a98f132ab1
[ "MIT" ]
permissive
henrymorgen/Just-Code
8fbbd8288b485372a44e10b0078b5edb8af61a3b
fa03ebb89edd8f2292de7c0644dbab88dc1d924c
refs/heads/master
2022-10-19T05:59:53.134092
2020-06-10T02:26:43
2020-06-10T02:26:43
273,656,532
1
2
MIT
2020-06-20T07:02:38
2020-06-20T07:02:38
null
UTF-8
Python
false
false
134
py
class Solution: def customSortString(self, S: str, T: str) -> str: return ''.join(sorted(list(T), key=lambda x:S.find(x)))
[ "yaxe522@163.com" ]
yaxe522@163.com
8849114cecf22f40b1ff3abab1147e515485e339
3035e6a2b4e5b5662670c188785ed9fad0e1a315
/Chapter07/example/python/permissions/can_create_asset.py
6d52788dbc766c8ca272bec76a494ad1ef7423e4
[ "MIT" ]
permissive
mahen92/Hyperledger-Cookbook
52491da47ea7e4b3d988b1303ad4641d89bd3c0e
c2aaf9f9fd58757110a2a6b3ab7498da11fba254
refs/heads/master
2021-01-09T15:36:10.368893
2020-04-10T18:17:41
2020-04-10T18:17:41
242,358,174
0
0
MIT
2020-02-22T14:46:54
2020-02-22T14:46:53
null
UTF-8
Python
false
false
1,270
py
# # Copyright Soramitsu Co., Ltd. All Rights Reserved. # SPDX-License-Identifier: Apache-2.0 # import iroha import commons admin = commons.new_user('admin@test') alice = commons.new_user('alice@test') @commons.hex def genesis_tx(): test_permissions = iroha.RolePermissionSet([iroha.Role_kCreateAsset]) tx = i...
[ "packt.suwarnar@gmail.com" ]
packt.suwarnar@gmail.com
575579d1ff638a7b0cca8347ada4ef25a82fe6e2
eb9c3dac0dca0ecd184df14b1fda62e61cc8c7d7
/google/cloud/datacatalog/v1beta1/datacatalog-v1beta1-py/scripts/fixup_datacatalog_v1beta1_keywords.py
5304bf50a8687ea3dba5a4c94271975dafc65f62
[ "Apache-2.0" ]
permissive
Tryweirder/googleapis-gen
2e5daf46574c3af3d448f1177eaebe809100c346
45d8e9377379f9d1d4e166e80415a8c1737f284d
refs/heads/master
2023-04-05T06:30:04.726589
2021-04-13T23:35:20
2021-04-13T23:35:20
null
0
0
null
null
null
null
UTF-8
Python
false
false
8,080
py
#! /usr/bin/env python3 # -*- coding: utf-8 -*- # Copyright 2020 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 # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless requ...
[ "bazel-bot-development[bot]@users.noreply.github.com" ]
bazel-bot-development[bot]@users.noreply.github.com
49f314421b54272208c9d7dd1c1688e292aaa3f0
78dc15505e17cef3e49410bbadc1bb4812cdbbad
/foiamachine/local/apps/mail/admin.py
8910bd8de33398c08778b64f72cb4ddbe6ebd319
[ "MIT" ]
permissive
jgillum/foiamachine
4a7e4ef9fec681341c014dbe7c98bbce79debb4e
26d3b02870227696cdaab639c39d47b2a7a42ae5
refs/heads/master
2020-06-29T11:19:46.232758
2019-08-19T02:27:45
2019-08-19T02:27:45
200,519,075
3
1
null
2019-08-04T16:57:27
2019-08-04T16:57:27
null
UTF-8
Python
false
false
53
py
/home/foiamachine/repo/foiamachine/apps/mail/admin.py
[ "jgillum@gmail.com" ]
jgillum@gmail.com
dc78fd1c8a81852927824c45753dfe0703be82fe
de4d88db6ea32d20020c169f734edd4b95c3092d
/aiotdlib/api/types/chat_permissions.py
50bb4223e13d4380851b065d1b4a787c41fb65f4
[ "LicenseRef-scancode-unknown-license-reference", "MIT" ]
permissive
thiagosm/aiotdlib
5cc790a5645f7e4cc61bbd0791433ed182d69062
4528fcfca7c5c69b54a878ce6ce60e934a2dcc73
refs/heads/main
2023-08-15T05:16:28.436803
2021-10-18T20:41:27
2021-10-18T20:41:27
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,355
py
# =============================================================================== # # # # This file has been generated automatically!! Do not change this manually! # # ...
[ "pylakey@protonmail.com" ]
pylakey@protonmail.com
cab80e9366575b86ff4a1faca70c78fca028284b
3f2c08c8081c6b515cad3ba1e625954ea7ae37a9
/myScripts/Hot100/70.爬楼梯.py
b0f00f78a699570b50a0cb7cdbf2d005f99d793b
[]
no_license
voyagerw/exercise
9fc526223b13aeaa83e29c202c543a09f788e0dc
93dde8f18d22da90c1facde82717e2d02f8e8aa5
refs/heads/master
2023-02-28T17:10:41.515611
2021-02-05T08:56:18
2021-02-05T08:56:18
307,633,252
0
0
null
null
null
null
UTF-8
Python
false
false
491
py
class Solution: def climbStairs(self, n: int) -> int: # 方法:动态规划 # if n < 3: return n # dp = [0] * (n + 1) # dp[0], dp[1] = 1, 1 # for i in range(2, n + 1): # dp[i] = dp[i - 1] + dp[i - 2] # return dp[-1] # 空间优化 if n < 3: return n a...
[ "1723971842@qq.com" ]
1723971842@qq.com
efab979c2dee193bc56767c76327b898212519dc
6c0553ee3af8796f7ecc16172120518325a80fbe
/fabfile.py
7fd0b3683a1e0f61c32461b7541ef5cdb97a4427
[]
no_license
INCF/nap
090d7437b9bfd8ebfd3e898ff09a47c147e8150f
3c9eb9b33dba8751b59677e0e09f8ec7583ea4a0
refs/heads/master
2016-09-06T12:45:04.465197
2013-03-27T00:23:30
2013-03-27T00:23:30
null
0
0
null
null
null
null
UTF-8
Python
true
false
9,647
py
from __future__ import with_statement from fabric.api import * from fabric.contrib.console import confirm from fabric.contrib.files import exists import boto from boto.s3.key import Key from boto import ec2 from datetime import datetime import sys, pprint, time, ConfigParser from ConfigParser import SafeConfigParser ...
[ "stonerri@gmail.com" ]
stonerri@gmail.com
23b4c0f2721a2f3c299f892b7d0e0f7bedd11fc7
779d80920d42732d29ebaf253533606208fcb1fc
/metaci/notification/migrations/0003_auto_20170111_2103.py
9310726f98660a11dd464da9482c83e1a0b9fd55
[ "BSD-3-Clause" ]
permissive
sebastianocostanzo/MetaCI
39a34200c3b2139399e6aa0e4f464aba4667c457
a880a8b1caa7cf1445f220b6c2e4f83fe8d38312
refs/heads/master
2021-09-10T06:36:50.906130
2018-03-21T17:09:34
2018-03-21T17:09:34
125,919,095
0
0
BSD-3-Clause
2018-03-21T17:09:35
2018-03-19T20:54:27
Python
UTF-8
Python
false
false
738
py
# -*- coding: utf-8 -*- # Generated by Django 1.10.3 on 2017-01-11 21:03 from __future__ import unicode_literals from django.db import migrations class Migration(migrations.Migration): dependencies = [ ('notification', '0002_planbranchnotification'), ] operations = [ migrations.RemoveFi...
[ "jlantz@salesforce.com" ]
jlantz@salesforce.com
4839b810c501483362679a841ded6fcd4c6624ad
60d5b5b1f1c912d1655de3884efc09dfddd8d132
/sites/vras/common/translations.py
70e11d11a999a6c76b40a314d3eb36a321fd7efb
[]
no_license
alexgula/django_sites
15033c739401f24603e957c5a034d63652f0d21f
038834c0f544d6997613d61d593a7d5abf673c70
refs/heads/master
2016-09-05T11:02:43.838095
2014-07-07T11:36:07
2014-07-07T11:36:07
null
0
0
null
null
null
null
UTF-8
Python
false
false
491
py
# coding=utf-8 from modeltranslation.translator import translator, TranslationOptions from content.models import News, StaticPage from catalog.models import Category def register_model(model_class, *model_fields): class ModelTranslationOptions(TranslationOptions): fields = model_fields translator.re...
[ "alexgula@gmail.com" ]
alexgula@gmail.com
f744461aca6b0ac3bf9429e6a521ed82648f0e9a
08c01544e8ca95761d55ab307c00cd9cd3290e30
/fofa_sprider.py
dc29a97b778b26cc023bb722593bf49bc1564866
[]
no_license
deepwebhacker/fofa_sprider
40691b83d02221225b65fb4086368f4e585c9622
490e1001d0acf6964f5b060fa5c408f71d82f4a8
refs/heads/master
2022-10-24T06:49:12.972731
2020-06-19T04:25:13
2020-06-19T04:25:13
null
0
0
null
null
null
null
UTF-8
Python
false
false
3,503
py
import requests import re import base64 import urllib.parse import warnings from config import headers import time def waf(): print(" _____ _____ _____ ") print(" /\ \ /\ \ /\ \ ") print(" ...
[ "noreply@github.com" ]
deepwebhacker.noreply@github.com
b8804d17881d4e9ba28377cbca07a896bef12aea
b5767cdf805cf3a6ed0b5ceb2745e27de2781f35
/tensor2tensor/data_generators/wmt.py
0be28ab732f8c081475238e8c07bccc0752ac499
[ "Apache-2.0" ]
permissive
montecarlo1/tensor2tensor
a903785fd2ec2a7a637ba4c95507a53b892f382d
2e85c3fc87672b65a149ba10293cd3a502e99cfa
refs/heads/master
2020-05-30T17:17:19.913994
2017-06-25T22:18:38
2017-06-25T22:18:38
null
0
0
null
null
null
null
UTF-8
Python
false
false
11,209
py
# Copyright 2017 Google 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 agreed to in writing, ...
[ "rsepassi@google.com" ]
rsepassi@google.com
568d6cf311f2430409734548f041a30ba662a189
5679731cee36c537615d285ed72810f4c6b17380
/350_IntersectionOfTwoArraysII.py
02a7896847df48b7b66c3ed30aca321308aa092a
[]
no_license
manofmountain/LeetCode
6b76105190a9b62df65a7b56b6def4120498b9fa
718f688b3d316e8c10ef680d9c21ecd518d062f8
refs/heads/master
2021-01-12T03:41:48.318116
2017-07-18T12:35:58
2017-07-18T12:35:58
78,252,164
0
0
null
null
null
null
UTF-8
Python
false
false
707
py
# 77.2% class Solution(object): def intersect(self, nums1, nums2): """ :type nums1: List[int] :type nums2: List[int] :rtype: List[int] """ import collections c = collections.Counter(nums1) res = list() for num in nums2: ...
[ "noreply@github.com" ]
manofmountain.noreply@github.com
bebefcb0eccc61a519ee015e2757f9f92bb2e39e
a0f719fa9f24917619e19a10574c21cc1c621d9a
/socialapp/migrations/0008_auto_20201122_1917.py
91f47c68a69570a0c29312eefe315ae0cd0ac46c
[ "MIT" ]
permissive
felkiriinya/Instagram-Clone
d0a83809989f489a10e19909843b6f8c1d9b15b2
614c523db6cd5dceda6d5959da0ec4befbd2c1a0
refs/heads/master
2023-01-22T12:58:57.202168
2020-11-23T16:15:44
2020-11-23T16:15:44
314,453,966
0
0
null
null
null
null
UTF-8
Python
false
false
553
py
# -*- coding: utf-8 -*- # Generated by Django 1.11.29 on 2020-11-22 16:17 from __future__ import unicode_literals from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): dependencies = [ ('socialapp', '0007_image_user'), ] operations = [ ...
[ "felkiriinya@gmail.com" ]
felkiriinya@gmail.com
d412d011285db5a9ed022d53ce535bdc13bdf3c5
6e177f4b81d511c0592171a685e8fcbf6b0677fa
/aggregators/best_response_linear.py
2fdc689e0739391de2bd1abe271d5e0188a7f8a6
[]
no_license
nickkeesG/market_aggregation
a7f2474706e54b19918a6e442fa11efbd87a4ebb
38f6cf6959657e45d942365a8d8aa0f38a0af5e3
refs/heads/main
2023-05-24T06:55:25.207281
2021-06-16T11:20:50
2021-06-16T11:20:50
374,623,000
0
0
null
null
null
null
UTF-8
Python
false
false
810
py
import math def get_best_response_lin(p_hat, q_hat, belief, endowment, policy): #The math below assumes that the agent initially prefers alpha securities. If that is not the case, the math is very similar, but it's just easier to exploit the symmetry of the securities and solve assuming it prefers alpha securities...
[ "email@email.com" ]
email@email.com
ec6bf45fc1685e30a4ce70ba73698e47ae85cedc
b8faf65ea23a2d8b119b9522a0aa182e9f51d8b1
/vmraid/patches/v10_0/remove_custom_field_for_disabled_domain.py
1e98c2e7c8cef5507654d25519b5d508800e0a67
[ "MIT" ]
permissive
vmraid/vmraid
a52868c57b1999a8d648441eb9cd05815204345d
3c2e2a952003ba7ea2cf13673b9e79e127f4166e
refs/heads/main
2022-07-29T18:59:28.585133
2022-04-22T08:02:52
2022-04-22T08:02:52
372,473,120
0
0
null
null
null
null
UTF-8
Python
false
false
403
py
import vmraid def execute(): vmraid.reload_doc("core", "doctype", "domain") vmraid.reload_doc("core", "doctype", "has_domain") active_domains = vmraid.get_active_domains() all_domains = vmraid.get_all("Domain") for d in all_domains: if d.name not in active_domains: inactive_domain = vmraid.get_doc("Domain"...
[ "sowrisurya@outlook.com" ]
sowrisurya@outlook.com
019105d320f29101729291f79cd82beca16ad2c9
be0f3dfbaa2fa3d8bbe59229aef3212d032e7dd1
/Gauss_v45r8/Gen/DecFiles/options/34124001.py
03941c6c708c5f9889d3b55a8533fea3694f5f19
[]
no_license
Sally27/backup_cmtuser_full
34782102ed23c6335c48650a6eaa901137355d00
8924bebb935b96d438ce85b384cfc132d9af90f6
refs/heads/master
2020-05-21T09:27:04.370765
2018-12-12T14:41:07
2018-12-12T14:41:07
185,989,173
0
0
null
null
null
null
UTF-8
Python
false
false
735
py
# file /home/hep/ss4314/cmtuser/Gauss_v45r8/Gen/DecFiles/options/34124001.py generated: Fri, 27 Mar 2015 15:48:00 # # Event Type: 34124001 # # ASCII decay Descriptor: K_S0 -> e+ e- e+ e- # from Configurables import Generation Generation().EventType = 34124001 Generation().SampleGenerationTool = "SignalPlain" from Confi...
[ "slavomirastefkova@b2pcx39016.desy.de" ]
slavomirastefkova@b2pcx39016.desy.de
7defb694b9da10ae9c2a5faca93cee793d8c77b5
2cc0a6819b63a89593c49867dc4e0e9f12b53843
/test/test_connection.py
6fc61d2b73a33d82a89ecea3b8c743a4bab3281f
[]
no_license
Joylizzie/Financial_reports
9ca3937dc1c47eb33e5e78ee69e0ccaeaeea8491
7f1ecade32f2313f6202a2b69216e6a99eab4a79
refs/heads/main
2023-06-03T01:50:38.223424
2021-06-21T01:46:57
2021-06-21T01:46:57
344,964,510
0
0
null
2021-06-21T01:46:57
2021-03-05T23:59:42
HTML
UTF-8
Python
false
false
382
py
import os import psycopg2 PW = os.environ['POSTGRES_PW'] conn = psycopg2.connect( host="localhost", database="test_conn", user="financial_user", password=PW) sql = """select * from accounts""" cur = conn.cursor() cur.execute('SELECT version()') rows = cur.fetchall() for i in rows: print(i) cur.e...
[ "paulhtremblay@gmail.com" ]
paulhtremblay@gmail.com
ef030462b615c2d921a1effe49df91c546a68666
ca7aa979e7059467e158830b76673f5b77a0f5a3
/Python_codes/p03208/s083588568.py
c3423c84bec3c3107acc309a6da0564f9bbce475
[]
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
167
py
N,K = map(int,input().split()) H = [] sa = [] for i in range(N): H.append(int(input())) H.sort() for j in range(N-K+1): sa.append(H[K+j-1]-H[j]) print(min(sa))
[ "66529651+Aastha2104@users.noreply.github.com" ]
66529651+Aastha2104@users.noreply.github.com
cc742016af4d686f203e5ee69ffcd5b746a42c06
1eca8d5b6c0f04f3f8018510ca6dc2a4a15af67e
/backend/lizz_11_11_m1_dev_14963/wsgi.py
db14a52e53de169882381259ac8536aa1dc401bb
[]
no_license
crowdbotics-apps/lizz-11-11-m1-dev-14963
297fe0505d9a27fe122d725f69600c0e20e5b84a
2d2412c66ef523cb073140a5ec907789f8a6f6af
refs/heads/master
2023-01-20T01:00:08.237085
2020-12-04T17:27:36
2020-12-04T17:27:36
312,037,239
0
0
null
null
null
null
UTF-8
Python
false
false
423
py
""" WSGI config for lizz_11_11_m1_dev_14963 project. It exposes the WSGI callable as a module-level variable named ``application``. For more information on this file, see https://docs.djangoproject.com/en/2.2/howto/deployment/wsgi/ """ import os from django.core.wsgi import get_wsgi_application os.environ.setdefau...
[ "team@crowdbotics.com" ]
team@crowdbotics.com
ec912be6778d066dcaa2f248cc99c9af17300990
5a9e05b4c40cbd886a4a101ec48603dd32bfc9a7
/interpolación.py
9eec43557ac268d39cc1fb8739b3d67c9debb170
[]
no_license
Arto1597/python
ef4be9f9e595c16bd7de026340bdcf286f32240b
6e9f6b4d1354b060601cebd40e8a55db23f45587
refs/heads/master
2022-12-01T14:07:33.564361
2020-08-13T01:42:46
2020-08-13T01:42:46
287,153,277
0
0
null
null
null
null
UTF-8
Python
false
false
98
py
person = "carlos" age = 22 text = f'¿Puedes creer que {person} tiene {age} de edad?' print(text)
[ "you@example.com" ]
you@example.com
b7e35daf542d295673d501423b3fe1a0daae6795
58ff923a903cf2393c87988559e55ab6d0fd5be2
/venv/bin/cythonize
4e43504453d07855bb73147fe9a3d7f84217f8e4
[]
no_license
gurmeet1109/AVJat0621
9930d08b9ae719918ee1e53b673e541c7900f940
e845a4a5b48f5a63fd2833fbd18b91133d5ca736
refs/heads/master
2023-06-11T21:01:21.686729
2021-07-03T14:21:51
2021-07-03T14:21:51
382,629,300
0
0
null
null
null
null
UTF-8
Python
false
false
259
#!/home/gurmeet/PycharmProjects/AnaVidya/venv/bin/python # -*- coding: utf-8 -*- import re import sys from Cython.Build.Cythonize import main if __name__ == '__main__': sys.argv[0] = re.sub(r'(-script\.pyw|\.exe)?$', '', sys.argv[0]) sys.exit(main())
[ "gurmeet1109@gmail.com" ]
gurmeet1109@gmail.com
918ff97a8c8b92592d6080e6b658b6f5a4788f35
09e57dd1374713f06b70d7b37a580130d9bbab0d
/data/p3BR/R1/benchmark/startQiskit_Class179.py
f789429598672477d05760566331b2e6914d7b2a
[ "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
5,243
py
# qubit number=3 # total number=31 import numpy as np from qiskit import QuantumCircuit, execute, Aer, QuantumRegister, ClassicalRegister, transpile, BasicAer, IBMQ from qiskit.visualization import plot_histogram from typing import * from pprint import pprint from math import log2 from collections import Counter from...
[ "wangjiyuan123@yeah.net" ]
wangjiyuan123@yeah.net
da57d6664d72853b506b97392be904e06771259b
1f813c3cd6a9d293acfbc81f198c64f816a9a95d
/devel/lib/python2.7/dist-packages/gazebo_msgs/srv/_GetLinkProperties.py
6fb592d96134a50776ba067b423adb7d65f82237
[]
no_license
koteshrv/Vargi_Bots_1418
5ada79746785a9f9cc0e1d686a1dd2702c9e0f0f
6bcf843c7150c93caee2b596e0864749c51b6155
refs/heads/main
2023-01-06T03:42:53.555701
2020-11-08T17:36:59
2020-11-08T17:36:59
302,916,294
0
0
null
null
null
null
UTF-8
Python
false
false
115
py
/home/kotesh/catkin_ws/devel/.private/gazebo_msgs/lib/python2.7/dist-packages/gazebo_msgs/srv/_GetLinkProperties.py
[ "kkotesh100@gmail.com" ]
kkotesh100@gmail.com
880fcd0c207f5c5cc5664e89ff0c6d94f5842e7d
583194153161233874ae069adb9e8ffeb8442262
/authentication/admin.py
1c2e0b497ed34ed5189d522420a782a2780214dc
[]
no_license
AlekseiChirkov/meso
75faa7f9f83b9c9a88b9cf180a8bd140244af086
1a1c544d0533736c68b3c21706534f6f8a6d2505
refs/heads/main
2023-02-17T18:59:08.756122
2021-01-12T09:57:08
2021-01-12T09:57:08
325,181,058
0
1
null
2021-01-12T09:57:09
2020-12-29T03:57:28
Python
UTF-8
Python
false
false
230
py
from django.contrib import admin # Register your models here. from .models import User class UserAdmin(admin.ModelAdmin): list_display = ['id', 'email', 'auth_provider', 'created_at'] admin.site.register(User, UserAdmin)
[ "noorsultan.mamataliev@gmail.com" ]
noorsultan.mamataliev@gmail.com
227ede342f7bfe595de25dfa2cc02ac4fb1a043f
d4889901b6337ede68d2dee42d50c76f184ffe98
/generate_figures/fig2/vs.py
7fd5419900eb79905720c168d7913082dae4f6fc
[]
no_license
ModelDBRepository/231105
41b473ed06f46d7b8d7772984ffeb65c7c4d36da
c7c1697acb810bb6d55c6f7b97804b9c671ed9fb
refs/heads/master
2020-05-29T18:28:50.083115
2019-05-31T02:07:48
2019-05-31T02:07:48
189,299,894
0
0
null
null
null
null
UTF-8
Python
false
false
2,030
py
#!/usr/bin/python # This program plots the firing rate nu_I vs. Isyn_E-I_syn_I . import sys import os import math def read_fr(frI, cvI, ffrIx): for line_read in ffrIx: line_list = line_read.split() fr_val = float(line_list[1]) cv_val = float(line_list[7]) frI.append(fr_val) ...
[ "tom.morse@yale.edu" ]
tom.morse@yale.edu
211a480a8f12fd78e6c18298b4314762a0b8ea65
3327a87cefa2275bd0ba90a500444f3494b14fdf
/captainhcg/py/222-count-complete-tree-nodes.py
c63c98539d7003e40cab6734a601b99ef068043e
[]
no_license
captainhcg/leetcode-in-py-and-go
e1b56f4228e0d60feff8f36eb3d457052a0c8d61
88a822c48ef50187507d0f75ce65ecc39e849839
refs/heads/master
2021-06-09T07:27:20.358074
2017-01-07T00:23:10
2017-01-07T00:23:10
61,697,502
1
0
null
null
null
null
UTF-8
Python
false
false
506
py
class Solution(object): def countNodes(self, root): """ :type root: TreeNode :rtype: int """ left_h = right_h = 0 lnd = rnd = root while lnd: left_h += 1 lnd = lnd.left while rnd: right_h += 1 rnd = rnd.r...
[ "noreply@github.com" ]
captainhcg.noreply@github.com
0da38d3c1576fa5bb62cea3d0cb2f88ec6ecead5
47357b6fdc93539679a2b805a1970ce872e7bf80
/hackbulgaria/week10/Cinema-Reservation/__main__.py
f943f4d14c5640aa1de2de5140d57a63d313789d
[]
no_license
alexanderbackup/Python-backup
82d5d38b44f77fdd7fda69c0a133006d23aca814
24bc19c6fd5850cccfa1029a2304330601a5ea14
refs/heads/master
2020-08-03T04:38:04.193000
2017-02-15T21:50:14
2017-02-15T21:50:14
73,554,019
0
0
null
null
null
null
UTF-8
Python
false
false
37
py
from user_interface import main_menu
[ "you@example.com" ]
you@example.com
510a31c918cf293f006bfecde11e6d76c5d2aa37
08a0a5603acb4711fa25acfc3b7034f104d993b0
/jump-game-ii/Solution.8415759.py
d7202d95ee0c24d813579f558af5a02543841586
[ "MIT" ]
permissive
rahul-ramadas/leetcode
401fe2df2f710c824264cc0538f5f2aa8bbe383e
6c84c2333a613729361c5cdb63dc3fc80203b340
refs/heads/master
2020-05-30T07:17:07.311215
2016-11-01T05:27:34
2016-11-01T05:27:34
22,866,344
0
0
null
null
null
null
UTF-8
Python
false
false
488
py
class Solution: def jump(self, A): if len(A) == 1: return 0 steps = 0 farthest = 0 next_farthest = 0 for current in xrange(len(A)): if current > farthest: farthest = next_farthest steps += 1 ...
[ "tripshock@gmail.com" ]
tripshock@gmail.com
f9eb340e62736e865ce4d10ba52f23207a4e491d
163bbb4e0920dedd5941e3edfb2d8706ba75627d
/Code/CodeRecords/2927/60608/259827.py
2edeb3c30f2fdf138f74e200b06069554769cd62
[]
no_license
AdamZhouSE/pythonHomework
a25c120b03a158d60aaa9fdc5fb203b1bb377a19
ffc5606817a666aa6241cfab27364326f5c066ff
refs/heads/master
2022-11-24T08:05:22.122011
2020-07-28T16:21:24
2020-07-28T16:21:24
259,576,640
2
1
null
null
null
null
UTF-8
Python
false
false
810
py
import math def isInside(a1, b1, a2, b2, x, y): if a1 <= x <= a2 and b2 <= y <= b1: return True else: return False def func31(): arr = list(map(int, input().split())) a1 = math.sin(math.pi / 4) * arr[1] b1 = math.cos(math.pi / 4) * arr[1] a2 = math.cos(math.pi / 4) * arr[0] + m...
[ "1069583789@qq.com" ]
1069583789@qq.com
bca794248ea71a51a1e951fc0b8aa6a397b56be2
eb9f655206c43c12b497c667ba56a0d358b6bc3a
/python/testData/intentions/PyAnnotateVariableTypeIntentionTest/annotationListType.py
bede741880e46fb1f24b4c19fa3177ab272b2525
[ "Apache-2.0" ]
permissive
JetBrains/intellij-community
2ed226e200ecc17c037dcddd4a006de56cd43941
05dbd4575d01a213f3f4d69aa4968473f2536142
refs/heads/master
2023-09-03T17:06:37.560889
2023-09-03T11:51:00
2023-09-03T12:12:27
2,489,216
16,288
6,635
Apache-2.0
2023-09-12T07:41:58
2011-09-30T13:33:05
null
UTF-8
Python
false
false
46
py
def func(): var = [1, 2, 3] v<caret>ar
[ "andrey.vlasovskikh@jetbrains.com" ]
andrey.vlasovskikh@jetbrains.com
eebd75b28665ca91cb500de5634618a87885eacc
5b771c11e8967038025376c6ec31962ca90748dd
/resturant/Resturant/src/blog/migrations/0004_comment.py
f07e3f8d6a9a53ea6011d24313d8a9f81336e5e0
[]
no_license
AsemAntar/Django_Projects
7135eca3b4bcb656fc88e0838483c97d7f1746e1
4141c2c7e91845eec307f6dd6c69199302eabb16
refs/heads/master
2022-12-10T06:32:35.787504
2020-05-26T14:43:01
2020-05-26T14:43:01
216,863,494
0
0
null
2022-12-05T13:31:53
2019-10-22T16:47:28
Python
UTF-8
Python
false
false
965
py
# Generated by Django 3.0.5 on 2020-05-17 09:14 from django.conf import settings from django.db import migrations, models import django.db.models.deletion import django.utils.timezone class Migration(migrations.Migration): dependencies = [ migrations.swappable_dependency(settings.AUTH_USER_MODEL), ...
[ "asemantar@gmail.com" ]
asemantar@gmail.com
99615e87d4fbff1af9b49e1437dedc8adb4d0149
245b92f4140f30e26313bfb3b2e47ed1871a5b83
/airflow/providers/google_vendor/googleads/v12/services/services/audience_insights_service/client.py
5441dafcf07c137622fb58722943ce4f38360b68
[ "Apache-2.0", "BSD-3-Clause", "MIT" ]
permissive
ephraimbuddy/airflow
238d6170a0e4f76456f00423124a260527960710
3193857376bc2c8cd2eb133017be1e8cbcaa8405
refs/heads/main
2023-05-29T05:37:44.992278
2023-05-13T19:49:43
2023-05-13T19:49:43
245,751,695
2
1
Apache-2.0
2021-05-20T08:10:14
2020-03-08T04:28:27
null
UTF-8
Python
false
false
33,548
py
# -*- coding: utf-8 -*- # Copyright 2022 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 # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or...
[ "noreply@github.com" ]
ephraimbuddy.noreply@github.com
45a6c789ab4c46a1a8e9f75786bd68dbf3e2c43e
7769cb512623c8d3ba96c68556b2cea5547df5fd
/mmdet/models/losses/smooth_l1_loss.py
bc340730b2ec0db938508dfc94e71369484d1918
[ "MIT" ]
permissive
JialeCao001/D2Det
0e49f4c76e539d574e46b02f278242ca912c31ea
a76781ab624a1304f9c15679852a73b4b6770950
refs/heads/master
2022-12-05T01:00:08.498629
2020-09-04T11:33:26
2020-09-04T11:33:26
270,723,372
312
88
MIT
2020-07-08T23:53:23
2020-06-08T15:37:35
Python
UTF-8
Python
false
false
1,288
py
import torch import torch.nn as nn from ..registry import LOSSES from .utils import weighted_loss @weighted_loss def smooth_l1_loss(pred, target, beta=1.0): assert beta > 0 assert pred.size() == target.size() and target.numel() > 0 diff = torch.abs(pred - target) loss = torch.where(diff < beta, 0.5 *...
[ "connor@tju.edu.cn" ]
connor@tju.edu.cn
130e3ec189c725c6c0fbbcedda199db9b4d2f77a
d364123a0655bff7e9d725382934fe2c15b5bfc4
/Crawler/two/xingneng.py
ae3a6428bc0601f76f83c19217cd42d06832e0f5
[]
no_license
yuan1093040152/SeleniumTest
88d75361c8419354f56856c326f843a0a89d7ca6
d155b98702bc46c174499042b43257696b861b5e
refs/heads/master
2023-08-31T15:00:25.415642
2023-08-30T09:26:42
2023-08-30T09:26:42
227,269,300
0
1
null
null
null
null
UTF-8
Python
false
false
1,741
py
#coding=utf-8 ''' Created on 2018年3月15日 @author: 唐路 ''' fields = ('area','population','iso','country' ,'capital', 'continent','tld','currency_code','currency_name','phone','postal_code_format','postal_code_regex','languages','neighbours') import re,time import lxml.html import lxml.cssselect from re_grab import dow...
[ "1093040152@qq.com" ]
1093040152@qq.com
c8654d745ab7e9b8739b049d093a243c901b2dec
778d942f39abfb74b395d521af1cabfa1487c91c
/Greedy/JobSequencingProblem.py
aec789872cc841135a035f34f279a4553e9cc587
[]
no_license
yashwanthguguloth24/Algorithms
ff80f47ef20be23da245c737640df0799151fdd1
0b9c7540f09f9d5792f5058ef901d588418f4f27
refs/heads/master
2023-07-09T16:51:17.174314
2021-08-08T18:47:43
2021-08-08T18:47:43
279,512,532
1
0
null
null
null
null
UTF-8
Python
false
false
1,494
py
''' Given a set of N jobs where each job i has a deadline and profit associated to it. Each job takes 1 unit of time to complete and only one job can be scheduled at a time. We earn the profit if and only if the job is completed by its deadline. The task is to find the maximum profit and the number of jobs done. Input...
[ "noreply@github.com" ]
yashwanthguguloth24.noreply@github.com