blob_id
stringlengths
40
40
directory_id
stringlengths
40
40
path
stringlengths
3
288
content_id
stringlengths
40
40
detected_licenses
listlengths
0
112
license_type
stringclasses
2 values
repo_name
stringlengths
5
115
snapshot_id
stringlengths
40
40
revision_id
stringlengths
40
40
branch_name
stringclasses
684 values
visit_date
timestamp[us]date
2015-08-06 10:31:46
2023-09-06 10:44:38
revision_date
timestamp[us]date
1970-01-01 02:38:32
2037-05-03 13:00:00
committer_date
timestamp[us]date
1970-01-01 02:38:32
2023-09-06 01:08:06
github_id
int64
4.92k
681M
star_events_count
int64
0
209k
fork_events_count
int64
0
110k
gha_license_id
stringclasses
22 values
gha_event_created_at
timestamp[us]date
2012-06-04 01:52:49
2023-09-14 21:59:50
gha_created_at
timestamp[us]date
2008-05-22 07:58:19
2023-08-21 12:35:19
gha_language
stringclasses
147 values
src_encoding
stringclasses
25 values
language
stringclasses
1 value
is_vendor
bool
2 classes
is_generated
bool
2 classes
length_bytes
int64
128
12.7k
extension
stringclasses
142 values
content
stringlengths
128
8.19k
authors
listlengths
1
1
author_id
stringlengths
1
132
94b4498e87b5fad93fd72fd2a79b547a1a5996e3
0e9b2916470bc355f778c9d9c066eeb142a937f8
/struct2tensor/tools/build_docs.py
b4f5dc66cded63f46f734c70548769bf5f3598da
[ "Apache-2.0" ]
permissive
google/struct2tensor
9805515f9b4e9da458dec67f435423e5c26064f7
86d8676ac295697853be8a194460e4d71de3990f
refs/heads/master
2023-09-02T01:53:48.350908
2023-08-10T18:46:22
2023-08-10T18:46:56
196,274,653
36
41
Apache-2.0
2023-08-10T18:50:01
2019-07-10T21:02:42
Python
UTF-8
Python
false
false
4,893
py
# 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 agreed to in writing, ...
[ "tensorflow-extended-nonhuman@googlegroups.com" ]
tensorflow-extended-nonhuman@googlegroups.com
73cfd2ad99f932951ac2c24f0de42fb2f37178b9
9019fafa09d93b06c84444c0b1c0d41e6358c06b
/offset/os/signal.py
8d1710f9c6b794f9091cce05a756e071ed7e7615
[ "MIT", "LicenseRef-scancode-unknown-license-reference", "BSD-3-Clause" ]
permissive
weimingzhen/offset
bb1c18edcd84307c4c0bfb08d4fb5b99e65f3410
077a9278c0e01ed1aaaa3923939316dc03ed5e6e
refs/heads/master
2021-01-15T08:04:29.895003
2013-10-25T09:18:16
2013-10-25T09:18:37
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,903
py
import weakref from ..core import default, go, gosched, select from ..core.kernel import signal_enable, signal_disable from ..core.sigqueue import NUMSIG from ..sync import Mutex from ..sync.atomic import AtomicLong from ..syscall import signal class Handler(object): def __init__(self): self.mask = set(...
[ "bchesneau@gmail.com" ]
bchesneau@gmail.com
ae083d68844ab7b5ef1b10842ff1ef2dcc318d26
4d327de5447519d3c00e6572f74362380783006f
/source/res/scripts/client/gui/Scaleform/daapi/view/lobby/manual/manual_main_view.py
b7d32fa93782aab0db8e791416b28263dacd4175
[]
no_license
XFreyaX/WorldOfTanks-Decompiled
706ac55d919b766aa89f90c97a75672bf2142611
5025466edd0dd3e5e50a6c60feb02ae793f6adac
refs/heads/master
2021-09-21T15:10:32.655452
2018-08-28T07:34:00
2018-08-28T07:34:00
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,738
py
# Python bytecode 2.7 (decompiled from Python 2.7) # Embedded file name: scripts/client/gui/Scaleform/daapi/view/lobby/manual/manual_main_view.py import logging from gui.Scaleform.daapi.view.meta.ManualMainViewMeta import ManualMainViewMeta from gui.Scaleform.locale.RES_ICONS import RES_ICONS from gui.shared import eve...
[ "StranikS_Scan@mail.ru" ]
StranikS_Scan@mail.ru
ed216c5522743e233037945a7114c70b08cc4a2e
4a615597d6ac79cae9f770166629c26f1ae27ebb
/ecsi_constants.py
a1639591d9f0c4f5f903588260a9e85376c844b3
[]
no_license
brodanielx/student-loans-scraper
0bb35e95d59c853ef48d07f84bfceb21630b132b
37b2f8c56eba816e618f343c9468bb09ddc10839
refs/heads/master
2020-04-26T02:34:57.803607
2019-03-22T11:43:02
2019-03-22T11:43:02
173,238,711
0
0
null
null
null
null
UTF-8
Python
false
false
198
py
student_id_input_name = 'id' pin_input_name = 'pwd' login_button_name = 'Login' balance_and_billing_link_text = 'Balance and Billing' current_account_balance_link_text = 'Current Account Balance'
[ "bro.danielx@gmail.com" ]
bro.danielx@gmail.com
94932259378e9d947b5bb394602819f95ed9815c
8cb8bfd2dae516612251039e0632173ea1ea4c8a
/modules/analyzes/console/models.py
1a91cbc2a1d6f5e8a069be1c1333d366506da162
[]
no_license
nyzsirt/lift-prod
563cc70700d26a5812a1bce0bd9795998dce6e99
9a5f28e49ad5e80e422a5d5efee77a2d0247aa2b
refs/heads/master
2020-04-22T01:05:42.262876
2019-02-09T13:31:15
2019-02-09T13:31:15
170,003,361
1
0
null
2019-02-10T17:11:50
2019-02-10T17:11:50
null
UTF-8
Python
false
false
972
py
import datetime from mongoengine import Document from mongoengine import StringField from mongoengine import DateTimeField from mongoengine import ObjectIdField from mongoengine import DecimalField from mongoengine import ReferenceField from modules.analyzes.console.consoletype.models import ConsoleType from modules....
[ "mutlu.erdem@soft-nec.com" ]
mutlu.erdem@soft-nec.com
7274bf83d4f815c7da5410e68e26a0d44242e9bc
9d0195aa83cc594a8c61f334b90375961e62d4fe
/JTTest/SL7/CMSSW_10_2_15/src/miniAODJobs400to600/nano7.py
2c5178bf755bfc734fb9b6014e02ca1c20c22086
[]
no_license
rsk146/CMS
4e49592fc64f6438051544c5de18598db36ed985
5f8dab8c59ae556598b9747b52b88205fffc4dbe
refs/heads/master
2022-12-01T03:57:12.126113
2020-08-04T03:29:27
2020-08-04T03:29:27
284,863,383
0
0
null
null
null
null
UTF-8
Python
false
false
4,363
py
# Auto generated configuration file # using: # Revision: 1.19 # Source: /local/reps/CMSSW/CMSSW/Configuration/Applications/python/ConfigBuilder.py,v # with command line options: nanoAOD_jetToolbox_cff -s NANO --mc --eventcontent NANOAODSIM --datatier NANOAODSIM --no_exec --conditions 102X_upgrade2018_realistic_v19 -...
[ "rsk146@scarletmail.rutgers.edu" ]
rsk146@scarletmail.rutgers.edu
ce4445bf45c4b681f72488cebf8a0e47969f5cd2
5da7048c8feebaead2823b7367eb2918d6b4a2f9
/cgi-programming/cgi-bin/set_cookie.py
c3124030f75ce8c86adca9217461bcd13f12c67c
[]
no_license
leiurus17/tp_python
e2bfc38a1152e11ae9991bb6a1a6b0e1ef7ee2ad
8d5b8412d67ececbaa798482e364274b3cbeda03
refs/heads/master
2021-09-04T17:29:46.796163
2018-01-20T12:51:12
2018-01-20T12:51:12
null
0
0
null
null
null
null
UTF-8
Python
false
false
275
py
print "Set-Cookie:UserID = XYZ;\r\n" print "Set-Cookie:Password = XYZ123;\r\n" print "Set-Cookie:Expires = Tuesday, 31-Dec-2018 23:59:59 GMT;\r\n" print "Set-Cookie:Domain = www.google.com;\r\n" print "Set-Cookie:Path = /perl;\n" print "Content-type:text/html\r\n\r\n"
[ "martianworm17@gmail.com" ]
martianworm17@gmail.com
8453ffa4d71add9bded88d037892a47c4f908748
1570802981f88165bb0b2db6e7999330eedefdab
/setup.py
ae9d7583da4d68aa53416a8b7de907e43d596c0f
[]
no_license
seantyh/KabelParser
a6b915446c4c6408471e4c8d65f438e54aa5efff
6aaaa01c6d40bd1d280c83c817756321aed17981
refs/heads/master
2021-01-19T14:49:24.163734
2017-08-21T14:57:56
2017-08-21T14:57:56
100,927,463
0
0
null
null
null
null
UTF-8
Python
false
false
304
py
from setuptools import setup setup(name="KabelParser", version="0.1", description="Kabel syntax parser", url="https://github.com/seantyh/KabelParser.git", author="Sean Tseng", license="GNUv3", test_suite="tests", packages=["KabelParser"], zip_safe=False)
[ "seantyh@gmail.com" ]
seantyh@gmail.com
0249bab0cf139b45ed975508423f6537680a1eeb
24688b833f0ee0bcedaa709b35bf2ceee0ce069e
/mass_profiles/nfw.py
3b0aa93b8d5d6fc8bd3c70acfd30fd7114d30c79
[]
no_license
astrosonnen/spherical_jeans
5a594759353c631e89ae109fd1f9253e267dceb2
eae0f4c0cc8f6ee1e882561382c3f133e4ffc28d
refs/heads/master
2023-01-25T00:11:29.785822
2023-01-09T08:19:13
2023-01-09T08:19:13
195,091,771
1
0
null
null
null
null
UTF-8
Python
false
false
1,146
py
import numpy as np #to get quantities in physical units, everything should be multiplied by 4*pi*rhoc*rs**3=M200/M3d(c) def gfunc(x): x = np.atleast_1d(x) g = x*.0 arr = x[x<1] g[x<1] = np.log(arr/2) + 1/np.sqrt(1 - arr**2)*np.arccosh(1/arr) arr = x[x==1] g[x==1] = 1 + np.log(0.5) arr = x...
[ "sonnenfeld@strw.leidenuniv.nl" ]
sonnenfeld@strw.leidenuniv.nl
122ec478539ec73560e9eac24f794ea3594a18bf
a61b6d0d62e7c3a425f213e6e028e7ff93b49ff0
/Twitter/migrations/0010_auto_20190426_0516.py
390baae94eb51f096ef177d96722642bb92876db
[]
no_license
gdmurray/liveontwitch-backend
2fc12895a61ea094ae7cc2e19ed4fb9ec02e0df5
1e1079e085610965a06d7275b02a3a0753e92e58
refs/heads/master
2022-12-12T10:35:19.773243
2019-05-29T00:52:42
2019-05-29T00:52:42
183,521,494
0
0
null
2022-05-25T01:40:54
2019-04-25T23:03:57
Python
UTF-8
Python
false
false
787
py
# Generated by Django 2.2 on 2019-04-26 05:16 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('Twitter', '0009_twitteraccount_description'), ] operations = [ migrations.AddField( model_name='twitteraccount', name=...
[ "gd-murray@hotmail.com" ]
gd-murray@hotmail.com
005a164d9384cf6d7fca0ad658a18f1db2096182
ba8f5d23d9878a25b30a32cf16e8833f93b25853
/source_py2/test_python_toolbox/test_cute_iter_tools/test_shorten.py
072087b5502e23272b9781fb8354f84ce1243385
[ "MIT" ]
permissive
nastako/python_toolbox
af520cbec1468c8e0aae0b3b1c467ca5623af45b
9713fd728608818630ee409ac6a6fdaf863af31b
refs/heads/master
2020-12-11T09:07:19.681161
2015-01-16T21:26:37
2015-01-16T21:26:37
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,798
py
# Copyright 2009-2015 Ram Rachum. # This program is distributed under the MIT license. '''Testing module for `python_toolbox.cute_iter_tools.shorten`.''' import nose.tools from python_toolbox import nifty_collections from python_toolbox import cute_iter_tools from python_toolbox.cute_iter_tools import shorten infi...
[ "ram@rachum.com" ]
ram@rachum.com
7826b14618df9fec38c48efcda50a46abefba08b
122f9bf0d996c104f541453ab35c56f6ff3fc7cd
/ExhaustiveSearch/2571_색종이3.py
bbd2616e42447c19f72e1d35539edb673747fd76
[]
no_license
JannaKim/PS
1302e9b6bc529d582ecc7d7fe4f249a52311ff30
b9c3ce6a7a47afeaa0c62d952b5936d407da129b
refs/heads/master
2023-08-10T17:49:00.925460
2021-09-13T02:21:34
2021-09-13T02:21:34
312,822,458
0
0
null
2021-04-23T15:31:11
2020-11-14T13:27:34
Python
UTF-8
Python
false
false
808
py
import sys; input= lambda: sys.stdin.readline().rstrip() n= int(input()) dp= [[0]*100 for _ in range(100)] for _ in range(n): y,x= map(int, input().split()) for i in range(y,y+10): for j in range(x,x+10): dp[i][j]=1 for i in range(100): for j in range(100): if dp[i][j] and j>=1:...
[ "baradamoh@gmail.com" ]
baradamoh@gmail.com
f5548c3c4ae3560539c17a7c142f18501c4b9436
5f32815c5e9261cfb6823d139f760eb351b8f2df
/tests/test_signals.py
e00e79e2f6965b64deef2ff1012083a5b3b8169e
[ "MIT" ]
permissive
IcyCC/quart
8aabb9a583d312977c192232a9a5dd72b835d83e
c714109e55cd55b63810ecdb46f841a09b93dfa1
refs/heads/master
2020-04-17T21:01:10.423207
2019-01-18T17:16:10
2019-01-18T17:16:59
null
0
0
null
null
null
null
UTF-8
Python
false
false
532
py
from typing import Any import pytest from quart.signals import AsyncNamedSignal @pytest.mark.asyncio async def test_async_signal() -> None: signal = AsyncNamedSignal('name') fired = [False, False] def sync_fired(*_: Any) -> None: nonlocal fired fired[0] = True async def async_fired...
[ "philip.graham.jones@googlemail.com" ]
philip.graham.jones@googlemail.com
143ea53a8fe865da9563e94326da39c1d2d009f7
b9cf16a742b91251fa4757105814db775b8a3d00
/model.py
cb710feecd25491bdd0bb625f9436a6101cf146a
[]
no_license
CelineSiyiYU/Kaggle_Titanic
896a270a9e0ee58c282c8b70bd4b2528f3a44abf
1037d364f007bc8d88d4ae06a49f0ae1f1ba34da
refs/heads/master
2020-04-01T14:55:24.994636
2018-10-16T16:01:17
2018-10-16T16:01:17
153,313,690
0
0
null
null
null
null
UTF-8
Python
false
false
383
py
from sklearn.ensemble import RandomForestClassifier from data_processing import get_X_Y_train rf = RandomForestClassifier(n_estimators=200, max_depth=4) X_train, Y_train, X_test = get_X_Y_train() rf.fit(X_train, Y_train) pred = rf.predict(X_test) import pandas as pd sub = pd.read_csv('gender_submission.csv') sub[...
[ "you@example.com" ]
you@example.com
93e12d8fa212ba34814b7a5e5f5ce7e3b0b21a31
c2758f58b29917e5f00cdf19389a0f55b2975eae
/oldstuff/pyframe/examples/triplet.py
d4f5b2feecead4507070c59e2892485b7b7e2584
[]
no_license
rdemaria/pyoptics
4cf0b59e3524996de84c38a98a1444509246e9d4
6679a7589c751285757b8166c76aeaa1359742da
refs/heads/master
2023-07-08T19:55:50.364373
2023-06-30T09:50:12
2023-06-30T09:50:12
25,566,323
6
11
null
2023-06-14T12:31:15
2014-10-22T06:47:52
Python
UTF-8
Python
false
false
613
py
from abpyutils import * from scipy.optimize import fsolve s=trtable('d0 q1 d1 q2 d2 q3 d3 q4 d4 end') s.d0.l, s.d1.l, s.d2.l, s.d3.l, s.d4.l = 23, 2.7, 1, 2.9, 10 s.q1.l, s.q2.l = 9.2, 7.8 s.q1.knl1 = 122./23350*s.q1.l def cons(): s.q3.l, s.q4.l = s.q2.l, s.q1.l s.q2.knl1 = -s.q1.knl1/s.q1.l*s.q2.l s.q3.knl1, ...
[ "riccardodemaria@gmail.com" ]
riccardodemaria@gmail.com
0d6961f9059ea7f01179f393afb167c050eefe6b
1403d8670aa2e3ad6b72524688ca6318a84cd1f2
/Chapter 3/count_digrams_practice.py
1ff6ec33ff81ff013a6119cc06fbabd716a35a1e
[]
no_license
afettouhi/ImpracticalPythonProjects-py38
033037a9b9b4af1401b968fa6f51fa0adde8be3f
074b9f8b77d72cac2bb33f57a918c509a4f0ef17
refs/heads/master
2023-01-07T08:05:42.849002
2020-11-02T06:12:58
2020-11-02T06:12:58
304,799,612
0
0
null
null
null
null
UTF-8
Python
false
false
1,003
py
""" Generate letter pairs in Voldemort & find their frequency in a dictionary. Requires load_dictionary.py module to load an English dictionary file. """ import re from collections import defaultdict from itertools import permutations import load_dictionary word_list = load_dictionary.load('../data/2of4brif.txt') n...
[ "A.Fettouhi@gmail.com" ]
A.Fettouhi@gmail.com
29b0e89e2c0bf424fa5bb87364c21c2f4ec6e5ef
3da29484b8d6d598c75dc5446be89c96c8209e3e
/scripts/fitters/syst_norm_kpi_2011_unblinded_delmg3inc.py
585887723a84c5edb3613e6f213692f063322024
[]
no_license
betatim/glowing-wookie
71560dd14cd23466e629dadc6de270c04d848016
fb327714cd066c7c58864d6aec8424271d147f06
refs/heads/master
2016-09-05T19:39:30.174535
2014-08-08T16:25:21
2014-08-08T16:25:21
null
0
0
null
null
null
null
UTF-8
Python
false
false
507
py
#doGof = True def changeConstants(w): w.obj('Norm_D0M_Sig_Gaus1_Frac').setVal(0.7) w.obj('Norm_DelM_Sig_Gaus1_Frac').setVal(0.25) w.obj('Norm_DelM_Sig_Gaus3_Frac').setVal(0.25) config = { #'doFit':False, 'doLimits':False, 'doNlls':True, 'doProfile':False, 'doSPlot':False, #'do...
[ "thomas.bird@cern.ch" ]
thomas.bird@cern.ch
b3a08aaaf23ed7398ba4045d5ce93859dda11251
a689a72d3699883d7b58bd4ee3103373270bd0d5
/2019/1912/BJ2178.py
d25de63f697e1ca4f25182f5e0a0b1d6c16a4228
[]
no_license
Oizys18/Algo
4670748c850dc9472b6cfb9f828a3ccad9c18981
45caafe22a8a8c9134e4ff3b227f5f0be94eefe7
refs/heads/master
2022-05-11T08:35:06.812539
2022-05-07T01:30:41
2022-05-07T01:30:41
202,690,024
4
1
null
null
null
null
UTF-8
Python
false
false
828
py
# 미로탐색 # N은 세로 M은 가로 N, M = map(int, input().split()) maze = [[int(i) for i in input()] for _ in range(N)] visit = [[0]*M for _ in range(N)] dx = [0,0,-1,1] dy = [1,-1,0,0] # print(maze) def pathFinder(x,y): if 0 <= x < N and 0 <= y < M: if maze[x][y] == 1: return True else: ...
[ "oizys18@gmail.com" ]
oizys18@gmail.com
2245d2d1e5ace385a86a7762327c6917cc683400
f83e6935c5b61c8d5232d3a327a932f4794433f5
/apps/performance/api/models/HCSLS_Profession.py
09f0d3d374164e6f2a0674a183bf4e60060f2a63
[]
no_license
nttlong2018/hr-python
2965cf9858fee356558dce2e2482b41109c6c774
7916b812f6f9759a27395f7e78c30c07200f8502
refs/heads/master
2020-03-07T14:01:12.550849
2018-07-20T11:08:22
2018-07-20T11:08:22
127,516,483
0
0
null
null
null
null
UTF-8
Python
false
false
940
py
from config import database, helpers, db_context import base _hasCreated=False def HCSLS_Profession(): global _hasCreated if not _hasCreated: helpers.extent_model( "HCSLS_Profession", "base", [["profession_code"]], profession_code=helpers.create_...
[ "zugeliang2000@gmail.com" ]
zugeliang2000@gmail.com
72702d83902ab5e369a90ebd8e4a6bfafa7c6b70
5d65f00e3fb6c84779f14ec0be852f1da285aec2
/tests/components/zwave_js/test_siren.py
937b2c0fa6780bf34dcc29cfa89b8dcaa6d40909
[ "Apache-2.0" ]
permissive
Shahzad6077/core
b448ff00ef4fed131c70c0671635b7b4c62dd23d
e0873493e2f77e9702601969712f6d2c1536aaef
refs/heads/master
2023-07-09T18:11:20.778850
2021-08-16T03:49:10
2021-08-16T03:49:10
397,514,065
2
0
Apache-2.0
2021-08-18T07:36:53
2021-08-18T07:36:53
null
UTF-8
Python
false
false
4,369
py
"""Test the Z-Wave JS siren platform.""" from zwave_js_server.event import Event from homeassistant.components.siren import ATTR_TONE, ATTR_VOLUME_LEVEL from homeassistant.const import STATE_OFF, STATE_ON SIREN_ENTITY = "siren.indoor_siren_6_2" TONE_ID_VALUE_ID = { "endpoint": 2, "commandClass": 121, "co...
[ "noreply@github.com" ]
Shahzad6077.noreply@github.com
f704aab5ee6af03c511f9171c1accaab3afd4a88
1419418226b6ba0f510649daaf62b71554cc2284
/amatrice/plot_aftershck_sections.py
11bdcbe1dce5d9c85bc0992f0103869a45fece66
[]
no_license
shineusn/mylife
2ef48a777e39be2ef746c3dad16ea963d5b23e5e
61dfa72d9047551746d26b7fe01fb5c2f1f0657a
refs/heads/master
2020-03-22T13:44:42.422127
2018-02-13T18:09:43
2018-02-13T18:09:43
null
0
0
null
null
null
null
UTF-8
Python
false
false
5,304
py
from numpy import genfromtxt,array,zeros,linspace,where,r_,unique,tile from matplotlib import pyplot as plt from pyproj import Geod #afters=genfromtxt('/Users/dmelgar/Amatrice2016/afters/afters.xyz') #afters_x=afters[:,0] #afters_y=afters[:,1] afters_load=genfromtxt('/Users/dmelgar/Amatrice2016/afters/nonlinloc.dat'...
[ "dmelgar@berkeley.edu" ]
dmelgar@berkeley.edu
794266680b9884b34883798b127a2253a1d74970
52585c8d95cef15199c18ba1a76899d2c31329f0
/05PythonCookbook/ch4IteratorsAndGenerators/countdown_demo_42.py
759d06a35c5e65ec9df39531a4054ff4828a39b5
[]
no_license
greatabel/PythonRepository
c7a952257303a21083ed7d535274c339362bd126
836fcdd3f5c1b150122302685104fe51b5ebe1a3
refs/heads/master
2023-08-30T15:56:05.376391
2023-08-26T03:34:14
2023-08-26T03:34:14
29,392,599
33
6
null
2023-02-14T13:33:21
2015-01-17T13:54:58
Python
UTF-8
Python
false
false
547
py
#https://pypi.python.org/pypi/colorama import colorama from colorama import Fore, Back, Style def countdown(n): print("Starting to count from",n) while n>0: yield n n -= 1 print("Done!") def main(): try: c = countdown(3) print(next(c)) print(next(c)) p...
[ "greatabel1@126.com" ]
greatabel1@126.com
2f49e36e53f985ea3de4fea40cd6ffc1e10edfb9
b1ff1b8920f8bee4d9fdaad938b25daedc51f7ad
/backend/lna/migrations/0005_auto_20190211_1315.py
3e62ab50d7a4c7829363c4e7d06a49140ce213ec
[]
no_license
linea-it/lna
141d051c8b3e3c061ef2016ee48276a4538ddc88
dd7c82059c41180d584bd8b201ea2d843878ef8e
refs/heads/master
2022-12-17T12:29:04.291593
2020-07-01T19:27:21
2020-07-01T19:27:21
148,836,030
0
0
null
2022-12-09T13:57:18
2018-09-14T20:00:05
JavaScript
UTF-8
Python
false
false
429
py
# Generated by Django 2.1.5 on 2019-02-11 13:15 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('lna', '0004_auto_20190211_1313'), ] operations = [ migrations.AlterField( model_name='exposure', name='file_path', ...
[ "glauber.vila.verde@gmail.com" ]
glauber.vila.verde@gmail.com
c1a0f9ad8fd1186739083d822c3f44ed8a8a7f21
2c95e0f7bb3f977306f479d5c99601ab1d5c61f2
/olive/wallet/puzzles/prefarm/make_prefarm_ph.py
803d9e44d003d6c6e7e3fc8a8325298e1972ab79
[ "Apache-2.0" ]
permissive
Olive-blockchain/Olive-blockchain-CLI
d62444f8456467f8105531178d2ae53d6e92087d
8c4a9a382d68fc1d71c5b6c1da858922a8bb8808
refs/heads/main
2023-07-19T03:51:08.700834
2021-09-19T16:05:10
2021-09-19T16:05:10
406,045,499
0
0
Apache-2.0
2021-09-19T16:05:10
2021-09-13T16:20:38
Python
UTF-8
Python
false
false
2,223
py
from clvm.casts import int_from_bytes from clvm_tools import binutils from olive.consensus.block_rewards import calculate_base_farmer_reward, calculate_pool_reward from olive.types.blockchain_format.program import Program from olive.types.condition_opcodes import ConditionOpcode from olive.util.bech32m import decode_p...
[ "87711356+Olive-blockchain@users.noreply.github.com" ]
87711356+Olive-blockchain@users.noreply.github.com
6469051a8f3b1d5c63559a54f4219206f14c9168
a64b8fc6c9e81d433878009249fe9c9a109a602c
/core/script/oidrules/oids.py
610f348a4211a2f764084da2d21a1c0e5ace307f
[ "BSD-3-Clause" ]
permissive
ewwwcha/noc
d1de6fe1d556e0f14a0dd31c600844cf43c96728
aba08dc328296bb0e8e181c2ac9a766e1ec2a0bb
refs/heads/master
2020-07-29T10:10:30.862660
2019-09-20T07:54:52
2019-09-20T07:54:52
209,755,887
1
0
NOASSERTION
2019-09-20T09:36:22
2019-09-20T09:36:22
null
UTF-8
Python
false
false
1,023
py
# -*- coding: utf-8 -*- # ---------------------------------------------------------------------- # OIDsRule # ---------------------------------------------------------------------- # Copyright (C) 2007-2018 The NOC Project # See LICENSE for details # ---------------------------------------------------------------------...
[ "dv@nocproject.org" ]
dv@nocproject.org
3d2e14867a46d0864160e6024eecb57c6d633b06
3ec38f7e7d0c145addd2b743c3c5a5112b8dbd15
/app.py
48aaf8e776dd5300ce167210c16ce8b570e58c2c
[]
no_license
teknofage/Playlistr-Tutorial
c58a0811cd5e5cdaf78b281cdd8a37f21a15f1ec
aff3a1c839eb79926cc9101d6639a1f6b25080f7
refs/heads/master
2021-06-26T14:23:51.462172
2019-10-16T18:55:39
2019-10-16T18:55:39
211,415,357
0
0
null
2021-03-20T01:48:17
2019-09-27T23:16:40
HTML
UTF-8
Python
false
false
3,420
py
from flask import Flask, render_template, request, redirect, url_for from pymongo import MongoClient from bson.objectid import ObjectId import os host = os.environ.get('MONGODB_URI', 'mongodb://localhost:27017/Playlister') client = MongoClient(host=f'{host}?retryWrites=false') db = client.get_default_database() playli...
[ "teknofage@gmail.com" ]
teknofage@gmail.com
690a50199995eff4542b161ed727d323288aa7fc
3529ecaa44a53172094ba13498097057c8972723
/Questiondir/739.daily-temperatures/739.daily-temperatures_130578302.py
676041d10b7c2af4a259374607b7592a53aab3b4
[]
no_license
cczhong11/Leetcode-contest-code-downloader
0681f0f8c9e8edd5371fd8d0a1d37dcc368566b6
db64a67869aae4f0e55e78b65a7e04f5bc2e671c
refs/heads/master
2021-09-07T15:36:38.892742
2018-02-25T04:15:17
2018-02-25T04:15:17
118,612,867
0
0
null
null
null
null
UTF-8
Python
false
false
436
py
class Solution(object): def dailyTemperatures(self, temperatures): """ :type temperatures: List[int] :rtype: List[int] """ stack = [] ans = [0] * len(temperatures) for i, t in enumerate(temperatures): while stack and stack[-1][1] < t: ...
[ "tczhong24@gmail.com" ]
tczhong24@gmail.com
3809ba92931c07dbdbf00d06dad43c2c65628dd4
af3d845103212c92829f3295b7a242e02507cce7
/Pandas/16_Mean_score.py
9896a399d91d81d54c36944943e9e016b3d3df78
[]
no_license
sankar-vs/Python-and-MySQL
b3b95c8de07c957f233012deccb203598d626f64
f2c456fbc5c3bc79c64621b07f918d2180095ac0
refs/heads/master
2023-04-10T05:08:29.008897
2021-04-27T10:08:08
2021-04-27T10:08:08
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,193
py
''' @Author: Sankar @Date: 2021-04-15 12:15:25 @Last Modified by: Sankar @Last Modified time: 2021-04-15 12:20:09 @Title : Pandas_Python-16 ''' ''' Write a Python program to calculate the mean score for each different student in DataFrame. Sample Python dictionary data and list labels: exam_data = {'name': ['Anastasia'...
[ "vs.sankar95@gmail.com" ]
vs.sankar95@gmail.com
95034eb585d3d2ec62e42a3ab7dc6381a4bf1139
3f9bec3201cc255c5ad6023cc746488306224015
/Chapter 8/twilightbus.py
281c76cd742d0c2dc8c274daebd5c8d9b263b139
[]
no_license
afettouhi/FluentPython-py37
64927a908c5804d8970ea3f4b667c109c5867a6a
a14a721d738b8908f9e8e78552d70fbb2d6dd74f
refs/heads/master
2022-06-14T18:26:47.456090
2020-05-08T04:13:51
2020-05-08T04:13:51
259,222,101
0
0
null
null
null
null
UTF-8
Python
false
false
380
py
"""Example 8-15""" class TwilightBus: """A bus model that makes passengers vanish""" def __init__(self, passengers=None): if passengers is None: self.passengers = [] else: self.passengers = passengers def pick(self, name): self.passengers.append(name) ...
[ "A.Fettouhi@gmail.com" ]
A.Fettouhi@gmail.com
d090e9b3090a66085531b1f4dd79eaf46d105004
3dc75c15cec1492ef8360dea741cc66a61305ee5
/script_json.py
e970ca3450dbbf06183438d37c1f932b822739b9
[]
no_license
alexaugusto23/weather_forecast
34589c034e4e7fbc8c476080ffcf3a28e1f4be39
6abf49eb9bae80f3673c0658b75b39c39637ca70
refs/heads/main
2023-02-28T05:09:16.995196
2021-02-06T04:13:08
2021-02-06T04:13:08
333,408,378
1
0
null
null
null
null
UTF-8
Python
false
false
1,109
py
import os import json class DelCre: def delcre(): #Deletando e criando json #os.chdir("C:/git/weather_forecast") #local os.chdir("/home/site/wwwroot") #azure path = os.getcwd() path1 = os.path.join(path,"weather_forecast") path2 = os.path.join(path1,"weather_for...
[ "contato.alexaugusto@hotmail.com" ]
contato.alexaugusto@hotmail.com
6fadaf9bed502a2985c9abf6f69025a165747c57
a3f864e898eaaaf7becd25e05413fac33e3e5cb0
/node_modules/socket.io/node_modules/socket.io-client/node_modules/ws/build/config.gypi
bb485eda53649e7514dc8b614e4c17ee7d117328
[ "MIT" ]
permissive
arthurjamain/agharta-server
0df1d0aa4cdec15d2e669e5dd947d02825438c36
ef6f553b39ea82492669cf7f98736bbe829d9844
refs/heads/master
2016-09-05T16:09:35.885200
2012-11-26T17:21:43
2012-11-26T17:21:43
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,759
gypi
# Do not edit. File was generated by node-gyp's "configure" step { "target_defaults": { "cflags": [], "default_configuration": "Release", "defines": [], "include_dirs": [], "libraries": [] }, "variables": { "armv7": 0, "clang": 0, "gcc_version": 46, "host_arch": "arm", "nod...
[ "root@raspberrypi.(none)" ]
root@raspberrypi.(none)
f379752cad47958dd4a503b6ad3b0fcca5bcb021
7950c4faf15ec1dc217391d839ddc21efd174ede
/leetcode-cn/1130.0_Minimum_Cost_Tree_From_Leaf_Values.py
ff3772390a361d6a8df6838f4de51f4c067a7c49
[]
no_license
lixiang2017/leetcode
f462ecd269c7157aa4f5854f8c1da97ca5375e39
f93380721b8383817fe2b0d728deca1321c9ef45
refs/heads/master
2023-08-25T02:56:58.918792
2023-08-22T16:43:36
2023-08-22T16:43:36
153,090,613
5
0
null
null
null
null
UTF-8
Python
false
false
682
py
''' 执行用时:216 ms, 在所有 Python3 提交中击败了20.43% 的用户 内存消耗:16.9 MB, 在所有 Python3 提交中击败了13.98% 的用户 通过测试用例:103 / 103 ''' class Solution: def mctFromLeafValues(self, arr: List[int]) -> int: n = len(arr) @cache def dfs(i, j): res = inf if i == j: retu...
[ "laoxing201314@outlook.com" ]
laoxing201314@outlook.com
a0377c5924f817203778a366ae43f8b4552ae347
c117f7064b7132778bead5a8b77b67e2429a2b7a
/bracma.py
f149783a31bf55878737969ac79bcc62dc190b73
[]
no_license
gurudurairaj/gp
664306f41f73f8b620ba74b048372e1c94e59bc7
2fce98f7428103b54b9edd075d4a83dc434c2926
refs/heads/master
2020-04-15T05:00:45.934019
2019-05-26T17:54:54
2019-05-26T17:54:54
164,405,807
0
0
null
null
null
null
UTF-8
Python
false
false
780
py
st=input() st=list(st) i=0 l=0 for i in range(len(st)): if st[i]=="(" or st[i]==")": l=l+1 i=0 j=0 k=0 while i<len(st): if len(st)==1: break if st[i]=="(" : while j <len(st): if st[j]==")": k=k+2 st.remove(st[i]) st.remove(s...
[ "noreply@github.com" ]
gurudurairaj.noreply@github.com
a3543850171f2be9634c3038d969f24d974eef64
b22588340d7925b614a735bbbde1b351ad657ffc
/athena/Generators/HepMCAnalysis_i/python/HepMCAnalysis_iConfig.py
00d3cb459f03023fc7dffc5b16f187460b77aa55
[]
no_license
rushioda/PIXELVALID_athena
90befe12042c1249cbb3655dde1428bb9b9a42ce
22df23187ef85e9c3120122c8375ea0e7d8ea440
refs/heads/master
2020-12-14T22:01:15.365949
2020-01-19T03:59:35
2020-01-19T03:59:35
234,836,993
1
0
null
null
null
null
UTF-8
Python
false
false
1,957
py
# Copyright (C) 2002-2017 CERN for the benefit of the ATLAS collaboration from HepMCAnalysis_i.HepMCAnalysis_iConf import HepMCAnalysis class HepMCAnalysis_i(HepMCAnalysis): def __init__(self, name = "HepMCAnalysis_i", file = None): super( HepMCAnalysis_i, self ).__init__( name ) ...
[ "rushioda@lxplus754.cern.ch" ]
rushioda@lxplus754.cern.ch
201f6b5e69c22aee2bf531c436e0c96ebee23ea6
edff378e6e24b660a6995f1176496d7de2e3b7f9
/node_modules/emojione/lib/python/emojipy/tests/test_ruleset.py
f62757079184db27dd914ba52acfca7f425612ca
[ "MIT", "CC-BY-SA-4.0", "CC-BY-4.0" ]
permissive
Caisen1988/blog
2d70fe0ee9a5f252fe4372e035446c5d595d5388
af2e0f4c34db20bb35405ac919c010b686b4cfbf
refs/heads/master
2022-10-12T10:33:28.473264
2020-06-11T04:18:11
2020-06-11T04:18:11
269,496,860
0
0
MIT
2020-06-05T00:51:00
2020-06-05T00:50:59
null
UTF-8
Python
false
false
858
py
#!/usr/bin/env python3 # -*- coding: utf-8; -*- from __future__ import unicode_literals from unittest import TestCase import json from emojipy.ruleset import ascii_replace,\ unicode_replace, shortcode_replace json_path = '../../emoji.json' class MappingTests(TestCase): def setUp(self): self.ascii_l...
[ "root@vultr.guest" ]
root@vultr.guest
4e6dcc7777942f9a1347a594e2a12f75f2934835
0420ce2fc8799d5fbd6e96313e6716f5e2ef825b
/bagogold/cri_cra/tests/test_calculo_valor.py
b9937725647176625a87a38fcdf2beda92c462b1
[]
no_license
nizbel/bag-of-gold
1da10acef4d73b8426ca3329b37a28c5f9587af4
a3fd89eb47d33d546bd91947f033d71218c8700f
refs/heads/master
2022-11-13T01:07:26.934813
2020-01-14T16:00:16
2020-01-14T16:00:16
275,689,573
0
0
null
null
null
null
UTF-8
Python
false
false
6,335
py
# -*- coding: utf-8 -*- from bagogold.bagogold.models.taxas_indexacao import HistoricoTaxaDI from bagogold.bagogold.utils.misc import verificar_feriado_bovespa from bagogold.cri_cra.models.cri_cra import CRI_CRA, OperacaoCRI_CRA,\ DataRemuneracaoCRI_CRA from bagogold.cri_cra.utils.utils import calcular_rendimentos_...
[ "kingbowserii@gmail.com" ]
kingbowserii@gmail.com
2a82469f3daecfecd5dc46ed0ecb2bc0cb295c98
d4abaedd47e5a3ce3e8aa7893cb63faaa4064551
/codechef/july17/prob1.py
e2ee87922e8ff7bd9190c4b43e8e02e9c71be3a7
[]
no_license
shiv125/Competetive_Programming
fc1a39be10c0588e0222efab8809b966430fe20f
9c949c6d6b5f83a35d6f5f6a169c493f677f4003
refs/heads/master
2020-03-15T19:47:12.944241
2018-05-06T08:18:11
2018-05-06T08:18:11
132,317,356
0
0
null
null
null
null
UTF-8
Python
false
false
343
py
t=input() while t>0: t-=1 arr=map(str,raw_input().split()) ln=len(arr) if ln==1: print arr[0][0].capitalize()+arr[0][1:].lower() elif ln==2: print arr[0][0].capitalize()+". "+arr[1][0].capitalize()+arr[1][1:].lower() else: print arr[0][0].capitalize()+". "+arr[1][0].capitalize()+". "+arr[2][0].capitalize()+...
[ "shivdutt@shivdutt-Lenovo-G50-80" ]
shivdutt@shivdutt-Lenovo-G50-80
ae36de6206150b2f4fbf97f2582040e78e7557d7
6b2a8dd202fdce77c971c412717e305e1caaac51
/solutions_5644738749267968_1/Python/juliuswwj/D.py
6bfa6d42155423025efb41b5c8e28f878f360854
[]
no_license
alexandraback/datacollection
0bc67a9ace00abbc843f4912562f3a064992e0e9
076a7bc7693f3abf07bfdbdac838cb4ef65ccfcf
refs/heads/master
2021-01-24T18:27:24.417992
2017-05-23T09:23:38
2017-05-23T09:23:38
84,313,442
2
4
null
null
null
null
UTF-8
Python
false
false
842
py
#!/usr/bin/python import sys, io def getwar(a, b, N): i = 0 j = 0 while i<N: while j<N and b[j] < a[i]: j += 1 if j>=N: break i += 1 j += 1 return N - i def getdwar(a, b, N): i = 0 j = 0 mj = N c = 0 while j<mj: ...
[ "eewestman@gmail.com" ]
eewestman@gmail.com
3c7949503543fbb6b9b0fcec0e7dde61809ceba8
9b2eb0d6b673ac4945f9698c31840b847f790a58
/pkg/apteco_api/models/modify_items_modify_user_collection.py
330dff9442b8027f1bba623a92ada16588a9a07b
[ "Apache-2.0" ]
permissive
Apteco/apteco-api
6d21c9f16e58357da9ce64bac52f1d2403b36b7c
e8cf50a9cb01b044897025c74d88c37ad1612d31
refs/heads/master
2023-07-10T23:25:59.000038
2023-07-07T14:52:29
2023-07-07T14:52:29
225,371,142
2
0
null
null
null
null
UTF-8
Python
false
false
5,000
py
# coding: utf-8 """ Apteco API An API to allow access to Apteco Marketing Suite resources # noqa: E501 The version of the OpenAPI document: v2 Contact: support@apteco.com Generated by: https://openapi-generator.tech """ import pprint import re # noqa: F401 import six from apteco_api.configu...
[ "tim.morris@apteco.com" ]
tim.morris@apteco.com
09784e5918bfdaa884cc97c756f00dc6cdd34fab
163bbb4e0920dedd5941e3edfb2d8706ba75627d
/Code/CodeRecords/2715/60765/286742.py
2f9a3aab82bd3dd1b4da01b47e6253b1d26cad85
[]
no_license
AdamZhouSE/pythonHomework
a25c120b03a158d60aaa9fdc5fb203b1bb377a19
ffc5606817a666aa6241cfab27364326f5c066ff
refs/heads/master
2022-11-24T08:05:22.122011
2020-07-28T16:21:24
2020-07-28T16:21:24
259,576,640
2
1
null
null
null
null
UTF-8
Python
false
false
1,141
py
#!/usr/bin/env python # -*- coding:utf-8 -*- import math import sys import re import collections def solve(): def root(i): if union[i]==-1: return i else: return root(union[i]) # =list(map(int,input().split())) # =int(input()) # n =input()[2:-2].split('],[') ...
[ "1069583789@qq.com" ]
1069583789@qq.com
92e09ef454ef4c924aff294236896cf3af811ed4
9aaf7732b94429d97022210f7c5b03953e88c158
/maico/server/dialogue_system/language_understanding/dialogue_act_type/rule_based_estimator.py
cb00022dc7882a8b2cb10923fbb8ba8f702ca5f6
[ "Apache-2.0" ]
permissive
tech-sketch/maico
12f55101ee10f336400517a7f3f567ad1a1a54e3
fdff4185275ccf2d93518c405e2059ad509c56e2
refs/heads/master
2021-03-22T04:32:12.244453
2016-10-03T11:08:19
2016-10-03T11:08:19
null
0
0
null
null
null
null
UTF-8
Python
false
false
553
py
# -*- coding: utf-8 -*- class RuleBasedDialogueActTypeEstimator(object): def __init__(self): pass def estimate(self, attribute): if attribute['small_area']: return 'RespondSmallArea' elif attribute['middle_area']: return 'RespondMiddleArea' elif attribu...
[ "light.tree.1.13@gmail.com" ]
light.tree.1.13@gmail.com
16ef36f4796039366fe41d46e4381f08464b2e66
5c5b34f6f598a43ddfbd473228737a27c26d1d8e
/utils/ListNode.py
104c571f5ecb5b94c3143ba4c46f78fc5ce11ab7
[]
no_license
lovehhf/LeetCode
34a1bc140b10dc83a32ef9a70f9c73176948a9c4
5d3574ccd282d0146c83c286ae28d8baaabd4910
refs/heads/master
2021-11-04T04:52:34.518621
2021-10-26T15:34:47
2021-10-26T15:34:47
173,673,492
0
0
null
2020-03-03T14:54:09
2019-03-04T04:26:15
Python
UTF-8
Python
false
false
1,266
py
# -*- coding:utf-8 -*- __author__ = 'huanghf' class ListNode: def __init__(self, x): self.val = x self.next = None def __repr__(self): r = "" t = self for i in range(10): if t is None: break r += str(t.val) + "->" t ...
[ "853885165@qq.com" ]
853885165@qq.com
7b5b5d357de8e0fb737b6fff8162b12e07b4597c
6a4e39a39caf76bcffdd3856786119104d8bdfae
/tests/test_core.py
cc0ecfed055146553622ffcba78c560cba79f666
[ "BSD-2-Clause", "BSD-3-Clause" ]
permissive
sumanthjamadagni/pyoz
22cd43c6dbbc5f741018f0a4c9827464683dfccb
747e6b87df2e2863aaaccec426b4924ef8c78371
refs/heads/master
2021-01-13T07:14:07.086940
2016-10-20T14:35:17
2016-10-20T14:35:17
71,503,060
0
0
null
2016-10-20T20:45:41
2016-10-20T20:45:41
null
UTF-8
Python
false
false
4,426
py
from math import isclose import numpy as np import pytest import pyoz as oz from pyoz.exceptions import PyozError def test_init_system(): name = 'A' dr = 0.05 n_points = 4096 s = oz.System(name=name, dr=dr, n_points=n_points) assert len(s.r) == n_points - 1 assert isclose(s.r[1] - s.r[0], dr...
[ "christoph.t.klein@me.com" ]
christoph.t.klein@me.com
6f9973ef91346a6eacc4e7d4f468035b4153a1f0
122caa7eb08f22aab2c00f143087dd640cf3f8ff
/shipping/deploy/conda.py
7fcf4e5b0605d041358bd976932786cd0f61fb99
[ "MIT" ]
permissive
Clinical-Genomics/shipping
b6b8cb39d5287c1ef9eeec5d8c33e248f39ebc05
e615942c08f1164980b7ffd4c1cd88c2a1fa5c32
refs/heads/master
2022-12-25T17:44:03.728319
2020-10-12T07:48:34
2020-10-12T07:48:34
300,389,302
0
0
MIT
2022-11-10T10:04:35
2020-10-01T18:49:33
Python
UTF-8
Python
false
false
1,882
py
"""Code to deploy a package into a conda environment""" import logging from shipping import environment from shipping.commands import Process from shipping.environment import get_python_path LOG = logging.getLogger(__name__) def check_if_deploy_possible(conda_env_name: str) -> bool: """Function to check if con...
[ "mans.magnusson@scilifelab.se" ]
mans.magnusson@scilifelab.se
d483c6b74875ec222bedc8373be5de0ae36c195c
3e4b3dd03a2b919c256cffdea144400b25f08268
/mysite/mycalendar/migrations/0009_auto_20180802_1908.py
548d4cf8c9215a4990121b7fdb8c31935ee3a024
[]
no_license
1shikawa/deliverables
5df7006335433c536ba1d854534c397f37f3c361
961693c25236867c2c9fa93687809d4b4ca1faad
refs/heads/master
2020-03-30T18:54:06.662358
2018-11-01T07:25:56
2018-11-01T07:25:56
148,773,370
0
0
null
null
null
null
UTF-8
Python
false
false
712
py
# Generated by Django 2.0.7 on 2018-08-02 10:08 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('mycalendar', '0008_auto_20180802_1838'), ] operations = [ migrations.AlterField( model_name='schedule', name='LargeI...
[ "ishikawa.toru@gmail.com" ]
ishikawa.toru@gmail.com
738043b10b4447184bc175c4f4fd521e85a575bd
1061216c2c33c1ed4ffb33e6211565575957e48f
/python-legacy/openapi_client/models/rate_limited_error.py
249d386f6b9a8d287a066d99a7a5fe499fc2943f
[]
no_license
MSurfer20/test2
be9532f54839e8f58b60a8e4587348c2810ecdb9
13b35d72f33302fa532aea189e8f532272f1f799
refs/heads/main
2023-07-03T04:19:57.548080
2021-08-11T19:16:42
2021-08-11T19:16:42
393,920,506
0
0
null
null
null
null
UTF-8
Python
false
false
4,723
py
# coding: utf-8 """ Zulip REST API Powerful open source group chat # noqa: E501 The version of the OpenAPI document: 1.0.0 Generated by: https://openapi-generator.tech """ try: from inspect import getfullargspec except ImportError: from inspect import getargspec as getfullargspec import p...
[ "suyash.mathur@research.iiit.ac.in" ]
suyash.mathur@research.iiit.ac.in
72df07585baaf4b9f28c8d6b4bc074cac2b6144a
10d17864a685c025bb77959545f74b797f1d6077
/capitulo 06/06.38.py
1eed19c67e519f9ab5c20e19956237e17c959e30
[]
no_license
jcicerof/IntroducaoPython
02178d2dfcaa014587edbd3090c517089ccef7c2
02e619c7c17e74acdc3268fbfae9ab624a3601dd
refs/heads/master
2020-04-24T18:12:21.422079
2019-02-23T05:14:43
2019-02-23T05:14:43
null
0
0
null
null
null
null
UTF-8
Python
false
false
615
py
############################################################################## # Parte do livro Introdução à Programação com Python # Autor: Nilo Ney Coutinho Menezes # Editora Novatec (c) 2010-2019 # Primeira edição - Novembro/2010 - ISBN 978-85-7522-250-8 # Segunda edição - Junho/2014 - ISBN 978-85-7522-408-3 # Terce...
[ "jose.cicero@gmail.com" ]
jose.cicero@gmail.com
d3d1fd96f23092f9b1498a089f8524b64c352cd3
27ba6b3f865631c9c0fea429842e41a0fdc27241
/easy_unpack.py
99fd56a94a4921cd468eb308a79a67e153b4d513
[]
no_license
jigi-33/checkio
7c3b0b68213ef6777df3247edc888805e0c505b8
afbfe565618c3e81dbc8f24249bf6832239ece0a
refs/heads/master
2022-05-22T00:22:26.117962
2020-04-20T10:12:07
2020-04-20T10:12:07
null
0
0
null
null
null
null
UTF-8
Python
false
false
436
py
def easy_unpack(elements: tuple) -> tuple: lst = [elements[0], elements[2], elements[-2]] tup = tuple(lst) return tup if __name__ == '__main__': print('Examples:') print(easy_unpack((1, 2, 3, 4, 5, 6, 7, 9))) assert easy_unpack((1, 2, 3, 4, 5, 6, 7, 9)) == (1, 3, 7) assert ...
[ "pollicier@gmail.com" ]
pollicier@gmail.com
a661141aa4b5b6fd0f3b8519ced1759d5a8a59e1
290394852b7fb70f791c6c4bb96141523ab96090
/ExpertIdeas_WikipediaProxyServer_Bot_EmailTracking/ExpertIdeas/core/tests/pagegenerators_tests.py
e51483579ab39388ba317ec89ac9d7bf30c03a19
[ "MIT" ]
permissive
ImanYZ/ExpertIdeas
da1564671f2cfe92d9de3fce68b82552cc6f33f7
23e23240854aef59108b16b63a567fffb2aabb69
refs/heads/master
2022-07-27T08:11:36.481824
2022-07-16T20:32:47
2022-07-16T20:32:47
144,018,052
0
0
null
null
null
null
UTF-8
Python
false
false
6,311
py
#!/usr/bin/python # -*- coding: utf-8 -*- # # (C) Pywikibot team, 2014 # # Distributed under the terms of the MIT license. __version__ = '$Id: f5183bbb36aed0a1aed455aed8d45aa32be8ae5c $' import sys import pywikibot from pywikibot import pagegenerators from tests.utils import unittest, PywikibotTestCase class TestP...
[ "oneweb@umich.edu" ]
oneweb@umich.edu
da97e6abb08e78b74b52127ea3101f4f46a4c4dc
66ff3d5c4dc5a57304e15927de4068c836c6c68e
/Week_06/53/maximum_subarray2.py
9ca9aa589984b494812a4cea8bb44e8dc1b63a46
[]
no_license
ppd0705/10-week-algorithm-excercise
375ddcb9176c06a78aa296cdfd1b5c06ee93ae17
6a60a86a493bee190ad3551193b141da1873016c
refs/heads/master
2023-03-02T04:01:55.380523
2021-01-31T23:21:47
2021-01-31T23:21:47
318,496,360
1
1
null
null
null
null
UTF-8
Python
false
false
799
py
from typing import List from collections import namedtuple status = namedtuple("Status", ["l_sum", "r_sum", "i_sum", "m_sum"]) class Solution: def maxSubArray(self, nums: List[int]) -> int: return self.get(nums, 0, len(nums) - 1).m_sum def push_up(self, l: status, r: status) -> status: retu...
[ "ppd0705@163.com" ]
ppd0705@163.com
ec33e4e5d4eed083fe253cae856d0d5f379edf7a
48e124e97cc776feb0ad6d17b9ef1dfa24e2e474
/sdk/python/pulumi_azure_native/devices/v20210702preview/get_iot_hub_resource_event_hub_consumer_group.py
9ebb7887604f90513d5581b3b49b134c09b4fb60
[ "BSD-3-Clause", "Apache-2.0" ]
permissive
bpkgoud/pulumi-azure-native
0817502630062efbc35134410c4a784b61a4736d
a3215fe1b87fba69294f248017b1591767c2b96c
refs/heads/master
2023-08-29T22:39:49.984212
2021-11-15T12:43:41
2021-11-15T12:43:41
null
0
0
null
null
null
null
UTF-8
Python
false
false
5,584
py
# coding=utf-8 # *** WARNING: this file was generated by the Pulumi SDK Generator. *** # *** Do not edit by hand unless you're certain you know what you are doing! *** import warnings import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload from ... import _utilities __...
[ "noreply@github.com" ]
bpkgoud.noreply@github.com
2f872eae9df5a564a057e98f0622c9209c9388bc
a1f2df675cfc595b15f1ca9390b7517989f2d4e0
/testCase/performance/result_opprtunities_amount/result_oppotunitites_amount_departments.py
41266fcca76dc0f3249ac48f57601621d1b90605
[]
no_license
GGGYB/crm
d4def2f1abc89451e1c4b11b89ef100a842ed745
61932466dd0ac299adc661383d506389d5f0f8e7
refs/heads/master
2022-04-15T21:29:48.539311
2020-04-14T10:23:41
2020-04-14T10:23:41
255,575,666
0
0
null
null
null
null
UTF-8
Python
false
false
6,478
py
# -*- coding: utf-8 -*- import datetime import os import codecs import operator from commons.const import const from testCase.login import testLogin as login from testCase.performance import result import json class result_opportunities_amount_departments: def __init__(self): self.base_url = const.BASE_U...
[ "nlnongling@163.com" ]
nlnongling@163.com
68879c7d14c0e0a2643c8db05febedc230a23bc4
7b8f68ecf2f75e1568ece86b8f4c60d32606ee5d
/ZAStatAnalysis/utils/labellines.py
dcf26e7c9004ada7885764e8ea9231281db21293
[]
no_license
kjaffel/ZA_FullAnalysis
c86c3f265817e7b9fc4877943c0bd4f3937eed10
30df434202df51017309b5bf88a1d9b94041b6ef
refs/heads/master
2023-08-19T10:42:53.054337
2023-08-13T10:47:02
2023-08-13T10:47:02
194,130,550
11
4
null
2023-03-07T10:21:22
2019-06-27T16:38:34
Python
UTF-8
Python
false
false
2,611
py
from math import atan2,degrees import numpy as np import logging LOG_LEVEL = logging.DEBUG LOGFORMAT = " %(log_color)s%(levelname)-8s%(reset)s | %(log_color)s%(message)s%(reset)s" import colorlog from colorlog import ColoredFormatter logging.root.setLevel(LOG_LEVEL) formatter = ColoredFormatter(LOGFORMAT) stream = lo...
[ "khawla.jaffel@cern.ch" ]
khawla.jaffel@cern.ch
49e0d6b50639328af8800b8e82ea608288e63939
8ab265b09af7c968803875e9da2e8a3620fa6f7c
/marketing_campaign_crm_demo/__openerp__.py
113d1bf9e469b2a6810314f40551f3047288d636
[]
no_license
limweb/my-openerp-addons
5be34a4611c265055096f8cd0479e68d0f5eb6d2
1c30894b5ce5249261f1dae297ed427d78813b02
refs/heads/master
2021-01-01T18:11:37.685202
2012-10-27T08:16:41
2012-10-27T08:16:41
32,463,325
0
0
null
null
null
null
UTF-8
Python
false
false
1,689
py
# -*- coding: utf-8 -*- ############################################################################## # # OpenERP, Open Source Management Solution # Copyright (C) 2004-2010 Tiny SPRL (<http://tiny.be>). # # This program is free software: you can redistribute it and/or modify # it under the terms of the GNU...
[ "thitithup@63ab4253-1d0f-0ef1-39c5-73446a8bc111" ]
thitithup@63ab4253-1d0f-0ef1-39c5-73446a8bc111
4484b12f454f824780c1a9bcd39295b04ed9aa2f
296132d2c5d95440b3ce5f4401078a6d0f736f5a
/homeassistant/components/whirlpool/climate.py
ad4cd2ea389ba9d8e4566ab405d2b1d62fbea881
[ "Apache-2.0" ]
permissive
mezz64/home-assistant
5349a242fbfa182159e784deec580d2800173a3b
997d4fbe5308b01d14ceabcfe089c2bc511473dd
refs/heads/dev
2023-03-16T22:31:52.499528
2022-12-08T02:55:25
2022-12-08T02:55:25
68,411,158
2
1
Apache-2.0
2023-03-10T06:56:54
2016-09-16T20:04:27
Python
UTF-8
Python
false
false
6,403
py
"""Platform for climate integration.""" from __future__ import annotations import logging from typing import Any from whirlpool.aircon import Aircon, FanSpeed as AirconFanSpeed, Mode as AirconMode from whirlpool.auth import Auth from whirlpool.backendselector import BackendSelector from homeassistant.components.clim...
[ "noreply@github.com" ]
mezz64.noreply@github.com
f53add19e40206da4bdd86a0672cfdd737e36b33
3665ef60ba2cde4c13a8d192b8779a2f43dd9980
/python/ray/autoscaler/_private/aws/cdk/app.py
4ffb6b10c53bac9578f54e6422975c094b644c74
[ "MIT", "Apache-2.0" ]
permissive
QPC-database/amazon-ray
45783aa27977d7afda0bfa1b076be414f5dd1328
55aa4cac02a412b96252aea4e8c3f177a28324a1
refs/heads/main
2023-06-12T17:07:49.202429
2021-07-08T17:58:32
2021-07-08T17:58:32
384,644,975
1
0
Apache-2.0
2021-07-10T08:05:02
2021-07-10T08:05:02
null
UTF-8
Python
false
false
2,381
py
#!/usr/bin/env python3 import os import sys import boto3 from aws_cdk import core from ray_ec2.ray_ec2_stack import CdkStack, AmazonRayStackProps # amzn-ray 1.2.0, cp37, us-east-1 DEFAULT_AMZN_RAY_AMI = "ami-0a4da390e7a168bb9" AMZN_RAY_AMI_ACCOUNT = "160082703681" def _get_default_ami_helper(): client = boto3....
[ "noreply@github.com" ]
QPC-database.noreply@github.com
82feb35d5fd6600d44928c18e22b6f78ba706ee4
51860e283183514df0f03c995ecb08906b63438a
/accounts/views.py
53b959791d38688d69af28f05e1d55d80071ab30
[]
no_license
Gentility01/facebook
a8c596d07b51569f0cc39accda149c6fb010bb99
e823f2a372511ac419b3954ff6af878a2ea2a764
refs/heads/main
2023-03-30T14:14:00.735265
2021-04-05T03:43:09
2021-04-05T03:43:09
339,988,116
0
1
null
null
null
null
UTF-8
Python
false
false
3,200
py
from django.shortcuts import render,redirect from . import urls from .forms import UserRegistrationForm, UserUpdateForm, ProfileUpdateForm from django.contrib import auth from django.contrib import messages from django.contrib.auth import logout from django.contrib.auth import login,authenticate # from django.contrib.a...
[ "mastergentility5@gmail.com" ]
mastergentility5@gmail.com
59b0c5d33cdb167b4e0e97d467122606718b04c4
de24f83a5e3768a2638ebcf13cbe717e75740168
/moodledata/vpl_data/462/usersdata/343/105290/submittedfiles/avenida.py
038de782035239b5dc4b09050662711d037933e3
[]
no_license
rafaelperazzo/programacao-web
95643423a35c44613b0f64bed05bd34780fe2436
170dd5440afb9ee68a973f3de13a99aa4c735d79
refs/heads/master
2021-01-12T14:06:25.773146
2017-12-22T16:05:45
2017-12-22T16:05:45
69,566,344
0
0
null
null
null
null
UTF-8
Python
false
false
584
py
# -*- coding: utf-8 -*- while True: m = int(input('quadras no sentido leste-oeste: ')) if m>=2 and m<=1000: break while True: n = int(input('quadras no sentido norte-sul: ')) if n>=2 and n<=1000: break bairro = [] for i in range(0,n,1): v = [] for j in range(0,m,1): ...
[ "rafael.mota@ufca.edu.br" ]
rafael.mota@ufca.edu.br
ea1decdd61f07c8ef33597c4e43a0904a621eea1
a32056487cebf6bfafef8daac9e31ebfa6b16638
/problem-6.py
e789273583e56deff6bc2bca63755a5ff27a9fe1
[]
no_license
samuelreboucas07/Challenges-Project-Euller
e71f9ed99dd6d44f9d5ca746a3f583c75e2fe8e1
cb155918237606e1a2472a872a422fd6587693b5
refs/heads/main
2023-04-16T11:47:51.922055
2021-04-28T12:13:02
2021-04-28T12:13:02
347,523,638
0
0
null
null
null
null
UTF-8
Python
false
false
306
py
# Sum square difference def square(number): return number ** 2 limit = 100 sum = 0 sum_squares = 0 for i in range(0, limit+1): sum_squares += square(i) sum += i difference = (sum**2) - sum_squares print('Diferença entre a soma dos quadrado e o quadrado da soma é: '+str(difference))
[ "samuelreboucas07@hotmail.com" ]
samuelreboucas07@hotmail.com
2038aa3050cc92346ea0b068f9bf229f0c61d421
d499eced99250a9d1252c9602246061c6aa00af2
/pyomnidata/_DownloadFTPIndex.py
af1fbf0fde087e9cab217bd3ed2ab1b7e584c49f
[ "MIT" ]
permissive
pshustov/pyomnidata
b4c9ab23513026072e29b0412cbb67be5c93a66c
96305fac18ae9ef38d63c345629e7c22b1ef74f1
refs/heads/master
2023-08-13T13:09:36.406997
2021-02-01T11:35:47
2021-02-01T11:35:47
null
0
0
null
null
null
null
UTF-8
Python
false
false
621
py
import os from . import Globals def _DownloadFTPIndex(): ''' This routine downloads the index.html of the omni FTP site: ftp://spdf.gsfc.nasa.gov/pub/data/omni/high_res_omni/ Returns: Boolean, True if index file exists ''' #check that the temporary folder exists if not os.path.isdir(Globals.DataPath+'tmp/...
[ "mattkjames7@gmail.com" ]
mattkjames7@gmail.com
ff8dc9b4b22c4235f3a50c89877feb67294c47f5
b87334490fe292fe7bcc5da94f3527ca037b6cb6
/IO/next_and_previous.py
cb87462d60de17a6f265c10094312867b74b6d24
[]
no_license
technetium0x32/neural_nets_course
9bde5dabcf7ab900e7a1e6a08f57bdb2ecc373e0
06a36261d02faf5b5ab266b7bf942717e4ad80bd
refs/heads/master
2020-09-13T22:42:06.262298
2019-12-03T21:46:21
2019-12-03T21:46:21
222,926,997
0
0
null
null
null
null
UTF-8
Python
false
false
194
py
n = int(input()) def template(word, num1, num2): print("The ", word, " number for the number ", num1, " is ", num2, ".", sep = "") template("next", n, n +1) template("previous", n, n - 1)
[ "you@example.com" ]
you@example.com
40604cb3ee78b21f3bfddcfb3ecf3aacfb420fbb
24cce1ec7737f9ebb6df3e317a36c0a0329ec664
/HZMX/amazon_api/models/product_description.py
8ffb7a8c911a6dbd417a769219f81d87dfcfd556
[]
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
528
py
# -*- coding: utf-8 -*- from odoo import models, fields, api from odoo.exceptions import UserError class ProductDescription(models.Model): _name = 'product.description' title = fields.Char(string=u'产品标题') keyword = fields.Char(string=u'关键词') short_description = fields.Text(string=u'重点说明') detail...
[ "1121403085" ]
1121403085
b970a168b05d2ea5c9c90c7989b9cb0f46be8ff4
9dab41a71bf19a9ad17ee3e9f77c0f58aebd1d6d
/python/uline/uline/uline/handlers/app/distributor/transaction/merchantsTransactionRefundList.py
14cad53474166ab8e28a1d579574724c39b13bee
[]
no_license
apollowesley/Demo
f0ef8ec6c4ceb0aec76771da8dd9a62fb579eac8
471c4af95d3a7222d6933afc571a8e52e8fe4aee
refs/heads/master
2021-02-15T04:01:51.590697
2018-01-29T01:44:29
2018-01-29T01:44:29
null
0
0
null
null
null
null
UTF-8
Python
false
false
3,763
py
# -*- coding: utf-8 -*- from __future__ import division import tornado.web import tornado.gen from uline.handlers.baseHandlers import DtAdminHandler from .form import MerchantRefundList from uline.public.constants import WX_REFUND_STATE, WX_TRADE_TYPE from uline.public.permit import check_permission class MerchantsTr...
[ "36821277@qq.com" ]
36821277@qq.com
ad248d3ac8c0e7f2c7adbeba65d246ae1a6cc83c
4535c1eeede69d75a9d5eddab4585f127ab988b8
/SAC_BC_test/CriticNetwork.py
ec378bccdd8a2dfd65f99a8d55c6a439b4bf44f2
[]
no_license
namjiwon1023/Reinforcement_learning
99043d0ee49fef02a643a01948f44aea3719e0c0
14ddfb81295c349acc2ede7588ebc73c235246c0
refs/heads/main
2023-07-15T16:02:59.262942
2021-08-18T14:29:08
2021-08-18T14:29:08
319,899,024
2
1
null
null
null
null
UTF-8
Python
false
false
1,768
py
import torch as T import torch.nn as nn import torch.optim as optim import os import random import torch.nn.functional as F import torch.optim as optim from torch.distributions import Normal import numpy as np class CriticNetwork(nn.Module): def __init__(self, n_states, n_actions, alpha, n_hidden=128, dirPath='/ho...
[ "nzy1414117007@gmail.com" ]
nzy1414117007@gmail.com
b62dc3cb96f577794a4870b32ecd5eb954396def
9ecf55bf2601e0d4f74e71f4903d2fd9e0871fd6
/my_seg_tf/v10_segcap_128_128/models/res_unet.py
ee15d7555f444d475c209e437209701b2f0cc836
[]
no_license
qq191513/mySeg
02bc9803cde43907fc5d96dc6a6a6371f2bef6fe
4337e6a0ca50b8ccbf6ed9b6254f2aec814b24db
refs/heads/master
2020-04-10T09:57:37.811133
2019-06-26T08:21:23
2019-06-26T08:21:23
160,951,962
1
0
null
null
null
null
UTF-8
Python
false
false
7,511
py
import sys sys.path.append('../') from choice import cfg import tensorflow as tf num_classes = cfg.num_classes #交叉熵loss不可用,loss一直是成千上万,改成dice_loss def bn(inputs, is_training): normalized = tf.layers.batch_normalization( inputs=inputs, axis=-1, momentum=0.9, epsilon=0.001, ...
[ "1915138054@qq.com" ]
1915138054@qq.com
ef362d89a64ab183b48751de12b3ee6d01b45fcd
538f02794adb6a94f529c93d3b1b7aadebf6a82c
/fragprots/ptms.py
4305addeadcbcc4a8f3b90796c126ec07092b083
[]
no_license
MatteoLacki/frargprots
ec208bb36126060e68c5963035ce49f38a1b671c
ac3b02f5c5de0b9c9bb2309bdc97bf1204331c97
refs/heads/master
2020-05-29T13:21:33.941004
2019-06-02T18:49:18
2019-06-02T18:49:18
189,159,502
0
0
null
null
null
null
UTF-8
Python
false
false
839
py
ptms = { "phosphorylation": "P1H13", "acetylation": "C2H2O1", "glycation_by_hexose": "C6H10O5", "amidation": "H1N1O-1", "hydroxylation": "O1", "methylation": "C1H2", "ubiquitylation": "C378H627N105O117S1", "pyrogluta...
[ "matteo.lacki@gmail.com" ]
matteo.lacki@gmail.com
c48641c1e1db7ff9b49fdd37155b65107e893749
1a220abd21c56728aa3368534506bfc9ced8ad46
/4.programmers/프로그래머스_jungle/프로그래머스_입국심사_이분탐색.py
a068fb61739b62552f572ec7c478c1675f644821
[]
no_license
JeonJe/Algorithm
0ff0cbf47900e7877be077e1ffeee0c1cd50639a
6f8da6dbeef350f71b7c297502a37f87eb7d0823
refs/heads/main
2023-08-23T11:08:17.781953
2023-08-23T08:31:41
2023-08-23T08:31:41
197,085,186
0
0
null
2023-02-21T03:26:41
2019-07-15T23:22:55
Python
UTF-8
Python
false
false
486
py
def check(target,times): cnt = 0 for time in times: cnt += ( target // time ) if cnt >= n: return True return False #심사원 수 #각 심사원 시간 def solution(n, times): left = -1 right = max(times) * n while (left+1 < right): mid = (left+right) // 2 if not che...
[ "whssodi@gmail.com" ]
whssodi@gmail.com
05eee8b0ba56d41e83426d436f0692ef610a0f6a
a67147597814032c0fee8c1debb38e61730841c7
/argo/workflows/client/models/v1alpha1_workflow.py
febc83a27150f7a0aeedc0686216ff478b028bff
[ "Apache-2.0", "MIT" ]
permissive
CermakM/argo-client-python
12ddc49d8e10a2a68d5965f37b9353234a2c5906
0caa743442d37f2f2e3b30867398ed2708c1bf4d
refs/heads/master
2020-07-21T20:48:30.275935
2020-02-26T10:05:05
2020-02-26T10:05:05
206,972,491
36
9
Apache-2.0
2020-02-26T10:05:06
2019-09-07T13:31:46
Python
UTF-8
Python
false
false
4,419
py
# coding: utf-8 """ Argo Python client for Argo Workflows # noqa: E501 OpenAPI spec version: master Generated by: https://github.com/swagger-api/swagger-codegen.git """ import pprint import re # noqa: F401 import six class V1alpha1Workflow(object): """NOTE: This class is auto generate...
[ "macermak@redhat.com" ]
macermak@redhat.com
c3fb317042656ec258a4ad85ce79ba05e785e909
99c4d4a6592fded0e8e59652484ab226ac0bd38c
/code/batch-1/vse-naloge-brez-testov/DN7-M-180.py
a3030b6e5ab49d5ae990040ae3769a473610a07d
[]
no_license
benquick123/code-profiling
23e9aa5aecb91753e2f1fecdc3f6d62049a990d5
0d496d649247776d121683d10019ec2a7cba574c
refs/heads/master
2021-10-08T02:53:50.107036
2018-12-06T22:56:38
2018-12-06T22:56:38
126,011,752
0
0
null
null
null
null
UTF-8
Python
false
false
4,937
py
# To funkcijo prijazno podarjam vsem, ki bodo programirali v eni vrstici. :) # Kako jo uporabiti, je v navodilih. Kdor je ne potrebuje, naj jo ignorira. def vsa_polja(s, v): """ Generiraj vse koordinate (x, y) za polje s podano širino in višino Args: s (int): širina v (int): višina Retu...
[ "lenart.motnikar@gmail.com" ]
lenart.motnikar@gmail.com
09897f03a12953d22e389b965e6cb9cb9f256be3
ce7af567795b2b81d9bd9555778fe2719b512187
/src/restic_compose_backup/backup_runner.py
3632017d682cde5d793b20c76d8b6f8c5b3cf484
[ "MIT" ]
permissive
ZettaIO/restic-compose-backup
edff6fc9e96ad4da3ee67c0ad858831d31a59c4e
b52655a23bc385dbf78f7ef07fb26c86d76e07fa
refs/heads/master
2023-03-17T08:09:47.629710
2021-06-18T07:54:06
2021-06-18T07:54:06
181,201,741
21
12
MIT
2023-01-31T07:36:25
2019-04-13T16:52:41
Python
UTF-8
Python
false
false
2,058
py
import logging import os from restic_compose_backup import utils logger = logging.getLogger(__name__) def run(image: str = None, command: str = None, volumes: dict = None, environment: dict = None, labels: dict = None, source_container_id: str = None): logger.info("Starting backup container") client...
[ "eforselv@gmail.com" ]
eforselv@gmail.com
62c324d6d4c85f595f9fa6dc0c245219bf331566
049351fedbb4b3a4e6c27f52c868d47b6d57817e
/player/migrations/0006_song_youtube_url.py
de737747bfa1503fe1e83b236b3b5dcf00d369d9
[ "MIT" ]
permissive
iCodeIN/virtualboombox
3cd256d4f335ad715729b7cd709a1bc435e70c4a
8748a3c9a1575865044b8bb35eee7cd2fbdfb3fc
refs/heads/master
2023-02-28T01:02:48.469366
2021-02-09T00:02:54
2021-02-09T00:02:54
null
0
0
null
null
null
null
UTF-8
Python
false
false
484
py
# -*- coding: utf-8 -*- # Generated by Django 1.10.5 on 2017-02-01 06:32 from __future__ import unicode_literals from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('player', '0005_auto_20170130_2324'), ] operations = [ migrations.AddField( ...
[ "jacebrowning@gmail.com" ]
jacebrowning@gmail.com
c75614151c17405621dc9f1dba7bb68c7240c58f
0ab01dca62eba79012e94b979881e1dc8f9af34a
/src/spotify/migrations/0001_initial.py
e204ab08e94b0c3774e3e3665fed5df02170bb1d
[ "MIT" ]
permissive
rryanburton/kwmgt
d4d3980a742c992e634d9b39e93099dfffb61d84
0e8f9657d48ed5b9021d6316caa55c982f9e2800
refs/heads/main
2023-04-08T09:18:46.882903
2021-04-14T02:43:32
2021-04-14T02:43:32
357,231,522
0
0
null
null
null
null
UTF-8
Python
false
false
979
py
# Generated by Django 3.2 on 2021-04-13 15:12 from django.db import migrations, models class Migration(migrations.Migration): initial = True dependencies = [ ] operations = [ migrations.CreateModel( name='Artist', fields=[ ('id', models.BigAutoField(...
[ "rryanburton@gmail.com" ]
rryanburton@gmail.com
3b3a12b433ddda95b7b382b744d9a3d30148fc3b
7c0d38f0f48e5a6537ee3efa8abcb9cf60264e32
/AI_module.py
9f6155136b29f8d3dbb5c6d95995424ad2b5767d
[]
no_license
ec500-software-engineering/exercise-1-modularity-leonshen95
4a7b9503187f035e27784604ff649b4a55064fe2
4800516ba6792a6ab1814bd7dc834b9b1cfb2485
refs/heads/master
2020-04-22T02:06:31.057336
2019-02-19T22:30:37
2019-02-19T22:30:37
170,036,542
0
0
null
null
null
null
UTF-8
Python
false
false
3,397
py
import numpy as np from Database_Module import DataBaseModule # Input: ID(from main function perhaps), infoDB(from Database function) # output: Three predicted parameters, three Alert signals(Type:Boolean class AI_module(object): def __init__(self, Systolic_BP, Diastolic_BP, Heart_Rate, Heart_O2_Level, Body_temp...
[ "noreply@github.com" ]
ec500-software-engineering.noreply@github.com
6d5e1737e869931ef05017d71ccaf6375616e8fd
5cb619c42d0e0c325df0f05a9160bcb1477917af
/test_elasticsearch_dsl/test_integration/test_examples/test_composite_aggs.py
e94c53b9c145720c42de06ac8bb17944b11cb98b
[ "Apache-2.0" ]
permissive
zendesk/elasticsearch-dsl-py
707aadfd88f5d3c4197dd8a930ee95d5ee0e643b
e881fc1506dcce6a1f07eea2c5d8a9956b3b925a
refs/heads/master
2023-04-13T01:14:57.321676
2020-01-11T14:27:20
2020-02-03T23:33:00
249,341,023
1
1
Apache-2.0
2023-04-09T15:52:47
2020-03-23T05:11:07
null
UTF-8
Python
false
false
617
py
from elasticsearch_dsl import Search, A from .composite_agg import scan_aggs def test_scan_aggs_exhausts_all_files(data_client): s = Search(index='flat-git') key_aggs = {'files': A('terms', field='files')} file_list = list(scan_aggs(s, key_aggs)) assert len(file_list) == 26 def test_scan_aggs_with_m...
[ "honza.kral@gmail.com" ]
honza.kral@gmail.com
e653fadd7f74e3b125e1c4b62681b165180524ec
50948d4cb10dcb1cc9bc0355918478fb2841322a
/azure-mgmt-network/azure/mgmt/network/v2018_11_01/models/verification_ip_flow_parameters.py
a108cc75d3342f9d9cb8dfbaf388167d7be75c9f
[ "MIT" ]
permissive
xiafu-msft/azure-sdk-for-python
de9cd680b39962702b629a8e94726bb4ab261594
4d9560cfd519ee60667f3cc2f5295a58c18625db
refs/heads/master
2023-08-12T20:36:24.284497
2019-05-22T00:55:16
2019-05-22T00:55:16
187,986,993
1
0
MIT
2020-10-02T01:17:02
2019-05-22T07:33:46
Python
UTF-8
Python
false
false
3,704
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 ...
[ "lmazuel@microsoft.com" ]
lmazuel@microsoft.com
c2bed637a618414d3f7864e8eb5287ddf69b6199
44e8334e1b17fda7f60d9760f59868a9227e2ab0
/python-tf/tfa01.py
a0cdf679c1f0c37ddd68ae7141835652a3c73814
[]
no_license
MysteriousSonOfGod/python-3
47c2aa69a84ba78876c74bc6f2e7e6f3093df1e2
a303a5284c40f3cb96a8082a1f5ed80773b66336
refs/heads/master
2023-02-16T18:21:46.153388
2021-01-13T10:55:14
2021-01-13T10:55:14
null
0
0
null
null
null
null
UTF-8
Python
false
false
7,580
py
# 맞춤설정 : 텐서와 연산 # 필요한 패키지 임포트 # 텐서(Tensor) 생성 및 사용 # GPU 가속기 사용 # tf.data.Dataset 시연 # # 목차 # 1. 텐서플로 임포트 # 2. 텐서 # 2.1 Numpy 호환성 # 3. GPU 가속 # 3.1 장치이름 # 3.2 명시적 장치 배제 # 4. 데이터셋 # 4.1 소스 데이터셋 생성 # 4.2 변환 적용 # 4.3 반복 # 1. 텐서플로 임포트 : 텐서플로 2.0에서는 즉시 실행(eager execution)이 기본적으로 실행 import tensorflow ...
[ "cbaeck1@gmail.com" ]
cbaeck1@gmail.com
503bd777cc7e87940c6a048a9ed608f35a66f9eb
219992b56f8e5cd8b47534d98417dd8ac795110b
/src/FastPass-Mobile/done/Customer_INAC.py
67e1f198232a270b8cee3c4121d77e3de604dc61
[]
no_license
haohaixingyun/dig-python
63844877de0acad04d07d7119e381b9bb4a97395
4e8c3e3cb1ba98f39d65095b4d3b09ba115e586b
refs/heads/master
2021-01-13T08:45:59.669829
2016-10-26T05:54:07
2016-10-26T05:54:07
71,970,759
0
0
null
null
null
null
UTF-8
Python
false
false
3,378
py
# coding = utf - 8 from selenium import webdriver from selenium.webdriver.support.ui import WebDriverWait from selenium.webdriver.common.action_chains import ActionChains import unittest import time,sys import login,C_screenshots import HTMLTestRunner class FastPass_Mobile(unittest.TestCase): ...
[ "yunxinghai@hotmail.com" ]
yunxinghai@hotmail.com
7ba12808f79c1b9062ac447bed4cc1e9936087f7
350db570521d3fc43f07df645addb9d6e648c17e
/1338_Reduce_Array_Size_to_The_Half/solution_test.py
682913413cbd114d4a92c3d561e4171af0fc9826
[]
no_license
benjaminhuanghuang/ben-leetcode
2efcc9185459a1dd881c6e2ded96c42c5715560a
a2cd0dc5e098080df87c4fb57d16877d21ca47a3
refs/heads/master
2022-12-10T02:30:06.744566
2022-11-27T04:06:52
2022-11-27T04:06:52
236,252,145
1
1
null
null
null
null
UTF-8
Python
false
false
393
py
''' 1338. Reduce Array Size to The Half Level: Medium https://leetcode.com/problems/reduce-array-size-to-the-half ''' import unittest class TestSum(unittest.TestCase): def test_sum(self): self.assertEqual(sum([1, 2, 3]), 6, "Should be 6") def test_sum_tuple(self): self.assertEqual(sum((1, ...
[ "benjaminhuanghuang@gmail.com" ]
benjaminhuanghuang@gmail.com
99ff035e7265099ce41a8be6ba3b444fd9d41ce2
907dc8b782765eb6dd0d411d9459836a223084cf
/src/core/urls.py
d6c4327fe9bae9343a397bd886f643c321372716
[]
no_license
lucassimon/eventex-lucassimon
d1722132ae103bd37326eb7fdfee233004ce52ba
8c6c8283fc49a996c51aa22eee833126dfb047d2
refs/heads/master
2021-01-18T18:59:47.276201
2012-04-09T00:46:40
2012-04-09T00:46:40
null
0
0
null
null
null
null
UTF-8
Python
false
false
517
py
from django.conf.urls.defaults import patterns, url from views import HomepageView from views import TalkDetailView from views import TalkListView from views import SpeakerDetailView urlpatterns = patterns( 'core.views', url(r'^$',HomepageView.as_view(),name='homepage'), url(r'^palestras/$', TalkListView.as_view()...
[ "lucassrod@gmail.com" ]
lucassrod@gmail.com
b07110f2fa024792a5ad7131802500fe0d5f2ae6
48d820d4bd6a433c2b0fdb0dcb7657b62db050bf
/Training_Work/odoo_backup_wfo_till_april/custom_addons/sec_app/__manifest__.py
bb54c4ce08652f087e5197ecdb3f3f8b2c935bcc
[]
no_license
dhruv-aktiv/training_task_data
1a30580a512aa4831fb547b250faffff11f7e008
3d8b25ca812e876a484d387fc57272257322c85f
refs/heads/master
2023-06-07T07:06:04.193576
2021-07-01T04:37:13
2021-07-01T04:37:13
381,908,763
0
0
null
null
null
null
UTF-8
Python
false
false
972
py
# -*- coding: utf-8 -*- { 'name': "sec_app", 'summary': """ Short (1 phrase/line) summary of the module's purpose, used as subtitle on modules listing or apps.openerp.com""", 'description': """ Long description of module's purpose """, 'author': "My Company", 'website'...
[ "dhruv.s@icreativetechnolabs.com" ]
dhruv.s@icreativetechnolabs.com
e96efeb48cf0dc93db12b91aedb7cc35b80bd198
413ce352f1fff3c969c15e7c7aa5326d7f138072
/xenia_python_client_library/models/role_list.py
545302b60029b587be9c54de5b973b20d639d245
[ "Apache-2.0" ]
permissive
DutchAnalytics/xenia-python-client-library
63b160424ca5b9d2722118e653217ce3f9de2358
60dc3e21094086124b552ff5bed5895fee826b57
refs/heads/master
2022-12-16T10:13:37.434563
2020-09-16T07:01:12
2020-09-16T07:01:12
257,844,799
0
0
null
null
null
null
UTF-8
Python
false
false
4,973
py
# coding: utf-8 """ Xenia Python Client Library Python Client Library to interact with the Xenia API. # noqa: E501 The version of the OpenAPI document: v2.1 Generated by: https://openapi-generator.tech """ import pprint import re # noqa: F401 import six from xenia_python_client_library.configur...
[ "sascha.vanweerdenburg@dutchanalytics.com" ]
sascha.vanweerdenburg@dutchanalytics.com
5090a44de85946d9f29f27ef8b90f2bd8de0ee6f
779720adbd76737f230f02b703d7379fd5235e3b
/tfx/tools/cli/testdata/test_pipeline_airflow_1.py
f3c35139923ebd8767711eee2377b2247a44c668
[ "Apache-2.0" ]
permissive
asked1988/tfx
960c63a74c7f240526b17f3338c5b45cf2f8abe2
8dbd64e04a3acb5182eb1253ed9fa984beefa7e6
refs/heads/master
2020-06-18T00:18:46.619829
2019-09-28T07:10:37
2019-09-28T07:10:37
196,108,586
0
0
Apache-2.0
2019-09-28T07:10:38
2019-07-10T01:31:00
Python
UTF-8
Python
false
false
3,155
py
# 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 required by applicable law or a...
[ "tensorflow-extended-team@google.com" ]
tensorflow-extended-team@google.com
7601947b0501bc2d59831531656ac96590b76706
b5e720a291a6ac5877ce49341082f6881270bc84
/autosklearn/metalearning/metalearning/metrics/misc.py
705060a70fdd6e922c136c1e24e76c932827ff15
[ "BSD-3-Clause" ]
permissive
Rong-Inspur/auto-sklearn
a39f809ad032c91c5940c5d82622e5c46746261f
275bf1845bf9045262d5458e3e89a91f60b4e08c
refs/heads/master
2020-12-08T05:09:37.304712
2020-01-03T14:47:47
2020-01-03T14:47:47
232,893,534
0
1
NOASSERTION
2020-01-09T19:58:02
2020-01-09T19:58:00
null
UTF-8
Python
false
false
216
py
import sklearn.utils def get_random_metric(random_state=1): random_state = sklearn.utils.check_random_state(random_state) def _random(d1, d2): return random_state.random_sample() return _random
[ "feurerm@informatik.uni-freiburg.de" ]
feurerm@informatik.uni-freiburg.de
67acd779302286b496f1edd3d44404c7f74a87fd
4a23a4d3093e355090289484daa97cf94d3704f6
/src/Python Language/Foundation/py_unexpected_demand.py
924ae243c916f51d4bed0a741e8fc14d20795c06
[]
no_license
VinhMaiVy/learning-python
3a80ddc2f8327aa2450f4713d60e6bf5e2e818c7
0b90bafb2535a5119836a31399d7de726921fc63
refs/heads/master
2023-07-17T11:37:07.440901
2021-08-20T00:38:52
2021-08-20T00:38:52
279,147,017
2
0
null
null
null
null
UTF-8
Python
false
false
926
py
#!/bin/python3 """ Python Input: 3 10 30 0 40 Output: 2 Input: 4 3 5 4 3 3 Output: 0 """ import math import os import random import re import sys # # Complete the 'filledOrders' function below. # # The function is expected to return an INTEGER. # The function accepts following parameters: # 1. INTEGER_ARRA...
[ "vinhmaivy@gmail.com" ]
vinhmaivy@gmail.com
813d33abd2525abbf869b0260b656bd4b37dbb2d
517e78933c19ee1f5ee566abf0cbd3d20dbe2696
/tests/schema/json_object_node_test.py
437f18b000254917e14f939f924f61ed0c940f1f
[ "MIT" ]
permissive
drdhaval2785/sanskrit_data
0d829f59a6181edb2c956dd9a29602b20e84067c
feff3a5269d15106034045883ee8c2d8e3134334
refs/heads/master
2021-05-11T00:45:34.954927
2018-01-19T22:38:07
2018-01-19T22:38:07
118,311,232
1
2
null
2018-01-21T06:39:46
2018-01-21T06:39:45
null
UTF-8
Python
false
false
5,248
py
from __future__ import absolute_import import logging import os import pytest import jsonschema import tests from sanskrit_data.schema import ullekhanam, common, books, users logging.basicConfig( level=logging.DEBUG, format="%(levelname)s: %(asctime)s {%(filename)s:%(lineno)d}: %(message)s " ) @pytest.fixture(s...
[ "vishvas.vasuki@gmail.com" ]
vishvas.vasuki@gmail.com
7f50e8030c2bac91aac94ddc7db280a6337540a3
81f2d4aa3bfb216e04efec81c7f614603a8fd384
/irekua/selia/views/create_views/collection_sites/select_type.py
d4bc75e9e32a68218bfe1ea5872534d2ebd70960
[]
no_license
CONABIO-audio/irekua
44564020c342e8bd49a14707f206962869bc026d
4531a6dbb8b0a0014567930a134bc4399c2c00d4
refs/heads/master
2022-12-10T09:43:05.866848
2019-10-17T16:18:21
2019-10-17T16:18:21
170,434,169
0
1
null
2022-12-08T01:44:04
2019-02-13T03:32:55
Python
UTF-8
Python
false
false
1,950
py
from django.views.generic import TemplateView from django.shortcuts import render from django.shortcuts import redirect from django.urls import reverse from database.models import Collection from database.models import SiteType from irekua_utils.permissions.data_collections import ( sites as site_permissions) cl...
[ "santiago.mbal@gmail.com" ]
santiago.mbal@gmail.com
353b85f1bec3627db4eca9e4bd1966f3c28e44f1
29f533d49e4ebe684f36932f9fb2bc6147cb8f60
/Module3/poc_simpletest.py
bca76099b6103358b08502da17c59dcee76bf2ae
[]
no_license
lanttern/Algorithic_thinking-Rice-
35e42c507c16bb87d17280eea007d15401ef6261
170546991164d9c6f5aefc07f5cbc8555066905c
refs/heads/master
2018-12-31T08:47:17.580920
2014-11-10T04:46:29
2014-11-10T04:46:29
26,421,356
0
1
null
null
null
null
UTF-8
Python
false
false
1,184
py
# -*- coding: utf-8 -*- """ Created on Sun Sep 28 11:03:08 2014 @author: zhihuixie """ """ Lightweight testing class inspired by unittest from Pyunit https://docs.python.org/2/library/unittest.html Note that code is designed to be much simpler than unittest and does NOT replicate unittest functionality """ class Tes...
[ "xiewisdom@gmail.com" ]
xiewisdom@gmail.com
13b3b7f4f58f5ab0b87ad99cf0326445c274a844
60d5bf33cd23ef2050aeb32d60a91b581854a3c7
/features/steps/trie.py
1030d29a54c4abec954307936e8ac9355079ddf2
[ "MIT" ]
permissive
elkingtowa/azove
f0869c190a769eddd32d36c33d52cd924ab4980d
afcea1739cf8936fa1b0e0949d4d34e0f6317e72
refs/heads/master
2020-05-18T18:29:13.087587
2014-06-28T01:52:29
2014-06-28T01:52:29
null
0
0
null
null
null
null
UTF-8
Python
false
false
3,935
py
from behave import register_type from .utils import parse_py import random from azove import leaf register_type(Py=parse_py) def gen_random_value(): value = range(random.randint(5, 40)) value.extend([0]*20) random.shuffle(value) value = ''.join(str(x) for x in value) return value @when(u'clear...
[ "elkingtonx@gmail.com" ]
elkingtonx@gmail.com
ab8cd879dbd29565788ffc88600d692c8c17dae7
49efc700f61ad0d2ac65ab7c84c270bdd1f07203
/Question/migrations/0004_auto_20180127_2134.py
fd4edb43ebf9b30bba4fdafafd6a16e8c63d314f
[]
no_license
cabilangan112/web
2c17c9373cecc154de39917aa7e13267e6d8ac53
4aaa53bb4c5b6117ef2b5e558c6eadaa20d2a99d
refs/heads/master
2021-05-09T22:07:16.708387
2018-01-30T05:09:48
2018-01-30T05:09:48
118,742,867
0
0
null
null
null
null
UTF-8
Python
false
false
595
py
# -*- coding: utf-8 -*- # Generated by Django 1.11.3 on 2018-01-27 13:34 from __future__ import unicode_literals from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('Question', '0003_question_name_of_faculty'), ] operations = [ migrations.Re...
[ "jassencabilangan@gmail.com" ]
jassencabilangan@gmail.com
57c940a904c6057bfff21809c6c1e1dcb1eb7ffd
90ad04f5b0d8b4229b86bcd9d452109b1165e851
/stdlib/2.7/itertools.pyi
fe2fa9cc40920303640189f28dd384e33264727e
[ "MIT", "Apache-2.0" ]
permissive
mulkieran/typeshed
2a9ee3849cefeba04065c76cf5095ce40336ce90
3ff8635d2c3973cdd846679a0d5e7c96c0c54671
refs/heads/master
2021-01-22T12:44:17.278652
2016-03-18T17:04:19
2016-03-18T17:04:19
54,480,135
0
0
null
2016-03-22T14:08:05
2016-03-22T14:08:04
null
UTF-8
Python
false
false
3,186
pyi
# Stubs for itertools # Based on https://docs.python.org/2/library/itertools.html from typing import (Iterator, TypeVar, Iterable, overload, Any, Callable, Tuple, Union, Sequence) _T = TypeVar('_T') _S = TypeVar('_S') def count(start: int = ..., step: int = ...) -> Iterator[int]: ... #...
[ "kramm@google.com" ]
kramm@google.com
a2d01aaefbd6552d102fe1f2d7120b40195f65bc
af8a9a21705b3cf633a733d69e4ad1a19a4219bf
/reduction/pca_clean_test_0611.py
264445e649687be91f81f42adfac037b625d4b30
[ "BSD-3-Clause" ]
permissive
keflavich/APEX_CMZ_H2CO
a436a91b00042881799d664a8b6c617bf2652563
2be1926384d05d73beeb7294bbabbd2d68bee45f
refs/heads/master
2022-12-23T18:12:57.199623
2022-12-15T13:51:04
2022-12-15T13:51:04
19,015,249
0
3
null
null
null
null
UTF-8
Python
false
false
5,657
py
from shfi_otf_pipeline import make_apex_cubes import time # for performance analysis from astropy import units as u import FITS_tools import image_tools import numpy as np # for bigger figures import pylab as pl import spectral_cube from astropy.io import fits import aplpy import os pl.rcParams['figure.figsize'] = (12....
[ "keflavich@gmail.com" ]
keflavich@gmail.com
0001abb015c98a7c8635871e3daf7c3113d5eba8
17ea4b621cc6f19b25b50949dfe0a2e6b5c77cf0
/build/abb_experimental/abb_irb120_moveit_config/catkin_generated/pkg.develspace.context.pc.py
7a2d974d2edfff7c7630e8e65b5538a37df32539
[]
no_license
Sinchiguano/yumi_ROS
a5fead77a2f50a3b147e87509f827c16e4c4319e
0d5973eb8a00d9037f9de33631f0ab6263cbaf3a
refs/heads/master
2020-04-16T08:42:35.187091
2019-01-13T11:15:47
2019-01-13T11:15:47
165,434,778
0
0
null
null
null
null
UTF-8
Python
false
false
391
py
# generated from catkin/cmake/template/pkg.context.pc.in CATKIN_PACKAGE_PREFIX = "" PROJECT_PKG_CONFIG_INCLUDE_DIRS = "".split(';') if "" != "" else [] PROJECT_CATKIN_DEPENDS = "".replace(';', ' ') PKG_CONFIG_LIBRARIES_WITH_PREFIX = "".split(';') if "" != "" else [] PROJECT_NAME = "abb_irb120_moveit_config" PROJECT_SPA...
[ "cesarsinchiguano@hotmail.es" ]
cesarsinchiguano@hotmail.es
3766f87b1defa7fee82bd81c83e709232a9b4f1b
8653592278519809fef6a2d573241658d0fe169f
/FeedScrape/AmqpInterface.py
23d1ff29d052b6af3947972eed880dd67d4c7223
[]
no_license
asl97/MangaCMS
3c9491044598040e947bad7fdbb739783dceb3ce
aa63fbb6e7a00e100ef2251560631bc6b345f382
refs/heads/master
2021-01-17T22:15:21.966804
2015-07-25T21:32:26
2015-07-25T21:32:26
39,838,607
0
0
null
2015-07-28T14:26:41
2015-07-28T14:26:41
null
UTF-8
Python
false
false
2,273
py
#!/usr/bin/env python3 import AmqpConnector import logging import os.path import ssl RUN_STATE = True class RabbitQueueHandler(object): die = False def __init__(self, settings): logPath = 'Main.Feeds.RPC' self.log = logging.getLogger(logPath) self.log.info("RPC Management class instantiated.") # Requir...
[ "something@fake-url.com" ]
something@fake-url.com
90486396917fbb4ea223e23c901945b1e286e63c
89dedd7f3c7acc81d12e2bcb2e716f9af9e5fa04
/build/android/emma_instr_action.gypi
0505eab21a680864dec51b46cc1597aafe2cb18a
[ "BSD-3-Clause" ]
permissive
bino7/chromium
8d26f84a1b6e38a73d1b97fea6057c634eff68cb
4666a6bb6fdcb1114afecf77bdaa239d9787b752
refs/heads/master
2022-12-22T14:31:53.913081
2016-09-06T10:05:11
2016-09-06T10:05:11
67,410,510
1
3
BSD-3-Clause
2022-12-17T03:08:52
2016-09-05T10:11:59
null
UTF-8
Python
false
false
1,409
gypi
# Copyright 2013 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. # This file is meant to be included into an action to provide a rule that # instruments either java class files, or jars. { 'variables': { 'input_path...
[ "bino.zh@gmail.com" ]
bino.zh@gmail.com
927876089452baff896cf069495a71be890d77a5
13a416a2694d1f6aa1a68cd47610236bf61cafbc
/CodePractice/GradeMgmtProject(all)/GradeMgmtProject6.py/student.py
8aa0a5e00a9de8c8d84faf4a5faad1129a84f050
[]
no_license
Highjune/Python
c637f7d0f9e5d1ac9d6ad87b4e54833b8ff4ae11
1be43816d22f5f3b8679cf0cd3939e9d9f54497a
refs/heads/master
2022-11-24T01:20:54.470172
2020-07-27T18:01:47
2020-07-27T18:01:47
263,271,337
0
0
null
null
null
null
UTF-8
Python
false
false
1,492
py
class Student: def __init__(self, hakbun, irum, kor, eng, mat, edp): self._hakbun = hakbun self._irum = irum self._kor = kor self._eng = eng self._mat = mat self._edp = edp @property def hakbun(self): return self._hakbun @property def irum(sel...
[ "highjune37@gmail.com" ]
highjune37@gmail.com
a9d38e1f773a1f7a9141277d3672af3d4b90db60
053b7c0917be14e4296082b215d8a2662b7e247f
/utils.py
deccc3d468cc28ef22aa93757fa9b693d8e8c8a4
[]
no_license
lpigou/ijcv16
c353e52530b32342f093222685f9a287a9864623
9b19747d95129fcbdd787933313594875c74c5c8
refs/heads/master
2021-01-09T20:19:52.626126
2016-08-06T13:58:06
2016-08-06T13:58:06
65,085,043
3
1
null
null
null
null
UTF-8
Python
false
false
5,466
py
import theano import os import errno import numpy as np import csv import re import cPickle floatX = theano.config.floatX cast_floatX = np.float32 if floatX=="float32" else np.float64 def save_pkl(obj, path, protocol=cPickle.HIGHEST_PROTOCOL): with file(path, 'wb') as f: cPickle.dump(obj, f, protocol=p...
[ "lionelpigou@gmail.com" ]
lionelpigou@gmail.com
2e1a6a7ab1fc4729ae433eedfabb3656793a6655
163bbb4e0920dedd5941e3edfb2d8706ba75627d
/Code/CodeRecords/2632/60614/279773.py
720f0b0fa9df7600fc19b18125fdafc2b602ee76
[]
no_license
AdamZhouSE/pythonHomework
a25c120b03a158d60aaa9fdc5fb203b1bb377a19
ffc5606817a666aa6241cfab27364326f5c066ff
refs/heads/master
2022-11-24T08:05:22.122011
2020-07-28T16:21:24
2020-07-28T16:21:24
259,576,640
2
1
null
null
null
null
UTF-8
Python
false
false
776
py
init=[int(x) for x in input().split()] houses=[True]*init[0] events=[] for i in range(init[1]): events.append(input().split()) destroyed=[] for i in events: if i[0]=='D': houses[int(i[1])-1]=False destroyed.append(int(i[1])-1) elif i[0]=='R': try: houses[destroyed.pop(len...
[ "1069583789@qq.com" ]
1069583789@qq.com
9488add9e6bd477697722170ac39ac23c4ed82f9
be7949a09fa8526299b42c4c27adbe72d59d2201
/cnns/foolbox/foolbox_2_3_0/tests/attacks/test_batch_attacks_decoupled_direction_norm.py
19264113ff53412604c7a823f32b4672c1118ac5
[ "MIT", "Apache-2.0" ]
permissive
adam-dziedzic/bandlimited-cnns
375b5cccc7ab0f23d2fbdec4dead3bf81019f0b4
81aaa27f1dd9ea3d7d62b661dac40cac6c1ef77a
refs/heads/master
2022-11-25T05:40:55.044920
2020-06-07T16:14:34
2020-06-07T16:14:34
125,884,603
17
5
Apache-2.0
2022-11-21T21:01:46
2018-03-19T16:02:57
Jupyter Notebook
UTF-8
Python
false
false
1,235
py
import numpy as np from foolbox.attacks import DecoupledDirectionNormL2Attack as Attack def test_untargeted_attack(bn_model, bn_criterion, bn_images, bn_labels): attack = Attack(bn_model, bn_criterion) advs = attack(bn_images, bn_labels, unpack=False) for adv in advs: assert adv.perturbed is not ...
[ "adam.dziedzi@gmail.com" ]
adam.dziedzi@gmail.com
fe0feff2a467ecd9d3d257dc78ef7c9015f41961
ca7aa979e7059467e158830b76673f5b77a0f5a3
/Python_codes/p03862/s090580182.py
2c77a474fb457a9cb62484dedc9f7c385aea966e
[]
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
221
py
n, x = map(int, input().split()) a = list(map(int, input().split())) ans = 0 now = a[0] if now > x: ans += now - x now = x for i in a[1:]: tmp = max(0, now + i - x) now = i - tmp ans += tmp print(ans)
[ "66529651+Aastha2104@users.noreply.github.com" ]
66529651+Aastha2104@users.noreply.github.com
19f13f5e0cff74bc8c983a95264452952c6fa214
eaed66c0dc56a7e5d884cc28a9ff1a211a6619b9
/Django-Rest-Framework/rest_app/helpers/helper.py
306ccca1e1e83ac3e4b858dede21850a49e3dab9
[]
no_license
rohanneps/django
cc2edccd3c00925d544003a91a14d2fad40a6565
e204f27055d3ad80d15543ce2c3d05ad731d5f98
refs/heads/master
2022-12-11T11:15:54.200516
2020-02-12T12:17:09
2020-02-12T12:17:09
191,101,470
2
0
null
2022-12-08T05:26:12
2019-06-10T05:19:19
Python
UTF-8
Python
false
false
3,433
py
import pandas as pd import os from django.conf import settings import datetime from shutil import copy def copy_file(src, dest): copy(src, dest) def create_dir(dir_path): if not os.path.exists(dir_path): os.mkdir(dir_path) def check_input_file_exists(project_id, file_location): # project_dir = os.path.join(s...
[ "rohanneps@gmail.com" ]
rohanneps@gmail.com