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
218811171578585d9acec414683ae88e25e5ede6
a66460a46611483dfbdc94c7996893f427e60d97
/ansible/my_env/lib/python2.7/site-packages/ansible/utils/module_docs_fragments/azure_tags.py
ff8579fde490d0ca15e0b0c7577ca688d53f5209
[ "MIT" ]
permissive
otus-devops-2019-02/yyashkin_infra
06b57807dde26f94f501828c07503d6bf1d70816
0cd0c003884155ac922e3e301305ac202de7028c
refs/heads/master
2020-04-29T02:42:22.056724
2019-05-15T16:24:35
2019-05-15T16:24:35
175,780,718
0
0
MIT
2019-05-15T16:24:36
2019-03-15T08:37:35
HCL
UTF-8
Python
false
false
1,420
py
# Copyright (c) 2016 Matt Davis, <mdavis@ansible.com> # Chris Houseknecht, <house@redhat.com> # # This file is part of Ansible # # Ansible is free software: you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation, eit...
[ "theyashkins@gmail.com" ]
theyashkins@gmail.com
e6bb8d0ea125800830cc4c6c06f82f5d3bfcf228
5a319a47587653dab9472eab4055144bcfd25967
/src/opendr/perception/face_recognition/algorithm/backbone/model_mobilenet.py
2b552ba355b2561135316393c4e933e363248854
[ "Apache-2.0" ]
permissive
passalis/demos
612a7e07ba125d9815e110ff483132e162759dd7
d8aeb045ee1832418fa232bc1c73783d72d10cf7
refs/heads/main
2023-07-19T03:25:05.269333
2021-09-21T19:59:42
2021-09-21T19:59:42
397,585,032
1
0
Apache-2.0
2021-09-21T19:58:51
2021-08-18T12:02:00
Python
UTF-8
Python
false
false
6,419
py
from torch import nn def _make_divisible(v, divisor, min_value=None): """ This function is taken from the original tf repo. It ensures that all layers have a channel number that is divisible by 8 It can be seen here: https://github.com/tensorflow/models/blob/master/research/slim/nets/mobilenet/mob...
[ "passalis@csd.auth.gr" ]
passalis@csd.auth.gr
06c35de26a5846395b4534c99e2ccfe287ad949d
cec68acfc0187b7d92fb7d6e5107058e3f8269ea
/GUI/GUI.py
478f934901894f957075743f6d6cdfe1d7fa20ea
[]
no_license
vektorelpython/Python8
441575224100a687467c4934f7c741aa0c4bd087
d135fbf1444d56a0da38c42fd2e8feda48646f49
refs/heads/master
2022-01-18T12:17:40.387422
2019-09-07T13:47:55
2019-09-07T13:47:55
205,534,765
1
0
null
null
null
null
UTF-8
Python
false
false
577
py
import sys from PyQt5.QtWidgets import QApplication, QWidget from PyQt5.QtGui import QIcon class App(QWidget): def __init__(self): super().__init__() self.title = 'PyQt5 örnek window' self.left = 50 self.top = 50 self.width = 640 self.height = 480 self.initUI(...
[ "Kurs" ]
Kurs
3bfa4d51d40d0d78e7436d184f839ab558a13f1b
4bb0faf7b0a05b3d487ff386783adf742f26df86
/run.py
aa3f35368664d6bc7bb5e3e1fc0855b016a2a113
[]
no_license
AIXME/ins-scraping
f7ba1c5180489e4a497906d06b3bdcb57f05c14b
250761c436fc0fe033c7c1493f8e0aa2335c1409
refs/heads/master
2021-01-04T15:56:37.476985
2019-07-11T08:24:34
2019-07-11T08:24:34
null
0
0
null
null
null
null
UTF-8
Python
false
false
435
py
from core.info import InsInfo if __name__ == "__main__": username = input('输入你的ins账号:') password = input('输入你的password:') target = input('输入需要爬取的用户:') ins = InsInfo(username,password,nickname=target) ins.login().followers().combo().following().export_all().combo().post_images().save() ...
[ "bhg889@163.com" ]
bhg889@163.com
aca277c2fb030993e12a39e51af2e0754de6ca1d
5ba34cad2a933adfed6b5df5b1229e48038596d4
/fabfile.py
719cea8e51a7f90de04799ef68dbea18f7f5b9aa
[ "MIT" ]
permissive
Firmicety/fomalhaut-panel
bececa59cd42edd8793440a652d206b250591cb9
3e662db65a7ca654f75a19e38cb0931be21f92e9
refs/heads/master
2020-06-06T07:52:27.211654
2019-06-20T11:38:39
2019-06-20T11:38:39
192,683,216
0
0
MIT
2019-06-19T07:39:07
2019-06-19T07:39:07
null
UTF-8
Python
true
false
3,882
py
# -*- coding: utf-8 -*- # Created by restran on 2016/7/27 from __future__ import unicode_literals, absolute_import from fabric.api import * from datetime import datetime import os BASE_DIR = os.path.dirname(os.path.abspath(__file__)) # 登录用户和主机名: env.user = 'root' # env.password = 'password' # 如果有多个主机,fabric会自动依次部署 en...
[ "grestran@gmail.com" ]
grestran@gmail.com
1d71cdc28e7df4c73083aeda6d2500856049954c
1c17aaf0f96c2ba2e2eaf6b552017fb1393a5eaf
/week_1_5/05_3.py
b7fd80b0fad08bacb17e3d113e80b11a72308940
[]
no_license
ljwon0312/academy_python
b5372387ce317f487e7b498f5f875058661878d3
b87c3ba38616f3785a1ba587472a3407e113d57a
refs/heads/master
2020-06-17T03:33:29.989733
2019-07-10T07:53:31
2019-07-10T07:53:31
195,782,134
0
0
null
null
null
null
UTF-8
Python
false
false
1,705
py
codon_dict = {'TTT':'F', 'TTC':'F', 'TTA':'L', 'TTG':'L', 'TCT':'S', 'TCC':'S', 'TCA':'S', 'TCG':'S', 'TAT':'Y', 'TAC':'Y', 'TAA':'*', 'TAG':'*', 'TGT':'C', 'TGC':'C', 'TGA':'*', 'TGG':'W', 'CTT':'L', 'CTC':'L', 'CTA':'L', 'CTG':'L', 'CCT':'P', 'CCC':'P', 'CCA':'P', 'CCG':'P', 'CAT':'H', 'CAC':'H', 'CAA':'Q...
[ "jjww-0312@naver.com" ]
jjww-0312@naver.com
004d960888711abd2459097ce1f9fb8af8aa03cc
c15899ee195d5e4ee978f271767b899bcfe6ea60
/plugins/nzbhydra/resources/nzbhydraUI/freenas/forms.py
811acb34f1fa212e7ff1bb245b9e07eae08afc28
[]
no_license
josh4trunks/freenas-plugins
d39159aa8454ea6be02923cf276348124c84033c
ff7a4276fe4d6584700d271b10d350b23f3c03c5
refs/heads/master
2020-12-01T13:04:10.856791
2018-10-16T13:50:30
2018-10-16T13:50:30
26,624,312
34
13
null
2017-08-02T10:38:23
2014-11-14T05:46:58
Python
UTF-8
Python
false
false
888
py
from subprocess import Popen, PIPE import hashlib import json import pwd import urllib from django.utils.translation import ugettext_lazy as _ from dojango import forms from nzbhydraUI.freenas import models, utils class NZBHydraForm(forms.ModelForm): class Meta: model = models.NZBHydra exclude ...
[ "joshruehlig@gmail.com" ]
joshruehlig@gmail.com
e8e4f0a3e63dd64e48c24cae5de0e03b153797e9
52b5773617a1b972a905de4d692540d26ff74926
/.history/permutations_20200723155624.py
1a43bb06b64892a0a05e131276152208c87546a0
[]
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
330
py
def perm(arr): # sort the array if len(arr) == 0: return 0 else: arr.sort() perm = set(arr) maxValue = max(arr) if len(perm) == maxValue: return 1 elif len(perm) == 1: return 0 print(perm...
[ "mary.jereh@gmail.com" ]
mary.jereh@gmail.com
5ed1806e1cd1f81e5b98badd1e41c57ac7224ed8
6f0ceee714bccf2a89c34a06aabd3bcb781a2fa4
/contrib/tvmop/basic/__init__.py
fc0fa720009f2779778d0c249f9578111e8d5106
[ "Apache-2.0", "MIT", "Unlicense", "BSL-1.0", "NCSA", "BSD-3-Clause", "LicenseRef-scancode-generic-cla", "BSD-2-Clause", "OFL-1.0", "BSD-2-Clause-Views", "Zlib" ]
permissive
yajiedesign/mxnet
5a495fd06dd1730c17d2d27d7e46c8a770847f17
8e5a16cf673db5aceb48d2cf7a0fc1abd0ee5e51
refs/heads/master
2021-03-30T22:37:18.603396
2020-10-23T06:40:17
2020-10-23T06:40:17
43,763,550
214
59
Apache-2.0
2020-06-01T23:31:15
2015-10-06T16:36:40
C++
UTF-8
Python
false
false
822
py
# Licensed to the Apache Software Foundation (ASF) under one # or more contributor license agreements. See the NOTICE file # distributed with this work for additional information # regarding copyright ownership. The ASF licenses this file # to you under the Apache License, Version 2.0 (the # "License"); you may not u...
[ "szha@users.noreply.github.com" ]
szha@users.noreply.github.com
b1d37d62e22effe849327ad9efec359561e3190b
c413fce92172f3503fd4790b68ad6bbddbf4c919
/20170501/02_make_exception/02_mexception.py
b803391aede525e909f53d4899cb32a49b572b0d
[]
no_license
JohnHaan/cloudtechpython
9dbd80e71b7151e3ba1be416b798f086785a1f19
17b9b8224cdc29a4b51e592e86f8c9863309c5b1
refs/heads/master
2021-01-22T21:22:36.733331
2017-11-28T13:54:32
2017-11-28T13:54:32
85,414,710
0
1
null
2017-04-21T02:51:09
2017-03-18T16:15:17
Python
UTF-8
Python
false
false
299
py
class MyError(Exception): pass def say_nick(nickname): if nickname == 'dolbam': raise MyError() print(nickname) if __name__ == '__main__': for i in ['zeroxkim', 'dolbam']: try: say_nick(i) except MyError: print("wrong nickname")
[ "yongiman@gmail.com" ]
yongiman@gmail.com
4c4313dd1ac27c37e207f29bdec56e2ffde9a46a
a81c1492783e7cafcaf7da5f0402d2d283b7ce37
/google/ads/google_ads/v6/services/geographic_view_service_client_config.py
0bb6c499223798af61ddd383cefd941113c27d62
[ "Apache-2.0" ]
permissive
VincentFritzsche/google-ads-python
6650cf426b34392d1f58fb912cb3fc25b848e766
969eff5b6c3cec59d21191fa178cffb6270074c3
refs/heads/master
2023-03-19T17:23:26.959021
2021-03-18T18:18:38
2021-03-18T18:18:38
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,185
py
config = { "interfaces": { "google.ads.googleads.v6.services.GeographicViewService": { "retry_codes": { "retry_policy_1_codes": [ "UNAVAILABLE", "DEADLINE_EXCEEDED" ], "no_retry_codes": [] }, "retry_params": { "retry_policy_1_params": { ...
[ "noreply@github.com" ]
VincentFritzsche.noreply@github.com
873fa6fdc46a377613d15a63e3fa52a0075972ea
4e5141121d8b4015db233cbc71946ec3cfbe5fe6
/samples/basic/executor/models/cisco-ios-xr/Cisco-IOS-XR-snmp-test-trap-act/nc-execute-xr-snmp-test-trap-act-210-ydk.py
1eab0af3fe816529cbffcdfeb619368a0a50f197
[ "Apache-2.0" ]
permissive
itbj/ydk-py-samples
898c6c9bad9d6f8072892300d42633d82ec38368
c5834091da0ebedbb11af7bbf780f268aad7040b
refs/heads/master
2022-11-20T17:44:58.844428
2020-07-25T06:18:02
2020-07-25T06:18:02
282,382,442
1
0
null
2020-07-25T06:04:51
2020-07-25T06:04:50
null
UTF-8
Python
false
false
2,657
py
#!/usr/bin/env python # # Copyright 2016 Cisco Systems, Inc. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicab...
[ "saalvare@cisco.com" ]
saalvare@cisco.com
aad98f93d11fbf4c2a25a15a9d71445b4030e96d
163bbb4e0920dedd5941e3edfb2d8706ba75627d
/Code/CodeRecords/2882/60705/254962.py
1ccdafc2880c8dd65ea508aff7136b3cee8594b5
[]
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
95
py
line1 = int(input()) line2 = input() if line2=="3 2 1": print("YES") else: print(line2)
[ "1069583789@qq.com" ]
1069583789@qq.com
77f4f391c4a589f687c1673464cd42ba2b0ce694
4855a73f552c79f9123990a66b4fd29f829cd07d
/JZOffer/JZOffer14_2.py
c55d60a02a04ffcc0d79604611fbc389a45350b9
[]
no_license
EmlynQuan/Programming-Python
e2d47de71c4d5981b79bba3b4bf9ac9cf7115484
11bbc8aa58b5f16d7cfadd30c7eea241e6dd7bdd
refs/heads/master
2023-06-24T06:50:27.255834
2021-07-29T15:47:50
2021-07-29T15:47:50
362,500,150
0
0
null
null
null
null
UTF-8
Python
false
false
344
py
# coding=utf-8 def cuttingRope_dp(n): """ :type n: int :rtype: int """ if n <= 3: return n-1 dp = [0 for i in range(n+1)] dp[1] = 1 dp[2] = 1 dp[3] = 2 for i in range(3, n+1): for j in range(1, i/2+1): dp[i] = max(dp[i], j*max(dp[i-j], i-j)) retu...
[ "2569627904@qq.com" ]
2569627904@qq.com
ba9eb14de7b40eaeee426d39736d20fa3a6fb304
971e0efcc68b8f7cfb1040c38008426f7bcf9d2e
/tests/model_control/detailed/transf_Quantization/model_control_one_enabled_Quantization_MovingAverage_Seasonal_DayOfMonth_MLP.py
72d984f241059cea41ee8f1d543e8cd2d2152544
[ "BSD-3-Clause", "LicenseRef-scancode-unknown-license-reference" ]
permissive
antoinecarme/pyaf
a105d172c2e7544f8d580d75f28b751351dd83b6
b12db77cb3fa9292e774b2b33db8ce732647c35e
refs/heads/master
2023-09-01T09:30:59.967219
2023-07-28T20:15:53
2023-07-28T20:15:53
70,790,978
457
77
BSD-3-Clause
2023-03-08T21:45:40
2016-10-13T09:30:30
Python
UTF-8
Python
false
false
169
py
import tests.model_control.test_ozone_custom_models_enabled as testmod testmod.build_model( ['Quantization'] , ['MovingAverage'] , ['Seasonal_DayOfMonth'] , ['MLP'] );
[ "antoine.carme@laposte.net" ]
antoine.carme@laposte.net
bba9ea3018221f89eb8650ff3f46c4a24e7e06a1
4ede275efc8bc9f9ef121dc37215d2f0d8453e36
/14pl.py
c9485786e19ce057f3e6bd2acf6e59c83c2fbfd7
[]
no_license
shanthivimalanataraajan01/code
bfa8a441b0c360aebd02248ad4433cc21889c3d2
ea467ae1eefd68a5dceaa53aab7149d31bd5faf6
refs/heads/master
2020-04-15T05:01:03.625422
2019-05-17T09:35:45
2019-05-17T09:35:45
164,405,963
0
2
null
null
null
null
UTF-8
Python
false
false
189
py
n=int(input()) s=input() r=["a","e","i","o","u","A","E","I","O","U"] l=[] for i in range(len(s)): if s[i] not in r: l.append(s[i]) for i in reversed(l): print(i,end="")
[ "noreply@github.com" ]
shanthivimalanataraajan01.noreply@github.com
e885485fe7640445f3916e2dac76b67a331dde18
65c001b5f572a6b0ca09dd9821016d628b745009
/frappe-bench/env/lib/python2.7/site-packages/faker/providers/date_time/__init__.py
6b36346973a5f57a1572ed39f4a0aaa475a4859b
[ "MIT" ]
permissive
ibrahmm22/library-management
666dffebdef1333db122c2a4a99286e7c174c518
b88a2129a5a2e96ce1f945ec8ba99a0b63b8c506
refs/heads/master
2022-10-30T17:53:01.238240
2020-06-11T18:36:41
2020-06-11T18:36:41
271,620,992
0
1
MIT
2022-10-23T05:04:57
2020-06-11T18:36:21
CSS
UTF-8
Python
false
false
82,423
py
# coding=utf-8 from __future__ import unicode_literals import re from calendar import timegm from datetime import MAXYEAR, timedelta from dateutil import relativedelta from dateutil.tz import tzlocal, tzutc from faker.utils import is_string from faker.utils.datetime_safe import date, datetime, real_date, real_date...
[ "iabouelftouh@trudoc24x7.com" ]
iabouelftouh@trudoc24x7.com
20d292d62891bea770e215fc0d6057a5f8d0e71c
ca7aa979e7059467e158830b76673f5b77a0f5a3
/Python_codes/p03013/s862770643.py
7ccbf8573c48d9c4b4925c320990f7e34dc43586
[]
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
750
py
#import math #import itertools #import numpy as np #from collections import deque # sys.setrecursionlimit(10 ** 6) MOD = 10 ** 9 + 7 #INF = 10 ** 9 #PI = 3.14159265358979323846 INT = lambda: int(input()) INTM = lambda: map(int,input().split()) STRM = lambda: map(str,input().split()) STR = lambda: str(input()) LIST = l...
[ "66529651+Aastha2104@users.noreply.github.com" ]
66529651+Aastha2104@users.noreply.github.com
1ceccd56e6f916af518465d5e03cdc7d5860afd4
c26b3a7d446fbfd71ce11e04129358c17dd6239a
/tAPP/3/P4.py
e0a55f3cd27e899abf582eb63103c2b47d192dfc
[ "MIT" ]
permissive
ArvinZJC/UofG_PGT_PSD_Python
4c4c2430cb95309a37086503e7ee638a45d571ab
d90e9bb0b53b14c6b1d7e657c3c61e2792e0d9c4
refs/heads/main
2023-05-09T21:18:07.847277
2021-06-14T17:26:38
2021-06-14T17:26:38
329,307,728
0
0
null
null
null
null
UTF-8
Python
false
false
1,419
py
''' Description: Problem 4 (complete the code) Version: 1.0.1.20210117 Author: Arvin Zhao Date: 2021-01-16 00:19:34 Last Editors: Arvin Zhao LastEditTime: 2021-01-17 12:13:41 ''' from tkinter import Tk, Label, Entry, Button from tkinter.constants import END def convert_to_km(): miles = textbox1.get() message...
[ "tomzjc@qq.com" ]
tomzjc@qq.com
11384963eb0c43c775c81061bdd8d70f1ecc25fe
4ad14e547695daaf4637c0790c21245a99fb6114
/Fmfiles/Fmfiles/pipelines.py
be1185d41ce5ce649a20c8f991da0de3c39a83d3
[]
no_license
gxl2632537/pachong
b8e1c26ef0e13504dc084b8e12975823126dac41
1ec30451e83a66768b4616ed9d736af8ee53deba
refs/heads/master
2022-11-07T02:16:42.549654
2020-06-30T09:47:34
2020-06-30T09:47:34
272,400,120
1
0
null
null
null
null
UTF-8
Python
false
false
1,596
py
# -*- coding: utf-8 -*- # Define your item pipelines here # # Don't forget to add your pipeline to the ITEM_PIPELINES setting # See: https://docs.scrapy.org/en/latest/topics/item-pipeline.html import scrapy import os from scrapy.pipelines.files import FilesPipeline from Fmfiles.settings import FILES_STORE from scrapy....
[ "l" ]
l
dc78ca14f957482b684aac9c5650a6871a3f4025
c7329046b8c19cb55e41e2275993b32fbec7b7eb
/test/test_mirage/test_model/test_impl/test_singular_isothermal_sphere.py
300b755948572277d34cde53d13dde974e235466
[ "MIT" ]
permissive
JordanKoeller/Mirage
72af9b7e6e71f97574e67eff400eb20dfa0a340e
5ed8dcf8934495bd18e534e54784e053475eb49e
refs/heads/main
2023-08-09T06:57:40.111101
2023-08-05T21:21:08
2023-08-05T21:21:08
147,987,257
0
1
null
null
null
null
UTF-8
Python
false
false
897
py
from unittest import TestCase from astropy import units as u from mirage.model.impl import SingularIsothermalSphereLens from mirage.model import Quasar from mirage.util import Vec2D, PolarVec class TestPointLens(TestCase): def get_lens(self): return SingularIsothermalSphereLens( quasar=Quasar(1.2, ma...
[ "jkoeller12@gmail.com" ]
jkoeller12@gmail.com
b57ac9bebc820d96dd6b1125d35da94fdce9ece2
c59738ddfb08134af01d75255c4469071a1e135e
/001_Python_from_introduction_to_practice/001_plot_折线图_条形图(柱状图)_直方图_中文显示/006_直方图_统计不同电影时长电影数量分布.py
7ebbb5c7f69fd15b0a432168e857db18a8547595
[]
no_license
FelixZFB/Python_data_analysis
371a8460da79e8fdb30b10c02b662419b62a5998
62f018d88d8454afe65980efd8d771ac8691956a
refs/heads/master
2020-05-20T14:46:00.606684
2020-02-04T14:25:20
2020-02-04T14:25:20
185,629,174
0
0
null
null
null
null
UTF-8
Python
false
false
2,871
py
# -*- coding: utf-8 -*- # 导入包 import matplotlib.pyplot as plt import numpy as np # 显示中文和显示负号 plt.rcParams['font.sans-serif'] = ['SimHei'] plt.rcParams['axes.unicode_minus'] = False # 豆瓣TOP250电影时长分布,统计电影时长分布直方图 # 横坐标是电影时长,纵坐标统计出每个时长段的电影数量 a=[131, 98, 125, 131, 124, 139, 131, 117, 128, 108, 135, 138, 131, 102, 107, ...
[ "18200116656@qq.com" ]
18200116656@qq.com
65d5a881a175b2753d0e88f4d19f3cd42c2452b9
4148260054c2cf4605dacb8bdef3605c82eca470
/temboo/Library/SendGrid/NewsletterAPI/ListsEmail/AddEmailToList.py
5d18334ef39a88208f7a4b7f40dc69496a4969ba
[]
no_license
wimsy/actuarize-web
0f23d5f00afe3d36d430621cdb497d2e64998416
5f43af3019da6fb08cafeec9ff0a89df5196b864
refs/heads/master
2021-03-12T19:38:21.887681
2012-12-19T01:13:50
2012-12-19T01:13:50
null
0
0
null
null
null
null
UTF-8
Python
false
false
3,649
py
# -*- coding: utf-8 -*- ############################################################################### # # AddEmailToList # Add an email to an existing Recipient List. # # Python version 2.6 # ############################################################################### from temboo.core.choreography import Choreog...
[ "mike.wimsatt@gmail.com" ]
mike.wimsatt@gmail.com
076599354848efd0d14fdc3c76a3c7360e7ed706
70b339d0b2638a7914d0d56c5edf8a2637c9f4b0
/thousandSeparator.py
999ebd880f493406a097ca8fd4036f33990e4133
[]
no_license
pflun/advancedAlgorithms
9991da7514024e18ba08de8688966b9220e12571
5520dbcd26999b98e1229bf03c2f62dd690a2ddc
refs/heads/master
2023-02-19T12:05:26.902535
2023-02-14T06:08:54
2023-02-14T06:08:54
189,055,701
4
0
null
null
null
null
UTF-8
Python
false
false
469
py
class Solution(object): def thousandSeparator(self, n): """ :type n: int :rtype: str """ res = [] while n / 1000 > 0: remain = str(n % 1000) if len(remain) == 1: remain = '00' + remain elif len(remain) == 2: ...
[ "tango7down@icloud.com" ]
tango7down@icloud.com
4964d2f9abf377ed066bd2037665447f341785e3
8d54e547467ee9f91311dab51b6dd104e814f7d5
/text_txt_lmfit.py
dbab90c88c6528b1b9d01fa2e077bdbb7052b923
[]
no_license
alictg81/pyspeckit-tests
9dca6e41b8b783ef72d05f7135652efe6eddef1e
62153cb2dbff2cffda1a9c8f626ac4e1549f8532
refs/heads/master
2021-01-22T06:49:11.600689
2015-04-07T16:22:17
2015-04-07T16:22:17
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,784
py
from pyspeckit import spectrum if not 'interactive' in globals(): interactive=False if not 'savedir' in globals(): savedir = '' sp = spectrum.Spectrum('simple_txt.txt') print "Does it have an axis? ",sp.plotter.axis sp.plotter() print "How about now? ",sp.plotter.axis print "FITTING GAUSSIAN" sp.specfit(q...
[ "keflavich@gmail.com" ]
keflavich@gmail.com
225d064d759e8103f09dc0d0d525433e922a6c19
f8ece22d9e9e12e2cbca56d72a6b2728ba9a275a
/setup.py
28b7dbcd103df90c11e4c7e2ecd33447d0f296a8
[ "MIT" ]
permissive
pparan/polyaxon
8c8912f9ba724e007357efcaefeab86fec2d5630
423199721e90431209b00c0f76caa6b4f9aa4b24
refs/heads/master
2021-04-15T07:15:19.701268
2018-03-21T11:59:12
2018-03-21T11:59:12
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,047
py
#!/usr/bin/env python import sys from setuptools import find_packages, setup from setuptools.command.test import test as TestCommand class PyTest(TestCommand): def finalize_options(self): TestCommand.finalize_options(self) self.test_args = [] self.test_suite = True def run_tests(sel...
[ "mouradmourafiq@gmail.com" ]
mouradmourafiq@gmail.com
caf878602d26dd8f569da3d2ddf5ec00fd85e19f
3c59fe3748fe0461d1327b9b751d8dc7c9405367
/teus_back/users/migrations/0014_auto_20210505_0038.py
47010d11a0dca65fd47a52b7741afa4401f6e016
[]
no_license
RympeR/teus-django-vue
8c69b5aaf38af091597065ab1306e33283846d16
b6be2bace144a0f3102339295eae05579657205e
refs/heads/main
2023-05-13T16:30:29.425392
2021-06-03T07:13:34
2021-06-03T07:13:34
342,588,668
0
0
null
null
null
null
UTF-8
Python
false
false
465
py
# Generated by Django 3.1.7 on 2021-05-04 21:38 import datetime from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('users', '0013_auto_20210430_0435'), ] operations = [ migrations.AlterField( model_name='phone', name...
[ "georg.rashkov@gmail.com" ]
georg.rashkov@gmail.com
931b73a7d655f1fb2521e8aeced917c19b27cb99
13eb4610eb9316c246768c7dffe94e24eb5ce3ed
/docs/conf.py
b320008b6bfca53accb03b2174ac8109ac31137d
[ "Apache-2.0" ]
permissive
webclinic017/pyEX-zipline
e5141b70424b0c04f7ad59a34ab9bcd26b817ec5
3d0636af2686861cd08054447bcc60190d48aedd
refs/heads/master
2022-07-22T08:38:08.060746
2020-05-19T19:32:16
2020-05-19T19:32:16
null
0
0
null
null
null
null
UTF-8
Python
false
false
7,420
py
#!/usr/bin/env python3 # -*- coding: utf-8 -*- # # pyEX.zipline documentation build configuration file, created by # sphinx-quickstart on Fri Jan 12 22:07:11 2018. # # This file is execfile()d with the current directory set to its # containing dir. # # Note that not all possible configuration values are present in this...
[ "t.paine154@gmail.com" ]
t.paine154@gmail.com
c1918f6020987d4268163b9fcd8cd562a0d239d6
cb30200e8af3a27f3d4faf7e0ca31bdb96f2f85a
/neutron/db/uos_db.py
97a8667d885eac45f0cd4a4a096228b44fc247b2
[ "Apache-2.0" ]
permissive
CingHu/neutron-ustack
ee7bf5a373dfc400c1ed86dedc7414c27185de4d
a1da17d0d63b3342a48c35da37984d6386ee1016
refs/heads/master
2016-08-13T02:02:48.179378
2015-11-27T02:46:46
2015-11-27T02:46:46
46,955,615
0
0
null
null
null
null
UTF-8
Python
false
false
2,291
py
# vim: tabstop=4 shiftwidth=4 softtabstop=4 # Copyright 2014 UnitedStack Inc. # All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); you may # not use this file except in compliance with the License. You may obtain # a copy of the License at # # http://www.apache.or...
[ "xining@unitedstack.com" ]
xining@unitedstack.com
aa12b468ee49bf3c91454e59e480bd4297a3b27e
7b8d9cfc3c1881e00ead43b4f080e5b885b39f98
/skipper/aws/host.py
12931001399ecb522836720c8264bbdf87dae7f1
[ "BSD-2-Clause" ]
permissive
cameronmaske/skipper
ddfcc7ab4c5a672837aa7ac9de3824ae3d608f6c
965a36f3ce985acba8b15dc4b086f4478c7b6358
refs/heads/master
2023-08-17T16:46:52.105912
2014-09-22T19:49:42
2014-09-22T19:49:42
18,116,398
1
0
BSD-2-Clause
2021-03-25T21:27:21
2014-03-25T20:59:44
Python
UTF-8
Python
false
false
14,364
py
from skipper.hosts import BaseHost from skipper.instances import InstanceNotFound from skipper.logger import log from skipper.ssh import ssh_tunnel from skipper.fleet import Fleet from skipper.ports import parse_ports_list from skipper.exceptions import NoSuchService from ec2 import EC2, authorize_group, revoke_group ...
[ "cameronmaske@gmail.com" ]
cameronmaske@gmail.com
2eb41a9f7840f3f1afa3331c5e071c1d40c62578
d3c21f0051e5ca2f45d98381b0372b4cd916b213
/cgi-bin/module/plugins/hoster/RarefileNet.py
8339d40eb79d560f8e907c754e90918bee1bd306
[]
no_license
f3l/shareacc
ca165272f4265180d9178b6a066c69a0b368f8dd
615c71216317f7ac46b5217f5672cad0c71a1e49
refs/heads/master
2020-04-06T06:41:11.278718
2013-02-05T15:15:15
2013-02-05T15:15:15
4,640,503
0
1
null
null
null
null
UTF-8
Python
false
false
1,095
py
# -*- coding: utf-8 -*- import re from module.plugins.hoster.XFileSharingPro import XFileSharingPro, create_getInfo from module.utils import html_unescape class RarefileNet(XFileSharingPro): __name__ = "RarefileNet" __type__ = "hoster" __pattern__ = r"http://(?:\w*\.)*rarefile.net/\w{12}" __version__ =...
[ "root@server3.kruton.de" ]
root@server3.kruton.de
fccd595463832be925deef76bf019e3c94723841
fbbe424559f64e9a94116a07eaaa555a01b0a7bb
/Keras_tensorflow/source/tensorflow/python/ops/gen_array_ops.py
fa9bd628a4e28dffc4e2154ad4f8dfb562d935cc
[ "MIT" ]
permissive
ryfeus/lambda-packs
6544adb4dec19b8e71d75c24d8ed789b785b0369
cabf6e4f1970dc14302f87414f170de19944bac2
refs/heads/master
2022-12-07T16:18:52.475504
2022-11-29T13:35:35
2022-11-29T13:35:35
71,386,735
1,283
263
MIT
2022-11-26T05:02:14
2016-10-19T18:22:39
Python
UTF-8
Python
false
false
178,854
py
"""Python wrappers around Brain. This file is MACHINE GENERATED! Do not edit. """ import collections as _collections from google.protobuf import text_format as _text_format from tensorflow.core.framework import op_def_pb2 as _op_def_pb2 # Needed to trigger the call to _set_call_cpp_shape_fn. from tensorflow.python...
[ "ryfeus@gmail.com" ]
ryfeus@gmail.com
a9749c69fb2f2bd8734986e55dce50c7af2f6123
f09dc121f213f2881df3572288b7ee5b39246d73
/aliyun-python-sdk-outboundbot/aliyunsdkoutboundbot/request/v20191226/ListDialogueFlowsRequest.py
5d55b4950f49b839ff202310f382ed0eb02fd0c3
[ "Apache-2.0" ]
permissive
hetw/aliyun-openapi-python-sdk
2f31378ad6be0896fb8090423f607e9c7d3ae774
7443eacee9fbbaa93c7975c6dbec92d3c364c577
refs/heads/master
2023-01-19T22:42:36.214770
2020-12-04T10:55:14
2020-12-04T10:55:14
318,689,093
1
0
NOASSERTION
2020-12-05T03:03:03
2020-12-05T03:03:03
null
UTF-8
Python
false
false
1,628
py
# Licensed to the Apache Software Foundation (ASF) under one # or more contributor license agreements. See the NOTICE file # distributed with this work for additional information # regarding copyright ownership. The ASF licenses this file # to you under the Apache License, Version 2.0 (the # "License"); you may not u...
[ "sdk-team@alibabacloud.com" ]
sdk-team@alibabacloud.com
284d78f1fcbbd919d674c1a864e74677d41bcf25
8a8438419c211d1c3f3333d9215d501ee5aa745a
/annotation/annot_express.py
58959152c5c2b2d83da9965f1eaa45af7241adbb
[ "LicenseRef-scancode-warranty-disclaimer" ]
no_license
WhiteLab/RNAseq
fb6478f0c8df3ee816d13b7e8998e4440a0ce7a3
ea34f2d0b886076007fa382a87d37cd41e8417bb
refs/heads/master
2021-01-25T15:56:56.386057
2018-04-19T17:03:40
2018-04-19T17:03:40
33,335,010
1
2
null
null
null
null
UTF-8
Python
false
false
1,728
py
#!/usr/bin/env python3 import sys def make_index(index_ref): ind = {} index = open(index_ref, 'r') next(index) for line in index: ann = line.rstrip('\n').split('\t') ind[ann[0]] = {} ind[ann[0]]['name'] = ann[1] ind[ann[0]]['type'] = ann[2] index.close() return...
[ "miguel.a.brown@gmail.com" ]
miguel.a.brown@gmail.com
c70cf1d502370239756e3024f3a99e04f5a385ee
b5cba88ce8c86740c8c3453134610fd5bafbb8c4
/Leetcode/1295. Find Numbers with Even Number of Digits/solution.py
49f4d0d266abbbea8614c1133f3ae970bf4a6cf3
[]
no_license
EduardoSantos7/Algorithms4fun
55fcf9d515ea3b70b93298ac96a58d2ae68dee11
6ff182ed596b6322322b087f29e6ad98baec3f97
refs/heads/master
2023-07-23T01:38:08.216313
2023-07-23T01:35:58
2023-07-23T01:35:58
227,448,848
1
1
null
null
null
null
UTF-8
Python
false
false
465
py
class Solution: def findNumbers(self, nums: List[int]) -> int: result = 0 seen = {} for num in nums: if num in seen: if not seen[num] % 2: result += 1 continue count = 0 while num > 0: num...
[ "eduardoluissd@gmail.com" ]
eduardoluissd@gmail.com
b32a32aa16e78d200314b7da8479cb85659f5783
d74913eda69ee1799c887a645c574fa5a4da8fba
/code/download/download_soils.py
225e8cea96a34dccc9d990085c4111021268eeee
[ "Apache-2.0" ]
permissive
Fweek/pyMETRIC
efd6fe8c6ea74f5c87d19ecbb6653549fb3ba943
0e7eec57fedd33b81e6e7efe58290f50ebbebfab
refs/heads/master
2021-05-03T10:23:15.066106
2018-02-06T19:32:36
2018-02-06T19:32:36
120,534,046
1
0
null
2018-02-06T23:00:49
2018-02-06T23:00:48
null
UTF-8
Python
false
false
2,953
py
#-------------------------------- # Name: download_soils.py # Purpose: Download soil AWC raster # Python: 2.7, 3.5, 3.6 #-------------------------------- import argparse import datetime as dt import logging import os import sys import zipfile from python_common import url_download def main(output...
[ "dgketchum@gmail.com" ]
dgketchum@gmail.com
9bb59c34c03b8d36943b1d47bfe4981e476e6a7a
dc19e59cac871b172eb357499159b92fca81e5ca
/docs/toHTML.py
2fa74dd72b05a9428d6b26b2a2bd5657a4b5a5b1
[ "MIT" ]
permissive
numython-rd/moro
ed3fe76b35ce190244503c40a445fbbd42143278
8d6e15ba21a0de7ec354ccbc23c38123a570904a
refs/heads/master
2023-03-26T18:48:07.588409
2021-03-18T01:50:14
2021-03-18T01:50:14
300,115,200
0
0
null
null
null
null
UTF-8
Python
false
false
166
py
# -*- coding: utf-8 -*- import os source = "source" build = "." instr = "sphinx-build -b html "+source+" "+build os.system(instr) os.startfile(build+r"\index.html")
[ "delossantosmfq@gmail.com" ]
delossantosmfq@gmail.com
9b69bc22bdfcfa2d1afe985f945375682c176ad1
57fab09b925d5ad305c7d3768c06e82e0b867d47
/bag/reorder_po.py
e821d44e2e5d57009c4748129ada5ee0dee22408
[ "MIT" ]
permissive
nandoflorestan/bag
f6b042341cdf96812ae34320879a6b67fb6884c9
63f6fbd3e768bf55d79ac96964aa3bf7702f3f9a
refs/heads/master
2023-08-04T23:43:27.961604
2023-07-31T15:12:44
2023-07-31T15:12:44
9,621,828
24
6
null
2015-07-17T05:10:23
2013-04-23T11:46:23
Python
UTF-8
Python
false
false
1,266
py
"""Reorder the translations inside a .po file. This script was written because transifex is messy and when you pull translations from transifex, the order of the strings completely changes and when you do a ``git diff`` you cannot make sense of the alterations. It is even hard to see whether any translations have been...
[ "nandoflorestan@gmail.com" ]
nandoflorestan@gmail.com
7aa043d24cb175a85f93b7c12cd0cba2de709b61
5da2c116d3d0dc4f3811cec144c9f8b5a74afede
/lncrawl/sources/fanfiction.py
c29ccaba499a13167460d62aad29c76ad932190c
[ "Apache-2.0" ]
permissive
NNTin/lightnovel-crawler
a08bd252f2e72f41f931f0b2165f906b64d33692
451e816ab03c8466be90f6f0b3eaa52d799140ce
refs/heads/master
2021-06-23T12:07:43.668329
2021-04-25T01:51:26
2021-04-25T01:51:26
361,695,538
2
0
Apache-2.0
2021-04-26T16:48:21
2021-04-26T09:40:46
null
UTF-8
Python
false
false
3,425
py
# -*- coding: utf-8 -*- import json import logging import re from urllib.parse import urlparse from ..utils.crawler import Crawler logger = logging.getLogger(__name__) chapter_url = 'https://www.fanfiction.net/s/%s/%s' search_url = 'https://www.fanfiction.net/search/?keywords=%s&type=story&match=title&ready=1&category...
[ "dipu.sudipta@gmail.com" ]
dipu.sudipta@gmail.com
02f21d9e9666ff708866722614bcd616ca5d00fc
9ecb6a1d3a71e7f87f3784af6b808f23a2abe348
/spinningup/spinup/algos/td3/core.py
b9e2b6ad2e3dcfd388dc765ca58d71b8d7a6a6b4
[ "MIT" ]
permissive
HumanCompatibleAI/interactive-behaviour-design
13ae305b39d29595e8fd5907f8d9e9fa6c2efc16
226db7a55d64ce15edfb8d7b3352c7bf7b81b533
refs/heads/master
2020-05-02T16:54:02.232639
2019-08-08T14:29:11
2019-08-08T14:29:11
178,082,205
0
1
null
null
null
null
UTF-8
Python
false
false
1,565
py
import numpy as np import tensorflow as tf def placeholder(dim=None): return tf.placeholder(dtype=tf.float32, shape=(None,dim) if dim else (None,)) def placeholders(*args): return [placeholder(dim) for dim in args] def mlp(x, hidden_sizes=(32,), activation=tf.tanh, output_activation=None): for h in hidd...
[ "matthew.rahtz@gmail.com" ]
matthew.rahtz@gmail.com
f29c1c8d352d400edd2c54e09c41c0ff74480335
2761a7b1b89c3bc250d5848c0fb2bde23a46989c
/costom_tfp_model_/bayesian/train.py
732910532341d2d516189d906694cc89e4632fb7
[]
no_license
mahdisharifloo/tensorflow_lite_projects
9daa051297395903f788ed2841c7b7d3406c284e
0f178b484ed667581e5edc882339c4699a5d0378
refs/heads/master
2022-11-29T05:34:29.525744
2020-08-12T20:26:40
2020-08-12T20:26:40
284,647,945
3
0
null
null
null
null
UTF-8
Python
false
false
3,877
py
# -*- coding: utf-8 -*- import pandas as pd import numpy as np import itertools import tensorflow_probability as tfp import tensorflow as tf import tensorflow.keras as keras from sklearn import metrics from sklearn.metrics import confusion_matrix from tensorflow.keras.preprocessing.image import ImageDataGenerator, im...
[ "0059sharifloo@gmail.com" ]
0059sharifloo@gmail.com
98b6a0fc1ecd8d42cca81d839946e53a7f267439
8668830f34ce260565217ea3b49e090778780b44
/coupon/admin.py
e13087784a9298c5d7e7cbf896f700f48fef0e77
[]
no_license
wcirillo/ten
72baf94da958b2ee6f34940c1fc3116660436762
a780ccdc3350d4b5c7990c65d1af8d71060c62cc
refs/heads/master
2016-09-06T13:39:03.966370
2015-07-02T12:37:36
2015-07-02T12:37:36
15,700,975
0
0
null
null
null
null
UTF-8
Python
false
false
16,009
py
""" Admin config for coupon app. """ #pylint: disable=W0612,W0613,R0201 from django import forms from django.contrib import admin from django.db import connection from advertiser.models import Location from common.custom_cleaning import AdminFormClean from coupon.models import (Action, Coupon, CouponCode, CouponType, ...
[ "williamcirillo@gmail.com" ]
williamcirillo@gmail.com
f7060334136865396f4d86572f5cd846a5112c05
6a33cb94d4af1d8a7329ddc6c9d42f870c35bb2f
/python/euler29.py
d9b80faeb8ae6bc4abadea9e824c11439db0308a
[]
no_license
vochong/project-euler
836321cc8e7d2e7cdf22b3b136d44dcba74a8701
6a0c7103861ff825bf84800b6e2e62819a41e36d
refs/heads/master
2020-04-29T10:41:48.487159
2018-09-19T00:13:34
2018-09-19T00:13:34
null
0
0
null
null
null
null
UTF-8
Python
false
false
665
py
def euler29(): """ Consider all integer combinations of ab for 2 <= a <= 5 and 2 <= b <= 5: 22=4, 23=8, 24=16, 25=32 32=9, 33=27, 34=81, 35=243 42=16, 43=64, 44=256, 45=1024 52=25, 53=125, 54=625, 55=3125 If they are then placed in numerical order, with any repeats removed, we get the following sequence of 1...
[ "kueltz.anton@gmail.com" ]
kueltz.anton@gmail.com
21ac3eeda637128a5f315d8c4bcc6ebe54e963fd
b06b6ac432961322f5a55a4cf8ad9bba27622042
/pages/migrations/0002_auto__add_field_page_header_image.py
6e136301447e3fe351716caa165da6d8bfacd5d2
[ "BSD-2-Clause" ]
permissive
jpic/pescator
97a4e2ba62485d3fa537c060876b7fd04d3286e4
0d3140ac4c8b07940c2f4753c6f8cb5ac95d8292
refs/heads/master
2021-01-01T15:45:16.610383
2013-11-29T19:03:20
2013-11-29T19:03:20
null
0
0
null
null
null
null
UTF-8
Python
false
false
3,847
py
# -*- coding: 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 'Page.header_image' db.add_column(u'pages_page', 'header_image', self.g...
[ "jamespic@gmail.com" ]
jamespic@gmail.com
aca6dc26331eb079509dee9b0cf54cd9b1ad2064
711756b796d68035dc6a39060515200d1d37a274
/output_cog/optimized_30302.py
a906fda52cb8473eaa1157dbc383627b70b68076
[]
no_license
batxes/exocyst_scripts
8b109c279c93dd68c1d55ed64ad3cca93e3c95ca
a6c487d5053b9b67db22c59865e4ef2417e53030
refs/heads/master
2020-06-16T20:16:24.840725
2016-11-30T16:23:16
2016-11-30T16:23:16
75,075,164
0
0
null
null
null
null
UTF-8
Python
false
false
10,837
py
import _surface import chimera try: import chimera.runCommand except: pass from VolumePath import markerset as ms try: from VolumePath import Marker_Set, Link new_marker_set=Marker_Set except: from VolumePath import volume_path_dialog d= volume_path_dialog(True) new_marker_set= d.new_marker_set marker_set...
[ "batxes@gmail.com" ]
batxes@gmail.com
98d31e2bc1edb6dbcb1566b0a6c71cd60d65e3f1
922227eabe29f0a6779bd28ae037a46acbe06d6a
/apps/fsq/views.py
d44303731e3604fb369584f6849601bcbcb8116d
[]
no_license
rootart/geojam
2acf6f0289c372e482998732faa31bee222b065a
1ac99f5428ddae5c5e7f10c685075cf8a52843c8
refs/heads/master
2020-05-18T07:44:06.126567
2011-08-19T19:49:16
2011-08-19T19:49:16
2,235,935
0
0
null
null
null
null
UTF-8
Python
false
false
3,223
py
from django.http import ( HttpResponseRedirect, HttpResponse, HttpResponseForbidden ) from django.conf import settings from django.contrib.auth import login, authenticate, logout from django.core.urlresolvers import reverse from django.contrib.gis.geos import * import oauth2 as oauth import urllib try...
[ "dijakroot@gmail.com" ]
dijakroot@gmail.com
8b5625755b9e41df88d4a4fa0ad12b81868a1b34
35a6f993b84afdd2c0ade094e0312b3aaa53294f
/src/tag_server/mit-cf/tag/views.py
c82f2d03e392253686f1b08a315d5390d5336484
[]
no_license
MIT-repository/tag_server
3266875ac8efee255b324eead419a62a0320f511
488b0582b1341d0a1d372681d57aa456b7d5c9d6
refs/heads/master
2022-12-09T00:21:41.601852
2020-08-19T12:24:01
2020-08-19T12:24:01
288,722,644
0
1
null
null
null
null
UTF-8
Python
false
false
1,410
py
from django.http import HttpResponse, JsonResponse from django.shortcuts import render import os, boto3 from .models import Song from .DeepAudioClassification.main import predict # Create your views here. service_name = os.environ.get('service_name') endpoint_url = os.environ.get('s3_url') region_name = os.environ.ge...
[ "l4538@naver.com" ]
l4538@naver.com
392292d26e820beee08966256dc3b7e7deabcff6
13b46582bb6bbfe08a2e24127198ded24e6c0ad3
/server/security/migrations/0002_auto_20210103_2232.py
6e941810356d692616f510085d017f85a27449ad
[]
no_license
dmetrosoft/seo-audits-toolkit
9b12735d8345ef5075e87e6ea09440e01e32746f
c3e95fc4bf51d72e61c0507c14bd384d2368f475
refs/heads/master
2023-08-25T06:11:54.055464
2021-04-08T15:51:23
2021-04-08T15:51:23
null
0
0
null
null
null
null
UTF-8
Python
false
false
706
py
# Generated by Django 3.1.4 on 2021-01-03 22:32 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('security', '0001_initial'), ] operations = [ migrations.RenameField( model_name='security_result', old_name='pwa_sco...
[ "stan@primates.dev" ]
stan@primates.dev
0254a942224af44e67171f739c52b55757946efb
84688ba401bb0d82f5345d7b2c1c91c1b82b8c41
/notifications/migrations/0002_auto_20190726_2030.py
88f0133b4bf298f0baf1018c1867724b1a9f4611
[]
no_license
AbrahamMayowa/edupam
14878df433f356b60c0bda700457123c6db8c734
97908dc56913d0a06fa0340c5985496935b9a097
refs/heads/master
2023-05-10T23:42:37.043219
2022-10-11T09:19:58
2022-10-11T09:19:58
167,404,444
0
0
null
2023-04-30T07:46:03
2019-01-24T17:02:44
JavaScript
UTF-8
Python
false
false
1,124
py
# Generated by Django 2.1.3 on 2019-07-26 20:30 from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): dependencies = [ ('notifications', '0001_initial'), ] operations = [ migrations.AddField( model_name='thumpednotif...
[ "root@ubuntu.ubuntu-domain" ]
root@ubuntu.ubuntu-domain
6d0ad61beb6bbe67d3f27b262343a23f62135b59
d9307c79b8f3bbe87e2589985ef2c2452b1329c1
/trustonic/ida/scripts/tlApi.py
c7fd41e68bb7eb805b28942d80a930e833cbc629
[ "MIT" ]
permissive
H0K5/tee_research
29a69efc635819137ba5e1beb806898be17bc1a7
eab012c6e9df268a4471117a93025b90e4034e78
refs/heads/master
2022-02-17T21:08:41.983727
2019-09-29T15:54:19
2019-09-29T15:54:19
null
0
0
null
null
null
null
UTF-8
Python
false
false
8,411
py
#!/usr/bin/env python #TlApi Func Auto-Renamer (c) B.Kerler 2019 #Licensed under MIT license #IDA Pro plugin. Use MCLF Loader, let autoanalysis finish, then run this script for fun tlapilist = { 0x1:"tlApiGetVersion", 0x2:"tlApiGetMobicoreVersion", 0x4:"tlApiExit", 0x6:"tlApiWaitNotification", ...
[ "info@revskills.de" ]
info@revskills.de
2d7d3ae843ecbf8f13ec880f6cb812646381f7ff
1c0509a06cec726735048f00f63d2529f5e43ce6
/code_physicians_france/data_acquisition/build_ameli_db/build_df_gyneco_75_2014.py
0bc4cb069807b6f16c706b917534cc019da36132
[]
no_license
etiennecha/master_code
e99c62e93aa052a66d4cdd3f3e3aa25a3aec4880
48821f6c854a1c6aa05cf81b653b3b757212b6f8
refs/heads/master
2021-01-23T14:35:45.904595
2018-03-11T18:57:38
2018-03-11T18:57:38
16,312,906
2
0
null
null
null
null
UTF-8
Python
false
false
11,925
py
#!/usr/bin/python # -*- coding: utf-8 -*- import add_to_path from add_to_path import path_data from generic_ameli import * import re import time from collections import Counter import pprint import numpy as np import matplotlib.pyplot as plt import pandas as pd import statsmodels as sm import statsmodels.formula.api a...
[ "echamayou@gmail.com" ]
echamayou@gmail.com
2c6f7329cf5f3fe94f8c1b248451d1d8a25c4bf2
5d8fbd0ae055a830be62de0191113f6e03f91046
/practice4v.py
9c6f45f76ba2a4b62ff72c2bb4abf339ca89b233
[]
no_license
harmansehmbi/Project4
ba892d921c6b1a9b595a0aa1781afcd79fee5269
baf7e75199d99b60431ba191fbb53fbcd25116cb
refs/heads/master
2020-06-01T16:02:57.311321
2019-06-08T04:01:07
2019-06-08T04:01:07
190,843,134
0
0
null
null
null
null
UTF-8
Python
false
false
261
py
dishes = {"dish1":100, "dish2":200, "dish3":300, "dish4":150} print() keys = list(dishes.keys()) values = list(dishes.values()) print(keys, type(keys)) print() print(values, type(values)) print() print(max(dishes.keys())) print() print(max(dishes.values()))
[ "51370954+harmansehmbi@users.noreply.github.com" ]
51370954+harmansehmbi@users.noreply.github.com
1e3e7d87108b4bf2008a6bcf63f8e833328da5e4
73b73f15adefd4c8d1fc2888406fc7f6b567c9f0
/blogapp/urls.py
2a66e3ab5b4a63a0add5b35819cd5fcf89b51d67
[]
no_license
codenotespy/www.codenotes.site_dj
ed4b736814b783b32d41ee1add70bda4eb9522dc
e1cd0dcb2e6fbdfec4b7ebdf7b19e2338a297e48
refs/heads/main
2023-06-09T22:51:46.291207
2021-06-29T03:56:14
2021-06-29T03:56:14
381,232,611
0
0
null
null
null
null
UTF-8
Python
false
false
1,505
py
from django.urls import path from . import views urlpatterns = [ path('', views.blog_menu, name='blog_menu'), path('contact', views.contact, name='contact'), path('upload_blog', views.upload_blog, name='upload_blog'), path('blog/<int:id>/', views.blog, name='blog'), path('blog_like/<int:id>/', vi...
[ "aydinugur8@hotmail.com" ]
aydinugur8@hotmail.com
dbe56d846912e13b4c72c12ef311a8562813ec85
ab5cdf8f2de94c327e4679da84f941b1f3c04db4
/kubernetes/test/test_v1_glusterfs_volume_source.py
39a802f1d91d71050744ebdb7a46060e9740cc45
[ "Apache-2.0" ]
permissive
diannaowa/client-python
a4a92a125178db26004eaef5062f9b1b581b49a8
5e268fb0b6f21a535a14a7f968b84ed4486f6774
refs/heads/master
2020-12-02T22:06:03.687696
2017-06-30T21:42:50
2017-06-30T21:42:50
null
0
0
null
null
null
null
UTF-8
Python
false
false
925
py
# coding: utf-8 """ Kubernetes No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) OpenAPI spec version: v1.7.0 Generated by: https://github.com/swagger-api/swagger-codegen.git """ from __future__ import absolute_import import os import sys im...
[ "mehdy@google.com" ]
mehdy@google.com
c1895e6e58c9a7846f94b1a64c77145bf2a32ad3
3f69ffa4e42526c50100dc0f7e7ad88502a664e1
/pyforms_gui/controls/control_event_timeline/events/pointer.py
18b837dbd20aa023d08cb86c2a9135e181aa04f9
[]
no_license
UmSenhorQualquer/pyforms-gui
d09854839ff20d26703034e596658e28730362ec
a25bcfe3229e9eaab94fdd84dd749c5de071d836
refs/heads/v4
2022-05-05T11:20:38.432276
2021-06-03T16:13:59
2021-06-03T16:13:59
134,008,541
121
25
null
2022-03-24T16:23:47
2018-05-18T22:09:20
Python
UTF-8
Python
false
false
2,379
py
# !/usr/bin/python # -*- coding: utf-8 -*- from AnyQt.QtGui import QColor from AnyQt import QtCore class Pointer(object): def __init__(self, position, parent): """ :param position: :param parent: """ self._position = position self._parent = parent def draw(self, painter, showvalues=False,...
[ "ricardojvr@gmail.com" ]
ricardojvr@gmail.com
53ba26d148765218e395e84938a2a3ffeb9919db
9b32771b7d1513ee37bc62dd347675abcfc1bfc9
/example_snippets/multimenus_snippets/Snippets/Python/Lists/Sort two lists at the same time.py
b4c74625d9ae14493dd58f86cee4a739b2617268
[ "BSD-3-Clause" ]
permissive
listar0810/jupyterlab-snippets-multimenus
44087ef1aeb030a3074862a337508b57d50072c6
477f51cfdbad7409eab45abe53cf774cd70f380c
refs/heads/master
2022-12-12T18:19:25.221083
2020-09-08T01:11:01
2020-09-08T01:11:01
null
0
0
null
null
null
null
UTF-8
Python
false
false
78
py
x, y = [list(tmp) for tmp in zip(*sorted(zip(x,y), key=lambda pair: pair[0]))]
[ "kptan86@gmail.com" ]
kptan86@gmail.com
5c875bc14088390b5c80f58390c190466aa572b3
31b9c04fd1edc1401721e9010a171cdb0da8e77f
/mysite/main/migrations/0002_post_mainphoto.py
c2907525a31e84b2a70cdab6c5c5c4b1a5a153c0
[]
no_license
ChoiKangM/replyWithDjango
2b0685bf1f9934d0dcb48ac7525e8a6f41c46d2d
2bdafabddfaca48b1b5b91cb09a3b7404e4472e7
refs/heads/master
2023-08-08T03:32:46.305187
2019-05-14T21:08:39
2019-05-14T21:08:39
null
0
0
null
null
null
null
UTF-8
Python
false
false
394
py
# Generated by Django 2.1.8 on 2019-05-07 01:41 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('main', '0001_initial'), ] operations = [ migrations.AddField( model_name='post', name='mainphoto', field...
[ "choikm3847@gmail.com" ]
choikm3847@gmail.com
97eb9f25753cf83fffb0064435595d2456eb9fce
c839961aeab22795200d9edef9ba043fe42eeb9c
/data/script824.py
8654697f896dc73e1e710145b6819c9ce67f61df
[]
no_license
StevenLOL/kaggleScape
ad2bb1e2ed31794f1ae3c4310713ead1482ffd52
18bede8420ab8d2e4e7c1eaf6f63280e20cccb97
refs/heads/master
2020-03-17T05:12:13.459603
2018-05-02T19:35:55
2018-05-02T19:35:55
null
0
0
null
null
null
null
UTF-8
Python
false
false
17,902
py
# coding: utf-8 # ##Exploring several ways to understand the data## # In[ ]: # This Python 3 environment comes with many helpful analytics libraries installed # It is defined by the kaggle/python docker image: https://github.com/kaggle/docker-python # For example, here's several helpful packages to load in import...
[ "adithyagirish@berkeley.edu" ]
adithyagirish@berkeley.edu
f7ffd0f4812bee9b9bd47aa0f720b0e299eb38f3
14483184f0eabafab14f75a052a69e363f973f99
/101.symmetric-tree.py
80f9454d04af06824f3e4018d4db3b084a9ef349
[]
no_license
DizzyYunxuan/Leetcode_answers
d38679935214597bae973a1fef03334005802819
9605165b684bc5a1299a418bb274dc0d3be117a6
refs/heads/master
2021-06-19T15:01:34.991783
2021-03-31T12:10:52
2021-03-31T12:10:52
196,497,506
1
0
null
null
null
null
UTF-8
Python
false
false
903
py
# # @lc app=leetcode id=101 lang=python3 # # [101] Symmetric Tree # # Definition for a binary tree node. # class TreeNode: # def __init__(self, x): # self.val = x # self.left = None # self.right = None class Solution: def isSymmetric(self, root: TreeNode) -> bool: return self.is...
[ "516488199@qq.com" ]
516488199@qq.com
00f589526d0fa2d4c1641fdcd926f14682be16c1
24a9c8f2fac4e2b20f731387336ec4e22d5fd2c7
/司法题1/词云.py
d4b2be329075aba70d6f82c1eede21a6a482937d
[]
no_license
yunli45/pycharmProjectHome
94833822e3036bf2baf8700c4493132e63177d4c
9a382c060963eb801a3da07423e84a4132257b02
refs/heads/master
2020-05-23T23:35:20.476973
2019-05-16T09:45:58
2019-05-16T09:49:16
186,986,803
0
0
null
null
null
null
UTF-8
Python
false
false
1,770
py
# -*- coding: utf-8 -*- """ # code is far away from bugs with the god animal protecting     I love animals. They taste delicious.               ┏┓      ┏┓             ┏┛┻━━━┛┻┓             ┃      ☃      ┃             ┃  ┳┛  ┗┳  ┃             ┃      ┻      ┃             ┗━┓      ┏━┛                 ┃      ┗━━━┓         ...
[ "yunli_45@163.com" ]
yunli_45@163.com
4396e7581798f07422042200815e7f3b1af1ea69
b32300bf27d391fd9441cfbd9c86cd2943617e42
/py_osm_cluster/util/coords.py
8fedcd390dc44d775b94e294fe802641438b7c96
[]
no_license
jakubwida/py_osm_cluster_bachelors
71668552e5895ea7e0622d9fa54eb13ad264c31c
ea151268b184a38a6371c8df919fec7ef10cffaa
refs/heads/master
2021-01-25T07:49:09.313509
2017-07-04T09:40:24
2017-07-04T09:40:24
93,666,761
0
0
null
null
null
null
UTF-8
Python
false
false
2,144
py
class Coords: def __init__(self): self.labels = [] self.coords = [] self.c_number = 0 self.c_positions = [] def assimilate(self,other_coords): self.coords = self.coords+other_coords.coords self.c_number = self.c_number+other_coords.c_number self.c_positions = self.c_positions+other_coords.c_positions...
[ "jakub.wida@outlook.com" ]
jakub.wida@outlook.com
b7db7b09def0133568d7d7375d0082f32737f6db
36d7b748cb0452a03eb83822e8d5e4e8437b676a
/code/weinberg.py
f74f1baf4e9a6db8110cbaf211f340cd931f3326
[ "BSD-3-Clause" ]
permissive
glouppe/paper-avo
d5726b0a700de0ee735a9a51a5e2e29c8e889bb3
1d86349e6da165273918a182e9d061810395d373
refs/heads/master
2021-03-19T18:51:43.816577
2018-12-17T20:09:22
2018-12-17T20:09:22
94,195,189
14
6
BSD-3-Clause
2018-12-17T20:09:23
2017-06-13T09:26:42
TeX
UTF-8
Python
false
false
8,983
py
import autograd as ag import autograd.numpy as np import matplotlib.pyplot as plt import copy from nn import glorot_uniform from nn import relu from nn import AdamOptimizer from proposals import make_gaussian_proposal from proposals import gaussian_draw from proposals import grad_gaussian_logpdf from proposals import...
[ "g.louppe@gmail.com" ]
g.louppe@gmail.com
cc0502e3cab1bd6a7d5f807163d274ebcf5b5a7d
a6e4a6f0a73d24a6ba957277899adbd9b84bd594
/sdk/python/pulumi_azure_native/storsimple/get_manager_extended_info.py
f1ef7dd5ffdca94ce009fca602b31b92407d3c83
[ "BSD-3-Clause", "Apache-2.0" ]
permissive
MisinformedDNA/pulumi-azure-native
9cbd75306e9c8f92abc25be3f73c113cb93865e9
de974fd984f7e98649951dbe80b4fc0603d03356
refs/heads/master
2023-03-24T22:02:03.842935
2021-03-08T21:16:19
2021-03-08T21:16:19
null
0
0
null
null
null
null
UTF-8
Python
false
false
7,305
py
# coding=utf-8 # *** WARNING: this file was generated by the Pulumi SDK Generator. *** # *** Do not edit by hand unless you're certain you know what you are doing! *** import warnings import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union from .. import _utilities, _tables __al...
[ "noreply@github.com" ]
MisinformedDNA.noreply@github.com
2429afb1390e940a0538dd6d4cebf7258e4c4ab6
f0181afd2eea9b086ce9487fb8d7fd949282140a
/perl/alignment/local_alignment.py
db92f56beb54b2cb64580db945895b78d465058e
[ "MIT" ]
permissive
linsalrob/EdwardsLab
4a571676859c8b7238e733a0d3ad98ceb2e83c63
3c466acc07f1a56b575860ad26c92f900b272a53
refs/heads/master
2023-08-20T17:13:35.466103
2023-08-17T09:17:36
2023-08-17T09:17:36
25,702,093
36
25
MIT
2020-09-23T12:44:44
2014-10-24T18:27:16
Python
UTF-8
Python
false
false
2,920
py
__author__ = 'redwards' import os from array import array from matrices import blosum62 def score(a, b): blosum = blosum62() if a in blosum and b in blosum[a]: return blosum[a][b] elif b in blosum and a in blosum[b]: return blosum[b][a] else: sys.stderr.write("Can not score am...
[ "raedwards@gmail.com" ]
raedwards@gmail.com
9222dbde7d346213b91034145a348a5cff4cbbf6
ca7aa979e7059467e158830b76673f5b77a0f5a3
/Python_codes/p03161/s980102866.py
deba467f47fe65240ad40d992abb931cd5df9b26
[]
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
319
py
if __name__ == '__main__': n,k = map(int,input().split()) h = list(map(int,input().split())) #TLE pypy INF = 10**9 dp = [INF] * (n+1) dp[0] = 0 k = min(k,n) for i in range(1,n): for j in range(1,k+1): dp[i] = min(dp[i],dp[i-j]+abs(h[i]-h[i-j])) print(dp[n-1])
[ "66529651+Aastha2104@users.noreply.github.com" ]
66529651+Aastha2104@users.noreply.github.com
b0458242d96796db2944d822cfd3c245a1bd89f5
48616fb53c96dafed001ab264f819bad38769371
/pydesica/src/plot_hist_death.py
095c91df24e3a2541de58093361d3756ab945c71
[]
no_license
mdekauwe/SE_AUS_drought_risk_paper
1ee650ba9ef553dc062223c77277f66b5cb8721b
a908e82844ea5ecf927c1039dd0059a50027be9f
refs/heads/master
2020-09-17T08:57:07.200626
2020-06-01T23:51:35
2020-06-01T23:51:35
224,061,720
0
2
null
null
null
null
UTF-8
Python
false
false
5,100
py
#!/usr/bin/env python # coding: utf-8 """ Plot the pixel output That's all folks. """ __author__ = "Martin De Kauwe" __version__ = "1.0 (12.03.2018)" __email__ = "mdekauwe@gmail.com" import pandas as pd import sys import numpy as np import matplotlib.pyplot as plt import os import seaborn as sns rf = pd.read_csv("o...
[ "mdekauwe@gmail.com" ]
mdekauwe@gmail.com
0ab75df4472e4622b1a049811be92712ca4fc93a
d3170930a453d7f4ab62c4637f21e8e1d74ac971
/axf/urls_order_apis.py
9833c9dbe2456599f9cc0cf30e0d0f25e7c0eb66
[]
no_license
whoareyou0401/1901axf_vue
97fd03439ef919024832348f61ea3c1f5cf2469c
4bb0fcf2000a624be294bbcfdbfc52895fedd36e
refs/heads/master
2020-05-29T19:45:36.536110
2019-05-31T02:47:41
2019-05-31T02:47:41
189,338,601
1
0
null
null
null
null
UTF-8
Python
false
false
187
py
from django.conf.urls import url from .order_apis import * urlpatterns = [ url(r"^order$", OrderAPI.as_view()), url(r"^confirm$", ConfirmOrder.as_view({"post":"confirm"})), ]
[ "1625211623@qq.com" ]
1625211623@qq.com
3fc13f2b5432026514c79268d90a33390a6b94bb
f949cf76d051abb911be3e3adbfe777aa6f9fc95
/code1/analysis/loadFactor_vs_collision_test_speed.py
2764cb51d46d32ff4500dd5c9ad782dc7db8ac44
[]
no_license
xeniaqian94/11711-Algorithm-for-NLP
ae8137849654ccdd77b2da059a955eeecc71e76f
f63743ecb937231835ea394a8ad64d876346f802
refs/heads/master
2021-01-23T23:12:21.073989
2017-11-12T21:31:17
2017-11-12T21:31:17
102,955,520
1
0
null
null
null
null
UTF-8
Python
false
false
2,259
py
import sys import re import matplotlib.pyplot as plt # python loadFactor_vs_collision_test_speed.py ../loadFactor_log ../plot/loadFactor_vs_collision_test_speed f=open(sys.argv[1],"r") loadFactor=[] testTime=[] ratio_bigram=[] ratio_trigram=[] prev_line="" for line in f.readlines(): if (re.match(r"^load factor (...
[ "xeniaqian94@gmail.com" ]
xeniaqian94@gmail.com
aacab90637ea6957ea3d6e2c1ea9b511bf075c02
15f321878face2af9317363c5f6de1e5ddd9b749
/solutions_python/Problem_116/2510.py
337278eb13b6bb47614cb3a25617d675dc147176
[]
no_license
dr-dos-ok/Code_Jam_Webscraper
c06fd59870842664cd79c41eb460a09553e1c80a
26a35bf114a3aa30fc4c677ef069d95f41665cc0
refs/heads/master
2020-04-06T08:17:40.938460
2018-10-14T10:12:47
2018-10-14T10:12:47
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,910
py
class TicTac(): blen=range(4) def __init__(self,inBoardStr): self.board=[] for (crow,cline) in zip(self.blen,inBoardStr.split('\n')): cbline=[clet.upper() for (ccol,clet) in zip(self.blen,cline)] self.board+=[cbline] def checkwin(self): if self.checkvic('X'): return 'X won' if self.checkvic('O...
[ "miliar1732@gmail.com" ]
miliar1732@gmail.com
91f6d94527fcfade170591c20976d3428b4037ca
4e4caa3a259893ecb639a3cac8658f99e51cec22
/allel/stats/fst.py
c3fff74a319c9c99626a4344b017b1bc4b571969
[ "MIT" ]
permissive
oxpeter/scikit-allel
e9fcc39deee7ec755cf8693d652358438ea8e73d
566eab62bc026c7f91cf202853c6a2ef5fd8df54
refs/heads/master
2021-01-24T01:14:19.906571
2016-02-01T17:04:25
2016-02-01T17:04:25
null
0
0
null
null
null
null
UTF-8
Python
false
false
23,594
py
# -*- coding: utf-8 -*- from __future__ import absolute_import, print_function, division import logging import itertools import numpy as np from allel.util import asarray_ndim, check_dim0_aligned, ensure_dim1_aligned from allel.model.ndarray import GenotypeArray from allel.stats.window import windowed_statistic, ...
[ "alimanfoo@googlemail.com" ]
alimanfoo@googlemail.com
35fa7fe8cb27b270e1efe832507fc58db96eee12
29dcd6c3475acde11bfc8dd7b6826ffddb40e1ab
/Week7Python/Week7/randomAverageSumMaxMin.py
8c0c8ac3b260f0158a0d860e0aaeec63863337ca
[]
no_license
quangdbui9999/CS-171
24ca7f7f27847c7b729d74b2c85abc0464cd8c1a
963b2e83e6939703ca2b7617941e5fc04d374570
refs/heads/master
2022-09-18T13:11:38.619101
2020-06-07T22:51:51
2020-06-07T22:51:51
270,453,427
0
0
null
null
null
null
UTF-8
Python
false
false
602
py
def main(): fileName = "randomNumber.txt" file = open(fileName, "r") getSum = 0 average = 0 maxNumber = -1 minNumber = 1000 for i in range(0, 1000): line = file.readline() number = int(line) getSum += number if(number < minNumber): minNumb...
[ "noreply@github.com" ]
quangdbui9999.noreply@github.com
dab23a2f681f7e8d2b14073564382513078fd1e1
4577d8169613b1620d70e3c2f50b6f36e6c46993
/students/1808084/homework01/program02.py
649e76a862e1916832e6b105fcdaf485735f8fd4
[]
no_license
Fondamenti18/fondamenti-di-programmazione
cbaf31810a17b5bd2afaa430c4bf85d05b597bf0
031ec9761acb1a425fcc4a18b07884b45154516b
refs/heads/master
2020-03-24T03:25:58.222060
2018-08-01T17:52:06
2018-08-01T17:52:06
142,419,241
0
0
null
null
null
null
UTF-8
Python
false
false
2,843
py
# -*- coding: utf-8 -*- """ Created on Thu Oct 19 17:55:21 2017 @author: Lorenzo """ ''' In determinate occasioni ci capita di dover scrivere i numeri in lettere, ad esempio quando dobbiamo compilare un assegno. Puo' capitare che alcuni numeri facciano sorgere in noi qualche dubbio. Le perplessita' nascono sopratt...
[ "a.sterbini@gmail.com" ]
a.sterbini@gmail.com
67c4fcf63b42d176656a5364095de76ee9f01326
69bcc45028038351a7f891025df1f8e7d4b855f1
/pipeline/0x02-databases/33-schools_by_topic.py
17fb419f2a03fb8de363b332cb2bff9883340c20
[]
no_license
linkjavier/holbertonschool-machine_learning
6db799844821d450fed2a33a8819cb8df0fef911
c7b6ea4c37b7c5dc41e63cdb8142b3cdfb3e1d23
refs/heads/main
2023-08-17T21:00:24.182003
2021-09-09T05:47:06
2021-09-09T05:47:06
304,503,773
0
0
null
null
null
null
UTF-8
Python
false
false
254
py
#!/usr/bin/env python3 """ Where can I learn Python? """ def schools_by_topic(mongo_collection, topic): """ Function that returns the list of school having a specific topic """ return list(mongo_collection.find({"topics": {"$all": [topic]}}))
[ "linkjavier@hotmail.com" ]
linkjavier@hotmail.com
17c40c0786dd78ceab94a787c68a02c570d12f07
3d19e1a316de4d6d96471c64332fff7acfaf1308
/Users/E/elie222/fantasy_football_-_premierleaguecom_cleaner_versio.py
7f72eb5eacdfb0f99c528de816d9ca166b44d636
[]
no_license
BerilBBJ/scraperwiki-scraper-vault
4e98837ac3b1cc3a3edb01b8954ed00f341c8fcc
65ea6a943cc348a9caf3782b900b36446f7e137d
refs/heads/master
2021-12-02T23:55:58.481210
2013-09-30T17:02:59
2013-09-30T17:02:59
null
0
0
null
null
null
null
UTF-8
Python
false
false
3,216
py
import scraperwiki import json from datetime import date for i in range(1,1000): try: jsonPage = scraperwiki.scrape('http://fantasy.premierleague.com/web/api/elements/%d/'%(i)) playerObj = json.loads(jsonPage) data = {} data["code"] = playerObj["code"] data["transfers_balanc...
[ "pallih@kaninka.net" ]
pallih@kaninka.net
a49f0908a19d55d7b3eee998f7ebec8be51c1ee0
37a92a9c4b03c9a8d485413ea0ca804c3860e4b2
/multi-label-cls/util.py
44259f234cdee61a0f420ee0d9681720d64aa6d2
[ "Apache-2.0" ]
permissive
JulianYu123456/icnn
0502950f281fdf6fdee3ed430bbbcf6250bc299c
0aaf4b5cd13d71d98b0d05f367e1f71657ea6eb8
refs/heads/master
2021-04-17T08:39:18.704713
2020-04-05T08:45:59
2020-04-05T08:45:59
249,430,014
0
0
Apache-2.0
2020-03-23T12:52:24
2020-03-23T12:52:24
null
UTF-8
Python
false
false
441
py
import numpy as np import sklearn from sklearn.metrics import f1_score def macroF1(trueY, predY): # trueY and predY should be (nExamples, nLabels) predY_bin = (predY >= 0.5).astype(np.int) trueY_bin = trueY.astype(np.int) # The transpose is here because sklearn's f1_score expects multi-label # data...
[ "bamos@cs.cmu.edu" ]
bamos@cs.cmu.edu
53c0b78d84a3165bf0d2d3d584bc9787c6f5e5f8
ad4c2aa0398406ccb7e70562560e75fa283ffa1a
/inorder-successor-in-bst/inorder-successor-in-bst.py
c32fe6518bfadb60f56d65c472aab78b0a7dea4b
[ "Apache-2.0" ]
permissive
kmgowda/kmg-leetcode-python
427d58f1750735618dfd51936d33240df5ba9ace
4d32e110ac33563a8bde3fd3200d5804db354d95
refs/heads/main
2023-08-22T06:59:43.141131
2021-10-16T14:04:32
2021-10-16T14:04:32
417,841,590
0
1
null
null
null
null
UTF-8
Python
false
false
944
py
// https://leetcode.com/problems/inorder-successor-in-bst # Definition for a binary tree node. # class TreeNode(object): # def __init__(self, x): # self.val = x # self.left = None # self.right = None class Solution(object): def inorder_successor(self, root, p , found): nod...
[ "keshava.gowda@gmail.com" ]
keshava.gowda@gmail.com
40b04c99c8cc4e9c2cac9d79520874d3404d15ea
9743d5fd24822f79c156ad112229e25adb9ed6f6
/xai/brain/wordbase/otherforms/_blarneying.py
d66e3c6b974c393c850ae6c85b2b91e1dacb8a8a
[ "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
230
py
#calss header class _BLARNEYING(): def __init__(self,): self.name = "BLARNEYING" self.definitions = blarney self.parents = [] self.childen = [] self.properties = [] self.jsondata = {} self.basic = ['blarney']
[ "xingwang1991@gmail.com" ]
xingwang1991@gmail.com
92578a4d2ea658a02029df6288200900ba1d402a
dacf092e82b5cc841554178e5117c38fd0b28827
/day6/session_6.1.py
dacdb0f52bdb94e716e19f74900a9dfb4b077b57
[]
no_license
RainMoun/python_programming_camp
f9bbee707e7468a7b5d6633c2364f5dd75abc8a4
f8e06cdd2e6174bd6986d1097cb580a6a3b7201f
refs/heads/master
2020-04-15T11:27:09.680587
2019-04-06T02:21:14
2019-04-06T02:21:14
164,630,838
4
1
null
null
null
null
UTF-8
Python
false
false
2,151
py
menu_university = { '浙江': { '杭州': { '下沙区': { '杭州电子科技大学': {}, '浙江工商大学': {}, '浙江理工大学': {} }, '西湖区': { '浙江大学': {}, }, }, '宁波': { '江北区': { '宁波大学': {} ...
[ "775653143@qq.com" ]
775653143@qq.com
a96ee8bc1593d9e1aca979ef320b877278c56d1d
ca7aa979e7059467e158830b76673f5b77a0f5a3
/Python_codes/p02898/s573617643.py
49e45394d939cd09bb260a01e61c9b5692d1e3d6
[]
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
122
py
a,b=map(int,input().split()) c=0 l=list(map(int,input().split())) for i in range(len(l)): if l[i]>=b: c+=1 print(c)
[ "66529651+Aastha2104@users.noreply.github.com" ]
66529651+Aastha2104@users.noreply.github.com
479041b670289ff52f5224e1e10b9ca4dbdbae7f
c22a4957e6874b23f771d8174794ee4e31c5c792
/2_Tuples_and_sets/11. Longest Intersection.py
9f484292a01107c26761fd1b903ef54d82b3896a
[]
no_license
GalyaBorislavova/SoftUni_Python_Advanced_May_2021
d57ff7f6480c9011190bb52880bb1fe48298fcdb
67ad5acd43acc90042b3ac0fd5a8f4fe81bc0f53
refs/heads/main
2023-06-14T22:00:21.904387
2021-07-07T06:15:08
2021-07-07T06:15:08
381,794,137
0
0
null
null
null
null
UTF-8
Python
false
false
1,098
py
def input_to_list(count): lines = [] for _ in range(count): line = input() if " " in line: data = line.split() for el in data: lines.append(el) else: lines.append(line) return lines n = int(input()) input_sequences = input_to_list...
[ "galyaborislavova888@gmail.com" ]
galyaborislavova888@gmail.com
54ab222cfbc270bfb8f73f764064bcca188236eb
1f6cdaead83b425ba2fda2b8b4f9eb1d03d97426
/app/models/skill.py
12d070e18395fda9465c6eb7791077266148341f
[]
no_license
simpuid/cvbuilder
3291f18a52bc5cdceb81d000e418c8c74ba3680d
c27cb0cfec0b8fc19245deb957b577a1e789db64
refs/heads/master
2023-01-01T08:13:55.755812
2020-10-30T21:55:37
2020-10-30T21:55:37
306,163,829
0
2
null
2020-10-28T18:20:31
2020-10-21T22:36:52
Python
UTF-8
Python
false
false
1,109
py
from db import execute, fetch class Skill: def __init__(self, uid: int, skill_list: list): self.id = uid self.skill_list = skill_list def update(self, index, skill_name): if skill_name != self.skill_list[index]: self.delete(index) self.add(skill_name) def dele...
[ "prathameshkatkar11@gmail.com" ]
prathameshkatkar11@gmail.com
6490f5050d4387318453349a7e996ab8d03a6356
f47d17b53977cf745d453b654529e8cd6be7890f
/3level_N20_ain1.py
304e553f3aa064c0c6025fb98dbaa10a04cdac15
[]
no_license
rareearthquantum/model_upconversion_peter
b4cce7556a167ba0e9813625dc924d3542d33cd1
dcf08000ec21770659318409a686bb2b88a7a1be
refs/heads/master
2020-04-28T19:54:34.795590
2019-06-14T09:43:28
2019-06-14T09:43:28
175,526,148
0
0
null
null
null
null
UTF-8
Python
false
false
2,349
py
from Frequency_response_3level import * p = {} p['deltamu'] = 0. p['deltao'] = 0. p['d13'] = 2e-32*math.sqrt(1/3) p['d23'] = 2e-32*math.sqrt(2/3) p['gamma13'] = p['d13']**2/(p['d13']**2+p['d23']**2)*1/11e-3 p['gamma23'] = p['d23']**2/(p['d13']**2+p['d23']**2)*1/11e-3 p['gamma2d'] = 1e6 p['gamma3d'] = 1e6 p['nbath']...
[ "peterbarnettnz@gmail.com" ]
peterbarnettnz@gmail.com
655329fb24105ab3d49e79b703e9372d94130f5d
73a5eca1ddee1d74a3c2be9ca4e5e67ebe3d16f7
/src/util/main.py
268fafaef1f85aa7a5b43a86fbd49cf82644a789
[ "MIT" ]
permissive
ychnlgy/Chebyshev-Lagrange
34346692a2925cde620377e8fbcb8d588623fac7
74292e72b83f992d6c42a2f2db04dfdce5a52aea
refs/heads/master
2020-05-23T06:20:10.831035
2020-02-12T16:31:38
2020-02-12T16:31:38
186,661,893
2
1
null
null
null
null
UTF-8
Python
false
false
391
py
MAIN = "__main__" def main(name=None): def main_wrapper(prog): if name == MAIN: import sys args = dict([d.split("=") for d in sys.argv[1:]]) prog(**args) return prog if callable(name): prog = name name = MAIN ...
[ "ychnlgy@gmail.com" ]
ychnlgy@gmail.com
fbd858342f10655883bdb5247be8b585be37030b
9405aa570ede31a9b11ce07c0da69a2c73ab0570
/aliyun-python-sdk-emr/aliyunsdkemr/request/v20160408/GetAuditLogsRequest.py
6103a63b5d1ff06daa042f0bb7494e9c42ca2bce
[ "Apache-2.0" ]
permissive
liumihust/aliyun-openapi-python-sdk
7fa3f5b7ea5177a9dbffc99e73cf9f00e640b72b
c7b5dd4befae4b9c59181654289f9272531207ef
refs/heads/master
2020-09-25T12:10:14.245354
2019-12-04T14:43:27
2019-12-04T14:43:27
226,002,339
1
0
NOASSERTION
2019-12-05T02:50:35
2019-12-05T02:50:34
null
UTF-8
Python
false
false
2,948
py
# Licensed to the Apache Software Foundation (ASF) under one # or more contributor license agreements. See the NOTICE file # distributed with this work for additional information # regarding copyright ownership. The ASF licenses this file # to you under the Apache License, Version 2.0 (the # "License"); you may ...
[ "sdk-team@alibabacloud.com" ]
sdk-team@alibabacloud.com
212d8d6048601c474ec7d30cb6db83bb7e054684
c6a4069e265325e836e4ee79fae0f5490f1a1c47
/tests/test_fight.py
e8c2d1ee8f3ae4f2bede2c65675418e6c0ac5f38
[]
no_license
astoeff/clean-code-course-project
b2ca1d10b226ea95b602d2535810c9af5aadb244
2b64956ea1b33cba405ccd500bf1a5472a65e9c4
refs/heads/master
2022-11-19T05:04:20.992189
2020-07-17T17:12:59
2020-07-17T17:12:59
274,676,681
0
0
null
2020-07-17T17:13:00
2020-06-24T13:32:49
Python
UTF-8
Python
false
false
6,529
py
import unittest from main.models.hero import Hero from main.models.enemy import Enemy from main.fight import Fight from main.treasures.weapon import Weapon from main.constants import (FIGHT_INITIAL_INFORMATION_PART, FIGHT_HERO_CANNOT_ATTACK_INFORMATION_PART, FIGHT_HERO_ATTACK_INFORMATION_PAR...
[ "antoni.1998@abv.bg" ]
antoni.1998@abv.bg
bec6065716cd4195abdc899d00334578c3a51678
c81ea73e93df307d35191ab184a85d6c67c57112
/dockers/mvcnn2/Model.py
33a386975482c00e07a61ec744468d7c35b5098f
[]
no_license
BlenderCN-Org/diplomka
8d0503fc5902dfede8317aed84f5a17f691f687f
575fe3f2436b9c511496c1dc019d9cc3423ba5f0
refs/heads/master
2020-05-22T15:42:00.143738
2019-05-07T07:37:46
2019-05-07T07:37:46
null
0
0
null
null
null
null
UTF-8
Python
false
false
561
py
import torch import torch.nn as nn import os import glob class Model(nn.Module): def __init__(self, name): super(Model, self).__init__() self.name = name def save(self, file): torch.save(self.state_dict(), file) def save_results(self, path, data): raise NotImplementedEr...
[ "miroslavkrabec@seznam.cz" ]
miroslavkrabec@seznam.cz
9f030bfe6258938a897a89c3d9be1473ed319955
0fccee4c738449f5e0a8f52ea5acabf51db0e910
/genfragments/ThirteenTeV/MSSM_HiggsToMuMu/fragment_mhmodp_MA450_tb25_ggA.py
bdbd2e8c4f539ec84f6da6ae2be00f6cbe09699a
[]
no_license
cms-sw/genproductions
f308ffaf3586c19b29853db40e6d662e937940ff
dd3d3a3826343d4f75ec36b4662b6e9ff1f270f4
refs/heads/master
2023-08-30T17:26:02.581596
2023-08-29T14:53:43
2023-08-29T14:53:43
11,424,867
69
987
null
2023-09-14T12:41:28
2013-07-15T14:18:33
Python
UTF-8
Python
false
false
18,815
py
COM_ENERGY = 13000.0 # GeV CROSS_SECTION = 1 # pb PROCESS = 'HiggsBSM:gg2A3 = on' SLHA_TABLE = """BLOCK SPINFO 1 FeynHiggs 2 2.12.0 2 built on ott 13, 2016 BLOCK MODSEL 1 0 # Model 2 1 # GridPts 3 0 # Content ...
[ "pietro.vischia@gmail.com" ]
pietro.vischia@gmail.com
d0c3a1f5eb693cf578a1067dd019d36cfe2056e1
b7b243902150a1aa5b774523ac01d7016de13477
/cyc/math/628.py
aff725b4b44ac4e418c1fa95533e1c5c2ce2506c
[]
no_license
Veraph/LeetCode_Practice
7e97a93464911a1f33b3133043d96c88cd54016a
eafadd711f6ec1b60d78442280f1c44b6296209d
refs/heads/master
2023-03-23T11:49:19.046474
2021-03-18T02:22:50
2021-03-18T02:22:50
273,317,388
0
0
null
null
null
null
UTF-8
Python
false
false
451
py
# 628.py -- Maximum Product of Three Numbers ''' Given an integer array, find three numbers whose product is maximum and output the maximum product. ''' def maximumProduct(nums): ''' read the description carefully. be careful about the negative nums. ''' nums.sort(reverse=True) # two situation...
[ "jmw3531@live.com" ]
jmw3531@live.com
e63722dcf8d043c89d4fba02b0bbade77d3104dd
b6f377fce8b8d63bd00b5c10485439ddba7f0717
/server/__init__.py
de758ecbe3217f05fdf7f2e0f9d10f567b7f74a0
[ "MIT" ]
permissive
HackCameroon/Coronalert
9635d041e92f59fccaaac1e71f01c0f9cf347c2e
df7d66bec147ea1f47105102582bc25469e4bee2
refs/heads/master
2022-04-12T08:52:30.442765
2020-04-08T19:21:54
2020-04-08T19:21:54
262,270,364
1
0
MIT
2020-05-08T08:37:15
2020-05-08T08:37:14
null
UTF-8
Python
false
false
2,879
py
from flask import Flask, render_template # from flask_jwt_extended import JWTManager from flask_sqlalchemy import SQLAlchemy from twilio.rest import Client from flask_migrate import Migrate import os STATIC_FOLDER = "../client/build/static" TEMPLATE_FOLDER = "../client/build" CONFIG_FILE = "./config.py" CONFIG_EXA...
[ "justinyu1618@gmail.com" ]
justinyu1618@gmail.com
48b71cb3fb8bc7bb76a91b40b2ce5b27e47ffabb
bc441bb06b8948288f110af63feda4e798f30225
/cmdb_extend_sdk/api/instance/get_instances_pb2.pyi
171bdfbd8163b6e22ba892a60c71cc8a169b7012
[ "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
false
5,195
pyi
# @generated by generate_proto_mypy_stubs.py. Do not edit! import sys from google.protobuf.descriptor import ( Descriptor as google___protobuf___descriptor___Descriptor, ) from google.protobuf.internal.containers import ( RepeatedCompositeFieldContainer as google___protobuf___internal___containers___RepeatedC...
[ "service@easyops.cn" ]
service@easyops.cn
bb7bb7ba73a4dbedb7c358b976265b17ddd63cf5
249ae31366937f62e048f0fb858028432a2ec769
/apple-and-orange.py
8840c4437d9f1690530d6de43c8ebc2fb7893f58
[]
no_license
Mayurg6832/HackerRank-Problem-solving
198dccade1c79a5573362f8d656d447910ff1053
c8f2719f2728ed227e4f6ffea00163ddd8e17163
refs/heads/master
2022-10-12T22:36:29.500145
2020-06-10T09:18:49
2020-06-10T09:18:49
244,108,966
0
0
null
null
null
null
UTF-8
Python
false
false
401
py
s,t=map(int,input().split()) a,b=map(int,input().split()) m,n=map(int,input().split()) apple=list(map(int,input().split())) orange=list(map(int,input().split())) countA=0 countO=0 for i in range(len(apple)): temp=a+apple[i] if temp in range(s,t+1): countA+=1 for i in range(len(orange)): temp=b+oran...
[ "noreply@github.com" ]
Mayurg6832.noreply@github.com
d32de0ad23b35433aeaaee25ab27bdb519c0dfdb
ebbe9b78464976119e619d683aa1f6b370508ba7
/testdrf/tdrf/wsgi.py
824146f6d0f901ec80ed48a580c2fb5e85a9162e
[]
no_license
taojy123/openapi_speech
bc98dda45ba913b3408b5649a5c574b5badd21f0
751dde6b952c08d09bb6c7cbc0e65040fa2498e7
refs/heads/master
2022-11-07T14:03:32.104921
2020-06-27T15:19:19
2020-06-27T15:19:19
271,430,093
0
0
null
null
null
null
UTF-8
Python
false
false
385
py
""" WSGI config for tdrf project. It exposes the WSGI callable as a module-level variable named ``application``. For more information on this file, see https://docs.djangoproject.com/en/3.0/howto/deployment/wsgi/ """ import os from django.core.wsgi import get_wsgi_application os.environ.setdefault('DJANGO_SETTINGS...
[ "taojy123@163.com" ]
taojy123@163.com
52cc571ad9fd0579f0fdcb429ce18b6da15f9104
de24f83a5e3768a2638ebcf13cbe717e75740168
/moodledata/vpl_data/85/usersdata/174/55054/submittedfiles/funcoes1.py
4d3c33384d44b3a8fcf1a02d2bb63d5e462d030d
[]
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
1,633
py
# -*- coding: utf-8 -*- def crescente (lista): #código da função crescente for i in range(0,len(lista)-1,1): contd=0 if lista[i]>lista[i+1]: contd=contd+1 if (contd)!=len(lista)-1: return True else: return False def decrescente (lista)...
[ "rafael.mota@ufca.edu.br" ]
rafael.mota@ufca.edu.br
4c12c2b031f013b218218fdfe3a52bacb9141085
d2ea8079864f6f0b99937645c2d4cab8817e75f8
/05_lekcja6OperacjeNaPlikach/Zad6Karty.py
ae96e5509ce0b2438c098833c86ccf03a29cb229
[]
no_license
FlyingMedusa/PythonCourse
ea960ab20415180d6e164abf4af5619ad9d256fb
4be6ffd1054b25285205d19987fb0fade0f72c14
refs/heads/master
2022-04-09T15:59:38.742786
2020-02-12T17:49:56
2020-02-12T17:49:56
213,706,789
0
0
null
null
null
null
UTF-8
Python
false
false
1,580
py
def is_visa(is_card, number): if is_card == False: return False if len(number) == 16 or len(number) == 13: if card_number[0] == '4': return True def is_mastercard(is_card, number): if is_card == False: return False if len(number) == 16: if int(number[0:2]) i...
[ "sleboda.m98@gmail.com" ]
sleboda.m98@gmail.com
5a1775df5cda2474ee302d546f93b09146350649
ab8a34e5b821dde7b09abe37c838de046846484e
/twilio/sample-code-master/taskrouter/v1/task_queues_statistics/read-default/read-default.6.x.py
e63be41889aa29f493efff5404bcbd35336aaf55
[]
no_license
sekharfly/twilio
492b599fff62618437c87e05a6c201d6de94527a
a2847e4c79f9fbf5c53f25c8224deb11048fe94b
refs/heads/master
2020-03-29T08:39:00.079997
2018-09-21T07:20:24
2018-09-21T07:20:24
149,721,431
0
1
null
null
null
null
UTF-8
Python
false
false
547
py
# Download the helper library from https://www.twilio.com/docs/python/install from twilio.rest import Client # Your Account Sid and Auth Token from twilio.com/console account_sid = 'ACXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX' auth_token = 'your_auth_token' client = Client(account_sid, auth_token) statistics = client.taskrou...
[ "sekharfly@gmail.com" ]
sekharfly@gmail.com
376231c1647b7584c2972dbc259b12d4122f151e
2761d1c5563950f919953240e569dd7397ad2a28
/clip/ViT-B-32-cpu/code/__torch__/torch/nn/modules/linear/___torch_mangle_9547.py
2f0fb6831db918b275671b098939d68f5e4e1cbe
[ "MIT" ]
permissive
shawwn/CLIP
c8e65523481d4f48852600eda1909a853f46bc05
ba33b4eb956e6f507b4b39468b3b7336ac2260a1
refs/heads/main
2023-02-21T13:03:51.522948
2021-01-16T03:45:59
2021-01-16T03:45:59
327,780,194
6
2
null
2021-01-08T02:41:08
2021-01-08T02:41:08
null
UTF-8
Python
false
false
646
py
class Linear(Module): __parameters__ = ["weight", "bias", ] __buffers__ = [] weight : Tensor bias : Tensor training : bool def forward(self: __torch__.torch.nn.modules.linear.___torch_mangle_9547.Linear, argument_1: Tensor) -> Tensor: _0 = self.bias output = torch.matmul(argument_1.float(), torc...
[ "shawnpresser@gmail.com" ]
shawnpresser@gmail.com
d2f0dd4e289f55fd0a8ef460b27fab5cd1d64156
e7005d4b461c7dfc9f660dff642892cbb7b66948
/docker/server/project/app/controller/monitoring/views.py
fbef82c64d0eb24efffc86b35f83c41891006ae4
[]
no_license
ardikabs/fipro-core
963ca6e73dc9a961e94be7681fa919058acc414a
123ecad130fbf103b69604343fff96486419998c
refs/heads/master
2022-12-13T14:00:34.463893
2019-07-05T07:42:01
2019-07-05T07:42:01
130,592,675
5
0
null
2022-12-08T02:33:05
2018-04-22T17:50:06
CSS
UTF-8
Python
false
false
6,857
py
import datetime import pytz import json from bson import json_util from flask import ( current_app, jsonify, render_template, request, redirect, url_for, flash, make_response ) from flask_login import ( current_user, login_required ) from . import monitoring from app.ut...
[ "ardikabs@gmail.com" ]
ardikabs@gmail.com
9e4b180c96b1b6d9c029b8758dfdd177d8f91d11
a54d5a5ae5ba352963f1166a29e1bb6c867157ab
/python/test/test_cumulative_list_sum.py
2dd93e2dfe24d60ecabdb6d3b8f14108116ddf67
[]
no_license
alephist/edabit-coding-challenges
06f573e90ffbd13bc54ecbdaa8e6a225aa44f5d8
35f1fc84848fc44e184aae1ae231a36319c1c81e
refs/heads/main
2023-07-30T22:39:37.468756
2021-09-18T07:47:02
2021-09-18T07:47:02
341,467,751
0
0
null
null
null
null
UTF-8
Python
false
false
733
py
import unittest from typing import List, Tuple from cumulative_list_sum import cumulative_sum test_values: Tuple[Tuple[List[int], List[int]]] = ( ([], []), ([1], [1]), ([1, 2, 3], [1, 3, 6]), ([-1, -2, -3], [-1, -3, -6]), ([1, -2, 3], [1, -1, 2]), ([3, 3, -2, 408, 3, 3, 0, 66, 2, -2, 2, 3, 4,...
[ "justin.necesito@gmail.com" ]
justin.necesito@gmail.com
8988b99c5aee861a7932799ddd6ef9b5e4ae0eb2
669f4fd966fd6068c9658a87fea3545e96df2285
/mask_tools.py
0d8c1711e31e27d14cb53d3e6511168301a80bae
[ "LicenseRef-scancode-public-domain" ]
permissive
wtfuzz/kaggle-dsbowl-2018-dataset-fixes
23927bad32b20beb6567e0f27c0af452bd3c4cf2
72b505fa661cde4e4b1a16198e71f16f1dd94fd1
refs/heads/master
2021-09-09T21:19:42.181400
2018-03-19T19:16:11
2018-03-19T19:16:11
125,908,151
0
0
null
2018-03-19T19:14:26
2018-03-19T19:14:26
null
UTF-8
Python
false
false
2,181
py
#!/usr/bin/env python3 import argparse from pathlib import Path import numpy as np from PIL import Image def create_masks(): """ Create masks from red color above original image. """ parser = argparse.ArgumentParser() parser.add_argument('root') args = parser.parse_args() root = Path(args.roo...
[ "kostia.lopuhin@gmail.com" ]
kostia.lopuhin@gmail.com
e188fbadc4084e203a34f001c1a6c864b6c16e49
33518b9521d8e633010b0b9d1ea0f7a937437200
/Python/rotate_list/rotate_list.py
3ecf8c4f8d6e4e343598e87bf7f9176d4bd68aa5
[]
no_license
lqs4188980/CodingPractice
977ddb69306c92a5e3df88f26572200622fad82a
c17653832269ab1bb3e411f7d74bef4c8e9985b3
refs/heads/master
2021-01-22T05:10:40.885490
2016-02-05T09:06:51
2016-02-05T09:06:51
25,272,652
0
1
null
2016-01-06T07:50:29
2014-10-15T20:40:34
Java
UTF-8
Python
false
false
551
py
class Solution(object): def rotateRight(self, head, k): if head is None: return head l = 0 p = head while p: l += 1 p = p.next k %= l if k == 0: return head i, p = l-k, head while i: i -= 1 ...
[ "xiaoqin.zhu.4@gmail.com" ]
xiaoqin.zhu.4@gmail.com