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
922ff5d630c9b04ec7b8d6b206e71f56a91e60c2
f4dedea53630c9cbdc6297ae4a7e2a8195fd7691
/10 Advanced Techniques/19 Signal Processing.py
c172f714e1656b011d12b7c13426a9755447f1f3
[]
no_license
nikkisora/cses_problemset
d089db048444e07e002f131b4323adc9df95b05b
03160f33e36cdc6d538403357b36bcb015b4dba7
refs/heads/master
2023-07-03T10:34:23.487709
2021-08-05T21:13:49
2021-08-05T21:13:49
379,251,540
0
0
null
null
null
null
UTF-8
Python
false
false
1,018
py
''' CSES - Signal Processing Time limit: 1.00 s Memory limit: 512 MB You are given two integer sequences: a signal and a mask. Your task is to process the signal by moving the mask through the signal from left to right. At each mask position calculate the sum of products of aligned signal and mask values ...
[ "32413317+nikkisora@users.noreply.github.com" ]
32413317+nikkisora@users.noreply.github.com
fa987bfdd73ebad2cf8c88d6d524f5747f1813f0
0827979a9e3bfca5900726f1cef428f8a8c819ba
/NRPyPN/PN_Hamiltonian_SS.py
c7b73e919953363b5e77f4d954b77a8449fb0f81
[ "BSD-2-Clause" ]
permissive
zachetienne/nrpytutorial
12763c9c0e0be0007b8cae5688225a33c8fb4442
1230b4d602e0657d42de0c7ea193c34058e4aca9
refs/heads/master
2023-09-01T06:31:22.549594
2023-08-14T19:47:16
2023-08-14T19:47:16
135,812,438
88
46
BSD-2-Clause
2023-09-02T00:25:36
2018-06-02T11:34:10
Jupyter Notebook
UTF-8
Python
false
false
4,781
py
# As documented in the NRPyPN notebook # PN-Hamiltonian-Spin-Spin.ipynb, this Python script # generates spin-spin coupling pieces of the # post-Newtonian (PN) Hamiltonian, up to and # including 3PN order. # Core functions: # f_H_SS_2PN(m1,m2, S1U,S2U, nU, q): # Compute the complete H_SS_2PN term and store to # ...
[ "zachetie@gmail.com" ]
zachetie@gmail.com
c5ec7aeea7ebd380c20fdedc5a2edfd5b703ce91
8a1bbbe4d3d487fcb5f86c9d5f108ea2b4de1894
/df/r_incore.py
818b962533399e9d73ea9a297d17207225f2dd09
[ "BSD-2-Clause" ]
permissive
molguin-qc/pyscf
a7abaa7b61143c58fae065d2cf035952e782a1f0
0ca910a816e116542c83913b52e7a4a1cad83454
refs/heads/master
2020-04-06T06:21:13.065884
2015-11-24T22:49:49
2015-11-24T22:49:49
null
0
0
null
null
null
null
UTF-8
Python
false
false
4,758
py
#!/usr/bin/env python # # Author: Qiming Sun <osirpt.sun@gmail.com> # import time import ctypes import _ctypes import numpy import scipy.linalg import pyscf.lib from pyscf.lib import logger import pyscf.gto from pyscf.df import incore from pyscf.scf import _vhf libri = pyscf.lib.load_library('libri') def _fpointer(na...
[ "osirpt.sun@gmail.com" ]
osirpt.sun@gmail.com
0022ad2cde11b4459237ac8330bc909f4317b4fd
9cf97aa5fafe0ba5e06d72a19b50a7b326857dcf
/create_model_input.py
7e02025b5139eebef743c40f5db58fca2dfd87f8
[]
no_license
Shawn-nau/Time-series-prediction
a027b22f250e3dcd859f1d92a41a4e979a1a0526
044d34846d04a19898c3c8b874c7e982d545ab40
refs/heads/master
2020-09-11T13:18:34.457153
2019-03-30T15:00:57
2019-03-30T15:00:57
null
0
0
null
null
null
null
UTF-8
Python
false
false
3,183
py
import logging import numpy as np import pandas as pd from sklearn.preprocessing import MinMaxScaler class Input_builder(object): def __init__(self): pass def __call__(self, model,x,y=None,train_window=20,train_window_2=None): if model=='weibull': return self.create_weibull_input(...
[ "tanlongxing888@163.com" ]
tanlongxing888@163.com
ff10be4b7205ee829e3efe5d87de1af27b52f859
02bbac5a5e12b44919945ae7e95eb8d4c5bde28d
/hyperion/metrics/dcf.py
d6dd9c58b03ec60f96d509f00b84566fa255949f
[ "Apache-2.0" ]
permissive
whkanggg/hyperion
5f594cb97512080cf0523abdc6407a8bc6db4562
14a11436d62f3c15cd9b1f70bcce3eafbea2f753
refs/heads/master
2020-08-09T14:18:04.689788
2019-07-25T18:39:01
2019-07-25T18:39:01
null
0
0
null
null
null
null
UTF-8
Python
false
false
4,869
py
""" Copyright 2018 Johns Hopkins University (Author: Jesus Villalba) Apache 2.0 (http://www.apache.org/licenses/LICENSE-2.0) """ from __future__ import absolute_import from __future__ import print_function from __future__ import division from six.moves import xrange import numpy as np from .roc import compute_roc...
[ "jesus.antonio.villalba@gmail.com" ]
jesus.antonio.villalba@gmail.com
1ac91b0249727f18d895e26bd82e26c8503f0e06
075390d2642d56861a742e2f1dcf6e5a774d1ec8
/wechatArticies/demo.py
7407b0377dafd13f5c64cb3b565f8eee8729aecd
[]
no_license
ybsdegit/proxypool
903ed9ae77950e1840d93cb7fd2b38ddadc9e749
0a9354e4e3fdbb4b4d58e6e4881afc5afa8587f4
refs/heads/master
2020-04-30T17:23:34.894806
2019-03-21T16:50:35
2019-03-21T16:50:35
176,978,061
0
0
null
2019-03-21T15:52:46
2019-03-21T15:52:46
null
UTF-8
Python
false
false
2,594
py
#!/usr/bin/env python # -*- coding: utf-8 -*- # @Time : 2019/3/22 0:08 # @Author : Paulson # @File : demo.py # @Software: PyCharm # @define : function import json import requests from requests.exceptions import ConnectionError PROXY_POOL_URL = 'http://localhost:5000/one' # one proxy PROXIES_POOL_URL = 'http...
[ "ybsdeyx@163.com" ]
ybsdeyx@163.com
df1b94b8ff8b9f70e3b53c78cbdbd988c19b38a9
e210c28eeed9d38eb78c14b3a6388eca1e0e85d8
/tests/unit_test/app_common/statistics/stats_def_test.py
b96578b1c7ca54b12726685ee84f4b9e06a3b7e9
[ "Apache-2.0" ]
permissive
NVIDIA/NVFlare
5a2d2e4c85a3fd0948e25f1ba510449727529a15
1433290c203bd23f34c29e11795ce592bc067888
refs/heads/main
2023-08-03T09:21:32.779763
2023-07-05T21:17:16
2023-07-05T21:17:16
388,876,833
442
140
Apache-2.0
2023-09-14T19:12:35
2021-07-23T17:26:12
Python
UTF-8
Python
false
false
2,173
py
# Copyright (c) 2022, NVIDIA CORPORATION. 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" ]
NVIDIA.noreply@github.com
0acf2de8988b83f552ee0e68ad6596e21dbee688
e17b0ad0ebeb361e5565eb3d12e717f296a7b878
/campanha/serializers.py
59d2a9c5d8533925b7660699f482c3e15c887c8b
[]
no_license
easy-rpg/SheetAPI
94ea732083c3a7a82577e59e3a882a878772d6eb
5542197f8388eed761a15a79c6ccca4fd481ccba
refs/heads/master
2022-12-11T17:01:16.130002
2018-07-05T00:26:48
2018-07-05T00:26:48
131,898,341
1
0
null
2022-11-22T02:30:09
2018-05-02T19:44:34
Python
UTF-8
Python
false
false
603
py
from rest_framework.serializers import ModelSerializer, CharField, StringRelatedField from .models import Campanha, Arco class ArcoSerializer(ModelSerializer): campanha_nome = CharField(source='campanha.nome', read_only=True) personagens = StringRelatedField(many=True, read_only=True) class Meta: ...
[ "rodrigondec@gmail.com" ]
rodrigondec@gmail.com
8822e51cbaa2e4c42d764c8168d1caab8609a540
efc6c38070f4587346c88ae2444a8b47bb51a635
/backend/nameless_wave_19563/wsgi.py
08b98350d05b1e315aaad1417e4a82387add737d
[]
no_license
andremcb/nameless-wave-19563
ef259d2819855bb7b65f2c1c777a0d7fbf33df49
cdfe66614bea363b8dbd25ab3232183971759041
refs/heads/master
2023-03-12T04:39:05.580066
2021-03-03T22:01:29
2021-03-03T22:01:29
344,275,482
0
0
null
null
null
null
UTF-8
Python
false
false
415
py
""" WSGI config for nameless_wave_19563 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.2/howto/deployment/wsgi/ """ import os from django.core.wsgi import get_wsgi_application os.environ.setdefault('...
[ "csantos.machado@gmail.com" ]
csantos.machado@gmail.com
8915a08a3bb083150ff2fcbcd30f46be371d3afe
421b0ae45f495110daec64ed98c31af525585c2c
/BasicPrograms/PrintPartten.py
21336ad33f20ce8a61acd7e9063cb741f6ca0304
[]
no_license
Pradeepsuthar/pythonCode
a2c87fb64c79edd11be54c2015f9413ddce246c4
14e2b397f69b3fbebde5b3af98898c4ff750c28c
refs/heads/master
2021-02-18T05:07:40.402466
2020-03-05T13:14:15
2020-03-05T13:14:15
245,163,673
0
0
null
null
null
null
UTF-8
Python
false
false
469
py
# # # # # # # # # # # # # # # # # # # # for i in range(4): # for column for j in range(4): # for Row print("# ",end="") print("") print("\n") # # # # # # # # # # for i in range(4): # for column for j in range(i+1): # for Row print("# ",end="") print("") pri...
[ "sutharpradeep081@gmail.com" ]
sutharpradeep081@gmail.com
87bb7f7ef350864d08ee12e01c5a02668a812e6e
2fc11a0aaf47cbaa64fb1d3aa304c51424a96324
/test/basic_test.py
1a8c1072e21942884e38dbec0556b33a7a1ac19c
[]
no_license
isabella232/dex-cli
2cd73758980d0661c083cdf8aebcb8d73f07c297
652101177afdc76ab2f378e9a9cc5cc1b7a6aaa8
refs/heads/master
2022-12-30T18:42:50.279225
2020-10-21T08:45:53
2020-10-21T08:45:53
null
0
0
null
null
null
null
UTF-8
Python
false
false
191
py
# Example of test: Just for Integrating travis PR # TODO: Add real tests https://github.com/gnosis/dex-cli/issues/25 def inc(x): return x + 1 def test_answer(): assert inc(4) == 5
[ "noreply@github.com" ]
isabella232.noreply@github.com
76f406522001c4ab4dc3b879a3abdad7333ea711
8651c2c84e4b70ef6977d9364043605c354e1489
/Ch8/02_pets.py
c92ecceef9a49b651aaee9681a2e0440e0395b43
[]
no_license
sliverz6/Python_Crash_Course
c222cf1ff9dbe6518ee36a3db7f376c2e3b2a317
44cea09ab066e82feba97fee1e74e61fc7e1e565
refs/heads/main
2023-02-25T02:57:53.585677
2021-01-30T14:27:49
2021-01-30T14:27:49
333,345,296
0
0
null
null
null
null
UTF-8
Python
false
false
359
py
def describe_pet(pet_name, animal_type="dog"): """애완동물에 관한 정보를 출력합니다.""" print("\nI have a " + animal_type + ".") print("My " + animal_type + "'s name is " + pet_name.title() + ".") describe_pet("harry") # 위치 매개변수 describe_pet(pet_name="harry", animal_type="hamster") # 키워드 매개변수
[ "noreply@github.com" ]
sliverz6.noreply@github.com
331eaa11de4c8d4744427b517f6adbfc7b3e5a25
4a36b5979b0753b32cff3956fd97fb8ed8b11e84
/0.24/_downloads/ecd77f376b369abaa61bcf309ffb8563/interpolate_bad_channels.py
1c7c1f1d7a168c1c71f51760d3aba752b53d2d47
[]
permissive
mne-tools/mne-tools.github.io
8aac7ae10bf2faeeb875b9a351a5530dc0e53154
495e878adc1ef3374e3db88604504d7542b01194
refs/heads/main
2023-09-03T07:06:00.660557
2023-09-03T04:10:18
2023-09-03T04:10:18
35,639,371
12
16
BSD-3-Clause
2023-05-05T19:04:32
2015-05-14T22:04:23
HTML
UTF-8
Python
false
false
1,452
py
""" .. _ex-interpolate-bad-channels: ============================================= Interpolate bad channels for MEG/EEG channels ============================================= This example shows how to interpolate bad MEG/EEG channels - Using spherical splines from :footcite:`PerrinEtAl1989` for EEG data. - Using fie...
[ "larson.eric.d@gmail.com" ]
larson.eric.d@gmail.com
f310678a9fa600d8ab56e1100b469f3b7d2b850c
6b233b45ac4ae18711a7f8a7730eebcf7e4e80ed
/dlms_control.py
4db110d59c15672ed39fe3e81697db22ab8c0a10
[]
no_license
petervanya/PTFEsim
251b7501a48ab05245c778be0f39b9bacd821348
509ef87df647f5c1231efbbc0d0a84add1da28d6
refs/heads/master
2021-01-21T04:51:05.644202
2016-07-20T16:32:34
2016-07-20T16:32:34
46,088,758
1
0
null
null
null
null
UTF-8
Python
false
false
1,278
py
#!/usr/bin/env python """Usage: dlms_control.py [--L <L> --dt <dt> --steps <n> --thermo <th> --halo <h>] Generate DL_MESO control file. Options: --L <L> Box length [default: 40.0] --dt <dt> Timestep [default: 0.05] --steps <n> Number of steps [default: 10000] --therm...
[ "peter.vanya@gmail.com" ]
peter.vanya@gmail.com
b6640b3f4567202c7d8f584c09ed67a6e7001c9d
cd76b483bdd0a3676d67c524c8923be2f744dcac
/pytorch3d/renderer/mesh/textures.py
abfc0a5474fc81649104829924bec2b62e1e377f
[ "BSD-3-Clause" ]
permissive
ikonushok/pytorch3d
c55ed6ced0d82d8d399879a9f8d06a36c1721165
36b451a49bdc481fb32707323c5bca53c34ac369
refs/heads/master
2023-05-10T14:24:48.561011
2021-06-04T01:29:42
2021-06-04T01:30:54
null
0
0
null
null
null
null
UTF-8
Python
false
false
58,386
py
# Copyright (c) Facebook, Inc. and its affiliates. All rights reserved. import itertools import warnings from typing import TYPE_CHECKING, Dict, List, Optional, Tuple, Union import torch import torch.nn.functional as F from pytorch3d.ops import interpolate_face_attributes from pytorch3d.structures.utils import list_t...
[ "facebook-github-bot@users.noreply.github.com" ]
facebook-github-bot@users.noreply.github.com
bdbc62414e39c5378751c220020b0e1074e5603e
560136cbc70809a66d7fd653fadcc5f6ac2f7b8d
/buy_info.py
cb3e350fcee2935aba754ef4481f5686867ed763
[]
no_license
Python51888/Tickets12306
4b3c7381bbf163de4b148e6c718977f633323197
25db032a835f7617410e080143668a11663573a8
refs/heads/master
2020-06-15T04:21:33.352932
2018-09-25T07:50:50
2018-09-25T07:50:50
null
0
0
null
null
null
null
UTF-8
Python
false
false
5,672
py
import tkinter as tk import re test = 0 def confirm_snp(t_file): time = t_file[0] checi = t_file[1] start_station = t_file[2] start_time = t_file[3] start_time = start_time[:2] + ':' + start_time[2:] stop_station = t_file[4] stop_time = t_file[5] stop_time = stop_time[:2] + ':' + stop...
[ "569578851@qq.com" ]
569578851@qq.com
b64d844d001553a64547a137b9166e561f22ae46
77101d8433d33ebe948c21757047457067136c7c
/Code/81-90/87.py
9d31c515f0e2db48e99a86593a833c62b4eceef5
[]
no_license
ITlearning/CodeUP_Python
0665291c4731fde8b7f2f86e0519c4205240bf8f
0066e4a25764e8097b08137691e4ad75ece2d519
refs/heads/main
2023-04-30T07:30:28.439123
2021-05-20T05:39:04
2021-05-20T05:39:04
347,662,657
1
0
null
null
null
null
UTF-8
Python
false
false
101
py
a = int(input()) for i in range(1,a+1) : if i % 3 == 0 : continue print(i, end=' ')
[ "yo7504@naver.com" ]
yo7504@naver.com
9de8911cbd66e83d3e396e4ca7e788c763423aff
7822e658e88f3f948732e6e3e588ca4b2eb5662a
/diapos/programas/caso-asistencia-estrella.py
e678137cde84bc1b8ad7ea849799be70fe97ac53
[]
no_license
carlos2020Lp/progra-utfsm
632b910e96c17b9f9bb3d28329e70de8aff64570
a0231d62837c54d4eb8bbf00bb1b84484efc1af2
refs/heads/master
2021-05-28T06:00:35.711630
2015-02-05T02:19:18
2015-02-05T02:19:18
null
0
0
null
null
null
null
UTF-8
Python
false
false
44
py
>>> alumno_estrella(asistencia) 'Fulanita'
[ "rbonvall@gmail.com" ]
rbonvall@gmail.com
698adef33400954612ddb390d4e2b4be321adb6a
9788df18d5adaa469a0cb51f47309cd7401201e5
/alisdk/top/api/rest/SimbaNonsearchDemographicsUpdateRequest.py
a8f2e81f002dde34594772cd1fb1c4a9b8124c77
[]
no_license
sevennothing/aliyunTestPrj
cf690ce4765497f1b16359b82ef64f1ef992713c
1b3e883d32c759e03fe5053c50e9a973f59bbffc
refs/heads/master
2021-01-17T03:15:59.082544
2015-03-11T14:16:58
2015-03-11T14:16:58
32,001,149
0
0
null
null
null
null
UTF-8
Python
false
false
410
py
''' Created by auto_sdk on 2014-11-20 12:53:43 ''' from top.api.base import RestApi class SimbaNonsearchDemographicsUpdateRequest(RestApi): def __init__(self,domain='gw.api.taobao.com',port=80): RestApi.__init__(self,domain, port) self.campaign_id = None self.demographic_id_price_json = None self.nick...
[ "licj@out.lrserver" ]
licj@out.lrserver
bc486f952345fcf08f137b8312608b15be52db9c
ca7aa979e7059467e158830b76673f5b77a0f5a3
/Python_codes/p03146/s029247670.py
51dd873af5ba4128376ae5aa863e5f55ee218fdc
[]
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
230
py
import sys s = int(input()) a = [] a.append(s) i = 1 while True: n = 0 if a[i-1] %2 ==0: n = a[i-1]/2 else: n = a[i-1]*3 +1 i +=1 if n in a: print(i) sys.exit() a.append(n)
[ "66529651+Aastha2104@users.noreply.github.com" ]
66529651+Aastha2104@users.noreply.github.com
29fcaaf93f932a8ac6846c0055accf37a56c5ef7
61c9e13bac533432a54d62ce9c063f99aa7acf04
/akshare/economic/macro_bank.py
959dad9cfdaa56a57f2c76657f290419635f6cf8
[ "MIT" ]
permissive
guangxinli/akshare
2c91aab074b16ede7d426279999e6b53e8ed16ec
e27666f94051749e3a2d8c4b669b43f03e16d7cb
refs/heads/master
2022-04-25T00:29:40.314978
2020-04-21T13:22:08
2020-04-21T13:22:08
257,750,911
1
0
MIT
2020-04-22T00:41:59
2020-04-22T00:41:58
null
UTF-8
Python
false
false
31,394
py
# -*- coding:utf-8 -*- # /usr/bin/env python """ Author: Albert King date: 2020/1/9 22:52 contact: jindaxiang@163.com desc: 金十数据中心-经济指标-央行利率-主要央行利率 https://datacenter.jin10.com/economic 美联储利率决议报告 欧洲央行决议报告 新西兰联储决议报告 中国央行决议报告 瑞士央行决议报告 英国央行决议报告 澳洲联储决议报告 日本央行决议报告 俄罗斯央行决议报告 印度央行决议报告 巴西央行决议报告 """ import json import time imp...
[ "jindaxiang@163.com" ]
jindaxiang@163.com
3035286654d17c751f091358d055f45857303648
b136cbf689dfd1171679b1d7741ba910f2ed2161
/flask_appbuilder/messages.py
465d23c1e5a6b4d9d53374333a4046e1e9253990
[ "BSD-3-Clause" ]
permissive
dbongo/Flask-AppBuilder
7b34b582f10eef2877b010128ea3d7bfa6f23907
2de58428507afec0595fa762e977f539448878d5
refs/heads/master
2020-12-25T22:06:48.882882
2013-12-16T23:39:27
2013-12-16T23:39:27
null
0
0
null
null
null
null
UTF-8
Python
false
false
374
py
from flask.ext.babel import lazy_gettext as _ """ This Module is not used. Just use it to automate Babel extraction """ auto_translations_import = [ _("Security"), _("List Users"), _("Base Permissions"), _("Views/Menus"), _("Permission on Views/Menus"), _("Search"), _("Back"), _("Save"), _("This field is required."),...
[ "danielvazgaspar@gmail.com" ]
danielvazgaspar@gmail.com
85068524922ac829dc1894bca46e44fbc1dde60b
64bcadfc9cab7013412a3dafed4624d70d2a5215
/pySDC/implementations/controller_classes/allinclusive_multigrid_nonMPI.py
7efac3411d82dc05fc0f870b28ff4de4537f76cc
[ "BSD-2-Clause" ]
permissive
schreiberx/pySDC
9e7783ac782074f2246da766f440661e73b929b7
9d4fda2d9d7f5070a7a237e821140e11b288d477
refs/heads/master
2020-03-14T22:49:34.565440
2018-04-25T06:10:39
2018-04-25T06:10:39
null
0
0
null
null
null
null
UTF-8
Python
false
false
20,176
py
import itertools import copy as cp import numpy as np import dill from pySDC.core.Controller import controller from pySDC.core import Step as stepclass from pySDC.core.Errors import ControllerError, CommunicationError class allinclusive_multigrid_nonMPI(controller): """ PFASST controller, running serialized...
[ "r.speck@fz-juelich.de" ]
r.speck@fz-juelich.de
fc55a5be31881904c162e9a36f5926be2272163b
930ef8a8ec0338e497be3a9475af1b5244f01dc1
/drl_net.py
2ae907fa51e49a14821b1db1b815e50dc6c805d8
[]
no_license
xiaogaogaoxiao/DQN_user_grouping
837c48c051f32d848f135bebcea3410aeba68ca7
e694dcebacb74b1c0530adc892398616b15d0fc1
refs/heads/main
2023-04-17T07:46:08.182794
2021-04-30T15:14:42
2021-04-30T15:14:42
null
0
0
null
null
null
null
UTF-8
Python
false
false
4,274
py
from collections import namedtuple import torch import torch.nn as nn import torch.nn.functional as F from torch.autograd import Variable import numpy as np from MecOpt import MecEnv import math import random print(torch.__version__) EPS_START = 0.8 EPS_END = 0.01 EPS_DECAY = 2000 steps_done = 0 ...
[ "noreply@github.com" ]
xiaogaogaoxiao.noreply@github.com
643fd19f16b4df78eeb49c578ac040f68bb0cae2
b5a9d42f7ea5e26cd82b3be2b26c324d5da79ba1
/tensorflow/python/kernel_tests/signal/dct_ops_test.py
51206abed17e08efa63d4f1a13a2483bc0fb34ff
[ "Apache-2.0" ]
permissive
uve/tensorflow
e48cb29f39ed24ee27e81afd1687960682e1fbef
e08079463bf43e5963acc41da1f57e95603f8080
refs/heads/master
2020-11-29T11:30:40.391232
2020-01-11T13:43:10
2020-01-11T13:43:10
230,088,347
0
0
Apache-2.0
2019-12-25T10:49:15
2019-12-25T10:49:14
null
UTF-8
Python
false
false
7,880
py
# Copyright 2017 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by...
[ "v-grniki@microsoft.com" ]
v-grniki@microsoft.com
cfd943a80e044add71dc7c4249a4404a20ce5e87
cb848d0c80abb04c080155d1502d22391423c4e8
/build_isolated/sick_ldmrs_driver/catkin_generated/pkg.develspace.context.pc.py
def09cbfec31e6271e0038e6e4a28f39cdfcd982
[]
no_license
MTU-Autobot/catkin_ws
d8bc9b0de46befc53282b9b7e6d338a7ff7e3a0c
cf104fe048c6101f50be1b87e181d80a4be3e770
refs/heads/master
2020-03-13T23:14:56.276075
2018-04-27T18:28:01
2018-04-27T18:28:01
131,331,599
0
1
null
null
null
null
UTF-8
Python
false
false
883
py
# generated from catkin/cmake/template/pkg.context.pc.in CATKIN_PACKAGE_PREFIX = "" PROJECT_PKG_CONFIG_INCLUDE_DIRS = "/home/ubuntu/catkin_ws/devel_isolated/sick_ldmrs_driver/include;/home/ubuntu/catkin_ws/src/sick_ldmrs_laser/sick_ldmrs_driver/include;/usr/include".split(';') if "/home/ubuntu/catkin_ws/devel_isolated/...
[ "spartanhaden@gmail.com" ]
spartanhaden@gmail.com
0690db07264c5795d1457e10640984b025aa63e7
155bf47fa1b33a31576f6b8b90aaa74cd41e352a
/lianjia-spider/test/date_test.py
bdb011ebe1d659ecb20cac9fcfe8c34d272f7d4a
[]
no_license
ares5221/Python-Crawler-Projects
af4ec40a26f4f69ef285a0edf0428192a594d4cd
45b496000631f0f3b887501d9d67f3e24f5e6186
refs/heads/master
2021-07-03T07:11:25.474055
2020-09-08T08:17:17
2020-09-08T08:17:17
145,980,513
3
1
null
null
null
null
UTF-8
Python
false
false
527
py
#!/usr/bin/env python # coding=utf-8 # author: zengyuetian import unittest from lib.utility.date import * class DateTest(unittest.TestCase): def setUp(self): pass def tearDown(self): pass def test_time_string(self): self.assertEqual(len(get_time_string()), 14) def test_date...
[ "674361437@qq.com" ]
674361437@qq.com
609229cf48ea3f2d2ea42efbf2d6709292827d98
85a9ffeccb64f6159adbd164ff98edf4ac315e33
/pysnmp/ALTIGA-GENERAL-STATS-MIB.py
c3f350b52f7400da40c42fb0517a6ca6a440ccd2
[ "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
4,919
py
# # PySNMP MIB module ALTIGA-GENERAL-STATS-MIB (http://snmplabs.com/pysmi) # ASN.1 source file:///Users/davwang4/Dev/mibs.snmplabs.com/asn1/ALTIGA-GENERAL-STATS-MIB # Produced by pysmi-0.3.4 at Mon Apr 29 17:05:40 2019 # On host DAVWANG4-M-1475 platform Darwin version 18.5.0 by user davwang4 # Using Python version 3.7....
[ "dcwangmit01@gmail.com" ]
dcwangmit01@gmail.com
1f7e2e64977bf40382acf2fc8b836b554e487eb3
711756b796d68035dc6a39060515200d1d37a274
/output_cog/optimized_16573.py
921fc4365ab95e5dd3c06d397032235af117c2e5
[]
no_license
batxes/exocyst_scripts
8b109c279c93dd68c1d55ed64ad3cca93e3c95ca
a6c487d5053b9b67db22c59865e4ef2417e53030
refs/heads/master
2020-06-16T20:16:24.840725
2016-11-30T16:23:16
2016-11-30T16:23:16
75,075,164
0
0
null
null
null
null
UTF-8
Python
false
false
10,842
py
import _surface import chimera try: import chimera.runCommand except: pass from VolumePath import markerset as ms try: from VolumePath import Marker_Set, Link new_marker_set=Marker_Set except: from VolumePath import volume_path_dialog d= volume_path_dialog(True) new_marker_set= d.new_marker_set marker_set...
[ "batxes@gmail.com" ]
batxes@gmail.com
02bdf2ff0b549bdfb9f180710387a1f670c585c1
de24f83a5e3768a2638ebcf13cbe717e75740168
/moodledata/vpl_data/466/usersdata/283/111275/submittedfiles/Av2_Parte2.py
37c67dbe12d8064c666d9cb7468d46f05bb3de9c
[]
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
549
py
# -*- coding: utf-8 -*- a=[] b=[] c=[] n=int(input('Digite o número de elementos: ')) while n<=0: print('Número inválido!') n=int(input('Digite o número de elemento: ')) for i in range(0,n,1): a.append(input('Digite um elemento para a: ')) for j in range(0,n,1): b.append(input('Digite um elemento para b...
[ "rafael.mota@ufca.edu.br" ]
rafael.mota@ufca.edu.br
4546480635d8c354c4fef52bcf2e215e44eef81b
e23a4f57ce5474d468258e5e63b9e23fb6011188
/055_modules/001_modules/examples/Python 3 Most Nessesary/12. Listing 12.1. Checking the module startup method.py
53ea34d3d155e5bb12d3c7369668efe347fb7bd5
[]
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
143
py
if __name__ == "__main__": print("Это главная программа") else: print("Импортированный модуль")
[ "sergejyurskyj@yahoo.com" ]
sergejyurskyj@yahoo.com
3b436ade09c46670b26faecdb2da74694f10439e
058c258ecb9d456dce6dc9ff41d9d2c9e5a5c489
/view/plat/Content.py
c46abb112ef988737d99b17d3bb343e70441c33e
[]
no_license
lukoou3/Toolbox
7f64f49ab5b24e8ff3a7334a794a1ef8be520dc0
d23c1531adc4b03c8df043e05daa6dec4f3afaa9
refs/heads/master
2020-07-26T22:55:00.141722
2020-03-20T03:35:37
2020-03-20T03:35:37
208,787,930
0
0
null
null
null
null
UTF-8
Python
false
false
2,312
py
from PyQt5.QtWidgets import QTabWidget from view.content.DbTablesWidget import DbTablesWidget from view.content.FileRenameWidget import FileRenameWidget from view.content.JsonParseWidget import JsonParseWidget from view.content.MarkdownWidget import MarkdownWidget from view.content.SqlParseWidget import SqlParseWidget...
[ "18638489474@163.com" ]
18638489474@163.com
313a00b61f3722dff02dbad8119a1b9e42205264
ca7aa979e7059467e158830b76673f5b77a0f5a3
/Python_codes/p02715/s675628627.py
35d438a031aa3325f3538e0e2d2ff10f00f4b32d
[]
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
314
py
N, K = map(int, input().split()) mod = 10 ** 9 + 7 G = [1] * (K + 1) #そのindexを最大公約数にもつ数列の数 ans = 0 for k in range(K, 0, -1): x = K // k t = int(pow(x, N, mod)) for j in range(x - 1): t -= G[(j + 2) * k] G[k] = t ans += t * k ans %= mod print(ans)
[ "66529651+Aastha2104@users.noreply.github.com" ]
66529651+Aastha2104@users.noreply.github.com
3ecae40e32b5b7054eba8fd90a4dc60f9c611a72
9a358fbd62eaed4ef96c7a0c607322e11aa7d3bf
/api/com_dayoung_api/cop/act/model/actor_ai.py
c54bc66f60fa2e0f084ebbe04e5208998db8dea6
[]
no_license
ysk1026/project_dayoungi
2b8a8cb569f1687024a00e7f3a3af6501aa67fb1
cecb3a42496164b84ece1912932fe58de8537e46
refs/heads/master
2023-01-20T14:38:17.898499
2020-11-28T08:25:06
2020-11-28T08:25:06
311,549,208
0
0
null
null
null
null
UTF-8
Python
false
false
6,101
py
from sklearn.tree import DecisionTreeClassifier from sklearn.tree import export_graphviz # pip install sklearn # conda install python-graphviz import pydotplus # pip install pydotplus from IPython.core.display import Image from IPython.display import display # pip install Ipython # conda install -c anaconda ipython fr...
[ "fkqoseka@gmail.com" ]
fkqoseka@gmail.com
c7f06138cb8e969387fdcd3d5ab3508c3ed9bf9d
297b5e4e39fe9d5add2face0e246cd5317caa005
/tests/settings.py
544d69eb06f49d49e7af36cc41efd90486f0828c
[ "MIT" ]
permissive
alexdlaird/django-maintenance-mode
b2073971062839c5ee8c9fe5a65f99206a250a83
b71d7d2d0c9a7af3f81e23c40b2010b9413aba79
refs/heads/master
2021-08-29T20:18:55.602310
2017-10-18T13:52:20
2017-10-18T13:52:20
114,284,763
0
0
null
2017-12-14T18:45:03
2017-12-14T18:45:03
null
UTF-8
Python
false
false
1,486
py
# -*- coding: utf-8 -*- import django import os BASE_DIR = os.path.dirname(os.path.dirname(os.path.abspath(__file__))) SECRET_KEY = 'django-maintenance-mode' ALLOWED_HOSTS = ['*'] INSTALLED_APPS = [ 'django.contrib.auth', 'django.contrib.contenttypes', 'django.contrib.sessions', 'maintenance_mode'...
[ "fabio.caccamo@gmail.com" ]
fabio.caccamo@gmail.com
961aa82417237ecf10d6d5d56faa8015967b798a
1dfba6d8c60a534d6bdeb985697fba913da5fe9b
/src/mcedit2/rendering/loadablechunks.py
39ce8cd7239bb07b73d8222a3f8fb9d0aecc2e1f
[ "BSD-3-Clause" ]
permissive
shipbiulder101/mcedit2
2d88a6933bac3010f5bedcdd65d542587841a19f
44179472b7834c803da243a82d731f9ef555764d
refs/heads/master
2021-01-12T21:52:56.581572
2015-10-20T21:30:34
2015-10-20T21:30:34
null
0
0
null
null
null
null
UTF-8
Python
false
false
4,704
py
""" ${NAME} """ from __future__ import absolute_import, division, print_function, unicode_literals from collections import defaultdict import logging import numpy from OpenGL import GL from mcedit2.rendering.scenegraph import scenenode, rendernode from mcedit2.util.glutils import Texture, gl from mcedit2.renderin...
[ "codewarrior@hawaii.rr.com" ]
codewarrior@hawaii.rr.com
6eab8917304d95312065f0cf0e49b6057e96f5c3
de24f83a5e3768a2638ebcf13cbe717e75740168
/moodledata/vpl_data/131/usersdata/232/37596/submittedfiles/al10.py
4832cdecb96c52b8bdafae42640590571de174b0
[]
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
242
py
# -*- coding: utf-8 -*- #NÃO APAGUE A LINHA ACIMA. COMECE ABAIXO DESTA LINHA n=int(input('Digite o número de termos a ser calculado: ')) i=2 pi=1 for i in range (1,n+1,1): pi=pi*(i/(i-1))*(i/(i+1)) pi=pi*2 print('%.5f'%pi)
[ "rafael.mota@ufca.edu.br" ]
rafael.mota@ufca.edu.br
05ad692df50100b660ac54b791457f586c290261
a209ce9617d2e135954d1e713b66540c252e3ea6
/myvenv/bin/easy_install-3.8
0f5e416a38cdba8d6b743a9eb2177223b5a34e2a
[]
no_license
margaux-byte/mon-nouveau-blog
cff654eb216cb31180348056a483b6f50c7b206c
c16ff0300377ec7a450181c8c61b12a3096560b9
refs/heads/master
2020-08-22T10:05:46.031358
2019-10-20T13:24:54
2019-10-20T13:24:54
216,371,265
0
0
null
null
null
null
UTF-8
Python
false
false
284
8
#!/Users/carlamoltosylvander/Documents/djangogirls/myvenv/bin/python3 # -*- coding: utf-8 -*- import re import sys from setuptools.command.easy_install import main if __name__ == '__main__': sys.argv[0] = re.sub(r'(-script\.pyw?|\.exe)?$', '', sys.argv[0]) sys.exit(main())
[ "you@example.com" ]
you@example.com
5c72c3a1d0abf844c2e1fb52ff54d7df6d7b1685
4d98ac51b576e1d104cec50ecb510202b3f1fdaa
/pkg_config/__main__.py
f07c587299aaaed79dcbde454fb37c673d990455
[]
no_license
cournape/pkg-config
8b0ef687a4e0888d905d3eeb3fe56dd8e618a38c
ac7a6e61140b2cc588b514d02c62bdc401f41d73
refs/heads/master
2021-01-22T02:13:02.314974
2017-02-06T00:14:20
2017-02-06T00:14:20
81,031,538
0
0
null
null
null
null
UTF-8
Python
false
false
2,384
py
from __future__ import print_function import argparse import sys from pkg_config.errors import PCFileNotFound from pkg_config._commands import find_pc_file, list_all from pkg_config._models import PackageInfo VERSION = "0.0.1" SEARCH_DIRECTORIES = [ "/usr/local/lib/pkgconfig", "/usr/local/share/pkgconfig",...
[ "cournape@gmail.com" ]
cournape@gmail.com
1dc36b5a99eb162fef96d10ca19cd0b9a53582e1
d7016f69993570a1c55974582cda899ff70907ec
/sdk/rdbms/azure-mgmt-rdbms/azure/mgmt/rdbms/mysql/aio/operations/_server_security_alert_policies_operations.py
10f2a6ad01572a9d53d8f1a0b278ec84e27675ad
[ "MIT", "LicenseRef-scancode-generic-cla", "LGPL-2.1-or-later" ]
permissive
kurtzeborn/azure-sdk-for-python
51ca636ad26ca51bc0c9e6865332781787e6f882
b23e71b289c71f179b9cf9b8c75b1922833a542a
refs/heads/main
2023-03-21T14:19:50.299852
2023-02-15T13:30:47
2023-02-15T13:30:47
157,927,277
0
0
MIT
2022-07-19T08:05:23
2018-11-16T22:15:30
Python
UTF-8
Python
false
false
21,543
py
# pylint: disable=too-many-lines # coding=utf-8 # -------------------------------------------------------------------------- # Copyright (c) Microsoft Corporation. All rights reserved. # Licensed under the MIT License. See License.txt in the project root for license information. # Code generated by Microsoft (R) AutoRe...
[ "noreply@github.com" ]
kurtzeborn.noreply@github.com
b069a9412f83db8f978c0847ed1620c7df76136a
eefb06b0d8c8c98c1e9cfc4c3852d5c453eb5429
/data/input/aldebaran/qibuild/python/qisrc/snapshot.py
f59cbcb2a82c4aea7f2a376ac8bec88db32698d8
[]
no_license
bopopescu/pythonanalyzer
db839453bde13bf9157b76e54735f11c2262593a
8390a0139137574ab237b3ff5fe8ea61e8a0b76b
refs/heads/master
2022-11-22T02:13:52.949119
2019-05-07T18:42:52
2019-05-07T18:42:52
282,079,884
0
0
null
2020-07-23T23:46:09
2020-07-23T23:46:08
null
UTF-8
Python
false
false
4,166
py
## Copyright (c) 2012-2016 Aldebaran Robotics. All rights reserved. ## Use of this source code is governed by a BSD-style license that can be ## found in the COPYING file. """Functions to generate and load snapshot.""" import collections import json from qisys import ui import qisys.error import qisrc.git import qi...
[ "rares.begu@gmail.com" ]
rares.begu@gmail.com
675c537063a61902fa38a06372e2646e5734afe6
5ddcd95c0bbf27573f60cffd43fbe872432bb8fe
/test/language/offsets/python/ParameterOffsetTest.py
b833caa24291a1f9d3c1c94b74a316d188e65caa
[ "BSD-3-Clause" ]
permissive
chenpeihua/zserio
def7ba52b27a20673561e9f0fa9a78b12627fcc1
c021d6f943f25c2eb7d91712eb7bd5de13f9c8bc
refs/heads/master
2021-05-18T11:33:07.688831
2020-06-21T13:25:50
2020-06-21T13:25:50
251,227,439
0
0
BSD-3-Clause
2020-06-21T13:25:51
2020-03-30T07:04:56
null
UTF-8
Python
false
false
4,049
py
import unittest import zserio from testutils import getZserioApi class ParameterOffsetTest(unittest.TestCase): @classmethod def setUpClass(cls): cls.api = getZserioApi(__file__, "offsets.zs").parameter_offset def testBitSizeOf(self): createWrongOffset = False school = self._create...
[ "mikulas.rozloznik@eccam.com" ]
mikulas.rozloznik@eccam.com
380a75aa4193fe3f3d3ed67f82ed8337f7fde3fa
a9ca00b277b90b16ac1a423e9b43697663dc9522
/plastex/plasTeX/Base/LaTeX/Arrays.py
ec9ca286beeb1c06f40cae1c24748ff6d9f9f7b7
[ "MIT" ]
permissive
gcdr/plastex-oreilly
5873f06be21a87d6315c5d94b6900fb0258042a2
ddc1472f9b1f15c8c2347f0d04573ce9450c6f72
refs/heads/master
2021-06-09T20:43:13.765276
2016-12-21T16:00:09
2016-12-21T16:00:09
null
0
0
null
null
null
null
UTF-8
Python
false
false
21,074
py
#!/usr/bin/env python """ C.10.2 The array and tabular Environments """ import new, sys from plasTeX import Macro, Environment, Command, DimenCommand from plasTeX import sourceChildren, sourceArguments class ColumnType(Macro): columnAttributes = {} columnTypes = {} def __init__(self, *args, **kwargs):...
[ "downey@allendowney.com" ]
downey@allendowney.com
ca361226e992558e3c170b106de71efa1cc2421d
cb491f83882fea0627460f1de1e223309eb930c3
/src/part_two/ex10.py
be95f30ad8ea6464077227c7198a09e3cf3ff2f4
[]
no_license
impreza555/geekbrains-python-exercises
4b1bef4a284ac1c6f4c9191644f31f2f99a90711
1e56b0820cc85f516c132d8c8aa0f8c3c60daafb
refs/heads/master
2022-06-17T17:51:36.540907
2020-05-04T16:25:20
2020-05-09T00:08:46
null
0
0
null
null
null
null
UTF-8
Python
false
false
649
py
""" Есть файл example.txt, в нем записано несколько строк необходимо выполнить подсчет количества строк и количества слов в каждой строке. Вывести результат в формате: строк - X, слов - Y Пример файла: ``` first second-line third line fourth line ``` """ with open('example.txt') as f: rows = f.readlines() wo...
[ "artyom@manchenkoff.me" ]
artyom@manchenkoff.me
5ce8c78a24d4151458505b17c21bcfdc5fff63f7
dd098f8a93f787e38676283679bb39a290ba28b4
/samples/openapi3/client/3_0_3_unit_test/python-experimental/unit_test_api/model/ipv6_format.py
ec484a1d8a41c468b910cc4568018f0f6d1782d7
[ "Apache-2.0" ]
permissive
InfoSec812/openapi-generator
727c0235d3bad9b85ac12068808f844287af6003
e0c72702c3d5dae2a627a2926f0cddeedca61e32
refs/heads/master
2022-10-22T00:31:33.318867
2022-08-20T14:10:31
2022-08-20T14:10:31
152,479,633
1
0
Apache-2.0
2023-09-04T23:34:09
2018-10-10T19:38:43
Java
UTF-8
Python
false
false
628
py
# coding: utf-8 """ openapi 3.0.3 sample spec sample spec for testing openapi functionality, built from json schema tests for draft6 # noqa: E501 The version of the OpenAPI document: 0.0.1 Generated by: https://openapi-generator.tech """ import re # noqa: F401 import sys # noqa: F401 import typin...
[ "noreply@github.com" ]
InfoSec812.noreply@github.com
53fac1b43cd3394624481aba748efd21b8096893
c0e819c144aa85b860c9da29d5b7a93d5fad1ee6
/exercises/05_basic_scripts/test_task_5_1.py
68d9cc60b0dfa25c038ef7e435b50cf410968caf
[]
no_license
haskhr/pyneng-examples-exercises-en
ecf9fa78e57409cbab3e94d3d7a952ac966c0477
52e804f2942afefd626ebbddd8f4ec8a2b467b69
refs/heads/main
2023-03-12T14:41:43.293908
2021-03-10T05:32:25
2021-03-10T05:32:25
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,713
py
from importlib import reload import sys import pytest # Checking that the test is called via pytest ... and not python ... from _pytest.assertion.rewrite import AssertionRewritingHook if not isinstance(__loader__, AssertionRewritingHook): print(f"Tests should be called using this expression:\npytest {__file__}\n...
[ "nataliya.samoylenko@gmail.com" ]
nataliya.samoylenko@gmail.com
a55f535653ad76ffb57e459e3eb819f76a4d41bc
962feeffee41625ff841f6590f97bb09cef9be4c
/torch_glow/tests/nodes/sigmoid_test.py
d7959a93086ff7d53a580260fb035b023882494c
[ "Apache-2.0" ]
permissive
SushantDaga/glow
8c4c3fbc58c3ae760bdd8e1df2e8c05a72ff07bc
aab22c3e0421dadd29950c2ebfa88b86027cecf5
refs/heads/master
2022-11-03T08:39:33.958233
2020-06-19T17:03:14
2020-06-19T17:05:42
273,568,864
2
0
Apache-2.0
2020-06-19T19:12:31
2020-06-19T19:12:30
null
UTF-8
Python
false
false
781
py
from __future__ import absolute_import, division, print_function, unicode_literals import torch import torch_glow from tests.utils import jitVsGlow import unittest class TestSigmoid(unittest.TestCase): def test_sigmoid_basic(self): """Basic test of the PyTorch sigmoid Node on Glow""" def sigmoi...
[ "facebook-github-bot@users.noreply.github.com" ]
facebook-github-bot@users.noreply.github.com
c1c5cf8d4cdec5bc603ee6a8b608d8826d56dc84
4910c0f3d03935fc8ee03f1e9dc20dfdb2c7c04b
/Resueltos/Luciano_Chavarria/Python/WERTYU.py
95ff18884e0265efec156419c034b72763c5a589
[]
no_license
roca12/gpccodes
ab15eeedc0cadc0735651262887b44f1c2e65b93
aa034a3014c6fb879ec5392c51f9714bdc5b50c2
refs/heads/master
2023-02-01T13:49:27.563662
2023-01-19T22:50:58
2023-01-19T22:50:58
270,723,328
3
5
null
null
null
null
UTF-8
Python
false
false
566
py
while True: try: res = '' l = ('`', '1', '2', '3', '4', '5', '6', '7', '8', '9', '0', '-', '=', 'Q', 'W', 'E', 'R', 'T', 'Y', 'U', 'I', 'O', 'P', '[', ']','\\', 'A', 'S', 'D', 'F', 'G', 'H', 'J', 'K', 'L', ';', "'", 'Z', 'X', 'C', 'V', 'B', 'N', 'M', ',', '.', ...
[ "noreply@github.com" ]
roca12.noreply@github.com
81ff25c56aa409ab69cb2482550934bbdb000ca9
d0758e0ca004226cec8ad8b26c9565c98534a8b8
/02-core/notebook2slides.py
0cb0af330774502355decf098328bb702e6ddd7c
[]
no_license
pythoncanarias/eoi
334d64a96afc76ac1fa10282378f291b6d8c94b3
349367254f85e3e4273cede067ca950913a1332c
refs/heads/master
2023-07-06T08:00:11.366345
2023-06-30T15:19:33
2023-06-30T15:19:33
222,742,870
26
19
null
2023-06-25T16:03:46
2019-11-19T16:41:25
Jupyter Notebook
UTF-8
Python
false
false
2,458
py
#!/usr/bin/env python ''' Inspired by https://goo.gl/SYWRbM and https://t.ly/8LAeY Convert a jupyter notebook to slides (html) and apply some changes to default settings (reveal.js, mathjax, ...) Usage: > nb.py <notebook.ipynb> ''' import fileinput import re import shlex import subprocess import sys ...
[ "euribates@gmail.com" ]
euribates@gmail.com
36c86b6336cccb99ca8f04fc10b155ab44100c37
890612db0bc6209134b6d7017775d5a86604b285
/tests/data/text/bpe_test.py
33e5ecb73b283cce3f305c3f6b8775c656b05f4c
[ "Apache-2.0" ]
permissive
hiyoung-asr/st
6277fc5c1f123b5c6b09bb9ebbad779f6e08c987
634a71e3f1860c0db2f4f304a7828bb5560c34f0
refs/heads/master
2023-03-15T04:30:15.652714
2020-11-12T03:47:18
2020-11-12T03:47:18
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,179
py
#!/usr/bin/env python # -*- coding: utf-8 -*- import os import tempfile import tensorflow as tf from neurst.data.text.bpe import BPE def test(): codes = ["技 术</w>", "发 展</w>"] tmp_file = tempfile.NamedTemporaryFile(delete=False) with tf.io.gfile.GFile(tmp_file.name, "w") as fw: fw.write("version...
[ "zhaochengqi.d@bytedance.com" ]
zhaochengqi.d@bytedance.com
b7723e87a26067ac539b187244e80cd998ae5c3a
f5cd89e46b7e9fb22b422557a3c4d0354e501110
/app/main/admin.py
b8aafe5cb4c14a84808c29044c111203e8256f69
[]
no_license
Alerion/Pharmacology-DB
14d081fbab80db974258ebad7db4ab285ccdfda5
86ef48feecedce6fc1adc9aa1c4363044e9454f0
refs/heads/master
2021-07-25T00:55:14.142794
2021-02-12T18:18:12
2021-02-12T18:18:12
302,310
1
2
null
null
null
null
UTF-8
Python
false
false
670
py
# -*- coding: utf-8 -*- from django.contrib import admin from models import Drug, FarmAction, Illness from django.http import HttpResponse class DrugAdmin(admin.ModelAdmin): def edit_vector(self, request, pk): return HttpResponse('Hello %s' % pk) def get_urls(self): from django.conf.urls.def...
[ "alerion.um@gmail.com" ]
alerion.um@gmail.com
140d8a10408bebea7a12712c607cf0a7278e11a1
010c5fbc97731286be00028ff33fc981d943bca3
/primal/src/code/impute/tests/data/pedigree/pedigree_old_study.py
bffae63b82e6442b7adfd83f8252213996c0fefb
[]
no_license
orenlivne/ober
6ce41e0f75d3a8baebc53e28d7f6ae4aeb645f30
810b16b2611f32c191182042240851152784edea
refs/heads/master
2021-01-23T13:48:49.172653
2014-04-03T13:57:44
2014-04-03T13:57:44
6,902,212
7
1
null
null
null
null
UTF-8
Python
false
false
1,911
py
''' ============================================================ A pedigree loaded from an input file from a previous study at the Ober Lab. Provided by Jessica and Gaixin. Includes node annotations (generated by Mark) - old_generation #. Here 'old' refers to 'from the study'. Created on May 30, 2012 @author: Oren...
[ "oren.livne@gmail.com" ]
oren.livne@gmail.com
c9887605af1e76e43622492bb7772873c7c8cd08
5a4436884af5341ce855c0e84866b972a0f61c05
/day1/datatypes/dict/8.py
3e38da9824b0c2c05be0754dd4c16a59e8c5f405
[]
no_license
sreejithev/pythoncodes
74a420c4f025b893e27f17ba85632a4a096f17fd
70df14871a9687916d1c4ada76c055607f13e8ce
refs/heads/master
2021-01-21T20:59:47.056167
2017-06-19T09:43:17
2017-06-19T09:43:17
92,292,259
0
0
null
null
null
null
UTF-8
Python
false
false
103
py
a = {'x' : 10, 'y' : 20} print a.setdefault('x', 20) print a print a.setdefault('z', 30) print a
[ "sreejithevwyd@gmail.com" ]
sreejithevwyd@gmail.com
5aaf61fe69ee9ad1529a5d0daae9be1d9ed286b2
ac5e52a3fc52dde58d208746cddabef2e378119e
/exps-gsn-edf/gsn-edf_ut=3.0_rd=0.8_rw=0.04_rn=4_u=0.075-0.35_p=harmonic-2/sched=RUN_trial=82/sched.py
485e768f9a31d6cd6d14a9155b7252114127319a
[]
no_license
ricardobtxr/experiment-scripts
1e2abfcd94fb0ef5a56c5d7dffddfe814752eef1
7bcebff7ac2f2822423f211f1162cd017a18babb
refs/heads/master
2023-04-09T02:37:41.466794
2021-04-25T03:27:16
2021-04-25T03:27:16
358,926,457
0
0
null
null
null
null
UTF-8
Python
false
false
356
py
-X FMLP -Q 0 -L 3 96 300 -X FMLP -Q 0 -L 3 80 400 -X FMLP -Q 0 -L 3 75 400 -X FMLP -Q 1 -L 1 63 250 -X FMLP -Q 1 -L 1 60 200 -X FMLP -Q 1 -L 1 48 150 -X FMLP -Q 2 -L 1 41 300 -X FMLP -Q 2 -L 1 33 125 -X FMLP -Q 2 -L 1 32 100 -X FMLP -Q 3 -L 1 27 200 -X FMLP -Q 3 -L 1 26 150 -X FMLP -Q ...
[ "ricardo.btxr@gmail.com" ]
ricardo.btxr@gmail.com
de20a03609dd733f2af03a1ae3dbe1f42b81c5d3
e0c4fc01dd17afaa62ce329d36b1a689d948c6a4
/moya/trace.py
998e12ff5f02ba0d628fc53ae414ede71b9cb2d9
[ "MIT" ]
permissive
ui-frontend/moya
90f79b17c4142da9778aa338848321fdbb601fed
e61deb0ad4bd9d0f0cf217fb4b0cf7c64b0a0d1b
refs/heads/master
2021-01-15T22:23:32.093510
2015-02-22T00:34:11
2015-02-22T00:34:11
null
0
0
null
null
null
null
UTF-8
Python
false
false
9,608
py
"""A container for Moya code tracebacks""" from __future__ import print_function from . import syntax from .console import Console, Cell from .template.errors import (TagError, RenderError, TemplateError, MissingTemplateError) f...
[ "willmcgugan@gmail.com" ]
willmcgugan@gmail.com
6e67540d0a1f799bb87d998cdd83312283346dab
3c8701e04900389adb40a46daedb5205d479016c
/test/fortresstest/fortress_lfzb/test.py
8d8c20326ce571cfe13ee15976a521188594afda
[]
no_license
huboa/xuexi
681300653b834eaf506f49987dcca83df48e8db7
91287721f188b5e24fbb4ccd63b60a80ed7b9426
refs/heads/master
2020-07-29T16:39:12.770272
2018-09-02T05:39:45
2018-09-02T05:39:45
73,660,825
1
0
null
null
null
null
UTF-8
Python
false
false
338
py
#!/bin/python # # -*- coding: utf-8 -*- # import sys,json,urllib,urllib2 # reload(sys) # sys.setdefaultencoding('utf-8') # # url = "http://cd-ztree-api.inc-mtime.com/getalluserpassword" # result = urllib2.urlopen(url).read() # result = json.loads(result) # # for i in result: # for k,v in i.items(): # if k == 'jie.wa...
[ "wxcr11@gmail.com" ]
wxcr11@gmail.com
e853121de9b9ac889b80e8139983297bc65d2faa
7a88fc18f30d5dd3ac935877d4d9268a56c296be
/di_website/blog/migrations/0020_auto_20191023_0650.py
55f86e1326edb75e8034c449a21e59133ae334f2
[]
no_license
devinit/DIwebsite-redesign
745a480b7ba0feffa34dc664548ee4c5a7b4d470
9ec46823c67cdd4f35be255896bf30d8f6362666
refs/heads/develop
2023-08-30T04:06:20.951203
2023-08-07T12:06:07
2023-08-07T12:06:07
184,287,370
1
0
null
2023-08-28T14:34:57
2019-04-30T15:29:25
HTML
UTF-8
Python
false
false
782
py
# Generated by Django 2.2.2 on 2019-10-23 06:50 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('blog', '0019_auto_20191011_1357'), ] operations = [ migrations.AlterField( model_name='blogarticlepage', name='hero_...
[ "alex.k.miller@gmail.com" ]
alex.k.miller@gmail.com
241e55691c7d2fafa5f5c642cc5c07b5e879dd3a
9990c9561b72398d9f6a2cb29b7ee63a68cf9607
/.history/higherarchy/urls_20200305110448.py
5d91d8f22444402b018957370c116c6baae075f4
[]
no_license
Imraj423/HierarchyD
46c78ea3be6836039ce357b06a3a3e32140d1868
f175f57bc0afd3f8366bec9d03c964d228877c4a
refs/heads/master
2021-02-19T01:43:25.018148
2020-03-05T20:50:20
2020-03-05T20:50:20
245,262,927
0
0
null
null
null
null
UTF-8
Python
false
false
753
py
"""higherarchy 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-b...
[ "dahqniss@gmail.com" ]
dahqniss@gmail.com
3c6b94c42cc74ed86c4168785aa1625444219fae
c2d436fecd486a412eae5171882110e324b2fc1c
/chap8/78.py
ec1d6a31f6f9efeb259b6ef3476282a255d11d7d
[]
no_license
uenewsar/nlp100fungos
0150bacf835f3734dd76a25b079ec6c61efb4d83
7f745abb97c3129818ec6cf5f69abca15c50e451
refs/heads/master
2020-04-14T23:47:20.482910
2019-01-12T13:32:09
2019-01-12T13:32:36
164,216,276
0
0
null
null
null
null
UTF-8
Python
false
false
8,023
py
# -*- coding: utf-8 -*- ''' 78. 5分割交差検定 76-77の実験では,学習に用いた事例を評価にも用いたため, 正当な評価とは言えない.すなわち,分類器が訓練事例を丸暗記する 際の性能を評価しており,モデルの汎化性能を測定していない. そこで,5分割交差検定により,極性分類の正解率,適合率,再現率, F1スコアを求めよ. ''' import re import sys import numpy as np import stemming.porter2 from sklearn.linear_model import LogisticRegression # as stemming.porter...
[ "none@none" ]
none@none
49bd991042559fc02150d178e511e172a8bb31e5
5f845ebbc2c9b40eea702833c91928ae90ae7ee5
/data-structures/array-left-rotation.py
d20dde7750484854c21b9132f1597e1f7a1f439a
[ "MIT" ]
permissive
imgeekabhi/HackerRank
7a1917fee5af01976aebb9c82aa1045a36487016
7fe4a308abad85ce446a28328324be480672e6fc
refs/heads/master
2022-12-28T19:13:49.098090
2020-10-11T09:29:08
2020-10-11T09:29:08
300,023,395
1
0
MIT
2020-09-30T18:48:12
2020-09-30T18:48:11
null
UTF-8
Python
false
false
408
py
#!/bin/python3 import sys def leftRotation(a, d): out = list(a) a_len = len(a) for ind, el in enumerate(a): out[(ind + a_len - d) % a_len] = el return out if __name__ == "__main__": n, d = input().strip().split(' ') n, d = [int(n), int(d)] a = list(map(int, input().strip(...
[ "sergey.n.nemov@gmail.com" ]
sergey.n.nemov@gmail.com
1c157b3dc596401cbdacaf303f49abd65fd7dc33
a686db263a544c42ccfea566f19fba5443515357
/server.py
7a61d8d1b1fc25d4593cfbce61fbe3bf85d13541
[]
no_license
merli027/apis
8fd3ea6489f416d2dd1304db51dae5d3a23cffc1
4136e10fcbdfc36b7665233eddce913888e1e59f
refs/heads/master
2022-12-13T13:03:05.026252
2020-02-25T22:28:05
2020-02-25T22:28:05
243,116,270
0
0
null
2022-12-08T03:41:20
2020-02-25T22:27:30
HTML
UTF-8
Python
false
false
2,292
py
from flask import Flask, render_template, request from pprint import pformat import os import requests app = Flask(__name__) app.secret_key = 'SECRETSECRETSECRET' API_KEY = os.environ['TICKETMASTER_KEY'] @app.route('/') def homepage(): """Show homepage.""" return render_template('homepage.html') @app....
[ "you@example.com" ]
you@example.com
95f4c2bf1d1943ec5cf66207d1c6179d21703460
f47863b3a595cbe7ec1c02040e7214481e4f078a
/plugins/scan/esccms/2555.py
dbdde80f807c5821d4d411301730134a2ac42e6a
[]
no_license
gobiggo/0bscan
fe020b8f6f325292bda2b1fec25e3c49a431f373
281cf7c5c2181907e6863adde27bd3977b4a3474
refs/heads/master
2020-04-10T20:33:55.008835
2018-11-17T10:05:41
2018-11-17T10:05:41
null
0
0
null
null
null
null
UTF-8
Python
false
false
616
py
#!/usr/bin/evn python #-*-:coding:utf-8 -*- #Author:404 #Name:易创思教育建站系统未授权访问可查看所有注册用户 #Refer:http://www.wooyun.org/bugs/wooyun-2010-086704 def assign(service,arg): if service=="esccms": return True,arg def audit(arg): url=arg+"operationmanage/selectunitmember.aspx" code,head,res,errcode,_=cu...
[ "zer0i3@aliyun.com" ]
zer0i3@aliyun.com
383c97c1e717ee09c481c9a9bcaafaf22a6aa0cd
4144df22392350035a9a24fcbc23fd1c6bce5c12
/Lib/glyphNameFormatter/rangeProcessors/katakana.py
080574bddaaaa12ee38391a29264d9162345e529
[ "BSD-3-Clause", "Adobe-Glyph" ]
permissive
danielgrumer/glyphNameFormatter
55b6076684bed7ff4cc6e37ce4a0bb0e2ce86a4a
9a41b3ef02c01cd18afe0232f6e436a2f7379178
refs/heads/master
2020-12-11T05:35:47.835908
2016-03-19T09:50:33
2016-03-19T09:50:33
53,578,090
0
0
null
2016-03-10T11:07:31
2016-03-10T11:07:30
null
UTF-8
Python
false
false
357
py
def process(self): self.edit("KATAKANA-HIRAGANA", "kana") self.edit("SOUND MARK") self.edit("MARK") self.edit("LETTER") self.edit("SMALL", "small") self.editToFinal("KATAKANA", "katakana") self.lower() self.compress() if __name__ == "__main__": from glyphNameFormatter.test import p...
[ "erik@letterror.com" ]
erik@letterror.com
d1bdf920154ffffe0e5e7314a926015d1e892b85
90c6262664d013d47e9a3a9194aa7a366d1cabc4
/tests/operations/opR2kM14LSbSGpKxeZWzfXaj32AP29B2iJ88hss1mZRxXAMkR2U/test_forge_opR2kM.py
fe34ad1cf8192a126f57b15b7ea1af6b39a5c26b
[ "MIT" ]
permissive
tqtezos/pytezos
3942fdab7aa7851e9ea81350fa360180229ec082
a4ac0b022d35d4c9f3062609d8ce09d584b5faa8
refs/heads/master
2021-07-10T12:24:24.069256
2020-04-04T12:46:24
2020-04-04T12:46:24
227,664,211
1
0
MIT
2020-12-30T16:44:56
2019-12-12T17:47:53
Python
UTF-8
Python
false
false
567
py
from unittest import TestCase from tests import get_data from pytezos.operation.forge import forge_operation_group class OperationForgingTestopR2kM(TestCase): def setUp(self): self.maxDiff = None def test_forge_opR2kM(self): expected = get_data( path='operations/opR2kM14...
[ "mz@baking-bad.org" ]
mz@baking-bad.org
41b9f5fefd62fafb4c0703fcbb3f4278fb7479a8
8e1668e35a8df9968ab14d16db089b51dbe6dd51
/python/algorithms/arrays/distributed_candies.py
36ce7af5034497a847bd5c0a47921763dfd79336
[]
no_license
Chalmiller/competitive_programming
f1ec0184d1ff247201522ab90ca8e66b3f326afc
b437080d1ba977c023baf08b7dc5c3946784e183
refs/heads/master
2021-03-24T05:11:59.383916
2020-08-24T22:07:41
2020-08-24T22:07:41
247,519,998
0
0
null
null
null
null
UTF-8
Python
false
false
240
py
from typing import * import collections class Solution: def distributeCandies(self, candies: List[int]) -> int: return min(len(candies) / 2, len(set(candies))) obj = Solution() print(obj.distributeCandies([1,1,2,3]))
[ "chalmiller1@gmail.com" ]
chalmiller1@gmail.com
340c22294da42b53386bdaea4cfe8593715817c1
644b019a4792b6c7d9e5352e6330069850cc07e7
/dentexchange/apps/matches/jobs/daily/periodic_automatches_email.py
a7eb338df9d3424e9594a60e71c556e2f72d00b6
[ "BSD-3-Clause" ]
permissive
jpchauvel/dentexchange
db0611c8c45365db30bdc15e3005c6eeac104c73
58ae303e842404fc9e1860f294ec8044a332bef3
refs/heads/master
2021-10-10T12:19:00.985034
2014-09-24T03:42:20
2014-09-24T03:42:20
null
0
0
null
null
null
null
UTF-8
Python
false
false
619
py
# -*- coding:utf-8 -*- import calendar from django_extensions.management.jobs import DailyJob from django.utils.timezone import now from ...tasks import SendPeriodicAutomatchesEmailTask from ... import constants class Job(DailyJob): help = ''' Sends periodic email notifications to users notifying the total ...
[ "jchauvel@gmail.com" ]
jchauvel@gmail.com
4e7cd1f106c73485b089537adf4a40e89a4adc54
aa0270b351402e421631ebc8b51e528448302fab
/sdk/servicefabricmanagedclusters/azure-mgmt-servicefabricmanagedclusters/generated_samples/application_get_operation_example.py
f7d2aec71c49e97b87b077dfa6dfe7232f1e77d0
[ "MIT", "LGPL-2.1-or-later", "LicenseRef-scancode-generic-cla" ]
permissive
fangchen0601/azure-sdk-for-python
d04a22109d0ff8ff209c82e4154b7169b6cb2e53
c2e11d6682e368b2f062e714490d2de42e1fed36
refs/heads/master
2023-05-11T16:53:26.317418
2023-05-04T20:02:16
2023-05-04T20:02:16
300,440,803
0
0
MIT
2020-10-16T18:45:29
2020-10-01T22:27:56
null
UTF-8
Python
false
false
1,724
py
# coding=utf-8 # -------------------------------------------------------------------------- # Copyright (c) Microsoft Corporation. All rights reserved. # Licensed under the MIT License. See License.txt in the project root for license information. # Code generated by Microsoft (R) AutoRest Code Generator. # Changes may ...
[ "noreply@github.com" ]
fangchen0601.noreply@github.com
d4f4e5362e3781d0329078dc23911c801727ea8a
3806db5b4bb7a638f30c818a29ccaf2b0ddb2836
/test_188.py
184ae4a7f28d2b1a7ebb44b0521862a3a9e86548
[]
no_license
EomAA/fenics-qa
d0a687a7b84c51417e96eeeef9855c0d4ba27dea
c37a36a14450d0e7f6432c4726c5d96e0d6c4e96
refs/heads/master
2021-12-15T12:07:10.316478
2017-08-18T09:16:01
2017-08-18T09:16:01
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,256
py
from dolfin import * import numpy as np # Create mesh and define function space mesh = UnitSquareMesh(4, 4) V = FunctionSpace(mesh, "Lagrange", 1) u_e=Expression('1+x[0]*x[0]+2*x[1]*x[1]') #exact solutin # Define Dirichlet boundary (x = 0 or x = 1) class Left(SubDomain): def inside(self, x, on_...
[ "miroslav.kuchta@gmail.com" ]
miroslav.kuchta@gmail.com
3c53678e97a6f2552793138d9aeca60f467499e7
3a121f4953c430e450c448417ca40e7dfae9db9a
/analysis/visualization.py
6efc277f9555343a2669a6bfd4681c32de907bb9
[ "MIT" ]
permissive
sadscv/sentiment.datalogue
cdcbaa71a16be07f99f6ae502e2da3a4df08cd3f
3e7bde9e03394774bfab2582bd936c090639ddc2
refs/heads/master
2021-05-01T21:53:53.478139
2017-03-01T08:11:06
2017-03-01T08:11:06
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,051
py
import numpy as np import matplotlib.pyplot as plt import seaborn as sns import sys, os sns.set_style('white') def training_plot(history, outfile, metric='categorical_accuracy', title=''): """ Plot training accuracy for each epoch """ ## Set output file for plot basepath = os.path.split(os.path.exp...
[ "zafarali.ahmed@gmail.com" ]
zafarali.ahmed@gmail.com
8d740f23f7e5f925e7a63395c8a015063f25184d
b0742d240520af3a35fab31f71cfb1cd71c73696
/Python/EditMLTkinter/MLTkiter/app.py
f456d112f855883d38134312a8654b978de58022
[]
no_license
subhamrex/Coding_Practice
90c95e74f403781a90cd39ca0b441251dc4974d5
677579dbb4d92c9f3a2a7d5403b14c9f6f51014b
refs/heads/master
2023-07-29T02:01:43.678180
2021-09-08T15:48:36
2021-09-08T15:48:36
373,430,589
1
0
null
null
null
null
UTF-8
Python
false
false
28,992
py
from tkinter import Frame, LabelFrame, StringVar, IntVar, Label, Tk, Entry, Button, TclError, Scrollbar,Toplevel, Canvas, Checkbutton, Radiobutton from tkinter.constants import * import numpy as np from matplotlib.figure import Figure from matplotlib.backends.backend_tkagg import FigureCanvasTkAgg import pandas as pd f...
[ "subhamkundu486@gmail.com" ]
subhamkundu486@gmail.com
a94bd8b5497a0c76c0e2d552e57e1fbcfae2cd6f
8f436dff6c0681a673d517a1973b6f6b9a43674e
/liberapay/testing/mangopay.py
4239d88976094ed3b87124cb95f85d07e308d40d
[ "CC0-1.0", "LicenseRef-scancode-public-domain" ]
permissive
ddai00bit/liberapay.com
fc483c9b18dcc016bac84f5b4ccf397a3cb25214
78c5eb910877e936b91d1dae274b8cf1f82f3191
refs/heads/master
2023-04-05T21:44:45.641171
2021-05-04T07:28:31
2021-05-04T07:28:31
null
0
0
null
null
null
null
UTF-8
Python
false
false
4,193
py
import itertools from unittest import mock from mangopay.resources import ( BankAccount, CardRegistration, NaturalUser, Wallet, ) import requests from liberapay.i18n.currencies import Money from liberapay.models.exchange_route import ExchangeRoute from liberapay.testing import Harness from liberapay.testing.vcr i...
[ "changaco@changaco.oy.lc" ]
changaco@changaco.oy.lc
316a57fe50150f51e9655515eaec2356b5cbcff5
8f64d50494507fd51c0a51010b84d34c667bd438
/BeautyForMe/myvenv/Lib/site-packages/phonenumbers/shortdata/region_GU.py
05be0b455abfd583e4469c62b75308e3f386e1f1
[ "MIT" ]
permissive
YooInKeun/CAU_CSE_Capstone_3
5a4a61a916dc13c8635d25a04d59c21279678477
51405c4bed2b55661aa0708c8acea17fe72aa701
refs/heads/master
2022-12-11T15:39:09.721019
2021-07-27T08:26:04
2021-07-27T08:26:04
207,294,862
6
1
MIT
2022-11-22T04:52:11
2019-09-09T11:37:13
Python
UTF-8
Python
false
false
654
py
"""Auto-generated file, do not edit by hand. GU metadata""" from ..phonemetadata import NumberFormat, PhoneNumberDesc, PhoneMetadata PHONE_METADATA_GU = PhoneMetadata(id='GU', country_code=None, international_prefix=None, general_desc=PhoneNumberDesc(national_number_pattern='9\\d\\d', possible_length=(3,)), to...
[ "keun0390@naver.com" ]
keun0390@naver.com
35e1031be1362e0bcb23587c0b39087847e40de3
db053c220094368ecb784fbe62375378c97457c2
/680.valid-palindrome-ii.py
f8da057ab7cd5e88321a11b6221d0afbf1d7bfce
[]
no_license
thegamingcoder/leetcode
8c16e7ac9bda3e34ba15955671a91ad072e87d94
131facec0a0c70d319982e78e772ed1cb94bc461
refs/heads/master
2020-03-22T14:51:45.246495
2018-07-09T00:00:06
2018-07-09T00:00:06
140,211,147
0
0
null
null
null
null
UTF-8
Python
false
false
754
py
# # [680] Valid Palindrome II # # https://leetcode.com/problems/valid-palindrome-ii/description/ # # algorithms # Easy (32.37%) # Total Accepted: 34.1K # Total Submissions: 105.4K # Testcase Example: '"aba"' # # # Given a non-empty string s, you may delete at most one character. Judge # whether you can make it a ...
[ "sharanbale@yahoo-inc.com" ]
sharanbale@yahoo-inc.com
85aee261c4e212bd790c51b226e4a375b1524019
26ea89d8f679629e59ba6798d5e7b7c443eac2d7
/express_checkout/tests/__init__.py
a0c28330d3dcdafccb19afb3757ac9c51315ec5a
[]
no_license
jobiols/jeo
f91d4dcefcef73deb60d07ef59ee7065cdbfcbfa
41e02a8363d15a3a54d3c481fe9c65c18ea4be84
refs/heads/8.0
2020-12-11T14:20:57.885362
2019-09-07T16:29:27
2019-09-07T16:29:27
49,533,283
2
0
null
2017-10-19T00:32:19
2016-01-12T22:33:05
Python
UTF-8
Python
false
false
993
py
# -*- coding: utf-8 -*- # # Copyright (C) 2016 jeo Software (http://www.jeosoft.com.ar) # All Rights Reserved. # # This program is free software: you can redistribute it and/or modify # it under the terms of the GNU Affero General Public License as # published by the Free Software Foundation, either ve...
[ "jorge.obiols@gmail.com" ]
jorge.obiols@gmail.com
acd12224b507826a13418f4571a4bf7e1932ceaa
74ace85cc5b5e721f6c2433153277c60135f356a
/jlm/src/jlm/tests/conftest.py
467723d5465a376bcfd3f986602b9c1e1fd87ea7
[ "MIT" ]
permissive
tkf/JuliaManager.jl
c24839777bf8d11bf72eeeaf0d0fe5d59715c1fe
be4586e0965a7beb6248ea503ac48ac3d43ec0f0
refs/heads/master
2020-05-03T16:59:36.062145
2020-02-10T08:47:38
2020-02-10T08:47:38
178,736,172
9
2
MIT
2020-02-10T08:47:40
2019-03-31T20:04:01
Python
UTF-8
Python
false
false
311
py
import pytest # type: ignore from .. import cli from .testing import changingdir @pytest.fixture def cleancwd(tmp_path): newcwd = tmp_path / "cleancwd" with changingdir(newcwd): yield newcwd @pytest.fixture def initialized(cleancwd): cli.run(["--verbose", "init"]) return cleancwd
[ "aka.tkf@gmail.com" ]
aka.tkf@gmail.com
076707f145a54563bd0cbe046327482dd9339a70
0728513cfd064b8f6c130d42ad8ef79f49b6b9b2
/test/test_tpc_gain.py
49c8104d09f97361636986a1b645e67262dc1a47
[]
no_license
XENONnT/pmts-api-client
7e70574e45c3e1e639b066513c7f07047ac4dd30
2b1025fc6cec01726e2d555f609c148891c6d879
refs/heads/master
2022-12-10T02:04:12.942994
2020-09-27T15:39:09
2020-09-27T15:39:09
276,297,656
0
0
null
null
null
null
UTF-8
Python
false
false
1,886
py
# coding: utf-8 """ XENON PMT API API for the XENON PMT database # noqa: E501 The version of the OpenAPI document: 1.0 Contact: joe.mosbacher@gmail.com Generated by: https://openapi-generator.tech """ from __future__ import absolute_import import unittest import datetime import xepmts from x...
[ "joe.mosbacher@gmail.com" ]
joe.mosbacher@gmail.com
838191e594abd158113cbf1be59f22fbe13cc79a
31aa2380ea51c98f2bd14c43e83766090fff81d8
/src/dropbot_chip_qc/video.py
d2393c39fafcd4219699441ba4caeda3295d052e
[ "BSD-3-Clause" ]
permissive
MIKA-SSS/dropbot-chip-qc
ee9a25999bdc0b1cb99bd6d45ff6105aff943a3d
e5944b88c0d423163f55a3f49ebf84bb27e229bc
refs/heads/master
2023-03-17T04:43:39.576126
2019-10-24T17:15:12
2019-10-24T17:15:12
null
0
0
null
null
null
null
UTF-8
Python
false
false
11,551
py
# -*- encoding: utf-8 -*- from __future__ import print_function, absolute_import, unicode_literals import logging import threading import time import blinker import numpy as np import pandas as pd import pyzbar.pyzbar as pyzbar try: import cv2 except ImportError: raise Exception('Error: OpenCv i...
[ "christian@fobel.net" ]
christian@fobel.net
3cacf1d37e787bfb185abf4a6735e3618ff9d9a5
2491df3f643539e6055bb0b2a4b659474c57491f
/computeFactorial.py
6c4b4ad44d45c903c4df51a2cc44c0863dc5ec5f
[]
no_license
ghilbing/Ejemplos
85efc91346028b8a3d26d7680d9286b26234c771
339a45ef48c9a61002a01f7c823cc42d34fab409
refs/heads/master
2021-05-13T13:58:33.010157
2018-02-26T20:44:44
2018-02-26T20:44:44
116,724,506
0
0
null
null
null
null
UTF-8
Python
false
false
130
py
def factorial(A): if A <= 1: return 1 else: A = A * factorial(A-1) return A A = 6 print factorial(A)
[ "ghilbing@gmail.com" ]
ghilbing@gmail.com
cf276eaa8c48568cb7e03f69d2a7c6e9aa282b40
c1e7082dc5a3e667f5e6c373670a7971dceeb4fa
/gym/spaces/graph.py
2f393c2c470626a669d8316c1d33ba6b81759e6d
[ "MIT" ]
permissive
thomascherickal/gym
afd8ef9817bc9f7f52b6e29f1bf94f7ce448e9c6
53d784eafed28d31ec41c36ebd9eee14b0dc6d41
refs/heads/master
2022-09-26T19:59:16.286645
2022-09-16T20:40:07
2022-09-16T20:40:07
161,881,517
2
1
NOASSERTION
2020-10-13T08:47:43
2018-12-15T07:33:35
Python
UTF-8
Python
false
false
9,756
py
"""Implementation of a space that represents graph information where nodes and edges can be represented with euclidean space.""" from typing import NamedTuple, Optional, Sequence, Tuple, Union import numpy as np from gym.logger import warn from gym.spaces.box import Box from gym.spaces.discrete import Discrete from g...
[ "noreply@github.com" ]
thomascherickal.noreply@github.com
f1edb501954b262818ad2951e48337e3c1f506aa
a5103b7d5066138ac1a9aabc273361491a5031cd
/daily/8/DeepLearning/myproject/beatifulFace/blend.py
bbc8d6693925aac1e83b1ac66618bd37ee1b3f74
[]
no_license
mckjzhangxk/deepAI
0fa2f261c7899b850a4ec432b5a387e8c5f13e83
24e60f24b6e442db22507adddd6bf3e2c343c013
refs/heads/master
2022-12-13T18:00:12.839041
2021-06-18T03:01:10
2021-06-18T03:01:10
144,862,423
1
1
null
2022-12-07T23:31:01
2018-08-15T14:19:10
Jupyter Notebook
UTF-8
Python
false
false
4,159
py
import cv2 import numpy as np from collections import defaultdict from scipy.sparse import csc_matrix from scipy.sparse.linalg import spsolve,cg,eigsh def gauss_pyramid(I): ret=[I] n=int(np.ceil(np.log2(min(I.shape[:2])//16))) for i in range(1,n+1): ret.append(cv2.pyrDown(ret[i-1])) return ...
[ "mckj_zhangxk@163.com" ]
mckj_zhangxk@163.com
f727a53af8f9c8d1bfa78ce5468ab0fbad85aca9
abc422f58ad053bcbb6653ba15b66e46d220a199
/tcutils/pkgs/Traffic/traffic/utils/util.py
61b1ab3bf3f6a08f841d5824248dd1046f7f4d8e
[ "LicenseRef-scancode-warranty-disclaimer", "Apache-2.0" ]
permissive
tungstenfabric/tf-test
d3efff59bca931b614d0008260b2c0881d1fc009
4b9eca7eb182e5530223131ecab09d3bdf366407
refs/heads/master
2023-02-26T19:14:34.345423
2023-01-11T08:45:18
2023-01-11T10:37:25
265,231,958
8
22
null
2023-02-08T00:53:29
2020-05-19T11:46:12
Python
UTF-8
Python
false
false
299
py
import socket def is_v4(address): try: socket.inet_pton(socket.AF_INET, address) except socket.error: return False return True def is_v6(address): try: socket.inet_pton(socket.AF_INET6, address) except socket.error: return False return True
[ "andrey-mp@yandex.ru" ]
andrey-mp@yandex.ru
f010a4d16c12e85270a596fc2f31a8841ac64dc2
9a04de8acae6b9d5f134ab04ce4573acd05be10c
/facebook_pages/factories.py
7b37712ec2d1dfb0311b86476d9e42424e912116
[ "BSD-3-Clause" ]
permissive
bmcool/django-facebook-pages
046fb5727008dc0f5bf20a6201006466e89bec1d
44ae645c93a37e741ceda018daaa8def10acd1ad
refs/heads/master
2021-01-18T07:48:13.249597
2013-06-09T13:37:16
2013-06-09T13:37:16
null
0
0
null
null
null
null
UTF-8
Python
false
false
158
py
from models import Page import factory import random class PageFactory(factory.Factory): FACTORY_FOR = Page graph_id = factory.Sequence(lambda n: n)
[ "ramusus@gmail.com" ]
ramusus@gmail.com
e2cd93ae33ad1783ad4ed4faeafd03fbf503f425
515a97129ce1b2b8eecca4b2087fde8985b82d5b
/Code-Scraps/old_modules/SpiceBot/Main/muricah.py
703d9a78bcb6c74111c29fcabd8c8e38187eb98e
[]
no_license
SpiceBot/scraps
3ad6e81ac75e2b6a684fea64eb7e75477b0f4f63
90125e1397b57ac87cae5f3e506363aa04ddffdc
refs/heads/master
2020-05-02T21:51:01.297114
2019-03-28T15:38:28
2019-03-28T15:38:28
178,232,887
0
0
null
null
null
null
UTF-8
Python
false
false
1,152
py
#!/usr/bin/env python # coding=utf-8 from __future__ import unicode_literals, absolute_import, print_function, division import sopel.module import sys import os moduledir = os.path.dirname(__file__) shareddir = os.path.dirname(os.path.dirname(os.path.dirname(__file__))) sys.path.append(shareddir) from BotShared import ...
[ "sam@deathbybandaid.net" ]
sam@deathbybandaid.net
31000cc65e540af23728898e88f779605b40c038
2cd0a84aefb8a7141d1c8da99845a8ada0cc009c
/tensorflow/python/ops/nn_grad.py
ec79476d6c56a844306f7fb61ef270da90c74545
[ "Apache-2.0" ]
permissive
hholst80/tensorflow-old
d466cee96eac717524ab8e4ee85275ce28bb5d68
79df325975402e03df89747947ff5b7f18407c52
refs/heads/master
2022-12-20T22:07:40.427519
2016-05-13T09:57:24
2016-05-13T09:57:24
58,914,336
1
1
Apache-2.0
2022-12-09T21:52:14
2016-05-16T08:00:04
C++
UTF-8
Python
false
false
12,062
py
# 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 by applicable law or a...
[ "henrik.holst@frostbite.com" ]
henrik.holst@frostbite.com
6e63e02f7cb85f88fae930c14c63504884d425e5
163808746e51d378f69a966645b8bb8a855b4625
/MyMain1012/MyMain1012/MyModules.py
1044ab01075533ee8a21af408e08c251ab99f0f0
[]
no_license
0024thiroshi/comm5.0_fall_semester
02b26b506b759dd7b18b963295a8908cb4a78245
db350599b7085e56fbf2c316e74cd7a5b48f02b8
refs/heads/main
2023-02-12T13:07:34.080809
2021-01-13T06:03:04
2021-01-13T06:03:04
329,202,576
0
0
null
null
null
null
UTF-8
Python
false
false
1,963
py
def getDF(file_name,sheet_name): import pandas as pd DF1=pd.read_excel(file_name,sheet_name=sheet_name) return DF1 def getS(DF,n1): import pandas as pd S1=pd.Series(DF.iloc[:,n1]) return S1 def extractDF(DF,n1,n2): DF2=DF.iloc[n1:n1+n2,:] return DF2 def drawS(S1,S2): impo...
[ "“0024thiroshi@gmail.com”" ]
“0024thiroshi@gmail.com”
7490de25b48546de6bcaab679534fa3ff4ee5100
ccf94dcb6b1500fcbbd56964ae8c4832a496b8b3
/python/baiduads-sdk-auto/baiduads/platproduct/model/get_product_list_response_wrapper.py
8718ac280f30c3ec5cc9496bb9a043f7910a4cfc
[ "Apache-2.0" ]
permissive
baidu/baiduads-sdk
24c36b5cf3da9362ec5c8ecd417ff280421198ff
176363de5e8a4e98aaca039e4300703c3964c1c7
refs/heads/main
2023-06-08T15:40:24.787863
2023-05-20T03:40:51
2023-05-20T03:40:51
446,718,177
16
11
Apache-2.0
2023-06-02T05:19:40
2022-01-11T07:23:17
Python
UTF-8
Python
false
false
11,668
py
""" dev2 api schema 'dev2.baidu.com' api schema # noqa: E501 Generated by: https://openapi-generator.tech """ import re # noqa: F401 import sys # noqa: F401 from baiduads.model_utils import ( # noqa: F401 ApiTypeError, ModelComposed, ModelNormal, ModelSimple, cached_property, ch...
[ "tokimekiyxp@foxmail.com" ]
tokimekiyxp@foxmail.com
fa9400116b1cf68b3c2af2c6480e3869053378ed
163bbb4e0920dedd5941e3edfb2d8706ba75627d
/Code/CodeRecords/2573/60719/278572.py
ef5e2025d2f5fb9f2a0e35de41649f4a13d5b420
[]
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
150
py
def handle_each_use_case(): return 2 ** (int(input())-1) num = int(input()) for i in range(num): res = handle_each_use_case() print(res)
[ "1069583789@qq.com" ]
1069583789@qq.com
abf2176a428b1c4899142a03ef98e32f7dd5ecda
c5becab2d4201f2e828d052c22b4496a3bbe4927
/src/transformers/models/mobilevit/image_processing_mobilevit.py
b600009c2eada9b13a028d77806e7096118d795a
[ "Apache-2.0" ]
permissive
thomwolf/transformers
ba665c456b2acd636d8e3876a87ea446ae0ae092
166dfa88e5dfdca1d99197e5006e4e2ea9e49cba
refs/heads/master
2023-03-08T03:37:13.519336
2023-02-15T15:00:01
2023-02-15T15:00:01
238,908,404
4
1
Apache-2.0
2023-02-25T16:09:30
2020-02-07T11:40:04
Python
UTF-8
Python
false
false
16,736
py
# coding=utf-8 # Copyright 2022 The HuggingFace Inc. team. All rights reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless r...
[ "noreply@github.com" ]
thomwolf.noreply@github.com
e028a43d424f376814f87e346f021b1ca842d883
6c898145b3581b87b76a2b16658ad1d0a2aeee4a
/demo4_redrect.py
ab84ca2e0e3c203f437ab67ac1b26e110626d070
[]
no_license
Jasonmes/Flask-model
080f3e44f64d7684c9fe1edf731cf7481615ea0f
99f9ff9141434baedc7d048ac3bfb51134919591
refs/heads/master
2020-03-26T11:47:39.081133
2018-08-15T13:59:40
2018-08-15T13:59:40
144,860,136
0
0
null
null
null
null
UTF-8
Python
false
false
656
py
from flask import Flask,redirect,url_for app = Flask(__name__) @app.route('/') def index(): """ 自定义状态码 返回的形式是一个元祖 :return: """ return "反向函数在调用index", 666 @app.route("/demo1") def demo(): # 重定向到黑马官网 # 参数:重定向网页即可 return redirect("http://www.itheima.com") @app.route('/demo2') def ...
[ "wow336@163.com" ]
wow336@163.com
74928f2f18abb1478e911324438ca62f5b05c88f
9f059fd982f2c0a9d6a43cb4665b5adf0552c889
/src/models/model.py
0d66e2a7ab258eb5b83d9f4ecd74681b12da1539
[]
no_license
yamad07/domain-transfer-network
2a42de636febd4da0ceaacac32832a7f9605f820
b767628f9afa6e760a0708dedd22e6a530cd730b
refs/heads/master
2020-06-12T06:06:35.578911
2019-07-12T05:22:52
2019-07-12T05:22:52
194,216,261
0
0
null
null
null
null
UTF-8
Python
false
false
2,262
py
import torch import torch.nn as nn import torch.nn.functional as F from .layers.cnn import encoder_layer from .layers.cnn import decoder_layer from .layers.cnn import discriminator_layer class Encoder(nn.Module): def __init__(self): super(Encoder, self).__init__() self.c1 = encoder_layer(3, 64, 3)...
[ "yuhsukeshootsfc@gmail.com" ]
yuhsukeshootsfc@gmail.com
f18c3055fb82ab2adce6fe45db715962d9b8bc34
6c26a9bd075d3d54a307d7c1e5a0bc67b50df8c2
/python_basics/python3/04_less_than.py
f7630bf4edcf6b730f1c11ee4f5d8c76607a9ec6
[]
no_license
marialobillo/dataquest
86efc49c0339c07e6263d428b5ecd2f80d395ecb
49e8b653adf23a12fb9eb6a972d85bc1797dba0a
refs/heads/master
2021-08-28T08:01:36.301087
2017-12-11T16:02:18
2017-12-11T16:02:18
null
0
0
null
null
null
null
UTF-8
Python
false
false
160
py
print(crime_rates) second_500 = (crime_rates[1] < 500) second_371 = (crime_rates[1] <= 371 second_last = (crime_rates[1] <= crime_rates[len(crime_rates) - 1])
[ "maria.lobillo.santos@gmail.com" ]
maria.lobillo.santos@gmail.com
4391865f95a88bc614dc1f2ea5a691b2ae243675
50948d4cb10dcb1cc9bc0355918478fb2841322a
/azure-servicefabric/azure/servicefabric/models/paged_secret_resource_description_list.py
8ec32f9fc767fa8832874709ee2fc8da16810dc3
[ "MIT" ]
permissive
xiafu-msft/azure-sdk-for-python
de9cd680b39962702b629a8e94726bb4ab261594
4d9560cfd519ee60667f3cc2f5295a58c18625db
refs/heads/master
2023-08-12T20:36:24.284497
2019-05-22T00:55:16
2019-05-22T00:55:16
187,986,993
1
0
MIT
2020-10-02T01:17:02
2019-05-22T07:33:46
Python
UTF-8
Python
false
false
1,806
py
# coding=utf-8 # -------------------------------------------------------------------------- # Copyright (c) Microsoft Corporation. All rights reserved. # Licensed under the MIT License. See License.txt in the project root for # license information. # # Code generated by Microsoft (R) AutoRest Code Generator. # Changes ...
[ "lmazuel@microsoft.com" ]
lmazuel@microsoft.com
4ee25d36a93847380f36f2e3bf144325c47882a5
d7e65c505573b90916a953d7a13d29a801c226f9
/test.py
418e12a1921b1086465a0f47ec8d2d2ecd6d9422
[]
no_license
smartfile/client-js
1f1e60c4fb758aff3b9e371a937e7aa2c83f8dbc
6338a1442dc6298450ea1f6e15430cb4d1a092ec
refs/heads/master
2021-01-17T11:28:05.853979
2016-05-31T15:07:06
2016-05-31T15:07:06
3,065,301
1
0
null
null
null
null
UTF-8
Python
false
false
1,952
py
#!/bin/env python import os, string, cgi, time, webbrowser, threading, socket from BaseHTTPServer import BaseHTTPRequestHandler, HTTPServer JSON = '{ text: "This is the response." }' PORT = 8000 class LaunchBrowser(threading.Thread): def __init__(self): threading.Thread.__init__(self) self.start(...
[ "btimby@gmail.com" ]
btimby@gmail.com
42189d44df4bedda4aa9fd28ec1a2b8f5dd5d4fd
d993f821da125498b6dfb01792fcd24c83ae7e34
/AllAboutDictionaries/DictionaryMethods.py
eb5648801932cd448a1ea6c71d34ab68bef54352
[]
no_license
Arjuna1513/Python_Practice_Programs
2c8370d927c8bade2d2b0b5bd0345c7d5f139202
7c72600d72f68afee62ee64be25d961822429aeb
refs/heads/master
2020-06-24T02:36:03.186924
2019-07-25T14:31:02
2019-07-25T14:31:02
198,824,589
0
0
null
null
null
null
UTF-8
Python
false
false
944
py
dict1 = {1:2, 3:4, 'a':'b', 5:{1:2}} # print(dict1) # # print(len(dict1)) # prints length of dict1 # # print(dict1.items()) # Returns a list of items with both key and value pairs and since the list is # # returned we are able to iterate over it # # print(dict1.values()) # returns only list of values # # print(dict1.ke...
[ "malli00022@gmail.com" ]
malli00022@gmail.com
ca3c3609c7fadfa9093e7241d467a95b7f74bf4e
1346ea1f255d3586442c8fc1afc0405794206e26
/알고리즘/day16/two_string.py
48ecca480a31b18ae28d058cc47f4bd46267826e
[]
no_license
Yun-Jongwon/TIL
737b634b6e75723ac0043cda9c4f9acbc2a24686
a3fc624ec340643cdbf98974bf6e6144eb06a42f
refs/heads/master
2020-04-12T00:41:03.985080
2019-05-01T07:55:25
2019-05-01T07:55:25
162,208,477
0
0
null
null
null
null
UTF-8
Python
false
false
533
py
T=int(input()) for t in range(T): num1,num2=map(int,input().split()) data1=list(map(int,input().split())) data2=list(map(int,input().split())) if len(data1)>len(data2): short_data=data2 long_data=data1 else: short_data=data1 long_data=data2 sum=-500 for i in r...
[ "dmdmdkdk@daum.net" ]
dmdmdkdk@daum.net
f664f43615dfd3188c09cb82b2cee07f916100ce
50948d4cb10dcb1cc9bc0355918478fb2841322a
/azure-mgmt-network/azure/mgmt/network/v2019_02_01/models/virtual_network.py
c9cd60b38e95b54f4fe594909f1af0f04be05a36
[ "MIT" ]
permissive
xiafu-msft/azure-sdk-for-python
de9cd680b39962702b629a8e94726bb4ab261594
4d9560cfd519ee60667f3cc2f5295a58c18625db
refs/heads/master
2023-08-12T20:36:24.284497
2019-05-22T00:55:16
2019-05-22T00:55:16
187,986,993
1
0
MIT
2020-10-02T01:17:02
2019-05-22T07:33:46
Python
UTF-8
Python
false
false
4,724
py
# coding=utf-8 # -------------------------------------------------------------------------- # Copyright (c) Microsoft Corporation. All rights reserved. # Licensed under the MIT License. See License.txt in the project root for # license information. # # Code generated by Microsoft (R) AutoRest Code Generator. # Changes ...
[ "noreply@github.com" ]
xiafu-msft.noreply@github.com
8f1d1c60025749c1d3af208a4bd1b6b6cfc35348
94fb04ab0cb16fd180b6ef0ca22176dd31dea4f8
/code@smart_irrigation.py
007ab4961e728e9d563d1e1a4796bc2309d6224a
[]
no_license
SmartPracticeschool/llSPS-INT-2310-smart-irrigation-system-based-on-IOT-using-random-values-n-weather-api-
97a5fda6e640767a9ee830a709240df57cbf9750
1de1e04929ef8ea052e7ed70acd97b87e77bdfab
refs/heads/master
2022-11-04T00:49:22.602410
2020-06-17T14:05:48
2020-06-17T14:05:48
265,819,817
0
0
null
null
null
null
UTF-8
Python
false
false
2,609
py
import requests import sys import time import ibmiotf.application import ibmiotf.device import random r=requests.get('http://api.openweathermap.org/data/2.5/weather?q=Guntur,IN&appid=42a67b9e8ecd9620c2fe1471361c3e53') #Provide your IBM Watson Device Credentials organization = "w1gnzn" deviceType = "raspber...
[ "noreply@github.com" ]
SmartPracticeschool.noreply@github.com
034ff7aa8e6769c53f7c8c08a4bf5c226f1a1f80
48114b2186c96afce9a00c86eed8739853e8a71e
/eptools/gspread_utils.py
6ab72a98450912f2e91365ff769292cf14ce4630
[ "MIT" ]
permissive
PythonSanSebastian/ep-tools
78b299eca763cc345da15e2984d7d08e67dc0c8d
d9a0e3c1d97df9f8bd94023e150b568e5619a482
refs/heads/master
2021-01-20T21:57:06.463661
2018-05-31T09:46:22
2018-05-31T09:46:22
51,786,311
0
0
null
2016-02-15T21:15:50
2016-02-15T21:15:50
null
UTF-8
Python
false
false
1,813
py
""" Functions to access the data in google drive spreadsheets """ from docstamp.gdrive import (get_spreadsheet, worksheet_to_dict) def get_api_key_file(): """ Return the api_key_file path imported from the config.py file""" try: from .config import api_key_file ex...
[ "alexsavio@gmail.com" ]
alexsavio@gmail.com
4827119c0da3a1ec929ea1870f9ff11d5289f6df
1b461ec82c8dd1099021ce3a32a7f649fa970226
/1.Python_basics/00. First_steps.py
de81272da5e7285c2ecc00f70c4e38d5bd64453f
[]
no_license
AdamSierzan/Learn-to-code-in-Python-3-basics
9df20c80c33f40da8800d257ee2ec05881198419
ef298bcba72250e19080283cb81dbecf6a245563
refs/heads/master
2022-11-06T00:48:17.413322
2020-06-16T20:52:08
2020-06-16T20:52:08
250,247,475
0
0
null
null
null
null
UTF-8
Python
false
false
172
py
msg = "Hello World" print(msg) x = 2 y = 7232 sum = x + y print(sum) x = 3 print(x) x = 2*y y = 69780 print(x) print(y) print(x) x = 2*y print(x) print"hello world" help
[ "adagioo1993@gmail.com" ]
adagioo1993@gmail.com
291d6c66a8448ced95fc18bbfadb84c49f58a446
323716a35ee2b649031ec8a09b196b8e7b833e8d
/lab9/hhback/api/migrations/0001_initial.py
a18a2d38b64a756ff8b961f72e74525684e761d8
[]
no_license
Zhaisan/WebDev
0377cec0c553900c5126794a8addc16e2e62b558
959ecf5b2e5032ccd2ab704b840e8f680dbcfc42
refs/heads/main
2023-05-27T17:24:17.026750
2021-05-31T15:02:15
2021-05-31T15:02:15
334,424,629
1
0
null
null
null
null
UTF-8
Python
false
false
1,506
py
# Generated by Django 2.1 on 2021-04-13 19:47 from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): initial = True dependencies = [ ] operations = [ migrations.CreateModel( name='Company', fields=[ ...
[ "noreply@github.com" ]
Zhaisan.noreply@github.com