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
ac6c159930ec241ddf5d9614aab62550603307e4
3c982f9e570f8185770adbfb0540e22f6d0f3c28
/mp_calc/virtenv/lib/python3.8/site-packages/transcrypt/modules/org/transcrypt/static_check/pyflakes/setup.py
5a7b546f30088ebfe6b4f0a43b7cacf52e048c43
[ "MIT", "Apache-2.0" ]
permissive
azkmee/fip_powerx_mini_projects
48bcf4adca952e70dcb61603eb5ac60522dafebc
fbf3385f11893160770896236ee012927cb092d4
refs/heads/master
2023-07-11T03:01:43.433303
2021-08-04T13:42:31
2021-08-04T13:42:31
392,509,672
0
0
MIT
2021-08-04T13:42:32
2021-08-04T01:37:54
Python
UTF-8
Python
false
false
1,702
py
#!/usr/bin/env python # Copyright 2005-2011 Divmod, Inc. # Copyright 2013 Florent Xicluna. See LICENSE file for details from __future__ import with_statement import os.path try: from setuptools import setup except ImportError: from distutils.core import setup extra = {'scripts': ["bin/pyflakes...
[ "kaiying.fu@gmail.com" ]
kaiying.fu@gmail.com
481bf7cdd52c26f187d6333354067533489ab971
ca7aa979e7059467e158830b76673f5b77a0f5a3
/Python_codes/p02629/s301668790.py
2be6b3631514141e19c4392b540f2016eb69301b
[]
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
251
py
d = {chr(i):i-96 for i in range(97,123)} D = {val:key for key,val in d.items()} N = int(input()) x = "" while N>0: a = N%26 if a!=0: x += D[a] N = N//26 else: x += "z" N = N//26 N -= 1 print(x[::-1])
[ "66529651+Aastha2104@users.noreply.github.com" ]
66529651+Aastha2104@users.noreply.github.com
e4d5760c6a160e54935554abad28831a9ecdb151
fb1be09460a43e089156c8e330ed4e8e4f131d69
/sdk/python/kfp/v2/compiler/compiler_utils_test.py
0b5a703573125f92e7c03d0691fa82606904fcbd
[ "Apache-2.0" ]
permissive
isabella232/pipelines
aa6251b05c1c8c68b8c18cf48308e273d21771ab
9a20fc5137578df511645a2192a1908683184ab8
refs/heads/master
2023-03-08T02:13:37.674505
2020-11-27T10:26:48
2020-11-27T10:26:48
316,469,963
0
0
Apache-2.0
2021-02-23T19:27:21
2020-11-27T10:27:15
null
UTF-8
Python
false
false
3,047
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, ...
[ "noreply@github.com" ]
isabella232.noreply@github.com
d936c5d7dc0d0de7b86cdb17bb7205a1376d8023
aa0270b351402e421631ebc8b51e528448302fab
/sdk/network/azure-mgmt-network/generated_samples/azure_firewall_delete.py
2f9223aa23d1d5d8fa3845317c30269c26bbf0a5
[ "MIT", "LGPL-2.1-or-later", "LicenseRef-scancode-generic-cla" ]
permissive
fangchen0601/azure-sdk-for-python
d04a22109d0ff8ff209c82e4154b7169b6cb2e53
c2e11d6682e368b2f062e714490d2de42e1fed36
refs/heads/master
2023-05-11T16:53:26.317418
2023-05-04T20:02:16
2023-05-04T20:02:16
300,440,803
0
0
MIT
2020-10-16T18:45:29
2020-10-01T22:27:56
null
UTF-8
Python
false
false
1,545
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" ]
fangchen0601.noreply@github.com
e3d39be05805e455c1deccffc6cef710eacbaed6
e74e89592d8a3b1a0b465a7b1595708b224362d2
/pset_pandas_ext/101problems/solutions/p53.py
fc29ede178d0773c6601ea51c71e5190051737f6
[ "MIT" ]
permissive
mottaquikarim/pydev-psets
016f60f1e9d9a534bd9a66ecde8eb412beee37d1
9749e0d216ee0a5c586d0d3013ef481cc21dee27
refs/heads/master
2023-01-10T11:15:57.041287
2021-06-07T23:38:34
2021-06-07T23:38:34
178,547,933
5
2
MIT
2023-01-03T22:28:27
2019-03-30T11:09:08
Jupyter Notebook
UTF-8
Python
false
false
489
py
""" 53. How to get the last n rows of a dataframe with row sum > 100? """ """ Difficulty Level: L2 """ """ Get the last two rows of df whose row sum is greater than 100. """ """ df = pd.DataFrame(np.random.randint(10, 40, 60).reshape(-1, 4)) """ # Input df = pd.DataFrame(np.random.randint(10, 40, 60).reshape(-1, 4)) ...
[ "taqqui.karim@gmail.com" ]
taqqui.karim@gmail.com
9222b943bd41edb76c4f1ec9c79bba60456819be
9b54e3d58447e917a238b85891020c392c4ac601
/acmicpc/2476/2476.py
6f5794e08e79743902671e4a55a00f562436c563
[ "MIT" ]
permissive
love-adela/algorithm-ps
ea0ebcd641a4c309348b389b8618daa83973f4b2
c92d105d8ad344def001160367115ecf99d81c0d
refs/heads/master
2023-05-11T03:37:11.750692
2023-04-30T17:31:30
2023-04-30T17:31:30
174,651,672
0
0
null
null
null
null
UTF-8
Python
false
false
367
py
n = int(input()) result = 0 result_list = [] for _ in range(n): a, b, c = map(int, input().split()) if a == b == c: result = 10000 + a * 1000 elif a == b or a == c: result = 1000 + a * 100 elif b == c: result = 1000 + c * 100 else: result = max(a, b, c) * 100 resu...
[ "love.adelar@gmail.com" ]
love.adelar@gmail.com
31d476a2720970e9db1a515c43928bde53261d05
c88aa1d1f85d58226015510537153daa73358dce
/2/basic_console_output.py
34fd2d446d135668266e2b832eb9e60c00abaaaf
[]
no_license
kmollee/2014_fall_cp
e88ca3acf347a9f49c8295690e4ef81c828cec6b
fff65200333af8534ce23da8bdb97ed904cc71dc
refs/heads/master
2021-01-01T17:56:33.442405
2015-01-07T10:44:32
2015-01-07T10:44:32
24,130,641
0
0
null
null
null
null
UTF-8
Python
false
false
481
py
#!/usr/bin/env python3 # print([object, ...], *, sep=' ', end='\n', file=sys.stdout) # \n Insert a newline in the text at this point # print out single string print("hello this is computer programming section") print("have fun!") # print out mutiple string print("National Formosa University", "Department of Mechani...
[ "10073105@gm.nfu.edu.tw" ]
10073105@gm.nfu.edu.tw
39e056c4570104b905e4df8a5bbee6594c137c8b
ba3a318c72accd9987846966cb8c8fe4d74a9add
/dump/json_to_csv.py
e2526c3701f6bd37af7272f527f910d444245ccc
[]
no_license
ahujadevansh/Te-_first_review
00b5999fae0d56d40255ced75ea66bd1f89c83fe
75de5a2ca419560b4baecb69580d96fd9c7a2394
refs/heads/master
2020-12-26T10:28:00.807350
2020-01-31T17:38:23
2020-01-31T17:38:23
237,480,970
0
0
null
null
null
null
UTF-8
Python
false
false
1,481
py
import json import csv # Opening JSON file and loading the data # into the variable data with open('AMAZON_FASHION.json') as json_file: data = [json.loads(line) for line in json_file] with open('meta_AMAZON_FASHION.json') as meta_json_file: meta_data = [json.loads(line) for line in meta_json_file] ...
[ "ahuja.devansh2@gmail.com" ]
ahuja.devansh2@gmail.com
5550b076d01acfb60a2106360943b8964906e3a0
e82b761f53d6a3ae023ee65a219eea38e66946a0
/All_In_One/addons/BlendLuxCore/ui/render.py
6e9341ccb51da934b33f3e8d2ac3739d2c8368d1
[]
no_license
2434325680/Learnbgame
f3a050c28df588cbb3b14e1067a58221252e2e40
7b796d30dfd22b7706a93e4419ed913d18d29a44
refs/heads/master
2023-08-22T23:59:55.711050
2021-10-17T07:26:07
2021-10-17T07:26:07
null
0
0
null
null
null
null
UTF-8
Python
false
false
914
py
from bl_ui.properties_render import RENDER_PT_render from . import icons # Note: The main LuxCore config UI is defined in ui/config.py # Each of the other render panels is also defined in their # own specific files in the ui/ folder. def luxcore_render_draw(panel, context): layout = panel.layout scene = cont...
[ "root@localhost.localdomain" ]
root@localhost.localdomain
5e3321417a79e959f6588e624265a6600319b625
e06e0f3a58ab25cfd94ffc8ca4446928746a68b8
/Tools/ShowViewDuplicates.py
d36871673239d3043d8ffa380718b1ecc2d48447
[]
no_license
redhog/argentum
ee4b3b33a64a28daca89f4dd3342a1c015934d72
14dfbfb7f43b52e943aa38b3781b364215e0ba6d
refs/heads/master
2020-12-24T18:23:13.068809
2013-04-06T21:16:34
2013-04-06T21:16:34
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,301
py
#!/usr/bin/env python import sys, types import Argentum, sqlalchemy def parse_options(argv): # Parse options kws = dict([arg[2:].split('=', 1) for arg in argv if arg.startswith('--') and '=' in arg]) options = set([arg[2:] for arg in argv ...
[ "egil.moller@freecode.no" ]
egil.moller@freecode.no
d4f36541b6b351e21e92b3698f00f66aed8d11e2
43b6bffc820d26dfd223728bed71241fb3d54983
/abc/060/b.py
a0863adcecbc3ab7e97d0e3b912a0c430993d8b5
[]
no_license
kiccho1101/atcoder
3a163b6a38a62c578dad6d15ccb586d0fcd1e004
c86cb8e08b881a0a01dc2ef538f0699f3951e897
refs/heads/master
2023-03-02T13:27:17.747402
2022-05-30T13:51:00
2022-05-30T13:51:00
223,152,693
1
0
null
2023-02-11T01:29:47
2019-11-21T10:52:49
Python
UTF-8
Python
false
false
129
py
A, B, C = map(int, input().split()) ans = "NO" for i in range(1, 101): if (i * A) % B == C: ans = "YES" print(ans)
[ "yodai.a.kishimoto@rakuten.com" ]
yodai.a.kishimoto@rakuten.com
30db3f9403a1e810b364e964b23326df303408cf
8e474618e7d74c1205b08e913241889c50d20ce9
/lm_atm/__init__.py
b245fdeda24e5c8ba321a43a350f46a29f528cae
[ "BSD-3-Clause" ]
permissive
mojiastonybrook/pyro2
b3b0092ea49215e3d0f7e32aebbdca4d9ed0fd81
050eacac7fcf4d5fc28e9fa356c445777fa7585c
refs/heads/master
2020-03-21T08:26:58.447950
2018-08-03T20:33:49
2018-08-03T20:33:49
138,344,283
0
0
BSD-3-Clause
2018-06-22T20:12:52
2018-06-22T20:12:51
null
UTF-8
Python
false
false
732
py
"""The pyro solver for low Mach number atmospheric flow. This implements as second-order approximate projection method. The general flow is: * create the limited slopes of rho, u and v (in both directions) * get the advective velocities through a piecewise linear Godunov method * enforce the divergence constrain...
[ "michael.zingale@stonybrook.edu" ]
michael.zingale@stonybrook.edu
c3016ccbf64b5cc8a49117aec4e55bf6804339c6
c1d03f41b6c80ef1e0a42b1bb710ba90d680e4c2
/src/softfab/artifacts.py
747f7b022e811f0e97916d711de92f855a0736f7
[ "BSD-3-Clause" ]
permissive
boxingbeetle/softfab
4f96fc389dec5cd3dc987a427c2f491a19cbbef4
0ecf899f66a1fb046ee869cbfa3b5374b3f8aa14
refs/heads/master
2021-06-22T15:42:38.857018
2020-11-23T22:53:21
2020-11-23T22:53:21
169,245,088
20
0
null
null
null
null
UTF-8
Python
false
false
40,676
py
# SPDX-License-Identifier: BSD-3-Clause from functools import partial from gzip import GzipFile, open as openGzip from mimetypes import guess_type from os import fsync, replace from pathlib import Path # https://github.com/PyCQA/pylint/issues/3499 from struct import Struct # pylint: disable=no-name-in-module from typ...
[ "maarten@boxingbeetle.com" ]
maarten@boxingbeetle.com
c25338f500e167177dbe1fc765ec35937fb0859f
dc7a172155de674be7c4d7f86a176c764521d8d6
/tensorflow/python/ops/ragged/ragged_elementwise_ops.py
edf721b5a7266099382d0f0ad9d1d1f9d90546db
[ "Apache-2.0" ]
permissive
shahzadlone/tensorflow
03770e87605be927d8f0371e02a088e3912c0133
47a7c6ec8880a34c00d9ba336e4d75ba4a9cbb85
refs/heads/master
2020-04-08T18:37:17.191985
2018-11-29T06:20:19
2018-11-29T06:20:19
159,616,691
0
0
Apache-2.0
2018-11-29T06:12:41
2018-11-29T06:12:41
null
UTF-8
Python
false
false
13,727
py
# Copyright 2018 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applica...
[ "gardener@tensorflow.org" ]
gardener@tensorflow.org
ff5f350b14c41c7e9dbac3c1fdb4a1a16644243e
c9396af9d8effc7dc9b1d11707f1bc2eba1f8e60
/mysite/users/migrations/0057_auto_20190402_1230.py
d526e499a43e22aa7991194df1c38972bdee5a60
[]
no_license
nevergofullretard/easylearn
4af352db1dad480aa88adfe84ed7c2f6d0ec8102
6520bcf7d3e5dc27f512a95034105f98459d9f82
refs/heads/master
2022-01-23T04:27:50.105433
2019-07-28T08:12:29
2019-07-28T08:12:29
194,724,510
0
0
null
null
null
null
UTF-8
Python
false
false
524
py
# Generated by Django 2.1.2 on 2019-04-02 10:30 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('users', '0056_profile_unittest'), ] operations = [ migrations.RemoveField( model_name='profile', name='unittest', ...
[ "jagermaxi1@gmail.com" ]
jagermaxi1@gmail.com
b83def3d85d615938c904397095bdebf7c50a149
e754934d3b33995d9037d28eba7b3c4d10e43574
/src/Reporter/urls.py
66e1970d4e1827dde9477013e16a8b8fcfed0c11
[]
no_license
raselcse07/Online-Newsportal-with-Django
903e8c2845dad7ee8397d7fa2afc2f6d919b02f4
1b728fc969b4e716ed461e97376bf0233d58269a
refs/heads/master
2020-03-16T12:05:04.274960
2018-10-31T16:57:25
2018-10-31T16:57:25
132,659,181
4
1
null
null
null
null
UTF-8
Python
false
false
1,918
py
from django.conf.urls import url from . import views app_name="Reporter" urlpatterns = [ url(r'^enter/$', views.UserLogin,name="user_login"), url(r'^logout/$', views.UserLogout,name="user_logout"), url(r'^add_new/$', views.Register,name="user_register"), url(r'^all_reporters/$', views.AllUsers,name="reporte...
[ "rasel_cse07@yahoo.com" ]
rasel_cse07@yahoo.com
7ce8ab3768ccdc816eb6c4fadc8df818083cfc56
17ca5bae91148b5e155e18e6d758f77ab402046d
/analysis_SWarp/CID1174/analysis/analysis.py
b455fb7ad3c672af167a02f8b07ecd05577d097c
[]
no_license
dartoon/QSO_decomposition
5b645c298825091c072778addfaab5d3fb0b5916
a514b9a0ad6ba45dc9c3f83abf569688b9cf3a15
refs/heads/master
2021-12-22T19:15:53.937019
2021-12-16T02:07:18
2021-12-16T02:07:18
123,425,150
0
0
null
null
null
null
UTF-8
Python
false
false
6,263
py
#!/usr/bin/env python2 # -*- coding: utf-8 -*- """ Created on Thu Mar 29 20:17:41 2018 @author: Dartoon On the analysis of CID1174 """ import numpy as np import astropy.io.fits as pyfits import matplotlib.pylab as plt import glob import sys sys.path.insert(0,'../../../py_tools') from psfs_average import psf_ave from ...
[ "dingxuheng@mail.bnu.edu.cn" ]
dingxuheng@mail.bnu.edu.cn
92878413e3672770f5f5324733f95c5ea9c8fd8e
fb25f4455f32e0895a2ff1f0c83dfee9ca5e2857
/new Sample MQ/utils.py
66b9eef8801ed8d3014a303ce2cd30dd9a146f0d
[ "MIT" ]
permissive
MrRezoo/rabbitmq-python
c4e6154d8d9f1a62b85d718091eea00f9487f1f3
bb3029343f8d78bba7f7b6dfb657f25f0896109c
refs/heads/main
2023-05-07T07:17:23.200593
2021-05-29T10:16:10
2021-05-29T10:16:10
361,524,085
1
0
null
null
null
null
UTF-8
Python
false
false
153
py
def greeting_callback(channel, method, properties, body): print(f"Message received:{body}") # channel.basic_ack(delivery_tag=method.delivery_tag)
[ "rezam578@gmail.com" ]
rezam578@gmail.com
1b44b7d33cec0f09af495b06de7c65c824e347d6
78d351297d85860d8344833fe6b59f66d8d2f56e
/tests/test_node.py
091bea87442feedaaf11ceb6d343c9f23d411159
[]
no_license
diegodelemos/yadage
0f28ba343a291250ed9425447f8d019d73101e5e
9bb69bd87b503d040b45775966e9964dd3390b7b
refs/heads/master
2021-03-27T20:13:54.275449
2017-06-29T22:04:53
2017-06-29T22:04:53
97,604,200
0
0
null
2017-07-18T13:53:38
2017-07-18T13:53:38
null
UTF-8
Python
false
false
1,753
py
import pytest from yadage.wflownode import YadageNode from yadage.yadagestep import yadagestep def test_create(basic_packtivity_spec,localfs_state): step = yadagestep('myname',basic_packtivity_spec,localfs_state) node = YadageNode('myname',step,'identiifer') def test_result_prepub(basic_packtivity_spec,localfs_st...
[ "lukas.heinrich@gmail.com" ]
lukas.heinrich@gmail.com
c548290b2071fb334249b31664e500b88b040687
a722faf9fb50c794555861bb4858c3ed8a7a25f3
/sandbox/py_opt_book_practice/2.tutorial/lp.py
e3e17c6c6fe8eb77d22ec1a33a1aac75b6f89a46
[]
no_license
ar90n/lab
31e5d2c320de5618bc37572011596fee8923255d
6d035e12f743e9ba984e79bfe660967b9ca8716b
refs/heads/main
2023-07-25T17:29:57.960915
2023-07-22T12:08:18
2023-07-22T12:08:18
77,883,405
4
0
null
2023-07-17T08:45:14
2017-01-03T04:15:49
Jupyter Notebook
UTF-8
Python
false
false
454
py
# %% import pulp from functools import reduce from operator import iadd x = pulp.LpVariable("x", cat="Continuous") y = pulp.LpVariable("y", cat="Continuous") problem = reduce( iadd, [1 * x + 3 * y <= 30, 2 * x + 1 * y <= 40, x >= 0, y >= 0, x + 2 * y], pulp.LpProblem("LP", pulp.LpMaximize), ) status = pro...
[ "argon.argon.argon@gmail.com" ]
argon.argon.argon@gmail.com
1bf05fc9c8883387c1b48ad76d25eca55a62796d
78f3fe4a148c86ce9b80411a3433a49ccfdc02dd
/2016/11/trump-tax-rates-20161111/graphic_config.py
c0db52114d8aae7650de6a5c2f538bd9e8092490
[]
no_license
nprapps/graphics-archive
54cfc4d4d670aca4d71839d70f23a8bf645c692f
fe92cd061730496cb95c9df8fa624505c3b291f8
refs/heads/master
2023-03-04T11:35:36.413216
2023-02-26T23:26:48
2023-02-26T23:26:48
22,472,848
16
7
null
null
null
null
UTF-8
Python
false
false
305
py
#!/usr/bin/env python import base_filters COPY_GOOGLE_DOC_KEY = '1U3QKQCsvnoj1YS3Z71koL5EjbSjmHJwCoj0k4m9_mcA' USE_ASSETS = False # Use these variables to override the default cache timeouts for this graphic # DEFAULT_MAX_AGE = 20 # ASSETS_MAX_AGE = 300 JINJA_FILTER_FUNCTIONS = base_filters.FILTERS
[ "ahurt@npr.org" ]
ahurt@npr.org
1336a488ae31819a6b6706f316f7140ba6d9c5ee
163bbb4e0920dedd5941e3edfb2d8706ba75627d
/Code/CodeRecords/2526/60730/290577.py
98430e4c0d95e1486e4da8e62060bc2725f3bdce
[]
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
102
py
null = "" m = input() n = input() root1 = eval(m) root2 = eval(n) print(list(sorted(root1 + root2)))
[ "1069583789@qq.com" ]
1069583789@qq.com
9c41def0cdfc3f1ec062c7bf85e599b2a65ea764
041ee8262fc76caa89b031f95de18b3dcac75399
/eve/io/mongo/__init__.py
f2616c72b392b9d5c0dc250df4a2c0e707909d75
[ "BSD-3-Clause" ]
permissive
pyeve/eve
cfbd7645c6775b77083fc4a607b05fa64bb64e3b
dfce5710bbf9c807209c773775bc09fa1b34d387
refs/heads/master
2023-08-29T01:55:28.404940
2023-07-10T07:05:49
2023-07-10T07:05:49
6,331,139
3,369
481
NOASSERTION
2023-09-14T12:17:35
2012-10-22T07:39:33
Python
UTF-8
Python
false
false
403
py
# -*- coding: utf-8 -*- """ eve.io.mongo ~~~~~~~~~~~~ This package implements the MongoDB data layer. :copyright: (c) 2017 by Nicola Iarocci. :license: BSD, see LICENSE for more details. """ # flake8: noqa from eve.io.mongo.mongo import Mongo, MongoJSONEncoder, ensure_mongo_indexes from eve.io.m...
[ "nicola@nicolaiarocci.com" ]
nicola@nicolaiarocci.com
054cca05f39858090cee406c62a6ccc48d5ce96b
0e846ad9899ef6a08769099ed34207407e9dc463
/tb_rest_client/api/api_pe/dashboard_controller_api.py
b3b531c362083618318b30ea5a81a7a88c448117
[ "Apache-2.0" ]
permissive
simatei/python_tb_rest_client
17b2031cb136f1468efd29f013701a8207dca247
a6cd17ef4de31f68c3226b7a9835292fbac4b1fa
refs/heads/master
2023-06-24T18:18:01.149736
2021-07-16T11:15:43
2021-07-16T11:15:43
null
0
0
null
null
null
null
UTF-8
Python
false
false
36,164
py
# coding: utf-8 # Copyright 2020. ThingsBoard # # # 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 # # # Unl...
[ "ibarkov.ua@gmail.com" ]
ibarkov.ua@gmail.com
121a20bfd53daf32bafeef078d9487c453a61e43
5f65e12a62b59aea9263f35240c960b7e6009aa5
/cb_scripts/swapi.py
98905d56b099a62229de293cc09ee77c780cb856
[ "MIT" ]
permissive
christopher-burke/python-scripts
23e80b8e7f26a74ab68dc7d0ad1a8093d900cf8b
f5dceca0bdbe9de6197b26858600b792f6adff8a
refs/heads/main
2022-05-20T01:36:04.668447
2022-04-25T20:31:33
2022-04-25T20:31:33
6,054,247
1
1
MIT
2022-03-16T02:24:45
2012-10-03T01:49:53
Python
UTF-8
Python
false
false
1,029
py
#!/usr/bin/env python3 """Python Generator - Crawl Star Wars API (swapi.io). Example using Python Generator to crawl an API and display results to the terminal. """ import requests import json import logging logging.basicConfig(level=logging.DEBUG) logging.disable(logging.CRITICAL) def crawl(link): """Crawl ...
[ "christopherjamesburke@gmail.com" ]
christopherjamesburke@gmail.com
53bc46370437bd8bcdd205a293d556e37d5298b0
ca7aa979e7059467e158830b76673f5b77a0f5a3
/Python_codes/p03325/s905035150.py
c447a8b02f15a6a87165ac70796f5cf3a17d4210
[]
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
906
py
import sys import math from collections import defaultdict, deque, Counter from copy import deepcopy from bisect import bisect, bisect_right, bisect_left from heapq import heapify, heappop, heappush input = sys.stdin.readline def RD(): return input().rstrip() def F(): return float(input().rstrip()) def I(): return...
[ "66529651+Aastha2104@users.noreply.github.com" ]
66529651+Aastha2104@users.noreply.github.com
8ae446e40ef439e740011d559bef9d6481ec4f0d
ae8e083cc3f7cf50449633c1d18cd3ffd184ba78
/Add_to_Sprint.py
1b69026484ba3244bfe8a371fa9ddd88d0ecc54e
[]
no_license
jrodens/Halogen_Reporting
8577e0817555b4c48d9cf27bdd080599def37275
48ce2891c96cb6aacb50b3f28a4f63834a0147ac
refs/heads/master
2021-06-19T07:33:50.376807
2021-06-17T18:30:27
2021-06-17T18:30:27
221,496,157
1
0
null
null
null
null
UTF-8
Python
false
false
661
py
from jira import JIRA import openpyxl, pprint import pandas as pd import json import getpass print('start') username = input('Enter your user name: ') password = getpass.getpass(prompt='Enter password: ') jira = JIRA(basic_auth = (username, password), options = {'server': 'https://jira.troweprice.com'}) li...
[ "noreply@github.com" ]
jrodens.noreply@github.com
53386424cf8d8375a3c67e7ed53bf45654205cbb
600df3590cce1fe49b9a96e9ca5b5242884a2a70
/device/test/DEPS
b4a8f734c18ee3815f831214f9eed5ce14796a5b
[ "BSD-3-Clause" ]
permissive
metux/chromium-suckless
efd087ba4f4070a6caac5bfbfb0f7a4e2f3c438a
72a05af97787001756bae2511b7985e61498c965
refs/heads/orig
2022-12-04T23:53:58.681218
2017-04-30T10:59:06
2017-04-30T23:35:58
89,884,931
5
3
BSD-3-Clause
2022-11-23T20:52:53
2017-05-01T00:09:08
null
UTF-8
Python
false
false
97
include_rules = [ "+mojo/edk/embedder", "+net/base", "+net/proxy", "+net/url_request", ]
[ "enrico.weigelt@gr13.net" ]
enrico.weigelt@gr13.net
c7a8b7c8164f4f45ffa657b19d299bf8c9e2219b
ed3eb650e54ae21752022e91c5e2bcb525c3b531
/timer.py
1159b68c952d7887eb96f16e1101952cfb3f02d3
[]
no_license
JellyWX/Minesweeper
f9a7d4a9b17cdce2b6310b1cf6b379484a9b058e
78d243a4b09b7853d5ae12d336d532c80d99bf08
refs/heads/master
2020-05-21T05:08:09.197866
2017-04-28T13:48:06
2017-04-28T13:48:06
84,574,393
2
0
null
null
null
null
UTF-8
Python
false
false
615
py
import time class Timer(): def __init__(self,paused=False): self.count = 0.0 self.paused = paused self.start_time = time.time() self.time = time.time() - self.start_time self.bookmarks = {} def Time(self): if not self.paused: self.time = time.time() - self.start_time return self....
[ "judewrs@gmail.com" ]
judewrs@gmail.com
799a0fbfb5f217a4076efa28d3b25c73638c9db2
6413fe58b04ac2a7efe1e56050ad42d0e688adc6
/tempenv/lib/python3.7/site-packages/plotly/validators/scatter/marker/_colorbar.py
0174e20f44a8510e83ddc5db1bbfeb1903110108
[ "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,729
py
import _plotly_utils.basevalidators class ColorBarValidator(_plotly_utils.basevalidators.CompoundValidator): def __init__( self, plotly_name='colorbar', parent_name='scatter.marker', **kwargs ): super(ColorBarValidator, self).__init__( plotly_name=plotly_name, parent_n...
[ "jmswank7@gmail.com" ]
jmswank7@gmail.com
64fac536ef0a90d802f82e9f466262d5cc46e1d6
473fc28d466ddbe9758ca49c7d4fb42e7d82586e
/app/src/main/java/com/syd/source/aosp/external/dhcpcd-6.8.2/dbus/test/introspection
772a1db7ba21a54316b6f22ff69b5d0eb5bc5d60
[ "BSD-2-Clause", "BSD-3-Clause", "LicenseRef-scancode-other-permissive", "ISC" ]
permissive
lz-purple/Source
a7788070623f2965a8caa3264778f48d17372bab
e2745b756317aac3c7a27a4c10bdfe0921a82a1c
refs/heads/master
2020-12-23T17:03:12.412572
2020-01-31T01:54:37
2020-01-31T01:54:37
237,205,127
4
2
null
null
null
null
UTF-8
Python
false
false
193
#!/usr/bin/python import dbus bus = dbus.SystemBus() object = dbus.Interface(bus.get_object("org.chromium.dhcpcd", '/'), "org.freedesktop.DBus.Introspectable") print object.Introspect()
[ "997530783@qq.com" ]
997530783@qq.com
76b05811d89ceb68df764c7fc9e0753371ba0d6f
cb7c3673ad937c282a39be74d0aee8628e75928d
/tests/test_issues/output/importee.py
79e067f7364c9a9d4f49fae1e0a3b964e7db2437
[ "CC0-1.0" ]
permissive
bpow/linkml
649d6d48f39a8c51efa92fba7eb25c1d8854b472
ab83c0caee9c02457ea5a748e284dee6b547fcd6
refs/heads/main
2023-05-05T18:46:04.501897
2021-05-13T21:17:03
2021-05-13T21:17:03
371,163,928
0
0
CC0-1.0
2021-05-26T20:42:13
2021-05-26T20:42:12
null
UTF-8
Python
false
false
2,589
py
# Auto generated from importee.yaml by pythongen.py version: 0.9.0 # Generation date: 2021-03-26 14:21 # Schema: importee # # id: https://example.org/importee # description: A minimal element to import # license: https://creativecommons.org/publicdomain/zero/1.0/ import dataclasses import sys import re from typing imp...
[ "action@github.com" ]
action@github.com
b631b23d61acac1bdb836c8355d8749bac2ef508
e698b045d43cb4ab1a220fb2cd741f181aa2a71d
/methodiki/methods/feeds.py
6edf6acbc9b62008ce1c4cbbc8068b190b00a61e
[ "MIT" ]
permissive
lemonad/methodiki
b9037256f6831ebf69cc7a6da31521305ac964d4
6fcb0ae7256da0eac1f468d4a76033d719393c37
refs/heads/master
2016-08-05T09:16:40.891376
2013-04-19T13:45:36
2013-04-19T13:45:36
1,135,265
0
0
null
null
null
null
UTF-8
Python
false
false
1,098
py
# -*- coding: utf-8 -*- from django.contrib.auth.models import User from django.contrib.syndication.feeds import Feed from django.core.cache import cache from django.core.urlresolvers import reverse from django.db.models import Count, Q from django.utils.translation import ugettext_lazy as _ from models import Method ...
[ "jonasnockert@gmail.com" ]
jonasnockert@gmail.com
14dab761c957fa8f76e28418b802dd838eccd3e7
38a9e2780ac8b800c336207a5c0a621eb1277a53
/src/olympus/objects/abstract_object.py
05b23e2b6dd6c742f61afd6d819e6428ba815921
[ "MIT" ]
permissive
priyansh-1902/olympus
2454850413bb0562a1bfe20ab35fa7e770367323
f57ad769918c0d5d805c439ab5ffbd180af698fa
refs/heads/main
2023-06-21T05:58:49.118264
2021-08-07T22:19:41
2021-08-07T22:19:41
342,454,516
0
0
MIT
2021-08-07T22:19:41
2021-02-26T03:43:08
Python
UTF-8
Python
false
false
7,322
py
#!/usr/bin/env python #=============================================================================== import os import json from olympus import Logger from abc import ABCMeta as NativeABCMeta # ==================== # Olympus Object class # ==================== class Object: """ Abstraction of a dictionary ...
[ "hase.florian@gmail.com" ]
hase.florian@gmail.com
e24186035a400786cc9e7db5190629d098309fe0
50948d4cb10dcb1cc9bc0355918478fb2841322a
/azure-mgmt-network/azure/mgmt/network/v2018_10_01/models/subnet_paged.py
5d32aa914aa15eaab8dceab680c5a37f4ee25cb3
[ "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
922
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
10a0cbe5a5c712e626fd331a191daf2b5ce1a739
c04db5c5592c0a3b87135ea0b271fd1bc1551031
/slicer-build-base/update.py
df88f06f0bcf7e613ca4d5131ff41ee23596991b
[ "BSD-3-Clause", "LicenseRef-scancode-3dslicer-1.0" ]
permissive
ihnorton/SlicerDocker
1f9a66ec43aa75bdefe5258a4cfc3473eb347448
a7ddd36ef5cec105ecd567598dadbd506ad60595
refs/heads/master
2021-01-17T14:38:53.906156
2016-07-20T14:48:49
2016-07-20T14:48:49
64,945,374
0
0
null
2016-08-04T15:20:47
2016-08-04T15:20:46
null
UTF-8
Python
false
false
1,426
py
#!/usr/bin/env python import argparse import os import subprocess # # Usage: # # $ ./update.py svn_revision svn_revision_date # # Example: # # $ ./update.py 25199 2016-06-19 # def update_dockerfile(dockerfile, svn_revison, svn_revision_date): lines = [] with open(dockerfile) as f: for line in f: ...
[ "jchris.fillionr@kitware.com" ]
jchris.fillionr@kitware.com
77c802fb94d839900a9c00602e7bba9246422592
2680056f7b196d591082485327cd0ac9c9681000
/gooey/gui/client_app.py
893c6b6fe31de7eaa3be0575ce294bbd0d0ef4b9
[ "MIT" ]
permissive
craffel/Gooey
24f32263a28d63676bd7d14bd988caefe1476be9
a1b6f0c8389b9e7db12c82891632e34a7831ef9b
refs/heads/master
2020-12-26T04:37:34.146576
2014-08-26T16:10:57
2014-08-26T16:10:57
23,358,229
1
0
null
null
null
null
UTF-8
Python
false
false
1,417
py
''' Created on Jan 23, 2014 @author: Chris ''' import sys from gooey.monkey_parser import ArgumentError from gooey.gui.action_sorter import ActionSorter class ClientApp(object): def __init__(self, parser, payload): self._parser = parser self.description = parser.description self.actio...
[ "audionautic@gmail.com" ]
audionautic@gmail.com
6213bf17abdacd748f9440be2a169adb191ddaeb
2bb90b620f86d0d49f19f01593e1a4cc3c2e7ba8
/pardus/playground/murat/applications/games/nimuh-data/actions.py
f433ab040e9b0bade258079b399ae8312884756a
[]
no_license
aligulle1/kuller
bda0d59ce8400aa3c7ba9c7e19589f27313492f7
7f98de19be27d7a517fe19a37c814748f7e18ba6
refs/heads/master
2021-01-20T02:22:09.451356
2013-07-23T17:57:58
2013-07-23T17:57:58
null
0
0
null
null
null
null
UTF-8
Python
false
false
438
py
#!/usr/bin/python # -*- coding: utf-8 -*- # # Licensed under the GNU General Public License, version 2. # See the file http://www.gnu.org/licenses/old-licenses/gpl-2.0.txt from pisi.actionsapi import autotools from pisi.actionsapi import pisitools NoStrip = ["/usr/share/nimuh"] def setup(): autotools.configure()...
[ "yusuf.aydemir@istanbul.com" ]
yusuf.aydemir@istanbul.com
f6cf40032c7058130b6a60c0a46535752736fcd0
66e15a587af77b6459fb357df7bbb24c484f1a50
/profile_bluesky/startup/instrument/devices/fourc_device.py
2181929a4bd18a82ae8fcef039dcf06e4d2a9258
[]
no_license
prjemian/ipython-vm7
a3f42459aeae631393e289999a5c02504f7ef8d6
47d2a5e6c92e4f79cf2c189a62d9b36fe11fc1fa
refs/heads/main
2021-06-17T04:04:00.964129
2021-03-17T16:45:21
2021-03-17T16:45:21
172,103,731
1
0
null
2021-03-17T16:41:44
2019-02-22T17:06:35
Python
UTF-8
Python
false
false
1,513
py
"""Four circle diffractometer (simulated)""" __all__ = [ "fourc", ] from ..session_logs import logger logger.info(__file__) import gi gi.require_version("Hkl", "5.0") from apstools.diffractometer import DiffractometerMixin from bluesky import plan_stubs as bps from bluesky import plans as bp from hkl.diffract...
[ "prjemian@gmail.com" ]
prjemian@gmail.com
2ef4dc58909580fc43e200acbd80acd664477898
15f321878face2af9317363c5f6de1e5ddd9b749
/solutions_python/Problem_136/2647.py
356f60323ef5ba65a838607fa6bf412f53e4d4e3
[]
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
470
py
fin = open("input", "r") fout = open("output", "w") t = int(fin.readline()) for test in range(t): c,f,x = [float(x) for x in fin.readline().split(" ")] s = 0.0 min_T = None n = -1 T = x/2.0 while min_T == None or T < min_T: min_T = T n += 1 r = x / (2+(n+1)*f) ...
[ "miliar1732@gmail.com" ]
miliar1732@gmail.com
eaf2fa809fbe9f364983085101903709adac499a
6fa7f99d3d3d9b177ef01ebf9a9da4982813b7d4
/RuwpKTa8grNSQkqX5_2.py
c919aa2277c8c6d9319da0f7562e476af1f2d92b
[]
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
503
py
import re from fractions import Fraction def fractions(decimal): digits = re.findall(r'\d+',decimal) left = int(digits[0]) if len(digits) == 2: x = 1 y = pow(10,len(digits[1])) left = int(digits[0]) right = int(digits[0] + digits[1]) else: x = pow(10,len(digits[1])) y = pow(10,len(digit...
[ "daniel.reich@danielreichs-MacBook-Pro.local" ]
daniel.reich@danielreichs-MacBook-Pro.local
727108201fd7da4b467c6de140f9d9d2f6a5d63e
4661440238746b96872b9b01cdf7b34b2814dc31
/set10-4.py
e4d87e0723d3759e4a5965d2f6c7c285881c6bdf
[]
no_license
mahakalai/ma
d7644f3483acbb3922f2fad9d1f9c6466f5c1c7d
9b7a6af5685cdc641bae645fba6f213ae825b6cb
refs/heads/master
2020-04-15T17:18:08.828130
2019-04-02T07:33:33
2019-04-02T07:33:33
164,869,206
0
0
null
null
null
null
UTF-8
Python
false
false
79
py
n,k=map(int,input().split()) l=[int(x) for x in input().split()] print(l[k-1])
[ "noreply@github.com" ]
mahakalai.noreply@github.com
6be9e8f10b271c5212471d66df7bdd804d24227d
606a141e99d61576c8aa795bce4298215250a75c
/chamados/models.py
d5d03ac2ee49e68bd20d16148e16fce30de5ca4d
[]
no_license
rodrigues87/escolarapp
3dee027deb74f833953f77d6bee3e524d64b381e
f7ed0d2679a6bc763156cb4f1c436ae4aa6e62de
refs/heads/master
2023-03-03T02:59:52.250777
2021-02-11T04:20:15
2021-02-11T04:20:15
303,896,100
0
0
null
null
null
null
UTF-8
Python
false
false
1,118
py
from django.db import models from usuarios.models import User class Impressora(models.Model): nome = models.CharField(max_length=40) usuario = models.ForeignKey(User, on_delete=models.CASCADE) STATUS_CHOICES = ( ("F", "FUNCIONANDO"), ("D", "DEFEITO"), ("R", "REPARO") ) sta...
[ "pedroh.mix@gmail.com" ]
pedroh.mix@gmail.com
29c54c9ad7f52eb9f62cdb46c72b2ec6250b32ea
09996c147d498e61352683c5e7df0f3cd517ea27
/test/ElMu/crabMCTTHad3_ElMu.py
fb9eb79310f334865ed0fe5371e61a2d49f7f90a
[]
no_license
shchenarani/whelicityAnalyzer
3e3320a6d03eab21de6d51dad60f057b6a2f3d47
8b4586f7210c6a166b949470c22310b25683da4f
refs/heads/master
2021-09-10T12:22:52.088849
2018-03-26T07:52:54
2018-03-26T07:52:54
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,179
py
from CRABClient.UserUtilities import config, getUsernameFromSiteDB config = config() config.General.requestName = 'TTHad27Feb' #config.General.requestName = 'TTJetsDiLepOut04' #config.General.requestName = 'DataMuEG' config.General.workArea = 'crab_projects' config.General.transferOutputs = True config.General.t...
[ "hesam.kaveh@gmail.com" ]
hesam.kaveh@gmail.com
a48c125885c6ca5ebc58af05eb696aae642ef0f9
ce5b7b967eb5597eee5087c3a1a7d1a7b36fe2cb
/05.Web Scraping with Beautiful Soup/scraper6_scraping_multiple_pages.py
a505755d81ed7a72ac0d3808544e52e1b68f2ea5
[ "MIT" ]
permissive
Manya-Singh/Web-Scraping-and-API-in-Python
09d00f7a48863529489db5a3d83528b754cf4245
9595bc418866642143eaf4a1f700dd646d81d427
refs/heads/master
2023-03-14T18:14:00.755597
2020-04-15T10:19:26
2020-04-15T10:19:26
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,212
py
import requests from bs4 import BeautifulSoup from urllib.parse import urljoin base_url = "https://en.wikipedia.org/wiki/Music" response = requests.get(base_url) html = response.content soup = BeautifulSoup(html, 'html.parser') div_notes = soup.find_all('div', {'role':'note'}) div_links = [div.find('a') for div in ...
[ "ptyadana@users.noreply.github.com" ]
ptyadana@users.noreply.github.com
009e8fc6710992aadbe6962d6d2d6f85eb12bc24
57fbfb0fdc5be06cd3596718bb0f2e8325a08534
/blogproject/settings/__init__.py
ab22c95af228b6c14038f3fc978c679fb435be2c
[]
no_license
tangkaiyang/HelloDjango-blog-tutorial
e54fccc29f5323900260df496e74589e2611f03c
085649ff5f3c2dde6ef98943cbde9653202a9ebf
refs/heads/master
2022-05-06T09:31:35.845827
2020-04-01T11:20:52
2020-04-01T11:20:52
250,714,022
0
0
null
2022-04-22T23:13:43
2020-03-28T04:28:21
CSS
UTF-8
Python
false
false
165
py
# !/usr/bin/env python3 # -*- coding: utf-8 -*- # @Time : 2020/3/30 13:10 # @Author : tangky # @Site : # @File : __init__.py.py # @Software : PyCharm
[ "945541696@qq.com" ]
945541696@qq.com
0e1df4bf45bb65e7081571d4ffa984f9583dbd5b
48cfe3e405cdc964d652b47d2ec3e4dc1e074540
/underage.py
07dd291498390cee1590ef40ba3750c4a9b489b3
[]
no_license
DennisMufasa/mongodb
b2753ee50a84f86ddb399cffe111e6c1f07b2566
39d866cc03d0a3dc4d7cfa9f8462bd85cb521783
refs/heads/master
2020-07-28T07:20:00.997227
2019-09-19T06:35:47
2019-09-19T06:35:47
209,349,689
1
0
null
null
null
null
UTF-8
Python
false
false
647
py
# import python driver for mongodb import pymongo # import datetime import datetime # create client to communicate with the database client = pymongo.MongoClient("mongodb://localhost:27017") # select database Students = client["students"] # select collection info = Students["info"] # current year current_year = da...
[ "denny.muasa@gmail.com" ]
denny.muasa@gmail.com
2dc5938a9b2b8f6f39b460eed25cca88f684fe7a
73c87a48c88dd87b8988d31c9570837568e66f4b
/src/macadjan_sync/views.py
8ab6ac13bd80e6ad65392bf2142bf1ab2256cf9e
[]
no_license
transformaps/macadjan-ecozoom
e0ad248bc6cb3179ec3e9cd4e529e7710e093b84
98ed5fb7fafd76d8ba2a98e0f9ce28209741ed4a
refs/heads/master
2021-01-23T01:41:51.498806
2015-09-03T19:09:05
2015-09-03T19:09:05
null
0
0
null
null
null
null
UTF-8
Python
false
false
15,738
py
# -*- coding: utf-8 -*- from django.shortcuts import render_to_response, get_object_or_404 from django.http import Http404, HttpResponseRedirect from django.template import RequestContext from django.views.generic import RedirectView, TemplateView from django.core.urlresolvers import reverse from django.utils.translat...
[ "andres.moya@kaleidos.net" ]
andres.moya@kaleidos.net
39bc2c5a2071bd16b20773683295ddf4c36b9594
62b04f9f2cc8ec5c4ccaaf918bbc48c32367a3a3
/spotty/providers/gcp/helpers/gcp_credentials.py
7eeab8df3f553f2234f8dedd3ab2c0a10f32a447
[ "MIT" ]
permissive
spotty-cloud/spotty
80e9bb703df505c9f9c11e9efa0466bda6e419bd
bdbacd4e893bbc5e5372f11cac4658dc683a4904
refs/heads/dev
2023-08-11T00:32:52.906420
2022-06-25T19:46:14
2022-06-25T19:46:14
108,915,261
234
17
MIT
2023-06-18T16:27:56
2017-10-30T22:26:37
Python
UTF-8
Python
false
false
411
py
from google.auth import default class GcpCredentials(object): def __init__(self): credentials, effective_project_id = default() self._credentials = credentials self._project_id = effective_project_id @property def project_id(self): return self._project_id @property ...
[ "apls777@gmail.com" ]
apls777@gmail.com
a9bd2ab769d0af7d3244111204ad8b0704b939d6
44722fb1541645937f17e8e920f4954ff99cc046
/src/gamesbyexample/pegsolitaire.py
e5d0c13da9acd0c11c75dd8ff4dc03f061423cf6
[]
no_license
asweigart/gamesbyexample
a065d21be6c2e05a4c17643986b667efae0bc6de
222bfc3b15ade1cf3bde158ba72a8b7a969ccc5a
refs/heads/main
2023-07-16T12:12:58.541597
2021-09-01T21:24:35
2021-09-01T21:24:35
343,331,493
89
10
null
null
null
null
UTF-8
Python
false
false
6,097
py
"""Peg Solitaire, by Al Sweigart al@inventwithpython.com A single-player, peg-jumping game to eliminate all the pegs. More info at https://en.wikipedia.org/wiki/Peg_solitaire Tags: large, game, board game""" __version__ = 0 import sys # Set up the constants: EMPTY = '.' PEG = 'O' NORTH = 'N' SOUTH = 'S' EAST = 'E' WES...
[ "asweigart@gmail.com" ]
asweigart@gmail.com
9fabfca87e245aacf977fdc18728e889106a30ef
b6ee3ca85e2ef799d2c51e14a52f6574ab34fa68
/q39.py
3b99e7ba2527c24c314b9b5190e875b6d00db59e
[]
no_license
maples1993/Strike-to-Offer
b857f08acdd39697ee44ad28a6835352607d4582
b86f464026a222b1b9accccf0b123319e85f4390
refs/heads/master
2020-03-27T23:10:09.276866
2018-09-04T06:16:07
2018-09-04T06:16:07
147,297,160
1
0
null
null
null
null
UTF-8
Python
false
false
756
py
""" Date: 2018/9/1 """ class TreeNode: def __init__(self, x): self.val = x self.left = None self.right = None class Solution: def process(self, root): if not root: return 0 if not root.left and not root.right: return 1 depth_l = self.pr...
[ "panchao1993@126.com" ]
panchao1993@126.com
19ae276177a2ea3f3a172fe024f7d23b2b84e71a
0da7b2dcec230172dd8a8cbbefa7125ea13f8969
/freight/notifiers/__init__.py
ca4cb7ec247bda8aa385861aab9dad3a832dce2d
[ "Apache-2.0" ]
permissive
nicolasbaer/freight
4e364480ae0dad0dcc7a8ddf9219def18f942a0d
e305486394b5295d7c5e1126e4d2661c837cd66b
refs/heads/master
2021-01-24T22:15:23.196067
2015-04-20T17:40:56
2015-04-20T17:40:56
null
0
0
null
null
null
null
UTF-8
Python
false
false
262
py
from __future__ import absolute_import, unicode_literals from .base import Notifier, NotifierEvent # NOQA from .manager import NotifierManager from .slack import SlackNotifier manager = NotifierManager() manager.add('slack', SlackNotifier) get = manager.get
[ "dcramer@gmail.com" ]
dcramer@gmail.com
4fbcb44fd9740deb775b52f1313c3fa32706ebda
08504fcf3bb8032d087008a05d309111ec29fd42
/foodcartapp/migrations/0020_auto_20200619_0959.py
cbf4c2f501fd1f109d1faa5b9aa29c47660738bd
[]
no_license
Zed-chi/star-burger
0e4b29bd0bdf4289a6205dc4d4844510a9b13469
660d39f2d34aed4c7604160a794a4b1f04b47aa3
refs/heads/master
2023-03-12T00:05:16.611599
2021-02-13T17:01:47
2021-02-13T17:01:47
320,936,255
0
0
null
2020-12-21T22:33:04
2020-12-12T22:24:44
Python
UTF-8
Python
false
false
812
py
# Generated by Django 3.0.7 on 2020-06-19 09:59 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ("foodcartapp", "0019_auto_20200619_0948"), ] operations = [ migrations.AlterField( model_name="order", name="status",...
[ "zed-chi@mail.ru" ]
zed-chi@mail.ru
3ffcf195a83f2d5d2f4f98da14ba63df3a5a8fe7
3b5d0c88a747baccf62f6c189ab001cf192181cb
/1/single_number2.py
01f10ee7154243765f6fa77f6d1dda2a78a373c3
[ "Apache-2.0" ]
permissive
OZ-T/leetcode
273f652ae39017026f517a9c4a81b60cfaa5bc4c
c70489f82876107f51f43cee9cdcbf25bb43145b
refs/heads/master
2023-07-23T19:59:57.092165
2021-08-28T09:23:51
2021-08-28T09:23:51
null
0
0
null
null
null
null
UTF-8
Python
false
false
591
py
class Solution(object): def singleNumber(self, nums): """ :type nums: List[int] :rtype: int """ res = 0 for i in xrange(32): sum = 0 for j in xrange(len(nums)): if (nums[j] >> i) & 1 == 1: sum += 1 ...
[ "guotiexin@gmail.com" ]
guotiexin@gmail.com
1da9a59638bb2bf5ba6aa261650f6613ee1762f7
8518388434af72be420927477044139d47ca2d1d
/src/streamlink/plugins/kingkong.py
e50b8144878724cc6825cc2bed590bab838c6a05
[ "BSD-2-Clause", "CC-BY-SA-2.0", "MIT", "LicenseRef-scancode-other-copyleft", "LicenseRef-scancode-proprietary-license" ]
permissive
e2pluginss/streamlink
3b126b8cbcf53ed95bff6795366e6fcea99eb51b
955a97c646bc608f070d9ac1c8cebf75afd8cdb8
refs/heads/master
2023-09-01T00:54:28.553000
2018-06-13T19:21:37
2018-06-13T19:21:37
137,282,441
1
0
BSD-2-Clause
2021-02-21T20:45:32
2018-06-13T23:32:00
Python
UTF-8
Python
false
false
2,561
py
import re from streamlink.plugin import Plugin from streamlink.plugin.api import http, validate from streamlink.stream import HTTPStream, HLSStream API_URL = "https://g-api.langlive.com/webapi/v1/room/info?room_id={0}" VOD_API_URL = ( "https://g-api.langlive.com/webapi/v1/replayer/detail?live_id={0}") STATUS_ONLI...
[ "gravyboat@users.noreply.github.com" ]
gravyboat@users.noreply.github.com
4d9c1f577eec2cd8ce0af9cf91407788a6f49d34
159aed4755e47623d0aa7b652e178296be5c9604
/data/scripts/templates/object/draft_schematic/space/armor/shared_mass_reduction_kit_mk5.py
cf8f4b2faf2ce5c9b5156047cf141a62bf2f5b18
[ "MIT" ]
permissive
anhstudios/swganh
fb67d42776864b1371e95f769f6864d0784061a3
41c519f6cdef5a1c68b369e760781652ece7fec9
refs/heads/develop
2020-12-24T16:15:31.813207
2016-03-08T03:54:32
2016-03-08T03:54:32
1,380,891
33
44
null
2016-03-08T03:54:32
2011-02-18T02:32:45
Python
UTF-8
Python
false
false
463
py
#### NOTICE: THIS FILE IS AUTOGENERATED #### MODIFICATIONS MAY BE LOST IF DONE IMPROPERLY #### PLEASE SEE THE ONLINE DOCUMENTATION FOR EXAMPLES from swgpy.object import * def create(kernel): result = Intangible() result.template = "object/draft_schematic/space/armor/shared_mass_reduction_kit_mk5.iff" result.attr...
[ "rwl3564@rit.edu" ]
rwl3564@rit.edu
74c4e7ccc1b44963fae2919bc87c3272c0f1d3e8
55c250525bd7198ac905b1f2f86d16a44f73e03a
/Python/Pytest/pluggy/src/pluggy/__init__.py
b822ed7b66e29a82341dcd5b2ce2de03bfb0172e
[ "MIT" ]
permissive
NateWeiler/Resources
213d18ba86f7cc9d845741b8571b9e2c2c6be916
bd4a8a82a3e83a381c97d19e5df42cbababfc66c
refs/heads/master
2023-09-03T17:50:31.937137
2023-08-28T23:50:57
2023-08-28T23:50:57
267,368,545
2
1
null
2022-09-08T15:20:18
2020-05-27T16:18:17
null
UTF-8
Python
false
false
128
py
version https://git-lfs.github.com/spec/v1 oid sha256:3e3cf07040ad53c088f15aceef27e2e8a9231aed432d85b8ac47d3035e548640 size 504
[ "nateweiler84@gmail.com" ]
nateweiler84@gmail.com
bcbcbdaa1002da6b67de32f1118ab1884008f6f5
7519cca3b4179cc394ece0fff5121b82c012cfc7
/accounts/swagger_params.py
afed867cc324fcdd04b6d7bc4879ec85939d3619
[ "MIT" ]
permissive
timgates42/Django-CRM
fc0e27b0e1edaac9554b0e9d94f7a6cd29348926
52d972be3e95c5bd2068cd15490774e7b2f0c4f7
refs/heads/master
2023-03-21T12:31:19.681108
2022-03-09T04:14:39
2022-03-09T04:14:39
245,112,328
0
0
MIT
2020-03-05T08:51:49
2020-03-05T08:51:48
null
UTF-8
Python
false
false
3,943
py
from drf_yasg import openapi organization_params_in_header = openapi.Parameter( 'org', openapi.IN_HEADER, required=True, type=openapi.TYPE_INTEGER) organization_params = [ organization_params_in_header, ] account_get_params = [ organization_params_in_header, openapi.Parameter("name", openapi.IN_QUERY...
[ "noreply@github.com" ]
timgates42.noreply@github.com
806f7eed2c7690161376825075a875eaf78b6803
9b7d002cc1969b8f2c9985a9cc1e96340c294db5
/zeeguu/content_retriever/quality_filter.py
0926d5f9db14bb7ac43cffd5df1101d96b799e9f
[ "MIT" ]
permissive
alinbalutoiu/Zeeguu-Core
12c367f3f4df0920a5833f68e429591ce5f25988
348f0aa05603fb9d2b06e1f38dbf6bb9fdcaac6d
refs/heads/master
2020-04-02T03:59:08.771594
2018-10-31T18:06:57
2018-10-31T18:06:57
153,993,899
0
0
MIT
2018-10-21T09:53:35
2018-10-21T09:53:35
null
UTF-8
Python
false
false
1,842
py
import zeeguu import newspaper from zeeguu.model import Article html_read_more_patterns = [ "To continue reading this premium" # New Scientist ,"Cet article est réservé aux abonnés" #Le Figaro ,"L’accès à la totalité de l’article est protégé" #Le Monde , "Ces informations sont destinées au groupe Baya...
[ "mircea.lungu@gmail.com" ]
mircea.lungu@gmail.com
f1e0c2b53a59f49b57baf4525821480584d97b49
627b050148e767be12cfc7dfa81b1c6368cf3104
/BaekJoonOnlineJudge/SolvedACClass/Class2/baekjoon_10250.py
c1eaf5ec32506f0cbdf9b795f0f85b76e6616ddb
[]
no_license
imn00133/algorithm
6ce5d10491bde853eb9e4d6a69bde3124723875c
40d7bbe6e3cfe932122c32a9f730f951e948ef2d
refs/heads/master
2022-08-13T20:26:06.200622
2022-07-31T08:54:26
2022-07-31T08:54:26
231,281,731
0
0
null
null
null
null
UTF-8
Python
false
false
477
py
# https://www.acmicpc.net/problem/10250 # Solved Date: 20.04.06. import sys read = sys.stdin.readline def main(): test_case_num = int(read().strip()) for _ in range(test_case_num): height, width, num = (int(x) for x in read().split()) floor = (num - 1) % height + 1 if num == 1: ...
[ "imn00133@gmail.com" ]
imn00133@gmail.com
991dafb4002fe4b859fd35c5bb490c7384fd907a
90472e8c726dea65d85f3747bdfb2cdb88bb6edd
/setup.py
6e155a2fde7040c1ab25099e39d9dee15d4d8ce0
[]
no_license
frbuccoliero/kindle_maker
9f67b3d650a6d1f5d01bcfc76aabf1d7aa3d0adc
745bc1a39e5794f42a5a63792ac6bb24b9566ad1
refs/heads/master
2023-01-21T14:01:31.369325
2020-11-27T15:12:23
2020-11-27T15:12:23
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,133
py
#!/usr/bin/env python # coding=utf-8 from setuptools import setup from wheel.bdist_wheel import bdist_wheel as _bdist_wheel class bdist_wheel(_bdist_wheel): def finalize_options(self): _bdist_wheel.finalize_options(self) self.root_is_pure = False def get_tag(self): python, abi, pl...
[ "jachin1992@hotmail.com" ]
jachin1992@hotmail.com
08f6fd3d344ce7916c78504c5ab5b8864398bb93
14ddda0c376f984d2a3f7dcd0ca7aebb7c49648d
/bnn_mcmc_examples/examples/mlp/mnist/hmc/constants.py
6f44e075ad10967af90a69770f663789aec7f855
[ "MIT" ]
permissive
papamarkou/bnn_mcmc_examples
62dcd9cc0cf57cda39aa46c2f2f237bbcd2d35bb
7bb4ecfb33db4c30a8e61e31f528bda0efb24e3d
refs/heads/main
2023-07-12T20:51:28.302981
2021-08-22T13:06:17
2021-08-22T13:06:17
316,554,634
1
1
null
null
null
null
UTF-8
Python
false
false
410
py
# %% Import packages from bnn_mcmc_examples.examples.mlp.mnist.constants import num_chains, output_path # %% Define sampler-specific output directories sampler_output_path = output_path.joinpath('hmc') sampler_output_pilot_path = sampler_output_path.joinpath('pilot_run') sampler_output_run_paths = [ sampler_outp...
[ "theodore.papamarkou@gmail.com" ]
theodore.papamarkou@gmail.com
b2b8f09cb38d46f94a35b943a988e9fe20646fa2
acf7457d3a799cb9bff12686d2d616688bcd4b5b
/packages/python/plotly/plotly/validators/icicle/marker/colorbar/_minexponent.py
5b104b90a66c9e0cab80a8505fe0863da609c369
[ "MIT" ]
permissive
plotly/plotly.py
f4f61639f08160f16195efc95b5901dc5a937346
975a704074f01c078e0fdfa32bdf17130bf89e69
refs/heads/master
2023-09-06T06:15:08.340035
2023-08-24T12:28:14
2023-08-24T12:28:14
14,579,099
14,751
2,989
MIT
2023-09-08T19:55:32
2013-11-21T05:53:08
Python
UTF-8
Python
false
false
481
py
import _plotly_utils.basevalidators class MinexponentValidator(_plotly_utils.basevalidators.NumberValidator): def __init__( self, plotly_name="minexponent", parent_name="icicle.marker.colorbar", **kwargs ): super(MinexponentValidator, self).__init__( plotly_name=plotly_name, ...
[ "nicolas@plot.ly" ]
nicolas@plot.ly
9f50b9e4f07fa302758cf1c51d0170144ad83665
2354fdd6a2457bd81bc17f1ec2b58fd25540a52f
/setup.py
dc4dbee18896a987124aa5597df3ad2291b5d86d
[ "MIT" ]
permissive
mattdennewitz/lshhdc
83629a5ec17bd6bdc28d757e1bc34f07a5cd7709
fdc34b0c984986b2b80eaeb83a35c575dff14fe5
refs/heads/master
2020-12-13T20:55:42.371084
2014-11-15T17:52:25
2014-11-15T17:52:25
26,686,707
0
1
null
null
null
null
UTF-8
Python
false
false
902
py
from setuptools import Command, setup, find_packages class PyTest(Command): user_options = [] def initialize_options(self): pass def finalize_options(self): pass def run(self): import sys, subprocess errno = subprocess.call([sys.executable, 'runtests.py']) ra...
[ "mattdennewitz@gmail.com" ]
mattdennewitz@gmail.com
4228b377a324d9df8d63f24d5fed567259266e2d
c358cc70e9e8c73ca3f9193de1d045c7f539b6ce
/fermipy/scripts/quickanalysis.py
86cf8556f4fd6a762b04e068eb2275330be772ff
[ "BSD-3-Clause" ]
permissive
sarabuson/fermipy
9d8295f9459c990781e57cc6c56d4d1cb273a2d8
9bdd290d7b1c4d20b1bfa75f16942a2dc10870e9
refs/heads/master
2021-07-17T11:17:42.276447
2017-10-18T20:08:14
2017-10-18T20:08:14
106,459,653
0
0
null
2017-10-10T19:12:06
2017-10-10T19:06:00
Python
UTF-8
Python
false
false
5,296
py
# Licensed under a 3-clause BSD style license - see LICENSE.rst from __future__ import absolute_import, division, print_function import os import copy import yaml from fermipy import utils from fermipy.gtanalysis import GTAnalysis import argparse def run_analysis(config): print('Running analysis...') gta = G...
[ "mdwood137@gmail.com" ]
mdwood137@gmail.com
cb8f01856167c1ce23b4544df02f4e9324e4e171
b347bc4b850dee4a8a9a171b563a3f31230ce1c7
/sktime/clustering/tests/test_k_shapes.py
99bbe310056ea14ff2c9662ba9cfad9e60e030c8
[ "BSD-3-Clause" ]
permissive
sktime/sktime
5963962df338c5931a2f9f1794d1203c50ddc27e
70b2bfaaa597eb31bc3a1032366dcc0e1f4c8a9f
refs/heads/main
2023-08-22T18:20:08.022950
2023-08-22T15:24:39
2023-08-22T15:24:39
156,401,841
1,117
268
BSD-3-Clause
2023-09-14T20:44:21
2018-11-06T15:08:24
Python
UTF-8
Python
false
false
1,799
py
"""Tests for time series k-shapes.""" import numpy as np import pytest from sktime.clustering.k_shapes import TimeSeriesKShapes from sktime.datasets import load_basic_motions from sktime.tests.test_switch import run_test_for_class expected_results = [ 0, 1, 0, 1, 1, 0, 0, 1, 0, ...
[ "noreply@github.com" ]
sktime.noreply@github.com
55d4298e11e9c8edcb7549ebee92c73eaebada2a
de24f83a5e3768a2638ebcf13cbe717e75740168
/moodledata/vpl_data/303/usersdata/284/82469/submittedfiles/testes.py
ba4f98923a5a678d2b5df0ff74180f314180ed2e
[]
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
35
py
i=0 while (i<10): print(i)
[ "rafael.mota@ufca.edu.br" ]
rafael.mota@ufca.edu.br
4ad07d7d4557022dfac73161606825c4ad8234f9
5801a6c01f86a47aeac4c37c1199703f3e006acc
/dbutils/statistics_redis_onedb.py
7b0dd9dcc9cf172e73b2a3839c9fa00187893685
[]
no_license
w495/ngrm-emt
45b02016bcd2a4f558d49a8916ea4470056f588d
2b95e26dd1f1416c12aaa3b12846e633c614602d
refs/heads/master
2020-05-09T19:27:58.097627
2011-12-09T04:32:17
2011-12-09T04:32:17
2,945,171
0
1
null
null
null
null
UTF-8
Python
false
false
1,135
py
# -*- coding: utf-8 -*- import redis import statistics_ex_nosql as stens class Statistics_redis(stens.Statistics_ex_nosql): ''' Для Redis Server 2.4.2 ''' def __init__(self): self.server = redis.Redis(db=stens.Statistics_ex_nosql.STATISTICS_INDEX) def flush(self): ...
[ "w@w-495.ru" ]
w@w-495.ru
b98469045d429299e2e553b57f37fb19f6e9f0b4
a25aa09af984d08084a395f9b6df427d3756f11a
/diary/0912.py
78aac9b7366e0aa72b56a0d7a39a23bfa7cff6a2
[]
no_license
luyihsien/leetcodepy
31971e851a4ae77942a5d9e3ff07faea6e504c66
a54bd09f4b28f106196a6cd8a0f9c056bcd237e6
refs/heads/master
2020-05-19T13:21:57.854086
2019-10-16T14:23:00
2019-10-16T14:23:00
185,037,569
0
0
null
null
null
null
UTF-8
Python
false
false
117
py
''' res=[1] for i in res: res.append(i) print(res) ''' n=2 for i in range(n): n=n+1 print(n) print(n)
[ "luyihsien@gmail.com" ]
luyihsien@gmail.com
07797620d94bb53777163e1aeca4e878ee2b1332
38d93c5fd72fee380ec431b2ca60a069eef8579d
/Baekjoon,SWEA, etc/프로그래머스/저울.py
64d5e4751f5c51935694a77e980da5f709e30ca7
[]
no_license
whgusdn321/Competitive-programming
5d1b681f5bee90de5678219d91cd0fa764476ddd
3ff8e6b1d2facd31a8210eddeef851ffd0dce02a
refs/heads/master
2023-01-01T01:34:22.936373
2020-10-24T11:05:08
2020-10-24T11:05:08
299,181,046
0
0
null
null
null
null
UTF-8
Python
false
false
269
py
def solution(weight): weight.sort() if 1 not in weight: return 1 else: a = 0 for i in range(len(weight)): if weight[i] - 1 <= a: a += weight[i] else: break return a + 1
[ "blackgoldace@naver.com" ]
blackgoldace@naver.com
ceb667c2b4a0328a0a479835b9a5d36d6ecf4e89
0691ac1d8f2e90d1048548576b57dc5b457b91ee
/tests/unitary/LiquidityGaugeWrapperUnit/conftest.py
1db95995e4b24c992213fa8b2018935236eb6dc6
[ "MIT" ]
permissive
bcamacho/mobi-dao-contracts
8815ed5b7d398b4f1785405358dd7aade57344dd
60c53a91d63301d1947e506d19679e7b91ee1ba4
refs/heads/master
2023-08-11T19:02:55.050251
2021-09-19T01:19:48
2021-09-19T01:19:48
null
0
0
null
null
null
null
UTF-8
Python
false
false
640
py
import pytest @pytest.fixture(scope="module") def unit_gauge(LiquidityGaugeWrapperUnit, alice, liquidity_gauge, vault): contract = LiquidityGaugeWrapperUnit.deploy( "Tokenized Gauge", "TG", liquidity_gauge, {"from": alice} ) vault.set_token(contract, {"from": alice}) yield contract @pytest.f...
[ "ben@hauser.id" ]
ben@hauser.id
5c11dd4ae5035a54298b8ac7909903e7d37bfb5a
07533e47a08b41fd96eabc4ca735e0f166a50a0c
/backend/app/main/utils/toSignTranslator/main.py
c507ae60e480c5cb12a458503ecae94c6fb210b0
[]
no_license
thebhatman/ConnectAll
20eae2e441ae16d11dd2dfd55dda9f355d18be41
0fb540685f378878ed51431673c527ae28f91d90
refs/heads/master
2022-12-14T03:36:13.063101
2020-05-20T17:38:26
2020-05-20T17:38:26
216,511,208
0
1
null
2022-12-08T06:45:10
2019-10-21T08:04:21
Python
UTF-8
Python
false
false
5,357
py
import speech_recognition as sr import numpy as np import cv2 from easygui import * import os from PIL import Image, ImageTk from itertools import count import tkinter as tk import string import os import base64 import requests #import selecting # obtain audio from the microphone dir_path = os.path.dirname(os.path.real...
[ "shivam.cs.iit.kgp@gmail.com" ]
shivam.cs.iit.kgp@gmail.com
b5a27293f48fe0016f934e1e887f3b4c990c28dc
0d76013f6e1ee69713690d6d6e65ce05a3c94de1
/law/wsgi.py
d8c4f310433e11d14fff6667e55c01ec4a76d9ed
[]
no_license
rafiulgits/law
8f8576980a47dc27ef744a9c32447e69630d3eca
42e6e6ac79229b648e023b3ae9c3252919045453
refs/heads/master
2023-03-05T22:05:25.854131
2021-02-20T04:02:52
2021-02-20T04:02:52
177,262,688
1
0
null
null
null
null
UTF-8
Python
false
false
383
py
""" WSGI config for law 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/2.1/howto/deployment/wsgi/ """ import os from django.core.wsgi import get_wsgi_application os.environ.setdefault('DJANGO_SETTINGS_...
[ "avoidcloud@gmail.com" ]
avoidcloud@gmail.com
3fc5c1f51b4fcb8899f7e5a3a34ae8d26a00122c
7310c8c9f8d240eda3206909349c7a42741b6ec8
/hello.py
cf4f67fadbe906ea5bbd1b132bbfc0386ef9f7ca
[]
no_license
angelahv/test_pull
5e1fda771bbfa8f8743496d51ebae48dbfd48bd4
45973ce50d720c62702227580c4fb649eb990c07
refs/heads/master
2020-11-26T12:37:05.180814
2019-12-19T14:04:40
2019-12-19T14:04:40
229,069,755
0
0
null
2019-12-19T14:19:45
2019-12-19T14:19:44
null
UTF-8
Python
false
false
13
py
print('Ola')
[ "jprandrade2@gmail.com" ]
jprandrade2@gmail.com
d4b69c48f8fea6f8a10ea8d1ab90523f1cb7a926
bd4812ba7af196d2e866cbf2935b2e7308d95066
/python/leetcode/061_rotate_list.py
9b988df187914eb823ebf5cf29739a8d5914764c
[ "Apache-2.0" ]
permissive
yxun/notebook
f507201e15c4376f0655121724254c0d5275c3b1
00eb1953d872a9a93a13d7cf23d8e4ed641d1ce7
refs/heads/master
2023-09-01T03:50:48.142295
2023-08-17T12:11:25
2023-08-17T12:11:25
207,569,654
2
2
Apache-2.0
2023-08-17T12:11:26
2019-09-10T13:38:49
Java
UTF-8
Python
false
false
1,630
py
#%% """ - Rotate List - https://leetcode.com/problems/rotate-list/ - Medium Given a linked list, rotate the list to the right by k places, where k is non-negative. Example 1: Input: 1->2->3->4->5->NULL, k = 2 Output: 4->5->1->2->3->NULL Explanation: rotate 1 steps to the right: 5->1->2->3->4->NULL rotate 2 steps to ...
[ "yuanlin.yxu@gmail.com" ]
yuanlin.yxu@gmail.com
b3ad6f9acc8516ffebf3606166be012b59906751
3834a683bc7f3eb66615fad8c95d2f9400ca825a
/Arrayed.py
a395d58916a075731a7bee27242b51c6bf5b1f06
[]
no_license
balajimanikandanm/python3
5d0ae2a0fd2e20426ee9ac5dfc8a26eb0117aa29
ed151ee91c935dc7ecb2c0e54c4e7b107a32c5e7
refs/heads/master
2020-05-31T22:37:44.534017
2019-08-14T10:24:00
2019-08-14T10:24:00
190,523,807
0
1
null
null
null
null
UTF-8
Python
false
false
523
py
n1,m1=map(int,input().split()) li=[] ui=0 for i in range(n1): li.append(list(map(int,input().split()))) for i in range(n1): for j in range(m1-1): for k in range(j+1,m1+1): if li[i][j:k]==[1]*len(li[i][j:k]): if all(li[p+i][j:k]==[1]*len(li[p+i][j:k]) for p in range(len(li...
[ "noreply@github.com" ]
balajimanikandanm.noreply@github.com
7f47a5abdaa3b9f3335796342b62baa33d206f6e
1fe6972bbf44ccad991c25c801a8bd6462bdc02b
/test.py
8ec04bbbbbd4011c770ec3adc380407abed2d806
[]
no_license
bayerj/chopmunk
a86c61c1e163c2e30b81985daf9648c0eed61504
fca0a4a086c8ceec0e07a6bebfc0dd54f990654c
refs/heads/master
2016-09-06T14:05:17.038503
2012-09-19T09:56:56
2012-09-19T09:56:56
3,226,213
1
0
null
null
null
null
UTF-8
Python
false
false
4,402
py
import cStringIO import json import tempfile import os import chopmunk as L def test_timing(): lst = [] pipe = L.list_sink(lst) pipe = L.timify(pipe) pipe.send({}) assert len(lst) == 1, 'nothing added to sink' assert 'datetime' in lst[0] def test_tagging(): lst = [] pipe = L.list_si...
[ "bayer.justin@googlemail.com" ]
bayer.justin@googlemail.com
987f30e8e9b401bc021c7e8d8d2b735c3b314334
37da9405056d8c77296aeebcab168439fe3e378a
/bika/uw/extenders/client.py
fd9ed54dd5ee2c21d302f7e1319acb094bed885d
[]
no_license
mikejmets/bika.uw
b2ffff3e34ce7c01653df46d177d93613d213668
d8c024064cf9af0961ced787d10eb61d85bb467a
refs/heads/master
2021-01-20T13:22:56.281486
2017-06-14T13:31:36
2017-06-14T13:31:36
82,688,689
0
0
null
2017-02-21T14:24:46
2017-02-21T14:24:45
null
UTF-8
Python
false
false
1,108
py
from archetypes.schemaextender.interfaces import IOrderableSchemaExtender from archetypes.schemaextender.interfaces import ISchemaModifier from bika.lims.interfaces import IAnalysisService from zope.component import adapts from zope.interface import implements class AnalysisServiceSchemaExtender(object): adapts(I...
[ "campbell@bikalabs.com" ]
campbell@bikalabs.com
69f750d9a1694a4127aabe4724ef06df52abfc42
1e9c9f2a9639db7cdb032aae69cb4d99aef1d3a5
/pluralSight/pythonFundamentals/6_collections/3_string.py
ae50864af6aca2fbf933bf4c3b69d75c2a66d492
[ "MIT" ]
permissive
sagarnikam123/learnNPractice
f0da3f8acf653e56c591353ab342765a6831698c
1b3b0cb2cff2f478006626a4c37a99102acbb628
refs/heads/master
2023-02-04T11:21:18.211654
2023-01-24T14:47:52
2023-01-24T14:47:52
61,184,927
2
1
MIT
2022-03-06T11:07:18
2016-06-15T06:57:19
Python
UTF-8
Python
false
false
1,905
py
# String ################################################################################ # homogeneous immutable sequence of unicode codepoints(characters) len('llanfairpwllgwyngyllgogerychwyrndrobwllllantysiliogogogoch') # concatenate using '+' operator "New" + "found" + "land" # += operator re-binds the reference...
[ "sagarnikam123@gmail.com" ]
sagarnikam123@gmail.com
e9e5d98734c30d8d9231141fdccc3d9955a7b6a4
8b2af3cff75ba2a6f8557cdea0d852b9076ff6a3
/day016-day020/day018/venv/Scripts/easy_install-script.py
ffb39cf2a600a79820246e56d15e4284020681c2
[]
no_license
AlexYangLong/Foundations-of-Python
98e5eaf7e7348120049f1ff4bb3d31393ad05592
bcf3a1fe526140fd2b05283c104488698ebc99fd
refs/heads/master
2020-03-16T21:45:34.232670
2018-05-11T10:19:21
2018-05-11T10:19:21
133,013,526
3
0
null
null
null
null
UTF-8
Python
false
false
432
py
#!"D:\for python\0418\venv\Scripts\python.exe" # EASY-INSTALL-ENTRY-SCRIPT: 'setuptools==28.8.0','console_scripts','easy_install' __requires__ = 'setuptools==28.8.0' import re import sys from pkg_resources import load_entry_point if __name__ == '__main__': sys.argv[0] = re.sub(r'(-script\.pyw?|\.exe)?$', '', sys.a...
[ "alex@alex.com" ]
alex@alex.com
62a9bce52f8e3c1662bed85fca959b3ddbb11a67
6437a3a4a31ab9ad233d6b2d985beb50ed50de23
/PythonistaAppTemplate/PythonistaKit.framework/pylib_ext/sympy/plotting/proxy_pyglet.py
7eaef936464370181b7ec30ba0b27f1b993e8d37
[]
no_license
sreyemnayr/jss-lost-mode-app
03ddc472decde3c17a11294d8ee48b02f83b71e7
3ff4ba6fb13f4f3a4a98bfc824eace137f6aabaa
refs/heads/master
2021-05-02T08:50:10.580091
2018-02-08T20:32:29
2018-02-08T20:32:29
120,813,623
1
0
null
null
null
null
UTF-8
Python
false
false
9,773
py
#\input texinfo #\input texinfo #\input texinfo #\input texinfo #\input texinfo #\input texinfo #\input texinfo #\input texinfo #\input texinfo #\input texinfo #\input texinfo #\input texinfo #\input texinfo #\input texinfo #\input texinfo #\input texinfo #\input texinfo #\input texinfo #\input texinfo #\input texinfo ...
[ "ryanmeyersweb@gmail.com" ]
ryanmeyersweb@gmail.com
5a1d5079f921f81a7e814fc92670762f4160c707
902dd320731f40e27281ae81b3a2336b03653275
/cgcs-patch/bin/sw-patch-controller-daemon
282dbd888dcf75829aedac9c0f81fdcd7c2b2b86
[ "Apache-2.0" ]
permissive
MarioCarrilloA/x.stx-update
ca49f46bb9988e1cbb73a9756643889372adb378
2fc8ef2f21d6ff952ba48bbc67d9b57c1d57aa7e
refs/heads/master
2020-04-28T23:47:26.377615
2019-03-13T18:25:14
2019-03-13T18:25:14
175,669,571
0
1
null
null
null
null
UTF-8
Python
false
false
211
#!/usr/bin/env python """ Copyright (c) 2014 Wind River Systems, Inc. SPDX-License-Identifier: Apache-2.0 """ import sys from cgcs_patch.patch_controller import main if __name__ == "__main__": main()
[ "dtroyer@gmail.com" ]
dtroyer@gmail.com
9d0f5319b5902886eb94b2ad1bc9f919a88d2d12
c200e553ea1e52740cbf07e7df1da666e7ea36f5
/slack_simbot/batch_msg_handle.py
a5e2eb5007a27e1420444f743a4754141215d660
[]
no_license
aarondewindt/slack_simbot
29dbccc0436815470ce3dacb736cd35043a036ed
1bb3565abef493ef29f1a0d3b02b3cd6c71127c7
refs/heads/master
2021-01-22T02:40:30.220890
2017-10-23T01:50:02
2017-10-23T01:50:02
81,065,402
0
0
null
null
null
null
UTF-8
Python
false
false
7,974
py
import datetime import os import shutil import sys import time from traceback import format_exception from slack_simbot.msg_handle import MsgHandle from slack_simbot.exception_guard import guard from scp import SCPClient class RunningAverage: def __init__(self, initial=None, weight=0.8): self.value = ini...
[ "aaron.dewindt@gmail.com" ]
aaron.dewindt@gmail.com
c8a8711e44168869bb92b245c8c65e819c0f8e68
0f97f6ad4a8b69cba9dd4f0a078881e69c2cc9a9
/nb2pdf/__init__.py
cf6f343474faee24f71a5164462901da8f7e9b92
[ "BSD-3-Clause" ]
permissive
jgwerner/nb2pdf
6c65bbfbd29f25191738ac3109a3bcfab50cfce4
809a315bfc9a21396b1878a82a7a7f9b2b0b456e
refs/heads/master
2022-11-21T02:33:41.206924
2020-07-28T17:13:50
2020-07-28T17:13:50
283,605,307
0
0
BSD-3-Clause
2021-08-11T13:28:53
2020-07-29T21:23:41
null
UTF-8
Python
false
false
2,176
py
################################## ##### IPYNB to PDF Converter ##### ################################## import argparse import os import time from IPython import get_ipython from IPython.display import display from .filter_cells import * from .pdf import * # check for IPython IN_IPYTHON = get_ipython() is not None...
[ "cpyles@berkeley.edu" ]
cpyles@berkeley.edu
8b061c3368030ac7ae92697ca5da5682ac255946
8966d83bf85d4738d644624bd7b7063e8534a515
/data.d/code/python/scrap/optimize_LOAD_ATTR.scrap.py
411cd720348a27ff7ce4fb3f27bdfc04aa0f4e41
[]
no_license
taka16a23/.emacs.d
84a77c04c4d5e00c089cb01cc42a94b884f729ae
ac5794e2594037e316d5fe9cf6bf1fd20b44a726
refs/heads/master
2023-05-29T06:25:38.449977
2023-05-16T22:08:04
2023-05-16T22:08:04
82,106,233
0
0
null
null
null
null
UTF-8
Python
false
false
3,274
py
#!/usr/bin/env python # -*- coding: utf-8 -*- """JUNK""" import os import sys import re def tes(): join = os.path.join return join('/tmp', 'tes') def tes2(): return os.path.join(os.path.join('/tmp', 'tes'), 'world') # In [210]: /dis.dis tes2 # 2 0 LOAD_GLOBAL 0 (os) # 3 LOAD_ATTR ...
[ "root@qu" ]
root@qu
cdbc6e5bd50e9e07fe87a48ded7907476533bbf1
a838d4bed14d5df5314000b41f8318c4ebe0974e
/sdk/network/azure-mgmt-network/azure/mgmt/network/v2021_02_01/operations/_application_gateways_operations.py
f2680624220efa2ee596185f4d5f7d083c49a374
[ "MIT", "LicenseRef-scancode-generic-cla", "LGPL-2.1-or-later" ]
permissive
scbedd/azure-sdk-for-python
ee7cbd6a8725ddd4a6edfde5f40a2a589808daea
cc8bdfceb23e5ae9f78323edc2a4e66e348bb17a
refs/heads/master
2023-09-01T08:38:56.188954
2021-06-17T22:52:28
2021-06-17T22:52:28
159,568,218
2
0
MIT
2019-08-11T21:16:01
2018-11-28T21:34:49
Python
UTF-8
Python
false
false
70,775
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" ]
scbedd.noreply@github.com
f1ec438958dfb2aa20ebfa4f8db8a8a237b85e2b
7839d009f3ae0a0c1bc360b86756eba80fce284d
/devel/lib/python2.7/site-packages/diagnostic_updater/__init__.py
aa94981d4a2326352df5cf363effb5dc06091e97
[]
no_license
abhat91/ros_osx
b5022daea0b6fdaae3489a97fdb1793b669e64f5
39cd8a79788d437927a24fab05a0e8ac64b3fb33
refs/heads/master
2021-01-10T14:43:41.047439
2016-03-13T23:18:59
2016-03-13T23:18:59
53,812,264
1
1
null
null
null
null
UTF-8
Python
false
false
1,048
py
# -*- coding: utf-8 -*- # generated from catkin/cmake/template/__init__.py.in # keep symbol table as clean as possible by deleting all unnecessary symbols from os import path as os_path from sys import path as sys_path from pkgutil import extend_path __extended_path = "/Users/adityabhat/Downloads/src/diagnostics/dia...
[ "abhat@wpi.edu" ]
abhat@wpi.edu
df50a888254f27e6707d22969064b1543e54f4c6
1c91439673c898c2219ee63750ea05ff847faee1
/configs/_base_/models/mvit/mvitv2-small.py
bb9329df0b376ef67914d4952ca5e3a01b1c3bcf
[ "Apache-2.0" ]
permissive
ChenhongyiYang/GPViT
d7ba7f00d5139a989a999664ab0874c5c9d53d4d
2b8882b2da41d4e175fe49a33fcefad1423216f4
refs/heads/main
2023-06-08T00:10:07.319078
2023-05-26T15:52:54
2023-05-26T15:52:54
577,075,781
78
2
null
null
null
null
UTF-8
Python
false
false
689
py
model = dict( type='ImageClassifier', backbone=dict(type='MViT', arch='small', drop_path_rate=0.1), neck=dict(type='GlobalAveragePooling'), head=dict( type='LinearClsHead', in_channels=768, num_classes=1000, loss=dict( type='LabelSmoothLoss', label_smooth_val=...
[ "chenhongyiyang@Chenhongyis-MacBook-Pro.local" ]
chenhongyiyang@Chenhongyis-MacBook-Pro.local
cfc365eb5d4e511baae045e2480385710cf5af57
89b46551ac0c0f45e07724aee144813022aa784c
/micropython/codigo/image_anim.py
fa69fd14afa58bba662549a5474da9bdaa4c290d
[]
no_license
javacasm/BBC-microbit
6fcb701f48c3636945fb1cd2c925cbb810116cfa
1b20669598adb652ce4a62db5e42870eddec27ea
refs/heads/master
2021-08-19T20:33:01.953276
2021-01-21T18:51:50
2021-01-21T18:51:50
88,613,144
2
1
null
null
null
null
UTF-8
Python
false
false
810
py
from microbit import * boat1 = Image("05050:" "05050:" "05050:" "99999:" "09990") boat2 = Image("00000:" "05050:" "05050:" "05050:" "99999") boat3 = Image("00000:" "00000:" "050...
[ "javacasm@gmail.com" ]
javacasm@gmail.com
61619dcee7aa5dc90ecbd596bb775fbebbc20ad7
dc39ccc50b7d34e5de84f3cc132c5cc096a32656
/BASIC/format_string/2-new_f_string.py
819179aa3751e7b5a40b88efcb38f2fbfd600406
[]
no_license
Shukladas1115/Python
0947aefd62a9ce4c3140360cb7259b031368709c
feb32bc2e2e7df377fc2d92330bfdacb83f31a55
refs/heads/master
2022-02-20T04:15:56.036495
2019-08-26T16:36:52
2019-08-26T16:36:52
null
0
0
null
null
null
null
UTF-8
Python
false
false
379
py
name = "Eric" age = 74 # Dùng f string trực quan, ít lỗi hơn print(f"Hello, {name}. You are {age}.") # Evaluate hàm tính toán print(f"{2 * 37}") def to_lowercase(text): # Định nghĩa hàm lower case mới return text.lower() name = "Eric Idle" # gọi hàm bên trong f string print(f"{to_lowercase(name)} is funny...
[ "minhhien90@gmail.com" ]
minhhien90@gmail.com
5efb3377e9b0544dc56fbf47de5ca0619babb416
e3c8f786d09e311d6ea1cab50edde040bf1ea988
/Incident-Response/Tools/dfirtrack/dfirtrack/views.py
792d576257ad02c9aef21baeb410af61a5ed2e6c
[ "MIT", "LicenseRef-scancode-unknown-license-reference" ]
permissive
foss2cyber/Incident-Playbook
d1add8aec6e28a19e515754c6ce2e524d67f368e
a379a134c0c5af14df4ed2afa066c1626506b754
refs/heads/main
2023-06-07T09:16:27.876561
2021-07-07T03:48:54
2021-07-07T03:48:54
384,988,036
1
0
MIT
2021-07-11T15:45:31
2021-07-11T15:45:31
null
UTF-8
Python
false
false
106
py
from django.shortcuts import redirect, render def login_redirect(request): return redirect('/login')
[ "a.songer@protonmail.com" ]
a.songer@protonmail.com
fd1de3f86ea0b663563d1ff210db05922b40b4db
786de89be635eb21295070a6a3452f3a7fe6712c
/ipython/tags/V00-00-02/SConscript
1fdb0bf7229b6bb11ea276b50e665e801cf88e30
[]
no_license
connectthefuture/psdmrepo
85267cfe8d54564f99e17035efe931077c8f7a37
f32870a987a7493e7bf0f0a5c1712a5a030ef199
refs/heads/master
2021-01-13T03:26:35.494026
2015-09-03T22:22:11
2015-09-03T22:22:11
null
0
0
null
null
null
null
UTF-8
Python
false
false
664
#------------------------------------------------------------------------ # File and Version Information: # $Id$ # # Description: # SConscript file for package ipython #------------------------------------------------------------------------ # Do not delete following line, it must be present in # SConscript file fo...
[ "salnikov@SLAC.STANFORD.EDU@b967ad99-d558-0410-b138-e0f6c56caec7" ]
salnikov@SLAC.STANFORD.EDU@b967ad99-d558-0410-b138-e0f6c56caec7
8711c2762291240f70b2d3a63f3512cd2b0e26b8
1a6cbe035adb81fea66615323a836327d06f9e72
/year2020/d10.py
bf66f7da8b23a1feefc1fc5fb581e15bc73a3325
[]
no_license
ecurtin2/advent-of-code
a2607d857408d722b07d4cfc66855edcd019cda7
216db926c5bab9bf1ec3cac2aa912c1a2ff70d6c
refs/heads/main
2022-12-15T10:06:51.202608
2022-12-14T17:28:15
2022-12-14T17:28:15
160,612,467
0
0
null
null
null
null
UTF-8
Python
false
false
1,034
py
from collections import Counter from functools import lru_cache from typing import List, Tuple from utils import diff def part1(inp: List[int]) -> int: c = Counter(diff([0] + sorted(inp) + [max(inp) + 3])) return c[1] * c[3] @lru_cache def solve_part2(choices: Tuple[int], curr_idx: int = 0) -> int: if ...
[ "ecurtin2@illinois.edu" ]
ecurtin2@illinois.edu
36712b5c7b61f5c7fa17c305487e5a7835a48b54
bfc25f1ad7bfe061b57cfab82aba9d0af1453491
/data/external/repositories/141822/AXA_Telematics-master/Features/modules_janto/csvToNpy.py
07f632a65572805c4523c5d83f45c1df7061fd33
[ "MIT" ]
permissive
Keesiu/meta-kaggle
77d134620ebce530d183467202cf45639d9c6ff2
87de739aba2399fd31072ee81b391f9b7a63f540
refs/heads/master
2020-03-28T00:23:10.584151
2018-12-20T19:09:50
2018-12-20T19:09:50
147,406,338
0
1
null
null
null
null
UTF-8
Python
false
false
984
py
""" (c) 2015 @author: Janto Oellrich email: joellrich@uos.de CONTENT: Converts GPS data files to .npy files and stores them in same driverfolders. """ from modules import * from paths import * driverFolder = DATA print '\nConverting raw .csv files to numpy files...\n' drivers = sorted([int(folderNam...
[ "keesiu.wong@gmail.com" ]
keesiu.wong@gmail.com
ec27e2da74fbddc480dfc5c5f0889d20702f1fce
ca7aa979e7059467e158830b76673f5b77a0f5a3
/Python_codes/p03970/s717998143.py
82bfff746fc8e4cc32c266efc9b70422a7f80e4b
[]
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
95
py
s=input() t='CODEFESTIVAL2016' ans=0 for i in range(16): if s[i]!=t[i]: ans+=1 print(ans)
[ "66529651+Aastha2104@users.noreply.github.com" ]
66529651+Aastha2104@users.noreply.github.com
0de15246bdef34325d871366771eacec64554834
04b1803adb6653ecb7cb827c4f4aa616afacf629
/tools/perf/page_sets/system_health/platforms.py
6c6f2a5728e95286fb0b7d800d3594871dc45185
[ "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
527
py
# Copyright 2016 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. DESKTOP = 'desktop' MOBILE = 'mobile' ALL_PLATFORMS = frozenset({DESKTOP, MOBILE}) # Use the constants below to mark on which platforms the story has WPR #...
[ "sunny.nam@samsung.com" ]
sunny.nam@samsung.com
cdd03d22aea4b1d5b008fc2cb9fe450219a35f18
f3b233e5053e28fa95c549017bd75a30456eb50c
/mcl1_input/L33/33-35_MD_NVT_rerun/set_1ns_equi_2.py
c1f02cbe3c6d2cea942ae9f80c068d62fb4e3cf7
[]
no_license
AnguseZhang/Input_TI
ddf2ed40ff1c0aa24eea3275b83d4d405b50b820
50ada0833890be9e261c967d00948f998313cb60
refs/heads/master
2021-05-25T15:02:38.858785
2020-02-18T16:57:04
2020-02-18T16:57:04
null
0
0
null
null
null
null
UTF-8
Python
false
false
752
py
import os dir = '/mnt/scratch/songlin3/run/mcl1/L33/MD_NVT_rerun/ti_one-step/33_35/' filesdir = dir + 'files/' temp_equiin = filesdir + 'temp_equi_2.in' temp_pbs = filesdir + 'temp_1ns_equi_2.pbs' lambd = [ 0.00922, 0.04794, 0.11505, 0.20634, 0.31608, 0.43738, 0.56262, 0.68392, 0.79366, 0.88495, 0.95206, 0.99078] for...
[ "songlin3@msu.edu" ]
songlin3@msu.edu
5c05249d5dbcf1881be3e6a4d131d59f02f0b5a3
d87483a2c0b50ed97c1515d49d62c6e9feaddbe0
/.history/get_positions_20210205012258.py
e1d35a3da1efac765ccd23b1ed8b848ca77b680a
[ "MIT" ]
permissive
HopperKremer/hoptrader
0d36b6e33922414003cf689fb81f924da076a54b
406793c10bc888648290fd15c7c2af62cf8c6c67
refs/heads/main
2023-06-12T15:51:00.910310
2021-07-06T16:15:41
2021-07-06T16:15:41
334,754,936
0
2
null
null
null
null
UTF-8
Python
false
false
1,135
py
# Buy top tickers from Financhill import requests from tda import auth, client from tda.orders.equities import equity_buy_market, equity_buy_limit from tda.orders.common import Duration, Session import os, sys import time from selenium import webdriver import json currentdir = os.path.dirname(os.path.realpath(__file__...
[ "hopperkremer@gmail.com" ]
hopperkremer@gmail.com
909dad098632578f78f6ba8b2ec3cf22ce719682
f063793a713b049a42d92b741d169d22dfb5543e
/onmt/encoders/transformer_cat.py
e34bd50dd2337fe60c611af4e2d55a4f738ccb35
[ "MIT" ]
permissive
marcwww/OpenNMT-py
4d77de177f6d630fe3f8bdfed911e9c5ac689406
7f83ca3c680b1ae282b879b3a28bb156466e6a2e
refs/heads/master
2020-03-19T19:37:09.986531
2018-07-13T17:50:30
2018-07-13T17:50:30
136,866,153
0
0
null
2018-06-11T02:45:25
2018-06-11T02:45:25
null
UTF-8
Python
false
false
3,890
py
""" Implementation of "Attention is All You Need" """ import torch.nn as nn from torch.autograd import Variable import torch import onmt from onmt.encoders.encoder import EncoderBase from onmt.utils.misc import aeq from onmt.utils.transformer_util import PositionwiseFeedForward MAX_SIZE = 5000 class TransformerEnco...
[ "474733787@qq.com" ]
474733787@qq.com
527fde37fbee89720bdbf5351e510c414e12a578
09120532659f7eb134163f92ac2f65423a04dc03
/zproject/django/survey/webapi/views.py
6ecdec610b8e9fba6131b300479d375c7577bd05
[]
no_license
hoboland21/survey
7b2dafd76db0e9317037a0cec163a97c0ec9a8ec
93e71f3304b381a6be03c8f813d2ba3a0b6eb218
refs/heads/master
2023-01-28T07:38:38.934710
2019-05-13T08:55:41
2019-05-13T08:55:41
182,874,928
0
0
null
null
null
null
UTF-8
Python
false
false
1,937
py
from rest_framework import status,viewsets from rest_framework.views import APIView from rest_framework.response import Response from rest_framework import generics from django.http import Http404 from django.contrib.auth.models import User from django.db.models import Q from .serializers import * #=================...
[ "jc@saipantech.com" ]
jc@saipantech.com