blob_id
stringlengths
40
40
directory_id
stringlengths
40
40
path
stringlengths
3
288
content_id
stringlengths
40
40
detected_licenses
listlengths
0
112
license_type
stringclasses
2 values
repo_name
stringlengths
5
115
snapshot_id
stringlengths
40
40
revision_id
stringlengths
40
40
branch_name
stringclasses
684 values
visit_date
timestamp[us]date
2015-08-06 10:31:46
2023-09-06 10:44:38
revision_date
timestamp[us]date
1970-01-01 02:38:32
2037-05-03 13:00:00
committer_date
timestamp[us]date
1970-01-01 02:38:32
2023-09-06 01:08:06
github_id
int64
4.92k
681M
star_events_count
int64
0
209k
fork_events_count
int64
0
110k
gha_license_id
stringclasses
22 values
gha_event_created_at
timestamp[us]date
2012-06-04 01:52:49
2023-09-14 21:59:50
gha_created_at
timestamp[us]date
2008-05-22 07:58:19
2023-08-21 12:35:19
gha_language
stringclasses
147 values
src_encoding
stringclasses
25 values
language
stringclasses
1 value
is_vendor
bool
2 classes
is_generated
bool
2 classes
length_bytes
int64
128
12.7k
extension
stringclasses
142 values
content
stringlengths
128
8.19k
authors
listlengths
1
1
author_id
stringlengths
1
132
0acfaee2a19dd42351019acacada350f2ece6f31
fbe2c3b1feb69a5ce019c805594a49dc11c7e463
/astrality/tests/module/module_manager/test_persisting_created_files.py
c7cf4305b01e387d33b1c69a69fdc1345d8fd310
[ "MIT" ]
permissive
JakobGM/astrality
50630a26ef6428a0c1376269d71ddaa52912f374
72935b616f9a6a2e9254e9cd9319b525c596e8f0
refs/heads/master
2023-01-07T20:26:05.925893
2019-11-19T10:15:36
2019-11-19T10:15:36
117,895,437
114
7
MIT
2022-12-26T20:49:19
2018-01-17T21:34:33
Python
UTF-8
Python
false
false
2,518
py
"""Tests for ensuring that all files that are created are persisted.""" import pytest from astrality.module import ModuleManager from astrality.persistence import CreatedFiles @pytest.mark.parametrize('method', ['compile', 'copy', 'symlink']) def test_that_created_files_are_persisted(method, create_temp_files): ...
[ "jakobgm@gmail.com" ]
jakobgm@gmail.com
bd8120b22e58c6e63c7601d35545bfd5546febc3
f7c5e3f5834206a7b0d1dadd773d1de032f731e7
/dmerce1/db2HTML.py
ae12d22aacbefa718a58e88f68f863685e00d0f8
[]
no_license
rbe/dmerce
93d601462c50dfbbf62b577803ae697d3abde333
3cfcae894c165189cc3ff61e27ca284f09e87871
refs/heads/master
2021-01-01T17:06:27.872197
2012-05-04T07:22:26
2012-05-04T07:22:26
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,326
py
#!/usr/bin/env python ## # # $Author: rb $ # $Revision: 1.2.7.1 $ # # Revision 1.1 2000-07-13 17:05:50+02 rb # Initial revision # ## # # I M P O R T M O D U L E S # try: import sys import aDataStruct except: print '[db2HTML: ERROR LOADING MODULES: (%s, %s)]' % (sys.exc_info()[0], sys.exc_info()[1]) sys.e...
[ "ralf@art-of-coding.eu" ]
ralf@art-of-coding.eu
c65381eabc7b6d43ed0b44838ef96d25e0eb2cd4
0c5b9ebee22450c214576f18929436527b26a1b0
/starfish/core/morphology/Merge/test/test_simple.py
f5e8ab5623aa77a99afea463b53830f01dce2371
[ "MIT" ]
permissive
spacetx/starfish
962b4e4a8c0c193acaa84c016a6edaef76c14769
853f56c7c02b15397adb921db5e3bde02fdadb63
refs/heads/master
2023-03-09T13:51:30.772904
2022-09-06T22:16:25
2022-09-06T22:16:25
92,539,237
211
75
MIT
2023-02-11T01:52:25
2017-05-26T18:45:11
Python
UTF-8
Python
false
false
3,186
py
import numpy as np import pytest from starfish.core.morphology.binary_mask import BinaryMaskCollection from starfish.core.morphology.binary_mask.test.factories import ( binary_arrays_2d, binary_mask_collection_2d, binary_mask_collection_3d, ) from starfish.core.morphology.util import _ticks_equal from star...
[ "noreply@github.com" ]
spacetx.noreply@github.com
476ccba49a18e2d3356d794c26547cdac706b13b
163bbb4e0920dedd5941e3edfb2d8706ba75627d
/Code/CodeRecords/2344/60581/246336.py
5e8a23f13ab4797d8c3277856fd1dc425e03eb8f
[]
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
1,584
py
import sys lst = [] for line in sys.stdin: if line.strip()=="": break lst.append(line) input = [] #读入处理 for i in range(0,len(lst)): theLine = [] j = 0 while j < len(lst[i]): str = '' judgeWord = False judgeNumber = False if lst[i][j]>='A' and lst[i][j]<='Z':...
[ "1069583789@qq.com" ]
1069583789@qq.com
4a4a23e8b49a1a9d7382bc7f3f23df345aef6af1
2d5cc685fd861c16a44e6578dff659bc197d44f8
/ioflo/aid/__init__.py
bc7963f4557e7b278b7b88d81bcbd4bb25ffcb27
[ "Apache-2.0", "LicenseRef-scancode-warranty-disclaimer", "MIT", "LicenseRef-scancode-unknown-license-reference" ]
permissive
dreamerparadise/ioflo
b642e3325760d124c8c608cefd3fb23c408785ff
177ac656d7c4ff801aebb0d8b401db365a5248ce
refs/heads/master
2023-04-03T04:05:24.934544
2020-11-19T22:07:49
2020-11-19T22:07:49
null
0
0
null
null
null
null
UTF-8
Python
false
false
173
py
""" aid package helper and utility modules """ # frequent imports from .odicting import odict, lodict, modict from .osetting import oset from .consoling import getConsole
[ "smith.samuel.m@gmail.com" ]
smith.samuel.m@gmail.com
eb86106a321ead443d3fef7263cc6bf014b7c342
ec0b8bfe19b03e9c3bb13d9cfa9bd328fb9ca3f1
/res/packages/scripts/scripts/client/gui/shared/utils/requesters/IntSettingsRequester.py
5167f471034e02e31839cd698900e678c4a0e863
[]
no_license
webiumsk/WOT-0.9.20.0
de3d7441c5d442f085c47a89fa58a83f1cd783f2
811cb4e1bca271372a1d837a268b6e0e915368bc
refs/heads/master
2021-01-20T22:11:45.505844
2017-08-29T20:11:38
2017-08-29T20:11:38
101,803,045
0
1
null
null
null
null
WINDOWS-1250
Python
false
false
4,446
py
# 2017.08.29 21:50:18 Střední Evropa (letní čas) # Embedded file name: scripts/client/gui/shared/utils/requesters/IntSettingsRequester.py import BigWorld import copy import constants from adisp import async, process from debug_utils import LOG_ERROR, LOG_WARNING from gui.shared.utils import code2str class IntSettingsR...
[ "info@webium.sk" ]
info@webium.sk
ec51a2c268481d48cc82a004658d99ace07708a4
6610e8b7d715d28df179217b0222b6a74d7b01f3
/Contents/Libraries/Shared/omdb/api.py
e7c5f60a9f295f608c0cf9f27a8d959315e9eca3
[]
no_license
BigmIkeX/FMoviesPlus.bundle
f479b96dabbda8a70944a7c44717a9b7a6abc5c0
7789e6137df8a86f6c9f9a78fc478ab89696e3d0
refs/heads/master
2020-05-22T09:39:12.049063
2019-05-09T20:54:25
2019-05-09T20:54:25
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,242
py
"""Public interface for omdb module Accessible via: import omdb """ from .client import Client # Internal client instance used for our requests. _client = Client() def set_default(key, default): """Proxy method to internal client instance that sets default params values. """ _client.set_defaul...
[ "coderalphaakv@gmail.com" ]
coderalphaakv@gmail.com
e80b2c632811677af15c91426fdb116e3238f867
1b082458d2815b7671a5d77e809834184e0dabfa
/vcr/request.py
bbe950b3edd673d60637aff3f6c8f797cf48f426
[ "MIT", "LicenseRef-scancode-unknown-license-reference" ]
permissive
afthill/vcrpy
6e4cc1cb842ddec75b73e579a12cf4ae7fb7ca8a
5aa2fb017f8aad3455ff3291f2f749a5a45664fe
refs/heads/master
2022-05-01T04:32:57.896556
2014-04-27T22:05:19
2014-04-27T22:05:19
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,456
py
class Request(object): def __init__(self, protocol, host, port, method, path, body, headers): self.protocol = protocol self.host = host self.port = port self.method = method self.path = path self.body = body # make headers a frozenset so it will be hashable ...
[ "me@kevinmccarthy.org" ]
me@kevinmccarthy.org
67b2a52ec7eb04fbc8eb8dce6312fd2b614f37a3
ef2018f6e2c8ccabf89cc5f0780cd8ded8db50c0
/textreuse/fine_tuning/original_skipthought.py
f9dc21db43a4e8a69e8f8ba58f37585b6f07d8f2
[]
no_license
emanjavacas/text-reuse
a8d14bfb105b30a3f7cf732f999027186ea899bd
96e39a2e6982677f7d1f6b0f8397977155481b33
refs/heads/master
2022-01-05T22:13:54.800591
2019-06-04T19:51:12
2019-06-04T19:51:12
115,821,869
1
0
null
null
null
null
UTF-8
Python
false
false
1,384
py
import os import numpy as np import skipthoughts from textreuse.datasets import default_pairs, opusparcus_pairs from textreuse.datasets import PATHS, OPUSPARCUS_PATH if __name__ == '__main__': model = skipthoughts.load_model() for dataset in PATHS: for split in PATHS[dataset]: print(da...
[ "enrique.manjavacas@gmail.com" ]
enrique.manjavacas@gmail.com
a797ad4aa0901df584d197d3311931220a7fa063
b38c1d72d7c5d688a5f0942895a5f762880196b6
/blog/migrations/0001_initial.py
c589b4b16fa74505689fe1d50d1e5effa764d2fc
[]
no_license
zdimon/angular
c8a9874b427ca5bb4899c51c0dc0ba0d96191039
ea625523761d6b3300c9d9fb3c0aa7070fb634da
refs/heads/master
2020-05-17T01:28:35.187898
2015-07-17T15:29:16
2015-07-17T15:29:16
38,496,687
0
0
null
null
null
null
UTF-8
Python
false
false
1,115
py
# -*- coding: utf-8 -*- from __future__ import unicode_literals from django.db import models, migrations class Migration(migrations.Migration): dependencies = [ ] operations = [ migrations.CreateModel( name='Post', fields=[ ('id', models.AutoField(verbose...
[ "zdimon77@gmail.com" ]
zdimon77@gmail.com
595c01bd43d08b6b8b738334caae83010da66da1
5a52ccea88f90dd4f1acc2819997fce0dd5ffb7d
/alipay/aop/api/domain/AlipayMarketingDataDashboardApplyModel.py
25bfe04a2359d1e8304fbfc2eb32f13f51baf790
[ "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,390
py
#!/usr/bin/env python # -*- coding: utf-8 -*- import json from alipay.aop.api.constant.ParamConstants import * class AlipayMarketingDataDashboardApplyModel(object): def __init__(self): self._dashboard_ids = None @property def dashboard_ids(self): return self._dashboard_ids @dashboa...
[ "liuqun.lq@alibaba-inc.com" ]
liuqun.lq@alibaba-inc.com
c699bc32127b8584ebb9ae1852fe8baa996cea26
0f7d186164cafdd90b3e0baae0b5573fead049b4
/多任务/线程/07-线程共享全局变量.py
5b263873df2b9925669df27515c6809dbc31f50f
[]
no_license
DominicRen/Python-learning
603b31ff173cbc0782b3cf3da12d5e0834a74402
a9e7ded5fc0e2a760cee9887d87700769a3b9b6d
refs/heads/master
2022-12-03T07:43:01.052201
2019-04-05T04:10:42
2019-04-05T04:10:42
179,615,987
1
2
null
2022-11-28T19:13:32
2019-04-05T03:54:26
HTML
UTF-8
Python
false
false
490
py
import threading import time # 定义一个全局变量 g_num = 100 def test1(): global g_num g_num += 1 print("-----in test1 g_num = %d-----" % g_num) def test2(): print("-----in test2 g_num = %d-----" % g_num) def main(): t1 = threading.Thread(target=test1) t2 = threading.Thread(target=test2) t1.st...
[ "ren_9510@163.com" ]
ren_9510@163.com
7cbfc835d5ee7dd706a39b957c365a77352048c5
f64069f0dc90aa41947d1deca317aa37ad9c9080
/CounterCode2015/Campers.py
1be7dba22916115142a5cf672826cd46dc065798
[]
no_license
raunaklakhwani/Algorithms
9fdd7c3f5234b4682690ce3bededa365e75df1e5
a0b36f4f068c100b17fd27b3ed28816e4f3b4e4f
refs/heads/master
2021-01-10T19:39:24.120026
2015-12-20T14:14:48
2015-12-20T14:14:48
27,044,549
0
0
null
null
null
null
UTF-8
Python
false
false
371
py
# URL : https://www.hackerrank.com/contests/countercode/challenges/campers from math import ceil N,K = 8,2 snipers = [2,6] snipers.sort() def getBetween(a,b): #print a,b n = b-a+1 return int(ceil(n/2.0)) pre = 1 s = 0 for i in snipers: s += getBetween(pre, i - 2) #print s pre = i + 2 ...
[ "rlakhwan@cisco.com" ]
rlakhwan@cisco.com
d6cac20aa12d749297a858a8968dcdd59024491d
ad846a63f010b808a72568c00de016fbe86d6c35
/algotradingenv/lib/python3.8/site-packages/IPython/sphinxext/ipython_console_highlighting.py
e07bcc007d0673032ff83deee60ef9272ebd015b
[]
no_license
krishansinghal29/algotrade
74ee8b1c9113812b1c7c00ded95d966791cf76f5
756bc2e3909558e9ae8b2243bb4dabc530f12dde
refs/heads/master
2023-06-02T01:53:24.924672
2021-06-10T09:17:55
2021-06-10T09:17:55
375,641,074
0
0
null
null
null
null
UTF-8
Python
false
false
972
py
""" reST directive for syntax-highlighting ipython interactive sessions. """ from sphinx import highlighting from IPython.lib.lexers import IPyLexer def setup(app): """Setup as a sphinx extension.""" # This is only a lexer, so adding it below to pygments appears sufficient. # But if somebody knows what...
[ "krishansinghal29@gmail.com" ]
krishansinghal29@gmail.com
bf77e59520837cbd065542476fdad5c4d1c0a67f
d3e723fe5eb20b868ed6bc7e3d228eba368f22ef
/feedly/feeds/redis.py
03755ba7a7ced91466e476809ae1a508fc9d880f
[ "BSD-3-Clause" ]
permissive
intellisense/Feedly
f33fa42a0f41b73e8e728813ed311d06bd8fb668
4c5fb74aee56e5ff382417301a4825b151c474b0
refs/heads/master
2020-05-29T11:36:24.157740
2014-02-24T16:27:33
2014-02-24T16:27:33
null
0
0
null
null
null
null
UTF-8
Python
false
false
916
py
from feedly.feeds.base import BaseFeed from feedly.storage.redis.activity_storage import RedisActivityStorage from feedly.storage.redis.timeline_storage import RedisTimelineStorage from feedly.serializers.activity_serializer import ActivitySerializer class RedisFeed(BaseFeed): timeline_storage_class = RedisTimeli...
[ "thierryschellenbach@gmail.com" ]
thierryschellenbach@gmail.com
9fcfda872969a04db6c4892cc52345f61d0a5a36
2ed86a79d0fcd299ad4a01310954c5eddcf01edf
/homeassistant/components/overkiz/climate_entities/atlantic_pass_apc_heating_zone.py
b6835d93ebb01978f226f745fb84a212a4de8ecd
[ "Apache-2.0" ]
permissive
konnected-io/home-assistant
037f12c87bb79e19220192eb918e49db1b1a8b3e
2e65b77b2b5c17919939481f327963abdfdc53f0
refs/heads/dev
2023-05-11T08:57:41.891518
2023-05-07T20:03:37
2023-05-07T20:03:37
109,931,626
24
10
Apache-2.0
2023-02-22T06:24:01
2017-11-08T05:27:21
Python
UTF-8
Python
false
false
7,956
py
"""Support for Atlantic Pass APC Heating Control.""" from __future__ import annotations from typing import Any, cast from pyoverkiz.enums import OverkizCommand, OverkizCommandParam, OverkizState from homeassistant.components.climate import ( PRESET_AWAY, PRESET_COMFORT, PRESET_ECO, PRESET_HOME, P...
[ "noreply@github.com" ]
konnected-io.noreply@github.com
241ee1d4fb08eab48847636ac8aa19413cffb686
846b11ccf549aba144c1824a24292a4850860ca7
/2-EstruturaDeDecisao/5.py
ecaf59269d84595e978da0a147427a07e1c37567
[]
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
602
py
''' Faça um programa para a leitura de duas notas parciais de um aluno. O programa deve calcular a média alcançada por aluno e apresentar: A mensagem "Aprovado", se a média alcançada for maior ou igual a sete; A mensagem "Reprovado", se a média for menor do que sete; A mensagem "Aprovado com Distinção", se ...
[ "paulocesarcs.dev@gmail.com" ]
paulocesarcs.dev@gmail.com
5b8904fa1f4944088bfa67fd47c8959d3ab4ffb4
9ae6ce54bf9a2a86201961fdbd5e7b0ec913ff56
/google/ads/googleads/v9/resources/types/bidding_data_exclusion.py
9fc75f0ae1869a171b9aa89c12199bed820c8544
[ "Apache-2.0" ]
permissive
GerhardusM/google-ads-python
73b275a06e5401e6b951a6cd99af98c247e34aa3
676ac5fcb5bec0d9b5897f4c950049dac5647555
refs/heads/master
2022-07-06T19:05:50.932553
2022-06-17T20:41:17
2022-06-17T20:41:17
207,535,443
0
0
Apache-2.0
2019-09-10T10:58:55
2019-09-10T10:58:55
null
UTF-8
Python
false
false
4,930
py
# -*- 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 required by applicable law or...
[ "noreply@github.com" ]
GerhardusM.noreply@github.com
f3704e6ffdfc299ccbe48106a9f84b3607dfd38d
a0b7d64efae7804d82aac288f1ab36a98339c32a
/all_repos/manual.py
d8d1cad94614b5206dd88c6a14ebceb5fabfaa03
[ "MIT" ]
permissive
asottile/all-repos
a4e71e2deabd4f82af8d8dda43289a22e9d22b28
54d272b276e391828b74efad9445f5eafc96c998
refs/heads/main
2023-09-01T14:39:35.708565
2023-08-29T15:13:51
2023-08-29T15:13:51
99,260,344
481
81
MIT
2023-09-05T11:38:16
2017-08-03T17:51:41
Python
UTF-8
Python
false
false
1,302
py
from __future__ import annotations import argparse from typing import Sequence from all_repos import autofix_lib from all_repos.config import Config def find_repos(_: Config) -> list[str]: raise AssertionError('--repos is required') def main(argv: Sequence[str] | None = None) -> int: parser = argparse.Arg...
[ "asottile@umich.edu" ]
asottile@umich.edu
ec2eb4274f2ab5c547553a43a9e89cf4b30551d7
ad357cfbec64afb8f4cc4043b212996768f9755c
/api/barriers/serializers/mixins.py
0bf4ea3db58f439746d9c561c10c87ca5eb2913b
[ "MIT" ]
permissive
uktrade/market-access-api
6b4680e6455eb5c25480ccd3e3d9445654269f36
4da26d1be53843d22411577409d9489010bdda09
refs/heads/master
2023-08-30T14:47:10.373148
2023-08-29T13:58:08
2023-08-29T13:58:08
131,856,014
2
3
MIT
2023-09-14T08:04:42
2018-05-02T13:38:37
Python
UTF-8
Python
false
false
3,729
py
from rest_framework import serializers class LocationFieldMixin(metaclass=serializers.SerializerMetaclass): # Use metaclass to get the fields registered at the serializer where the mixin is used # The field will need to be listed on the serializer using this mixin location = serializers.SerializerMethodFi...
[ "noreply@github.com" ]
uktrade.noreply@github.com
1c9687591a895a84bf4597f263816a8942879e51
ce76b3ef70b885d7c354b6ddb8447d111548e0f1
/feel_first_hand/work_different_thing_of_next_company.py
1f68da0b0954abd51549c98382a5e50aac67ba34
[]
no_license
JingkaiTang/github-play
9bdca4115eee94a7b5e4ae9d3d6052514729ff21
51b550425a91a97480714fe9bc63cb5112f6f729
refs/heads/master
2021-01-20T20:18:21.249162
2016-08-19T07:20:12
2016-08-19T07:20:12
60,834,519
0
0
null
null
null
null
UTF-8
Python
false
false
262
py
#! /usr/bin/env python def place_or_life(str_arg): right_point_or_important_work(str_arg) print('case') def right_point_or_important_work(str_arg): print(str_arg) if __name__ == '__main__': place_or_life('large_government_and_different_man')
[ "jingkaitang@gmail.com" ]
jingkaitang@gmail.com
f5b7ecf5498c79c23d17b6a98ceb9627c189511f
2612f336d667a087823234daf946f09b40d8ca3d
/python/lib/Lib/site-packages/django/core/management/commands/diffsettings.py
98b53b405d24da9b10a77e7b0bbc578bc9603626
[ "Apache-2.0" ]
permissive
tnorbye/intellij-community
df7f181861fc5c551c02c73df3b00b70ab2dd589
f01cf262fc196bf4dbb99e20cd937dee3705a7b6
refs/heads/master
2021-04-06T06:57:57.974599
2018-03-13T17:37:00
2018-03-13T17:37:00
125,079,130
2
0
Apache-2.0
2018-03-13T16:09:41
2018-03-13T16:09:41
null
UTF-8
Python
false
false
1,296
py
from django.core.management.base import NoArgsCommand def module_to_dict(module, omittable=lambda k: k.startswith('_')): "Converts a module namespace to a Python dictionary. Used by get_settings_diff." return dict([(k, repr(v)) for k, v in module.__dict__.items() if not omittable(k)]) class Command(NoArgsComm...
[ "dmitry.trofimov@jetbrains.com" ]
dmitry.trofimov@jetbrains.com
917995ac73a5bf09f647a885d5c631b5e4545361
5f92dd1e312a22c84eb826035b859b5fbffb7f4d
/FoTStreamServer/conceptdriftOld/algorithms/cusum.py
05f8ff161141730c3fdcd0d7a37383d8942f8561
[]
no_license
BrennoMello/FoT-Simulation-SDN-ML
a5a967d31c8df99d2f77978efa36eb8ed8d09928
bfaa7439db3d3b4b2470e342c5fdbe41106ed700
refs/heads/master
2023-05-08T10:01:01.099838
2021-06-03T02:33:52
2021-06-03T02:33:52
351,583,489
0
0
null
null
null
null
UTF-8
Python
false
false
1,947
py
""" The Tornado Framework By Ali Pesaranghader University of Ottawa, Ontario, Canada E-mail: apesaran -at- uottawa -dot- ca / alipsgh -at- gmail -dot- com --- *** The Cumulative Sum (CUSUM) Method Implementation *** Paper: Page, Ewan S. "Continuous inspection schemes." Published in: Biometrika 41.1/2 (1954): 10...
[ "None" ]
None
8ed210de7b773b2d858db28b0e98b28b8888fd8a
b2d3bd39b2de8bcc3b0f05f4800c2fabf83d3c6a
/examples/pwr_run/checkpointing/final/predict_error/job66.py
764442a07ebe3d86ebd0814af1b025e37c398848
[ "MIT" ]
permissive
boringlee24/keras_old
3bf7e3ef455dd4262e41248f13c04c071039270e
1e1176c45c4952ba1b9b9e58e9cc4df027ab111d
refs/heads/master
2021-11-21T03:03:13.656700
2021-11-11T21:57:54
2021-11-11T21:57:54
198,494,579
0
0
null
null
null
null
UTF-8
Python
false
false
7,630
py
""" #Trains a ResNet on the CIFAR10 dataset. """ from __future__ import print_function import keras from keras.layers import Dense, Conv2D, BatchNormalization, Activation from keras.layers import AveragePooling2D, Input, Flatten from keras.optimizers import Adam from keras.callbacks import ModelCheckpoint, LearningRa...
[ "baolin.li1994@gmail.com" ]
baolin.li1994@gmail.com
4e3212529919c336eaa65fb17c0588a940065f09
8e1d25698853dd5bd1fe89327810afaf22aa7306
/companies/api/urls.py
d073232701aab54911a84cdb672e6d455d5c9203
[]
no_license
briancaffey/demo
3351157c7628b58347dd5d3f749429c5159c8616
118b022f9a5558c9dacc0681e8c9593c462d36a4
refs/heads/master
2020-06-26T23:14:59.745396
2017-07-16T20:23:04
2017-07-16T20:23:04
97,034,442
1
0
null
null
null
null
UTF-8
Python
false
false
170
py
from django.conf.urls import url from .views import ( CompanyListAPIView, ) urlpatterns = [ url(r'^api/$', CompanyListAPIView.as_view(), name='company_list'), ]
[ "briancaffey2010@gmail.com" ]
briancaffey2010@gmail.com
037b4a377cefa4f9c913c9b919835caeb0f89ad1
65f378ce824afb65ff44a9e7634eb5e403a15250
/discussions/01-python_basics/tests/q32.py
758113e39d3b23c219799996407eb3ed034b979d
[]
no_license
ucsd-ets/dsc10-2021-sp-public
c067f00a853f12510ac3a897a40296e00b8db247
d4af09fedd51f988de8136173ba40dc0d0e19c2d
refs/heads/master
2023-05-25T04:54:36.076251
2021-06-06T23:25:31
2021-06-06T23:25:31
351,519,451
0
1
null
null
null
null
UTF-8
Python
false
false
235
py
test = { 'name': 'q32', 'points': 1, 'suites': [{'cases': [{'code': '>>> county_most_fires == "Los Angeles County"\nTrue', 'hidden': False, 'locked': False}], 'scored': True, 'setup': '', 'teardown': '', 'type': 'doctest'}]}
[ "nixrunner@localhost" ]
nixrunner@localhost
28d69c649d104842a33a3b0faa6f551bdb3b6b1f
64c90b077af7feed265041c0e94cbeee4be92f01
/tools~/gen_docs.py
96f62efb1a882dda15b4f1aafa1de18cfee027cc
[ "Zlib" ]
permissive
Fopoon/Fopoon.ScenesKit
5713dd7f420a22079fd9ba57b5984836ec7ca35d
acb45bc02ea6f091f7ec36e232a3bc232f528992
refs/heads/master
2022-11-26T19:24:40.789089
2020-08-10T04:20:51
2020-08-10T04:20:51
286,259,406
0
0
null
null
null
null
UTF-8
Python
false
false
2,089
py
from json import loads from pathlib import Path from typing import Dict from scriptgen import \ StringBuilder, \ diff_text, \ interpolate_text, \ write_text_file def get_text( template: str, expressions: Dict[str, str], template_name: str = None ) -> str: sb = StringBuilder() # A...
[ "elmernocon@gmail.com" ]
elmernocon@gmail.com
5124b6b8ae0f31df7809797678631fdaaf6b2c24
fd326562890d4f1987c384fc7c60374938231222
/PythonAdvanced/PongGame/game.py
3e9796356f4d3b20fa9b545010373e402f2496ff
[]
no_license
miro-lp/SoftUni
cc3b0ff742218c9ceaf93f05c319ccfeed5bc8a4
283d9328537919de49f7f6a301e58593bae9ca2a
refs/heads/main
2023-08-23T21:22:07.856226
2021-08-25T15:10:18
2021-08-25T15:10:18
318,134,101
2
1
null
2021-08-10T12:51:54
2020-12-03T09:03:08
Python
UTF-8
Python
false
false
2,113
py
class Game: def __init__(self): self.width = 800 self.high = 400 self.__ball_pos = (0, 0) self.__ball_delta_x = 1 self.__ball_delta_y = 1 self.paddle_a_pos = (-self.width / 2 + 50, 0) self.paddle_b_pos = (self.width / 2 - 50, 0) self.paddle_height = s...
[ "miro_lp@abv.bg" ]
miro_lp@abv.bg
3ebabab1cc0ec29075386911102d4c4d892eed04
16ba38ef11b82e93d3b581bbff2c21e099e014c4
/haohaninfo/即時範例/61.py
6e90415a943dd91a9a3bc4319e97582c7b9dabb8
[]
no_license
penguinwang96825/Auto-Trading
cb7a5addfec71f611bdd82534b90e5219d0602dd
a031a921dbc036681c5054f2c035f94499b95d2e
refs/heads/master
2022-12-24T21:25:34.835436
2020-09-22T09:59:56
2020-09-22T09:59:56
292,052,986
2
5
null
null
null
null
UTF-8
Python
false
false
657
py
# -*- coding: UTF-8 -*- #取得報價資訊,詳情請查看技巧51 execfile('function.py') #取得上下五檔價量資訊 for i in getUpDn5(): UpDn5Info=i.split(',') UpDn5Time=UpDn5Info[0] totalUpPrice=0 totalUpQty=0 totalDnPrice=0 totalDnQty=0 #開始進行上下五檔加權平均值 for j in range(0,5): totalDnPrice+=int(UpDn5Info[1+2*j])*int(UpDn5Info[2...
[ "penguinwang@smail.nchu.edu.tw" ]
penguinwang@smail.nchu.edu.tw
85cee0f893635d531b95b5d312f8e209a6f535dc
fefb1e9b0b736da4e49d7754f8d1dbaf37f2fa6a
/.history/7_3_2_20210208211227.py
2021ca036ff147a699a385552cc614517dc2ef19
[]
no_license
wh-debug/python
5a78a2227874ebc400d075197de0adab9f55d187
1467eeda670f170e6e2d7c0a0550f713f1ee9d75
refs/heads/master
2023-03-12T22:08:12.608882
2021-02-17T09:49:52
2021-02-17T09:49:52
334,032,494
0
0
null
null
null
null
UTF-8
Python
false
false
1,191
py
''' Author: your name Date: 2021-02-08 21:11:05 LastEditTime: 2021-02-08 21:12:27 LastEditors: Please set LastEditors Description: In User Settings Edit FilePath: \python\7_3_2.py ''' ''' _oo0oo_ o8888888o 88" . "88 (| -_- |) ...
[ "1813763848@qq.com" ]
1813763848@qq.com
9961f02f3cc87bd6bb0fd66daadb71f7fbd6f526
3a642fa1fc158d3289358b53770cdb39e5893711
/src/xlsxwriter/test/worksheet/test_write_sheet_views2.py
1ac53cd2d1fb5d98adfaf23b01058d89c365b7e0
[]
no_license
andbar-ru/traceyourself.appspot.com
d461277a3e6f8c27a651a1435f3206d7b9307d9f
5f0af16ba2727faceb6b7e1b98073cd7d3c60d4c
refs/heads/master
2020-07-23T14:58:21.511328
2016-12-26T22:03:01
2016-12-26T22:03:01
73,806,841
1
1
null
null
null
null
UTF-8
Python
false
false
3,464
py
############################################################################### # # Tests for XlsxWriter. # # Copyright (c), 2013, John McNamara, jmcnamara@cpan.org # import unittest from ...compatibility import StringIO from ...worksheet import Worksheet class TestWriteSheetViews(unittest.TestCase): """ Tes...
[ "andrey@voktd-andbar.int.kronshtadt.ru" ]
andrey@voktd-andbar.int.kronshtadt.ru
8222ad5dbb1fe9a2d9066677863f31844b5d765d
ef78bd58d61002f45778a40da7759ed0b1998cd3
/code/transforms/subspacegaussianization.py
121e6249045137472b93b36408bb02b129606325
[ "MIT" ]
permissive
afcarl/isa
61e85c0c790c7cc357e0c29fc5bda948e9c77ce4
f0497c0cc7bd72e0de7f4f9a8da40e214c22abe9
refs/heads/master
2020-03-19T21:36:06.716167
2013-01-28T18:32:30
2013-01-28T18:32:30
136,944,562
1
0
null
2018-06-11T15:20:45
2018-06-11T15:20:44
null
UTF-8
Python
false
false
3,769
py
__license__ = 'MIT License <http://www.opensource.org/licenses/mit-license.php>' __author__ = 'Lucas Theis <lucas@theis.io>' __docformat__ = 'epytext' from transform import Transform from radialgaussianization import RadialGaussianization from numpy.linalg import inv, slogdet from numpy import vstack, dot, zeros from ...
[ "lucas@theis.io" ]
lucas@theis.io
413fae5d3fbae535a19798130e74abb371a25cb9
020da726bb378ea9fe58af19caadad8e02bd4e27
/CODES_RCM/Calcul_Heat_Wave_RCM.py
31eb9bfd038cd5ce54ea25386c8f2ed2b0b10913
[]
no_license
guimeto/Heat_Wave_Codes
06dc19f9547b2cc083db9fd7bd44d22fad072a37
85a1c6ae582818a5694aef9b17fc7f3578b3af16
refs/heads/master
2020-06-22T05:44:11.064070
2020-04-10T18:11:19
2020-04-10T18:11:19
197,648,190
1
0
null
null
null
null
UTF-8
Python
false
false
4,289
py
# -*- coding: utf-8 -*- """ Created on Mon Jul 15 10:31:05 2019 @author: guillaume """ import xarray as xr import numpy as np import pandas as pd from netCDF4 import Dataset model='CANRCM4_NAM-44_ll_CanESM2_historical' yi = 2000 yf = 2000 tot=(yf-yi)+1 ######################################################### rep_...
[ "guillaume.dueymes@gmail.com" ]
guillaume.dueymes@gmail.com
d3bb2016d415c47c7039c7cc1a1f2fadb8094a6d
3d4a3bebf614086cce8a22510d8c27c0bea52f92
/CDS_pro.py
6963688c12963d1e348fb2a00680deef640be7ea
[]
no_license
caelus95/MantaOcean
dc031518051daac9b718b4c7664a057a956475f8
dbc5774f6ecd949a8d8f58c66d0101f816b90dc9
refs/heads/master
2023-06-18T22:00:26.353952
2021-06-29T13:25:48
2021-06-29T13:25:48
365,965,350
0
0
null
null
null
null
UTF-8
Python
false
false
2,252
py
#!/usr/bin/env python3 # -*- coding: utf-8 -*- """ Created on Tue Jun 29 18:03:50 2021 @author: caelus """ PKG_path = '/home/caelus/dock_1/Working_hub/LGnDC_dep/python_cent/MantaPKG/' import sys sys.path.append(PKG_path) from Manta_Signals.procc_index import sig_pro, linearRegress4Cube from Manta_Signals.utility im...
[ "caelus9536@gmail.com" ]
caelus9536@gmail.com
808cf3c32ee1793a9b9e851d99062f6245f9dc9e
ca7aa979e7059467e158830b76673f5b77a0f5a3
/Python_codes/p02879/s604770795.py
8a8a1f8c96a9e183e5e3de56c8219f8a884b4acc
[]
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
274
py
import math import collections import fractions import itertools import functools import operator def solve(): a, b = map(int, input().split()) if a < 10 and b < 10: print(a*b) else: print(-1) return 0 if __name__ == "__main__": solve()
[ "66529651+Aastha2104@users.noreply.github.com" ]
66529651+Aastha2104@users.noreply.github.com
31fb114ed920fcfae01485c2a6e8fb4bcf9ab0ff
bbfa3b7ee2008617d33a7c5c7770d22e1aa8836b
/Optimization/dynamic_programming.py
45645d59bdddc6e1e046f26ab79ad1f62240638a
[ "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
7,776
py
from random import random, randint, choice from copy import deepcopy from math import log class fwrapper(object): """docstring for fwrapper""" def __init__(self, function, childcount, name): self.function = function self.childcount = childcount self.name = name class node(object): ...
[ "luoshao23@gmail.com" ]
luoshao23@gmail.com
9f89cd804a35d8fb1df192bfec08abe49386513a
3784495ba55d26e22302a803861c4ba197fd82c7
/src/torch/legacy/nn/SpatialConvolutionMap.py
e901140a528bb3805879a4884c68b43e1afbd26d
[ "MIT" ]
permissive
databill86/HyperFoods
cf7c31f5a6eb5c0d0ddb250fd045ca68eb5e0789
9267937c8c70fd84017c0f153c241d2686a356dd
refs/heads/master
2021-01-06T17:08:48.736498
2020-02-11T05:02:18
2020-02-11T05:02:18
241,407,659
3
0
MIT
2020-02-18T16:15:48
2020-02-18T16:15:47
null
UTF-8
Python
false
false
4,384
py
import random import math import torch from .Module import Module # TODO fix THNN... class SpatialConvolutionMap(Module): class maps(object): @staticmethod def full(nin, nout): ft = torch.Tensor(nin * nout, 2) p = 0 for j in range(nout): for i...
[ "luis20dr@gmail.com" ]
luis20dr@gmail.com
7fc5fc8829de1dcf123347fcd4404cc65ca1a795
2c68f9156087d6d338373f9737fee1a014e4546b
/src/privatedns/azext_privatedns/vendored_sdks/models/aaaa_record_py3.py
2cd662761ff9da8073fe44d4aa1f2ee418445ab3
[ "LicenseRef-scancode-generic-cla", "MIT" ]
permissive
anpaz/azure-cli-extensions
8b0d4071c49840da9883f13cb0fd1f4515246ee0
847fd487fe61e83f2a4163a9393edc9555267bc2
refs/heads/master
2023-04-23T17:22:53.427404
2021-01-29T17:48:28
2021-01-29T18:01:33
257,394,204
2
0
MIT
2021-01-28T10:31:07
2020-04-20T20:19:43
Python
UTF-8
Python
false
false
918
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 ...
[ "wx44@cornell.edu" ]
wx44@cornell.edu
1fafa6db558c6073910962a1fd4bfd7d3019592a
a00ec9691cd5e56db93d290cb7a7b1edfef6437f
/eco/eco/asgi.py
2059a74dc9da807b96848d839ceb20e1570e7a08
[]
no_license
pronob1010/Ogani
7e6dfd424a830bd3355cf07f7a01eb521d8716d4
f6ff3dc8ed40ce46a993d1f83e122fbbc61836cf
refs/heads/master
2022-10-24T06:22:44.044064
2020-06-21T22:01:08
2020-06-21T22:01:08
null
0
0
null
null
null
null
UTF-8
Python
false
false
383
py
""" ASGI config for eco project. It exposes the ASGI callable as a module-level variable named ``application``. For more information on this file, see https://docs.djangoproject.com/en/3.0/howto/deployment/asgi/ """ import os from django.core.asgi import get_asgi_application os.environ.setdefault('DJANGO_SETTINGS_...
[ "pronobmozumder.info@gmail.com" ]
pronobmozumder.info@gmail.com
fce765142eaf423639434d0ee0255320be03ebd1
e0c8662a56d89730043146ddc340e9e0b9f7de72
/plugin/11e23c18-1596.py
3ca27f59f5378a6af4db567a8641f9832a2735e3
[]
no_license
izj007/bugscan_poc
f2ef5903b30b15c230b292a1ff2dc6cea6836940
4490f3c36d4033bdef380577333722deed7bc758
refs/heads/master
2020-09-22T17:20:50.408078
2019-01-18T09:42:47
2019-01-18T09:42:47
null
0
0
null
null
null
null
UTF-8
Python
false
false
643
py
#coding:utf-8 from lib.curl import * # -*- coding: utf-8 -*- import re def assign(service, arg): if service=='tipask': return True,arg def audit(arg): code,head,res,errcode, _=curl.curl2(arg+'?dfferfdsfe') if code == 404 and res: m=re.search(r'file "(.*)" not found',res) if m: ...
[ "yudekui@wsmtec.com" ]
yudekui@wsmtec.com
12769f9a834726649374d31c469d956ec8091f46
5cb9dccbcccb8a2137368dd0615fe3e3c7761707
/simulations/kinova/build/chomp_motion_planner/catkin_generated/pkg.develspace.context.pc.py
3a3076474a22a84958b84ab31ec82194d9ffd63e
[]
no_license
Simon-Steinmann/sim2real-modular-RL-project
b2467a393014e106043f6128a026f5eac934a83d
4027590ac94de2d5c914731c09efcf2f318b9ca3
refs/heads/master
2020-07-29T01:30:56.450919
2019-10-12T09:33:00
2019-10-12T09:33:00
209,605,548
4
1
null
null
null
null
UTF-8
Python
false
false
672
py
# generated from catkin/cmake/template/pkg.context.pc.in CATKIN_PACKAGE_PREFIX = "" PROJECT_PKG_CONFIG_INCLUDE_DIRS = "/home/acis/sim2real/simulations/kinova/src/moveit/moveit_planners/chomp/chomp_motion_planner/include".split(';') if "/home/acis/sim2real/simulations/kinova/src/moveit/moveit_planners/chomp/chomp_motion...
[ "simon.steinmann91@gmail.com" ]
simon.steinmann91@gmail.com
273a796eb3e0d568fc83cd05aff1e374c4393f21
b1bc2e54f8cd35c9abb6fc4adb35b386c12fe6b4
/toontown/src/coghq/Stomper.py
f579b1ff2fd2e11404c53d4ef459346b72bf19ad
[]
no_license
satire6/Anesidora
da3a44e2a49b85252b87b612b435fb4970469583
0e7bfc1fe29fd595df0b982e40f94c30befb1ec7
refs/heads/master
2022-12-16T20:05:13.167119
2020-09-11T16:58:04
2020-09-11T17:02:06
294,751,966
89
32
null
null
null
null
UTF-8
Python
false
false
4,816
py
"""Stomper module: contains the Stomper class""" from pandac.PandaModules import * from direct.interval.IntervalGlobal import * from direct.distributed.ClockDelta import * from direct.showbase.PythonUtil import lerp from direct.fsm import StateData import math class Stomper(StateData.StateData, NodePath): SerialN...
[ "66761962+satire6@users.noreply.github.com" ]
66761962+satire6@users.noreply.github.com
81836a77393b703a7e69351661f816b5e0db1eb9
5f1c3a2930b20c3847496a249692dc8d98f87eee
/Pandas/Titanic_DataAnalysis/Question8.py
d6bea604e6b82e0b17af8e7a63fd757c6a04672e
[]
no_license
AmbyMbayi/CODE_py
c572e10673ba437d06ec0f2ae16022d7cbe21d1c
5369abf21a8db1b54a5be6cbd49432c7d7775687
refs/heads/master
2020-04-24T05:01:46.277759
2019-02-22T08:26:04
2019-02-22T08:26:04
171,723,155
0
0
null
null
null
null
UTF-8
Python
false
false
341
py
"""write a pandas program tocreate a pivot table and count survival by gender, categories wise age of various classes """ import pandas as pd import numpy as np df = pd.read_csv('titanic.csv') age = pd.cut(df['age'], [0,10,30,60,80]) result = df.pivot_table('survived', index=['sex', age], columns='pclass', aggfunc='...
[ "root@localhost.localdomain" ]
root@localhost.localdomain
8b00cb8d70c9d7a361ad920dddfbfdf75d237328
e59e0bd3cdfc706105ee697cc6683554d3cdb371
/utime/augmentation/elastic_deformation.py
9c267b66b0bdb1de51ca1870c185892338355305
[ "MIT" ]
permissive
jennynanap/U-Time
02455307cd67abf975d659346d4a1f3acebd8eed
f7c8e3f1368f43226872a69b0fbb8c29990e4bd9
refs/heads/master
2023-07-10T16:26:23.648995
2021-08-24T12:09:30
2021-08-24T12:09:30
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,570
py
import numpy as np from mpunet.interpolation import RegularGridInterpolator from scipy.ndimage.filters import gaussian_filter def elastic_transform(signal, labels, alpha, sigma, bg_value=0.0): """ Elastic deformation for 1D signals, modified from: [Simard2003] Simard, Steinkraus and Platt, "Best Practices...
[ "mathias@perslev.com" ]
mathias@perslev.com
88f954cd4c147c22b62406dd9e1848a41d7bfac9
675d1ad3ebb58d6bf177430568bb35a7319ce30b
/plotters/limits.py
0eab4cdcf3c08d0721d27c24e9679c39f23d5596
[]
no_license
kdlong/InitialStateAnalysis
30a0382098014087982059908c2f74ccaff0c3d9
2a1f7275de6bcbcf53127ad2e949b20d2443e8bc
refs/heads/master
2021-01-18T07:02:12.114624
2015-04-14T16:27:52
2015-04-14T16:27:52
30,890,597
0
0
null
2015-02-16T22:02:24
2015-02-16T22:02:23
Python
UTF-8
Python
false
false
4,461
py
''' Class for plotting limits. ''' import sys import os import errno import numpy as np import CMS_lumi, tdrstyle from plotUtils import _3L_MASSES, _4L_MASSES, python_mkdir sys.argv.append('-b') import ROOT sys.argv.pop() ROOT.PyConfig.IgnoreCommandLineOptions = True ROOT.gROOT.SetBatch(ROOT.kTRUE) ROOT.gROOT.Proces...
[ "dntaylor@wisc.edu" ]
dntaylor@wisc.edu
2375f031e40a31c4eadc37b25c1a2e45e111c9bd
9e988c0dfbea15cd23a3de860cb0c88c3dcdbd97
/sdBs/AllRun/sdssj9-10_104054.47+112023.7/sdB_sdssj9-10_104054.47+112023.7_coadd.py
4de1d11e6ffb1bc19dfcb19efea75a26b321efa2
[]
no_license
tboudreaux/SummerSTScICode
73b2e5839b10c0bf733808f4316d34be91c5a3bd
4dd1ffbb09e0a599257d21872f9d62b5420028b0
refs/heads/master
2021-01-20T18:07:44.723496
2016-08-08T16:49:53
2016-08-08T16:49:53
65,221,159
0
0
null
null
null
null
UTF-8
Python
false
false
498
py
from gPhoton.gMap import gMap def main(): gMap(band="NUV", skypos=[160.226958,11.339917], skyrange=[0.0333333333333,0.0333333333333], stepsz = 30., cntfile="/data2/fleming/GPHOTON_OUTPUT/LIGHTCURVES/sdBs/sdB_sdssj9-10_104054.47+112023.7/sdB_sdssj9-10_104054.47+112023.7_movie_count.fits", cntcoaddfile="/data2/fleming/...
[ "thomas@boudreauxmail.com" ]
thomas@boudreauxmail.com
c0c28a81cd864c47e81a5589f67dc159c3c4086b
151dc9e2f00b202a5085189ac5e5df06eed1b77a
/bot/migrations/0002_food_ingredients.py
6a59f2980a0f2a0dc788dbb431c459bb5c62c5f5
[]
no_license
ochui/foodbot
074d818308ee72c895857641333a71aebe6f36c0
c4dcda9a94a270ca26a58383d3719ed312b06907
refs/heads/master
2023-08-25T10:06:22.793546
2021-11-02T23:22:03
2021-11-02T23:22:03
420,014,796
0
0
null
null
null
null
UTF-8
Python
false
false
384
py
# Generated by Django 3.2.8 on 2021-10-22 09:24 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('bot', '0001_initial'), ] operations = [ migrations.AddField( model_name='food', name='ingredients', fiel...
[ "ochuiprincewill411@gmail.com" ]
ochuiprincewill411@gmail.com
2690394c577796e63ca8242a797e503b406ccb1a
a665936ae4c630ae9ef4c8b106aef1d0dcb3309b
/pro57.py
d63d9a4c653a8a0a3d28728a19a171d8b6b580fc
[]
no_license
Hemavarsheni/codekata
bbbd54e0282c0a5724ef58f6abd215cb57fe0cd8
577c8347991784d1b9b1b4364045cde3257ee9db
refs/heads/master
2020-06-13T23:50:44.237011
2019-08-16T12:11:29
2019-08-16T12:11:29
194,827,236
0
10
null
null
null
null
UTF-8
Python
false
false
343
py
#Hemavarsheni a,b=map(str,input().split()) lista=[] listb=[] for i in range(len(a)-1): s="" for j in range(i,i+2): s=s+a[j] lista.append(s) for i in range(len(b)-1): s="" for j in range(i,i+2): s=s+b[j] listb.append(s) for i in lista: if i in listb: print("yes") ...
[ "noreply@github.com" ]
Hemavarsheni.noreply@github.com
5ef239b0126778ed8d7aeba3dc594138312d9df0
9f66941e73cad0c215601339512b8dd6729792da
/Show_Program_exe/predictModelUI/tensorflow/_api/v2/profiler/experimental/client/__init__.py
6c373c04418802ba602b7d8a351fd76131351e7e
[]
no_license
NgaAdrain/TEAM_Enter_Text_Here
eb0e02c13959b90eecc0c69d2b24adb23a50150a
a7217438284360e06c93d37092dca1afcecb735a
refs/heads/master
2023-07-20T11:42:50.353497
2021-05-28T08:30:53
2021-05-28T08:30:53
267,983,495
2
0
null
2023-07-06T22:00:36
2020-05-30T00:50:59
Python
UTF-8
Python
false
false
419
py
# This file is MACHINE GENERATED! Do not edit. # Generated by: tensorflow/python/tools/api/generator/create_python_api.py script. """Public API for tf.profiler.experimental.client namespace. """ from __future__ import print_function as _print_function import sys as _sys from tensorflow.python.profiler.profiler_clien...
[ "adrainnga@gmail.com" ]
adrainnga@gmail.com
469233826fa76271f9d1c92d61ca030c6ebe3463
ac191a3e973b0d66baa559fdd27af5e0012fe67b
/shipyard/utils.py
eab1698afc173b87779a9d3d0ce8a92c8445ae1d
[ "LicenseRef-scancode-warranty-disclaimer", "Apache-2.0" ]
permissive
monokrome/shipyard
fb2ab707643e52c3acfd20dfaf4d269a8b5dc195
3a37105466e4ac30b260a6b40a467e0412b4fc13
refs/heads/master
2022-01-17T23:31:26.186270
2013-10-23T06:29:21
2013-10-23T06:29:21
13,798,136
1
0
null
2022-01-06T22:53:10
2013-10-23T09:02:08
Python
UTF-8
Python
false
false
2,347
py
# Copyright 2013 Evan Hazlett and contributors. # # 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 agree...
[ "ejhazlett@gmail.com" ]
ejhazlett@gmail.com
cab5ec73309abc6f8c1a012ccccd0e4dc50f50b4
91f4078045a57eaaafe0b172909d7041e829941c
/arjuna-samples/arjex/test/pkg/gns_adv/check_gnsadv_07_waiters_default_wait.py
21418e6c64e6736cfe53b4ca0f3d66b1a111ea50
[ "Apache-2.0" ]
permissive
amiablea2/arjuna
0d06d1dfb34309f4b6f39b17298f7acb6c3c48c9
af74e0882216881ceca0a10f26442165ffc43287
refs/heads/master
2023-08-21T20:04:30.416303
2021-10-27T06:41:40
2021-10-27T06:41:40
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,261
py
# This file is a part of Arjuna # Copyright 2015-2021 Rahul Verma # Website: www.RahulVerma.net # 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...
[ "rahulverma81@gmail.com" ]
rahulverma81@gmail.com
822d8811b069aed67ce8cd1f23bbf59c6c4a9c45
0b25dc3f9b4ef736e739aadddec33b96dd65a0c8
/huawei/21.py
7302d8adf92d83dba6e7130102b2a602b4176164
[]
no_license
ttp55/LearnPy
b123f44a74e4364771491c572705742c15eb33ff
1530e158bde152e5c585f496dd1e5ffcffdb73bc
refs/heads/master
2023-05-11T13:02:30.157285
2023-05-08T07:13:57
2023-05-08T07:13:57
196,953,630
0
0
null
null
null
null
UTF-8
Python
false
false
253
py
# @Time : 2022/2/8 13:58 # @Author : WZG # --coding:utf-8-- l = [1,2,3,4,5,5] print(l[3:]+l[:3]) s = input() while '{}' in s or '()' in s or '[]' in s: s = s.replace('{}', '') s = s.replace('[]', '') s = s.replace('()', '') print(not s)
[ "1047697347@qq.com" ]
1047697347@qq.com
1659e77a9f834c52289989c0d18398077d405e47
de24f83a5e3768a2638ebcf13cbe717e75740168
/moodledata/vpl_data/308/usersdata/290/72816/submittedfiles/ex1.py
9d833bfe06bccfb760241d32e0c22608bc1e9950
[]
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
179
py
# -*- coding: utf-8 -*- from __future__ import division a = input('Digite a: ') b = input('Digite b: ') c = input('Digite c: ') #COMECE A PARTIR DAQUI! D=((b**2)-(4*a*c)) print(a)
[ "rafael.mota@ufca.edu.br" ]
rafael.mota@ufca.edu.br
a1add44754eec4db72df64bfc3f294a01ec01a29
e78433e847c5a5ff1ed583303c0240b0a93dc06a
/0x01-python-if_else_loops_functions/6-print_comb3.py
2682ef8c4fae7eef14ca880d7b9148e40c1481e8
[]
no_license
david-develop/holbertonschool-higher_level_programming
75eaef38173361cc4ef9202f3e3f6c5a781239ed
90f62136a7ddfb7d3921daccdc38d50a5376343b
refs/heads/master
2020-07-22T23:27:35.494155
2020-03-26T17:34:36
2020-03-26T17:34:36
207,366,767
0
4
null
null
null
null
UTF-8
Python
false
false
169
py
#!/usr/bin/python3 for num1 in range(0, 8): for num2 in range(num1 + 1, 10): print("{}{}".format(num1, num2), end=', ') print("{}{}".format(num1 + 1, num2))
[ "924@holbertonschool.com" ]
924@holbertonschool.com
04ba26d95374cc9f8beb1e7b9eb48e8d9e9fd7cc
ce2a6330c807591f95210bdda005f875a76b98a8
/model_lab/ml_models/titanic/scripts/train.py
22de07daecff46eabb25b6cef569ac1b056d0c75
[]
no_license
MartinThoma/model-lab
c1ca8d0950086cd4e332862d6a3b7a7ae7f10a2f
3525cdd5271a1b7940f801d4245343b1592ffa67
refs/heads/master
2020-04-11T18:43:54.537892
2018-12-31T20:14:40
2018-12-31T20:17:02
162,009,569
1
0
null
null
null
null
UTF-8
Python
false
false
3,893
py
"""Train a model for Titanic.""" import re import math import pickle # 3rd party modules import numpy as np import pandas as pd from sklearn.ensemble import ExtraTreesRegressor def main(): """Load, train, serialize, test.""" data = load_data() analyze_features(data['full_features']) model = train(da...
[ "info@martin-thoma.de" ]
info@martin-thoma.de
220acf2053b36953db69197b5b7cd45c5040bc57
48b9d828acf80792bc4385febaa734a2e96ad465
/test-openmps/Examples/05_Fermions_LongRange.py
fd886085ce8c20f16a78e8dadbd894ef399ac75e
[ "MIT" ]
permissive
OminiaVincit/qphase-trans
dd4ab2e0cacc449ead3bef318a65eb05aed45621
40e0c078dcd74282e8d8f44690433bf670bff8cb
refs/heads/master
2023-05-06T12:14:30.368375
2021-05-28T05:11:58
2021-05-28T05:11:58
235,478,493
0
0
null
null
null
null
UTF-8
Python
false
false
3,316
py
import MPSPyLib as mps import numpy as np import sys import os.path def main(PostProcess=False): """ Introductory example for openMPS to simulate a fermionic system with long-range interactions. Two modes are available when running the example from command line: * ``python LongRangeTunneling.py --...
[ "k09tranhoan@gmail.com" ]
k09tranhoan@gmail.com
001b2620fba71bf6672fffa7ba7578a6ef07180f
c838b0eaf08c63284bd29442f8a0a297d1558fd5
/lagom/runner/rolling_segment_runner.py
6f42c595b4aa4688010ec63e73d889e6d6601428
[ "MIT" ]
permissive
vin136/lagom
ccd0f4a3e469c1ee8ef88b1f5248e712b51c5704
54e1890e6450f4b1bf499a838963c5d1a3b2da6a
refs/heads/master
2020-04-22T21:45:51.488458
2019-02-13T16:41:32
2019-02-13T16:41:32
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,630
py
import torch import numpy as np from lagom.envs import EnvSpec from lagom.history import BatchSegment from lagom.runner import BaseRunner class RollingSegmentRunner(BaseRunner): def __init__(self, config, agent, env): super().__init__(config, agent, env) self.env_spec = EnvSpec(self.en...
[ "zuoxingdong@hotmail.com" ]
zuoxingdong@hotmail.com
f32c47e27a4ed6dfd41d6154529bbafd699be8a3
a38eb2457fc834109cbb1d5cd2f5649d932cbb00
/blog/migrations/0001_initial.py
7115d435920cd0178d44e08eebf29f71a8ba7649
[]
no_license
anitalmada/mi-primer-blog
0a5daef6aa87273ab4ab09c1f6d1ff51706fdae2
872709baeef37c30608231a746d749c9d11afb0e
refs/heads/master
2020-06-10T01:47:37.291475
2017-10-09T00:16:38
2017-10-09T00:16:38
76,130,283
0
0
null
null
null
null
UTF-8
Python
false
false
1,049
py
# -*- coding: utf-8 -*- # Generated by Django 1.9 on 2016-12-10 15:47 from __future__ import unicode_literals from django.conf import settings from django.db import migrations, models import django.db.models.deletion import django.utils.timezone class Migration(migrations.Migration): initial = True depende...
[ "admin@admin.com" ]
admin@admin.com
fa3c81e8655206c62c0e1c0548c42cc70ab771ae
c1261b9181d86c418df612dc809af933cfbb2c0d
/blog1/migrations/0003_auto_20190616_1338.py
c8a7d136c991ab23980daf09e24fe9de1d3d62e1
[]
no_license
gitlGl/myblog
122a598407d12a7397420ce50f9c1ca68a3107d2
b3d7d1130e81ca625cb9d2b7204e19da6efe7d07
refs/heads/master
2023-09-01T14:06:04.720407
2022-10-22T08:47:02
2022-10-22T08:47:02
198,171,669
0
0
null
null
null
null
UTF-8
Python
false
false
821
py
# Generated by Django 2.1 on 2019-06-16 05:38 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('blog1', '0002_auto_20190616_1334'), ] operations = [ migrations.CreateModel( name='Page', fields=[ ('i...
[ "you@example.com" ]
you@example.com
55f1dc9325861a9e19d2e9a887425c689284659e
0c6c7365d6ff8b694bc906ec5f74c741e8bb0d37
/Algorithms/922-Sort-Array-By-Parity-II.py
b95848daeaa9b922111c67403417c1599a5222c5
[]
no_license
XiongQiuQiu/leetcode-slove
d58ab90caa250c86b7a1ade8b60c669821d77995
60f0da57b8ea4bfb937e2fe0afe3caea719cd7e4
refs/heads/master
2021-01-23T11:21:15.069080
2019-07-08T15:42:48
2019-07-08T15:42:48
93,133,558
1
0
null
null
null
null
UTF-8
Python
false
false
775
py
''' Given an array A of non-negative integers, half of the integers in A are odd, and half of the integers are even. Sort the array so that whenever A[i] is odd, i is odd; and whenever A[i] is even, i is even. You may return any answer array that satisfies this condition. Example 1: Input: [4,2,5,7] Output: [4,5,...
[ "zjw2goo@gmail.com" ]
zjw2goo@gmail.com
1eb7553184f9f93b4f42a7d94f77117f5205d59e
78171e8cfbc44c547ee07d6e5a85e595fb7397a1
/analytics/migrations/0001_initial.py
c0e9b067863b881a1c5ab3492b2f8dbcc91c19cf
[]
no_license
jimpalowski/URLshortener
37b41a3818679c1e0707f02f57147e87a651063c
f7b8450ce2e858dff1e6fec11f9fd5dfec3d3e26
refs/heads/master
2021-09-05T11:44:36.564719
2018-01-27T01:59:56
2018-01-27T01:59:56
118,685,038
0
0
null
null
null
null
UTF-8
Python
false
false
896
py
# -*- coding: utf-8 -*- # Generated by Django 1.10.2 on 2018-01-26 19:04 from __future__ import unicode_literals from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): initial = True dependencies = [ ('shortener', '0003_auto_20180125_2359'),...
[ "palowskijim@gmail.com" ]
palowskijim@gmail.com
037914c9c349ecf834267d3eb3e6e5b20c208d0b
50dd2a43daa8316fc11e0c176b5872738fcc5dde
/Learning/049_Decorators/deco.py
a73431eabd8fc058356752fa444fc38ffd559521
[]
no_license
FrenchBear/Python
58204d368e3e72071eef298ff00d06ff51bd7914
b41ab4b6a59ee9e145ef2cd887a5fe306973962b
refs/heads/master
2023-08-31T18:43:37.792427
2023-08-26T15:53:20
2023-08-26T15:53:20
124,466,047
0
0
null
null
null
null
UTF-8
Python
false
false
5,383
py
# deco.py # Exercices on decorators # # 2018-09-03 PV # 2018-09-07 PV Variant with a class # 2018-10-01 PV Expanded with execution time and following code import functools def uppercase(func): # Preserve __name__ and __doc__ of original function in the decorated version @functools.wraps(f...
[ "FrenchBear38@outlook.com" ]
FrenchBear38@outlook.com
1650ea5291fb078028b18bc7b1d33ce095acb1aa
3fce653f12af1b98b6b87e3d87e7d10483ef6fac
/hood/migrations/0003_auto_20181018_1012.py
f514eafff572aa923446e6983049b97236ec7ec9
[]
no_license
IreriVIkki/hoodip
6dba100d75a69b0dd146205557cbaba4ec2555e2
610629d6a54920e66b7e30156b11887de7fe8db4
refs/heads/master
2020-04-01T14:31:31.729134
2018-10-23T11:27:31
2018-10-23T11:27:31
153,297,767
0
0
null
null
null
null
UTF-8
Python
false
false
403
py
# -*- coding: utf-8 -*- # Generated by Django 1.11 on 2018-10-18 07:12 from __future__ import unicode_literals from django.db import migrations class Migration(migrations.Migration): dependencies = [ ('hood', '0002_auto_20181018_0936'), ] operations = [ migrations.RenameModel( ...
[ "wambsviki@gmail.com" ]
wambsviki@gmail.com
ee0d03e5ed294173e0df5f582729e2d0b61ef73f
17926b196d9db43816453d16f3da84de6664f2fd
/155_Mini_Stack.py
76a37a32f326092b1b0ac94945275b9c1a9c62f7
[]
no_license
luchang59/leetcode
66690a3c9b28a5201a7be8cd0134142b48418adb
feab001b9291f6e57c44eeb0b625fdaa145d19b4
refs/heads/master
2020-05-28T06:57:20.667138
2019-09-20T18:18:11
2019-09-20T18:18:11
188,914,681
0
0
null
2019-05-27T22:17:44
2019-05-27T22:08:54
null
UTF-8
Python
false
false
717
py
class MinStack: def __init__(self): """ initialize your data structure here. """ self.stack = [] def push(self, x): """ :type x: int :rtype: None """ curMin = self.getMin() if curMin == None or x < curMin: curMin = x ...
[ "luchang1991@gmail.com" ]
luchang1991@gmail.com
b07ebe4341d3f201e7ded401c8ae97e2d1385731
cbe264842df4eae3569b28ed4aae9489014ed23c
/python/coding_dojang/judge_regular_expression.py
5418ef520574bac18ef5149097b2d76c3df53c2e
[ "MIT" ]
permissive
zeroam/TIL
31e176c2f4c3e1ef72b1155353690cc2f7160f96
43e3573be44c7f7aa4600ff8a34e99a65cbdc5d1
refs/heads/master
2021-07-23T01:43:34.135033
2021-07-10T06:47:17
2021-07-10T06:47:17
167,952,375
1
0
null
null
null
null
UTF-8
Python
false
false
617
py
import re p = re.compile('^(http(s)?://)?[\w\-]+\.[\w\-]+[\w\-_.?=/&#:]+$') urls = [ 'https://www.example.com', 'http://www.example.com', 'www.example.com', 'example.com', 'http://blog.example.com', 'http://www.example.com/product', 'http://www.example.com/products?id=1&page=2', 'http:...
[ "imdff0803@gmail.com" ]
imdff0803@gmail.com
0d54a8ca3d2b786f788a93b14b7817b06777b682
b48764e6684ffbd73b0043dc889c013860642e8d
/1학기/area1.py
f237fe223ef10a6ce0fda088efe636035c0f451d
[]
no_license
tanghee/Programming-Python-
c6d32a1e49d5c95c8359aeb8775cb52cc665167a
eb402357ad31638d867042e76af507bc6c67a0b4
refs/heads/master
2022-03-27T07:27:18.888660
2019-12-10T02:06:41
2019-12-10T02:06:41
null
0
0
null
null
null
null
UTF-8
Python
false
false
180
py
width = 3 height = 5 print("가로 ", width, "세로", height, "인 삼각형의 넒이: ", 3*5*1/2) print("가로 ", width, "세로", height, "인 삼각형의 넒이: ", 3*5*1/2)
[ "s2018w37@e-mirim.hs.kr" ]
s2018w37@e-mirim.hs.kr
7454cf6efe86e121133d4f676780dde446ac0859
06fe8a3bb7971066a204be73731a9af3e67edbb9
/soccer/gameplay/tests/test_constants.py
1493f44ca313729a8e14841601d4ca525ae01788
[ "Apache-2.0" ]
permissive
sgadgil6/robocup-software
130099715dafd80155bf07966f186f036280455a
2b647345f0cdcc50021558b5cccf109239d3e954
refs/heads/master
2020-12-26T04:38:28.196256
2015-09-29T23:33:58
2015-09-29T23:33:58
43,398,854
1
0
null
2015-09-29T22:49:27
2015-09-29T22:49:27
null
UTF-8
Python
false
false
477
py
import unittest import constants import robocup class TestConstants(unittest.TestCase): def test_our_goal_zone(self): # right in the center of the goal zone in_zone = robocup.Point(0, constants.Field.PenaltyDist / 2.0) out_zone = robocup.Point(0, constants.Field.Length / 2.0) sel...
[ "justbuchanan@gmail.com" ]
justbuchanan@gmail.com
6599fda660a020fbc1972dae24d4e1cb898e6c27
466660115eafd99b72f81339d86c5bcbf4c7efb0
/codes/15/spectrum_50HzRepeat.py
b04979b971b4acfdd85218fcd1fe02f82e9fb818
[]
no_license
CoryVegan/scipybook2
c2bb68c169c632ab389600034beb33ac921b0ba1
a8fd295c2f2d7ee18f351e5622ca7eeb4649ee50
refs/heads/master
2020-03-23T14:50:28.056482
2017-08-25T06:00:00
2018-06-02T14:18:45
null
0
0
null
null
null
null
UTF-8
Python
false
false
242
py
# -*- coding: utf-8 -*- import numpy as np import pylab as pl t = np.arange(0, 1.0, 1.0/8000) x = np.sin(2*np.pi*50*t)[:512] pl.figure(figsize=(8,3)) pl.plot(np.hstack([x,x,x])) pl.xlabel("取样点") pl.subplots_adjust(bottom=0.15) pl.show()
[ "qytang326@gmail.com" ]
qytang326@gmail.com
9361603f524a0d1e30f0a17a54c5c6ff4b05b2a6
a5ad207961fddfb0bab8c7471b6f91b69865e0fc
/app/agis/models/enormal/menu.py
09ca2c47c0709f53c80e61db7cfffc14356895c6
[ "LicenseRef-scancode-public-domain" ]
permissive
yotech/agis
b2465fc340e366fbe0267c4000bb0ae728386399
4abbecd175337d4942ac133847ce8fc870670571
refs/heads/master
2020-12-15T09:10:58.076323
2016-05-10T14:36:54
2016-05-10T14:36:54
32,155,630
0
2
null
2016-05-10T14:36:54
2015-03-13T12:52:01
Python
UTF-8
Python
false
false
687
py
# -*- coding: utf-8 -*- from gluon import * from agiscore.gui.mic import Accion if not request.ajax and request.controller != 'appadmin': # import si se necesita from agiscore.gui.escuela import escuela_menu from agiscore.gui.unidad_organica import unidad_menu from agiscore.gui.enormal import enormal_m...
[ "ybenitezf@gmail.com" ]
ybenitezf@gmail.com
63f4970d203971e6b87ce1413f3580da08d7436c
5f9bdfc588331ef610ba01d7ef90c4f8a96fdc63
/plot.py
3d8ca3134805bf8f081d2405810a8936d42eb86c
[]
no_license
imrehg/fuel
1c3c73c79f0aaf500a6024bd4fc32980987201c7
41c2afa3506172eab31ac1618e6ea3706277fef1
refs/heads/master
2016-09-10T09:58:26.424418
2011-05-05T06:10:21
2011-05-05T06:10:21
1,702,343
0
0
null
null
null
null
UTF-8
Python
false
false
1,270
py
import numpy as np import pylab as pl from matplotlib.transforms import offset_copy filename = "data.csv" types = {'names' : ['code', 'name', 'gdp', 'ppp', 'oilout', 'oilin', 'price'], 'formats' : ['S30', 'S30', 'f4', 'f4', 'f4', 'f4', 'f4'] } data = np.loadtxt(filename, delimiter=",", dtype=types) ...
[ "imrehg@gmail.com" ]
imrehg@gmail.com
ef3f4ca1f02f57a1d00a845f054e57b10411e8c5
25b914aecd6b0cb49294fdc4f2efcfdf5803cc36
/homeassistant/components/trafikverket_weatherstation/config_flow.py
103af1c7eb4157ad3f6eb2f593bd8fa981f47a36
[ "Apache-2.0" ]
permissive
jason0x43/home-assistant
9114decaa8f7c2f1582f84e79dc06736b402b008
8bf6aba1cf44ee841de063755c935ea78040f399
refs/heads/dev
2023-03-04T01:14:10.257593
2022-01-01T12:11:56
2022-01-01T12:11:56
230,622,861
1
1
Apache-2.0
2023-02-22T06:15:07
2019-12-28T14:45:43
Python
UTF-8
Python
false
false
2,802
py
"""Adds config flow for Trafikverket Weather integration.""" from __future__ import annotations from pytrafikverket.trafikverket_weather import TrafikverketWeather import voluptuous as vol from homeassistant import config_entries from homeassistant.const import CONF_API_KEY from homeassistant.helpers.aiohttp_client i...
[ "noreply@github.com" ]
jason0x43.noreply@github.com
b464fca1bb2e46c78e2e37b913633e930aa13bb9
1b3fc35ada474601a76de3c2908524336d6ca420
/day10/my/Meizitu/Meizitu/start.py
9b9063bac0c96d2345c8dab199a5ff64631d28ad
[]
no_license
dqsdatalabs/Internet-worm
db3677e65d11542887adcde7719b7652757a3e32
62f38f58b4fa7643c482077f5ae18fff6fd81915
refs/heads/master
2022-01-16T14:29:52.184528
2018-12-25T08:46:08
2018-12-25T08:46:08
null
0
0
null
null
null
null
UTF-8
Python
false
false
177
py
from scrapy import cmdline # cmdline.execute('scrapy crawl meinvtu'.split()) cmdline.execute('scrapy crawl meinvtu2'.split()) # cmdline.execute('scrapy crawl meinvtu3'.split())
[ "aaa1058169464@126.com" ]
aaa1058169464@126.com
895f55c73c05abed86e355cd53adbf875d22d6f5
c46ef0ccf030cee783a75d549e3c9bc0810579ff
/tutorial-contents/405_DQN_Reinforcement_learning.py
20fa80cdeeb85f8daeac040cef09380718a56006
[ "MIT" ]
permissive
cocodee/PyTorch-Tutorial
37827b3daa5de1dee6ca174161d948a1933d4453
a7b14b80913485735a3ee87da6998a511a1f1950
refs/heads/master
2021-07-19T16:01:13.106848
2017-10-26T22:06:10
2017-10-26T22:06:10
null
0
0
null
null
null
null
UTF-8
Python
false
false
4,348
py
""" View more, visit my tutorial page: https://morvanzhou.github.io/tutorials/ My Youtube Channel: https://www.youtube.com/user/MorvanZhou More about Reinforcement learning: https://morvanzhou.github.io/tutorials/machine-learning/reinforcement-learning/ Dependencies: torch: 0.2 gym: 0.8.1 numpy """ import torch import...
[ "mz@email.com" ]
mz@email.com
3d2649b1dc0da59e87d9650fdc443d6ac3042872
521efcd158f4c69a686ed1c63dd8e4b0b68cc011
/tests/test_utils/timetables.py
838ecb5323451c89d32a0c27b6e248c5acbe51f3
[ "BSD-3-Clause", "MIT", "Apache-2.0" ]
permissive
coutureai/RaWorkflowOrchestrator
33fd8e253bfea2f9a82bb122ca79e8cf9dffb003
cd3ea2579dff7bbab0d6235fcdeba2bb9edfc01f
refs/heads/main
2022-10-01T06:24:18.560652
2021-12-29T04:52:56
2021-12-29T04:52:56
184,547,783
5
12
Apache-2.0
2022-11-04T00:02:55
2019-05-02T08:38:38
Python
UTF-8
Python
false
false
1,746
py
# Licensed to the Apache Software Foundation (ASF) under one # or more contributor license agreements. See the NOTICE file # distributed with this work for additional information # regarding copyright ownership. The ASF licenses this file # to you under the Apache License, Version 2.0 (the # "License"); you may not u...
[ "noreply@github.com" ]
coutureai.noreply@github.com
615d6cfeafcfe95a0b3e8aefee6f571baf69f697
dc9d2f036ef72f254db5d0ba9e4cc8dcd95aa4aa
/WebCrawler by Bucky.py
f19ac7e98901e43ff512090c967cf9b3627184c6
[]
no_license
YhHoo/Python-Tutorials
d43171a21fb8d51271c66bea6f2566ff3effc832
9774dd5b3f0b9d0126d4a2bcbac347348e914b71
refs/heads/master
2021-09-03T21:23:22.099224
2018-01-12T03:33:23
2018-01-12T03:33:23
110,725,041
0
0
null
null
null
null
UTF-8
Python
false
false
833
py
''' THIS IS BUCKY WEB CRAWLER EXAMPLES ''' ''' HERE PART 1: Fetch all the href link in <a> tag of the page ''' import requests from bs4 import BeautifulSoup def trade_spider(): url = 'http://www.ckmusic.com.my' # parent URL, rmb don't end with '/' source_code = requests.get(url) # connect to the web pa...
[ "hooyuheng@gmail.com" ]
hooyuheng@gmail.com
f246c19999b8be870b9e29f6507c314d5fea8821
5ffc3111779894e3ff161c21933f585acac36721
/2020F_hw6_submissions/shangstacy/StacyShangCh7P2.py
f668df6e9959d44525ae8e081e5c344848bf84ad
[]
no_license
Eric-Wonbin-Sang/CS110Manager
ac9b8efa5179fdc240e60736d685b2e850447b39
31b594b91c8ccd740a7915fb982cc7e7bc280346
refs/heads/main
2023-02-09T13:44:27.628976
2021-01-04T08:25:29
2021-01-04T08:25:29
321,807,341
0
0
null
null
null
null
UTF-8
Python
false
false
1,118
py
# StacyShangCh7P2.py # CS 110 A HW 6 # Stacy Shang # I pledge my honor that I have abided by the Stevens Honor System -Stacy # This program accepts a date and checks whether or not the date is valid def main(): print("This program checks the validity of an inputted date.") date = input("Enter the date in the...
[ "eric.wonbin.sang@gmail.com" ]
eric.wonbin.sang@gmail.com
32cfdd87226d303193c8392e399fa29e2acb19e7
00d7e9321d418a2d9a607fb9376b862119f2bd4e
/sandbox/demo_turtle_undo.py
931cafb0e9c9c9f5496dcd7d5da4abb55455705a
[ "MIT" ]
permissive
baluneboy/pims
92b9b1f64ed658867186e44b92526867696e1923
5a07e02588b1b7c8ebf7458b10e81b8ecf84ad13
refs/heads/master
2021-11-16T01:55:39.223910
2021-08-13T15:19:48
2021-08-13T15:19:48
33,029,780
0
0
null
null
null
null
UTF-8
Python
false
false
217
py
#!/usr/bin/env python from turtle import * for i in range(10): forward(100) left(90) forward(10) left(90) forward(100) right(90) forward(10) right(90) for i in range(30): undo()
[ "none" ]
none
30a4f20cc66cd435aa5f1c61e2618945db9d0dca
ca7aa979e7059467e158830b76673f5b77a0f5a3
/Python_codes/p03775/s238849097.py
e1fbd653ac8d41a71208142afafc985c89f140a4
[]
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
190
py
import math N = int(input()) ans = len(str(N)) for i in range(1, int(math.sqrt(N))+1): if N % i == 0: j = N // i k = max(len(str(i)), len(str(j))) ans = min(ans, k) print(ans)
[ "66529651+Aastha2104@users.noreply.github.com" ]
66529651+Aastha2104@users.noreply.github.com
2257eb1cd70d0cfccc996cfe65d9ed17c6593ca4
8a55bdec478d2fb48508deac13ca3aeeda46fa06
/contrib/devtools/symbol-check.py
4bcbde4f62eeb0412e726b862b311d0049b94f42
[ "MIT", "LicenseRef-scancode-public-domain" ]
permissive
hideoussquid/aureus-core-gui
83b0525e1afa349e0834e1a3baed5534043cd689
ce075f2f0f9c99a344a1b0629cfd891526daac7b
refs/heads/master
2021-01-19T00:04:39.888184
2017-04-04T08:15:18
2017-04-04T08:15:18
87,142,504
0
0
null
null
null
null
UTF-8
Python
false
false
6,191
py
#!/usr/bin/env python # Copyright (c) 2014 Wladimir J. van der Laan # Distributed under the MIT software license, see the accompanying # file COPYING or http://www.opensource.org/licenses/mit-license.php. ''' A script to check that the (Linux) executables produced by gitian only contain allowed gcc, glibc and libstdc++...
[ "thesquid@mac.com" ]
thesquid@mac.com
5012edbc0bc687552fcf3a1bbaf558b0a4f335ae
ac5e52a3fc52dde58d208746cddabef2e378119e
/exps-gsn-edf/gsn-edf_ut=3.5_rd=0.5_rw=0.04_rn=4_u=0.075-0.35_p=harmonic-2/sched=RUN_trial=47/params.py
cfa7029e7fd66ff63cb0e7d697a6e4c827251ce2
[]
no_license
ricardobtxr/experiment-scripts
1e2abfcd94fb0ef5a56c5d7dffddfe814752eef1
7bcebff7ac2f2822423f211f1162cd017a18babb
refs/heads/master
2023-04-09T02:37:41.466794
2021-04-25T03:27:16
2021-04-25T03:27:16
358,926,457
0
0
null
null
null
null
UTF-8
Python
false
false
254
py
{'cpus': 4, 'duration': 30, 'final_util': '3.532381', 'max_util': '3.5', 'periods': 'harmonic-2', 'release_master': False, 'res_distr': '0.5', 'res_nmb': '4', 'res_weight': '0.04', 'scheduler': 'GSN-EDF', 'trial': 47, 'utils': 'uni-medium-3'}
[ "ricardo.btxr@gmail.com" ]
ricardo.btxr@gmail.com
0563ccfcace9c68878dcee8c2ae4a64f1e154969
493ee321c961421eaf1edc38a2de93556b14cc78
/py_scripts/sample_nets_discrete_weights.py
a8adc8e54817405bc3cf38f8eb056085061552af
[]
no_license
guillefix/simpbias-tools
4127b7cb939b301074f30ed480b249e418d2eb2d
76ab7d1fc45b08ff33f61a39ac49d7df72b5f609
refs/heads/master
2020-05-18T12:53:51.388198
2019-05-01T14:46:14
2019-05-01T14:46:14
184,422,339
0
1
null
null
null
null
UTF-8
Python
false
false
6,634
py
import tensorflow as tf import numpy as np # from sklearn.metrics import confusion_matrix # import time # from datetime import timedelta import math from collections import Counter np.set_printoptions(threshold=np.nan) from KC_LZ import calc_KC import pickle import sys #(idx, N) = [int(ar) for ar in sys.argv[1:]] idx...
[ "guillefix@gmail.com" ]
guillefix@gmail.com
70715af74016fb193e1dc17cc87fb1632d93526a
cedf3c65061222b3099852f27dde39ff0dfe492b
/blog/migrations/0006_auto_20200101_2255.py
41d4c082f868854719fb951f9bc736479520f459
[]
no_license
smrkhan123/myblog
1fd87b2c528cb2edccaf3f60c66a8c298774447a
8d0c33fcc74c582f21a32150d3460cce62ad6dd2
refs/heads/master
2020-12-08T21:50:32.352065
2020-01-10T18:23:56
2020-01-10T18:23:56
233,105,398
0
0
null
null
null
null
UTF-8
Python
false
false
353
py
# Generated by Django 2.2.4 on 2020-01-01 17:25 from django.db import migrations class Migration(migrations.Migration): dependencies = [ ('blog', '0005_comment'), ] operations = [ migrations.RenameField( model_name='comment', old_name='comment', new_n...
[ "sk862147@gmail.com" ]
sk862147@gmail.com
146c641d33adeb6defa68ddc3f71c766beb13d5a
fa571a842f04bcbc77ff203a5ed6f6ee776eed6d
/codes/tuple10.py
8744bc79540b217dd7df2fc0a2637049f35feee4
[]
no_license
krishna-rawat-hp/PythonProgramming
b25c0916475724e6d2de4b7d59cf40b5b5e8330b
d24df17ca6aff9271c44ef8c73b80c00cd065ded
refs/heads/master
2023-03-11T19:24:34.529059
2021-02-27T14:09:22
2021-02-27T14:09:22
282,611,873
0
0
null
2020-07-26T10:38:54
2020-07-26T08:52:49
null
UTF-8
Python
false
false
441
py
# Python tuple Built-in function tup1 = (1,2,3,4,5) # Example-1 length of tuple print("Length of tuple: ",len(tup1)) # Example-2 min value in tuple print("Minimum value in tuple: ",min(tup1)) # Example-3 Max value in tuple print("Maximum value in tuple: ",max(tup1)) # Example-4 tuple() method in python tuples str ...
[ "rawatkrishnakant8319@gmail.com" ]
rawatkrishnakant8319@gmail.com
f9ab128fb82107ad73c13d8bff645ad4cfd837d4
2f63688febd21dc3ae6b19abfa79ad313c820154
/AlgoExpert/coding_interview_questions/Dynamic_Programming/Max_Subset_Sum_No_Adjacent.py
35e8fc100f69daaeac1de7c8a7e1b7ba9ce4c161
[]
no_license
novayo/LeetCode
cadd03587ee4ed6e35f60294070165afc1539ac8
54d0b3c237e0ffed8782915d6b75b7c6a0fe0de7
refs/heads/master
2023-08-14T00:35:15.528520
2023-07-30T05:56:05
2023-07-30T05:56:05
200,248,146
8
1
null
2022-11-19T04:37:54
2019-08-02T14:24:19
Python
UTF-8
Python
false
false
387
py
''' main idea: dp time comp: O(n) space comp: O(1) - where n is the length of the input array ''' def maxSubsetSumNoAdjacent(array): # Write your code here. if not array: return 0 if len(array) <= 2: return max(array) a = array[0] b = array[1] c = a + array[2] for i in range(3, len(array)): d = a...
[ "eric_shih@trendmicro.com" ]
eric_shih@trendmicro.com
6098d1665fc44c5b9392cbb7fc9e9de0a2f639aa
c4c159a21d2f1ea0d7dfaa965aeff01c8ef70dce
/flask/flaskenv/Lib/site-packages/tensorflow/python/keras/engine/base_layer_utils.py
9ff1ab45c3de06a9b41edbb8de2197633c8c4ac7
[]
no_license
AhsonAslam/webapi
54cf7466aac4685da1105f9fb84c686e38f92121
1b2bfa4614e7afdc57c9210b0674506ea70b20b5
refs/heads/master
2020-07-27T06:05:36.057953
2019-09-17T06:35:33
2019-09-17T06:35:33
208,895,450
0
0
null
null
null
null
UTF-8
Python
false
false
130
py
version https://git-lfs.github.com/spec/v1 oid sha256:a687562a5029ffbfb9a948ea45a12f73bca931230a551f19634b253752a45fe1 size 21452
[ "github@cuba12345" ]
github@cuba12345
817c752e00db2148a4dd5635779329f98737565d
52a3beeb07ad326115084a47a9e698efbaec054b
/horizon/.venv/lib/python2.7/site-packages/openstackclient/identity/v3/policy.py
74a783b06a575e12b7a843a14ab6debc95d39f85
[ "Apache-2.0" ]
permissive
bopopescu/sample_scripts
3dade0710ecdc8f9251dc60164747830f8de6877
f9edce63c0a4d636f672702153662bd77bfd400d
refs/heads/master
2022-11-17T19:19:34.210886
2018-06-11T04:14:27
2018-06-11T04:14:27
282,088,840
0
0
null
2020-07-24T00:57:31
2020-07-24T00:57:31
null
UTF-8
Python
false
false
5,046
py
# Copyright 2012-2013 OpenStack Foundation # # 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 la...
[ "Suhaib.Chishti@exponential.com" ]
Suhaib.Chishti@exponential.com
f4476ad1cff0d97701afa2544924788af2b900f8
fb909b0716f62ae118afa7d505cbcbd28f62bc63
/main/migrations/0066_auto_20200911_1141.py
1d62edbe74183d9bf7fcc2d790cd66555eadc459
[]
no_license
dkalola/JustAsk-Final
a5b951462cd3c88eb84320bb8fcf10c32f959090
c2e7c2ffae4d3c2d870d5ba5348a6bae62db5319
refs/heads/main
2023-05-24T16:02:17.425251
2021-06-16T19:33:52
2021-06-16T19:33:52
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,049
py
# Generated by Django 3.1.1 on 2020-09-11 11:41 import datetime from django.db import migrations, models import tinymce.models class Migration(migrations.Migration): dependencies = [ ('main', '0065_auto_20200906_1119'), ] operations = [ migrations.AlterField( model_name='ebo...
[ "divyanshukalola88@gmail.com" ]
divyanshukalola88@gmail.com
1863ed33c75a4114a986b15983e8039d257910f5
a80943c82d8723e49f1f88cec90a41051c54b949
/chloe/plots.py
916fcbf5d1cd5bc6274cbbab0cf77c197c9302fa
[]
no_license
munozchris/jacc
decaebec6ed5da0305c16a252138cc79ba0aafaa
f6ea8316c69a8b30f4d77f0f14ae4a9f6613c584
refs/heads/master
2021-01-11T17:11:40.468185
2017-03-14T20:40:12
2017-03-14T20:40:12
79,737,052
0
0
null
null
null
null
UTF-8
Python
false
false
6,349
py
import sqlite3 import matplotlib.pyplot as plt import numpy as np # Helper functions to determine if a departmnent is in a table: def is_dept_in_ex(c, dept): depts_in_ex = c.execute("SELECT DISTINCT Dept FROM e_xTA;").fetchall() depts_in_ex = [entry[0] for entry in depts_in_ex] if dept in depts_in_ex:...
[ "amr@cs.uchicago.edu" ]
amr@cs.uchicago.edu
70524268a8513ee28ba8c529abac584e1da23674
c5c3ee2ac4393e7bdbf61f32677221bef5523973
/src/jk_asyncio_logging/AsyncioMulticastLogger.py
268925e318a8be94b847fbb09df74c97c6f773e7
[ "Apache-2.0" ]
permissive
jkpubsrc/python-module-jk-asyncio-logging
249960382c61353bc0809b77e30312779d3482f2
97b6ca79f8f11353c4b554875e353535d1bbf6fc
refs/heads/master
2022-10-02T03:10:18.771557
2020-01-20T18:38:41
2020-01-20T18:38:41
235,171,209
0
1
null
2022-09-03T13:55:36
2020-01-20T18:37:53
Python
UTF-8
Python
false
false
863
py
import jk_logging from .AsyncioLogWrapper import AsyncioLogWrapper class AsyncioMulticastLogger(AsyncioLogWrapper): @staticmethod def create(*argv): loggers = [] for l in argv: if isinstance(l, AsyncioLogWrapper): loggers.append(l._l) else: assert isinstance(l, jk_logging.AbstractLogger) ...
[ "pubsrc@binary-overflow.de" ]
pubsrc@binary-overflow.de
9822128d048432a0a887770ad6757bcefc3d287d
7b6313d1c4e0e8a5bf34fc8ac163ad446bc69354
/python/[hackerrank]Minimum Height Triangle.py
7f3143c59379db448635a1872d49f9dacbc86239
[]
no_license
menuka-maharjan/competitive_programming
c6032ae3ddcbc974e0e62744989a2aefa30864b2
22d0cea0f96d8bd6dc4d81b146ba20ea627022dd
refs/heads/master
2023-05-01T05:23:09.641733
2021-05-23T16:22:21
2021-05-23T16:22:21
332,250,476
0
0
null
null
null
null
UTF-8
Python
false
false
272
py
#!/bin/python3 import sys import math def lowestTriangle(base, area): x=math.ceil((2*area)/base) return x # Complete this function base, area = input().strip().split(' ') base, area = [int(base), int(area)] height = lowestTriangle(base, area) print(height)
[ "maharjanmenuka8@gmail.com" ]
maharjanmenuka8@gmail.com
097070139417fc16e5f2a0c6fdef23fc212ec909
4f906856e07f82f5d14ddabfd3c00c491d4ce8c8
/diagonal.py
db6d178b8c7d3c44671efdabeb8c983b76e18130
[]
no_license
SoliareofAstora/NumericMethods
d4ce4d6559b9f0fbad72082ca2f2197ea3c1d349
6696a07d0ae45a6f18a44c1257f5631ab78bd859
refs/heads/master
2021-09-05T11:10:18.370598
2018-01-26T20:05:56
2018-01-26T20:05:56
112,853,919
0
0
null
null
null
null
UTF-8
Python
false
false
511
py
# -*- coding: utf-8 -*- """ Created on Sat Dec 2 21:02:09 2017 @author: SoliareOfAstora """ import numpy as np class Diagonal: x = np.array([]) row = 0 def setNumbers(self, rownumber, vector): self.x = vector self.row = rownumber def getNumber(self, rownumber): temp = rownum...
[ "piotr1kucharski@gmail.com" ]
piotr1kucharski@gmail.com
b3ad9085d450b0be9e16f6a891885dfb9b831d08
d9be34d92ec5bfec5756d5310c2e34226d726cb4
/nn/mnist_loader.py
611bbf70f967542ec27724a4dfa39e3107c7a9a6
[]
no_license
Oldpan/manim
43119e4cf0b2d7c17affd66d1f64ce7a6c3bce81
ac079f182a977bf0d830ab7647971b67cf9e5160
refs/heads/master
2021-07-20T11:23:45.752896
2017-10-27T22:12:29
2017-10-27T22:12:29
108,652,804
1
0
null
2017-10-28T13:47:39
2017-10-28T13:47:39
null
UTF-8
Python
false
false
3,532
py
""" mnist_loader ~~~~~~~~~~~~ A library to load the MNIST image data. For details of the data structures that are returned, see the doc strings for ``load_data`` and ``load_data_wrapper``. In practice, ``load_data_wrapper`` is the function usually called by our neural network code. """ #### Libraries # S...
[ "grantsanderson7@gmail.com" ]
grantsanderson7@gmail.com
229bde7a28f796c2b05d06510b721e757b2aa411
1fbf09a5127a87434c8cfe7131f4b5879966cf04
/web/dashboard/controller/project.py
d96b19e04ea25e26e2855f477d372df8b086c182
[ "MIT" ]
permissive
pombredanne/Kunlun-M
cb0495c583e6ae39e168e96341f4fd2cb01d30ae
ab3b3cc843edee6a558a485d89daf944d8fd7f8e
refs/heads/master
2023-08-23T05:58:12.433991
2021-09-30T10:04:04
2021-09-30T10:04:04
null
0
0
null
null
null
null
UTF-8
Python
false
false
4,965
py
#!/usr/bin/env python # encoding: utf-8 ''' @author: LoRexxar @contact: lorexxar@gmail.com @file: project.py @time: 2021/7/20 15:50 @desc: ''' import re import ast from django.contrib.auth.decorators import login_required from django.http import JsonResponse, HttpResponseNotFound from django.views.generic import Te...
[ "lorexxar@gmail.com" ]
lorexxar@gmail.com
b7bb6f433a614f530de7f24c83596e5d1d083e36
84f1fea102aeb2d324e8ad3908e1765d04a0a730
/emails/migrations/0002_sentemail_transaction_event.py
367b922c18a634054c774c56a9edd85a29f73e26
[ "Apache-2.0" ]
permissive
Natsoye/explorer
c205f8eb8d08705c2c4ee4ee45c28f7d0a534b10
638c70204d6001d9c5c56701917a6273a02c90cf
refs/heads/master
2021-08-30T10:42:56.371192
2021-08-17T15:43:04
2021-08-17T15:43:04
181,131,891
2
0
Apache-2.0
2021-08-17T15:43:05
2019-04-13T06:43:15
Python
UTF-8
Python
false
false
526
py
# -*- coding: utf-8 -*- from __future__ import unicode_literals from django.db import models, migrations class Migration(migrations.Migration): dependencies = [ ('emails', '0001_initial'), ('transactions', '0001_initial'), ] operations = [ migrations.AddField( model_...
[ "mflaxman@gmail.com" ]
mflaxman@gmail.com
d6cfbd76a3fdbf59869fa3c44935823a5b1d04e7
37e87b3d5e1ee9009f0ea0671bc0c6edf0e233b7
/162_3.py
a5d822d8c80608bdbd14448d50c484cc6169f703
[]
no_license
Jane11111/Leetcode2021
d9f4987792938597bf89ff72ba6bbcb4a3f9d081
a95b871578aae0103066962c33b8c0f4ec22d0f2
refs/heads/master
2023-07-14T21:29:41.196752
2021-08-23T03:28:02
2021-08-23T03:28:02
344,804,297
2
0
null
null
null
null
UTF-8
Python
false
false
560
py
# -*- coding: utf-8 -*- # @Time : 2021-03-12 10:16 # @Author : zxl # @FileName: 162_3.py class Solution(object): def findPeakElement(self, nums): """ :type nums: List[int] :rtype: int """ i = 0 j = len(nums)-1 while i<=j: if i==j: ...
[ "791057615@qq.com" ]
791057615@qq.com
8737cd2b0d8f72b063a39e23b4cb76f20b2b2e95
64bf39b96a014b5d3f69b3311430185c64a7ff0e
/intro-ansible/venv3/lib/python3.8/site-packages/ansible_collections/arista/eos/tests/unit/modules/network/eos/test_eos_eapi.py
a01bf1eb370a2fdae9d8734baa3d9a7804e49bea
[ "GPL-3.0-or-later", "GPL-3.0-only", "LicenseRef-scancode-unknown-license-reference", "MIT" ]
permissive
SimonFangCisco/dne-dna-code
7072eba7da0389e37507b7a2aa5f7d0c0735a220
2ea7d4f00212f502bc684ac257371ada73da1ca9
refs/heads/master
2023-03-10T23:10:31.392558
2021-02-25T15:04:36
2021-02-25T15:04:36
342,274,373
0
0
MIT
2021-02-25T14:39:22
2021-02-25T14:39:22
null
UTF-8
Python
false
false
6,923
py
# (c) 2016 Red Hat Inc. # # This file is part of Ansible # # Ansible is free software: you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation, either version 3 of the License, or # (at your option) any later version. # # Ansible is dis...
[ "sifang@cisco.com" ]
sifang@cisco.com
3786cda539c2758029469435453faa4ddf75d5b5
9724c8cd81ad39f7f9a2419e2873d7d74cb10c72
/pyabc/external/__init__.py
2cb45567dc2210c4965c2f9d98839dbe36b6260c
[ "BSD-3-Clause" ]
permissive
ICB-DCM/pyABC
36b7fc431fe4ba4b34d80d268603ec410aeaf918
d1542fb201edca86369082e1fc7934995e3d03a4
refs/heads/main
2023-09-01T13:42:52.880878
2023-08-18T16:55:04
2023-08-18T16:55:04
96,995,608
187
49
BSD-3-Clause
2023-08-18T16:55:05
2017-07-12T10:30:10
Python
UTF-8
Python
false
false
871
py
""" .. _api_external: External simulators =================== This module can be used to easily interface pyABC with model simulations, summary statistics calculators and distance functions written in programming languages other than Python. The class :class:`pyabc.external.ExternalHandler`, as well as derived Model...
[ "noreply@github.com" ]
ICB-DCM.noreply@github.com
0a792293e4a77a07abaf9f4e415181af5f8c98e6
0a2f79a4338615113abf34dbd027d6bec762c981
/tries.py
066636c52b3e15a0e99ff4763be6533413bc7248
[]
no_license
SmithChen-364/learngit
d56220cb5902b30b7832f3cdeb4d429c58583d1c
b5202a269d06d745477c146bf0379a5f16a6b585
refs/heads/master
2020-06-20T12:11:19.678310
2019-08-06T07:47:29
2019-08-06T07:47:29
197,118,166
0
0
null
null
null
null
UTF-8
Python
false
false
3,807
py
#tries for search words #tries类 class tries: #根节点root root=None #添加方法 def add(self,word): #如果没有根节点,则将第一个单词的第一个字符添加为根节点, #如果有根节点,从第一个字符开始添加节点 if(not self.root): self.root=self.add_element(word,0,self.root) self.root.parentNode=self.triesNode("root") ...
[ "you@example.com" ]
you@example.com
50efae8cf3c6ae5e6053a7c24c353564133793bc
8b7334be253552c4a2982e3022d211ad8970abf6
/data/migrations/0053_merge_20180615_1859.py
77b069dd59b066015e97cf4ed41046967c32178f
[ "MIT" ]
permissive
Duke-GCB/bespin-api
e5442bf66471bd9469f8094575a1efc00eafc700
cea5c20fb2ff592adabe6ebb7ca934939aa11a34
refs/heads/master
2021-08-16T05:36:25.323416
2019-10-18T15:30:16
2019-10-18T15:30:16
69,596,994
0
3
MIT
2021-06-10T18:55:46
2016-09-29T18:41:56
Python
UTF-8
Python
false
false
333
py
# -*- coding: utf-8 -*- # Generated by Django 1.10.1 on 2018-06-15 18:59 from __future__ import unicode_literals from django.db import migrations class Migration(migrations.Migration): dependencies = [ ('data', '0051_merge_20180615_1758'), ('data', '0052_auto_20180615_1537'), ] operatio...
[ "johnbradley2008@gmail.com" ]
johnbradley2008@gmail.com
8f2a8b1a47778e9fafd036fb9c90ce4733f8b4a4
487ce91881032c1de16e35ed8bc187d6034205f7
/codes/CodeJamCrawler/16_2_1/branyine/2016_round1B_A.py
3a2e46214d97bb27396b00187e8aa2574f9e2376
[]
no_license
DaHuO/Supergraph
9cd26d8c5a081803015d93cf5f2674009e92ef7e
c88059dc66297af577ad2b8afa4e0ac0ad622915
refs/heads/master
2021-06-14T16:07:52.405091
2016-08-21T13:39:13
2016-08-21T13:39:13
49,829,508
2
0
null
2021-03-19T21:55:46
2016-01-17T18:23:00
Python
UTF-8
Python
false
false
1,790
py
# link: https://code.google.com/codejam/contest/dashboard?c= #s=p0 import string import time testIndex=2 problemRoot="d:/prog/versenyek/googlejam" problemDir="2016/round1B" problemName="A" inputFiles= ["-example.in", "-small.in", "-large.in"] outputFiles=["-example.out", "-small.out", "-large.out"] ...
[ "[dhuo@tcd.ie]" ]
[dhuo@tcd.ie]