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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
e58223496a4579245283ccdb1478dd5d10774f3b | 81d635211686b1bc87af5892bd9e0fb95cc2ddb8 | /adwords api/googleads-python-lib-master/examples/dfp/v201511/report_service/run_sales_report.py | b3ab57226822fd2a475aea1e43470dcd44e9a4d3 | [
"Apache-2.0"
] | permissive | analyticsbot/Python-Code---Part-2 | de2f0581258b6c8b8808b4ef2884fe7e323876f0 | 12bdcfdef4472bcedc77ae61707c25a4a09cba8a | refs/heads/master | 2021-06-04T05:10:33.185766 | 2016-08-31T13:45:45 | 2016-08-31T13:45:45 | 66,679,512 | 3 | 0 | null | null | null | null | UTF-8 | Python | false | false | 2,017 | py | #!/usr/bin/python
#
# Copyright 2015 Google Inc. All Rights Reserved.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required b... | [
"ravi.shankar1788@gmail.com"
] | ravi.shankar1788@gmail.com |
befe9d9fe8a23849fe477c8c46be22c914bcb4d9 | 2d0bada349646b801a69c542407279cc7bc25013 | /src/vai_quantizer/vai_q_pytorch/example/pruning/torch/cifar10_mynet_pruning.py | 755d8ac60ac2669fec756a4529d43f399c7326a7 | [
"Apache-2.0",
"BSD-2-Clause",
"BSD-3-Clause",
"LicenseRef-scancode-generic-cla",
"BSD-3-Clause-Open-MPI",
"LicenseRef-scancode-free-unknown",
"Libtool-exception",
"GCC-exception-3.1",
"LicenseRef-scancode-mit-old-style",
"OFL-1.1",
"JSON",
"LGPL-2.1-only",
"LGPL-2.0-or-later",
"ICU",
"Li... | permissive | Xilinx/Vitis-AI | 31e664f7adff0958bb7d149883ab9c231efb3541 | f74ddc6ed086ba949b791626638717e21505dba2 | refs/heads/master | 2023-08-31T02:44:51.029166 | 2023-07-27T06:50:28 | 2023-07-27T06:50:28 | 215,649,623 | 1,283 | 683 | Apache-2.0 | 2023-08-17T09:24:55 | 2019-10-16T21:41:54 | Python | UTF-8 | Python | false | false | 10,659 | py | import argparse
import os
import time
import torch
import torch.nn as nn
import torchvision.datasets as datasets
import torchvision.transforms as transforms
from pytorch_nndct import get_pruning_runner
parser = argparse.ArgumentParser()
parser.add_argument(
'--method', type=str, default='iterative', help='iterat... | [
"do-not-reply@gitenterprise.xilinx.com"
] | do-not-reply@gitenterprise.xilinx.com |
260bf1b93bcd27bc0cb7694536a4ba9c217b4072 | de24f83a5e3768a2638ebcf13cbe717e75740168 | /moodledata/vpl_data/104/usersdata/228/50746/submittedfiles/av1_2.py | bae0b9ed8cdec01e64f282f927ac05793347dc28 | [] | 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 | 470 | py | # -*- coding: utf-8 -*-
import math
n=int(input('digite a dimensรฃo da barra de chocolate seu cuzรฃo:'))
x1=int(input('digite a coordenada x da figura 1:'))
y1=int(input('digite a coordenada y da figura 1:'))
x2=int(input('digite a coordenada x da figura 2:'))
y2=int(input('digite a coordenada y da figura 2:'))
if x1<=(... | [
"rafael.mota@ufca.edu.br"
] | rafael.mota@ufca.edu.br |
099905020c576120fb6232a703a9de83c5c8002b | a7ded5d3d19a98e61a44189cffe3703f7938e0db | /xero_python/payrollau/models/timesheet.py | 493b8954d2de30837bd208ee908e652e279ab3d5 | [
"MIT"
] | permissive | liseekeralbert/xero-python | dfd1076344f763d74f81f701e32600cf88bcc7b2 | d27ab1894ecd84d2a9af0ca91583593756b21ab3 | refs/heads/master | 2022-12-16T07:41:14.331308 | 2020-09-18T17:12:35 | 2020-09-18T17:12:35 | null | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 8,740 | py | # coding: utf-8
"""
Xero Payroll AU
This is the Xero Payroll API for orgs in Australia region. # noqa: E501
OpenAPI spec version: 2.3.0
Contact: api@xero.com
Generated by: https://openapi-generator.tech
"""
import re # noqa: F401
from xero_python.models import BaseModel
class Timesheet(Bas... | [
"sid.maestre@gmail.com"
] | sid.maestre@gmail.com |
26a9cb5f30a3cf4c4bf5cd521eeab51868367484 | eddb9243d65ff6b0c51502c877e91c034ca5b349 | /desktop_new.py | 422713fc6c35f00901b3136bbb7e29a4dbabe62e | [] | no_license | cristianmusic7/Donkey-car-image-recognition | 1a90b1261f78d986171fab5d13b6f75ceba11c63 | e08afc1c250cc563a8a776785c56cb15ef9c3e58 | refs/heads/master | 2020-09-03T00:38:46.930267 | 2019-11-04T03:47:28 | 2019-11-04T03:47:28 | 219,342,257 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 4,299 | py | # desktop.py
import asyncio
import aiohttp
import cv2
import json
import numpy as np
import argparse
from imutils.video import FPS
import imutils
from rtcbot import RTCConnection, Gamepad, CVDisplay
# construct the argument parser and parse the arguments
ap = argparse.ArgumentParser()
ap.add_argument("-p", "--prototx... | [
"you@example.com"
] | you@example.com |
bac6cf0ef69a3305e112f61db28295b9b5055f98 | 54f352a242a8ad6ff5516703e91da61e08d9a9e6 | /Source Codes/CodeJamData/15/02/18.py | 7fff1f128ae1ac791095e13e767772b235e64379 | [] | no_license | Kawser-nerd/CLCDSA | 5cbd8a4c3f65173e4e8e0d7ed845574c4770c3eb | aee32551795763b54acb26856ab239370cac4e75 | refs/heads/master | 2022-02-09T11:08:56.588303 | 2022-01-26T18:53:40 | 2022-01-26T18:53:40 | 211,783,197 | 23 | 9 | null | null | null | null | UTF-8 | Python | false | false | 406 | py | import sys
import math
t = int(sys.stdin.readline().strip())
for i in range(t):
d = int(sys.stdin.readline().strip())
p = [int(k) for k in sys.stdin.readline().strip().split()]
minm = max(p)
j = 1
while j < minm:
m = 0
for k in range(d):
m += (p[k] + j - 1) / j - 1
... | [
"kwnafi@yahoo.com"
] | kwnafi@yahoo.com |
b97cc92c79952f82fe2dcbc3881bef415eabfae2 | 85a9ffeccb64f6159adbd164ff98edf4ac315e33 | /pysnmp-with-texts/CISCO-DMN-DSG-PRODUCTION-MIB.py | b5ed607f3ceec754b230a08f00d28aa2ed45f9dd | [
"LicenseRef-scancode-warranty-disclaimer",
"LicenseRef-scancode-proprietary-license",
"LicenseRef-scancode-unknown-license-reference",
"Apache-2.0"
] | permissive | agustinhenze/mibs.snmplabs.com | 5d7d5d4da84424c5f5a1ed2752f5043ae00019fb | 1fc5c07860542b89212f4c8ab807057d9a9206c7 | refs/heads/master | 2020-12-26T12:41:41.132395 | 2019-08-16T15:51:41 | 2019-08-16T15:53:57 | 237,512,469 | 0 | 0 | Apache-2.0 | 2020-01-31T20:41:36 | 2020-01-31T20:41:35 | null | UTF-8 | Python | false | false | 5,400 | py | #
# PySNMP MIB module CISCO-DMN-DSG-PRODUCTION-MIB (http://snmplabs.com/pysmi)
# ASN.1 source file:///Users/davwang4/Dev/mibs.snmplabs.com/asn1/CISCO-DMN-DSG-PRODUCTION-MIB
# Produced by pysmi-0.3.4 at Wed May 1 11:55:07 2019
# On host DAVWANG4-M-1475 platform Darwin version 18.5.0 by user davwang4
# Using Python vers... | [
"dcwangmit01@gmail.com"
] | dcwangmit01@gmail.com |
b01ad9c8a93447aaab97d72aebb1b10d25c1222b | 1b862f34c125ce200244dd79e4fda4b5b605ce2e | /.history/images_20210218100216.py | 7b30a0f4a984693ddd55e1ad78ab2b6c5d15a53b | [] | no_license | edwino26/CoreImages | 26085a49cf1cb79442ae563a88354b2fdceace87 | 6bf6e68cac8ab36c87b1e6ea702bfe6882b0f40e | refs/heads/master | 2023-06-22T12:53:37.344895 | 2021-07-21T04:31:44 | 2021-07-21T04:31:44 | 309,553,247 | 0 | 4 | null | 2021-04-29T23:23:15 | 2020-11-03T02:45:07 | Lasso | UTF-8 | Python | false | false | 2,677 | py |
#
# %%
import glob
import cv2
import os.path
import numpy as np
import matplotlib.pyplot as plt
# %%
cores_per_image = 6
uvFiles = glob.glob('./Photos/*.jpg')
fname = uvFiles[0][9:25]
print(fname)
# Picture path
img = cv2.imread(uvFiles[0])
a = []
b = []
# %%
def oneventlbuttondown(event, x, y, flags, param)... | [
"ortega.edwin.y@gmail.com"
] | ortega.edwin.y@gmail.com |
cc2dc649da57f9b2130bd313729257af71306cba | e777b4cd72b6f8eb0eb451943edc2b2cac3a367a | /setup.py | 67443f8896345b4dd232e8701ae5f396baad255e | [] | no_license | bannsec/xss_catcher | 3620f523d0a44d54116148d2f70fe7faaef366dd | a2b363c0ff98dfd164903a6b42150ce679488b48 | refs/heads/master | 2021-06-18T19:35:55.816391 | 2017-06-19T00:11:40 | 2017-06-19T00:11:40 | 63,832,134 | 1 | 2 | null | null | null | null | UTF-8 | Python | false | false | 1,124 | py | # Always prefer setuptools over distutils
from setuptools import setup, find_packages
# To use a consistent encoding
from codecs import open
from os import path
here = path.abspath(path.dirname(__file__))
long_description = "See website for more info."
setup(
name='xss_catcher',
version='0.0.2',
descript... | [
"whootandahalf@gmail.com"
] | whootandahalf@gmail.com |
c0ee3d3acb28c074c182de16fb58bda400405331 | 0f96f24c8682ece3b501904baaa0eef411969bb1 | /0x0F-python-object_relational_mapping/6-model_state.py | 3b6b8d1e31f9d3168bf63050b77ae4dcab6af4a6 | [] | no_license | dkokonkwo/holbertonschool-higher_level_programming | 95c5103001e807bd46767f66d97568e23d893e68 | 5fa97f754afaf7326550113416e80fd942226254 | refs/heads/master | 2023-03-18T03:38:33.386497 | 2020-09-28T02:56:13 | 2020-09-28T02:56:13 | null | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 368 | py | #!/usr/bin/python3
"""Start link class to table in database
"""
import sys
from model_state import Base, State
from sqlalchemy import (create_engine)
if __name__ == "__main__":
engine = create_engine('mysql+mysqldb://{}:{}@localhost/{}'.format(
sys.argv[1], sys.argv[2], sys.argv[3]), pool_pre_ping... | [
"eislek02@gmail.com"
] | eislek02@gmail.com |
bd3f1ffa0841425a78c119759282d4003145b05f | 2ee1fa9a5983c057f050a93c46bc894974856179 | /botorch/utils/multi_objective/scalarization.py | 67a16f8103e1d54fb9a1704949c6f9b1097d21bd | [
"MIT"
] | permissive | jelena-markovic/botorch | 8bd9641f165264ed1fea68af0a95f0e37b5e187c | dc868cc569e266abb4e7e112d019bd1bd6af27c4 | refs/heads/master | 2023-08-17T05:04:03.033178 | 2020-11-04T23:57:09 | 2020-11-04T23:58:39 | 310,691,257 | 0 | 0 | MIT | 2020-11-06T19:45:42 | 2020-11-06T19:45:41 | null | UTF-8 | Python | false | false | 2,455 | py | #!/usr/bin/env python3
# Copyright (c) Facebook, Inc. and its affiliates.
#
# This source code is licensed under the MIT license found in the
# LICENSE file in the root directory of this source tree.
r"""
Helper utilities for constructing scalarizations.
References
.. [Knowles2005]
J. Knowles, "ParEGO: a hybrid ... | [
"facebook-github-bot@users.noreply.github.com"
] | facebook-github-bot@users.noreply.github.com |
71357d96f44f5b2a00c333e37802a5dd988ffbdd | 04c06575a49a3f4e30e4f3f2bf2365585664d2e8 | /python_leetcode_2020/Python_Leetcode_2020/1465_max_area_of_pieceofcake_after_cuts.py | 84149a9672842b58f898ef87d46a45ad4451afe6 | [] | no_license | xiangcao/Leetcode | 18da3d5b271ff586fdf44c53f1a677423ca3dfed | d953abe2c9680f636563e76287d2f907e90ced63 | refs/heads/master | 2022-06-22T04:45:15.446329 | 2022-06-17T13:03:01 | 2022-06-17T13:03:01 | 26,052,392 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 1,291 | py | """
Given a rectangular cake with height h and width w, and two arrays of integers horizontalCuts and verticalCuts where horizontalCuts[i] is the distance from the top of the rectangular cake to the ith horizontal cut and similarly, verticalCuts[j] is the distance from the left of the rectangular cake to the jth vertic... | [
"xiangcao_liu@apple.com"
] | xiangcao_liu@apple.com |
063947a01bf8d4c0106d3e960c33eb7208b143f8 | d80ef8c716bcc5ea54e87540dbf0463f15bf44ce | /Proxy/test/mitmproxy/test_version.py | f87b08517cd20bf6f7ab33dd2aa65b4da988f2a7 | [
"MIT"
] | permissive | YagiGo/YPTN | 5043d22eb131c7164d3fa575f0c4e3d8a963dbf4 | d7692a68ee1bf578536b4c09c566272210fc8b69 | refs/heads/master | 2018-10-16T03:44:18.024169 | 2018-07-24T08:53:57 | 2018-07-24T08:53:57 | 107,633,669 | 4 | 1 | MIT | 2018-06-08T09:04:29 | 2017-10-20T04:55:22 | JavaScript | UTF-8 | Python | false | false | 248 | py | import runpy
from mitmproxy import version
def test_version(capsys):
runpy.run_module('mitmproxy.version', run_name='__main__')
stdout, stderr = capsys.readouterr()
assert len(stdout) > 0
assert stdout.strip() == version.VERSION
| [
"jeremywu1995@gmail.com"
] | jeremywu1995@gmail.com |
fc6d2a4cbbd5a898cc67e115186e1724231f9eaf | 7e7e2c5d327a518a03b2307f7f3ece37517fa361 | /ThirdWeek/Task9.py | 196edbf3279906c37f30e69bd31f1ff91ba3f5d3 | [] | no_license | Midnight1Knight/HSE-course | 0fdd995f2e8bf98ecd5fc4ecbcd503e6ef2150ab | 9b79c359fc65d260e3d454de5464abd5c89be770 | refs/heads/master | 2022-09-24T14:36:29.472005 | 2020-06-04T17:11:37 | 2020-06-04T17:11:37 | 269,414,804 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 286 | py | p = float(0)
n = int(input())
x = float(input())
sumX = float
counter = 0
while n > 0:
k = float(input())
sumX = x
counter = n
while counter > 1:
sumX *= x
counter -= 1
p += float(k * sumX)
n -= 1
k = float(input())
p += float(k)
print(float(p))
| [
"andrkar008@gmail.com"
] | andrkar008@gmail.com |
13109ecbe3376732d745c55c29a10df925581684 | c87b2388fe94dbc081ad01e59f8b66d90f2ded46 | /tests/test_project/app_rename_table/migrations/0001_initial.py | ea12d2850c4271965b9e03aa7b2c261527668328 | [
"Apache-2.0"
] | permissive | rajuniit/django-migration-linter | f6ac60064cd1feb6a1b6a552ff1656619213a419 | 8db24f919dd2411d0c7d000ab51a92398771cb24 | refs/heads/main | 2023-07-26T17:57:03.535454 | 2021-09-07T05:31:08 | 2021-09-07T05:31:08 | 403,851,905 | 0 | 0 | Apache-2.0 | 2021-09-07T05:29:01 | 2021-09-07T05:29:01 | null | UTF-8 | Python | false | false | 709 | py | # -*- coding: utf-8 -*-
# Generated by Django 1.11.18 on 2019-04-14 15:00
from __future__ import unicode_literals
from django.db import migrations, models
class Migration(migrations.Migration):
initial = True
dependencies = []
operations = [
migrations.CreateModel(
name="A",
... | [
"david.wobrock@gmail.com"
] | david.wobrock@gmail.com |
35d8ead869e13c5b0a9da303e4e549be8cada59f | c6f261ec25661c4b454721ab9b727b37eb738ddc | /7_7.py | 90ff96474d377802fbd3e5ecc275b96e2ea41ead | [] | no_license | LinearPi/challenge_game | c88c7b2a96e90820abd5c6edf990c31ec8fbc28b | 241fbed9c968c282b3d0a627eda724a59701ff95 | refs/heads/master | 2022-01-13T16:28:35.065079 | 2019-06-13T07:06:22 | 2019-06-13T07:06:22 | 97,297,520 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 49 | py | print('someone like you but you donor like it')
| [
"807745654@qq.com"
] | 807745654@qq.com |
8867e7d73b6bbba89607d65330e7999f1bbe7e27 | 2a3a1f103a324bd36e1f557643bf785a782ac5bf | /1097.py | 972c97114436ab2cb4c479a435b64015bbca0b26 | [] | no_license | dbgkswn7581/python_basic_questions | 4c381847c6ab90647cc4dddaca3831210dbbe721 | 5042ea2a2e84a71e81ab8eccf940abde1e82a68f | refs/heads/master | 2023-02-08T04:59:51.654197 | 2021-01-04T06:54:18 | 2021-01-04T06:54:18 | 326,170,578 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 597 | py | arr = []
b = []
for i in range(19):
a = input()
for j in a:
if j == '0':
b.append(0)
elif j == '1':
b.append(1)
arr.append(b)
b = []
def rever(x,y):
for i in range(19):
if arr[x-1][i] == 1:
arr[x-1][i] = 0
else:
arr[x-... | [
"72482222+dbgkswn7581@users.noreply.github.com"
] | 72482222+dbgkswn7581@users.noreply.github.com |
e716ca1d7f771038543501f168eb23c014a9c77e | e41633a4816260be9e138e3460c3971716765544 | /simple_subtraction.py | 7846fd291cf5dcfdb5cc1bfb395007f5400f2eb9 | [
"MIT"
] | permissive | pawarspeaks/Python-Projects | c608ed8cc8c938a922b16ff8d4bd03b5f009b5ba | 9ba2f21a40e9d2297395cb4e9453687a0de4d754 | refs/heads/main | 2023-08-22T23:38:41.708153 | 2021-10-29T19:13:48 | 2021-10-29T19:13:48 | 422,687,844 | 4 | 0 | null | 2021-10-29T19:13:20 | 2021-10-29T19:13:20 | null | UTF-8 | Python | false | false | 117 | py | pertama=int(raw_input("Angka pertama=> "))
kedua=int(raw_input("Angka Kedua=> "))
print "Hasil"
print pertama-kedua
| [
"noreply@github.com"
] | pawarspeaks.noreply@github.com |
0ca434186efe591b665ab5be8163b5b376502a87 | b373c3b1e9b60f604c5213b8678cc374e4d60621 | /tasks.py | 429eda6543b1c0d1c4e9ccd8fa56b119ee23974b | [
"MIT"
] | permissive | dgilland/sqlservice | db512bc3328477472298ca5186de3e9d4b0541d4 | 0be2bb62b2655916f5958e7eccaed63e83f1fe7b | refs/heads/master | 2023-05-31T02:35:33.651188 | 2022-10-12T00:37:13 | 2022-10-12T00:37:13 | 59,388,509 | 173 | 13 | null | 2018-08-03T21:23:52 | 2016-05-22T00:56:21 | Python | UTF-8 | Python | false | false | 3,950 | py | """
This module provides the CLI interface for invoke tasks.
All tasks can be executed from this file's directory using:
$ inv <task>
Where <task> is a function defined below with the @task decorator.
"""
from functools import partial
import os
from invoke import Exit, UnexpectedExit, run as _run, task
PACKA... | [
"dgilland@gmail.com"
] | dgilland@gmail.com |
a9b1d887ebcfe4a2b8adbc771fbe2a309ca4ab71 | 37572d62583271b872ec0e8f051701111d8d9230 | /migrations/versions/1b2b0d93a8ba_16.py | cd05612485ac7c331d9aa19c6caa6a5372232951 | [] | no_license | linwenjunid/flasky | 6b4b920b56194b04d2a33b2c843b858c519dffb5 | ea1e74bbc1185ade002cdfbee96b99675ee3c22d | refs/heads/master | 2020-03-18T23:40:47.958836 | 2019-03-29T01:27:40 | 2019-03-29T01:27:40 | 135,418,770 | 1 | 0 | null | null | null | null | UTF-8 | Python | false | false | 663 | py | """16
Revision ID: 1b2b0d93a8ba
Revises: 5ae2353a173c
Create Date: 2018-08-21 16:10:28.530756
"""
from alembic import op
import sqlalchemy as sa
# revision identifiers, used by Alembic.
revision = '1b2b0d93a8ba'
down_revision = '5ae2353a173c'
branch_labels = None
depends_on = None
def upgrade():
# ### command... | [
"linwenjunid@163.com"
] | linwenjunid@163.com |
7b31e92e4ea4f7d437d2d38e4498703c7211dc33 | 0fd9cb5e8bfb26fa62b90e65f7fbaa2fd233d3d3 | /napalm/python/netmiko/fortinet/fortinet_ssh.py | f20231334f1f3a4dffb086717c2d3a33a95eebde | [] | no_license | levensailor/pip4lambda | 0cff15b2dba3ba586652c6cc914252daf01a874b | 22a83a43141f9bf72fdd0cd5faee3b88cc7e49fa | refs/heads/master | 2022-03-02T05:31:48.894906 | 2022-02-11T16:38:00 | 2022-02-11T16:38:00 | 174,207,440 | 2 | 0 | null | null | null | null | UTF-8 | Python | false | false | 3,833 | py | from __future__ import unicode_literals
import paramiko
import time
import re
from netmiko.cisco_base_connection import CiscoSSHConnection
class FortinetSSH(CiscoSSHConnection):
def _modify_connection_params(self):
"""Modify connection parameters prior to SSH connection."""
paramiko.Transport._pr... | [
"jlevensailor@presidio.com"
] | jlevensailor@presidio.com |
75f4afcd3f28a07b31a0169bdacd3a042829807a | fb754d8c5abf560bb0f0c123dde2f6790d71452c | /dataset/dota_coco/dota_generate_test_result.py | 44c8f1804bcff723e1dbb5df2e172340c4b1e41e | [
"Apache-2.0"
] | permissive | ellinyang/PaddleDetection | 024c256c620949828fd3d2a7592aaebc6e3fef92 | 993119bbc3de330310083e9487fef5147d82c087 | refs/heads/master | 2021-11-04T17:56:50.729293 | 2021-10-28T02:30:12 | 2021-10-28T02:30:12 | 222,353,395 | 3 | 0 | Apache-2.0 | 2019-11-18T03:11:33 | 2019-11-18T03:11:32 | null | UTF-8 | Python | false | false | 7,901 | py | # Copyright (c) 2021 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"
] | ellinyang.noreply@github.com |
0e4d12400d385371006b7ad61680b902e236e83c | dc42a65f63ca8327ee74675c7606a9b6e3b39d40 | /tpdatasrc/co8fixes/scr/py00081spugnoir.py | 9d67ab60fadca2c1158c5ab7df6dfd15a16fc507 | [
"MIT"
] | permissive | anatoliy-savchak/TemplePlus | 03cda558de2fd30d34305b7e5b548d202ba97f76 | 50922bb14cc2d7dcf8fceeccf45c3b905c1b512f | refs/heads/master_old | 2023-04-28T12:01:06.205497 | 2021-09-25T13:03:51 | 2021-09-25T13:03:51 | 172,583,383 | 2 | 0 | MIT | 2019-02-25T20:56:01 | 2019-02-25T20:56:00 | null | UTF-8 | Python | false | false | 3,263 | py | from toee import *
from utilities import *
from combat_standard_routines import *
def san_dialog( attachee, triggerer ):
if (game.global_flags[819] == 1):
attachee.attack(triggerer)
return SKIP_DEFAULT
if (attachee.leader_get() != OBJ_HANDLE_NULL):
triggerer.begin_dialog( attachee, 100 ) ## spugnoir in part... | [
"doug1234@unknown"
] | doug1234@unknown |
28043124ed5ef8d6e19e6a791c78390a5bf65db4 | 2c74bb301f1ed83b79254944183ac5a18a639fdf | /tests/components/flux_led/test_config_flow.py | 3f1704f7e8c9309afe03ed25f06afd83a44ad0d9 | [
"Apache-2.0"
] | permissive | Adminiuga/home-assistant | 5bec93007ddac1a268cc359bf7e48530c5f73b38 | dcf68d768e4f628d038f1fdd6e40bad713fbc222 | refs/heads/dev | 2023-02-22T22:03:31.013931 | 2022-11-09T00:27:20 | 2022-11-09T00:27:20 | 123,929,062 | 5 | 4 | Apache-2.0 | 2023-02-22T06:14:31 | 2018-03-05T14:11:09 | Python | UTF-8 | Python | false | false | 25,829 | py | """Define tests for the Flux LED/Magic Home config flow."""
from __future__ import annotations
from unittest.mock import patch
import pytest
from homeassistant import config_entries
from homeassistant.components import dhcp
from homeassistant.components.flux_led.const import (
CONF_CUSTOM_EFFECT_COLORS,
CONF... | [
"noreply@github.com"
] | Adminiuga.noreply@github.com |
3264f45ff99ac37d6e6a01b5f9e165a75bcb3531 | 39d3af3e67a00b93d4325ecd6942b021bf4acbba | /deployTest1/wsgi.py | 0e2c9f328e4ad3751809c8a8c259b2991f57ade7 | [] | no_license | dmhburke/DeployTest1GIT | 51fcc1405eaf8420aed60ab42c2e21a4a1a36f59 | 002d06e9dca5bc9d032fd7953fcb1ea16fb8994e | refs/heads/master | 2020-05-04T03:03:59.969438 | 2019-04-02T17:07:58 | 2019-04-02T17:07:58 | 178,936,800 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 399 | py | """
WSGI config for deployTest1 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/2.1/howto/deployment/wsgi/
"""
import os
from django.core.wsgi import get_wsgi_application
os.environ.setdefault('DJANGO_S... | [
"dmhburke@gmail.com"
] | dmhburke@gmail.com |
c3d04162029b2999ba7cd3a187103bbfa97e48c4 | e1525596c75925dd5f711bbf95fb90acff440339 | /tests/hwsim/test_p2p_channel.py | 316f6b6a3675b5f24ab49294064c9fb77d48a74e | [
"BSD-3-Clause"
] | permissive | kimocoder/hostap-wpa3 | 1a414dfe21ed0395ea0f1c52f7e4ebc7b26561df | 2a0c65b3caa898d0720eb89a937c0c4ca5360548 | refs/heads/master | 2023-04-26T05:08:13.139108 | 2018-11-24T21:52:52 | 2018-11-24T21:52:52 | 180,796,283 | 0 | 0 | NOASSERTION | 2023-04-24T01:42:29 | 2019-04-11T13:18:19 | C | UTF-8 | Python | false | false | 57,169 | py | # P2P channel selection test cases
# Copyright (c) 2014, Jouni Malinen <j@w1.fi>
#
# This software may be distributed under the terms of the BSD license.
# See README for more details.
from remotehost import remote_compatible
import logging
logger = logging.getLogger()
import os
import subprocess
import time
import h... | [
"j@w1.fi"
] | j@w1.fi |
260b0f3bafcd890c3109cd70051c8239142693c3 | 27d670c976ce0771087008c74e8960e25c4b2b01 | /src/main/resources/script_templates/Hadim_Scripts/Preprocessing/Preprocess_TIRF_Images.py | bd2a01cd42ed7c27cae7045060318000cfffdb88 | [
"BSD-3-Clause",
"LicenseRef-scancode-unknown-license-reference",
"MIT"
] | permissive | hadim/Hadim_Scripts | 2f068ead5df4a299e2ff871ebff4ddc6fdb4a39f | dc44a12e294402ac3c76062197f391dad1ebcaaf | refs/heads/master | 2022-12-31T08:47:49.386465 | 2020-10-07T15:51:29 | 2020-10-07T15:51:29 | 29,701,480 | 2 | 3 | BSD-3-Clause | 2019-05-17T03:06:59 | 2015-01-22T21:35:15 | Python | UTF-8 | Python | false | false | 1,592 | py | # @Float(label="Sigma 1", value=6) sigma1
# @Float(label="Sigma 2", value=2) sigma2
# @Float(label="Gaussian Filter Size", value=50) gaussian_filter_size
# @Boolean(label="Iterate XY plane (reduce memory usage)", value=False) iterate_plane
# @Boolean(label="Save Preprocessed Image", value=False) save_image
# @Dataset d... | [
"hadrien.mary@gmail.com"
] | hadrien.mary@gmail.com |
53603194cbdad317cab36c3658300ab37fce1e8f | 658e2e3cb8a4d5343a125f7deed19c9ebf06fa68 | /course_DE/data-engineering-nanodegree-master/4-data-pipelines-with-airflow/L2_exercises/exercise3.py | f0b82c490da3c700ec1b44526eff4e1861fa0d42 | [] | no_license | yennanliu/analysis | 3f0018809cdc2403f4fbfe4b245df1ad73fa08a5 | 643ad3fed41961cddd006fadceb0e927f1db1f23 | refs/heads/master | 2021-01-23T21:48:58.572269 | 2020-10-13T22:47:12 | 2020-10-13T22:47:12 | 57,648,676 | 11 | 9 | null | null | null | null | UTF-8 | Python | false | false | 2,315 | py | #Instructions
#1 - Modify the bikeshare DAG to load data month by month, instead of loading it all at once, every time.
#2 - Use time partitioning to parallelize the execution of the DAG.
import datetime
import logging
from airflow import DAG
from airflow.contrib.hooks.aws_hook import AwsHook
from airflow.hooks.post... | [
"f339339@gmail.com"
] | f339339@gmail.com |
76a9353851b054c98e8378600f4307a284e242c9 | ca7aa979e7059467e158830b76673f5b77a0f5a3 | /Python_codes/p02662/s484498630.py | e29ce3a687f8624090192e32bfac0f5f683a21d9 | [] | 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 | 417 | py | import numpy as np
n,s = map(int,input().split())
a = list(map(int,input().split()))
dp = np.zeros(s+1, dtype=np.int64)
"""
dp[i][j] := i็ช็ฎใพใงใ้ธใใงใๅใใกใใใฉjใฎใจใใฎๅ ดๅใฎๆฐ
้ท็งป โ 1ๅขใใใจๅ
จไฝ้ๅใซ้ธใถ, Aใซใฏ้ธใฐใชใ, Aใซ้ธใถใฎ3็จฎ้ก.
"""
mod = 998244353
dp[0] = 1
for i in range(n):
p = (dp * 2) % mod
p[a[i]:] += dp[:-a[i]]
dp = p % mod
print(dp[s]) | [
"66529651+Aastha2104@users.noreply.github.com"
] | 66529651+Aastha2104@users.noreply.github.com |
37533e7e38a05044b0bdae8d1f37b6698f44c722 | b53816386ea9ec52e7fce862a06fd065928c0083 | /EpExtractor.py | aa1b30688f6534562cb53a1d826dfc6f5830a2be | [] | no_license | grburgess/mnEpFit | 3e3bcbfca1e244029f04144e67e3d86a65853219 | c7008f3a71ebd9dade7e4746507024868ede7d3a | refs/heads/master | 2021-05-30T01:21:23.896379 | 2015-05-20T07:50:46 | 2015-05-20T07:50:46 | 35,933,877 | 0 | 1 | null | null | null | null | UTF-8 | Python | false | false | 742 | py | import json
import matplotlib.pyplot as plt
class EpExtractor(object):
def __init__(self,file,ext_name=""):
self.ext_name = ext_name
self._ReadFile(file)
self._PrepareData()
print self._tbins[0]
plt.loglog(self._tbins,self._Ep)
self._WriteJSON()
def ... | [
"jmichaelburgess@gmail.com"
] | jmichaelburgess@gmail.com |
58ddad151756db23c9a9cf8a848d1e2796b0cd70 | 9743d5fd24822f79c156ad112229e25adb9ed6f6 | /xai/brain/wordbase/nouns/_elderly.py | e148c0716dce29ed715268660229fed3e87d894e | [
"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 | 316 | py |
#calss header
class _ELDERLY():
def __init__(self,):
self.name = "ELDERLY"
self.definitions = [u'old people considered as a group: ']
self.parents = []
self.childen = []
self.properties = []
self.jsondata = {}
self.specie = 'nouns'
def run(self, obj1 = [], obj2 = []):
return self.jsondata
| [
"xingwang1991@gmail.com"
] | xingwang1991@gmail.com |
f9a2749282d1c35368f740f61adfa1e06a07cfa0 | 131caeecc070839555b95382fe9c6ea77a618dce | /.history/Classiles/light_switch_20210614212521.py | c23dce879e163a83c076bdb9319ed48fee6b9b64 | [
"Unlicense"
] | permissive | minefarmer/Coding101-OOP | f128e34c95f5362b3d9a53bbac3d862c3f256263 | d5655977559e3bd1acf6a4f185a6121cc3b05ce4 | refs/heads/main | 2023-05-22T18:42:37.769345 | 2021-06-18T00:28:06 | 2021-06-18T00:28:06 | 376,620,545 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 291 | py | """[Practice: Light Switch]
Variable name class name
("instance")
ice = Ice)
"""
class Light:
def toggle(self):
print
self.on = not self.on
def __init__(self):
self.on = False
def is_on(sel):
return self.on
| [
"pgoldfarm@yahoo.com"
] | pgoldfarm@yahoo.com |
c6486839fa928e444c6ac41aad0403ed310a77f4 | 67d9310435d8f99fc1c76f1374da97e4af1137a6 | /myProject/settings.py | 3587bb0cc665c5955134e27fe93c8dfe4c86bb87 | [] | no_license | coralisland-git/Account-app | a99c400b9ceb469626843e5b6441700f72e2c5ef | dbac5f677860fdbc03ebf4878c030542746b214f | refs/heads/master | 2021-06-18T13:09:07.360079 | 2017-06-23T15:18:35 | 2017-06-23T15:18:35 | null | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 2,946 | py | """
Django settings for myProject project.
Generated by 'django-admin startproject' using Django 1.8.7.
For more information on this file, see
https://docs.djangoproject.com/en/1.8/topics/settings/
For the full list of settings and their values, see
https://docs.djangoproject.com/en/1.8/ref/settings/
"""
# Build pa... | [
"coseasonruby@gmail.com"
] | coseasonruby@gmail.com |
ba4c496e73c24377a0a74528dc5b31c715cbf133 | 10717fe6f68c4ee9bcf27ee62e89581f4a030b8e | /extractor/douyutv.py | 1560c79cb11ad6615149dcf68205d73daa098fda | [] | no_license | HagerHosny199/Testing_Project | ff7f9a54b7a213c9d9ade0c5192845c2a29adc8b | 9bc170263e239cc24ccfb2aa33b9913ff799ffe9 | refs/heads/master | 2020-05-17T20:57:01.750640 | 2019-05-08T22:13:06 | 2019-05-08T22:13:06 | 183,954,736 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 6,876 | py | # coding: utf-8
from __future__ import unicode_literals
import time
import hashlib
import re
from .common import InfoExtractor
from utils import (
ExtractorError,
unescapeHTML,
unified_strdate,
urljoin,
)
class DouyuTVIE(InfoExtractor):
IE_DESC = 'ๆ้ฑผ'
_VALID_URL = r'https?://(?:www\.)?douyu(... | [
"hagarhosny19@gmail.com"
] | hagarhosny19@gmail.com |
a52be94d2d29ec70efb3833b2e39a16938664fb2 | 1beb0d3a73a97c5367cc54d37b34a7536b975d68 | /object/LocateDealOrderObject.py | 3ce43eb2ac775bea904fa2525cfb92d284d3714e | [] | no_license | Hardworking-tester/HuaYing | a24aa271afe81c95241818586b1d1d5abd6b4282 | 4dd065806f20bfdec885fa2b40f2c22e5a8d4f15 | refs/heads/master | 2021-06-03T10:06:33.604494 | 2017-06-22T09:32:13 | 2017-06-22T09:32:13 | 42,507,030 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 5,034 | py | #encoding:utf-8
from Data import get_number_by_data,ReadExcel
from selenium import webdriver
from object import OperateDealOrderObject
from selenium.webdriver.common.by import By
from PublicMethod.LocateElementCommonClass import CommonClass
class LocateDealOrderObject():
def getElementList(self,br,testcaseId):
... | [
"373391120@qq.com"
] | 373391120@qq.com |
1e8d43e99c4a6c18af0fa23b95b9988a735d38cb | 437e905d8c214dc25c559b1dc03eaf9f0c85326f | /is28/beresnev28/beresnev_lr/zadanie_2-16.py | c09833e26b9950e9eca8f7d7c177ee605c551572 | [] | no_license | AnatolyDomrachev/karantin | 542ca22c275e39ef3491b1c0d9838e922423b5a9 | 0d9f60207e80305eb713fd43774e911fdbb9fbad | refs/heads/master | 2021-03-29T03:42:43.954727 | 2020-05-27T13:24:36 | 2020-05-27T13:24:36 | 247,916,390 | 0 | 1 | null | null | null | null | UTF-8 | Python | false | false | 352 | py | a=[[1,2,3,4],[5,6,7,8],[9,10,11,12],[13,14,15,16]]
b=[[],[],[],]
print(a[0])
print(a[1])
print(a[2])
print(a[3])
i=(int(input('ะฒะฒะตะดะธัe ะฝะพะผะตั ัััะพะบะธ = '))-1)
k=(int(input('ะฒะฒะตะดะธัะต ะฝะพะผะตั ััะพะปะฑัะฐ = '))-1)
for f in range(4):
a[f][k]=0
for t in range(4):
a[i][t]=0
print(a[0])
print(a[1])
print(a[2])
print(a[3])
| [
"you@example.com"
] | you@example.com |
99520ba9383618cd1f2b8302fea12bb4177eff2a | 8f8ac99fd3ed9ceb36778b404f6fdd0b6899d3f4 | /pyobjc-framework-FileProviderUI/PyObjCTest/test_fpuiactionextensioncontext.py | 5cce4d7ed43ae4829e41889ea9bd508810e4738a | [
"MIT"
] | permissive | strogo/pyobjc | ac4201c7742eb75348328eeecb7eedf4e3458de3 | 2579c5eaf44b0c5af77ee195c417d2c65e72dfda | refs/heads/master | 2023-07-13T00:41:56.448005 | 2021-08-24T06:42:53 | 2021-08-24T06:42:53 | null | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 698 | py | import FileProviderUI
from PyObjCTools.TestSupport import TestCase, min_os_level
class TestFPUIActionExtensionContext(TestCase):
def test_constants(self):
self.assertEqual(FileProviderUI.FPUIExtensionErrorCodeUserCancelled, 0)
self.assertEqual(FileProviderUI.FPUIExtensionErrorCodeFailed, 1)
@... | [
"ronaldoussoren@mac.com"
] | ronaldoussoren@mac.com |
4feae1113ac543f26e086b2e4dd8be4307a102f4 | 08bb74d61a8bd8da07784f1146b6a2461f56b02a | /demo_python/p_1/tm.py | 406a15bead40a566d612b61596980efdcf5e7757 | [] | no_license | hphp/demo | 6ee25df2e6b4f33e5c2c4b276ec394ea1a0f817c | f83cd0ce569d92410ca1320e229cde0e88561ec8 | refs/heads/master | 2021-05-16T02:04:47.979776 | 2016-09-19T13:16:10 | 2016-09-19T13:16:10 | 9,994,208 | 1 | 1 | null | null | null | null | UTF-8 | Python | false | false | 1,779 | py | #!/usr/local/bin/python
import os
import time
import _mysql
def hp_query(query):
con = None
version = -1
try :
con = _mysql.connect('localhost','root','','ip_distribution')
con.query(query)
result = con.use_result()
v = []
while True:
rows = result.fetc... | [
"hphpcarrot@gmail.com"
] | hphpcarrot@gmail.com |
e7c4de9a6b3d90e5b4be81f8597dbcefe813443e | b980c0bae0cff8533253c135449beb6e09759dca | /Grader_Exercise/08_Dict/08_Dict_23.py | 82d1da939f42f32157d3dff8a5303588ffde5419 | [] | no_license | manhanton/COM-PROG | 1f76985b3f3fea54057a0da1d3911dc91998c5be | 7a4f2c62ecd6677ec1f818a5d115aa0fb182b3a2 | refs/heads/main | 2023-06-18T10:25:26.448133 | 2021-07-16T07:46:45 | 2021-07-16T07:46:45 | null | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 402 | py | def reverse(d):
nd = {}
for key,value in d.items() : nd[value] = key
return nd
d = {}
for i in range(int(input())) :
x = input().split()
d[x[0]+' '+x[1]] = x[2]
rd = reverse(d)
for i in range(int(input())) :
y = input()
if y in d.keys() : print('%s --> %s' % (y,d[y]))
elif y in rd.keys(... | [
"meen2545@gmail.com"
] | meen2545@gmail.com |
0429e2284d15b50a7b4df5b5e76249314c694204 | 2d01e5d2da7bf0836bd0ebb9185469e041e0f577 | /script/script_scrape_symbol_ard_marketwatch.py | 2fe5444add389a69002f5f70bd7ee5400c2687ef | [] | no_license | kozzion/rivernode_finance | 434c0f668a3131ad0bf94b9d57c1886c32ac6d5e | 17e88f990c9f5e65dc3fe892a28c163a4e6769f2 | refs/heads/master | 2022-11-15T03:44:14.936657 | 2020-06-22T15:44:22 | 2020-06-22T15:44:22 | 254,896,067 | 1 | 1 | null | null | null | null | UTF-8 | Python | false | false | 1,538 | py | import sys
import os
import json
import hashlib
sys.path.append(os.path.abspath('../../rivernode_core'))
from rivernode_core.system_config import SystemConfig
from rivernode_core.persistency.table_object_loader_disk import TableObjectLoaderDisk
sys.path.append(os.path.abspath('../../rivernode_finance'))
from riverno... | [
"jaap.oosterbroek@gmail.com"
] | jaap.oosterbroek@gmail.com |
a74dca56a62b18a2bb84892722b4cfe1650e9df0 | 2709e527c217a8264b48e2f549b3284e5ccb9551 | /0x0F-python-object_relational_mapping/relationship_state.py | d28e8a488307b18586655ba4e87563fc4629fed4 | [] | no_license | kwhit2/holbertonschool-higher_level_programming | 489d6b88ed14b9f2efd4637d8a71ae569b5027f6 | 2660516b12fee0f03c4025ba1d8d2762a8880a06 | refs/heads/main | 2023-05-22T17:57:02.035803 | 2021-06-12T18:43:54 | 2021-06-12T18:43:54 | 319,346,696 | 0 | 2 | null | null | null | null | UTF-8 | Python | false | false | 533 | py | #!/usr/bin/python3
""" Improved the file model_state.py with relationship class attribute """
from sqlalchemy import Column, Integer, String, ForeignKey
from sqlalchemy.ext.declarative import declarative_base
from sqlalchemy.orm import relationship
Base = declarative_base()
class State(Base):
""" class State t... | [
"kfw2@outlook.com"
] | kfw2@outlook.com |
64c3eb71437a4c5058884aa72b33396beb0067b1 | 18a1a72b5f2f1c4a668a96a6365daabe35729750 | /user/social_views.py | e457377a82d90aadc07ff6d46f278b3873719d25 | [] | no_license | AktanKasymaliev/django-ashar-app-backend | 200d0af0fd60d90834895f2c8924d0f5fe3a03c5 | 0b8d59203399487a1ee4dcae24ed6c716960380c | refs/heads/main | 2023-07-02T06:55:26.903742 | 2021-08-04T14:54:03 | 2021-08-04T14:54:03 | null | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 358 | py | from allauth.socialaccount.providers.google.views import GoogleOAuth2Adapter
from allauth.socialaccount.providers.facebook.views import FacebookOAuth2Adapter
from user.views import SocialLoginView
class GoogleLogin(SocialLoginView):
adapter_class = GoogleOAuth2Adapter
class FacebookLogin(SocialLoginView):
a... | [
"aktan.kasymaliev@icloud.com"
] | aktan.kasymaliev@icloud.com |
c2839fdaac33d51f5cc655bfc494acba3ed70d91 | 9a819fc91e17ef9a44e45cf68e76cf696381d06d | /api_gateway_examples/.env/lib/python3.6/site-packages/aws_cdk/aws_cloudwatch/__init__.py | dbbfba21e77e6539b687f68d85f00e427ce6fce1 | [] | no_license | Gautam3994/Dark-Knight | aef1d6383e0785130db75e80ed40f544a120579e | 327b2d58851a42da1b707addea73e40fac6a61cc | refs/heads/master | 2022-12-01T11:58:39.857379 | 2020-09-05T18:07:51 | 2020-09-05T18:07:55 | 203,866,327 | 0 | 1 | null | 2022-11-24T09:16:18 | 2019-08-22T20:14:43 | Python | UTF-8 | Python | false | false | 213,882 | py | """
## Amazon CloudWatch Construct Library
<!--BEGIN STABILITY BANNER-->---

---
<!--END STABILITY BANNER-->
## Metric objects
Metric objects represent a metric that is emitted by AWS services or your own
applicatio... | [
"gautam3994@gmail.com"
] | gautam3994@gmail.com |
2f970ad0404436ed1c8ea829b0d349c8cf94ea3e | 09bb17f07b127ac7d7d44969d55c92fa979111e2 | /.PyCharmCE2019.2/system/python_stubs/-1448197883/PIL/_imagingcms.py | 627fb7996c066f82fdbeb37c708d6041179e88c7 | [] | no_license | Tusharec82/ROCKY | ea19201275f853603870a68275bdf7d1e64a6084 | d9812b0fefde8c3d9ffe7947cf331af12dd25ab5 | refs/heads/master | 2020-08-09T00:34:50.707405 | 2019-10-09T18:13:26 | 2019-10-09T18:13:26 | 213,957,191 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 6,810 | py | # encoding: utf-8
# module PIL._imagingcms
# from /usr/lib/python3/dist-packages/PIL/_imagingcms.cpython-36m-x86_64-linux-gnu.so
# by generator 1.147
# no doc
# no imports
# Variables with simple values
littlecms_version = '20.90'
# functions
def buildProofTransform(*args, **kwargs): # real signature unknown
pa... | [
"TPatel@.dal.ca"
] | TPatel@.dal.ca |
73d8ba35ec791beffc2e3f13c980754b8a857f23 | f445450ac693b466ca20b42f1ac82071d32dd991 | /generated_tempdir_2019_09_15_163300/generated_part003405.py | 5a684c947584fd60604a2244ef648e9a15ca31ab | [] | no_license | Upabjojr/rubi_generated | 76e43cbafe70b4e1516fb761cabd9e5257691374 | cd35e9e51722b04fb159ada3d5811d62a423e429 | refs/heads/master | 2020-07-25T17:26:19.227918 | 2019-09-15T15:41:48 | 2019-09-15T15:41:48 | 208,357,412 | 4 | 1 | null | null | null | null | UTF-8 | Python | false | false | 2,655 | py | from sympy.abc import *
from matchpy.matching.many_to_one import CommutativeMatcher
from matchpy import *
from matchpy.utils import VariableWithCount
from collections import deque
from multiset import Multiset
from sympy.integrals.rubi.constraints import *
from sympy.integrals.rubi.utility_function import *
from sympy.... | [
"franz.bonazzi@gmail.com"
] | franz.bonazzi@gmail.com |
82c1c52804b41ca95993b01dc43ebd395f50a466 | 7ae44f6975561ff5542cd369dcd04d53093db887 | /Data Structures and Algorithms in Python/11_Linked_List_2/test.py | 23bb821782d5d54fb6567da6bc799dcb4f68d659 | [] | no_license | ashisharora24/learning_tutorials_practice | 89208a77ad162265c6573ca4559ebf6f4a6f8f18 | 57f461908d0c4d58d831ec375c428179fa69cb3f | refs/heads/master | 2020-05-21T05:32:26.397725 | 2019-07-23T10:36:06 | 2019-07-23T10:36:06 | 185,923,049 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 326 | py | from time import *
t2 = perf_counter()
t1 = perf_counter()
counter = 0
for i in range(10000):
counter += 1
print(i, end=" ")
# r = req...
if counter == 61:
t2 = perf_counter()
print("\n sleeping \n",10 - t2 + t1)
sleep(10 - t2 + t1)
counter = 1
t1 = perf_coun... | [
"ashisharora24@gmail.com"
] | ashisharora24@gmail.com |
40f837d965c2f999a465970c392b061e920b701f | c808be39b3c2cb89cc8214a9ce979381a8c2e9e9 | /kosh/exec_graphs/__init__.py | 8af6b4730ee8b1efa4cc5de97c239afa15c54a99 | [
"MIT"
] | permissive | LLNL/kosh | aff088e0907873f29fd5b5e07c6b44e295a65314 | d2fda80cf8ecea9e49b44658127538ce89b20301 | refs/heads/stable | 2023-05-10T19:09:24.149298 | 2023-05-05T21:06:42 | 2023-05-05T21:06:42 | 299,369,568 | 7 | 2 | MIT | 2022-03-15T14:39:31 | 2020-09-28T16:35:09 | Python | UTF-8 | Python | false | false | 74 | py | from .core import KoshExecutionGraph, populate, find_network_ends # noqa
| [
"doutriaux1@llnl.gov"
] | doutriaux1@llnl.gov |
996eb7912cb82e037205e02ff650c6061318278d | 266947fd84eed629ed0c21f6d91134239512afd9 | /BeginnerContest_B/147.py | 1181ff0ecd9ce31a917fcf62e9df63d19fa0c9c8 | [] | no_license | SkiMsyk/AtCoder | c86adeec4fa470ec14c1be7400c9fc8b3fb301cd | 8102b99cf0fb6d7fa304edb942d21cf7016cba7d | refs/heads/master | 2022-09-03T01:23:10.748038 | 2022-08-15T01:19:55 | 2022-08-15T01:19:55 | 239,656,752 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 207 | py | # Palindrome-philia
# input
S = input()
# solve
if len(S) % 2 != 0:
S = S[:len(S)//2] + S[len(S)//2 + 1:]
res = sum([i != j for i, j in zip(S[:len(S)//2], S[len(S)//2:][-1::-1])])
# output
print(res) | [
"sakaimasayuki@sakaimasayukinoMacBook-puro.local"
] | sakaimasayuki@sakaimasayukinoMacBook-puro.local |
8a2ff5c31ecbccf07f06b151a8aae5d8e32aa02a | de24f83a5e3768a2638ebcf13cbe717e75740168 | /moodledata/vpl_data/21/usersdata/69/7600/submittedfiles/exercicio24.py | 7231844c7a7561c81bde56eb4f4805952f045a09 | [] | 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 | 243 | py | # -*- coding: utf-8 -*-
from __future__ import division
import math
a=int(input('Digite o valor de a:'))
b=int(input('Digite o valor de b:'))
i=1
c=0
if a>=b:
while i<=b:
if a%i==0 and b%i==0:
i=c
i=i+1
print c
| [
"rafael.mota@ufca.edu.br"
] | rafael.mota@ufca.edu.br |
aee318c6b0606346facce9b35398fcde1d8aefe0 | 08ee36e0bb1c250f7f2dfda12c1a73d1984cd2bc | /src/mnistk/networks/conv3dtanh_20.py | 5ceab17b3a130f554d3b8d621403d7c98fcfe4f2 | [] | no_license | ahgamut/mnistk | 58dadffad204602d425b18549e9b3d245dbf5486 | 19a661185e6d82996624fc6fcc03de7ad9213eb0 | refs/heads/master | 2021-11-04T07:36:07.394100 | 2021-10-27T18:37:12 | 2021-10-27T18:37:12 | 227,103,881 | 2 | 1 | null | 2020-02-19T22:07:24 | 2019-12-10T11:33:09 | Python | UTF-8 | Python | false | false | 1,600 | py | # -*- coding: utf-8 -*-
"""
conv3dtanh_20.py
:copyright: (c) 2019 by Gautham Venkatasubramanian.
:license: MIT
"""
import torch
from torch import nn
class Conv3dTanh_20(nn.Module):
def __init__(self):
nn.Module.__init__(self)
self.f0 = nn.Conv3d(in_channels=1, out_channels=13, kernel_s... | [
"41098605+ahgamut@users.noreply.github.com"
] | 41098605+ahgamut@users.noreply.github.com |
86298f50d044ed13be501c49ad6bcf4ba3d5ffaf | b99f518e5289da9d068154cefd7b9f13c8d6564f | /VSCode_work/chapter16/chapter16_16_5.py | 98addd58a6f830d481ce26f5bae44635ea5d202a | [
"MIT"
] | permissive | yangyahu-1994/Python-Crash-Course | e6a81feba4bdbef297387577ea36b7027bf61c8f | 6f8ef7fe8466d88931a0d3cc423ba5d966663b9d | refs/heads/master | 2023-07-29T22:29:06.151253 | 2021-10-05T14:04:32 | 2021-10-05T14:04:32 | 313,314,086 | 18 | 12 | null | null | null | null | UTF-8 | Python | false | false | 1,423 | py | # ๅฏผๅ
ฅๅฟ
่ฆ็ๆจกๅ
import json
import pygal_maps_world.maps
from chapter16_16_5_country_codes import get_country_code
from pygal.style import RotateStyle
# ๅฐๆฐๆฎๅ ่ฝฝๅฐๅ่กจไธญ
filename = '/home/yyh/Documents/VSCode_work/chapter16/population_data.json'
with open(filename) as f:
pop_data = json.load(f)
# ๅๅปบไธไธชๅ
ๅซไบบๅฃๆฐ้็ๅญๅ
ธ
cc_populations ... | [
"yyh_19940317@163.com"
] | yyh_19940317@163.com |
c7e7f24927496acf6bd5567a6c1947d2a8713bd1 | 100fdb7bc25acda0953f238c6d1104fda786ee7a | /probreg/callbacks.py | 17c2290b8cc732327fb23d0422177f6903656178 | [
"MIT"
] | permissive | Yellowshuohahaha/probreg | 1f219821fe4706b58aaf70f040aea3bc660bc103 | 31cade406af7f20a20a85e2e3764c55e5b9e986f | refs/heads/master | 2022-11-16T08:54:45.610504 | 2020-07-18T02:30:28 | 2020-07-18T02:30:58 | 283,975,360 | 1 | 0 | MIT | 2020-07-31T07:46:06 | 2020-07-31T07:46:06 | null | UTF-8 | Python | false | false | 3,385 | py | import copy
import open3d as o3
import matplotlib.pyplot as plt
class Plot2DCallback(object):
"""Display the 2D registration result of each iteration.
Args:
source (numpy.ndarray): Source point cloud data.
target (numpy.ndarray): Target point cloud data.
save (bool, optional): If this... | [
"nekanat.stock@gmail.com"
] | nekanat.stock@gmail.com |
b848fd06d86f2f7fb6045ef2703e6d9bcb764ab3 | c208954de92470c0144fad2e07a92ed1822edd59 | /visit_wd/out_dis.py | 72e792a11c66f6d1ddcd7225401dccb0a3f16ed6 | [
"MIT"
] | permissive | rendy026/reverse-enginnering | 4217f3b723569fb792bac0f22a56a305199db1dc | f04cec0bf518a2617fc4fd7155f755fafc2af799 | refs/heads/master | 2023-01-07T15:49:15.791052 | 2020-10-13T09:22:02 | 2020-10-13T09:22:02 | 303,575,571 | 0 | 0 | MIT | 2020-10-13T09:41:59 | 2020-10-13T03:17:42 | Python | UTF-8 | Python | false | false | 39,462 | py | # FileNames : <zen_ezz>
# Python Bytecode : 3.8.5
# Selector <module> In Line 1 file out.pyc
# Timestamp In Code : (2020-08-24 02:27:49)
# Method Name: <module>
# Filename: <zen_ezz>
# Argument count: 0
# Position-only argument count: 0
# Keyword-only arguments: 0
# Number of locals: 0
# Stack size... | [
"noreply@github.com"
] | rendy026.noreply@github.com |
02c7a58b6b502e705b6ff5ff30e1577c75b11799 | b4cc597f7efa74d3bdea48aaeca7c675235351d6 | /param_files/0.0eV/reps_files/file_format_Hz.py | 39e4383d427caaa7151dd4a352dab909becdb16d | [] | no_license | franciscovillaescusa/Euclid_neutrino_comparison | 52de9fc72b1240319bd63341b94abb82471c721a | 9483de6512693d7303c51b371e8746425ea9c3aa | refs/heads/master | 2023-04-19T21:45:42.932627 | 2021-04-29T17:54:32 | 2021-04-29T17:54:32 | 303,197,191 | 3 | 0 | null | null | null | null | UTF-8 | Python | false | false | 1,072 | py | import numpy as np
import sys
########################## create Hz file ###################################
f_in = '0.0eV_hubble.txt' #file provided by Matteo
f_out = 'Hz.txt' #file to be used by Gadget
bins = 1000 #number of bins in the new file
z_max = 127.0 #maxim... | [
"villaescusa.francisco@gmail.com"
] | villaescusa.francisco@gmail.com |
a245e763e652cab4a89be27f2d41294d4526d33a | a9dc42e9f54b549fcdd695817e347abfd8f2869f | /old/old_bin/cru_ts323_prism_update_launcher.py | 9f4c80bba7d44a96d914f80d42d3712c30f99745 | [
"MIT"
] | permissive | yusheng-wang/downscale | 2e77d070115ead3034c154d29f1c533976228f13 | 3fe8ea1774cf82149d19561ce5f19b25e6cba6fb | refs/heads/master | 2023-04-10T03:25:08.806859 | 2019-09-21T17:34:35 | 2019-09-21T17:34:35 | null | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 5,713 | py |
# SCRIPT TO RUN THE CRU TS3.1 BUILT SCRIPT OVER THE CRU TS3.2.3 UPDATE (SEPT.2015)
# WHICH EXTENDS THE SERIES TO 12/2014.
# THIS IS CURRENTLY WORKING FOR CLD, TMP, VAP, AND MORE TO COME!
# # # # #
# Author: Michael Lindgren (malindgren@alaska.edu)
# # # # #
# CURRENTLY SETUP TO RUN ON EOS.
# # CLD
# import os
# os.c... | [
"lindgren.mike@gmail.com"
] | lindgren.mike@gmail.com |
3bb4882df0c8b66b1d985109247e95926e438367 | 28dbe47aba287ed94ef7bba734203736bcc06249 | /.history/dmac_20200713134926.py | e0c5592f917f60de87f93354003a2b45895781c6 | [] | no_license | ntung88/Trading_Algorithms | 242fd816b19df95e02e9fcd8c5c91c862d2ede40 | d96488b1754e3751f739d9c3f094a8f8dc54a0a9 | refs/heads/master | 2022-11-19T16:04:07.800344 | 2020-07-17T21:14:10 | 2020-07-17T21:14:10 | 276,239,640 | 1 | 0 | null | null | null | null | UTF-8 | Python | false | false | 6,330 | py | import yfinance as yf
import numpy as np
import pandas as pd
from pandasgui import show
from scipy.optimize import minimize
import matplotlib.pyplot as plt
'''
A library for running Dual Moving Average Crossover trading strategy, with backtesting,
period optimization, and vizualization tools.
'''
#Period of time (in ... | [
"nathantung@Nathans-MacBook-Pro.local"
] | nathantung@Nathans-MacBook-Pro.local |
c6a8b0b84a6a412e24430e7c5dcbbac95110038a | e4e1d12269cea35451bbe552af3262a9a428faa1 | /trainer/trainer_lm.py | 2da3166825d2ea23258bb8cdeaf7dff9f50eedd5 | [
"Apache-2.0"
] | permissive | 12341123/pylon | 286e033623b13846ca9dd5d9b84c7788f6c70a1c | e26202b2c1cfbb8b5c444f840763f0ce839f048a | refs/heads/master | 2023-05-07T20:25:22.134413 | 2021-06-08T03:51:29 | 2021-06-08T03:51:29 | null | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 994 | py | import torch.nn.functional as F
from .trainer_base import *
from .callbacks.start import *
class LMTrainer(BaseTrainer):
"""language modeling trainer
"""
def on_ep_begin(self, **kwargs):
self.hidden = None
def forward_pass(self, data):
x, y = data
pred, hidden = self.net(x, se... | [
"the.akita.ta@gmail.com"
] | the.akita.ta@gmail.com |
8f5086512825812a077bc0c8c1f29b3a00095003 | a14af281ab0c6189d5b6c48a25732fb286f34c8d | /rbac/__init__.py | c51b6a735b7d3bac790f423527d6132e53670915 | [
"MIT"
] | permissive | jackeyGao/simple-rbac | 62112301fbad8d8bdc6639b4a3038bc0de3a7638 | 967dee94be4ad6c93999ce52655eada2477c9046 | refs/heads/master | 2020-04-14T15:31:43.655283 | 2019-01-03T06:20:22 | 2019-01-03T06:20:22 | 163,929,777 | 2 | 0 | MIT | 2019-01-03T06:01:11 | 2019-01-03T06:01:10 | null | UTF-8 | Python | false | false | 161 | py | from __future__ import absolute_import
"""Simple RBAC
This is a simple role based access control utility in Python.
"""
__all__ = ["acl", "context", "proxy"]
| [
"tonyseek@gmail.com"
] | tonyseek@gmail.com |
4c633e20b0ec5f68658ba51e9e74fa3d3f7c6cd4 | e6a8793b1b12d47e57f00485350d122946618245 | /services/models.py | 8dad81c83ffca9da8fcc511e7630e1ee93c018e7 | [] | no_license | Fabricourt/school | 70b2eba2c0b8ff9b9290eb0f68d730698a6d3a63 | dad80c36be34b432dfadef195eb9e867f82cafff | refs/heads/main | 2023-01-01T15:48:43.760288 | 2020-10-26T11:15:32 | 2020-10-26T11:15:32 | 305,829,630 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 1,678 | py | from django.db import models
from django.utils import timezone
from django.contrib.auth.models import User
from django.urls import reverse
from ckeditor.fields import RichTextField
from django.utils.html import mark_safe
from PIL import Image
class Service(models.Model):
title1 = models.CharField(max_length=200,... | [
"mfalme2030@gmail.com"
] | mfalme2030@gmail.com |
c3a894ab35a0f429bdb265a780ff7a2714455edc | ef998914b19f34f8f85cd784b6470147d73a93e0 | /worldometers/worldometers/settings.py | 7b61c87b7bbe8488246874f4ebaf1191a148c970 | [] | no_license | dilipksahu/Web_Scraping_Using_Python | 9f586704a779fda551c5e3d15902591648663870 | e6d3031f89b1b5d4bfa0377c11e87037772c460d | refs/heads/master | 2023-01-30T14:36:00.702440 | 2020-12-17T16:10:25 | 2020-12-17T16:10:25 | 316,200,913 | 1 | 0 | null | null | null | null | UTF-8 | Python | false | false | 3,123 | py | # Scrapy settings for worldometers project
#
# For simplicity, this file contains only settings considered important or
# commonly used. You can find more settings consulting the documentation:
#
# https://docs.scrapy.org/en/latest/topics/settings.html
# https://docs.scrapy.org/en/latest/topics/downloader-middl... | [
"sahud048@gmail.com"
] | sahud048@gmail.com |
c799710f27d097dea81aebba892ed99561c9b17d | 9aa7d3c6d563a434595141f5b4dd8c54252a4d40 | /tweets/migrations/0013_post_image.py | 93841f7f324a2610760c5b2d94d0924b9898e049 | [] | no_license | akhad97/Test-Web-App | 9e200fc6d394cf6d52e72cb5f360d013e777fa9c | eb9b3480732c86f836748967bcfd6201dac6a6ee | refs/heads/master | 2023-07-19T12:24:26.400998 | 2021-09-06T11:55:20 | 2021-09-06T11:55:20 | 402,657,324 | 1 | 0 | null | null | null | null | UTF-8 | Python | false | false | 485 | py | # Generated by Django 2.2.13 on 2021-07-31 05:30
from django.db import migrations, models
import django.utils.timezone
class Migration(migrations.Migration):
dependencies = [
('tweets', '0012_auto_20210730_2226'),
]
operations = [
migrations.AddField(
model_name='post',
... | [
"ahadjon.abdullaev1997@gmail.com"
] | ahadjon.abdullaev1997@gmail.com |
811e71674e45e86b8f44ddac7576883ae69df87c | b33ad1c8560fc22a7e4ae9dec7f3c778b70941fa | /abc180/c.py | 95d7109f8ff66c38bc7f9687872ddbacdf95636a | [] | no_license | Tommy-somen/atcoder_record | 36f226ffe6465dd5f8ae4986195510d00da46ffb | 0e549a72cec3b87accefc52d5cd56420251361b9 | refs/heads/master | 2023-08-16T10:23:39.609512 | 2021-09-27T11:38:57 | 2021-09-27T11:38:57 | 410,585,072 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 191 | py | n = int(input())
front,back = [],[]
i = 1
while i*i <= n:
if n%i == 0:
front.append(i)
if i != n//i:
back.append(n//i)
i += 1
front.extend(back[::-1])
for k in front:
print(k)
| [
"tomohiro1015w@gmail.com"
] | tomohiro1015w@gmail.com |
f8c09a385fefe6b5064760cdcaa4f6f4794a0e07 | 52b5773617a1b972a905de4d692540d26ff74926 | /.history/new_20200709211421.py | be8abece3db7727532968727ef71c47945c6b598 | [] | 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 | 737 | py | # [3,4] [1,2,7,7,0]
# --> new set {1,2,7,7}
# 4-3 = 1
# [5,9] [1,2,6,7]
# smaller = 5
#
# ---> 3
# left = {1:4,2:5,7:10,0:3}
# ---> 4
# right = {1:5,2:6,7:11,0:4}
#
# newArr = sorted(min[[1,0],[2,1]])
# newArr =[2,6]
# if newArr[0] == 0:
#
# 2,6
# "not possible"
# 13,4 - [1,2,3,6,14]
'''
smaller = 4
ans... | [
"mary.jereh@gmail.com"
] | mary.jereh@gmail.com |
4c4af7c1fc3dd62c467f8350dc9f109165a94352 | 82fce9aae9e855a73f4e92d750e6a8df2ef877a5 | /Lab/venv/lib/python3.8/site-packages/OpenGL/raw/GL/SGIX/shadow_ambient.py | 883eef870fb602d8947fba66023b3d22c72e48fc | [] | no_license | BartoszRudnik/GK | 1294f7708902e867dacd7da591b9f2e741bfe9e5 | 6dc09184a3af07143b9729e42a6f62f13da50128 | refs/heads/main | 2023-02-20T19:02:12.408974 | 2021-01-22T10:51:14 | 2021-01-22T10:51:14 | 307,847,589 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 468 | py | '''Autogenerated by xml_generate script, do not edit!'''
from OpenGL import platform as _p
from OpenGL.constant import Constant as _C
# Code generation uses this
# End users want this...
from OpenGL.raw.GL import _errors
_EXTENSION_NAME = 'GL_SGIX_shadow_ambient'
def _f(function):
return _p.createFunction(functi... | [
"rudnik49@gmail.com"
] | rudnik49@gmail.com |
ca0d87e4e07ec3f3cdd5b7c6d054ff6ef5957b87 | 325fde42058b2b82f8a4020048ff910cfdf737d7 | /src/storage-blob-preview/azext_storage_blob_preview/vendored_sdks/azure_storage_blob/v2019_12_12/aio/_blob_service_client_async.py | ab2e8a0defc727617d464dcde63e9049d06c006a | [
"LicenseRef-scancode-generic-cla",
"MIT"
] | permissive | ebencarek/azure-cli-extensions | 46b0d18fe536fe5884b00d7ffa30f54c7d6887d1 | 42491b284e38f8853712a5af01836f83b04a1aa8 | refs/heads/master | 2023-04-12T00:28:44.828652 | 2021-03-30T22:34:13 | 2021-03-30T22:34:13 | 261,621,934 | 2 | 5 | MIT | 2020-10-09T18:21:52 | 2020-05-06T01:25:58 | Python | UTF-8 | Python | false | false | 30,285 | py | # -------------------------------------------------------------------------
# Copyright (c) Microsoft Corporation. All rights reserved.
# Licensed under the MIT License. See License.txt in the project root for
# license information.
# --------------------------------------------------------------------------
# pylint: ... | [
"noreply@github.com"
] | ebencarek.noreply@github.com |
3f6e4ee13b6391fbdcae1d4ce6f0e96b1d7d1ae6 | 70fa6468c768d4ec9b4b14fc94fa785da557f1b5 | /lib/googlecloudsdk/command_lib/meta/regen.py | 19ec509f43fa92f3587e9fbdab809d6f1a30549a | [
"LicenseRef-scancode-unknown-license-reference",
"Apache-2.0"
] | permissive | kylewuolle/google-cloud-sdk | d43286ef646aec053ecd7eb58566ab2075e04e76 | 75f09ebe779e99fdc3fd13b48621fe12bfaa11aa | refs/heads/master | 2020-04-20T22:10:41.774132 | 2019-01-26T09:29:26 | 2019-01-26T09:29:26 | 169,131,028 | 0 | 0 | NOASSERTION | 2019-02-04T19:04:40 | 2019-02-04T18:58:36 | Python | UTF-8 | Python | false | false | 1,013 | py | # -*- coding: utf-8 -*- #
# Copyright 2017 Google Inc. All Rights Reserved.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless requir... | [
"cloudsdk.mirror@gmail.com"
] | cloudsdk.mirror@gmail.com |
644f6c6ccb4805245ea968549b49decd927c466f | fc1b227f04158c0929b1e66106e0acd842844a88 | /pipeline/processor/Mosher.py | 7222950af17cc29b9752bfe9e9e1be70b3c550af | [] | no_license | csboling/pi-rt-video | 72603a8c5bac6e2edf7e3e0b55d0b87bbd95bd30 | 274b0fb3837b04958f229e6a96934561f5da9f05 | refs/heads/master | 2021-05-09T00:09:39.798926 | 2018-04-18T04:37:16 | 2018-04-18T04:37:16 | 119,735,150 | 1 | 0 | null | null | null | null | UTF-8 | Python | false | false | 482 | py | from abc import abstractmethod
from itertools import islice
import numpy as np
from pipeline.processor.pure import PureFunction
class Mosher(PureFunction):
def __call__(self, frame):
raw = frame.tobytes()
count = len(raw)
moshed = b''.join(self.mosh(raw))[:count]
return np.fromb... | [
"charles.samuel.boling@gmail.com"
] | charles.samuel.boling@gmail.com |
62e01aea21bf490cea497e6ff15c24b5f8fc9c89 | 65f9576021285bc1f9e52cc21e2d49547ba77376 | /adsp_proc/platform/build/qaic.py | 81c8d353dccce591f0fa71a9587f5df3ecbdda4d | [
"BSD-3-Clause",
"BSD-1-Clause",
"LicenseRef-scancode-unknown-license-reference",
"BSD-2-Clause-Views",
"LicenseRef-scancode-public-domain"
] | permissive | AVCHD/qcs605_root_qcom | 183d7a16e2f9fddc9df94df9532cbce661fbf6eb | 44af08aa9a60c6ca724c8d7abf04af54d4136ccb | refs/heads/main | 2023-03-18T21:54:11.234776 | 2021-02-26T11:03:59 | 2021-02-26T11:03:59 | null | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 8,742 | py | #===============================================================================
# Copyrigha (c) 2012 by Qualcomm Technologies, Incorporated.
# All Rights Reserved.
# QUALCOMM Proprietary/GTDR
#===============================================================================
import sys
import os
import subprocess
import... | [
"jagadeshkumar.s@pathpartnertech.com"
] | jagadeshkumar.s@pathpartnertech.com |
582ace8306bee507b0cff36687afe334967ec8bd | 209a7a4023a9a79693ec1f6e8045646496d1ea71 | /COMP0016_2020_21_Team12-datasetsExperimentsAna/pwa/FADapp/pythonScripts/venv/Lib/site-packages/pandas/_config/config.py | d9ec1c9ac3fa05c9eb82b90b28c8ea934632b051 | [
"MIT"
] | permissive | anzhao920/MicrosoftProject15_Invictus | 5e2347015411bbffbdf0ceb059df854661fb240c | 15f44eebb09561acbbe7b6730dfadf141e4c166d | refs/heads/main | 2023-04-16T13:24:39.332492 | 2021-04-27T00:47:13 | 2021-04-27T00:47:13 | 361,913,170 | 0 | 0 | MIT | 2021-04-26T22:41:56 | 2021-04-26T22:41:55 | null | UTF-8 | Python | false | false | 24,553 | py | """
The config module holds package-wide configurables and provides
a uniform API for working with them.
Overview
========
This module supports the following requirements:
- options are referenced using keys in dot.notation, e.g. "x.y.option - z".
- keys are case-insensitive.
- functions should accept parti... | [
"ana.kapros@yahoo.ro"
] | ana.kapros@yahoo.ro |
97dd05a028b4a33a6d447d46642a0deaecd17029 | 60acb606318869410d7437bf6c1a16fd6762b6b4 | /app/api/img/image_info.py | 65775a862d3bc5708bec535f36d2bce928fd5b49 | [
"Apache-2.0"
] | permissive | heraclitusj/mgek_imgbed | 8fb0c69599fab3fce06684f659dfd5c0b4c5f866 | d8a77ba1401f42237adda1b3ea8611f6464a704e | refs/heads/master | 2022-07-28T01:48:51.314094 | 2020-05-20T05:35:52 | 2020-05-20T05:35:52 | 265,461,338 | 0 | 0 | null | 2020-05-20T05:31:37 | 2020-05-20T05:31:37 | null | UTF-8 | Python | false | false | 755 | py | # -*- coding: utf-8 -*-
# @Author: Landers
# @Github: Landers1037
# @File: image_info.py
# @Date: 2020-05-14
from app.api.img import img
from app.utils import format_response
from flask import request
from app.database import database
from app import global_config
@img.route('/api/image_info')
def image_... | [
"32225052+Landers1037@users.noreply.github.com"
] | 32225052+Landers1037@users.noreply.github.com |
a6f5e5981efd1440e11604556dda3322676ef081 | 4364fb1fec2ebda2cd240ddc19ef89243812c122 | /tensorflow_datasets/core/utils/version_test.py | 29f7c9e85799c708ef7350ffb36ccf426741908b | [
"Apache-2.0"
] | permissive | undeadinu/datasets | 67ebbe6c20462ed6f58713ccd8dc1d67db89f4d9 | a6f1bce86404d534b7343fb90f0ebfd6d098c346 | refs/heads/master | 2020-04-16T03:31:37.564934 | 2019-01-11T10:12:42 | 2019-01-11T10:13:12 | 165,234,637 | 0 | 0 | Apache-2.0 | 2019-01-11T11:44:44 | 2019-01-11T11:41:26 | Python | UTF-8 | Python | false | false | 2,090 | py | # coding=utf-8
# Copyright 2018 The TensorFlow Datasets Authors.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by appl... | [
"copybara-piper@google.com"
] | copybara-piper@google.com |
11446499dcc2fcc6f3086f797eac1521364b3182 | 0a530e71f248f0f731c6a3f28f090d1bb26b55e3 | /apps/testdatas/migrations/0045_iframebodyinputtext.py | 64f33a379d95c61ef45c53a1b937676f5cd9d202 | [] | no_license | wawj901124/fuwuqi | cca9935f7b110dfdf38c93d59602a596ecac0d58 | e388fd10cf4fdb889d6566b7a30702b7c7351750 | refs/heads/master | 2022-12-13T13:12:10.854319 | 2020-01-18T00:42:52 | 2020-01-18T00:42:52 | 209,901,486 | 0 | 0 | null | 2022-11-22T02:40:33 | 2019-09-21T00:23:51 | Python | UTF-8 | Python | false | false | 3,286 | py | # Generated by Django 2.0.5 on 2019-11-12 15:40
import datetime
from django.db import migrations, models
import django.db.models.deletion
class Migration(migrations.Migration):
dependencies = [
('testdatas', '0044_newaddandcheck_depend_new_add_and_check_case'),
]
operations = [
migratio... | [
"wawj900805"
] | wawj900805 |
380ab96a78fd2ad55b5dc0cb5388595bfce7478f | 58b05123d46ce78d35e5ef0cad88b80c5d16939c | /test/test_binary.py | 83aad9dbb98f13b696e2120dbb2d22c2984ac9ae | [
"MIT"
] | permissive | vibhatha/CrypTen | eab2b7243f55140b440bcd0fc04276ab65e770ce | e550a35aaa0615b5744fdd735a994622c87b47ae | refs/heads/master | 2020-09-23T02:00:44.446982 | 2019-12-02T12:49:26 | 2019-12-02T12:49:26 | 225,373,781 | 0 | 0 | MIT | 2019-12-02T12:48:37 | 2019-12-02T12:48:36 | null | UTF-8 | Python | false | false | 16,452 | py | #!/usr/bin/env python3
# Copyright (c) Facebook, Inc. and its affiliates.
#
# This source code is licensed under the MIT license found in the
# LICENSE file in the root directory of this source tree.
import itertools
import logging
import unittest
from test.multiprocess_test_case import MultiProcessTestCase, get_rand... | [
"facebook-github-bot@users.noreply.github.com"
] | facebook-github-bot@users.noreply.github.com |
9a14bed785bfa237ff5c6773094106b0f1003dfd | 0c0168a4676bce7453836a7509e7133044aa8975 | /byceps/services/board/dbmodels/last_topic_view.py | bf001ad5b4d7e1f3890dc09d3263e58d53b1050d | [
"BSD-3-Clause"
] | permissive | byceps/byceps | 0aad3c4d974f76c6f8c3674d5539a80c9107b97a | eaee2b7fdc08c76c16ddf7f436110e0b5f1812e5 | refs/heads/main | 2023-09-01T04:03:13.365687 | 2023-09-01T03:28:18 | 2023-09-01T03:28:18 | 40,150,239 | 44 | 23 | BSD-3-Clause | 2023-05-16T18:41:32 | 2015-08-03T22:05:23 | Python | UTF-8 | Python | false | false | 1,280 | py | """
byceps.services.board.dbmodels.last_topic_view
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
:Copyright: 2014-2023 Jochen Kupperschmidt
:License: Revised BSD (see `LICENSE` file for details)
"""
from datetime import datetime
from byceps.database import db
from byceps.services.board.models import TopicID
from by... | [
"homework@nwsnet.de"
] | homework@nwsnet.de |
d6a6a6f115d922ccb5f1b7753846a7efdb2e2a9f | 86bfb43636b24eef7ea580544797a5f84bf555b5 | /DjangoBlog/tests.py | 47fda838a1c4eca60f51314e7e57e8f125b6da98 | [
"MIT"
] | permissive | kongnyc/DjangoBlog | 3e83af3b5e96706055964c3554cdff1b0b80f06e | 38173bf3b47bafa82fadc9e7a95fad0c959c3dd5 | refs/heads/master | 2023-08-22T10:01:36.074884 | 2021-10-18T08:29:29 | 2021-10-18T08:29:29 | null | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 845 | py | #!/usr/bin/env python
# encoding: utf-8
"""
@version: ??
@author: liangliangyy
@license: MIT Licence
@contact: liangliangyy@gmail.com
@site: https://www.lylinux.net/
@software: PyCharm
@file: tests.py
@time: 2017/10/25 ไธๅ10:16
"""
from django.test import TestCase
from DjangoBlog.utils import *
class DjangoBlogTes... | [
"liangliangyy@gmail.com"
] | liangliangyy@gmail.com |
cae778a22518efc67a593ae11d6e3eae36f3c314 | 9693f521acf87faa6406f071db432a248fbaa731 | /API_CRUD/asgi.py | e8ba240642e4df756cdd613ee48fb1a816350b0c | [] | no_license | musfiqraihan/Django_API_CRUD | a8678c4ed04ada73139cbc20740e5e1471f11ef0 | 1405fc867a797580ae0d3753fc6f09914d008d3d | refs/heads/master | 2023-02-11T16:56:24.290716 | 2020-12-30T11:13:40 | 2020-12-30T11:13:40 | 325,232,539 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 393 | py | """
ASGI config for API_CRUD project.
It exposes the ASGI callable as a module-level variable named ``application``.
For more information on this file, see
https://docs.djangoproject.com/en/3.1/howto/deployment/asgi/
"""
import os
from django.core.asgi import get_asgi_application
os.environ.setdefault('DJANGO_SETT... | [
"musfiqak@gmail.com"
] | musfiqak@gmail.com |
b7f5069628cdc9ce0511d09d0286eda67f188636 | b1bc2e54f8cd35c9abb6fc4adb35b386c12fe6b4 | /toontown/src/coghq/DistributedMintBattle.py | 01664f0a9ce6d947852b03f28be3e5495ec65230 | [] | no_license | satire6/Anesidora | da3a44e2a49b85252b87b612b435fb4970469583 | 0e7bfc1fe29fd595df0b982e40f94c30befb1ec7 | refs/heads/master | 2022-12-16T20:05:13.167119 | 2020-09-11T16:58:04 | 2020-09-11T17:02:06 | 294,751,966 | 89 | 32 | null | null | null | null | UTF-8 | Python | false | false | 2,711 | py | from pandac.PandaModules import *
from direct.interval.IntervalGlobal import *
from toontown.battle.BattleBase import *
from toontown.coghq import DistributedLevelBattle
from direct.directnotify import DirectNotifyGlobal
from toontown.toon import TTEmote
from otp.avatar import Emote
from toontown.battle import SuitBatt... | [
"66761962+satire6@users.noreply.github.com"
] | 66761962+satire6@users.noreply.github.com |
15fa2494c7c4baa6af4b59cd81d061f6ba182f0b | 4fee81e2fa833911ea2f65ee975cf7cc1724b6a2 | /venv/Lib/site-packages/pyrogram/raw/functions/help/set_bot_updates_status.py | 5092c28d617adc3e734574de9c35af707d2a2493 | [] | no_license | devID767/Farm_Duel_Bot | 453628d2bcaba27dab01338d9368e6727781901e | aaab3c16ec6626f5196f24f741bfeecc63492116 | refs/heads/master | 2023-08-14T22:06:06.705300 | 2021-10-08T13:50:15 | 2021-10-08T13:50:15 | 360,924,958 | 3 | 0 | null | null | null | null | UTF-8 | Python | false | false | 2,468 | py | # Pyrogram - Telegram MTProto API Client Library for Python
# Copyright (C) 2017-2021 Dan <https://github.com/delivrance>
#
# This file is part of Pyrogram.
#
# Pyrogram is free software: you can redistribute it and/or modify
# it under the terms of the GNU Lesser General Public License as published
# by the Free... | [
"dsarnavskiy77@gmail.com"
] | dsarnavskiy77@gmail.com |
cfec3e3f9e181f7560fa29eacbdd7626ae414e3b | 16ac02b8f427bd622af1564f1236e4913ed63521 | /Codes/Version 1.9.1/force_sorter.py | c3a4f9e16eb12403d6897fbe06a5af0f0c70f7b5 | [
"MIT"
] | permissive | gharib85/Brownian-dynamics-in-a-time-varying-force-field | 20660665747310e1201e8ca7d404acc15ec7a3bd | 1dce268fcc4f27e066be0ec0b511178cbc1437c5 | refs/heads/main | 2023-08-16T03:47:51.957137 | 2021-10-23T19:09:50 | 2021-10-23T19:09:50 | null | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 3,583 | py | #!/usr/bin/env python3
# -*- coding: utf-8 -*-
"""
Created on March 6, 2021
@author: Mohammad Asif Zaman
- May 28, 2021
- Functionalized fluid velocity
"""
import numpy as np
import pylab as py
import matplotlib as plt
import time
from scipy import interpolate
from parameters import *
from geometr... | [
"39745895+zaman13@users.noreply.github.com"
] | 39745895+zaman13@users.noreply.github.com |
ae355ce430c65d2fdcab3685713278f7881f618e | 32dda10669e459cf37c31f426fa709001d2c75b0 | /leetcode_cn/solved/pg_926.py | f858309b00cdcbf0e1b7e35377b4344e80aca5d1 | [] | no_license | fastso/learning-python | 3300f50d06871245d0bfcbe9d201224580f70852 | d21dbd1b9f31017cdb1ed9b9ffd1e53ffe326572 | refs/heads/master | 2023-02-10T14:43:53.726247 | 2023-01-26T10:14:59 | 2023-01-26T10:14:59 | 193,454,718 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 215 | py | class Solution:
def minFlipsMonoIncr(self, s: str) -> int:
p = [0]
for c in s:
p.append(p[-1] + int(c))
return min(p[i] + len(s) - i - (p[-1] - p[i]) for i in range(len(p)))
| [
"fastso.biko@gmail.com"
] | fastso.biko@gmail.com |
01ad1462bd75d8419ef238415f086483904f0de2 | e23a4f57ce5474d468258e5e63b9e23fb6011188 | /110_concurrency_parallelism/_examples/Learn Parallel Computing in Python/004_condition_variables/stingy_spendy_cond_variable.py | 790010e66a70ddcb69293dc906896900f0e63fe9 | [] | no_license | syurskyi/Python_Topics | 52851ecce000cb751a3b986408efe32f0b4c0835 | be331826b490b73f0a176e6abed86ef68ff2dd2b | refs/heads/master | 2023-06-08T19:29:16.214395 | 2023-05-29T17:09:11 | 2023-05-29T17:09:11 | 220,583,118 | 3 | 2 | null | 2023-02-16T03:08:10 | 2019-11-09T02:58:47 | Python | UTF-8 | Python | false | false | 791 | py | import time
from threading import Thread, Condition
class StingySpendy:
money = 100
cv = Condition()
def stingy(self):
for i in range(1000000):
self.cv.acquire()
self.money += 10
self.cv.notify()
self.cv.release()
print("Stingy Done")
d... | [
"sergejyurskyj@yahoo.com"
] | sergejyurskyj@yahoo.com |
0b4478a24e878754d3ce2b47225c1fcdeda4363b | 53edf6b0f4262ee76bb4e3b943394cfeafe54865 | /linear_theory/Non_linear_stuff/geopack_test.py | 8885c66e0b3c6e38a6be562edce45df4d3d234f6 | [] | no_license | Yoshi2112/hybrid | f86265a2d35cb0a402ba6ab5f718717d8eeb740c | 85f3051be9368bced41af7d73b4ede9c3e15ff16 | refs/heads/master | 2023-07-07T21:47:59.791167 | 2023-06-27T23:09:23 | 2023-06-27T23:09:23 | 82,878,960 | 0 | 1 | null | 2020-04-16T18:03:59 | 2017-02-23T03:14:49 | Python | UTF-8 | Python | false | false | 3,948 | py | # -*- coding: utf-8 -*-
"""
Created on Sun Jan 31 11:17:17 2021
@author: Yoshi
"""
import pdb
import matplotlib.pyplot as plt
import numpy as np
import geopack as gp
# Want to use geopack to give me a trace of the magnetic field alone a field
# line, and somehow convert (x, y, z) in GSM (?) to an s-value
# Would it ... | [
"joshua.s.williams@uon.edu.au"
] | joshua.s.williams@uon.edu.au |
4c9df45b6b637fcd01d083c271d5cbf9cfbc3413 | c7e028d71b5dd72eb18b72c6733e7e98a969ade6 | /src/demos/datastructures/expressioneval.py | 30185336f42de290841e528b0e3f0eb704a41207 | [
"MIT"
] | permissive | antoniosarosi/algoritmia | da075a7ac29cc09cbb31e46b82ae0b0ea8ee992f | 22b7d61e34f54a3dee03bf9e3de7bb4dd7daa31b | refs/heads/master | 2023-01-24T06:09:37.616107 | 2020-11-19T16:34:09 | 2020-11-19T16:34:09 | 314,302,653 | 8 | 1 | null | null | null | null | UTF-8 | Python | false | false | 2,609 | py | #coding: latin1
from algoritmia.problems.traversals.treetraversals import PostorderTreeTraverser #[]dos
from algoritmia.datastructures.queues import Lifo #[pre
from algoritmia.datastructures.trees import ListOfListsTree
class ExpressionEvaluator:
def __init__(self, createLifo=lambda: Lifo()):
self.c... | [
"amarzal@localhost"
] | amarzal@localhost |
529e7a1ad3229cb026b3acc0d8c25e1c1d835045 | 2125593138c50b1fba5e46cd4d88d6c04d0b417a | /์๊ณ ๋ฆฌ์ฆ-ํ์ด์ฐธ/๋ฐฑ์ค/code_Test/LZW ์์ถ.py | 19315db3a2344d4ff8407c1596119911f4df610c | [] | no_license | minkishome/TIL-master | 5f0e6ef61b34a2983961ccf44f7523603ccb5907 | d8edc0ff8abff3b2239a2d751eee263b722013a6 | refs/heads/master | 2023-01-21T00:43:30.165535 | 2020-08-25T14:56:18 | 2020-08-25T14:56:18 | 203,070,283 | 0 | 1 | null | 2023-01-05T01:08:10 | 2019-08-19T00:18:31 | Python | UTF-8 | Python | false | false | 895 | py | from string import ascii_uppercase
def solution(msg):
answer = []
ls_abc = [0] + list(ascii_uppercase)
idx = 0
flag = len(msg)
# print(ls_abc.index('AA'))
while idx < flag:
word = ''
for i in range(idx, flag):
word += msg[i]
idx += 1
if word ... | [
"minkishome@gmail.com"
] | minkishome@gmail.com |
41028d5c4ae422f93009422780b1acaf80ec0334 | 96d77068d6762bad6847a2c74dfd6c220a3fdd75 | /features/generate_wordvector_distances.py | d3514741c4fc634bd2fd297014510fcb474f002a | [
"MIT"
] | permissive | SunnyMarkLiu/Kaggle_Quora_Question_Pairs_Intent | 402cc2c4eaf40d25794dd6ff0b583411865f884b | 1b6914cd08d1bb3e815aacdf0f220458f5d75f7c | refs/heads/master | 2021-05-05T12:08:51.823673 | 2017-10-05T10:42:52 | 2017-10-05T10:42:52 | 104,720,649 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 4,489 | py | #!/usr/local/miniconda2/bin/python
# _*_ coding: utf-8 _*_
"""
@author: MarkLiu
@time : 17-10-5 ไธๅ11:28
"""
from __future__ import absolute_import, division, print_function
import os
import sys
module_path = os.path.abspath(os.path.join('..'))
sys.path.append(module_path)
import cPickle
import numpy as np
from uti... | [
"SunnyMarkLiu101@gmail.com"
] | SunnyMarkLiu101@gmail.com |
0a0065801350f7189f26c180481a975d51f3d661 | abef98cfa3fb2c4626eb8c0a77c1080992d9b11b | /c/python-interface/spam/test-spam.py | c714b78481ecb371933cc40cde3dd794cddbcf59 | [] | no_license | mikebentley15/sandbox | ff88ed9dc4b9ac37668142a319d0a8162e88e9e3 | 4f5869544de18be21f415a9d6f9b71c362307f27 | refs/heads/main | 2023-04-14T00:22:34.623441 | 2023-03-24T21:43:56 | 2023-03-24T21:43:56 | 116,987,549 | 6 | 3 | null | 2022-10-26T03:02:06 | 2018-01-10T17:14:54 | C++ | UTF-8 | Python | false | false | 947 | py | #!/usr/bin/env python3
import spam
print()
status = spam.system("ls -l | wc")
print("status: ", status)
print()
print('Expect spam.SpamError')
try:
status = spam.check_system("false")
print("status: ", status)
except spam.SpamError as ex:
print(' ', ex)
print(' ignored')
print()
s = spam.Spam("Real ... | [
"mikebentley15@gmail.com"
] | mikebentley15@gmail.com |
f2795230818272b8a213a4a39e164aa72cffeb1a | 0629ada6a00ceff0dc567b965ec021278ca27a7f | /pyhon_zh_web/pageobject/Home_page.py | b0428c5fb1c75ac098c54857b75b2147cf16d303 | [] | no_license | zhaozongzhao/sqbj_web | 48310e41dc914ae82bc3fa919b63a9ffea04f22e | 7d33acbaca18b6764f80e2247ff631e46d5b0b89 | refs/heads/master | 2020-04-09T18:22:49.280922 | 2019-09-26T10:01:53 | 2019-09-26T10:01:53 | 160,510,366 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 1,277 | py | from selenium import webdriver
import time
from selenium.webdriver.support.ui import WebDriverWait
import traceback
from Util.ParsePageObjectRepository import *
from Util.var import *
from Util.ObjectMap import *
from selenium.webdriver.support.ui import Select
class HomePage(object):
def __init__(self,driver):
... | [
"2206321864@qq.com"
] | 2206321864@qq.com |
1851b1294e96a418b521d90051a6aa7ba5f128fc | efd8628adc042ae2d58fa89cc31a5c1c80aa94f6 | /data/stochastic_dataset_script/load_save_data.py | faf224b7b20e02dfae644277e27d62b61bfaff04 | [] | no_license | Xharlie/stochast_dynamic_for_video_infilling | d7e0bfaf8b71cf3f39170793e5a1a50b289aee40 | a825de4c5178f7084925817f0631ac331073866f | refs/heads/master | 2021-03-27T09:11:15.478067 | 2019-10-23T17:59:25 | 2019-10-23T17:59:25 | 110,137,739 | 6 | 1 | null | null | null | null | UTF-8 | Python | false | false | 5,896 | py | import tensorflow as tf
import numpy as np
import imageio
import cv2
def vids_2_frames(tfiles, data_path, image_size_h, image_size_w, channel):
vids=[]
actions=[]
for i in xrange(len(tfiles)):
f_name = tfiles[i]
tokens = f_name.split()
vid_path = data_path + tokens[0] + ("_uncomp.av... | [
"charlie.xu007@yahoo.com"
] | charlie.xu007@yahoo.com |
ad5dc2ef13c059d6e792cddc072b9046d03f772e | e6172246d02ab175f7490e2791ef691d670c72b1 | /.history/data-comparaison_20210202103348.py | 2e42eeed44f3b2e04b3eea2508fc1273d7527ee5 | [] | no_license | PaulSouille/rendu-data-tp1 | 2711ddd7f96eb7c1cf5ca350c0b0c40f767e5d43 | 8dcb85e4f5db38420be6f12bd18efb945d570aa2 | refs/heads/master | 2023-02-23T12:57:28.089782 | 2021-02-02T12:09:29 | 2021-02-02T12:09:29 | 327,024,559 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 8,881 | py | import matplotlib
matplotlib.use("TkAgg")
import matplotlib.pyplot as plt
import numpy as np
import glob
from tkinter import *
from matplotlib.backends.backend_tkagg import (
FigureCanvasTkAgg, NavigationToolbar2Tk)
from matplotlib.backend_bases import key_press_handler
import pandas as pd
from pandas import ExcelW... | [
"blin.lucas2@gmail.com"
] | blin.lucas2@gmail.com |
28d5878f4c2a1cf00f7f31d34b8e4562a84581ec | 347f0db8fa1d2d589fd20bffd52f1a1b2030aa0b | /docs/conf.py | d9d82c156cbb01277f482730530c9b5b822443f0 | [
"MIT"
] | permissive | szymanskirafal/tryread | 45879f8f4867851dc5f8697e1dc98bf68c1a58e4 | f7e395c318e33de84992c79eaa5844028c378a2d | refs/heads/master | 2021-07-21T11:50:51.702422 | 2018-10-05T13:37:34 | 2018-10-05T13:37:34 | 134,755,211 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 7,904 | py | # Tryread documentation build configuration file, created by
# sphinx-quickstart.
#
# 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
# autogenerated file.
#
# All configuration values have a default; values that are ... | [
"r.szymansky@gmail.com"
] | r.szymansky@gmail.com |
263512d0be279d0f6bd225b8a3da8f787fa2f742 | 57ac8a6a7b61d2d740f877d29cab5f208ba74bfc | /thinc/neural/ids2vecs.py | d617e567bac12e3aeb506b92dcd53f8e081b1007 | [
"MIT"
] | permissive | kootenpv/thinc | 0a75509733aa5afb1b59115a13a78aa6d3a88c24 | 6de95eff2079a4fb880e9de6d756be9aa59db480 | refs/heads/master | 2021-01-11T20:52:03.566727 | 2017-01-16T17:29:15 | 2017-01-16T17:29:15 | 79,200,645 | 0 | 0 | null | 2017-01-17T07:25:58 | 2017-01-17T07:25:58 | null | UTF-8 | Python | false | false | 55 | py | from ._classes.window_encode import MaxoutWindowEncode
| [
"honnibal+gh@gmail.com"
] | honnibal+gh@gmail.com |
4d33d5ef634b5714a020bc5477a6c0a495e1ad47 | fa3d19403750d300a4228fa0fc414c88c49a6d35 | /bin/pfurl | 37f78b8d6bb0f06d9b056bd75cde10fb8222b4ab | [
"MIT"
] | permissive | priyakapadia/pfurl | 2c700217d0f2c623e5fddde62c96f10502eebb49 | 3392347b5874fc4af7f1f3798e692bd0e3733351 | refs/heads/master | 2021-01-20T02:24:47.745713 | 2017-04-21T19:36:07 | 2017-04-21T19:36:07 | null | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 5,075 | #!/usr/bin/env python3.5
#
# (c) 2017 Fetal-Neonatal Neuroimaging & Developmental Science Center
# Boston Children's Hospital
#
# http://childrenshospital.org/FNNDSC/
# dev@babyMRI.org
#
import sys, os
sys.path.insert(1, os.path.join(os.path.dirname(__file__), '..'... | [
"rudolph.pienaar@gmail.com"
] | rudolph.pienaar@gmail.com | |
7638f5b06086fd4352f99f4e28e29719f59c1a59 | 3b786d3854e830a4b46ee55851ca186becbfa650 | /SystemTesting/pylib/nsx/vsm/edge/edge_firewall_schema/edge_firewall_rule_application_schema.py | e6b475f52d5dcc3b1981baeeef177e822df242aa | [] | no_license | Cloudxtreme/MyProject | d81f8d38684333c22084b88141b712c78b140777 | 5b55817c050b637e2747084290f6206d2e622938 | refs/heads/master | 2021-05-31T10:26:42.951835 | 2015-12-10T09:57:04 | 2015-12-10T09:57:04 | null | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 674 | py | import base_schema
from edge_firewall_rule_application_service_schema import FirewallRuleApplicationServiceSchema
class FirewallRuleApplicationSchema(base_schema.BaseSchema):
_schema_name = "application"
def __init__(self, py_dict=None):
""" Constructor to create FirewallRuleApplicationSchema object
... | [
"bpei@vmware.com"
] | bpei@vmware.com |
02519f538cf828be80054c0bca5864505200a4ce | 9e0c8ee707cba341ccfd5007cc94ab122687ac4c | /isho/apps.py | 9983d2dc520fb2b9938c45e5508ee6897e50a61b | [] | no_license | rakib06/POS | a9eb467a4528c6d6956acf42c73314626b858418 | e1390c3353280fb9cbabf4ed957d92a4f0852b3f | refs/heads/master | 2020-12-21T11:10:33.888058 | 2020-01-28T13:11:12 | 2020-01-28T13:11:12 | 236,414,785 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 83 | py | from django.apps import AppConfig
class IshoConfig(AppConfig):
name = 'isho'
| [
"six.rakib@gmail.com"
] | six.rakib@gmail.com |
7108aea2c66162999af1e28d09bad1a12b17d561 | 6a403251befa23a48229831baf58af247db7b855 | /src/utils.py | bce4a71b16ecbc75c38d215f0361be0c32f2568f | [] | no_license | huasmc/RemindMeBot | 0003fde7f4be24beae76659082619e0a38f2d48b | ad3d5749935a71973be88985059ad7f94f73ad6e | refs/heads/master | 2023-03-01T19:46:42.901881 | 2021-02-09T03:49:29 | 2021-02-09T03:49:29 | null | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 9,214 | py | import re
import discord_logging
import dateparser
from dateutil.relativedelta import relativedelta
from dateparser.search import search_dates
import parsedatetime
import pytz
from datetime import datetime
from datetime import timedelta
import urllib.parse
import urllib3
import prawcore
import requests
import counters... | [
"watchful@watchful.gr"
] | watchful@watchful.gr |
6653fd7aae6111569cd0976c391af665848be25d | 3ae62276c9aad8b9612d3073679b5cf3cb695e38 | /easyleetcode/leetcodes/Leetcode_677_Map_Sum_Pairs.py | 11d79eb447c4cfb0764b3abcb7c2c672576f0286 | [
"Apache-2.0"
] | permissive | gongtian1234/easy_leetcode | bc0b33c3c4f61d58a6111d76707903efe0510cb4 | d2b8eb5d2cafc71ee1ca633ce489c1a52bcc39ce | refs/heads/master | 2022-11-16T17:48:33.596752 | 2020-07-13T02:55:03 | 2020-07-13T02:55:03 | null | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 35 | py | print('Leetcode_677_Map_Sum_Pairs') | [
"425776024@qq.com"
] | 425776024@qq.com |
80abf2358c23c7ec917b6220f31a5fdcbd57bea4 | 29fc11636bf5053feb113ad837ec42ffe3f09bfd | /Terra_2/Bug_10/latex.py | eda6df4ac9865f2fa2bb86cbe2736f49d77c29c6 | [] | no_license | deyh2020/Bugs4Q | 8446db4a8efcf3541ba740b7d658b6812d56fe3e | b6e306e12bd1c5fdec126655ad008c386340ab57 | refs/heads/master | 2023-05-31T03:41:28.576877 | 2021-06-17T15:08:03 | 2021-06-17T15:08:03 | null | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 37,775 | py | # -*- coding: utf-8 -*-
# This code is part of Qiskit.
#
# (C) Copyright IBM 2017, 2018.
#
# This code is licensed under the Apache License, Version 2.0. You may
# obtain a copy of this license in the LICENSE.txt file in the root directory
# of this source tree or at http://www.apache.org/licenses/LICENSE-2.0.
#
# Any... | [
"zpz2393247079@gmail.com"
] | zpz2393247079@gmail.com |
58668ff0ee439f72a7abb030a5a1180a8f974d1e | 7882860350c714e6c08368288dab721288b8d9db | /1์ผ์ฐจ/func(1๋ฒ๋ฌธ์ ).py | 30e5d8dec0d211d9db0a6a342ba840820f468502 | [] | no_license | park-seonju/Algorithm | 682fca984813a54b92a3f2ab174e4f05a95921a8 | 30e5bcb756e9388693624e8880e57bc92bfda969 | refs/heads/master | 2023-08-11T18:23:49.644259 | 2021-09-27T10:07:49 | 2021-09-27T10:07:49 | 388,741,922 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 388 | py | # def abc(t):
# for i in range(len(t)):
# if t[i] != t[len(t)-1-i]:
# return False
# return True
# word = input()
# print(word)
# if abc(word):
# print("์
๋ ฅํ์ ๋จ์ด๋ ํ๋ฌธ(Palindrome)์
๋๋ค.")
# else :
# print("์
๋ ฅํ์ ๋จ์ด๋ ํ๋ฌธ(Palindrome)์ด ์๋๋๋ค.")
a=input()
b=str(reversed(a))
print(type(b))
if ... | [
"cucu9823@naver.com"
] | cucu9823@naver.com |
f8e1c79af7f8ff238e4aa312ef2ee68f1e70f4a8 | 03c00aa07607c1f206c0fb3cf00fc5c510d7a4bf | /Infoplus/apis/carrier_service_api.py | 3666fa7df7e4744314451fd9fceb448261b997ef | [] | no_license | infopluscommerce/infoplus-python-client | 748cc9af739615036c52adce70aa7f4303601b97 | bde657057fedb5396ecf6c42e8ba668456bd1c43 | refs/heads/master | 2023-08-23T11:32:01.160320 | 2017-03-17T14:43:15 | 2017-03-17T14:43:15 | 58,404,638 | 2 | 2 | null | null | null | null | UTF-8 | Python | false | false | 7,611 | py | # coding: utf-8
"""
CarrierServiceApi.py
Copyright 2016 SmartBear Software
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 req... | [
"kdonnelly@infopluscommerce.com"
] | kdonnelly@infopluscommerce.com |
5964837f4eff397b07abd2f9cf033fbca7a302c2 | 6540f5a1ba587fb06067a09e67d0603e22305631 | /apps/users/admin.py | 7a124deede616de4741134a5ccf003d45c473533 | [] | no_license | bluehawkarthur/ebil | 3ff8171672baaebeacfd95f8fb68c9df3e0d54ad | 9d3d5291f2aa3f0822047cd88d398add4b987c54 | refs/heads/master | 2021-01-17T11:18:24.173696 | 2016-10-06T22:20:53 | 2016-10-06T22:20:53 | 46,352,506 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 139 | py | from django.contrib import admin
from .models import User, Personajuridica
admin.site.register(User)
admin.site.register(Personajuridica)
| [
"josedanielf9@gmail.com"
] | josedanielf9@gmail.com |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.