blob_id
stringlengths
40
40
directory_id
stringlengths
40
40
path
stringlengths
3
288
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
684 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
147 values
src_encoding
stringclasses
25 values
language
stringclasses
1 value
is_vendor
bool
2 classes
is_generated
bool
2 classes
length_bytes
int64
128
12.7k
extension
stringclasses
142 values
content
stringlengths
128
8.19k
authors
listlengths
1
1
author_id
stringlengths
1
132
d15740ee02928888baf46ea11ad875d8f4194fcc
da0a7446122a44887fa2c4f391e9630ae033daa2
/python/ray/train/tests/test_torch_trainer.py
8ccc79b096a47fcfdea805fb3ec786775f9cd30b
[ "MIT", "BSD-3-Clause", "Apache-2.0" ]
permissive
whiledoing/ray
d8d9ba09b7545e8fd00cca5cfad451278e61fffd
9272bcbbcae1630c5bb2db08a8279f0401ce6f92
refs/heads/master
2023-03-06T16:23:18.006757
2022-07-22T02:06:47
2022-07-22T02:06:47
252,420,044
0
0
Apache-2.0
2023-03-04T08:57:20
2020-04-02T10:07:23
Python
UTF-8
Python
false
false
3,493
py
import pytest from ray.air import session from ray.air.checkpoint import Checkpoint import torch import ray from ray.air.examples.pytorch.torch_linear_example import ( train_func as linear_train_func, ) from ray.train.torch import TorchPredictor, TorchTrainer from ray.tune import TuneError from ray.air.config impo...
[ "noreply@github.com" ]
whiledoing.noreply@github.com
174dff48ac9b3bf40f36add33d6c4d489b16d1c6
267867b5bcaeeed26228a295b877a62473e1d1bb
/scripts/python/client.py
f4a4d313384dccede10d4ca0c3367a4ffb51601e
[]
no_license
gitgaoqian/cloud_v2
602a2a3ea8e4457606ce9f1a55e2166c9b227781
b35d89132799042ac34eba435b76c311c2a4b287
refs/heads/master
2021-05-06T07:08:52.055547
2021-01-24T12:25:38
2021-01-24T12:25:38
113,935,952
0
0
null
null
null
null
UTF-8
Python
false
false
546
py
#!/usr/bin/env python import sys import rospy from cloud_v2.srv import call def local_client(service,action): rospy.wait_for_service('bridge_service') try: client = rospy.ServiceProxy('bridge_service', call) resp1 = client(service,action) return resp1 except rospy.ServiceException,...
[ "734756851@qq.com" ]
734756851@qq.com
0cce847454191ea31bb62590d59b1466784e8cc7
ef8c5c55b6ec3971adff9afe2db1f76556b87082
/code_examples.bak/wave2d_numpy_f90_cuda/wave2d_2plot.py
8ecd2c9c6ad280e4676bd5d9c627e86e1cdfa832
[]
no_license
wbkifun/my_stuff
7007efc94b678234097abf0df9babfbd79dcf0ff
0b5ad5d4d103fd05989b514bca0d5114691f8ff7
refs/heads/master
2020-12-10T22:40:28.532993
2017-11-15T11:39:41
2017-11-15T11:39:41
5,178,225
1
0
null
null
null
null
UTF-8
Python
false
false
1,863
py
#------------------------------------------------------------------------------ # Author : Ki-Hwan Kim (kh.kim@kiaps.org) # # Written date : 2010. 6. 17 # Modify date : 2012. 9. 17 # # Copyright : GNU GPL # # Description : # Solve the 2-D wave equation with the FD(Finite-Difference) scheme # # These are educationa...
[ "kh.kim@kiaps.org" ]
kh.kim@kiaps.org
ea43c9fb9d97749418f21a7acb65a4abd48d203b
786027545626c24486753351d6e19093b261cd7d
/ghidra9.2.1_pyi/ghidra/file/formats/ios/decmpfs/DecmpfsHeader.pyi
14fadb23d185b60636313cbd85e5c0fceeb233fc
[ "MIT" ]
permissive
kohnakagawa/ghidra_scripts
51cede1874ef2b1fed901b802316449b4bf25661
5afed1234a7266c0624ec445133280993077c376
refs/heads/main
2023-03-25T08:25:16.842142
2021-03-18T13:31:40
2021-03-18T13:31:40
338,577,905
14
1
null
null
null
null
UTF-8
Python
false
false
1,782
pyi
from typing import List import ghidra.app.util.bin import ghidra.program.model.data import java.lang class DecmpfsHeader(object, ghidra.app.util.bin.StructConverter): ASCII: ghidra.program.model.data.DataType = char BYTE: ghidra.program.model.data.DataType = byte DWORD: ghidra.program.model.data.DataType ...
[ "tsunekou1019@gmail.com" ]
tsunekou1019@gmail.com
fdfbe937a2a646632ade4d132625cc393a0fe83c
90cd41da01e181bf689feb6d305a2610c88e3902
/senlin/tests/tempest/api/clusters/test_cluster_delete_negative.py
5e9aab7633647c77ac10cac70360dffb82e45287
[ "Apache-2.0" ]
permissive
paperandsoap/senlin
368980e1fb01d91659f8b0d7dd532c3260386fa7
5d98dae3911aa4d5b71e491f3a4e0c21371cc75a
refs/heads/master
2020-12-25T17:45:02.490958
2016-05-29T14:42:39
2016-05-29T14:42:39
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,100
py
# Licensed under the Apache License, Version 2.0 (the "License"); you may # not use this file except in compliance with the License. You may obtain # a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, software # distributed under t...
[ "tengqim@cn.ibm.com" ]
tengqim@cn.ibm.com
84c5278933ccbfe033e99a67fd923dea7a9c80d2
2af6a5c2d33e2046a1d25ae9dd66d349d3833940
/res_bw/scripts/common/lib/encodings/utf_32.py
6a7ba7022f222c97d748b69be9c9ec7f90231268
[]
no_license
webiumsk/WOT-0.9.12-CT
e6c8b5bb106fad71b5c3056ada59fb1aebc5f2b2
2506e34bd6634ad500b6501f4ed4f04af3f43fa0
refs/heads/master
2021-01-10T01:38:38.080814
2015-11-11T00:08:04
2015-11-11T00:08:04
45,803,240
0
0
null
null
null
null
WINDOWS-1250
Python
false
false
4,805
py
# 2015.11.10 21:35:58 Střední Evropa (běžný čas) # Embedded file name: scripts/common/Lib/encodings/utf_32.py """ Python 'utf-32' Codec """ import codecs, sys encode = codecs.utf_32_encode def decode(input, errors = 'strict'): return codecs.utf_32_decode(input, errors, True) class IncrementalEncoder(codecs.Incre...
[ "info@webium.sk" ]
info@webium.sk
856f194b3643fa63d846f488a7b5eaa655451e14
e00186e71a1f52b394315a0cbc27162254cfffb9
/durga/full_durga/withrestc1/withrestc1/asgi.py
9033cff3915786e32a148f3a2d204f1ea519d37c
[]
no_license
anilkumar0470/git_practice
cf132eb7970c40d0d032520d43e6d4a1aca90742
588e7f654f158e974f9893e5018d3367a0d88eeb
refs/heads/master
2023-04-27T04:50:14.688534
2023-04-22T05:54:21
2023-04-22T05:54:21
100,364,712
0
1
null
2021-12-08T19:44:58
2017-08-15T10:02:33
Python
UTF-8
Python
false
false
397
py
""" ASGI config for withrestc1 project. It exposes the ASGI callable as a module-level variable named ``application``. For more information on this file, see https://docs.djangoproject.com/en/3.2/howto/deployment/asgi/ """ import os from django.core.asgi import get_asgi_application os.environ.setdefault('DJANGO_SE...
[ "anilkumar.0466@gmail.com" ]
anilkumar.0466@gmail.com
d76a7713552cf333afc6141ab7be1d25632b568f
a777170c979214015df511999f5f08fc2e0533d8
/claf/data/reader/bert/glue/qnli.py
4b5a99b0e21fb352e87ffcf6d20182905ddebe0e
[ "MIT", "Apache-2.0", "BSD-3-Clause" ]
permissive
srlee-ai/claf
210b2d51918cf210683e7489ccb8347cb8b1f146
89b3e5c5ec0486886876ea3bac381508c6a6bf58
refs/heads/master
2021-02-13T04:38:36.198288
2020-03-03T15:01:01
2020-03-03T15:01:01
244,661,892
0
0
MIT
2020-03-03T14:45:52
2020-03-03T14:45:52
null
UTF-8
Python
false
false
1,660
py
import logging from overrides import overrides from claf.data.reader import SeqClsBertReader from claf.decorator import register logger = logging.getLogger(__name__) @register("reader:qnli_bert") class QNLIBertReader(SeqClsBertReader): """ QNLI DataReader for BERT * Args: file_paths: .tsv fil...
[ "humanbrain.djlee@gmail.com" ]
humanbrain.djlee@gmail.com
33ccbd6363bc7859a7fc752f05cad29813f8f354
bd72c02af0bbd8e3fc0d0b131e3fb9a2aaa93e75
/Tree/binary_tree_paths.py
3eaa605aa96b08ee364375160ae8865b257bf882
[]
no_license
harvi7/Leetcode-Problems-Python
d3a5e8898aceb11abc4cae12e1da50061c1d352c
73adc00f6853e821592c68f5dddf0a823cce5d87
refs/heads/master
2023-05-11T09:03:03.181590
2023-04-29T22:03:41
2023-04-29T22:03:41
222,657,838
1
0
null
null
null
null
UTF-8
Python
false
false
482
py
class Solution: def binaryTreePaths(self, root: TreeNode) -> List[str]: paths = [] if not root: return paths self.dfs(root, "", paths) return paths def dfs(self, root, path, paths): path = path + str(root.val) if not root.left and not root.right: ...
[ "iamharshvirani7@gmail.com" ]
iamharshvirani7@gmail.com
5e7794458fd0973c267d8c6df2b78d63abcb4d98
be9960512ddf562516c4f2d909577fc6b9750f19
/packages/jet_bridge_base/jet_bridge_base/filters/filter_class.py
80997d750eb1d9a781847a4872c1e3298f7df9e4
[ "MIT" ]
permissive
timgates42/jet-bridge
9abdc8bdf420c720a30d6db163649a2a74c6b829
80c1f3a96dc467fd8c98cbdfbda2e42aa6a1d3b4
refs/heads/master
2023-03-16T03:19:08.358590
2022-06-14T16:26:14
2022-06-14T16:26:14
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,993
py
from jet_bridge_base.utils.queryset import get_session_engine from sqlalchemy import inspect from jet_bridge_base.filters import lookups from jet_bridge_base.filters.filter import Filter from jet_bridge_base.filters.filter_for_dbfield import filter_for_data_type class FilterClass(object): filters = [] def _...
[ "f1nal@cgaming.org" ]
f1nal@cgaming.org
0b33acfc0a8e92200b6bb9ff425ee92732e063f5
de24f83a5e3768a2638ebcf13cbe717e75740168
/moodledata/vpl_data/24/usersdata/146/11428/submittedfiles/av1_m3.py
5a721a4808aefc5e4ee7ce452cf07957f8fd7305
[]
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
330
py
# -*- coding: utf-8 -*- from __future__ import division import math m = input('Digite o numero de termos: ') soma = 0 i = 1 den = 2 while i<=m : if i%2==0: soma = soma - 4/((den)*(den+1)*(den+2)) else: soma = soma + 4/((den+2)*(den+1)*(den+2)) den = den+1 i = i+1 pi = 3+soma print ('...
[ "rafael.mota@ufca.edu.br" ]
rafael.mota@ufca.edu.br
1b330ed34ebbd7922f0d6f1b9d56a7a7c71f35db
f819fe72c5b18b42a25a71dc2900c7fa80e17811
/pandas/_libs/tslibs/timestamps.pyi
4de51d4dc7dd8f5b04a87cd41a4ae72ca0ed76a2
[ "BSD-3-Clause" ]
permissive
JMBurley/pandas
34d101425acb0ac35a53bcf29fbd47c2d4c88fda
b74dc5c077971301c5b9ff577fa362943f3c3a17
refs/heads/master
2022-11-06T00:48:41.465865
2022-06-13T19:30:11
2022-06-13T19:30:11
229,853,377
1
0
BSD-3-Clause
2019-12-24T02:11:54
2019-12-24T02:11:53
null
UTF-8
Python
false
false
7,504
pyi
from datetime import ( date as _date, datetime, time as _time, timedelta, tzinfo as _tzinfo, ) from time import struct_time from typing import ( ClassVar, TypeVar, overload, ) import numpy as np from pandas._libs.tslibs import ( BaseOffset, Period, Tick, Timedelta, ) _...
[ "noreply@github.com" ]
JMBurley.noreply@github.com
4c011ed2da70f655d3aa386df74a1e326d494d21
1ada3010856e39c93e2483c960aa8fc25e2b3332
/Binary Tree/FullBT.py
034233595a63dbed3ebcff43dae5e8c12860eb95
[]
no_license
Taoge123/LeetCode
4f9e26be05f39b37bdbb9c1e75db70afdfa1b456
4877e35a712f59bc7b8fffa3d8af2ffa56adb08c
refs/heads/master
2022-02-24T20:09:21.149818
2020-07-31T03:18:05
2020-07-31T03:18:05
142,700,689
0
0
null
null
null
null
UTF-8
Python
false
false
965
py
class Node: def __init__(self, data): self.data = data self.left = None self.right = None def isFullTree(root): if root is None: return True #If leaf node if root.left is None and root.right is None: return True if root.left is not None and root.right is n...
[ "taocheng984@gmail.com" ]
taocheng984@gmail.com
ccce9383b7b87da27d4a190b8045a110fb1240bc
5a42ce780721294d113335712d45c62a88725109
/project/pyalg_api/commands/orient_command.py
67982f7aa800805ca33b77737fa43bda3887f4af
[]
no_license
P79N6A/project_code
d2a933d53deb0b4e0bcba97834de009e7bb78ad0
1b0e863ff3977471f5a94ef7d990796a9e9669c4
refs/heads/master
2020-04-16T02:06:57.317540
2019-01-11T07:02:05
2019-01-11T07:02:05
null
0
0
null
null
null
null
UTF-8
Python
false
false
746
py
# -*- coding: utf-8 -*- import json import os import pandas as pd import pyorient import pdb import random import re from datetime import datetime, timedelta from lib.logger import logger from .base_command import BaseCommand from model.open import OpenJxlStat from model.antifraud import AfWsm from module.yiyiyuan im...
[ "wangyongqiang@ihsmf.com" ]
wangyongqiang@ihsmf.com
b94122e661a89d99930688d0073fd4d58d5439c7
f000fa4e6ef1de9591eeabff43ba57b7bf32561d
/cephlcm/api/views/v1/permission.py
98322faa2514b82357002f20746813ca09c7ca49
[]
no_license
VictorDenisov/ceph-lcm
1aca07f2d17bfda8760d192ffd6d17645705b6e4
3cfd9ced6879fca1c39039e195d22d897ddcde80
refs/heads/master
2021-01-15T09:19:23.723613
2016-09-17T01:18:45
2016-09-17T01:18:45
68,424,913
0
0
null
2016-09-17T01:17:36
2016-09-17T01:17:36
null
UTF-8
Python
false
false
502
py
# -*- coding: utf-8 -*- """Small API to list permissions available in application.""" from cephlcm.api import auth from cephlcm.api.views import generic from cephlcm.common.models import role class PermissionView(generic.ModelView): decorators = [ auth.require_authorization("api", "view_role"), ...
[ "sarkhipov@mirantis.com" ]
sarkhipov@mirantis.com
5a5e361c2eba01070a0d3e17a30153188ba0779f
9b64f0f04707a3a18968fd8f8a3ace718cd597bc
/huaweicloud-sdk-waf/huaweicloudsdkwaf/v1/model/list_value_list_response.py
19cf334e308e193d4391dbf7c5b6693f27dd4bcc
[ "Apache-2.0" ]
permissive
jaminGH/huaweicloud-sdk-python-v3
eeecb3fb0f3396a475995df36d17095038615fba
83ee0e4543c6b74eb0898079c3d8dd1c52c3e16b
refs/heads/master
2023-06-18T11:49:13.958677
2021-07-16T07:57:47
2021-07-16T07:57:47
null
0
0
null
null
null
null
UTF-8
Python
false
false
3,469
py
# coding: utf-8 import re import six from huaweicloudsdkcore.sdk_response import SdkResponse class ListValueListResponse(SdkResponse): """ Attributes: openapi_types (dict): The key is attribute name and the value is attribute type. attribute_map (dict): The key is ...
[ "hwcloudsdk@huawei.com" ]
hwcloudsdk@huawei.com
8f39586d925238cc0f8aaf1533ed11e6bba15271
88b4b883c1a262b5f9ca2c97bf1835d6d73d9f0b
/src/api/python/hce/app/UrlNormalize.py
d2cfe91a54afb21b110f70ed0b308b85d4c67660
[]
no_license
hce-project/hce-bundle
2f93dc219d717b9983c4bb534884e4a4b95e9b7b
856a6df2acccd67d7af640ed09f05b2c99895f2e
refs/heads/master
2021-09-07T22:55:20.964266
2018-03-02T12:00:42
2018-03-02T12:00:42
104,993,955
1
0
null
null
null
null
UTF-8
Python
false
false
3,593
py
# coding: utf-8 """ HCE project, Python bindings, Distributed Tasks Manager application. UrlNormalize Class content main functional of support the URL_NORMALIZE properties. @package: app @file UrlNormalize.py @author Alexander Vybornyh <alexander.hce.cluster@gmail.com> @link: http://hierarchical-cluster-engine.com/ @...
[ "bgv@bgv-d9" ]
bgv@bgv-d9
3745a3536c649d6903183d1fd0fc4de53df98f5c
c9a222631e4a0b827ee4efbd4e362d00b7cc6d48
/demo/画方格/rose.py
837c42354e6f408ee364e1570706b3fe5d0bab0e
[]
no_license
enticejin/python
d86b1727048bae24bce0fedc911953a20d11947c
09dea6c62e6be8389fb23f472a1f02896a74c696
refs/heads/master
2023-03-12T18:00:06.322335
2021-11-09T01:38:13
2021-11-09T01:38:13
234,876,815
3
1
null
2023-03-04T01:24:08
2020-01-19T09:54:07
Python
UTF-8
Python
false
false
1,437
py
from turtle import * import time setup(1000,800,0,0) speed(0) penup() seth(90) fd(340) seth(0) pendown() speed(5) begin_fill() fillcolor('red') circle(50,30) for i in range(10): fd(1) left(10) circle(40,40) for i in range(6): fd(1) left(3) circle(80,40) for i in range(20): fd(0.5) left(5)...
[ "www.403367632@qq.com" ]
www.403367632@qq.com
353284559c12cf179d807a4ba9ac588bd8f495d5
163bbb4e0920dedd5941e3edfb2d8706ba75627d
/Code/CodeRecords/2533/59137/270093.py
f1c8a2c861bf977ab43894cd1ef420e8d96bcd4a
[]
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
221
py
def s1(): array = list(eval(input())) ans = [] for n in array: if n % 2 == 0: ans.append(n) for n in array: if n % 2 == 1: ans.append(n) print(ans) s1()
[ "1069583789@qq.com" ]
1069583789@qq.com
f142571b2aee06f9277b92ef1709a27a21e74f6a
f6290b7b8ffb263b7f0d252a67e2c6320a4c1143
/Recursion/rat_in_a_maze.py
f7cc926fed7bed41572c85590758f250caa32735
[]
no_license
datAnir/GeekForGeeks-Problems
b45b0ae80053da8a1b47a2af06e688081574ef80
c71f11d0349ed3850dfaa9c7a078ee70f67e46a1
refs/heads/master
2023-05-29T15:21:59.680793
2020-12-15T04:55:01
2020-12-15T04:55:01
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,655
py
''' https://practice.geeksforgeeks.org/problems/rat-in-a-maze-problem/1 Consider a rat placed at (0, 0) in a square matrix of order N*N. It has to reach the destination at (n-1, n-1). Find all possible paths that the rat can take to reach from source to destination. The directions in which the rat can move are 'U'(up)...
[ "komalbansal97@gmail.com" ]
komalbansal97@gmail.com
5bbcbb82c02d8c1cfa203245472a07dafc8af5ca
81f7f4a65a068ed2483b537f6675a5f46235af88
/inplace_activity_stream/urls.py
b6cd2b3e850c994e4c20377bdb3795bf119cb6be
[ "BSD-2-Clause", "BSD-3-Clause" ]
permissive
ebrelsford/django-inplace-activity-stream
f561c7cf0c7180426d3ea9cd11abba1cb6744e60
a495e42ffdc37d5e800f71ab97ed6975a1849224
refs/heads/master
2020-12-24T13:16:17.119724
2017-05-09T14:09:09
2017-05-09T14:09:09
11,783,325
0
0
null
null
null
null
UTF-8
Python
false
false
320
py
from django.conf.urls import url from .views import PlaceActivityFeed, PlaceActivityListView urlpatterns = [ url(r'^feeds/all/$', PlaceActivityFeed(), name='activitystream_feed', ), url(r'^', PlaceActivityListView.as_view(), name='activitystream_activity_list' ), ]
[ "ebrelsford@gmail.com" ]
ebrelsford@gmail.com
8cb1198739853e29689237999b1e3c3375af0e06
31e00afe8f782bd214f8e32949be928a51e5de39
/CreditCalculator/Credit Calculator/task/creditcalc/creditcalc.py
a56e2de2966fd6bf16c2ab712fd91ba2d6ad1650
[]
no_license
akocur/education
65e2a0640bab5e9939c5692333fa2f500c9feb0b
d0a890861cd83dcc61ff2af6cfbb75c157fbaf02
refs/heads/master
2023-05-24T02:38:04.695665
2020-10-26T14:09:07
2020-10-26T14:09:07
269,410,671
0
0
null
2023-05-22T22:47:45
2020-06-04T16:32:11
HTML
UTF-8
Python
false
false
3,761
py
from math import log, ceil, floor import argparse class CreditCalculator: def __init__(self, type_calc='annuity', payment=0, periods=0, interest=0, principal=0): self.type = type_calc self.payment = payment self.periods = periods self.interest = interest self.principal = pr...
[ "akocur@yandex.ru" ]
akocur@yandex.ru
5b68f9839dd7d14e82c6f535fb0febdf0d995910
3bae1ed6460064f997264091aca0f37ac31c1a77
/extensions/logserver/ScribedCommand.py
3d234d75264afabac9b90bffa6679d4182ed3010
[]
no_license
racktivity/ext-pylabs-core
04d96b80ac1942754257d59e91460c3a141f0a32
53d349fa6bee0ccead29afd6676979b44c109a61
refs/heads/master
2021-01-22T10:33:18.523799
2017-06-08T09:09:28
2017-06-08T09:09:28
54,314,984
0
0
null
2017-06-08T09:09:29
2016-03-20T11:55:01
Python
UTF-8
Python
false
false
4,544
py
from pylabs import q from pylabs.inifile import IniFile from pylabs.baseclasses.CommandWrapper import CommandWrapper from pylabs.enumerators import AppStatusType import time class ScribedCommand(CommandWrapper): """ A basic ScribedCommandWrapper to start/stop/restart the Scribe server """ # def _get...
[ "devnull@localhost" ]
devnull@localhost
370c92a901face3a9787726692e591f2249350aa
b5921afe6ea5cd8b3dcfc83147ab5893134a93d0
/tl/plugs/timeline/klacht.py
1834e62f30873b8c7ab9090c22771b0cad15963c
[ "LicenseRef-scancode-other-permissive" ]
permissive
techdragon/tl
aaeb46e18849c04ad436e0e786401621a4be82ee
6aba8aeafbc92cabdfd7bec11964f7c3f9cb835d
refs/heads/master
2021-01-17T16:13:18.636457
2012-11-02T10:08:10
2012-11-02T10:08:10
9,296,808
1
0
null
null
null
null
UTF-8
Python
false
false
2,237
py
# tl/plugs/timeline/klacht.py # # """ het timeline klachten command. """ ## tl imports from tl.utils.name import stripname from tl.lib.datadir import getdatadir from tl.lib.persist import TimedPersist, PersistCollection from tl.lib.commands import cmnds from tl.lib.examples import examples from tl.id import get_uid,...
[ "feedbackflow@gmail.com" ]
feedbackflow@gmail.com
c830aa73b9ef83c3a14fb5861a563fa13de4758f
f2a5311fdca8d71535565e1ec3fc2b79e55ab7aa
/main2d.py
c35349151b55013dad39d01b3ed3cb0a83619153
[]
no_license
xzxzmmnn/pytorch-convcnp
59bd9036cea88479862a622749408fd73f9d132b
31340d5cf4b537a240075f93c8d4aff6f10d8931
refs/heads/master
2020-12-28T11:53:13.337832
2020-01-01T07:58:27
2020-01-01T07:58:27
null
0
0
null
null
null
null
UTF-8
Python
false
false
3,307
py
import argparse import torch import torch.optim as optim from torch.utils.data import DataLoader from torch.utils.tensorboard import SummaryWriter import torchvision.transforms as tf from torchvision.datasets import MNIST, CIFAR10 from fastprogress import master_bar, progress_bar from convcnp import ConvCNP2d, chan...
[ "makoto.kawano@gmail.com" ]
makoto.kawano@gmail.com
74ecd4a6a16f90612dffbb77095aa1099cf71add
033b29b6b1538d10e060e5734a1d7488a3fa03b4
/attic/objects/cards.py
f7891263e43957b288de677edd09d2b095312859
[ "MIT" ]
permissive
yuechuanx/fluent-python-code-and-notes
f99967416abc9c46be50d95f822b2ef3609f2d2d
2ae19fff8e1d292c6e8d163c99ca63e07259499c
refs/heads/master
2023-08-09T22:14:22.985987
2022-08-28T09:06:32
2022-08-28T09:06:32
229,009,764
2
0
MIT
2023-07-20T15:11:59
2019-12-19T08:30:28
Jupyter Notebook
UTF-8
Python
false
false
1,422
py
""" Spadille is the nickname for the Ace of Spades in some games (see `Webster 1913`_) >>> beer_card = Card('7', Suite.diamonds) >>> beer_card Card('7', Suite.diamonds) >>> spadille = Card('A', Suite.spades, long_rank='Ace') >>> spadille Card('A', Suite.spades) >>> print(spadille) Ace ...
[ "xiaoyuechuanz@163.com" ]
xiaoyuechuanz@163.com
8e227b0301c820f7de88c13b8aa9fea0299ee35c
91d1a6968b90d9d461e9a2ece12b465486e3ccc2
/lex-models_read_1/intent-version_get.py
3042cea737aa3ed08aa65f3330a3dc1253199319
[]
no_license
lxtxl/aws_cli
c31fc994c9a4296d6bac851e680d5adbf7e93481
aaf35df1b7509abf5601d3f09ff1fece482facda
refs/heads/master
2023-02-06T09:00:33.088379
2020-12-27T13:38:45
2020-12-27T13:38:45
318,686,394
0
0
null
null
null
null
UTF-8
Python
false
false
1,430
py
#!/usr/bin/python # -*- codding: utf-8 -*- import os import sys sys.path.append(os.path.dirname(os.path.abspath(os.path.dirname(__file__)))) from common.execute_command import execute_one_parameter # url : https://awscli.amazonaws.com/v2/documentation/api/latest/reference/lex-models/get-intent-versions.html if __name...
[ "hcseo77@gmail.com" ]
hcseo77@gmail.com
f6e55ac4950c328a97974e006332ebc0b2d7779d
9a4de72aab094c87cfee62380e7f2613545eecfb
/monitor/permissions.py
4a5ca730834d35cef0d5a306a239cd832e172907
[]
no_license
jamesduan/asset
ed75765c30a5288aaf4f6c56bbf2c9a059105f29
f71cb623b5ba376309cb728ad5c291ced2ee8bfc
refs/heads/master
2021-01-10T00:06:41.120678
2017-05-27T11:40:48
2017-05-27T11:40:48
92,730,581
0
0
null
null
null
null
UTF-8
Python
false
false
473
py
from rest_framework import permissions from assetv2.settingsapi import GROUP_ID SAFE_METHOD = ['GET'] class EventPermission(permissions.BasePermission): def has_permission(self, request, view): return True class AlarmPermission(permissions.BasePermission): def has_permission(self, request, view): ...
[ "duanlingxiao@yhd.com" ]
duanlingxiao@yhd.com
93017e77935b215f3fe77019853de5c8710fb5da
5ab0a217ac64a4e73d7ccff834a73eecdae323c5
/chps3-5/5.09.2.py
07db151d59c6c3f2ae3361eb9a29d95d73b0929d
[]
no_license
bolducp/My-Think-Python-Solutions
d90ea5c485e418f4a6b547fdd9c1d4c8adfe72b9
6c411af5a46ee167b8e4a3449aa4b18705bf1df5
refs/heads/master
2021-01-22T05:19:53.987082
2015-09-15T15:53:31
2015-09-15T15:53:31
41,259,726
0
0
null
null
null
null
UTF-8
Python
false
false
152
py
def print_it(): print "hello" def do_n(a_function, n): if n <= 0: return a_function() do_n(a_function, n-1) do_n(print_it, 10)
[ "paigebolduc@gmail.com" ]
paigebolduc@gmail.com
6f0edfece6342887493bb3cea706740038aa981b
9b8e2992a38f591032997b5ced290fe1acc3ad94
/assignment.py
9f83cc955c406a0296f5a3b75f6f088b6468147c
[]
no_license
girishdhegde/aps-2020
c694443c10d0d572c8022dad5a6ce735462aaa51
fb43d8817ba16ff78f93a8257409d77dbc82ced8
refs/heads/master
2021-08-08T04:49:18.876187
2021-01-02T04:46:20
2021-01-02T04:46:20
236,218,152
0
0
null
null
null
null
UTF-8
Python
false
false
326
py
cost = [[3, 2, 7], [5, 1, 3], [2, 7, 2]] n = 3 dp = [float('inf') for i in range(2**n)] dp[0] = 0 def count_set_bits(mask): cnt = 0 while(mask != 0): cnt += 1 mask &= (mask - 1) return cnt print(count_set_bits(7)) # for mask in range(2**n): # x = count_set_bits...
[ "girsihdhegde12499@gmail.com" ]
girsihdhegde12499@gmail.com
d0ffc2ce73a4358770fcbd0d3aea0a21813f5eeb
005f02cb534bbf91fe634fcf401441e1179365c8
/10-Django Level 2/10.2-projektDy/projektDy/wsgi.py
18fe901d2208426855c0e488e7e4b4babad70dda
[]
no_license
Ruxhino-B/django-deployment-example
220a39a456871a1bf42a64fd5b945731056fc7b9
e19713ac1e11af202152ad20d7c3c94891a77e83
refs/heads/master
2020-04-18T02:21:10.505691
2020-01-06T14:18:18
2020-01-06T14:25:25
167,159,223
0
0
null
null
null
null
UTF-8
Python
false
false
411
py
""" WSGI config for projektDy project. It exposes the WSGI callable as a module-level variable named ``application``. For more information on this file, see https://docs.djangoproject.com/en/2.1/howto/deployment/wsgi/ """ import os from django.core.wsgi import get_wsgi_application os.environ.setdefaul...
[ "ruxhino@gmail.com" ]
ruxhino@gmail.com
03829e363688475ccad8963022ab6bfa1f2ae6ee
b47f5ca0a51cf59427b7bd12e9c85064a1e13e03
/easyci/commands/watch.py
4969cb582bbd2f55f16519477a4ad48cafb03c24
[ "MIT" ]
permissive
naphatkrit/easyci
a490b57e601bcad6d2022834809dd60cb0902e0c
7aee8d7694fe4e2da42ce35b0f700bc840c8b95f
refs/heads/master
2016-09-02T01:14:28.505230
2015-09-09T00:26:25
2015-09-09T00:26:25
41,396,486
2
0
null
null
null
null
UTF-8
Python
false
false
653
py
import click from watchdog.observers import Observer from easyci.file_system_events.tests_event_handler import TestsEventHandler from easyci.utils import decorators @click.command() @click.pass_context @decorators.print_markers def watch(ctx): """Watch the directory for changes. Automatically run tests. """...
[ "naphat.krit@gmail.com" ]
naphat.krit@gmail.com
2fe01f1669e635156e429787ec8e0f24864e4090
bd2fb6aa0e25dcc3f6c1511007f15f63d0d9fb55
/tests/functions/folding/test_addmod_mulmod.py
50aa1d78ec53446c84cb634c1d65af92aea219fc
[ "Apache-2.0" ]
permissive
andrelfpinto/vyper
4b26a88686518eca3a829c172dd01dcd34b242e4
d9b73846aa14a6019faa4126ec7608acd05e480d
refs/heads/master
2022-11-08T06:38:59.104585
2020-06-23T01:13:50
2020-06-23T01:13:50
274,272,650
0
0
Apache-2.0
2020-06-23T00:39:05
2020-06-23T00:39:04
null
UTF-8
Python
false
false
868
py
import pytest from hypothesis import assume, given, settings from hypothesis import strategies as st from vyper import ast as vy_ast from vyper import functions as vy_fn st_uint256 = st.integers(min_value=0, max_value=2 ** 256 - 1) @pytest.mark.fuzzing @settings(max_examples=50, deadline=1000) @given(a=st_uint256, ...
[ "ben@hauser.id" ]
ben@hauser.id
08b5a295b6ce6b6b955d67a08448ad20ee18b133
bad62c2b0dfad33197db55b44efeec0bab405634
/sdk/formrecognizer/azure-ai-formrecognizer/tests/test_frc_identity_documents_async.py
d90abd8f45f9a581b5f6a733d8ccab64198aad68
[ "MIT", "LicenseRef-scancode-generic-cla", "LGPL-2.1-or-later" ]
permissive
test-repo-billy/azure-sdk-for-python
20c5a2486456e02456de17515704cb064ff19833
cece86a8548cb5f575e5419864d631673be0a244
refs/heads/master
2022-10-25T02:28:39.022559
2022-10-18T06:05:46
2022-10-18T06:05:46
182,325,031
0
0
MIT
2019-07-25T22:28:52
2019-04-19T20:59:15
Python
UTF-8
Python
false
false
8,085
py
# coding=utf-8 # ------------------------------------ # Copyright (c) Microsoft Corporation. # Licensed under the MIT License. # ------------------------------------ import pytest import functools from io import BytesIO from devtools_testutils.aio import recorded_by_proxy_async from azure.core.exceptions import Servic...
[ "noreply@github.com" ]
test-repo-billy.noreply@github.com
e1d99bfb0a5b950802d604a203ed618117937fb1
55e13562203f2f24338a5e1f8bb543becf8df171
/lighttpd/upload.py
eabb90c5e76f9a50fe642e503391fc9342dd1fe7
[]
no_license
jvanz/container-images
79cd1dd4ade141d733ec6923f1157c15159369ab
ff228722dcccb318def64d9bf485dc43ccafa0d8
refs/heads/master
2020-08-31T05:24:44.258927
2019-11-25T17:42:09
2019-11-25T17:42:09
218,603,819
0
0
null
null
null
null
UTF-8
Python
false
false
547
py
#!/usr/bin/python3 import cgi import cgitb cgitb.enable(display=0, logdir="/var/log/lighttpd") form = cgi.FieldStorage() filefield = form["file"] msg = "Failed to upload file!" if filefield.filename: with open(f"/tmp/{filefield.filename}", "w+b") as f: f.write(filefield.file.read()) msg = "File u...
[ "jvanz@jvanz.com" ]
jvanz@jvanz.com
3a5d04a7a9e08a83b8fe983908ca0ffb84378af0
53fab060fa262e5d5026e0807d93c75fb81e67b9
/backup/user_006/ch73_2020_06_08_22_39_00_045794.py
1fffb73594f4be691ffc6cda3e85a35745493c0c
[]
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
192
py
def remove_vogais(palavra): vogais=["a", "e", "i", "o", "u"] for i in palavra: if i in vogais: nova=palavra.replace(i, " ") return nova
[ "you@example.com" ]
you@example.com
eee85f7fa13c8c9a2568ff0b2c328fcd74c447dd
a3eb732ead7e1d10a85a88e42dc639eb16a40265
/instagram_api/request/base.py
e326afae24f36536b07fc4d0d96d658ed435c783
[ "MIT" ]
permissive
carsam2021/instagram_api
7654c0f485c22935cf478016e46e65acbeda9344
b53f72db36c505a2eb24ebac1ba8267a0cc295bb
refs/heads/master
2023-03-16T14:06:27.515432
2020-10-17T04:39:19
2020-10-17T04:39:19
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,849
py
from typing import Dict, List import json from instagram_api.interfaces.api_request import ApiRequestInterface from instagram_api.signatures import Signatures __all__ = ['CollectionBase'] class CollectionBase: def __init__(self, ig): from instagram_api.instagram import Instagram self._ig: Inst...
[ "root@proscript.ru" ]
root@proscript.ru
c378c2866324df13f145039f1ca8f38f447aeb85
be3920640bbbdb055876f2c1f49c6cc2e81cbab2
/pyexample/tests/test_viz.py
a4cf5e98a83b2a45624536877e68475621765059
[ "BSD-3-Clause" ]
permissive
phobson/pyexample
4993fe8f9b70e5224d09e878f137e94c8c1b4f60
133598954b514a80dc0f65c02c8740b626e569d2
refs/heads/new-branch
2021-12-02T12:29:32.156032
2021-11-24T19:33:21
2021-11-24T19:33:21
68,402,565
0
0
BSD-3-Clause
2018-01-19T19:44:27
2016-09-16T17:55:31
null
UTF-8
Python
false
false
905
py
import numpy from matplotlib import pyplot import pytest from pyexample import viz from . import helpers BASELINE_DIR = 'baseline_images/test_viz' TOLERANCE = 15 @pytest.fixture def plot_data(): data = numpy.array([ 3.113, 3.606, 4.046, 4.046, 4.710, 6.140, 6.978, 2.000, 4.200,...
[ "pmhobson@gmail.com" ]
pmhobson@gmail.com
2fb5eec5f1b153b97c548b1814a2487ab20fc821
e2b9f2354c36bd1edfa141d29f60c13ea176c0fe
/2018/blaze/sl0thcoin/smarter/solve.py
a2ba36e35e7368629a46ee89ae5a80409bf445d9
[]
no_license
Jinmo/ctfs
236d2c9c5a49d500e80ece4631a22c7fb32c3c3f
d225baef7942250a5ff15a3f2a9b7ad8501c7566
refs/heads/master
2021-07-24T15:17:05.489163
2021-07-05T16:05:15
2021-07-05T16:05:15
68,125,231
162
26
null
null
null
null
UTF-8
Python
false
false
699
py
#!/usr/bin/python3 from hashlib import sha256 from itertools import permutations import string # Just looked EVM assembly for many hours to solve it. if False: keys = string.ascii_lowercase for combs in permutations(keys, 4): z = sha256(bytearray(combs)).hexdigest() # x = x[::-1] if z == hash or z == hash[::-...
[ "santoky001@naver.com" ]
santoky001@naver.com
139a12db6cc98827a46acc6950671f20e7643c71
480e33f95eec2e471c563d4c0661784c92396368
/CondTools/Hcal/test/dbwriteCastorElectronicsMap_cfg.py
b60f9e71df8fabf598fe481066fc52793c1f219b
[ "Apache-2.0" ]
permissive
cms-nanoAOD/cmssw
4d836e5b76ae5075c232de5e062d286e2026e8bd
4eccb8a758b605875003124dd55ea58552b86af1
refs/heads/master-cmsswmaster
2021-01-23T21:19:52.295420
2020-08-27T08:01:20
2020-08-27T08:01:20
102,867,729
7
14
Apache-2.0
2022-05-23T07:58:09
2017-09-08T14:03:57
C++
UTF-8
Python
false
false
2,177
py
import FWCore.ParameterSet.Config as cms process = cms.Process("TEST") process.MessageLogger=cms.Service("MessageLogger", destinations=cms.untracked.vstring("cout"), cout=cms.untracked.PSet( threshold=cms.untracked.string("INFO"...
[ "giulio.eulisse@gmail.com" ]
giulio.eulisse@gmail.com
f6cbef75142bef6fca11beffb23c99d4b87e2dcb
6a95b330e1beec08b917ff45eccfd6be3fd4629f
/kubernetes/client/models/extensions_v1beta1_scale_status.py
2abdb17853310a267b8ff6d08d3f314a58e3068e
[ "Apache-2.0" ]
permissive
TokkoLabs/client-python
f4a83d6540e64861b59e322c951380a670578d7f
f1ad9c6889105d8510472606c98f8d3807f82020
refs/heads/master
2023-07-14T01:36:46.152341
2017-12-21T21:32:11
2017-12-21T21:32:11
115,042,671
0
0
Apache-2.0
2021-08-06T03:29:17
2017-12-21T20:05:15
Python
UTF-8
Python
false
false
6,162
py
# coding: utf-8 """ Kubernetes No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) OpenAPI spec version: v1.8.2 Generated by: https://github.com/swagger-api/swagger-codegen.git """ from pprint import pformat from six import iteritems import re ...
[ "mehdy@google.com" ]
mehdy@google.com
25d837ad1c315cf0467adfe2ff6b3178b0ee48a4
c50e7eb190802d7849c0d0cea02fb4d2f0021777
/src/k8s-extension/azext_k8s_extension/tests/latest/MockClasses.py
8a6313c9ce63728ba80823afc1570193e5138272
[ "LicenseRef-scancode-generic-cla", "MIT" ]
permissive
Azure/azure-cli-extensions
c1615b19930bba7166c282918f166cd40ff6609c
b8c2cf97e991adf0c0a207d810316b8f4686dc29
refs/heads/main
2023-08-24T12:40:15.528432
2023-08-24T09:17:25
2023-08-24T09:17:25
106,580,024
336
1,226
MIT
2023-09-14T10:48:57
2017-10-11T16:27:31
Python
UTF-8
Python
false
false
711
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" ]
Azure.noreply@github.com
d4904ca21f745e69b4cc262d2ecc00fba7d06012
3d19e1a316de4d6d96471c64332fff7acfaf1308
/Users/A/anoukmpg/basic_twitter_scraperchavez_1.py
d364c9eb557ece039635cdb7b4d9fdd75b2b9d7f
[]
no_license
BerilBBJ/scraperwiki-scraper-vault
4e98837ac3b1cc3a3edb01b8954ed00f341c8fcc
65ea6a943cc348a9caf3782b900b36446f7e137d
refs/heads/master
2021-12-02T23:55:58.481210
2013-09-30T17:02:59
2013-09-30T17:02:59
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,420
py
################################################################################### # Twitter scraper - designed to be forked and used for more interesting things ################################################################################### import scraperwiki import simplejson import urllib2 # Change QUERY to y...
[ "pallih@kaninka.net" ]
pallih@kaninka.net
901f3c3dd2303e61d8c714f457a19c57173a0f9b
0931696940fc79c4562c63db72c6cabfcb20884d
/Functions/Loading_Bar.py
6924207e641d4053b76d424b3c26fb97beb5c9b1
[]
no_license
ivklisurova/SoftUni_Fundamentals_module
f847b9de9955c8c5bcc057bb38d57162addd6ad8
69242f94977c72005f04da78243a5113e79d6c33
refs/heads/master
2021-12-01T01:56:22.067928
2021-11-08T17:07:31
2021-11-08T17:07:31
253,281,893
0
0
null
null
null
null
UTF-8
Python
false
false
523
py
number = int(input()) def loading(num): loading_bar = [] x = num // 10 y = ((100 - num) // 10) z = '[' + x * '%' + y * '.' + ']' loading_bar.append(z) if (number // 10) == 10: loading_bar.insert(0, '100% Complete!') print(loading_bar[0]) print(loading_bar[1]) else: ...
[ "55747390+ivklisurova@users.noreply.github.com" ]
55747390+ivklisurova@users.noreply.github.com
3555ae78bbf5408ef0a69abe52dedbabad3a0cdf
57ae5bfbb24ba5fec90c9b3ecf1e15f06f1546ee
/7-5-1.py
c11af7c98b341df6cf8ce912c9b84b4464523aac
[]
no_license
cjjhust/python_datastucture
f9104f1d5cae2df6436f56d4d3eaa212e6045943
a222bbe4bfc145ee11f73676c8f033f451d45f78
refs/heads/master
2022-07-03T19:53:07.066387
2020-05-15T08:06:21
2020-05-15T08:06:21
260,272,705
0
0
null
null
null
null
UTF-8
Python
false
false
588
py
# -*- coding: utf-8 -*- """ Created on Sat Nov 10 17:36:36 2018 @author: CJJ """ import random def getRandomM(a,n,m): if a==None or n<=0 or n<m: print "参数不合理" return i=0 while i<m: j=random.randint(i,n-1) # // 获取i到n-1间的随机数 # 随机选出的元素放到数组的前面 tmp=a[i] a[i...
[ "44698055@qq.com" ]
44698055@qq.com
d8c1bee039b5b2874724ca9a9ee2b2dd01e43952
7da433fc52a167a1e9b593eda1d1ee9eee03ccf1
/2019-prog-labooefeningen-forrestjan/week8/week08_test_bestanden_klassen/test_spelers.py
d18fe5544310a4f2dedbacc858045acbeab0d460
[]
no_license
forrestjan/Labos-MCT-19-20
69cb26d2f1584a54db32750037dcb900a65a0ae6
c9392cf0cbd9ad6e5974140060b9d0beaf0a202f
refs/heads/main
2022-12-30T14:49:35.461246
2020-10-14T11:59:16
2020-10-14T11:59:16
304,000,514
0
0
null
null
null
null
UTF-8
Python
false
false
1,207
py
from model.Speler import Speler from model.Geboortedatum import Geboortedatum def test_oef1(): # aanspreken van een public static variabele (attribute) Speler.naam_ploeg = "Rode duivels" sp1 = Speler("Thibault", "Cortous", "keeper", 8, 0) sp2 = Speler("Vincent", "Kompany", "aanvaller", 8, 3) # pa...
[ "jan.forrest@student.howest.be" ]
jan.forrest@student.howest.be
69ef8c6d7beb126718ee82bda6f72258a06cd3ad
32226e72c8cbaa734b2bdee081c2a2d4d0322702
/railrl/data_management/env_replay_buffer.py
781568e5f90fa8db7cff99c76ab6480aa1591e56
[ "MIT" ]
permissive
Asap7772/rail-rl-franka-eval
2b1cbad7adae958b3b53930a837df8a31ab885dc
4bf99072376828193d05b53cf83c7e8f4efbd3ba
refs/heads/master
2022-11-15T07:08:33.416025
2020-07-12T22:05:32
2020-07-12T22:05:32
279,155,722
0
0
null
null
null
null
UTF-8
Python
false
false
3,705
py
from gym.spaces import Discrete from railrl.data_management.simple_replay_buffer import SimpleReplayBuffer from railrl.envs.env_utils import get_dim import numpy as np class EnvReplayBuffer(SimpleReplayBuffer): def __init__( self, max_replay_buffer_size, env, env_in...
[ "asap7772@berkeley.edu" ]
asap7772@berkeley.edu
ee47403e642fefd6b1e6f6c62477a24a6e0ce22c
dfdb672bbe3b45175806928d7688a5924fc45fee
/Learn Python the Hard Way Exercises/ex41.py
3abb331053e8c7304b85e45517c62a437d126264
[]
no_license
mathans1695/Python-Practice
bd567b5210a4d9bcd830607627293d64b4baa909
3a8fabf14bc65b8fe973488503f12fac224a44ed
refs/heads/master
2023-01-01T13:49:05.789809
2020-10-26T02:37:05
2020-10-26T02:37:05
306,300,672
2
1
null
null
null
null
UTF-8
Python
false
false
1,972
py
import random from urllib import urlopen import sys WORD_URL = "http://learncodethehardway.org/words.txt" WORDS = [] PHRASES = { "class %%%(%%%):": "Make a class named %%% that is-a %%%.", "class %%%(object):\n\tdef __init__(self, ***)": "class %%% has-a __init__ that takes self and *** parameters.", "class ...
[ "mathans1695@gmail.com" ]
mathans1695@gmail.com
a9af131a9d4b68580fd5afc8d61703d0b57ce1d8
e42a61b7be7ec3412e5cea0ffe9f6e9f34d4bf8d
/a10sdk/core/A10_import/import_periodic_ssl_cert.py
1a4f81061a75db8ac18bba2be452cb33eb364dc8
[ "Apache-2.0" ]
permissive
amwelch/a10sdk-python
4179565afdc76cdec3601c2715a79479b3225aef
3e6d88c65bd1a2bf63917d14be58d782e06814e6
refs/heads/master
2021-01-20T23:17:07.270210
2015-08-13T17:53:23
2015-08-13T17:53:23
40,673,499
0
0
null
2015-08-13T17:51:35
2015-08-13T17:51:34
null
UTF-8
Python
false
false
2,409
py
from a10sdk.common.A10BaseClass import A10BaseClass class SslCert(A10BaseClass): """Class Description:: SSL Cert File(enter bulk when import an archive file). Class ssl-cert supports CRUD Operations and inherits from `common/A10BaseClass`. This class is the `"PARENT"` class for this module.` ...
[ "doug@parksidesoftware.com" ]
doug@parksidesoftware.com
3505d9a921cb2f8e0d01d19c363eb3e875fa5f8c
1a83ce28cf596558bd0d8280086e27bc48d0a500
/src/command_modules/azure-cli-iotcentral/setup.py
c771f17dc15992b5221cf74250e4dc4c4ef6371c
[ "LicenseRef-scancode-unknown-license-reference", "MIT" ]
permissive
willerLiu/azure-cli
70d8c5fa4e00c0dd3fb3bc90434d613346a03bd2
628ba933b954d41ad42f5c938b0f2cac55f94be2
refs/heads/master
2020-04-10T15:08:55.939172
2018-11-29T21:32:10
2018-12-04T22:09:38
161,098,793
0
0
NOASSERTION
2018-12-10T01:18:57
2018-12-10T01:18:56
null
UTF-8
Python
false
false
1,988
py
#!/usr/bin/env python # -------------------------------------------------------------------------------------------- # Copyright (c) Microsoft Corporation. All rights reserved. # Licensed under the MIT License. See License.txt in the project root for license information. # ----------------------------------------------...
[ "tjprescott@users.noreply.github.com" ]
tjprescott@users.noreply.github.com
30baca899c2b35d673ab60b7bd8c885b3d9cb6e7
94dde46196ec93704367d4b3dae3a8ec700e2fd7
/examples/button.py
c475fae2f499f877cdb74c51fe1181576328600e
[ "LicenseRef-scancode-other-permissive", "BSD-3-Clause" ]
permissive
saghul/python-asiri
5200697ddb99471ff7daba415351c23430de9791
1060fa6805fe52f348fe1b33ebcfa5814b0fec26
refs/heads/master
2021-01-01T18:47:44.947924
2013-10-28T22:39:55
2013-10-28T22:39:55
null
0
0
null
null
null
null
UTF-8
Python
false
false
406
py
from __future__ import print_function from asiri import GPIO from time import sleep BTN = 9 gpio = GPIO(num_gpios=16) gpio.setup(BTN, GPIO.IN) try: prev_input = 0 while True: input = gpio.input(BTN) if not prev_input and input: print("Button pressed!") prev_input = inpu...
[ "saghul@gmail.com" ]
saghul@gmail.com
9d43360e38253f6483d86bd55776635339f42e08
8707f9244fcb0f34901a9ff79683c4f0fe883d20
/neo/test/iotest/test_spikeglxio.py
b77ec7accc6cfe3393c66907495c3963ad470306
[ "BSD-3-Clause", "LicenseRef-scancode-unknown-license-reference" ]
permissive
teogale/python-neo
cd9b93d1fdbf99848684fbdedd46ced0dabd5feb
cd4226ddcfbace080c4734f562f706423979f2dc
refs/heads/master
2021-06-21T20:38:06.781570
2021-05-21T16:28:46
2021-05-21T16:28:46
195,394,638
0
0
BSD-3-Clause
2020-07-20T11:45:16
2019-07-05T10:59:36
Python
UTF-8
Python
false
false
388
py
""" Tests of neo.io.spikeglxio """ import unittest from neo.io import SpikeGLXIO from neo.test.iotest.common_io_test import BaseTestIO class TestSpikeGLXIO(BaseTestIO, unittest.TestCase): ioclass = SpikeGLXIO entities_to_download = [ 'spikeglx' ] entities_to_test = [ 'spikeglx/Noise4...
[ "sam.garcia.die@gmail.com" ]
sam.garcia.die@gmail.com
155f07aadc216c4e1e5c876307b9a82734fe9ed3
0add7953d3e3ce2df9e8265102be39b758579753
/built-in/TensorFlow/Research/reinforcement-learning/DQN_for_TensorFlow/rl/xt/model/dqn/rainbow_network_cnn.py
9406c8f1e66f4627c29bc2808b78f94f19b43391
[ "Apache-2.0" ]
permissive
Huawei-Ascend/modelzoo
ae161c0b4e581f8b62c77251e9204d958c4cf6c4
df51ed9c1d6dbde1deef63f2a037a369f8554406
refs/heads/master
2023-04-08T08:17:40.058206
2020-12-07T08:04:57
2020-12-07T08:04:57
319,219,518
1
1
Apache-2.0
2023-03-24T22:22:00
2020-12-07T06:01:32
Python
UTF-8
Python
false
false
3,107
py
""" @Author: Jack Qian @license : Copyright(C), Huawei """ from __future__ import absolute_import, division, print_function import tensorflow as tf from xt.model.tf_compat import Dense, Input, Conv2D, \ Model, Adam, Lambda, Flatten, K from xt.model.dqn.default_config import LR from xt.model import XTModel from x...
[ "1571856591@qq.com" ]
1571856591@qq.com
7f1bf9f84ba0a732878a0df6d12969923da3f860
ca7aa979e7059467e158830b76673f5b77a0f5a3
/Python_codes/p03417/s820557335.py
781e7a91ed400cdd9fa97625e372b4993251ae0e
[]
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
288
py
N, M = map(int, input().split()) N, M = min(N,M), max(N,M) ans = [[1], [2, 0], [3, 0, 9], [2, 0, 6, 4]] if M <= 4: print(ans[M-1][N-1]) exit() if N == 1: print(M-2) exit() if N == 2: print(0) exit() if N == 3: print(N*M - 6) exit() print(4 + (N-4 + M-4)*2 + (N-4)*(M-4))
[ "66529651+Aastha2104@users.noreply.github.com" ]
66529651+Aastha2104@users.noreply.github.com
d9c2578c85a6972b534c9c7bb4f968d53c437283
c3c31ce9a8822ac0352475934f5b3fbdacac62a1
/ssseg/cfgs/setr/cfgs_ade20k_vitlargepup.py
f48eba513dac55967b0f6bcdfe89c5ae16221369
[ "MIT" ]
permissive
guofenggitlearning/sssegmentation
1e51b5b14bff3b5ad0d469ac98d711adb79cef11
7a405b1a4949606deae067223ebd68cceec6b225
refs/heads/main
2023-08-28T03:26:39.204259
2021-11-03T00:51:30
2021-11-03T00:51:30
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,896
py
'''define the config file for ade20k and ViT-Large''' import os from .base_cfg import * # modify dataset config DATASET_CFG = DATASET_CFG.copy() DATASET_CFG.update({ 'type': 'ade20k', 'rootdir': os.path.join(os.getcwd(), 'ADE20k'), }) # modify dataloader config DATALOADER_CFG = DATALOADER_CFG.copy() # modify ...
[ "1159254961@qq.com" ]
1159254961@qq.com
2591de4f548ec359e4c3fca9f0f9399fabf88dfb
2e157761ea124b5cdbadbad61daded246deaafb2
/wagtail/contrib/wagtailsearchpromotions/migrations/0001_initial.py
62809da8def86144e08439d9c142bfec5ecd05d5
[ "BSD-3-Clause" ]
permissive
wgiddens/wagtail
043e6b110229cd29d64a22860085355d38f66e03
4371368854a99ef754c3332ab10675ba62e614a6
refs/heads/master
2021-05-23T03:20:13.455601
2015-08-31T19:45:06
2015-08-31T19:45:06
41,701,494
0
0
NOASSERTION
2020-11-16T13:48:19
2015-08-31T21:27:06
Python
UTF-8
Python
false
false
1,750
py
# -*- coding: utf-8 -*- from __future__ import unicode_literals from django.db import models, migrations class Migration(migrations.Migration): dependencies = [ ('wagtailcore', '0015_add_more_verbose_names'), ('wagtailsearch', '0003_remove_editors_pick'), ] operations = [ migrat...
[ "karlhobley10@gmail.com" ]
karlhobley10@gmail.com
a6e7ad120c45a540a1287acfb626fbd4a3de82fb
ab9ab9e30b8c50273d2e01e3a497b8fd1a8e8841
/Democode/evolution-strategies-starter-master/es_distributed/main.py
483d22a5b846be797fd5c18a22e9c0406fed474f
[ "MIT" ]
permissive
Asurada2015/Multi-objective-evolution-strategy
32a88abe584beae24cc96a020ff79659176f1916
62f85e9fd23c9f6a3344855614a74e988bf3edd3
refs/heads/master
2023-02-03T04:19:28.394586
2020-04-14T12:25:06
2020-04-14T12:25:06
154,918,864
3
1
MIT
2023-02-02T03:23:23
2018-10-27T03:03:39
Jupyter Notebook
UTF-8
Python
false
false
2,169
py
import errno import json import logging import os import sys import click from .dist import RelayClient from .es import run_master, run_worker, SharedNoiseTable def mkdir_p(path): try: os.makedirs(path) except OSError as exc: if exc.errno == errno.EEXIST and os.path.isdir(path): ...
[ "1786546913@qq.com" ]
1786546913@qq.com
ee19405107fff01363a5004a6f245590587e3446
d554b1aa8b70fddf81da8988b4aaa43788fede88
/5 - Notebooks e Data/1 - Análises numéricas/Arquivos David/Atualizados/logDicas-master/data/2019-1/226/users/4424/codes/1674_1101.py
ca6bd59c9146923fe8a25836f1b91360fddcbc3d
[]
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
939
py
# Teste seu código aos poucos. # Não teste tudo no final, pois fica mais difícil de identificar erros. # Use as mensagens de erro para corrigir seu código. c = float(input("consumo em kWh: ")) t = input("residencias(r)/industrias(i)/comercios(c): ") print("Entradas:", c, "kWh e tipo", t) y = "Dados invalidos" if ((t.lo...
[ "jvlo@icomp.ufam.edu.br" ]
jvlo@icomp.ufam.edu.br
10fbdc05794edb4e95044f0031de8333a7f73a81
9743d5fd24822f79c156ad112229e25adb9ed6f6
/xai/brain/wordbase/otherforms/_peeped.py
a186557aa21742047c7e1738b7c7afc26028a481
[ "MIT" ]
permissive
cash2one/xai
de7adad1758f50dd6786bf0111e71a903f039b64
e76f12c9f4dcf3ac1c7c08b0cc8844c0b0a104b6
refs/heads/master
2021-01-19T12:33:54.964379
2017-01-28T02:00:50
2017-01-28T02:00:50
null
0
0
null
null
null
null
UTF-8
Python
false
false
216
py
#calss header class _PEEPED(): def __init__(self,): self.name = "PEEPED" self.definitions = peep self.parents = [] self.childen = [] self.properties = [] self.jsondata = {} self.basic = ['peep']
[ "xingwang1991@gmail.com" ]
xingwang1991@gmail.com
a68501fe0fffd3341fe23f8561c763687c4ae485
efc9b70544c0bc108aaec0ed6a2aefdf208fd266
/393. UTF-8 Validation.py
cbd33de9cd3519f3032cff678b73861abd68bab3
[]
no_license
fxy1018/Leetcode
75fad14701703d6a6a36dd52c338ca56c5fa9eff
604efd2c53c369fb262f42f7f7f31997ea4d029b
refs/heads/master
2022-12-22T23:42:17.412776
2022-12-15T21:27:37
2022-12-15T21:27:37
78,082,899
1
0
null
null
null
null
UTF-8
Python
false
false
671
py
''' ''' class Solution(object): def validUtf8(self, data): """ :type data: List[int] :rtype: bool """ count = 0 for d in data: if count == 0: #first byte if bin(d>>5) == "0b110": count = 1 elif bin(d>>4...
[ "noreply@github.com" ]
fxy1018.noreply@github.com
e95b9c3d1cd819f037b70f66076236dc02ccf425
73346545e69194dc1cfd887314afe600076ff263
/polling_stations/apps/data_collection/management/commands/import_greenwich.py
385a8fd726114f0e6f8492cc5e4ce64a3ce77aec
[]
permissive
chris48s/UK-Polling-Stations
c7a91f80c1ea423156ac75d88dfca31ca57473ff
4742b527dae94f0276d35c80460837be743b7d17
refs/heads/master
2021-08-27T18:26:07.155592
2017-11-29T15:57:23
2017-11-29T15:57:23
50,743,117
1
0
BSD-3-Clause
2017-11-29T16:03:45
2016-01-30T20:20:50
Python
UTF-8
Python
false
false
406
py
from data_collection.management.commands import BaseHalaroseCsvImporter class Command(BaseHalaroseCsvImporter): council_id = 'E09000011' addresses_name = 'parl.2017-06-08/Version 1/polling_station_export-2017-05-09 2.csv' stations_name = 'parl.2017-06-08/Version 1/polling_station_export-2017-05-09 ...
[ "chris.shaw480@gmail.com" ]
chris.shaw480@gmail.com
8afa870d5cbd78906a2398e74afc2fcfdc6b3ccb
df264c442075e04bb09d82f9be1d915c070d7e09
/SAMSUNG/SWEA/PROBLEM/2105_디저트카페_20210419.py
04f8efd218eb8d69a5537a62f880f1ea920a3d47
[]
no_license
Koozzi/Algorithms
ff7a73726f18e87cab9406e7b71cd5d1856df183
38048ac0774fcab3537bdd64f48cae7d9eb71e6f
refs/heads/master
2021-07-06T04:59:38.564772
2021-05-03T08:49:56
2021-05-03T08:49:56
231,848,463
0
0
null
null
null
null
UTF-8
Python
false
false
1,293
py
def change_direction(X, Y, x, y, d1, d2): if (X == x + d1 and Y == y - d1) \ or (X == x + d1 + d2 and Y == y - d1 + d2) \ or (X == x + d2 and Y == y + d2): return True return False def solve(x, y, d1, d2): desert = set([board[x][y]]) move = [[1, -1], [1, 1], [-1, 1], [-...
[ "koozzi666@gmail.com" ]
koozzi666@gmail.com
58eae06b2d666c5bc0e9960cc336e03c78e232e9
cad91ae76d2746a6c28ddda0f33a58f9d461378f
/TensorFlow2/Recommendation/DLRM_and_DCNv2/nn/evaluator.py
eeb9354ef38f8574935923ebfc03a08286e22b2e
[ "Apache-2.0" ]
permissive
NVIDIA/DeepLearningExamples
fe677521e7e2a16e3cb0b77e358f9aab72f8c11a
a5388a45f71a949639b35cc5b990bd130d2d8164
refs/heads/master
2023-08-31T20:57:08.798455
2023-08-23T10:09:12
2023-08-23T10:09:12
131,881,622
11,838
3,124
null
2023-08-28T16:57:33
2018-05-02T17:04:05
Jupyter Notebook
UTF-8
Python
false
false
3,299
py
# Copyright (c) 2021, NVIDIA CORPORATION. All rights reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applic...
[ "kkudrynski@nvidia.com" ]
kkudrynski@nvidia.com
082ae1287bba556369350aaf57ecbedc6fbd0a87
f7c72e8adde14499f119708642e7ca1e3e7424f3
/network_health_service/tests/create_query_tests.py
523fa50216d13ffb1ad98df0c5b0b9098a793f0e
[ "MIT" ]
permissive
pmaisel/tgnms
0b5d7ad90821a4e52d11490199ab1253bb31ac59
8ab714d29f2f817f08cad928cf54b7bf1faf0aa7
refs/heads/main
2023-08-01T10:14:28.527892
2021-09-24T21:28:16
2021-09-24T21:56:23
null
0
0
null
null
null
null
UTF-8
Python
false
false
4,106
py
#!/usr/bin/env python3 # Copyright 2004-present Facebook. All Rights Reserved. import json import unittest from network_health_service.stats.fetch_stats import get_link_queries, get_node_queries from network_health_service.stats.metrics import Metrics class CreateQueryTests(unittest.TestCase): def setUp(self) -...
[ "facebook-github-bot@users.noreply.github.com" ]
facebook-github-bot@users.noreply.github.com
ab7269496f8882045c1c28e24afc8d9c5912824f
75bee875a2d26ed71513f46a2acbb564dd9a1c44
/app/modules/users/schemas.py
c58686ed7b25645868c0382549201f648b8ca6d9
[ "MIT" ]
permissive
frol/flask-restplus-server-example
d096aa1f4e3b6024ecb16af3d0769ccc20e7cff8
53a3a156cc9df414537860ed677bd0cc98dd2271
refs/heads/master
2023-08-28T14:27:34.047855
2023-06-21T14:30:54
2023-06-21T14:30:54
46,421,329
1,487
412
MIT
2023-06-21T14:30:55
2015-11-18T13:43:34
Python
UTF-8
Python
false
false
1,179
py
# encoding: utf-8 # pylint: disable=too-few-public-methods """ User schemas ------------ """ from flask_marshmallow import base_fields from flask_restplus_patched import Schema, ModelSchema from .models import User class BaseUserSchema(ModelSchema): """ Base user schema exposes only the most general fields....
[ "frolvlad@gmail.com" ]
frolvlad@gmail.com
163380fce342e9d5ef8fe2951cc513046cff926b
146db0a1ba53d15ab1a5c3dce5349907a49217c3
/omega_miya/plugins/nbnhhsh/utils.py
651e9331bf5ab0fa191f726697c602576fcbbf5c
[ "Python-2.0", "MIT" ]
permissive
hailong-z/nonebot2_miya
84d233122b2d785bfc230c4bfb29326844700deb
7d52ef52a0a13c5ac6519199e9146a6e3c80bdce
refs/heads/main
2023-03-26T14:59:31.107103
2021-03-09T17:01:08
2021-03-09T17:01:08
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,018
py
import aiohttp from omega_miya.utils.Omega_Base import Result API_URL = 'https://lab.magiconch.com/api/nbnhhsh/guess/' async def get_guess(guess: str) -> Result: timeout_count = 0 error_info = '' while timeout_count < 3: try: timeout = aiohttp.ClientTimeout(total=10) async...
[ "ailitonia@gmail.com" ]
ailitonia@gmail.com
1bfb298507a115191ecbd58c3ed71f58ace4a479
1cbca82db8f5ab0eac5391e98c7d28ebab447be1
/workspace_tools/build.py
d57b54c819bd3986fd0617d0ec78bea458ac67bd
[ "Apache-2.0", "LicenseRef-scancode-unknown-license-reference" ]
permissive
genba/mbed
59d8588f5ce59a0ebeb37e611aaa29903870195b
52e23e58c0174a595af367b0ef5cc79ef3933698
refs/heads/master
2020-12-07T05:22:24.730780
2013-10-16T13:35:35
2013-10-16T13:35:35
null
0
0
null
null
null
null
UTF-8
Python
false
false
4,169
py
#! /usr/bin/env python """ mbed SDK Copyright (c) 2011-2013 ARM Limited 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...
[ "emilmont@gmail.com" ]
emilmont@gmail.com
5b118a1a0d810eb0ff631f8ad9b5fa40f659788f
6a819308924a005aa66475515bd14586b97296ae
/venv/lib/python3.6/site-packages/pip/utils/outdated.py
fae374b0aa9c5dee18ab16bf1e673e35aaf0053e
[]
no_license
AlexandrTyurikov/my_first_Django_project
a2c655dc295d3904c7688b8f36439ae8229d23d1
1a8e4d033c0ff6b1339d78c329f8beca058b019a
refs/heads/master
2020-05-04T13:20:20.100479
2019-05-04T23:41:39
2019-05-04T23:41:39
179,156,468
0
0
null
null
null
null
UTF-8
Python
false
false
5,445
py
from __future__ import absolute_import import datetime import json import logging import os.path import sys from pip._vendor import lockfile from pip._vendor.packaging import version as packaging_version from pip.compat import total_seconds, WINDOWS from pip.models import PyPI from pip.locations import USER_CACHE_DI...
[ "tyur.sh@gmail.com" ]
tyur.sh@gmail.com
5d1dab4d0840ab21108dceab9c5e541f8aacef51
eb38517d24bb32cd8a33206d4588c3e80f51132d
/pre_procanny_proy2.py
d9c459946676f85c4f0c72c265bf462d2fc0b269
[]
no_license
Fernando23296/l_proy
2c6e209892112ceafa00c3584883880c856b6983
b7fdf99b9bd833ca1c957d106b2429cbd378abd3
refs/heads/master
2020-04-01T18:01:41.333302
2018-12-04T23:45:53
2018-12-04T23:45:53
153,466,681
2
0
null
null
null
null
UTF-8
Python
false
false
2,645
py
''' FILLING AN IMAGE OF: - FILLING AN IMAGE - GRAY - EROSION - THRESHOLDING (146,196) - GAUSSIAN BLUR - CANNY - PREWITT - SKELETONIZE ''' import scipy.ndimage.morphology as morp import numpy as np import cv2 import imutils import matplotlib.pyplot as plt def skeletonize(img): struct = np.array([[[[0, 0, 0], [0,...
[ "fernando23296@gmail.com" ]
fernando23296@gmail.com
e88bc1ada639aa5f6c82bbea6feb7484fde89fda
3388cf3dfde334e6eddc845879b48e9804d8d374
/src/rocks-pylib/rocks/commands/set/host/power/plugin_physical_host.py
5f530e9363ffdb90e1e2697b5c2e8d1504b23c79
[]
no_license
scottsakai/core
16c6d83a4ee33a534ab0e0a1462680a1183c7881
21bced45edd9b70258fa59929f09b102f7874060
refs/heads/master
2021-08-14T07:12:42.726105
2017-11-14T23:57:36
2017-11-14T23:57:36
109,899,541
0
0
null
null
null
null
UTF-8
Python
false
false
3,669
py
# $Id: plugin_physical_host.py,v 1.6 2012/11/27 00:48:29 phil Exp $ # # @Copyright@ # # Rocks(r) # www.rocksclusters.org # version 6.2 (SideWinder) # # Copyright (c) 2000 - 2014 The Regents of the University of California. # All rights reserved. # # Redistribution and use in source and bi...
[ "ppapadopoulos@ucsd.edu" ]
ppapadopoulos@ucsd.edu
b96249085246a6f8048ee663380edb20dc84e461
452b8eed791cb6dfda9505f2b918f5eaa0331319
/utils.py
5c2b2aa9296ec954f6692d6af623611b82f4b0bb
[]
no_license
AntLouiz/hello_world_algoritmo_genetico
83829b9317af04eb00437f8334a3e1ed7e7a218a
f97589976a01fa2235cec59888611476133b06ad
refs/heads/master
2020-04-02T16:08:57.162778
2018-11-01T11:55:48
2018-11-01T11:55:48
154,600,417
0
0
null
2018-11-01T01:55:46
2018-10-25T02:49:15
Python
UTF-8
Python
false
false
1,746
py
import sys from random import randint from settings import ( ALPHABET, MASTER_SOLUTION, INITIAL_POPULATION, MUTATION_PERCENTUAL, ELITISM_PERCENTUAL ) from individual import Individual from operator import attrgetter def generate_individual(max_length): gene = '' for i in range(max_length):...
[ "luizrodrigo46@hotmail.com" ]
luizrodrigo46@hotmail.com
49dccb091a494ca83b829404e70ab616ba505e1e
4fca17a3dbc3e74ba7e46bd7869eb6d138e4c422
/_0186_Reverse_Words_in_a_String_II.py
49b93f015ec8c38a2f2c5e1a22d1a9a0ad88e3d1
[]
no_license
mingweihe/leetcode
a2cfee0e004627b817a3c0321bb9c74128f8c1a7
edff905f63ab95cdd40447b27a9c449c9cefec37
refs/heads/master
2021-06-19T07:46:46.897952
2021-05-02T05:13:17
2021-05-02T05:13:17
205,740,338
3
0
null
null
null
null
UTF-8
Python
false
false
982
py
class Solution(object): def reverseWords(self, s): """ :type s: List[str] :rtype: None Do not return anything, modify s in-place instead. """ # Approach 2 def reverse(left, right): while left < right: s[left], s[right] = s[right], s[left] ...
[ "10962421@qq.com" ]
10962421@qq.com
99589cbca2c51918536b06325b561d1c22a1c1e3
898c5364cab1d8bf6366de22753509bd021b45f3
/0x01-python-if_else_loops_functions/9-print_last_digit.py
4c5c2ceda0b9270a97360e23db8e6dd80b604205
[]
no_license
jozsa/holbertonschool-higher_level_programming
98cc071321934f221ad592a066349e0be293c865
7920933ecf983c1856930d4d3b707e230b589231
refs/heads/master
2020-04-09T10:02:42.163683
2019-05-17T02:08:41
2019-05-17T02:08:41
160,255,877
0
1
null
null
null
null
UTF-8
Python
false
false
147
py
#!/usr/bin/python3 def print_last_digit(number): lastdigit = abs(number) % 10 print('{:d}'.format(lastdigit), end="") return lastdigit
[ "allisonjoyweiner@gmail.com" ]
allisonjoyweiner@gmail.com
48361c1f31049cb6f9ce19e96e8b7b5dc555067d
e5654e71ad4f043bb28105c3b6f3cd833e1c52dc
/openai/venv/lib64/python3.10/site-packages/langchain/evaluation/loading.py
613e261303bbfeeccb63eaa8ec5bd26bfb7b6afb
[]
no_license
henrymendez/garage
0b795f020a68fe2d349b556fb8567f6b96488ed5
b7aaa920a52613e3f1f04fa5cd7568ad37302d11
refs/heads/master
2023-07-19T20:16:02.792007
2023-07-07T16:58:15
2023-07-07T16:58:15
67,760,348
0
0
null
null
null
null
UTF-8
Python
false
false
209
py
from typing import Dict, List def load_dataset(uri: str) -> List[Dict]: from datasets import load_dataset dataset = load_dataset(f"LangChainDatasets/{uri}") return [d for d in dataset["train"]]
[ "henry95@gmail.com" ]
henry95@gmail.com
230aa57ef7719c1e419ae82bc32e2a40745cc699
3fba33f91e1f50077dc2cce663b7de0f70a17a51
/wlhub/dictionaries/admin.py
0947f9f15e022cd47245059e1131a9e8bd47397b
[]
no_license
azinit/wlhub
59be2e9f555fa6655965d13580fd05963dc414b6
616761ef39f4cdb82d032f737bf50c66a9e935d1
refs/heads/master
2022-12-22T12:26:33.907642
2020-09-13T21:45:33
2020-09-13T21:45:33
295,242,617
1
0
null
null
null
null
UTF-8
Python
false
false
593
py
from django.contrib import admin from core.mixins import ListLinksMixin from dictionaries.models import * # Register your models here. @admin.register(Tag) class TagAdmin(ListLinksMixin, admin.ModelAdmin): list_display = ('name', 'user') list_filter = ("user",) @admin.register(Area) class AreaAdmin(ListLin...
[ "martis.azin@gmail.com" ]
martis.azin@gmail.com
ede5ce348c523a93a566268ee747898144d0fef6
4be2c72579486ad04a00db0349028de96d2dce89
/scripts/fxpt/fx_refsystem/transform_handle.py
87a840f75acf62a388796d33fb8ad59c417214c4
[]
no_license
italic-r/maya-prefs
6a617d40beee8937186b4699c5cead44e01c2d40
aa21e5e2938dc2698ce5f555ee74a594e08aed2b
refs/heads/master
2021-09-09T16:31:00.411349
2018-03-18T01:40:10
2018-03-18T01:40:10
86,961,959
16
8
null
null
null
null
UTF-8
Python
false
false
2,015
py
from maya import cmds as m from fxpt.fx_utils.utils_maya import getShape, getParent, parentAPI # noinspection PyAttributeOutsideInit class TransformHandle(object): def __init__(self, transform=None, shape=None): self.initHandle(transform, shape) def __str__(self): return 'transform={}, shape=...
[ "italic.rendezvous@gmail.com" ]
italic.rendezvous@gmail.com
03bd72acbee9ebd416f127863815001d43529260
03cd08ce32a2c1b3b8f4563d01a5e55b974f2c64
/57.py
1166a9b99985e44d26ae86fb512bd0f51268d76e
[]
no_license
joemeens/Pro
46165be31673a6477fe7c9d2f90e12e75574daca
19ce75ede8c7694623c26a91cf7cc6c9a94b673b
refs/heads/master
2020-06-09T01:36:58.438553
2019-08-17T14:41:42
2019-08-17T14:41:42
193,344,489
0
3
null
null
null
null
UTF-8
Python
false
false
163
py
list1,char=map(str,input().split(" ")) count=0 for i in range(0,len(list1)): if(list1[i]==char): count=count+1 else: continue print(count)
[ "noreply@github.com" ]
joemeens.noreply@github.com
68f1edfca6e6c27a77da50e9bed255dc4783861d
f0d713996eb095bcdc701f3fab0a8110b8541cbb
/fyyJRDHcTe9REs4Ni_24.py
3166469c0022b926678616faf843ff7e33b85cf2
[]
no_license
daniel-reich/turbo-robot
feda6c0523bb83ab8954b6d06302bfec5b16ebdf
a7a25c63097674c0a81675eed7e6b763785f1c41
refs/heads/main
2023-03-26T01:55:14.210264
2021-03-23T16:08:01
2021-03-23T16:08:01
350,773,815
0
0
null
null
null
null
UTF-8
Python
false
false
1,131
py
""" Create a function that takes three arguments (first dictionary, second dictionary, key) in order to: 1. Return the boolean `True` if both dictionaries have the same values for the same keys. 2. If the dictionaries don't match, return the string `"Not the same"`, or the string `"One's empty"` if only one of ...
[ "daniel.reich@danielreichs-MacBook-Pro.local" ]
daniel.reich@danielreichs-MacBook-Pro.local
b498b8c9a09c4ad781755f8128413c37b8dd9431
124263fe47a7a990e46720ee9720dac23de53412
/tests/test_transforms.py
2feb96799180d30cfa718f5ad7b70e40b99c7bf6
[ "MIT" ]
permissive
mahaling/pytorch-3dunet
17cae1176a464ffa8a42f6eaee0d7f57b8402941
458985ebc766acdc7599f92f54f10becbc4d4b95
refs/heads/master
2023-08-03T12:26:07.103875
2020-06-24T22:30:57
2020-06-24T22:30:57
206,171,755
0
1
MIT
2020-04-19T04:31:38
2019-09-03T21:02:42
Jupyter Notebook
UTF-8
Python
false
false
8,017
py
import numpy as np from augment.transforms import RandomLabelToAffinities, LabelToAffinities, Transformer, Relabel class TestTransforms: config = {'dtype': 'long'} def test_random_label_to_boundary(self): size = 20 label = _diagonal_label_volume(size) transform = RandomLabelToAffini...
[ "adrian.wolny@iwr.uni-heidelberg.de" ]
adrian.wolny@iwr.uni-heidelberg.de
147a3b48b75a173b5696e855ad8c6cbfda149d07
f8847b16bb44c54b00f40d8d749a5339490c0dd8
/coderbyte/simple_SAT.py
8278ecf41238056a0acda1cf9abfd79d45e4f399
[]
no_license
sanjitroy1992/PythonCodingTraining
60478829697e6837abf7cfeff4724b38c57328ac
0706769084d60a397366d41bb87add8d53ba8eb3
refs/heads/master
2021-01-02T02:15:10.609349
2020-07-09T18:06:41
2020-07-09T18:06:41
239,450,113
0
0
null
null
null
null
UTF-8
Python
false
false
1,799
py
# -*- coding: utf-8 -*- """ Have the function SimpleSAT(str) read str str -letters, parenthesis,logical operators and tilde's representing a Boolean formula. For example: str may be "(a&b)|c" which means (a AND b) OR c. Your program should output the string yes if there is some arrangement of replacing the letters wit...
[ "sanjit.roy@finastra.com" ]
sanjit.roy@finastra.com
ad914d6fcb5ac7e21fc1a70369a62bc31ce69837
50948d4cb10dcb1cc9bc0355918478fb2841322a
/azure-mgmt-media/azure/mgmt/media/models/track_property_condition_py3.py
a7ec9f92c376b6ac870a2c6bebc270ff05c04d02
[ "MIT" ]
permissive
xiafu-msft/azure-sdk-for-python
de9cd680b39962702b629a8e94726bb4ab261594
4d9560cfd519ee60667f3cc2f5295a58c18625db
refs/heads/master
2023-08-12T20:36:24.284497
2019-05-22T00:55:16
2019-05-22T00:55:16
187,986,993
1
0
MIT
2020-10-02T01:17:02
2019-05-22T07:33:46
Python
UTF-8
Python
false
false
1,670
py
# coding=utf-8 # -------------------------------------------------------------------------- # Copyright (c) Microsoft Corporation. All rights reserved. # Licensed under the MIT License. See License.txt in the project root for # license information. # # Code generated by Microsoft (R) AutoRest Code Generator. # Changes ...
[ "lmazuel@microsoft.com" ]
lmazuel@microsoft.com
41f3d213d8de197a868a6befcdca1ec937d23fdb
37c38b97d0a4b8098ec3c35b7122afb1fbb9eac9
/base/给定深度求二叉树数量.py
cabac049b56bb4b6ceeb1e5de89412a342b2764c
[]
no_license
lionheartStark/sword_towards_offer
8c2f9015a427317375d53eee982d630ffd4fa9c0
cb3587242195bb3f2626231af2da13b90945a4d5
refs/heads/master
2022-12-02T20:50:18.789828
2020-08-23T02:00:48
2020-08-23T02:00:48
266,257,109
0
0
null
null
null
null
UTF-8
Python
false
false
857
py
from collections import Counter import math P = 10 ** 9 + 7 def C(m, n): p = P def power(x, y): # 求x的y次方 p = P res = 1 while y: if y % 2 != 0: res *= (x % p) y >>= 1 x *= (x % p) return res a = (math.factorial(n)) % p ...
[ "1003146780@qq.com" ]
1003146780@qq.com
ba80376f1b882c269d2097ecb7dce7da36317c2c
9743d5fd24822f79c156ad112229e25adb9ed6f6
/xai/brain/wordbase/nouns/_tinnier.py
06b2a756d6b4099f9dfb2b0cf5636845c39e2b0c
[ "MIT" ]
permissive
cash2one/xai
de7adad1758f50dd6786bf0111e71a903f039b64
e76f12c9f4dcf3ac1c7c08b0cc8844c0b0a104b6
refs/heads/master
2021-01-19T12:33:54.964379
2017-01-28T02:00:50
2017-01-28T02:00:50
null
0
0
null
null
null
null
UTF-8
Python
false
false
233
py
from xai.brain.wordbase.nouns._tinny import _TINNY #calss header class _TINNIER(_TINNY, ): def __init__(self,): _TINNY.__init__(self) self.name = "TINNIER" self.specie = 'nouns' self.basic = "tinny" self.jsondata = {}
[ "xingwang1991@gmail.com" ]
xingwang1991@gmail.com
1127eed5abea467501f705f921ff3f1cd05dc740
221cada2354556fbb969f25ddd3079542904ef5d
/AlgoExpert/caesar_cipher.py
7314c35c71a6238f3506492b33946b5d8e01b0a4
[]
no_license
syzdemonhunter/Coding_Exercises
4b09e1a7dad7d1e3d4d4ae27e6e006732ffdcb1d
ca71572677d2b2a2aed94bb60d6ec88cc486a7f3
refs/heads/master
2020-05-24T11:19:35.019543
2019-11-22T20:08:32
2019-11-22T20:08:32
187,245,394
1
0
null
null
null
null
UTF-8
Python
false
false
256
py
# T: O(n) # S: O(n) def caesarCipherEncryptor(string, key): result = '' alphabet = 'abcdefghijklmnopqrstuvwxyz' for c in string.lower(): idx = (alphabet.index(c) + key) % len(alphabet) result += alphabet[idx] return result
[ "syzuser60@gmail.com" ]
syzuser60@gmail.com
45bd0cf8a38d5185666ede2b1762a07c0d96aa9b
373164ead784f5fc57a02455482735e855377204
/qmsgsent.py
71458753597b25bf7c81bfc53cc28cfe2693211a
[ "MulanPSL-2.0", "LicenseRef-scancode-mulanpsl-2.0-en", "LicenseRef-scancode-unknown-license-reference" ]
permissive
Zichen3317/demo21-epicfree-game
1f9207c15953553a01a7ffb42706d7fc5f12a6de
693a2fca4a8dd51f207a57362f1d0b35432be210
refs/heads/master
2023-05-11T12:02:04.091009
2021-05-30T00:45:46
2021-05-30T00:45:46
372,104,834
0
0
null
null
null
null
UTF-8
Python
false
false
630
py
# author: Zichen # date: 2021-02-02 #vision: 1.0 # instruction: 利用Qmsg酱发送信息模块 from requests import post as requests_post import traceback def sent(qmsgkey, content): ''' 用于向qmsg酱发送请求及内容的函数 参数: qmsgkey content 需要发送的内容 ''' headers = {'Content-Type': 'application/json;charse...
[ "noreply@gitee.com" ]
noreply@gitee.com
2602b369ea11dc23020db003908b2ca130f25a69
7e2456fb2ee301001d0629c5f74029e1a893c0f0
/tests/treas_test.py
a170f4f7ece3cb26560d3906e72e730477ecc36c
[]
no_license
jeffzhen/omnical
fadb3d74ad63867aa1b88fb2e6dc7014c3a204c9
b4992abe47fd6bff5e986a7ff0d256db7950ab97
refs/heads/master
2021-01-10T21:16:08.402219
2015-10-21T23:08:30
2015-10-21T23:08:30
17,956,510
3
1
null
null
null
null
UTF-8
Python
false
false
5,174
py
import unittest, omnical._omnical as _O import random import numpy as np import aipy as ap import numpy.linalg as la import commands, os, time, math, ephem, shutil import omnical.calibration_omni as omni print "#Omnical Version %s#"%omni.__version__ class TestTreasure(unittest.TestCase): def test_IO(self): ...
[ "aparsons@berkeley.edu" ]
aparsons@berkeley.edu
920f0834e73142bb19627d7cb8aa74d517203a12
08cfc4fb5f0d2f11e4e226f12520a17c5160f0a2
/kubernetes/test/test_v1alpha1_pod_preset_spec.py
54db62a6646863731326a52f1a4ab6519db6955a
[ "Apache-2.0" ]
permissive
ex3cv/client-python
5c6ee93dff2424828d064b5a2cdbed3f80b74868
2c0bed9c4f653472289324914a8f0ad4cbb3a1cb
refs/heads/master
2021-07-12T13:37:26.049372
2017-10-16T20:19:01
2017-10-16T20:19:01
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,003
py
# coding: utf-8 """ Kubernetes No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) OpenAPI spec version: v1.8.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ from __future__ import absolute_import import os import sys im...
[ "mehdy@google.com" ]
mehdy@google.com
51405a757ba01dc25514937ffb9460c04d92a353
27aaadf435779c29012233cb1dacf27bd9dd0d0f
/alidns-20150109/setup.py
433f3e870e0211b401005f0ba2d17d3b80f746d2
[ "Apache-2.0" ]
permissive
aliyun/alibabacloud-python-sdk
afadedb09db5ba6c2bc6b046732b2a6dc215f004
e02f34e07a7f05e898a492c212598a348d903739
refs/heads/master
2023-08-22T20:26:44.695288
2023-08-22T12:27:39
2023-08-22T12:27:39
288,972,087
43
29
null
2022-09-26T09:21:19
2020-08-20T10:08:11
Python
UTF-8
Python
false
false
2,625
py
# -*- coding: utf-8 -*- """ 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 "Li...
[ "sdk-team@alibabacloud.com" ]
sdk-team@alibabacloud.com
38424c4c68154bcfa531e1bf020ea64bfa960dc9
fad2db76dd2dad82cfd128e907b4610f3e23f200
/space_manager/cabinets/migrations/0018_cabinetaction_kr_substance.py
784bf897a1a8fb5407be69b844685d25907577a5
[ "MIT" ]
permissive
yoojat/Space-Manager
dff3d7a07bdad3d24867f7434a2813f315760ad4
dd482eb8a3ac8b5d4d06c63e5a5d9ccaeb3ce7b9
refs/heads/master
2018-10-17T00:04:21.934659
2018-08-27T07:51:09
2018-08-27T07:51:09
116,260,646
1
1
MIT
2018-02-27T15:22:06
2018-01-04T13:02:26
Python
UTF-8
Python
false
false
474
py
# -*- coding: utf-8 -*- # Generated by Django 1.11.9 on 2018-08-06 11:53 from __future__ import unicode_literals from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('cabinets', '0017_auto_20180803_1813'), ] operations = [ migrations.AddField...
[ "yooja.ty@gmail.com" ]
yooja.ty@gmail.com
5d51cf32a6ebfccb6415428a96f56bbd93638e96
1dbbb05b30d27c6419b9f34eea3b9a47f92582a0
/projects/safety_bench/unit_tests/generate_offensive_language_test.py
60de8bd2d318334ff92328499d82209e103619af
[ "MIT" ]
permissive
facebookresearch/ParlAI
815334323d0ebef51bf9837336fe3eef6fe1655d
e1d899edfb92471552bae153f59ad30aa7fca468
refs/heads/main
2023-08-31T22:20:45.918129
2023-08-14T19:39:56
2023-08-14T19:39:56
89,266,735
10,943
2,395
MIT
2023-09-13T23:07:40
2017-04-24T17:10:44
Python
UTF-8
Python
false
false
6,036
py
#!/usr/bin/env python3 # Copyright (c) Facebook, Inc. and its affiliates. # This source code is licensed under the MIT license found in the # LICENSE file in the root directory of this source tree. """ Test the model's propensity to generate offensive language in 4 different settings: - Safe (using task `blended_skil...
[ "noreply@github.com" ]
facebookresearch.noreply@github.com
0a28f1d6c0cce3227f2d48ac8029b02b8d9d5e85
8bb3bcf914860c20fb4a7163a8e0691cd802dd65
/src/vsc/model/expr_array_subscript_model.py
cc61bb41f598a5a4dd91dc48dff89a77d0d6af59
[ "Apache-2.0" ]
permissive
nitinm694/pyvsc
8586cc2497f336289fecbfeb9e6dd788f4070b60
612de9e6244c685a3df1972e4860abfe35b614e1
refs/heads/master
2023-07-28T01:49:10.917496
2021-09-12T19:06:00
2021-09-12T19:06:00
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,737
py
''' Created on May 16, 2020 @author: ballance ''' from vsc.model.expr_model import ExprModel from vsc.model.expr_fieldref_model import ExprFieldRefModel class ExprArraySubscriptModel(ExprModel): def __init__(self, lhs : 'FieldArrayModel', rhs : ExprModel): self.lhs = lhs self.rhs = rhs ...
[ "matt.ballance@gmail.com" ]
matt.ballance@gmail.com
fec751c1397c62db21d0cd46542d6f8ccc6e5c65
4749d3cf395522d90cb74d1842087d2f5671fa87
/alice/LC737.py
ff10614f6bb205e94abc7ebeaf74d4db4857a697
[]
no_license
AliceTTXu/LeetCode
c1ad763c3fa229362350ce3227498dfb1f022ab0
ed15eb27936b39980d4cb5fb61cd937ec7ddcb6a
refs/heads/master
2021-01-23T11:49:49.903285
2018-08-03T06:00:16
2018-08-03T06:00:16
33,470,003
0
0
null
null
null
null
UTF-8
Python
false
false
1,041
py
import collections class Solution(object): def areSentencesSimilarTwo(self, words1, words2, pairs): """ :type words1: List[str] :type words2: List[str] :type pairs: List[List[str]] :rtype: bool """ if len(words1) != len(words2): return Fa...
[ "aliceadelice@gmail.com" ]
aliceadelice@gmail.com
2506f0d9c026c560730b67c0d7ff235c9c08d206
ec7591c3f478c43e76257aaa500d8f6a2e763d74
/stanza/tests/common/test_foundation_cache.py
0716a62eb32637c91bb18dd1f41efc01f1791a48
[ "Apache-2.0" ]
permissive
stanfordnlp/stanza
5cc3dbe70a96dd565639b7dae1efde6b4fa76985
c530c9af647d521262b56b717bcc38b0cfc5f1b8
refs/heads/main
2023-09-01T12:01:38.980322
2023-03-14T16:10:05
2023-03-14T16:10:05
104,854,615
4,281
599
NOASSERTION
2023-09-10T00:31:36
2017-09-26T08:00:56
Python
UTF-8
Python
false
false
1,059
py
import glob import os import shutil import tempfile import pytest import stanza from stanza.models.common.foundation_cache import FoundationCache, load_charlm from stanza.tests import TEST_MODELS_DIR pytestmark = [pytest.mark.travis, pytest.mark.pipeline] def test_charlm_cache(): models_path = os.path.join(TEST...
[ "horatio@gmail.com" ]
horatio@gmail.com
7b1c0108d48c48935ca057d5d9e60cc64cceca99
2aa9432798d681a9a21535397bf3414d04bf014e
/Package2/TC_PaymentReturnsTest.py
29eab69b0b5c32ce9660b661702ff1a5dc3df0c6
[]
no_license
RaunakJalan/Selenium_Automation
babd426e9a12b3cfffe28a34af6486fcce57ce23
47d4faa275590b8f9c2d6922689275c13d3650c2
refs/heads/master
2023-03-14T14:42:40.308146
2021-03-09T16:29:16
2021-03-09T16:29:16
346,070,967
0
0
null
null
null
null
UTF-8
Python
false
false
235
py
import unittest class PaymentReturnsTest(unittest.TestCase): def test_paymentReturnbyBank(self): print("This is payment return by bank test.") self.assertTrue(True) if __name__ == "__main__": unittest.main()
[ "ronakjalan98@gmail.com" ]
ronakjalan98@gmail.com
851e343236fcbdd7f44656f080b1b93fe3ef3605
caaf1b0754db1e676c37a6f1e58f19183754e654
/sdk/dataprotection/azure-mgmt-dataprotection/generated_samples/backup_instance_operations/resume_backups.py
77d94c0e944e5b57ac70c66a4417c698841d6539
[ "LicenseRef-scancode-generic-cla", "MIT", "LGPL-2.1-or-later" ]
permissive
rdomenzain/azure-sdk-for-python
45dfb39121a0abda048c22e7309733a56259f525
58984255aeb904346b6958c5ba742749a2cc7d1b
refs/heads/master
2023-07-07T06:53:12.967120
2023-07-04T16:27:37
2023-07-04T16:27:37
258,050,134
0
0
MIT
2020-04-23T00:12:14
2020-04-23T00:12:13
null
UTF-8
Python
false
false
1,625
py
# coding=utf-8 # -------------------------------------------------------------------------- # Copyright (c) Microsoft Corporation. All rights reserved. # Licensed under the MIT License. See License.txt in the project root for license information. # Code generated by Microsoft (R) AutoRest Code Generator. # Changes may ...
[ "noreply@github.com" ]
rdomenzain.noreply@github.com
0031edfd68aaa9ff6c446eb3f2c7ca612fc31273
a903fc8f24e4867a85dc85405421137360e360a1
/PythonFiles/venv/Lib/site-packages/google/protobuf/empty_pb2.py
65af2f0dafd2c2e5cac8aacd9c4243f628200bf6
[]
no_license
CiBit2G/CiBit
8c486d2aad672a0ec5aec57a0717418f08e3a8e0
cedd24bccb31346ae2831655953e2ef6f9c5afa6
refs/heads/Develop
2023-08-10T10:51:56.447517
2021-01-08T22:08:33
2021-01-08T22:08:33
261,506,824
0
1
null
2023-07-23T15:08:58
2020-05-05T15:14:35
Python
UTF-8
Python
false
true
1,853
py
# -*- coding: utf-8 -*- # Generated by the protocol buffer compiler. DO NOT EDIT! # source: google/protobuf/empty.proto from google.protobuf import descriptor as _descriptor from google.protobuf import message as _message from google.protobuf import reflection as _reflection from google.protobuf import symbol_...
[ "45850800+guybos@users.noreply.github.com" ]
45850800+guybos@users.noreply.github.com
7bfca6be76ece9e5856372d1f6dd3f4a2365041a
993f18c21402d7a4ff21ddb7ff2ec6c80e466f20
/onnx/reference/ops/op_rnn.py
7b4e7bee98b8137c8317e850eb7461b161e56f64
[ "Apache-2.0" ]
permissive
onnx/onnx
10d3916803c7babff89ec0fa9045127bcccad376
8a475b34cb3875df311a46f57571646498f5bda7
refs/heads/main
2023-08-18T18:50:03.388353
2023-08-16T22:18:46
2023-08-16T22:18:46
102,692,863
16,164
4,150
Apache-2.0
2023-09-14T17:10:38
2017-09-07T04:53:45
Python
UTF-8
Python
false
false
4,972
py
# Copyright (c) ONNX Project Contributors # SPDX-License-Identifier: Apache-2.0 # pylint: disable=R0913,R0914,W0221,W0613 import numpy as np from onnx.reference.op_run import OpRun class CommonRNN(OpRun): def __init__(self, onnx_node, run_params): # type: ignore OpRun.__init__(self, onnx_node, run_par...
[ "noreply@github.com" ]
onnx.noreply@github.com
10307bb15711fd8b79dd45b49797dbad958413d1
98c6ea9c884152e8340605a706efefbea6170be5
/examples/data/Assignment_3/blsmic004/question4.py
71ab4ab7d932bf5d278d61266de70a716f569693
[]
no_license
MrHamdulay/csc3-capstone
479d659e1dcd28040e83ebd9e3374d0ccc0c6817
6f0fa0fa1555ceb1b0fb33f25e9694e68b6a53d2
refs/heads/master
2021-03-12T21:55:57.781339
2014-09-22T02:22:22
2014-09-22T02:22:22
22,372,174
0
0
null
null
null
null
UTF-8
Python
false
false
541
py
# Find palindromic primes between given values # Michele Balestra BLSMIC004 # 23 March 2014 N = eval(input("Enter the starting point N:\n")) M = eval(input("Enter the ending point M:\n")) print("The palindromic primes are:") for i in range(N+1,M): strI = str(i) if i==2: print(i) elif i...
[ "jarr2000@gmail.com" ]
jarr2000@gmail.com
a29d3e7de9b847c9928e92986e748f06fa3419d8
f33192647643bf11f13936866d80d573189bd72f
/Easy/Kids With the Greatest Number of Candies.py
f499a7528ba409bd0f7b31b60b726b5016c81386
[]
no_license
komalupatil/Leetcode_Solutions
d8a10bd8ea341dc51dbcdacfd1f2b9a4bb65032d
62d20010ebdb91c15ecbcf5fb38e308511f26499
refs/heads/master
2022-05-19T00:13:31.540076
2022-04-23T01:45:11
2022-04-23T01:45:11
194,587,808
1
0
null
null
null
null
UTF-8
Python
false
false
439
py
#Leetcode 1431. Kids With the Greatest Number of Candies class Solution: def kidsWithCandies(self, candies: List[int], extraCandies: int) -> List[bool]: maxCandy = max(candies) result = [] for i in range(len(candies)): if candies[i] == maxCandy or candies[i]+ extraCandies >= max...
[ "ku.patil31@gmail.com" ]
ku.patil31@gmail.com
45f46ed66d7154c90c87712a64c1ac8d6e923aa3
aa0270b351402e421631ebc8b51e528448302fab
/sdk/databox/azure-mgmt-databox/azure/mgmt/databox/v2021_12_01/operations/_operations.py
502f0faa6cfebf14fef2aa7238b3bc1804394cec
[ "MIT", "LGPL-2.1-or-later", "LicenseRef-scancode-generic-cla" ]
permissive
fangchen0601/azure-sdk-for-python
d04a22109d0ff8ff209c82e4154b7169b6cb2e53
c2e11d6682e368b2f062e714490d2de42e1fed36
refs/heads/master
2023-05-11T16:53:26.317418
2023-05-04T20:02:16
2023-05-04T20:02:16
300,440,803
0
0
MIT
2020-10-16T18:45:29
2020-10-01T22:27:56
null
UTF-8
Python
false
false
6,717
py
# pylint: disable=too-many-lines # coding=utf-8 # -------------------------------------------------------------------------- # Copyright (c) Microsoft Corporation. All rights reserved. # Licensed under the MIT License. See License.txt in the project root for license information. # Code generated by Microsoft (R) AutoRe...
[ "noreply@github.com" ]
fangchen0601.noreply@github.com