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
9b72709e1a92bcb8f73d59a3320d3b3c06f3b2a3
09e57dd1374713f06b70d7b37a580130d9bbab0d
/data/p2DJ/New/program/qiskit/noisy/startQiskit_noisy196.py
b9468c6de4cf9d5ff3dc754ffb9035b3f4c6a1bc
[ "BSD-3-Clause" ]
permissive
UCLA-SEAL/QDiff
ad53650034897abb5941e74539e3aee8edb600ab
d968cbc47fe926b7f88b4adf10490f1edd6f8819
refs/heads/main
2023-08-05T04:52:24.961998
2021-09-19T02:56:16
2021-09-19T02:56:16
405,159,939
2
0
null
null
null
null
UTF-8
Python
false
false
3,129
py
# qubit number=2 # total number=10 import cirq import qiskit from qiskit.providers.aer import QasmSimulator from qiskit.test.mock import FakeVigo from qiskit import IBMQ from qiskit import QuantumCircuit, QuantumRegister, ClassicalRegister from qiskit import BasicAer, execute, transpile from pprint import pprint from ...
[ "wangjiyuan123@yeah.net" ]
wangjiyuan123@yeah.net
0f7ba1ae1393aaff59e23448d3233ee415a9e6d0
aaa204ad7f134b526593c785eaa739bff9fc4d2a
/dev/breeze/src/airflow_breeze/commands/release_management_commands_config.py
ddd6bbf1d70e408e78e043e3ee79f5179573b286
[ "Apache-2.0", "BSD-3-Clause", "MIT", "LicenseRef-scancode-unknown-license-reference" ]
permissive
cfei18/incubator-airflow
913b40efa3d9f1fdfc5e299ce2693492c9a92dd4
ffb2078eb5546420864229cdc6ee361f89cab7bd
refs/heads/master
2022-09-28T14:44:04.250367
2022-09-19T16:50:23
2022-09-19T16:50:23
88,665,367
0
1
Apache-2.0
2021-02-05T16:29:42
2017-04-18T20:00:03
Python
UTF-8
Python
false
false
3,313
py
# Licensed to the Apache Software Foundation (ASF) under one # or more contributor license agreements. See the NOTICE file # distributed with this work for additional information # regarding copyright ownership. The ASF licenses this file # to you under the Apache License, Version 2.0 (the # "License"); you may not u...
[ "noreply@github.com" ]
cfei18.noreply@github.com
5187d39968d5a7cb0d654ff8bf2c5a85b94e9e8b
5e1d804bd84703abc687578543124f5425a38554
/code/default/smart_router/local/__init__.py
e77ed4a151608f3a7f7dafd03768b93461a10b17
[ "BSD-2-Clause" ]
permissive
fork-repo/XX-Net
f485a92b6ea3382e5ff671781c7868d094d43694
fba125ed1a9674145d25472f5b2d247c54910a2c
refs/heads/master
2020-12-28T22:34:41.416979
2018-04-16T04:16:51
2018-04-16T04:16:51
54,473,239
0
0
BSD-2-Clause
2018-04-16T04:16:52
2016-03-22T12:27:06
Python
UTF-8
Python
false
false
4,367
py
import os import sys import apis from xlog import getLogger xlog = getLogger("smart_router") xlog.set_buffer(500) current_path = os.path.dirname(os.path.abspath(__file__)) launcher_path = os.path.abspath( os.path.join(current_path, os.pardir, os.pardir, "launcher")) root_path = os.path.abspath(os.path.join(current_p...
[ "xxnet.dev@gmail.com" ]
xxnet.dev@gmail.com
ad6c779e831a56db79efc545801fc9056c392be2
46e7a3543231bf04c6eb2cd539145335caa7e3f2
/Candidates/MultiEEGClassifier_3class/rawdata_processor.py
b5f5cdb1abc9b289d1434adbd932dc66b70a9b99
[]
no_license
SLKyrim/EEGCode
9572f3358cf13df5d7f2afecee994235c9607326
bc00a5b9486bb4dce863f1572cfbe172a2d6bcbc
refs/heads/master
2021-05-13T22:23:51.728301
2020-06-30T07:39:28
2020-06-30T07:39:28
116,488,177
3
1
null
null
null
null
UTF-8
Python
false
false
4,000
py
# -*- coding: utf-8 -*- """ Created on Wed Dec 6 18:32:50 2017 @author: SingleLong % 说明: % 第二步 % 将两次打标之间的EEG从原始EEG信号中提取出来 % 根据两次打标位置截取原始步态数据并对截取步态数据进行低通滤波 """ import scipy.io as sio import numpy as np import scipy.signal as sis id_subject = 3 # 【受试者的编号】 if id_subject < 10: eeg_mat_data = sio.loadmat('E:\\EE...
[ "623962644@qq.com" ]
623962644@qq.com
eedb234a2373ad4defbb880b4be9884898fa948f
76a8ea60480331f0f61aeb61de55be9a6270e733
/downloadable-site-packages/skimage/feature/tests/test_haar.py
514c145d341a500fc3a1881e67419db80bcc947b
[ "MIT" ]
permissive
bhagyas/Pyto
cd2ec3f35bec703db4ac29b56d17abc4bf03e375
907024a9b3e04a2a9de54976778c0e1a56b7b83c
refs/heads/master
2022-11-19T13:05:07.392454
2020-07-21T17:33:39
2020-07-21T17:33:39
281,886,535
2
0
MIT
2020-07-23T07:48:03
2020-07-23T07:48:02
null
UTF-8
Python
false
false
7,286
py
from random import shuffle from itertools import chain import pytest import numpy as np from numpy.testing import assert_allclose from numpy.testing import assert_array_equal from skimage.transform import integral_image from skimage.feature import haar_like_feature from skimage.feature import haar_like_feature_coord...
[ "adrilabbelol@gmail.com" ]
adrilabbelol@gmail.com
0901734c791b6108b4f8f1bc9f688259b4199ea0
64c5341a41e10ea7f19582cbbf3c201d92768b9f
/webInterface/aligner_webapp/alignerwebapp/webapp.py
110583cb4b96d8a350e198a6621fc926f3d28a0f
[]
no_license
CLARIN-PL/yalign
6b050b5c330b8eaf7e1e2f9ef83ec88a8abe5164
6da94fbb74e803bea337e0c171c8abff3b17d7ee
refs/heads/master
2023-06-10T18:30:42.112215
2021-06-24T13:07:17
2021-06-24T13:07:17
51,368,327
0
1
null
null
null
null
UTF-8
Python
false
false
5,267
py
import json import logging import os import re import sqlite3 import time from random import SystemRandom from functools import wraps from datetime import datetime from flask import Flask, request, g, make_response, abort, Response from werkzeug.utils import secure_filename from workq import db from workq.workq import ...
[ "krzysztof@wolk.pl" ]
krzysztof@wolk.pl
7f9a64721084a7a75a4745d947e63c0167ccbdbf
da1d21bb8d0760bfba61cd5d9800400f928868aa
/apps/redirections/middleware.py
123ca0f004647eab3f33462b5e443681835cddc0
[]
no_license
biznixcn/WR
28e6a5d10f53a0bfe70abc3a081c0bf5a5457596
5650fbe59f8dfef836503b8092080f06dd214c2c
refs/heads/master
2021-01-20T23:53:52.887225
2014-05-13T02:00:33
2014-05-13T02:00:33
null
0
0
null
null
null
null
UTF-8
Python
false
false
503
py
# -*- coding: utf-8 -*- from django import http from redirections.models import Redirection class RedirectionMiddleware(object): def process_response(self, request, response): path = request.path if path[-1] == '/': path = path[:-1] try: redirect_to = Redirection.o...
[ "mbc@Mathiass-MacBook-Pro.local" ]
mbc@Mathiass-MacBook-Pro.local
f0da405e76930f4160d89a95d99356b3e936d404
272aff93c6f399cd834835970891696e605a1e31
/dsp_ws/build/hector_navigation/hector_elevation_msgs/catkin_generated/pkg.develspace.context.pc.py
0eef88b1b279eecc351db3c39a0c6ea77f28a080
[]
no_license
dingjianfeng/dsp_ding2
18c99958a022d2e2fae3aa5888fd07fa279568d6
a3327a1db4635865a07390023c5cc2932456b367
refs/heads/master
2020-05-02T12:41:26.516325
2019-03-27T10:10:26
2019-03-27T10:10:26
177,964,602
0
2
null
null
null
null
UTF-8
Python
false
false
475
py
# generated from catkin/cmake/template/pkg.context.pc.in CATKIN_PACKAGE_PREFIX = "" PROJECT_PKG_CONFIG_INCLUDE_DIRS = "/home/dsp/dsp_ws/devel/include".split(';') if "/home/dsp/dsp_ws/devel/include" != "" else [] PROJECT_CATKIN_DEPENDS = "message_runtime;geometry_msgs;std_msgs".replace(';', ' ') PKG_CONFIG_LIBRARIES_WIT...
[ "dingjianfeng" ]
dingjianfeng
d003a2bdd87d5a1099d2ce5a2db91a4c3d59cf56
ec0b8bfe19b03e9c3bb13d9cfa9bd328fb9ca3f1
/res/packages/scripts/scripts/common/items/tankmen.py
1069cab5b949801d649ce7de3f1032d30a26a49a
[]
no_license
webiumsk/WOT-0.9.20.0
de3d7441c5d442f085c47a89fa58a83f1cd783f2
811cb4e1bca271372a1d837a268b6e0e915368bc
refs/heads/master
2021-01-20T22:11:45.505844
2017-08-29T20:11:38
2017-08-29T20:11:38
101,803,045
0
1
null
null
null
null
WINDOWS-1250
Python
false
false
36,396
py
# 2017.08.29 21:53:17 Střední Evropa (letní čas) # Embedded file name: scripts/common/items/tankmen.py import random import struct from functools import partial import nations from items import vehicles, ITEM_TYPES from items.components import skills_components from items.components import skills_constants from items.c...
[ "info@webium.sk" ]
info@webium.sk
f0bdfcef2593c572b871a5807ff12edab4e3ce35
d0123d4909f666a8fa331da5847457f163cd5ad9
/tests/test_s3.py
5a26f007538e4e88bf7cfb2dc63cc9d9127dcc1f
[ "BSD-3-Clause" ]
permissive
spacetelescope/calcloud
f44271864ef77a17903095d4ccbc7156f75de1ac
fa9550e33d35ce3c8cc05591429611c7e412382e
refs/heads/develop
2023-08-16T22:39:33.609553
2023-08-11T18:08:28
2023-08-11T18:08:28
235,447,332
12
5
BSD-3-Clause
2023-08-11T18:08:29
2020-01-21T21:41:59
Python
UTF-8
Python
false
false
2,972
py
import os import glob from . import conftest def test_s3_upload_download(s3_client): """Test s3.py functions upload_filepath(), download_filepath(), download_objects This test creates temporary files locally and upload to S3, then download the files from S3, may leave temporary files/directories in the lo...
[ "noreply@github.com" ]
spacetelescope.noreply@github.com
e48372a96db76b354f95593ec9d1fc4c027912b0
a34f36f2f08791d353b63e786fa99fe7e7c65d9f
/935A.py
8b70b450d7db5659ac31066ad02982e1a1393251
[]
no_license
vijay9908/code_forces
5f758c4417d448fb2637dd4b896dfc59409f8b97
7d58e52aabea612dfed52dd3534e38563bf78633
refs/heads/master
2021-06-25T11:54:55.179108
2020-11-19T15:24:08
2020-11-19T15:24:08
173,603,181
1
0
null
null
null
null
UTF-8
Python
false
false
98
py
n = int(input()) count = 0 for i in range(1,n): if(n%i == 0): count += 1 print(count)
[ "vijaytanmay055@gmail.com" ]
vijaytanmay055@gmail.com
89e77ace1834f3b6fbc42fd29be07db7bcceab4e
30569618ec13465ee323f27797933ba85035711a
/test/test_body56.py
9a1f16347c4b0e8e2b45f325a15a3c2b5589030b
[ "MIT" ]
permissive
ike709/tgs4-api-pyclient
c0fdd7e648fd4fb77f0caf3253a7e1daafc0477a
97918cfe614cc4ef06ef2485efff163417a8cd44
refs/heads/main
2023-03-14T08:11:06.146596
2021-03-01T18:21:33
2021-03-01T18:21:33
336,353,718
0
0
null
null
null
null
UTF-8
Python
false
false
812
py
# coding: utf-8 """ TGS API A production scale tool for BYOND server management # noqa: E501 OpenAPI spec version: 9.0.0 Generated by: https://github.com/swagger-api/swagger-codegen.git """ from __future__ import absolute_import import unittest import swagger_client from swagger_client.model...
[ "sparebytes@protonmail.com" ]
sparebytes@protonmail.com
774b285d5eaac09041fac4ed7d3d7e26a03e3887
53fa34a5ecfbeea84c960afc3ba088c3a7a41587
/subunit2sql/migrations/versions/28ac1ba9c3db_add_run_order_column.py
b97cbba940633d2091dbe897a18546f4e5396a01
[ "Apache-2.0" ]
permissive
mguiney/subunit2sql
dd7259110363416c7892fdab63e2391884a5179b
6f95e43478ba91027e07af0d9c7e1305f0829c2e
refs/heads/master
2021-09-06T23:09:21.095681
2018-02-07T19:42:46
2018-02-07T19:42:46
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,005
py
# Copyright 2014 Hewlett-Packard Development Company, L.P. # # 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...
[ "mtreinish@kortar.org" ]
mtreinish@kortar.org
b7f7584c0434dc318a9d1a995030512d06fc3c7e
6d73d7d7e6bde553b1263241c71949b32cabd9b3
/robocorp-python-ls-core/src/robocorp_ls_core/libs/robocop_lib/robocop/exceptions.py
9e6d350eb2e123f75cdc099f45798c05f22221b3
[ "Apache-2.0" ]
permissive
Massukio/robotframework-lsp
03fe6c1d72504aad85d18deffac87b0c5acd929f
c9cfedc5da515dbc42fe74eaed6b46dfa0d0f5d9
refs/heads/master
2023-08-07T10:17:12.888644
2021-10-04T19:01:44
2021-10-04T19:01:44
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,160
py
class RobocopFatalError(ValueError): pass class ConfigGeneralError(RobocopFatalError): pass class DuplicatedRuleError(RobocopFatalError): def __init__(self, rule_type, rule, checker, checker_prev): msg = f"Fatal error: Message {rule_type} '{rule}' defined in {checker.__class__.__name__} " \ ...
[ "fabiofz@gmail.com" ]
fabiofz@gmail.com
618998e1446d35d0f35b88b222e6a638a76ca54c
159d2b827db0ae748b739378cab43a24e1ebaa38
/buildtools/scons-local-3.0.0/scons-local-3.0.0/SCons/Tool/mssdk.py
dd9de932475a2f39c833d4995c68d6e555cb6fe4
[ "BSD-3-Clause", "MIT", "LicenseRef-scancode-free-unknown", "LicenseRef-scancode-unknown-license-reference" ]
permissive
mqnc/c-sick
2ef474f5626fcf47b5ee0793220dd7693656b488
65b54b21d9492fae7c7cac299f56c8e6583ef555
refs/heads/master
2020-03-23T15:02:03.057094
2019-10-18T13:51:33
2019-10-18T13:51:33
141,716,128
1
1
BSD-3-Clause
2019-07-24T06:30:00
2018-07-20T13:34:48
Python
UTF-8
Python
false
false
1,835
py
# # Copyright (c) 2001 - 2017 The SCons Foundation # # Permission is hereby granted, free of charge, to any person obtaining # a copy of this software and associated documentation files (the # "Software"), to deal in the Software without restriction, including # without limitation the rights to use, copy, modify, merge...
[ "mirko.kunze@web.de" ]
mirko.kunze@web.de
0dc1cd5ad22d4b3347c7eb9aca3be0bed7c91a9c
cf14275eb2ad7a50da0f482ead52e12168e7de6f
/CRUD/Book/models.py
b551aa2bc301d696cf2801d0fc14b15fcc988319
[]
no_license
balamurali1/Environment
319c4087de011949f405d78a43a15b45b04efb05
f5312d56f102423cfb11900cfa99775ffa4f67c5
refs/heads/master
2023-09-04T06:56:20.449830
2021-10-30T09:13:00
2021-10-30T09:13:00
420,183,269
1
0
null
null
null
null
UTF-8
Python
false
false
216
py
from django.db import models # Create your models here. class BooksModel(models.Model): name = models.CharField(max_length=50) author = models.CharField(max_length=50) read_by = models.CharField(max_length=50)
[ "balamurali1@gmail.com" ]
balamurali1@gmail.com
3e97028714845a8fedc03fad302a89049fee3521
ec84619271eac42481231218c9ee653dec99adad
/1.Introduce Python Variable/37. Reverse 3-digit Integer.py
df7c9b8e54c3b5185abcef48ad8c823ab98a2b0a
[]
no_license
LingHsiLiu/Algorithm0
19a968fffb5466022f9856c36af0364da6472434
f438e828dc9dd6196ee5809eb8fac21ccb688bf2
refs/heads/master
2020-04-04T17:55:48.182172
2019-01-02T19:06:57
2019-01-02T19:06:57
156,142,530
0
0
null
null
null
null
UTF-8
Python
false
false
439
py
# 37. Reverse 3-digit Integer # Reverse a 3-digit integer. # Example # Reverse 123 you will get 321. # Reverse 900 you will get 9. class Solution: """ @param number: A 3-digit number. @return: Reversed number. """ def reverseInteger(self, number): # write your code here num1 = num...
[ "noreply@github.com" ]
LingHsiLiu.noreply@github.com
100f00de3e37af1135b8549470eff5fb0d6ac087
4f940d5da0d8da2b33e9b29d523402e97b4c6356
/__openerp__.py
c993c431c2e9c95179f6058a328e9d439fa8ed1b
[]
no_license
blancoamor/ba_business_unit
277e8d51d2a7ad00cefa469a9eaded8805529492
e4754ead88900230a9a18deeaeb636b167f44294
refs/heads/master
2016-08-11T20:44:30.693462
2015-12-15T20:42:12
2015-12-15T20:42:12
48,066,160
0
0
null
null
null
null
UTF-8
Python
false
false
1,409
py
# -*- coding: utf-8 -*- ############################################################################## # # OpenERP, Open Source Management Solution # Copyright (C) 2004-2010 Tiny SPRL (<http://tiny.be>). # # This program is free software: you can redistribute it and/or modify # it under the terms of the GNU...
[ "filoquin@gmail.com" ]
filoquin@gmail.com
f7288f2e2d7debd4713f5c8657f250e0ef4ae910
7748d76ac2557477733c245189a5510e793c965a
/5 - Django/Books_Authors/apps/book_authors/migrations/0005_remove_author_book.py
6d08bd766fa51bfed536dd3764fb54b58d4e8555
[]
no_license
ectom/Coding-Dojo-Python-Stack
9798fd0c452389d485d343659eed7132c61b9055
07d2d48e966f4210627a1a11d561f1d28e8a9982
refs/heads/master
2021-06-27T22:59:40.794253
2017-09-15T09:54:40
2017-09-15T09:54:40
null
0
0
null
null
null
null
UTF-8
Python
false
false
394
py
# -*- coding: utf-8 -*- # Generated by Django 1.10 on 2017-07-24 23:39 from __future__ import unicode_literals from django.db import migrations class Migration(migrations.Migration): dependencies = [ ('book_authors', '0004_auto_20170724_2317'), ] operations = [ migrations.RemoveField( ...
[ "etom579@gmail.com" ]
etom579@gmail.com
519f992de6d8f375a250add08442571c3ec380eb
3fe361cb8999b9efa39be9f474a43ae3717c38fc
/Leecode/leetcode821.py
a923e568e1342f1cd7e6ecc138284129f37e7584
[]
no_license
sjhhh3/Leetcode
bbacd124dcd165ae20f61ec165dce634ca75264d
85b88da4aad86f86bff5c13de12e13069cda604f
refs/heads/master
2021-01-02T04:13:35.914889
2019-03-12T17:31:18
2019-03-12T17:31:18
98,950,913
0
0
null
null
null
null
UTF-8
Python
false
false
606
py
S = "loveleetcode" C = 'e' ans = [] def plalindrome(num): plist = [] for k in range(1, num+1): if k <= num/2: plist.append(k) else: plist.append(num-k+1) return plist print(S.split(C)) for length in S.split(C): if S.startswith(length): ans += [i for i ...
[ "sjhhh33@gmail.com" ]
sjhhh33@gmail.com
3864ae74a22ee4e79bd1d94fc5b46f5bf477736a
afebbb07b2b4eada17a5853c1ce63b4075d280df
/marketsim/gen/_out/_intrinsic_base/orderbook/of_trader.py
8bf0183da08d444ecd480f1bd89e653fcdb24fcb
[]
no_license
peter1000/marketsimulator
8c0a55fc6408b880311d3ad49defc55e9af57824
1b677200a9d5323f2970c83f076c2b83d39d4fe6
refs/heads/master
2021-01-18T01:39:04.869755
2015-03-29T17:47:24
2015-03-29T17:47:24
null
0
0
null
null
null
null
UTF-8
Python
false
false
510
py
class Proxy_Base(object): pass def bind_impl(self, ctx): pass def reset(self): pass class OfTrader_Base(object): def get_Trader(self): return self._back_Trader def set_Trader(self, value): self._back_Trader = value self.on_Trader_set(value) ...
[ "anton.kolotaev@gmail.com" ]
anton.kolotaev@gmail.com
8eb3b81f521dd6e25efce843cba8cdda2903ec25
eeee5415490822b06d4d75061f30b46b0ea7086d
/login/write.py
1f61a8398098d105fb8d356057e7a06b1aebf463
[]
no_license
nearxu/python-exercise
891784380abfc0af16555f1a8f8bc3efc60be5e9
8d11a25cfbbd271e593846c18265aaaafead62fe
refs/heads/master
2020-03-28T10:42:38.878811
2019-05-07T08:20:49
2019-05-07T08:20:49
148,136,835
0
0
null
null
null
null
UTF-8
Python
false
false
380
py
#!/usr/bin/env python # coding=utf-8 import json import random data = ['HTTPS://106.75.226.36808\n' 'HTTP://61.135.217.780\n'] # with open('./ip.text', 'w', encoding='utf-8') as fp: # fp.writelines(data) with open('./ip.txt', 'r', encoding='utf-8') as files: filde = files.readlines() print(filde) prin...
[ "2448895924@qq.com" ]
2448895924@qq.com
6394e855393fcf6b3995f2d264471f96935442ac
d32a59a956b1daa1bbefee627e8acaa9af7db41d
/Factor/most_useful_factor.py
5b6290d92244ce87310fa3398b4bd633f12029d9
[ "Apache-2.0" ]
permissive
shiniantianlang/StockAnalysisSystem
263f09f627539f275f88cd491f4d65d9375dbcac
62cde0a502683c60f98e6c2f4e2b44f18685ef84
refs/heads/master
2022-08-01T10:42:52.226624
2020-05-17T14:00:36
2020-05-17T14:00:36
null
0
0
null
null
null
null
UTF-8
Python
false
false
3,785
py
import pandas as pd from datetime import date from os import sys, path root_path = path.dirname(path.dirname(path.abspath(__file__))) try: from Factor.FactorUtility import * from DataHub.DataHubEntry import DataHubEntry from Database.DatabaseEntry import DatabaseEntry except Exception as e: sys.path.a...
[ "yufei.qiu@schneider-electric.com" ]
yufei.qiu@schneider-electric.com
1d93cccadc43985012ff0b9032c4d68205f012a1
5ae3bc1920fafc33693cdfa3928a48158aa6f725
/287/287.py
73c55f63f46f298e709a2245a304aca2fd37645c
[]
no_license
sjzyjc/leetcode
2d0764aec6681d567bffd8ff9a8cc482c44336c2
5e09a5d36ac55d782628a888ad57d48e234b61ac
refs/heads/master
2021-04-03T08:26:38.232218
2019-08-15T21:54:59
2019-08-15T21:54:59
124,685,278
0
0
null
null
null
null
UTF-8
Python
false
false
547
py
class Solution: def findDuplicate(self, nums): """ :type nums: List[int] :rtype: int """ if not nums: return None slow, fast = nums[0], nums[0] while True: slow = nums[slow] fast = nums[nums[fast]] ...
[ "jcyang@MacBook-Air.local" ]
jcyang@MacBook-Air.local
f050ceb82b4fe1221542788f799bbbff104ce68e
be0f3dfbaa2fa3d8bbe59229aef3212d032e7dd1
/Gauss_v45r10p1/Gen/DecFiles/options/26165058.py
48e303c83861a11eb385a3903b047d8ff3fda352
[]
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,323
py
# file /home/hep/ss4314/cmtuser/Gauss_v45r10p1/Gen/DecFiles/options/26165058.py generated: Wed, 25 Jan 2017 15:25:17 # # Event Type: 26165058 # # ASCII decay Descriptor: [ Xi_cc+ -> (Lambda_c+ -> p K- pi+) K- pi+ ]cc # from Configurables import Generation Generation().EventType = 26165058 Generation().SampleGenerationT...
[ "slavomirastefkova@b2pcx39016.desy.de" ]
slavomirastefkova@b2pcx39016.desy.de
517cbbd66ddf919cd33f2abb22fc016c6ea3fc27
1cf5b7d5f80bbbf4d86e8ebf3d6a9d0d0f50978a
/InvenTree/build/migrations/0029_auto_20210601_1525.py
c5ea04b5c9996cfd616f14a3852c4c6a09b394fe
[ "MIT" ]
permissive
TheCrazyMaffin/InvenTree
b053dfb1068995df99bc6806ca07be7fc356e6bd
2686f61a4ac279386a83049745339345f1ac4cf7
refs/heads/master
2023-06-02T09:52:15.229937
2021-06-17T17:58:24
2021-06-17T17:58:24
377,914,007
0
0
MIT
2021-06-17T17:39:25
2021-06-17T17:39:25
null
UTF-8
Python
false
false
1,554
py
# Generated by Django 3.2 on 2021-06-01 05:25 from django.db import migrations def assign_bom_items(apps, schema_editor): """ Run through existing BuildItem objects, and assign a matching BomItem """ BuildItem = apps.get_model('build', 'builditem') BomItem = apps.get_model('part', 'bomitem')...
[ "oliver.henry.walters@gmail.com" ]
oliver.henry.walters@gmail.com
6166772f123f7ca28fa859d1f08cf11710bfb1e2
16a5c9c9f0d7519a6808efc61b592b4b614102cf
/Python/169.py
30bc27124c7c61d973f70cbd7d61aca81a72701a
[]
no_license
kevin851066/Leetcode
c1d86b2e028526231b80c6d4fb6d0be7ae8d39e5
885a9af8a7bee3c228c7ae4e295dca810bd91d01
refs/heads/main
2023-08-10T16:50:12.426440
2021-09-28T15:23:26
2021-09-28T15:23:26
336,277,469
0
0
null
null
null
null
UTF-8
Python
false
false
599
py
class Solution: def majorityElement(self, nums): ''' :type: nums: List[int] :rtype: int ''' nums = sorted(nums) return nums[len(nums)//2] # Boyer-Moore Voting Algorithm class Solution2: def majorityElement(self, nums): ''' :type: nums: List[int] ...
[ "kevin851066@gmail.com" ]
kevin851066@gmail.com
ede245a523e91cf3a3f3b26571963ed6ec86f552
8b57c6609e4bf3e6f5e730b7a4a996ad6b7023f0
/mining/FieldLearning.py
13835461c8a7ea7bc9953bc1609b27b1050858e7
[]
no_license
bullll/splunk
862d9595ad28adf0e12afa92a18e2c96308b19fe
7cf8a158bc8e1cecef374dad9165d44ccb00c6e0
refs/heads/master
2022-04-20T11:48:50.573979
2020-04-23T18:12:58
2020-04-23T18:12:58
258,293,313
2
0
null
null
null
null
UTF-8
Python
false
false
31,048
py
from __future__ import division # This work contains trade #secrets and confidential material of Splunk Inc., and its use or disclosure in #whole or in part without the express written permission of Splunk Inc. is prohibited. from builtins import object from builtins import range from past.utils import old_div import...
[ "splunk@x.y" ]
splunk@x.y
47d60758fe5379b876853fa4306aec800c901747
0400d3ce600b5e35e025cdad567f689bfaf83909
/data_loader.py
da067d0999011598595b532c8afe7340bf180f4d
[ "MIT" ]
permissive
wkumagai/Continual_Learning_Data_Former
3d0a589e7a12827cf5c5fa55e58a451ce6d47962
09a449ffc3979b79502cbf08e46b057d604865d6
refs/heads/master
2020-07-07T23:38:20.991274
2019-07-31T14:40:12
2019-07-31T14:40:12
null
0
0
null
null
null
null
UTF-8
Python
false
false
8,675
py
import torch import numpy as np from copy import deepcopy from torch.utils import data import torchvision.transforms.functional as TF from PIL import Image import os if os.path.exists("Sequence_Formers"): from data_utils import make_samples_batche, save_images else: from .data_utils import make_samples_batche,...
[ "t.lesort@gmail.com" ]
t.lesort@gmail.com
29cc2464f318352a44f31d0a82555f0ad87ccbf0
f338eb32c45d8d5d002a84798a7df7bb0403b3c4
/PhysicsTools/Heppy/python/analyzers/objects/LeptonAnalyzer.py
14b2809dd693fd68e7478fc051a86a1a44d4b8f8
[]
permissive
wouf/cmssw
0a8a8016e6bebc611f1277379e12bef130464afb
60da16aec83a0fc016cca9e2a5ed0768ba3b161c
refs/heads/CMSSW_7_3_X
2022-06-30T04:35:45.380754
2015-05-08T17:40:17
2015-05-08T17:40:17
463,028,972
0
0
Apache-2.0
2022-02-24T06:05:30
2022-02-24T06:05:26
null
UTF-8
Python
false
false
21,944
py
from PhysicsTools.Heppy.analyzers.core.Analyzer import Analyzer from PhysicsTools.Heppy.analyzers.core.AutoHandle import AutoHandle from PhysicsTools.Heppy.physicsobjects.Electron import Electron from PhysicsTools.Heppy.physicsobjects.Muon import Muon #from CMGTools.TTHAnalysis.tools.EfficiencyCorrector import Efficien...
[ "colin.bernet@cern.ch" ]
colin.bernet@cern.ch
88c6d9925a0c291347b641bcaf308bcfd1253ce5
4c70dd7f17447e9d291f128aa53370ab3468ddaf
/scan/pylib/testscans.py
9edaa6abc8c64bc67bff0266da8f7dd95f45b055
[]
no_license
slehaff/db2original
d6423f78adfc1d379ee1acb0b643de3d5954363a
4cba709335bf5b1bb3e7c613dacb92b13204fa25
refs/heads/master
2022-11-29T03:07:45.965585
2020-08-07T09:15:21
2020-08-07T09:15:21
197,337,528
0
0
null
null
null
null
UTF-8
Python
false
false
713
py
import numpy as np import cv2 import argparse import sys import os from PIL import Image import os from makewrap import * from unwrap import * from jsoncloud import * high_freq = 15 low_freq = .7 def unwrap2(): folder = '/home/samir/db2/scan/static/scan_folder/stars/scan_im_folder11/' # ref_folder = '/home/s...
[ "samir@lehaff.dk" ]
samir@lehaff.dk
8fdb373ba4c51f17d070de5c179287a762694988
e52a76724a7aae64082154ca43a5145f50fa2e4d
/merquemos/sales/migrations/0001_initial.py
7dcf9fa58d861c9c42b71927d2b15ff27f3678b9
[]
no_license
dmontoya1/merquemos
729ccfd2080f8e7e18cb2ee2cf608a654fb7399a
5b2142980511cf6d6eba19d8f8affe33f7edfcb2
refs/heads/master
2023-05-06T18:49:51.907772
2019-12-03T14:55:02
2019-12-03T14:55:02
371,432,802
0
0
null
null
null
null
UTF-8
Python
false
false
3,424
py
# -*- coding: utf-8 -*- # Generated by Django 1.11.2 on 2017-08-02 12:50 from __future__ import unicode_literals from django.conf import settings from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): initial = True dependencies = [ ('stock'...
[ "dcastano@apptitud.com.co" ]
dcastano@apptitud.com.co
5bd779fd107234e5d83e97289b50b0b13b882d9d
e3365bc8fa7da2753c248c2b8a5c5e16aef84d9f
/tokens/RoscTTI3.py
77d88cb4f0214a4d64938cd4f8b54c85e320dd8d
[]
no_license
psdh/WhatsintheVector
e8aabacc054a88b4cb25303548980af9a10c12a8
a24168d068d9c69dc7a0fd13f606c080ae82e2a6
refs/heads/master
2021-01-25T10:34:22.651619
2015-09-23T11:54:06
2015-09-23T11:54:06
42,749,205
2
3
null
2015-09-23T11:54:07
2015-09-18T22:06:38
Python
UTF-8
Python
false
false
391,842
py
lis = [u'landscap', u'annual', u'1833', u'hi', u'r', u'7', u'3', u'40', u'tourist', u'itali', u'thoma', u'rosco', u'illustr', u'draw', u'd', u'hard', u'r', u'dite', u'seri', u'timor', u'gli', u'onendi', u'stride', u'delia', u'terra', u'che', u'ivan', u'gene', u'abbattuta', u'spolpata', u'aflfatto', u'da', u'tyranni', u...
[ "prabhjyotsingh95@gmail.com" ]
prabhjyotsingh95@gmail.com
11c46ceb18f6926956a04dde45c9a94c1cfaa5d7
3106a6f343c7b72fcce3f2e4247c2ae32ca7849c
/dbgdb/tasks/postgres/extract.py
3efab5a393076584b67e6845d308305f14f3deba
[ "MIT" ]
permissive
patdaburu/dbgdb
cde421fe5eb23ddee4d1155f9e5705029e34acb9
40cd4cc7e8dd45dab8d08ee4f4e929ceef88fc2a
refs/heads/master
2020-03-17T22:40:27.389815
2018-07-07T16:18:15
2018-07-07T16:18:15
134,014,360
0
0
MIT
2018-07-07T16:18:16
2018-05-18T23:54:41
Python
UTF-8
Python
false
false
2,039
py
#!/usr/bin/env python # -*- coding: utf-8 -*- # Created by pat on 5/20/18 """ .. currentmodule:: dbgdb.tasks.extract .. moduleauthor:: Pat Daburu <pat@daburu.net> This module contains the :py:class:`ExtractTask` task which you can use to extract data from your database instance. """ from pathlib import Path from typi...
[ "pat@daburu.net" ]
pat@daburu.net
322d8efa97c8dd1093280fece6035a1b0cf34ddb
38815377b421e74f29bf8428a1bd5e500d7b4fbd
/cdr/cdrnnbayes.py
51b8fcb83c9fd9e1e7cf634f732eec745d8392b1
[]
no_license
taeejiin/cdr
9126040c9d70dc7a8ee1c9d2906a838cdbeb9ed7
9ba4c316025094562cf70dd837625d828c9e7b07
refs/heads/master
2023-07-28T07:31:24.884978
2021-07-22T03:01:56
2021-07-22T03:01:56
null
0
0
null
null
null
null
UTF-8
Python
false
false
29,748
py
import pandas as pd from .kwargs import CDRNNBAYES_INITIALIZATION_KWARGS from .backend import DenseLayerBayes, RNNLayerBayes, BatchNormLayerBayes, LayerNormLayerBayes from .base import ModelBayes from .cdrnnbase import CDRNN from .util import get_numerical_sd, sn, reg_name, stderr import tensorflow as tf from tensorf...
[ "cory.shain@gmail.com" ]
cory.shain@gmail.com
df4f22dbfb07fedbaa2605afd5f937c17bc1e39c
98364abec1f798ed6352a1c0eda080371aacb28d
/CPPVersion/googletest-release-1.10.0/googletest/scripts/pump.py
164464cf9f858a66cff60e91bc47fca00eabd66e
[ "BSD-3-Clause" ]
permissive
GuoYunZheSE/Leetcode
3d1b11d142734922acecf7ba5efbaf0f2ab26d81
45cabf05251711c6421c8c2ddbcc3fec9222f70a
refs/heads/master
2022-05-01T05:03:20.694729
2022-04-27T04:10:33
2022-04-27T04:10:33
161,486,806
1
0
null
null
null
null
UTF-8
Python
false
false
23,675
py
#!/usr/bin/env python # # Copyright 2008, Google Inc. # 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, this list...
[ "guoyunzhe.se@gmail.com" ]
guoyunzhe.se@gmail.com
5ed07c1f69fc436a59b32e1d4af6af0714294a16
b79eb37ed0f139d23b0d08fae8ace269b24c30e6
/np_base/np_logspace.py
b9a5bfb223738c5d735df72baef55e96109845ca
[]
no_license
sonicfigo/tt-scipy-eco
64d65c9420fdefd1329971b2f7406696d8089036
6fc8fe9ab88a746001d91de02e3489f94842c3aa
refs/heads/master
2020-03-26T16:09:14.354072
2018-09-04T07:42:32
2018-09-04T07:42:32
145,085,022
0
0
null
null
null
null
UTF-8
Python
false
false
1,030
py
# coding=utf-8 """ 底数,真数,对数 """ import math import numpy as np """ python 自带match,log是求对数 """ print(math.log(81, 9)) # 底数9,真数81, 求得对数2 print(math.log(10, 10)) # 底数10, 真数0,求得对数1 """ 而numpy 的 log space, 是均分一个范围,这个范围起终点是 10的x次方, 10的y次方 """ s = np.logspace(2, 3, 5) # 10的2次方, 10的3次方,既是 100 ~ 1000,等比选2个 print(s) print...
[ "sonic821113@gmail.com" ]
sonic821113@gmail.com
c3462b2e3a94ec7d29a7d78f0aa7d7476b86d21b
9b9a02657812ea0cb47db0ae411196f0e81c5152
/repoData/BigBrotherBot-big-brother-bot/allPythonContent.py
5c1632b18ce09db7a7e0b577bea786a0a2f509f0
[]
no_license
aCoffeeYin/pyreco
cb42db94a3a5fc134356c9a2a738a063d0898572
0ac6653219c2701c13c508c5c4fc9bc3437eea06
refs/heads/master
2020-12-14T14:10:05.763693
2016-06-27T05:15:15
2016-06-27T05:15:15
null
0
0
null
null
null
null
UTF-8
Python
false
false
3,533,136
py
__FILENAME__ = clients # coding: latin-1 # # BigBrotherBot(B3) (www.bigbrotherbot.net) # Copyright (C) 2005 Michael "ThorN" Thornton # # 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 Software Foundation; ei...
[ "dyangUCI@github.com" ]
dyangUCI@github.com
8e427e197d8127f3938684f5cb25abe48176fe0e
2bcf18252fa9144ece3e824834ac0e117ad0bdf3
/httpy/tags/0.9.0/site-packages/httpy/couplers/standalone/coupler.py
b1086b50b3d3122c6896223d61459c398dccd601
[]
no_license
chadwhitacre/public
32f65ba8e35d38c69ed4d0edd333283a239c5e1d
0c67fd7ec8bce1d8c56c7ff3506f31a99362b502
refs/heads/master
2021-05-10T14:32:03.016683
2010-05-13T18:24:20
2010-05-13T18:24:20
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,489
py
"""This coupler starts a stand-alone web server. """ import logging import os import sys import httpy from httpy import responders from httpy.couplers.standalone.config import Config, ConfigError from httpy.couplers.standalone.server import Server, RestartingServer from httpy.couplers.utils import add_api class Coup...
[ "chad@zetaweb.com" ]
chad@zetaweb.com
a36602e1064884da2750eefc987c4c0f18579ed0
e6dab5aa1754ff13755a1f74a28a201681ab7e1c
/.parts/lib/django-1.2/django/contrib/gis/sitemaps/kml.py
5952912d76aace6925f3aba9dd27a96465171021
[]
no_license
ronkagan/Euler_1
67679203a9510147320f7c6513eefd391630703e
022633cc298475c4f3fd0c6e2bde4f4728713995
refs/heads/master
2021-01-06T20:45:52.901025
2014-09-06T22:34:16
2014-09-06T22:34:16
23,744,842
0
1
null
null
null
null
UTF-8
Python
false
false
100
py
/home/action/.parts/packages/googleappengine/1.9.4/lib/django-1.2/django/contrib/gis/sitemaps/kml.py
[ "ron.y.kagan@gmail.com" ]
ron.y.kagan@gmail.com
ccf6ef28656246c2a20ddfcd8df8b130d1675867
9b79dc0b4b2f13dea85a1d29177e5eb266b6e7f7
/usr/share/python-support/python-gdata/gdata/docs/service.py
cca9c7af121fc81f2708c4c1cd96db3d12b12933
[]
no_license
haniokasai/netwalker-rootfs
0bc87efc0ae478338b6326fd9118befcbcc5cd06
d08f7bf370a82b6970387bb9f165d374a9d9092b
refs/heads/master
2021-01-10T11:04:34.436513
2016-01-12T06:09:50
2016-01-12T06:09:50
36,504,146
2
1
null
null
null
null
UTF-8
Python
false
false
10,530
py
# # Copyright (C) 2006 Google Inc. # # 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 wr...
[ "htek@haniokasai.com" ]
htek@haniokasai.com
2d18ff04b168a6e0777d111582d008d67fa67e1c
b05761d771bb5a85d39d370c649567c1ff3eb089
/venv/lib/python3.10/site-packages/debugpy/_vendored/pydevd/pydevd_attach_to_process/winappdbg/win32/shell32.py
2ac4f359556030be1383c8e299015c83d6a40aad
[]
no_license
JawshyJ/Coding_Practice
88c49cab955eab04609ec1003b6b8c20f103fc06
eb6b229d41aa49b1545af2120e6bee8e982adb41
refs/heads/master
2023-02-19T10:18:04.818542
2023-02-06T21:22:58
2023-02-06T21:22:58
247,788,631
4
0
null
null
null
null
UTF-8
Python
false
false
96
py
/home/runner/.cache/pip/pool/4f/63/00/3e1282a867e0fc9c581999160a1ce50ed0ec44079ccec2fc7c68526030
[ "37465112+JawshyJ@users.noreply.github.com" ]
37465112+JawshyJ@users.noreply.github.com
78c56405607dcfdc47305e8e50b62c356dd73f9c
4111ca5a73a22174f189361bef654c3f91c3b7ed
/Lintcode/Matrix_Fast_Expo/949. Fibonacci II.py
001972496240255d6ce1c735cd837ac88084f270
[ "MIT" ]
permissive
ctc316/algorithm-python
58b541b654509ecf4e9eb8deebfcbdf785699cc4
ac4580d55e05e93e407c6156c9bb801808027d60
refs/heads/master
2020-03-16T06:09:50.130146
2019-08-02T02:50:49
2019-08-02T02:50:49
132,548,222
0
0
null
null
null
null
UTF-8
Python
false
false
1,152
py
# Binary Search + Memorization + mod 10000 (題目要求), Time: O(logn) class Solution: """ @param n: an integer @return: return a string """ def lastFourDigitsOfFn(self, n): result = [[1, 1], [1, 0]] records = {} while n > 0: times = 1 base = [[1, 1], [1, 0]...
[ "mike.tc.chen101@gmail.com" ]
mike.tc.chen101@gmail.com
8cea859a51db0e14937ddcca5fc52f2a059925f8
3c8e70f66d91a0e51db1dae108facf36f42446ac
/bip_utils/addr/fil_addr.py
654097466deae688f072b2893e1420717635dd55
[ "MIT" ]
permissive
crazyguy42781/bip_utils
8db7f0a90e059c6f6fb0d8b5fc9e58d2b1702271
2939a2e8518342e3a086501b27fadd451990baa0
refs/heads/master
2023-08-30T17:13:29.603963
2021-11-12T21:24:37
2021-11-12T21:24:37
null
0
0
null
null
null
null
UTF-8
Python
false
false
3,952
py
# Copyright (c) 2021 Emanuele Bellocchia # # Permission is hereby granted, free of charge, to any person obtaining a copy # of this software and associated documentation files (the "Software"), to deal # in the Software without restriction, including without limitation the rights # to use, copy, modify, merge, publish,...
[ "54482000+ebellocchia@users.noreply.github.com" ]
54482000+ebellocchia@users.noreply.github.com
beff07f9f929017402542de2effb3ac371ffb0af
5e3b5fbcd0a84f48e6da864c283f3d7cf2d32225
/arelle/plugin/validate/EFM/Filing.py
90387517f721a45f478a6ce8b55e301eb27e4d80
[ "Apache-2.0" ]
permissive
usernope/Arelle
2cc4ff89fc70072f56e2885b208906dc47494297
37673eae4fcb64159b7e39e5dbc94c65bc5e1fb3
refs/heads/master
2021-06-23T20:47:22.753023
2017-09-10T00:26:02
2017-09-10T00:26:02
null
0
0
null
null
null
null
UTF-8
Python
false
false
139,021
py
''' Created on Oct 17, 2010 @author: Mark V Systems Limited (c) Copyright 2010 Mark V Systems Limited, All rights reserved. ''' import re, datetime from collections import defaultdict from arelle import (ModelDocument, ModelValue, ModelRelationshipSet, XmlUtil, XbrlConst, ValidateFilingText) from ...
[ "fischer@markv.com" ]
fischer@markv.com
4d5c290ab877a132a059b8b370840a8ad7d725f8
4ef688b93866285bcc27e36add76dc8d4a968387
/moto/signer/exceptions.py
3d60ba7c8abbd763b99d49c72cc11f86db1ceee4
[ "Apache-2.0" ]
permissive
localstack/moto
cec77352df216cac99d5e0a82d7ada933950a0e6
b0b2947e98e05d913d7ee2a0379c1bec73f7d0ff
refs/heads/localstack
2023-09-01T05:18:16.680470
2023-07-10T09:00:26
2023-08-07T14:10:06
118,838,444
22
42
Apache-2.0
2023-09-07T02:07:17
2018-01-25T00:10:03
Python
UTF-8
Python
false
false
47
py
"""Exceptions raised by the signer service."""
[ "noreply@github.com" ]
localstack.noreply@github.com
efdf35fffbe875e83cb9834a86cb78e18f6519da
b70f00927b9ed862252ad7345ca39f9d44ae87a2
/exec -l /bin/bash/google-cloud-sdk/bin/bootstrapping/bootstrapping.py
90e7b50683c5cca8be5fa3a1393ef0ab2c8b6ec4
[ "LicenseRef-scancode-unknown-license-reference", "Apache-2.0" ]
permissive
sparramore/Art-Roulette
7654dedad6e9423dfc31bd0f807570b07a17a8fc
c897c9ec66c27ccab16f1a12213d09fe982d4a95
refs/heads/master
2021-07-06T13:04:22.141681
2018-07-12T23:30:13
2018-07-12T23:30:13
139,061,941
0
2
null
2020-07-25T11:32:11
2018-06-28T19:49:24
Python
UTF-8
Python
false
false
9,146
py
# Copyright 2013 Google Inc. All Rights Reserved. """Common bootstrapping functionality used by the wrapper scripts.""" # Disables import order warning and unused import. Setup changes the python # path so cloud sdk imports will actually work, so it must come first. # pylint: disable=C6203 # pylint: disable=W0611 fr...
[ "djinnie24@gmail.com" ]
djinnie24@gmail.com
a86779d1589cff40e5f123de018b96af6791356a
60341a48087ba9683a8ee773237426d6e9411cf2
/hubspot/files/files/models/file_action_response.py
b617b78c509f385b4862b72457e7c9e2fa006111
[]
no_license
dalmaTeam/hubspot-api-python
86051bc676c4e007f23d7e7b759a3481c13fdea6
7c60c0f572b98c73e1f1816bf5981396a42735f6
refs/heads/master
2023-06-29T10:53:04.404611
2021-07-23T14:03:03
2021-07-23T14:03:03
null
0
0
null
null
null
null
UTF-8
Python
false
false
10,842
py
# coding: utf-8 """ Files Upload and manage files. # noqa: E501 The version of the OpenAPI document: v3 Generated by: https://openapi-generator.tech """ import pprint import re # noqa: F401 import six from hubspot.files.files.configuration import Configuration class FileActionResponse(object)...
[ "plaurynovich@hubspot.com" ]
plaurynovich@hubspot.com
8535b6525c75a20b5dad57b91749b8bcafe776a2
d5c513a2fc045b58b7565a39f548cc245b376da5
/settings.py
830101b5f7c1d0bd90b1e40ba694f3ea42c6c029
[]
no_license
cs4224485/Flaskd-
f13ff31be13f6ea1a62a9864f8c1a720c2860aba
7768b74164ad6e3b9337b1f5aed043ec209fcddb
refs/heads/master
2020-04-07T08:29:07.950720
2018-11-19T12:09:58
2018-11-19T12:09:58
158,216,094
0
0
null
null
null
null
UTF-8
Python
false
false
1,773
py
# Author: harry.cai # DATE: 2018/9/4 import redis import pymysql from DBUtils.PooledDB import PooledDB, SharedDBConnection class DefaultConfig(object): SESSION_TYPE = 'redis' SESSION_PERMANENT = False SESSION_USE_SIGNER = False SESSION_KEY_PREFIX = 'session:' SESSION_REDIS = redis.Redis(host='192....
[ "414804000@qq.com" ]
414804000@qq.com
9add6a701326e6f33b944da7929fced68ff00a2a
ce6c8e0e3a986af3fe3c347a4af16f1ca337f82c
/452.minimum-number-of-arrows-to-burst-balloons.py
0ac84dbff91fb106b8d3158bb0fb3bec7c27b9a5
[]
no_license
chenjienan/python-leetcode
dc098373ae7f73dd502d7747888a37a3bd0820cb
90c000c3be70727cde4f7494fbbb1c425bfd3da4
refs/heads/master
2020-04-28T20:46:50.395260
2020-02-12T18:48:01
2020-02-12T18:48:01
175,556,339
16
3
null
null
null
null
UTF-8
Python
false
false
510
py
# # @lc app=leetcode id=452 lang=python3 # # [452] Minimum Number of Arrows to Burst Balloons # class Solution: def findMinArrowShots(self, points: List[List[int]]): # similar to meeting room 2 if not points: return 0 points.sort(key=lambda x:x[1]) arrows = 1 ...
[ "chenjienan2009@gmail.com" ]
chenjienan2009@gmail.com
563d7be46825d3ab504bc1f03066efb1413ad5c9
a11984110d22e8231896c7e8bf2c6c2a96e46502
/Daily Challenges/2021/February/Binary Tree Right Side View.py
1abfd0f2953f322daebdd58b3071384c9f09d5ba
[]
no_license
Waqar-107/LeetCode
fbd323c89a5ea010b3322b0b35dd087a7744abc4
5f7dc48918c0367b20e733830e9807eb40840f77
refs/heads/master
2023-08-03T12:27:58.593051
2023-07-24T01:33:24
2023-07-24T01:33:24
220,239,559
8
7
null
2022-05-01T18:50:03
2019-11-07T13:08:48
Python
UTF-8
Python
false
false
699
py
# Definition for a binary tree node. # class TreeNode: # def __init__(self, val=0, left=None, right=None): # self.val = val # self.left = left # self.right = right class Solution: def __init__(self): self.mp = defaultdict(int) def solve(self, root, level): if...
[ "noreply@github.com" ]
Waqar-107.noreply@github.com
ff8f00d6d7e45c6f886e760ef9639764c452c0e6
44064ed79f173ddca96174913910c1610992b7cb
/Second_Processing_app/temboo/Library/Bitly/Links/LinkLookup.py
c8ab71b088bc0c0e3cc1a21eac6a57ca2cef7aa4
[]
no_license
dattasaurabh82/Final_thesis
440fb5e29ebc28dd64fe59ecd87f01494ed6d4e5
8edaea62f5987db026adfffb6b52b59b119f6375
refs/heads/master
2021-01-20T22:25:48.999100
2014-10-14T18:58:00
2014-10-14T18:58:00
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,809
py
# -*- coding: utf-8 -*- ############################################################################### # # LinkLookup # Used to lookup a bitly link with a given long URL. # # Python version 2.6 # ############################################################################### from temboo.core.choreography import Chor...
[ "dattasaurabh82@gmail.com" ]
dattasaurabh82@gmail.com
dbf05abf4d8e0d66c050f0743bd1c9e047c40647
dc1d341789a19b0dd8b905538b080149e6cd13ed
/iwmi/urls.py
16f9e204d7730c36fd7961b172208468a85b6465
[]
no_license
pngimbwa/Data-Collection-Tool
2629d31742edc311501bd25a2f9728ce7ac97d06
6081500d2a1dc2e30af908168cf83a46a6078a0f
refs/heads/master
2021-01-20T00:01:45.770837
2017-04-22T12:31:07
2017-04-22T12:31:07
89,068,181
3
1
null
null
null
null
UTF-8
Python
false
false
2,752
py
from django.conf import settings from django.conf.urls.static import static from django.conf.urls import patterns,include, url from django.contrib import admin admin.autodiscover() from . import views urlpatterns = [ #**************** url(r'^plant_level_yield/$','iwmi.views.plant_level_yield',name='plant_lev...
[ "pngimbwa6@gmail.com" ]
pngimbwa6@gmail.com
db9e2e5b120e8d9fbefa1221e089306672a27c3a
00a9295409b78a53ce790f7ab44931939f42c0e0
/FPGA/apio/iCEBreaker/FIR_Filter/sympy/venv/lib/python3.8/site-packages/sympy/geometry/polygon.py
f3b283a40728f60e5e4bcd3d64981f359e0864a1
[ "Apache-2.0" ]
permissive
klei22/Tech-OnBoarding-Class
c21f0762d2d640d5e9cb124659cded5c865b32d4
960e962322c37be9117e0523641f8b582a2beceb
refs/heads/master
2022-11-10T13:17:39.128342
2022-10-25T08:59:48
2022-10-25T08:59:48
172,292,871
2
3
Apache-2.0
2019-05-19T00:26:32
2019-02-24T03:50:35
C
UTF-8
Python
false
false
81,917
py
from sympy.core import Expr, S, Symbol, oo, pi, sympify from sympy.core.compatibility import as_int, ordered from sympy.core.symbol import _symbol, Dummy, symbols from sympy.functions.elementary.complexes import sign from sympy.functions.elementary.piecewise import Piecewise from sympy.functions.elementary.trigonometri...
[ "kaunalei@gmail.com" ]
kaunalei@gmail.com
a88369bba2fa41350e98aa1f81dc8dc6b297497f
b3aa3adc66842811aec746047996a6e6f4aea89c
/src/mi/tests/mi3/t-xmlconfig.py
45c632d8debc25cbdfff4e4883e799fe3ba95f68
[]
no_license
zy-sunshine/magicinstaller2
bafa325b54eb6368d90367a9b84fd15261b8627a
bd0cece032c1ce66a219cbc6ef6b0947f056d884
refs/heads/master
2021-01-21T09:56:04.963475
2013-05-21T02:12:53
2013-05-21T02:12:53
2,546,064
1
3
null
2016-03-10T08:55:35
2011-10-10T05:02:18
Python
UTF-8
Python
false
false
119
py
import xmlrpclib s = xmlrpclib.dumps( ({'vol':'III', 'title':'Magical Unicorn'},)) print s print xmlrpclib.loads(s)[0]
[ "zy.netsec@gmail.com" ]
zy.netsec@gmail.com
d64d871832033d2f4b6d3a9fcb004bbd7a2744ba
063ab6c256b5c60406c7d4ee6820dbbf8192efa9
/ros_ws/build/learning_ros_noetic/Part_5/joint_space_planner/catkin_generated/pkg.develspace.context.pc.py
bdd2f1c530b49fed4fb8d810b0833a54694fb3c9
[]
no_license
Iris-ye233/final-project_revised
d34aa55f6bba2f5b73b4f3a255f5041bdf7c71fc
8ab78592b3fe79c8fa359cc877a52192784d2152
refs/heads/master
2023-05-13T18:11:04.802393
2021-06-03T16:27:01
2021-06-03T16:27:01
371,312,863
0
0
null
null
null
null
UTF-8
Python
false
false
576
py
# generated from catkin/cmake/template/pkg.context.pc.in CATKIN_PACKAGE_PREFIX = "" PROJECT_PKG_CONFIG_INCLUDE_DIRS = "/home/yedi/ros_ws/src/learning_ros_noetic/Part_5/joint_space_planner/include".split(';') if "/home/yedi/ros_ws/src/learning_ros_noetic/Part_5/joint_space_planner/include" != "" else [] PROJECT_CATKIN_D...
[ "1155150731@link.cuhk.edu.hk" ]
1155150731@link.cuhk.edu.hk
c9ce7001a33087116101035989777b9870045b43
51f887286aa3bd2c3dbe4c616ad306ce08976441
/pybind/nos/v6_0_2f/interface/hundredgigabitethernet/switchport/access_mac_vlan_classification/__init__.py
11f5c0a9950debcd049b87d7ee77e601b4da2595
[ "Apache-2.0" ]
permissive
b2220333/pybind
a8c06460fd66a97a78c243bf144488eb88d7732a
44c467e71b2b425be63867aba6e6fa28b2cfe7fb
refs/heads/master
2020-03-18T09:09:29.574226
2018-04-03T20:09:50
2018-04-03T20:09:50
null
0
0
null
null
null
null
UTF-8
Python
false
false
6,194
py
from operator import attrgetter import pyangbind.lib.xpathhelper as xpathhelper from pyangbind.lib.yangtypes import RestrictedPrecisionDecimalType, RestrictedClassType, TypedListType from pyangbind.lib.yangtypes import YANGBool, YANGListType, YANGDynClass, ReferenceType from pyangbind.lib.base import PybindBase from d...
[ "badaniya@brocade.com" ]
badaniya@brocade.com
17f63c5a8470e9be13739b93b04244f9d35f076e
f9dae9fa264abd850d600006c718e4675349c358
/itelftool/views.py
137c83eec83adf9c5008f69fa4ca3974dfc0af83
[]
no_license
ifpython/itelftool
5689f2d998d56415a43eefac1e32c0501ce9f371
fa5e92abe7e7a5bfca71906ab52c5ac8f19b69be
refs/heads/master
2020-04-01T01:10:17.542903
2018-10-12T09:10:54
2018-10-12T09:10:54
null
0
0
null
null
null
null
UTF-8
Python
false
false
8,686
py
#!/usr/bin/env python #coding:utf-8 from django.shortcuts import render,HttpResponse,HttpResponseRedirect from django.contrib import auth from django.core.exceptions import ObjectDoesNotExist import django from django import utils from assets.dashboard import AssetDashboard from django.contrib.auth.decorators import l...
[ "420521738@qq.com" ]
420521738@qq.com
fd5010a4f22c8f8d30c531f3d2d25c3b3036ef43
b75dea472cd2127069325998864388ae7a6c81ae
/cozy/structures/heaps.py
22311149a723c7d4f802fe362aba3d94753d772a
[]
no_license
paulswartz/cozy
a024e567721779ed6cb0f334be6e3293c97476a0
f553e9b6e9ad71dfe102d53cbd16804338e1bb4e
refs/heads/master
2020-03-21T20:44:29.844454
2018-06-23T15:51:22
2018-06-23T15:51:22
null
0
0
null
null
null
null
UTF-8
Python
false
false
13,144
py
from cozy.common import fresh_name, declare_case from cozy.syntax import * from cozy.target_syntax import SWhile, SSwap, SSwitch, SEscapableBlock, SEscapeBlock, EMap, EFilter from cozy.syntax_tools import fresh_var, pprint, shallow_copy, mk_lambda, alpha_equivalent from cozy.pools import RUNTIME_POOL from .arrays impo...
[ "loncaric@cs.washington.edu" ]
loncaric@cs.washington.edu
61973ba3ce33844d69ad619c74b460e225393233
577f03954ec69ed82eaea32c62c8eba9ba6a01c1
/py/testdir_0xdata_only/test_parse_summary_c21.py
6d74624e4e3ceda2aa001610a5928f0a8cb236dd
[ "Apache-2.0" ]
permissive
ledell/h2o
21032d784a1a4bb3fe8b67c9299f49c25da8146e
34e271760b70fe6f384e106d84f18c7f0adb8210
refs/heads/master
2020-02-26T13:53:01.395087
2014-12-29T04:14:29
2014-12-29T04:14:29
24,823,632
1
2
null
null
null
null
UTF-8
Python
false
false
2,196
py
import unittest, time, sys, random, string sys.path.extend(['.','..','../..','py']) import h2o, h2o_nn, h2o_cmd, h2o_import as h2i class Basic(unittest.TestCase): def tearDown(self): h2o.check_sandbox_for_errors() @classmethod def setUpClass(cls): global SEED SEED = h2o.setup_rando...
[ "kevin@0xdata.com" ]
kevin@0xdata.com
ef13cb48dd7160a645c4e5c60bbf2245db7f72e6
44064ed79f173ddca96174913910c1610992b7cb
/Second_Processing_app/temboo/Library/OneLogin/Users/ListAll.py
e2edb255b87fe115f6d5ad521d898bd3dcda7d79
[]
no_license
dattasaurabh82/Final_thesis
440fb5e29ebc28dd64fe59ecd87f01494ed6d4e5
8edaea62f5987db026adfffb6b52b59b119f6375
refs/heads/master
2021-01-20T22:25:48.999100
2014-10-14T18:58:00
2014-10-14T18:58:00
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,210
py
# -*- coding: utf-8 -*- ############################################################################### # # ListAll # Retrieves a list of all users. # # Python version 2.6 # ############################################################################### from temboo.core.choreography import Choreography from temboo.co...
[ "dattasaurabh82@gmail.com" ]
dattasaurabh82@gmail.com
b13cb58af142200a5133370b842034578ab346e2
e8115c48538983ed8d0fdf0d36c0cff2e81f985c
/lib/dsklayout/model/blkdev_.py
e27998cfe36e43229cdffa5975e28e86c9db11f5
[ "MIT" ]
permissive
ptomulik/dsklayout
8ef6832fa2c0beec5ef1587d9b7e947c00dae438
e90c50724a144a2ce5bfb180d38e550943350d10
refs/heads/master
2021-04-29T13:53:43.342961
2018-02-19T22:19:31
2018-02-19T23:35:28
121,763,128
0
0
null
null
null
null
UTF-8
Python
false
false
5,153
py
# -*- coding: utf8 -*- from . import exceptions_ import copy __all__ = ('BlkDev',) class BlkDev(object): """Represents a block device""" __slots__ = ('_properties', '_convert') # these may vary in different occurences of the device in lsblk output, _evolving_properties = ('pkname',) _converte...
[ "ptomulik@meil.pw.edu.pl" ]
ptomulik@meil.pw.edu.pl
534cf2c14436f234410a63eb776ff68d062c170a
19d03d646fcee318cca8078af27636732290d77b
/parlai/mturk/core/legacy_2018/mturk_manager.py
ce632c6404b49edd8be439b7d11c2cd2a7397713
[ "MIT" ]
permissive
yongkyung-oh/CMU-Studio-Project
2d6fe6ef6fa30fda1a4f2d1fc45c5b85d6143775
448492f342e8157df2e736aa52825b66b1d66fd7
refs/heads/master
2022-10-24T16:56:46.763865
2020-07-01T10:03:00
2020-07-01T10:03:00
252,878,283
2
5
MIT
2021-03-25T23:50:27
2020-04-04T01:02:44
Python
UTF-8
Python
false
false
90,454
py
#!/usr/bin/env python3 # Copyright (c) Facebook, Inc. and its affiliates. # This source code is licensed under the MIT license found in the # LICENSE file in the root directory of this source tree. import logging import math import os import pickle import threading import time import uuid import errno import requests...
[ "yongkyung-oh@outlook.com" ]
yongkyung-oh@outlook.com
238363a67f5177a66a2e3160c5105e95bcc3a57b
63b0fed007d152fe5e96640b844081c07ca20a11
/Other/ZONeエナジー プログラミングコンテスト “HELLO SPACE”/d.py
ace38464b644ccdbc93b6693c4b433feeb5ff873
[]
no_license
Nikkuniku/AtcoderProgramming
8ff54541c8e65d0c93ce42f3a98aec061adf2f05
fbaf7b40084c52e35c803b6b03346f2a06fb5367
refs/heads/master
2023-08-21T10:20:43.520468
2023-08-12T09:53:07
2023-08-12T09:53:07
254,373,698
0
0
null
null
null
null
UTF-8
Python
false
false
430
py
from collections import deque s=list(input()) t=deque() flg=1 for i in range(len(s)): if s[i]=='R': flg*=-1 else: if flg>0: if t and t[-1]==s[i]: t.pop() else: t.append(s[i]) else: if t and t[0]==s[i]: t...
[ "ymdysk911@gmail.com" ]
ymdysk911@gmail.com
ac653e413e2055ac074543b17174a932a80b8058
844f99918fd0d95579675ca8fcccbf1f649e1256
/gui/canvas.py
a1c3bf740bdc0f06621e10f2bf2ea2d1650ff70d
[]
no_license
PaulFSherwood/python
ddfe88355c51e6451ed7327b1f0e35b06b2b81d1
eda2b89ff6248aba378d089b86f6df0523913e6d
refs/heads/master
2023-05-27T08:32:37.057609
2023-05-20T08:29:21
2023-05-20T08:29:21
10,925,038
1
0
null
null
null
null
UTF-8
Python
false
false
466
py
from tkinter import * import time mGui = Tk() mGui.geometry('450x600+300+100') mGui.title('Canvas test') # Canvas canvas_1 = Canvas(mGui, height = 300, width = 300, bg='#123456') canvas_1.create_line(0,0,300,300) canvas_1.create_oval(100,100,200,200) canvas_1.create_rectangle(25,24,50,50) canvas...
[ "paulfsherwood@gmail.com" ]
paulfsherwood@gmail.com
921c8de141fa342ddca3441c9e7b67870e77e655
13f5c66af02a64aa8c5d988e9560b82bcf058fd0
/python-datastruct-runestone/feb2018/basic-data-structures/mqueue.py
320dcb16e681461077e1a82d5885936ddd342309
[]
no_license
heitorchang/reading-list
a1090b969d0f16cbc7c0e371671e85dca0bde201
3dcfd68cb02179e75216ff459fda693ec1fb8684
refs/heads/master
2023-04-27T03:04:28.122341
2023-04-21T14:04:20
2023-04-21T14:04:20
67,825,952
0
0
null
null
null
null
UTF-8
Python
false
false
512
py
""" os.chdir('reading-list/interactive-py/basic-data-structures') """ class MQueue: def __init__(self): self.items = [] def isEmpty(self): return self.items == [] # in reality, enqueue should be O(1) but since we use the # built-in list, it is O(n) def enqueue(self, item): ...
[ "heitorchang@gmail.com" ]
heitorchang@gmail.com
92c26abc2dc71aa6e258fff579693ceff3fb46dc
2dd26e031162e75f37ecb1f7dd7f675eeb634c63
/nemo/collections/nlp/models/text_normalization_as_tagging/__init__.py
625d91d909d640edee38414bee274817dceaec62
[ "Apache-2.0" ]
permissive
NVIDIA/NeMo
1b001fa2ae5d14defbfd02f3fe750c5a09e89dd1
c20a16ea8aa2a9d8e31a98eb22178ddb9d5935e7
refs/heads/main
2023-08-21T15:28:04.447838
2023-08-21T00:49:36
2023-08-21T00:49:36
200,722,670
7,957
1,986
Apache-2.0
2023-09-14T18:49:54
2019-08-05T20:16:42
Python
UTF-8
Python
false
false
731
py
# Copyright (c) 2022, NVIDIA CORPORATION & AFFILIATES. 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 requ...
[ "noreply@github.com" ]
NVIDIA.noreply@github.com
a51a93b8914ba8038cc1152c6408933579ee2cdc
0d36c52ed0b33388d1f33ffcc8b440981b65fafa
/easyread/translator.py
a78e7e41641eed3bb9ce246588faf87fc1060eb3
[ "MIT" ]
permissive
UncleEngineer/easyread
3fcaa4515b84c5059a164cf9c50d3e002140e5fa
93c41d608967a9d3ad37f445b0134a5e809c64de
refs/heads/main
2023-01-21T22:32:58.839181
2020-12-03T15:26:05
2020-12-03T15:26:05
316,938,695
2
0
null
null
null
null
UTF-8
Python
false
false
3,331
py
from tkinter import * from tkinter import ttk, messagebox import tkinter.scrolledtext as st from urllib.request import urlopen as req from bs4 import BeautifulSoup as soup from threading import Thread v_progress = 0 v_max = 0 def Translate(vocab,fulltext=False): url = 'https://dict.longdo.com/mobile.php?s...
[ "noreply@github.com" ]
UncleEngineer.noreply@github.com
0f819a77c3613a70be96cad0913b3d4fe6b7b702
15f321878face2af9317363c5f6de1e5ddd9b749
/solutions_python/Problem_108/40.py
6e766de43d72760c9abc320835b9a84b40b40139
[]
no_license
dr-dos-ok/Code_Jam_Webscraper
c06fd59870842664cd79c41eb460a09553e1c80a
26a35bf114a3aa30fc4c677ef069d95f41665cc0
refs/heads/master
2020-04-06T08:17:40.938460
2018-10-14T10:12:47
2018-10-14T10:12:47
null
0
0
null
null
null
null
UTF-8
Python
false
false
951
py
T = int(raw_input()); for i in range(T): print "Case #%d:" % (i+1),; N = int(raw_input()); Vine = []; for i in range(N): Vine.append( map(int, raw_input().split()) ); D = int(raw_input()); BestL = [0]*N; # Best length reached for every vine; BestL[0] = Vine[0][0]; TODO = [0]; ...
[ "miliar1732@gmail.com" ]
miliar1732@gmail.com
0c85b39f357b21de6d30f3f7b979bf24b9948147
1b36425f798f484eda964b10a5ad72b37b4da916
/posthog/clickhouse/migrations/0031_event_properties_zstd.py
3500650bd2ec0ffd69a2a3006ae968aba7fe1659
[ "MIT", "LicenseRef-scancode-unknown-license-reference" ]
permissive
dorucioclea/posthog
0408baa2a7ae98e5bea352c516f741ddc17c0a3e
8848981baf237117fb22d28af0770a0165881423
refs/heads/master
2023-01-23T11:01:57.942146
2023-01-13T09:03:00
2023-01-13T09:03:00
241,222,000
0
0
MIT
2020-02-17T22:34:37
2020-02-17T22:34:36
null
UTF-8
Python
false
false
259
py
from infi.clickhouse_orm import migrations from posthog.settings import CLICKHOUSE_CLUSTER operations = [ migrations.RunSQL( f"ALTER TABLE sharded_events ON CLUSTER '{CLICKHOUSE_CLUSTER}' MODIFY COLUMN properties VARCHAR CODEC(ZSTD(3))" ) ]
[ "noreply@github.com" ]
dorucioclea.noreply@github.com
9cf07c7795bdefbf371fb3401285773ac086ea9d
fd5db824b87b49472c3cfa1d8765f95fc820deaa
/discord-paste-code
fb166948d75ee9a012c45679e187bb66c931acf4
[]
no_license
shawwn/scrap
67806c7a8f2b4ddbb87f800f9fa0bd50736b66d6
9d6d190b4606b57a7108881ca6f389f6110c5721
refs/heads/master
2023-09-01T08:46:44.779507
2023-08-29T11:09:58
2023-08-29T11:09:58
124,594,531
100
14
null
2020-07-31T03:09:48
2018-03-09T21:20:54
Python
UTF-8
Python
false
false
2,146
#!/usr/bin/env python #============================================================================== # Functionality #============================================================================== import pdb import sys import os import re # utility funcs, classes, etc go here. def asserting(cond): if not cond: ...
[ "shawnpresser@gmail.com" ]
shawnpresser@gmail.com
86aa0d938d4a043b1018563f8781f10394b64f5e
da0a0045d4e7b0de12a9459e5546332ccc7cce0e
/AST_GraphDB/study/autobots/entities/timesheet/timesheet.py
054ae1795a708ce1b183a788f1ea9af9d32044f9
[]
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
1,769
py
from entities.rollups.rollupfactory import RollupFactory from entities.timesheet.base import Base from entities.timesheet.log import Log from entities.user.user import User ENTITY = 'timesheet' class Timesheet(Base): def __init__(self, request): super().__init__(request) self.timesheet_id = None...
[ "rvenkataraman" ]
rvenkataraman
c811df2158c074d91ea24fd746e4f8baf39a2fe5
fbc6192deeec428f67ae5f3f0dfe9f345157469b
/product_cat/apps.py
365b444d1f4cf63803eaadb14eb0853d6661a441
[]
no_license
ephremworkeye/ProductCatalog
b4ed0c110ff40428728052db7bdf7fe31ce192c0
f82f1d47b69c8b405e4c35b82ba03d16fe8f39b9
refs/heads/master
2023-06-25T20:11:51.633335
2021-07-31T08:05:24
2021-07-31T08:05:24
391,002,505
0
0
null
null
null
null
UTF-8
Python
false
false
153
py
from django.apps import AppConfig class ProductCatConfig(AppConfig): default_auto_field = 'django.db.models.BigAutoField' name = 'product_cat'
[ "ephremworkeye@gmail.com" ]
ephremworkeye@gmail.com
94ac88c47eeb5f87cb9ddcebbab413dddf0577d8
f0d713996eb095bcdc701f3fab0a8110b8541cbb
/u4rHyBDs5RM2PfNxy_0.py
8410b757770df26cdd45d3224ef09abfdd1fbb42
[]
no_license
daniel-reich/turbo-robot
feda6c0523bb83ab8954b6d06302bfec5b16ebdf
a7a25c63097674c0a81675eed7e6b763785f1c41
refs/heads/main
2023-03-26T01:55:14.210264
2021-03-23T16:08:01
2021-03-23T16:08:01
350,773,815
0
0
null
null
null
null
UTF-8
Python
false
false
673
py
""" Create a function that counts the number of blocks of **two or more** adjacent `1`s in a list. ### Examples count_ones([1, 0, 0, 1, 1, 0, 1, 1, 1]) ➞ 2 # Two instances: [1, 1] (middle) and [1, 1, 1] (end) count_ones([1, 0, 1, 0, 1, 0, 1, 0]) ➞ 0 count_ones([1, 1, 1, 1, 0, 0, 0, 0]) ➞ ...
[ "daniel.reich@danielreichs-MacBook-Pro.local" ]
daniel.reich@danielreichs-MacBook-Pro.local
4f5face3aef0ef41fc6615424feca2d554729451
f576f0ea3725d54bd2551883901b25b863fe6688
/sdk/ml/azure-ai-ml/tests/dataset/e2etests/test_data_utils.py
84892d371d885cd8e7f69782f61426129360cc0f
[ "LicenseRef-scancode-generic-cla", "LicenseRef-scancode-python-cwi", "LGPL-2.1-or-later", "PSF-2.0", "LGPL-2.0-or-later", "GPL-3.0-or-later", "GPL-1.0-or-later", "LicenseRef-scancode-warranty-disclaimer", "LGPL-2.1-only", "Python-2.0", "MPL-2.0", "LicenseRef-scancode-other-copyleft", "HPND",...
permissive
Azure/azure-sdk-for-python
02e3838e53a33d8ba27e9bcc22bd84e790e4ca7c
c2ca191e736bb06bfbbbc9493e8325763ba990bb
refs/heads/main
2023-09-06T09:30:13.135012
2023-09-06T01:08:06
2023-09-06T01:08:06
4,127,088
4,046
2,755
MIT
2023-09-14T21:48:49
2012-04-24T16:46:12
Python
UTF-8
Python
false
false
2,630
py
import json import os from pathlib import Path from typing import Dict import pytest from azure.ai.ml._utils._data_utils import download_mltable_metadata_schema, validate_mltable_metadata from azure.ai.ml._utils.utils import load_yaml from azure.ai.ml.constants._common import MLTABLE_METADATA_SCHEMA_URL_FALLBACK from...
[ "noreply@github.com" ]
Azure.noreply@github.com
560653bafa16fd232b2f897d0a84f3baf4559c7a
649bd422025e421d86025743eac324c9b882a2e8
/exam/1_three-dimensional_atomic_system/dump/phasetrans/temp103_7500.py
1a99ed37cb390ae24fa32991f4375234b559a978
[]
no_license
scheuclu/atom_class
36ddee1f6a5995872e858add151c5942c109847c
0c9a8c63d9b38898c1869fe8983126cef17662cd
refs/heads/master
2021-01-21T10:52:28.448221
2017-03-07T23:04:41
2017-03-07T23:04:41
83,489,471
0
0
null
null
null
null
UTF-8
Python
false
false
68,870
py
ITEM: TIMESTEP 7500 ITEM: NUMBER OF ATOMS 2048 ITEM: BOX BOUNDS pp pp pp 1.5935524125855594e-01 4.7040644758733691e+01 1.5935524125855594e-01 4.7040644758733691e+01 1.5935524125855594e-01 4.7040644758733691e+01 ITEM: ATOMS id type xs ys zs 8 1 0.123982 0.0591201 0.0646372 35 1 0.0584826 0.120631 0.0607003 130 1 0.06312...
[ "scheuclu@gmail.com" ]
scheuclu@gmail.com
4f76a599ee14be30176783443d09d4bba06bdc39
13a32b92b1ba8ffb07e810dcc8ccdf1b8b1671ab
/home--tommy--mypy/mypy/bin/theano-cache
e982fa73aa312981d1e8cd63f236687b8ef552cd
[ "Unlicense" ]
permissive
tommybutler/mlearnpy2
8ec52bcd03208c9771d8d02ede8eaa91a95bda30
9e5d377d0242ac5eb1e82a357e6701095a8ca1ff
refs/heads/master
2022-10-24T23:30:18.705329
2022-10-17T15:41:37
2022-10-17T15:41:37
118,529,175
0
2
Unlicense
2022-10-15T23:32:18
2018-01-22T23:27:10
Python
UTF-8
Python
false
false
236
#!/home/tommy/mypy/mypy/bin/python2 # -*- coding: utf-8 -*- import re import sys from bin.theano_cache import main if __name__ == '__main__': sys.argv[0] = re.sub(r'(-script\.pyw?|\.exe)?$', '', sys.argv[0]) sys.exit(main())
[ "tbutler.github@internetalias.net" ]
tbutler.github@internetalias.net
3784d4f1b1faa1710f9a6b5df11b750919c81920
603abbd229e8751ca39b54de2bd7aed470987035
/BOJ/Simultation/Pelindrom.py
ad11d9df1097e2c989b92d9bf59b1d0d15083f03
[]
no_license
SeonJongYoo/Algorithm
869661f5e0c23eedb40b1e8f017bba5501b0519a
e672287c5d6b6c19c146bb59cf73064bda9b4fe2
refs/heads/main
2023-08-11T02:33:25.679790
2021-09-20T15:00:25
2021-09-20T15:00:25
310,283,160
0
0
null
null
null
null
UTF-8
Python
false
false
395
py
# 펠린드롬인지 확인하기 '''s = input() for i in range(len(s)//2): if s[i] != s[len(s)-i-1]: print(0) exit(0) print(1)''' n = input() l = len(n) res = 0 for i in range(l-1, -1, -1): if ord(n[i]) > 64: res += (ord(n[i]) - 55)*(16**(l-i-1)) else: res += int(n[i])*(16**(l-i-1)) print(res)...
[ "jobgsyou@naver.com" ]
jobgsyou@naver.com
ae74d0a7a93e4bb84e20f33e9c446983172a555d
313400a528a30dd44bea846a9a72144a41d4e608
/fukei/crypto.py
adc44870c75e500cef2a147b4f3eb8d4e1fee557
[ "MIT" ]
permissive
chijiao/Fukei
1f5be738ec4329f090dbabd4d61956f57f9614be
2d3f19ee7215093a370af6746a86295691f8d427
refs/heads/master
2020-12-11T04:00:47.669647
2013-12-17T12:09:29
2013-12-17T12:09:29
null
0
0
null
null
null
null
UTF-8
Python
false
false
4,592
py
#!/usr/bin/env python import sys import hashlib import string import struct import logging from utils import lazy_property logger = logging.getLogger('crypto') def random_string(length): import M2Crypto.Rand return M2Crypto.Rand.rand_bytes(length) def get_table(key): m = hashlib.md5() m.update(key...
[ "lyanghwy@gmail.com" ]
lyanghwy@gmail.com
d178bc6968e4a58b37cd3b6e96268b964c606575
ea2b76acd29e14d2ef23f213ba0c98f4491d00d0
/bigmler/dnprediction.py
e7313fbb33817ebe45624ece94d39851632e389d
[ "Apache-2.0" ]
permissive
RuiSUN1124/bigmler
4b168ff2917eb72ae7c47079dcb33a68574c46f1
63aadae76785eabca9081cecdfd8a1420fdf4679
refs/heads/master
2021-05-01T16:06:23.929721
2018-02-07T00:39:03
2018-02-07T00:39:03
null
0
0
null
null
null
null
UTF-8
Python
false
false
4,650
py
# -*- coding: utf-8 -*- # # Copyright 2017 BigML # # 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...
[ "merce@bigml.com" ]
merce@bigml.com
a992cb188dc757e62cd282e78ce305f3eef9f7f1
947fa6a4a6155ffce0038b11f4d743603418ad68
/clean_code/clean_code_submissions/clean_code_assignment_002/tests/test_car_stop_engine.py
599d1151d421f17faef9a35f7d1e9b41b45e92fd
[]
no_license
bharathi151/bharathi_diyyala
bd75e10639d7d22b332d5ce677e7799402dc4984
99f8657d010c790a0e4e4c9d6b57f81814784eb0
refs/heads/master
2022-11-21T12:43:48.401239
2020-07-23T09:05:52
2020-07-23T09:05:52
281,903,260
0
0
null
null
null
null
UTF-8
Python
false
false
428
py
def test_stop_engine_when_car_is_not_running_returns_is_engine_started_false(car): # arrange false = False # act car.stop_engine() # assert assert car.is_engine_started == false def test_stop_engine_when_car_is_running_returns_is_engine_started_false(car): # arrange false = False ...
[ "bharathi151273@gmail.com" ]
bharathi151273@gmail.com
dcc1a0a57e3b760d06521d3083bb411eb6ab2841
36901e58fbdeabc7380ae2c0278010b2c51fe54d
/gatheros_subscription/migrations/0008_subscription_congressy_percent.py
2621dfd2050531fa831cc17e9316483d86b6e1d3
[]
no_license
hugoseabra/congressy
e7c43408cea86ce56e3138d8ee9231d838228959
ac1e9b941f1fac8b7a13dee8a41982716095d3db
refs/heads/master
2023-07-07T04:44:26.424590
2021-08-11T15:47:02
2021-08-11T15:47:02
395,027,819
0
0
null
null
null
null
UTF-8
Python
false
false
797
py
# -*- coding: utf-8 -*- # Generated by Django 1.11 on 2018-03-18 18:12 from __future__ import unicode_literals from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('gatheros_subscription', '0007_auto_20180301_1915'), ] operations = [ migratio...
[ "hugoseabra19@gmail.com" ]
hugoseabra19@gmail.com
edcc9988f8f3eb300c7fde63b20583090c5e5b76
b08d42933ac06045905d7c005ca9c114ed3aecc0
/src/coefSubset/evaluate/ranks/twentyPercent/rank_2vxq_T.py
4ee28d124489dca02c5ec0807704a0cfdf2e8380
[]
no_license
TanemuraKiyoto/PPI-native-detection-via-LR
d148d53f5eb60a4dda5318b371a3048e3f662725
897e7188b0da94e87126a4acc0c9a6ff44a64574
refs/heads/master
2022-12-05T11:59:01.014309
2020-08-10T00:41:17
2020-08-10T00:41:17
225,272,083
1
0
null
null
null
null
UTF-8
Python
false
false
3,392
py
# 9 July 2019 # Kiyoto Aramis Tanemura # Several metrics are used to assess the performance of the trained RF model, notably native ranking. This script returns a ranking of the native protein-protein complex among a decoy set. For convenience, I will define as a function and will call in a general performance assess...
[ "tanemur1@msu.edu" ]
tanemur1@msu.edu
c4e0eef8e635bb3004ef9cc323c8a841558b780a
b35aea9f4411f5dc7942392d78dc31bb76c7ec73
/djangoProject/barman/migrations/0003_auto_20210712_1053.py
ba89be3bf8211c082c96e3f86a37b2eb2c5c04ef
[]
no_license
ashkanusefi/rondshow
1079b81704fff55a1d54fa8dee2712ab61e92f4a
7e5a80fcc6e326b8b1737a54fb53becc4195e475
refs/heads/master
2023-09-01T18:45:33.170465
2021-09-18T11:24:52
2021-09-18T11:24:52
407,820,565
0
0
null
null
null
null
UTF-8
Python
false
false
860
py
# Generated by Django 3.2.5 on 2021-07-12 06:23 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('barman', '0002_about'), ] operations = [ migrations.AlterModelOptions( name='about', options={'verbose_name': 'دربار...
[ "yousefi.ashkan96@gmail.com" ]
yousefi.ashkan96@gmail.com
bb209def2c2c625cb5e3e23b160e9e6dd7d8b3f8
739b764438a4b82edc5ae63dd5b1d715779dc7a1
/python-coding-bat/list-1/same_first_last/same_first_last.py
65937025991edffc9fe38213ec7bfe01936bbe16
[]
no_license
mgermaine93/python-playground
2cbf3994ebc0faf51515aac233a69f926ba9cccd
6fc7c6ee0e2d17b585469c60a748c4ae41030f87
refs/heads/master
2021-05-17T04:03:58.460331
2021-04-09T20:32:05
2021-04-09T20:32:05
250,613,576
0
0
null
null
null
null
UTF-8
Python
false
false
265
py
# Given an array of ints, return True if the array is length 1 or more, and the first element and the last element are equal. def same_first_last(nums): if len(nums) == 0: return False elif nums[0] == nums[-1]: return True return False
[ "mgermaine93@gmail.com" ]
mgermaine93@gmail.com
68797864ac088a58fab11ae9f47df6e9d64609b5
163bbb4e0920dedd5941e3edfb2d8706ba75627d
/Code/CodeRecords/2176/60708/246166.py
f4d877871226519dfe4619ec71470d6c5fbdee7a
[]
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
788
py
def getcut(Str,length): cut=[] for i in range(0,length): temp=Str[i:] cut.append(temp) return cut def sorting(cut): rank=[] l=len(cut) No=[] cuttemp=[] for item in cut: cuttemp.append(item) for i in range(0,l): temp=min(cut) for i, j in enumer...
[ "1069583789@qq.com" ]
1069583789@qq.com
4126972ad82939226be0f48dbd7852b32fd53ed4
aa1f4d6cf6cae1c8b4c7bdff2e59ae6178564a2c
/网络编程第四周/1/__init__.py
a66fdc6284096712c42bd0c9e3b050130cdf26ab
[ "Apache-2.0" ]
permissive
xiaoyonga/python
6d34d1268f2ee40a4080ccd50de66f3e00013d46
051773c06187a86483d2d7ba40d35a195d9c0bc7
refs/heads/master
2021-07-20T14:16:11.176703
2016-10-17T05:07:30
2016-10-17T05:07:30
67,691,416
0
0
null
null
null
null
UTF-8
Python
false
false
81
py
h={} print(h,type(h)) h[1]=[] h[1].append("das") print(h,type(h)) print(h[1].pop)
[ "845219159@qq.com" ]
845219159@qq.com
46a3c26dbdb72d9316f5c2c06c66e692607d5105
c8278b14d1e7a576014513148a356909a00fa2fa
/python_test/test_numpy_converter.py
43d3d75b154f41260c83574f65f187b70b9100b1
[ "MIT" ]
permissive
JohnReid/myrrh
7a195131c25a1017864cc1fa297a1bdb366cc2db
09dc97c739232c03493e2344e64735b30eea5f99
refs/heads/master
2021-01-10T16:36:42.543512
2015-09-15T15:04:51
2015-09-15T15:04:51
8,554,330
1
0
null
null
null
null
UTF-8
Python
false
false
167
py
# # Copyright John Reid 2009 # from test_python_numpy_converter import * import numpy as N assert check_numpy_conversion_multi_array(N.ones((4,6))).sum() == 4. * 6.
[ "johnbaronreid@netscape.net" ]
johnbaronreid@netscape.net
a201927661fc37dc0058ca60623f1dc22755c5f6
760ed048a65d0225d8f39479f6db56ff1e2c0784
/api/doors/apps.py
9c5cf9976b76c3f1c204ad566f54a29f1293097e
[]
no_license
jotasic/apartment_entrance_system
0c81390ee4dc5afd46d0fb1747c82de9794d0ea0
1dac3b866147ccb6ced0df3e135758c614057e9c
refs/heads/main
2023-06-20T09:05:12.990231
2021-07-16T08:01:13
2021-07-16T08:01:42
384,940,222
0
0
null
2021-07-16T08:01:43
2021-07-11T12:16:42
Python
UTF-8
Python
false
false
146
py
from django.apps import AppConfig class DoorsConfig(AppConfig): default_auto_field = 'django.db.models.BigAutoField' name = 'api.doors'
[ "embedded61@gmail.com" ]
embedded61@gmail.com
852efca389b8646b8eb1ccc1d2cdd10dbaf7fc7c
f07a42f652f46106dee4749277d41c302e2b7406
/Data Set/bug-fixing-5/240fd5b68e033ee31167581fcd061dc027282fcf-<in_train_phase>-bug.py
12e689b35625de0a4b4eb182385dc3955fa06b16
[]
no_license
wsgan001/PyFPattern
e0fe06341cc5d51b3ad0fe29b84098d140ed54d1
cc347e32745f99c0cd95e79a18ddacc4574d7faa
refs/heads/main
2023-08-25T23:48:26.112133
2021-10-23T14:11:22
2021-10-23T14:11:22
null
0
0
null
null
null
null
UTF-8
Python
false
false
461
py
def in_train_phase(x, alt): 'Selects `x` in train phase, and `alt` otherwise.\n Note that `alt` should have the *same shape* as `x`.\n ' if (_LEARNING_PHASE is 1): return x elif (_LEARNING_PHASE is 0): return alt x_shape = copy.copy(x.get_shape()) x = tf.python.control_flow_ops...
[ "dg1732004@smail.nju.edu.cn" ]
dg1732004@smail.nju.edu.cn
18d8f4c60d2de719ddffe1ac8c7687290c8d1340
aa3cc5cddf07721962cdd92611daa0198ecc32ea
/nerds/config/base.py
31927feea327a53c5f4222fe517aa60bc8aa03aa
[]
no_license
druv022/Disease-Normalization-with-Graph-Embeddings
486a7c59d94ff502145796c1921611b937a4006a
c816ba37815d06bea394a99614e07baa3ebed5f2
refs/heads/master
2023-02-26T12:55:18.927522
2023-02-14T02:36:15
2023-02-14T02:36:15
242,658,320
3
1
null
null
null
null
UTF-8
Python
false
false
9,298
py
import json from sklearn.base import BaseEstimator from nerds.config.range import ValidSetRange, ValidFloatRange from nerds.util.logging import get_logger log = get_logger() IGNORED_NAMES = ("entity_labels", "relation_labels", "label_map") class ModelConfiguration(BaseEstimator): """ An abstract handler for mo...
[ "c.thorne.1@elsevier.com" ]
c.thorne.1@elsevier.com
503bbbf4a344a0951fa3e68d44e3480a730707db
f20e965e19b749e84281cb35baea6787f815f777
/Analysis/Analysis/Ostap/python/Ostap/RunDB.py
cfec9accc6efe11669ba9380adebd004f4feea92
[]
no_license
marromlam/lhcb-software
f677abc9c6a27aa82a9b68c062eab587e6883906
f3a80ecab090d9ec1b33e12b987d3d743884dc24
refs/heads/master
2020-12-23T15:26:01.606128
2016-04-08T15:48:59
2016-04-08T15:48:59
null
0
0
null
null
null
null
UTF-8
Python
false
false
7,722
py
#!/usr/bin/env python # -*- coding: utf-8 -*- # ============================================================================= # $Id: RunDB.py$ # ============================================================================= ## @file # Collection of simple utilites to deal with LHCb RunDB # via http://lbrundb.cern.ch/...
[ "ivan.belyaev@cern.ch" ]
ivan.belyaev@cern.ch
27e4e4b37118a29ee8de3f6e0c3b8d0aa922d7d3
0c69e5e22cee117355aeb5ea75f4d0d49f17c3a9
/OmahPortfolio/OmahPortfolio/wsgi.py
6d9fffb88061e169552407e650f221092635f1f3
[ "MIT" ]
permissive
emetowinner/Django-Projects
58aaac12c2804c7cdcbd899bad0a6c1fba807804
f1489ff73ccbb2b375fabcf55fc598eae32307bc
refs/heads/master
2023-04-18T02:24:59.664981
2021-04-27T13:18:08
2021-04-27T13:18:08
351,052,513
1
0
null
null
null
null
UTF-8
Python
false
false
403
py
""" WSGI config for OmahPortfolio 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.0/howto/deployment/wsgi/ """ import os from django.core.wsgi import get_wsgi_application os.environ.setdefault('DJANGO...
[ "emetowinner@gmail.com" ]
emetowinner@gmail.com
53f9cbd9496604726ac3e3ff736a49178ef82d3c
b0741867b842fe177205c2fd714cabd34652ced4
/test01/spider_pic/thread_spider.py
01ff73ad7398be2d6ee13677067a8aaecd276598
[]
no_license
zdYng/python
6737ea43b041f57e0d23598cfa2e5e23d5bd11ff
fd074f5700ec9733958e8640eb63af83aac3001f
refs/heads/master
2021-07-22T13:50:24.745405
2020-04-02T02:15:29
2020-04-02T02:15:29
93,690,795
2
0
null
null
null
null
UTF-8
Python
false
false
765
py
#encoding: utf-8 import urllib import threading from bs4 import BeautifulSoup import requests import os import time FACE_URL_LIST = [] PAGE_URL_LIST = [] BASE_PAGE_URL = 'https://www.doutula.com/phone/list/?page=' for x in range(1,946): url = BASE_PAGE_URL + str(x) PAGE_URL_LIST.append(url) gLock = threadi...
[ "qianzhongdao@163.com" ]
qianzhongdao@163.com
1f8df811d03eb75e45df3512ed286fef49f9a5d3
f07a42f652f46106dee4749277d41c302e2b7406
/Data Set/bug-fixing-5/900ca643cdcd94ec9761374dec0217765caf4058-<main>-bug.py
9d645fb108d71349c2d7f684f487e86eba9bb41c
[]
no_license
wsgan001/PyFPattern
e0fe06341cc5d51b3ad0fe29b84098d140ed54d1
cc347e32745f99c0cd95e79a18ddacc4574d7faa
refs/heads/main
2023-08-25T23:48:26.112133
2021-10-23T14:11:22
2021-10-23T14:11:22
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,320
py
def main(): parser = argparse.ArgumentParser(description='Chainer example: End-to-end memory networks') parser.add_argument('TRAIN_DATA', help='Path to training data in bAbI dataset (e.g. "qa1_single-supporting-fact_train.txt")') parser.add_argument('TEST_DATA', help='Path to test data in bAbI dataset (e.g....
[ "dg1732004@smail.nju.edu.cn" ]
dg1732004@smail.nju.edu.cn
015fa98c14b28f5fa22d8948df7f953bfa1d7d2a
b2403817f9221ee3550130572a808194ef4f3fda
/Sets/itertools.py
730a27c4eac8afe20e53eac25deb835445733606
[]
no_license
xaviergoby/Python-Data-Structure
e962444ef5b1313c3facbf1fcc315af182b73a26
eaaf31ea98d63e812a75c1d6ecb8722b9c0cf142
refs/heads/master
2020-04-13T00:24:40.896592
2018-11-27T11:51:36
2018-11-27T11:51:36
162,844,732
1
0
null
2018-12-22T21:46:29
2018-12-22T21:46:29
null
UTF-8
Python
false
false
209
py
__author__ = 'Sanjay' # a=map(int,raw_input().split(" ")) # b=map(int,raw_input().split(" ")) from itertools import product a = [1,2] b = [3,4] s= tuple(product(a,b)) for i in list(product(a,b)): print i,
[ "sanjay.siddha3@gmail.com" ]
sanjay.siddha3@gmail.com
02c77def30d2fa5d7b91bb0c14fa4fcc0477f917
2ff7e53d5e512cd762217ca54317982e07a2bb0c
/eve-8.51.857815/werkzeug/contrib/kickstart.py
676129dc441438e8c79e17e0b5bf4c68c71f9663
[]
no_license
nanxijw/Clara-Pretty-One-Dick
66d3d69426642b79e8fd4cc8e0bec23adeeca6d6
50de3488a2140343c364efc2615cf6e67f152be0
refs/heads/master
2021-01-19T09:25:07.555284
2015-02-17T21:49:33
2015-02-17T21:49:33
null
0
0
null
null
null
null
UTF-8
Python
false
false
9,003
py
#Embedded file name: werkzeug/contrib\kickstart.py """ werkzeug.contrib.kickstart ~~~~~~~~~~~~~~~~~~~~~~~~~~ This module provides some simple shortcuts to make using Werkzeug simpler for small scripts. These improvements include predefined `Request` and `Response` objects as well as a predefin...
[ "billchang.e@gmail.com" ]
billchang.e@gmail.com
3e853e6024897f202ca4287e696efaecabfd6af9
10d9235c35977963d1b7fff161234177cccc118b
/이경호/장군.py
bfad6478a0120580c6ab8f8cdf9ef229d6feef78
[]
no_license
chelseashin/Algorithm_Study
05c464998dc06fb0185ec50a9c515f0bf0a4ed2b
369409eacbfc8d98d268b876e67b1837611c3fc8
refs/heads/master
2020-12-04T17:20:22.667506
2020-01-19T06:10:45
2020-01-19T06:10:45
231,851,130
0
1
null
null
null
null
UTF-8
Python
false
false
1,219
py
from pprint import pprint import sys sys.stdin = open('장군.txt') sx, sy = map(int, input().split()) kx, ky = map(int, input().split()) delta = ( ((-1, 0), (-2, -1), (-3, -2)), ((-1, 0), (-2, 1), (-3, 2)), ((0, -1), (-1, -2), (-2, -3)), ((0, 1), (-1, 2), (-2, 3)), ((0, -1), (1, -2), (2, -3)), ...
[ "lkh151515@gmail.com" ]
lkh151515@gmail.com
cf13522fb8fa147426572b2aefa71b87c7e0165e
5686d1a31b87a47a4774270c00cd141c221cf065
/axonius_api_client/tests/tests_cli/tests_grp_enforcements/test_cmd_update_query_remove.py
2af22ab42e796278aec2adedb08ef04dd724f5ab
[ "MIT" ]
permissive
Axonius/axonius_api_client
e7eec0845eee9e1b314446121551c584655c2631
be49566e590834df1b46494c8588651fa029b8c5
refs/heads/master
2023-08-19T04:43:13.717989
2023-08-10T18:49:40
2023-08-10T18:49:40
194,601,817
17
22
MIT
2023-08-30T18:45:15
2019-07-01T04:52:21
Python
UTF-8
Python
false
false
904
py
# -*- coding: utf-8 -*- """Test suite for axonius_api_client.tools.""" from axonius_api_client.cli import cli from ...tests_api.tests_enforcements.test_enforcements import EnforcementsBase from ...utils import load_clirunner class TestGrpEnforcementsCmdUpdateQueryRemove(EnforcementsBase): def test_error(self, re...
[ "jim@axonius.com" ]
jim@axonius.com
28ffd7072a1bfde91da6092366874c9eb625ea40
1f20484efc357aae4b7e2f98a191e7a9256f3a58
/irc3/plugins/pager.py
4ac72c26aac214103e8ad96d04bbc2c231d5d2c0
[ "CC-BY-3.0", "MIT", "LicenseRef-scancode-ietf" ]
permissive
gawel/irc3
55b2e4d01ca95f45077f8bad231394551584d7bd
76d6849d5e7a531d649aca766f623f9f30a55545
refs/heads/master
2023-07-15T20:49:40.188267
2023-04-17T09:02:31
2023-04-17T09:02:31
14,820,406
187
58
MIT
2023-02-27T10:18:41
2013-11-30T12:09:48
Python
UTF-8
Python
false
false
2,869
py
# -*- coding: utf-8 -*- from irc3.plugins.command import command from irc3 import asyncio import irc3 import time __doc__ = ''' =============================================== :mod:`irc3.plugins.pager` Paginate large output =============================================== Usage ===== .. literalinclude:: ../../examples...
[ "gael@gawel.org" ]
gael@gawel.org