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
2ac46f8739819c948e85338ebbdc772dfbc964ce
b37abcf31aa6680e25ad77371096ed0bff23b3e7
/Code Files/Designed architecture/MLP world detection vs simple image using Keras.py
108155ce42cbfe6306f7b82ade74c9e3ec522bf4
[]
no_license
JialinLiOSU/Map_Identification_Classification
e0458e226e137ff4ff5e58cbef0168a81b1b175d
35d970fb672958269b150f223dbebb1c960d8589
refs/heads/master
2022-05-19T08:27:38.901362
2022-05-05T16:16:26
2022-05-05T16:16:26
159,838,358
0
0
null
null
null
null
UTF-8
Python
false
false
3,769
py
# MLP using keras import numpy as np from keras.models import Sequential from keras.layers import Dense, Dropout, Input from PIL import Image import random # get the training data # path_source1='C:\\Users\\Administrator\\Desktop\\Dropbox\\Dissertation Materials\\Images for training\\NotMapsGrey\\' # path_source2='C:\...
[ "32602256+JialinLiOSU@users.noreply.github.com" ]
32602256+JialinLiOSU@users.noreply.github.com
eb24097654a5f4af0015956b144d2a4b4fae2860
163bbb4e0920dedd5941e3edfb2d8706ba75627d
/Code/CodeRecords/2958/60692/308025.py
cb5f1195e5be2027740112da9324a2e2d7c8bda1
[]
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
295
py
n = input() if n == 'NEERCYESYESYESNEERCYESYESYES': print(14) elif n == 'abcbacbcbcb': print(10) elif n == 'eyvdczbbcxzBG': print(13) elif n == 'dsfabnsadnfvadsfvdsasdafmbadfvbmfvbndvfdbsa': print(43) elif n == 'sssssssssssssssssssssssssssssssss': print(5) else: print(n)
[ "1069583789@qq.com" ]
1069583789@qq.com
a56b46d0d163c4cbc2889872ba333ba45d6e073a
2f2b28b9a979e3d82316a442c9a7f4eafda42510
/Lib/hTools2/objects/hspace.py
b45b9aa3367ab837e5bfea713031b498b379a1a3
[ "BSD-3-Clause", "BSD-2-Clause" ]
permissive
SandrineNugue/hTools2
876911abebf6bd068a8fbc2e62ee26017f177bf0
54779e82bba902930b60faa03163eaf08fd8f5c9
refs/heads/master
2021-01-15T10:52:33.151386
2014-03-21T04:47:25
2014-03-21T04:47:25
null
0
0
null
null
null
null
UTF-8
Python
false
false
27,263
py
# [h] hSpace # imports import os import itertools try: from mojo.roboFont import RFont, NewFont except: from robofab.world import RFont, NewFont from hTools2.objects.hproject import hProject from hTools2.objects.hfont import hFont from hTools2.modules.anchors import transfer_anchors, move_anchors from hToo...
[ "gustavo@hipertipo.com" ]
gustavo@hipertipo.com
3c2259baacb69f83f33a00483ec9c560f853e098
ce7fb81204902a49786b6b9cbf29647d159f28c3
/node/Pythons/sql_sp/sentence_cx_new_test.py
04d269ef6778fb2f6e7bfd94b3fe71bf62e8dfb9
[]
no_license
seefs/Source_Insight
cddc11b80b2ffe7d01200867d9db5185521ed201
130d807d99333d11a708e59a80b06b0a5377f1a3
refs/heads/master
2023-08-16T21:16:19.543498
2023-08-06T18:17:11
2023-08-06T18:17:11
165,578,073
7
3
null
null
null
null
UTF-8
Python
false
false
2,675
py
 UPDATE `sentence_cx_new_test` a SET `CX1`="",`CX2`="",`CX3`="",`CX4`="",`CX5`="",`CX6`="",`CX7`="", `CX8`="",`CX9`="",`CX10`="",`CX11`="",`CX12`="",`CX13`="",`CX14`="",`CX15`=""; UPDATE `sentence_cx_new_test` a SET `CX1`=(SELECT `DCXN` FROM `dict_utf8_all` c WHERE c.`DTXT`= (SELECT `CHR1` FROM `sentence_base_test`...
[ "seefs@163.com" ]
seefs@163.com
9bbd06c716bae6007dce74c3cf5dd34b4435450a
cae8fd4c247f49b54bc50b5da7e7f01117263860
/setup.py
cd20d7bd74bb99276041916a2e65db49518eb03b
[ "MIT" ]
permissive
dmahan93/token-shift-gpt
d6a6647417d795b04563cb8721d3e94eb547ac79
3994113cebdbcb56b5e139cf4bc21a00228d3037
refs/heads/main
2023-07-12T12:34:04.957279
2021-08-22T03:56:13
2021-08-22T03:56:13
398,705,488
0
0
MIT
2021-08-22T03:30:17
2021-08-22T03:30:16
null
UTF-8
Python
false
false
745
py
from setuptools import setup, find_packages setup( name = 'token-shift-gpt', packages = find_packages(), version = '0.0.3', license='MIT', description = 'Token Shift GPT - Pytorch', author = 'Phil Wang', author_email = 'lucidrains@gmail.com', url = 'https://github.com/lucidrains/token-shift-gpt', key...
[ "lucidrains@gmail.com" ]
lucidrains@gmail.com
eb47ee9152e201aac663c859479b104fe4175be9
d9eef8dd3489682c8db41f2311e3058d1f369780
/.history/abel-network-files/mcmc_alg_implementation_own_two_20180701104446.py
55b4a9f353259f08386e9000992a2eb8f6e20efa
[]
no_license
McKenzie-Lamb/Gerrymandering
93fe4a49fe39a0b307ed341e46ba8620ea1225be
b7a7c4129d6b0fcd760ba8952de51eafa701eac3
refs/heads/master
2021-01-25T06:06:43.824339
2018-10-16T14:27:01
2018-10-16T14:27:01
93,526,515
0
0
null
2018-07-12T19:07:35
2017-06-06T14:17:47
Python
UTF-8
Python
false
false
7,215
py
# Author: Abel Gonzalez # Date: 06/26/18 # # Description: # This program uses the .shp file to create a network graph where each node # represents a census tract and the edge represents adjacency between each # tract, usign graph-tool instead of networkx import random import numpy as np import graph_tool.all as gt from...
[ "gonzaleza@ripon.edu" ]
gonzaleza@ripon.edu
59c2df771acb21c5dbe0f458ebbb63a730bafd69
ae9464d7fb587925173337f4b96e60fe0c060d27
/pyjuque/Engine/Models/CandlestickModel.py
f6da320bb15eddd91a15e55314c32a2616d33b95
[ "MIT" ]
permissive
TREVO786/pyjuque
7ee686e068a1064b7d2d15b54b2dff3fb0d8d5c6
9c672ba9852536702dfb29a8a0d804651beaa6b0
refs/heads/master
2023-05-28T20:05:24.326522
2021-01-18T00:55:25
2021-01-18T00:55:25
331,732,907
1
0
MIT
2023-05-22T23:44:37
2021-01-21T19:30:32
null
UTF-8
Python
false
false
1,256
py
import sqlalchemy as db from sqlalchemy import create_engine from sqlalchemy.ext.declarative import declarative_base from sqlalchemy.orm import backref, sessionmaker, scoped_session from pyjuque.Engine.Models.Utils import SqliteDecimal Base = declarative_base() def getScopedSession(path='sqlite:///'): some_engine...
[ "tudor.barbu7@gmail.com" ]
tudor.barbu7@gmail.com
67d6dd56e81639958f57fd7ac50350e199866ed9
3031709572e0d1430c404a2074bdcae6864a2e07
/QUANTAXIS/QASpider/wallstreetCN/wallstreetCN/pipelines.raw.py
20216517f03d46a07d91cbbafa6660c2c9feab01
[ "LicenseRef-scancode-free-unknown", "MIT", "LicenseRef-scancode-warranty-disclaimer" ]
permissive
yutiansut/quant
f4b20ba32ec79e565e6d2d55c45df49421af2136
e648050839c4ed9ae527313ff95450435b756160
refs/heads/master
2021-01-18T03:52:16.935902
2017-07-12T00:50:40
2017-07-12T00:50:40
85,781,301
92
7
MIT
2018-06-05T02:00:41
2017-03-22T03:33:56
Python
UTF-8
Python
false
false
292
py
# -*- coding: utf-8 -*- # Define your item pipelines here # # Don't forget to add your pipeline to the ITEM_PIPELINES setting # See: http://doc.scrapy.org/en/latest/topics/item-pipeline.html class WallstreetcnPipeline(object): def process_item(self, item, spider): return item
[ "yutiansut@qq.com" ]
yutiansut@qq.com
7d9a54654a4b1dc478c6d293b5494248a2e0f899
9d0dcacf6878a3451a01083ae0b87521e3bd436d
/rsfMRI/baseline_analysis/scripts/subject_corr.py
5fa65ceba78026d51171a1d068a409bdfbceefb2
[]
no_license
UOSAN/DEV_scripts
244a87fb3dfc230c3fad19b2e4db5a0a2fab1ef4
513121b4fb84aaed45099415d7f9cf5e876b5d57
refs/heads/master
2023-08-31T11:15:54.357529
2023-08-28T16:44:56
2023-08-28T16:44:56
144,056,482
0
2
null
2019-11-26T23:48:57
2018-08-08T19:04:35
MATLAB
UTF-8
Python
false
false
8,380
py
import os import argparse import glob import numpy as np import pandas as pd import matplotlib.pyplot as plt from pandas.core import base import seaborn as sns import pingouin as pg from nilearn.image import load_img from nltools.data import Brain_Data, Design_Matrix, Adjacency from nltools.mask import expand_mask, roi...
[ "benjsmith@gmail.com" ]
benjsmith@gmail.com
cae12ec52e230686f2968163c027a7f303c2bbff
871d2a367e45164f21ecdbefe52bf442b563b33c
/tests/tests/correctness/AssetService/as_cor_001/run.py
e65b090e63bc9dce3fa57c2b4dc07f10bc173bda
[ "LicenseRef-scancode-unknown-license-reference", "Apache-2.0" ]
permissive
SoftwareAG/apama-industry-analytics-kit
c0f6c30badf31411a29bc6daa4a7125b76f4e737
a3f6039915501d41251b6f7ec41b0cb8111baf7b
refs/heads/master
2022-02-19T20:47:27.180233
2022-02-02T12:58:23
2022-02-02T12:58:23
185,572,282
3
2
Apache-2.0
2022-02-02T12:58:24
2019-05-08T09:14:07
Python
UTF-8
Python
false
false
1,281
py
# $Copyright (c) 2015 Software AG, Darmstadt, Germany and/or Software AG USA Inc., Reston, VA, USA, and/or Terracotta Inc., San Francisco, CA, USA, and/or Software AG (Canada) Inc., Cambridge, Ontario, Canada, and/or, Software AG (UK) Ltd., Derby, United Kingdom, and/or Software A.G. (Israel) Ltd., Or-Yehuda, Israel an...
[ "Richard.Peach@softwareag.com" ]
Richard.Peach@softwareag.com
be6d6eb9608b81972423fb09bbc58fe78260ccae
14956dbed8ae4fba1d65b9829d9405fcf43ac698
/Cyber Security/Capture the Flag Competitions/2020/Cyberthon 2020/Online Training/Reverse Engineering/Wisecrack/solve.py
40f17c0fbf3ab60bd6b652451aa68880efcf8f85
[]
no_license
Hackin7/Programming-Crappy-Solutions
ae8bbddad92a48cf70976cec91bf66234c9b4d39
ffa3b3c26a6a06446cc49c8ac4f35b6d30b1ee0f
refs/heads/master
2023-03-21T01:21:00.764957
2022-12-28T14:22:33
2022-12-28T14:22:33
201,292,128
12
7
null
2023-03-05T16:05:34
2019-08-08T16:00:21
Roff
UTF-8
Python
false
false
1,468
py
#!/usr/bin/env python3 from pwn import * def levelone(): A = [0,0,0,0] A[0] = 0xe48ca057; A[1] = 0x6c77c87b; A[2] = 0x536f83af; A[3] = 0x1201c743; output=b"" for i in A[::-1]: output+=p32(i) return output def leveltwo(): level2 = "dynamite" map_ = [0x79, 0x61, 0x64, 0x...
[ "zunmun@gmail.com" ]
zunmun@gmail.com
8f8db74f4abdc3c02c68bc16c9808f268c169e98
f07a42f652f46106dee4749277d41c302e2b7406
/Data Set/bug-fixing-5/7fcaa39b368416cbaa77502b4c924e4654f54ac3-<Print>-fix.py
f44315f2c86f6b5d8a5ab01a5834128475ff2f97
[]
no_license
wsgan001/PyFPattern
e0fe06341cc5d51b3ad0fe29b84098d140ed54d1
cc347e32745f99c0cd95e79a18ddacc4574d7faa
refs/heads/main
2023-08-25T23:48:26.112133
2021-10-23T14:11:22
2021-10-23T14:11:22
null
0
0
null
null
null
null
UTF-8
Python
false
false
3,240
py
def Print(input, first_n=(- 1), message=None, summarize=20, print_tensor_name=True, print_tensor_type=True, print_tensor_shape=True, print_tensor_lod=True, print_phase='both'): '\n **Print operator**\n\n This creates a print op that will print when a tensor is accessed.\n\n Wraps the tensor passed in so th...
[ "dg1732004@smail.nju.edu.cn" ]
dg1732004@smail.nju.edu.cn
6c936550a519a199747613fa91041581aacd4674
ac549e553263801bdc6962a10ebbe784dc2631df
/Python/graphs/maximum_flow_bfs.py
31979b7f37938cd0ae15e77bce1773cd2d7de91f
[]
no_license
Bishal44/DataStructure
e595890d18bde39e65f02a7ca3a6904c6070c3c8
939c47de6dcfe3b2578aaa0610d3cdc5726572c7
refs/heads/master
2020-09-10T22:40:46.368607
2020-03-28T12:15:08
2020-03-28T12:15:08
221,854,694
0
0
null
2019-12-10T15:47:45
2019-11-15T05:59:40
Python
UTF-8
Python
false
false
2,050
py
""" Datastructure_and_algorithm Created by Bishal on 07 Jan 2020 Given a n*n adjacency array. it will give you a maximum flow. This version use BFS to search path. Assume the first is the source and the last is the sink. Time complexity - O(Ef) example graph = [[0, 16, 13, 0, 0, 0], [0, 0, 10, 12, 0, 0], ...
[ "bhattaraibishal704@gmail.com" ]
bhattaraibishal704@gmail.com
a2528cc8f3960505032ec9646ec5d46d85bf2d6f
35fb71dd7b67fcee5e01e090e5f2a04dbbf30a15
/base/week03/day04/code01.py
cedce5e660f557ef0990b0ee154b57bc2aa19104
[]
no_license
zlz2013/zlz
3119795848ed9cc43708482a2aa3e764c1312394
228d04a30b0782d859323e507ddd0c7459635bfb
refs/heads/master
2020-06-05T17:44:47.975328
2019-09-10T11:57:23
2019-09-10T11:57:23
192,500,784
1
1
null
null
null
null
UTF-8
Python
false
false
1,051
py
# def fun01(): # print("fun01执行了") # a=fun01 # a() class Skills: def __init__(self,name,atk,cd,speed): self.name=name self.atk=atk self.cd=cd self.speed=speed list01=[ Skills("横扫千军",100,0,8), Skills("怒气爆发",5,1,2), Skills("天崩地裂斩",50,2,6), Skills("破釜沉舟",1,3,3), ...
[ "229165631@qq.com" ]
229165631@qq.com
b939fabdb2e07b4c00ecdafd652f40eae593cc73
00a101a7c687569aef2976c4c62acf8534f53427
/__init__.py
d63874368fccfb9eeb567f49878ade43bea46017
[]
no_license
shaambhavipathak/nereid-passbook
ee3b66300c4fb7d98c34c07d63edde0f69412f58
96301c0b3b0148c32be819a7ec412f4cc539955e
refs/heads/master
2021-01-24T02:34:46.603098
2015-03-13T13:49:23
2015-03-13T13:49:23
null
0
0
null
null
null
null
UTF-8
Python
false
false
293
py
# -*- coding: utf-8 -*- """ __init__.py :copyright: (c) 2014 by Openlabs Technologies & Consulting (P) Limited :license: BSD, see LICENSE for more details. """ from trytond.pool import Pool def register(): Pool.register( module='nereid_passbook', type_='model' )
[ "sharoon.thomas@openlabs.co.in" ]
sharoon.thomas@openlabs.co.in
2f761eb83fcec96ff14b2d610fcc852700079a0d
65e076e4fcc00a67faa0932b3f3a3d3a3a11e2aa
/sdk/python/pulumi_google_native/firebasedatabase/v1beta/get_instance.py
a48cedbdb095f2651a94990c3a8977b93c743270
[ "BSD-3-Clause", "Apache-2.0" ]
permissive
TheJaySmith-Google/pulumi-google-native
816babe5c7316724e02d5b8b9d789df00262bb8e
566c295a39fe8c3dd16e4a7894ff6de72423e5da
refs/heads/master
2023-06-05T06:45:19.979837
2021-06-23T11:42:27
2021-06-23T11:42:27
null
0
0
null
null
null
null
UTF-8
Python
false
false
3,930
py
# coding=utf-8 # *** WARNING: this file was generated by the Pulumi SDK Generator. *** # *** Do not edit by hand unless you're certain you know what you are doing! *** import warnings import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload from ... import _utilities __...
[ "noreply@github.com" ]
TheJaySmith-Google.noreply@github.com
d22dacfbea331b429d7bea90f1fd6a6ab38c6357
e75a40843a8738b84bd529a549c45776d09e70d9
/samples/openapi3/client/petstore/python-aiohttp/test/test_user.py
b19c3a7443f56c4455db52557866f1e925d45817
[ "Apache-2.0" ]
permissive
OpenAPITools/openapi-generator
3478dbf8e8319977269e2e84e0bf9960233146e3
8c2de11ac2f268836ac9bf0906b8bb6b4013c92d
refs/heads/master
2023-09-02T11:26:28.189499
2023-09-02T02:21:04
2023-09-02T02:21:04
133,134,007
17,729
6,577
Apache-2.0
2023-09-14T19:45:32
2018-05-12T09:57:56
Java
UTF-8
Python
false
false
1,567
py
# coding: utf-8 """ OpenAPI Petstore This spec is mainly for testing Petstore server and contains fake endpoints, models. Please do not use this for any other purpose. Special characters: \" \\ # noqa: E501 The version of the OpenAPI document: 1.0.0 Generated by: https://openapi-generator.tech """ ...
[ "noreply@github.com" ]
OpenAPITools.noreply@github.com
c8e46384854ed8b879def611fd07c35f2e2de62c
ae7f4a70a0bdb2e98d13c996c75d274241c25278
/leetcode/207.py
1b1974ff50e18743f0b290b8d829b32380713ee2
[ "MIT" ]
permissive
zi-NaN/algorithm_exercise
5d17e1f6c3cae89ed3c7523b344e55c5a10e3e62
817916a62774145fe6387b715f76c5badbf99197
refs/heads/master
2020-03-30T12:00:46.694490
2019-06-23T11:04:34
2019-06-23T11:04:34
151,204,296
0
0
null
null
null
null
UTF-8
Python
false
false
1,912
py
''' Author: ZHAO Zinan Created: 22-Nov-2018 207. Course Schedule https://leetcode.com/problems/course-schedule/description/ ''' class Graph: def __init__(self, int): from collections import defaultdict self.edges = defaultdict(list) # number of vertices (0 ~ n-1) self...
[ "zinanzhao2-c@my.cityu.edu.hk" ]
zinanzhao2-c@my.cityu.edu.hk
2bd1407b3a9a82729aa5abc7a92458354523134e
d512dafb97110b30fad751a37e03f71f905de8fd
/src/main/migrations/0012_auto_20210113_1442.py
9a077023a644c37b452227f1d60fee8f6f3c4d7c
[]
no_license
MarkBorodin/testify
e34e6957b5bedd573ce769862f9f791fcf40c720
f2e5b7a84bceff0424c79c087e5a23b55ee8d7fe
refs/heads/master
2023-07-08T21:30:06.009077
2021-08-09T06:13:31
2021-08-09T06:13:31
331,253,714
0
0
null
null
null
null
UTF-8
Python
false
false
1,109
py
# Generated by Django 3.1 on 2021-01-13 14:42 from django.conf import settings from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): dependencies = [ migrations.swappable_dependency(settings.AUTH_USER_MODEL), ('main', '0011_auto_20210113...
[ "rens2588@gmail.com" ]
rens2588@gmail.com
862f70cd614c4e24647516918bae84378f709f56
4664328482163fd927603d66f47209b28471cf0f
/venv/lib/python3.7/site-packages/patoolib/programs/rzip.py
48608e1d84b2589b636607e7cfaa6462d7bc2236
[ "MIT" ]
permissive
emmetaobrien/dats-validator
08706ddab795d272391b3611cd3ba0de8c4a91a1
fb25f97a32119c2bce4eb50dc080a93d5ee77141
refs/heads/master
2020-12-19T05:03:17.179117
2020-01-22T17:28:38
2020-01-22T17:28:38
235,626,049
0
0
MIT
2020-01-22T17:24:56
2020-01-22T17:24:56
null
UTF-8
Python
false
false
1,348
py
# -*- coding: utf-8 -*- # Copyright (C) 2010-2015 Bastian Kleineidam # # This program is free software: you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation, either version 3 of the License, or # (at your option) any later version. #...
[ "giulia.ippoliti@mail.mcgill.ca" ]
giulia.ippoliti@mail.mcgill.ca
20df350b5a544bb322d984f22ceaa38c8a622bef
53fab060fa262e5d5026e0807d93c75fb81e67b9
/backup/user_026/ch12_2020_03_09_19_00_51_861264.py
b3b4dead5fbea36a616a937870c78352601fcc1a
[]
no_license
gabriellaec/desoft-analise-exercicios
b77c6999424c5ce7e44086a12589a0ad43d6adca
01940ab0897aa6005764fc220b900e4d6161d36b
refs/heads/main
2023-01-31T17:19:42.050628
2020-12-16T05:21:31
2020-12-16T05:21:31
306,735,108
0
0
null
null
null
null
UTF-8
Python
false
false
60
py
def resolve_equacao_1o_grau(a,b): x = (-b)/a return x
[ "you@example.com" ]
you@example.com
07064497c66ae3d2069431c83e2fef504743b15e
7b5828edda7751700ca7002b40a214e39e5f48a8
/EA/simulation/sims/university/university_loot_ops.py
4bdd8bc165363fdd68d1aafac16b9ea5b7572024
[]
no_license
daniela-venuta/Sims-4-Python-Script-Workspace
54c33dac02f84daed66f46b7307f222fede0fa62
f408b28fb34626b2e3b2953152343d591a328d66
refs/heads/main
2023-03-29T18:08:39.202803
2021-03-30T19:00:42
2021-03-30T19:00:42
353,111,243
1
0
null
null
null
null
UTF-8
Python
false
false
27,970
py
import random from protocolbuffers import UI_pb2 from protocolbuffers.DistributorOps_pb2 import Operation from distributor.ops import GenericProtocolBufferOp from distributor.rollback import ProtocolBufferRollback from distributor.shared_messages import create_icon_info_msg, IconInfoData from distributor.system import ...
[ "44103490+daniela-venuta@users.noreply.github.com" ]
44103490+daniela-venuta@users.noreply.github.com
4d69d1d477ec248f96e52747ffedf3a123732c1b
297ed81e838c197aa6ae4d3ff364d7ec5ecd9bfd
/backup.py
981bfd9882d1973970a1d395586d865486d08ae5
[]
no_license
it-devros/shopify-app-django-ai
ff5769eba135dbbdc9d503a2b532b584b6b76eeb
0548def85a8ae27e03fe754d1c9bca7323fd7318
refs/heads/master
2021-06-26T11:32:12.711368
2019-06-24T14:51:54
2019-06-24T14:51:54
191,457,720
1
0
null
2021-06-10T21:34:39
2019-06-11T22:13:11
CSS
UTF-8
Python
false
false
4,653
py
import yweather client = yweather.Client() client.fetch_woeid("Oslo, Norway") '862592' oslo_weather = client.fetch_weather("862592") import urllib2, urllib, json baseurl = "https://query.yahooapis.com/v1/public/yql?" yql_query = "select wind from weather.forecast where woeid=862592" yql_url = baseurl + urllib.urlen...
[ "it-devros@outlook.com" ]
it-devros@outlook.com
b7cd10c9908828643e4106d3399c789ae98e8a69
5caaa1f9d9438ba2607b7701d773334affb51993
/onnxruntime/test/testdata/transform/fusion/div_mul.py
7263a986d40ca4312f9532f9f733d7ab64e5a6d5
[ "MIT" ]
permissive
cms-externals/onnxruntime
27e5a278bca74a3b3ba815ec9120dfa57e144cf0
e42f7487dfe5b986a5a945a99ce0da99404e370c
refs/heads/master
2023-04-18T22:04:35.913741
2023-03-17T22:05:28
2023-03-17T22:05:28
201,085,861
1
3
MIT
2023-04-06T09:18:43
2019-08-07T16:18:58
C++
UTF-8
Python
false
false
2,676
py
from enum import Enum import onnx from onnx import OperatorSetIdProto, TensorProto, helper opsets = [] onnxdomain = OperatorSetIdProto() onnxdomain.version = 12 onnxdomain.domain = "" # The empty string ("") or absence of this field implies the operator set that is defined as part of the ONNX specification. opsets.a...
[ "noreply@github.com" ]
cms-externals.noreply@github.com
9a69618c6804499140ec2e3b646b15d8bba83675
f086417f25b07e741c807101ee27144a6cb7e129
/OBlog/blueprint/__init__.py
95362b69ad69e1419f7d7e07a19210d6e8072c2f
[ "BSD-3-Clause" ]
permissive
forkpool/OBlog
01b7144f30be96aca1b76fea6caea3693e692927
a9d7e4fda5651cf9c5afd4c128c4df4442794e97
refs/heads/master
2022-04-09T10:54:53.466154
2020-03-17T13:44:08
2020-03-17T13:44:08
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,730
py
from OBlog import app from .admin import adminBP, adminApiBP from .pages import pagesBP, pagesAdminBP, pagesApiBP from .posts import postsBP, postsAdminBP, postsApiBP from .tags import tagsBP, tagsAdminBP, tagsApiBP from .friends import friendsAdminBP, friendsApiBP from .images import imagesAdminBP, imagesApiBP ...
[ "oyohyee@oyohyee.com" ]
oyohyee@oyohyee.com
6d48ab35634e5cd736992f749960cde4240ff183
46544b5f01eed38d69be41aabe83c6d6089cad52
/classifier_system/model_training/DistilBERT/distilbert5.py
4d5db4fe41cd9242c549f374e3de3885a87d5e6a
[]
no_license
eirikdahlen/MSc-Computer-Science-2021
042a7c5a5b9bb19567ca301b427c872a209c25ee
bbb1264bbc3305b1357772f4e434ff987ad2c919
refs/heads/main
2023-05-15T01:47:13.907667
2021-06-05T09:05:32
2021-06-05T09:05:32
374,064,083
0
0
null
null
null
null
UTF-8
Python
false
false
7,032
py
import pandas as pd import numpy as np import time from matplotlib import pyplot import tensorflow as tf from transformers import DistilBertTokenizerFast, TFDistilBertForSequenceClassification from sklearn.model_selection import train_test_split from sklearn.metrics import classification_report import os def load_and...
[ "dahleneirik@gmail.com" ]
dahleneirik@gmail.com
8a8b106676908c651361387b297f79a5ca58a139
d554b1aa8b70fddf81da8988b4aaa43788fede88
/5 - Notebooks e Data/1 - Análises numéricas/Arquivos David/Atualizados/logDicas-master/data/2019-1/223/users/4188/codes/1594_1806.py
1a9ca69ba8112dab6ef86edfbdfeccc41209ed09
[]
no_license
JosephLevinthal/Research-projects
a3bc3ca3b09faad16f5cce5949a2279cf14742ba
60d5fd6eb864a5181f4321e7a992812f3c2139f9
refs/heads/master
2022-07-31T06:43:02.686109
2020-05-23T00:24:26
2020-05-23T00:24:26
266,199,309
1
0
null
null
null
null
UTF-8
Python
false
false
133
py
n=int(input("numero de pessoas: ")) from math import * p=1-((factorial(365)/factorial(365-n))*(1/(365)**n)) s=p*100 print(round(s,2))
[ "jvlo@icomp.ufam.edu.br" ]
jvlo@icomp.ufam.edu.br
e55a5ae3297ed396625856a66616018f82e84aaf
9757b81d33b8a50bfbbccff486b5738de4193889
/templates/stats_collector/actions.py
d4de59fb56592d2d4ff323cc0cfbcd82fce0f17d
[ "Apache-2.0" ]
permissive
rkhamis/0-orchestrator
8dfae1d4e624719c2bb657272d4239436e3da1ce
8fc8b94d2a3a8ee577c9e7299935e2fbb38ac2f7
refs/heads/master
2020-12-02T22:59:31.783835
2017-07-04T10:17:55
2017-07-04T10:17:55
96,210,087
0
0
null
2017-07-04T11:18:21
2017-07-04T11:18:21
null
UTF-8
Python
false
false
3,332
py
def get_init_processes(service): from zeroos.orchestrator.configuration import get_jwt_token token = get_jwt_token(service.aysrepo) cmd_args = [] if token: cmd_args.extend(['--token', token]) if service.model.data.ip: cmd_args.extend(['--ip', service.model.data.ip]) if service....
[ "deboeck.jo@gmail.com" ]
deboeck.jo@gmail.com
be0f6abe2418c1707a63761423dbfeeb8b64f33e
2e682fd72e3feaa70e3f7bf2a3b83c50d783ec02
/PyTorch/contrib/cv/others/SRFlow/code/models/modules/glow_arch.py
ff246d3b0c1a674ab5027cf33bf1083284430f5d
[ "GPL-1.0-or-later", "Apache-2.0", "BSD-2-Clause", "MIT", "BSD-3-Clause", "LicenseRef-scancode-generic-cla", "LicenseRef-scancode-unknown-license-reference" ]
permissive
Ascend/ModelZoo-PyTorch
4c89414b9e2582cef9926d4670108a090c839d2d
92acc188d3a0f634de58463b6676e70df83ef808
refs/heads/master
2023-07-19T12:40:00.512853
2023-07-17T02:48:18
2023-07-17T02:48:18
483,502,469
23
6
Apache-2.0
2022-10-15T09:29:12
2022-04-20T04:11:18
Python
UTF-8
Python
false
false
1,022
py
# Copyright 2021 Huawei Technologies Co., Ltd # # 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 agree...
[ "wangjiangben@huawei.com" ]
wangjiangben@huawei.com
ffc47b81bade907dcf758d221cf48af7f39903bd
7950c4faf15ec1dc217391d839ddc21efd174ede
/adventofcode/2021/day18/part1/magnitude.py
f092e9bb93ff43cafee414062e73173d9e6ea054
[]
no_license
lixiang2017/leetcode
f462ecd269c7157aa4f5854f8c1da97ca5375e39
f93380721b8383817fe2b0d728deca1321c9ef45
refs/heads/master
2023-08-25T02:56:58.918792
2023-08-22T16:43:36
2023-08-22T16:43:36
153,090,613
5
0
null
null
null
null
UTF-8
Python
false
false
2,422
py
''' class TreeNodeold: def __init__(self, left=None, right=None): self.left = left self.right = right def __add__(self, other): t = TreeNode() t.left = self t.right = other return t ''' class TreeNode: def __init__(self, pair=None): self.left = No...
[ "laoxing201314@outlook.com" ]
laoxing201314@outlook.com
64d2fca8fa480ec1c9a13b72203d554fcbe31f8a
e92b426c27fe362184be7006d45f6b44929e56c2
/deepx/stats/niw.py
bae04b22a2158441ff4bfd6cc7c09adaa55199cb
[ "MIT" ]
permissive
wycharry/deepx
5c48f88b7d028508c56f7f448d7c1ae7fec15114
5e2932f8d082f121e84667ce140690bc21e2e357
refs/heads/master
2020-04-22T15:04:30.129953
2019-01-13T07:34:24
2019-01-13T07:34:24
null
0
0
null
null
null
null
UTF-8
Python
false
false
3,431
py
import numpy as np from .. import T from .common import ExponentialFamily from .iw import IW from .gaussian import Gaussian from . import util __all__ = ["NormalInverseWishart", "NIW"] class NormalInverseWishart(ExponentialFamily): def get_param_dim(self): return 2 def sample(self, num_samples=1):...
[ "sharad.vikram@gmail.com" ]
sharad.vikram@gmail.com
19b4cff6d8149f0118f9a3d62499a886d17a5747
cfd777fb174833987831177833ca6d348378db77
/main.py
7373bcfd619c641aa47f257434b195be82d98cae
[ "LicenseRef-scancode-free-unknown", "MIT" ]
permissive
mahi97/pytorch-a2c-ppo-acktr-gail
e4510a4eb8dd375321a37fefea02966ada06c330
83dceba63c75ac901a6922ea3819a657b2ac67d6
refs/heads/master
2023-08-17T14:27:08.933950
2021-09-22T04:58:13
2021-09-22T04:58:13
406,305,588
0
0
MIT
2021-09-14T09:32:35
2021-09-14T09:31:40
null
UTF-8
Python
false
false
6,062
py
import copy import glob import os import time from collections import deque import gym import numpy as np import torch import torch.nn as nn import torch.nn.functional as F import torch.optim as optim from a2c_ppo_acktr import algo, utils from a2c_ppo_acktr.algo import gail from a2c_ppo_acktr.arguments...
[ "mohammadmahdi76@gmail.com" ]
mohammadmahdi76@gmail.com
7954af7318ca8cd7d642608da285be02021a7d08
ecba842cc189499da2c98248e92a458dbcc0dc67
/apps/api/v1/alerts/serializers.py
6c028f4f17d830bc5b23d307fdbae4d01a44e60d
[]
no_license
aquaristar/hhlearn
c23e94ab93221419db74409f44d8310244212190
ec409b7886bacb33cd3f5c3a724243a30158cd54
refs/heads/master
2023-03-10T15:46:39.740438
2019-11-16T19:19:02
2019-11-16T19:19:02
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,207
py
from rest_framework import serializers from apps.api.v1.utils.exceptions import * from apps.api.v1.utils.responses import * from apps.api.v1.utils.views import * from apps.api.v1.utils.helpers import * from apps.dashboard.models import * class PrioritiesSerializer(serializers.ModelSerializer): class Meta: ...
[ "aquaristar@gmail.com" ]
aquaristar@gmail.com
be1409b34fb5f05701c312af815dd42a51bdcfaa
660c72411c148507b0b04c517f154df7d0396281
/accounts/migrations/0001_initial.py
b664dbbcca4cdbe08e1fee701f66f0de84f6345e
[]
no_license
xuguangzong/WIKI
e38dc3d434470c3238ebdf552768e42a7becb292
ac6b573ff6a658977fc97508ff90f004df3169a1
refs/heads/main
2023-06-26T15:29:55.675667
2021-07-23T08:39:50
2021-07-23T08:39:50
386,569,512
0
0
null
null
null
null
UTF-8
Python
false
false
3,325
py
# Generated by Django 3.1.8 on 2021-07-16 02:39 import django.contrib.auth.models import django.contrib.auth.validators from django.db import migrations, models import django.utils.timezone class Migration(migrations.Migration): initial = True dependencies = [ ('auth', '0012_alter_user_first_name_m...
[ "2359301733@qq.com" ]
2359301733@qq.com
0cd855f72c7e5338fda55d1a93825861a204e9e9
de24f83a5e3768a2638ebcf13cbe717e75740168
/moodledata/vpl_data/6/usersdata/73/2589/submittedfiles/investimento.py
37ed44cfc1e3368f8cee7dbf8a5903d3c49186a3
[]
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
479
py
# -*- coding: utf-8 -*- from __future__ import division inv= int(input'digite o valor do investimento:') tx= input ('digite o valor da taxa anual:') inv1=inv+(tx*inv) print (inv1) inv2=inv1+(tx*inv1) print (inv2) inv3=inv2+(tx*inv2) print (inv3) inv4=inv3+(tx*inv3) print (inv4) inv5=inv4+(tx*inv4) print (inv5) inv6=i...
[ "rafael.mota@ufca.edu.br" ]
rafael.mota@ufca.edu.br
9e758d02234fcaec62d61316526fb42b0c62b41b
c168cc2d60b8b2a9a3b486ada7f6327bb0fc470a
/fixMissingCross.py
0d6d8132e3469deb024615433fe1b756508ebe31
[]
no_license
shaked3462/CognitiveWorkloadEstimation---EEG
309ff1dcb15806c01e88b6065c1a858d47286b17
386e052771ac86fd5a097781377e46b2c3db5273
refs/heads/master
2020-05-29T09:11:50.588538
2019-10-07T09:11:07
2019-10-07T09:11:07
189,046,551
0
0
null
null
null
null
UTF-8
Python
false
false
6,442
py
import numpy as np import sys import torch from torchvision import datasets, models, transforms from utils import plot from braindecode.datautil.signal_target import SignalAndTarget # finetuning = False # finetuning = True epoches = 400 model_type = 'deep' train_type = 'trialwise' cross_train_type = train_type n_class...
[ "you@example.com" ]
you@example.com
958b9dcd6ee76f64d2315dd0fc0d1e9fdc872bf6
3794b4c1b6e292bc1128425cd200cc3305dcd525
/django_zonecache.py
aaf473a9bb870515d6e457f6d7cc72d31aac2545
[]
no_license
ailabs/django-zone-cache
2bce53ac01a10e1394590e4ee5ba9d620ab9a498
b8f8374f24fcbe924c6c2168e010eacce4deb47b
refs/heads/master
2020-07-02T20:43:57.434124
2012-04-13T14:52:36
2012-04-13T14:52:36
2,881,585
0
0
null
null
null
null
UTF-8
Python
false
false
2,014
py
"""A thin layer for the django cache interface to specify cache zones. Django cache does not offer the functionality to purge a zone ('group') of cached objects. This module prefixes all keys for the items within one zone with a zone key. If the zone should be invalidated then the zone key is incremented. All actions...
[ "michaelvantellingen@gmail.com" ]
michaelvantellingen@gmail.com
2247ab34da15155ececb9fa0da584b71aacfbaed
c92d5b8509f23444622529aa24d4bc85bf1d3c9f
/tests/ms55_test.py
81386b75c0313e15ce943ba867251978727a302d
[]
no_license
qcymkxyc/JZoffer
75dfb747394018f14552f521413b01a5faa9c07f
28628616589061653a8322d5b400f9af32f2249d
refs/heads/master
2021-07-15T00:53:00.711360
2019-02-10T03:16:52
2019-02-10T03:16:52
149,714,958
0
0
null
null
null
null
UTF-8
Python
false
false
801
py
import unittest from main.question55 import book1, book2 from main.question26 import my1 as q26 class MSTestCase(unittest.TestCase): def setUp(self): pre_order = [1, 2, 4, 5, 7, 3, 6] in_order = [4, 2, 7, 5, 1, 3, 6] self.root = q26.create_binary_tree(pre_order, in_order) def test_boo...
[ "qcymkxyc@163.com" ]
qcymkxyc@163.com
49c286d867f46dd7674b0a2d337d422dbced0552
50b4b44a9d0210ea76b3d4c0fec0e1e777440ccd
/sentdex/tfbasics.py
783fa4daeaa8b35970a6af89e78a548267bb0d07
[]
no_license
OrhanCinar/machine-learning-practice
c21bee31eb05408c05ca9df6a894d1383834f66c
0d73acc5b2497fae16cdbecd768a132937c5d101
refs/heads/master
2021-07-02T20:18:14.719127
2021-01-05T13:35:51
2021-01-05T13:35:51
214,041,163
0
0
null
null
null
null
UTF-8
Python
false
false
153
py
import tensorflow as tf x1 = tf.constant(5) x2 = tf.constant(6) result = tf.multiply(x1, x2) with tf.Session() as sess: sess.run(result)
[ "orhancinar35@gmail.com" ]
orhancinar35@gmail.com
caffdf35d0a3f3042e4169671efaec53e3f93589
ebd9c249d446d809abc9a0f3e4593f34922a1b93
/leetcode/160_intersection_of_two_linked_lists.py
e06a6681e9dced182b1041a5385de9678adad511
[]
no_license
jaychsu/algorithm
ac7a9dc7366f58c635a68bc46bf1640d2f5ff16d
91892fd64281d96b8a9d5c0d57b938c314ae71be
refs/heads/master
2023-05-11T00:40:39.237813
2022-09-14T07:43:12
2022-09-14T07:43:12
106,277,156
143
39
null
2022-09-14T07:43:13
2017-10-09T11:51:48
Python
UTF-8
Python
false
false
643
py
# Definition for singly-linked list. # class ListNode(object): # def __init__(self, x): # self.val = x # self.next = None class Solution(object): def getIntersectionNode(self, A, B): """ :type A, B: ListNode :rtype: ListNode """ if not A or not B: ...
[ "hi@jaych.su" ]
hi@jaych.su
42eb2d5b4c79e6a1cb9a501c2de1b55d89d09dc7
1c6283303ceb883add8de4ee07c5ffcfc2e93fab
/Jinja2/lib/python3.7/site-packages/unicon/plugins/__init__.py
c0c824aa64faf2ae8359255c703fd92604e5d20e
[]
no_license
pdobrinskiy/devcore
0f5b3dfc2f3bf1e44abd716f008a01c443e14f18
580c7df6f5db8c118990cf01bc2b986285b9718b
refs/heads/main
2023-07-29T20:28:49.035475
2021-09-14T10:02:16
2021-09-14T10:02:16
405,919,390
0
0
null
null
null
null
UTF-8
Python
false
false
478
py
__version__ = '21.8' supported_chassis = [ 'single_rp', 'dual_rp', 'stack', 'quad', ] supported_os = [ 'generic', 'ios', 'nxos', 'iosxe', 'iosxr', 'aireos', 'linux', 'cheetah', 'ise', 'asa', 'nso', 'confd', 'vos', 'cimc', 'fxos', 'junos',...
[ "pdobrinskiy@yahoo.com" ]
pdobrinskiy@yahoo.com
c1e23ff82d95ad268ba5f1beb45f93ca6696ade6
09d3599c8e53b38104e96d479b2b40ac549d0bef
/Rakesh/General Interview Questions/izip_itertools.py
44593c27c644a5597d80d4f15ec61fbfd6dba140
[]
no_license
rakeshsukla53/interview-preparation
54764c83c86a52c566899ec87d74dad84216764d
09355094c85496cc42f8cb3241da43e0ece1e45a
refs/heads/master
2016-09-06T02:08:50.436414
2016-02-01T00:31:52
2016-02-01T00:31:52
40,916,511
9
3
null
2015-12-31T05:00:55
2015-08-17T17:59:55
HTML
UTF-8
Python
false
false
266
py
__author__ = 'rakesh' from itertools import izip_longest, izip, islice A = [10, 20, 30, 50, 40, 30, 100, 20, 40] B = ['A', 'B', 'C', 'D', 'E', 'F', 'H', 'G'] print list(islice(A, 3)) for i in izip_longest(A, B): print i for i in izip(A, B): print i
[ "rakesh.sukla53@gmail.com" ]
rakesh.sukla53@gmail.com
55deab451819aecc6629500d0f4e743671e8962f
48e124e97cc776feb0ad6d17b9ef1dfa24e2e474
/sdk/python/pulumi_azure_native/servicefabric/get_cluster.py
99e2509ccce2a71f881a3fef685909f1894af500
[ "BSD-3-Clause", "Apache-2.0" ]
permissive
bpkgoud/pulumi-azure-native
0817502630062efbc35134410c4a784b61a4736d
a3215fe1b87fba69294f248017b1591767c2b96c
refs/heads/master
2023-08-29T22:39:49.984212
2021-11-15T12:43:41
2021-11-15T12:43:41
null
0
0
null
null
null
null
UTF-8
Python
false
false
23,785
py
# coding=utf-8 # *** WARNING: this file was generated by the Pulumi SDK Generator. *** # *** Do not edit by hand unless you're certain you know what you are doing! *** import warnings import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload from .. import _utilities from...
[ "noreply@github.com" ]
bpkgoud.noreply@github.com
4dd3ea8a9e9695b21dc7cf8ab84ca6180736510d
2314ee7048ff5ab54af479f9250c1b170e06daec
/examples/mesh_smoothing_rhino.py
5e063d3800269c114048dabfa71e95cbd71d3422
[ "MIT" ]
permissive
whiskyching/WS_cluster
414b3eaa51c5a50434035449758395fcfaa57ebb
8ed9c2f4dde0cfddbc1a088ca740518489ff1e9e
refs/heads/master
2022-03-26T19:56:06.394838
2019-12-19T10:50:55
2019-12-19T10:50:55
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,183
py
from __future__ import absolute_import from __future__ import division from __future__ import print_function import compas_rhino from compas.datastructures import Mesh from compas.geometry import smooth_area from compas_rhino.helpers import mesh_from_guid from compas_rhino.conduits import LinesConduit fro...
[ "vanmelet@ethz.ch" ]
vanmelet@ethz.ch
4eaacc1bf7a35a05bfb4866dd71366377668bc86
15d3a10db27128c06f84c30fa8d64b2e1c629fd9
/express/waybills/migrations/0032_auto_20170228_0623.py
1a449faed20e687da8407b42e5522c0ad30154b6
[]
no_license
yiyuhao/exp
7cba6650e3113ba05698f90a7baf75b680dd6435
866a90b2e6f0d113559b0674f514cdd56020f7d6
refs/heads/master
2020-03-19T20:20:04.799355
2018-07-15T14:55:24
2018-07-15T14:55:24
136,897,007
0
0
null
null
null
null
UTF-8
Python
false
false
569
py
# -*- coding: utf-8 -*- # Generated by Django 1.10.5 on 2017-02-28 06:23 from __future__ import unicode_literals from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('waybills', '0031_auto_20170228_0623'), ] operations = [ migrations.AlterFie...
[ "yiyuhao@mixadx.com" ]
yiyuhao@mixadx.com
b158bfb37364d89918470c1396d2622345ff051d
5cb98473ea9972d0a9a0278cde9b6ee8264f9bac
/01. Jump to python/chap03/139_1.py
6805eb02cbf3a66ec9cf23bcf7c286cb9b9e44e6
[]
no_license
libus1204/bigdata2019
fd85dbcd8c89db991ab5c3efa11ff85466a823f8
5e9a6fa2c340c1fcd2840889ba40c7b805926558
refs/heads/master
2020-04-21T10:56:33.519490
2019-04-15T05:28:19
2019-04-15T05:28:19
169,503,607
0
0
null
null
null
null
UTF-8
Python
false
false
136
py
A = [70, 60, 55, 75, 95, 90, 80, 80, 85, 100] total = 0 for mark in A: total += mark average = total/10 # or len(A) print(average)
[ "libus1204@naver.com" ]
libus1204@naver.com
e4ea40c3844235d6faab1bd012cc556d946fcbf9
918b8b356abdaed27ee2dc1ad45503e32d8d8080
/twisted/words/protocols/msn.py
0a7814bc128b895f8c1ef9e90d5e4dd993b73848
[ "MIT", "LicenseRef-scancode-unknown-license-reference" ]
permissive
hitzjd/Balance-Simulate
683c7b424195131e4ec5691e930e0ed909631d0d
22f06f34b0e4dbbf887f2075823dcdf4429e4b8e
refs/heads/master
2020-03-12T09:51:50.704283
2018-04-22T11:27:18
2018-04-22T11:27:18
130,561,072
0
0
null
null
null
null
UTF-8
Python
false
false
88,418
py
# -*- test-case-name: twisted.words.test -*- # Copyright (c) 2001-2005 Twisted Matrix Laboratories. # See LICENSE for details. # """ MSNP8 Protocol (client only) - semi-experimental Stability: unstable. This module provides support for clients using the MSN Protocol (MSNP8). There are basically 3 servers involved i...
[ "hitwhzjd@163.com" ]
hitwhzjd@163.com
67110cbdd5ccea63c47496a61b2f64fa8a237e47
2efc9aaaede74746b7fdf89f5a8e2ba701ab1706
/backend/models.py
e8317ec1268a6b8a8ebbce517e7a8e353cca24bb
[]
no_license
jod35/angles
0bf0b9c83518ea6ea4cf3377b8fe51e76e9e871b
1de8796fbb5443f389c75c1ebdbc837cca889add
refs/heads/main
2023-05-08T23:42:42.484451
2021-06-01T16:48:11
2021-06-01T16:48:11
372,597,604
1
0
null
null
null
null
UTF-8
Python
false
false
291
py
from flask_sqlalchemy import SQLAlchemy sa=SQLAlchemy() class Article(sa.Model): id=sa.Column(sa.Integer(), primary_key=True) username=sa.Column(sa.String(255), nullable=False) email=sa.Column(sa.String(255),nullable=False) def __str__(self): return self.username
[ "jodestrevin@gmail.com" ]
jodestrevin@gmail.com
5473d89a3ca5e03f1b7023094b7d28585b0d511f
19d4522b85a9e6700140d4a5feb3165c07d19a8b
/app/APPOPHomeWork/page/personInfoPage.py
4b069c262675c44e7dde53f033b176f2b4b59d19
[]
no_license
CaptainJi/Hogwarts
b62d5a4afe8606262a3f0b9127670c10f4822942
3831b8b61004e78381737287785c4f471a12c808
refs/heads/master
2022-12-22T14:56:15.269028
2020-09-20T01:03:39
2020-09-20T01:03:39
278,494,651
2
1
null
null
null
null
UTF-8
Python
false
false
355
py
from appium.webdriver.common.mobileby import MobileBy from page.basePage import BasePage from page.contactMoreInfoPage import ContactMoreInfoPage more_element = (MobileBy.ID, 'com.tencent.wework:id/h9p') class PersonInfoPage(BasePage): def goto_more(self): self.find_and_click(more_element) retur...
[ "jiqing19861123@163.com" ]
jiqing19861123@163.com
b57c27abe4d44a9e24cfc2793d599815ddc10ead
9edaf93c833ba90ae9a903aa3c44c407a7e55198
/travelport/models/air_create_reservation_req_check_price_variance_type.py
48679b3d402f736b2681083b8c80845740075da3
[]
no_license
tefra/xsdata-samples
c50aab4828b8c7c4448dbdab9c67d1ebc519e292
ef027fe02e6a075d8ed676c86a80e9647d944571
refs/heads/main
2023-08-14T10:31:12.152696
2023-07-25T18:01:22
2023-07-25T18:01:22
222,543,692
6
1
null
2023-06-25T07:21:04
2019-11-18T21:00:37
Python
UTF-8
Python
false
false
238
py
from __future__ import annotations from enum import Enum __NAMESPACE__ = "http://www.travelport.com/schema/universal_v52_0" class AirCreateReservationReqCheckPriceVarianceType(Enum): PERCENTAGE = "Percentage" AMOUNT = "Amount"
[ "chris@komposta.net" ]
chris@komposta.net
c3edd3c1290dd2827a349b0759738ab59dd899fa
e57ae232ac375261bbf94e9f29b00fe29e461ded
/src/services/migrations/0001_initial.py
ca4ac054be1c14b361d296759155cf34f3921a00
[]
no_license
iamgaddiel/hob
60702d01633deb184914b81d6cb7e2e08cfae77c
368452db9def30d200f2b94de1d476bcd823347a
refs/heads/main
2023-07-25T19:48:11.540437
2021-08-16T03:36:30
2021-08-16T03:36:30
null
0
0
null
null
null
null
UTF-8
Python
false
false
3,148
py
# Generated by Django 3.2.4 on 2021-07-03 21:04 from django.db import migrations, models class Migration(migrations.Migration): initial = True dependencies = [ ] operations = [ migrations.CreateModel( name='AcademyPulicity', fields=[ ('id', models.Bi...
[ "gaddiel@localhost.localdomain" ]
gaddiel@localhost.localdomain
41bef0edff81a711b750a76619a55da72cc6fbc4
1cc5d45273d008e97497dad9ec004505cc68c765
/cheatsheet/编程笔记/07.Python/1.基础/5.5.getopt.py
3bb8a3d3203af5dacdaf85127b25e66c3886fd51
[]
no_license
wangfuli217/ld_note
6efb802989c3ea8acf031a10ccf8a8a27c679142
ad65bc3b711ec00844da7493fc55e5445d58639f
refs/heads/main
2023-08-26T19:26:45.861748
2023-03-25T08:13:19
2023-03-25T08:13:19
375,861,686
5
6
null
null
null
null
UTF-8
Python
false
false
4,200
py
getopt模块是老派的命令行选项解析器, 兼容Unix函数getopt(). 它解析一个参数序列, 如sys.argv, 返回(option, argument)对和其他非选项的参数序列. 支持的选项语法包括: -a -bval -b val –noarg –witharg=val –witharg val 函数参数 getopt函数可带三个参数: 第一个参数是待解析的参数序列, 它通常来自sys.argv[1:](忽略sys.arg[0], 因为它是程序名字). 第二个参数是选项定义字符串用于指示单个字符选项. 如果一个选项需要一个参数,...
[ "wangfl217@126.com" ]
wangfl217@126.com
e6e1132c4e505340d609bcf51126e5c2f4c8c937
1e31bd6da8b5743cf97f135b9c9c5c355894901e
/melons.py
fbc292ef0ffd641866111a38f211309011119ca6
[]
no_license
takiarochelle/HB-shopping-site
348e95d219a5eb63c193c7a95ab0b8657f4bd2c7
5e159c6f799144fc5ddbe371377e40b4534a701e
refs/heads/master
2020-03-24T02:35:14.097275
2018-07-29T20:01:13
2018-07-29T20:01:13
142,382,618
0
0
null
null
null
null
UTF-8
Python
false
false
4,128
py
"""Ubermelon melon types. This provides a Melon class, helper methods to get all melons, find a melon by id. It reads melon data in from a text file. """ class Melon(object): """An Ubermelon Melon type.""" def __init__(self, melon_id, melon_type, common_na...
[ "no-reply@hackbrightacademy.com" ]
no-reply@hackbrightacademy.com
ed34b01e3284481f25a6e3156c14031283b24039
03f9b8bdea312636afb4df3737b55cb0cc4b21ff
/ReverseBits.py
4cb3fc22250008ac2fe1400f1efe0f99e8b5bbfb
[]
no_license
ellinx/LC-python
f29dd17bbe15407ba0d06ad68386efdc9a343b56
9190d3d178f1733aa226973757ee7e045b7bab00
refs/heads/master
2021-06-01T15:21:24.379811
2020-10-29T04:37:07
2020-10-29T04:37:07
132,704,788
1
1
null
2019-05-15T03:26:11
2018-05-09T05:13:26
Python
UTF-8
Python
false
false
730
py
""" Reverse bits of a given 32 bits unsigned integer. Example: Input: 43261596 Output: 964176192 Explanation: 43261596 represented in binary as 00000010100101000001111010011100, return 964176192 represented in binary as 00111001011110000010100101000000. Follow up: If this function is called many times, ...
[ "ellin.xll@gmail.com" ]
ellin.xll@gmail.com
50ec3745ed3783a1528f565f74cad7e4efc2379c
36785c0893ab1e2c81c6a03305f42459776a84e0
/ambra_sdk/deprecated.py
3df758836f37acb3aec524956f96651155896ee4
[ "Apache-2.0" ]
permissive
dicomgrid/sdk-python
06589f87f33850bd15e6e99fb683bada6492775f
2618e682d38339439340d86080e8bc6ee6cf21b5
refs/heads/master
2022-08-28T14:50:35.864012
2022-08-22T12:36:50
2022-08-22T12:36:50
253,867,502
11
6
Apache-2.0
2022-04-13T10:06:38
2020-04-07T17:36:56
HTML
UTF-8
Python
false
false
2,299
py
import functools import inspect import warnings def deprecated(reason: str): """Set deprecated. This is a decorator which can be used to mark functions as deprecated. It will result in a warning being emitted when the function is used. >>> # The @deprecated is used with a 'reason'. >>> @depr...
[ "akapustin@ambrahealth.com" ]
akapustin@ambrahealth.com
9307cbd56e0cdfe04de477052533e2214a0e69bb
ca7aa979e7059467e158830b76673f5b77a0f5a3
/Python_codes/p02781/s782610566.py
eaf54f092c1bd17d88665bd2b0fa06112db0babc
[]
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
604
py
N = list(input()) K = int(input()) d = len(N) def f(j,k):#j桁で0でない桁がk桁ある自然数の個数(最高位0を許す) if j < k: return 0 elif k == 0: return 1 elif k == 1: return 9*j elif k == 2: return 81*j*(j-1)//2 elif k == 3: return 729*j*(j-1)*(j-2)//6 b = 0 ans = 0 for i in range(...
[ "66529651+Aastha2104@users.noreply.github.com" ]
66529651+Aastha2104@users.noreply.github.com
8d1f6035d646bd6e1c207280b02a06b32530ec1d
2e682fd72e3feaa70e3f7bf2a3b83c50d783ec02
/PyTorch/built-in/cv/semantic_segmentation/DeepLabv3+_ID1695_for_PyTorch/utils/calculate_weights.py
f9e37316140a9b42bde0e8e381c33c3bfa5baa17
[ "MIT", "Apache-2.0", "BSD-2-Clause", "BSD-3-Clause", "LicenseRef-scancode-generic-cla", "LicenseRef-scancode-unknown-license-reference", "GPL-1.0-or-later" ]
permissive
Ascend/ModelZoo-PyTorch
4c89414b9e2582cef9926d4670108a090c839d2d
92acc188d3a0f634de58463b6676e70df83ef808
refs/heads/master
2023-07-19T12:40:00.512853
2023-07-17T02:48:18
2023-07-17T02:48:18
483,502,469
23
6
Apache-2.0
2022-10-15T09:29:12
2022-04-20T04:11:18
Python
UTF-8
Python
false
false
2,666
py
# BSD 3-Clause License # # Copyright (c) 2017 xxxx # All rights reserved. # Copyright 2021 Huawei Technologies Co., Ltd # # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the following conditions are met: # # * Redistributions of source code must retain th...
[ "wangjiangben@huawei.com" ]
wangjiangben@huawei.com
15c7950905455f28c278372d19fa2f65fe152693
d3da57742e26f46d9d13d9a287a9fbb50e2bdb65
/server.py
f11caa0075e4e6fe50f231f6f3dd3a70942429cb
[]
no_license
amandamorris/ajax
aa15ec7b4d92d9187a5ac953d01fa9de415c4b59
9c976bf83fab0ff3e2f3533b66ad768326180784
refs/heads/master
2021-01-11T14:54:04.633315
2017-01-27T21:02:19
2017-01-27T21:02:19
80,245,710
0
0
null
null
null
null
UTF-8
Python
false
false
2,158
py
"""Flask server for AJAX exercise. IMPORTANT: you don't need to change this file at all to finish the exercise! """ import random from flask import Flask, request, render_template, jsonify app = Flask(__name__) FORTUNES = [ "Tomorrow your code will <b>work properly</b>.", "Your day ahead will be <b>full o...
[ "no-reply@hackbrightacademy.com" ]
no-reply@hackbrightacademy.com
40d6cb50c41e070829563b37caf136bda0e5cccf
e8400aec50afdbecb0dbc693092d55d6e1634350
/generate_test_texture.py
60e10008651855474305783296381362ea7458e0
[ "MIT" ]
permissive
minuJeong/Texture_Swizzle_Script
551c140b031ef53d6d47dec0cc99eddb10fde8e6
8ce7e043fea00daa1ef3938384aa5212a5a229bf
refs/heads/master
2020-06-17T00:00:38.230417
2019-07-08T05:39:45
2019-07-08T05:39:45
195,737,850
2
0
null
null
null
null
UTF-8
Python
false
false
391
py
import numpy as np import imageio as ii test_img_diffuse = np.random.uniform(0, 255, (512, 512, 4)).astype(np.uint8) test_img_normal = np.random.uniform(0, 255, (512, 512, 4)).astype(np.uint8) test_img_diffuse[:, :, :] = (128, 32, 96, 255) test_img_normal[:, :, :] = (196, 255, 128, 48) ii.imwrite("textureSetA_D.pn...
[ "=" ]
=
bab5d6b87dafbfe08239c45bbe3d9064cb75ed73
98420fdd66b8dce46ef88cd34fcace36777fa232
/obsolete/py/theano_tests/sgd.py
1bba6a7d54ab2b5049727c5b9e31480bb48cdac2
[]
no_license
Daiver/jff
f972fe7464f78ba6008a036b697ea3f04b7010a4
33d6a781af8d7f6ae60c25e10051977af2fef1b9
refs/heads/master
2023-04-07T06:33:41.487938
2022-05-03T10:07:32
2022-05-03T10:07:32
12,180,634
1
1
null
2023-04-03T19:25:00
2013-08-17T15:03:14
C++
UTF-8
Python
false
false
1,055
py
import numpy as np import random def SGDMomentum( funcForAll, gradForOne, weights, learningRate, momentumWeight, nIters, data, targets): #err = funcForAll(weights, data, targets) #minErr = err #print 'err', err grad = np.zeros(weights.shape)...
[ "ra22341@ya.ru" ]
ra22341@ya.ru
38ea47bd09372317a6b4222ea79c37edb231ee2a
5917a63a6d16de893f54e86a70f5d881648112c1
/Py1_spc-master/Lec15/funcs.py
114cbac943ef21425511ad2a746700a8ee6c8e6c
[]
no_license
litded/lessons
f14e8e68577d417fc87eaca1c426f535baa04e8b
af2e0f6cae61878a833a7eebd7c2509d930ede48
refs/heads/master
2023-08-22T00:49:50.362770
2021-10-16T20:33:01
2021-10-16T20:33:01
417,940,562
0
0
null
null
null
null
UTF-8
Python
false
false
556
py
""" Модуль содержащий набор убер-важных функций """ def add(a:int, b:int): """ a + b -> c:int """ return a + b def sub(a:int, b:int): """ a - b -> c:int """ return a - b def mult(a:int, b:int): """ a * b -> c:int """ return a * b DB_URI = "//mysql//config//127.2.2....
[ "i.ivlev@westwing.ru" ]
i.ivlev@westwing.ru
0314cfca723a05e95872305fcf9c3d72cad2c4e0
b81477637903aa7ffa73890b88e7887120b90a97
/OSMLongLatSpeedLimit.py
81e936a83c7d63765d4212140f73883a636bd0b0
[]
no_license
HarborneD/LatLongSpeedLimit
3b967ec8088f842f47fbeb18faa412ae7070cd48
f67f88470df55d078226b8d29221c0945455627f
refs/heads/master
2021-01-20T12:37:29.391325
2017-02-28T07:26:14
2017-02-28T07:26:14
82,664,740
1
0
null
null
null
null
UTF-8
Python
false
false
2,271
py
import urllib.request import xmltodict import xml.etree.ElementTree as ET import json def XMLfromOSMSpeedCall(long1,lat1,long2,lat2): api_url = 'http://www.overpass-api.de/api/xapi?*[maxspeed=*][bbox={long1},{lat1},{long2},{lat2}]' api_request = api_url.format(long1=long1, lat1=lat1,long2=long2, lat2=lat2) prin...
[ "d.harborne@outlook.com" ]
d.harborne@outlook.com
6e1b56b2fde789516653507d1683ee590d5a005d
ea262de505a1dd5ae1c7b546b85184309c3fdd35
/src/models/necks/fpn.py
d730db3fad42927150ec2ddfdea3e903761e9ae9
[ "MIT" ]
permissive
Runki2018/CvPytorch
306ff578c5f8d3d196d0834e5cad5adba7a89676
1e1c468e5971c1c2b037334f7911ae0a5087050f
refs/heads/master
2023-08-25T09:48:48.764117
2021-10-15T05:11:21
2021-10-15T05:11:21
null
0
0
null
null
null
null
UTF-8
Python
false
false
4,042
py
# !/usr/bin/env python # -- coding: utf-8 -- # @Time : 2020/12/10 14:26 # @Author : liumin # @File : fpn.py """ Feature Pyramid Networks for Object Detection https://arxiv.org/abs/1612.03144 """ import torch import torch.nn as nn import torch.nn.functional as F from ..modules.convs import Conv...
[ "569793357@qq.com" ]
569793357@qq.com
737ca19ce9c2048f18823fe1acbfeffab19d2f0c
8eab8ab725c2132bb8d090cdb2d23a5f71945249
/virt/Lib/site-packages/jedi/third_party/typeshed/stdlib/3/_osx_support.pyi
5d67d996b30a253917679821871fd405dc03a976
[ "MIT", "Apache-2.0" ]
permissive
JoaoSevergnini/metalpy
6c88a413a82bc25edd9308b8490a76fae8dd76ca
c2d0098a309b6ce8c756ff840bfb53fb291747b6
refs/heads/main
2023-04-18T17:25:26.474485
2022-09-18T20:44:45
2022-09-18T20:44:45
474,773,752
3
1
MIT
2022-11-03T20:07:50
2022-03-27T22:21:01
Python
UTF-8
Python
false
false
1,796
pyi
from typing import Dict, Iterable, List, Optional, Sequence, Tuple, TypeVar, Union _T = TypeVar("_T") _K = TypeVar("_K") _V = TypeVar("_V") __all__: List[str] _UNIVERSAL_CONFIG_VARS: Tuple[str, ...] # undocumented _COMPILER_CONFIG_VARS: Tuple[str, ...] # undocumented _INITPRE: str # undocumented def _find_execut...
[ "joao.a.severgnini@gmail.com" ]
joao.a.severgnini@gmail.com
88df397f0cda750cccd9c182a75817f6cb0110da
56d6257e932e1397ab03b1e7ccc6231378665b04
/Launchpad_Pro_MK3/control.py
75fbe31b119ca6d079ea395fa043de6c101420e5
[]
no_license
gluon/AbletonLive10.1_MIDIRemoteScripts
e6c8dc4956cff9630aaa36f3667994387ad1d0cf
2468b51eba7e5082b06f9e381b3e72027c5f272c
refs/heads/master
2023-01-10T18:37:46.504180
2022-12-23T09:21:48
2022-12-23T09:21:48
213,423,555
205
59
null
2021-02-12T16:15:01
2019-10-07T15:44:52
Python
UTF-8
Python
false
false
514
py
#Embedded file name: /Users/versonator/Jenkins/live/output/Live/mac_64_static/Release/python-bundle/MIDI Remote Scripts/Launchpad_Pro_MK3/control.py from __future__ import absolute_import, print_function, unicode_literals from ableton.v2.control_surface.control import InputControl, SendValueMixin class SendReceiveValu...
[ "julien@julienbayle.net" ]
julien@julienbayle.net
6a30d795194b23ec23a25a16f9a432baf01c6e36
5034526b80e15cdbd354bcd8dbc90fdc8165a3cd
/sync/remote/monitor.py
159b16704aea4ea4ec9d0f1f5c8336b3467be2a1
[ "BSD-2-Clause" ]
permissive
roshan-githubb/sdn-cockpit
c5b88766992061110fff60b61e83f7690d1f26e1
d40d4e456575db1967e6ffd85c8b0efe462d5dce
refs/heads/master
2022-12-23T16:33:36.750363
2020-04-21T23:07:42
2020-04-21T23:07:42
299,959,741
0
0
BSD-2-Clause
2020-09-30T15:11:03
2020-09-30T15:11:02
null
UTF-8
Python
false
false
4,758
py
#!/usr/bin/env python2.7 import re from os import setsid from shlex import split from subprocess import Popen, PIPE from signal import SIGINT from tempfile import TemporaryFile from time import sleep class BpfBuilder(object): def __init__(self): self.required_protocols = [] self.included_src_su...
[ "robert.bauer@kit.edu" ]
robert.bauer@kit.edu
85241320a1da062e7b2b6774c484c4d1cb0ae4f8
6810a482759afd585db7bb0b85fd0416f0450e6d
/Open Kattis/flyingsafely.py
7ef876b9bac67df7df3873d795820c5bfd849d2e
[]
no_license
BenRStutzman/kattis
01b000ac2353c8b8000c6bddec3698f66b0198ef
005720f853e7f531a264227d0d9aaa19d4d7cf1b
refs/heads/master
2020-07-15T23:52:45.785021
2019-11-09T03:28:06
2019-11-09T03:28:06
205,675,532
0
0
null
null
null
null
UTF-8
Python
false
false
244
py
import sys def main(): inp = sys.stdin.read().splitlines() N = int(inp[0]) ln = 1 for case in range(N): cities, pilots = [int(num) for num in inp[ln].split()] print(cities - 1) ln += pilots + 1 main()
[ "tysorx89@gmail.com" ]
tysorx89@gmail.com
ace15ab160514cf476805d941272172d688c30f2
37d1fa587b4d5c95e6ba1c72d7b1e4e26ce887c6
/backoffice/web/core/tests/test_notify.py
03a33847967178ee635dbb4b62714b2c06f8cd62
[ "MIT" ]
permissive
erdem/trade-access-program
e0db4b084e2e1d86c17590a404ff70097a0f6436
31f83a3c84ba66a52d284cfe73cecd833bc90fd7
refs/heads/master
2023-04-07T00:01:40.235339
2020-12-07T16:39:43
2020-12-07T16:39:43
null
0
0
null
null
null
null
UTF-8
Python
false
false
4,325
py
import logging from unittest.mock import create_autospec from django.test import override_settings from notifications_python_client import NotificationsAPIClient from requests import HTTPError from testfixtures import LogCapture from web.core.notify import NotifyService from web.tests.helpers import BaseTestCase c...
[ "seanbl@me.com" ]
seanbl@me.com
e839a9a15578633ed829d5a440eb35256b095210
b744044d617b16f232b018989e533f284bd860a8
/getFileResultR.py
88bbac0ae01a6ea235c06203149560e751bf77be
[]
no_license
nmaypeter/project_nw_190306
2c6697b4c2d24f6c1bd0219e8fb10ab630cf1b05
22e7c41fa71ee912b7c3bad9d13675b2fd15672a
refs/heads/master
2020-04-27T06:56:06.245519
2019-04-22T13:37:44
2019-04-22T13:37:44
174,122,031
0
0
null
null
null
null
UTF-8
Python
false
false
9,438
py
import os data_setting_seq = [1, 2] cm_seq = [1, 2] # model is optional model_seq = ['mngic', 'mpmisic', 'mngric', 'mngpwic', 'mngrpwic', 'mngsric', 'mngsrpwic', 'mngapic', 'mngapric', 'mngappwic', 'mngaprpwic', 'mngapsric', 'mngapsrpwic', 'mhdic', 'mhedic', 'mhdpwic', 'mhedpwic'...
[ "37822464+nmaypeter@users.noreply.github.com" ]
37822464+nmaypeter@users.noreply.github.com
f0b1e9a768062dfea19a68eb0a07516bdebb42b5
58b3514b1e5332184816ae377b4ae739d61dc5db
/dataloaderraw.py
01a142b49a8c42222f60c564f7e1a756592aa3c0
[]
no_license
jaeseo-park/ImageCaptioning.pytorch
74d9852c420414345f001c71d8034c243e50a814
1f00f1cdba61abe94ae56d609b94f16917e7ee03
refs/heads/master
2022-04-10T12:13:40.389362
2020-04-01T09:32:41
2020-04-01T09:32:41
null
0
0
null
null
null
null
UTF-8
Python
false
false
4,625
py
from __future__ import absolute_import from __future__ import division from __future__ import print_function import json import h5py import os import numpy as np import random import torch from torch.autograd import Variable import skimage import skimage.io import scipy.misc from torchvision import transforms as trn ...
[ "rluo@ttic.edu" ]
rluo@ttic.edu
3b6df4e179f2c3bc68a091efcb0c3ce119723165
fbbe424559f64e9a94116a07eaaa555a01b0a7bb
/Shapely_numpy/source/numpy/core/tests/test_arrayprint.py
6c804a3b75c02b12c7210bad2ab0eed3091f73a4
[ "MIT" ]
permissive
ryfeus/lambda-packs
6544adb4dec19b8e71d75c24d8ed789b785b0369
cabf6e4f1970dc14302f87414f170de19944bac2
refs/heads/master
2022-12-07T16:18:52.475504
2022-11-29T13:35:35
2022-11-29T13:35:35
71,386,735
1,283
263
MIT
2022-11-26T05:02:14
2016-10-19T18:22:39
Python
UTF-8
Python
false
false
8,760
py
#!/usr/bin/python # -*- coding: utf-8 -*- from __future__ import division, absolute_import, print_function import sys import numpy as np from numpy.compat import sixu from numpy.testing import ( TestCase, run_module_suite, assert_, assert_equal ) class TestArrayRepr(object): def test_nan_inf(self): ...
[ "ryfeus@gmail.com" ]
ryfeus@gmail.com
b141b0c3e189e4e75371ba0147eb4e0e5cc01f47
dd098f8a93f787e38676283679bb39a290ba28b4
/samples/openapi3/client/petstore/python-experimental/petstore_api/paths/fake_3/delete.py
6a9858d7cc92d03ce511914cae65aee0e1f3ef48
[ "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
7,726
py
# coding: utf-8 """ Generated by: https://openapi-generator.tech """ from dataclasses import dataclass import re # noqa: F401 import sys # noqa: F401 import typing import urllib3 import functools # noqa: F401 from urllib3._collections import HTTPHeaderDict from petstore_api import api_client, exceptions imp...
[ "noreply@github.com" ]
InfoSec812.noreply@github.com
682c436bf8ac11508d8e1aa430581acd8000a6b1
62186b89563dd61140f227e4bc22c4ee7f168998
/gems/inherited_instructions.py
ef45f85ce40cdb975c0e510ec6ff2a1751ed63c6
[]
no_license
lupyanlab/gems-experiment
f525c3d5a13e11c186fecbcf5d364a379e224db9
df3ff7a1521d7f8fbd606ed42002bbbad1b44067
refs/heads/master
2021-04-29T14:22:05.550546
2018-10-31T15:29:54
2018-10-31T15:29:54
121,771,779
0
0
null
null
null
null
UTF-8
Python
false
false
186
py
from os import path from .config import INSTRUCTIONS_DIR def load_ancestor_instructions(ancestor_id): return open(path.join(INSTRUCTIONS_DIR, "{}.txt".format(ancestor_id))).read()
[ "pierce.edmiston@gmail.com" ]
pierce.edmiston@gmail.com
5081b5e1d15c78e8c5c4548c35ff72f95c964b0f
0bdfefad123a03754713c64582a3986bd26965bd
/virtual/bin/wheel
df288bc2d23b346cb301dbf336c27fe7bee5a80c
[]
no_license
Kennedy128/pitch-survey
889d7747139b88df76bfb09d8801d83cf05063b7
f6c0cb8ab8a57ba4b59b53a8a6092d0c023dc8e5
refs/heads/master
2022-05-29T07:46:54.391714
2020-05-05T23:05:00
2020-05-05T23:05:00
260,503,908
0
0
null
null
null
null
UTF-8
Python
false
false
238
#!/home/kennedy/kennedy-pitch/virtual/bin/python # -*- coding: utf-8 -*- import re import sys from wheel.cli import main if __name__ == '__main__': sys.argv[0] = re.sub(r'(-script\.pyw|\.exe)?$', '', sys.argv[0]) sys.exit(main())
[ "santa@northpole.com" ]
santa@northpole.com
3f411522349f93f88dd400794c4c6072044aceb5
2416a6bde05651717f99dd45c5116cd13a7a38f7
/nbgrader/api.py
c2fb26371fd44a914adf4f1dbd713c8f2a64ce98
[ "BSD-3-Clause" ]
permissive
modulexcite/nbgrader
b1080a61d0ba5252c16c3d7471e13a40ce659624
1748c40f47b69c81e19068d4ba3c3205af72317d
refs/heads/master
2021-01-20T21:40:48.115091
2015-08-13T01:57:08
2015-08-13T01:57:08
null
0
0
null
null
null
null
UTF-8
Python
false
false
81,499
py
from __future__ import division from nbgrader import utils from sqlalchemy import (create_engine, ForeignKey, Column, String, Text, DateTime, Interval, Float, Enum, UniqueConstraint, Boolean) from sqlalchemy.orm import sessionmaker, scoped_session, relationship, column_property from sqlalchemy.orm.exc import NoRe...
[ "jhamrick@berkeley.edu" ]
jhamrick@berkeley.edu
6e26b6eee30168fa37c659bce318396b76766fc9
c9ddbdb5678ba6e1c5c7e64adf2802ca16df778c
/cases/synthetic/sieve-big-6631.py
1ac6c04bf048720595b0fb5b9a3d6fd2744bd37a
[]
no_license
Virtlink/ccbench-chocopy
c3f7f6af6349aff6503196f727ef89f210a1eac8
c7efae43bf32696ee2b2ee781bdfe4f7730dec3f
refs/heads/main
2023-04-07T15:07:12.464038
2022-02-03T15:42:39
2022-02-03T15:42:39
451,969,776
0
0
null
null
null
null
UTF-8
Python
false
false
31,755
py
# A resizable list of integers class Vector(object): items: [int] = None size: int = 0 def __init__(self:"Vector"): self.items = [0] # Returns current capacity def capacity(self:"Vector") -> int: return len(self.items) # Increases capacity of vector by one element def incr...
[ "647530+Virtlink@users.noreply.github.com" ]
647530+Virtlink@users.noreply.github.com
811e354f9e153d513f137e9ce7507e6e8437efab
338dbd8788b019ab88f3c525cddc792dae45036b
/lib/python3.6/site-packages/sklearn/inspection/tests/test_partial_dependence.py
b90b76c4220f34faa175324c7d291dfff5dad507
[]
permissive
KshitizSharmaV/Quant_Platform_Python
9b8b8557f13a0dde2a17de0e3352de6fa9b67ce3
d784aa0604d8de5ba5ca0c3a171e3556c0cd6b39
refs/heads/master
2022-12-10T11:37:19.212916
2019-07-09T20:05:39
2019-07-09T20:05:39
196,073,658
1
2
BSD-3-Clause
2022-11-27T18:30:16
2019-07-09T19:48:26
Python
UTF-8
Python
false
false
20,899
py
""" Testing for the partial dependence module. """ import numpy as np import pytest import sklearn from sklearn.inspection import partial_dependence from sklearn.inspection import plot_partial_dependence from sklearn.inspection.partial_dependence import ( _grid_from_X, _partial_dependence_brute, _partial_...
[ "kshitizsharmav@gmail.com" ]
kshitizsharmav@gmail.com
064eccff1e77d3a0ac836d4ed585919b1cd25708
7f4191f0e12a70d465b15762ce83b57b4976d448
/Chapter2/zip_.py
ff11731a1e667d2e146ead4513e75c20112467b8
[]
no_license
PacktPublishing/Hands-On-Penetration-Testing-with-Python
33f72df57b9158e002f78330c1242e1fde777898
7b11c8e63e4ac350ba138161f60f7ce4c08ed7cd
refs/heads/master
2023-02-06T04:52:12.475428
2023-01-30T10:03:47
2023-01-30T10:03:47
131,272,051
79
40
null
null
null
null
UTF-8
Python
false
false
328
py
#!/usr/bin/python3.5 l1=[1,2,3,4] l2=[5,6,7,8] zipped=list(zip(l1,l2)) print("Zipped is : " +str(zipped)) sum_=[x+y for x,y in zipped] print("Sum : "+str(sum_)) sum_1=list(map(lambda x :x[0]+x[1] ,zip(l1,l2))) print("Sum one shot (M1) : "+str(sum_1)) sum_2=[x + y for x,y in zip(l1,l2)] print("Sum 1 shot (M2) : "+str(su...
[ "furqankhan08@gmail.com" ]
furqankhan08@gmail.com
a37893ae6e7103a6ea7e98e24b665b138fd65a1e
eb3683f9127befb9ef96d8eb801206cf7b84d6a7
/stypy/sgmc/sgmc_cache/taxonomy/simple_expressions/arithmetical/divmod/error___divmod__parameters.py
ab9007823302548145ba605227dcdfdc1b5f24fe
[]
no_license
ComputationalReflection/stypy
61ec27333a12f76ac055d13f8969d3e0de172f88
be66ae846c82ac40ba7b48f9880d6e3990681a5b
refs/heads/master
2021-05-13T18:24:29.005894
2018-06-14T15:42:50
2018-06-14T15:42:50
116,855,812
2
0
null
null
null
null
UTF-8
Python
false
false
15,883
py
# -*- coding: utf-8 -*- """ ORIGINAL PROGRAM SOURCE CODE: 1: # coding=utf-8 2: __doc__ = "__divmod__ method is present, but is declared with a wrong number of parameters" 3: 4: if __name__ == '__main__': 5: class Sample: 6: def __divmod__(self, other, another): 7: return 1 + other + another 8...
[ "redondojose@uniovi.es" ]
redondojose@uniovi.es
fc4d64fc1d5fb82bf749b0fd68a07fdd1c8acc79
18ac3dc7c73109b63c4c26add70546480eb7e9f2
/algorithms/binary_tree_level_order_traversal_II.py
9433f70ee5adbb154e997664349aec337051d238
[]
no_license
dsdshcym/LeetCode-Solutions
c2111684289adf0fe06606757980b5bef2a6046a
c59ebd4ccfa1a6aa4315581dd70055f423d46de1
refs/heads/master
2021-01-17T08:19:08.433944
2017-12-30T04:23:33
2017-12-30T04:23:33
42,627,506
1
0
null
null
null
null
UTF-8
Python
false
false
1,045
py
# Python List.pop(index) # Definition for a binary tree node. # class TreeNode(object): # def __init__(self, x): # self.val = x # self.left = None # self.right = None class Solution(object): def levelOrderBottom(self, root): """ :type root: TreeNode :rtype: List...
[ "dsdshcym@gmail.com" ]
dsdshcym@gmail.com
01b0d6b443352e40a84a16f987c3fa498d938506
ec21d4397a1939ac140c22eca12491c258ed6a92
/Zope-2.9/lib/python/Products/ExternalMethod/tests/__init__.py
b665695d109ee8ecd013fc07b651f02d51ab5c9a
[]
no_license
wpjunior/proled
dc9120eaa6067821c983b67836026602bbb3a211
1c81471295a831b0970085c44e66172a63c3a2b0
refs/heads/master
2016-08-08T11:59:09.748402
2012-04-17T07:37:43
2012-04-17T07:37:43
3,573,786
0
0
null
null
null
null
UTF-8
Python
false
false
710
py
############################################################################## # # Copyright (c) 2001, 2002 Zope Corporation and Contributors. # All Rights Reserved. # # This software is subject to the provisions of the Zope Public License, # Version 2.1 (ZPL). A copy of the ZPL should accompany this distribution. # T...
[ "root@cpro5106.publiccloud.com.br" ]
root@cpro5106.publiccloud.com.br
c8a75e813e12c6f1b10860db9a963531d5993f03
bc441bb06b8948288f110af63feda4e798f30225
/cmdb_sdk/model/inspection/task_pb2.py
6f07ae785429ffff2b6df2f5e5a7fb837be169c7
[ "Apache-2.0" ]
permissive
easyopsapis/easyops-api-python
23204f8846a332c30f5f3ff627bf220940137b6b
adf6e3bad33fa6266b5fa0a449dd4ac42f8447d0
refs/heads/master
2020-06-26T23:38:27.308803
2020-06-16T07:25:41
2020-06-16T07:25:41
199,773,131
5
0
null
null
null
null
UTF-8
Python
false
true
12,794
py
# -*- coding: utf-8 -*- # Generated by the protocol buffer compiler. DO NOT EDIT! # source: task.proto import sys _b=sys.version_info[0]<3 and (lambda x:x) or (lambda x:x.encode('latin1')) from google.protobuf import descriptor as _descriptor from google.protobuf import message as _message from google.protobuf import...
[ "service@easyops.cn" ]
service@easyops.cn
d693880823f72e3c28d7c053b15a6f3bb612e84f
0a0cf2e17282131b83c5f3d3435e1d081d3b5037
/app/models/landingsetting.py
bb65d2e5a720f4d70460c7dfc04d14ebc6c6d6ca
[ "MIT" ]
permissive
Anioko/landingpage_cms
cd60bed31e0544604768db92c3b354f6d9897e11
b2d68d28287dd163de7d420b2c20b19050a2326a
refs/heads/master
2023-03-20T07:10:47.734109
2020-09-17T07:52:32
2020-09-17T07:52:32
292,569,342
0
0
MIT
2021-03-20T05:03:31
2020-09-03T12:52:14
JavaScript
UTF-8
Python
false
false
3,964
py
from app import db from typing import List class LandingSetting(db.Model): __tablename__ = 'landingsettings' id = db.Column(db.Integer, primary_key=True) site_name = db.Column(db.String(128), unique=True) title = db.Column(db.String(128), unique=True) description = db.Column(db.String(180), unique...
[ "aniekanokono@gmail.com" ]
aniekanokono@gmail.com
d3920fb1652326d0a4dd73f61581344a0b602aac
d4a569dcf616b7f05e53a44803e38196b436b8b9
/Thesis@3.9.1/Lib/site-packages/mypy/typeshed/stdlib/3/_winapi.pyi
4ca322c56fee034ebd23a89c29837fe2e3b2841e
[ "MIT" ]
permissive
nverbois/TFE21-232
ac3178d24939c872c02a671c0f1d8cc471af516b
7113837b5263b5c508bfc6903cb6982b48aa7ee4
refs/heads/main
2023-06-05T18:50:59.207392
2021-06-25T19:54:40
2021-06-25T19:54:40
337,691,391
0
0
null
null
null
null
UTF-8
Python
false
false
4,606
pyi
import sys from typing import Any, Union, Tuple, Optional, overload, Dict, NoReturn, Sequence if sys.version_info >= (3, 8): from typing import Literal else: from typing_extensions import Literal CREATE_NEW_CONSOLE: int CREATE_NEW_PROCESS_GROUP: int DUPLICATE_CLOSE_SOURCE: int DUPLICATE_SAME_ACCESS: int ERROR...
[ "38432529+nverbois@users.noreply.github.com" ]
38432529+nverbois@users.noreply.github.com
9d358865fa2cba3880611f148ecaa4bba42746d2
3d8aae8aa43e0fbd8a8cffc4fa2cd67419059d66
/module_PyQt/tech_lecture_codetorial/ex3_4/ex307_tool_bar.py
f42644ce1ea4eb28da0cb659969dae1160d2b388
[]
no_license
onitonitonito/k_mooc_reboot
b8273b7e9fa3fc5958bca57c39f2f3a9108964f1
68c8c6a94adc99005fb0fc8c38c416f902d37888
refs/heads/main
2021-07-21T22:32:26.080330
2021-07-04T02:22:08
2021-07-04T02:22:08
109,581,972
0
0
null
2020-05-05T22:28:26
2017-11-05T13:30:03
Python
UTF-8
Python
false
false
1,561
py
""" # Ex 3.07 - set tool bar.py # http://codetorial.net/pyqt5/basics/toolbar.html """ import sys import _add_syspath_root from PyQt5.QtGui import QIcon from PyQt5.QtWidgets import ( QApplication, QMainWindow, QAction, qApp...
[ "nitt0x0@gmail.com" ]
nitt0x0@gmail.com
d60fc86fe48144e0830087ceae24b2a6710c882f
6223dc2e5de7921696cb34fb62142fd4a4efe361
/.metadata/.plugins/org.eclipse.core.resources/.history/74/e0e4fd11a964001418adf2b9b78fa3c6
77964f6a1fe86dc7c3d7502bc080ba45dfcb5109
[]
no_license
Mushirahmed/python_workspace
5ef477b2688e8c25b1372f546752501ee53d93e5
46e2ed783b17450aba29e4e2df7b656522b2b03b
refs/heads/master
2021-03-12T19:24:50.598982
2015-05-25T10:23:54
2015-05-25T10:23:54
24,671,376
0
1
null
2015-02-06T09:27:40
2014-10-01T08:40:33
Python
UTF-8
Python
false
false
2,582
#!/usr/bin/env python # # Copyright 2014 <+YOU OR YOUR COMPANY+>. # # This is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation; either version 3, or (at your option) # any later version. # # This software is dis...
[ "imushir@gmail.com" ]
imushir@gmail.com
8cd84152af2602ba569670a56b4cb5cf76281d75
8f8498bb6f56b19d45a1989c8113a077348c0a02
/백준/Gold/벽 부수고 이동하기.py
edb5adbd0bc70a3a4339c499f7daba20f8ab65b9
[]
no_license
gjtjdtn201/practice
a09b437c892b0b601e156c09cb1f053b52fab11b
ea45582b2773616b2b8f350b927559210009d89f
refs/heads/master
2021-01-01T13:29:46.640740
2020-11-28T00:55:37
2020-11-28T00:55:37
239,299,485
0
1
null
null
null
null
UTF-8
Python
false
false
978
py
import sys sys.stdin = open('벽 부수고 이동하기.txt', 'r') from collections import deque def BFS(): queue.append((0, 0, 0)) visited[0][0][0] = 1 while queue: a, b, c = queue.popleft() if (a, b) == (N - 1, M - 1): return visited[a][b][c] for i in range(4): ny = a + d...
[ "gjtjdtn201@naver.com" ]
gjtjdtn201@naver.com
6518d0432dadb6a90e30c68104f95973e36b0a73
0e4860fecfdd34a3255003cc8c8df086c14083dd
/program/database/带你学MySQL/与python交互/test_pymysql.py
3776d4298a24117d1c4755b5fca5ae45fbac0004
[]
no_license
anzhihe/learning
503ab9a58f280227011da5eaa4b14b46c678e6f3
66f7f801e1395207778484e1543ea26309d4b354
refs/heads/master
2023-08-08T11:42:11.983677
2023-07-29T09:19:47
2023-07-29T09:19:47
188,768,643
1,443
617
null
2023-08-24T02:10:34
2019-05-27T04:04:10
Python
UTF-8
Python
false
false
1,652
py
import pymysql # 连接操作 db = pymysql.connect(host='localhost', user='root', password='123456', port=3306, db='db_test') # 获取游标 cur = db.cursor() def insert(sql, args): ''' 插入 :param sql: :param args: :return: ''' try: # cur.execute(sql, args) # 执行 cu...
[ "anzhihe1218@gmail.com" ]
anzhihe1218@gmail.com
31ec85b1cb9e6adb8248ae770150498f1a11c7eb
0535c70d311db29ad9a836bbe2d308492403ff56
/02_Introduction_Feature_Engineering.py
a832df90b3714ac48b8c0a2e806ea628f06b1a82
[]
no_license
tayyabmalik4/Data_preprocessing_And_Feature_Engineering_With_Tayyab
6a105ad1c04a0ee054994ac91e81eda8a0bb228c
c39f1e3be1b527629a6639522ad718c3df689a13
refs/heads/main
2023-07-11T02:09:44.752889
2021-08-16T17:12:09
2021-08-16T17:12:09
394,406,327
0
0
null
null
null
null
UTF-8
Python
false
false
1,949
py
# (02)******************************Introduction of Feature Engineering using Python Libraries****************** # ------purpose----- # ----(1)-What is Data Feature Engineering? # ----(2)-Why is Featrue Engineering Importance? # ----(3)-Process # ----(5)-Prerequisties # ********What is Feature Engineering? # ----Fe...
[ "mtayyabmalik99@gmail.com" ]
mtayyabmalik99@gmail.com
19cdfbb5362f7726290a0891ea19a0df58f8c3a3
69674d30e035a3268939f0d8c043a51e3c44278e
/tests/api/service/test_check.py
5d282c4ead082113084c6e726a9390a311c22594
[]
no_license
marcosdotps/dagda
ac0ac24131c5090ef0d33f52e88891ac2f1437dc
944d57dc771ab2d9de5f6e178e0aeafba0689984
refs/heads/master
2021-06-24T03:29:10.622118
2017-01-14T17:56:10
2017-01-14T17:56:10
null
0
0
null
null
null
null
UTF-8
Python
false
false
3,046
py
import unittest from unittest.mock import patch from dagda.api.service.check import check_docker_by_container_id from dagda.api.service.check import check_docker_by_image_name # -- Test suite class CheckApiTestCase(unittest.TestCase): # -- Mock internal classes class MockDockerDriver(): def get_doc...
[ "eliasgr89@gmail.com" ]
eliasgr89@gmail.com
fe5fefac9673865138c8abad042e1e5e56bde797
069c2295076c482afadfe6351da5ae02be8e18e6
/tests/migrations/migrations_test_apps/migrated_unapplied_app/models.py
efb71e637fb13c7ef9b5a3e883f1e4bd6801f7d8
[ "LicenseRef-scancode-other-copyleft", "LicenseRef-scancode-unknown-license-reference", "BSD-3-Clause", "GPL-1.0-or-later", "Python-2.0.1", "LicenseRef-scancode-free-unknown", "LicenseRef-scancode-other-permissive", "Python-2.0" ]
permissive
django/django
5eb557f57053631cd4f566f451e43197309dbeeb
c74a6fad5475495756a5bdb18b2cab2b68d429bc
refs/heads/main
2023-09-01T03:43:44.033530
2023-08-31T08:27:32
2023-08-31T08:27:32
4,164,482
73,530
38,187
BSD-3-Clause
2023-09-14T20:03:48
2012-04-28T02:47:18
Python
UTF-8
Python
false
false
347
py
from django.db import models class OtherAuthor(models.Model): id = models.AutoField(primary_key=True) name = models.CharField(max_length=255) slug = models.SlugField(null=True) age = models.IntegerField(default=0) silly_field = models.BooleanField(default=False) class Meta: app_label ...
[ "andrew@aeracode.org" ]
andrew@aeracode.org
f20dbc48fd8ba20e8c6375c45a99f5df12329fee
7615a26b05d4c7a52b2588ec73e91a3b9217c2e4
/inference/search.py
4f06a99eddf0cec1c60e6a563a289a720bc9b0cd
[]
no_license
quanpn90/NMTBMajor
82c692c370aead0db7b51171ab075d73c821ca05
bd3afeac9c879eca6315612689093ba7fed1a140
refs/heads/master
2020-08-26T15:30:05.135903
2019-12-14T23:43:40
2019-12-14T23:43:40
217,056,106
6
0
null
null
null
null
UTF-8
Python
false
false
5,678
py
# Copyright (c) 2017-present, Facebook, Inc. # All rights reserved. # # This source code is licensed under the license found in the LICENSE file in # the root directory of this source tree. An additional grant of patent rights # can be found in the PATENTS file in the same directory. import torch # import onmt c...
[ "quanpn90@gmail.com" ]
quanpn90@gmail.com
50d31265c4f4969cfa1185a86c67c0a81ba5cfa2
ccbfc7818c0b75929a1dfae41dc061d5e0b78519
/aliyun-openapi-python-sdk-master/aliyun-python-sdk-live/aliyunsdklive/request/v20161101/AddCasterEpisodeGroupContentRequest.py
b6afd5c1a9873a24c6718195b028aaea08a24df4
[ "Apache-2.0" ]
permissive
P79N6A/dysms_python
44b634ffb2856b81d5f79f65889bfd5232a9b546
f44877b35817e103eed469a637813efffa1be3e4
refs/heads/master
2020-04-28T15:25:00.368913
2019-03-13T07:52:34
2019-03-13T07:52:34
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,470
py
# Licensed to the Apache Software Foundation (ASF) under one # or more contributor license agreements. See the NOTICE file # distributed with this work for additional information # regarding copyright ownership. The ASF licenses this file # to you under the Apache License, Version 2.0 (the # "License"); you may not u...
[ "1478458905@qq.com" ]
1478458905@qq.com
50a7899adb3758beabd721bac05bdcaac0c4d4ab
0c12292b3ac08b63e099a05a69761a313ff14a6f
/test/test_tools.py
feda2dc562cf26572230e8a0b56ab2c5ae437dca
[ "Apache-2.0" ]
permissive
lishirui-git/hive_tools
967d658fe2b93bcd3635fbb54d5747e5830b964e
d4c00595dc78f0a13715b5e05c9fedb3952c8c6d
refs/heads/master
2020-04-14T20:00:12.916500
2018-12-04T13:51:08
2018-12-04T13:51:08
null
0
0
null
null
null
null
UTF-8
Python
false
false
136
py
#! /usr/bin/env python # -*- coding: utf-8 -*- # @Time : 2018-11-19 # @Author : 殷帅 # hive 测试工具 import os import sys
[ "yscoder@foxmail.com" ]
yscoder@foxmail.com
0005d83e3d6cf67f552f6dbada1aa74d95fd3cd1
aac1b8efaeccc544d229aa52093a36802250b4cf
/pre/python/lib/python2.7/dist-packages/twistedsnmp/tableretriever.py
2f62ee521c39dd4c19f5e6b38a9a1af96e1be9c9
[]
no_license
ag1455/OpenPLi-PC
4f63bbd389ff9604ab7aaf72d10ee6552b794c87
256401ac313df2e45c516af1a4d5398f54703b9c
refs/heads/master
2023-08-22T18:20:07.491386
2023-08-14T17:29:59
2023-08-14T17:29:59
233,239,212
27
22
null
2020-12-28T22:09:26
2020-01-11T13:50:25
Python
UTF-8
Python
false
false
15,394
py
"""Helper object for the AgentProxy object""" from twisted.internet import defer, protocol, reactor from twisted.python import failure from twistedsnmp.pysnmpproto import v2c,v1, error, oid, USE_STRING_OIDS import traceback, socket, weakref from twistedsnmp.logs import tableretriever_log as log class TableRetriever( o...
[ "a.g.prosat@gmail.com" ]
a.g.prosat@gmail.com
f8321ec63f5b9824ab3418b858a469d5c55f3221
62e58c051128baef9452e7e0eb0b5a83367add26
/edifact/D07B/COEDORD07BUN.py
0194d96049c8e5d902624df6a1cd3f90cb844dff
[]
no_license
dougvanhorn/bots-grammars
2eb6c0a6b5231c14a6faf194b932aa614809076c
09db18d9d9bd9d92cefbf00f1c0de1c590fe3d0d
refs/heads/master
2021-05-16T12:55:58.022904
2019-05-17T15:22:23
2019-05-17T15:22:23
105,274,633
0
0
null
2017-09-29T13:21:21
2017-09-29T13:21:21
null
UTF-8
Python
false
false
1,763
py
#Generated by bots open source edi translator from UN-docs. from bots.botsconfig import * from edifact import syntax from recordsD07BUN import recorddefs structure = [ {ID: 'UNH', MIN: 1, MAX: 1, LEVEL: [ {ID: 'BGM', MIN: 1, MAX: 1}, {ID: 'DTM', MIN: 1, MAX: 1}, {ID: 'FTX', MIN: 0, MAX: 9}, {ID: 'RFF'...
[ "jason.capriotti@gmail.com" ]
jason.capriotti@gmail.com
29f733c5041322d236ef11bf34d2fc09619f35fb
f0c96d54498c8b7623deeb604eb8f11e526168fb
/Hello/Lecture/Example_wikidocs/Ex004.py
cbb563ecae77855158d738abf9da2c2ccc0bfbe3
[]
no_license
sbsdevlec/PythonEx
86e289e547581de437e13f484fa4c92696d1ef9d
a5509b79049dc5546a22bda9061a17117ae1daec
refs/heads/master
2021-01-18T03:42:02.723526
2017-05-01T09:00:05
2017-05-01T09:00:05
85,797,119
1
0
null
null
null
null
UTF-8
Python
false
false
297
py
""" 004 사용자 입력 사용자로부터 두 개의 숫자를 입력받은 후 두 개의 숫자를 더한 값을 출력하는 프로그램을 작성하라. 실행 예: first: 3 second: 4 합: 7 """ i = int(input("first : ")) j = int(input("second : ")) k = i + j print("합 : ", k)
[ "joeun1612@gmail.com" ]
joeun1612@gmail.com
fb61a672b852889baa569b175867df35e4a1ac61
93e212ca351f1da9515bfd9bfd2d1a9e0fe3ce38
/decoder/ST300UEX.py
1d7c8b00333d0ee3f25627db93838a6500a489d7
[]
no_license
GeovaneCavalcante/ST300UR-ST340UR-Decode
f574fd09cfc74feff2397b809da0bc1e0d41092b
b46a38d37d579db0ba4e3a86fbb7c9156421f541
refs/heads/main
2023-01-30T01:26:43.505357
2020-12-12T14:52:21
2020-12-12T14:52:21
320,853,213
0
0
null
null
null
null
UTF-8
Python
false
false
897
py
def decode(msg): list_protocol = msg.split(';') data_decode = { "HDR": list_protocol[0], "DEV_ID": list_protocol[1], "MODEL": list_protocol[2], "SW_VER": list_protocol[3], "DATE": list_protocol[4], "TIME": list_protocol[5], "CELL": list_protocol[6], ...
[ "geovanefeitosacavalcante@gmail.com" ]
geovanefeitosacavalcante@gmail.com
5a9157ffef92ef458fd9013972c526da833f397c
5d12af44b41d7749c25acc9c231bc42a3ec3a620
/python/ccxt/mixcoins.py
cde8ffd9295f9cdc0c9b31755b57d6291004e653
[ "MIT" ]
permissive
ehsanealikhani/ccxt
cf2d40ce27ef23c4bdc3400156a5f86248918577
6f2adadfcf7538be67c0ca775a10d62c993e117d
refs/heads/master
2021-08-06T17:43:46.301351
2017-11-06T10:08:37
2017-11-06T10:08:37
109,722,286
1
0
null
2017-11-06T16:43:47
2017-11-06T16:43:47
null
UTF-8
Python
false
false
6,153
py
# -*- coding: utf-8 -*- from ccxt.base.exchange import Exchange import hashlib from ccxt.base.errors import ExchangeError class mixcoins (Exchange): def describe(self): return self.deep_extend(super(mixcoins, self).describe(), { 'id': 'mixcoins', 'name': 'MixCoins', '...
[ "igor.kroitor@gmail.com" ]
igor.kroitor@gmail.com
b787a88532b8f756e23d6ca7c06c7eb75a01bec4
6d3d1b0f24ca5f1b34110c46d899c93b0f62e7fd
/test_haystack/test_app_without_models/views.py
fe612179f9b2543161f799d74e7bb7ccc6465ed5
[ "MIT", "BSD-3-Clause" ]
permissive
kishorkunal-raj/django-haystack
d77c455b0453aa027403ba29932ce9d314e6219a
5a901ec2f25e00c18ceb9e50972c9aa272fad673
refs/heads/master
2022-12-28T15:02:53.716143
2020-10-20T05:05:16
2020-10-20T05:05:16
298,463,799
0
0
NOASSERTION
2020-09-25T04:05:42
2020-09-25T04:05:41
null
UTF-8
Python
false
false
113
py
# encoding: utf-8 from django.http import HttpResponse def simple_view(request): return HttpResponse("OK")
[ "chris@improbable.org" ]
chris@improbable.org