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
8813f6544d2ccea3832683f456c77c7e969252cd
11d697345808e3630985d70600fd6f2bed1ac7e5
/slacktheme/models.py
519400c4f6b64e846e1d9bf5d6e8f82435b917a8
[]
no_license
openhealthcare/opal-slacktheme
ce97ddac3c490ed19a3ab96dd85a17eec010cff5
c819e02f9e4a45a554ae5b49d28b95a812a86bca
refs/heads/master
2021-01-19T22:52:41.572813
2017-06-08T13:21:42
2017-06-08T13:21:42
88,879,256
2
1
null
null
null
null
UTF-8
Python
false
false
251
py
""" Models for slacktheme """ # # Warning - even if you don't have any models, please don't delete this file. # Some parts of Django require you to have something it can import called # slacktheme.models in order for us to let you be a Django app. #
[ "david@deadpansincerity.com" ]
david@deadpansincerity.com
9667e86b4ca07c2e6716741e6cf0e9de4b7bdee6
4ad04de638ccfed398adb5496826c0d19e755d9e
/models/hr_contract_wage_type_period.py
50c5042a81dece83a28e3107e503007f66523598
[ "BSD-2-Clause" ]
permissive
aroodooteam/aro_hr_payroll
2f399a0f2e45652d2791df48a95e5ad66a051d71
dd95d500827566f1444e32760dda5b5b69a8906e
refs/heads/master
2021-01-22T13:47:46.272642
2018-01-29T11:25:35
2018-01-29T11:25:35
100,686,534
0
0
null
null
null
null
UTF-8
Python
false
false
629
py
# -*- coding: utf-8 -*- from openerp.osv import fields, osv import time import logging logger = logging.getLogger(__name__) # Contract wage type period name class hr_contract_wage_type_period(osv.osv): _name = 'hr.contract.wage.type.period' _description = 'Wage Period' _columns = { 'name': field...
[ "aroodoo@asus.aro" ]
aroodoo@asus.aro
27d25a48451ddf4fd37788f53f17ab7d7bbbb843
b71f656374293c5f1238fcb449aa4dde78632861
/eudplib/eudlib/memiof/byterw.py
c6a45de2f0bcb03d62c384d553512caacbd340cb
[ "MIT" ]
permissive
tobeinged/eudplib
ce1cdc15f7ec6af857b4b64b5c826b3dd95d3e48
066c0faa200dc19e70cdb6979daf8f008b8ae957
refs/heads/master
2023-05-04T08:49:01.180147
2019-03-18T14:30:29
2019-03-18T14:30:29
null
0
0
null
null
null
null
UTF-8
Python
false
false
6,708
py
#!/usr/bin/python # -*- coding: utf-8 -*- ''' Copyright (c) 2014 trgk Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, mo...
[ "phu54321@naver.com" ]
phu54321@naver.com
8c3dff6729a6e03970fa298972d23866dabed387
8ea28cd0bc3f120faed01b0a2a5cd435a01ef809
/liclient/__init__.py
37bf8ec6e9ca51943c83086d42f59b7882242f33
[ "MIT" ]
permissive
Work4Labs/LinkedIn-Client-Library
9e02ce941e149f3113da936f96bd8401f74bc5c1
eb08c78e35d6e37b415a9da9820a7977fd895f81
refs/heads/master
2021-01-20T16:41:53.968545
2017-07-07T21:21:36
2017-07-07T21:21:36
23,850,972
0
0
null
2017-07-07T21:21:37
2014-09-09T21:30:18
Python
UTF-8
Python
false
false
20,308
py
#! usr/bin/env python import datetime import re import time import urllib import urlparse import oauth2 as oauth from httplib2 import HttpLib2ErrorWithResponse import json from parsers.lixml import LinkedInXMLParser from lxml import etree from lxml.builder import ElementMaker class LinkedInAPI(object): def __i...
[ "mvergerdelbove@work4labs.com" ]
mvergerdelbove@work4labs.com
dcf9d83ba4bfa75b310253049edaadb0ac26101c
5c056604ecbfdd6e3d20c6d3b891855767c431b8
/CIFAR-10/DRE-F-SP+RS/models/ResNet_extract.py
c0f759d4aeba34d997dc7326df08db4232fb134d
[]
no_license
pkulwj1994/cDR-RS
135d1fc9504304ba0303fe5acc3594ea27531557
661d694d6a8dfb44885271bdfd92d6dc150a40f8
refs/heads/main
2023-08-30T05:37:07.449304
2021-11-16T03:17:42
2021-11-16T03:17:42
null
0
0
null
null
null
null
UTF-8
Python
false
false
5,346
py
''' ResNet-based model to map an image from pixel space to a features space. Need to be pretrained on the dataset. codes are based on @article{ zhang2018mixup, title={mixup: Beyond Empirical Risk Minimization}, author={Hongyi Zhang, Moustapha Cisse, Yann N. Dauphin, David Lopez-Paz}, journal={International Conference ...
[ "dingx92@gmail.com" ]
dingx92@gmail.com
d2d53550d8562b31f2ef00de641a54b3c591e3fd
5bb8b4c7faeebd16da16ecbcd4a98aabaf688e8f
/data_tools/walker/src-cikm/build_graph/preprocess_venue_word.py
3d7fc4f53a23214e5cb8bba6ec763cd94551ca7c
[]
no_license
xiaoqinzhe/vrdetection
014fc2b61c9b30dd2699fdba41089b18b7f060be
604a812a21a98d72ba8e23a716eb72153bdaa7c4
refs/heads/master
2023-07-04T07:44:12.141404
2021-08-01T06:21:17
2021-08-01T06:21:17
150,063,473
0
0
null
null
null
null
UTF-8
Python
false
false
942
py
#coding:utf-8 file_name = '../dataset/paper_title_venue.txt' venues = set() word_df = {} with open(file_name) as file: for line in file: paper_id, title, venue = line.strip().split() words = title.split('-') for word in words: if word not in word_df: word_df[wo...
[ "xiaoqinzhe@qq.com" ]
xiaoqinzhe@qq.com
cc997c66aa7c0603bbc734ce62e689cd06b97a65
1b5d39f9dd5126b6f21e83efe58b7e86ef8d94f2
/CodeChef/LTIME80B/CARR.py
22f1cdd88dba474004c0ee9865be462ca2cd7494
[]
no_license
jai-dewani/Competitive-Programming
dfad61106a648b80cc97c85cc5c8bc5d1cd335d9
a2006e53b671ba56d4b0a20dd81fd0e21d0b0806
refs/heads/master
2021-07-03T16:08:02.466423
2020-09-24T16:22:28
2020-09-24T16:22:28
178,812,685
1
2
null
2019-10-18T14:43:19
2019-04-01T07:51:47
Python
UTF-8
Python
false
false
489
py
from random import randint mod = 10**9+7 for _ in range(int(input())): n,m = map(int,input().strip().split()) # n = randint(1,10**10) # m = randint(1,10**10) answer = 0 fact = m*pow(m-1,n-1,mod) # for i in range(n-1): # fact *= (m-1) answer += fact if(n>2): fact = m*pow(...
[ "jai.dewani.99@gmail.com" ]
jai.dewani.99@gmail.com
5a0f58aac33d8bad2c16cd0bc92a93704417daad
4cdc9ba739f90f6ac4bcd6f916ba194ada77d68c
/剑指offer/第五遍/32-2.分行从上到下打印二叉树.py
cac8702eac2082f33f6071a4d95e0ccd60552e50
[]
no_license
leilalu/algorithm
bee68690daf836cc5807c3112c2c9e6f63bc0a76
746d77e9bfbcb3877fefae9a915004b3bfbcc612
refs/heads/master
2020-09-30T15:56:28.224945
2020-05-30T03:28:39
2020-05-30T03:28:39
227,313,730
0
0
null
null
null
null
UTF-8
Python
false
false
1,022
py
""" 从上到下按层打印二叉树,同一层的节点按从左到右的顺序打印,每一层打印到一行。   例如: 给定二叉树: [3,9,20,null,null,15,7], 3 / \ 9 20 / \ 15 7 返回其层次遍历结果: [ [3], [9,20], [15,7] ]   """ class Solution: def levelOrder(self, root): # 首先判断输入为空的情况 if not root: return [] res = [] queue =...
[ "244492644@qq.com" ]
244492644@qq.com
f2d79542f326248beeeccdf981c0d6d9b68c644b
cc56916d3451a2c228fd5a4b649d4b37e4896665
/dxb/libs/eslib.py
0314fefce22303495f79e2a95dad6b7236a810c1
[]
no_license
nyflxy/longan
57ee63fe24720bfb6b6b1769acc5ba112dc08f18
5db84101dc11c4524e38f29f464ca522ec88aff4
refs/heads/master
2021-01-11T00:14:31.933873
2016-11-28T12:31:13
2016-11-28T12:31:13
70,554,505
0
1
null
2016-10-13T01:24:10
2016-10-11T04:00:19
JavaScript
UTF-8
Python
false
false
15,071
py
#coding=utf-8 import datetime import elasticsearch es = elasticsearch.Elasticsearch() if __name__ == "__main__": # 创建 es.index("newbie","link",{"name":"lxy","age":27,"create_date":datetime.datetime.now()},) print es.search(index="my-index",doc_type="test-type") print es.count("newbie","link",{ ...
[ "niyoufa@tmlsystem.com" ]
niyoufa@tmlsystem.com
34291debc85164d7bdf03f1960026837e992523d
ad54a035bb0b0ec73853516e4b62daf3598b601b
/django_fullstack/library_revisited/manage.py
045355e8b7f85761526cd3505808d46bf113c5a1
[]
no_license
odionfross/django
ce34c29fdc9f828ca0544826c9ef1b35efd324fb
759d2ddf9322984dd97a967dd1f08e7ee644d9c9
refs/heads/master
2022-12-11T15:29:17.506133
2020-09-16T04:22:10
2020-09-16T04:22:10
295,921,376
0
0
null
null
null
null
UTF-8
Python
false
false
637
py
#!/usr/bin/env python """Django's command-line utility for administrative tasks.""" import os import sys def main(): os.environ.setdefault('DJANGO_SETTINGS_MODULE', 'library_revisited.settings') try: from django.core.management import execute_from_command_line except ImportError as exc: ra...
[ "https://www.linkedin.com/in/odionfross/" ]
https://www.linkedin.com/in/odionfross/
f8ca76fd22f085e062460354e8d995add278d7e1
589ac0a71099f4ee6857a31986305f0df2c16ede
/Bio/Phylo/NewickIO.py
f0579a6eca4eaf30aceb11ae08827e40072c94c4
[ "LicenseRef-scancode-biopython" ]
permissive
barendt/biopython
802aad89005b302b6523a934071796edbd8ac464
391bcdbee7f821bff3e12b75c635a06bc1b2dcea
refs/heads/rna
2021-11-09T19:11:56.345314
2010-05-01T02:44:42
2010-05-01T02:44:42
636,700
0
0
NOASSERTION
2021-11-05T13:10:14
2010-04-29T02:35:46
Python
UTF-8
Python
false
false
9,781
py
# Copyright (C) 2009 by Eric Talevich (eric.talevich@gmail.com) # Based on Bio.Nexus, copyright 2005-2008 by Frank Kauff & Cymon J. Cox. # All rights reserved. # This code is part of the Biopython distribution and governed by its # license. Please see the LICENSE file that should have been included # as part of this pa...
[ "eric.talevich@gmail.com" ]
eric.talevich@gmail.com
311729967843c5ec8099011965d0fc07f899187d
f9d564f1aa83eca45872dab7fbaa26dd48210d08
/huaweicloud-sdk-iotedge/huaweicloudsdkiotedge/v2/model/container_configs_dto.py
5f77f61d48e99914c232542c25d08d3c747de972
[ "Apache-2.0" ]
permissive
huaweicloud/huaweicloud-sdk-python-v3
cde6d849ce5b1de05ac5ebfd6153f27803837d84
f69344c1dadb79067746ddf9bfde4bddc18d5ecf
refs/heads/master
2023-09-01T19:29:43.013318
2023-08-31T08:28:59
2023-08-31T08:28:59
262,207,814
103
44
NOASSERTION
2023-06-22T14:50:48
2020-05-08T02:28:43
Python
UTF-8
Python
false
false
6,284
py
# coding: utf-8 import six from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization class ContainerConfigsDTO: """ Attributes: openapi_types (dict): The key is attribute name and the value is attribute type. attribute_map (dict): The key is attribut...
[ "hwcloudsdk@huawei.com" ]
hwcloudsdk@huawei.com
e5f657f8585b64e8ca97392387cbc8e5ea4a0f7d
4c9c2940ef3a07e2756fcceddf01acd384ebde01
/Python/[7 kyu] Ordered count of characters.py
da36015440ad03be1c025a725b9cca4d2ae3af47
[ "MIT" ]
permissive
KonstantinosAng/CodeWars
7d3501a605f7ffecb7f0b761b5ffe414e2f1983a
157818ece648454e882c171a71b4c81245ab0214
refs/heads/master
2023-04-11T09:44:27.480064
2023-03-26T21:37:07
2023-03-26T21:37:07
245,296,762
6
6
null
null
null
null
UTF-8
Python
false
false
578
py
# see https://www.codewars.com/kata/57a6633153ba33189e000074/solutions/python def ordered_count(inp): counts = {} for letter in inp: if letter not in counts: counts[letter] = 1 else: counts[letter] += 1 return [(key, value) for key, value in counts.items()] tests =...
[ "kwstantinos.agelopoulos@outlook.com" ]
kwstantinos.agelopoulos@outlook.com
616bc2f9eedb173fae2c4e924b031aca3eaed1e1
a2ac73af04a07bb070cd85c88778608b561dd3e4
/addons/account_check_writing/account_voucher.py
d5cb90cc89990e5b9c4c9de82486dc995d9007a3
[]
no_license
sannareddy/openerp-heimai
c849586d6099cc7548dec8b3f1cc7ba8be49594a
58255ecbcea7bf9780948287cf4551ed6494832a
refs/heads/master
2021-01-15T21:34:46.162550
2014-05-13T09:20:37
2014-05-13T09:20:37
null
0
0
null
null
null
null
UTF-8
Python
false
false
75
py
/usr/share/pyshared/openerp/addons/account_check_writing/account_voucher.py
[ "549636719@qq.com" ]
549636719@qq.com
a80cf6d1ddfc46a4bc219908bc8145a82db73edb
9743d5fd24822f79c156ad112229e25adb9ed6f6
/xai/brain/wordbase/nouns/_naturalism.py
8c5e9015f19160ff616ae4d4cd686e3352b59c9f
[ "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
442
py
#calss header class _NATURALISM(): def __init__(self,): self.name = "NATURALISM" self.definitions = [u'showing people and experiences as they really are, instead of suggesting that they are better than they really are or representing them in a fixed style: '] self.parents = [] self.childen = [] self.prop...
[ "xingwang1991@gmail.com" ]
xingwang1991@gmail.com
bf5dc29023067b377e9be2c8a51b47247ca9a81a
5da5473ff3026165a47f98744bac82903cf008e0
/packages/google-cloud-dialogflow-cx/samples/generated_samples/dialogflow_v3_generated_environments_deploy_flow_async.py
ade1585fbfce343c1ef8b1d490219dca511c0ddb
[ "Apache-2.0" ]
permissive
googleapis/google-cloud-python
ed61a5f03a476ab6053870f4da7bc5534e25558b
93c4e63408c65129422f65217325f4e7d41f7edf
refs/heads/main
2023-09-04T09:09:07.852632
2023-08-31T22:49:26
2023-08-31T22:49:26
16,316,451
2,792
917
Apache-2.0
2023-09-14T21:45:18
2014-01-28T15:51:47
Python
UTF-8
Python
false
false
1,997
py
# -*- coding: utf-8 -*- # Copyright 2023 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 or...
[ "noreply@github.com" ]
googleapis.noreply@github.com
79afdf13c61a200d338ede0d864a956c63fabe3f
ce76b3ef70b885d7c354b6ddb8447d111548e0f1
/little_person_or_time/year/be_long_woman/part_and_thing/same_fact.py
4a49f93faba8dbcc80ef785b249febee2ff44e24
[]
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
226
py
#! /usr/bin/env python def public_company(str_arg): life_or_long_week(str_arg) print('tell_part') def life_or_long_week(str_arg): print(str_arg) if __name__ == '__main__': public_company('want_next_thing')
[ "jingkaitang@gmail.com" ]
jingkaitang@gmail.com
dce33266677a3e01c6ff99c2c720c7dfc65d296c
d7d7873d0bea9185a252916e3599b33e301d394c
/setup.py
8f0a378e044d453b35d69a16563e88fab08a6dcc
[]
no_license
KennethJHan/pip_test
b16a3248a50025075cc3db916d07ee9761cc9b9f
89e957d7059e303e5b640a1f2e514c437b616c10
refs/heads/main
2023-01-12T02:00:35.976500
2020-11-18T07:36:52
2020-11-18T07:36:52
313,856,656
0
0
null
null
null
null
UTF-8
Python
false
false
570
py
import setuptools with open("README.md", "r") as fh: long_description = fh.read() setuptools.setup( name="gitandpip", version="0.0.1", author="kenneth joohyun han", author_email="kenneth.jh.han@snu.ac.kr", description="It's pip... with git.", long_description=long_description, url="htt...
[ "kenneth.jh.han@gmail.com" ]
kenneth.jh.han@gmail.com
3aa42dfe75937de11efba3950fb0301198e88b6a
3d4fcc7cbfafc4aaebea8e08d3a084ed0f0d06a1
/Programme_2/Creation_donnees/MIDI/bk_xmas4fMidiSimple.py
cc8ced8f4e27729a020952c8b025d1842f14d469
[]
no_license
XgLsuLzRMy/Composition-Musicale-par-Reseau-de-Neurones
0421d540efe2d9dc522346810f6237c5f24fa3bf
518a6485e2ad44e8c7fbae93c94a9dc767454a83
refs/heads/master
2021-09-03T20:43:01.218089
2018-01-11T20:02:00
2018-01-11T20:02:00
106,448,584
3
1
null
null
null
null
UTF-8
Python
false
false
151,641
py
import midi pattern=midi.Pattern(format=1, resolution=480, tracks=\ [midi.Track(\ [ midi.NoteOnEvent(tick=1200, channel=0, data=[67, 63]), midi.NoteOnEvent(tick=230, channel=0, data=[67, 0]), midi.NoteOnEvent(tick=10, channel=0, data=[67, 58]), midi.NoteOnEvent(tick=0, channel=0, data=[72, 69]), midi.Note...
[ "jeremy.catelain@insa-rouen.fr" ]
jeremy.catelain@insa-rouen.fr
1d477bdc2d24efe805ae12ada9589a200b99ac7d
f2658c4bd7f833ace25ac2b63e88317b05f4602d
/2017 July/2017-July-11/st_rdf_test/model2/RelationsConstruction.py
80db921a3a777c4028c6f12a17dbc2aa3c535f55
[]
no_license
xiaochao00/telanav_diary
e4c34ac0a14b65e4930e32012cc2202ff4ed91e2
3c583695e2880322483f526c98217c04286af9b2
refs/heads/master
2022-01-06T19:42:55.504845
2019-05-17T03:11:46
2019-05-17T03:11:46
108,958,763
0
0
null
null
null
null
UTF-8
Python
false
false
3,410
py
#------------------------------------------------------------------------------- # Name: RelationsConstruction model # Purpose: this model is used to mapping the # columns: [ ] # # Author: rex # # Created: 2016/01/20 # Copyright: (c) rex 2016 # Licence: <your licence> #-----------...
[ "1363180272@qq.com" ]
1363180272@qq.com
9f3a4c72756e26bb17b1fe4a87c755b5e04cd441
ab174d6a1c5effdaab4a49015987c44909680792
/p4/solve.py
cf24db71cb7964f30b8b21b561e3433d28b73124
[]
no_license
carrdelling/AdventOfCode2018
2b26ed6cae8e48f473243e156d528b17fcb71584
c42f29d684ca7fb1954c3c1d45031e837d8c818a
refs/heads/master
2022-01-14T10:01:14.460444
2022-01-02T16:35:59
2022-01-02T16:35:59
160,434,068
0
0
null
null
null
null
UTF-8
Python
false
false
1,569
py
import datetime as dt from collections import defaultdict, Counter log = [] with open('input_data') as in_f: for row in in_f: timestamp, action = row.strip().split(']') _time = dt.datetime.strptime(timestamp[1:], "%Y-%m-%d %H:%M") log.append((_time, action.strip())) log.sort() guard_id...
[ "carrdelling@gmail.com" ]
carrdelling@gmail.com
a3f2a5a005d26ab9af467662fd50ff955da9a329
381612e57ef807e573b40b2dfaf062c8fe7a43f7
/nesi/softbox/api/models/route_models.py
7aea30390ad3f30d7155b1f369e6370d70560810
[ "BSD-2-Clause", "BSD-3-Clause" ]
permissive
zcf900/NESi
1635a405660bb9390843468f34105dd2ef45bd75
0db169dd6378fbd097380280cc41440e652de19e
refs/heads/master
2023-01-31T23:21:02.799923
2020-12-18T13:37:43
2020-12-18T13:37:43
null
0
0
null
null
null
null
UTF-8
Python
false
false
762
py
# This file is part of the NESi software. # # Copyright (c) 2020 # Original Software Design by Ilya Etingof <https://github.com/etingof>. # # Software adapted by inexio <https://github.com/inexio>. # - Janis Groß <https://github.com/unkn0wn-user> # - Philip Konrath <https://github.com/Connyko65> # - Alexander Dincher <...
[ "janis.gross.jg@gmail.com" ]
janis.gross.jg@gmail.com
7c18cecf00315c32eb38a70e12917f1ea4a78653
5befd324597df48b068a7ebda221db12a591f895
/yotta/lib/registry_access.py
69e96096e2a266ace3511bc79832141695333703
[ "Apache-2.0" ]
permissive
parisk/yotta
6616002c709e30e44234118ecf3dcbe7b9433f53
496b0994aa77854709782d8cc23032aabd50bb59
refs/heads/master
2021-01-22T19:04:02.966265
2014-10-21T08:40:55
2014-10-21T08:40:55
null
0
0
null
null
null
null
UTF-8
Python
false
false
14,462
py
# standard library modules, , , import re import logging from collections import OrderedDict import uuid import functools import json import binascii import calendar import datetime import hashlib import itertools import urllib import base64 import webbrowser # restkit, MIT, HTTP client library for RESTful APIs, p...
[ "James.Crosby@arm.com" ]
James.Crosby@arm.com
b4e5d65cf41c5b676b3c8fea171d87bae446ba4b
88608583e66b2084a8fe010d18a4bc779a9ea8eb
/torcv/links/model/inception/__init__.py
06148b1d3907003901ba7919852b9854ece3df5b
[]
no_license
UdonDa/torcv
c4f1f1cac99d49a5fe0d3edef6293659d807f292
49e548d538933f5eb5a4ffe1cb529914b180dae2
refs/heads/master
2020-04-28T05:25:09.183032
2019-03-19T02:39:52
2019-03-19T02:39:52
175,019,302
1
0
null
2019-03-19T02:39:53
2019-03-11T14:37:18
Python
UTF-8
Python
false
false
51
py
from torcv.links.model.inception.inception import *
[ "udoooon0727@gmail.com" ]
udoooon0727@gmail.com
208410d3e358a10f563e5f103349fd22130cf43d
aae3d55b9d2004e04c5917a31408384a4269a425
/astrodash/save_binned_templates_as_arrays.py
46d645225b46ac3a4d4829533285989d5f651758
[ "MIT" ]
permissive
daniel-muthukrishna/astrodash
5b1ee330d2ae2d9cc43f5c52d0765359aa40673f
acc241ad73133894d93ef16733cf0f1fb4ca7b87
refs/heads/master
2023-04-04T03:27:07.480846
2023-03-22T17:02:08
2023-03-22T17:02:08
75,250,754
23
12
MIT
2019-04-26T15:27:30
2016-12-01T03:19:18
Python
UTF-8
Python
false
false
4,018
py
import numpy as np import pickle import os from astrodash.create_arrays import AgeBinning from astrodash.helpers import temp_list from astrodash.combine_sn_and_host import BinTemplate def create_sn_and_host_arrays(snTemplateDirectory, snTempFileList, galTemplateDirectory, galTempFileList, paramsFile): snTemplates...
[ "daniel.muthukrishna@gmail.com" ]
daniel.muthukrishna@gmail.com
2cfa6771adfad25d67580278d8e90dd45946b759
046207f434966462fff55f634ba5a450d2208534
/CodeUp/1277_0200.py
d529aa1563e5cd2f9c1f8347f1cc93d651e5b6cf
[]
no_license
sungsikyang92/pythonStudy
e293e1ac8af443809f840ccee7052a8f57480b70
26522b5e232ccd9ab25c52122d254aa7249a8fdf
refs/heads/master
2023-07-04T16:58:40.318976
2021-08-04T02:00:27
2021-08-04T02:00:27
365,398,522
0
0
null
null
null
null
UTF-8
Python
false
false
102
py
count = int(input()) nums = list(map(int, input().split())) print(nums[0],nums[int(count/2)],nums[-1])
[ "sungsik.yang92@gmail.com" ]
sungsik.yang92@gmail.com
4db43b3627ce71b65078c3610a3ad71319c4c739
a512b8893b0d2de827d6292e810f3a98b41e132c
/Week4/Day6/Solutions/Python/prog3.py
e8ebb18c93788e86255dbf1b31875bd34116bfa1
[]
no_license
Audarya07/Daily-Flash-Codes
d771079fd0d470e2d3e05679f17f32fb64b4f426
cf96ca2b1676b038e243fac67be778381492ffeb
refs/heads/master
2022-11-06T15:37:47.180729
2020-06-25T16:20:55
2020-06-25T16:20:55
274,960,651
0
0
null
null
null
null
UTF-8
Python
false
false
183
py
for num in range(1,101): sum = 0 for i in range(1,num): if num%i==0: sum+=i if sum==num: continue else: print(num,end=" ") print()
[ "audiuttarwar2000@gmail.com" ]
audiuttarwar2000@gmail.com
fb30f63ea2395b0dcca9405b88c567a7a4bb60d6
e7dd192123f404367e9623a357366643742fa723
/kubernetes/test/test_scheduling_v1beta1_api.py
700a3b463994104380586917c18869a0959fe020
[ "Apache-2.0" ]
permissive
itholic/python
1772725582f28af445efb233eca6c9139da3ae49
dffe577a062e17057270ae80fa677ffd83e9d183
refs/heads/master
2020-09-12T08:59:16.847326
2019-11-15T20:40:32
2019-11-15T20:40:32
222,375,164
0
0
Apache-2.0
2019-11-18T06:05:45
2019-11-18T06:05:43
null
UTF-8
Python
false
false
1,718
py
# coding: utf-8 """ Kubernetes No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 OpenAPI spec version: v1.15.7 Generated by: https://openapi-generator.tech """ from __future__ import absolute_import import unittest import kube...
[ "haoweic@google.com" ]
haoweic@google.com
c288c52f8ee60885fe587a639279c2976ed3966e
9d67cd5f8d3e0ffdd4334a6b9b67c93f8deca100
/configs/example_old_map_1228.py
5fa96132f84104c6dbd4a5e0ca228a05b0c82a8a
[]
no_license
SiyuanLee/caps
0c300a8e5a9a661eca4b2f59cd38125ddc35b6d3
476802e18ca1c7c88f1e29ed66a90c350aa50c1f
refs/heads/master
2021-06-20T22:48:16.230354
2021-02-22T13:21:57
2021-02-22T13:21:57
188,695,489
1
2
null
null
null
null
UTF-8
Python
false
false
5,754
py
""" This is the example config file larger lr beta no bias lower explr comment: too small! not target beta """ import numpy as np # More one-char representation will be added in order to support # other objects. # The following a=10 is an example although it does not work now # as I have not included a '10' object yet...
[ "lisiyuan@bupt.edu.cn" ]
lisiyuan@bupt.edu.cn
5abefd1028b6cccfdaa7eb87f9bf76914e4e80f7
ef187d259d33e97c7b9ed07dfbf065cec3e41f59
/work/atcoder/abc/abc063/A/answers/322689_irin0890.py
4d6bb223af0fd8d70f6f64a17ba23573afd95cd4
[]
no_license
kjnh10/pcw
847f7295ea3174490485ffe14ce4cdea0931c032
8f677701bce15517fb9362cc5b596644da62dca8
refs/heads/master
2020-03-18T09:54:23.442772
2018-07-19T00:26:09
2018-07-19T00:26:09
134,586,379
0
0
null
null
null
null
UTF-8
Python
false
false
86
py
a, b = map(int, input().split()) if a+b >= 10: print('error') else: print(a+b)
[ "kojinho10@gmail.com" ]
kojinho10@gmail.com
07ff6980884d70cacc711dfc287bfbf96c7c733e
f4b694982027ac362de1e9d6755f2943d0355a06
/DECSKS-03 -- Convergence of FD formulation of high order CS/pyfiles/plots_df9_comparison.py
6ef2da6f2b41cabe799772b8df49ec3244e370d7
[]
no_license
dsirajud/IPython-notebooks
55275e44191c16f5393571522787993f931cfd98
6ad9d978c611558525fc9d716af101dc841a393b
refs/heads/master
2021-01-15T15:33:57.119172
2016-07-13T20:08:29
2016-07-13T20:08:29
35,054,473
0
0
null
null
null
null
UTF-8
Python
false
false
645
py
import matplotlib.pyplot as plt import numpy as np from convergence_routines import * Nx = 2488 x, dx, L = domain(_Nx = Nx) L2error, df9_approx = FD_derivative_matrix_formulation(_dn = 9, _p = 3, _Nx = Nx) df9_exact = df9(x) plt.plot(x,df9_exact, label = 'exact df9', linewidth = 3) plt.hold('on') plt.plot(x,df9_appro...
[ "sirajuddin@wisc.edu" ]
sirajuddin@wisc.edu
d59800358316a58679932c187a9225e40f43364e
b08d42933ac06045905d7c005ca9c114ed3aecc0
/src/learningCurve/leaveOneOut/lrClassifierF.py
36c020e785dfac7d8a00613b3398404787143651
[]
no_license
TanemuraKiyoto/PPI-native-detection-via-LR
d148d53f5eb60a4dda5318b371a3048e3f662725
897e7188b0da94e87126a4acc0c9a6ff44a64574
refs/heads/master
2022-12-05T11:59:01.014309
2020-08-10T00:41:17
2020-08-10T00:41:17
225,272,083
1
0
null
null
null
null
UTF-8
Python
false
false
5,134
py
# 9 September 2019 # Kiyoto Aramis Tanemura # I modified the rfClassifier.py script to implement a logistic regression classifier. This classifier runs faster than the random forest classifier and Jun previously observed comparable results between logistic regression and random forest classifiers for the protein fold...
[ "tanemur1@msu.edu" ]
tanemur1@msu.edu
18a28d5e4e839646f65336d3d49006c5a957223d
de0584cdd6a0b452efa3c8bd0e1e43286853c814
/preprocess/huff/clean_huffpost.py
a2a2d91bc756e5a1c5826ea7fe1277733daea635
[]
no_license
johnsonice/triplet-loss
a325ecd229b5346aaca4cb0556bbc18e9e4eae26
71c13dfa7631ec93c564d9dc9da4fcf667eb9500
refs/heads/master
2023-08-24T17:49:01.593415
2021-10-23T16:27:26
2021-10-23T16:27:26
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,823
py
import json from random import shuffle #cleaning up text import re def get_only_chars(line): clean_line = "" line = line.replace("’", "") line = line.replace("'", "") line = line.replace("-", " ") #replace hyphens with spaces line = line.replace("\t", " ") line = line.replace("\n", " ") ...
[ "jason.weng.wei@gmail.com" ]
jason.weng.wei@gmail.com
9cdc5953fa52c0c13a48fd139f2abf63be4bcdb2
95777f5257f00aa982d94812f46658ace2e92bd2
/pytorch/pytorchcv/models/model_store.py
3ddbf0ceb2ababece6f08a706124b80d1c589957
[ "MIT" ]
permissive
yangkang779/imgclsmob
ea2c1f9223a3419375e8339c7e941daba69a56a7
9d189eae8195d045dfb4b25bec2501b2c42a154a
refs/heads/master
2020-05-07T08:16:23.658714
2019-04-08T16:20:33
2019-04-08T16:20:33
null
0
0
null
null
null
null
UTF-8
Python
false
false
33,684
py
""" Model store which provides pretrained models. """ __all__ = ['get_model_file', 'load_model', 'download_model', 'calc_num_params'] import os import zipfile import logging import hashlib _model_sha1 = {name: (error, checksum, repo_release_tag) for name, error, checksum, repo_release_tag in [ ('alexnet', '2...
[ "osemery@gmail.com" ]
osemery@gmail.com
3d725712e172cee8591768772262237bc21dcaae
830465731dfda87b4141546262f20d74c29297bf
/GENERAL/RADARCTF/Logo/sol.py
d32c2f2933fdf57751dd6485d243603bc52c9566
[]
no_license
jchen8tw-research/CTF
f559d7ca0e16a730335b11caeeae208c42e8bf17
f49615c24437a9cc6a2c20d6b30cb5abf7a32b71
refs/heads/master
2023-03-17T12:29:08.630613
2021-03-23T06:31:26
2021-03-23T06:31:26
null
0
0
null
null
null
null
UTF-8
Python
false
false
249
py
import os import binascii import struct misc = open("logo.png","rb").read() for i in range(1024): data = misc[12:16] + struct.pack('>i',i)+ misc[20:29] crc32 = binascii.crc32(data) & 0xffffffff if crc32 == 0xB65879B0: print i
[ "cpr1014@gmail.com" ]
cpr1014@gmail.com
a0f042399c854efeeae2f22745708993359d89e0
8a11814f757b22cacd89ae618265d6705393ba78
/amplify/agent/data/statsd.py
8c17a990d29c16671f7bda85bf50d173b786d17e
[ "BSD-2-Clause" ]
permissive
ngonsol/nginx-amplify-agent
e763bfcc82cf103b4eb2ce49269dfccaec0cb9af
c711579208465578b03dda5db40ccc7dc8f31b81
refs/heads/master
2021-01-18T03:17:04.494068
2016-05-18T20:17:25
2016-05-18T20:17:25
null
0
0
null
null
null
null
UTF-8
Python
false
false
7,307
py
# -*- coding: utf-8 -*- import copy import time from collections import defaultdict __author__ = "Mike Belov" __copyright__ = "Copyright (C) Nginx, Inc. All rights reserved." __credits__ = ["Mike Belov", "Andrei Belov", "Ivan Poluyanov", "Oleg Mamontov", "Andrew Alexeev", "Grant Hulegaard"] __license__ = "" __maintai...
[ "dedm@nginx.com" ]
dedm@nginx.com
560ba1036cedaa7535985e80ac45ea83e6c5361e
5e6d8b9989247801718dd1f10009f0f7f54c1eb4
/sdk/python/pulumi_azure_native/compute/v20201201/availability_set.py
25d7c983e0cf8a6ed9d97e871af5b85db623d5b4
[ "BSD-3-Clause", "Apache-2.0" ]
permissive
vivimouret29/pulumi-azure-native
d238a8f91688c9bf09d745a7280b9bf2dd6d44e0
1cbd988bcb2aa75a83e220cb5abeb805d6484fce
refs/heads/master
2023-08-26T05:50:40.560691
2021-10-21T09:25:07
2021-10-21T09:25:07
null
0
0
null
null
null
null
UTF-8
Python
false
false
21,366
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" ]
vivimouret29.noreply@github.com
0e37bf6580d3248893e8a1c0e5dd6d1ebbe57409
8efe56ee34c455a6b1336897f6d457acbc9c10f9
/tests/metarl/tf/models/test_cnn_model.py
6d8f599ade02b39db52ef608f933167b30287246
[ "MIT" ]
permissive
neurips2020submission11699/metarl
ab18d11e708bf569d76cb2fab2bcce089badd111
ae4825d21478fa1fd0aa6b116941ea40caa152a5
refs/heads/master
2022-10-15T22:03:09.948673
2020-06-11T19:22:55
2020-06-11T19:30:58
268,410,657
4
0
null
null
null
null
UTF-8
Python
false
false
6,567
py
import pickle import numpy as np import pytest import tensorflow as tf from metarl.tf.models import CNNModel from metarl.tf.models import CNNModelWithMaxPooling from tests.fixtures import TfGraphTestCase class TestCNNModel(TfGraphTestCase): def setup_method(self): super().setup_method() self.ba...
[ "neurips2020submission11699@gmail.com" ]
neurips2020submission11699@gmail.com
8221dde14b547b99f9faed2041f581a2b8211915
f576f0ea3725d54bd2551883901b25b863fe6688
/sdk/storage/azure-mgmt-storage/generated_samples/queue_operation_get.py
2fe4ed0f330180c8f1b2f904034727d53e124075
[ "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
1,547
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
f38cf335b8fab60a2d1b2f67a4620fe3e0c47847
dfe3191eee14251b958589f9b383fd5f8798d47e
/habanero/__init__.py
7fae4d724c918f2b4ae26eb4c4d44980330b35cc
[ "MIT" ]
permissive
kyleniemeyer/habanero
39257428cc442ec764edd3616749db10af783262
6338f22f06912a4f1af5f0459ff8329906442489
refs/heads/master
2021-01-14T11:53:45.396972
2016-07-11T15:59:41
2016-07-11T15:59:41
66,299,090
0
0
null
2016-08-22T18:47:17
2016-08-22T18:47:16
Python
UTF-8
Python
false
false
1,192
py
# -*- coding: utf-8 -*- # habanero ''' habanero library ~~~~~~~~~~~~~~~~~~~~~ habanero is a low level client for the Crossref search API. Usage:: from habanero import Crossref cr = Crossref() # setup a different base URL Crossref(base_url = "http://some.other.url") # setup an api key Crossref(a...
[ "myrmecocystus@gmail.com" ]
myrmecocystus@gmail.com
6f4c7736b4f7b3b3be54a806fa5fed52f9e446db
e3c6dcf5a77ae0b930087bb5849352a088dbc2e4
/hamon_shu/segments/segment_03/.handlers.py
4687984f7cf378e302baf025675dc29baf63361d
[]
no_license
Catsvilles/hamon_shu
684cda44661ba18724af6719e4efc5f763c3cf61
35b377074cff9900193018446668aeb5440475be
refs/heads/master
2022-12-04T08:00:46.779614
2020-08-26T21:25:57
2020-08-26T21:25:57
null
0
0
null
null
null
null
UTF-8
Python
false
false
5,913
py
import abjad handler_to_value = abjad.OrderedDict( [ ( 'violin_1_pitch_handler_three', abjad.OrderedDict( [ ('pitch_count', 38), ('chord_boolean_count', -1), ('chord_groups_count', -1), ] ...
[ "gregoryrowlandevans@gmail.com" ]
gregoryrowlandevans@gmail.com
e12d86d370dcf165b72e5e841e08d996d6f90d10
e65d16ea1e8d412bac75a809be6d390126bdf528
/homeassistant/components/hassio/issues.py
2af0a6ed76485bddc49bf5c1300208967512a4f9
[ "Apache-2.0" ]
permissive
syssi/home-assistant
6347d57866cb16ab9d4499ad38e2be6f0399077f
fd43687833741b21221769d46b4d1ecef8a94711
refs/heads/dev
2023-08-17T09:31:52.680518
2023-06-11T14:22:12
2023-06-11T14:22:12
97,874,495
6
16
Apache-2.0
2023-09-13T06:31:21
2017-07-20T20:12:37
Python
UTF-8
Python
false
false
11,530
py
"""Supervisor events monitor.""" from __future__ import annotations import asyncio from dataclasses import dataclass, field import logging from typing import Any, TypedDict from typing_extensions import NotRequired from homeassistant.core import HomeAssistant, callback from homeassistant.helpers.dispatcher import as...
[ "noreply@github.com" ]
syssi.noreply@github.com
f29f4d3f9eb00ed98d6c9da648caeb5da3c9d380
f0d713996eb095bcdc701f3fab0a8110b8541cbb
/f3jX2BwzAuR8DXsy4_22.py
e469acc301be3f4807256f980cb528fa19e2fb93
[]
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
471
py
""" Create a function that takes an integer `n` and returns the **factorial of factorials**. See below examples for a better understanding: ### Examples fact_of_fact(4) ➞ 288 # 4! * 3! * 2! * 1! = 288 fact_of_fact(5) ➞ 34560 fact_of_fact(6) ➞ 24883200 ### Notes N/A """ import math fr...
[ "daniel.reich@danielreichs-MacBook-Pro.local" ]
daniel.reich@danielreichs-MacBook-Pro.local
96093e0e0b317846982be7163fd0fb65f35e64a6
90fa5489f9849494da93d64d54557491bf85d52f
/PythonNLP/C05/C0502.py
01b42fee0d9479ef0e45dd5c28809e341fbbdf0f
[]
no_license
liping2084/NLTK-Python-CN
f0a072e9632661e95b4fb6419bb125dcdb8d68cd
f5b7520811f727e0111336efd536b28bbb01edf1
refs/heads/master
2023-05-09T05:42:34.004242
2020-12-15T04:39:37
2020-12-15T04:39:37
null
0
0
null
null
null
null
UTF-8
Python
false
false
13,587
py
# -*- encoding: utf-8 -*- """ @Author : zYx.Tom @Contact : 526614962@qq.com @site : https://zhuyuanxiang.github.io --------------------------- @Software : PyCharm @Project : NLTK-Python-CN @File : C0502.py @Version : v0.1 @Time : 2020-11-19 10:34 @License : (C)C...
[ "zhuyuanxiang@gmail.com" ]
zhuyuanxiang@gmail.com
5c11d0ef4c5a83f6c0d971af6f4730a9a6fe1a67
c1e488789b41a714cdd37525d7e71815753c21d9
/atcoder/beginners/chap1/PASTFILES/ABC088A_1.py
041c7c7cbb41d815d7d2848a46a3bce2ad8a670a
[]
no_license
happyhappyhappyhappy/pythoncode
638a0cbeb94ec04829c1c4e216fb200863cd7a4e
247b8346a503cab272043c20e6210ee03cfdd8c4
refs/heads/master
2023-08-31T20:54:06.144750
2023-08-30T08:33:15
2023-08-30T08:33:15
223,697,956
0
0
null
null
null
null
UTF-8
Python
false
false
331
py
# Problem https://atcoder.jp/contests/abc088/tasks/abc088_a # Python 1st Try if __name__ == "__main__": yes = "Yes" no = "No" answer = "" N = int(input().strip()) A = int(input().strip()) chargeCoin = N % 500 if chargeCoin <= A: answer = yes else: answer = no print(an...
[ "ymnkkj@gmail.com" ]
ymnkkj@gmail.com
2174b795b603fa21096a6785c9d48f544f644a5f
f30163c5c3c2051a699062a2baa4a632e2d47ad6
/openspeech/models/openspeech_encoder_decoder_model.py
de45acc8ed693c7d77c9502a55c9ffc3282f54ff
[ "MIT", "LicenseRef-scancode-secret-labs-2011", "Unlicense", "HPND", "BSD-3-Clause", "ISC", "Apache-2.0", "BSD-2-Clause" ]
permissive
dnfcallan/openspeech
6740672df1e9c43e898ff9eaa5fafdc20bf9593a
55e50cb9b3cc3e7a6dfddcd33e6e698cca3dae3b
refs/heads/main
2023-06-20T19:40:28.953644
2021-07-16T10:16:05
2021-07-16T10:16:05
null
0
0
null
null
null
null
UTF-8
Python
false
false
9,191
py
# MIT License # # Copyright (c) 2021 Soohwan Kim and Sangchun Ha and Soyoung Cho # # Permission is hereby granted, free of charge, to any person obtaining a copy # of this software and associated documentation files (the "Software"), to deal # in the Software without restriction, including without limitation the rights...
[ "sooftware@Soohwanui-MacBookPro.local" ]
sooftware@Soohwanui-MacBookPro.local
5937a083574b20b77de3073d1b7317e4f94be9ec
c9cf4e7acd3ff09412610965dc83988b3f501e5e
/utils/readWrite/read.py
2fe030fe3668a47d797bc8bc787023f8779bee51
[]
no_license
Noba1anc3/General-Doc-SemSeg
31df6cc0c747c5586fbbeb9dace6170d3fbef4bd
27d9761fd45b2d5d52cfe3ed50413f902912b238
refs/heads/master
2021-05-19T04:15:42.604378
2020-03-31T06:59:45
2020-03-31T06:59:45
251,524,481
0
0
null
null
null
null
UTF-8
Python
false
false
4,247
py
import os import sys from configparser import ConfigParser from utils.logging.syslog import Logger class Configuration(): def __init__(self): self.logging = Logger(__name__) Logger.get_log(self.logging).info('Start processing ConfigFile') self.config() Logger.get_log(self.logging).i...
[ "zxryhjp@yahoo.co.jp" ]
zxryhjp@yahoo.co.jp
f79103b6166bbcddf98f63d0c258951fb19b31eb
28280d1c7ca06f89906e811f3b7311a5e8a0046b
/ecoz2py/__init__.py
5bffc1a049e5d658a7b607a7b4e2c48e1360e361
[]
no_license
mbari-org/ecoz2py
e5e96ba127a397c7d319a15ca13889f724943ba5
00d17b1696debc3aff7da37f0e4be316de70c3a7
refs/heads/master
2022-09-03T20:59:18.927539
2020-05-03T02:06:51
2020-05-03T02:06:51
null
0
0
null
null
null
null
UTF-8
Python
false
false
3,691
py
import os from _ecoz2_extension import ffi from _ecoz2_extension.lib import ecoz2_hmm_learn from _ecoz2_extension.lib import ecoz2_prd_show_file from _ecoz2_extension.lib import ecoz2_set_random_seed from _ecoz2_extension.lib import ecoz2_version from _ecoz2_extension.lib import ecoz2_vq_learn def get_version(): ...
[ "carueda@mbari.org" ]
carueda@mbari.org
bd37d6634f405523c79a877228689da80f242c6a
15f321878face2af9317363c5f6de1e5ddd9b749
/solutions_python/Problem_89/46.py
2b2b33f6462a2c18f37ba5fc20391f0621f9a50f
[]
no_license
dr-dos-ok/Code_Jam_Webscraper
c06fd59870842664cd79c41eb460a09553e1c80a
26a35bf114a3aa30fc4c677ef069d95f41665cc0
refs/heads/master
2020-04-06T08:17:40.938460
2018-10-14T10:12:47
2018-10-14T10:12:47
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,842
py
#!/usr/bin/env python # encoding: utf-8 """ Waiters en LCM """ import sys, time, copy from pdb import set_trace as DEBUG def p(*s): print >> sys.stderr, s def gcd(a, b): while b: a, b = b, a % b return a def lcm(a, b): return a * b // gcd(a, b) def lcmm(*args): return reduce(lcm,...
[ "miliar1732@gmail.com" ]
miliar1732@gmail.com
0fbaab7562dfc9e920f442142b34da9865161986
7fdff3ab45f5fef05cc76f97ee44e44779f87120
/peerloan/migrations/0018_auto_20160912_1536.py
e45c005b5ff05f11df1b1b9a437414fdb3067bda
[]
no_license
Calvin66der/project_peerloan
4a132c7464b21e75a80f091d44c389cbd10c2cc5
99a02843addbfcffec5c7d7a964f0b3347a03962
refs/heads/master
2021-01-12T07:45:00.811952
2016-12-20T08:44:42
2016-12-20T08:44:42
77,006,043
0
0
null
2016-12-21T01:47:48
2016-12-21T01:47:48
null
UTF-8
Python
false
false
425
py
# -*- coding: utf-8 -*- from __future__ import unicode_literals from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('peerloan', '0017_borrowrequest_overpay_amount'), ] operations = [ migrations.AlterField( model_name='loanschedul...
[ "15113029g@connect.polyu.hk" ]
15113029g@connect.polyu.hk
4f1cf1347b78f2c9ecb4170992e0d6cc1810de58
16dbe8b1be0cd360ac1062072430f1f2b7d95bd6
/FlightPlanner/BasicGNSS/ParameterDlgs/DlgCaculateWaypoint.py
a6bc525d80735a610431231967d854ce93aaae7a
[]
no_license
developer124320/FlightPlanner
4a0d9a450ddddede95512ad76437db2906154536
f1e4c762c360c0a00022ae6fa028fc1aee2a467d
refs/heads/master
2022-08-25T14:00:57.495037
2020-05-27T01:26:27
2020-05-27T01:26:27
267,186,057
0
0
null
null
null
null
UTF-8
Python
false
false
47,721
py
# -*- coding: utf-8 -*- from PyQt4.QtGui import QWidget, QFrame, QVBoxLayout, QGroupBox, QSizePolicy, QHBoxLayout, \ QLabel, QFont, QLineEdit, QToolButton, QIcon, QPixmap, QDialog, QDialogButtonBox, QMessageBox from PyQt4.QtCore import QSize, QSizeF, Qt, SIGNAL, QObject from FlightPlanner.captureCoordinateTool im...
[ "yongjin.818@gmail.com" ]
yongjin.818@gmail.com
8cde3781272c47dc93995ad7a393be282fd619be
acb8e84e3b9c987fcab341f799f41d5a5ec4d587
/langs/9/wuz.py
25bf44e8b6d42681dc820d4df1c4e481b029d13a
[]
no_license
G4te-Keep3r/HowdyHackers
46bfad63eafe5ac515da363e1c75fa6f4b9bca32
fb6d391aaecb60ab5c4650d4ae2ddd599fd85db2
refs/heads/master
2020-08-01T12:08:10.782018
2016-11-13T20:45:50
2016-11-13T20:45:50
73,624,224
0
1
null
null
null
null
UTF-8
Python
false
false
486
py
import sys def printFunction(lineRemaining): if lineRemaining[0] == '"' and lineRemaining[-1] == '"': if len(lineRemaining) > 2: #data to print lineRemaining = lineRemaining[1:-1] print ' '.join(lineRemaining) else: print def main(fileName): with open(fileName) as f: for line in f: ...
[ "juliettaylorswift@gmail.com" ]
juliettaylorswift@gmail.com
72c850969dfe5e6528309e706ffd673c82f7a44c
5b93930ce8280b3cbc7d6b955df0bfc5504ee99c
/nodes/VanderPlas17Python/E_Chapter4/E_VisualizingErrors/index.py
c2c770e9b709e97993efbbfb79962c767157f91e
[]
no_license
nimra/module_gen
8749c8d29beb700cac57132232861eba4eb82331
2e0a4452548af4fefd4cb30ab9d08d7662122cf4
refs/heads/master
2022-03-04T09:35:12.443651
2019-10-26T04:40:49
2019-10-26T04:40:49
213,980,247
0
1
null
null
null
null
UTF-8
Python
false
false
5,314
py
# Lawrence McAfee # ~~~~~~~~ import ~~~~~~~~ from modules.node.HierNode import HierNode from modules.node.LeafNode import LeafNode from modules.node.Stage import Stage from modules.node.block.CodeBlock import CodeBlock as cbk from modules.node.block.HierBlock import HierBlock as hbk from modules.node.block.ImageBlock ...
[ "lawrence.mcafee@gmail.com" ]
lawrence.mcafee@gmail.com
3037cc9f0d5675cef844ea03c08be30f015cdeb3
fe7996f7110211e8c2df7cd7a4d81cc572204a70
/synthetic-enumeration/sprint-12/03-collect-experimental-data-from-Lauren-assignments.py
afb9cf0e066c49396bcbc2bd77a5215fad858d7a
[ "MIT" ]
permissive
FoldingAtHome/covid-moonshot
78c2bc7e6d00f371d626fcb0a4381cf528413eef
814189c239f8f0189c6cc48afcbca1f96c87dd09
refs/heads/master
2023-02-23T04:23:00.064389
2023-02-19T23:18:10
2023-02-19T23:18:10
249,626,873
62
11
MIT
2022-03-01T20:43:56
2020-03-24T06:07:39
Python
UTF-8
Python
false
false
5,603
py
#!/bin/env python """ Collect experimental data from Lauren's reassignments via CSV file """ import numpy as np import json import math import itertools import datetime from rich.progress import track from openeye import oechem xchem_project = 'Mpro' creator = 'John Chodera <john.chodera@choderalab.org>' creation_d...
[ "john.chodera@choderalab.org" ]
john.chodera@choderalab.org
db61be2c3b26ca80b961f9b324f981d7de1be14a
99361c45166c3e39bdc1e5e7ff796b60e5edc20e
/setup.py
59352d3cc65d0277c567478e0470ebd9187c11c0
[]
no_license
wkcn/WorldCup
2b358b73aab5496b3f7e209dc615c97c0181abff
1acef2d2cadf5e8cbb911b05a8ecfd98aa43920d
refs/heads/master
2020-03-08T10:38:08.558059
2018-04-04T15:03:07
2018-04-04T15:03:07
128,077,995
1
0
null
null
null
null
UTF-8
Python
false
false
415
py
# -*- coding: utf-8 -*- from distutils.core import setup import py2exe import sys sys.argv.append('py2exe') setup( windows=[ {"script":"run.py","icon_resources":[(1,"logo.ico"),]}], options={ "py2exe":{"includes":["sip"],"dll_excludes":["MSVCP90.dll"],\ "bundle_files": ...
[ "wkcn@live.cn" ]
wkcn@live.cn
eca69742d6ec30ac047d2b79b46fa7b0ddc3cf56
237cc38de0cf7a6e3661ed552ae771bd972d7438
/base/obj2_demo.py
ce08920ba539aeb6829dc7a411f369bec63a4e60
[]
no_license
chydream/python
af5ad8a98c78de71e255f7b776f936c4b89c616e
e5bfef53a7770d4f323bd2877f93c8166c563695
refs/heads/master
2020-05-07T17:00:33.558178
2020-05-05T13:45:19
2020-05-05T13:45:19
180,708,509
0
0
null
null
null
null
UTF-8
Python
false
false
1,949
py
class Point(object): # 自定义Point类的构造(初始化)方法 def __init__(self, x, y): self.x = x self.y = y # 自定义Point类对象的格式化输出函数(string()) def string(self): print(print("{{X:{0},Y:{1}}}".format(self.x, self.y))) class Circle(Point): # 自定义Circle类的构造(初始化)方法 def __init__(self, x, y, radi...
[ "yong.chen@doone.com.cn" ]
yong.chen@doone.com.cn
f31a50aaf5650420eddc7d4b4b4b0b17edbae209
3fd7adb56bf78d2a5c71a216d0ac8bc53485b034
/experiments/cem_exp/benchmarks_goalimage/hor15_easygoal/mod_hyper.py
1060f0f55147f0e67cf53d1bef3020b1c04858e0
[]
no_license
anair13/lsdc
6d1675e493f183f467cab0bfe9b79a4f70231e4e
7760636bea24ca0231b4f99e3b5e8290c89b9ff5
refs/heads/master
2021-01-19T08:02:15.613362
2017-05-12T17:13:54
2017-05-12T17:13:54
87,596,344
0
0
null
2017-04-08T00:18:55
2017-04-08T00:18:55
null
UTF-8
Python
false
false
640
py
current_dir = '/'.join(str.split(__file__, '/')[:-1]) bench_dir = '/'.join(str.split(__file__, '/')[:-2]) from lsdc.algorithm.policy.cem_controller_goalimage import CEM_controller policy = { 'type' : CEM_controller, 'use_goalimage':"", 'low_level_ctrl': None, 'usenet': True, 'nactions': 5, 'r...
[ "frederik.ebert@mytum.de" ]
frederik.ebert@mytum.de
e17f92d3d343d5272ea4fbcebd7c5a86df5c6a2d
163bbb4e0920dedd5941e3edfb2d8706ba75627d
/Code/CodeRecords/2811/60768/235290.py
44942420c792f233946644b79e4acce40a08ea76
[]
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
313
py
pAndn = input().split(' ') map = int(pAndn[0]) * [''] num = int(pAndn[1]) conflict = False for i in range(num): index = int(input()) if map[index % len(map)] == '': map[index % len(map)] = index else: print(i + 1) conflict = True break if not conflict: print(-1)
[ "1069583789@qq.com" ]
1069583789@qq.com
376f82bf1be280037aaad21374b43a1e4dce82eb
69889d51e933b4e8a1d4c8397a317aa1d1365a5a
/Stack/17299.py
3de2e8eff8d86d4a1485e3e058e23e566d2857dc
[]
no_license
ddraa/Algorithm
a35c87631420ceccec6f7094da6f2b22ddb66c8c
a97c6628d5389f7f93603a2e95ac3b569057f556
refs/heads/master
2023-06-25T17:12:39.925821
2021-07-18T05:53:28
2021-07-18T05:53:28
279,240,088
0
0
null
null
null
null
UTF-8
Python
false
false
411
py
import sys input = sys.stdin.readline N = int(input()) F, stack = {}, [] arr = list(map(int, input().split())) res = [-1 for _ in range(N)] for n in arr: if n in F: F[n] += 1 else: F[n] = 1 for i in range(N - 1, -1, -1): while stack and stack[-1][0] <= F[arr[i]]: stack.pop() ...
[ "ruuddyd@gmail.com" ]
ruuddyd@gmail.com
bfb31bbaa48485e6c87d4b9683dbf6fc1c4d2f7b
91a9f5a7afb398f4238527708cbc155dc972cbfa
/older/Grapher_app0/Names_Module.py
1ff52a69c3e05a1e89a15ebd6b1cc78a4dd3597e
[]
no_license
bddmodelcar/kzpy3.2
cd6f9bf6b7b8b920c79b4ee36c2592b992ae4332
b044b26649b19b240bd580feca20424a237374b1
refs/heads/master
2021-01-19T21:01:58.687712
2017-08-23T22:39:56
2017-08-23T22:39:56
101,243,308
0
1
null
2017-08-24T02:04:50
2017-08-24T02:04:50
null
UTF-8
Python
false
false
1,681
py
from Paths_Module import * exec(identify_file_str) for _name in [ 'pts_plot','img','purpose','name','xyz_sizes','data_type','x','y', 'xmin','ymin','xmax','ymax','xscale','yscale','floats_to_pixels', 'pixels_to_floats','ysize','xsize','lines_plot','color', 'reject_run', 'left', 'out1_in2', 'dic', 'name', 'tes...
[ "karlzipser@berkeley.edu" ]
karlzipser@berkeley.edu
7540b3442e53b36dbb55bce5a3c058d967207818
296d4fec38b2a5ec2f4eb402d1b2145980dd184b
/aliens.py
ac6d5f3a8d3bb0c5203dcb6a7cf851111dbd07b3
[]
no_license
RayGutt/python
9464ae7c63850240df58ff78c6050bc6e1d35b3e
a9b68d43923f13b58e7d59fdabf649820d48bd52
refs/heads/master
2020-11-27T01:17:57.136062
2020-01-22T14:36:25
2020-01-22T14:36:25
229,254,199
0
0
null
2020-01-05T19:47:27
2019-12-20T11:39:53
HTML
UTF-8
Python
false
false
844
py
alien_0 = {'color': 'green', 'points': 5} alien_1 = {'color': 'yellow', 'points': 10} alien_2 = {'color': 'yellow', 'points': 15} aliens = [alien_0, alien_1, alien_2] for alien in aliens: print(alien) print("_________") # Make an empty list for storing aliens. aliens = [] # Make 30 green aliens. for alien_number ...
[ "le.caribou@gmail.com" ]
le.caribou@gmail.com
37dcddbb5760b82cc718a99321054fb899fc11bf
ba3231b25c60b73ca504cd788efa40d92cf9c037
/nitro-python-13.0.36/nssrc/com/citrix/netscaler/nitro/resource/config/cmp/cmppolicy.py
27844dcdfaf065883b411a91b98dd7aa313f7a18
[ "Apache-2.0", "Python-2.0", "LicenseRef-scancode-unknown-license-reference" ]
permissive
zhuweigh/vpx13
f6d559ae85341e56472e3592cbc67062dac34b93
b36caa3729d3ca5515fa725f2d91aeaabdb2daa9
refs/heads/master
2020-07-04T22:15:16.595728
2019-09-20T00:19:56
2019-09-20T00:19:56
202,435,307
0
0
null
null
null
null
UTF-8
Python
false
false
16,184
py
# # Copyright (c) 2008-2019 Citrix Systems, Inc. # # 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 l...
[ "zhuwei@xsky.com" ]
zhuwei@xsky.com
a232ab5e7b7b3938334e7d69911f01ae956a17eb
4fdaa61e2fb2d320a0903e17024598c6a67ab0fb
/python/Vaav/kitchen.py
9ffefc461390bce99d81d0b9e5536c9669c10b11
[]
no_license
khans/ProgrammingAndDataStructures
10d5cd5f30f703298ba132be4dfba828f3a0e9e1
58c1d822fa5eab17485369bc40dd1376db389f44
refs/heads/master
2021-01-25T14:03:40.616633
2018-06-19T23:02:44
2018-06-19T23:02:44
123,643,607
0
0
null
null
null
null
UTF-8
Python
false
false
894
py
from collections import deque,defaultdict class Table: capacity = 0 availability = True occupancy = 0 def __init__(self,number): self.number = number def addOccupant(self): self.occupancy += 1 self.availability = False def setCapacity(self,capacity): self.capacity = capacity de...
[ "isafakhan@gmail.com" ]
isafakhan@gmail.com
7fbc8d5ca1d93c1ff42c22beefc7772cb15d39ca
2f8f8171b3b996b0c866ede72367ec26f64eae39
/sampleproject/book/BeginningPython3_O_REILLY/chapter10/10-8.py
659dc821caed89f2f69b939227a7fca816939de1
[]
no_license
kabaksh0507/exercise_python_it-1
da46edce09301b03a5351ee1885fb01eb69d8240
2b6c80a79494c9981e51bd03696c3aa19d6625ec
refs/heads/main
2023-03-04T03:12:44.188468
2021-02-08T08:55:36
2021-02-08T08:55:36
337,014,697
0
0
null
2021-02-08T08:57:30
2021-02-08T08:57:30
null
UTF-8
Python
false
false
169
py
from datetime import date birth_day = date(1987, 8, 9) print(birth_day) fmt = 'year = %Y , month = %B , day = %d , day of the week = %A' print(birth_day.strftime(fmt))
[ "kazkitou9080@gmail.com" ]
kazkitou9080@gmail.com
597f6e44b90374e56fd32df848bc609cc1e37273
733496067584ee32eccc333056c82d60f673f211
/idfy_rest_client/models/signer_info.py
be68e6b47d5cff31143fcbe749d6914360bfe06d
[ "MIT" ]
permissive
dealflowteam/Idfy
90ee5fefaa5283ce7dd3bcee72ace4615ffd15d2
fa3918a6c54ea0eedb9146578645b7eb1755b642
refs/heads/master
2020-03-07T09:11:15.410502
2018-03-30T08:12:40
2018-03-30T08:12:40
127,400,869
0
0
null
null
null
null
UTF-8
Python
false
false
3,191
py
# -*- coding: utf-8 -*- """ idfy_rest_client.models.signer_info This file was automatically generated for Idfy by APIMATIC v2.0 ( https://apimatic.io ) """ import idfy_rest_client.models.mobile import idfy_rest_client.models.organization_info class SignerInfo(object): """Implementation of th...
[ "runes@unipluss.no" ]
runes@unipluss.no
bf6f30ccfa37f9d4acc212e1f4ec33d7b4457052
09fd456a6552f42c124c148978289fae1af2d5c3
/Greedy/1282.py
0aeb767815ec62b1439482c75e3f15c26f9a4fc9
[]
no_license
hoang-ng/LeetCode
60b4e68cbcf54cbe763d1f98a70f52e628ab32fb
5407c6d858bfa43325363503c31134e560522be3
refs/heads/master
2021-04-10T11:34:35.310374
2020-07-28T10:22:05
2020-07-28T10:22:05
248,932,393
0
0
null
null
null
null
UTF-8
Python
false
false
1,391
py
# 1282. Group the People Given the Group Size They Belong To # There are n people whose IDs go from 0 to n - 1 and each person belongs exactly to one group. Given the array groupSizes of length n telling the group size each person belongs to, return the groups there are and the people's IDs each group includes. # You ...
[ "hoang2109@gmail.com" ]
hoang2109@gmail.com
a728af285352f2bc6175af70b01b5f0761313a71
acf5a0ea75b92eb8d082f04961a7646d8ccf7b32
/passpie/database.py
cf67372c689b4ec9ef0d8045fd5348f847a064c1
[ "MIT" ]
permissive
mauriciovieira/passpie
6f9c98ba086bfe10a9d2c964c473507feba22586
bd0f5cca6ce12fc4469f4007199bef7ab3b8980e
refs/heads/master
2021-01-18T08:56:23.853489
2016-01-26T07:03:26
2016-01-26T07:03:26
50,439,403
0
0
null
2016-01-26T15:49:43
2016-01-26T15:49:43
null
UTF-8
Python
false
false
3,841
py
from datetime import datetime import logging import os import shutil from tinydb import TinyDB, Storage, where, Query import yaml from .utils import mkdir_open from .credential import split_fullname, make_fullname class PasspieStorage(Storage): extension = ".pass" def __init__(self, path): super(Pa...
[ "marcwebbie@gmail.com" ]
marcwebbie@gmail.com
11fad38dc34588ed44dd250c8b3bee034cee5107
ca7aa979e7059467e158830b76673f5b77a0f5a3
/Python_codes/p03495/s959914177.py
79888ecf7a1c1e5617d415a8a5f3fbe869a319b8
[]
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
206
py
from collections import Counter N,K=map(int,input().split()) A=list(map(int,input().split())) c = Counter(A) val = sorted(c.values()) if len(val) <= K: print(0) exit() print(sum(val[:len(val)-K]))
[ "66529651+Aastha2104@users.noreply.github.com" ]
66529651+Aastha2104@users.noreply.github.com
9728d3469911e999ed53abd170b3c8608947e880
caaf9046de59559bb92641c46bb8ab00f731cb46
/Configuration/Generator/python/Upsilon1SToMuMu_forSTEAM_13TeV_TuneCUETP8M1_cfi.py
eaeffad1236fe5b17d942a6e9bfb79db3a17feaa
[]
no_license
neumeist/cmssw
7e26ad4a8f96c907c7373291eb8df205055f47f0
a7061201efe9bc5fa3a69069db037d572eb3f235
refs/heads/CMSSW_7_4_X
2020-05-01T06:10:08.692078
2015-01-11T22:57:32
2015-01-11T22:57:32
29,109,257
1
1
null
2015-01-11T22:56:51
2015-01-11T22:56:49
null
UTF-8
Python
false
false
3,453
py
import FWCore.ParameterSet.Config as cms from Configuration.Generator.Pythia8CommonSettings_cfi import * from Configuration.Generator.Pythia8CUEP8M1Settings_cfi import * source = cms.Source("EmptySource") generator = cms.EDFilter("Pythia8GeneratorFilter", pythiaPylistVerbosity = cms.untracked.i...
[ "you@somedomain.com" ]
you@somedomain.com
0a3953d0402b818210f35ac3401f274eb0d96b78
cae8adc520ee71ffd9cfc82418152b4ec63f9302
/template_wsgi/demo1.py
98b1b0acbce69b38b641792d1f5dcb3850bfeb56
[]
no_license
dong-c-git/WSGIServer
55111c04f4bbefe239949ddaea16c71221b7f795
1f0b58977e2a951f3c6dec335854dd9d6e31cdfd
refs/heads/master
2020-08-01T17:03:30.307962
2019-11-09T01:45:30
2019-11-09T01:45:30
211,054,455
0
0
null
null
null
null
UTF-8
Python
false
false
280
py
#coding:utf-8 import time def application(environ,start_response): status = '200 OK' response_headers = [('Content-Type','text/html')] start_response(status,response_headers) return str(environ)+'==Hello world from a simple WSGI application!-->%s\n'%time.ctime()
[ "dc111000@hotmail.com" ]
dc111000@hotmail.com
f8202764eacbf21b84e1afab879c8f6bea7c9820
ec6f83a3636fdb0d6f2266c56b58ac294eb2a945
/ntut python/associationRule.py
5c174b680a9cb0dfb518b5d31898b1cfb5313f2c
[]
no_license
jack20951948/Python-Learning
f65c2aacea6cbe61a8be2539f2959202546adb7d
d683790ba47b73c6360f5f804700c664d40777c9
refs/heads/main
2023-06-26T03:43:47.395088
2021-07-18T08:00:28
2021-07-18T08:00:28
387,111,521
0
0
null
null
null
null
UTF-8
Python
false
false
4,601
py
import tensorflow as tf import numpy as np import matplotlib.pyplot as plt import pandas as pd import networkx as nx from apyori import apriori #pip install apriori from wordcloud import WordCloud #pip install wordcloud def testTensorflow(): hello = tf.constant('hello tensorflow!') sess = tf.Session(...
[ "j20951948@gmail.com" ]
j20951948@gmail.com
fbee478ecc1dd477bdebf5a09cd472cb2d0ebc20
c42a085521cec895fac0021eb1638d6f077eadf7
/PYTHON_FUNDAMENTALS_May_August_2020/Exersice_Objects_And_Classes_26_06_2020/Storage.py
88a44072c4d4c8e1b26fab959fea06bf9c937ddf
[]
no_license
vasil-panoff/Python_Fundamentals_SoftUni_May_2020
f645ce85efa6db047b52a8b63d411d2e5bd5bd9a
daf1a27ff1a4684d51cf875ee0a4c0706a1a4404
refs/heads/main
2023-01-06T22:20:30.151249
2020-11-03T22:56:24
2020-11-03T22:56:24
309,818,123
0
0
null
null
null
null
UTF-8
Python
false
false
490
py
class Storage: def __init__(self, capacity): self.capacity = capacity self.storage = [] def add_product(self, product): if len(self.storage) < self.capacity: self.storage.append(product) def get_products(self): return self.storage storage = Storage(4) storage....
[ "vasil.panov@gmail.com" ]
vasil.panov@gmail.com
90a954e345f531880f8bfee7f4c958164933934e
aeac5b3cc7a34e3eeaef5d41e8d8ef7f4b3b38dc
/testlib/test_transforms.py
cdc9ecac6b175b53f53b6ebf7dd8e8589d1dffe3
[ "MIT" ]
permissive
venkatakrishnareddymallu/gramex
7377f68d7207248b98f846e54a9c458f4300d30a
725f7564e607f22fc43d06d639aeaf785500f284
refs/heads/master
2023-07-28T14:03:20.452158
2021-09-07T11:12:23
2021-09-07T11:12:23
null
0
0
null
null
null
null
UTF-8
Python
false
false
16,608
py
import io import os import yaml import inspect import unittest from dis import dis from types import GeneratorType from tornado.gen import coroutine, Task from orderedattrdict import AttrDict from orderedattrdict.yamlutils import AttrDictYAMLLoader from gramex.transforms import build_transform, flattener, badgerfish, t...
[ "root.node@gmail.com" ]
root.node@gmail.com
866d1c051acc929fded0b916a5dc384cd729456e
29f18e8ddde0379cef7fa00b1a50058be3cafa79
/numba/tests/test_make_function_to_jit_function.py
29161fff594545fffceee89dbe9390cb349f1dc4
[ "LicenseRef-scancode-secret-labs-2011", "BSD-3-Clause", "LicenseRef-scancode-python-cwi", "LicenseRef-scancode-free-unknown", "GPL-1.0-or-later", "LicenseRef-scancode-other-copyleft", "MIT", "LicenseRef-scancode-unknown-license-reference", "Python-2.0", "BSD-2-Clause" ]
permissive
numba/numba
9a8345ff5f7d57f0ffec40e39941ebf2684df0d1
46059957ad416e68476d1e5f32ccd59f7d5df2bb
refs/heads/main
2023-08-09T22:29:38.170300
2023-08-07T15:00:27
2023-08-07T15:00:27
3,659,275
8,247
1,151
BSD-2-Clause
2023-09-13T14:43:48
2012-03-08T11:12:43
Python
UTF-8
Python
false
false
8,288
py
from numba import njit from numba.core import errors from numba.core.extending import overload import numpy as np import unittest @njit def consumer(func, *args): return func(*args) @njit def consumer2arg(func1, func2): return func2(func1) _global = 123 class TestMakeFunctionToJITFunction(unittest.Test...
[ "stuart.archibald@googlemail.com" ]
stuart.archibald@googlemail.com
61c12fba05665362085355b586a72a95a6cb9038
65a3f548503cd1bdd9a429704aec630c0a507b4b
/src/genie/libs/parser/nxos/show_vxlan.py
7c7f3d6d9fb672cf68724c8a9bca7691087b3db0
[ "Apache-2.0" ]
permissive
LouiseSianEvans/genieparser
75c3c73612db4a7cb31f657dc6ad9f25b5bfebb5
7dd4d81834479e35a6c08254e10e7692b00b897b
refs/heads/master
2020-04-30T15:25:04.158694
2019-03-27T22:58:15
2019-03-27T22:58:15
176,919,539
0
0
Apache-2.0
2019-03-21T10:10:46
2019-03-21T10:10:43
Python
UTF-8
Python
false
false
84,285
py
"""show_vxlan.py NXOS parser for the following show commands: * show nve peers * show nve interface <nve> detail * show nve ethernet-segment * show nve vni * show nve vni summary * show nve multisite dci-links * show nve multisite fabric-links * show l2route fl all * show l2route ev...
[ "karmoham@cisco.com" ]
karmoham@cisco.com
0cd87e0d9eca96df30c68ee957e543ea4bf80730
08ee36e0bb1c250f7f2dfda12c1a73d1984cd2bc
/src/mnistk/networks/linearrelu_19.py
7b3a00c5cb35632a17f95048599dcdc9247a02b4
[]
no_license
ahgamut/mnistk
58dadffad204602d425b18549e9b3d245dbf5486
19a661185e6d82996624fc6fcc03de7ad9213eb0
refs/heads/master
2021-11-04T07:36:07.394100
2021-10-27T18:37:12
2021-10-27T18:37:12
227,103,881
2
1
null
2020-02-19T22:07:24
2019-12-10T11:33:09
Python
UTF-8
Python
false
false
1,091
py
# -*- coding: utf-8 -*- """ linearrelu_19.py :copyright: (c) 2019 by Gautham Venkatasubramanian. :license: MIT """ import torch from torch import nn class LinearReLU_19(nn.Module): def __init__(self): nn.Module.__init__(self) self.f0 = nn.Linear(in_features=784, out_features=75, bias=F...
[ "41098605+ahgamut@users.noreply.github.com" ]
41098605+ahgamut@users.noreply.github.com
b155c696a2a8dd91263093b7d99c2201926413c7
e558e99f3403b5931573789d88c2ad47fffe7362
/sum/two_sum.py
7a24bce29b647d3f00253a6d4ffa9dfa70458f70
[]
no_license
gerrycfchang/leetcode-python
a8a3a408381288a34caada8ca68c47c7354459fd
7fa160362ebb58e7286b490012542baa2d51e5c9
refs/heads/master
2021-05-11T00:38:17.925831
2018-07-31T14:50:42
2018-07-31T14:50:42
118,306,858
2
0
null
null
null
null
UTF-8
Python
false
false
1,122
py
''' Given an array of integers, return indices of the two numbers such that they add up to a specific target. You may assume that each input would have exactly one solution, and you may not use the same element twice. ''' class Solution(object): def twoSum(self, nums, target): """ :type nums: List[...
[ "alfie.gerrycheung@gmail.com" ]
alfie.gerrycheung@gmail.com
38367fd6306431bab28c7d9476eb7f23583717bf
1ee3dc4fa096d12e409af3a298ba01f5558c62b5
/ixnetwork_restpy/testplatform/sessions/ixnetwork/traffic/trafficitem/highlevelstream/udf/valuelist/valuelist.py
dbfa6ca0e26dadbdb5304e3fe9253effed894d09
[ "MIT" ]
permissive
parthpower/ixnetwork_restpy
321e64a87be0a4d990276d26f43aca9cf4d43cc9
73fa29796a5178c707ee4e21d90ff4dad31cc1ed
refs/heads/master
2020-07-04T13:34:42.162458
2019-08-13T20:33:17
2019-08-13T20:33:17
null
0
0
null
null
null
null
UTF-8
Python
false
false
4,049
py
# MIT LICENSE # # Copyright 1997 - 2019 by IXIA Keysight # # Permission is hereby granted, free of charge, to any person obtaining a copy # of this software and associated documentation files (the "Software"), # to deal in the Software without restriction, including without limitation # the rights to use, copy, modify,...
[ "srvc_cm_packages@keysight.com" ]
srvc_cm_packages@keysight.com
0e128695b6d32a1534a11c72d93838c79e35da17
a89d5746ab0255a32558be21c33c2d028e9b7148
/数学基础/code/朴素贝叶斯/高斯朴素贝叶斯.py
4b876860ed9d51444155b18dc4a4af60d2f108a0
[]
no_license
15110500442/pa-
9c4bf3b2e6906c4df1e609f65a58e00660f31fa7
561757e6f6f1e16deaa1b9e5af5ac78fed0e21f5
refs/heads/master
2020-04-13T01:56:20.208424
2018-12-24T11:39:11
2018-12-24T11:39:11
162,887,811
0
1
null
null
null
null
UTF-8
Python
false
false
466
py
#测试数据 import numpy as np #引入高斯朴素贝叶斯 from sklearn.naive_bayes import GaussianNB #训练集 features_train = np.array([[1,1],[1,2],[2,3],[2,3],[1,4],[2,4]]) labels_train = np.array([1,2,3,1,1,3]) #实例化 clf = GaussianNB() #训练数据 fit相当于train clf.fit(features_train, labels_train) #输出单个预测结果 features_test = np.array([[1,3...
[ "597945045@qq.com" ]
597945045@qq.com
f30b74b74f08df9126992b9926bc6a514aa82cac
3cd1246ff58f26329021f2d13caa62221c91d5a4
/testdata/python/stmt/with_.py
9fd016ae112182564286080a9cbcc9d114768021
[]
no_license
mwkmwkmwk/unpyc
0929e15fb37599496930299d7ced0bf1bedd7e99
000fdaec159050c94b7ecf6ab57be3950676f778
refs/heads/master
2020-12-01T14:01:57.592806
2016-03-21T14:11:43
2016-03-21T14:12:01
230,650,936
0
0
null
null
null
null
UTF-8
Python
false
false
160
py
from __future__ import with_statement with a: b c d with a as b: c with a as (a, b): c d while a: with b as c: continue
[ "koriakin@0x04.net" ]
koriakin@0x04.net
5dd5656c70b3d3fb0041c28be639da84f8a05701
7bb37821b54c2ffe0dc8cbf2a70bd20c932fb515
/users/migrations/0006_auto_20190812_1022.py
ae4141e0132bfd3748bbf0be56a5be60ae0212fd
[]
no_license
andrewhstead/dating-site
6dfed04404fa1ea03594ff08a1d3aa31fe07b47c
bc81ade529ab916093ba80ab009d03a00e1dfab0
refs/heads/master
2020-07-02T13:04:02.878187
2020-05-07T22:23:09
2020-05-07T22:23:09
176,342,530
0
0
null
null
null
null
UTF-8
Python
false
false
405
py
# Generated by Django 2.2.4 on 2019-08-12 09:22 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('users', '0005_auto_20190811_2134'), ] operations = [ migrations.AlterField( model_name='user', name='intro', ...
[ "andrew@andrewstead.co.uk" ]
andrew@andrewstead.co.uk
1c0396241c5678129c6a9423cdd169a9fcdbee83
de213b73f703fb8f285bc8cf15e388cc2f98898f
/venv/bin/Peg.py
9586b955a31d199a83f0a27a6c4cf33e702d3049
[]
no_license
adampehrson/Kattis
18de025a6a569a46c54cc85c996eec0b55c9f74b
a04922caa356f8113fe30a523f3a148d458a6132
refs/heads/main
2023-07-10T02:53:29.782854
2021-08-14T10:44:30
2021-08-14T10:44:30
395,948,382
0
0
null
null
null
null
UTF-8
Python
false
false
783
py
def checkmoves(karta, posx, posy): moves = 0 if karta[posy][posx - 1] == 'o': if karta[posy][posx - 2] == 'o': moves += 1 if karta[posy][posx + 1] == 'o': if karta[posy][posx + 2] == 'o': moves += 1 if karta[posy - 1][posx] == 'o': if karta[posy - 2][posx]...
[ "85373641+adampehrson@users.noreply.github.com" ]
85373641+adampehrson@users.noreply.github.com
a2f18034289b7450eea0d77004a2c70a1f3c0571
b8e9dd6fd8f8b691cba5a3af2388467bcf6c90bb
/samples/openapi3/client/3_0_3_unit_test/python-experimental/unit_test_api/paths/response_body_post_not_more_complex_schema_response_body_for_content_types/post.py
c63a09de280ebef09cc33bb720ce32b8c0316ad4
[ "Apache-2.0" ]
permissive
FallenRiteMonk/openapi-generator
f8b98940219eecf14dc76dced4b0fbd394522aa3
b6576d11733ecad6fa4a0a616e1a06d502a771b7
refs/heads/master
2023-03-16T05:23:36.501909
2022-09-02T01:46:56
2022-09-02T01:46:56
164,609,299
0
0
Apache-2.0
2019-01-08T09:08:56
2019-01-08T09:08:56
null
UTF-8
Python
false
false
7,669
py
# coding: utf-8 """ Generated by: https://openapi-generator.tech """ from dataclasses import dataclass import urllib3 from urllib3._collections import HTTPHeaderDict from unit_test_api import api_client, exceptions from datetime import date, datetime # noqa: F401 import decimal # noqa: F401 import functools ...
[ "noreply@github.com" ]
FallenRiteMonk.noreply@github.com
7ad3d6880008f2c252e939266d8e8e9eded5ffa4
c16ea32a4cddb6b63ad3bacce3c6db0259d2bacd
/google/logging/v2/logging-v2-py/google/cloud/logging_v2/services/metrics_service_v2/transports/grpc_asyncio.py
50feab7c61e55e6a3d999723b820f2fd4318e856
[ "Apache-2.0" ]
permissive
dizcology/googleapis-gen
74a72b655fba2565233e5a289cfaea6dc7b91e1a
478f36572d7bcf1dc66038d0e76b9b3fa2abae63
refs/heads/master
2023-06-04T15:51:18.380826
2021-06-16T20:42:38
2021-06-16T20:42:38
null
0
0
null
null
null
null
UTF-8
Python
false
false
16,147
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 or...
[ "bazel-bot-development[bot]@users.noreply.github.com" ]
bazel-bot-development[bot]@users.noreply.github.com
469ad333f4179cbdcbf8ce66fba436b6172c4ab3
9edaf93c833ba90ae9a903aa3c44c407a7e55198
/netex/models/fare_structure_element_price_ref.py
739a4aabbe862e4a51739db6b69106122466c992
[]
no_license
tefra/xsdata-samples
c50aab4828b8c7c4448dbdab9c67d1ebc519e292
ef027fe02e6a075d8ed676c86a80e9647d944571
refs/heads/main
2023-08-14T10:31:12.152696
2023-07-25T18:01:22
2023-07-25T18:01:22
222,543,692
6
1
null
2023-06-25T07:21:04
2019-11-18T21:00:37
Python
UTF-8
Python
false
false
333
py
from dataclasses import dataclass from .fare_structure_element_price_ref_structure import FareStructureElementPriceRefStructure __NAMESPACE__ = "http://www.netex.org.uk/netex" @dataclass class FareStructureElementPriceRef(FareStructureElementPriceRefStructure): class Meta: namespace = "http://www.netex.o...
[ "chris@komposta.net" ]
chris@komposta.net
5f48983e3802341541423c341cc6f5d54e73071f
b26d11147736cae7a1b10e7deaef08c339cb1e4e
/profiles/views.py
0173cad0d63ba9afa27f6df0fd76eb4ed69d0cdc
[]
no_license
Komilcoder/Art-blog-website
bcc72e6b18925c141efd28a101c321c82fe7e534
8c88e4245a3e5f36593ceade2ab242f331bf3121
refs/heads/master
2022-12-15T14:06:57.094660
2020-09-02T06:58:00
2020-09-02T06:58:00
291,511,085
0
0
null
null
null
null
UTF-8
Python
false
false
5,498
py
from django.shortcuts import render, redirect , get_object_or_404 from .models import Profile,Relationship,RelationshipManager from .forms import ProfileModelForm, CreateUserForm from django.contrib.auth.decorators import login_required from django.contrib.auth import authenticate,login from django.contrib import messa...
[ "yaxshilikovkomil@gmail.com" ]
yaxshilikovkomil@gmail.com
b6441bd419e7b43c5518e361d1ff550fe25ded57
70628500b7bdfa5fc548c39cbc8e6df449952a98
/baseball_API/stats/migrations/0017_auto_20161026_2209.py
a95a83c41aeceea5bfe0f1e070e0a6d70a7f17ae
[]
no_license
cjredmond/baseball_API
7cd4c1bd07560287d135ceb17f93821234a4fd1d
0bbe8b4573b34915ebe6eae0ec9b1de62ef42d13
refs/heads/master
2021-01-16T23:06:33.866358
2016-10-27T04:01:21
2016-10-27T04:01:21
72,024,468
0
0
null
null
null
null
UTF-8
Python
false
false
4,220
py
# -*- coding: utf-8 -*- # Generated by Django 1.10.2 on 2016-10-26 22:09 from __future__ import unicode_literals from django.db import migrations import csv def add_master_data(apps, schema_editor): Master = apps.get_model("stats", "Master") with open('Master.csv') as infile: reader = csv.DictReader(...
[ "connor.redmond@gmail.com" ]
connor.redmond@gmail.com
d579d9d7481591148299eedcc255a8d1d8a8cb21
7bd15f37ffd26f9f0470cae2b4c1ef491c35c5c1
/python/dirigible/sheet/tests/test_rewrite_formula_offset_cell_references.py
3ec2ce88b387f1e57dbbe6c330c75e45665fdf06
[ "MIT" ]
permissive
bwhmather/dirigible-spreadsheet
0063aba1cec7df1dc4fc0d5dbbcfaeeb1dad932f
ff0414912110553a5d0f317495cdba39a077a044
refs/heads/master
2020-12-28T22:53:10.312409
2014-09-14T16:15:59
2014-09-14T16:15:59
null
0
0
null
null
null
null
UTF-8
Python
false
false
8,396
py
# Copyright (c) 2010 Resolver Systems Ltd, PythonAnywhere LLP # See LICENSE.md # try: import unittest2 as unittest except ImportError: import unittest from dirigible.sheet.worksheet import Worksheet from dirigible.sheet.rewrite_formula_offset_cell_references import ( rewrite_formula, rewrite_source_sheet_...
[ "hjwp2@cantab.net" ]
hjwp2@cantab.net
304f5b58c3d48bcabde5d01bcb1635415e7c3590
9bdeffc12343cd5c5e7bf1f4cb8969c72d81c56b
/mpesa_api/urls.py
70e4b9988c53b2601dbe91606de11fb2948a7016
[]
no_license
johngaitho05/Mpesa-API-Python
5fe90d60261e9913d6adfa6bc9fc3028fe6c79e5
49314ac3d37be297783a7c6da7a1875ece24e1d0
refs/heads/master
2022-02-08T07:44:46.910257
2022-01-31T11:05:30
2022-01-31T11:05:30
222,941,616
2
0
null
null
null
null
UTF-8
Python
false
false
567
py
from django.urls import path, include from . import views urlpatterns = [ path('access/token', views.getAccessToken, name='get_mpesa_access_token'), path('online/lipa', views.lipa_na_mpesa_online, name='lipa_na_mpesa'), # register, confirmation, validation and callback urls path('c2b/register', views.r...
[ "johngaitho05@gmail.com" ]
johngaitho05@gmail.com
9b4a4205e03cccfbdc33ac81bc959da4c660fb3b
7e4ca815fa4776d41b2b46cdcada077149d72899
/course4/week4/graph.py
bf67b3634a527b2d80808c968688486839d57ed2
[]
no_license
kcollett1/Stanford_Algorithms
1a95e0ec12737f50926c23aede08fb246f719935
cdab3757ebb6c6a85ee4f9c630c00ad0b3fa24aa
refs/heads/master
2022-04-21T05:55:55.988759
2020-04-20T14:57:53
2020-04-20T14:57:53
257,314,127
2
0
null
null
null
null
UTF-8
Python
false
false
7,161
py
''' this is my implementation of a DIRECTED graph as an adjacency list. vertices are added to the graph from input containing the vertex num and a list of vertices connected to it. also implemented is Kosaraju's 2 pass algorithm to compute the strongly connected components (SCC) of a directed graph, us...
[ "collettikatrina@gmail.com" ]
collettikatrina@gmail.com
0af1b00428e976ba359b1a7ffb194f8eae839390
be50b4dd0b5b8c3813b8c3158332b1154fe8fe62
/StacksAndQueues/Python/NearestSmallerElements.py
3d77893e6f926f45de256ee34a8b88f67e31f45a
[]
no_license
Zimmermann25/InterviewBit
a8d89e090068d9644e28085625963c8ce75d3dff
6d2138e740bd5ba8eab992d9bf090977e077bfc5
refs/heads/main
2023-03-24T18:12:48.244950
2021-03-24T14:36:48
2021-03-24T14:36:48
350,835,917
0
0
null
null
null
null
UTF-8
Python
false
false
1,238
py
class Solution: # @param A : list of integers # @return a list of integers def prevSmaller(self, A): G = [-1] * len(A) # -1, bo to ułatwi trochę curMin = A[0] stack = [] for i in range(len(A)-1): #print(stack) if stack: ...
[ "noreply@github.com" ]
Zimmermann25.noreply@github.com
683d36009adb3aca93e808e943434e2bc04fe516
92993cff825da80a8ff601572a0c52b0b7d3cbde
/algorithms/Svm/ADMM/L1/ADMM_L1_m34.py
9d9fc819c9303a58aef992c0309a13f479a8c4cf
[]
no_license
yingzhuoy/MRs-of-linear-models
06e8b1f84b08c6aa77553813824cf35c1806c5a7
c3df8299e039a12613f2022b370b8c3e9c2dd822
refs/heads/master
2023-04-07T23:09:37.736952
2021-04-04T05:33:37
2021-04-04T05:33:37
265,124,549
0
0
null
null
null
null
UTF-8
Python
false
false
4,148
py
import numpy as np from numpy import linalg #import cvxopt #from cvxopt import matrix,solvers #import scipy.sparse.linalg from algorithms.clf import Clf """ Preconditioned Conjugate Gradient Method """ def precond(M, r): q = M * r return q def inner_prod(A, B): A = np.matrix(A) B = np.matrix(B) r...
[ "yingzhuoy@qq.com" ]
yingzhuoy@qq.com
a70b34ec60feceb1a77c2fd378dbb3a87121abd9
fc210e56f3d20947f84039a8ef07107bb11e6b5a
/main_prepare_tfrecords.py
def142e0fa4506356f5c7542938f2e953fb58cde
[]
no_license
ZhouYzzz/RecurrentTracking
344b5fcb73f04a749f9822ae0b18f8de83ee6308
9dfaf2b383b2a0f67272ec090b2a40bb5d1adee4
refs/heads/master
2021-09-11T20:47:31.566421
2018-04-12T06:50:05
2018-04-12T06:50:05
112,092,396
0
1
null
2018-03-22T11:39:37
2017-11-26T15:07:42
Python
UTF-8
Python
false
false
2,126
py
"""Create TFRecords files from ILSVRC2015""" import tensorflow as tf import tempfile, os, argparse from multiprocessing import Pool from tqdm import tqdm from ilsvrc2015 import ILSVRC2015, PHASE from annotations import parse_annotation_folder parser = argparse.ArgumentParser(formatter_class=argparse.ArgumentDefaults...
[ "zhouyz9608@gmail.com" ]
zhouyz9608@gmail.com
bcdd85a3ed8af68cb0db7988caed6866557c1a53
aaec91eb381f7a565457644ae3decf394f01c5ed
/pubwork/demo/learner/demo_webdriver.py
0d3a8b4a14febaff89051cba92b80bb3a6acfba7
[]
no_license
plutoese/pubwork
c5dd6f908599dcb05ae5b50435a34d269391ff61
0649e0ab098c1f7099d98b7fd981425b24fddf3e
refs/heads/master
2021-01-12T01:07:03.096016
2017-12-24T05:05:19
2017-12-24T05:05:19
78,340,295
0
0
null
null
null
null
UTF-8
Python
false
false
87
py
import webbrowser webbrowser.open('http://docs.python.org/lib/module-webbrowser.html')
[ "glen.zhang7@gmail.com" ]
glen.zhang7@gmail.com
413da12fae267071b1dbfa9ca3c2fc0495b14b9e
65d844f57c93b97459ba58a7f8d31fcddaef2c57
/example/train_multi_task.py
8ca016de299fe5216290169295f8f39fb5af5857
[ "Apache-2.0" ]
permissive
tonywenuon/keras_dialogue_generation_toolkit
797411838e8213422cce4f5ac94f4e98e56cc912
75d82e7a281cd17a70bd9905fcebf2b906a6deec
refs/heads/master
2023-04-04T14:39:10.117825
2021-03-29T11:25:23
2021-03-29T11:25:23
215,433,666
24
2
null
2023-03-24T22:45:14
2019-10-16T01:55:53
Python
UTF-8
Python
false
false
16,211
py
import os, sys, time, math project_path = os.path.sep.join(os.path.abspath(__file__).split(os.path.sep)[:-2]) if project_path not in sys.path: sys.path.append(project_path) import tensorflow as tf import keras import argparse import numpy as np from copy import deepcopy from keras.callbacks import ModelCheckpoint...
[ "you@example.com" ]
you@example.com
4bc55c6b685bc80a4aae415b71b7fb0645f10a5a
380a47268c5975473a2e7c38c747bc3bdbd981b1
/benchmark/third_party/transformers/examples/research_projects/adversarial/utils_hans.py
e54792ad2f82b91a560f56cdc19020ad25b1b2c2
[ "Apache-2.0" ]
permissive
FMInference/FlexGen
07aa9b1918c19b02077e13ad07e76840843810dd
d34f7b4b43ed87a374f394b0535ed685af66197b
refs/heads/main
2023-07-24T02:29:51.179817
2023-07-21T22:38:31
2023-07-21T22:38:31
602,270,517
6,821
411
Apache-2.0
2023-07-07T22:59:24
2023-02-15T21:18:53
Python
UTF-8
Python
false
false
11,761
py
# coding=utf-8 # Copyright 2018 The Google AI Language Team Authors and The HuggingFace Inc. team. # Copyright (c) 2018, NVIDIA CORPORATION. All rights reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a cop...
[ "sqy1415@gmail.com" ]
sqy1415@gmail.com
2f4ad34593d619afe4392bde5ef7782179948d56
fd69d76dcfe60b97ca02eb853e3f2cd2b68d990e
/tree/serialize_deserialize.py
34c503596f178063464a9402d8208b4a6238f7eb
[]
no_license
Levalife/DSA
f3204946c9225f0472ec8470c0fbe29357559f35
4e5a94ba94fa5be01f4760a2651001426b3ef973
refs/heads/master
2023-01-23T03:51:48.864888
2020-11-27T13:58:04
2020-11-27T13:58:04
298,612,309
0
0
null
null
null
null
UTF-8
Python
false
false
1,766
py
# -*- coding: utf-8 -*- class Tree: def __init__(self, root=None): self.root = root class Node: def __init__(self, value, parent=None, left=None, right=None): self.value = value self.left = left self.right = right self.parent = parent ''' 10 ...
[ "levushka14@gmail.com" ]
levushka14@gmail.com
4a2f8d6c9ed2d00e8ed94eef8b4bce6ebb50a686
4518ce1ee32ffbd4004df6865f557c5a3909c135
/awards/migrations/0004_reviews.py
6c70e3944ef1fceffaca5ddef335e41ee17a2d17
[ "MIT" ]
permissive
petermirithu/Grant_py
d9a04dee7fc0ae80e55a15b073e6b24108b23555
0e2e8d2a01c361583853e4d06fc4ede45e3741f8
refs/heads/master
2022-12-14T19:04:42.503002
2020-01-09T17:45:00
2020-01-09T17:45:00
231,231,593
1
0
MIT
2022-12-08T03:22:31
2020-01-01T15:20:26
Python
UTF-8
Python
false
false
962
py
# Generated by Django 2.2.8 on 2020-01-03 15:11 from django.conf import settings from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): dependencies = [ migrations.swappable_dependency(settings.AUTH_USER_MODEL), ('awards', '0003_auto_2020...
[ "pyra_m.k@yahoo.com" ]
pyra_m.k@yahoo.com
5c064fb27f4e1f5959994430e93a3a4ee5d91147
72fcc9b617014484a1c021fa90af57b457aba5ba
/06.BinarySearchTree/01.ConstructionConversion/3_construct_bst_from_preorder.py
a4d96db9559efa2c78f1ee3b4a74ff5d091c6804
[]
no_license
shindesharad71/Data-Structures
249cb89fc3b54a3d8a67e4e9db832e256d072ee6
a7cd247228a723e880bccd3aa24c072722785f6d
refs/heads/main
2023-07-24T21:01:08.070082
2021-09-03T04:02:05
2021-09-03T04:02:05
370,706,713
1
0
null
null
null
null
UTF-8
Python
false
false
2,468
py
# Construct BST from given preorder traversal # https://www.geeksforgeeks.org/construct-bst-from-given-preorder-traversa/ # A O(n^2) Python3 program for # construction of BST from preorder traversal # A binary tree node class Node: # A constructor to create a new node def __init__(self, data): self...
[ "shindesharad71@gmail.com" ]
shindesharad71@gmail.com
f22dc825cf7dbb473a0783088cb661e8971a18f1
e7569ef74265f999fbeac9c2ffcf07e0b3a40e31
/backend/manage.py
1075829ba9e9ee42d33260f3b64a0950aae35882
[]
no_license
crowdbotics-apps/now-prediction-25146
2d1999c58cbba61e719475f7c0c61d3222f484f4
562f8e2892c11e982a24231e6831d1b7df2ce43c
refs/heads/master
2023-03-27T00:05:11.957207
2021-03-20T15:04:59
2021-03-20T15:04:59
349,755,728
0
0
null
null
null
null
UTF-8
Python
false
false
640
py
#!/usr/bin/env python """Django's command-line utility for administrative tasks.""" import os import sys def main(): os.environ.setdefault('DJANGO_SETTINGS_MODULE', 'now_prediction_25146.settings') try: from django.core.management import execute_from_command_line except ImportError as exc: ...
[ "team@crowdbotics.com" ]
team@crowdbotics.com