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
967efae6c9d94e25fd7eb7084f429081dab4fc8e
00a9295409b78a53ce790f7ab44931939f42c0e0
/FPGA/apio/iCEBreaker/FIR_Filter/sympy/venv/lib/python3.8/site-packages/sympy/polys/tests/test_polyclasses.py
3a54ba5077ea1d734af10e8346b7b1e2094db916
[ "Apache-2.0" ]
permissive
klei22/Tech-OnBoarding-Class
c21f0762d2d640d5e9cb124659cded5c865b32d4
960e962322c37be9117e0523641f8b582a2beceb
refs/heads/master
2022-11-10T13:17:39.128342
2022-10-25T08:59:48
2022-10-25T08:59:48
172,292,871
2
3
Apache-2.0
2019-05-19T00:26:32
2019-02-24T03:50:35
C
UTF-8
Python
false
false
12,998
py
"""Tests for OO layer of several polynomial representations. """ from sympy.polys.domains import ZZ, QQ from sympy.polys.polyclasses import DMP, DMF, ANP from sympy.polys.polyerrors import ExactQuotientFailed, NotInvertible from sympy.polys.specialpolys import f_polys from sympy.testing.pytest import raises f_0, f_1,...
[ "kaunalei@gmail.com" ]
kaunalei@gmail.com
c2e5409388839109b35e896d83768e706bc1fbb0
84c36e9067476a730d88f5ec799deabd5a46a44d
/XXXXXXXXX/PyQt5-Mini-Projects-master/TextBook/Checkboxes/mainUi.py
5d2a7f141613b3abcba677e9b3e6e424e146addf
[]
no_license
AGou-ops/myPyQT5-StudyNote
8bbce76b778a55c31773313d137682c77d246aad
7e5eb426b6f30c301d040f6bc08f8a3c41d4a232
refs/heads/master
2022-11-06T00:05:25.603798
2020-06-20T01:59:45
2020-06-20T01:59:45
261,099,203
0
0
null
null
null
null
UTF-8
Python
false
false
4,545
py
# -*- coding: utf-8 -*- # Form implementation generated from reading ui file 'main.ui' # # Created by: PyQt5 UI code generator 5.13.0 # # WARNING! All changes made in this file will be lost! from PyQt5 import QtCore, QtGui, QtWidgets class Ui_Dialog(object): def setupUi(self, Dialog): Dialog.setObjectN...
[ "suofeiyaxx@gmail.com" ]
suofeiyaxx@gmail.com
29919d9fb02730fee196407970876918996c26db
5c94e032b2d43ac347f6383d0a8f0c03ec3a0485
/MiniLab_mkII/__init__.py
92e7d550c23bd2cf4b051b5bcc8d23df5cbf1906
[]
no_license
Elton47/Ableton-MRS-10.1.13
997f99a51157bd2a2bd1d2dc303e76b45b1eb93d
54bb64ba5e6be52dd6b9f87678ee3462cc224c8a
refs/heads/master
2022-07-04T01:35:27.447979
2020-05-14T19:02:09
2020-05-14T19:02:09
263,990,585
0
0
null
2020-05-14T18:12:04
2020-05-14T18:12:03
null
UTF-8
Python
false
false
916
py
# uncompyle6 version 3.6.7 # Python bytecode 2.7 (62211) # Decompiled from: Python 2.7.17 (default, Dec 23 2019, 21:25:33) # [GCC 4.2.1 Compatible Apple LLVM 11.0.0 (clang-1100.0.33.16)] # Embedded file name: /Users/versonator/Jenkins/live/output/Live/mac_64_static/Release/python-bundle/MIDI Remote Scripts/MiniLab_mkI...
[ "ahmed.emerah@icloud.com" ]
ahmed.emerah@icloud.com
e488b3d086433aa8834313e177c946dd9b0641b3
da2d53e8021b539db006fa31f02d1c2ae46bed3b
/March Long Challenge 2021/8. Consecutive Adding.py
e2e92af1f63e5d65d0a481da2b09867f3e03e022
[]
no_license
srajsonu/CodeChef
0723ee4975808e2f4d101d2034771d868ae3b7f7
a39cd5886a5f108dcd46f70922d5637dd29849ce
refs/heads/main
2023-04-22T08:33:06.376698
2021-05-16T05:48:17
2021-05-16T05:48:17
327,030,437
0
1
null
null
null
null
UTF-8
Python
false
false
2,397
py
from collections import deque class Solution: def isValid(self, A, i, j): if i < 0 or i >= len(A) or j < 0 or j >= len(A[0]): return False return True def dfs(self, A, B, i, j, vis): vis.add(i, j) row = [-1, 0, 1, 0] col = [0, -1, 0, 1] for r, c i...
[ "srajsonu02@gmail.com" ]
srajsonu02@gmail.com
10cbdbc9540fe4bef60a125001d0fa4cbad72202
86393bd0d16c69363aa1afb4c4841fff6314493c
/examples/models/azure_aks_deep_mnist/DeepMnist.py
0e45b33d8653c9f0dd43b7961eecc19e3f48cda6
[ "Apache-2.0" ]
permissive
SeldonIO/seldon-core
0179fc490c439dbc04f2b8e6157f39291cb11aac
6652d080ea10cfca082be7090d12b9e776d96d7a
refs/heads/master
2023-08-19T08:32:10.714354
2023-08-15T12:55:57
2023-08-15T12:55:57
114,898,943
3,947
885
Apache-2.0
2023-09-13T11:29:37
2017-12-20T14:51:54
HTML
UTF-8
Python
false
false
641
py
import tensorflow as tf import numpy as np class DeepMnist(object): def __init__(self): self.class_names = ["class:{}".format(str(i)) for i in range(10)] self.sess = tf.Session() saver = tf.train.import_meta_graph("model/deep_mnist_model.meta") saver.restore(self.sess,tf.train.lates...
[ "axsauze@gmail.com" ]
axsauze@gmail.com
26327b7c71992dbaeac22e71ebb678a503d4dd13
acff427a36d6340486ff747ae9e52f05a4b027f2
/main/desktop/font/amiri-fonts/actions.py
8bd7964bbed99a2bbd3ba4b3361b254a7b92e377
[]
no_license
jeremie1112/pisilinux
8f5a03212de0c1b2453132dd879d8c1556bb4ff7
d0643b537d78208174a4eeb5effeb9cb63c2ef4f
refs/heads/master
2020-03-31T10:12:21.253540
2018-10-08T18:53:50
2018-10-08T18:53:50
152,126,584
2
1
null
2018-10-08T18:24:17
2018-10-08T18:24:17
null
UTF-8
Python
false
false
391
py
#!/usr/bin/python # -*- coding: utf-8 -*- # # Licensed under the GNU General Public License, version 3. # See the file http://www.gnu.org/licenses/gpl.txt from pisi.actionsapi import pisitools def install(): pisitools.insinto("/usr/share/fonts/amiri", "Amiri*.ttf") pisitools.dodoc("OFL.txt", "README-Arabic"...
[ "erkanisik@yahoo.com" ]
erkanisik@yahoo.com
39b66b351172d94092faf826e4ea94d4c0bf074a
3d19e1a316de4d6d96471c64332fff7acfaf1308
/Users/R/ronanmchugh/get_loc_relator_codes.py
4c12ef47be97a8541377ce37e91bef4939da90fa
[]
no_license
BerilBBJ/scraperwiki-scraper-vault
4e98837ac3b1cc3a3edb01b8954ed00f341c8fcc
65ea6a943cc348a9caf3782b900b36446f7e137d
refs/heads/master
2021-12-02T23:55:58.481210
2013-09-30T17:02:59
2013-09-30T17:02:59
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,080
py
import scraperwiki import lxml.html # Blank Python html = scraperwiki.scrape("http://www.loc.gov/marc/relators/relaterm.html") root = lxml.html.fromstring(html) authorizedList = root.find_class("authorized") codeList = root.find_class('relator-code') codeDict = dict() for i in range(len(authorizedList)): codeDi...
[ "pallih@kaninka.net" ]
pallih@kaninka.net
e0f3253e98d1541eaae5376a562ce8c211245599
76a8ea60480331f0f61aeb61de55be9a6270e733
/downloadable-site-packages/astropy/coordinates/tests/test_earth.py
4b7a1192b9b2f3114fb3b9368a167a1ee6bf7e33
[ "MIT" ]
permissive
bhagyas/Pyto
cd2ec3f35bec703db4ac29b56d17abc4bf03e375
907024a9b3e04a2a9de54976778c0e1a56b7b83c
refs/heads/master
2022-11-19T13:05:07.392454
2020-07-21T17:33:39
2020-07-21T17:33:39
281,886,535
2
0
MIT
2020-07-23T07:48:03
2020-07-23T07:48:02
null
UTF-8
Python
false
false
17,040
py
# -*- coding: utf-8 -*- # Licensed under a 3-clause BSD style license - see LICENSE.rst """Test initialization of angles not already covered by the API tests""" import pickle import pytest import numpy as np from astropy.coordinates.earth import EarthLocation, ELLIPSOIDS from astropy.coordinates.angles import Longi...
[ "adrilabbelol@gmail.com" ]
adrilabbelol@gmail.com
eef7f6927ab37c17b81eb7c3eadc5d6378468186
b1bf615bfa1ee2065e3adfe90310814c3b27c61d
/2020-12-24/maximum-size-subarray-sum-equals-k.py
0a1d2dff638d1ae034e5195d35def2cc9ce245b9
[]
no_license
Huajiecheng/leetcode
73b09a88e61ea3b16ca3bf440fadd1470652ccf2
4becf814a2a06611ee909ec700380ab83ac8ab99
refs/heads/main
2023-03-19T21:54:20.952909
2021-03-06T03:34:52
2021-03-06T03:34:52
320,959,720
0
0
null
null
null
null
UTF-8
Python
false
false
435
py
class Solution: def maxSubArrayLen(self, nums: List[int], k: int) -> int: pref = {0:-1} result = 0 temp = 0 for i in range(len(nums)): temp = temp + nums[i] if (temp - k) in pref: if result < (i - pref[temp - k]): r...
[ "chenghuajie1998@gmail.com" ]
chenghuajie1998@gmail.com
8adc722f9de9ebada8d6df6f420830cc62b39845
db8b429062538f418207277127ad4ada09ef7a1b
/Glyphs Import.py
9dda18263bb840c212a909ca848ecdb383ea1573
[]
no_license
mariovinicius/Glyphs-Scripts
ace45d4b46e041ae6b05c4f7ab43abe6dcaea90e
80ca45b7b6623bae71a16e4cc93583f674602943
refs/heads/master
2021-01-10T18:23:02.376018
2013-04-27T18:04:48
2013-04-27T18:04:48
null
0
0
null
null
null
null
UTF-8
Python
false
false
31,875
py
#FLM: Glyphs Import # -*- coding: utf8 -*- # Version 0.2 # copyright Georg Seifert 2012, schriftgestaltung.de # # The script will read a .glyphs file and import it into FontLab. # It requires FontLab 5.1 on Mac # if you find any bugs, please report to info@glyphsapp.com from FL import * from Foundation import * from ...
[ "georg.seifert@mac.com" ]
georg.seifert@mac.com
8a4135a1f95afd0a5df5a1771cda5e752d1d4c71
bec68f492fbc6d08e16d1cfd3fb115b5e3348271
/apps/core/utils.py
b5d48ef009d264528fe414a4609e1fc05c1a2516
[ "Apache-2.0" ]
permissive
vitorh45/avaliacao
c6c88c31ed5a7d9ec7ca3d66c80735a0ec0a9774
0ea5405c559b657e1d8cd11d51455295993e1f99
refs/heads/master
2021-01-25T05:22:04.421851
2015-07-24T19:07:02
2015-07-24T19:07:02
39,533,627
0
0
null
null
null
null
UTF-8
Python
false
false
1,103
py
__author__ = 'vitor' from django.conf import settings from django.core.mail import send_mail from collections import defaultdict import string def enviar_email(obj): email_assunto = settings.EMAIL_SUBJECT habilidades = get_usuario_habilidades(obj) if habilidades: for habilidade in h...
[ "vitorh45@gmail.com" ]
vitorh45@gmail.com
a09d4120f937f3d55f8f5d3b7dab9cc02428ff45
4b0f97f809d7126e9fb846c3182d978f7f9cf975
/web_dynamic/2-hbnb.py
cabcee7a77eec28f2055f632e0bd769a6e9401c3
[ "LicenseRef-scancode-public-domain" ]
permissive
sebastianchc/AirBnB_clone_v4
9778d09cfa96a722e94da4c3dd8037aeb5c9463b
ebc862eece3f3ee809e8ecf7c4f7057b5f819aed
refs/heads/master
2022-08-14T17:54:31.326916
2020-05-22T18:21:42
2020-05-22T18:21:42
265,034,384
0
0
null
null
null
null
UTF-8
Python
false
false
1,310
py
#!/usr/bin/python3 """ Starts a Flash Web Application """ from models import storage from models.state import State from models.city import City from models.amenity import Amenity from models.place import Place from os import environ from flask import Flask, render_template from uuid import uuid4 app = Flask(__name__)...
[ "nicolico99@hotmail.com" ]
nicolico99@hotmail.com
cb118141f00618a366afed0c4c1b1e13f70cf228
6fa701cdaa0d83caa0d3cbffe39b40e54bf3d386
/google/ads/googleads/v7/googleads-py/google/ads/googleads/v7/services/services/product_group_view_service/transports/grpc.py
f7300d686fbd54e10906d765308f92aae39a815e
[ "Apache-2.0" ]
permissive
oltoco/googleapis-gen
bf40cfad61b4217aca07068bd4922a86e3bbd2d5
00ca50bdde80906d6f62314ef4f7630b8cdb6e15
refs/heads/master
2023-07-17T22:11:47.848185
2021-08-29T20:39:47
2021-08-29T20:39:47
null
0
0
null
null
null
null
UTF-8
Python
false
false
10,429
py
# -*- coding: utf-8 -*- # Copyright 2020 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or...
[ "bazel-bot-development[bot]@users.noreply.github.com" ]
bazel-bot-development[bot]@users.noreply.github.com
4b44111f4094084a912b33a69846ba0791ca3bf2
07d707328cd2a641a68bd508f3f4d2ca8fb7cdef
/games/connectx/util/base64_file.py
63b97e575d5a79d741c82ef92587245540a215ee
[]
no_license
JamesMcGuigan/ai-games
8ba8af30f58519081bef973d428694f1a40dfea2
eac436d23e03624c2245838138e9608cb13d2f1f
refs/heads/master
2023-07-17T11:02:02.062853
2021-02-01T23:03:45
2021-02-01T23:03:45
271,096,829
19
2
null
null
null
null
UTF-8
Python
false
false
4,017
py
import base64 import gzip import os import re import time from typing import Any from typing import Union import dill import humanize # _base64_file__test_base64_static_import = """ # H4sIAPx9LF8C/2tgri1k0IjgYGBgKCxNLS7JzM8rZIwtZNLwZvBm8mYEkjAI4jFB2KkRbED1iXnF # 5alFhczeWqV6AEGfwmBHAAAA # """ def base64_file_varna...
[ "james.mcguigan.github@gmail.com" ]
james.mcguigan.github@gmail.com
242dd82bd73845a1ef827e319a1c6f19081e8c3e
4a43dc3e8465c66dcce55027586f0b1fe1e74c99
/service/generated_flatbuffers/tflite/LessEqualOptions.py
cbc0cce9823e58843efe49a3acf6d471818a5c11
[ "Apache-2.0" ]
permissive
stewartmiles/falken
e1613d0d83edfd4485c1b78f54734e9b33b51fa5
26ab377a6853463b2efce40970e54d44b91e79ca
refs/heads/main
2023-06-05T12:01:13.099531
2021-06-17T22:22:16
2021-06-17T22:22:16
377,912,626
1
0
Apache-2.0
2021-06-17T17:34:21
2021-06-17T17:34:20
null
UTF-8
Python
false
false
2,218
py
# Copyright 2021 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, ...
[ "copybara-worker@google.com" ]
copybara-worker@google.com
d6961a6e25812611eee3434fa89c418a921d2b98
88ba19b3303c112a424720106a7f7fde615757b5
/02-intermediate_python/3-logic,_control_flow_and_filtering/driving_right.py
bb18e3df827cb3ebe9735bc5cdc9b4b32fe54d56
[]
no_license
mitchisrael88/Data_Camp
4100f5904c62055f619281a424a580b5b2b0cbc1
14356e221f614424a332bbc46459917bb6f99d8a
refs/heads/master
2022-10-22T18:35:39.163613
2020-06-16T23:37:41
2020-06-16T23:37:41
263,859,926
0
0
null
null
null
null
UTF-8
Python
false
false
225
py
# Import cars data import pandas as pd cars = pd.read_csv('cars.csv', index_col = 0) # Extract drives_right column as Series: dr dr = cars["drives_right"] # Use dr to subset cars: sel sel = cars[dr] # Print sel print(sel)
[ "noreply@github.com" ]
mitchisrael88.noreply@github.com
5e916e443b7e695235533d74e20739764066288c
725ac5a0bf72829be627bf8dc82fdc51ba0f94ae
/Text_Generation/GPT2_SummaryGen/transformers/modeling_encoder_decoder.py
fb11fd935081f3b90dc05d70fdfa59928e81a8cb
[]
no_license
shawroad/NLP_pytorch_project
fa14b6e4a156229765e1d552901d0492d8e1def3
1272fed2dc8fef78a9ded0f1ae1644d613a3b57b
refs/heads/master
2023-06-25T02:37:35.503251
2023-06-12T10:57:11
2023-06-12T10:57:11
229,694,655
530
104
null
2020-12-08T09:21:47
2019-12-23T06:54:29
Python
UTF-8
Python
false
false
18,296
py
# coding=utf-8 # Copyright 2018 The HuggingFace Inc. team. # # 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 a...
[ "shawroad@MacBook-ProTCL.local" ]
shawroad@MacBook-ProTCL.local
f100f3909357cdaf2a274f0fea14ca8c993114f0
f620403443b2c0affaed53505c002f35dc68020c
/DCTM/GetClusterNumber.py
9de8d61d5fc44f32a00a8dfec12c3d9bfaf62ec5
[]
no_license
ZhuJiahui/CTMTS
c552b3026deb47879f9aa5bde4b002cf6283858d
9f8981f6e61900a68a38ae0392e01771beee9651
refs/heads/master
2021-01-12T10:18:27.579697
2016-12-14T02:23:29
2016-12-14T02:23:29
76,416,453
0
0
null
null
null
null
UTF-8
Python
false
false
1,478
py
# -*- coding: utf-8 -*- ''' Created on 2014年7月27日 @author: ZhuJiahui506 ''' import os import numpy as np import time def get_cluster_number(X): ''' 估计聚类个数 :param X: 数据之间的相似度矩阵 维度小于1000 ''' D = np.zeros((len(X), len(X))) for i in range(len(X)): D[i, i] = 1.0 / np.sqrt(np.sum(X[i])...
[ "zhujiahui@outlook.com" ]
zhujiahui@outlook.com
dfbdd01c48a73c2922ac083707b410cead8ef229
3bfa43cd86d1fb3780f594c181debc65708af2b8
/algorithms/graph/dfs.py
f74044082f578bb19ff5cc62766b874fe92a2fb0
[]
no_license
ninjaboynaru/my-python-demo
2fdb6e75c88e07519d91ee8b0e650fed4a2f9a1d
d679a06a72e6dc18aed95c7e79e25de87e9c18c2
refs/heads/master
2022-11-06T14:05:14.848259
2020-06-21T20:10:05
2020-06-21T20:10:05
null
0
0
null
null
null
null
UTF-8
Python
false
false
646
py
from graph import digraph_from_file def dfs(g, order="post"): marked = set() def dfs_preorder(node): marked.add(node) print(node) for child in g[node]: if child not in marked: dfs_preorder(child) def dfs_postorder(node): marked.add(node) ...
[ "wangxin19930411@163.com" ]
wangxin19930411@163.com
d3a316737b9c8b52b38e553c6ea66c0df60eb492
2ef35e0cd06653435fea8ab27d0b7db475bdb6d9
/serial_publish_local.py
18bcfc79c27bc3bc8e8f80cf7ba7925034526239
[]
no_license
navalkishoreb/Project_Mqtt
a9d438a2a1c79f662cb6b751f9c2c593989c58f2
989a491505a972a54eaf1599f95f6de9562b7e4c
refs/heads/master
2021-01-23T16:35:38.765479
2016-09-16T10:28:52
2016-09-16T10:28:52
68,371,468
0
0
null
null
null
null
UTF-8
Python
false
false
1,616
py
#!/usr/bin/python import time import serial import sys import paho.mqtt.client as mqtt """usb = serial.Serial( port='/dev/ttyACM0',\ baudrate=115200,\ parity=serial.PARITY_NONE,\ stopbits=serial.STOPBITS_ONE,\ bytesize=serial.EIGHTBITS,\ timeout=0) """ ser = serial.Serial( port='/dev/ttyAM...
[ "root@raspberrypi.(none)" ]
root@raspberrypi.(none)
970362856f0861f077e65c4cb8ec252123e9f29a
aa7ba8ca76bc012d5d7418b0961208be72af71d0
/glasses/models/classification/resnetxt/__init__.py
3ff55e57f37fe798fc4d1bd9252deaa651481a18
[ "MIT" ]
permissive
wiesmanyaroo/glasses
3f8bc67021ad1e7abf84965847beebc6145b2fbb
2e4bb979e3637d77f9dbec79462dc92f56d3bc27
refs/heads/master
2023-02-09T22:59:46.463233
2020-12-26T16:04:24
2020-12-26T16:04:24
null
0
0
null
null
null
null
UTF-8
Python
false
false
4,607
py
from __future__ import annotations from torch import nn from torch import Tensor from glasses.nn.blocks.residuals import ResidualAdd from glasses.nn.blocks import Conv2dPad from collections import OrderedDict from typing import List from functools import partial from ..resnet import ResNet, ResNetBottleneckBlock from g...
[ "zuppif@usi.ch" ]
zuppif@usi.ch
91be8127886dde63063fbf3920ba80ccc6c6a210
c4b636a2fffbf8ef3096e4de9de61b30ea3df72a
/hackerrank/zeros_and_ones.py
f921a5eca2e28ee22afd295077ac7f7b55287364
[ "MIT" ]
permissive
FelixTheC/hackerrank_exercises
f63fbbc55a783ee4cecfa04302301a0fb66d45fe
24eedbedebd122c53fd2cb6018cc3535d0d4c6a0
refs/heads/master
2021-01-04T22:10:47.538372
2020-11-01T15:57:20
2020-11-01T15:57:20
240,779,506
0
0
null
null
null
null
UTF-8
Python
false
false
296
py
#!/usr/bin/env python3 # -*- coding: utf-8 -*- """ @created: 01.12.19 @author: felix """ import numpy as np if __name__ == '__main__': shape = tuple([int(i) for i in input() if i != ' ']) dtype = np.int print(np.zeros((shape), dtype=dtype)) print(np.ones((shape), dtype=dtype))
[ "felixeisenmenger@gmx.net" ]
felixeisenmenger@gmx.net
9573e87de4ee288a11c0c1bbe28099c89eed4022
e2bf489830e55a57945b8e696f8e2d6acefeb560
/04-系统编程-1/test/33-带有返回值的函数.py
dce5eb1489db919c3f703b6cd4598d2a3f9af0aa
[]
no_license
taizilinger123/pythonjichu
e713de06fb050943a8a1e0256ccba8dea40a411d
5ee896e92edbac55d02aa63965d896200b8c2623
refs/heads/master
2023-04-01T02:00:37.557667
2023-03-31T05:08:40
2023-03-31T05:08:40
148,663,792
0
0
null
null
null
null
UTF-8
Python
false
false
1,050
py
#!/usr/bin/env python # -*- coding:utf-8 -*- def get_wendu(): wendu = 22 print("当前的室温是:%d"%wendu) return wendu def get_wendu_huashi(wendu): print("--------4-------") wendu = wendu + 3 print("--------5-------") print("当前的温度(华氏)是:%d"%wendu) print("--------6-------") pr...
[ "837337164@qq.com" ]
837337164@qq.com
4023d50a25750cc3033b54cf0a05967082d9293c
ea40d872e4d3122387f7a17400c1d2f31cf5bd6a
/剑指offer/剑指 Offer 45. 把数组排成最小的数.py
f2163fab2e7c8e53b7918b78573211bfb5d99bdc
[]
no_license
dongbo910220/leetcode_
e4cf6c849986b105d4d5162c5cd2318ffc3fbb67
e4c02084f26384cedbd87c4c60e9bdfbf77228cc
refs/heads/main
2023-05-29T11:23:46.865259
2021-06-17T03:40:30
2021-06-17T03:40:30
344,785,694
0
0
null
null
null
null
UTF-8
Python
false
false
46
py
str1 = "1223" str2 = "asdf" print(str1 + str2)
[ "1275604947@qq.com" ]
1275604947@qq.com
8e7daff6d28883da7ddcc1f86aaf973d0b0bcb0a
5e73d9b32657539a680bad7269594f32fd1940b1
/Basic Data Structures/week4_binary_search_trees/2_is_bst/is_bst.py
82698ce5d8a6d075f2a2f42cec6ff691028925ff
[]
no_license
harshdonga/Data_Structures_Algorithms
c9b9f721996366b903182f519dd421bfbe599d3b
f3a94910e4d50ea29c906029bd0081d37cf25652
refs/heads/master
2022-11-05T08:33:00.340043
2020-06-13T18:13:52
2020-06-13T18:13:52
262,765,860
0
0
null
null
null
null
UTF-8
Python
false
false
999
py
#!/usr/bin/python3 import sys, threading, math sys.setrecursionlimit(10**7) # max depth of recursion threading.stack_size(2**25) # new thread will get stack of such size def inOrder(tree): result = [] def inOrderRec(i,result): if tree[i][1] != -1: inOrderRec(tree[i][1], result) r...
[ "harshdonga99@gmail.com" ]
harshdonga99@gmail.com
00bc4046a8127e8a550dec3729cff87516823ed7
6fa7f99d3d3d9b177ef01ebf9a9da4982813b7d4
/F64txHnfYj4e4MpAN_22.py
990afa3ea17171f39d83618e1ee743fb5c150d57
[]
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
208
py
def schoty(frame): sum = 0 index = 0 conversion = [1000000, 100000, 10000, 1000, 100, 10, 1] for line in frame: sum = sum + conversion[index] * line.find("-") index = index + 1 return sum
[ "daniel.reich@danielreichs-MacBook-Pro.local" ]
daniel.reich@danielreichs-MacBook-Pro.local
1a7495f69555d27d90cb00ae511930e9f61dffd6
2fd627a9cfdf5c2190fa3018055cf1b643fc55a0
/6. Union-Intersection/6. union-and-intersection.py
54669d150694720e7d50cdbcc5ae184bc7947777
[]
no_license
josancamon19/show-me-data-structures
d17981443abd12252555581909ff8bd904c582ea
5e8b8135e113aec7424ab79040afc6ff1d71f3fc
refs/heads/master
2020-08-29T02:38:36.731375
2019-11-04T19:37:32
2019-11-04T19:37:32
217,897,486
0
2
null
null
null
null
UTF-8
Python
false
false
5,661
py
class Node: def __init__(self, value): self.value = value self.next = None def __repr__(self): return str(self.value) class LinkedList: def __init__(self): self.head = None def __str__(self): cur_head = self.head if cur_head is None: return...
[ "joan.santiago.cabezas@gmail.com" ]
joan.santiago.cabezas@gmail.com
6515a2df2bf4a4bd4429023d4103b0f228db4d78
afba8aa70edb5cdfe3b38e451330deac72e4eee1
/aldryn_installer/__init__.py
fbaee6c565f0968a47cd72a0c07b3cc7e54e188a
[]
no_license
jqb/aldryn-installer
b148c920866c86de9399b27a9d9c5e8118c31953
e960a9f38a85886255f84379808c7495bd3e90b8
refs/heads/master
2021-01-15T09:37:44.006606
2013-11-04T12:52:37
2013-11-04T12:52:37
null
0
0
null
null
null
null
UTF-8
Python
false
false
137
py
#!/usr/bin/env python # -*- coding: utf-8 -*- __author__ = 'Iacopo Spalletti' __email__ = 'i.spalletti@nephila.it' __version__ = '0.1.1'
[ "i.spalletti@nephila.it" ]
i.spalletti@nephila.it
5627eb5d6cb9e3ef58e936d11ea044945069c613
00f3f038313e4334ebab171e0133fce63fdba0f0
/authentication/tests.py
03bee37ed6b69c09333697c4b4ba788a8ccbf5c0
[]
no_license
DarishkaAMS/Dj_Projects-Author_Blog
57a94aaa16d87bfd19dc2ab99e37c5710abcfd0e
ae634c80107e96bba8e0ef6d8e56e83a588e9e0b
refs/heads/main
2023-01-21T06:17:34.078609
2020-11-29T18:06:26
2020-11-29T18:06:26
null
0
0
null
null
null
null
UTF-8
Python
false
false
694
py
from django.test import TestCase from django.urls import reverse # Create your tests here. from authentication.models import UserManager, User import requests class TestUser(TestCase): def setUp(self): email = "d@gmail.com" password = "abc" username = "HELLO" self.user = User.objec...
[ "d.nikolaienko@yahoo.co.uk" ]
d.nikolaienko@yahoo.co.uk
c1208a7a966e17598df2c6f7d583240b0aa57882
ae6f2b9d4c0cfd43411eadc942292439367e8bbc
/PYTHON/Teach_Your_Kids_to_Code_program_files/ch02_turtle/Challenge1_ColorSpiral10.py
ad792179745996a9ccec72d9ecb776bfd32cc884
[]
no_license
rao003/StartProgramming
6e68786b55adfad94d0601e516576bcedac290dd
341739f99bf3684a57b84c8942b85dcfc2e6bc4b
refs/heads/master
2022-11-20T22:14:10.447618
2022-11-04T07:07:33
2022-11-04T07:07:33
215,080,140
2
1
null
null
null
null
UTF-8
Python
false
false
387
py
# ColorSpiral10.py import turtle t=turtle.Pen() turtle.bgcolor('black') # You can change sides between 2 and 10 for some cool shapes! sides=10 colors=['red', 'yellow', 'blue', 'orange', 'green', 'purple', 'gray', 'white', 'pink', 'light blue'] for x in range(360): t.pencolor(colors[x%sides]) t.forward(x...
[ "49493736+rao003@users.noreply.github.com" ]
49493736+rao003@users.noreply.github.com
dca18d1def42d691fdda32b44a976d9f471808ef
830b230a154fa21d46bb2d2e76e705528768adb3
/rhythmbox_ttplyrics/dbus_pyosd.py
da077cb74f719dc8fe91bd41329c0fa85d2dcb72
[]
no_license
jdtuiran/ideas_sueltas
d0e3f84d6ea629a4caf807c884ae85f25e0bde60
026ec493686be3a636e8c5d39d4484a67eadd94f
refs/heads/master
2022-04-16T06:43:25.917985
2020-03-16T21:41:33
2020-03-16T21:41:33
null
0
0
null
null
null
null
UTF-8
Python
false
false
8,418
py
#!/bin/env python # -*- coding: utf8 -*- # 2008-12-27 22:16:45 import gobject import dbus from dbus.mainloop.glib import DBusGMainLoop import os import sys import re import time import posd# python-osd class LyricsOSD : def __init__(self): self.__RE_TIME=r"^\[[0-9][0-9][:.][0-5][0-9][:.][0-9][0-9]\]" ...
[ "sebaslander@gmail.com" ]
sebaslander@gmail.com
2c1a8a260380f4fbb5f4a6d579bbb14b54ab8431
1adc05008f0caa9a81cc4fc3a737fcbcebb68995
/hardhat/recipes/swig.py
cf9658b1333900ab306a92e5b5dd4a98914a2309
[ "MIT", "BSD-3-Clause" ]
permissive
stangelandcl/hardhat
4aa995518697d19b179c64751108963fa656cfca
1ad0c5dec16728c0243023acb9594f435ef18f9c
refs/heads/master
2021-01-11T17:19:41.988477
2019-03-22T22:18:44
2019-03-22T22:18:52
79,742,340
0
0
null
null
null
null
UTF-8
Python
false
false
534
py
from .base import GnuRecipe class SwigRecipe(GnuRecipe): def __init__(self, *args, **kwargs): super(SwigRecipe, self).__init__(*args, **kwargs) self.sha256 = '7cf9f447ae7ed1c51722efc45e7f1441' \ '8d15d7a1e143ac9f09a668999f4fc94d' self.name = 'swig' self.depend...
[ "clayton.stangeland@gmail.com" ]
clayton.stangeland@gmail.com
9c880d5f6dd983881bf0c236a6ec98537306e6a0
a4d98e9422993b4f2d977eeaf78fcf6bc8c86c10
/dfvfs/compression/zlib_decompressor.py
3269e02ffc9538aff3613266951bac81a773f71b
[ "Apache-2.0" ]
permissive
dc3-plaso/dfvfs
c3fc80c28a5054f764979e024957c724f9b774e4
06b3625426dbf1cc2ac5a8ce09303d0822625937
refs/heads/master
2020-04-04T21:15:42.815618
2017-07-15T05:27:58
2017-07-15T05:27:58
39,035,966
0
0
null
2015-07-13T20:36:59
2015-07-13T20:36:59
null
UTF-8
Python
false
false
2,038
py
# -*- coding: utf-8 -*- """The zlib and DEFLATE decompressor object implementations.""" import zlib from dfvfs.compression import decompressor from dfvfs.compression import manager from dfvfs.lib import definitions from dfvfs.lib import errors class ZlibDecompressor(decompressor.Decompressor): """Class that imple...
[ "joachim.metz@gmail.com" ]
joachim.metz@gmail.com
48a50b6f83025bcf4428123353dd477bdc0e98c6
3bcc247a2bc1e0720f0344c96f17aa50d4bcdf2d
/第四阶段/爬虫/day03pm/gouliang.py
64e4b1d4ff3399235f1cf55b272bbbf4f6d7ae33
[]
no_license
qianpeng-shen/Study_notes
6f77f21a53266476c3c81c9cf4762b2efbf821fa
28fb9a1434899efc2d817ae47e94c31e40723d9c
refs/heads/master
2021-08-16T19:12:57.926127
2021-07-06T03:22:05
2021-07-06T03:22:05
181,856,924
0
0
null
null
null
null
UTF-8
Python
false
false
1,708
py
import requests import re import json from multiprocessing import Pool from multiprocessing import Manager import time import functools #函数的包装器 def get_one_page(url): ua_header = {"User-Agent": "Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.1; Trident/4.0; SE 2.X MetaSr 1.0; SE 2.X MetaSr 1.0; .NET CLR 2.0.5072...
[ "shenqianpeng@chengfayun.com" ]
shenqianpeng@chengfayun.com
040e7ecc3fdeb537a0cd06265eed1edd420344b0
85bad96f0c53edcda738f42b4afe742eed9865c3
/TD/cliffwalking.py
571983e0c03b35368ba3be22b2c4ce80e503f039
[]
no_license
shirsho-12/RL
9fc6e0d4de18cb68a15052d1aec28417e9215862
ef94bffc80c0a5f83543cba170415d85c27ca0a9
refs/heads/main
2023-06-24T13:26:56.449898
2021-07-13T08:44:20
2021-07-13T08:44:20
368,197,497
0
0
null
null
null
null
UTF-8
Python
false
false
640
py
# If imports do not work, add a TD. to each of the files import gym from td_algos import q_learning from helper import gen_eps_greedy_policy, plot_rate env = gym.make("CliffWalking-v0") num_states, num_actions = env.observation_space.n, env.action_space.n print(num_states, num_actions) gamma = 1 num_episodes = 500 al...
[ "shirshajit@gmail.com" ]
shirshajit@gmail.com
a44d0e7c13bbd2a1c8970b880c482d88ea0b1c02
08d54785e1266b46912e64a51054fbef80d41629
/Basic Python Programs/34.GetFileProperties.py
0bc4d4ff2f529437d2abcc6b2072d21d2827b221
[]
no_license
Wolvarun9295/BasicPython
95231fa3b47a28129de69c56c3f7b02204487005
722d36692724d1e24022405269b3efb922630c0e
refs/heads/master
2022-11-04T12:29:54.191632
2020-06-15T17:31:45
2020-06-15T17:31:45
272,414,700
0
0
null
null
null
null
UTF-8
Python
false
false
362
py
# Imported path and time modules. from os import path import time fileName = __file__ print(f'File: {fileName}') print(f'Last access time: {time.ctime(path.getatime(fileName))}') print(f'Last modified time: {time.ctime(path.getmtime(fileName))}') print(f'Last changed time: {time.ctime(path.getctime(fileName))}') print...
[ "varun.nagrare@gmail.com" ]
varun.nagrare@gmail.com
e8ddc926d4457abb6650f3823d8b8df1fc9e24dd
9a3803ba18a88a6a172ac3fb11411ee47adc2108
/Object.py
0db2728e02ac085aca36818b3f9257c59e4510da
[]
no_license
jeffreyzhang2012/Village_Simulator_Game
6efe9197aef982da6008295e5a2b2acab51ebbdc
9bffabfd8a84980612eab5d4dd18d13d018bc5ad
refs/heads/master
2023-03-05T04:31:54.883003
2021-02-19T06:45:04
2021-02-19T06:45:04
340,277,469
0
0
null
null
null
null
UTF-8
Python
false
false
171
py
class JK(object): def __init__(self,x): self.x = x def fuck(self,d): return d.y * 3 def calc(self,d): return JK.fuck(self,d) * self.x
[ "--global" ]
--global
93ba818fa2d05a5cd078637f250e3a78c6085fc1
097b2c588b4695f3ab96c85fd4cda1ce271a7cda
/models/ssd/layers/modules/multibox_loss.py
591df6efed02fd540a39af14223c826fe2ec9238
[ "Apache-2.0" ]
permissive
qinzhengmei/silco
628422a05841287c2a5159772121e3e2b5c9b72d
18872c4c31a79aa1bac489096fd8f5c99b4380cf
refs/heads/master
2022-12-15T16:37:33.367354
2020-08-24T21:49:23
2020-08-24T21:49:23
null
0
0
null
null
null
null
UTF-8
Python
false
false
5,225
py
import torch import torch.nn as nn import torch.nn.functional as F from torch.autograd import Variable from data import v from ..box_utils import match, log_sum_exp class MultiBoxLoss(nn.Module): """SSD Weighted Loss Function Compute Targets: 1) Produce Confidence Target Indices by matching ground tr...
[ "taohu620@gmail.com" ]
taohu620@gmail.com
c622453419c1ddf1477163422f79dfcf2d99cf19
18b977dccd70e9e5a1b553b28ab0413fb3f54f4b
/SoftUni/Python Developmen/Python-Advanced/Multidimensional-Lists/Exercises/example.py
963a83307987d5f35cf913dde2136caaa9b7d16e
[]
no_license
stevalang/Coding-Lessons
7203e3a18b20e33e8d596e3dfb58d26c50b74530
2d0060c2268ad966efdcae4e6e994ac15e57243a
refs/heads/master
2023-06-05T08:28:33.290530
2021-06-16T19:37:29
2021-06-16T19:37:29
284,852,565
1
0
null
null
null
null
UTF-8
Python
false
false
1,162
py
rows, cols = tuple(map(int, input().split())) matrix = [] player_position = [] for i in range(rows): row = [x for x in list(input())] matrix.append(row) for c in row: if 'P' == c: player_position = [i, row.index('P')] commands = list(input()) for command in commands: next_player_...
[ "rbeecommerce@gmail.com" ]
rbeecommerce@gmail.com
316f6adc9ec6ba64bd822c35e138ec8b81898db6
d79c152d072edd6631e22f886c8beaafe45aab04
/nicolock/products/migrations/0003_auto_20161207_0642.py
843f5b50c6fa3ce6ec3d0db7e5dfa6cc8f2289ee
[]
no_license
kabroncelli/Nicolock
764364de8aa146721b2678c14be808a452d7a363
4c4343a9117b7eba8cf1daf7241de549b9a1be3b
refs/heads/master
2020-03-11T11:02:43.074373
2018-04-18T17:38:33
2018-04-18T17:38:33
129,959,455
0
0
null
null
null
null
UTF-8
Python
false
false
1,440
py
# -*- coding: utf-8 -*- # Generated by Django 1.10.3 on 2016-12-07 06:42 from __future__ import unicode_literals from django.db import migrations class Migration(migrations.Migration): dependencies = [ ('products', '0002_initialize_categories'), ] operations = [ migrations.AlterModelOpt...
[ "brennen@lightningkite.com" ]
brennen@lightningkite.com
fb38d5f52a8030341505bcd5f75290e71fc7c05e
2e935ca936976d2d2bd4e785e2f3f29c63771542
/ExPy10301.py
8da6aad45cc4ef8ef45343a9670f7847b3834cb8
[]
no_license
zoro6908/PY_acamedy
4a370e866fef19f6d2e7697eb809352b6ac703f5
460d26639f7bd8cf2486950dc70feae6a2959ca0
refs/heads/master
2023-04-26T18:10:44.691326
2021-05-25T00:11:02
2021-05-25T00:11:02
298,425,369
0
0
null
null
null
null
UTF-8
Python
false
false
521
py
# 파이썬 기초부터 활용까지 (2020.09) # [3과] 연산문 # 1. 수치연산 print(398**2) #지수 a = 55.6; b = 7 c = a + b # 실수와 정수의 덧셈 print(c, type(c)) # 결과는 실수 s = int(c) # int() 함수 사용 print(s) k = s - 900 print(k) k2 = abs(k) # 절대치 함수 print(k2) p = (10, 20, 90, 70, 8) # 튜플 자료형 print(p) print(max(p)) ...
[ "zoro6908@naver.com" ]
zoro6908@naver.com
cd1765c1ef1d31f5386da711b80e8e6a91b4aa0d
3edd9164d375538a975fe18a074ca721cebf67e0
/GridPacks/mkPowhegV2Pack.py
0a1d069d63ffdb653a378115020fb76e6de4ef86
[]
no_license
d4space/GenGen
65402c031fbd38ef1ebadb2dd29d76d6c19312ff
c7b1e6cad6b7da089a2ee6960d484edba3ce3d2a
refs/heads/master
2021-04-30T10:43:59.008552
2018-12-08T05:51:21
2018-12-08T05:51:21
121,340,082
0
1
null
null
null
null
UTF-8
Python
false
false
11,151
py
# Definition of the input parameters: # (1) -p grid production stage [f] (one go) # (2) -i intput card name [powheg.input] # (3) -m process name (process defined in POWHEG) # (4) -f working folder [my_ggH] # (5) -q batch queue name (run locally if not specified) # (6) -n the number of events to run import os #####...
[ "d4space@gmail.com" ]
d4space@gmail.com
ef8f956403d0202e9fb20059973bea3abe472964
26d6c34df00a229dc85ad7326de6cb5672be7acc
/msgraph-cli-extensions/beta/education_beta/azext_education_beta/vendored_sdks/education/aio/operations/_education_schools_users_operations.py
e8c69dfc0b8242740273af02b2c355cc271fe2cb
[ "MIT" ]
permissive
BrianTJackett/msgraph-cli
87f92471f68f85e44872939d876b9ff5f0ae6b2c
78a4b1c73a23b85c070fed2fbca93758733f620e
refs/heads/main
2023-06-23T21:31:53.306655
2021-07-09T07:58:56
2021-07-09T07:58:56
386,993,555
0
0
NOASSERTION
2021-07-17T16:56:05
2021-07-17T16:56:05
null
UTF-8
Python
false
false
4,183
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 ...
[ "japhethobalak@gmail.com" ]
japhethobalak@gmail.com
b807d74a03dd5f1381c42a92a7cb6c9e30bac800
ca7aa979e7059467e158830b76673f5b77a0f5a3
/Python_codes/p03370/s840732194.py
0eb0e9c767f212efcb5084f1fc3f3b2db6f627d9
[]
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
252
py
[N,X] = list(map(int,input().split())) m = [] for i in range(N): m.append(int(input())) # print('m:',m) amari = X - sum(m) # print('amari:',amari) i=0 while True: if amari<min(m)*i: ans = len(m) + i-1 break i+=1 print(ans)
[ "66529651+Aastha2104@users.noreply.github.com" ]
66529651+Aastha2104@users.noreply.github.com
a3da8977726d890bfab1da564e6abf12c76cfc8f
256e1c5c9c0a14370201aac4ebdd9d17049c005c
/batch_ihr_import_new.py
8e95b5e18782420e8772af5c7a471f96696b4c5a
[]
no_license
rv816/clinical_survey_etl
e0393aabeb2562b6f9d134cdb35f8040238f6fad
19d5d83f5c4d8f7aec5e0a6e634c113ee8b35388
refs/heads/master
2021-01-19T06:58:17.890722
2015-09-28T20:02:57
2015-09-28T20:02:57
26,990,368
0
0
null
null
null
null
UTF-8
Python
false
false
23,022
py
# -*- coding: utf-8 -*- # <nbformat>3.0</nbformat> # <codecell> import pandas as pd import pg8000 import psycopg2 as pq import sqlalchemy as sa from sqlalchemy import create_engine, ForeignKey, MetaData from sqlalchemy import Column, Date, Integer, String, Table from sqlalchemy.ext.declarative import declarative_base...
[ "ryan.vass.junk@gmail.com" ]
ryan.vass.junk@gmail.com
30c14a07c174d1205e1cfe1466811eedb9f4a091
e7df6d41d7e04dc1c4f4ed169bf530a8a89ff17c
/Bindings/Python/tests/test_simulation_utilities.py
cfc1e5913bbeb73b03ab8a056978b8cf24909949
[ "Apache-2.0" ]
permissive
opensim-org/opensim-core
2ba11c815df3072166644af2f34770162d8fc467
aeaaf93b052d598247dd7d7922fdf8f2f2f4c0bb
refs/heads/main
2023-09-04T05:50:54.783630
2023-09-01T22:44:04
2023-09-01T22:44:04
20,775,600
701
328
Apache-2.0
2023-09-14T17:45:19
2014-06-12T16:57:56
C++
UTF-8
Python
false
false
598
py
import os import unittest import opensim as osim test_dir = os.path.join(os.path.dirname(os.path.abspath(osim.__file__)), 'tests') class TestSimulationUtilities(unittest.TestCase): def test_update_kinematics(self): model = osim.Model( os.path.join(test_dir, 'gait1...
[ "cld72@cornell.edu" ]
cld72@cornell.edu
79a154b4c6dc4f41760af80f2a7247ce20a26688
b2bdd5997ac84b0e19071c1ddc1c1a4d2f4fab58
/catkin_ws/build/p5/cmake/p5-genmsg-context.py
0205608693a493b861da3d3774a3a196b62f043a
[]
no_license
hbtslys01/RosCodingProject
860d18531dabe4a969278deff5dbad8a8703ea83
226feda08724e92fd94191e123b9442c028283dd
refs/heads/master
2020-04-11T09:16:17.808626
2018-12-13T17:30:08
2018-12-13T17:30:08
161,671,560
0
0
null
null
null
null
UTF-8
Python
false
false
1,426
py
# generated from genmsg/cmake/pkg-genmsg.context.in messages_str = "/home/cs4750/catkin_ws/src/p5/msg/Action.msg;/home/cs4750/catkin_ws/src/p5/msg/ActionEffect.msg;/home/cs4750/catkin_ws/src/p5/msg/ActionOption.msg;/home/cs4750/catkin_ws/src/p5/msg/State.msg" services_str = "/home/cs4750/catkin_ws/src/p5/srv/ChooseAct...
[ "907098316@qq.com" ]
907098316@qq.com
a0ac77d6f01d6b6ed6363565b4d311164ca4e6a6
5d178ff8ae636123147b15fa530dba3aff0ff786
/fsb/tariff/urls.py
0154607fd51a330b569b2943ff03d0f91b991d3f
[]
no_license
grengojbo/fsb
70d054388e75e2e3d62aa4dbf80679ccd7213c50
75a222dda323edb5a5407ffc89071a48ed0628aa
refs/heads/master
2021-01-10T20:29:22.965848
2011-04-07T16:27:38
2011-04-07T16:27:38
561,853
5
3
null
null
null
null
UTF-8
Python
false
false
745
py
# -*- mode: python; coding: utf-8; -*- from django.conf.urls.defaults import * from django.conf import settings #from django.utils.translation import ugettext_lazy as _ __author__ = '$Author:$' __revision__ = '$Revision:$' # Uncomment the next two lines to enable the admin: # from django.contrib import admin # admin....
[ "oleg.dolya@gmail.com" ]
oleg.dolya@gmail.com
aeed7aa47de82741ebdc77756df68ce3e9a6f0d3
8993f017079fd4c8329b37ddb663b28b54be1586
/LatitudeProfile.py
f013f2db4c433bcb565eabb110ec36f87452c5e6
[ "MIT" ]
permissive
nithinsivadas/IRI2016
74f7ec3bb39b4b55c6368085dd1fcbfee8cab20c
16f383e6666dfff2938019d49b411ec23b8f18c0
refs/heads/master
2020-07-15T01:13:34.167868
2019-08-29T19:53:59
2019-08-29T19:53:59
205,445,491
0
0
MIT
2019-08-30T19:33:21
2019-08-30T19:33:21
null
UTF-8
Python
false
false
917
py
#!/usr/bin/env python import iri2016 as iri from argparse import ArgumentParser from matplotlib.pyplot import show from pathlib import Path import iri2016.plots as piri def main(): p = ArgumentParser() p.add_argument("glon", help="geodetic longitude (degrees)", type=float) p.add_argument( "-glat"...
[ "scivision@users.noreply.github.com" ]
scivision@users.noreply.github.com
c49e7df813833928b68f4bea703e83c3224cb8ce
a5cc3ce2bcc8a482b8a5ccd2ef767327bab56f93
/task3/venv/Scripts/pip-script.py
d9e1ebb90e8185cc7ead1897e8d48e8d28bdcc13
[]
no_license
Vetarium/ICT
e30db16460a4ba0bad8ddbab0584843714b6c7ee
f7277c131a65dff3b0cde4b7edb2caa14e2b346d
refs/heads/master
2023-02-05T21:04:51.956948
2020-12-24T05:47:43
2020-12-24T05:47:43
297,998,904
0
0
null
null
null
null
UTF-8
Python
false
false
406
py
#!C:\Users\Aron\Documents\ICT\task3\venv\Scripts\python.exe # EASY-INSTALL-ENTRY-SCRIPT: 'pip==19.0.3','console_scripts','pip' __requires__ = 'pip==19.0.3' import re import sys from pkg_resources import load_entry_point if __name__ == '__main__': sys.argv[0] = re.sub(r'(-script\.pyw?|\.exe)?$', '', sys.argv[0]) ...
[ "aronbestaron@gmail.com" ]
aronbestaron@gmail.com
7c66b48eb66db52f012546f32ea940d5909ce431
4262dcafe190db05852c7e1cfafc687031d23367
/src/Employee/migrations/0007_employee_emp_password.py
6e60f91162e7e4865e7ee9cc97e6bc670c43ef68
[]
no_license
ShunnoSaiful/JobPortal
b39930fcdb1bc30567f8a2c91d80786ab497afd5
c8f3064b87c5d967b8f415fc5f080e167fc0c77d
refs/heads/main
2023-01-07T02:44:33.831589
2020-11-11T11:47:46
2020-11-11T11:47:46
308,109,029
0
0
null
null
null
null
UTF-8
Python
false
false
441
py
# Generated by Django 2.2 on 2020-11-03 16:18 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('Employee', '0006_employee_is_employee'), ] operations = [ migrations.AddField( model_name='employee', name='emp_passwo...
[ "sunnosaiful@gmail.com" ]
sunnosaiful@gmail.com
ec5b256968bdfc9555035c60dbbede31f0403251
bdc10ba57424040129cc72ad018ff26bc8bca66a
/ConfigDefinitions/BranchAdditions/UserDefinedCollections/EScaleCollection_Embedded_2017.py
1d12d35cc1372cf62acdb235a5cb627116ff5069
[]
no_license
aloeliger/Jesterworks
61e0ac38ca325fefbbd8ccedaa8eb02d8a76ebbe
96a22bac4ce20b91aba5884eb0e5667fcea3bc9a
refs/heads/master
2021-06-09T15:39:06.976110
2021-04-23T11:25:06
2021-04-23T11:25:06
157,698,363
0
1
null
null
null
null
UTF-8
Python
false
false
1,419
py
import ConfigDefinitions.BranchAdditions.BranchDef as BranchDef import ConfigDefinitions.BranchAdditions.UserDefinedBranches.EmbeddedTES as TES import ConfigDefinitions.BranchAdditions.UserDefinedBranches.MES as MES import ConfigDefinitions.BranchAdditions.UserDefinedBranches.LLFakeES as LLFakeES EScaleCollection = Br...
[ "aloelige@cern.ch" ]
aloelige@cern.ch
812bd562a8a088516188cbf8c3f613c20f3288ef
df29840e4adbc35f40d8a05d3d887359fc7a784b
/Git Result24bd/Result24bd/Result24bd/settings.py
5b37549c35f0232f036b9cf8daca59111dcff05c
[]
no_license
mdarifulislamroni21/backupdtatahuifehi
ab796ff2b70a4614f586af29e786b085cb1ee6c1
a26ab7373ad50cb0b563a2511a7788748002884c
refs/heads/main
2023-08-17T04:53:50.262280
2021-10-06T18:10:46
2021-10-06T18:10:46
414,320,426
0
0
null
null
null
null
UTF-8
Python
false
false
4,241
py
from pathlib import Path import os # Build paths inside the project like this: BASE_DIR / 'subdir'. BASE_DIR = Path(__file__).resolve().parent.parent HTMLCODE_DIRS=os.path.join(BASE_DIR,'html_code') STATIC_DIRS=os.path.join(BASE_DIR,'static') MEDIA_DIRS=os.path.join(BASE_DIR,'media') # Quick-start development settings...
[ "mdarifulislamroni21@gmail.com" ]
mdarifulislamroni21@gmail.com
08c04a042b444070a06f2231f2b50b78fea9b755
e92e4b67cb38686bce5aec798015451ca8b618ff
/DarkScripts/R1/plot_TOEOfModels_Paper_R1.py
bf9a7dbde4ae7dc5c93213694fd4d1d43d3c0ecb
[ "MIT" ]
permissive
weilin2018/InternalSignal
ad76f863e1d2f75abc285c88fedf928dcfd938bb
8d2685a7e3cc84086ea771e68c1a5bda08ad7a9b
refs/heads/master
2023-04-03T11:46:46.965678
2021-03-26T18:57:05
2021-03-26T18:57:05
null
0
0
null
null
null
null
UTF-8
Python
false
false
9,219
py
""" Plot signal-to-noise ratios for XLENS simulations for paper [1] Method: 10-yr running mean exceeds 1920-1949 baseline by 2sigma Reference : Deser et al. [2020, JCLI] and Lehner et al. [2017, JCLI] Author : Zachary M. Labe Date : 4 March 2021 """ ### Import packages import math import time import matplot...
[ "zmlabe@rams.colostate.edu" ]
zmlabe@rams.colostate.edu
e001347036d4b1d0a8121284db7bbd21f629efb5
12a42054b156383ebbe3ccc5de4150633c66da5d
/problems/expression-add-operators/solution.py
04767fe89317c99a372a898317a522b11ece6202
[]
no_license
cfoust/leetcode-problems
93c33029f74f32c64caf8294292226d199d6e272
f5ad7866906d0a2cf2250e5972ce910bf35ce526
refs/heads/master
2020-03-16T23:05:45.123781
2018-05-11T16:41:09
2018-05-11T16:41:09
133,064,772
1
1
null
null
null
null
UTF-8
Python
false
false
179
py
class Solution: def addOperators(self, num, target): """ :type num: str :type target: int :rtype: List[str] """ """
[ "cfoust@sqweebloid.com" ]
cfoust@sqweebloid.com
e2aad4942a35809a1db0477468f1f751c651f9cd
ca7aa979e7059467e158830b76673f5b77a0f5a3
/Python_codes/p03109/s657549082.py
5a824c61d03ae11eb19a3ddf4dc00f1fe5100b71
[]
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
94
py
a = input() if a[5:7] in ["01", "02", "03", "04"]: print("Heisei") else: print("TBD")
[ "66529651+Aastha2104@users.noreply.github.com" ]
66529651+Aastha2104@users.noreply.github.com
0fa671abe98808969076ce0fc835334e524494f5
ed90fcbfd1112545fa742e07131159bb3a68246a
/smry/server-auth/ls/google-cloud-sdk/lib/googlecloudsdk/compute/subcommands/forwarding_rules/list.py
420747d1e4cd001700ebe47795d47ba909b0cde5
[ "Apache-2.0", "LicenseRef-scancode-unknown-license-reference" ]
permissive
wemanuel/smry
2588f2a2a7b7639ebb6f60b9dc2833f1b4dee563
b7f676ab7bd494d71dbb5bda1d6a9094dfaedc0a
refs/heads/master
2021-01-10T21:56:55.226753
2015-08-01T13:37:06
2015-08-01T13:37:06
40,047,329
0
1
Apache-2.0
2020-07-24T18:32:40
2015-08-01T13:26:17
Python
UTF-8
Python
false
false
662
py
# Copyright 2014 Google Inc. All Rights Reserved. """Command for listing forwarding rules.""" from googlecloudsdk.compute.lib import base_classes class List(base_classes.GlobalRegionalLister): """List forwarding rules.""" @property def global_service(self): return self.compute.globalForwardingRules @pro...
[ "wre@thenandchange.org" ]
wre@thenandchange.org
37ce072cd49cfa75a020424ba47b3567ee618bf6
688c226e30e9d1a9ad7ddaaec75ad456d7b4981b
/other/mokuai/zidingyimodel3.py
bc149f83381545faf60dff8bcc137cc94508e8cc
[]
no_license
imklever/pay
a465e926330f5a804d3ef1deeba4353af00fd212
26bc73d40af33d8a47993ff37e0f0daec4d15e38
refs/heads/master
2021-10-08T21:36:15.398969
2018-12-18T02:41:05
2018-12-18T02:41:05
null
0
0
null
null
null
null
UTF-8
Python
false
false
321
py
#coding:utf-8 #引入模块 #from ...... import * 语句 #作用:把一个模块中所有的内容全部导入当前命名空间 from sunck import * #最好不要过多的使用 ''' 程序内容的函数可以将模块中的同名函数覆盖 def sayGood(): print("*********") ''' sayGood() sayNice() print(TT)
[ "yanghaotai@163.com" ]
yanghaotai@163.com
9ef7aad2085be69c81499e3e2221ebfb956da801
09c87fe780df6d1f9eb33799ed516a0bbd7ab1e3
/Research/wx doco/somelongthread1_main.py
cbb1357ac048bde246e5fe80e2ae4985131c26f3
[]
no_license
abulka/pynsource
8ad412b85dc1acaeb83d7d34af8cc033c6baba91
979436525c57fdaeaa832e960985e0406e123587
refs/heads/master
2023-04-13T12:58:02.911318
2023-04-11T09:56:32
2023-04-11T09:56:32
32,249,425
271
46
null
2022-10-10T04:36:57
2015-03-15T07:21:43
Python
UTF-8
Python
false
false
2,698
py
# simple front end to long running thread - so can have two frames at once # which is what is problematic under linux and mac os x import wx import wx.lib.ogl as ogl from somelongthread1 import MainFrame class MainHost(wx.Frame): def __init__(self, parent, id, title): wx.Frame.__init__(self, parent, id,...
[ "abulka@gmail.com" ]
abulka@gmail.com
8f5ab9c2968ebebea5d7bee44efc0cd8b2654b26
41a20700b5bb351d20562ac23ec4db06bc96f0d7
/src/plum/types/property/submodule.py
c7fde187b7be2313d64acbade9f0a3bc5e711ba6
[]
no_license
kedz/noiseylg
ee0c54634767e8d3789b4ffb93727988c29c6979
17266e1a41e33aecb95dc1c3aca68f6bccee86d5
refs/heads/master
2020-07-30T11:22:08.351759
2019-10-30T21:33:11
2019-10-30T21:33:11
210,212,253
4
2
null
null
null
null
UTF-8
Python
false
false
2,702
py
from .plum_property import PlumProperty import torch.nn as nn class Submodule(PlumProperty): def __init__(self, default=None, required=True, type=None, tags=None): self._default = default self._required = required if type is None: def any_type(x): return T...
[ "kedzie@cs.columbia.edu" ]
kedzie@cs.columbia.edu
9197ed24cac4246e593e240d233fa8bef16cedc0
9743d5fd24822f79c156ad112229e25adb9ed6f6
/xai/brain/wordbase/otherforms/_fatherlands.py
8ba1a35575d89333db2a00481b5443ff629ef5a3
[ "MIT" ]
permissive
cash2one/xai
de7adad1758f50dd6786bf0111e71a903f039b64
e76f12c9f4dcf3ac1c7c08b0cc8844c0b0a104b6
refs/heads/master
2021-01-19T12:33:54.964379
2017-01-28T02:00:50
2017-01-28T02:00:50
null
0
0
null
null
null
null
UTF-8
Python
false
false
238
py
#calss header class _FATHERLANDS(): def __init__(self,): self.name = "FATHERLANDS" self.definitions = fatherland self.parents = [] self.childen = [] self.properties = [] self.jsondata = {} self.basic = ['fatherland']
[ "xingwang1991@gmail.com" ]
xingwang1991@gmail.com
84303490be2e5499c283ee2bf84c5bd033563ef2
2573dd49b18f8c5fe7e600268019a158a46bbc2a
/SIMS/SOMD/absolute/2-cyclopentanylindole/free/discharge/FUNC.py
fae3db2d8d06bb5c0fc099872bc31821f41827df
[]
no_license
xuebai1990/relative-solvation-inputs
70454e218855c14ac89424cc50aa89ac605f38dc
ec698ac2a80b79448f2b0f1d0c9aa811c6f1fe78
refs/heads/master
2021-09-10T13:25:50.286441
2018-03-26T22:04:14
2018-03-26T22:04:14
null
0
0
null
null
null
null
UTF-8
Python
false
false
17,585
py
# # Evaluates electrostatics corrections to free energy changes # import os,sys, random import math import mdtraj from Sire.Tools.OpenMMMD import * from Sire.Tools import Parameter, resolveParameters # from Sire.Tools.LJcutoff import getFreeEnergy, resample solvent_residues = ["WAT","ZBK","ZBT","CYC"] ion_residues = [...
[ "stefanobosisio1@gmail.com" ]
stefanobosisio1@gmail.com
db9fe5e9cb4bda725fe01b0c4fe09c6fa1902e6a
1e2b69476b2b174ac210ba525b197c621280a390
/Configuration/Geometry/python/GeometryExtended2017Plan1_cff.py
6ed28868e6981ebbfff879df8fd786e61a845e77
[ "Apache-2.0" ]
permissive
skinnari/cmssw
640e5fe2f23a423ccb7afe82d43ea1b80a2603f0
62b49319e475fbcf14484d77814d47a552c61f63
refs/heads/L1TK_CMSSW_11-1-0-pre4
2022-10-27T03:55:33.402157
2020-03-24T14:18:04
2020-03-24T14:18:04
11,660,178
2
3
Apache-2.0
2020-03-24T14:16:54
2013-07-25T12:44:13
C++
UTF-8
Python
false
false
397
py
import FWCore.ParameterSet.Config as cms # # Geometry master configuration # # Ideal geometry, needed for simulation from Geometry.CMSCommonData.cmsExtendedGeometry2017Plan1XML_cfi import * from Geometry.TrackerNumberingBuilder.trackerNumberingGeometry_cfi import * from Geometry.EcalCommonData.ecalSimulationParameters...
[ "sunanda.banerjee@cern.ch" ]
sunanda.banerjee@cern.ch
392a88d06ae3d8ebc39cc6872208fe79a63c7d0d
0ed9a8eef1d12587d596ec53842540063b58a7ec
/cloudrail/knowledge/context/aws/resources_builders/scanner/resources_tagging_list_builder.py
5cb9815c2ef85ff46f3f0573716faf4abef4a865
[ "MIT", "LicenseRef-scancode-warranty-disclaimer" ]
permissive
cbc506/cloudrail-knowledge
8611faa10a3bf195f277b81622e2590dbcc60da4
7b5c9030575f512b9c230eed1a93f568d8663708
refs/heads/main
2023-08-02T08:36:22.051695
2021-09-13T15:23:33
2021-09-13T15:24:26
390,127,361
0
0
MIT
2021-07-27T21:08:06
2021-07-27T21:08:06
null
UTF-8
Python
false
false
588
py
from cloudrail.knowledge.context.aws.resources_builders.scanner.base_aws_scanner_builder import BaseAwsScannerBuilder from cloudrail.knowledge.context.aws.resources_builders.scanner.cloud_mapper_component_builder import build_resources_tagging_list class ResourceTagMappingListBuilder(BaseAwsScannerBuilder): def ...
[ "ori.bar.emet@gmail.com" ]
ori.bar.emet@gmail.com
9695f7ae9065259aa8878bac3d67707a89736479
5da5473ff3026165a47f98744bac82903cf008e0
/packages/google-cloud-enterpriseknowledgegraph/google/cloud/enterpriseknowledgegraph_v1/types/job_state.py
9980364dd9433a2eb7720c4ca26313554eb86dfa
[ "Apache-2.0" ]
permissive
googleapis/google-cloud-python
ed61a5f03a476ab6053870f4da7bc5534e25558b
93c4e63408c65129422f65217325f4e7d41f7edf
refs/heads/main
2023-09-04T09:09:07.852632
2023-08-31T22:49:26
2023-08-31T22:49:26
16,316,451
2,792
917
Apache-2.0
2023-09-14T21:45:18
2014-01-28T15:51:47
Python
UTF-8
Python
false
false
2,203
py
# -*- coding: utf-8 -*- # Copyright 2023 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or...
[ "noreply@github.com" ]
googleapis.noreply@github.com
c5e2136987da5a4552d8fc9f3ed4d5086a5278fe
acb8e84e3b9c987fcab341f799f41d5a5ec4d587
/langs/6/ol7.py
555d67a46d6546a905a270c29c30faca7fafa482
[]
no_license
G4te-Keep3r/HowdyHackers
46bfad63eafe5ac515da363e1c75fa6f4b9bca32
fb6d391aaecb60ab5c4650d4ae2ddd599fd85db2
refs/heads/master
2020-08-01T12:08:10.782018
2016-11-13T20:45:50
2016-11-13T20:45:50
73,624,224
0
1
null
null
null
null
UTF-8
Python
false
false
486
py
import sys def printFunction(lineRemaining): if lineRemaining[0] == '"' and lineRemaining[-1] == '"': if len(lineRemaining) > 2: #data to print lineRemaining = lineRemaining[1:-1] print ' '.join(lineRemaining) else: print def main(fileName): with open(fileName) as f: for line in f: ...
[ "juliettaylorswift@gmail.com" ]
juliettaylorswift@gmail.com
9ec0e0a5d45e3039214a48188142d86b1534571a
f2658c4bd7f833ace25ac2b63e88317b05f4602d
/2017 July/2017-July-11/st_rdf_test/model/WaysNavigableLinkTimezone.py
ec567c431d1b3d80de464f2214bce132f5730431
[]
no_license
xiaochao00/telanav_diary
e4c34ac0a14b65e4930e32012cc2202ff4ed91e2
3c583695e2880322483f526c98217c04286af9b2
refs/heads/master
2022-01-06T19:42:55.504845
2019-05-17T03:11:46
2019-05-17T03:11:46
108,958,763
0
0
null
null
null
null
UTF-8
Python
false
false
5,753
py
#------------------------------------------------------------------------------- # Name: WaysNavigableLinkTimezone model # Purpose: this model is used to mapping the rdf_nav_link, rdf_link and rdf_access # columns: [ ] # # Author: rex # # Created: 2016-01-29 # Copyright: (c) rex 2016 ...
[ "1363180272@qq.com" ]
1363180272@qq.com
1876baded258b0f238e61b62902741d2f5805194
8b59108f621e94935b3b72aae3c441e10cb64a1c
/toggle_lods.py
a076d80ac06be061fdc6e2b1799d90097d95d484
[]
no_license
CyberSys/CE_Python
97a373b1fe2d214ae854d454dc5e7d79bc150d8e
721ac005e215f1225fb3c99491b55dc48b19ab30
refs/heads/master
2022-01-13T08:04:08.558594
2019-07-22T17:05:46
2019-07-22T17:05:46
null
0
0
null
null
null
null
UTF-8
Python
false
false
153
py
cvar = general.get_cvar('e_DebugDraw') if cvar != 22: general.set_cvar('e_DebugDraw', 22) if cvar == '22': general.set_cvar('e_DebugDraw', 0)
[ "chrissprance@gmail.com" ]
chrissprance@gmail.com
93f1260fdf0cb8d633f4967c78c99ea23c315318
ce76b3ef70b885d7c354b6ddb8447d111548e0f1
/good_point_and_great_person/place.py
b3c68823b8fc17e94d73df2acd0901fd60e6be4e
[]
no_license
JingkaiTang/github-play
9bdca4115eee94a7b5e4ae9d3d6052514729ff21
51b550425a91a97480714fe9bc63cb5112f6f729
refs/heads/master
2021-01-20T20:18:21.249162
2016-08-19T07:20:12
2016-08-19T07:20:12
60,834,519
0
0
null
null
null
null
UTF-8
Python
false
false
213
py
#! /usr/bin/env python def person(str_arg): get_great_case(str_arg) print('young_hand_or_first_life') def get_great_case(str_arg): print(str_arg) if __name__ == '__main__': person('good_week')
[ "jingkaitang@gmail.com" ]
jingkaitang@gmail.com
587cd786cb7e5627440b322af69c2291af3c666d
eb54a89743222bc7d72cf7530e745b8986cad441
/leetcode/canFormArray.py
39cc9feeb2c341db226cbd358f4dd9e799cad443
[]
no_license
ugaemi/algorithm
db341809e2497b36e82fc09939ae8e3f1ca7d880
e4f57f01d21f822eb8da5ba5bfc04c29b9ddce78
refs/heads/master
2023-01-10T05:16:55.167675
2023-01-04T13:12:20
2023-01-04T13:12:20
200,671,606
3
10
null
2022-02-27T12:52:31
2019-08-05T14:28:56
Python
UTF-8
Python
false
false
954
py
import unittest class Solution: def canFormArray(self, arr, pieces): for piece in pieces: if len(piece) > 1: result = any(piece == arr[i:i+len(piece)] for i in range(len(arr) - 1)) if not result: return result else: ...
[ "u.gaemi@gmail.com" ]
u.gaemi@gmail.com
bb9ebaaa51633a24e64e44e7dfb51ff0f21d2fdc
5f29a9f8b218f7b02a76af02b49f8cf5aaa8ec97
/ecommerce/ecommerce/settings.py
1f96bed14501297d0c6f25199abbbb08ba9df6f9
[]
no_license
yemiemy/Footwear-Stores
58c026b38ffe828cef17c58365b77169ad21ce80
92f719824c019044aef78b2b481597b9f94405e0
refs/heads/master
2022-12-18T13:34:05.283709
2019-09-01T22:32:31
2019-09-01T22:32:31
205,739,701
2
0
null
2022-12-08T06:06:26
2019-09-01T22:31:27
HTML
UTF-8
Python
false
false
4,190
py
""" Django settings for ecommerce project. Generated by 'django-admin startproject' using Django 2.2.2. For more information on this file, see https://docs.djangoproject.com/en/2.2/topics/settings/ For the full list of settings and their values, see https://docs.djangoproject.com/en/2.2/ref/settings/ """ import os ...
[ "rasholayemi@gmail.com" ]
rasholayemi@gmail.com
d9da6299c37925b684c7e641e6e4b21e82cdd5c1
7a02c39b1bd97576991581379fed7e4209c199f2
/Learning/day20/s12bbs-code/s12bbs-code/aa.py
a44becfde85a3b36497596a8daf7ff50434c0b70
[]
no_license
chenjinpeng1/python
0dc9e980ea98aac7145dd6ef966dd3903d488810
342d3d5079d158764a5f27838dcaf877e7c430ab
refs/heads/master
2020-04-06T13:28:11.158318
2016-10-16T16:11:09
2016-10-16T16:11:09
48,805,853
0
0
null
null
null
null
UTF-8
Python
false
false
446
py
#python 3.5环境,解释器在linux需要改变 # -*- encoding:utf-8 -*- #Auth ChenJinPeng if __name__ == '__main__': s = set() s.add("aaaaa") s.add("bbbbbb") # print(s) with open("tzc.txt", 'w', encoding="utf-8") as f: for i in s: print(i) write_value = "%scccccc\n" % i p...
[ "1585742649@qq.com" ]
1585742649@qq.com
ddf0d322979e965f66a2702d1b4fd867fa63cc0e
8c016302f173a8a2c4cdbc8c3398e1be61808cc9
/itkwidgets/widget_line_profiler.py
b8db546a3b430a5f5617574ff54595bdbf2e5b2f
[ "Apache-2.0" ]
permissive
jpambrun/itk-jupyter-widgets
cba7b760912446f6ec801bbf4e3d83dafa70b8b5
3e00592e2f7285deea1b4eed0257c96179e5dc96
refs/heads/master
2020-04-09T20:10:21.686169
2018-11-26T19:25:32
2018-11-26T19:25:32
160,565,931
0
1
Apache-2.0
2018-12-05T19:10:03
2018-12-05T19:10:03
null
UTF-8
Python
false
false
8,145
py
"""LineProfiler class Image visualization with a line profile. """ from traitlets import Unicode import numpy as np import scipy.ndimage import ipywidgets as widgets from .widget_viewer import Viewer from ipydatawidgets import NDArray, array_serialization, shape_constraints from traitlets import CBool import matplot...
[ "matt.mccormick@kitware.com" ]
matt.mccormick@kitware.com
f84ba0dc45e75e82e0edb109d4c3ce7da79af4d9
4eea6c0940439d4e78cd125c311d0e1a12a826ed
/messiah_ast_optimizer/common/classutils.py
be8047fdbe9e8e3284be1bd1b0aac878653c08a4
[]
no_license
chenyfsysu/PythonNote
5c77578423f95399b1eda7651dc73f1642ee3cb7
9b49eced10bab794ddf5452f18bba55d8ba24c18
refs/heads/master
2021-05-07T06:14:56.825737
2018-10-18T06:49:41
2018-10-18T06:49:41
111,645,501
1
0
null
null
null
null
UTF-8
Python
false
false
1,985
py
# -*- coding:utf-8 -*- import ast def ismethod(node): return isinstance(node, ast.FunctionDef) def getmembers(mro, predicate=None): result = {} finder = AttributeFinder(findall=True, predicate=predicate) for cls in mro: for (key, value) in finder.find(cls).iteritems(): if (key not...
[ "chenyfsysu@gmail.com" ]
chenyfsysu@gmail.com
6695b4cc772773778236433871367a45cddbb7d3
521efcd158f4c69a686ed1c63dd8e4b0b68cc011
/airflow/providers/alibaba/cloud/example_dags/example_oss_bucket.py
83d0255349f6eb143226b6fdc12c5eab8c85d2d5
[ "BSD-3-Clause", "MIT", "Apache-2.0" ]
permissive
coutureai/RaWorkflowOrchestrator
33fd8e253bfea2f9a82bb122ca79e8cf9dffb003
cd3ea2579dff7bbab0d6235fcdeba2bb9edfc01f
refs/heads/main
2022-10-01T06:24:18.560652
2021-12-29T04:52:56
2021-12-29T04:52:56
184,547,783
5
12
Apache-2.0
2022-11-04T00:02:55
2019-05-02T08:38:38
Python
UTF-8
Python
false
false
1,413
py
# Licensed to the Apache Software Foundation (ASF) under one # or more contributor license agreements. See the NOTICE file # distributed with this work for additional information # regarding copyright ownership. The ASF licenses this file # to you under the Apache License, Version 2.0 (the # "License"); you may not u...
[ "noreply@github.com" ]
coutureai.noreply@github.com
017d97be74d253ad06c54ee180f0c4270f0ebb4a
23d1d8e2f2cb54ce1227765f949af3324063357f
/shopify/webhook/tests/factories.py
fc7cbd2900f88739c76bf00a9f4daccbb7f83e4b
[ "BSD-3-Clause" ]
permissive
CorbanU/corban-shopify
4586b6625511c594b9f37b72d0adf57b71c7677c
5af1d9e5b4828c375fe8c3329e13f7dcad5e5cfc
refs/heads/master
2021-01-17T13:50:39.845955
2017-05-17T18:36:24
2017-05-17T18:36:24
29,499,681
2
1
null
null
null
null
UTF-8
Python
false
false
1,528
py
import factory from factory import fuzzy from mock import patch from django.utils.timezone import now from shopify.product.models import Product from shopify.product.models import Transaction from shopify.webhook.models import Webhook class ProductFactory(factory.django.DjangoModelFactory): class Meta: ...
[ "jason.bittel@gmail.com" ]
jason.bittel@gmail.com
87762da3e9e92ee74337ce102ce0e7fa74365ffc
2d311d74071ea2d5e0c756186e41cfc567f56b6c
/app/core/tests/test_models.py
4c43911407bd1cbce4dc7cd67ba5ffdf7ca942c2
[ "MIT" ]
permissive
frankRose1/recipe-app-api
ab128d4b97f76f55f61a5a6eb17e4acdf8348981
0fff174ecb59bb06e6b631a33e34984e2f12f68a
refs/heads/master
2022-02-05T03:55:00.043139
2019-08-01T03:43:14
2019-08-01T03:43:14
197,990,263
0
0
null
null
null
null
UTF-8
Python
false
false
2,909
py
from unittest.mock import patch from django.test import TestCase from django.contrib.auth import get_user_model from core import models def sample_user(email='testUser@local.host', password='testPass'): """ Create and return a sample user :param email: Email address :type email: str :param pass...
[ "frank.rosendorf1@gmail.com" ]
frank.rosendorf1@gmail.com
f5860c1f45c341db2d7604d0d5cc917e3092b271
35b6013c1943f37d1428afd2663c8aba0a02628d
/healthcare/api-client/v1/dicom/dicom_stores.py
e0d2615cec39ac2db63c54a7ffe1fdb5bb4620da
[ "Apache-2.0" ]
permissive
GoogleCloudPlatform/python-docs-samples
d2a251805fbeab15d76ed995cf200727f63f887d
44e819e713c3885e38c99c16dc73b7d7478acfe8
refs/heads/main
2023-08-28T12:52:01.712293
2023-08-28T11:18:28
2023-08-28T11:18:28
35,065,876
7,035
7,593
Apache-2.0
2023-09-14T20:20:56
2015-05-04T23:26:13
Jupyter Notebook
UTF-8
Python
false
false
20,810
py
# Copyright 2018 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 ag...
[ "noreply@github.com" ]
GoogleCloudPlatform.noreply@github.com
1fa0fb7eeeffdef62a38f01de113f43e004559c7
76e9b6cd86803cfd619c32bea338fbf64bf29221
/gui.py
c53e9809dad7296d77a12ed04aa958293c411b36
[]
no_license
remton/Python_Chess
3f004d3d6be4321f75e4176a36f7d728a4c2fc8e
977ee7d6d154037f9588f826c03a3943a2122d94
refs/heads/master
2022-12-03T11:14:15.552912
2020-08-13T05:17:32
2020-08-13T05:17:32
285,480,016
0
0
null
null
null
null
UTF-8
Python
false
false
3,936
py
# gui.py # Handles all the gui from tkinter import * from util import col_to_board, row_to_board import util # First thing when working with tkinter root = Tk() root.title("Remi's Chess Game") def on_close(): raise SystemExit root.protocol("WM_DELETE_WINDOW", on_close) # PhotoImage must keep the original variabl...
[ "unconfigured@null.spigotmc.org" ]
unconfigured@null.spigotmc.org
f01ab1ef46b15e7a937c29707ebb6e41472dc806
5ee8b160afbb8e80446ecb94b436f172cd94495e
/list_operations.py
4cddf34d6e866c322bad11f7086e4b09facdecaf
[]
no_license
kgermeroth/HBLabListSlicesNew
f678ddd51eeb227b08c1132f375c2a5be84bd411
ae4c4229e95e876c2ef44e9394d4ce0b729597cf
refs/heads/master
2020-06-18T22:37:54.560161
2019-07-12T00:39:04
2019-07-12T00:39:04
196,478,248
0
0
null
null
null
null
UTF-8
Python
false
false
5,262
py
"""Functions that manipulate lists without using Python's built-in list methods. The fundamental operations on lists in Python are those that are part of the language syntax and/or cannot be implemented in terms of other list operations. They include: * List indexing (some_list[index]) * List indexing assignm...
[ "no-reply@hackbrightacademy.com" ]
no-reply@hackbrightacademy.com
e8ab10ad4da9ab0533ae01589b7ed1aee5b30997
32166eebe7767379259192d322939d3cf83fd403
/Token_Management/windows_token_demo.py
ff475a3862172025ec0b690048044e4004b7bf58
[]
no_license
wifinigel/semfio-mist
1294e52d42f0c373eb24724beaf754f9332d742e
f501b6488de621b30c5f3a99b3e53bb129970915
refs/heads/master
2022-09-30T04:53:55.968239
2020-05-22T11:22:47
2020-05-22T11:22:47
266,056,873
0
0
null
2020-05-22T08:18:51
2020-05-22T08:18:51
null
UTF-8
Python
false
false
2,002
py
""" This script that demonsrates how to use token_class.py on Windows Before running the script, you must define a user-level environmental variable that contains your Mist API token. This will be used to access the Mist cloud and create the required temporary key(s) to perfom scripted actions. The token_class mod...
[ "wifinigel@gmail.com" ]
wifinigel@gmail.com
131f171e663006b3246eeba41b11a128b8d050df
ca7aa979e7059467e158830b76673f5b77a0f5a3
/Python_codes/p03626/s622123482.py
66a5287c093edaa7fe69b4f24155002213a9e8f0
[]
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
483
py
MOD = 10**9 + 7 N = int(input()) S = input() S2 = input() check = [] flg = False for i in range(N-1): if flg: check.append(2) flg = False continue if S[i] == S[i+1]: flg = True else: check.append(1) if flg: check.append(2) else: check.append(1) ans = 3 if chec...
[ "66529651+Aastha2104@users.noreply.github.com" ]
66529651+Aastha2104@users.noreply.github.com
5e4e68907abd04d355a44780c5bfe0fa5ebfdc8d
d86c52f4098fd9c1a102c2d3f5630556e0610fa2
/fitle/myenv/Lib/site-packages/django/db/models/fields/related_descriptors.py
ebcd53f1822ef4847790158e594127aaabf8fc0d
[]
no_license
makadama/bitbucket
24f05c4946168ed15d4f56bfdc45fd6c0774e0f2
cabfd551b92fe1af6d9d14ab9eb3d9974b64aa79
refs/heads/master
2023-06-19T19:04:03.894599
2021-07-15T12:10:39
2021-07-15T12:10:39
385,203,791
0
0
null
null
null
null
UTF-8
Python
false
false
130
py
version https://git-lfs.github.com/spec/v1 oid sha256:c80ba94b54aa0987fdd1aca4451b1c1266148d2b48d83ceb5c33ec8048d478d7 size 54061
[ "adamamakhtarsow@gmail.com" ]
adamamakhtarsow@gmail.com
5000e704ec583c0179a3f2695f926eb0e8621667
caa05194b8f11f29a19767c94fdc93628be694d5
/examples/asr/quantization/speech_to_text_calibrate.py
165623f283c29b64d870e226782f5cc7f6844a2a
[ "Apache-2.0" ]
permissive
Jimmy-INL/NeMo
a589ab0ab97b9ccb8921579670e80c470ce7077b
6a3753b3013dc92a3587853d60c5086e2e64d98f
refs/heads/main
2023-04-02T22:28:29.891050
2021-04-13T18:22:24
2021-04-13T18:22:24
357,681,603
1
0
Apache-2.0
2021-04-13T20:34:12
2021-04-13T20:34:12
null
UTF-8
Python
false
false
6,150
py
# Copyright (c) 2020, NVIDIA CORPORATION. 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 appli...
[ "noreply@github.com" ]
Jimmy-INL.noreply@github.com
5e3fae95e1de68e3ee68cb9335bfce8908637b86
d5796258828bf3e12abc8def1ad1828aa14b4cfc
/apps/courses/migrations/0005_video_url.py
b491a64be7002102502b318d5ee3e0948700ff8e
[]
no_license
ghjan/imooc2
fbd3b1478df12a2961c77ee05f15cffc9cc26097
4652ba68db80577466f72ef1cda087c820144879
refs/heads/master
2020-03-18T16:12:28.828646
2018-11-28T07:52:14
2018-11-28T07:52:14
134,952,788
0
0
null
null
null
null
UTF-8
Python
false
false
483
py
# -*- coding: utf-8 -*- # Generated by Django 1.11.13 on 2018-05-26 11:32 from __future__ import unicode_literals from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('courses', '0004_course_tag'), ] operations = [ migrations.Ad...
[ "cajan2@163.com" ]
cajan2@163.com
471d50f0791bed7f3468efcec297cac090555298
567c54ba9176581a5d5e1ae65212a6e87a604f0b
/wsgi/pico/pico/urls.py
10f56e5d61f05915d1344f8a55c10f6a8cc5c632
[]
no_license
andrewidya/pico
e0641433e1e63ab865fe65924c32c687c75b8d83
4a0e8ff885601004aa92ba05d204e3fe6bd90731
refs/heads/master
2021-01-10T13:46:20.543152
2015-12-08T13:14:40
2015-12-08T13:14:40
45,040,768
0
0
null
null
null
null
UTF-8
Python
false
false
1,305
py
# -*- coding: utf-8 -*- from __future__ import absolute_import, print_function, unicode_literals from cms.sitemaps import CMSSitemap from django.conf import settings from django.conf.urls import * # NOQA from django.conf.urls.i18n import i18n_patterns from django.contrib import admin from django.contrib.staticfiles.u...
[ "andrywidyaputra@gmail.com" ]
andrywidyaputra@gmail.com
41ca6333a252f2922ade21e51fce832cc16380cd
d1ddb9e9e75d42986eba239550364cff3d8f5203
/google-cloud-sdk/lib/surface/compute/backend_buckets/update.py
e0ebec42cade87a67f1e4d9830e24530ac96f7af
[ "Apache-2.0", "LicenseRef-scancode-unknown-license-reference" ]
permissive
bopopescu/searchparty
8ecd702af0d610a7ad3a8df9c4d448f76f46c450
afdc2805cb1b77bd5ac9fdd1a76217f4841f0ea6
refs/heads/master
2022-11-19T14:44:55.421926
2017-07-28T14:55:43
2017-07-28T14:55:43
282,495,798
0
0
Apache-2.0
2020-07-25T17:48:53
2020-07-25T17:48:52
null
UTF-8
Python
false
false
3,509
py
# Copyright 2015 Google Inc. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or ag...
[ "vinvivo@users.noreply.github.com" ]
vinvivo@users.noreply.github.com
6f42842cd6d4e2a15cbf9d8d790618bcd0159ee0
86e904c75d0140eea3e4169d216955e1c34801b3
/python06/otherlist/tuple.py
08901db550a2d42cbcae9e73445464e794c265e3
[]
no_license
reharmony/cloudpython
d62f61749e5b5862d3b81e449d5154e188a14d21
98e033e537d763ba86d162f58d0fe8f64249a291
refs/heads/master
2020-04-29T16:58:55.281917
2019-05-15T12:11:43
2019-05-15T12:11:43
176,281,740
0
0
null
null
null
null
UTF-8
Python
false
false
283
py
# 튜플 연습 data1 = (1,2,3) print(data1) print(data1[0]) print(data1[0:2]) print(data1[1:]) print(data1[:2]) print() data2 = "나는 파이썬 프로그래머입니다." print(data2[0]) print(data2[0:3]) print() print(len(data2)) data2[0] = "너" print(data2)
[ "noreply@github.com" ]
reharmony.noreply@github.com
f0471cb047e073636ed9b5e06738bc66e893f364
a4a01e251b194f6d3c6654a2947a33fec2c03e80
/PythonWeb/Django/1809/djangoproject/djangodemo03/index/migrations/0005_book_isactive.py
f1824439227422bb93b902a60723b849ee4ecca1
[]
no_license
demo112/1809
033019043e2e95ebc637b40eaf11c76bfd089626
e22972229e5e7831dce2aae0b53ce19a6e3bb106
refs/heads/master
2020-04-09T07:10:49.906231
2019-02-27T13:08:45
2019-02-27T13:08:45
160,143,869
0
2
null
null
null
null
UTF-8
Python
false
false
442
py
# -*- coding: utf-8 -*- # Generated by Django 1.11.8 on 2019-01-15 06:41 from __future__ import unicode_literals from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('index', '0004_author_book'), ] operations = [ migrations.AddField( ...
[ "huafengdongji@hotmail.com" ]
huafengdongji@hotmail.com
ef1e1182e010d8e86a23b996d3675af834a646b9
77a37559730c9228c6ae9c530dc80b8488080c23
/src/my_plagin/scripts/getoff.py
776c307efdf299d807b2958f889c159a44ee4cc4
[]
no_license
tdtce/quadrotor
f01e889ef1252ef5e28fc146521a057ead6fa62e
64677c9c0c461f5bc7ef73b922d5cd912c2e6783
refs/heads/master
2020-03-10T17:06:53.133096
2018-05-19T16:42:21
2018-05-19T16:42:21
null
0
0
null
null
null
null
UTF-8
Python
false
false
686
py
#!/usr/bin/env python import rospy from std_msgs.msg import String import math from geometry_msgs.msg import Twist # message for topic /cmd_vel from geometry_msgs.msg import Vector3 import sys def cmd_command(): msg = Vector3(-5.0, 2.0, 1.0) #rospy.loginfo(cmd) return msg def open_loop(): rospy.in...
[ "fantaa499@gmail.com" ]
fantaa499@gmail.com
e57e48ae6f83a97426f4e9b7b4dac4ea7bc018d9
51da71a26628a3c6d1814e6da38f5c48f3101d9b
/uri/1174.py
e4d914cf072f646eca444af1f90e1b8b071a2f5b
[]
no_license
da-ferreira/uri-online-judge
279156249a1b0be49a7b29e6dbce85a293a47df1
6ec97122df3cb453ea26e0c9f9206a2e470ba37d
refs/heads/main
2023-03-30T11:47:05.120388
2021-04-02T19:45:25
2021-04-02T19:45:25
309,744,456
0
0
null
null
null
null
UTF-8
Python
false
false
180
py
vetor = [] for i in range(100): vetor.append(float(input())) for i in range(len(vetor)): if vetor[i] <= 10: print('A[{}] = {:.1f}'.format(i, vetor[i]))
[ "noreply@github.com" ]
da-ferreira.noreply@github.com
bfc11d3a1f557d7017409f177799342afc40ecc8
826a8aeb87cb074938b2056ada22c89b9bd9276c
/serve.py
004adc1f26237b22a69263d9b3e9026761ba3a59
[]
no_license
priyom/priyomdb2
ce441d755d021c838684aba705b3fb905461ca9f
47deecab60febd427af692149788d37cd9f770ba
refs/heads/master
2020-07-04T01:59:29.506148
2014-03-03T11:51:14
2014-03-03T11:51:14
25,634,647
2
0
null
null
null
null
UTF-8
Python
false
false
1,268
py
#!/usr/bin/python3 if __name__ == "__main__": import argparse import logging import tornado.wsgi import tornado.httpserver import tornado.ioloop parser = argparse.ArgumentParser() parser.add_argument( "-f", "--app-file", default="app.wsgi") parser.add_argument( ...
[ "j.wielicki@sotecware.net" ]
j.wielicki@sotecware.net
f7e19b16b6647eb623e4fae8467f79c39b656c7b
53fab060fa262e5d5026e0807d93c75fb81e67b9
/backup/user_191/ch78_2020_04_12_20_17_38_556773.py
ba021a809518ee7a4dbb3ecf4bc6fe0b3537e17a
[]
no_license
gabriellaec/desoft-analise-exercicios
b77c6999424c5ce7e44086a12589a0ad43d6adca
01940ab0897aa6005764fc220b900e4d6161d36b
refs/heads/main
2023-01-31T17:19:42.050628
2020-12-16T05:21:31
2020-12-16T05:21:31
306,735,108
0
0
null
null
null
null
UTF-8
Python
false
false
273
py
import math v=True j={} while v: n=input('nome') if n=='sair': v=False else: a=float(input('acele')) j[n]=a l={} for i,u in j.items(): t=math.sqrt(200/u) l[i]=t v=list(l.values()) k=list(l.keys()) print(k[v.index(min(v))],min(v))
[ "you@example.com" ]
you@example.com
193ff6392df5dd4435f1d59cf1f51002b58aace6
2f98aa7e5bfc2fc5ef25e4d5cfa1d7802e3a7fae
/python/python_22359.py
9f9e50568fed7f7401e8c7ecdc5d72c124a37a6f
[]
no_license
AK-1121/code_extraction
cc812b6832b112e3ffcc2bb7eb4237fd85c88c01
5297a4a3aab3bb37efa24a89636935da04a1f8b6
refs/heads/master
2020-05-23T08:04:11.789141
2015-10-22T19:19:40
2015-10-22T19:19:40
null
0
0
null
null
null
null
UTF-8
Python
false
false
147
py
# Python AttributeError: 'module' object has no attribute 'DIST_LT2' (dist_transform, labels) = cv2.distanceTransform(opening,cv2.cv.CV_DIST_L2,5)
[ "ubuntu@ip-172-31-7-228.us-west-2.compute.internal" ]
ubuntu@ip-172-31-7-228.us-west-2.compute.internal
482a8858558f606aab6c71a41ac79a62af32faa4
ca7aa979e7059467e158830b76673f5b77a0f5a3
/Python_codes/p03337/s150510433.py
fda17f4d3d34cc307fe022e909e277f692423ff1
[]
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
472
py
import sys import math import itertools import bisect from copy import copy from collections import deque,Counter from decimal import Decimal def s(): return input() def i(): return int(input()) def S(): return input().split() def I(): return map(int,input().split()) def L(): return list(input().split()) def l(): retur...
[ "66529651+Aastha2104@users.noreply.github.com" ]
66529651+Aastha2104@users.noreply.github.com
8270b057878ea47f1b8c898a9f6f688170c9102c
56d56b40dd7202e07b475b03cebd3d6fb2f58441
/safi/app/wsgi/endpoints/subjectchallenges.py
eb5290580896381d40f8df878002573a1d23895a
[]
no_license
wizardsofindustry/quantum-safi
7284db981d14777a46d5372fa0080b1d72d8cd80
6c97ae544444e90753e375ecc68f25534d97764a
refs/heads/master
2020-03-23T03:10:50.171082
2018-11-23T21:59:34
2018-11-23T21:59:34
141,014,467
0
0
null
null
null
null
UTF-8
Python
false
false
2,100
py
import ioc import sq.interfaces.http class SubjectChallengesEndpoint(sq.interfaces.http.Endpoint): """Deserializes, serializes and validates the structure of the input and output (requests and response) to its configured URL endpoint, which exposes the following functionality: Retrieve the Factor...
[ "cochise.ruhulessin@wizardsofindustry.net" ]
cochise.ruhulessin@wizardsofindustry.net
219e13e5ab834ea0754e17eb93bbdb8a5976dc2e
088276a2b02f74493c6303cbf17573957e1c2b3e
/HW_GRAPH/HW3/3_greedy_modularity.py
18393893e922e021514f5e28ff1d6fe81c9bb799
[]
no_license
naikiki87/python
38f3ec9ed55b48df136708ad8e90e4358d536ca3
3c75cace24258c84b682e06033130ee627f7883c
refs/heads/master
2023-06-05T09:49:51.931345
2021-06-30T04:35:41
2021-06-30T04:35:41
268,022,083
0
0
null
null
null
null
UTF-8
Python
false
false
8,368
py
import networkx as nx from networkx.algorithms.community.quality import modularity from networkx.utils.mapped_queue import MappedQueue import config import time start = time.time() def greedy_modularity_communities(G, weight=None): # Count nodes and edges N = len(G.nodes()) m = sum([d.get("weight", 1) for...
[ "naikiki87@naver.com" ]
naikiki87@naver.com
6752105ec117800345237119406cf6949287fc2a
c2008671b9902adfd5444607ead35ebe9f33ebda
/pico/yay.py
6db68296f63d178b98d45e8d08bd67190a30e769
[]
no_license
joelburton/secret-pico
08fb73e8354dc810656bdfe1fb2c943abfba1fc5
0705489798c6ded9d54f785e7c86b3421f6ba87a
refs/heads/main
2023-03-16T06:50:49.366872
2021-03-05T17:08:17
2021-03-05T17:08:17
343,303,331
1
0
null
null
null
null
UTF-8
Python
false
false
504
py
"""Yay!""" from common import rainbow, oled_page, joel_msg, mark, url def start(): mark("yay") oled_page("Yay!") rainbow() print(""" You did it! It was fun for me to lead you through this. And here's a personal message from Joel for you: -- {joel_msg} -- You can learn more, as well as get the ta...
[ "joel@joelburton.com" ]
joel@joelburton.com
8f8ac91f2bc59a3ba97c42c10fc4c389efdacaca
bec623f2fab5bafc95eb5bd95e7527e06f6eeafe
/django-shared/private_messages/utils.py
bc292ce9750e2ee0c41d087232e5725d000f47c4
[]
no_license
riyanhax/a-demo
d714735a8b59eceeb9cd59f788a008bfb4861790
302324dccc135f55d92fb705c58314c55fed22aa
refs/heads/master
2022-01-21T07:24:56.468973
2017-10-12T13:48:55
2017-10-12T13:48:55
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,069
py
from django.utils.text import wrap from django.utils.translation import ugettext_lazy as _ from django.contrib.sites.models import Site from django.template import Context, loader from django.template.loader import render_to_string from django.conf import settings # favour django-mailer but fall back to django.core.ma...
[ "ibalyko@ubuntu-server-16-04" ]
ibalyko@ubuntu-server-16-04
17ae827cd8a089e7fe6471407c7d6f3424ac2078
41586d36dd07c06860b9808c760e2b0212ed846b
/hardware/library/aufs-headers/actions.py
98601510ff4ca8e2ec68a21d6b5148f725093a73
[]
no_license
SulinOS/SulinRepository
4d5551861f57bc1f4bec6879dfe28ce68c7c125d
9686811a1e06080f63199233561a922fe1f78d67
refs/heads/master
2021-06-15T21:34:25.039979
2021-06-05T13:43:34
2021-06-05T13:43:34
207,672,864
6
3
null
2019-12-06T08:11:22
2019-09-10T22:16:17
Python
UTF-8
Python
false
false
450
py
#!/usr/bin/env python3 # -*- coding: utf-8 -*- # # Copyright (C) 2020 Suleyman POYRAZ (Zaryob) # Licensed under the GNU General Public License, version 3. # See the file http://www.gnu.org/copyleft/gpl.txt. from inary.actionsapi import autotools from inary.actionsapi import inarytools from inary.actionsapi import shel...
[ "zaryob.dev@gmail.com" ]
zaryob.dev@gmail.com