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
eca0527dc6e1af8eb14ad2e48ab7b65a7961662a
c1a4742ecd23941140b57cfd61759aa3901e0711
/src/apps/boards/views.py
68afa2b13811821ff0bc49eb05d9c7d3ea14862e
[]
no_license
aodarc/django-trello
31a5b6813f5136b427c483c0d329ec8c231888d0
ee00fc5a71e2a7003118542b6b8caffaa73bc9b8
refs/heads/master
2023-06-29T14:42:05.027572
2021-07-26T15:28:28
2021-07-26T15:28:28
389,680,626
2
0
null
null
null
null
UTF-8
Python
false
false
2,806
py
from django.contrib.auth.decorators import login_required from django.db.models import Count, Prefetch from django.http import HttpResponseRedirect # Create your views here. from django.urls import reverse_lazy from django.utils.decorators import method_decorator from django.views import generic from rest_framework im...
[ "odarchenko@ex.ua" ]
odarchenko@ex.ua
96c18d0ab5d9ca7292ba91d87de1eb104dda90bd
69145e4b94bd6225138a57305fc09a1c714ebca7
/home/migrations/0003_resume.py
d1d56477c33b114530c483f060458b5a44616366
[ "MIT" ]
permissive
SimonOkello/portfolio
09504163b34559af6119a89c7d3368e45025bbaa
8b2436399ba1d686769a88c87567ed5e86b797a4
refs/heads/main
2021-12-02T18:58:22.120534
2021-10-10T10:55:05
2021-10-10T10:55:05
412,837,378
0
0
MIT
2021-10-09T09:20:20
2021-10-02T15:35:14
Python
UTF-8
Python
false
false
832
py
# Generated by Django 3.2.7 on 2021-10-03 16:15 from django.conf import settings from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): dependencies = [ migrations.swappable_dependency(settings.AUTH_USER_MODEL), ('home', '0002_service'), ...
[ "simonokello93@gmail.com" ]
simonokello93@gmail.com
b6ef4a8d17124102cba4c340c0adaa7d224bd5c3
b72b41f8191e44ad4b70355ed2c26ea7feb0e1d0
/main.py
904a1e4e5ca193586ed8b1d462e14c5b8b9e4054
[ "BSD-3-Clause" ]
permissive
dendisuhubdy/neuron-swarms
6b25bace21f6116790904cc999e0a9540985251b
ceb8854a580abb825155c362dc2e8f801f950ed0
refs/heads/master
2021-08-16T10:39:56.229663
2017-11-19T17:05:46
2017-11-19T17:05:46
110,992,001
1
1
null
null
null
null
UTF-8
Python
false
false
501
py
import numpy as np import time from visdom import Visdom from scipy.integrate import odeint from swarmalators import Swarmalarator viz = Visdom(server='http://suhubdy.com', port=51401) def main(): # Load simulation parameters a, dt, T, n, L = 1, 0.5, 500, 100, 1 # surprisingly, dt = 0.5 seems to work O...
[ "suhubdyd@iro.umontreal.ca" ]
suhubdyd@iro.umontreal.ca
704b36b47012d436f8ccc0f8667299c1f37979dd
5d9932a1abeae21b8201368e5cf465680f106761
/data_ccxt/btcbox.py
8ade01dad3dba51cdbd5eef1bfcdd3849b2bd56f
[]
no_license
qqzhangjian789/text
5dc6086e55d8a9494b889fa40cc9730da6bf5940
938be0df0a965aacf13cfb942548b8d2a1c7cec0
refs/heads/master
2023-05-04T11:38:47.178345
2021-05-21T17:44:13
2021-05-21T17:44:13
286,178,737
1
6
null
null
null
null
UTF-8
Python
false
false
15,257
py
# -*- coding: utf-8 -*- # PLEASE DO NOT EDIT THIS FILE, IT IS GENERATED AND WILL BE OVERWRITTEN: # https://github.com/ccxt/ccxt/blob/master/CONTRIBUTING.md#how-to-contribute-code from data_ccxt.base.exchange import Exchange # ----------------------------------------------------------------------------- try: bas...
[ "qqzhangjian000@163.com" ]
qqzhangjian000@163.com
8a56365067845b7b5db72543297923863af7cf25
3d792bcf31843a8329f6c9774a8a58a8c49a8a70
/0x08-python-more_classes/0-rectangle.py
eb68bca78885b8e474dec29c21d2365dde3134f7
[]
no_license
theurikenneth/alx-higher_level_programming
a6accbe016bdc62ee3f0e849c8e2c847247fb4d9
289a08cffa1bcbecab4550b6fed21296cf88fe66
refs/heads/main
2023-08-28T08:53:32.676778
2021-10-21T06:00:47
2021-10-21T06:00:47
361,642,411
0
0
null
null
null
null
UTF-8
Python
false
false
110
py
#!/usr/bin/python3 """Contains the rectangle class""" class Rectangle: pass """A rectangle class"""
[ "theurikenneth@gmail.com" ]
theurikenneth@gmail.com
5c0544ab8f5d844f75a21896e5c0928fd3feac1c
8dd53a5d1820ae5a3efe799381a90c977afd32c4
/test/functional/wallet_keypool_topup.py
8e3ca127b17210112557981640e1cf17922daad5
[ "MIT" ]
permissive
mulecore/mulecoin
8b654817a1b78c9e98f96bfef5febaca23347f64
e52131742938ae433463f32680837981a5cedc0f
refs/heads/master
2023-03-28T05:37:53.552271
2021-03-27T03:22:13
2021-03-27T03:22:13
351,796,749
0
0
null
null
null
null
UTF-8
Python
false
false
2,799
py
#!/usr/bin/env python3 # Copyright (c) 2017 The Bitcoin Core developers # Copyright (c) 2017-2019 The Raven Core developers # Distributed under the MIT software license, see the accompanying # file COPYING or http://www.opensource.org/licenses/mit-license.php. """ Test HD Wallet keypool restore function. Two nodes. N...
[ "root@DESKTOP-AOBIGEQ.localdomain" ]
root@DESKTOP-AOBIGEQ.localdomain
5683033c35209cce456734e560d9bd3c07451980
b049a961f100444dde14599bab06a0a4224d869b
/sdk/python/pulumi_azure_native/security/v20190801/__init__.py
6309308fa63d8a40d72ad8c853ec0211cc0f2c9f
[ "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
459
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 .device_security_group import * from .get_device_security...
[ "github@mikhail.io" ]
github@mikhail.io
8f98c28591c94aca20e7258f94d6fbc06859f0fe
6b99e6ee32d8885fd5d7501a385f66a2e73c2c56
/manage.py
10005c5bca0fe2f20a0568e764a99d680a57eae3
[]
no_license
Sentret/comics_aggregator
8e4dd03ac38599091d5996aa93be35137f9a84f8
7474dec39d5011495556db23336c63a02c692b20
refs/heads/master
2021-05-16T04:14:50.313650
2017-10-08T21:09:01
2017-10-08T21:09:01
105,859,013
0
0
null
null
null
null
UTF-8
Python
false
false
815
py
#!/usr/bin/env python import os import sys if __name__ == "__main__": os.environ.setdefault("DJANGO_SETTINGS_MODULE", "comics_aggregator.settings") try: from django.core.management import execute_from_command_line except ImportError: # The above import may fail for some other reason. Ensure...
[ "you@example.com" ]
you@example.com
879437f3995fc2c8af33708e20e65ea71d787eed
09e57dd1374713f06b70d7b37a580130d9bbab0d
/benchmark/startQiskit_noisy1998.py
8ea67d5a234bcee1b81265ef51492d40802ad06f
[ "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,931
py
# qubit number=4 # total number=32 import cirq import qiskit from qiskit.providers.aer import QasmSimulator from qiskit.test.mock import FakeVigo from qiskit import QuantumCircuit, QuantumRegister, ClassicalRegister from qiskit import BasicAer, execute, transpile from pprint import pprint from qiskit.test.mock import ...
[ "wangjiyuan123@yeah.net" ]
wangjiyuan123@yeah.net
5a9fb527004b7c85da090fbd398b277106d50371
e0c8662a56d89730043146ddc340e9e0b9f7de72
/plugin/1183fe82-1596.py
02dad21d9a024d399fccb78fe53c31cad6e8bc1d
[]
no_license
izj007/bugscan_poc
f2ef5903b30b15c230b292a1ff2dc6cea6836940
4490f3c36d4033bdef380577333722deed7bc758
refs/heads/master
2020-09-22T17:20:50.408078
2019-01-18T09:42:47
2019-01-18T09:42:47
null
0
0
null
null
null
null
UTF-8
Python
false
false
894
py
#coding:utf-8 from lib.curl import * # -*- coding: utf-8 -*- """ POC Name : sgc8000 大型旋转机监控系统报警短信模块泄露 Author : a mail : a@lcx.cc refer : 打雷 http://www.wooyun.org/bugs/wooyun-2015-0135197/ 波及各大能源公司,包括中石油,中石化,中海油,中煤等等等等全国各个化工能源公司 """ import urlparse def assign(service, arg): if service == 'sgc80...
[ "yudekui@wsmtec.com" ]
yudekui@wsmtec.com
829b93625b164aec03032b7f6b7d6a98b68afbfb
4522fc52bc43654aadd30421a75bae00a09044f0
/isis/itzamara/search_item.py
8508a4237dc9d83db9719b60b26ba7f43ce31d6f
[]
no_license
qesoalpe/anelys
1edb8201aa80fedf0316db973da3a58b67070fca
cfccaa1bf5175827794da451a9408a26cd97599d
refs/heads/master
2020-04-07T22:39:35.344954
2018-11-25T05:23:21
2018-11-25T05:23:21
158,779,332
0
0
null
null
null
null
UTF-8
Python
false
false
1,665
py
from isis.dialog_search_text import Dialog_Search_Text from isis.data_model.table import Table from sarah.acp_bson import Client class Search_Item(Dialog_Search_Text): def __init__(self, parent=None): Dialog_Search_Text.__init__(self, parent) self.agent_itzamara = None self.store = None ...
[ "qesoalpe@gmail.com" ]
qesoalpe@gmail.com
63ede9c176a7066d977459f31d78c2ffed292262
9610621437f025aa97f99b67f0a5d8e13bbb715c
/com/vmware/appliance/system_client.py
a257fc441c845dd0d91497dfdb258d5d9af7b588
[ "MIT" ]
permissive
adammillerio/vsphere-automation-sdk-python
2b3b730db7da99f1313c26dc738b82966ecea6ce
c07e1be98615201139b26c28db3aa584c4254b66
refs/heads/master
2022-11-20T03:09:59.895841
2020-07-17T19:32:37
2020-07-17T19:32:37
280,499,136
0
0
null
null
null
null
UTF-8
Python
false
false
20,323
py
# -*- coding: utf-8 -*- #--------------------------------------------------------------------------- # Copyright 2020 VMware, Inc. All rights reserved. # AUTO GENERATED FILE -- DO NOT MODIFY! # # vAPI stub file for package com.vmware.appliance.system. #-----------------------------------------------------------------...
[ "miller@adammiller.io" ]
miller@adammiller.io
272af93c538fed750477de3a44e4113b6286c109
b2d3bd39b2de8bcc3b0f05f4800c2fabf83d3c6a
/examples/pwr_run/checkpointing/throughput/final2_inverse/job38.py
cb01d22cc7b7a1de16176929f6f3423c3617d33e
[ "MIT" ]
permissive
boringlee24/keras_old
3bf7e3ef455dd4262e41248f13c04c071039270e
1e1176c45c4952ba1b9b9e58e9cc4df027ab111d
refs/heads/master
2021-11-21T03:03:13.656700
2021-11-11T21:57:54
2021-11-11T21:57:54
198,494,579
0
0
null
null
null
null
UTF-8
Python
false
false
7,325
py
""" #Trains a ResNet on the CIFAR10 dataset. """ from __future__ import print_function import keras from keras.layers import Dense, Conv2D, BatchNormalization, Activation from keras.layers import AveragePooling2D, Input, Flatten from keras.optimizers import Adam from keras.callbacks import ModelCheckpoint, LearningRa...
[ "baolin.li1994@gmail.com" ]
baolin.li1994@gmail.com
6834426075b03b496ae3de4b06d6f72d73bf5839
35a10ea7657fb28b4ae5a95045bc8e715b0b8d1c
/mysite/main/migrations/0005_delete_essaycategory.py
3baecf7fefd629a67d9303b72c037ffca744b4da
[ "MIT" ]
permissive
nsky80/editorial
d7c978be4b8b8ea1cec6b764dd2e9860ebdf0867
e85106e32d5d5ff8b9ac7f140b0c8f67d34b2dc0
refs/heads/master
2020-04-29T08:41:57.601027
2020-03-05T18:37:02
2020-03-05T18:37:02
175,995,388
2
0
MIT
2019-08-19T18:29:58
2019-03-16T16:20:23
HTML
UTF-8
Python
false
false
299
py
# Generated by Django 2.2.1 on 2019-07-21 09:41 from django.db import migrations class Migration(migrations.Migration): dependencies = [ ('main', '0004_auto_20190316_0140'), ] operations = [ migrations.DeleteModel( name='EssayCategory', ), ]
[ "satishkumary80@gmail.com" ]
satishkumary80@gmail.com
67c25e2ceff629da5c3493d2c01f251996768911
53fab060fa262e5d5026e0807d93c75fb81e67b9
/backup/user_244/ch1_2019_03_14_17_05_12_929051.py
cfc8916fb07baf0253baedef1f8239e1e722ce14
[]
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
75
py
def calcula_valor_devido(x,y,z): return VF = x * (1 + z)**y
[ "you@example.com" ]
you@example.com
35b09022fa3e5caa076b0ac3a5627233549ded43
55c552b03a07dcfa2d621b198aa8664d6ba76b9a
/Algorithm/BOJ/4134_다음 소수_s4/4134.py
7845e2c7cdb25cd978361a4bf6a02925ddce3a0b
[]
no_license
LastCow9000/Algorithms
5874f1523202c10864bdd8bb26960953e80bb5c0
738d7e1b37f95c6a1b88c99eaf2bc663b5f1cf71
refs/heads/master
2023-08-31T12:18:45.533380
2021-11-07T13:24:32
2021-11-07T13:24:32
338,107,899
0
1
null
null
null
null
UTF-8
Python
false
false
709
py
# boj 4134 다음 소수 s4 # noj.am/4134 for _ in range(int(input())): n = int(input()) if n <= 1: print(2) continue maxRange = 80000 flag = [False, False] + [True] * (maxRange - 1) for num in range(2, maxRange + 1): if flag[num]: for i in range(num + num, maxRan...
[ "sys19912002@hanmail.net" ]
sys19912002@hanmail.net
5dc7334bd95e7f16687b5903ecfc180f29cb6d4a
f6d7c30a7ed343e5fe4859ceaae1cc1965d904b7
/htdocs/submissions/5dc7334bd95e7f16687b5903ecfc180f29cb6d4a.py
f240b858556dd23d3f4d394931854f0d7c911994
[]
no_license
pycontest/pycontest.github.io
ed365ebafc5be5d610ff9d97001240289de697ad
606015cad16170014c41e335b1f69dc86250fb24
refs/heads/master
2021-01-10T04:47:46.713713
2016-02-01T11:03:46
2016-02-01T11:03:46
50,828,627
0
0
null
null
null
null
UTF-8
Python
false
false
257
py
n=' .' m=' _ .' e='| |.' a='|_|.' r=' |.' l='| .' d=' _|.' s='|_ .' n=m+e+a,n+r+r,m+d+s,m+d+d,n+a+r,m+s+d,m+s+a,m+r+r,m+a+a,m+a+d def seven_seg(x): a=['']*3 for d in x: l=n[int(d)].split('.') for z in range(3):a[z]+=l[z] return '\n'.join(a)+'\n'
[ "info@pycontest.net" ]
info@pycontest.net
536ff942f90b91a7fb29e3a9076d36b582318420
f50f1aa1f8f139d546db3230a1cb1f53043fd9e6
/multimedia/converter/dvdbackup/actions.py
2d25a92cb98af0288858998d4ff57bf65653cc77
[]
no_license
pars-linux/corporate2
7887961d1552d39bc3b0bef4a60fd3413d9b82bb
14d1eacfc824fb8d0bff8173e7ac06b36b88d10d
refs/heads/master
2020-05-26T15:02:12.005654
2017-02-27T03:07:14
2017-02-27T03:07:14
82,476,084
4
0
null
null
null
null
UTF-8
Python
false
false
458
py
#!/usr/bin/python # -*- coding: utf-8 -*- # # Copyright 2007-2009 TUBITAK/UEKAE # Licensed under the GNU General Public License, version 2. # See the file http://www.gnu.org/licenses/old-licenses/gpl-2.0.txt from pisi.actionsapi import autotools from pisi.actionsapi import pisitools WorkDir = "dvdbackup" def build()...
[ "ozancaglayan@users.noreply.github.com" ]
ozancaglayan@users.noreply.github.com
05d70434fa49d8b43242b5bc319959b97b833cbb
f1cb02057956e12c352a8df4ad935d56cb2426d5
/LeetCode/2402. Meeting Rooms III/Solution.py
e04582cc6433fc14b232d16a3615a444f3a02378
[]
no_license
nhatsmrt/AlgorithmPractice
191a6d816d98342d723e2ab740e9a7ac7beac4ac
f27ba208b97ed2d92b4c059848cc60f6b90ce75e
refs/heads/master
2023-06-10T18:28:45.876046
2023-05-26T07:46:42
2023-05-26T07:47:10
147,932,664
15
2
null
null
null
null
UTF-8
Python
false
false
1,454
py
MEETING_START = 1 MEETING_END = 0 class Solution: def mostBooked(self, n: int, meetings: List[List[int]]) -> int: # Time Complexity: O(M log MN) # Space Complexity: O(N + M) events = [(start, MEETING_START, end - start) for start, end in meetings] pending = [] available_ro...
[ "nphamcs@gmail.com" ]
nphamcs@gmail.com
d3b472805b2615dba2cc942d9347ee58fddd00d3
c3c5e21f02dc1ce325e4ba0ea49f04503b2124e5
/Code/bigger_nn/plot_data.py
db6d913bed2c04cdfd9179ac0b7baf3b67594253
[]
no_license
Rootpie-Studios/RL-in-HaliteIV
5fdd76cc5523deec2847059cc6237d638c2a9881
431f35d47b898e68983772f9b908764741347ad5
refs/heads/master
2023-06-05T20:21:07.543805
2021-06-21T11:18:57
2021-06-21T11:18:57
378,900,025
0
0
null
null
null
null
UTF-8
Python
false
false
521
py
import tensorflow as tf import src.plot as plot import bigger_nn.conf as conf user_choice = input('Plot exploit data? y/n \n') if user_choice == 'y': folder = conf.get('EXPLOIT_GAMES_FOLDER') else: folder = conf.get('GAMES_FOLDER') try: model = tf.keras.models.load_model(conf.get('SHIP_MODEL')) except:...
[ "kimhaafi@gmail.com" ]
kimhaafi@gmail.com
c12b59a23c758ac14e36e2ed849148850d9a5571
bc441bb06b8948288f110af63feda4e798f30225
/capacity_admin_sdk/model/container/pod_status_pb2.py
6de9ae973841286f0c359c4fb191d12570e42f8d
[ "Apache-2.0" ]
permissive
easyopsapis/easyops-api-python
23204f8846a332c30f5f3ff627bf220940137b6b
adf6e3bad33fa6266b5fa0a449dd4ac42f8447d0
refs/heads/master
2020-06-26T23:38:27.308803
2020-06-16T07:25:41
2020-06-16T07:25:41
199,773,131
5
0
null
null
null
null
UTF-8
Python
false
true
4,896
py
# -*- coding: utf-8 -*- # Generated by the protocol buffer compiler. DO NOT EDIT! # source: pod_status.proto import sys _b=sys.version_info[0]<3 and (lambda x:x) or (lambda x:x.encode('latin1')) from google.protobuf import descriptor as _descriptor from google.protobuf import message as _message from google.protobuf ...
[ "service@easyops.cn" ]
service@easyops.cn
bc054ee3a41b51ba0c02fd50959e5203a9ce1be3
cf3e0cd574248629ebeacb224fe96d3df19ea9ca
/django_todo_in_team/settings.py
d5bfaa75efdd103703ca23205c24708053e97cc2
[]
no_license
ashur-k/Team-work-Hub
34b9d9ec43cca53d11e072fd6a68e831ee6b4795
4da991e3166f8650cb24024ede07c485e9ee9dda
refs/heads/master
2023-03-12T12:19:15.456078
2021-03-01T22:01:11
2021-03-01T22:01:11
340,626,504
0
0
null
2021-02-20T10:42:06
2021-02-20T10:29:03
Shell
UTF-8
Python
false
false
3,416
py
""" Django settings for django_todo_in_team project. Generated by 'django-admin startproject' using Django 3.1.7. For more information on this file, see https://docs.djangoproject.com/en/3.1/topics/settings/ For the full list of settings and their values, see https://docs.djangoproject.com/en/3.1/ref/settings/ """ ...
[ "ashurkanwal@yahoo.com" ]
ashurkanwal@yahoo.com
e2edf2037288c178e8a0f0e1fa79e543746def5c
55c250525bd7198ac905b1f2f86d16a44f73e03a
/Python/Games/Pygame/pygame-vkeyboard/pygame_vkeyboard/examples/numeric.py
06131ee38998682cbdc8eb7bbac5590455f99b08
[]
no_license
NateWeiler/Resources
213d18ba86f7cc9d845741b8571b9e2c2c6be916
bd4a8a82a3e83a381c97d19e5df42cbababfc66c
refs/heads/master
2023-09-03T17:50:31.937137
2023-08-28T23:50:57
2023-08-28T23:50:57
267,368,545
2
1
null
2022-09-08T15:20:18
2020-05-27T16:18:17
null
UTF-8
Python
false
false
129
py
version https://git-lfs.github.com/spec/v1 oid sha256:79af64ea269c1a2a6da43c377fc8ff4650b04b20a967d881019b3c32032044c3 size 1411
[ "nateweiler84@gmail.com" ]
nateweiler84@gmail.com
e270bcdfe76d6e527c850b2cd3d2c445f116010a
50ae1a0b7e0ebe031f3a45193e213fa7384cef23
/uncertainty_baselines/datasets/places_test.py
ff649aa55888cee6af014940ade99f305bd14fcb
[ "Apache-2.0" ]
permissive
MarkoOrescanin/uncertainty-baselines
8634ec2ddbf7d8ca4d342f37b108d3e8787254f8
7256ab3b126e1dcc3fc796370e8ce94c688c1520
refs/heads/main
2023-06-11T17:32:08.594735
2021-07-01T22:15:20
2021-07-01T22:15:48
null
0
0
null
null
null
null
UTF-8
Python
false
false
985
py
# coding=utf-8 # Copyright 2021 The Uncertainty Baselines Authors. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by ap...
[ "copybara-worker@google.com" ]
copybara-worker@google.com
40a01e3075679851cc169322b9dbbbc9dc892738
9743d5fd24822f79c156ad112229e25adb9ed6f6
/xai/brain/wordbase/exclamations/_heeling.py
ffab0ee927e6e8b45a4426cdd4c700dded04cec9
[ "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
242
py
from xai.brain.wordbase.exclamations._heel import _HEEL #calss header class _HEELING(_HEEL, ): def __init__(self,): _HEEL.__init__(self) self.name = "HEELING" self.specie = 'exclamations' self.basic = "heel" self.jsondata = {}
[ "xingwang1991@gmail.com" ]
xingwang1991@gmail.com
2d4172e12adf3d83dd245b7a72488ead42370f77
4d675034878c4b6510e1b45b856cc0a71af7f886
/configs/gcnet/cascade_mask_rcnn_x101_32x4d_fpn_syncbn-backbone_dconv_c3-c5_r16_gcb_c3-c5_1x_coco.py
50689aadf6cab9414aab1a7a9e72ef8231355e4f
[ "Apache-2.0", "BSD-2-Clause-Views", "MIT", "BSD-2-Clause" ]
permissive
shinya7y/UniverseNet
101ebc2ad8f15482ee45ea8d6561aa338a0fa49e
3652b18c7ce68122dae7a32670624727d50e0914
refs/heads/master
2023-07-22T08:25:42.646911
2023-07-08T18:09:34
2023-07-08T18:09:34
263,555,721
407
58
Apache-2.0
2023-01-27T01:13:31
2020-05-13T07:23:43
Python
UTF-8
Python
false
false
390
py
_base_ = '../dcn/cascade_mask_rcnn_x101_32x4d_fpn_dconv_c3-c5_1x_coco.py' model = dict( backbone=dict( norm_cfg=dict(type='SyncBN', requires_grad=True), norm_eval=False, plugins=[ dict( cfg=dict(type='ContextBlock', ratio=1. / 16), stages=(False, T...
[ "noreply@github.com" ]
shinya7y.noreply@github.com
5f5b8c3d8d2cd2aa32541dee22abcced270af05c
18b9251055f88b6fc28108d2c209d2b71b6b6f5d
/rebnypy/lookups.py
7c5a5411b6df113baed6e7a21d440d6121db1068
[ "MIT" ]
permissive
justinsteffy/rebnypy
03335509513e4ad3f7cb999723db284b5936cd98
e1ca47401d1ffc64d7969a73831de8a63a83751b
refs/heads/master
2020-04-04T05:22:08.026875
2016-08-31T03:17:13
2016-08-31T03:17:13
null
0
0
null
null
null
null
UTF-8
Python
false
false
3,867
py
LOOKUPS = { "AirConditioning": { "C":"Central", "F":"Free Standing", "M":"Multi-Zone", "N":"None", "T":"Through the Wall", "U":"Unknown Type", "W":"Window Units", }, "Borough": { "BK":"Brooklyn", "BX":"Bronx", "NY":"Manhattan", "QN":"Queens", "SI":"Staten Island", }, "B...
[ "me@kevinmccarthy.org" ]
me@kevinmccarthy.org
22ca343e3f7395a467d41262e0894c3079afe3eb
2f98aa7e5bfc2fc5ef25e4d5cfa1d7802e3a7fae
/python/python_9542.py
377c17d361a2194f088528cf78b28ae16b57ab04
[]
no_license
AK-1121/code_extraction
cc812b6832b112e3ffcc2bb7eb4237fd85c88c01
5297a4a3aab3bb37efa24a89636935da04a1f8b6
refs/heads/master
2020-05-23T08:04:11.789141
2015-10-22T19:19:40
2015-10-22T19:19:40
null
0
0
null
null
null
null
UTF-8
Python
false
false
175
py
# Python: getting lowest integer in list of tuples &gt;&gt;&gt; nums = [(), (), ('24', '25', '26', '27'), (), (), (), ()] &gt;&gt;&gt; min(int(j) for i in nums for j in i) 24
[ "ubuntu@ip-172-31-7-228.us-west-2.compute.internal" ]
ubuntu@ip-172-31-7-228.us-west-2.compute.internal
16b4b2d17bcc535c3735614aee383f6eb07d2f39
c35d2b782a2626e16d72e03902cb37ab8de5548b
/ChikluFood/ChikluFood/settings.py
18ee419de5096165b1beedb3363419508c174314
[]
no_license
Sanketdave12/CHIKLU-FOOD
6139af05138afe5e4322fcb47d167baf22c548a0
a3fa7e781414f55e6629660771ed2b62c107c8e8
refs/heads/master
2023-03-12T03:54:07.015027
2021-02-27T14:38:52
2021-02-27T14:38:52
342,878,187
0
0
null
null
null
null
UTF-8
Python
false
false
3,145
py
""" Django settings for ChikluFood project. Generated by 'django-admin startproject' using Django 3.1.7. For more information on this file, see https://docs.djangoproject.com/en/3.1/topics/settings/ For the full list of settings and their values, see https://docs.djangoproject.com/en/3.1/ref/settings/ """ from path...
[ "sddave1998@gmail.com" ]
sddave1998@gmail.com
b0839533fd268a50e8230932fdb9563bcd2b8a32
264ff719d21f2f57451f322e9296b2f55b473eb2
/gvsoc/gvsoc/models/pulp/chips/oprecompkw/apb_soc.py
3b5776e7f50d951a051a5409a2b768e0d1b931f0
[ "Apache-2.0" ]
permissive
knmcguire/gap_sdk
06c9537c16fa45dea6b7f5c6b162b53953262915
7b0a09a353ab6f0550793d40bd46e98051f4a3d7
refs/heads/master
2020-12-20T06:51:19.580497
2020-01-21T14:52:28
2020-01-21T14:52:28
235,992,961
0
0
Apache-2.0
2020-01-24T11:45:59
2020-01-24T11:45:58
null
UTF-8
Python
false
false
786
py
# # Copyright (C) 2018 ETH Zurich and University of Bologna # # 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 applicabl...
[ "noreply@github.com" ]
knmcguire.noreply@github.com
9f6014f724cb1cccfd86b1c42cd8bece2474f0e8
d039bfad0e8cc3184b8112e23f9a1ef06b4001d3
/map_motif_space.py
4b0987e9c71f09552ac5e8da5b6151b9d3611ae0
[]
no_license
vhsvhs/prob_motif
9afa93f8f3c922103be77052641902c105fe4f16
7bdc2485ead23c7d092cc89d3975b37c52c31135
refs/heads/master
2021-01-01T20:48:55.052391
2012-05-29T22:48:04
2012-05-29T22:48:04
null
0
0
null
null
null
null
UTF-8
Python
false
false
3,139
py
# # Input: a directory of mlib files # # Output: a graph where node size = # of motifs bounds by a PWM, edge weight = # of motifs jointly bound by two PWMs # from argparser import * import matplotlib.pyplot as plt import networkx as nx import os ap = ArgParser(sys.argv) def build_mlib_hash(genes_files): """genes...
[ "victorhansonsmith@gmail.com" ]
victorhansonsmith@gmail.com
cd27c38ac0da5b55f53fe18973011869bb0c24fd
7a043d45cf0ed0938a10a03121c2b75fdd0cc76a
/081/p081.py
dd354f637d511c2ffdc9af4ac4929a3218868b0c
[]
no_license
tormobr/Project-euler
f8d67292a6426ffba9d589d01c31e2d59249e4ff
b544540b0fee111a6f6cfe332b096fe1ec88935c
refs/heads/master
2020-05-29T17:27:03.767501
2020-02-13T13:06:34
2020-02-13T13:06:34
189,276,911
0
0
null
null
null
null
UTF-8
Python
false
false
761
py
from collections import defaultdict import time def solve(): return dynamic() def create_dict(): d = defaultdict(lambda: []) for i in range(h): for j in range(w): d[(i,j)].append((i+1, j)) d[(i,j)].append((i, j+1)) return d def dynamic(): for i in range(h-1, -1, -1...
[ "tormod.brandshoi@gmail.com" ]
tormod.brandshoi@gmail.com
68216f6212a047ad3f07031c8093629b15a45287
c46a3546e58539444e508a97b68cac21e6422baa
/food_order/migrations/0002_auto_20181122_1056.py
8b876e1ffa6057042762c414128bfa639c38c270
[]
no_license
ahsanhabib98/Food-service-system
7b21b9bd3d2f7db381bc01689c6a23d3b16bb933
5bbc50e375d1af8c551b1048f2c6504505ac0cf4
refs/heads/master
2022-12-11T02:35:05.097986
2018-11-28T11:19:23
2018-11-28T11:19:23
159,385,627
0
0
null
2022-12-08T02:27:40
2018-11-27T19:07:25
Python
UTF-8
Python
false
false
1,099
py
# Generated by Django 2.0.5 on 2018-11-22 04:56 from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): dependencies = [ ('food_area', '0001_initial'), ('food_order', '0001_initial'), ] operations = [ migrations.CreateMode...
[ "ahredoan@gmail.com" ]
ahredoan@gmail.com
15a9b3847e9f55cac74d29796b5229c70f430981
626da446e92b58808a179c4fc23c3de5b457e472
/inventory/templatetags/inventory_tags.py
6afb098ccfdf25cede7943eed30a96877ca09a56
[ "BSD-3-Clause" ]
permissive
Eraldo/eraldoenergy
76049cbb06fcc26940b8c004875f8aefbf65a95e
cb07a7722826924df4d416e8930c87f11bec3dd8
refs/heads/master
2020-12-23T17:43:21.683449
2018-05-05T18:12:43
2018-05-05T18:12:43
44,062,390
1
0
null
null
null
null
UTF-8
Python
false
false
659
py
from classytags.helpers import InclusionTag from django import template from django.utils.translation import ugettext_lazy as _ register = template.Library() @register.tag class Item(InclusionTag): name = 'item' template = 'inventory/widgets/item.html' def get_context(self, context, **kwargs): i...
[ "eraldo@eraldo.org" ]
eraldo@eraldo.org
94730257260c0e6d4e04e0b65fa5129689586ecd
5a52ccea88f90dd4f1acc2819997fce0dd5ffb7d
/alipay/aop/api/domain/OperationTaskDTO.py
989736892e65777dcec20f04f1a0c7083adda82e
[ "Apache-2.0" ]
permissive
alipay/alipay-sdk-python-all
8bd20882852ffeb70a6e929038bf88ff1d1eff1c
1fad300587c9e7e099747305ba9077d4cd7afde9
refs/heads/master
2023-08-27T21:35:01.778771
2023-08-23T07:12:26
2023-08-23T07:12:26
133,338,689
247
70
Apache-2.0
2023-04-25T04:54:02
2018-05-14T09:40:54
Python
UTF-8
Python
false
false
6,284
py
#!/usr/bin/env python # -*- coding: utf-8 -*- import json from alipay.aop.api.constant.ParamConstants import * class OperationTaskDTO(object): def __init__(self): self._comment = None self._operation_task_id = None self._operation_task_name = None self._operation_task_type = None...
[ "jishupei.jsp@alibaba-inc.com" ]
jishupei.jsp@alibaba-inc.com
23dbae54366ea14f75cf9be0f657750d526197d8
67055c66ae4bca82ee61dab1757b73cc21559cfd
/miko.py
ebef8e8f43676019b4164ec58017c98197ecbf5a
[]
no_license
kevinelong/network_python
0482f694c9c050f4226bdfb7cc4fe31df26dd17b
41158808bac5d127c3f3f3cfaea202cb60d7167c
refs/heads/master
2023-07-14T12:20:14.550017
2021-08-26T00:13:45
2021-08-26T00:13:45
359,521,517
1
20
null
2021-04-28T18:08:15
2021-04-19T16:12:03
Python
UTF-8
Python
false
false
2,195
py
from netmiko import ConnectHandler import os os.environ["NET_TEXTFSM"] = "d:/python37/lib/site-packages/ntc_templates/templates" linux = { 'device_type': 'linux', #cisco_ios 'host': '3.81.60.164', 'username': 'kevin', 'password': 'S!mpl312', } c = ConnectHandler(**linux) # use of kwargs optional, could...
[ "kevinelong@gmail.com" ]
kevinelong@gmail.com
ee39e7c0980af8ab5743db76e6b42c88addd8bd4
dead81f54b0aa5292f69bb5fef69e9910a137fc4
/demo/entrypoint.py
d42cf12bc00a567fb61b3167a8116c7fb936cb17
[ "MIT" ]
permissive
Nekmo/djangocms-bs3-theme
0b7274b73b5072cbb8c737f13a94143363ae864d
1155588414164d6e5d027131e9181856f8a80d5d
refs/heads/master
2023-01-11T19:58:29.922023
2020-03-08T17:10:37
2020-03-08T17:10:37
56,414,025
0
0
MIT
2022-12-26T20:05:06
2016-04-17T01:47:51
CSS
UTF-8
Python
false
false
1,387
py
#!/usr/bin/env python import sys import os import subprocess COMMIT_FILE = '.last_build_commit' os.environ.setdefault('BUILD_DJANGO', '1') os.environ.setdefault('FORCE_BUILD', '1') def execute_command(*args): subprocess.check_call(args) def get_current_commit(): return subprocess.check_output(['git', 'r...
[ "contacto@nekmo.com" ]
contacto@nekmo.com
c3acf2f9644f455d0582bdf419bac21f96bab503
eebacbc58a1c99fb6e32f8cd56cac6e18947d3e7
/1.python_foundation/2.String_and_encode.py
266ce0314234e4a8b2c1d08d9bd197a30e5bfb48
[]
no_license
fzingithub/LearnPythonFromLiao
ad7f959d7e667a464f2b9a6b1cedfd0f08baaf8e
fcb0f2e7f905aca253b3986c4a1ceab6b82b7cae
refs/heads/master
2020-03-29T19:37:32.831341
2018-09-27T10:39:11
2018-09-27T10:39:11
150,273,212
0
0
null
null
null
null
UTF-8
Python
false
false
590
py
# -*- coding: utf-8 -*- """ Created on Sat Jan 13 15:25:06 2018 @author: FZ """ #string and unicode #ASCII Unicode 可变长 UTF-8 print ('包含中的string') print (ord('中')) print (chr(20013)) #转码 print ('ABC'.encode('ascii')) print ('中文'.encode('UTF-8')) #字节流编码 print (b'\xe4\xb8\xad\xe6\x96\x87'.decode('UTF-8')) print (len(...
[ "1194585271@qq.com" ]
1194585271@qq.com
2b5c14efee99ffcc5240e049f48d3ac73d1e0b14
762b4373122e5cc791eb81759590008bdfd1f034
/core/models/others/capsnet_em.py
d64ae0859347d99465b89adabc666fd3340a2ac6
[]
no_license
StephenTaylor1998/high-resolution-capsule
50929527e84d57704e1295195c6a1b555367e565
f999b01893bde98eb053d2778e8a1bad526d8293
refs/heads/master
2023-05-11T18:25:50.760820
2021-05-24T09:47:27
2021-05-24T09:47:27
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,711
py
import torch import torch.nn as nn from core import models from core.layers.others.base import weights_init, resnet20_backbone from core.layers.others.layers_em import EmRouting2d from core.models import resnet18_dwt_tiny_half, resnet18_tiny_half, resnet10_tiny_half class Model(nn.Module): def __init__(self, num...
[ "2684109034@qq.com" ]
2684109034@qq.com
5b20d25002d847a60df58c8f76a76214777c80ff
7530867a3f3d80600b1f728b65d778f7b4e3deb0
/layers/linear.py
7e903791440ba4262e4e1d8e443136de7d048a95
[ "MIT" ]
permissive
rezer0dai/zer0nets
1fba5895fcb0397ec481b9cdbfa686f7b4cd83e8
982fa69571478dc61c6110f3287fad94af6d4f2c
refs/heads/master
2020-03-24T09:36:23.499160
2018-07-28T00:02:08
2018-07-28T00:02:08
142,632,679
0
0
null
null
null
null
UTF-8
Python
false
false
201
py
import numpy as np from feat_space import * class Linear(FeatureSpace): def name(self): return "linear" def signal(self, x): return x def prime(self, _): return 1.
[ "aaa@bbb.ccc" ]
aaa@bbb.ccc
601a58e65541310880e10f036c051e58ddf089e2
efe3c9ad40200e6a4cc54ade2867e455687eb11b
/home/migrations/0004_message.py
bb97cd54ee190824e8f4994f6e57f1580cb8bcbe
[ "LicenseRef-scancode-unknown-license-reference", "LicenseRef-scancode-public-domain" ]
permissive
andrewhstead/stream-three-project
bec3b70b354b812d1a875ee4e305377038fe179b
60e5f946455f12019a266b8231737435702ff95e
refs/heads/master
2023-06-23T17:53:09.379297
2023-06-13T16:09:22
2023-06-13T16:09:22
126,410,294
0
1
null
null
null
null
UTF-8
Python
false
false
879
py
# -*- coding: utf-8 -*- # Generated by Django 1.11.11 on 2018-04-23 23:14 from __future__ import unicode_literals from django.db import migrations, models import tinymce.models class Migration(migrations.Migration): initial = True dependencies = [ ('home', '0003_delete_team'), ] operations...
[ "andrew@andrewstead.co.uk" ]
andrew@andrewstead.co.uk
de5bdd8d7521907a0d02b916dded40acdace4814
bf99b1b14e9ca1ad40645a7423f23ef32f4a62e6
/AtCoder/other/日立製作所_社会システム事業部_プログラミングコンテスト2020/c.py
f0dbb2903e9188f925ea9ea87e867040ab1f0e43
[]
no_license
y-oksaku/Competitive-Programming
3f9c1953956d1d1dfbf46d5a87b56550ff3ab3db
a3ff52f538329bed034d3008e051f30442aaadae
refs/heads/master
2021-06-11T16:14:12.635947
2021-05-04T08:18:35
2021-05-04T08:18:35
188,639,647
0
0
null
null
null
null
UTF-8
Python
false
false
1,161
py
from collections import deque import sys input = sys.stdin.buffer.readline N = int(input()) edges = [[] for _ in range(N)] for _ in range(N - 1): fr, to = map(lambda a: int(a) - 1, input().split()) edges[fr].append(to) edges[to].append(fr) dist = [10**10] * N que = deque([(0, 0)]) while que: now, d ...
[ "y.oksaku@stu.kanazawa-u.ac.jp" ]
y.oksaku@stu.kanazawa-u.ac.jp
c3b42d25f9116f1bf61fa704be8f0a121762c825
4e097df1d8ee1c864699ce917195aa79e6a78c24
/backend/purple_fire_27872/urls.py
6f28f3da85dcdbeecef932b43d280b8980e4bc0d
[]
no_license
crowdbotics-apps/purple-fire-27872
2ddbac1b9e0a640e80171d6dea3301de204e2a13
d630e111e9144b698d3581fc45c0067a1d52c45c
refs/heads/master
2023-05-15T07:36:11.511788
2021-06-09T13:01:26
2021-06-09T13:01:26
375,356,766
0
0
null
null
null
null
UTF-8
Python
false
false
2,229
py
"""purple_fire_27872 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') C...
[ "team@crowdbotics.com" ]
team@crowdbotics.com
786bbf41efc469014729778a19aca2a7ce6dc054
c991da8bae5a74dec3e6400ca780206758b9840a
/old/Session002/DynamicProgramming/Triangle.py
8e8fef6ae6c114c304f3abc1c5d8ea2d824c1bdf
[]
no_license
MaxIakovliev/algorithms
0503baca3d35c8ad89eca8821c5b2928d805064b
54d3d9530b25272d4a2e5dc33e7035c44f506dc5
refs/heads/master
2021-07-23T02:21:18.443979
2021-07-18T08:05:37
2021-07-18T08:05:37
45,613,974
0
0
null
null
null
null
UTF-8
Python
false
false
586
py
class Solution: """ https://leetcode.com/problems/triangle/ solution: https://leetcode.com/problems/triangle/discuss/38724/7-lines-neat-Java-Solution """ def minimumTotal(self, triangle: 'List[List[int]]') -> int: dp=[0 for i in range(len(triangle)+1)] for i in range(len(triangle...
[ "max.iakovliev@gmail.com" ]
max.iakovliev@gmail.com
f6180d6e48614c2a0d648ee7c5c04d9b51cdd379
bb311256e15179e929b9fba277e16f67b1e674e5
/backend/athlete_auction_28818/urls.py
122f438761b809957bed0a2e6d02e7d31a115685
[]
no_license
crowdbotics-apps/athlete-auction-28818
bd14650fcf008eca4132ea44a8064e6d8ef93310
457aa0b49b2ac9c2d94e09b7cd6b07ba9a1644d5
refs/heads/master
2023-06-16T17:13:45.772189
2021-07-13T23:46:46
2021-07-13T23:46:46
385,762,299
0
0
null
null
null
null
UTF-8
Python
false
false
2,253
py
"""athlete_auction_28818 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...
[ "team@crowdbotics.com" ]
team@crowdbotics.com
696ec13eb480eb65068ec5403f76bb30b5f0a8de
71f00ed87cd980bb2f92c08b085c5abe40a317fb
/Data/GoogleCloud/google-cloud-sdk/lib/surface/ai_platform/models/list.py
632e720d7f254e7d84e144a1789781bfd9835dff
[ "LicenseRef-scancode-unknown-license-reference", "Apache-2.0" ]
permissive
factoryofthesun/Rao-NLP
2bd8269a8eed1cb352c14c8fde88e3111ccca088
87f9723f5ee51bd21310d58c3425a2a7271ec3c5
refs/heads/master
2023-04-18T08:54:08.370155
2020-06-09T23:24:07
2020-06-09T23:24:07
248,070,291
0
1
null
2021-04-30T21:13:04
2020-03-17T20:49:03
Python
UTF-8
Python
false
false
1,782
py
# -*- coding: utf-8 -*- # # Copyright 2019 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...
[ "guanzhi97@gmail.com" ]
guanzhi97@gmail.com
5e643721bee6dc4b37e5b40540e5cf632e766789
ccf94dcb6b1500fcbbd56964ae8c4832a496b8b3
/python/baiduads-sdk-auto/baiduads/kr/model/get_kr_file_id_by_words_response_wrapper.py
928cdd391cc8303ddb0b07ed7ed6057fb0718aae
[ "Apache-2.0" ]
permissive
baidu/baiduads-sdk
24c36b5cf3da9362ec5c8ecd417ff280421198ff
176363de5e8a4e98aaca039e4300703c3964c1c7
refs/heads/main
2023-06-08T15:40:24.787863
2023-05-20T03:40:51
2023-05-20T03:40:51
446,718,177
16
11
Apache-2.0
2023-06-02T05:19:40
2022-01-11T07:23:17
Python
UTF-8
Python
false
false
11,702
py
""" dev2 api schema 'dev2.baidu.com' api schema # noqa: E501 Generated by: https://openapi-generator.tech """ import re # noqa: F401 import sys # noqa: F401 from baiduads.model_utils import ( # noqa: F401 ApiTypeError, ModelComposed, ModelNormal, ModelSimple, cached_property, ch...
[ "jiangyuan04@baidu.com" ]
jiangyuan04@baidu.com
8bdab1439c9d2449522735f1c720d674074d966f
a560269290749e10466b1a29584f06a2b8385a47
/Notebooks/py/trix999/starting-my-journey-here-with-titanic/starting-my-journey-here-with-titanic.py
15f2cd17c64a621c783a8d96f243d5995897877e
[]
no_license
nischalshrestha/automatic_wat_discovery
c71befad1aa358ae876d5494a67b0f4aa1266f23
982e700d8e4698a501afffd6c3a2f35346c34f95
refs/heads/master
2022-04-07T12:40:24.376871
2020-03-15T22:27:39
2020-03-15T22:27:39
208,379,586
2
1
null
null
null
null
UTF-8
Python
false
false
10,927
py
#!/usr/bin/env python # coding: utf-8 # In[ ]: from sklearn.model_selection import cross_val_score accuracies = cross_val_score(estimator = classifier, X = X_test, y = y_test.astype(int), cv = 10, scoring = 'precision') print("Accuracy mean " + str(accuracies.mean())) print("Accuracy s...
[ "bitsorific@gmail.com" ]
bitsorific@gmail.com
0ff085f57b4a9657055b933dc0bfe0597fef0fa4
f0d713996eb095bcdc701f3fab0a8110b8541cbb
/QFXMcwaQZ8FTAuEtg_12.py
c3acc86a9fb4cf4cf4d78a239f5630f30554b163
[]
no_license
daniel-reich/turbo-robot
feda6c0523bb83ab8954b6d06302bfec5b16ebdf
a7a25c63097674c0a81675eed7e6b763785f1c41
refs/heads/main
2023-03-26T01:55:14.210264
2021-03-23T16:08:01
2021-03-23T16:08:01
350,773,815
0
0
null
null
null
null
UTF-8
Python
false
false
548
py
""" Create a function that takes a single character as an argument and returns the char code of its lowercased / uppercased counterpart. ### Examples Given that: - "A" char code is: 65 - "a" char code is: 97 counterpartCharCode("A") ➞ 97 counterpartCharCode("a") ➞ 65 ### Notes ...
[ "daniel.reich@danielreichs-MacBook-Pro.local" ]
daniel.reich@danielreichs-MacBook-Pro.local
4d38fc618d7a2428148d7e7d91a47a693b58017c
7becaa0c899fb97edcf03b90ca019618ba89deca
/test/test_simple.py
85eedbd799f93203d3915ad3fe4f681e1f7208fe
[ "MIT" ]
permissive
tgbugs/idlib
eed7f828aeb66ed8d9514303fbb965684908f955
369481d059d10a5dd8240c0dc4ce09fc1cfb4301
refs/heads/master
2023-08-07T13:45:04.103554
2023-07-28T00:56:55
2023-07-28T00:56:55
218,661,877
3
0
null
null
null
null
UTF-8
Python
false
false
103
py
import unittest class TestSimple(unittest.TestCase): def test_import(self): import idlib
[ "tgbugs@gmail.com" ]
tgbugs@gmail.com
413532b7ca0867d03a3b8a5fab67927dad30a7fc
494c191e87ae52470b9eb5d38d4851db168ed7cc
/leetcode/0179_largest_number.py
82d09525cd00c4f7825de9c78d6378b767fd839d
[]
no_license
Jeetendranani/yaamnotes
db67e5df1e2818cf6761ab56cf2778cf1860f75e
1f859fb1d26ffeccdb847abebb0f77e9842d2ca9
refs/heads/master
2020-03-19T01:12:45.826232
2018-05-30T20:14:11
2018-05-30T20:14:11
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,063
py
""" 179. Largest Number Given a list of non negative integers, arrange them such that they form the largest number. For example, given [3, 30, 34, 5, 9], the largest formed number is 9534330. Note the result may be every large, so you need to return a string instead of an integer. Approach 1: Sorting via custom com...
[ "yunpeng-li@hotmail.com" ]
yunpeng-li@hotmail.com
29c57beb7192eb32d1352e5ca01ba1687eed5ad9
c8a04384030c3af88a8e16de4cedc4ef8aebfae5
/stubs/pandas/tests/indexes/timedeltas/test_timedelta_range.pyi
2d3cd837b31cc6f1546a327e09061dedc2bb2bb9
[ "MIT" ]
permissive
Accern/accern-xyme
f61fce4b426262b4f67c722e563bb4297cfc4235
6ed6c52671d02745efabe7e6b8bdf0ad21f8762c
refs/heads/master
2023-08-17T04:29:00.904122
2023-05-23T09:18:09
2023-05-23T09:18:09
226,960,272
3
2
MIT
2023-07-19T02:13:18
2019-12-09T20:21:59
Python
UTF-8
Python
false
false
545
pyi
# Stubs for pandas.tests.indexes.timedeltas.test_timedelta_range (Python 3) # # NOTE: This dynamically typed stub was automatically generated by stubgen. # pylint: disable=unused-argument,redefined-outer-name,no-self-use,invalid-name # pylint: disable=relative-beyond-top-level,line-too-long,arguments-differ from typin...
[ "josua.krause@gmail.com" ]
josua.krause@gmail.com
49c6ca0beb4a387dfc9bada06b432530f567f400
bc9f66258575dd5c8f36f5ad3d9dfdcb3670897d
/lib/googlecloudsdk/command_lib/dataproc/jobs/trino.py
303c27738c721cac3724dfc2ee0bd9e9ac9e78be
[ "Apache-2.0", "LicenseRef-scancode-unknown-license-reference" ]
permissive
google-cloud-sdk-unofficial/google-cloud-sdk
05fbb473d629195f25887fc5bfaa712f2cbc0a24
392abf004b16203030e6efd2f0af24db7c8d669e
refs/heads/master
2023-08-31T05:40:41.317697
2023-08-23T18:23:16
2023-08-23T18:23:16
335,182,594
9
2
NOASSERTION
2022-10-29T20:49:13
2021-02-02T05:47:30
Python
UTF-8
Python
false
false
3,677
py
# -*- coding: utf-8 -*- # # Copyright 2022 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...
[ "cloudsdk.mirror@gmail.com" ]
cloudsdk.mirror@gmail.com
1aa77b0cf7ef09c20fc0e64eec1906052fe467e9
cb14afc9864e370a17f21f4486a17c824fb10294
/simple questions on loops and list comprehensions/Use a List Comprehension to create a list of all numbers between 1 and 50 that are divisible by 3.py
ec1abc951f14dacd5746142d8179b8e0ee50030d
[]
no_license
sandeepshiven/python-practice
92130a1d34fe830433c0526b386ee4550a713d55
1bfa6145c5662231128a39fdfadf8db06f4b0958
refs/heads/master
2020-06-16T12:04:52.983978
2020-02-04T18:19:55
2020-02-04T18:19:55
195,565,480
0
1
null
2019-09-15T18:25:54
2019-07-06T17:21:17
Python
UTF-8
Python
false
false
163
py
#!/usr/bin/env python3 # -*- coding: utf-8 -*- """ Created on Thu Jul 18 17:43:26 2019 @author: sandeep """ lst = [x for x in range(1,50) if x%3 == 0] print(lst)
[ "sandeepshiven0@gmail.com" ]
sandeepshiven0@gmail.com
826b03c57e962e20dbce7975d779ddf393b8a6c0
6f8267e19ad9bf828432d34780e7dde92fed054b
/src/exp/expChooseView.py
2da4f79ad80ba95a9f34f71807af50e884eeaf23
[]
no_license
ravika/expresso
3129b5227cfc664d2adbec8c768bea9751898e0b
319380d25e2ca4fc6111651d8e1c7cd98ad44a25
refs/heads/master
2016-08-03T19:32:15.823161
2015-05-02T10:16:37
2015-05-02T10:16:37
35,533,945
1
0
null
null
null
null
UTF-8
Python
false
false
7,198
py
# -*- coding: utf-8 -*- ############## # Written by : Jaley Dholakiya # Video Analytics Lab,IISc ############# # Form implementation generated from reading ui file 'expChooseView.ui' # # Created: Sat Mar 14 01:53:22 2015 # by: PyQt4 UI code generator 4.10.4 # # WARNING! All changes made in this file will be lost...
[ "ravika@gmail.com" ]
ravika@gmail.com
1e657850c5da26a216c9f3c344f970b5484ce00d
56cf9276e7e503cf0121151fbcdfc7d299ddd185
/gbp/scripts/import_srpm.py
5771d30c236b42104cd07cc5f2a0687e817e8249
[]
no_license
maxyz/git-buildpackage
f1aeb1da37b0ddf653886bf03a757d4480880b6c
bf46e26ff985802277fa500a8ecc515acc5da093
refs/heads/master
2021-01-15T13:42:48.804282
2016-08-15T06:45:08
2016-08-15T06:46:06
66,767,668
0
0
null
2016-08-28T12:45:56
2016-08-28T12:45:55
null
UTF-8
Python
false
false
19,145
py
# vim: set fileencoding=utf-8 : # # (C) 2006,2007,2011 Guido Guenther <agx@sigxcpu.org> # (C) 2012 Intel Corporation <markus.lehtonen@linux.intel.com> # 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 Softwar...
[ "agx@sigxcpu.org" ]
agx@sigxcpu.org
a18d2854e9b097c3be8c7134d21f2cde9d04db3a
7aa33a8a8d5360523bf2f6a2ce73f93fd5e63d23
/robotics/Controll.py
e51768b510a2c08a7bac2113c5a90f9ab486318c
[]
no_license
iamMHZ/image-processing-with-opencv
33b6fac0d50649c99fe35f078af8a38d53358447
7412f182ad564905bf24c8fa30f0492b7eb01bd1
refs/heads/master
2021-03-17T16:31:23.640213
2020-05-09T10:22:04
2020-05-09T10:22:04
247,002,943
2
0
null
null
null
null
UTF-8
Python
false
false
172
py
import inputs print(inputs.devices.gamepads) while True: events = inputs.get_gamepad() for event in events: print(event.ev_type, event.code, event.state)
[ "iammhz77@gmail.com" ]
iammhz77@gmail.com
40647bde765a91a69ab9bf788cf3b28a4ec6715a
e811662c890217c77b60aa2e1295dd0f5b2d4591
/src/problem_763.py
33eb4a1f687002f6082644d2dd08682d2f076cda
[]
no_license
rewonderful/MLC
95357f892f8cf76453178875bac99316c7583f84
7012572eb192c29327ede821c271ca082316ff2b
refs/heads/master
2022-05-08T05:24:06.929245
2019-09-24T10:35:22
2019-09-24T10:35:22
null
0
0
null
null
null
null
UTF-8
Python
false
false
968
py
#!/usr/bin/env python # _*_ coding:utf-8 _*_ def partitionLabels(S): """ 算法:贪心,双指针 思路: 记录每个字母的最后出现的位置,再遍历整个字符串,用一个指针start和end记录当前区间的起止位置, 目标区间应该是能使得区间内的所有字母都只出现在区间内的最短的区间, 所以再遍历一次S,设置end = max(end, last[char]),当前位置 == end时,就说明一段区间已经 添加完了,ans append进去,更新start为end + 1 为下一区段的开始处...
[ "457261336@qq.com" ]
457261336@qq.com
6aecf7de4273913f02af82ef752225319d622d37
ddf002d1084d5c63842a6f42471f890a449966ee
/basics/Python/PYTHON --------/Loops/for_perfect_number.py
12c1710e98af7953b5053badaf4ec9ed6496e5f7
[]
no_license
RaghavJindal2000/Python
0ab3f198cbc5559bdf46ac259c7136356f7f09aa
8e5c646585cff28ba3ad9bd6c384bcb5537d671a
refs/heads/master
2023-01-01T23:56:02.073029
2020-10-18T19:30:01
2020-10-18T19:30:01
263,262,452
0
0
null
null
null
null
UTF-8
Python
false
false
185
py
num=int(input("Enter the Number : ")) sum=0 for i in range(1,int(num/2)+1): if(num%i==0): sum=sum+i if(sum==num): print("Perfect Number") else: print("Not Perfect Number") input()
[ "40332753+RaghavJindal2000@users.noreply.github.com" ]
40332753+RaghavJindal2000@users.noreply.github.com
a77a33ec7d947da341e4206109d82d8d7f44e697
11aaeaeb55d587a950456fd1480063e1aed1d9e5
/.history/test_20190626133340.py
12865a307e437ef3704eed2ac3124c68bd758365
[]
no_license
Gr4cchus/Learn-Python-3-The-Hard-Way
8ce9e68f6a91ea33ea45fe64bfff82d65422c4a8
f5fa34db16cdd6377faa7fcf45c70f94bb4aec0d
refs/heads/master
2020-05-17T23:18:29.483160
2019-06-26T18:42:52
2019-06-26T18:42:52
184,023,439
0
0
null
null
null
null
UTF-8
Python
false
false
2,413
py
import random # # class Foo: # # answer = 42 # # f1 = Foo() # # f2 = Foo() # # print(f1.answer) # # print(f2.answer) # # # both will print 42 # # f1.answer = 84 # # Foo.answer = 21 # # print(f1.answer) # 84 # # print(f2.answer) # 21 # class Foo: # def __init__(self): # self.answer = 42 # f1 = F...
[ "ahivent@gmail.com" ]
ahivent@gmail.com
1f79efdb1f12760d507a1294acfc682189e2cc4f
200abee8ebb5fa255e594c8d901c8c68eb9c1a9c
/venv/01_Stepik/Python_Osnovi_i_primenenie/2.3_2.py
50544368335316c290b184d30ded2008229713e4
[]
no_license
Vestenar/PythonProjects
f083cbc07df57ea7a560c6b18efed2bb0dc42efb
f8fdf9faff013165f8d835b0ccb807f8bef6dac4
refs/heads/master
2021-07-20T14:14:15.739074
2019-03-12T18:05:38
2019-03-12T18:05:38
163,770,129
0
0
null
null
null
null
UTF-8
Python
false
false
372
py
import itertools def primes(): num = 2 while True: if is_prime(num): yield num num += 1 def is_prime(num): if num == 2: return True if num % 2 == 0: return False for _ in range(3, num // 2, 2): if num % _ == 0: return False return True print(list...
[ "vestenar@gmail.com" ]
vestenar@gmail.com
e3740376355a7ad6d32d7fb3097ea9e1f04a6db2
4df3712caff818c0554e7fbe4b97dee5fcfd8675
/common/sendMail.py
e8175fd9a7b1c03e70da7d866819a40cdff5ba85
[]
no_license
Qingyaya/interface
456057a740bd77ba6c38eda27dd1aef658e0add9
3ae37816f52ad8c45e192596a854848d8e546b14
refs/heads/master
2020-03-22T07:16:04.171904
2018-12-05T05:20:25
2018-12-05T05:20:25
139,690,021
0
0
null
null
null
null
UTF-8
Python
false
false
1,523
py
from email.mime.multipart import MIMEMultipart from email.mime.text import MIMEText import smtplib from common.ReadConfig import ReadConfig from common.Log import Log log=Log() rc=ReadConfig() def send_mail(report_file): sender=rc.get_email('sender') psw=rc.get_email('psw') receiver=rc.get_email('receiver...
[ "dongchunyi@idscloud.cn" ]
dongchunyi@idscloud.cn
3035e52b9cc917ae6870cd17760f97e41ca9995c
b5a9d42f7ea5e26cd82b3be2b26c324d5da79ba1
/tensorflow/python/keras/applications/mobilenet.py
97c6b85882e6ea224b0201820317c92823c32ddd
[ "Apache-2.0" ]
permissive
uve/tensorflow
e48cb29f39ed24ee27e81afd1687960682e1fbef
e08079463bf43e5963acc41da1f57e95603f8080
refs/heads/master
2020-11-29T11:30:40.391232
2020-01-11T13:43:10
2020-01-11T13:43:10
230,088,347
0
0
Apache-2.0
2019-12-25T10:49:15
2019-12-25T10:49:14
null
UTF-8
Python
false
false
1,662
py
# Copyright 2015 The TensorFlow Authors. 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...
[ "v-grniki@microsoft.com" ]
v-grniki@microsoft.com
b516fc14e72cd98ba60397e18718e0b2b396a2e6
b43cee0973a455a58b74233d4e02d522587f93ae
/skillbox/basic/module22/war_peace.py
1871dfaea75c70bd1b4c14d260a3e1c153729316
[]
no_license
ivadimn/py-input
5861cc92758378f44433bd6b1af7ba78da04d1c0
bbfdd74c4dffe66440490d79082de2c0318e5027
refs/heads/master
2023-08-15T03:34:01.916026
2023-07-24T14:48:08
2023-07-24T14:48:08
202,401,715
0
0
null
null
null
null
UTF-8
Python
false
false
1,134
py
import zipfile import string def frequency(text: str) -> dict: len_text = len(text) symbols = set(text) freq = {ch: text.count(ch) / len_text for ch in sorted(symbols)} return {key : freq[key] for key in sorted(freq, key=freq.get)} exclude = string.punctuation + " 0123456789" + \ "\u3002\u2...
[ "ivadimn@mail.ru" ]
ivadimn@mail.ru
d674d9782d314530754af4814fa59a5ad03c66f8
630681b5a80acdad9b5597449559ecf89e917aa0
/env/bin/cftp
e46f526ce10262450281bfedc3754cf60aefe6d6
[]
no_license
stuartses/trivia
ed5cd090fe7143159c8ed669edd5540de5f9f0f4
203b9ff4b3834d4f4a58c23f573187d0f960a64c
refs/heads/master
2022-12-17T15:57:09.735439
2020-09-20T16:32:24
2020-09-20T16:32:24
296,960,114
0
0
null
null
null
null
UTF-8
Python
false
false
411
#!/home/stuartes/repositories/chat/env/bin/python3 # EASY-INSTALL-ENTRY-SCRIPT: 'Twisted==20.3.0','console_scripts','cftp' __requires__ = 'Twisted==20.3.0' import re import sys from pkg_resources import load_entry_point if __name__ == '__main__': sys.argv[0] = re.sub(r'(-script\.pyw?|\.exe)?$', '', sys.argv[0]) ...
[ "stuart.ses@hotmail.com" ]
stuart.ses@hotmail.com
b6357591f310a910f5139ea6c1aafba52ff7d277
d9d0d3a82d5ba4016097491c276409b9b1ea778a
/Kattis/relocation.py
99a38f2674f48771aab4f6fdf4bd413803ff3370
[ "MIT" ]
permissive
ruidazeng/online-judge
311b9f2c3120b47da91da2d404e2ea1d9a2a24dd
6bdf8bbf1af885637dab474d0ccb58aff22a0933
refs/heads/master
2022-02-16T00:35:11.852600
2022-01-26T02:28:53
2022-01-26T02:28:53
191,827,952
0
1
MIT
2019-07-31T10:25:36
2019-06-13T20:21:18
Python
UTF-8
Python
false
false
273
py
_, Q = map(int, input().split()) companies = [int(x) for x in input().split()] for _ in range(Q): indicator, x, y = map(int, input().split()) if indicator == 1: companies[x-1] = y elif indicator == 2: print(abs(companies[x-1] - companies[y-1]))
[ "ruida.zeng@vanderbilt.edu" ]
ruida.zeng@vanderbilt.edu
9909a4bf17bd4ab682eeda9005e2ed143f162e54
c913c952cf4019d67f02bf1971917116da375c81
/Data/OMIMresults/omimResults3600to3620.py
2a5d59462d0283887c78b87aa40ecad57e1a2ac5
[]
no_license
jiangchb/OMIMscraping
57afa5b2f8b7ca975e7459814e0410a872f71990
27d4ac8faea526b1c70937317caec064bed00a0a
refs/heads/master
2022-03-14T21:35:56.102665
2019-11-22T15:48:48
2019-11-22T15:48:48
null
0
0
null
null
null
null
UTF-8
Python
false
false
116,639
py
omim = {'omim': { 'version': '1.0', 'searchResponse': { 'search': '*', 'expandedSearch': '*:*', 'parsedSearch': '+*:* ()', 'searchSuggestion': None, 'searchSpelling': None, 'filter': '', 'expandedFilter': None, 'fields': '', 'searchReport': None, 'totalResults': 7368, 'startIndex': 3600, 'endIndex': 3619, ...
[ "jhostyk@gmail.com" ]
jhostyk@gmail.com
417abc4b221a811744744bb40cacbdebce913473
77ce93cca6427101f18a06baba5f2ff04f0f77fb
/isce_geocode_tools.py
df5bb16edf0972fb91141d3d3e2808c01271ebd9
[]
no_license
cherishing99/S1_batches
6cd4c511d4bc63d8c25a9beb1f773a23b2c15deb
e4238203cd0898a6ef960607bff2e44166db300a
refs/heads/master
2023-01-02T03:38:44.407786
2020-10-27T14:08:15
2020-10-27T14:08:15
null
0
0
null
null
null
null
UTF-8
Python
false
false
20,489
py
# June 2020 # A series of functions to geocode isce images and los.rdr.geo in various formats # Including the UAVSAR stacks # And the UAVSAR ground range igram format from the JPL website import numpy as np import matplotlib.pyplot as plt import sys, glob from subprocess import call import isce_read_write import jpl_...
[ "kathrynmaterna@gmail.com" ]
kathrynmaterna@gmail.com
94a882b3ad4cf2c8ce3f7d515284b7b95e0bbeda
06ba98f4e71e2e6e04e9e381987333a743511818
/history/migrations/0002_auto_20180803_0007.py
80603c86d738101b7f32f908e7b49fa21ff1e7da
[]
no_license
AnEvilHerbivore/Django-Music
e99c6f7936088a3baa42abeaea4b46361fb415cb
8f0b45d22053ca674f4dc8f963cb0da949469213
refs/heads/master
2022-12-10T10:08:35.831550
2018-08-03T19:12:42
2018-08-03T19:12:42
141,728,372
0
0
null
2021-06-10T20:43:27
2018-07-20T15:24:59
Python
UTF-8
Python
false
false
1,053
py
# Generated by Django 2.0.1 on 2018-08-03 00:07 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('history', '0001_initial'), ] operations = [ migrations.AlterField( model_name='artist', name='biggest_hit', ...
[ "joeshepmedia@gmail.com" ]
joeshepmedia@gmail.com
098396a34b3be24ef43d0b1428dcb079fb5c911a
c31ee8136a57a96649196081e1cfde0676c2a481
/larcv/app/tests/test_matrixmult.py
63a26af9a4138e0c87251de2c5104d965db970cd
[ "MIT" ]
permissive
DeepLearnPhysics/larcv2
b12b46168e5c6795c70461c9495e29b427cd88b5
31863c9b094a09db2a0286cfbb63ccd2f161e14d
refs/heads/develop
2023-06-11T03:15:51.679864
2023-05-30T17:51:19
2023-05-30T17:51:19
107,551,725
16
19
MIT
2023-04-10T10:15:13
2017-10-19T13:42:39
C++
UTF-8
Python
false
false
1,073
py
import os,sys import ROOT import numpy as np from larcv import larcv print larcv.Image2D # TESTS MATRIX MULTIPLICATION FEATURE a = np.random.rand(6,5) b = np.random.rand(5,8) aI = larcv.Image2D( a.shape[0], a.shape[1] ) bI = larcv.Image2D( b.shape[0], b.shape[1] ) arows = a.shape[0] acols = a.shape[1] brows = b.sha...
[ "kazuhiro@nevis.columbia.edu" ]
kazuhiro@nevis.columbia.edu
078153fca42249d9d1fb37d3cd7526a82fef59bc
fa2ab3d980aeff387edc556121b124fd68078789
/ConditionalPrograms/ShippingAccount.py
af9ed57cdbf6a844dd86373f191d63a1bd4db288
[ "MIT" ]
permissive
MiguelCF06/PythonProjects
6e0a3323d3a44a893ec0afafcba7ec3882e62aa3
dfa49203c3ed1081728c7f4e565f847629662d75
refs/heads/master
2022-10-17T23:22:04.357296
2020-06-10T18:03:38
2020-06-10T18:03:38
265,905,262
1
0
null
null
null
null
UTF-8
Python
false
false
1,571
py
print("Welcome to the Shipping Accounts Program\n") username = ["mikeL", "Omar293", "JJlk", "JoelW"] user = input("Hello, what is your username: ") if user not in username: print("Sorry, you do not have an account with us. Goodbye.") else: print("Hello {}. Welcome back to your account.".format(user)) print("Curre...
[ "miguel.cipamocha@gmail.com" ]
miguel.cipamocha@gmail.com
247f1bfd7c171ceabc5b83ac3633a773b93d0adf
163bbb4e0920dedd5941e3edfb2d8706ba75627d
/Code/CodeRecords/2895/60825/236016.py
944fe88513a26187ad8223f032dfba9d3196d51e
[]
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
127
py
a=input() a=a[1:len(a)-1] l=a.split(",") l= list(map(int, l)) i=l[0]+1 res=l[0] while i<=l[1]: res&=i i+=1 print(res)
[ "1069583789@qq.com" ]
1069583789@qq.com
a3739687fd238c1cd2484eca5cf46e5c9c27e987
de15d27440ceb922a8d12f8db5881ae1982592ec
/sampledb/models/migrations/publications_add_object_name.py
3b07967f3ffd3718788e6af1f4c7eb96f5ccb804
[ "MIT" ]
permissive
maltedeckers/sampledb
24f39f1adbe9bcc341309a4b6620768a8dc3857c
30ad29f8df01290d4ff84a9b347f15a10856ac22
refs/heads/master
2023-08-22T04:25:47.826698
2021-05-07T09:07:02
2021-05-07T09:07:02
null
0
0
null
null
null
null
UTF-8
Python
false
false
615
py
# coding: utf-8 """ Add object_name column to object_publications table. """ import os MIGRATION_INDEX = 27 MIGRATION_NAME, _ = os.path.splitext(os.path.basename(__file__)) def run(db): # Skip migration by condition column_names = db.session.execute(""" SELECT column_name FROM information_sc...
[ "f.rhiem@fz-juelich.de" ]
f.rhiem@fz-juelich.de
b34775b5a3efbd0dda72ca1c924c1daa49d5995a
ac23f0e5bb60c3201ea16d92369f8defa50f574a
/0x0B-python-input_output/4-append_write.py
6d1d834297f4e5478a9ff2f4ab4921ad9f4a8ea5
[]
no_license
Nukemenonai/holbertonschool-higher_level_programming
85ba3e61517ee48a2e73980c915e7033e8090f06
3c467bb8ab3fa38454709ed7eb9819e0eb445310
refs/heads/master
2020-09-29T00:21:47.583303
2020-08-30T22:40:59
2020-08-30T22:40:59
226,901,103
1
0
null
null
null
null
UTF-8
Python
false
false
326
py
#!/usr/bin/python3 def append_write(filename="", text=""): """ writes a string UTF8 to a text file returns the number of characters written filename: name of the file. text: the text to insert appends """ with open(filename, 'a') as f: n = f.write(text) f.close() ret...
[ "david.giovanni.ovalle@gmail.com" ]
david.giovanni.ovalle@gmail.com
24c072a5dea3b8bd6c343321376a8de0b7705640
a6ffe7990cb5690a20566f64e343441e79d4d11a
/leetcode/10. 正则表达式匹配.py
213fb81272bf7ae50cc592b1ef1bb296b8415fac
[]
no_license
ywcmaike/OJ_Implement_Python
26b907da4aece49d3833382f80665a6263cbf0ec
48e99509e675a6708a95a40912f0f0f022a08d73
refs/heads/master
2022-11-26T17:35:22.066443
2020-08-02T16:19:25
2020-08-02T16:19:25
72,869,628
1
0
null
null
null
null
UTF-8
Python
false
false
503
py
#!/usr/bin/env python #-*- coding:utf-8 -*- # author:maike # datetime:2020/7/22 下午6:44 import sys if __name__ == "__main__": # 读取第一行的n n = int(sys.stdin.readline().strip()) ans = 0 for i in range(n): # 读取每一行 line = sys.stdin.readline().strip() # 把每一行的数字分隔后转化成int列表 value...
[ "2755289083@qq.com" ]
2755289083@qq.com
441d888c4903420479c5f874867acad5a6233fe8
5cf3f04bdee5a17d7e4b7e14294047ce3d1dc40a
/guess_dice/middleware/ipAddress.py
b57a807ddfe48e91f76edc72a7e66852d8f71596
[]
no_license
gzgdouru/guess_dice_site
bc2e4b284d5c0399232247ecc7634341199b5ad7
03bfadef8412a8d1d7506c1bfb5e58aee68ba343
refs/heads/master
2020-04-06T12:45:09.757664
2018-12-29T14:15:41
2018-12-29T14:15:41
157,469,262
0
0
null
null
null
null
UTF-8
Python
false
false
466
py
from django.utils.deprecation import MiddlewareMixin from analysis.models import ClientIp class MarkVisitIpMiddleware(MiddlewareMixin): def process_request(self, request): try: realIp = request.META["HTTP_X_FORWARDED_FOR"] realIp = realIp.split(",")[0] except: ...
[ "18719091650@163.com" ]
18719091650@163.com
dce507a9fac3425ea1b7d89d66f0e791ede9a0c5
5706c57ca2ba3faf94c286ec0dc969636c030b2e
/statistics.py
ab2463ab07632e16af0351ee91a2e721488d3b6b
[]
no_license
youfeng243/crawler_statistics
5e92a8ef3e21a3d1762822bc051ab7b0a9154636
f33c1e574ad9af328745d1c8851f641dfa93fd94
refs/heads/master
2021-01-21T12:32:15.553018
2017-09-18T08:36:15
2017-09-18T08:36:15
102,083,440
0
1
null
2017-09-02T03:22:35
2017-09-01T06:58:41
Python
UTF-8
Python
false
false
11,057
py
# coding=utf-8 """ 统计各个站点的入库数量 """ import datetime import json import time import MySQLdb import click import pandas import pymongo from config import MONGO_CONFIG, CHECK_DATES, CHECK_TOPIC, MYSQL_CONFIG, TABLE_NAME_LIST, TOPIC_NAME_LIST, \ FILTER_TABLE_LIST from logger import Logger log = Logger("statistics.l...
[ "youfeng@haizhi.com" ]
youfeng@haizhi.com
7fe0b97d863104f488ad653d559526403da60608
f090c3e0faa70cf0ef7c4be99cb894630bce2842
/scripts/dataAnalysis/EnergyTransport/2013Aug04/individual_fits/function of heating time/fitter_script_dsplaced_2212_50_ion2.py
76cd7f8d1e7e158da7d9e4d47a24dc31d87797e8
[]
no_license
HaeffnerLab/resonator
157d1dc455209da9b7de077157bda53b4883c8b7
7c2e377fdc45f6c1ad205f8bbc2e6607eb3fdc71
refs/heads/master
2021-01-09T20:48:03.587634
2016-09-22T18:40:17
2016-09-22T18:40:17
6,715,345
2
1
null
null
null
null
UTF-8
Python
false
false
3,175
py
import lmfit import labrad from labrad import types as T from lamb_dicke import lamb_dicke from rabi_flop_fitter import rabi_flop_time_evolution import numpy as np from matplotlib import pyplot ''' script parameters ''' info = ('Carrier Flops', ('2013Sep04','2212_50')) ion_selection = 2 trap_frequency = T.Value(3.0, '...
[ "soenkeamoeller@gmail.com" ]
soenkeamoeller@gmail.com
0c5dad8fd3938d30a3086f85c582ec0892a2191f
3f46af2da32d9f02d1ebbdef6784ece1d64aace3
/Production/python/PrivateSamples/EMJ_2016_mMed-1600_mDark-20_ctau-225_unflavored-down_cff.py
108dad647638d680e89dd21aef1f1b6a9bff01af
[]
no_license
cms-svj/TreeMaker
53bf4b1e35d2e2a4fa99c13c2c8b60a207676b6d
0ded877bcac801a2a394ad90ed987a20caa72a4c
refs/heads/Run2_2017
2023-07-19T07:14:39.175712
2020-10-06T21:10:26
2020-10-06T21:10:26
305,753,513
0
0
null
2021-01-26T18:58:54
2020-10-20T15:32:19
null
UTF-8
Python
false
false
1,892
py
import FWCore.ParameterSet.Config as cms maxEvents = cms.untracked.PSet( input = cms.untracked.int32(-1) ) readFiles = cms.untracked.vstring() secFiles = cms.untracked.vstring() source = cms.Source ("PoolSource",fileNames = readFiles, secondaryFileNames = secFiles) readFiles.extend( [ 'gsiftp://hepcms-gridftp.u...
[ "enochnotsocool@gmail.com" ]
enochnotsocool@gmail.com
32d00cbdf934957158d5c286facfeab2e5d2170f
af632a0d727cd350a3c95360bb1bb8a411051da7
/mysite/reading/migrations/0005_auto__add_field_text_synopsis.py
92b689114d31eff115b9e7fc5a753e368632936b
[]
no_license
rybesh/mysite
f760fec83f1b552abd62010cff4ada4c6fda66b0
c091284d802ef719d7535d9c8790f4c6e458f905
refs/heads/master
2016-09-05T18:01:31.200290
2014-07-23T15:36:09
2014-07-23T15:36:09
1,242,540
0
0
null
null
null
null
UTF-8
Python
false
false
2,481
py
# encoding: utf-8 import datetime from south.db import db from south.v2 import SchemaMigration from django.db import models class Migration(SchemaMigration): def forwards(self, orm): # Adding field 'Text.synopsis' db.add_column('reading_text', 'synopsis', self.gf('django.db.models.fields....
[ "ryanshaw@unc.edu" ]
ryanshaw@unc.edu
fd5cb1e3cc6d7bf3bc992db71056e2364fb1b3ab
2f98aa7e5bfc2fc5ef25e4d5cfa1d7802e3a7fae
/python/python_6845.py
25671db34c9e0643e32318d55e46d052ec86f703
[]
no_license
AK-1121/code_extraction
cc812b6832b112e3ffcc2bb7eb4237fd85c88c01
5297a4a3aab3bb37efa24a89636935da04a1f8b6
refs/heads/master
2020-05-23T08:04:11.789141
2015-10-22T19:19:40
2015-10-22T19:19:40
null
0
0
null
null
null
null
UTF-8
Python
false
false
297
py
# Efficient way to format string "select %(tableName)s.somefield, count(*) from %(tableName)s WHERE %(tableName)s.TimeStamp &gt; %(fromDate)s and %(tableName)s.EndTimeStamp &lt; %(to_data)s group by %(tableName)s.ProviderUsername;" %{'tableName':tableName, 'fromDate':fromDate, 'to_data':to_data}
[ "ubuntu@ip-172-31-7-228.us-west-2.compute.internal" ]
ubuntu@ip-172-31-7-228.us-west-2.compute.internal
76cb32021bcffbb90f7204eb7683d786698f1d8a
cbedb18df0aaac810aeea87a2273edb15c1cf899
/from Stephen/google list/752. Open the Lock (pass, bfs).py
03123b3ab45fbe0c24776bf3c08be55ad02d55cd
[]
no_license
kanglicheng/CodeBreakersCode
71b833bb9f4c96d520c26f0044365dc62137a940
31f7f730227a0e10951e7468bad1b995cf2eafcb
refs/heads/master
2023-08-07T20:32:05.267695
2020-09-14T14:36:25
2020-09-14T14:36:25
265,978,034
0
0
null
2020-05-22T00:05:29
2020-05-22T00:05:29
null
UTF-8
Python
false
false
2,272
py
class Solution: def openLock(self, deadends: List[str], target: str) -> int: ''' shortest path -> BFS ''' def toString(cur): _str = "" for v in cur: _str += str(v) retur...
[ "56766457+Wei-LiHuang@users.noreply.github.com" ]
56766457+Wei-LiHuang@users.noreply.github.com
07aa0556223da2feccd58233234db58c8f18e439
35fff80627ad675bec1e429943cb2bbbaf141ca2
/notebooks/Papers/paper2/packages/lc/base.py
83a7f05be6d1e91398e9dfda3a61890825c177d8
[]
no_license
ishrat2003/IS-Goldsmiths
bac3473b7ffde7cebfb952cd78aba510c8d72c6f
afae9525ceb62cd09eb14149ee2b88798c5ceb90
refs/heads/master
2020-04-27T09:24:10.399620
2019-10-16T21:23:13
2019-10-16T21:23:13
174,212,961
0
0
null
null
null
null
UTF-8
Python
false
false
5,442
py
import re, sys, numpy from nltk import word_tokenize, pos_tag from nltk.stem.porter import PorterStemmer import utility from sklearn.cluster import KMeans import matplotlib as mpl import matplotlib.pyplot as plt from matplotlib.pylab import rcParams class Base(): def __init__(self, text, filterRate = 0): self.ra...
[ "ishrat@thebyte9.com" ]
ishrat@thebyte9.com
fb21402d6d4ce50e9817e6581d7ccee2fb038894
01d982d22d214265eeb7a00b2b8bdd8c869d9064
/tests/test_wave_energy.py
50c95237a276a5ff48fd56e293cfe45c07a90c64
[ "BSD-3-Clause", "LicenseRef-scancode-warranty-disclaimer" ]
permissive
hkotaro1215/invest
ad6874ea1a9ac73813292fb88c138d13279988b5
1ba08bd746977bfa8a4600ad8c821fc43598c421
refs/heads/master
2022-11-12T06:06:22.826122
2018-03-26T21:08:18
2018-03-26T21:08:18
142,378,565
0
1
NOASSERTION
2022-10-15T06:47:29
2018-07-26T02:36:20
Python
UTF-8
Python
false
false
26,222
py
"""Module for Testing the InVEST Wave Energy module.""" import unittest import tempfile import shutil import os import csv import natcap.invest.pygeoprocessing_0_3_3.testing from natcap.invest.pygeoprocessing_0_3_3.testing import scm from natcap.invest.pygeoprocessing_0_3_3.testing import sampledata import n...
[ "richpsharp@gmail.com" ]
richpsharp@gmail.com
9f7e0a4bea9a8a75e861d8d24be4d82b99bb4997
3052941bbde225a1ececbeb628c05c47bcd7c494
/ProgressiveNN_atari_2.py
4c4812de0830e998441a1ed816cfe2719899c5c4
[]
no_license
LKH-1/A3C-tensorflow
32cffb66f07b1903dd774e49aee43bd966b6abd8
807e545194534f12a3a1d5838343df5a248bd833
refs/heads/master
2021-06-03T03:12:10.595718
2016-10-11T02:00:01
2016-10-11T02:00:01
null
0
0
null
null
null
null
UTF-8
Python
false
false
27,299
py
#!/usr/bin/python # -*- coding: utf-8 -*- # author: yao62995@gmail.com import cv2 import re import gym import signal import threading import scipy.signal from tensorflow.python.ops.rnn_cell import BasicLSTMCell from common import * tf.app.flags.DEFINE_string("game", "Breakout-v0", "gym environment name") tf.app.fla...
[ "yao62995@gmail.com" ]
yao62995@gmail.com
39f48dfeed3f3313c308862c8550119fc3bc1641
fc43470de13ff8f03105efc2a3660a1ed6a1a553
/BAEKJOON/2504_괄호의값.py
4cb3ea2ff67361cd93e8308808eef08938034270
[]
no_license
youseop/Problem_solutions
5a05597f188b4ef8f7d8483b46bf05fbf2158d01
1fba638d9520bca4354bca01f194f80b159e26aa
refs/heads/master
2023-06-24T05:12:45.060086
2021-07-24T14:22:33
2021-07-24T14:22:33
298,317,735
1
0
null
null
null
null
UTF-8
Python
false
false
964
py
import sys read=sys.stdin.readline bracket = read().strip() stack = [] for i in bracket: if i =='(' or i =='[': stack.append(i) elif i == ']': sum = 0 while stack: tmp = stack.pop() if type(tmp) == type(1): sum+=tmp elif tmp == '[': ...
[ "66366941+youseop@users.noreply.github.com" ]
66366941+youseop@users.noreply.github.com
b11c66101b1e09ca12e76d8ce55d6ede96feff43
75f28905cc9d87d82be68a37a18beee8d6f21869
/user_messages/urls.py
732cdef2d4079ff7476434539d352d3c7f549367
[]
no_license
Pavlenkovv/Cafe-heroku
f189bbd817a8736b43531bc5d73895fa436a8040
e0e9b67247a3375e6f599b2dfcd77b1ccce9e5fb
refs/heads/main
2023-02-27T14:48:24.549261
2021-01-29T12:55:19
2021-01-29T12:55:19
329,387,838
2
0
null
null
null
null
UTF-8
Python
false
false
173
py
from django.urls import path from .views import * urlpatterns = [ path ('', home, name='messages_info'), path('update/<int:pk>/', update_messages, name='update') ]
[ "pavlenko.vyacheslav@gmail.com" ]
pavlenko.vyacheslav@gmail.com
6689f6b14bb0bd93a13ac8db5478c886fab76e6a
2372281d6e08dfc517c60d5a0cce678f15f904db
/experiments/output_perturbation/scikit-learn/examples/preprocessing/plot_discretization_strategies.py
9ef211a83ccf307e6861b3c49fdf16fd08a4849d
[ "BSD-3-Clause", "Apache-2.0" ]
permissive
amzn/differential-privacy-bayesian-optimization
b647b8281be0c2ea335104c9c92e717ce07ce63f
07fec631d00bf3381ca24f7d73757aef6dfda9d3
refs/heads/master
2023-03-13T04:10:22.753152
2022-10-03T19:26:44
2022-10-03T19:26:44
252,813,133
27
19
Apache-2.0
2022-10-03T19:26:45
2020-04-03T18:45:17
Python
UTF-8
Python
false
false
3,052
py
# -*- coding: utf-8 -*- """ ========================================================== Demonstrating the different strategies of KBinsDiscretizer ========================================================== This example presents the different strategies implemented in KBinsDiscretizer: - 'uniform': The discretization i...
[ "tdiethe@amazon.com" ]
tdiethe@amazon.com
980895b0e1bce4169f2bdcb8aa270a1ae9dd834c
24b2f3f5f49ed19cf7fd3dcd433d6b72806e08cf
/python/array/0054_Spiral_Matrix.py
72264e152eccf0198675fc6229fbbc7746b9e527
[]
no_license
lizzzcai/leetcode
97089e4ca8c3c53b5a4a50de899591be415bac37
551cd3b4616c16a6562eb7c577ce671b419f0616
refs/heads/master
2021-06-23T05:59:56.928042
2020-12-07T03:07:58
2020-12-07T03:07:58
162,840,861
1
0
null
null
null
null
UTF-8
Python
false
false
2,282
py
""" 18/09/2019 54. Spiral Matrix - Medium Tag: Array Given a matrix of m x n elements (m rows, n columns), return all elements of the matrix in spiral order. Example 1: Input: [ [ 1, 2, 3 ], [ 4, 5, 6 ], [ 7, 8, 9 ] ] Output: [1,2,3,6,9,8,7,4,5] Example 2: Input: [ [1, 2, 3, 4], [5, 6, 7, 8], [9,10,11,12] ...
[ "lilcolinn@gmail.com" ]
lilcolinn@gmail.com
e291db95fbe82bddb3fcaf8c6ce1776e9741bdfa
6bbcf512837bdcdfec3091b3337d54a8c455c7b9
/practice/Operators.py
af03cb45e6fa25e1e62edaac81ae702144e24ec8
[]
no_license
sachinlokesh05/Python-Core-Programs
a342ebdc7be070b66254e505df044fdaf03f147f
8eec5595b51203d559e1d6f0e40646e63ad3645a
refs/heads/master
2022-04-28T02:32:07.101993
2020-04-09T12:03:01
2020-04-09T12:03:01
249,491,090
0
0
null
null
null
null
UTF-8
Python
false
false
751
py
class Operators: a=None b=None c=None def __init__(self, a,b,c): self.__aa=a self.__bb=b self.__cc=c def operation(self): choice=int(input("enter choice of your: ")) if choice == 1: return (self.__aa + self.__bb * self.__cc) elif choic...
[ "sachin.beee.15@acharya.ac.in" ]
sachin.beee.15@acharya.ac.in
2332e49aafbb6a86f7089ed417df63d5469e95b3
c16ea32a4cddb6b63ad3bacce3c6db0259d2bacd
/google/ads/googleads/v5/googleads-py/google/ads/googleads/v5/services/services/invoice_service/transports/base.py
0fb63b0af23dd6693ac5a32d3f79a22b0b3379ff
[ "Apache-2.0" ]
permissive
dizcology/googleapis-gen
74a72b655fba2565233e5a289cfaea6dc7b91e1a
478f36572d7bcf1dc66038d0e76b9b3fa2abae63
refs/heads/master
2023-06-04T15:51:18.380826
2021-06-16T20:42:38
2021-06-16T20:42:38
null
0
0
null
null
null
null
UTF-8
Python
false
false
3,628
py
# -*- coding: utf-8 -*- # Copyright 2020 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or...
[ "bazel-bot-development[bot]@users.noreply.github.com" ]
bazel-bot-development[bot]@users.noreply.github.com
55096585b424ea3637fe9d43bddf009256acc018
8890925319a25dc3df29f53d0d8125d347680f68
/looker_client_31/looker_sdk/oidc_user_attribute_write.py
919915817144e74ca57abbc588f370b45226b734
[ "MIT" ]
permissive
ContrastingSounds/looker_sdk_31
f5d300ae54aee1cc5a2621b36b49541db24ed248
f973434049fff1b605b10086ab8b84f2f62e3489
refs/heads/master
2020-03-19T20:31:24.785373
2018-06-11T09:41:36
2018-06-11T09:41:36
136,802,021
0
0
null
null
null
null
UTF-8
Python
false
false
6,870
py
# coding: utf-8 """ Experimental Looker API 3.1 Preview This API 3.1 is in active development. Breaking changes are likely to occur to some API functions in future Looker releases until API 3.1 is officially launched and upgraded to beta status. If you have time and interest to experiment with new or modifie...
[ "looker@MacBook-Pro.local" ]
looker@MacBook-Pro.local
939acab1fd12f3f792ee8ed5327b4a92cbb34516
49c2e3ebf7f5d2f79af6e26c44b4d07ec14a20d5
/Hello World/venv/Lib/site-packages/pip/_vendor/progress/__init__.py
ffcb82afcfdd11034008e84488dfde21c6399cc7
[]
no_license
TaylorHoll/Python_Projects
a0d86642463bdc5b3ea67dae0146c115185c1db2
a8285b058ed0b4e0a366753d61526056dab23cd3
refs/heads/master
2020-06-13T09:04:29.666639
2020-01-07T03:40:25
2020-01-07T03:40:25
194,608,692
0
0
null
null
null
null
UTF-8
Python
false
false
4,859
py
# Copyright (c) 2012 Giorgos Verigakis <verigak@gmail.com> # # Permission to use, copy, modify, and distribute this software for any # purpose with or without fee is hereby granted, provided that the above # copyright notice and this permission notice appear in all copies. # # THE SOFTWARE IS PROVIDED "AS IS" AND THE A...
[ "taylorholloway1984@gmail.com" ]
taylorholloway1984@gmail.com
af4646c0c8d791591845ff4194705e2db2ffaf58
08dfaf714830a6310742dcd50848790d595e838e
/中级班/chapter03/code_06_rotateMatrix.py
77d7da7638bb7ab3952d12a1d9398029625a3035
[]
no_license
Tokyo113/leetcode_python
d9e0fb96a76efaadcec7aad08f5ef542d898d434
e86b3fb26aef1cf63727e3e5c9fd4ddc9bedb7f1
refs/heads/master
2020-08-10T15:36:10.364714
2020-04-13T08:28:53
2020-04-13T08:28:53
214,369,187
0
0
null
null
null
null
UTF-8
Python
false
false
1,144
py
#coding:utf-8 ''' @Time: 2020/2/13 16:58 @author: Tokyo @file: code_06_rotateMatrix.py @desc: 给定一个正方形矩阵,只用有限几个变量,实现矩阵中每个位置的数顺时针转动 90度,比如如下的矩阵 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 矩阵应该被调整为: 12 8 4 0 13 9 5 1 14 10 6 2 15 11 7 3 ''' def rotateMatrix(arr): n = len(arr) m = len(arr[0]) lr,lc = 0, 0 rr, ...
[ "21810179@zju.edu.cn" ]
21810179@zju.edu.cn
c0005faed0405a4c138d03792873eedbc657de80
062e43d41c6daa6943bfad8f4510d19e43840f96
/src/yaml/xml.py
b2e06652a02cedabe4dfa5a2964201b3e9a8934b
[]
no_license
allefant/land
b61d60106d8224e01a34d7504e1310b5fb0bd373
f78f0da9c57884be8819f022c6e6442f90d4434c
refs/heads/main
2023-06-22T06:15:09.938629
2023-06-20T20:08:13
2023-06-20T20:08:13
47,664,545
0
0
null
null
null
null
UTF-8
Python
false
false
6,850
py
import land.land import land.yaml import global ctype static enum XmlState: Outside ElementName Attributes AttributeName AttributeStart AttributeValue static class XmlParser: XmlState state bool closing LandBuffer *value LandYaml *yaml static def scalar(XmlParser *x): land...
[ "elias@users.sourceforge.net" ]
elias@users.sourceforge.net
f0d1317a953a4569a174b0fc00a48f7a62f38d1b
f9d564f1aa83eca45872dab7fbaa26dd48210d08
/huaweicloud-sdk-cbs/huaweicloudsdkcbs/v1/model/collect_key_words_request.py
f6637441f094ae9a0789038a9ec0137977bbd716
[ "Apache-2.0" ]
permissive
huaweicloud/huaweicloud-sdk-python-v3
cde6d849ce5b1de05ac5ebfd6153f27803837d84
f69344c1dadb79067746ddf9bfde4bddc18d5ecf
refs/heads/master
2023-09-01T19:29:43.013318
2023-08-31T08:28:59
2023-08-31T08:28:59
262,207,814
103
44
NOASSERTION
2023-06-22T14:50:48
2020-05-08T02:28:43
Python
UTF-8
Python
false
false
5,869
py
# coding: utf-8 import six from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization class CollectKeyWordsRequest: """ Attributes: openapi_types (dict): The key is attribute name and the value is attribute type. attribute_map (dict): The key is attri...
[ "hwcloudsdk@huawei.com" ]
hwcloudsdk@huawei.com
648b0989580d47d21becb42dd15835780632c9e9
7af9841dfdeb7192cee9f5bc5ae24ebabeeebdcc
/article/admin.py
a36223f706dc91c9321ddeaf13c4ce75ccbd793c
[]
no_license
dimansion/bepy
513d1d6b8c6f679ce97f46741b50b73dabf20484
dd92999b9fb0d65e9479372718409785a8d26d26
refs/heads/master
2020-06-28T11:27:02.204255
2016-11-14T11:26:32
2016-11-14T11:26:32
67,694,755
0
0
null
null
null
null
UTF-8
Python
false
false
404
py
from django.contrib import admin # Register your models here. from .models import Article class ArticleModelAdmin(admin.ModelAdmin): list_display = ["title", "updated", "timestamp"] list_display_links = ["updated"] list_editable = ["title"] list_filter = ["updated", "timestamp"] search_fields = ["title", "conte...
[ "dimansional@gmail.com" ]
dimansional@gmail.com
bc07ca5cbd963e7bdc3369aae466a3c181a9c7bb
50de54517ef5e157b43598e412c477fd66890a3e
/Assignment 04/Problem 12.py
324d03a9fc0e2eb71aefe5e681cb03cda366f9f8
[]
no_license
Shihabsarker93/BRACU-CSE111
f530be247bebaaee9cc5e85948dc070adae0c6ae
17c95c76f84abffe9d9bdcb5861fbacbc510b5a6
refs/heads/main
2023-08-13T15:33:57.331850
2021-10-07T10:56:09
2021-10-07T10:56:09
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,226
py
class ParcelKoro: def __init__(self, name=None, product_weight=None) -> None: self.name = name self.product_weight = product_weight if self.product_weight == None: self.product_weight = 0 def calculateFee(self, location=None): self.location = location if loc...
[ "mirzamahrabhossain@gmail.com" ]
mirzamahrabhossain@gmail.com
bdb495a4aaf1752cb932eda410fe95cca71f3510
b0d5e423f09181a322a0166b06bf7fe45a3befc0
/MetioTube/profiles/forms.py
b17499317bd2ae783e5fe56a9baa71d145f4935f
[ "MIT" ]
permissive
Sheko1/MetioTube
f5da4184bb1590565ba34cef2fff02b379ab3e56
c1c36d00ea46fc37cc7f3c0c9c0cae6e89b2113c
refs/heads/main
2023-07-04T12:54:57.500778
2021-08-14T19:41:56
2021-08-14T19:41:56
383,907,948
0
0
null
null
null
null
UTF-8
Python
false
false
375
py
from django import forms from MetioTube.profiles.models import Profile class ProfileForm(forms.ModelForm): def __init__(self, *args, **kwargs): super().__init__(*args, **kwargs) self.fields['profile_picture'].widget.attrs['accept'] = 'image/jpg, image/png, image/jpeg' class Meta: mod...
[ "martinkypar@gmail.com" ]
martinkypar@gmail.com
61087362a9a48013cc2326b5551e5baebf27170f
2f98aa7e5bfc2fc5ef25e4d5cfa1d7802e3a7fae
/python/python_27043.py
3aaaa48d0d67afac68945c2289c5a5b2445efbf4
[]
no_license
AK-1121/code_extraction
cc812b6832b112e3ffcc2bb7eb4237fd85c88c01
5297a4a3aab3bb37efa24a89636935da04a1f8b6
refs/heads/master
2020-05-23T08:04:11.789141
2015-10-22T19:19:40
2015-10-22T19:19:40
null
0
0
null
null
null
null
UTF-8
Python
false
false
101
py
# How to replace () and , from the fatched data of mysql database path,=cursor.fetchone() print path
[ "ubuntu@ip-172-31-7-228.us-west-2.compute.internal" ]
ubuntu@ip-172-31-7-228.us-west-2.compute.internal