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
8202e71838d04d0b2b4ccf5c3a73e1b423a6495a
933ed73cdf117fc6c88c1ebba7a17b82807a16e8
/docs/02.AI_ML/code-1805/Day06all/audio.py
a484f78da089d31453fcf1e9aa31a0039d15fc49
[ "Apache-2.0" ]
permissive
wan230114/PythonNote
c4fff80f6f3849ed0b0346526d3c6197a4867d2c
f4989a44c03efdcea3f7aa3484e3470e7fd983eb
refs/heads/master
2023-01-28T14:51:07.304066
2023-01-12T18:38:16
2023-01-12T18:38:16
242,367,069
5
6
Apache-2.0
2021-01-05T23:35:10
2020-02-22T15:45:01
JavaScript
UTF-8
Python
false
false
886
py
# -*- coding: utf-8 -*- from __future__ import unicode_literals import numpy as np import numpy.fft as nf import scipy.io.wavfile as wf import matplotlib.pyplot as mp sample_rate, sigs = wf.read('../../data/freq.wav') sigs = sigs / 2 ** 15 times = np.arange(len(sigs)) / sample_rate freqs = nf.fftfreq(len(sigs), d=1 / s...
[ "1170101471@qq.com" ]
1170101471@qq.com
7b893c27f6bb7e81de39e943a5200791f394b746
65a5f74ede8079d693a70bd9597f063acfbf33fd
/tasks/mc6800_hp53xx/hp5370.py
eeeb858175d2527d953467f6cbdd6f7c54c464ae
[]
no_license
pombredanne/PyRevEng
5372a8322313c81ce065c689eb4b816596c90f8b
08083744806258cfa31edd0132456d70377a9f71
refs/heads/master
2020-09-20T06:55:24.020304
2019-11-11T17:18:38
2019-11-11T17:18:38
null
0
0
null
null
null
null
UTF-8
Python
false
false
6,795
py
#!/usr/local/bin/python # # Functions common to: # HP 5370A # HP 5370B # PyRevEng classes import tree import math import const def chargen(p, adr): for a in range(adr, adr + 16): const.seven_segment(p, a) p.setlabel(adr, "CHARGEN") ####################################################################### # def ke...
[ "phk@FreeBSD.org" ]
phk@FreeBSD.org
7eb892b540bec24047ab9b270b2878817367efbe
a0947c2778742aec26b1c0600ceca17df42326cd
/Python/PythonInADay2/CSV-Files-Drill/37of79-76.py
5d3b516908848e56823b4441139499a3dc51e4cb
[]
no_license
JohnCDunn/Course-Work-TTA
5758319d4607114914ba9723328658bed8fb2024
8c4f60d51007dac2ac4cceb84b0f9666e143c0d7
refs/heads/master
2021-01-10T16:37:02.609879
2016-02-01T18:05:38
2016-02-01T18:05:38
49,983,248
0
0
null
null
null
null
UTF-8
Python
false
false
982
py
import wx class Frame(wx.Frame): def __init__(self, title): wx.Frame.__init__(self, None,\ title=title, size=(300,200)) panel = wx.Panel(self) button = wx.Button(panel,label="Exit",size=(100,40),pos=(100,30)) # Bind button event to the function self.exit button.Bin...
[ "JohnClydeDunn@Gmail.com" ]
JohnClydeDunn@Gmail.com
158f9e632271af09efccef3413b918b3039ae34d
5e80f0b1af9fbf9dc774dbb68aa603574e4ae0ba
/algorithm-study/baekjun/1655.py
5e0d2afac622a64349c666e62c305e6b93e0a95a
[]
no_license
namujinju/study-note
4271b4248b3c4ac1b96ef1da484d86569a030762
790b21e5318a326e434dc836f5f678a608037a8c
refs/heads/master
2023-02-04T13:25:55.418896
2020-12-26T10:47:11
2020-12-26T10:47:11
275,279,138
0
0
null
null
null
null
UTF-8
Python
false
false
329
py
import heapq as hq import sys n = int(input()) arr = [] min_heap = [] for _ in range(n): answer = [] i = int(sys.stdin.readline()) arr.append(i) for j in arr: hq.heappush(min_heap, j) for j in range(len(min_heap)): answer.append(hq.heappop(min_heap)) print(answer[(len(answer)...
[ "59328810+namujinju@users.noreply.github.com" ]
59328810+namujinju@users.noreply.github.com
de801108249a6a022a7033c65c5566e5adc89ccf
508a70d9f57fe5143b5414742974cb2048fbe735
/python/ccxt/async_support/cryptocom.py
e34586049e8efed5dac4b316f067f3175f2d46ed
[ "MIT" ]
permissive
block-crafters/ccxt
928868fedd472e1ccd439288c003007f9f79a8f5
3ff65cdfb6f42dd3e6b55c65c030470ae12c7588
refs/heads/master
2022-11-13T02:31:10.878712
2022-11-07T11:28:58
2022-11-07T11:28:58
236,698,601
0
0
MIT
2021-03-05T09:03:39
2020-01-28T09:24:54
JavaScript
UTF-8
Python
false
false
100,779
py
# -*- coding: utf-8 -*- # PLEASE DO NOT EDIT THIS FILE, IT IS GENERATED AND WILL BE OVERWRITTEN: # https://github.com/ccxt/ccxt/blob/master/CONTRIBUTING.md#how-to-contribute-code from ccxt.async_support.base.exchange import Exchange import asyncio from ccxt.base.errors import ExchangeError from ccxt.base.errors impor...
[ "travis@travis-ci.org" ]
travis@travis-ci.org
daf2fd690c88a4240ea99c0bad37cc113a3714e3
1a0e2871897fec3d345653fc3502909d9d2c48c0
/cellprofiler_core/analysis/request/_debug_complete.py
bfe423f13d1202e2543f6980897e577b1bff1039
[]
no_license
citypalmtree/core
91ec8d75a09240c57a64708985a2e13fdeaab23d
51f7aa318f126d4ec7be59780c8f88d4208b0ab1
refs/heads/master
2022-11-15T03:13:01.843990
2020-07-08T01:56:39
2020-07-08T01:56:39
277,964,195
0
0
null
2020-07-08T01:54:03
2020-07-08T01:54:02
null
UTF-8
Python
false
false
204
py
import cellprofiler_core.utilities.zmq.communicable.request._analysis_request class DebugComplete( cellprofiler_core.utilities.zmq.communicable.request._analysis_request.AnalysisRequest ): pass
[ "allen.goodman@icloud.com" ]
allen.goodman@icloud.com
ec2100ffe81fc6bc9ee3ca2204b9dd7491bff4ad
7a20dac7b15879b9453150b1a1026e8760bcd817
/Curso/Challenges/URI/1154Ages.py
28441b2097ef52e9af04e5429015523bfb5896f7
[ "MIT" ]
permissive
DavidBitner/Aprendizado-Python
7afbe94c48c210ddf1ab6ae21109a8475e11bdbc
e1dcf18f9473c697fc2302f34a2d3e025ca6c969
refs/heads/master
2023-01-02T13:24:38.987257
2020-10-26T19:31:22
2020-10-26T19:31:22
283,448,224
0
0
null
null
null
null
UTF-8
Python
false
false
143
py
soma = media = 0 while True: n = int(input()) if n < 0: break media += n soma += 1 media /= soma print(f"{media:.2f}")
[ "david-bitner@hotmail.com" ]
david-bitner@hotmail.com
4b13cfb3c68251ebdc78db99a7e5eebc94d6f1ec
53784d3746eccb6d8fca540be9087a12f3713d1c
/res/packages/scripts/scripts/client/gui/prb_control/entities/e_sport/unit/requester.py
4528c5a9cd0d410cd77307002ee02942ac25909b
[]
no_license
webiumsk/WOT-0.9.17.1-CT
736666d53cbd0da6745b970e90a8bac6ea80813d
d7c3cf340ae40318933e7205bf9a17c7e53bac52
refs/heads/master
2021-01-09T06:00:33.898009
2017-02-03T21:40:17
2017-02-03T21:40:17
80,870,824
0
0
null
null
null
null
WINDOWS-1250
Python
false
false
9,046
py
# 2017.02.03 21:48:41 Střední Evropa (běžný čas) # Embedded file name: scripts/client/gui/prb_control/entities/e_sport/unit/requester.py import time import BigWorld from PlayerEvents import g_playerEvents from UnitBase import UNIT_ERROR from debug_utils import LOG_ERROR, LOG_DEBUG from gui import SystemMessages from gu...
[ "info@webium.sk" ]
info@webium.sk
ca699a7935f6cc559fb7425359c4f7e78b6d3cb4
a5a99f646e371b45974a6fb6ccc06b0a674818f2
/RecoJets/JetProducers/python/TracksForJets_cff.py
059b08f72f44f40aa58bc9d58c52963f54292b51
[ "Apache-2.0" ]
permissive
cms-sw/cmssw
4ecd2c1105d59c66d385551230542c6615b9ab58
19c178740257eb48367778593da55dcad08b7a4f
refs/heads/master
2023-08-23T21:57:42.491143
2023-08-22T20:22:40
2023-08-22T20:22:40
10,969,551
1,006
3,696
Apache-2.0
2023-09-14T19:14:28
2013-06-26T14:09:07
C++
UTF-8
Python
false
false
264
py
import FWCore.ParameterSet.Config as cms from SimGeneral.HepPDTESSource.pythiapdt_cfi import * trackRefsForJets = cms.EDProducer("ChargedRefCandidateProducer", src = cms.InputTag('trackWithVertexRefSelector'), particleType = cms.string('pi+') )
[ "giulio.eulisse@gmail.com" ]
giulio.eulisse@gmail.com
966dba2f8f26a6952139c9d1757edd97074c1c7a
505343f6ace00d22f8753c1a943a5794a619e698
/katas/Python/2 kyu/Assembler interpreter part II 58e61f3d8ff24f774400002c.py
fdbc8ca03e20526570fb2185924e2f3f83a72eed
[]
no_license
bullet1337/codewars
7652e50bf768bc47976a9124dd98b93602d4d458
ba7f13ddd766158b41e036dae5d6b15f7f08761a
refs/heads/master
2020-03-27T05:04:03.751302
2019-04-30T17:45:39
2019-04-30T17:45:39
145,991,995
1
0
null
null
null
null
UTF-8
Python
false
false
4,575
py
# https://www.codewars.com/kata/58e61f3d8ff24f774400002c class Frame: def __init__(self, ip=0): self.ip = ip self.cmp = 0 def mov(operands, frame): registers[operands[0]] = registers[operands[1]] if operands[1].isalpha() else int(operands[1]) frame.ip += 1 def inc(operands, frame): r...
[ "alichek95@mail.ru" ]
alichek95@mail.ru
33bea5a81924a0c881a7e98ae59251af0b7efea9
4d07dfc5005ffe1d40337f99dea2ce20a5454a4e
/call-management/rule-management/create-company-greeting/code-samples/createCompanyGreeting.py
69c0da247695ca7fa8e303df8fcf3c657f204ab1
[]
no_license
ringcentral/ringcentral-api-code-samples
c6160c7cf305ec01709ddf87e830a513e3b2d17e
92d75734e82809c56ae572b1a0347d5e8c222a0e
refs/heads/master
2021-12-25T02:09:17.653787
2019-08-30T22:06:03
2019-08-30T22:06:03
204,058,290
2
4
null
2021-11-30T14:37:01
2019-08-23T19:28:26
C#
UTF-8
Python
false
false
753
py
# https://developers.ringcentral.com/my-account.html#/applications # Find your credentials at the above url, set them as environment variables, or enter them below # PATH PARAMETERS accountId = '<ENTER VALUE>' import os from ringcentral import SDK rcsdk = SDK(os.environ['clientId'], os.environ['clientSecret'], os.env...
[ "drew.ligman@gmail.com" ]
drew.ligman@gmail.com
b7c88331aa45890842ae86b76706f18dc7eec82d
e9757274ddb8484e27590ff0cc3f24550776c6cc
/Solved/0118/0118.py
27c242f3f3dfd5e5fd672ace23028e7362ab786a
[]
no_license
Jinmin-Goh/LeetCode
948a9b3e77eb03507aad6f3c78640aa7f00e6ad5
d6e80b968032b08506c5b185f66d35c6ff1f8bb9
refs/heads/master
2020-09-22T10:22:18.443352
2020-09-06T06:34:12
2020-09-06T06:34:12
225,153,497
1
1
null
2020-01-29T15:16:53
2019-12-01T11:55:25
Python
UTF-8
Python
false
false
666
py
# Problem No.: 118 # Solver: Jinmin Goh # Date: 20200115 # URL: https://leetcode.com/problems/pascals-triangle/ import sys class Solution: def generate(self, numRows: int) -> List[List[int]]: if not numRows: return [] if numRows == 1: return [[1]] if num...
[ "eric970901@gmail.com" ]
eric970901@gmail.com
2bfd1f9141a25054ee6e3c064715759677b1c827
bed34365a9dab825fd9f4a4ff1b0863f441266ac
/neutron/tests/unit/services/l3_router/test_l3_router_plugin.py
f045e58567b74fdf465206b618b148d783818291
[ "Apache-2.0" ]
permissive
openstack/neutron
0913ee3cd69d5bdb9c10aa084d4e1803abee320c
dde31aae392b80341f6440eb38db1583563d7d1f
refs/heads/master
2023-08-31T13:09:41.831598
2023-08-31T11:37:30
2023-08-31T11:37:30
2,400,289
1,174
1,325
Apache-2.0
2022-06-29T08:00:05
2011-09-16T16:04:08
Python
UTF-8
Python
false
false
1,192
py
# All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); you may # not use this file except in compliance with the License. You may obtain # a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, softw...
[ "ihrachys@redhat.com" ]
ihrachys@redhat.com
73bf36c731ba344577a5b0017978458b51d26d58
6a95b330e1beec08b917ff45eccfd6be3fd4629f
/kubernetes/test/test_v1beta1_cluster_role_list.py
5817779990b99ae2d28c041fd3d6cc6e8c697e19
[ "Apache-2.0" ]
permissive
TokkoLabs/client-python
f4a83d6540e64861b59e322c951380a670578d7f
f1ad9c6889105d8510472606c98f8d3807f82020
refs/heads/master
2023-07-14T01:36:46.152341
2017-12-21T21:32:11
2017-12-21T21:32:11
115,042,671
0
0
Apache-2.0
2021-08-06T03:29:17
2017-12-21T20:05:15
Python
UTF-8
Python
false
false
1,011
py
# coding: utf-8 """ Kubernetes No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) OpenAPI spec version: v1.8.2 Generated by: https://github.com/swagger-api/swagger-codegen.git """ from __future__ import absolute_import import os import sys im...
[ "mehdy@google.com" ]
mehdy@google.com
52f0f1e13a19477a42d2b64fe74e4c98a2fd2bb5
247b4e8e425b06a96a835426304629b39ed4021c
/foo/logs.py
4e95137361ffe91ec3fc42b4c147f928dce627b3
[ "MIT" ]
permissive
RobertoPrevato/PythonCLI
63f19a8e07e44731684aef0e7394afd7b63400fb
4d4af7cd66ab8f9a5bed2a5d01236ef29753401f
refs/heads/master
2023-04-04T17:45:38.330844
2020-07-06T09:02:17
2020-07-06T09:02:17
271,034,925
2
0
MIT
2021-04-20T20:01:41
2020-06-09T15:06:48
Python
UTF-8
Python
false
false
698
py
import logging import logging.handlers from datetime import datetime from essentials.folders import ensure_folder logger = None def get_app_logger(): global logger if logger is not None: return logger logger = logging.getLogger("app") logger.setLevel(logging.INFO) max_bytes = 24 * 10...
[ "roberto.prevato@gmail.com" ]
roberto.prevato@gmail.com
80ed2e1cb5dabb511c53b4fff6507fc0ad98f2d8
66cab93c26cc252f412860778131b208c6f120be
/parts/newproject/pyramid/scaffolds/tests.py
276f529f9e58739a8628631f8305a38963d21f49
[]
no_license
marcogarzini/Zodiac
3332733f6ae8d64924557ff022f44c835aeac0a9
06e8ad0c709189dc65a26fb7d6c17a9ee2bc9112
refs/heads/master
2016-09-11T03:18:12.805299
2014-01-17T12:50:03
2014-01-17T12:50:03
null
0
0
null
null
null
null
UTF-8
Python
false
false
76
py
/home/user1/newproject/eggs/pyramid-1.4-py2.7.egg/pyramid/scaffolds/tests.py
[ "user1@user1-VirtualBox.(none)" ]
user1@user1-VirtualBox.(none)
279de8adb2b3699b3b64a4025c81b0b05274086a
4eaa1b9b08914e0a2cc9276363e489ccef19d3a2
/ch8/greet_users.py
63aab04ab28079790f3930251a60e913741e89b7
[]
no_license
melihcanyardi/Python-Crash-Course-2e-Part-I
69b3b5b3f63cdbd7be6fabd6d4f2ddfd9a3434a3
0c9b250f512985c04b2c0397f3afaa8bf3a57f17
refs/heads/main
2023-03-12T21:43:14.012537
2021-03-03T19:23:41
2021-03-03T19:23:41
344,236,741
0
0
null
null
null
null
UTF-8
Python
false
false
221
py
def greet_users(names): """Print a simple greeting to each user.""" for name in names: msg = f"Hello, {name.title()}!" print(msg) # usernames = ['hannah', 'ty', 'magot'] # greet_users(usernames)
[ "melihcanyardi@hotmail.com" ]
melihcanyardi@hotmail.com
aa384a4a3e2205567ada8b3ee0295314af2675c8
124df74bce796598d224c4380c60c8e95756f761
/com.raytheon.viz.gfe/python/pyViz/GFEPainter.py
c5f2d6d8b3807067950be6acb09305d7188c1141
[]
no_license
Mapoet/AWIPS-Test
19059bbd401573950995c8cc442ddd45588e6c9f
43c5a7cc360b3cbec2ae94cb58594fe247253621
refs/heads/master
2020-04-17T03:35:57.762513
2017-02-06T17:17:58
2017-02-06T17:17:58
null
0
0
null
null
null
null
UTF-8
Python
false
false
10,221
py
## # This software was developed and / or modified by Raytheon Company, # pursuant to Contract DG133W-05-CQ-1067 with the US Government. # # U.S. EXPORT CONTROLLED TECHNICAL DATA # This software product contains export-restricted data whose # export/transfer/disclosure is restricted by U.S. law. Dissemination # to non-...
[ "joshua.t.love@saic.com" ]
joshua.t.love@saic.com
5bb865f631f65936ec4c9d374b4cf780d649646f
2e083b7dbbce8c823c38a1a5d0863fe2f96903ff
/MyStock/MyStock/urls.py
afa179d67bc33f5f7d9844a6c62bc676b74aeadf
[]
no_license
jayquake/Django_Applications
4d49023f954c86e0c53e18ec8e67137c9fe016a0
ee0e12e8af502ca4fa0f6281ead955b1b1e7ebb1
refs/heads/master
2023-03-10T07:12:52.192224
2021-02-21T10:58:58
2021-02-21T10:58:58
259,059,961
0
0
null
null
null
null
UTF-8
Python
false
false
749
py
"""MyStock URL Configuration The `urlpatterns` list routes URLs to views. For more information please see: https://docs.djangoproject.com/en/3.1/topics/http/urls/ Examples: Function views 1. Add an import: from my_app import views 2. Add a URL to urlpatterns: path('', views.home, name='home') Class-based...
[ "jayquake@gmail.com" ]
jayquake@gmail.com
2cdb67f0b58fa12f5e124cf54892ae880d47cfd2
23f6dbacd9b98fdfd08a6f358b876d3d371fc8f6
/rootfs/usr/share/pyshared/aptdaemon/worker.py
b64f81aef08b2ace507785400fbbc5b8dbfde7e1
[]
no_license
xinligg/trainmonitor
07ed0fa99e54e2857b49ad3435546d13cc0eb17a
938a8d8f56dc267fceeb65ef7b867f1cac343923
refs/heads/master
2021-09-24T15:52:43.195053
2018-10-11T07:12:25
2018-10-11T07:12:25
116,164,395
0
0
null
null
null
null
UTF-8
Python
false
false
44,535
py
#!/usr/bin/env python # -*- coding: utf-8 -*- """Provides AptWorker which processes transactions.""" # Copyright (C) 2008-2009 Sebastian Heinlein <devel@glatzor.de> # # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free ...
[ "root@xinli.xinli" ]
root@xinli.xinli
9c33821a24871a6e6eabc82aca793dca44554b7d
38fff7bdefd8d62a740d51329b50d0e1e49258bb
/infra/cifuzz/cifuzz_end_to_end_test.py
30e28beda330c621ac3a0f5b9d1ee2dc11a5e463
[ "Apache-2.0" ]
permissive
google/oss-fuzz
026384c2ada61ef68b147548e830f60730c5e738
f0275421f84b8f80ee767fb9230134ac97cb687b
refs/heads/master
2023-08-31T23:30:28.157702
2023-08-31T21:49:30
2023-08-31T21:49:30
63,809,205
9,438
2,315
Apache-2.0
2023-09-14T20:32:19
2016-07-20T19:39:50
Shell
UTF-8
Python
false
false
1,841
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, ...
[ "noreply@github.com" ]
google.noreply@github.com
d00d266ba80663b9ebfeb3cc61a78e1314118b06
2491df3f643539e6055bb0b2a4b659474c57491f
/nonRepeating.py
448672a1d5248162813e6d1da3a085a5576289a6
[]
no_license
ghilbing/Ejemplos
85efc91346028b8a3d26d7680d9286b26234c771
339a45ef48c9a61002a01f7c823cc42d34fab409
refs/heads/master
2021-05-13T13:58:33.010157
2018-02-26T20:44:44
2018-02-26T20:44:44
116,724,506
0
0
null
null
null
null
UTF-8
Python
false
false
282
py
def nonRepeating(A): dictionary = {} for c in A: if c in dictionary: dictionary[c] += 1 else: dictionary[c] = 1 for c in A: if dictionary[c] == 1: return c return None A = "aabbdbc" print nonRepeating(A)
[ "ghilbing@gmail.com" ]
ghilbing@gmail.com
ed6e2fd9aa9f97143e4c73ed7f12ea853cca8b45
e2f0806ca1cdd887ea40d050a19fa2710427bd38
/도전 문제/04주차_그리디/1339_단어 수학/banghyungjin_1339.py
bace9ef7dcea98724223d5ffa32bf5cf39bdf06e
[]
no_license
JY-Dev/AlgorithmStudy-1
001f94d80097c850c79eeb2bc86971a01aa5bd5d
2ad1df0fd65c72a6f6d1feeba09f889000ff8c15
refs/heads/main
2023-08-21T18:38:18.235994
2021-09-28T07:07:11
2021-09-28T07:07:11
406,208,087
1
0
null
2021-09-14T03:14:32
2021-09-14T03:14:31
null
UTF-8
Python
false
false
1,904
py
import sys num_of_letters = int(sys.stdin.readline().split()[0]) # 단어의 개수 letters = {} # 알파벳과 그 알파벳이 나온 숫자 딕셔너리 answer = 0 # 정답 ...
[ "noreply@github.com" ]
JY-Dev.noreply@github.com
f36e3d60041a50a234a84aba86475d750f8bf046
8b7778d3c65f3688105e43718152da2c734ffa26
/2.Travel_Request/data/Get_TestData/Get_D1_AM_Data.py
f229dca9ebff929a4e5484ebfc330be6b5e81771
[]
no_license
zzworkaccount/OpenSourceLibrary
ab49b3f431c0474723dfad966ca09e29b07527eb
0f99f881eb8a1f4ddebbc5e7676289d01e6ffe19
refs/heads/main
2023-01-29T05:02:56.341004
2020-12-03T12:05:59
2020-12-03T12:05:59
315,920,584
0
0
null
null
null
null
UTF-8
Python
false
false
1,191
py
# 从Save_TestData拿到测试数据 from tools.util import Utility class Get_SM_TestData: # 从Excel中获取登录的测试数据(查询演职人员) @classmethod def get_login_excel_data_query_actor(cls, row=0): login_info = Utility.get_json\ (Utility.get_root_path() + '\\conf\\Excel_conf\\D_AM.conf')[0] login_data = Uti...
[ "1434895836@qq.com" ]
1434895836@qq.com
26bd976b6ddc99461c454b2ab282d2464995263f
9d6817b67f7993b3a43319894ebd508b1fa92f9f
/configs/SMP-RunIISummer20UL16wmLHEGEN-00020_1_cfg.py
3bf496216d6131b3bcfe0e6aec8c453ba7f1200c
[]
no_license
kdlong/WMassNanoGen
b7c5c12df52862d7dd9d9554d7654b9e5d701167
d1e0c6db75f671eb593cf907307189cd95aa31f6
refs/heads/master
2023-06-27T07:21:53.971633
2023-06-19T13:32:41
2023-06-19T13:32:41
235,908,488
2
7
null
2023-06-12T09:10:10
2020-01-23T23:43:11
Python
UTF-8
Python
false
false
11,485
py
# Auto generated configuration file # using: # Revision: 1.19 # Source: /local/reps/CMSSW/CMSSW/Configuration/Applications/python/ConfigBuilder.py,v # with command line options: Configuration/GenProduction/python/SMP-RunIISummer20UL16wmLHEGEN-00020-fragment.py --fileout file:SMP-RunIISummer20UL16wmLHEGEN-00020.root ...
[ "kdlong@hep.wisc.edu" ]
kdlong@hep.wisc.edu
aa03a2a0ee9d005770a80b0f38d0e4aaf1b36800
450448e0ddb786fd13cfe9f6df5aa47573769fdc
/tripleaxisproject/gui/bspline3.py
2013aaaf1ff207a20edbdcfe3f17b93f76a3155a
[]
no_license
williamratcliff/tripleaxisproject
70bbd9ab5f7f1d2f30ced18b0887e51a1e3551e8
8649730ccc03e7d172ad41db776e2df9b463f3d6
refs/heads/master
2021-01-19T20:18:25.875294
2018-09-12T20:43:46
2018-09-12T20:43:46
32,125,247
2
0
null
null
null
null
UTF-8
Python
false
false
5,791
py
import numpy as N def max(a,b): return (a<b).choose(a,b) def min(a,b): return (a>b).choose(a,b) def lookup(a,b): return a.searchsorted(b) def cat(*args): return N.concatenate(args) # f, f', f'', f''' = bspline3(knot, control, t, nderiv=0) # Evaluate the B-spline specified by the gi...
[ "william.ratcliff@e28a235e-f944-0410-a937-4d0c1e564b32" ]
william.ratcliff@e28a235e-f944-0410-a937-4d0c1e564b32
87c991b0181b8c4ceac044906c173fd51e8341be
b76615ff745c6d66803506251c3d4109faf50802
/pyobjc-framework-CoreText/PyObjCTest/test_coretext.py
1cbd69a8ce38bd6cf94b9f0fff3c13bac2b8271a
[ "MIT" ]
permissive
danchr/pyobjc-git
6ef17e472f54251e283a0801ce29e9eff9c20ac0
62b787fddeb381184043c7ff136f1c480755ab69
refs/heads/master
2021-01-04T12:24:31.581750
2020-02-02T20:43:02
2020-02-02T20:43:02
240,537,392
0
0
null
null
null
null
UTF-8
Python
false
false
1,112
py
from PyObjCTools.TestSupport import * from CoreText import * class TestCoreText(TestCase): def testConstants(self): self.assertEqual(kCTVersionNumber10_5, 0x00020000) self.assertEqual(kCTVersionNumber10_5_2, 0x00020001) self.assertEqual(kCTVersionNumber10_5_3, 0x00020002) self.ass...
[ "ronaldoussoren@mac.com" ]
ronaldoussoren@mac.com
a2c1ecc98cc0627fd78f90919a8545ff4de92e84
8426ae07c324370d87a0f009f1aae872a3efade1
/tools/viewing/view_histogram.py
47d3851ffbfb80add5f8d6c95cb0fc2809ba6f54
[]
no_license
TomChow01/docrec-tifs18
2d4e95592732d9b42c023c2be912ba52cb1054f5
08e8099a9f5c95f8d513083acc321bebabb41245
refs/heads/master
2022-02-12T05:58:13.276509
2019-06-24T11:48:33
2019-06-24T11:48:33
null
0
0
null
null
null
null
UTF-8
Python
false
false
820
py
import sys sys.path.append('../') import matplotlib.pyplot as plt import cv2 import numpy as np from scipy import stats img_filename = sys.argv[1] fig = plt.figure(figsize=(12, 12), dpi=300) ax1 = fig.add_subplot(121) ax2 = fig.add_subplot(122) # Open as graysacle gray = cv2.imread(img_filename, cv2.IMREAD_GRAYSCA...
[ "paixao@gmail.com" ]
paixao@gmail.com
5991535deca4ef0b5cf2d84263c3b15c13c62e3c
609d037275a6b7c6aeae194c6ac0fe0a5ffc72e5
/train.py
882a10809c965c4a008846a208676957130e4b58
[]
no_license
RobertSamoilescu/Robotics
e23da73073a819a158c37701d7aede48e7b8946e
58a7fb61fd2f21bf0af5f73c5ffb2efe42b22a31
refs/heads/master
2020-05-24T20:51:52.256121
2019-05-22T17:58:01
2019-05-30T20:56:23
187,463,274
0
0
null
null
null
null
UTF-8
Python
false
false
3,515
py
import torch import model import sys from logger import Logger from model import * # define constants batch_size = 64 num_workers = 7 # define loaders train_dataset = UPBDataset("train", augmentation=True) train_dataloader = DataLoader(train_dataset, batch_size=batch_size, shuffle=True, num_workers=num_workers) va...
[ "robert.samoilescu@gmail.com" ]
robert.samoilescu@gmail.com
9b930daeaf526a170c1f5dd3a676f6432129f540
714803060d2d667f4d331b605281304469c82f75
/bcbio/variation/population.py
b32afd052af3d39124fdb13f34a733a45d5c7bba
[ "MIT" ]
permissive
nirajkhe/bcbio-nextgen
60b09a14830833737b406072c9b8ecbe49a16a8f
84a77ddab0eaa2614bc4ba42f5d66c8e557f7ea5
refs/heads/master
2021-01-15T12:31:35.674209
2014-12-13T11:18:19
2014-12-13T11:18:55
null
0
0
null
null
null
null
UTF-8
Python
false
false
8,982
py
"""Provide infrastructure to allow exploration of variations within populations. Uses the gemini framework (https://github.com/arq5x/gemini) to build SQLite database of variations for query and evaluation. """ import collections from distutils.version import LooseVersion import os import subprocess import toolz as tz...
[ "chapmanb@50mail.com" ]
chapmanb@50mail.com
52eb6c8fd544416acfe3ad485d74995d1f24f22e
4040b4103295141d979e004e34426aefed01f5d6
/student_list.py
687cee506be61e27919b8792662e6e68166ea757
[]
no_license
mehulchopradev/bryan-python
f2fe55d8a6043333127bef7af9f359aae008b74f
7ef405b40855c6fe7efac981c6b9d7b6aadc3237
refs/heads/master
2020-08-23T07:23:21.109175
2019-10-30T13:04:05
2019-10-30T13:04:05
216,570,101
0
0
null
null
null
null
UTF-8
Python
false
false
684
py
from com.abc.college.student import Student '''slist = [ Student('mehul', 'm', 10), Student('bryan', 'm', 5), Student('jane', 'f', 23) ]''' smap = { 10: Student('mehul', 'm', 10), 5: Student('bryan', 'm', 5), 23: Student('jane', 'f', 23) } roll = int(input('Enter roll to search : ')) '''for student in s...
[ "Mehul.Chopra@avalara.com" ]
Mehul.Chopra@avalara.com
9321b829a43b3d9c0238e474739ef74a0282542a
27bfa36b30e86dc749e3ff0d405d702721484eaa
/venv/bin/easy_install
00e86fb213ca698413a89417260af1a2831660d9
[]
no_license
mr-kaveh/miniblog
00e9cb13067e2a02471d2ca8a92c1606f5307eef
b9bc6a652c16db6b487af895b1f4a7e4e62fb964
refs/heads/master
2020-04-13T16:02:59.025841
2019-01-11T17:06:29
2019-01-11T17:06:29
163,310,960
0
0
null
null
null
null
UTF-8
Python
false
false
445
#!/home/hossein/myScripts/megaTutorial/blog/venv/bin/python # EASY-INSTALL-ENTRY-SCRIPT: 'setuptools==39.1.0','console_scripts','easy_install' __requires__ = 'setuptools==39.1.0' import re import sys from pkg_resources import load_entry_point if __name__ == '__main__': sys.argv[0] = re.sub(r'(-script\.pyw?|\.exe)?...
[ "mr.hdavoodi@gmail.com" ]
mr.hdavoodi@gmail.com
5ba7c9187bdea4e96a93da519265ab3849441bb1
b289cc5016d394ff3137e85cf924d9c361c4d223
/test/venv/Scripts/pip3-script.py
9d042772e108f6506edb75a7a1635d77dcb5ab42
[]
no_license
thundernova/spider
0b409fccbe21998bb4179794dc46c887e2203608
ebf5198e5bffa4c1c6282a88245fdf41ec37b86c
refs/heads/master
2022-12-28T16:28:48.416976
2019-09-26T09:43:08
2019-09-26T09:43:08
null
0
0
null
null
null
null
WINDOWS-1252
Python
false
false
411
py
#!E:\ÅÀ³æ\ÅÀ³æÏîÄ¿\test\venv\Scripts\python.exe -x # EASY-INSTALL-ENTRY-SCRIPT: 'pip==10.0.1','console_scripts','pip3' __requires__ = 'pip==10.0.1' 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]) sys.ex...
[ "315909056@qq.com" ]
315909056@qq.com
e7f1d3c40f50cd034136f6d0db6199b787754ea5
facb8b9155a569b09ba66aefc22564a5bf9cd319
/wp2/merra_scripts/03_model_fitting/merraRF882/868-tideGauge.py
ba649b09866db77f7861a146ed63d959be6d0543
[]
no_license
moinabyssinia/modeling-global-storm-surges
13e69faa8f45a1244a964c5de4e2a5a6c95b2128
6e385b2a5f0867df8ceabd155e17ba876779c1bd
refs/heads/master
2023-06-09T00:40:39.319465
2021-06-25T21:00:44
2021-06-25T21:00:44
229,080,191
0
0
null
null
null
null
UTF-8
Python
false
false
7,456
py
# -*- coding: utf-8 -*- """ Created on Mon May 4 15:51:30 2020 This program is designed to validate a Random Forest model by using the KFOLD method @author: Michael Tadesse """ #import packages import os import glob import numpy as np import pandas as pd from sklearn import metrics from scipy import stats import se...
[ "michaelg.tadesse@gmail.com" ]
michaelg.tadesse@gmail.com
da510a13d601fed9b2e8679f23a3ef9b8f484811
428853ca880fb863ef708022ccac1258c25fc850
/vart/network/nn_base.py
0902104c3683868705c0917fbf3164f205fc2d1f
[ "Apache-2.0" ]
permissive
NicoRenaud/vArt
2ddb47cd3ee9dd725096c40e69b153db2f78eb03
f6d50f9499c2fca7e07bf8a3b68d81f70649fb10
refs/heads/master
2020-07-24T08:04:18.602264
2019-09-12T16:27:32
2019-09-12T16:27:32
207,857,937
0
0
null
null
null
null
UTF-8
Python
false
false
5,090
py
import autograd.numpy as np from autograd import elementwise_grad as egrad from autograd import hessian, jacobian from functools import partial import torch from torch import nn import torch.nn.functional as F from torch.autograd import grad, Variable from time import time class WaveFunction(nn.Module): def __...
[ "nicolas.gm.renaud@gmail.com" ]
nicolas.gm.renaud@gmail.com
7022095a59a50e7551cff88e0bfad6084ddddf93
ff4fe07752b61aa6404f85a8b4752e21e8a5bac8
/challenge-215/roger-bell-west/python/ch-2.py
0dca0440e596590236e0101c7b6d153af66bb44f
[]
no_license
choroba/perlweeklychallenge-club
7c7127b3380664ca829158f2b6161c2f0153dfd9
2b2c6ec6ece04737ba9a572109d5e7072fdaa14a
refs/heads/master
2023-08-10T08:11:40.142292
2023-08-06T20:44:13
2023-08-06T20:44:13
189,776,839
0
1
null
2019-06-01T20:56:32
2019-06-01T20:56:32
null
UTF-8
Python
false
false
640
py
#! /usr/bin/python3 def numberplacement(a0, ct): a = [1] + a0 + [1] s = 0 tt = 0 for i in range(1, len(a)): if a[i - 1] == 1 and a[i] == 0: s = i elif a[i - 1] == 0 and a[i] == 1: tt += (i - s) // 2 return ct <= tt import unittest class TestNumberplacement(unittest.TestCase): def tes...
[ "roger@firedrake.org" ]
roger@firedrake.org
289e20471c5101745fd5c8ae3a1b183a640d13f0
6bf4e54f8ae95582b73bb969ba44069c64e87651
/kdhi/main_site/migrations/0064_auto_20200604_1726.py
274bb623cea8b66901484390548f0a57fc0e0532
[]
no_license
speedycowenator/kdhi_migration
4bc983c4656a2a87cb056461bfb4219e38da1a85
422b2e3f142a30c81f428fb8eaa813e4a71d56fc
refs/heads/master
2022-11-14T13:27:51.520697
2020-07-02T19:31:12
2020-07-02T19:31:12
246,138,874
0
0
null
null
null
null
UTF-8
Python
false
false
519
py
# Generated by Django 2.2.5 on 2020-06-04 21:26 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('main_site', '0063_auto_20200601_2331'), ] operations = [ migrations.AlterField( model_name='position', name='positio...
[ "54556114+speedycowenator@users.noreply.github.com" ]
54556114+speedycowenator@users.noreply.github.com
10dcfc0a2776192fbdf3dfb574af35850dc1b8d4
0a2cc497665f2a14460577f129405f6e4f793791
/sdk/resources/azure-mgmt-resource/azure/mgmt/resource/policy/v2017_06_01_preview/aio/operations/_policy_assignments_operations.py
a7decebc5e6714ca400d5980c671cf92c2ee43ff
[ "MIT", "LGPL-2.1-or-later", "LicenseRef-scancode-generic-cla" ]
permissive
hivyas/azure-sdk-for-python
112158aa9e1dd6e30cf6b3dde19f5db6ea2a577b
8b3258fa45f5dc25236c22ad950e48aa4e1c181c
refs/heads/master
2023-06-17T12:01:26.392186
2021-05-18T19:56:01
2021-05-18T19:56:01
313,761,277
1
1
MIT
2020-12-02T17:48:22
2020-11-17T22:42:00
Python
UTF-8
Python
false
false
33,220
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" ]
hivyas.noreply@github.com
3f8d86dba81d3a794f9f8cabc515358a27dd1aaf
623701d50b98b678707771f06cd81d72a819ee80
/sigfox_api_client/models/cellular_connectivity_base.py
70d27e23944e67671f46f1c5722246c8ca433470
[]
no_license
besterjaco/sigfoxapi
1a63c6687bd26aa8a76248a8ea59532c786f6c78
03d86819365de95c0da32de1b1de0b7fd20a3c3d
refs/heads/master
2020-09-21T17:05:47.908180
2019-11-27T11:20:51
2019-11-27T11:20:51
224,859,813
0
0
null
null
null
null
UTF-8
Python
false
false
12,019
py
# coding: utf-8 """ Sigfox API # API overview Sigfox API is used to integrate with the Sigfox platform. The API uses the HTTP protocol, following the REST principles (POST, GET, DELETE, PUT requests). The API endpoints accept and return data in the JSON format, with the corresponding \"application/json\" co...
[ "JacoB3@discovery.co.za" ]
JacoB3@discovery.co.za
1d2be9dea9766f873a9dbdadadf1fdabc7f5fa98
fecca37427d8f6d3b2e818c16d0cb4d4d26a0092
/job_helper.py
72ac9509ef3542d67c0968affd81648238ea45e7
[ "MIT" ]
permissive
TheoPis/cutmix-semisup-seg
88993d3582b59c588bc8470f3a679879330ddb88
d5f7f58a202ec16d0276eec5a1160fd14c1d4b26
refs/heads/master
2022-11-13T10:16:19.764384
2020-07-10T08:46:07
2020-07-10T08:46:07
null
0
0
null
null
null
null
UTF-8
Python
false
false
5,414
py
import os import inspect import sys, re LOG_PREFIX = re.compile('log_(\d+)') JOB_DIR_PREFIX = re.compile('(\d+)') class LogAlreadyExistsError (Exception): pass class Logger (object): def __init__(self, path, stream): self.path = path self.stream = stream def write(self, x): wi...
[ "brittix1023@gmail.com" ]
brittix1023@gmail.com
634ad5ca3726b53d84a17fb2426236c7c123d9f2
acb8e84e3b9c987fcab341f799f41d5a5ec4d587
/langs/1/bWv.py
c3d10fc535b8dd767ef024308a9e13b87d4d864b
[]
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
32c5685349516c253ce1c6823ff31d31d95fb77e
c9f1cc3a6715917d658a6e525b7c2d35b0380f9f
/Non_canonical_introns/SIM2/random_print.py
6c29297bbbdef8a3c5f1bced21b3825b26a980b3
[]
no_license
geparada/my_src
4f84887130b985e84aad3d0d35e85911087d9b4f
8d64f7ef51e1f74303ca88beb0ee964f546d8301
refs/heads/master
2021-01-17T01:50:50.414690
2017-03-14T10:01:50
2017-03-14T10:01:50
20,638,727
0
0
null
null
null
null
UTF-8
Python
false
false
278
py
import sys import csv import random def ran_printer(bigfile, P): reader = csv.reader(open(bigfile), dialect='excel-tab' ) for row in reader: R = random.random() if R<=P: print " ".join(row) if __name__ == '__main__': ran_printer(sys.argv[1], float(sys.argv[2]) )
[ "geparada@omics.(none)" ]
geparada@omics.(none)
cc0b891a842f0d95cbaa4fc90d61413db3782199
85c426913d63773c4802a4a3c354df909030654b
/python/FA3/Integration/Copy of Copy of PyFood me and rohita/Copy of Copy of PyFood me and rohita/validations/Validate.py
02ad4496540e48daae0060d8a176a66e271c35b7
[]
no_license
SensehacK/playgrounds
17bf2a3133db6c0cafe185c4cc2c7b59862980aa
3decd550cdb6034db8b497051acaaec8221073aa
refs/heads/master
2023-05-11T20:05:31.680168
2023-04-30T00:01:58
2023-04-30T00:01:58
159,632,542
1
0
null
2023-03-05T11:34:34
2018-11-29T08:27:53
Python
UTF-8
Python
false
false
5,566
py
''' Created on Mar 15, 2017 @author: kautilya.save ''' from database import ViewDB,searchdb from exceptions import CustomException2 def validate_search_category(city,area): list_of_search_categories=searchdb.search_as_a_guest(city,area) if(len(list_of_search_categories)==0): raise CustomE...
[ "kautilyasave@gmail.com" ]
kautilyasave@gmail.com
58cff43dd9b00a860369424cd66fd9750167eee5
3712a929d1124f514ea7af1ac0d4a1de03bb6773
/开班笔记/python数据分析机器学习部分/机器学习/day06/tf.py
c6bbc842ae1c6bfc7f9cff4b546a67aee8307fc8
[]
no_license
jiyabing/learning
abd82aa3fd37310b4a98b11ea802c5b0e37b7ad9
6059006b0f86aee9a74cfc116d2284eb44173f41
refs/heads/master
2020-04-02T20:47:33.025331
2018-10-26T05:46:10
2018-10-26T05:46:10
154,779,387
0
0
null
null
null
null
UTF-8
Python
false
false
579
py
# -*- coding: utf-8 -*- from __future__ import unicode_literals import nltk.tokenize as tk import sklearn.feature_extraction.text as ft import sklearn.preprocessing as sp doc = 'The brown dog is running. ' \ 'The black dog is in the black room. ' \ 'Running in the room is forbidden.' print(doc) sentences = ...
[ "yabing_ji@163.com" ]
yabing_ji@163.com
b093c8113f7bbff2923760d0f934c28f35a0c438
244e751aa882c6df1abb04db8a4de70a0e804ece
/Lesson 8/01 - Visualization 1.py
b8d7326fd3af2964c0f679a09c10a1aa3ab5f3de
[]
no_license
Mostafa-At-GitHub/Intro-to-Data-Science--Udacity
0c0656234a26edee84b430745302f330b8857885
6519e60eb23df6568d64f47cfe7d8600acb8e933
refs/heads/master
2021-09-01T00:40:13.821220
2017-12-23T20:07:47
2017-12-23T20:07:47
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,793
py
import pandas as pd from ggplot import * def plot_weather_data(turnstile_weather): ''' You are passed in a dataframe called turnstile_weather. Use turnstile_weather along with ggplot to make a data visualization focused on the MTA and weather data we used in assignment #3. You should feel free t...
[ "mohamedanwarvic@gmail.com" ]
mohamedanwarvic@gmail.com
51bafdf4e50b66a4ee9225e493ae81aad6aa8505
c70ac4c4f159bf9d0d06870a8975143885b067de
/it_courses/wsgi.py
7849650c3d17ba2337b969d120fbc654eb8a8652
[]
no_license
assigdev/it_courses
b494856e43d02d4ba78018635c3b9fefb48c8522
a2e80fdac0e0e8d43c0b32b7b00cf3ea3c8f7c26
refs/heads/master
2020-03-06T18:24:38.075774
2018-05-07T21:33:48
2018-05-07T21:33:48
127,006,481
0
0
null
null
null
null
UTF-8
Python
false
false
397
py
""" WSGI config for it_courses 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.0/howto/deployment/wsgi/ """ import os from django.core.wsgi import get_wsgi_application os.environ.setdefault("DJANGO_SE...
[ "assigdev@gmail.com" ]
assigdev@gmail.com
2e829c6947f7da5b59fd8d9fd9451aeeaf9e4329
917a27a988bd9617115368f549e26b8a265bf7f9
/fb1/migrations/0023_auto_20200805_1246.py
72f2afc5826d7dc5e6d2b996922193d2a812a4d3
[]
no_license
anand0101/FbPost
0a33ee710120d4c4b753aa87b04a9166605653fe
c649a44070572b286412369d4975cca82c55cdd8
refs/heads/master
2022-11-28T08:01:29.967598
2020-08-06T12:21:28
2020-08-06T12:21:28
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,344
py
# Generated by Django 3.0.6 on 2020-08-05 07:16 import datetime from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('fb1', '0022_auto_20200804_0616'), ] operations = [ migrations.CreateModel( name='Newsdata', fields=[...
[ "ansarihasnain3598@gmail.com" ]
ansarihasnain3598@gmail.com
e29d72cdd89552c4900a47d83ec088569c38a8d6
0f5f6ff75cef3e81419216ba0191bb69a26c9068
/aws/debugging.py
b4f37180a4ccbd3532904ea44281823bfc7115e0
[]
no_license
daddyawesome/CodingP
1c7bbb2edd30333f7cb1b78ec6a0428854c4fa2b
66ab4e452c23f3f770d6ad1e32f604c65e1dcbd3
refs/heads/master
2022-10-13T18:36:23.068195
2022-10-04T07:01:58
2022-10-04T07:01:58
220,047,911
0
0
null
2020-07-07T20:49:07
2019-11-06T17:01:44
Python
UTF-8
Python
false
false
430
py
# Ask the user for a value and confirm the supplied value is greater than 0 def checkvalue(valuetocheck): assert (type(valuetocheck) is int), "You must enter a number." assert (valuetocheck > 0), "Value entered must be greater than 0" if valuetocheck > 4: print("Value is greater than 4") else...
[ "sablay296@gmail.com" ]
sablay296@gmail.com
f2740e448fe9f797da84617de0a145d889873a4b
197ad5eecd8d5fb46e75dff67bab3be96dd961b0
/graphene_mongoengine/fields.py
3865af262e84bcb967d8544f664515fb44cf19c2
[]
no_license
tomasgarzon/graphene-mongoengine
c18a5b51e411e905a8890bdc542898673d0280a7
ecc2116739f56d065c07024c3082958f490307f5
refs/heads/master
2021-01-20T09:20:10.272424
2017-05-04T08:25:44
2017-05-04T08:25:44
90,237,184
4
1
null
null
null
null
UTF-8
Python
false
false
3,272
py
from functools import partial from django.db.models.query import QuerySet from graphene.types import Field, List from graphene.relay import ConnectionField, PageInfo from graphql_relay.connection.arrayconnection import connection_from_list_slice from graphene_django.utils import maybe_queryset from .utils import ge...
[ "tomasgarzonhervas@gmail.com" ]
tomasgarzonhervas@gmail.com
fb81536c36d1bcf3197847f734633a588c8236d2
84db91ca8e14687251eca5d4ffe1a50fde89e4d9
/parsbot/chat/migrations/0001_initial.py
449f59a6375bd31f545fba965f0a53fd9338819d
[ "MIT" ]
permissive
aodarc/project009
426fba89f7978dec5605eadf5b72932f8866201d
3fcd795cd936223442cf09a0a3494fc0fb54ceb3
refs/heads/master
2020-03-28T14:33:40.728781
2018-09-24T20:12:15
2018-09-24T20:12:15
148,499,017
0
1
MIT
2018-09-24T15:52:58
2018-09-12T15:08:02
Python
UTF-8
Python
false
false
1,583
py
# Generated by Django 2.1.1 on 2018-09-24 17:06 from django.conf import settings from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): initial = True dependencies = [ migrations.swappable_dependency(settings.AUTH_USER_MODEL), ] ope...
[ "odarchenko@ex.ua" ]
odarchenko@ex.ua
72a8fb5dde9f4d106f9351a271aa41bde1edf893
97062249c6eb04069c6fb01e71d06bc334c828e1
/apps/sqoop/src/sqoop/api/submission.py
44009836ab097b7541ac0a0f966c8dd8f1f024fe
[ "Apache-2.0" ]
permissive
Albertsss/hue
1c8b31c64cc420a029f5b5b80712fb3d0c6cbd6e
454d320dd09b6f7946f3cc05bc97c3e2ca6cd485
refs/heads/master
2021-07-08T17:21:13.237871
2018-05-30T06:03:21
2018-05-30T06:03:21
135,386,450
0
1
Apache-2.0
2020-07-25T13:36:58
2018-05-30T04:06:18
Python
UTF-8
Python
false
false
2,077
py
#!/usr/bin/env python # Licensed to Cloudera, Inc. under one # or more contributor license agreements. See the NOTICE file # distributed with this work for additional information # regarding copyright ownership. Cloudera, Inc. licenses this file # to you under the Apache License, Version 2.0 (the # "License"); you ma...
[ "540227148@qq.com" ]
540227148@qq.com
162235d8d5abbef1ca2ce0a7af548072e397fc91
4fee81e2fa833911ea2f65ee975cf7cc1724b6a2
/venv/Lib/site-packages/pyrogram/raw/functions/channels/toggle_signatures.py
eef32ab59dc28ad7b0d53afa60d8b335f7bcd8e5
[]
no_license
devID767/Farm_Duel_Bot
453628d2bcaba27dab01338d9368e6727781901e
aaab3c16ec6626f5196f24f741bfeecc63492116
refs/heads/master
2023-08-14T22:06:06.705300
2021-10-08T13:50:15
2021-10-08T13:50:15
360,924,958
3
0
null
null
null
null
UTF-8
Python
false
false
2,435
py
# Pyrogram - Telegram MTProto API Client Library for Python # Copyright (C) 2017-2021 Dan <https://github.com/delivrance> # # This file is part of Pyrogram. # # Pyrogram is free software: you can redistribute it and/or modify # it under the terms of the GNU Lesser General Public License as published # by the Free...
[ "dsarnavskiy77@gmail.com" ]
dsarnavskiy77@gmail.com
43e61b6c59561aa8e5347f9f382de8b3bafcb311
c46becf6497484e4f0a904ad0104a3e971982481
/upbit.py
9cd7ccc8e666e7e4d0f154d05560fef830082c31
[]
no_license
damoa-recommend/time-series-ARIMA
4cfa8213cda0bb4843c583aad94185f27540372a
cb11f7bc0e98c96d0cc2bf532ac46da8ef586240
refs/heads/master
2023-03-26T20:38:18.728032
2021-03-28T06:12:58
2021-03-28T06:12:58
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,575
py
from websocket import WebSocketApp import json, ssl, asyncio from datetime import datetime from model import add_data, fit, forecast try: import thread except ImportError: import _thread as thread import time def on_message(ws, message): msg = json.loads(message.decode('utf-8')) KRW_RATE = 1129 price = ...
[ "pjt3591oo@gmail.com" ]
pjt3591oo@gmail.com
9868dafa6ae43df16ef95315c834cbd07783c1f1
0a1f8957a798006deaa53d10d09f733fab1e6b05
/bin/Python27/Lib/site-packages/sympy/mpmath/function_docs.py
d366172b8daea5a20531b2c580cee1a18f7e52e8
[ "LicenseRef-scancode-other-permissive" ]
permissive
metamorph-inc/meta-core
a89504ccb1ed2f97cc6e792ba52e3a6df349efef
bc7a05e04c7901f477fe553c59e478a837116d92
refs/heads/master
2023-03-07T02:52:57.262506
2023-03-01T18:49:49
2023-03-01T18:49:49
40,361,476
25
15
NOASSERTION
2023-01-13T16:54:30
2015-08-07T13:21:24
Python
UTF-8
Python
false
false
276,840
py
""" Extended docstrings for functions.py """ pi = r""" `\pi`, roughly equal to 3.141592654, represents the area of the unit circle, the half-period of trigonometric functions, and many other things in mathematics. Mpmath can evaluate `\pi` to arbitrary precision:: >>> from mpmath import * >>> mp.dps = 50; m...
[ "kevin.m.smyth@gmail.com" ]
kevin.m.smyth@gmail.com
61bbf79465067d63c29ee60dc6d48f4dca794443
c9ddbdb5678ba6e1c5c7e64adf2802ca16df778c
/cases/pa3/sample/object_attr_get-105.py
667ce2fd6395edeaed0eb054576d151fe61bfa6f
[]
no_license
Virtlink/ccbench-chocopy
c3f7f6af6349aff6503196f727ef89f210a1eac8
c7efae43bf32696ee2b2ee781bdfe4f7730dec3f
refs/heads/main
2023-04-07T15:07:12.464038
2022-02-03T15:42:39
2022-02-03T15:42:39
451,969,776
0
0
null
null
null
null
UTF-8
Python
false
false
183
py
class A(object): a:int = 42 class B(A): b:bool = True def __init__(self:"B"): print("B") a:A = None b:B = None a = b = B() print(a.a) print($Exp.a) print(b.b)
[ "647530+Virtlink@users.noreply.github.com" ]
647530+Virtlink@users.noreply.github.com
77bebce4924876a513ff4cdcd4fcae2b0bcc671e
ca7aa979e7059467e158830b76673f5b77a0f5a3
/Python_codes/p02811/s286027298.py
f73e68742605388a14f092320e9372e089a893a6
[]
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
82
py
k,x=list(map(int,input().split())) if 500*k>=x: print('Yes') else: print('No')
[ "66529651+Aastha2104@users.noreply.github.com" ]
66529651+Aastha2104@users.noreply.github.com
9c1c5043ec4afa52876e8466255b46d56f6a2136
3716e91c0a18a2cf0b5807cc673d95a7539b008c
/DungeonsKitgard/DeadlyDungeonRescue.py
284f1afc14a5fc11ad02ee961f1401bbc26d1654
[]
no_license
kiwiapple87/CodeCombat-1
47f0fa6d75d6d3e9fb9c28feeb6fe2648664c1aa
ce0201e5ed099193ca40afd3b7abeee5a3732387
refs/heads/master
2021-05-01T16:38:03.575842
2016-08-25T11:13:26
2016-08-25T11:13:26
66,552,813
1
0
null
2016-08-25T11:39:20
2016-08-25T11:39:18
null
UTF-8
Python
false
false
1,397
py
# http://codecombat.com/play/level/deadly-dungeon-rescue # Сбегите из подземелья после спасения измученного крестьянина. # Вы можете спрятаться за горгульями. # Убийство охранников может привести к нежелательным последствиям. # Если вы сможете собрать все сокровища, вы можете получить дополнительную награду. self.moveU...
[ "vadim-job-hg@yandex.ru" ]
vadim-job-hg@yandex.ru
b8c3b6c0035aae5cda585026ddf1459337697870
9743d5fd24822f79c156ad112229e25adb9ed6f6
/xai/brain/wordbase/verbs/_shifted.py
f91e9b4d9a75c8d13f05fdca4c6f193c33d00954
[ "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
233
py
from xai.brain.wordbase.verbs._shift import _SHIFT #calss header class _SHIFTED(_SHIFT, ): def __init__(self,): _SHIFT.__init__(self) self.name = "SHIFTED" self.specie = 'verbs' self.basic = "shift" self.jsondata = {}
[ "xingwang1991@gmail.com" ]
xingwang1991@gmail.com
e61e59a67298c69be410f34ad18bf220e57a3d6c
92e8c0b58c3b005c5f74f770d2e91c7fc91cf181
/tests/scraper/scraper_processor_run_test.py
ff2bb27705e37508ecc9a1eb61114d289785e23e
[]
no_license
xhijack/django-dynamic-scraper
d1e8ab6e68a34fdea810d84aa312f176610289af
7b09960e66f7029f50266033848eaba81352b212
refs/heads/master
2021-01-16T18:09:35.081262
2016-07-15T23:45:32
2016-07-15T23:45:32
62,983,247
0
0
null
2016-07-10T05:28:29
2016-07-10T05:28:29
null
UTF-8
Python
false
false
7,715
py
# -*- coding: utf-8 -*- from __future__ import unicode_literals import logging, os.path, unittest from twisted.internet import reactor from scrapy.exceptions import CloseSpider from scraper.models import Event from scraper.scraper_test import EventSpider, ScraperTest from dynamic_scraper.models import SchedulerRunti...
[ "Holger.Drewes@googlemail.com" ]
Holger.Drewes@googlemail.com
c7c35f722e75e78845d2f157718f044c3e4a0579
596e92d0d484b6e7eee6d322e72e52748fdeaa5d
/sportsdata/mma_stats/models/mma_stats_fight.py
61535408a9967328ee4ee850f51a19c715d4cf21
[]
no_license
scottypate/sportsdata
f5f61ddc7eb482883f93737c6ce73dd814ed4336
a07955ab50bf4fff1ce114ed9895095ff770c473
refs/heads/main
2023-08-18T16:51:56.452678
2021-10-22T12:44:08
2021-10-22T12:44:08
420,062,350
1
1
null
null
null
null
UTF-8
Python
false
false
11,297
py
# coding: utf-8 """ MMA v3 Stats No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 OpenAPI spec version: 1.0 Generated by: https://github.com/swagger-api/swagger-codegen.git """ import pprint import re # noqa: F401 import six ...
[ "scotty.pate@auth0.com" ]
scotty.pate@auth0.com
7e2b34df685708489aa33c5b08b40994f15d6866
52b5773617a1b972a905de4d692540d26ff74926
/.history/parity_20200821124709.py
072436c7d2907623d847dd852d9c36fed3b03bda
[]
no_license
MaryanneNjeri/pythonModules
56f54bf098ae58ea069bf33f11ae94fa8eedcabc
f4e56b1e4dda2349267af634a46f6b9df6686020
refs/heads/master
2022-12-16T02:59:19.896129
2020-09-11T12:05:22
2020-09-11T12:05:22
null
0
0
null
null
null
null
UTF-8
Python
false
false
214
py
def parity(A): # we can have two arrays one to store even and other to store odd # that would cost memory even = [] odd = [] for i in range(len(A)): if A[i]%2 == 0: parity([3,1,2,4])
[ "mary.jereh@gmail.com" ]
mary.jereh@gmail.com
823499cb9328a7731d079ae7523ae00c2b7341b3
e71ecfe679dd8c800e8b0960d4ba68e19401a4fc
/PyGithub_examples/search_by_code.py
a86993ecc3ded7531443e407581a721b05c40738
[]
no_license
igizm0/SimplePyScripts
65740038d36aab50918ca5465e21c41c87713630
62c8039fbb92780c8a7fbb561ab4b86cc2185c3d
refs/heads/master
2021-04-12T10:48:17.769548
2017-06-15T18:53:04
2017-06-15T18:53:04
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,000
py
#!/usr/bin/env python3 # -*- coding: utf-8 -*- __author__ = 'ipetrash' LOGIN = None PASSWORD = None # http://user:password@proxy_host:proxy_port PROXY = None if PROXY: import os os.environ['http_proxy'] = PROXY from github import Github gh = Github(LOGIN, PASSWORD) # print(list(gh.search_code('requests au...
[ "gil9red@gmail.com" ]
gil9red@gmail.com
da700d1576d08b4500612bcf1e824f1dee1cd1a6
ffe2e0394c3a386b61e0c2e1876149df26c64970
/cal.py
922ab0f65f531f1c5d5749bfb43c69c5da379a0d
[]
no_license
garethpaul/WillBeOut
202e0ad7a12800c6008ec106c67ee7d23d256a07
c8c40f2f71238c5a5ac6f5ce0cfb3a07e166b341
refs/heads/master
2016-09-05T14:02:15.648358
2013-01-16T17:26:43
2013-01-16T17:26:43
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,412
py
import tornado.auth import tornado.web import base import json from cgi import escape class CalHandler(base.BaseHandler): @tornado.web.authenticated def post(self): _user_id = self.get_current_user()['id'] _user_name = self.get_current_user()['name'] _hour = self.get_argument('hour') ...
[ "gareth@garethpaul.com" ]
gareth@garethpaul.com
714c50c40ca01e9b0f9ed55c904b6094b746454f
8c8c56dfd72f3de4c2637050d113a58193ee848a
/scripts/create_span_concept_dict.py
b97a17717f886df57237336e76b318c773e027cd
[]
no_license
raosudha89/amr_emnlp
9eb83d68e4c81cd257e2f0d0ed2ac29440563ca4
91b3ca6526c6872fed2cdfff59ff83342353ae07
refs/heads/master
2021-01-10T04:59:47.845470
2016-02-01T00:14:31
2016-02-01T00:14:31
50,605,235
0
0
null
null
null
null
UTF-8
Python
false
false
1,052
py
import sys import cPickle as pickle from collections import OrderedDict argv = sys.argv[1:] if len(argv) < 1: print "usage: create_span_concept_dict.py <concept_training_dataset.p>" sys.exit() concept_training_dataset = pickle.load(open(argv[0], "rb")) span_concept_dict = {} for id, concept_training_data in conce...
[ "raosudha@umiacs.umd.edu" ]
raosudha@umiacs.umd.edu
7069511abb46a5cbe8b75a04015b09471f7bea14
9ac90488fa5ccd5100e2593e34031d4692664e28
/data/input_files_new_philly_dta/DTA_interface.py
0b53ff74280c6a95b274b48b9cc2ab396d8f0bfd
[ "MIT" ]
permissive
AlanPi1992/MAC-POSTS
18a2c9f25a06d6512a96de986c4b2d38f9f9fa32
4e4ed3bb6faa5ebd0aa5059b2dfff103fe8f1961
refs/heads/master
2021-06-27T06:18:58.116114
2019-05-22T21:54:45
2019-05-22T21:54:45
105,393,332
0
1
MIT
2018-11-26T04:45:20
2017-09-30T18:57:17
Jupyter Notebook
UTF-8
Python
false
false
4,077
py
import numpy as np import os class Link: from1 = None to1 = None ID = None linkType = None name = None length = np.float(0) FFS = np.float(0) cap = np.float(0) RHOJ = np.float(0) lane = None hasCounts = False hasSpeed = False volume = np.float() lambda_plus = np.float() lambda_minus ...
[ "lemma171@gmail.com" ]
lemma171@gmail.com
2a60db08d08a074061f2c691d287318b4559dc11
7839d009f3ae0a0c1bc360b86756eba80fce284d
/build/rostest/catkin_generated/pkg.installspace.context.pc.py
7235d889406793f9882e29d9c47b2428384ccc19
[]
no_license
abhat91/ros_osx
b5022daea0b6fdaae3489a97fdb1793b669e64f5
39cd8a79788d437927a24fab05a0e8ac64b3fb33
refs/heads/master
2021-01-10T14:43:41.047439
2016-03-13T23:18:59
2016-03-13T23:18:59
53,812,264
1
1
null
null
null
null
UTF-8
Python
false
false
870
py
# generated from catkin/cmake/template/pkg.context.pc.in CATKIN_PACKAGE_PREFIX = "" PROJECT_PKG_CONFIG_INCLUDE_DIRS = "/opt/ros/jade/include;/usr/local/include".split(';') if "/opt/ros/jade/include;/usr/local/include" != "" else [] PROJECT_CATKIN_DEPENDS = "".replace(';', ' ') PKG_CONFIG_LIBRARIES_WITH_PREFIX = "-l:/us...
[ "abhat@wpi.edu" ]
abhat@wpi.edu
3f1a432d893e46055583ae755aaef4aef96eaf57
af67d7d0f56da5d8ac9a6fbd4b0aedcebf5a6434
/buglab/representations/codereprs.py
5180a587b54d6c055eb02f11cb9958ead312eccd
[ "LicenseRef-scancode-generic-cla", "MIT" ]
permissive
microsoft/neurips21-self-supervised-bug-detection-and-repair
23ef751829dc90d83571cd68c8703e2c985e4521
4e51184a63aecd19174ee40fc6433260ab73d56e
refs/heads/main
2023-05-23T12:23:41.870343
2022-01-19T12:16:19
2022-01-19T12:16:19
417,330,374
90
23
MIT
2022-08-30T11:54:55
2021-10-15T01:14:33
Python
UTF-8
Python
false
false
9,586
py
from collections import defaultdict from pathlib import Path from typing import Any, DefaultDict, Dict, List, Optional, Set, Tuple, Union import libcst as cst from libcst.metadata import CodeRange from typing_extensions import Final from buglab.representations.data import BugLabGraph from buglab.utils.cstutils import...
[ "miallama@microsoft.com" ]
miallama@microsoft.com
d24d9b532639b9ddb03b9b8f313d705c1a0aa4d2
4e382ae46cf997ea2dbdfcfa463a57d3e0e9ad97
/sols/find_the_difference.py
8ac2f6c88a73e8e3e625f600b9cab2ad1558bb5c
[]
no_license
hayeonk/leetcode
5136824838eb17ed2e4b7004301ba5bb1037082f
6485f8f9b5aa198e96fbb800b058d9283a28e4e2
refs/heads/master
2020-04-28T03:37:16.800519
2019-06-01T14:34:45
2019-06-01T14:34:45
174,943,756
0
1
null
null
null
null
UTF-8
Python
false
false
194
py
class Solution(object): def findTheDifference(self, s, t): ret = 0 for c in s: ret ^= ord(c) for c in t: ret ^= ord(c) return chr(ret)
[ "31617695+hayeonk@users.noreply.github.com" ]
31617695+hayeonk@users.noreply.github.com
992b1d21729bf38534b92b9c117474340f6d1e7c
da0a0045d4e7b0de12a9459e5546332ccc7cce0e
/Design_Patterns/Structural/Adapter/example1/third_party_billing_system.py
91d45cfb3c8a513e62f49f5e13c1c9b9a26457f8
[]
no_license
git4rajesh/python-learnings
d64e7c76698b7f2255a77a8233a90774db78f030
ee6b7f7844079e94801c19a1dd80921e1741e58e
refs/heads/master
2022-11-01T08:47:45.097034
2019-04-28T02:14:34
2019-04-28T02:14:34
172,183,208
0
1
null
2022-10-12T08:35:43
2019-02-23T07:04:59
Python
UTF-8
Python
false
false
432
py
class Third_Party_Billing_System: @staticmethod def process_salary(lst_emp_obj): for emp in lst_emp_obj: if emp.designation == 'Mgr': emp.salary = 1000 elif emp.designation == 'QA': emp.salary = 2000 elif emp.designation == 'Engr': ...
[ "rvenkataraman" ]
rvenkataraman
d7366b50353afa370e0f073c0930672676fc801a
81efabfbef513ba9d45f28c2fce5e9ab5eb19eec
/Example_Buzzer.py
0ad2adf9df635f5f17d95419322dbe1895b509b1
[]
no_license
ncdcommunity/Raspberry_Pi_PCA9536_Input_Output_Module_Python_library
e219f89ab1e5de748f4db804250d9962a41c2cbf
e910ad2a8bbb4c492179bd593d3c7f31ef92d368
refs/heads/master
2021-03-24T13:21:48.969471
2018-02-08T07:01:09
2018-02-08T07:01:09
120,723,001
0
0
null
null
null
null
UTF-8
Python
false
false
645
py
# Distributed with a free-will license. # Use it any way you want, profit or free, provided it fits in the licenses of its associated works. # PCA9536_BZ # This code is designed to work with the PCA9536_I2CBZ I2C Mini Module available from ControlEverything.com. # https://shop.controleverything.com/products/digital-3-c...
[ "ryker1990@gmail.com" ]
ryker1990@gmail.com
0871e550193f28e9c243723ca06cb964eb1e0256
a98c455a318ab2d47b10ef1aa195b7dfd1b5449c
/codes/fashionmnist_tobf.py
31f7ae4dc70bc7816376311fda79de25e325bbae
[]
no_license
WanliXue/BF_implemation
ddd463ed906e1f4ee0de492da48bc6de3574bfd0
211aa963f3be755858daf03fca5690d3c9532053
refs/heads/main
2022-12-26T07:04:05.280651
2020-10-13T02:08:55
2020-10-13T02:08:55
303,561,823
1
0
null
null
null
null
UTF-8
Python
false
false
1,946
py
import numpy as np # import os # print(os.getcwd()) import math import time from BF_TS import BF_TS def conver_data_to_bf(data): com_to_len = data.shape[1] # print(data.shape) # compressed_data = data[:, :] # # ------------Put into compressed and BF data--------- length = 10000 b = 5...
[ "xuewanli.lee@gmail.com" ]
xuewanli.lee@gmail.com
b019c18b74461fd6a01e93019d9a39a9681330c1
d2c4934325f5ddd567963e7bd2bdc0673f92bc40
/tests/artificial/transf_Anscombe/trend_ConstantTrend/cycle_7/ar_12/test_artificial_1024_Anscombe_ConstantTrend_7_12_100.py
3e21083297c74f56fbd8826c3dc7a03e1537c962
[ "BSD-3-Clause", "LicenseRef-scancode-unknown-license-reference" ]
permissive
jmabry/pyaf
797acdd585842474ff4ae1d9db5606877252d9b8
afbc15a851a2445a7824bf255af612dc429265af
refs/heads/master
2020-03-20T02:14:12.597970
2018-12-17T22:08:11
2018-12-17T22:08:11
137,104,552
0
0
BSD-3-Clause
2018-12-17T22:08:12
2018-06-12T17:15:43
Python
UTF-8
Python
false
false
275
py
import pyaf.Bench.TS_datasets as tsds import pyaf.tests.artificial.process_artificial_dataset as art art.process_dataset(N = 1024 , FREQ = 'D', seed = 0, trendtype = "ConstantTrend", cycle_length = 7, transform = "Anscombe", sigma = 0.0, exog_count = 100, ar_order = 12);
[ "antoine.carme@laposte.net" ]
antoine.carme@laposte.net
654de6277b4e8c96c01f3c4013478da037b626d2
36ac195ecceb868e78372bc8e976066cc9ff0fae
/torch_glow/tests/nodes/batchnorm3d_test.py
6fed650f00e7de8b34a67493a89a151fbdc61b73
[ "Apache-2.0" ]
permissive
jeff60907/glow
d283d65bc67e0cc9836854fa7e4e270b77023fff
34214caa999e4428edbd08783243d29a4454133f
refs/heads/master
2021-09-23T07:30:29.459957
2021-09-14T01:47:06
2021-09-14T01:48:00
216,199,454
0
0
Apache-2.0
2019-10-19T12:00:31
2019-10-19T12:00:31
null
UTF-8
Python
false
false
2,270
py
from __future__ import absolute_import, division, print_function, unicode_literals import torch import torch.nn as nn from tests import utils class TestBatchNorm3D(utils.TorchGlowTestCase): def test_batchnorm_basic(self): """ Basic test of the PyTorch 3D batchnorm Node on Glow. """ ...
[ "facebook-github-bot@users.noreply.github.com" ]
facebook-github-bot@users.noreply.github.com
59d1905f4c830c16a12da935f6d105de60ee67ef
15dfa10d195fb6187765aa1d6a42f6152e8cd4e1
/sof_parser/sof_parser/pipelines.py
6a2cdf0a24fac33c26e82f57d0c644bf88554a77
[]
no_license
didoogan/sof_parser
d790e12d5290dd110ddc1511a74a02876dba607b
c3b9064425e74ebb67e34319a462b5401732990c
refs/heads/master
2020-12-29T02:06:59.956070
2016-09-21T14:45:55
2016-09-21T14:45:55
68,790,532
0
0
null
null
null
null
UTF-8
Python
false
false
289
py
# -*- coding: utf-8 -*- # Define your item pipelines here # # Don't forget to add your pipeline to the ITEM_PIPELINES setting # See: http://doc.scrapy.org/en/latest/topics/item-pipeline.html class SofParserPipeline(object): def process_item(self, item, spider): return item
[ "tzd0409@gmail.com" ]
tzd0409@gmail.com
a9ada2f135bdc88b9aaf30c65ca4588856fbeb5f
84b05857cbe74d190bdbee18d442d0c720b1b84d
/Coderbyte_algorithms/Easy/MovingMedian/MovingMedian.py
be21ca848c07cd1ea8955337db4131d680066937
[]
no_license
JakubKazimierski/PythonPortfolio
1c8c7e7b0f1358fc42a2295b807d0afafd8e88a3
3aa62ad36c3b06b2a3b05f1f8e2a9e21d68b371f
refs/heads/master
2023-06-01T01:16:22.897097
2023-05-15T01:05:22
2023-05-15T01:05:22
311,473,524
9
1
null
null
null
null
UTF-8
Python
false
false
1,443
py
''' Moving Median from Coderbyte December 2020 Jakub Kazimierski ''' import statistics def MovingMedian(arr): ''' Have the function MovingMedian(arr) read the array of numbers stored in arr which will contain a sliding window size, N, as the first element in the array and the rest ...
[ "j.m.kazimierski@gmail.com" ]
j.m.kazimierski@gmail.com
302781dcebe0e1f90f184cdf719806f48bc0785d
f199898334653e32d6a13922063e98f6cc477db5
/tests/test_air.py
8f734e633fc83fe54da3b9d9da5639cd14145903
[ "MIT" ]
permissive
wptree/akshare
c31bb822d806974be951c3b2258312abdec09a6e
7697506d277f14d1719e60c3d19e73ff7d69e6af
refs/heads/master
2021-02-07T22:30:00.957989
2020-02-29T10:29:27
2020-02-29T10:29:27
244,083,276
1
0
MIT
2020-03-01T03:59:01
2020-03-01T03:59:00
null
UTF-8
Python
false
false
1,314
py
# -*- coding:utf-8 -*- # /usr/bin/env python """ Author: Albert King date: 2019/12/12 18:16 contact: jindaxiang@163.com desc: To test intention, just write test code here! """ # from akshare.air.aqi_study import air_hourly from akshare.index.index_weibo import weibo_index from akshare.event.franchise import franchise_c...
[ "jindaxiang@163.com" ]
jindaxiang@163.com
6f90146523ad83c22bd917cb55bcb3196765cb28
d3f680630426ff3a63d564e78bb1480863a7f0f6
/services/web__aps_dz.py
4c103effdaa88ee80facaa3ba0bd5fd20edee578
[]
no_license
JesseWeinstein/NewsGrabber
09f9d567449e99ba211e4ba61b42c53276de235b
b431dc5f313d4718c6328aaaa97da1bc8e136023
refs/heads/master
2020-12-31T02:32:48.359448
2016-01-23T14:20:26
2016-01-23T14:20:26
48,966,133
1
0
null
2016-01-04T00:33:41
2016-01-04T00:33:41
null
UTF-8
Python
false
false
456
py
refresh = 5 version = 20160122.01 urls = ['http://www.aps.dz/algerie?format=feed', 'http://www.aps.dz/economie?format=feed', 'http://www.aps.dz/sport?format=feed', 'http://www.aps.dz/monde?format=feed', 'http://www.aps.dz/societe?format=feed', 'http://www.aps.dz/regions?format=feed', 'http://www.aps.dz/culture?f...
[ "Arkiver@hotmail.com" ]
Arkiver@hotmail.com
86ab4c0936eb638ea5a4cdc51d104fe7ae8991a0
bf92a619b9b850678bb691915e45c39cd740fa63
/apps/freeway/main.py
de0fdd6c91d2e76ff7289f891c78993f55fdaea0
[]
no_license
jrecuero/jc2cli
a045f1efa431f53351dfac968852fd82e8c963b6
c97615828880021b3965756aed939e39bac949b6
refs/heads/master
2021-05-10T10:16:34.698398
2018-11-06T17:43:53
2018-11-06T17:43:53
118,377,662
2
0
null
null
null
null
UTF-8
Python
false
false
1,198
py
import ehandler import race import freeway import section import device from cursor import Cursor if __name__ == '__main__': Cursor.print(Cursor.clear_entire_screen()) Cursor.print(Cursor.move_upper_left(0)) _ehdlr = ehandler.EHandler() _race = race.Race() _freeway = freeway.Freeway() _freeway...
[ "jose.recuero@gmail.com" ]
jose.recuero@gmail.com
b15f080badda883ba9ec4368b1e34032afe7f2a8
06fec21ab6be610d7e491eaa55f776587ed6fadd
/hubapp/migrations/0007_add_price.py
988a6501030a2dbba177e0b2c561af43c2b411c3
[]
no_license
rcoffie/ehub
6e6e493d252b4d8a5360616ea64dd85fdc3b15f8
28213469c612088acb3a62ca9bf1f3c2a0dd5756
refs/heads/master
2022-09-29T09:05:49.705294
2020-06-07T09:26:16
2020-06-07T09:26:16
263,087,649
0
0
null
null
null
null
UTF-8
Python
false
false
413
py
# Generated by Django 3.0.6 on 2020-06-06 13:33 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('hubapp', '0006_auto_20200606_1302'), ] operations = [ migrations.AddField( model_name='add', name='price', ...
[ "rcoffie22@yahoo.com" ]
rcoffie22@yahoo.com
8ceae620a6ca4aa42c19252edc4912bc71ab0105
9afbcb367de9bf055d531d285bc299a9ca3040fe
/django_session/django_session/settings.py
8d2cce87371602bcd47e87324c303b6c4fded580
[]
no_license
mysqlplus163/aboutPython
a41a5bc2efd43b53d4acf96e7477e80c022cf657
fa7c3e6f123158011d8726b28bfcd0dee02fa853
refs/heads/master
2020-03-21T05:06:19.949902
2018-03-14T16:04:54
2018-03-14T16:04:54
null
0
0
null
null
null
null
UTF-8
Python
false
false
3,177
py
""" Django settings for django_session project. Generated by 'django-admin startproject' using Django 1.10.6. For more information on this file, see https://docs.djangoproject.com/en/1.10/topics/settings/ For the full list of settings and their values, see https://docs.djangoproject.com/en/1.10/ref/settings/ """ im...
[ "liwenzhou7@gmail.com" ]
liwenzhou7@gmail.com
378d8d6243e4eb15707ac59dc6e7bf93f80452e7
67572ef7c6ac88a335dd884ac19dd8f5519145fa
/4_Recursion/recursive_sierspinski.py
29161fc863bc4e448ba111480df36cefa2bc8fd9
[ "MIT" ]
permissive
ZoroOP/Problem-Solving-With-Algorithms-And-Data-Structures
ccb2eb306229097dd8c930523e20ed7115a1e8ef
be29b46b9f4e579644ca2d44675c0ce7dcb29b3b
refs/heads/master
2021-10-17T00:59:53.654643
2019-02-13T05:40:27
2019-02-13T05:40:27
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,419
py
""" Draw a sierpinski triangle recursively with the turtle module. """ import turtle def drawTriangle(points,color,myTurtle): myTurtle.fillcolor(color) myTurtle.up() myTurtle.goto(points[0][0],points[0][1]) myTurtle.down() myTurtle.begin_fill() myTurtle.goto(points[1][0],points[1][1]) myT...
[ "anthony.r.chao@gmail.com" ]
anthony.r.chao@gmail.com
7988c3051318b94f342323a66c7309ca285ec7a3
e8215b98dcf46417e720cc6ef4a0329474ae9b82
/PHYS210/Project 2-Animation - Backup/ising.py
17cd108c5c818627b3c2906932314eaf85891cf0
[]
no_license
rgkaufmann/PythonCodes
2d47bab84ec851fc962598f613b1e666a14c8efd
a5d5cd993beabdb79897a05b35420ad82f438f51
refs/heads/master
2021-06-13T23:19:09.109162
2021-03-03T06:00:04
2021-03-03T06:00:04
162,771,012
0
0
null
null
null
null
UTF-8
Python
false
false
6,839
py
# PHYS 210 - Project 2 - The Ising Model Ryan Kaufmann # Bonus: Add a second animation showing the individual spins of each electron # In each of the desired temperatures (0.1K, 2.5K, 100K) import numpy as np # Importing all important function, numpy import matplotlib.pyplot as plt ...
[ "ryankaufmannprof@gmail.com" ]
ryankaufmannprof@gmail.com
182188564993884d7a326aefc604b6929c92cfa3
b95ec100e1864954eb4fa88096ffc6414105263c
/CookieTTS/_5_infer/t2s_server/text2speech.py
17ed38a920f5c5daf33975186513408293fe51a1
[]
no_license
Harishgeth/cookietts
d07a772bf449ac40c4556fb9864ed163e6c22ec3
147bbe94c9afcd26db6fb40d745b493922ca5bc7
refs/heads/master
2022-12-07T06:10:28.131351
2020-07-06T09:06:35
2020-07-06T09:06:35
null
0
0
null
null
null
null
UTF-8
Python
false
false
43,523
py
import sys import os import numpy as np import random import time import argparse import torch import matplotlib.pyplot as plt from scipy.io.wavfile import write import json import re import difflib from glob import glob from unidecode import unidecode import nltk # sentence spliting from nltk import sent_tokenize sys...
[ "42448678+CookiePPP@users.noreply.github.com" ]
42448678+CookiePPP@users.noreply.github.com
dc3d0bbf003d9e703385315bc3b4b2710809e86f
4c1da0c18482031ea650b32b1ee19cd8e16338fb
/exit_window_v0.py
34b21c5da8185119ea480f48991bdc8f863aff28
[]
no_license
adamjaro/irview
03dbb4c4a3e2a1082e246552b104602108bfd44a
a47c6a49af5411bc167e35fdee961e27243b49f3
refs/heads/master
2021-06-19T22:52:27.242434
2021-06-17T22:11:32
2021-06-17T22:11:32
211,398,012
0
0
null
null
null
null
UTF-8
Python
false
false
2,769
py
import math import ROOT as rt from ROOT import TVector2, TGraph, TText #_____________________________________________________________________________ class exit_window_v0(object): #photon exit window, part of electron beam pipe, rear side #_____________________________________________________________________...
[ "jaroslav.adam@cern.ch" ]
jaroslav.adam@cern.ch
1ee2a6377c7360321e648ff0ee8fd16d7f80d533
ba0cbdae81c171bd4be7b12c0594de72bd6d625a
/MyToontown/py2/toontown/safezone/DLPlayground.pyc.py
5e65850004a6b36058f664b5dfb7c98d89449186
[]
no_license
sweep41/Toontown-2016
65985f198fa32a832e762fa9c59e59606d6a40a3
7732fb2c27001264e6dd652c057b3dc41f9c8a7d
refs/heads/master
2021-01-23T16:04:45.264205
2017-06-04T02:47:34
2017-06-04T02:47:34
93,279,679
0
0
null
null
null
null
UTF-8
Python
false
false
805
py
# 2013.08.22 22:24:38 Pacific Daylight Time # Embedded file name: toontown.safezone.DLPlayground from pandac.PandaModules import * import Playground import random class DLPlayground(Playground.Playground): __module__ = __name__ def __init__(self, loader, parentFSM, doneEvent): Playground.Pla...
[ "sweep14@gmail.com" ]
sweep14@gmail.com
a2294c40c4792abccefe3426817b25c445dc8dca
ca7aa979e7059467e158830b76673f5b77a0f5a3
/Python_codes/p03385/s791898250.py
480d80639c0ae6dfbadb01faa2974dae7aa402a4
[]
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
72
py
s = set(input()) if len(s) == 3: print("Yes") else: print("No")
[ "66529651+Aastha2104@users.noreply.github.com" ]
66529651+Aastha2104@users.noreply.github.com
8433d0ea23babf77d16a0856540607257f5e75b6
abdab481e9c4f64fc3d2f84539c58b51fd66f198
/numpy/core/arrayprint.pyi
b8c7b1604647f74d163548109b0a7e327c99aef6
[]
no_license
depixusgenome/linting
aa068d9b5dd393c668429a1fed2e0dfc5d675125
4e3398fab98f873f77f8e8ab81eaeb7df215e7f7
refs/heads/master
2020-09-24T08:39:02.645467
2019-10-11T20:33:20
2019-10-11T20:33:20
225,716,480
0
0
null
null
null
null
UTF-8
Python
false
false
2,249
pyi
# Stubs for numpy.core.arrayprint (Python 3.5) # # NOTE: This dynamically typed stub was automatically generated by stubgen. from typing import Any, Optional from . import numerictypes as _nt def set_printoptions(precision: Optional[Any] = ..., threshold: Optional[Any] = ..., edgeitems: Optional[Any] = ..., linewidth...
[ "pol.davezac@depixus.com" ]
pol.davezac@depixus.com
96d191f3d7de629e749b76de9c56cc154bb389f5
5b5aee20bf23dfe1a6314fb524c4cc31e140ee64
/thuoclao/check/migrations/0001_initial.py
5b551428b8fbec05aa632d32ed1e93ba3ac8071c
[]
no_license
locvx1234/ThuoclaoPing
7f75aa658a7b97d4b8c8982b2477e93463861cf2
8c821c0adf50a93a17c29255905bcf32101fe171
refs/heads/master
2023-08-17T05:29:38.392255
2019-10-22T02:44:41
2019-10-22T02:44:41
128,077,290
0
1
null
2023-09-09T02:36:36
2018-04-04T14:50:33
JavaScript
UTF-8
Python
false
false
4,370
py
# Generated by Django 2.0.4 on 2018-07-20 02:13 from django.conf import settings from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): initial = True dependencies = [ migrations.swappable_dependency(settings.AUTH_USER_MODEL), ('auth...
[ "locvx1234@gmail.com" ]
locvx1234@gmail.com
ba9213240622adab8cae4a44d407a97634aa1ed4
348c846c8c39bc7b3933e9417c98a581fdcf2140
/test/test_location.py
e0708fbd8ebf330f6bb4244d227325bc9bca7b74
[ "MIT" ]
permissive
danpf/python-ihm
42d20e9bf2cd490ab324642a3874a3f9526d629d
cbe681ee56701202769a401ee6380ccab5fcae84
refs/heads/master
2022-12-08T01:08:37.104767
2020-07-10T19:18:27
2020-07-10T19:18:27
287,045,448
0
0
MIT
2020-08-12T15:09:28
2020-08-12T15:09:27
null
UTF-8
Python
false
false
10,337
py
import utils import os import unittest TOPDIR = os.path.abspath(os.path.join(os.path.dirname(__file__), '..')) utils.set_search_paths(TOPDIR) import ihm.location def _make_test_file(fname): with open(fname, 'w') as fh: fh.write('contents') class Tests(unittest.TestCase): def test_database_location(s...
[ "ben@salilab.org" ]
ben@salilab.org
0c4e1416b8bf147efb68a6aa8f6cd1d073d05606
64cd09628f599fe18bf38528309349f7ac0df71e
/Introduction/01_Introduction_python/10 Python functions/zip.py
9752853642d820a77fb69fc2a92b8d95daa4c8cf
[]
no_license
JunyoungJang/Python
958c057b2fd37c03876d3cf566ee27ee637bb020
76d4cd441deff8061e10608e0848360bc4f34490
refs/heads/master
2021-01-19T21:54:42.208469
2020-02-14T09:54:17
2020-02-14T09:54:17
83,768,220
1
0
null
null
null
null
UTF-8
Python
false
false
193
py
x = [1, 2, 3] y = [4, 5, 6] print zip(x, y) # [(1, 4), (2, 5), (3, 6)] x = [1, 2, 3] y = [4, 5] print zip(x, y) # [(1, 4), (2, 5)] x = [1, 2] y = [4, 5, 6] print zip(x, y) # [(1, 4), (2, 5)]
[ "lakino@yonsei.ac.kr" ]
lakino@yonsei.ac.kr
7d39c4708554eb4bc2ae95510d145826c1b4b271
84c49683c22a17dcc43a81dc17eafe4ec81571a5
/google-cloud-sdk/platform/gsutil/gslib/commands/ls.py
844f790e27fcd1c99b924c06efc5405feba9195d
[ "BSD-2-Clause", "LicenseRef-scancode-unknown-license-reference", "Apache-2.0" ]
permissive
edenpark/xin-666
2a80d012923e7c2b5f3880579d014a61f17b3f8b
d40ea542eb9cedcbe7872c3a5f2d3457ea804f3d
refs/heads/master
2021-05-24T01:04:54.895766
2017-03-07T02:21:58
2017-03-07T02:21:58
65,078,186
0
1
NOASSERTION
2020-07-25T00:03:49
2016-08-06T10:47:05
Python
UTF-8
Python
false
false
18,904
py
# -*- coding: utf-8 -*- # Copyright 2011 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 require...
[ "edenp@techday.com" ]
edenp@techday.com
fd276b40e39dc6d6a2c51ea5ff00896c701319db
ded3109fc9a05b60c36da2c41017f799fb887f07
/moose_nerp-1/moose_nerp/graph/plot_channel.py
c5f38765ede441d9f83cf23a57ba64812dc2569b
[]
no_license
ModelDBRepository/245563
f5f0d48213a9deb9b07ea694136e008cbcfdeff0
97cd40113230c4ddadc77725bb5148fcc2f5b9a7
refs/heads/master
2020-04-24T12:26:02.905630
2019-02-21T22:23:39
2019-02-21T22:23:39
171,954,802
0
0
null
null
null
null
UTF-8
Python
false
false
4,160
py
import numpy as np import matplotlib.pyplot as plt import moose def plot_gate_params(chan,plotpow, VMIN=-0.1, VMAX=0.05, CAMIN=0, CAMAX=1): #print "PLOT POWER", plotpow, chan.path,chan.Xpower """Plot the gate parameters like m and h of the channel.""" if chan.className == 'HHChannel': cols=1 ...
[ "tom.morse@yale.edu" ]
tom.morse@yale.edu
cfc0d9237456019b83e1e17feea2e776ea65aa18
209a7a4023a9a79693ec1f6e8045646496d1ea71
/COMP0016_2020_21_Team12-datasetsExperimentsAna/pwa/FADapp/pythonScripts/venv/Lib/site-packages/pandas/tests/groupby/aggregate/test_other.py
d28fbb9f2ce9714f5c0abb1f9befb6b90a4ae255
[ "MIT" ]
permissive
anzhao920/MicrosoftProject15_Invictus
5e2347015411bbffbdf0ceb059df854661fb240c
15f44eebb09561acbbe7b6730dfadf141e4c166d
refs/heads/main
2023-04-16T13:24:39.332492
2021-04-27T00:47:13
2021-04-27T00:47:13
361,913,170
0
0
MIT
2021-04-26T22:41:56
2021-04-26T22:41:55
null
UTF-8
Python
false
false
19,753
py
""" test all other .agg behavior """ import datetime as dt from functools import partial import numpy as np import pytest import pandas as pd from pandas import ( DataFrame, Index, MultiIndex, PeriodIndex, Series, date_range, period_range, ) import pandas._testing as t...
[ "ana.kapros@yahoo.ro" ]
ana.kapros@yahoo.ro
356f6d97d06b3df049dac75184bda584cee875f5
10f0d2f60b67e1bd45af82f1af0044b7ce1c8843
/Questões do URI/Exercicio 7 (Reduce).py
1ae64595fff54a5b2521678cd19aa78917b46155
[]
no_license
vikvik98/Algoritmos_2017.1
184bce5fb6e155076253359e49f73fafb28dbc8d
219fa2cfdf7320df34d282136c025c6c19be09d6
refs/heads/master
2021-08-24T04:15:29.550879
2017-12-08T02:08:34
2017-12-08T02:08:34
113,519,397
0
0
null
null
null
null
UTF-8
Python
false
false
977
py
def main(): temperaturas = [0] * 121 menor = 0 maior = 0 media = 0 cont = 0 total_temp = 0 dias = 0 #Geração de vetor for i in range(len(temperaturas)): temperatura_dia = float(input()) temperaturas[i] = temperatura_dia #Search for i in range(len(temperaturas)): menor = temperaturas[0] if temperat...
[ "vinicius.c.mascarenhas@hotmail.com" ]
vinicius.c.mascarenhas@hotmail.com
166470769a122a0a59d76a1b0de5948e91f65b00
06b2a4f8dc27b5177bfd782386b59b47eafe6556
/Django-level-3/project_exercise/users/admin.py
d703d0074246d644276dd261368797c5c0376557
[]
no_license
mishrakeshav/Django-Tutorials
d81eb736f3d21f207147e1dd7c5132a54523feca
3757c40e975fa782996f4968752d0b41da1cc96c
refs/heads/master
2023-07-07T08:45:46.264661
2021-03-17T15:09:08
2021-03-17T15:09:08
275,316,311
1
0
null
2021-08-09T21:02:45
2020-06-27T06:49:23
JavaScript
UTF-8
Python
false
false
129
py
from django.contrib import admin # Register your models here. from users.models import User admin.site.register(User)
[ "keshav.sm@somaiya.edu" ]
keshav.sm@somaiya.edu
eed1bf04dd38dc87166f710aeaa9a078af06b58e
ca7aa979e7059467e158830b76673f5b77a0f5a3
/Python_codes/p03565/s696347515.py
d570956493fddbee98c2576a04e3d91b8bd5bc84
[]
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
1,180
py
import copy S_dash = input() T = input() len_S = len(S_dash) len_T = len(T) candidate0 = list(S_dash) ans = "z"*51 if len_S >= len_T: for s in range(len_S): cha_S = S_dash[s] if cha_S != "?" and cha_S in list(T): for t in range(len_T): cha_T = T[t] if cha_S == cha_T and 0<= s-t < le...
[ "66529651+Aastha2104@users.noreply.github.com" ]
66529651+Aastha2104@users.noreply.github.com
afb650659264e114dd31253efb373c7806e49a31
68728961294d360d26e8149e7e0a4816adf20842
/utils/file_utils.py
6754798f0e5a5d92d67229d23ed3d1bf4d5cd4e1
[]
no_license
Dawn-Flying/text_summarization
d334fe884aa3a6341dd7bc381b03c1ab3e2c057e
ab68555c6f455c4f14fead5fc1c49420cdef8dc4
refs/heads/master
2023-07-17T07:49:21.995004
2021-08-26T15:46:19
2021-08-26T15:46:19
null
0
0
null
null
null
null
UTF-8
Python
false
false
481
py
# coding=utf-8 import time import os from utils.config import results_dir def get_result_filename(batch_size, epochs, max_length_inp, embedding_dim, commit=''): """获取时间 :return: """ now_time = time.strftime('%Y_%m_%d_%H_%M_%S') filename = now_time + f'_batch_size_{batch_size}_epochs_{epochs}_max_...
[ "184419810@qq.com" ]
184419810@qq.com
7fbababfe191ed000fffba22a9dbb5a9a39a966b
4f923bec0048a74177b31ed5261f1e1df0c98c73
/pytorch_example.py
9b5bc3aa4755c3d49d8cbf1bd2c7ee35eece8986
[]
no_license
EngineerKhan/Equi-RC
33c6c16873ba87620e861d1af7bd3ee3e380976c
e2228c8946b1f0f10639f593dc5b0c074744cacb
refs/heads/main
2023-06-23T19:27:07.991533
2021-07-16T10:19:19
2021-07-16T10:19:19
null
0
0
null
null
null
null
UTF-8
Python
false
false
5,934
py
import torch import torch.nn as nn from pytorch_rclayers import RegToRegConv, RegToIrrepConv, IrrepToIrrepConv, IrrepActivationLayer, \ IrrepConcatLayer, IrrepBatchNorm, RegBatchNorm, RegConcatLayer, ToKmerLayer class CustomRCPS(nn.Module): def __init__(self, filters=(16, 16, 16), ...
[ "vincent.mallet96@gmail.com" ]
vincent.mallet96@gmail.com
dde2cf28a3ea139ec0d626a79fe3807ac95e2aa5
fa346a2d5886420e22707a7be03599e634b230a9
/temboo/Library/GitHub/GistsAPI/Comments/DeleteComment.py
605046638edf1fa9b4c894ae8181868343c2aca5
[]
no_license
elihuvillaraus/entity-resolution
cebf937499ed270c3436b1dd25ab4aef687adc11
71dd49118a6e11b236861289dcf36436d31f06bc
refs/heads/master
2021-12-02T17:29:11.864065
2014-01-08T04:29:30
2014-01-08T04:29:30
null
0
0
null
null
null
null
UTF-8
Python
false
false
3,116
py
# -*- coding: utf-8 -*- ############################################################################### # # DeleteComment # Deletes a specified comment. # # Python version 2.6 # ############################################################################### from temboo.core.choreography import Choreography from tembo...
[ "cedric.warny@gmail.com" ]
cedric.warny@gmail.com
8909c7579436ee650bba7657c438776d878afd26
e2fb6865a02573709d26e8d8b4c52f2cd687da10
/utils/__init__.py
91bd60a419e4d2c09e9b69adff0b69d0b86ee136
[]
no_license
tbarbugli/saleor
0af6e21c540ce0af64b06a44821b82373c96d028
caf9b245c35611c34094f59443da51a4e9657bfd
refs/heads/master
2020-12-25T03:20:45.574256
2013-06-02T20:43:06
2013-06-02T20:43:06
null
0
0
null
null
null
null
UTF-8
Python
false
false
511
py
from compressor.templatetags.compress import CompressorNode from django.template.base import Template def seizaki_compress(context, data, name): """ Data is the string from the template (the list of js files in this case) Name is either 'js' or 'css' (the sekizai namespace) We basically just manually ...
[ "tbarbugli@gmail.com" ]
tbarbugli@gmail.com