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
e0dfb630e3c0d0a11d8d97f1a3ea11e4ee039b3f
9139abff4dfec3c4c0623e42db2d44a866595752
/test/test_metric.py
7a707dd862755c51471ed48bea7b3115fd862a22
[ "MIT" ]
permissive
LorinChen/lagom
42e7c0c89c356b1cc7c160f12517fa01693e91c5
273bb7f5babb1f250f6dba0b5f62c6614f301719
refs/heads/master
2020-07-20T17:46:45.648603
2019-08-13T13:20:57
2019-08-13T13:20:57
206,686,173
1
0
MIT
2019-09-06T01:16:27
2019-09-06T01:16:24
null
UTF-8
Python
false
false
12,830
py
import pytest import numpy as np import torch import gym from gym.wrappers import TimeLimit from lagom import RandomAgent from lagom import EpisodeRunner from lagom import StepRunner from lagom.utils import numpify from lagom.envs import make_vec_env from lagom.envs.wrappers import StepInfo from lagom.envs.wrappers i...
[ "zuoxingdong@hotmail.com" ]
zuoxingdong@hotmail.com
b00094732bf4e992d6d1f015c038435845b72877
f15d9b6513a053258e1b96fe54d14ee84e92b33a
/wirefox/db/moz_places.py
561d64e34c1c1363ef89b2f1850d4faf8d44a68b
[]
no_license
amol9/wirefox
867cbd00c9e250bd91509dfbc1baf751871d8f42
3f8561d0c6d01773d510bae337b9348132e3a5c8
refs/heads/master
2021-01-13T21:14:12.091991
2017-03-13T14:29:14
2017-03-13T14:29:14
81,830,235
0
0
null
null
null
null
UTF-8
Python
false
false
1,096
py
from .time_window import TimeWindow from .firefox_db import FirefoxDB class MozPlaces: def __init__(self): self._firefox_db = None def query(self, url=None, title=None, start_time=None, end_time=None, period=None): if self._firefox_db is None: self._firefox_db = FirefoxDB() ...
[ "babaiscool@gmail.com" ]
babaiscool@gmail.com
b25ed1e03530488687d2617d36d418c6756cd81b
0b2d1b4e2b7e8aa9440e616ab2528b13ff5918e5
/babi/buf.py
e1b0ee3e8e4f097d9fda0e371aac8ceeebe0316b
[ "MIT" ]
permissive
tech-chad/babi
2b332568460fa78acabb9913fdfe084b3a15fe44
144bbb9daf8d879f5f3ceb30a6c20d47ea2f538b
refs/heads/master
2022-11-02T06:12:43.419506
2020-05-27T22:50:30
2020-05-27T22:50:30
272,864,505
0
0
MIT
2020-06-17T03:00:15
2020-06-17T03:00:15
null
UTF-8
Python
false
false
9,033
py
import bisect import contextlib from typing import Callable from typing import Generator from typing import Iterator from typing import List from typing import NamedTuple from typing import Optional from typing import Tuple from babi._types import Protocol from babi.horizontal_scrolling import line_x from babi.horizon...
[ "asottile@umich.edu" ]
asottile@umich.edu
a7d0ef36c591c177b20512e93fa42951fb059e14
e5202e0f36c15b8898920a461a866168fa059947
/clirad/h2o_trp/band_8/atmpro_trp/cliradlw_1013f91/param.py
ad74245f6dbe533491fcea57312d88984757cf90
[]
no_license
qAp/analysis_-_new_kdist_param
653c9873751646f6fa9481544e98ed6065a16155
272dc3667030cdb18664108d0bd78fee03736144
refs/heads/master
2021-06-11T04:21:35.105924
2019-08-04T13:13:07
2019-08-04T13:13:07
136,108,828
0
0
null
null
null
null
UTF-8
Python
false
false
522
py
PARAM = {'commitnumber': '1013f91', 'band': [8], 'molecule': {'h2o': 'atmpro'}, 'atmpro': 'trp', 'tsfc': 300} PARAM_LBLNEW = {'atmpro': 'trp', 'band': '6', 'commitnumber': '5014a19', 'conc': None, 'dv': 0.001, 'klin': 5e-25, 'molecule': 'h2o', 'ng_adju': [0], 'ng_refs': [4], 'nv': 1000, 'option_compute_btable': 0, 'opt...
[ "llacque@gmail.com" ]
llacque@gmail.com
758eb49de79ccd0c369067efc4283f514df09080
f77b0f2cc709b9670e6b4dc7145a6ea5368585d2
/templates/compiled/macros/grids.py
6c7879946fd4f337eb9525497945a87c107b0aa0
[]
no_license
sgammon/StonerHub
45ccac6bd349200bbc75c494002c3ffeb082dcb8
a81f7fdd2c7118c6cea3c25ef9f53f272d27b0cc
refs/heads/master
2021-01-20T10:54:47.546251
2011-11-07T12:02:20
2011-11-07T12:02:20
2,664,437
0
0
null
null
null
null
UTF-8
Python
false
false
408
py
from __future__ import division from jinja2.runtime import LoopContext, TemplateReference, Macro, Markup, TemplateRuntimeError, missing, concat, escape, markup_join, unicode_join, to_string, identity, TemplateNotFound def run(environment): name = 'source/macros/grids.html' def root(context, environment=environ...
[ "sgammon@bluestatedigital.com" ]
sgammon@bluestatedigital.com
e5735a8778ca5d33468e7d9caf2b4a808fae37fb
bbe0cb13a7d9ba461b2af6a69f18f8e7ef2301fe
/code_processing/Lc2D.1.0e-02_LcSlab.1.0e-02/calc_k_vs_t.py
772e49ece97cb6b3a37614a19f8f80df774f52ae
[]
no_license
jimsrc/corpad
b52b841f0a1b8ddca98236d4a61a9d6079699aff
60756729b3cc1206352b95b2038f87b75ac749ef
refs/heads/master
2021-03-27T10:10:39.756497
2018-02-04T18:04:58
2018-02-04T18:04:58
99,851,623
0
0
null
null
null
null
UTF-8
Python
false
false
3,055
py
## from funcs import * import os def generate_k_vs_t(Ek, dir_data): dir_info = '%s/info' % dir_data fname_orient = '%s/orientations.in' % dir_info fname_plas = '%s/plas.in' % dir_info fname_turb = '%s/turb.in' % dir_info NPLAS = count_lines_in_file(fname_orient) # orden del nro max de giroperiodos order_tmax ...
[ "jimmy.ilws@gmail.com" ]
jimmy.ilws@gmail.com
566ce5e5e8474e086d441fd7c8275b972cf78d88
45c170fb0673deece06f3055979ece25c3210380
/toontown/building/DoorTypes.py
80898b9b1397fad9906528cf98341b9f7b720109
[]
no_license
MTTPAM/PublicRelease
5a479f5f696cfe9f2d9dcd96f378b5ce160ec93f
825f562d5021c65d40115d64523bb850feff6a98
refs/heads/master
2021-07-24T09:48:32.607518
2018-11-13T03:17:53
2018-11-13T03:17:53
119,129,731
2
6
null
2018-11-07T22:10:10
2018-01-27T03:43:39
Python
UTF-8
Python
false
false
207
py
#Embedded file name: toontown.building.DoorTypes EXT_STANDARD = 1 INT_STANDARD = 2 EXT_HQ = 3 INT_HQ = 4 EXT_HOUSE = 5 INT_HOUSE = 6 EXT_COGHQ = 7 INT_COGHQ = 8 EXT_KS = 9 INT_KS = 10 EXT_ANIM_STANDARD = 11
[ "linktlh@gmail.com" ]
linktlh@gmail.com
de4286376cdead9bc0b4496d09485374ed60e6cc
7202b4cf562fcacf2f684c1985b448b5780c4967
/itp1/07c.py
6be9c7cdedee836bbe698a934c291f7e9f692031
[]
no_license
mskt4440/AOJ
ce523182dbd75e85c1bba43d7d23217711b8e617
f6d9ca36e77a88ed9ddbeb53340a745bf8cac157
refs/heads/master
2021-07-07T00:34:23.034606
2020-09-24T02:25:43
2020-09-24T02:25:43
188,768,314
0
0
null
null
null
null
UTF-8
Python
false
false
396
py
# # 7c # def main(): r, c = map(int, input().split()) T = [] S = [0 for _ in range(c+1)] for i in range(r): C = list(map(int, input().split())) C.append(sum(C)) T.append(C) for i in range(r): for j in range(c+1): S[j] += T[i][j] T.append(S) for i ...
[ "mskt4440@gmail.com" ]
mskt4440@gmail.com
ed43ef6c060ebc2daed645b5f334029f9b430d09
95d20fe737d711cf92d68130eb59b6aef4435ec2
/正则表达式/非捕获分组.py
651491d6f2bb7a136ac85dd6e1b2fef4dc0d1d70
[]
no_license
CCH21/Python
d11b93851579d85f972828c760a96c5be1f79531
33e218810856971f3f1f97a2b8a4c8dce761362e
refs/heads/master
2022-04-29T11:48:01.816283
2022-03-17T11:53:01
2022-03-17T11:53:01
226,452,057
1
0
null
null
null
null
UTF-8
Python
false
false
195
py
import re s = 'imgl.jpg, img2.jpg, img3.bmp' # 捕获分组 p = r'\w+(\.jpg)' mlist = re.findall(p, s) print(mlist) # 非捕获分组 p = r'\w+(?:\.jpg)' mlist = re.findall(p, s) print(mlist)
[ "1398635912@qq.com" ]
1398635912@qq.com
82b049d66f3602dbc6cae01e74fd629f0634ef53
b4cf3438011c9521561143e677736c611ff19a0c
/boxx/ylsys.py
7643ca805dfe8ff7b284b931db1a46f85be72c4c
[]
no_license
BUCT-Vision/boxx
3e5c24af20c06d4943dc04859e6cbfb577fe8a48
3d405c9ad744d2ff9f6f5d9efb1e31962474565b
refs/heads/master
2020-03-18T17:35:18.573106
2018-09-18T02:49:10
2018-09-18T02:49:10
135,037,392
2
0
null
2018-09-18T02:49:11
2018-05-27T10:44:44
Python
UTF-8
Python
false
false
3,683
py
#!/usr/bin/env python2 # -*- coding: utf-8 -*- """ A module provide system info and Python Info for boxx @author: yanglei """ import sys, os from os import environ def jupyterNotebookOrQtConsole(): env = 'Unknow' cmd = 'ps -ef' try: with os.popen(cmd) as stream: if not py2: ...
[ "ylxx@live.com" ]
ylxx@live.com
05f71de710935c9f61b9d68da2dd6130d14c0aef
76027f6d013e12ca4fda95957e0cedbef1779def
/leetcode/84-Hard-Largest-Rectangle-In-Histogram/answer.py
73fea12149d06b2de3f14d2834336d5e705517c6
[ "Unlicense" ]
permissive
BenDataAnalyst/Practice-Coding-Questions
79a56617f27a5b2b8d5d9650057a9b0128b9becf
4c21ab38b75389cfb71f12f995e3860e4cd8641a
refs/heads/master
2020-07-23T13:31:48.965116
2019-09-09T16:23:09
2019-09-09T16:23:09
null
0
0
null
null
null
null
UTF-8
Python
false
false
3,555
py
#!/usr/bin/python3 #------------------------------------------------------------------------------ # Solution O(n) Stack Solution #------------------------------------------------------------------------------ class Solution(object): def largestRectangleArea(self, heights): """ :type heights: List...
[ "kylelim8998@gmail.com" ]
kylelim8998@gmail.com
1523bd6cee28d5286c62ffee8fe3728695519c71
7deda84f7a280f5a0ee69b98c6a6e7a2225dab24
/Manage/migrations/0015_draft_request_user.py
5f6519727e28bb0c0b16dca2a87445ff181ff05d
[]
no_license
Cornex-Inc/Coffee
476e30f29412373fb847b2d518331e6c6b9fdbbf
fcd86f20152e2b0905f223ff0e40b1881db634cf
refs/heads/master
2023-01-13T01:56:52.755527
2020-06-08T02:59:18
2020-06-08T02:59:18
240,187,025
0
0
null
2023-01-05T23:58:52
2020-02-13T05:47:41
Python
UTF-8
Python
false
false
401
py
# Generated by Django 2.1.15 on 2020-05-04 22:27 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('Manage', '0014_auto_20200503_1043'), ] operations = [ migrations.AddField( model_name='draft', name='request_user',...
[ "khm4321@naver.com" ]
khm4321@naver.com
02d97dde72d76aa6fba06b86768511a2925fe6f3
d9b53673b899a9b842a42060740b734bf0c63a31
/leetcode/python/medium/p494_findTargetSumWays.py
44d6f3cbbfbba1910bfe6c636afae6b5d7481421
[ "Apache-2.0" ]
permissive
kefirzhang/algorithms
a8d656774b576295625dd663154d264cd6a6a802
549e68731d4c05002e35f0499d4f7744f5c63979
refs/heads/master
2021-06-13T13:05:40.851704
2021-04-02T07:37:59
2021-04-02T07:37:59
173,903,408
0
0
null
null
null
null
UTF-8
Python
false
false
969
py
class Solution: def __init__(self): self.helper = {} def findTargetSumWays(self, nums, S: int) -> int: if not nums: return 0 if self.helper.__contains__(tuple([len(nums), S])): return self.helper[tuple([len(nums), S])] if len(nums) == 1: if S ...
[ "8390671@qq.com" ]
8390671@qq.com
9454fedfe20dd2763d21f24cf97f9d757233075e
ea5a2999512a58f45a899d2dd2fa812dc83ef73b
/an_huiV3/AnHui.py
0be7b33debb675ba76cf85f6109809f9b9969624
[]
no_license
nanqianbeiquan/GsClawlerV2
f3190968818ae9d108c247527ca3e717da2fc8a8
884de1f94dad63e6b256592309a9425b7423e66f
refs/heads/master
2021-07-22T13:44:31.148097
2017-11-02T07:02:35
2017-11-02T07:02:35
109,227,946
0
0
null
null
null
null
UTF-8
Python
false
false
81,648
py
# coding=utf-8 import requests import os import uuid import urllib from urllib import quote import PackageTool from PIL import Image from bs4 import BeautifulSoup import json import re from gs.KafkaAPI import KafkaAPI import datetime from requests.exceptions import RequestException import sys import PyV8 import random...
[ "18801791073@163.com" ]
18801791073@163.com
74dc0695aadeb764d830515c0fcfee9c3c7fce09
5f4e13201d4c5b7edc8dbbda289380682a187bec
/deps/scikit-image/doc/examples/filters/plot_deconvolution.py
e934221396c76735c9652da0a75a70f6b0ab65a3
[ "MIT", "BSD-3-Clause" ]
permissive
intellivoid/CoffeeHousePy
92f4fb344de757837c3d3da05cb5513e90408039
57c453625239f28da88b88ddd0ae5f1ecdd4de3c
refs/heads/master
2023-02-23T14:32:01.606630
2021-01-28T02:57:10
2021-01-28T02:57:10
324,419,067
0
2
null
null
null
null
UTF-8
Python
false
false
1,678
py
""" ===================== Image Deconvolution ===================== In this example, we deconvolve an image using Richardson-Lucy deconvolution algorithm ([1]_, [2]_). The algorithm is based on a PSF (Point Spread Function), where PSF is described as the impulse response of the optical system. The blurred ima...
[ "netkas@intellivoid.info" ]
netkas@intellivoid.info
739a057d4d441fd18cf2d851c70c964bdf3dd74e
9f1b8a1ada57198e2a06d88ddcdc0eda0c683df7
/submission - Homework1/ALEXANDER T KOHLROSER_2240_assignsubmission_file_HW1/HW1/index_nested_list.py
ca01168c4a25471ab1064be8afb0e0ea61dca486
[]
no_license
sendurr/spring-grading
90dfdced6327ddfb5c311ae8f42ae1a582768b63
2cc280ee3e0fba02e95b6e9f45ad7e13bc7fad54
refs/heads/master
2020-04-15T17:42:10.781884
2016-08-29T20:38:17
2016-08-29T20:38:17
50,084,068
0
0
null
null
null
null
UTF-8
Python
false
false
382
py
q = [['a','b','c'],['d','e','f'],['g','h',]] print q[0][0] #calls the top right print q[1] #calls the middle row print q[2][1] #calls the second column of the third row print q[-1][-2] print("This calls [2][0] because it goes one left from the first place which would then call the equivalent of [2]. Then it travel...
[ "sendurr@hotmail.com" ]
sendurr@hotmail.com
60ef1583477da2f9e5ba9f8242678d5c50047692
7da12f580db1c2d4e5e9d3348476c83a6c901c15
/shop/admin.py
a9189a8cde6f32a5393b8ba54541cfd01c3228c4
[]
no_license
aeksei/shop_step9
10967756f58f2d001804efca77c3f2da3dbaa616
80a0dc4d468a025863db2f32d54cae7b087b4a4c
refs/heads/master
2022-09-29T19:57:43.324752
2020-04-22T17:10:16
2020-04-22T17:10:16
257,964,572
0
0
null
2020-06-04T17:40:33
2020-04-22T16:55:52
CSS
UTF-8
Python
false
false
116
py
from django.contrib import admin from .models import * # Register your models here. admin.site.register(Products)
[ "aeksei94@gmail.com" ]
aeksei94@gmail.com
8b307a46ca1af76374ddabfb9bce3c7ff2c5d912
bf80f309b6deb240be5fa82428ccffaedcb7ecf1
/contrib/devtools/update-translations.py
a65cd759c1fa4b440ea27665cd95756623258d97
[ "MIT", "LicenseRef-scancode-public-domain" ]
permissive
danxb827/vektorcoin
b4677be9320de92a514d40eac213f51d1bc5e106
be2a7adba6d00d1e378c969c77ea90daeecef9f7
refs/heads/main
2023-03-06T11:49:18.688978
2021-02-09T14:54:10
2021-02-09T14:54:10
336,577,132
1
1
MIT
2021-02-09T14:54:12
2021-02-06T16:05:36
null
UTF-8
Python
false
false
8,441
py
#!/usr/bin/env python3 # Copyright (c) 2014 Wladimir J. van der Laan # Distributed under the MIT software license, see the accompanying # file COPYING or http://www.opensource.org/licenses/mit-license.php. ''' Run this script from the root of the repository to update all translations from transifex. It will do the foll...
[ "sourcedecho@outlook.com" ]
sourcedecho@outlook.com
de7b13d92631a345de71ca8e1d4f3dc2b0aafc2c
c4599b387df99da05475dc3e464c6df25511919f
/tensorflow/python/ops/nn_batchnorm_test.py
3292a7bfd7401541a469eb317ce0b6ec0fa5475c
[ "Apache-2.0" ]
permissive
agrawalnishant/tensorflow
0ca19b303d1d474febe4e895b4dc558c864706f7
cce87661db51b78fb406525285c9402be44e019b
refs/heads/master
2022-12-09T10:53:51.852543
2022-08-27T19:36:50
2022-08-27T19:36:50
60,673,664
2
9
Apache-2.0
2022-11-26T16:19:03
2016-06-08T06:20:26
C++
UTF-8
Python
false
false
23,420
py
# Copyright 2015 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applica...
[ "gardener@tensorflow.org" ]
gardener@tensorflow.org
fc884806482e9cabe64688601017f54570459f99
515a97129ce1b2b8eecca4b2087fde8985b82d5b
/Code-Scraps/old_modules/SpiceGif/gif/Thumbs_Up.py
cd3625bd689d898907897679c0cf84a12536f03c
[]
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,676
py
#!/usr/bin/env python # coding=utf-8 from __future__ import unicode_literals, absolute_import, print_function, division import sopel.module import urllib2 import json from BeautifulSoup import BeautifulSoup from random import randint import sys import os moduledir = os.path.dirname(__file__) shareddir = os.path.dirname...
[ "sam@deathbybandaid.net" ]
sam@deathbybandaid.net
afa189e5c781d2c121d42e882f1e8fcfd10bc8f1
30f8722391c3403a147a7a45a56013693141bb52
/configs/htc/htc_hrnetv2p_w48_20e_kaggle_pku_no_semantic_translation_wudi.py
b3c55b456aff7ca11641bbe802d66234b3a7689c
[ "Apache-2.0" ]
permissive
fsxy1063200037/Kaggle_PKU_Baidu
2bfbe1e04ae031b6f7856067824e7f03c31ca847
7ee39b60be25558539ac47d80a2f89f39698b4a6
refs/heads/master
2022-04-12T21:02:36.780457
2020-04-07T09:01:50
2020-04-07T09:01:50
null
0
0
null
null
null
null
UTF-8
Python
false
false
14,316
py
# model settings model = dict( type='HybridTaskCascade', num_stages=3, interleaved=True, mask_info_flow=True, car_cls_info_flow=False, backbone=dict( type='HRNet', extra=dict( stage1=dict( num_modules=1, num_branches=1, ...
[ "stevenwudi@gmail.com" ]
stevenwudi@gmail.com
3b5c2be55f423005b409da55eb4cb003a822b22f
84c9a6fb5e18741f14a55d0d737e2a556383770d
/venv/Lib/site-packages/w3af/plugins/infrastructure/server_header.py
9b95285e772beba1b79e247989486a937a290603
[]
no_license
AravindChan96/Vulcan
638a1db2f84df08bc50dd76c7f142014d529fbec
5548a6f36f04108ac1a6ed8e707930f9821f0bd9
refs/heads/master
2022-11-05T15:05:54.224578
2020-06-19T20:44:14
2020-06-19T20:44:14
273,396,348
1
1
null
null
null
null
UTF-8
Python
false
false
6,343
py
""" server_header.py Copyright 2006 Andres Riancho This file is part of w3af, http://w3af.org/ . w3af 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 version 2 of the License. w3af is distributed in the hope th...
[ "aravindchan.96@gmail.com" ]
aravindchan.96@gmail.com
4b83674f41dfe0e01b5e0deb3e30fb897f25bc5a
977f1105b3a475055631689523b1dcef951c7f72
/py_numpy_1.py
2110065b1ebc86effcb568fa5a0643b2def8ba8a
[]
no_license
pbarton666/PES_Python_examples_and_solutions
2f973296796d91a5c8c28000002b996ef143ebb2
94fc2c8101a6e654a3ab67b39d1878b9d9f6aa74
refs/heads/master
2021-01-10T22:45:27.446831
2017-05-14T17:11:52
2017-05-14T17:11:52
70,357,916
0
1
null
null
null
null
UTF-8
Python
false
false
2,327
py
#py_numpy_1.py """a snake-charming application""" from PIL import Image import numpy as np import os idir =os.getcwd() iname= 'eastern_coral_1_clean.png'# 'white_snake.PNG' saveas='new_snake.PNG' #sets up an array for pixel processing white=np.array([255,255,255,0]) #r, g, b, a transparent = np.array...
[ "barton.pj@gmail.com" ]
barton.pj@gmail.com
dca9fddc3b23f660445b7dfdc4fa69e6a6bfd984
56abd8f94a511ae0d163161cb2f5e0a91d4b8bed
/datahub/event/migrations/0014_update_permissions_django_21.py
c27dc191d9543f8aa33c9c96a70980890b259390
[ "MIT" ]
permissive
cgsunkel/data-hub-api
994c58bd975d902bf2bc44b415a5892919ff4539
a92faabf73fb93b5bfd94fd465eafc3e29aa6d8e
refs/heads/develop
2023-05-31T22:35:56.344904
2021-06-30T11:23:06
2021-06-30T11:23:06
303,947,456
0
0
MIT
2021-06-30T10:34:50
2020-10-14T08:14:46
Python
UTF-8
Python
false
false
381
py
# Generated by Django 2.0.8 on 2018-08-03 14:51 from django.db import migrations class Migration(migrations.Migration): dependencies = [ ('event', '0013_add_default_id_for_metadata'), ('core', '0003_rename_read_permissions'), ] operations = [ migrations.AlterModelOptions( ...
[ "reupen@users.noreply.github.com" ]
reupen@users.noreply.github.com
80c5c7cf5342a44c5852c7740bd5710c955ced36
6b201605227f11880c1d32c9cad300f6e29ff4ae
/Python/Buch_Python3_Das_umfassende_Praxisbuch/Kapitel_07_Sequenzen_Mengen_und_Generatoren/08_chapter_07_repetition_questions.py
0c221875dd13afd534b86ec96cd3820a2eaca0c7
[ "MIT" ]
permissive
Apop85/Scripts
e2e8e6ed0c0da08a4d7c895aa366c9305197137b
467c34e59f2708f2d2f8bb369c36fd782d365e8b
refs/heads/master
2022-12-08T08:11:04.566376
2022-05-13T13:17:04
2022-05-13T13:17:04
164,251,836
0
0
MIT
2022-12-08T01:50:22
2019-01-05T21:16:45
Python
UTF-8
Python
false
false
2,887
py
#!/usr/bin/env python3 # -*- coding:utf-8 -*- ### # File: 08_chapter_07_repetition_questions.py # Project: Kapitel_07_Sequenzen_Mengen_und_Generatoren # Created Date: Tuesday 05.03.2019, 16:17 # Author: Apop85 # ----- # Last Modified: Tuesday 05.03.2019, 16:43 # ----- # Copyright (c) 2019 Apop85 # This software is publ...
[ "39341618+Apop85@users.noreply.github.com" ]
39341618+Apop85@users.noreply.github.com
de11b77370f05d31f929a0e89ae8518b594ead80
8d47af9482444b07b52cf44cebcaf4b992df4d09
/agents/14_MinimumPRB/14.py
5f38c96b71c0088d5b0857b5e87d87b1363e01c9
[]
no_license
w0lv3r1nix/retro-agents
f4dbce2db558c880b161062796e5397be65bdd10
c7f93a737dc6c6fc5d8343c099e14bd2bc97aaf1
refs/heads/master
2020-08-01T01:19:41.660018
2018-06-13T04:28:09
2018-06-13T04:28:09
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,842
py
#!/usr/bin/env python """ Train an agent on Sonic using an open source Rainbow DQN implementation. """ import tensorflow as tf from anyrl.algos import DQN from anyrl.envs import BatchedGymEnv from anyrl.envs.wrappers import BatchedFrameStack from anyrl.models import rainbow_models from anyrl.rollouts import BatchedPl...
[ "seungjaeryanlee@gmail.com" ]
seungjaeryanlee@gmail.com
205a1f4bb79dfbfe132609918fb50ee0c8ed7da2
461cbe14775be116ea001ec36b8b9b4deb2f77bc
/lesson1.6_step7.py
42f6193f82db311382de80a482bc63b4c18cc740
[]
no_license
Adoyan-Grigor/stepik-auto-tests-course
898a653062cfa4bdf484a363b956ed2004ef0629
406b1498362538ebec27118083c3de5a94898140
refs/heads/master
2023-05-10T18:25:09.085013
2021-06-02T13:16:35
2021-06-02T13:16:35
369,514,851
0
0
null
null
null
null
UTF-8
Python
false
false
599
py
#!/usr/bin/python3 from selenium import webdriver import time try: browser = webdriver.Chrome() browser.get("http://suninjuly.github.io/huge_form.html") elements = browser.find_elements_by_css_selector('[type="text"]') for element in elements: element.send_keys("Мой ответ") button = brows...
[ "you@example.com" ]
you@example.com
aba19dd9fae018990c2a4be8d819f2689788d268
a0fb29f99a852089193e4cc9a11e7263dc3f8b5f
/mayan/apps/documents/tests/test_document_version_models.py
b19f865060f817d3028cfe3263bdeaa1716f406d
[ "Apache-2.0" ]
permissive
ikang9712/Mayan-EDMS
0e22a944d63657cea59c78023b604a01a622b52a
d6e57e27a89805329fe0c5582caa8e17882d94e6
refs/heads/master
2023-07-28T19:41:55.269513
2021-09-07T14:16:14
2021-09-07T14:16:14
402,884,683
1
0
NOASSERTION
2021-09-03T20:00:09
2021-09-03T20:00:09
null
UTF-8
Python
false
false
2,826
py
from ..literals import ( DOCUMENT_FILE_ACTION_PAGES_NEW, DOCUMENT_FILE_ACTION_PAGES_APPEND, DOCUMENT_FILE_ACTION_PAGES_KEEP ) from .base import GenericDocumentTestCase class DocumentVersionTestCase(GenericDocumentTestCase): def test_version_new_file_new_pages(self): test_document_version_page_con...
[ "roberto.rosario@mayan-edms.com" ]
roberto.rosario@mayan-edms.com
c4722abdfbd81b2b5a9a7eff8b02d361d255c7af
8a29f983b122602ef960d8c1f6fc6451569ed2d2
/te_discovery/conservation/extract_conservation_classes.py
166c8a4c459770ec2d21599a94d48d05cbd58982
[ "MIT" ]
permissive
oaxiom/hesc_lincrna
a4832841b49f2b9b0da6bf8a169857550a0e8797
7a87d426bba93a027794b6bea36f1ae61d5d205b
refs/heads/master
2022-05-08T04:16:57.760960
2022-04-02T00:17:57
2022-04-02T00:17:57
187,936,591
1
3
null
null
null
null
UTF-8
Python
false
false
2,718
py
import sys, os, itertools from collections import Counter import numpy as np import matplotlib.pyplot as plot import matplotlib.tri as tri from glbase3 import * import shared_conservation # collect three things: # 1. The total PhyloP score of the transcript # 2. score for TE-containing bits # 3. score for non-TE cont...
[ "oaxiom@gmail.com" ]
oaxiom@gmail.com
7ae56f768a8f140ecb1394772602106519a9ee18
eb38089224f1c2598f6ba17a28756bb040d4975a
/{{ cookiecutter.appname }}/program.py
04dd0d1ae5812276dd17999afe12ac501fb3280d
[]
no_license
zooba/sqlazure-cookiecutter-demo
b21afe1775547ca3ecc014396f53fb12170c3df9
eee1aed495cafc32d29ff5e335f4cf3963d1f7ba
refs/heads/master
2021-06-08T10:02:56.428740
2016-11-04T22:40:58
2016-11-04T22:40:58
null
0
0
null
null
null
null
UTF-8
Python
false
false
534
py
import pyodbc CONNECTION_STRING = "{{cookiecutter.connection_string}}" connection = pyodbc.connect(CONNECTION_STRING) # Read all cursor = connection.cursor() cursor.execute( "select LastName, Count(*) as 'Members' " "from {{cookiecutter.namespace}}.{{cookiecutter.table}} " "group by LastName " "havi...
[ "steve.dower@microsoft.com" ]
steve.dower@microsoft.com
d7c6e469c589e6a81c8cab720f7504fcc6b98f5c
f9d564f1aa83eca45872dab7fbaa26dd48210d08
/huaweicloud-sdk-bss/huaweicloudsdkbss/v2/model/list_quota_coupons_request.py
32bac674877d7d2748d85e8b59d9ef77c75969ef
[ "Apache-2.0" ]
permissive
huaweicloud/huaweicloud-sdk-python-v3
cde6d849ce5b1de05ac5ebfd6153f27803837d84
f69344c1dadb79067746ddf9bfde4bddc18d5ecf
refs/heads/master
2023-09-01T19:29:43.013318
2023-08-31T08:28:59
2023-08-31T08:28:59
262,207,814
103
44
NOASSERTION
2023-06-22T14:50:48
2020-05-08T02:28:43
Python
UTF-8
Python
false
false
3,159
py
# coding: utf-8 import six from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization class ListQuotaCouponsRequest: """ Attributes: openapi_types (dict): The key is attribute name and the value is attribute type. attribute_map (dict): The key is attr...
[ "hwcloudsdk@huawei.com" ]
hwcloudsdk@huawei.com
41fa742a05fa6098767800003e945f5fca7db849
b7ba98a9038f977f1efcbda5da2a41ae08e602ae
/exercises/21_jinja2/task_21_1c.py
d015a0565f2d71e065ba18dfbd812d00edb77cff
[]
no_license
Stanleygoo/pyneng-examples-exercises
f7914bc21aca119c7423af373a8b17b2917ea675
c27b608ac954149d841c0a53f1108a6100295544
refs/heads/master
2021-05-11T15:35:11.043546
2018-01-12T06:42:04
2018-01-12T06:42:04
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,721
py
# -*- coding: utf-8 -*- ''' Задание 21.1c Переделать функцию generate_cfg_from_template из задания 21.1, 21.1a или 21.1b: * сделать автоматическое распознавание разных форматов для файла с данными * для передачи разных типов данных, должен использоваться один и тот же параметр data Должны поддерживаться такие формат...
[ "nataliya.samoylenko@gmail.com" ]
nataliya.samoylenko@gmail.com
5778b74123229319dcbed1fffaeff1f0615fd64d
f4103057ccbe0c08ec51626cdd0c016acd446be9
/tensorflow_ReinForcementLearning/Dueling_Double_DQN/DuelingDoubleDQN.py
2fe050cc3bcf811ed260a73d7dd78486fb175870
[]
no_license
leehongpyo/Tensorflow_Advanced_Tutorials
e7cb0fe84e65f90fefa430893083b36981f587ec
1c76d35504b090a223294bc6648325dfe49a0e26
refs/heads/master
2020-04-29T11:00:50.485795
2019-03-16T14:24:13
2019-03-16T14:24:13
null
0
0
null
null
null
null
UTF-8
Python
false
false
28,261
py
import glob import os import shutil import time import cv2 import gym import matplotlib.animation as animation import matplotlib.pyplot as plt import numpy as np import tensorflow as tf from tqdm import tqdm class ReplayMemory(object): def __init__(self, maxlen, batch_size, with_replacement): self.maxl...
[ "medical18@naver.com" ]
medical18@naver.com
d0772dd0edd20d0af5d33d835497aa7e243a2f9f
afc4333ad944301ad969de445a5a4e3b223bb456
/greedy/greedy_03.py
c5f1ec91097b5ff762d82881078e50a0b2bf23bf
[]
no_license
ykiseong303/python_algorithm
4cf2df8c0ff2223eab70d246c87466d1ebc26133
e90268103983917835ba6dbcd14b4b515c3d0fae
refs/heads/main
2023-07-18T10:41:40.180855
2021-08-27T14:33:14
2021-08-27T14:33:14
342,607,860
0
0
null
null
null
null
UTF-8
Python
false
false
538
py
''' 분류 : 그리디 알고리즘 문제 : 1로 만들기 (이코테 문제) 작성일자 : 2021.02.26 ''' # 정수 N이 입력될 때 # K로 나누거나 1로 빼기 # 1까지 되는 연산을 사용하는 횟수의 최솟값을 출력 ## 목적 : N을 1로 만드는데 가장 적은 횟수로 수행하기 ## 접근 : 현재의 N 값에서 가장 작게 만들 수 있는 연산을 수행 N, K = map(int, input().split()) count = 0 while N>1 : if not N%K : N//=K else : N-=1 count...
[ "noreply@github.com" ]
ykiseong303.noreply@github.com
9d44c7fc30c7532a83cbfd55e8f20cb446146010
2f63688febd21dc3ae6b19abfa79ad313c820154
/0343_Integer_Break/try_3.py
528ae78d9d8cc6ac2b91f6f7d4fed33f238a4064
[]
no_license
novayo/LeetCode
cadd03587ee4ed6e35f60294070165afc1539ac8
54d0b3c237e0ffed8782915d6b75b7c6a0fe0de7
refs/heads/master
2023-08-14T00:35:15.528520
2023-07-30T05:56:05
2023-07-30T05:56:05
200,248,146
8
1
null
2022-11-19T04:37:54
2019-08-02T14:24:19
Python
UTF-8
Python
false
false
412
py
class Solution: def integerBreak(self, n: int) -> int: dp = [1] * (n+1) for _n in range(2, n+1): i, j = 1, _n-1 max_value = 0 while i <= j: max_value = max(max_value, max(i, dp[i]) * max(j, dp[j])) i,...
[ "f14051172@gs.ncku.edu.tw" ]
f14051172@gs.ncku.edu.tw
1558ce39aec8e8a80e658eadae3fa17706dbffbc
4315cfa1bd13f08053d549c7c00287a76d656f9e
/src/abc159/B.py
612261c7290dcb8c80f4dd9c313c478367e21286
[]
no_license
ma96o/atcoder_archive
1c47e2189b2d55e7f519349e02ceb24500e2164e
8bc21d351535eda1f81a47442156f92f234cf6c3
refs/heads/main
2023-08-13T17:03:13.855154
2021-09-15T14:55:00
2021-09-15T14:55:00
350,179,699
0
0
null
null
null
null
UTF-8
Python
false
false
161
py
s = input() n = len(s) hs = s[:(n-1)//2] vs = s[((n+3)//2-1):] if s == s[::-1] and hs == hs[::-1] and vs == vs[::-1]: print("Yes") exit() print("No")
[ "masaaki1915@gmail.com" ]
masaaki1915@gmail.com
325c7ead66c60a3d6d4100600e21b951274e002e
2efee5574ff160c97a94e243c1c820814b008058
/parse/atest.py
d1fb32e644208592b435d8764e45b986a204877e
[]
no_license
haobtc/blockinfo
5c18430f3f5eaa7b979c119945b686e0e09d2e1c
00a094d917224dbe6acb6565125badec14f2400f
refs/heads/master
2020-03-29T07:01:35.936157
2014-05-14T03:55:27
2014-05-14T03:55:27
17,733,081
0
0
null
null
null
null
UTF-8
Python
false
false
589
py
from bitcointools.deserialize import decode_script script = 'j(n\xd6{q\xado\xbcp3\xa74\x06>I\x84\x8dv\x9b\x89m\x83h\xfe\x05\x9e;7\xf0q\n\x1a\x89\x00\x00\x00\x00\x01\x00\x00\x00' script = 'j(\xd8`\x1d4\xd0\x07lLR/\xab\xe9\xa4>\x83\x87\xcb,\xaa\r\xec\xfcJ\xd0/\xc1\xda\x83o\xb8\xfe\xa4\x00\x00\x00\x00\x03\x00\x00\x00' ...
[ "superisaac.ke@gmail.com" ]
superisaac.ke@gmail.com
102137592b05149728da3095ba674e187218c5b7
7a9472018f8a5c06da7341746bdb54a91ec02df0
/client/locustfile.py
09f77e398421728f25ea0b2e23edca5f75a846d6
[]
no_license
nmaekawa/websockets-tst
fb55fcca04d953b086ae8c36e4c2df5c55566c0e
7278e134b1c60a87873a38f7bbff7f8e3b96fa1c
refs/heads/master
2022-07-27T00:31:53.448846
2020-01-28T21:33:22
2020-01-28T21:33:22
221,528,746
0
0
null
2022-05-25T03:33:53
2019-11-13T18:47:05
Python
UTF-8
Python
false
false
5,553
py
# # automated run: use --no-web and --csv # $> locust -f examples/basic.py --csv=example --no-web -t10m -c 1 -r 1 --host <hxat url> # import os import json import logging from random import randint from subprocess import Popen from subprocess import PIPE from uuid import uuid4 from locust import between from locust i...
[ "nmaekawa@g.harvard.edu" ]
nmaekawa@g.harvard.edu
a07aa91eec7899727971e8ef6382c7d6c75ff0dc
bf75d497793b9f5df14bacc368cb43a509615045
/accounts/migrations/0001_initial.py
0f45c720c0474885cb3946df0d1bf4ea76c3b478
[]
no_license
haruyasu/django-allauth-base
05202fff81f74e44ec8d41cafd141c66d97cc034
b7f65e4844331e3341ec9f562b9f71b79f333941
refs/heads/main
2023-07-18T21:53:47.670149
2021-09-22T06:24:06
2021-09-22T06:24:06
409,087,878
0
0
null
null
null
null
UTF-8
Python
false
false
2,397
py
# Generated by Django 3.2.7 on 2021-09-22 05:24 import accounts.models from django.db import migrations, models class Migration(migrations.Migration): initial = True dependencies = [ ('auth', '0012_alter_user_first_name_max_length'), ] operations = [ migrations.CreateModel( ...
[ "harukun2002@gmail.com" ]
harukun2002@gmail.com
69af161c933e2333c069fc3bf5828085f06d2373
ceb3d82494813cd21e38231964e098bb3efe093b
/Feature/structure_tensor_eigenvalues.py
f72a99520193f77a04dcbe1808375927c8ee383b
[ "Apache-2.0" ]
permissive
Joevaen/Scikit-image_On_CT
0c0a306a9ca18668bd9bb4105e577766b1d5578b
e3bf0eeadc50691041b4b7c44a19d07546a85001
refs/heads/main
2023-03-16T01:28:04.871513
2021-03-16T07:53:57
2021-03-16T07:53:57
344,071,656
0
0
null
null
null
null
UTF-8
Python
false
false
311
py
# 计算结构张量的特征值。 from skimage.feature import structure_tensor from skimage.feature import structure_tensor_eigenvalues import numpy as np square = np.zeros((5, 5)) square[2, 2] = 1 A_elems = structure_tensor(square, sigma=0.1, order='rc') print(structure_tensor_eigenvalues(A_elems)[0])
[ "joevaen@126.com" ]
joevaen@126.com
c1b3bd9f77d36739a30305d571e50d3ca6a74293
ae46ca697eabe8ec5eea14aa0e218f6b9f7d0457
/util/puzzle_runner.py
ab24a1ae85838269695b3f3f11c93e591fe295be
[]
no_license
MyreMylar/word_search
334993d0bd4eafa8a641ba09abf82d4f4cbbed48
4d33ad230240cbf259b374725122786118cf5b2c
refs/heads/master
2020-03-12T23:56:28.520090
2018-04-24T15:37:15
2018-04-24T15:37:15
130,876,847
0
0
null
null
null
null
UTF-8
Python
false
false
7,075
py
import hashlib import pygame from pygame.locals import * class Puzzle: def __init__(self, task, answer): self.task = task self.answer = answer self.answer_hash = "" self.correct = False class RenderedPuzzle: def __init__(self, task, task_size, answer, answer_size, result, res...
[ "dan@myrespace.com" ]
dan@myrespace.com
462d5c413f4d07555ec10a8367098bb854b7d802
e33fa4ac60f3504deb885d1c5af5df4127b2cc81
/src/azure-cli/azure/cli/command_modules/vm/tests/hybrid_2020_09_01/test_vm_commands.py
8962a2cbb656aee4f1a36ee25f34740bc68df4a0
[ "MIT", "LGPL-2.1-only", "GPL-1.0-or-later", "BSD-3-Clause", "MPL-2.0", "LGPL-2.1-or-later", "Apache-2.0", "BSD-2-Clause" ]
permissive
isabella232/azure-cli
d82f504480c9ff53f23cd383a4ec3fe67301132a
417d2189453437a4b109b0536c1131f73d53312e
refs/heads/dev
2023-03-07T14:11:11.093502
2020-12-04T08:33:12
2020-12-04T08:33:12
318,479,446
0
0
MIT
2021-02-23T20:57:28
2020-12-04T10:20:15
null
UTF-8
Python
false
false
87,641
py
# -------------------------------------------------------------------------------------------- # Copyright (c) Microsoft Corporation. All rights reserved. # Licensed under the MIT License. See License.txt in the project root for license information. # --------------------------------------------------------------------...
[ "noreply@github.com" ]
isabella232.noreply@github.com
031216c936d39754abde2a11c2e9bc24bcd35fdf
9560e118fafa944de93c5f6aec92a41a53825068
/webaskb_run.py
07997f0184ac34ea0c8d6c1d7cf93247b9085020
[]
no_license
cimeister/WebAsKB
6bedd567646495f3af8daf939cbf4ff9d674ee6e
b8f4488ce9a226bca0f0cff278cc84fd7d2d1f6c
refs/heads/master
2022-01-06T05:49:44.402051
2019-05-24T13:58:55
2019-05-24T13:58:55
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,265
py
from config import * from SplitQA import SplitQA from noisy_supervision import NoisySupervision from webaskb_ptrnet import WebAsKB_PtrNet import argparse parser = argparse.ArgumentParser() parser.add_argument("operation", help='available operations: "gen_noisy_sup","run_ptrnet" ,"train_ptrnet", "splitqa"') parser.add_...
[ "salont@gmail.com" ]
salont@gmail.com
2e295fa94dd0fee0546ab2840203eef3f5a2ae4e
14453c13d552165cabe72a310f44f7c58eaacad0
/tests/main/dsl/test_skip_passes.py
7cb4376f18205ffa80bb6f7e6da33bcb8a3eb791
[ "Apache-2.0" ]
permissive
ai2cm/pace
76a98ffae3baa92bd3b2ddc422b50dfa50255642
c543e8ec478d46d88b48cdd3beaaa1717a95b935
refs/heads/main
2023-07-06T07:18:11.558315
2022-12-22T21:45:34
2022-12-22T21:45:34
392,106,887
27
13
Apache-2.0
2023-07-03T13:47:46
2021-08-02T22:05:11
Python
UTF-8
Python
false
false
2,193
py
import unittest.mock # will need to update this import when gt4py is updated from gt4py.cartesian.gtc.passes.oir_optimizations.horizontal_execution_merging import ( HorizontalExecutionMerging, ) from gt4py.cartesian.gtc.passes.oir_pipeline import DefaultPipeline from gt4py.cartesian.gtscript import PARALLEL, compu...
[ "noreply@github.com" ]
ai2cm.noreply@github.com
99bbd9d46836511c97535c041251b08e19961ac9
a2062cce9fbc6a5392e188ffc1babd26f05e7814
/numpytutorial/basic/tutorial/multiplication.py
8cebe2369875b13916937e2b339ab2c1d3d6a809
[]
no_license
rohitaswchoudhary/spy_tutorial
65fa62b25891a076245cf6a1093ba8ccb9932d3c
0afdb9492f34a59a15d0531de5ca64d8ef8422af
refs/heads/main
2023-06-02T14:52:16.752137
2021-06-17T06:54:59
2021-06-17T06:54:59
328,871,875
2
0
null
null
null
null
UTF-8
Python
false
false
163
py
import numpy as np x = np.array([[1,3,0], [-1,2,1], [0, 0, 2]]) y = np.matrix([[2, 3, 4], [1,2,3], [-1,1,2]]) print(np.dot(x, y)) print(np.dot(y, x)) print(x==y)
[ "you@example.com" ]
you@example.com
2e9d806506c0eb1a705e0a484e74b7e78d806147
9e988c0dfbea15cd23a3de860cb0c88c3dcdbd97
/sdBs/AllRun/kepler_bd/sdB_kepler_bd_coadd.py
848fd3775b6bb4cab1b38014fff779fb2a41155a
[]
no_license
tboudreaux/SummerSTScICode
73b2e5839b10c0bf733808f4316d34be91c5a3bd
4dd1ffbb09e0a599257d21872f9d62b5420028b0
refs/heads/master
2021-01-20T18:07:44.723496
2016-08-08T16:49:53
2016-08-08T16:49:53
65,221,159
0
0
null
null
null
null
WINDOWS-1252
Python
false
false
421
py
from gPhoton.gMap import gMap def main(): gMap(band="NUV", skypos=[+42¡3250,286.91875], skyrange=[0.0333333333333,0.0333333333333], stepsz = 30., cntfile="/data2/fleming/GPHOTON_OUTPUT/LIGHTCURVES/sdBs/sdB_kepler_bd/sdB_kepler_bd_movie_count.fits", cntcoaddfile="/data2/fleming/GPHOTON_OUTPUT/LIGHTCURVES/sdB/sdB_keple...
[ "thomas@boudreauxmail.com" ]
thomas@boudreauxmail.com
f41ecf32c0cbade99fe1da798f042464bfb10985
c3082eb2adc43b311dd3c9ff16fd3ed9df85f266
/python/examples/pytest/fib7/test_fibonacci.py
412bfcf25a359af1ef1610c04a755329dca30286
[]
no_license
szabgab/slides
78818c7138331b3ba9e221c81da3678a46efe9b3
63bba06678554db737602f2fbcd6510c36037e8a
refs/heads/main
2023-08-31T07:13:51.536711
2023-08-29T13:17:59
2023-08-29T13:17:59
122,212,527
87
69
null
2023-05-19T06:55:11
2018-02-20T14:57:03
Python
UTF-8
Python
false
false
540
py
import pytest from fibonacci import fib def test_fib(): assert fib(10) == 55 def test_fib_negative(): with pytest.raises(Exception) as err: fib(-1) assert err.type == ValueError assert str(err.value) == 'Invalid parameter -1' def test_fib_negative_again(): with pytest.raises(ValueError) a...
[ "gabor@szabgab.com" ]
gabor@szabgab.com
7415b1fe6c3fef75bcb7ef26e5dc8d6ae6afa1de
7c384a56e1bcd66ad4ee4b9dd413c49ff9f71bf1
/mario.py
cd382e705f6e9b24ee0eb3b92eaf1623ec3f2094
[]
no_license
Rouen007/mario
d9405c016ac172d5b38c26fa239a27be51662448
da5a678feefdcf3e8b220c1c6e8fd0ef67f285b7
refs/heads/master
2020-09-27T07:08:55.213068
2017-10-07T22:38:20
2017-10-07T22:38:20
null
0
0
null
null
null
null
UTF-8
Python
false
false
5,822
py
#!/usr/bin/env python """Mario Gym Adventure! python mario.py ppaquette/meta-SuperMarioBros-v0 \ -a DQFDAgent -c mario_agent.json \ -ld ./demos/ -s ./agents/ -m ./monitors/ -mv 1000 -D """ from __future__ import absolute_import from __future__ import division from __future__ import print_function import argparse...
[ "samwenke@gmail.com" ]
samwenke@gmail.com
9970485c230cc96aa9656113f34c690f37407afc
c2ff2ee2b0c84e047a80cfdf0b0d0b122fc9db79
/VL-BERT/cls/function/train.py
edfa314cfd96d29555f476a8c80cc34b2e73dc0a
[ "MIT" ]
permissive
obarnard99/vilio
275dcb62cdb8b2d8c55ab1e73f3a796bd2073a5b
77aac226c3a0910410f11a5999f8908181f57ccd
refs/heads/master
2023-06-29T17:02:02.282457
2021-06-22T09:50:11
2021-06-22T09:50:11
337,738,373
0
0
MIT
2021-06-22T09:50:12
2021-02-10T13:50:49
Python
UTF-8
Python
false
false
20,986
py
import os import pprint import shutil import inspect import random from tensorboardX import SummaryWriter import imgaug import numpy as np import torch import torch.nn import torch.optim as optim import torch.distributed as distributed from torch.nn.parallel import DistributedDataParallel as DDP from loguru import log...
[ "obarnard99@gmail.com" ]
obarnard99@gmail.com
adc963ff1204c00fb87b90795664b46370b2735d
a1e10efa6a131e305351909a437bfa5d083d4513
/summary_product_report/reports/product_sales_qty_report/product_sales_qty_report.py
399f5bde169bc9bdd57785835dabc268a4757791
[]
no_license
h3llopy/glodok_extra_addons_od12
5089412b36b0dafdb17235a627c8e33ed2acbb1f
5c493962b93254fb2ca8cd674c4fe153ac86d680
refs/heads/master
2022-12-05T06:22:08.182302
2020-08-29T14:32:30
2020-08-29T14:32:30
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,188
py
# -*- coding: utf-8 -*- from odoo import models, fields, api, _,tools from odoo.exceptions import UserError,ValidationError import logging _logger = logging.getLogger(__name__) class ProductSalesQtyReport(models.Model): _name = 'product.sales.qty.report' _description = 'Product Sales Qty Report' _auto = False ...
[ "kikin.kusumah@gmail.com" ]
kikin.kusumah@gmail.com
7ea725be597104cfa2dac6fd1b1f81b9726da36d
13f4a06cd439f579e34bf38406a9d5647fe7a0f3
/script/try_python/try_Django/mzitu_com/mzitu_com_project/mzitu_com_project/home_page_transform.py
595accd90ae239ec0258a9fae2673b5f268d2f68
[]
no_license
edt-yxz-zzd/python3_src
43d6c2a8ef2a618f750b59e207a2806132076526
41f3a506feffb5f33d4559e5b69717d9bb6303c9
refs/heads/master
2023-05-12T01:46:28.198286
2023-05-01T13:46:32
2023-05-01T13:46:32
143,530,977
2
2
null
null
null
null
UTF-8
Python
false
false
5,505
py
__all__ = ''' home_page_transform__url home_page_transform__page extract_mzitu_com__the_all_or_old_page '''.split() #NotFoundError #find from nn_ns.internet.webpage.fetch_webpage import fetch_webpage from seed.helper.repr_input import repr_helper from bs4 import BeautifulSoup import re from ...
[ "wuming_zher@zoho.com.cn" ]
wuming_zher@zoho.com.cn
eb7284de08d0db2639a08a3dc6348c377f0be6e4
b53e3d57d31a47a98d87141e44a5f8940ee15bca
/src/utils/socket_client/socket_client.py
d64c219641216ff48c67160faa9ad2d93b41bdeb
[ "MIT" ]
permissive
Chrissimple/program-y
52177fcc17e75fb97ab3993a4652bcbe7906bd58
80d80f0783120c2341e6fc57e7716bbbf28a8b3f
refs/heads/master
2020-03-29T13:20:08.162177
2018-09-26T19:09:20
2018-09-26T19:09:20
149,952,995
1
0
null
2018-09-23T06:11:04
2018-09-23T06:11:04
null
UTF-8
Python
false
false
651
py
# client.py import socket import sys import json host = sys.argv[1] port = int(sys.argv[2]) question = sys.argv[3] clientid = sys.argv[4] max_size = 1024 if len(sys.argv) == 6: max_size = sys.argv[5] payload = {"question": question, "clientid": clientid} json_data = json.dumps(payload) # create a so...
[ "keith@keithsterling.com" ]
keith@keithsterling.com
c5a78fbd2e9b6d4765751767fa9482d51b71cf16
7986ec6498e3f93967fa9bfe2b6a9d4056138293
/Protheus_WebApp/Modules/SIGAFIN/FINA171TESTCASE.py
d514f8aee6362dfcd0583815fa42b1334b983c59
[ "MIT" ]
permissive
HelenaAdrignoli/tir-script-samples
7d08973e30385551ef13df15e4410ac484554303
bb4f4ab3a49f723216c93f66a4395e5aa328b846
refs/heads/master
2023-02-21T11:26:28.247316
2020-04-28T16:37:26
2020-04-28T16:37:26
257,304,757
0
0
MIT
2020-04-20T14:22:21
2020-04-20T14:22:20
null
UTF-8
Python
false
false
1,786
py
from tir import Webapp import unittest class FINA171(unittest.TestCase): @classmethod def setUpClass(inst): inst.oHelper = Webapp() inst.oHelper.Setup('SIGAFIN','12/09/2019','T1','D MG 01 ','06') inst.oHelper.Program("FINA171") def test_FINA171_CT006(self): self.oHelper.SetButton("Incluir") self.oHelper...
[ "hadrignoli@gmail.com" ]
hadrignoli@gmail.com
d391896c768c79d6b6c61cc58b27a4c668f5ec58
bf0d7c8d987d5fda14208eb9ce70e31c83c25c25
/dl-stl/nn_util.py
d8f272e50ceddd2ac441aa7907285d1d7fa4afd1
[]
no_license
SummerBigData/SamRepo
7876e9393c7175e300e175a60c17633c3b23a1bb
fd84ad654370faa48c084349952c2921fde4032d
refs/heads/master
2020-03-18T05:09:08.787956
2018-06-18T17:11:49
2018-06-18T17:11:49
134,327,137
0
0
null
null
null
null
UTF-8
Python
false
false
9,666
py
from scipy.io import loadmat from scipy.special import expit from sklearn.preprocessing import OneHotEncoder import scipy.optimize as opt import numpy as np import sae_util from read_mnist import * #from prepro import crop import os from functools import reduce """ Global variables """ # I know they're gross Js, accs...
[ "lerner98@gmail.com" ]
lerner98@gmail.com
78bf6e82317ffebd4169455cfddeb3ae20aa7715
8b0fdc693d2551b38d9d99fadc848b333add69a5
/Sesion-04/Ejemplo-03/Bedutravels/Bedutravels/urls.py
a1d9b62d633ad4f342931ebac32211dee0e2cf66
[]
no_license
mayela/Backend-con-Python-Expert
cb2e7f924f37e6c321ed75fc74aad3cf557ecb66
12adb17c0227a48e2252e1c830f0706e9dc36682
refs/heads/master
2022-11-12T19:14:22.365643
2020-07-04T03:18:29
2020-07-04T03:18:29
256,653,359
0
3
null
2020-04-18T02:27:47
2020-04-18T02:27:46
null
UTF-8
Python
false
false
848
py
"""Bedutravels URL Configuration The `urlpatterns` list routes URLs to views. For more information please see: https://docs.djangoproject.com/en/2.2/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...
[ "rictor@cuhrt.com" ]
rictor@cuhrt.com
cd1d00359df9774b800509d1661d19dd46beb71a
61bccf4117ba351365a2526603024a0e99e2559f
/pseudo/api_translators/python_api_handlers.py
3c5ed44386fdc67cbeaac8e5745a3471fdeff16d
[ "MIT" ]
permissive
gitter-badger/pseudo
781363ee0c116ee0d7dfce968b007708a33c8bc4
070a2649d47170927184ad19af8c32c7be4f7612
refs/heads/master
2021-01-22T15:43:29.890465
2016-03-07T03:42:19
2016-03-07T03:42:19
53,293,990
0
0
null
2016-03-07T03:48:09
2016-03-07T03:48:08
null
UTF-8
Python
false
false
2,630
py
from pseudo.pseudo_tree import Node, call, method_call, local, assignment, to_node from pseudo.api_handlers import BizarreLeakingNode, NormalLeakingNode def expand_map(receiver, func): if func.type == 'lambda': return Node( '_py_list_comp', sequence=receiver) else: retur...
[ "alehander42@gmail.com" ]
alehander42@gmail.com
2a208e38f3ee3b3d5ad2f906c8d4f09584af8142
3d7383bd777c9c49525ac7a0565b21ddea22f480
/draw/migrations/0003_canvas_in_use.py
285857b18f75cec4f092b92ad0eb9c1de1bb493c
[]
no_license
eranfuchs1/draw-factory
34b785f97960adc7f4ddf105c355f83d0c83f7d7
064f481a5f42a72d6ca2945b145f688ca819ac39
refs/heads/main
2023-08-17T21:24:40.737542
2021-10-10T13:53:32
2021-10-10T13:53:32
411,957,018
0
0
null
null
null
null
UTF-8
Python
false
false
380
py
# Generated by Django 3.2.7 on 2021-09-16 13:32 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('draw', '0002_auto_20210910_0639'), ] operations = [ migrations.AddField( model_name='canvas', name='in_use', ...
[ "xer@xer-labtop" ]
xer@xer-labtop
9040a4631960319ec6148982d433cd13b8960be8
255e19ddc1bcde0d3d4fe70e01cec9bb724979c9
/all-gists/4975214/snippet.py
89b2ebfbf651f8646080afc7aa78e741eb01c122
[ "MIT" ]
permissive
gistable/gistable
26c1e909928ec463026811f69b61619b62f14721
665d39a2bd82543d5196555f0801ef8fd4a3ee48
refs/heads/master
2023-02-17T21:33:55.558398
2023-02-11T18:20:10
2023-02-11T18:20:10
119,861,038
76
19
null
2020-07-26T03:14:55
2018-02-01T16:19:24
Python
UTF-8
Python
false
false
1,947
py
#!/usr/bin/env python3 # Joonas Kuorilehto 2013 # This script is Public Domain. import csv import subprocess import pipes from datetime import datetime import smtplib from email.mime.text import MIMEText EMAIL = ************** ADB_BINARY = "adt-bundle-linux-x86_64/sdk/platform-tools/adb" SMS_DB = "/data/data/com.and...
[ "gistshub@gmail.com" ]
gistshub@gmail.com
2c9a8ded7947bcb9ce4a3f05b9e33107d4f561f4
297497957c531d81ba286bc91253fbbb78b4d8be
/testing/web-platform/tests/tools/wptrunner/wptrunner/browsers/chrome.py
c04e715a20e5eaa0635c562676c17e8f89f45cf7
[ "LicenseRef-scancode-unknown-license-reference", "BSD-3-Clause" ]
permissive
marco-c/gecko-dev-comments-removed
7a9dd34045b07e6b22f0c636c0a836b9e639f9d3
61942784fb157763e65608e5a29b3729b0aa66fa
refs/heads/master
2023-08-09T18:55:25.895853
2023-08-01T00:40:39
2023-08-01T00:40:39
211,297,481
0
0
NOASSERTION
2019-09-29T01:27:49
2019-09-27T10:44:24
C++
UTF-8
Python
false
false
5,676
py
from . import chrome_spki_certs from .base import WebDriverBrowser, require_arg from .base import NullBrowser from .base import get_timeout_multiplier from .base import cmd_arg from ..executors import executor_kwargs as base_executor_kwargs from ..executors.executorwebdriver import WebDriverCrashtestExecutor f...
[ "mcastelluccio@mozilla.com" ]
mcastelluccio@mozilla.com
449a53f9deeb2701e3efcf585c996e3261bf2469
47243c719bc929eef1475f0f70752667b9455675
/bungeni.buildout/branches/bungeni.buildout-refactor-2010-06-02/src/bungeni.main/bungeni/plonepas/tests/test_groupmanager.py
e3b5b1c457f18909d4cec8c2e9e29f42507e0cc5
[]
no_license
malangalanga/bungeni-portal
bbf72ce6d69415b11287a8796b81d4eb6520f03a
5cf0ba31dfbff8d2c1b4aa8ab6f69c7a0ae9870d
refs/heads/master
2021-01-19T15:31:42.943315
2014-11-18T09:03:00
2014-11-18T09:03:00
32,453,405
0
0
null
null
null
null
UTF-8
Python
false
false
8,943
py
# tests from sqlpasplugin ( GPL v2 ) from bungeni.plonepas.tests import basetestcase from Products.PlonePAS.plugins.group import PloneGroup class TestGroupManager( basetestcase.BaseTestCase ): def afterSetUp( self ): self.group_name = "ExampleReporters" self.groupname = self.group_name s...
[ "ashok.hariharan@fc5d704a-7d24-0410-8c4a-57ddeba10ffc" ]
ashok.hariharan@fc5d704a-7d24-0410-8c4a-57ddeba10ffc
b4b41d922e148e8957787f9ba6595f80af7ff5cd
f83ef53177180ebfeb5a3e230aa29794f52ce1fc
/opencv/opencv-3.4.2/modules/python/test/test_algorithm_rw.py
c925a99e7b378e4a2de119a09516b8791426e911
[ "Apache-2.0", "BSD-3-Clause" ]
permissive
msrLi/portingSources
fe7528b3fd08eed4a1b41383c88ee5c09c2294ef
57d561730ab27804a3172b33807f2bffbc9e52ae
refs/heads/master
2021-07-08T01:22:29.604203
2019-07-10T13:07:06
2019-07-10T13:07:06
196,183,165
2
1
Apache-2.0
2020-10-13T14:30:53
2019-07-10T10:16:46
null
UTF-8
Python
false
false
945
py
#!/usr/bin/env python """Algorithm serializaion test.""" import tempfile import os import cv2 as cv from tests_common import NewOpenCVTests class algorithm_rw_test(NewOpenCVTests): def test_algorithm_rw(self): fd, fname = tempfile.mkstemp(prefix="opencv_python_algorithm_", suffix=".yml") os.close(...
[ "lihuibin705@163.com" ]
lihuibin705@163.com
0372fae3ea1b5eb2527a825a9ca4ed488c4356f6
dcce56815dca2b18039e392053376636505ce672
/dumpscripts/urllib_parse_parse_qs.py
ac161429c77b20833f8c030beec791aacc03a8ed
[]
no_license
robertopauletto/PyMOTW-it_3.0
28ff05d8aeccd61ade7d4107a971d9d2576fb579
c725df4a2aa2e799a969e90c64898f08b7eaad7d
refs/heads/master
2021-01-20T18:51:30.512327
2020-01-09T19:30:14
2020-01-09T19:30:14
63,536,756
4
1
null
null
null
null
UTF-8
Python
false
false
184
py
# urllib_parse_parse_qs.py from urllib.parse import parse_qs, parse_qsl encoded = 'foo=foo1&foo=foo2' print('parse_qs :', parse_qs(encoded)) print('parse_qsl:', parse_qsl(encoded))
[ "roberto.pauletto@gmail.com" ]
roberto.pauletto@gmail.com
51240397ecfcb413842739d74156a0b5203fe35a
0e478f3d8b6c323c093455428c9094c45de13bac
/src/OTLMOW/PostenMapping/Model/Post050403123.py
d2a98778acbe6ecbe359b1c4d49180ede0abb679
[ "MIT" ]
permissive
davidvlaminck/OTLMOW
c6eae90b2cab8a741271002cde454427ca8b75ba
48f8c357c475da1d2a1bc7820556843d4b37838d
refs/heads/main
2023-01-12T05:08:40.442734
2023-01-10T15:26:39
2023-01-10T15:26:39
432,681,113
3
1
MIT
2022-06-20T20:36:00
2021-11-28T10:28:24
Python
UTF-8
Python
false
false
3,021
py
# coding=utf-8 from OTLMOW.PostenMapping.StandaardPost import StandaardPost from OTLMOW.PostenMapping.StandaardPostMapping import StandaardPostMapping # Generated with PostenCreator. To modify: extend, do not edit class Post050403123(StandaardPost): def __init__(self): super().__init__( nummer...
[ "david.vlaminck@mow.vlaanderen.be" ]
david.vlaminck@mow.vlaanderen.be
b65a91e413453aed3092f09662080605f87d4241
53fab060fa262e5d5026e0807d93c75fb81e67b9
/backup/user_170/ch56_2020_04_13_18_33_51_184386.py
97a6e222fa37eaba3134408fe7f6157aca76afa4
[]
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
97
py
import math def calcula_norma(vetor): m = math.sqrt((vetor[0]**2)+(vetor[1]**2)) return m
[ "you@example.com" ]
you@example.com
eb8d813a61a828c9efb6c8ec52af1b6ef4a5c794
91824d746654fe12881b4fc3b55c553aae0d22ac
/py/redundant-connection.py
ab5fad839fdb7996e843187b4f2991bc9032bb7b
[ "Apache-2.0" ]
permissive
ckclark/leetcode
a1a173c67a36a3256b198f853fcd3d15aa5abbb7
844c6f18d06dcb397db76436e5f4b8ddcb1beddc
refs/heads/master
2021-01-15T08:14:43.368516
2020-02-14T07:25:05
2020-02-14T07:30:10
42,386,911
0
0
null
null
null
null
UTF-8
Python
false
false
1,284
py
from collections import defaultdict class Solution(object): def findRedundantConnection(self, edges): """ :type edges: List[List[int]] :rtype: List[int] """ visited = set() parent = dict() neighbors = defaultdict(list) edge_idx = {tuple(sorted(e)): i f...
[ "clark.ck@gmail.com" ]
clark.ck@gmail.com
43c894cedddac6fcbb06773d61b19cb93d4bf03c
2a8c18a9fd129337c043fd2363b48450f0c3185f
/test/gst-msdk/transcode/vc1.py
7e4155599e586463311c20b1dd91b128b51208b1
[ "BSD-3-Clause", "LicenseRef-scancode-unknown-license-reference" ]
permissive
intel/vaapi-fits
9641af9d684a7643c18c7f95e9411b807b2a3ae1
a60be1833b408fee665d0f717a10804ac2fb8ed4
refs/heads/master
2023-09-03T01:15:21.981271
2023-08-25T18:33:26
2023-09-01T14:05:15
164,735,279
26
34
BSD-3-Clause
2023-09-14T11:10:49
2019-01-08T21:24:18
Python
UTF-8
Python
false
false
515
py
## ### Copyright (C) 2018-2019 Intel Corporation ### ### SPDX-License-Identifier: BSD-3-Clause ### from ....lib import * from ....lib.gstreamer.msdk.util import * from ....lib.gstreamer.msdk.transcoder import TranscoderTest spec = load_test_spec("vc1", "transcode") class default(TranscoderTest): @slash.parametrize...
[ "ullysses.a.eoff@intel.com" ]
ullysses.a.eoff@intel.com
7c0227292f7dfe64bf7c5b85a67c03683090503b
b15d2787a1eeb56dfa700480364337216d2b1eb9
/samples/cli/accelbyte_py_sdk_cli/platform/_create_user_payment_order.py
c36e358769fc38c7aedebc890ffc637ee047d686
[ "MIT" ]
permissive
AccelByte/accelbyte-python-sdk
dedf3b8a592beef5fcf86b4245678ee3277f953d
539c617c7e6938892fa49f95585b2a45c97a59e0
refs/heads/main
2023-08-24T14:38:04.370340
2023-08-22T01:08:03
2023-08-22T01:08:03
410,735,805
2
1
MIT
2022-08-02T03:54:11
2021-09-27T04:00:10
Python
UTF-8
Python
false
false
2,810
py
# Copyright (c) 2021 AccelByte Inc. All Rights Reserved. # This is licensed software from AccelByte Inc, for limitations # and restrictions contact your company contract manager. # # Code generated. DO NOT EDIT! # template_file: python-cli-command.j2 # AGS Platform Service (4.32.1) # pylint: disable=duplicate-code #...
[ "elmernocon@gmail.com" ]
elmernocon@gmail.com
b08feec8aa0ebf1c8e0ffc71a57504ca08bfc238
b550eda62179ffd8e49a59df7f8a30163140204f
/backend/openshift/services/data/data/dependencies/xml_templates.py
c3e9ee5b62ab44ae3a4c242f93e504762286d3bc
[ "Apache-2.0" ]
permissive
bgoesswe/openeo-repeatability
6222fb235b70fda9da998b63fec92c0e5ac07169
087b9965e710d16cd6f29cb25e2cb94e443c2b30
refs/heads/master
2022-12-11T03:43:35.365574
2018-08-07T20:02:02
2018-08-07T20:02:02
139,158,921
0
1
null
2022-12-08T02:15:15
2018-06-29T14:27:34
Python
UTF-8
Python
false
false
2,291
py
xml_base = ( "<?xml version='1.0' encoding='ISO-8859-1' standalone='no'?>" "<csw:GetRecords " "xmlns:csw='http://www.opengis.net/cat/csw/2.0.2' " "xmlns:ogc='http://www.opengis.net/ogc' " "service='CSW' " "version='2.0.2' " "resultType='results' " "startPosition='{start_position}' " ...
[ "bernhard.goesswein@geo.tuwien.ac.at" ]
bernhard.goesswein@geo.tuwien.ac.at
8630e43fdef88303ac3890a023c2a9d9ba234303
f062af64ce156719203b79de9c2502b265af27de
/tensorflow_datasets/image_classification/imagenet2012_fewshot.py
8ceb0f003db906d5f9ee337a88de732cb52626d6
[ "Apache-2.0" ]
permissive
tensorflow/datasets
d0c58f3db7ce06347671558b9e5a41e12e6913ce
41ae3cf1439711ed2f50f99caa0e6702082e6d37
refs/heads/master
2023-08-31T03:23:16.581638
2023-08-30T17:25:34
2023-08-30T17:29:38
148,221,325
4,224
1,738
Apache-2.0
2023-09-14T14:04:22
2018-09-10T21:27:22
Python
UTF-8
Python
false
false
938
py
# coding=utf-8 # Copyright 2023 The TensorFlow Datasets Authors. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by appl...
[ "no-reply@google.com" ]
no-reply@google.com
c6f1362845b8706526e3c4be24be5c5c66831c22
2a0865c583a12c66fdd1e7a62535b3e35482d37b
/CarAI/joshua_work/old/tutorial/Code/04_code/Lights/src/Application.py
cd596a8094bb301022e4217d73fa06d9531e57e5
[]
no_license
MyAusweis/UnrealAI
fe4a6df2859143cd4ca66a063016fc4d22d62bb7
9e5ad6b93df7ecf2293de10d41f09969c42404b3
refs/heads/master
2022-02-11T12:43:52.129313
2018-07-01T22:08:23
2018-07-01T22:08:23
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,520
py
from direct.showbase.ShowBase import ShowBase from direct.actor.Actor import Actor from panda3d.core import * class Application(ShowBase): def __init__(self): ShowBase.__init__(self) self.panda = Actor("panda", {"walk": "panda-walk"}) self.panda.reparentTo(render) self.panda.loop("...
[ "joshualevy44@berkeley.edu" ]
joshualevy44@berkeley.edu
c3d153ca37a314d7c408e5e91912577ac96dcadd
1c69aaf4ff5c9bbabd4e4e3486e3f442808f96ea
/models/r4/datarequirement.py
937eab9daf208c74b3db857de895f03fdab3d00f
[]
no_license
glow-mdsol/devday-boston-clinical-research
72565289b27e9d6105640ec14749e07d7bc14014
560a8141bc3bd1ae5a31b110e82863e25b4ce9f8
refs/heads/master
2020-03-20T00:48:32.862642
2018-06-20T15:33:29
2018-06-20T15:33:29
137,056,522
2
0
null
null
null
null
UTF-8
Python
false
false
8,253
py
#!/usr/bin/env python # -*- coding: utf-8 -*- # # Generated from FHIR 3.3.0 (http://hl7.org/fhir/StructureDefinition/DataRequirement) on 2018-05-12. # 2018, SMART Health IT. from . import element class DataRequirement(element.Element): """ Describes a required data item. Describes a required data item...
[ "glow@mdsol.com" ]
glow@mdsol.com
79dbda9c85e5d684dfa0a8d30200484398c05def
c83473c2f9b63429f40e8a4806ab49305815c81d
/feature_cross_script/feature_cross_run.py
ba39e49faa933a1e1c10cfa9a816e7e26ae97afd
[]
no_license
pelinbalci/machinelearning
f8f84cda07a2ae87f23598188a6c148badb6e15f
33e9786ea49f114c24c02dbf24e33434d0421f65
refs/heads/master
2022-11-15T19:55:46.633659
2020-07-05T18:38:54
2020-07-05T18:38:54
273,779,533
1
0
null
null
null
null
UTF-8
Python
false
false
1,798
py
from feature_cross_script.feature_cross import import_dataset, scale_label, shuffle_df, create_model, train_model, \ plot_the_loss_curve, create_feature_columns, create_feature_layer, create_bucket_features, create_crossed_feature,\ evaluate_model from parameters import learning_rate, epochs, batch_size, label_...
[ "balci.pelin@gmail.com" ]
balci.pelin@gmail.com
22c64eb6e9eab3d47ae40216f2afd52aa7f58a5a
1000884faf988644d9abe02525c885307fd36f98
/day17/about_md/about_md/settings.py
d507ca2e1f90a0399406b7229861aae74f267488
[ "MIT" ]
permissive
gengna92/PythonProjects
e6f88eb36f636420fbede8e204490c0b3e4c24fc
12d223eb1ec8f90992ea87df79f10ea8c745c4cb
refs/heads/master
2021-08-27T20:48:26.675942
2021-08-14T06:59:34
2021-08-14T06:59:34
166,172,714
0
0
MIT
2021-08-14T07:00:08
2019-01-17T06:28:52
HTML
UTF-8
Python
false
false
3,263
py
""" Django settings for about_md project. Generated by 'django-admin startproject' using Django 1.11.20. For more information on this file, see https://docs.djangoproject.com/en/1.11/topics/settings/ For the full list of settings and their values, see https://docs.djangoproject.com/en/1.11/ref/settings/ """ import ...
[ "gengna@new4g.cn" ]
gengna@new4g.cn
f8eccd51f10bf0fadf99e4d474c60d6a0231a31e
a782e8b77eb9a32ffb2c3f417125553693eaee86
/scripts/fuzzing/check_fuzzer.py
bcb62977c4837b69f26a61f593dc9e38d7478b1d
[ "BSD-3-Clause" ]
permissive
xyuan/fuchsia
9e5251517e88447d3e4df12cf530d2c3068af290
db9b631cda844d7f1a1b18cefed832a66f46d56c
refs/heads/master
2022-06-30T17:53:09.241350
2020-05-13T12:28:17
2020-05-13T12:28:17
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,737
py
#!/usr/bin/env python2.7 # Copyright 2019 The Fuchsia Authors. All rights reserved. # Use of this source code is governed by a BSD-style license that can be # found in the LICENSE file. import argparse import sys from lib.args import ArgParser from lib.device import Device from lib.fuzzer import Fuzzer from lib.host ...
[ "commit-bot@chromium.org" ]
commit-bot@chromium.org
fb5988d10e71565e8e3ad8c771429b17c9cbe261
16fa36449c5b7843923ab40fe37e0563b0f811cf
/r05.py
fe6bda675e4ac8d9443bddda2d5ecdb8a5937750
[ "Apache-2.0" ]
permissive
netlabcode/reader
1d34787c3d619af4d28c08f989e8c0976f18773a
9d42bef6ccb35266abec87db5a2df9bc9d77c355
refs/heads/main
2023-04-17T08:45:15.397981
2021-05-06T05:09:10
2021-05-06T05:09:10
354,858,950
0
0
null
null
null
null
UTF-8
Python
false
false
8,139
py
import psycopg2 from datetime import datetime import binascii import _thread import time import socket PORT1 = 8805 def serverX(): with socket.socket(socket.AF_INET, socket.SOCK_STREAM) as s1: s1.bind(('',PORT1)) s1.listen() conn1, addr = s1.accept() ...
[ "noreply@github.com" ]
netlabcode.noreply@github.com
9953913a4f3c4ad0d5c3c64721526baac7fcac32
0f0530b06a59fe6cfaa74b0030d892256e33c666
/aioworkers/net/web/client.py
2734c1f7df6ac6cc16ae2630104baf89ad73f93e
[ "Apache-2.0" ]
permissive
nicoddemus/aioworkers
c269b470be5be0c2a59fb2a91d3a285f54125735
4ab85064844dc28141833d1348989d8c891f3d7d
refs/heads/master
2022-12-06T21:22:29.976784
2020-08-22T11:42:53
2020-08-22T11:43:24
291,555,920
0
0
Apache-2.0
2020-08-30T21:37:29
2020-08-30T21:37:28
null
UTF-8
Python
false
false
3,021
py
import logging import urllib.error import urllib.request from http.client import HTTPResponse from typing import Any, Awaitable, Callable, Mapping, Optional, Tuple, Union from aioworkers.core.base import ExecutorEntity from aioworkers.http import URL logger = logging.getLogger(__name__) class Request: def __ini...
[ "yttrium@somedev.ru" ]
yttrium@somedev.ru
a87f5d3a4d2ddee0778d8d514182dbd29955b027
eb33ebb7c144cce5a6a1b039a2cb5dd331bd7863
/asl/datasets/__init__.py
dcf753cb829208644b2265248b2084a642addeb7
[]
no_license
zenna/asl
aeaa2c3cb0f204cf42e03528765d660bd3799ea8
6753eb29f3b1826c40df2eae1dff0dad34629423
refs/heads/master
2021-09-10T12:11:22.304508
2018-02-08T16:02:10
2018-02-08T16:02:10
59,302,612
0
0
null
null
null
null
UTF-8
Python
false
false
23
py
from .omniglot import *
[ "zennatavares@gmail.com" ]
zennatavares@gmail.com
c38a71aa6745843566b5e5e68584da67b3d9b12f
1ba8794a7e38c19fda1cf3a02a4e55004a4f99ec
/pandas/tests/scalar/test_na_scalar.py
e68e49814245f91df964719c373d4f4943563f87
[ "BSD-3-Clause" ]
permissive
souravs17031999/pandas
51003c705c12f2f78d6c264c4333aabf5da7d312
8cdbebd6be92d317e0d21679c5891a10dbf8efe7
refs/heads/master
2020-09-24T13:46:40.314995
2019-12-04T05:40:28
2019-12-04T05:40:28
225,654,387
1
0
BSD-3-Clause
2019-12-04T03:13:02
2019-12-03T15:33:22
Python
UTF-8
Python
false
false
2,751
py
import numpy as np import pytest from pandas._libs.missing import NA from pandas.core.dtypes.common import is_scalar import pandas as pd import pandas.util.testing as tm def test_singleton(): assert NA is NA new_NA = type(NA)() assert new_NA is NA def test_repr(): assert repr(NA) == "NA" asse...
[ "jeff@reback.net" ]
jeff@reback.net
d933617badf4c3b39e324ad69a7ee50c2c10378b
5496b9682dec06925f3572e64d7f1eb48d78ebe1
/src/advection_scenarios/create_grid_spacing.py
ab9a14e171f5c9db216a14e05f9a775bf97de885
[]
no_license
VictorOnink/Lagrangian-Transport-Scenarios
64bec8b992e2909a05b0258524dbae25f967ea29
586bcecc42d6a7f4f299507da8f0cb29c8d71a2e
refs/heads/master
2023-04-14T12:22:29.309172
2022-07-11T18:46:38
2022-07-11T18:46:38
297,894,637
1
0
null
null
null
null
UTF-8
Python
false
false
1,595
py
import settings import utils import numpy as np import xarray import progressbar def create_grid_spacing(output_name: str, grid: np.array, lon: np.array, lat: np.array): grid_lon_spacing = np.zeros(grid.shape) grid_lat_spacing = np.zeros(grid.shape) for lat_step in progressbar.progressbar(range(grid.shap...
[ "31734765+VictorOnink@users.noreply.github.com" ]
31734765+VictorOnink@users.noreply.github.com
8475480405ab57c758c966b738b679c6d1f6aef0
b9e99a828952ffeab9767e625c0061cb3ea5b670
/Python编程从入门到实践/data_visual/csv_test/highs_lows.py
2d91031ecfd543481f909f68a6c6648d8d98b679
[]
no_license
ZGA101421/Python3_Project
95d95e23858ef92f6825f018605089c105303ad3
fa30f876fd13890743bc81d1521534c340575132
refs/heads/master
2022-04-03T07:03:46.369710
2019-12-30T15:22:21
2019-12-30T15:22:21
null
0
0
null
null
null
null
UTF-8
Python
false
false
3,117
py
#!/usr/bin/env python # -*- encoding: utf-8 -*- ''' @File : highs_lows.py @Time : 2019/04/06 22:32:59 @Author : leacoder @Version : 1.0 @Contact : leacock1991@gmail.com @License : @Desc : 处理CSV文件数据,matplotlib绘制最高温度最低温度折线图 ''' # here put the import lib # c sv 模块包含在Python标准库中 import csv from m...
[ "986740304@qq.com" ]
986740304@qq.com
504f5eee881638bdd210fa2544365df828b26b6e
ca2b69402afa6149d3b4995c790e9462ecd245b3
/sandbox/static/__init__.py
af788b2604708cd27c0678d84780a7588ddabfbc
[]
no_license
rmorshea/idom-sandbox
9f3d6a8b65312d37e774aafa68395b7653978edf
77e885e70254e3c37c4c3e322c4a6b5edc03b223
refs/heads/master
2020-07-06T00:02:23.564898
2019-09-09T16:34:35
2019-09-09T16:34:35
202,823,384
1
0
null
null
null
null
UTF-8
Python
false
false
64
py
from .view import SandboxView from .server import SandboxServer
[ "ryan.morshead@gmail.com" ]
ryan.morshead@gmail.com
01bd12889f388d73cf9422ad1c2e2a22e6480f55
c92a60d7968130cf21b20a943976c0e1929b6eb8
/apps/yoga_schedule/apps.py
0ae9c7f6dfa79f96758b668ccb0054d74c3d34e7
[]
no_license
BeAnhTran/yoga-center-website
efb40103f343b9be627ce926156e66fe9f985435
8b7532f103a73a467cd903923f7cd2ccfc09d949
refs/heads/master
2022-11-25T09:51:27.000385
2020-08-03T01:44:22
2020-08-03T01:44:22
null
0
0
null
null
null
null
UTF-8
Python
false
false
100
py
from django.apps import AppConfig class YogaScheduleConfig(AppConfig): name = 'yoga schedule'
[ "giatruongtran27@gmail.com" ]
giatruongtran27@gmail.com
5f939ea970bddbb00c0137ac68aa23127fa09de8
affe80fe068100199dcf64e16c305d1e2b8ca0bf
/official/modeling/progressive/train_lib_test.py
a64b6da3fd504b3c60317df44a150dc891cb416b
[ "Apache-2.0" ]
permissive
farshbafdoustar/models
2c8c474e2e6f0bb38e1679282e8b64c39f58d3b1
3a2e407ce3871551b0074bcf10a0d6ee180bbdb2
refs/heads/master
2023-01-31T19:11:23.084582
2020-12-19T09:26:44
2020-12-19T09:26:44
322,809,980
0
0
Apache-2.0
2020-12-19T09:27:09
2020-12-19T09:22:00
Python
UTF-8
Python
false
false
5,807
py
# Copyright 2020 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applica...
[ "gardener@tensorflow.org" ]
gardener@tensorflow.org
d90e9983e678c614e1ad4d95be16bb3c39cb1ccb
6ccb55befcbc69caa351b8337fdd40e55dbb802f
/venv/bin/update-tld-names
f14760f6fbf606e71bb165ba44b46f3f3723847d
[]
no_license
FiacreT/M-moire
cc0791cbf98bf565ea637e6ec409611bcc596c57
4089755191ffc848614247e98bbb641c1933450d
refs/heads/master
2022-12-12T21:55:23.679854
2019-09-06T23:28:03
2019-09-06T23:28:03
187,702,532
2
2
null
2022-12-08T01:04:58
2019-05-20T19:39:21
Python
UTF-8
Python
false
false
192
#!/home/fiacre/Python-Project/datasploit-master/venv/bin/python2 # We should have absolute imports here from tld.commands.update_tld_names import main if __name__ == "__main__": main()
[ "hervesoubgui57@gmail.com" ]
hervesoubgui57@gmail.com
c8d425241dc48565765bc90cd2afed9745c89bb4
ddb185b0cf581d85a1dd733a6d1e5d027ba3e0ca
/phase1/993.py
9933eaf67c3581eb880d47702addd2ff933ea70c
[]
no_license
GavinPHR/code
8a319e1223a307e755211b7e9b34c5abb00b556b
b1d8d49633db362bbab246c0cd4bd28305964b57
refs/heads/master
2020-05-16T04:09:19.026207
2020-04-30T10:00:06
2020-04-30T10:00:06
182,766,600
1
0
null
null
null
null
UTF-8
Python
false
false
937
py
# Cousins in Binary Tree from binarytree import TreeNode, makeTree import collections class Solution: def isCousins(self, root: TreeNode, x: int, y: int) -> bool: if root.val == x or root.val == y: return False def re(root, val, level): if not root: return ...
[ "gavinsweden@gmail.com" ]
gavinsweden@gmail.com
ff7d9e4d8bf6c338b93d2ca521b0c02ba9e27b95
109d501eeb83981c058bf1e01f10c7851f3866b5
/people/forms.py
22d0e3360774fbe291e21dbe27ebd94aaac1f2fb
[]
no_license
alikhundmiri/revenue_source_directory
028f8164d7a6a5d62f24b1a0214664718c866291
636311269557352d901e47f847b044dc2a7545dc
refs/heads/master
2022-12-16T20:51:44.327649
2018-09-24T13:50:17
2018-09-24T13:50:17
137,063,499
0
0
null
2022-12-08T02:14:33
2018-06-12T11:43:40
JavaScript
UTF-8
Python
false
false
1,237
py
from django import forms from django.core.validators import validate_email from .models import contact_details # Form for accepting new interviews class InterviewRequestForm(forms.ModelForm): class Meta: model = contact_details fields = [ 'contact_form', 'contact', ] def clean_contact(self): this_con...
[ "salikhundmiri@gmail.com" ]
salikhundmiri@gmail.com
915041a61b6a71d83948b1377ec6af9eacdb1a07
89213af925471c5954a12d0fe5bb47dfd988c351
/tree/0199_right_side_view_BT.py
b9c870d5a7eb7f463f9325d660bcbb7aa25e8deb
[]
no_license
seanchen513/leetcode
be554dd668221b6d03c598090d6684165bc512c5
4723a64b00502c824bb9b848a1737478096aa3e1
refs/heads/master
2021-11-10T11:50:16.674255
2021-11-10T02:57:02
2021-11-10T02:57:02
237,393,266
1
0
null
null
null
null
UTF-8
Python
false
false
2,972
py
""" 199. Binary Tree Right Side View Medium Given a binary tree, imagine yourself standing on the right side of it, return the values of the nodes you can see ordered from top to bottom. Example: Input: [1,2,3,null,5,null,4] Output: [1, 3, 4] Explanation: 1 <--- / \ 2 3 <--- \ \ ...
[ "seanchen513@gmail.com" ]
seanchen513@gmail.com
d8c4edc6e935f0f2cb02543ebdf08f69695c523c
d77a0d5a18af141d36005eba1769f7384f5ce1d4
/mDataAn_venv/Lib/site-packages/numpy/testing/tests/test_decorators.py
69c1c9ad4a3558ad02edf36dd0e0855c6e0df6d9
[]
no_license
LukasPolon/MData
32d756d0df8c8847cf45b8def6e5ef760963d895
2178a0b2f60c4c638fd696a6e11b0ef801724bf4
refs/heads/master
2022-12-11T15:02:07.528855
2018-01-07T16:22:58
2018-01-07T16:22:58
99,687,079
1
0
null
2021-06-01T22:04:39
2017-08-08T11:51:11
Python
UTF-8
Python
false
false
4,493
py
from __future__ import division, absolute_import, print_function import warnings from numpy.testing import (dec, assert_, assert_raises, run_module_suite, SkipTest, KnownFailureException) def test_slow(): @dec.slow def slow_func(x, y, z): pass assert_(slo...
[ "lukaspolon@gmail.com" ]
lukaspolon@gmail.com
476bac64cef86314952c912a9db75dc57df22e7f
9d0195aa83cc594a8c61f334b90375961e62d4fe
/JTTest/SL7/CMSSW_10_2_15/src/dataRunA/nano3676.py
87a1e1712ffb762de3c1ab0b52a020fbd9e03258
[]
no_license
rsk146/CMS
4e49592fc64f6438051544c5de18598db36ed985
5f8dab8c59ae556598b9747b52b88205fffc4dbe
refs/heads/master
2022-12-01T03:57:12.126113
2020-08-04T03:29:27
2020-08-04T03:29:27
284,863,383
0
0
null
null
null
null
UTF-8
Python
false
false
4,293
py
# Auto generated configuration file # using: # Revision: 1.19 # Source: /local/reps/CMSSW/CMSSW/Configuration/Applications/python/ConfigBuilder.py,v # with command line options: nanoAOD_jetToolbox_cff -s NANO --data --eventcontent NANOAOD --datatier NANOAOD --no_exec --conditions 102X_dataRun2_Sep2018Rereco_v1 --era...
[ "rsk146@scarletmail.rutgers.edu" ]
rsk146@scarletmail.rutgers.edu
430153ab989c70328c2d747dca69ee952a2d761e
03ae0dee75698f5012d80b218e71500181cd3e68
/cd2h_repo_project/utils.py
62197a6d92d58546d86f4a14193d1f23d3f6e3fb
[ "MIT", "LicenseRef-scancode-unknown-license-reference" ]
permissive
galterlibrary/InvenioRDM-at-NU
0b5e5043f67d0dc12960c00617ad2b7e14f4f6e8
5aff6ac7c428c9a61bdf221627bfc05f2280d1a3
refs/heads/master
2020-03-20T14:45:50.950239
2019-09-26T19:14:45
2019-09-26T19:14:45
137,494,704
6
0
MIT
2019-09-26T19:14:47
2018-06-15T14:06:06
Python
UTF-8
Python
false
false
630
py
"""General utility functions for any module.""" from flask_principal import AnonymousIdentity, Identity, RoleNeed, UserNeed def get_identity(user): """Returns the identity for a given user instance. This is needed because we are more explicit then Flask-Principal and it is MUCH more convenient for tests....
[ "fenekku@fenekku.com" ]
fenekku@fenekku.com
457faf21e9fc6f3d361e17dc6880d7510c0822b5
2d0bada349646b801a69c542407279cc7bc25013
/src/vai_optimizer/example/pruning/tensorflow_v1/resnet50_pruning.py
3f6b05b1cd1911eaf0f109cd895db49dffccf932
[ "Apache-2.0", "BSD-3-Clause", "LicenseRef-scancode-generic-cla", "BSD-3-Clause-Open-MPI", "LicenseRef-scancode-free-unknown", "Libtool-exception", "GCC-exception-3.1", "LicenseRef-scancode-mit-old-style", "OFL-1.1", "JSON", "LGPL-2.1-only", "LGPL-2.0-or-later", "ICU", "LicenseRef-scancode-...
permissive
Xilinx/Vitis-AI
31e664f7adff0958bb7d149883ab9c231efb3541
f74ddc6ed086ba949b791626638717e21505dba2
refs/heads/master
2023-08-31T02:44:51.029166
2023-07-27T06:50:28
2023-07-27T06:50:28
215,649,623
1,283
683
Apache-2.0
2023-08-17T09:24:55
2019-10-16T21:41:54
Python
UTF-8
Python
false
false
2,145
py
# MIT License # # Copyright (c) 2023 Advanced Micro Devices, Inc. # # Permission is hereby granted, free of charge, to any person obtaining a copy # of this software and associated documentation files (the "Software"), to deal # in the Software without restriction, including without limitation the rights # to use, copy...
[ "do-not-reply@gitenterprise.xilinx.com" ]
do-not-reply@gitenterprise.xilinx.com
17329d67a9eef61295267530f6d4eed9da6ec6a4
a63d907ad63ba6705420a6fb2788196d1bd3763c
/src/api/datahub/access/tests/modules/collector/no_factory_test.py
7cb318fa5707ad99aaceecb1edeccc1dd7dd0110
[ "MIT" ]
permissive
Tencent/bk-base
a38461072811667dc2880a13a5232004fe771a4b
6d483b4df67739b26cc8ecaa56c1d76ab46bd7a2
refs/heads/master
2022-07-30T04:24:53.370661
2022-04-02T10:30:55
2022-04-02T10:30:55
381,257,882
101
51
NOASSERTION
2022-04-02T10:30:56
2021-06-29T06:10:01
Python
UTF-8
Python
false
false
3,992
py
# -*- coding: utf-8 -*- """ Tencent is pleased to support the open source community by making BK-BASE 蓝鲸基础平台 available. Copyright (C) 2021 THL A29 Limited, a Tencent company. All rights reserved. BK-BASE 蓝鲸基础平台 is licensed under the MIT License. License for BK-BASE 蓝鲸基础平台: ------------------------------------------...
[ "terrencehan@tencent.com" ]
terrencehan@tencent.com
ff370d8533a9be416e4441f7a342c23059b406b2
973713f993166b1d0c2063f6e84361f05803886d
/Day01-15/09_exercise_8.py
bcd5d38fd6e777cae500b75373d3bdd0c6b4c445
[ "MIT" ]
permissive
MaoningGuan/Python-100-Days
20ad669bcc0876b5adfbf2c09b4d25fd4691061a
d36e49d67a134278455438348efc41ffb28b778a
refs/heads/master
2022-11-17T12:24:45.436100
2020-07-18T02:24:42
2020-07-18T02:24:42
275,157,107
0
0
null
null
null
null
UTF-8
Python
false
false
3,995
py
#!/usr/bin/env python # -*- coding: utf-8 -*- """ 扑克游戏 """ import random class Card(object): """一张牌""" def __init__(self, suite, face): self._suite = suite self._face = face @property def face(self): return self._face @property def suite(self): return self._s...
[ "1812711281@qq.com" ]
1812711281@qq.com
a60c7006ec0c959e30a9e86876873f261277a809
aa6e1dd07a71a73bc08574b76f9e57a3ce8c8286
/077.Test_BeeWare_windows/beeware-tutorial/beeware-venv/Lib/site-packages/git/refs/reference.py
aaa9b63fe7fa10fe82bb3632e3410b491b042f8e
[ "MIT" ]
permissive
IvanaXu/PyTools
0aff5982f50bb300bfa950405192c78473b69537
358ae06eef418fde35f424909d4f13049ca9ec7b
refs/heads/master
2023-06-07T21:45:44.242363
2023-06-06T16:00:25
2023-06-06T16:00:25
163,940,845
60
8
MIT
2022-12-23T02:49:05
2019-01-03T07:54:16
Python
UTF-8
Python
false
false
4,408
py
from git.util import ( LazyMixin, Iterable, ) from .symbolic import SymbolicReference __all__ = ["Reference"] #{ Utilities def require_remote_ref_path(func): """A decorator raising a TypeError if we are not a valid remote, based on the path""" def wrapper(self, *args): if not self.is_remot...
[ "1440420407@qq.com" ]
1440420407@qq.com
bce5d26895cbbaa98ad04b69f939816ec032ddc7
7feebb0a6c7751ad2b1870efd63c85c2d8f670bb
/txaioetcd/_client_aio.py
6de2f28359bb6d9ba8c403a216e4fef45e309398
[ "MIT" ]
permissive
om26er/txaio-etcd
edbcfe65ac19c8f4326944f0b0bcae986e7aa3fe
0ed71ba01ab13acebf874ddf650f880bb1e676a5
refs/heads/master
2021-01-02T23:36:01.330887
2017-09-14T18:28:21
2017-09-14T18:28:21
99,502,890
0
0
null
2017-08-06T17:36:17
2017-08-06T17:36:17
null
UTF-8
Python
false
false
2,579
py
############################################################################### # # The MIT License (MIT) # # Copyright (c) Crossbar.io Technologies GmbH # # Permission is hereby granted, free of charge, to any person obtaining a copy # of this software and associated documentation files (the "Software"), to deal # in ...
[ "tobias.oberstein@tavendo.de" ]
tobias.oberstein@tavendo.de
20803dc548bd9f4077e54216bfe95ec8e10adf13
d94b6845aeeb412aac6850b70e22628bc84d1d6d
/gfsa/training/simple_train.py
d352630a277e5c92d7087e72fc751cf46dc4ca7d
[ "CC-BY-4.0", "Apache-2.0" ]
permissive
ishine/google-research
541aea114a68ced68736340e037fc0f8257d1ea2
c1ae273841592fce4c993bf35cdd0a6424e73da4
refs/heads/master
2023-06-08T23:02:25.502203
2023-05-31T01:00:56
2023-05-31T01:06:45
242,478,569
0
0
Apache-2.0
2020-06-23T01:55:11
2020-02-23T07:59:42
Jupyter Notebook
UTF-8
Python
false
false
2,569
py
# coding=utf-8 # Copyright 2023 The Google Research Authors. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicab...
[ "copybara-worker@google.com" ]
copybara-worker@google.com
f86f0b7160e46973c357dad4d8d75a61687f58b3
ff413ecba8eb6a3f8afc225bd1339abac453202c
/project/admin_bot/keyboards/adding_products_to_package_kb.py
fb360b13d90fd94339878386bb1388ab12bda04c
[]
no_license
Artvell/bot
561b614fde5d19335736ac390e35814afd6b6180
0b85a5efc4c302f522bf23a23fbbbc8a9efc7008
refs/heads/main
2023-08-10T17:10:21.500433
2021-09-11T12:54:32
2021-09-11T12:54:32
405,372,665
0
0
null
null
null
null
UTF-8
Python
false
false
372
py
from aiogram.types import InlineKeyboardButton, InlineKeyboardMarkup def adding_kb(package_id): keyboard = InlineKeyboardMarkup() keyboard.add(InlineKeyboardButton("Добавить",switch_inline_query_current_chat="")) keyboard.add(InlineKeyboardButton("Закончить добавление",callback_data=f"end_adding_{package_i...
[ "artem.karimov.98@gmail.com" ]
artem.karimov.98@gmail.com
bb9b72d22626e0d25fcc15eb9591c80556396118
ca7aa979e7059467e158830b76673f5b77a0f5a3
/Python_codes/p02699/s167779272.py
5ae2267cef04e2bb394c6351bcb67a32ba3d4e70
[]
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
149
py
def main(): S, W = list(map(int, input().split())) print("unsafe" if S <= W else "safe") pass if __name__ == '__main__': main()
[ "66529651+Aastha2104@users.noreply.github.com" ]
66529651+Aastha2104@users.noreply.github.com
6154ea85af213859285844a8e9cbf8f6b018ff55
d37f798101bc6cc795b3ff7e5f9444ff30b4cd83
/kubernetes/client/models/v1alpha1_parent_reference.py
18f7447520f6057f4d3b3f73bc21bd1645ac457f
[ "Apache-2.0" ]
permissive
MorningSong/python
bdd8b9d60b7c2185457fc1bbbc64d098f9682981
ae7b5ddd219fe09b6ed0be715dcca3377a029584
refs/heads/master
2023-08-30T14:41:41.582335
2023-08-23T16:15:28
2023-08-23T16:15:28
139,396,247
0
0
Apache-2.0
2023-09-14T00:11:24
2018-07-02T05:47:43
Python
UTF-8
Python
false
false
6,766
py
# coding: utf-8 """ Kubernetes No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 The version of the OpenAPI document: release-1.27 Generated by: https://openapi-generator.tech """ import pprint import re # noqa: F401 import si...
[ "yliao@google.com" ]
yliao@google.com
eafd3efda8542b0d4645d3e90c82145723998525
2fb738f3bdabebf32296150405486377dba7812b
/nuitka/freezer/DependsExe.py
18433052e9e87ad3cdd5729630829cc4c783b534
[ "Apache-2.0", "LicenseRef-scancode-warranty-disclaimer" ]
permissive
goslion/Nuitka
31f62c9083a1eaec104d64eeebc0b9fb50560812
4a30a987b1586271c31822f574ca2584d1107212
refs/heads/master
2023-03-03T08:06:13.420278
2021-02-07T22:06:13
2021-02-07T22:06:13
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,923
py
# Copyright 2021, Kay Hayen, mailto:kay.hayen@gmail.com # # Part of "Nuitka", an optimizing Python compiler that is compatible and # integrates with CPython, but also works on its own. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in complianc...
[ "kay.hayen@gmail.com" ]
kay.hayen@gmail.com