blob_id
stringlengths
40
40
directory_id
stringlengths
40
40
path
stringlengths
3
288
content_id
stringlengths
40
40
detected_licenses
listlengths
0
112
license_type
stringclasses
2 values
repo_name
stringlengths
5
115
snapshot_id
stringlengths
40
40
revision_id
stringlengths
40
40
branch_name
stringclasses
684 values
visit_date
timestamp[us]date
2015-08-06 10:31:46
2023-09-06 10:44:38
revision_date
timestamp[us]date
1970-01-01 02:38:32
2037-05-03 13:00:00
committer_date
timestamp[us]date
1970-01-01 02:38:32
2023-09-06 01:08:06
github_id
int64
4.92k
681M
star_events_count
int64
0
209k
fork_events_count
int64
0
110k
gha_license_id
stringclasses
22 values
gha_event_created_at
timestamp[us]date
2012-06-04 01:52:49
2023-09-14 21:59:50
gha_created_at
timestamp[us]date
2008-05-22 07:58:19
2023-08-21 12:35:19
gha_language
stringclasses
147 values
src_encoding
stringclasses
25 values
language
stringclasses
1 value
is_vendor
bool
2 classes
is_generated
bool
2 classes
length_bytes
int64
128
12.7k
extension
stringclasses
142 values
content
stringlengths
128
8.19k
authors
listlengths
1
1
author_id
stringlengths
1
132
bbb6268281ee09c15af62c26d0df2d1c6065e735
f9d5bc590bd6c6274d7a6efec0f60cac1d8286b2
/assets/coins/monero/moneroImportPrices.py
6a92df9ceca004c233c3ecc5ce2799c0931dad42
[]
no_license
pr0logas/grepblockBEpython
35c83c1bf2114fc9417bedff6cf2a6e2ad2e667e
bbeaa290d13d80f993d843c7f1dbbfd373eee332
refs/heads/master
2022-10-03T23:35:44.600740
2020-03-09T08:24:53
2020-03-09T08:24:53
null
0
0
null
null
null
null
UTF-8
Python
false
false
782
py
#:: By GrepBlock.com developers // pr0logas #:: Modified date: 2019-11-30 #:: Description: This file is a workspace for Prices importation. import sys, time from time import gmtime, strftime from monero import * sys.path.append('../../../') from mongoDB import * from parsePrices import parseCoinGeckoPrices db = datab...
[ "tomas@dappradar.com" ]
tomas@dappradar.com
f6d2ffae909f5992e8ceea3bdc223d04acc73d4b
2c3da6e0bddf55d64d650040bbf286c47b31811a
/学习路线/1.python基础/day05/02-for-else语句.py
ec56422c4833eede814e9a25e0dca957f39f600e
[ "MIT" ]
permissive
Bngzifei/PythonNotes
76bd53db3033a9c51ab4bdd727842cd89607b584
01590e1b6c1bc0f04aa2d355fa2553c04cce27f2
refs/heads/master
2023-02-04T06:49:00.725463
2020-12-15T09:26:40
2020-12-15T09:26:40
155,154,662
1
2
MIT
2020-09-08T01:30:19
2018-10-29T05:02:48
Python
UTF-8
Python
false
false
670
py
list1 = ["zhansan", "lisi1", 'ww'] # for name in list1: # 运行2次,出现逻辑错误 # if name == 'lisi': # print('找到') # else: # print("没有找到") """当for执行完成后,默认for后面的else都会执行一次,如果不想让for后面的else执行,在for里面写个break""" for name in list1: # 批量查找数据 if ... in...(判断有没有,True或False) 判断有没有我要的那个并返回(因为后续要用这个返回的)用for(break) else (判断有没有我要的那个) ...
[ "bngzifei@gmail.com" ]
bngzifei@gmail.com
e5029b3854dbaef24fb6cce6c6025ff4d71cca34
e8e2f3cb21e3f3c289b890dcf3cde567bb92dc32
/venv/bin/chardetect
a471d60fdc696af75d4b511e1d3b9a0af3f271c1
[]
no_license
Timur597/Feliz
a0071b93a87eab015dd205e14cba88bcb5f34926
6f712ded791c84dee71f75934fb77d0ae101f5e6
refs/heads/master
2023-05-27T15:54:54.782528
2021-06-09T16:34:45
2021-06-09T16:34:45
373,058,036
0
1
null
2021-06-09T16:47:59
2021-06-02T06:07:12
Python
UTF-8
Python
false
false
262
#!/home/timur/PyCharmProjects/feeliz-master/venv/bin/python # -*- coding: utf-8 -*- import re import sys from chardet.cli.chardetect import main if __name__ == '__main__': sys.argv[0] = re.sub(r'(-script\.pyw|\.exe)?$', '', sys.argv[0]) sys.exit(main())
[ "khalilov.timur97@mail.ru" ]
khalilov.timur97@mail.ru
fea402ed06f40785cacbf954f34865f10e62de55
76dba08689db40edf2d01a98856fa2a20d98d679
/甲鱼python/课程代码/第11讲/第11讲课后作业.py
f38d6087bebb08ecebe94960c7ce4388591454c7
[]
no_license
pangfeiyo/PythonLearn
ce0747d75b53eb21acb6199acfe10934778420b2
b514b3d7baa62fa7b801d26ff49266f02cb9cbd2
refs/heads/master
2021-05-11T10:20:14.818774
2020-01-16T15:47:16
2020-01-16T15:47:16
118,096,858
0
0
null
null
null
null
UTF-8
Python
false
false
515
py
# 从列表末尾取出一个元素,并将这个元素插入列表最前边 member = ['一','甲鱼','玩笑'] member.insert(0,member.pop()) print(member) #python支持负数下标,列表最后一个元素为-1 list2 = [1,3,2,9,7,8] print(list2[-3:-1]) #切片和赋值的区别 #切片相当于复制 sy1 = [1,3,2,9,7,8] sy2 = sy1[:] #切片复制sy1的内容给sy2 sy3 = sy1 #sy1赋值给sy3 sy1.sort() #对sy1进行大小排序 print('sy1:',sy1) print('...
[ "35551631+pangfeiyo@users.noreply.github.com" ]
35551631+pangfeiyo@users.noreply.github.com
8edf7add9dd89a5a59c9d84008f56f0adbe83abc
b7b40fffd7d192b89a7ad3bdb791a7dbd072ac64
/axelrod/tests/test_memoryone.py
44167991b5bf6387399275371a16858e90bad540
[ "MIT" ]
permissive
DEFALT303/Axelrod
f91911ad7a404c30edfef38afd02319fcd12bc15
e59fc40ebb705afe05cea6f30e282d1e9c621259
refs/heads/master
2020-09-24T08:39:49.107919
2015-04-16T16:15:42
2015-04-16T16:15:42
null
0
0
null
null
null
null
UTF-8
Python
false
false
7,640
py
"""Test for the memoryone strategies.""" import random import axelrod from test_player import TestPlayer class TestWinStayLostShift(TestPlayer): name = "Win-Stay Lose-Shift" player = axelrod.WinStayLoseShift def test_strategy(self): """Starts by cooperating""" P1 = self.player() ...
[ "vincent.knight@gmail.com" ]
vincent.knight@gmail.com
46a2e88f482b70548c82568f1d10bf2234d6b0e0
7bededcada9271d92f34da6dae7088f3faf61c02
/pypureclient/flasharray/FA_2_20/models/array.py
b454053102b55f917520181b04db56e7ba183f91
[ "BSD-2-Clause" ]
permissive
PureStorage-OpenConnect/py-pure-client
a5348c6a153f8c809d6e3cf734d95d6946c5f659
7e3c3ec1d639fb004627e94d3d63a6fdc141ae1e
refs/heads/master
2023-09-04T10:59:03.009972
2023-08-25T07:40:41
2023-08-25T07:40:41
160,391,444
18
29
BSD-2-Clause
2023-09-08T09:08:30
2018-12-04T17:02:51
Python
UTF-8
Python
false
false
7,115
py
# coding: utf-8 """ FlashArray REST API No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) OpenAPI spec version: 2.20 Generated by: https://github.com/swagger-api/swagger-codegen.git """ import pprint import re import six import typing from ...
[ "noreply@github.com" ]
PureStorage-OpenConnect.noreply@github.com
ec1a5719f569715605b75d20d9dea2e9ea1a20ef
eee741a9d6d55357fb597e0cc3379085f47c2c13
/processData.py
85071304b5d9fe473ea285664cbd0cd5dac57f28
[]
no_license
mbstacy/gdal_ok_mesonet_data_process
6505be783056eeade9664782035c284d76f29e1c
18fe989560d54cc0fff336462c26897778daeaef
refs/heads/master
2021-01-10T07:32:55.865328
2016-02-23T22:42:48
2016-02-23T22:42:48
52,396,676
0
0
null
null
null
null
UTF-8
Python
false
false
5,487
py
#!/usr/bin/env python ''' Created on Feb 2, 2016 @author: ledapsTwo ''' from osgeo import gdal,osr from os import path from csv import DictReader import shlex,sys import pandas as pd import numpy as np class raster: def __init__(self,inFile): gf = gdal.Open(inFile) self.raster = gf se...
[ "mbstacy@gmail.com" ]
mbstacy@gmail.com
044ef7733d33340e7cf093fa5b1b04a826c31548
9743d5fd24822f79c156ad112229e25adb9ed6f6
/xai/brain/wordbase/adjectives/_summary.py
18d09be192ac1b4023f64ab173806411d3dcea87
[ "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
417
py
#calss header class _SUMMARY(): def __init__(self,): self.name = "SUMMARY" self.definitions = [u'done suddenly, without discussion or legal arrangements: '] self.parents = [] self.childen = [] self.properties = [] self.jsondata = {} self.specie = 'adjectives' def run(self, obj1, obj2): self.js...
[ "xingwang1991@gmail.com" ]
xingwang1991@gmail.com
a0d550e2fdb493ba6c99d7490c06e07da09bcdde
eb9f655206c43c12b497c667ba56a0d358b6bc3a
/python/helpers/typeshed/stubs/aws-xray-sdk/aws_xray_sdk/core/sampling/reservoir.pyi
322d1d38c3d821602e3e08cb5f590e0f85608dd7
[ "Apache-2.0", "MIT" ]
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
337
pyi
from enum import Enum class Reservoir: def __init__(self) -> None: ... def borrow_or_take(self, now, can_borrow): ... def load_quota(self, quota, TTL, interval) -> None: ... @property def quota(self): ... @property def TTL(self): ... class ReservoirDecision(Enum): TAKE: str BORROW:...
[ "intellij-monorepo-bot-no-reply@jetbrains.com" ]
intellij-monorepo-bot-no-reply@jetbrains.com
60a71622737aa6e8a866253cebae37379422f533
7d84000f2977def7118b4c93a47b9d71c4ee38f8
/app/src/utils/log_streamer.py
ad37f010c1610fdbb84800feadcdb0afd9627020
[]
no_license
tensorci/core
d405d17099987163dfc589711345ce414ace406e
50d18bb43f73b1d5d47fefad543c2554e87a6520
refs/heads/master
2021-03-19T13:27:26.219591
2020-12-03T01:14:57
2020-12-03T01:14:57
110,917,313
0
0
null
2020-12-03T01:15:26
2017-11-16T03:20:09
Python
UTF-8
Python
false
false
3,800
py
import log_formatter from src import logger, dbi from pyredis import redis from src.helpers.definitions import tci_keep_alive # TODO: This file is disgusting -- make it less disgusting def should_complete_stream(data, deployment): # Check if last_entry was specified in the log. Complete the stream if so. complet...
[ "benwhittle31@gmail.com" ]
benwhittle31@gmail.com
67d8405dae494c985db55a7991291fe6a81e390a
38c10c01007624cd2056884f25e0d6ab85442194
/third_party/chromite/cbuildbot/autotest_rpc_errors.py
1ee19f4a5238f93886962b5f9968b1f009275cf6
[ "BSD-3-Clause", "LGPL-2.0-or-later", "GPL-1.0-or-later", "MIT", "Apache-2.0", "LicenseRef-scancode-unknown-license-reference" ]
permissive
zenoalbisser/chromium
6ecf37b6c030c84f1b26282bc4ef95769c62a9b2
e71f21b9b4b9b839f5093301974a45545dad2691
refs/heads/master
2022-12-25T14:23:18.568575
2016-07-14T21:49:52
2016-07-23T08:02:51
63,980,627
0
2
BSD-3-Clause
2022-12-12T12:43:41
2016-07-22T20:14:04
null
UTF-8
Python
false
false
670
py
# Copyright 2015 The Chromium OS Authors. All rights reserved. # Use of this source code is governed by a BSD-style license that can be # found in the LICENSE file. """Error codes used for the Autotest RPC Client, Proxy, and Server. This is a copy of scripts/slave-internal/autotest_rpc/autotest_rpc_errors.py from htt...
[ "zeno.albisser@hemispherian.com" ]
zeno.albisser@hemispherian.com
46b142b96d6ec205f215bf65fe76cf618722fad6
7236d1d4873faa9735fd5e2d4598b211a370f731
/project/n/projects/projects/ecommapp/users/migrations/0007_myuser_date_join.py
d2f2c4be22f4cc171f14f93f40710f105bb9009e
[]
no_license
Dreambigxz/my_first_django_app
05f5a5d330d72084489f9306fca9ca232af13999
9e21ebcbe63c7394280558d2977ef8a796960e0d
refs/heads/main
2023-01-03T18:45:20.712074
2020-10-23T09:05:47
2020-10-23T09:05:47
306,180,592
1
0
null
null
null
null
UTF-8
Python
false
false
453
py
# Generated by Django 3.0.8 on 2020-09-03 16:55 from django.db import migrations, models import django.utils.timezone class Migration(migrations.Migration): dependencies = [ ('users', '0006_auto_20200903_1752'), ] operations = [ migrations.AddField( model_name=...
[ "onyemordidaniel@gmail.com" ]
onyemordidaniel@gmail.com
116d387dd717fabe096b4ea161ad403d2870e88a
33976fddb32feae0b6b5d38b0a8994490fc4b1db
/src/ar6/constants/gases.py
4df95e992cbd6ed95181fc2ed1bf4bafd19e54c8
[ "MIT" ]
permissive
chrisroadmap/ar6
e72e4bad8d1c1fa2751513dbecddb8508711859c
2f948c862dbc158182ba47b863395ec1a4aa7998
refs/heads/main
2023-04-16T22:57:02.280787
2022-09-27T13:31:38
2022-09-27T13:31:38
305,981,969
27
20
MIT
2022-09-27T13:31:38
2020-10-21T10:02:03
Jupyter Notebook
UTF-8
Python
false
false
6,315
py
""" Gas properties """ # Number of bromine atoms br_atoms = { 'CCl4': 0, 'CFC11': 0, 'CFC113': 0, 'CFC114': 0, 'CFC115': 0, 'CFC12': 0, 'CH2Cl2': 0, 'CH3Br': 1, 'CH3CCl3': 0, 'CH3Cl': 0, 'CHCl3': 0, 'HCFC141b': 0, 'HCFC142b': 0, 'HCFC22': 0, 'Halon1211': 1, ...
[ "chrisroadmap@gmail.com" ]
chrisroadmap@gmail.com
2592cd0cd2bea747a58634eb2386b2e46bdca291
a0015a3dc121c8fcdd5d2eadd522ece03b4ceec8
/docs/cornell CS class/Lesson 29. Coroutines/demos/read2.py
fe3ecc58b16f7d80b45c890599a931e740dcc82a
[ "MIT" ]
permissive
LizzieDeng/kalman_fliter_analysis
fc40d475797dbddba5f9f2dfb224fbf68d77865f
50e728f32c496c3fcbb8ca3ee00857b999b88d99
refs/heads/main
2023-03-03T02:46:19.020078
2021-02-05T07:53:10
2021-02-05T07:53:10
329,243,328
0
0
null
null
null
null
UTF-8
Python
false
false
5,137
py
""" A module to show off a long-running function as a coroutine. This module shows another advantage of a coroutine. We can interleave two functions as they load from a file. There are reasons we might want to do this when working with large data, but they are beyond the scope of this course. Author: Walker M. White ...
[ "dengff@w-ibeda.com" ]
dengff@w-ibeda.com
2cb33275754ec783f5f546a411cf0fe226a579eb
f7982a468b6f76dc72c53e7c3644ae4e7e6f2f49
/pyEX/refdata/ric.py
6e4ab19987f1f4ec33a268a2b177446c705a78b6
[ "Apache-2.0" ]
permissive
timkpaine/pyEX
55002c3718214c6e207976ab3661a47108c6c114
f678c791d05bc28911e25807241c392a9ee8134f
refs/heads/main
2023-08-20T00:17:53.162803
2022-11-22T02:51:13
2022-11-22T02:51:13
109,551,372
350
95
Apache-2.0
2023-09-11T12:26:54
2017-11-05T04:21:16
Python
UTF-8
Python
false
false
1,129
py
# ***************************************************************************** # # Copyright (c) 2021, the pyEX authors. # # This file is part of the pyEX library, distributed under the terms of # the Apache License 2.0. The full license can be found in the LICENSE file. # from functools import wraps import pandas a...
[ "t.paine154@gmail.com" ]
t.paine154@gmail.com
0f7d8ae5196b70d080e081d05be8478206494a1d
82cd10c024f284555845f006e518924fed3254c7
/Day-06[09-10-2021]/EmployeeProject/EmployeeProject/urls.py
256d1ab7ebea77beebcb3a9ed2b40858b129c6a2
[]
no_license
AP-Skill-Development-Corporation/APSSDC-Workshop2021
61acba18eb55ec2e4bb96ded95d339c73c8ea1ac
fe1f5517f99b17bd0ebcf07c70ee26bd23f262ea
refs/heads/main
2023-08-12T16:29:53.208949
2021-10-16T15:47:22
2021-10-16T15:47:22
413,299,596
1
1
null
null
null
null
UTF-8
Python
false
false
1,549
py
"""EmployeeProject URL Configuration The `urlpatterns` list routes URLs to views. For more information please see: https://docs.djangoproject.com/en/3.0/topics/http/urls/ Examples: Function views 1. Add an import: from my_app import views 2. Add a URL to urlpatterns: path('', views.home, name='home') Cla...
[ "rravikumar34@gmail.com" ]
rravikumar34@gmail.com
b53fb27016d732c08a7869d38d13162383b30b32
1e09bc56bf2904b349df1873e11da3d527437880
/lecture-27/AdjListGraph.py
8a03efffe1f2ce76c121133adbb645df489cf2d6
[]
no_license
codeforcauseorg-archive/DSA-Live-Python-Jun-0621
f3444f5671cb4985644c7432517477c3585c70fb
e4fe544178d7851c24755242390f39675b99fabe
refs/heads/main
2023-08-09T08:31:41.449120
2021-09-14T16:44:39
2021-09-14T16:44:39
384,725,085
4
2
null
null
null
null
UTF-8
Python
false
false
2,095
py
class Vertex: def __init__(self, value): self.value = value self.neighbours = {} class AdjListGraph: def __init__(self): self.vertices = dict() def add_vertex(self, value): if value not in self.vertices: self.vertices[value] = Vertex(value) def add_edge(se...
[ "anujgargcse@gmail.com" ]
anujgargcse@gmail.com
cd3d97d846876037d74f4ccc46eefb915c555830
823b69dffc4a6e28b9e4c27ec176f8ce54d2e586
/args/arg_parser.py
c2cea4c5d26614670271806fddc28b28fb6b4b19
[]
no_license
potlee/pbt
1f5af632aa100561da1c284b522a6ca181ea21c1
05160eca9f3a557a25d043502f90aca1a7b76b46
refs/heads/master
2020-03-25T23:48:47.867151
2018-06-23T19:40:16
2018-06-23T19:40:16
null
0
0
null
null
null
null
UTF-8
Python
false
false
3,599
py
import argparse import util class ArgParser(object): def __init__(self): self.parser = argparse.ArgumentParser(description='Population-Based Training') self.parser.add_argument('--gpu_ids', type=str, default='0', help='Comma-separated list of GPUs to use.') ...
[ "chutechristopher@gmail.com" ]
chutechristopher@gmail.com
1a5cc4dd4b02297aa61785f8fe17d28cdf7bae2c
99e494d9ca83ebafdbe6fbebc554ab229edcbacc
/.history/Day 1/Test/Answers/NegativeMarking_20210304211811.py
d220b7261e6beb16198606a036f3688522eaee56
[]
no_license
Datta2901/CCC
c0364caa1e4937bc7bce68e4847c8d599aef0f59
4debb2c1c70df693d0e5f68b5798bd9c7a7ef3dc
refs/heads/master
2023-04-19T10:05:12.372578
2021-04-23T12:50:08
2021-04-23T12:50:08
null
0
0
null
null
null
null
UTF-8
Python
false
false
516
py
t = int(input()) for i in range(t): questions,requiredscore = map(int,input().split()) if questions * 4 < requiredscore: print(-1) continue attempt = (requiredscore/questions) + 3 accuracy = attempt / 7 print(format(accuracy*100,'.2f') # # Here Accuracy can be find by usin...
[ "manikanta2901@gmail.com" ]
manikanta2901@gmail.com
39764d8d79f6697d5e9b2cffeb3f3e9487f9ea0a
2eee2da886d2574f030b22771e707e32f56cbaed
/chaospy/distributions/collection/chi.py
cb04231c2d16b7f21de4aa90574562d6e927b4fc
[ "MIT" ]
permissive
lblonk/chaospy
1759f050229d1365802320d9b13f6195ec55a72c
1759a4307c6134b74ce63ff44973195f1e185f94
refs/heads/master
2022-11-12T19:50:15.108219
2020-07-03T11:13:42
2020-07-03T11:13:42
276,879,282
0
0
MIT
2020-07-03T11:03:14
2020-07-03T11:03:13
null
UTF-8
Python
false
false
3,779
py
"""Chi distribution.""" import numpy from scipy import special from ..baseclass import Dist from ..operators.addition import Add class chi(Dist): """Chi distribution.""" def __init__(self, df=1): Dist.__init__(self, df=df) def _pdf(self, x, df): return x**(df-1.)*numpy.exp(-x*x*0.5)/(2....
[ "jonathf@gmail.com" ]
jonathf@gmail.com
c0593805d9fcc7d217660376fbb2688f706642e2
0798277f2706998ab80442ac931579eb47f676e5
/boundary/property_handler.py
45635669e8b5a3731f321b2d7a0d6eb87f6a6557
[ "Apache-2.0" ]
permissive
isabella232/pulse-api-cli
49ed38b0694ab289802f69ee6df4911cf3378e3f
b01ca65b442eed19faac309c9d62bbc3cb2c098f
refs/heads/master
2023-03-18T00:23:15.295727
2016-05-13T15:44:08
2016-05-13T15:44:08
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,244
py
# # Copyright 2016 BMC Software, 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 law or agreed to in ...
[ "davidg@boundary.com" ]
davidg@boundary.com
87339e4385a890dc9a46c6e5efc4674cb85aefa2
4073f351551c2f73c5659cb3038a68360cc5b369
/Arbetsbok/kap 14/övn 14.1, sid. 36 - söka tal.py
9b318176e080635b41a000e7aeb4734430c42602
[ "MIT" ]
permissive
Pharou/programmering1python
b9a5aca72354d3e7e91a5023a621d22a962ecd7c
9b689027db1f7fbf06925f3094fcb126880453e4
refs/heads/master
2022-11-28T06:33:17.295157
2020-07-25T11:02:07
2020-07-25T11:02:07
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,437
py
#!/usr/bin/python3.8 # Filnamn: övn 14.1, sid. 36 - söka tal.py # Sökning # Programmeringsövningar till kapitel 14 # Programmet slumpar först fram 20 tal mellan 1 och 100 och lagrar alla talen i # en lista och sedan skrivs listan ut på skärmen. Därefter frågar programmet # användaren efter ett tal som ska eftersök...
[ "niklas_engvall@hotmail.com" ]
niklas_engvall@hotmail.com
4ad42cd6418d521ed2f275b7b73aaa4e7036fbea
964b063c2461aad267ddd991fefaf7ab53b1ca94
/6-kyu/iq-test/python/solution.py
2221bc57375308dc79e1d3f085e299509f860057
[]
no_license
lucasbflopes/codewars-solutions
26c4e2cd1be19db50cc8c1d9fc117c51c82a2259
72ef2c02dde7bd0d5a691e04e3b2a383e892f84b
refs/heads/master
2022-03-14T01:26:41.816498
2019-11-23T17:17:19
2019-11-23T17:17:19
114,834,447
0
1
null
null
null
null
UTF-8
Python
false
false
193
py
def iq_test(numbers): arr = [i % 2 == 0 for i in [int(j) for j in numbers.split()]] if arr.count(True) > 1: return arr.index(False)+1 else: return arr.index(True)+1
[ "LucasBraganca@Lucas-MacBook-Pro.local" ]
LucasBraganca@Lucas-MacBook-Pro.local
5be34879011c0f4d0308e93c05824f2a437ec963
44b87d9faad99d542914c35410ba7d354d5ba9cd
/1/collection/list/divisible by 8 using compre.py
857a0b6ada0c2d9dc98bd9180ec1370a09173462
[]
no_license
append-knowledge/pythondjango
586292d1c7d0ddace3630f0d77ca53f442667e54
0e5dab580e8cc48e9940fb93a71bcd36e8e6a84e
refs/heads/master
2023-06-24T07:24:53.374998
2021-07-13T05:55:25
2021-07-13T05:55:25
385,247,677
0
0
null
null
null
null
UTF-8
Python
false
false
142
py
num=[i for i in range(1,1000) if i%8==0] print(num) print("length of num is",len(num)) # odd=[i for i in range(1000) if i%2!=0] # print(odd)
[ "lijojose95@gmail.com" ]
lijojose95@gmail.com
00f065d20644809c36a60a0fbfe0ad0aa3cd6ef9
4a0f2cc27cd39b8b8901ade728f3b1dc20c2a2ee
/controller/qt_classes/UbNewDocumentViewDelegate.py
096e2b7becda90dbfcb58540466702c64771dd6f
[]
no_license
teamlm2/lm2_mgis
2c016423983a31fcdf15e34508401acf48177f35
9144b1234b25665737986995bd1da7492871151c
refs/heads/master
2021-11-11T23:43:12.647749
2021-10-26T07:55:58
2021-10-26T07:55:58
155,568,182
0
1
null
null
null
null
UTF-8
Python
false
false
3,303
py
# coding=utf8 __author__ = 'B.Ankhbold' from PyQt4.QtCore import * from PyQt4.QtGui import * from sqlalchemy.exc import SQLAlchemyError from ...model import SettingsConstants from ...model.SetOfficialDocument import SetOfficialDocument from ...utils.FileUtils import FileUtils from ...utils.PluginUtils import PluginUtil...
[ "aagii_csms@yahoo.com" ]
aagii_csms@yahoo.com
116f6963b88edfdb0db9fda927ba4e4947b376fa
5ec7d0bad8a77c79843a2813f5effcb3a2b7e288
/lean/models/brokerages/cloud/tradier.py
fd5e10b9f48bced5ac4faae3e74d4fac7886ec50
[ "Apache-2.0" ]
permissive
xdpknx/lean-cli
aca9b9c9c4e156c9faefcfa8ccdfc20423b510a0
c1051bd3e8851ae96f6e84f608a7116b1689c9e9
refs/heads/master
2023-08-08T02:30:09.827647
2021-09-21T21:36:24
2021-09-21T21:36:24
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,163
py
# QUANTCONNECT.COM - Democratizing Finance, Empowering Individuals. # Lean CLI v1.0. Copyright 2021 QuantConnect Corporation. # # 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...
[ "jaspervmerle@gmail.com" ]
jaspervmerle@gmail.com
19f3c8b7d94aae6549e86646e36334cb826a906e
6e820756b82ffbe9837348937e53f1a0ce0e6cca
/Lib/site-packages/pandas_datareader/io/jsdmx.py
d602ca88beb058636aceaac714662ee2f457a6c4
[]
no_license
AndreasPatsimas/pms_papei
c2afd941de6ae234dd37784d746e794183ebb8d3
da10220ea468304c1066bed55b8f92ba9e5ada8a
refs/heads/master
2023-02-01T23:33:39.221747
2020-12-19T12:17:59
2020-12-19T12:17:59
321,115,913
0
0
null
null
null
null
UTF-8
Python
false
false
3,167
py
# pylint: disable-msg=E1101,W0613,W0603 from __future__ import unicode_literals from collections import OrderedDict import itertools import re import sys import numpy as np import pandas as pd from pandas_datareader.io.util import _read_content def read_jsdmx(path_or_buf): """ Convert a SDMX-JSON string t...
[ "45208441+AndreasPatsimas@users.noreply.github.com" ]
45208441+AndreasPatsimas@users.noreply.github.com
42242438bea8875d7471ea2ddf09291f67a15799
30a34b3503decf1b4516039df3106cd152631819
/4AL17IS050_T_K_HARSHITH_PRASAD/19_05_2020/2.py
90236ef15cb59e0d27deb74598351d1745cafda7
[]
no_license
alvas-education-foundation/ISE_3rd_Year_Coding_challenge
8ddb6c325bf6ab63e2f73d16573fa0b6e2484136
b4074cab4a47aad07ed0fa426eacccbfafdef7f8
refs/heads/master
2022-11-23T20:52:19.204693
2020-07-23T11:28:15
2020-07-23T11:28:15
265,195,514
4
1
null
null
null
null
UTF-8
Python
false
false
196
py
# This program adds two numbers num1 = 1.5 num2 = 6.3 # Add two numbers sum = float(num1) + float(num2) # Display the sum print('The sum of {0} and {1} is {2}'.format(num1, num2, sum))
[ "noreply@github.com" ]
alvas-education-foundation.noreply@github.com
190c0b7174e3ee074dcee7447dd6149444d96d20
9030481ef925278a174cbbf58c74bc5058e8d302
/contrib/testgen/base58.py
0b6e6e1ae339c3c25f894b09b621c4777509d655
[ "MIT" ]
permissive
hideoussquid/aureus-13-gui
1b8f85f262cbc1970c3d8072b064956073bc4182
8865c958ba1680d4615128dabcc3cc4d47a24c51
refs/heads/master
2021-01-19T08:22:45.795165
2017-04-26T07:34:19
2017-04-26T07:34:19
87,622,430
0
0
null
null
null
null
UTF-8
Python
false
false
2,999
py
# Copyright (c) 2012 The Aureus Core developers # Distributed under the MIT software license, see the accompanying # file COPYING or http://www.opensource.org/licenses/mit-license.php. ''' Aureus base58 encoding and decoding. Based on https://aureustalk.org/index.php?topic=1026.0 (public domain) ''' import hashlib # ...
[ "thesquid@mac.com" ]
thesquid@mac.com
58bb40f95b996bb5aaf4c9706c5271c0c5978cc2
25d8bac5635ac1cc3577a3593a4512e042ea7ecd
/scripts/asyncore-example-2.py
27a4738c22e98525faf3534d4f880e283ad582e0
[]
no_license
mtslong/demo
2333fa571d6d9def7bdffc90f7bcb623b15e6e4b
a78b74e0eea7f84df489f5c70969b9b4797a4873
refs/heads/master
2020-05-18T18:28:48.237100
2013-11-11T16:10:11
2013-11-11T16:10:11
4,136,487
0
0
null
null
null
null
UTF-8
Python
false
false
885
py
import asyncore import socket, time # reference time TIME1970 = 2208988800L class TimeChannel(asyncore.dispatcher): def handle_write(self): t = int(time.time()) + TIME1970 t = chr(t>>24&255) + chr(t>>16&255) + chr(t>>8&255) + chr(t&255) self.send(t) self.close() class TimeServer(...
[ "mofeng@netease.com" ]
mofeng@netease.com
deece369baf689aed3e350790563652c99e1df4c
ca0d710ed0469beb7f87ae53f5efdef7bac19a27
/MainView/migrations/0001_initial.py
c421c7915ab1a3ced242749c9b05288a7231a3c2
[ "MIT" ]
permissive
CiganOliviu/wedding_invitation
5d441d786f742d6a4baf5ff418370c0cfbb1b81e
8b243b287b6577b4f5f899e33ade1fec651152f0
refs/heads/main
2023-03-03T08:12:36.345173
2021-02-08T15:37:04
2021-02-08T15:37:04
333,568,503
0
0
MIT
2021-02-08T15:37:05
2021-01-27T21:43:34
null
UTF-8
Python
false
false
646
py
# Generated by Django 3.0.8 on 2020-08-10 08:01 from django.db import migrations, models class Migration(migrations.Migration): initial = True dependencies = [ ] operations = [ migrations.CreateModel( name='ConfirmAnswer', fields=[ ('id', models.Auto...
[ "ciganoliviudavid@gmail.com" ]
ciganoliviudavid@gmail.com
86a20d0a802a3b77e91c16b62fb4c5702450b991
dc69872f21492d34d7da6eee9f0d03f7c09a8a8d
/libraries/edge/opensearch/granuleisoresponse.py
fd3ed16eb03bd91778c8ff34354a963de13a58c8
[ "Apache-2.0" ]
permissive
isabella232/incubator-sdap-edge
125e9ba8cb1738d8407222f9d21f5452fc5fa840
c725dad1098096048faed9a42a56f3cfc5c25bc5
refs/heads/master
2022-03-19T18:49:03.752184
2019-12-02T23:40:12
2019-12-02T23:40:12
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,127
py
import datetime from edge.opensearch.isoresponsebysolr import IsoResponseBySolr class GranuleIsoResponse(IsoResponseBySolr): def __init__(self, linkToGranule): super(GranuleIsoResponse, self).__init__() self.linkToGranule = linkToGranule.split(',') def _populateChannel(self, solrResponse): ...
[ "lewis.mcgibbney@gmail.com" ]
lewis.mcgibbney@gmail.com
22cce56ad1cf624ac9db09d203ea57c2bd8a72fe
e34d4bf879910b8f41068c1efb90915897e53d53
/sprint/SquaresOfSortedArray.py
a58ff6bd16baa33b009ff18fbabf44af40766e9e
[]
no_license
ZhouningMan/LeetCodePython
6cfc30f0b76f6162502410fef5639fde4801bd74
cad9585c440efb329c9321648f94c58ded198438
refs/heads/master
2020-12-10T03:53:48.824344
2020-01-13T02:29:02
2020-01-13T02:29:02
233,494,907
0
0
null
null
null
null
UTF-8
Python
false
false
618
py
class Solution: def sortedSquares(self, A): size = len(A) squares = [0] * size for i in range(size): squares[i] = A[i] * A[i] copy = [0] * size begin = 0 end = size - 1 i = size - 1 while begin <= end: if squares[begin] > square...
[ "linfenglee321@gmail.com" ]
linfenglee321@gmail.com
81286eab7404c79ae264329c873fd324031b3ce5
b7054c7dc39eeb79aa4aecb77a8de222400b19a7
/object.py
deee2a4715df5ac355f73bac61921bfff028351c
[]
no_license
csuxh/python_fullstack
89027133c7f9585931455a6a85a24faf41792379
f78571976b3bef104309e95304892fdb89739d9e
refs/heads/master
2023-05-11T09:36:40.482788
2019-06-12T14:21:26
2019-06-12T14:21:26
145,090,531
0
0
null
null
null
null
UTF-8
Python
false
false
988
py
#!/usr/bin/env python #!-*-coding:utf-8 -*- #!@Auther : jack.xia #!@Time : 2018/5/29 21:56 #!@File : object.py class Stuf(object): count = 0 __slots__ = ('name', 'id', 'position') def __init__(self, name, id, position): self.__name = name self.__id = id self.__position = position...
[ "csuxh@foxmail.com" ]
csuxh@foxmail.com
08f4aced36fe56bcec48deaa99f0e5ad628d5792
b978cf7f47c5cd6295f3c0c104752d3e1e9d89d6
/test.py
f88b6b9a5b2b21a543c221161f595e2588fd53b5
[]
no_license
sepidmnorozy/backup-crawler
1e4cd62d5a48b6e3bf974f89d1d513765e5d9c5b
73beddd2febd0dec3a0d1f5706557de073035a06
refs/heads/master
2022-11-18T19:56:43.507394
2020-07-22T13:11:53
2020-07-22T13:11:53
281,674,079
0
0
null
null
null
null
UTF-8
Python
false
false
455
py
from pymongo import MongoClient from rss import rss_reader import json if rss_reader('https://www.khabaronline.ir/rss') == 'Success': with open("links.json", 'r') as f: urls = json.load(f) else: urls = [] client = MongoClient() db = client['newsdb_week'] articles = db.weekarticles start_urls = [] for...
[ "alireza97hi@gmail.com" ]
alireza97hi@gmail.com
e286247caef6608e64d3f83668b0e57d5c35c469
07e6fc323f657d1fbfc24f861a278ab57338b80a
/python/test_chem_reaction.py
a45fb01f6793461a249921c48059b569c7d781b2
[ "MIT" ]
permissive
ProkopHapala/SimpleSimulationEngine
99cf2532501698ee8a03b2e40d1e4bedd9a12609
47543f24f106419697e82771289172d7773c7810
refs/heads/master
2022-09-05T01:02:42.820199
2022-08-28T10:22:41
2022-08-28T10:22:41
40,007,027
35
4
null
null
null
null
UTF-8
Python
false
false
462
py
#!/usr/bin/python import re import numpy as np import sys from pySimE import chemistry as ch #print ch.str2composition( sys.argv[1] ) #sides = ch.parseReaction( 'Fe+O2=Fe2O3' ) #sides = ch.parseReaction( 'C12H22O11+KNO3=H2O+CO2+K2CO3+N2' ) #print sides #print ch.reaction2string( sides ) #print ch.balanceReactionStr...
[ "ProkopHapala@gmail.com" ]
ProkopHapala@gmail.com
fb4d6144389ec8eb93a016186bb5908c2683cdc8
9743d5fd24822f79c156ad112229e25adb9ed6f6
/xai/brain/wordbase/otherforms/_clattering.py
3893e7f6289447dca25d947171005c4f61ce3729
[ "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
230
py
#calss header class _CLATTERING(): def __init__(self,): self.name = "CLATTERING" self.definitions = clatter self.parents = [] self.childen = [] self.properties = [] self.jsondata = {} self.basic = ['clatter']
[ "xingwang1991@gmail.com" ]
xingwang1991@gmail.com
a0c529fe9ac1114d4ea620a3a09ab644868c12c2
7c59bbd4ff413a95dc9d25fbfccd11c6db60202a
/python_stack/full_stack_django/test_orm/apps/test_orm_app/migrations/0001_initial.py
ff84e3ca46db76c12c5baaeb018a42283bcbe193
[]
no_license
soikatesc/DojoAssignments
9a185a1164e42a985aea5e49d0ee270fd476d42a
c5c84bc9bd4aedd0fe6aa26bf75793e284edb248
refs/heads/master
2021-01-23T04:34:19.617679
2017-05-16T03:52:58
2017-05-16T03:52:58
86,211,544
0
0
null
null
null
null
UTF-8
Python
false
false
1,310
py
# -*- coding: utf-8 -*- # Generated by Django 1.10 on 2017-04-19 00:12 from __future__ import unicode_literals from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): initial = True dependencies = [ ] operations = [ migrations.Create...
[ "soikatesc@gmail.com" ]
soikatesc@gmail.com
b6cd32dd7c58e44b484925d0981c527b8eb6d61f
ddd09683d9cbd681db5dae4e2d036d28bd4d24c1
/PA3/BAL3.py
f82978400cd729be26ca286631abcea6caa2356a
[]
no_license
nivedn3/DL4CV-EE6132-
41f9cd877a4c43db0a2f511a57df8b624fbc0a07
2cd97c7d2170a8e4fe36b6ccc8443c009e3d003a
refs/heads/master
2021-01-20T05:41:37.019460
2017-11-22T10:17:16
2017-11-22T10:17:16
101,465,640
2
2
null
null
null
null
UTF-8
Python
false
false
4,240
py
import tensorflow as tf import numpy as np sess = tf.InteractiveSession() def data(number,size): a = [] b = [] out = [] for i in range(number): a_in = np.random.choice([0,1],size) a_in = a_in.tolist() #a_in = [1,0,0,0,0] b_in = np.random.choice([0,1],size) b_in = b_in.tolist() #b_in = [1,0,0,0,0] a...
[ "nivedn3@gmail.com" ]
nivedn3@gmail.com
f0921f29f3f682945a8f671213dc391d565db088
9d41570295cc05b66fd52584a90fe87f29155943
/src/crawler/delay.py
649fb6282c26a77936487a5bcd18eeda56ff6aa7
[ "MIT" ]
permissive
diegojromerolopez/relwrac
ed56feeb2a5e455e0fa58f6bc130445e5a0831bd
23ee278ab4019b98269419c53feed2194f079c25
refs/heads/master
2022-12-11T08:06:19.888698
2019-11-16T12:35:34
2019-11-16T12:35:34
219,372,323
0
0
MIT
2022-12-08T06:49:05
2019-11-03T22:09:35
Python
UTF-8
Python
false
false
294
py
import random class Delay(object): @classmethod def none(cls): return None @classmethod def uniform(cls, lower_bound: float, upper_bound: float): def uniform_delay_(): return random.uniform(lower_bound, upper_bound) return uniform_delay_
[ "diegojromerolopez@gmail.com" ]
diegojromerolopez@gmail.com
5f1c2a99593a7553184a6e88dacd5cfddfa94dc2
11286e7989264134a8a8d610e0f609e6fbff9140
/ch06/ch06_6.py
611bb36abeda2b0457a21b95c8675ec3d9cc42ed
[]
no_license
p2c2e/machine_learning_with_python_cookbook
04eeed2e00e0a3e9c0681d4b2f4125aa85485a1d
b176323a02f5b5722e312a579ad764a0276ec9c6
refs/heads/main
2023-01-30T06:54:34.138786
2020-12-13T05:02:07
2020-12-13T05:02:07
320,987,171
0
0
null
null
null
null
UTF-8
Python
false
false
472
py
# Load libraries import unicodedata import sys # Create text text_data = ['Hi!!!! I. Love. This. Song....', '10000% Agree!!!! #LoveIT', 'Right?!?!'] # Create a dictionary of punctuation characters punctuation = dict.fromkeys(i for i in range(sys.maxunicode) if uni...
[ "sudharsan.rangarajan@publicissapient.com" ]
sudharsan.rangarajan@publicissapient.com
2b59d2bc871b13882aa71629e364e5ee5cde3a00
186736f265fa7954e95198955546305ab1b9b981
/notesApi/settings.py
d3fd465d97e808c8f69bde9fd61320c402413ffb
[]
no_license
nova-sangeeth/notes-api
6449669870dfb69a72e1aad71c8859ca9de8bfbb
d5d15a4df615b0b276ccf8f49efc9e21eb177b65
refs/heads/master
2022-12-22T11:38:03.065884
2020-09-23T19:58:14
2020-09-23T19:58:14
298,022,798
0
0
null
null
null
null
UTF-8
Python
false
false
3,607
py
""" Django settings for notesApi project. Generated by 'django-admin startproject' using Django 3.1.1. For more information on this file, see https://docs.djangoproject.com/en/3.1/topics/settings/ For the full list of settings and their values, see https://docs.djangoproject.com/en/3.1/ref/settings/ """ from pathli...
[ "novasangeeth@outlook.com" ]
novasangeeth@outlook.com
4c92871a9b092599b369eba37b5e69ca438f451d
3f7240da3dc81205a0a3bf3428ee4e7ae74fb3a2
/src/Week4/Practice/Trace1.py
6db80027484d73a47f843382e033603034f1470c
[]
no_license
theguyoverthere/CMU15-112-Spring17
b4ab8e29c31410b4c68d7b2c696a76b9d85ab4d8
b8287092b14e82d2a3aeac6c27bffbc95382eb34
refs/heads/master
2021-04-27T08:52:45.237631
2018-10-02T15:38:18
2018-10-02T15:38:18
107,882,442
0
0
null
null
null
null
UTF-8
Python
false
false
267
py
def onesDigit(n): return n%10 def ct1(L): for i in range(len(L)): L[i] += sum(L) + max(L) # The function onesDigit is called on each element before # making comparison. return sorted(L, key=onesDigit) a = [2,1,0] print(ct1(a)) print(a)
[ "tariqueanwer@outlook.com" ]
tariqueanwer@outlook.com
67c8f6e68f42cf14fa5dda19c602fbd7976c47fc
b61efe2686feb44c5b0d2fb3094dd2ea94e6ca93
/src/control_decision_4.py
be6dc49f088a3f399c8bf5df9b0a6c7de0b509ca
[]
no_license
idrissahil/bat_wifi_exploration
888f0f7243cc4bedeba6fe8d702762e6e2ad5da9
5a1bc74c1b35360d21d01e5e2a721b38fb380ac8
refs/heads/master
2020-05-31T16:38:49.118742
2019-06-29T14:03:28
2019-06-29T14:03:28
190,386,321
1
0
null
null
null
null
UTF-8
Python
false
false
2,239
py
#! /usr/bin/env python import rospy import math from sensor_msgs.msg import BatteryState from geometry_msgs.msg import Twist, PoseArray, Pose, PoseStamped rospy.init_node('control_decision_drone') control_decision_pub = rospy.Publisher('/mavros/setpoint_position/local', PoseStamped, queue_size=1) state=1 curr_pos =...
[ "idrissahil3@gmail.com" ]
idrissahil3@gmail.com
59944bb8fa971396a0f7e49931ba6f9bf8ed1091
4b29c3e3c8a2cad5071a3fb2ea674253c6f0ef21
/pycharm/digiin/case/TestLogin.py
70e3880684b38a0a5d5a1bb7b50cd59768931663
[]
no_license
yz9527-1/1YZ
a0303b00fd1c7f782b7e4219c52f9589dd3b27b7
5f843531d413202f4f4e48ed0c3d510db21f4396
refs/heads/master
2022-11-30T23:50:56.682852
2020-08-10T02:11:13
2020-08-10T02:11:13
286,354,211
0
0
null
null
null
null
UTF-8
Python
false
false
3,586
py
#coding=utf-8 import ddt,data from common.ExcelUtil import ExcelUtil import time import unittest from selenium import webdriver def self(args): pass class Case(object): def __init__(self): pass def get_case(self): """ 获取数据 得到有用的数据,并且使数据以邮箱地址、密码、预期结果定位、预期结果的顺序返回 ...
[ "2447025220@qq.com" ]
2447025220@qq.com
2d24c2b1849fbb578426985672e634ca4e13e282
ccf94dcb6b1500fcbbd56964ae8c4832a496b8b3
/python/baiduads-sdk-auto/baiduads/keyword/api/__init__.py
d86d7640ef2ab230105e5b576757bc5d81a011fe
[ "Apache-2.0" ]
permissive
baidu/baiduads-sdk
24c36b5cf3da9362ec5c8ecd417ff280421198ff
176363de5e8a4e98aaca039e4300703c3964c1c7
refs/heads/main
2023-06-08T15:40:24.787863
2023-05-20T03:40:51
2023-05-20T03:40:51
446,718,177
16
11
Apache-2.0
2023-06-02T05:19:40
2022-01-11T07:23:17
Python
UTF-8
Python
false
false
151
py
from __future__ import absolute_import # flake8: noqa # import apis into api package from baiduads.keyword.api.keyword_service import KeywordService
[ "jiangyuan04@baidu.com" ]
jiangyuan04@baidu.com
6bb7357e4c3c78a71da4398592fc78ff38a7ab5c
53fab060fa262e5d5026e0807d93c75fb81e67b9
/gaussiana/ch3_2020_09_14_14_36_41_642784.py
986bff292e3d397ff9a597fd31a1ee3912e49175
[]
no_license
gabriellaec/desoft-analise-exercicios
b77c6999424c5ce7e44086a12589a0ad43d6adca
01940ab0897aa6005764fc220b900e4d6161d36b
refs/heads/main
2023-01-31T17:19:42.050628
2020-12-16T05:21:31
2020-12-16T05:21:31
306,735,108
0
0
null
null
null
null
UTF-8
Python
false
false
160
py
import math def calcula_gaussiana (x,mu,sigma) : f1 = 1/(sigma*math.sqrt(2*math.pi)) f2 = math.exp((-0.5*((x-mu)/(sigma)**2)) y = f1*f2 return y
[ "you@example.com" ]
you@example.com
91b306ecb2af69f0d6d781d57251266678f159f2
f8d3f814067415485bb439d7fe92dc2bbe22a048
/models/research/syntaxnet/dragnn/python/file_diff_test.py
9e9f1daa40a64ff9595724e30dbc95591ae299c2
[ "Apache-2.0" ]
permissive
gmonkman/python
2f9ab8f159c01f6235c86cb0cd52062cd3fdedd3
9123aa6baf538b662143b9098d963d55165e8409
refs/heads/master
2023-04-09T15:53:29.746676
2022-11-26T20:35:21
2022-11-26T20:35:21
60,254,898
0
2
null
2023-03-24T22:58:39
2016-06-02T10:25:27
Python
UTF-8
Python
false
false
1,631
py
# Copyright 2017 Google Inc. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or a...
[ "gmonkman@mistymountains.biz" ]
gmonkman@mistymountains.biz
22e70becf6b691016982f2b828b13d8eeaf45564
ca7aa979e7059467e158830b76673f5b77a0f5a3
/Python_codes/p02571/s663642129.py
60a84cc30f58c36b037db16bb95f49473b02d187
[]
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
314
py
def main(): s = input() t = input() min = int(1e9) for i in range(len(s)-len(t)+1): cnt = 0 for j in range(len(t)): if s[i+j] != t[j]: cnt += 1 if min > cnt: min = cnt print(min) if __name__ == "__main__": main()
[ "66529651+Aastha2104@users.noreply.github.com" ]
66529651+Aastha2104@users.noreply.github.com
200e9917ea1a71489173315c12ac6c736aac3a7c
55c250525bd7198ac905b1f2f86d16a44f73e03a
/Python/PyBox/pybox2d/library/Box2D/examples/chain.py
c1f19e55dbac3e2fa63532f8b24c48d5d1e22b19
[]
no_license
NateWeiler/Resources
213d18ba86f7cc9d845741b8571b9e2c2c6be916
bd4a8a82a3e83a381c97d19e5df42cbababfc66c
refs/heads/master
2023-09-03T17:50:31.937137
2023-08-28T23:50:57
2023-08-28T23:50:57
267,368,545
2
1
null
2022-09-08T15:20:18
2020-05-27T16:18:17
null
UTF-8
Python
false
false
129
py
version https://git-lfs.github.com/spec/v1 oid sha256:e79af0d06dbe1710b8ba767355096adc26f63f6435e754284e2a3caa01b35291 size 2366
[ "nateweiler84@gmail.com" ]
nateweiler84@gmail.com
cf37aac9d227dfbd4c7430df7abe6facb7d78387
9bb01fa882e713aa59345051fec07f4e3d3478b0
/tests/cysparse_/sparse/memory/test_copy_CSCSparseMatrix_INT32_t_COMPLEX64_t.py
647b1079524c4d905c0e53d370b23d6cd9d3eca0
[]
no_license
syarra/cysparse
f1169c496b54d61761fdecbde716328fd0fb131b
7654f7267ab139d0564d3aa3b21c75b364bcfe72
refs/heads/master
2020-05-25T16:15:38.160443
2017-03-14T21:17:39
2017-03-14T21:17:39
84,944,993
0
0
null
2017-03-14T12:11:48
2017-03-14T12:11:48
null
UTF-8
Python
false
false
4,646
py
#!/usr/bin/env python """ This file tests ``copy()`` for all sparse-likes objects. """ import unittest from cysparse.sparse.ll_mat import * from cysparse.common_types.cysparse_types import * ######################################################################################################################## # Te...
[ "sylvain.arreckx@gmail.com" ]
sylvain.arreckx@gmail.com
4e554d1fb9a88ed2d04b9397feb311493507f223
289da5146b8991942ba22eefe948289ee024d3ff
/sheng/tutorial/L3函数/8 global.py
380ea400f5deb82c17c96c689facbc7d471efff3
[]
no_license
a1424186319/tutorial
263585961ab40e7a9a55405263d80057a88298d4
909bfc9f850118af7892a7ba4b0f7e3d0798db8a
refs/heads/master
2022-12-09T01:05:36.063099
2019-02-18T12:12:52
2019-02-18T12:12:52
166,967,437
0
0
null
2021-06-01T23:20:20
2019-01-22T09:38:51
Python
UTF-8
Python
false
false
500
py
# #(老写法 a是全局变量) 从1 加到 100的和 # a = 0 # for i in range(1,101): # a = a + i # print(a) ## global(全局) 显示声明变量为全局变量 # total = 0 # def add1(n): # global total # total = total + 1 # add1() # add1() # add1() # print(total) ## nonlocal(局部的)https://www.cnblogs.com/saintdingspage/p/7788958.html def outer(): num ...
[ "1424186319@qq.com" ]
1424186319@qq.com
86dce18c7b5d76d01f32df22306412f7ca2feb73
d7d19d6918029de88bcf060cea23d5b4a1f7efb1
/xiab/apps/subjects/models.py
85c54cc05e21150cfe80e2ddb9d412d7c622452e
[]
no_license
petercollingridge/xiab
8abe2b2b7124eeb0cfa06d2f21ce858a4ffbd975
ae84d3d228f3fe9392d0fd894652e290b219b1d2
refs/heads/master
2020-03-26T04:25:28.163381
2019-09-29T16:20:25
2019-09-29T16:20:25
144,503,055
1
1
null
null
null
null
UTF-8
Python
false
false
535
py
from django.db import models from wagtail.core.models import Page from wagtail.core.fields import RichTextField from wagtail.admin.edit_handlers import FieldPanel class SubjectPage(Page): summary = RichTextField(blank=True) content_panels = Page.content_panels + [ FieldPanel('summary'), ] d...
[ "peter.collingridge@gmail.com" ]
peter.collingridge@gmail.com
8aa017b49485a93529f5842ebd6c1605b6019aba
e63c45db069ea20b41fb850c5940e6f99db94914
/TranskribusDU/tasks/TablePrototypes/DU_Table_Row.py
c69734cdcc09f2b14bb86df4a56c86e3b895773d
[ "BSD-3-Clause" ]
permissive
Transkribus/TranskribusDU
669607cc32af98efe7380831d15b087b3fc326c9
9f2fed81672dc222ca52ee4329eac3126b500d21
refs/heads/master
2021-12-29T10:14:49.153914
2021-12-22T10:53:10
2021-12-22T10:53:10
72,862,342
24
6
BSD-3-Clause
2019-07-22T08:49:02
2016-11-04T15:52:04
Python
UTF-8
Python
false
false
5,449
py
# -*- coding: utf-8 -*- """ *** Same as its parent apart that text baselines are reflected as a LineString (instead of its centroid) DU task for ABP Table: doing jointly row BIO and near horizontal cuts SIO block2line edges do not cross another block. The cut are based on baseli...
[ "jean-luc.meunier@naverlabs.com" ]
jean-luc.meunier@naverlabs.com
5fb152a03b97239720932a800dcb93ed2841278e
fd6fab64e64031b319b7dc88b66ad960d30fdfc7
/assignment02_ModelQueryProcess/run_assignment.py
12b99e32a4e8faed2c013945d46efacf258c313c
[]
no_license
mkadhirvel/DSC650
297fa63da3668f91d9ce17c6195522dc21d8b5f2
75556e3a11a3b5801cad7df124dcc19df219934d
refs/heads/master
2023-03-17T12:19:34.332707
2021-02-11T00:29:11
2021-02-11T00:29:11
null
0
0
null
null
null
null
UTF-8
Python
false
false
268
py
""" Author: Alan Danque Date: 20201205 Class: DSC 650 Exercise: Week 2 Assignment - Run all assignments """ import os os.system('python ./kvdb.py') os.system('python ./documentdb.py') os.system('python ./objectdb.py') os.system('python ./rdbms.py')
[ "adanque@gmail.com" ]
adanque@gmail.com
a26ec63f56bad3f7991ace4eb345ea52f222d5e9
44032f82bcb767175cf86aeccee623eb6cfbd40e
/deploy/compose/gpu/__init__.py
2303c0b0cf1621e03ddbbda08853f070befb4247
[ "BSD-3-Clause", "MIT", "Apache-2.0" ]
permissive
veyselkoparal/DeepVideoAnalytics
3628d41f8e06547e177a7badd20b399bd7f9028a
013f7e1efcc11f9ed5762192a91589aa6b4df359
refs/heads/master
2020-03-16T04:22:46.603989
2018-05-07T06:55:47
2018-05-07T06:55:47
null
0
0
null
null
null
null
UTF-8
Python
false
false
5,462
py
""" Code in this file assumes that it is being run via dvactl and git repo root as current directory """ CONFIG = { "deploy/gpu/docker-compose-2-gpus.yml": {"global_model_gpu_id": 0, "global_model_memory_fraction": 0.1, "worke...
[ "akshayubhat@gmail.com" ]
akshayubhat@gmail.com
7266db340ad3c001b2476e0d9677e9d1a795cf48
46a5df524f1d96baf94f6eb0f6222f2b856235f3
/src/data/image/sliced_grid.py
7612a11c9ffd5b6b038a1658df956563308349f9
[ "MIT" ]
permissive
PhilHarnish/forge
5dfbb0aa2afdb91e55d85187bd86fbeb9b6b2888
c544fb8b499e1e13793c94159f4c35bce187311e
refs/heads/master
2023-03-11T17:23:46.569359
2023-02-25T15:09:01
2023-02-25T15:09:01
1,818,598
2
0
MIT
2023-02-25T15:09:02
2011-05-29T19:36:53
Jupyter Notebook
UTF-8
Python
false
false
2,215
py
import math from typing import Iterable import cv2 import numpy as np from data.image import coloring, image, model from puzzle.constraints.image import sliced_grid_constraints from util.geometry import np2d class SlicedGrid(model.LineSpecification): _source: image.Image _constraints: sliced_grid_constraints.Sl...
[ "philharnish@gmail.com" ]
philharnish@gmail.com
f1979087cd1398a523b893f6bdb223fc4f3c142e
65585dce782bb50d92caa69be2431e094ac36a1f
/examples/recursive_dirtree_generator.py
50307af4a1c3021c3703469a8d1c6028f5d8ab66
[ "Apache-2.0" ]
permissive
vishalbelsare/treelib
6e52f594cecb69210332b7092abcf1456be14666
12d7efd50829a5a18edaab01911b1e546bff2ede
refs/heads/master
2023-08-31T07:38:06.461212
2022-04-13T15:07:52
2022-04-13T15:07:52
153,905,842
0
0
NOASSERTION
2023-03-27T15:17:00
2018-10-20T12:59:18
Python
UTF-8
Python
false
false
1,691
py
#!/usr/bin/env python """ Example of treelib usage to generate recursive tree of directories. It could be useful to implement Directory Tree data structure 2016 samuelsh """ import treelib import random import hashlib from string import digits, letters MAX_FILES_PER_DIR = 10 def get_random_string(length): ret...
[ "noreply@github.com" ]
vishalbelsare.noreply@github.com
4425e109b0efe53b2e51a04bcddab969c531489c
d27bf22683710ff090642c05c1df2d13b18c2509
/allauth/openid/admin.py
0967c5c39ae1d4e1a60416bffb65e3f68ea3ecd1
[ "MIT" ]
permissive
snswa/django-allauth
b8db554519111e5d022fb137d259e272db9998f4
0b58191f5d954d7f5a7c4e5bc8c33cf6fdf0c416
refs/heads/master
2021-01-18T10:29:31.434368
2010-10-21T18:24:56
2010-10-21T18:24:56
null
0
0
null
null
null
null
UTF-8
Python
false
false
203
py
from django.contrib import admin from models import OpenIDAccount class OpenIDAccountAdmin(admin.ModelAdmin): raw_id_fields = ('user',) admin.site.register(OpenIDAccount, OpenIDAccountAdmin)
[ "raymond.penners@intenct.nl" ]
raymond.penners@intenct.nl
88199abd4462b61b8c1e468a0166393a1ea355c4
699cad5fee497cce94463decf1bf2b811e3fd244
/06프로그램의 흐름 제어하기/if.py
95d092e7f3d31f5adce1aa2a57ab88f03995c7b0
[]
no_license
Jeonghwan-Yoo/brain_python3
91974019a29013abe8c9f9ed132c48b404259e2f
a22e870515e760aaa497cbc99305977cf2f01a3d
refs/heads/master
2020-07-27T00:02:29.604848
2019-09-16T13:16:09
2019-09-16T13:16:09
208,802,993
0
0
null
null
null
null
UTF-8
Python
false
false
315
py
import sys #파이썬 프로그램을 종료하는 exit()을 사용하기 위해 print('수를 입력하세요 : ') a=int(input()) if a==0: print('0은 나눗셈에 이용할 수 없습니다.') #경고 메시지를 출력한 뒤 sys.exit(0) #프로그램을 종료시킵니다. print('3 /', a, '=', 3/a)
[ "dwgbjdhks2@gmail.com" ]
dwgbjdhks2@gmail.com
42e9fe3ab57bd3c1e296f665413fc82fba5070e3
21e6a09131ac76d734102c829260c3b8e3a0094b
/solutions/21_textfsm/task_21_4.py
9986cf1ad1531aef03cb29f28f968dc09e18cec7
[]
no_license
Egor-Ozhmegoff/Python-for-network-engineers
5fbe8f3a754263ab65c28093fed667684ae76ded
6b70f4f9df658698ea0d770a064ee0e12b4e4de2
refs/heads/master
2023-08-11T20:52:12.999495
2021-09-09T14:42:14
2021-09-09T14:42:14
306,354,285
1
0
null
null
null
null
UTF-8
Python
false
false
2,879
py
# -*- coding: utf-8 -*- """ Задание 21.4 Создать функцию send_and_parse_show_command. Параметры функции: * device_dict - словарь с параметрами подключения к одному устройству * command - команда, которую надо выполнить * templates_path - путь к каталогу с шаблонами TextFSM * index - имя индекс файла, значение по умол...
[ "nataliya.samoylenko@gmail.com" ]
nataliya.samoylenko@gmail.com
aba8fcd3ea58d7fe66b3bbe8099f8f60d5f4097d
b64fcb9da80d12c52bd24a7a1b046ed9952b0026
/client_sdk_python/providers/eth_tester/main.py
68fdf1d3a68dcfcbb67e83434e4836cccf5581b6
[ "MIT" ]
permissive
PlatONnetwork/client-sdk-python
e59f44a77690806c8763ed6db938ed8447d42417
94ad57bb34b5ee7bb314ac858071686382c55402
refs/heads/master
2022-07-09T08:49:07.312759
2021-12-24T08:15:46
2021-12-24T08:15:46
173,032,954
7
16
MIT
2022-08-31T02:19:42
2019-02-28T03:18:03
Python
UTF-8
Python
false
false
1,773
py
from client_sdk_python.providers import ( BaseProvider, ) from .middleware import ( default_transaction_fields_middleware, ethereum_tester_fixture_middleware, ethereum_tester_middleware, ) class EthereumTesterProvider(BaseProvider): middlewares = [ default_transaction_fields_middleware, ...
[ "hietel366435@163.com" ]
hietel366435@163.com
0915102cfa0343f989eef246184cd916f8cc46c4
4bdbec7ad33b31c392b9d1f88ddf84e4b9230467
/cross_origin_test/cross_origin_test/wsgi.py
5bf61a3cc71d9dc0d96e87531d460711a5070d70
[ "BSD-2-Clause", "MIT" ]
permissive
mohawkhq/django-cross-origin
4aa775b15612e505404a9eb6cfe24a568561d265
f73f5c9a49d4044c34e443153c071b6bb0acda31
refs/heads/master
2020-06-08T20:13:02.690261
2013-11-19T15:33:34
2013-11-19T15:33:34
null
0
0
null
null
null
null
UTF-8
Python
false
false
409
py
""" WSGI config for cross_origin_test project. It exposes the WSGI callable as a module-level variable named ``application``. For more information on this file, see https://docs.djangoproject.com/en/1.6/howto/deployment/wsgi/ """ import os os.environ.setdefault("DJANGO_SETTINGS_MODULE", "cross_origin_test.settings")...
[ "dave@etianen.com" ]
dave@etianen.com
1c07e950336bf700663363367fa33ecf43c0f407
0cb1ff9d0be4387e33f1003ab5cc72bab0345e7a
/wildcard/dashboards/settings/password/tests.py
3372ec782591fc679b4e3a892d89731e3b8335cc
[ "Apache-2.0" ]
permissive
kickstandproject/wildcard
65995fb0090c4cfcad34f8373cfc912199ecf5da
0ef2a15d8ac6b1d37db964d0baa7e40f9f771bc9
refs/heads/master
2020-05-17T00:41:09.908059
2015-01-27T20:25:33
2015-01-28T03:30:22
14,288,349
2
0
null
null
null
null
UTF-8
Python
false
false
3,365
py
# vim: tabstop=4 shiftwidth=4 softtabstop=4 # Copyright 2013 Centrin Data Systems 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/LIC...
[ "paul.belanger@polybeacon.com" ]
paul.belanger@polybeacon.com
ba497dd3afdf87eae4b1e1d9fa84bbe788335f77
385ed58325dd0cc75bdb9fd3e61c5e005f7a4f28
/source/hall/src/hall/entity/hallfree.py
63e7e839d8986e8730bf43df1ef165e4c0acc70a
[]
no_license
csirui/hall37
17dfa4e4f1f8bf719d0c11ac7738fa4c14fd06db
5c4eb4b2bf57bbbee4731470c830d8d81915d603
refs/heads/master
2021-09-04T03:55:12.460035
2018-01-15T15:12:30
2018-01-15T15:12:30
117,560,615
0
3
null
null
null
null
UTF-8
Python
false
false
5,420
py
# -*- coding=utf-8 -*- from sre_compile import isstring from datetime import datetime import freetime.util.log as ftlog import poker.entity.events.tyeventbus as pkeventbus from hall.entity import hallconf, hallpopwnd, datachangenotify from hall.entity.hallconf import HALL_GAMEID from hall.entity.hallusercond import ...
[ "cg@ibenxi.com" ]
cg@ibenxi.com
2892ca34dda7c6bac350599fac9f051e71e64ce2
f0c6b43e325064511c4e2d7ce9c59e88a12d81d5
/Assignment/DataTypes/problem10.py
0565ed8531943f1e8764d0ac461c28ed26bea342
[]
no_license
kendraregmi/Assignment1
bda8402fa216bf54789c4d3b5092a5540d4ee68d
83a8365e508f5b83cee71fc14155b7838103b3ba
refs/heads/main
2023-03-26T17:42:54.255731
2021-03-08T07:29:04
2021-03-08T07:29:04
344,406,856
0
0
null
null
null
null
UTF-8
Python
false
false
245
py
# 10. Write a Python program to remove the characters which have odd index # values of a given string. my_string= "Kathmandu" result="" for i in range(len(my_string)): if i%2==0: result= result+my_string[i] print(result)
[ "noreply@github.com" ]
kendraregmi.noreply@github.com
eb2c8258f0156a186c1b5525851bf8627d0ebad7
d7f43ee7b91c216b1740dead4cc348f3704d2f5a
/src/beginner_tutorials/scripts/add_two_ints_server.py~
ef69b404916f90b0f5cf43bc27b89200b6fda426
[]
no_license
capslockqq/catkin_ws
26f734cf45cb5fe15301f5448a6005f2b21073b5
a0989427e42988f36ae9e4d83ba7eb871a56b64e
refs/heads/master
2021-08-24T07:04:07.551220
2017-12-08T14:42:19
2017-12-08T14:42:19
113,569,359
0
0
null
null
null
null
UTF-8
Python
false
false
465
#!/usr/bin/env python from beginner_tutorials.srv import import rospy def handle_add_two_ints(req): print "Returning [%s + %s = %s]"%(req.a, req.b, (req.a + req.b)) return AddTwoIntsResponse(req.a + req.b) def add_two_ints_server(): rospy.init_node('add_two_ints_server') s = rospy.Service('add_two_i...
[ "ubuntu@ubuntu.(none)" ]
ubuntu@ubuntu.(none)
58d0a8905b5a6546432140bf05e9ab8f06dfb857
de24f83a5e3768a2638ebcf13cbe717e75740168
/moodledata/vpl_data/77/usersdata/216/42255/submittedfiles/exercicio24.py
f70202f0601ef08a2d7723413c6c64658abd3963
[]
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
177
py
# -*- coding: utf-8 -*- import math a=int(input('Digite um número:')) b=int(input('Digite um número:')) i=0 for i in range(1,a,1): if a%i==0 and b%i==0: print(i)
[ "rafael.mota@ufca.edu.br" ]
rafael.mota@ufca.edu.br
8ca9fad8cd78573c8d3ca2e9a76b0d607134371b
ce214c2cbecb3591665b2748c1c777dd83625f96
/lesson_13/api/routers.py
ff242ade61e4fcebb7697a8a760da6bb173b9707
[]
no_license
antonplkv/itea_advanced_june
e35af2f10d93d8ffb43664cd0cf7dfd46b969aef
c20e81167bfd87b7e16f340210b246a4cbc1751e
refs/heads/master
2022-12-04T20:27:21.908624
2020-08-19T18:19:49
2020-08-19T18:19:49
272,512,423
0
3
null
null
null
null
UTF-8
Python
false
false
200
py
from flask import Flask from flask_restful import Api from .resources import AuthorResource app = Flask(__name__) api = Api(app) api.add_resource(AuthorResource, '/authors', '/authors/<author_id>')
[ "polyakov9.anton9@gmail.com" ]
polyakov9.anton9@gmail.com
91ff95988bce1d58997328ad6d6def469c878d07
452c33c0622ec36e93e6ff6637533a15a067a8a4
/samples/client/petstore/python-experimental/petstore_api/models/outer_composite.py
f3887c8a3267c6a6532d498e3de2a32c135c4da3
[ "Apache-2.0" ]
permissive
eric-erki/openapi-generator
40c4294433bada9f693aca0c32326609e2234f9c
0ea1ead59e41e4e8a959235dc8234d44447a9658
refs/heads/master
2023-01-07T03:33:36.315459
2019-09-20T18:13:33
2019-09-20T18:13:33
209,955,560
1
3
Apache-2.0
2023-01-04T10:58:25
2019-09-21T09:09:49
Java
UTF-8
Python
false
false
4,876
py
# coding: utf-8 """ OpenAPI Petstore This spec is mainly for testing Petstore server and contains fake endpoints, models. Please do not use this for any other purpose. Special characters: \" \\ # noqa: E501 The version of the OpenAPI document: 1.0.0 Generated by: https://openapi-generator.tech """ ...
[ "wing328hk@gmail.com" ]
wing328hk@gmail.com
9aab50959e6376757d51b3fef3e88483eb1d7494
07c3124153a6909f19a21c3c664d8e3f8e0481d0
/fractals/sierpinski_triangle/sierpinski_triangle.py
aae6e3da8f1aaeec51acdaeab10b98c9d1557216
[]
no_license
gridl/art-of-turtle-programming
94ed422a4e75f83e4c3abf7910ed9e5ed8a40aa9
db6b2c1059bffc9df468691c6ecf1c110b38aafd
refs/heads/master
2020-03-19T16:20:48.680667
2015-12-15T05:46:03
2015-12-15T05:46:03
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,240
py
from turtle import * import math tracer(1, 0) setworldcoordinates(0, 0, 960, 810) bgcolor(0.1, 0.1, 0.1) BASE_SIZE = 13 BASE_HEIGHT = BASE_SIZE * math.sin(60 * (math.pi / 180)) START_X = 50 START_Y = 20 def draw_triangle(x, y, color): penup() pencolor(color) goto(x, y) # go to bottom-left corner pendo...
[ "asweigart@gmail.com" ]
asweigart@gmail.com
dd2581b2b922761111f73de6a66b37bef9ca71ad
90419da201cd4948a27d3612f0b482c68026c96f
/sdk/python/pulumi_azure_nextgen/servicebus/latest/list_disaster_recovery_config_keys.py
25a135b1c7de1f742920f2d68de3190e3c721078
[ "BSD-3-Clause", "Apache-2.0" ]
permissive
test-wiz-sec/pulumi-azure-nextgen
cd4bee5d70cb0d332c04f16bb54e17d016d2adaf
20a695af0d020b34b0f1c336e1b69702755174cc
refs/heads/master
2023-06-08T02:35:52.639773
2020-11-06T22:39:06
2020-11-06T22:39:06
312,993,761
0
0
Apache-2.0
2023-06-02T06:47:28
2020-11-15T09:04:00
null
UTF-8
Python
false
false
6,888
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 from ... import _utilities, _tables __a...
[ "public@paulstack.co.uk" ]
public@paulstack.co.uk
2d5ccf17197699d50e0b2fa57a4243eb7ca907aa
c609730a43596a2d3303f072fc97d9cf681fac7b
/cagey/carbuisness/main_currency_supply.py
ed84e5c37083ff51e2afabd4f2216adcf44c254f
[]
no_license
sinnettluo/ChenProject
5403311c0c7b78c484145e16d692abff00d2a110
0e33ecf1683afb22f1deb4bd54294c41aed8a46b
refs/heads/master
2023-03-22T23:48:08.430178
2020-09-02T15:05:02
2020-09-02T15:05:02
null
0
0
null
null
null
null
UTF-8
Python
false
false
198
py
from scrapy.cmdline import execute import sys import os website = "currency_supply" sys.path.append(os.path.dirname(os.path.abspath(__file__))) execute(["scrapy", "crawl", website])
[ "1316446041@qq.com" ]
1316446041@qq.com
e59eaebb53a1dd0de0208e35718b32e92973811d
b7126fb70f72fea0e7bba6fe2fef6925302ef07b
/tceh5_opp/self_work/task1.py
735da977c22bdb199e6944c42bfec6b0ac104bb8
[]
no_license
duk1edev/tceh
79cd909c5a6221a2ca77d342b917462345140faa
21649d42488883beb58d709f4a9d1a05c75d2900
refs/heads/master
2021-07-12T10:20:22.330005
2020-04-29T09:24:08
2020-04-29T09:24:08
239,434,484
0
0
null
2021-03-20T03:38:26
2020-02-10T05:25:33
Python
UTF-8
Python
false
false
1,781
py
# 1. Создать класс корзина у кторого можно выставить разную вмесительность # для разных обьектов. В обект можн опомещать разные # 2. Создать класс - пакет в кторый тожно можн опомещать предмет у него тоже есть вместимость # 3. Любой класс что бы можно было помещать в корзину и в пакет # 4. Если вместимоть не достаточ...
[ "duk1e.ptc.ua@yandex.ru" ]
duk1e.ptc.ua@yandex.ru
35614a4b8e4a335c54fd174d3cf65ff29c823483
db9ff8accaa4d8d4a96d3f9122c0fdc5e83ea2a5
/test/test_price_quantity.py
12635c2d23b1dcacf3ca517e059fcaba37c32bd5
[]
no_license
agtt/ebay-openapi-inventory
4754cdc8b6765acdb34f6b8f89b017ccbc6b1d2b
d990c26f16e811431892ac6401c73c4599c2d414
refs/heads/master
2023-06-17T10:53:43.204075
2021-07-14T18:32:38
2021-07-14T18:32:38
386,039,734
0
0
null
null
null
null
UTF-8
Python
false
false
1,200
py
""" Inventory API The Inventory API is used to create and manage inventory, and then to publish and manage this inventory on an eBay marketplace. There are also methods in this API that will convert eligible, active eBay listings into the Inventory API model. # noqa: E501 The version of the OpenAPI docum...
[ "csd@hotmail.com.tr" ]
csd@hotmail.com.tr
49ad24efef53d23c86760ee96c78f87e3dbe2cf5
7200d065030f2daf00a5249e9e4fe569438c78c7
/scrapers/dizilab_scraper.py
76713de8e84af6b17220f3eaed0295e7b7a714f8
[]
no_license
matt2005/salts
c765b037be1a2bb0e486ae9b30eceaf2b7c3bf14
5f71bc71e7b0b480f40d948d5568604dd181b6ad
refs/heads/master
2020-12-31T04:16:45.574380
2015-12-07T22:57:31
2015-12-07T22:57:31
null
0
0
null
null
null
null
UTF-8
Python
false
false
3,957
py
""" SALTS XBMC Addon Copyright (C) 2014 tknorris This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version. T...
[ "tknorris@gmail.com" ]
tknorris@gmail.com
5804b448d279b66e3077be6b2016ef4e6230d463
46279163a543cd8820bdc38133404d79e787c5d2
/benchmarks/tensorexpr/reduction.py
bc3e4e158a1750a0c9732c91297461f01ff5126b
[ "BSD-3-Clause", "LicenseRef-scancode-generic-cla", "BSL-1.0", "Apache-2.0", "BSD-2-Clause" ]
permissive
erwincoumans/pytorch
31738b65e7b998bfdc28d0e8afa7dadeeda81a08
ae9f39eb580c4d92157236d64548b055f71cf14b
refs/heads/master
2023-01-23T10:27:33.628897
2020-12-06T01:22:00
2020-12-06T01:23:40
318,930,000
5
1
NOASSERTION
2020-12-06T01:58:57
2020-12-06T01:58:56
null
UTF-8
Python
false
false
5,706
py
from . import benchmark class ReduceBench(benchmark.Benchmark): def __init__(self, mode, device, dtype, case, M, N, K): super().__init__(mode, device, dtype) self.case = case self.M = M self.N = N self.K = K self.inputs = [self.randn( [M, N, K], device=...
[ "facebook-github-bot@users.noreply.github.com" ]
facebook-github-bot@users.noreply.github.com
084d8ca89f293bf5398b5ab07d7076af43a5fb8d
590a0c3a7254b8dac85ab18072dbf766aca7af93
/Python-Exercise-100/python-exercise-example07.py
01777ba168c7f8e9c5ee7615fd7642d9f407aaf6
[ "MIT" ]
permissive
MiracleWong/PythonPractice
90c66d29a9cdf0200d3dbac946d05f12dd856e91
40aecd84045ad18f6aff95d5b8be8e352ca0a726
refs/heads/master
2021-08-15T17:19:51.543013
2021-06-15T03:59:51
2021-06-15T03:59:51
98,256,005
0
0
null
null
null
null
UTF-8
Python
false
false
164
py
#!/usr/bin/env python # -*- coding: UTF-8 -*- # 地址:http://www.runoob.com/python/python-exercise-example7.html a = [1, 2, 4, 5, 5, 6, 7, 7] b = a[:] print(b)
[ "cfwr1991@126.com" ]
cfwr1991@126.com
69bef76ac68fc60f87f5f5e549027b0bcfae66f7
91a2ecfaf5dc6c917ec2fda31f56291103f68ceb
/tests/protos/test_ctc_loss.py
6da44120062bdda6381ed74e2c0f8225fffc8ae4
[ "BSD-3-Clause" ]
permissive
MyrtleSoftware/myrtlespeech
635d1d16d1bd60fb07a4d30edbf9acb61786c13f
8522048fd37744ffa06827a0cbd202b839a15453
refs/heads/master
2021-07-16T14:55:00.479967
2020-03-20T14:33:15
2020-03-20T14:33:15
192,501,300
12
1
NOASSERTION
2020-03-20T14:33:17
2019-06-18T08:44:33
Python
UTF-8
Python
false
false
1,042
py
from typing import Dict from typing import Optional from typing import Tuple from typing import Union import hypothesis.strategies as st from myrtlespeech.protos import ctc_loss_pb2 from tests.protos.utils import all_fields_set # Fixtures and Strategies ----------------------------------------------------- @st.co...
[ "sam@samgd.com" ]
sam@samgd.com
c03744b393ec5f98ff295969921ddf3de80aecaf
9c52998e7d92640b82284e7e85bf69205fc94d73
/SeleniumLearningFiles/SeleniumLearning01/webdrivertest/web04.py
ec6aa9036031cb6a57f01829bff64e05c5c91ab3
[]
no_license
github653224/GitProjects_SeleniumLearing
b0c57d27fa48b0cd7475f8d8e8b19c57160e65fc
818b573a3b0f18def98610e59e3c0c6500a675bc
refs/heads/master
2021-07-20T05:54:46.392948
2017-10-27T12:53:41
2017-10-27T12:53:41
107,764,014
0
0
null
null
null
null
UTF-8
Python
false
false
473
py
from selenium import webdriver from selenium.webdriver.common.action_chains import ActionChains from selenium.webdriver.common.keys import Keys import time from random import randint verify =randint(1000,9999) print(u"生成的随机数字: %d " %verify) number=input("请输入随机数字:") print(number) number=int(number) if number ==verif...
[ "944851899@qq.com" ]
944851899@qq.com
31bda42177c67668b02106a2e58888a61630ed09
99e1a15d8f605be456f17608843c309dd8a3260f
/src/Battle/Attack/Steps/Test/suite.py
a11d3df523d7d71da56074941becf66d934c86c9
[]
no_license
sgtnourry/Pokemon-Project
e53604096dcba939efca358e4177374bffcf0b38
3931eee5fd04e18bb1738a0b27a4c6979dc4db01
refs/heads/master
2021-01-17T23:02:25.910738
2014-04-12T17:46:27
2014-04-12T17:46:27
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,034
py
import unittest from Battle.Attack.Steps.Test.remove_pp_step_test import suite as remove_pp_step_suite from Battle.Attack.Steps.Test.handle_miss_effects_step_test import suite as handle_miss_effects_step_suite from Battle.Attack.Steps.Test.handle_contact_step_test import suite as handle_contact_step_suite from Battle....
[ "cloew123@gmail.com" ]
cloew123@gmail.com
6843646e4bfc8dd6d189f4981122d415672c1403
8937c4d452c98699610923f76a395a2247f576df
/preprocess/crop.py
5b05cb13ad998812b4d8e78a1b99878b47e16046
[]
no_license
mistycheney/MouseBrainAtlas
812b204af06ed303f3c12d5c81edef50c8d9d1ed
bffbaa1ede9297084e64fc197716e63d5cb54275
refs/heads/master
2020-04-11T13:44:09.632311
2018-11-20T22:32:15
2018-11-20T22:32:15
20,377,173
3
9
null
2017-03-15T19:39:27
2014-06-01T12:42:08
Jupyter Notebook
UTF-8
Python
false
false
3,884
py
#! /usr/bin/env python import os import argparse import sys import time import numpy as np from multiprocess import Pool sys.path.append(os.path.join(os.environ['REPO_DIR'], 'utilities')) from utilities2015 import * from metadata import * from data_manager import * from learning_utilities import * parser = argparse...
[ "cyc3700@gmail.com" ]
cyc3700@gmail.com
821a36d24596e0ac1a7bce97e1a3d9b9992c271f
03043b715d2e177dd3ba93078463ce79c33173dc
/NI_DAQmx/models/NI_PXIe_6535.py
ffdfbaabce93ed1ea32f606174fc1da92d542ec7
[]
no_license
labscript-suite-bitbucket-archive/cavitylab-labscript_devices--forked-from--labscript_suite-labscript_devices
2efc068eb35ca70e1eecab9c7fec7991fd596c9c
e665d3ee0ce1cfd7fb7cd5c6cc4d783528bc4935
refs/heads/master
2020-12-27T02:35:41.710162
2019-12-06T20:57:48
2019-12-06T20:57:48
253,143,395
1
0
null
null
null
null
UTF-8
Python
false
false
2,629
py
##################################################################### # # # /NI_DAQmx/models/_subclass_template.py # # # # Copyright 2018, Christopher Billington...
[ "chrisjbillington@gmail.com" ]
chrisjbillington@gmail.com
37e0fb4dbe4d99d999a4a4ff25c33d7f504d8fc8
ab574f7511fa15e5ea50a26f26e3e38f7e33505a
/win_2018/scipy/special/_ufuncs_cxx.py
65fc513447b7d344b151f7ba228174ebe12f7257
[]
no_license
zclongpop123/maya_python_packages
49d6b340512a2580bc8c14ae6281ca3f57017acd
4dd4a48c41749443ac16053d20aec04e9d2db202
refs/heads/master
2021-11-30T01:49:41.846727
2021-11-17T01:47:08
2021-11-17T01:47:08
49,186,909
16
9
null
2017-03-07T00:13:41
2016-01-07T06:48:35
Python
UTF-8
Python
false
false
288
py
def __bootstrap__(): global __bootstrap__, __loader__, __file__ import sys, pkg_resources, imp __file__ = pkg_resources.resource_filename(__name__, '_ufuncs_cxx.pyd') __loader__ = None; del __bootstrap__, __loader__ imp.load_dynamic(__name__,__file__) __bootstrap__()
[ "aton.lerin@gmail.com" ]
aton.lerin@gmail.com
139a60ffd6e82195e835f691c53c0f317ab5a8d9
acf7457d3a799cb9bff12686d2d616688bcd4b5b
/packages/python/plotly/plotly/validators/heatmap/_yperiod.py
6496c7ed1592b867d1b2a5946e177c084910c381
[ "MIT" ]
permissive
plotly/plotly.py
f4f61639f08160f16195efc95b5901dc5a937346
975a704074f01c078e0fdfa32bdf17130bf89e69
refs/heads/master
2023-09-06T06:15:08.340035
2023-08-24T12:28:14
2023-08-24T12:28:14
14,579,099
14,751
2,989
MIT
2023-09-08T19:55:32
2013-11-21T05:53:08
Python
UTF-8
Python
false
false
470
py
import _plotly_utils.basevalidators class YperiodValidator(_plotly_utils.basevalidators.AnyValidator): def __init__(self, plotly_name="yperiod", parent_name="heatmap", **kwargs): super(YperiodValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, e...
[ "nicolas@plot.ly" ]
nicolas@plot.ly
d978aee1a03ddbd4eec8a61a6d7792586dbbeb14
a25aa09af984d08084a395f9b6df427d3756f11a
/35.Search Insert Position.py
39611cdd7879d9f73747e131d4d9446fec4691dc
[]
no_license
luyihsien/leetcodepy
31971e851a4ae77942a5d9e3ff07faea6e504c66
a54bd09f4b28f106196a6cd8a0f9c056bcd237e6
refs/heads/master
2020-05-19T13:21:57.854086
2019-10-16T14:23:00
2019-10-16T14:23:00
185,037,569
0
0
null
null
null
null
UTF-8
Python
false
false
724
py
'''' class Solution: def searchInsert(self, nums: List[int], target: int) -> int: ''' class Solution: def searchInsert(self, nums, target): if len(nums)==0: return 0 for i in range(len(nums)): if nums[i]==target: return i for i in range(1,len(nums)...
[ "luyihsien@gmail.com" ]
luyihsien@gmail.com
713a24a7ccdd51e993b29e4b2f542ce44c4723f6
ca7aa979e7059467e158830b76673f5b77a0f5a3
/Python_codes/p03448/s790400785.py
17c0ac19efb39097ef60a9bdde7f5b5bfd5d9764
[]
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
337
py
def resolve(): A = int(input()) B = int(input()) C = int(input()) X = int(input()) ans = [] for a in range(A + 1): for b in range(B + 1): c = (X - 500 * a - 100 * b) / 50 if c <= C and c >= 0: ans.append((a, b, c)) print((len(set(ans)))) ...
[ "66529651+Aastha2104@users.noreply.github.com" ]
66529651+Aastha2104@users.noreply.github.com
80fc4b38b7dff6b4f630a8e31f713c5c9b512f3c
53163d4129930426c2d7aa650cb1b638d1347d21
/lxmert/lxmert/src/tasks/nlvr2_model.py
ef93474403461f18461d1da85fb8877b6f6b5364
[ "MIT" ]
permissive
fdsig/Transformer-MM-Explainability
5e4d9d0c927afd0316311259fc318b325d74628e
accc4dd3491d321948e826079ce85f61bb02e0a6
refs/heads/main
2023-09-03T01:21:27.188260
2021-11-17T23:56:49
2021-11-17T23:56:49
433,759,755
1
0
MIT
2021-12-01T09:20:31
2021-12-01T09:20:31
null
UTF-8
Python
false
false
1,773
py
# coding=utf-8 # Copyleft 2019 project LXRT. import torch.nn as nn from lxrt.modeling import GeLU, BertLayerNorm from lxrt.entry import LXRTEncoder from param import args class NLVR2Model(nn.Module): def __init__(self): super().__init__() self.lxrt_encoder = LXRTEncoder( args, ...
[ "hilach70@gmail.com" ]
hilach70@gmail.com
b1b504761ef386bea3c5ec22159ec1973a0ac635
d4c47276c8fbd15240aa228eda04ee8e338caf02
/Python/Python Lesson/Second/Lesson9/Sample8.py
447d9972d35e1c1f96525406233e419f925a3a61
[]
no_license
developer579/Practice
a745384450172fb327913c130303ab76492096f1
54084468af83afcc44530e757800c8c3678147c1
refs/heads/main
2023-05-06T01:36:06.222554
2021-06-02T07:04:03
2021-06-02T07:04:03
324,312,009
0
0
null
null
null
null
UTF-8
Python
false
false
365
py
import re ptr = ["TXT","TXT..",".TXT","..TXT"] str = ["TXT","TXTT","TXTTT","TTXT","TTTXT"] for valueptr in ptr: print("------") pattern = re.compile(valueptr) for valuestr in str: res = pattern.search(valuestr) if res is not None: m = "o" else: m = "x" mrs = "(パターン)" + valueptr + "(文字列)" + valuestr +...
[ "69954570+developer579@users.noreply.github.com" ]
69954570+developer579@users.noreply.github.com
bfc47b482deb0ccf1f3e645d49665369758987ff
3a3e823f6b94b7eae8a363b0b51b036d2b0a1669
/metvae/dataset/biom.py
aa3196a0a38243f360389493a4983f3f36972811
[]
no_license
mortonjt/metvae
8a28bbbd72ee79d66992bd31bd82af65b83ea819
f2f241fdedd2f4c045a088727df1f155b9ce9a20
refs/heads/main
2022-12-31T16:24:26.014394
2020-10-20T23:38:50
2020-10-20T23:38:50
305,812,115
0
0
null
null
null
null
UTF-8
Python
false
false
7,780
py
import os import re import biom import math import logging import numpy as np import pandas as pd import torch from torch.utils.data import Dataset from typing import List logger = logging.getLogger(__name__) class BiomDataset(Dataset): """Loads a `.biom` file. Parameters ---------- filename : Path...
[ "jamietmorton@gmail.com" ]
jamietmorton@gmail.com
6e0ae3e9c859c2ff133011147002083abb1e1ecf
6dfb7fe44b6c5bfb7feb5a101656e3d3402a621f
/simp_py_examples/course/S1800/t105.py
14b64f55e86d1ce9d76af5b273b6ada48bd93378
[ "MIT" ]
permissive
kcfkwok2003/Simp_py
11d6813fac83ab6309eb8efc22fcd8edde5b19b8
f75e66da01b45dc8688dda602f8b33d4258f0c31
refs/heads/master
2021-05-11T00:36:36.872754
2018-12-19T01:41:15
2018-12-19T01:41:15
118,306,332
0
0
null
null
null
null
UTF-8
Python
false
false
149
py
from simp_py import tft lcd = tft.tft lcd.clear() import time cnt=10 while cnt >=0: lcd.text(10,10, 'count: %s ' % cnt) cnt -=1 time.sleep(1)
[ "kcfkwok@gmail.com" ]
kcfkwok@gmail.com
a5da3fc38c2b91b2122f0fd2cb7e5d2e1f764ad9
9dc3ae479c1b5c6941681917151fcb0379f9173d
/CanvasFeatureFlag.py
7a8e37d3b28a61f52fb91ba58b6f1eb53cf1381a
[]
no_license
cthacker-udel/Python-Canvas-API-Wrapper
bf2400b42b644791f45bbda7ed42e2c03a8d97b2
0263c591a2b02197529559346558b9be02f592c3
refs/heads/master
2023-08-25T12:01:48.417204
2021-10-09T10:49:51
2021-10-09T10:49:51
388,362,237
2
0
null
null
null
null
UTF-8
Python
false
false
575
py
from CanvasClient import CanvasClient class CanvasFeatureFlags(CanvasClient): def __init__(self): self.course_id = None self.account_id = None self.user_id = None self.feature_id = None self.state = None def generate_queries(self): body = {} if self...
[ "cthacker@udel.edu" ]
cthacker@udel.edu
3d613b080afe7af474f8504d12bf40d8034710ab
52b5773617a1b972a905de4d692540d26ff74926
/.history/binaryTree2_20200615152326.py
64f23d35b04053fcbead026e6e8a6c7c2d94f816
[]
no_license
MaryanneNjeri/pythonModules
56f54bf098ae58ea069bf33f11ae94fa8eedcabc
f4e56b1e4dda2349267af634a46f6b9df6686020
refs/heads/master
2022-12-16T02:59:19.896129
2020-09-11T12:05:22
2020-09-11T12:05:22
null
0
0
null
null
null
null
UTF-8
Python
false
false
396
py
# Create a node and assign a value to the node class Node: def __init__(self,data): # designate one node as root self.data = data # then the two others as child nodes self.left = None self.right = None # A def printTree(self): print(self.data) root = Nod...
[ "mary.jereh@gmail.com" ]
mary.jereh@gmail.com
8a8680338eb791a54e04854473d5d7158ca44726
55c250525bd7198ac905b1f2f86d16a44f73e03a
/Python/pytype/pytype/tools/merge_pyi/test_data/var_annot.comment.py
8d3907c0a79e522e7a66e1587e8a8ca132b76a38
[]
no_license
NateWeiler/Resources
213d18ba86f7cc9d845741b8571b9e2c2c6be916
bd4a8a82a3e83a381c97d19e5df42cbababfc66c
refs/heads/master
2023-09-03T17:50:31.937137
2023-08-28T23:50:57
2023-08-28T23:50:57
267,368,545
2
1
null
2022-09-08T15:20:18
2020-05-27T16:18:17
null
UTF-8
Python
false
false
128
py
version https://git-lfs.github.com/spec/v1 oid sha256:fbf532cb3bc3376967d6a665559e5b50273ee6371ee9080fcc2f2d7e3592c2eb size 156
[ "nateweiler84@gmail.com" ]
nateweiler84@gmail.com
0efae463197cf4b67c08549dc4459158bc1c5d11
a3c7c11c607800155457ea1f886e2d84eadd9610
/examples/3_NeuralNetworks/convolutional_network.py
17aa1d84f64834e38d5523b130d66d3e697d1ee0
[ "MIT" ]
permissive
353622088/CapsNet
eddba478143bd092ce27bd49dbb65c63d80824e4
04408978dfccd9a6545fc250648fd2f600974a95
refs/heads/master
2021-08-28T02:22:56.958370
2017-12-11T03:03:52
2017-12-11T03:03:52
112,295,252
0
0
null
null
null
null
UTF-8
Python
false
false
4,934
py
""" Convolutional Neural Network. Build and train a convolutional neural network with TensorFlow. This example is using the MNIST database of handwritten digits (http://yann.lecun.com/exdb/mnist/) This example is using TensorFlow layers API, see 'convolutional_network_raw' example for a raw implementation with varia...
[ "chk0125@126.com" ]
chk0125@126.com
88f37dcfa3636c5a91c3546ae84c383167f931e2
5ec06dab1409d790496ce082dacb321392b32fe9
/clients/python-flask/generated/openapi_server/models/com_adobe_cq_social_commons_emailreply_impl_custom_email_client_provider_properties.py
4d9bc47c42da303a7c969c543512bee62080c310
[ "Apache-2.0" ]
permissive
shinesolutions/swagger-aem-osgi
e9d2385f44bee70e5bbdc0d577e99a9f2525266f
c2f6e076971d2592c1cbd3f70695c679e807396b
refs/heads/master
2022-10-29T13:07:40.422092
2021-04-09T07:46:03
2021-04-09T07:46:03
190,217,155
3
3
Apache-2.0
2022-10-05T03:26:20
2019-06-04T14:23:28
null
UTF-8
Python
false
false
4,134
py
# coding: utf-8 from __future__ import absolute_import from datetime import date, datetime # noqa: F401 from typing import List, Dict # noqa: F401 from openapi_server.models.base_model_ import Model from openapi_server.models.config_node_property_array import ConfigNodePropertyArray # noqa: F401,E501 from openapi...
[ "cliffano@gmail.com" ]
cliffano@gmail.com
8e4033741ac16a69170a9bfaf0ba7158c207ddc2
d0cf8b68b68e33900544dc056566511428692b71
/tests/spoof/gs_feature_elision.py
c2aabeb4d4d1e9b78fab46632764e38d376bfe25
[ "MIT" ]
permissive
ryanfb/OCRmyPDF
3f1547c164d3b74b5e6c003bb875e50c292b36a4
f6a4d8f1f808a1c963c85e498a773ef0439db5ed
refs/heads/master
2021-01-21T04:25:00.603736
2017-08-27T20:53:36
2017-08-27T20:53:36
101,911,301
1
0
null
2017-08-30T17:44:15
2017-08-30T17:44:15
null
UTF-8
Python
false
false
800
py
#!/usr/bin/env python3 # © 2016 James R. Barlow: github.com/jbarlow83 import sys import os from subprocess import check_call """Replicate one type of Ghostscript feature elision warning during PDF/A creation.""" def real_ghostscript(argv): gs_args = ['gs'] + argv[1:] os.execvp("gs", gs_args) return # N...
[ "jim@purplerock.ca" ]
jim@purplerock.ca
c93c5ccd6c588a6c7f2b024b62acc6badd12163b
f0d713996eb095bcdc701f3fab0a8110b8541cbb
/HDGiiCmSgJeeu3388_19.py
09b87a15f58f460743f3b6ef6eaacc88c698ba44
[]
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
904
py
""" A fuse melts when a current in an electrical device exceeds the fuse's rating, breaking the circuit and preventing the heat from building up too much (which can cause a fire). The ideal fuse to choose is **higher** than the device's current output, yet **as close as possible** to it as well. Given a list of _fu...
[ "daniel.reich@danielreichs-MacBook-Pro.local" ]
daniel.reich@danielreichs-MacBook-Pro.local
448a496d6cf183fe73cf62e90b39b8f5e925a6f8
cc1d44cf04e5b2b15bb296a434aad4ae4bcfc4be
/python3/qr/zbarlight_test.py
5944e63c9ba7fb774948ce49dce2fe4de1a416f1
[]
no_license
ericosur/ericosur-snippet
dda2200546b13fb9b84632d115a0f4ca5e3d5c47
0309eeb614612f9a35843e2f45f4080ae03eaa81
refs/heads/main
2023-08-08T04:54:05.907435
2023-07-25T06:04:01
2023-07-25T06:04:01
23,057,196
2
1
null
2022-08-31T09:55:19
2014-08-18T03:18:52
Perl
UTF-8
Python
false
false
864
py
#!/usr/bin/env python3 # coding: utf-8 ''' apt-get install libzbar-dev pip install zbarlight I do not recomment use this module to decode qrcode. ''' import sys from PIL import Image import common try: import zbarlight except ImportError: print('need to install zbarligt (python) and libzbar-dev') sys.exi...
[ "ericosur@gmail.com" ]
ericosur@gmail.com
77842a6aee9b5ded6310e374e78ec44dfddb45bd
d2cb930ed5df0b1b5f7944e00f6f884bf014803d
/douban/twisted-demo.py
fcf677fc5cecf53c84cde258c7d3baea35271f91
[]
no_license
sixDegree/python-scrapy-demo
3cae4298b01edab65449cfe9af56b2fa59f4c07d
b66530e54156be8c7877f1fc4d497fd497b6fdda
refs/heads/master
2020-06-17T03:16:23.038061
2019-07-08T09:25:15
2019-07-08T09:25:15
195,777,787
0
0
null
null
null
null
UTF-8
Python
false
false
5,184
py
from twisted.internet import reactor # 事件循环(自动终止条件:所有socket都已移除) from twisted.internet import defer # defer.Deferred 特殊的socket对象(需手动调用执行,手动移除) from twisted.internet import task import treq # 用于发送异步Request,返回Deferred对象 import time # 延迟机制: # Deferred 延迟对象,代表的是一个无法立即获取的值 def demo_defer1(): d = defer.Deferred() ...
[ "chenjin.zero@163.com" ]
chenjin.zero@163.com