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
c4b6a3f62693ae3839dab962a54b3148f679bc02
21c8e8fee35d736938d22bfd01d4f8aa0f81b79e
/app.py
14a3dc6627e061c994804fbd9b2d09ae8cab479f
[ "MIT" ]
permissive
betatim/etherbrain
320d4accdc789325b94feafab18aa6e49cea8564
910152032825861248cc300b0388c07112fff5db
refs/heads/master
2021-01-16T21:22:31.676169
2016-02-11T17:32:28
2016-02-11T17:32:28
51,532,606
1
0
null
2016-02-11T17:33:01
2016-02-11T17:33:00
null
UTF-8
Python
false
false
2,028
py
import os import requests from github3 import login from flask import ( Response, Flask, g, request ) GH_TOKEN = os.getenv("TOKEN") FORK_ME = """<a href="https://github.com/etherpad-archive/etherbrain"><img style="position: absolute; top: 0; right: 0; border: 0;" src="https://camo.githubusercontent.c...
[ "betatim@gmail.com" ]
betatim@gmail.com
ecc34043983b03b3988be9dcd00276282e219b79
41523dd4871e8ed1043d2b3ddf73417fcbdde209
/day10/第三方模块.py
160b4dccef65869bcc8a653e7c6817dce1eb9e80
[]
no_license
WayneChen1994/Python1805
2aa1c611f8902b8373b8c9a4e06354c25f8826d6
a168cd3b7749afc326ec4326db413378fd3677d5
refs/heads/master
2020-03-30T23:19:00.773288
2018-11-02T10:47:40
2018-11-02T10:47:40
151,697,105
0
0
null
null
null
null
UTF-8
Python
false
false
640
py
#!/usr/bin/env python # -*- coding: utf-8 -*- # author: Wayne.Chen ''' 第三方的库都需要安装 第一种:使用pip安装 命令格式:pip install 库名 若发生错误,先更新错误,再切换网络 第二种:使用pycharm进行安装 ''' from PIL import Image # 打开图片,生成一个image对象 im = Image.open('ppp.jpg') # 从打开的图片中获取图片信息 # im.format:图片格式信息 # im.size:图片尺寸 print(im.format, im.size) # 设置图片的尺寸,生成缩略...
[ "waynechen1994@163.com" ]
waynechen1994@163.com
692ffcf5c4f607be9f55703706c8341c7ac328f9
16640092d62417c32677ee2f7c63a913c11de51a
/test.py
ba098b066ee0dc2ba43422cf0389de84cad9cdf9
[]
no_license
reakain/rob538hw2
2cacd5ea0c394d262420093f31c50acd029322ff
07249df900380353020be57ce8a4eebed904e904
refs/heads/main
2022-12-25T17:11:08.513206
2020-10-13T03:10:24
2020-10-13T03:10:24
303,574,310
0
0
null
null
null
null
UTF-8
Python
false
false
2,769
py
# from https://amunategui.github.io/reinforcement-learning/index.html import numpy as np import pylab as plt # map cell to cell, add circular cell to goal point points_list = [(0,1), (1,5), (5,6), (5,4), (1,2), (2,3), (2,7)] goal = 7 import networkx as nx G=nx.Graph() G.add_edges_from(points_list) pos = nx.spring_la...
[ "reakain@users.noreply.github.com" ]
reakain@users.noreply.github.com
f8c13f56bef005c37b573d17ed303454226ba230
7136e5242793b620fa12e9bd15bf4d8aeb0bfe7a
/examples/adspygoogle/dfp/v201101/get_lica.py
121e4466b8d92878321c9c97d2374a5552ef0e28
[ "Apache-2.0" ]
permissive
hockeyprincess/google-api-dfp-python
534519695ffd26341204eedda7a8b50648f12ea9
efa82a8d85cbdc90f030db9d168790c55bd8b12a
refs/heads/master
2021-01-10T10:01:09.445419
2011-04-14T18:25:38
2011-04-14T18:25:38
52,676,942
0
0
null
null
null
null
UTF-8
Python
false
false
1,958
py
#!/usr/bin/python # # Copyright 2011 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 b...
[ "api.sgrinberg@7990c6e4-1bfd-11df-85e6-9b4bd7dd5138" ]
api.sgrinberg@7990c6e4-1bfd-11df-85e6-9b4bd7dd5138
048ac96b3f749f1c876f5b098fc2d9c763c14bfd
c418bd9d730bc17653611da7f0642bdd25cba65f
/djangosite/myapp/models.py
24937ec6ecd5ae57cc064366c022229598fdac16
[]
no_license
ErDeepakSingh/Ajax-State-City
ae18a4f4b8ef8e90932d8aed74553897d7ac9b3b
72a31424bd9402ef2c76198ee80934ac399fccf9
refs/heads/master
2020-08-16T02:29:36.081445
2019-10-16T02:51:22
2019-10-16T02:51:22
215,443,208
0
0
null
null
null
null
UTF-8
Python
false
false
413
py
from django.db import models # Create your models here. class Student(models.Model): name = models.CharField(max_length=25) email = models.EmailField(unique=True) joined = models.DateTimeField(auto_now_add=True) phone = models.CharField(max_length=10, default='') password = models.CharField(max_l...
[ "deepakthakur755@gmail.com" ]
deepakthakur755@gmail.com
82dac2f11d268d0f7a2d30e10b1a6ca670013859
9c4e02ba5201794a4c5cbff548db1be7c87409c1
/venv/lib/python3.9/site-packages/pygments/lexers/trafficscript.py
67ecd243cb3c15db119f07cd6007ebb986f19d42
[ "MIT", "Apache-2.0" ]
permissive
ClassWizard/PodLockParser
4faf4679d404158b3cf2b1ceb4faabca461b0008
84f6d3fced521849657d21ae4cb9681f5897b957
refs/heads/master
2022-12-23T20:39:48.096729
2022-02-08T09:49:01
2022-02-08T09:49:01
167,668,617
2
1
MIT
2022-12-14T10:01:41
2019-01-26T08:50:35
Python
UTF-8
Python
false
false
1,512
py
""" pygments.lexers.trafficscript ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Lexer for RiverBed's TrafficScript (RTS) language. :copyright: Copyright 2006-2021 by the Pygments team, see AUTHORS. :license: BSD, see LICENSE for details. """ from pygments.lexer import RegexLexer from pygments.token import String...
[ "chenlongwei@camera360.com" ]
chenlongwei@camera360.com
ff9be30ad7a3fb60856edfe43f45d57c5a03eb04
b9a2097b1ff526f0f980cb44f321ecdecc071baf
/backend/nwh_elkhart_metrics_26614/urls.py
8e7b3ab44b091f930ad0b1b58e0f93406437830a
[]
no_license
crowdbotics-apps/nwh-elkhart-metrics-26614
ce08c984d6c939b7f7cd5158b5c39fe37be94dcc
e86088482281f83fe789ce0b492e76981df1c08c
refs/heads/master
2023-05-01T08:17:44.464562
2021-05-12T18:42:43
2021-05-12T18:42:43
366,794,511
0
0
null
null
null
null
UTF-8
Python
false
false
2,580
py
"""nwh_elkhart_metrics_26614 URL Configuration The `urlpatterns` list routes URLs to views. For more information please see: https://docs.djangoproject.com/en/2.2/topics/http/urls/ Examples: Function views 1. Add an import: from my_app import views 2. Add a URL to urlpatterns: path('', views.home, name='...
[ "team@crowdbotics.com" ]
team@crowdbotics.com
94cf66b41704c274309334be3fe3b838b8a69b17
304a2c58a1bd0713b876d093a39a21f3fc7bd3d1
/skimage/morphology/greyreconstruct.py
9e447800d30f9549466eb9c8f628a5c0124ea194
[ "BSD-3-Clause" ]
permissive
ludwigschwardt/scikits-image
72042e548aa9004d94dbb3da518134be28ba0f4b
571151958f94842c642f0a17b73968757326e672
refs/heads/master
2023-09-05T02:28:15.470227
2012-08-27T10:16:40
2012-08-27T10:16:40
null
0
0
null
null
null
null
UTF-8
Python
false
false
8,158
py
""" This morphological reconstruction routine was adapted from CellProfiler, code licensed under both GPL and BSD licenses. Website: http://www.cellprofiler.org Copyright (c) 2003-2009 Massachusetts Institute of Technology Copyright (c) 2009-2011 Broad Institute All rights reserved. Original author: Lee Kamentsky """...
[ "tsyu80@gmail.com" ]
tsyu80@gmail.com
97baeed7c56a0db84cf7856d975f4a404250a4bf
f321c54e5745a21e41842c1cdccaefa5256d918c
/magnetos/utils/string_utils.py
e285d77142c2a32673e542aecca927e326123fca
[ "MIT" ]
permissive
gitshaozhong/magnetos
5104f90782ac03a2b0b5c86b7333d72b1c27338c
f48dcd7450a46d619dcbe64c11c9aa1c119cd307
refs/heads/master
2022-01-05T10:06:04.193597
2019-07-12T00:54:05
2019-07-12T00:54:05
null
0
0
null
null
null
null
UTF-8
Python
false
false
415
py
# -*- coding: utf-8 -*- # Created by restran on 2017/9/26 from __future__ import unicode_literals, absolute_import def fixed_length_split(data, width): """ 固定长度分割字符串 :param data: :param width: :return: """ # 使用正则的方法 # import re # split = re.findall(r'.{%s}' % width, string) ret...
[ "grestran@gmail.com" ]
grestran@gmail.com
1b5ec767df5eb39a49ccdf40dca40eea62760f90
0fa82ccc0b93944c4cbb8255834b019cf16d128d
/2020/TopNBuzzWords.py
ace88f6781b44057f221aa1f992be9d1b7504886
[]
no_license
Akashdeepsingh1/project
6ad477088a3cae2d7eea818a7bd50a2495ce3ba8
bdebc6271b39d7260f6ab5bca37ab4036400258f
refs/heads/master
2022-12-13T23:09:35.782820
2020-08-27T14:22:37
2020-08-27T14:22:37
279,722,741
0
0
null
null
null
null
UTF-8
Python
false
false
3,113
py
''' You work on a team whose job is to understand the most sought after toys for the holiday season. A teammate of yours has built a webcrawler that extracts a list of quotes about toys from different articles. You need to take these quotes and identify which toys are mentioned most frequently. Write an algorithm that ...
[ "Akashdeep_S@Dell.com" ]
Akashdeep_S@Dell.com
631d16757e7af9733f9944dc7b6eabb43ed2f47e
ca7aa979e7059467e158830b76673f5b77a0f5a3
/Python_codes/p02691/s319336614.py
171ddfd157899a75a6f611fe7687282c54e7f3f4
[]
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
519
py
import sys from functools import lru_cache from collections import defaultdict inf = float('inf') readline = sys.stdin.buffer.readline readlines = sys.stdin.buffer.readlines sys.setrecursionlimit(10**6) def input(): return sys.stdin.readline().rstrip() def read(): return int(readline()) def reads(): return map(int,...
[ "66529651+Aastha2104@users.noreply.github.com" ]
66529651+Aastha2104@users.noreply.github.com
49ac678e7399622d7dbfa5d8fa346354eeae6c27
c73fc798764f40ea6fa466a573fb01223e367ce3
/sorting_algo/bubble_sort13_08_3.py
ec228d9d7c593673db252adc5d40e3d6bc431de2
[]
no_license
mohitsh/python_work
b1385f62104aa6b932f5452ca5c2421526345455
223a802dea5cdb73f44a159856c7432983655668
refs/heads/master
2020-04-24T00:34:15.427060
2018-08-21T19:12:07
2018-08-21T19:12:07
37,491,449
0
0
null
null
null
null
UTF-8
Python
false
false
280
py
def bubble_sort(alist): for passnum in range(len(alist)-1,0,-1): for i in range(passnum): if alist[i] > alist[i+1]: temp = alist[i] alist[i] = alist[i+1] alist[i+1] = temp return alist alist = [9,8,7,6,5,4,3,2,1,0] print alist print bubble_sort(alist)
[ "mohitsh114@gmail.com" ]
mohitsh114@gmail.com
5fe4808fdc7b9720b6dae56130107ff7859b3d6b
6ceea2578be0cbc1543be3649d0ad01dd55072aa
/src/fipy/solvers/trilinos/preconditioners/jacobiPreconditioner.py
3e0dbb4faff0fe48dc559db8e9f7fb07afb4f0e3
[ "LicenseRef-scancode-public-domain" ]
permissive
regmi/fipy
57972add2cc8e6c04fda09ff2faca9a2c45ad19d
eb4aacf5a8e35cdb0e41beb0d79a93e7c8aacbad
refs/heads/master
2020-04-27T13:51:45.095692
2010-04-09T07:32:42
2010-04-09T07:32:42
602,099
1
0
null
null
null
null
UTF-8
Python
false
false
1,916
py
#!/usr/bin/env python ## # -*-Pyth-*- # ################################################################### # FiPy - Python-based finite volume PDE solver # # FILE: "jacobiPreconditioner.py" # # Author: Jonathan Guyer <guyer@nist.gov> # Author: Daniel Wheeler <daniel.wheeler@nist.gov> # Author: James W...
[ "regmisk@gmail.com" ]
regmisk@gmail.com
2ef23df228ff2888553798a422f860c67c12f531
9b4de05054f37a65dce49857fb6a809a370b23ca
/gd/migrations/0015_auto_20171223_1531.py
689f60c8c2b35e98aa6e6472d8595be6fc32c8c3
[]
no_license
susahe/gis
f6b03b8f23abf7ca22c0069a4cdf603bfe879808
6b8d433cd5f672994ac138c1b656136425d0c345
refs/heads/master
2021-05-12T01:50:12.862559
2018-01-27T02:25:31
2018-01-27T02:25:31
117,569,888
0
0
null
null
null
null
UTF-8
Python
false
false
1,613
py
# Generated by Django 2.0 on 2017-12-23 15:31 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('gd', '0014_auto_20171222_2045'), ] operations = [ migrations.AlterField( model_name='person', name='p_birthdate', ...
[ "sumudu.susahe@gmail.com" ]
sumudu.susahe@gmail.com
16510b4dbee33035e4fd00ce92137fff7639b46b
9c74814f9bf90529d5ccd7a1dcebe062235ca67c
/third_party/saltedge/test/test_oauth_reconnect_request_body.py
1c76997806170372a731a2fa2c93794dbc1cbd38
[ "MIT" ]
permissive
ltowarek/budget-supervisor
63196fe7cef78f0f54a25891d65870745cc7cf49
618e01e15a7a76ed870dafccda399720a02b068b
refs/heads/master
2021-12-15T06:41:37.531689
2021-11-08T19:51:58
2021-11-08T19:53:03
26,971,315
1
0
MIT
2021-07-04T10:56:24
2014-11-21T17:56:36
Python
UTF-8
Python
false
false
1,000
py
# coding: utf-8 """ Salt Edge Account Information API API Reference for services # noqa: E501 OpenAPI spec version: 5.0.0 Contact: support@saltedge.com Generated by: https://github.com/swagger-api/swagger-codegen.git """ from __future__ import absolute_import import unittest import swagger_cl...
[ "lukasz.towarek@gmail.com" ]
lukasz.towarek@gmail.com
2439b6370f69f389a08685af7bde72b0f33ded1f
f07a42f652f46106dee4749277d41c302e2b7406
/Data Set/bug-fixing-5/ac7e62ec08d10df30b76ffd035b8d449a1a097d9-<target_login>-bug.py
51ff00075ca0161b03de61784815c1b6a53ae43d
[]
no_license
wsgan001/PyFPattern
e0fe06341cc5d51b3ad0fe29b84098d140ed54d1
cc347e32745f99c0cd95e79a18ddacc4574d7faa
refs/heads/main
2023-08-25T23:48:26.112133
2021-10-23T14:11:22
2021-10-23T14:11:22
null
0
0
null
null
null
null
UTF-8
Python
false
false
816
py
def target_login(module, target): node_auth = module.params['node_auth'] node_user = module.params['node_user'] node_pass = module.params['node_pass'] if node_user: params = [('node.session.auth.authmethod', node_auth), ('node.session.auth.username', node_user), ('node.session.auth.password', no...
[ "dg1732004@smail.nju.edu.cn" ]
dg1732004@smail.nju.edu.cn
c2a810bd301d8844f561beed00989c879eb6d363
ca7aa979e7059467e158830b76673f5b77a0f5a3
/Python_codes/p02787/s385554448.py
eb0de844cf83ff51298317f61169298255d1ec6e
[]
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
310
py
H,N = map(int,input().split()) inf = 1000000000 dp = [inf for _ in range(20001)] magics = [] dp[0] = 0 for i in range(N): magic = list(map(int,input().split())) magics.append(magic) for j in range(10001): for k in magics: dp[j+k[0]] = min(dp[j]+k[1],dp[j+k[0]]) ans = dp[H:] print(min(ans))
[ "66529651+Aastha2104@users.noreply.github.com" ]
66529651+Aastha2104@users.noreply.github.com
980d5b518857f99a7f02371be9dd4c0741d704b7
e53b7bbcea1a6f06175a9f14e31d5725fe80e804
/Question_100/Q11_MeanFilter.py
a8d91f259b3b5bae65693816b60b3a60b2e928ac
[]
no_license
Zpadger/ObjectDetection
5777c8d78c71dca1af6bccf25b01288dca7100c3
aa0193a38f3d5c3a318501c3a59e89b73d3e244b
refs/heads/master
2020-08-16T02:58:45.412713
2019-12-14T08:18:51
2019-12-14T08:18:51
215,446,364
0
0
null
null
null
null
UTF-8
Python
false
false
589
py
#均值滤波 import cv2 import numpy as np #read image img=cv2.imread("imori.jpg") h,w,c=img.shape #mean filter K_size=3 #zero padding pad=K_size//2 out=np.zeros((h+pad*2,w+pad*2,c),dtype=np.float) out[pad:pad+h,pad:pad+w]=img.copy().astype(np.float) tmp=out.copy() for y in range(h): for x in range(w): for c...
[ "noreply@github.com" ]
Zpadger.noreply@github.com
9534e203e71c3a4144e688ecb9c1a247d5e1c057
f7d28900c8b49748d7b31f3b8dd384042f07fb36
/misc/glp_stats/collect_glyph_stats.py
3fd8c44a1fbb977f719fa9b026e673da5d53f1e9
[]
no_license
TeluguOCR/datagen_initio
0f2f4823a08bca24a1012fbd0508cdf12ed01dc1
f405e91f66c770efa6ae94a71430fcec6bae449f
refs/heads/master
2021-01-10T15:12:45.431308
2015-12-06T00:24:02
2015-12-06T00:24:02
47,477,987
2
1
null
null
null
null
UTF-8
Python
false
false
3,080
py
#! /usr/bin/python # -*- coding: utf-8 -*- from PIL import Image import sys, os, re if len(sys.argv) < 2: print('Usage: ' + sys.argv[0] + ' <Directory>/ \n' 'This Program finds the stats of images of each glyph class' 'Directory is location of the directories containing image files for each glyph'...
[ "rakeshvar@gmail.com" ]
rakeshvar@gmail.com
0ffce78daacdd1e2459e140c917feb0bfcac0095
bd71b063f13958e07c9e16cd171d3fc0e1c58e4d
/0x0F-python-object_relational_mapping/11-model_state_insert.py
293b9e47a1719bc9fa3f2594d981cfa01588d16b
[]
no_license
feliciahsieh/holbertonschool-higher_level_programming
2aecd291f85fe69ab11331bb2d5372c6d67e1af6
017e8b87f9d8967b55ccc68ed30921572d4ddb65
refs/heads/master
2021-01-01T20:46:36.901665
2019-04-10T18:24:59
2019-04-10T18:24:59
98,931,138
2
0
null
null
null
null
UTF-8
Python
false
false
774
py
#!/usr/bin/python3 """ Add the State object Louisiana to database hbtn_0e_6_usa """ import sys from model_state import Base, State from sqlalchemy import create_engine from sqlalchemy import Column, Integer, String from sqlalchemy.ext.declarative import declarative_base from sqlalchemy.orm import sessionmaker if __nam...
[ "felicia@tixwriteoff.com" ]
felicia@tixwriteoff.com
3c44f5b036a333f3e5fc9e2804a38f9c2fdd069b
061684e59ba5c816419f763a25629af987f60d52
/CUDATest/test_code/__init__.py
e5225e0b12cc6e585d90b50fe277e7cdd23f4c17
[]
no_license
wangyouan/PythonTest
8d798fc5cde3ecaeb64301c3290fe51ea8577523
62177829b81e918cadb4a24527c4cdcaff734d7d
refs/heads/master
2021-06-17T11:18:11.973935
2017-03-26T07:07:18
2017-03-26T07:07:18
null
0
0
null
null
null
null
UTF-8
Python
false
false
126
py
#!/usr/bin/env python # -*- coding: utf-8 -*- # Project: PythonTest # File name: __init__.py # Author: warn # Date: 2017/3/25
[ "wangyouan0629@hotmail.com" ]
wangyouan0629@hotmail.com
a1df8dd1d107a12098b59d231076994ca9958a2d
16807220b95bf9a559b97ec0de16665ff31823cb
/lcd/screens/exitscreen.py
52556eede378c20732b65cfc92504200ed9657d1
[ "BSD-3-Clause" ]
permissive
cuauv/software
7263df296e01710cb414d340d8807d773c3d8e23
5ad4d52d603f81a7f254f365d9b0fe636d03a260
refs/heads/master
2021-12-22T07:54:02.002091
2021-11-18T01:26:12
2021-11-18T02:37:55
46,245,987
76
34
null
2016-08-03T05:31:00
2015-11-16T02:02:36
C++
UTF-8
Python
false
false
506
py
import cairo from screen import Screen class ExitScreen(Screen): def get_name(self): return "exit" def draw(self, cr): cr.set_source_rgb(1.0, 0, 0) cr.select_font_face("FreeSans", cairo.FONT_SLANT_NORMAL, cairo.FONT_WEIGHT_NORMAL) cr.set_font_size(150) cr.move_to(10, 1...
[ "leader@cuauv.org" ]
leader@cuauv.org
32661b4325599ee456d1c452634fb18c9f48db6e
62a5beed83b968fb5b2082a453744bb0fe79f3f2
/ch04/negative_sampling_layer.py
4bef31b3c270418dcf048aabbbadfc7483bdc585
[]
no_license
show2214/deep-learning-from-scratch-2
05c8515f7c00947387661a05005f2fd00cb0543b
2deb28e68d6e0281aebf2df03c619299591d0660
refs/heads/master
2023-08-09T12:40:26.877054
2021-09-15T04:43:42
2021-09-15T04:43:42
403,802,770
0
0
null
null
null
null
UTF-8
Python
false
false
3,402
py
import sys sys.path.append('..') from common.np import * # import numpy as np from common.layers import Embedding, SigmoidWithLoss import collections class EmbeddingDot: def __init__(self, W): self.embed = Embedding(W) self.params = self.embed.params self.grads = self.embed.grads s...
[ "show2214@icloud.com" ]
show2214@icloud.com
6cf60993a32a3c90768425762696112fcbe27ec0
95b8130d908c79f8192c6813fee6220ccb05c5c3
/tests/test_stumped.py
c4744d728110eaecf1b9f334aa45e69bec1187bc
[ "BSD-3-Clause" ]
permissive
canslove/stumpy
4ac96d44eeef24f8e2add3dd0bab0788cb117d32
2c1a9ace0d7241435d1e5c6578e7dca45e541108
refs/heads/master
2020-06-01T06:16:22.238904
2019-06-06T18:50:22
2019-06-06T18:50:22
null
0
0
null
null
null
null
UTF-8
Python
false
false
3,692
py
import numpy as np import numpy.testing as npt import pandas as pd from stumpy import stumped, core from dask.distributed import Client, LocalCluster import pytest import warnings @pytest.fixture(scope="module") def dask_client(): cluster = LocalCluster(n_workers=None, threads_per_worker=2) client = Client(cl...
[ "seanmylaw@gmail.com" ]
seanmylaw@gmail.com
78fb6dfd977597e0296dba31f5b7f924af76d0ee
32997e6a8607358765254ea81d2f867269ae2b35
/09-problems/ed_002_max_cpu_load.py
d7ce673b607b109f2ba41cecf865ebb19e7f70fa
[ "MIT" ]
permissive
aman-singh7/training.computerscience.algorithms-datastructures
0ace578ebcec13c5293b4d4dccdaa7634788604d
a4e1d1973b091589690fd2efc5dcb3c1a4df6c4c
refs/heads/master
2023-06-09T12:27:55.569254
2021-06-29T20:16:37
2021-06-29T20:16:37
401,133,325
1
0
MIT
2021-08-29T20:12:50
2021-08-29T20:12:49
null
UTF-8
Python
false
false
2,706
py
""" 1. Problem Summary / Clarifications / TDD: [[1,4,3], [2,5,4], [7,9,6]]: 7 [[6,7,10], [2,4,11], [8,12,15]]: 15 [[1,4,2], [2,4,1], [3,6,5]]: 8 Output: 8 2. Intuition: 1. Store store current end time and current load 2. Compute current load: current load + curr_j...
[ "mamid1706@hotmail.fr" ]
mamid1706@hotmail.fr
19eeeb6f65f752d9650f12b7db8cbd7fd4e52021
0fac73e70eeb8e3b8635de8a4eaba1197cd42641
/shop/migrations/0009_auto_20161218_1423.py
6c991c55ff7db73b3fcce1e6b9e86531343964e6
[]
no_license
gauraviit1/myshop_aws
0e6c9d822cbbc6505eb7c7a71654d34591e7b168
261b296d79cfdf8fa4cb9105b4e2fe70e864f6a6
refs/heads/master
2021-01-19T13:44:12.977253
2017-03-03T07:52:58
2017-03-03T07:52:58
82,444,113
0
0
null
null
null
null
UTF-8
Python
false
false
646
py
# -*- coding: utf-8 -*- # Generated by Django 1.9.2 on 2016-12-18 08:53 from __future__ import unicode_literals from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('shop', '0008_auto_20161218_1418'), ] operations = [ migrations.AlterField( ...
[ "mcjail.shi.hp@gmail.com" ]
mcjail.shi.hp@gmail.com
126fdf5a0ff5d0a3257837f6a8cb63753004fcc4
ff6f60d02ed8d024f7b2db5c9eb4b1196ebf166b
/wb_opencv/cameo/utils.py
871dbd9788f5c3889f123abab833578679012be5
[]
no_license
cekong/learnit
43b707e347ff552754b6592e01dd106c98cd0cc5
b4111d6fee95960f7b7ca5421b7159cb6122ad2a
refs/heads/master
2020-03-25T13:53:37.848843
2019-08-29T06:46:48
2019-08-29T06:46:48
143,848,485
0
0
null
null
null
null
UTF-8
Python
false
false
57
py
import cv2 import numpy import scipy.interpolate #插值
[ "noreply@github.com" ]
cekong.noreply@github.com
cf7a6073c70b6641ce1642c80b71357c98691c98
441f0b4b4f2016ace7bed37431779b3352b9c2e4
/YouTube Ignorancia Zero/Ferramentas de Sistema/105 - Ferramentas de Sistema I: Básico módulo sys/105.py
00f7f36c467e269506283635dc65f9c6e2a2bbff
[]
no_license
AlexGalhardo/Learning-Python
936b2eae814d148b0b3b77cc76cf81b45fbb4a02
b710952101a0409f585ba975e2854bf0e0286ac7
refs/heads/master
2020-05-19T23:32:49.285710
2019-09-04T17:37:27
2019-09-04T17:37:27
134,312,273
1
0
null
null
null
null
UTF-8
Python
false
false
424
py
##### Modulo sys ##### """ platform = devolve a plataforma de execução path = lista com todas as pastas ligadas ao programa exit([args]) = termina a execução de um programa modules = todos os módulos carregados exc_info = tupla que contem a ultima excessão levantada """ import sys #if 'win' in sys.platform: # impo...
[ "aleexgvieira@gmail.com" ]
aleexgvieira@gmail.com
85c31e40b493df1d537fa5c1d68f81571561acf1
6cc35793f2bac664d2ab9273911b37a256933418
/Aula18/1.py
8a83b57ae03116a3b36484bd55697b3268cfeffc
[]
no_license
MarcianoPazinatto/TrabalhosdePython
a6d8384b3586d5619654a70c73a978ce9def9b8a
74ccf0541de426ad795700234643218953d7b0a0
refs/heads/master
2020-09-05T21:28:13.264266
2020-03-10T13:40:48
2020-03-10T13:40:48
220,218,856
0
0
null
null
null
null
UTF-8
Python
false
false
2,749
py
# Aula 18 - 03-11-2019 # Exercicios para lista simples # Dada a seguinte lista, resolva os seguintes questões: lista = [10, 20, 'amor', 'abacaxi', 80, 'Abioluz', 'Cachorro grande é de arrasar'] print('1: Usando a indexação, escreva na tela a palavra abacaxi') print(lista[3]) #######################################...
[ "marciano.et@hotmail.com" ]
marciano.et@hotmail.com
3873bba1c404a7e7984c0597b55e018dc11f41f4
0bb8e1d97434d079d02f2645b54a4489bee91264
/openpyxl2/drawing/tests/test_properties.py
4823cbedbad3cc0ed424805f97df27bcf1649e43
[ "MIT" ]
permissive
j5int/openpyxl2
1313dba978179161acfc005e147ed7eed34c249a
3c82567c33d6cad5b0b26eea97da7bb39ba7f4c8
refs/heads/master
2020-04-05T12:50:02.977837
2018-11-09T11:55:31
2018-11-09T11:55:31
156,882,728
0
0
null
null
null
null
UTF-8
Python
false
false
4,858
py
from __future__ import absolute_import # Copyright (c) 2010-2018 openpyxl import pytest from openpyxl2.xml.functions import fromstring, tostring from openpyxl2.tests.helper import compare_xml @pytest.fixture def NonVisualDrawingProps(): from ..properties import NonVisualDrawingProps return NonVisualDrawingP...
[ "charlie.clark@clark-consulting.eu" ]
charlie.clark@clark-consulting.eu
ba09c36cf81e209d81983e69e414451144e1d77c
528def9844f2ce13e6a358938b0b560945ab2248
/cmibs/cisco_vtp_mib.py
e9b97bbfd0e0a75b417020b9976cc87b709cd405
[ "BSD-3-Clause" ]
permissive
skripkar/noc
055afbd42ab4c447d05d2cde0a822916f9e0844e
df193b99e478fe39157c8d27ff4098262d9cb734
refs/heads/master
2020-04-10T12:53:09.602779
2018-12-08T07:50:30
2018-12-08T07:50:30
null
0
0
null
null
null
null
UTF-8
Python
false
false
14,021
py
# -*- coding: utf-8 -*- # ---------------------------------------------------------------------- # CISCO-VTP-MIB # Compiled MIB # Do not modify this file directly # Run ./noc mib make_cmib instead # ---------------------------------------------------------------------- # Copyright (C) 2007-2018 The NOC Proj...
[ "aversanta@gmail.com" ]
aversanta@gmail.com
3c913a3354033d6adee53f32448dc623a7fb194f
6fa7f99d3d3d9b177ef01ebf9a9da4982813b7d4
/Es985FEDzEQ2tkM75_17.py
e8efaf329556cd3f9c55aca68288ccd6ac325fca
[]
no_license
daniel-reich/ubiquitous-fiesta
26e80f0082f8589e51d359ce7953117a3da7d38c
9af2700dbe59284f5697e612491499841a6c126f
refs/heads/master
2023-04-05T06:40:37.328213
2021-04-06T20:17:44
2021-04-06T20:17:44
355,318,759
0
0
null
null
null
null
UTF-8
Python
false
false
161
py
def caesar_cipher(txt, key): return ''.join(chr(65+(ord(c)-65+key)%26) if c.isupper() else\ chr(97+(ord(c)-97+key)%26) if c.islower() else c for c in txt)
[ "daniel.reich@danielreichs-MacBook-Pro.local" ]
daniel.reich@danielreichs-MacBook-Pro.local
cf338dd57c610af022867d3532ff1953b7647c27
53fab060fa262e5d5026e0807d93c75fb81e67b9
/backup/user_221/ch9_2020_03_02_13_41_48_396124.py
09f64ff03facaaf471f3008dd46004ad7227e75c
[]
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
85
py
import math def calcula_volume_da_esfera V = (4/3)* math.pi*(R**3) return V
[ "you@example.com" ]
you@example.com
2fd9398df9b19b15aae4de2492f5fc6f7afa17cd
15f321878face2af9317363c5f6de1e5ddd9b749
/solutions_python/Problem_206/1478.py
364c4fc8e1d4c920705b9f693c1fbc451d1e49f2
[]
no_license
dr-dos-ok/Code_Jam_Webscraper
c06fd59870842664cd79c41eb460a09553e1c80a
26a35bf114a3aa30fc4c677ef069d95f41665cc0
refs/heads/master
2020-04-06T08:17:40.938460
2018-10-14T10:12:47
2018-10-14T10:12:47
null
0
0
null
null
null
null
UTF-8
Python
false
false
412
py
t = int (input() ) for i in range(t): d,n = map(int,input().split() ) horse=[] for j in range(n): temp1,temp2= map(int,input().split() ) horse.append([temp1,temp2]) ans=0 for j in range(n): need = (d-horse[j][0])/horse[j][1] if(need > ans): an...
[ "miliar1732@gmail.com" ]
miliar1732@gmail.com
f9581969a8bddb9173474df4eed8e5a281400c07
f3c0568f0c7ba9d34b2ec3dc9cdce167164d3e45
/sms-spam.py
36bd778a626fe33e21486c575d293da6c2307f8e
[]
no_license
renauddahou/sms-spam
f1313e2ea3b1136e2d38e23111981e17f8010583
949bd1de4682a2abbf68d42b5fcfc2d25f29d6a5
refs/heads/main
2023-04-15T04:31:21.463825
2021-04-29T10:56:24
2021-04-29T10:56:24
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,790
py
import requests import time import colorama import os import threading #import socks #import socket import urllib.request import zipfile import random import datetime import sys import re import json from colorama import Fore, Back from threading import Thread from random import randint import asyncio from requests imp...
[ "noreply@github.com" ]
renauddahou.noreply@github.com
8531d5d6b9c1ce71600a47c0591f26494c47860b
e22c17c4f6b83a48a5bbe75bc35ad2132d93ebce
/opl/migrations/0008_auto_20200305_1559.py
42b9942ce85a1c8cd5a98bd086312d86a9ec9375
[]
no_license
MATT143/Snippets
f568b4117f2fe097ea5611e0bab764c4e13bb724
17a816b926a3ec5e9658739801d6bf3095b0128a
refs/heads/master
2022-04-23T01:40:50.447026
2020-04-18T04:09:25
2020-04-18T04:09:25
256,666,806
0
0
null
null
null
null
UTF-8
Python
false
false
576
py
# Generated by Django 2.2.11 on 2020-03-05 10:29 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('opl', '0007_auto_20200305_1302'), ] operations = [ migrations.AddField( model_name='oplorderdetails', name='subscri...
[ "mnahak@cisco.com" ]
mnahak@cisco.com
a275f1663018082cb7d363a7f67a0cfe839189c9
6fa701cdaa0d83caa0d3cbffe39b40e54bf3d386
/google/firestore/admin/v1/firestore-admin-v1-py/docs/conf.py
3513da45e7d36bd65dd15c3210f92557a28b990f
[ "Apache-2.0" ]
permissive
oltoco/googleapis-gen
bf40cfad61b4217aca07068bd4922a86e3bbd2d5
00ca50bdde80906d6f62314ef4f7630b8cdb6e15
refs/heads/master
2023-07-17T22:11:47.848185
2021-08-29T20:39:47
2021-08-29T20:39:47
null
0
0
null
null
null
null
UTF-8
Python
false
false
12,557
py
# -*- coding: utf-8 -*- # Copyright 2020 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or...
[ "bazel-bot-development[bot]@users.noreply.github.com" ]
bazel-bot-development[bot]@users.noreply.github.com
6415c261c52b6628e5b7cacc8a70924cc04f753a
53ed8b8d650439ba9aac764f5de5d96b67cbd77a
/867. Transpose Matrix.py
b2f1e40fd1c10e63a14c2f6c0f60df89da6dad8c
[]
no_license
IrwinLai/LeetCode
df49d152b4bf439c966afa53eecfe3022fb043ae
779c3a98d9052a12d319c0219324e5d0f5517fc6
refs/heads/master
2021-07-03T08:02:55.425285
2021-03-21T11:19:46
2021-03-21T11:19:46
221,848,796
0
0
null
null
null
null
UTF-8
Python
false
false
253
py
class Solution: def transpose(self, A: List[List[int]]) -> List[List[int]]: ret = [[] for i in range(len(A[0]))] for r in range(len(A)): for c in range(len(A[0])): ret[c].append(A[r][c]) return ret
[ "noreply@github.com" ]
IrwinLai.noreply@github.com
f1744beb2febf20b8a713a115b337d00d30f9ac4
b1b77bb1ed47586f96d8f2554a65bcbd0c7162cc
/SPOTIFY/luigi/test/task_test.py
80e08c956da8480bac9efee1efecb013d1ca667e
[]
no_license
DanHefrman/stuff
b3624d7089909972ee806211666374a261c02d08
b98a5c80cfe7041d8908dcfd4230cf065c17f3f6
refs/heads/master
2023-07-10T09:47:04.780112
2021-08-13T09:55:17
2021-08-13T09:55:17
null
0
0
null
null
null
null
UTF-8
Python
false
false
14,347
py
# -*- coding: utf-8 -*- # # Copyright 2012-2015 Spotify AB # # 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...
[ "bryan.guner@gmail.com" ]
bryan.guner@gmail.com
294df0914a41007122338f4e5fa1725bdd8373de
ed257bb11c2916f8e849a753911f9cf866687774
/code/experiment_001.py
a5b859e304fa0846047472a516150bb217036621
[ "MIT" ]
permissive
forero/BetaSkeleton
737000f5f0a132a0040b5184c90a803490cbcdd9
9714f11904bb9c990285815bd29303c08d6aafac
refs/heads/master
2020-04-06T03:57:08.299294
2014-07-31T20:39:14
2014-07-31T20:39:14
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,228
py
from subprocess import call total_mocks = 27 base_mass = [1.0E13] base_f_in = [1.0] rsd_options = [1,0] beta_values = [1,2,5,10,20,30] min_theta=90.0 max_theta=180.0 min_phi=[0.0,89.0] max_phi=[1.0,90.0] min_r=0.0 max_r=2000.0 omega_m_values = [0.30] w_values = [-1.0] for i_mock in range(total_mocks): for rsd in...
[ "j.e.forero.romero@gmail.com" ]
j.e.forero.romero@gmail.com
4dde39c66097431c01d8dbfe496e121fd7f4e9b6
a1b42a61f2f179ee0a12746d9526253ab3a407c8
/data/boada/analysis_all/MLmethods/calc_errors_ML.py
d3e84a3acc0ac2df776c97a138a636a2b70de5ae
[ "MIT" ]
permissive
sazabi4/vpCluster
1436c3df8d6721d67ef7dcc68c381b2bd776c45b
d0bf5e209c83b3d7781997066d61181fe60bf3af
refs/heads/master
2021-01-16T21:27:29.776100
2016-04-26T20:36:21
2016-04-26T20:36:21
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,588
py
import numpy as np import h5py as hdf from scipy import stats def error(true, pred, mu): ''' Unused, but kept to see how I did it when I wasn't using the Scipy functions. Calculates the error on the mean. ''' print true.size, if true.size > 1: var = np.sum((pred - true - mu)**2) /(true.siz...
[ "stevenboada@gmail.com" ]
stevenboada@gmail.com
3ff28d2310a0f022eadd873154775534e6ed3f7d
4936c1d20aef7a93ad2ded2f5731b102631ad8b2
/Tablas/tablas/Ruido20/maxVotos/EF/menu_1.py
bbbc4a429fa3ea9ad1f3048aeb9cae99d255b9a6
[ "LicenseRef-scancode-other-permissive" ]
permissive
jcarlosorte/pyMIL-BNF
530f60081607deecfee7c72264000c0ba34984fe
36e282e35242815bf57310db98707da70d69b183
refs/heads/master
2022-11-12T20:58:49.058513
2020-07-06T15:35:01
2020-07-06T15:35:01
182,646,512
0
0
null
null
null
null
UTF-8
Python
false
false
1,214
py
# -*- coding: utf-8 -*- """ Created on Fri May 10 10:11:00 2019 @author: Usuario """ import sys,os,warnings os.chdir('../../../../MILpy') sys.path.append(os.path.realpath('..')) warnings.filterwarnings('ignore') #from funciones import fvc from filters import EF from filters import CVCF from filters import IPF folds...
[ "jcarlosorte@ugr.es" ]
jcarlosorte@ugr.es
8e9f82bbc6dacde92d1f90f2d143e408042e520f
d15ed15aa3df11ce3bc5a007d65dc90ad7b7471d
/go.py
b6b362f5b72c686da4ac1f1525c638befe53b2e4
[]
no_license
dansgithubuser/dansMap
95947005c74f975355858f4b059b8913410814e9
48e035b1d6c308e83d5ddb5884475bfb88fb3eae
refs/heads/master
2020-03-17T02:18:56.329812
2018-06-24T15:34:22
2018-06-24T15:34:22
133,185,552
0
0
null
null
null
null
UTF-8
Python
false
false
417
py
import os import sys DIR=os.path.dirname(os.path.realpath(__file__)) sys.path.append(os.path.join(DIR, 'deps')) import djangogo parser=djangogo.make_parser() args=parser.parse_args() djangogo.main(args, project='dansmap', app='map', database='map_database', user='map_database_user', heroku_repo='https://git.her...
[ "dansonlinepresence@gmail.com" ]
dansonlinepresence@gmail.com
2da4bc5d14efc19541749e60986d62a072c681ff
75c96e6070fb5c2473a7ae3be30a2d3c9bd9301a
/src/colormap/__init__.py
0266932dba1e3d059d933f1638b9e05c1b604ac1
[ "BSD-3-Clause" ]
permissive
Akronix/colormap
c727c80c52d8f0a545b4a54974569315319113e9
e6d9a6e8bc9e3b3ac530a48577a5bee857267304
refs/heads/master
2020-08-05T04:16:34.328499
2018-12-29T15:10:18
2018-12-29T15:10:18
212,390,848
1
0
BSD-3-Clause
2019-10-02T16:37:32
2019-10-02T16:37:31
null
UTF-8
Python
false
false
1,003
py
# -*- python -*- # -*- coding: utf-8 -*- # # This file is part of the colormap software # # Copyright (c) 2014 # # File author(s): Thomas Cokelaer <cokelaer@gmail.com> # # Distributed under the GPLv3 License. # See accompanying file LICENSE.txt or copy at # http://www.gnu.org/licenses/gpl-3.0.html # # Website: https://...
[ "cokelaer@gmail.com" ]
cokelaer@gmail.com
d8d1fab3a4dd38f701ee8cb531edb455f731e1e9
368fec101daec272c8d44d592558906ee8043bc1
/tradefed_cluster/util/ndb_util_test.py
7d229b359db6b182129e9bc29496883828aabea4
[ "Apache-2.0" ]
permissive
maksonlee/tradefed_cluster
3acb0a899c073315c3e80b830784ec94a201a085
0568fc1d9b9dca79aed2de493955ce1adebb1d6b
refs/heads/master
2023-08-09T17:35:46.045476
2023-07-21T18:54:26
2023-07-21T18:54:54
369,842,670
0
0
null
null
null
null
UTF-8
Python
false
false
1,793
py
# Copyright 202 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, s...
[ "copybara-worker@google.com" ]
copybara-worker@google.com
4358059093f7fef6e061d934bfa2b80593531bc6
d94b6845aeeb412aac6850b70e22628bc84d1d6d
/jaxnerf/eval.py
9ece8a83f7159aa0df74218fffb0c3781352ec66
[ "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,263
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
fc21f78fac993994c6c1d017982080abc3e00a18
762c307de73db674c214619778802b863548bf2e
/env/bin/pilfont.py
ea37f1eb1170b5b23568a42c9f4bb924effcd14d
[]
no_license
mansourgueye275/django-bloggy
56d9d6a2131a71c20d6c341764503b76ba3a45c1
1b8080ad26244d3d60e20e24ad6520d7a663381b
refs/heads/master
2021-06-23T02:16:30.301697
2017-09-01T18:56:23
2017-09-01T18:56:23
102,141,125
0
0
null
null
null
null
UTF-8
Python
false
false
1,075
py
#!/home/mansour/Documents/RealPython/django-bloggy/env/bin/python3 # # The Python Imaging Library # $Id$ # # PIL raster font compiler # # history: # 1997-08-25 fl created # 2002-03-10 fl use "from PIL import" # from __future__ import print_function import glob import sys # drivers from PIL import BdfFontFile fro...
[ "zoe14@live.fr" ]
zoe14@live.fr
3591a5c5b02eaef9d5ce5f72aab5bcfda5dc4e60
6febc1719503d0f9dbc97f6b1202116370391b10
/clarico/clarico_category/controllers/main.py
1a9f165596162d8f4442ae3d08af86cabf4b192d
[]
no_license
arshakil/Odoo-Development
5c6a1795cd64a8ebef5abfdf7d6245804594bcd8
df37f6e8c2f7d89cdbdb36d0a8fd501ef8bfe563
refs/heads/master
2022-12-11T05:17:12.123339
2020-07-28T07:38:58
2020-07-28T07:38:58
248,154,189
0
2
null
2022-12-08T03:51:50
2020-03-18T06:20:59
Python
UTF-8
Python
false
false
587
py
from odoo import http from odoo.http import request from odoo import SUPERUSER_ID from odoo import models, fields, api class claricoCategory(http.Controller): @http.route(['/showcase_data'],type='json', auth='public', website=True , csrf=False, cache=30) def category_data(self,template,limit=10): ...
[ "azizur.rahman363410@gmail.com" ]
azizur.rahman363410@gmail.com
f2ab634a4d0e2b54bbdbd6cb5b20849ba87ef995
0db86f23fd8f6ff3b6119db0b7fab0f8522611f6
/Intro_To_Python/HW17/census.py
4eecf12f9f57d54ea047c9f2da4485ce67a78d9b
[]
no_license
justinminsk/Python_Files
8a6d96ecc6596e19413b35758d3234900d2381b6
68b3815fae58bc2d7ec86bcd42d46354d8b3d2f0
refs/heads/master
2021-05-15T11:24:25.473043
2018-02-08T20:23:12
2018-02-08T20:23:12
108,322,115
0
0
null
null
null
null
UTF-8
Python
false
false
3,620
py
from sqlite3 import * def make_database(): dataframe = connect('census.db') return dataframe def make_db_table(): dataframe = connect('census.db') df = dataframe.cursor() df.execute('CREATE TABLE Density(Province TEXT, Population INTEGER, Area REAL)') dataframe.commit() return df def a...
[ "justin.minsk@gmail.com" ]
justin.minsk@gmail.com
72a5ef263bf35a3f4944b9f1c6311a9be39457da
e1757740bef23814319c7edcb4d77f81fcc0d8f5
/lookerpy/apis/dashboard_api.py
3023c7d31b6b704db47c72e9c78038446e47ea67
[]
no_license
bufferapp/lookerpy
65a43c89c05d49caa00e52d223fa61f941054b2d
e81634f15bff006a0643320a41175861d9990e4c
refs/heads/master
2021-01-01T05:16:14.891450
2017-10-05T12:48:44
2017-10-05T12:48:44
58,413,445
21
8
null
2018-08-02T21:07:52
2016-05-09T22:58:07
Python
UTF-8
Python
false
false
31,616
py
# coding: utf-8 """ DashboardApi.py Copyright 2016 SmartBear Software 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...
[ "michaelerasmus@gmail.com" ]
michaelerasmus@gmail.com
21c9c76e357ed82d65fb33410d6e55d014fba9f3
18df7bd3c6a4e35f93b0163b09f0bd304fd82fb9
/conda/cli/main_run.py
2e25b2a4149c2a1bf1f325e83c47d951004d188c
[ "BSD-3-Clause", "MIT" ]
permissive
mitchellkrogza/conda
f1d092d913ac121e3df705decfb3b2e584bf829b
958f4056578282ef380cdbfc09d3dd736cc5643a
refs/heads/master
2020-03-25T06:46:56.095771
2018-08-02T05:28:42
2018-08-02T05:28:42
143,523,511
1
0
null
2018-08-04T11:34:43
2018-08-04T11:34:43
null
UTF-8
Python
false
false
2,723
py
# -*- coding: utf-8 -*- from __future__ import absolute_import, division, print_function, unicode_literals import json import os from os.path import abspath, join import sys from tempfile import NamedTemporaryFile from ..base.context import context from ..common.compat import ensure_binary, iteritems, on_win from ..g...
[ "kfranz@continuum.io" ]
kfranz@continuum.io
a007a093bbf5492cf4d74affab5f7938abe6ad6a
15f321878face2af9317363c5f6de1e5ddd9b749
/solutions_python/Problem_116/1171.py
fbe4a49e751c83434826e0418b4e5ba6c252d680
[]
no_license
dr-dos-ok/Code_Jam_Webscraper
c06fd59870842664cd79c41eb460a09553e1c80a
26a35bf114a3aa30fc4c677ef069d95f41665cc0
refs/heads/master
2020-04-06T08:17:40.938460
2018-10-14T10:12:47
2018-10-14T10:12:47
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,837
py
#!/usr/bin/env python T = long(raw_input()) #number of real tests for t in range(1,T+1): A = [] for i in range(4): x = raw_input() A.append([q for q in x]) x = raw_input() #get rid of trailing blank line out = "" dotcnt = 0 #we have the board now...
[ "miliar1732@gmail.com" ]
miliar1732@gmail.com
c1f31c8430d43e31a6eef4e68c76c7800e5e01cd
8e246e74d91565f8040f7dffcfc43e8e72c56285
/pixiedust/utils/dataFrameAdapter.py
f1393bd6b45c532667676e739348a2ab5e8f891f
[ "Apache-2.0" ]
permissive
EldritchJS/pixiedust
706728e034be6281320a1d927d2acb74c3c20dc5
5eea4a7f061fa6278e7d21db2df18accf48c1d5e
refs/heads/master
2021-01-21T20:29:27.262716
2017-05-24T02:30:29
2017-05-24T02:30:29
92,239,313
0
0
null
2017-05-24T02:05:31
2017-05-24T02:05:31
null
UTF-8
Python
false
false
5,093
py
# ------------------------------------------------------------------------------- # Copyright IBM Corp. 2017 # # 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/licens...
[ "david_taieb@us.ibm.com" ]
david_taieb@us.ibm.com
34f18b43569133bf9e8e85b99fd90377e982c9b2
fa346a2d5886420e22707a7be03599e634b230a9
/temboo/Library/Facebook/Publishing/PublishNote.py
5cb13e2c67897b548f536ca97016a58a44a8c195
[]
no_license
elihuvillaraus/entity-resolution
cebf937499ed270c3436b1dd25ab4aef687adc11
71dd49118a6e11b236861289dcf36436d31f06bc
refs/heads/master
2021-12-02T17:29:11.864065
2014-01-08T04:29:30
2014-01-08T04:29:30
null
0
0
null
null
null
null
UTF-8
Python
false
false
3,634
py
# -*- coding: utf-8 -*- ############################################################################### # # PublishNote # Publishes a note on a given profile. # # Python version 2.6 # ############################################################################### from temboo.core.choreography import Choreography from...
[ "cedric.warny@gmail.com" ]
cedric.warny@gmail.com
b4724b82e389ae6ab9ab29dfe11c7ad6f6d3f090
ea4e262f3dc18a089895fef08bedefc60b66e373
/unsupervised_learning/0x04-autoencoders/3-variational.py
e87abd498de0857be678fa67f68543ab58e9abff
[]
no_license
d1sd41n/holbertonschool-machine_learning
777899d4914e315883ba0c887d891c0c8ab01c8a
5f86dee95f4d1c32014d0d74a368f342ff3ce6f7
refs/heads/main
2023-07-17T09:22:36.257702
2021-08-27T03:44:24
2021-08-27T03:44:24
317,399,917
0
0
null
null
null
null
UTF-8
Python
false
false
2,502
py
#!/usr/bin/env python3 """[summary] Returns: [type]: [description] """ import tensorflow.keras as keras def autoencoder(input_dims, hidden_layers, latent_dims): """[summary] Args: input_dims ([type]): [description] hidden_layers ([type]): [description] latent_dims ([type]): [desc...
[ "1498@holbertonschool.com" ]
1498@holbertonschool.com
59916d167f39c2a441b8c66f11211e9e2010d2c8
60cdd2f763e8ebd19eae1392a1533ce889123ba2
/main.py
10661e422cb540c411bf2c3e0779cff557d333e9
[]
no_license
shohei/logic_analyzer
79fd7d88be421cac7989369ef640e51e548b9f1a
2d662d9e81aacd1c81b0a5d389c891b7ebbca466
refs/heads/master
2020-05-21T10:11:58.469328
2017-04-05T14:03:42
2017-04-05T14:03:42
69,441,097
1
0
null
null
null
null
UTF-8
Python
false
false
5,718
py
#!/usr/bin/env python #-*- coding: utf-8 -*- from ctypes import * from numpy import * from dwfconstants import * import math import sys import matplotlib.pyplot as plt import pdb from decoder import decodemap if __name__=="__main__": f = open("record.csv", "w") if sys.platform.st...
[ "shoaok@gmail.com" ]
shoaok@gmail.com
83022f241ae32a26138b5364a2a014ca419a787f
84a96dbd96e926ebb5c658e3cb897db276c32d6c
/tensorflow/tools/docs/pretty_docs.py
98b5c7a3b397c98742124da5989fbb2e34fe8b9b
[ "Apache-2.0" ]
permissive
MothCreations/gavlanWheels
bc9189092847369ad291d1c7d3f4144dd2239359
01d8a43b45a26afec27b971f686f79c108fe08f9
refs/heads/master
2022-12-06T09:27:49.458800
2020-10-13T21:56:40
2020-10-13T21:56:40
249,206,716
6
5
Apache-2.0
2022-11-21T22:39:47
2020-03-22T14:57:45
C++
UTF-8
Python
false
false
10,101
py
# Lint as: python2, python3 # Copyright 2015 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 # ...
[ "gardener@tensorflow.org" ]
gardener@tensorflow.org
2505e320f99f41f3496e7a095506b46a630e9e81
e1a7d00dbe27403427078c627ccebe1562a6049d
/mercury/plugin/client/activity_window.py
800a6df0ee4cca37dbc125cb1e0e71b51922cb5f
[ "Apache-2.0" ]
permissive
greenlsi/mercury_mso_framework
f24fc167230057bb07b7de5dc9fbb10490293fee
cb425605de3341d27ce43fb326b300cb8ac781f6
refs/heads/master
2023-04-28T02:18:16.362823
2023-04-18T12:03:23
2023-04-18T12:03:23
212,610,400
2
1
Apache-2.0
2023-03-02T14:36:56
2019-10-03T15:12:32
Python
UTF-8
Python
false
false
731
py
from ..common.event_generator import * class SrvActivityWindowGenerator(EventGenerator[None], ABC): pass class ConstantSrvWindowGenerator(SrvActivityWindowGenerator, PeriodicGenerator[None]): def __init__(self, **kwargs): kwargs = {**kwargs, 'period': kwargs['length']} super().__init__(**kwa...
[ "rcardenas.rod@gmail.com" ]
rcardenas.rod@gmail.com
5cb11f9692234a96b5d785b845b15d74b1f63c91
52b6508d4f6f38f068b27c414970aa21460a7b25
/terraform_validator/custom_rules/ManagedPolicyOnUserRule.py
713d17af796bee5e9815401961f5155ef3e1b3c0
[ "MIT" ]
permissive
rubelw/terraform-validator
97698751ed828e54b4257a378c2dd21c5ec9bf24
a9d0335a532acdb4070e5537155b03b34915b73e
refs/heads/master
2020-03-31T04:09:22.435690
2018-10-22T03:24:40
2018-10-22T03:24:40
151,893,251
7
2
null
null
null
null
UTF-8
Python
false
false
1,921
py
from __future__ import absolute_import, division, print_function import inspect import sys from builtins import (str) from terraform_validator.custom_rules.BaseRule import BaseRule def lineno(): """Returns the current line number in our program.""" return str(' - ManagedPolicyOnUserRule - caller: '+str(inspect...
[ "rubelwi@Wills-MacBook-Pro.local" ]
rubelwi@Wills-MacBook-Pro.local
b318fa6c4d7fb0cbd18c7f80899aac561a1d4362
be50b4dd0b5b8c3813b8c3158332b1154fe8fe62
/Backtracking/Python/MaximalString.py
72a24b627e0102f42fd6027473225816f4bd5698
[]
no_license
Zimmermann25/InterviewBit
a8d89e090068d9644e28085625963c8ce75d3dff
6d2138e740bd5ba8eab992d9bf090977e077bfc5
refs/heads/main
2023-03-24T18:12:48.244950
2021-03-24T14:36:48
2021-03-24T14:36:48
350,835,917
0
0
null
null
null
null
UTF-8
Python
false
false
1,179
py
class Solution: # @param A : string # @param B : integer # @return a strings #backtrack naciagany na siłe, w cpp dla ponizszych danych program sie wywala # a tutaj iteracyjnie wszystko git, ale nie zalicza rozwiązania #10343456789765432457689065543876 #10 # w c++ backtracking z k...
[ "noreply@github.com" ]
Zimmermann25.noreply@github.com
4edd0fec655bb06ff52b8a23179b60a8687a9592
e3365bc8fa7da2753c248c2b8a5c5e16aef84d9f
/indices/dictat.py
ff1aad7e5bdcfe0547e68b143e7655fd1b342ebe
[]
no_license
psdh/WhatsintheVector
e8aabacc054a88b4cb25303548980af9a10c12a8
a24168d068d9c69dc7a0fd13f606c080ae82e2a6
refs/heads/master
2021-01-25T10:34:22.651619
2015-09-23T11:54:06
2015-09-23T11:54:06
42,749,205
2
3
null
2015-09-23T11:54:07
2015-09-18T22:06:38
Python
UTF-8
Python
false
false
2,143
py
ii = [('BentJDO2.py', 28), ('CookGHP3.py', 12), ('MarrFDI.py', 3), ('RogePAV2.py', 1), ('CoolWHM2.py', 1), ('GodwWSL2.py', 13), ('ChanWS.py', 2), ('SadlMLP.py', 37), ('WilbRLW.py', 9), ('WilbRLW4.py', 8), ('ProuWCM.py', 2), ('AubePRP2.py', 8), ('CookGHP.py', 12), ('ShawHDE.py', 1), ('MartHSI2.py', 3), ('KembFJ1.py', 1)...
[ "prabhjyotsingh95@gmail.com" ]
prabhjyotsingh95@gmail.com
187c493ffee7eea9d2b9be959e9c3f10767c80e0
b8755b5f0b5a3c1bba1270cc8f20dc172abb0634
/django_data/jobs/forms.py
ac34414120aaf22d30e0ee7da22da786f158b801
[ "Apache-2.0" ]
permissive
AndersonHJB/Django_Leraning
bf44af05b0e604342fd97cb8699385461cbbb965
95c34057f643b234478e72665c6454ebd99cb6cd
refs/heads/main
2023-07-12T02:47:34.289089
2021-08-15T10:17:32
2021-08-15T10:17:32
367,765,444
3
2
null
null
null
null
UTF-8
Python
false
false
405
py
from django.forms import ModelForm from .models import Resume class ResumeForm(ModelForm): class Meta: model = Resume fields = ["username", "city", "phone", "email", "apply_position", "born_address", "gender", "picture", "attachment", "bachelor_school", "master_school", "major", ...
[ "1432803776@qq.com" ]
1432803776@qq.com
dfb51f5c1ad3a8dd2cb83848b9a4e250be99093c
a86ae168b77fa5bfd0b24a871ae2d010af4cc121
/myenv/easyjob/employee/migrations/0005_auto_20180613_1241.py
de71fb456febb3c085d151a2f6dfbb8d7725dbe2
[]
no_license
sujanbajracharya1921/easyjob
15c94636701151bb1b58948d9b17e94ccdfa5b6a
cc9066765517cb0b5f691aeff765dbda69a09870
refs/heads/master
2022-11-08T06:23:27.144778
2019-03-27T15:55:01
2019-03-27T15:55:01
150,414,578
1
2
null
2022-10-29T01:53:57
2018-09-26T11:16:40
Python
UTF-8
Python
false
false
414
py
# -*- coding: utf-8 -*- from __future__ import unicode_literals from django.db import models, migrations class Migration(migrations.Migration): dependencies = [ ('employee', '0004_auto_20180606_1101'), ] operations = [ migrations.AlterField( model_name='skill', n...
[ "you@example.com" ]
you@example.com
9845b324350947ec6c3ec0b9803612d0eee0497a
8f75dae40363144b7ea0eccb1b2fab804ee60711
/tests/integration/goldens/logging/google/cloud/logging_v2/types/logging.py
a4610dd59de0198b036b93249336faa6ed4d9b78
[ "Apache-2.0" ]
permissive
software-dov/gapic-generator-python
a2298c13b02bff87888c2949f4909880c3fa2408
304b30d3b4ec9ccb730251154b10896146a52900
refs/heads/master
2022-06-04T00:14:28.559534
2022-02-28T18:13:26
2022-02-28T18:13:26
191,990,527
0
1
Apache-2.0
2022-01-27T19:35:04
2019-06-14T18:41:06
Python
UTF-8
Python
false
false
21,868
py
# -*- coding: utf-8 -*- # Copyright 2022 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or...
[ "noreply@github.com" ]
software-dov.noreply@github.com
5d53cc8f424a2e4af644b6cfad96ee5e9faf1337
e831c22c8834030c22c54b63034e655e395d4efe
/Array/36-ValidSudoku.py
021ad548ba09cc2b8417a947f7488b2aedd40882
[]
no_license
szhmery/leetcode
a5eb1a393422b21f9fd4304b3bdc4a9db557858c
9fcd1ec0686db45d24e2c52a7987d58c6ef545a0
refs/heads/master
2023-08-16T00:27:56.866626
2021-10-23T07:35:37
2021-10-23T07:35:37
331,875,151
0
0
null
null
null
null
UTF-8
Python
false
false
2,043
py
from typing import List class Solution(): def isValidSudoku(self, board: List[List[str]]) -> bool: rows = [{} for i in range(9)] columns = [{} for i in range(9)] boxes = [{} for i in range(9)] for i in range(9): for j in range(9): num = board[i][j] ...
[ "szhmery@gmail.com" ]
szhmery@gmail.com
d7278abc6eb7faec64da695befeefb216e2a9c29
ed12b604e0626c1393406d3495ef5bbaef136e8a
/Iniciante/Python/exercises from 1000 to 1099/exercise_1017.py
b2aa81cfeb034d2763bee49764fc7b6004986d30
[]
no_license
NikolasMatias/urionlinejudge-exercises
70200edfd2f9fc3889e024dface2579b7531ba65
ca658ee8b2100e2b687c3a081555fa0770b86198
refs/heads/main
2023-09-01T20:33:53.150414
2023-08-21T07:07:32
2023-08-21T07:07:32
361,160,388
0
0
null
null
null
null
UTF-8
Python
false
false
214
py
def calculateLitros(horasViagem, velocidadeMedia): distancia = velocidadeMedia*horasViagem qtdeLitros = distancia / 12.0 print("{:.3f}".format(qtdeLitros)) calculateLitros(int(input()), int(input()))
[ "nikolas.matias500@gmail.com" ]
nikolas.matias500@gmail.com
235f90dbc5a2bfaf134a72fb2b5c6503e62e0fcc
4cc285b0c585241ff4404087e6fbb901195639be
/NeuralNetworkNumbers/venv/Lib/site-packages/sklearn/covariance/_shrunk_covariance.py
38d8f9e44a41fcd0a6b9e914976237455456d8e5
[]
no_license
strazhg/NeuralNetworksPython
815542f4ddbb86e918e657f783158f8c078de514
15038e44a5a6c342336c119cdd2abdeffd84b5b1
refs/heads/main
2023-04-16T18:51:29.602644
2021-04-27T14:46:55
2021-04-27T14:46:55
361,944,482
0
0
null
null
null
null
UTF-8
Python
false
false
130
py
version https://git-lfs.github.com/spec/v1 oid sha256:7eb0d2a7c9800d929396246a06bff3d5f7db239c9aa22020464f240899bb46d2 size 21096
[ "golubstrazh@gmail.com" ]
golubstrazh@gmail.com
0a4ecd1ec7cc3e33c5458bf9b06e84e770f48c95
cad46af6291d48f3b3d7cc4fdf4357cae7243803
/SDscript_Butterworth_GD_edit.py
80e98c5a4e8ae15238fc2d74482d39e3f8ff4589
[]
no_license
gddickinson/flika_scripts
f0977ff8911ba445a38db834a69cd7171c9bacf8
429de8bafc64e7a1e4a9f7828f7db38661cfe6d2
refs/heads/master
2023-06-23T16:24:13.843686
2023-06-15T21:34:59
2023-06-15T21:34:59
173,676,209
0
0
null
null
null
null
UTF-8
Python
false
false
3,065
py
# Instructions: # First, open a window. # Trim the window in time. # Then black level subtract: 90 for LLS, 520 for TIRF. # Set parameters. # Run script. #################################### ### Set post-filter type #### #################################### #postFilterType = 'butterworth' postFilterType = 'savgo...
[ "george.dickinson@gmail.com" ]
george.dickinson@gmail.com
c8f3b5602a77ff20e816318a011523b2773f2071
02a68279e0d04340de4f87f7737b351cd6da1420
/run_auxvae.py
9fbf2250de6204d7cac36c03e1d5a7dc69e55abb
[ "MIT" ]
permissive
lim0606/AdversarialVariationalBayes
ffdbb875bae666f06913503b1bcd417c1b4e948f
93487ca64007c8381e1ed5fc3d131b5da751ba47
refs/heads/master
2020-07-25T16:06:22.420746
2019-09-13T21:32:57
2019-09-13T21:32:57
208,349,706
0
0
MIT
2019-09-13T21:31:01
2019-09-13T21:31:01
null
UTF-8
Python
false
false
4,363
py
import os import scipy.misc import numpy as np import argparse from avb.utils import pp from avb import inputs from avb.auxvae.train import train from avb.auxvae.test import test from avb.decoders import get_decoder from avb.auxvae.models import get_encoder, get_encoder_aux, get_decoder_aux import tensorflow as tf pa...
[ "lars.mescheder@tuebingen.mpg.de" ]
lars.mescheder@tuebingen.mpg.de
a12e92b19c21b0082dfaee4fd0e55de9baa0a579
963b4cf9fe1de845d994d0c8d3c9bb3def326b5b
/SomeProgs/Python Stuff/Coding Assignments/MeanMedianMode.py
227d8e60f3814bd424ed898824903f4285954e58
[]
no_license
lws803/cs1010_A0167
aa727bdf029168238674d84ea6ce9c75905b8971
5759332364909ee1d2eb9c26b0d95d4dc153656f
refs/heads/master
2022-03-13T02:52:26.488846
2019-11-14T20:53:15
2019-11-14T20:53:15
105,607,027
2
2
null
null
null
null
UTF-8
Python
false
false
2,352
py
# Name: Tan Tze Guang # Class: 13S28 # Date: 26 March 2013 # This program finds the mean, median and mode of a list of numbers def mean(List): sums = 0 # A temporary storage for sum of numbers in list for items in range(len(List)): # Sums all numbers in the list sums = sums + items mean_num = sums...
[ "omnikron96@gmail.com" ]
omnikron96@gmail.com
8cbd3d3a3c5c8ba27f17dd965a9dea8c48d53f51
186c04fff4c0ca95c12c3f8a117c7c95ce70b2e4
/spacy/lang/nb/lemmatizer/_adverbs_wordforms.py
1e97bcf4284f088698063e996a88c32ae3ae9a0b
[ "MIT" ]
permissive
IndicoDataSolutions/spaCy
58c9d4bcc854ab278516c050dee8b2b92f528a8c
4e28b5acd702691e5ce64cf7a1f9da4af5a271b5
refs/heads/master
2023-01-01T05:35:35.393944
2022-03-03T19:21:34
2022-03-03T19:21:34
60,737,647
5
2
MIT
2022-12-22T01:57:03
2016-06-08T23:30:42
Python
UTF-8
Python
false
false
21,017
py
# coding: utf8 """ All wordforms are extracted from Norsk Ordbank in Norwegian Bokmål 2005 (CLARINO NB - Språkbanken), Nasjonalbiblioteket, Norway: https://www.nb.no/sprakbanken/show?serial=oai%3Anb.no%3Asbr-5&lang=en License: Creative_Commons-BY (CC-BY) (https://creativecommons.org/licenses/by/4.0/) """ from __future...
[ "ines@ines.io" ]
ines@ines.io
7d2c62c8741ade915952b7fbf0f4c30ee5fa5b0f
ce90676fd0867aced31b86cb6b05db1b5f0f3828
/random/tst234.py
cac1d82fe7ef0ebacd1700f1777d040e9c14b528
[]
no_license
KoliosterNikolayIliev/Python_101_NI_Solutions
9733c1e10967468fe48fc752532bcefacdebcfa9
2b878796bbdeff33590036560c0188c72f8fdb3f
refs/heads/main
2023-08-11T01:08:19.482456
2021-10-03T17:33:32
2021-10-03T17:33:32
369,302,482
0
0
null
null
null
null
UTF-8
Python
false
false
4,351
py
import requests import uuid headers = {'Authorization': 'Token 201ad808f1e2dd3136777f56db2568a08fbfc219'} # returns json of all banks in the given country def get_banks_by_country(country): response = requests.get(f'https://ob.nordigen.com/api/aspsps/?country={country}', headers=headers) return response.json...
[ "65191727+KoliosterNikolayIliev@users.noreply.github.com" ]
65191727+KoliosterNikolayIliev@users.noreply.github.com
0e508934c548e7e866977dbb13a82672b6180f94
024316d7672c7c2b2c558003c586df5116c73731
/wavesynlib/fileutils/__init__.py
a476a38b6e9e90ed2515e926198448c35366f8d1
[]
no_license
kaizhongkaizhong/WaveSyn
c305b03e44a961892a792a49601f625a90ae4f70
b7918af5f66dba8c0d63cbb986465febe075cec2
refs/heads/master
2023-04-23T00:20:44.134876
2021-05-03T07:43:10
2021-05-03T07:43:10
null
0
0
null
null
null
null
UTF-8
Python
false
false
369
py
# -*- coding: utf-8 -*- """ Created on Sun Aug 28 00:38:46 2016 @author: Feng-cong Li """ import os from os.path import dirname, join import hy try: from wavesynlib.fileutils.hyutils import * except hy.errors.HyCompilerError: utils_path = join(dirname(__file__), 'hyutils.hy') os.system(f'hyc {utils_path}'...
[ "xialulee@live.cn" ]
xialulee@live.cn
f27d0a091eba208fe96474ee4959effa93451745
a85ce270c8c67ab8a8c1bea577c4f8a0a054f8bf
/.venv/bin/jupyter-nbconvert
b7eb233280e1039b38407259910ad9d30b5b112b
[]
no_license
MohammedGhafri/data_visualization
afe2496100a5d204dcae3a8dd13bea51fe8f3c7c
c10c5dd8d1c687c5cf1f402b48178a3413c5abe1
refs/heads/master
2022-12-10T16:55:16.629174
2020-09-02T19:39:33
2020-09-02T19:39:33
292,341,273
0
0
null
2020-09-02T19:39:34
2020-09-02T16:52:04
Python
UTF-8
Python
false
false
254
#!/home/ghafri/data_visualization/.venv/bin/python3 # -*- coding: utf-8 -*- import re import sys from nbconvert.nbconvertapp import main if __name__ == '__main__': sys.argv[0] = re.sub(r'(-script\.pyw|\.exe)?$', '', sys.argv[0]) sys.exit(main())
[ "eng.m.ghafri@gmail.com" ]
eng.m.ghafri@gmail.com
e239870c1886ba30562c9a92b0c9771ad29f59c4
76f4c947d5259bd8b3060fdb559b98720c670cae
/django_custom_user_model/django_custom_user_model/settings.py
ad8915fcc0ed18c9e600b175190cc90aab81ea63
[ "MIT" ]
permissive
zkan/django-custom-user-model
49de78f25af6c9324313aeea067a361778b5b225
3cb5937444b2c7a4f9f8a30621e8f2ed680dca1f
refs/heads/master
2020-03-22T04:51:03.362817
2018-07-03T07:29:27
2018-07-03T07:29:27
139,525,231
0
0
null
null
null
null
UTF-8
Python
false
false
3,142
py
""" Django settings for django_custom_user_model project. Generated by 'django-admin startproject' using Django 2.0.7. For more information on this file, see https://docs.djangoproject.com/en/2.0/topics/settings/ For the full list of settings and their values, see https://docs.djangoproject.com/en/2.0/ref/settings/ ...
[ "kan@prontomarketing.com" ]
kan@prontomarketing.com
abeffd04fd1e1951cd2f585cfac2f1bbae933fdc
f8c3c677ba536fbf5a37ac4343c1f3f3acd4d9b6
/ICA_SDK/ICA_SDK/models/object_store_access.py
2ed6681b5101d31413bd507ed8012a758430dcd6
[]
no_license
jsialar/integrated_IAP_SDK
5e6999b0a9beabe4dfc4f2b6c8b0f45b1b2f33eb
c9ff7685ef0a27dc4af512adcff914f55ead0edd
refs/heads/main
2023-08-25T04:16:27.219027
2021-10-26T16:06:09
2021-10-26T16:06:09
null
0
0
null
null
null
null
UTF-8
Python
false
false
5,883
py
# coding: utf-8 """ IAP Services No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 The version of the OpenAPI document: v1 Generated by: https://openapi-generator.tech """ import pprint import re # noqa: F401 import six from ...
[ "siajunren@gmail.com" ]
siajunren@gmail.com
c066233bb8db9f3c120392b1b16cc9ce30cc4375
fa5c0d0bc7dc3a18be3350f1b7da2068e0362afb
/duanping/save.py
0f13959f99a200b0783a794d2a1b570a9305f1a4
[]
no_license
earthloong/Douban_spiders
f2f1a368e97364456b226b0382817768248fabfc
58af80e7a84d5ab970822c1ae68fbd6772e03084
refs/heads/master
2020-04-28T16:25:34.778998
2019-02-02T04:02:17
2019-02-02T04:02:17
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,491
py
# -*- coding: utf-8 -*- # 此程序用来抓取 的数据 import os import csv import json import sys from save_data import database class Spider(object): def __init__(self): self.db = database() def get_data(self): # 获取数据 results = [] paths = os.listdir(os.getcwd()) for path in paths: if 'data_DB.csv' in path: with...
[ "492741071@qq.com" ]
492741071@qq.com
59e14cb31e210da2525806ce609826785c4b60fd
f47d52330c2f53e8bc3086c23854d3022b802866
/split_coco.py
dc773dd40c59242d23e4433ffcdf34a4a8f41edf
[]
no_license
Qidian213/GigaVersion
45dd31d8209d79e3b77a891a19cd6c2bbb5e2683
2244e3a60be800b7fbe1fde28fb10be51890ce0a
refs/heads/main
2023-06-30T18:16:23.232348
2021-08-02T01:08:01
2021-08-02T01:08:01
391,779,746
0
0
null
null
null
null
UTF-8
Python
false
false
1,910
py
import pycocotools.coco as coco import json import numpy as np import cv2 import shutil import random train_val_list = json.load(open('train_val.json', 'r')) train_list = train_val_list['train'] val_list = train_val_list['val'] train_images_coco =[] train_annotations =[] val_images_coco =[] val_annotations =[] ...
[ "xhx1247786632@gmail.com" ]
xhx1247786632@gmail.com
c8666866110c40d9d6ea8c980dfedb9f87daa040
0444918f75705bdfa177b45fdf8b903c6b63ab88
/examples/dymoscale_simpletest.py
c9808bdccd88959f6205aae602a08224eb1f3e49
[ "MIT" ]
permissive
ntoll/Adafruit_CircuitPython_DymoScale
80785aba4a67a5ab5e533b75d05c968a999d0d5e
c57e45659650bf4ffb2b33eaea7dc462f6c63cbf
refs/heads/master
2020-07-17T16:26:21.503499
2019-09-03T10:48:55
2019-09-03T10:48:55
206,054,402
0
0
MIT
2019-09-03T10:47:33
2019-09-03T10:47:33
null
UTF-8
Python
false
false
639
py
import time import board import digitalio import adafruit_dymoscale # initialize the dymo scale units_pin = digitalio.DigitalInOut(board.D3) units_pin.switch_to_output() dymo = adafruit_dymoscale.DYMOScale(board.D4, units_pin) # take a reading of the current time time_stamp = time.monotonic() while True: reading...
[ "robots199@me.com" ]
robots199@me.com
68002fbdfd606d9c99b4eaa029b17e29c4aed4f9
5f404180423f854df798ea907fd13094f1eccfae
/tests/test_tutorial_filter.py
14e85a66403ea7c8c5236dd1e7e14af866f9428c
[ "MIT" ]
permissive
sdpython/td3a_cpp
e776bceb65285eca7f9f0400fb5f96cd8bf2393e
1ca08907be03a09bb9cb89b2ca334b1fa5305648
refs/heads/master
2023-05-11T06:18:00.968817
2023-04-30T09:15:14
2023-04-30T09:15:14
226,640,683
1
7
NOASSERTION
2021-10-21T22:46:49
2019-12-08T09:05:21
Cython
UTF-8
Python
false
false
2,262
py
""" Unit tests for ``random_strategy``. """ import unittest import numpy from numpy.testing import assert_equal from td3a_cpp.tutorial.experiment_cython import ( pyfilter_dmax, filter_dmax_cython, filter_dmax_cython_optim, cyfilter_dmax, cfilter_dmax, cfilter_dmax2, cfilter_dmax16, cfilter_dmax4 ) ...
[ "xavier.dupre@gmail.com" ]
xavier.dupre@gmail.com
fe8a4ba65c8e91aefd4f7691f21ea64334745863
dd87194dee537c2291cf0c0de809e2b1bf81b5b2
/k8sclient/models/v1beta1_scale_spec.py
57cf26a08a700d346cc6e98651b1499c8acf638a
[ "Apache-2.0" ]
permissive
Arvinhub/client-python
3ea52640ab02e4bf5677d0fd54fdb4503ecb7768
d67df30f635231d68dc4c20b9b7e234c616c1e6a
refs/heads/master
2023-08-31T03:25:57.823810
2016-11-02T22:44:36
2016-11-02T22:44:36
73,865,578
1
0
Apache-2.0
2018-10-10T12:16:45
2016-11-15T23:47:17
Python
UTF-8
Python
false
false
3,582
py
# coding: utf-8 """ Kubernetes No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) OpenAPI spec version: unversioned Generated by: https://github.com/swagger-api/swagger-codegen.git Licensed under the Apache License, Version 2.0 (the "Licens...
[ "mehdy@google.com" ]
mehdy@google.com
a3717d40f9bcfd31bd41b77ef503e38bca83308a
4e26d797d72678a1c14ee59522964013eef3d551
/usuarios/admin.py
2517a9a6bcbd0522246cf577f8e40c0106d80d1a
[]
no_license
GomesMilla/SistemaDeControle
3def1f47793b28317b2462dc61098145c6329588
b9e2aad12bfaa8858ea45aa9adfc3c0f879a45e8
refs/heads/main
2023-03-15T05:25:23.606211
2021-03-23T19:19:10
2021-03-23T19:19:10
null
0
0
null
null
null
null
UTF-8
Python
false
false
130
py
from django.contrib import admin from usuarios.models import Usuario admin.site.register(Usuario) # Register your models here.
[ "camila.adriana.gomes@outlook.com" ]
camila.adriana.gomes@outlook.com
375e994b7829514a5c1fcb79ec62436a0367d65f
e0b50a8ff40097b9896ad69d098cbbbbe4728531
/dcmanager/api/app.py
fca85673325aade81b61debc60690625e0a23c64
[ "Apache-2.0" ]
permissive
aleks-kozyrev/stx-distcloud
ccdd5c76dd358b8aa108c524138731aa2b0c8a53
a4cebb85c45c8c5f1f0251fbdc436c461092171c
refs/heads/master
2020-03-27T11:11:09.348241
2018-08-27T14:33:50
2018-08-27T14:33:50
146,470,708
0
0
Apache-2.0
2018-08-28T15:47:12
2018-08-28T15:47:08
Python
UTF-8
Python
false
false
2,808
py
# Copyright (c) 2015 Huawei, Tech. Co,. Ltd. # 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 # # Unle...
[ "scott.little@windriver.com" ]
scott.little@windriver.com
b6a06559fa2bd1acd77a3728d501f4b66cbc9581
63f0ca44a91c1c4eed7eb2b255b9431c54ad931e
/util/metrics/entropy.py
a09dd152fb755a60dc8efe0ca5afff6e560f74df
[ "Apache-2.0" ]
permissive
jamesoneill12/LayerFusion
e4685e2a54467d6c4dc02022b97af5da2c429aa7
99cba1030ed8c012a453bc7715830fc99fb980dc
refs/heads/main
2023-08-18T04:45:16.662884
2021-09-26T18:12:48
2021-09-26T18:12:48
410,594,160
2
1
null
null
null
null
UTF-8
Python
false
false
21,980
py
# -*- coding: utf-8 -*- import os import sys from scipy import stats import torch from torch import nn import scipy.spatial as ss from scipy.special import digamma from math import log import numpy as np import random import warnings sys.path.insert(0, os.path.abspath(os.path.join(os.path.dirname(__file__), '../..'))...
[ "james.oneill@insight-centre.org" ]
james.oneill@insight-centre.org
54256491ebbf1cf309cd445c078bf5fcd3c63642
32809f6f425bf5665fc19de2bc929bacc3eeb469
/src/0278-First-Bad-Version/0278.py
ab08d44570fbedd547f7a90eca4cb6bba6e4ad05
[]
no_license
luliyucoordinate/Leetcode
9f6bf01f79aa680e2dff11e73e4d10993467f113
bcc04d49969654cb44f79218a7ef2fd5c1e5449a
refs/heads/master
2023-05-25T04:58:45.046772
2023-05-24T11:57:20
2023-05-24T11:57:20
132,753,892
1,575
569
null
2023-05-24T11:57:22
2018-05-09T12:30:59
C++
UTF-8
Python
false
false
307
py
class Solution: def firstBadVersion(self, n): """ :type n: int :rtype: int """ l, r = 0, n while l < r: mid = (l + r) >> 1 if isBadVersion(mid): r = mid else: l = mid + 1 return l
[ "luliyucoordinate@outlook.com" ]
luliyucoordinate@outlook.com
9f0de9c4bfa3b96834d1c14d7260d39cedcaddd5
391decb17414b32941bf43380de4d1474334c29c
/.history/Function_Login_20210907201238.py
18e67d522775604c3f0cbd51e45425cce2f964bc
[]
no_license
leonardin999/Restaurant-Management-Systems-GUI-RMS-
b17cf910ce0955b370ab51d00d161f96a2fb5ccd
531726a378ced78de079bfffb68a0a304cfbc328
refs/heads/main
2023-08-12T09:21:46.196684
2021-09-08T14:58:48
2021-09-08T14:58:48
403,201,841
1
0
null
null
null
null
UTF-8
Python
false
false
1,836
py
################################################################################ ## ## BY: PHUNG HUNG BINH ## This project can be used freely for all uses, as long as they maintain the ## respective credits only in the Python scripts, any information in the visual ## interface (GUI) can be modified without any implicat...
[ "89053434+leonardin999@users.noreply.github.com" ]
89053434+leonardin999@users.noreply.github.com
b5b4b09ec0510470ba447b1e2cd4ec172a5f9bf3
ec551303265c269bf1855fe1a30fdffe9bc894b6
/old/t20191017_intersection/intersection.py
c3a5a88436acc04574efeb610a63177c156cb504
[]
no_license
GongFuXiong/leetcode
27dbda7a5ced630ae2ae65e19d418ebbc65ae167
f831fd9603592ae5bee3679924f962a3ebce381c
refs/heads/master
2023-06-25T01:05:45.683510
2021-07-26T10:05:25
2021-07-26T10:05:25
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,313
py
#!/usr/bin/env python # encoding: utf-8 ''' @author: KM @license: (C) Copyright 2013-2017, Node Supply Chain Manager Corporation Limited. @contact: yangkm601@gmail.com @software: garner @time: 2019/10/17 @url:https://leetcode-cn.com/problems/intersection-of-two-arrays/ @desc: 349. 两个数组的交集 给定两个数组,编写一个函数来计算...
[ "958747457@qq.com" ]
958747457@qq.com
93ba99df83854bff81939b53cfb7f0437fc17b99
baf6e86a56c91e347959ce85c6596a50efc5529c
/srcSklcls/getEvent.py
5e67ee5dbed33355659a731239813cfbee546ef4
[]
no_license
qolina/ialp17-fred
0e43385e739bb9e1dff023be14fd155dc7749581
9d8580fae9bdbd477f3ad4094072bb8f4db5df74
refs/heads/master
2021-09-08T01:48:50.001632
2018-03-05T15:32:57
2018-03-05T15:32:57
108,222,907
1
0
null
null
null
null
UTF-8
Python
false
false
13,690
py
#! /usr/bin/env python #coding=utf-8 import time import re import os import sys import math import cPickle from getEventSegPair import * class Event: def __init__(self, eventId): self.eventId = eventId def updateEvent(self, nodeHash, edgeHash): self.nodeHash = nodeHash ...
[ "qolina@gmail.com" ]
qolina@gmail.com
f0b58de91c55f71530c50df047a31bbb1fe13f48
7de954bcc14cce38758463f0b160c3c1c0f7df3f
/cmsplugin_cascade/cms_plugins.py
5910ca915a921223057b73e18cdafecb596be46f
[ "MIT" ]
permissive
pmutale/djangocms-cascade
c66210a0afad0d2783c2904732972fb8890d7614
066b8a1ca97d3afd8b79968a7f5af506a265095c
refs/heads/master
2022-10-28T12:34:18.610777
2015-08-21T20:58:03
2015-08-21T20:58:03
41,476,721
0
0
MIT
2022-10-23T19:43:13
2015-08-27T09:05:23
Python
UTF-8
Python
false
false
1,098
py
# -*- coding: utf-8 -*- from __future__ import unicode_literals from django.core.exceptions import ImproperlyConfigured from django.utils.importlib import import_module from .settings import CASCADE_PLUGINS for module in CASCADE_PLUGINS: try: # if a module was specified, load all plugins in module setting...
[ "jacob.rief@gmail.com" ]
jacob.rief@gmail.com
a36a97b7755caecb44009eb13acd970f356a1e1d
b5ef3b9da130f604f111bd469128b73e78d6ba9d
/bt5/erp5_crm/SkinTemplateItem/portal_skins/erp5_crm/Event_setTextContentFromNotificationMessage.py
f1a3d8ee8cc3c8743764af664b9b86970b517a98
[]
no_license
soediro/erp5
154bb2057c4cd12c14018c1ab2a09a78b2d2386a
3d1a8811007a363b7a43df4b295b5e0965c2d125
refs/heads/master
2021-01-11T00:31:05.445267
2016-10-05T09:28:05
2016-10-07T02:59:00
70,526,968
1
0
null
2016-10-10T20:40:41
2016-10-10T20:40:40
null
UTF-8
Python
false
false
1,330
py
portal = context.getPortalObject() if not language: language = context.getLanguage() if not language: language = portal.portal_preferences.getPreferredCustomerRelationLanguage() notification_message = portal.portal_notifications.getDocumentValue( language=language, ...
[ "georgios.dagkakis@nexedi.com" ]
georgios.dagkakis@nexedi.com
a0dd12ad29f566a0c62075e3ac57d306a8d68e30
b5811a11a7d22414a5690a681cdbb6ab95e08e06
/backend/employee/admin.py
bed287a77df0de1ac2ec6fccebbe4036c36d5f07
[]
no_license
kausko/PULSE-X
fa2d2fe913c0d091d807b245d4946922536c699c
88a89d3fcd20289679e3b68aa36561b24ae9ea4e
refs/heads/master
2023-05-09T12:47:44.860620
2021-04-21T14:07:43
2021-04-21T14:07:43
303,328,807
0
0
null
2021-06-05T00:10:07
2020-10-12T08:37:08
Jupyter Notebook
UTF-8
Python
false
false
272
py
from django.contrib import admin from .models import Review @admin.register(Review) class ReviewAdmin(admin.ModelAdmin): list_display = ['user', 'sentiment', 'flag', 'visited', 'sarcasm', 'helpfulness', 'is_twitter', ] list_filter = ['visited', 'is_twitter', ]
[ "tanmaypardeshi@gmail.com" ]
tanmaypardeshi@gmail.com
63c96727ba5c7934d8f0c298575bb0199dc6bd74
5f10ca2439551040b0af336fd7e07dcc935fc77d
/Binary tree/二叉树性质相关题目/110. Balanced Binary Tree.py
b38c2eadc37c9e14c688c3837e5efefee9db1c50
[]
no_license
catdog001/leetcode2.0
2715797a303907188943bf735320e976d574f11f
d7c96cd9a1baa543f9dab28750be96c3ac4dc731
refs/heads/master
2021-06-02T10:33:41.552786
2020-04-08T04:18:04
2020-04-08T04:18:04
null
0
0
null
null
null
null
UTF-8
Python
false
false
6,477
py
# -*- coding: utf-8 -*- # @Time : 2/11/2020 8:28 PM # @Author : LI Dongdong # @FileName: 110. Balanced Binary Tree.py '''''' ''' 题目分析 1.要求:Given a binary tree, determine if it is height-balanced. For this problem, a height-balanced binary tree is defined as: a binary tree in which the left and right subtree...
[ "lidongdongbuaa@gmail.com" ]
lidongdongbuaa@gmail.com
1289da36f9af10997b469d227d42e7e76c5f609a
52b5773617a1b972a905de4d692540d26ff74926
/.history/insert_20200610210502.py
c8dce3ee0bda5a8dea0ebbfa3dee6e32c5927854
[]
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
582
py
# nums is a list # find where n is to be inserted # soo,you loop through the array # the array is sorted # to know the position you should check whethere n is greater than nums[i] # continue the loop as you check def Insert(nums,n): i = 0 while i < len(nums): if n != nums[i]: if n > nu...
[ "mary.jereh@gmail.com" ]
mary.jereh@gmail.com
00b249fc818e6a25ba0fe40b06a35ccf0a5fb550
237162607427106ae9564670d47427a62356861f
/core/migrations/0141_planitem_realize_every_time.py
46c28c415ce382c8aa4bb459be31cda393ee0fd7
[]
no_license
pitipund/basecore
8648c1f4fa37b6e6075fd710ca422fe159ba930e
a0c20cec1e17dd0eb6abcaaa7d2623e38b60318b
refs/heads/master
2020-09-13T20:16:02.622903
2019-11-20T09:07:15
2019-11-20T09:07:15
221,885,342
0
0
null
null
null
null
UTF-8
Python
false
false
456
py
# -*- coding: utf-8 -*- # Generated by Django 1.11.3 on 2018-06-07 18:11 from __future__ import unicode_literals from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('core', '0140_doctorgroup'), ] operations = [ migrations.AddField( ...
[ "longman_694@hotmail.com" ]
longman_694@hotmail.com
3c1ab0bac6360d881bc4117a080e38bb0d5ced9e
19d1a808c9bb3dfcbd4a5b852962e6f19d18f112
/python/multiprocessing_lock.py
eeaf149caf3dc777cc922aeada80352bfebff0f6
[]
no_license
dataAlgorithms/data
7e3aab011a9a2442c6d3d54d8d4bfd4d1ce0a6d3
49c95a0e0d0c23d63be2ef095afff76e55d80f5d
refs/heads/master
2020-04-15T12:45:34.734363
2018-04-21T10:23:48
2018-04-21T10:23:48
61,755,627
1
0
null
null
null
null
UTF-8
Python
false
false
613
py
from multiprocessing import Process, Lock def worker_with(lock, f): with lock: fs = open(f, "a+") fs.write("Lock acquired via with\n") fs.close() def worker_no_with(lock, f): lock.acquire() try: fs = open(f, "a+") fs.write("Lock acquired directly\n") ...
[ "noreply@github.com" ]
dataAlgorithms.noreply@github.com
fbdf99d5569a466f8d2cc4657e6077b12baf4099
97884252481ff208519194ecd63dc3a79c250220
/pyobs/events/roofopened.py
35b412ca265e434dcd39f53c97dcd70ec21adcbf
[ "MIT" ]
permissive
pyobs/pyobs-core
a1f30137d7f991bad4e115de38f543e59a6e30d2
2d7a06e5485b61b6ca7e51d99b08651ea6021086
refs/heads/master
2023-09-01T20:49:07.610730
2023-08-29T09:20:05
2023-08-29T09:20:05
174,351,157
9
3
NOASSERTION
2023-09-14T20:39:48
2019-03-07T13:41:27
Python
UTF-8
Python
false
false
185
py
from .event import Event class RoofOpenedEvent(Event): """Event to be sent when the roof has finished opening.""" __module__ = "pyobs.events" __all__ = ["RoofOpenedEvent"]
[ "thusser@uni-goettingen.de" ]
thusser@uni-goettingen.de
f46b2f2104443a678e0c17cc4637eb0196ada70d
24cce1ec7737f9ebb6df3e317a36c0a0329ec664
/HZMX/amazon_api/test/cs.py
f11fa5cfe2aaec1f3ac126b2c6af0d554b90c6c6
[]
no_license
tate11/HangZhouMinXing
ab261cb347f317f9bc4a77a145797745e2531029
14b7d34af635db015bd3f2c139be1ae6562792f9
refs/heads/master
2021-04-12T04:23:20.165503
2018-03-14T05:02:05
2018-03-14T05:02:05
125,855,729
1
0
null
2018-03-19T12:42:07
2018-03-19T12:42:07
null
UTF-8
Python
false
false
135
py
# -*- coding:utf-8 -*- import re from lxml import etree import requests import copy print u'共%d个产品,已创建%d个' % (1, 2)
[ "1121403085" ]
1121403085
62febde352acd9a829c1333257e2334a366cc431
bae75bf1de75fb1b76e19b0d32c778e566de570a
/smodels/docs/manual/source/recipes/inputFiles/scanExample/smodels-output/100338791.slha.py
a1a1d99d5e480d827a67ed6cf36f55d17aaef125
[]
no_license
andlessa/RDM
78ae5cbadda1875c24e1bb726096b05c61627249
ac6b242871894fee492e089d378806c2c2e7aad8
refs/heads/master
2023-08-16T00:47:14.415434
2021-09-21T20:54:25
2021-09-21T20:54:25
228,639,778
0
0
null
null
null
null
UTF-8
Python
false
false
4,221
py
smodelsOutput = {'OutputStatus': {'sigmacut': 0.01, 'minmassgap': 5.0, 'maxcond': 0.2, 'ncpus': 1, 'file status': 1, 'decomposition status': 1, 'warnings': 'Input file ok', 'input file': 'inputFiles/scanExample/slha/100338791.slha', 'database version': '1.2.0', 'smodels version': '1.2.0rc'}, 'ExptRes': [{'maxcond': 0.0...
[ "lessa.a.p@gmail.com" ]
lessa.a.p@gmail.com
b78fb673d40631f1eb4b0d2635d17b5e2ad390eb
05032af4b4c522d4c3ee2d70e61ee1f30fa6abf3
/12_Accepting_user_inputs_GUI.py
288d5c19d7bd0aa4d05cdaf185b16feaa5489bf8
[]
no_license
tayyabmalik4/python_GUI
c2db4bd6b4f2a153e5bced69073b17240126e7d0
608a7e43e17a27b90239a2ebae3338ce52d7b20d
refs/heads/main
2023-07-28T01:31:41.840077
2021-09-11T17:45:23
2021-09-11T17:45:23
404,079,376
0
0
null
null
null
null
UTF-8
Python
false
false
2,022
py
# (12)*************************Accepting User Inputs in new text file in tkinter form************************** from tkinter import * root = Tk() root.geometry("644x344") def getvals(): print(f"{namevalue.get(),phonevalue.get(),gendervalue.get(),contactvalue.get(),paymentvalue.get(),foodservicevalue.get()}") ...
[ "mtayyabmalik99@gmail.com" ]
mtayyabmalik99@gmail.com
fc29b47a813bb30aeb84be26305c0dd6d6477bca
e23a4f57ce5474d468258e5e63b9e23fb6011188
/125_algorithms/_exercises/templates/Python_Hand-on_Solve_200_Problems/Section 17 Recursion/sum_of_list_solution.py
d50c69d3d31130293893aaab17cbfa9b1112274f
[]
no_license
syurskyi/Python_Topics
52851ecce000cb751a3b986408efe32f0b4c0835
be331826b490b73f0a176e6abed86ef68ff2dd2b
refs/heads/master
2023-06-08T19:29:16.214395
2023-05-29T17:09:11
2023-05-29T17:09:11
220,583,118
3
2
null
2023-02-16T03:08:10
2019-11-09T02:58:47
Python
UTF-8
Python
false
false
320
py
# # To add a new cell, type '# %%' # # To add a new markdown cell, type '# %% [markdown]' # # %% # # Write a Python program to calculate the sum of a list of numbers. (in recursion fashion) # # ___ list_sum num_List # __ le. ? __ 1 # r_ ? 0 # ____ # r_ ? 0 + ? ? 1| # # print ? 2, 4, 5, 6, 7 # #
[ "sergejyurskyj@yahoo.com" ]
sergejyurskyj@yahoo.com