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
a5d12a155ee80b50e6db313a688f1718a5fcc5a9
32eeb97dff5b1bf18cf5be2926b70bb322e5c1bd
/benchmark/movianremote/testcase/firstcases/testcase3_026.py
2eba182513b6be7c54e360d4b42691e24bf55512
[]
no_license
Prefest2018/Prefest
c374d0441d714fb90fca40226fe2875b41cf37fc
ac236987512889e822ea6686c5d2e5b66b295648
refs/heads/master
2021-12-09T19:36:24.554864
2021-12-06T12:46:14
2021-12-06T12:46:14
173,225,161
5
0
null
null
null
null
UTF-8
Python
false
false
9,409
py
#coding=utf-8 import os import subprocess import time import traceback from appium import webdriver from appium.webdriver.common.touch_action import TouchAction from selenium.common.exceptions import NoSuchElementException, WebDriverException desired_caps = { 'platformName' : 'Android', 'deviceName' : 'Android Emulat...
[ "prefest2018@gmail.com" ]
prefest2018@gmail.com
90030957d0a8b86aca542b255cb10573bd5794a9
31e9ae0b5431fdb643f228713001d052e93b303d
/flask_unchained/forms/validators.py
fb8290c321e55ba3982b622ac8398b75eee1fd34
[ "MIT" ]
permissive
briancappello/flask-unchained
b35215b6e150febf8d00fd0164b49d355eae66e6
a1f1323f63f59760e430001efef43af9b829ebed
refs/heads/master
2023-05-13T09:11:14.745523
2022-04-03T00:27:09
2022-04-03T00:27:09
115,440,840
77
9
MIT
2023-05-01T23:40:25
2017-12-26T17:13:24
Python
UTF-8
Python
false
false
96
py
from flask_wtf.file import FileAllowed, FileRequired, FileSize from wtforms.validators import *
[ "briancappello@gmail.com" ]
briancappello@gmail.com
f91b55ec00c84a171b7ef334cb54ec1a4add44ed
b33ddc7b89d05e19fdeb69593872fd174fab9f4f
/URI-py/2520a.py
87d865aa4aae7d32dbe28a595c66d619f9542e3b
[]
no_license
ThiagoCComelli/URI-Online-Judge
8b8d609d880342b39ba0d396c0610ecb7e01a5af
5348f736b2d683f4b857232c22cccb7c1d8b8d65
refs/heads/master
2020-07-23T15:14:05.353948
2020-03-10T19:42:12
2020-03-10T19:42:12
207,606,956
1
0
null
null
null
null
UTF-8
Python
false
false
786
py
# -*- coding: utf-8 -*- while True: try: n,m = [int(x) for x in input().split()] lista = [] a = 0 b = 0 lista1 = [] lista2 = [] lista3 = [] for i in range(n): lista.append([int(x) for x in input().split()]) for i in range(len(lista)...
[ "thiago.comelli@outlook.com" ]
thiago.comelli@outlook.com
99807557a16613d1e9a52417868f0c92aabaf9f8
3940b4a507789e1fbbaffeb200149aee215f655a
/lc/1832.CheckIfTheSentenceIsPangram.py
32b154e7d1bd4e1cb3fe59f18af9a82760a895d9
[]
no_license
akimi-yano/algorithm-practice
15f52022ec79542d218c6f901a54396a62080445
1abc28919abb55b93d3879860ac9c1297d493d09
refs/heads/master
2023-06-11T13:17:56.971791
2023-06-10T05:17:56
2023-06-10T05:17:56
239,395,822
0
0
null
null
null
null
UTF-8
Python
false
false
945
py
# 1832. Check if the Sentence Is Pangram # Easy # 66 # 0 # Add to List # Share # A pangram is a sentence where every letter of the English alphabet appears at least once. # Given a string sentence containing only lowercase English letters, return true if sentence is a pangram, or false otherwise. # Example 1: ...
[ "akimi.mimi.yano@gmail.com" ]
akimi.mimi.yano@gmail.com
f51a8b4d78cea86f8c6db59b5927055f7b591891
d41d18d3ea6edd2ec478b500386375a8693f1392
/plotly/validators/layout/xaxis/rangeselector/button/_stepmode.py
64cc451271fb54a7c541f1f6ef14b4f31d0573d9
[ "MIT" ]
permissive
miladrux/plotly.py
38921dd6618650d03be9891d6078e771ffccc99a
dbb79e43e2cc6c5762251537d24bad1dab930fff
refs/heads/master
2020-03-27T01:46:57.497871
2018-08-20T22:37:38
2018-08-20T22:37:38
145,742,203
1
0
MIT
2018-08-22T17:37:07
2018-08-22T17:37:07
null
UTF-8
Python
false
false
511
py
import _plotly_utils.basevalidators class StepmodeValidator(_plotly_utils.basevalidators.EnumeratedValidator): def __init__( self, plotly_name='stepmode', parent_name='layout.xaxis.rangeselector.button', **kwargs ): super(StepmodeValidator, self).__init__( ...
[ "adam.kulidjian@gmail.com" ]
adam.kulidjian@gmail.com
6936d3e4254ce8516812c56fae8f2b0cfdd5bb3c
8f5c1ad76f3f9aa67d6720154b4884c9fab2ecbc
/toontown/suit/DistributedSuit.py
31fa50fb5df51556482b02c7ee23ca6c0598576b
[]
no_license
RegDogg/ttr-2014-dev
eb0d9da3e91b9504b83804c27e1a00d87a0b7220
8a392ea4697cf15bd83accd01dcf26d0f87557eb
refs/heads/master
2023-07-13T02:40:56.171517
2021-07-12T00:31:28
2021-07-12T00:31:28
372,103,145
2
0
null
null
null
null
UTF-8
Python
false
false
25,726
py
from pandac.PandaModules import * from direct.interval.IntervalGlobal import * from direct.distributed.ClockDelta import * from direct.directtools.DirectGeometry import CLAMP from direct.task import Task from otp.avatar import DistributedAvatar import Suit from toontown.toonbase import ToontownGlobals from toontown.bat...
[ "regdogg.acr@gmail.com" ]
regdogg.acr@gmail.com
9c73175eab6073df14a8204dd7342180d9ef43ec
3c20f43fe658ee4123aa47548a1fed4d7852670a
/postgretest/wsgi.py
13396466cf74ecbc61c94d93a9f1e37051e6e5bb
[]
no_license
Jordan-Ak/Postgresql_setup
47a8bac3a62ce81582116bac9c3419fa783ff6ef
5427f65de63911ed40cc866f10f6a21877d4af44
refs/heads/master
2023-03-26T09:54:57.213028
2021-03-24T08:10:51
2021-03-24T08:10:51
350,995,114
0
0
null
null
null
null
UTF-8
Python
false
false
399
py
""" WSGI config for postgretest 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.1/howto/deployment/wsgi/ """ import os from django.core.wsgi import get_wsgi_application os.environ.setdefault('DJANGO_S...
[ "JosiahDavid98@gmail.com" ]
JosiahDavid98@gmail.com
b3b43555f0df6f58886f9e05854ba2ebb887715f
5cf745769b0f891aca2198ace8935dce5221ec48
/anima/rez_packages/resolve/17.4.3/package.py
e2646c27056c9ada1759edb15a496b39cd4cd30f
[ "MIT" ]
permissive
jangcode/anima
d827672e45275f52727d66cd915bc5c2f3a0ede6
59ddfe76004626fc8142918b27d15e7759372854
refs/heads/master
2022-05-31T14:40:41.703689
2022-05-12T00:30:36
2022-05-12T00:30:36
94,961,144
0
0
null
2017-06-21T04:00:09
2017-06-21T04:00:09
null
UTF-8
Python
false
false
1,199
py
# -*- coding: utf-8 -*- name = "resolve" version = "17.4.3" author = ["Erkan Ozgur Yilmaz"] uuid = "86791641abc04a189b2177f4eff55327" description = "DaVinci Resolve package" requires = [ "python", "pyside2", "anima", ] variants = [ ["python-2"], ["python-3"], ] build_command = "python {root}...
[ "eoyilmaz@gmail.com" ]
eoyilmaz@gmail.com
6b30ff421722f621c0fae728aa28f336fdb80fd6
47dfa145704444bb62d9e6e4f4163bde13abdbd5
/fancy/eventbus/event_bus.py
1769aa881e988abb23ba73cfb8737db1a3888b3f
[ "LicenseRef-scancode-unknown-license-reference", "MIT" ]
permissive
susautw/fancy-eventbus
1c2e4e8d64c2726e2f5ac373a91f2218c1ad2500
8c2c693538906c35ae87e12ec8a66f2e5d31f86b
refs/heads/master
2022-12-02T01:05:17.403909
2020-08-21T12:59:06
2020-08-21T12:59:06
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,917
py
from typing import Dict, List from fancy.eventbus import EventListener, EventScheduler from fancy.eventbus.scheduler import SchedulerBase class EventBus: _scheduler: SchedulerBase[EventListener] event_listener_map: Dict[type, List[EventListener]] default_bus: 'EventBus' = None @classmethod def ...
[ "susautw@gmail.com" ]
susautw@gmail.com
1e8cb8a12175625244c6506cd6d7aeaf2a555bdb
700fe1a57d6306171f17f012587c938ba49f0212
/rpg/view.py
23ab9a1122ea2d88bcbf5b6f4429aca3e7e11b6b
[]
no_license
Michaelllllll25/class-rpg-game
cfd850bc8ac6a8c6bb549ad77825eed3ba5d3228
4229124bbaa170b5bbaf29f7588ee8af20dc11ba
refs/heads/main
2023-09-06T02:14:34.161346
2021-11-15T19:24:02
2021-11-15T19:24:02
null
0
0
null
null
null
null
UTF-8
Python
false
false
796
py
from typing import List import pygame class View: """A pseudo-interface for views that can be used in the game class.""" def event_loop(self, events: List[pygame.event.Event]) -> None: """View-specific event loop for key-bindings""" raise NotImplementedError("You need to override the 'event_...
[ "daniel.gallo@ycdsbk12.ca" ]
daniel.gallo@ycdsbk12.ca
d223cdd0d3cbce60464d864107e23cc94170871c
118984fdbacf5eb71159eb511ccd055987498886
/CH10/EX10.31.py
8c3cce27c8f1ea9df7d33ec5deeecf9e903c37df
[]
no_license
6igsm0ke/Introduction-to-Programming-Using-Python-Liang-1st-edtion
321c6256be6ff78adbc8e3ddc73f2f43a51a75ab
159489f3af296f87469ddddf3a1cb232917506b0
refs/heads/master
2023-06-05T20:03:17.951911
2021-06-18T18:04:42
2021-06-18T18:04:42
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,062
py
# 10.31 (Occurrences of each digit in a string) Write a function that counts the occurrences # of each digit in a string using the following header: # def count(s): # The function counts how many times a digit appears in the string. The return # value is a list of ten elements, each of which holds the count for a digit...
[ "47993441+OmarAlmighty@users.noreply.github.com" ]
47993441+OmarAlmighty@users.noreply.github.com
8924c14bbaee7e2b250f6cbb42e3cdb4e97cdd76
5e3e7cf49dd6c25770066739699f7e5d7dc0d2c7
/lstark/lstark/urls.py
1bb63941e58367d4b7dc52bedc453ff74b5287ce
[]
no_license
veujs/CRM
a2830c9954c11d24fe3f9cb2b74c1d2273ece28e
b2e9219bdae1201dd9ace74b4456141fad2cba4b
refs/heads/master
2021-05-21T08:55:25.726450
2020-04-03T03:51:19
2020-04-03T03:51:19
252,626,250
0
0
null
null
null
null
UTF-8
Python
false
false
748
py
"""lstark URL Configuration The `urlpatterns` list routes URLs to views. For more information please see: https://docs.djangoproject.com/en/3.0/topics/http/urls/ Examples: Function views 1. Add an import: from my_app import views 2. Add a URL to urlpatterns: path('', views.home, name='home') Class-based ...
[ "624040034@qq.com" ]
624040034@qq.com
4ee7fe861e8995c8351d3a5f977b4130187ac57b
260133e46c0c88fd20f2ed18309c5f46508b7fb9
/opengever/api/users.py
65100d01e8db0b06da8ab5d5773d5f00f43f9c8d
[]
no_license
robertmuehsig/opengever.core
4180fbea1436fade9b33232a293b0d43ebfc6c51
63b3747793d5b824c56eb3659987bb361d25d8d8
refs/heads/master
2020-09-08T14:55:00.340222
2019-11-08T10:16:02
2019-11-08T10:16:02
221,163,734
0
0
null
2019-11-12T08:08:59
2019-11-12T08:08:54
null
UTF-8
Python
false
false
877
py
from plone import api from plone.restapi.services.users.get import UsersGet class GeverUsersGet(UsersGet): """Customize permissions to enumarate and query user information. By default its protected with `manage portal` permission, but in GEVER all users should be able to enumarate, query or access user i...
[ "philippe.gross@4teamwork.ch" ]
philippe.gross@4teamwork.ch
11d20a2a42da4e748a24529582b4d8a926ece82d
be026334d457b1f78050f8262cd693922c6c8579
/onnxruntime/test/testdata/transform/qdq_conv_gen.py
9d26b42e820b6f43455e7e6005b854bc59b55d8b
[ "MIT" ]
permissive
ConnectionMaster/onnxruntime
953c34c6599c9426043a8e5cd2dba05424084e3b
bac9c0eb50ed5f0361f00707dd6434061ef6fcfe
refs/heads/master
2023-04-05T00:01:50.750871
2022-03-16T15:49:42
2022-03-16T15:49:42
183,019,796
1
0
MIT
2023-04-04T02:03:14
2019-04-23T13:21:11
C++
UTF-8
Python
false
false
2,177
py
import onnx from onnx import helper from onnx import TensorProto # Generate a basic QDQ Conv model with `num_convs` Conv nodes and their surrounding DQ/Q nodes def GenerateModel(model_path, num_convs): nodes = [] initializers = [] inputs = [] outputs = [] for i in range(num_convs): def na...
[ "noreply@github.com" ]
ConnectionMaster.noreply@github.com
ce24ba67d8f5e65ecdbe5a03cec6ad5c397e0e81
0f502992807cfc5547c5481c20a9e22992bca1e6
/low5/file/Administrators.py
490c75e77166f0c2f0c77bdd127745df57aaaed4
[]
no_license
zpwlow/study
38ca2dc4f120fa17e7fd211cf3bb740300506b2c
20c693d67170560070bd079fb1283d13c4882fc2
refs/heads/master
2022-12-28T12:38:34.670674
2020-10-09T05:29:15
2020-10-09T05:29:15
302,217,039
1
0
null
null
null
null
UTF-8
Python
false
false
173,670
py
""" 作者:钟培望 名称:具体人工智能沉浸式学习系统管理员端 时间:2020.4.30 """ from PyQt5.QtWidgets import QWidget, QLabel, QPushButton, QGridLayout from PyQt5.QtWidgets import QApplication from PyQt5.QtCore import Qt from captcha.image import ImageCaptcha from PyQt5.QtGui import QFont from PyQt5.QtCore import * from PyQt5 import QtCor...
[ "315320819@qq.com" ]
315320819@qq.com
133a679f21c28752675651c876492307c71f99c2
cc9820ebc602f4d41ade0f6fd5e17a90ad5fcb56
/contrib/zmq/piped_zmq/mongrel2_processors.py
d7c902594f7138ca836baa2006e3997a4fe0b3bf
[ "MIT" ]
permissive
foundit/Piped
2ed86e30709fd98a9245c620bd48b5795bc600d1
78cb485772e353622c5b939f4c1560dfe37464f6
refs/heads/develop
2021-01-01T05:34:22.137664
2017-07-13T20:46:33
2017-07-13T20:46:33
1,893,880
8
4
null
2015-05-29T10:19:26
2011-06-14T11:19:39
Python
UTF-8
Python
false
false
5,025
py
# Copyright (c) 2010-2011, Found IT A/S and Piped Project Contributors. # Parts Copyright (c) 2010, Zed A. Shaw and Mongrel2 Project Contributors. # See LICENSE for details. """ Utility processors that are especially useful in ZMQ contexts. """ import json import urlparse import zmq from zope import interface from p...
[ "njal@karevoll.no" ]
njal@karevoll.no
8e88365f3bd779f18cbc22eb893965c4bb8040c2
2feea16ff9e2e59ac0e14a344c13b7c92004c6a8
/vote/migrations/0001_initial.py
0c91639392329be21d6a9df84f967971f53bbbd1
[]
no_license
ThanHuuTuan/social-network-website
6a5f74c00a00f8b804de81bf7e32e0ba00beb14b
363803df2516864e4dd97a43f7d77d8c514a9c94
refs/heads/master
2020-09-13T10:41:15.585405
2018-01-14T09:03:44
2018-01-14T09:03:44
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,002
py
# -*- coding: utf-8 -*- # Generated by Django 1.10.1 on 2016-09-23 03:42 from __future__ import unicode_literals from django.conf import settings from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): initial = True dependencies = [ migratio...
[ "tranphong96.hbk@gmail.com" ]
tranphong96.hbk@gmail.com
80f72925867fbfc6e6e34f1febd2942905c3dea4
acb8e84e3b9c987fcab341f799f41d5a5ec4d587
/langs/4/j75.py
b85c6a298bb5d546c269f02554657ff5d141d18c
[]
no_license
G4te-Keep3r/HowdyHackers
46bfad63eafe5ac515da363e1c75fa6f4b9bca32
fb6d391aaecb60ab5c4650d4ae2ddd599fd85db2
refs/heads/master
2020-08-01T12:08:10.782018
2016-11-13T20:45:50
2016-11-13T20:45:50
73,624,224
0
1
null
null
null
null
UTF-8
Python
false
false
486
py
import sys def printFunction(lineRemaining): if lineRemaining[0] == '"' and lineRemaining[-1] == '"': if len(lineRemaining) > 2: #data to print lineRemaining = lineRemaining[1:-1] print ' '.join(lineRemaining) else: print def main(fileName): with open(fileName) as f: for line in f: ...
[ "juliettaylorswift@gmail.com" ]
juliettaylorswift@gmail.com
07a1628fb7df74dbda9255ea2b962cc915a79877
dac6aba35a341afecc573ba1b1c48f1a3eb09e00
/test/functional/tool_wallet.py
64e354a9c7e295c7165d671ac33424a68ce5397c
[ "MIT" ]
permissive
minblock/icountcoins
dd28fadc958245ac171ec523ec2a8b3c473b7946
8575ece9bed59101e0e753cb762ce6165b625dbe
refs/heads/master
2021-05-22T02:24:49.713242
2020-04-04T06:32:45
2020-04-04T06:32:45
252,926,856
0
0
null
null
null
null
UTF-8
Python
false
false
3,835
py
#!/usr/bin/env python3 # Copyright (c) 2018 The Bitcoin Core developers # Distributed under the MIT software license, see the accompanying # file COPYING or http://www.opensource.org/licenses/mit-license.php. """Test bitcoin-wallet.""" import subprocess import textwrap from test_framework.test_framework import Bitcoin...
[ "POSTMASTER@provgn.com" ]
POSTMASTER@provgn.com
7214f6e7f197af821c8176e654a27a8b3434cc11
ca7aa979e7059467e158830b76673f5b77a0f5a3
/Python_codes/p04012/s001697139.py
922318af2943bf7e13412ce29538a186a66d538a
[]
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
69
py
W = input() print("Yes" if all(W.count(w)%2==0 for w in W) else "No")
[ "66529651+Aastha2104@users.noreply.github.com" ]
66529651+Aastha2104@users.noreply.github.com
158506f682d64d210cc6f22b146317634efbfb1c
9ba5d85bc644cc586abc29b6c82047deb4caea1f
/leetcode/228.汇总区间.py
7c3a2496c51dfce124d13f0dd5bbc357bba579da
[ "MIT" ]
permissive
Data-Designer/Leetcode-Travel
f01dda19a1e37a2ba9da42e8ecda304c73645d99
147cf44904ce73cd4fd1cecf33f1ac8a336b0e6f
refs/heads/master
2023-07-30T22:54:53.101323
2021-09-14T04:34:08
2021-09-14T04:34:08
366,757,874
2
0
null
null
null
null
UTF-8
Python
false
false
861
py
''' Description: version: Author: Data Designer Date: 2021-05-05 12:50:26 LastEditors: Data Designer LastEditTime: 2021-05-05 13:21:09 ''' # # @lc app=leetcode.cn id=228 lang=python3 # # [228] 汇总区间 # # @lc code=start class Solution: def summaryRanges(self, nums: List[int]) -> List[str]: if not nums: ...
[ "zc_dlmu@163.com" ]
zc_dlmu@163.com
0be3d2109326449942e5f67d8544cb116227a7fb
7249970977cdbc5ffae9502278ec3a75f420b46c
/portfolio-project/portfolio/settings.py
0f8a34cb3dfaeef86b75918c2a5ccebf0f49057e
[]
no_license
Abepena/Django-Projects
b899c72e0a73a46f8222ceddf380b52b5a6fcc1c
d4e01e45b0a0a969200a18333a4d67880282e604
refs/heads/master
2020-03-22T04:45:54.971020
2018-10-10T22:13:24
2018-10-10T22:13:24
139,519,642
0
0
null
2018-10-10T20:01:02
2018-07-03T02:45:18
Python
UTF-8
Python
false
false
3,876
py
""" Django settings for portfolio project. Generated by 'django-admin startproject' using Django 2.0.2. For more information on this file, see https://docs.djangoproject.com/en/2.0/topics/settings/ For the full list of settings and their values, see https://docs.djangoproject.com/en/2.0/ref/settings/ """ import os ...
[ "pena.abe@gmail.com" ]
pena.abe@gmail.com
d9888d76bef83c54e8dbedd20f2fe17a31bbee79
229a7f69999fbb5da88f01d11f22cf77af79a999
/adobjects/eventsourcegroup.py
ef77fa9d093abebf41b8e50fd46a66c1a14061e3
[]
no_license
DaehwanCho/facebookads_v2
0f86549ab83c1adef677d831c0c16529c701c364
5ca5476a5e5a13b21ed6e9386133ba901b926b87
refs/heads/master
2023-03-19T07:58:56.961368
2020-04-28T19:06:45
2020-04-28T19:06:45
null
0
0
null
null
null
null
UTF-8
Python
false
false
5,158
py
# Copyright 2014 Facebook, Inc. # You are hereby granted a non-exclusive, worldwide, royalty-free license to # use, copy, modify, and distribute this software in source code or binary # form for use in connection with the web services and APIs provided by # Facebook. # As with any software that integrates with the Fa...
[ "ian@fitbod.me" ]
ian@fitbod.me
52c8f2a820bda42733e06cec9bba1d815e472589
6223dc2e5de7921696cb34fb62142fd4a4efe361
/.metadata/.plugins/org.eclipse.core.resources/.history/1b/a0d512aaa564001418adf2b9b78fa3c6
e912e3611ab82e431dc342e23e802cb7fff09fcd
[]
no_license
Mushirahmed/python_workspace
5ef477b2688e8c25b1372f546752501ee53d93e5
46e2ed783b17450aba29e4e2df7b656522b2b03b
refs/heads/master
2021-03-12T19:24:50.598982
2015-05-25T10:23:54
2015-05-25T10:23:54
24,671,376
0
1
null
2015-02-06T09:27:40
2014-10-01T08:40:33
Python
UTF-8
Python
false
false
2,485
#!/usr/bin/env python # # Copyright 2014 <+YOU OR YOUR COMPANY+>. # # This is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation; either version 3, or (at your option) # any later version. # # This software is dis...
[ "imushir@gmail.com" ]
imushir@gmail.com
0b675c38b7c247e3a694123ac24a2c167d6e6da1
e413e4020617f2645f7f3ed89ec698183c17e919
/ftkPipeline/Scriptv3/a051_RunResc8bit.py
9aa8cd9eda49570b5bbc7048c96e0a31e58b5df4
[]
no_license
YanXuHappygela/Farsight-latest
5c349421b75262f89352cc05093c04d3d6dfb9b0
021b1766dc69138dcd64a5f834fdb558bc558a27
refs/heads/master
2020-04-24T13:28:25.601628
2014-09-30T18:51:29
2014-09-30T18:51:29
24,650,739
1
0
null
null
null
null
UTF-8
Python
false
false
1,248
py
#!/usr/bin/env python # -*- coding: utf-8 -*- import shutil import fnmatch import os import subprocess import os.path # --------------------------------------------------------------------------------------------------------------------------------------- # Create Folder # --------------------------------------------...
[ "xy198908@gmail.com" ]
xy198908@gmail.com
943a2f8d43d78bf7c8120d223d6f9de88072deb3
f5f30ff2885f946949dfbcd6f8e4bfa25dbdcb63
/quote_balance/console_scripts.py
ffbdc0a825d5b1dc411593d98e5149e980a11e3b
[ "BSD-2-Clause" ]
permissive
edelooff/quote-balance
bae22586344550e0acd6b1ffcb4ad0462eb64b26
94ea1fb2b645a711ccf804ee6c69eac572f4d645
refs/heads/master
2020-04-02T06:52:25.804009
2016-08-05T22:24:49
2016-08-05T22:29:56
65,052,820
1
0
null
null
null
null
UTF-8
Python
false
false
1,537
py
import argparse import os from . import tree_walker, check_file_balance def arg_config(): parser = argparse.ArgumentParser() parser.add_argument('target', type=str, help='Target to check for balance') parser.add_argument( '-e', '--ext', action='append', dest='file_exts', h...
[ "elmer.delooff@gmail.com" ]
elmer.delooff@gmail.com
291a51b21e6c5e3ce63ee64a2403c7199f465326
83bacfbdb7ad17cbc2fc897b3460de1a6726a3b1
/v8_4_8/src/js/macros.py
a4370d2181ceeeedaa1c3f87890c55847886e211
[ "Apache-2.0" ]
permissive
cool2528/miniblink49
d909e39012f2c5d8ab658dc2a8b314ad0050d8ea
7f646289d8074f098cf1244adc87b95e34ab87a8
refs/heads/master
2020-06-05T03:18:43.211372
2019-06-01T08:57:37
2019-06-01T08:59:56
192,294,645
2
0
Apache-2.0
2019-06-17T07:16:28
2019-06-17T07:16:27
null
UTF-8
Python
false
false
14,743
py
# Copyright 2006-2009 the V8 project authors. All rights reserved. # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the following conditions are # met: # # * Redistributions of source code must retain the above copyright # notice, this list of co...
[ "22249030@qq.com" ]
22249030@qq.com
4029206a74cb0e31e10ca7e3dc30388fad608155
d8c758b6220c784b5b7fde8b0ddcacf76a6c3966
/preprocess.py
ce66075c09090770a4c355529cc0f67318e7f9e6
[]
no_license
RitaRamo/crawling_with_scrapy
b41de09c4d257f36d9f3b95b82d972beda649ad6
d96e7738bf741746ea41b8c6f08a1e7a0c15cee0
refs/heads/master
2020-05-14T09:00:07.333829
2019-04-16T17:25:59
2019-04-16T17:25:59
181,732,603
0
0
null
null
null
null
UTF-8
Python
false
false
697
py
from bs4 import BeautifulSoup, Comment TAGS_BLACKLIST = ['noscript', 'script', 'style', 'input', 'textarea', 'iframe', 'footer', 'form'] def extract(to_remove): for element in to_remove: element.extract() def remove_tags(soup): for tag_name in TAGS_BLACKLIST: tag_elements ...
[ "rita.mparada.ramos@gmail.com" ]
rita.mparada.ramos@gmail.com
7de4c23a140f42cdbbba5ae0609eea20d1f3982d
6fa7f99d3d3d9b177ef01ebf9a9da4982813b7d4
/FLgJEC8SK2AJYLC6y_5.py
95cbe236aa1c401c0102c41ea9671e92e21d7f3c
[]
no_license
daniel-reich/ubiquitous-fiesta
26e80f0082f8589e51d359ce7953117a3da7d38c
9af2700dbe59284f5697e612491499841a6c126f
refs/heads/master
2023-04-05T06:40:37.328213
2021-04-06T20:17:44
2021-04-06T20:17:44
355,318,759
0
0
null
null
null
null
UTF-8
Python
false
false
130
py
def possible_path(lst): d={1:[2],2:[1,'H'],3:[4],4:[3,'H'],'H':[2,4]} return all(x[1] in d[x[0]] for x in zip(lst,lst[1:]))
[ "daniel.reich@danielreichs-MacBook-Pro.local" ]
daniel.reich@danielreichs-MacBook-Pro.local
c1eb78f39db51e874a025f85beefc14e2d389f5d
29bec83fc600720533ad2bcf17fc90cd9ca385b7
/0x08-python-more_classes/practice/robot_OOP.py
5b5b54edc1869105b2e61134ab53bd08432d656e
[]
no_license
VictorZ94/holbertonschool-higher_level_programming
73a7f504cde583f43f641e18e692e062610870a4
ad512a1c76dc9b4c999a0ba2922c79f56206dd98
refs/heads/master
2023-03-25T04:38:12.708766
2021-03-24T01:08:47
2021-03-24T01:08:47
291,826,914
1
0
null
null
null
null
UTF-8
Python
false
false
1,169
py
class Robot: def __init__(self, name=None, build_year=None): self.__name = name #self.filds = Variable self.__build_year = build_year def say_hi(self): if self.__name: print("Hi, I am " + self.__name) else: print("Hi, I am a robot without ...
[ "zrvictor@outlook.com" ]
zrvictor@outlook.com
f95375117f862312092b749273bda0520902399b
ed8bf8d548326cd80232a33fcae3135d4d4f4a1a
/examples/fauxware/solve.py
579b296941c35da392b1453748e2f4e57d4759b5
[]
no_license
symeonp/angr-doc
480826e51cb16a5c007178f80073865fc0d92393
5d69aa70eb586cd064800cc27e6e336dd9908874
refs/heads/master
2021-01-12T22:46:19.390386
2016-01-05T20:49:22
2016-01-05T20:49:22
48,951,994
0
0
null
2016-01-03T16:08:32
2016-01-03T16:08:32
null
UTF-8
Python
false
false
4,003
py
#!/usr/bin/env python import angr # Look at fauxware.c! This is the source code for a "faux firmware" (@zardus # really likes the puns) that's meant to be a simple representation of a # firmware that can authenticate users but also has a backdoor - the backdoor # is that anybody who provides the string "SOSNEAKY" as ...
[ "andrew@andrewdutcher.com" ]
andrew@andrewdutcher.com
266c5d137ecfc7ac54c4b637fa660fd3a6e375bc
c548c10c4fd0b6c1d1c10cc645cb3b90b31f2de6
/keras/keras42_fashion3_dnn.py
b24254a02eed1096ea29ddb4a30732584ecef8aa
[]
no_license
sswwd95/Study
caf45bc3c8c4301260aaac6608042e53e60210b6
3c189090c76a68fb827cf8d6807ee1a5195d2b8b
refs/heads/master
2023-06-02T21:44:00.518810
2021-06-26T03:01:26
2021-06-26T03:01:26
324,061,105
0
0
null
null
null
null
UTF-8
Python
false
false
1,574
py
import numpy as np # 1. 데이터 from tensorflow.keras.datasets import fashion_mnist (x_train,y_train), (x_test, y_test) = fashion_mnist.load_data() print(np.max(x_train)) #255 print(x_train.shape) #(60000, 784) x_train = x_train.reshape(x_train.shape[0], x_train.shape[1]*x_train.shape[2])/255. x_test = x_test.reshape(...
[ "sswwd95@gmail.com" ]
sswwd95@gmail.com
919c37e138ed7feb88aba280acbd325e04ef7f4d
1678a0c3792eaccaff4888b704a99545515cc415
/test.py
cb50b30f521e231c46c5d2d01e489411c489115b
[]
no_license
jsvrcek/example-app
60363eefaf958588170994e830f1a11cc89188b6
a1ff75541f9d82efcd5c98833e61d16d7da6a22b
refs/heads/master
2021-01-01T16:09:20.424676
2017-07-20T02:25:00
2017-07-20T02:25:00
97,781,142
0
1
null
null
null
null
UTF-8
Python
false
false
51
py
from mapproxy.proj import Proj print("It worked.")
[ "joseph.svrcek@rgi-corp.com" ]
joseph.svrcek@rgi-corp.com
95be7252f67172d4c7b2ad4c779fed9aae242eec
ad129f7fc03f10ef2b4734fa2c2b9cb9367c84fa
/Aula 12 - Condições - pt2/Exe041.py
595c27c7c25edb398fae7f0dee375ccdf3f19084
[]
no_license
LucasDatilioCarderelli/Exercises_CursoemVideo
c6dc287d7c08a0349867a17185474744513dbaac
67c2d572a4817a52dababbca80513e4b977de670
refs/heads/master
2022-03-31T20:20:52.827370
2020-01-27T13:15:19
2020-01-27T13:15:19
236,491,751
0
0
null
null
null
null
UTF-8
Python
false
false
581
py
# Exe041 - Digite o ano de nascimento e clasifique-o em que faixa está, # sendo: mirim(até 9), infantil(até 14), júnior(até 19), sênior(até 25), master(acima 25). from datetime import date nasceu = int(input('Em que ano nasceu?: ')) idade = (date.today().year) - nasceu print('O atleta tem {} anos'.format(idade)) if id...
[ "noreply@github.com" ]
LucasDatilioCarderelli.noreply@github.com
2a83c3d9eaab8aa74b431a89b46b8e95525c4c5b
2e359c77bd9b8b1b7955b3ae5117191fa650ab72
/app/main/views.py
500475eb9d2dcf72fd2530f674d5410de279e1e7
[]
no_license
sknewgiser/myFlasky
e60baddafe415ee01102f856a1e183164d7377c3
0ff7ad2bb5a75eb4350e424a1f4cd4ba434681e9
refs/heads/master
2020-05-01T11:02:08.497161
2016-06-27T14:07:10
2016-06-27T14:07:10
177,432,719
1
0
null
2019-03-24T15:25:20
2019-03-24T15:25:20
null
UTF-8
Python
false
false
1,313
py
# !/usr/bin/python # -*- coding: utf-8 -*- from datetime import datetime from flask import render_template, session, redirect, url_for, current_app from . import main from .forms import NameForm from .. import db from ..models import User from ..email import send_email @main.route('/', methods=['GET', 'POST']) def i...
[ "lyp_login@outlook.com" ]
lyp_login@outlook.com
3210db8214dc6c06c0da700000a852edc5f5602d
080c13cd91a073457bd9eddc2a3d13fc2e0e56ae
/MY_REPOS/awesome-4-new-developers/tensorflow-master/tensorflow/python/keras/engine/training_dataset_test.py
a5da76fe9a4f3a18cb91db9b8697a498fc03a8af
[ "Apache-2.0" ]
permissive
Portfolio-Projects42/UsefulResourceRepo2.0
1dccc8961a09347f124d3ed7c27c6d73b9806189
75b1e23c757845b5f1894ebe53551a1cf759c6a3
refs/heads/master
2023-08-04T12:23:48.862451
2021-09-15T12:51:35
2021-09-15T12:51:35
null
0
0
null
null
null
null
UTF-8
Python
false
false
23,251
py
# Copyright 2018 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 applica...
[ "bryan.guner@gmail.com" ]
bryan.guner@gmail.com
ae94884792fb67ba8b1484f778a5f874b1a2b6e3
15f321878face2af9317363c5f6de1e5ddd9b749
/solutions_python/Problem_75/120.py
2d9966f5134b7b96b15e6ca0d0a8fa742d9cb581
[]
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
770
py
N = int(input()) for num in range(1, N + 1): inp = input().split() combine = {} opposed = set() i = int(inp[0]) for j in range(1, 1 + i): combine[inp[j][:2]] = inp[j][2] combine[inp[j][1::-1]] = inp[j][2] i = i + 1 for j in range(i + 1, i + 1 + int(inp[i])): opposed....
[ "miliar1732@gmail.com" ]
miliar1732@gmail.com
d2e6eca292c9df91bd4fd6422e9ed3c0ece225d7
ba719722e890a7822a5533a8b6efd06cc776b17e
/Maricopa_County/fitlering Script/Surprise_85379_Maricopa_AZ.py
bd60aa3e5d180bd3dad8fa1438bf1c0cc4ca2866
[]
no_license
devhadisov/python_selenium_zillow
9c80566d829721dce952ab4d7a285d1fd970fe19
e0b4f7243b548404912bdcdce4bcdf7168413242
refs/heads/master
2022-12-24T17:14:32.903874
2020-09-24T20:20:25
2020-09-24T20:20:25
298,384,758
1
0
null
null
null
null
UTF-8
Python
false
false
7,459
py
import selenium from selenium import webdriver from selenium.webdriver import Chrome from selenium.webdriver.common.by import By from selenium.webdriver.common.action_chains import ActionChains from selenium.webdriver.support.ui import Select from selenium.webdriver.support.ui import WebDriverWait from selenium.webdriv...
[ "dev.hadisov@gmail.com" ]
dev.hadisov@gmail.com
cbd26b08ee6593f7a3a03c14c4a0e1c7a1051d0e
d4f9a423353fe79cf8824a8407690655fc1379fe
/django/virtualenv/django/lib/python2.7/site-packages/ansible-2.2.0-py2.7.egg/ansible/modules/core/cloud/amazon/ec2_vpc_net.py
54c4307b23fbb49c7a790688d76832fd66210634
[]
no_license
007root/python
9ab62d433d17c8bb57622fd1d24a3b17cb3d13ad
16bf729e5824555eab0c9de61ce6b8b055551bd1
refs/heads/master
2020-06-23T09:43:05.308328
2020-06-09T08:31:20
2020-06-09T08:31:20
74,656,519
9
1
null
null
null
null
UTF-8
Python
false
false
10,137
py
#!/usr/bin/python # This file is part of Ansible # # Ansible is free software: you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation, either version 3 of the License, or # (at your option) any later version. # # Ansible is distributed...
[ "wangzhishuai@gstianfu.com" ]
wangzhishuai@gstianfu.com
c34bbc8a5f1f93bad4d3178bd354e23f55da7ac2
ca7aa979e7059467e158830b76673f5b77a0f5a3
/Python_codes/p03211/s089250300.py
e527a16181393649ce35c1070bbbf8b7f202f33e
[]
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
164
py
s = input() l = [] ans = 0 ans_l = [] for i in range(len(s)-2): l.append(s[i:i+3]) for i in l: ans = abs(int(i)-753) ans_l.append(ans) print(min(ans_l))
[ "66529651+Aastha2104@users.noreply.github.com" ]
66529651+Aastha2104@users.noreply.github.com
ccd944b721ea43533688111c8209f149fb569c3c
77d4d5a1881297dce3003560e04a2e39a97d4465
/code_chef/CHFCHK.py
9f69147f1b66643422b26f10a1330a0a89a919aa
[]
no_license
gomsterX/competitive_programming
c34820032c24532d62325a379590a22fa812159a
72ac1fe61604e5a5e41f336bb40377fd7e4738d7
refs/heads/master
2023-07-19T21:28:16.205718
2021-09-02T14:18:44
2021-09-02T14:18:44
271,074,320
0
0
null
null
null
null
UTF-8
Python
false
false
162
py
#Problem ID: CHFCHK #Problem Name: Chef Chick for _ in range(int(input())): n = input() l = list(map(int, input().split())) l.sort() print(l[0])
[ "mohamedmoussaa7@gmail.com" ]
mohamedmoussaa7@gmail.com
95d44e5cf23fbc42626c705a67cb6448244ae02e
5d7a3dc27540e04e5cb9c8f4742830c7fca188f0
/week-05/code/httpdate.py
3543de4e38136299f262df0feccd7d45d8775a8f
[]
no_license
PythonCHB/PythonIntroClass
1986e553390c6f3504e279cda23744ceacc3a292
b49d41bd04696d45ef4394b489de408cbd3b3d32
refs/heads/master
2020-12-24T17:35:31.408292
2014-10-16T18:09:21
2014-10-16T18:09:21
4,633,372
9
2
null
null
null
null
UTF-8
Python
false
false
872
py
#!/usr/bin/env python """ httpdate.py Module that provides a function that formats a date to the HTTP 1.1 spec """ import datetime def httpdate(dt): """Return a string representation of a date according to RFC 1123 (HTTP/1.1). :param dt" A python datetime object (in UTC (GMT) time zone) For e...
[ "PythonCHB@gmail.com" ]
PythonCHB@gmail.com
aaf2b4ad7020e6aa3c355fccb7edd6adbb177239
9b854d21fea95f24f7bde41e7a172e8a8a6327f9
/tensorflow/python/kernel_tests/control_flow_ops_py_test.py
ffc640d1ba3de86f218bb626b4434cc1b6448a2a
[ "Apache-2.0" ]
permissive
devsangwoo/tensor
84345bb05d969c732f70a8a64f2d070bf71d1f9b
066592c9f9cdf4acdd1b9b104766271133e9088e
refs/heads/master
2022-12-09T00:33:43.272931
2015-11-07T00:27:58
2020-01-10T07:33:06
232,987,148
1
0
NOASSERTION
2022-10-04T23:56:16
2020-01-10T07:06:05
C++
UTF-8
Python
false
false
228,890
py
<<<<<<< HEAD # 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 requir...
[ "devsangwoo@gmail.com" ]
devsangwoo@gmail.com
ad3b5cc29e3c09e2396b8cb83642293b368591b3
145d0449b8babd749b758986a93421f6f3c59f9b
/python/deque.py
c0d3c58d56bc104b27dab87ec658fcf21f257184
[ "MIT" ]
permissive
mattfenwick/DataStructures
cd5fcdbe2a1e2b473a4124fb3d747653b6a3f8eb
9de052e36fb709488282938e03b5fde8ac92bc1d
refs/heads/master
2020-05-07T12:01:25.079198
2014-03-08T15:39:07
2014-03-08T15:39:07
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,054
py
class Deque(object): def __init__(self, front=[], back=[]): self._front = front self._back = back def shift(self): if len(self._back) == 0: self._flip() if len(self._back) == 0: raise ValueError("can't shift empty deque") return self._ba...
[ "mfenwick100@gmail.com" ]
mfenwick100@gmail.com
9be6e535d23c0b05932d0b254e86036df8312e4b
9597e11aa9f9a57acea98361c2ba48f9d26332f2
/google/cloud/datastore_v1/services/datastore/transports/__init__.py
2d0659d9b786f35a986d5d147939f0bd0500b88f
[ "Apache-2.0" ]
permissive
renovate-bot/python-datastore
9fa781d788d7874e487afe0146bec87cd63db725
671dc4b2b49d185d49d6a3ae04ff12b926933ae4
refs/heads/master
2023-08-22T02:29:20.933250
2021-08-19T18:56:58
2021-08-19T18:56:58
238,816,263
1
0
Apache-2.0
2020-02-07T00:55:36
2020-02-07T00:55:36
null
UTF-8
Python
false
false
1,152
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 o...
[ "noreply@github.com" ]
renovate-bot.noreply@github.com
4c25c06ebf9b8bc22d801c7c29fd4d42b8ddc6ae
0354d8e29fcbb65a06525bcac1f55fd08288b6e0
/clients/python-flask/generated/swagger_server/models/cause_user_id_cause.py
4f8f7914fcde8ff4d44b2b4bcadc2c93c370d8ea
[ "MIT" ]
permissive
zhiwei55/swaggy-jenkins
cdc52956a40e947067415cec8d2da1425b3d7670
678b5477f5f9f00022b176c34b840055fb1b0a77
refs/heads/master
2020-03-06T20:38:53.012467
2018-02-19T01:53:33
2018-02-19T01:54:30
null
0
0
null
null
null
null
UTF-8
Python
false
false
3,831
py
# coding: utf-8 from __future__ import absolute_import from .base_model_ import Model from datetime import date, datetime from typing import List, Dict from ..util import deserialize_model class CauseUserIdCause(Model): """ NOTE: This class is auto generated by the swagger code generator program. Do not ...
[ "cliffano@gmail.com" ]
cliffano@gmail.com
8a410271a8a9c98e06529afd8c80fd2be884af94
2626f6e6803c8c4341d01f57228a0fe117e3680b
/students/BrandonHenson/Lesson04/run_mailroom.py
d9d651237457dcc3a3a439afbf85193f92bc7e52
[]
no_license
kmsnyde/SP_Online_Course2_2018
9e59362da253cdec558e1c2f39221c174d6216f3
7fe8635b47d4792a8575e589797260ad0a2b027e
refs/heads/master
2020-03-19T17:15:03.945523
2018-09-05T22:28:55
2018-09-05T22:28:55
136,750,231
0
0
null
2018-06-09T19:01:52
2018-06-09T19:01:51
null
UTF-8
Python
false
false
4,425
py
# Python 220 # Lesson 4 # 7-17-18 # !/usr/bin/env python3 import os from mailroom import Donor, Donor_list import json donor_history = Donor_list(Donor('Brandon Henson', [1005.49, 3116.72, 5200]), Donor('Alicia Henson', [21.47, 1500]), Donor(...
[ "kmsnyder2@verizon.net" ]
kmsnyder2@verizon.net
640bc6b34dd826a963ab60f2b4eeae22953d3bd8
9c48efbd0b87cb65d9002a4535d90cc0da7f7460
/07-esercizi/es5_mostra_rango.py
a26721b0f97ff3d92e252192d9e5f0799418f561
[]
no_license
amedina14/master-python
b439a69507f1e3be5c1b4e5a8001a582d66d03b7
12d3ba5aacbfca03a7966599afc4de41cb4af104
refs/heads/master
2023-02-24T09:27:23.793033
2021-02-01T15:27:13
2021-02-01T15:27:13
321,659,349
0
0
null
null
null
null
UTF-8
Python
false
false
305
py
""" Esercizio 5 Mostra numeri tra due numeri detti dall'utente """ num1 = int(input("Da numero 1: ")) num2 = int(input("A numero 2: ")) if num1 < num2: for i in range(num1,(num2 + 1)): print(i) else: print("Il numero 1 deve essere minore al numero 2") """ else: print("errore") """
[ "medinalarry96@gmail.com" ]
medinalarry96@gmail.com
78294a652cf01ce949f60aab43754fb91611ece2
8a7d5d67052892dd5d2a748282958f6244d963c6
/google-cloud-sdk/lib/googlecloudsdk/third_party/apis/iam/v1/iam_v1_messages.py
f816521bbcf038fba8f70203df97ef5df2d35ae8
[ "MIT", "LicenseRef-scancode-unknown-license-reference", "Apache-2.0" ]
permissive
KisleK/capstone
7d1d622bd5ca4cd355302778a02dc6d32ed00c88
fcef874f4fcef4b74ca016ca7bff92677673fded
refs/heads/master
2021-07-04T03:29:44.888340
2017-07-24T16:16:33
2017-07-24T16:16:33
93,699,673
0
2
null
2020-07-24T22:44:28
2017-06-08T02:34:17
Python
UTF-8
Python
false
false
30,732
py
"""Generated message classes for iam version v1. Manages identity and access control for Google Cloud Platform resources, including the creation of service accounts, which you can use to authenticate to Google and make API calls. """ # NOTE: This file is autogenerated and should not be edited by hand. from apitools.b...
[ "kisle.kuhn1@gmail.com" ]
kisle.kuhn1@gmail.com
7e1e63e6d0914cb94a2e3b298ed1709387b77b63
574ba9b7b7f79ee06e395f697f2eb08d39081a2e
/nkms/network/protocols.py
e2eecbf55e9286e95223276bb527d8fa9e0c087e
[]
no_license
xxxAHMEDxxx/nucypher-kms
5dcba61ee8a701dd9025dfa425a6347b3cfc80e1
a10bdccc12374b1bdd8212f4c939f0d411729708
refs/heads/master
2021-07-23T23:21:46.776424
2017-11-05T00:18:14
2017-11-05T00:18:14
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,929
py
import asyncio from kademlia.node import Node from kademlia.protocol import KademliaProtocol from kademlia.utils import digest from nkms.network.constants import NODE_HAS_NO_STORAGE from nkms.network.node import NuCypherNode from nkms.network.routing import NuCypherRoutingTable class NuCypherHashProtocol(KademliaPro...
[ "justin@justinholmes.com" ]
justin@justinholmes.com
de000d15fcb6e39a0cf59d0226b600017f317501
62ed242c7195788950e1d69dec8a0da0c29d0489
/8_function/function_parameter2.py
70e37ce9f05f02b859365ad023e1665a2e79d8d7
[]
no_license
lmw8864/MyFirstPython_part1_python_basic
f11fbe2d524a4acfa00c2b18488e8f851de9e0ba
ab850187581f9a415066d7b75175a92023c0a691
refs/heads/master
2021-06-27T06:50:18.017125
2017-09-16T17:01:20
2017-09-16T17:01:20
103,767,746
0
0
null
null
null
null
UTF-8
Python
false
false
1,771
py
# function_parameter2.py """ 매개변수를 임의의 숫자만큼 전달하기 매개변수를 몇 개나 받을지 미리 알 수 없을 때 매개변수 앞에 '*'를 붙여주면 파이썬이 매개변수명의 빈 튜플을 만들고 받는 값을 모두 이 튜플에 저장한다. - 매개변수로 *toppings 를 지정하면, → 파이썬이 toppings 라는 빈 튜플을 만들고 받는 값을 모두 저장함. """ def make_pizza(*toppings): """주문받은 토핑 리스트 출력""" print(toppings) make_pizza(...
[ "lmw8864@gmail.com" ]
lmw8864@gmail.com
300a527f303b1deae9cb0f2e2af9747afd203d3b
35ff4e124ea73cd2630ddf25dfe019b4b4e3f5d6
/69_SqrtX/69_SqrtX_3.py
f709058b297d6324a43b6f8ece0dda08f3ed9955
[]
no_license
H-Cong/LeetCode
0a2084a4845b5d7fac67c89bd72a2adf49f90c3d
d00993a88c6b34fcd79d0a6580fde5c523a2741d
refs/heads/master
2023-03-19T15:22:00.971461
2021-03-11T00:33:00
2021-03-11T00:33:00
303,265,129
0
0
null
null
null
null
UTF-8
Python
false
false
1,036
py
class Solution: def mySqrt(self, x: int) -> int: ''' Gradient Descent with Adaptive Learning Rates ''' n = 0 lr = x while abs(n**2 - x) >= 0.1: lr = lr / 2 gradient = self._gradient(x, n) n -= lr*gradient return int...
[ "nych1989@gmail.com" ]
nych1989@gmail.com
c5e205dfc2e0827a38c3eb10c49570c9aeb24283
163bbb4e0920dedd5941e3edfb2d8706ba75627d
/Code/CodeRecords/2643/61519/310414.py
d92838a5acddda72ca16a1f452c2818c5b2bcd71
[]
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
437
py
cus=list(input().split(",")) gru=list(input().split(",")) k=int(input()) res=[] number=0 for i in range(len(cus)): cus[i]=int(cus[i]) gru[i]=int(gru[i]) for i in range(len(cus)-k): number=0 tem=[] for j in range(len(cus)): tem.append(gru[j]) for j in range(i,i+k): tem[j]=0 fo...
[ "1069583789@qq.com" ]
1069583789@qq.com
b887c469115e9112723e249596fa954101bb9f04
46f52778894a1e2d9de04e886335e8659c8a2ff4
/backend/mainPage/migrations/0003_auto_20200919_1853.py
98e7cc5ddf252360a612a9b40b1d4f09033437dc
[]
no_license
oereo/Project_C
a038dd761065a2b7b0fbc46405331e27850457ed
eb8bf0283692b422a28c134dc277e194fbe006a7
refs/heads/master
2022-12-23T18:38:29.493272
2020-10-07T17:17:15
2020-10-07T17:17:15
278,578,190
1
1
null
null
null
null
UTF-8
Python
false
false
406
py
# Generated by Django 2.1.1 on 2020-09-19 09:53 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('mainPage', '0002_profile'), ] operations = [ migrations.AlterField( model_name='profile', name='safe_percent', ...
[ "dlstpgns0406@gmail.com" ]
dlstpgns0406@gmail.com
e48ca3d860f02ae03281701b9eea8aa82636adf8
d57b51ec207002e333b8655a8f5832ed143aa28c
/.history/gos_20200614064953.py
3d36caf9f6f57b540137e65b38496cc62c88697f
[]
no_license
yevheniir/python_course_2020
b42766c4278a08b8b79fec77e036a1b987accf51
a152d400ab4f45d9d98d8ad8b2560d6f0b408c0b
refs/heads/master
2022-11-15T07:13:24.193173
2020-07-11T15:43:26
2020-07-11T15:43:26
278,890,802
0
1
null
null
null
null
UTF-8
Python
false
false
12,332
py
# # Імпорт фажливих бібліотек # from BeautifulSoup import BeautifulSoup # import urllib2 # import re # # Створення функції пошуку силок # def getLinks(url): # # отримання та присвоєння контенту сторінки в змінну # html_page = urllib2.urlopen(url) # # Перетворення контенту в обєкт бібліотеки BeautifulSoup #...
[ "yevheniira@intelink-ua.com" ]
yevheniira@intelink-ua.com
a028d774ad4e71bb609099dde08533350e33691e
c239486d2884f03591e20c1e9419156e27805aa1
/BOJ/구현/BOJ7568_덩치.py
660821bd5245747d351c1dfb75189a39c11daf1d
[]
no_license
ynsseon07/Coding_with_Python
ba1fda42534e6134b58d742dc02dc204f447f57a
4e2041198b3720d97934becdcc2603486dfb5564
refs/heads/master
2023-08-25T19:57:44.657541
2021-10-28T14:11:24
2021-10-28T14:11:24
364,128,790
0
0
null
null
null
null
UTF-8
Python
false
false
328
py
N = int(input()) pp = [] for _ in range(N): pp.append(list(map(int, input().split()))) rank = [0] * len(pp) for i in range(len(pp)): for j in range(len(pp)): if i == j: continue if pp[i][0] < pp[j][0] and pp[i][1] < pp[j][1]: rank[i] += 1 for r in rank: print(r+1, ...
[ "ynsseon@gmail.com" ]
ynsseon@gmail.com
5b14d812cdc36e5cd4ee145b3af3f90357e47de3
2f330fc050de11676ab46b963b7878882e9b6614
/memsource_cli/models/task_mapping_dto.py
0961162bc49c06bd5819b8af375229ebe5c9a512
[ "Apache-2.0" ]
permissive
zerodayz/memsource-cli-client
609f48c18a2b6daaa639d4cb8a61da43763b5143
c2574f1467539a49e6637c874e88d75c7ef789b3
refs/heads/master
2020-08-01T12:43:06.497982
2019-09-30T11:14:13
2019-09-30T11:14:13
210,999,654
1
0
null
null
null
null
UTF-8
Python
false
false
6,317
py
# coding: utf-8 """ Memsource REST API Welcome to Memsource's API documentation. To view our legacy APIs please [visit our documentation](https://wiki.memsource.com/wiki/Memsource_API) and for more information about our new APIs, [visit our blog](https://www.memsource.com/blog/2017/10/24/introducing-rest-apis...
[ "cerninr@gmail.com" ]
cerninr@gmail.com
b30cb1dd3cc3a8ad7622a2f56bab5a2feace2e4e
5d6851798e229846f7b0fbbb980bb30454d9d3a7
/jams/tests/eval_test.py
0cb3c211e609fb637d40a031d172fc8a41cb8351
[ "ISC" ]
permissive
beckgom/jams
24d687eb7aefee932b2f83905c3e75438fc37d93
439e523baeafd6b0a16393708314ff7e6cace039
refs/heads/master
2021-01-24T20:41:43.741991
2015-11-12T16:48:32
2015-11-12T16:48:32
null
0
0
null
null
null
null
UTF-8
Python
false
false
9,532
py
#!/usr/bin/env python # -*- encoding: utf-8 -*- '''mir_eval integration tests''' import numpy as np from nose.tools import raises import jams # Beat tracking def create_annotation(values, namespace='beat', offset=0.0, duration=1, confidence=1): ann = jams.Annotation(namespace=namespace) time = np.arange(off...
[ "brian.mcfee@nyu.edu" ]
brian.mcfee@nyu.edu
265c8d793a623c29c762f7177aeb608e40f75461
07c136a11942305cc83f073a290a1150edfe0daa
/models.py
f40ce6e9ef2c23df191f160a4751c6426d2e033e
[]
no_license
kknet/Age-and-Gender
467b90340d93a6e961723b046cd23476609441f2
25e67e9d5026a787f5dd9160a10ebc57b94e546f
refs/heads/master
2020-08-24T14:36:51.541557
2019-01-30T08:37:07
2019-01-30T08:37:07
null
0
0
null
null
null
null
UTF-8
Python
false
false
9,316
py
import torch.nn.functional as F import torch.utils.model_zoo as model_zoo import torchvision from torch import nn from torchsummary import summary from config import * from config import device from utils import parse_args __all__ = ['ResNet', 'resnet18', 'resnet34', 'resnet50', 'resnet101', 'resnet152'] ...
[ "liuyang12@focusmedia.cn" ]
liuyang12@focusmedia.cn
0db82e4db91dc685a8d5fa4f607db6916a7edad2
3e31bb9dd45b6fb7e97e28322f23633a3dc99f2d
/web_scraping/regex_test.py
1c7ad087a726badbf814c46d1ca99f8b52bc0dbd
[]
no_license
peterbristow/codeinstitute-stream-two
9dbb01230128cc1d73edd7a741020f5d1107f58d
15a7ec241cb6438bafb9e55f20f5c9697f632efb
refs/heads/master
2020-04-11T04:27:41.504203
2016-06-13T20:41:28
2016-06-13T20:41:28
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,494
py
import re # Using * asterisk - multiple occurrences of the character preceding it print re.findall("ab*c", "ac") # ['ac'] print re.findall("ab*c", "abcd") # ['abc'] print re.findall("ab*c", "acc") # ['ac'] print re.findall("ab*c", "abcac") # ['abc', 'ac'] print re.findall("ab*c", "abdc") # [] print re.find...
[ "peterjb73@gmail.com" ]
peterjb73@gmail.com
f909f2748513ae1af2c003a3453a949ee37eb3ff
bf7959048edc0005e04431a0864c719adc5ea9ea
/python版本/6704-MaximumScore.py
9181f1fc0bdc2a9d56e9392daf163fb8c633a733
[]
no_license
Yohager/Leetcode
7c24f490cfa5fd8e3cdb09e5a2305a134a064a93
585af82ff2c2d534053f6886714406019ed0c7d1
refs/heads/master
2022-12-07T23:51:16.347174
2022-11-28T02:30:53
2022-11-28T02:30:53
178,201,848
1
0
null
null
null
null
UTF-8
Python
false
false
604
py
class Solution: def maximumScore(self, nums: List[int], k: int) -> int: n = len(nums) l,r = k,k ans = 0 while True: while r < n and nums[r] >= nums[k]: r += 1 while l >= 0 and nums[l] >= nums[k]: l -= 1 ans = max(ans...
[ "guoyuhang0921@gmail.com" ]
guoyuhang0921@gmail.com
dde9f9a87549bb12202e514573e9252914f2dcc0
a0659e58f8073485674d7bc4092f9a04174fb7c7
/Lib/objc/_C2.py
f3e7b02d732db535decb0efe9163a2c39ebfceaf
[ "MIT" ]
permissive
kanishpatel/Pyto
74f75de8e06e6120324458346a9c65b73191b935
feec7a1a54f635a6375fa7ede074ff35afbfbb95
refs/heads/main
2023-01-30T15:16:37.095828
2020-12-04T14:11:44
2020-12-04T14:11:44
318,703,734
0
0
MIT
2020-12-05T04:46:16
2020-12-05T04:46:15
null
UTF-8
Python
false
false
1,864
py
''' Classes from the 'C2' framework. ''' try: from rubicon.objc import ObjCClass except ValueError: def ObjCClass(name): return None def _Class(name): try: return ObjCClass(name) except NameError: return None C2SessionPool = _Class('C2SessionPool') C2RequestManager = _Cl...
[ "adrilabbelol@gmail.com" ]
adrilabbelol@gmail.com
6d43ccff678343c91363b14927542e7a10967eda
3c1ad0919924ed8d96ae5f9d9a10b97cfdf1ee38
/LSA_cgi/simple-ajax-py.py
72599d2c97742a8da73234b6978640237744c875
[]
no_license
emonson/CopyrightScripts
4439ba584840e74ebdc5ab6083887e530757de64
862e5d2eb0af848647bf1cb2d95519071a00adc0
refs/heads/master
2020-05-18T15:37:15.926524
2017-03-16T14:51:08
2017-03-16T14:51:08
1,569,450
0
1
null
null
null
null
UTF-8
Python
false
false
1,616
py
#!/usr/bin/python import os, stat import cgi import cgitb cgitb.enable() # Trying to add to PYTHONPATH import sys sys.path.insert(0, '/Users/emonson/Programming/VTK_git/VTK/build/bin') sys.path.insert(0,'/Users/emonson/Programming/VTK_git/VTK/build/Wrapping/Python') import vtk form = cgi.FieldStorage() secret_word...
[ "emonson@cs.duke.edu" ]
emonson@cs.duke.edu
a9a9634f65bd35da3fd546d96a14c239e1c23448
e86851297175203451374021595659adbd516b59
/scripts/deploy_to_netlify.py
d73ded3eed7fecbff06eb62db2809fad5ff3805c
[ "MIT" ]
permissive
stcolumbas/free-church-psalms
f0417d07af449300a5ada758dc95e153712b0e9e
0eee5faa19306a79d77a55019ff82fcba72fc9b4
refs/heads/master
2022-12-16T15:31:44.907547
2017-12-08T22:53:40
2017-12-08T22:53:40
28,723,518
2
0
null
2022-12-07T23:51:49
2015-01-02T19:23:24
Elm
UTF-8
Python
false
false
1,824
py
#!/usr/bin/env python import os from hashlib import sha1 import requests SITE_ID = '8954ba2a-fa5e-447b-ada8-09c4b5ce8b29' BASE_URL = 'https://api.netlify.com/api/v1/' token = os.environ.get('NETLIFY_TOKEN') def hash_file(path): with open(path, 'rb') as f: return sha1(f.read()).hexdigest() def main(): ...
[ "montgomery.dean97@gmail.com" ]
montgomery.dean97@gmail.com
1dbb6e16d65425e5a0fb377d90cc2c2dabce79de
2da6133f3cd5c5fc19355292d60253b8c0dbcd49
/.history/antz/urls_20200404013558.py
ab219bb1e3092201334fc9cc3bfc2abe38597398
[]
no_license
mirfarzam/python-advance-jadi-maktabkhooneh
b24f5c03ab88e3b12c166a439b925af92f50de49
d9bcecae73fd992f1290c6fd76761683bb512825
refs/heads/master
2021-05-25T21:33:37.782734
2020-04-07T22:39:28
2020-04-07T22:39:28
253,927,960
0
0
null
null
null
null
UTF-8
Python
false
false
113
py
from django.urls import path from . import views urlpatterns = [ path('', views.index), path('cars/') ]
[ "farzam.mirmoeini@gmail.com" ]
farzam.mirmoeini@gmail.com
97ead138762bf5e3f051a977b15614e25761f09f
f9d564f1aa83eca45872dab7fbaa26dd48210d08
/huaweicloud-sdk-roma/huaweicloudsdkroma/v2/model/show_details_of_app_v2_request.py
cc75e5f86cf7d2e5e920f4bb52bf6943d5a2b852
[ "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
3,835
py
# coding: utf-8 import six from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization class ShowDetailsOfAppV2Request: """ Attributes: openapi_types (dict): The key is attribute name and the value is attribute type. attribute_map (dict): The key is at...
[ "hwcloudsdk@huawei.com" ]
hwcloudsdk@huawei.com
447d5d3897c97297582aad9f15348cb2a248c320
28129a9c44f3891eb5b3ce8c7fc530252b1c3840
/algorithms/sorts/test_sort.py
cc829fa3ffc63abb8690c1186e21b5c443cef71c
[]
no_license
ngocyen3006/learn-python
55eeb221f5a836ebee8c197fc3fddf6c585f02a6
ec2f35a87f846385f7353e7ef4900e5f80cfdb0a
refs/heads/master
2020-03-26T16:35:59.151230
2019-05-08T07:26:50
2019-05-08T07:26:50
145,112,258
1
1
null
null
null
null
UTF-8
Python
false
false
1,805
py
import unittest import random def gen(n): return [random.randint(0, 100) for i in range(n)] # Use wrapper class to prevent this class being discovered by nosetest. class Wrapper: class TestSort(unittest.TestCase): # Class TestSort inherits from class TestCase of module unittest # this is an abstract ...
[ "ngocyen300693@gmail.com" ]
ngocyen300693@gmail.com
3ec725e3fe5085cd6b29bb34f56d8ca10493be16
564cef7c58ed45635f7a09344e6c22c27f3b32f3
/exercise_library/auto_corrector.py
7e6dc73ecaf27f4460dcb6cac768d154f58f0db5
[]
no_license
jjdixon/exercise-library
b7e399626b9e5f898471c03e7533502f281322d3
06ea97a1c9c17b533e3f5812dd51685a0349f8af
refs/heads/master
2020-12-25T05:18:33.275285
2015-03-02T19:23:13
2015-03-02T19:23:13
null
0
0
null
null
null
null
UTF-8
Python
false
false
5,126
py
import re from collections import defaultdict from exercise_library.exercise_cacher import ExerciseCacher class SpellChecker(object): def words(text): return re.findall('[a-z]+', text.lower()) def train(features): model = defaultdict(int) for f in features: model[f] += 1 ...
[ "slobdell@hearsaycorp.com" ]
slobdell@hearsaycorp.com
655bd5532b790642e2c48e5016801ab1d1f14da9
1e9d743cd42db052a26ac716ebdacc082db70871
/coding/leetcode/297-serialize-and-deserialize-binary-tree/dfs.py
4c1189f3ef86424e30f2e50ff4afb9da695fdea9
[]
no_license
teckoo/interview_public
a993b03cdf2b2f2606207463d841b01d93f12118
30198097904994e34f8321926ad2a2cadc8b5940
refs/heads/master
2023-04-06T10:35:49.390343
2021-04-22T03:38:24
2021-04-22T03:38:24
320,933,226
2
0
null
null
null
null
UTF-8
Python
false
false
1,513
py
# Definition for a binary tree node. # class TreeNode(object): # def __init__(self, x): # self.val = x # self.left = None # self.right = None class Codec: def serialize(self, root): """Encodes a tree to a single string. :type root: TreeNode :rtype: str ...
[ "c2.programmer@gmail.com" ]
c2.programmer@gmail.com
d1ba17a6139aebba2d6cfd140f23e827a2ed6211
b75a1300f7196269171d04a8be6e4341e00e1359
/pipelines/process_study_driver.py
d2d0261d738cd54a04cc144799cff4ca85dd55e3
[]
no_license
lemwill/spikeforest
a32120e6f3484c56ef66398cc8a0d859bde7eaa1
f36ef7bed0ddbba651edff67c31db52ae372257f
refs/heads/master
2023-03-17T23:20:01.907903
2019-03-15T12:51:15
2019-03-15T12:51:15
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,700
py
#!/usr/bin/env python import os import sys import argparse from kbucket import client as kb from pairio import client as pa from process_study import Study def main(*,command,mode='local'): # Select the study study_dir='kbucket://b5ecdf1474c5/spikeforest/gen_synth_datasets/datasets_noise10_K20' study_nam...
[ "jeremy.magland@gmail.com" ]
jeremy.magland@gmail.com
623ff997d9ac5e130cd2774d3610ebffd5cb1c45
1b719cb657087c1221eeab0e7f667aba1fac8760
/Python Basics/Tips & tricks/numbers.py
d73219ca6f773f81350008cbd4a547d2f0a0ece3
[]
no_license
Omega97/Learning-Python-Basics
141a84f9cc3897e8c3fd45cb4b85547c86d3916a
73bbba6c58b323786945e27be8a212b662eac8a0
refs/heads/master
2020-06-29T07:19:19.814817
2019-08-04T09:22:27
2019-08-04T09:22:27
200,472,880
1
0
null
null
null
null
UTF-8
Python
false
false
58
py
n = 100_000_000 print(n) print(select_frames'{n:,}')
[ "noreply@github.com" ]
Omega97.noreply@github.com
8bff251d955aeee4159ac2339ee6db119dbe244e
015e0d41cf9cf85c1a0bfd28c00d0c00ebedcb39
/metric/coco_scores.py
8190541f9af79365c9b1cedf78dcc7192a8f5f51
[ "BSD-3-Clause", "BSD-2-Clause" ]
permissive
zeta1999/gan-compression
2b074676e49bda43439fd224ca5f8e2bfae13309
3224be53f334afe70f7da665906d1ada06233da5
refs/heads/master
2023-01-13T06:45:11.676868
2020-11-20T12:21:35
2020-11-20T12:21:35
null
0
0
null
null
null
null
UTF-8
Python
false
false
3,584
py
import os import cv2 import numpy as np import torch from PIL import Image from torch.nn import functional as F from torch.utils.data import Dataset, DataLoader class CocoStuff164k(Dataset): def __init__(self, root, images, names): self.root = root self.ignore_label = 255 self.mean_bgr =...
[ "lmxyy1999@foxmail.com" ]
lmxyy1999@foxmail.com
5f67ded098c37a29160d3af7fa7a1f691310e71a
e298bf40ae88c2bd8e0a07f3e92f3e08a92edcc6
/nova/cmd/api.py
f56abfac63f42b7ef5e2630925dcc9a63d0ebe0d
[]
no_license
KevinKaiQian/polar-bear
46a814c746246394f76505846166673a049f12f2
61d4e0ccd7328a6aa543af3b75e5f7fedf98bf8e
refs/heads/master
2022-04-29T02:15:35.536039
2021-05-19T12:33:07
2021-05-19T12:33:07
172,068,536
2
0
null
2022-03-29T21:56:51
2019-02-22T13:11:58
Python
UTF-8
Python
false
false
1,454
py
import six import sys import os sys.path.append(os.path.dirname(os.path.dirname(os.getcwd()))) from nova import exception from nova.i18n import _LE, _LW from nova import service from nova import utils from nova.db.sqlalchemy import api as sqlalchemy_api from nova import rpc from nova import objects from oslo_config ...
[ "root@localhost.localdomain" ]
root@localhost.localdomain
baec54e7a2c40ee0b02bb845aef4de9c59c60e57
80092fa3b60a00744effb5037324527729d89648
/Multiple_Plots/multiple_plots_6.py
f20edb93f695c1e22be9d950edad024a9885f424
[]
no_license
zjxpirate/Data-Analyst-DATAQUEST
7820d4b218a1ccd49de9eac56bc92dc10917baa9
6bd56878cff00b52ca22aba9be7b52be96bb42bd
refs/heads/master
2020-04-18T00:36:55.719894
2019-04-09T00:14:49
2019-04-09T00:14:49
167,084,488
0
0
null
null
null
null
UTF-8
Python
false
false
1,262
py
# 1 begins here: import pandas as pd import matplotlib.pyplot as plt unrate = pd.read_csv('unrate.csv') # unrate['DATE'] = pd.to_datetime(unrate['DATE']) # # first_twelve = unrate[0:12] # # plt.plot(first_twelve['DATE'], first_twelve['VALUE']) # # plt.xticks(rotation=0) # # plt.xlabel('Month') # # plt.ylabel('Unem...
[ "j_zhang21@u.pacific.edu" ]
j_zhang21@u.pacific.edu
8bdab363b2e9bacfc34fe82e3b02c0eadae830b5
def8024e06c442a3b033df8d8f4cbbad87e46e96
/database/pg.py
456e389b571c72a477f7153fe5100e0c79e839de
[]
no_license
yhkl-dev/cloud_m
ae48cf5c71061b3e060caca80dbe9d5aac345473
491dac7ee707df708437ecd283ecde2ef617fa82
refs/heads/main
2023-03-10T22:49:03.478569
2021-03-03T15:21:38
2021-03-03T15:21:38
344,126,912
0
0
null
null
null
null
UTF-8
Python
false
false
2,431
py
import psycopg2 from psycopg2 import pool, extras from config.config import GlobalConfig from contextlib import contextmanager from threading import Semaphore from psycopg2 import pool, extensions CONFIG = GlobalConfig() class ReallyThreadedConnectionPool(psycopg2.pool.ThreadedConnectionPool): def __init__(self...
[ "kaiyang939325@gmail.com" ]
kaiyang939325@gmail.com
377850eac06f4f7b1668514b1bcacbc349c0f814
d8b647e50e356646760b94051652e4fa5ac86c83
/setup.py
6a7d79a6d59f9a029e31ea20b1b937253c2f196b
[]
no_license
ffxf/tortuga-kit-gceadapter
5fb74bc8bdc61bc9d386b76db1951958d9ce19c3
7cea8f34cff01d7d4743d99c9db2898fbc2a37b6
refs/heads/master
2021-01-25T14:26:59.694308
2018-03-02T17:07:51
2018-03-02T17:07:51
123,699,424
0
0
null
2018-03-03T14:30:40
2018-03-03T14:30:40
null
UTF-8
Python
false
false
1,050
py
# Copyright 2008-2018 Univa Corporation # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in...
[ "mfrisch@univa.com" ]
mfrisch@univa.com
0127385c11bd1a9c9bd072ebe03e6ade4983c466
c7061fb106b801c12fb40ff331d927a5bb24da80
/BasicExerciseAndKnowledge/w3cschool/n5_sortion.py
83e4f19a347a5789574bab81d7f1d19b99ab8c73
[ "MIT" ]
permissive
Jonathan1214/learn-python
34e6b5612beeb1a46b5964b0a4e306656355fe84
19d0299b30e953069f19402bff5c464c4d5580be
refs/heads/master
2020-03-27T09:03:16.785034
2018-08-31T02:48:34
2018-08-31T02:48:34
146,310,191
0
0
null
null
null
null
UTF-8
Python
false
false
306
py
#coding:utf-8 # 题目:输入三个整数x,y,z,请把这三个数由小到大输出。 # 有了sort函数感觉就是再开挂啊!! import re put_in = ['12 234 21'] lt = [] for num in put_in: nums = re.split(r'[\D]', num) for n in nums: lt.append(int(n)) lt = sorted(lt) print lt
[ "jonathan1214@foxmail.com" ]
jonathan1214@foxmail.com
f547b32987825ea3be7a56d9d96f5a6d0c9e4d4b
3def6d5ac41b0956bee326b2cda7e11603eac121
/gjhandler/__init__.py
153e7933f581029a3d84469d22fd1e3713ac3369
[ "MIT" ]
permissive
sfujiwara/gjhandler
2eca3ea5ae1e4011031f70456f1d7e257d774f91
9d10b7ce071fb3dd0b50ee391886a68f9d35e165
refs/heads/master
2021-01-18T17:25:58.869822
2016-09-01T02:38:06
2016-09-01T02:38:06
67,048,519
1
0
null
null
null
null
UTF-8
Python
false
false
787
py
# -*- coding: utf-8 -*- import json import logging.handlers import math class GoogleJsonHandler(logging.handlers.RotatingFileHandler): def __init__(self, filename): super(GoogleJsonHandler, self).__init__( filename, maxBytes=8*1024*1024, backupCount=5 ) d...
[ "shuhei.fujiwara@gmail.com" ]
shuhei.fujiwara@gmail.com
1b27a30f4016c4c94bde52abcb1e8994dadfe4c2
594a3eaa550d9374e50db3a5e5358d6fff2f4de6
/run_fortran/__main__.py
767fca72bab6cc5d53671f109958592060bd9346
[ "MIT" ]
permissive
lycantropos/run-fortran
8d9064764feaa800be6a95d29e23c5d7a8202717
13b6ab3b1e2eb0ab56f4f189f8ad665899f65bae
refs/heads/master
2021-07-24T11:27:42.787948
2021-07-12T10:09:49
2021-07-12T10:09:49
89,684,575
4
0
null
null
null
null
UTF-8
Python
false
false
9,559
py
import copy import json import os import re import sys from collections import OrderedDict from functools import partial from itertools import chain from typing import (Any, Container, Dict, Iterable, Iterator, List, ...
[ "azatibrakov@gmail.com" ]
azatibrakov@gmail.com
e90d519a2ded43336a44dff2304315ad4182fa9f
41b031bd7449c75d215478dbb109c823c1c2bccc
/scraps/replacenan.py
0987196694d0f31f6b8176ded595c78f39986208
[ "MIT" ]
permissive
woutdenolf/spectrocrunch
dfa667528aa2bb9845d371fef29c4659bcd7392e
944637c76671adc2fdb909f7a62196bde27c9d22
refs/heads/master
2022-12-10T14:31:28.101355
2022-11-30T10:00:49
2022-11-30T10:00:49
79,220,131
4
0
MIT
2022-11-30T10:00:49
2017-01-17T11:16:57
Python
UTF-8
Python
false
false
790
py
# -*- coding: utf-8 -*- import h5py import numpy as np # f = h5py.File(filename) # data = f["detector0"]["sample"]["data"] # filename = "/data/visitor/hg94/id21/ffproc/results/600Vmap1/map1.align.h5" # data[np.isnan(data)] = 0 # filename = "/data/visitor/hg94/id21/ffproc/results/SKA2116_1.h5" # f = h5py.File(filena...
[ "woutdenolf@users.sf.net" ]
woutdenolf@users.sf.net
99939a85d3de3cf8133c71badb9e55e260e45e0d
3d19e1a316de4d6d96471c64332fff7acfaf1308
/Users/Y/yomalM/jan11-match-result-premier-league.py
9c1efa0db2483dcaad83cb5cfd0304710ab23f0b
[]
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
2,460
py
############ #Note from creator(Yomal Mudalige)- I have been tried to change column orders, however still it is not finalized. Hence I added prefix 'A', 'B'.etc. Thanks #Reference - Scraperwiki Tutorial 3 ################## from scraperwiki.apiwrapper import getKeys, getData, getDataByDate, getDataByLocation import ...
[ "pallih@kaninka.net" ]
pallih@kaninka.net
d479dd125c06d779076e5385e954ef319cd87dc7
d5f75adf5603927396bdecf3e4afae292143ddf9
/python/paddle/fluid/incubate/fleet/parameter_server/ir/heter_trainer_pass.py
0018b73e264798dd21450564812dfca5ec992038
[ "Apache-2.0" ]
permissive
jiweibo/Paddle
8faaaa1ff0beaf97ef7fb367f6c9fcc065f42fc4
605a2f0052e0ffb2fab3a4cf4f3bf1965aa7eb74
refs/heads/develop
2023-07-21T03:36:05.367977
2022-06-24T02:31:11
2022-06-24T02:31:11
196,316,126
3
2
Apache-2.0
2023-04-04T02:42:53
2019-07-11T03:51:12
Python
UTF-8
Python
false
false
3,295
py
# Copyright (c) 2020 PaddlePaddle 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 appli...
[ "noreply@github.com" ]
jiweibo.noreply@github.com
a875b5e5061429293af6336e793068a510e23783
b7429c03761db1d1a58494c92da355542dba86e7
/Python高效开发实战——Django、Tornado、Flask、Twisted/src/chapter9/9-5.py
e87ae9db8f8afd62caec2efd68829be229947ab2
[]
no_license
daedalaus/practice
90abc1cd15ca5230a8a9deb2bbc532c3f36f307b
916a3269cb3946f33bc87b289c5f20f26c265436
refs/heads/master
2020-11-30T17:16:29.337509
2020-01-18T08:48:49
2020-01-18T08:48:49
230,448,086
0
0
null
null
null
null
UTF-8
Python
false
false
1,187
py
from twisted.internet.protocol import DatagramProtocol from twisted.internet import reactor import threading import time import datetime host = '127.0.0.1' port = 8007 class Echo(DatagramProtocol): # 定义DatagramProtocol子类 def startProtocol(self): # 连接成功后被调用 self.transport.connect(host, port) # 指定对方地址/端...
[ "lzy_2318@163.com" ]
lzy_2318@163.com
5469d275c96e668c247f7b4dfeb30ac7a2ada67e
7dbd800d64919e93805c16f665e78c81ca2b5278
/py4e/assignment10/words_counting.py
bf159549ea48bd0ac02e76d938c5b5bbc9c5854b
[]
no_license
merak0514/python
f6ea0ae372a6c52e2a5fae7c78f3bce13770b774
3451854a07b97fadf6ffd4d8f41863181a2243cb
refs/heads/master
2022-05-09T23:58:15.462620
2022-04-04T12:24:09
2022-04-04T12:24:09
123,144,254
0
0
null
null
null
null
UTF-8
Python
false
false
624
py
# count words import string fname = input('File name: ') try: fhand = open(fname) except: print('Error') quit() wordlist = {} for line in fhand: line = line.rstrip() line = line.translate(line.maketrans('', '', string.punctuation)) line = line.lower() words = line.split() for word in wor...
[ "2692195809@qq.com" ]
2692195809@qq.com
49ed7ee7902cbe3fdd70e37b96b8de65bdc08c75
af5c5761c21f9251cc89565ab3b40b0dd560555f
/doc/.src/book/src/ex_approx1D_session.py
771173796d96b928e1a913e907b486eb1ff1de7b
[]
no_license
kent-and/fem-book
d67e282a47b23650b8d9ee1c7a04989f92121848
b24022ad59bb2185f7524b71fba58e5d994ab806
refs/heads/master
2020-05-20T22:26:24.287598
2016-08-17T19:47:23
2016-08-17T19:47:23
53,691,843
1
0
null
2016-03-11T19:33:14
2016-03-11T19:33:13
null
UTF-8
Python
false
false
496
py
# to be run by scitools file2interactive from approx1D import * x = sym.Symbol('x') f = 10*(x-1)**2-1 u = least_squares(f=f, psi=[1, x, x**2], Omega=[1, 2]) print u print sym.expand(f) # show how equal x**i functions are (ill-conditioning) import numpy as np x = np.linspace(1, 2, 1001) import matplotlib.pyplot as pl...
[ "hpl@simula.no" ]
hpl@simula.no
cfff7859b73b0c1cd037a8cc56e5904ef005f50f
5bea85271fa7d8d950f6f75ef251e2fe4a3672b8
/model/vae.py
43efcd8a555657c9aeb62ef19ab4c9a62a73e053
[]
no_license
umutkucukaslan/thesis
ca4095c8d9caa128edb3be3dfdbd031c2d22a28f
149a9612e9f76fbaff227d8aaa9b949aa9ed33c7
refs/heads/master
2023-03-26T13:00:27.677705
2021-02-05T22:19:49
2021-02-05T22:19:49
221,968,406
0
0
null
null
null
null
UTF-8
Python
false
false
1,606
py
import tensorflow as tf def build_encoder(input_shape=(128, 128, 3), output_shape=128, filters=(32, 64, 128), kernel_size=5, pool_size=(2, 2), batch_normalization=False, activation="relu", name='encoder', alpha=0.2): """ Assumes input is in the range [-1, 1] :param input_shape: :p...
[ "umutkucukaslan@hotmail.com" ]
umutkucukaslan@hotmail.com
1d193ed151a98e53a1500f108127e2414d73cb61
04dd31f1d4c84b96777107701e727c54c4fc704e
/MINE_PY27/ThePracticeOfML/FirstEditionMaster/7-9.PY
b3626c77bc7424c05457cd67cca316ba71843ca2
[]
no_license
stormstone/LEARN-PYTHON
8df6ee96ebf1d2da7703d726dd18061956e2412f
23636e4c267f82815be5e203d0f4fd66acd18ccf
refs/heads/master
2021-01-01T18:10:47.650160
2017-12-21T14:14:59
2017-12-21T14:14:59
98,271,596
2
1
null
null
null
null
UTF-8
Python
false
false
1,388
py
#!/usr/bin/env python #-*- coding: utf-8 -*- #code:myhaspl@qq.com #7-9.py import mplannliner as nplann traindata1=[[[9,25],-1],[[5,8],-1],[[15,31],-1],[[35,62],-1],[[19,40],-1],[[28,65],1],[[20,59],1],[[9,41],1],[[12,60],1],[[2,37],1]] myann=nplann.Mplannliner() #样本初始化 myann.samples_init(traind...
[ "2499144744@qq.com" ]
2499144744@qq.com
0ad1badda72db888146eeae0cbbc7f9ec618fa09
c641eca2b95da76ab0b0fc0ce3156e496559cebd
/src/0106/solution.py
6f09f0e7cb4230ad2aa68d13f1ddc9a5a9611f8c
[ "MIT" ]
permissive
jiangshanmeta/lintcode
8915365ea5c8d602fca192e33e374be26130d4e6
9cc07edcaa3e7ec8e7b76a19020e6743ebc03875
refs/heads/master
2023-08-07T22:22:15.974814
2023-08-06T08:49:58
2023-08-06T08:49:58
212,155,398
8
2
MIT
2023-08-06T08:50:00
2019-10-01T17:18:04
JavaScript
UTF-8
Python
false
false
925
py
""" Definition of ListNode class ListNode(object): def __init__(self, val, next=None): self.val = val self.next = next Definition of TreeNode: class TreeNode: def __init__(self, val): self.val = val self.left, self.right = None, None """ class Solution: """ @param: he...
[ "540118044@qq.com" ]
540118044@qq.com
01e502bb11aaf0794e54e08623d23cca47c35bc0
4b7e282fe480415f5d52c0fc0429f144156190fe
/google/ads/googleads/v8/services/services/dynamic_search_ads_search_term_view_service/client.py
58065d2c0dc7a34d142d51ebba7ce76a932cffd6
[ "Apache-2.0" ]
permissive
Z2Xsoft/google-ads-python
c4750357bb19da91bb3b6bf2fa84bef9d2df36d3
1779d52a0446c8afb2437b0a9e103dcb849f5590
refs/heads/main
2023-08-18T15:22:17.840364
2021-09-26T04:08:53
2021-09-26T04:08:53
410,444,398
0
0
Apache-2.0
2021-09-26T04:08:53
2021-09-26T03:55:38
null
UTF-8
Python
false
false
19,697
py
# -*- coding: utf-8 -*- # Copyright 2020 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or...
[ "noreply@github.com" ]
Z2Xsoft.noreply@github.com
4ae1478682dfe9974355b06fd2ab3ad41d0ce6fa
d8d9dec0450d5f7fe15f9d5a42d7c2998d4cb649
/tools/import-categories.py
da45ddc3a16e9c0df8d2bb7f816e67caccaa6e1f
[]
no_license
hansenanders/bank
678c2af2e3d12502bf49af28ec7758dc4af915ed
e79f0957f51e3360c6f01916e87dab79790fa9d9
refs/heads/master
2021-01-12T15:07:25.020993
2016-11-09T19:26:23
2016-11-09T19:26:23
71,704,430
0
0
null
null
null
null
UTF-8
Python
false
false
827
py
#!/usr/bin/env python3 import argparse import sqlite3 import json import sys parser = argparse.ArgumentParser(description='import categories to sqlitedb.') parser.add_argument( '-d', '--sqlite-db-file', required=True, action='store', help='path to SQLiteDB') parser.add_argument('--data-file', required=True, help=...
[ "you@example.com" ]
you@example.com
726b5f70d7d7ab3a0b0228386190ec07a7ec2710
54408d1b51d1557dea78e0c1dc970240c428a25a
/python/tree/binary_tree_level_order_traversal.py
e4d8b0f7d006c52364fa6d8c51afb5063c397111
[ "Apache-2.0" ]
permissive
MiKueen/interview
5d115f570b7d2fea607bf2b4dafdba92f035be82
45741d49b49a9817d43b27b05757d95f3b9d9775
refs/heads/master
2020-08-13T22:57:55.968032
2019-10-14T13:56:07
2019-10-14T13:56:07
215,052,698
0
0
Apache-2.0
2019-10-14T13:34:40
2019-10-14T13:34:39
null
UTF-8
Python
false
false
1,253
py
''' Author : MiKueen Level : Medium Problem Statement : Binary Tree Level Order Traversal https://leetcode.com/problems/binary-tree-level-order-traversal/ Given a binary tree, return the level order traversal of its nodes' values. (ie, from left to right, level by level). For example: Given binary tree [3,9,20,null,n...
[ "keshvi2298@gmail.com" ]
keshvi2298@gmail.com
6d6e09031e8fdc4910811e20775215820b3f3f11
31ff0321d4aa46e43c193e82cf96806df127d63e
/source/code/glyphNanny/defaults.py
a1f05f71eaabc0b669226549613613353c1d8d29
[ "MIT" ]
permissive
typesupply/glyph-nanny
0c76fa7d3abb4914782669dc053ce6ed6738a1e5
dd9db49ca8a7725bb311d89d9ee1efc866298f20
refs/heads/master
2023-04-13T05:58:16.149056
2023-04-03T20:43:03
2023-04-03T20:43:03
22,653,004
38
10
MIT
2023-04-03T20:43:05
2014-08-05T17:37:41
Python
UTF-8
Python
false
false
3,826
py
from mojo.extensions import ( registerExtensionDefaults, getExtensionDefault, setExtensionDefault ) from .tests.registry import testRegistry defaultKeyStub = "com.typesupply.GlyphNanny2." defaults = { defaultKeyStub + "displayLiveReport" : True, defaultKeyStub + "testDuringDrag" : False, defaul...
[ "tal@typesupply.com" ]
tal@typesupply.com
7c3f6a0d31b8b6fd29726bd1b1238609fb158ee8
83a63364499df53dec8d0175370c959a231563e9
/blog/tangerine/migrations/0008_auto_20171119_0930.py
506a228963f2730ccb473da4bab337a10b0613b7
[ "BSD-2-Clause", "BSD-3-Clause" ]
permissive
shacker/tangerine
f328750467d21e9be2642c833c0cf5e44f7802aa
0ca1571a52f6901d1ae10243c4514630853d51ed
refs/heads/main
2023-05-10T23:25:09.294128
2023-04-29T07:19:19
2023-04-29T07:19:19
108,086,332
1
0
null
null
null
null
UTF-8
Python
false
false
634
py
# Generated by Django 2.1.dev20171104145028 on 2017-11-19 17:30 from django.conf import settings from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): dependencies = [ ('tangerine', '0007_auto_20171118_1743'), ] operations = [ m...
[ "shacker@birdhouse.org" ]
shacker@birdhouse.org
f5a68a18e790ae404066775e19811cf9838c0a67
8d9c2748b1586e772ee5475f3733528b07a2631f
/checkov/version.py
7ae96e3a8aeb3d95c10d77776592d589bc87b3c0
[ "Apache-2.0" ]
permissive
stevieg27/checkov
e71256e3b6b3ba715996f8445d3c99c44817aed1
53631964b08039ba4bb90e08c45b9ef3cbbb2e46
refs/heads/master
2023-02-02T00:43:29.045174
2020-12-14T09:52:04
2020-12-14T09:55:58
null
0
0
null
null
null
null
UTF-8
Python
false
false
20
py
version = '1.0.671'
[ "action@github.com" ]
action@github.com
a738842a3973e0eda8c51df858a61a1f65242169
37fef592f365194c28579f95abd222cc4e1243ae
/Financial_Modeling/Project 4.py
3e03974ee863c96966c95fe38305908e45d82a6c
[]
no_license
edimaudo/Python-projects
be61e0d3fff63fb7bd00513dbf1401e2c1822cfb
85d54badf82a0b653587a02e99daf389df62e012
refs/heads/master
2023-04-07T03:26:23.259959
2023-03-24T12:03:03
2023-03-24T12:03:03
72,611,253
4
3
null
2022-10-31T18:10:41
2016-11-02T06:37:17
null
UTF-8
Python
false
false
1,665
py
# Libraries import streamlit as st import pandas as pd import matplotlib as mp import plotly.express as px import os, os.path import warnings import numpy as np from datetime import datetime import random warnings.simplefilter(action='ignore', category=FutureWarning) import math st.set_page_config( page_title = "...
[ "edimaudo@gmail.com" ]
edimaudo@gmail.com
c6fe08208cd171c3893d2b8d5e0cbe8c5b590934
f07a42f652f46106dee4749277d41c302e2b7406
/Data Set/bug-fixing-3/cf8e84fc6289f0d1a9ec07b91f1e7f1b2716028c-<api_call_for_rule>-fix.py
de82b86e6f485096ebccf7e61c3e9cd1af3ec5a3
[]
no_license
wsgan001/PyFPattern
e0fe06341cc5d51b3ad0fe29b84098d140ed54d1
cc347e32745f99c0cd95e79a18ddacc4574d7faa
refs/heads/main
2023-08-25T23:48:26.112133
2021-10-23T14:11:22
2021-10-23T14:11:22
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,707
py
def api_call_for_rule(module, api_call_object): is_access_rule = (True if ('access' in api_call_object) else False) payload = get_payload_from_parameters(module.params) connection = Connection(module._socket_path) result = { 'changed': False, } if module.check_mode: return result...
[ "dg1732004@smail.nju.edu.cn" ]
dg1732004@smail.nju.edu.cn
7535defa22dff0766106cbd29c7abea90b76fd07
94e06376dc265c7bf1a2e51acb9714d02b21503a
/爬虫项目/58house/venv/Lib/site-packages/sqlalchemy/sql/selectable.py
b5bfdcbfe9f479a777e6048932b2764f1a19ed82
[]
no_license
zhangquanliang/python
4b2db32bed4e4746c8c49c309563f456dc41c6be
f45ef96e385b1cd6c5dfb53bf81042d953a9ec46
refs/heads/master
2021-04-26T23:30:12.217397
2019-03-20T06:18:14
2019-03-20T06:18:14
124,005,916
11
2
null
null
null
null
UTF-8
Python
false
false
127,948
py
# sql/selectable.py # Copyright (C) 2005-2018 the SQLAlchemy authors and contributors # <see AUTHORS file> # # This module is part of SQLAlchemy and is released under # the MIT License: http://www.opensource.org/licenses/mit-license.php """The :class:`.FromClause` class of SQL expression elements, representing SQL tab...
[ "1007228376@qq.com" ]
1007228376@qq.com
84e81158f9ce9e4b792edce641911b13c4c00de8
be0e0488a46b57bf6aff46c687d2a3080053e52d
/python/baekjoon/11399.py
6f5c2c8eb7384490b7d3a194fc1b4bd34f796f13
[]
no_license
syo0e/Algorithm
b3f8a0df0029e4d6c9cbf19dcfcb312ba25ea939
1ae754d5bb37d02f28cf1d50463a494896d5026f
refs/heads/master
2023-06-09T11:31:54.266900
2021-06-30T17:04:38
2021-06-30T17:04:38
null
0
0
null
null
null
null
UTF-8
Python
false
false
136
py
N = int(input()) arr = list(map(int,input().split())) arr.sort() ans = 0 for i in range(len(arr)): ans+=arr[i]*(N-i) print(ans)
[ "kyun2dot@gmail.com" ]
kyun2dot@gmail.com
b1c964b0f5a6f5e482f4c668f25f65cf1f10ce37
ff6248be9573caec94bea0fa2b1e4b6bf0aa682b
/log-20190927/132.230.102.123-10.21.11.36/1569574793.py
9344099c29c8565bef8b57eea46b4316b4188abe
[]
no_license
LennartElbe/codeEvo
0e41b1a7705204e934ef71a5a28c047366c10f71
e89b329bc9edd37d5d9986f07ca8a63d50686882
refs/heads/master
2020-12-21T17:28:25.150352
2020-03-26T10:22:35
2020-03-26T10:22:35
236,498,032
0
0
null
null
null
null
UTF-8
Python
false
false
5,919
py
import functools import typing import string import random import pytest ## Lösung Teil 1. def nwords(s: str) -> int: """Count the number of words in a given string. Words are separated by at least one char in string.whitespace Args: s (str): A string whose words are counted Returns: int: ...
[ "lenni.elbe@gmail.com" ]
lenni.elbe@gmail.com
6080231deaceb0a21438174ebaeac53b7355ac8c
d5f611f9abadc91adc18cf958d9874a14e249b32
/traffic/core/distance.py
dd6658d7a58149ca17872b7191849abda1c4dfca
[ "MIT" ]
permissive
avgisSI/traffic
c01943a6814f64a7d4f14f71696cbb9e90c4bc10
d7f21401cba3a393dec082b1a7d8a152cc7a995b
refs/heads/master
2023-07-22T17:18:48.421208
2021-09-07T12:43:50
2021-09-07T12:43:50
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,214
py
import logging from typing import TYPE_CHECKING, NamedTuple, Optional import numpy as np import pandas as pd from . import geodesy as geo if TYPE_CHECKING: from ..data.basic.airports import Airports # noqa: F401 from .mixins import PointMixin # noqa: F401 from .structure import Airport def closest_po...
[ "git@xoolive.org" ]
git@xoolive.org