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
c782650d6f127eef27a47603a319e899a401c358
7a10bf8748c7ce9c24c5461c21b5ebf420f18109
/kaggle/Titanic/tree.py
30d6fcd4aec4eb2a970b96f862e9cddeb15f9b9b
[]
no_license
VishalChak/machine_learning
aced4b4bf65bbbd08c966a2f028f217a918186d5
c6e29abe0509a43713f35ebf53da29cd1f0314c1
refs/heads/master
2021-06-15T07:13:56.583097
2019-10-05T06:01:58
2019-10-05T06:01:58
133,164,656
0
0
null
null
null
null
UTF-8
Python
false
false
1,841
py
#!/usr/bin/env python3 # -*- coding: utf-8 -*- """ Created on Fri May 18 09:52:19 2018 @author: vishal """ name = "vishal" rev = "" j = len(name)-1 for i in range(6,0): print(i) for i in range(len(name)//2): temp = name[i] name[i] = name[j] name[j] = temp def rev_line(line): temp = line.s...
[ "vishalbabu.in@gmail.com" ]
vishalbabu.in@gmail.com
0fc331b89f911c83da55bed8923abe84a1de9b62
6fd5d30cf21716893388442eb0f9c16e13b91315
/others/diverta/2019/b.py
97222ed49e931e972d0a4782a4216d79cdba03c6
[]
no_license
mgmk2/atcoder-python
23d45f3195977f1f5839f6a6315e19cac80da2be
beec5857a8df2957ff7b688f717d4253b4196e10
refs/heads/master
2021-06-09T20:00:22.500222
2021-05-04T15:36:39
2021-05-04T15:36:39
179,711,330
1
0
null
null
null
null
UTF-8
Python
false
false
283
py
r, g, b, n = map(int, input().split()) c = sorted([r, g, b])[::-1] ans = 0 for i in range(n // c[0] + 1): x = n - i * c[0] for j in range(x // c[1] + 1): y = x - j * c[1] if y < 0: break elif y % c[2] == 0: ans += 1 print(ans)
[ "xis.t65@gmail.com" ]
xis.t65@gmail.com
a7c3f47592b02f39be35bfac47778a7651a10e63
b1829737cb9a90c11b9f1af5aec412e2ebf74de8
/01-advanced/advanced_stuff/generators.py
6c19ea62a413e08526bda172bd398ff4fb27f7cd
[ "MIT" ]
permissive
cccaaannn/useful_functions
f2dd10fe2076ecec77f86f65e96227ab4728e3e2
6f5f66c90f00fcdcd34b1508c33cade0e6f6bb16
refs/heads/master
2023-04-28T05:44:15.180904
2023-04-18T17:54:20
2023-04-18T17:54:20
241,892,477
0
0
null
null
null
null
UTF-8
Python
false
false
343
py
# generators returns iterable generator objects # they consume less ram since they generate data when needed def square_numbers(nums): for i in nums: yield (i*i) nums = square_numbers([1,2,3,4,5]) print(next(nums)) print(next(nums)) # like list comprehension but we use () nums = (x*x for x in [1,2,3,4,...
[ "can.kurt.aa@gmail.com" ]
can.kurt.aa@gmail.com
7077c35466fe1930a263d73b1d74930fe705a9e6
afbae26b958b5ef20548402a65002dcc8e55b66a
/release/stubs.min/Autodesk/Revit/DB/Electrical_parts/WireType.py
2fbe15ba466809e02f369cf0b478aaf1447db671
[ "MIT" ]
permissive
gtalarico/ironpython-stubs
d875cb8932c7644f807dc6fde9dd513d159e4f5c
c7f6a6cb197e3949e40a4880a0b2a44e72d0a940
refs/heads/master
2023-07-12T01:43:47.295560
2022-05-23T18:12:06
2022-05-23T18:12:06
95,340,553
235
88
NOASSERTION
2023-07-05T06:36:28
2017-06-25T05:30:46
Python
UTF-8
Python
false
false
3,105
py
class WireType(ElementType,IDisposable): """ Represents a specific wire type. """ def Dispose(self): """ Dispose(self: Element,A_0: bool) """ pass def getBoundingBox(self,*args): """ getBoundingBox(self: Element,view: View) -> BoundingBoxXYZ """ pass def ReleaseUnmanagedResources(self,*args): """...
[ "gtalarico@gmail.com" ]
gtalarico@gmail.com
2da9e00a5a55d6d13016428220320b70c744985c
595c69f717fc3ceb4e0701cc433f6d7f927b6fdb
/Ar_Script/past/密码校验.py
81b0e41e581428d67fe638e29cd7ec6f2b4272f7
[ "MIT" ]
permissive
archerckk/PyTest
d6462ebf46c6dbd5bb3ce03666aad0c2665367cd
610dd89df8d70c096f4670ca11ed2f0ca3196ca5
refs/heads/master
2022-03-26T21:09:25.891745
2021-06-14T01:39:36
2021-06-14T01:39:36
129,497,345
0
0
null
2020-01-14T10:57:49
2018-04-14T08:23:03
Python
UTF-8
Python
false
false
709
py
''' 1.设置一个已经存在的密码 2.校验这个密码是否正确 3.一共只有3次机会去输入 4.密码包含*号的话不减少输入次数 5.不包含*号输入错误之后次数减少1次,提示重新输入: 6.输入正确的密码显示'密码正确,程序正在进入' ''' password='test' times=3 while times: tmp = input('请输入你的密码:') if tmp==password: print('密码正确!程序正在进入……') break elif '*' in tmp: print('密码中不能包含*号!你还有%d次机会!:' % times,...
[ "archerckk@163.com" ]
archerckk@163.com
786154515902de0683ffafe060ab38810d6f6a5d
f07094cdd8690fdfc69c91693db66c6970e0bf46
/dsgcn/__init__.py
803787bc25c187d0e2da07ad6f06b56a504e8fe4
[ "MIT" ]
permissive
Govan111/learn-to-cluster
4fce8aaca6f4d1353f388ff024703ca80461f4e6
8ec74f4d8a0da0a37761c4c6b03306c9b51505fd
refs/heads/master
2021-04-01T08:01:35.021042
2020-02-21T15:17:48
2020-02-21T15:17:48
null
0
0
null
null
null
null
UTF-8
Python
false
false
393
py
from .test_cluster_det import test_cluster_det from .train_cluster_det import train_cluster_det __factory__ = { 'test_det': test_cluster_det, 'train_det': train_cluster_det, } def build_handler(phase, stage): key_handler = '{}_{}'.format(phase, stage) if key_handler not in __factory__: raise ...
[ "yl93528@gmail.com" ]
yl93528@gmail.com
93e178a524a9a060456f47a2135fa723052076e3
c2ea371571533b375fb0c0785dbdab6eb5366569
/manage.py
abfb6633cb85fff9db8afd991aff4dc017b04a0f
[]
no_license
SpeeDly/adbe
32a648e28cedc3fb72a646586d8a7f2392c0f379
dca14cd6075c51311d5dc61da23e51ca6513968a
refs/heads/master
2021-01-23T20:21:59.111329
2015-02-09T20:38:44
2015-02-09T20:38:44
30,374,241
0
1
null
null
null
null
UTF-8
Python
false
false
246
py
#!/usr/bin/env python import os import sys if __name__ == "__main__": os.environ.setdefault("DJANGO_SETTINGS_MODULE", "adbe.settings") from django.core.management import execute_from_command_line execute_from_command_line(sys.argv)
[ "zhuhov@gmail.com" ]
zhuhov@gmail.com
13d8e15a95f914134f5205709134c46a491dd721
160ff0dbe7f9e5d740faa3ce13302190e1e5f1f0
/CenterFunction.py
7a659d836320966e8a57035befe49ff7fd177d34
[]
no_license
sivatoms/PyReddy
9a84e1568e9ee6c16c2b51ba6044059d31ae62dd
fcc0ab8705d409c6b609f9b5f5cffb8900dd8eb7
refs/heads/master
2021-06-26T17:42:43.104598
2021-01-20T21:40:06
2021-01-20T21:40:06
197,511,789
0
0
null
null
null
null
UTF-8
Python
false
false
707
py
import string # Center function adds padding to the specified length in the code # 1. Sytax -- > center(length, fillchar) string1 = 'Shiva Reddy Junna' cs = string1.center(30,'-') # here the length of the whole string will be 30 and if the provided string length is less than the specified center length then you w...
[ "sivatoms@gmail.com" ]
sivatoms@gmail.com
31f39ee5ddc285866c1059cc565ce77f2376416e
91e8415fbbebe205a26acfe7ba83db918111d56e
/StacksAndQueues/deque.py
46318f4ca1af9078f7242907a9e7932d73c8bf52
[]
no_license
sherifsameh/Basic-Data-Structures
0124bcf58a52f330b2fab0dfb72bc1ce44d07a51
fb03f24ccc3958a2913ca7232755238d940cec6a
refs/heads/master
2021-01-16T13:42:15.984055
2019-09-19T10:59:59
2019-09-19T10:59:59
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,050
py
class Deque(): """Basic object for the Deque data structure""" def __init__(self, max_capacity=None): self.container = [] self.max_capacity = max_capacity def __repr__(self): """Represents the deque as a string.""" top_border = '─┬' middle = ' │' down_border...
[ "mohamedanwarvic@gmail.com" ]
mohamedanwarvic@gmail.com
f73197242bf11b0f91d1c022391d6a1ce02f284f
1644ed5904735355eab2275dcb1b32d14052a58e
/lps331/lps331_p.py
948d499188ed156d1ab43d2d5a5780453b03f02c
[ "MIT" ]
permissive
ymyzk/mackerel-plugins
8c5825864e7dcf2f8fecf28a18c53d81822ffaac
651795d5cd0d8f220b235e2d7024d6330ec44cfb
refs/heads/master
2021-01-17T08:07:49.503795
2017-07-12T13:02:31
2017-07-12T13:10:46
20,752,390
6
1
null
null
null
null
UTF-8
Python
false
false
412
py
#!/usr/bin/env python # -*- coding: utf-8 -*- from __future__ import print_function, unicode_literals from time import time from raspiutil.sensors import LPS331 NAME = "pressure.lps331" if __name__ == '__main__': lps = LPS331(1, 0x5d) try: lps.open() # Print current pressure print("...
[ "miyazaki.dev@gmail.com" ]
miyazaki.dev@gmail.com
fbc05244ec6f532b7bf0cbd452edcb178aadf13c
f032cbec4f03d8c163609d4c5144b38952b2cbe9
/common/wordcloud_utility.py
24d09cb47686ded9864d43b227e12c8b47a8d356
[]
no_license
humlab/the_culture_of_international_relations
f12a604421debcc90996d98b8cccff6633615ffc
4440753d396c88dc5902e85e4c7e38ef8aadcefd
refs/heads/master
2022-11-13T14:05:01.373504
2022-11-01T16:30:16
2022-11-01T16:30:16
90,034,896
3
3
null
2021-09-06T08:08:06
2017-05-02T13:11:09
Jupyter Notebook
UTF-8
Python
false
false
461
py
import matplotlib.pyplot as plt import wordcloud def plot_wordcloud(df_data, token='token', weight='weight', **args): token_weights = dict({ tuple(x) for x in df_data[[token, weight]].values }) image = wordcloud.WordCloud(**args,) image.fit_words(token_weights) plt.figure(figsize=(12, 12)) #, dpi=100) ...
[ "roger.mahler@hotmail.com" ]
roger.mahler@hotmail.com
8a7cd8d3ae6d3d52393c5b17900b31bb99f09bdd
5647372602dab9a20f5a6ae8661d470dcdb7e1a5
/tests/fixtures/distributions/dummy_distribution.py
8fa64650f3ae67448bf50cfa9437d3390753706b
[ "MIT" ]
permissive
icml2020submission6857/metarl
99f140ca5058d3a6c2604b4a0c9729e214d6b7c5
9b66cefa2b6bcb6a38096d629ce8853b47c7171d
refs/heads/master
2021-01-06T22:31:27.358979
2020-02-20T08:11:38
2020-02-20T08:11:38
241,501,185
2
1
null
null
null
null
UTF-8
Python
false
false
2,037
py
"""Dummy distribution for testing purpose.""" from metarl.tf.distributions.base import Distribution class DummyDistribution(Distribution): """Dummy distribution for testing purpose.""" @property def dim(self): """Distribution dimension. Returns: int: Distribution dimenison. ...
[ "icml2020submission6857@gmail.com" ]
icml2020submission6857@gmail.com
dc0b8e65ee51c361df413729265561fa0756eee5
6e61b1711a0876eecf8d8f258b3f92c8bbcdf496
/yes/google-cloud-sdk/.install/.backup/lib/surface/compute/backend_buckets/create.py
e03a4a39bbc35e2e77eebe3db7b8788b2102d961
[ "LicenseRef-scancode-unknown-license-reference", "Apache-2.0" ]
permissive
lupynua/language-school
661c49a075c5ecfb4814146bac7016c6b1ff7e09
9a9d37ed4cb000379d3d49296a17b7d648c18dba
refs/heads/develop
2021-01-16T22:08:24.485744
2017-11-06T16:26:16
2017-11-06T16:26:16
64,672,552
0
0
null
2016-08-01T14:12:39
2016-08-01T14:12:39
null
UTF-8
Python
false
false
2,266
py
# Copyright 2015 Google Inc. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or ag...
[ "lupynua@gmail.com" ]
lupynua@gmail.com
23bc68b121261338e4640f42f8b1f64470a2eebf
b67388fffec30119dd458023ce54a6f7281fa287
/AppiumStudy/AppiumProject/robotframework-appiumlibrary-master/setup.py
7f53a5cd824db9186c7d5a145bba23d4e820c7f1
[ "Apache-2.0" ]
permissive
github653224/snow_appium_project
7fcca0aec4898330f7294f537741ec1942870817
dda500ef7e5c659c7087d773040ebb9472c16219
refs/heads/master
2021-05-10T07:43:21.588683
2018-01-25T02:51:42
2018-01-25T02:51:42
118,849,358
0
0
null
null
null
null
UTF-8
Python
false
false
2,386
py
#!/usr/bin/env python from os.path import abspath, dirname, join from setuptools import setup, find_packages ROOT = dirname(abspath(__file__)) version_file = join(ROOT, 'AppiumLibrary', 'version.py') exec (compile(open(version_file).read(), version_file, 'exec')) setup(name='robotframework-appiumlibrary', ver...
[ "944851899@qq.com" ]
944851899@qq.com
81395a23862fde3d1ce021a25ecca8ade60c86b2
11c09dc9d2d04dc3b9a53532345c5ab72c9b6caa
/8KYU/grader.py
43f788cd5fb2577adcc61f8d8bbecb25fff0b670
[ "MIT" ]
permissive
virginiah894/python_codewars
c98dead628c20bc967d88b77f15addf29fd6c2bf
350b0f8734f522eb7e5095830f848b8b113c1ca0
refs/heads/main
2023-05-25T14:38:51.631223
2021-06-14T13:10:22
2021-06-14T13:10:22
null
0
0
null
null
null
null
UTF-8
Python
false
false
258
py
def grader(score): if (score > 1) or (score < 0.6): return 'F' elif 0.8 < score <= 1: return 'A' elif 0.7 < score <= 0.8: return 'B' elif 0.6 < score <= 0.7: return 'C' elif score >= 0.6: return 'D'
[ "fatalbest@mail.ru" ]
fatalbest@mail.ru
c5a2e99ce50d32656aa8ce1ca2558ffcbadf6a05
6491795a70aef2176b2b2ab49b539b8cb823dc34
/AtCoder/ABC/000-159/ABC145_C1.py
b529b28795e6dda6b31f469b1ac5e92c59446f0a
[ "MIT" ]
permissive
sireline/PyCode
5eacc410b23ca93344a9d095df00e1586c64b1cb
8578467710c3c1faa89499f5d732507f5d9a584c
refs/heads/master
2021-06-25T13:47:05.608192
2021-03-31T07:57:01
2021-03-31T07:57:01
221,617,081
0
0
null
null
null
null
UTF-8
Python
false
false
410
py
from itertools import permutations N = int(input()) X = [] Y = [] for i in range(N): x, y = [int(n) for n in input().split()] X.append(x) Y.append(y) def dist(i, j): dx = X[i] - X[j] dy = Y[i] - Y[j] return math.sqrt(dx*dx + dy*dy) P = [i for i in range(N)] len = 0 cnt = 0 while True: f...
[ "m_sireline@hotmail.com" ]
m_sireline@hotmail.com
ae1294d2f99128dcfebd176f36c2090c76d44fed
24f2696aab87f1632705a7c8b2d3b866e26aa3ee
/remove_element_27.py
7a08af912a7febd2af9aa622aef985cd63510faf
[]
no_license
adiggo/leetcode_py
44a77a0b029f4d92bd0d8e24cad21ceea52e7794
4aa3a3a0da8b911e140446352debb9b567b6d78b
refs/heads/master
2020-04-06T07:05:21.770518
2016-07-01T16:00:40
2016-07-01T16:00:40
30,397,276
0
0
null
null
null
null
UTF-8
Python
false
false
408
py
class Solution(object): def removeElement(self, nums, val): """ :type nums: List[int] :type val: int :rtype: int """ # length of the element length = len(nums) for i in range(len(nums)-1, -1, -1): if nums[i] == val: length ...
[ "adiggo@gmail.com" ]
adiggo@gmail.com
6aa3fcd2cae33e7be5ba23e2376c054657208acf
e9c25654e028fe51f49ca286b6e4cc468552390c
/tekblog/formatters/markdown_formatter.py
ddcf2cdc84c1abf8abd32da5543f0b39c6d28c52
[]
no_license
sontek-archive/django-tekblog
4f742cd2f42aa88a062a08e8a8b831611e84f676
bd9a1c6238050b7a22f7743edbac09146d58832a
refs/heads/master
2021-01-18T14:58:58.897923
2011-12-01T00:51:31
2011-12-01T00:51:31
null
0
0
null
null
null
null
UTF-8
Python
false
false
191
py
import markdown class MarkdownFormatter(object): def __init__(self, text): self.text = text def get_html(self): return markdown.markdown(self.text, ['codehilite'])
[ "sontek@gmail.com" ]
sontek@gmail.com
825e7cd7b924fcd09d1f8476d7ee5f23ff1fa62b
489a45659476fafb66934427e42bfce3d60a0116
/Assets/Python/Revolution/RebelTypes.py
f48d204a5483763921d4ce74266cf389fc6ed945
[]
no_license
billw2012/Caveman2Cosmos
3a8c6ea347e75dbe2de9519fe70e6b38e0cf6dbe
2382877536e1669972dd024ce2d0f3d0d5ffd988
refs/heads/master
2020-07-19T00:14:48.856106
2019-09-03T23:20:42
2019-09-03T23:21:02
197,989,388
1
3
null
null
null
null
UTF-8
Python
false
false
8,136
py
# RebelTypes.py # # by jdog5000 # Version 1.1 # This file sets up the most likely rebel civ types to appear when a revolution occurs in a particular civ. from CvPythonExtensions import * import CvUtil gc = CyGlobalContext() # Initialize list to empty. RebelTypeList = list() # This function actually sets up the lis...
[ "alberts2@live.de" ]
alberts2@live.de
65b75e5a0f6c6a2b130ee8b18acac2a96655247b
53fab060fa262e5d5026e0807d93c75fb81e67b9
/backup/user_048/ch25_2020_03_31_22_59_19_813467.py
63bb097a6435bbe0cc37a77063de90a5389545e0
[]
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
225
py
import math v=int(input("qual a velocidade")) o=int(input("qual o angulo")) g=9.8 x=math.radians(x) d=((v**2)*math.sin(2*o))/g if d<98: print('Muito perto') elif d>102: print('Muito longe') else: print('Acertou!')
[ "you@example.com" ]
you@example.com
aa954f71e9f978cdac0362321ce66210570ecd37
a5c4e1ab36972c0bbc2526612a9ade95768b32b1
/ailtdou/ext.py
5c9e72dd31490e573bab5dee40d393b527046959
[]
no_license
tonyseek/ailtdou
5587e76e3c34b3533c73d2acded5b8134bbd8ad3
435cad7fd127a6fc7974b1413ec0299ca2dd359d
refs/heads/master
2021-01-23T00:14:55.509037
2018-10-13T12:46:27
2018-10-13T12:46:27
19,821,141
0
0
null
2018-08-14T07:14:38
2014-05-15T13:54:50
Python
UTF-8
Python
false
false
1,108
py
from contextlib import contextmanager from flask_sqlalchemy import SQLAlchemy from flask_migrate import Migrate from flask_login import LoginManager from flask_oauthlib.contrib.client import OAuth from raven.contrib.flask import Sentry __all__ = ['db', 'login_manager', 'oauth', 'sentry', 'capture_exception'] db = ...
[ "tonyseek@gmail.com" ]
tonyseek@gmail.com
6c5006fadc132a37414e10024d77dcd4fc60ddef
5c6fc62dd057301907c83f3fc29349e3ee02a375
/set_order_location_tour/wizard/__init__.py
0249d7ffd15c3b1ba1b9e7fb7533b69872076aa2
[]
no_license
Comunitea/custom_apolo
45ce0c79d07269e02099e0bdfdad461d48b73f34
d74cee261ea703fe5dc34dd33f374695f8d76b57
refs/heads/master
2021-03-22T04:38:21.738794
2015-12-28T12:31:01
2015-12-28T12:31:01
31,951,155
0
0
null
null
null
null
UTF-8
Python
false
false
1,039
py
# -*- coding: utf-8 -*- ############################################################################## # # Copyright (C) 2015 Comunitea Servicios Informáticos All Rights Reserved # $Javier Colmenero Fernández$ <javier@comunitea.com> # # This program is free software: you can redistribute it and/or modify # ...
[ "javierjcf@gmail.com" ]
javierjcf@gmail.com
7d3177cec410de2240c9fa4830b4b6b4e32ad518
4c0a70bacbca454d982c9a4c75be2888a9e0b7d4
/karya_ilmiah/apps.py
2d6d05f3983b1763f501f120de054585c05343a8
[]
no_license
sukzy/epkl
e41d3097f4742ab655cba7081096fd02baaa3b94
153e61b5e078c319676522e3a41971f3e2d033aa
refs/heads/master
2020-03-30T03:11:50.527769
2018-09-18T04:16:46
2018-09-18T04:16:46
null
0
0
null
null
null
null
UTF-8
Python
false
false
139
py
from __future__ import unicode_literals from django.apps import AppConfig class KaryaIlmiahConfig(AppConfig): name = 'karya_ilmiah'
[ "netspytux@gmail.com" ]
netspytux@gmail.com
c5e4b3277599289624354354ee52caa9878f38b0
bcfbb49b054380db6e7aeadc2d4e62292b5307f9
/singh/ch1_4_arithmetic_of_matrices/x1_4_1.py
be136b7641f3f0a9644833def39943bc278fe7ba
[]
no_license
hiddenwaffle/Ax-equals-b
de82d43248962ae072fd8b8a0c9eab37b52fd472
e5f4e4ac5b928440ee557eff9cf4d4683b8f7e56
refs/heads/main
2023-04-15T11:24:51.010982
2021-04-28T18:31:00
2021-04-28T18:31:00
322,965,263
0
0
null
null
null
null
UTF-8
Python
false
false
651
py
import numpy as np A = np.array([ [1, 2], [3, -1] ]) B = np.array([ [6, -1], [5, 3] ]) C = np.array([ [-1], [1] ]) print('a', "\n", A + B) print('b', "\n", B + A) print('c', "\n", B + B + B) print('d', "\n", 3 * B) print('e', "\n", 3 * A + 2 * B) print('h', "\n", A @ C) print('i', "\n", B @ C)...
[ "hiddenwaffle@users.noreply.github.com" ]
hiddenwaffle@users.noreply.github.com
a6a558b0517986be16ed19b97635a24593b807df
903e8e47b78f9d2b22c6c8a2db5331eda4b7fb67
/scripts/preprocess.py
a6af6cb4160fc4fa2841360c9df9223ab2cfe27e
[]
no_license
drdhaval2785/ChunilalGandhiVidyabhavan
7894b9c260f907ae46c33e201d67ac1f3054d9fc
d23c465ef9f0ffd0adc35fd0b88e660f288c176c
refs/heads/master
2020-04-04T16:51:18.775979
2019-02-23T12:09:14
2019-02-23T12:09:14
156,096,382
1
1
null
null
null
null
UTF-8
Python
false
false
5,874
py
#encoding: utf-8 import codecs import re import os.path from indic_transliteration.sanscript import transliterate import pyexcel as p from vernacular import vernacular import datetime import time import pandas as pd import json def stringify(text): return str(text) def removeAbnormalOrthography(data):...
[ "drdhaval2785@gmail.com" ]
drdhaval2785@gmail.com
569840aad41efaa3bb6ba5c902532e6bb693f918
6c547e3312e2d1bd3dab123b831053ed7aef7b6d
/tests/test_QTML-T370_Chrome.py
8e59c6445e02d0bc45468a0bdb8a4c1d40c6cbbf
[]
no_license
kenito2050/BICL
8c4239f1e897e4dfc04aa35e827816242b41d5dd
82891aba56cc49c9cf96ce82472847c4cb10828f
refs/heads/master
2020-12-31T22:10:44.784193
2020-02-10T23:00:10
2020-02-10T23:00:10
239,039,817
0
0
null
null
null
null
UTF-8
Python
false
false
4,365
py
import pytest from selenium import webdriver import time from config_globals import * from pages.generic_page.generic_page import generic_page from pages.BICL.login.LoginPage import LoginPage from pages.BICL.default_page.user_drop_down.user_drop_down import user_drop_down from pages.BICL.default_page.default_page impor...
[ "ken.villarruel@gmail.com" ]
ken.villarruel@gmail.com
52eb039b9ef840a13a83d4a7d32a6a1b44f17068
8ec910de801b424540abb4e6e955838a287663b6
/String_Cadenas/FraseDiccionario_numeroLetras.py
07535daec38b443bf5e836ec6d032f46a10f27bc
[]
no_license
hector81/Aprendiendo_Python
f4f211ace32d334fb6b495b1b8b449d83a7f0bf8
9c73f32b0c82f08e964472af1923f66c0fbb4c22
refs/heads/master
2022-12-28T03:41:20.378415
2020-09-28T09:15:03
2020-09-28T09:15:03
265,689,885
0
0
null
null
null
null
UTF-8
Python
false
false
832
py
def introducirFrase(): while True: try: frase = input("Por favor ingrese una frase: ") if frase != '': print("La frase es = " + frase) return frase break except ValueError: print("Oops! No era válid...
[ "noreply@github.com" ]
hector81.noreply@github.com
5ee33f5a70791f0821667d805b61d1c23959f8a0
5da5473ff3026165a47f98744bac82903cf008e0
/packages/google-cloud-alloydb/samples/generated_samples/alloydb_v1alpha_generated_alloy_db_admin_create_cluster_async.py
55e08989b41d2dd4eb79162ed5f45527a83bcaa8
[ "Apache-2.0" ]
permissive
googleapis/google-cloud-python
ed61a5f03a476ab6053870f4da7bc5534e25558b
93c4e63408c65129422f65217325f4e7d41f7edf
refs/heads/main
2023-09-04T09:09:07.852632
2023-08-31T22:49:26
2023-08-31T22:49:26
16,316,451
2,792
917
Apache-2.0
2023-09-14T21:45:18
2014-01-28T15:51:47
Python
UTF-8
Python
false
false
2,163
py
# -*- coding: utf-8 -*- # Copyright 2023 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or...
[ "noreply@github.com" ]
googleapis.noreply@github.com
d66901c97f4936a733059f4e22168fcc8fc4fed5
eef39fd96ef4ed289c1567f56fde936d5bc42ea4
/BaekJoon/Bronze1/1259.py
2658baacd58f95ef8799130700867b12e3e6a4ce
[]
no_license
dudwns9331/PythonStudy
3e17da9417507da6a17744c72835c7c2febd4d2e
b99b9ef2453af405daadc6fbf585bb880d7652e1
refs/heads/master
2023-06-15T12:19:56.019844
2021-07-15T08:46:10
2021-07-15T08:46:10
324,196,430
4
0
null
null
null
null
UTF-8
Python
false
false
1,236
py
# 펠린드롬수 """ 2021-01-29 오후 5:49 안영준 문제 어떤 단어를 뒤에서부터 읽어도 똑같다면 그 단어를 팰린드롬이라고 한다. 'radar', 'sees'는 팰린드롬이다. 수도 팰린드롬으로 취급할 수 있다. 수의 숫자들을 뒤에서부터 읽어도 같다면 그 수는 팰린드롬수다. 121, 12421 등은 팰린드롬수다. 123, 1231은 뒤에서부터 읽으면 다르므로 팰린드롬수가 아니다. 또한 10도 팰린드롬수가 아닌데, 앞에 무의미한 0이 올 수 있다면 010이 되어 팰린드롬수로 취급할 수도 있지만, 특별히 이번 문제에서는 무의미한 0이 앞에 올 수 없다고 하자....
[ "dudwns1045@naver.com" ]
dudwns1045@naver.com
cc8d5675d3a71be304ea1bc74d48daef952415f3
249ebb4b2b997cd3861736d94c204e53c8cef349
/feature_selection_pca.py
6f1ace2cd5914f1f4a52bc379f70cb89f3abcf9f
[ "MIT" ]
permissive
PacktPublishing/Machine-Learning-and-Data-Science-with-Python-A-Complete-Beginners-Guide
9428605a41db4a7af2d14f6b52eb466a2b38a16b
74fe9175a77f74299e6ba355a24487e02602645f
refs/heads/master
2023-02-10T13:42:03.984431
2023-01-30T09:04:35
2023-01-30T09:04:35
199,844,905
17
11
null
null
null
null
UTF-8
Python
false
false
725
py
# -*- coding: utf-8 -*- """ @author: abhilash """ #load the csv file using read_csv function of pandas library from pandas import read_csv from sklearn.decomposition import PCA filename = 'pima-indians-diabetes.csv' #url = 'https://myfilecsv.com/test.csv' names = ['preg', 'plas', 'pres', 'skin', 'test', 'mas...
[ "noreply@github.com" ]
PacktPublishing.noreply@github.com
1a7232f8caf8f7d86d485237394dd29098a51e32
5d9cee32583715e76e228db5927bba78b873aaef
/notion/monitor.py
f0bf50a01fe3d8180b007fcf728d0f0fbe373656
[ "MIT" ]
permissive
mayneyao/notion-py
de5fdbd865491e8950e5a5d990a3c756d9ee6c00
21d62a15192bac088da4de4a675b4bde4db20f1c
refs/heads/master
2021-06-30T11:33:23.040809
2019-07-26T14:42:38
2019-07-26T14:42:38
167,893,811
4
0
MIT
2020-10-11T12:54:20
2019-01-28T03:35:42
Python
UTF-8
Python
false
false
7,224
py
import json import re import requests import threading import time import uuid from collections import defaultdict from inspect import signature from requests import HTTPError from .collection import Collection from .logger import logger from .records import Record class Monitor(object): thread = None def...
[ "jamalex@gmail.com" ]
jamalex@gmail.com
f3dde1c1748b86fe6c783aaf7511a45333e72cab
e0ede722874d222a789411070f76b50026bbe3d8
/practice/solution/0023_merge_k_sorted_lists.py
5cece1f177240a0de374cff669882a2509c52a4c
[]
no_license
kesarb/leetcode-summary-python
cd67456cb57bdff7ee227dab3930aaf9c2a6ad00
dc45210cb2cc50bfefd8c21c865e6ee2163a022a
refs/heads/master
2023-05-26T06:07:25.943854
2021-06-06T20:02:13
2021-06-06T20:02:13
null
0
0
null
null
null
null
UTF-8
Python
false
false
819
py
# Definition for singly-linked list. # class ListNode(object): # def __init__(self, x): # self.val = x # self.next = None import heapq class Solution(object): def mergeKLists(self, lists): """ :type lists: List[ListNode] :rtype: ListNode """ dum...
[ "weikunhan@g.ucla.edu" ]
weikunhan@g.ucla.edu
e3a1819747807001a4cd93f10031b18168975148
9c49042776d1bd5f4b183addea302bdd248e3de7
/tasks/brainfuck_part_interaction.py
9b7793688d20ee343b09fbe2b68aac444ad1d00d
[ "MIT" ]
permissive
youknowone/brainfuck-ntm
385b791b71da37941f711297605850b78e21993f
d72b27fb5c80deb054c59b22e38cd10b93903295
refs/heads/master
2020-03-27T04:40:05.583741
2018-08-24T07:37:09
2018-08-24T07:37:09
145,959,289
0
0
null
null
null
null
UTF-8
Python
false
false
3,362
py
from __future__ import absolute_import import numpy as np import random from brainfuck.core import Instruction, State from . import brainfuck_common as common print_interval = 5 def preset_flags(FLAGS): FLAGS.controller_layer_size = 2 FLAGS.max_length = 1 FLAGS.test_max_length = 1 FLAGS.input_dim ...
[ "jeong@youknowone.org" ]
jeong@youknowone.org
10b1bc75786a9e8949fadbcb5854da5e29d5b872
f9d564f1aa83eca45872dab7fbaa26dd48210d08
/huaweicloud-sdk-dc/huaweicloudsdkdc/v3/model/create_resource_tag_response.py
9d967613c56da3f43ce367e3bd8e87504133c94c
[ "Apache-2.0" ]
permissive
huaweicloud/huaweicloud-sdk-python-v3
cde6d849ce5b1de05ac5ebfd6153f27803837d84
f69344c1dadb79067746ddf9bfde4bddc18d5ecf
refs/heads/master
2023-09-01T19:29:43.013318
2023-08-31T08:28:59
2023-08-31T08:28:59
262,207,814
103
44
NOASSERTION
2023-06-22T14:50:48
2020-05-08T02:28:43
Python
UTF-8
Python
false
false
3,086
py
# coding: utf-8 import six from huaweicloudsdkcore.sdk_response import SdkResponse from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization class CreateResourceTagResponse(SdkResponse): """ Attributes: openapi_types (dict): The key is attribute name and t...
[ "hwcloudsdk@huawei.com" ]
hwcloudsdk@huawei.com
2dbe95b6259e2020a60a01f67ea3df75ea84e2fd
9132c42868ab51a8cdaa8e3b7a25d63a2d5cee3b
/Fundamentals/inheritance2.py
0b5e1288b138a1c739c35f173f6d44a08cffa537
[]
no_license
prathik-kumar/python
ad9efc00a5c953612e2b47116ed9d41d5a9799d0
01eff6041c73fcc7059c70236d6ad7191bb68981
refs/heads/master
2021-07-12T03:50:51.900669
2021-03-02T15:04:27
2021-03-02T15:04:27
235,809,282
0
0
null
null
null
null
UTF-8
Python
false
false
890
py
#superclass definition class Person: #initializaing variables name = '' age = 0 #constructor def __init__(self, personName, personAge): self.name = personName self.age = personAge #class methods def showName(self): print(self.name) def showAge(self): print(self.age) #end of superclass #subclass class...
[ "root@localhost.localdomain" ]
root@localhost.localdomain
41b2cf96ba7a41397dd252d99b46ff04303f96d0
163bbb4e0920dedd5941e3edfb2d8706ba75627d
/Code/CodeRecords/2236/60772/281982.py
472898b81dbc0271f1dd93773f21c60805a35edb
[]
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
507
py
li = input().split() n = int(li[0]) res = 0 for i in range(n): li = input().split() for ele in li: res += int(ele) if res == 2772462: print(106465) print(84185) print(492737) elif res == 12290181: print(964673) print(964673) print(1) print(964673) print(3) print(1)...
[ "1069583789@qq.com" ]
1069583789@qq.com
79189a16b2b3c95c080e0d04aae70eeb18faee4f
62e58c051128baef9452e7e0eb0b5a83367add26
/edifact/D11A/CODECOD11AUN.py
aedb440ac5da21e27b28d19afe0e982340024dc6
[]
no_license
dougvanhorn/bots-grammars
2eb6c0a6b5231c14a6faf194b932aa614809076c
09db18d9d9bd9d92cefbf00f1c0de1c590fe3d0d
refs/heads/master
2021-05-16T12:55:58.022904
2019-05-17T15:22:23
2019-05-17T15:22:23
105,274,633
0
0
null
2017-09-29T13:21:21
2017-09-29T13:21:21
null
UTF-8
Python
false
false
2,651
py
#Generated by bots open source edi translator from UN-docs. from bots.botsconfig import * from edifact import syntax from recordsD11AUN import recorddefs structure = [ {ID: 'UNH', MIN: 1, MAX: 1, LEVEL: [ {ID: 'BGM', MIN: 1, MAX: 1}, {ID: 'DTM', MIN: 0, MAX: 9}, {ID: 'FTX', MIN: 0, MAX: 9}, {ID: 'RFF'...
[ "jason.capriotti@gmail.com" ]
jason.capriotti@gmail.com
d7e9ff4891aa5e14195f9546a82e09a1c2372beb
46ac0965941d06fde419a6f216db2a653a245dbd
/sdks/python/test/test_UploadedSymbolInfo.py
e64210d9c84e75135014c239154dcd06364c3e14
[ "MIT", "Unlicense" ]
permissive
b3nab/appcenter-sdks
11f0bab00d020abb30ee951f7656a3d7ed783eac
bcc19c998b5f648a147f0d6a593dd0324e2ab1ea
refs/heads/master
2022-01-27T15:06:07.202852
2019-05-19T00:12:43
2019-05-19T00:12:43
187,386,747
0
3
MIT
2022-01-22T07:57:59
2019-05-18T17:29:21
Python
UTF-8
Python
false
false
940
py
# coding: utf-8 """ App Center Client Microsoft Visual Studio App Center API # noqa: E501 OpenAPI spec version: preview Contact: benedetto.abbenanti@gmail.com Project Repository: https://github.com/b3nab/appcenter-sdks """ from __future__ import absolute_import import unittest import appcente...
[ "b3nab@users.noreply.github.com" ]
b3nab@users.noreply.github.com
bcebb4c81b69bce33b8cd76d75325c194439cf9c
d491c11dc87a955c95a4e14a2feea19fe1fa859e
/python/Arcade/Core/C80CharacterParity.py
e8888c44b8bdafa6f7977846caab89beda21838f
[]
no_license
Vagacoder/Codesignal
0f6ea791b25716cad7c46ab7df73679fb18a9882
87eaf44555603dd5b8cf221fbcbae5421ae20727
refs/heads/master
2023-07-16T04:18:44.780821
2021-08-15T18:41:16
2021-08-15T18:41:16
294,745,195
1
0
null
null
null
null
UTF-8
Python
false
false
928
py
# # * Core 80, Character Parity # * Easy # * Given a character, check if it represents an odd digit, an even digit or not # * a digit at all. # * Example # For symbol = '5', the output should be # characterParity(symbol) = "odd"; # For symbol = '8', the output should be # characterParity(symbol) = "...
[ "qiruihu@gmail.com" ]
qiruihu@gmail.com
3ceb3e88f35543c4b927c12d7b7162a6736654f3
91b3f9f1803161c22ff5bed3e5604a07d67728ac
/log/formatter.py
a711f393c8b286fec723b52437be63abbc2058a2
[ "LicenseRef-scancode-warranty-disclaimer", "MIT" ]
permissive
AndreTeixeira1998/TekkenBot
dab01fd022f91787f709241a17a903291e7089bd
015c601afbea5d75a46b3385f1d322b2655249b0
refs/heads/master
2023-07-17T16:52:14.182255
2021-04-22T17:29:55
2021-04-22T17:29:55
273,787,610
0
0
MIT
2020-06-20T21:34:27
2020-06-20T21:34:26
null
UTF-8
Python
false
false
2,029
py
#!/usr/bin/env python3 # Copyright (c) 2019, Alchemy Meister # All rights reserved. # # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the following conditions are met: # # * Redistributions of source code must retain the above copyright notice, # ...
[ "jesusesma@gmail.com" ]
jesusesma@gmail.com
87ade4a65089ceb16deabaa6f96f723872dcc2f1
3dedcaa542529534b53f0612458b3b5dcaaa8d49
/icevision/models/torchvision/__init__.py
d474d353b893cda549b84346b26886747ba891f3
[ "Apache-2.0" ]
permissive
jerbly/icevision
20801e7acb6ef7dd8efe58ac9a398967689cbc9c
f97edd52c152f438d02bcce8a2e40b90dc304d01
refs/heads/master
2023-04-01T08:16:28.088970
2021-04-13T12:15:40
2021-04-13T12:15:40
314,865,574
0
1
Apache-2.0
2023-03-29T15:45:46
2020-11-21T17:25:37
Python
UTF-8
Python
false
false
190
py
import icevision.models.torchvision.faster_rcnn import icevision.models.torchvision.mask_rcnn import icevision.models.torchvision.retinanet import icevision.models.torchvision.keypoint_rcnn
[ "lucasgouvaz@gmail.com" ]
lucasgouvaz@gmail.com
678079043e175dad06d7a14bde8739c048394ec4
22f25d369df00ae2bcee850a8ad22754eb6bb04d
/code/blastn_all_v_all.py
50e2768f516ccd0927ff51b1edf175bb98c32892
[ "MIT" ]
permissive
linsalrob/PhageHosts
4142a6bf082bc9c597bd061585e604132ec9d7e0
d3b156b3c2dbbc0e69bf6464b644c03c1c084f8f
refs/heads/master
2021-11-11T21:17:54.469304
2021-11-07T02:47:21
2021-11-07T02:47:21
28,326,376
19
8
null
null
null
null
UTF-8
Python
false
false
2,055
py
''' For blastn searches we are going to calculate the percent coverage of the phage genome and score the longest coverage as the best hit. It doesn't matter where the hits are on the bacterial genome. We are going to use a cutoff of 0.001 E value ''' import sys,os,re from phage import Phage phage=Phage() try: ...
[ "raedwards@gmail.com" ]
raedwards@gmail.com
641794d555693146ce1fa7c27e52dca7d60cdcbd
2f98aa7e5bfc2fc5ef25e4d5cfa1d7802e3a7fae
/python/python_17047.py
4db6ec796408dbf759206ce728e08989bdd2d317
[]
no_license
AK-1121/code_extraction
cc812b6832b112e3ffcc2bb7eb4237fd85c88c01
5297a4a3aab3bb37efa24a89636935da04a1f8b6
refs/heads/master
2020-05-23T08:04:11.789141
2015-10-22T19:19:40
2015-10-22T19:19:40
null
0
0
null
null
null
null
UTF-8
Python
false
false
228
py
# Modify variable just in the Django admin but not in database def __init__(self, *args, **kwargs): super(MyModelAdminForm, self).__init__(*args, **kwargs) self.fields['value'].value = self.instance.get_reverted_value()
[ "ubuntu@ip-172-31-7-228.us-west-2.compute.internal" ]
ubuntu@ip-172-31-7-228.us-west-2.compute.internal
311875fe32152a75ffb094042eb744ef00c0cdd0
999f3f3da1cb70cb5872f99a09d65d7c4df71cf7
/src/data/599.py
b07e627194bfda9208322a822738263f5f6a8bbe
[ "MIT" ]
permissive
NULLCT/LOMC
0f0d1f01cce1d5633e239d411565ac7f0c687955
79a16474a8f21310e0fb47e536d527dd5dc6d655
refs/heads/main
2023-07-27T17:03:46.703022
2021-09-04T08:58:45
2021-09-04T08:58:45
396,290,713
0
0
null
null
null
null
UTF-8
Python
false
false
3,311
py
def d_collision(): import sys sys.setrecursionlimit(10**7) N, Q = [int(_) for _ in input().split()] Roads = [[int(col) - 1 for col in input().split()] for row in range(N - 1)] Queries = [[int(col) - 1 for col in input().split()] for row in range(Q)] class LowestCommonAncestor(object): "...
[ "cockatiel.u10@gmail.com" ]
cockatiel.u10@gmail.com
a7335f9851bf8c2063fc21007dc31b779728b434
2356ff9946a3122838b8c505c52eb922a614154e
/expenses_tracker/expenses_tracker/expenses/migrations/0001_initial.py
213f992a3a1a923697bea26f0d724b2f9f63ac9e
[ "MIT" ]
permissive
BoyanPeychinov/python_web_basics
8587a10c9e36fd0ebedd7bfefc636a73949410d4
2f892ac119f7fe3a5c03fc5e7b35670dc609a70f
refs/heads/main
2023-07-03T05:09:21.037914
2021-08-06T12:44:01
2021-08-06T12:44:01
374,112,261
1
0
null
null
null
null
UTF-8
Python
false
false
641
py
# Generated by Django 3.2.4 on 2021-06-25 10:13 from django.db import migrations, models class Migration(migrations.Migration): initial = True dependencies = [ ] operations = [ migrations.CreateModel( name='Expense', fields=[ ('id', models.BigAutoFie...
[ "BoyanPeychinov@gmail.com" ]
BoyanPeychinov@gmail.com
e2756b66c88c5547836b998b7481bc886872bfab
6c500c6f356c4eedb508e88c6ccae3e1746e985c
/mdcom/MHLogin/MHLUsers/tests/tests_utils.py
32bdbbe8b4961f4b1866406d06b84e59cbc59567
[]
no_license
DongHuaLu/mdcom
c83e5f3f5595072b5575637140fc550680fada0e
d0be90d610879bde0004baceac969cb02fc67d1c
refs/heads/master
2020-12-10T02:56:10.574054
2016-09-06T14:10:57
2016-09-06T14:10:57
35,287,408
0
2
null
2020-07-25T21:42:07
2015-05-08T15:39:12
Python
UTF-8
Python
false
false
3,320
py
#-*- coding: utf-8 -*- ''' Created on 2012-9-24 @author: mwang ''' from MHLogin.MHLPractices.models import PracticeLocation from MHLogin.MHLUsers.models import OfficeStaff, Provider, Broker, MHLUser from MHLogin.MHLUsers.utils import update_staff_address_info_by_practice from MHLogin.utils.tests import create_user fro...
[ "ctl70000@163.com" ]
ctl70000@163.com
ef0513e7bdf7a4d4f4085fbb49e9ae2c4d4f03bb
be0f3dfbaa2fa3d8bbe59229aef3212d032e7dd1
/Gauss_v45r10p1/Gen/DecFiles/options/13134050.py
2ece1555e57af6486ddf7ba60cc3cfe357972b57
[]
no_license
Sally27/backup_cmtuser_full
34782102ed23c6335c48650a6eaa901137355d00
8924bebb935b96d438ce85b384cfc132d9af90f6
refs/heads/master
2020-05-21T09:27:04.370765
2018-12-12T14:41:07
2018-12-12T14:41:07
185,989,173
0
0
null
null
null
null
UTF-8
Python
false
false
1,791
py
# file /home/hep/ss4314/cmtuser/Gauss_v45r10p1/Gen/DecFiles/options/13134050.py generated: Wed, 25 Jan 2017 15:25:31 # # Event Type: 13134050 # # ASCII decay Descriptor: [B_s0 -> (J/psi(1S) -> pi+ pi-) (phi(1020) -> K+ K-)]cc # from Configurables import Generation Generation().EventType = 13134050 Generation().SampleGe...
[ "slavomirastefkova@b2pcx39016.desy.de" ]
slavomirastefkova@b2pcx39016.desy.de
b1c1566bbfc1851f9a60e41cd1c73d899d0af738
9743d5fd24822f79c156ad112229e25adb9ed6f6
/xai/brain/wordbase/nouns/_eggheads.py
997f93aa4b726ef3480ea6736a8bc9cfa7a9ec9d
[ "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
245
py
from xai.brain.wordbase.nouns._egghead import _EGGHEAD #calss header class _EGGHEADS(_EGGHEAD, ): def __init__(self,): _EGGHEAD.__init__(self) self.name = "EGGHEADS" self.specie = 'nouns' self.basic = "egghead" self.jsondata = {}
[ "xingwang1991@gmail.com" ]
xingwang1991@gmail.com
a27934270c86ecab9af4fc0ec5281f0112ba5b05
b287295839c6814ff72d101a6f54b82e9c2a4be3
/plugins/piwigo/tools.py
4d2e985a6d4598aa1ca9972f8ff8d69e8345e149
[]
no_license
BlenderCN-Org/goblin
c845592270a27f40633df0f2f153d3d9b21d6eba
7be5b407dc9615c54281c3bcaf689aaf72958732
refs/heads/master
2020-05-22T17:02:54.252560
2013-05-02T23:39:35
2013-05-02T23:39:35
null
0
0
null
null
null
null
UTF-8
Python
false
false
3,359
py
# GNU MediaGoblin -- federated, autonomous media hosting # Copyright (C) 2013 MediaGoblin contributors. See AUTHORS. # # This program is free software: you can redistribute it and/or modify # it under the terms of the GNU Affero General Public License as published by # the Free Software Foundation, either version 3 of...
[ "praveen97uma@gmail.com" ]
praveen97uma@gmail.com
04007be837a8a2abe2119ccaff922cfba69073a7
65de99e6a61f9a1e8c1c61ce4631025df9c4a389
/component/selectMethods.py
6823ef5fb7951ecf2bcb5cf3648912637b06b273
[]
no_license
TonyZhang94/portrait
a10d0ea4d0102dba2a54a4aa92002d82915302f6
fd0608ded5834ba98715b930c99b3e77cbcec2c7
refs/heads/master
2020-04-14T22:41:02.648844
2019-01-08T13:01:15
2019-01-08T13:01:15
164,173,277
0
0
null
null
null
null
UTF-8
Python
false
false
3,438
py
# -*- coding:utf-8 -*- from portrait.tool.utils import * class SelectMethod(object): def __init__(self): """""" def select(self, *args, **kwargs): """Action""" class SelectTargetsByNomination(SelectMethod): def select(self, info, dim=Parameters.dim_targets): info = info[["tag"...
[ "879833043@qq.com" ]
879833043@qq.com
cfd7917896f7e79d7e30b0e5ca78387904fc1271
3e5ecad4d2f681f2f4f749109cc99deea1209ea4
/test/samsung_jusik/test02_samsung7_all_load.py
1321b936cb2d25e59a8e3a1ca15666f6d7b7a415
[]
no_license
SunghoonSeok/Study
f41ede390079037b2090e6df20e5fb38f2e59b8f
50f02b9c9bac904cd4f6923b41efabe524ff3d8a
refs/heads/master
2023-06-18T06:47:55.545323
2021-07-05T00:47:55
2021-07-05T00:47:55
324,866,762
1
0
null
null
null
null
UTF-8
Python
false
false
2,316
py
import numpy as np import pandas as pd #1. 데이터 data = np.load('c:/data/test/samsung_jusik2.npy') x = data[:,:-1] y = data[:,-1] print(x.shape, y.shape) from sklearn.preprocessing import MinMaxScaler scaler = MinMaxScaler() scaler.fit(x) x = scaler.transform(x) size = 6 def split_x(seq, size): aaa = [] for ...
[ "76455292+SunghoonSeok@users.noreply.github.com" ]
76455292+SunghoonSeok@users.noreply.github.com
9a7783ec892288aebaf35e43a27b2c7399530e3a
8f6cc0e8bd15067f1d9161a4b178383e62377bc7
/__PPPPLLLLTTTT__LLLLOOOOGGGG/workspace/fc_lstm/others/sandbox_v0001/plot_log_new.py
7852ebaf251b99d8f99c02df28dc0558b43b746b
[]
no_license
humorbeing/python_github
9c4dfc61a3cefbb266fefff335f6b28d05797e5e
e4b4b49bee7e7e3843c6874717779ce8d619bd02
refs/heads/master
2023-01-22T21:51:20.193131
2020-01-26T21:47:23
2020-01-26T21:47:23
163,707,778
0
0
null
2022-12-27T15:37:48
2019-01-01T01:58:18
Python
UTF-8
Python
false
false
3,971
py
import numpy as np import matplotlib.pyplot as plt def xy(name): with open(name) as f: lines = [line for line in f] num_logs = 0 all_num = [] for line in lines: num_from_line = [] num_logs += 1 segments = line.split(',') segments = [cleanse.strip() for cleanse i...
[ "geemguang@gmail.com" ]
geemguang@gmail.com
36a3219be7db3c2bf62b8620f4cf93ca962a2031
3c27b86f0165ab24e6b04d505e8471e032594f0b
/pythonAnimations/pyOpenGLChess/engineDirectory/oglc-env/lib/python2.7/site-packages/OpenGL/GLES2/APPLE/rgb_422.py
376e0b26b0a4c596f366dbe54a9a0f3c62f880cd
[ "MIT", "GPL-1.0-or-later", "LicenseRef-scancode-warranty-disclaimer", "LicenseRef-scancode-other-copyleft", "LGPL-2.1-or-later", "GPL-3.0-only", "LGPL-2.0-or-later", "GPL-3.0-or-later" ]
permissive
alexus37/AugmentedRealityChess
8b9ccdfffc8aee93a86a44b8ef53c034ec6a10d1
7f600ad153270feff12aa7aa86d7ed0a49ebc71c
refs/heads/master
2020-12-24T13:29:21.967833
2020-02-27T09:38:50
2020-02-27T09:38:50
31,264,034
1
1
MIT
2020-02-27T09:38:52
2015-02-24T14:36:34
Python
UTF-8
Python
false
false
738
py
'''OpenGL extension APPLE.rgb_422 This module customises the behaviour of the OpenGL.raw.GLES2.APPLE.rgb_422 to provide a more Python-friendly API The official definition of this extension is available here: http://www.opengl.org/registry/specs/APPLE/rgb_422.txt ''' from OpenGL import platform, constant, arrays fro...
[ "alexlelidis@gmx.de" ]
alexlelidis@gmx.de
ae52b7dd725c9b66c8f7f9c3e98e67a9d7859744
ebaf201fa2557e952b659fc0c852484ad04a07f6
/point.py
1defaf52e698897dd25a6b32d1be679fdbe245ff
[]
no_license
ModelDBRepository/152788
c5fa74e0e6a9cc458a9253f52f8a0b3c6232d9ec
2e8d0ac6a4c3a7d9ac91f9e6842c6638d4600d03
refs/heads/master
2020-05-29T18:27:20.272757
2019-05-31T04:56:11
2019-05-31T04:56:11
189,300,212
0
0
null
null
null
null
UTF-8
Python
false
false
1,312
py
# Helper class that takes care of the from math import sqrt class Point(): coords = [] def __init__(self, coords): self.coords = coords def __add__(self, other): return Point((self.coords[0] + other.coords[0], \ self.coords[1] + other.coords[1], \ self.coords[2] +...
[ "tom.morse@yale.edu" ]
tom.morse@yale.edu
6a4b81f4afca74553c1e58b15d13ea91056836af
86b6fe8ba0546afc23458d6383b24901675dc590
/tracpro/profiles/tests/factories.py
54e266a5642d35899e47412242536e81f1cf36b7
[ "BSD-3-Clause" ]
permissive
mdheyab/tracpro
5c4b41a1a142d44feb8b1370c9c546af233ef26e
0a3bd1ee49b44c5a80db678ed7fbfd6a8572d9c6
refs/heads/master
2021-01-18T03:57:35.852137
2015-09-16T14:21:54
2015-09-16T14:21:54
null
0
0
null
null
null
null
UTF-8
Python
false
false
498
py
import factory import factory.django import factory.fuzzy from tracpro.test.factory_utils import FuzzyEmail __all__ = ['User'] class User(factory.django.DjangoModelFactory): username = factory.fuzzy.FuzzyText() email = FuzzyEmail() class Meta: model = "auth.User" @factory.post_generation ...
[ "rebecca@caktusgroup.com" ]
rebecca@caktusgroup.com
831212686690444c85472382f652dec84fd5c233
61ab0dbe855efb41827e991b35eaf607aa1b383d
/spider/spider13.py
f8b831a6f8e7135006257e8dfdf1a7244e30bc63
[]
no_license
PythonOpen/work
a9ae73e30b11a860d5b2ebceee56d74215e8d038
9baf1b5f911ec8ba071987d8c6a6e686a3e27932
refs/heads/master
2021-05-18T06:53:27.998114
2020-05-12T10:08:57
2020-05-12T10:08:57
251,167,040
0
0
null
null
null
null
UTF-8
Python
false
false
761
py
'''' 任务: 1. 利用selenium模拟鼠标下拉 2. 每次多出现几部电影的信息 ''' from selenium import webdriver import time url = 'https://movie.douban.com/typerank?type_name=%E5%89%A7%E6%83%85&type=11&interval_id=100:90&action=' chrome_options = webdriver.ChromeOptions() chrome_options.add_argument('--headless') chrome_options.add_argument('--dis...
[ "1083138609@qq.com" ]
1083138609@qq.com
5cea1c7e122fb35acc5e832f4f57d032d746c26c
8d38f23ec63e75f433d5de33c5d9bc51c9d7ac90
/gangnam.py
143e79bc7bb47cfc229eb8368962b3bb053bdca0
[]
no_license
aliwo/ChocoPy
4a957468ef38a3bfcd99f112541e6e5b0e2adbdc
eb339c4103e5400c2cf8435b1d6af5f7b3b60548
refs/heads/master
2023-05-27T09:38:28.609554
2019-10-19T12:09:03
2019-10-19T12:09:03
211,509,685
5
1
null
2023-05-01T21:15:21
2019-09-28T14:06:06
Python
UTF-8
Python
false
false
872
py
import winsound import time winsound.Beep(293, 200) # D winsound.Beep(293, 200) # D winsound.Beep(293, 200) # D winsound.Beep(293, 600) # D winsound.Beep(246, 600) # B time.sleep(0.1) winsound.Beep(369, 200)# F# winsound.Beep(369, 200)# F# winsound.Beep(369, 200)# F# winsound.Beep(369, 600)# F# winsound.Beep(329, 60...
[ "aliwo@naver.com" ]
aliwo@naver.com
24ab5ede6e0df1661d4dfeff6e9ff818db5255e5
b4a038eb7f6afa60e7c1d05c7340b4072edf795a
/grpc/python/UnaryRPC/server.py
8a988f1224110b1fd3e8cc0322011e16f3fb0f28
[ "MIT" ]
permissive
AtsushiSakai/protocol_buffer_sample
c6e135c041c1a2d9f511cfd08967dbf45ac26dfe
14667213b7764d132bd6c53ecf8e602e4610194e
refs/heads/master
2020-05-30T12:20:35.350564
2019-06-23T05:25:57
2019-06-23T05:25:57
189,732,248
0
0
null
null
null
null
UTF-8
Python
false
false
1,668
py
""" gRPC server for unary PRC sample in Python author: Atsushi Sakai(@Atsushi_twi) """ import time from concurrent import futures import grpc import addressbook_pb2 import addressbook_pb2_grpc class AddressBookResponder(addressbook_pb2_grpc.RequestAddressBookWithUnaryRPCServicer): def Request(self, reques...
[ "asakai.amsl+github@gmail.com" ]
asakai.amsl+github@gmail.com
f8e0a873918bcf33cc3c14503e1838231e4a9801
296287f05a1efed570b8da9ce56d3f6492126d73
/snippets/zip_file.py
54ac1824832637374244fd8f651088768edfe62f
[]
no_license
formazione/python_book
145f8a2598b6b75736a7c33a796b9fdd8cff668e
d7822b312c1db028bb70e25385a74b227a9a2609
refs/heads/main
2023-07-05T20:15:18.166771
2021-08-12T14:14:25
2021-08-12T14:14:25
320,499,187
1
0
null
null
null
null
UTF-8
Python
false
false
255
py
# Unzip the files in a zipped file in the same dir of this script import zipfile def unzip(name): "Unzip zipped file" with zipfile.ZipFile(name, 'r') as zip_ref: zip_ref.extractall(".") unzip("G:\\pymemo_zip\\pymemo.zip")
[ "gatto.gio@gmail.com" ]
gatto.gio@gmail.com
bd2d370c6f2448ebc46af52255a5466c5aef46bb
77d6ae92c38d56f2aa7a57fd24dd97bec6fa6cc4
/gentleproject2/asgi.py
27c7b503a02279cc1482161f3a7369ec2847a575
[]
no_license
Gentility01/my-project
aaab030abad105094aa1c0206995a95a756448be
9cd0805ffc7a02b811f6481ad79bda8e4b14a786
refs/heads/master
2023-06-17T13:39:01.353408
2021-07-07T01:20:59
2021-07-07T01:20:59
383,476,466
0
0
null
null
null
null
UTF-8
Python
false
false
405
py
""" ASGI config for gentleproject2 project. It exposes the ASGI callable as a module-level variable named ``application``. For more information on this file, see https://docs.djangoproject.com/en/3.1/howto/deployment/asgi/ """ import os from django.core.asgi import get_asgi_application os.environ.setdefault('DJANG...
[ "mastergentility5@gmail.com" ]
mastergentility5@gmail.com
72d8042b9b200efa886113559b02da9cea5a6825
c0a7d9a057abbd1a065a4149b96777163e596727
/Placement Prepration/Graph/dfs.py
be1155389196e14e2271d363b9ab99428928e49f
[]
no_license
Sameer2898/Data-Structure-And-Algorithims
6471c2dabfbd2067d2a2c556ddd0b6615235cd4f
2f251570434ea9c1881de95b4b1a5e368d5b7f46
refs/heads/main
2023-02-16T16:18:08.177109
2021-01-14T06:33:22
2021-01-14T06:33:22
329,527,964
0
0
null
null
null
null
UTF-8
Python
false
false
1,215
py
import atexit import io import sys from collections import defaultdict sys.setrecursionlimit(10**6) def dfs_util(g, root, vis, ans): ans.append(root) vis[root] = True for nodes in g[root]: if not vis[nodes]: dfs_util(g, nodes, vis, ans) return def dfs(g,N): vis = [False for i i...
[ "xdgsr1234@gmail.com" ]
xdgsr1234@gmail.com
07d54ead1a5c770f0e64fc781f4f4c9b08b8ccfb
de24f83a5e3768a2638ebcf13cbe717e75740168
/moodledata/vpl_data/80/usersdata/218/46202/submittedfiles/moedas.py
9aa908284c35ed57e9fd233562c0e6b8ce42ac11
[]
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
355
py
# -*- coding: utf-8 -*- from __future__ import division a=int(input('digite o valor de a:')) b=int(input('digite o valor de b:')) c=int(input('digite o valor a ser trocado:')) valor=0 i=0 if a>=b: n=a m=b else: n=b m=a while i<=m: valor=(c-(n*i)) if valor%m==0: break i=i+1 if cont==0: ...
[ "rafael.mota@ufca.edu.br" ]
rafael.mota@ufca.edu.br
94cad12412d992790882639eb86ca0da61cc7787
2c635d6b558a65e62a9d37c12abf9e4ecbe8938c
/Bus Routes/Bus Routes.py
11c2979a32dcdd860a811631a3e8a0aa12ab9ad0
[]
no_license
GreatStephen/MyLeetcodeSolutions
c698e13b7088fc9236250b6ec10331b88fe99ed1
73a8f79f2cd5c769b195c503f0346893b102acdc
refs/heads/master
2023-03-01T04:53:19.698040
2021-02-05T22:28:18
2021-02-05T22:28:18
284,350,540
0
0
null
null
null
null
UTF-8
Python
false
false
850
py
class Solution: def numBusesToDestination(self, routes: List[List[int]], S: int, T: int) -> int: d = {} for i,route in enumerate(routes): for r in route: if r not in d: d[r] = set() d[r].add(i) seen = set() deq = deque() de...
[ "litianyou97@gmail.com" ]
litianyou97@gmail.com
3c8cba4bd8d2880ef1dc12a7745eabbee7fe49bc
6eced08f16f0596efa08b3d5389b95d8887cbc02
/ResultData/PlotProb.py
b9540a87e5e015b58515ca3a0aa7c3b47ac3205d
[]
no_license
mfkiwl/QuickFusing
45f7705e9b6faccf52baac25d813a49543eb399b
919358f0e3a908e9813b31e8afec4999b382bbfa
refs/heads/master
2022-01-09T15:17:52.032111
2018-04-14T12:49:09
2018-04-14T12:49:09
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,666
py
import numpy as np import scipy as sp import matplotlib.pyplot as plt import os def NormalPdf(x,miu,sigma): para1 = 1/ (2.0*np.pi)**0.5 / sigma para2 = -((x-miu)*(x-miu)/2/sigma/sigma) return para1 * np.exp(para2) def EvaluationFunction(pose,uwb_data,beaconset,sigma,z_offset,save_file_name): the_ra...
[ "551619855@qq.com" ]
551619855@qq.com
b57ad0756ce0bc25f333fc214161734ebd33107f
70d4ef0863906b3ca64f986075cd35b8412b871e
/pipeline/engine/utils.py
31ef9060d5b5e371e86301f67a49651aff4b22a8
[ "MIT", "BSD-3-Clause", "BSL-1.0", "LicenseRef-scancode-unknown-license-reference", "Apache-2.0" ]
permissive
selinagyan/bk-sops
72db0ac33d9c307f51769e4baa181ceb8e1b279e
39e63e66416f688e6a3641ea8e975d414ece6b04
refs/heads/master
2020-05-07T16:44:33.312442
2019-04-11T02:09:25
2019-04-11T02:09:25
180,696,241
0
0
null
2019-04-11T02:07:11
2019-04-11T02:07:10
null
UTF-8
Python
false
false
2,155
py
# -*- coding: utf-8 -*- """ Tencent is pleased to support the open source community by making 蓝鲸智云PaaS平台社区版 (BlueKing PaaS Community Edition) available. Copyright (C) 2017-2019 THL A29 Limited, a Tencent company. All rights reserved. Licensed under the MIT License (the "License"); you may not use this file except in co...
[ "pagezhou@tencent.com" ]
pagezhou@tencent.com
574f37220145386eaf6227f0086ec961cf900981
74e13532ba442e3deaa0f8ba41a9287fdf0517b0
/utils/general.py
05e683186f2f01ef89dbb58fd6bab9090e51039f
[ "MIT" ]
permissive
umautobots/osp
09afeddbb917381c8a468b08a3e36e5114937520
d055f1c846f907445186b9dea7da2d4dca4790a6
refs/heads/master
2022-12-03T20:40:51.036215
2020-08-17T18:03:27
2020-08-17T18:03:27
288,250,879
6
2
null
null
null
null
UTF-8
Python
false
false
3,673
py
import numpy as np import pandas as pd import warnings def xy2pv(xy, n_roll=0): """ :param xy: t, k, 2 :param n_roll: window size to use in rolling mean :return: pv: t, k, 4 """ pv = np.zeros((xy.shape[0], xy.shape[1], 4)) pv[..., :2] = xy if xy.shape[0] > n_roll > 0: ...
[ "andersct@umich.edu" ]
andersct@umich.edu
720af8c56106a7ed4d84b121e344d5610efa9446
6e146af0819ea4b8b1c915f83bf7bf5504af579c
/copyfile.py
d3de970bc4e6d619b07e63dcde40749a3644f46b
[]
no_license
jon--lee/obj_det
6fd4f00b33ffd483a6f6d183f166dea2001eeb84
fd9c4901b86a2933e032edde7a4e3384b6c3ab4e
refs/heads/master
2020-03-10T19:21:32.268018
2018-04-19T19:14:13
2018-04-19T19:14:13
129,546,262
0
0
null
null
null
null
UTF-8
Python
false
false
880
py
import os import argparse ap = argparse.ArgumentParser() ap.add_argument('--input_dir', required=True, type=str) ap.add_argument('--images_output_dir', required=True, type=str) ap.add_argument('--annos_output_dir', required=True, type=str) args = vars(ap.parse_args()) if not os.path.exists(args['images_output_dir'...
[ "123abcjonathanlee@gmail.com" ]
123abcjonathanlee@gmail.com
6174bedb00183e508f1fff4a5823721a0a376b8f
e3b9aa9b17ebb55e53dbc4fa9d1f49c3a56c6488
/elasticsearch/komand_elasticsearch/actions/cluster_health/action.py
62c677f06c5ff749d321bf0ee5cf2f29f552a698
[ "MIT" ]
permissive
OSSSP/insightconnect-plugins
ab7c77f91c46bd66b10db9da1cd7571dfc048ab7
846758dab745170cf1a8c146211a8bea9592e8ff
refs/heads/master
2023-04-06T23:57:28.449617
2020-03-18T01:24:28
2020-03-18T01:24:28
248,185,529
1
0
MIT
2023-04-04T00:12:18
2020-03-18T09:14:53
null
UTF-8
Python
false
false
1,053
py
import komand from .schema import ClusterHealthInput, ClusterHealthOutput # Custom imports below from komand_elasticsearch.util import helpers class ClusterHealth(komand.Action): def __init__(self): super(self.__class__, self).__init__( name='cluster_health', description='...
[ "jonschipp@gmail.com" ]
jonschipp@gmail.com
02b9f88a0b142b4f842dbf5e2380e4919257af8a
d41e4c9fabced34549e8639e7c65a4acfa6e6de9
/web/service/github/api/v3/RequestParameter.py
cbe36de5c0ead95d22156810e997ab9445b91fae
[ "CC0-1.0", "MIT", "Unlicense", "Apache-2.0" ]
permissive
ytyaru/Github.Uploader.AuthenticationsCreator.unittest.201705041033
c1a30837349bcdcc259780c7cf34f02238a07062
9446a83cecf4f69185f9e7dfbe1f9163abb7d3f4
refs/heads/master
2020-03-29T04:34:23.439602
2017-06-17T22:27:40
2017-06-17T22:27:40
94,652,420
0
0
null
null
null
null
UTF-8
Python
false
false
3,804
py
#!python3 #encoding:utf-8 from web.service.github.api.v3.authentication.Authentication import Authentication from web.service.github.api.v3.authentication.NonAuthentication import NonAuthentication from web.service.github.api.v3.authentication.BasicAuthentication import BasicAuthentication from web.service.github.api.v...
[ "ytyaru@outlook.jp" ]
ytyaru@outlook.jp
8de45e1ec74ed3d1bccbe6f58b3d3bfda62f12b9
59e38c56a2a9a9ce8a2d34c4c9f2a4abf3a25414
/code clone/word2vec/training.py
6e3d69d1073364a17bb8e302ea7ce16b79426ae7
[]
no_license
clambering-goat/cs4025
f6b1c9869f73bb61fcfb49c642b6e20b53eed6fc
baae20dcce54b71e532198828885d41e365d8b01
refs/heads/master
2020-03-30T14:49:45.067645
2018-11-02T02:05:36
2018-11-02T02:05:36
151,337,652
0
0
null
null
null
null
UTF-8
Python
false
false
234
py
from gensim.test.utils import common_texts, get_tmpfile from gensim.models import Word2Vec path = get_tmpfile("word2vec.model") model =Word2Vec(common_texts, size=100, window=5, min_count=1, workers=4) model.save("word2vec.model")
[ "camerondrain@gmail.com" ]
camerondrain@gmail.com
803ef432a94d862f170be30e90eed4b976f41361
d17a4b50796678b11e0aece68ff28c1672659f7f
/genericapi2/genericapi2/wsgi.py
d9fd06e56da9f3f1122b8226de310f6dc11a4509
[]
no_license
Shubham101491/Python-API
a64abdf98275e4859ab156cc3d1bae4bba4fe476
c395df9c69b871cf67ba8389e1bc5653992dc88d
refs/heads/main
2023-08-13T11:28:05.601497
2021-09-30T05:59:40
2021-09-30T05:59:40
411,941,026
0
0
null
null
null
null
UTF-8
Python
false
false
399
py
""" WSGI config for genericapi2 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/3.2/howto/deployment/wsgi/ """ import os from django.core.wsgi import get_wsgi_application os.environ.setdefault('DJANGO_S...
[ "55647943+Shubham101491@users.noreply.github.com" ]
55647943+Shubham101491@users.noreply.github.com
5a023b74975a25c2c80da59ad68c78d47cae6db0
81057cb42f7159d8fbbd225623a87b61d95a5bd6
/leads/migrations/0020_auto_20220714_1915.py
b31b70b1ced60c9dbe5174fcd4508614c9badca7
[ "MIT" ]
permissive
kfroger/Django-CRM
8d7a88558174e4d5e77f97f4621e872dd5492fec
026fd0aeb09cfef12cf03fe4499feafe247fea0f
refs/heads/master
2023-07-20T15:11:36.453933
2023-02-16T04:33:30
2023-02-16T04:33:30
156,722,787
0
0
null
2018-11-08T14:54:58
2018-11-08T14:54:58
null
UTF-8
Python
false
false
797
py
# Generated by Django 3.2.11 on 2022-07-14 13:45 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ("leads", "0019_auto_20211022_1732"), ] operations = [ migrations.AddField( model_name="lead", name="close_date", ...
[ "ashwin@micropyramid.com" ]
ashwin@micropyramid.com
7e9ee882e7223ca8f00a90223dd5edc094cc595b
0e25538b2f24f1bc002b19a61391017c17667d3d
/sharepointdsc/win_spusageapplication.py
dceeb8629e07cee2a6d482a000d961e134ff903a
[]
no_license
trondhindenes/Ansible-Auto-Generated-Modules
725fae6ba9b0eef00c9fdc21179e2500dfd6725f
efa6ac8cd2b545116f24c1929936eb8cc5c8d337
refs/heads/master
2020-04-06T09:21:00.756651
2016-10-07T07:08:29
2016-10-07T07:08:29
36,883,816
12
2
null
null
null
null
UTF-8
Python
false
false
3,407
py
#!/usr/bin/python # -*- coding: utf-8 -*- # <COPYRIGHT> # <CODEGENMETA> # # This file is part of Ansible # # Ansible 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 Software Foundation, either version 3 of the License, ...
[ "trond@hindenes.com" ]
trond@hindenes.com
54c639db6e7ee3057a11c1bc85391973117c5073
6f917fb1840ea950b21941995ea96c3ec17d0a18
/Study/keras/keras61_2_cifar10_conv1d.py
6c3ff3827d27c84009e9168319670c4b3848cccb
[]
no_license
maiorem/Artificial-Intelligence
504a1656921c6d206237f17cd053ae38e1b4705c
367fbffb678bd1761105ae4f37f015f90120d3f0
refs/heads/main
2023-02-03T00:24:20.571707
2020-12-18T08:24:48
2020-12-18T08:24:48
311,254,233
0
0
null
null
null
null
UTF-8
Python
false
false
2,040
py
from tensorflow.keras.datasets import cifar10 from tensorflow.keras.utils import to_categorical from tensorflow.keras.models import Sequential, Model from tensorflow.keras.layers import Dense, Conv1D, LSTM from tensorflow.keras.layers import MaxPooling1D, Flatten import matplotlib.pyplot as plt import numpy as np (x_t...
[ "maiorem00@gmail.com" ]
maiorem00@gmail.com
299239106a4096dbca739aed7e446cd6f5cf6fc3
b68df7b6c74bc2ab1bb181bf5cd87569b26f8c59
/ui/statusbar.py
89bda9ab993a44413cadd98d40a389b074bf3870
[]
no_license
yeleman/carapace
a227b2efd59768c59afe580743b325cdd5902956
21f17d98276f4eb11a86e6a92f699d03aae88d37
refs/heads/master
2022-01-26T23:28:27.468287
2016-05-12T18:46:09
2016-05-12T18:46:09
58,445,022
0
0
null
null
null
null
UTF-8
Python
false
false
418
py
#!/usr/bin/env python # -*- encoding: utf-8 -*- # vim: ai ts=4 sts=4 et sw=4 nu from __future__ import ( unicode_literals, absolute_import, division, print_function) from PyQt4.QtGui import QStatusBar from static import Constants class GStatusBar(QStatusBar): def __init__(self, parent): QStatusBar...
[ "ibfadiga@gmail.com" ]
ibfadiga@gmail.com
799e740014fe6f52e1c30cda293b4cc1fd26dc4b
852eb9cc8379e95211b5a534fdefbe77da661c88
/cfgs_scene_test.py
ed7e61061cb4a2db6bd3abaed435c2d382d221fe
[ "MIT" ]
permissive
mtornow/Decoupled-attention-network
3af1dfe61ead1992ed39ce8857d4bd43dc0821d5
c4be2ae2a62e4d128f5f70a7b2ceb3cdf2907407
refs/heads/master
2023-01-02T09:10:00.241970
2020-10-27T13:45:34
2020-10-27T13:45:34
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,935
py
# coding:utf-8 import torch import torch.optim as optim import os from dataset_scene import * from torchvision import transforms from DAN import * global_cfgs = { 'state': 'Test', 'epoch': 30, 'show_interval': 50, 'test_interval': 1000 } dataset_cfgs = { 'dataset_test': RawDataset, 'dataset_te...
[ "ysq58000@foxmail.com" ]
ysq58000@foxmail.com
5df6f236eb3cd8b94d51d43a5b69036e374b4acb
79c8e8ac5715134fb071a88cffbde83d819458ba
/texar/losses/entropy.py
1a723e630e51097e42409c470a1b7c8eb3f88a3e
[ "Apache-2.0" ]
permissive
Holmeswww/Text_Infilling
3075f1f86413a5adbf5542303116881708bfe275
f63cd24bee5c62d7dedd8fb35c4e52aee20c39f3
refs/heads/master
2020-09-06T20:23:34.370572
2019-11-09T03:24:48
2019-11-09T03:24:48
220,540,281
0
0
Apache-2.0
2019-11-08T20:11:45
2019-11-08T20:11:44
null
UTF-8
Python
false
false
7,656
py
# """ Various entropies. """ from __future__ import absolute_import from __future__ import division from __future__ import print_function import tensorflow as tf from texar.losses.losses_utils import mask_and_reduce, reduce_dimensions from texar.utils.shapes import get_rank # pylint: disable=too-many-arguments __a...
[ "zhitinghu@gmail.com" ]
zhitinghu@gmail.com
8c743e182fb2f6f772869ad104aea54bd9970720
7eebbfaee45fdc57c4fc6ba32c87c35be1e62b14
/airbyte-integrations/connectors/source-gitlab/source_gitlab/source.py
6ec6bb38c505eecdf2c6453e7ecaed3ec054fb29
[ "MIT", "Elastic-2.0" ]
permissive
Velocity-Engineering/airbyte
b6e1fcead5b9fd7c74d50b9f27118654604dc8e0
802a8184cdd11c1eb905a54ed07c8732b0c0b807
refs/heads/master
2023-07-31T15:16:27.644737
2021-09-28T08:43:51
2021-09-28T08:43:51
370,730,633
0
1
MIT
2021-06-08T05:58:44
2021-05-25T14:55:43
Java
UTF-8
Python
false
false
3,894
py
# # Copyright (c) 2021 Airbyte, Inc., all rights reserved. # from typing import Any, List, Mapping, Tuple from airbyte_cdk.models import SyncMode from airbyte_cdk.sources import AbstractSource from airbyte_cdk.sources.streams import Stream from airbyte_cdk.sources.streams.http.auth import TokenAuthenticator from .s...
[ "noreply@github.com" ]
Velocity-Engineering.noreply@github.com
3baa245431d1a7da742daa1c96b1dba82c044b51
1b88be270b8add8b6198f1f981101581e7a7849c
/app/reward/views/reward_list.py
70dc54826375d02037ea2c80b8ce34d060d43d32
[]
no_license
Ryanden/EB-Docker-Deploy
ca9543cbc3646c46237795fd0852b67b5b6d170c
97f06cbbaa0a4e76358afba02cdbc5a2038f7faa
refs/heads/master
2022-12-10T01:10:00.239052
2018-08-02T14:23:51
2018-08-02T14:23:51
140,647,713
0
0
null
2022-07-29T22:43:57
2018-07-12T02:00:55
HTML
UTF-8
Python
false
false
5,210
py
from django.shortcuts import render import os from bs4 import BeautifulSoup from selenium import webdriver import re import time import requests from reward.models import Reward __all__ = ( 'reward_list', ) def reward_list(request): # Reward.objects.all().delete() if Reward.objects.count() < 10: ...
[ "lockstom@gmail.com" ]
lockstom@gmail.com
30dd9161c5656e24d5589d31c5860c855e7b4be7
c46260c40054c0499e0a6871e4d3fe2d6d8aa9c0
/hello.py
fcf6cc34c4816a8cd4b6bb2ef6eca120c5e6643b
[]
no_license
iiot-tbb/learngit
1d6f5c234f1c36016be5489c7ec605f666bbba16
dfa3106d05bcbb0da39b9bf71f7a0698322130f7
refs/heads/master
2020-08-30T01:30:07.632602
2019-12-07T13:09:59
2019-12-07T13:09:59
218,225,081
0
0
null
null
null
null
UTF-8
Python
false
false
635
py
#!/usr/bin/env python # coding=utf-8 #hi #how are you? #what is this #this is python a =100; if a>=0: print(a) else: print(-a) name = 'tbb' print('hello',name) print('hello,world') print("hello woirld") print("hell'") print('I\'m ok\\\n') print('I\\\t\\') print(r'\\\t\\') print('''line line2 line3''') pr...
[ "247687157@qq.com" ]
247687157@qq.com
479bf4f5ea2fa2d61983a292beaf8d97e0f1f392
d94b6845aeeb412aac6850b70e22628bc84d1d6d
/dql_grasping/writer.py
5cd49c49dcef01b7a665ba8e89a6ae75f1199e57
[ "CC-BY-4.0", "Apache-2.0" ]
permissive
ishine/google-research
541aea114a68ced68736340e037fc0f8257d1ea2
c1ae273841592fce4c993bf35cdd0a6424e73da4
refs/heads/master
2023-06-08T23:02:25.502203
2023-05-31T01:00:56
2023-05-31T01:06:45
242,478,569
0
0
Apache-2.0
2020-06-23T01:55:11
2020-02-23T07:59:42
Jupyter Notebook
UTF-8
Python
false
false
1,815
py
# coding=utf-8 # Copyright 2023 The Google Research Authors. # # 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...
[ "copybara-worker@google.com" ]
copybara-worker@google.com
611ab0e4c36f4ea54f473ac7ec8c0207e9f39063
e751600354508b27e1f855ef75da4819afbb81ad
/setup.py
e60950b71632d29b52139398c878dbbab7de700c
[]
no_license
dgketchum/dem
748bf95ad02649014e22c0c5418adead63462320
d2d5fcffd4f47eeb11fce79f8474c2a5a0821795
refs/heads/master
2021-01-19T11:02:21.988168
2018-10-05T17:04:45
2018-10-05T17:04:45
95,697,586
4
3
null
null
null
null
UTF-8
Python
false
false
2,197
py
# =============================================================================== # Copyright 2017 dgketchum # # 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...
[ "dgketchum@gmail.com" ]
dgketchum@gmail.com
7671d3bf7e26fffb82c74c115fc89ddfbcce7eff
de5a7c505c9d7d8b94a98c81ff0c8731fcf64b80
/aiida_tbextraction/fp_run/_vasp_run.py
e90989f97cc4ef96578bc4a54d33f28e8ef93f8c
[ "MIT" ]
permissive
Huaguiyuan/aiida-tbextraction
f8c6cf309651cfcba2713a3b2fd63580a102c5e6
a52c3c788d7710a1539fff5d245894cde1a3f995
refs/heads/master
2020-03-23T12:22:05.362444
2018-06-12T07:39:34
2018-06-12T07:39:34
null
0
0
null
null
null
null
UTF-8
Python
false
false
7,248
py
""" Defines a workflow for running the first-principles calculations using VASP. """ import copy try: from collections import ChainMap except ImportError: from chainmap import ChainMap from fsc.export import export from aiida.work.workchain import ToContext from aiida.orm.code import Code from aiida.orm.data...
[ "greschd@gmx.ch" ]
greschd@gmx.ch
893932751310eb83f7d9c2c481c7d4e6aefacfec
a26c632e8cc9c6729b03cbafe9b0698992a34b25
/labml_nn/transformers/xl/__init__.py
54394961d5a264a20449bca0e6d40013644e565c
[ "MIT" ]
permissive
dataset777/nn
2cf2b76767714dd446dc04768be6282c51dcc667
4f31570f926f6f11297835598c4ef0ef2a93be8a
refs/heads/master
2023-03-06T23:32:54.982163
2021-02-23T12:19:00
2021-02-23T12:19:00
null
0
0
null
null
null
null
UTF-8
Python
false
false
5,429
py
""" --- title: Transformer XL summary: > Documented implementation with explanations of a Transformer-XL model. --- # Transformer XL This is an implementation of [Transformer-XL: Attentive Language Models Beyond a Fixed-Length Context](https://arxiv.org/abs/1901.02860) in [PyTorch](https://pytorch.org). Transfor...
[ "vpjayasiri@gmail.com" ]
vpjayasiri@gmail.com
f6acf41b0f55d294f0affeb2c5b695b9e644adda
5502a1403120233dae2af88872395dec529add82
/ex11.py
35d66461cb0c145d15cafd7b3ea7aee49f43a64e
[]
no_license
alicejang08/sandbox
479d08fe8201b61771a83a80bd75fa0c84f21b56
564f659289e0606f4dc2da411a9f25106f72a81d
refs/heads/master
2020-03-25T03:07:53.314080
2019-01-02T12:03:04
2019-01-02T12:03:04
143,324,344
0
0
null
2019-01-02T12:03:05
2018-08-02T17:15:05
Python
UTF-8
Python
false
false
283
py
print "How old are you?", age = raw_input() print "How tall are you?", height = raw_input() print "How much do you weight?", weight = raw_input() print "So, you're %r old, %r tall and %r heavy." % (age, height, weight) name = raw_input("What's your name?") print ("Hi %r!" % name)
[ "you@example.com" ]
you@example.com
a66a173bf71bd812cb8ab4a7a84bc94863523a66
163bbb4e0920dedd5941e3edfb2d8706ba75627d
/Code/CodeRecords/2327/61519/287076.py
7ba636f82e2609d248d73959209d3962093cc24a
[]
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
227
py
s=list(input()) number=0 length=len(s) result=[] for string in s: if string=='I': result.append(number) number+=1 else: result.append(length) length-=1 result.append(length) print(result)
[ "1069583789@qq.com" ]
1069583789@qq.com
bb419b77f6f6f70022638903f2124e4ee7352619
0393e64ac4ed8e3d745b31d44836b58571faaabb
/midterm1/Question1.py
7a2d3fdbcbca40574beec147bb6e72742d6fd2e5
[]
no_license
danielthorr18/forritun_git
c3647e1e6dd35cd55287bb2d51066d8ab55ea931
b544371664a15dd0660aef83cdf474e506e1b412
refs/heads/master
2020-03-28T00:04:50.700712
2018-11-15T15:26:42
2018-11-15T15:26:42
147,368,645
0
0
null
null
null
null
UTF-8
Python
false
false
370
py
month = input('input a month: ').lower() day = int(input('input a date: ')) full_date = '{} {}'.format(month.capitalize(), day) print(full_date) if full_date == 'January 1': print("New year's day") elif full_date == 'June 17': print("National holiday") elif full_date == 'December 25': print("Christmas day...
[ "danielr18@ru.is" ]
danielr18@ru.is
085ce23a93bbd1a81b932f50e3b696632b07ef8d
620b253c3676adf8d852ff8fcd4d9cb925adeda0
/sdf-net/lib/models/OctreeSDF.py
088a991fb65e052633240b8c866cedce43a8324f
[ "MIT" ]
permissive
orperel/nglod
1df8317d4283b6ffce0619e0371485ce26975512
02b9e749b0f4f0a93cad5eb04483c277d7067992
refs/heads/main
2023-07-07T15:50:58.541839
2021-08-06T04:44:21
2021-08-06T04:44:21
391,764,576
0
0
MIT
2021-08-01T23:40:31
2021-08-01T23:40:30
null
UTF-8
Python
false
false
5,305
py
# The MIT License (MIT) # # Copyright (c) 2021, NVIDIA CORPORATION. # # 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, co...
[ "tovacinni@gmail.com" ]
tovacinni@gmail.com
8265e0962176a95d1a4d75ce6ff05eff4857694c
f2e9a37be6563045634af2476710903094a9d71b
/LinkedList/prog6_reverse.py
c3884dcbd38632478c4a3db6c74c52430605e655
[ "MIT" ]
permissive
ANKITPODDER2000/DSA
486a76bfebe2ee533894cb52382b67fcd341a976
a8befb008ec28e5b2ee8447d4ebb5091d45a473b
refs/heads/master
2022-07-08T04:13:46.006157
2020-05-17T20:04:11
2020-05-17T20:04:11
264,121,715
2
0
null
2020-05-15T07:18:50
2020-05-15T07:04:13
Python
UTF-8
Python
false
false
2,273
py
class Node: def __init__(self,data): self.data = data self.next = None class LinkedList: def __init__(self): self.head = None def insert_beg(self,data): node = Node(data) node.next = self.head self.head = node def insert_end(self,data): ...
[ "ankitpodder0211@gmail.com" ]
ankitpodder0211@gmail.com
80a6e185435085c32a4930fcfb752faad5ec628e
d6ad73da7d5087882aea80f500057e7201675a94
/2814_최장경로/s1.py
09ea1b71c8e5a3011c8d2a4c6060adf4ec2d6ec1
[]
no_license
Ysh096/swea
8bcd6038c96705f8a8d83bb5391d5f061bf98e52
3d018e5d3e6cea69268a025a117542f9e4a96702
refs/heads/master
2023-04-15T05:17:52.933799
2021-04-22T11:44:00
2021-04-22T11:44:00
340,567,861
0
0
null
null
null
null
UTF-8
Python
false
false
853
py
import sys sys.stdin = open('input.txt') def dfs(i, cnt): global max_cnt visited[i] = 1 for j in range(1, N+1): if graph[i][j] and not visited[j]: dfs(j, cnt+1) visited[j] = 0 if cnt > max_cnt: max_cnt = cnt T = int(input()) for tc in range(1, T+1): ...
[ "skk7541@gmail.com" ]
skk7541@gmail.com
318d3ee2097fbf8e8a9e75a8bbcf19c69f36b7cf
9095d1a8a86ac8b78ce56d3e03c1e8f1e5fcfb78
/tests/nb/template/test_nb_template.py
9c1d6edeb3b736fca126908b09a1c91e64d43279
[ "MIT" ]
permissive
mandychew/msticnb
3b42a5e7411a3f2b3d71eb3fc891a3f2258add0f
cc391c9d72ed0ec4cce3bc412b0c4561dc09f5b2
refs/heads/master
2023-06-21T23:07:36.717772
2021-06-29T23:05:14
2021-06-29T23:05:14
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,518
py
# ------------------------------------------------------------------------- # Copyright (c) Microsoft Corporation. All rights reserved. # Licensed under the MIT License. See License.txt in the project root for # license information. # -------------------------------------------------------------------------- """Test th...
[ "ianhelle@microsoft.com" ]
ianhelle@microsoft.com
fc41d7d380d3c97f5892cc8551bf1adc0bdef0b4
18239524612cf572bfeaa3e001a3f5d1b872690c
/clients/client/python/ory_client/model/plugin_settings.py
4d94366a01c75558e2eb68638187363ec8fabf34
[ "Apache-2.0" ]
permissive
simoneromano96/sdk
2d7af9425dabc30df830a09b26841fb2e8781bf8
a6113d0daefbbb803790297e4b242d4c7cbbcb22
refs/heads/master
2023-05-09T13:50:45.485951
2021-05-28T12:18:27
2021-05-28T12:18:27
371,689,133
0
0
Apache-2.0
2021-05-28T12:11:41
2021-05-28T12:11:40
null
UTF-8
Python
false
false
7,368
py
""" Ory APIs Documentation for all public and administrative Ory APIs. Administrative APIs can only be accessed with a valid Personal Access Token. Public APIs are mostly used in browsers. # noqa: E501 The version of the OpenAPI document: v0.0.1-alpha.9 Contact: support@ory.sh Generated by: http...
[ "3372410+aeneasr@users.noreply.github.com" ]
3372410+aeneasr@users.noreply.github.com
e37c9e550c6621e54a5aedbe1c04c77241bc7690
bcc199a7e71b97af6fbfd916d5a0e537369c04d9
/leetcode/solved/304_Range_Sum_Query_2D_-_Immutable/solution.py
f5f25e1aee75e14e4a85ceb418eb1cd609ab704b
[]
no_license
sungminoh/algorithms
9c647e82472905a2c4e505c810b622b734d9d20d
1389a009a02e90e8700a7a00e0b7f797c129cdf4
refs/heads/master
2023-05-01T23:12:53.372060
2023-04-24T06:34:12
2023-04-24T06:34:12
87,406,513
0
0
null
null
null
null
UTF-8
Python
false
false
5,128
py
#! /usr/bin/env python # -*- coding: utf-8 -*- # vim:fenc=utf-8 # # Copyright © 2020 sungminoh <smoh2044@gmail.com> # # Distributed under terms of the MIT license. """ Given a 2D matrix matrix, handle multiple queries of the following type: Calculate the sum of the elements of matrix inside the rectangle defined by ...
[ "smoh2044@gmail.com" ]
smoh2044@gmail.com
b2281fe45d12206868128b2973f9c30027122c60
be0f3dfbaa2fa3d8bbe59229aef3212d032e7dd1
/Gauss_v45r9/Gen/DecFiles/options/23513008.py
c0bca8cf2614626357c135ea753d0515cdb7779b
[]
no_license
Sally27/backup_cmtuser_full
34782102ed23c6335c48650a6eaa901137355d00
8924bebb935b96d438ce85b384cfc132d9af90f6
refs/heads/master
2020-05-21T09:27:04.370765
2018-12-12T14:41:07
2018-12-12T14:41:07
185,989,173
0
0
null
null
null
null
UTF-8
Python
false
false
1,434
py
# file /home/hep/ss4314/cmtuser/Gauss_v45r9/Gen/DecFiles/options/23513008.py generated: Fri, 27 Mar 2015 16:10:18 # # Event Type: 23513008 # # ASCII decay Descriptor: [D_s+ -> ( tau+ -> mu+ mu- e+ ) nu_tau ]cc # from Configurables import Generation Generation().EventType = 23513008 Generation().SampleGenerationTool = "...
[ "slavomirastefkova@b2pcx39016.desy.de" ]
slavomirastefkova@b2pcx39016.desy.de
b18070522f5125ec0949a3a297a9181e3acf2a03
7d067520bd800c4dc21e83df62f8942616ef1d9b
/scrapy_project/flipkart/flipkart/settings.py
4853ed31ee92ac0e7a088a85aa0ce90c5709b7b6
[]
no_license
Kunal614/web-scrapping
9c260d8f4752f46bff5dfc764779c364eb245f44
7e460965be8e823cdcbf45cef351a6030b074baa
refs/heads/master
2020-07-22T07:33:26.907261
2020-06-24T19:10:39
2020-06-24T19:10:39
207,117,385
2
0
null
null
null
null
UTF-8
Python
false
false
3,104
py
# -*- coding: utf-8 -*- # Scrapy settings for flipkart project # # For simplicity, this file contains only settings considered important or # commonly used. You can find more settings consulting the documentation: # # https://docs.scrapy.org/en/latest/topics/settings.html # https://docs.scrapy.org/en/latest/to...
[ "you@example.com" ]
you@example.com
32eec4f1412b45902d26674cec90436d2a2c8e42
7c0e750a6dd13274277e4925ae5ed77307d05ef7
/cauldron/cli/commands/__init__.py
d2d6b6c1938016ac650419e1c4167aba70f0b685
[ "MIT" ]
permissive
sernst/cauldron
2dedc1907a0a2096b53abbf63103e42b936d3df8
7cf455c521ab9a323950fed094ffddd762f022d0
refs/heads/master
2023-03-17T01:03:50.937226
2022-04-01T13:18:57
2022-04-01T13:18:57
57,142,579
91
262
MIT
2023-03-06T21:14:24
2016-04-26T16:05:24
Python
UTF-8
Python
false
false
1,375
py
# All top-level modules are imported from within the commands module # as the commands module contains only valid commands. This makes it safe # against the all imports. from cauldron.cli.commands import configure # noqa from cauldron.cli.commands import open # noqa from cauldron.cli.commands import run # noqa from...
[ "swernst@gmail.com" ]
swernst@gmail.com
d9cd520a69f5d3c72f6b822cd6a85b1f7c63c182
1a220abd21c56728aa3368534506bfc9ced8ad46
/백준/Silver/2583. 영역 구하기/영역 구하기.py
24a9c372689065414b74dd350ed0ea4e3697c6f7
[]
no_license
JeonJe/Algorithm
0ff0cbf47900e7877be077e1ffeee0c1cd50639a
6f8da6dbeef350f71b7c297502a37f87eb7d0823
refs/heads/main
2023-08-23T11:08:17.781953
2023-08-23T08:31:41
2023-08-23T08:31:41
197,085,186
0
0
null
2023-02-21T03:26:41
2019-07-15T23:22:55
Python
UTF-8
Python
false
false
1,139
py
from collections import deque height, width, k = map(int,input().split()) board = [ [0 for _ in range(width)] for _ in range(height) ] visited = [ [False for _ in range(width)] for _ in range(height) ] cnt = 0 for _ in range(k): lx,ly ,rx,ry = map(int,input().split()) for i in range(ry-ly): ...
[ "43032391+JeonJe@users.noreply.github.com" ]
43032391+JeonJe@users.noreply.github.com
bd05976a659982b293d8b3d6b37c5f3460453669
48e124e97cc776feb0ad6d17b9ef1dfa24e2e474
/sdk/python/pulumi_azure_native/documentdb/v20150408/get_database_account_cassandra_table.py
b79e71e7f598408e45430c440a338fb3f0994040
[ "BSD-3-Clause", "Apache-2.0" ]
permissive
bpkgoud/pulumi-azure-native
0817502630062efbc35134410c4a784b61a4736d
a3215fe1b87fba69294f248017b1591767c2b96c
refs/heads/master
2023-08-29T22:39:49.984212
2021-11-15T12:43:41
2021-11-15T12:43:41
null
0
0
null
null
null
null
UTF-8
Python
false
false
6,712
py
# coding=utf-8 # *** WARNING: this file was generated by the Pulumi SDK Generator. *** # *** Do not edit by hand unless you're certain you know what you are doing! *** import warnings import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload from ... import _utilities fro...
[ "noreply@github.com" ]
bpkgoud.noreply@github.com
37cf045990a9de5c71506dda1f7e990460c7709a
e017eca53dbe0d35977546df1bb36a59915f6899
/function/exit_example.py
8c93941807358c757f69cda86dfe4622345a9409
[]
no_license
clivejan/python_basic
7d14b7335f253658f8814acbdb753a735481e377
773de644a87792b872e38017dcac34c1691ccc87
refs/heads/master
2020-12-04T17:44:24.737370
2020-01-09T14:43:36
2020-01-18T03:11:20
231,856,419
0
0
null
null
null
null
UTF-8
Python
false
false
160
py
#!/usr/bin/env python3 import sys while True: response = input("Type exit to exit: ") if response == 'exit': sys.exit() print(f'You entered {response}')
[ "clive.jan@gmail.com" ]
clive.jan@gmail.com
b29d71215bc5f6026bc96a756205e216fcff7347
64bf39b96a014b5d3f69b3311430185c64a7ff0e
/intro-ansible/venv3/lib/python3.8/site-packages/ansible_collections/check_point/mgmt/plugins/modules/cp_mgmt_address_range.py
03af458375e7ef34e5ca18d66f458037ff752360
[ "MIT" ]
permissive
SimonFangCisco/dne-dna-code
7072eba7da0389e37507b7a2aa5f7d0c0735a220
2ea7d4f00212f502bc684ac257371ada73da1ca9
refs/heads/master
2023-03-10T23:10:31.392558
2021-02-25T15:04:36
2021-02-25T15:04:36
342,274,373
0
0
MIT
2021-02-25T14:39:22
2021-02-25T14:39:22
null
UTF-8
Python
false
false
7,558
py
#!/usr/bin/python # -*- coding: utf-8 -*- # # Ansible module to manage Check Point Firewall (c) 2019 # # Ansible 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 Software Foundation, either version 3 of the License, or # (at your o...
[ "sifang@cisco.com" ]
sifang@cisco.com