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
ed79f62b360a2efd48f4fbf2df06fef99742ccf5
d60cd7864f74695221d68a23cc230407a9e52c66
/project/projects/views.py
9a3a9870322df000db54c279faf93cfc4addfde8
[]
no_license
joetechem/django_maps
81fcc3f60eef2b02024d6b417ecda033a5c0514c
87b98faf8a2bfe20ea02433c0018c221ded1b395
refs/heads/master
2021-09-15T23:16:59.714991
2018-06-12T17:13:07
2018-06-12T17:13:07
103,307,749
0
0
null
null
null
null
UTF-8
Python
false
false
3,495
py
# -*- coding: utf-8 -*- from __future__ import unicode_literals from django.shortcuts import render from django.http import HttpResponseRedirect, Http404 from django.core.urlresolvers import reverse from django.contrib.auth.decorators import login_required from .models import Topic, Entry from .forms import TopicForm...
[ "joe@techemstudios.com" ]
joe@techemstudios.com
7df773938604d29f7f235bd150fc4c20056e0e36
e8803012da4ef4f3b99fb01f252ad704f3b24f9b
/OOP_and_Other/standard library2.py
ed310089666f7aac00aca485a4c30179c6f0b872
[]
no_license
imamahasane/Object_Oriented_Programming
ec234e7d494c475ee0d836b3a64fa779d3c5488f
8ee168350aa924d9b62d90c8ddcc3cfef28e2f18
refs/heads/main
2023-09-06T04:23:57.827634
2021-11-21T19:56:06
2021-11-21T19:56:06
409,710,295
3
1
null
null
null
null
UTF-8
Python
false
false
178
py
# -*- coding: utf-8 -*- """ Created on Mon Sep 2 02:32:32 2019 @author: Imam Ahasan """ import webbrowser url = "https://www.google.com" print(webbrowser.open(url))
[ "noreply@github.com" ]
imamahasane.noreply@github.com
0942fe40386661b6dc42a5b81450f6f17f1920b3
52b5773617a1b972a905de4d692540d26ff74926
/.history/FrogRiver_20200723134727.py
b91b8bdcbf479978cb78b6f59148f3d9cd1e3395
[]
no_license
MaryanneNjeri/pythonModules
56f54bf098ae58ea069bf33f11ae94fa8eedcabc
f4e56b1e4dda2349267af634a46f6b9df6686020
refs/heads/master
2022-12-16T02:59:19.896129
2020-09-11T12:05:22
2020-09-11T12:05:22
null
0
0
null
null
null
null
UTF-8
Python
false
false
272
py
def Frog(X,A): # given x where the frog wants to go # find earliest time # once you get the second that has that position # return the second pos = set() for i in range(len(A): print(A[i]) print(Frog(5,[1,3,1,4,2,3,5,4]))
[ "mary.jereh@gmail.com" ]
mary.jereh@gmail.com
1f1a68bd24d0e45ff9d19302fee5ae6ee4ab89b3
f1ff78b950f40023e82b0d877be49971a42f70c0
/gx/imei_ip.py
e6fdd294c1f416599aa779d775ddb5d3808903c8
[]
no_license
buddyli/python
72e2c6788e4982a3fa188a757585c1c97a385eaa
f764b64ba9b7d723648d1d1a35af15aa0a6f3a6f
refs/heads/master
2020-04-01T21:00:27.984460
2014-08-12T03:16:42
2014-08-12T03:16:42
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,712
py
#!/usr/bin/env python #-*- encoding:utf-8 -*- import re class ImeiIP(object): """ 将客户端的推荐记录组装成字典 key:推荐号码-被推荐号码 value:ip,串号 """ imeiList = [] inviteDict = {} def __init__(self): super(ImeiIP, self).__init__() self.loadImei() def loadImei(self): self.imeiList = open('invite_detail.txt','r').readlines(...
[ "=" ]
=
260c19a52c0cb93652808a18f4ac04a97ab4c9ea
70915355612b72726c4b2e15f1d40f05c4749f48
/bench/peewee_bench/bench.py
fe24d1cbd985464dde4bac5d1e28119e0955b63e
[ "MIT" ]
permissive
redapple/peewee
b343048f1795fd9ff0f1ad5871f40da6c2cfebe1
2ffdcafd2f6c170a3d02db0d1b81bead9eab9318
refs/heads/master
2021-01-17T22:41:53.770324
2013-06-28T02:16:11
2013-06-28T02:16:11
4,386,224
1
0
null
null
null
null
UTF-8
Python
false
false
1,385
py
import datetime from models import Blog from models import Entry from models import User from models import create_tables from models import drop_tables def initialize(): try: create_tables() except: pass def teardown(): drop_tables() def create_user(username, active=True): return U...
[ "coleifer@gmail.com" ]
coleifer@gmail.com
d69170c96f0b66475f40e5bb9be3bef2f50fd524
187a6558f3c7cb6234164677a2bda2e73c26eaaf
/jdcloud_sdk/services/waf/models/ThreatIpBotRules.py
7c1a967480c507698e86b299496ae4bd69c9c877
[ "Apache-2.0" ]
permissive
jdcloud-api/jdcloud-sdk-python
4d2db584acc2620b7a866af82d21658cdd7cc227
3d1c50ed9117304d3b77a21babe899f939ae91cd
refs/heads/master
2023-09-04T02:51:08.335168
2023-08-30T12:00:25
2023-08-30T12:00:25
126,276,169
18
36
Apache-2.0
2023-09-07T06:54:49
2018-03-22T03:47:02
Python
UTF-8
Python
false
false
1,156
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 ...
[ "tancong@jd.com" ]
tancong@jd.com
f64b02db036a124f7797e71c4437a033be575a19
40029281c27f748dfdb7e2b2b52186f239caeed8
/test/test_knowledge_graph.py
f1c8a6f913e97e7bd97b662c721027bf21847143
[]
no_license
daletcoreil/metadataanalysis-client-python-sdk
d30001c2f91c94f6aca3627735280e641839e4a1
9b4b495fe3f5f1d5c7d28e126def9c311c5518e5
refs/heads/master
2021-06-20T15:54:36.426663
2021-05-04T06:41:55
2021-05-04T06:41:55
207,790,626
0
0
null
null
null
null
UTF-8
Python
false
false
2,092
py
# coding: utf-8 """ Dalet Metadata Analysis API No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 The version of the OpenAPI document: 2.1.0 Contact: cortexsupport@dalet.com Generated by: https://openapi-generator.tech """ f...
[ "daletcoreil@gmail.com" ]
daletcoreil@gmail.com
752635e3d04d3a7f9f4a7b954d3f9d4321517573
03e3138f99f275d15d41a5c5bfb212f85d64d02e
/source/res/scripts/common/Lib/plat-mac/Carbon/Files.py
30e26ecc8278ea18f3742d0a09390146e2ceba3e
[]
no_license
TrenSeP/WorldOfTanks-Decompiled
e428728e7901146d0b599d02c930d70532232a97
1faa748acec1b7e435b657fd054ecba23dd72778
refs/heads/1.4.1
2020-04-27T08:07:49.813023
2019-03-05T17:37:06
2019-03-05T17:37:06
174,159,837
1
0
null
2019-03-06T14:33:33
2019-03-06T14:24:36
Python
UTF-8
Python
false
false
11,237
py
# Python bytecode 2.7 (decompiled from Python 2.7) # Embedded file name: scripts/common/Lib/plat-mac/Carbon/Files.py def FOUR_CHAR_CODE(x): return x true = True false = False fsCurPerm = 0 fsRdPerm = 1 fsWrPerm = 2 fsRdWrPerm = 3 fsRdWrShPerm = 4 fsRdDenyPerm = 16 fsWrDenyPerm = 32 fsRtParID = 1 fsRtDirID = 2 f...
[ "StranikS_Scan@mail.ru" ]
StranikS_Scan@mail.ru
b78065cbbc9c15b45f77d8a956181bcdf8c82d1a
2aace9bb170363e181eb7520e93def25f38dbe5c
/build/idea-sandbox/system/python_stubs/cache/c4854f16f3013eb380accc9cdef099fde6d61730789599047572c94b787111c0/_cython_0_29_12.py
85e5dab8b9ab4e1f0c7fd11db0bfa65e4709a561
[]
no_license
qkpqkp/PlagCheck
13cb66fd2b2caa2451690bb72a2634bdaa07f1e6
d229904674a5a6e46738179c7494488ca930045e
refs/heads/master
2023-05-28T15:06:08.723143
2021-06-09T05:36:34
2021-06-09T05:36:34
375,235,940
1
0
null
null
null
null
UTF-8
Python
false
false
5,890
py
# encoding: utf-8 # module _cython_0_29_12 # from C:\Users\Doly\Anaconda3\lib\site-packages\skimage\morphology\_skeletonize_3d_cy.cp37-win_amd64.pyd # by generator 1.147 # no doc # no imports # Variables with simple values __loader__ = None __spec__ = None # no functions # classes class cython_function_or_method(o...
[ "qinkunpeng2015@163.com" ]
qinkunpeng2015@163.com
f8caf7b288f8182a6023ff18136c9dfd26a08fcd
ce76b3ef70b885d7c354b6ddb8447d111548e0f1
/same_man_and_other_life/go_week_above_young_hand/woman/right_way/take_other_company.py
bf99c005bc25bb9e6f9fd8b122c4a7d9de3e0c36
[]
no_license
JingkaiTang/github-play
9bdca4115eee94a7b5e4ae9d3d6052514729ff21
51b550425a91a97480714fe9bc63cb5112f6f729
refs/heads/master
2021-01-20T20:18:21.249162
2016-08-19T07:20:12
2016-08-19T07:20:12
60,834,519
0
0
null
null
null
null
UTF-8
Python
false
false
193
py
#! /usr/bin/env python def week_and_man(str_arg): old_thing(str_arg) print('old_part') def old_thing(str_arg): print(str_arg) if __name__ == '__main__': week_and_man('man')
[ "jingkaitang@gmail.com" ]
jingkaitang@gmail.com
072ca8931bfe6de8887178086d72f52bcb52f703
b317f6d3ff86b49f49687cbec1a76b83caa5442a
/django-foaf/django_foaf/rdf_models.py
96fde1736050d9ca82bd0bc694d7712de950fe7b
[ "BSD-3-Clause" ]
permissive
GrassfedSoftware/django-foaf
eedc6613cdd657c67d997a7b4de064d24d788b67
43f449e1abf59ff76e615d9a8e3d273d3d5a1397
refs/heads/master
2021-01-18T08:30:34.689422
2013-01-23T15:03:50
2013-01-23T15:03:50
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,559
py
from rdfalchemy import rdfObject, rdflibSingle, rdflibMultiple from rdflib import Namespace FOAF=Namespace("http://xmlns.com/foaf/0.1/" ) RDFS=Namespace("http://www.w3.org/2000/01/rdf-schema#") REL=Namespace("http://purl.org/vocab/relationship/") class Agent(rdfObject): rdf_type=FOAF.Agent name=rdflibSingle(FOAF....
[ "mpetyx@gmail.com" ]
mpetyx@gmail.com
8984d05f469edc50ae1d9d63275fe4a051882f54
46447da173adb79cf5af95cd8c2219d3c06d829a
/tea_garden/config/docs.py
df1637843144b42540f37898c2aae23ae57482c9
[ "MIT" ]
permissive
nivedita05/Tea-garden
a3f488828be107f5498f8fcb30a33f0dc0af1073
ce000e074357c9995e5d37e050bbc84d61528c20
refs/heads/master
2020-09-14T05:30:16.152097
2017-01-06T06:56:58
2017-01-06T06:56:58
67,690,992
0
0
null
null
null
null
UTF-8
Python
false
false
323
py
""" Configuration for docs """ # source_link = "https://github.com/[org_name]/tea_garden" # docs_base_url = "https://[org_name].github.io/tea_garden" # headline = "App that does everything" # sub_heading = "Yes, you got that right the first time, everything" def get_context(context): context.brand_html = "Tea Garden...
[ "nivedita12011990@gmail.com" ]
nivedita12011990@gmail.com
4d726cb1c088dc6f3611f7216a11f2a9bb0cb105
f64e31cb76909a6f7fb592ad623e0a94deec25ae
/leetcode/p0091_decode_ways.py
4a4b8ccba55aeb488345c9110f624d8db641abd8
[]
no_license
weak-head/leetcode
365d635cb985e1d154985188f6728c18cab1f877
9a20e1835652f5e6c33ef5c238f622e81f84ca26
refs/heads/main
2023-05-11T14:19:58.205709
2023-05-05T20:57:13
2023-05-05T20:57:13
172,853,059
0
1
null
2022-12-09T05:22:32
2019-02-27T05:58:54
Python
UTF-8
Python
false
false
1,403
py
from functools import lru_cache def num_decoding_dp(s: str) -> int: """ Dynamic Programming, optimized for space Time: O(n) Space: O(1) n - length of the string """ prev1 = prev2 = 1 for i in range(len(s) - 1, -1, -1): this = 0 if s[i] != "0": this = pr...
[ "zinchenko@live.com" ]
zinchenko@live.com
01beab80c80a336ed0130674939ad1f736c390f6
56f5b2ea36a2258b8ca21e2a3af9a5c7a9df3c6e
/CMGTools/H2TauTau/prod/25aug_corrMC/up/mc/DY3JetsToLL_M-50_TuneZ2Star_8TeV-madgraph/Summer12_DR53X-PU_S10_START53_V7A-v1/AODSIM/V5_B/PAT_CMG_V5_16_0_1377544839/HTT_24Jul_newTES_manzoni_Up_Jobs/Job_85/run_cfg.py
7c5b8692868a751d8669529547ce287fd71b8aa9
[]
no_license
rmanzoni/HTT
18e6b583f04c0a6ca10142d9da3dd4c850cddabc
a03b227073b2d4d8a2abe95367c014694588bf98
refs/heads/master
2016-09-06T05:55:52.602604
2014-02-20T16:35:34
2014-02-20T16:35:34
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,494
py
import FWCore.ParameterSet.Config as cms import os,sys sys.path.append('/afs/cern.ch/user/m/manzoni/summer13/CMGTools/CMSSW_5_3_9/src/CMGTools/H2TauTau/prod/25aug_corrMC/up/mc/DY3JetsToLL_M-50_TuneZ2Star_8TeV-madgraph/Summer12_DR53X-PU_S10_START53_V7A-v1/AODSIM/V5_B/PAT_CMG_V5_16_0_1377544839/HTT_24Jul_newTES_manzoni_...
[ "riccardo.manzoni@cern.ch" ]
riccardo.manzoni@cern.ch
5eb2a75e8d9fe9eed0a076ae3577c230cd95e324
7423e5a7c9ba9f0193f9bae544e40b4ac8cc2057
/source/experiment/k8.py
822957b7f690f79f4ba1576746a527379423b6ce
[ "Apache-2.0" ]
permissive
stjordanis/genetic-curriculum
f2bcc847f1b478d35535b4cce8f0eb5b2c979263
c409681be92880793c021586f35f0ac2af5e5003
refs/heads/master
2020-06-10T04:54:51.558790
2018-06-12T12:16:29
2018-06-12T12:16:29
null
0
0
null
null
null
null
UTF-8
Python
false
false
3,085
py
import logging, coloredlogs logger = logging.getLogger(__name__) coloredlogs.install(level='DEBUG',logger=logger) coloredlogs.install(level='DEBUG',logger=logging.getLogger('pbt')) coloredlogs.install(level='DEBUG',logger=logging.getLogger('experiment')) import requests import json import platform import time import...
[ "david@sketchdeck.com" ]
david@sketchdeck.com
b17203644fb6901b139eaf09fa54bbbd67e69915
5c0c0176db0ccf2c24b6b5ed459a8dc144518b13
/examples/nas/search_space_zoo/nasbench201.py
38263ac932c1aef87d3617fcb8e41571e67d90dc
[ "MIT" ]
permissive
petuum/nni
ac4f4a1c4d6df71684eeffa127b7c4858fd29e97
8134be6269902939232482d63649c06f9864be6d
refs/heads/master
2023-02-18T11:21:41.078889
2021-01-20T03:21:50
2021-01-20T03:21:50
302,736,456
4
3
MIT
2020-11-20T20:21:15
2020-10-09T19:34:11
Python
UTF-8
Python
false
false
9,127
py
import argparse import json import logging import os import pprint import numpy as np import pandas as pd import torch import torch.nn as nn import torch.optim as optim from torch.utils.data import DataLoader from nni.algorithms.nas.pytorch.darts import DartsTrainer from nni.algorithms.nas.pytorch import enas from nni...
[ "noreply@github.com" ]
petuum.noreply@github.com
291d577ae758154b276369b61ed3795c80f01bae
80e83dd69395312db092f7b0277310a29afb95b6
/InsertAndCheckData - 1.8版本/Action/Task/20200316_155247.py
468130d934f98cd03a8a80beedf14b597c9cddb4
[]
no_license
yif-zhu/Python-Project
3a102695a7eab2e149e260ccee955de84685b6cb
d55edb652d66e6694a120eb329cd04abba57ba1e
refs/heads/master
2023-01-21T00:59:27.743845
2020-12-04T08:42:56
2020-12-04T08:42:56
299,492,449
0
0
null
null
null
null
UTF-8
Python
false
false
164
py
import FileTranslator.NonFileFormatCheck as PyPath xml = r"Resource/xml/NonFileFormatCheck_TrusteeNew.xml" dateId = r"20200316_155247" PyPath.main(xml, dateId)
[ "yif_zhu@163.com" ]
yif_zhu@163.com
c898d8af3df2a1a9a7cf3c9f6ca28df923ded087
50948d4cb10dcb1cc9bc0355918478fb2841322a
/azure-mgmt-compute/azure/mgmt/compute/v2018_04_01/models/os_disk.py
e1c2cab2b1033fce71460c90f9e1f69a212f7359
[ "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
5,156
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
4248634084c9f0a934095af9ebd46947b97cf8ee
f576f0ea3725d54bd2551883901b25b863fe6688
/sdk/cosmos/azure-mgmt-cosmosdb/generated_samples/cosmos_db_sql_container_create_update.py
4dccde0df6e81d90f39aa43bdf476ac600928086
[ "LicenseRef-scancode-generic-cla", "MIT", "LGPL-2.1-or-later" ]
permissive
Azure/azure-sdk-for-python
02e3838e53a33d8ba27e9bcc22bd84e790e4ca7c
c2ca191e736bb06bfbbbc9493e8325763ba990bb
refs/heads/main
2023-09-06T09:30:13.135012
2023-09-06T01:08:06
2023-09-06T01:08:06
4,127,088
4,046
2,755
MIT
2023-09-14T21:48:49
2012-04-24T16:46:12
Python
UTF-8
Python
false
false
3,443
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" ]
Azure.noreply@github.com
c8006f0e7a294173b56c6e00a04bcb26ec01b5a4
45aef2c13221ce4ec0fd4e982bbf71a4d7262c0f
/链表/160-相交链表.py
c8e71ce26d028f3d25dc088dc41866f1cac139d9
[]
no_license
lidianxiang/leetcode_in_python
c421d3db511f74a6e26643875ed0cbe05c66c389
43ca92094e87f70065f8755d3909a9158e4b91e5
refs/heads/master
2021-11-27T15:11:10.162147
2021-11-23T02:45:48
2021-11-23T02:45:48
224,069,915
1
0
null
null
null
null
UTF-8
Python
false
false
2,029
py
""" 编写一个程序,找到两个单链表相交的起始节点。 如下面的两个链表: 在节点 c1 开始相交。   示例 1: 输入:intersectVal = 8, listA = [4,1,8,4,5], listB = [5,0,1,8,4,5], skipA = 2, skipB = 3 输出:Reference of the node with value = 8 输入解释:相交节点的值为 8 (注意,如果两个列表相交则不能为 0)。从各自的表头开始算起,链表 A 为 [4,1,8,4,5],链表 B 为 [5,0,1,8,4,5]。在 A 中,相交节点前有 2 个节点;在 B 中,相交节点前有 3 个节点。   ...
[ "ldx2703@gmail.com" ]
ldx2703@gmail.com
c9cba549f1399c3004f5dfa85565dcb8378957e8
297497957c531d81ba286bc91253fbbb78b4d8be
/testing/web-platform/tests/tools/third_party/pytest-asyncio/tests/test_event_loop_scope.py
91f840a24f19bbd2c2c234beb590ff46dad9bad7
[ "Apache-2.0", "LicenseRef-scancode-unknown-license-reference", "BSD-3-Clause" ]
permissive
marco-c/gecko-dev-comments-removed
7a9dd34045b07e6b22f0c636c0a836b9e639f9d3
61942784fb157763e65608e5a29b3729b0aa66fa
refs/heads/master
2023-08-09T18:55:25.895853
2023-08-01T00:40:39
2023-08-01T00:40:39
211,297,481
0
0
NOASSERTION
2019-09-29T01:27:49
2019-09-27T10:44:24
C++
UTF-8
Python
false
false
701
py
"""Test the event loop fixture provides a separate loop for each test. These tests need to be run together. """ import asyncio import pytest loop: asyncio.AbstractEventLoop def test_1(): global loop loop = asyncio.get_event_loop_policy().get_event_loop() @pytest.mark.asyncio async def test_2(): ...
[ "mcastelluccio@mozilla.com" ]
mcastelluccio@mozilla.com
c36bf0eee6c523cebbd56ed8d25dc7dd3454574f
92be2d8c4a64d5f8c43341be7f1e36b81fce56ab
/src/azure-cli/azure/cli/command_modules/relay/aaz/latest/relay/namespace/_list.py
02ad960057a8d42938a50256933e853a8aca2377
[ "MIT", "BSD-3-Clause", "LGPL-2.0-or-later", "GPL-1.0-or-later", "MPL-2.0", "LGPL-2.1-only", "Apache-2.0", "LGPL-2.1-or-later", "BSD-2-Clause" ]
permissive
allanpedroni/azure-cli
b31d3347f377208b502231266d4839196e574c4b
4e21baa4ff126ada2bc232dff74d6027fd1323be
refs/heads/dev
2023-08-31T18:27:03.240944
2023-08-31T08:49:58
2023-08-31T08:49:58
204,767,533
0
0
MIT
2023-09-14T13:32:41
2019-08-27T18:41:15
Python
UTF-8
Python
false
false
11,239
py
# -------------------------------------------------------------------------------------------- # 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 aaz-dev-tools # --------------------------------...
[ "noreply@github.com" ]
allanpedroni.noreply@github.com
9de0861edd6a88a367481b827eb0b7c813625500
c5fffc569ad0631217608be08ed4060f3e1e3e16
/opensecsummit/apps/backend.py
9f51d060f6952a46737f0193d0d1fe1a398b3e6f
[ "Apache-2.0" ]
permissive
chaosiq/demos
7f1241c10f76f7dee637c869c884f2740d13ff47
2a92a9f3f7ef033111e8f5a6d3e3b4dcffb46355
refs/heads/master
2021-05-10T13:19:29.023380
2018-11-26T16:25:33
2018-11-26T16:25:33
118,467,279
13
2
Apache-2.0
2018-10-31T10:03:35
2018-01-22T14:22:03
Batchfile
UTF-8
Python
false
false
233
py
import cherrypy import requests class Root: @cherrypy.expose def index(self): return "Hello world" if __name__ == '__main__': cherrypy.config.update({'server.socket_port': 7091}) cherrypy.quickstart(Root())
[ "sh@defuze.org" ]
sh@defuze.org
23b887d316bb89857f24910e900b1a92e8372550
6724b9a88c9fde132b34f69195ccf5cbd128e284
/biotech/swissprot.py
18c0c131ed0f6d1ac7f9bcce7dea2f2128d5320d
[]
no_license
HussainAther/biology
ab510a6add8daeecd332a66e58b3c71469d24b11
ff77118fe81d82c835f71a41e70e3f7f303028bf
refs/heads/master
2023-05-29T17:03:24.654242
2023-05-18T00:47:44
2023-05-18T00:47:44
170,805,560
11
0
null
null
null
null
UTF-8
Python
false
false
1,110
py
from Bio import SwissProt from Bio.SwissProt import SProt """ SwissProt implementation to retrieve SwissProt information. """ fh = open("/home/sb/bioinfo/spfile.txt") record = SwissProt.parse(fh).next() for att in dir(record): if not att.startswith(’__’): print(att,getattr(record,att)) def get_prosite_refs(h...
[ "shussainather@gmail.com" ]
shussainather@gmail.com
0cb887ac127df27b6339eb856e893047096aa058
f82757475ea13965581c2147ff57123b361c5d62
/gi-stubs/repository/IBus/EngineDescClass.py
e4322f433ebde66332672254b6df8833e18d79ae
[]
no_license
ttys3/pygobject-stubs
9b15d1b473db06f47e5ffba5ad0a31d6d1becb57
d0e6e93399212aada4386d2ce80344eb9a31db48
refs/heads/master
2022-09-23T12:58:44.526554
2020-06-06T04:15:00
2020-06-06T04:15:00
269,693,287
8
2
null
2020-06-05T15:57:54
2020-06-05T15:57:54
null
UTF-8
Python
false
false
4,247
py
# encoding: utf-8 # module gi.repository.IBus # from /usr/lib64/girepository-1.0/IBus-1.0.typelib # by generator 1.147 # no doc # imports import gi as __gi import gi.overrides as __gi_overrides import gi.overrides.Gio as __gi_overrides_Gio import gi.repository.GObject as __gi_repository_GObject import gobject as __gob...
[ "ttys3@outlook.com" ]
ttys3@outlook.com
6c99d691ae744171200a623db49374c6164e04d5
2e682fd72e3feaa70e3f7bf2a3b83c50d783ec02
/PyTorch/contrib/cv/semantic_segmentation/SETR/tools/benchmark.py
7acfa65d00cc6ca886af331b9f7ec881f2f5d98c
[ "BSD-3-Clause", "MIT", "Apache-2.0", "BSD-2-Clause", "LicenseRef-scancode-generic-cla", "LicenseRef-scancode-unknown-license-reference", "GPL-1.0-or-later" ]
permissive
Ascend/ModelZoo-PyTorch
4c89414b9e2582cef9926d4670108a090c839d2d
92acc188d3a0f634de58463b6676e70df83ef808
refs/heads/master
2023-07-19T12:40:00.512853
2023-07-17T02:48:18
2023-07-17T02:48:18
483,502,469
23
6
Apache-2.0
2022-10-15T09:29:12
2022-04-20T04:11:18
Python
UTF-8
Python
false
false
4,052
py
# BSD 3-Clause License # # Copyright (c) 2017 xxxx # All rights reserved. # Copyright 2021 Huawei Technologies Co., Ltd # # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the following conditions are met: # # * Redistributions of source code must retain th...
[ "wangjiangben@huawei.com" ]
wangjiangben@huawei.com
dc4734d045aa61a845329d09a990798f461d120b
4393a24ad5fbf31a59c3521ce4c66ff7d9a378bc
/py_study/pyset/3.集合的练习.py
3ad9e6adc11e5d6c0632a04b4a33553b9f5dd1b5
[]
no_license
Frecy16/learning
deba0abe0c326c6624456d83d3b75f06065c3834
a2b92f1c1dbd24bb5cc15ec9639c51aa8ca24902
refs/heads/master
2022-01-27T00:04:43.433775
2022-01-19T01:34:14
2022-01-19T01:34:14
210,374,068
0
0
null
null
null
null
UTF-8
Python
false
false
714
py
import json # nums = [5, 8, 7, 6, 4, 1, 3, 5, 1, 8, 4] # # # 去重排序: # nums1 = list(set(nums)) # nums1.sort() # print(nums1) n = '{"name": "list", "age": 20, "gender": "male"}' # n = '["hello", "good"]' # p = eval(n) # print(type(p)) # s = json.loads(n) # loads可以将json字符串转换成Python里的数据 # print(s) # print(type(s)) # prin...
[ "1376210796@qq.com" ]
1376210796@qq.com
dd9a2abdbdbd7a1d9f4a574ec460fb6be6289622
603399a5ec5da4d57710d1b66585a9a5dbd4dc9e
/ENIAC-experiments/v-previous/brainstorm.py
b38707cfb42d4678d00720be05d409a2f213f294
[ "MIT" ]
permissive
lucasosouza/oraclia-research
278dea4ec495dc09a81a7efff1a61330040df543
4ce6a7d8925c51b57bfeb4de988c1516ac6ff165
refs/heads/master
2021-08-07T15:57:33.199443
2017-12-27T00:15:28
2017-12-27T00:15:28
115,464,117
1
1
null
null
null
null
UTF-8
Python
false
false
2,092
py
class Operation(): def __init__(price, qty, start_date, end_date=None): self.price = price self.qty = qty self.start_date = start_date def close(self, end_date, sell_price): self.end_date = end_date self.gain_loss = self.price / sell_price class Operator...
[ "lucasosouza@gmail.com" ]
lucasosouza@gmail.com
10a8d9cdd05ba1369f449f84dee1f113b41cd4e6
f0d713996eb095bcdc701f3fab0a8110b8541cbb
/n2y4i74e9mFdwHNCi_8.py
c6c95b2f54aa43a20e43e25497f4c86b9a7b8c2d
[]
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
2,056
py
""" Write a **recursive** function that filters the items in a list (given as parameter `arr`) by **positional parity** (odd or even), given as parameter `par`, starting from the **opposite end**. Return a list of items on **odd positions** (... 5, 3, 1) or on **even positions** (... 6, 4, 2) and counting from the *...
[ "daniel.reich@danielreichs-MacBook-Pro.local" ]
daniel.reich@danielreichs-MacBook-Pro.local
35b24e7b643e8ec571a9666fb4d5335e5b3e500a
bf06bf980ef359615604d53567d1cc435a980b78
/data/HW3/hw3_179.py
86a2353e82b6c9b0afe685ef3f8eed90a7cd8b37
[]
no_license
am3030/IPT
dd22f5e104daa07a437efdf71fb58f55bcaf82d7
6851c19b2f25397f5d4079f66dbd19ba982245c5
refs/heads/master
2021-01-23T05:03:53.777868
2017-03-09T18:10:36
2017-03-09T18:10:36
86,270,526
0
0
null
2017-03-26T22:53:42
2017-03-26T22:53:42
null
UTF-8
Python
false
false
719
py
def main(): temp = float(input("Please enter the temperature: ")) scale = input("Please enter 'C' for Celsius or 'K' for Kelvin: ") if scale == "C": if temp <= 0.0: print("At this temperature, water is a solid.") if 0 < temp < 100: print("At this temperature, ...
[ "mneary1@umbc.edu" ]
mneary1@umbc.edu
3ee4b2ff116f73423edb8641c7ef6702172432bc
9743d5fd24822f79c156ad112229e25adb9ed6f6
/xai/brain/wordbase/adverbs/_fixedly.py
9c37bab441c866b17eb43aae0c0f5b0945e6eca1
[ "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
392
py
#calss header class _FIXEDLY(): def __init__(self,): self.name = "FIXEDLY" self.definitions = [u'to look continuously at one thing: '] self.parents = [] self.childen = [] self.properties = [] self.jsondata = {} self.specie = 'adverbs' def run(self, obj1, obj2): self.jsondata[obj2] = {} self....
[ "xingwang1991@gmail.com" ]
xingwang1991@gmail.com
3cfca752b43382042d3e83038b130bd906e61412
ca7aa979e7059467e158830b76673f5b77a0f5a3
/Python_codes/p03785/s500012192.py
3f7e1bd8e1fd19f666e864117a572f279f4e8b41
[]
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
366
py
n, c, k = map(int, input().split()) T = sorted([int(input()) for _ in range(n)]) limit = T[0] + k bus = [0] ans = 0 for t in T: if t <= limit: if bus[-1] < c: bus[-1] += 1 else: bus.append(1) limit = t + k else: limit = t + k ans += len(bus) ...
[ "66529651+Aastha2104@users.noreply.github.com" ]
66529651+Aastha2104@users.noreply.github.com
a14e80764b375ef3f007e79cf7b3cdf27097ac4b
5ccef2f68275a5324d78b5f4feeb9a92e839be9b
/manage.py
722b5c5ab70de16d1fb93255350d8294e75eb224
[ "MIT", "LicenseRef-scancode-unknown-license-reference" ]
permissive
PatrickNgare/NyumbaKumi
14ea8077bbe1775056a69fe201fc251be159854a
f9399aadd0f0aff36d9743bcb5f4add0a10c378d
refs/heads/master
2021-04-09T13:20:14.679878
2018-03-20T11:14:15
2018-03-20T11:14:15
125,506,891
0
1
null
null
null
null
UTF-8
Python
false
false
803
py
#!/usr/bin/env python import os import sys if __name__ == "__main__": os.environ.setdefault("DJANGO_SETTINGS_MODULE", "Watch.settings") try: from django.core.management import execute_from_command_line except ImportError: # The above import may fail for some other reason. Ensure that the ...
[ "patrickngare@gmail.com" ]
patrickngare@gmail.com
fa9bfc854cb354f8f0160f53b9e1a3b7b7044198
a4d2da29f28ba79b5408e74f83b723c0dbcf1b0b
/home_work_1_7/client.py
91f1287423d140fdc524a3d60f71af8397067f09
[]
no_license
AndreySperansky/CryptoChat
65e1dd36d58b1cb42535a51b1fa79c4203d1d795
f91db445c817a8cec026d1bc90c84e4fa189910f
refs/heads/main
2023-06-26T01:42:20.264184
2021-07-22T20:49:59
2021-07-22T20:49:59
388,574,272
2
0
null
null
null
null
UTF-8
Python
false
false
9,266
py
"""Программа-клиент""" import sys import json import time from socket import * import argparse import logging import logs.configs.config_client_log from common.variables import DEFAULT_PORT, DEFAULT_IP_ADDRESS, STATUS, \ ACTION, TIME, USER, ACCOUNT_NAME, SENDER, PRESENCE, RESPONSE, ERROR, MESSAGE, MESSAGE_TEXT fro...
[ "andrey.speransky@gmail.com" ]
andrey.speransky@gmail.com
cb6d247fe529b6321a79b9f2cc7a7e38e65a56fe
913e24ea110f839c73363bc1aac9673e561fa5f8
/gym_environments/widowx_env/envs/v40_widowx_pybullet_env_fixedGoal_actionStepCoeff25_noBounds_1joint_onTarget.py
620855b380bdc04c168adfffde4386f74c8fae2b
[ "MIT" ]
permissive
PierreExeter/WidowX-reacher
24e2b3f72e9aec24a9a61e6a8958c200e0dbe893
560c6779dc91a887191f344c43de24926ba75b4d
refs/heads/master
2023-03-06T13:48:12.810858
2021-02-22T15:36:52
2021-02-22T15:36:52
264,480,232
4
0
MIT
2021-02-22T15:27:44
2020-05-16T16:36:53
Python
UTF-8
Python
false
false
16,978
py
import gym from gym import error, spaces, utils from gym.utils import seeding from numbers import Number from collections import OrderedDict import pybullet as p import pybullet_data import os import numpy as np import random # ENVIRONMENT CONFIGURATION NEUTRAL_VALUES = [0.015339807878856412, -1.4839419194602816, ...
[ "pierre.aumjaud@gmail.com" ]
pierre.aumjaud@gmail.com
1e6128eab27954008302f0dc6fc9395522da3409
15e85b4d9527e7a87aded5b3c99ad9c785bca915
/datcore-sdk/python/datcore_sdk/api/discussions_api.py
ce1c2206daf756c2d76d74a4b6beaed030ea1ff6
[ "MIT" ]
permissive
mguidon/aiohttp-dsm
4161f9977d3dffbb727aa26cce4e9fb347aa4e21
612e4c7f6f73df7d6752269965c428fda0276191
refs/heads/master
2020-03-30T09:03:49.791406
2018-10-02T07:05:35
2018-10-02T07:05:35
151,058,427
0
0
null
null
null
null
UTF-8
Python
false
false
21,586
py
# coding: utf-8 """ Blackfynn Swagger Swagger documentation for the Blackfynn api # noqa: E501 OpenAPI spec version: 1.0.0 Generated by: https://openapi-generator.tech """ from __future__ import absolute_import import re # noqa: F401 # python 2 and python 3 compatibility library import six fro...
[ "guidon@itis.ethz.ch" ]
guidon@itis.ethz.ch
ac8153d0d52d9dc218589a1fdb94a03f88dc4acc
7214f8182d4610686890fcf8834a72d8702c00ca
/djtinue/admissions/views.py
b05b7082487f1a6a912921c67d52dea65d369f20
[ "Unlicense" ]
permissive
frederickney/django-djtinue
3e60d9f4892f9480407989dc0f5fb5ef1d0a24f6
b79ce210185348eb8483cd500f908961ef8e9cf8
refs/heads/master
2021-06-13T03:28:37.403783
2020-04-08T15:46:50
2020-04-08T15:46:50
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,859
py
from django.conf import settings from django.utils.timezone import localtime from django.utils.dateformat import DateFormat from django.shortcuts import render from django.core.urlresolvers import reverse_lazy from django.http import HttpResponseRedirect, Http404 from djtinue.admissions.forms import InfoRequestForm, S...
[ "plungerman@gmail.com" ]
plungerman@gmail.com
f75914430d9d3df7d2089c53ddfd782837a9f473
e18174a56f801e4daaa1fe76685e9e119b6c7652
/hamal/hamal/plugin/openstack.py
de08af657bd8b466d428ae7cfbf6e3fa47d4bd39
[ "MIT" ]
permissive
JackDan9/hamal
10ae45e14bfe6b27b31961e75ae0269c896089df
965be9db066209300c52f0cf17d251290d8901b7
refs/heads/master
2021-03-28T14:16:49.156503
2020-09-23T01:00:38
2020-09-23T01:00:38
247,869,364
3
0
null
null
null
null
UTF-8
Python
false
false
5,391
py
# Copyright 2020 Hamal, Inc. import time import calendar import urllib.parse from datetime import datetime from oslo_log import log as logging from hamal.plugin import nova from hamal.plugin import cinder from hamal.plugin import neutron from hamal.plugin import glance from hamal.exception import HttpException, Hama...
[ "1835812864@qq.com" ]
1835812864@qq.com
9a8e5804fcaf629767f81f2c0df869ce76512014
a6389f18e3c0dab96a31f324c548c471c20ea956
/lib/compaire.py
5f44eefef19c729f4c00898dbfcd8c2e181a471a
[]
no_license
vdsmirnov52/rnic_cgi
1c25097a99af0f5391749750176d3f9f14455fbd
1580eb642d4abcd568326074c77038364a0c9e52
refs/heads/master
2021-05-26T08:11:19.691676
2020-07-14T10:55:09
2020-07-14T10:55:09
128,034,555
0
1
null
null
null
null
UTF-8
Python
false
false
2,012
py
#!/usr/bin/python # -*- coding: UTF-8 -*- def canonize(source): stop_symbols = '.,!?:;-\n\r()"«»' stop_words = ('это', 'как', 'так', 'и', 'в', 'над', 'к', 'до', 'не', 'на', 'но', 'за', 'то', 'с', 'ли', 'а', 'во', 'от', 'со', 'для', 'о', 'же', 'ну', 'вы', 'бы', 'что', 'кто', 'он', 'она') return ( [x for x...
[ "vdsmitnov52@gmail.com" ]
vdsmitnov52@gmail.com
be86446797eeb41b95deae80dea9ada6e10e7c40
048d970d83519074993dbc948b058cccda48a893
/untitled6/testvideo/models.py
11c7116f565fbaf30fcf222cb1ffee23ca8b056d
[]
no_license
alingb/PycharmProjects
0669ec007779a3265a0026409a3b2aeb2dc5406f
9592454f4847da1618136e756fa641013e573889
refs/heads/master
2020-03-25T20:02:21.840945
2018-11-07T09:52:40
2018-11-07T09:52:40
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,936
py
# -*- coding: utf-8 -*- from __future__ import unicode_literals from django.db import models # Create your models here. class Video(models.Model): status_choice = ( (0, u'下线'), (1, u'上线'), ) level_choice = ( (1, u'初级'), (2, u'中级'), (3, u'高级'), ) status = m...
[ "375272990@qq.com" ]
375272990@qq.com
1ae4d5e657c3f7ae4c175c5121d8085a0cc3de79
768058e7f347231e06a28879922690c0b6870ed4
/venv/lib/python3.7/site-packages/numba/tests/test_random.py
c6e0209b0a86281e64398024d28dcfe1de62a6b6
[]
no_license
jciech/HeisenbergSpinChains
58b4238281d8c158b11c6c22dd0da82025fd7284
e43942bbd09f6675e7e2ff277f8930dc0518d08e
refs/heads/master
2022-12-18T08:04:08.052966
2020-09-29T12:55:00
2020-09-29T12:55:00
258,476,448
0
0
null
null
null
null
UTF-8
Python
false
false
54,734
py
import collections import functools import math import multiprocessing import os import random import subprocess import sys import threading import numpy as np import unittest from numba import jit, _helperlib from numba.core import types from numba.core.compiler import compile_isolated from numba.tests.support impor...
[ "jan@multiply.ai" ]
jan@multiply.ai
f871aee7d0724656649a329ca197e5f27b685399
b54426e98b723bcce4a87b7b4ddfe3af942be8e9
/desktop/lib/TableMixin.py
5accef7452973cf99b1d72beba1686d28b2437b1
[]
no_license
TakashiSasaki/MyCrawler
f5f097a59f662066679d3d6be3bd8eb42f024bf1
364ba735a6f635a5d96ec7779e236c9ec613f587
refs/heads/master
2021-01-20T09:01:45.238254
2012-06-09T04:54:22
2012-06-09T04:54:22
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,530
py
from config import * from sqlalchemy import Table class TableMixin(object): @classmethod def getTable(cls): assert isinstance(cls.__tablename__, str) table = cls.getMetadata().tables[cls.__tablename__] assert isinstance(table, Table) return table @classmethod def e...
[ "takashi316@gmail.com" ]
takashi316@gmail.com
6c0ba6e7b60348c4252ff573151bdd261920881a
705c2cf0ae1f38efb2340a056b0e78f89f83ec5e
/astro/data/muse/flux_analysis/5_chemicalFitting.py
000ff3f60f95220a4920b7684516c7c3cf3c9980
[]
no_license
Vital-Fernandez/vital_tests
42fad619841d4b57c5ab419e6f58eef523ff8566
ee8dbc9c09e433f91e78f9ea16977a9e5a44be6c
refs/heads/master
2023-09-01T21:27:32.160440
2023-08-21T20:51:59
2023-08-21T20:51:59
235,336,802
0
1
null
2022-10-19T08:52:42
2020-01-21T12:24:57
Python
UTF-8
Python
false
false
7,928
py
import numpy as np import src.specsiser as sr from pathlib import Path from astro.data.muse.common_methods import voxel_security_check, fits_db from timeit import default_timer as timer from astropy.table import Table from astropy.io import fits from matplotlib import pyplot as plt, rcParams, cm, colors from astropy.wc...
[ "vital.fernandez@gmail.com" ]
vital.fernandez@gmail.com
0f469de7747564d0567b8e29c32bd2aac9761245
440b9bc8782313550413acf1c246008d4631e311
/scripts/scepia
43d7f3f09af1d5403d51b9890458319d1d91f48e
[ "MIT" ]
permissive
vanheeringen-lab/scepia
e9fba1a108c82394b722008588cc511e517d54bf
546fa5e6e7585e867407b1108b8fcccdead6d1aa
refs/heads/master
2023-08-16T21:34:39.973819
2021-06-02T12:02:38
2021-06-02T12:02:38
191,351,521
21
2
MIT
2023-08-24T07:54:46
2019-06-11T10:47:08
Jupyter Notebook
UTF-8
Python
false
false
604
#!/usr/bin/env python from argparse import ArgumentParser from area27 import generate_signal, link_it_up p = ArgumentParser() p.add_argument("bamfile", metavar="BAMFILE", help="BAM file") p.add_argument("outfile", metavar="OUTFILE", help="Output file") p.add_argument("...
[ "simon.vanheeringen@gmail.com" ]
simon.vanheeringen@gmail.com
701ed71c5f929333f62e83fbcf127f010044f721
30ef63a36694b0a313a66215226339bf99c5a9b9
/google/cloud/aiplatform/v1/schema/trainingjob/definition_v1/types/automl_video_classification.py
ba7f2d5b217360b232be5b60c46d4857db85fcf2
[ "Apache-2.0" ]
permissive
Tryweirder/python-aiplatform
9b698a3acc8a6b0b512e2458d9fd64b3f2491a50
24d6920a530995a3a5c6ad6b25d0b867f7aebe27
refs/heads/master
2023-04-16T11:57:27.689008
2021-05-03T20:30:40
2021-05-03T20:30:40
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,769
py
# -*- coding: utf-8 -*- # Copyright 2020 Google LLC # # 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 o...
[ "noreply@github.com" ]
Tryweirder.noreply@github.com
538e7f6c73bcce849ed367acf8ddf8a2811d17dc
b705fdfac862646f91264a89f7378e100c48fc0e
/SERR_UNet_Retinal_Vessel_Segmentation/experiments/pre_process/standard_loader.py
7afca9facd4a8a8f008f7bb5ca5719eb969e08d8
[]
no_license
yiyg510/SERR-U-Net-Retinal-Vessel-Segmentation
de6710c753172d4d5c8f70c5f97b28604bb9deab
a6a09e101c0089b665a91e0066849d605a54dafb
refs/heads/main
2023-04-13T02:08:00.475598
2021-04-28T08:11:39
2021-04-28T08:11:39
null
0
0
null
null
null
null
UTF-8
Python
false
false
3,959
py
""" Copyright (c) 2020. All rights reserved. Created by lixiang on 2020/5/10 """ import glob,cv2,numpy as np import matplotlib.pyplot as plt from template.bases.data_loader_base import DataLoaderBase from conf.utils.utils import write_hdf5,load_hdf5 class DataLoader(DataLoaderBase): def __init__(self, config=None): ...
[ "54010254+lixiang007666@users.noreply.github.com" ]
54010254+lixiang007666@users.noreply.github.com
8ef68e045cb9966c1f8c9c63f0d3a635ce045aa3
350ecc8259bcad075bd376423335bb41cc8a533e
/markup.py
11902a3756bc6297a79f8add6ddbe21a5ca2ae1e
[]
no_license
CodedQuen/python_begin
39da66ecc4a77b94a5afbbf0900727c8156b85e1
1433c319b5d85520c50aee00dd4b6f21a7e6366a
refs/heads/master
2022-06-10T10:30:28.807874
2020-04-25T03:34:03
2020-04-25T03:34:03
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,624
py
import sys, re from handlers import * from util import * from rules import * class Parser: """ A Parser reads a text file, applying rules and controlling a handler. """ def __init__(self, handler): self.handler = handler self.rules = [] self.filters = [] de...
[ "noreply@github.com" ]
CodedQuen.noreply@github.com
ad5875d2b4aea6257ea80f01a23ab7bb247cc265
70b24331dbffaf739df182254ad3e1071811110b
/example.py
9decbb64858520d1a21bebc4fa7d0383fdd9a0c3
[]
no_license
AWAlexWeber/grav-dungeon-gen
b973f11894b2d35467e129131bfdb8388cc08dfd
4b8cd21a8394493ef4316eca8914991592ceb4df
refs/heads/main
2022-12-30T13:06:21.478528
2020-10-15T06:25:54
2020-10-15T06:25:54
303,842,144
0
0
null
null
null
null
UTF-8
Python
false
false
164
py
from main import * dg = DungeonGenerator("seed", Dimension2D(0,0,10,10)) rooms = dg.generateDungeon([RoomTemplate(10,10),RoomTemplate(20,20)], 50) dg.render(rooms)
[ "awalexweber99@gmail.com" ]
awalexweber99@gmail.com
cdb66c6fac1b22d005a29f60ecb62bf9a6aaad4d
aee7a6cca6a2674f044d7a1cacf7c72d7438b8b1
/cup_skills/stats/average_rewardgp_ucb_pretrain_6.py
77cca58cb0fdbe6c79bbf994f2cd7749eb535d74
[]
no_license
lagrassa/rl-erase
efd302526504c1157fa5810e886caccba8570f1b
0df5c8ce4835c4641a2303d11095e9c27307f754
refs/heads/master
2021-05-13T13:36:12.901945
2019-08-01T02:13:15
2019-08-01T02:13:15
116,709,555
1
2
null
null
null
null
UTF-8
Python
false
false
1,646
py
50.90909090909091,50.90909090909091,29.09090909090909,45.45454545454545,49.09090909090909,50.0,49.09090909090909,44.54545454545455,50.0,36.36363636363637,51.81818181818182,52.72727272727272,47.27272727272727,50.90909090909091,48.18181818181818,50.90909090909091,47.27272727272727,37.27272727272727,45.45454545454545,51.8...
[ "lagrassa@mit.edu" ]
lagrassa@mit.edu
671bb3060ea1e86a051996fea2f16cf9fb33b77e
cd3f1eb377e9c865fbda636f6ca2b393b4ddc9a3
/scrapy/contrib/pipeline/fileexport.py
d20b83c2a02a756dc824235f8f853976de30c178
[ "BSD-3-Clause" ]
permissive
serkanh/scrapy
210375f0a81be495865e6a6a5e57c41b368ded4b
bbef0fe870e1249a108ea1187f793de39c2e5bbd
refs/heads/master
2020-12-25T10:23:55.258768
2010-02-20T13:12:37
2010-02-20T13:12:37
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,996
py
""" File Export Pipeline See documentation in docs/topics/item-pipeline.rst """ from scrapy.xlib.pydispatch import dispatcher from scrapy.core import signals from scrapy.core.exceptions import NotConfigured from scrapy.contrib import exporter from scrapy.conf import settings class FileExportPipeline(object): de...
[ "pablo@pablohoffman.com" ]
pablo@pablohoffman.com
50b55aee76aee4e4e4612103023b859e1620e0c6
48a45a08ae19cf0f2866a474b8d6445a73923613
/src/collective/generic/skel/addon/tmpl/+namespace++ndot++nested_namespace++nsdot++project_name+/src/+namespace+/+nested_namespace+/+project_name+/browser/migrate.py_tmpl
758f9a43351d250d536b5e7abd41754ba2b1e4d2
[ "BSD-3-Clause" ]
permissive
collective/collective.generic.skel
ffe5ef21c62660e74c068254cf32b5b6a583b6dc
911185561d6fa3dd13f4439f63af31d77b49b2e0
refs/heads/master
2023-03-22T10:39:01.265566
2016-01-06T10:28:54
2016-01-06T10:28:54
1,222,373
0
1
NOASSERTION
2023-02-14T22:03:40
2011-01-05T09:40:56
CSS
UTF-8
Python
false
false
31,028
#!/usr/bin/env python # -*- coding: utf-8 -*- __docformat__ = 'restructuredtext en' import datetime import re import json import traceback import hashlib import time import subprocess import threading from zope.interface import alsoProvides from zope import interface from zope.annotation.interfaces import IAnnotation...
[ "kiorky@cryptelium.net" ]
kiorky@cryptelium.net
c910adee07817f041e3af6f76840dc9b7244316b
77311ad9622a7d8b88707d7cee3f44de7c8860cb
/res/scripts/client/tutorial/control/offbattle/triggers.py
20fd19f8419ac6e595f9307298f6204c1f3d0318
[]
no_license
webiumsk/WOT-0.9.14-CT
9b193191505a4560df4e872e022eebf59308057e
cfe0b03e511d02c36ce185f308eb48f13ecc05ca
refs/heads/master
2021-01-10T02:14:10.830715
2016-02-14T11:59:59
2016-02-14T11:59:59
51,606,676
0
0
null
null
null
null
WINDOWS-1250
Python
false
false
3,810
py
# 2016.02.14 12:43:23 Střední Evropa (běžný čas) # Embedded file name: scripts/client/tutorial/control/offbattle/triggers.py from constants import QUEUE_TYPE from gui.ClientUpdateManager import g_clientUpdateManager from gui.prb_control.prb_helpers import GlobalListener from tutorial import LOG_ERROR from tutorial.cont...
[ "info@webium.sk" ]
info@webium.sk
b8045e309efe434e34d12953022448e550c268ae
0c65eead5b7076e042c1c4800ece7e61e99f2ba7
/python/project/test/Test2.py
3e09dda46054b724a4cb1a035f44d8278f72c026
[]
no_license
LeeSM0518/TIL
3826a432b73945ebea302eef6429a93b6baa1f4f
463d7e056b0083047f3e33d705d77f014947f982
refs/heads/master
2021-06-28T07:26:20.215835
2020-09-25T14:16:00
2020-09-25T14:16:00
149,553,733
3
3
null
2019-02-14T13:16:25
2018-09-20T05:00:06
Java
UTF-8
Python
false
false
315
py
from urllib.request import urlopen from bs4 import BeautifulSoup import ssl context = ssl._create_unverified_context() result = urlopen("https://www.hanbat.ac.kr/html/kr/cyber/cyber_02_01.html", context=context) bsObj = BeautifulSoup(result.read(), "html.parser") for tag in bsObj.findAll("tbody"): print(tag)
[ "nalsm98@naver.com" ]
nalsm98@naver.com
d2fb253c63d6c3936958d1edbd9d1ab80e6c9e31
c39e19e8fada4df5bf8999f93a470fc5db0b8ea7
/tensorflow/python/keras/layers/recurrent_v2_test.py
2d45e64e382befdbc3cb714f3c496f47266bd924
[ "Apache-2.0" ]
permissive
ivomarb/tensorflow
6bb05bc6dbaa8e59b43d00a8216bb0b8cb766080
df2fbb89588065fca2c6e5fcfba7d8c2b4378591
refs/heads/master
2020-06-26T05:03:06.321649
2019-07-29T20:30:03
2019-07-29T21:40:30
199,530,704
1
0
Apache-2.0
2019-07-29T21:45:39
2019-07-29T21:45:38
null
UTF-8
Python
false
false
4,210
py
# Copyright 2019 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applica...
[ "gardener@tensorflow.org" ]
gardener@tensorflow.org
9df9b4a5830a946c98bd721deb14ca0ed4129a3a
19cec240505e27546cb9b10104ecb16cc2454702
/linux/app/web/python/wikicode/poke/poke/views.py
5338d0d36180860a749f487361bf373f58aa8b10
[]
no_license
imosts/flume
1a9b746c5f080c826c1f316a8008d8ea1b145a89
a17b987c5adaa13befb0fd74ac400c8edbe62ef5
refs/heads/master
2021-01-10T09:43:03.931167
2016-03-09T12:09:53
2016-03-09T12:09:53
53,101,798
0
0
null
null
null
null
UTF-8
Python
false
false
2,851
py
import flume, datetime, sys import flume.flmos as flmo from wikicode import get_uid, cond_exec, PYTHON, request_uri from wikicode.prepare import is_prepare, prepare_stags from wikicode.db.user import User as W5User from django.shortcuts import render_to_response from django.http import HttpResponse, HttpResponseRedirec...
[ "imosts" ]
imosts
007b3c1a43ecc9a9117a25d64756b96a5b37b278
a95923cf8f52646eccf5ff8f496053dcacdfad7d
/OOP concepts/OOP.vector.py
a407355dd33d485f4e3671d54d0b052cdece34d6
[]
no_license
jaindhairyahere/Python_DSA
1ffa1a2496e3c5e6b95487060fd08c435991d0b1
daadddfa998ccefb44eee65e0eb1e9297c543b61
refs/heads/master
2020-06-12T20:18:52.680726
2019-07-12T23:03:28
2019-07-12T23:03:28
194,413,573
0
0
null
null
null
null
UTF-8
Python
false
false
1,882
py
class Vector: def __init__(self,d): self._coords=[] if type(self._coords)==type(d): ''' to pass Vector(sequence)''' self._coords=d elif type(d)==type(1): ''' to pass Vector(length)''' self._coords = [0]*d def __len__(self): '''to use len(V)''' return len(self._coords) def __getitem__(self,j): ...
[ "jaindhairya2001@gmail.com" ]
jaindhairya2001@gmail.com
2a3d36e2297e6d20e7b9352e954a396672b4c01a
c8140d1124174e771aa2344ddcf7a163ed02e859
/app/blog/urls.py
0b0410599281fa6dbe94dc070a78b24e777d7d1b
[]
no_license
Ryanden/Django-girs
0918e3298d198daf1c34f35f12cbf81ea08a7014
6dcc567ce5e4b2882d93355f3474452d38e1f4e8
refs/heads/master
2021-11-16T11:00:33.047165
2020-07-22T07:34:33
2020-07-22T07:34:33
135,655,221
0
0
null
2021-09-22T17:45:34
2018-06-01T01:59:52
Python
UTF-8
Python
false
false
679
py
from django.conf.urls import url from .views import post_list, post_detail, post_create, post_delete # Browser -> request -> Django -> config.urls -> blog.urls -> r'^$'에 매칭 -> # df post_list -> return 값을 다시 Browser urlpatterns = [ # url 의 첫번째 인자 URL 정규표현식 # url 의 두번째 인자 view function # view_function ...
[ "lockstom@gmail.com" ]
lockstom@gmail.com
b38d7f4074d4910e7fe06215dd82526720dc5ee1
33b38f9a3622a9e848804ed76b775fca5cbdfa18
/quantizedVDT/datasets/cremi.py
b57349512f64fad538f90191012e5dabfdede25b
[]
no_license
abailoni/quantized_vector_DT
1fd0735bdcd43778ed267623baa7ecfb6774ea2e
eb67a3aafebd1a9c290e9288013e2153f04b9705
refs/heads/master
2020-04-27T01:08:55.690574
2019-09-17T11:06:34
2019-09-17T11:06:34
173,956,981
0
1
null
null
null
null
UTF-8
Python
false
false
7,609
py
from copy import deepcopy from inferno.io.core import ZipReject, Concatenate from inferno.io.transform import Compose from inferno.io.transform.generic import AsTorchBatch from inferno.io.transform.volume import RandomFlip3D, VolumeAsymmetricCrop from inferno.io.transform.image import RandomRotate, ElasticTransform fr...
[ "bailoni.alberto@gmail.com" ]
bailoni.alberto@gmail.com
6f08c865586067eebfd2ef6047ebcb9cb3689490
fe19d2fac4580d463132e61509bd6e3cc2cf958d
/toontown/uberdog/DistributedDeliveryManager.py
3948447ef05ee56a0b4b36f6a4bf6e5e619ec520
[]
no_license
t00nt0wn1dk/c0d3
3e6db6dd42c3aa36ad77709cf9016176a3f3a44f
7de105d7f3de0f8704b020e32fd063ee2fad8d0d
refs/heads/master
2021-01-01T16:00:15.367822
2015-03-21T21:25:52
2015-03-21T21:25:55
32,647,654
3
5
null
null
null
null
UTF-8
Python
false
false
1,072
py
# 2013.08.22 22:26:55 Pacific Daylight Time # Embedded file name: toontown.uberdog.DistributedDeliveryManager from pandac.PandaModules import * from direct.distributed.DistributedObject import DistributedObject from toontown.catalog import CatalogItemList from toontown.catalog import CatalogItem class DistributedDeliv...
[ "anonymoustoontown@gmail.com" ]
anonymoustoontown@gmail.com
351da12135cfd9e174c5da96dc0c7a8515b84d85
91cb0a7bac16f470d38eba6b7fa8942e6ee2ea32
/utf-decode.py
64b43462e311968adbdd37fdf40f6841a41535fe
[]
no_license
MarkHofstetter/python-20180423
90fe771716d7a5bb3711487d242309bedcce681f
b31c9c2074b8ce0d2e157665fd6f7c8cb2d8cf04
refs/heads/master
2020-03-12T15:09:54.151313
2018-04-27T13:44:34
2018-04-27T13:44:34
130,684,310
0
0
null
null
null
null
UTF-8
Python
false
false
196
py
from pprint import pprint text = 'öö€€€' print(type(text)) text2 = bytes(text, 'utf-8') bla = bytearray(text2) pprint(bla) print(len(text), len(text2)) print(type(text2)) print(text)
[ "mark@hofstetter.at" ]
mark@hofstetter.at
4f10eacdfed9058cb35de93f237b642dbae75896
d61810cde2db7a75cb2c9e129090d9d348da0b56
/core/urls.py
c30cd99626b13e1d04ee9a543d4e8ced6f4530ae
[]
no_license
Gcunhaa/upbot-ips
5a4db31bca026780f9ecf5fdcf5e211ae656c4aa
ebf59a419b97dafa02bb004e37f8f60a511e6e2f
refs/heads/master
2023-01-14T01:00:48.375358
2020-11-13T14:32:31
2020-11-13T14:32:31
306,718,025
0
0
null
null
null
null
UTF-8
Python
false
false
196
py
from enum import Enum """ Classe que carrega os principais links utilizados no serviço. """ class Urls(Enum): global_url = 'https://gamersboard.com.br' login = f'{global_url}/login/'
[ "gsalomaoc@gmail.com" ]
gsalomaoc@gmail.com
d9ca7186d29e441edd0b8ae8ed7f1fbd31be94fb
de24f83a5e3768a2638ebcf13cbe717e75740168
/moodledata/vpl_data/46/usersdata/88/18088/submittedfiles/funcoes1.py
3d158588859917766e6a1e7b8a6d10fdf4869a4c
[]
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
759
py
# -*- coding: utf-8 -*- from __future__ import division def crescente (lista): cont=0 for i in range(0,len(lista),1): if a[i]>a[i-1]: cont=cont+1 if cont>0: return True else: return False #escreva as demais funções #escreva o programa principal n=input('Digote a ...
[ "rafael.mota@ufca.edu.br" ]
rafael.mota@ufca.edu.br
0b84d89174c4b2afba861af79288bacdf50a11a8
4580dcd5eeb99b88716721625e243f888ddbca08
/src/Ch04/print_default_param.py
b2ee6600af133ab2531326d7fcfa6899e385f4c0
[]
no_license
dongupak/Prime-Python
c9c7a211e61f06fe518719b499b01eeb34c1e827
767cc9cb9f47fda5efa78776c1d1aa68b43dc6c4
refs/heads/master
2022-02-08T13:10:06.797737
2022-01-18T02:01:29
2022-01-18T02:01:29
224,655,276
23
23
null
2020-07-30T05:06:33
2019-11-28T13:05:28
Jupyter Notebook
UTF-8
Python
false
false
299
py
# 코드 4-19 : 디폴트 값을 가지는 print_star() 함수 ## "으뜸 파이썬", p. 221 def print_star(n = 1): # 매개변수 n은 디폴트 값 1을 가짐 for _ in range(n): print('************************') print_star() # 인자가 없더라도 에러없이 수행됨
[ "dongupak@gmail.com" ]
dongupak@gmail.com
72c0f6c61f8b537bdf868b3fdf09041d85229801
412b699e0f497ac03d6618fe349f4469646c6f2d
/env/lib/python3.8/site-packages/web3/_utils/decorators.py
63e14d9506ce9e38fdbd2d65d4d9c8cab70d52e2
[ "MIT" ]
permissive
EtienneBrJ/Portfolio
7c70573f02a5779f9070d6d9df58d460828176e3
6b8d8cf9622eadef47bd10690c1bf1e7fd892bfd
refs/heads/main
2023-09-03T15:03:43.698518
2021-11-04T01:02:33
2021-11-04T01:02:33
411,076,325
1
0
MIT
2021-10-31T13:43:09
2021-09-27T23:48:59
HTML
UTF-8
Python
false
false
1,723
py
import functools import threading from typing import ( Any, Callable, TypeVar, cast, ) import warnings TFunc = TypeVar("TFunc", bound=Callable[..., Any]) def reject_recursive_repeats(to_wrap: Callable[..., Any]) -> Callable[..., Any]: """ Prevent simple cycles by returning None when called re...
[ "etiennebrxv@gmail.com" ]
etiennebrxv@gmail.com
b783ee7dc1078e755bb299698a5998fe9847f892
181af10fcf40b824fe92d3b8f72fd15d6d1490c2
/Contests/301-400/week 330/2551. Put Marbles in Bags/Put Marbles in Bags.py
7446fa4c8fcca147b177ac4777b6957d2ef893d1
[]
no_license
wangyendt/LeetCode
402c59a0b7b7f5b3a672231ea5dad8056ade36af
4a3ba15284c45b2d8bf38306c8c8526ae174615c
refs/heads/master
2023-08-10T06:27:54.995152
2023-08-10T02:22:27
2023-08-10T02:22:27
176,651,399
6
0
null
null
null
null
UTF-8
Python
false
false
655
py
""" @author: wangye(Wayne) @license: Apache Licence @file: Put Marbles in Bags.py @time: 20230131 @contact: wang121ye@hotmail.com @site: wangyendt@github.com @software: PyCharm # code is far away from bugs. """ from typing import * class Solution: def putMarbles(self, weights: List[int], k: int) -> int: ...
[ "905317742@qq.com" ]
905317742@qq.com
1444d86536370ab7618f6439081039d4af11214e
dae2da1b80124ba6923cb1674033208af01e031f
/problems/202004/boj-7568-dungchi.py
2ac026cf13756569d50fcd1bc1644f5665405ebe
[]
no_license
MaxKim-J/Algo
ad09fa19da3e764ba7af18d015bbaa186643f7fb
34771c45361db4aade4c364179e13708c5004b3a
refs/heads/master
2023-01-08T00:49:11.479545
2022-12-26T15:45:35
2022-12-26T15:48:52
237,583,281
4
3
null
null
null
null
UTF-8
Python
false
false
888
py
# 백준 7568번 덩치 # https://www.acmicpc.net/problem/7568 # 시간 : 26분 # 경과 : 맞았습니다(60ms) data_num = int(input()) result = [] fig_arr = [] for i in range(data_num): figure = tuple(map(int, input().split())) fig_arr.append(figure) for fig in fig_arr: count = 1 new_arr = list(filter(lambda x: x != fig, fig_...
[ "hwaseen@gmail.com" ]
hwaseen@gmail.com
cea6b2f9e586459a99c8601534186872e4069664
559e336386e02c0e5ebc7316424c3b4a41380d99
/datamining/machine_learning_py_scripts/classifiers_ipynb2py/Image_Classification_with_Keras.ipynb.py
c30b90fcbccf0fafe44f27d9d35e3ba9367e91e3
[]
no_license
maranemil/howto
edf1e294544ef6980894dcd345d73160d8aa9620
f6270ed0affcdbd899dd8a2ff9b0b98625e63a5a
refs/heads/master
2023-09-05T03:02:18.526914
2023-09-04T11:27:52
2023-09-04T11:27:52
22,177,757
48
26
null
2022-10-17T19:43:31
2014-07-23T21:04:50
Python
UTF-8
Python
false
false
4,103
py
# coding: utf-8 # # Image Classification with Keras # We will take a pre-trained deep neural network classifier, set to classify 1,000 images and experiment with feeding it a few images of our own. # # The main package used here is Keras with a tensorflow backend. # # Tensorflow is an extremely popular open sour...
[ "maran.emil@gmail.com" ]
maran.emil@gmail.com
53cedbed869bb45959288331b6bf5d589d56ff62
6c9aaa9b55f83f82c264bbf0b5bc7faacd1dd3ba
/elbow/models/neural.py
e030d4299cdeefb571e92cab0a9ba6e85fbc517d
[ "BSD-3-Clause" ]
permissive
aporia3517/elbow
343b384d0320d5121871ff1945af2f9cce0acf90
bceebadabe3b2beed60b789825b6ebfc5271f3f7
refs/heads/master
2021-01-11T06:52:22.057894
2016-10-03T07:45:00
2016-10-03T07:45:00
null
0
0
null
null
null
null
UTF-8
Python
false
false
5,002
py
import numpy as np import tensorflow as tf import elbow.util as util from elbow.structure import unpackRV from elbow.conditional_dist import ConditionalDistribution from elbow.elementary import Gaussian,BernoulliMatrix def layer(inp, w, b): if len(inp.get_shape()) == 2: return tf.matmul(inp, w) + b ...
[ "dmoore@cs.berkeley.edu" ]
dmoore@cs.berkeley.edu
3dab5c8a1794744e33067d53f25624491926546e
93fe57c69c7f283decfee506f30d2a68d257ee1b
/oatomobile/torch/networks/mlp.py
4790b6bee56ed0ae79ef1d1290bce7958f244dcc
[ "Apache-2.0" ]
permissive
OATML/oatomobile
a87071fc62a53bdaa1bb3682861e8d9245facaa4
1680aee77a53228412f9bab34068f0a9576c58e3
refs/heads/alpha
2023-07-25T18:26:49.924987
2021-06-04T14:03:08
2021-06-04T14:03:08
272,983,534
177
40
Apache-2.0
2023-07-06T22:00:12
2020-06-17T13:37:40
Python
UTF-8
Python
false
false
2,513
py
# Copyright 2020 The OATomobile Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applica...
[ "filos.angel@gmail.com" ]
filos.angel@gmail.com
d7518ffd225c8ae8d3af6c00a452a52f99db94b0
8051c8863119bc2b5e5b3107ce9c47ab12616e63
/Python/SWEA/SWEA_3378.py
9e3e59682108b33fcc92a6ec02b074cefcde2a2e
[]
no_license
Sunghwan-DS/TIL
c01f6f4c84f3e2d85e16893bbe95c7f1b6270c77
6d29f6451f9b17bc0acc67de0e520f912dd0fa74
refs/heads/master
2021-07-11T16:23:58.077011
2021-03-12T02:28:26
2021-03-12T02:28:26
234,990,431
0
0
null
null
null
null
UTF-8
Python
false
false
1,616
py
def check(c): global s, m, b if c == '(': s += 1 elif c == ')': s -= 1 elif c == '{': m += 1 elif c == '}': m -= 1 elif c == '[': b += 1 elif c == ']': b -= 1 for tc in range(1, int(input()) + 1): p, q = map(int,input().split()) s, m,...
[ "jeonsung02@gmail.com" ]
jeonsung02@gmail.com
99b25ed9e16c4b6dd3e137bf3e1db8e5ebf62dfa
783a045daffd4a8ae83bef818495b184094e8483
/fancy_tests/tests/settings.py
20520e12ede116125f511975420e3460573e6092
[ "BSD-3-Clause", "BSD-2-Clause" ]
permissive
skorokithakis/django-fancy-cache
41f1794b7071010277104006c1b8e8965d46fdf7
a31d0c743cb9a8f3fc24b45cd0a0b61c13bdd970
refs/heads/master
2020-12-25T00:20:16.601885
2015-08-11T10:14:25
2015-08-11T10:14:25
39,799,845
0
0
null
2015-07-27T21:56:00
2015-07-27T21:55:59
Python
UTF-8
Python
false
false
1,054
py
import os BASE_DIR = os.path.dirname(os.path.dirname(__file__)) SECRET_KEY = 'anything' ALLOWED_HOSTS = () DATABASES = { 'default': { 'NAME': ':memory:', 'ENGINE': 'django.db.backends.sqlite3', } } CACHES = { 'default': { 'BACKEND': 'django.core.cache.backends.locmem.LocMemCache'...
[ "mail@peterbe.com" ]
mail@peterbe.com
3f88337963ed9d578f63d1811f6ad892a43cc9db
8dc84558f0058d90dfc4955e905dab1b22d12c08
/mojo/public/tools/bindings/pylib/mojom/generate/translate.py
94fe2a6a523e34be3e10276ec8b72d7f896f7d2b
[ "BSD-3-Clause", "LicenseRef-scancode-unknown-license-reference" ]
permissive
meniossin/src
42a95cc6c4a9c71d43d62bc4311224ca1fd61e03
44f73f7e76119e5ab415d4593ac66485e65d700a
refs/heads/master
2022-12-16T20:17:03.747113
2020-09-03T10:43:12
2020-09-03T10:43:12
263,710,168
1
0
BSD-3-Clause
2020-05-13T18:20:09
2020-05-13T18:20:08
null
UTF-8
Python
false
false
22,353
py
# Copyright 2013 The Chromium Authors. All rights reserved. # Use of this source code is governed by a BSD-style license that can be # found in the LICENSE file. """Convert parse tree to AST. This module converts the parse tree to the AST we use for code generation. The main entry point is OrderedModule, which gets p...
[ "arnaud@geometry.ee" ]
arnaud@geometry.ee
e5e265b8595886c505499f53890530c77d1a77ab
0ea91e3c52c2f93eef8b916dea273567987fa738
/tests/views/test_main_short.py
e2794b4d9a1ada0585b433ec561d67060bd4beb5
[ "MIT" ]
permissive
spookey/shorter
df30671bf3eb1229780d1fb4016ad77d693e55cc
f190c3a33896fa654b368d375b27aad4075340dd
refs/heads/main
2023-08-20T09:05:06.426027
2023-05-20T11:30:42
2023-05-20T11:30:42
183,830,765
1
0
MIT
2023-05-20T11:40:10
2019-04-27T23:26:27
Python
UTF-8
Python
false
false
1,741
py
from random import choice from flask import url_for from pytest import fixture, mark from shorter.models.short import Short from shorter.start.environment import SYM_MINI, SYM_POOL ENDPOINT = "main.short" @fixture( params=[ "applebot", "baiduspider", "bingbot", "duckduckbot", ...
[ "frieder.griesshammer@der-beweis.de" ]
frieder.griesshammer@der-beweis.de
0cea87dc73e86af10780f1a5f70d07f46fbc2617
163bbb4e0920dedd5941e3edfb2d8706ba75627d
/Code/CodeRecords/2361/58586/245416.py
4b38dfa275a0df06751233faf9288396f8d618df
[]
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
788
py
arr=list(map(int,input().split(","))) temp=[] res=[0] used=[] def is_valid(num1,num2): temp=pow(num1+num2,0.5) return temp==int(temp) def dfs(arr,pre,temp,res,used): if len(arr)==len(temp): res[0]+=1 return for i in range(0,len(arr)): if len(temp)>0: if not is_valid(p...
[ "1069583789@qq.com" ]
1069583789@qq.com
6c260ebb698e31301a90927dddb5466799476bdd
b3214ea6bd32b6a36d0b820f6651141716eaa244
/p45.py
e55d24bde0d1ab1988b6efc8833e028e40d1dd4d
[]
no_license
vishalagrawalit/project_euler
dd52886c29ab59a35cbf623d9db152fcaec62b7c
10c56d2ab059698ec846e8850faee3d589db7472
refs/heads/master
2022-01-05T13:01:04.624407
2018-08-29T07:27:16
2018-08-29T07:27:16
null
0
0
null
null
null
null
UTF-8
Python
false
false
443
py
first = [1, 210, 40755, 7906276, 1533776805, 297544793910, 57722156241751] second = [1, 40755, 1533776805, 57722156241751] arr = list(map(int, input().split())) if arr[1]==3: count = 0 for i in first: if i < arr[0]: count+=1 for i in range(count): print(first[i]) else: coun...
[ "vishvishu14@gmail.com" ]
vishvishu14@gmail.com
aeca2ae6b52a7c0b81d52bc75001f0380daa4148
f1cb02057956e12c352a8df4ad935d56cb2426d5
/LeetCode/546. Remove Boxes/Solution.py
118d80dd1d133c281047dd04dabae733f12d4d68
[]
no_license
nhatsmrt/AlgorithmPractice
191a6d816d98342d723e2ab740e9a7ac7beac4ac
f27ba208b97ed2d92b4c059848cc60f6b90ce75e
refs/heads/master
2023-06-10T18:28:45.876046
2023-05-26T07:46:42
2023-05-26T07:47:10
147,932,664
15
2
null
null
null
null
UTF-8
Python
false
false
1,655
py
class Solution: def removeBoxes(self, boxes: List[int]) -> int: # Time Complexity: O(N^4) # Space Complexity: O(N^3) condensed_boxes = [] start = 0 for i, col in enumerate(boxes): if col != boxes[start]: condensed_boxes.append((boxes[start], i - ...
[ "nphamcs@gmail.com" ]
nphamcs@gmail.com
0c98771216ca2f91e755304e5bc8ec72f8f160a5
41ba51382a3d767d997ac4fb63cd5d3d067e2913
/backend/unknow_24453/urls.py
d742ae3761dc53954fda623216492a427dc4c995
[]
no_license
crowdbotics-apps/unknow-24453
9a926ec15dcc116e6f67bbec49babfd612999651
a85b478b35ad4ae7657e958fd1efc4904739ffcd
refs/heads/master
2023-03-01T14:46:01.435906
2021-02-11T17:19:48
2021-02-11T17:19:48
338,097,038
0
0
null
null
null
null
UTF-8
Python
false
false
1,955
py
"""unknow_24453 URL Configuration The `urlpatterns` list routes URLs to views. For more information please see: https://docs.djangoproject.com/en/2.2/topics/http/urls/ Examples: Function views 1. Add an import: from my_app import views 2. Add a URL to urlpatterns: path('', views.home, name='home') Class-...
[ "team@crowdbotics.com" ]
team@crowdbotics.com
3790c12ea9abd69f463d5de5842a228fcff66683
b2f9f6878c6b3ed4e7a333438efd4583cb37d391
/amplify/ext/phpfpm/managers/pool.py
ecf93be6dc732e3d5624d0b240cc96cd9c4639e5
[ "BSD-2-Clause" ]
permissive
centminmod/nginx-amplify-agent
1cdec9cccea87575b60dbfb18ac52dcb798f498b
e91fb449deff162388f65502a36118ada57b99be
refs/heads/master
2020-06-28T01:35:14.562083
2017-06-13T21:10:54
2017-06-13T21:10:54
94,257,979
0
0
null
2017-06-13T21:07:20
2017-06-13T21:07:20
null
UTF-8
Python
false
false
3,239
py
# -*- coding: utf-8 -*- import psutil from amplify.agent.common.context import context from amplify.agent.managers.abstract import ObjectManager from amplify.agent.data.eventd import INFO from amplify.ext.phpfpm.objects.pool import PHPFPMPoolObject from amplify.ext.phpfpm import AMPLIFY_EXT_KEY __author__ = "Grant...
[ "dedm@nginx.com" ]
dedm@nginx.com
e0013c2b5604b00c8b98ff87f0ba085c848f9d91
0f89005310a10cb55913bb87336d8b28192f5576
/nekidaem/wsgi.py
d9fe8a74589bf5b5cf3483689694629033014039
[]
no_license
DmitriyBul/blog_with_subscribers
0134952d8bc691fb16c16d0a69cdb1601940014e
cdadd007e9db41d5795cf36b6e5df0471b7c5008
refs/heads/main
2023-06-23T17:30:52.458404
2021-07-22T11:20:48
2021-07-22T11:20:48
387,114,664
0
0
null
null
null
null
UTF-8
Python
false
false
393
py
""" WSGI config for nekidaem 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/3.2/howto/deployment/wsgi/ """ import os from django.core.wsgi import get_wsgi_application os.environ.setdefault('DJANGO_SETT...
[ "128dmitriy128@gmail.com" ]
128dmitriy128@gmail.com
1e7fea820de6e906b948a4ed4639f8f198b585bf
d5f53599338a30a9d6c7de7d5c574db59545ed3d
/Gse/generated/Ref/commands/PARAMETER3_PRM_SET.py
aac79228f2d169bb2fb265986c2e643d9428fe15
[ "Apache-2.0" ]
permissive
dstockhouse/eaglesat-fprime
c39a01cc5648dcd8b351f47684923fe481c720be
e640b3faea0000e1ca8acab4d6ff66150196c32b
refs/heads/master
2020-05-07T15:31:09.289797
2019-11-20T00:33:15
2019-11-20T00:33:15
180,639,007
0
0
null
null
null
null
UTF-8
Python
false
false
1,551
py
''' Created on Wednesday, 10 April 2019 @author: David THIS FILE IS AUTOMATICALLY GENERATED - DO NOT EDIT!!! XML Source: /cygdrive/c/Users/David/Documents/eaglesat/eaglesat-fprime/Ref/SendBuffApp/SendBuffComponentAi.xml ''' # Import the types this way so they do not need prefixing for execution. from models.serializ...
[ "dstockhouse@gmail.com" ]
dstockhouse@gmail.com
f90443e2a630a1b7f249a9901d09b12da5df9504
1e9b80e4bfadf0b44f0b9e37d4c82b3b6f7d960f
/pde/grids/tests/test_cartesian.py
2a10d0b0af7f59acd0b47f0d67de2c37b00adaa0
[ "MIT" ]
permissive
noah-ziethen/py-pde
f13a72b1552d24aa52976fbf7deaa450209b0b79
b88e86439290c31284a4ac665a8e9ff34d08b494
refs/heads/master
2022-11-07T02:04:06.685498
2020-06-30T13:17:59
2020-06-30T13:17:59
273,420,964
0
0
MIT
2020-06-19T06:28:06
2020-06-19T06:28:06
null
UTF-8
Python
false
false
14,761
py
''' .. codeauthor:: David Zwicker <david.zwicker@ds.mpg.de> ''' import random import numpy as np import pytest from .. import UnitGrid, CartesianGrid from ..boundaries import Boundaries, PeriodicityError, DomainError def _get_cartesian_grid(dim=2, periodic=True): """ return a random Cartesian grid of given di...
[ "david.zwicker@ds.mpg.de" ]
david.zwicker@ds.mpg.de
eb487cc46ad2df066c548da45e4c89be25ff2254
b69feb4c78dea0573d72eff237f15c8692ad610a
/Scripts1/Script05.py
4a5ea3fc83e0fd8409afcb50463d8352d0b5b276
[ "MIT" ]
permissive
jonfisik/ScriptsPython
deca1989647b8f9af24400488268d81b69d013be
1d15221b3a41a06a189e3e04a5241fa63df9cf3f
refs/heads/master
2023-04-16T22:07:50.902614
2021-04-24T13:19:03
2021-04-24T13:19:03
256,513,935
1
0
null
null
null
null
UTF-8
Python
false
false
912
py
'''Autor: Jonatan Paschoal, 22/04/2020. Operadores com o função: pow(x,y)=x**y''' print('--------------------------------------------') print('Resolva a seguinte expressão numérica.') print('a {[ b + c ( d x e )] f + (g - h)}') a = int(input('Digite o valor de a: ')) b = int(input('Digite o valor de b: ')) c = int(inpu...
[ "development.wj@outlook.com" ]
development.wj@outlook.com
0a812ffc644005951007ae5c83d951c1483e56e8
0af2dd9a7ba560d0b782e7834d862f89fe546bbb
/lui_testing/PyQt4_toys/process_pop_tst_04.py
09c137a32644470b3d5b8b69035c1543c1cff148
[]
no_license
luisodls/dui_prototyping
8b017eb3589f6fa80792b6f54b702061d30deda9
184d7fed891fae67bd8b662e4a287942753caadd
refs/heads/master
2023-09-04T01:51:14.455210
2023-08-29T20:56:21
2023-08-29T20:56:21
162,447,933
0
0
null
null
null
null
UTF-8
Python
false
false
2,423
py
#gpl = ''' from PyQt4.QtGui import * from PyQt4.QtCore import * print "wprks with PyQt4" #''' py_side = ''' from PySide.QtGui import * from PySide.QtCore import * print "works with PySide" #''' import subprocess import sys class MyDialog(QDialog): def __init__(self, parent = None): super(MyDialog, self).__i...
[ "luis.fuentes-montero@diamond.ac.uk" ]
luis.fuentes-montero@diamond.ac.uk
b590e80f7ce10d837fb1c7d3642d582c6a2d926b
8b3ca44ee3d990233e74655b7131d616094f70c2
/experiments/cross_validation/methylation_pm/gaussian_laplace_inversegaussian.py
efb1dd1a5e51cbbf54bde8b1e5dd1ef0ef5fa13d
[]
no_license
zshwuhan/BMF_Priors
8b8c54271285a72d2085a56a9475c0756f375e67
6a600da1c41f1ccde2f2ba99298b40e68fb9910a
refs/heads/master
2021-05-13T19:10:07.203215
2017-12-01T13:30:21
2017-12-01T13:30:21
116,883,181
1
0
null
2018-01-09T23:36:13
2018-01-09T23:36:13
null
UTF-8
Python
false
false
1,627
py
''' Run nested cross-validation experiment on the methylation PM dataset, with the Gaussian + Laplace + IG model. ''' project_location = "/Users/thomasbrouwer/Documents/Projects/libraries/" import sys sys.path.append(project_location) from BMF_Priors.code.models.bmf_gaussian_laplace_inversegaussian import BMF_Gaussi...
[ "tab43@cam.ac.uk" ]
tab43@cam.ac.uk
d84b56af1aa48b8af21b611d9fc7db945518cbd1
06d46994d64fd437e3f97a54a55afa284b84a30b
/tests/list_tables/config.py
e505ad67e38366736bc7d554f3919a6e9bb7a82e
[]
no_license
chjwang/magnetodb-test-bench
8a61b1dadd174e9f8af5c2f84b6328556f43ec0d
3fb793bed0ba50f0170803795b2a462cbf968fb6
refs/heads/master
2020-12-25T02:39:38.904795
2014-11-19T15:05:59
2014-11-19T15:05:59
null
0
0
null
null
null
null
UTF-8
Python
false
false
509
py
SLAVE_COUNT = 2 LOCUST_COUNT = 10 HATCH_RATE = 10 MIN_WAIT = 0 MAX_WAIT = 0 TABLES_CREATED_3_FIELDS_NO_LSI = 10 TABLES_CREATED_3_FIELDS_1_LSI = 10 TABLES_CREATED_10_FIELDS_5_LSI = 10 TABLE_NAME = "item_metadata" LIMIT = 10 TOKEN_PROJECT = "/tmp/token_project.txt" TABLE_LIST='/tmp/table_list.txt' ITEM_KEY_LIST = '/tmp/i...
[ "charles_wang@symantec.com" ]
charles_wang@symantec.com
e6706bd7ae8dc5f8bc47b8aee3bcb18dbdd4f6be
19e46ce3287ad8aadbe6b230263c41112cc18789
/pirates/leveleditor/worldData/interior_spanish_store_tattoo.py
3ea1bd827955391f9d705550b94a7480a6ea49ff
[]
no_license
rasheelprogrammer/PiratesOfTheCaribbeanOnline2011
b4114cb73eda870126eb4b48a55bd9ce10547355
501c1e7820ce2401e5ff2e4b39a2f239cb41300c
refs/heads/master
2020-03-22T12:06:49.009334
2018-07-07T18:28:52
2018-07-07T18:28:52
140,018,094
1
0
null
null
null
null
UTF-8
Python
false
false
23,264
py
# uncompyle6 version 3.2.3 # Python bytecode 2.4 (62061) # Decompiled from: Python 2.7.15 (v2.7.15:ca079a3ea3, Apr 30 2018, 16:30:26) [MSC v.1500 64 bit (AMD64)] # Embedded file name: C:\Cygwin\home\piratepub\player_pirates_1_0_33QA\pirates\src\leveleditor\worldData\interior_spanish_store_tattoo.py from pandac.PandaMod...
[ "33942724+itsyaboyrocket@users.noreply.github.com" ]
33942724+itsyaboyrocket@users.noreply.github.com
de08b8754becb5cef8ed9b353fea393c3db215fd
7a62c196a326e898b1751e6355a5284c85e337ca
/southernfirst/items.py
4d667d87404e1e81ace7b7b42e8e48a44535ea6a
[]
no_license
hristo-grudev/southernfirst
b5c31bed7994566619475c9349cbf2ce2ca77315
fa16005d39a7fe097bf9316eb9dd732befb78834
refs/heads/main
2023-04-05T07:12:32.400587
2021-04-01T11:56:53
2021-04-01T11:56:53
353,684,102
0
0
null
null
null
null
UTF-8
Python
false
false
140
py
import scrapy class SouthernfirstItem(scrapy.Item): title = scrapy.Field() description = scrapy.Field() date = scrapy.Field()
[ "hr.grudev@gmail.com" ]
hr.grudev@gmail.com
1231a0d11368a3a64e196f0d62ddba53bd220fbb
3284e336509aa58fb8b720b4506f8aa111601d64
/5-case-study/4_finding_possible_errors_with_groupby().py
a8ee7888e57265844db421ed84ba78014deb3aa4
[]
no_license
OCulzac/manipulating-dataframes-with-pandas
61d8bc918051d3629a066864d48860a75d9e5533
0cab0d9410d8f3b484d9dd03c78d54f1cc1a5e6c
refs/heads/master
2020-05-20T09:39:05.260419
2019-05-08T01:38:33
2019-05-08T01:38:33
185,506,228
0
0
null
null
null
null
UTF-8
Python
false
false
848
py
""" Finding possible errors with .groupby() You will now use .groupby() to continue your exploration. Your job is to group by 'Event_gender' and 'Gender' and count the rows. You will see that there is only one suspicious row: This is likely a data error. The DataFrame is available to you as medals. Instructions 100 ...
[ "oronculzac@gmail.com" ]
oronculzac@gmail.com
51944484dc1bccb6b0acf4180790af6b9964d958
f0d713996eb095bcdc701f3fab0a8110b8541cbb
/9b4h6mK9CBMLwyGiY_10.py
1da5cb2756fac479fed11baf55210a882cae523d
[]
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,181
py
""" In this challenge, you have to find the distance between two points placed on a Cartesian plane. Knowing the coordinates of both the points, you have to apply the **Pythagorean theorem** to find the distance between them. ![Two points on a Cartesian plane](https://edabit- challenges.s3.amazonaws.com/coordinatep...
[ "daniel.reich@danielreichs-MacBook-Pro.local" ]
daniel.reich@danielreichs-MacBook-Pro.local
d524e3b9b977579b22cc8333e1d28afcf01cb4c8
8f1137592d670ce134821106f736e231b03ead87
/configs/autoassign/autoassign_r50_fpn_8x2_1x_coco.py
d804a88418344b734013f9c89dec33f788de3ab1
[ "MIT" ]
permissive
mousecpn/DMC-Domain-Generalization-for-Underwater-Object-Detection
fa426c834fa2a5cd2fe98c50dd4dfeda64fcdc79
133797cfb7553557fb81a37e3c99c88154a13765
refs/heads/master
2023-05-23T16:49:34.795363
2023-02-13T02:23:31
2023-02-13T02:23:31
501,597,077
16
0
null
null
null
null
UTF-8
Python
false
false
2,677
py
# We follow the original implementation which # adopts the Caffe pre-trained backbone. _base_ = [ '../_base_/datasets/utdac_detection_coco.py', '../_base_/schedules/schedule_1x.py', '../_base_/default_runtime.py' ] model = dict( type='AutoAssign', backbone=dict( type='ResNet', depth=50, ...
[ "609731730@qq.com" ]
609731730@qq.com
5adf55704030a2419eee0122295a17d147682325
5af277b5819d74e61374d1d78c303ac93c831cf5
/cold_posterior_bnn/core/prior.py
6793106b537c61afa874728f628e96a1dc141ad5
[ "Apache-2.0" ]
permissive
Ayoob7/google-research
a2d215afb31513bd59bc989e09f54667fe45704e
727ec399ad17b4dd1f71ce69a26fc3b0371d9fa7
refs/heads/master
2022-11-11T03:10:53.216693
2020-06-26T17:13:45
2020-06-26T17:13:45
275,205,856
2
0
Apache-2.0
2020-06-26T16:58:19
2020-06-26T16:58:18
null
UTF-8
Python
false
false
20,246
py
# coding=utf-8 # Copyright 2020 The Google Research Authors. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicab...
[ "copybara-worker@google.com" ]
copybara-worker@google.com
ef3f28d045a8ace231f5d9015d61bd336cd6712d
08120ee05b086d11ac46a21473f3b9f573ae169f
/gcloud/google-cloud-sdk/.install/.backup/lib/surface/sql/instances/create.py
6d90fc1b9f348e09ab5dc7cf55ca35d12c99f776
[ "LicenseRef-scancode-unknown-license-reference", "Apache-2.0" ]
permissive
harrystaley/TAMUSA_CSCI4349_Week9_Honeypot
52f7d5b38af8612b7b0c02b48d0a41d707e0b623
bd3eb7dfdcddfb267976e3abe4c6c8fe71e1772c
refs/heads/master
2022-11-25T09:27:23.079258
2018-11-19T06:04:07
2018-11-19T06:04:07
157,814,799
2
0
null
null
null
null
UTF-8
Python
false
false
10,761
py
# -*- coding: utf-8 -*- # # Copyright 2016 Google Inc. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless requir...
[ "staleyh@gmail.com" ]
staleyh@gmail.com
9ecd18bbb9e689cfc6ea6a085470067bb01b844e
90f7253957e25105950c2a0305033c14302237bb
/defining_classes/defining_classes_lab/03_music.py
a8a8f9425f569eb514c2f42d1a4e5869fb84a4dc
[]
no_license
DeanDupalov/Softuni-Python-OOP
a4f010a7a218d4cdd466e2158dcea2e861304627
72fb3f00991419ef55f6c53101edba7fbb84746b
refs/heads/master
2023-04-01T01:59:50.441918
2021-04-12T18:47:56
2021-04-12T18:47:56
340,356,051
1
1
null
null
null
null
UTF-8
Python
false
false
281
py
class Music: def __init__(self, title, artist, lyrics): self.title = title self.artist = artist self.lyrics = lyrics def print_info(self): return f'This is "{self.title}" from "{self.artist}"' def play(self): return self.lyrics
[ "75751527+DeanDupalov@users.noreply.github.com" ]
75751527+DeanDupalov@users.noreply.github.com
2cf5cb0ca361b728bc589693051179785fa378d2
53fab060fa262e5d5026e0807d93c75fb81e67b9
/backup/user_189/ch30_2019_08_26_19_13_59_491877.py
3348b2372b19710810586e3dbd4059f5e5f93bf6
[]
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
362
py
def distancia(ang,vel): import math dist=((vel**2)*math.sin(2*ang))/9.8 if 98<=dist<=102: return("Acertou!") elif dist>102: return("Muito longe") else: return("Muito perto") ang=float(input("insira o angulo de lançamento: ")) vel=float(input("insira a velocidade inicial do la...
[ "you@example.com" ]
you@example.com
0cd945254c9354a8ea1425dfcfe44c659d16f2e6
700c7801958dd4789caf94785b5dc8c5e3daa4fd
/ttp/src/glue_enum_jobs_src.py
4bcc3b78fc036489ba389207fd332ec800bab946
[ "Apache-2.0", "BSD-3-Clause" ]
permissive
blackbotsecurity/AWS-Attack
24d4cd6ebda067e9672f4f963d414a7b176e3551
ad4668ab60173aabce3c6b9c7685160be5e3f14d
refs/heads/master
2023-03-14T00:05:54.965341
2021-03-05T12:44:27
2021-03-05T12:44:27
331,603,794
14
1
null
null
null
null
UTF-8
Python
false
false
2,092
py
#!/usr/bin/env python3 import datetime import argparse from copy import deepcopy from botocore.exceptions import ClientError def fetch_glue_data(client, func, key, print, **kwargs): caller = getattr(client, func) try: response = caller(**kwargs) data = response[key] while 'NextToken' ...
[ "github.nk@blackbot.io" ]
github.nk@blackbot.io
68f26663a5caa6dce081575241091824c677a1c9
bfdab27f224d9cac02e319fe55b53172fbf8d1a2
/motion_editor_core/data/atlas_old/motions/test_bag_motion_1.py
fb252b1a9011ad4f62e8999f4b873243f9dc6314
[]
no_license
tu-darmstadt-ros-pkg/motion_editor
c18294b4f035f737ff33d1dcbdfa87d4bb4e6f71
178a7564b18420748e1ca4413849a44965823655
refs/heads/master
2020-04-06T12:37:30.763325
2016-09-15T14:11:48
2016-09-15T14:11:48
35,028,245
2
3
null
2015-05-05T13:20:27
2015-05-04T10:18:22
Python
UTF-8
Python
false
false
13,199
py
{ 'test_bag_motion_1': { 'l_arm': [ { 'duration': 1.0, 'name': u'STAND_default', 'positions': [ 0.2998, -1.3035, 2.0008, ...
[ "martin.sven.oehler@gmail.com" ]
martin.sven.oehler@gmail.com
20919b5d822a8ce8c08562f49a3c9a68dd5c1604
3bdff0b728d8754a9a424c5eae79f1bc417d8728
/pi_server/cache/ServerCoreCache.py
edf6faf35aed8d8b6ed14d3f085b675d3c7319e4
[]
no_license
wangshiyu/pi
92e8ac753f8de878d080a7dd0eecd8aa2a276d18
e6c42f2c24407e5857bde4ba777ef78e88cb9263
refs/heads/master
2023-02-12T12:05:27.525452
2021-01-12T13:57:30
2021-01-12T13:57:30
291,059,595
0
0
null
null
null
null
UTF-8
Python
false
false
378
py
# encoding: utf-8 # !/usr/bin/python3 from pi_common.config.Config import Config,ConfigValueEnum, ConfigEnum from pi_server.core.external_handle.ServerTriggerTaskCommandHandle import ServerTriggerTaskCommandHandle from pi_drive.cache.DriveCache import * if Config.eq(ConfigEnum.RUN_TYPE,ConfigValueEnum.server): set...
[ "wsywsywsy541@qq.com" ]
wsywsywsy541@qq.com
a2d5dbc0c55aa5cabc0447de70e74aab98cbc0c3
69ccb98cb001e558a8f43d69b7b8a4d71fa66efd
/conferences/models.py
a120c6c5532685e0f478819991c86998b5104a86
[]
no_license
josearreluce/library_website
ca91a0906e2eef80877882dcc315dbbca772afcc
15e9890d3c398b12c7dbdd2fe38dc4095f378d2d
refs/heads/master
2020-02-26T14:58:59.294411
2016-08-29T16:05:17
2016-08-29T16:05:17
63,902,301
0
0
null
2016-07-21T21:03:56
2016-07-21T21:03:56
null
UTF-8
Python
false
false
9,696
py
from django.db import models from wagtail.wagtailcore.models import Page, Orderable, Site from wagtail.wagtailcore.fields import StreamField from base.models import PublicBasePage, AbstractButton, LinkedTextOrLogo, DefaultBodyFields, SocialMediaFields from wagtail.wagtailadmin.edit_handlers import FieldPanel, InlinePan...
[ "bbusenius@users.noreply.github.com" ]
bbusenius@users.noreply.github.com
77296fa957cc96a1486ba73e7f0bc1714d942a02
88dfb9a6ce6a094e5b61deeed3d05ee043067a27
/Accounts/migrations/0011_auto_20160401_2034.py
47b25b15efa2a901bfbd74a670a3f822b3d3c985
[]
no_license
jsyx1994/pinu
9aebcf4dbc454b3bf19a4b0d6fb355e02409edc3
ac79d1fcecb13b260dfa3570240a0a86380b2161
refs/heads/master
2021-01-10T09:26:52.436373
2019-07-23T02:22:32
2019-07-23T02:22:32
55,506,885
1
1
null
null
null
null
UTF-8
Python
false
false
608
py
# -*- coding: utf-8 -*- # Generated by Django 1.9.4 on 2016-04-01 12:34 from __future__ import unicode_literals from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('Accounts', '0010_auto_20160327_1841'), ] operations = [ migrations.AddField(...
[ "526593251@qq.com" ]
526593251@qq.com
a0cad114bd10a3a73f933de174efbcec09154044
e41651d8f9b5d260b800136672c70cb85c3b80ff
/Notification_System/temboo/Library/GitHub/GistsAPI/Gists/GetGist.py
35dd22be6648b7277bc866382fac7e42e39d38ff
[]
no_license
shriswissfed/GPS-tracking-system
43e667fe3d00aa8e65e86d50a4f776fcb06e8c5c
1c5e90a483386bd2e5c5f48f7c5b306cd5f17965
refs/heads/master
2020-05-23T03:06:46.484473
2018-10-03T08:50:00
2018-10-03T08:50:00
55,578,217
1
0
null
null
null
null
UTF-8
Python
false
false
3,711
py
# -*- coding: utf-8 -*- ############################################################################### # # GetGist # Returns an individual gist with a given id. # # Python versions 2.6, 2.7, 3.x # # Copyright 2014, Temboo Inc. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this ...
[ "shriswissfed@gmail.com" ]
shriswissfed@gmail.com