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
3f3958a62d181d094a638a1d21990e621e83aee4
16e266cf50a712ed29a4097e34504aac0281e6cb
/Functions/venv/lib/python3.6/site-packages/_TFL/IV_Number.py
727c60959a0c90ead1b7c1e10a1327d21cb2e807
[ "BSD-3-Clause" ]
permissive
felix-ogutu/PYTHON-PROJECTS
9dd4fdcfff6957830587b64c5da3b5c3ade3a27e
8c1297dbda495078509d06a46f47dc7ee60b6d4e
refs/heads/master
2023-06-05T04:41:36.727376
2021-06-25T20:36:52
2021-06-25T20:36:52
380,348,911
0
0
null
null
null
null
UTF-8
Python
false
false
5,642
py
# -*- coding: utf-8 -*- # Copyright (C) 1999-2015 Mag. Christian Tanzer. All rights reserved # Glasauergasse 32, A--1130 Wien, Austria. tanzer@swing.co.at # **************************************************************************** # # This module is licensed under the terms of the BSD 3-Clause License # <http://www....
[ "you@example.com" ]
you@example.com
93138bc3c1cbcdd2bc2cd63d9d87a7507f988c15
f07a42f652f46106dee4749277d41c302e2b7406
/Data Set/bug-fixing-5/4ef793f2658bd7c8752e604548e55c2bcdd82d7b-<test_constructor_from_items>-fix.py
338f47c225316ff2ab0d0bf23e89689e8cc87cbd
[]
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,948
py
def test_constructor_from_items(self, float_frame, float_string_frame): items = [(c, float_frame[c]) for c in float_frame.columns] with tm.assert_produces_warning(FutureWarning, check_stacklevel=False): recons = DataFrame.from_items(items) tm.assert_frame_equal(recons, float_frame) with tm.asser...
[ "dg1732004@smail.nju.edu.cn" ]
dg1732004@smail.nju.edu.cn
19ed14adeb53df54f976ec502b271381df4d55ff
7dd7b9a1dfd9d8c6ea08e1386737ba9a5c1b4163
/ordasambond/ordasambond/middlewares/deltafetch.py
c7e77a34393e69669ecde39cdbfdf352956b8cfd
[]
no_license
gogn-in/ordasambond
f07c402c9af0915841e8dfb4bb6b9250e90480cb
ca5f2895a36156a1e9b8f9f28fe6c8f3f9f8b435
refs/heads/master
2021-01-10T10:50:48.072071
2016-03-22T22:58:22
2016-03-22T22:58:22
54,489,216
0
0
null
null
null
null
UTF-8
Python
false
false
4,149
py
import os import time from scrapy.http import Request from scrapy.item import BaseItem from scrapy.utils.request import request_fingerprint from scrapy.utils.project import data_path from scrapy.exceptions import NotConfigured from scrapy import signals import logging logger = logging.getLogger(__name__) # Custom ve...
[ "pallih@kaninka.net" ]
pallih@kaninka.net
b10177e34d37112453bda54ad58806a828ae33b8
b0807e3ad7af88ffd3152c7fc5315604f553f8fc
/perceptron/perceptron.py
7ab3b594c5df700d4fc76047f5a6939c77a4813e
[]
no_license
jhamrick/sigcse-2016-slides
f34bfbb93b851efca574a0a2da0d4182c64b979a
44d3fab1c6dea14c00272a7ad7b43703fff7d4d2
refs/heads/master
2021-01-10T09:04:20.777687
2016-03-04T15:10:58
2016-03-04T15:10:58
53,106,715
1
0
null
null
null
null
UTF-8
Python
false
false
3,586
py
import numpy as np import matplotlib.pyplot as plt def gen_data(m): """Generate m random data points from each of two diferent normal distributions with unit variance, for a total of 2*m points. Parameters ---------- m : int Number of points per class Returns ------- x, y : n...
[ "jhamrick@berkeley.edu" ]
jhamrick@berkeley.edu
dff5734cf3ac7ce60a11c12aaff326812956ba5c
afd11dfdfb07880d0dfe9593662753741627f39d
/lane_detection_cnn.py
e0fba6f2252c1221e1b09386661af826b2762d30
[]
no_license
nghiatdprt/Lane-Detection-Basic
a12aeabae838c54912e67d95cf20fddecef6374d
c1449bf1d3539658f851fd996b2df74c0fdcbd5c
refs/heads/master
2020-03-28T16:10:51.485929
2018-09-13T16:42:42
2018-09-13T16:42:42
148,667,408
0
0
null
null
null
null
UTF-8
Python
false
false
4,101
py
import tensorflow as tf import numpy as np import logging import toulouse_dataset import cv2 model_params = { 'input_shape': (320, 50, 3), 'batch_size': 100 } hyper_params = { 'learning_rate': 0.01, 'drop_out': 0.25 } tf.logging.set_verbosity(tf.logging.INFO) def conv2d_fn(input_tensor, k_size, n_ou...
[ "nghiatd.proptit@gmail.com" ]
nghiatd.proptit@gmail.com
6605c15fbea3b939cbdb337a3ca2ab161f3d6946
d786da05888e4154456e14caa52b10ea5075c65d
/aliyun-python-sdk-waf-openapi/aliyunsdkwaf_openapi/request/v20190910/DescribeProtectBlockSummaryRequest.py
03b19268e6418f6bfd57ce08fb13c3f1390f40c0
[ "Apache-2.0" ]
permissive
yuerl/aliyun-openapi-python-sdk
c95d35712d21d42c5f9eec1d255375d3d11bd63b
205ab3f0ed32c61c382d7383659e42f3e5300e7b
refs/heads/master
2022-07-03T02:27:44.550641
2020-05-12T03:27:46
2020-05-12T03:27:46
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,561
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...
[ "sdk-team@alibabacloud.com" ]
sdk-team@alibabacloud.com
d4f548f887979fe662fa1a6fae964c21b6ec91cc
7773ea6f465ffecfd4f9821aad56ee1eab90d97a
/python/helpers/typeshed/stdlib/3/faulthandler.pyi
afd739462fc964f6a9a603b810193f2fd07831dd
[ "Apache-2.0", "MIT" ]
permissive
aghasyedbilal/intellij-community
5fa14a8bb62a037c0d2764fb172e8109a3db471f
fa602b2874ea4eb59442f9937b952dcb55910b6e
refs/heads/master
2023-04-10T20:55:27.988445
2020-05-03T22:00:26
2020-05-03T22:26:23
261,074,802
2
0
Apache-2.0
2020-05-04T03:48:36
2020-05-04T03:48:35
null
UTF-8
Python
false
false
685
pyi
import io import sys from typing import Union, Protocol from _types import FileDescriptorLike def cancel_dump_traceback_later() -> None: ... def disable() -> None: ... def dump_traceback(file: FileDescriptorLike = ..., all_threads: bool = ...) -> None: ... def dump_traceback_later(timeout: float, repeat: bool = ..., f...
[ "intellij-monorepo-bot-no-reply@jetbrains.com" ]
intellij-monorepo-bot-no-reply@jetbrains.com
bb6938b5b08f304d80dd221b6c19dcf8965a7305
2b54b1fb1540ab73d6c83cae3acd5fdd58bdead5
/Vanadium_cluster_project/anatase_TiO2_101surface_used/V2O5_TiO2_101_zorderimageplot_3by1supercell.py
971ec963ae899a6b55cf92ebb34b23675e957e46
[]
no_license
sivachiriki/GOFEE_Pt_V_supported
5787d44294262870075f35f2d31c096021b7ce20
6bd700dac1f3e7c58394b758d75246ac6e07eade
refs/heads/master
2022-04-08T11:38:13.038455
2020-03-09T10:48:31
2020-03-09T10:48:31
226,359,812
0
0
null
null
null
null
UTF-8
Python
false
false
3,932
py
from __future__ import division import matplotlib #matplotlib.use('Agg') # Can also use 'tkagg' or 'webagg' #from plot_neb_tio2 import * from matplotlib.offsetbox import TextArea, VPacker, AnnotationBbox import matplotlib.patches as patches import matplotlib.pyplot as plt from ase.io import read, write from ase.visua...
[ "sivachiriki@phys.au.dk" ]
sivachiriki@phys.au.dk
b7518824fc43b6c989902289a1fef325022b1247
1bde114a847c629701e3acd004be5788594e0ef1
/Examples/Py4Prog/different_returns.py
1a92b3a3f7f74d4fb0490267fad9e52e0ae4e56b
[]
no_license
BruceEckel/ThinkingInPython
0b234cad088ee144bb8511e1e7db9fd5bba78877
76a1310deaa51e02e9f83ab74520b8269aac6fff
refs/heads/master
2022-02-21T23:01:40.544505
2022-02-08T22:26:52
2022-02-08T22:26:52
97,673,620
106
33
null
2022-02-08T22:26:53
2017-07-19T04:43:50
Python
UTF-8
Python
false
false
200
py
# Py4Prog/different_returns.py def different_returns(arg): if arg == 1: return "one" if arg == "one": return True print(different_returns(1)) print(different_returns("one"))
[ "mindviewinc@gmail.com" ]
mindviewinc@gmail.com
959d294c8eca3319541da2fd16288d2149cf7a73
61c6f707403307bbf124f85689d0008c5fef7462
/removeElements.py
949269ae5a03d3f3af57c0ab3e5c55db9ef21a01
[]
no_license
immzz/leetcode_solutions
1685bb82abccbcb7e8869e6df61d79241d66d17b
baddc09a5e626d919011aa222667a40e2ef4c375
refs/heads/master
2016-09-06T06:44:56.971046
2015-10-06T01:35:39
2015-10-06T01:35:39
23,483,457
0
0
null
null
null
null
UTF-8
Python
false
false
933
py
class Solution: # @param {integer[]} nums # @param {integer} val # @return {integer} def removeElement(self, nums, val): if (not nums) or len(nums) < 1: return 0 length = len(nums) val_ptr = 0 current_ptr = 0 while (val_ptr < len(nums)) and (current_pt...
[ "zeostudio@gmail.com" ]
zeostudio@gmail.com
5fba49f6abf7fd870f403d743c941edc418ac119
350db570521d3fc43f07df645addb9d6e648c17e
/1439_Find_the_Kth_Smallest_Sum_of_a_Matrix_With_Sorted_Rows/solution.py
410bee6160c17cc3dcfb17136fda39f7cf4af231
[]
no_license
benjaminhuanghuang/ben-leetcode
2efcc9185459a1dd881c6e2ded96c42c5715560a
a2cd0dc5e098080df87c4fb57d16877d21ca47a3
refs/heads/master
2022-12-10T02:30:06.744566
2022-11-27T04:06:52
2022-11-27T04:06:52
236,252,145
1
1
null
null
null
null
UTF-8
Python
false
false
277
py
''' 1439. Find the Kth Smallest Sum of a Matrix With Sorted Rows Level: Hard https://leetcode.com/problems/find-the-kth-smallest-sum-of-a-matrix-with-sorted-rows ''' ''' Solution: ''' class Solution: def kthSmallest(self, mat: List[List[int]], k: int) -> int:
[ "benjaminhuanghuang@gmail.com" ]
benjaminhuanghuang@gmail.com
4eac8110cbbd1dda68c1f2fefbb625f8e9167722
6fa0d5d3b61fbce01fad5a7dd50258c09298ee00
/Algorithm/BOJ/2754.py
57138e66826228ebad25635ac3866d1e5de91457
[]
no_license
athletejuan/TIL
c8e6bd9f7e2c6f999dbac759adcdb6b2959de384
16b854928af2f27d91ba140ebc1aec0007e5eb04
refs/heads/master
2023-02-19T13:59:06.495110
2022-03-23T15:08:04
2022-03-23T15:08:04
188,750,527
1
0
null
2023-02-15T22:54:50
2019-05-27T01:27:09
Python
UTF-8
Python
false
false
181
py
C = input() credit = {'A+': 4.3, 'A0': 4.0, 'A-': 3.7, 'B+': 3.3, 'B0': 3.0, 'B-': 2.7, 'C+': 2.3, 'C0': 2.0, 'C-': 1.7, 'D+': 1.3, 'D0': 1.0, 'D-': 0.7, 'F': 0.0} print(credit[C])
[ "vanillasky84.0627@gmail.com" ]
vanillasky84.0627@gmail.com
cb31f7b367a251571a54b7e2aab1667b3ba85ac5
51f887286aa3bd2c3dbe4c616ad306ce08976441
/pybind/slxos/v17r_1_01a/brocade_mpls_rpc/get_mpls_ldp_neighbor_brief/output/mpls_ldp_neighbor_brief/__init__.py
fb2366eb8d69bbdc880d19062b68f022dcca95ef
[ "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
12,820
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
446e368dfaaedf1674c3ed268346ea05f820c598
b662fcc29eda65211bccef35fbe42f5a072986c5
/pysm/transformation/models/scope.py
06d7849413eb18afa2962a0377db2e4826224b1d
[ "MIT" ]
permissive
binh-vu/semantic-modeling
08edb87ed36724046049e1caf10a6cb3da69ccaf
b387584502ba1daa6abd6b7573828416f6426b49
refs/heads/master
2022-01-09T10:24:08.840566
2019-05-11T06:09:30
2019-05-11T06:09:30
186,094,653
5
0
null
null
null
null
UTF-8
Python
false
false
2,359
py
#!/usr/bin/python # -*- coding: utf-8 -*- from typing import Dict, Tuple, List, Set, Union, Optional from transformation.models.table_schema import Schema class Scope: def __init__(self, path: str): self.path = path if path == "": self.attr_paths = [] else: self....
[ "binh@toan2.com" ]
binh@toan2.com
97f4d4bf6bbeea91ac82ddf267e8c6fc3e00e32a
4fe68a329da64dceef27b4f62dcde538e07ea3e0
/109.py
b697c5c7fc08aa9c5037fc713f60c654bad6da5a
[]
no_license
LiuXPeng/leetcode
9bf18a8c86952e12d8ca2032793d2abfe918a730
1d583df4089e1678996f481fa1a903b22ff43182
refs/heads/master
2020-03-20T00:52:01.736500
2018-07-26T03:25:04
2018-07-26T03:25:04
137,058,642
0
0
null
null
null
null
UTF-8
Python
false
false
966
py
# Definition for a binary tree node. # class TreeNode(object): # def __init__(self, x): # self.val = x # self.left = None # self.right = None class Solution(object): def sortedListToBST(self, head): """ :type head: ListNode :rtype: TreeNode """ if...
[ "LiuXPeng@users.noreply.github.com" ]
LiuXPeng@users.noreply.github.com
c05c576d43957856efff8eecd62f30a51faddc53
3b1053ea38fee9a59d335dd75bb6a6906d298594
/virtool/jobs/api.py
0167f78f13fd311dd71976150a0e196319ee992b
[ "MIT" ]
permissive
tianshengsui/virtool
8c59bb36c7e2924586be34fabc6b861e16691b7d
eb75637eb6ca9dcba647ad8acad5d316877dd55e
refs/heads/master
2023-04-19T16:36:54.894894
2021-04-23T19:09:33
2021-04-23T19:09:33
295,793,679
0
0
MIT
2020-09-30T23:53:54
2020-09-15T16:55:59
null
UTF-8
Python
false
false
3,295
py
import os import virtool.api.utils import virtool.http.routes import virtool.jobs.db import virtool.resources import virtool.users.db import virtool.utils from virtool.api.response import conflict, json_response, no_content, not_found routes = virtool.http.routes.Routes() @routes.get("/api/jobs") async def find(req...
[ "igboyes@gmail.com" ]
igboyes@gmail.com
0a55920724eb79f070f95f641c0239ee7ab5f1e2
f9d564f1aa83eca45872dab7fbaa26dd48210d08
/huaweicloud-sdk-iotanalytics/huaweicloudsdkiotanalytics/v1/model/raw_value.py
c8334c0dd5a90195b94e73878d1c4f0eef47f204
[ "Apache-2.0" ]
permissive
huaweicloud/huaweicloud-sdk-python-v3
cde6d849ce5b1de05ac5ebfd6153f27803837d84
f69344c1dadb79067746ddf9bfde4bddc18d5ecf
refs/heads/master
2023-09-01T19:29:43.013318
2023-08-31T08:28:59
2023-08-31T08:28:59
262,207,814
103
44
NOASSERTION
2023-06-22T14:50:48
2020-05-08T02:28:43
Python
UTF-8
Python
false
false
3,922
py
# coding: utf-8 import six from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization class RawValue: """ Attributes: openapi_types (dict): The key is attribute name and the value is attribute type. attribute_map (dict): The key is attribute name ...
[ "hwcloudsdk@huawei.com" ]
hwcloudsdk@huawei.com
06c2eca239012d6d77d4c43bd14eb9ece6e2e980
5a6937aa6cea8312bc8964f86f77f4595d1b940f
/Testing/test_mypoints_plot2.py
54c7c5566745e968ea82108d41f131f4c0c5c225
[]
no_license
emonson/MultiScaleSVD
39d8059f3f286a1936c6634740d1bd1e87ddbc7f
c231859bffe1eb0a7eaf15fd4d1a4c8ca9cfe8ed
refs/heads/master
2020-12-24T13:17:53.369613
2012-12-19T18:09:39
2012-12-19T18:09:39
699,727
0
0
null
null
null
null
UTF-8
Python
false
false
4,206
py
# Translated to Python from [VTK]/Charts/Testing/Cxx/TestLinePlot.cxx # This version is for testing reworked subclasses 8/13/2010 import vtk from vtk.util import numpy_support as VN import numpy as N import math import vtkvtg from data_source import DataSource data_file = '/Users/emonson/Data/Fodava/EMoGWDataSets/mn...
[ "emonson@cs.duke.edu" ]
emonson@cs.duke.edu
63fcd4d76ce8b2403bd98acdaf30ee839d32b68d
8337bfdd69708f4bfbe345240dcccc7b8c7f5718
/loglette/parser/loglette/parser.py
7e501e1c1f1c862b4151be8d842b3feac3762e3d
[ "MIT" ]
permissive
siku2/Loglette
8f1c12ceb7f1009b5eab503ab7608b292be98739
d69f99c3ead2bb24f2aa491a61a7f82cb9ca8095
refs/heads/master
2020-03-24T07:10:26.454200
2018-08-01T13:01:02
2018-08-01T13:01:02
142,555,185
1
0
MIT
2018-08-01T13:01:03
2018-07-27T09:12:51
Python
UTF-8
Python
false
false
1,705
py
from typing import Dict, List, Tuple from . import pattern from .. import Parser, parser @parser("loglette") class LogletteParser(Parser): @classmethod def parse_value(cls, value: str, text_style: str = None) -> str: if text_style: if text_style == "|": value = value.strip...
[ "siku2@outlook.com" ]
siku2@outlook.com
84c46959396968ef4f12dd949fddc9e19ebf9cf9
41f13d82b46b158c5c2997915122e4f5e8a700fa
/falcon/main/views/things.py
ba065c6c1f18b0ea2b7e65e393bbb668750a72b1
[]
no_license
ashishRay12/server
0959e2e5789f886b327f51a83487fd3919593b22
bb68c14398390e004148e848df234277f382a50c
refs/heads/master
2021-01-10T13:58:43.307036
2016-03-21T16:10:35
2016-03-21T16:10:35
54,403,543
0
1
null
null
null
null
UTF-8
Python
false
false
572
py
import falcon class ThingsResource: def on_get(self, req, resp,form={},files={}): """Handles GET requests""" resp.status = falcon.HTTP_200 # This is the default status resp.body = ("GET request accepted") def on_post(self, req, resp,form={},files={}): """Handles GET re...
[ "johndoe@example.com" ]
johndoe@example.com
8145c8f75fc9b4722eb29c669bff3aba2ff807e5
1ffcad5482a95e8133b0adbd5fb38652c765a7d6
/COT/remove_file.py
0354f162faa9788f18e5031217ff5a01cce74652
[ "MIT" ]
permissive
duanshuaimin/cot
71f51d1270de2609c99ac302ed932d4c72e83c77
6da4345f57849620765e88d1e406366509070745
refs/heads/master
2021-01-21T06:38:45.458816
2017-02-21T15:13:09
2017-02-21T15:13:09
null
0
0
null
null
null
null
UTF-8
Python
false
false
5,428
py
#!/usr/bin/env python # # remove_file.py - Implements "cot remove-file" command # # June 2016, Glenn F. Matthews # Copyright (c) 2016 the COT project developers. # See the COPYRIGHT.txt file at the top-level directory of this distribution # and at https://github.com/glennmatthews/cot/blob/master/COPYRIGHT.txt. # # This...
[ "glenn@e-dad.net" ]
glenn@e-dad.net
a1e1e36aac226ae6fb4c681d891bb90b5b64a966
b9a86fac908ef196537f3e86bbf1776056e0354f
/gatifore_snmp/scripts/append_diamond_conf.py
0611f0a49c8085d13c79f5258fb328dc33a9e9b4
[]
no_license
tamirko/cfyApps
a2ff8514a6591f004a0d57cb1feaad5b267e7f75
d7f9b751bc7d1c7bf3d07c36e6f9737c83bd1c78
refs/heads/master
2021-01-17T00:53:14.475503
2017-11-28T08:09:34
2017-11-28T08:09:34
26,909,041
1
4
null
null
null
null
UTF-8
Python
false
false
2,161
py
from cloudify import ctx from cloudify.state import ctx_parameters as inputs APPEND_DIAMOND_STR = "append_diamond_conf" ctx.logger.info("Starting {0} ... ".format(APPEND_DIAMOND_STR)) target_instance = ctx.target.instance ctx.logger.info("{0} target_instance {1} ... ".format(APPEND_DIAMOND_STR, target_instance)) targe...
[ "tamir@gigaspaces.com" ]
tamir@gigaspaces.com
25c50028e507c050a5742263271cfb361423e81d
c2f6722d51f119b9f588cbea4121d2f8fddafcd2
/bdv/code/procdistrib/clnt_processes.py
4ba0c9d0a721669c97972e490f425b8b7b113ac3
[]
no_license
facundobatista/blog
f4c670b48b52b0e651c7a89ad9de702abd16a39c
4461457c185ef3949e0d6b1398b0a7feb4a68cde
refs/heads/master
2023-07-09T09:02:17.503586
2023-07-04T00:36:22
2023-07-04T00:36:22
30,439,511
3
0
null
2019-01-24T15:43:51
2015-02-07T00:33:57
PHP
UTF-8
Python
false
false
634
py
import xmlrpclib, time, sys import reparteThreads #reparteThreads.debugmode = True usage = """ Usar client_processes.py sever:port [[server:port] ...] ej: client_processes.py localhost:9000 10.12.33.112:9000 10.12.33.113:9000 """ if len(sys.argv) < 2: print usage sys.exit(-1) servers = sys.argv[1:] servers =...
[ "facundo@taniquetil.com.ar" ]
facundo@taniquetil.com.ar
6143d20eef5d2414ba5d2734ab41250ff4d2ef98
477eae855f1f295c7ade594ee64fc3501ac59ef9
/recipes/D/test_package/conanfile.py
4bb3be2882b9b6c86b50ae84192ed0ea228efe0c
[]
no_license
xingao0803/skynet_example
b5fa8e2f5dac0066c773bf9624e803105787ed5c
f955dde1041ef264dc33e239771190755b43104a
refs/heads/master
2020-03-31T08:07:30.670256
2018-10-13T03:13:29
2018-10-13T03:13:29
152,046,747
0
1
null
2018-10-08T08:43:38
2018-10-08T08:43:38
null
UTF-8
Python
false
false
334
py
from conans import ConanFile import os channel = os.getenv("CONAN_CHANNEL", "stable") username = os.getenv("CONAN_USERNAME", "lasote") class BTestConan(ConanFile): settings = "os", "compiler", "build_type", "arch" requires = "LIB_D/1.0@%s/%s" % (username, channel) def test(self): self.output.in...
[ "lasote@gmail.com" ]
lasote@gmail.com
d417d2e64005189a9b67e0af6c9b3badc1fb0ef0
55c250525bd7198ac905b1f2f86d16a44f73e03a
/Python/Games/Tetris/modules/gameboard.py
d279d17889bfea61c36f40ae050f4df4273e990a
[]
no_license
NateWeiler/Resources
213d18ba86f7cc9d845741b8571b9e2c2c6be916
bd4a8a82a3e83a381c97d19e5df42cbababfc66c
refs/heads/master
2023-09-03T17:50:31.937137
2023-08-28T23:50:57
2023-08-28T23:50:57
267,368,545
2
1
null
2022-09-08T15:20:18
2020-05-27T16:18:17
null
UTF-8
Python
false
false
129
py
version https://git-lfs.github.com/spec/v1 oid sha256:9408a572aa27ab62fce8357d7b6c321f2df4cfaf6de7a27be290c97d70f3178a size 8445
[ "nateweiler84@gmail.com" ]
nateweiler84@gmail.com
ea659a93d51874fb9441c1e921808db5c68cdfe4
6e601105760f09d3c9f5306e18e4cf085f0bb4a2
/1000-9999/1449.py
9e9b7eaf20d4ff4f2f80aa9e6ca37c6e2ba89700
[]
no_license
WSJI0/BOJ
6412f69fddd46c4bcc96377e2b6e013f3bb1b524
160d8c13f72d7da835d938686f433e7b245be682
refs/heads/master
2023-07-06T15:35:50.815021
2023-07-04T01:39:48
2023-07-04T01:39:48
199,650,520
2
0
null
2020-04-20T09:03:03
2019-07-30T12:48:37
Python
UTF-8
Python
false
false
221
py
''' 1449번 수리공 항승 ''' import sys input=sys.stdin.readline n, l=map(int, input().split()) a=list(map(int, input().split())) a.sort() L=0 cnt=0 for R in a: if L<R: L=R+l-1 cnt+=1 print(cnt)
[ "lifedev@naver.com" ]
lifedev@naver.com
2ca0d45e9ea3b99ccef5f4796d87ba41c840ec09
8a780cb47eac9da046bdb5d6917f97a086887603
/problems/knight_probability_in_chessboard/solution.py
10dda0383885961f2992842af8d8eaf2428dcd79
[]
no_license
dengl11/Leetcode
d16315bc98842922569a5526d71b7fd0609ee9fb
43a5e436b6ec8950c6952554329ae0314430afea
refs/heads/master
2022-12-20T03:15:30.993739
2020-09-05T01:04:08
2020-09-05T01:04:08
279,178,665
0
0
null
null
null
null
UTF-8
Python
false
false
672
py
class Solution: def knightProbability(self, N: int, K: int, r: int, c: int) -> float: cache = {} # {(i, j, k): prob of next being on-board} def query(i, j, K): if i < 0 or i >= N or j < 0 or j >= N: return 0 if K == 0: return 1 if (i, j, K) in cache: return cache[...
[ "ldeng1314@gmail.com" ]
ldeng1314@gmail.com
913f92b3adfc7f05a0427c18c2608c21d2b86f48
21540ab033e180a3d94b270b7faffac7fe4af68f
/wordshop5/Exercise_1-3_page_158/Exercise_2.py
2d13b4e75725362eed75c0970cc5a55c08a9b96d
[]
no_license
tuan102081/wordshop1.2.3.5
eaa344bdb04f565d1354b9476b4d4ecafc5cc7f3
70e75b56f48a2e5b1622d956f33831f80e64d368
refs/heads/master
2023-07-14T23:26:31.089484
2021-08-30T18:53:24
2021-08-30T18:53:24
401,411,439
0
0
null
null
null
null
UTF-8
Python
false
false
640
py
""" Author: Nguyen Duy Tuan Date: 31/08/2021 Program: Exercise_02.py Problem: Assume that the variable data refers to the dictionary {'b':20, 'a':35}. Write the values of the following expressions: a. data['a'] b. data.get('c', None) c. len(data) d. data.keys() e. data.values() f. data.pop('b') g. data # After the ...
[ "you@example.com" ]
you@example.com
1996b3e9a35ebcabee9dfb1f740e7a9d69fd5760
0cf3c46500aed987a4760acd4821957c2877c6c9
/tools/upgrade/ast.py
6ba70b0ecd977595005abccae9d1a7e02bc69416
[ "MIT" ]
permissive
ahmed1231234/pyre-check
eca4de113c5346e28c8826a5ff53d3f8ec6c6ddd
aa40c5ea9095eb66ec63c361545b2c51df3e14ff
refs/heads/master
2022-04-23T11:03:25.798965
2020-04-18T18:37:38
2020-04-18T18:37:38
256,826,159
1
0
null
2020-04-18T18:35:55
2020-04-18T18:35:55
null
UTF-8
Python
false
false
1,787
py
# Copyright (c) 2016-present, Facebook, Inc. # # This source code is licensed under the MIT license found in the # LICENSE file in the root directory of this source tree. import argparse import ast import logging import pathlib from logging import Logger from typing import Callable from pyre_extensions import ListVar...
[ "facebook-github-bot@users.noreply.github.com" ]
facebook-github-bot@users.noreply.github.com
f205428b32562f728bb76ab16080f526548226ee
7cd6950ab3034cb0cf403ee1b8410bf475360a8d
/venv/bin/schema-salad-tool
e251adb51c1dd93871748bd902611e801bb09b8e
[]
no_license
mr-c/george_murray
ef6d5f77a4f4c0b64cbc64534ce23d7546a3cee0
612c68c6b27ed2d8097f1309820ccdbb05530176
refs/heads/master
2022-09-20T11:12:58.582547
2019-08-15T19:32:34
2019-08-15T19:32:34
268,844,811
0
0
null
2020-06-02T15:55:27
2020-06-02T15:55:26
null
UTF-8
Python
false
false
265
#!/Users/George1/Documents/GitHub/george_murray/venv/bin/python3 # -*- coding: utf-8 -*- import re import sys from schema_salad.main import main if __name__ == '__main__': sys.argv[0] = re.sub(r'(-script\.pyw?|\.exe)?$', '', sys.argv[0]) sys.exit(main())
[ "george.c.murray@maine.edu" ]
george.c.murray@maine.edu
fa72589e55f4fe20a47d28a533d5439e1b6ff87c
2c5b25d0b5d6ba66d013251f93ebf4c642fd787b
/accepted_codes/ZigZag_Conversion/ZigZag Conversion_278768995.py
fb8f43a76f31a8429e8a1102bb46a1a61c7b0a46
[]
no_license
abhinay-b/Leetcode-Submissions
da8099ac54b5d36ae23db42580064d0f9d9bc63b
d034705813f3f908f555f1d1677b827af751bf42
refs/heads/master
2022-10-15T22:09:36.328967
2020-06-14T15:39:17
2020-06-14T15:39:17
259,984,100
2
0
null
null
null
null
UTF-8
Python
false
false
475
py
class Solution: def convert(self, s: str, rows: int) -> str: if rows == 1 or len(s) == 0: return s substrLists = ["" for i in range(rows)] pos = 0 step = -1 for char in s: substrLists[pos] += char if pos == 0 or pos == rows - 1: ...
[ "abhinayb.sssihl@gmail.com" ]
abhinayb.sssihl@gmail.com
0568628bcad505745ba6e87004b2f72c7bf18c6a
0556754cd4765d05a1d831c48933c5f299bb095d
/Oct-16-2020/assignment 216.py
f4928b698ad2e9638ab966f814421984d0e075f7
[]
no_license
rohitbhatghare/python
4fa5e5883743023ced841892a13a9798b7686f39
248d265e02ecbc1270a87081af26537eb401e535
refs/heads/main
2023-02-03T04:32:15.716805
2020-12-21T11:33:27
2020-12-21T11:33:27
302,831,244
0
0
null
null
null
null
UTF-8
Python
false
false
102
py
for i in range(0,5): for j in range(69-i,64,-1): print(chr(j), end=" ") print()
[ "noreply@github.com" ]
rohitbhatghare.noreply@github.com
ad0fdfb641c6e94049ce76fdcc83f75b4d70cc21
c8a04384030c3af88a8e16de4cedc4ef8aebfae5
/stubs/pandas/tests/series/test_internals.pyi
f4ba1fc107185d5351a176a5bf578b51da1198f9
[ "MIT" ]
permissive
Accern/accern-xyme
f61fce4b426262b4f67c722e563bb4297cfc4235
6ed6c52671d02745efabe7e6b8bdf0ad21f8762c
refs/heads/master
2023-08-17T04:29:00.904122
2023-05-23T09:18:09
2023-05-23T09:18:09
226,960,272
3
2
MIT
2023-07-19T02:13:18
2019-12-09T20:21:59
Python
UTF-8
Python
false
false
1,056
pyi
# Stubs for pandas.tests.series.test_internals (Python 3) # # NOTE: This dynamically typed stub was automatically generated by stubgen. # pylint: disable=unused-argument,redefined-outer-name,no-self-use,invalid-name # pylint: disable=relative-beyond-top-level,line-too-long,arguments-differ # pylint: disable=no-member,t...
[ "josua.krause@gmail.com" ]
josua.krause@gmail.com
583c3151de04b103a70ef84b46909cbd243bdf38
9a8fe99c7316dfce343be81d2c3c1a6c4f22572c
/set89.py
98de78eac2b9ee81cbd42fa33eff655c83fe0589
[]
no_license
Srija-U/codekatabeginner
5e4d540484529dbafada04d3eac96eab7f98a693
8d088e04de1d48d9befb975697e9121f06bb164a
refs/heads/master
2020-04-30T00:58:51.445394
2019-07-01T15:43:05
2019-07-01T15:43:05
176,516,229
0
0
null
null
null
null
UTF-8
Python
false
false
138
py
import math l=[int(i) for i in input().split()] p=l[0]*l[1] r=math.sqrt(p) if(r-math.floor(r)==0): print("yes") else: print("no")
[ "noreply@github.com" ]
Srija-U.noreply@github.com
c40fdba0ebc728e600f6cb077840adff8ec86a16
5dfed5b8fbcb2a62af3aab3beee299a8405ad50b
/ch05-视频/5.VideoCapture.py
0be5f3af2bce0deef2d782be92053f349c6a26f6
[ "MIT" ]
permissive
zgle-fork/OpenCV-Python-Tutorial
7de5a7eda667401b3c7ac0e9306c0b0650bb459f
5a42b32de208a7f11ec9d04880f4b00e8986a0e5
refs/heads/master
2023-03-02T11:01:04.984257
2021-02-11T19:10:14
2021-02-11T19:10:14
268,380,833
0
0
MIT
2020-05-31T23:18:58
2020-05-31T23:18:58
null
UTF-8
Python
false
false
2,326
py
# -*- coding: utf-8 -*- """ Created on Fri Jan 3 21:06:22 2014 @author: duan """ ''' 注意 当你的程序报错时 你 先检查的是你的摄像头是否能够在其他程 序中正常工作 比如 linux 下的 Cheese 。 ''' import numpy as np import cv2 cap = cv2.VideoCapture(0) # 一般的笔 本电脑 有内置摄像头。所以参数就是 0。你可以 设置成 1 或 者其他的来 择别的摄像头 ''' 你可以使用函数 cap.get(propId) 来获得 的一些参数信息。 propId 可以...
[ "play4fun@foxmail.com" ]
play4fun@foxmail.com
292ab22fc8c91f9f3a53b729047e4651abdbac4f
4ad809420a3cd82199b31fcb6033ad6b28c5ac60
/rustici_engine/models/xapi_interaction_component.py
85c0f932ab8c6ed4102f496b23b51da596ac6ce0
[]
no_license
Myagi/python-rustici-engine-api
2e4eb21f01b156551a1f4d747aea466dec22f30c
20684845817cb9790b3bfc9be3db515f7ad5b0ee
refs/heads/master
2022-03-30T12:26:44.825580
2020-02-03T06:34:12
2020-02-03T06:34:12
237,883,063
2
0
null
null
null
null
UTF-8
Python
false
false
3,874
py
# coding: utf-8 """ Rustici Engine API Rustici Engine API # noqa: E501 OpenAPI spec version: 2.0 Generated by: https://github.com/swagger-api/swagger-codegen.git """ import pprint import re # noqa: F401 import six class XapiInteractionComponent(object): """NOTE: This class is auto gene...
[ "s.kitchell@live.com" ]
s.kitchell@live.com
b124e445d79efd72ada13bc4b47a29bb1c1c7c9b
6c677098c78b3f410019ac26f116cd8539949d35
/snakeeyes/blueprints/admin/__init__.py
155ddeb8aded069a0c4eb38612f26529e8ea5df9
[ "MIT" ]
permissive
Pythonian/bsawf
eb05dcf7eeb3fab10dad269f9018fc3aa56c967e
3e422a81cfb1b157119473c20b94a9a01f8b9672
refs/heads/master
2023-05-27T20:32:25.965703
2022-03-16T14:57:26
2022-03-16T14:57:26
253,907,876
0
0
MIT
2023-05-02T20:53:12
2020-04-07T20:44:53
Python
UTF-8
Python
false
false
51
py
from snakeeyes.blueprints.admin.views import admin
[ "prontomaster@gmail.com" ]
prontomaster@gmail.com
312a91bd56204674559e4af96b69bcf70afeae26
492e956cbc3f2d9af13b2b437760fba0451c3333
/setup.py
95956c2a83a15ec25d433e0f06201a46b22caaa7
[ "BSD-3-Clause" ]
permissive
Ademan/markupsafe
40c6deb4b3035df61b65ce293f300d6b8433c045
6620b980d299b00d337e998f6cd13a800d51bcf9
refs/heads/master
2021-01-18T13:22:21.023640
2011-02-17T21:56:32
2011-02-17T21:56:32
1,380,064
1
0
null
null
null
null
UTF-8
Python
false
false
3,104
py
import os import sys from setuptools import setup, Extension, Feature from distutils.command.build_ext import build_ext from distutils.errors import CCompilerError, DistutilsExecError, \ DistutilsPlatformError # fail safe compilation shamelessly stolen from the simplejson # setup.py file. Original author: Bob Ip...
[ "armin.ronacher@active-4.com" ]
armin.ronacher@active-4.com
00930b3ccfaefe10510cceee4ac31f23ac6bd4b4
f0932f59d37adfbba9307ee31e6f78ce3c256c4a
/notebook/20170329_test_multiple_spacers/pybeeswarm.py
aa5f458c6ce868ee71e82153fde9fd35c1cddda0
[]
no_license
kalekundert/ligrna
3785a1e5fb8ed6d07839a5314029f3fc882d4471
843963973c34c4976f5adfbd4d03f5f1d0344423
refs/heads/master
2020-04-12T12:52:32.828100
2020-02-22T00:59:57
2020-02-22T00:59:57
162,505,099
0
0
null
null
null
null
UTF-8
Python
false
false
10,563
py
""" The MIT License (MIT) Copyright (c) 2014 Melissa Gymrek <mgymrek@mit.edu> 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, ...
[ "kale@thekunderts.net" ]
kale@thekunderts.net
8bd88de91b37e75f8e517c0a73942c18f57c5290
8d1309e560216fb84aee6b5fac4f7d8fac07f5d6
/liuxuheng/test.py
51b323da6666957cd711af2810efb513338f87b4
[]
no_license
NWU-SMART/2019TEAMNEW-TrainCodes
2dfb4d160d6419d96538f033b1332c2cb171e3e0
91a6c8b9395fff72079f21c4a26401179f3ad8a6
refs/heads/master
2022-12-23T22:03:39.030888
2020-10-05T07:06:00
2020-10-05T07:06:00
270,465,529
6
0
null
null
null
null
UTF-8
Python
false
false
20
py
a=3 b=4 print(a+b)
[ "lizhan@nwu.edu.cn" ]
lizhan@nwu.edu.cn
2be1f29cb247b9a78bccf284d46cc677e921eb76
971e0efcc68b8f7cfb1040c38008426f7bcf9d2e
/tests/missing_data/test_missing_data_air_passengers_None_Median.py
2a181eddd4b0f9ad5e0f81313d275c09db13c348
[ "BSD-3-Clause", "LicenseRef-scancode-unknown-license-reference" ]
permissive
antoinecarme/pyaf
a105d172c2e7544f8d580d75f28b751351dd83b6
b12db77cb3fa9292e774b2b33db8ce732647c35e
refs/heads/master
2023-09-01T09:30:59.967219
2023-07-28T20:15:53
2023-07-28T20:15:53
70,790,978
457
77
BSD-3-Clause
2023-03-08T21:45:40
2016-10-13T09:30:30
Python
UTF-8
Python
false
false
128
py
import tests.missing_data.test_missing_data_air_passengers_generic as gen gen.test_air_passengers_missing_data(None, 'Median')
[ "antoine.carme@laposte.net" ]
antoine.carme@laposte.net
3a9d64a9ea107918ee80b2d18620eca72ba779b1
76c3262a1ed4e6cbbf5008e8fc79c917035fe181
/src/mysite/posts/views.py
b12464ced838be501e90822580b6b41435a34213
[ "MIT", "LicenseRef-scancode-warranty-disclaimer", "LicenseRef-scancode-python-cwi", "GPL-1.0-or-later", "LicenseRef-scancode-newlib-historical", "OpenSSL", "bzip2-1.0.6", "Python-2.0", "TCL", "LicenseRef-scancode-proprietary-license", "LicenseRef-scancode-free-unknown", "LicenseRef-scancode-ot...
permissive
aiegoo/django
ba6ee6be02b4e0fdf2fce007cb3ef739974ade35
2f508a318edd26403509a61eb44e99fda8b7ed64
refs/heads/master
2023-01-12T21:56:16.202262
2021-06-08T09:27:44
2021-06-08T09:27:44
211,546,261
0
0
MIT
2022-12-26T20:15:56
2019-09-28T18:41:35
Tcl
UTF-8
Python
false
false
164
py
from django.http import HttpRequest from django.shortcuts import render # Create your views here. def post_home(request): return HttpRequest("<h1>hello</h1>")
[ "eozz21@gmail.com" ]
eozz21@gmail.com
ae88ca665498f4b7533b6dac23ecbf987436a17f
52b79e4cd1e26969a3ebb3bca8620519071bea98
/answers/17_serialization/task_17_3.py
f5210b54e2ac9f160565ac6b077cafd54537708e
[]
no_license
hariram32/pyneng-answers-en
631bc149b8a219a2de86de82681ffba3d1ff30ee
84b7240b00d3a4ab9011952db662f716d1cd31b8
refs/heads/main
2023-03-16T00:12:38.954431
2021-03-09T15:40:10
2021-03-09T15:40:10
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,543
py
# -*- coding: utf-8 -*- """ Task 17.3 Create a function parse_sh_cdp_neighbors that processes the output of the show cdp neighbors command. The function expects, as an argument, the output of the command as a single string (not a filename). The function should return a dictionary that describes the connections betwee...
[ "nataliya.samoylenko@gmail.com" ]
nataliya.samoylenko@gmail.com
23e96be12a0904803e10a2ada162a77caaea4993
1850d2222b504bfa3c2390dc6fc186b3260334d0
/src/pbhla/dictionary.py
32ab51481614f77e383c8f8ee6393b79722894c4
[]
no_license
la0hu2006/HlaTools
2f6964645615c6c35517f064111b362407701dea
082e45cd1cbdad941f0df59d71a0ca59bfdabf0c
refs/heads/master
2021-01-18T21:42:31.258878
2016-08-29T18:50:11
2016-08-29T18:50:11
null
0
0
null
null
null
null
UTF-8
Python
false
false
4,290
py
import os, re, csv, logging from pbcore.io.FastaIO import FastaReader from pbhla.io.BlasrIO import BlasrReader, record_to_string from pbhla.io.SamIO import SamReader from pbhla.utils import get_base_sequence_name log = logging.getLogger() def create_amp_assem_reference( m1_file, reference=None ): log.info('Parsi...
[ "bbowman@pacificbiosciences.com" ]
bbowman@pacificbiosciences.com
b36a85f206bf2bb3cab6829401349d38f3b51bd1
62e58c051128baef9452e7e0eb0b5a83367add26
/edifact/D98B/SAFHAZD98BUN.py
a4eef18c6de9d10ed241bd2e4d7eeacdbcf968ba
[]
no_license
dougvanhorn/bots-grammars
2eb6c0a6b5231c14a6faf194b932aa614809076c
09db18d9d9bd9d92cefbf00f1c0de1c590fe3d0d
refs/heads/master
2021-05-16T12:55:58.022904
2019-05-17T15:22:23
2019-05-17T15:22:23
105,274,633
0
0
null
2017-09-29T13:21:21
2017-09-29T13:21:21
null
UTF-8
Python
false
false
2,765
py
#Generated by bots open source edi translator from UN-docs. from bots.botsconfig import * from edifact import syntax from recordsD98BUN import recorddefs structure = [ {ID: 'UNH', MIN: 1, MAX: 1, LEVEL: [ {ID: 'BGM', MIN: 1, MAX: 1}, {ID: 'RFF', MIN: 0, MAX: 10}, {ID: 'DTM', MIN: 0, MAX: 10}, {ID: 'FT...
[ "jason.capriotti@gmail.com" ]
jason.capriotti@gmail.com
3857b3e7f9b4eeb9078b49a3de87dabf2611ef10
bb300c03d353e7752d20909995d2b0e4818d785d
/app1/admin.py
ca0089e5fcc6dd1e454695c7fe3e0900521046e2
[]
no_license
ksuvarna85/django_unicode
3fe3340b63e92812c17a379a934fc8d1d3fc91bc
79d833a3009acf034a194a8daa71b6e8a209f748
refs/heads/master
2022-12-13T00:10:59.156715
2020-09-12T14:35:53
2020-09-12T14:35:53
292,186,005
0
0
null
null
null
null
UTF-8
Python
false
false
1,179
py
from django.contrib import admin from django.contrib.auth.admin import UserAdmin from django.contrib.auth.models import Group from django.contrib.auth.forms import UserCreationForm from .models import User, Student, Teacher # Register your models here. class BaseUserAdmin(UserAdmin): list_display = ['email', 'is...
[ "you@example.com" ]
you@example.com
17d9b195670d4321d9dce54ad7d23f17981f2e8a
45b64f620e474ac6d6b2c04fbad2730f67a62b8e
/Varsity-Final-Project-by-Django-master/.history/project/project/urls_20210223211934.py
4c004fae9ae39239424d3a2f1db73d5e353e5265
[]
no_license
ashimmitra/Final-Project
99de00b691960e25b1ad05c2c680015a439277e0
a3e1d3c9d377e7b95b3eaf4dbf757a84a3858003
refs/heads/master
2023-04-11T06:12:35.123255
2021-04-26T15:41:52
2021-04-26T15:41:52
361,796,607
0
0
null
null
null
null
UTF-8
Python
false
false
127
py
from django.contrib import admin from django.urls import path from .i urlpatterns = [ path('admin/', admin.site.urls), ]
[ "34328617+ashimmitra@users.noreply.github.com" ]
34328617+ashimmitra@users.noreply.github.com
b3ae963aeaacd1244bd96e68dca519a28aa5a5d2
525c6a69bcf924f0309b69f1d3aff341b06feb8e
/sunyata/backend/pytorch/layer/dot/conv.py
3c37be58bd4b04de352c0ba95e80282519e3fdcb
[]
no_license
knighton/sunyata_2017
ba3af4f17184d92f6277d428a81802ac12ef50a4
4e9d8e7d5666d02f9bb0aa9dfbd16b7a8e97c1c8
refs/heads/master
2021-09-06T13:19:06.341771
2018-02-07T00:28:07
2018-02-07T00:28:07
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,550
py
from torch.nn import functional as F from ....base.layer.dot.conv import BaseConvAPI class PyTorchConvAPI(BaseConvAPI): def __init__(self): BaseConvAPI.__init__(self) self._ndim2conv = { 1: self.conv1d, 2: self.conv2d, 3: self.conv3d, } def conv(se...
[ "iamknighton@gmail.com" ]
iamknighton@gmail.com
cea44ccf0270fc4975dcc281347d17019d96aa29
2a68ce2f0f47370e2f57b9279cc8e1aab85e26da
/trojsten/results/migrations/0001_squashed_0003_auto_20160608_1143.py
b621f0ef934d8daff3195390d0dd3e897f207a6d
[ "MIT" ]
permissive
trojsten/web
52007c3d575b21603bf205c1e7294a482eedbf85
97b7b3ae3ac46be786bde9c49a2cae6609dbf50f
refs/heads/master
2023-08-17T23:30:16.857469
2023-07-30T16:31:34
2023-07-30T16:31:34
10,618,952
6
10
MIT
2023-09-04T19:09:09
2013-06-11T10:04:10
Python
UTF-8
Python
false
false
5,589
py
# -*- coding: utf-8 -*- # Generated by Django 1.9.7 on 2016-06-08 10:11 import django.db.models.deletion from django.conf import settings from django.db import migrations, models class Migration(migrations.Migration): initial = True dependencies = [ ("people", "0001_initial"), migrations.swap...
[ "mhozza@gmail.com" ]
mhozza@gmail.com
ef337ec276cc312703505f50f3e225a52769011e
ca7aa979e7059467e158830b76673f5b77a0f5a3
/Python_codes/p02233/s579323796.py
2066403e585a327111189ca533edc9056ec5aec9
[]
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
198
py
from functools import lru_cache n = int(input()) @lru_cache(maxsize=None) def fib(n): if n==0 or n==1: return 1 else: return fib(n-1)+fib(n-2) print(fib(n))
[ "66529651+Aastha2104@users.noreply.github.com" ]
66529651+Aastha2104@users.noreply.github.com
24191139d0b94f103b412d4ed31f6b47eb63484e
df4a7c46c46d1eca6570493b9707bdf64e54f8d3
/py/35.search-insert-position.py
33dd984473f03e45395deae0415f989a0023fd70
[]
no_license
CharmSun/my-leetcode
52a39bf719c507fb7032ed424fe857ba7340aea3
5325a56ba8c40d74d9fef2b19bac63a4e2c44a38
refs/heads/master
2023-03-29T06:39:49.614264
2021-03-28T16:33:52
2021-03-28T16:33:52
261,364,001
0
0
null
null
null
null
UTF-8
Python
false
false
503
py
# # @lc app=leetcode id=35 lang=python3 # # [35] Search Insert Position # # @lc code=start from typing import List ## 二分查找: 取左值 class Solution: def searchInsert(self, nums: List[int], target: int) -> int: left = 0 right = len(nums) - 1 while left <= right: mid = (left + right) ...
[ "suncan0812@gmail.com" ]
suncan0812@gmail.com
6a9004fa89106410d1390d87e6956d939af9fc41
e6d4a87dcf98e93bab92faa03f1b16253b728ac9
/algorithms/python/imageSmoother/imageSmoother.py
710c11b1f7cfe46788763934ba78cc33142fdb3e
[]
no_license
MichelleZ/leetcode
b5a58e1822e3f6ef8021b29d9bc9aca3fd3d416f
a390adeeb71e997b3c1a56c479825d4adda07ef9
refs/heads/main
2023-03-06T08:16:54.891699
2023-02-26T07:17:47
2023-02-26T07:17:47
326,904,500
3
0
null
null
null
null
UTF-8
Python
false
false
783
py
#! /usr/bin/env python3 # -*- coding: utf-8 -*- # Source: https://leetcode.com/problems/image-smoother/ # Author: Miao Zhang # Date: 2021-02-26 class Solution: def imageSmoother(self, M: List[List[int]]) -> List[List[int]]: m = len(M) n = len(M[0]) res = [[0 for _ in range(n)] for _ in r...
[ "zhangdaxiaomiao@163.com" ]
zhangdaxiaomiao@163.com
bb049e65d59a06ac07b31316aaa604e7231f451e
0f9a97d48a9f0179bcf1e3d80c08340096eb561e
/ДЗ-10. Словари/E. Самое частое слово.py
5ab4d26f6bf5e6e5c8e4cc2561b81c51baac99e4
[]
no_license
dmitryokh/python
96d8ec8c3f2d3428b90d510a1003aecf102b13d0
8efe761412779bed9a7516832d3152843088fa43
refs/heads/master
2020-04-24T03:08:42.865813
2019-02-20T11:41:52
2019-02-20T11:41:52
171,661,235
0
0
null
null
null
null
UTF-8
Python
false
false
459
py
input = open('input.txt', 'r') text = input.readline() wordcount = {} maxword = 0 while text != "": text = text.split() for word in text: if word in wordcount: wordcount[word] += 1 else: wordcount[word] = 1 if wordcount[word] > maxword: maxword = wordc...
[ "noreply@github.com" ]
dmitryokh.noreply@github.com
5080faaeaef838a6382729f2b935ab97aebfee4a
6efc62bc1aa82e09eb1740cb795ddb622d9069a1
/config/migrations/0002_auto_20181224_2241.py
740333528a41b62ca7887d99c9f83b889f1f49cc
[]
no_license
EruDev/typeidea
c1147743a2d062cb2b21c7bf98db9377345809ef
8c8889ac75bd09298b93528d618fdffdae93ea03
refs/heads/master
2020-04-12T04:20:06.123801
2018-12-28T01:11:27
2018-12-28T01:11:27
147,651,297
0
0
null
null
null
null
UTF-8
Python
false
false
457
py
# Generated by Django 2.0.4 on 2018-12-24 22:41 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('config', '0001_initial'), ] operations = [ migrations.AlterField( model_name='sidebar', name='display_type', ...
[ "1027926875@qq.com" ]
1027926875@qq.com
dca16d10dcceb0ac60b9e637079684ea037c63f1
a9510540f25112a13a7b10772d8b12df4f80fcf8
/edsys_sequence/ir_sequence.py
e2b4ddb1b45cec29ac47cbe95b79b227cfb1cc46
[]
no_license
babarlhr/edsys10
c291b7eae643bbd25c961e829beca9f5b108845e
84b43d0ed19145c88fa142e6cf1fa691fa9fedce
refs/heads/master
2022-03-15T03:03:27.479767
2019-11-20T21:22:50
2019-11-20T21:22:50
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,634
py
from eagle import models, fields, api, _ class ir_sequence(models.Model): _inherit = 'ir.sequence' model_id = fields.Many2one("ir.model", 'Model') #field_id = fields.Many2one('ir.model.fields', 'Field', domain="[('model_id', '=', model_id), ('ttype', '=', 'integer')]") field_id = fields.Many2one('ir....
[ "rapidgrps@princegroup-bd.com" ]
rapidgrps@princegroup-bd.com
f83fcd905c084cce98fc955ccf1e309f691d2eec
fb78fd824e904705fb1ee09db8b3c20cc3902805
/python-scripts/points.py
b8ee9310c52b85f1fc806c4acc7ef631e09df80e
[]
no_license
Roderich25/mac
8469833821ac49c539a744db29db5a41d755ad55
4f7fe281c88f0199b85d0ac99ce41ffb643d6e82
refs/heads/master
2023-01-12T05:55:12.753209
2021-11-26T01:16:24
2021-11-26T01:16:24
207,029,750
0
0
null
2023-01-07T11:49:23
2019-09-07T21:51:53
Jupyter Notebook
UTF-8
Python
false
false
2,073
py
#!/usr/bin/env python3 from random import randint import numpy as np import matplotlib.pyplot as plt import matplotlib.animation as animation from matplotlib import cm def set_direction(): while True: x = randint(-1, 1) y = randint(-1, 1) if x != 0 or y != 0: break return x...
[ "rodrigoavilasolis@gmail.com" ]
rodrigoavilasolis@gmail.com
a9d5499f5da02efa73b4381ff413faa0cdab877e
98a03799f45384e1bc88674d4fc1a7b14b997673
/cart/migrations/0005_auto_20210525_1933.py
e3bde4f7811053bc4e318bc7d665d7bc1b2b5638
[]
no_license
munyuaDeveloper/07Ecommerce-backend
cda868260b56b044bdecf595b25492f5a3711e5d
cc73f4d33a7d6cdb823e9a719375f4c57ac49872
refs/heads/main
2023-08-11T19:42:42.169703
2021-09-21T22:58:27
2021-09-21T22:58:27
366,691,377
0
0
null
null
null
null
UTF-8
Python
false
false
532
py
# Generated by Django 3.2.3 on 2021-05-25 19:33 from django.db import migrations class Migration(migrations.Migration): dependencies = [ ('cart', '0004_auto_20210525_1218'), ] operations = [ migrations.AlterModelOptions( name='shoppingcartitem', options={'verbose...
[ "mwangyjose@gmail.com" ]
mwangyjose@gmail.com
f1ce3d0ba8ae07110c346dda91edaa7356e11913
d2df82be0a37c9fde9a1ecee34fbf311fd8b2840
/awesome_gans/sagan/sagan_train.py
3fc74c4963e2f4e90b5b14d0b029222310ce5c31
[ "MIT" ]
permissive
qqyouhappy/Awesome-GANs
a13ded69a043bc257966fcd3e71dc7a87b3f524f
0f01852abbac0497baa8cc309a580ba720c0478f
refs/heads/master
2022-12-22T14:42:56.765953
2020-10-05T14:53:01
2020-10-05T14:53:01
null
0
0
null
null
null
null
UTF-8
Python
false
false
6,134
py
import os import time import numpy as np import tensorflow as tf import awesome_gans.image_utils as iu import awesome_gans.sagan.sagan_model as sagan from awesome_gans.config import parse_args from awesome_gans.datasets import CelebADataSet as DataSet from awesome_gans.datasets import DataIterator cfg = parse_args()...
[ "kozistr@gmail.com" ]
kozistr@gmail.com
eacad1766cda661fcba77d56519716da6ba9aea3
0c325cf7a68ef51067ed8db566d525a20de5b635
/other/panda365/panda365/pd/conf/tests/test_api.py
bce8a29c452848ac5f2021879686f02beb3367f5
[]
no_license
alinzel/NOTES
2ab6aa1ef1d601a9ae8c0d23c0df2bca7e1aa241
3e0594641a605580e920d0b08a251fbc99f34e2f
refs/heads/master
2023-01-08T22:48:30.762625
2020-01-17T09:14:47
2020-01-17T09:14:47
175,339,492
0
0
null
2022-12-27T15:01:19
2019-03-13T03:28:08
HTML
UTF-8
Python
false
false
535
py
from pd.test_utils import assert_dict_like from pd.conf.factory import ConfFactory def test_get(client, db_session): conf = ConfFactory() url_tpl = '/v1/conf/{}' resp = client.get(url_tpl.format(conf.name)) assert resp.status_code == 200 assert_dict_like(resp.json, { 'name': conf.name, ...
[ "944951481@qq.com" ]
944951481@qq.com
dc177bf4ac10bb80f0ea2fae215f680358e4ea80
1da3173e935cb6d32ec3d9da7bf01ee91e6c3199
/sbt/utils/enumerators.py
02d6047c598a13a4f10128b8ac8b4229579a8cdb
[ "Apache-2.0" ]
permissive
PgBiel/sbt
492b99c254bda9b404a89c438b3e3f0f13f358b7
dfbca913751b13a251e335e271bee0e443d02afe
refs/heads/master
2022-01-23T09:59:19.289276
2019-06-06T00:32:20
2019-06-06T00:32:20
197,852,145
0
0
null
2019-07-19T22:54:27
2019-07-19T22:54:27
null
UTF-8
Python
false
false
1,030
py
""" /utils/enumeration.py Copyright (c) 2019 ShineyDev 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 b...
[ "contact@shiney.dev" ]
contact@shiney.dev
d3d27b0c4ef0f3a4e0890dfd6b88de514f40610e
4dc4345cca9c5f452bf4b87263505ee6b4e960af
/text_processing_exercise/letters_change_numbers.py
82fa25b63154fba7ad44fd25241f820d90ab2dd8
[]
no_license
ivan-yosifov88/python_fundamentals
88c7eb5167bbe6692b95051d1551496a84893524
1cfe6d18453362fc26be984f6cb871b9d7dec63d
refs/heads/master
2023-03-29T16:46:55.363035
2021-04-07T10:39:44
2021-04-07T10:39:44
341,604,297
0
0
null
null
null
null
UTF-8
Python
false
false
779
py
alphabet_dict = {} for index in range(1, 27): letter = 96 + index alphabet_dict[chr(letter)] = int(index) words_to_manipulate = input().split() total_sum = 0 for word in words_to_manipulate: first_letter = word[:1] second_letter = word[-1:] number = int(word[1:-1]) if first_letter.isupper(): ...
[ "ivan.yosifov88gmail.com" ]
ivan.yosifov88gmail.com
f20c7d5f767aae7d5913374a5a2ba3591d11f2dd
0e5aa2f88c770457e91289aa886c24d7faca0677
/viewport.py
601c4c33f5bc469663ed2cc056d465161ccebe44
[]
no_license
su8/pygobject-examples
54ea6dbb894ef735f87703ce60a6b5bdbad8c3e9
27c3f94b21a731628dac13bb0ad573474864839b
refs/heads/master
2021-04-03T09:39:05.614517
2016-11-12T20:55:12
2016-11-12T20:55:12
124,675,038
1
0
null
null
null
null
UTF-8
Python
false
false
693
py
#!/usr/bin/env python3 from gi.repository import Gtk window = Gtk.Window() window.connect("destroy", lambda q: Gtk.main_quit()) grid = Gtk.Grid() window.add(grid) viewport = Gtk.Viewport() viewport.set_size_request(200, 200) grid.attach(viewport, 0, 0, 1, 1) vadjustment = viewport.get_vadjustment() hadjustment = v...
[ "a@b.c" ]
a@b.c
f220eafb22d10d6f90076ad75da2189397169500
2f8f8171b3b996b0c866ede72367ec26f64eae39
/sampleproject/www/Project_Euler/problem001_050/problem024.py
4002e5d9acde3b0609b412965436d2994b511a5a
[]
no_license
kabaksh0507/exercise_python_it-1
da46edce09301b03a5351ee1885fb01eb69d8240
2b6c80a79494c9981e51bd03696c3aa19d6625ec
refs/heads/main
2023-03-04T03:12:44.188468
2021-02-08T08:55:36
2021-02-08T08:55:36
337,014,697
0
0
null
2021-02-08T08:57:30
2021-02-08T08:57:30
null
UTF-8
Python
false
false
2,561
py
'''Project Euler Problem 24''' def problem_24() -> str: '''Lexicographic permutations''' target_num = 1000000 pattern_list = list(range(10)) ret = search_pattern(target_num, pattern_list) return ret def search_pattern(target_num: int, select_list: list) -> str: ''' select_list内データを1つず...
[ "kazkitou9080@gmail.com" ]
kazkitou9080@gmail.com
bafe1e52daa3fcf78f8cf84a110dea1f2ed01737
3dcfa266c4b7321a4c3a224b98f9ca0dff891e47
/archives/prioque.py
869bdbf0ed3ff28d32db9ff399a170e2b25b858f
[]
no_license
CandyTt20/Notes
a2ef681d123c5219a29334e99aeb900b74bf1834
ec092f881122ebdd91ef9764ec7ce4d9cc4723ae
refs/heads/master
2022-08-21T18:08:33.204223
2020-05-19T23:55:49
2020-05-19T23:55:49
255,209,760
0
0
null
null
null
null
UTF-8
Python
false
false
821
py
class PrioQue(object): #! 线性表实现 def __init__(self, elist=[]): self._elist = list(elist) self._elist.sort(reverse=True) def insert_que(self, elem): i = len(self._elist) - 1 while i >= 0 and self._elist[i] < elem: i -= 1 self._elist.insert(i + 1, elem)...
[ "458566293@qq.com" ]
458566293@qq.com
b971c99a94802b5ef22c261ffe180a7af8d278a1
8924bd3df018bdee62a5e5d99069171771d9f459
/Important/aws-tutorial-code/lambda/lambda_read_pdf_s3_trigger.py
8e80689c37c5b36f7db72cf78b0876ed8c6100cf
[ "MIT" ]
permissive
abhi15sep/Lambda-Final
f5985dc1d2aef4965764ec452a5e2949d78a202b
fed8be8ddeb7325e594fb426bfcd0f388f3d0f67
refs/heads/master
2023-04-19T02:06:09.808966
2021-05-02T21:23:22
2021-05-02T21:23:22
336,569,860
1
0
null
null
null
null
UTF-8
Python
false
false
1,195
py
#-*- coding: utf-8 -*- __author__ = "Chirag Rathod (Srce Cde)" __license__ = "MIT" __email__ = "chiragr83@gmail.com" __maintainer__ = "Chirag Rathod (Srce Cde)" import json import boto3 import fitz def lambda_handler(event, context): """Read file from s3 on trigger.""" # boto3 client s3 = boto3.client("s3...
[ "abhaypratap3536@gmail.com" ]
abhaypratap3536@gmail.com
b0c708b3b1fb2ed265dffef8b360333c76f2466a
36b75aac4236e928e22552e8812abd45d32aecf1
/modules/dbnd/test_dbnd/tracking/callable_tracking/test_no_side_affects.py
22f25cdb1e1c99a40b646c2ce2536d287438fd2d
[ "Apache-2.0" ]
permissive
reloadbrain/dbnd
7793aa1864f678005de626068b0ac9361d637d65
ec0076f9a142b20e2f7afd886ed1a18683c553ec
refs/heads/master
2023-09-01T08:04:09.486666
2021-10-14T16:43:00
2021-10-14T16:43:00
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,701
py
import pickle from pytest import fixture from dbnd import config, task from dbnd._core.configuration.environ_config import get_max_calls_per_func @task def task_pass_through_result_param(result): assert isinstance(result, str) return str(result) @task def task_pass_through_args_kwargs(*args, **kwargs): ...
[ "roman.slipchenko@databand.ai" ]
roman.slipchenko@databand.ai
40354a15c13bfb900f01fee589091789eb0e071f
6c58da2c54a3d35273e7984313d181f1da9981fc
/Users/djangoEnv/bin/easy_install-2.7
d2fc7d4f26da40fa01f2c42ae4b7550560e15d0e
[ "MIT-0" ]
permissive
py1-10-2017/rgero215_PY1-10-2017
e582cb12cc63f84b1c0c14d09a922cb6cb228016
f455b335ec9c8c850571f3a75dcd95759b4cfdad
refs/heads/master
2021-09-04T03:23:48.062326
2018-01-14T21:07:26
2018-01-14T21:07:26
105,612,652
1
0
null
null
null
null
UTF-8
Python
false
false
288
7
#!/Users/RGero13/Desktop/rgero215_PY1-10-2017/Users/djangoEnv/bin/python # -*- coding: utf-8 -*- import re import sys from setuptools.command.easy_install import main if __name__ == '__main__': sys.argv[0] = re.sub(r'(-script\.pyw?|\.exe)?$', '', sys.argv[0]) sys.exit(main())
[ "rgero215@gmail.com" ]
rgero215@gmail.com
a57fceade629c698b6dbdd102db127049d794fb7
2db1a0038d26ccb6adc572b536cb5cd401fd7498
/tryTen/Lib/encodings/cp1257.py
32d59e2193388a7f2d6fec34bc4f71f8defb7941
[]
no_license
syurk/labpin
e795c557e7d7bcd4ff449cb9a3de32959a8c4968
04070dd5ce6c0a32c9ed03765f4f2e39039db411
refs/heads/master
2022-12-12T02:23:54.975797
2018-11-29T16:03:26
2018-11-29T16:03:26
159,692,630
0
1
null
2022-11-19T12:15:55
2018-11-29T16:04:20
Python
UTF-8
Python
false
false
13,374
py
""" Python Character Mapping Codec cp1257 generated from 'MAPPINGS/VENDORS/MICSFT/WINDOWS/CP1257.TXT' with gencodec.py. """#" import codecs ### Codec APIs class Codec(codecs.Codec): def encode(self,input,errors='strict'): return codecs.charmap_encode(input,errors,encoding_table) def decode(self,in...
[ "syurk738@students.bju.edu" ]
syurk738@students.bju.edu
9b3c07180d0aae51da6beadf9de05ef72f4b3789
83de24182a7af33c43ee340b57755e73275149ae
/aliyun-python-sdk-live/aliyunsdklive/request/v20161101/DeleteLiveStreamRecordIndexFilesRequest.py
b699537542cfd3d96cc4b06bcf2359fa98da73b4
[ "Apache-2.0" ]
permissive
aliyun/aliyun-openapi-python-sdk
4436ca6c57190ceadbc80f0b1c35b1ab13c00c7f
83fd547946fd6772cf26f338d9653f4316c81d3c
refs/heads/master
2023-08-04T12:32:57.028821
2023-08-04T06:00:29
2023-08-04T06:00:29
39,558,861
1,080
721
NOASSERTION
2023-09-14T08:51:06
2015-07-23T09:39:45
Python
UTF-8
Python
false
false
2,480
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...
[ "sdk-team@alibabacloud.com" ]
sdk-team@alibabacloud.com
a632af37ea6591032897d65fc5beb33456c14888
6b7f11270232000042d51f97f616c1a19c047389
/elepay/model/location_dto.pyi
a1dccde82442a223f0ad9e4dac8562e6718ab2f1
[]
no_license
elestyle/elepay-python-sdk
07e6bc8d0a42b5217a4144ab5632b0cc548aef58
36dd8502047df4c6f8eaba53e216bae25843c3c5
refs/heads/master
2023-02-04T08:47:15.287825
2023-01-24T02:28:45
2023-01-24T02:28:45
206,721,107
2
0
null
2023-01-24T02:15:52
2019-09-06T05:41:33
Python
UTF-8
Python
false
false
4,612
pyi
# coding: utf-8 """ elepay API リファレンス elepay APIはRESTをベースに構成された決済APIです。支払い処理、返金処理など、決済に関わる運用における様々なことができます。 # noqa: E501 The version of the OpenAPI document: 1.2.0 Contact: support@elestyle.jp Generated by: https://openapi-generator.tech """ from datetime import date, datetime # noqa: F401 imp...
[ "long.peng@elestyle.jp" ]
long.peng@elestyle.jp
79a9ca1ff80bd0b65d9154b7ec175969fbb27012
bcabd9b183bc011e1ccf7e367fbed0dcaa03eee6
/1 PYTHON/1 EDUREKA/EDUREKA OLD/15 Flow Control.py
5477c0e3805419ff7305edd254f4bc304944ea76
[]
no_license
rajeshsvv/Lenovo_Back
287fe4da2c696aa248ec57a4c45c4f234f6ca9ed
7e49e38aaf934c65f9992a78404d2b81a4cd0204
refs/heads/master
2022-12-23T16:44:41.488128
2019-08-29T10:00:10
2019-08-29T10:00:10
204,859,914
0
1
null
2022-12-10T11:50:31
2019-08-28T06:05:35
Python
UTF-8
Python
false
false
543
py
''' marks=20 if(marks>80) and (marks<=100): print("GRADE A") elif(marks>60) and (marks<=80): print("GRADE B") elif(marks>40) and (marks<=60): print("GRADE C") elif marks>=20 and marks<=40: print("GRADE D") else: print("Please Enter Marks in between range 0 to 100") ''' #while loop add numbers upto ...
[ "rajeshsvv01@gmail.com" ]
rajeshsvv01@gmail.com
c27112ab8dbb9ade9e181d280ddd8534a8a5ca75
78d0d278d72afb500fc68ee3a45c39b80ccf193c
/utils/logging.py
795095f1c4e80a53d50aa23ec714fb3b77caa422
[]
no_license
mzq308734881/P2Net.pytorch
b56e501e2257b8b017f96cc70f8ba724cb8ee83f
5e40745d0cba647dc02a9f6ea114e326e26e3a0a
refs/heads/master
2022-12-25T04:28:26.198875
2020-10-07T16:42:35
2020-10-07T16:42:35
null
0
0
null
null
null
null
UTF-8
Python
false
false
969
py
from __future__ import absolute_import import os import errno import sys class Logger(object): def __init__(self, fpath=None): self.console = sys.stdout self.file = None if fpath is not None: try: os.makedirs(os.path.dirname(fpath)) except OSError as...
[ "jyguo@pku.edu.cn" ]
jyguo@pku.edu.cn
c671abade50acf9f857984a8cb57729e163f7ba9
0d9ba36b3efd76c369e7e64c995730d51bc62c0c
/Evaluation/TrainPOW2.py
a57c5fbb18ebbdce9bfb6a7bb4cf27a2a9ff2e58
[ "MIT" ]
permissive
sagieppel/Generator-evaluator-selector-net-a-modular-approach-for-panoptic-segmentation
5b797a16d5a351a628f990276cede44fd356295a
5d482ed471054e85d6a63b7357b2de404ffa6ec6
refs/heads/master
2023-04-30T08:14:24.804209
2023-04-26T01:25:00
2023-04-26T01:25:00
204,122,232
15
4
null
null
null
null
UTF-8
Python
false
false
10,131
py
# Train the net (in train.py) # 1) Download COCO panoptic dataset and train images from [here](http://cocodataset.org/#download) # 2) Set the path to COCO train images folder in the ImageDir parameter # 3) Set the path to COCO panoptic train annotations folder in the AnnotationDir parameter # 4) Set the path to COCO ...
[ "sagieppel@gmail.com" ]
sagieppel@gmail.com
421316f64e6767eb54d7e1b4351d921a48b5a002
e57d7785276053332c633b57f6925c90ad660580
/sdk/recoveryservices/azure-mgmt-recoveryservicesbackup/azure/mgmt/recoveryservicesbackup/aio/operations/_protection_policy_operation_results_operations.py
7f2085e9859ca31d51d469884b033b61357d8c8b
[ "MIT", "LicenseRef-scancode-generic-cla", "LGPL-2.1-or-later" ]
permissive
adriananeci/azure-sdk-for-python
0d560308497616a563b6afecbb494a88535da4c5
b2bdfe659210998d6d479e73b133b6c51eb2c009
refs/heads/main
2023-08-18T11:12:21.271042
2021-09-10T18:48:44
2021-09-10T18:48:44
405,684,423
1
0
MIT
2021-09-12T15:51:51
2021-09-12T15:51:50
null
UTF-8
Python
false
false
5,236
py
# coding=utf-8 # -------------------------------------------------------------------------- # Copyright (c) Microsoft Corporation. All rights reserved. # Licensed under the MIT License. See License.txt in the project root for license information. # Code generated by Microsoft (R) AutoRest Code Generator. # Changes may ...
[ "noreply@github.com" ]
adriananeci.noreply@github.com
2a5e83c5e9b26ae41173ccc7e6577802969b9966
3db89b4f5ada46de1534e65e1ddf38d5fb10202a
/cookiespostform/testapp/views.py
ad081fc8a6ad25b3cd0f4929773c837725a95232
[]
no_license
abhinav375/DjangoProjects
42a5744527a5cf170daa2af3369e5652a5e87591
9d7de14631f8e2b57c66b517da240e36872b11c3
refs/heads/master
2022-11-12T14:05:51.983610
2020-07-11T08:32:59
2020-07-11T08:32:59
278,821,227
0
0
null
null
null
null
UTF-8
Python
false
false
1,389
py
from django.shortcuts import render from . import forms # Create your views here. '''COOKIES CODE''' def index(request): form=forms.studentRegustration() response=render(request,'testapp/wish.html',{'form':form}) if request.method=='POST': print('inside post') form=forms.studentRegustration...
[ "you@example.com" ]
you@example.com
eaf5393d03c4bfada9933355ce396fc33623620d
584e9c42e6240b9facc866703a6f26b06773df94
/Oreilly/index_power.py
16e65372a6b847c25ea55fe8a59c26a35c99ad56
[]
no_license
anton-dovnar/checkio
48fbaf84c244b0fca7bed5cf7f34179cf850adf9
10aed757ec36f182871a03ed8c9e73319cc8824a
refs/heads/master
2023-03-24T16:23:39.524060
2021-03-12T13:07:04
2021-03-12T13:07:04
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,487
py
#!/home/fode4cun/.local/share/virtualenvs/checkio-ufRDicT7/bin/checkio --domain=py run index-power # You are given an array with positive numbers and a number N. You should find the N-th power of the element in the array with the index N. If N is outside of the array, then return -1. Don't forget that the first ele...
[ "fode4cun@gmail.com" ]
fode4cun@gmail.com
62ed34b4b13a2835dc9d930611c8f042e571d23f
fc023464f57fd32d404682ed80d49ac70236db3b
/denovo_SDA.smk
920e585fc85abf2015e8333ac5d371ad58e6c29d
[ "MIT" ]
permissive
tw7649116/SDA
d64dfd78c6dd82e0b6ce29d9f1d7c23af4d3242a
1ef2f89a1ca277ffc2c85b5251a5038fc09786e8
refs/heads/master
2020-11-28T17:59:05.820059
2019-12-19T19:34:27
2019-12-19T19:34:27
null
0
0
null
null
null
null
UTF-8
Python
false
false
20,114
smk
import os import sys import tempfile import numpy as np import re import pysam from collections import Counter from Bio import SeqIO import pandas as pd import tempfile snake_dir = os.path.dirname(workflow.snakefile) + "/" CWD = os.getcwd() python3 = f"cd {snake_dir} && source env_sda.sh && cd {snake_dir}envs/ && ...
[ "mrvollger@gmail.com" ]
mrvollger@gmail.com
d368191c4b07a6fe52a4920118299fd10d73bf23
9df2fb0bc59ab44f026b0a2f5ef50c72b2fb2ceb
/sdk/containerservice/azure-mgmt-containerservice/azure/mgmt/containerservice/v2021_09_01/aio/operations/_snapshots_operations.py
5b62b8146db604663959850f0fb0470a54a72c31
[ "MIT", "LGPL-2.1-or-later", "LicenseRef-scancode-generic-cla" ]
permissive
openapi-env-test/azure-sdk-for-python
b334a2b65eeabcf9b7673879a621abb9be43b0f6
f61090e96094cfd4f43650be1a53425736bd8985
refs/heads/main
2023-08-30T14:22:14.300080
2023-06-08T02:53:04
2023-06-08T02:53:04
222,384,897
1
0
MIT
2023-09-08T08:38:48
2019-11-18T07:09:24
Python
UTF-8
Python
false
false
27,220
py
# pylint: disable=too-many-lines # coding=utf-8 # -------------------------------------------------------------------------- # Copyright (c) Microsoft Corporation. All rights reserved. # Licensed under the MIT License. See License.txt in the project root for license information. # Code generated by Microsoft (R) AutoRe...
[ "noreply@github.com" ]
openapi-env-test.noreply@github.com
2e1af657659894cbd7a5d9684965d24d2015b4b0
82fce9aae9e855a73f4e92d750e6a8df2ef877a5
/Lab/venv/lib/python3.8/site-packages/OpenGL/GL/ARB/separate_shader_objects.py
a90c2006467db131f2aec16f7fbfdfce037f58f3
[]
no_license
BartoszRudnik/GK
1294f7708902e867dacd7da591b9f2e741bfe9e5
6dc09184a3af07143b9729e42a6f62f13da50128
refs/heads/main
2023-02-20T19:02:12.408974
2021-01-22T10:51:14
2021-01-22T10:51:14
307,847,589
0
0
null
null
null
null
UTF-8
Python
false
false
11,289
py
'''OpenGL extension ARB.separate_shader_objects This module customises the behaviour of the OpenGL.raw.GL.ARB.separate_shader_objects to provide a more Python-friendly API Overview (from the spec) Conventional GLSL requires multiple shader stages (vertex, fragment, geometry, tessellation control, and tessellati...
[ "rudnik49@gmail.com" ]
rudnik49@gmail.com
567a743c25df140f8aaac2ceef3ce8511d071da6
b1e7286dbd522cd5eecd7b686d446f1645681f66
/src/backend/datasets/migrations/0015_proj_exp_run_unique.py
35a96b742c3023906426a34aa931b838743710a2
[]
no_license
glormph/kantele
69f9c040a885b7b4ff412db945fafb7b4cfc7c07
6b8dfea90968ad34db95e2c0e37289288330f6d3
refs/heads/master
2023-08-07T13:51:32.595737
2023-07-20T09:15:02
2023-07-20T09:15:02
7,146,448
3
2
null
2023-09-13T08:20:15
2012-12-13T10:25:42
Python
UTF-8
Python
false
false
696
py
from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('datasets', '0014_merge_duplicate_projects'), ] operations = [ migrations.AlterField( model_name='project', name='name', field=models.TextField(unique=Tru...
[ "jorrit.boekel@scilifelab.se" ]
jorrit.boekel@scilifelab.se
7b5b2cfee06f7fc847e10c4a981a7a5955ab1d0b
11aaeaeb55d587a950456fd1480063e1aed1d9e5
/.history/ex45-test_20190608175151.py
f62ed598c4c6b6f8d7975013b865de111467448e
[]
no_license
Gr4cchus/Learn-Python-3-The-Hard-Way
8ce9e68f6a91ea33ea45fe64bfff82d65422c4a8
f5fa34db16cdd6377faa7fcf45c70f94bb4aec0d
refs/heads/master
2020-05-17T23:18:29.483160
2019-06-26T18:42:52
2019-06-26T18:42:52
184,023,439
0
0
null
null
null
null
UTF-8
Python
false
false
423
py
class Room1(): def enter(): print("You enter room 1") class Room2(): def enter(): print("You enter room 2") class Map(): def __init__(self, starting_room): self.starting_room = starting_room self.locations = { 'room1': Room1, 'room2': Room2 ...
[ "ahivent@gmail.com" ]
ahivent@gmail.com
4ac036ed6281c7ea308ec337312bb37f199de5f4
a3d058c6a80d4068fa4d3185ddd2dec91abc82d7
/merge_sort.py
ec31be8a8d73eaaca1cf87b074ff8b196a0dcbc5
[]
no_license
guard1000/Everyday-coding
d6f496654b635738a4284270f6c5d285116a760e
7755f99cdb512d623392af82282bf17b47cb77f2
refs/heads/master
2021-08-18T22:26:04.322162
2021-07-21T14:53:28
2021-07-21T14:53:28
161,440,626
1
0
null
null
null
null
UTF-8
Python
false
false
1,160
py
def mergeSort(alist): if len(alist)>1: mid = len(alist)//2 #mid를 기준으로 lefthalf = alist[:mid] #리스트 슬라이싱으로 분할 righthalf = alist[mid:] mergeSort(lefthalf) #재귀 호출 mergeSort(righthalf) i=0 j=0 k=0 while i < len(lefthalf) and j < len(right...
[ "cjsdnr885@naver.com" ]
cjsdnr885@naver.com
8ea75956b53a4c9c5448c8251610a48c0c984be0
83bacfbdb7ad17cbc2fc897b3460de1a6726a3b1
/third_party/WebKit/Tools/Scripts/webkitpy/layout_tests/port/base.py
f62dd5e8c630d27738b184ae6a50ad9abd9d2104
[ "BSD-3-Clause", "LGPL-2.0-or-later", "LicenseRef-scancode-warranty-disclaimer", "LGPL-2.1-only", "GPL-1.0-or-later", "GPL-2.0-only", "LGPL-2.0-only", "BSD-2-Clause", "LicenseRef-scancode-other-copyleft", "Apache-2.0" ]
permissive
cool2528/miniblink49
d909e39012f2c5d8ab658dc2a8b314ad0050d8ea
7f646289d8074f098cf1244adc87b95e34ab87a8
refs/heads/master
2020-06-05T03:18:43.211372
2019-06-01T08:57:37
2019-06-01T08:59:56
192,294,645
2
0
Apache-2.0
2019-06-17T07:16:28
2019-06-17T07:16:27
null
UTF-8
Python
false
false
78,674
py
# Copyright (C) 2010 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 of conditions and the ...
[ "22249030@qq.com" ]
22249030@qq.com
0c66d8a9ced9f7ec361a037765805fa6792abdb6
072e68a2edddd98e3d534207169e9bbd0dda86d1
/math_/math_floor.py
4765869282478340137655799f4efff8588d714f
[]
no_license
raul-jr3/PyTuts
22f6171476f707acdb5beb80fc7974202c765717
546d92676ce5790a5865349ff11adc35b245bb09
refs/heads/master
2020-03-07T09:34:18.240237
2018-03-30T12:43:34
2018-03-30T12:43:34
127,411,063
0
0
null
null
null
null
UTF-8
Python
false
false
464
py
import math # FLOOR # the floor function returns the largest integer which is less than or equal to the # number on which floor is applied a = 23.66 # so when the floor is applied on 23.66 the greatest value which is <= 23.66 is 23.0 result = math.floor(a) # so this returns 23.0 print(result) # and if we have a ...
[ "rahul.srivatsav1995@gmail.com" ]
rahul.srivatsav1995@gmail.com
aff6565707f7b4e3ab9e9b6d44ff5ca4a8df9e0f
e35fd52fe4367320024a26f2ee357755b5d5f4bd
/leetcode/problems/1227.airplane-seat-assignment-probability.py
5ea53e78f549aa1ca11296ef89c68e5f4bb6a8f1
[]
no_license
liseyko/CtCI
a451967b0a0ce108c491d30b81e88d20ad84d2cd
c27f19fac14b4acef8c631ad5569e1a5c29e9e1f
refs/heads/master
2020-03-21T14:28:47.621481
2019-11-12T22:59:07
2019-11-12T22:59:07
138,658,372
0
0
null
null
null
null
UTF-8
Python
false
false
1,084
py
# # @lc app=leetcode id=1227 lang=python3 # # [1227] Airplane Seat Assignment Probability # # https://leetcode.com/problems/airplane-seat-assignment-probability/description/ # # algorithms # Medium (61.16%) # Total Accepted: 2.6K # Total Submissions: 4.2K # Testcase Example: '1' # # n passengers board an airplane w...
[ "liseyko@gmail.com" ]
liseyko@gmail.com
f0f8a062872fffa9fc34360a0ee4a31e40c80774
e5453b6a4b84a32ccca7281d438b7a7fa1853f58
/src/hmm/checks/huawei_hmm_mezz28_check.py
96fe9b7fb699bad7f1d4588465e23c627a7e1565
[ "MIT" ]
permissive
Huawei/Server_Management_Plugin_Check_MK
88445d9da581c347c5e82cf590453c4cb2c3d53c
88398c7c8affe0b2064f418de931d69e36afde67
refs/heads/master
2021-05-11T11:40:55.302518
2021-01-27T09:53:17
2021-01-27T09:53:17
117,641,709
1
4
null
2018-01-31T05:38:01
2018-01-16T06:30:39
null
UTF-8
Python
false
false
1,244
py
#!/usr/bin/python # -*- encoding: utf-8; py-indent-offset: 4 -*- # check_mk 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 in version 2. check_mk is distributed # in the hope that it will be useful, but...
[ "31431891+serverplugin@users.noreply.github.com" ]
31431891+serverplugin@users.noreply.github.com
62627307352f8f7f4837cc9fa705a66e90b039fa
7950c4faf15ec1dc217391d839ddc21efd174ede
/leetcode-cn/0070.0_Climbing_Stairs.py
2f2e3545798d3174f99fdd72378d905d9ded0543
[]
no_license
lixiang2017/leetcode
f462ecd269c7157aa4f5854f8c1da97ca5375e39
f93380721b8383817fe2b0d728deca1321c9ef45
refs/heads/master
2023-08-25T02:56:58.918792
2023-08-22T16:43:36
2023-08-22T16:43:36
153,090,613
5
0
null
null
null
null
UTF-8
Python
false
false
1,089
py
''' DP 执行用时:48 ms, 在所有 Python3 提交中击败了10.11% 的用户 内存消耗:14.9 MB, 在所有 Python3 提交中击败了59.27% 的用户 通过测试用例:45 / 45 ''' class Solution: def climbStairs(self, n: int) -> int: a = b = 1 for _ in range(n - 1): a, b = b, a + b return b ''' DFS + memo 执行用时:40 ms, 在所有 Python3 提交中击败了10.11% 的用...
[ "laoxing201314@outlook.com" ]
laoxing201314@outlook.com
0218c00f09c5f1dc0f0d683789c457b31b05923c
e3365bc8fa7da2753c248c2b8a5c5e16aef84d9f
/indices/nnbulwark.py
75a4fc3fcf6cc2f77b80571218d82f60eea06c2a
[]
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
571
py
ii = [('CookGHP3.py', 2), ('KembFFF.py', 2), ('GodwWSL2.py', 1), ('WilbRLW4.py', 1), ('AubePRP2.py', 1), ('MartHSI2.py', 1), ('WilkJMC3.py', 3), ('LeakWTI3.py', 1), ('MarrFDI3.py', 2), ('WilbRLW2.py', 1), ('ClarGE2.py', 1), ('CarlTFR.py', 2), ('TalfTAC.py', 1), ('CookGHP2.py', 2), ('BailJD1.py', 1), ('LyelCPG.py', 1), ...
[ "varunwachaspati@gmail.com" ]
varunwachaspati@gmail.com
7a4d0807aba6f1a6a45123141383320c7e47457b
76e6d4f93078327fef8672133fc75a6f12abc240
/ABC115/B.py
a7a98c56a06aeac07943f556983967b981e0dbbc
[]
no_license
adusa1019/atcoder
1e8f33253f6f80a91d069b2f3b568ce7a2964940
f7dbdfc021425160a072f4ce4e324953a376133a
refs/heads/master
2021-08-08T04:41:36.098678
2021-02-01T07:34:34
2021-02-01T07:34:34
89,038,783
0
0
null
null
null
null
UTF-8
Python
false
false
267
py
def solve(string): ins = list(map(int, string.split("\n")))[1:] ins.sort() ins[-1] //= 2 return str(sum(ins)) if __name__ == '__main__': n = int(input()) ins = [input() for _ in range(n)] print(solve("{}\n{}".format(n, "\n".join(ins))))
[ "symphony20030829@yahoo.co.jp" ]
symphony20030829@yahoo.co.jp
540f50617caf6c1021261198e47bb8183bc6dc47
9879c8a1f1ac5884d9220e51c6256bb651fc800e
/pyot/utils/locks.py
685040cb08256a4e767a743a6490ad93cd67e174
[ "MIT" ]
permissive
rasmusdoh/Pyot
d260ee37b59cca026c9edd3e9be85f2197604df6
de5065c55f171bb39691ddc76da99c5f16da94d9
refs/heads/master
2023-08-05T15:56:17.726457
2021-09-15T20:59:39
2021-09-15T20:59:39
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,887
py
from threading import Lock import asyncio try: # Delay exception if aioredlock is not installed from aioredlock import Aioredlock except ModuleNotFoundError as e: Aioredlock = e from .eventloop import LoopSensitiveManager class SealLock: ''' An asynchronous threading Lock. The event loop won't be bl...
[ "paaksingtech@gmail.com" ]
paaksingtech@gmail.com
2eccd7e9659193d54269e649310e0f205b2c5d00
777b5c266360b29b6d4af916726abd5d364b74a1
/mypy_stubs/django/core/files/uploadhandler.pyi
3950a128c4d65f66db341a6e76f3740782aca4ee
[]
no_license
uryyyyyyy/django-graphql
44d08afc3e44514270d1d5c183caa9d1c1cf3f88
f3d6513d2325a8e675e47500cc71d8ef56c01537
refs/heads/master
2021-06-10T11:11:45.110271
2019-02-28T07:39:54
2019-02-28T07:39:54
172,325,424
0
0
null
2021-04-20T17:56:57
2019-02-24T10:44:31
Python
UTF-8
Python
false
false
1,972
pyi
# Stubs for django.core.files.uploadhandler (Python 3) # # NOTE: This dynamically typed stub was automatically generated by stubgen. from typing import Any, Optional class UploadFileException(Exception): ... class StopUpload(UploadFileException): connection_reset: Any = ... def __init__(self, connection_rese...
[ "koki@anymindgroup.com" ]
koki@anymindgroup.com
5fa8d2290732c1766a64213648e7761131dda078
060c409f2b6282e1bf08a2101eb09be5f0927c4e
/pp_medialist.py
a16ac2bfa38225e93c76b54987c80beda8c3c65f
[ "LicenseRef-scancode-warranty-disclaimer", "LicenseRef-scancode-mit-taylor-variant" ]
permissive
KenT2/pipresents-gapless
cf850951e1c5911524c8e984d72df1621867c556
31a347bb8b45898a3fe08b1daf765e31d47b7a87
refs/heads/master
2022-01-30T06:41:41.601213
2022-01-08T17:22:24
2022-01-08T17:22:24
22,849,661
219
47
NOASSERTION
2021-09-20T09:09:31
2014-08-11T18:23:30
Python
UTF-8
Python
false
false
11,281
py
import json import copy import string import random from pp_utils import Monitor """ 31/12/2016 - fixed crash if mediashow id shffled and there is one track - taks Drew Keller """ # ************************************* # MEDIALIST CLASS # ************************************ class MediaList(object): """ ma...
[ "ken@jksthompson.plus.com" ]
ken@jksthompson.plus.com
7db42065296d3a546b8f9ca6e08852751979f507
b2d3bd39b2de8bcc3b0f05f4800c2fabf83d3c6a
/examples/pwr_run/checkpointing/final/high_overhead/job74.py
220089b171b01acea0550fae22e4fd603da2fcd0
[ "MIT" ]
permissive
boringlee24/keras_old
3bf7e3ef455dd4262e41248f13c04c071039270e
1e1176c45c4952ba1b9b9e58e9cc4df027ab111d
refs/heads/master
2021-11-21T03:03:13.656700
2021-11-11T21:57:54
2021-11-11T21:57:54
198,494,579
0
0
null
null
null
null
UTF-8
Python
false
false
7,348
py
""" #Trains a ResNet on the CIFAR10 dataset. """ from __future__ import print_function import keras from keras.layers import Dense, Conv2D, BatchNormalization, Activation from keras.layers import AveragePooling2D, Input, Flatten from keras.optimizers import Adam from keras.callbacks import ModelCheckpoint, LearningRa...
[ "baolin.li1994@gmail.com" ]
baolin.li1994@gmail.com
f808a718f5ebd272a9b31cf79d0915365ebb039c
e90c47a620bceb24403728853caf60e97368dcb8
/xnr_0429/xnr/facebook/fb_operate.py
0c64a67ba8793aadb0cf8148eaf28970786eb5f7
[]
no_license
yuanhr/xnr1
d31af93fcdeb8c24752c6cdf7cce819bd4c4cbf8
a8211c9bb299e063c2e5aeaca927ed0bc97d82ab
refs/heads/master
2021-07-10T03:23:45.812991
2018-05-07T07:14:38
2018-05-07T07:14:38
96,008,450
0
0
null
2017-07-02T07:21:04
2017-07-02T07:21:04
null
UTF-8
Python
false
false
15,539
py
#!/usr/bin/env python # encoding: utf-8 import requests from selenium import webdriver from selenium.webdriver.support.wait import WebDriverWait from selenium.webdriver.support import expected_conditions as EC import time import json from lxml import etree import re from pybloom import BloomFilter from selenium.webdri...
[ "1257819385@qq.com" ]
1257819385@qq.com
dae1a76cf051ae977abd68756071be26c70941dd
0db19410e9751790af8ce4a0a9332293e379c02f
/configs/animal_2d_keypoint/topdown_heatmap/ak/td-hm_hrnet-w32_8xb32-300e_animalkingdom_P3_amphibian-256x256.py
5a83e7a97b9478031f7ca4dcc4dccba0350d432d
[ "Apache-2.0" ]
permissive
open-mmlab/mmpose
2c9986521d35eee35d822fb255e8e68486026d94
537bd8e543ab463fb55120d5caaa1ae22d6aaf06
refs/heads/main
2023-08-30T19:44:21.349410
2023-07-04T13:18:22
2023-07-04T13:18:22
278,003,645
4,037
1,171
Apache-2.0
2023-09-14T09:44:55
2020-07-08T06:02:55
Python
UTF-8
Python
false
false
4,070
py
_base_ = ['../../../_base_/default_runtime.py'] # runtime train_cfg = dict(max_epochs=300, val_interval=10) # optimizer optim_wrapper = dict(optimizer=dict( type='AdamW', lr=5e-4, )) # learning policy param_scheduler = [ dict( type='LinearLR', begin=0, end=500, start_factor=0.001, by_epoc...
[ "noreply@github.com" ]
open-mmlab.noreply@github.com
385fe72cda2198ecc51b116e6215cc8c0d8e7955
161dcb4b1f3939231728e91a8129a2571842d23a
/unit_09/4.py
8932eb0bf69d1f4f441ffe3adeef6786a7aeed3f
[]
no_license
bm1120836/21-python
3162896e1b9e41d57c4249ea5f3bcaf06eef0361
8924f9b53e68b08f9203f48b215ea5b3a420d075
refs/heads/master
2023-05-03T16:11:42.864607
2015-10-01T13:26:29
2015-10-01T13:26:29
null
0
0
null
null
null
null
UTF-8
Python
false
false
618
py
filename = 'examples/portfolio.csv' a_file = open(filename) a_str = a_file.read() print(a_str) print(a_file.name) print(a_file.encoding) print(a_file.mode) print('file seek') print(a_file.seek(0)) print('file read(16)') print(a_file.read(16)) print('file read(1)') print(a_file.read(1)) print('file tell') print(a_file...
[ "janusnic@gmail.com" ]
janusnic@gmail.com
a0c52d2269793b3e8ea7cec09cd1a740d775da41
a80874300e561174068bf510608465bb318a35f2
/guhaisong/edu_information/edu_information/spiders/news_eastday_com_gd2008_world_62.py
0940c07215ded42feab0cfe34bd4e13ab71c2176
[]
no_license
lemonbiz/guhaisong
effa8af4b679511e4fa8017d71fe26ab2ce51392
029890f8e3c6954efdefb184fa077f2ce646d1df
refs/heads/master
2022-12-13T08:21:37.911535
2020-09-15T16:15:10
2020-09-15T16:15:10
null
0
0
null
null
null
null
UTF-8
Python
false
false
8,061
py
# -*- coding: utf-8 -*- import datetime import scrapy from urllib.parse import urljoin from edu_information.commom.commom_method import summay_slice,title_slice,keyman_slice,writer_slice,news_source_slice,requests_detail_page import re,time from edu_information.commom.custom_settings import * from edu_information.comm...
[ "xjl12322@126.com" ]
xjl12322@126.com
b35f1a4ab850ed9cdbf6edf18e90c57f3efa4b87
14028bea18dcd4f89fca2306bf51dcbf6acabb44
/apps/accounts/migrations/0032_auto_20170519_1322.py
b8a64807200ec938e87b45d1deac6b6a1e3a2b96
[ "LicenseRef-scancode-unknown-license-reference", "Apache-2.0" ]
permissive
CMSgov/bluebutton-web-server
5694c7149d9f2f6efed9a2814c928d8a7539e4cb
fb0904c0b9d77dfb00523fe6ce69b946b640441e
refs/heads/master
2023-09-01T18:17:31.088628
2023-08-25T20:43:14
2023-08-25T20:43:14
50,062,960
30
33
NOASSERTION
2023-09-14T10:24:34
2016-01-20T21:52:00
Python
UTF-8
Python
false
false
1,783
py
# -*- coding: utf-8 -*- # Generated by Django 1.9.5 on 2017-05-19 13:22 from __future__ import unicode_literals from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('accounts', '0031_auto_20170517_1350'), ] operations = [ migrations.AddField(...
[ "aviars@videntity.com" ]
aviars@videntity.com
7f1badc4cc8eeef844cccd8d948e1135d2df5301
50cce7441685fdc5b9d1bd2b80272078f637e7c9
/SingleTop/test/macros/ZjetSF_2.py
e7b64f1dc42fe10dff576632df9ae006aecf38c1
[]
no_license
dnoonan08/tWAnalysisCode
4b622177f9401007cf873a295d71b1cee4140396
34a3ed1cc92ff317bbebc6c54cb634d32572999a
refs/heads/master
2021-01-19T20:18:42.857885
2014-12-31T04:20:47
2014-12-31T04:20:47
22,884,401
1
0
null
null
null
null
UTF-8
Python
false
false
1,169
py
#!/usr/bin/env python ###SF from the Zpeak0jets region metbins = [ 10, 20, 30, 40, 50, 60, 9999] sf = [[0.8938539148917144, 0.94500843235182508, 1.0442753286019268, 1.1831266443479298, 1.3636037004840249, 1.5927083462800735, 1.9687105145585893], [0.82970539332200888, 0.8767422169...
[ "dnoonan@cern.ch" ]
dnoonan@cern.ch
7090d09db83db6c9378b938bdb72d854637a8cf9
c9ddbdb5678ba6e1c5c7e64adf2802ca16df778c
/cases/synthetic/sieve-big-7012.py
91416980ccf25d9abc1e69bb70203ae9d9d13bf2
[]
no_license
Virtlink/ccbench-chocopy
c3f7f6af6349aff6503196f727ef89f210a1eac8
c7efae43bf32696ee2b2ee781bdfe4f7730dec3f
refs/heads/main
2023-04-07T15:07:12.464038
2022-02-03T15:42:39
2022-02-03T15:42:39
451,969,776
0
0
null
null
null
null
UTF-8
Python
false
false
31,749
py
# A resizable list of integers class Vector(object): items: [int] = None size: int = 0 def __init__(self:"Vector"): self.items = [0] # Returns current capacity def capacity(self:"Vector") -> int: return len(self.items) # Increases capacity of vector by one element def incr...
[ "647530+Virtlink@users.noreply.github.com" ]
647530+Virtlink@users.noreply.github.com