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
20891c001bfbe780b1f4865470d6788401eefa16
ce196aba0adde47ea2767eae1d7983a1ef548bb8
/求n,m的最小公倍数.py
8ff00c68cb9f7a31cebbfb654fe4a258fce95226
[]
no_license
xiang-daode/Python3_codes
5d2639ffd5d65065b98d029e79b8f3608a37cf0b
06c64f85ce2c299aef7f9311e9473e0203a05b09
refs/heads/main
2023-08-30T14:59:55.123128
2021-11-03T05:12:24
2021-11-03T05:12:24
333,632,892
0
2
null
null
null
null
UTF-8
Python
false
false
296
py
# 计算n,m的最小公倍数 def gbs(x,y): if x>y: z=y else: z=x f=1 for i in range(z-1,2,-1): if(x%i==0 and y%i==0): f=f*i x=x/i y=y/i f=f*x*y print(f) n=int(input()) m=int(input()) gbs(n,m)
[ "noreply@github.com" ]
xiang-daode.noreply@github.com
3d6ade2c6dbc770b827d650cd0b41c4c9c3b901e
d9ccb2b8e549a594bf06868391481ea8669786ea
/migrations/versions/9320d2f7765b_add_source_file.py
c10af5965a24672f6ca7c873edbb88c525eefb10
[ "Apache-2.0" ]
permissive
clld/dogonlanguages
00dd3895dffbb99c048f0d0a8970d6cd4199ff5c
2b0b510e853b77c9e356a9c73142401afc93b04a
refs/heads/master
2022-12-13T02:33:10.590590
2022-12-02T08:34:24
2022-12-02T08:34:24
25,243,999
1
2
Apache-2.0
2021-12-07T13:25:46
2014-10-15T07:39:00
Python
UTF-8
Python
false
false
858
py
# coding=utf-8 """add source file Revision ID: 9320d2f7765b Revises: 1770d17056aa Create Date: 2017-05-05 09:58:20.128175 """ from alembic import op from clld.db.migration import Connection from clld.db.models.common import Source, Source_files # revision identifiers, used by Alembic. revision = '9320d2f7765b' do...
[ "xrotwang@googlemail.com" ]
xrotwang@googlemail.com
e5a27eaa219e0fde7041e68c4eb80d954a19f87a
66c6f9a24c9a1f912e93f96b439b81a10cffac77
/test/vanilla/Expected/AcceptanceTests/BodyBoolean/bodyboolean/__init__.py
9582ec858066aa9339d3ef1d5f01d189ad7214ef
[ "MIT", "LicenseRef-scancode-generic-cla" ]
permissive
kairu-ms/autorest.python
5dd0e8bf2ebf0c0dc148342003899fabd269f946
20870e3870fcfeae9567b63343d2320bf388f3c6
refs/heads/master
2023-04-29T23:00:50.568945
2020-01-17T18:03:00
2020-01-17T18:03:00
null
0
0
null
null
null
null
UTF-8
Python
false
false
737
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" ]
kairu-ms.noreply@github.com
2435d771630538e9959dd54e81aaf11fc02774d0
87b7ec1af5bde5aa46f1982008aecec00ca00c1d
/conf.py
027ac88796a93502408f1ac60968deead521e278
[ "MIT" ]
permissive
kattni/Adafruit_CircuitPython_VS1053
ca656e64a83f74e398bbc0ad21d8c9fd27614270
20d5ac7f71117b8bdd4db75678ce98e3a6b19e49
refs/heads/master
2020-03-31T09:50:02.930951
2018-10-09T01:39:32
2018-10-09T01:39:32
152,112,523
0
0
null
2018-10-08T16:34:31
2018-10-08T16:34:31
null
UTF-8
Python
false
false
4,600
py
# -*- coding: utf-8 -*- import os import sys sys.path.insert(0, os.path.abspath('.')) # -- General configuration ------------------------------------------------ # Add any Sphinx extension module names here, as strings. They can be # extensions coming with Sphinx (named 'sphinx.ext.*') or your custom # ones. extensi...
[ "tony@tonydicola.com" ]
tony@tonydicola.com
7606b5f0032344a49b091eeaf649d06bc041c27a
3dc3bbe607ab7b583eb52dbaae86636eb642960a
/mmaction/models/backbones/resnet_audio.py
fd3a520e927f7efcdddbf8c512ea00f787ad6fbd
[ "Apache-2.0" ]
permissive
open-mmlab/mmaction2
659c36c6083fd3d9d072e074a8d4b3a50342b9bd
582b78fd6c3240500d5cacd292339d7d1ddbb056
refs/heads/main
2023-08-28T18:14:50.423980
2023-08-10T09:20:06
2023-08-10T09:20:06
278,810,244
3,498
1,028
Apache-2.0
2023-09-07T06:50:44
2020-07-11T07:19:10
Python
UTF-8
Python
false
false
14,308
py
# Copyright (c) OpenMMLab. All rights reserved. from typing import Optional, Sequence import torch import torch.nn as nn import torch.utils.checkpoint as cp from mmcv.cnn import ConvModule from mmengine.logging import MMLogger from mmengine.model.weight_init import constant_init, kaiming_init from mmengine.runner impo...
[ "noreply@github.com" ]
open-mmlab.noreply@github.com
529a5ab95bf0f23e3253b65c5eec0ee18fc952aa
0455b5da2b6bc9fad7b92f6b99005a8c81cdda97
/emiratesnbd/items.py
9d273557032c6fd1404c5a4aab8e83a35ed96782
[]
no_license
hristo-grudev/emiratesnbd
da22bf3f3023f5bd6b9e230a4df3da5ab61d509c
48494986f0ed44b15cc1b7b1a425a4d65582cf1f
refs/heads/main
2023-04-15T00:59:31.067111
2021-04-22T06:28:13
2021-04-22T06:28:13
360,414,897
0
0
null
null
null
null
UTF-8
Python
false
false
138
py
import scrapy class EmiratesnbdItem(scrapy.Item): title = scrapy.Field() description = scrapy.Field() date = scrapy.Field()
[ "hr.grudev@gmail.com" ]
hr.grudev@gmail.com
4be32626ca67e776aca8f11478838d70d8e803bb
5afd733a5c1f753601c69b8b4eae1b49edfbae7c
/201-300/282.py
f1575add29bfe60cd0d5c53e27f8449440e6ebb0
[]
no_license
yanbinbi/leetcode
9dcd4a0160be915006455b83d6b7cd39e9819811
616a868bfa7bdd00195067b0477b0236a72d23e0
refs/heads/master
2021-05-13T19:34:17.222576
2017-11-12T02:04:31
2017-11-12T02:04:31
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,279
py
class Solution(object): def addOperators(self, num, target): """ :type num: str :type target: int :rtype: List[str] """ self.ret =set() self.dfs(num, [], target) return list(self.ret) def dfs(self, num, arr, target): size = len(num...
[ "xukaifeng1986@gmail.com" ]
xukaifeng1986@gmail.com
9d13794ae4997422a14e76c2f9e828ff273b8e4e
5537eec7f43098d216d2b550678c8d10b2a26f09
/venv/ansible/lib/python2.7/site-packages/azure/batch/models/task_scheduling_policy.py
220faadb2936c714ded099065c8ed5afe1731434
[]
no_license
wipro-sdx/Automation
f0ae1512b8d9d491d7bacec94c8906d06d696407
a8c46217d0fbe51a71597b5db87cbe98ed19297a
refs/heads/master
2021-07-08T11:09:05.314435
2018-05-02T07:18:54
2018-05-02T07:18:54
131,812,982
0
1
null
2020-07-23T23:22:33
2018-05-02T07:15:28
Python
UTF-8
Python
false
false
1,183
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. # C...
[ "admin@example.com" ]
admin@example.com
e00c4b648f1a238bca577a041f426ddc93bae731
b01429f27f8d7f4db7e3eba0abbb6be1ea67e2fa
/imageimage1.2/langage.py
dc64ee7d7051ab678f89b67c5e801ac667c1855a
[]
no_license
pastrouveedespeudo/ste-fois-c-la-bonne
3dce8cdfc6b5523d9651e8ec9a143b7ab7789d21
9872c35423870c9854ee0bda120cca0c832c1fc9
refs/heads/master
2020-04-20T22:08:34.295196
2019-02-17T17:18:36
2019-02-17T17:18:36
169,129,734
0
0
null
null
null
null
UTF-8
Python
false
false
4,165
py
from mémoire import * from outils_fichier import * from politesse import * from outils_internet import * #Regle #ne seront maqué que les truk importants #dans mémoire str.find la liste, si ya pas on ajoute fais le #ca fait ia class langage: def début1(self): #début1(self, oIn...
[ "noreply@github.com" ]
pastrouveedespeudo.noreply@github.com
b04ed6d55babef029018dcc05dcb6afed7e6ad71
0dc27aeb342b9b898256adf256c5b77a666e68fb
/lm386/codes/coeffs.py
f505630bc52bdbb325464e11d00650e33c721eb4
[]
no_license
gadepall/EE2230
7861b898d90abf04b935cb77b31f2c70e290b096
739b01d8f5da93cc5c38121e62ea6d9e87851146
refs/heads/master
2020-03-25T20:25:57.885565
2019-10-06T01:57:13
2019-10-06T01:57:13
144,130,660
0
1
null
null
null
null
UTF-8
Python
false
false
1,010
py
import numpy as np def dir_vec(A,B): return B-A def norm_vec(A,B): return omat@dir_vec(A,B) #Generate line points def line_gen(A,B): len =10 x_AB = np.zeros((2,len)) lam_1 = np.linspace(0,1,len) for i in range(len): temp1 = A + lam_1[i]*(B-A) x_AB[:,i]= temp1.T return x_AB ...
[ "gadepall@gmail.com" ]
gadepall@gmail.com
6f9f7154c397d558289889cac3d1ff8b7cb8991b
9743d5fd24822f79c156ad112229e25adb9ed6f6
/xai/brain/wordbase/otherforms/_upstarts.py
a99715c49d6b20f79507a7ced2a14b39179cb8bc
[ "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
226
py
#calss header class _UPSTARTS(): def __init__(self,): self.name = "UPSTARTS" self.definitions = upstart self.parents = [] self.childen = [] self.properties = [] self.jsondata = {} self.basic = ['upstart']
[ "xingwang1991@gmail.com" ]
xingwang1991@gmail.com
0cb85670c7ca2f434db6351d257e24ca060fa7f1
de24f83a5e3768a2638ebcf13cbe717e75740168
/moodledata/vpl_data/380/usersdata/341/93264/submittedfiles/principal.py
6cda24a7d78aabf878f6abdc614407b80d6ddb97
[]
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
276
py
# -*- coding: utf-8 -*- #COMECE AQUI ABAIXO n=int(input('Digite a quantidade de notas: ')) notas = [] for i in range (0,n,1): notas.append(float(input('Digite a nota%d: ' % (i+1)))) media=0 for i in range (0,n,1): media += notas[i]/n print(notas[i]) print(media)
[ "rafael.mota@ufca.edu.br" ]
rafael.mota@ufca.edu.br
279efe43b1dbd7cc075bd5b7c93df9bcdff1d52d
b5e93a09ee136b2b035c9958557e3e4091d8d9fd
/horch/models/attention.py
d13ba6fb39ab10e20773465ea90474516517c923
[ "MIT" ]
permissive
ccglyyn/pytorch-hrvvi-ext
2ee0cd27461c344783150535fbadea5fbe29f25b
a020da3543982464ff3888ff84b311e98a130d6d
refs/heads/master
2022-04-20T13:35:07.561985
2020-04-21T10:36:36
2020-04-21T10:36:36
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,883
py
import torch from horch.models.modules import Conv2d, HardSigmoid, Identity from torch import nn as nn from torch.nn import functional as F class SEModule(nn.Module): def __init__(self, in_channels, reduction=8): super().__init__() channels = in_channels // reduction self.pool = nn.Adaptiv...
[ "sbl1996@126.com" ]
sbl1996@126.com
f9939dba69a49fcceaa92a28b7e0708a772e5a5d
51891febfc6247af3fe5c39b3063d1f1995a0173
/src/scatter3d_demo.py
50e8fbaac07658778552197aa7e1ff424f28fe21
[]
no_license
jim1949/car_controller
4ab391eef29e46563853bc3d54a06a6c4a0714c4
f2053ddde429dbdef39261d24197f3bc7936166f
refs/heads/master
2020-12-25T14:23:37.339889
2016-09-13T09:55:07
2016-09-13T09:55:07
67,448,480
0
0
null
null
null
null
UTF-8
Python
false
false
1,068
py
# import numpy as np # from mpl_toolkits.mplot3d import Axes3D # import matplotlib.pyplot as plt # # def randrange(n, vmin, vmax): # # return (vmax - vmin)*np.random.rand(n) + vmin # # fig = plt.figure() # # ax = fig.add_subplot(111, projection='3d') # # n = 100 # # for c, m, zl, zh in [('r', 'o', -50, -25), ('b...
[ "jim1949@163.com" ]
jim1949@163.com
1891a0d48660d0b40e0a7143031cddabaaaca6d6
c1267fbec95318184e7388cddf9b7085f797d514
/2023/03 March/db03242023.py
c6859abc43ce48d34df3d2d5d2e620c5251009bd
[ "MIT" ]
permissive
vishrutkmr7/DailyPracticeProblemsDIP
1aedfd2e173847bf22989a6b0ec550acebb2bd86
2c365f633a1e1bee281fbdc314969f03b17ac9ec
refs/heads/master
2023-05-31T23:49:52.135349
2023-05-28T09:32:12
2023-05-28T09:32:12
199,596,248
10
4
MIT
2022-11-02T21:31:59
2019-07-30T07:12:46
Python
UTF-8
Python
false
false
563
py
""" Given positive an integer num, return whether or not it is a perfect square. Ex: Given the following num... num = 9, return true. Ex: Given the following num... num = 18, return false. """ class Solution: def isPerfectSquare(self, num: int) -> bool: r = num while r**2 > num: r ...
[ "vishrutkmr7@gmail.com" ]
vishrutkmr7@gmail.com
8295157610a4f2105ed98d1ae6239095adf384e2
a2d36e471988e0fae32e9a9d559204ebb065ab7f
/huaweicloud-sdk-vpcep/huaweicloudsdkvpcep/v1/model/update_endpoint_service_request_body.py
3bc8d522210d8b68191c685c6dd1771204d35e22
[ "Apache-2.0" ]
permissive
zhouxy666/huaweicloud-sdk-python-v3
4d878a90b8e003875fc803a61414788e5e4c2c34
cc6f10a53205be4cb111d3ecfef8135ea804fa15
refs/heads/master
2023-09-02T07:41:12.605394
2021-11-12T03:20:11
2021-11-12T03:20:11
null
0
0
null
null
null
null
UTF-8
Python
false
false
9,291
py
# coding: utf-8 import re import six from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization class UpdateEndpointServiceRequestBody: """ Attributes: openapi_types (dict): The key is attribute name and the value is attribute type. attribute_map (...
[ "hwcloudsdk@huawei.com" ]
hwcloudsdk@huawei.com
681d225433e47211d53e066d86b564a3b40b86f6
c46754b9600a12df4f9d7a6320dfc19aa96b1e1d
/examples/flax/image-captioning/run_image_captioning_flax.py
bbc79977a467931ba4630dda11dc76e9380ae962
[ "Apache-2.0" ]
permissive
huggingface/transformers
ccd52a0d7c59e5f13205f32fd96f55743ebc8814
4fa0aff21ee083d0197a898cdf17ff476fae2ac3
refs/heads/main
2023-09-05T19:47:38.981127
2023-09-05T19:21:33
2023-09-05T19:21:33
155,220,641
102,193
22,284
Apache-2.0
2023-09-14T20:44:49
2018-10-29T13:56:00
Python
UTF-8
Python
false
false
56,513
py
#!/usr/bin/env python # coding=utf-8 # Copyright 2022 The HuggingFace Team 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-...
[ "noreply@github.com" ]
huggingface.noreply@github.com
774afe9bfbd6e0fc09cc788a6fa5e93094dfbc0c
6c137e70bb6b1b618fbbceddaeb74416d387520f
/spyre/spyre/spyrelets/freqSweep_spyrelet.py
c88d864d47ca403ea0d31e6f4980f09a030b1c1e
[ "BSD-2-Clause" ]
permissive
zhong-lab/code
fe497c75662f8c3b7ab3c01e7e351bff6d5e8d15
b810362e06b44387f0768353c602ec5d29b551a2
refs/heads/master
2023-01-28T09:46:01.448833
2022-06-12T22:53:47
2022-06-12T22:53:47
184,670,765
2
7
BSD-2-Clause
2022-12-08T21:46:15
2019-05-02T23:37:39
Python
UTF-8
Python
false
false
10,111
py
import numpy as np import pyqtgraph as pg import time import random import matplotlib.pyplot as plt from PyQt5.Qsci import QsciScintilla, QsciLexerPython from spyre import Spyrelet, Task, Element from spyre.widgets.task import TaskWidget from spyre.plotting import LinePlotWidget,HeatmapPlotWidget from spyre.widgets.ra...
[ "none" ]
none
aa044018408c1b28331bd6260ab341a84fc5a936
bc167f434158921bcf2c678155c5cdfec1c9b0c9
/PI_code/simulator/behaviourGeneration/buildBehaviour.py~
61fb21ba3d039ecacb623931e2bf58e4efd62509
[]
no_license
s0217391/DifferentProjects
6450efc89c64ecd21b86c705737e89e5c69433a6
7f4da153660817b6cbf72d2e823aa29c0c2f95a9
refs/heads/master
2021-01-17T02:58:46.219240
2015-05-26T22:45:46
2015-05-26T22:45:46
34,995,164
0
0
null
null
null
null
UTF-8
Python
false
false
687
#!/usr/bin/python import sys import expressionBuilder as eb def writeLine(f, st = '', tabs = 0): result = "" for i in range(tabs): result = result + " " result = result + st f.write(result) f.write('\n') def startFile(f): writeLine(f, '#!/usr/bin/python'); writeLine(f, 'import sys'); writeLine(f) writeLin...
[ "i7674211@bournemouth.ac.uk" ]
i7674211@bournemouth.ac.uk
716b5557af847737363d572821718326db017f6c
e2e9ae72910dd29877de026866a6f13335815ca6
/prml/kernels/kernel.py
03ad8127e24cddaca11a6e7edd0c46a111d14bf3
[]
no_license
zshwuhan/PRML
b39f09e14cd1169ff44e7299b8adfdd3aea2f94d
497d985f6387fc31d5fe861533cb333e06f80469
refs/heads/master
2021-05-14T23:40:27.351492
2017-09-21T12:48:46
2017-09-21T12:48:46
null
0
0
null
null
null
null
UTF-8
Python
false
false
540
py
import numpy as np class Kernel(object): def _pairwise(self, x, y): """ all pairs of x and y Parameters ---------- x : (sample_size, n_features) input y : (sample_size, n_features) another input Returns ------- outp...
[ "r0735nj5058@icloud.com" ]
r0735nj5058@icloud.com
82461d66890b1704b59ea9a59d8c4729e2e080b8
f085af63a93cb12feca75a3d9e855c3373d2b78e
/dynamic_programming/longest_nondecreasing_subsequence_length.py
ec8cd8dc441a12123420e33dfbc9572f6318d970
[]
no_license
zjxpirate/Daily-Upload-Python
9542f1a3491ac5c843bc80266523bc06c37be20e
d5efcfdaf7e632e1f0cb8b21c505c0c0a5325eb0
refs/heads/master
2020-04-03T08:10:55.667410
2019-06-27T01:15:36
2019-06-27T01:15:36
155,124,951
2
0
null
null
null
null
UTF-8
Python
false
false
498
py
# 15. find the longest nondecreasing subsequence list1 = [0, 8, 4, 12, 2, 10, 6, 14, 1, 9] def longest_nondecreasing_subsequence_length(A): # max_length[i] holds the length of the longest nondecreasing subsequence of A[:i + 1]. max_length = [1] * len(A) for i in range(1, len(A)): max_length[i] ...
[ "j_zhang21@u.pacific.edu" ]
j_zhang21@u.pacific.edu
2482542d358ddfb289a586947cba5d91d129a318
f445450ac693b466ca20b42f1ac82071d32dd991
/generated_tempdir_2019_09_15_163300/generated_part007021.py
2025aafae69c6640949ff7fe65450879584c3cdd
[]
no_license
Upabjojr/rubi_generated
76e43cbafe70b4e1516fb761cabd9e5257691374
cd35e9e51722b04fb159ada3d5811d62a423e429
refs/heads/master
2020-07-25T17:26:19.227918
2019-09-15T15:41:48
2019-09-15T15:41:48
208,357,412
4
1
null
null
null
null
UTF-8
Python
false
false
1,300
py
from sympy.abc import * from matchpy.matching.many_to_one import CommutativeMatcher from matchpy import * from matchpy.utils import VariableWithCount from collections import deque from multiset import Multiset from sympy.integrals.rubi.constraints import * from sympy.integrals.rubi.utility_function import * from sympy....
[ "franz.bonazzi@gmail.com" ]
franz.bonazzi@gmail.com
617571ece63ec1c75aaac8ba508201a4956ff656
ce741ade3d7ebfc64cf2736358f6e77b06168830
/apps/users/models.py
548f619885ca2197b733f8ec22122e00804d4162
[]
no_license
Erick-LONG/MxShop
798a1ce4eb557973732ee6206640bdf9a247216b
783e5d66a4d49b3eceb3eb6d7c729fcfa69742cb
refs/heads/master
2021-04-03T08:31:41.588749
2018-03-22T04:01:46
2018-03-22T04:01:46
124,395,167
0
0
null
null
null
null
UTF-8
Python
false
false
1,238
py
from datetime import datetime from django.db import models from django.contrib.auth.models import AbstractUser # Create your models here. class UserProfile(AbstractUser): '''用户''' name = models.CharField(max_length=30,null=True,blank=True,verbose_name='姓名') birthday = models.DateField(null=True,blank=Tru...
[ "834424581@qq.com" ]
834424581@qq.com
60f10d228169389471da351b6d96d2bffe92e6f0
2d27360e2038546a38746912fa75dbde8667ee61
/make_dogC.py
cc4a3b7215091b543f863bdc11c36a5f125ffa5e
[ "MIT" ]
permissive
matteoferla/DogCatcher
234353eb0e2f8177e59314e62d901b13bed1a265
ff7edb88b73aa0585d8f6528ccfc22939c934fb5
refs/heads/master
2023-05-07T18:16:58.632024
2021-06-02T07:23:35
2021-06-02T07:23:35
257,064,986
0
0
null
null
null
null
UTF-8
Python
false
false
4,538
py
from model_maker import Catcher, pyrosetta import json pymol = pyrosetta.PyMOLMover() dogC = Catcher(lyx=9, asx=121, glh=70, asx_type='ASN', cut_resi=105, other_res=['WAT'], params_folder='params', iso_constraint_file='constraints/iso.dogC.cst', trans_constraint_file='const...
[ "matteo.ferla@gmail.com" ]
matteo.ferla@gmail.com
e0d8b0932a51cce603529841b3292b2ad1ba6353
38c10c01007624cd2056884f25e0d6ab85442194
/chrome/browser/resources/settings/controls/compiled_resources.gyp
75cbbb52ea0a4979d02b08222e3564aa9cac2829
[ "BSD-3-Clause" ]
permissive
zenoalbisser/chromium
6ecf37b6c030c84f1b26282bc4ef95769c62a9b2
e71f21b9b4b9b839f5093301974a45545dad2691
refs/heads/master
2022-12-25T14:23:18.568575
2016-07-14T21:49:52
2016-07-23T08:02:51
63,980,627
0
2
BSD-3-Clause
2022-12-12T12:43:41
2016-07-22T20:14:04
null
UTF-8
Python
false
false
1,932
gyp
# Copyright 2014 The Chromium Authors. All rights reserved. # Use of this source code is governed by a BSD-style license that can be # found in the LICENSE file. { 'targets': [ { 'target_name': 'settings_checkbox', 'variables': { 'depends': [ '../../../../../ui/webui/resources/js/com...
[ "zeno.albisser@hemispherian.com" ]
zeno.albisser@hemispherian.com
65b8f955f5a177896154f778e3d5a466193e38b0
2352bc07e12b0256913559cf3485a360569ccd5e
/Practice/code_class/Crossin-practices/python-cocos2d/practice.py
03ae4f527a72db206c7f6622f7b49d67d17d3b0c
[]
no_license
Dis-count/Python_practice
166ae563be7f6d99a12bdc0e221c550ef37bd4fd
fa0cae54e853157a1d2d78bf90408c68ce617c1a
refs/heads/master
2022-12-12T03:38:24.091529
2021-12-22T09:51:59
2021-12-22T09:51:59
224,171,833
2
1
null
2022-12-08T05:29:38
2019-11-26T11:07:00
Jupyter Notebook
UTF-8
Python
false
false
1,050
py
# -*- coding: utf-8 -*- import cocos import random class Testgame(cocos.layer.Layer): # pass def __init__(self): super(Testgame,self).__init__() # self.logo = cocos.sprite.Sprite() # self.logo.position = 550,400 # self.add(self.logo,9999) txt = cocos.text.Label(u'最棒了最棒了')...
[ "492193947@qq.com" ]
492193947@qq.com
98e13b59b62ddedc3ca4697d2082d3d67f574de7
eb0fc861564058487117325298eccce468f6ceb8
/yo/services/notification_sender/cli.py
adae1c7d8b43e370f382cb7e84ec7aa0569d7141
[ "MIT" ]
permissive
dpays/dpay-notifications
239c92243ae53c485bfa44bb7b7e344203645241
32b1cdcd58d622407fd50206053c5b9735a56ba9
refs/heads/master
2020-03-26T21:19:22.793303
2018-09-08T04:26:12
2018-09-08T04:26:12
null
0
0
null
null
null
null
UTF-8
Python
false
false
355
py
# -*- coding: utf-8 -*- import click import yo.yolog @click.command(name='sender') @click.option('--database_url', envvar='DATABASE_URL') def yo_noitification_sender_service(database_url): from yo.services.notification_sender import main_task main_task(database_url=database_url) if __name__ == '__main__': ...
[ "john.gerlock@gmail.com" ]
john.gerlock@gmail.com
c11ddbb3c8c40a72606cae4a86c24ef46d3da507
acf426a78ded4a078063d05457075fedba8f5310
/mn_wifi/sumo/traci/_inductionloop.py
47c322177a8a427c3fa85e06cc1e7b7947b2c0bb
[ "LicenseRef-scancode-x11-stanford" ]
permissive
intrig-unicamp/mininet-wifi
3b58e6cf7b422cfe0f8990e173e77d7ba1d54616
985bf0ca2f11ca2ba17e44518e0df550070ddfba
refs/heads/master
2023-08-27T03:36:41.005380
2023-07-27T13:07:32
2023-07-27T13:07:32
35,002,369
419
278
NOASSERTION
2023-09-12T03:42:45
2015-05-03T22:03:07
Python
UTF-8
Python
false
false
4,605
py
# -*- coding: utf-8 -*- # Eclipse SUMO, Simulation of Urban MObility; see https://eclipse.org/sumo # Copyright (C) 2011-2017 German Aerospace Center (DLR) and others. # This program and the accompanying materials # are made available under the terms of the Eclipse Public License v2.0 # which accompanies this distributi...
[ "ramonreisfontes@gmail.com" ]
ramonreisfontes@gmail.com
eb7e5849b5f2b010cd504a91f7d1992192d5f1ef
163bbb4e0920dedd5941e3edfb2d8706ba75627d
/Code/CodeRecords/2634/48102/248806.py
7d3c7140dc5506ab531b4029d5a8e97dfc1a1732
[]
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
316
py
def compare(a): return a[0] / a[1] def search(ls: list, target: int) -> list: res = [] for i in range(len(ls)-1): for j in range(i+1, len(ls)): res.append([ls[i], ls[j]]) res.sort(key=compare) return res[target-1] lst = eval(input()) t = int(input()) print(search(lst, t))
[ "1069583789@qq.com" ]
1069583789@qq.com
6ebdf216116dcd30b8c2d256c9d9e25c1236a86e
d0533b0574494b13606a557620f38f5a2c74ce16
/venv/lib/python3.7/site-packages/mongoengine/base/common.py
82d2441786f944d1b4b33738eef42a64caa091a5
[ "GPL-1.0-or-later", "MIT", "LicenseRef-scancode-other-copyleft" ]
permissive
CatTiger/vnpy
af889666464ab661fb30fdb0e8f71f94ba2d1e41
7901a0fb80a5b44d6fc752bd4b2b64ec62c8f84b
refs/heads/master
2020-09-26T00:37:54.123877
2020-07-13T10:15:46
2020-07-13T10:15:46
226,124,078
0
0
MIT
2020-04-21T03:02:20
2019-12-05T14:44:55
C++
UTF-8
Python
false
false
1,492
py
from mongoengine.errors import NotRegistered __all__ = ('UPDATE_OPERATORS', 'get_document', '_document_registry') UPDATE_OPERATORS = {'set', 'unset', 'inc', 'dec', 'mul', 'pop', 'push', 'push_all', 'pull', 'pull_all', 'add_to_set', 'set_on_insert', 'min', '...
[ "guozc@133.com" ]
guozc@133.com
a8fd073471237610101d66b5b5288bd5c2f35af1
90419da201cd4948a27d3612f0b482c68026c96f
/sdk/python/pulumi_azure_nextgen/devtestlab/__init__.py
7c60ecc2f02f80c2494ffe58a8560274e9866950
[ "BSD-3-Clause", "Apache-2.0" ]
permissive
test-wiz-sec/pulumi-azure-nextgen
cd4bee5d70cb0d332c04f16bb54e17d016d2adaf
20a695af0d020b34b0f1c336e1b69702755174cc
refs/heads/master
2023-06-08T02:35:52.639773
2020-11-06T22:39:06
2020-11-06T22:39:06
312,993,761
0
0
Apache-2.0
2023-06-02T06:47:28
2020-11-15T09:04:00
null
UTF-8
Python
false
false
282
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! *** # Make subpackages available: from . import ( latest, v20150521preview, v20160515, v20180915, )
[ "public@paulstack.co.uk" ]
public@paulstack.co.uk
b480f0d4a79df1e543ab8471ddd8b32a713f46a5
a61f73dd4cfd8d863e566f6b7422e1637967a1d7
/abci/example/python3/abci/wire.py
72f5fab8b0b227b6282599fe053b95fb0b57f555
[ "Apache-2.0" ]
permissive
FirmaChain/tendermint
e1d91ee4c17f908c9f07d0771621201e9552e81f
aaa060fda4e3a564a32f1ba81f05cea93f6e34ce
refs/heads/master
2020-08-13T07:36:03.482612
2019-10-11T16:07:58
2019-10-11T16:07:58
214,933,104
14
0
Apache-2.0
2019-10-14T02:43:54
2019-10-14T02:43:53
null
UTF-8
Python
false
false
2,599
py
# the decoder works off a reader # the encoder returns bytearray def hex2bytes(h): return bytearray(h.decode('hex')) def bytes2hex(b): if type(b) in (str, str): return "".join([hex(ord(c))[2:].zfill(2) for c in b]) else: return bytes2hex(b.decode()) # expects uvarint64 (no crazy big n...
[ "tim@readevalprint.com" ]
tim@readevalprint.com
ee818994979e4463590d325b2c982d6640272e36
7332aca74ee82c69a64737668f6aba4a20078b1b
/mysite/settings.py
dba505eed042889de7cf95363039bd098723daab
[]
no_license
bcastillo1/my-first-blog
f1609730a2a69dca94c07b0ed017717ad8218d85
4b4f3cfa66f2aff51e8b33805d6dc0e0314afa55
refs/heads/master
2020-03-30T07:00:39.662973
2018-09-29T22:26:58
2018-09-29T22:26:58
150,907,876
0
0
null
null
null
null
UTF-8
Python
false
false
3,181
py
""" Django settings for mysite project. Generated by 'django-admin startproject' using Django 2.0.8. For more information on this file, see https://docs.djangoproject.com/en/2.0/topics/settings/ For the full list of settings and their values, see https://docs.djangoproject.com/en/2.0/ref/settings/ """ import os # ...
[ "you@example.com" ]
you@example.com
6ecccd89ce3b40ed429583a7acf5dce755c3a3b2
6b265b404d74b09e1b1e3710e8ea872cd50f4263
/Python/Ising/ising_sim.py
480aca6617840c8fc9257de0549d3c56f609e818
[ "CC-BY-4.0" ]
permissive
gjbex/training-material
cdc189469ae2c7d43784ecdcb4bcca10ecbc21ae
e748466a2af9f3388a8b0ed091aa061dbfc752d6
refs/heads/master
2023-08-17T11:02:27.322865
2023-04-27T14:42:55
2023-04-27T14:42:55
18,587,808
130
60
CC-BY-4.0
2023-08-03T07:07:25
2014-04-09T06:35:58
Jupyter Notebook
UTF-8
Python
false
false
4,699
py
#!/usr/bin/env python if __name__ == '__main__': from argparse import ArgumentParser import importlib import random import sys from runner import DomainSizeRunner from averager import Averager from util import print_options arg_parser = ArgumentParser(description='2D ising system simul...
[ "geertjan.bex@uhasselt.be" ]
geertjan.bex@uhasselt.be
daf6ce6d701a3f7fd5d4d5556db1235f1aea559b
2d227925231be797cc78b644358ecd3adf00fba7
/ce/c240.py
802087ab037d7ba1d123f6f276c8a9eb0c788b26
[]
no_license
egalli64/pythonesque
6bb107189d4556d832175d41366ea0b18ed6ea1d
154042c5ae5cf43a0ae2c03d509fc48d1dc19eb8
refs/heads/master
2023-07-07T05:50:14.711023
2023-07-01T10:52:24
2023-07-01T10:52:24
53,720,525
21
7
null
null
null
null
UTF-8
Python
false
false
1,294
py
""" Mersenne prime author: Manny egalli64@gmail.com info: http://thisthread.blogspot.com/2017/02/codeeval-mersenne-prime.html https://www.codeeval.com/open_challenges/240/ """ import sys from math import sqrt marsennes = [(2, 3)] def is_prime(number): for divisor in range(2, int(sqrt(number)) + 1): ...
[ "egalli64@gmail.com" ]
egalli64@gmail.com
efc014f939c2d949b0cd19569ef658a32e5e1fe1
cb530e68e4151f793b42b84a86e75794e71efbc0
/containerkeys/middleware.py
993be599e94d17cbe850e168e41066d55a3807c3
[ "Apache-2.0" ]
permissive
CloudBrewery/swift-container-keys
7614ffdf313a8cb90b128be08a4845a438705312
c6406dbc45858c13bd5cc7935dc81a9129141529
refs/heads/master
2021-01-15T11:12:04.166532
2015-01-09T17:41:14
2015-01-09T17:41:14
29,027,338
3
0
null
null
null
null
UTF-8
Python
false
false
8,099
py
# Copyright (c) 2015 Cloud Brewery Inc. (cloudbrewery.io) # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable l...
[ "thurloat@gmail.com" ]
thurloat@gmail.com
7af4bd620c1eacbd1e6a1703e168ef6bebae1672
4875108ee320efe3e17346e35359f938af7146b1
/test.py
63c6f35d1d049bbe0fb91c7e5c802960d0956c47
[ "BSD-2-Clause" ]
permissive
liuqingci/PSpider
504db41f69e61beaf22face04defe39a38a20843
45fffd5395027cb930898b9b728ba6f3d36bc034
refs/heads/master
2020-06-02T23:18:08.101128
2019-06-11T02:54:22
2019-06-11T06:13:05
null
0
0
null
null
null
null
UTF-8
Python
false
false
4,083
py
# _*_ coding: utf-8 _*_ """ test.py by xianhu """ import re import sys import spider import random import logging import datetime import requests from bs4 import BeautifulSoup requests.packages.urllib3.disable_warnings() class MyFetcher(spider.Fetcher): """ fetcher module, rewrite url_fetch() """ de...
[ "qixianhu@qq.com" ]
qixianhu@qq.com
a3bb06d33689b7e7c1437a306a443d4701cb84c1
f2889a13368b59d8b82f7def1a31a6277b6518b7
/2007.py
21c2d0bc31844393f9fde2d7322b2be12978ac4f
[]
no_license
htl1126/leetcode
dacde03de5c9c967e527c4c3b29a4547154e11b3
c33559dc5e0bf6879bb3462ab65a9446a66d19f6
refs/heads/master
2023-09-01T14:57:57.302544
2023-08-25T15:50:56
2023-08-25T15:50:56
29,514,867
7
1
null
null
null
null
UTF-8
Python
false
false
558
py
# Ref: https://leetcode.com/problems/find-original-array-from-doubled-array/discuss/1470959/JavaC%2B%2BPython-Match-from-the-Smallest-or-Biggest-100 class Solution: def findOriginalArray(self, changed: List[int]) -> List[int]: c = collections.Counter(changed) if c[0] % 2 == 1: return []...
[ "tlhuang@tlhuang.net" ]
tlhuang@tlhuang.net
4fb8a6613c23a11b15ea041eb6992e6c99f4496a
facb8b9155a569b09ba66aefc22564a5bf9cd319
/wp2/merra_scripts/03_model_fitting/merraRF882/852-tideGauge.py
23b76be58b869b4adff4020388a4f358c87eeb26
[]
no_license
moinabyssinia/modeling-global-storm-surges
13e69faa8f45a1244a964c5de4e2a5a6c95b2128
6e385b2a5f0867df8ceabd155e17ba876779c1bd
refs/heads/master
2023-06-09T00:40:39.319465
2021-06-25T21:00:44
2021-06-25T21:00:44
229,080,191
0
0
null
null
null
null
UTF-8
Python
false
false
7,456
py
# -*- coding: utf-8 -*- """ Created on Mon May 4 15:51:30 2020 This program is designed to validate a Random Forest model by using the KFOLD method @author: Michael Tadesse """ #import packages import os import glob import numpy as np import pandas as pd from sklearn import metrics from scipy import stats import se...
[ "michaelg.tadesse@gmail.com" ]
michaelg.tadesse@gmail.com
7c254f2c139a62a672f3fceeef3f56306b55cf97
1cbcf8660d3ea833b0a9aa3d36fe07839bc5cfc5
/apps/commons/__init__.py
0f0e0b7adb01e7e6695254fbea30187fca7ed79c
[]
no_license
zhanghe06/migration_project
f77776969907740494281ac6d7485f35d4765115
0264b292873b211bfeca0d645cc41abc9efe883f
refs/heads/master
2022-12-12T10:55:43.475939
2019-09-29T09:19:13
2019-09-29T09:19:13
185,584,884
0
1
null
2022-12-08T05:04:58
2019-05-08T10:31:57
Python
UTF-8
Python
false
false
251
py
#!/usr/bin/env python # encoding: utf-8 """ @author: zhanghe @software: PyCharm @file: __init__.py.py @time: 2019-04-26 20:06 """ def func(): pass class Main(object): def __init__(self): pass if __name__ == '__main__': pass
[ "zhang_he06@163.com" ]
zhang_he06@163.com
4501f26cfb2bffa45db443d6c895bedead0dabe5
5ec7d0bad8a77c79843a2813f5effcb3a2b7e288
/lean/components/config/cli_config_manager.py
39f62229b4180cd6dba56d0480bf199a2f862c96
[ "Apache-2.0" ]
permissive
xdpknx/lean-cli
aca9b9c9c4e156c9faefcfa8ccdfc20423b510a0
c1051bd3e8851ae96f6e84f608a7116b1689c9e9
refs/heads/master
2023-08-08T02:30:09.827647
2021-09-21T21:36:24
2021-09-21T21:36:24
null
0
0
null
null
null
null
UTF-8
Python
false
false
5,050
py
# QUANTCONNECT.COM - Democratizing Finance, Empowering Individuals. # Lean CLI v1.0. Copyright 2021 QuantConnect Corporation. # # 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...
[ "jaspervmerle@gmail.com" ]
jaspervmerle@gmail.com
caab84331a286957688308ab6662f76886565cad
d3efc82dfa61fb82e47c82d52c838b38b076084c
/Autocase_Result/KZZMM/YW_KZZMM_SHXJ_082.py
8be9a19d9eac064c5c1eff466069cccce9c4febe
[]
no_license
nantongzyg/xtp_test
58ce9f328f62a3ea5904e6ed907a169ef2df9258
ca9ab5cee03d7a2f457a95fb0f4762013caa5f9f
refs/heads/master
2022-11-30T08:57:45.345460
2020-07-30T01:43:30
2020-07-30T01:43:30
280,388,441
0
0
null
null
null
null
UTF-8
Python
false
false
3,053
py
#!/usr/bin/python # -*- encoding: utf-8 -*- import sys sys.path.append("/home/yhl2/workspace/xtp_test/xtp/api") from xtp_test_case import * sys.path.append("/home/yhl2/workspace/xtp_test/service") from ServiceConfig import * from mainService import * from QueryStkPriceQty import * from log import * sys.path.append("/h...
[ "418033945@qq.com" ]
418033945@qq.com
a9cfb2037e52211b220afeeb004deb4751481476
7fb2fa25c86a824343b6ca0974978db6b12e5590
/analysis/count_emojis.py
4921e65519970758f36b23edfb37ee5697942392
[ "MIT", "LicenseRef-scancode-unknown-license-reference" ]
permissive
pmichel31415/mtnt
ff3d6f509e665c525946dd0635904cb0a3f9766b
2a7e9a36b36bd1e95d6d8ab9f28f1d9359240807
refs/heads/master
2021-04-06T02:25:17.441054
2019-04-02T18:13:05
2019-04-02T18:13:05
125,262,764
61
7
MIT
2019-02-26T16:01:56
2018-03-14T19:22:44
Python
UTF-8
Python
false
false
477
py
#!/usr/bin/python3 """ Count the number of emojis in the input """ import sys import emoji import re txt_emoji_regex = re.compile(r'(8|:|;|=)(\^|\'|-)?(\)|\(|D|P|p)') utf8_emoji_regex = emoji.get_emoji_regexp() N = 0 try: for line in sys.stdin: for w in line.strip().split(): i...
[ "pmichel31415@gmail.com" ]
pmichel31415@gmail.com
81bbfc87bb3dd84e11481ba72a90d7e8911c8a21
caed98915a93639e0a56b8296c16e96c7d9a15ab
/Math/Power of Three.py
be04323e1373f2ab7d85558dda6dce5cefca560e
[]
no_license
PiyushChandra17/365-Days-Of-LeetCode
0647787ec7e8f1baf10b6bfc687bba06f635838c
7e9e9d146423ca2c5b1c6a3831f21dd85fa376d5
refs/heads/main
2023-02-13T10:41:36.110303
2021-01-17T11:58:51
2021-01-17T11:58:51
319,974,573
0
0
null
null
null
null
UTF-8
Python
false
false
101
py
class Solution: def isPowerOfThree(self, n: int) -> bool: return n > 0 and 3**19 % n == 0
[ "noreply@github.com" ]
PiyushChandra17.noreply@github.com
b5b632dd44c11204aab8b8a20e484fef52e27155
cf652cb90f9d6b22b5943e7d025af631214a904d
/gui/qt/masternode_widgets.py
2d82f068da1566cab334c27284b78794da106afd
[ "MIT" ]
permissive
ddude1/TestLite
02919c68013d2ede9195d618d94260b842a5e292
3f3c00e4ef03dd9b23b99b02f9a8895da8d65aef
refs/heads/master
2022-12-11T12:22:25.029101
2018-06-13T14:11:51
2018-06-13T14:11:51
136,489,568
0
0
MIT
2022-09-23T21:47:03
2018-06-07T14:31:31
Python
UTF-8
Python
false
false
16,092
py
"""Masternode-related widgets.""" from PyQt5.QtGui import * from PyQt5.QtCore import * from PyQt5.QtWidgets import * from electrum_xgox import bitcoin from electrum_xgox.bitcoin import COIN from electrum_xgox.i18n import _ from electrum_xgox.masternode import NetworkAddress, MasternodeAnnounce from . import util de...
[ "32743542+ddude1@users.noreply.github.com" ]
32743542+ddude1@users.noreply.github.com
56aea531c535900df425e4611b4776b282f6fa44
46ae8264edb9098c9875d2a0a508bc071201ec8b
/res/scripts/client/gui/sharedclancache.py
1aa1b48a5532bacd3c62029590bc3c3bcdcd0503
[]
no_license
Difrex/wotsdk
1fc6156e07e3a5302e6f78eafdea9bec4c897cfb
510a34c67b8f4c02168a9830d23f5b00068d155b
refs/heads/master
2021-01-01T19:12:03.592888
2016-10-08T12:06:04
2016-10-08T12:06:04
null
0
0
null
null
null
null
UTF-8
Python
false
false
7,099
py
# Embedded file name: scripts/client/gui/shared/ClanCache.py from collections import namedtuple import BigWorld from Event import Event from account_helpers import getAccountDatabaseID from adisp import async, process from constants import CLAN_MEMBER_FLAGS from debug_utils import LOG_ERROR from helpers import html fro...
[ "m4rtijn@gmail.com" ]
m4rtijn@gmail.com
0ce2e5cbbf0829c6f3a636aa81c11c8deda2ed4b
2e682fd72e3feaa70e3f7bf2a3b83c50d783ec02
/PyTorch/dev/cv/detection/YOLOX_ID2833_for_PyTorch/configs/detectors/cascade_rcnn_r50_rfp_1x_coco.py
176131d6ee71e712688423706383ed6a3a13e405
[ "GPL-1.0-or-later", "Apache-2.0", "BSD-2-Clause", "MIT", "BSD-3-Clause", "LicenseRef-scancode-generic-cla", "LicenseRef-scancode-unknown-license-reference" ]
permissive
Ascend/ModelZoo-PyTorch
4c89414b9e2582cef9926d4670108a090c839d2d
92acc188d3a0f634de58463b6676e70df83ef808
refs/heads/master
2023-07-19T12:40:00.512853
2023-07-17T02:48:18
2023-07-17T02:48:18
483,502,469
23
6
Apache-2.0
2022-10-15T09:29:12
2022-04-20T04:11:18
Python
UTF-8
Python
false
false
1,498
py
# Copyright 2022 Huawei Technologies Co., Ltd # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agre...
[ "wangjiangben@huawei.com" ]
wangjiangben@huawei.com
b58d8677ccb0a7cdfe14ea57afee51438b6116fa
6fa7f99d3d3d9b177ef01ebf9a9da4982813b7d4
/nb836onw9bek4FPDt_16.py
69b55a2efffa5340071d2d3f67af082fc7f2d0f0
[]
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
239
py
def count_same_ends(txt): c = 0 txt = txt.lower() txt = txt.replace("!", "") txt = txt.replace(".", "") words = txt.split() for word in words: if word[0] == word[len(word) - 1] and len(word) != 1: c += 1 return c
[ "daniel.reich@danielreichs-MacBook-Pro.local" ]
daniel.reich@danielreichs-MacBook-Pro.local
10f48cf4c5089b09e6141c69acf9be9eddadb417
49c64efe5249a287c33893131d0e903c43d48556
/saloon_api/manage.py
a72546a7b615d3959d6df89eb63dc31d3df45f2d
[]
no_license
mumarkhan999/django_rest_practice_projects
4d671c96eb7708f07645d9ec698ab259b640bab6
5e5bf76362873f6d8d3ac41f050fad75bbf8ca8c
refs/heads/master
2020-04-17T08:20:52.949068
2019-01-18T13:28:50
2019-01-18T13:47:28
166,408,389
0
0
null
null
null
null
UTF-8
Python
false
false
542
py
#!/usr/bin/env python import os import sys if __name__ == '__main__': os.environ.setdefault('DJANGO_SETTINGS_MODULE', 'saloon_api.settings') try: from django.core.management import execute_from_command_line except ImportError as exc: raise ImportError( "Couldn't import Django. A...
[ "umar.khan@arbisoft.com" ]
umar.khan@arbisoft.com
7388a331af4567a46dc4b438a6216cfde308fd11
edd8ad3dcb6ee9b019c999b712f8ee0c468e2b81
/Python 300/11. Class/284.py
cbe6087088e53713cea580554af042f416b7832d
[]
no_license
narinn-star/Python
575cba200de35b9edf3832c4e41ccce657075751
14eba211cd3a9e9708a30073ba5b31d21d39eeef
refs/heads/master
2023-05-25T22:57:26.079294
2021-06-07T15:29:39
2021-06-07T15:29:39
331,647,462
0
0
null
null
null
null
UTF-8
Python
false
false
386
py
#class _ 클래스 상속 class car: def __init__(self, wheel, price): self.wheel = wheel self.price = price class bike(car): def __init__(self,wheel, price, 구동계): super().__init__(wheel, price) #car.__init__(self, wheel, price) self.구동계 = 구동계 bicycle = bike(2, 100, "시마노") print(bicycle...
[ "skfls2618@naver.com" ]
skfls2618@naver.com
91eaecf9d7e01d9e1e6daaa5154fc75664696fdd
34b9b39442bde1a3c8fa670ef60bcc84d772a067
/Assignment 6-Pandas A-Deadline Oct 31 2017/Assigment6_Marrugo/Assignment6_step1_Marrugo.py
18084c7507efa63f8f69b9823d9f478cea967cc6
[]
no_license
bnajafi/Scientific_Python_Assignments_POLIMI_EETBS
b398fc2754b843d63cd06d517235c16177a87dcf
8da926e995dcaf02a297c6bb2f3120c49d6d63da
refs/heads/master
2021-05-07T22:36:14.715936
2018-01-16T21:12:33
2018-01-16T21:12:33
107,265,075
38
86
null
2018-01-16T21:12:34
2017-10-17T12:24:04
Python
UTF-8
Python
false
false
2,890
py
# -*- coding: utf-8 -*- # Assigment 6 Calculation of the example D using pandas print "Assigment 5 Calculation of the example D using pandas\n" # import library import pandas as pd #Convention resistance [Heat transfer coefficient, area] Resistances_names=["R1in","R2","R3","R4","R5","R6","R7","R8out"]#Resista...
[ "b.najafi87@gmail.com" ]
b.najafi87@gmail.com
3a9e841815a714e6b2cd118666d6904c176e05bd
9d0195aa83cc594a8c61f334b90375961e62d4fe
/JTTest/SL7/CMSSW_10_2_15/src/dataRunA/nano4078.py
10a232d6477959a0e9f45a7e843a5e600466e3b4
[]
no_license
rsk146/CMS
4e49592fc64f6438051544c5de18598db36ed985
5f8dab8c59ae556598b9747b52b88205fffc4dbe
refs/heads/master
2022-12-01T03:57:12.126113
2020-08-04T03:29:27
2020-08-04T03:29:27
284,863,383
0
0
null
null
null
null
UTF-8
Python
false
false
4,293
py
# Auto generated configuration file # using: # Revision: 1.19 # Source: /local/reps/CMSSW/CMSSW/Configuration/Applications/python/ConfigBuilder.py,v # with command line options: nanoAOD_jetToolbox_cff -s NANO --data --eventcontent NANOAOD --datatier NANOAOD --no_exec --conditions 102X_dataRun2_Sep2018Rereco_v1 --era...
[ "rsk146@scarletmail.rutgers.edu" ]
rsk146@scarletmail.rutgers.edu
8e71bfb294c0824e57c51307c343248ff48ae18a
addbf46c371f7d3cb51dfce6d118da8e0fd8c1f2
/nathan-programming-puzzles-10-2-a.py
5d53a2e9e28239d972ee3fd494170d25d1341682
[]
no_license
nrhint/python-class
2a5af35fc887eeb6668278d40b86b5be872ee4c4
c70940b5e03b1858d2f6f16be6807206ec3e22bb
refs/heads/master
2020-12-07T00:37:52.907516
2016-12-07T00:50:52
2016-12-07T00:50:52
67,438,180
0
0
null
2016-09-05T17:09:27
2016-09-05T17:09:27
null
UTF-8
Python
false
false
154
py
import pickle faves = { "food", "games", "programming" } favesFile = open("favorits.dat", 'wb') pickle.dump(faves, favesFile) favesFile.close()
[ "nathan@hintonclan.org" ]
nathan@hintonclan.org
27d53f6361992e5a1a8759acb0c55160f5ab5cb1
07c3034f7b6ef88e08430b8c908613ea0091f1b6
/Homework/HW1/hc2324_hw1_q3.py
8c4604900546d1f073f205bf4eca98d9a5734f9d
[]
no_license
HelalChow/Data-Structures
494b8fabcdf1cac20db78055547ce4160ad6a018
3b3401cbd23e01b2d7d95dfc3b95451ca179cee9
refs/heads/master
2021-10-19T00:24:23.589224
2019-02-15T22:34:05
2019-02-15T22:34:05
null
0
0
null
null
null
null
UTF-8
Python
false
false
358
py
def a_sum_square(n): sum=0 for i in range(n): sum+=i**2 return sum def b_sum_square(n): return sum(i**2 for i in range(n)) def c_sum_square(n): sum = 0 for i in range(n): if i%2 != 0: sum += i**2 return sum def d_sum_square(n): return sum(i...
[ "noreply@github.com" ]
HelalChow.noreply@github.com
964100020297da1c3078fb8f0be88a105eaf54a7
46128b87bf516e34c2844b7a2de37606c1381319
/backend/apps/crowd_bt/types.py
78e1a4852e6817f06d399bb0ee8f67c8685f3450
[]
no_license
nxxtlib/votai
0f9848ef64375ee2beb07e38d009bdf8360c63ed
b8907b23190c1e164d0130538e90356a11f43534
refs/heads/master
2022-11-24T18:44:51.416348
2020-06-01T22:01:08
2020-06-01T22:01:08
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,631
py
from typing import NewType, NamedTuple # pylint: disable=pointless-string-statement """Mu Given a relevance score (s), its Gaussian-distributed format is given by: s ~ N(μ, σ²) """ Mu = NewType("Mu", float) """Sigma Squared Given a relevance score (s), its Gaussian-distributed format is given by: s ~ N(μ, σ²) """...
[ "gustavomaronato@gmail.com" ]
gustavomaronato@gmail.com
31fbf2cea496cbee545c55ace24d1fbf333cb2ee
52e7f32f1d9cff522d76583036735ddd27cd9f7a
/pjs/scoping.py
1127f1febebe38098d14ec04302346b69397eb87
[]
no_license
niallo/PJs
5f8167610a312f249d5f6d64287ee244be29dcf3
e0adb313559774fb1798f56f03aea2e3f0abfd3b
refs/heads/master
2021-01-16T20:56:57.175927
2013-07-13T21:11:54
2013-07-13T21:11:54
null
0
0
null
null
null
null
UTF-8
Python
false
false
3,421
py
import ast from converter import register as converts, PJsNotImplemented import utils FUNC_TEMPLATE = '''\ %(left)s = %(dec_front)s$def(%(special)sfunction $_%(name)s(%(args)s) { // %(lineno)d %(contents)s })%(dec_back)s; %(rname)s.__module__ = _.__name__; %(rname)s.__name__ = $b.str("%(name)s"); ''' LAMBDA_TEMPLATE ...
[ "jared@jaredforsyth.com" ]
jared@jaredforsyth.com
3cdece2e48e8bed2a644484e138ec349ae54e1ab
82bab97dc70cad2e8a64c9563eb36694899683b0
/launcher.py
3d579fd84cf1d0a949f0dba7a5fb6f329e90bd83
[]
no_license
lubusax/ras_1901
a2a0297c5751d9bd2cc10d5790a67df76779580c
7f4a590f7e2b9b70c47e2c4ec7615f2aca91f57a
refs/heads/master
2020-04-16T02:59:00.048554
2019-01-20T18:40:49
2019-01-20T18:40:49
165,215,773
0
1
null
null
null
null
UTF-8
Python
false
false
2,501
py
#! /usr/bin/python3.5 import os, sys, time from dicts.ras_dic import WORK_DIR, PinsBuzzer, PinsDown, PinsOK from lib import Display, CardReader, PasBuz, Button from lib import Odooxlm, Tasks Buz = PasBuz.PasBuz( PinsBuzzer ) Disp = Display.Display() Reader = CardReader.CardReader() B_Down = Button.Button(...
[ "lu.bu.sax@gmail.com" ]
lu.bu.sax@gmail.com
d8ea0a8e9fe2cd0625dc5ac26cddd66c3fed3058
00c6ded41b84008489a126a36657a8dc773626a5
/.history/Sizing_Method/ConstrainsAnalysis/DesignPointSelectStrategy_20210714184448.py
c1f95465cbf3857a24980aee211e2520759b0265
[]
no_license
12libao/DEA
85f5f4274edf72c7f030a356bae9c499e3afc2ed
1c6f8109bbc18c4451a50eacad9b4dedd29682bd
refs/heads/master
2023-06-17T02:10:40.184423
2021-07-16T19:05:18
2021-07-16T19:05:18
346,111,158
0
0
null
null
null
null
UTF-8
Python
false
false
3,588
py
# author: Bao Li # # Georgia Institute of Technology # import sys import os sys.path.insert(0, os.getcwd()) import numpy as np import matplotlib.pylab as plt import Sizing_Method.Other.US_Standard_Atmosphere_1976 as atm import Sizing_Method.Aerodynamics.ThrustLapse as thrust_lapse import Sizing_Method.Aerodynamics.Ae...
[ "libao@gatech.edu" ]
libao@gatech.edu
b93fcfdfac7b65cb81f229e57d46e240ab834093
920ab19b73a7cba21d340a49d9d24e2d1eeabf3d
/idps/lib/python3.7/site-packages/identify/extensions.py
e7aa969e273222d1c0e97ee9afa785c23c756811
[ "MIT" ]
permissive
DTrafford/IDPS
5fa2b73f2c47cbf50b90a1a786c10f7d69c995b4
1eaccfc218adcb7231e64271731c765f8362b891
refs/heads/master
2022-12-16T16:28:34.801962
2020-03-30T18:08:09
2020-03-30T18:08:09
234,163,829
0
0
MIT
2020-09-10T06:26:02
2020-01-15T20:10:09
Python
UTF-8
Python
false
false
6,615
py
# -*- coding: utf-8 -*- from __future__ import absolute_import from __future__ import unicode_literals EXTENSIONS = { 'apinotes': {'text', 'apinotes'}, 'asar': {'binary', 'asar'}, 'bash': {'text', 'shell', 'bash'}, 'bat': {'text', 'batch'}, 'bmp': {'binary', 'image', 'bitmap'}, 'bz2': {'binary...
[ "d.trafford@outlook.com" ]
d.trafford@outlook.com
66e2bb71af508d27ce94ce064013eb5f466c0f3e
88e06bab1989c81a2dd649bb09b144fa7c958f89
/leet_construct_binary_tree_from_preorder_and_inorder.py
8cb4b670c2f1f3cd6c7fe8901450b6acf460ad69
[]
no_license
VaibhavD143/Coding
4499526b22ee4ef13f66c3abcea671c80a8f748a
5de3bae8891c7d174cbc847a37c3afb00dd28f0e
refs/heads/master
2023-08-06T21:56:44.934954
2021-10-09T18:31:29
2021-10-09T18:31:29
263,890,286
0
0
null
null
null
null
UTF-8
Python
false
false
924
py
""" To understand base: take example [8,5,2,3,4,6,7,9] [3,2,4,5,7,6,9,8] [3,9,20,15,7] [9,3,15,20,7] """ # Definition for a binary tree node. class TreeNode: def __init__(self, val=0, left=None, right=None): self.val = val self.left = left self.right = right class Solution: def buildTre...
[ "vaibhav.dodiya143vd@gmail.com" ]
vaibhav.dodiya143vd@gmail.com
774ed71b32ee8d05b954da997e212641803eb3da
9743d5fd24822f79c156ad112229e25adb9ed6f6
/xai/brain/wordbase/otherforms/_inkier.py
178f6bd2151eec1fdf19af11edad7fd9981faaa8
[ "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
216
py
#calss header class _INKIER(): def __init__(self,): self.name = "INKIER" self.definitions = inky self.parents = [] self.childen = [] self.properties = [] self.jsondata = {} self.basic = ['inky']
[ "xingwang1991@gmail.com" ]
xingwang1991@gmail.com
2ea765de2d7772e866332a742a8c10c8d9f383cc
f7c07caa1210d2a08e8433cdd854b1232efa88e3
/Strings/Examples/String-Length.py
dd3c0d71a2a46ce1895db65abea948a473ec16b9
[]
no_license
rchicoli/ispycode-python
c2fbecc28bf32933150986d24f77b7297f50b78e
fa27f2377943ac2e4d983065406578151091e3f5
refs/heads/master
2020-03-20T11:34:59.698618
2018-06-14T21:14:02
2018-06-14T21:14:02
137,407,150
0
0
null
null
null
null
UTF-8
Python
false
false
58
py
str = 'Hello World' length = len(str) print(length)
[ "rafaelchicoli@hotmail.com" ]
rafaelchicoli@hotmail.com
cd27aa59e79f26edb2200917c400319d78be84be
f32ea412120038e2f3e745c9331595aac855556f
/mayaTools/cgm/core/cgmPy/os_Utils.py
6ea1cd1cf8f2b3befee3f1cfb766a5c0dcbc4ff7
[ "BSD-3-Clause" ]
permissive
liudger/cgmTools
d507d2415ce40494d7fc3193d7c2d9e6f5496a28
4ab51c1ee37752b91311fd8809405f36fce6e90a
refs/heads/master
2020-12-10T08:03:11.096502
2019-05-08T14:05:27
2019-05-08T14:05:27
233,541,539
1
0
null
2020-01-13T07:57:48
2020-01-13T07:57:47
null
UTF-8
Python
false
false
13,037
py
""" os_Utils Josh Burton (under the supervision of David Bokser:) www.cgmonks.com 1/12/2011 Key: 1) Class - Limb Creates our rig objects 2) """ # From Python ============================================================= import re import os import stat #>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> import lo...
[ "jjburton@gmail.com" ]
jjburton@gmail.com
8cc82b45d71fed13ba3d94a4606774d92b763412
1ee90596d52554cb4ef51883c79093897f5279a0
/Sisteme/[Python]Interfață login illumina V1/root/introcreate.py
a79797deaa5a22f231b11556db856ac4d68b345d
[]
no_license
Reizonr1/metin2-adv
bf7ecb26352b13641cd69b982a48a6b20061979a
5c2c096015ef3971a2f1121b54e33358d973c694
refs/heads/master
2022-04-05T20:50:38.176241
2020-03-03T18:20:58
2020-03-03T18:20:58
233,462,795
1
1
null
null
null
null
UTF-8
Python
false
false
9,983
py
import chr import grp import app import net import snd import wndMgr import systemSetting import localeInfo import ui import musicInfo import playerSettingModule MAN = 0 WOMAN = 1 SHAPE0 = 0 SHAPE1 = 1 PAGE_COUNT = 2 SLOT_COUNT = 4 BASE_CHR_ID = 3 class CreateCharacterWindow(ui.Window): class CharacterRenderer...
[ "59807064+Reizonr1@users.noreply.github.com" ]
59807064+Reizonr1@users.noreply.github.com
615cfacbf839f0821c7d576ef7d3c6b6b6f562ad
ca7aa979e7059467e158830b76673f5b77a0f5a3
/Python_codes/p03209/s218432315.py
e2d669ba01785a86ae398f08408031d285e65950
[]
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
329
py
N,X = map(int,input().split()) siz = [1] pat = [1] for i in range(N): siz.append(siz[-1]*2 + 3) pat.append(pat[-1]*2 + 1) def rec(n,x): if n==0: ret = int(x>0) elif x <= 1 + siz[n-1]: ret = rec(n-1, x-1) else: ret = pat[n-1] + 1 + rec(n-1, x-2-siz[n-1]) return ret print(...
[ "66529651+Aastha2104@users.noreply.github.com" ]
66529651+Aastha2104@users.noreply.github.com
cf17ba00092630b465a26dc9a485c9062396af08
9c4a70475f48b81b7b0d895e07b012dd8aca2c2d
/backend/remp_28495/urls.py
364caaa46eb9dc964112a11701b2e8b40501fda0
[]
no_license
crowdbotics-apps/remp-28495
81c5963490654cf5c7a977936a62b816ff967e5f
f2430f3b7dd53d9ff43465fe12da1dd28925e773
refs/heads/master
2023-06-10T21:07:46.400603
2021-07-06T16:45:51
2021-07-06T16:45:51
383,537,825
0
0
null
null
null
null
UTF-8
Python
false
false
2,187
py
"""remp_28495 URL Configuration The `urlpatterns` list routes URLs to views. For more information please see: https://docs.djangoproject.com/en/2.2/topics/http/urls/ Examples: Function views 1. Add an import: from my_app import views 2. Add a URL to urlpatterns: path('', views.home, name='home') Class-ba...
[ "team@crowdbotics.com" ]
team@crowdbotics.com
b9ff2167f40f7d7d526d185d522bbd4d81142ef8
ec3362fe2ef1f23a9b1fad9469b6a2ec89beda3a
/hey-brether.py
f1125635a446a6c1bfc49963cb83ca9edc32f4fd
[ "MIT" ]
permissive
tomcola512/hey-brether
dcbee74d55c5a2c6cadb188d450af0862fc9041f
42fb0114662476ffd8f3b091950bce6cbe836047
refs/heads/master
2020-03-24T19:21:29.053260
2018-07-30T19:53:16
2018-07-30T19:53:16
142,921,495
0
0
MIT
2018-07-30T19:51:26
2018-07-30T19:51:25
null
UTF-8
Python
false
false
504
py
#!/usr/bin/env python3 import sys from typing import List def form_letter(letter: str) -> tuple: parts = [f':z_{letter}_{i}:' for i in range(4)] return ''.join(parts[:2]), ''.join(parts[2:]) def form_word(word: str) -> str: lines = [' '.join([form_letter(s)[i] for s in word]) for i in range(2)] retu...
[ "austin@austinpray.com" ]
austin@austinpray.com
776e156d066891997db6fdf2b1cfc8af363bc051
d07b91e42e32b0a0642254a460bc56a546f60a63
/source/lambdas/sns/handler.py
c8c6345aff30656a63532726508335396e977ac4
[ "LicenseRef-scancode-unknown-license-reference", "Python-2.0", "Apache-2.0", "BSD-3-Clause", "MIT" ]
permissive
emmanuellim/improving-forecast-accuracy-with-machine-learning
81a30674f24d8249b7a55d6cce4fabe4f8fb4fdf
2470b13c4b23861907c326cb2c3fdb6fbf4b2397
refs/heads/master
2023-01-14T13:41:42.978184
2020-11-24T19:07:35
2020-11-24T19:07:35
null
0
0
null
null
null
null
UTF-8
Python
false
false
4,068
py
# ##################################################################################################################### # Copyright 2020 Amazon.com, Inc. or its affiliates. All Rights Reserved. # # ...
[ "ssdzd@amazon.com" ]
ssdzd@amazon.com
6a6c9040cc8399e78b2e31e4a7d73c082ce17201
15e8a393f6c71ba77094a1718f4f89050409c7ae
/accounts/views.py
aa64a6b91daa4cef6e6f338622c3f42048dcea75
[]
no_license
emilte/johansson
21a3e20208c67725776af0f94de4c29150935b50
d16bdde26e840814562f668904b2f5588c0a13ad
refs/heads/master
2023-07-23T21:01:32.830302
2021-09-05T14:56:01
2021-09-05T14:56:01
390,360,563
0
0
null
2021-08-30T00:42:49
2021-07-28T13:26:31
SCSS
UTF-8
Python
false
false
5,049
py
# imports import math from openpyxl import Workbook from django.views import View from django.urls import reverse from django.conf import settings from django.http import HttpResponse, HttpResponseRedirect, FileResponse from django.utils import timezone from django.contrib import messages from django.db.models import ...
[ "emil.telstad@gmail.com" ]
emil.telstad@gmail.com
e3f4ebd0f7997eb84b8e98df2d8ea435590b9e7d
b049a961f100444dde14599bab06a0a4224d869b
/sdk/python/pulumi_azure_native/appplatform/v20230501preview/__init__.py
1dd362384bee7b86480bef71d3f3221e6b6714a0
[ "BSD-3-Clause", "Apache-2.0" ]
permissive
pulumi/pulumi-azure-native
b390c88beef8381f9a71ab2bed5571e0dd848e65
4c499abe17ec6696ce28477dde1157372896364e
refs/heads/master
2023-08-30T08:19:41.564780
2023-08-28T19:29:04
2023-08-28T19:29:04
172,386,632
107
29
Apache-2.0
2023-09-14T13:17:00
2019-02-24T20:30:21
Python
UTF-8
Python
false
false
2,442
py
# coding=utf-8 # *** WARNING: this file was generated by pulumi. *** # *** Do not edit by hand unless you're certain you know what you are doing! *** from ... import _utilities import typing # Export this package's modules as members: from ._enums import * from .api_portal import * from .api_portal_custom_domain impor...
[ "github@mikhail.io" ]
github@mikhail.io
5ebd7f4f17ff38cdf95fc4df4a4fb4883473f0cf
929886272e269e59596cf559e1c4fb26b6897e0c
/clinicstation/models.py
cc62f17a07ef387d7596027b7a816e80d1533442
[ "Apache-2.0" ]
permissive
vedpr612/tscharts
aab287478407d64449d00c2f021611128a085c74
09a482622fc0f6cccc56b688aea81370ab137160
refs/heads/master
2020-03-09T01:23:19.170052
2018-04-05T02:56:36
2018-04-05T02:56:36
null
0
0
null
null
null
null
UTF-8
Python
false
false
3,033
py
#(C) Copyright Syd Logan 2016 #(C) Copyright Thousand Smiles Foundation 2016 # #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 a...
[ "slogan621@gmail.com" ]
slogan621@gmail.com
74093e47757ec7040332ba53788d5f88ec1a1317
acb8e84e3b9c987fcab341f799f41d5a5ec4d587
/langs/8/th8.py
709ebf6bed2ebb8351fa292a216420fb338751c9
[]
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
5953457f8263fa4530caeacb67f0636517b15216
7bdfc595daee3490c5efbf543d31ff6821f26f07
/demo/pyicdartools/rrc_evaluation_funcs.py
cc302e780588a1b8d093e63f403cbdb73243a260
[]
no_license
40647045S/RRPN_plusplus
b3f9bef2d97db45dd43534a23ff42398a0b08049
9f7c18c570bd4fbcc237e55c50573baf6365dac7
refs/heads/master
2023-04-28T00:21:51.370297
2021-05-05T12:30:36
2021-05-05T12:30:36
null
0
0
null
null
null
null
UTF-8
Python
false
false
15,186
py
#!/usr/bin/env python2 #encoding: UTF-8 import json import sys;sys.path.append('./') import zipfile import re import sys import os import codecs import importlib """ #from StringIO import StringIO try: from StringIO import StringIO except ImportError: from io import StringIO """ def print_help(): sys.stdout...
[ "mjq11302010044@gmail.com" ]
mjq11302010044@gmail.com
b8068d18d1dfcb398cb0e4564f4460bd7017fa22
46667df8344db58698838d677bdae377b3c3c53c
/Data Manipulation with Pandas/Part 2/24.downsampling-data.py
066a85b0f5cfb6d72099f5c86d7950dd93723f2b
[]
no_license
bennysetiawan/DQLab-Career-2021
278577cdddb3852c57f799cd1207b4ff45962960
0822d15e3b24cf0146c23456d4b65b0fb00a53fc
refs/heads/master
2023-06-06T13:24:21.289929
2021-06-23T17:09:14
2021-06-23T17:09:14
379,657,598
0
0
null
null
null
null
UTF-8
Python
false
false
792
py
import pandas as pd # Load dataset https://dqlab-dataset.s3-ap-southeast-1.amazonaws.com/LO4/global_air_quality_4000rows.csv gaq = pd.read_csv('https://dqlab-dataset.s3-ap-southeast-1.amazonaws.com/LO4/global_air_quality_4000rows.csv') gaq['timestamp'] = pd.to_datetime(gaq['timestamp']) gaq = gaq.set_index('timestamp')...
[ "setiawanb25@gmail.com" ]
setiawanb25@gmail.com
aae8ed71564aa67c6ec5384655345127b605987a
3b2940c38412e5216527e35093396470060cca2f
/top/api/rest/CrmGrademktMemberDetailCreateRequest.py
46b878b46708a1903474d989185d6c8580933eda
[]
no_license
akingthink/goods
842eb09daddc2611868b01ebd6e330e5dd7d50be
ffdb5868a8df5c2935fc6142edcdf4c661c84dca
refs/heads/master
2021-01-10T14:22:54.061570
2016-03-04T09:48:24
2016-03-04T09:48:24
45,093,302
0
0
null
null
null
null
UTF-8
Python
false
false
365
py
''' Created by auto_sdk on 2015-01-20 12:44:31 ''' from top.api.base import RestApi class CrmGrademktMemberDetailCreateRequest(RestApi): def __init__(self,domain='gw.api.taobao.com',port=80): RestApi.__init__(self,domain, port) self.feather = None self.parameter = None def getapiname(self): return...
[ "yangwenjin@T4F-MBP-17.local" ]
yangwenjin@T4F-MBP-17.local
6e7ab0d6a2cb4966bcce0938269d82f81bbe5888
134267f2244954d48c65daae0b58051aba757fed
/lucky.py
6d7541f6ac39af4ddc31c088dfa1988c61387f8c
[]
no_license
mobin-zaman/misc_python
47fe836d1eae154210912b8b353f241303523e6b
7a22329ae38b2d5ee9cd9ce29d995686759f5f87
refs/heads/master
2020-04-28T00:48:06.774434
2019-07-24T15:28:15
2019-07-24T15:28:15
174,829,343
0
0
null
null
null
null
UTF-8
Python
false
false
494
py
#! python3 #lucky.py - opens several google search results import requests, sys, webbrowser, bs4 print('Googling....') res=requests.get('http://google.com/search?q=' + ' '.join(sys.argv[1:])) res.raise_for_status() #TODO: Retrive top search result links. soup=bs4.BeautifulSoup(res.text) #TODO: Open a browser tab f...
[ "mobin_zaman@hotmail.com" ]
mobin_zaman@hotmail.com
54e679afc65bea0590837f01b49bdf2be09aece1
58cd392c642ac9408349f03dc72927db6abcce55
/team2/src/Without_Doubt_Project/venv/lib/python3.6/site-packages/tbears/libs/icx_signer.py
8e3c035124d75dddc7b9979edb461cd6fd3fbba1
[]
no_license
icon-hackathons/201902-dapp-competition-bu
161226eb792425078351c790b8795a0fe5550735
f3898d31a20f0a85637f150d6187285514528d53
refs/heads/master
2020-04-24T07:48:18.891646
2019-04-18T01:47:21
2019-04-18T01:47:21
171,809,810
3
11
null
2019-04-18T01:47:23
2019-02-21T06:01:04
Python
UTF-8
Python
false
false
2,922
py
# -*- coding: utf-8 -*- # Copyright 2018 ICON 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 law o...
[ "41354736+sojinkim-icon@users.noreply.github.com" ]
41354736+sojinkim-icon@users.noreply.github.com
56d1b915aa3f5e63035a47824c207613f2bf5480
3b84c4b7b16ccfd0154f8dcb75ddbbb6636373be
/google-cloud-sdk/lib/googlecloudsdk/third_party/apis/gameservices/v1beta/resources.py
101446b0908fca46ce29693f795216e4eeaf8876
[ "Apache-2.0", "LicenseRef-scancode-unknown-license-reference" ]
permissive
twistedpair/google-cloud-sdk
37f04872cf1ab9c9ce5ec692d2201a93679827e3
1f9b424c40a87b46656fc9f5e2e9c81895c7e614
refs/heads/master
2023-08-18T18:42:59.622485
2023-08-15T00:00:00
2023-08-15T12:14:05
116,506,777
58
24
null
2022-02-14T22:01:53
2018-01-06T18:40:35
Python
UTF-8
Python
false
false
2,945
py
# -*- coding: utf-8 -*- # # Copyright 2015 Google LLC. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless requir...
[ "gcloud@google.com" ]
gcloud@google.com
dfeb592665b2b0016aab64fdaa9c63d96cf44147
33f752443cbb38d3cb4d9d40982b2a2d824acb81
/demo/django/api/migrations/0001_initial.py
6227ca3a23ca0dd634450cc0af400b99742f755b
[ "MIT" ]
permissive
denisroldan/django-angular-dynamic-forms
b03b4f20751c609733356bea1a7141da29f9de54
f50de1c74db727e565756f40344c29bbab1b3910
refs/heads/master
2020-04-03T10:11:41.776970
2019-08-20T09:28:30
2019-08-20T09:28:30
155,186,503
0
0
null
2018-10-29T09:38:19
2018-10-29T09:38:19
null
UTF-8
Python
false
false
1,193
py
# -*- coding: utf-8 -*- # Generated by Django 1.11.5 on 2017-09-24 10:43 from __future__ import unicode_literals from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): initial = True dependencies = [ ] operations = [ migrations.Crea...
[ "miroslav.simek@vscht.cz" ]
miroslav.simek@vscht.cz
fa45b11c2a495772e67bb46f3588e19d43441dc4
de24f83a5e3768a2638ebcf13cbe717e75740168
/moodledata/vpl_data/158/usersdata/264/68784/submittedfiles/imc.py
f8dd970b68f227049dd18bb352f6bc264eb43c0c
[]
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
205
py
# -*- coding: utf-8 -*- #Entrada: peso= float(input('Digite o valor do peso em Kg:')) altura= float(input('Digite o valor da altura em metros:')) #Processamento: imc= ((peso)/(altura**2)) #Saída: if (imc>
[ "rafael.mota@ufca.edu.br" ]
rafael.mota@ufca.edu.br
81b7ab4f7250f1069808eec54a918272419cfc76
cac9c211a4eeb55cfd61d8e5c54a1d4082c4de33
/Experimental/WindowsPyDbg/pydbg.py
a95e030b2d8bbea4226e47fcb94415efda160ae7
[ "BSD-3-Clause" ]
permissive
vchateauneu/survol
8c8b5db67f81c6400c3e2f4b84b57fb83d69fb1f
2b5be9d28115f8f9b1dd91bf05449c92bf9a9926
refs/heads/master
2020-03-21T09:11:37.765314
2018-07-03T20:40:16
2018-07-03T20:40:16
138,387,051
1
0
null
2018-06-23T09:05:45
2018-06-23T09:05:45
null
UTF-8
Python
false
false
138,482
py
#!c:\python\python.exe # # PyDBG # Copyright (C) 2006 Pedram Amini <pedram.amini@gmail.com> # # $Id: pydbg.py 253 2011-01-24 19:13:57Z my.name.is.sober $ # # This program 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 F...
[ "remi.chateauneu@gmail.com" ]
remi.chateauneu@gmail.com
5b93b4356e42e2778ef25836eb0d5835a1ef480c
25f9afe371c59612e02e561a6b35b8d8bafad20a
/tests/suite/test_smoke.py
c67d4d9576cb7e6ed4820df54347905d68d8793c
[ "Apache-2.0" ]
permissive
HubBucket-Team/kubernetes-ingress
2b8bf4ac293fb2e9aa51e18037c34029ed66a8be
99663386df7cea013489a88b9471eb18be4c9e77
refs/heads/master
2020-07-07T23:18:34.157361
2019-08-13T13:13:39
2019-08-20T15:23:24
203,502,783
1
1
Apache-2.0
2019-08-21T03:58:05
2019-08-21T03:58:04
null
UTF-8
Python
false
false
2,734
py
import requests import pytest from suite.fixtures import PublicEndpoint from suite.resources_utils import create_secret_from_yaml, delete_secret, \ ensure_connection_to_public_endpoint, create_items_from_yaml, \ delete_items_from_yaml, create_example_app, delete_common_app, \ wait_until_all_pods_are_ready,...
[ "tellet.tat@gmail.com" ]
tellet.tat@gmail.com
6ea349337b8084df78a521f35798fd7e7555a5c5
c5514643dd1601661abce5449674cc796247b66a
/src/event_configuration.py
a370720faf27ec54a7e64737991585f2e0fd77c9
[]
no_license
happeninghq/happening-comments
0e456d593608cc1ff63e3df2109e039b8d80f921
d330c3fcfb648e02be9466640570764f623945f0
refs/heads/master
2021-01-20T19:06:42.744164
2017-04-05T13:36:25
2017-04-05T13:36:25
59,932,570
0
0
null
null
null
null
UTF-8
Python
false
false
342
py
"""Event Configuration.""" from happening import configuration from happening import plugins class CommentOnGroups(configuration.BooleanField): """Can members comment on groups.""" @property def settable(self): """Only enable if the groups plugin is enabled.""" return plugins.plugin_enab...
[ "jonathan@jscott.me" ]
jonathan@jscott.me
3424b73d226dbd1d83678cf172706f34105222d2
52b5773617a1b972a905de4d692540d26ff74926
/.history/frogjump_20200717123008.py
e4f45f8cc2fdaa932a6cbf2ca3a79c65a2b5a589
[]
no_license
MaryanneNjeri/pythonModules
56f54bf098ae58ea069bf33f11ae94fa8eedcabc
f4e56b1e4dda2349267af634a46f6b9df6686020
refs/heads/master
2022-12-16T02:59:19.896129
2020-09-11T12:05:22
2020-09-11T12:05:22
null
0
0
null
null
null
null
UTF-8
Python
false
false
399
py
# use the brute force approach then optimize # and test edge cases # o(n) def jump(X,Y,D): if X == Y: return 0 if D < 1: return 0 else: answer = round((Y-X) / D print(answer) # count = 0 # while X < Y: # print('hmm') # X = X+D ...
[ "mary.jereh@gmail.com" ]
mary.jereh@gmail.com
bac232b847d7bdec1b84d7b26513593e311f39e1
a46d135ba8fd7bd40f0b7d7a96c72be446025719
/packages/python/plotly/plotly/validators/choropleth/colorbar/_outlinewidth.py
f67ddb9933f89083f1ad283ae70d3c68d77de79f
[ "MIT" ]
permissive
hugovk/plotly.py
5e763fe96f225d964c4fcd1dea79dbefa50b4692
cfad7862594b35965c0e000813bd7805e8494a5b
refs/heads/master
2022-05-10T12:17:38.797994
2021-12-21T03:49:19
2021-12-21T03:49:19
234,146,634
0
0
MIT
2020-01-15T18:33:43
2020-01-15T18:33:41
null
UTF-8
Python
false
false
480
py
import _plotly_utils.basevalidators class OutlinewidthValidator(_plotly_utils.basevalidators.NumberValidator): def __init__( self, plotly_name="outlinewidth", parent_name="choropleth.colorbar", **kwargs ): super(OutlinewidthValidator, self).__init__( plotly_name=plotly_name, ...
[ "noreply@github.com" ]
hugovk.noreply@github.com
1677c70b6145d13b113dac0029cc065ee6ccb880
409058c5b829e764d0e31566e8afaaa6baac61ca
/examples/15_muti_robot/multi_drone/01_scan_ip.py
273b4e322e17bbfdd084712c5758607931858983
[]
no_license
iced07/robomaster
20528d84c7a9f8a4fd54b0bf0016b10097d41b5d
d60f79cba4531ba1c216f4d33211d76772a5bfe9
refs/heads/master
2022-12-24T00:52:04.986682
2020-09-18T14:17:21
2020-09-18T14:18:03
298,323,111
0
0
null
null
null
null
UTF-8
Python
false
false
849
py
# -*-coding:utf-8-*- # Copyright (c) 2020 DJI, 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 in the file LICENSE.txt or at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless re...
[ "xiting.lin@dji.com" ]
xiting.lin@dji.com
2a5c757d67b5a4fcd73e07832a8a1b762878d752
be317396416134fc18d598934403906b9b1a7583
/word_data_gen.py
b738412179d82da71185cc5407c91359cbaad683
[ "Apache-2.0" ]
permissive
Guhaifudeng/zhihukankan
26d5c40638035c9a13b0e24b789afd11c6eb157f
ccb216458a74d85bf048b0da11146716026b7ce3
refs/heads/master
2020-06-19T07:36:54.996472
2017-07-08T09:09:28
2017-07-08T09:09:28
94,181,591
0
0
null
null
null
null
UTF-8
Python
false
false
2,447
py
#encoding:utf-8 import codecs import word_util def gen_word_key(word_embedding_file,word_key_file,has_head = False): w_write = codecs.open(word_key_file,'w', 'utf-8') with codecs.open(word_embedding_file, 'r', 'utf-8') as w_read: count = 0 w_key = '' while True: ...
[ "=" ]
=
d4483efe86d7062fd477ca674becd6f9d965816e
fd8d33572656edf9e1133a72ad4e2fa090f90a5f
/packages/OpenWeatherMap/nodes/OpenWeatherMap___BreakTemp0/OpenWeatherMap___BreakTemp0___METACODE.py
389970e2b1ffbdae5d0a55956bfa72961c159947
[ "MIT" ]
permissive
ChristianHohlfeld/Ryven
a01c2eafa79a80883a9490efb5f043fd35f53484
53bf7e57a7b0fa25a704cd0d2214a7f76096d4dd
refs/heads/master
2022-12-12T22:03:57.122034
2020-08-31T13:45:45
2020-08-31T13:45:45
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,445
py
from NIENV import * # API METHODS # self.main_widget <- access to main widget # Ports # self.input(index) <- access to input data # self.set_output_val(self, index, val) <- set output data port value # self.exec_output(index) <- executes an execution output # self.create_ne...
[ "leon.thomm@gmx.de" ]
leon.thomm@gmx.de
b093ca38f2f191bd61045b53e218e509e9ee9255
372eefa7d896d3cee8c1c1befd8d3baec4eb0188
/infra/services/cicd/artifacts.py
73cce818ce93475357036f6865901e922b7e813b
[]
no_license
dr-natetorious/aws-homenet
5c17f4c3e1fcd60f50d22b5b94453f1d965d4ca0
d5382c7ada2c9bd5dc0b3687d57d47282791ed40
refs/heads/master
2023-06-21T17:40:08.721233
2021-07-22T18:08:50
2021-07-22T18:08:50
307,004,525
1
0
null
2021-06-27T18:05:01
2020-10-25T01:45:42
Python
UTF-8
Python
false
false
1,131
py
from infra.interfaces import ILandingZone from aws_cdk import ( core, aws_codeartifact as art, aws_route53 as r53, ) class ArtifactsConstruct(core.Construct): """ Represents a code artifact repository. """ def __init__(self, scope: core.Construct, id: str, landing_zone:ILandingZone,zone:r53.IHostedZone, ...
[ "nate@bachmeier" ]
nate@bachmeier
02ce7282c2e5418148795d72cfafea3df7b36c38
53fab060fa262e5d5026e0807d93c75fb81e67b9
/backup/user_129/ch82_2019_06_03_22_51_02_844625.py
26ab896be3fc59c6151a93badfc0832f10734bda
[]
no_license
gabriellaec/desoft-analise-exercicios
b77c6999424c5ce7e44086a12589a0ad43d6adca
01940ab0897aa6005764fc220b900e4d6161d36b
refs/heads/main
2023-01-31T17:19:42.050628
2020-12-16T05:21:31
2020-12-16T05:21:31
306,735,108
0
0
null
null
null
null
UTF-8
Python
false
false
190
py
def primeiras_ocorrencias(palavra): dic = {} for e in palavra: if e not in dic: dic[e] = 1 else: dic[e] = +=1 return dic
[ "you@example.com" ]
you@example.com
1fa3c7c2af1235677a3196c7fa0ba42253cf7339
e82b761f53d6a3ae023ee65a219eea38e66946a0
/All_In_One/addons/Renamer.py
97190580daf2e8848a7d452f77642f9dba9bf729
[]
no_license
2434325680/Learnbgame
f3a050c28df588cbb3b14e1067a58221252e2e40
7b796d30dfd22b7706a93e4419ed913d18d29a44
refs/heads/master
2023-08-22T23:59:55.711050
2021-10-17T07:26:07
2021-10-17T07:26:07
null
0
0
null
null
null
null
UTF-8
Python
false
false
3,910
py
###################################################################################################### # A tool to easely renamer objects, materials,... # # Actualy partly uncommented - if you do not understand some parts of the code, # # please se...
[ "root@localhost.localdomain" ]
root@localhost.localdomain
1f80f5d806fd487bb6af162e32e82e2567da9491
08427cf6764cb646fdd37eb239dc6dde0be68ad7
/python/leetcode.153.py
8f2d4f9af6fd521c1079ee04cb577821d613a829
[]
no_license
CalvinNeo/LeetCode
9d8fa71a1da8c926b5f39659a1befcfa06608945
02ebe56cd92b9f4baeee132c5077892590018650
refs/heads/master
2020-12-31T00:41:14.031066
2020-11-06T04:41:59
2020-11-06T04:41:59
80,634,710
3
1
null
null
null
null
UTF-8
Python
false
false
916
py
def se(arr, fr, to): if to == fr: return arr[fr] elif to - fr == 1: return min(arr[to], arr[fr]) mid = (fr + to) / 2 if arr[fr] > arr[mid]: return se(arr, fr, mid) elif arr[mid + 1] > arr[to]: return se(arr, mid + 1, to) else: return arr[mid + 1] class So...
[ "calvinneo1995@gmail.com" ]
calvinneo1995@gmail.com
b784b3f3d2161fdf8531127e08a4cb750cc38d02
80fe5bd6413fb6366efba5f7a5d75edd7bca5295
/snake_game/scoreboard.py
1807cafea2c95dceb667bdecb07d2cb21b7d63e2
[]
no_license
toastding/collections
37893167ca178a289b6d88b585cc056488726691
9c70d3ecaec211fa68d8de598af59f53f7dcbc1e
refs/heads/master
2023-07-14T08:01:37.851618
2021-08-31T13:42:43
2021-08-31T13:42:43
360,877,739
0
0
null
null
null
null
UTF-8
Python
false
false
1,028
py
from turtle import Turtle ALIGNMENT = "center" FONT = ("Verdana", 20, "normal") class Scoreboard(Turtle): def __init__(self): super().__init__() self.score = 0 with open("data.txt") as data: self.high_score = int(data.read()) self.penup() self.goto(0, 270) ...
[ "ding02211995@gmail.com" ]
ding02211995@gmail.com
049e187c03f97db786c9e2c1f574457db6e103ed
f87f51ec4d9353bc3836e22ac4a944951f9c45c0
/.history/HW02_20210630154801.py
30b513b1fbb089d9ef3ed3c11ddca365506bce60
[]
no_license
sanjayMamidipaka/cs1301
deaffee3847519eb85030d1bd82ae11e734bc1b7
9ddb66596497382d807673eba96853a17884d67b
refs/heads/main
2023-06-25T04:52:28.153535
2021-07-26T16:42:44
2021-07-26T16:42:44
389,703,530
0
0
null
null
null
null
UTF-8
Python
false
false
2,560
py
""" Georgia Institute of Technology - CS1301 HW02 - Conditionals and Loops Collaboration Statement: """ ######################################### """ Function Name: snackBar()  Parameters: snack (str), ingredient (str), yourMoney (float) Returns: whether you can get the snack (bool) """ ###########...
[ "sanjay.mamidipaka@gmail.com" ]
sanjay.mamidipaka@gmail.com
6981f306ac39b5d7c1aa2ca6983e0fbd6357d408
eeb3d7c9ff4c882ac913ee8e00b2201bcfdd300f
/string/38.count-and-say.py
612a90ec86afcaa5842e1c6f1a6a0e87aac53369
[]
no_license
naseeihity/leetcode-daily
f89888328a1181e0592f09e90fea105d1568af99
4992a967ddccd05ab777dad69ce2f832dae26ae5
refs/heads/master
2023-04-23T06:08:35.473663
2021-05-10T15:19:33
2021-05-10T15:19:33
235,041,055
0
0
null
null
null
null
UTF-8
Python
false
false
588
py
# # @lc app=leetcode id=38 lang=python3 # # [38] Count and Say # # @lc code=start class Solution: def countAndSay(self, n: int) -> str: def say(self, ans): _ans = "" l, r = 0, len(ans) for i in range(1, r+1): if i == r or ans[l] != ans[i]: count = i - l...
[ "naseeihility@163.com" ]
naseeihility@163.com
2b6b23388fe62b64f777be4d9d1c785a09b4fd7c
09e57dd1374713f06b70d7b37a580130d9bbab0d
/benchmark/startQiskit_Class1958.py
690424946f0df1baa082d94199b57207c409b8f0
[ "BSD-3-Clause" ]
permissive
UCLA-SEAL/QDiff
ad53650034897abb5941e74539e3aee8edb600ab
d968cbc47fe926b7f88b4adf10490f1edd6f8819
refs/heads/main
2023-08-05T04:52:24.961998
2021-09-19T02:56:16
2021-09-19T02:56:16
405,159,939
2
0
null
null
null
null
UTF-8
Python
false
false
3,922
py
# qubit number=4 # total number=27 import cirq import qiskit from qiskit import QuantumCircuit, QuantumRegister, ClassicalRegister from qiskit import BasicAer, execute, transpile from pprint import pprint from qiskit.test.mock import FakeVigo from math import log2 import numpy as np import networkx as nx def bitwise_...
[ "wangjiyuan123@yeah.net" ]
wangjiyuan123@yeah.net
48306c72966c1c9ee9c538e95b126fab6e9107cb
430bd6e15ce181fdbce4dd769cdfc971b43e9d5b
/doughnuts/doughnuts.py
c2437f1b3be0adb4fa3a15bd6216eb97023c4981
[ "MIT" ]
permissive
kodosan/Doughnuts
171e58415804af12cc54ed34b5b8510823dda70f
e246707390fb9c708241d35517a7d773858dbca7
refs/heads/master
2023-04-01T04:00:12.200820
2021-04-01T06:42:46
2021-04-01T06:42:46
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,169
py
import builtins from os import path from sys import argv from json import loads, JSONDecodeError from helpmenu import register_helpmenu from libs.app import Loop_init, run_loop from libs.config import gset, gget, custom_set, color from libs.runtime_config import CONFIG from libs.myapp import banner builtins.ic = la...
[ "1162410187@qq.com" ]
1162410187@qq.com
cb98b4186be427666468060d4c7ba090787f0417
b70eb5577099f88ae9f684f2c87647f98e26d42b
/hpc-historias-clinicas/historias/migrations/0012_auto_20150425_1937.py
6e8d224cdc4208b57deb58837147f39f9868e9f2
[]
no_license
btenaglia/hpc-historias-clinicas
be1a392a119a72055ba643fba9c9a09b740aef47
649d8660381381b1c591667760c122d73071d5ec
refs/heads/master
2020-06-03T19:05:17.910077
2015-06-10T23:05:31
2015-06-10T23:05:31
32,827,786
0
0
null
null
null
null
UTF-8
Python
false
false
1,145
py
# -*- coding: utf-8 -*- from __future__ import unicode_literals from django.db import models, migrations import datetime class Migration(migrations.Migration): dependencies = [ ('historias', '0011_auto_20150425_1936'), ] operations = [ migrations.AlterField( model_name='hist...
[ "brunomartintenaglia@gmail.com" ]
brunomartintenaglia@gmail.com
02f80d7db50e7e0eb74301cf11154423cea8e4de
acb8e84e3b9c987fcab341f799f41d5a5ec4d587
/langs/9/v4y.py
54854ac0aa3d6bf0ce044686b2f34bcdc430f6d8
[]
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
0f1e5f7680d8e48b6c5d8230307c0b7c1c017512
3f5bf0ed01ff34036b0476e82acdcdd646f66859
/visualocean/__init__.py
08c3257e01c6c8fe7351a67a26d464ab08f8a2c6
[]
no_license
cpsarason/visualoceanpy
9e64590f16659d61b6fefd9fc912a6c868175226
b712e73849226dbdebf1c8da57bf00098ed1f4df
refs/heads/master
2021-03-31T01:15:26.751240
2018-03-13T23:45:18
2018-03-13T23:45:18
125,122,884
0
0
null
2018-03-13T22:31:16
2018-03-13T22:31:15
null
UTF-8
Python
false
false
219
py
from __future__ import (absolute_import, division, print_function, unicode_literals) __author__ = 'Landung Setiawan' __all__ = ['core', 'utils']
[ "landungs@uw.edu" ]
landungs@uw.edu