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
d12e1498499716d532c06a62f69e953762cfd604
be61a9f30274514857ea34297719157f1e5b8447
/fhir/resources/DSTU2/eligibilityresponse.py
83758ea3826fdf34e860f691830f098b99803f84
[ "BSD-3-Clause" ]
permissive
jwygoda/fhir.resources
ceff3a620100d2e875136b86d3e82816c0e60a33
5053565570d1ca992d9971d20db813c53fd350b9
refs/heads/master
2021-02-05T02:59:17.436485
2019-07-18T10:57:33
2019-07-18T10:57:33
null
0
0
null
null
null
null
UTF-8
Python
false
false
3,429
py
#!/usr/bin/env python # -*- coding: utf-8 -*- # # Generated from FHIR 1.0.2.7202 (http://hl7.org/fhir/StructureDefinition/EligibilityResponse) on 2019-05-14. # 2019, SMART Health IT. from . import domainresource class EligibilityResponse(domainresource.DomainResource): """ EligibilityResponse resource. ...
[ "connect2nazrul@gmail.com" ]
connect2nazrul@gmail.com
61d8403f84bf49cda2675407bf44295078cfd9df
449fb247397f2e029d3d73fc441fac43004b58c5
/autonetkit/topologies/multi_as.py
8659401408a0444e06513d550eb6286f9dd73594
[]
no_license
iainwp/autonetkit
e975697f7b6426abc681c9d14929302ec9dc3c74
7bf893fa3849174ee3514ac2859ad53e121fd8b9
refs/heads/master
2020-07-22T17:55:52.659795
2014-10-14T06:13:51
2014-10-14T06:13:51
null
0
0
null
null
null
null
UTF-8
Python
false
false
20,283
py
def multi_as(): """Returns anm with input and physical as house graph""" import autonetkit import networkx as nx from autonetkit.load.load_json import simple_to_nx # returns a house graph data = {'directed': False, 'graph': [('node_default', {'asn': 1, ...
[ "simon.knight@gmail.com" ]
simon.knight@gmail.com
a3a9e7e725c1b44de191970285de795ee13c6cdb
cc72013ede1b3bb02c32a3d0d199be4f7986c173
/ch13/anagrams.py
ea593d66359a246b5e448761405cf3e62f20e948
[]
no_license
alextickle/zelle-exercises
b87d2a1476189954565f5cc97ee1448200eb00d4
b784ff9ed9b2cb1c56e31c1c63f3e2b52fa37875
refs/heads/master
2021-01-19T00:33:19.132238
2017-09-14T23:35:35
2017-09-14T23:35:35
87,182,609
1
1
null
null
null
null
UTF-8
Python
false
false
173
py
def anagrams(s): if s == "": return [s] else: ans = [] for w in anagrams(s[1:]): for pos in range(len(w) + 1): ans.append(w[:pos]+s[0]+w[pos:]) return ans
[ "alexander.tickle@gmail.com" ]
alexander.tickle@gmail.com
83bf77fbf76ff64192e41dc2e4a0ba42221f38b8
2c32cf726e111b8625265c458feeaea436652e83
/Trie/implement-trie.py
de17e2d41fb4c7a26a782d2fb9471c1792719d35
[]
no_license
minhthe/practice-algorithms-and-data-structures
6fa3bf98e8e2fe98f4e32419fb797b1df4400364
488a82dd3a0c797859a6c9e1195d6d579d676073
refs/heads/master
2021-05-16T23:01:20.026475
2020-09-23T04:17:13
2020-09-23T04:17:13
250,505,610
0
0
null
null
null
null
UTF-8
Python
false
false
1,385
py
'''https://leetcode.com/problems/implement-trie-prefix-tree/''' class Node: def __init__(self): self.child = {} self.cntWord = 0 class Trie: def __init__(self): """ Initialize your data structure here. """ self.root = Node() def insert(sel...
[ "minhthe.007@gmail.com" ]
minhthe.007@gmail.com
44c63246f820eac5a95e7a8276d4bd7d7fcf9c4e
32e6c2d63d92b1c2eb00ef3d362a7e3deba0f72f
/venv/Scripts/pip3.7-script.py
63b7a09dee8b2ec35e7254c61a5861719012b0af
[]
no_license
kvineethgithub/example
d8706200e0297793a211b98b2a44eb4c3f76a143
0ecb300753fa15fcefb1dd57c454b8d45ac7f58f
refs/heads/master
2020-05-31T06:43:29.201072
2019-06-04T06:52:01
2019-06-04T06:52:01
190,147,853
0
0
null
null
null
null
UTF-8
Python
false
false
430
py
#!C:\Users\Intel\PycharmProjects\django_1\venv\Scripts\python.exe # EASY-INSTALL-ENTRY-SCRIPT: 'pip==19.0.3','console_scripts','pip3.7' __requires__ = 'pip==19.0.3' import re import sys from pkg_resources import load_entry_point if __name__ == '__main__': sys.argv[0] = re.sub(r'(-script\.pyw?|\.exe)?$', ''...
[ "you@example.com" ]
you@example.com
fd0a0b5a5b5e3cc90a4fd846d0b27ae1c4e1dcd3
15d7b8fb4fd92984844a9ef8b60213ad5b7344d4
/fairseq/criterions/wav2vec_criterion.py
cc454b93096c428ce456d55c18ce7ad99c16564d
[ "MIT" ]
permissive
seeledu/fairseq
18a80cecd9dbdf428569cda516aa290dca60a4d4
148327d8c1e3a5f9d17a11bbb1973a7cf3f955d3
refs/heads/master
2023-02-25T08:11:53.009964
2021-01-28T22:18:48
2021-01-28T22:21:10
307,387,657
0
0
MIT
2021-01-19T08:30:55
2020-10-26T13:49:16
null
UTF-8
Python
false
false
7,130
py
# Copyright (c) Facebook, Inc. and its affiliates. # # This source code is licensed under the MIT license found in the # LICENSE file in the root directory of this source tree. import math from dataclasses import dataclass, field from typing import List, Optional import torch import torch.nn.functional as F from fair...
[ "facebook-github-bot@users.noreply.github.com" ]
facebook-github-bot@users.noreply.github.com
86806da74e6fdfe7c4fefd8d632d1c262190b761
8d8663095c119b2c175247bdf7b5fa613c378061
/2주차 실습/1316.py
d42921edb93ddaa10f650f874673054a04873574
[]
no_license
mjson1954/piro13
047dfc7c6090548f4f67c8b36bd4e06eea493a79
c81a731ff245231111065482b0cb5edf2687425c
refs/heads/master
2022-11-20T00:52:49.364816
2020-07-17T11:53:05
2020-07-17T11:53:05
277,566,415
1
0
null
null
null
null
UTF-8
Python
false
false
894
py
def check_group(word): last_alphabet ="" alphabets = [] # 나온 alphabet list # aabb for letter in word: if letter == last_alphabet: # a continue else: if letter in alphabets: return False # 그룹 단어가 아님 alphabets.append(letter) # [a, b] ...
[ "mjson1954@gmail.com" ]
mjson1954@gmail.com
7d5984884e7de5b64ec6eac294903973f53520a7
032a0c939d96d0e5307dbce86e11faf7060f4ed9
/lte/gateway/python/magma/pipelined/qos/tc_ops_pyroute2.py
8d804a69815a66d7d80268276aa7d934f874b634
[ "BSD-3-Clause" ]
permissive
radha0018/magma
cac9ff3491dd2661e5dc0aa1f9a304a5428e2d2a
8436966a4bb3cf7fdc3f567704062b6f9568db25
refs/heads/master
2023-05-05T08:26:07.132969
2021-05-27T18:44:44
2021-05-27T18:44:44
371,097,174
0
2
NOASSERTION
2021-05-26T16:26:21
2021-05-26T16:15:53
Go
UTF-8
Python
false
false
5,564
py
""" Copyright 2021 The Magma Authors. This source code is licensed under the BSD-style license found in the LICENSE file in the root directory of this source tree. Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES O...
[ "noreply@github.com" ]
radha0018.noreply@github.com
6b0742c489906576ca7ec31d21f3aa8d5c4568d3
487ce91881032c1de16e35ed8bc187d6034205f7
/codes/CodeJamCrawler/16_0_2_neat/16_0_2_hockeyj85_b.py
89fd456eefc2119405fc60a848830b5031bc2b06
[]
no_license
DaHuO/Supergraph
9cd26d8c5a081803015d93cf5f2674009e92ef7e
c88059dc66297af577ad2b8afa4e0ac0ad622915
refs/heads/master
2021-06-14T16:07:52.405091
2016-08-21T13:39:13
2016-08-21T13:39:13
49,829,508
2
0
null
2021-03-19T21:55:46
2016-01-17T18:23:00
Python
UTF-8
Python
false
false
292
py
from sys import stdout T = int(raw_input()) for t in range(T): stdout.write("Case #"+str(t+1)+": ") line = raw_input() last = "roflcopter" flips = 0 for a in line: if a != last: flips += 1 last = a if line[len(line) - 1] != '-': flips -= 1 stdout.write(str(flips)+"\n")
[ "[dhuo@tcd.ie]" ]
[dhuo@tcd.ie]
0f9e9852bc81691ad0a672e8840592cc337887e5
cba46e28e6f60d9bd8cc8c24a3ff8e065e5a8e49
/scrap_trade_proj/doc_repo/models.py
ecbf73f47f21efe2c10d67aed2895289d3d97b2a
[]
no_license
Horac-Bouthon/scrap-trade-4
fb7e9f8f9ec41446318ce03ad5ff7024ad795771
7686703ce5783dd4a48dc1d9600cda01aa554faa
refs/heads/master
2022-12-12T21:52:38.209500
2020-03-17T07:50:30
2020-03-17T07:50:30
227,142,003
0
0
null
2022-11-22T04:39:35
2019-12-10T14:33:20
Python
UTF-8
Python
false
false
7,097
py
from django.db import models from django.conf import settings from django.urls import reverse import uuid from pdf2image import convert_from_path from django.utils.translation import gettext_lazy as _ from django.utils import translation as tr from translatable.models import TranslatableModel, get_translation_model ...
[ "tbrown.wolf@ubk.cz" ]
tbrown.wolf@ubk.cz
09d004b1906893a51b1d0ef124aa91e4433ed1cd
8a63821681b29f196a0dcf19308a75679f89adaf
/Algorithm/布隆过滤算法.py
f3cc26a121bba26e19360434af297a665e9ad9b0
[]
no_license
Breathleas/notes-4
2b4391b6205660dae256c4132ecb3f953061a2f7
6c11e4583e191da323d8ffdc83534e9582036ae1
refs/heads/master
2021-10-09T03:18:08.560660
2018-12-20T14:46:31
2018-12-20T14:46:31
null
0
0
null
null
null
null
GB18030
Python
false
false
818
py
---------------------------- 布隆过滤算法 | ---------------------------- # 在N多数据中,判断数据是否存在 # 添加逻辑 1,存入数据,使用多个hash函数对数据进行运算 v1 = hash3(key) v2 = hash3(key) v3 = hash3(key) 2,多个hash值取模数组长度,把得到的结果角标设置为1 arr[v1 % arr.length] = 1; arr[v2 % arr.length] = 1; arr[v3 % arr.length] = 1; # 判断逻辑 1,使...
[ "747692844@qq.com" ]
747692844@qq.com
2ca649bd865704e92b59ad46113905a39e6e9ecf
070e06d721d450260f70fed0811b5dd147d1ea10
/zhihudaily/cache.py
c49f84aa4649b4cb8f6609ea4b6296688742e65a
[ "MIT" ]
permissive
lord63/zhihudaily
b1e411c6a93a4cc0ec629336259021baff81d6f7
c6aa147d146223bb5842297e58a702b574f7dce5
refs/heads/master
2021-07-13T16:34:51.370694
2020-08-29T00:32:08
2020-08-29T00:32:08
30,679,182
2
2
MIT
2021-03-19T21:31:47
2015-02-12T01:27:15
CSS
UTF-8
Python
false
false
137
py
#!/usr/bin/env python # -*- coding: utf-8 -*- from __future__ import absolute_import from flask_caching import Cache cache = Cache()
[ "lord63.j@gmail.com" ]
lord63.j@gmail.com
3474ecb3d40fcd0b061ae0df216446bedbe133df
5f9e0c226c6f99f04446d60cd21282e7e6b05d2c
/shopaholic.py
29a69172980d2cbfba97c78833ed1b6795f42e57
[]
no_license
JONNY-ME/my-kattis-solution
867ac267dbb5faa6f7c2af35b435498a22ae269d
51c70e0fd25f1f369cdcd2ce49a54d5d0df2358e
refs/heads/main
2023-06-17T20:04:04.701038
2021-07-16T09:35:35
2021-07-16T09:35:35
386,583,581
0
1
null
null
null
null
UTF-8
Python
false
false
135
py
n=int(input());t=(n//3)*3;s=0 l=sorted([int(i) for i in input().split()], reverse=True)[:t] for i in range(2, t, 3):s+=l[i] print(s)
[ "yohannesmelese4@gmail.com" ]
yohannesmelese4@gmail.com
91f3b83f2e2165edc7225395b0c2597f37f99802
d0237e274f34b6a02f1d78b668a55cb150833435
/src/yss/yss/root/__init__.py
4a2d58135ce75c912bdf61978ef9fa5cccd8fa88
[ "BSD-3-Clause-Modification" ]
permissive
notaliens/youshouldsing
f2a90cc7b7f5d9c64052c72b77827e2c77cd8b40
948f7fb30a12eccdc34bb23db4e139afab8ee782
refs/heads/master
2021-01-01T17:28:44.739929
2019-01-21T05:33:01
2019-01-21T05:33:01
13,230,677
2
0
null
2013-10-02T03:01:26
2013-09-30T23:56:46
CSS
UTF-8
Python
false
false
2,375
py
import pkg_resources from substanced.schema import Schema from substanced.property import PropertySheet from substanced.interfaces import IRoot import colander from pyramid.security import ( Allow, Everyone, Authenticated, ) from substanced.event import subscribe_root_added from substanced.util imp...
[ "chrism@plope.com" ]
chrism@plope.com
4aeb6283041e70a8c1de4a1ba7dc3d632e950b36
a3d2f81c04bde252ef7554e65ecbf2c32ce3c2dc
/feincms/views/decorators.py
62727ae79a4ef972fdad1051bad1b8e7a043a6ec
[ "BSD-2-Clause" ]
permissive
natea/feincms
3dd6949195352ad96e13c2f3b4d8d7a1677a97b8
1d45e3aae5fba6e4a2eccf8ee7675b2ffff2b70c
refs/heads/master
2020-12-25T10:10:14.358175
2011-03-28T14:56:55
2011-03-28T14:56:55
1,497,290
1
0
null
null
null
null
UTF-8
Python
false
false
1,132
py
from django.http import HttpResponse try: from functools import wraps except ImportError: from django.utils.functional import wraps from feincms.module.page.models import Page def add_page_to_extra_context(view_func): """ Adds the best-match page to the extra_context keyword argument. Mainly used ...
[ "mk@spinlock.ch" ]
mk@spinlock.ch
6e150deceef1c7a9b30fb1a8608864d3f6d44be6
c0c4fe8f9aff2e7684fcaf10329f963873753b2a
/doc/examples/scripts/sequence/thca_synthase_polymorphism.py
b480f9e3c1e9a2e58d08430f51d6283c83744cbb
[ "BSD-3-Clause" ]
permissive
thomasnevolianis/biotite
85e1b9d6a1fbb5d9f81501a8ebc617bc26388ab9
916371eb602cfcacb2d5356659298ef38fa01fcc
refs/heads/master
2022-11-30T19:40:53.017368
2020-08-04T07:00:59
2020-08-04T07:00:59
285,375,415
0
0
BSD-3-Clause
2020-08-05T18:41:48
2020-08-05T18:41:47
null
UTF-8
Python
false
false
4,842
py
""" Polymorphisms in the THCA synthase gene ======================================= The THCA synthase catalyzes the last step in the synthesis of tetrahydrocannabinolic acid (THCA), the precursor molecule of tetrahydrocannabinol (THC). Two types of *cannabis sativa* are distinguished: While the *drug-type* strains pr...
[ "patrick.kunzm@gmail.com" ]
patrick.kunzm@gmail.com
b9744bf4821bf09b5f67a2fb97e23214e355a077
b2d3bd39b2de8bcc3b0f05f4800c2fabf83d3c6a
/examples/pwr_run/checkpointing/non_slurm/max_pwr/job2.py
82a946d08723b6eac162e05a65750b65e8a2c09f
[ "MIT" ]
permissive
boringlee24/keras_old
3bf7e3ef455dd4262e41248f13c04c071039270e
1e1176c45c4952ba1b9b9e58e9cc4df027ab111d
refs/heads/master
2021-11-21T03:03:13.656700
2021-11-11T21:57:54
2021-11-11T21:57:54
198,494,579
0
0
null
null
null
null
UTF-8
Python
false
false
6,940
py
""" #Trains a ResNet on the CIFAR10 dataset. """ from __future__ import print_function import keras from keras.layers import Dense, Conv2D, BatchNormalization, Activation from keras.layers import AveragePooling2D, Input, Flatten from keras.optimizers import Adam from keras.callbacks import ModelCheckpoint, LearningRa...
[ "baolin.li1994@gmail.com" ]
baolin.li1994@gmail.com
76bdb93913f9d300ebad0d08e7d3e540f3824537
b87f66b13293782321e20c39aebc05defd8d4b48
/maps/build/mayavi/enthought/mayavi/core/filter.py
73f5839cd3d9347f5fc23d824b5081341fc89a4a
[]
no_license
m-elhussieny/code
5eae020932d935e4d724c2f3d16126a0d42ebf04
5466f5858dbd2f1f082fa0d7417b57c8fb068fad
refs/heads/master
2021-06-13T18:47:08.700053
2016-11-01T05:51:06
2016-11-01T05:51:06
null
0
0
null
null
null
null
UTF-8
Python
false
false
5,988
py
"""The base filter class from which all MayaVi filters derive. """ # Author: Prabhu Ramachandran <prabhu_r@users.sf.net> # Copyright (c) 2005, Enthought, Inc. # License: BSD Style. # Enthought library imports. from enthought.traits.api import List, Str # Local imports from enthought.mayavi.core.source import Source ...
[ "fspaolo@gmail.com" ]
fspaolo@gmail.com
57e5d03c8401a81a3f6c47bf41522f40cacefad2
b8faf65ea23a2d8b119b9522a0aa182e9f51d8b1
/vmraid/desk/form/assign_to.py
0b937b3dc417bfc913934af983ff322a20a1063c
[ "MIT" ]
permissive
vmraid/vmraid
a52868c57b1999a8d648441eb9cd05815204345d
3c2e2a952003ba7ea2cf13673b9e79e127f4166e
refs/heads/main
2022-07-29T18:59:28.585133
2022-04-22T08:02:52
2022-04-22T08:02:52
372,473,120
0
0
null
null
null
null
UTF-8
Python
false
false
6,475
py
# Copyright (c) 2015, VMRaid and Contributors # License: MIT. See LICENSE """assign/unassign to ToDo""" import json import vmraid import vmraid.share import vmraid.utils from vmraid import _ from vmraid.desk.doctype.notification_log.notification_log import ( enqueue_create_notification, get_title, get_title_html,...
[ "sowrisurya@outlook.com" ]
sowrisurya@outlook.com
ad3b204e0353db2d321706bbc3b27e91899eaa08
8a0f8d4b05e26f04dd584ed51ab77c78f00740a8
/monasca_notification/types/notifiers.py
a1040a14ac468bbb4580173f5a8bd071dbd5e838
[]
no_license
TonyChengTW/monasca-tony
1ce9d8fb9299864dc049c9caef0f6ce10b871670
c2b3e70a3fd331410a642aec1a5e0ac58d4dc7e4
refs/heads/master
2021-06-27T02:14:06.889700
2017-09-15T02:46:25
2017-09-15T02:46:25
103,096,157
0
0
null
null
null
null
UTF-8
Python
false
false
4,097
py
# (C) Copyright 2015,2016 Hewlett Packard Enterprise Development LP # # 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 ap...
[ "tony.pig@gmail.com" ]
tony.pig@gmail.com
f70d19fa63aaa8a4a7b649010d1203aedd440435
a26923adfffd7cab44d15f76156476ccc4f11b70
/src/GimelStudio/datafiles/icons/icons.py
f58511183cf2ac83186b037d356bfde75c756943
[ "Apache-2.0", "MIT" ]
permissive
MarioPeper/Gimel-Studio
89c81aeb133390f0c8de9286ca5aa92d9a5af9ff
7eee20adfdb701034017131ebbd706e8f8166b81
refs/heads/master
2022-12-11T14:51:50.127304
2020-09-02T21:59:16
2020-09-02T21:59:16
null
0
0
null
null
null
null
UTF-8
Python
false
false
36,909
py
from wx.lib.embeddedimage import PyEmbeddedImage #---------------------------------------------------------------------- ICON_EXPORT_IMAGE_DARK = PyEmbeddedImage( b'iVBORw0KGgoAAAANSUhEUgAAABQAAAAUCAYAAACNiR0NAAAABHNCSVQICAgIfAhkiAAAAAlw' b'SFlzAAAOxAAADsQBlSsOGwAAABl0RVh0U29mdHdhcmUAd3d3Lmlua3NjYXBlLm9yZ5vuPB...
[ "correctsyntax@yahoo.com" ]
correctsyntax@yahoo.com
a5373811bc314524609755af1eb7c1cf21b3e2e9
b2644f42e5645f74d33e0c64ad1183172ce2be88
/handpose/utils/image/__init__.py
3e8695f9eb9756e8424bb94bdeb3284989271ed0
[]
no_license
YanWanquan/handpose
e9282b2a8485f52d8b286c20a0f0d3f1e97b7b0b
a755ff80011007ba124ff5cd4c47f0c99ca28b8b
refs/heads/master
2023-03-17T07:55:04.049356
2020-03-20T06:02:12
2020-03-20T06:02:12
null
0
0
null
null
null
null
UTF-8
Python
false
false
137
py
from __future__ import absolute_import from .image_utils import * from .colors import * from .draw_detection import draw_detection
[ "tsai.tsunghua@gmail.com" ]
tsai.tsunghua@gmail.com
0a157e41b41803be90eeb623662ffb1759f363f5
d324b3d4ce953574c5945cda64e179f33c36c71b
/php/php-sky/grpc/src/python/grpcio_tests/tests/unit/_rpc_part_2_test.py
cfc11baddff39543138f63ae0e742d6a16e53802
[ "Apache-2.0" ]
permissive
Denticle/docker-base
decc36cc8eb01be1157d0c0417958c2c80ac0d2f
232115202594f4ea334d512dffb03f34451eb147
refs/heads/main
2023-04-21T10:08:29.582031
2021-05-13T07:27:52
2021-05-13T07:27:52
320,431,033
1
1
null
null
null
null
UTF-8
Python
false
false
18,869
py
# Copyright 2016 gRPC 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 applicable law or agreed to in...
[ "root@localhost.localdomain" ]
root@localhost.localdomain
78cf9c6623be1565196efc57f24c7d06f933e7ac
91a41c5ce70819a69dfc6f6f2b94f862244267da
/commands/Translate.py
30280c6d98fd5c567a8bc61273ba085bd72bd7c0
[]
no_license
mions1/silvia
9e489a5537d125acdffc3089c50ffa766b739738
f2e5bf7d0c8cf1a90fcb8a663380aff91a6f63a3
refs/heads/master
2023-03-18T22:43:53.610163
2021-03-09T15:36:11
2021-03-09T15:36:11
346,031,715
0
0
null
null
null
null
UTF-8
Python
false
false
3,207
py
from . import Command from google.cloud import translate_v2 as translate from commands import builtin as bin class Translate(): LANGUAGES = { 'af': 'africano', 'sq': 'albanese', 'ar': 'arabo', 'hy': 'armeno', 'bn': 'Bengali', 'ca': 'catalano', 'zh': 'cinese',...
[ "simone.mione1@gmail.com" ]
simone.mione1@gmail.com
a74be285641ea899eccb1367db3ce61e01d8b919
caa175a933aca08a475c6277e22cdde1654aca7b
/tests/models/product/product_relation_types/test_relations.py
745370f316f860b8d7729382fd9163a74d6c8c2a
[ "MIT" ]
permissive
simonsobs/acondbs
01d68ae40866461b85a6c9fcabdfbea46ef5f920
d18c7b06474b0dacb1dcf1c6dbd1e743407645e2
refs/heads/main
2023-07-07T04:33:40.561273
2023-06-28T22:08:00
2023-06-28T22:08:00
239,022,783
0
1
MIT
2023-06-26T20:36:39
2020-02-07T21:07:46
Python
UTF-8
Python
false
false
1,920
py
import pytest from flask import Flask from acondbs.db.sa import sa from acondbs.models import ProductRelationType @pytest.fixture def app(app_empty: Flask) -> Flask: y = app_empty # # +--------+ +-------+ # | | --(reverse)-> | | # | parent | | child...
[ "tai.sakuma@gmail.com" ]
tai.sakuma@gmail.com
7f61e83b66c2db625d75c713ddfe56f43b63fe62
73d5c11866f739ea0f4cbdb86662e9c11d9c081a
/if_test.py
f8054c582bf14fbed0b1f4ba322f88c347869fd1
[]
no_license
qorud02/changwonai
d9de4adbc3604be2706bfe0df8184cd60f89c0f4
dcf9996ccc51a674681d3639c2b57a85444146ac
refs/heads/main
2023-01-25T03:14:06.616372
2020-11-22T09:39:16
2020-11-22T09:39:16
314,939,724
0
0
null
null
null
null
UTF-8
Python
false
false
416
py
# print(type(3>5)) # print(6>5) # if 6>5: # print("Do 1") # print("Do 2") # else: # print("Not doing") # 나이 = 15 # if 나이 < 20: # # print("청소년 할인") # 걸음 = intinput("걸음을 입력해주세요") # if 걸음 >= 1000: # print("목표 달성") # 시간 = 13 # if 시간 < 12: # print("오전입니다") # else: # print("오후입니다") import word w...
[ "you@example.com" ]
you@example.com
3eb1f20a7f22613daa82fc565db909c67c1988bc
105212e4d2d2175d5105e05552e29b300375e039
/DL/RL/deepmind/pysc2-examples/demo.py
29cd7855d8c76d513357636f8fded269594a67e6
[ "Apache-2.0" ]
permissive
Asher-1/AI
84f0c42651c0b07e6b7e41ebb354258db64dd0d1
a70f63ebab3163f299f7f9d860a98695c0a3f7d5
refs/heads/master
2022-11-26T07:24:37.910301
2019-05-30T13:04:31
2019-05-30T13:04:31
160,031,310
7
1
null
2022-11-21T22:02:53
2018-12-02T09:19:03
Jupyter Notebook
UTF-8
Python
false
false
2,038
py
import sys import os import pdb from absl import flags from pysc2.env import sc2_env from pysc2.lib import actions as sc2_actions import os import datetime from pysc2.env import environment import numpy as np from common.vec_env.subproc_vec_env import SubprocVecEnv import random import time FLAGS = flags.FLAGS ...
[ "ludahai19@163.com" ]
ludahai19@163.com
e1b6bb2e250e6b34c211768511bd921692120eaf
2837519560abb55b83ed9a0ff19fe468568057a8
/flood_fill.py
63c6e40f4a5d2e58d7c475dd9e75a0b37e3a94bb
[]
no_license
shahakshay11/DFS-1
47df064f2326805444647399c0f07bb1c56ffd53
9d06719ab8432b837dc6361b381a34c2663f8117
refs/heads/master
2022-04-18T12:21:07.249034
2020-04-17T05:09:41
2020-04-17T05:09:41
256,349,677
0
0
null
2020-04-16T23:06:32
2020-04-16T23:06:31
null
UTF-8
Python
false
false
1,432
py
""" // Time Complexity : O(m*n) // Space Complexity : O(m*n) // Did this code successfully run on Leetcode : No // Any problem you faced while coding this : Ending recursion // Your code here along with comments explaining your approach Algorithm explanation DFS - Idea is to run DFS on sr,sc in the matrix and update t...
[ "akshay.vjti11@gmail.com" ]
akshay.vjti11@gmail.com
2c6e6b8017bdb7a5aa4d63abd9ca3ec0a3126253
fca120e66c06b1e3637c9b7463ee5769afc9af70
/galaxy/tools/cwl/util.py
4ece8d450fe43b7b05fc738f96c37f30da74cfc0
[ "AFL-3.0", "CC-BY-2.5", "AFL-2.1", "CC-BY-3.0", "LicenseRef-scancode-unknown-license-reference" ]
permissive
jerowe/galaxy-lib
fb49cf08538b9702b1b1bb349b4a9757950bd18c
ea29d1d3ee4c28eb3e76daecca9465a1c67b571c
refs/heads/master
2021-01-23T02:16:13.467881
2017-09-01T01:46:38
2017-09-01T01:46:38
102,438,112
0
0
null
2017-09-05T05:31:28
2017-09-05T05:31:28
null
UTF-8
Python
false
false
6,924
py
"""Client-centric CWL-related utilities. Used to share code between the Galaxy test framework and other Galaxy CWL clients (e.g. Planemo).""" import hashlib import json import os from collections import namedtuple from six import iteritems, StringIO def output_properties(path=None, content=None): checksum = ha...
[ "jmchilton@gmail.com" ]
jmchilton@gmail.com
017790c669c4f1bf70f58eb6cfd4c9089c70646d
380372bbec9b77df14bb96fc32aca7061cca0635
/astro/sat/tle2.py
86c3031403c10cd04cc9e670bf7e423ce77da94d
[]
no_license
IchiroYoshida/python_public
d3c42dc31b3206db3a520a007ea4fb4ce6c1a6fd
37ccadb1d3d42a38561c7708391f4c11836f5360
refs/heads/master
2023-08-16T17:19:07.278554
2023-08-13T21:29:51
2023-08-13T21:29:51
77,261,682
2
0
null
null
null
null
UTF-8
Python
false
false
3,742
py
#! /usr/local/bin/python3.6 """ 直近 TLE データ取得 (from NASA) : 過去の直近の TLE データ1件を取得する (過去データが存在しなければ、未来の直近データ) date name version 2018.06.12 mk-mode.com 1.00 新規作成 Copyright(C) 2018 mk-mode.com All Rights Reserved. --- 引数 : [YYYYMMDD[HHMMSS]] (JST を指定。無指定なら現在時刻とみなす) """ from datet...
[ "yoshida.ichi@gmail.com" ]
yoshida.ichi@gmail.com
1c7c6152f130673e43ea5c7a7a14923df429ae30
044facb13bff7414439db8706ed322ea505698fa
/old/python/sandbox/old_stuff/multi_sampling/conditionals.py
3f0db46bbddcf90a69ec3dfa653fa07f655d73bc
[]
no_license
paglenn/WLC
2c42944bfe707018b5dbfb6ec471518aff2642c7
e57544eba1380da6a260532b5b72b39c0d1fa433
refs/heads/master
2020-12-24T14:35:54.944179
2015-11-09T14:43:35
2015-11-09T14:43:35
23,404,500
0
0
null
null
null
null
UTF-8
Python
false
false
1,480
py
import numpy as np import os from parameters import * def calculate_TP(): TP = [] if not os.path.isfile(tp_file): print("data file ",tp_file,"missing!") exit() tpFile = open(tp_file,'r') for line in tpFile.readlines(): TP.append(float(line[:-1])) tpFile.close() return ...
[ "nls.pglenn@gmail.com" ]
nls.pglenn@gmail.com
87d92a7c92ca5581209374f6943207e4fa0b7946
c9ddbdb5678ba6e1c5c7e64adf2802ca16df778c
/cases/pa3/sample/list_concat_2-80.py
d2c18826d5b43a8c92424e6a7782377f8745fd04
[]
no_license
Virtlink/ccbench-chocopy
c3f7f6af6349aff6503196f727ef89f210a1eac8
c7efae43bf32696ee2b2ee781bdfe4f7730dec3f
refs/heads/main
2023-04-07T15:07:12.464038
2022-02-03T15:42:39
2022-02-03T15:42:39
451,969,776
0
0
null
null
null
null
UTF-8
Python
false
false
105
py
z:[int] = None i:int = 0 z = [1,2,3] + [4,5,6] + [7,8,9] while i < len(z): $ID(z[i]) i = i + 1
[ "647530+Virtlink@users.noreply.github.com" ]
647530+Virtlink@users.noreply.github.com
6d60af458900694275feaf31879721e43da59186
cacb92c6dba32dfb7f2a4a2a02269f40ab0413dd
/mmdet/datasets/pipelines/test_time_aug.py
f3a04e7311af9a306703ced843e4cdfe6f1edb66
[ "Apache-2.0" ]
permissive
dereyly/mmdet_sota
697eab302faf28d5bce4092ecf6c4fd9ffd48b91
fc14933ca0ec2eebb8e7b3ec0ed67cae0da3f236
refs/heads/master
2022-11-26T14:52:13.665272
2020-08-04T00:26:46
2020-08-04T00:26:46
272,046,903
15
5
Apache-2.0
2020-07-16T06:22:39
2020-06-13T16:37:26
Python
UTF-8
Python
false
false
2,741
py
import warnings import mmcv from ..builder import PIPELINES from .compose import Compose @PIPELINES.register_module() class MultiScaleFlipAug(object): """Test-time augmentation with multiple scales and flipping Args: transforms (list[dict]): Transforms to apply in each augmentation. img_sca...
[ "nikolay@xix.ai" ]
nikolay@xix.ai
94cf91731423bf8731c68e6c7bd64038ada51c7e
265d0477b43dd6391b939d08577bb82c57184cdf
/official/utils/registry_test.py
47e3722993c79e96706d56757e6e3997f072ffde
[ "Apache-2.0" ]
permissive
EthanGeek/models
02c9fca96f5b3be7503bb0e75172e2f683bf4b73
a9fcda17153e4f36d431174934abef4151f1f687
refs/heads/master
2022-12-11T08:58:19.241487
2020-09-04T00:38:22
2020-09-04T00:38:22
292,791,920
1
0
Apache-2.0
2020-09-04T08:21:02
2020-09-04T08:21:01
null
UTF-8
Python
false
false
2,560
py
# Lint as: python3 # 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 ...
[ "gardener@tensorflow.org" ]
gardener@tensorflow.org
c440828efe9f129ee90f410999d2d0d211b37e61
54a5f5ec2c5edf924b7dc7730ee7cb2a38ac4a39
/MergingDataFrameswithpandas/E27_Using_merge_asof.py
e556c2a5d480cbe0125360e461af6d06c17a0cc1
[]
no_license
dajofischer/Datacamp
fac413ec178375cedceababaf84f6b47a61fc821
a03d16b8f342412f1ee077f2f196ee8404e2e21c
refs/heads/master
2020-04-05T08:38:25.361746
2019-03-27T20:55:57
2019-03-27T20:55:57
156,722,561
1
0
null
null
null
null
UTF-8
Python
false
false
307
py
# Merge auto and oil: merged merged = pd.merge_asof(auto,oil,left_on='yr' , right_on='Date') # Print the tail of merged print(merged.tail()) # Resample merged: yearly yearly = merged.resample('A',on='Date')[['mpg','Price']].mean() # Print yearly print(yearly) # print yearly.corr() print(yearly.corr())
[ "dajofischer@gmail.com" ]
dajofischer@gmail.com
40891161a6e4cade4b43b30586594b4651c6ee2a
d3efc82dfa61fb82e47c82d52c838b38b076084c
/crossmarketetf/crossmarket_creation_HA/YW_CETFSS_SHSG_048.py
b948171ffe226a7b5fdd317eb7b46970b408751f
[]
no_license
nantongzyg/xtp_test
58ce9f328f62a3ea5904e6ed907a169ef2df9258
ca9ab5cee03d7a2f457a95fb0f4762013caa5f9f
refs/heads/master
2022-11-30T08:57:45.345460
2020-07-30T01:43:30
2020-07-30T01:43:30
280,388,441
0
0
null
null
null
null
UTF-8
Python
false
false
6,698
py
#!/usr/bin/python # -*- encoding: utf-8 -*- import sys sys.path.append("/home/yhl2/workspace/xtp_test") from crossmarketetf.cetfservice.cetf_main_service import * from crossmarketetf.cetfservice.cetf_get_components_asset import * from crossmarketetf.cetfservice.cetf_utils import * from mysql.QueryOrderErrorMsg import q...
[ "418033945@qq.com" ]
418033945@qq.com
5ce5c41d4a76c971071d193991947217158f28a7
5e1074afdb17eeb3a78eaf16093c8c491d9f3c0e
/pyramid_blogr/services/blog_record.py
98266b411230078f2501547f4a5ab7f7e57ce5ac
[]
no_license
andyk1278/pyramid_blogr
52255cf1a09c3ed3a43f6c2503a722db30df9f19
1e8b53e754b5315c08a2e982c9be08e76c331748
refs/heads/master
2021-01-01T05:54:28.668964
2017-07-15T23:12:53
2017-07-15T23:12:53
97,301,842
0
0
null
null
null
null
UTF-8
Python
false
false
958
py
import sqlalchemy as sa from paginate_sqlalchemy import SqlalchemyOrmPage from ..models.blog_record import BlogRecord class BlogRecordService(object): @classmethod def all(cls, request): query = request.dbsession.query(BlogRecord) return query.order_by(sa.desc(BlogRecord.created)) @classm...
[ "andyk1278@gmail.com" ]
andyk1278@gmail.com
5c510e80b59c7982d33d9b43ae200d9f186a4b9d
04c7295ce65a623dc62454aa46ae4ae4ce51ca36
/Assignment/ass1/q2/ass1q2.py
25306781782d97e627e5d64efb3a34b5b2ddc616
[]
no_license
hty-unsw/COMP9021-Python
38373378162a314a82bf14453d026e641963e1b9
97be6dfa730247b59e608ec6d464ac16b4cf1968
refs/heads/master
2020-07-03T00:51:23.540099
2018-10-30T14:23:15
2018-10-30T14:23:15
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,995
py
import sys import os.path from itertools import groupby try: N = input('Please enter the name of the file you want to get data from: ') if not os.path.exists(N): raise EOFError else: f = open(N) s = f.read() f.close() origin_list = s.split() L = [i...
[ "grey1991ss@gmail.com" ]
grey1991ss@gmail.com
f9b03003acb6e4f7f8f5bea29ff4743e4c9a8b23
7c5e9dd27939492a5f75650e02804f2a84e982ec
/apps/shares/models.py
e47e0b3b474e210421a039b24fbfcaffa1259e91
[]
no_license
karol-gruszczyk/janusze-biznesu
da431f7b31a7c368c07444ef5e82a25d95fcfc90
4d5c18a1d407704a39c7c50a4fdde0391b87d116
refs/heads/master
2021-01-17T20:04:06.799391
2015-12-04T12:13:56
2015-12-04T12:13:56
37,723,184
0
0
null
null
null
null
UTF-8
Python
false
false
1,933
py
from django.db import models class ShareManager(models.Manager): @classmethod def get_records(cls, share): if type(share) != Share: raise TypeError("type 'Share' expected") return ShareRecord.objects.filter(share__pk=share.pk) @classmethod def get_groups(cls, share): ...
[ "karol.gruszczyk@gmail.com" ]
karol.gruszczyk@gmail.com
419549b51fa99e60ad2ad5f2e91cdbbcba075227
fb03477012a435f3ccad5f8bcab5320ccb4f1ada
/src/gateway_proxy_core/apps.py
59285bbeab77d220bde4e47ff558b79db697f4d7
[]
no_license
x007007007/gateway-proxy
5e0ecb17feba3aadfb05afe93485017a87ee8117
61046223a39c6f107fb99d70b81f5809b207e11d
refs/heads/master
2023-02-12T19:08:42.317267
2020-12-22T16:07:09
2020-12-22T16:07:09
318,915,192
0
0
null
null
null
null
UTF-8
Python
false
false
109
py
from django.apps import AppConfig class GatewayProxyCoreConfig(AppConfig): name = 'gateway_proxy_core'
[ "x007007007@hotmail.com" ]
x007007007@hotmail.com
e535b1ca14677486264c1141216705096921d269
ae3f23efcdc4b7fdd1c224043d0ece002955956e
/host/host/containers/lxc/utils.py
8071ab5980742ef6789095528ee0e01719973559
[]
no_license
alexeysofin/xplace
4466682fe76c808288d69f2808ddbca38a583bc4
9f12f066a62fae4e789bee94e5e554cc6de26d90
refs/heads/master
2023-01-12T01:02:40.137609
2021-02-14T20:41:30
2021-02-14T20:41:30
208,021,139
0
0
null
2023-01-04T10:18:46
2019-09-12T10:07:17
Python
UTF-8
Python
false
false
375
py
import os from host.utils.sub_process import run_command from .const import LXC_BIN_PATH from .exceptions import ContainerException def run_container_command(command, *args, command_input=None): command = os.path.join(LXC_BIN_PATH, command) return run_command(command, *args, command_input=command_input, ...
[ "sofin.moffin" ]
sofin.moffin
5d96058fd7a39afd318a44140707be93e5029f7e
e7022b8eb4179e87007bc184a43cfb470c8637a5
/code/dbengine.py
6b4a0f13b3a9004009a5ea357a8e947203f254f8
[]
no_license
yscoder-github/nl2sql-tianchi
a683c96ce5f545e38c7eb4afbb655ff537c73339
2d4463c5098d7533ebf879d874a8c14e61b8f269
refs/heads/master
2021-07-07T10:25:47.939612
2020-11-29T13:01:34
2020-11-29T13:01:34
207,695,804
74
18
null
null
null
null
UTF-8
Python
false
false
2,398
py
# -*- coding:utf-8 -*- import json import records import re from config import * class DBEngine: def __init__(self, fdb): self.db = records.Database('sqlite:///{}'.format(fdb)) self.conn = self.db.get_connection() def execute(self, table_id, select_index, aggregation_index, conditions, condit...
[ "yscoder@foxmail.com" ]
yscoder@foxmail.com
ca458ad14d97e536e9aa50c93af18dc6a1bae1b3
7a42d40a351824464a3c78dc0c3e78bbd8e0a92f
/bigdog_blog/blog/models.py
accbdf0df9a4805d5522a5c121acb6c6c2048712
[]
no_license
AhMay/DerekBlogLearn
6595063eafbc237b932e187b5cb3ad8ff32637fc
fdd5ea2fc5732cdc82ad006f7be0a2a1f30d0ba9
refs/heads/master
2020-07-09T05:20:33.283672
2019-09-29T10:10:23
2019-09-29T10:10:23
203,891,215
0
0
null
null
null
null
UTF-8
Python
false
false
4,136
py
from django.db import models from django.contrib.auth.models import User from django.urls import reverse from unidecode import unidecode from django.template.defaultfilters import slugify from ckeditor_uploader.fields import RichTextUploadingField from datetime import datetime # Create your models here. class Articl...
[ "meizi111082@hotmail.com" ]
meizi111082@hotmail.com
791c91c8bad3f89f23330677eec8ef411ee77ec5
532ca0c5361b54970bc435232e2a6d079c49aecd
/02_Strings and Console Output/01__Strings and Console Output/02_Practice.py
3d197e67ca3925a0945cf843aae122c22ef018ea
[]
no_license
haveano/codeacademy-python_v1
dc5484e8df73b9a15ffce835dde625b6454c8302
10e6fb2974e1c47f380bb6a33c50b171ecfbf50f
refs/heads/master
2021-01-11T16:45:57.337493
2017-05-30T10:04:08
2017-05-30T10:04:08
79,660,536
0
0
null
null
null
null
UTF-8
Python
false
false
401
py
""" Practice Excellent! Let's get a little practice in with strings. Instructions Set the following variables to their respective phrases: Set caesar to "Graham" Set praline to "John" Set viking to "Teresa" """ # Assign your variables below, each on its own line! caesar = "Graham" praline = "John" viking = "Teresa" ...
[ "noreply@github.com" ]
haveano.noreply@github.com
844f5b18c6467cd856b107372a08f137d28c5bbf
07564c75c1f37f2e0304720d1c01f23a27ef3469
/543.DiameterofBinaryTree/solution.py
9d5a9edc240760c0c6c070bffacb98e6e92bb25b
[]
no_license
ynXiang/LeetCode
5e468db560be7f171d7cb24bcd489aa81471349c
763372587b9ca3f8be4c843427e4760c3e472d6b
refs/heads/master
2020-05-21T18:27:16.941981
2018-01-09T22:17:42
2018-01-09T22:17:42
84,642,017
0
0
null
null
null
null
UTF-8
Python
false
false
601
py
# Definition for a binary tree node. # class TreeNode(object): # def __init__(self, x): # self.val = x # self.left = None # self.right = None class Solution(object): def diameterOfBinaryTree(self, root): """ :type root: TreeNode :rtype: int """ re...
[ "yinan_xiang@163.com" ]
yinan_xiang@163.com
6e6933c8437c6d5ee41f9b5347467037f3a952c0
209a7a4023a9a79693ec1f6e8045646496d1ea71
/COMP0016_2020_21_Team12-datasetsExperimentsAna/pwa/FADapp/pythonScripts/venv/Lib/site-packages/pandas/tests/indexing/multiindex/test_indexing_slow.py
a6d678af44ae14e714169ade419968e4d2a623e4
[ "MIT" ]
permissive
anzhao920/MicrosoftProject15_Invictus
5e2347015411bbffbdf0ceb059df854661fb240c
15f44eebb09561acbbe7b6730dfadf141e4c166d
refs/heads/main
2023-04-16T13:24:39.332492
2021-04-27T00:47:13
2021-04-27T00:47:13
361,913,170
0
0
MIT
2021-04-26T22:41:56
2021-04-26T22:41:55
null
UTF-8
Python
false
false
3,087
py
import warnings import numpy as np import pytest import pandas as pd from pandas import DataFrame, Series import pandas._testing as tm m = 50 n = 1000 cols = ["jim", "joe", "jolie", "joline", "jolia"] vals = [ np.random.randint(0, 10, n), np.random.choice(list("abcdefghij"), n), np.rando...
[ "ana.kapros@yahoo.ro" ]
ana.kapros@yahoo.ro
2f66e6e8846a2c3a80d4c7e9ad2324bdf9096648
f0257428fed2a5f10950ee52e88a0f6811120323
/study_oldboy/Day11/01.11_rabbitmq_topic_subscriber.py
6b8487dfa3db86e47d7023e531f079912e4cb67b
[]
no_license
tata-LY/python
454d42cc8f6db9a1450966aba4af6894e1b59b78
55d13b7f61cbb87ff3f272f596cd5b8c53b807c5
refs/heads/main
2023-04-08T19:31:57.945506
2021-04-19T05:39:17
2021-04-19T05:39:17
328,880,464
0
0
null
null
null
null
UTF-8
Python
false
false
1,084
py
#!/usr/bin/env python3 # -*- coding: utf-8 -*- # @Time : 2021-3-9 8:47 # @Author : liuyang # @File : 01.11_rabbitmq_topic_subscriber.py # @Software: PyCharm import pika import sys hostname = '192.168.113.11' connection = pika.BlockingConnection(pika.ConnectionParameters(host=hostname)) channel = connection.cha...
[ "ainiyang20@qq.com" ]
ainiyang20@qq.com
4c1b7e82cf084943af5406747c7b74ab3e20a6fe
ad6fe640e0074f08961a55d727bc204dcdcf8848
/src/simplessl/ca.py
ee0d4faa639c23be7fb011b6de3c953378009ab5
[]
no_license
andrewcooke/simple-ssl
50a8764e340d5f78f0c17c273d0445a533db5f8c
87d619bcd0f3c3326e9177c64252783f559ba9eb
refs/heads/master
2021-01-01T16:13:21.228950
2013-12-10T01:43:17
2013-12-10T01:43:17
null
0
0
null
null
null
null
UTF-8
Python
false
false
390
py
from script.argp import ArgP, ArgPRoot, ArgPRun from script.attr import StrAttr class CaCore(ArgPRoot): dir = ArgP(StrAttr, value='.', description='Where a CA stores the data it needs to do its work.') def __call__(self): print(self.dir.__get__(self, type(self))) print("dir i...
[ "andrew@acooke.org" ]
andrew@acooke.org
2725f826472f8bc43b3068109792eecdae0fc910
5c4515960dcbfd3861d06d90b8c9bde0bdf3ecf5
/Iserlab/migrations/0130_mytempvm.py
f24ae4cf5f65d103faabb44569c96b7a2c006487
[]
no_license
Mathilda1992/mcysite
66bb2f51de622b7f7c450664c798eb11ce195cae
def82e43474ecc734c6cbb26842bd87f698b2b88
refs/heads/master
2021-01-11T19:58:23.611196
2017-06-26T08:58:11
2017-06-26T08:58:11
79,434,975
1
1
null
null
null
null
UTF-8
Python
false
false
925
py
# -*- coding: utf-8 -*- # Generated by Django 1.9.7 on 2017-05-10 07:58 from __future__ import unicode_literals from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): dependencies = [ ('Iserlab', '0129_auto_20170507_0516'), ] operations ...
[ "machenyi2011@163.com" ]
machenyi2011@163.com
8da88a7f51735fe571ed0f617232307ac1baf9f6
c361a25acecd016677bbd0c6d9fc56de79cf03ed
/TSM/TestCase.py
23412a68d4d65560b1b1074bef9519e4955fd92f
[]
no_license
danielmellado/zephyr
f8931633045959e7e9a974de8b700a287a1ae94e
dc6f85b78b50e599504966154b927fe198d7402d
refs/heads/master
2021-01-12T22:31:24.479814
2015-10-14T05:39:04
2015-10-14T06:24:45
null
0
0
null
null
null
null
UTF-8
Python
false
false
3,459
py
__author__ = 'micucci' # Copyright 2015 Midokura SARL # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or a...
[ "micucci@midokura.com" ]
micucci@midokura.com
66ab1c7847a102afd4b9a6c0d36a0c17bebc5b7c
51aee975a3d2889fb0f3d72f96da5654978daf3d
/processBar/bag/special.py
fab12369bd40f9e4033d67d1d5e3ad8c423fdabc
[]
no_license
zizle/PyQt5_Demo
5bcca6bcae2b94aafff25069ffe41f9def411348
13985343d30bf282486e9af1d0e51233a354b666
refs/heads/master
2020-07-27T20:29:05.732915
2019-11-07T03:37:06
2019-11-07T03:37:06
209,207,744
0
0
null
null
null
null
UTF-8
Python
false
false
9,830
py
# _*_ coding:utf-8 _*_ # __Author__: zizle from PyQt5.QtCore import QSize, pyqtProperty, QTimer, Qt, QRectF from PyQt5.QtGui import QColor, QPainter, QFont from PyQt5.QtWidgets import QWidget class CircleProgressBar(QWidget): Color = QColor(24, 189, 155) # 圆圈颜色 Clockwise = True # 顺时针还是逆时针 Delta = 36 ...
[ "zizle_lin@163.com" ]
zizle_lin@163.com
340cced1c55c9499682cd5949e558809a69cf8be
6fa7f99d3d3d9b177ef01ebf9a9da4982813b7d4
/GP8Tywnn2gucEfSMf_17.py
ec8e7521de8652ea402b3016afa29c871da03a89
[]
no_license
daniel-reich/ubiquitous-fiesta
26e80f0082f8589e51d359ce7953117a3da7d38c
9af2700dbe59284f5697e612491499841a6c126f
refs/heads/master
2023-04-05T06:40:37.328213
2021-04-06T20:17:44
2021-04-06T20:17:44
355,318,759
0
0
null
null
null
null
UTF-8
Python
false
false
214
py
def error(n): adict = {1: 'Check the fan: e1', 2: 'Emergency stop: e2', 3: 'Pump Error: e3',4: 'c: e4', 5: 'Temperature Sensor Error: e5'} if n not in adict.keys(): return 101 else: return adict[n]
[ "daniel.reich@danielreichs-MacBook-Pro.local" ]
daniel.reich@danielreichs-MacBook-Pro.local
0c82b427b1e416b6454f6c7d36f356c26adc1fd2
2a45af8ec8a4c87d544f461d27795a283f8f5f67
/python/input_complete.py
45e2c6077dd6187d1fcb5bd81dc805136a70f19f
[]
no_license
fengidri/python-script
2199a16a2d0cc76e6055aec31aaced4638a8c86d
28fb8e6dbf9e6ba5a1f9c4c3d7b635212bfc5b66
refs/heads/master
2020-04-05T14:04:55.103302
2017-04-27T10:32:27
2017-04-27T10:32:27
8,678,963
0
0
null
null
null
null
UTF-8
Python
false
false
2,186
py
import os import re import readline RE_SPACE = re.compile('.*\s+$', re.M) class Completer(object): def _listdir(self, root): "List directory 'root' appending the path separator to subdirs." res = [] for name in os.listdir(root): path = os.path.join(root, name) if o...
[ "fengidri@gmail.com" ]
fengidri@gmail.com
8fab41a7003e035af2fca6201f82467c6caa256e
7f3c0c7cb3987356171e91b2e888e2bfbe2f5077
/group_discussion/migrations/0011_topicuser_group_centrality.py
c300d7e28d073aa8945c43f8deb7baa6ca68aa0b
[]
no_license
jscott1989/newscircle
7d329673ed58dd2309ac6182fae3452bd50a8d54
373eba2f9aaa747272092521581d78524585df55
refs/heads/master
2020-12-24T11:53:12.865783
2016-11-07T17:50:42
2016-11-07T17:50:42
73,105,242
0
0
null
null
null
null
UTF-8
Python
false
false
456
py
# -*- coding: utf-8 -*- from __future__ import unicode_literals from django.db import models, migrations class Migration(migrations.Migration): dependencies = [ ('group_discussion', '0010_comment_created_at'), ] operations = [ migrations.AddField( model_name='topicuser', ...
[ "jonathan@jscott.me" ]
jonathan@jscott.me
72663f4b331865732b2fab003dfd7cda950f5dea
374dea7d7d1a424d91f369cc75b11b16e1a489cd
/XDG_CACHE_HOME/Microsoft/Python Language Server/stubs.v1/bPN_2o1RXRZaK7Vxgp3oTysbcxQmJr9XStOWBh0VWNo=/_multiprocessing.cpython-37m-x86_64-linux-gnu.pyi
ab4051ca67e5ced0fe3ca7d109b3f9b4d0cd4e04
[]
no_license
tkoon107/text-generation-LSTM-neural-net
ed0e6a0fb906f4b4fd649eadfe36c254144be016
6b98ee355a30da128462bfac531509539d6533ae
refs/heads/master
2020-05-27T16:46:44.128875
2019-06-10T18:26:54
2019-06-10T18:26:54
188,708,243
0
0
null
null
null
null
UTF-8
Python
false
false
2,181
pyi
import builtins as _mod_builtins class SemLock(_mod_builtins.object): 'Semaphore/Mutex type' SEM_VALUE_MAX = 2147483647 __class__ = SemLock def __enter__(self): 'enter the semaphore/lock' return self def __exit__(self): 'exit the semaphore/lock' pass de...
[ "trevorlang@langdatascience.org" ]
trevorlang@langdatascience.org
8beeca84710f4f56f3bbffee44da80f9a7637cbc
b0f41ef2af5309fc172b05232dbde501a01d1234
/fyt/webauth/tests/get_pgt.py
82e40defcf0403075e2e661dfa9b8d323024d423
[]
no_license
rlmv/doc-trips
c4dfec9b80cf531b69b17ac2caaef509fa048cd3
59c1ffc0bff1adb4f86f1dcfaa66d8970ff55b72
refs/heads/master
2023-05-27T01:48:49.251830
2021-08-07T04:02:26
2021-08-07T04:02:26
21,745,373
10
3
null
2023-05-23T00:51:26
2014-07-11T17:36:35
Python
UTF-8
Python
false
false
429
py
# Run via bin/django shell --plain < get_pgt.py # to pick up all the django environment # Allows main test class to be independent of CAS implementation platform # TODO: pass in iou - if cant take args write to file and read here import atexit from django_cas.models import PgtIOU @atexit.register def lookup_pgt(): ...
[ "bo.marchman@gmail.com" ]
bo.marchman@gmail.com
7173d52df0b048d98533fa53729620a11ea3b6f5
c4fa1ebcdd413c4ab3f0979ee3beead8a8809870
/providers/gov/clinicaltrials/apps.py
8ff0b4b5fc7d7930735d5f96d0039eb757546874
[]
no_license
terroni/SHARE
e47f291db7cf100d29a7904fe820e75d29db1472
a5631f441da1288722c68785b86128c854cbe7c1
refs/heads/develop
2020-12-03T02:29:47.381341
2016-07-11T19:40:27
2016-07-11T19:40:27
63,097,148
1
0
null
2016-07-11T19:45:51
2016-07-11T19:45:50
null
UTF-8
Python
false
false
347
py
from share.provider import ProviderAppConfig from .harvester import ClinicalTrialsHarvester class AppConfig(ProviderAppConfig): name = 'providers.gov.clinicaltrials' version = '0.0.1' title = 'clinicaltrials' long_title = 'ClinicalTrials.gov' home_page = 'https://clinicaltrials.gov/' harvester...
[ "icereval@gmail.com" ]
icereval@gmail.com
b38eb2a7ce9fb308e375c9cdbe8bc50c31984eb7
694d57c3e512ce916269411b51adef23532420cd
/python/hardway/ex6.py
a24f3aa7aba6c3bbf44dd4427988a8f522bce255
[]
no_license
clovery410/mycode
5541c3a99962d7949832a0859f18819f118edfba
e12025e754547d18d5bb50a9dbe5e725fd03fd9c
refs/heads/master
2021-05-16T02:46:47.996748
2017-05-10T23:43:50
2017-05-10T23:43:50
39,235,141
1
1
null
null
null
null
UTF-8
Python
false
false
842
py
x = "There are %d types of people." % 10 # make definition of variable x binary = "binary" # make definition of variable binary do_not = "don't" # make definition of variable do_not y = "Those who know %s and those who %s." % (binary, do_not) # make definition of variable y print x # print x print y # print y print ...
[ "admin@admins-MacBook-Air.local" ]
admin@admins-MacBook-Air.local
106644e566ea536280b420280431985f0893666e
0cef1ca8b0fd54095d263d41c22b5b72bdd297db
/ace-zero-rl/d2dsql_train.py
2a0a577c36b7030811a1bb7d3ff74b4fc72a0ee8
[]
no_license
budi-kurniawan/phd
06c1b622f3ed5e518f3ce69ca0f113d411b3f01f
3ce071462db1ee4a9b590c952a750dd9c99ca9d2
refs/heads/main
2023-08-22T02:59:24.228607
2021-10-07T12:02:34
2021-10-07T12:02:34
414,012,653
0
0
null
null
null
null
UTF-8
Python
false
false
7,308
py
#!/usr/bin/env python3 import os import csv import pickle from datetime import datetime import numpy as np import ace_zero_core import torch import rl from ace_zero_core import acezero from rl import rl_utils from rl.env.ace_zero_env import AceZeroEnvironment from cartpole.util.dqn_util import BootstrappableDoubleDQNAg...
[ "budi2020@gmail.com" ]
budi2020@gmail.com
a2f6e90ddafd79c840f3f6b3b0b229486b9cb41b
06a045819cf99c7059afde40dca12cf9d3eb5f81
/pandas/tests/apply/test_invalid_arg.py
d75b784302676082b81f3ea18338f9914f89b780
[ "BSD-3-Clause" ]
permissive
MarcoGorelli/pandas
b9882c6ac1e4bc753819b7bc7c8b567964efd275
86a4ee01c7899ef454d35b95cde11e9593921c9d
refs/heads/main
2023-08-22T12:35:45.122152
2023-05-04T22:11:07
2023-05-04T22:11:07
164,618,359
4
1
BSD-3-Clause
2023-05-05T09:02:23
2019-01-08T09:55:54
Python
UTF-8
Python
false
false
10,386
py
# Tests specifically aimed at detecting bad arguments. # This file is organized by reason for exception. # 1. always invalid argument values # 2. missing column(s) # 3. incompatible ops/dtype/args/kwargs # 4. invalid result shape/type # If your test does not fit into one of these categories, add to this...
[ "noreply@github.com" ]
MarcoGorelli.noreply@github.com
3f210c9ae5529fd9ab9a3ad99bdf62987cd5fcbc
44fb87ff6b94736610c7e84ecc00c4045f097328
/mabozen/conf/datatype_mapping/datatype_mapping_xpath.py
01a80772abe130002aad38b60ec1c2899faf6cca
[ "MIT" ]
permissive
mabotech/mabozen
c02899dad34310e3c5c68afe2af05d3f11946511
531b138fea1212e959ecfb9370b622b0c9f519a5
refs/heads/master
2016-09-06T21:31:51.731077
2014-07-20T13:44:01
2014-07-20T13:44:01
null
0
0
null
null
null
null
UTF-8
Python
false
false
4,406
py
from lxml import etree class Singleton(type): def __call__(cls, *args): if not hasattr(cls, 'instance'): cls.instance = super(Singleton, cls).__call__(*args) return cls.instance class Counter(object): __metaclass__ = Singleton def __init__(self): self.i = 0 de...
[ "aidear@163.com" ]
aidear@163.com
4a122303145739c3efd1bba21c198a0a48e14a57
c8c4721e2282aaeece7bb36e6b7c33fe2e4af207
/torch/testing/_core.py
8fab432009def6a7c3e7565a7173d08351d7c12f
[ "BSD-3-Clause", "LicenseRef-scancode-generic-cla", "BSL-1.0", "Apache-2.0", "BSD-2-Clause" ]
permissive
suo/pytorch
ac1008c62906cf0b055c2c851dab611c0a1276b8
fb0e27d38a8fdab4e1c14d6378c9e41cb30fd6a3
refs/heads/master
2023-04-18T18:57:04.622931
2022-01-28T04:57:17
2022-01-28T05:01:06
142,352,607
1
0
NOASSERTION
2019-11-08T19:38:03
2018-07-25T20:50:09
C++
UTF-8
Python
false
false
2,217
py
""" The testing package contains testing-specific utilities. """ import torch import random import operator FileCheck = torch._C.FileCheck __all__ = [ "FileCheck", "make_non_contiguous", ] # Helper function that returns True when the dtype is an integral dtype, # False otherwise. # TODO: implement numpy-lik...
[ "facebook-github-bot@users.noreply.github.com" ]
facebook-github-bot@users.noreply.github.com
26d5d9d3d2891e530fc99d2f8effdcc77cb5de2d
59bd9c968a3a31a73d17f252fe716a3eacdf7f4f
/portfolio/Python/scrapy/swedishtruckparts/__init__.py
0c560ca0fb1f4fde456d2b7d6ca27f03fa314efc
[ "Apache-2.0" ]
permissive
0--key/lib
113ff1e9cf75e446fa50eb065bc3bc36c090d636
a619938ea523e96ab9e676ace51f5a129e6612e6
refs/heads/master
2023-06-23T22:17:54.244257
2023-06-21T17:42:57
2023-06-21T17:42:57
23,730,551
3
5
null
2016-03-22T08:19:30
2014-09-06T08:46:41
Python
UTF-8
Python
false
false
37
py
ACCOUNT_NAME = 'Swedish Truck Parts'
[ "a.s.kosinov@gmail.com" ]
a.s.kosinov@gmail.com
b7704990a6b56c8a4e5cc6c0ba186a1021d6aab8
b7312dc013ba06e5b44b33c0411f4948c4794346
/study10/process_pool.py
1c084f6d5a90687202c69b86aeb29cb4307bbb0a
[]
no_license
GaoFuhong/python-code
50fb298d0c1e7a2af55f1e13e48063ca3d1a189f
7d17c98011e5a1e74d49332da9f87f5cb576822d
refs/heads/master
2021-02-07T20:25:06.997173
2020-03-01T02:22:41
2020-03-01T02:26:04
244,072,971
1
0
null
null
null
null
UTF-8
Python
false
false
972
py
# Author:Fuhong Gao #进程池 (在windows中启动进程是真的慢。。。) from multiprocessing import Process,Pool import time,os def Foo(i): time.sleep(1) print('in process-',os.getpid()) return i+100 def Bar(arg): print("--> exec done:",arg,'child process id:',os.getpid()) if __name__ == '__main__': #__name__ == 'main' 如果手动执行这...
[ "1350086369@qq.com" ]
1350086369@qq.com
89cd1fb4b5a3ed87edef90e19a0037aa6a37efde
7a3fc3ea3dd71e4ec85ac73e0af57ae976777513
/.history/flaskblog_20210526065440.py
1b3ae27d0644bdbc0bcb4fa8d28387719b71771f
[]
no_license
khanhdk0000/first_proj
72e9d2bbd788d6f52bff8dc5375ca7f75c0f9dd0
bec0525353f98c65c3943b6d42727e3248ecfe22
refs/heads/main
2023-05-12T10:36:08.026143
2021-06-05T15:35:22
2021-06-05T15:35:22
374,148,728
0
0
null
null
null
null
UTF-8
Python
false
false
1,561
py
from flask import Flask, render_template, url_for, request, jsonify from enum import Enum app = Flask(__name__) class PaletteType(Enum): MONOTONE = 1 DOUTONE = 2 COLORFUL = 3 class HarmonyRule(Enum): COMPLEMENTARY = 1 ANALOGOUS = 2 TRIAD = 3 SQUARE = 4 BRISE_FAN = 5 SPLIT_COMPLEMET...
[ "khanhtran28092000@gmail.com" ]
khanhtran28092000@gmail.com
191371fc150002e925fb46d7fe0edfe9a4d109f0
c732e1ab1135c4bc0598265ee8fea4db5dc12a2b
/mbme/cs285/envs/__init__.py
4fdbfc79d65e87b09a17aadc8beb187936db0a46
[]
no_license
Sohojoe/berkeleydeeprlcourse_fall2020
169782fb566aa338e617a301ec1ab7e5f62e49cd
97eeafde4ff02c8a3429ec5096ed597418b01954
refs/heads/main
2023-02-11T13:53:01.867290
2021-01-03T05:51:36
2021-01-03T05:51:36
325,815,528
0
0
null
null
null
null
UTF-8
Python
false
false
488
py
from gym.envs.registration import register def register_envs(): register( id='marathon-hopper-v0', entry_point='cs285.envs.marathon_envs:HopperEnv', max_episode_steps=1000, ) register( id='marathon-walker-v0', entry_point='cs285.envs.marathon_envs:WalkerEnv', ...
[ "joe@joebooth.com" ]
joe@joebooth.com
f0a10672945a50f5744a4032fcec4abfcacbea79
55c250525bd7198ac905b1f2f86d16a44f73e03a
/Python/Projects/sms/pymessages/venv/Lib/site-packages/pip/_internal/commands/list.py
a8e16bf2ddf8cd9df43f0fe7e41d1b984e58ffbc
[ "LicenseRef-scancode-other-permissive" ]
permissive
NateWeiler/Resources
213d18ba86f7cc9d845741b8571b9e2c2c6be916
bd4a8a82a3e83a381c97d19e5df42cbababfc66c
refs/heads/master
2023-09-03T17:50:31.937137
2023-08-28T23:50:57
2023-08-28T23:50:57
267,368,545
2
1
null
2022-09-08T15:20:18
2020-05-27T16:18:17
null
UTF-8
Python
false
false
130
py
version https://git-lfs.github.com/spec/v1 oid sha256:da8deb630dfb102ae17b8f81bb9b3fd82d1bc21620821878f37dccc5c58012e8 size 11312
[ "nateweiler84@gmail.com" ]
nateweiler84@gmail.com
837354c48998a7897e7ccb9dd125e15314090e4f
ef1d38cfef63f22e149d6c9dd14e98955693c50d
/webhook/protos/pogoprotos/data/telemetry/rpc_response_telemetry_pb2.py
3affea348e33cb38a14af4df63940874948ced59
[]
no_license
Kneckter/WebhookListener
4c186d9012fd6af69453d9d51ae33a38aa19b5fd
ea4ff29b66d6abf21cc1424ed976af76c3da5511
refs/heads/master
2022-10-09T04:26:33.466789
2019-11-24T17:30:59
2019-11-24T17:30:59
193,372,117
2
0
null
2022-09-23T22:26:10
2019-06-23T16:39:34
Python
UTF-8
Python
false
true
3,158
py
# Generated by the protocol buffer compiler. DO NOT EDIT! # source: pogoprotos/data/telemetry/rpc_response_telemetry.proto import sys _b=sys.version_info[0]<3 and (lambda x:x) or (lambda x:x.encode('latin1')) from google.protobuf import descriptor as _descriptor from google.protobuf import message as _message from go...
[ "kasmar@gitlab.com" ]
kasmar@gitlab.com
4086926e4058adfba909c2e6ebe318834bd5172c
824b582c2e0236e987a29b233308917fbdfc57a7
/sdk/python/pulumi_google_native/file/v1beta1/get_instance.py
c141f3fd55e7ce5599dce6da9d1e33bd41ae36ad
[ "BSD-3-Clause", "Apache-2.0" ]
permissive
24601/pulumi-google-native
ce8faf8455609a9572a8cbe0638c66427bf0ae7f
b219a14201c6c58eaa10caaeacbdaab528931adf
refs/heads/master
2023-08-23T05:48:31.819709
2021-10-08T18:50:44
2021-10-08T18:50:44
null
0
0
null
null
null
null
UTF-8
Python
false
false
8,453
py
# coding=utf-8 # *** WARNING: this file was generated by the Pulumi SDK Generator. *** # *** Do not edit by hand unless you're certain you know what you are doing! *** import warnings import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload from ... import _utilities fro...
[ "noreply@github.com" ]
24601.noreply@github.com
48789cb5e09d9b3d49133bd49bfc603bd40db2f9
b4c6013f346e178222cc579ede4da019c7f8c221
/src/main/python/idlelib/autocomplete_w.py
3374c6e94510aae80dc91e5529c3cb42dbb51c68
[ "BSD-3-Clause", "OpenSSL", "MIT", "Apache-2.0", "LicenseRef-scancode-public-domain", "GPL-1.0-or-later", "LicenseRef-scancode-unicode" ]
permissive
cafebabepy/cafebabepy
e69248c4f3d9bab00e93ee749d273bc2c9244f8d
4ab0e67b8cd79f2ca7cab6281bc811d3b9bc69c1
refs/heads/develop
2022-12-09T21:14:56.651792
2019-07-01T09:05:23
2019-07-01T09:05:23
90,854,936
9
1
BSD-3-Clause
2018-01-02T02:13:51
2017-05-10T11:05:11
Java
UTF-8
Python
false
false
17,799
py
""" An auto-completion window for IDLE, used by the autocomplete extension """ from tkinter import * from tkinter.ttk import Scrollbar from idlelib.autocomplete import COMPLETE_FILES, COMPLETE_ATTRIBUTES from idlelib.multicall import MC_SHIFT HIDE_VIRTUAL_EVENT_NAME = "<<autocompletewindow-hide>>" HIDE_SEQUENCES = ("...
[ "zh1bvtan1@gmail.com" ]
zh1bvtan1@gmail.com
a54658bd8a22e553868a14b5f60211cd32da3b52
2bdedcda705f6dcf45a1e9a090377f892bcb58bb
/src/main/output/parent_database/month_uml_friend.py
aed12b5960becaee8d5dc22304612a6d6ecdb811
[]
no_license
matkosoric/GenericNameTesting
860a22af1098dda9ea9e24a1fc681bb728aa2d69
03f4a38229c28bc6d83258e5a84fce4b189d5f00
refs/heads/master
2021-01-08T22:35:20.022350
2020-02-21T11:28:21
2020-02-21T11:28:21
242,123,053
1
0
null
null
null
null
UTF-8
Python
false
false
1,424
py
const request = require('request'); const uuidv4 = require('uuid/v4'); /* Checks to see if the subscription key is available as an environment variable. If you are setting your subscription key as a string, then comment these lines out. If you want to set your subscription key as a string, replace the value for the O...
[ "soric.matko@gmail.com" ]
soric.matko@gmail.com
cbaade48d67ca0c94d6331b106f6564b11908192
81539aba88c22cf75bd2e14f5e0e92f2bf54e962
/DarkMatterMap2017/TTbarDMJets_Inclusive_pseudoscalar_LO_TuneCP5_13TeV_madgraph_mcatnlo_pythia8/TTbarDMJets_Inclusive_pseudoscalar_LO_Mchi-1_Mphi-500_TuneCP5_13TeV-madgraph-mcatnlo-pythia8/TTbarDMJets_Inclusive_pseudoscalar_LO_TuneCP5_13TeV_madgraph_mcatnlo_pythia8_280000_2_cff.py
aeca49c5bdf95f76983dc2b24ee0ffaaae5aa727
[]
no_license
nistefan/RandomizedParametersSeparator
ad35b48b95e9745814c0bf9d8d8b6eb8aa479177
66a0e291b59113c6b5301768f1c10e36cf23d3c3
refs/heads/master
2021-01-03T00:41:17.415005
2020-02-19T13:30:54
2020-02-19T13:30:54
239,838,928
0
0
null
null
null
null
UTF-8
Python
false
false
4,700
py
import FWCore.ParameterSet.Config as cms maxEvents = cms.untracked.PSet( input = cms.untracked.int32(-1) ) readFiles = cms.untracked.vstring() source = cms.Source ("PoolSource",fileNames = readFiles, lumisToProcess = cms.untracked.VLuminosityBlockRange(*('1:50704', '1:50622', '1:74286', '1:76871', '1:64821', '1:64912',...
[ "Nicole.Stefanov@cern.ch" ]
Nicole.Stefanov@cern.ch
c4f259189903ac5cf05092f0bda5b48ad1860a48
680bd46e8eae20e78a425f766432711a47235374
/models/netflow_qo_s_report_table_row.py
ffb909260dced53f35dbb127152a5ba862a72a9d
[ "Apache-2.0" ]
permissive
ILMostro/lm-sdk-python
9f45217d64c0fc49caf2f4b279a124c2efe3d24d
40da5812ab4d50dd1c6c3c68f7ea13c4d8f4fb49
refs/heads/master
2022-02-01T16:51:12.810483
2019-07-16T17:54:11
2019-07-16T17:54:11
null
0
0
null
null
null
null
UTF-8
Python
false
false
5,477
py
# coding: utf-8 """ LogicMonitor REST API LogicMonitor is a SaaS-based performance monitoring platform that provides full visibility into complex, hybrid infrastructures, offering granular performance monitoring and actionable data and insights. logicmonitor_sdk enables you to manage your LogicMonitor account...
[ "bamboo@build01.us-west-1.logicmonitor.net" ]
bamboo@build01.us-west-1.logicmonitor.net
c30d66e61d205d652025d4aacc12cb9ed94b3e99
67f86bb3d09cbc86cac698b3f0abaf01457a966a
/master/bopytest-code/code/ch4/dt/2/unnecessary_math.py
dca5e5454a0dd1e77c0f748a62b36acbbfcd06ca
[ "MIT" ]
permissive
tied/DevArtifacts
efba1ccea5f0d832d4227c9fe1a040cb93b9ad4f
931aabb8cbf27656151c54856eb2ea7d1153203a
refs/heads/master
2020-06-06T01:48:32.149972
2018-12-08T15:26:16
2018-12-08T15:26:16
null
0
0
null
null
null
null
UTF-8
Python
false
false
588
py
""" This module defines multiply(a, b) and divide(a, b). >>> import unnecessary_math as um Here's how you use multiply: >>> um.multiply(4, 3) 12 >>> um.multiply('a', 3) 'aaa' Here's how you use divide: >>> um.divide(10, 5) 2.0 """ def multiply(a, b): """ Returns a multiplied by b. >>> import unnecess...
[ "alexander.rogalsky@yandex.ru" ]
alexander.rogalsky@yandex.ru
7321457036e055ce425ff626c31f3526474e40da
45c52da4d20f912e462359b051a3a8f1dced7210
/module/SequencePlayback.py
bac331fac2553ba6b50ad8f1140d1ee368a3731b
[]
no_license
solpie/SeqTruan
8b55c37d198898e40a2808d751b011d23022e552
4ed23592bf96a9d9261a7cc5fa82cd04d7e3da7d
refs/heads/master
2021-01-10T03:38:30.230285
2015-06-15T14:21:43
2015-06-15T14:21:43
36,845,728
1
0
null
null
null
null
UTF-8
Python
false
false
2,285
py
__author__ = 'toramisu' import os from PyQt5.Qt import QTimer from module.Events import * from model import SImage class SequencePlayback(): def __init__(self): self.imageSequence = [] self.framerate = 0 self.currentFrame = -1 self.currentFrameIdx = -1 self.endFrameIdx = ...
[ "solpie.net@gmail.com" ]
solpie.net@gmail.com
c2895596fd10a2fc4f221b84f49ad9db95988517
bb7712c8fab2380ffd37e53136097d8d322a73e7
/order/migrations/0014_remove_order_order_id.py
e67b11e4d630676c1cd8936e9fbc22e9ab0dfd43
[]
no_license
nitin1011/Daily-Kart
5dfaad06c4ab7ea236a8f1b0e29aaea4baba0b81
59859bd2dc66563ff1ab0649591e4b19b6b4a85b
refs/heads/master
2020-08-15T09:52:22.826037
2019-10-15T14:56:28
2019-10-15T14:56:28
215,320,786
1
0
null
null
null
null
UTF-8
Python
false
false
327
py
# Generated by Django 2.2.2 on 2019-10-02 10:48 from django.db import migrations class Migration(migrations.Migration): dependencies = [ ('order', '0013_auto_20191002_1617'), ] operations = [ migrations.RemoveField( model_name='order', name='order_id', ),...
[ "nitinjethwani10@gmail.com" ]
nitinjethwani10@gmail.com
9ba33c43b52f06943abc89aadcf47123451c8752
2031771d8c226806a0b35c3579af990dd0747e64
/pyobjc-framework-QTKit/PyObjCTest/test_qtmoviemodernizer.py
924bd3a96364bbd4331610fd72fab57807c6deb9
[ "MIT" ]
permissive
GreatFruitOmsk/pyobjc-mirror
a146b5363a5e39181f09761087fd854127c07c86
4f4cf0e4416ea67240633077e5665f5ed9724140
refs/heads/master
2018-12-22T12:38:52.382389
2018-11-12T09:54:18
2018-11-12T09:54:18
109,211,701
2
0
null
null
null
null
UTF-8
Python
false
false
1,175
py
from PyObjCTools.TestSupport import * from QTKit import * class TestQTError (TestCase): @min_os_level('10.9') def testConstants(self): self.assertEqual(QTMovieModernizerStatusUnknown, 0) self.assertEqual(QTMovieModernizerStatusPreparing, 1) self.assertEqual(QTMovieModernizerStatusRunnin...
[ "ronaldoussoren@mac.com" ]
ronaldoussoren@mac.com
c4201c9f0a97d7dd5f456d9fa220b91b3ac2ab85
43ec4ea3b633244f5deef45315f19844a852a034
/ExanteTaxCalculator/src/infrastructure/report_row.py
80d336933e1578980605ea6bc60f1f9c0ec53095
[]
no_license
mateuszmidor/PythonStudy
4a34feab04fe1bcc62a67506a5e7be85fb209d8c
579b79b76cb5ce27cb9af09a2bd3db3c5ad65595
refs/heads/master
2023-05-25T11:32:50.274138
2023-05-17T06:08:29
2023-05-17T06:08:29
21,539,459
0
0
null
2023-05-23T00:40:51
2014-07-06T12:20:36
Python
UTF-8
Python
false
false
2,427
py
from decimal import Decimal from enum import Enum from dataclasses import dataclass, fields from datetime import datetime from typing import Dict from src.infrastructure.errors import InvalidReportRowError @dataclass class ReportRow: """ReportRow is raw CSV report row parsed into a dataclass.""" class Opera...
[ "3demaniac@gmail.com" ]
3demaniac@gmail.com
7c80d929692aa65b1400c04ded4efe8f817eae4c
2e60017779c5c286629ab5a3a7aeb27a6b19a60b
/python/problem_48.py
704454c508774c17e70776fe8245c09cd9169b94
[]
no_license
jamesjiang52/10000-Lines-of-Code
f8c7cb4b8d5e441693f3e0f6919731ce4680f60d
3b6c20b288bad1de5390ad672c73272d98e93ae0
refs/heads/master
2020-03-15T03:50:38.104917
2018-05-07T04:41:52
2018-05-07T04:41:52
131,952,232
0
0
null
null
null
null
UTF-8
Python
false
false
634
py
if __name__ == '__main__': import sys sys.path.insert(0, 'C:\\Users\\James Jiang\\Documents\\Project Euler') from progress import Progress answers_list = ['dummy'] with open('C:\\Users\\James Jiang\\Documents\\Project Euler\\answers.txt') as answers: for line in answers: answers_list.append(int(lin...
[ "jamesjiang52@gmail.com" ]
jamesjiang52@gmail.com
dd23bdde62f4bfd0ad65c5a3b1ba35c4b11db1ee
0a6c04ce9a83c983558bf2a9b0622c0076b6b6c4
/collab_app/migrations/0004_auto_20200301_1307.py
50bdf63652ca7d923d08b6cb80c6723d53e38497
[]
no_license
madhu0309/collaboratory
f4384affa8a489a1dc5b2614ac83d8ed2547dae1
5217d713d2a174e868a26ac9eb00836d006a09ad
refs/heads/master
2022-12-14T23:13:47.816593
2020-03-18T17:43:56
2020-03-18T17:43:56
235,501,050
1
0
null
2022-12-08T03:50:22
2020-01-22T04:52:31
JavaScript
UTF-8
Python
false
false
764
py
# Generated by Django 3.0.2 on 2020-03-01 13:07 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('collab_app', '0003_remove_answer_votes'), ] operations = [ migrations.AddField( model_name='answer', name='num_vote_...
[ "madhu@micropyramid.com" ]
madhu@micropyramid.com
c82c18ec7ff65774ec97137cad3ce006dd7fbfb1
7b280b947f639959bdd034628b433c3b27ef7b91
/first/contact.py
a7afb6069609cfb7a2478a56d0b8ead2389277c5
[]
no_license
amaurirg/tutoriais_flask
c0d5e523a16c05e76e4573c02bbe50bef66e28f0
e8aa6c8e89f1400f0be34204cb1cbb456bfb04b5
refs/heads/master
2020-03-31T07:56:22.888257
2018-10-08T07:56:42
2018-10-08T07:56:42
152,039,297
0
0
null
null
null
null
UTF-8
Python
false
false
697
py
from flask import Blueprint, render_template, request, abort, current_app bp = Blueprint('contact', __name__, url_prefix='/contact') @bp.route("/", methods=['GET', 'POST']) def contact(): if request.method == "GET": return render_template('contact.html') # processar dados # print(request.form) ...
[ "amaurirg@terra.com.br" ]
amaurirg@terra.com.br
521fcf8431b2f9adc31ed607139f229a7a6b82d1
5873213f0615c13d26c389d8e6aff0291e639d51
/manage.py
eb5d140281a83806bc9b6fd1521585ff4293510d
[ "MIT" ]
permissive
conferency/conf-panda
15d9645d5834b78ea27560c58d15a0fe628749ab
d69094174e880b771cd1a5cad981f65374008359
refs/heads/master
2020-05-18T16:03:56.716017
2019-05-18T04:03:55
2019-05-18T04:03:55
184,514,509
0
2
MIT
2019-05-18T04:03:57
2019-05-02T03:14:46
JavaScript
UTF-8
Python
false
false
7,434
py
#!/usr/bin/env python # -*- coding: utf-8 -*- import os import shutil import glob from app import create_app, db from app.utils.fakedata import generate_test_confs, generate_fake_tickets, \ generate_test_users, generate_fake_papers, generate_fake_reviews, \ generate_fake_transactions, generate_fake_schedule, \ ...
[ "harryjwang@gmail.com" ]
harryjwang@gmail.com
d12502e37805d16aa3555932c6c6d5b5764cea57
6c5daf5133656a33574dc2f5b62b9f1a1bdf1390
/linear programming/gurobi/examples/workforce2.py
d79f3916924e23f35f65e3328dbe22c0e6552f91
[]
no_license
RobinChen121/Python-Practices
6c10b721dce3a8d2b76e190959d0940c52f0d1cc
85bd9ad30c245dd62dc7ea837f964eaecbe24ed9
refs/heads/master
2023-08-31T10:08:01.613828
2023-08-27T14:51:46
2023-08-27T14:51:46
142,564,793
3
0
null
null
null
null
UTF-8
Python
false
false
3,945
py
#!/usr/bin/python # Copyright 2018, Gurobi Optimization, LLC # Assign workers to shifts; each worker may or may not be available on a # particular day. If the problem cannot be solved, use IIS iteratively to # find all conflicting constraints. from gurobipy import * # Number of workers required for each shift shift...
[ "40953071+RobinChen121@users.noreply.github.com" ]
40953071+RobinChen121@users.noreply.github.com
9fbb49ae597c0575ccb1b43a4264273f6ae1d2df
4b7d5c8824df4462a338993efcdfa3b17199ff5b
/基础/day8/logging_mod.py
9016888efa6bae9265a37e4dcdd2363dd0e69449
[]
no_license
kobe24shou/python
9c287babfb357e7f650fab453f3e60614b7a71fc
f78f147101f182207a69f0dc8e1595b54280164a
refs/heads/master
2021-06-02T12:40:59.424542
2020-06-28T06:13:51
2020-06-28T06:13:51
101,620,300
0
0
null
null
null
null
UTF-8
Python
false
false
718
py
#!/usr/bin/env python # -*-coding:utf-8-*- # Author:ls # aishou24@gmail.com # date:2018/6/10 import logging # basicConfig 配置日志级别,日志格式,输出位置 logging.basicConfig(level=logging.DEBUG, # 日志级别debug format='%(asctime)s %(filename)s[line:%(lineno)d] %(levelname)s %(message)s', datef...
[ "aishou24@gmail.com" ]
aishou24@gmail.com
ba2aa6eceb577173190bad4307320afd84789292
716abd9e5ba4b72b72cc5f724a6cc0a6ad4390d1
/11-Loops - for and while loops with break, continue and pass/49-Simple-practice-with-for-loop.py
52de14b4a76bdbac60ab24a638e83c0cd0010073
[]
no_license
devopstasks/PythonScripting
ac45edd72dc134ec3539b962f02dfc866f365ecf
48bc37733ae6b3be4e2d64909ffe0962b6908518
refs/heads/master
2023-03-29T11:18:01.329452
2021-04-07T03:25:20
2021-04-07T03:25:20
350,388,744
0
0
null
null
null
null
UTF-8
Python
false
false
313
py
''' ============ Simple practice with forloop => Read a string and print chars and their index values ============ ''' #str=input("Enter a string: ") ''' str="python" for each in str: print(each,'-->',str.index(each)) ''' str="python" index=0 for each in str: print(f'{each}-->{index}') index=index+1
[ "rpadhan2015@gmail.com" ]
rpadhan2015@gmail.com
92ddc4f26addab8501de36d65fb48ec5d2eecd95
0b5383d3099d62cb5e5b2f197bf4d648b51e3a1d
/flask_projects/Discover_Flask/project/users/form.py
5c226e9142c70f9a9267b23d3dd098079fb7633a
[]
no_license
Sysa/py_samples
386134d160dad2be6797d415c5cc6a657ef9e375
957a77e6601106e1917d4931784a25277478eeb8
refs/heads/master
2021-01-13T09:15:38.395169
2016-10-31T13:29:41
2016-10-31T13:29:41
72,438,805
1
0
null
2016-10-31T13:27:58
2016-10-31T13:27:58
null
UTF-8
Python
false
false
862
py
from flask_wtf import Form from wtforms import StringField, PasswordField from wtforms.validators import DataRequired, Length, Email, EqualTo class LoginForm(Form): username = StringField('Username', validators=[DataRequired()]) password = PasswordField('Password', validators=[DataRequired()]) class Registe...
[ "meth787@gmail.com" ]
meth787@gmail.com
4c2698dc3814d58bc9b6639b43b0bb2be5e29d8a
de24f83a5e3768a2638ebcf13cbe717e75740168
/moodledata/vpl_data/380/usersdata/316/89621/submittedfiles/testes.py
b9143a54f8f0a7ae84e865f2e91e6678453e876f
[]
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
178
py
# -*- coding: utf-8 -*- #COMECE AQUI ABAIXO n=int(input('Digite um numero:')) m=int(input('Digite um numero:')) d=1 while n%d>=0 and m%d>=0: d=d+1 print(d)
[ "rafael.mota@ufca.edu.br" ]
rafael.mota@ufca.edu.br
efbf8b4c9f0e58d826b8a8ef0a14b26e8a9afc91
736785ff9b31f83e1452117652dcdf5b22d9c39f
/main.py
80029795276e8fe8f022c79e760d0d3a17e746c6
[]
no_license
moskrc/mock_subprocess
9fc99a43e7dedeabfd44c475c539c44f31c1c25b
217023448f3c0caa3f69504ca499c3aca047905f
refs/heads/master
2016-09-11T02:45:05.678718
2014-12-19T11:17:21
2014-12-19T11:17:21
28,226,563
1
0
null
null
null
null
UTF-8
Python
false
false
137
py
import f1 import f2 def superfunction(): return [x.action() for x in [f1, f2]] if __name__ == '__main__': print superfunction()
[ "moskrc@gmail.com" ]
moskrc@gmail.com
2b83412570a153958decb635c6bfddbd7e7c41df
6d3a1f9fa0f56c1081e15f1c8a26e1829067779c
/Class 16 (OOP coding)/inheritance_polymorphism_encapsulation .py
60e455e8c6d2c0b596de53f0c6fd099ea3171355
[]
no_license
siyam04/python-course_materials
e813e0072eba325ef52054f06516fdc1bb2cf0a4
9627c85a083b9c0e38604ea1fe021428ceb3fcae
refs/heads/master
2022-04-07T17:54:23.550256
2020-03-03T07:34:41
2020-03-03T07:34:41
155,817,366
0
1
null
null
null
null
UTF-8
Python
false
false
3,320
py
########################################## Inheritance ######################################## # Parent class class Bird: def __init__(self): print("Bird is ready") def whoisThis(self): print("Bird") def swim(self): print("Swim faster") # child class class ...
[ "galib.abdullah04@gmail.com" ]
galib.abdullah04@gmail.com
a20725d5d2ebeee77dd60da9f8c772ea992798ff
a1119965e2e3bdc40126fd92f4b4b8ee7016dfca
/trunk/repy/tests/ut_repytests_testfilehash.py
1a5946da31b5ba95584d7d6e2132c62f32cb7260
[ "MIT", "LicenseRef-scancode-unknown-license-reference" ]
permissive
SeattleTestbed/attic
0e33211ddf39efdbcf5573d4fc7fa5201aa7310d
f618a962ce2fd3c4838564e8c62c10924f5df45f
refs/heads/master
2021-06-10T23:10:47.792847
2017-05-15T12:05:43
2017-05-15T12:05:43
20,154,061
0
1
null
2014-10-16T17:21:06
2014-05-25T12:34:00
Python
UTF-8
Python
false
false
377
py
#pragma repy """ Files should not be hashable... """ if callfunc == "initialize": myfileobj = file('junk_test.out','w') try: mydict = {} try: mydict[myfileobj] = 7 except AttributeError: # I should get an exception here... pass else: print 'files are hashable!' finall...
[ "USER@DOMAIN" ]
USER@DOMAIN
50e646d3d84227c5ed5c8135beca75e6d4bf19dd
a2960cf4ba59a3ccfcb8deb4b46e3b55e17843a1
/app/api/v1/ports.py
34fa38442f9a6c16e4ef5d690de1c34ac4c6d2b8
[ "MIT" ]
permissive
cmz0228/backend
4108869751d0ea03a6841c82cc123d116b79986a
31a4fc7027a14147f971ca3d1097e957456daed3
refs/heads/main
2023-04-06T23:55:20.687821
2021-04-18T10:27:29
2021-04-18T10:27:29
null
0
0
null
null
null
null
UTF-8
Python
false
false
7,119
py
import typing as t from fastapi import ( APIRouter, HTTPException, Request, Depends, Response, encoders, ) from fastapi.encoders import jsonable_encoder from app.db.session import get_db from app.db.schemas.port import ( PortOut, PortOpsOut, PortCreate, PortEdit, PortEditBas...
[ "me@leishi.io" ]
me@leishi.io
9906aeacea03508f3edd03e58a19465ae05d4766
1ec8734beba25739979cbd4a9414a95273cce6aa
/8.18/正则语法.py
51c2934c93e1dc7af23cb1d4bd7816eaa0bb4200
[]
no_license
MATATAxD/untitled1
4431e4bc504e74d9a96f54fd6065ce46d5d9de40
18463f88ce60036959aabedabf721e9d938bacfb
refs/heads/master
2023-01-01T23:16:30.140947
2020-10-23T04:32:38
2020-10-23T04:32:38
306,529,260
0
0
null
null
null
null
UTF-8
Python
false
false
718
py
import re # userInput=input('输入一个手机号') # partern=r'^1[3,5,7,1,8]\d{9}$' # result=re.search(partern,userInput) # if result ==None: # print('不是手机号') # else: # print('是一个正确的手机号') # # userInput=input('输入一个座机号') # partern=r'^(0\d{2,3}-)?\d{7}$' # result=re.search(partern,userInput) # if result == None: # print(...
[ "502513072@qq.com" ]
502513072@qq.com
434f9f64b285e82a6dac620f02b1f9b1d0e86234
1698fe3ff15a6737c70501741b32b24fe68052f4
/two-scoops-of-django-1.8-master/code/chapter_09_example_5.py
a3e490dcea97b2ebae7e56c6624897a2d81b32a1
[]
no_license
menhswu/djangoapps
4f3718244c8678640af2d2a095d20a405e337884
039a42aa9d1537e7beb4071d86bea7a42253d8b3
refs/heads/master
2023-03-04T03:56:01.070921
2021-01-28T07:35:02
2021-01-28T07:35:02
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,925
py
""" Using This Code Example ========================= The code examples provided are provided by Daniel Greenfeld and Audrey Roy of Two Scoops Press to help you reference Two Scoops of Django: Best Practices for Django 1.8. Code samples follow PEP-0008, with exceptions made for the purposes of improving book formattin...
[ "jinxufang@tencent.com" ]
jinxufang@tencent.com
03ab30df9d8a152c0d3fec958442d62144e70426
e263dadfa1aba627ecc9f9d7a8e89dab776e55a1
/jdcloud_sdk/services/jmr/apis/ShowClusterDetailsRequest.py
4b89fa1f607ea1c9e27923b379c7dd72b5124373
[ "Apache-2.0" ]
permissive
Hownever/jdcloud-sdk-python
31d50e5927aa94050e9b58d94c6cdeda7659bda2
3f8c6f595c04c05690abac1110458613212380de
refs/heads/master
2020-03-22T09:26:18.432911
2018-07-05T10:48:41
2018-07-05T10:48:41
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,295
py
# coding=utf8 # Copyright 2018 JDCLOUD.COM # # 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 t...
[ "oulinbao@jd.com" ]
oulinbao@jd.com
06a99559eabc9a07b171d22c70b448721746bb4e
53fab060fa262e5d5026e0807d93c75fb81e67b9
/backup/user_366/ch10_2019_02_23_01_09_12_662766.py
ee8138d4dd1d37664a1f6e762006b6e1d7498c70
[]
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
63
py
def libras_para_kg(libras): y = libras/2.2046 return y
[ "you@example.com" ]
you@example.com
41c00b612cd1bdc6862d390f2e3a72bc198fff45
a94c446a0d9ce77df965674f63be54d54b2be577
/raspy/bcm_2835_pwm_clock_divider.py
b929606aabbb14e10f0005a5afeecee08175d1b5
[ "MIT" ]
permissive
cyrusbuilt/RasPy
3434e02c2bff09ef9f3ff4995bda14edc781c14b
1e34840cc90ea7f19317e881162209d3d819eb09
refs/heads/master
2020-03-18T20:19:27.426002
2018-08-03T17:07:25
2018-08-03T17:07:25
135,207,376
0
0
MIT
2018-08-03T17:07:26
2018-05-28T20:42:17
Python
UTF-8
Python
false
false
515
py
"""This module provides clock divider constants for the BCM2835 chipset.""" CLOCK_DIVIDER_1 = 1 CLOCK_DIVIDER_2 = 2 CLOCK_DIVIDER_4 = 4 CLOCK_DIVIDER_8 = 8 CLOCK_DIVIDER_16 = 16 CLOCK_DIVIDER_32 = 32 CLOCK_DIVIDER_64 = 64 CLOCK_DIVIDER_128 = 128 CLOCK_DIVIDER_256 = 256 CLOCK_DIVIDER_512 = 512 CLOCK_DIVIDER_1024 = 1024...
[ "cyrusbuilt@gmail.com" ]
cyrusbuilt@gmail.com
d694bff671f5e22a281d723afa307c1dc5ab3397
67d8173a716da10a7350213d98938aae9f2115ce
/ProgrammingCourses/CS61A/project/scheme/tests/19.py
e80c835acb0cc9ba1a1b160467141c731af8b1cc
[]
no_license
jxie0755/Learning_Python
94490d41bdf93acf8396f843328e38b6da310b0f
143422321cbc3715ca08f6c3af8f960a55887ced
refs/heads/master
2021-11-02T22:47:35.790239
2021-09-26T04:26:23
2021-09-26T04:26:23
101,445,132
0
2
null
2019-02-19T15:48:44
2017-08-25T22:00:16
Python
UTF-8
Python
false
false
2,160
py
test = { "name": "Problem 19", "points": 2, "suites": [ { "cases": [ { "code": r""" scm> (let-to-lambda 1) 1 scm> (let-to-lambda 'a) a scm> (let-to-lambda '(+ 1 2)) (+ 1 2) scm> (let-to-lambda '(let ((a 1) ...
[ "30805062+jxie0755@users.noreply.github.com" ]
30805062+jxie0755@users.noreply.github.com
fbc6337296c2ae2561d7e93f7aebcf43171a0297
bcabd9b183bc011e1ccf7e367fbed0dcaa03eee6
/1 PYTHON/3 TELUSKO/65_Binary_search.py
91df698e604998a020488263b59b6aa37105ea3a
[]
no_license
rajeshsvv/Lenovo_Back
287fe4da2c696aa248ec57a4c45c4f234f6ca9ed
7e49e38aaf934c65f9992a78404d2b81a4cd0204
refs/heads/master
2022-12-23T16:44:41.488128
2019-08-29T10:00:10
2019-08-29T10:00:10
204,859,914
0
1
null
2022-12-10T11:50:31
2019-08-28T06:05:35
Python
UTF-8
Python
false
false
505
py
# in binary search u r values should be in sorted order pos = -1 def search(list, n): l = 0 u = len(list) - 1 while l <= u: mid = (l + u) // 2 if list[mid] == n: globals()['pos'] = mid return True else: if list[mid] < n: l = m...
[ "rajeshsvv01@gmail.com" ]
rajeshsvv01@gmail.com
ab25787652495d666947f2f0ca7935915fd4aace
fd74a044c0037796455ba4bd4fd44f11c3323599
/Contest/ABC/Contest_154/b.py
5e8261afdf126e373cb77a4883e0660faa075bc0
[]
no_license
tegetege/tegetege_AtCoder
5ac87e0a7a9acdd50d06227283aa7d95eebe2e2f
ba6c6472082e8255202f4f22a60953d0afe21591
refs/heads/master
2022-03-25T00:29:22.952078
2022-02-10T14:39:58
2022-02-10T14:39:58
193,516,879
0
0
null
2019-06-25T13:53:13
2019-06-24T14:02:05
Python
UTF-8
Python
false
false
91
py
S = list(input()) ans = list() for i in range(len(S)): ans.append('x') print(''.join(ans))
[ "m_take7_ex_d@yahoo.co.jp" ]
m_take7_ex_d@yahoo.co.jp
633624a2e73da3f8a48a008d6b0e0b666b7e34d5
3fe1a72d444a60582fe1e45349c03584e26f7238
/karel_env/state_generator.py
2508bbbdf3ba9b0758d5e88a3b87ed3093fdf6d2
[ "MIT" ]
permissive
tedrepo/demo2program
16f0b332a08ff8936439b19084cdf71092c8995d
23464a69bfbf6fac9752fd423d14b03d37d1d1c6
refs/heads/master
2023-07-09T17:41:15.128227
2018-12-02T00:41:54
2018-12-02T00:41:54
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,243
py
from __future__ import absolute_import from __future__ import division from __future__ import print_function import numpy as np class KarelStateGenerator(object): def __init__(self, seed=None): self.rng = np.random.RandomState(seed) # generate an initial env def generate_single_state(self, h=8, ...
[ "waltersun81@gmail.com" ]
waltersun81@gmail.com