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
d07884ea9088dd79e535041db6fea087ead9d87a
e9538b7ad6d0ce0ccfbb8e10c458f9e0b73926f6
/tests/unit/modules/network/fortios/test_fortios_log_fortianalyzer2_filter.py
0c61c109df02d42a39cb39bdaec4e125f8829312
[]
no_license
ansible-collection-migration/misc.not_a_real_collection
b3ef8090c59de9ac30aca083c746ec3595d7f5f5
7ab1af924a3db4ada2f714b09bb392614344cb1e
refs/heads/master
2020-12-18T13:48:51.849567
2020-01-22T17:39:18
2020-01-22T17:39:18
235,400,821
0
0
null
null
null
null
UTF-8
Python
false
false
10,103
py
# Copyright 2019 Fortinet, Inc. # # 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, either version 3 of the License, or # (at your option) any later version. # # This program is distributed in the...
[ "ansible_migration@example.com" ]
ansible_migration@example.com
6e90ef1077bbefd52a47c39eaf3d32fe9090c6d7
99c4d4a6592fded0e8e59652484ab226ac0bd38c
/code/batch-2/vse-naloge-brez-testov/DN13-Z-077.py
bcccc875f9d0ca0da1cc8bf82548e3362986f142
[]
no_license
benquick123/code-profiling
23e9aa5aecb91753e2f1fecdc3f6d62049a990d5
0d496d649247776d121683d10019ec2a7cba574c
refs/heads/master
2021-10-08T02:53:50.107036
2018-12-06T22:56:38
2018-12-06T22:56:38
126,011,752
0
0
null
null
null
null
UTF-8
Python
false
false
1,260
py
import itertools class Minobot: def __init__(self): self.x = 0 self.y = 0 self.smer = "desno" def naprej(self, premik): if (self.smer == "desno"): self.x += premik elif (self.smer == "levo"): self.x -= premik elif (self.s...
[ "benjamin.fele@gmail.com" ]
benjamin.fele@gmail.com
80737f45f33bac9e5445d7f37314f4c3515006f4
9e41cd05ee3d36d09e2dfb49af8212c3aee3cd61
/kisházik/classification_EMP2B5.py
c2e3885645ae26b3c237756509ab3bd62b09723f
[]
no_license
matech96/ADA
2cf60eeacb0cdf95ce8486169ddd9e4e1bb2311f
b15c8e339291014af13e03cd3a099e1914198ff9
refs/heads/master
2020-09-14T18:02:05.271191
2020-01-28T16:04:29
2020-01-28T16:04:29
223,208,311
0
0
null
null
null
null
UTF-8
Python
false
false
2,269
py
#!/usr/bin/env python # coding: utf-8 # In[1]: from sklearn.model_selection import train_test_split from sklearn.metrics import accuracy_score, roc_auc_score, precision_score, recall_score import pandas as pd from sklearn.linear_model import LinearRegression # In[2]: df = pd.read_csv('../data/DataSet_Hitelbiral...
[ "gangoly96@gmail.com" ]
gangoly96@gmail.com
3f325bc49a183b5be3f47809de7ae0b062efb3f9
73a5eca1ddee1d74a3c2be9ca4e5e67ebe3d16f7
/src/data/__init__.py
c780cbd47efafc7e74eb2dda1caa03ffc2b556db
[ "MIT" ]
permissive
ychnlgy/Chebyshev-Lagrange
34346692a2925cde620377e8fbcb8d588623fac7
74292e72b83f992d6c42a2f2db04dfdce5a52aea
refs/heads/master
2020-05-23T06:20:10.831035
2020-02-12T16:31:38
2020-02-12T16:31:38
186,661,893
2
1
null
null
null
null
UTF-8
Python
false
false
48
py
from . import adhc from .augment import augment
[ "ychnlgy@gmail.com" ]
ychnlgy@gmail.com
1d912dceae386ef74247aae0ce3c3d92d2ee8ed8
e3c8f786d09e311d6ea1cab50edde040bf1ea988
/Incident-Response/Tools/grr/grr/server/grr_response_server/gui/api_plugins/reflection_test.py
bbc604dfacc9a8f3d4e2f1ef5f8c6585f034152e
[ "MIT", "Apache-2.0" ]
permissive
foss2cyber/Incident-Playbook
d1add8aec6e28a19e515754c6ce2e524d67f368e
a379a134c0c5af14df4ed2afa066c1626506b754
refs/heads/main
2023-06-07T09:16:27.876561
2021-07-07T03:48:54
2021-07-07T03:48:54
384,988,036
1
0
MIT
2021-07-11T15:45:31
2021-07-11T15:45:31
null
UTF-8
Python
false
false
3,974
py
#!/usr/bin/env python """This module contains tests for reflection API handlers.""" from __future__ import absolute_import from __future__ import division from __future__ import unicode_literals from absl import app from grr_response_server.gui import api_call_router from grr_response_server.gui import api_test_lib ...
[ "a.songer@protonmail.com" ]
a.songer@protonmail.com
73d467d6ab8185e9e67e75cb05f4ebc9019517a1
1dacbf90eeb384455ab84a8cf63d16e2c9680a90
/lib/python2.7/site-packages/openopt/__init__.py
76070a202bb544deddb6eb445f4f4fae6c2a6b53
[ "Python-2.0", "Apache-2.0", "BSD-3-Clause", "LicenseRef-scancode-unknown" ]
permissive
wangyum/Anaconda
ac7229b21815dd92b0bd1c8b7ec4e85c013b8994
2c9002f16bb5c265e0d14f4a2314c86eeaa35cb6
refs/heads/master
2022-10-21T15:14:23.464126
2022-10-05T12:10:31
2022-10-05T12:10:31
76,526,728
11
10
Apache-2.0
2022-10-05T12:10:32
2016-12-15T05:26:12
Python
UTF-8
Python
false
false
1,119
py
#! /usr/bin/env python #from .ooVersionNumber import __version__ import os, sys curr_dir = ''.join([elem + os.sep for elem in __file__.split(os.sep)[:-1]]) sys.path += [curr_dir, curr_dir + 'kernel'] from ooVersionNumber import __version__ from oo import * #from kernel.GUI import manage #from kernel.oologfcn import...
[ "noreply@github.com" ]
wangyum.noreply@github.com
bee97ffb8715c6eb2cdc7c66345f36d3e6290a71
0f2b08b31fab269c77d4b14240b8746a3ba17d5e
/orttraining/tools/scripts/pipeline_model_split.py
d1ae9dd22bf001ccd5c2e047bb63cb3433d4dfb6
[ "MIT" ]
permissive
microsoft/onnxruntime
f75aa499496f4d0a07ab68ffa589d06f83b7db1d
5e747071be882efd6b54d7a7421042e68dcd6aff
refs/heads/main
2023-09-04T03:14:50.888927
2023-09-02T07:16:28
2023-09-02T07:16:28
156,939,672
9,912
2,451
MIT
2023-09-14T21:22:46
2018-11-10T02:22:53
C++
UTF-8
Python
false
false
15,126
py
import os import sys # noqa: F401 import onnx from onnx import OperatorSetIdProto, TensorProto, helper # noqa: F401 # Edge that needs to be cut for the split. # If the edge is feeding into more than one nodes, and not all the nodes belong to the same cut, # specify those consuming nodes that need to be cut class ...
[ "noreply@github.com" ]
microsoft.noreply@github.com
ccf7ef2d3e547fc5865b9d05d078122acb39a3a0
9aaa39f200ee6a14d7d432ef6a3ee9795163ebed
/Algorithm/Python/624. Maximum Distance in Arrays.py
a024e9db5b888db8f0029cd55f4da18dc8085909
[]
no_license
WuLC/LeetCode
47e1c351852d86c64595a083e7818ecde4131cb3
ee79d3437cf47b26a4bca0ec798dc54d7b623453
refs/heads/master
2023-07-07T18:29:29.110931
2023-07-02T04:31:00
2023-07-02T04:31:00
54,354,616
29
16
null
null
null
null
UTF-8
Python
false
false
799
py
# -*- coding: utf-8 -*- # @Author: LC # @Date: 2017-06-18 16:34:58 # @Last modified by: LC # @Last Modified time: 2017-06-18 16:38:28 # @Email: liangchaowu5@gmail.com # O(n) time # traverse the arrays, # keep the min number and max number among the traversed numbers so far and compare them with the current numbe...
[ "liangchaowu5@gmail.com" ]
liangchaowu5@gmail.com
ebb8c77391a9e3bd64b8b627a3638e7999db0425
c698fb03aa2bf034904a0310931b473b6da66fdc
/com/study/algorithm/daily/73. Set Matrix Zeroes.py
72c686e73159edddb22b711340fc520e9b884642
[]
no_license
pi408637535/Algorithm
e46df1d07a519ab110e4f97755f461a1b2b7c308
75f4056ec6da01f7466a272871a7f7db579166b4
refs/heads/master
2021-08-29T19:19:53.368953
2021-08-22T16:30:32
2021-08-22T16:30:32
213,289,503
1
0
null
null
null
null
UTF-8
Python
false
false
2,815
py
from typing import List from typing import List class Solution: def setZeroes(self, matrix: List[List[int]]) -> None: """ Do not return anything, modify matrix in-place instead. """ if not matrix or not matrix: return m, n = len(matrix), len(matrix[0]) ...
[ "piguanghua@163.com" ]
piguanghua@163.com
ea22858c3a3da17f4d8b8806cde34a8f102b33f5
f4b60f5e49baf60976987946c20a8ebca4880602
/lib/python2.7/site-packages/acimodel-1.3_2j-py2.7.egg/cobra/modelimpl/fvns/addrinst.py
45a74f921e5aabecaaba2f160e60df1783f16095
[]
no_license
cqbomb/qytang_aci
12e508d54d9f774b537c33563762e694783d6ba8
a7fab9d6cda7fadcc995672e55c0ef7e7187696e
refs/heads/master
2022-12-21T13:30:05.240231
2018-12-04T01:46:53
2018-12-04T01:46:53
159,911,666
0
0
null
2022-12-07T23:53:02
2018-12-01T05:17:50
Python
UTF-8
Python
false
false
6,765
py
# coding=UTF-8 # ********************************************************************** # Copyright (c) 2013-2016 Cisco Systems, Inc. All rights reserved # written by zen warriors, do not modify! # ********************************************************************** from cobra.mit.meta import ClassMeta from cobra.m...
[ "collinsctk@qytang.com" ]
collinsctk@qytang.com
3f518d1941b93c0126a47ddb4ac3959257e6c413
a830f67a97103b750ed2ced5997285532762f25d
/test_dot_env/test_dot_env/tests.py
448aa445bfd50deca27632fa9e4bcd5b268942e8
[]
no_license
Durant21/test_dot_env
308d29ebbdafa24306cd89e02079d0adbb017fd7
40f6894ff7adc91c9870c96bbd44d62410e1eeb0
refs/heads/master
2022-12-21T00:04:56.754078
2019-10-02T18:59:38
2019-10-02T18:59:38
212,382,378
0
1
null
null
null
null
UTF-8
Python
false
false
717
py
import unittest from pyramid import testing class ViewTests(unittest.TestCase): def setUp(self): self.config = testing.setUp() def tearDown(self): testing.tearDown() def test_my_view(self): from .views.default import my_view request = testing.DummyRequest() info ...
[ "durant.crimson@icloud.com" ]
durant.crimson@icloud.com
8b5bea4bf2920bf639d60e870173c108a9782dd6
0c78c4356f9df3a5c28adc2bdab7bad750b49d35
/setup.py
37220f5e42a00c2a7f2a4252bd8d8fed9ffad6a0
[ "MIT" ]
permissive
julianblue/agoro-field-boundary-detector
b985513475f4f32973b88d965ed5586d74ecbb01
9dd911df096ce865471ed0330174044f4172cc66
refs/heads/master
2023-06-06T16:58:46.177772
2021-06-22T16:13:27
2021-06-22T16:13:27
null
0
0
null
null
null
null
UTF-8
Python
false
false
986
py
"""Setup module for this Python package.""" import pathlib from setuptools import find_packages, setup # The directory containing this file HERE = pathlib.Path(__file__).parent # The text of the README file README = (HERE / "README.md").read_text() INSTALL_REQUIRES = [ "tqdm", "torch~=1.8.1", "torchvisi...
[ "broekxruben@gmail.com" ]
broekxruben@gmail.com
68f0f8c2e5a4740c22cfcd37baf82be5fea82e65
30e1dc84fe8c54d26ef4a1aff000a83af6f612be
/deps/src/libxml2-2.9.1/python/tests/validDTD.py
ee35c067b3a24970df32163eaa39c77880183bb3
[ "BSD-3-Clause", "MIT" ]
permissive
Sitispeaks/turicreate
0bda7c21ee97f5ae7dc09502f6a72abcb729536d
d42280b16cb466a608e7e723d8edfbe5977253b6
refs/heads/main
2023-05-19T17:55:21.938724
2021-06-14T17:53:17
2021-06-14T17:53:17
385,034,849
1
0
BSD-3-Clause
2021-07-11T19:23:21
2021-07-11T19:23:20
null
UTF-8
Python
false
false
1,224
py
#!/usr/bin/python -u import libxml2 import sys ARG = 'test string' class ErrorHandler: def __init__(self): self.errors = [] def handler(self, msg, data): if data != ARG: raise Exception("Error handler did not receive correct argument") self.errors.append(msg) # Memory d...
[ "znation@apple.com" ]
znation@apple.com
e55d95c481ad73ca8bf90ae9a403979a13a469b0
ca7aa979e7059467e158830b76673f5b77a0f5a3
/Python_codes/p03821/s969389449.py
aee420fedd1c2214ea27397c8853912146d541c1
[]
no_license
Aasthaengg/IBMdataset
7abb6cbcc4fb03ef5ca68ac64ba460c4a64f8901
f33f1c5c3b16d0ea8d1f5a7d479ad288bb3f48d8
refs/heads/main
2023-04-22T10:22:44.763102
2021-05-13T17:27:22
2021-05-13T17:27:22
367,112,348
0
0
null
null
null
null
UTF-8
Python
false
false
156
py
N, *AB = [map(int, s.split()) for s in open(0)] AB = list(AB)[::-1] bias = 0 for A, B in AB: bias += (bias + A + B - 1) // B * B - A - bias print(bias)
[ "66529651+Aastha2104@users.noreply.github.com" ]
66529651+Aastha2104@users.noreply.github.com
f58cc5da39483f3d604be5366b4693ca0e122b4c
b38fb62950582664158327a2abf29c84cc59178b
/0x02-python-import_modules/2-args.py
34615c54c5ce8850ce044cc4761e27557383568d
[]
no_license
MiguelCF06/holbertonschool-higher_level_programming
a39129cf355abe15e2caeb41cdef385ace53cfda
0bc44343cb20c97221d3886bafda6db7235bc13a
refs/heads/master
2022-12-18T00:12:52.498624
2020-09-24T17:00:24
2020-09-24T17:00:24
259,323,305
1
2
null
null
null
null
UTF-8
Python
false
false
444
py
#!/usr/bin/python3 if __name__ == "__main__": from sys import argv if (len(argv)-1 == 0): print("0 arguments.") elif (len(argv)-1 == 1): print("{} argument:".format(len(argv) - 1)) print("{}: {}".format(len(argv)-1, argv[1])) else: j = 1 print("{} arguments:".fo...
[ "miguel.cipamocha@gmail.com" ]
miguel.cipamocha@gmail.com
e21afb3557c986e0856f76cc979a03e2b8372c33
d1aa6e7d5631d7806531660febbd1f856eaeece7
/python/paddle/utils/op_version.py
575e5f40772eb08ea2c79d4ac73d7d04c5f9cfbf
[ "Apache-2.0" ]
permissive
gongweibao/Paddle
510cd4bc0ef89bc6ccee7b6b8eca52c00e014b77
60f9c60cd8196c66c391d79c35d341e9072f8838
refs/heads/develop
2023-03-13T17:43:35.675875
2022-09-20T08:46:15
2022-09-20T08:46:15
82,279,237
3
2
Apache-2.0
2021-05-26T06:17:43
2017-02-17T09:16:16
Python
UTF-8
Python
false
false
2,306
py
# Copyright (c) 2020 PaddlePaddle Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by appli...
[ "noreply@github.com" ]
gongweibao.noreply@github.com
fd4c49e440c3a33e97213c80f5a63d98a62df18e
6e800b3513537622df14bb598abe9c051116106c
/jianzhioffer/21Exchange.py
dc6f729dfe73659af2d56f13c6281d19f196046d
[]
no_license
Huxhh/LeetCodePy
fd72f03193d1f0b58c44bffc46a9a59ba9714215
6a99e84c5742ca68012b14da362f6c3255e10b21
refs/heads/master
2023-06-09T09:23:54.209025
2023-05-31T16:29:03
2023-05-31T16:29:03
148,866,001
0
0
null
null
null
null
UTF-8
Python
false
false
627
py
# coding=utf-8 # author huxh # time 2020/3/24 10:44 AM def exchange(nums): if not nums: return [] l = 0 r = len(nums) - 1 while l < r: while l < r and nums[l] & 1: l += 1 while l < r and not nums[r] & 1: r -= 1 nums[l], nums[r] = nums[r], nums[...
[ "563255387@qq.com" ]
563255387@qq.com
3c1e9ea8ef23088232a7a756dcf25ab6717a98cd
48e124e97cc776feb0ad6d17b9ef1dfa24e2e474
/sdk/python/pulumi_azure_native/network/get_p2s_vpn_gateway.py
4d19f9ddc0d7367e2247649325a5fe510349324e
[ "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
10,171
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 from...
[ "noreply@github.com" ]
bpkgoud.noreply@github.com
d6851302274970ef6f014533abcffa0f53972792
9c35adeaa3c73f4d49af6cbe64a63cce1957475a
/views/room.py
96e8f91783de065c5bf97729497c81bd417f7e95
[]
no_license
longfeilove7/ClusterManager
a6e275cee8e5381019d539baef184cdb5ac4f078
d2f8a973c2ddcd75395916974d733f6cfd5346a9
refs/heads/master
2020-03-16T22:58:50.085678
2019-01-03T01:17:47
2019-01-03T01:17:47
133,060,028
2
0
null
null
null
null
UTF-8
Python
false
false
6,903
py
""" 命名规范:module_name, package_name, ClassName, method_name, ExceptionName, function_name, GLOBAL_VAR_NAME, instance_var_name, function_parameter_name, local_var_name. """ from rest_framework_swagger.views import get_swagger_view from django.db.models import Count, Max, Avg, Min, Sum, F, Q, FloatField from django.db imp...
[ "root@localhost.localdomain" ]
root@localhost.localdomain
9f6df0b9d667e48f2a477fe0fe0a8f9e65ad8660
4e382ae46cf997ea2dbdfcfa463a57d3e0e9ad97
/sols/alien_dictionary.py
5055b53bd8f24e5405e99010a8f3c21326e00665
[]
no_license
hayeonk/leetcode
5136824838eb17ed2e4b7004301ba5bb1037082f
6485f8f9b5aa198e96fbb800b058d9283a28e4e2
refs/heads/master
2020-04-28T03:37:16.800519
2019-06-01T14:34:45
2019-06-01T14:34:45
174,943,756
0
1
null
null
null
null
UTF-8
Python
false
false
1,456
py
from collections import defaultdict class Solution(object): def alienOrder(self, words): def buildGraph(w1, w2): i = j =0 while i < len(w1) and j < len(w2): if w1[i] != w2[j]: graph[w1[i]].append(w2[i]) break el...
[ "31617695+hayeonk@users.noreply.github.com" ]
31617695+hayeonk@users.noreply.github.com
90e2690474c76dfd0c66852f7808dfb0f2d8a6c3
93dd86c8d0eceaee8276a5cafe8c0bfee2a315d3
/python/paddle/fluid/tests/unittests/test_imperative_layer_apply.py
f61d1ab888a51b2ebe4d1205b30fb84dfa4e7aeb
[ "Apache-2.0" ]
permissive
hutuxian/Paddle
f8b7693bccc6d56887164c1de0b6f6e91cffaae8
a1b640bc66a5cc9583de503e7406aeba67565e8d
refs/heads/develop
2023-08-29T19:36:45.382455
2020-09-09T09:19:07
2020-09-09T09:19:07
164,977,763
8
27
Apache-2.0
2023-06-16T09:47:39
2019-01-10T02:50:31
Python
UTF-8
Python
false
false
2,996
py
# Copyright (c) 2020 PaddlePaddle Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by app...
[ "noreply@github.com" ]
hutuxian.noreply@github.com
b3c3968421eca0da3d4b2b7b48389e1ed8c6ac29
c8efab9c9f5cc7d6a16d319f839e14b6e5d40c34
/source/Clarification/DFS_BFS/127.单词接龙.py
3fa9f475399d5187665f9e3f4d03a439ad1aaffc
[ "MIT" ]
permissive
zhangwang0537/LeetCode-Notebook
73e4a4f2c90738dea4a8b77883b6f2c59e02e9c1
1dbd18114ed688ddeaa3ee83181d373dcc1429e5
refs/heads/master
2022-11-13T21:08:20.343562
2020-04-09T03:11:51
2020-04-09T03:11:51
277,572,643
0
0
MIT
2020-07-06T14:59:57
2020-07-06T14:59:56
null
UTF-8
Python
false
false
3,824
py
# 给定两个单词(beginWord 和 endWord)和一个字典,找到从 beginWord 到 endWord 的最短转换序列的长度。转换需遵循如下规则: # # 每次转换只能改变一个字母。 # 转换过程中的中间单词必须是字典中的单词。 # 说明: # # 如果不存在这样的转换序列,返回 0。 # 所有单词具有相同的长度。 # 所有单词只由小写字母组成。 # 字典中不存在重复的单词。 # 你可以假设 beginWord 和 endWord 是非空的,且二者不相同。 # 示例 1: # # 输入: # beginWord = "hit", # endWord = "cog", # wordList...
[ "mzm@mail.dlut.edu.cn" ]
mzm@mail.dlut.edu.cn
3b64861964aacf042ab29afae8f2a3f49608ae1b
f7d0f201f9e4730e334ccd1c0050831af46110c7
/problem001.py
89efcbea327cf84c98d78a3d2311ab572552843c
[]
no_license
1UnboundedSentience/projecteuler
4f0d0b1a7d289e344543caa7f5695743e122dd53
1fd4184a3de9aea07bffa827404a3fdc07178edf
refs/heads/master
2021-01-15T23:36:04.303115
2012-01-13T00:43:20
2012-01-13T00:43:20
null
0
0
null
null
null
null
UTF-8
Python
false
false
434
py
""" If we list all the natural numbers below 10 that are multiples of 3 or 5, we get 3, 5, 6 and 9. The sum of these multiples is 23. Find the sum of all the multiples of 3 or 5 below 1000. From http://projecteuler.net/index.php?section=problems&id=1 """ def problem001(max): return sum([i for i in range(max) if ...
[ "stein.magnus@jodal.no" ]
stein.magnus@jodal.no
057df236c8787cde17bb88efa4a7e8f67e6a7230
e781b0dfd0a193fa229c81dd816f8977529e9c47
/plenum/test/checkpoints/test_checkpoint_stable_while_unstashing.py
6eba14a195d8dbca6d3981a7a6b9bfae4d7f566b
[ "Apache-2.0" ]
permissive
ddntechssi/indy-plenum
b8a2ac597b8249994fa0b9e0aa3bb7965c02a693
16868467e1340a5557f7d610370dce5a59c6097b
refs/heads/master
2020-04-30T04:35:54.054594
2019-03-19T18:41:28
2019-03-19T18:41:28
176,614,246
1
0
Apache-2.0
2019-03-19T23:27:13
2019-03-19T23:27:13
null
UTF-8
Python
false
false
3,072
py
from plenum.test.checkpoints.helper import chkChkpoints, check_stashed_chekpoints from plenum.test.delayers import ppDelay, msg_rep_delay from plenum.test.helper import sdk_send_random_and_check, assertExp from plenum.test.node_catchup.helper import waitNodeDataEquality from plenum.test.stasher import delay_rules from ...
[ "alexander.sherbakov@dsr-corporation.com" ]
alexander.sherbakov@dsr-corporation.com
65370d33521692660b05e62f78118613a7c53563
68d464fc0067f32b6d57a50670917bf530df3441
/httpc/__init__.py
779f4fcf5d09b3986f186d0d49e810123b6b16ad
[]
no_license
bman7903/zkart
9f1d5f93b8d36a110aaaffcff5d4d440df9b71e0
2665ed4d658135fd68d3036b7c4b9c4de59c384b
refs/heads/master
2021-01-14T08:09:56.863410
2017-02-14T23:20:15
2017-02-14T23:20:15
81,998,924
0
0
null
null
null
null
UTF-8
Python
false
false
44
py
# -*- coding: utf-8 -*- from . import webc
[ "root@localhost" ]
root@localhost
d0a159f9fc95c2e73fc27e84283c2e3de2f1c27c
f07a42f652f46106dee4749277d41c302e2b7406
/Data Set/bug-fixing-5/212a1d1010163e9929ec554f66ac5dcc80bedb92-<xs>-bug.py
4b32b4cae26ae5f156af794f208f9d4593c9fd4d
[]
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
3,521
py
def xs(self, key, axis=0, level=None, drop_level=True): "\n Returns a cross-section (row(s) or column(s)) from the\n Series/DataFrame. Defaults to cross-section on the rows (axis=0).\n\n Parameters\n ----------\n key : object\n Some label contained in the index, or part...
[ "dg1732004@smail.nju.edu.cn" ]
dg1732004@smail.nju.edu.cn
68fe1cc9388b76c4e397bfc4c36a42288ee36988
d375819f9de5760acc860af433b87ed52cfe64e8
/wyggles/sprite/engine.py
38a1ea5fb4473586c9053657ed5d1c1649fb3d6b
[]
no_license
kfields/wyggles-old
a6bfc568cd470447da2aaae1a6ad7ca4ca901858
cb9f7ea9ef47e4b951c8a498952d904f28030317
refs/heads/master
2022-04-22T21:11:34.153235
2020-03-15T23:08:52
2020-03-15T23:08:52
null
0
0
null
null
null
null
UTF-8
Python
false
false
5,228
py
import math import os #import random from random import random import sys from .layer import Layer from wyggles.mathutils import * from .collision import Collision worldMinX = 0 worldMinY = 0 worldMaxX = 640 worldMaxY = 480 def without( source, element): temp = source[:] try: ...
[ "kurtisfields@gmail.com" ]
kurtisfields@gmail.com
8e747d7a1899319d6f0f55134ae42cec7a6a1c63
017d82f3e3040fbce485a0135c062061648f91f0
/013/013.py
c4839965ceb730023dc41e005ff02f424be4d096
[]
no_license
bashwork/project-euler
404b7e2bdd99888cdb2dfae6b2272ed3730a5aa0
84cc18968a618a17584c4455f94e2e57f9def2cb
refs/heads/master
2016-09-05T21:17:04.754346
2015-02-06T19:49:03
2015-02-06T19:49:03
379,188
3
0
null
null
null
null
UTF-8
Python
false
false
5,641
py
vector = [ 37107287533902102798797998220837590246510135740250, 46376937677490009712648124896970078050417018260538, 74324986199524741059474233309513058123726617309629, 91942213363574161572522430563301811072406154908250, 23067588207539346171171980310421047513778063246676, 8926167069662363382013637...
[ "bashwork@gmail.com" ]
bashwork@gmail.com
244bb265da9da87390906151f61c5aa088940dec
fd65851c7977176cfa69056ea5d63ca529e74271
/components/google-cloud/google_cloud_pipeline_components/container/experimental/gcp_launcher/utils/json_util.py
cdc9e256749386fb21acd07efaa92ce44cf45fc0
[ "Apache-2.0", "BSD-3-Clause", "MIT", "BSD-2-Clause" ]
permissive
NikeNano/pipelines
dad9f45267a7f4c495a30880dd6fe1570f26fa64
73804f8928ce671839d34800627b6d3ea9f820a7
refs/heads/master
2022-01-29T21:24:43.693120
2021-11-20T18:18:35
2021-11-20T18:18:35
221,051,451
1
1
Apache-2.0
2021-04-23T20:07:11
2019-11-11T19:11:29
Python
UTF-8
Python
false
false
1,565
py
# Copyright 2021 The Kubeflow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicabl...
[ "noreply@github.com" ]
NikeNano.noreply@github.com
12357a3852565d74b4832a5ccb00cc3298eb2a2f
fac68cda1a9e79d8f040ca632f0353ccb8d20c8c
/backtesting using zipline/zip2.py
5269a754a5da563c9b213a17606482a38b07ac13
[]
no_license
fagan2888/Algo-trading-strategy
11a9b5f70f53492d5b407ac8593af6921a6d44c1
4450f5a28f069e0e695843b0f69197519fa5c1da
refs/heads/master
2022-01-11T19:07:05.983331
2019-05-28T05:15:11
2019-05-28T05:15:11
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,671
py
import pytz from datetime import datetime from zipline.api import order, symbol, record, order_target from zipline.algorithm import TradingAlgorithm from zipline.data.loader import load_bars_from_yahoo import pyexcel # Load data manually from Yahoo! finance start = datetime(2011, 1, 1, 0, 0, 0, 0, pytz.utc)....
[ "noreply@github.com" ]
fagan2888.noreply@github.com
d35dde704e8464a8f2515d208537bf2f57d470c5
9c9c6b8deca524c9401dd24d19510d3843bebe4b
/disposing/librealsense/mobile_platform/strategy/lib/strategy.py
815cba28f1faccae357b56b1a719abab79168a80
[ "Apache-2.0", "Zlib", "BSL-1.0", "LicenseRef-scancode-public-domain", "BSD-3-Clause", "LGPL-2.1-only", "BSD-1-Clause", "MIT" ]
permissive
tku-iarc/wrs2020
3f6473c2f3077400527b5e3008ae8a6e88eb00d6
a19d1106206e65f9565fa68ad91887e722d30eff
refs/heads/master
2022-12-12T20:33:10.958300
2021-02-01T10:21:09
2021-02-01T10:21:09
238,463,359
3
8
MIT
2022-12-09T02:09:35
2020-02-05T14:00:16
C++
UTF-8
Python
false
false
18,796
py
#!/usr/bin/env python3 # -*- coding: utf-8 -*-+ import math import numpy as np # lib from lib.nodehandle import NodeHandle from lib.pidcontrol import PIDControl,PIDControl_Y,PIDControl_Yaw from lib.fuzzycontrol import FUZZYControl from lib.counter import TimeCounter # rostopic msg from geometry_msgs.msg import Twis...
[ "dual-arm@dualarm.com" ]
dual-arm@dualarm.com
3b31b8b5fde1d17b8fc786ed38466bf518c1d6ff
2251d71bc3ecb589ce1a8b274a08370c3240bf51
/0238 Product of Array Except Self.py
b83c04107ed1d7745bf70b11871df718760b6139
[]
no_license
YuanyuanQiu/LeetCode
3495a3878edc2028f134bddb5b9ec963069562cb
6f5d0ef6a353713c0b41fa7ec0fb8c43a7e8dc55
refs/heads/master
2022-12-11T04:04:01.686226
2022-12-06T18:42:14
2022-12-06T18:42:14
231,168,173
0
0
null
null
null
null
UTF-8
Python
false
false
1,251
py
#def productExceptSelf(self, nums: List[int]) -> List[int]: # n = len(nums) # zeros = nums.count(0) # # if zeros > 1: # return [0] * n # # product = 1 # for num in nums: # if num != 0: # product *= num # # if zeros == 1: # res = [0] * n # idx = nu...
[ "50243732+YuanyuanQiu@users.noreply.github.com" ]
50243732+YuanyuanQiu@users.noreply.github.com
a2fdbe7e8a4cdb9897e6296c6966bbe1bde3e053
8fd695abd0b8b2523e42786d6b90fa99058545c5
/horsempdc/art.py
8f87fadafbf7aee0db1a70e2bd9a45a6e8ca83ec
[]
no_license
jbremer/horsempdc
109eb7ad9fd04124707fbb2955152996d845f3bb
4ec1fdc6926c3f83face5bcbee16c53a761fc6bf
refs/heads/master
2016-09-10T02:10:23.101176
2015-12-17T14:39:32
2015-12-17T14:39:32
23,502,118
0
1
null
2015-12-16T13:57:33
2014-08-30T22:45:35
Python
UTF-8
Python
false
false
4,491
py
# Copyright (C) 2014 Jurriaan Bremer. # This file is part of HorseMPDC - http://www.horsempdc.org/. # See the file 'docs/LICENSE.txt' for copying permission. # Thanks to http://www.asciiworld.com/-Horses-.html _doge_horse = r""" |\ /| ___| \,,/_/ ...
[ "jurriaanbremer@gmail.com" ]
jurriaanbremer@gmail.com
dc2c2119263a0157cb7a145f69ea778a8e49e51b
ec84619271eac42481231218c9ee653dec99adad
/7. Set- Dictionary- Divide - Conquer/469. Same Tree.py
1cdd5a38d7f4a9d56672c1707ca8e0adaf4f8772
[]
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
811
py
# 469. Same Tree # Check if two binary trees are identical. Identical means the two binary trees have the same structure and every identical position has the same value. # Example # 1 1 # / \ / \ # 2 2 and 2 2 # / / # 4 4 # are identical. # 1 ...
[ "noreply@github.com" ]
LingHsiLiu.noreply@github.com
a3e5cbc9a8bec44766a705ec15e5e27f2d0c37de
9a0e2312236b628007a67c07164ea7b97207e47c
/col/apps/syslog_collector/tests/acceptance_tests/test_syslog_collector.py
330a9acb484bb4b76dbd0bf8fc1ddfe348b58f57
[]
no_license
laxmi518/network_project
d88b9fe73522deaa90c1dbfd22c6861020a6c7be
2e998338f3d1142a8098d3dfd35f4c8ad0e4ba00
refs/heads/master
2020-05-21T15:48:07.830107
2018-05-09T18:58:37
2018-05-09T18:58:37
84,631,818
0
0
null
null
null
null
UTF-8
Python
false
false
3,195
py
import os import time import unittest import socket import ssl from subprocess import Popen import re import gevent from pylib.wiring import gevent_zmq as zmq from nose.tools import eq_ from pylib import wiring, disk, conf, inet class test_syslog_collector(unittest.TestCase): os.environ["TZ"] = "UTC" zmq_co...
[ "laxmi.jhapa@gmail.com" ]
laxmi.jhapa@gmail.com
f58ebecf367af70681cae87983a4b286dcad25da
9cfaffd2e3fe06467d0e4f7e671e459b04d123ea
/extras/management/commands/updates.py
34dffa7918245bab780b244d8bb583ed6bc223f4
[]
no_license
montenegrop/djangotravelportal
80b72b9e3da517885b6d596fad34049545a598a5
8a15fc387d20b12d16c171c2d8928a9b9d4ba5e1
refs/heads/main
2023-01-29T22:12:58.633181
2020-12-05T15:44:39
2020-12-05T15:44:39
318,826,064
0
0
null
null
null
null
UTF-8
Python
false
false
4,405
py
from django.core.management.base import BaseCommand, CommandError from django.conf import settings from operators.models import QuoteRequest, TourOperator, Itinerary, ItineraryType from users.models import UserProfile import MySQLdb from django.db.models import Count from django.contrib.auth.models import User from pla...
[ "juan.crescente@gmail.com" ]
juan.crescente@gmail.com
434c4fb7ffdbf42ebf6dd49ec11956c764944c9c
348a4943f9b690e8668f97719fde0713949a0477
/hatch/files/coverage/__init__.py
e49caa50e6bf8bfb327565eed41ea22cefd4e765
[ "MIT", "Apache-2.0", "LicenseRef-scancode-unknown-license-reference" ]
permissive
DalavanCloud/hatch
9786d6ad70511113c0db246101d6839168dea345
88e173c1dd0e262ec3dee5f9b500983388bc4126
refs/heads/master
2020-04-09T06:33:31.462863
2018-11-02T21:29:06
2018-11-02T21:29:06
160,118,052
1
0
null
2018-12-03T01:57:20
2018-12-03T01:57:20
null
UTF-8
Python
false
false
108
py
from hatch.files.coverage.codecov import Codecov from hatch.files.coverage.coveragerc import CoverageConfig
[ "ofekmeister@gmail.com" ]
ofekmeister@gmail.com
f0e094eec95b0e2ba7dc77239adfc658f8b0f713
060e99a3935b08f3344f01d3af9a1bf322783b99
/OOP/encapsulation.py
0e99667c6a2accaffee794f206cc93fbe9c61a7b
[]
no_license
Lemmah/pyWorkSpace
a2119a6cd2d2695eeb18a1d41400b7fe97a41c70
ba176a9029f108c39d53970ff5127be7007555ee
refs/heads/master
2021-01-22T11:10:57.205835
2017-09-05T07:57:28
2017-09-05T07:57:28
92,673,469
0
0
null
null
null
null
UTF-8
Python
false
false
670
py
# Encapsulation: data hiding. Encapsulated variables cannot be accessed directly. class BankAccount: ''' This is a bank account class ''' def __init__(self, accountName="Current Account", balance=200): ''' Constructor with encapsulated attributes ''' self.__accountName = accountName sel...
[ "lemayiannakolah@gmail.com" ]
lemayiannakolah@gmail.com
bf9f50f49f5bbb9df18f6cfac06a5ea8d787c98f
143eb3ced0ff1f9cad745c620fcb572f72d66048
/Assignment4/atom3/Kernel/Qoca/runUnitTests.py
2c224b32ce916eeab7312760d919486bacf2576d
[]
no_license
pombreda/comp304
2c283c60ffd7810a1d50b69cab1d5c338563376d
d900f58f0ddc1891831b298d9b37fbe98193719d
refs/heads/master
2020-12-11T07:26:19.594752
2014-11-07T12:29:28
2014-11-07T12:29:28
35,264,549
1
1
null
2015-05-08T07:18:18
2015-05-08T07:18:18
null
UTF-8
Python
false
false
714
py
def runUnitTests(): import unittest suite = unittest.TestSuite() print 'NOTE: if import fails, try running it from a higher-level directory' print 'IE: ..\\atom3\\Kernel> python Qoca\\runUnitTests.py\n' from unittests.QocaBasicConstraints import QocaBasicConstraints s...
[ "shankland@bigvikinggames.com" ]
shankland@bigvikinggames.com
d588825332a0ef69aeb97056aeff210c8bf6353d
ae7d5d11351af9201ce6181c48b8c60363c7ed00
/lib/galaxy/workflow/reports/generators/__init__.py
0fa46d4fb295ed41b79d33adcfbf98752944b597
[ "CC-BY-2.5", "AFL-2.1", "AFL-3.0", "CC-BY-3.0", "LicenseRef-scancode-unknown-license-reference" ]
permissive
natefoo/galaxy
818037d03f39ccfb3714c7e784fd64d7ad8f4d2e
64150c5bd803e75ed032e9f15acd003bae92b5ef
refs/heads/master
2023-08-17T02:57:02.580487
2020-03-26T13:33:01
2020-03-26T13:33:01
31,212,836
2
1
NOASSERTION
2019-04-25T12:30:28
2015-02-23T15:01:46
Python
UTF-8
Python
false
false
2,374
py
"""Module containing Galaxy workflow report generator plugins. """ from abc import ( ABCMeta, abstractmethod ) import six from galaxy.managers.markdown_util import ( internal_galaxy_markdown_to_pdf, ready_galaxy_markdown_for_export, resolve_invocation_markdown, ) @six.add_metaclass(ABCMeta) clas...
[ "jmchilton@gmail.com" ]
jmchilton@gmail.com
7b43fa6cbd43a380499d2b33f5bcaa34e3eb9afc
c1dab6818d05c52bdc0347150ce700a73d64fa1d
/build/perception_cvut/catkin_generated/pkg.develspace.context.pc.py
11efc522cab62140ff0a5edf6ef69c6e91725f38
[]
no_license
Sinchiguano/Perception_ur10
de5ee83f6e930679c045f96d4d3b6a87caeab452
40f18dc771bdcc4372d784f4aa8261774bab2b2a
refs/heads/master
2022-02-16T05:38:00.578173
2019-09-01T15:16:11
2019-09-01T15:16:11
194,514,569
2
0
null
null
null
null
UTF-8
Python
false
false
376
py
# generated from catkin/cmake/template/pkg.context.pc.in CATKIN_PACKAGE_PREFIX = "" PROJECT_PKG_CONFIG_INCLUDE_DIRS = "".split(';') if "" != "" else [] PROJECT_CATKIN_DEPENDS = "".replace(';', ' ') PKG_CONFIG_LIBRARIES_WITH_PREFIX = "".split(';') if "" != "" else [] PROJECT_NAME = "perception_cvut" PROJECT_SPACE_DIR = ...
[ "cesarsinchiguano@hotmail.es" ]
cesarsinchiguano@hotmail.es
39336a1943b085ae0cdf21000d0b5ee2771f5e12
8c036299de04b1dd8edeabdd7b265beb4c16f64d
/WebMirror/management/rss_parser_funcs/feed_parse_extractGooseberrytlWordpressCom.py
69935050ff6657b86bdd6192cf29a7637182ef62
[ "BSD-3-Clause" ]
permissive
collegroup/ReadableWebProxy
f2dcc4ce4f32c461388f40890a2997d61b49b28a
bec24610dd52fde5311dfc9b9cb2b388e23727ec
refs/heads/master
2023-01-11T20:27:38.598545
2020-11-16T06:03:57
2020-11-16T06:03:57
null
0
0
null
null
null
null
UTF-8
Python
false
false
642
py
def extractGooseberrytlWordpressCom(item): ''' Parser for 'gooseberrytl.wordpress.com' ''' vol, chp, frag, postfix = extractVolChapterFragmentPostfix(item['title']) if not (chp or vol) or "preview" in item['title'].lower(): return None tagmap = [ ('tsats', 'The Star Around The Sun', ...
[ "something@fake-url.com" ]
something@fake-url.com
7f419201fc23a0742c1ddb00244df3d888d47e0e
7eaeb56a2ed19a30559dac8673a979fc64d76e8a
/tests/parsers/c_parser/stmts/if_stmt_tests.py
9ac34d7e32ec9b86aab0bdf3fcd755d5c1d2639d
[ "MIT" ]
permissive
avast/retdec-regression-tests-framework
95935b6a66bee66f58a9f2ea1296f747536aeaae
f8f43c0870df638d114f685a30f8abf8b51d6d1e
refs/heads/master
2023-05-30T18:52:37.332065
2022-12-05T14:37:40
2022-12-05T14:37:40
113,967,405
8
5
MIT
2020-04-07T12:28:40
2017-12-12T09:01:52
Python
UTF-8
Python
false
false
3,520
py
""" Tests for the :module`regression_tests.parsers.c_parser.stmts.if_stmt` module. """ from tests.parsers.c_parser import WithModuleTests from regression_tests.parsers.c_parser.stmts.if_stmt import IfStmt class IfStmtTests(WithModuleTests): """Tests for `IfStmt`.""" def get_if_stmt(self, code, func_nam...
[ "petr.zemek@avast.com" ]
petr.zemek@avast.com
a922c484299fcb82e4c30019d0fbefc8983bd0d4
1527d341ec0910426ffede6207232f885b3176a0
/source/HwSendEmail.py
8f481d74c8c323f21344e6c81f02ade8d73cdf80
[]
no_license
eddiewang-wgq/HwUnittestFrameworkPy2
47f55c56c3e2c61aa153beb9180fa8247164fdcc
dada7db244f66830ca5a06087822f0b6db6ee512
refs/heads/master
2023-03-28T14:55:54.086200
2021-03-30T08:34:25
2021-03-30T08:34:25
352,928,215
0
0
null
null
null
null
GB18030
Python
false
false
4,032
py
#!/usr/bin/env python # coding:gbk # Created by zhaohongwei on 2016-06-20 # Blog: http://blog.csdn.net/z_johnny from email.mime.multipart import MIMEMultipart from email.mime.application import MIMEApplication from email.utils import COMMASPACE from email.mime.text import MIMEText from email.mime.image import MIMEIma...
[ "2568080700@qq.com" ]
2568080700@qq.com
4ed17d17fad5aa10e9004e2cd3e4b71e0b4eaa7f
e10c8dbd03117dcf71ae4c5e59863b9268cda514
/store/migrations/0015_auto_20200617_2230.py
cab6aa810e8b6c38461a407bd24f100c01c4f615
[]
no_license
linker10/pharmacy
c305eb8304057498ea06008f43715db682e88554
8cd30ca6f94f636f45400899f4a9f1c150af3bbf
refs/heads/master
2022-12-10T01:04:45.154055
2020-08-12T18:32:06
2020-08-12T18:32:06
276,040,272
0
0
null
null
null
null
UTF-8
Python
false
false
552
py
# Generated by Django 3.0.6 on 2020-06-17 17:30 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('store', '0014_auto_20200617_2227'), ] operations = [ migrations.AlterField( model_name='item', name='old_price', ...
[ "bilalsharif4@gmail.com" ]
bilalsharif4@gmail.com
b42a88f8b03d74ac056c53e343c01339be04c77e
692f77a160798b586f3ef1240c1bdf2bb114c9a0
/aiopening/__init__.py
1bd330e0d468a5d48aabf994e80d57f1a099b472
[ "MIT" ]
permissive
ducandu/aiopening
5e16f8240a527da37d622b5445b68083d4fba1e4
214d8d6dfc928ab4f8db634018092dc43eaf0e3c
refs/heads/master
2022-12-30T14:58:45.669350
2017-09-06T09:47:57
2017-09-06T09:47:57
93,327,068
0
0
null
null
null
null
UTF-8
Python
false
false
677
py
""" --------------------------------------------------------------------------------- shine - [s]erver [h]osted [i]ntelligent [n]eural-net [e]nvironment :) --------------------------------------------------------------------------------- by Code Sourcerer (c) 2017 ducandu GmbH """ # "global" classes (that should...
[ "svenmika1977@gmail.com" ]
svenmika1977@gmail.com
3c956f411f40e3e79b6b36818f8be195ddf79d03
1c751c001357d23fe10e7a42490e3b76434dfa18
/include/extractor/IQ.py
72b94176effbdf1a6e0fadb202e23afc747bf877
[]
no_license
pie-crust/etl
995925199a71b299544bfac1ed8f504f16fbadc2
14b19b542eaa69b8679ce7df4d9a5d2720b3c5c7
refs/heads/master
2022-12-12T18:40:31.866907
2019-10-14T15:46:16
2019-10-14T15:46:16
215,082,544
0
0
null
2022-12-08T05:22:54
2019-10-14T15:43:04
Python
UTF-8
Python
false
false
11,380
py
(cli, conn_pool)=app_init import os, sys, time import pyodbc import collections from subprocess import Popen, PIPE from pprint import pprint as pp e=sys.exit import logging DB_READER_DATA_DIR = 'dump' from include.utils import ctimeit, csource, api try: import __builtin__ as builtins except: import builtins builtin...
[ "olek.buzu@gmail.com" ]
olek.buzu@gmail.com
ec9155714dc595fe99a631eee20e6a23e915fb67
ef821468b081ef2a0b81bf08596a2c81e1c1ef1a
/Python OOP/Decorators-LAB/Vowel_Filter.py
02cd267e9c2e4dadb5ddf5db5dd6fce9504be66b
[]
no_license
Ivaylo-Atanasov93/The-Learning-Process
71db22cd79f6d961b9852f140f4285ef7820dd80
354844e2c686335345f6a54b3af86b78541ed3f3
refs/heads/master
2023-03-30T20:59:34.304207
2021-03-29T15:23:05
2021-03-29T15:23:05
294,181,544
0
0
null
null
null
null
UTF-8
Python
false
false
324
py
def vowel_filter(function): def wrapper(): vowels = ['a', 'o', 'u', 'e', 'i', 'y'] result = function() result = [letter for letter in result if letter in vowels] return result return wrapper @vowel_filter def get_letters(): return ["a", "b", "c", "d", "e"] print(get_letters...
[ "ivailo.atanasov93@gmail.com" ]
ivailo.atanasov93@gmail.com
a0f94082909743fec98edbe78c3ed3b4b1dcec26
37fe0d74375527f4aaf86857e17b96b675837205
/aid1805/MongoDB/grid.py
9f413334eb1c346fa4c34264e5f642ac4adafd87
[]
no_license
wangleiliugang/data
af8255eb76affa55424979c809c6168a7f3995ea
375a58b454be38ffa156876a7770f8d6f4345aba
refs/heads/master
2023-06-05T13:21:43.630854
2021-06-21T09:04:39
2021-06-21T09:04:39
378,862,494
0
0
null
null
null
null
UTF-8
Python
false
false
831
py
# 获取数据库中gridfs文件 from pymongo import MongoClient # 和pymongo模块是绑定在一起的 import gridfs # 1.创建mongo的连接对象 conn = MongoClient('localhost', 27017) # 2.数据库mygrid不存在则自动创建 db = conn.mygrid # 3.获取gridfs对象 fs = gridfs.GridFS(db) # 4.得到迭代对象 files = fs.find() # print(files) # print(files.count()) # files为可迭代对象,每个迭代值代表一个存入文件的对象,通过...
[ "137753633@qq.com" ]
137753633@qq.com
ac4e06fa4a67e9af197caba2daa92a5f5e08fb37
5edd3d54b9fb7ef685d7760e03391307374dee73
/web_flask/100-hbnb.py
de39873740c50d7b60a5c758d756af7a171a7bcf
[]
no_license
PierreBeaujuge/AirBnB_clone_v2
3df331aea025f8b216a705bd66bd5203a3b34ec9
910d04c08a5f833cd71754a62e74e3b81c601ba2
refs/heads/master
2020-11-23T21:30:55.362761
2020-10-08T07:37:22
2020-10-08T07:37:22
227,829,165
0
3
null
2019-12-20T09:10:49
2019-12-13T11:52:51
Python
UTF-8
Python
false
false
767
py
#!/usr/bin/python3 """ Script that starts a Flask web application """ from flask import Flask from flask import render_template from models import storage app = Flask(__name__) @app.route('/hbnb', strict_slashes=False) def hbnb(): """view function that displays [...]""" all_states = storage.all("State").valu...
[ "pierre.beaujuge@gmail.com" ]
pierre.beaujuge@gmail.com
0d0195538784ac551b4ef042046c3d82a141aaf8
2775a8306052e727b9a602c7906e64ee44cb4d80
/dictionaria/scripts/initializedb.py
6c46022df940c053822222cf7ed1fffad039bcb9
[ "Apache-2.0" ]
permissive
pombredanne/dictionaria
f40b45adb93b0733d1c047c338e15e834a2aa6b3
9668129e9b856fc5e8e78e15dacb1037621cbeb6
refs/heads/master
2021-01-14T14:16:39.221190
2015-11-25T22:22:06
2015-11-25T22:22:06
null
0
0
null
null
null
null
UTF-8
Python
false
false
5,846
py
from __future__ import unicode_literals from datetime import date import transaction from nameparser import HumanName from sqlalchemy.orm import joinedload_all, joinedload from clldutils.misc import slug from clld.util import LGR_ABBRS from clld.scripts.util import Data, initializedb from clld.db.meta import DBSession...
[ "xrotwang@googlemail.com" ]
xrotwang@googlemail.com
cb325b725cf13cd0684e1a897ad69aa6f2113cf7
f84624d2f04c730e411e265e0a2fd97b6cfe6107
/anomaly_detection/CIFAR/run_cifar_dec.py
01915d1b0e3b643c119627d251a7659982825755
[ "Apache-2.0" ]
permissive
thu-spmi/Inclusive-NRF
1326cac36140f71bc05f4f71cd35a6024a97b394
e4e6ae6edca8f8d11a51f649609a8f7675d22f99
refs/heads/main
2023-01-20T01:22:34.444134
2020-11-21T13:03:02
2020-11-21T13:03:02
314,812,840
3
0
null
null
null
null
UTF-8
Python
false
false
2,386
py
import argparse parser = argparse.ArgumentParser() parser.add_argument('--batch_size', type=int, default=64) parser.add_argument('--lrd', type=float, default=1e-3) parser.add_argument('--lrg', type=float, default=1e-3) parser.add_argument('--loss', type=str, default='hinge') parser.add_argument('--gpu', default='0' ,t...
[ "maxwellzh@outlook.com" ]
maxwellzh@outlook.com
093dc3c5b815c2667c195e70c4bc2fd0a494f163
fb909b0716f62ae118afa7d505cbcbd28f62bc63
/main/migrations/0077_auto_20201010_0437.py
8b774df3242d4e5b429aa27ceafc4c8b4dc7bc60
[]
no_license
dkalola/JustAsk-Final
a5b951462cd3c88eb84320bb8fcf10c32f959090
c2e7c2ffae4d3c2d870d5ba5348a6bae62db5319
refs/heads/main
2023-05-24T16:02:17.425251
2021-06-16T19:33:52
2021-06-16T19:33:52
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,885
py
# Generated by Django 3.1.1 on 2020-10-10 04:37 import datetime from django.conf import settings from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ migrations.swappable_dependency(settings.AUTH_USER_MODEL), ('main', '0076_auto_20201010_0435'), ] ...
[ "divyanshukalola88@gmail.com" ]
divyanshukalola88@gmail.com
5f24e7bc76f14caf10ab3af146a0abf668fc22b7
557a7a2b3e6eb759158e6c135b3abf853ab80fe9
/utils/fairseq_mod/fairseq_mod/modules/dynamic_convolution.py
dd2fff8fa571869501a36a39e9dbcddfcc2ed02e
[ "MIT" ]
permissive
fadelmuli/Knowledge-Distillation-Toolkit
7f23212956773c2015f3a1d220c3b17abee3d17b
e6d6776bb66ff6b16175e707ff3eb19e5ba1c8c0
refs/heads/main
2023-08-17T01:46:14.127765
2021-09-21T09:20:10
2021-09-21T09:20:10
408,751,563
0
0
MIT
2021-09-21T09:00:15
2021-09-21T09:00:14
null
UTF-8
Python
false
false
11,073
py
# 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 torch import torch.nn as nn import torch.nn.functional as F from fairseq_mod import utils from .unfold import unfold1d from fairseq_mo...
[ "zilunpeng@gmail.com" ]
zilunpeng@gmail.com
b29b703f1530373509e91bc7c4ff79b5dd754d1a
71e43068e82c91acbb3849169d1723f1375ac27f
/talon_one/models/feature_flag.py
a4e731d55e6fae5e31d2af2b4a4e26d311e5dfcb
[ "MIT" ]
permissive
talon-one/talon_one.py
aa08a1dbddd8ea324846ae022e43d441c57028f6
917dffb010e3d3e2f841be9cccba5bba1ea6c5c3
refs/heads/master
2023-05-11T18:50:00.041890
2023-05-03T20:17:39
2023-05-03T20:17:39
79,575,913
1
7
MIT
2023-05-03T15:10:14
2017-01-20T16:29:46
Python
UTF-8
Python
false
false
6,527
py
# coding: utf-8 """ Talon.One API Use the Talon.One API to integrate with your application and to manage applications and campaigns: - Use the operations in the [Integration API section](#integration-api) are used to integrate with our platform - Use the operation in the [Management API section](#management-...
[ "noreply@github.com" ]
talon-one.noreply@github.com
278e1903f4c212e40feb622879c936eec4220cdb
6ee1a53f2da154008a79df40a5a2cb9f77d36409
/study/threading_learn.py
8f168445e1d388a3755b4c721ff677314e04f653
[]
no_license
zuoguagua/demo
939f219c29cf0eae6c08c96cd578f1e566819243
504a551a5153848a9a173d9925132caea9806c25
refs/heads/master
2021-01-18T15:06:13.667246
2016-01-18T09:09:41
2016-01-18T09:09:41
44,574,876
0
0
null
null
null
null
UTF-8
Python
false
false
1,393
py
#!/usr/bin/env python import logging import Queue import threading def func_a(a,b): return a+b def func_b(): pass def func_c(a,b,c): return a,b,c _task_queue = Queue.Queue() def async_call(function,callback,*args,**kwargs): _task_queue.put({ 'function':function, ...
[ "root@localhost.localdomain" ]
root@localhost.localdomain
c558f48d172a81752e398f010623632a3e38e65e
3bdcb60b0bffeeb6ff7b0ddca4792b682158bb12
/4.2.9-AnidamientoDeEstructuras.py
8a1e89b2e21ae68af8c778aa5476bdd7cc891382
[]
no_license
FrankCasanova/Python
03c811801ec8ecd5ace66914f984a94f12befe06
03f15100991724a49437df3ce704837812173fc5
refs/heads/master
2023-05-23T01:37:12.632204
2021-06-10T15:20:38
2021-06-10T15:20:38
278,167,039
0
0
null
null
null
null
UTF-8
Python
false
false
273
py
# ejemplo limit = int(input('Dame un número: ')) for num in range(2, limit): primo = True for divisor in range(2, num): if num % divisor == 0: primo = False break if primo: print('el número {0} es primo'.format(num))
[ "frankcasanova.info@gmail.comm" ]
frankcasanova.info@gmail.comm
c7dcaec059d5297db4608373da3174aaf6d96ac2
7343194126b632ff5ac76fa3291de9ecf5b53e38
/lib/carbon/tests/benchmark_routers.py
cc29ac29d0e725f8de9bab5434a58880bc3a0df7
[ "Apache-2.0" ]
permissive
zillow/carbon
a885f226347d66cebe8dda33573a1efbc44e3078
07244f98e8ddf305a0b2cc2da1bcc1a86b613ce6
refs/heads/master
2020-12-26T00:46:14.220907
2019-10-09T02:23:40
2019-10-09T02:23:40
46,576,478
0
0
Apache-2.0
2019-10-09T02:23:41
2015-11-20T17:24:21
Python
UTF-8
Python
false
false
2,476
py
import os import timeit from carbon.routers import DatapointRouter from test_routers import createSettings REPLICATION_FACTORS = [1, 4] DIVERSE_REPLICAS = [True, False] N_DESTINATIONS = [1, 16, 32, 48] def print_stats(r, t): usec = t * 1e6 msec = usec / 1000 text = " %s %s datapoints: %d" % (r.plugin_n...
[ "c.chary@criteo.com" ]
c.chary@criteo.com
d57922de8ff26143079f9fc5a2f6d089beb37cdf
4f4dc1e6235b068f3346a0df66740e216fd3a993
/whoosh/support/unicode.py
2e201929fcc49421f61dccf2a1ecd6b91781db05
[]
no_license
intabeta/inta
940dc94ecffde4b82dab87ffc5ca7bfcb1a391fa
10d479630d8398dfbea34020584eeaaff14961fc
refs/heads/master
2021-01-23T09:49:15.992045
2014-02-08T01:23:49
2014-02-08T01:23:49
9,431,398
0
0
null
null
null
null
UTF-8
Python
false
false
27,136
py
import re from bisect import bisect_right from whoosh.compat import text_type, u # http://unicode.org/Public/UNIDATA/Blocks.txt _blockdata = ''' # Blocks-5.1.0.txt # Date: 2008-03-20, 17:41:00 PDT [KW] # # Unicode Character Database # Copyright (c) 1991-2008 Unicode, Inc. # For terms of use, see http://...
[ "delinikos@gmail.com" ]
delinikos@gmail.com
fbf9692e45b4994a8d39f8cbc34f41bf1bb692ae
d94b6845aeeb412aac6850b70e22628bc84d1d6d
/active_selective_prediction/sampling_methods/__init__.py
f6665d3dc1794f678e706514bb12be34006dff71
[ "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,496
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
7c33a2cb3128b036c61416554cb4d258e4f256dd
740b88ae1307d159fb7f39c455a295155c94d58f
/main.py
a03d136942c1668a9b1e67eeb4a5d60b8dcd520b
[]
no_license
hosmanadam/quote-scraping-game
4ed578320d3c6872711dadc9f312b7acc6e071c0
5d4ecd5f3e2137127190971cfc4da6447f71ffc6
refs/heads/master
2020-04-03T10:05:27.242294
2019-05-14T11:08:47
2019-05-14T11:08:47
155,183,546
0
0
null
2018-10-31T23:48:51
2018-10-29T09:16:20
Python
UTF-8
Python
false
false
5,892
py
import os import unicodedata from csv import DictReader, DictWriter from random import choice from time import sleep import regex from pyfiglet import figlet_format from termcolor import colored import scraper import ui from classes.BadQuoteError import BadQuoteError PRINT_DELAY = 1 CRAWL_DELAY = 1 def essentiali...
[ "github@adamsinbox.com" ]
github@adamsinbox.com
c6a432ee79a97806ef61dc314d50de52ccaa5959
61004e474b7b2ad0071c16766f0f7874f04f9466
/examples/dataflow-production-ready/python/ml_preproc/pipeline/beam_classes/clean_records.py
455ff7e92e93510847b84dce6bfda5dffe4fa050
[ "Apache-2.0" ]
permissive
GoogleCloudPlatform/professional-services
eb79751efae765a8c691a745e520f44f51bd715c
0f51121b945bd74c7f667e74e8861fceda87565c
refs/heads/main
2023-09-05T02:57:33.328973
2023-08-30T14:40:30
2023-08-30T14:40:30
91,730,359
2,626
1,381
Apache-2.0
2023-09-14T20:13:42
2017-05-18T19:29:27
Python
UTF-8
Python
false
false
2,265
py
# Copyright 2021 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to i...
[ "noreply@github.com" ]
GoogleCloudPlatform.noreply@github.com
0ddbb08c6b7a062673f7f83b9e2f349c32c73b77
8ebf6311c3c1db40c7bb56051cf4e37e1b85a4f9
/rm-server/templatemanager/templatemanager/mongodb.py
949427035f6d0032ee8be250602351099a125713
[]
no_license
sq591442679/requirements-manager
e8b074afb7fd2a83632f2546d392dab4c35aeeeb
6d664ce338b455150dcc9a86145967e8dd67a9dd
refs/heads/master
2023-07-08T04:38:20.064019
2021-08-11T03:41:13
2021-08-11T03:41:13
392,877,568
0
0
null
null
null
null
UTF-8
Python
false
false
234
py
import pymongo from templatemanager.config import MONGODB_URL client = pymongo.MongoClient(MONGODB_URL) database = client['RequirementsManager'] template_collection = database['Template'] document_collection = database['Document']
[ "591442679@qq.com" ]
591442679@qq.com
729fe63a21b3433191f4134946686e280a343e23
cb5b76716ac04f9bd2eefc2020d9dea7ae9f2123
/04判断年月日天数.py
d1e246e9be03df255643a395408e58acdd93f423
[]
no_license
chengong825/python-test
6c788e47c2ee71457b77d190759d73954489d1fb
e8ac085386eadb562a125cc4428cad9f7b312c3c
refs/heads/master
2020-03-29T13:17:50.411249
2018-10-26T04:40:42
2018-10-26T04:40:42
149,950,556
0
0
null
null
null
null
UTF-8
Python
false
false
1,295
py
y=int(input("输入年份")) m=int(input("输入月份")) d=int(input("输入日号")) def jug(y): if (y%4==0 and y%100 !=0)or(y%400==0): return 1 else: return 0 if jug(y)==1: if m==1: i=d elif m==2: i=31+d elif m==3: i=31+29+d elif m==4: i=31+29+31+d elif m==5: ...
[ "252918372@qq.com" ]
252918372@qq.com
294cb258fe310c29e43889691c9291e31eea57cb
b2db386a35e167dd67d6de90d95c06d5c2ed91cd
/657_judgeCircle.py
de842edbcdbca60309bbad6d4b2c427565ed7dc1
[]
no_license
rohitmungre/leetcode
9edb1b8b0cd714eb1a5e1fa847f2e17c455fd624
d49836b2b46a980f073bb9a6f2e47c4a903e48ac
refs/heads/master
2020-08-07T16:55:38.699188
2020-03-12T11:00:13
2020-03-12T11:00:13
213,531,119
1
0
null
null
null
null
UTF-8
Python
false
false
504
py
class Solution(object): def judgeCircle(self, moves): """ :type moves: str :rtype: bool """ y = 0 x = 0 for item in moves: if item == 'U': y = y +1 elif item == 'D': y = y -1 elif it...
[ "noreply@github.com" ]
rohitmungre.noreply@github.com
fb25374076a68ad89abab966d09eacb305fd5bdf
a56252fda5c9e42eff04792c6e16e413ad51ba1a
/resources/usr/local/lib/python2.7/dist-packages/scipy/linalg/_solvers.py
a6de2d946676fb45fe7951ef9d4115fd340500bd
[ "Apache-2.0" ]
permissive
edawson/parliament2
4231e692565dbecf99d09148e75c00750e6797c4
2632aa3484ef64c9539c4885026b705b737f6d1e
refs/heads/master
2021-06-21T23:13:29.482239
2020-12-07T21:10:08
2020-12-07T21:10:08
150,246,745
0
0
Apache-2.0
2019-09-11T03:22:55
2018-09-25T10:21:03
Python
UTF-8
Python
false
false
7,241
py
"""Matrix equation solver routines""" # Author: Jeffrey Armstrong <jeff@approximatrix.com> # February 24, 2012 from __future__ import division, print_function, absolute_import import numpy as np from numpy.linalg import inv, LinAlgError from .basic import solve from .lapack import get_lapack_funcs from .decomp_schu...
[ "szarate@dnanexus.com" ]
szarate@dnanexus.com
ed9949ba3d048e798a5ea49c12d9d8ec7b27f360
53fab060fa262e5d5026e0807d93c75fb81e67b9
/backup/user_117/ch3_2019_08_26_19_13_09_705496.py
485c3a0245ff2083c991ece13341974f3cae1c7b
[]
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
123
py
import math def calcula_gaussiana(x,mi,sig): return 1/(sig*math.sqrt(2*math.pi)) * math.exp ** (-0.5*((x - mi)/sig)**2)
[ "you@example.com" ]
you@example.com
628ddd369f2935bc101b96bbb9d0e02bf2bb1c71
e6dab5aa1754ff13755a1f74a28a201681ab7e1c
/.parts/lib/django-1.3/django/contrib/admin/forms.py
b4dc31c08ef94ea4b6c425a58432dc01e72e1699
[]
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
95
py
/home/action/.parts/packages/googleappengine/1.9.4/lib/django-1.3/django/contrib/admin/forms.py
[ "ron.y.kagan@gmail.com" ]
ron.y.kagan@gmail.com
a0c96338da0f0f22dc2b8df7de91f0721e962059
d93bb1975f4a04b6051769fea52a41f4b1920762
/src/visualpatterns/__main__.py
e7cbaf594e4a1190431b13b6d28b4896ce50a333
[ "CC-BY-4.0" ]
permissive
tonyonifo/visualpatterns
94c5adba71db79dacfb009f01419ea785cb85c56
d50bc08450e10a3f97f323aa37a6dceefb395270
refs/heads/main
2023-07-15T12:15:25.944981
2021-09-01T21:29:25
2021-09-01T21:29:25
null
0
0
null
null
null
null
UTF-8
Python
false
false
59
py
import visualpatterns if __name__ == '__main__': pass
[ "asweigart@gmail.com" ]
asweigart@gmail.com
a6102dc1cb29b2ad159b1a763872388f8957f2df
47ca35636ad56f7e3878777fbb85eac9aef32bf7
/initdjango/new_project/mysite/blog/feeds.py
862ba8077866af2a1677f8b26f12c7e869d11657
[]
no_license
vihndsm/Python
0f6bd7ab7583ff8d078d4abc4fd9053a5f65e5cf
72291e76fecca0b1a9176f77bd5f042806ec9b27
refs/heads/master
2022-12-30T00:43:12.439684
2020-10-14T06:35:16
2020-10-14T06:35:16
287,447,563
0
0
null
null
null
null
UTF-8
Python
false
false
447
py
from django.contrib.syndication.views import Feed from django.template.defaultfilters import truncatewords from .models import Post class LatestPostsFeed(Feed): title = 'My blog' link = '/blog/' description = 'New posts of my blog.' def items(self): return Post.published.all()[:5] def item_...
[ "67498073+vihndsm@users.noreply.github.com" ]
67498073+vihndsm@users.noreply.github.com
b13ada7f5333de200a2517f5096c67508645daba
879ac03dd910d152170d6d1e3ff4d5e522b14d79
/Algorithms/02. Implementation/014. Migratory Birds.py
d67d433a6fd67112bbc60824b76df05b4f1d4592
[]
no_license
dispe1/Hackerrank-Solutions
ae47920d7761546fd2ef753c1b4f9ae087aaed2a
67b792dc2cb2933eb1f1565100ea13b0c9783fba
refs/heads/master
2020-07-11T21:25:39.824667
2019-12-10T12:00:12
2019-12-10T12:00:12
204,646,756
4
3
null
null
null
null
UTF-8
Python
false
false
602
py
# Problem: https://www.hackerrank.com/challenges/migratory-birds/problem # Difficulty : Easy # Score : 10 import os import collections from functools import reduce def migratoryBirds(arr): count = collections.Counter(arr) ar = list(count.items()) ar.sort() result = reduce(lambda a,b: a if a[1] >= b[1]...
[ "lkjim0757@naver.com" ]
lkjim0757@naver.com
02cb07a36132dd7d9cf6132a4a9203d970779e44
b6cdef81a572e02c0cbd795a8fb6bbc74f99d627
/crypto/urls.py
ac8334a98e1eb790961dc66f3a4ca4105fcf3141
[ "MIT" ]
permissive
sodatta/Stocks-Screener
4afbdd68c1e80dafece50e3e0b967af35dd83c07
0b8da91da40b715beaf3a79163b1bdf6ea3be3b9
refs/heads/master
2023-07-27T13:14:47.798403
2021-05-03T20:04:51
2021-05-03T20:04:51
null
0
0
null
null
null
null
UTF-8
Python
false
false
264
py
from django.urls import path from crypto.views import list_crypto_currencies, view_crypto_currency app_name = 'crypto' urlpatterns = [ path('', list_crypto_currencies, name="home"), path('<int:pk>', view_crypto_currency, name='view_crypto_currency'), ]
[ "mohammedshokr2014@gmail.com" ]
mohammedshokr2014@gmail.com
c8be4c5e699d6d7172c3c72da43067f3395f3401
de24f83a5e3768a2638ebcf13cbe717e75740168
/moodledata/vpl_data/303/usersdata/304/85170/submittedfiles/minha_bib.py
d3fce95fc32ffe08c69a6451d3e38b683df07624
[]
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
640
py
# -*- coding: utf-8 -*- import time #COMECE AQUI ABAIXO def hello_world() : print('Olá mundo') return def hello_world2() : texto = 'Olá mundo' return texto def media(n1,n2) : m = (n1 + n2)/2.0 return m def multiplicacao(x,y) : m = (x*y) return m def media(n1,...
[ "rafael.mota@ufca.edu.br" ]
rafael.mota@ufca.edu.br
770c415c4e2aed55dfbfce8f6afa2f28a83f3cb2
726d8518a8c7a38b0db6ba9d4326cec172a6dde6
/0657. Robot Return to Origin/Solution.py
81f8ee2aef608a5a9f1aedd420095492bda26e3c
[]
no_license
faterazer/LeetCode
ed01ef62edbcfba60f5e88aad401bd00a48b4489
d7ba416d22becfa8f2a2ae4eee04c86617cd9332
refs/heads/master
2023-08-25T19:14:03.494255
2023-08-25T03:34:44
2023-08-25T03:34:44
128,856,315
4
0
null
null
null
null
UTF-8
Python
false
false
486
py
class Solution: def judgeCircle_MK1(self, moves: str) -> bool: x = y = 0 for move in moves: if move == 'U': x += 1 elif move == 'D': x -= 1 elif move == 'R': y += 1 else: y -= 1 re...
[ "faterazer@outlook.com" ]
faterazer@outlook.com
d500eac11046f0eebdbfcef856acfda872d27fab
83048ab1abb6941ed0b19fb5e5ff4a9d14b48e8c
/fractional_knapsack.py
1bcfcaa88935e415750cbac10ba752d5fb2affe1
[]
no_license
harshitalpha/Algorithms
ebad07cc77516ab5c35ae414462d10a38d5ef97e
2f7dcf4c3bb4390267231c7c96f7e76399c0166e
refs/heads/master
2021-07-14T17:34:02.546583
2020-06-25T06:38:39
2020-06-25T06:38:39
178,813,562
2
0
null
null
null
null
UTF-8
Python
false
false
1,976
py
''' KNAPSACK PROBLEM PARADIGM - GREEDY Date : 12-Feb-2020 Name - Harshit Singhal ''' def knapsack(profit, weights, max_weight): ''' The idea to implement is that take two list of profit and weights we make list of index = [0,1,2,...] then we calculate the profit and weight ratio and store in list named ratio ...
[ "harshitsinghal1103@gmail.com" ]
harshitsinghal1103@gmail.com
1373c132d750faa29f5c0215c25e9f3c8ae56242
330a8979441a9cae2c7af07e6a03080482cfb944
/src/lib/commands/catch.py
1a96b88c2fdd44b05f0a3b2c8ebe156ce3df1cb5
[]
no_license
singlerider/lorenzotherobot
025770732c3de299437a9d49a4669bcb1b2b7f32
d0cac10afd19335aad4145c99ffec5413b97a22a
refs/heads/master
2020-12-26T03:43:35.423157
2018-07-21T04:53:57
2018-07-21T04:53:57
28,792,870
26
19
null
2016-04-17T02:06:14
2015-01-05T01:52:04
Python
UTF-8
Python
false
false
1,246
py
import globals from src.lib.queries.points_queries import * from src.lib.queries.pokemon_queries import * def catch(**kwargs): channel = kwargs.get("channel", "testchannel").lstrip("#") if globals.CHANNEL_INFO[channel]['caught'] is False: pokemon_trainer = kwargs.get("username", "testuser") # ...
[ "haroboy876@gmail.com" ]
haroboy876@gmail.com
093d87a094d7b4d8250c0340cb4a4b8ade5abff5
4c49fdc4608a49dfacea02fba364deb295ef78dc
/backend/texty_friends_22060/urls.py
8b36763e08c9a1ef7bbc0699bd7e2bbbad8553a9
[]
no_license
crowdbotics-apps/texty-friends-22060
4b9db76082d0b536c24321d4faf6a65c04799b2b
7cb9bbc9f788844d1fd08172906cac66397f104d
refs/heads/master
2023-01-08T21:21:17.337089
2020-10-28T15:55:31
2020-10-28T15:55:31
308,067,651
0
0
null
null
null
null
UTF-8
Python
false
false
1,949
py
"""texty_friends_22060 URL Configuration The `urlpatterns` list routes URLs to views. For more information please see: https://docs.djangoproject.com/en/2.2/topics/http/urls/ Examples: Function views 1. Add an import: from my_app import views 2. Add a URL to urlpatterns: path('', views.home, name='home')...
[ "team@crowdbotics.com" ]
team@crowdbotics.com
d8ca05184091d8e0b194f3a2b89226c67244e6b8
f0d713996eb095bcdc701f3fab0a8110b8541cbb
/nugyAtjRNQPTHLJNR_15.py
1fcf64ccafcc2df3b1ed06c5d4dbeb404587d3cc
[]
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
779
py
""" Suppose that you add all of the page numbers in a book. If the total is 21, the book could only have 6 pages because 1 + 2 + 3 + 4 + 5 + 6 = 21. If the total were 25, that would be impossible because the next number in the series is 28 (21 + 7). Create a function that, given the `total` number of pages as an ar...
[ "daniel.reich@danielreichs-MacBook-Pro.local" ]
daniel.reich@danielreichs-MacBook-Pro.local
9c91579e1fcf5ada284b7da45dea1444dc10b0e7
44bfafa7a3de51e089a470afaa7d37e4e1176777
/seqspy/Evap_UVMOT_MultiPulse_Image_ZEROCROSSING.py
9ca09d37b9f68c9699029d2eccfc1c2b090d3609
[]
no_license
drlightx/apparatus3-seq
b9bc4bd5d9b3a95f8610afff28ee7baea951b641
4505a2f484ecea2390482fb4ddf16ac9ca63b02d
refs/heads/master
2021-01-18T06:41:38.874121
2012-03-04T23:03:59
2012-03-04T23:03:59
null
0
0
null
null
null
null
UTF-8
Python
false
false
3,256
py
"""Make sure the report file given by (L:/data/app3/Savedir)report(L:/data/app3/RunNumber).INI exists otherwise this code won't compile. """ __author__ = "Pedro M Duarte" import time t0=time.time() print "\n----- Evap_UVMOT_Image_ZEROCROSSING.py -----\n" import sys, math sys.path.append('L:/soft...
[ "pmd323@gmail.com" ]
pmd323@gmail.com
3a6764ab34cea0fccf1ae594504c307f26b60961
60e50b82636a7652c0c9d5e4a5fec50d49ac49ae
/src/scraping/models.py
a57819eb7ff44378535b96505f38ccac9cce5fa7
[]
no_license
SnottyJACK/scraping_service
5289922529dd8f832c8ecacfc32b66b56276d24d
de887b6b2b9c43e657c56a76038484c53a35afbd
refs/heads/master
2022-11-08T15:47:18.348350
2020-08-10T18:45:04
2020-08-10T18:45:04
285,887,020
0
0
null
null
null
null
UTF-8
Python
false
false
2,113
py
from django.db import models from scraping.utils import from_cyrillic_to_eng # Create your models here. class City(models.Model): name = models.CharField(max_length=250, verbose_name="Название города", unique=True) slug = models.CharField(max_length=250,...
[ "snottyjack@yandex.ru" ]
snottyjack@yandex.ru
542dec1aa09ea22906b5ff9b37e525552243c9d1
ba2a05f20454bda428f140634bc602699f164fc4
/00.SSAFY/1.first-semester/01_basic/get_data/project2.py
a55a6a9741d9670b02ec835a95d9dc587d8db3f3
[]
no_license
snowink1137/TIL
734da402e99afa52f1af4ef996a6b274b1bcce0b
9e9c78eb0c892affc88e2d46e143cef98af743fb
refs/heads/master
2023-01-08T18:26:34.311579
2021-11-14T11:04:22
2021-11-14T11:04:22
162,255,934
0
0
null
2023-01-07T11:09:09
2018-12-18T08:32:44
Jupyter Notebook
UTF-8
Python
false
false
3,098
py
import requests import datetime import copy import csv import os KOBIS_KEY = os.getenv('KOBIS_KEY') # csv 데이터 읽고 영화 code 리스트 만들기 boxoffice = open('boxoffice.csv', 'r', encoding='utf-8') reader = csv.reader(boxoffice) movie_code_list = [] for line in reader: movie_code_list.append(line[0]) del movie_code_list[...
[ "snowink1137@gmail.com" ]
snowink1137@gmail.com
1bb0502f3504e1ee2481c92a2c7b19b89e50a5d0
7fbf91c595f3adb67e29ab879a0b215581d260bf
/scrapy爬虫/京东-m/JDSpider/items.py
c4dd966451147a80e44f3bfaf4b1609f9b3c996d
[]
no_license
Randyedu/python
69947b3836e62d0081d92591ae2acd9a54eadb9a
5f9e7bec295ae05eadde0f661e7039c2bd08f725
refs/heads/master
2021-04-26T22:20:22.555128
2018-03-02T07:01:27
2018-03-02T07:01:27
124,074,741
1
0
null
2018-03-06T12:23:42
2018-03-06T12:23:42
null
UTF-8
Python
false
false
3,741
py
# -*- coding: utf-8 -*- # Define here the models for your scraped items # # See documentation in: # http://doc.scrapy.org/en/latest/topics/items.html from scrapy import Item, Field class CategoriesItem(Item): name = Field() #分类名称 url = Field() #分类url _id = Field() #分类id index = Field() #分类的index...
[ "954950195@qq.com" ]
954950195@qq.com
1d3d203359cf83874e5634e8a51fa648f0e3103b
72d27c37e605ea43f8052e04d574491cbfd92f11
/umbra/broker/plugins/fabric.py
2adfc073262fa3ee418c121f668bb51ed9ffe049
[ "Apache-2.0", "CC-BY-4.0", "LicenseRef-scancode-unknown-license-reference" ]
permissive
banoris/umbra-raph
b1044a28cc1dfd5f3570ecc0c7539fbea21ef9f5
78ee22b5f73af70d83b8e6f671853a96274c0692
refs/heads/master
2022-12-02T10:00:43.640367
2020-07-11T12:57:00
2020-07-11T12:57:00
null
0
0
null
null
null
null
UTF-8
Python
false
false
15,343
py
import os import time import asyncio import logging from hfc.fabric import Client from hfc.fabric_ca.caservice import CAClient, CAService logger = logging.getLogger(__name__) class FabricEvents: def __init__(self): self._async_loop = asyncio.get_event_loop() self._configtx_dir = None se...
[ "raphaelvrosa@gmail.com" ]
raphaelvrosa@gmail.com
8324c9345cb516d16e68a611d7bb28b85ab8ec2d
b7da549f454a48132c0d3458474c07a37eae28a2
/h5pyd/_hl/table.py
90e34ae5bdf729a6de5f9c7e39e16199be8d28ef
[ "LicenseRef-scancode-warranty-disclaimer" ]
no_license
qiuwei/h5pyd
10407ac1751ad6f4f68a9e8c2fcbf40f3d1aba96
6c4f0202adbb857fc265456b6fd1f5d572c1a685
refs/heads/master
2021-01-01T02:09:05.891492
2020-02-06T20:59:39
2020-02-06T20:59:39
239,133,525
1
0
NOASSERTION
2020-02-08T13:05:39
2020-02-08T13:05:38
null
UTF-8
Python
false
false
14,530
py
############################################################################## # Copyright by The HDF Group. # # All rights reserved. # # # # Th...
[ "jreadey@hdfgroup.org" ]
jreadey@hdfgroup.org
6829ee431be6466d0b34b15755cf9dcbdc3bf445
552d470963e23741762f2c18143557596f9f433f
/catalog/admin.py
cbee91a1712e5fd628da2d19eeac1e506ec0f707
[]
no_license
WilliamPerezBeltran/django_practice1
ccab7dac5593b34cebd09b1b6a9576cc9030c228
e5735e1009faad448c49f61c42afb2fc0db9e48e
refs/heads/master
2020-04-08T13:57:22.004619
2018-11-28T00:30:58
2018-11-28T00:30:58
159,415,584
0
0
null
null
null
null
UTF-8
Python
false
false
1,331
py
from django.contrib import admin from catalog.models import Author, Genre, Book, BookInstance # admin.site.register(Book) #admin.site.register(Author) admin.site.register(Genre) # admin.site.register(BookInstance) # Define the admin class class AuthorAdmin(admin.ModelAdmin): list_display = ('last_name', 'first_n...
[ "williampbeltranprogramador@gmail.com" ]
williampbeltranprogramador@gmail.com
fc71831435c912edb73f754731a71ea0dac01637
3be42b83a15d022f5863c96ec26e21bac0f7c27e
/tensorflow_probability/python/distributions/power_spherical.py
9b7c1549caa649d697ef1dfc042f33654b86727c
[ "Apache-2.0" ]
permissive
ogrisel/probability
846f5c13cddee5cf167b215e651b7479003f15d2
8f67456798615f9bf60ced2ce6db5d3dba3515fe
refs/heads/master
2022-11-09T10:53:23.000918
2020-07-01T23:16:03
2020-07-01T23:17:25
276,580,359
2
1
Apache-2.0
2020-07-02T07:37:58
2020-07-02T07:37:57
null
UTF-8
Python
false
false
15,894
py
# Copyright 2020 The TensorFlow Probability 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 applicable law o...
[ "gardener@tensorflow.org" ]
gardener@tensorflow.org
a14bdfeb905147643da75e344e16bda463ba04de
09c39de5aad7b283cfac2f09a2b93e43086846d2
/Unit 10 Advanced Topics in Python/02 Introduction to Bitwise Operators/The Bitwise Operators/6-Slide to the Left! Slide to the Right!.py
4be1e2a75a05f98a77cf829b748bf1d8d2ca9dd2
[ "MIT" ]
permissive
lpython2006e/python-samples
b4e84080259faf75b41fb2fd4fb9d2fbc9f857aa
b94ba67ce0d7798ecf796dadae206aa75da58301
refs/heads/master
2023-01-21T13:16:13.295163
2020-11-29T11:01:50
2020-11-29T11:01:50
278,653,779
1
0
null
null
null
null
UTF-8
Python
false
false
164
py
shift_right = 0b1100 shift_left = 0b1 # Your code here! shift_right = shift_right >> 2 shift_left = shift_left << 2 print(bin(shift_right)) print(bin(shift_left))
[ "lent@hivetech.vn" ]
lent@hivetech.vn
1e28fd5b3d89457860ba8f712835fb26b59c0ce9
fb4e41a40d82427e3948549653cdf0405e6dba2b
/app/main/routes.py
275d16634e7603b9970b08849ae8afe2c331cd8a
[]
no_license
Axeh99/Axeh99s-Website
5afeef75943722a7c3e67554da57daeb01c70f7a
7704fbaae7aa26bb1c208fbc18bb6679ea9e3215
refs/heads/master
2022-12-10T21:37:16.296575
2020-09-01T16:12:27
2020-09-01T16:12:27
283,016,745
1
0
null
2021-03-04T20:03:07
2020-07-27T21:07:14
HTML
UTF-8
Python
false
false
455
py
from flask import Blueprint, render_template, request from app.models import Post main = Blueprint("main", __name__) @main.route("/") @main.route("/home") def home(): page = request.args.get("page", 1, type=int) posts = Post.query.order_by(Post.date_posted.desc()).paginate(page=page, per_page=5) return ...
[ "sralloza@gmail.com" ]
sralloza@gmail.com
07b01473d13eb88ada3a05a4badbc11557620cc4
b0a274023658af5202b34772836a17876e2429c4
/ballet/eng/ts.py
901571acacbded4a2a29188533e0c7399998ae6d
[ "MIT" ]
permissive
pvk-developer/ballet
a785a89c5fabf4eac74a732dd81c600b5a4a3761
1b720790aff072d1b004c7df0f70860bf4947204
refs/heads/master
2021-02-12T17:04:00.317030
2020-03-02T05:20:30
2020-03-02T05:20:30
null
0
0
null
null
null
null
UTF-8
Python
false
false
978
py
from sklearn.pipeline import FeatureUnion from ballet.eng.base import GroupedFunctionTransformer __all__ = ['SingleLagger', 'make_multi_lagger'] class SingleLagger(GroupedFunctionTransformer): """Transformer that applies a lag operator to each group Args: lag (int): lag to apply groupby_kwa...
[ "micahjsmith@gmail.com" ]
micahjsmith@gmail.com
ffd5a7219b0761c0dad26c2d1d21ddc368b93c5b
f4b79529109fbb4055f334d0d9c7c96cb0710447
/colour/models/rgb/ictcp.py
cc0bd41ea03c9d84fa00b772de1f6d7e5c2eeadd
[ "BSD-3-Clause" ]
permissive
trevorandersen/colour
167381b3d03e506a270a8d2a519a164808995437
02b595b26313c4b4f55adc41d599f90c4c9edbcd
refs/heads/develop
2021-07-15T04:48:19.585586
2021-01-23T23:51:44
2021-01-23T23:51:44
230,421,054
0
0
BSD-3-Clause
2019-12-28T12:54:20
2019-12-27T10:10:30
null
UTF-8
Python
false
false
17,487
py
# -*- coding: utf-8 -*- """ :math:`IC_TC_P` Colour Encoding =============================== Defines the :math:`IC_TC_P` colour encoding related transformations: - :func:`colour.RGB_to_ICtCp` - :func:`colour.ICtCp_to_RGB` - :func:`colour.XYZ_to_ICtCp` - :func:`colour.ICtCp_to_XYZ` References ---------- - :c...
[ "thomas.mansencal@gmail.com" ]
thomas.mansencal@gmail.com
3850bc892d13df29ec269ea05acd45528302e442
a14dd601cde67f67d0ba38dfd1362f7c0109cef1
/recursion/leetcode/word-break/count.py
56dba130f8e99755805eb6a3116f554bd9cee700
[]
no_license
Meaha7/dsa
d5ea1615f05dae32671af1f1c112f0c759056473
fa80219ff8a6f4429fcf104310f4169d007af712
refs/heads/main
2023-09-03T18:52:41.950294
2021-11-05T09:14:42
2021-11-05T09:14:42
null
0
0
null
null
null
null
UTF-8
Python
false
false
892
py
# T=n²+2ⁿ+w,S=2ⁿnw def x(s, words): def dfs(s): if not s: return 1 count = 0 for word in words: if s.startswith(word): count += dfs(s[len(word):]) return count return dfs(s) # T=n²+2ⁿ+w,S=2ⁿnw def y(s, words): words = set(words) ...
[ "nikhilgoyal104ah4@gmail.com" ]
nikhilgoyal104ah4@gmail.com
30bdce0bca57d062eace71dc5e23763d2ce913df
de3413c3af4ac0a76d817a7e624d8d2e08379003
/svm/svm_author_id.py
4581a12bca152e5b98a1c9173154dcebc7ef9243
[]
no_license
victorlifan/ud120-projects_mechine_learning_ex
8aded0e48955e1970ab501567317e660fdce97e9
39834cf8607dd448db332937953bf0a8a7303832
refs/heads/master
2022-07-10T15:03:04.212606
2020-04-14T02:02:22
2020-04-14T02:02:22
250,891,814
0
0
null
2022-06-22T01:35:58
2020-03-28T20:56:13
Jupyter Notebook
UTF-8
Python
false
false
1,319
py
#!/usr/bin/python """ This is the code to accompany the Lesson 2 (SVM) mini-project. Use a SVM to identify emails from the Enron corpus by their authors: Sara has label 0 Chris has label 1 """ import sys from time import time sys.path.append("../tools/") from email_preprocess import preprocess ### ...
[ "victorlifan@vip.qq.com" ]
victorlifan@vip.qq.com
a3dca879c750c6f8833c50913a50f39b7afd6b2c
ca7aa979e7059467e158830b76673f5b77a0f5a3
/Python_codes/p02873/s049606753.py
6b59a11dc7ecdf3b53103e6b4936eef9860697ed
[]
no_license
Aasthaengg/IBMdataset
7abb6cbcc4fb03ef5ca68ac64ba460c4a64f8901
f33f1c5c3b16d0ea8d1f5a7d479ad288bb3f48d8
refs/heads/main
2023-04-22T10:22:44.763102
2021-05-13T17:27:22
2021-05-13T17:27:22
367,112,348
0
0
null
null
null
null
UTF-8
Python
false
false
557
py
s=input() sl=len(s) a=[] count=1 for i in range(sl-1): if s[i+1]==s[i]: count+=1 else: a.append(count) count=1 a.append(count) ans=0 al=len(a) if s[0]=="<": for i in range(0,al-1,2): m,n=max(a[i],a[i+1]),min(a[i],a[i+1]) ans+=(m*(m+1)+n*(n-1))/2 if al%2==1: ...
[ "66529651+Aastha2104@users.noreply.github.com" ]
66529651+Aastha2104@users.noreply.github.com
f7f7789d0731133f29e78799dc2f7183155bde34
8881a4927d893e1e755c0488f76ba7941b379f26
/emp_mgmt_sys/poll/migrations/0002_choice.py
f4b08e4cb314699a645b68f87618ecbf13704cf9
[]
no_license
SatishNitk/Django
6bb839fcf2bc7d70413e3d56ac98124a7a96a5de
d9260c032322a34410d783c39a8f13e8f63b8be4
refs/heads/master
2020-05-24T23:01:35.767388
2019-07-06T13:56:50
2019-07-06T13:56:50
null
0
0
null
null
null
null
UTF-8
Python
false
false
740
py
# Generated by Django 2.0.1 on 2019-05-26 13:24 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('poll', '0001_initial'), ] operations = [ migrations.CreateModel( name='Choice', fields=[ ('id', mode...
[ "satishkrgu95@gmail.com" ]
satishkrgu95@gmail.com
439a7935a465973070be43a439890fa28f94e6da
42b9bafc3c757543328d93fb60269ad4255aae17
/env/lib/python3.7/site-packages/thefuck/rules/git_stash_pop.py
0e143ffd813b34c0326ae221f2e00e2d36363417
[ "MIT" ]
permissive
mejeng/kasir
4fe66d1828e72b64d770426d71185cdd3c54127e
cc6f9158b61c0cb45078ddf798af9588c8771311
refs/heads/master
2020-09-25T03:36:10.144439
2019-11-30T07:59:23
2019-11-30T07:59:23
225,908,795
2
0
MIT
2019-12-04T16:21:15
2019-12-04T16:21:15
null
UTF-8
Python
false
false
485
py
from thefuck.shells import shell from thefuck.specific.git import git_support @git_support def match(command): return ('stash' in command.script and 'pop' in command.script and 'Your local changes to the following files would be overwritten by merge' in command.output) @git_support def g...
[ "slashsdull@gmail.com" ]
slashsdull@gmail.com
fdac36dc04d4acfc4251c57b971885680494e3e0
2b502aae9bc33bac6c4b28d1e702591f2cbed690
/terrascript/dme/d.py
77bc3b53e47c32d22d41ca41ca5f8499317007b5
[ "Python-2.0", "BSD-2-Clause" ]
permissive
LeeroyC710/python-terrascript
4c8fbe032e9b7dd8844d962f888c28f87a26ff77
b8f3c3549b149c124e3e48e0cea0396332ad1a1d
refs/heads/master
2020-12-28T03:58:04.502969
2020-01-19T21:46:52
2020-01-19T21:46:52
null
0
0
null
null
null
null
UTF-8
Python
false
false
45
py
# terrascript/dme/d.py import terrascript
[ "markus@juenemann.net" ]
markus@juenemann.net
c0ad9538c01db6eed246cc86917332e8c4e02e0d
ad59fb12042bfd3f5c43eca057d0f747f9e148cf
/Se2iP/usr/lib/enigma2/python/Plugins/Extensions/IPTVPlayer/tsiplayer/addons/resources/hosters/vk.py
3edd8b9d6e4cf32052f7ca686c076546d5635d52
[]
no_license
lexlong2007/eePlugins
d62b787100a7069ad5713a47c5688008063b45ec
167b262fe36901a2d3a2fae6d0f85e2307b3eff7
refs/heads/master
2022-03-09T05:37:37.567937
2022-02-27T01:44:25
2022-02-27T01:44:25
253,012,126
0
0
null
2020-04-04T14:03:29
2020-04-04T14:03:29
null
UTF-8
Python
false
false
3,404
py
#-*- coding: utf-8 -*- # https://github.com/Kodi-vStream/venom-xbmc-addons from Plugins.Extensions.IPTVPlayer.tsiplayer.addons.resources.lib.handler.requestHandler import cRequestHandler from Plugins.Extensions.IPTVPlayer.tsiplayer.addons.resources.lib.parser import cParser from Plugins.Extensions.IPTVPlayer.tsipla...
[ "zdzislaw22@windowslive.com" ]
zdzislaw22@windowslive.com
1b1c9a876ce91e05fab954a1120d2c8366fe8202
ec291572e354d0718a42929b84f831363cdbeb4b
/djlib/cron_utils.py
995ed62361da660010f623b0385101d5e64505b0
[]
no_license
Ishayahu/Mizva-CMS
4aaffe01093ca807a5cf2fdec45a3e5213938940
574cd5363132ea19772221c4a4b27415dbf17814
refs/heads/master
2021-01-10T20:26:13.876744
2013-11-26T10:47:02
2013-11-26T10:47:02
null
0
0
null
null
null
null
UTF-8
Python
false
false
4,970
py
# -*- coding:utf-8 -*- # coding=<utf8> def decronize(fstring): minute,hour,day,month,wday = fstring.split('\t') def get_interval(fstr,min,max): # max - предел интервала: # минута # * или 0-59 # час # * или 0-23 # число # * или 1-31 # месяц ...
[ "ishayahu@mail.ru" ]
ishayahu@mail.ru
594ef675881837a25b2f2cde141c227cf3093caf
25f47c750a150727826cbf873a0ac50eb9e97305
/tests/client/osio_rest_client_test.py
2a50e09091210e18a41090adf8b1b4493f71d266
[ "MIT" ]
permissive
tonywaite/scs_host_rpi
7d06a41c525202663f73133fbfaada4384e97693
5bd09bb9b4410cb47782e2bfab0dd2bbab365b3a
refs/heads/master
2022-12-05T02:51:23.882694
2020-08-19T14:26:53
2020-08-19T14:26:53
null
0
0
null
null
null
null
UTF-8
Python
false
false
702
py
#!/usr/bin/env python3 """ Created on 9 Nov 2016 @author: Bruno Beloff (bruno.beloff@southcoastscience.com) """ from scs_core.client.http_client import HTTPClient from scs_core.osio.client.rest_client import RESTClient # ---------------------------------------------------------------------------------------------...
[ "bruno.beloff@southcoastscience.com" ]
bruno.beloff@southcoastscience.com
ec816035a8401397a7e472bf6a04e7fad8f29e2d
7159e9970ce2cc58482416392d1b489087b913c1
/tests/many_to_one/tests.py
283baae433149312c9430e7d0beca46dbba63880
[ "BSD-3-Clause" ]
permissive
ufgstores/django19
d4a53f12aa6d89405e2332d0c53a29447e6f8650
644716493ecac37271610de0e9cf97fc1fe46f10
refs/heads/master
2020-09-20T13:54:04.608149
2019-11-28T14:07:07
2019-11-28T14:29:02
224,502,004
0
0
BSD-3-Clause
2019-11-28T14:08:25
2019-11-27T19:23:16
Python
UTF-8
Python
false
false
30,333
py
import datetime from copy import deepcopy from django.core.exceptions import FieldError, MultipleObjectsReturned from django.db import models, transaction from django.test import TestCase from django.utils import six from django.utils.translation import ugettext_lazy from .models import ( Article, Category, Child...
[ "slenart@alefajnie.pl" ]
slenart@alefajnie.pl