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
a01bf4fdb740165c86936ed2d5025cd058dd3f36
96d284595c07bf3eb135f88a1a1e5fd2692293dc
/labml_db/serializer/yaml.py
f0afb684e1e52fd58864477a7b5da669068d9e55
[ "MIT" ]
permissive
actuarial-tools/db
cfc3be5b027fe8127032ccecf64a295a83601eba
f6be48f8c724bf76fc6dc966cb4e13bd6501e911
refs/heads/master
2023-01-13T19:21:49.783395
2020-11-24T03:26:13
2020-11-24T03:26:13
null
0
0
null
null
null
null
UTF-8
Python
false
false
444
py
from . import Serializer from .utils import encode_keys, decode_keys from ..types import ModelDict class YamlSerializer(Serializer): file_extension = 'yaml' def to_string(self, data: ModelDict) -> str: import yaml return yaml.dump(encode_keys(data), default_flow_style=False) def from_st...
[ "vpjayasiri@gmail.com" ]
vpjayasiri@gmail.com
6ee2ef466ca99a5b08c1d0f40939839443d1d676
907b3bbd44c95be1542a36feaadb6a71b724579f
/files/usr/tmp/pip-build-nyxh8e0k/google-cloud-storage/google/cloud/storage/blob.py
b409bc29afcdb29eb12aa0545a8fbc45bb46f2c6
[]
no_license
vo0doO/com.termux
2d8f536c1a5dbd7a091be0baf181e51f235fb941
c97dd7b906e5ef3ec157581fd0bcadd3e3fc220e
refs/heads/master
2020-12-24T09:40:30.612130
2016-11-21T07:47:25
2016-11-21T07:47:25
73,282,539
2
2
null
2020-07-24T21:33:03
2016-11-09T12:33:01
Python
UTF-8
Python
false
false
38,452
py
# Copyright 2014 Google 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 writing, ...
[ "kirsanov.bvt@gmail.com" ]
kirsanov.bvt@gmail.com
b6540baaefcf2ad5c0dc65ec15d031a6d31b70a0
ec1059f4ccea10deb2cb8fd7f9458700a5e6ca4c
/venv/Lib/site-packages/qiskit/test/mock/backends/cambridge/fake_cambridge.py
9391cbac2bdaa8760fd1c54ad790775b685e29f5
[ "Apache-2.0", "MIT" ]
permissive
shivam675/Quantum-CERN
b60c697a3a7ad836b3653ee9ce3875a6eafae3ba
ce02d9198d9f5a1aa828482fea9b213a725b56bb
refs/heads/main
2023-01-06T20:07:15.994294
2020-11-13T10:01:38
2020-11-13T10:01:38
330,435,191
1
0
MIT
2021-01-17T16:29:26
2021-01-17T16:29:25
null
UTF-8
Python
false
false
2,107
py
# This code is part of Qiskit. # # (C) Copyright IBM 2019. # # This code is licensed under the Apache License, Version 2.0. You may # obtain a copy of this license in the LICENSE.txt file in the root directory # of this source tree or at http://www.apache.org/licenses/LICENSE-2.0. # # Any modifications or derivative wo...
[ "vinfinitysailor@gmail.com" ]
vinfinitysailor@gmail.com
3484100f82f3f01cf5341d95128ee9886dc4357f
15f321878face2af9317363c5f6de1e5ddd9b749
/solutions_python/Problem_199/3642.py
933226fea834fae98b48a12ad1623499f69186ae
[]
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
731
py
import sys def func(arr, w): s = [0]*len(arr) sum = ans = 0 for i in range(len(arr)): s[i] += (arr[i]+sum)%2 != 1 sum += s[i]- (s[i-w+1] if (i>= w-1) else 0) ans += s[i] if(i > len(arr)-w and s[i] != 0): return 'IMPOSSIBLE' return str(ans) ...
[ "miliar1732@gmail.com" ]
miliar1732@gmail.com
3ae157fbdde69ca5497d9b5eae0d633b914024c0
d115cf7a1b374d857f6b094d4b4ccd8e9b1ac189
/pyplusplus_dev/pyplusplus/creators_factory/types_database.py
50a37df35aa71405c160cd1912c6385cde48b2e0
[ "BSL-1.0" ]
permissive
gatoatigrado/pyplusplusclone
30af9065fb6ac3dcce527c79ed5151aade6a742f
a64dc9aeeb718b2f30bd6a5ff8dcd8bfb1cd2ede
refs/heads/master
2016-09-05T23:32:08.595261
2010-05-16T10:53:45
2010-05-16T10:53:45
700,369
4
2
null
null
null
null
UTF-8
Python
false
false
8,458
py
# Copyright 2004-2008 Roman Yakovenko. # Distributed under the Boost Software License, Version 1.0. (See # accompanying file LICENSE_1_0.txt or copy at # http://www.boost.org/LICENSE_1_0.txt) from pyplusplus import messages from pygccxml import declarations from pyplusplus import code_creators from pyplusplus ...
[ "roman_yakovenko@dc5859f9-2512-0410-ae5c-dd123cda1f76" ]
roman_yakovenko@dc5859f9-2512-0410-ae5c-dd123cda1f76
547a53c86ba8b4cd0d676928ceea1cd8c29a5eb4
157d46852ea5788f1c7153b3ce10afb71d5a34c5
/setup.py
d80136964004e5a4fc17965a395deeebde568d6d
[]
no_license
rctk/rctk.qx
4475e0e0918df16a1d961a591d5d5d403a59ec23
c1d510b2cd4404b5b9897e18b33c3d5b80813608
refs/heads/master
2020-05-19T13:50:17.871325
2011-09-13T20:16:51
2011-09-13T20:16:51
2,898,626
1
0
null
null
null
null
UTF-8
Python
false
false
881
py
from setuptools import setup, find_packages import os version = '1.0' setup(name='rctk.qx', version=version, description="Qooxdoo frontend for RCTK", long_description=open("README.txt").read() + "\n" + open(os.path.join("docs", "HISTORY.txt")).read(), # Get more strings ...
[ "github@in.m3r.nl" ]
github@in.m3r.nl
a4ab3dfa2ec84f7f290cefd5efc56c798f2baf7b
5fd4707876cac0a4ca3b14af9a936301c45b5599
/03_字典和集合/fp_07_StrKeyDict0在查询的时候把非字符串的键转换为字符串.py
0f65f3920a1e86a92cadfe6eba73b40dbd5364f7
[]
no_license
xuelang201201/FluentPython
5b0d89bfc6ee1238ad77db9955ec7e8417b418b8
7cbedf7c780c2a9e0edac60484f2ad4c385e1dbd
refs/heads/master
2022-04-26T21:49:16.923214
2020-04-27T01:27:50
2020-04-27T01:27:50
258,290,957
0
0
null
null
null
null
UTF-8
Python
false
false
1,297
py
class StrKeyDict0(dict): # StrKeyDict0 继承了 dict。 def __missing__(self, key): if isinstance(key, str): # 如果找不到的键本身就是字符串,那就抛出 KeyError 异常。 raise KeyError(key) return self[str(key)] # 如果找不到的键不是字符串,那么把它转换成字符串再进行查找。 def get(self, key, default=None): try: ...
[ "xuelang201201@gmail.com" ]
xuelang201201@gmail.com
91840a9b9599ca25ad5162852ade91602d46b6a3
9740b4cfc46b924c2e430472ce0522fa35813465
/django_lender/settings.py
87c2c6eaeeae5c3144315c44ebe1535b2a0dd0dd
[ "MIT" ]
permissive
madelinepet/django_lender
d99f176b76d245ebcc0032f3304d677cd7a4fcfe
5c6c342e8306e848e93db31a02efe9ef1299a401
refs/heads/master
2020-03-28T21:48:08.933512
2018-10-03T23:03:01
2018-10-03T23:03:01
149,183,702
0
0
MIT
2018-10-03T23:02:57
2018-09-17T20:26:20
JavaScript
UTF-8
Python
false
false
4,217
py
""" Django settings for django_lender project. Generated by 'django-admin startproject' using Django 2.1.1. For more information on this file, see https://docs.djangoproject.com/en/2.1/topics/settings/ For the full list of settings and their values, see https://docs.djangoproject.com/en/2.1/ref/settings/ """ import...
[ "madelinepet@hotmail.com" ]
madelinepet@hotmail.com
ab7516a56c5ad7146d01832178bc747e367073e6
d6acd0cdfeba9d4777ae897e9edd225e5317d254
/donate_anything/item/migrations/0001_initial.py
03277750c0f3544c629f4322043237e2706ebdaf
[ "LicenseRef-scancode-unknown-license-reference", "Apache-2.0" ]
permissive
fossabot/Donate-Anything
680be213d90888bdf565e22214c1267fa5a8b84c
335ef00f3d8bf76b8827d337b68c5ba0fc99bc64
refs/heads/master
2022-12-06T18:37:01.398381
2020-08-23T02:01:26
2020-08-23T02:01:26
null
0
0
null
null
null
null
UTF-8
Python
false
false
5,315
py
# Generated by Django 3.0.8 on 2020-07-17 23:12 import django.contrib.postgres.fields import django.contrib.postgres.indexes import django.db.models.deletion from django.conf import settings from django.contrib.postgres.operations import TrigramExtension from django.db import migrations, models class Migration(migra...
[ "acwangpython@gmail.com" ]
acwangpython@gmail.com
65024f94ef36f76cc69ae7f6045e4016d5ab2984
71b8b60c5627ace1bbda39f679f93f60b55543ca
/tensorflow_federated/python/common_libs/golden.py
c9ac9996e2e44a95a545046401cfb6d448d6ab15
[ "Apache-2.0" ]
permissive
tensorflow/federated
ff94b63e9f4af448795bae77cee5b627dcae9051
ad4bca66f4b483e09d8396e9948630813a343d27
refs/heads/main
2023-08-31T11:46:28.559047
2023-08-31T02:04:38
2023-08-31T02:09:59
161,556,784
2,297
631
Apache-2.0
2023-09-13T22:54:14
2018-12-12T23:15:35
Python
UTF-8
Python
false
false
5,056
py
## Copyright 2020, The TensorFlow Federated 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 applicable law ...
[ "tensorflow.copybara@gmail.com" ]
tensorflow.copybara@gmail.com
8e9b0d12dfa10221e6bf87007325c95fd41832ef
717558d6a075163294054bd5aea4ef3234df23ad
/models_all/smallinvDAXr3b020-022.py
7d25b16346043224265235b0565d6453c396bb5e
[ "MIT" ]
permissive
RomeoV/pyomo-MINLP-benchmarking
1270766397fbc4e57ea1bd0c2285fb7edf64062d
996d2c8ee1cb9b03fe00c6246f52294337d8b92c
refs/heads/master
2021-07-11T17:54:25.284712
2020-08-13T23:43:14
2020-08-13T23:43:14
185,664,992
8
1
MIT
2019-05-10T19:07:05
2019-05-08T19:09:05
Python
UTF-8
Python
false
false
18,361
py
# MINLP written by GAMS Convert at 05/15/20 00:51:19 # # Equation counts # Total E G L N X C B # 4 0 2 2 0 0 0 0 # # Variable counts # x b i s1s s2s sc ...
[ "bernalde@cmu.edu" ]
bernalde@cmu.edu
f1b2aa99e2b8319ca529ea567e0c1e9cb8a1641d
eb9f655206c43c12b497c667ba56a0d358b6bc3a
/python/testData/quickFixes/PyMoveAttributeToInitQuickFixTest/skipDocstring.py
a8ba90afa2a9d2800cf229b2f9006bacf32f6e57
[ "Apache-2.0" ]
permissive
JetBrains/intellij-community
2ed226e200ecc17c037dcddd4a006de56cd43941
05dbd4575d01a213f3f4d69aa4968473f2536142
refs/heads/master
2023-09-03T17:06:37.560889
2023-09-03T11:51:00
2023-09-03T12:12:27
2,489,216
16,288
6,635
Apache-2.0
2023-09-12T07:41:58
2011-09-30T13:33:05
null
UTF-8
Python
false
false
114
py
__author__ = 'ktisha' class A: """ class docstring """ def foo(self): self.<caret>b = 1
[ "Ekaterina.Tuzova@jetbrains.com" ]
Ekaterina.Tuzova@jetbrains.com
0f1051fd72184d9077c9d9897e77a5275a0a20c4
4b44a299bafbd4ca408ce1c89c9fe4a449632783
/python2/10_Modules/user_defined_modules/__init__.py
7fdaa3a68f66c2f95f16c3fee4fa12b8cd44c24e
[]
no_license
umunusb1/PythonMaterial
ecd33d32b2de664eaaae5192be7c3f6d6bef1d67
1e0785c55ccb8f5b9df1978e1773365a29479ce0
refs/heads/master
2023-01-23T23:39:35.797800
2020-12-02T19:29:00
2020-12-02T19:29:00
null
0
0
null
null
null
null
UTF-8
Python
false
false
33
py
import fibscript import newScript
[ "uday3prakash@gmail.com" ]
uday3prakash@gmail.com
b168f4b1683a0a19436abc505deb186004b85a6c
94dcccac732db506a1066a83961554842ca50d0b
/weather/urls.py
55c116563a1e827708236748f015e45215bbb1d8
[]
no_license
PickertJoe/personal_website
69e7d2d6c1065686fe917c7af0e836b193cab612
3c61e2847fd375eb99fcb23b2c9ad69ca73b1cf3
refs/heads/master
2022-12-13T08:10:53.177963
2022-03-05T01:59:43
2022-03-05T01:59:43
191,227,416
0
0
null
2022-11-22T04:45:56
2019-06-10T18:51:07
Python
UTF-8
Python
false
false
201
py
from django.urls import path from . import views from django.conf.urls.static import static from django.conf import settings urlpatterns = [ path('', views.weather_index, name='weather_index'), ]
[ "pickertjoe@gmail.com" ]
pickertjoe@gmail.com
fb2457b8cd16c4da1386acae87a20181fa49bac1
505cd95efe18fc92eb82ce0a72ac219b1ac5b19c
/uiExtension.py
3d40e34416fd839ef392fdb207bbd3e98acc9be3
[]
no_license
alexsilva/joomla-tools
169523fa1efe5f531bd5d08f27b67f2547b171ee
0b971618cee6b7784b47ab55f78df24329bf04c2
refs/heads/master
2021-01-10T14:24:43.391722
2020-06-18T17:41:20
2020-06-18T17:41:20
8,543,061
0
0
null
null
null
null
UTF-8
Python
false
false
24,465
py
# -*- coding: utf-8 -*- # Form implementation generated from reading ui file 'extension.ui' # # Created: Sat Mar 30 17:31:35 2013 # by: pyside-uic 0.2.14 running on PySide 1.1.2 # # WARNING! All changes made in this file will be lost! from PySide import QtCore, QtGui class Ui_MainWindow(object): def setupU...
[ "geniofuturo@gmail.com" ]
geniofuturo@gmail.com
90df7c2a08db8828c6b83c481efe68e934480b6b
9f09ecfed34f5014116a1c7afadec2b9c07e9971
/example_project/some_modules/third_modules/a113.py
8921acb9eca7563c52dc505778aa4e20402b2fed
[ "MIT" ]
permissive
Yuriy-Leonov/cython_imports_limit_issue
a04ce73e8c750f3a61d7aaacaf58665273bf4a49
2f9e7c02798fb52185dabfe6ce3811c439ca2839
refs/heads/master
2020-09-11T23:57:56.677138
2019-11-18T17:48:50
2019-11-18T17:51:07
222,232,874
0
0
null
null
null
null
UTF-8
Python
false
false
21
py
class A113: pass
[ "tavoseg@gmail.com" ]
tavoseg@gmail.com
c8843c93853bb44731b78258d1617cea61e2fa91
d998c5fbbd02c1666862b8996639b8f34604a6eb
/dirigible/sheet/importer.py
49899c0fae53173c5b9e16e783f59ea4e2ecb81a
[ "MIT" ]
permissive
randfb/dirigible-spreadsheet
668f8f341fd48add69937d9dc41353360ed4f08c
c771e9a391708f3b219248bf9974e05b1582fdd0
refs/heads/master
2020-04-14T02:49:44.123713
2017-04-13T06:51:44
2017-04-13T06:51:44
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,619
py
# Copyright (c) 2010 Resolver Systems Ltd, PythonAnywhere LLP # See LICENSE.md # from chardet.universaldetector import UniversalDetector from codecs import getreader import csv from xlrd import ( error_text_from_code, xldate_as_tuple, XL_CELL_DATE, XL_CELL_ERROR, ) from worksheet import Worksheet class DirigibleI...
[ "hjwp2@cantab.net" ]
hjwp2@cantab.net
553dfa692cedff65a719f24eedf7b1caa123174e
ca7aa979e7059467e158830b76673f5b77a0f5a3
/Python_codes/p02780/s249015131.py
df3ee8200242ba2c41976713fe7df8440c0aa10b
[]
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
339
py
n,k = map(int, input().split()) p = [int(x) for x in input().split()] p_kitaiti=[float((x+1)/2) for x in p] ruisekiwa=[p_kitaiti[0]] for i in range(1,len(p_kitaiti)): ruisekiwa.append(ruisekiwa[-1]+p_kitaiti[i]) ans=ruisekiwa[k-1] for i in range(1,len(ruisekiwa)-k+1): ans=max(ans,ruisekiwa[i+k-1]-ruisekiw...
[ "66529651+Aastha2104@users.noreply.github.com" ]
66529651+Aastha2104@users.noreply.github.com
58ec6e180cfe9269f7d7743814d631827370228b
15f321878face2af9317363c5f6de1e5ddd9b749
/solutions_python/Problem_200/5463.py
9161570ab3d441e8b67d8aabb2838ba513463229
[]
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
522
py
test = int(input()) def isTidy(num): last = 10 ** 19 while(num > 0): currD = num % 10 if currD > last: return False else: last = currD num /= 10 num = int(num) return True def lastTidy(max): lastT = -1 for i in range(1, max + ...
[ "miliar1732@gmail.com" ]
miliar1732@gmail.com
fd7393b541b9bb5f909a07532784680f760067d5
c88a3a539d32a8c0c3426508d85bcead51e28273
/average_solve_cartpole_v1_DQN.py
cc1d11dbc7d2b3b7893c0d1df3d81686249ce6c8
[]
no_license
afcarl/DQN_Experiments
f6f4e35190eafa5add1ccb4b6487994af49368cd
667e072a76bf3702556ae44fe6b4a9ebec143fbd
refs/heads/master
2020-03-22T08:06:39.490033
2017-02-22T03:49:22
2017-02-22T03:49:22
139,745,429
1
0
null
2018-07-04T16:31:59
2018-07-04T16:31:59
null
UTF-8
Python
false
false
6,214
py
import copy import gym from gym import wrappers import matplotlib.pyplot as plt import time from utils import * from ReplayMemory import ReplayMemory from agents import AgentEpsGreedy from valuefunctions import ValueFunctionDQN # Inspired by necnec's algorithm at: # https://gym.openai.com/evaluations/eval_89nQ59Y4...
[ "riashat.islam.93@gmail.com" ]
riashat.islam.93@gmail.com
838df2bb911c2fe314b5652625d5a57027bb1644
3eed7b405d1fb9305225718f4c01494bc856da88
/swExpertAcademy/python_basic/6262_set,dict.py
9975b904fe77de00c41287c94b3333c4c28cc26a
[]
no_license
tesschung/TIL
b2610d714ec9e4778aafe7538d02b3e3d9fe89d9
bd79e4af68ef19599cb843f3ce8f5d81a322a2f7
refs/heads/master
2020-06-17T11:53:52.595880
2019-07-26T08:02:03
2019-07-26T08:02:03
195,916,443
4
0
null
null
null
null
UTF-8
Python
false
false
929
py
""" 다음의 결과와 같이 입력된 문자열의 문자 빈도수를 구하는 프로그램을 작성하십시오. 입력 abcdefgabc 출력 a,2 b,2 c,2 d,1 e,1 f,1 g,1 """ ## dict 외우기 a = 'abcdefgabc' a = list(a) print(a) alphabet_count={} for alphabet in a: if alphabet in alphabet_count: alphabet_count[alphabet] += 1 else: alphabet_count[alphabet] = 1 p...
[ "geobera0910@naver.com" ]
geobera0910@naver.com
5c80ef81d655783a11e72b107e7460ec06e90969
6f3389c93cf1057bca5398940932561c19dbec1d
/Solving Club/2/Diamond.py
cf87ccb41f7082bb50c22b4f1782141b2dcfe91f
[]
no_license
Jeonseoghyeon/APR
0af9ac1b4ba666a97d78b92e3e599c5a8bc87acc
7a3822913b84ae6ecf80c8e35c7c8e400981d1fe
refs/heads/master
2020-12-23T13:55:24.194463
2020-06-30T07:00:23
2020-06-30T07:00:23
237,172,582
0
0
null
null
null
null
UTF-8
Python
false
false
374
py
import sys sys.stdin = open("Pascal input.txt","r") tc = int(input()) for i in range(1,tc+1): word = input() lw = len(word) print('..#.'*(lw)+'.', end='') print() print('.#'*(lw*2)+'.') for x in range(lw): print('#',end='') print('.{}.'.format(word[x]),end='') print('#')...
[ "jsh28592@gmail.com" ]
jsh28592@gmail.com
41587d72a71685d71fb47ce204224c2ce9746626
edbd6ee1c76ed53c24c711ca68d643c94ac97481
/Algorithms/binary/268_Missing Number.py
954f204785803a1de2690446d79ae59cd39b43e9
[]
no_license
Linjiayu6/LeetCode
dd0ee7cff962fce7298227d9ce52ed6700fed98b
2dea64cb7198bd7c71ba023d074b1036088d5632
refs/heads/master
2021-07-22T21:44:23.536275
2020-07-09T00:56:28
2020-07-09T00:56:28
194,610,005
0
0
null
null
null
null
UTF-8
Python
false
false
1,472
py
# -*- coding: utf-8 -* """ Input: [9,6,4,2,3,5,7,0,1] Output: 8 i: [1,2] o: 0 i: [1] o: 0 """ # exceed the time limit class Solution(object): def missingNumber(self, nums): """ :type nums: List[int] :rtype: int """ for i in range(0, len(nums) + 1): # 这种匹配是没有哈希...
[ "linjiayu@meituan.com" ]
linjiayu@meituan.com
a4df40171c0718ad80625bd65a1955dc68217bff
c46f6015a2b9f7c6e5aec3d043f0b75057756852
/scripts/create_initial_admin_user.py
228fdaa760d9de5715af2b45428539b5623ed244
[ "BSD-3-Clause", "LicenseRef-scancode-unknown-license-reference" ]
permissive
peerau/byceps
6a7db0f8db00d8a77e824018d6efdbab57abbaaf
1f691280f5c086179ce372a471a0f1d9952a86f5
refs/heads/master
2020-07-28T06:31:29.468607
2019-09-15T00:18:48
2019-09-15T00:18:48
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,874
py
#!/usr/bin/env python """Create an initial user with admin privileges to begin BYCEPS setup. :Copyright: 2006-2019 Jochen Kupperschmidt :License: Modified BSD, see LICENSE for details. """ import click from byceps.services.authorization import service as authorization_service from byceps.services.user import comman...
[ "homework@nwsnet.de" ]
homework@nwsnet.de
8bcc2361f25b202d1c70ed1e2f5956b8c8c17c64
bb99cf88152edea3bf6d190bf8f8b7947a97f5b4
/truffe2/accounting_tools/migrations/0013_auto__add_field_invoiceline_value_ttc.py
d2c9672e843f55f7618087f4edcf874683435b86
[ "BSD-2-Clause" ]
permissive
ArcaniteSolutions/truffe2
ec8c9a621ea4330b0076a7f1db2b319b262926ce
5406842eb9719d7fdae7137ebd1918f2de61459c
refs/heads/master
2021-06-13T12:03:23.271274
2020-10-05T09:08:31
2020-10-05T09:08:31
40,756,384
10
13
BSD-2-Clause
2020-11-25T07:58:58
2015-08-15T11:34:38
Python
UTF-8
Python
false
false
15,418
py
# -*- coding: utf-8 -*- from south.utils import datetime_utils as datetime from south.db import db from south.v2 import SchemaMigration from django.db import models class Migration(SchemaMigration): def forwards(self, orm): # Adding field 'InvoiceLine.value_ttc' db.add_column(u'accounting_tools_i...
[ "maximilien@theglu.org" ]
maximilien@theglu.org
ea5a7731a98289b59c7c8bfd0a7930fa7f4814f7
04b1803adb6653ecb7cb827c4f4aa616afacf629
/tools/perf/process_perf_results.py
aa7bab4f494ea31a90218756322700bf608450ae
[ "BSD-3-Clause", "LGPL-2.0-or-later", "LGPL-2.1-only", "APSL-2.0", "LicenseRef-scancode-unknown-license-reference", "Apache-2.0", "LGPL-2.0-only", "LicenseRef-scancode-unknown", "MIT", "Zlib" ]
permissive
Samsung/Castanets
240d9338e097b75b3f669604315b06f7cf129d64
4896f732fc747dfdcfcbac3d442f2d2d42df264a
refs/heads/castanets_76_dev
2023-08-31T09:01:04.744346
2021-07-30T04:56:25
2021-08-11T05:45:21
125,484,161
58
49
BSD-3-Clause
2022-10-16T19:31:26
2018-03-16T08:07:37
null
UTF-8
Python
false
false
24,394
py
#!/usr/bin/env vpython # Copyright 2018 The Chromium Authors. All rights reserved. # Use of this source code is governed by a BSD-style license that can be # found in the LICENSE file. import argparse import collections import json import logging import multiprocessing import os import shutil import sys import tempfil...
[ "sunny.nam@samsung.com" ]
sunny.nam@samsung.com
e84db5466d085d1a44c4c8a2befd42eb2cc6ca59
0cba5529e387ba0f077b4e8ddeb96f914004f5df
/malaya/text/entity/food.py
b01c4d47015e3e2bee4c9c0b6edd8425e7db06a0
[ "MIT" ]
permissive
AsyrafAzlan/Malaya
dc78398ee6880578f40c5646a48882a5913217ae
3d5166173cf74881f7a56fffaaf391813c55d4f1
refs/heads/master
2021-05-21T22:47:41.863857
2020-04-03T15:00:21
2020-04-03T15:00:21
252,841,526
1
0
MIT
2020-04-03T21:04:44
2020-04-03T21:04:44
null
UTF-8
Python
false
false
9,550
py
# https://en.wikipedia.org/wiki/List_of_Malaysian_dishes#Malaysian_dishes malay = { 'ambuyat', 'asam pedas', 'ayam bakar', 'ayam goreng', 'ayam masak kicap', 'ayam masak merah', 'bubur asyura', 'bubur kacang hijau', 'bubur lambuk', 'bubur pedas', 'gulai', 'ikan bakar', ...
[ "husein.zol05@gmail.com" ]
husein.zol05@gmail.com
0ea7d01fd4094a8bf1e86275477930c3ab0eda4f
32c56293475f49c6dd1b0f1334756b5ad8763da9
/google-cloud-sdk/lib/googlecloudsdk/command_lib/ml/translate/hooks.py
34fbbf2dc37439bcabeac9f790eaad94761c8833
[ "MIT", "LicenseRef-scancode-unknown-license-reference", "Apache-2.0" ]
permissive
bopopescu/socialliteapp
b9041f17f8724ee86f2ecc6e2e45b8ff6a44b494
85bb264e273568b5a0408f733b403c56373e2508
refs/heads/master
2022-11-20T03:01:47.654498
2020-02-01T20:29:43
2020-02-01T20:29:43
282,403,750
0
0
MIT
2020-07-25T08:31:59
2020-07-25T08:31:59
null
UTF-8
Python
false
false
6,520
py
# -*- coding: utf-8 -*- # # Copyright 2019 Google LLC. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless requir...
[ "jonathang132298@gmail.com" ]
jonathang132298@gmail.com
93da478736f08c7706cfa5c4f92ee7e9ede8832a
005f02cb534bbf91fe634fcf401441e1179365c8
/9-Django Level 1/9.4-Template/TempApp/urls.py
dc94c5c67cb793a125ce2ecc85fce9a6e060985f
[]
no_license
Ruxhino-B/django-deployment-example
220a39a456871a1bf42a64fd5b945731056fc7b9
e19713ac1e11af202152ad20d7c3c94891a77e83
refs/heads/master
2020-04-18T02:21:10.505691
2020-01-06T14:18:18
2020-01-06T14:25:25
167,159,223
0
0
null
null
null
null
UTF-8
Python
false
false
121
py
from django.urls import path from TempApp import views urlpatterns = [ path('',views.index, name = 'index') ]
[ "ruxhino@gmail.com" ]
ruxhino@gmail.com
4dd73191d9ab91cd9d86ab25481a619eed427197
e9988eb38fd515baa386d8b06bb7cce30c34c50d
/sitevenv/lib/python2.7/site-packages/django/db/models/sql/query.py
54394ea4e2f47197536dd8406b1cab8e3c5d7604
[]
no_license
Arrrrrrrpit/Hire_station
8c2f293677925d1053a4db964ee504d78c3738d8
f33f044628082f1e034484b5c702fd66478aa142
refs/heads/master
2020-07-01T01:24:18.190530
2016-09-25T20:33:05
2016-09-25T20:33:05
201,007,123
0
0
null
null
null
null
UTF-8
Python
false
false
94,733
py
""" Create SQL statements for QuerySets. The code in here encapsulates all of the SQL construction so that QuerySets themselves do not have to (and could be backed by things other than SQL databases). The abstraction barrier only works one way: this module has to know all about the internals of models in order t...
[ "kunal1510010@gmail.com" ]
kunal1510010@gmail.com
51fdb88c14d2221f54fb2b293029612539b61752
ced0efb0666b5817b9656cd533cf6f5db0085fe8
/coding/codejam/apac/Aug/3.py
2ca01808b5e807bc2132b1dfc20b4781743052a4
[]
no_license
adithyaphilip/learning
11fb6997ab3d613a358502dfff0ae9b91cd5ee27
64ecd3bc622077c7256df91cdf4dfbc8adf23068
refs/heads/master
2021-06-01T18:04:46.733092
2016-09-22T18:22:46
2016-09-22T18:22:46
68,949,350
0
0
null
null
null
null
UTF-8
Python
false
false
259
py
chunks_d = {} def max_chunks(n, m): if n not in chunks_d: sum_c = (n ** 2) % m for i in range(n - 2, 0, -1): sum_c += (max_chunks(i, m) ** 2) % m sum_c %= m return chunks_d[n] def main(): pass main()
[ "adithyaphilip@gmail.com" ]
adithyaphilip@gmail.com
8dafc9589c5f2c11426ea99411bd79160cfa6565
287df0fc88095f616bc0ed6f806de96ff2ca7509
/spikeforest_widgets/widgets/MultiSort/__init__.py
d005165ec9030f4e498aa734c9bb13f5181463d0
[ "Apache-2.0" ]
permissive
flatironinstitute/spikeforest2
05b1171d0c98c431be3319865c9cd85cfa8e8779
9e77a7ac1a6d6eade9d7bbf6d60676ce6bb32eec
refs/heads/master
2022-11-12T22:28:23.819206
2022-11-08T16:47:55
2022-11-08T16:47:55
224,878,139
30
9
Apache-2.0
2020-06-24T19:26:48
2019-11-29T15:23:36
Python
UTF-8
Python
false
false
32
py
from .MultiSort import MultiSort
[ "jmagland@flatironinstitute.org" ]
jmagland@flatironinstitute.org
41af7f6a19d875d44349cb7afca4084535e46ebd
1af49694004c6fbc31deada5618dae37255ce978
/content/test/gpu/run_gpu_integration_test_fuchsia.py
7e33505aa105b1e959de8d8e632e53300b81a4f0
[ "BSD-3-Clause" ]
permissive
sadrulhc/chromium
59682b173a00269ed036eee5ebfa317ba3a770cc
a4b950c23db47a0fdd63549cccf9ac8acd8e2c41
refs/heads/master
2023-02-02T07:59:20.295144
2020-12-01T21:32:32
2020-12-01T21:32:32
317,678,056
3
0
BSD-3-Clause
2020-12-01T21:56:26
2020-12-01T21:56:25
null
UTF-8
Python
false
false
3,389
py
#!/usr/bin/env vpython # Copyright 2020 The Chromium Authors. All rights reserved. # Use of this source code is governed by a BSD-style license that can be # found in the LICENSE file. """Wrapper for running gpu integration tests on Fuchsia devices.""" import argparse import logging import os import shutil import subp...
[ "commit-bot@chromium.org" ]
commit-bot@chromium.org
57baaed90844c2af6223d7a0f17e4b0b8f44ed1a
1a612ba00dd8cd5a1e505e2afda5c4512ebc6c2a
/src/iospec/types.py
f3b14bf8be4ae1b622e0a0f63b6017b91413c3e6
[]
no_license
ricardogtx/iospec
b96ca052b4d8d75da02ae866d2171dafff0edd3c
5dbf4d7640db9b97ce32ab081d9322361aff79a4
refs/heads/master
2021-01-18T04:02:18.836626
2016-05-16T02:30:42
2016-05-16T02:30:42
61,323,491
0
0
null
2016-06-16T20:24:18
2016-06-16T20:24:18
null
UTF-8
Python
false
false
21,044
py
import collections import pprint import copy from generic import generic __all__ = [ # Atomic 'Atom', 'Comment', 'In', 'Out', 'Command', # Nodes 'IoSpec', 'TestCase', 'ErrorTestCase', 'IoTestCase', 'InputTestCase', # Functions 'isequal', 'normalize' ] # # Atomic AST nodes # class Atom(coll...
[ "fabiomacedomendes@gmail.com" ]
fabiomacedomendes@gmail.com
822741f77597ab35a14354227f0683e07d34800f
93e5b82332af9f0d3e203d086e30794fb90a2086
/ForKids/chapter07/savings.py
eba2bf48250983c5cd7e7acb0912ddde247fe4d0
[]
no_license
swell1009/ex
cfaae0b5fe917f12416170dce60f7dea8194f368
29b274fb51adbdc43af6ebecaec89c97bc58be6f
refs/heads/master
2020-04-04T10:15:20.578932
2018-11-22T06:27:30
2018-11-22T06:27:30
155,848,187
0
0
null
null
null
null
UTF-8
Python
false
false
129
py
def savings(pocket_money, paper_route, spending): return pocket_money + paper_route – spending print(savings(10, 10, 5))
[ "swell1009@qq.com" ]
swell1009@qq.com
93759af8f7a6ac24af30c0957f2296cf3c95c118
52b5773617a1b972a905de4d692540d26ff74926
/.history/knapsack_20200708152715.py
6b2ae69fdf511f9fa60dc4defa0e8ddffc9845b1
[]
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
416
py
def Knap(a,b,w): # declare an empty dictionary newArr = [] for i,j in zip(a,b): smallArr = [] smallArr.append(i) smallArr.append(j) newArr.append(smallArr) i = 0 # at position 0 is the weight and at position 1 is the value # goal is to find highest value b...
[ "mary.jereh@gmail.com" ]
mary.jereh@gmail.com
6c810f9843558ebd9fdbcfb4f069f53ab3020afd
44b2743ff70ce0631e9714ce78c44720fa63a9ad
/app/productdb/migrations/0012_auto_20160725_2252.py
f0305b66317e1a360acdb83ff2cb9af81c7a6a76
[ "MIT" ]
permissive
hoelsner/product-database
1b1b4db8e968f5bc149605093e4639c48a9ae1ad
c649569fb82bc4b0a5e9ef9615fff8a364ce652f
refs/heads/master
2023-07-24T21:39:01.870692
2023-07-09T17:03:56
2023-07-09T17:03:56
43,767,455
43
27
MIT
2023-04-16T19:17:25
2015-10-06T17:44:50
Python
UTF-8
Python
false
false
628
py
# -*- coding: utf-8 -*- # Generated by Django 1.9.6 on 2016-07-25 20:52 from __future__ import unicode_literals from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('productdb', '0011_userprofile_regex_search'), ] operations = [ migrations.Al...
[ "henry@codingnetworker.com" ]
henry@codingnetworker.com
be3c912ba0ddc4bcff9d69253f8d074868443909
640d26baa9322b92ea5d247280668b4ad7475f8d
/robot_assignment_ws/build/kobuki_keyop/catkin_generated/pkg.develspace.context.pc.py
1b919eef351d66946b71d3613d93749a8c481f04
[]
no_license
JulianVJacobs/Robotics-Project-2021
6baa5a6423a28cc278b84d831f2d8c9f5239da90
18a58cee8e2793bd05e5e158c0c998099fc62d5c
refs/heads/main
2023-06-03T02:47:15.579120
2021-06-25T19:56:32
2021-06-25T19:56:32
374,733,611
0
0
null
null
null
null
UTF-8
Python
false
false
600
py
# generated from catkin/cmake/template/pkg.context.pc.in CATKIN_PACKAGE_PREFIX = "" PROJECT_PKG_CONFIG_INCLUDE_DIRS = "/home/julian/robot_assignment_ws/src/kobuki_keyop/include".split(';') if "/home/julian/robot_assignment_ws/src/kobuki_keyop/include" != "" else [] PROJECT_CATKIN_DEPENDS = "geometry_msgs;std_srvs;std_m...
[ "1605267@students.wits.ac.za" ]
1605267@students.wits.ac.za
cbe426147ed87586dbfc67eeba8b4e4cbf5046b4
d2a2546165b3db6295a3f21972dda8ab9aab7846
/src/vehicles/towerhouse_flat.py
ce5fba774fa35c9f0aba0561dfddf9b98fb69324
[]
no_license
andythenorth/road-hog
bab12b133dd674f0e6d7ae87498675f8da96b982
1800d57d4ce904e7041f24646c393b37903d9466
refs/heads/main
2022-09-26T19:57:31.006800
2022-09-17T10:09:37
2022-09-17T10:09:37
214,848,659
1
2
null
null
null
null
UTF-8
Python
false
false
635
py
from road_vehicle import FlatHauler, DieselRoadVehicle consist = FlatHauler(id='towerhouse_flat', base_numeric_id=650, name='Towerhouse', semi_truck_so_redistribute_capacity=True, vehicle_life=40, in...
[ "mail@andythenorth.co.uk" ]
mail@andythenorth.co.uk
a3bc86651ce830bbe7ddc395698eb5b9c2155f34
73fa26bff99b5caef6697769b6d53a3630c5afb3
/portofolio/migrations/0001_initial.py
5874a261e23cfdde461ad562ea7b4c1980b13252
[]
no_license
handole/handofolio
9ecb1a9359717f0b18e1c0f0ca3616cc365d8100
6190ed4a5d614d929489a62fb503a3434eec5349
refs/heads/master
2020-06-27T21:57:27.398249
2017-06-13T21:30:53
2017-06-13T21:30:53
94,252,847
0
0
null
null
null
null
UTF-8
Python
false
false
1,007
py
# -*- coding: utf-8 -*- # Generated by Django 1.11.2 on 2017-06-13 17:31 from __future__ import unicode_literals from django.db import migrations, models import portofolio.models class Migration(migrations.Migration): initial = True dependencies = [ ] operations = [ migrations.CreateModel(...
[ "denihhandoko@gmail.com" ]
denihhandoko@gmail.com
3e284e6af35d735275c78c58377428a8021d456b
8574094da8e8ad4bd65e1bbe67dd1abd5003d6a9
/zopen.plone.filerepos/src/zopen/plone/filerepos/utils.py
d06855e83e9d0c2a375e78d2e19d46f23de1bceb
[]
no_license
madfrog2018/everydo-project
5b948f8b04c04773163eb5193e45604b1fe4a74e
d2ea5b83513cf4191e29ba70a1fc8b1d9950599f
refs/heads/master
2021-01-17T06:33:26.229787
2010-07-15T01:45:19
2010-07-15T01:45:19
null
0
0
null
null
null
null
UTF-8
Python
false
false
144
py
#-*- coding:utf-8 -*- def getMaxAttachmentSize(user_id=''): return 30 * 1024 * 1024 def getQuota(user_id=''): return 500 * 1024 * 1024
[ "yan5yang@gmail.com@4c72a389-b037-68f1-009d-6f17fb46af5f" ]
yan5yang@gmail.com@4c72a389-b037-68f1-009d-6f17fb46af5f
7393f5270b5de41f109002d335d487787a844171
1af49694004c6fbc31deada5618dae37255ce978
/ios/build/bots/scripts/xcode_log_parser_test.py
acdfed6f2dd52affa1f27fe269e794982a552963
[ "BSD-3-Clause" ]
permissive
sadrulhc/chromium
59682b173a00269ed036eee5ebfa317ba3a770cc
a4b950c23db47a0fdd63549cccf9ac8acd8e2c41
refs/heads/master
2023-02-02T07:59:20.295144
2020-12-01T21:32:32
2020-12-01T21:32:32
317,678,056
3
0
BSD-3-Clause
2020-12-01T21:56:26
2020-12-01T21:56:25
null
UTF-8
Python
false
false
20,507
py
# Copyright 2019 The Chromium Authors. All rights reserved. # Use of this source code is governed by a BSD-style license that can be # found in the LICENSE file. """Unittests for xcode_log_parser.py.""" import json import mock import os import unittest import test_runner import test_runner_test import xcode_log_pars...
[ "commit-bot@chromium.org" ]
commit-bot@chromium.org
e1a323d444a2e947bff196013ec3c3a287d0fd63
bf73b244a116a4fa01b3a91d11025a0cb29c1374
/ecomapp/views.py
0a2759458713f09de0c5fd4afa5ff3e922927189
[]
no_license
brahim024/django-ecommerce-web-app
f88b3586d04bba59019322638e90b98d11033ba9
f817eda9ab273b001fedc9a78d0aee3a13aa767c
refs/heads/master
2023-03-01T12:05:30.259028
2021-02-10T12:11:21
2021-02-10T12:11:21
289,489,478
2
3
null
null
null
null
UTF-8
Python
false
false
1,641
py
from django.shortcuts import render, get_object_or_404,redirect from django.http import HttpResponse,HttpResponseRedirect from .models import Category, Product from cart.forms import CartAddProductForm from .forms import CommentForm from .filters import ProductFilter # Create your views here. def product_list(request,c...
[ "ifninos168@gmail.com" ]
ifninos168@gmail.com
a5086b6d1c057d5c36fe149da514d848a8e489b7
6413fe58b04ac2a7efe1e56050ad42d0e688adc6
/tempenv/lib/python3.7/site-packages/plotly/graph_objs/isosurface/hoverlabel/_font.py
6393e90a67d88d67b0f038eefc4982bc02625fe7
[ "MIT" ]
permissive
tytechortz/Denver_temperature
7f91e0ac649f9584147d59193568f6ec7efe3a77
9d9ea31cd7ec003e8431dcbb10a3320be272996d
refs/heads/master
2022-12-09T06:22:14.963463
2019-10-09T16:30:52
2019-10-09T16:30:52
170,581,559
1
0
MIT
2022-06-21T23:04:21
2019-02-13T21:22:53
Python
UTF-8
Python
false
false
10,983
py
from plotly.basedatatypes import BaseTraceHierarchyType import copy class Font(BaseTraceHierarchyType): # color # ----- @property def color(self): """ The 'color' property is a color and may be specified as: - A hex string (e.g. '#ff0000') - An rgb/rgba string (e.g...
[ "jmswank7@gmail.com" ]
jmswank7@gmail.com
e62bf5693b8310c80b29d8becdb2a5943dfa324f
c113158bf6ce1edeb24298d711fddc56af2d62ee
/heltour/tournament/migrations/0084_gamenomination_pairing.py
c3ea3fca48dc9aab4cd2bf0f78af016d6fa6ae79
[ "MIT" ]
permissive
elvisaronsp/heltour
44d05b6e195b5fd939304ac776167e85762aec83
f5444552293ee4d51cbc7cf025857ed23d7d03dd
refs/heads/master
2020-06-19T06:16:54.312479
2019-05-26T15:13:33
2019-05-26T15:13:33
196,594,361
1
0
MIT
2019-07-12T14:34:58
2019-07-12T14:34:58
null
UTF-8
Python
false
false
540
py
# -*- coding: utf-8 -*- # Generated by Django 1.9.7 on 2016-09-01 20:24 from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): dependencies = [ ('tournament', '0083_auto_20160901_1905'), ] operations = [ migrations.AddField( ...
[ "ben.cyanfish@gmail.com" ]
ben.cyanfish@gmail.com
619df83ed8d14e7f8c40459b49bf4ef7e0e7a49a
c6e885e317915496c655dca38d8b7b830f848d64
/worker.py
eae0a90ea4979b663fcd33ddea68627d83040a2c
[]
no_license
Kelvinson/tensorflow-a3c
2bac0d9226b49ec604a98e76fdfadd55c402abc9
50258c4c5f4abe16d2df4bfd411fb5f3fd24ccbb
refs/heads/master
2021-08-22T06:02:21.320069
2017-11-29T12:43:17
2017-11-29T12:43:17
null
0
0
null
null
null
null
UTF-8
Python
false
false
6,826
py
from collections import deque import numpy as np import tensorflow as tf import matplotlib.pyplot as plt import gym from network import create_network from train_ops import * from utils import * G = 0.99 N_ACTIONS = 3 ACTIONS = np.arange(N_ACTIONS) + 1 N_FRAMES_STACKED = 4 N_MAX_NOOPS = 30 def list_set(l, i, val): ...
[ "matthew.rahtz@gmail.com" ]
matthew.rahtz@gmail.com
e707dff5bcaa52d36f0d56604c629444190857e3
a88a99fb3f754649db06ad86d22b5cb0d2d1e19c
/scholariumat/studies/admin.py
a7b9bd11bef2d7c203c61c32189fdf63a81e8547
[ "MIT" ]
permissive
valuehack/scholariumat
91ec59647948759d917ce7077d06b0aa9618c807
47c13f3429b95b9ad5ca59b45cf971895260bb5c
refs/heads/master
2022-12-07T22:20:23.967854
2020-04-09T22:05:52
2020-04-09T22:05:52
135,466,121
0
3
MIT
2022-12-06T18:38:22
2018-05-30T15:55:14
JavaScript
UTF-8
Python
false
false
165
py
from django.contrib import admin from products.admin import ProductBaseAdmin from .models import StudyProduct admin.site.register(StudyProduct, ProductBaseAdmin)
[ "merlin.buczek@gmail.com" ]
merlin.buczek@gmail.com
f66ef7744bdf8ef89f523383bc34e9bfdcf7a44e
0edd5346cac98bb2cf288560310807899e7f334a
/Lesson6b.py
3584a86e8f806ff40329a7a0348621b1b6b99c2f
[]
no_license
modcomlearning/Python5thJuly
741aae36e7943656e7036957eecefaa7fca11251
9dcf7bb46dceb526f8be8fff12faf1452741a9c8
refs/heads/master
2023-07-08T02:23:55.657170
2021-08-11T17:45:09
2021-08-11T17:45:09
387,753,888
0
0
null
null
null
null
UTF-8
Python
false
false
48
py
f = open('modcom.txt','r+') print(f.readlines())
[ "modcomlearning@gmail.com" ]
modcomlearning@gmail.com
f64efc42f03f469457ffaf5dd385b81fe2ed4704
0c5dd1b89b686d23b536c9f51b30b2f5e69ff399
/edit_form.py
adc3ab8524f18d52cfe4e708bf3488e3bbda4a5a
[]
no_license
blazprog/codesnips
23fc57233fc197866c8c539df280d8792de098a4
1c307b74b5a00cbe339c86b3e37b101ad0921fcb
refs/heads/master
2021-01-21T10:45:48.507153
2018-11-19T11:32:58
2018-11-19T11:32:58
101,984,521
0
0
null
null
null
null
UTF-8
Python
false
false
1,615
py
# -*- coding: utf-8 -*- import sys import PyQt5.QtWidgets as qtw # from PyQt5.QtWidgets import QWidget, QApplication, QDialog, \ ### QMdiSubWindow from PyQt5.QtSql import * conn = QSqlDatabase.database() class WordBrowse(QSqlTableModel): def __init__(self, parent=None): super().__init__(parent) ...
[ "blaz.korosec@mentis.si" ]
blaz.korosec@mentis.si
c0fb1b2ae995c53cd776a5dd076d79a17da945dc
50008b3b7fb7e14f793e92f5b27bf302112a3cb4
/recipes/Python/189060_Using_Berkeley_DB_Database/recipe-189060.py
c21520218466957b07c688f8c45e5007591b0523
[ "Python-2.0", "MIT" ]
permissive
betty29/code-1
db56807e19ac9cfe711b41d475a322c168cfdca6
d097ca0ad6a6aee2180d32dce6a3322621f655fd
refs/heads/master
2023-03-14T08:15:47.492844
2021-02-24T15:39:59
2021-02-24T15:39:59
341,878,663
0
0
MIT
2021-02-24T15:40:00
2021-02-24T11:31:15
Python
UTF-8
Python
false
false
1,025
py
#!/usr/bin/python from bsddb3 import db # the Berkeley db data base # Part 1: Create database and insert 4 elements # filename = 'fruit' # Get an instance of BerkeleyDB fruitDB = db.DB() # Create a database in file "fruit" with a Hash access method # There are also, B+tree and Recno access method...
[ "betty@qburst.com" ]
betty@qburst.com
1531ec9143a6b9a180d6b727f62af76a9f8dd0c3
33d7d66b287f61e280ba18a6d24de3d7f437665e
/src/hp3par_exporter/prometheus_metrics.py
a83689554a68b37871cffe19ec742516b020e050
[]
no_license
ycyr/hp3par-exporter
13578a1ff61699ff91c52ddfd3ec8d3f506af8c3
fef3dd8cdce96a0327583d03943a72cbb40c86b5
refs/heads/master
2020-09-15T11:53:58.833163
2019-08-29T13:19:38
2019-08-29T13:54:09
null
0
0
null
null
null
null
UTF-8
Python
false
false
718
py
from prometheus_client import Gauge from prometheus_client import REGISTRY registry = REGISTRY gauge_hp3par_total_capacity_mib = Gauge('hp3par_totalCapacityMiB', 'Total system capacity in MiB', ["id", "hp3par_name"]) gauge_hp3par_allocated_capacity_mib = Gauge('hp3par_allocatedCapacityMiB', ...
[ "nico.marcq@gmail.com" ]
nico.marcq@gmail.com
4f7eac54dc31a8805d603dd86392408a9df4a2b8
d42dd7e79a7ec4604005867456a21eeee78c4ece
/venv/lib/python3.7/operator.py
ce890d762c95d907d890c90f7b7a4eac109e46c3
[]
no_license
balakrishnans0214/Dashdropdown
c5d9ebae8f0a2cd04aaf4215bee656bd65982d6f
9df8e73812743df21f28a18ffcea725f1c6dc935
refs/heads/master
2020-07-13T21:00:28.791997
2019-12-11T11:52:01
2019-12-11T11:52:01
205,154,134
0
1
null
null
null
null
UTF-8
Python
false
false
48
py
/home/client/anaconda3/lib/python3.7/operator.py
[ "you@example.com" ]
you@example.com
6540536a247411364d8ade39bb77998a6171cff0
926621c29eb55046f9f59750db09bdb24ed3078e
/lib/googlecloudsdk/core/util/retry.py
48f365c6786b46490eb76b1628fd11ba78d981e5
[ "LicenseRef-scancode-unknown-license-reference", "Apache-2.0" ]
permissive
bopopescu/SDK
525d9b29fb2e901aa79697c9dcdf5ddd852859ab
e6d9aaee2456f706d1d86e8ec2a41d146e33550d
refs/heads/master
2022-11-22T18:24:13.464605
2016-05-18T16:53:30
2016-05-18T16:53:30
282,322,505
0
0
NOASSERTION
2020-07-24T21:52:25
2020-07-24T21:52:24
null
UTF-8
Python
false
false
10,534
py
# Copyright 2015 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 ag...
[ "richarddewalhalla@gmail.com" ]
richarddewalhalla@gmail.com
2a30fcfc232100c738167d147999db51ad75955c
a26923adfffd7cab44d15f76156476ccc4f11b70
/src/GimelStudio/node_graph/node_graph.py
30a537564c35af3aca4078c0772b18da0fba0c5c
[ "Apache-2.0", "MIT" ]
permissive
MarioPeper/Gimel-Studio
89c81aeb133390f0c8de9286ca5aa92d9a5af9ff
7eee20adfdb701034017131ebbd706e8f8166b81
refs/heads/master
2022-12-11T14:51:50.127304
2020-09-02T21:59:16
2020-09-02T21:59:16
null
0
0
null
null
null
null
UTF-8
Python
false
false
31,358
py
## ---------------------------------------------------------------------------- ## Gimel Studio Copyright 2020 Noah Rahm, Correct Syntax. All rights reserved. ## ## Licensed under the Apache License, Version 2.0 (the "License"); ## you may not use this file except in compliance with the License. ## You may obtain a cop...
[ "correctsyntax@yahoo.com" ]
correctsyntax@yahoo.com
9c53ee59254457ca1ebe3696b9eec8d479047f35
f2a5680231e205dc49a083578d9bd90e4603036c
/Grokking-Coding-Interview-Patterns/1. Sliding Window/smallestWindowContainingSubString.py
28ac6fe6c76af028ec7572eff2a802f078411d8d
[]
no_license
flogothetis/Technical-Coding-Interviews-Algorithms-LeetCode
d592451f7d297fd52395e33dc67686e9990a663c
7c8473fce4b5b5affbfde5ed8c39fdb89cbc77d4
refs/heads/master
2023-01-13T15:56:07.706164
2020-11-18T18:54:52
2020-11-18T18:54:52
281,101,823
0
0
null
null
null
null
UTF-8
Python
false
false
980
py
def smallestWindowContainingSubString (array, pattern): # Put pattern in dictionary dictionary = {} for ch in pattern: if ch not in dictionary: dictionary[ch] = 0 dictionary[ch]+=1 windowStart = 0 globalMinWindow = len(array) + 1 match_ch = 0 for windowEnd in range (len(array)): if (array[windowEnd]...
[ "flogothetis95@gmail.com" ]
flogothetis95@gmail.com
77407c3a441761998d2364c7ac96a4444a400a40
325fde42058b2b82f8a4020048ff910cfdf737d7
/src/costmanagement/azext_costmanagement/vendored_sdks/costmanagement/aio/operations_async/_dimension_operations_async.py
9e7580d0894db821daaee8d73e42d085f1bd6d1d
[ "LicenseRef-scancode-generic-cla", "MIT" ]
permissive
ebencarek/azure-cli-extensions
46b0d18fe536fe5884b00d7ffa30f54c7d6887d1
42491b284e38f8853712a5af01836f83b04a1aa8
refs/heads/master
2023-04-12T00:28:44.828652
2021-03-30T22:34:13
2021-03-30T22:34:13
261,621,934
2
5
MIT
2020-10-09T18:21:52
2020-05-06T01:25:58
Python
UTF-8
Python
false
false
12,524
py
# coding=utf-8 # -------------------------------------------------------------------------- # Copyright (c) Microsoft Corporation. All rights reserved. # Licensed under the MIT License. See License.txt in the project root for license information. # Code generated by Microsoft (R) AutoRest Code Generator. # Changes may ...
[ "noreply@github.com" ]
ebencarek.noreply@github.com
228481d618f5cf5de30e9d3ca069a890fdb834ce
56b1569a62c6a155ce9cf4b8059bd085848dd859
/Python/camera_calibration/undistort_and_transform.py
a9261ec389a83b3a764bd25733b6ee15bbf2c4c2
[]
no_license
Marius-Juston/Advanced-Autonomous-Vehicule
1485ccc1a3dafbb875f845b2ba00cb05c6d6ca40
7f188428aafe0c0dfff75dd8567199c7067be17d
refs/heads/master
2022-11-15T04:52:19.713449
2020-07-10T22:09:04
2020-07-10T22:09:04
266,609,193
0
0
null
null
null
null
UTF-8
Python
false
false
2,760
py
import pickle import cv2 import matplotlib.pyplot as plt import numpy as np # Read in the saved camera matrix and distortion coefficients # These are the arrays you calculated using cv2.calibrateCamera() dist_pickle = pickle.load(open("wide_dist_pickle.p", "rb")) mtx = dist_pickle["mtx"] dist = dist_pickle["dist"] #...
[ "Marius.juston@hotmail.fr" ]
Marius.juston@hotmail.fr
fa15c3be548b8dc694d4faf4e585ba491143fd5c
cf7b3522b6fa8765b3f12dec06fd2868712d4e9a
/cristianoronaldoyopmailcom_282/wsgi.py
a1d3ebed57f67b9882524a591c63040c549c940e
[]
no_license
payush/cristianoronaldoyopmailcom-282
367d381b440343a8c75b4f8ae557fbf4c34b419e
06e7f0fa63e863f11181bbde515574eda9844891
refs/heads/master
2020-03-23T13:10:53.127490
2018-07-19T16:16:59
2018-07-19T16:16:59
141,604,098
0
0
null
null
null
null
UTF-8
Python
false
false
438
py
""" WSGI config for cristianoronaldoyopmailcom_282 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.11/howto/deployment/wsgi/ """ import os from django.core.wsgi import get_wsgi_application os.environ....
[ "ayushpuroheet@gmail.com" ]
ayushpuroheet@gmail.com
7bdb7f5fdf1b70740ee3bf3595aca652f7137168
5ce77901781240f5c42539a471b27bbc8cbe444f
/Analysis/plot_in_degree.py
13b954779fd0e2a1556bc72dddbb124fa3de5a0a
[]
no_license
jcate6/Bitcoin-fdac17
a70f5d37adf8fa887602e25b83fcfe8fa970b4a7
0098a5f3a8b22a1dad69f1a38722836dfcc7108f
refs/heads/master
2021-08-24T12:19:24.309279
2017-12-09T20:03:50
2017-12-09T20:03:50
107,714,261
0
4
null
2017-12-09T18:12:54
2017-10-20T18:44:21
TeX
UTF-8
Python
false
false
520
py
from __future__ import division import matplotlib.pyplot as plt import numpy as np import pandas as pd data = pd.read_csv("In_degree_distros\\2017-11-15.csv") data = data.as_matrix() x = data[:,0] y = data[:,1] x = x[x<=100] y = y[:x.shape[0]] fig = plt.figure() ax = fig.add_subplot(1,2,1) ax.plot(x, y) ax.set_xlabe...
[ "agrawald@goldmail.etsu.edu" ]
agrawald@goldmail.etsu.edu
f72e767999eef2f1d01d990eed01d56b07395a50
2f2d4571066a443121a1930b40b4045b7c284306
/SimpleEventCounter/SimpleEventCounter/python/ConfFile_reco_cfg.py
fbdfe0916b529df061fbc439bc52a344f588d344
[]
no_license
rvenditti/Tau3MuSearch
fb99397dfabb2d307535d80b374b86295df7de12
36f699e265164829c9843c787f6c9a9dfbbff696
refs/heads/master
2021-07-11T17:02:37.833567
2020-07-15T13:23:14
2020-07-15T13:23:14
177,627,204
1
4
null
2020-07-15T13:23:15
2019-03-25T16:48:07
C
UTF-8
Python
false
false
1,012
py
import FWCore.ParameterSet.Config as cms process = cms.Process("Demo") process.load("FWCore.MessageService.MessageLogger_cfi") process.load('Configuration.StandardSequences.Services_cff') process.maxEvents = cms.untracked.PSet( input = cms.untracked.int32(-1) ) process.source = cms.Source("PoolSource", # replac...
[ "rosamaria.venditti@gmail.com" ]
rosamaria.venditti@gmail.com
c4804bc3d75a90ddebcf2c795fe708d59d31f064
3a2ac319a9a09bdc05f5e4deff56419eb6c661de
/som.py
5a5c889ba1702d5a931e33520ea6fb389c585716
[ "MIT" ]
permissive
mkruuse/segmenting-turbulent-simulations-with-ensemble-learning
817229d455a18ea229a32f89ec8564d28f8c9751
8708e8052974f1f49d91e5ad769e6539865d5906
refs/heads/main
2023-07-21T14:14:36.466172
2021-09-02T13:12:07
2021-09-02T13:12:07
377,840,218
1
1
null
null
null
null
UTF-8
Python
false
false
12,327
py
## SOM code for reproducing Bussov & Nattila 2021 image segmentation results # -*- coding: utf-8 -*- import numpy as np import matplotlib.tri as tri import matplotlib.pyplot as plt #import tensorflow as tf from matplotlib import colors import popsom.popsom as popsom import pandas as pd import colorsys import h5py as...
[ "nattila.joonas@gmail.com" ]
nattila.joonas@gmail.com
62883f450ecf5b25634e8fe8c444a394c084319d
6fa7f99d3d3d9b177ef01ebf9a9da4982813b7d4
/aYTLW5jmRoXhnnzwj_6.py
08b1065f1573b361271abc724e18f8f6becac06c
[]
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
61
py
query = " SELECT Name FROM employees WHERE Salary > 45000"
[ "daniel.reich@danielreichs-MacBook-Pro.local" ]
daniel.reich@danielreichs-MacBook-Pro.local
1f5525b4232b289bdbea2755bdbdd2b8336c6741
de74a2af11962af7a8ef3dfb16fa130d35580f3a
/pylib/mailutils.py
b67e832b62cb800308e9238eee823b39470f78de
[]
no_license
vieyahn/winterpy
4d46fa196bd7517ce4adc785ec803d9fc9aad0a0
5a54bcd4dd6d1c6c41b971d6049bcd94e9fb0e70
refs/heads/master
2021-01-14T12:57:26.515877
2016-08-26T10:38:33
2016-08-26T10:39:05
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,365
py
# vim:fileencoding=utf-8 import re import datetime import codecs from email import header from email.header import Header from email.mime.text import MIMEText from email.mime.multipart import MIMEMultipart addr_re = re.compile(r'(.*?)\s+(<[^>]+>)($|,\s*)') def decode_multiline_header(s): ret = [] for b, e in he...
[ "lilydjwg@gmail.com" ]
lilydjwg@gmail.com
6941f33fa19a99ce7ea12e17aa5a6c6b7beef08a
2256297f4925bcecac88d804c6a1be2224d56bcd
/game/misc/__init__.py
20227fcd7f95eb2245ccab25843b8af7f56455ef
[ "MIT" ]
permissive
thealphadollar/brkout
15877cb9bc0aa261b72eccc7e2cda53fe35b153e
9dc7bc5421ea5f554462aee9f363b22a61567613
refs/heads/master
2022-01-11T08:53:01.821940
2019-05-05T10:14:28
2019-05-05T10:14:28
114,479,027
14
28
MIT
2019-05-05T10:14:29
2017-12-16T17:40:24
Python
UTF-8
Python
false
false
125
py
''' Import all modules in the package ''' from .game_enums import * from .game_parameters import * from .collisions import *
[ "shivam.cs.iit.kgp@gmail.com" ]
shivam.cs.iit.kgp@gmail.com
ce745e580227ed4af6b01b2899b374cfe1fa8c09
d332507e59e0abb0315401e687638f62f9341a74
/src/openpal/AllHeaders.h
91b97a63fb778880bbaa13128732c50ee3ac5754
[ "Apache-2.0" ]
permissive
txjmb/pydnp3
151591634181e63582ac2a9479a6286730d7a48d
fff9835d5ce9a75bd89a585942d3fbd3ad3de923
refs/heads/master
2022-04-21T11:09:48.319612
2020-04-23T20:06:46
2020-04-23T20:06:46
257,956,527
0
0
Apache-2.0
2020-04-22T16:23:23
2020-04-22T16:23:22
null
UTF-8
Python
false
false
3,008
h
/* * -*- coding: utf-8 -*- {{{ * vim: set fenc=utf-8 ft=python sw=4 ts=4 sts=4 et: * * Copyright 2018, Kisensum. * * 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.apach...
[ "anhhng141@gmail.com" ]
anhhng141@gmail.com
b34912f55df79ef6fca6df9cc4125e84a58ff2d4
c459f4dd7b198ec8d8db8379726a5b2650be6636
/appl/migrations/0031_projectapplication_verification_number.py
42ff161f342dcf374df751e7b6ac04d39b7aafad
[]
no_license
jittat/admapp
4c712182cd06e82efab6c2513fb865e5d00feae8
38bf299015ae423b4551f6b1206742ee176b8b77
refs/heads/master
2023-06-10T03:23:41.174264
2023-06-09T19:41:03
2023-06-09T19:41:03
101,953,724
10
4
null
2023-04-21T22:48:55
2017-08-31T03:12:04
Python
UTF-8
Python
false
false
483
py
# -*- coding: utf-8 -*- # Generated by Django 1.11.5 on 2017-10-11 04:16 from __future__ import unicode_literals from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('appl', '0030_auto_20171011_0416'), ] operations = [ migrations.AddField( ...
[ "jittat@gmail.com" ]
jittat@gmail.com
ca864943b93a2b6e37b700762d4dd9f484604ac2
0e478f3d8b6c323c093455428c9094c45de13bac
/src/OTLMOW/PostenMapping/Model/Post050407019.py
4569171ae4b997901f889b207ead5e7a75b37585
[ "MIT" ]
permissive
davidvlaminck/OTLMOW
c6eae90b2cab8a741271002cde454427ca8b75ba
48f8c357c475da1d2a1bc7820556843d4b37838d
refs/heads/main
2023-01-12T05:08:40.442734
2023-01-10T15:26:39
2023-01-10T15:26:39
432,681,113
3
1
MIT
2022-06-20T20:36:00
2021-11-28T10:28:24
Python
UTF-8
Python
false
false
2,916
py
# coding=utf-8 from OTLMOW.PostenMapping.StandaardPost import StandaardPost from OTLMOW.PostenMapping.StandaardPostMapping import StandaardPostMapping # Generated with PostenCreator. To modify: extend, do not edit class Post050407019(StandaardPost): def __init__(self): super().__init__( nummer...
[ "david.vlaminck@mow.vlaanderen.be" ]
david.vlaminck@mow.vlaanderen.be
840e8e3b7c7e142ac1748f12224d4f410b3f3df9
3c56b08398d4478328ecaf5e70599e1b7e23d70b
/ml_infra_template.py
a76a21aebbc87e8ad51a139be4f6605dc76f245c
[]
no_license
sidneyriffic/ml_infra_template
3e33f4a8ddabd6ac1e07f747fba902e0df27b703
d2681964165be04f1a30b5a4436755e44724090f
refs/heads/master
2022-12-27T10:07:55.735571
2020-10-07T20:17:28
2020-10-07T20:17:28
302,149,847
0
0
null
null
null
null
UTF-8
Python
false
false
904
py
#!/usr/bin/env python3 """Command line entry point for data/model interactions""" import importlib import argparse import preprocess_ex as ppex print(ppex) description = 'Define model and data operations' parser = argparse.ArgumentParser(description) parser.add_argument('-m', '--model', dest='make_model...
[ "sidneyriffic@gmail.com" ]
sidneyriffic@gmail.com
9fae75716351829fb089c9d7e5195ade93a0258a
381fd0a6f1f716f68bb2d5ef6340cee59e770065
/advent_of_code/2020/day7.py
048b6df7150076ade05fd62922a0f8c2756193b5
[ "Unlicense" ]
permissive
netotz/codecamp
4ec5ca4f8cf0adcdcbf99cd5533304ddd3d060d2
208fd1c929a85397ecdaa0c6cc74b8c6d99d76c7
refs/heads/master
2023-02-09T08:23:32.778882
2023-01-25T01:15:45
2023-01-25T01:15:45
253,117,424
2
1
null
null
null
null
UTF-8
Python
false
false
2,783
py
import re def parse_input(rawrules): return { fl[0]: {} if fl[1] == '' else { s[2:]: int(s[0]) for s in fl[1].split(' , ') } for line in rawrules.splitlines() if (fl := [ s.strip() for s in re.sub( ...
[ "neto.otz@hotmail.com" ]
neto.otz@hotmail.com
ff753b9ca5453fbb8d40b0c432ca3478c3c2c751
85a9ffeccb64f6159adbd164ff98edf4ac315e33
/pysnmp-with-texts/DS8200v2-TC-MIB.py
9508e7b6cfa965606170f2e85cae511187b5a04d
[ "LicenseRef-scancode-warranty-disclaimer", "LicenseRef-scancode-proprietary-license", "LicenseRef-scancode-unknown-license-reference", "Apache-2.0" ]
permissive
agustinhenze/mibs.snmplabs.com
5d7d5d4da84424c5f5a1ed2752f5043ae00019fb
1fc5c07860542b89212f4c8ab807057d9a9206c7
refs/heads/master
2020-12-26T12:41:41.132395
2019-08-16T15:51:41
2019-08-16T15:53:57
237,512,469
0
0
Apache-2.0
2020-01-31T20:41:36
2020-01-31T20:41:35
null
UTF-8
Python
false
false
2,044
py
# # PySNMP MIB module DS8200v2-TC-MIB (http://snmplabs.com/pysmi) # ASN.1 source file:///Users/davwang4/Dev/mibs.snmplabs.com/asn1/DS8200v2-TC-MIB # Produced by pysmi-0.3.4 at Wed May 1 12:54:27 2019 # On host DAVWANG4-M-1475 platform Darwin version 18.5.0 by user davwang4 # Using Python version 3.7.3 (default, Mar 27...
[ "dcwangmit01@gmail.com" ]
dcwangmit01@gmail.com
d7fbc3caf38b5d1e8c88ba18cd5ba590516ea044
53fab060fa262e5d5026e0807d93c75fb81e67b9
/backup/user_176/ch62_2019_03_29_14_32_02_630978.py
c677efb4ff50461d54b43e6c822ed6442ba27cd1
[]
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
157
py
def filtra_positivos(n): positivos=[] i=0 while i<len(n): if n[i]>0: positivos.append(n[i]) i+=1 return positivos
[ "you@example.com" ]
you@example.com
ec80c963f307638e5a6e9a96460f5ff51ef02556
81b438781ecc307225fcc6141238f8a8ef03bd64
/Project/src/Modules/House/Hvac/_test/test_hvac.py
8953a34e781e131dba4abbe5483197e7479b8deb
[]
permissive
DBrianKimmel/PyHouse
b7d61be4dc6ce9e3332228a6c633e81fdfd8a908
a100fc67761a22ae47ed6f21f3c9464e2de5d54f
refs/heads/develop
2021-01-23T09:30:08.722975
2020-02-29T16:30:08
2020-02-29T16:30:08
4,125,178
3
1
MIT
2020-07-19T22:07:18
2012-04-24T13:53:33
Python
UTF-8
Python
false
false
2,518
py
""" @name: PyHouse/Project/src/Modules/Housing/Hvac/_test/test_hvac.py @author: D. Brian Kimmel @contact: D.BrianKimmel@gmail.com @copyright: (c) 2015-2019 by D. Brian Kimmel @license: MIT License @note: Created on Jul 12, 2015 @Summary: Passed all 5 tests - DBK - 2019-06-04 """ __updated__ = '2019-...
[ "d.briankimmel@gmail.com" ]
d.briankimmel@gmail.com
037b3c1da16ce4174e61a9c521b97380a06d93ef
34c57c605eba40b67e2de338c1e101a1c4cb6b72
/nn_iris.py
c2a412be2309b194453bb81384e3c2e5fc81088d
[]
no_license
youngsoul/pyimagesearch-python-machine-learning
9af38980e9e408855f4457de82fc8ffd1fd00837
1efeb3035efb24348489d36f8db551a395afd144
refs/heads/master
2023-07-19T18:27:00.158079
2021-01-06T01:52:32
2021-01-06T01:52:32
166,071,588
0
2
null
2023-07-06T22:29:48
2019-01-16T16:20:48
Jupyter Notebook
UTF-8
Python
false
false
1,517
py
# USAGE # python nn_iris.py # import the necessary packages from keras.models import Sequential from keras.layers.core import Dense from keras.optimizers import SGD from sklearn.preprocessing import LabelBinarizer from sklearn.model_selection import train_test_split from sklearn.metrics import classification_report, a...
[ "theyoungsoul@gmail.com" ]
theyoungsoul@gmail.com
87ebecbb428b65919bd35b4d33ef229bda00f646
7c15f211adc9e9eb9f66ccdd570c9f38dff7ea8d
/packages/autorest.python/test/vanilla/legacy/Expected/AcceptanceTests/SecurityKeySwaggerCredentialFlag/securitykeyswaggercredentialflag/aio/__init__.py
9ad4814fd5f1de73db95b78dbb4a74561e35acb3
[ "LicenseRef-scancode-generic-cla", "MIT" ]
permissive
Azure/autorest.python
cc4bfbf91ae11535731cad37cedd6b733edf1ebd
a00d7aaa3753ef05cb5a0d38c664a90869478d44
refs/heads/main
2023-09-03T06:58:44.246200
2023-08-31T20:11:51
2023-08-31T20:11:51
100,315,955
47
40
MIT
2023-09-14T21:00:21
2017-08-14T22:58:33
Python
UTF-8
Python
false
false
885
py
# coding=utf-8 # -------------------------------------------------------------------------- # Copyright (c) Microsoft Corporation. All rights reserved. # Licensed under the MIT License. See License.txt in the project root for license information. # Code generated by Microsoft (R) AutoRest Code Generator. # Changes may ...
[ "noreply@github.com" ]
Azure.noreply@github.com
f7cddd4b937b32d86f7d5852110289a46243c052
aa06473d26ee952278eada3713c92114f317be73
/aoc2020/11/main.py
17c4b2dda92cccdcb61a22eb73c3b4938f213ce3
[]
no_license
allefant/aoc
1888b3434379dbee5faf982fcdcf7e4a61b2ca3c
861421794ac0b57c037a593776fb0dcb9458f1aa
refs/heads/master
2023-01-28T12:18:36.992292
2020-12-11T01:13:24
2020-12-11T22:08:01
319,518,880
0
0
null
null
null
null
UTF-8
Python
false
false
3,090
py
#!/usr/bin/env python3 import sys import re def step(m, w, h): m2 = [] for y in range(h): row = m[y] row2 = [] for x in range(w): occupied = 0 if row[x] != "B": for j in range(-1, 2): for i in range(-1, 2): ...
[ "elias@users.sourceforge.net" ]
elias@users.sourceforge.net
c3b05651a69dbc6cf08cd1913dbb82a5cc28b69f
bfe6c95fa8a2aae3c3998bd59555583fed72900a
/repeatedSubstringPattern.py
b817bc879b45fdd26baf685fb791f702126c8410
[]
no_license
zzz136454872/leetcode
f9534016388a1ba010599f4771c08a55748694b2
b5ea6c21bff317884bdb3d7e873aa159b8c30215
refs/heads/master
2023-09-01T17:26:57.624117
2023-08-29T03:18:56
2023-08-29T03:18:56
240,464,565
0
0
null
null
null
null
UTF-8
Python
false
false
173
py
class Solution: def repeatedSubstringPattern(self, s: str) -> bool: return (s+s).find(s,1)!=len(s) s='aba' sl=Solution() print(sl.repeatedSubstringPattern(s))
[ "zzz136454872@163.com" ]
zzz136454872@163.com
3e84cc5ac7365f662154cb0e841b9c5e7e17f70d
29a145a353fe744a45ed07f92785909d5e9d4759
/nets/densenet161.py
07f5c8c8c67bb27d1a41472dac8af7839e112314
[ "Apache-2.0" ]
permissive
ahmdtaha/FineGrainedVisualRecognition
b38fd30ca61bd33e41f8e327d45b712611751288
7f0dc7f92f5baaa1bdfc028e4dd4d7459d2270f0
refs/heads/master
2021-10-11T12:25:16.945822
2021-10-09T23:20:07
2021-10-09T23:20:07
148,684,550
22
7
null
null
null
null
UTF-8
Python
false
false
14,926
py
# Copyright 2016 pudae. 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 agreed to ...
[ "ahmdtaha@cs.umd.edu" ]
ahmdtaha@cs.umd.edu
733761a83dcb9ee584718dff751838456c8c948a
3cf41d1510239ce6987b878aabae1bcc8013fa33
/account/migrations/0006_auto_20180815_0913.py
6bb424fd8ef1354f07822ded3d51bf1a78465f34
[]
no_license
djangogirlsbh/food
cc28bd23aff5593260aeab83b595cafc6ddf7d63
bd809df79a373b33d12b489b3a5e468dc8cde4d5
refs/heads/master
2020-03-29T20:42:29.959148
2018-08-29T12:49:47
2018-08-29T12:49:47
150,326,438
0
1
null
2018-09-25T20:38:45
2018-09-25T20:38:44
null
UTF-8
Python
false
false
3,541
py
# -*- coding: utf-8 -*- # Generated by Django 1.11 on 2018-08-15 09:13 from __future__ import unicode_literals from django.conf import settings from django.db import migrations, models import django.db.models.deletion import mptt.fields class Migration(migrations.Migration): dependencies = [ migrations....
[ "palashpatidar51@gmail.com" ]
palashpatidar51@gmail.com
30792d92890cd2cc84ffe53925265f4a6dd48b76
1adf769cf9234f9b6c619f808d2723b99451d679
/rusentrel/classic_cv/common.py
af55d7f1421214a903c7b1ec094ed9a00b6797a6
[ "MIT" ]
permissive
DAVMARROS/attitude-extraction-with-attention-and-ds
4e85fa154ead0cd9499aaedf5d752ac565f37b92
fb8e9d0d9488363738a88c4c447c7a8cb3e2ec1d
refs/heads/master
2023-02-09T04:56:24.090380
2020-12-30T10:09:34
2020-12-30T10:09:34
null
0
0
null
null
null
null
UTF-8
Python
false
false
524
py
from rusentrel.classic.common import classic_common_callback_modification_func CV_COUNT = 3 CV_NAME_PREFIX = u'cv_' def classic_cv_common_callback_modification_func(callback): """ This function describes configuration setup for all model callbacks. """ classic_common_callback_modification_func(callb...
[ "kolyarus@yandex.ru" ]
kolyarus@yandex.ru
043fc7966bba39396a2d0d6a71cca52101550d54
17f3568e0be991636501970fb76c4c53a71ab38d
/opsgenie_sdk/api/alert/list_saved_searches_response_all_of.py
54af2fc57517f94a7a9510294093791705444e21
[ "Apache-2.0" ]
permissive
jkinred/opsgenie-python-sdk
7b79ed8c7518de117887e6b76a3fbb5800b94020
69bbd671d2257c6c3ab2f3f113cb62bd1a941c02
refs/heads/master
2020-07-10T00:24:19.583708
2019-08-24T06:35:31
2019-08-24T06:35:31
204,118,572
0
0
NOASSERTION
2019-08-24T06:29:25
2019-08-24T06:29:24
null
UTF-8
Python
false
false
3,077
py
# coding: utf-8 """ Python SDK for Opsgenie REST API Python SDK for Opsgenie REST API # noqa: E501 The version of the OpenAPI document: 2.0.0 Contact: support@opsgenie.com Generated by: https://openapi-generator.tech """ import pprint import re # noqa: F401 import six class ListSavedSearch...
[ "zafer@opsgenie.com" ]
zafer@opsgenie.com
b512df2f51179c5b81503c7fb4d3ef456da692d3
7365f2410c139c5f4bf5ba0777ed0321322c92d9
/python/二叉树中和为某一值的路径.py
5c2c04737f7db1ddc05645e8c66ed1f70822e455
[]
no_license
EvanJamesMG/Point-to-the-offer
956a17a3c2a0d99a11428765f6af9f4ebbbe5fc3
cc9b6b7572cf819f0e53a800899e1ebd9fd6cf9d
refs/heads/master
2021-01-10T17:11:06.125860
2016-04-21T03:47:15
2016-04-21T03:47:15
52,489,364
1
0
null
null
null
null
UTF-8
Python
false
false
2,845
py
# coding=utf-8 __author__ = 'EvanJames' class ListNode: def __init__(self, x): self.val = x self.next = None class TreeNode: def __init__(self, x): self.val = x self.left = None self.right = None ''' 题目描述 输入一颗二叉树和一个整数,打印出二叉树中结点值的和为输入整数的所有路径。 路径定义为从树的根结点开始往下一直到叶结点所经过的结点形成...
[ "Evan123mg@gmail.com" ]
Evan123mg@gmail.com
75c97fc7b38cb2373276f35754ce6cf90e46de18
91863555b2bf1044a420c62a2f7e696724d5ca80
/models/pointnet_cls.py
12b466d2155e566df8fea15d3f7db5abf765ebc0
[]
no_license
SIlvaMFPedro/pointcloud-networks
dd90f6767d7e5dcbffe6f719118450929ca06d91
1369d4f74e4f6e964465d6e39157031bd83aac97
refs/heads/master
2020-12-06T22:48:01.012743
2020-02-04T17:47:24
2020-02-04T17:47:24
232,573,242
0
0
null
null
null
null
UTF-8
Python
false
false
4,113
py
# ------------------------ # IMPORTS # ------------------------ # Import the necessary packages import tensorflow as tf import numpy as np import math import sys import os BASE_DIR = os.path.dirname(os.path.abspath(__file__)) sys.path.append(BASE_DIR) sys.path.append(os.path.join(BASE_DIR, '..\\utils')) import utils....
[ "silva.mfpedro@gmail.com" ]
silva.mfpedro@gmail.com
037740a786e00e1013b215f7045a3547f1c59296
7d90d2ce27c6ee0af74391b09909edbd45fdc2f0
/renix_py_api/api_gen/IsisPortRateConfig_Autogen.py
1609c4903b9fb7ae49ff15d9a4f7e2266edacdc0
[]
no_license
gaoxingyu-hub/54testframework-master-e284
d7ea0d4a715b65c8652430e963a86b9522a7237a
57dd2197e7d91b8ad8fb2bd0e3503f10afa08544
refs/heads/master
2023-04-30T05:50:41.542402
2021-05-28T09:19:37
2021-05-28T09:19:37
309,922,838
0
0
null
null
null
null
UTF-8
Python
false
false
1,902
py
""" Auto-generated File Create Time: 2019-12-27 02:33:27 """ from .ROMEnum_Autogen import * from renix_py_api.renix_common_api import * from renix_py_api import rom_manager from .ROMObject_Autogen import ROMObject @rom_manager.rom class IsisPortRateConfig(ROMObject): def __init__(self, UpdateRoutesTransmitRate=N...
[ "gaoxingyu@example.com" ]
gaoxingyu@example.com
df3841a72cd7271a9ca254939df9eaefafd0c708
f397d08afdc45479dafe124f4664628b8c31e473
/python/migen/nmigen/nmigen/test/test_hdl_ast.py
d1c5bb52a134e7c6d4e980c96880012485e16c59
[ "BSD-2-Clause", "LicenseRef-scancode-warranty-disclaimer", "LicenseRef-scancode-unknown-license-reference" ]
permissive
eiselekd/lang
15e2110a0682f422d8cb424e100e3452b0ca00c6
a35dc9490071ca55a2ea42ca52eb0b3a93ff0a7b
refs/heads/master
2021-07-20T16:06:56.223511
2021-06-24T18:46:33
2021-06-24T18:46:33
95,143,543
0
0
null
2020-09-04T04:48:20
2017-06-22T18:10:55
C
UTF-8
Python
false
false
18,069
py
from ..hdl.ast import * from .tools import * class ValueTestCase(FHDLTestCase): def test_wrap(self): self.assertIsInstance(Value.wrap(0), Const) self.assertIsInstance(Value.wrap(True), Const) c = Const(0) self.assertIs(Value.wrap(c), c) with self.assertRaises(TypeError): ...
[ "eiselekd@gmail.com" ]
eiselekd@gmail.com
25ee11f1d07c9473ad9c0c5898e66388e55da898
7b034caedfa49de09c3883401afa001ce234dea7
/utils/queue_utils/output_job_queue.py
411660283561f473f5ec4913ea5a30c2f548de20
[ "MIT" ]
permissive
Brown-University-Library/usep_gh_handler_app
36cbc81d3233838ba0d511b27a050884d3b61baa
b271b8f26a3c27910445f1c0b55f9fbf6648865a
refs/heads/main
2023-05-28T13:44:46.124344
2021-11-08T16:06:13
2021-11-08T16:06:13
19,741,222
0
2
MIT
2023-05-22T23:19:37
2014-05-13T14:00:38
Python
UTF-8
Python
false
false
757
py
# -*- coding: utf-8 -*- import os, pprint import redis, rq queue_name = 'usep' q = rq.Queue( queue_name, connection=redis.Redis() ) print( '- number of jobs in queue `%s`: %s' % (queue_name, len(q.jobs)) ) for job in q.jobs: job_d = { '_args': job._args, '_kwargs': job._kwargs, '_func_n...
[ "birkin.diana@gmail.com" ]
birkin.diana@gmail.com
b0960bc21f347c5f635065af13576341dc352f87
499a78ab760d0cd052acb3a3abd87e22b7075fc4
/XOR/3_Favorite_byte.py
036d42fc93345cdf565afb94dba0a751389db805
[]
no_license
keithrozario/crypto_challenges
5a4588db9c25ea25e86ef18d60ee144d40dec8b9
44083440d7d9713830a2d0854d1763eb82eb78cc
refs/heads/master
2023-07-17T19:23:58.174041
2021-08-29T03:58:14
2021-08-29T03:58:14
391,328,646
0
0
null
null
null
null
UTF-8
Python
false
false
885
py
""" single_byte_xor courtesy of https://www.codementor.io/@arpitbhayani/deciphering-single-byte-xor-ciphertext-17mtwlzh30 """ def single_byte_xor(text: bytes, key: int) -> bytes: """Given a plain text `text` as bytes and an encryption key `key` as a byte in range [0, 256) the function encrypts the text by per...
[ "keithjosephrozario@gmail.com" ]
keithjosephrozario@gmail.com
ad47c84e3d814504a9b83adc133a2ed4f63c124d
c676bf5e77ba43639faa6f17646245f9d55d8687
/tests/st/ops/gpu/test_reciprocal_op.py
fb422a94cfeced98b8012bf36b72af6c9cc3b0ce
[ "Apache-2.0", "BSD-3-Clause-Open-MPI", "MPL-2.0-no-copyleft-exception", "LGPL-2.1-only", "BSD-3-Clause", "MPL-2.0", "MPL-1.0", "Libpng", "AGPL-3.0-only", "MPL-1.1", "LicenseRef-scancode-proprietary-license", "MIT", "IJG", "LicenseRef-scancode-unknown-license-reference", "Unlicense", "Z...
permissive
zhengnengjin/mindspore
1e2644e311f54a8bd17010180198a46499e9c88f
544b859bb5f46611882749088b44c5aebae0fba1
refs/heads/master
2022-05-13T05:34:21.658335
2020-04-28T06:39:53
2020-04-28T06:39:53
259,522,589
2
0
Apache-2.0
2020-04-28T03:35:33
2020-04-28T03:35:33
null
UTF-8
Python
false
false
2,302
py
# Copyright 2019 Huawei Technologies Co., Ltd # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to...
[ "leon.wanghui@huawei.com" ]
leon.wanghui@huawei.com
5b266c3c679033a85b2f0ff641d253f9095b0cad
7e5d7f35551e72cc98f3b8c10ec0dc4cfb032d95
/python/tests/test_decay.py
7affd6b2bd115c537b8e9602edd1a3da020fc616
[ "Apache-2.0" ]
permissive
ijindal/baseline
3fdf7bbff483f8b5093f90f3c8b2eb0059cd67b2
2261abfb7e770cc6f3d63a7f6e0015238d0e11f8
refs/heads/master
2020-03-19T15:16:05.757374
2019-06-28T18:50:09
2019-06-28T18:50:09
136,663,537
0
3
Apache-2.0
2019-07-10T13:16:02
2018-06-08T20:32:29
Python
UTF-8
Python
false
false
5,407
py
import six import pytest import numpy as np from mock import patch, MagicMock import baseline from baseline.train import ( create_lr_scheduler, CosineDecayScheduler, CyclicLRScheduler, ExponentialDecayScheduler, WarmupLinearScheduler, ConstantScheduler, PiecewiseDecayScheduler, ZarembaDe...
[ "dpressel@gmail.com" ]
dpressel@gmail.com
9b549beccb6cedac47258ab75915d34cdb08a1a2
eb0b328aabcaea4c65f50776efacc7ffeb4f0f00
/pages/migrations/0001_initial.py
1c29a4a665a46ce318302e89489b20d335d60819
[]
no_license
skiboorg/webtouch
06dc03b614d7b51ff3ee330e5d60649f80cd903c
32f16f78a4bb437c33c5363fa528bf2325bced7b
refs/heads/master
2022-03-13T01:50:34.266663
2019-10-21T18:37:21
2019-10-21T18:37:21
null
0
0
null
null
null
null
UTF-8
Python
false
false
4,232
py
# Generated by Django 2.2.6 on 2019-10-05 12:49 import ckeditor_uploader.fields from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): initial = True dependencies = [ ] operations = [ migrations.CreateModel( name='Filter...
[ "ddnnss.i1@gmail.com" ]
ddnnss.i1@gmail.com
2c41dced7d5f2643e2a0b5a13d1489e2dcfedae6
19da1a56f137a08772c347cf974be54e9c23c053
/lib/adafruit_st7789.py
48646518e9885771e3c8fc07206f09314fa59323
[]
no_license
mk53202/mk53202-timeclock-pyportal
d94f45a9d186190a4bc6130077baa6743a816ef3
230a858d429f8197c00cab3e67dcfd3b295ffbe0
refs/heads/master
2021-02-04T05:38:25.533292
2020-02-27T22:45:56
2020-02-27T22:45:56
243,626,362
0
0
null
null
null
null
UTF-8
Python
false
false
2,370
py
# The MIT License (MIT) # # Copyright (c) 2019 Melissa LeBlanc-Williams for Adafruit Industries LLC # # Permission is hereby granted, free of charge, to any person obtaining a copy # of this software and associated documentation files (the "Software"), to deal # in the Software without restriction, including with...
[ "mkoster@stack41.com" ]
mkoster@stack41.com
b441203e8ef873ce091b06bce5476c06a40a47c3
46349356d4812a6bf04a1dff4ee3311864f8b7ff
/ma_py/_main_plt_corr.py
6cb586b4594b4b189e47762f33f86382e29e4968
[]
no_license
alexdoberman/ma
1ca9d20f64d0e8c87feff9f7bb04d09d3088aeb3
219e5e87b80c6a795c0d4161b3ad22b9973ed745
refs/heads/master
2022-07-17T13:15:21.672335
2020-05-12T15:10:40
2020-05-12T15:10:40
263,365,873
12
2
null
null
null
null
UTF-8
Python
false
false
1,014
py
# -*- coding: utf-8 -*- import numpy as np import soundfile as sf import matplotlib.pyplot as plt def determine_lag(x, y, max_lag): lags = [] for i in range(-max_lag, max_lag+1, 1): corr = np.sum(x*np.roll(y, i)) lags.append((i, corr)) m = max(lags, key=lambda item:item[1]) # print (m...
[ "lavrentyev@speechpro.com" ]
lavrentyev@speechpro.com
ff6ff4dd32a8e0b3c0eaf443ed4b9d02228659cb
2c2dc695fc0e91a9662ae1de8e288447c347dcde
/ABC/ABC153/A.py
4e4dcbc96819ad0073091a3f25e0cc7a2d998664
[]
no_license
meniscus/AtCoder
8b6409cf606a6f6449592c9a28ab0a8c4e758231
3af11aa2b0e7f89e5015974e8594bb541856a87f
refs/heads/master
2020-04-04T18:34:22.668206
2020-03-25T08:06:59
2020-03-25T08:06:59
156,169,040
0
0
null
null
null
null
UTF-8
Python
false
false
95
py
H,A = map(int,input().split()) c = H // A if (H % A == 0) : print(c) else : print(c+1)
[ "kyoro5454@hotmail.com" ]
kyoro5454@hotmail.com
3fd23346262334fba48dee9f799388d525f000d3
e9e6d21b802240944537298687f5327fca4390a1
/biomass/models/nfkb_pathway/reaction_network.py
b995a39682410883e5f4cf070c547cb1749794c9
[ "Apache-2.0" ]
permissive
biomass-dev/biomass
dda8be0e4d481cf8d6378c5631443f625afe8804
2cc3ee62feab23d9224f82f0d15a3fed7c970a11
refs/heads/master
2023-08-03T04:42:33.192893
2023-06-20T10:03:27
2023-06-20T10:03:27
215,932,388
9
6
Apache-2.0
2023-08-30T20:10:18
2019-10-18T03:16:39
Python
UTF-8
Python
false
false
289
py
from typing import Dict, List class ReactionNetwork(object): """ Reaction indices grouped according to biological processes. This is used for sensitivity analysis (target='reaction'). """ def __init__(self) -> None: self.reactions: Dict[str, List[int]] = {}
[ "31299606+himoto@users.noreply.github.com" ]
31299606+himoto@users.noreply.github.com
a07fe7f010b5e816c382596e87dd1d9a64e75a29
ab08ed332d23aa5c098a67588676bf6752ff99b9
/semantic_segmentation/cli_interface.py
a26688eb42539860c0d3f31c25209d9aeefb9068
[]
no_license
Mulham91/Deep-Learning-based-Pixel-wise-Lesion-Segmentationon-Oral-Squamous-Cell-Carcinoma-Images
9bffb448265da755220961081dc21f2ae97c8694
17cf7751825fb755fcf77eb2b41317965a1a8189
refs/heads/master
2023-01-15T11:25:19.816351
2020-11-12T11:04:32
2020-11-12T11:04:32
312,130,175
3
0
null
null
null
null
UTF-8
Python
false
false
5,043
py
#!/usr/bin/env python import sys import argparse from train import train from data_utils.data_loader import verify_segmentation_dataset def train_action(command_parser): parser = command_parser.add_parser('train') parser.add_argument("--model_name", type=str, required=True) parser.add_argument("--train_...
[ "you@example.com" ]
you@example.com
e24ab27b4f8c46be37dd4e0f1d28b3e80022a1e2
13ba35a1b41f56a6791f65ff06aa6a7c6a34b60a
/tests/tests/test_helpers.py
92e262de402ec9360cf567d1ab20276edeb45599
[ "BSD-3-Clause" ]
permissive
dldevinc/django-spectrum
ea60b63feec313c87efc19effe31d455b243c99e
66e69ace7d508219eb69aee3b1ed421df2bf3013
refs/heads/main
2023-09-04T04:52:48.530659
2023-08-18T05:40:23
2023-08-18T05:40:23
166,020,131
3
0
BSD-3-Clause
2023-08-18T05:15:10
2019-01-16T10:22:37
Python
UTF-8
Python
false
false
8,064
py
from decimal import Decimal import pytest from spectrum.exceptions import InvalidColorTypeError, InvalidColorValueError from spectrum.helpers import ( format_color, format_color_byte, format_color_bytes, format_hexa, format_rgba, fraction_to_color_byte, re_hexa, re_rgba, ) class Test...
[ "pix666@ya.ru" ]
pix666@ya.ru
7cd515c70857edaa3a49a304f0e8bfa0bca864ea
0e1e643e864bcb96cf06f14f4cb559b034e114d0
/Exps_7_v3/doc3d/I_w_M_to_Wxyz_focus_Z_ok_BN/pyr_Tcrop256_pad20_jit15/pyr_2s/L8/step10_a.py
a7aa31fc7e2b5140b5965eb442adde91a9cc83d0
[]
no_license
KongBOy/kong_model2
33a94a9d2be5b0f28f9d479b3744e1d0e0ebd307
1af20b168ffccf0d5293a393a40a9fa9519410b2
refs/heads/master
2022-10-14T03:09:22.543998
2022-10-06T11:33:42
2022-10-06T11:33:42
242,080,692
3
0
null
null
null
null
UTF-8
Python
false
false
29,703
py
############################################################################################################################################################################################################# ##################################################################################################################...
[ "s89334roy@yahoo.com.tw" ]
s89334roy@yahoo.com.tw
0ddceaa4205fd6cdf94a419ca62cfc4e9c5534dd
22ff0921aee459abd0a3c15281de80ba6b4035bf
/March/day 10 filefand/writebinaryfile.py
79f9f619a263d7cf34ccffa69cb421d7ec836a30
[]
no_license
BhushanTayade88/Core-Python
b0516f234b866682931af95b723adb1269fb946a
f687e4029e3a3aaf751538604dfd06386084252b
refs/heads/master
2023-08-03T02:09:38.536580
2021-10-05T17:25:20
2021-10-05T17:25:20
413,910,551
0
0
null
null
null
null
UTF-8
Python
false
false
224
py
f = open("emo.jpg","rb") print("file opened") copy=f.read() f.close() print("file is closedd") print("file closed") nf=open("emo2.jpg","wb") print("new file open") nf.write(copy) nf.close() print("new file is closed ")
[ "tayadebhushan55@gmail.com" ]
tayadebhushan55@gmail.com
f2f001784249ff00c32e2d4b2a861044e4a83a65
57bf4de402076b3d3bd13860d54bffbc1e042a62
/class/lect/Lect-04/cars2.py
0bf9ffa7146a79e1c72dc042209607b9b0a68dd0
[ "MIT" ]
permissive
Mathieu0321/F21-1010
25516db6936d251a771f6349256daf69d7f5b1c6
4ad6b67cc7a821acaf7c64e25408e74590a56bb3
refs/heads/main
2023-07-29T10:44:18.102154
2021-09-09T13:12:00
2021-09-09T13:12:00
404,817,216
1
0
MIT
2021-09-09T17:46:07
2021-09-09T17:46:06
null
UTF-8
Python
false
false
89
py
cars = ['Tesla','bmw','Mercedes-Benz','Aion'] cars print(cars) cars.sort() print(cars)
[ "pschlump@gmail.com" ]
pschlump@gmail.com
f91a4af0af8738551ddd58b1d20701c183c3fca4
b57b0a14df5c6841f04cccb7b02ad04afbca18f8
/tokumx/tests/conftest.py
07db4ebe9b173d851efc0f9d166f5c6401272b64
[ "AFL-3.0", "BSD-3-Clause-Modification", "LGPL-3.0-only", "Unlicense", "LGPL-2.1-only", "BSD-3-Clause", "Apache-2.0", "BSD-2-Clause" ]
permissive
zeroc0d3/integrations-core
d9c99803c049668b7f9f9c796d338e343d3d46ee
634d567f3c38d32aabb3f4c16b50bcfa8a4ae0fb
refs/heads/master
2021-09-28T18:37:00.650406
2021-09-13T11:59:45
2021-09-13T11:59:45
199,758,958
0
0
BSD-3-Clause
2019-07-31T02:01:25
2019-07-31T02:01:24
null
UTF-8
Python
false
false
1,526
py
# (C) Datadog, Inc. 2018-present # All rights reserved # Licensed under a 3-clause BSD style license (see LICENSE) import os from copy import deepcopy import pytest from datadog_checks.dev import docker_run from datadog_checks.tokumx import TokuMX from datadog_checks.tokumx.vendor import pymongo from . import commo...
[ "noreply@github.com" ]
zeroc0d3.noreply@github.com
402ae794cbed008bcc92a443ec9d21ff20da1fcc
e3365bc8fa7da2753c248c2b8a5c5e16aef84d9f
/indices/nnbinomi.py
f14515d56f96f0df0c789cc1ad1feec6f9801b6e
[]
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
43
py
ii = [('BachARE.py', 8), ('SomeMMH.py', 2)]
[ "varunwachaspati@gmail.com" ]
varunwachaspati@gmail.com