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
5f3cfb719b58e5c7c05e33d5bb548c5f0a306fa7
5168da0fb501135a3c86e4e95679f54a825d69d0
/openquake/hazardlib/tests/gsim/allen_2012_test.py
72173ea3d3ef0d060765778b3e310674efae37b0
[ "AGPL-3.0-only", "BSD-3-Clause" ]
permissive
GFZ-Centre-for-Early-Warning/shakyground
266b29c05ea2cfff6d9d61f21b5114282c6fa117
0da9ba5a575360081715e8b90c71d4b16c6687c8
refs/heads/master
2023-06-01T21:41:11.127323
2018-10-09T10:31:48
2018-10-09T10:31:48
144,732,068
1
3
BSD-3-Clause
2019-11-18T07:58:49
2018-08-14T14:32:50
Python
UTF-8
Python
false
false
1,264
py
# -*- coding: utf-8 -*- # vim: tabstop=4 shiftwidth=4 softtabstop=4 # # Copyright (C) 2013-2018 GEM Foundation # # OpenQuake is free software: you can redistribute it and/or modify it # under the terms of the GNU Affero General Public License as published # by the Free Software Foundation, either version 3 of the Licen...
[ "mhaas@gfz-potsdam.de" ]
mhaas@gfz-potsdam.de
2d9bba4e31f58ea55ec61a6c6c7285e3cf7e8ec9
868cd4895a8da17a7e3e2c8da0ec9e139f8d0c30
/model/sample/fashion/keras_fashion_save.py
db5946f50bb4623f6d9dbc90553ff5c81a33419f
[]
no_license
inJAJA/Study
35d4e410df7b476a4c298664bb99ce9b09bf6296
c2fd9a1e1f3a31cb3737cbb4891d848cc802f1d4
refs/heads/master
2022-12-21T11:41:15.396610
2020-09-20T23:51:45
2020-09-20T23:51:45
263,212,524
3
3
null
null
null
null
UTF-8
Python
false
false
2,958
py
# 과제 2 # Sequential형으로 완성하시오. # 하단에 주석으로 acc와 loss결과 명시하시오 import numpy as np import matplotlib.pyplot as plt from keras.models import Sequential from keras.layers import Dense, Conv2D, MaxPooling2D, Flatten, Dropout from keras.utils.np_utils import to_categorical #1. data from keras.datasets import fashion_mnist (x_...
[ "zaiin4050@gmail.com" ]
zaiin4050@gmail.com
b8e678aa7a01cca1f318838b5736d392d887983e
acb8e84e3b9c987fcab341f799f41d5a5ec4d587
/langs/8/u4d.py
fea3d8e9b6fc7c7ead651484efac64ab7081ee84
[]
no_license
G4te-Keep3r/HowdyHackers
46bfad63eafe5ac515da363e1c75fa6f4b9bca32
fb6d391aaecb60ab5c4650d4ae2ddd599fd85db2
refs/heads/master
2020-08-01T12:08:10.782018
2016-11-13T20:45:50
2016-11-13T20:45:50
73,624,224
0
1
null
null
null
null
UTF-8
Python
false
false
486
py
import sys def printFunction(lineRemaining): if lineRemaining[0] == '"' and lineRemaining[-1] == '"': if len(lineRemaining) > 2: #data to print lineRemaining = lineRemaining[1:-1] print ' '.join(lineRemaining) else: print def main(fileName): with open(fileName) as f: for line in f: ...
[ "juliettaylorswift@gmail.com" ]
juliettaylorswift@gmail.com
ce28bd933d914f1600d5282107cdfeb974612c7c
b823e499ce70d3470f91605c3621248b08069fd8
/test/ci_tests/utests.py
67affd5985a01680a567c2614236dad06d5f6cf7
[ "Apache-2.0" ]
permissive
bbonenfant/wrf-python
6c6e90b88f56fdbb9a82a52fb0cdab72b6058d22
5fe8d3f4e409e94f42bb94716450e56c8e7212d8
refs/heads/develop
2020-04-17T19:14:06.127323
2019-01-21T18:33:36
2019-01-21T18:33:36
166,858,996
0
0
NOASSERTION
2019-01-21T18:33:21
2019-01-21T18:14:03
Python
UTF-8
Python
false
false
10,366
py
import unittest as ut import numpy.testing as nt import numpy as np import numpy.ma as ma import os, sys import subprocess from wrf import (getvar, interplevel, interpline, vertcross, vinterp, disable_xarray, xarray_enabled, to_np, xy_to_ll, ll_to_xy, xy_to_ll_proj, ll_to_xy_proj, ...
[ "ladwig@ucar.edu" ]
ladwig@ucar.edu
610c90abeea73d06318c9768d6a3ccd4ee7ca167
e0980f704a573894350e285f66f4cf390837238e
/.history/streams/blocks_20201029154124.py
144d082f653b6fb9010adafaf907c6ceb91d68c2
[]
no_license
rucpata/WagtailWebsite
28008474ec779d12ef43bceb61827168274a8b61
5aa44f51592f49c9a708fc5515ad877c6a29dfd9
refs/heads/main
2023-02-09T15:30:02.133415
2021-01-05T14:55:45
2021-01-05T14:55:45
303,961,094
0
0
null
null
null
null
UTF-8
Python
false
false
3,711
py
from django import forms from wagtail.core import blocks from wagtail.images.blocks import ImageChooserBlock from wagtail.contrib.table_block.blocks import TableBlock class TitleBlock(blocks.StructBlock): text = blocks.CharBlock( required = True, elp_text='Tekst do wyświetlenia', ) class ...
[ "rucinska.patrycja@gmail.com" ]
rucinska.patrycja@gmail.com
485bef81f64f6243691a9ec5a7e5c712d0c9c91b
bcaaf8535f639be14558216fb45cab6b4635895b
/list/020 Majority Element Efficient.py
135fa26b6bac2c4e9bf494cf366e22bffaa22a8e
[]
no_license
RavinderSinghPB/Data-Structure-And-Algorithm-Python
7f3b61216318e58eb58881d5181561d8e06b092b
12a126803f4c6bee0e6dbd380604f703cf678de4
refs/heads/main
2023-01-25T03:47:16.264926
2020-12-02T04:45:02
2020-12-02T04:45:02
316,112,953
0
0
null
null
null
null
UTF-8
Python
false
false
546
py
def findMajority(arr, n): res = 0 count = 1 for i in range(1, n): if arr[res] == arr[i]: count += 1 else: count -= 1 if count == 0: res = i count = 1 count = 0 for i in range(0, n): if arr[res] == arr[i]: ...
[ "ravindersingh.gfg@gmail.com" ]
ravindersingh.gfg@gmail.com
187a0a5b1b63e6fb5ecdf4a16d709fada04e53b2
f9d564f1aa83eca45872dab7fbaa26dd48210d08
/huaweicloud-sdk-dataartsstudio/huaweicloudsdkdataartsstudio/v1/model/create_workspace_params.py
69a6d3bae31e48ef092dcf6aae5927f4f94f6316
[ "Apache-2.0" ]
permissive
huaweicloud/huaweicloud-sdk-python-v3
cde6d849ce5b1de05ac5ebfd6153f27803837d84
f69344c1dadb79067746ddf9bfde4bddc18d5ecf
refs/heads/master
2023-09-01T19:29:43.013318
2023-08-31T08:28:59
2023-08-31T08:28:59
262,207,814
103
44
NOASSERTION
2023-06-22T14:50:48
2020-05-08T02:28:43
Python
UTF-8
Python
false
false
6,989
py
# coding: utf-8 import six from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization class CreateWorkspaceParams: """ Attributes: openapi_types (dict): The key is attribute name and the value is attribute type. attribute_map (dict): The key is attrib...
[ "hwcloudsdk@huawei.com" ]
hwcloudsdk@huawei.com
5a55cace1700df5eeea3d479465e72d438fb341c
2cd86616a2d29b2a19ddb906c5216ed7a48d2208
/biobb_vs/gromacs_wrapper/genion.py
83452c81f210fea238442bc7e2bbbfc922723b74
[ "Apache-2.0" ]
permissive
bioexcel/biobb_vs_alpha
e0c8ab1bad864bd3a87cafa1ee7f6eddc50ee3ae
5a7403bad0935ee4380c377d930bd24967770501
refs/heads/master
2021-09-26T00:24:15.473393
2018-10-26T12:57:16
2018-10-26T12:57:16
null
0
0
null
null
null
null
UTF-8
Python
false
false
4,457
py
#!/usr/bin/env python """Python wrapper for the GROMACS genion module """ import sys import json import configuration.settings as settings from command_wrapper import cmd_wrapper from tools import file_utils as fu class Genion(object): """Wrapper for the 5.1.2 version of the genion module Args: input_...
[ "andriopau@gmail.com" ]
andriopau@gmail.com
f78acc475c7f7428db7e6c915fe5f87224ca1fd2
1e177ebdcb470f738c058606ac0f86a36085f661
/Python/AdafruitIO/PublishMQTT.py
4768892f13f10590fc92c6a35aa4d873ecebd641
[]
no_license
robingreig/raspi-git
5cbdd295c1048a0571aa2c2f8576438269439f07
7373bf94557d7a88c8f343362ba64f9cd19c8ce7
refs/heads/master
2023-08-31T03:16:17.286700
2023-08-26T11:54:23
2023-08-26T11:54:23
16,873,881
2
0
null
null
null
null
UTF-8
Python
false
false
232
py
#!/usr/bin/python import paho.mqtt.publish as publish import time print("Sending 0...") publish.single("ledStatus", "0", hostname="raspi13") time.sleep(1) print("Sending 1...") publish.single("ledStatus", "1", hostname="raspi13")
[ "robin.greig@calalta.com" ]
robin.greig@calalta.com
7b709a119701579dbcb5028cb79c513adfa97765
f1fcd165cd8444310ce5d201e481e3982dc28110
/easy/1901/190114/jang.py
bdbf8e0098b135c5249f6bb41fd103aac1ca0c6f
[]
no_license
JoosJuliet/algoStudy
310a71a0fcc8f3c23281544cf3458ed999040176
3fc1e850f9d8b9f290f41fddd59ff403fbfffa05
refs/heads/master
2020-04-20T19:26:25.485875
2019-03-27T22:37:27
2019-03-27T22:37:27
169,049,593
1
0
null
2019-02-04T08:43:07
2019-02-04T08:43:07
null
UTF-8
Python
false
false
264
py
d, m, y = map(int, input().split()) d2, m2, y2 = map(int, input().split()) fine = 0 if y - y2 > 0: fine += (y-y2)*10000 elif y - y2 == 0 and m - m2 > 0: fine += (m-m2)*500 elif y - y2 == 0 and m - m2 == 0 and d - d2 > 0: fine += (d-d2)*15 print(fine)
[ "wkdtjsgur100@naver.com" ]
wkdtjsgur100@naver.com
bb176b48ac2cd265804ea129251c713845c40005
42aa9bb3d11a191c37c83674f43950569027b664
/tests/test_log.py
c70839536656e1ada7a9347434fe085e2c17f9eb
[ "Apache-2.0", "MIT" ]
permissive
microsoft/WAFBench
b594d6d51d3c9ae3babc9b45f8bdf1b392ccba96
a09a0025a72d82ad880df32f5e0bbad55276fe01
refs/heads/master
2023-09-02T05:46:01.623055
2022-09-08T15:16:47
2022-09-08T15:16:47
138,645,963
79
21
MIT
2022-09-08T15:16:48
2018-06-25T20:23:14
C
UTF-8
Python
false
false
7,610
py
from ftw_compatible_tool import log from ftw_compatible_tool import broker from ftw_compatible_tool import context from ftw_compatible_tool import traffic _TEST_MODSECURITY_LOG = ''' 2019/04/11 19:20:46 [error] 392#392: [client 172.17.0.1] ModSecurity: collection_store_ex_origin: Failed to access DBM file "/var/log/m...
[ "noreply@github.com" ]
microsoft.noreply@github.com
8a974657debbb33dd868b65d2757c458567a3ffd
b0a162b1db3004b30cd735500971edea39e775ed
/wave1/Labs/Lab1of2.2.py
eec6582f29a7c4c13c1223c12938dc4853b6c6c6
[]
no_license
geofferyj/WEJAPA_INTERNSHIP
40da98c335affbbaf74d018d8a2f38fb30183f10
92a101d0280e0f732dc3cfd8727e436de86cdb62
refs/heads/master
2022-12-08T04:40:18.627904
2020-08-16T07:39:51
2020-08-16T07:39:51
286,264,965
0
0
null
null
null
null
UTF-8
Python
false
false
951
py
#Quiz: Assign and Modify Variables #Now it's your turn to work with variables. The comments in this quiz (the lines that begin with #) have instructions for creating and modifying variables. After each comment write a line of code that implements the instruction. #Note that this code uses scientific notation to define...
[ "geofferyjoseph1@gmail.com" ]
geofferyjoseph1@gmail.com
45f625839b142e095671acdb09a4ea53a6a605a6
92a0977e694e49ca70adbcaaa0fd6a66576f85e6
/blog/migrations/0001_initial.py
d46ac7e7b66d02b5a4f68a2609c3a3a894175958
[]
no_license
Melody1992/my-first-blog
9ca6cbf8f47257b1d7d12af98d8797cb3d3f2972
40e44bcc48883626e6ecc34417ded1aa7de12d08
refs/heads/master
2021-01-20T12:16:45.719637
2017-08-29T10:00:44
2017-08-29T10:00:44
101,709,681
0
0
null
null
null
null
UTF-8
Python
false
false
1,051
py
# -*- coding: utf-8 -*- # Generated by Django 1.11.4 on 2017-08-29 09:13 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 depe...
[ "you@example.com" ]
you@example.com
195d63b02681ad0d2d5fb06c1b8351574c2a7ff4
59f8e783abe9949cf9e9aef5936d2349f7df7414
/methyl/ma_analysis/epigenotyping-old/decodingpath.py
026184ea4b5bc9b8fb3a55161e1cddb4b2520f1d
[]
no_license
bhofmei/analysis-scripts
c4d8eafde2834b542c71c305e66c4e6f8a6e2c57
189bf355f0f878c5603b09a06b3b50b61a11ad93
refs/heads/master
2021-01-17T17:26:30.799097
2019-10-27T12:49:10
2019-10-27T12:49:10
56,076,808
2
1
null
null
null
null
UTF-8
Python
false
false
5,397
py
### Decoding types ### import pandas as pd import numpy as np import math class DecodePath: ''' Base class for decoding types ''' def __init__( self, df, transMat ): # n bins, m states self.labels = np.array( ['mother', 'MPV', 'father'] ) self.data = df # n x m self.transitions = transMat # fraction probs n...
[ "bhofmei@gmail.com" ]
bhofmei@gmail.com
1b371ce2d76c8b9c0dafca699c63800a51a7d093
4d4fcde3efaa334f7aa56beabd2aa26fbcc43650
/server/src/uds/migrations/0037_service_token.py
95647ca5e24fc6567d3090492d73e90580495ee2
[]
no_license
xezpeleta/openuds
a8b11cb34eb0ef7bb2da80f67586a81b2de229ef
840a7a02bd7c9894e8863a8a50874cdfdbf30fcd
refs/heads/master
2023-08-21T17:55:48.914631
2021-10-06T10:39:06
2021-10-06T10:39:06
414,489,331
1
0
null
null
null
null
UTF-8
Python
false
false
430
py
# Generated by Django 3.0.3 on 2020-02-08 18:37 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('uds', '0036_auto_20200131_1224'), ] operations = [ migrations.AddField( model_name='service', name='token', ...
[ "dkmaster@dkmon.com" ]
dkmaster@dkmon.com
f2bdcb2ebe82957a5b18e994bc9df717a42e7ea2
99a4d88d2004bad1e9e79f92c33a9ab1eb5644c4
/Solution/BOJ/11286 절댓값 힙.py
94741ae799a6f6a4b3acd56a64aeef4332d76e6b
[]
no_license
ginger-kang/Problem-Solving
cb64a4f6a0275419fe7be67fb50a9eb48e4b5869
1fc074d39a47a416d990e6e3b95a6c9f62a838f7
refs/heads/master
2023-08-14T13:54:00.706663
2021-09-10T11:39:16
2021-09-10T11:39:16
255,123,394
0
0
null
null
null
null
UTF-8
Python
false
false
278
py
import heapq import sys input = sys.stdin.readline N = int(input()) q = [] for _ in range(N): x = int(input()) if x != 0: heapq.heappush(q, (abs(x), x)) else: if not len(q): print(0) else: print(heapq.heappop(q)[1])
[ "kdhoon07@gmail.com" ]
kdhoon07@gmail.com
4eda55367dffe239294e5f2e103ff3db01021f09
30fe7671b60825a909428a30e3793bdf16eaaf29
/.metadata/.plugins/org.eclipse.core.resources/.history/18/e08b59a165fa00161174a93fd5908e78
4f3868130d32db869552206dcc0d483e87aa16e2
[]
no_license
abigdream84/PythonStudy
0fc7a3b6b4a03a293b850d0ed12d5472483c4fb1
059274d3ba6f34b62ff111cda3fb263bd6ca8bcb
refs/heads/master
2021-01-13T04:42:04.306730
2017-03-03T14:54:16
2017-03-03T14:54:16
79,123,274
0
0
null
null
null
null
UTF-8
Python
false
false
5,174
#!/usr/bin/env python #coding:UTF-8 from audit_demo.utility.MySqlHelper import MySqlHelper class s_g_u_relation(object): def __init__(self): self.__helper = MySqlHelper() def get_uid(self,username): sql = 'select u_id from u_table where u_name = %s' try: u_id = self._...
[ "abigdream@hotmail.com" ]
abigdream@hotmail.com
47f6bad4ec08b075bab3d5983b0dee9335efe10b
ab11444273824fb46eac78d7f3dd532ae65e3bf3
/doc/conf.py
7d97517b8acb380b0f9be389abd16b9fa6517b2e
[ "MIT" ]
permissive
firasm/sphinx-comments
30f2d262a723ca11e7e53f153506ee926d52e3b1
25db7a450af426fd898c4b1f8c656c786f37ca8c
refs/heads/master
2022-12-01T21:40:05.283906
2020-08-10T17:00:26
2020-08-10T17:00:26
null
0
0
null
null
null
null
UTF-8
Python
false
false
5,365
py
# -*- coding: utf-8 -*- # # Configuration file for the Sphinx documentation builder. # # This file does only contain a selection of the most common options. For a # full list see the documentation: # http://www.sphinx-doc.org/en/master/config # -- Path setup ------------------------------------------------------------...
[ "choldgraf@berkeley.edu" ]
choldgraf@berkeley.edu
b654052281e54dfedd953387d9a22ef9cbba28f0
a2b598d8e89c1755f683d6b6fe35c3f1ef3e2cf6
/past_archive/swexpert/3499(perfectShuffle).py
d2712767eb99f3281392018895df8ae2b11d6d43
[ "MIT" ]
permissive
DongHyunByun/algorithm_practice
cbe82606eaa7f372d9c0b54679bdae863aab0099
dcd595e6962c86f90f29e1d68f3ccc9bc673d837
refs/heads/master
2022-09-24T22:47:01.556157
2022-09-11T07:36:42
2022-09-11T07:36:42
231,518,518
0
0
null
null
null
null
UTF-8
Python
false
false
398
py
for t in range(int(input())): N=int(input()) L=input().split() print(f"#{t+1}",end="") if N%2==0: k=int(N/2) for i in range(k): print("",L[i],end="") print("",L[i+k],end="") print("") else: K=int(N/2) for i in range(K): prin...
[ "ngoodsamari@naver.com" ]
ngoodsamari@naver.com
a2ae2488e7f512cc79d0aa7a2686667f739a5498
f0a14b961cd74f4193c760b1b27e52dc14698de0
/lib/python2.7/site-packages/commondata/be/oostvlaanderen.py
694fe5bd9fd4360b585a2021ff5d3dbdfa886669
[]
no_license
miller2082/lino_polls
d4aa81c9c066f783739b200951fcb11ef2b93382
511e87699c71a8980e156a549ba87e066fd61091
refs/heads/master
2021-01-15T18:53:38.142552
2017-02-01T13:25:08
2017-02-01T13:25:08
78,850,514
0
0
null
null
null
null
UTF-8
Python
false
false
15,202
py
# -*- coding: UTF-8 -*- # Copyright 2014 Luc Saffre # This file is part of the commondata library. # The commondata library 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...
[ "jmillerconcom@gmail.com" ]
jmillerconcom@gmail.com
6d5e2b8faed3400b9be9ec71c62c78e65f70c8c5
9b36652dafb58888b7a584806ee69a33fcb609d5
/objutils/tests/testTek.py
d26b7c1df514a10fceac180155a4ecf70ca605da
[]
no_license
pySART/objutils
db33e4576cf68111cb4debbafec06a0204844938
5ba4631b2245caae80d4dbe0053db0f2706ba53f
refs/heads/master
2020-06-29T03:35:24.485977
2016-11-21T14:21:56
2016-11-21T14:21:56
74,451,500
5
2
null
2016-11-22T08:36:10
2016-11-22T08:36:10
null
UTF-8
Python
false
false
961
py
#!/usr/bin/env python # -*- coding: utf-8 -*- from objutils import loads, dumps from objutils.section import Section from objutils.image import Image, Builder import unittest TEK = b"""/B000100C576F77212044696420796F7520726561A5 /B010100D6C6C7920676F207468726F7567682061C1 /B020100E6C6C20746861742074726F75626C6520AF ...
[ "cpu12.gems@googlemail.com" ]
cpu12.gems@googlemail.com
10b2e78bdd20211096522dfd8c9647defebbde56
78cb6dadc7599e01b078682b175f21be673ed199
/438. Find All Anagrams in a String.py
6cc8986e066d54440059175d3e147ddeb642285b
[]
no_license
AlexWufan/leetcode-python
5cf5f13dbc7d1e425fde646df618e50c488fa79f
435323a9fcea6a4d09266785e88fb78735e0cc3e
refs/heads/master
2021-01-13T00:49:49.870468
2018-04-13T18:44:19
2018-04-13T18:44:19
51,347,271
0
0
null
null
null
null
UTF-8
Python
false
false
892
py
class Solution(object): def findAnagrams(self, s, p): """ :type s: str :type p: str :rtype: List[int] """ output = [] d= {} pdic = {} if len(s) < len(p): return output window = s[0:len(p)] window = list(window) for x in ...
[ "mengnanszw@gmail.com" ]
mengnanszw@gmail.com
13e08c57c264da4490caff5851d599862f2ad5e9
665d16b4042b7e3e632c9fdf227f0c875f5ec4a1
/venv/bin/easy_install-2.7
cb2c773053201facbdee101928d9870f82d1a1f3
[]
no_license
mutaihillary/raspberry-pi
f6a3a77d88cfd2e744ca555d0145a6193e90d887
07bfc3e7322ef808fa8fa85cd288fc39bed4a4bb
refs/heads/master
2020-12-31T07:18:56.200274
2016-09-16T15:09:17
2016-09-16T15:09:17
67,683,488
0
0
null
null
null
null
UTF-8
Python
false
false
266
7
#!/home/kipkoech/Repos/raspberry-pi/venv/bin/python # -*- coding: utf-8 -*- import re import sys from setuptools.command.easy_install import main if __name__ == '__main__': sys.argv[0] = re.sub(r'(-script\.pyw|\.exe)?$', '', sys.argv[0]) sys.exit(main())
[ "mutaihillary@yahoo.com" ]
mutaihillary@yahoo.com
6331faf2779685d448c3fd00e25cd3fe87609f67
2173909e5a0a87d72f86f2805e602c1d73e07568
/w3af-repo/w3af/core/controllers/misc/number_generator.py
ed8d1c1c56f485f8ad42374fc8ff73a1121aadf2
[]
no_license
ZenSecurity/w3af-module
78d603ed076f879b8bd280c0bf3382d153aaacec
13967bffaa211fe7f793204796802f1a5967f1d7
refs/heads/master
2021-01-15T13:48:24.183830
2016-08-05T13:09:49
2016-08-05T13:09:49
40,010,219
2
0
null
null
null
null
UTF-8
Python
false
false
1,518
py
""" number_generator.py Copyright 2009 Andres Riancho This file is part of w3af, http://w3af.org/ . w3af 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 version 2 of the License. w3af is distributed in the hope...
[ "andres.riancho@gmail.com" ]
andres.riancho@gmail.com
33e9c5a127191634c357502c02ba4bb43a209411
e4616ae545872442f24b35e46d76d351edab22b0
/test/sql/test_select.py
4c00cb53c790e5d8c3c31a9b4e420e04e1325ebc
[ "MIT" ]
permissive
StefanosChaliasos/sqlalchemy
0915d5fb66420eaf5dbb3468ed4a2c283f8802c0
8c228be322023041b11691d93dafa1be090f01a0
refs/heads/master
2022-12-05T02:43:43.684766
2020-08-26T13:12:24
2020-08-26T13:12:24
290,499,121
0
1
MIT
2020-08-26T13:08:17
2020-08-26T13:08:17
null
UTF-8
Python
false
false
7,070
py
from sqlalchemy import Column from sqlalchemy import exc from sqlalchemy import ForeignKey from sqlalchemy import Integer from sqlalchemy import MetaData from sqlalchemy import select from sqlalchemy import String from sqlalchemy import Table from sqlalchemy import tuple_ from sqlalchemy.sql import column from sqlalche...
[ "mike_mp@zzzcomputing.com" ]
mike_mp@zzzcomputing.com
9509c638c0f00031012f7d8b3195c967ca88f329
2a2ce1246252ef6f59e84dfea3888c5a98503eb8
/examples/introduction.to.programming.with.turtle/for_all/3-4-4.flower.py
917b9cc24fd5d2ca8f82570037dad0dd7ee82e1b
[ "BSD-3-Clause" ]
permissive
royqh1979/PyEasyGraphics
c7f57c1fb5a829287e9c462418998dcc0463a772
842121e461be3273f845866cf1aa40c312112af3
refs/heads/master
2021-06-11T10:34:03.001842
2021-04-04T10:47:52
2021-04-04T10:47:52
161,438,503
8
4
BSD-3-Clause
2021-04-04T10:47:53
2018-12-12T05:43:31
Python
UTF-8
Python
false
false
337
py
from easygraphics.turtle import * def main(): create_world(800, 600) set_speed(400) for i in range(6): for j in range(60): fd(3) rt(1) rt(120) for j in range(60): fd(3) rt(1) rt(120) rt(60) pause() close_world(...
[ "royqh1979@gmail.com" ]
royqh1979@gmail.com
4f676bf12515b70baea4496e48da040e19db6938
0dca74ba205f42b38c1d1a474350e57ff78352b4
/Geometry/HGCalGeometry/test/python/testHGCalNeighbor_cfg.py
2fa941f4241557585e83e0bb0e699de4e83df2f8
[ "Apache-2.0" ]
permissive
jaimeleonh/cmssw
7fd567997a244934d6c78e9087cb2843330ebe09
b26fdc373052d67c64a1b5635399ec14525f66e8
refs/heads/AM_106X_dev
2023-04-06T14:42:57.263616
2019-08-09T09:08:29
2019-08-09T09:08:29
181,003,620
1
0
Apache-2.0
2019-04-12T12:28:16
2019-04-12T12:28:15
null
UTF-8
Python
false
false
1,732
py
import FWCore.ParameterSet.Config as cms from Configuration.StandardSequences.Eras import eras process = cms.Process("PROD",eras.Phase2C4) process.load("SimGeneral.HepPDTESSource.pdt_cfi") process.load("Configuration.Geometry.GeometryExtended2023D28Reco_cff") process.load('Configuration.StandardSequences.MagneticFiel...
[ "sunanda.banerjee@cern.ch" ]
sunanda.banerjee@cern.ch
11ae87bb61dbbdaf88257bb33a9cffad4e4b2702
a38180435ac5786185c0aa48891c0aed0ab9d72b
/S4/S4 Decompiler/decompyle3/parsers/reducecheck/not_or_check.py
91f0417f69f9a07e915508dd197ca8319a38c9a4
[ "CC-BY-4.0" ]
permissive
NeonOcean/Environment
e190b6b09dd5dbecba0a38c497c01f84c6f9dc7d
ca658cf66e8fd6866c22a4a0136d415705b36d26
refs/heads/master
2022-12-03T13:17:00.100440
2021-01-09T23:26:55
2021-01-09T23:26:55
178,096,522
1
1
CC-BY-4.0
2022-11-22T20:24:59
2019-03-28T00:38:17
Python
UTF-8
Python
false
false
1,598
py
# Copyright (c) 2020 Rocky Bernstein def not_or_check( self, lhs: str, n: int, rule, ast, tokens: list, first: int, last: int ) -> bool: # Note (exp1 and exp2) and (not exp1 or exp2) are close, especially in # an control structure like an "if". # "exp1 and exp2": # exp1; POP_JUMP_IF_FALSE endi...
[ "40919586+NeonOcean@users.noreply.github.com" ]
40919586+NeonOcean@users.noreply.github.com
0350c795fa887e71cffc61e9518bb61ec12bd3d0
4b41a76c5c366ba2daa30843acea16609b8f5da7
/2017/21/AoC17_21_1.py
74d5bfb689ee820e1ec5834706e68b017c97dce6
[]
no_license
grandfoosier/AdventOfCode
c4706cfefef61e80060cca89b0433636e42bf974
a43fdd72fe4279196252f24a4894500a4e272a5d
refs/heads/master
2020-06-11T12:36:48.699811
2019-01-14T23:44:44
2019-01-14T23:44:44
75,665,958
1
0
null
null
null
null
UTF-8
Python
false
false
7,995
py
class Art(object): def __init__(self): fname = "AoC17_21_1.txt" self.rules = [line.rstrip("\n").split() for line in open(fname)] self.lkup = [i[0] for i in self.rules] self.grid = ['.#.','..#','###'] def _twfh(self, s): return (s[1] + s[0] + '/' + # 01 -> 10 ...
[ "noreply@github.com" ]
grandfoosier.noreply@github.com
fad51eb5f3e5f98fc3c8c6f2df4c0bf604c80a66
e0ef688e339e6f4a68382d821d159185e4297628
/rhodopsin/experiment_base.py
bcbc827fdccc8fee442bc7d768722f86188783e1
[ "MIT" ]
permissive
djpetti/rhodopsin
bc11befcc5e90e29705d74ab59e1405586df998b
97bdb9a6ba3c29b1fe1dd1e60b0b41e5a247ccf1
refs/heads/master
2021-07-01T08:00:21.414567
2019-05-18T21:39:36
2019-05-18T21:39:36
147,679,754
0
0
null
null
null
null
UTF-8
Python
false
false
4,528
py
import abc import os import signal from . import menu from . import params class ExperimentBase(abc.ABC): """ Base class for experiments that defines the API. """ def __init__(self, save_file="experiment.rhp", hyperparams=None, status=None): """ Args: save_file: Fi...
[ "djpetti@gmail.com" ]
djpetti@gmail.com
507c7a2c804bb7e49d3d43b11b73884c2d80ed71
82b946da326148a3c1c1f687f96c0da165bb2c15
/sdk/python/pulumi_azure_native/network/v20180401/traffic_manager_user_metrics_key.py
6a8b7be397ddbe4a0f2f1fb0d12eca8f2972edca
[ "BSD-3-Clause", "Apache-2.0" ]
permissive
morrell/pulumi-azure-native
3916e978382366607f3df0a669f24cb16293ff5e
cd3ba4b9cb08c5e1df7674c1c71695b80e443f08
refs/heads/master
2023-06-20T19:37:05.414924
2021-07-19T20:57:53
2021-07-19T20:57:53
387,815,163
0
0
Apache-2.0
2021-07-20T14:18:29
2021-07-20T14:18:28
null
UTF-8
Python
false
false
5,274
py
# coding=utf-8 # *** WARNING: this file was generated by the Pulumi SDK Generator. *** # *** Do not edit by hand unless you're certain you know what you are doing! *** import warnings import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload from ... import _utilities __...
[ "noreply@github.com" ]
morrell.noreply@github.com
ae4858ddf9b7ff0bb77dffc2a48b39cb7643782b
0b01cb61a4ae4ae236a354cbfa23064e9057e434
/alipay/aop/api/domain/KoubeiQualityTestCloudacptItemQueryModel.py
bbc02ad96b03b678a8fa106974b1af53977ddacb
[ "Apache-2.0" ]
permissive
hipacloud/alipay-sdk-python-all
e4aec2869bf1ea6f7c6fb97ac7cc724be44ecd13
bdbffbc6d5c7a0a3dd9db69c99443f98aecf907d
refs/heads/master
2022-11-14T11:12:24.441822
2020-07-14T03:12:15
2020-07-14T03:12:15
277,970,730
0
0
Apache-2.0
2020-07-08T02:33:15
2020-07-08T02:33:14
null
UTF-8
Python
false
false
2,209
py
#!/usr/bin/env python # -*- coding: utf-8 -*- import json from alipay.aop.api.constant.ParamConstants import * class KoubeiQualityTestCloudacptItemQueryModel(object): def __init__(self): self._activity_id = None self._batch_id = None self._pid = None self._uid = None @proper...
[ "liuqun.lq@alibaba-inc.com" ]
liuqun.lq@alibaba-inc.com
2aa1abfe9c766dd05c3b82d22bb3d5e20a3d7ec2
039c2e60b859d88bb686c0e66bc6dab2ab723b8e
/apps/door_limits/migrations/0003_auto_20191024_1554.py
ec0156b7c63c8b53f585a6b765b18fe2dccfcca7
[]
no_license
ccc-0/ECS
850613971e4c6fd9cbb6ddcbe2c51b5285d622ac
ef4d69cb4c6fd1b1bbd40ba9c754c8e50c56d8ee
refs/heads/master
2020-09-13T21:50:42.033517
2020-02-13T03:47:10
2020-02-13T03:47:10
222,913,137
1
1
null
null
null
null
UTF-8
Python
false
false
437
py
# Generated by Django 2.2.6 on 2019-10-24 15:54 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('door_limits', '0002_door_approval_user_id'), ] operations = [ migrations.AlterField( model_name='door_approval', nam...
[ "1056179315@qq.com" ]
1056179315@qq.com
e287619a2a0981b72f43ac0898537ce82c00e73f
6fa7f99d3d3d9b177ef01ebf9a9da4982813b7d4
/BDcaZaqCuBCczeKZL_3.py
8357b7a3a4aac0e77ac9886cc061630253f03962
[]
no_license
daniel-reich/ubiquitous-fiesta
26e80f0082f8589e51d359ce7953117a3da7d38c
9af2700dbe59284f5697e612491499841a6c126f
refs/heads/master
2023-04-05T06:40:37.328213
2021-04-06T20:17:44
2021-04-06T20:17:44
355,318,759
0
0
null
null
null
null
UTF-8
Python
false
false
94
py
def arrow(num): a = [">" * i for i in range(1, num + 1)] return a + a[-1 - num % 2::-1]
[ "daniel.reich@danielreichs-MacBook-Pro.local" ]
daniel.reich@danielreichs-MacBook-Pro.local
394692ee3fefc7b275c194eaa0d52e5d4fbe8196
a35481b94be5a95a6cb3edc69e23180884a40e5c
/docs/source/conf.py
348a175a050c6dc0c399465212ec1d860f815905
[]
no_license
damian-codematic/python3-boilerplate
1b9452662878f1b1039a4993268b2753b65cff10
b502f6b65dfd2576ef1830ca7b5061d3d9205e1a
refs/heads/master
2022-11-05T08:22:13.597150
2018-05-02T07:47:11
2018-05-02T07:47:14
null
0
0
null
null
null
null
UTF-8
Python
false
false
5,282
py
#!/usr/bin/env python3 # -*- coding: utf-8 -*- # # package_name documentation build configuration file, created by # sphinx-quickstart on Wed May 2 15:02:32 2018. # # This file is execfile()d with the current directory set to its # containing dir. # # Note that not all possible configuration values are present in this...
[ "seungjaeryanlee@gmail.com" ]
seungjaeryanlee@gmail.com
99ddc35394b2c713a9f3db7196b74ee57aae18a7
8dc64db8a0d7ddb8778c8eae2dac9075b9a90e2b
/env/Lib/site-packages/google/protobuf/__init__.py
22a6072ffd23516dc785ef07d521ab6ec4a616e9
[ "MIT" ]
permissive
theXtroyer1221/Cloud-buffer
c3992d1b543a1f11fde180f6f7d988d28b8f9684
37eabdd78c15172ea980b59d1aff65d8628cb845
refs/heads/master
2022-11-22T22:37:10.453923
2022-02-25T01:15:57
2022-02-25T01:15:57
240,901,269
1
1
MIT
2022-09-04T14:48:02
2020-02-16T14:00:32
HTML
UTF-8
Python
false
false
1,705
py
# Protocol Buffers - Google's data interchange format # Copyright 2008 Google Inc. All rights reserved. # https://developers.google.com/protocol-buffers/ # # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the following conditions are # met: # # * Redi...
[ "jaddou2005@gmail.com" ]
jaddou2005@gmail.com
99917f155da4e2422ceaad95199050b2dcce42ba
2052a12f0ab7a827d6427b5533b6ae29847dcc3b
/auto_commit.py
62ed14d9722982e710ac10eb7f581bae2986a7e1
[ "MIT" ]
permissive
cleiveliu/leetcodecn
7db7af4da18e62bd592afc9f81dfa4aab46adced
618a4b63a9cd055f1782903e860e9a93dfd30fc9
refs/heads/master
2020-08-28T23:44:10.102451
2020-07-19T15:26:45
2020-07-19T15:26:45
217,856,119
1
0
null
null
null
null
UTF-8
Python
false
false
1,636
py
""" auto commit git and push to master with a git path and a optional commit message. usage: put this file in your git project dir and run it or \ script.py [-p|-pathname] filename [-m|-message] message """ import sys import os class Args: def __init__( self, pathname=os.path.dirname(__file__), commi...
[ "cleiveliu1@gmail.com" ]
cleiveliu1@gmail.com
7c7528acff2e58560608a00d39c207443eb6d648
be37e5a350ef9cd4e1742c321cde206434593c27
/test/integration/query_block.py
ecbfe177a112065b729795a188b1eb0c09390e2d
[ "Apache-2.0", "CC-BY-4.0" ]
permissive
points-org/fabric-sdk-py
9b8e763dc9e3e8e3710fb35fedd2e44ddc682126
d689032772873027938599b8e54a676bf083be1f
refs/heads/master
2021-07-01T15:13:11.688343
2020-09-08T11:28:05
2020-09-14T03:53:33
162,869,379
0
0
Apache-2.0
2019-08-14T06:12:00
2018-12-23T06:58:31
Python
UTF-8
Python
false
false
4,789
py
# Copyright IBM ALL Rights Reserved. # # SPDX-License-Identifier: Apache-2.0 import logging from time import sleep from hfc.fabric.peer import create_peer from hfc.fabric.transaction.tx_context import create_tx_context from hfc.fabric.transaction.tx_proposal_request import create_tx_prop_req, \ CC_INVOKE, CC_TYPE...
[ "dixingxu@gmail.com" ]
dixingxu@gmail.com
e882965dc976548eb945b75960f6b5fca4d2bc1f
7769cb512623c8d3ba96c68556b2cea5547df5fd
/configs/carafe/faster_rcnn_r50_fpn_carafe_1x.py
94c8a0fc1a56bc1a6601421de7e9a46df277b5d6
[ "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
5,751
py
# model settings model = dict( type='FasterRCNN', pretrained='torchvision://resnet50', backbone=dict( type='ResNet', depth=50, num_stages=4, out_indices=(0, 1, 2, 3), frozen_stages=1, style='pytorch'), neck=dict( type='FPN_CARAFE', in_chann...
[ "connor@tju.edu.cn" ]
connor@tju.edu.cn
051cdb1c37fae845be8313b348917477fe0c38b2
54f352a242a8ad6ff5516703e91da61e08d9a9e6
/Source Codes/AtCoder/arc026/A/4781959.py
05338ad4307124120e6d44e3642dc59bfc7ff9e1
[]
no_license
Kawser-nerd/CLCDSA
5cbd8a4c3f65173e4e8e0d7ed845574c4770c3eb
aee32551795763b54acb26856ab239370cac4e75
refs/heads/master
2022-02-09T11:08:56.588303
2022-01-26T18:53:40
2022-01-26T18:53:40
211,783,197
23
9
null
null
null
null
UTF-8
Python
false
false
138
py
def main(): n, a, b = map(int, input().split()) nb = min(n, 5) na = n - nb r = b * nb + a * na print(r) main()
[ "kwnafi@yahoo.com" ]
kwnafi@yahoo.com
a4b2b2d69ee2f1995a73f520d25aa4cd34320ae2
3db2fcd1a34ae7b22225029587369f49424457dd
/classifier_alignment/AnnotationLoader.py
ce50dc114c4bb171a9b8ded4eeaff6235048fe87
[]
no_license
pombredanne/realigner
7f0fdfdf42f757fead45cdeb5ea2901c4965e944
b0c32cace20dd720c7609f009d86846d9ecb750f
refs/heads/master
2021-01-18T03:57:30.977009
2014-05-06T09:35:46
2014-05-06T09:35:46
null
0
0
null
null
null
null
UTF-8
Python
false
false
3,277
py
import re __author__ = 'michal' from hmm.HMMLoader import HMMLoader import track from tools.intervalmap import intervalmap from classifier_alignment.AnnotationConfig import register as register_annotations import constants class AnnotationLoader: def __init__(self, sequence_regexp, loader=None): if load...
[ "mhozza@gmail.com" ]
mhozza@gmail.com
5debebbb9c744aa5a364da2377b51f878320f1b7
f9d564f1aa83eca45872dab7fbaa26dd48210d08
/huaweicloud-sdk-bssintl/huaweicloudsdkbssintl/v2/model/amount_infomation_v2.py
32205b516525da648718474ca956d06fdb23c7ca
[ "Apache-2.0" ]
permissive
huaweicloud/huaweicloud-sdk-python-v3
cde6d849ce5b1de05ac5ebfd6153f27803837d84
f69344c1dadb79067746ddf9bfde4bddc18d5ecf
refs/heads/master
2023-09-01T19:29:43.013318
2023-08-31T08:28:59
2023-08-31T08:28:59
262,207,814
103
44
NOASSERTION
2023-06-22T14:50:48
2020-05-08T02:28:43
Python
UTF-8
Python
false
false
8,573
py
# coding: utf-8 import six from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization class AmountInfomationV2: """ Attributes: openapi_types (dict): The key is attribute name and the value is attribute type. attribute_map (dict): The key is attribute...
[ "hwcloudsdk@huawei.com" ]
hwcloudsdk@huawei.com
dad547f66f869ac30955e1734c0fdf2097890e2c
bd2a3d466869e0f8cb72075db7daec6c09bbbda1
/sdk/network/azure-mgmt-network/azure/mgmt/network/_operations_mixin.py
264c78dbcd0d5ffb95a36599de146d425e3d3237
[ "MIT" ]
permissive
samvaity/azure-sdk-for-python
7e8dcb2d3602d81e04c95e28306d3e2e7d33b03d
f2b072688d3dc688fed3905c558cff1fa0849b91
refs/heads/master
2021-08-11T21:14:29.433269
2019-07-19T17:40:10
2019-07-19T17:40:10
179,733,339
0
1
MIT
2019-04-05T18:17:43
2019-04-05T18:17:42
null
UTF-8
Python
false
false
7,825
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 ...
[ "noreply@github.com" ]
samvaity.noreply@github.com
c8d9acb81ae074a09b5bba7f60d7cb919bfd6a0b
5c099927aedc6fdbc515f40ff543c65b3bf4ec67
/algorithms/path-sum-iii/src/Solution.py
ad4282344a76d00167c30841afc494b03849c924
[]
no_license
bingzhong-project/leetcode
7a99cb6af1adfbd9bb1996a7f66a65679053c478
ba82e7d94840b3fec272e4c5f82e3a2cfe4b0505
refs/heads/master
2020-04-15T09:27:33.979519
2020-03-10T03:43:07
2020-03-10T03:43:07
164,550,933
0
0
null
null
null
null
UTF-8
Python
false
false
1,052
py
# Definition for a binary tree node. class TreeNode: def __init__(self, x): self.val = x self.left = None self.right = None class Solution: def pathSum(self, root: 'TreeNode', sum: 'int') -> 'int': def func(node, res): if node.val == sum: res[0] += 1...
[ "zhongyongbin@foxmail.com" ]
zhongyongbin@foxmail.com
98c96ab2dc8528ebf464d9dbbcfed74f52d757fc
6928300db08139784e1fe27d1b6f2087c0cb89b7
/cristianoronaldoyopmailcom_228/urls.py
e01cffb873469ce075991a534e642f1549dbd762
[]
no_license
payush/cristianoronaldoyopmailcom-228
6a6df334d4402bc08294de8a1d340cee1af56726
8462bdc537a14e62d010b8350fa2cbad6a913674
refs/heads/master
2020-03-23T12:31:58.272363
2018-07-19T10:37:13
2018-07-19T10:37:13
141,564,774
0
0
null
null
null
null
UTF-8
Python
false
false
940
py
"""cristianoronaldoyopmailcom_228 URL Configuration The `urlpatterns` list routes URLs to views. For more information please see: https://docs.djangoproject.com/en/1.11/topics/http/urls/ Examples: Function views 1. Add an import: from my_app import views 2. Add a URL to urlpatterns: url(r'^$', views.home...
[ "ayushpuroheet@gmail.com" ]
ayushpuroheet@gmail.com
590ee220a2c115301a03c113221b088ef9621b15
753cd066a9bd26b6c37c8d53a86c7a9c659ec18c
/tutorials/tutorials/popxl/2_custom_optimiser/mnist_template.py
7e03ec57cf9d9988438c713cb22828ce52192172
[ "MIT" ]
permissive
graphcore/examples
ac872015808ed2a913d4d7bf0d63202ce15ebbae
e2f834dd60e7939672c1795b4ac62e89ad0bca49
refs/heads/master
2023-08-05T02:08:12.341836
2023-07-27T11:13:10
2023-07-27T11:13:10
143,977,106
311
80
MIT
2023-09-11T16:42:56
2018-08-08T07:29:17
Python
UTF-8
Python
false
false
11,250
py
# Copyright (c) 2022 Graphcore Ltd. All rights reserved. from typing import Dict, Mapping, Optional, Union import argparse from functools import partial import numpy as np import torch import torchvision from tqdm import tqdm import popxl import popxl_addons as addons import popxl.ops as ops np.random.seed(42) de...
[ "adams@graphcore.ai" ]
adams@graphcore.ai
b2456060afc71d8ae1bafe6a039a40981cd94970
b8ddb0028579ba735bfde8de5e615884e05b012f
/jamaica/v1/lists/serializers.py
8cf34ebb1a3a5f0804777c537e6d465b456aaf4d
[]
no_license
cohoe/jamaica
f4636eacd6a900de769641e3c3f60fe197be1999
0bf053e7b6db291b5aeb53fbd6f7f45082c9df9b
refs/heads/master
2021-08-10T08:10:36.803415
2021-07-18T16:49:45
2021-07-18T16:49:45
235,926,691
2
0
null
2021-03-13T02:23:06
2020-01-24T02:24:22
Python
UTF-8
Python
false
false
1,059
py
from flask_restx import fields from jamaica.v1.restx import api from jamaica.v1.serializers import SearchResultBase ListItemObject = api.model('ListItemObject', { 'cocktail_slug': fields.String(attribute='cocktail_slug', description='Slug of the cocktail.'), 'spec_slug': fields.String(attribute='spec_slug', d...
[ "grant@grantcohoe.com" ]
grant@grantcohoe.com
a4d310d2b5b8002735888fb0537e58489cea744e
99094cc79bdbb69bb24516e473f17b385847cb3a
/33.Search in Rotated Sorted Array/Solution.py
ca44fc1c7fe4e25beda59fa0010124fad406e966
[]
no_license
simonxu14/LeetCode_Simon
7d389bbfafd3906876a3f796195bb14db3a1aeb3
13f4595374f30b482c4da76e466037516ca3a420
refs/heads/master
2020-04-06T03:33:25.846686
2016-09-10T00:23:11
2016-09-10T00:23:11
40,810,940
1
0
null
null
null
null
UTF-8
Python
false
false
680
py
__author__ = 'Simon' class Solution(object): def search(self, nums, target): """ :type nums: List[int] :type target: int :rtype: int """ l = 0 r = len(nums) - 1 while l <= r: mid = (r + l)/2 if nums[mid] == target: ...
[ "simonxu14@gmail.com" ]
simonxu14@gmail.com
1ba91cb7cb377d72057feb853079b30e95e00789
b052410ce0cd5c7ae54af34e7f7f4a623f3f7b32
/jlu/papers/prop_2012a.py
8a689bb3cc2359211757795b8682c4310008e291
[]
no_license
jluastro/JLU-python-code
b847936410d46cf73071300c217d2715cdf286de
db60fd0589aa7694101812224f4bdcdde0deb3ff
refs/heads/master
2023-04-10T11:24:52.930029
2023-03-29T16:09:16
2023-03-29T16:09:16
3,509,766
9
7
null
2020-07-29T18:52:32
2012-02-22T00:08:20
Python
UTF-8
Python
false
false
36,955
py
import pylab as py import numpy as np import atpy import asciidata import math import pdb import pyfits import pycurl import coords import os from gcwork import objects from pyraf import iraf ################################################## # # Upper Sco # ################################################## def upper...
[ "jlu@ifa.hawaii.edu" ]
jlu@ifa.hawaii.edu
77c6ff64d70bf43e677e3a109dec9871b6a399d4
0bde5f7f09aa537ed1f4828d4e5ebee66475918f
/h2o-bindings/bin/custom/R/gen_svd.py
29b777c6fd2ccee93d258de42738e4edb898a7cc
[ "Apache-2.0" ]
permissive
Winfredemalx54/h2o-3
d69f1c07e1f5d2540cb0ce5e6073415fa0780d32
dfb163c82ff3bfa6f88cdf02465a9bb4c8189cb7
refs/heads/master
2022-12-14T08:59:04.109986
2020-09-23T08:36:59
2020-09-23T08:36:59
297,947,978
2
0
Apache-2.0
2020-09-23T11:28:54
2020-09-23T11:28:54
null
UTF-8
Python
false
false
1,431
py
rest_api_version = 99 extensions = dict( required_params=['training_frame', 'x', 'destination_key'], validate_required_params="", set_required_params=""" parms$training_frame <- training_frame if(!missing(x)) parms$ignored_columns <- .verify_datacols(training_frame, x)$cols_ignore if(!missing(destination...
[ "noreply@github.com" ]
Winfredemalx54.noreply@github.com
ab940f2287f99c5c3edf5a43baede27081603152
e13f6678fb1be916f4746d8663edfbd841531f7e
/ebc/pauta/interfaces/servico.py
e23c1b36241754dee8b39345394ee8fba1e7813b
[ "Unlicense" ]
permissive
lflrocha/ebc.pauta
67cf41ad0c751c70a53f609204f913c441de0ab3
1a77e9f47e22b60af88cf23f492a8b47ddfd27b6
refs/heads/master
2021-01-10T08:38:43.924935
2015-05-30T19:24:00
2015-05-30T19:24:00
36,572,062
0
0
null
null
null
null
UTF-8
Python
false
false
302
py
from zope import schema from zope.interface import Interface from zope.app.container.constraints import contains from zope.app.container.constraints import containers from ebc.pauta import pautaMessageFactory as _ class IServico(Interface): """""" # -*- schema definition goes here -*-
[ "lflrocha@gmail.com" ]
lflrocha@gmail.com
802ec2a72d6779bc336c31b7a68a721565858c5a
7a39aed5ceff9070864afea30d3369ec70da093d
/tests/conftest.py
e1e05dcb51c92af9c1b689352a91423da84af5bb
[ "BSD-3-Clause" ]
permissive
Omulosi/reader
a0f3fc2c787481c14254edd7bfcd81f715f51a5d
12759bb9441846eb5fce618137a6e70e2ec3c286
refs/heads/master
2023-07-15T12:02:10.365563
2021-08-30T11:37:35
2021-08-30T11:37:35
null
0
0
null
null
null
null
UTF-8
Python
false
false
3,183
py
import sqlite3 import sys from contextlib import closing from functools import wraps import py.path import pytest from utils import reload_module from reader import make_reader as original_make_reader from reader._storage import Storage def pytest_addoption(parser): parser.addoption( "--runslow", action...
[ "damian.adrian24@gmail.com" ]
damian.adrian24@gmail.com
04d36b8214eca85f0cc1b1a99b63e644c6978f84
c9ddbdb5678ba6e1c5c7e64adf2802ca16df778c
/cases/synthetic/coverage-big-1333.py
a47f1e663eb94c1415272a2dacb4669d2651711d
[]
no_license
Virtlink/ccbench-chocopy
c3f7f6af6349aff6503196f727ef89f210a1eac8
c7efae43bf32696ee2b2ee781bdfe4f7730dec3f
refs/heads/main
2023-04-07T15:07:12.464038
2022-02-03T15:42:39
2022-02-03T15:42:39
451,969,776
0
0
null
null
null
null
UTF-8
Python
false
false
13,350
py
count:int = 0 count2:int = 0 count3:int = 0 count4:int = 0 count5:int = 0 def foo(s: str) -> int: return len(s) def foo2(s: str, s2: str) -> int: return len(s) def foo3(s: str, s2: str, s3: str) -> int: return len(s) def foo4(s: str, s2: str, s3: str, s4: str) -> int: return len(s) def foo5(s: str,...
[ "647530+Virtlink@users.noreply.github.com" ]
647530+Virtlink@users.noreply.github.com
e68f8e37594831072a4f8e00d262136ca8794866
5d902e2565b08dc6b8bb2f06231a4319d9715513
/polyaxon/runner/spawners/notebook_spawner.py
72319bf6c8f57f367669104d98e7564e0899ea9e
[ "MIT" ]
permissive
rohansaphal97/polyaxon
bd4febfc94b7d1aa95ef8152472c3dcba725f6b2
ee42a05e40c4d400a281b3b2c5d26f5b46bd785c
refs/heads/master
2020-03-13T19:51:44.783780
2018-04-26T17:52:35
2018-04-26T18:06:09
null
0
0
null
null
null
null
UTF-8
Python
false
false
5,763
py
import json import logging import random from django.conf import settings from libs.utils import get_hmac from projects.paths import get_project_repos_path from runner.spawners.base import get_pod_volumes from runner.spawners.project_spawner import ProjectSpawner from runner.spawners.templates import constants, deplo...
[ "mouradmourafiq@gmail.com" ]
mouradmourafiq@gmail.com
ef03b435fce9dbb91ba88d54ee8e945bdd417016
9d03d3e8b739a0a1aae7eca09fce6a6e3cd7fd9d
/model/position/__init__.py
2d890d9eb6b9146c76025d13d2280bad7b01502c
[]
no_license
CallingWisdom/trade
c30954c8be17d7b140ad376011486caede69fd68
a231ade6dbe99288a4ada2eec0e187b1e28594da
refs/heads/master
2021-05-06T18:12:46.058972
2017-06-09T09:21:09
2017-06-09T09:21:09
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,280
py
# -*- coding: utf-8 -*- # # Copyright 2017 Ricequant, 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 ...
[ "511735184@qq.com" ]
511735184@qq.com
2cc9599e40b6bdaa83c3872fc6617694066af3ab
f1c3a21c820fc1b0d182c859486cc6461f299bb9
/TCN-TF/tcn.py
4331af07f57e7fee40cbfa8036ae0ad6083a1730
[]
no_license
JZDBB/AVEC
85ee92a90ca9517780e4cc59d250d0b82c12cdeb
79bd55b80be4e2ebd08c376f91900dbbb60e6dca
refs/heads/master
2020-04-17T03:14:04.481303
2019-01-15T11:34:48
2019-01-27T11:35:03
166,172,956
2
0
null
null
null
null
UTF-8
Python
false
false
3,691
py
#coding: utf-8 ''' Author: Weiping Song Time: April 24, 2018 ''' import tensorflow as tf from wnconv1d import wnconv1d class TemporalConvNet(object): def __init__(self, num_channels, stride=1, kernel_size=2, dropout=0.2): self.kernel_size=kernel_size self.stride = stride self.num_levels = l...
[ "oxuyining@gmail.com" ]
oxuyining@gmail.com
182058774046558c47942649a24c9481da11c275
98c6ea9c884152e8340605a706efefbea6170be5
/examples/data/Assignment_4/vhrjoc001/question1.py
7ecb00ea83049b6f3e69ecfb564bccfff7664dc8
[]
no_license
MrHamdulay/csc3-capstone
479d659e1dcd28040e83ebd9e3374d0ccc0c6817
6f0fa0fa1555ceb1b0fb33f25e9694e68b6a53d2
refs/heads/master
2021-03-12T21:55:57.781339
2014-09-22T02:22:22
2014-09-22T02:22:22
22,372,174
0
0
null
null
null
null
UTF-8
Python
false
false
535
py
# test program for box drawer import boxes choice = input ("Choose test:\n") action = choice[:1] if action == 'a': boxes.print_square () elif action == 'b': width, height = map (int, choice[2:].split(" ")) print ("calling function") boxes.print_rectangle (width, lll) print ("called function...
[ "jarr2000@gmail.com" ]
jarr2000@gmail.com
7e104bc331c9f6d2a933011e4a39b82e9eadc828
9e988c0dfbea15cd23a3de860cb0c88c3dcdbd97
/sdBs/AllRun/ec_14465-1033/sdB_EC_14465-1033_coadd.py
fd7c867f87c741b45aa844001303b9f6bd4ad19b
[]
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
439
py
from gPhoton.gMap import gMap def main(): gMap(band="NUV", skypos=[222.304042,-10.760042], skyrange=[0.0333333333333,0.0333333333333], stepsz = 30., cntfile="/data2/fleming/GPHOTON_OUTPUT/LIGHTCURVES/sdBs/sdB_EC_14465-1033/sdB_EC_14465-1033_movie_count.fits", cntcoaddfile="/data2/fleming/GPHOTON_OUTPUT/LIGHTCURVES/sd...
[ "thomas@boudreauxmail.com" ]
thomas@boudreauxmail.com
0a817a5866d268b5b73ed64c8d8315ad39e5aadb
dca61d9b7cb3d746cd6354ebb0ff874d70242444
/examples/e712.py
02543ed08b945f374cf49fd1b7ff35918c69bcde
[]
no_license
patrickod/peppy
5224be76148dc27e23376d7319009b9941eed690
b70b266e4735f9ffe31b7b3cdac74c5f5d53ce7a
refs/heads/master
2021-01-15T16:37:10.528218
2015-03-27T23:10:42
2015-03-27T23:10:42
null
0
0
null
null
null
null
UTF-8
Python
false
false
12
py
if r==True:p
[ "david@drmaciver.com" ]
david@drmaciver.com
53c5f847e2583a782f9bd1c46700bb9d009aaef4
0910e259a9bd252300f19b2ff22049d640f19b1a
/ml/m16_pipeline_RS3_wine.py
7b06a57c93e8fc7ce2d3be0c4654e2fd695ad072
[]
no_license
kimtaeuk-AI/Study
c7259a0ed1770f249b78f096ad853be7424a1c8e
bad5a0ea72a0117035b5e45652819a3f7206c66f
refs/heads/master
2023-05-05T12:34:52.471831
2021-05-22T16:16:12
2021-05-22T16:16:12
368,745,041
0
0
null
null
null
null
UTF-8
Python
false
false
2,357
py
#전처리 하나와 모델을 합침 import numpy as np import tensorflow as tf import pandas as pd from sklearn.datasets import load_wine from sklearn.preprocessing import MinMaxScaler, StandardScaler from sklearn.model_selection import train_test_split, KFold, cross_val_score, GridSearchCV, RandomizedSearchCV from sklearn.metrics import...
[ "ki3123.93123@gmail.com" ]
ki3123.93123@gmail.com
0d389ad98371546fa8ff77dbfb4acf4c1ea82b87
9743d5fd24822f79c156ad112229e25adb9ed6f6
/xai/brain/wordbase/nouns/_pyres.py
451934aa41c0b1e439c98c40e31627b1188cf4eb
[ "MIT" ]
permissive
cash2one/xai
de7adad1758f50dd6786bf0111e71a903f039b64
e76f12c9f4dcf3ac1c7c08b0cc8844c0b0a104b6
refs/heads/master
2021-01-19T12:33:54.964379
2017-01-28T02:00:50
2017-01-28T02:00:50
null
0
0
null
null
null
null
UTF-8
Python
false
false
224
py
from xai.brain.wordbase.nouns._pyre import _PYRE #calss header class _PYRES(_PYRE, ): def __init__(self,): _PYRE.__init__(self) self.name = "PYRES" self.specie = 'nouns' self.basic = "pyre" self.jsondata = {}
[ "xingwang1991@gmail.com" ]
xingwang1991@gmail.com
0214d99b83874837d35712c1e0bd2eb3d8662662
ab9a0e787695b9d04483cac5b710931287ed3e54
/ruia_cache/cache_patch/__init__.py
0172eabb8a618b63f96a73bc4c75f3327546d912
[ "Apache-2.0" ]
permissive
python-ruia/ruia-cache
42a529b17192b31237bc18ad2126400ec20ce9dd
a18609b29e76ad11c81aa1254e6b2d8a49454abd
refs/heads/main
2023-02-15T08:38:31.565745
2021-01-03T13:44:36
2021-01-03T13:44:36
325,297,883
3
0
null
null
null
null
UTF-8
Python
false
false
133
py
#!/usr/bin/env python """ Created by howie.hu at 2021/1/3. """ from .req_cache import req_cache from .resp_cache import resp_cache
[ "howie6879@gmail.com" ]
howie6879@gmail.com
73e7b9a82f081a1016e159620287c4a2a6122cfc
ca7aa979e7059467e158830b76673f5b77a0f5a3
/Python_codes/p03591/s884764547.py
1815b3208c1d9b6c990814ebd5e42c8730365a3d
[]
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
77
py
S = str(input()) if S[0:4] == "YAKI": print("Yes") else: print("No")
[ "66529651+Aastha2104@users.noreply.github.com" ]
66529651+Aastha2104@users.noreply.github.com
c6a56fe501ce17f3f011512f6b4d3bee67f1950e
9c228dfa2033689acbc480dea99181c13e9b0dfc
/manage.py
38409518ac0027dd2c3d985c8a507e1a31a14dc5
[]
no_license
crowdbotics-apps/test-dj-app-11-dev-1596
3c4dae8cf0bda00501dcc46a65c4efd40e22beb4
baa41a3ef71a28fc395a4b53b1dda0d70c6764e6
refs/heads/master
2022-04-04T13:09:52.739143
2020-02-04T17:35:58
2020-02-04T17:35:58
238,265,698
0
0
null
null
null
null
UTF-8
Python
false
false
643
py
#!/usr/bin/env python """Django's command-line utility for administrative tasks.""" import os import sys def main(): os.environ.setdefault('DJANGO_SETTINGS_MODULE', 'test_dj_app_11_dev_1596.settings') try: from django.core.management import execute_from_command_line except ImportError as exc: ...
[ "team@crowdbotics.com" ]
team@crowdbotics.com
a7c4d6b4e6bd2511795d7fcb758420f5aa2a213c
db58ec54f85fd8d4ef6904529c5b17393ee041d8
/elements-of-programming-interviews/6-strings/6.0-is-palindromic/is_palindromic.py
51af6cba620333b2d1bb581fc6a5ee4538ae64b0
[ "MIT" ]
permissive
washimimizuku/python-data-structures-and-algorithms
90ae934fc7d2bac5f50c18e7fbc463ba0c026fa4
537f4eabaf31888ae48004d153088fb28bb684ab
refs/heads/main
2023-08-28T07:45:19.603594
2021-11-08T07:53:52
2021-11-08T07:53:52
334,213,593
0
0
null
null
null
null
UTF-8
Python
false
false
375
py
''' A palindromic string is one which reads the same when it is reversed. ''' def is_palindromic(s): # Time: O(n) | Space: O(1) # Note that s[~i] for i in [0, len(s) - 1] is s[-(i + 1)]. return all(s[i] == s[~i] for i in range(len(s) // 2)) assert(is_palindromic('abba') == True) assert(is_palindromic('abcb...
[ "nuno.barreto@inventsys.ch" ]
nuno.barreto@inventsys.ch
64725aaf76e56daf87bc258c20f88508543ed1e4
f632abaa923aa5be0cd53e1afbf370487467cd4a
/libstasis/interfaces.py
c80b7ddaeaea0c8d8d81d058a6df536def5eb8b1
[]
no_license
fschulze/libstasis
a8706d12b8dab0657a6c178d5eaac3c99357c7b9
e5fd7bafd918b1e315c105a55fe68fd3cee1af7f
refs/heads/master
2016-08-04T19:21:25.703387
2014-03-16T09:36:39
2014-03-16T09:36:39
null
0
0
null
null
null
null
UTF-8
Python
false
false
75
py
from zope.interface import Interface class IAspects(Interface): pass
[ "florian.schulze@gmx.net" ]
florian.schulze@gmx.net
c410f87411390859475a290062a07792f214d010
e21599d08d2df9dac2dee21643001c0f7c73b24f
/Others/Modules/pandas/t.py
5f8e000908eb234c7fd0d1dc48139513a8afcbf0
[]
no_license
herolibra/PyCodeComplete
c7bf2fb4ce395737f8c67749148de98a36a71035
4ef7d2c3aec6d28a53eed0e649cdeb74df3d783b
refs/heads/master
2022-07-17T05:39:03.554760
2020-05-03T07:00:14
2020-05-03T07:00:14
null
0
0
null
null
null
null
UTF-8
Python
false
false
219
py
#!/usr/bin/env python # coding=utf-8 import pandas as pd import numpy as np dates = pd.date_range('20170101', periods=6) df = pd.DataFrame(np.random.randn(6,4), index=dates, columns=list('ABCD')) print(df) print(df.T)
[ "ijumper@163.com" ]
ijumper@163.com
59ef791b08647f7d518ef7a5725b686527f30927
fe6d422ab3f5c6f922d22cd3db2a7d539128620e
/apps/course/migrations/0001_initial.py
013263198febe2f303ce675ec9670b827b4a4523
[]
no_license
syongyulin/syl_online
521e81199bf07c2d83371d486a00842716cfa99e
ffb8da789059c115e9ac7597a547d50e6d69603e
refs/heads/master
2023-01-10T00:35:07.120987
2020-11-13T00:14:34
2020-11-13T00:14:34
312,281,144
0
0
null
null
null
null
UTF-8
Python
false
false
3,838
py
# Generated by Django 2.2.16 on 2020-11-03 11:13 import datetime from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): initial = True dependencies = [ ] operations = [ migrations.CreateModel( name='Cours...
[ "1030918477@qq.com" ]
1030918477@qq.com
7f5bb23c3917710fc33198ccef0a8d813bb00a59
cf332f2c6f4d1e1b6c650bdb803fd6bc2966858b
/apps/commission/migrations/0002_initial.py
9008340c0d3e76449ffa45469b2fe4bc1250c03b
[]
no_license
drc-ima/rabito-crm-sample
7b873df8e8b6cc4722dfe730c82644943b41f871
26ed884b445e8a03b04fd5ea2b4d5402aa66b659
refs/heads/main
2023-08-23T01:30:28.147646
2021-09-20T22:56:55
2021-09-20T22:56:55
404,700,138
0
0
null
null
null
null
UTF-8
Python
false
false
1,512
py
# Generated by Django 3.2.6 on 2021-08-23 09:06 from django.conf import settings from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): initial = True dependencies = [ migrations.swappable_dependency(settings.AUTH_USER_MODEL), ('comm...
[ "emmanuelofosu472@gmail.com" ]
emmanuelofosu472@gmail.com
40f9d36ee88b4c5c002c4b400c15077afd21d657
0df5d17a8c359a4b6f02a29d444a60be946f12e3
/sem título0.py
65b5c48272e8bdf02a3f6d6f6f8132fac627aec4
[]
no_license
andre23arruda/dicom3d-viewer-python
1ef10d4c7c76b0afb93016bcb7f000fe00f2f8ca
87423548aafabe5e0067437037c927fbd4da7467
refs/heads/master
2020-09-22T07:33:44.066649
2019-12-04T02:53:00
2019-12-04T02:53:00
225,106,019
0
0
null
null
null
null
UTF-8
Python
false
false
268
py
# -*- coding: utf-8 -*- """ Created on Mon Dec 2 23:29:42 2019 @author: alca0 """ #%% import pydicom dicom_obj = pydicom.dcmread(r"C:\Users\alca0\Downloads\img_example\136_BIOIMAGEM_ARC_45_20190713_CC_L_2.dcm") dicom_obj.add_new(0x999999,'HUE', 'HARPIA' ) dicom_obj
[ "andre23arruda@gmail.com" ]
andre23arruda@gmail.com
0bee84389eb15d39e82917e0c96f63e9af076257
710816603a6a4988ca8f162da6e70cb6127f3595
/utilipy/extern/doc_parse_tools/tests/test_napolean_parse_tools.py
98e6058c5e1029c0a59cc3c71cfc587cde060688
[ "BSD-3-Clause" ]
permissive
nstarman/utilipy
8b1e51d5a73f4e0f3226c0905101cb6d02cc9bf0
17984942145d31126724df23500bafba18fb7516
refs/heads/master
2023-07-25T19:17:03.925690
2020-12-21T05:03:10
2020-12-21T05:03:10
192,425,953
2
1
BSD-3-Clause
2022-09-12T18:57:44
2019-06-17T22:20:57
Python
UTF-8
Python
false
false
841
py
# -*- coding: utf-8 -*- """Tests for :mod:`~utilipy.utils.doc_parse_tools.napoleon_parse_tools`.""" __all__ = [ "test_napoleon_parse_tools", ] ############################################################################## # IMPORTS # THIRD PARTY import pytest #################################################...
[ "nstarkman@protonmail.com" ]
nstarkman@protonmail.com
b3c660de08f22bb4f340e969ba674dd9deb04317
971e0efcc68b8f7cfb1040c38008426f7bcf9d2e
/tests/model_control/detailed/transf_BoxCox/model_control_one_enabled_BoxCox_MovingMedian_NoCycle_NoAR.py
fa39c3df3ad94b5d3666ad67652be37c9f374d52
[ "BSD-3-Clause", "LicenseRef-scancode-unknown-license-reference" ]
permissive
antoinecarme/pyaf
a105d172c2e7544f8d580d75f28b751351dd83b6
b12db77cb3fa9292e774b2b33db8ce732647c35e
refs/heads/master
2023-09-01T09:30:59.967219
2023-07-28T20:15:53
2023-07-28T20:15:53
70,790,978
457
77
BSD-3-Clause
2023-03-08T21:45:40
2016-10-13T09:30:30
Python
UTF-8
Python
false
false
151
py
import tests.model_control.test_ozone_custom_models_enabled as testmod testmod.build_model( ['BoxCox'] , ['MovingMedian'] , ['NoCycle'] , ['NoAR'] );
[ "antoine.carme@laposte.net" ]
antoine.carme@laposte.net
4a284415b37d849bfb8c4d03e088073e324cb5d3
44fd3b7a2b1f1e382ceffa72afa8a173c509d278
/test/test_helpers.py
9a9c81bed74d4eb5d7cba089964c5cb3ddc3284f
[ "Apache-2.0" ]
permissive
flit/cmdis
1692aec69ea3b53e18efbb2ba85c3f6ea407e3d2
91b7c7430114f3cf260206abc926b86c6e81c51b
refs/heads/master
2020-12-24T19:05:14.820761
2019-06-09T00:21:56
2019-06-09T00:21:56
56,406,698
10
0
null
null
null
null
UTF-8
Python
false
false
4,942
py
# Copyright (c) 2016-2019 Chris Reed # # SPDX-License-Identifier: Apache-2.0 # # 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...
[ "flit@me.com" ]
flit@me.com
f31310cb2b2ed1f2ba6a0021484a25f897389644
fd18ce27b66746f932a65488aad04494202e2e0d
/d16_plot_linalg/codes_plt/mpl14_Axes_Legend_mix.py
c89af939d9ab40b8d34855eb7c6724018b3c3b4e
[]
no_license
daofeng123/ClassCodes
1acbd843836e550c9cebf67ef21dfca9f6b9fc87
fbcd1f24d79b8bb56ad0669b07ad118064609612
refs/heads/master
2020-06-24T12:34:28.148197
2019-08-15T03:56:40
2019-08-15T03:56:40
198,963,469
3
0
null
2019-07-26T06:53:45
2019-07-26T06:53:44
null
UTF-8
Python
false
false
2,760
py
#!/usr/bin/python # coding=utf-8 import matplotlib.pyplot as plt import numpy as np ''' 操作并管理Axes中的Legend。 1、绘制主题: |-Axes.legend(*args, **kwargs) 返回matplotlib.legend.Legend对象 |-handles : sequence of Artist, optional |-labels : sequence of strings, optional |-loc : int or string or pair ...
[ "38395870@qq.com" ]
38395870@qq.com
7ed11620705eef521c64e9e2c2acf8e3d8abf122
ff81a9d7880f1b85a1dc19d5eba5ac72d7179c86
/pychron/dvc/fix_identifier.py
abe5d9947d53c7e593ce83ee2e9fa2da1f6f2930
[ "Apache-2.0" ]
permissive
UManPychron/pychron
2fb7e479a9f492423c0f458c70102c499e1062c4
b84c9fd70072f9cbda30abe2c471e64fe3dd75d8
refs/heads/develop
2022-12-03T23:32:45.579326
2020-01-29T19:02:20
2020-01-29T19:02:20
36,100,637
0
0
null
2015-05-23T00:10:06
2015-05-23T00:10:05
null
UTF-8
Python
false
false
3,816
py
# =============================================================================== # Copyright 2018 ross # # 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/LICE...
[ "jirhiker@gmail.com" ]
jirhiker@gmail.com
b616ac2d64848df30978df2bd3675649d66d0a24
466607c14d76c8d798e08f05dde2d79a07f6e069
/src/stk/_internal/topology_graphs/metal_complex/porphyrin.py
f08b0ce0358bd563c93fd9a87d2a2c8a85a7cee8
[ "MIT" ]
permissive
andrewtarzia/stk
7c77006bacd4d3d45838ffb3b3b4c590f1bce336
9242c29dd4b9eb6927c202611d1326c19d73caea
refs/heads/main
2023-08-03T12:29:21.096641
2023-07-27T09:45:25
2023-07-27T09:45:25
191,198,174
0
1
MIT
2023-09-04T16:53:05
2019-06-10T15:49:25
Python
UTF-8
Python
false
false
3,290
py
""" Porphyrin ========= """ from stk._internal.topology_graphs.edge import Edge from .metal_complex import MetalComplex from .vertices import MetalVertex, UnaligningVertex class Porphyrin(MetalComplex): """ Represents a metal complex topology graph. .. moldoc:: import moldoc.molecule as molec...
[ "noreply@github.com" ]
andrewtarzia.noreply@github.com
0666fd08858744b6c502b012d302740cac401fd8
466e5e56d2f350bcea90683af67e160138af836c
/Onsite/Week-1/Wednesday/Latency.py
471e936cb47495a806c37af5f5adf64c0b45ab64
[]
no_license
max180643/Pre-Programming-61
bafbb7ed3069cda5c2e64cf1de590dfb4a542273
e68d4a69ffeedd4269fffc64b9b81e845a10da4d
refs/heads/master
2021-06-17T14:10:44.889814
2019-08-01T09:35:42
2019-08-01T09:35:42
135,553,863
0
0
null
null
null
null
UTF-8
Python
false
false
335
py
"""Dorm EP.2 - Latency""" def main(): """Main Function""" latency1 = int(input()) latency2 = int(input()) latency3 = int(input()) latency4 = int(input()) latency5 = int(input()) latency6 = int(input()) print("%i ms"%(min(latency1, latency2, latency3, latency4, latency5, latency6...
[ "noreply@github.com" ]
max180643.noreply@github.com
02f6daeee451eb6708e5ba187eab3cbf161a4536
d6be053915c065fe6da71afddd28429d144fee68
/realpython_tutorials/python_type_checking/game_annotated.py
f0c26e340af003ff168f45e93fb238c2911132af
[]
no_license
DrShushen/practice_py
61bc28f52783f8304cce1d834def4934ba6ee8e1
cf40ec43ccd73aa835c4e65e6a4b41408b90a3ea
refs/heads/master
2023-01-08T06:57:10.852157
2023-01-03T22:58:11
2023-01-03T22:58:11
211,668,464
1
1
null
null
null
null
UTF-8
Python
false
false
920
py
# game.py import random from typing import Dict, List, Tuple SUITS = "♠ ♡ ♢ ♣".split() RANKS = "2 3 4 5 6 7 8 9 10 J Q K A".split() Card = Tuple[str, str] Deck = List[Card] def create_deck(shuffle: bool = False) -> Deck: """Create a new deck of 52 cards""" deck = [(s, r) for r in RANKS for s in SUITS] ...
[ "e.s.saveliev@gmail.com" ]
e.s.saveliev@gmail.com
4fd702bbbd12443a824253f0216192ae4fc30f7c
62855ed774f7e0b45e1810dde659a8ce0320fe32
/demxf/viz.py
cf14601da1843a7ead6e617adaf4b5ed51d4261d
[ "MIT" ]
permissive
dhockaday/demxf
d55323cf974310c47b98e3ae2e871f02dc95ff25
c45d06ce88dbd173a13ec6da35869d2117e77fee
refs/heads/master
2023-03-17T05:10:12.574869
2017-11-16T12:28:57
2017-11-16T12:33:54
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,000
py
import graphviz from demxf.decompiler import ( BasePatchDecompiler, filter_keys, get_box_printable_class, nonprinted_keys, remove_aesthetics, ) class PatchGrapher(BasePatchDecompiler): def initialize(self, content): super(PatchGrapher, self).initialize(content) self.graph = gr...
[ "akx@iki.fi" ]
akx@iki.fi
c6f54efd2d6d69af5e8998d81812b49e130f86e0
94e06376dc265c7bf1a2e51acb9714d02b21503a
/python打卡/day1_zhihu.py
f6af91e41527a127672468ee695a24ed2082e28a
[]
no_license
zhangquanliang/python
4b2db32bed4e4746c8c49c309563f456dc41c6be
f45ef96e385b1cd6c5dfb53bf81042d953a9ec46
refs/heads/master
2021-04-26T23:30:12.217397
2019-03-20T06:18:14
2019-03-20T06:18:14
124,005,916
11
2
null
null
null
null
UTF-8
Python
false
false
1,869
py
# -*- coding: utf-8 -*- import requests import re import urllib3 urllib3.disable_warnings() """ Title = 知乎关注粉丝 Date = 2018-03-27 """ class ZhiHu: """获取知乎粉丝信息""" def __init__(self): self.url = 'https://zhuanlan.zhihu.com/wajuejiprince' self.headers = { "user-agent": "Mozilla/1.0 (W...
[ "1007228376@qq.com" ]
1007228376@qq.com
badacbed26551cc4a429b5598c7e25ef3836be2d
a47ac7c64cb6bb1f181eadff8e4b24735c19080a
/PythonStudy/9-Tkinter/11-Menu菜单.py
02c687ce0e7cf07976ffc9e57f3d9cd58f84776b
[ "MIT" ]
permissive
CoderTitan/PythonDemo
6dcc88496b181df959a9d43b963fe43a6e4cb032
feb5ef8be91451b4622764027ac684972c64f2e0
refs/heads/master
2020-03-09T09:15:28.299827
2018-08-21T03:43:25
2018-08-21T03:43:25
128,708,650
1
1
null
null
null
null
UTF-8
Python
false
false
2,163
py
# 主窗口 from tkinter import * # 创建主窗口 window = Tk() # 设置标题 window.title('Titanjun') # 设置窗口大小 window.geometry('400x400') ''' def menuAction1(): print('menubar') # 菜单条 menubar = Menu(window) window.configure(menu=menubar) # 创建一个菜单选项 menu1 = Menu(menubar, tearoff=False) # 菜单选项添加内容 for item in ['Python', 'PHP', 'C...
[ "quanjunt@163.com" ]
quanjunt@163.com
e6d3436e3d161e1e676e909ca9d50025702b66c8
fc9bd84a2e560309dd7ddb2509b4bfcfbfe37e6b
/timesketch/ui/views/user_test.py
20addf67538f17ff539c078accb72cde0a9d5567
[ "Apache-2.0" ]
permissive
oi-buhtig/timesketch
37ad823c08f24fc9021764a8843ede7d1693ab4b
bb2dccc041dff907ae428155ae45dbf5f26f19a3
refs/heads/master
2020-05-29T09:52:24.480339
2015-10-14T13:20:01
2015-10-14T13:20:01
44,555,537
1
0
null
2015-10-19T18:36:37
2015-10-19T18:36:37
null
UTF-8
Python
false
false
2,071
py
# Copyright 2015 Google Inc. All rights reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or a...
[ "jberggren@gmail.com" ]
jberggren@gmail.com
f97b66198afcbad41be07d665f2c5589fda3d6e7
3992ae714b747b37341d8eb49a5f907ecb6e8d2a
/akshare/futures_derivative/jyfm_tools_func.py
02d7da2d36f2ea1b534fb8c51bac90591d64180f
[ "MIT" ]
permissive
rhkzleek/akshare
da0c6453e2bcd9ac0cc414b648ab5b2aee73ab30
804642122a29b58eb8c43ac825c9eedfb8d2f6d9
refs/heads/master
2021-05-20T01:13:56.644648
2020-04-01T07:49:44
2020-04-01T07:49:44
252,123,197
1
0
MIT
2020-04-01T08:58:58
2020-04-01T08:58:57
null
UTF-8
Python
false
false
37,686
py
# -*- coding:utf-8 -*- # /usr/bin/env python """ Author: Albert King date: 2020/01/02 17:37 contact: jindaxiang@163.com desc: 获取交易法门-工具: https://www.jiaoyifamen.com/tools/ 交易法门首页: https://www.jiaoyifamen.com/ # 交易法门-工具-套利分析 交易法门-工具-套利分析-跨期价差(自由价差) 交易法门-工具-套利分析-自由价比 交易法门-工具-套利分析-多腿组合 交易法门-工具-套利分析-FullCarry 交易法门-工具-套利分析...
[ "jindaxiang@163.com" ]
jindaxiang@163.com
4be91b40e73d1f9dfd744a278f9275e198d7b882
8f2c55a2530c3e59dab5907c0044c618b88dd09b
/tests_python/resources/_debugger_case_generator2.py
59c6ee88d1d2b503bcdb97c56156fb71084af719
[ "Apache-2.0", "EPL-1.0" ]
permissive
fabioz/PyDev.Debugger
5a9c6d4c09be85a0e2d9fb93567fd65faf04c81d
26864816cbfcf002a99913bcc31ebef48042a4ac
refs/heads/main
2023-08-18T01:08:34.323363
2023-04-15T11:15:47
2023-04-15T11:15:47
21,870,144
363
126
Apache-2.0
2023-07-30T23:03:31
2014-07-15T18:01:12
Python
UTF-8
Python
false
false
287
py
def get_return(): return 10 def generator(): print('start') # break here yield 10 # step 1 return \ get_return() # step 2 if __name__ == '__main__': for i in generator(): # generator return print(i) print('TEST SUCEEDED!') # step 3
[ "fabiofz@gmail.com" ]
fabiofz@gmail.com
5327fc8f8debafd9cb4c83a7e844fc228e595b5c
457776337d8dcaa75df1c48869e9be1ab58be253
/py3/pachong/2017_07_18a.py
d922f93beebcd18c966ae80f17e495c7829dfb0b
[]
no_license
tiankangbo/dashboard
c63d0df6e2eb60a6e17e4d7fde19e8e12a7958a9
8f6c6f806f3f8a8fe4ab8937d5c5a00986522c40
refs/heads/master
2021-07-14T20:18:18.843903
2017-10-22T06:16:15
2017-10-22T06:16:15
103,809,007
0
0
null
null
null
null
UTF-8
Python
false
false
844
py
# coding:utf8 __author__ = 'tiankangbo' from multiprocessing import Pipe, Process import random import time, os def proc_send(pipe, urls): """ pipe的发送端 :param pipe: :param urls: :return: """ for url in urls: print("process %s --send %s " %(os.getpid(), url) ) pipe.send(url...
[ "tiankangbo@gmail.com" ]
tiankangbo@gmail.com
d3dbf1b61ef1ea1dea9fe204714c8749ba0135f7
17381d148b86fc4354d1ac0e4062a35215eafd09
/paiza/D035.py
f0f47caeb734b128220958b867c5cda906e30d2e
[]
no_license
worldyone/workspace
027a93e1f227eb1c10485f6f2082a92bd98710d5
1e3fa21e23d6e91268882c9e480b76c4a3c4920f
refs/heads/master
2023-03-09T01:21:53.402440
2022-09-20T14:47:49
2022-09-20T14:47:49
174,147,113
0
1
null
2023-02-10T22:53:26
2019-03-06T13:07:08
Python
UTF-8
Python
false
false
34
py
print("/".join(input().split()))
[ "amanohikari142857@gmail.com" ]
amanohikari142857@gmail.com
bd1ac0ef7ac86f79c795a06aa2ed66928a0b9339
9afeff62ff369bcf0a370b257e2d5c82ea1e27fb
/map/test_layers.py
96281ae3e9ec72935297b79c011c5d563faea87f
[]
no_license
raphaelshirley/decals-web
d5404765c29f0e538193c70a13737cb400eb92b0
4897e21fa6844a3179667910c4b0a99c7b4883ad
refs/heads/master
2020-06-04T16:32:15.841911
2019-06-11T14:41:31
2019-06-11T14:41:31
null
0
0
null
null
null
null
UTF-8
Python
false
false
3,511
py
test_layers = [] test_cats = [] test_ccds = [] # test_layers.append(("dr8-test1", "DR8 test1 images")) # test_layers.append(("dr8-test1-model", "DR8 test1 models")) # test_layers.append(("dr8-test1-resid", "DR8 test1 residuals")) # test_layers.append(("dr8-test2", "DR8 test2 (outliers) images")) # test_layers.append(...
[ "dstndstn@gmail.com" ]
dstndstn@gmail.com
5177b8f64631bc86748170335a481b8931d1265a
84d891b6cb6e1e0d8c5f3e285933bf390e808946
/Demo/python_MOOC/Python基础/Unit_5_函数和代码复用/KochDrawV1.py
df7942f10207b2f26d0486d9b5de3038bf80277b
[]
no_license
zzlzy1989/web_auto_test
4df71a274eb781e609de1067664264402c49737e
3e20a55836144e806496e99870f5e8e13a85bb93
refs/heads/master
2020-05-24T10:37:29.709375
2019-10-28T06:14:31
2019-10-28T06:14:31
187,230,775
2
0
null
2019-06-20T11:06:32
2019-05-17T14:29:11
null
UTF-8
Python
false
false
554
py
# -*- coding:utf-8 -*- # @Author : GaoXu # @Time : 2019/8/24 16:30 # @File : KochDrawV1.py # @Software : web_auto_test # 科赫曲线绘制源代码 import turtle def koch(size, n): if n == 0: turtle.fd(size) else: for angle in [0, 60, -120, 60]: turtle.left(angle) koch(size/3, ...
[ "394845369@qq.com" ]
394845369@qq.com
cfa73bc6fadbdcbbdfc5cf8dd20e5d89e3cd7bb1
2c95e0f7bb3f977306f479d5c99601ab1d5c61f2
/tests/setup_nodes.py
5817f6c9a5620296c7b06fc358b7c88d2766b7d1
[ "Apache-2.0" ]
permissive
Olive-blockchain/Olive-blockchain-CLI
d62444f8456467f8105531178d2ae53d6e92087d
8c4a9a382d68fc1d71c5b6c1da858922a8bb8808
refs/heads/main
2023-07-19T03:51:08.700834
2021-09-19T16:05:10
2021-09-19T16:05:10
406,045,499
0
0
Apache-2.0
2021-09-19T16:05:10
2021-09-13T16:20:38
Python
UTF-8
Python
false
false
15,434
py
import asyncio import signal from secrets import token_bytes from typing import Dict, List, Optional from olive.consensus.constants import ConsensusConstants from olive.daemon.server import WebSocketServer, create_server_for_daemon, daemon_launch_lock_path, singleton from olive.full_node.full_node_api import FullNode...
[ "87711356+Olive-blockchain@users.noreply.github.com" ]
87711356+Olive-blockchain@users.noreply.github.com
d9507018888a7618e9bea33aa3984633483a1f65
15514b8cdb9ef2bb25a33e44a2abe79e5eb86439
/analyze_in_vivo/analyze_domnisoru/plots_for_thesis/fraction_burst.py
29db8337758722bb7be32ad824a545b4741947a8
[]
no_license
cafischer/analyze_in_vivo
389ce0d51c6cbeb3e39648aaff13263f0c99060a
e38e1057420b5329504f7095f1ee89e2a293df23
refs/heads/master
2021-06-10T00:18:47.741793
2019-09-14T08:47:53
2019-09-14T08:47:53
100,512,098
0
0
null
null
null
null
UTF-8
Python
false
false
1,853
py
import matplotlib.pyplot as pl import numpy as np import os from analyze_in_vivo.load.load_domnisoru import get_cell_ids_DAP_cells, get_celltype_dict, load_cell_ids pl.style.use('paper') if __name__ == '__main__': save_dir_img = '/home/cf/Dropbox/thesis/figures_results' save_dir = '/home/cf/Phd/programming/pr...
[ "coralinefischer@gmail.com" ]
coralinefischer@gmail.com
7c64a40cefe9184f4e1d25be41ad8c3dbe5a006a
48e124e97cc776feb0ad6d17b9ef1dfa24e2e474
/sdk/python/pulumi_azure_native/network/v20191201/route_filter.py
5b32788416bb2d4e7928a5e77daf9939b8ca1619
[ "BSD-3-Clause", "Apache-2.0" ]
permissive
bpkgoud/pulumi-azure-native
0817502630062efbc35134410c4a784b61a4736d
a3215fe1b87fba69294f248017b1591767c2b96c
refs/heads/master
2023-08-29T22:39:49.984212
2021-11-15T12:43:41
2021-11-15T12:43:41
null
0
0
null
null
null
null
UTF-8
Python
false
false
14,170
py
# coding=utf-8 # *** WARNING: this file was generated by the Pulumi SDK Generator. *** # *** Do not edit by hand unless you're certain you know what you are doing! *** import warnings import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload from ... import _utilities fro...
[ "noreply@github.com" ]
bpkgoud.noreply@github.com
8b94f7c4a36aaa24745fd041bcb686096c08b3a8
711756b796d68035dc6a39060515200d1d37a274
/output_cog/optimized_15633.py
f7aa235c9d624fa3adcab2a0b41cfee1e342232d
[]
no_license
batxes/exocyst_scripts
8b109c279c93dd68c1d55ed64ad3cca93e3c95ca
a6c487d5053b9b67db22c59865e4ef2417e53030
refs/heads/master
2020-06-16T20:16:24.840725
2016-11-30T16:23:16
2016-11-30T16:23:16
75,075,164
0
0
null
null
null
null
UTF-8
Python
false
false
10,839
py
import _surface import chimera try: import chimera.runCommand except: pass from VolumePath import markerset as ms try: from VolumePath import Marker_Set, Link new_marker_set=Marker_Set except: from VolumePath import volume_path_dialog d= volume_path_dialog(True) new_marker_set= d.new_marker_set marker_set...
[ "batxes@gmail.com" ]
batxes@gmail.com
8ffe7071c683152556da838ec3a17236daa37678
c92a60d7968130cf21b20a943976c0e1929b6eb8
/apps/dashboard/forms/courses_form.py
42fc57a32e986e0c4b09b13a1a6744fad9bb1d16
[]
no_license
BeAnhTran/yoga-center-website
efb40103f343b9be627ce926156e66fe9f985435
8b7532f103a73a467cd903923f7cd2ccfc09d949
refs/heads/master
2022-11-25T09:51:27.000385
2020-08-03T01:44:22
2020-08-03T01:44:22
null
0
0
null
null
null
null
UTF-8
Python
false
false
3,480
py
from django import forms from django.db import transaction from apps.courses.models import Course from apps.lectures.models import Lecture from crispy_forms.helper import FormHelper from crispy_forms.layout import Layout, Submit, Row, Column, Fieldset from apps.cards.models import CardType from django.utils.translation...
[ "giatruongtran27@gmail.com" ]
giatruongtran27@gmail.com
8f16e1b5e64421ec6bc8d889c797ff5980fe3a0a
564d6a4d305a8ac6a7e01c761831fb2081c02d0f
/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_10_01/aio/operations/_application_gateways_operations.py
01d689ece54c34313dc39c75573bb130fb16761a
[ "LicenseRef-scancode-generic-cla", "LGPL-2.1-or-later", "MIT" ]
permissive
paultaiton/azure-sdk-for-python
69af4d889bac8012b38f5b7e8108707be679b472
d435a1a25fd6097454b7fdfbbdefd53e05029160
refs/heads/master
2023-01-30T16:15:10.647335
2020-11-14T01:09:50
2020-11-14T01:09:50
283,343,691
0
0
MIT
2020-07-28T22:43:43
2020-07-28T22:43:43
null
UTF-8
Python
false
false
55,284
py
# coding=utf-8 # -------------------------------------------------------------------------- # Copyright (c) Microsoft Corporation. All rights reserved. # Licensed under the MIT License. See License.txt in the project root for license information. # Code generated by Microsoft (R) AutoRest Code Generator. # Changes may ...
[ "noreply@github.com" ]
paultaiton.noreply@github.com
cafdb03b3c85c33fab56156890ff9c9e6e356031
7fba01da6426480612d7cef9ceb2e15f3df6d01c
/PYTHON/pythonDesafios/desafio026.py
09a9abe13c925116c934a1eaefb7fb7274226769
[ "MIT" ]
permissive
Santos1000/Curso-Python
f320fec1e7ced4c133ade69acaa798d431e14113
549223a1633f6f619c87554dd8078cf7841bb1df
refs/heads/main
2023-05-26T12:01:23.868814
2021-05-26T13:22:58
2021-05-26T13:22:58
371,039,290
0
0
null
null
null
null
UTF-8
Python
false
false
272
py
frase = str(input('Digite a frase:')).upper().strip() print('A primeira letra A aparece: na {} posicao.'.format(frase.find('A')+1)) print('A letra A aparece: {} vezes.'.format(frase.count('A'))) print('A ultima letra A aparece: na {} posicao.'.format(frase.rfind('A')+1))
[ "83990871+Santos1000@users.noreply.github.com" ]
83990871+Santos1000@users.noreply.github.com
e1d69df5b96a8284caf0e616b10529f32b2b0641
3775102a3f59bc8aac9b8121ba2aef87409724ee
/Medium/pass_triangle.py
7fecb020cf0b692b29563050feb428790dc7045e
[]
no_license
csikosdiana/CodeEval
a446ec6673e9f97439662bfccbd7454e5740d509
15cdd9ca454939e93c77d5ed5076595ecc7e4301
refs/heads/master
2016-08-11T14:49:27.565799
2016-03-22T17:48:20
2016-03-22T17:48:20
46,176,059
0
0
null
null
null
null
UTF-8
Python
false
false
511
py
data = ["5", "9 6", "4 6 8", "0 7 1 5"] #import sys #test_cases = open(sys.argv[1], 'r') #data = test_cases.readlines() S = [] for test in data: test = test.rstrip() nums = test.split(" ") nums = map(int, nums) if S == []: S = nums continue else: T = nums E = [] for i in range(0, len(T)): if i == 0:...
[ "csikosdiana@gmail.com" ]
csikosdiana@gmail.com
f840e829bc9dfe916b409569d8d751b1d3de80fc
8c6867a4019ca8e622df216dc0e2566c51b3d396
/ashesiundergraduate/migrations/0001_initial.py
bd2a3c50c5fc4bdce49570d8e213249771eaf334
[]
no_license
deone/apply
3cd36233bc191393b05ef32073fdaa4a3b56fb2e
724e024c1455cd193901e2f7f5a8377806ffe974
refs/heads/master
2021-01-21T04:41:33.605076
2019-05-22T12:29:13
2019-05-22T12:29:13
54,662,123
0
0
null
null
null
null
UTF-8
Python
false
false
1,268
py
# -*- coding: utf-8 -*- # Generated by Django 1.9.4 on 2016-04-03 09:01 from __future__ import unicode_literals from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): initial = True dependencies = [ ('setup', '0011_auto_20160402_2153'), ...
[ "alwaysdeone@gmail.com" ]
alwaysdeone@gmail.com
6bb6754a843f836266657cf3d64f58fec17a3cc7
b0a1008bd20b8325328f62473acab216216fd72f
/static/playdrone/Reference_ref/com.google.android.apps.books-30149/constraints1_0.py
bb63b21546dc9ee9d3c67a7ce311cf4cb20ebbd6
[]
no_license
zhuowei/IntelliDroidUiEvaluationCode
14bffcbf707455a83bdcb7fc7e75f7dfcf461c11
eab8bed4490739e2f5b2633e2817b46500e6d201
refs/heads/master
2020-03-09T07:33:00.053786
2018-04-09T18:26:45
2018-04-09T18:26:45
128,666,963
0
0
null
null
null
null
UTF-8
Python
false
false
339
py
# Entrypoint: com.google.android.apps.books.app.AccountPickerFragment.onDismiss(Landroid/content/DialogInterface;)V # Target: invokevirtual < Application, Landroid/app/Activity, startActivity(Landroid/content/Intent;)V >@38 IAAv0 = Int('IAAv0') # Pointer<972229980>.equal(Pointer<-570473851>.getCurrentAccount()) s....
[ "zhuoweizhang@yahoo.com" ]
zhuoweizhang@yahoo.com
a7f5240b5cde3a626f32d2dca6f20e950e24b9b6
43598dd1e251b1733ed16981a148834bd9faca9b
/main.py
a0dfa3259f49652c346ab01ac8a5adc5a0e0ea8b
[]
no_license
SamL98/PhysicsEngine
86e6f38a34d7261c13cc76e78f2702e72c4c0c3b
440e9042cc999277bbc1961cbb4b8f2300f28fde
refs/heads/master
2020-03-23T18:51:45.246905
2018-07-22T22:50:14
2018-07-22T22:50:14
141,936,554
0
0
null
null
null
null
UTF-8
Python
false
false
1,030
py
import cv2 as cv import numpy as np from time import sleep from draw_util import clear from draw import draw_shape from line import create_line from circle import create_ball from collider import collide_inelastic g = 9.8 w, h = 250, 500 kexit = 27 canvas = np.ones((h, w)) ball = create_ball(pos=[0, w//2-10]) ball...
[ "lerner98@gmail.com" ]
lerner98@gmail.com
e1d31a086d8d654f5f697c298c2e6e14355fe901
02ce6d29fec0d68ca2a2a778d37d2f2cff1a590e
/Old/PythonOne/20.3.1.py
bb4f66a90f65ad532544ff1f65ce40b1439c06cf
[]
no_license
CalvinCheungCoder/Python-100-Days
605045122e40c119abc32466c32479559a4d4b9b
0f9bec8893954d4afbe2037dad92885c7d4d31f8
refs/heads/master
2020-04-17T11:49:42.148478
2019-09-19T10:22:37
2019-09-19T10:22:37
166,556,771
1
0
null
null
null
null
UTF-8
Python
false
false
443
py
import threading import time def thread_body(): t = threading.current_thread() for n in range(5): print('第 {0} 次执行线程 {1}'.format(n, t.name)) time.sleep(1) print('线程 {0} 执行完成!'.format(t.name)) def main(): t1 = threading.Thread(target=thread_body()) t1.start() t2 = threading.T...
[ "984382258@qq.com" ]
984382258@qq.com