blob_id
stringlengths
40
40
directory_id
stringlengths
40
40
path
stringlengths
3
288
content_id
stringlengths
40
40
detected_licenses
listlengths
0
112
license_type
stringclasses
2 values
repo_name
stringlengths
5
115
snapshot_id
stringlengths
40
40
revision_id
stringlengths
40
40
branch_name
stringclasses
684 values
visit_date
timestamp[us]date
2015-08-06 10:31:46
2023-09-06 10:44:38
revision_date
timestamp[us]date
1970-01-01 02:38:32
2037-05-03 13:00:00
committer_date
timestamp[us]date
1970-01-01 02:38:32
2023-09-06 01:08:06
github_id
int64
4.92k
681M
star_events_count
int64
0
209k
fork_events_count
int64
0
110k
gha_license_id
stringclasses
22 values
gha_event_created_at
timestamp[us]date
2012-06-04 01:52:49
2023-09-14 21:59:50
gha_created_at
timestamp[us]date
2008-05-22 07:58:19
2023-08-21 12:35:19
gha_language
stringclasses
147 values
src_encoding
stringclasses
25 values
language
stringclasses
1 value
is_vendor
bool
2 classes
is_generated
bool
2 classes
length_bytes
int64
128
12.7k
extension
stringclasses
142 values
content
stringlengths
128
8.19k
authors
listlengths
1
1
author_id
stringlengths
1
132
ea693066e5c2cfa3a129e92b9162b3156c200ed6
60598454222bc1e6d352993f9c4cd164cd6cc9cd
/core/migrations/0014_auto_20200723_1127.py
f07013abc7d877cba2d16a2195b83a8886e01144
[]
no_license
nicksonlangat/mychurch
12be8911ce1497d7c6a595d06275f21ecf58b185
e503828cab165c9edcde89b3ef6d7c06b5eb7fdb
refs/heads/master
2023-08-10T15:36:06.208376
2020-07-23T09:52:19
2020-07-23T09:52:19
281,030,716
0
1
null
2021-09-22T19:35:09
2020-07-20T06:15:58
Python
UTF-8
Python
false
false
498
py
# Generated by Django 3.0.8 on 2020-07-23 08:27 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('core', '0013_attendance_status'), ] operations = [ migrations.RemoveField( model_name='service', name='seat_capacity...
[ "nicksonlangat95@gmail.com" ]
nicksonlangat95@gmail.com
78f3b9f5927206d15c77dd073f490b9202ab0fc2
cac93d697f9b3a75f059d725dee0251a8a81bf61
/robot/install/lib/python2.7/dist-packages/ur_dashboard_msgs/msg/_SetModeGoal.py
7628590a2f33e2c657df2d3e8743b53b989e0882
[ "BSD-3-Clause" ]
permissive
satvu/TeachBot
c1394f2833649fdd72aa5b32719fef4c04bc4f70
5888aea544fea952afa36c097a597c5d575c8d6d
refs/heads/master
2020-07-25T12:21:34.240127
2020-03-09T20:51:54
2020-03-09T20:51:54
208,287,475
0
0
BSD-3-Clause
2019-09-13T15:00:35
2019-09-13T15:00:35
null
UTF-8
Python
false
false
5,203
py
# This Python file uses the following encoding: utf-8 """autogenerated by genpy from ur_dashboard_msgs/SetModeGoal.msg. Do not edit.""" import sys python3 = True if sys.hexversion > 0x03000000 else False import genpy import struct class SetModeGoal(genpy.Message): _md5sum = "6832df07338535cc06b3835f89ba9555" _typ...
[ "sarahvu@mit.edu" ]
sarahvu@mit.edu
e77b9bf7ab6d5437d6b040caef3e6915f04fffca
a71582e89e84a4fae2595f034d06af6d8ad2d43a
/tensorflow/python/data/experimental/kernel_tests/optimization/make_numa_aware_test.py
d79ae4387c868d4821ac65787ba0bc04d47cc7d3
[ "Apache-2.0" ]
permissive
tfboyd/tensorflow
5328b1cabb3e24cb9534480fe6a8d18c4beeffb8
865004e8aa9ba630864ecab18381354827efe217
refs/heads/master
2021-07-06T09:41:36.700837
2019-04-01T20:21:03
2019-04-01T20:26:09
91,494,603
3
0
Apache-2.0
2018-07-17T22:45:10
2017-05-16T19:06:01
C++
UTF-8
Python
false
false
1,813
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
0430b585c6f5da83bef5507cb158267ac18d89c4
63b1a78452cb4204e501e023bd9f3c8a364b723c
/test_nbdev/_nbdev.py
358f0ff246827f6c9ce7115b0bbb8ec347081e0d
[ "Apache-2.0" ]
permissive
teddyxiong53/test_nbdev
03e22ef361a1768bc14f83cf617b8ab5fd172663
11d4ca82eedb45f4a3f687bd3e3d06336ebcbe9c
refs/heads/master
2023-07-17T21:19:41.518320
2021-09-12T01:52:50
2021-09-12T01:52:50
405,512,137
0
0
null
null
null
null
UTF-8
Python
false
false
331
py
# AUTOGENERATED BY NBDEV! DO NOT EDIT! __all__ = ["index", "modules", "custom_doc_links", "git_url"] index = {"say_hello": "00_core.ipynb"} modules = ["core.py"] doc_url = "https://teddyxiong53.github.io/test_nbdev/" git_url = "https://github.com/teddyxiong53/test_nbdev/tree/master/" def custom_doc_links(name): r...
[ "1073167306@qq.com" ]
1073167306@qq.com
241cafabc1786d18738a3dbb2c5762712ff8cf93
98ca37f5dd2751efaa060cca19e0b83f871d7765
/sdk/translation/azure-ai-translation-document/tests/test_all_document_statuses.py
57e1a2f437a4cfaf8be9034e89d309b760822451
[ "LicenseRef-scancode-generic-cla", "LGPL-2.1-or-later", "MIT" ]
permissive
jayhebe/azure-sdk-for-python
5ea99732ebb9929d3f6f77c08cc640d5915970b1
f4455f85d9fe747fa4de2fdc691b975c07bfeea5
refs/heads/main
2023-06-24T01:22:06.602194
2021-07-28T02:12:25
2021-07-28T02:12:25
390,290,984
1
0
MIT
2021-07-28T09:23:46
2021-07-28T09:23:46
null
UTF-8
Python
false
false
8,190
py
# coding=utf-8 # ------------------------------------ # Copyright (c) Microsoft Corporation. # Licensed under the MIT License. # ------------------------------------ from datetime import datetime import functools from testcase import DocumentTranslationTest from preparer import DocumentTranslationPreparer, DocumentTra...
[ "noreply@github.com" ]
jayhebe.noreply@github.com
f06015cdef49de3c91fb4a6212eece1e0d38b437
c0bc042e73825a89949c1df1daefc41796903ae1
/youtube/urls.py
aac35fa9fa3fba7ce66c1b936fd40c853849efae
[]
no_license
Pennylele/pennyfang_portfolio
389aa93f392701ef5fa4f1a129d98c0ddd373dbc
b29706123b860d2378d89f0daa462b33e4609a68
refs/heads/master
2023-09-05T11:33:29.847845
2021-11-24T19:32:15
2021-11-24T19:32:15
325,154,462
0
0
null
null
null
null
UTF-8
Python
false
false
474
py
from .views import VideoListView, SearchResultsView, FilterByViews, VideoDetailView, Sync from django.urls import path app_name='youtube' urlpatterns = [ path('', VideoListView.as_view(), name='home'), path('search/', SearchResultsView.as_view(), name='search_results'), path('sort-by-views/', FilterByView...
[ "fangle0121@gmail.com" ]
fangle0121@gmail.com
5bd4b629e2c1439c220548e9247835c48992f28e
fac96b4c97150e02f1405f7430c89b115e4c27f7
/ch08/ex8-20.printing_models.py
bfef927128761d040af4e85f8ced90253a583a32
[]
no_license
gustavonvp/PYTHON-CRASH-COURSE
37478990ff3c3c368da505eb9e5a35dee5d1960b
8033e2eb84cf6d85fd4ff42ae0550f38dcd23f62
refs/heads/master
2023-04-03T00:42:20.333183
2017-10-24T05:47:01
2017-10-24T05:47:01
null
0
0
null
null
null
null
UTF-8
Python
false
false
620
py
# Start whith some designs that need to be printed. unprinted_designs = ['iphone case', 'robot pendant', 'dodecahedron'] completed_models = [] # Simulate printing each design, until none are left. # Move each design to completed_models after printing. while unprinted_designs: current_design = unprinted_designs.po...
[ "freebz@hananet.net" ]
freebz@hananet.net
0a7e4ac3a6aa381a2be9b21e6ff39af814db7972
8acffb8c4ddca5bfef910e58d3faa0e4de83fce8
/ml-flask/Lib/site-packages/joblib/parallel.py
dff07a7420ad4d2662baa74a296be91ffc236c13
[ "MIT" ]
permissive
YaminiHP/SimilitudeApp
8cbde52caec3c19d5fa73508fc005f38f79b8418
005c59894d8788c97be16ec420c0a43aaec99b80
refs/heads/master
2023-06-27T00:03:00.404080
2021-07-25T17:51:27
2021-07-25T17:51:27
389,390,951
0
0
null
null
null
null
UTF-8
Python
false
false
130
py
version https://git-lfs.github.com/spec/v1 oid sha256:10afb49d59c3778a8fd053bbec2d63b85f3b24f63a308df37f309126a62f3571 size 46534
[ "yamprakash130@gmail.com" ]
yamprakash130@gmail.com
5d8c2c21c425289bf070970045fc338486eb2e08
66f383fec502102bfec58ed8cb9c43a71e599c55
/apps/accounts/events.py
f34b3398d34130125064588eeea3a67c4b10f9ab
[ "MIT" ]
permissive
hacktoolkit/django-htk
0a984a28f7fbc7eed8e2b1975d210792ddbee829
935c4913e33d959f8c29583825f72b238f85b380
refs/heads/master
2023-08-08T11:52:54.298160
2023-07-21T19:08:37
2023-07-21T19:08:37
15,924,904
210
65
MIT
2023-09-08T23:59:28
2014-01-15T04:23:40
Python
UTF-8
Python
false
false
1,082
py
# Python Standard Library Imports # Third Party (PyPI) Imports import rollbar # HTK Imports from htk.utils import htk_setting from htk.utils.notifications import slack_notify def failed_recaptcha_on_login(user, request=None): extra_data = { 'user' : { 'id': user.id, 'username': u...
[ "hello@jontsai.com" ]
hello@jontsai.com
cb662f3f1ec68283494e7dd6ab627411ce475ddd
4bd818bc9bd83ed39c9d48b0e4e4821a2b8c45d9
/src/etherollapp/etheroll/customtoolbar.py
d31f906fb38e24b9465769aeaa3b7894757e17a9
[ "MIT" ]
permissive
AndreMiras/EtherollApp
8ef158e9e5886922bb56a42d836daa392e5d5f2e
2ccc30fad736a6fee0cba8b99c521bee6ad13087
refs/heads/develop
2021-09-11T14:41:04.753290
2021-09-01T07:28:44
2021-09-01T07:28:44
125,426,260
59
29
MIT
2021-06-08T20:29:42
2018-03-15T21:07:28
Python
UTF-8
Python
false
false
846
py
from kivy.app import App from kivy.clock import Clock from kivymd.toolbar import Toolbar from etherollapp.etheroll.ui_utils import load_kv_from_py load_kv_from_py(__file__) class CustomToolbar(Toolbar): """Toolbar with helper method for loading default/back buttons.""" def __init__(self, **kwargs): ...
[ "andre.miras@gmail.com" ]
andre.miras@gmail.com
b0fe4b6f20442f6ba76f885dbb49a445c8df729a
f07a42f652f46106dee4749277d41c302e2b7406
/Data Set/bug-fixing-5/d59101416366fa8d50bd2d8218e772b2c6a8bd7f-<remove_from_device>-fix.py
58894645341f61f607af0fa3f9de1bd569631b46
[]
no_license
wsgan001/PyFPattern
e0fe06341cc5d51b3ad0fe29b84098d140ed54d1
cc347e32745f99c0cd95e79a18ddacc4574d7faa
refs/heads/main
2023-08-25T23:48:26.112133
2021-10-23T14:11:22
2021-10-23T14:11:22
null
0
0
null
null
null
null
UTF-8
Python
false
false
673
py
def remove_from_device(self): name = self.want.name if self.want.parent_policy: uri = 'https://{0}:{1}/mgmt/tm/security/firewall/policy/{2}/rules/{3}'.format(self.client.provider['server'], self.client.provider['server_port'], transform_name(self.want.partition, self.want.parent_policy), name.replace('/...
[ "dg1732004@smail.nju.edu.cn" ]
dg1732004@smail.nju.edu.cn
ac528187a330a1170469d7253b64bf4680d05ce3
9743d5fd24822f79c156ad112229e25adb9ed6f6
/xai/brain/wordbase/verbs/_evaporating.py
c26673a9d07507032d353945f4ce1d7da9ede1af
[ "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
261
py
from xai.brain.wordbase.verbs._evaporate import _EVAPORATE #calss header class _EVAPORATING(_EVAPORATE, ): def __init__(self,): _EVAPORATE.__init__(self) self.name = "EVAPORATING" self.specie = 'verbs' self.basic = "evaporate" self.jsondata = {}
[ "xingwang1991@gmail.com" ]
xingwang1991@gmail.com
04a50dc0e33be89b7e0b3dcf0a41fb02d629f963
b0cdbad299f6174bfdb0fba173dbcf3889b82209
/Object Oriented Programming/oops/exercise_4.py
57620e40b0f7418b80594400b89402e36f343253
[]
no_license
deesaw/PythonD-06
a33e676f1e0cfc13b4ea645c8b60547b198239ac
3c6f065d7be2e3e10cafb6cef79d6cae9d55a7fa
refs/heads/master
2023-03-18T08:24:42.030935
2021-03-02T14:15:09
2021-03-02T14:15:09
343,797,605
0
0
null
null
null
null
UTF-8
Python
false
false
864
py
class Dog(object): def speak(self): print( "bhou..bhou" ) def guard(self): print( "I am guarding your home" ) class Cat(object): def speak(self): print( "meau..meau" ) def hunt(self): print( "I am hunting mice" ) class Dd(Dog): def hobby(self): print( "Biti...
[ "69420960+deesaw@users.noreply.github.com" ]
69420960+deesaw@users.noreply.github.com
29a1a2c46aa99f941385f809339cfe85914cf4d6
9d8acc20d2ee1d1957849dfb71c22e0dae2d8c5c
/baomoicrawl/venv/Lib/site-packages/scrapy/utils/sitemap.py
c9f5b4ef42d0d29efc71b43d2c9e9ba8ded9a1a6
[]
no_license
thuy4tbn99/TranTruongThuy_17021178_Nhom4_Crawler
b0fdedee2942a12d9f64dfed93f43802dc5ab340
87c8c07433466bbc43a24ea089f75baeb467c356
refs/heads/master
2022-11-27T21:36:33.917491
2020-08-10T23:24:42
2020-08-10T23:24:42
286,583,216
0
0
null
null
null
null
UTF-8
Python
false
false
1,548
py
""" Module for processing Sitemaps. Note: The main purpose of this module is to provide support for the SitemapSpider, its API is subject to change without notice. """ from urllib.parse import urljoin import lxml.etree class Sitemap: """Class to parse Sitemap (type=urlset) and Sitemap Index (...
[ "thuy4tbn99@gmail.com" ]
thuy4tbn99@gmail.com
653e892c9b0e8d7676e7419a4cd8223861cf33d8
4912cbd47c19c58d142e6833911d70f5ea037357
/question_bank/reverse-string/reverse-string.py
c47284c0fefc2d681bb7e99d7485ae06dcaf5e97
[ "Apache-2.0" ]
permissive
yatengLG/leetcode-python
a09a17cd9e60cafd9ff8ca9c068f5b70719c436f
5d48aecb578c86d69835368fad3d9cc21961c226
refs/heads/master
2023-07-13T16:10:01.920716
2021-09-06T02:51:46
2021-09-06T02:51:46
286,969,109
13
6
null
2021-02-16T10:19:44
2020-08-12T09:13:02
Python
UTF-8
Python
false
false
643
py
# -*- coding: utf-8 -*- # @Author : LG """ 执行用时:36 ms, 在所有 Python3 提交中击败了98.98% 的用户 内存消耗:14.4 MB, 在所有 Python3 提交中击败了19.40% 的用户 解题思路: 双指针。分别指向列表首尾,然后交换指针指向元素 """ class Solution: def reverseString(self, s: List[str]) -> None: """ Do not return anything, modify s in-place instead. """ ...
[ "767624851@qq.com" ]
767624851@qq.com
d28f93833de104995b112c67f309aeca3665e1a5
8e75f2ba056e5bd75647f1e3f9773e1015c0dd0e
/628_maximum_product_of_three_numbers.py
9df4c2022f676107d77fa0ca3142287a66e826c7
[]
no_license
eazow/leetcode
96cbcba143ce04c6e83c5c985e19320f48c60b0d
c1c5ee72b8fe608b278ca20a58bc240fdc62b599
refs/heads/master
2022-12-10T00:06:06.676066
2022-11-29T09:02:04
2022-11-29T09:02:04
46,109,860
5
1
null
null
null
null
UTF-8
Python
false
false
351
py
class Solution(object): def maximumProduct(self, nums): """ :type nums: List[int] :rtype: int """ nums = sorted(nums) return max(nums[-3] * nums[-2] * nums[-1], nums[0] * nums[1] * nums[-1]) assert Solution().maximumProduct([1,2,3,4]) == 24 assert Solution().maximumP...
[ "eazow@163.com" ]
eazow@163.com
9848cbcc79703b08c9c0e9ee9bbbd69fb4c86624
b7add0d1b1effc50b27d3316fa5889a5227e5b19
/Atlasbuggy/atlasbuggy/files/videofile.py
205f824be3d6e10d3c1e8934bf447a376387c7fd
[]
no_license
Woz4tetra/Atlas
efb83a7c7b2698bf8b36b023f7aa573cc38284f6
c7380868a9efef9d1594ed7aa87187f03a7e4612
refs/heads/master
2020-04-04T06:25:50.657631
2017-04-05T01:53:15
2017-04-05T01:53:15
50,269,756
3
1
null
null
null
null
UTF-8
Python
false
false
7,588
py
import cv2 import time from atlasbuggy.files.atlasbuggyfile import AtlasWriteFile, AtlasReadFile from atlasbuggy.files.logfile import default_log_dir_name, default_log_file_name class VideoPlayer: def __init__(self, video_name, video_dir, window_name, capture, width=None, height=None, frame_skip=0, ...
[ "woz4tetra@gmail.com" ]
woz4tetra@gmail.com
08b3051adaf303a2d19d7736a97fbe771d06b6ae
80760d4c8a6b2c45b4b529bdd98d33c9c5509438
/Practice/atcoder/ABC/130/src/d2.py
82230a1e0cc7c786640ababca689faaaffcd8866
[]
no_license
prrn-pg/Shojin
f1f46f8df932df0be90082b475ec02b52ddd882e
3a20f1122d8bf7d95d9ecd205a62fc36168953d2
refs/heads/master
2022-12-30T22:26:41.020473
2020-10-17T13:53:52
2020-10-17T13:53:52
93,830,182
0
0
null
null
null
null
UTF-8
Python
false
false
538
py
# 尺取の練習と聞いて n, k = map(int, input().split()) arr = list(map(int, input().split())) ans = 0 r = 0 tmp_sum = 0 for l in range(n): # 条件を満たすまで右端を伸ばす while r < n and tmp_sum < k: tmp_sum += arr[r] r += 1 # whileを抜けた時は条件を満たしている if r == n: while tmp_sum >= k and l <= n: tmp_...
[ "h4l@yahoo.ne.jp" ]
h4l@yahoo.ne.jp
c112d5ce3c5633ee755fd9211c360485d7c5e38f
82a9077bcb5a90d88e0a8be7f8627af4f0844434
/google-cloud-sdk/lib/tests/unit/surface/apigee/operations_describe_test.py
e7433df43a3aae0f564d4c7c695e60939f77816c
[ "LicenseRef-scancode-unknown-license-reference", "Apache-2.0" ]
permissive
piotradamczyk5/gcloud_cli
1ae2553595e569fad6ce84af62b91a7ee5489017
384ece11040caadcd64d51da74e0b8491dd22ca3
refs/heads/master
2023-01-01T23:00:27.858583
2020-10-21T04:21:23
2020-10-21T04:21:23
290,238,061
0
0
null
2020-10-19T16:43:36
2020-08-25T14:31:00
Python
UTF-8
Python
false
false
1,920
py
# -*- coding: utf-8 -*- # # Copyright 2020 Google LLC. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless requir...
[ "actions@github.com" ]
actions@github.com
7ac3108667a2fc73e496511aca4aa994b5413c18
9e988c0dfbea15cd23a3de860cb0c88c3dcdbd97
/sdBs/AllRun/bps_cs22950-10/sdB_bps_cs22950-10_coadd.py
e98ff4ffa0393f2b27e60d204c16b04f0ab364d4
[]
no_license
tboudreaux/SummerSTScICode
73b2e5839b10c0bf733808f4316d34be91c5a3bd
4dd1ffbb09e0a599257d21872f9d62b5420028b0
refs/heads/master
2021-01-20T18:07:44.723496
2016-08-08T16:49:53
2016-08-08T16:49:53
65,221,159
0
0
null
null
null
null
UTF-8
Python
false
false
443
py
from gPhoton.gMap import gMap def main(): gMap(band="NUV", skypos=[304.840292,-15.674492], skyrange=[0.0333333333333,0.0333333333333], stepsz = 30., cntfile="/data2/fleming/GPHOTON_OUTPUT/LIGHTCURVES/sdBs/sdB_bps_cs22950-10/sdB_bps_cs22950-10_movie_count.fits", cntcoaddfile="/data2/fleming/GPHOTON_OUTPUT/LIGHTCURVES/...
[ "thomas@boudreauxmail.com" ]
thomas@boudreauxmail.com
9d96d467699e2db6bbc9dacc1e91761aab92a6dc
2d921bb03eade0763ddb3a9cc5cb637730ecbde1
/python/plot/PlotStyle.py
12d2ecb4732ab7424ed515bca8ebc8ce4145f6a4
[]
no_license
rmanzoni/WTau3Mu
10c57971b80f9769578284abd69009008901eea7
5ad336df976d5a1b39e4b516641661921b06ba20
refs/heads/92X
2021-01-18T15:10:41.887147
2019-05-09T12:48:00
2019-05-09T12:48:00
84,342,825
0
7
null
2018-07-19T09:08:19
2017-03-08T16:35:42
Python
UTF-8
Python
false
false
5,537
py
from ROOT import gROOT, gStyle, TFile, TH1F, TH2F, TCanvas, TLegend, TF1, TGraph, TVectorF, TGraphErrors, TObjArray, THStack, TStyle, TGaxis, kWhite """ Initialises default ROOT plot style. In order to support old instances of the PlotStyle that depended on a given ntuple, it is setup as a class. """ class P...
[ "riccardo.manzoni@cern.ch" ]
riccardo.manzoni@cern.ch
635bd4085a4fdd6fef954d62dc513a0220d56cfd
04b494a2286e7d0ec3bbe8d25c15d575486a0f91
/_exercises/exercise113/exercise113.py
b555ca05f49c798a2c6370f04eec96053da588c3
[]
no_license
ViniciusGranado/_studies_Python
ea6adc35edccfbd81a67a613e8cd468fd8485856
af645fa777a408a8ff1b8ed89911971f5b537ac7
refs/heads/master
2023-02-01T19:57:04.117047
2020-12-19T00:56:10
2020-12-19T00:56:10
258,855,637
0
0
null
null
null
null
UTF-8
Python
false
false
1,060
py
def read_int(msg): while True: try: number = int(input(msg)) except (ValueError, TypeError): print('[ERRO] Digite um número inteiro válido.') print() except KeyboardInterrupt: print('[ERRO] Entrada de dados interrompida.') print('Co...
[ "vinicius.r.granado@gmail.com" ]
vinicius.r.granado@gmail.com
de89526204340fed105a0efb1a4cfd7137b26f44
b08d42933ac06045905d7c005ca9c114ed3aecc0
/src/coefSubset/evaluate/ranks/tenth/rank_2i26_I.py
4c80ed792391aea378782cf42541231cd379011d
[]
no_license
TanemuraKiyoto/PPI-native-detection-via-LR
d148d53f5eb60a4dda5318b371a3048e3f662725
897e7188b0da94e87126a4acc0c9a6ff44a64574
refs/heads/master
2022-12-05T11:59:01.014309
2020-08-10T00:41:17
2020-08-10T00:41:17
225,272,083
1
0
null
null
null
null
UTF-8
Python
false
false
3,204
py
# 9 July 2019 # Kiyoto Aramis Tanemura # Several metrics are used to assess the performance of the trained RF model, notably native ranking. This script returns a ranking of the native protein-protein complex among a decoy set. For convenience, I will define as a function and will call in a general performance assess...
[ "tanemur1@msu.edu" ]
tanemur1@msu.edu
a65a90b47466d6936a96eccf140c06ee21b57225
ddf1267a1a7cb01e70e3b12ad4a7bfaf291edb3e
/src/user/migrations/0023_action_read_date.py
d87e85c86569ba17531d435462e2b08d515436fd
[ "MIT" ]
permissive
Garinmckayl/researchhub-backend
46a17513c2c9928e51db4b2ce5a5b62df453f066
cd135076d9a3b49a08456f7ca3bb18ff35a78b95
refs/heads/master
2023-06-17T04:37:23.041787
2021-05-18T01:26:46
2021-05-18T01:26:46
null
0
0
null
null
null
null
UTF-8
Python
false
false
386
py
# Generated by Django 2.2.9 on 2020-01-10 20:16 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('user', '0022_action'), ] operations = [ migrations.AddField( model_name='action', name='read_date', fiel...
[ "lightning.lu7@gmail.com" ]
lightning.lu7@gmail.com
03600cc8214045434b642323a45c09a881382679
077c91b9d5cb1a6a724da47067483c622ce64be6
/syn_mem_corruption_3switch_fuzzer_mcs/intermcs_5_/replay_config.py
7aef30971cd0c4b996594cb00d2313e431ebf28b
[]
no_license
Spencerx/experiments
0edd16398725f6fd9365ddbb1b773942e4878369
aaa98b0f67b0d0c0c826b8a1565916bf97ae3179
refs/heads/master
2020-04-03T10:11:40.671606
2014-06-11T23:55:11
2014-06-11T23:55:11
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,318
py
from config.experiment_config_lib import ControllerConfig from sts.topology import * from sts.control_flow import Replayer from sts.simulation_state import SimulationConfig from sts.input_traces.input_logger import InputLogger simulation_config = SimulationConfig(controller_configs=[ControllerConfig(start_cmd='./pox....
[ "b-github.com@wundsam.net" ]
b-github.com@wundsam.net
1abd82cd32e985e35728a631c81c33ef0fe62b70
481ce69bd3611715fef0be99c655c95d67f16d5f
/riopy/tests/test_symops.py
a44f6bd76716d46e50bf17f299cbedb403e45b81
[ "BSD-3-Clause" ]
permissive
fsimkovic/riopy
0ffed18c72573e824affa97d5c17ca462c5f2031
5dc4083d1c0919d94ceeac802d3fb40748b947f3
refs/heads/master
2021-03-24T10:14:25.904758
2018-08-30T13:16:02
2018-08-30T13:16:02
117,836,272
0
0
null
null
null
null
UTF-8
Python
false
false
464
py
import unittest from riopy.symops import SymmetryOperator class SymmetryOperatorTest(unittest.TestCase): def test___init___1(self): symops = SymmetryOperator.ops("P1") self.assertTrue(len(symops) == 1) self.assertTupleEqual((0.0, 0.0, 0.0), symops[0].t().as_double()) self.assertT...
[ "felixsimkovic@me.com" ]
felixsimkovic@me.com
59e1363d026e1cf5c641f40106aba606a342065e
53fab060fa262e5d5026e0807d93c75fb81e67b9
/backup/user_337/ch169_2020_06_21_16_48_03_433219.py
d50363959fd13d06ed505512e563e82d36dc80ab
[]
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
390
py
login = input('Login?') lista = [] while login != 'fim': if not login in lista: lista.append(login) else: i = 1 k = True while k: login2 = login+str(i) if not login2 in lista: lista.append(login2) k = False i+=1 ...
[ "you@example.com" ]
you@example.com
c71e156f811307de345da807ee15cfe276b92a55
f23c1741a63acd9d431077c4b2068e4072a72d51
/permutation.py
a92b11d13ab718087d9f9ce651ba2472f6a711a6
[]
no_license
Martin9527/LeetCodeTest
b188c997ab01a38201bd5ba792cdc104ca79d1d4
5f860c8fd2d7d7ff94eca6065d643cc4ea204abf
refs/heads/master
2020-05-23T11:21:54.543063
2019-12-08T10:37:42
2019-12-08T10:37:42
186,735,271
0
0
null
null
null
null
UTF-8
Python
false
false
1,301
py
class Solution(object): def permute(self,nums): size = len(nums) if not size : return [] result = [] curAns = [] usedNums = set() self.backTrack(nums,size,curAns,usedNums,result) return result def backTrack(self,nums,size,curAns,usedNums,result): if size == len(curAns): import copy ans = cop...
[ "=" ]
=
96aac0b4b4bb06d1a1361336110a66ef306f8784
cbda89443b351bb2047180dad4e300c13dc3df7f
/Crystals/Morpurgo_sp_outer/Jobs/TIPS_Pc/TIPS_Pc_cation_neut_inner0_outer2/TIPS_Pc_cation_neut_inner0_outer2.py
a0c28b5d437cb4a23e82114742f6ee0128900f05
[]
no_license
sheridanfew/pythonpolarisation
080f52979f98d26360a46412a10c8e3f51ee4549
178e2684e9a239a8e60af5f7b1eb414ac5f31e92
refs/heads/master
2021-07-10T01:07:40.978790
2021-03-11T16:56:37
2021-03-11T16:56:37
96,101,351
0
0
null
2017-07-03T13:37:06
2017-07-03T10:54:52
null
UTF-8
Python
false
false
6,693
py
import sys sys.path.append('../../../../../') from BasicElements import * from BasicElements.Register import GetRegister from BasicElements.MoleculeFactory import ReadMoleculeType from BasicElements.MoleculeFactory import GetMolecule from BasicElements.Crystal import * from Polarizability.GetDipoles import get_dipoles,...
[ "sheridan.few@gmail.com" ]
sheridan.few@gmail.com
e5af3a05af1c55f4de514b9b82f99141101c9200
8aa0d1d407bb1c66d01261f7e2c4e9832e856a2d
/experiments/experiments_gdsc/hyperparameter/plots/plot_nmtf_gibbs_hyperparameter.py
dd3218e5fb59f547aca48d1125e82075eea0af28
[]
no_license
garedaba/BNMTF_ARD
59e3ec1dbfd2a9ab9f4ec61368ec06e3783c3ee4
0a89e4b4971ff66c25010bd53ee2622aeaf69ae9
refs/heads/master
2022-01-16T06:57:12.581285
2018-06-10T10:22:12
2018-06-10T10:22:12
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,261
py
""" Plot the performances of NMTF Gibbs for different hyperparameter values, for three different sparsity levels. """ import matplotlib.pyplot as plt import numpy ''' Plot settings. ''' MSE_min, MSE_max = 600, 1400 values_lambda = [0.0001, 0.001, 0.01, 0.1, 1., 10., 100.] fractions_unknown = [0.2, 0.5, 0.8] folde...
[ "tab43@cam.ac.uk" ]
tab43@cam.ac.uk
285b5d35eb6f94c89715ad4fe68307437cf9ffc0
de24f83a5e3768a2638ebcf13cbe717e75740168
/moodledata/vpl_data/303/usersdata/302/92006/submittedfiles/testes.py
8d4dc26344d08e3707ea45e11e79240ce3625d53
[]
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
3,405
py
lista1 = [1, 3, 4,] lista1[len(lista1)-1] print(len(lista1)) '''a = [8.0 , 5.0 , 10.0 , 5.0] print(a) print(len(a)) a.append(0.0) print(len(a)) for i in range(len(a)-1, 0 , -1): if i ==1: a[1] = 2.0 else: a[i] = a[i-1] print(a) print(len(a)) ''' ''' a = [] for i in range(1,5,1): a.append(f...
[ "rafael.mota@ufca.edu.br" ]
rafael.mota@ufca.edu.br
7e74abaeb0078b3ee92242a7cc866c13d76bc37f
81982a278946fab96d74e3f711c937647faec036
/Trabalhos/a1.py
32584fb6bf8a53c7a44f632933f6fc2cdb41d8aa
[]
no_license
juanengml/Prog1UTFPR
3f1b71888a0883a4e12922a0c09cce622ca27458
aca289ffece71b4ca4339fa8779a1d2a9076aecc
refs/heads/master
2021-06-23T09:58:37.167188
2019-06-14T01:21:51
2019-06-14T01:21:51
145,451,344
0
0
null
null
null
null
UTF-8
Python
false
false
240
py
#Escreva um programa que leia duas matrizes 3x3 e apresente na tela o resultado da multiplicacao destas matrizes. import numpy as np a = np.matrix('1 2 3 ; 4 5 6; 7 8 9') b = np.matrix('1 2 3 ; 4 5 6; 7 8 9') print np.dot(a,b)
[ "juanengml@gmail.com" ]
juanengml@gmail.com
e4d38da92d86aa517c776e552be806858ea7e31e
948d84d2e3fc04e353a11384d8570308174242f5
/17-Numpy/numpy-indexing.py
11653d3652d5b8b607738f0216cf7655bc401292
[]
no_license
omerfarukcelenk/PythonMaster
a0084a800b8a41cd2ad538a7ca3687c26dc679ec
0db8f8b0ea2e1c2d810c542068cfcf1a3615f581
refs/heads/main
2023-04-16T17:42:05.501904
2021-04-26T21:19:27
2021-04-26T21:19:27
361,896,109
3
0
null
null
null
null
UTF-8
Python
false
false
604
py
import numpy as np numbers = np.array([0,5,10,15,20,25,50,75]) result = numbers[5] result = numbers[-1] result = numbers[0:3] result = numbers[:3] result = numbers[3:] result = numbers[::] result = numbers[::-1] numbers2 = np.array([[0,5,10],[15,20,25],[50,75,85]]) result = numbers2[0] result = numbers2[2] result = ...
[ "omerfar0133@gmail.com" ]
omerfar0133@gmail.com
68d8399c5199cd6c1ac9a2c275edb439b8a5ab47
c66955c6fc178955c2024e0318ec7a91a8386c2d
/programQuick/chapterEleven/mapIt.py
f66811ddbe725a952063e3f0d855d57f0bd18aa5
[]
no_license
duheng18/python-study
a98642d6ee1b0043837c3e7c5b91bf1e28dfa588
13c0571ac5d1690bb9e615340482bdb2134ecf0e
refs/heads/master
2022-11-30T17:36:57.060130
2019-11-18T07:31:40
2019-11-18T07:31:40
147,268,053
1
0
null
2022-11-22T03:36:51
2018-09-04T00:49:42
Python
UTF-8
Python
false
false
353
py
import webbrowser, sys, pyperclip if len(sys.argv) > 1: # Get address from command line. address = ' '.join(sys.argv[1:]) else: # Get address from clipboard. pyperclip.copy('mapit 870 Valencia St, San Francisco, CA 94110') address = pyperclip.paste() print(address) webbrowser.open('https://www....
[ "emaildh@163.com" ]
emaildh@163.com
a41fbaec0c7870b206597745a26e289cb91943e7
4c9c2940ef3a07e2756fcceddf01acd384ebde01
/Python/[5 kyu] emirps.py
4550d94ea211e128c3446713211ba9db63e83b25
[ "MIT" ]
permissive
KonstantinosAng/CodeWars
7d3501a605f7ffecb7f0b761b5ffe414e2f1983a
157818ece648454e882c171a71b4c81245ab0214
refs/heads/master
2023-04-11T09:44:27.480064
2023-03-26T21:37:07
2023-03-26T21:37:07
245,296,762
6
6
null
null
null
null
UTF-8
Python
false
false
1,160
py
# see https://www.codewars.com/kata/55a29405bc7d2efaff00007c/train/python from TestFunction import Test def is_prime(num): if num % 2 == 0: return False for i in range(3, int(num**0.5+1), 2): if (num % i) == 0: return False else: return True return False def is_emrip(num): s = int(''....
[ "kwstantinos.agelopoulos@outlook.com" ]
kwstantinos.agelopoulos@outlook.com
da327466a9c5966169ed0e73790c57d204126c2b
15f321878face2af9317363c5f6de1e5ddd9b749
/solutions_python/Problem_74/244.py
1aad3f70f9fbf37a7323274a79680d37008e458c
[]
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
2,237
py
#!/usr/bin/env python # encoding: utf-8 import os def parse_sequence(fileDescriptor): # Returns a sequence to complete f = fileDescriptor sequence = f.readline() sequence = sequence.split(' ') n = int(sequence[0]) sequence_a = [] sequence_b = [] sequence_r = [] have_color = False...
[ "miliar1732@gmail.com" ]
miliar1732@gmail.com
58bbcb0b913a6f6d65e9cc3f765cf80b1e6d8d8d
f4b60f5e49baf60976987946c20a8ebca4880602
/lib/python2.7/site-packages/acimodel-1.3_2j-py2.7.egg/cobra/modelimpl/fabric/rssnmppol.py
4738ca78412d8a6382b312d0f46b6ee434811e5c
[]
no_license
cqbomb/qytang_aci
12e508d54d9f774b537c33563762e694783d6ba8
a7fab9d6cda7fadcc995672e55c0ef7e7187696e
refs/heads/master
2022-12-21T13:30:05.240231
2018-12-04T01:46:53
2018-12-04T01:46:53
159,911,666
0
0
null
2022-12-07T23:53:02
2018-12-01T05:17:50
Python
UTF-8
Python
false
false
8,086
py
# coding=UTF-8 # ********************************************************************** # Copyright (c) 2013-2016 Cisco Systems, Inc. All rights reserved # written by zen warriors, do not modify! # ********************************************************************** from cobra.mit.meta import ClassMeta from cobra.m...
[ "collinsctk@qytang.com" ]
collinsctk@qytang.com
4a7f9b779862e39bed7fde83a238b96e4b69f2f1
fe4c3905ec0e2d8fa5100454c49a863bda3d05ab
/Code/Mantid/Framework/PythonInterface/plugins/algorithms/WorkflowAlgorithms/IndirectResolution.py
3fe3e42c49c3011afbab8d24a9adf8e2cf6fcb2b
[]
no_license
mkoennecke/mantid
11f16fe573056d70c119c4d6fb6984b7008cb8e6
c0a8e5d97cde6cc28abb8c7b1b5c056986a81fec
refs/heads/master
2021-01-18T11:51:28.997458
2015-02-13T10:48:51
2015-02-13T10:48:51
11,472,662
0
0
null
null
null
null
UTF-8
Python
false
false
6,587
py
from mantid.simpleapi import * from mantid.api import * from mantid.kernel import * from mantid import config, logger class IndirectResolution(DataProcessorAlgorithm): def category(self): return 'Workflow\\Inelastic;PythonAlgorithms;Inelastic' def summary(self): return 'Creates a resolution ...
[ "dan@dan-nixon.com" ]
dan@dan-nixon.com
435e90d2b0debc710dd2aca553b76e51ea39e688
f4434c85e3814b6347f8f8099c081ed4af5678a5
/sdk/synapse/azure-synapse-artifacts/azure/synapse/artifacts/operations/_big_data_pools_operations.py
2b2366e730881713afa1086c0e769bf1a8d28656
[ "LicenseRef-scancode-generic-cla", "MIT", "LGPL-2.1-or-later" ]
permissive
yunhaoling/azure-sdk-for-python
5da12a174a37672ac6ed8e3c1f863cb77010a506
c4eb0ca1aadb76ad892114230473034830116362
refs/heads/master
2022-06-11T01:17:39.636461
2020-12-08T17:42:08
2020-12-08T17:42:08
177,675,796
1
0
MIT
2020-03-31T20:35:17
2019-03-25T22:43:40
Python
UTF-8
Python
false
false
6,664
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" ]
yunhaoling.noreply@github.com
8be72a52068001cc66bd59da148af82ea5b224a8
db575f3401a5e25494e30d98ec915158dd7e529b
/BIO_Stocks/PMD.py
f9d9498e20f4a6d77b53ce8653cbb90641628f67
[]
no_license
andisc/StockWebScraping
b10453295b4b16f065064db6a1e3bbcba0d62bad
41db75e941cfccaa7043a53b0e23ba6e5daa958a
refs/heads/main
2023-08-08T01:33:33.495541
2023-07-22T21:41:08
2023-07-22T21:41:08
355,332,230
0
0
null
null
null
null
UTF-8
Python
false
false
2,134
py
import requests from lxml import html from bs4 import BeautifulSoup import os from datetime import date, datetime from ValidationTools import validateday from Database_Connections import InsertData, Insert_Logging def main(id_control): try: url = 'https://investors.psychemedics.com/sec-filings-and-press...
[ "andisc_3@hotmail.com" ]
andisc_3@hotmail.com
018b2906e7a41541d957764ddd1c47e355d03386
6b2a8dd202fdce77c971c412717e305e1caaac51
/solutions_2464487_0/Python/CuteCube/ra1.py
dbc146df38875aae8ae187eac50411365e303fb4
[]
no_license
alexandraback/datacollection
0bc67a9ace00abbc843f4912562f3a064992e0e9
076a7bc7693f3abf07bfdbdac838cb4ef65ccfcf
refs/heads/master
2021-01-24T18:27:24.417992
2017-05-23T09:23:38
2017-05-23T09:23:38
84,313,442
2
4
null
null
null
null
UTF-8
Python
false
false
747
py
#!/usr/bin/env python import math def main(): f = open('input.txt', 'r') total_T = int(f.readline()) #print total_T for T in xrange(1,total_T+1): r,t = f.readline().split() r = long(r) t=long(t) # 2k^2 + (2r - 1)k - t = 0 b = 2*r -1.0 a = 2.0 c = ...
[ "eewestman@gmail.com" ]
eewestman@gmail.com
36675db792eaa04c9b5c9732126b47ebda3a154f
43cdd7cb26fe44b1ed7de6a46f8b5e680c9b1372
/openpeerpower/generated/config_flows.py
244c7e0f950d8f44b848d46e9680ed38ab8aaabb
[ "Apache-2.0" ]
permissive
OpenPeerPower/Open-Peer-Power
02ec5c133564b47c6f72f669e844a666643cacd6
940a04a88e8f78e2d010dc912ad6905ae363503c
refs/heads/master
2022-08-16T09:38:49.994009
2021-05-29T03:54:13
2021-05-29T03:54:13
183,174,237
1
0
Apache-2.0
2022-07-15T18:43:02
2019-04-24T07:35:47
Python
UTF-8
Python
false
false
246
py
"""Automatically generated by oppfest. To update, run python3 -m script.oppfest """ # fmt: off FLOWS = [ "almond", "daikin", "dialogflow", "homekit_controller", "met", "mobile_app", "mqtt", "zha", "zwave" ]
[ "pcaston@arach.net.au" ]
pcaston@arach.net.au
20adba546311eb8ef3f505a79525f18a05e924ff
4fd65dc15ed0e5849c440a41d81036d1ff47ea96
/tests/integration/test_deploy_and_evaluate_model_auth_on.py
56f92793bb30c984b1b9583ee2c3e49b30cd861f
[ "MIT" ]
permissive
tableau/TabPy
20ae3dacb958bf2d0e48fc36220366cb3db412bb
96aa26252b6115bd2788f9526680ec1b34f1c86f
refs/heads/master
2023-08-29T13:47:21.507211
2023-06-21T21:30:40
2023-06-21T21:30:40
69,400,040
1,527
633
MIT
2023-06-21T21:30:42
2016-09-27T21:26:03
Python
UTF-8
Python
false
false
1,233
py
from . import integ_test_base class TestDeployAndEvaluateModelAuthOn(integ_test_base.IntegTestBase): def _get_config_file_name(self) -> str: return "./tests/integration/resources/deploy_and_evaluate_model_auth.conf" def _get_port(self) -> str: return "9009" def test_deploy_and_evaluate_m...
[ "noreply@github.com" ]
tableau.noreply@github.com
1685d2a9cf7e5dc726fffb430a61ba17869e53f8
4cce3b466591f7f8b9d58c1f8cae4dd0b6425b09
/classes dealing.py
09e2606008d31426022cdef988fb9cec1726491e
[]
no_license
adityamangal1/hackerRank-solutions
4e5fc66785215688449f58176b0260e05fb0c404
102ee32f5984240939bf14e799a458d99388774b
refs/heads/master
2023-04-18T15:35:36.998087
2021-04-22T07:16:38
2021-04-22T07:16:38
297,935,486
13
0
null
null
null
null
UTF-8
Python
false
false
1,770
py
import math class Complex(object): def __init__(self, real, imaginary): self.real = real self.imaginary = imaginary def __add__(self, no): complex_n = complex(self.real, self.imaginary) + \ complex(no.real, no.imaginary) return Complex(complex_n.real, complex_n.ima...
[ "adityamangal0202@gmail.com" ]
adityamangal0202@gmail.com
517e4b682e6b12974385b9c23201af4bebefd1d0
5679731cee36c537615d285ed72810f4c6b17380
/513_FindBottomLeftTreeValue.py
0de079fbf90fd9385df6647f65a7e451a7aa108a
[]
no_license
manofmountain/LeetCode
6b76105190a9b62df65a7b56b6def4120498b9fa
718f688b3d316e8c10ef680d9c21ecd518d062f8
refs/heads/master
2021-01-12T03:41:48.318116
2017-07-18T12:35:58
2017-07-18T12:35:58
78,252,164
0
0
null
null
null
null
UTF-8
Python
false
false
924
py
# 40.9% # Definition for a binary tree node. # class TreeNode(object): # def __init__(self, x): # self.val = x # self.left = None # self.right = None #from collections import deque class Solution(object): def findBottomLeftValue(self, root): """ :type root: Tre...
[ "noreply@github.com" ]
manofmountain.noreply@github.com
ec0bfed2e04944f6a53b48dd4438719b1733cb75
699ff10c347dc9b6d5af7f531a1c941dbfecd558
/leetcode/python/232-implement-queue-using-stacks.py
cfbd49aa1d50363b1d16e3ac48c0bcd623bf7032
[]
no_license
iampkuhz/OnlineJudge_cpp
71a7637c54d81be2aa066a6132aab31b798bbe6b
737b9bac5a73c319e46cda8c3e9d729f734d7792
refs/heads/master
2021-01-10T10:16:37.589855
2017-03-06T12:45:20
2017-03-06T12:45:20
24,891,815
0
0
null
null
null
null
UTF-8
Python
false
false
1,886
py
#!/usr/bin/env python # encoding: utf-8 """ Implement the following operations of a queue using stacks. push(x) -- Push element x to the back of queue. pop() -- Removes the element from in front of queue. peek() -- Get the front element. empty() -- Return whether the queue is empty. Notes: You must use only standa...
[ "iampkuhz@gmail.com" ]
iampkuhz@gmail.com
168a729a213cb05a64c5b3b4dc1ab8aa2155d254
ac9e892c02af18cea990bb0a3f60071b34a03194
/pytorch_pfn_extras/training/triggers/manual_schedule_trigger.py
fc2db995b809735e7cefe6fc0d8df2ffd185d4ee
[ "MIT" ]
permissive
limsijie93/pytorch-pfn-extras
1323e796d59fe113ee86f631cc65ad44c7914a77
4b675fce8f4a420d87f1685423a9e62dbe598700
refs/heads/master
2022-09-18T09:18:25.459126
2020-06-04T04:43:47
2020-06-04T04:43:47
null
0
0
null
null
null
null
UTF-8
Python
false
false
4,131
py
class ManualScheduleTrigger: """Trigger invoked at specified point(s) of iterations or epochs. This trigger accepts iterations or epochs indicated by given point(s). There are two ways to specify the point(s): iteration and epoch. ``iteration`` means the number of updates, while ``epoch`` means the nu...
[ "webmaster@kenichimaehashi.com" ]
webmaster@kenichimaehashi.com
640acd474ccc2667449fec3953056cfc3acb5173
3e74c0b272bfd7981454953aeef96ab2f5c59c69
/benchmarking/timeIt.py
8d8650898c5cef602fc4840308c61e368cda7614
[]
no_license
LokeshKD/DSPython
09e2e086182d1d0e73f85cc88611b7aa446d1253
f657678ac2cc1855c4d13bdc66d790a1022b6640
refs/heads/master
2023-04-16T13:58:02.500681
2021-04-17T17:04:51
2021-04-17T17:04:51
357,611,322
0
0
null
null
null
null
UTF-8
Python
false
false
235
py
# def my_function(): try: 1 / 0 except ZeroDivisionError: pass if __name__ == "__main__": import timeit setup = "from __main__ import my_function" print(timeit.timeit("my_function()", setup=setup))
[ "i.lokesh@gmail.com" ]
i.lokesh@gmail.com
c40f6b94961010096fa1e43f69e3c26d32368c2c
53fab060fa262e5d5026e0807d93c75fb81e67b9
/backup/user_229/ch57_2020_04_10_21_47_51_592464.py
1b83ba556f170dae510b6bab0604f9e0d9a59eca
[]
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
2,127
py
def verifica_progressao(lista): r = lista[1] - lista[0] rn = lista[2] - lista[1] continua = True continua2 = True i = 0 if lista[0] != 0 and lista[1] != 0: q = lista[1]/lista[0] qn = lista[2]/lista[1] if qn == q: while continua == True: while ...
[ "you@example.com" ]
you@example.com
7436c12c9b17ab4e53a8e623b20b1a24fc082352
dfaf6f7ac83185c361c81e2e1efc09081bd9c891
/k8sdeployment/k8sstat/python/kubernetes/test/test_v1beta1_subject_access_review_status.py
86ad671f95cfc1388e0b498d3971b2a7c14d6e90
[ "Apache-2.0", "MIT" ]
permissive
JeffYFHuang/gpuaccounting
d754efac2dffe108b591ea8722c831d979b68cda
2c63a63c571240561725847daf1a7f23f67e2088
refs/heads/master
2022-08-09T03:10:28.185083
2022-07-20T00:50:06
2022-07-20T00:50:06
245,053,008
0
0
MIT
2021-03-25T23:44:50
2020-03-05T02:44:15
JavaScript
UTF-8
Python
false
false
1,076
py
# coding: utf-8 """ Kubernetes No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 OpenAPI spec version: v1.15.6 Generated by: https://openapi-generator.tech """ from __future__ import absolute_import import unittest import kube...
[ "JeffYFHuang@github.com" ]
JeffYFHuang@github.com
49ddfd050e02c9a29ad478cd2401367cf761db46
9adc810b07f7172a7d0341f0b38088b4f5829cf4
/experiments/ashvin/icml2020/murtaza/pusher/demo_state_td3.py
1bb88eaceb172d7677d3cb4f22eca88400bb1641
[ "MIT" ]
permissive
Asap7772/railrl_evalsawyer
7ee9358b5277b9ddf2468f0c6d28beb92a5a0879
baba8ce634d32a48c7dfe4dc03b123e18e96e0a3
refs/heads/main
2023-05-29T10:00:50.126508
2021-06-18T03:08:12
2021-06-18T03:08:12
375,810,557
1
0
null
null
null
null
UTF-8
Python
false
false
3,221
py
from multiworld.envs.mujoco.cameras import sawyer_init_camera_zoomed_in from rlkit.launchers.launcher_util import run_experiment import rlkit.misc.hyperparameter as hyp from rlkit.launchers.experiments.murtaza.rfeatures_rl import state_td3bc_experiment from rlkit.launchers.arglauncher import run_variants if __name__ ...
[ "alexanderkhazatsky@gmail.com" ]
alexanderkhazatsky@gmail.com
075d717759921834a2a8c9622dbb53790cf0228a
b198ab1d3faf79d34b1745236daa5eb02a37e18e
/yggdrasil/metaschema/properties/tests/test_JSONArrayMetaschemaProperties.py
ed812677d1d5d9df256fbc5b8f6903ae12c185fa
[ "BSD-3-Clause" ]
permissive
leighmatth/yggdrasil
688f13aa0d274217daec9f412269fbbaf5f10aef
dcc4d75a4d2c6aaa7e50e75095a16df1df6b2b0a
refs/heads/master
2021-07-09T10:39:25.422978
2021-04-14T16:40:04
2021-04-14T16:40:04
245,011,886
0
0
NOASSERTION
2020-03-04T21:54:25
2020-03-04T21:54:24
null
UTF-8
Python
false
false
1,645
py
from yggdrasil.metaschema.properties.tests import ( test_MetaschemaProperty as parent) class TestItemsMetaschemaProperty(parent.TestMetaschemaProperty): r"""Test class for ItemsMetaschemaProperty class.""" _mod = 'JSONArrayMetaschemaProperties' _cls = 'ItemsMetaschemaProperty' def __init...
[ "langmm.astro@gmail.com" ]
langmm.astro@gmail.com
b08f3840e780e082aad97256d99c215839e1e058
1012f61f46ff7aaf37cd3ce0ead64e035ec201dc
/coding-challange/codewars/8kyu/~2021-07-25/capitalization-and-mutability/capitalization-and-mutability.py
70ab2ba79b4d13199ed131fb83a863ae49274dcb
[]
no_license
polyglotm/coding-dojo
89efe22f5a34088e94c9e3a4e25cad510b04172a
43da9c75e3125f5cb1ac317d275475f1c0ea6727
refs/heads/develop
2023-08-17T11:59:30.945061
2023-08-16T14:13:45
2023-08-16T14:13:45
188,733,115
2
0
null
2023-03-04T05:49:21
2019-05-26T21:26:25
JavaScript
UTF-8
Python
false
false
386
py
""" capitalization-and-mutability codewars/8kyu/Capitalization and Mutability Difficulty: 8kyu URL: https://www.codewars.com/kata/595970246c9b8fa0a8000086/ """ def capitalize_word(word): return word.capitalize() def test_capitalize_word(): assert capitalize_word('word') == 'Word' assert capitalize_word('...
[ "polyglot.m@gmail.com" ]
polyglot.m@gmail.com
4b10fa53b97294463e20ad06343f2dd982acc650
afebbb07b2b4eada17a5853c1ce63b4075d280df
/marketsim/gen/_intrinsic/orderbook/of_trader.py
804ce5709645171b35783b2eb31d41c8a145e2c1
[]
no_license
peter1000/marketsimulator
8c0a55fc6408b880311d3ad49defc55e9af57824
1b677200a9d5323f2970c83f076c2b83d39d4fe6
refs/heads/master
2021-01-18T01:39:04.869755
2015-03-29T17:47:24
2015-03-29T17:47:24
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,224
py
from marketsim import types from marketsim.gen._out.trader._singleproxy import SingleProxy from marketsim import getLabel from marketsim.gen._out._intrinsic_base.orderbook.of_trader import OfTrader_Base, Proxy_Base class Base(object): _properties = {} def __getattr__(self, name): if name[0:2] != '__...
[ "anton.kolotaev@gmail.com" ]
anton.kolotaev@gmail.com
e4f7d50b81def02a4fc5c109097676d372a8b5c3
fbb12b2b7dcf7f2a33235f6766b4176c083a0c8e
/ARsyntax/workflow/rules/pseudoReplicates.smk
66d10732db24581cccd7e5b362ac228197b0e3d1
[]
no_license
birkiy/TermProjectCOMP541
b76c8fa3a01e48dc302dc040a2c499c2c9f1b8ba
400a81765889a21d0590b599c4ba0e529a56e3ca
refs/heads/main
2023-01-19T21:36:55.085293
2020-11-30T12:59:14
2020-11-30T12:59:14
306,048,866
0
0
null
null
null
null
UTF-8
Python
false
false
1,596
smk
folder = "results/mapping/processed" rule pseudoReplicates: input: "results/mapping/processed/{raw}.merged.final.bam" output: header=temp("results/mapping/processed/{raw}.merged.header.final.sam"), pseudo1="results/mapping/processed/{raw}.pseudo1.final.b...
[ "umutberkayaltintas@gmail.com" ]
umutberkayaltintas@gmail.com
b7345219fb5ba716b3fed095337bf4ff6b1df307
98c6ea9c884152e8340605a706efefbea6170be5
/examples/data/Assignment_2/nwxtho001/question2.py
e5b2fd67ffe16d5f456ab603de434f28d2291d9f
[]
no_license
MrHamdulay/csc3-capstone
479d659e1dcd28040e83ebd9e3374d0ccc0c6817
6f0fa0fa1555ceb1b0fb33f25e9694e68b6a53d2
refs/heads/master
2021-03-12T21:55:57.781339
2014-09-22T02:22:22
2014-09-22T02:22:22
22,372,174
0
0
null
null
null
null
UTF-8
Python
false
false
2,398
py
print ("Welcome to the 30 Second Rule Expert\n------------------------------------\nAnswer the following questions by selecting from among the options.") seen = input ('Did anyone see you? (yes/no)\n') if seen == 'yes' : seen_type = input ('Was it a boss/lover/parent? (yes/no)\n') if seen_type == 'no' : ...
[ "jarr2000@gmail.com" ]
jarr2000@gmail.com
f486e9a0a0c4bfa8648db2f3ab716096708a8df8
4b7e282fe480415f5d52c0fc0429f144156190fe
/google/ads/googleads/v8/common/types/feed_common.py
12888a33eb9f184c2402a3337e503e869b2be75f
[ "Apache-2.0" ]
permissive
Z2Xsoft/google-ads-python
c4750357bb19da91bb3b6bf2fa84bef9d2df36d3
1779d52a0446c8afb2437b0a9e103dcb849f5590
refs/heads/main
2023-08-18T15:22:17.840364
2021-09-26T04:08:53
2021-09-26T04:08:53
410,444,398
0
0
Apache-2.0
2021-09-26T04:08:53
2021-09-26T03:55:38
null
UTF-8
Python
false
false
1,263
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...
[ "noreply@github.com" ]
Z2Xsoft.noreply@github.com
d5655f14e27d61edfb7d6882009fe9f0ad295296
163bbb4e0920dedd5941e3edfb2d8706ba75627d
/Code/CodeRecords/2755/60793/267817.py
8e0ef8cec59b834a9a8d68728452208db38b0567
[]
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
371
py
for test in range(0, int(input())): input() ls1 = list(map(int, input().split())) ls2 = list(map(int, input().split())) l1, l2 = len(ls1), len(ls2) ls3 = [0 for x in range(0, l1 + l2 - 1)] for i in range(0, l1): for j in range(0, l2): ls3[i + j] += ls1[i] * ls2[j] for i i...
[ "1069583789@qq.com" ]
1069583789@qq.com
086a9a37c222334524b2121455b685678a95f665
63c7060562ec5d1a9153f0454ea6886b0a62a28e
/tb/axi_cdma/test_axi_cdma.py
6b7ce9326dc3e25a24752ed080d6e17b2cf42064
[ "MIT" ]
permissive
alexforencich/verilog-axi
666e6dfbd14fd124bdcbc2798b4f557347fb8261
38915fb5330cb8270b454afc0140a94489dc56db
refs/heads/master
2023-03-30T07:34:17.721579
2023-03-30T07:12:13
2023-03-30T07:12:13
142,810,315
1,042
342
MIT
2023-03-05T19:52:57
2018-07-30T01:36:26
Verilog
UTF-8
Python
false
false
6,800
py
""" Copyright (c) 2020 Alex Forencich Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute...
[ "alex@alexforencich.com" ]
alex@alexforencich.com
3611831f18561cfa5af0f745acdf03a946f45c97
d3762b1b4d908b2b43f6e0ae362daa7136c6c7a4
/elections/management/commands/migrate_data.py
d427572608b5a937a16039325feb542271465cab
[]
no_license
pbahle/elections-api
c58cdf2b05f1560c8d6a69f8bc07e878458585c1
60cc06610ab7a279102018078f29f38d31e8bd26
refs/heads/master
2020-09-02T10:44:03.663386
2019-11-02T19:26:30
2019-11-02T19:26:30
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,838
py
# pylint: disable=no-self-use import sys from datetime import timedelta from pathlib import Path from django.core.management.base import BaseCommand from django.utils import timezone import log from elections import defaults from elections.helpers import normalize_jurisdiction from elections.models import District,...
[ "jacebrowning@gmail.com" ]
jacebrowning@gmail.com
c1fb632462fb073565ae995962ae392db45905b3
a411a55762de11dc2c9d913ff33d2f1477ac02cf
/lte/gateway/python/magma/mobilityd/subscriberdb_client.py
1fec443db1956ef872a11cfbc3a1d98d7a4c2e0f
[ "BSD-3-Clause" ]
permissive
magma/magma
0dc48c1513d9968bd05fb7589f302c192b7c0f94
0e1d895dfe625681229e181fbc2dbad83e13c5cb
refs/heads/master
2023-09-04T09:31:56.140395
2023-08-29T13:54:49
2023-08-29T13:54:49
170,803,235
1,219
525
NOASSERTION
2023-09-07T17:45:42
2019-02-15T04:46:24
C++
UTF-8
Python
false
false
6,221
py
""" Copyright 2020 The Magma Authors. This source code is licensed under the BSD-style license found in the LICENSE file in the root directory of this source tree. Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES O...
[ "noreply@github.com" ]
magma.noreply@github.com
536e8eda7de1c4a381f2c709fa56729cfbf19ee7
04b1803adb6653ecb7cb827c4f4aa616afacf629
/native_client_sdk/src/build_tools/tests/verify_filelist_test.py
2e01da1c93e9b3e5b6743a0e4d6f71f712de429d
[ "BSD-3-Clause" ]
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
3,854
py
#!/usr/bin/env python # Copyright (c) 2013 The Chromium Authors. All rights reserved. # Use of this source code is governed by a BSD-style license that can be # found in the LICENSE file. import os import sys import unittest SCRIPT_DIR = os.path.dirname(os.path.abspath(__file__)) BUILD_TOOLS_DIR = os.path.dirname(SCR...
[ "sunny.nam@samsung.com" ]
sunny.nam@samsung.com
9a6669dbb8aa1d8739a39c14d383548d2e889676
557d75e6dfb42c881d4df73950c41935635f2162
/preprocessing/recon_all.py
d9bf4632fb59ca40f6606a9db0ddc41864471963
[]
no_license
sssilvar/multiple-sclerosis
e6139558249f00a882ffeb9d4b82ac323a50ec96
a2e1e97e1297d45c2b84c5c57b372eee26047941
refs/heads/master
2020-06-05T00:09:04.781033
2019-07-13T23:15:00
2019-07-13T23:15:00
192,245,761
0
0
null
null
null
null
UTF-8
Python
false
false
1,045
py
#!/bin/env python3 import os import glob from multiprocessing.pool import Pool from os.path import join, isdir, basename def recon_all(vol_file): sid = basename(vol_file).split('_')[0] t2_file = vol_file.replace('T1Wreg.nii.gz', 'T2Wreg.nii.gz') cmd = f'recon-all -i {vol_file} -T2 {t2_file} -s {sid} -sd {...
[ "sssilvar@unal.edu.co" ]
sssilvar@unal.edu.co
d04ae994a53ff06417f846f19c0403d3bc065f10
e5d83ede8521027b05d9b91c43be8cab168610e6
/0x0B-python-input_output/1-number_of_lines.py
1dfc5fcc64012fcf583f7f599a0cd5e13d80cbb1
[]
no_license
Danielo814/holbertonschool-higher_level_programming
8918c3a6a9c136137761d47c5162b650708dd5cd
832b692529198bbee44d2733464aedfe650bff7e
refs/heads/master
2020-03-28T11:09:00.343055
2019-02-22T03:33:54
2019-02-22T03:33:54
148,181,433
1
0
null
null
null
null
UTF-8
Python
false
false
290
py
#!/usr/bin/python3 """ 1-number_of_lines module """ def number_of_lines(filename=""): """ returns the number of lines of a text file """ numlines = 0 with open(filename, 'r', encoding='utf-8') as f: for line in f: numlines += 1 return numlines
[ "211@holbertonschool.com" ]
211@holbertonschool.com
0d6361a1c0ab589a30c8857539292b0ea2ba6f17
43dabf77afd5c44d55b465c1b88bf9a5e7c4c9be
/drawing_random_circles.py
be298cbf90b23e67ea008144b485fca1b94b056c
[]
no_license
geegatomar/OpenCV-Computer-Vision-Adrian-Rosebrock
cc81a990a481b5e4347dd97369b38479b46e55bc
daa579309010e6e7fefb004b878ffb26374401d0
refs/heads/master
2022-11-18T13:07:08.040483
2020-07-20T01:55:39
2020-07-20T01:55:39
280,987,262
0
0
null
null
null
null
UTF-8
Python
false
false
510
py
import cv2 import numpy as np # drawing 25 random circles canvas = np.zeros((400, 400, 3), dtype="uint8") for i in range(25): radius = np.random.randint(180) # will generate random radius value between 0 and 100 centre = np.random.randint(0, 400, size=(2, )) color = np.random.randint(...
[ "geegatomar@gmail.com" ]
geegatomar@gmail.com
c3e597348ecd704038d52109bd25c04c2baf9da0
54f352a242a8ad6ff5516703e91da61e08d9a9e6
/Source Codes/AtCoder/abc003/D/4547211.py
6a0acb9b36e11c97948531a48a505d78d41e9f86
[]
no_license
Kawser-nerd/CLCDSA
5cbd8a4c3f65173e4e8e0d7ed845574c4770c3eb
aee32551795763b54acb26856ab239370cac4e75
refs/heads/master
2022-02-09T11:08:56.588303
2022-01-26T18:53:40
2022-01-26T18:53:40
211,783,197
23
9
null
null
null
null
UTF-8
Python
false
false
998
py
mod = 10**9 + 7 def powmod(x, n): ret = 1 while n > 0: if n & 1: ret *= x; ret %= mod; n -= 1 else: x *= x; x %= mod; n >>= 1 return ret fact = [1 for _ in range(1000)] revfact = [1 for _ in range(1000)] def setfact(n): for i in range(n): fact[i+1] = fact[i] * (i+1); f...
[ "kwnafi@yahoo.com" ]
kwnafi@yahoo.com
873fd33b792017d4797bb0d1acbb046e82beacde
26f8a8782a03693905a2d1eef69a5b9f37a07cce
/test/test_destiny_historical_stats_destiny_historical_stats_period_group.py
54f3aa5d3731b9a1cb0a50764667212af0aef180
[]
no_license
roscroft/openapi3-swagger
60975db806095fe9eba6d9d800b96f2feee99a5b
d1c659c7f301dcfee97ab30ba9db0f2506f4e95d
refs/heads/master
2021-06-27T13:20:53.767130
2017-08-31T17:09:40
2017-08-31T17:09:40
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,391
py
# coding: utf-8 """ Bungie.Net API These endpoints constitute the functionality exposed by Bungie.net, both for more traditional website functionality and for connectivity to Bungie video games and their related functionality. OpenAPI spec version: 2.0.0 Contact: support@bungie.com Generated by: ...
[ "adherrling@gmail.com" ]
adherrling@gmail.com
c29ff1701a3bfbca5682d464670a0183a3517f7b
8882bfe78b3a6e5d022f81c86512b22f851d9dc8
/tgflow/TgFlow.py
ffb115f18b4e9744371863b4ed3007956ddc5bbd
[ "MIT" ]
permissive
inexcode/tgflow
5600fa4040d30157daf6d2ad5fe8d625ac64789d
e7bbd7df87e7a711c1b2924f3f2ae909fb2086c5
refs/heads/master
2020-03-29T10:19:39.405683
2018-09-21T18:13:30
2018-09-21T18:13:30
149,799,442
0
0
null
2018-09-21T17:59:23
2018-09-21T17:59:23
null
UTF-8
Python
false
false
6,673
py
#import telebot import hashlib from enum import Enum from . import handles from . import render import pickle,time from .api.tg import telegramAPI import pprint pp = pprint.PrettyPrinter(indent=4) action = handles.action api,key = None,None def_state = None def_data= None States = {} UI = {} Data = {} Actions = {} K...
[ "lkv97dn@gmail.com" ]
lkv97dn@gmail.com
28eb9cf5f13dc05100ba9264f00df18331a9e5ba
ca7aa979e7059467e158830b76673f5b77a0f5a3
/Python_codes/p04030/s999899727.py
d1c7afb12be8ed4228e960b1a6e2e0f7fc222ea5
[]
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
164
py
s=input() fin="" for c in s: if c=='1': fin+="1" elif c=='0': fin+="0" else: if len(fin)>0: fin=fin[:-1] print(fin)
[ "66529651+Aastha2104@users.noreply.github.com" ]
66529651+Aastha2104@users.noreply.github.com
5fe4c7ed46fc6342f89f21baa980a8b8f0c9a22a
a814debee728e59a7a10d8c12b92c1f3ee97e19d
/Cadeias/Questao01.py
5a06773ddc2a07e94da38507662ab3bf4ae50ea1
[]
no_license
PedroVitor1995/Algoritmo-ADS-2016.1
0ee034d2f03b29d3c8177fb3402f7aeae08d07cf
8e3b6dfb0db188b9f5d68dcb8619f6636883ab89
refs/heads/master
2021-01-01T15:51:56.636502
2017-07-19T13:47:36
2017-07-19T13:47:36
81,328,868
0
0
null
null
null
null
UTF-8
Python
false
false
462
py
#__*__ encoding:utf8 __*__ """1. Faça a criptografia de uma frase digitada pelo usuário. Na criptografia, a frase deverá ser invertida e as consoantes deverão ser substituídas pelo caractere #.""" def main(): frase = raw_input('Digite uma frase: ') consoantes = 'BCDFGHJKLMNPQRSTVXYWZbcdfghjklmnpqrstvxywz' for...
[ "noreply@github.com" ]
PedroVitor1995.noreply@github.com
f78ec480786556e08f9a2cddea0271a0013e24e1
9ff1d0d5049dfe1c14528e098bdd8c934fb2274a
/tests/test3/test_port7_unittest.py
6465c5d08297ccf489943439d23ab7e7aca49cfa
[]
no_license
486dx/utility_Python
43e06b3f74dac140396643d0e5c132fb874d2467
598117f7e9fd416f4bc7f1ccea931048a977a0bc
refs/heads/master
2022-04-23T06:36:36.220406
2020-04-06T08:59:35
2020-04-06T08:59:35
264,519,552
1
0
null
2020-05-16T20:17:30
2020-05-16T20:17:30
null
UTF-8
Python
false
false
1,690
py
# test_port7_unittest.py import unittest from portfolio3 import Portfolio class PortfolioTest(unittest.TestCase): def test_empty(self): p = Portfolio() self.assertEqual(p.cost(), 0.0) def test_buy_one_stock(self): p = Portfolio() p.buy("IBM", 100, 176.48) self.assertEq...
[ "f339339@gmail.com" ]
f339339@gmail.com
374eb12b1ec6126e692a94315444e4a7bcf0621b
4eaab9327d25f851f9e9b2cf4e9687d5e16833f7
/problems/search_suggestions_system/solution.py
47a2ff3a14f8b27c1b8af6d2a0b73ebff62b06d6
[]
no_license
kadhirash/leetcode
42e372d5e77d7b3281e287189dcc1cd7ba820bc0
72aea7d43471e529ee757ff912b0267ca0ce015d
refs/heads/master
2023-01-21T19:05:15.123012
2020-11-28T13:53:11
2020-11-28T13:53:11
250,115,603
0
0
null
null
null
null
UTF-8
Python
false
false
1,011
py
class Solution: def suggestedProducts(self, products: List[str], searchWord: str) -> List[List[str]]: products.sort() # time O(nlogn) array_len = len(products) ans = [] input_char = "" for chr in searchWord: tmp = [] input_char += chr inse...
[ "kadhirash@gmail.com" ]
kadhirash@gmail.com
8cdd5f52e919892a5acf7fabc7f846d69d487956
5491f4b600f7ecd1d0848d60d7b017e5e407d4c7
/inventario/migrations/0005_ventamodel.py
79ad0c9268a28f2a5951adb94199d7fd065bfa48
[]
no_license
GustavoPMex/web-inventario
409456dd356bbfcadd735cc9b8e2aae7605a0e37
d0ac36ee791ff0262f9390497da1dd990581a4fd
refs/heads/master
2023-06-10T10:08:39.029666
2021-06-30T23:40:19
2021-06-30T23:40:19
296,677,352
0
0
null
null
null
null
UTF-8
Python
false
false
909
py
# Generated by Django 3.0.8 on 2020-09-29 03:40 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('inventario', '0004_historicalarticulomodel'), ] operations = [ migrations.CreateModel( name='VentaModel', fields=[ ...
[ "gustavoppymex@gmail.com" ]
gustavoppymex@gmail.com
0ae646e5fd55b65b3f924b29c97b5843b2eca062
bd1362c60313784c90013dfc9f0169e64389bf27
/scripts/ingestors/soilm_ingest.py
a3a1ef7cc473f3149593d222b9f47ed4891c86b8
[]
no_license
ForceCry/iem
391aa9daf796591909cb9d4e60e27375adfb0eab
4b0390d89e6570b99ca83a5fa9b042226e17c1ad
refs/heads/master
2020-12-24T19:04:55.517409
2013-04-09T14:25:36
2013-04-09T14:25:36
null
0
0
null
null
null
null
UTF-8
Python
false
false
4,725
py
""" Ingest ISU SOILM data! DailySI "TIMESTAMP", "RECORD", "TAir_C_Avg", "TAir_C_Max", "TAir_C_TMx", "TAir_C_Min", "TAir_C_TMn", "SlrMJ_Tot", "Rain_mm_Tot", "WS_mps_S_WVT", "WindDir_D1_WVT", "WindDir_SD1_WVT", "WS_mps_Max", "WS_mps_TMx", "DailyET", "TSoil_C_Avg", "VWC_12_Avg", "VWC_24_Avg", "VWC_5...
[ "akrherz@iastate.edu" ]
akrherz@iastate.edu
de8f1e1f2f085838464375d1849719293a936020
0af30c2e3ddcc80a19ea9cfaad9d7e1fedf8b876
/210311-210314/백)2579 계단 오르기/이동재.py
b27bbc2081db13195ca37f930e92c97bac44a0d8
[]
no_license
winterash2/algorithm_study_2021_1
d1cd6077f71f68e7fc3eb6dfae7b2cc220885e4c
c1fee62c7e5e560c3bf7ae5e6166866d0147f23f
refs/heads/master
2023-04-02T20:11:04.169856
2021-04-05T11:18:22
2021-04-05T11:18:22
327,563,535
1
2
null
2021-01-24T14:17:40
2021-01-07T09:28:08
Python
UTF-8
Python
false
false
512
py
import sys input = sys.stdin.readline N = int(input()) scores = [] for _ in range(N): scores.append(int(input())) dp1 = [0 for _ in range(N)] dp2 = [0 for _ in range(N)] # 0번 칸 초기화 dp1[0] = scores[0] if N == 1: print(scores[0]) else: # N이 2보다 클 때 # 2번 칸 초기화 dp1[1] = scores[1] dp2[1] = scores[1] ...
[ "winterash2@naver.com" ]
winterash2@naver.com
64b1ff60158655b97b826b8467eb04fc9536b67f
c264153f9188d3af187905d846fa20296a0af85d
/Python/Python3网络爬虫开发实战/《Python3网络爬虫开发实战》随书源代码/urllib/error/demo3.py
6928b02a18d8a9762b9a281c84c97d5aa162f9c4
[]
no_license
IS-OSCAR-YU/ebooks
5cd3c1089a221759793524df647e231a582b19ba
b125204c4fe69b9ca9ff774c7bc166d3cb2a875b
refs/heads/master
2023-05-23T02:46:58.718636
2021-06-16T12:15:13
2021-06-16T12:15:13
null
0
0
null
null
null
null
UTF-8
Python
false
false
280
py
from urllib import request, error try: response = request.urlopen('http://cuiqingcai.com/index.htm') except error.HTTPError as e: print(e.reason, e.code, e.headers, sep='\n') except error.URLError as e: print(e.reason) else: print('Request Successfully')
[ "jiangzhangha@163.com" ]
jiangzhangha@163.com
c5c570c5d072a814ff270e276deaef84ad277e35
56255c15702f4f4a01b7f785f956cee7290d0097
/segmentation_pytorch/utils/train.py
ef5089b869ed248028f04a015305e45cdec34d74
[]
no_license
devhliu/PyTorch_UNOdeMSegNet
d2561606aac34ace4664c48bc000d4c4a915699a
3a446ca71ddd74e612bf2c2acc43e7b210366e5b
refs/heads/master
2020-12-24T04:41:23.674029
2019-11-13T08:07:40
2019-11-13T08:07:40
null
0
0
null
null
null
null
UTF-8
Python
false
false
3,142
py
import sys import torch import pdb from tqdm import tqdm as tqdm from torchnet.meter import AverageValueMeter # from ..models.CRF import dense_crf class Epoch: def __init__(self, model, loss, metrics, stage_name, device='cpu', verbose=True): self.model = model self.loss = loss self.metrics = metrics self.st...
[ "maverickers@outlook.com" ]
maverickers@outlook.com
af3c13b0b6d71fc197d85e36c8e32fa818a832f2
b72c37e3ccda507b231649cddd5c7845c6c34ba1
/PythonBasic/Day15/exec5_enumate.py
bcde4f16b170aa836494556ff4f435dfe5176b43
[]
no_license
ljrdemail/AID1810
51c61c255b5c5efc1dc642b46691a614daedd85e
b417bd831bc1550ab953ce7ca23f54e34b8b2692
refs/heads/master
2020-04-24T09:45:14.781612
2019-02-21T11:26:49
2019-02-21T11:26:49
171,866,267
0
0
null
null
null
null
UTF-8
Python
false
false
225
py
# -*- coding:utf-8 -*- def myenumerate(iterable, start=0): i = start # 开始索引 for x in iterable: yield (i, x) # 生成一个元组 i += 1 d = myenumerate("ABCDE", 1) for i in d: print(i)
[ "root" ]
root
fed79b9a386ddab376d7acd6d52191fc5ec5f846
23fb5b1fb275892b0a27657685c062360630889e
/Week 7/django/src/bookstore/settings.py
ad6bf63e9bc7c5c3b7fdb61d360525456c224875
[ "MIT" ]
permissive
carlosal1015/python2017
2b596fa1e4cad4de06537ffc99fb0af0dfa4563d
c1eed0201039c6b4daf857dd1f08c47a7b1e3f45
refs/heads/master
2020-09-13T17:15:50.419142
2018-05-24T12:44:40
2018-05-24T12:44:40
222,850,901
1
2
MIT
2019-11-20T04:32:23
2019-11-20T04:30:54
null
UTF-8
Python
false
false
3,161
py
""" Django settings for bookstore project. Generated by 'django-admin startproject' using Django 1.11.7. For more information on this file, see https://docs.djangoproject.com/en/1.11/topics/settings/ For the full list of settings and their values, see https://docs.djangoproject.com/en/1.11/ref/settings/ """ import ...
[ "sebastinssanty@gmail.com" ]
sebastinssanty@gmail.com
855033498433fc4b023163b8a1e030790481cc8e
102d09ef1d6effe166ad703ba4472c45dfb03263
/py/Unique Binary Search Trees.py
ff810735f7dccf5e13975b50685aee50ae48a74b
[]
no_license
bitcsdby/Codes-for-leetcode
5693100d4b66de65d7f135bbdd81b32650aed7d0
9e24e621cfb9e7fd46f9f02dfc40a18a702d4990
refs/heads/master
2016-09-05T08:43:31.656437
2014-08-02T15:14:53
2014-08-02T15:14:53
null
0
0
null
null
null
null
UTF-8
Python
false
false
486
py
class Solution: # @return an integer def numTrees(self, n): if n == 0 or n == 1: return 1; l = []; l.append(1); l.append(1); count = 2; while count <= n: c = 0; tmp = 0; while ...
[ "bitcsdby@gmail.com" ]
bitcsdby@gmail.com
163d7c44a7e018cae6d6ff4a03b364723f15cc08
487c45df5fcbe7fdf6df5a348f6fe163bbb22033
/leetcode/875_koko_eating_bananas.py
20b4f0c350be2d1c309eb1f272a208f5b384aa40
[ "Unlicense" ]
permissive
leetcode-notes/daily-algorithms-practice
dba03ac1c55262f6bae7d5aa4dac590c3c067e75
2a03499ed0b403d79f6c8451c9a839991b23e188
refs/heads/master
2023-06-18T14:14:58.770797
2021-07-12T05:27:32
2021-07-12T05:27:32
264,057,786
0
0
null
null
null
null
UTF-8
Python
false
false
775
py
class Solution: def minEatingSpeed(self, piles, H: int) -> int: low, high = 1, max(piles) def cannot_finish(k, piles): total = 0 for p in piles: total += p//k if p % k: total += 1 return total > H while...
[ "leetcode.notes@gmail.com" ]
leetcode.notes@gmail.com
eb8bd2bd90dfe1850bd04800fbf208772c98a519
8e07b5b7a8dd38e0ef2c7ffc97d0392d886f32e6
/venv/Lib/site-packages/mypy/typeshed/third_party/2and3/paramiko/server.pyi
f43bc83b05520072133af6f1a6c7ad7944981cc9
[]
no_license
RodrigoNeto/cursopythonyt
fc064a2e6106324e22a23c54bdb9c31040ac9eb6
279dad531e21a9c7121b73d84fcbdd714f435e7e
refs/heads/master
2023-07-03T00:54:09.795054
2021-08-13T12:42:24
2021-08-13T12:42:24
395,646,798
0
0
null
null
null
null
UTF-8
Python
false
false
3,113
pyi
import threading from typing import Any, List, Optional, Tuple, Union from paramiko.channel import Channel from paramiko.message import Message from paramiko.pkey import PKey from paramiko.transport import Transport class ServerInterface: def check_channel_request(self, kind: str, chanid: int) -> int: .....
[ "rodrigoneto.forseti@gmail.com" ]
rodrigoneto.forseti@gmail.com
87285319b453d6b779837ac5d96b87d989629dbd
1277c0d30434133a7ce6f4d1db6c04d65b0a49c9
/backend/findme_20524/wsgi.py
8403d67f78f9ff859caa0a7e2ffa509f5e7f5195
[]
no_license
crowdbotics-apps/findme-20524
aef86f49038e1e06967c3d22fee0968ec769c3b4
da959e3a82c81a93ce2e6d3388ad610ebc7be7f5
refs/heads/master
2022-12-23T10:47:01.480756
2020-09-21T19:34:35
2020-09-21T19:34:35
297,441,771
0
0
null
null
null
null
UTF-8
Python
false
false
401
py
""" WSGI config for findme_20524 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.2/howto/deployment/wsgi/ """ import os from django.core.wsgi import get_wsgi_application os.environ.setdefault('DJANGO_...
[ "team@crowdbotics.com" ]
team@crowdbotics.com
8faa8b56120958de0b6f1135e29aabb4e6389a29
ea4e3ac0966fe7b69f42eaa5a32980caa2248957
/download/unzip/pyobjc/pyobjc-14/pyobjc/stable/PyOpenGL-2.0.2.01/src/shadow/GL.KTX.buffer_region.0100.py
ac8f5465112ac5e17f3261bbe25ef82d3803a274
[]
no_license
hyl946/opensource_apple
36b49deda8b2f241437ed45113d624ad45aa6d5f
e0f41fa0d9d535d57bfe56a264b4b27b8f93d86a
refs/heads/master
2023-02-26T16:27:25.343636
2020-03-29T08:50:45
2020-03-29T08:50:45
249,169,732
0
0
null
null
null
null
UTF-8
Python
false
false
2,082
py
# This file was created automatically by SWIG. # Don't modify this file, modify the SWIG interface instead. # This file is compatible with both classic and new-style classes. import _buffer_region def _swig_setattr_nondynamic(self,class_type,name,value,static=1): if (name == "this"): if isinstance...
[ "hyl946@163.com" ]
hyl946@163.com
fbab5560e9894901c5617e613add83c277d25710
8e8acc57b63a66cb1450fa4d015d4ddcd74cce85
/liaoxuefengLessons/ObjectOrientedProgramming/ENUM.py
5e50eaa8c9becb7d3b84f7e8a321feb1a34f2cb0
[]
no_license
indeyo/PythonStudy
fc2241db7cec8075a59a307ff47c9de83494844b
099feb4e4c8dec9e68887cedd95705d831e51b0f
refs/heads/master
2021-03-29T19:04:24.553848
2020-06-05T15:07:33
2020-06-05T15:07:33
247,978,205
0
1
null
null
null
null
UTF-8
Python
false
false
1,062
py
#!/usr/bin/env python3 #-*- coding: utf-8 -*- """ @Project : StudyPython0-100 @File : ENUM.py @Time : 2019-08-05 22:57:52 @Author : indeyo_lin @Version : @Remark : """ """ 练习: 把Student的gender属性改造为枚举类型,可以避免使用字符串: """ # from enum import Enum, unique # # class Gender(Enum): # Male = 0 # Female = 1 # # c...
[ "indeyo@git.com" ]
indeyo@git.com
3b6e664d5482c257c0400170a43bf6b823377024
5cf7f81791a9d66ba495512f0b1d2c8b6cccbd3d
/python/test/test_rhomb_H_and_R.py
ac268c603a510df1fc1881d48b3b0bc262075ef6
[ "BSD-3-Clause" ]
permissive
odidev/spglib
9e0eecbb77b20e09f1affec42af48dc6a1c60e82
e807f1193ad57af8b916245fc397e4667baaaf92
refs/heads/develop
2023-07-03T03:03:37.592891
2021-05-17T08:45:07
2021-05-17T08:45:07
390,248,634
0
0
BSD-3-Clause
2021-07-28T11:44:17
2021-07-28T07:01:36
null
UTF-8
Python
false
false
2,280
py
import unittest import numpy as np from spglib import get_symmetry_dataset, find_primitive from vasp import read_vasp import os data_dir = os.path.dirname(os.path.abspath(__file__)) dirnames = ('trigonal', ) rhomb_numbers = (146, 148, 155, 160, 161, 166, 167) tmat = [[0.6666666666666666, -0.3333333333333333, -0.333333...
[ "atz.togo@gmail.com" ]
atz.togo@gmail.com
61bbe9c6a03dc155f5c1f6a09c732284f2f3acdf
0d9c964fd7644395a3f0763f484e485fcc67f762
/new/src/21.03.2020/list_of_business.py
2e49049cc01217aba3b71d33a8cc65d4af44bb18
[ "Apache-2.0" ]
permissive
VladBaryliuk/my_start_tasks
eaa2e6ff031f2f504be11f0f64f5d99bd1a68a0e
bf387543e6fa3ee303cbef04d2af48d558011ed9
refs/heads/main
2023-04-14T14:00:08.415787
2021-04-24T13:47:38
2021-04-24T13:47:38
354,538,499
0
0
null
null
null
null
UTF-8
Python
false
false
291
py
from tkinter import * root = Tk() root.geometry('300x400') btn2 = Button(text = 'save') btn2.pack() text = Entry() text.pack() list = Text() list.pack() def add (): todo = text.get() + '\n' list.insert (END, todo) btn = Button(text = 'enter',command=add) btn.pack() root.mainloop()
[ "vladmain9@gmail.com" ]
vladmain9@gmail.com
c1f0f56f1f31047cfc5c943b9b8cb27094c83a27
69bb1d0e824625876207d492722adfdb9d959ad1
/Codeforces/antonAndDanik.py
c059ac795188e2be373516cbb3ff30f3a2ece7af
[]
no_license
domiee13/dungcaythuattoan
8e2859264515e0fac3e9f0642a8b79ce5d966fff
7e95d037d47d6e4777e9cf56b9827c3e42f556b3
refs/heads/master
2023-03-28T03:58:44.225136
2021-03-29T10:32:52
2021-03-29T10:32:52
277,798,242
2
1
null
null
null
null
UTF-8
Python
false
false
1,413
py
# A. Anton and Danik # time limit per test1 second # memory limit per test256 megabytes # inputstandard input # outputstandard output # Anton likes to play chess, and so does his friend Danik. # Once they have played n games in a row. For each game it's known who was the winner — Anton or Danik. None of the games ende...
[ "dungngocmd@gmail.com" ]
dungngocmd@gmail.com
4d7886f416baba1c84d182a66f20391da7c27df2
0d5c77661f9d1e6783b1c047d2c9cdd0160699d1
/python/paddle/fluid/tests/unittests/test_row_conv_op.py
07dcd108689ae6069e30fe22029258d192215549
[ "Apache-2.0" ]
permissive
xiaoyichao/anyq_paddle
ae68fabf1f1b02ffbc287a37eb6c0bcfbf738e7f
6f48b8f06f722e3bc5e81f4a439968c0296027fb
refs/heads/master
2022-10-05T16:52:28.768335
2020-03-03T03:28:50
2020-03-03T03:28:50
244,155,581
1
0
Apache-2.0
2022-09-23T22:37:13
2020-03-01T13:36:58
C++
UTF-8
Python
false
false
3,441
py
# Copyright (c) 2018 PaddlePaddle 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 app...
[ "xiaoyichao@haohaozhu.com" ]
xiaoyichao@haohaozhu.com
5f5c03bcd52eb2348ea2bfae56c4eb554064760a
15f321878face2af9317363c5f6de1e5ddd9b749
/solutions_python/Problem_210/263.py
07aad036673e87dff6e60957731771366d880485
[]
no_license
dr-dos-ok/Code_Jam_Webscraper
c06fd59870842664cd79c41eb460a09553e1c80a
26a35bf114a3aa30fc4c677ef069d95f41665cc0
refs/heads/master
2020-04-06T08:17:40.938460
2018-10-14T10:12:47
2018-10-14T10:12:47
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,406
py
import operator fin = open('B-small-attempt2.in', 'r') fout = open('output.out', 'w') tcs = int(fin.readline()) for tc in range(0, tcs): inptemp = fin.readline().split(' ') ac = int(inptemp[0]) aj = int(inptemp[1]) acs = list() ajs = list() for i in range(0, ac): acinp = fin.r...
[ "miliar1732@gmail.com" ]
miliar1732@gmail.com
e7846284c7e134592127b48bc185fe593b0949ec
fe7b700cfe3c06d89d18ffad3eeeb3b8220c1759
/pipeline/feature-classification/exp-3/selection-extraction/pca/pipeline_classifier_mrsi.py
30793e60571a5f7f0342ae4b772cf21d2691ce80
[ "MIT" ]
permissive
DivyaRavindran007007/mp-mri-prostate
928684a607cf03a2d76ea3e3e5b971bbd3a1dd01
bd420534b4b5c464e5bbb4a07eabdc8724831f8a
refs/heads/master
2021-06-08T21:09:15.850708
2016-10-20T16:08:57
2016-10-20T16:08:57
null
0
0
null
null
null
null
UTF-8
Python
false
false
5,823
py
"""This pipeline is intended to make the classification of MRSI modality features.""" from __future__ import division import os import numpy as np from sklearn.externals import joblib from sklearn.preprocessing import label_binarize from sklearn.decomposition import PCA from sklearn.ensemble import RandomForestClas...
[ "glemaitre@visor.udg.edu" ]
glemaitre@visor.udg.edu
06e9af435b48d5945c4ae92e1b4270ba096357cc
f0d713996eb095bcdc701f3fab0a8110b8541cbb
/iBqJcagS56wmDpe4x_7.py
3acaa1ddc25b89eab9db4328cabbfff41f70461d
[]
no_license
daniel-reich/turbo-robot
feda6c0523bb83ab8954b6d06302bfec5b16ebdf
a7a25c63097674c0a81675eed7e6b763785f1c41
refs/heads/main
2023-03-26T01:55:14.210264
2021-03-23T16:08:01
2021-03-23T16:08:01
350,773,815
0
0
null
null
null
null
UTF-8
Python
false
false
845
py
""" The volume of a spherical shell is the difference between the enclosed volume of the outer sphere and the enclosed volume of the inner sphere: ![Volume of Inner Sphere Formula](https://edabit- challenges.s3.amazonaws.com/volume_of_inner_sphere.svg) Create a function that takes `r1` and `r2` as arguments and re...
[ "daniel.reich@danielreichs-MacBook-Pro.local" ]
daniel.reich@danielreichs-MacBook-Pro.local
344734125bb7c7899ca6cc6c2558fd173da78d68
279ed7207ac2c407487416b595e12f573049dd72
/pybvk/bvk/bvkmodels/ni_676.py
8e2c8f20a537ec5b2eaa574c6f66b29f2b1de7de
[]
no_license
danse-inelastic/pybvk
30388455e211fec69130930f2925fe16abe455bd
922c8c0a8c50a9fabd619fa06e005cacc2d13a15
refs/heads/master
2016-09-15T22:21:13.131688
2014-06-25T17:12:34
2014-06-25T17:12:34
34,995,254
0
0
null
null
null
null
UTF-8
Python
false
false
1,089
py
# ni_676.py # BvK force constants element = "Ni" lattice_type = "fcc" temperature = 676 # Units: K reference = "De Wit, G.A., Brockhouse, B.N.: J. Appl. Phys. 39 (1968) 451" details = "All fits use the measured elastic constants. This fit uses general force up to fourth neighbour, axially symmetric force for fifth ...
[ "linjiao@caltech.edu" ]
linjiao@caltech.edu
8ff8c60155eca0198afd7158b8f4dbb5f00a51d5
163cb8cae7d364a090565710ee9f347e5cdbf38f
/new_deeplab/utils/get_dataset_colormap_test.py
90005ebbf542c89e44a7dd4783811474cc59853d
[ "CC-BY-4.0", "CC-BY-3.0" ]
permissive
abhineet123/river_ice_segmentation
2b671f7950aac6ab2b1185e3288490bc5e079bc1
df694107be5ad6509206e409f5cde4428a715654
refs/heads/master
2023-05-01T11:52:10.897922
2023-04-25T22:55:04
2023-04-25T22:55:04
179,993,952
15
8
null
null
null
null
UTF-8
Python
false
false
3,955
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 applicab...
[ "asingh1@ualberta.ca" ]
asingh1@ualberta.ca
ddfdd2f0efe461b056235acb80be18b8c1228721
34165333483426832b19830b927a955649199003
/publish/library_app/reports/library_book_report.py
f1b54fc8a5cc254109a6f75a8fa9f9b3ecad1cee
[]
no_license
terroristhouse/Odoo12
2d4315293ac8ca489d9238f464d64bde4968a0a9
d266943d7affdff110479656543521889b4855c9
refs/heads/master
2022-12-02T01:09:20.160285
2020-08-16T13:56:07
2020-08-16T13:56:07
283,630,459
1
0
null
null
null
null
UTF-8
Python
false
false
447
py
from odoo import fields,models class BookReport(models.Model): _name = 'library.book.report' _description = 'Book Report' _auto = False name = fields.Char('Title') publisher_id = fields.Many2one('res.partner') date_published = fields.Date() def init(self): self.env.cr.execute("""...
[ "867940410@qq.com" ]
867940410@qq.com
99831b86797def2356ed377f20ea20834b08bcec
94d4ccd443a37c8090a84d730d006edef869b816
/recursion_and_backtracking/rat_in_maze.py
8fde6e9bcdff326a7021e497c7d29b0c638e1f3d
[]
no_license
sudo-hemant/CP_CipherSchools
e0fc51d6f77f80709a88a7711ef6360f1fdd13e3
4f741f5f6fbbb182bd03135fb3180f5a40acbb1e
refs/heads/master
2023-03-09T20:59:59.704014
2021-02-19T15:27:15
2021-02-19T15:27:15
338,825,372
0
0
null
null
null
null
UTF-8
Python
false
false
1,363
py
# https://practice.geeksforgeeks.org/problems/rat-maze-with-multiple-jumps-1587115621/1/?track=DSASP-Backtracking&batchId=154 from collections import deque def solve(n, maze): res = [ [0 for i in range(n)] for j in range(n)] if is_path(0, 0, res, n, maze): print_sol(n, res) else: ...
[ "sudohemant@gmail.com" ]
sudohemant@gmail.com
80edbd1d65d545f84f4122c4822dc23a4c57785d
70d39e4ee19154a62e8c82467ef75b601e584738
/pyth3/mysql/just_mysql_pandas_things_.py
84e264411f2cd3f02839fd45febb7a3e86ce9f2e
[]
no_license
babywyrm/sysadmin
6f2724be13ae7e5b9372278856a8c072073beffb
2a5f3d29c7529bc917d4ff9be03af30ec23948a5
refs/heads/master
2023-08-16T03:50:38.717442
2023-08-16T03:05:55
2023-08-16T03:05:55
210,228,940
10
5
null
2023-05-01T23:15:31
2019-09-22T23:42:50
PowerShell
UTF-8
Python
false
false
6,634
py
# MySQL Querying Using Pandas # Author: Elena Adlaf # Version 1.2, 10/16/17 # This Python file shows how to query results from table, 't', in database, 'af', stored on a local MySQL server while # importing the values directly into a Pandas dataframe. # The table lists details about pieces created by the custom furnit...
[ "noreply@github.com" ]
babywyrm.noreply@github.com
a54dba4d3ebcdf78eb1020f011bb1570ffd11720
3595d51ff2499bb990b87a25b17516edf6907696
/boards/models.py
a9fc0f9597a2654f291a202c6c60a21410fac535
[ "Apache-2.0" ]
permissive
maxlipsky/infomate.club
01fa55b3dfd318212b0c328dd48019b585d3ef9d
9729b568622120f8cba3d22fefdcfba81d1b5b88
refs/heads/master
2020-12-08T19:53:37.231403
2020-01-16T19:04:14
2020-01-16T19:04:14
233,079,581
1
0
Apache-2.0
2020-01-10T15:49:08
2020-01-10T15:49:07
null
UTF-8
Python
false
false
6,435
py
import uuid from datetime import datetime, timedelta from django.contrib.humanize.templatetags.humanize import naturaltime from django.db import models from slugify import slugify from boards.icons import DOMAIN_ICONS class Board(models.Model): id = models.UUIDField(primary_key=True, default=uuid.uuid4, editabl...
[ "me@vas3k.ru" ]
me@vas3k.ru
b8241865b3838ea090162eb428a1c8b48348b10e
e692a9074d21c456dbdcb938ce7c74d8254f6ad9
/Module 010/module 010.py
815c2efdfd0e3789bf37330b86d323acc2079d0b
[]
no_license
Marius-Juston/ECE-110
e29b08d5a305a315467635a138ef62a1a638e4ed
962761b9bb23b02cc2a687bc691d568db8c82b31
refs/heads/master
2022-05-29T08:17:58.809019
2020-05-05T16:48:45
2020-05-05T16:48:45
261,530,020
0
0
null
null
null
null
UTF-8
Python
false
false
685
py
import matplotlib.pyplot as plt import numpy as np from matplotlib.axes import Axes from matplotlib.figure import Figure if __name__ == '__main__': with open('data-20200502-1713.circuitjs.txt', 'r') as file: time_step = float(file.readline().split(' ')[4]) lines = tuple(map(int, file.readlines()))...
[ "Marius.juston@hotmail.fr" ]
Marius.juston@hotmail.fr
2c4e9748a4fe10c33bdca30bdba1637018100b86
9ec4bc3cdba9e46fe05712daeec3e35f5b6bb704
/hallicrafter2/device/ics.py
ce1fe1212d2c1fc2085fe53bbaeb7981d6a1c3fd
[]
no_license
derekmerck/hallicrafter
04d7d31017079fcc0c9c9361ad7e653f6e0e6418
b9439bb9f9b311ca1f8a224ce25c64c836901381
refs/heads/master
2020-06-02T03:23:23.086094
2019-09-03T02:06:03
2019-09-03T02:06:03
191,018,673
0
0
null
null
null
null
UTF-8
Python
false
false
2,220
py
from .device import Device class SirenIC(Device): # Control a UM3561 ic # See https://www.instructables.com/id/Siren-Generation-using-IC-UM3561/ for pinout # # 1. sel1 # 2. gnd # 3. out -> 10k ohm -> NPN transistor that drives speaker gnd line # 4. not connected (testing) # 5. active ...
[ "derek_merck@brown.edu" ]
derek_merck@brown.edu