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
6df182f0f896addcf9738b9a20ab16600265939b
b9ed14f23d7d48ce88a93a808556cab9a0abc682
/tensorflow_model_optimization/python/core/quantization/keras/graph_transformations/model_transformer_test.py
0398bcdfa5e161b6894a4dd2111cac7008fd2e69
[ "LicenseRef-scancode-generic-cla", "Apache-2.0" ]
permissive
akarmi/model-optimization
2a53655e92cabe5b180a0319bc64c339494b97bb
2d3faaa361ecb3639f4a29da56e0e6ed52336318
refs/heads/master
2020-08-16T17:20:55.836218
2019-10-07T17:49:50
2019-10-07T17:50:12
215,530,733
0
0
Apache-2.0
2019-10-16T11:23:40
2019-10-16T11:23:40
null
UTF-8
Python
false
false
8,873
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
44074f6a7dc371ac0f50ed51f5d05b5c89a93a7e
981fbc25f4a8ef0695830d54c36e0e7c2087575c
/input_template.py
3ebeae5ee3a6f7dbad4f1574bf6d0f216b007231
[]
no_license
Sandy4321/CS_algorithm_scripts
1b0984c25aab362c18767094f6c6252afd8b9f6b
6eef6ac07ff07362ddaec850a47d7ad7053993b2
refs/heads/master
2021-01-15T10:07:18.940108
2015-06-08T23:27:25
2015-06-08T23:27:25
null
0
0
null
null
null
null
UTF-8
Python
false
false
415
py
def solveMeSecond(a,b): return a+b n = int(raw_input()) #faster than n = input() , since input() executes the line as python command for i in range(0,n): a, b = raw_input().split() a,b = int(a),int(b) res = solveMeSecond(a,b) print res ''' Alternate code n = int(raw_input()) for _ in range(n...
[ "ymeng.ucla@gmail.com" ]
ymeng.ucla@gmail.com
3f6ae3557fb840b712ba31d66869c0d17cc0a93b
d5214b1331c9dae59d95ba5b3aa3e9f449ad6695
/qPloneSkinDump/tags/0.7.3/skin_template/Extensions/utils.py
725f5e878f168f0a5e16a43a46eab2ca68f14068
[]
no_license
kroman0/products
1661ee25a224c4b5f172f98110944f56136c77cf
f359bb64db22f468db5d1e411638790e94d535a2
refs/heads/master
2021-01-10T07:58:04.579234
2014-06-11T12:05:56
2014-06-11T12:05:56
52,677,831
0
0
null
null
null
null
UTF-8
Python
false
false
21,739
py
import os, sys, re, string from StringIO import StringIO from time import gmtime, strftime from zLOG import LOG, INFO from zExceptions import BadRequest from App.config import getConfiguration from Products.CMFCore.utils import getToolByName from Products.CMFCore.DirectoryView import addDirectoryViews from Products.%(S...
[ "mylan@4df3d6c7-0a05-0410-9bee-ae8b7a76f946" ]
mylan@4df3d6c7-0a05-0410-9bee-ae8b7a76f946
e310d84ef134fa90d02ddbcb43eb4159e92125c2
7d4597b6f9b631dd1f91059a4d904d2847e29a9c
/offerSpider/spiders/saveon.py
b9e4eb0faa58041584990acba2c7d8d25a7d856e
[]
no_license
lychlov/offerSpider
6efc1b47e235902252ad0534f916d7f0baa49d00
8559ae3c65538d365aa11598d1070a4eadc82a1f
refs/heads/master
2020-03-23T14:42:41.796002
2019-01-24T03:20:51
2019-01-24T03:20:51
141,694,389
0
0
null
null
null
null
UTF-8
Python
false
false
4,760
py
# # -*- coding: utf-8 -*- # import re # # import requests # import scrapy # from bs4 import BeautifulSoup # # from offerSpider.util import get_header # from offerSpider.items import CouponItem # # # class SaveonSpider(scrapy.Spider): # name = 'saveon' # allowed_domains = ['saveoncannabis.com'] # start_urls ...
[ "czk499658904@126.com" ]
czk499658904@126.com
3655a1d7009c58072673e92b9dcc169dbed6d245
bcbcd360967d9f79ef542ead5b30de42ec61b2d3
/code_v1_recovered/Unigrams/top100LinksPerCom.py
4a2b7812a4374ffdf8f5fa87ecf736bcdf22e711
[]
no_license
Roja-B/EvolvingComs
d00b30576e6b8977ce1be0c6317155bfeb711806
b58fa29972d9aad095ed0f364b1e0ec876b9b6c5
refs/heads/master
2020-04-14T18:30:48.657243
2013-02-11T05:54:16
2013-02-11T05:54:16
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,233
py
import operator import sys from noLow import * # this program produces the list of top 100 links per community based on the Chi-squared table for each time window #PATH = raw_input('Enter data path: ') #M = int(raw_input('Enter the number of communities: ')) #tablefilename = raw_input("Enter file name: ") pathfile = ...
[ "roja@ucla.edu" ]
roja@ucla.edu
61eface07e2a27ae86d3c33097cb278cffe65e4f
a6d45b7b0caccc92dd7b0d2cc352498a32f5a181
/uploader/migrations/0001_initial.py
52eaec7d149d4ac8deb876b1956156002064a661
[]
no_license
suhailvs/djangofileupload
e149e27b085f18f69c61074039e08a9c74283ca2
40b73cdf5c50bd44a4956ec70cf52d4c358f58c2
refs/heads/master
2023-03-23T17:34:53.077721
2020-04-20T16:09:29
2020-04-20T16:09:29
20,531,971
9
2
null
null
null
null
UTF-8
Python
false
false
565
py
# Generated by Django 3.0.5 on 2020-04-20 15:29 from django.db import migrations, models class Migration(migrations.Migration): initial = True dependencies = [ ] operations = [ migrations.CreateModel( name='Upload', fields=[ ('id', models.AutoField(a...
[ "suhailvs@gmail.com" ]
suhailvs@gmail.com
7e2974f9de7a5d5e34105cf131643c825f8338db
ca7aa979e7059467e158830b76673f5b77a0f5a3
/Python_codes/p02991/s030157837.py
6e3b67de9db4e8ee071c1c288612c95cbf324ab6
[]
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
758
py
import sys input = sys.stdin.buffer.readline from collections import deque def main(): N,M = map(int,input().split()) edge =[[] for _ in range(N)] for _ in range(M): u,v = map(int,input().split()) edge[u-1].append(v-1) S,T = map(int,input().split()) q = deque() go = [[False for...
[ "66529651+Aastha2104@users.noreply.github.com" ]
66529651+Aastha2104@users.noreply.github.com
996339b2d5f97720cb4f6779affdae2d70fef420
d8cbc94a4207337d709a64447acb9c8fe501c75a
/subset_selection/code/cli.py
54738e4db5034a5f1e4316b6792e9c41b4e53b4e
[ "MIT" ]
permissive
sripathisridhar/acav100m
6f672384fa723a637d94accbbe11a9a962f5f87f
13b438b6ce46d09ba6f79aebb84ad31dfa3a8e6f
refs/heads/master
2023-09-06T01:05:21.188822
2021-11-18T08:08:08
2021-11-18T08:08:08
null
0
0
null
null
null
null
UTF-8
Python
false
false
3,111
py
import time import datetime from pathlib import Path import fire from args import get_args from run import run_single from run_contrastive import run_single_contrastive from chunk import run_chunks, reduce_all_pkls from chunk_contrastive import run_chunks_contrastive from save import merge_all_csvs from merge_contras...
[ "sangho.lee@vision.snu.ac.kr" ]
sangho.lee@vision.snu.ac.kr
9775bc6bd071f66fbb05d218a99381b23510f116
be73248aa4f1171e81b65cf955c4bd6110d56095
/request_test.py
353ec800d3b9bd9c0e3797743ad8a33355ced72f
[]
no_license
rogerhoward/lambot
781c158e58bd71e2f3eb480aab31f181aee55e62
d5588041fc92b779ba88479d8657f9b8a4916692
refs/heads/development
2022-02-18T05:03:23.911978
2017-06-22T03:22:11
2017-06-22T03:22:11
86,493,856
1
1
null
2022-02-04T15:04:55
2017-03-28T18:30:43
Python
UTF-8
Python
false
false
2,137
py
#!/usr/bin/env python import os import requests from pprint import pprint import click @click.command() @click.option('--token', default='gIkuvaNzQIHg97ATvDxqgjtO', help='Slack API token.') @click.option('--team_id', default='T0001', help='The unique Slack team ID') @click.option('--team_domain', default='example', he...
[ "rogerhoward@mac.com" ]
rogerhoward@mac.com
7fd4b8acc7c9c38677a8256d3556db119b6fe7c8
eb9f655206c43c12b497c667ba56a0d358b6bc3a
/python/testData/create_tests/create_tst_class.expected_pytest_2k.py
327ec499b4f492f406f449db0fb397764f8ae8eb
[ "Apache-2.0" ]
permissive
JetBrains/intellij-community
2ed226e200ecc17c037dcddd4a006de56cd43941
05dbd4575d01a213f3f4d69aa4968473f2536142
refs/heads/master
2023-09-03T17:06:37.560889
2023-09-03T11:51:00
2023-09-03T12:12:27
2,489,216
16,288
6,635
Apache-2.0
2023-09-12T07:41:58
2011-09-30T13:33:05
null
UTF-8
Python
false
false
111
py
class Spam(object): def eggs(self): assert False def eggs_and_ham(self): assert False
[ "intellij-monorepo-bot-no-reply@jetbrains.com" ]
intellij-monorepo-bot-no-reply@jetbrains.com
c2cd0da87716a6c9fe21cade4cc83fb2007f479d
ebc7607785e8bcd6825df9e8daccd38adc26ba7b
/python/baekjoon/2.algorithm/brute_force/백준_감소하는_수.py
b4b9f0e4b6dd253325d331cce5183803d908e65f
[]
no_license
galid1/Algorithm
18d1b72b0d5225f99b193e8892d8b513a853d53a
5bd69e73332f4dd61656ccdecd59c40a2fedb4b2
refs/heads/master
2022-02-12T07:38:14.032073
2022-02-05T08:34:46
2022-02-05T08:34:46
179,923,655
3
0
null
2019-06-14T07:18:14
2019-04-07T05:49:06
Python
UTF-8
Python
false
false
571
py
import sys def dfs(cur_num, limit): global answer, idx, n, answers # 재귀 종료 if len(cur_num) == limit: idx += 1 answers.append(cur_num) # 정답이 존재 if idx == n: print(cur_num) sys.exit() return if not cur_num: for i in range(10): ...
[ "galid1@naver.com" ]
galid1@naver.com
2f06ed76fa47c4244dbaeecb75147c3f68f79bde
de24f83a5e3768a2638ebcf13cbe717e75740168
/moodledata/vpl_data/29/usersdata/67/9081/submittedfiles/atividade.py
a1a123328be3fb4dd0cf7fd77b88a631cf61ee74
[]
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
213
py
# -*- coding: utf-8 -*- from __future__ import division import math n=int(input("Digite o valor de n:")) contador=0 i=1 while (i<=n): if n//10=!0: contador=contador+1 i=i+1 print(contador)
[ "rafael.mota@ufca.edu.br" ]
rafael.mota@ufca.edu.br
0f2f7ee10782ae1ea20dac49abf367a2909b2920
7578f8752ea9693c9b2bcca1b4f4bddb74ea4c4b
/projector/projections.py
bb0223ddd257c754cf518486cd794b58e3a14024
[ "MIT" ]
permissive
SixiemeEtage/projector
5ade66f8932c5905619518b6df4cf6fc460bd040
6d6b2488322556b1cd71eafc7d784787aca331bd
refs/heads/master
2021-01-19T08:48:41.375749
2019-03-17T13:52:06
2019-03-17T14:06:54
81,648,850
6
1
null
null
null
null
UTF-8
Python
false
false
906
py
import libprojector PROJECTION_EQUIRECTANGULAR = 'equirectangular' PROJECTION_CUBEMAP = 'cubemap' class BaseProj(object): def __init__(self, image_width, options): self.image_width = image_width self.options = options def get_projection(self): raise NotImplementedError class E...
[ "dulacpier@gmail.com" ]
dulacpier@gmail.com
2993ce92666d43ec9e6a520bf4027609ca676413
221e3afe0ef457c088d9c7725b5a1cc70d77b16e
/base/migrations/0002_remove_category_content.py
418f3ac3266d248bb9952513d02122a2b10c217b
[]
no_license
Rockstreet/titov_base
6615087518b33635da6fec4d73716670c0b25d5a
612d842c423ffc3754e90a463029e9415aacb318
refs/heads/master
2021-01-19T05:22:06.940949
2017-04-12T16:09:06
2017-04-12T16:09:06
87,428,498
0
0
null
null
null
null
UTF-8
Python
false
false
380
py
# -*- coding: utf-8 -*- # Generated by Django 1.11 on 2017-04-07 09:52 from __future__ import unicode_literals from django.db import migrations class Migration(migrations.Migration): dependencies = [ ('base', '0001_initial'), ] operations = [ migrations.RemoveField( model_na...
[ "ivan.tolkachev@gmail.com" ]
ivan.tolkachev@gmail.com
2d32855077a8fd0594875c11d0c248fa27e1c3d9
df24807455a5bc4db794d79cc88e6bde93d3d404
/HH_glycopeptide - KK testing v2/sequencespace.py
e7d7bfc3a84a3b32c1db46ef3e02d0eb112fb0cd
[]
no_license
GlycReSoft2/glycopeptide-testing
075b594025c95a9c9cfb79fcf802bd326459238f
574bc5b44ef8a562e2676aca24062b04f4bfeb17
refs/heads/master
2021-01-23T11:49:35.306116
2014-05-22T17:33:19
2014-05-22T17:33:19
null
0
0
null
null
null
null
UTF-8
Python
false
false
4,178
py
from sequence import Sequence from operator import and_ from functools import reduce from modification import Modification from residue import Residue import copy import itertools import warnings class SequenceSpace: """Generate all theoretical glycopeptide sequences""" def __init__(self, seq, g...
[ "mobiusklein@gmail.com" ]
mobiusklein@gmail.com
57b2cd00a87e389e7a38f77e87aeadee7dc8413d
a0a0932b6ab6ec47c2757d8929216790f5bc6535
/import_productitem.py
7c614f08aadb009ebc8072d22b30f9530d115aa9
[]
no_license
lianglunzhong/latte-erp
b4e6e3b13c4bce17911ff166fecc36172e0bea5b
b58936c8d9917f3efdcb3585c54bfd3aba4723c2
refs/heads/master
2022-11-27T03:08:23.780124
2017-04-28T02:51:43
2017-04-28T02:51:43
89,660,834
0
0
null
2022-11-22T01:04:12
2017-04-28T02:48:50
Python
UTF-8
Python
false
false
3,751
py
# -*- coding: utf-8 -*- import datetime from django.utils import timezone import sys, os reload(sys) sys.setdefaultencoding('utf-8') import csv sys.path.append(os.getcwd()) os.environ['DJANGO_SETTINGS_MODULE'] = 'project.settings' import django django.setup() from product.models import * from order.models import * ...
[ "liang.lunzhong@wxzeshang.com" ]
liang.lunzhong@wxzeshang.com
b2221a99054c2bd032ff2e756d2c70e772bb434b
233b2958c853dc57dfa5d54caddbc1520dcc35c8
/ava/runtime/config.py
4e76f2a43ffde0aeb8268ac973bff3b13fc8e9f6
[]
no_license
eavatar/ava.node
6295ac6ed5059ebcb6ce58ef6e75adf1bfa24ed7
71e3304d038634ef13f44d245c3838d276a275e6
refs/heads/master
2021-01-19T06:13:01.127585
2015-06-03T03:10:59
2015-06-03T03:10:59
33,645,210
0
0
null
null
null
null
UTF-8
Python
false
false
1,473
py
# -*- coding: utf-8 -*- """ Configuration file reading/writing. """ from __future__ import absolute_import, division, print_function, \ unicode_literals import codecs import logging import logging.config import os.path from string import Template from yaml import load, dump try: from yaml import CLoader as ...
[ "sam@eavatar.com" ]
sam@eavatar.com
23ff794c191939821dfe1e0a1e6ee0c35f90e884
e5e2b7da41fda915cb849f031a0223e2ac354066
/sdk/python/pulumi_azure_native/desktopvirtualization/v20201019preview/application_group.py
2faebd8d2ef7474036d1b9203e874ce21b32a2a9
[ "BSD-3-Clause", "Apache-2.0" ]
permissive
johnbirdau/pulumi-azure-native
b7d3bdddeb7c4b319a7e43a892ddc6e25e3bfb25
d676cc331caa0694d8be99cb90b93fa231e3c705
refs/heads/master
2023-05-06T06:48:05.040357
2021-06-01T20:42:38
2021-06-01T20:42:38
null
0
0
null
null
null
null
UTF-8
Python
false
false
16,527
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" ]
johnbirdau.noreply@github.com
cffdbf9595a022545dadfca42fab82415426fe39
3a186f09753b63e87c0502e88f33c992f561e403
/luna.py
d4c01d34900662ee4390cb280d3b936b4890d6b7
[]
no_license
qwergram/cio2016_server
88d98e217d7f1cc1415b14a4804b9a4417d1143b
071efd99bad8635031c74409dab949aae1a5d384
refs/heads/master
2021-01-10T04:50:34.105495
2016-03-06T09:44:49
2016-03-06T09:44:49
53,247,659
0
0
null
null
null
null
UTF-8
Python
false
false
6,481
py
import bottle import os import sqlite3 import json class CRUD: def __init__(self, location='/etc/luna/'): self.location = location self.reset() def reset(self): with open(self.location + 'active.sqlite3', 'w') as r: r.write('') self.conn = sqlite3.connect(self.loca...
[ "npengra317@gmail.com" ]
npengra317@gmail.com
ed25c19719c15e6a359c0cb01b3711f8f78c1661
163bbb4e0920dedd5941e3edfb2d8706ba75627d
/Code/CodeRecords/2734/59137/312747.py
32ed5d4dbf4a1e4cb7db8a81634c5d8d187dd4ec
[]
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
595
py
s = input() if s == "5 3 5": print(2) print(0) print(0) print(1) print(0) elif s == "8 3 5": s1 = input() s2 = input() s3 = input() if s3 == "6 8": print(1) print(1) print(2) print(2) print(1) elif s3 == "1 8": print(1) prin...
[ "1069583789@qq.com" ]
1069583789@qq.com
7ce62fcf3e249909c34273756aebfac403c2b879
de24f83a5e3768a2638ebcf13cbe717e75740168
/moodledata/vpl_data/23/usersdata/134/12369/submittedfiles/av1_2.py
4f5a24414af8bcff93f9204bbb739083ba7a9bd2
[]
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
636
py
# -*- coding: utf-8 -*- from __future__ import division import math n = int(input('Digite n:')) x1 = int(input('Digite a coordenada em x para a figura 1:')) y1 = int(input('Digite a coordenada em y para a figura 1:')) x2 = int(input('Digite a coordenada em x para a figura 2:')) y2 = int(input('Digite a coordenada em y ...
[ "rafael.mota@ufca.edu.br" ]
rafael.mota@ufca.edu.br
ec61edb372da268e0930cb58292ef8c914745487
c77f1d4976d241574a9bf68ee035632a010cdc85
/qualification/migrations/0003_auto_20190102_1150.py
a59750689f991a27692f605996293a2b3e986d03
[]
no_license
alifarazz/csesa-django
e24847fb1a7a2dc0c0f56f396b66c28d63efc869
7d77686b95796b30d5c65957776b2bbe927445b5
refs/heads/master
2020-04-27T13:27:10.119436
2019-03-07T16:23:37
2019-03-07T16:23:37
174,370,553
0
0
null
2019-03-07T15:27:00
2019-03-07T15:26:58
Python
UTF-8
Python
false
false
1,207
py
# Generated by Django 2.0.9 on 2019-01-02 11:50 from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): dependencies = [ ('qualification', '0002_qualificationform'), ] operations = [ migrations.CreateModel( name='Quest...
[ "alimahdiyar77@gmail.com" ]
alimahdiyar77@gmail.com
d932577fc1d8b71405a05fa54c4ae2ec74119e08
fe6f6d11dde2a3205ae9758c7d4eb1f824b84102
/venv/lib/python2.7/site-packages/pylint/test/input/func___name___access.py
def867475829143945bd7552ef152ca874170278
[ "MIT" ]
permissive
mutaihillary/mycalculator
ebf12a5ac90cb97c268b05606c675d64e7ccf8a6
55685dd7c968861f18ae0701129f5af2bc682d67
refs/heads/master
2023-01-10T14:56:11.780045
2016-09-20T12:30:21
2016-09-20T12:30:21
68,580,251
0
0
MIT
2022-12-26T20:15:21
2016-09-19T07:27:48
Python
UTF-8
Python
false
false
515
py
# pylint: disable=R0903,W0142 """test access to __name__ gives undefined member on new/old class instances but not on new/old class object """ __revision__ = 1 class Aaaa: """old class""" def __init__(self): print self.__name__ print self.__class__.__name__ class NewClass(object): """new c...
[ "mutaihillary@yahoo.com" ]
mutaihillary@yahoo.com
2e2bdefe2b4e3ce8514dd285194ed6d9f43863bd
74b6523512f17f4c18096b956e4c3c074b53cf4c
/myNews.py
3170f0ec9c830c21762b973cc0dd598006213758
[]
no_license
howie6879/getNews
f7fdbd310c0e48a8a2c74504aa27893d25354ba1
ab5ad56c8520e60d5f568deed0081dfc127b7cd9
refs/heads/master
2020-05-21T23:49:40.805281
2017-04-02T03:51:33
2017-04-02T03:51:33
59,347,631
49
23
null
null
null
null
UTF-8
Python
false
false
348
py
"""myNews Usage: myNews [-p] <port> Options: -h,--help 显示帮助菜单 -p 端口号 Example: myNews -p 8888 设置端口号为8888 """ from docopt import docopt from server import main def cli(): kwargs = docopt(__doc__) port = kwargs['<port>'] main(port) if __name__ == "__main__": cli()
[ "xiaozizayang@gmail.com" ]
xiaozizayang@gmail.com
9fdb4d019b5ec120c7bd4c3cbe140bf7023e5911
e32801b4debf07340b98255eb35e2c41ba2d2bb5
/scripts/addons_extern/animation_nodes_master/nodes/spline/spline_info.py
83687abbd74969916131dea3e58cb5731c0728d3
[ "LicenseRef-scancode-warranty-disclaimer" ]
no_license
JuhaW/blenderpython
8c7130484690339c06f85b740c2f9e595b34a9dc
ee7b3a9f9d8cfbea32258e7ff05c3cb485a8879a
refs/heads/master
2021-07-21T23:59:42.476215
2017-10-25T08:42:04
2017-10-25T08:42:04
108,861,751
1
0
null
2017-10-30T14:25:14
2017-10-30T14:25:14
null
UTF-8
Python
false
false
505
py
import bpy from ... base_types.node import AnimationNode class SplineInfoNode(bpy.types.Node, AnimationNode): bl_idname = "an_SplineInfoNode" bl_label = "Spline Info" def create(self): self.newInput("Spline", "Spline", "spline", defaultDrawType = "PROPERTY_ONLY") self.newOutput("Vector Lis...
[ "meta.androcto1@gmail.com" ]
meta.androcto1@gmail.com
61c6ccd66c69dcc38f504e14f4d66366d9bc51e6
b8f4b32171bba9e60a101f5a605e084c9aa974fd
/BaseTools/Source/Python/Workspace/InfBuildData.py
7675b0ea00ebd6a5fc3e823c965e32066f66f650
[ "BSD-3-Clause", "BSD-2-Clause-Patent" ]
permissive
jinjhuli/slimbootloader
3137ab83073865b247f69b09a628f8b39b4c05ee
cfba21067cf4dce659b508833d8c886967081375
refs/heads/master
2023-07-11T12:59:51.336343
2020-09-11T00:16:48
2020-09-11T00:24:52
149,729,121
1
0
BSD-2-Clause
2018-09-21T07:49:42
2018-09-21T07:49:42
null
UTF-8
Python
false
false
48,567
py
## @file # This file is used to create a database used by build tool # # Copyright (c) 2008 - 2018, Intel Corporation. All rights reserved.<BR> # (C) Copyright 2016 Hewlett Packard Enterprise Development LP<BR> # SPDX-License-Identifier: BSD-2-Clause-Patent # from __future__ import absolute_import from Common...
[ "maurice.ma@intel.com" ]
maurice.ma@intel.com
beb8f00ca4461f449d82782c0683a196f2828a6a
073c7ae30b0fbdadb3f60bdcf37940a496a3b2eb
/python/util.py
f88ba65b52323c39f073a193f6750bc183bd56c0
[ "MIT" ]
permissive
cms-ttbarAC/CyMiniAna
0e2a771473cf23eb931aa0ae7a015a5165f927b9
405b1ac6639f8a93297e847180b5a6ab58f9a06c
refs/heads/master
2021-05-15T22:57:36.033299
2018-07-31T20:39:11
2018-07-31T20:39:11
106,871,363
0
1
MIT
2018-07-31T20:39:12
2017-10-13T20:41:28
C++
UTF-8
Python
false
false
5,834
py
""" Created: -- Last Updated: 2 March 2018 Dan Marley daniel.edison.marley@cernSPAMNOT.ch Texas A&M University ----- File that holds any and all misc. functions to be called from other python scripts. (All information in one file => one location to update!) """ import ROOT import numpy as np class Sample...
[ "daniel.edison.marley@cern.ch" ]
daniel.edison.marley@cern.ch
cd92ecd38dfe509e767b4977f1112c79d390744f
0bfe6df147ffa74b6d2800391981273149502684
/visionary/visionary/migrations/0002_add_model_Mindmap.py
5ab5e8e1132a90e50d890cd2eef82b5aab730db0
[]
no_license
lumenwrites/digitalMind_django
829c95eca4720c2bbe71d14bdcce64e9eccd3752
0968f0006cf450f2796736cd604c5f6cba82147f
refs/heads/master
2021-05-27T14:54:35.108215
2014-09-11T09:48:58
2014-09-11T09:48:58
null
0
0
null
null
null
null
UTF-8
Python
false
false
4,903
py
# -*- coding: utf-8 -*- import datetime from south.db import db from south.v2 import SchemaMigration from django.db import models class Migration(SchemaMigration): def forwards(self, orm): # Adding model 'Mindmap' db.create_table('visionary_mindmap', ( ('id', self.gf('django.db.models...
[ "raymestalez@gmail.com" ]
raymestalez@gmail.com
1a0586b543e61229aa5c7ecc3626c76951c49596
aea3b522c0f8c6f82279cf6cc70bc11b22ef9f02
/feincms3/mixins.py
872c3c2269da46af9112d0eb37dba939ddbcdc59
[ "BSD-2-Clause" ]
permissive
hancush/feincms3
0dfbb98f85f9bd2c2edf98cdb8de298f0188b17c
782a4ee83a36756752b2f9aa225eed4dc402ff4c
refs/heads/master
2020-04-04T11:55:39.289197
2018-10-31T18:49:47
2018-10-31T18:49:47
155,908,332
0
0
NOASSERTION
2018-11-02T18:44:39
2018-11-02T18:44:39
null
UTF-8
Python
false
false
5,877
py
# coding=utf-8 from django.conf import settings from django.db import models from django.db.models import signals from django.utils.translation import activate, get_language, ugettext_lazy as _ from tree_queries.fields import TreeNodeForeignKey from feincms3.utils import validation_error class MenuMixin(models.Mod...
[ "mk@feinheit.ch" ]
mk@feinheit.ch
3ad3f271e1638aeab5f1a60f9e46cbf4d55b64e0
a3faf585ac766da428ee896e6c70c39ecc22ce1f
/xy/planner.py
b4be54c6910ff99f946e9c2aa08bc9b5ab70185d
[]
no_license
RolandJuno/xy
dcab6c0682cda79ffd6b5fb6cb8365390421f784
1079175b9a2f58c72fd94520908ebbaf81585037
refs/heads/master
2020-04-05T04:11:02.909464
2019-11-13T22:05:16
2019-11-13T22:05:16
50,703,647
7
1
null
2016-01-30T01:56:42
2016-01-30T01:56:42
null
UTF-8
Python
false
false
5,970
py
from hashindex import Index from math import hypot import anneal import random def sort_paths_greedy(paths, reversable=True): first = max(paths, key=lambda x: x[0][1]) paths.remove(first) result = [first] points = [] for path in paths: x1, y1 = path[0] x2, y2 = path[-1] poin...
[ "fogleman@gmail.com" ]
fogleman@gmail.com
ff053c7af547706471c802a09fb2b03078714f37
3a0336f8ba841f6076f412dfb6de1af9ac946efd
/azure/multiapi/storagev2/fileshare/v2019_07_07/_models.py
1488fcea6ebdc1c95ef6a44eccad5db9309bf5b8
[ "MIT", "LicenseRef-scancode-generic-cla" ]
permissive
Azure/azure-multiapi-storage-python
4291579aa1f47d4b74557267558bd5029e01e12c
650ef33ad683a5f2aba590c4553f9871bfa0dd93
refs/heads/master
2023-09-03T22:27:16.816305
2023-06-01T07:37:02
2023-06-01T07:37:02
94,827,841
4
17
MIT
2023-06-01T07:37:03
2017-06-19T22:58:21
Python
UTF-8
Python
false
false
40,637
py
# ------------------------------------------------------------------------- # Copyright (c) Microsoft Corporation. All rights reserved. # Licensed under the MIT License. See License.txt in the project root for # license information. # -------------------------------------------------------------------------- # pylint: ...
[ "noreply@github.com" ]
Azure.noreply@github.com
2bcf76b268dcc14f93c164f38f79c9fac0b642c1
93d8f6332992d7f1574666096e956d47a2c23754
/src/safe.py
98b34c1ad9ca33b5b925d656a343e2388d310014
[ "BSD-3-Clause" ]
permissive
aliceafterall/cocomud
d41a5a8964f1af17cacfb0d0dcdd4b5530bb1bc5
b2b7a7b5f93542b8e94c0eec00c4dcd7bd96cff1
refs/heads/master
2023-07-20T09:34:49.410221
2017-08-03T15:16:05
2017-08-03T15:16:05
null
0
0
null
null
null
null
UTF-8
Python
false
false
6,816
py
# Copyright (c) 2016, LE GOFF Vincent # All rights reserved. # 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 the above copyright notice, this # list of conditions and th...
[ "vincent.legoff.srs@gmail.com" ]
vincent.legoff.srs@gmail.com
a4b8a7c035036e9e0e83c562c498c103c3a7ba94
7d72ece1edb0009e2f5dadd96838e6fa4d020c86
/src/follow_road/MyAlgorithm.py
78146757492d8d71d43311729f3470639eea528e
[]
no_license
RoboticsLabURJC/2018-phd-luis-caiza
d188a9621c7339349dd32ba3f382010daeb49b95
834e93889c8b8aacdf8edee0206341154ef17073
refs/heads/master
2020-03-30T02:05:28.334834
2019-04-24T19:32:17
2019-04-24T19:32:17
null
0
0
null
null
null
null
UTF-8
Python
false
false
5,509
py
import threading import time from datetime import datetime import cv2 import numpy as np import math time_cycle = 80 #value_min_HSV = np.array([20, 0, 0]) #for follow road original #value_max_HSV = np.array([100, 130, 130]) #for follow road original value_min_HSV=np.array([0, 50, 50]) # red color used in follow a b...
[ "lcaiza2012@gmail.com" ]
lcaiza2012@gmail.com
eed067e68e68bc9403d6958e844746a118bc601f
d6ce2f6bdddef373b9bbdf26d567307ce3667103
/scripts/utils_specs/convert_spec_csv_to_json.py
0db7b03c0e21edd6637ca3d51e06b9ffc1e88e4d
[ "MIT" ]
permissive
hezbranch/time_series_prediction
505007fb248fe09f56943c3ad705a52ce77a193c
9bffc3f279cbfaa3ec0acc937d15610c19e0975e
refs/heads/master
2023-01-19T12:27:24.615657
2020-10-30T08:59:05
2020-10-30T08:59:05
296,434,092
1
0
MIT
2020-09-17T20:22:09
2020-09-17T20:22:08
null
UTF-8
Python
false
false
2,503
py
import argparse import pandas as pd import json import copy import os if __name__ == '__main__': parser = argparse.ArgumentParser() parser.add_argument("--config_json_path", type=str) parser.add_argument("--output_dir", type=str) parser.add_argument("--row_template_json", type=str, default='row_templat...
[ "mike@michaelchughes.com" ]
mike@michaelchughes.com
90118b22999d0850d70f1bd9e39f9ebafee8e412
6188f8ef474da80c9e407e8040de877273f6ce20
/examples/docs_snippets/docs_snippets/guides/dagster/development_to_production/resources/resources_v1.py
c1339b0fabc7baf6e734f9610d9ced0cb55cf53e
[ "Apache-2.0" ]
permissive
iKintosh/dagster
99f2a1211de1f3b52f8bcf895dafaf832b999de2
932a5ba35263deb7d223750f211c2ddfa71e6f48
refs/heads/master
2023-01-24T15:58:28.497042
2023-01-20T21:51:35
2023-01-20T21:51:35
276,410,978
1
0
Apache-2.0
2020-07-01T15:19:47
2020-07-01T15:13:56
null
UTF-8
Python
false
false
655
py
# start_resource # resources.py from typing import Any, Dict, Optional import requests class HNAPIClient: """ Hacker News client that fetches live data """ def fetch_item_by_id(self, item_id: int) -> Optional[Dict[str, Any]]: """Fetches a single item from the Hacker News API by item id.""" ...
[ "noreply@github.com" ]
iKintosh.noreply@github.com
cad332858fb916aae94cf392338574f290c1bdce
1e3cf9c1341083675fa9b716f11c2834e2d18374
/src/pyphoplacecellanalysis/External/pyqtgraph/examples/VideoSpeedTest.py
bb3ff76da268f9820a6aa048e58f05c851b9e606
[ "MIT" ]
permissive
CommanderPho/pyPhoPlaceCellAnalysis
a60313c98b3ad2834c2bf101f3463714df092cf5
212399d826284b394fce8894ff1a93133aef783f
refs/heads/master
2023-09-01T20:27:43.792099
2023-09-01T03:24:19
2023-09-01T03:24:19
444,885,155
1
0
null
null
null
null
UTF-8
Python
false
false
9,668
py
""" Tests the speed of image updates for an ImageItem and RawImageWidget. The speed will generally depend on the type of data being shown, whether it is being scaled and/or converted by lookup table, and whether OpenGL is used by the view widget """ import argparse import sys from time import perf_counter import nump...
[ "CommanderPho@users.noreply.github.com" ]
CommanderPho@users.noreply.github.com
93db36640e286172bee479c27dc086ac4f892ad8
d90283bff72b5a55dd4d0f90c7325355b00ce7b1
/p1804/p12/xxxx.py
1bd3153f8551e4d5a98764db70ac390410388037
[]
no_license
yuemeiss/p1804daima
f841f52e63081d53d50a199e4d148d4533605bb6
6ea08eb9971e42bf4ac535033a006d98ed98bf98
refs/heads/master
2020-03-15T23:29:59.691297
2018-08-06T02:42:49
2018-08-06T02:42:49
132,395,078
0
0
null
null
null
null
UTF-8
Python
false
false
167
py
tu1 = (1,2,3) alist=[123,5677,555] for i in alist: print(i) for index,d in enumerate(alist): print(index,d) c=0 while c < len(tu1): print(tu1[c]) c+=1
[ "1083027306@qq.com" ]
1083027306@qq.com
8b09f80a72badcd81065c4921c3e31e1173a1a46
c5b4d174ace61dd5914ca99fb0f2c710d0182324
/pypes/tests/test__utils.py
bd9906b228853654176538174cd98e0cfc893330
[ "Apache-2.0" ]
permissive
erramuzpe/pypes
636c6b31023747a571af90390fd85b2dd6806dea
3922d3162dc633b30961c036efdeb5d221ab1bfb
refs/heads/master
2020-12-24T06:43:15.063955
2017-04-05T19:51:05
2017-04-05T19:51:05
73,461,509
0
0
null
2016-11-11T08:54:15
2016-11-11T08:54:14
null
UTF-8
Python
false
false
2,645
py
# -*- coding: utf-8 -*- from pypes._utils import format_pair_list def test_format_pair_list(): anat_fbasename = 'anat_hc' regexp_subst = [ (r"/{anat}_.*corrected_seg8.mat$", "/{anat}_to_mni_affine.mat"), (r"/m{anat}.*_corrected.nii$", "/{anat}_biascorrected.nii"...
[ "alexsavio@gmail.com" ]
alexsavio@gmail.com
1ab320425a4b1a6568c0ae0d930d6c9f420e792d
168f8546daf36bead1a9b8f32e8a43fdc5d844cf
/Test/python/multiply.py
cec03f2eaf740cf2f1ca1e9f23d4046fa9dd1500
[]
no_license
whztt07/RenderFish
ea67915a672096254444765347044c6229681d05
7d0a4fd6a01a949091ec05ba93c42aa1760b9408
refs/heads/master
2020-05-04T14:47:51.215280
2015-11-22T16:42:31
2015-11-22T16:42:31
null
0
0
null
null
null
null
UTF-8
Python
false
false
432
py
'''py_class.py - Python source designed to demonstrate''' '''the use of python embedding''' class Multiply: def __init__(self): self.a = 6 self.b = 5 def multiply(self): c = self.a*self.b print 'The result of', self.a, 'x', self.b, ':', c return c ...
[ "yushroom@gmail.com" ]
yushroom@gmail.com
eb3e1585341debf43f5683ae5d04f1b4cc7345dd
b9be3202a4db8875299d4a123b7c1e3c7d282eaf
/tensorflow/contrib/learn/python/learn/estimators/dnn.py
63c262800864b7b2cbaf753220f58867cf376f3d
[ "Apache-2.0" ]
permissive
prafullasd/tensorflow
f25d0eb5997af2500d4bd2f7596d103d7028f048
2c55490c6d6d361985dbb0565ab08a648c819949
refs/heads/master
2021-01-18T13:31:25.223301
2016-06-03T20:27:32
2016-06-03T20:27:32
60,382,471
1
0
null
2016-06-03T22:58:26
2016-06-03T22:58:25
null
UTF-8
Python
false
false
8,828
py
# Copyright 2016 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
a4c1c455cf5fb61154b9d3c2c35d0661314913f2
9b9a02657812ea0cb47db0ae411196f0e81c5152
/repoData/sdiehl-sockjs-gevent/allPythonContent.py
20f871a6a70bd7b62eafabef19118c5e95d31179
[]
no_license
aCoffeeYin/pyreco
cb42db94a3a5fc134356c9a2a738a063d0898572
0ac6653219c2701c13c508c5c4fc9bc3437eea06
refs/heads/master
2020-12-14T14:10:05.763693
2016-06-27T05:15:15
2016-06-27T05:15:15
null
0
0
null
null
null
null
UTF-8
Python
false
false
175,363
py
__FILENAME__ = conf # -*- coding: utf-8 -*- # # gevent-sockjs documentation build configuration file, created by # sphinx-quickstart on Mon Mar 12 20:11:57 2012. # # This file is execfile()d with the current directory set to its containing dir. # # Note that not all possible configuration values are present in ...
[ "dyangUCI@github.com" ]
dyangUCI@github.com
f1318351ae4716d2341351aa7ba537219924a05b
444a9480bce2035565332d4d4654244c0b5cd47b
/research/nlp/mass/src/language_model/masked_language_model.py
52aed8d53ed7b0a0eae8a67d7231364bbf913a00
[ "Apache-2.0", "LicenseRef-scancode-unknown-license-reference", "LicenseRef-scancode-proprietary-license" ]
permissive
mindspore-ai/models
7ede9c6454e77e995e674628204e1c6e76bd7b27
eab643f51336dbf7d711f02d27e6516e5affee59
refs/heads/master
2023-07-20T01:49:34.614616
2023-07-17T11:43:18
2023-07-17T11:43:18
417,393,380
301
92
Apache-2.0
2023-05-17T11:22:28
2021-10-15T06:38:37
Python
UTF-8
Python
false
false
4,698
py
# Copyright 2020 Huawei Technologies Co., Ltd # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to...
[ "chenhaozhe1@huawei.com" ]
chenhaozhe1@huawei.com
5c3dda335336b3b644e37fe7f8f4f46f4fd0ee86
60ce73bf2f86940438e5b7fecaaccad086888dc5
/working_scrapers/Illinois_dekalb.py
d04843c1e230207cd3080ec2535d4860593519dd
[]
no_license
matthewgomies/jailcrawl
22baf5f0e6dc66fec1b1b362c26c8cd2469dcb0d
9a9ca7e1328ae549860ebeea9b149a785f152f39
refs/heads/master
2023-02-16T06:39:42.107493
2021-01-15T16:37:57
2021-01-15T16:37:57
null
0
0
null
null
null
null
UTF-8
Python
false
false
6,161
py
#!/usr/bin/python ''' This is a template script MG ''' from urllib.request import urlopen, Request import pandas as pd import os import time import numpy as np from datetime import datetime import datetime as dt import sys from io import StringIO from joblib import Parallel, delayed import requests from jailscrape.com...
[ "jborowitz@gmail.com" ]
jborowitz@gmail.com
6f409ce181ccfacc565feea9433e652a11fe88ae
c6939d3e5d5628673d44d29ef38b0511556a83aa
/new_shangmi/shangmi/apis_v1.py
a76dd4e4cbce2576231baab2a614b4a0b49d8b0d
[]
no_license
General-Coder/shangmiteam
a536867a7e03f33eec3d2c55c0f55a1cb7ae1b85
a628e38a545ffc36caa4c05d2fb5b73398a26ac1
refs/heads/master
2020-04-11T06:03:28.468625
2018-12-11T09:33:14
2018-12-11T09:33:14
null
0
0
null
null
null
null
UTF-8
Python
false
false
10,462
py
import json import requests from django.conf import settings from django.forms import model_to_dict from django.http import JsonResponse, HttpResponse from django.views.generic import View from .utils import * from .models import * from django.core.cache import caches from .getqr import * import uuid user_...
[ "1625211623@qq.com" ]
1625211623@qq.com
e3421447a8225cc4e8464a1815d43de78d1715f1
30a1b285ff4aab39eebe342c5dbca255a69b454c
/full-problems/maxDiff.py
347a657be99ca517cd6ae0e9e6234e8672f61c47
[ "Apache-2.0" ]
permissive
vikas-t/practice-problems
cd5852ea112421a2a39db31ae9092c6a148b2af8
ea654d1cad5374c824c52da9d3815a9546eb43fa
refs/heads/master
2021-10-27T14:08:42.724019
2019-04-17T18:26:23
2019-04-17T18:26:23
170,156,225
0
0
null
null
null
null
UTF-8
Python
false
false
442
py
#!/usr/bin/python3 # https://practice.geeksforgeeks.org/problems/maximum-difference/0 def sol(arr, n): d = -1 min_i = 0 min_till_here = 0 for i in range(1, n): if arr[i] < arr[min_till_here]: min_till_here = i if min_till_here != min_i and min_till_here < i: min_...
[ "vikas@optumsoft.com" ]
vikas@optumsoft.com
b298869f7dc5f7a2e2768feabbc8a3758fdcedd7
5c2e0fe391f7c720d0a6c117a64f4c8e89fece93
/research/object_detection/models/faster_rcnn_inception_v2_feature_extractor.py
d2681127b2706faec7433bb8adbcfb619375bd4a
[ "Apache-2.0" ]
permissive
lyltencent/tf_models_v15
e3bed9dfee42685118b0f3d21bb9de37d58cf500
0081dbe36831342051c09a2f94ef9ffa95da0e79
refs/heads/master
2022-10-20T20:00:26.594259
2020-09-19T05:37:22
2020-09-19T05:37:22
161,750,047
0
1
Apache-2.0
2021-03-31T21:04:01
2018-12-14T07:47:33
Python
UTF-8
Python
false
false
12,050
py
# Copyright 2017 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...
[ "yxl7245@eng-4150-nix03.main.ad.rit.edu" ]
yxl7245@eng-4150-nix03.main.ad.rit.edu
b6c8582e27830c87d8baddbf1ebed41b4789d50e
ca55dcaa64ea9db4068e13091321cfebecc0ff41
/codeUp/codeUp100/1022.py
ce1b4c02ce9f4e7fb71c474a37ec6ab7fc90b694
[]
no_license
gomtinQQ/algorithm-python
8fb8343594b945099ae2a4dfa794ecb47e54ab0b
751562922b66e335f621d366bb73dacdc7125140
refs/heads/master
2022-12-07T23:05:44.535593
2020-08-21T12:29:58
2020-08-21T12:29:58
null
0
0
null
null
null
null
UTF-8
Python
false
false
219
py
''' 1022 : [기초-입출력] 문장 1개 입력받아 그대로 출력하기(설명) 공백 문자가 포함되어 있는 문장을 입력받고 그대로 출력하는 연습을 해보자. ''' str = input() print(str)
[ "minhyeonlee1@gmail.com" ]
minhyeonlee1@gmail.com
83f702f40210def83db43b117c01fb32c0afec26
f0f4a0f24b3a7cc8bf0366cf329923e9bd5b00c7
/activity/activity_DepositDigestIngestAssets.py
515d8398361d40ebc252d28d7bed3993d5a6e601
[ "MIT" ]
permissive
elifesciences/elife-bot
45c79993d13bacb37f59ba57462179dd7c6f1e2e
2324e26943f805a0602ea3251ff0f6a5db27f1a0
refs/heads/develop
2023-08-17T15:25:42.170870
2023-08-14T16:47:02
2023-08-14T16:47:02
7,503,542
21
10
MIT
2023-09-07T19:50:30
2013-01-08T15:09:54
Python
UTF-8
Python
false
false
4,579
py
import os import json from S3utility.s3_notification_info import parse_activity_data from provider.storage_provider import storage_context from provider import digest_provider, download_helper import provider.utils as utils from activity.objects import Activity """ DepositDigestIngestAssets.py activity """ class act...
[ "gnott@starglobal.ca" ]
gnott@starglobal.ca
bd6a7d150cf3eb9fac42f5a543f377ad8356ad67
27691e5ef8e49fb29189b01dd76a1dc3720e7ae8
/AC/ABC-TDD/180/c.py
76f7581f37b0ab7ec2b1fda1f0887f7b32dc1463
[]
no_license
oshou/procon
61e5f5bc819e0fe5ab29749fc2f894fe6f3b1d07
3d000c64b5917c65b51ed7da5b90cb79892d5909
refs/heads/master
2023-05-10T23:56:50.861468
2021-09-23T06:07:29
2021-09-23T06:07:29
116,886,484
1
0
null
2023-05-05T02:28:41
2018-01-10T00:21:38
Go
UTF-8
Python
false
false
257
py
n = int(input()) ans = [] for i in range(1, n+1): if i*i > n: break if n % i == 0: ans.append(i) tmp = n//i if i != tmp: ans.append(n//i) ans = sorted(ans) counts = len(ans) for num in ans: print(num)
[ "adf1985adf@gmail.com" ]
adf1985adf@gmail.com
315ab7aa2ef9d0579f0d045b6dfb17919ba8530a
c741f04141784a2571d2d27d95e0d994e4584ab1
/learning/py3/0-1/21-模块-包-4.py
d70f489fbe8852df7919744087de49fb955d0899
[]
no_license
haodonghui/python
bbdece136620bc6f787b4942d6e1760ed808afd4
365062ba54297c81093b7f378742e76d438658b7
refs/heads/master
2022-02-03T23:52:37.288503
2022-01-27T05:23:25
2022-01-27T05:23:25
191,729,797
0
0
null
null
null
null
UTF-8
Python
false
false
1,361
py
from package1 import * p.prt(4, '从一个包中导入*') ''' 4、 设想一下,如果我们使用 from sound.effects import *会发生什么 Python 会进入文件系统,找到这个包里面所有的子模块,一个一个的把它们都导入进来。 Windows是一个大小写不区分的系统。 在这类平台上,没有人敢担保一个叫做 ECHO.py 的文件导入为模块 echo 还是 Echo 甚至 ECHO。 为了解决这个问题,只能烦劳包作者提供一个精确的包的索引了。 导入语句遵循如下规则: 如果包定义文件 __init__.p...
[ "haodonghui@yestae.com" ]
haodonghui@yestae.com
c64d4a116649878ddb94e95e66e3c58c114e7155
fb39e15da72e41cf1903aa3670833e35b668edad
/main.py
37961bed2279b1b12f56a1ef46d4b9588b8717ea
[]
no_license
jackfrostwillbeking/script_test
e9b8c91babc2c9d6ed111a77b5156f3624683a1e
f47370f05632e1a76cbcacd24737ec370d2faf58
refs/heads/master
2021-04-06T17:11:36.479236
2018-03-09T10:21:19
2018-03-09T10:21:19
124,380,417
0
0
null
null
null
null
UTF-8
Python
false
false
104
py
import subprocess import sys res = subprocess.call(["/bin/bash","-c","./test_script.sh"]) sys.exit(0)
[ "jackfrostwillbeking@gmail.com" ]
jackfrostwillbeking@gmail.com
a7012e26515d2e214c34f1a948756e9af8cff489
5837fd85b18b56d23612de1e36d79b5a06827542
/sniterator.py
d5e3435d3bd0924383507459b0e3f279464d9c66
[ "MIT" ]
permissive
ChristopherWilks/snaptron
75e33c4f25a65f3093555a7bf235ab69865f7086
75903c30d54708b19d91772142013687c74d88d8
refs/heads/master
2023-02-19T01:38:57.343293
2023-02-11T21:47:52
2023-02-11T21:47:52
45,953,724
26
7
NOASSERTION
2022-06-17T21:10:44
2015-11-11T02:03:37
Python
UTF-8
Python
false
false
3,341
py
#!/usr/bin/env python2.7 # This file is part of Snaptron. # # Snaptron is free software: you can redistribute it and/or modify # it under the terms of the # # The MIT License # # Copyright (c) 2016- by Christopher Wilks <broadsword@gmail.com> # and Ben Langmead <langmea@cs.jhu.edu> # #...
[ "broadsword@gmail.com" ]
broadsword@gmail.com
9549acb29d9a0c5bf134052cccc04c0ca9a590e6
f5f538edf999d5a7eb265b90efa4599a81367489
/ptranking/metric/adhoc_metric.py
c2e41ba50be9154df1b89366b12914dfe3e440f0
[ "MIT" ]
permissive
ii-metric/ptranking
ad4db16e5a995b11103b04af46aed099e525af82
fd4fe1373fd2dfd7c6342eb666f36e34b71e8298
refs/heads/master
2023-03-24T03:18:16.414348
2021-03-19T06:06:43
2021-03-19T06:06:43
328,522,824
0
1
MIT
2021-03-19T06:06:44
2021-01-11T02:02:01
Python
UTF-8
Python
false
false
18,252
py
#!/usr/bin/env python # -*- coding: utf-8 -*- """Description The widely used IR evaluation metrics, such as AP (average precision), nDCG and ERR Note: commonly the metric-computation is not conducted on gpu """ import torch import numpy as np from ptranking.data.data_utils import LABEL_TYPE """ Precision """ def t...
[ "gengshen.research@gmail.com" ]
gengshen.research@gmail.com
dc94995061a88c795f93deb5719820a9c7d233f6
9dba277eeb0d5e9d2ac75e2e17ab5b5eda100612
/exercises/1901020002/1001S02E05_string.py
2ef785d1bf8d2423628b42ff569e92038180dac4
[]
no_license
shen-huang/selfteaching-python-camp
e8410bfc06eca24ee2866c5d890fd063e9d4be89
459f90c9f09bd3a3df9e776fc64dfd64ac65f976
refs/heads/master
2022-05-02T05:39:08.932008
2022-03-17T07:56:30
2022-03-17T07:56:30
201,287,222
9
6
null
2019-08-08T15:34:26
2019-08-08T15:34:25
null
UTF-8
Python
false
false
1,395
py
sample_text = ''' The Zen of Python, by Tim Peters Beautiful is better than ugly. Explicit is better than implicit. Simple is better than complex. Complex is better than complicated. Flat is better than nested. Sparse is better than dense. Readability counts. Special cases aren't special enough to break the rule...
[ "40155646+seven-tears@users.noreply.github.com" ]
40155646+seven-tears@users.noreply.github.com
945755e73c4c8fe1438bc352cd5a0861918ad25a
c14d9512c62fc479ba05ea5ed256828e8e1038c5
/stripe/models/account.py
eaecab1ba97d6ff6408961f48b09a5193aa3c01d
[ "MIT" ]
permissive
jayvdb/saaskit-stripe
c44e6e387d4dd27f564f6959c134ec6aaff8f3c5
bd292182b0bed47dff86a627231bdabafb99bf71
refs/heads/master
2021-09-07T17:25:14.710472
2018-01-24T15:17:41
2018-02-26T21:10:56
null
0
0
null
null
null
null
UTF-8
Python
false
false
6,082
py
# -*- coding: utf-8 -*- from django.db import models from django.utils.translation import ugettext_lazy as _ from django_extensions.db.fields import json from ..utils import UnixDateTimeField from .charge import CURRENCY_CHOICES ACCOUNT_TYPES = ( ('custom', _('Custom')), ('standard', _('Standard')), ) clas...
[ "tony@git-pull.com" ]
tony@git-pull.com
58a513a543317eae70adb8d81445905b24667182
feccf7588777becba68921c0bfade3e21f5210ce
/tests/www/views/test_views_base.py
10eb3d5ea4b1ed3d2c841e64340bc37eb739d51a
[ "Apache-2.0", "BSD-3-Clause", "MIT" ]
permissive
francescomucio/airflow
f17ed9abd8b41d8a2227deca052508edf12f1cbf
c199b1a10563a11cf24436e38cb167ae82c01601
refs/heads/master
2023-04-14T17:44:53.438246
2023-04-06T06:44:23
2023-04-06T06:44:23
217,327,641
0
0
Apache-2.0
2020-09-09T13:26:47
2019-10-24T15:06:52
Python
UTF-8
Python
false
false
14,809
py
# # Licensed to the Apache Software Foundation (ASF) under one # or more contributor license agreements. See the NOTICE file # distributed with this work for additional information # regarding copyright ownership. The ASF licenses this file # to you under the Apache License, Version 2.0 (the # "License"); you may not...
[ "noreply@github.com" ]
francescomucio.noreply@github.com
034d42940af343c1638afe358b2506823e840bf4
1be4f95b722397f255e58b21a182171eb24b6fe5
/datalad_neuroimaging/extractors/tests/test_dicom.py
338f2fa4c994f2dd11ced3bf44f4f0f768516770
[ "MIT" ]
permissive
yarikoptic/datalad-neuroimaging
5f9a7b0993ac56bbeaba95427541b2c75ed711ea
7ee146d6c7c864aafc8b540d0ccd9b3a1b5b7210
refs/heads/master
2022-11-11T02:57:46.228562
2018-04-10T14:05:21
2018-04-10T14:05:21
128,942,708
0
0
null
2018-04-10T14:04:46
2018-04-10T14:04:46
null
UTF-8
Python
false
false
3,032
py
# emacs: -*- mode: python-mode; py-indent-offset: 4; tab-width: 4; indent-tabs-mode: nil; coding: utf-8 -*- # ex: set sts=4 ts=4 sw=4 noet: # ## ### ### ### ### ### ### ### ### ### ### ### ### ### ### ### ### ### ### ## # # See COPYING file distributed along with the datalad package for the # copyright and license ...
[ "michael.hanke@gmail.com" ]
michael.hanke@gmail.com
a2eb7128900a56f43e0ece19dedc06e35f192da8
c2d3b7855b055cb8b0563a3812fb0dbfc670bc09
/lessons_src/03_CFL_Condition.py
7ecf7fe0fd959b7819bcdc7829ed929d41253a87
[ "CC-BY-3.0", "BSD-3-Clause", "CC-BY-4.0" ]
permissive
tnakaicode/python-cfd
85fab343c4c99f32777e45163b89f4d952d83e96
174176bdcb1c31e021fefd8fd54e2b3dd898dc62
refs/heads/master
2023-08-08T16:53:34.455088
2020-05-07T17:14:54
2020-05-07T17:14:54
261,902,096
0
0
NOASSERTION
2023-07-06T21:27:39
2020-05-06T23:30:09
Jupyter Notebook
UTF-8
Python
false
false
5,978
py
#!/usr/bin/env python # coding: utf-8 # Text provided under a Creative Commons Attribution license, CC-BY. All code is made available under the FSF-approved BSD-3 license. (c) Lorena A. Barba, Gilbert F. Forsyth 2017. Thanks to NSF for support via CAREER award #1149784. # [@LorenaABarba](https://twitter.com/LorenaABa...
[ "tnakaicode@gmail.com" ]
tnakaicode@gmail.com
16d01ee4642643a3fa9a06a6f2fb3e7d14bc6433
8eab8ab725c2132bb8d090cdb2d23a5f71945249
/virt/Lib/site-packages/jupyter_client/jsonutil.py
9903f70ecee4d8e753d94367e32ed64f5e0d57aa
[ "MIT" ]
permissive
JoaoSevergnini/metalpy
6c88a413a82bc25edd9308b8490a76fae8dd76ca
c2d0098a309b6ce8c756ff840bfb53fb291747b6
refs/heads/main
2023-04-18T17:25:26.474485
2022-09-18T20:44:45
2022-09-18T20:44:45
474,773,752
3
1
MIT
2022-11-03T20:07:50
2022-03-27T22:21:01
Python
UTF-8
Python
false
false
5,944
py
"""Utilities to manipulate JSON objects.""" # Copyright (c) Jupyter Development Team. # Distributed under the terms of the Modified BSD License. import math import numbers import re import types import warnings from binascii import b2a_base64 from collections.abc import Iterable from datetime import datetime from typin...
[ "joao.a.severgnini@gmail.com" ]
joao.a.severgnini@gmail.com
93248952101638dd63e2d980f3ce2641a5a9dad7
ebb1e564c8a11e5af453f3749dcba1b66e2f3931
/test/quantization/fx/test_model_report_fx.py
d123a8752ca72a05c6e3064859c2dee6efe72fd5
[ "BSD-2-Clause", "BSD-3-Clause", "LicenseRef-scancode-generic-cla", "BSL-1.0", "Apache-2.0" ]
permissive
jjsjann123/pytorch
06c3aee8dd3565664ac2e2fda0306432cf62dd7c
de9b3fb3e5eb54660190cbd20b6592fc5cbda547
refs/heads/master
2023-08-25T00:22:02.568347
2022-07-27T18:50:20
2022-07-27T22:38:28
152,169,545
0
1
NOASSERTION
2022-08-11T07:55:44
2018-10-09T01:33:17
C++
UTF-8
Python
false
false
79,542
py
# -*- coding: utf-8 -*- # Owner(s): ["oncall: quantization"] import torch import torch.nn as nn import torch.ao.quantization.quantize_fx as quantize_fx import torch.nn.functional as F from torch.ao.quantization import QConfig, QConfigMapping from torch.ao.quantization.fx._model_report.detector import ( DynamicStat...
[ "pytorchmergebot@users.noreply.github.com" ]
pytorchmergebot@users.noreply.github.com
24c1026d70712dc58f96d6e0a9023fab0f1cdfd6
5c531de5e4759c904e608b4fc653b2b041f79a0e
/Snap_monte_carlo_simulation.py
7cb310205cf32290a10076f203756fb68c14d270
[]
no_license
jianhui-ben/leetcode_python
133c7e6e5c7316d00607ba2e327239e002de28b2
fcc16124cc24a5993e27f5d97e78d8f290e68230
refs/heads/master
2022-06-05T22:32:18.034581
2022-05-17T02:27:11
2022-05-17T02:27:11
250,683,308
0
0
null
null
null
null
UTF-8
Python
false
false
965
py
#N个 Turkers标数据,数据很模糊基本靠瞎猜,有M个选项可选。 #问这些人达到了majority共识的概率有多大?也就是有超过半数的人都选了某一选项的概率。 #要求先给出数学解析解,然后给出coding实现方法来求近似解。 #代码其实很简单,Monte Carlo simulation,跑个足够多的次数,用统计结果来近似概率 ## p= (1/M)**(N//2) print(12//2) import random random.randint(1, 2) import collections collections.Counter([1,1,1,2, 3,3,3,3]).most_common(1)[0][...
[ "jianhui.ben@gmail.com" ]
jianhui.ben@gmail.com
588cb0f08c24dabc182e357f3b5efba012b7b98e
bcf42041a64fdefcaec54843900c3d8f833f2215
/emc/kb/browser/dataout.py
cf3d77f951b9bb4e11b4e53d61cd34ea9ffe24d5
[]
no_license
adam139/emc.kb
487650837207e0f773c077310f001a524965ee4f
ff21383762dad96ac09d414e7d1e8104c51b91f9
refs/heads/master
2022-01-14T09:42:49.790659
2020-09-22T13:16:27
2020-09-22T13:16:27
49,318,509
0
3
null
2016-12-26T17:37:20
2016-01-09T09:34:12
Python
UTF-8
Python
false
false
7,602
py
#-*- coding: UTF-8 -*- import csv from cStringIO import StringIO from zope import event from zope.component import getMultiAdapter from five import grok from zope.interface import implements from zope.interface import Interface from Products.Five.browser import BrowserView from Products.CMFCore.utils import getToolByNa...
[ "yuejun.tang@gmail.com" ]
yuejun.tang@gmail.com
7d8d2a7d613ecbd9087ac3588eca08034858f9f9
1ee90596d52554cb4ef51883c79093897f5279a0
/Sisteme/[C++]System Pet OFFICIAL/uipetsystem.py
4772d43117166548d16ed66d4b2f02322ab6c6fd
[]
no_license
Reizonr1/metin2-adv
bf7ecb26352b13641cd69b982a48a6b20061979a
5c2c096015ef3971a2f1121b54e33358d973c694
refs/heads/master
2022-04-05T20:50:38.176241
2020-03-03T18:20:58
2020-03-03T18:20:58
233,462,795
1
1
null
null
null
null
UTF-8
Python
false
false
25,267
py
import os import ui import player import mouseModule import net import app import snd import item import player import chat import grp import uiScriptLocale import localeInfo import constInfo import ime import wndMgr import petskill import uipetfeed import uiToolTip import uipetsystem import interfaceModule AFFECT_DIC...
[ "59807064+Reizonr1@users.noreply.github.com" ]
59807064+Reizonr1@users.noreply.github.com
2112bbc0bb40eb05b9d150ae386c7817e5840775
d94b6845aeeb412aac6850b70e22628bc84d1d6d
/unprocessing/estimator.py
def1f4464ffc7f3d2afab9ff75d80d3992b58c68
[ "CC-BY-4.0", "Apache-2.0" ]
permissive
ishine/google-research
541aea114a68ced68736340e037fc0f8257d1ea2
c1ae273841592fce4c993bf35cdd0a6424e73da4
refs/heads/master
2023-06-08T23:02:25.502203
2023-05-31T01:00:56
2023-05-31T01:06:45
242,478,569
0
0
Apache-2.0
2020-06-23T01:55:11
2020-02-23T07:59:42
Jupyter Notebook
UTF-8
Python
false
false
5,225
py
# coding=utf-8 # Copyright 2023 The Google Research Authors. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicab...
[ "copybara-worker@google.com" ]
copybara-worker@google.com
0fb5e7964be470bc671a7d6c2fc74cb80dd76bf7
07c6d3055eda7b1ddb16ce9444166ed311ce3219
/modules/topics.py
0821e4b960e83e661ea7519105c0d6cf7682fd6f
[]
no_license
IISH/dpe
4df9b0576b5419e543c61ce9ef14380ddc4b5c03
6509b06aa03242f450766d4cb5d8984f14146b11
refs/heads/master
2021-01-10T17:52:54.775316
2016-05-04T09:50:46
2016-05-04T09:50:46
42,994,984
1
0
null
null
null
null
UTF-8
Python
false
false
1,867
py
import urllib2 import simplejson import json import sys import pandas as pd import random import vincent from vincent import Axis, AxisProperties, PropertySet, ValueRef from pandas.io.json import json_normalize from config import configuration, dataverse2indicators, load_dataverse, findpid, load_metadata import re de...
[ "4tikhonov@gmail.com" ]
4tikhonov@gmail.com
15d9b29ddeef1b379e388b0cbb36ebe97afa4cdd
30a2a924eb32e7297b5a99785950467f25ea785d
/tfgen.py
074dd41e2fc6687d9c11c44a8d2d2c8c9a1784f5
[]
no_license
zshwuhan/Reinforcement-Learning-of-Spatio-Temporal-Point-Processes
1a794e83491b52dea5db3926de91779a9e661a17
a3f98e77b56c03839dcdb545b17b3675e7c43878
refs/heads/master
2020-07-22T16:18:10.020860
2019-07-02T18:49:02
2019-07-02T18:49:02
null
0
0
null
null
null
null
UTF-8
Python
false
false
13,218
py
#!/usr/bin/env python # -*- coding: utf-8 -*- """ Imitation Learning for Point Process A LSTM based model for generating marked spatial-temporal points. References: - https://arxiv.org/abs/1811.05016 Dependencies: - Python 3.6.7 - tensorflow==1.5.0 """ import sys import arrow import utils import numpy as np import...
[ "woodielove@163.com" ]
woodielove@163.com
a2e37e0d4b119607f5714d60955c059bfeb459ae
96c1f13473cf224113185902edd4c9c01091e106
/theseus/optimizer/nonlinear/dcem.py
e8187726c0cc032faab0f714e60c34a80840bb1b
[ "MIT" ]
permissive
facebookresearch/theseus
f1e488eb5a25f5ba74a6995911bee958b5da4cf3
240e1206329d42fedd40399684d6e17e455c6645
refs/heads/main
2023-08-11T07:33:12.328520
2023-08-02T12:58:01
2023-08-02T12:58:01
429,570,359
1,410
105
MIT
2023-08-01T14:30:01
2021-11-18T20:28:27
Python
UTF-8
Python
false
false
8,421
py
# Copyright (c) Meta Platforms, Inc. and affiliates. # # This source code is licensed under the MIT license found in the # LICENSE file in the root directory of this source tree. from typing import Dict, List, Optional, Union import numpy as np import torch from torch.distributions import Normal from theseus.core.ob...
[ "noreply@github.com" ]
facebookresearch.noreply@github.com
cce4258214c9c76a0aa0de00685e225913846b9b
a7dc8f76293a2c60478c95c4720cf39b8556c9e8
/tests/test_classify.py
3dc694dcb8ce4841090ee4d127deb0f3d62de74f
[ "MIT" ]
permissive
FarDON/cherry
8b67f6587a5c13603dfe5047edece218a382e904
28da9a05a0bf09f209829e81b8642e3fd76034e8
refs/heads/master
2022-11-02T13:13:12.366289
2020-06-22T13:56:45
2020-06-22T13:56:45
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,587
py
import os import unittest import cherry from unittest import mock from cherry import classify from sklearn.exceptions import NotFittedError class ClassifyTest(unittest.TestCase): def setUp(self): pass # __init__() @mock.patch('cherry.classifyer.Classify._classify') @mock.patch('cherry.class...
[ "wiwindson@outlook.com" ]
wiwindson@outlook.com
0a27993a6e8351ecb41b9f6181bea19c78bf6000
53784d3746eccb6d8fca540be9087a12f3713d1c
/res/packages/scripts/scripts/client/gui/Scaleform/daapi/view/lobby/store/StoreTableDataProvider.py
047518eda41afe48b100901c3b0b9c35381c591b
[]
no_license
webiumsk/WOT-0.9.17.1-CT
736666d53cbd0da6745b970e90a8bac6ea80813d
d7c3cf340ae40318933e7205bf9a17c7e53bac52
refs/heads/master
2021-01-09T06:00:33.898009
2017-02-03T21:40:17
2017-02-03T21:40:17
80,870,824
0
0
null
null
null
null
WINDOWS-1250
Python
false
false
969
py
# 2017.02.03 21:50:30 Střední Evropa (běžný čas) # Embedded file name: scripts/client/gui/Scaleform/daapi/view/lobby/store/StoreTableDataProvider.py from gui.Scaleform.framework.entities.DAAPIDataProvider import DAAPIDataProvider class StoreTableDataProvider(DAAPIDataProvider): def __init__(self): super(S...
[ "info@webium.sk" ]
info@webium.sk
52bf11f8be269922508207b1a1e3c7cdd7224b51
ab6cfc2aedad3de7a04efae4a6105dc893958b9e
/hivwholeseq/patients/get_allele_cocounts.py
733f7a025ee4e21175e08d194a24584b733f1f04
[ "MIT" ]
permissive
neherlab/hivwholeseq
158c0ce590bc67d1d36042c71b8b0afa3e8d8abf
978ce4060362e4973f92b122ed5340a5314d7844
refs/heads/master
2021-01-15T16:48:15.769316
2015-09-04T08:33:52
2015-09-04T08:33:52
49,801,765
4
3
null
2016-01-17T03:43:46
2016-01-17T03:43:44
null
UTF-8
Python
false
false
1,994
py
#!/usr/bin/env python # vim: fdm=marker ''' author: Fabio Zanini date: 20/03/14 content: Get the joint counts at two sites for patient samples, after mapping. ''' # Modules import argparse import numpy as np import matplotlib.pyplot as plt from hivwholeseq.patients.samples import load_samples_sequenced as...
[ "fabio.zanini@tuebingen.mpg.de" ]
fabio.zanini@tuebingen.mpg.de
ec461e4efcf3da5428bd688d03a049eaf481b553
60b8c5e048be54f49c28b2c224e86cf4d4629164
/gluon/setup.py
ec8a8656318e076b7715cb3373652d0ac7778656
[ "MIT" ]
permissive
kcieslik/imgclsmob
b333d2b0f8a04d15cc1c0b0d38845d1d2923ae26
d15bc7d4ebc50a31b4ad01cb3ad0e73b8cddbc9a
refs/heads/master
2020-06-13T06:21:01.744329
2019-06-28T16:05:11
2019-06-28T16:05:11
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,515
py
from setuptools import setup, find_packages from os import path from io import open here = path.abspath(path.dirname(__file__)) with open(path.join(here, 'README.md'), encoding='utf-8') as f: long_description = f.read() setup( name='gluoncv2', version='0.0.47', description='Image classification and se...
[ "osemery@gmail.com" ]
osemery@gmail.com
f39bd365db767a8011a2eb4aa13b47ed5c0ac42e
923d035a4762a19b30d5900db91143a83837ae70
/ichnaea/data/station.py
8546d75f06412bf83af0c62c790ab8f2638f4774
[ "Apache-2.0" ]
permissive
voolitels/ichnaea
d5d5da34cb30b3e0c85675e32dab3972cc31d7b0
bd0350fcba9efb0bad3957309ed3a471ae07e41b
refs/heads/master
2021-01-17T14:21:16.056481
2015-11-10T16:38:22
2015-11-10T16:57:20
null
0
0
null
null
null
null
UTF-8
Python
false
false
24,009
py
from collections import defaultdict import numpy from ichnaea.constants import ( PERMANENT_BLOCKLIST_THRESHOLD, TEMPORARY_BLOCKLIST_DURATION, ) from ichnaea.data.base import DataTask from ichnaea.geocalc import ( centroid, circle_radius, distance, ) from ichnaea.geocode import GEOCODER from ichnae...
[ "hanno@hannosch.eu" ]
hanno@hannosch.eu
a1514ff0aae5fff6ba6124c662459a1592b7a132
55c8fd9ce0c5bb147cbdb69274873b93b35356fc
/pathGeneration-v2/code-v2/full_eval.py
ca61e1c985c92a33e67e67192299fb8498954df2
[]
no_license
WOW5678/pathGeneration
b4143bbbc2be686ee011d24af46d57d2cee88f06
88f31b4f30750307fa7f5072e7faa2f959a6d0c0
refs/heads/master
2020-08-06T17:46:22.075128
2019-11-15T12:38:07
2019-11-15T12:38:07
213,097,008
1
0
null
null
null
null
UTF-8
Python
false
false
3,528
py
import numpy as np from sklearn.metrics import precision_recall_fscore_support, average_precision_score, \ roc_auc_score, precision_score, recall_score thres = 0.5 def f1_score(preds, labels, thres, average='micro'): '''Returns (precision, recall, F1 score) from a batch of predictions (thresholded probabilit...
[ "noreply@github.com" ]
WOW5678.noreply@github.com
f9b7225639bb8e7345c3ae82acb0ee54276ceedb
fd67592b2338105e0cd0b3503552d188b814ad95
/egoi_api/paths/campaign_groups/post.pyi
e20c009a7deaa011725e0a74459217db59959c7d
[]
no_license
E-goi/sdk-python
175575fcd50bd5ad426b33c78bdeb08d979485b7
5cba50a46e1d288b5038d18be12af119211e5b9f
refs/heads/master
2023-04-29T20:36:02.314712
2023-04-18T07:42:46
2023-04-18T07:42:46
232,095,340
5
2
null
null
null
null
UTF-8
Python
false
false
15,827
pyi
# coding: utf-8 """ Generated by: https://openapi-generator.tech """ from dataclasses import dataclass import typing_extensions import urllib3 from urllib3._collections import HTTPHeaderDict from egoi_api import api_client, exceptions from datetime import date, datetime # noqa: F401 import decimal # noqa: F4...
[ "integrations@e-goi.com" ]
integrations@e-goi.com
a58740e2a6ef0f1c5c1c2d3373a3d57e3b7311d6
e6904315fef720d562727c259fe55edcaaf2f84b
/src/orion/core/io/evc_builder.py
01094146ed00e9b0623a8a0adf56c0ef4a18b01b
[ "BSD-3-Clause" ]
permissive
mnoukhov/orion
c93c4655f6b1b6358f8ead78a3adbe9d871785c7
7849d77344e84ec805207cf4148aecf6f7d6b3d7
refs/heads/master
2020-03-25T05:37:54.251082
2019-08-19T17:33:15
2019-08-19T17:33:15
143,457,714
0
0
NOASSERTION
2018-10-31T02:37:32
2018-08-03T17:55:57
Python
UTF-8
Python
false
false
2,275
py
# -*- coding: utf-8 -*- # pylint:disable=protected-access """ :mod:`orion.core.io.evc_builder` -- Builder of experiment version control tree ============================================================================== .. module:: experiment :platform: Unix :synopsis: Builder of the experiment version control t...
[ "xavier.bouthillier@umontreal.ca" ]
xavier.bouthillier@umontreal.ca
a06e77569bb9fc552a12e6e6f5ee56d5c33ebea1
602bdbd1d8ef4d36ccfdcae5756bc8e448d30584
/share/basiccms/web/checkout.py
86bb792ceeb5be2a1dd97fafe87b116f9d8f365f
[]
no_license
timparkin/timparkingallery
1136027bf9cfbad31319958f20771a6fdc9f5fc4
6e6c02684a701817a2efae27e21b77765daa2c33
refs/heads/master
2016-09-06T00:28:16.965416
2008-11-25T21:15:45
2008-11-25T21:15:45
12,716
1
1
null
null
null
null
UTF-8
Python
false
false
7,952
py
from pollen.mail import mailutil from twisted.internet import defer from twisted.python import log from nevow import url, accessors, inevow, tags as T, rend import formal from crux import skin, icrux from tub.public.web.common import getStoreSession from ecommerce.salesorder.manager import SalesOrder, SalesOrderItem ...
[ "info@timparkin.co.uk" ]
info@timparkin.co.uk
890a0e4832d87c843d5509306210f0da7f740075
d3efc82dfa61fb82e47c82d52c838b38b076084c
/Autocase_Result/TSZLMM/YW_TSZLMM_SZXJ_085.py
aee9b54b61b3b19aec3adc52e31a8f6ab6a2da24
[]
no_license
nantongzyg/xtp_test
58ce9f328f62a3ea5904e6ed907a169ef2df9258
ca9ab5cee03d7a2f457a95fb0f4762013caa5f9f
refs/heads/master
2022-11-30T08:57:45.345460
2020-07-30T01:43:30
2020-07-30T01:43:30
280,388,441
0
0
null
null
null
null
UTF-8
Python
false
false
3,096
py
#!/usr/bin/python # -*- encoding: utf-8 -*- import sys sys.path.append("/home/yhl2/workspace/xtp_test/xtp/api") from xtp_test_case import * sys.path.append("/home/yhl2/workspace/xtp_test/service") from ServiceConfig import * from mainService import * from QueryStkPriceQty import * from log import * sys.path.append("/h...
[ "418033945@qq.com" ]
418033945@qq.com
48c38008dc8f830780911cc0ffbe98050fe9f2b8
337815ff32ebbf6e8dd2606f69d66e8efda4cd03
/epi_judge_python_solutions/is_string_palindromic_punctuation.py
8a74011a9f894f17696adcf9b67b7a1ac42109d9
[]
no_license
federicociner/epi
b85eefbf5f5bad77e2e780ffbf4ac4f9ca0809a8
32f2a1056353bca55d0d5839be5e0b73809cb45d
refs/heads/master
2020-12-19T09:22:43.430370
2020-02-04T02:34:53
2020-02-04T02:34:53
235,693,872
0
0
null
null
null
null
UTF-8
Python
false
false
904
py
from test_framework import generic_test def is_palindrome(s: str) -> bool: # i moves forward, and j moves backward. i, j = 0, len(s) - 1 while i < j: # i and j both skip non-alphanumeric characters. while not s[i].isalnum() and i < j: i += 1 while not s[j].isalnum() an...
[ "federico.ciner@gmail.com" ]
federico.ciner@gmail.com
77ffa800cee616cbc92dbb8224e7af3e41aaee4c
7f114a1fb511b816c116d5b9e67cb998e3e23956
/PyplayS163.py
8fb12da406b708d8118f33d4a51858ee26d8c0b8
[]
no_license
Bharanij27/bharanirep
90ac34eb28deaa7ec96d042de456de71b96866d7
982133a7939c889d433c178a601441fa087293d9
refs/heads/master
2021-08-07T20:22:36.244395
2020-06-05T04:58:10
2020-06-05T04:58:10
186,580,768
0
6
null
null
null
null
UTF-8
Python
false
false
104
py
n,k=map(int,input().split()) l=list(map(int,input().split())) if k in l: print("yes") else: print("no")
[ "noreply@github.com" ]
Bharanij27.noreply@github.com
b0f33f7fcb55a25559aa9ec6e4005f66fd5f16e2
93e8c89c7d83c00280c32ea9f5330d3d4cf9a6d9
/ch_10_oops/03_instance_class_attributes.py
15f55e56c13b45b76c5dba6b6df9c1a4364bb31a
[]
no_license
vidhisharma1212/oops
1d76940d084b3828db6f4bd9093ee18a8e512183
fb4252683c652a18c818948dd328c8903f2d04ee
refs/heads/main
2023-07-01T21:28:46.823861
2021-08-09T08:40:54
2021-08-09T08:40:54
393,379,828
0
0
null
null
null
null
UTF-8
Python
false
false
367
py
class Employee: company= 'Google' # salary= 900 vid= Employee() ron= Employee() shyam= Employee() # vid.salary= 300 # ron.salary= 500 Employee.salary= 900 print(vid.salary) print(ron.salary) print(shyam.salary) shyam.salary=100000 print(shyam.salary) print(vid.company) print(ron.company) Employee.company= ...
[ "vidhisharma921@gmail.com" ]
vidhisharma921@gmail.com
eee813bc568246e104455e856e8360de7d16c2cb
975fb6bf66c878415a880003c2d635163cb664d8
/qoc/standard/functions/convenience.py
35ea6b8916c0317e9234a845118aaab8e03ea59a
[ "MIT" ]
permissive
SchusterLab/qoc
8833628a9b7df3727b982b667310059563dfded7
36d615170effc1b705d4543d92f979e511edfec2
refs/heads/master
2023-06-07T07:49:33.720205
2023-03-12T20:19:55
2023-03-12T20:19:55
198,457,530
12
14
MIT
2021-05-10T02:23:11
2019-07-23T15:24:41
Python
UTF-8
Python
false
false
2,797
py
""" convenience.py - definitions of common computations All functions in this module that are exported, i.e. those that don't begin with '_', are autograd compatible. """ from functools import reduce from autograd.extend import defvjp, primitive import autograd.numpy as anp import numpy as np import scipy.linalg as ...
[ "tcpropson@gmail.com" ]
tcpropson@gmail.com
2b112ccb194f9ad783c20cb17572fb0072f813b1
14804b282e567bf45c974b9a55cbdfa1907c5958
/16_Standard_Library/A_Modules/_turtle_04.py
cd5ff64ebe782eaa5fac54f84e57482e0cd772a7
[ "MIT" ]
permissive
Oscar-Oliveira/Python-3
cfdcbcf4548144fb2488625f53f76b20e4d8c5b0
fa791225a6810b75890d24407b73c5e1b514acbe
refs/heads/master
2021-09-26T06:27:16.367956
2018-10-27T10:42:21
2018-10-27T10:42:21
101,991,657
0
1
null
null
null
null
UTF-8
Python
false
false
513
py
""" turtle """ import turtle import random colors = ["blue", "black", "brown", "red", "orange", "green", "yellow", "beige", "turquoise", "pink"] wn = turtle.Screen() turtles = [turtle.Turtle() for _ in range(10)] for i, t in enumerate(turtles): t.shape("turtle") t.color(colors[i])...
[ "oscar.m.oliveira@gmail.com" ]
oscar.m.oliveira@gmail.com
2d023ce13d42aeef06d982be4b8609792e5496ca
23fddc940a266c2d1d0e0b1687c36cdbcc9d54d9
/app/admin/__init__.py
b72f72aeec303c88ed6a8f146eb448e50be15bcf
[]
no_license
Cuick/traversing
210fcfb1c780037de59343fffeb4fa4d3f2eae32
c78982580af7f63c8bff4dcb37005b7f7c682b5b
refs/heads/master
2021-01-10T17:38:37.899460
2016-11-18T06:06:55
2016-11-18T06:06:55
55,397,540
0
1
null
null
null
null
UTF-8
Python
false
false
156
py
#-*- coding:utf-8 -*- """ created by server on 14-5-26上午11:59. """ import action def doWhenStop(): """服务器关闭前的处理 """ pass
[ "zxzxck@163.com" ]
zxzxck@163.com
eb905dd46d64599308b58106219fd94e874c27af
531c47c15b97cbcb263ec86821d7f258c81c0aaf
/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_08_01/aio/operations_async/_vpn_server_configurations_associated_with_virtual_wan_operations_async.py
f5c8445e1d311bde344a60cba25058ed763eeb77
[ "LicenseRef-scancode-generic-cla", "LGPL-2.1-or-later", "MIT" ]
permissive
YijunXieMS/azure-sdk-for-python
be364d3b88204fd3c7d223df23756386ff7a3361
f779de8e53dbec033f98f976284e6d9491fd60b3
refs/heads/master
2021-07-15T18:06:28.748507
2020-09-04T15:48:52
2020-09-04T15:48:52
205,457,088
1
2
MIT
2020-06-16T16:38:15
2019-08-30T21:08:55
Python
UTF-8
Python
false
false
7,435
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" ]
YijunXieMS.noreply@github.com
4c36661bdaf9f097617a68f74fd7e9c443e2b16d
b95fa99bb1ba2210b73251614d2613363c37f932
/deploy/ngram-train/scripts/main-70.py
ce7b6772851d4bcf8747f79598571b1f41cf57ca
[]
no_license
lingxiao/learn-adj-relation
d1a8894fefc776ec0bd414b5f038361ed4b79d16
dc4285af19e53d7e2d015eb6394f6c601c707da0
refs/heads/master
2020-12-30T16:27:51.531268
2017-06-07T18:59:48
2017-06-07T18:59:48
87,714,049
0
0
null
null
null
null
UTF-8
Python
false
false
1,128
py
############################################################ # Module : A series of measures on the graph for experiments # Date : April 2nd, 2017 # Author : Xiao Ling ############################################################ import os import re import networkx as nx from utils import * from scripts import ...
[ "lingxiao@seas.upenn.edu" ]
lingxiao@seas.upenn.edu
73687bc070d5f0a867ecaa764f11fb3fba7ed95d
28be2173e5590cc5b03119e9b83c57980e6a7e8a
/studygroups/migrations/0064_split63.py
e49732264ba24d1eaa1b270237861d4c1c7c8b63
[ "MIT" ]
permissive
EdgarOrnelas/learning-circles
cd164f123885ed2079b34ad394c9849b370563b9
293c849321d735aebbdcb6c65b7c92f751f9fd89
refs/heads/master
2021-01-21T20:56:35.429589
2017-06-16T09:20:46
2017-06-16T09:20:46
null
0
0
null
null
null
null
UTF-8
Python
false
false
771
py
# -*- coding: utf-8 -*- from __future__ import unicode_literals from django.db import migrations, models import datetime from django.utils.timezone import utc def set_meeting_time(apps, schema_editor): StudyGroupMeeting = apps.get_model('studygroups', 'StudyGroupMeeting') for meeting in StudyGroupMeeting.obj...
[ "dirkcuys@gmail.com" ]
dirkcuys@gmail.com
1fa016ff9f3a7768af348bd01c7db7b60543d4de
1afe3895ae8969ccba6d45e531ab5d59b8a41696
/confession/user_app/migrations/0012_auto_20190121_1659.py
673e55aaaef40def26992ea3a95286503b101c0f
[]
no_license
FZTeam/confession
72e3ca0b2ab6016055b4ad6791f5a69aa3732368
7808d2810c65d0be956270f15d8ca489e1a9defe
refs/heads/master
2022-12-12T08:30:37.603455
2019-02-25T15:56:31
2019-02-25T15:56:31
167,647,099
0
1
null
2022-07-06T19:59:26
2019-01-26T03:52:59
Python
UTF-8
Python
false
false
616
py
# -*- coding: utf-8 -*- # Generated by Django 1.11.15 on 2019-01-21 16:59 from __future__ import unicode_literals from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('user_app', '0011_auto_20190121_1658'), ] operations = [ migrations.AlterFi...
[ "2094531487@qq.com" ]
2094531487@qq.com
c6d924a273405d47e1ca7228439de237c16e8109
4904acd900496b4883c2f5b4aa6b45d1ef6654c0
/graphgallery/utils/__init__.py
b41031c08476cf8f7aff25809ca677c95d3ae196
[ "MIT" ]
permissive
blindSpoter01/GraphGallery
aee039edd759be9272d123463b0ad73a57e561c7
e41caeb32a07da95364f15b85cad527a67763255
refs/heads/master
2023-06-17T11:42:27.169751
2021-07-15T03:07:39
2021-07-15T03:07:39
null
0
0
null
null
null
null
UTF-8
Python
false
false
269
py
from .context_manager import nullcontext from .raise_error import raise_if_kwargs from .tqdm import tqdm from .context_manager import nullcontext from .progbar import Progbar from .misc import * from .logger import setup_logger, get_logger from .timeout import TimeOut
[ "cnljt@outlook.com" ]
cnljt@outlook.com
7eabe48f91e014ea0b88c898557d4b21f62f256b
0ddcfcbfc3faa81c79e320c34c35a972dab86498
/puzzles/maximum_value_of_k_coins_from_piles.py
61093ea2df9249ea3435755ccc5a997eed57f8bd
[]
no_license
IvanWoo/coding-interview-questions
3311da45895ac4f3c394b22530079c79a9215a1c
1312305b199b65a11804a000432ebe28d1fba87e
refs/heads/master
2023-08-09T19:46:28.278111
2023-06-21T01:47:07
2023-06-21T01:47:07
135,307,912
0
0
null
2023-07-20T12:14:38
2018-05-29T14:24:43
Python
UTF-8
Python
false
false
1,536
py
# https://leetcode.com/problems/maximum-value-of-k-coins-from-piles/description/ """ There are n piles of coins on a table. Each pile consists of a positive number of coins of assorted denominations. In one move, you can choose any coin on top of any pile, remove it, and add it to your wallet. Given a list piles, whe...
[ "tyivanwu@gmail.com" ]
tyivanwu@gmail.com
a39c7ff7874061c6046993e0a11fa1f4106e2173
e62b1e748582584a5c2a05fff970fe09e72752b4
/bra/sprzedaz.py
4c4f500857455573c6de7867b4ae8daedbfadd1b
[]
no_license
wlodekf/jpk
5957b515ecbcded9b4f27d6a0785ee89e3a0d585
1c200350f57469e890a124d07f741d836d9a0833
refs/heads/master
2023-07-10T20:15:11.111276
2021-08-11T12:21:14
2021-08-11T12:21:14
394,978,461
1
0
null
null
null
null
UTF-8
Python
false
false
18,952
py
# -*- coding: utf-8 -*- from __future__ import unicode_literals import csv import re import datetime import decimal import asyncio import websockets import traceback from django.conf import settings from django.db.models import Max, Q from fk.models import Kon, MagDok, MagWiersz, MagNumer from .models import Fakt...
[ "wlodekf@softprodukt.com.pl" ]
wlodekf@softprodukt.com.pl
f6cfbb1b55ec14f10d8504e6f9cfc2d5e037a025
8efe56ee34c455a6b1336897f6d457acbc9c10f9
/examples/tf/trpo_cartpole_batch_sampler.py
0123ededecc2bc226c82064afb576a0c3b154b04
[ "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
2,140
py
#!/usr/bin/env python3 """This is an example to train a task with parallel sampling.""" import click from metarl import wrap_experiment from metarl.envs import MetaRLEnv from metarl.experiment import LocalTFRunner from metarl.experiment.deterministic import set_seed from metarl.np.baselines import LinearFeatureBaselin...
[ "neurips2020submission11699@gmail.com" ]
neurips2020submission11699@gmail.com
ec5ee589299f8dbc8bcd523e7b26e96896864327
7949f96ee7feeaa163608dbd256b0b76d1b89258
/toontown/safezone/DistributedFindFour.py
c6488b8a595e93b2cc893ff46e000b115dd9aba2
[]
no_license
xxdecryptionxx/ToontownOnline
414619744b4c40588f9a86c8e01cb951ffe53e2d
e6c20e6ce56f2320217f2ddde8f632a63848bd6b
refs/heads/master
2021-01-11T03:08:59.934044
2018-07-27T01:26:21
2018-07-27T01:26:21
71,086,644
8
10
null
2018-06-01T00:13:34
2016-10-17T00:39:41
Python
UTF-8
Python
false
false
38,816
py
# File: t (Python 2.4) from pandac.PandaModules import * from direct.distributed.ClockDelta import * from direct.task.Task import Task from direct.interval.IntervalGlobal import * from TrolleyConstants import * from direct.gui.DirectGui import * from toontown.toonbase import TTLocalizer from direct.distributed import ...
[ "fr1tzanatore@aol.com" ]
fr1tzanatore@aol.com
5477dcd8e308ebb2b6dc85d43bc6177fb264a20c
04b1803adb6653ecb7cb827c4f4aa616afacf629
/third_party/blink/web_tests/external/wpt/tools/wptrunner/wptrunner/wptmanifest/backends/conditional.py
5719a859fa4bc7e4ab4d1e9329ca74b2af6666f7
[ "LGPL-2.0-or-later", "GPL-1.0-or-later", "MIT", "Apache-2.0", "LicenseRef-scancode-w3c-03-bsd-license", "BSD-3-Clause", "LicenseRef-scancode-warranty-disclaimer", "LGPL-2.1-only", "GPL-2.0-only", "LGPL-2.0-only", "BSD-2-Clause", "LicenseRef-scancode-other-copyleft" ]
permissive
Samsung/Castanets
240d9338e097b75b3f669604315b06f7cf129d64
4896f732fc747dfdcfcbac3d442f2d2d42df264a
refs/heads/castanets_76_dev
2023-08-31T09:01:04.744346
2021-07-30T04:56:25
2021-08-11T05:45:21
125,484,161
58
49
BSD-3-Clause
2022-10-16T19:31:26
2018-03-16T08:07:37
null
UTF-8
Python
false
false
11,631
py
import operator from ..node import NodeVisitor, DataNode, ConditionalNode, KeyValueNode, ListNode, ValueNode from ..parser import parse class ConditionalValue(object): def __init__(self, node, condition_func): self.node = node self.condition_func = condition_func if isinstance(node, Condi...
[ "sunny.nam@samsung.com" ]
sunny.nam@samsung.com
b2b4971f6f115b35ab3d38e85042808deb3e4102
5182897b2f107f4fd919af59c6762d66c9be5f1d
/.history/src/Simulador_20200708111002.py
e4355d8041f85f51b628df0e95950022e25c13c9
[ "MIT" ]
permissive
eduardodut/Trabalho_final_estatistica_cd
422b7e702f96291f522bcc68d2e961d80d328c14
fbedbbea6bdd7a79e1d62030cde0fab4e93fc338
refs/heads/master
2022-11-23T03:14:05.493054
2020-07-16T23:49:26
2020-07-16T23:49:26
277,867,096
0
0
null
null
null
null
UTF-8
Python
false
false
5,326
py
import pandas as pd import numpy as np from Matriz_esferica import Matriz_esferica from Individuo import Individuo import random from itertools import permutations class Simulador(): def __init__( self, tamanho_matriz, #numero de linhas e colunas da matriz esférica percent...
[ "eduardo_dut@edu.unifor.br" ]
eduardo_dut@edu.unifor.br
00939f6d74f528a23ab0e586d52057ea17789070
ffadf9541d01cf9af20c419759d48b1eb01bfd35
/pachong/PCdemo1/day15/股市行情定点爬取.py
842ff30d11cf43f28fc448cc022cde009269ba8e
[]
no_license
1987617587/lsh_py
b1bb1016eaafcba03bbc4a5310c1db04ae227af4
80eb5175cd0e5b3c6c5e2ebb906bb78d9a8f9e0d
refs/heads/master
2021-01-02T05:14:31.330287
2020-06-20T05:18:23
2020-06-20T05:18:23
239,498,994
2
1
null
2020-06-07T23:09:56
2020-02-10T11:46:47
Python
UTF-8
Python
false
false
5,975
py
# author:lsh # datetime:2020/4/13 19:56 ''' .::::. _oo0oo_ .::::::::. o8888888o ::::::::::: 8...
[ "1987617587@qq.com" ]
1987617587@qq.com
59fecb3751deccbc1893af6d99c785ffb06deb69
7fae887c73cc6df8de886897114eb07c28674fa7
/cs101/unit27/27_4.py
7f5cedd2fc201fd3745d03708f744ca64942ee95
[]
no_license
thinkreed/pyf
24960e3523be3c2e1661608f60f866a5cd7e747f
04f5e7f46aa95719f848bb64a512458895147da3
refs/heads/master
2022-12-10T17:43:49.709946
2019-06-13T01:13:00
2019-06-13T01:13:00
109,550,040
2
0
null
2022-12-08T05:14:52
2017-11-05T03:53:51
Python
UTF-8
Python
false
false
972
py
english = {1: "January", 2: "February", 3: "March", 4: "April", 5: "May", 6: "June", 7: "July", 8: "August", 9: "September", 10: "October", 11: "November", 12: "December"} swedish = {1: "januari", 2: "februari", 3: "mars", 4: "april", 5: "maj", 6: "juni", 7: "juli", 8: "augusti", 9: "s...
[ "thinkreed2017@outlook.com" ]
thinkreed2017@outlook.com
9ec06f7e2751cf047aecded3a7687a957892776e
ce083128fa87ca86c65059893aa8882d088461f5
/python/flask-mail-labs/.venv/lib/python2.7/site-packages/IPython/terminal/interactiveshell.py
4119b87698d99d50b6b6c44d195e21abaf2e3faa
[]
no_license
marcosptf/fedora
581a446e7f81d8ae9a260eafb92814bc486ee077
359db63ff1fa79696b7bc803bcfa0042bff8ab44
refs/heads/master
2023-04-06T14:53:40.378260
2023-03-26T00:47:52
2023-03-26T00:47:52
26,059,824
6
5
null
2022-12-08T00:43:21
2014-11-01T18:48:56
null
UTF-8
Python
false
false
32,119
py
# -*- coding: utf-8 -*- """Subclass of InteractiveShell for terminal based frontends.""" # Copyright (c) IPython Development Team. # Distributed under the terms of the Modified BSD License. from __future__ import print_function import bdb import os import sys from IPython.core.error import TryNext, Usag...
[ "marcosptf@yahoo.com.br" ]
marcosptf@yahoo.com.br
251f4b94234d2cacbf822e32f19aae0edea50f0f
090fd16451ef226f0660d4be797c8a5fbf309f97
/training_data/whole_image/to_tensors/metadata_to_grid_tensor.py
4ca081192a85d619c3672f048fe0bd5599b745bb
[]
no_license
philip-brohan/Robot_Rainfall_Rescue
2cdd20131a1ceae4e4af54059381b815f1cc138b
4121d69aba6c8d180b57d92a0da11d09cd6843b4
refs/heads/master
2023-04-13T10:07:08.160001
2021-04-21T10:24:17
2021-04-21T10:24:17
267,624,025
0
0
null
null
null
null
UTF-8
Python
false
false
3,783
py
#!/usr/bin/env python # Make a tensor containing grid-cell corner locations from the image metadata import os import sys import math import tensorflow as tf import numpy import pickle import argparse parser = argparse.ArgumentParser() parser.add_argument("--rootd", help="root directory", type=str, required=True) p...
[ "philip@brohan.org" ]
philip@brohan.org
d38333c18d45679b62018269967f8c0ac35bdc26
bad62c2b0dfad33197db55b44efeec0bab405634
/sdk/ml/azure-ai-ml/tests/automl_job/e2etests/test_automl_image_segmentation.py
ffccf9eebf789cc84db05ad6812bd7fd5eab6066
[ "LicenseRef-scancode-python-cwi", "LGPL-2.1-or-later", "PSF-2.0", "LGPL-2.0-or-later", "GPL-3.0-or-later", "GPL-1.0-or-later", "LicenseRef-scancode-warranty-disclaimer", "LGPL-2.1-only", "Python-2.0", "MPL-2.0", "LicenseRef-scancode-other-copyleft", "HPND", "ODbL-1.0", "GPL-3.0-only", "Z...
permissive
test-repo-billy/azure-sdk-for-python
20c5a2486456e02456de17515704cb064ff19833
cece86a8548cb5f575e5419864d631673be0a244
refs/heads/master
2022-10-25T02:28:39.022559
2022-10-18T06:05:46
2022-10-18T06:05:46
182,325,031
0
0
MIT
2019-07-25T22:28:52
2019-04-19T20:59:15
Python
UTF-8
Python
false
false
4,934
py
# --------------------------------------------------------- # Copyright (c) Microsoft Corporation. All rights reserved. # --------------------------------------------------------- import copy import platform from typing import Tuple import pytest from test_utilities.utils import assert_final_job_status, get_automl_jo...
[ "noreply@github.com" ]
test-repo-billy.noreply@github.com
78ac1d8ab0955e19b6f31f6d9c758f0027b2d9c6
eef243e450cea7e91bac2f71f0bfd45a00c6f12c
/.history/app/api_service/nlp_processing_20210127230126.py
bde6c9249a1735a48dc000ac6a5ff9b4947ad313
[]
no_license
hoaf13/nlp-chatbot-lol
910ab2ea3b62d5219901050271fc1a1340e46a2f
18cb64efa9d6b4cafe1015f1cd94f4409271ef56
refs/heads/master
2023-05-08T04:17:19.450718
2021-02-02T02:37:38
2021-02-02T02:37:38
332,535,094
0
0
null
null
null
null
UTF-8
Python
false
false
28,073
py
import csv import json import numpy as np import sklearn from sklearn.feature_extraction.text import TfidfTransformer from sklearn.feature_extraction.text import CountVectorizer import numpy from keras.datasets import imdb from keras.models import Sequential from keras.layers import Dense, Dropout from keras.layers imp...
[ "samartcall@gmail.com" ]
samartcall@gmail.com