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
3bf4da9a52cae3cf7c525d5f5a47adb92982f162
f576f0ea3725d54bd2551883901b25b863fe6688
/sdk/cognitiveservices/azure-cognitiveservices-language-textanalytics/azure/cognitiveservices/language/textanalytics/models/entity_record.py
ba9796142272c884a836b15f709e0b3fd9408a17
[ "LicenseRef-scancode-generic-cla", "MIT", "LGPL-2.1-or-later" ]
permissive
Azure/azure-sdk-for-python
02e3838e53a33d8ba27e9bcc22bd84e790e4ca7c
c2ca191e736bb06bfbbbc9493e8325763ba990bb
refs/heads/main
2023-09-06T09:30:13.135012
2023-09-06T01:08:06
2023-09-06T01:08:06
4,127,088
4,046
2,755
MIT
2023-09-14T21:48:49
2012-04-24T16:46:12
Python
UTF-8
Python
false
false
2,689
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 ...
[ "noreply@github.com" ]
Azure.noreply@github.com
ddb3e9b8d28fd7eb095948ffb925e56cb7192722
27cd801b3ba0b3ba2ee59a271233cca3f7429814
/Chapitre_11/lcditeur.py
e243f2d92ee80775183044e1c34f21302d627234
[]
no_license
EditionsENI/python-raspberrypi
cede811431d1d38eaaeb60f8e8799306ae059127
6c9202f386dd82256293823716cf7bba5df52e00
refs/heads/master
2021-01-12T13:51:51.885021
2016-09-25T23:51:28
2016-09-25T23:51:28
69,197,350
3
0
null
null
null
null
UTF-8
Python
false
false
2,523
py
#!/usr/bin/env python3 from tkinter.messagebox import * from lcd16x2 import LCD16x2 from tkinter import * class LCDiteur(Frame): def __init__(self, parent=None): Frame.__init__(self, parent) self.pack(expand=YES, fill=BOTH) self.nom_editeur = self.__class__.__name__ self.creer_compo...
[ "monsieurp@gentoo.org" ]
monsieurp@gentoo.org
1b9f2172209124d0ad4cac0bd5af8f2a861c419e
c5d87c7f25e3fe9b17c1e88993b0ed6831e52acb
/PAM/core/SendDataYunHost.py
fc78e016c224992b071924b337372694c95bbcd5
[]
no_license
GIS90/python_base_use
e55d55f9df505dac45ddd332fb65dcd08e8e531f
7166ca85975bb7c56a5fbb6b723fd8300c4dd5d1
refs/heads/master
2020-04-02T08:33:49.461307
2018-10-23T03:33:41
2018-10-23T03:33:41
154,249,857
1
1
null
null
null
null
UTF-8
Python
false
false
3,511
py
# -*- coding: utf-8 -*- """ 定义一个SocketClient类进行数据传输,此类为客户端 """ import socket from Log import * import time class TCPClient(object): def __init__(self, HOST, PORT): """ TCPClient初始化,所需参数为Socket连接的IP,PORT """ try: self.__address = (HOST, PORT) ...
[ "mingliang.gao@qunar.com" ]
mingliang.gao@qunar.com
057ef87dfe6fb049d6795e841b1444ddd6390661
fd48fba90bb227017ac2da9786d59f9b9130aaf0
/digsby/src/oscar/snac/family_x02.py
2bfc6a754a4b8abe7526c3807b0d8b4b896a07e9
[ "Python-2.0", "LicenseRef-scancode-unknown-license-reference" ]
permissive
niterain/digsby
bb05b959c66b957237be68cd8576e3a7c0f7c693
16a62c7df1018a49eaa8151c0f8b881c7e252949
refs/heads/master
2021-01-18T10:07:10.244382
2013-11-03T02:48:25
2013-11-03T02:48:25
5,991,568
1
0
null
2013-11-03T02:48:26
2012-09-28T02:24:50
Python
UTF-8
Python
false
false
7,300
py
import struct import logging import util import oscar x02_name="Location" log = logging.getLogger('oscar.snac.x02') subcodes = {} # ignorable error messages ignorable = [ (2,4), # Recipient is not logged in ] @util.gen_sequence def x02_init(o, sock, cb): ###...
[ "mdougherty@tagged.com" ]
mdougherty@tagged.com
2d5f23df99d6241640ba2d2caa267ddafd3e69ec
88ea7bf2bbc8ffba551e881df553ae5ceac70dd6
/deblock/codes/test_Xiph_with_GT.py
ec78f3078d9be3486555dbf044d6f18e172fd027
[ "Apache-2.0" ]
permissive
zhouhuanxiang/repo-zhx
2d1135bb2f925e051e1b0bcfc2ed53fb34ea51c5
76b577eea13130c60bf7bff8c486f51766128661
refs/heads/main
2023-06-10T02:56:17.978649
2021-06-29T02:35:57
2021-06-29T02:35:57
381,213,557
0
0
null
null
null
null
UTF-8
Python
false
false
10,335
py
''' Test Vid4 (SR) and REDS4 (SR-clean, SR-blur, deblur-clean, deblur-compression) datasets ''' import os import os.path as osp import glob import logging import numpy as np import cv2 import torch import json import torch.nn as nn import utils.util as util import data.util as data_util ''' python ~/zhouhuanxiang/mm...
[ "zhouhx.cn@gmail.com" ]
zhouhx.cn@gmail.com
cf9e853cdf4f27823ad145e1bbd4b8034d47d5bb
3a19107bd6ec37b87c7b6d890022d2e782d03b74
/Examples/example_10_inheritance.py
1831e18be0b38b8cb3cd56ff844af00e2595027e
[]
no_license
millsgt/oop-python
88caa6fad79d1299c5ac202bbbe40e0d2f2e9bab
c993abbfdc186172a3f2538a046040bebc7c79db
refs/heads/master
2023-08-22T22:07:10.711119
2023-07-20T18:09:36
2023-07-20T18:09:36
429,510,508
0
0
null
2021-11-18T16:56:37
2021-11-18T16:56:37
null
UTF-8
Python
false
false
903
py
from math import pi class Shape(object): def area(self): raise NotImplementedError() def circumference(self): raise NotImplementedError() def __str__(self): return type(self).__name__ class Circle(Shape): def __init__(self, r): self.r = r def area(self): ...
[ "ariannedee@gmail.com" ]
ariannedee@gmail.com
009d66c2a1ee5ecb84ac15fd4742469ddf9a39c9
f07a42f652f46106dee4749277d41c302e2b7406
/Data Set/bug-fixing-5/2960e3a3a7ba66924233f076c6e6affbc6697a07-<_remake_table>-fix.py
604b9cb40c846a9efaec21ec934b9a52d6343403
[]
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
4,055
py
def _remake_table(self, model, create_fields=[], delete_fields=[], alter_fields=[]): '\n Shortcut to transform a model from old_model into new_model\n\n The essential steps are:\n 1. rename the model\'s existing table, e.g. "app_model" to "app_model__old"\n 2. create a table with the...
[ "dg1732004@smail.nju.edu.cn" ]
dg1732004@smail.nju.edu.cn
f029e53627d37eb0c7cb8f99cb1b0e381d738293
c5542154b44f1b228cdadeaf44c6a5998ed37ed4
/base/day3/if/10进制转换10to16.py
715cd491ee0d4c10583b0b1d82d5ee1277dd2509
[]
no_license
ThrallOtaku/python3Test
a31a2de1576b3a3c1062a7d6908119d7cbf21b36
c62e6024bbbeafd396b68e40332991758914ba0b
refs/heads/master
2020-03-07T22:45:47.403999
2018-06-08T10:19:42
2018-06-08T10:19:42
127,763,269
1
0
null
null
null
null
UTF-8
Python
false
false
529
py
num=eval(input("输入数据0-15")) ''' if num<0 or num>15: print("输入错误") else: if num>=1 and num<=9: print(num) elif num==10: print("A") elif num==11: print("B") elif num==12: print("C") elif num==13: print("D") elif num==14: print("E") el...
[ "tanght@11wlw.com" ]
tanght@11wlw.com
a519c83825fb409ff723a114a6a6b3095e612fcc
f700ccde798c82ba2c8982c990e592bca984ce25
/changing_handles.py
07e3a9254d80370773e6c1681ffdeda645129a9d
[]
no_license
davidozhang/codeforces
94d791f3efc7d38a326efc08845975888eb3a811
fad0aa12b14cb3facd2aeac35298e7906f5884c4
refs/heads/master
2021-01-22T05:15:23.328306
2015-03-08T23:04:41
2015-03-29T20:20:02
30,389,624
2
0
null
2015-03-09T00:56:04
2015-02-06T02:01:15
Python
UTF-8
Python
false
false
427
py
#!/usr/bin/python ''' Problem 501B: http://codeforces.com/problemset/problem/501/B Solved on: 2015-02-23 Result: Accepted 61 ms 200 KB ''' def main(): old, _dict=[], {} for _ in range(int(raw_input())): a,b=raw_input().split() _dict[a]=b if a not in _dict.values(): old.append(a) print len(old) for i in o...
[ "davzee@hotmail.com" ]
davzee@hotmail.com
259bf0f1a515887a3a272512261443dfc7002ba5
b5ae24fd2ece2ca5ac39477ddb707d35f84869ea
/leetcode/이진검색트리의 기본 성질 530. Minimum Absolute Difference in BST.py
659e66b30d7a4e3b24e335c6889d34bfc7024aa8
[]
no_license
sky7th/algorithm-ps
3476fcbb58743aa3428b3b8017131f16580044e7
3a94a62141407f9eb2c5b01bea6275fad252789b
refs/heads/master
2021-06-13T17:40:02.472902
2021-04-18T14:11:53
2021-04-18T14:11:53
177,175,084
0
0
null
null
null
null
UTF-8
Python
false
false
730
py
# Definition for a binary tree node. # class TreeNode: # def __init__(self, val=0, left=None, right=None): # self.val = val # self.left = left # self.right = right import math class Solution: def getMinimumDifference(self, root: TreeNode) -> int: self.minDiff = math.inf ...
[ "xoghk0321@gmail.com" ]
xoghk0321@gmail.com
e208b7de26fd6e70b1307cf3c96ac4e537c8871b
27e5aec1fcc8304e41fc838a4ce5f2d12ebad2da
/C02-Exercises-with-strings/Question-1-alternative_solution.py
4f20fb35d9884d7c040c658543c6ac930f0fb783
[]
no_license
nihathalici/Full-Speed-Python
cca8c3c8e8877283b557ecc2aef3646147b0e5cd
7efb22e1c9280d4f5d24fe208eb6a46b27f2622c
refs/heads/main
2023-07-13T15:07:59.421804
2021-08-16T07:58:45
2021-08-16T07:58:45
390,086,063
1
0
null
null
null
null
UTF-8
Python
false
false
353
py
""" Initialize the string "abc" on a variable named "s": (a) Use a function to get the length of the string. (b) Write the necessary sequence of operations to transform the string "abc" in "aaabbbccc". Suggestion: Use string concatenation and string indexes. """ s = "abc" print(len(s)) new_s = "" for ch in s: ...
[ "noreply@github.com" ]
nihathalici.noreply@github.com
529aa1ad7e15308ce08560df3b4003814895e0d7
5d9f395176356af28a53443747d6a74bd9d09b19
/GradientBoostingRegressionTest.py
ed070d1b4eff77c76c2723776d620fb4dd26db28
[]
no_license
sahilsingh1123/predictive_analysis_git
9e9bc12304964702d613b424ade977c73459677e
71acff687b70a5ef29139475d80ac176e23add93
refs/heads/master
2020-04-27T06:53:31.196449
2019-11-09T10:14:02
2019-11-09T10:14:02
174,120,909
1
0
null
null
null
null
UTF-8
Python
false
false
7,812
py
from pyspark.ml.regression import GBTRegressor from pyspark.ml.evaluation import RegressionEvaluator from pyspark.ml.feature import VectorAssembler, StringIndexer, VectorIndexer from pyspark.sql import SparkSession from pyspark.sql.types import * import json from PredictionAlgorithms.relationship import Relationship ...
[ "sahilsingh1123@gmail.com" ]
sahilsingh1123@gmail.com
b6fa077c034e40e059a3dbc3726bd9cdd8638642
1a166165ab8287d01cbb377a13efdb5eff5dfef0
/sdk/sql/azure-mgmt-sql/azure/mgmt/sql/aio/operations/_sync_members_operations.py
b8a716ea478565a97204af0ca54e581c0e2cc355
[ "MIT", "LicenseRef-scancode-generic-cla", "LGPL-2.1-or-later" ]
permissive
manoj0806/azure-sdk-for-python
7a14b202ff80f528abd068bf50334e91001a9686
aab999792db1132232b2f297c76800590a901142
refs/heads/master
2023-04-19T16:11:31.984930
2021-04-29T23:19:49
2021-04-29T23:19:49
363,025,016
1
0
MIT
2021-04-30T04:23:35
2021-04-30T04:23:35
null
UTF-8
Python
false
false
40,514
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" ]
manoj0806.noreply@github.com
8cbb198d5e298399a57c142ce126ce3ad12eb456
bbeba16730eca05a897e46e771b8e9dc2a61e044
/testflows/_core/contrib/pyasn1/codec/ber/decoder.py
49993d44ffc62fb1b7c53aca5b68ffd94d0e567b
[ "Apache-2.0", "BSD-2-Clause", "BSD-3-Clause" ]
permissive
testflows/TestFlows-Core
47d3e5b8890fcf73024c91f4ea293363c29f422b
7dd2d3af19f6930257bd53133286edb78bf490ab
refs/heads/master
2023-08-16T15:42:08.888323
2023-08-15T11:35:09
2023-08-15T11:35:09
215,418,320
5
4
NOASSERTION
2023-04-26T19:28:55
2019-10-15T23:59:26
Python
UTF-8
Python
false
false
59,972
py
# # This file is part of pyasn1 software. # # Copyright (c) 2005-2019, Ilya Etingof <etingof@gmail.com> # License: http://snmplabs.com/pyasn1/license.html # from testflows._core.contrib.pyasn1 import debug from testflows._core.contrib.pyasn1 import error from testflows._core.contrib.pyasn1.codec.ber import eoo from tes...
[ "vzakaznikov@protonmail.com" ]
vzakaznikov@protonmail.com
2cab5a5aaecd3f25d6d94cf11a3f6d3779240237
f576f0ea3725d54bd2551883901b25b863fe6688
/sdk/elastic/azure-mgmt-elastic/azure/mgmt/elastic/operations/_monitor_operations.py
c53c7ded4ea859600149d6660dc1f06fb9d58fb2
[ "MIT", "LicenseRef-scancode-generic-cla", "LGPL-2.1-or-later" ]
permissive
Azure/azure-sdk-for-python
02e3838e53a33d8ba27e9bcc22bd84e790e4ca7c
c2ca191e736bb06bfbbbc9493e8325763ba990bb
refs/heads/main
2023-09-06T09:30:13.135012
2023-09-06T01:08:06
2023-09-06T01:08:06
4,127,088
4,046
2,755
MIT
2023-09-14T21:48:49
2012-04-24T16:46:12
Python
UTF-8
Python
false
false
14,123
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" ]
Azure.noreply@github.com
67c6beea9504dd21c9b5603235aa997e27621f8d
b47d29e8df20eb175950459c55b1d80ed0648374
/example01/lists/views.py
2fbe71a9a0bdda44fb5055fa7906774b58115514
[]
no_license
lee-seul/Testing-goat
aea7151c4402e9bd81a7dbf1ba3351da4f2062ce
bbc4238f24b9cffc1862a3d609da5ac1c423f569
refs/heads/master
2021-01-22T23:43:03.552544
2017-04-02T15:22:01
2017-04-02T15:22:01
85,662,887
2
0
null
null
null
null
UTF-8
Python
false
false
314
py
from django.shortcuts import render, redirect from lists.models import Item def home_page(request): if request.method == 'POST': Item.objects.create(text=request.POST['item_text']) return redirect('/') items = Item.objects.all() return render(request, 'home.html', {'items': items})
[ "blacksangi14@naver.com" ]
blacksangi14@naver.com
9c442c27ea6bd163b7cab8d75519463c5fcaf754
8773e42ab712986591ab209f9d5369a93bee77b6
/export/nutep/admin.py
2c6f9916651e1133a52d012c4dc2e820d1f587af
[]
no_license
314casso/cpmanp
1f327dad4ed97182bf3f60414053787822f2386b
932f01de0ff4f34f5e4cb6e2efbc5056097f7300
refs/heads/master
2022-12-17T03:32:00.556162
2018-09-17T10:33:58
2018-09-17T10:33:58
122,865,150
0
0
null
2022-12-07T23:47:07
2018-02-25T18:47:41
HTML
UTF-8
Python
false
false
2,705
py
# -*- coding: utf-8 -*- from django.contrib import admin, messages from django.contrib.auth.admin import UserAdmin from django.contrib.auth.models import User from nutep.models import (BaseError, UserProfile, Team, CompanyManager, Employee, InfoSource, File, Company, Membership, DateQueryEvent, Container, Pre...
[ "picasso75@yandex.ru" ]
picasso75@yandex.ru
559f6866f9ba19ec3d9967ad68d1043685840710
0809673304fe85a163898983c2cb4a0238b2456e
/src/lesson_algorithms/itertools_product.py
950520d65c25acdb466fb8e5105bc76ec34f54f4
[ "Apache-2.0" ]
permissive
jasonwee/asus-rt-n14uhp-mrtg
244092292c94ff3382f88f6a385dae2aa6e4b1e1
4fa96c3406e32ea6631ce447db6d19d70b2cd061
refs/heads/master
2022-12-13T18:49:02.908213
2018-10-05T02:16:41
2018-10-05T02:16:41
25,589,776
3
1
Apache-2.0
2022-11-27T04:03:06
2014-10-22T15:42:28
Python
UTF-8
Python
false
false
301
py
from itertools import * import pprint FACE_CARDS = ('J', 'Q', 'K', 'A') SUITS = ('H', 'D', 'C', 'S') DECK = list( product( chain(range(2, 11), FACE_CARDS), SUITS, ) ) for card in DECK: print('{:>2}{}'.format(*card), end=' ') if card[1] == SUITS[-1]: print()
[ "peichieh@gmail.com" ]
peichieh@gmail.com
153424d1b5196bdbf8999ad2cdf0c64a964b7154
2e0d23f16102c1f76a3e797d2f45b37a71aa0018
/typeidea/typeidea/comment/templatetags/comment_block.py
24cdd6ef2a600815766b259f5b259f1ba012aaf9
[]
no_license
ydPro-G/typeidea
d951c397ef7cbe7e3205bf09e97f5884ced0ad0e
ccd9a91eac366231f1e0dd2012189772b34733c5
refs/heads/main
2023-02-27T06:54:54.867803
2021-02-03T07:41:33
2021-02-03T07:41:33
305,559,106
0
0
null
2021-01-21T06:24:06
2020-10-20T01:41:31
Python
UTF-8
Python
false
false
699
py
from django import template from comment.forms import CommentForm from comment.models import Comment # 自定义template 的tags和filters # 要成为一个可用的 tag 库,模块必须包含一个名为 register 的模块级变量。 # 它是一个 template.Library 实例 register = template.Library() #在 Library 对象上调用 inclusion_tag() 创建并注册该包含标签。 @register.inclusion_tag('comment/block.h...
[ "46178109+ydPro-G@users.noreply.github.com" ]
46178109+ydPro-G@users.noreply.github.com
fee4224de519f14adf9575a238b290ee15d1c31c
1adfdbddfe16292f33cbaaecadbd5af4d1e958c3
/eggplant/permissions/admin.py
4b4b0c78b42298b778bd0f9ba8022bab763d9793
[]
no_license
kbhff/eggplant
1c4bcf79bc2152bbf57033497344875e9b26cd48
c780c8fe8bc682e151709a8cd31ba3b140b54977
refs/heads/master
2021-08-06T08:10:36.354097
2020-06-07T20:49:44
2020-06-07T20:49:44
34,317,253
24
17
null
2017-09-08T00:25:16
2015-04-21T09:24:52
Python
UTF-8
Python
false
false
155
py
from django.contrib import admin from .models import Permission, UserProfilePermission admin.register(Permission) admin.register(UserProfilePermission)
[ "valberg@orn.li" ]
valberg@orn.li
ab0f1e26ccb3515ee2c0db20df83476d404f1cd9
92ae61b3851bcae962c3c081c2407390a15f2787
/src/main/resources/IP2Location.py
46f4d589ac431e86a40d164b1e634905c0cdf2fb
[]
no_license
jasonwee/jwms-mtr-plugin
0951c2ad8356d5754827586a2b8fce8f00db6b15
a3362676d67095f02942a96be6b9a2d182b3f65f
refs/heads/master
2023-08-07T17:40:29.623223
2022-06-02T00:46:09
2022-06-02T00:46:09
179,022,511
17
0
null
2023-07-22T00:57:45
2019-04-02T07:27:33
Java
UTF-8
Python
false
false
16,338
py
import sys import struct import socket if sys.version < '3': def u(x): return x.decode('utf-8') def b(x): return str(x) else: def u(x): if isinstance(x, bytes): return x.decode() return x def b(x): if isinstance(x, bytes): return x ...
[ "peichieh@gmail.com" ]
peichieh@gmail.com
378c70db1d2bf5d26865b916d666599d40ac2cc3
531c47c15b97cbcb263ec86821d7f258c81c0aaf
/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_02_01/operations/_azure_firewall_fqdn_tags_operations.py
665d588c86a97119aaf33e2cc4e9756bf9acb80d
[ "LicenseRef-scancode-generic-cla", "LGPL-2.1-or-later", "MIT" ]
permissive
YijunXieMS/azure-sdk-for-python
be364d3b88204fd3c7d223df23756386ff7a3361
f779de8e53dbec033f98f976284e6d9491fd60b3
refs/heads/master
2021-07-15T18:06:28.748507
2020-09-04T15:48:52
2020-09-04T15:48:52
205,457,088
1
2
MIT
2020-06-16T16:38:15
2019-08-30T21:08:55
Python
UTF-8
Python
false
false
4,952
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" ]
YijunXieMS.noreply@github.com
bab56327a489290398cae6260c2ecf2256f39717
9a7904a3ee4abd4c352a746b13963073aa62314b
/03_Data Science/2.Analysis/2.EXCEL/12.excel_introspect_all_workbooks.py
0f6dd07ea0a38ae3fe38105b73353fbb0fb796b0
[]
no_license
cat-holic/Python-Bigdata
4ab1528fa9e804206a2381ac08293088c3e9e250
2cb6c75eb02b3b0dc3a16a63c0446c1fc6f04f71
refs/heads/master
2020-03-15T09:27:33.944887
2018-08-02T08:16:35
2018-08-02T08:16:35
null
0
0
null
null
null
null
UTF-8
Python
false
false
668
py
# 목적 : 통합 문서의 개수 및 각 통합 문서의 행과 열 개수 세기 import glob import os from xlrd import open_workbook input_directory = "input_files/" workbook_counter = 0 for input_file in glob.glob(os.path.join(input_directory,'*.xls*')): workbook = open_workbook(input_file) print('Workbook: {}'.format(os.path.basename(input_file))...
[ "lilith4802@gmail.com" ]
lilith4802@gmail.com
3facd614f63af5071b316dd614daf33c9e577589
9d9eb39e6adc35926d9ca5c38d5bbd05ccc6d15b
/python/stack_queue/sort_stack.py
da48a76fca5db58653b0c1153dc8962c35e931d8
[ "Unlicense" ]
permissive
amitsaha/learning
8121d60639f64a2a517ffb855d73de083ebfb445
4c1d85adf8018465716a1e8a74afadfe5f5528a2
refs/heads/master
2023-03-07T13:55:12.871756
2022-11-08T06:45:23
2022-11-08T06:45:23
25,386,786
6
4
Unlicense
2023-02-25T00:55:16
2014-10-18T04:03:55
Python
UTF-8
Python
false
false
572
py
''' Sort a stack ''' from __future__ import print_function class Stack: def __init__(self): self.nodes = [] def push(self, item): self.nodes.append(item) def pop(self): if self.nodes: return self.nodes.pop() def sort(self): t = [] while self.nodes...
[ "amitsaha.in@gmail.com" ]
amitsaha.in@gmail.com
5dcfd2137db7bbccefcf1ba8ba6a80f6841c8157
4b98949214942486b4d6e64fd7a0551dd986e720
/entries/migrations/0005_auto_20190801_2025.py
4418ca8e74d188d7d79a3eae1cc36b2901ab4637
[]
no_license
pandeyroshan/Project-Manager
7a1215a991cab9aca8754b698d0be6cd1c9addd2
022508361116e0686ac00baffe5d2776e5bcb1bf
refs/heads/master
2020-06-28T14:15:29.570602
2020-02-14T17:20:54
2020-02-14T17:20:54
200,252,040
0
0
null
null
null
null
UTF-8
Python
false
false
398
py
# Generated by Django 2.1.5 on 2019-08-01 14:55 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('entries', '0004_auto_20190801_2024'), ] operations = [ migrations.AlterField( model_name='entry', name='date_posted'...
[ "=" ]
=
45fa4ec11030edc66ca86a972751c7fe48e8f1e9
95d32a98d0715816fd763c6df356069d91d74f33
/063.py
b0677d89209b7970d1ba0f93161ad01eacc0aad5
[]
no_license
jod35/coding-challenges
1f65d08d92c143004f44eafd4922ec0dcb652a1f
21cfa2853dac70055d2b20155e03dff1c235ee02
refs/heads/master
2022-12-14T22:31:37.344450
2020-09-18T19:47:51
2020-09-18T19:47:51
291,939,964
0
0
null
null
null
null
UTF-8
Python
false
false
274
py
subjects=["Mathematics","Physics","History","Chemistry","Geography","Biology"] for i in subjects: print(i) print('\n') subject=input("Please enter a subject you dont like from the subjects: ") if subject in subjects: subjects.remove(subject) print(subjects)
[ "jodestrevin@gmail.com" ]
jodestrevin@gmail.com
23064c97533094fa0cb78b40a5cdf727fae86e68
f40ad51a600e64f12710fc4847c356a35cd0a3d2
/S04/functions/make_functions_using_def/is_prime.py
1446620d9d14845aecd7e0bcfc6f04f85ef11690
[]
no_license
pymft/py-mft1
0aa1b854ea80e17e18c0eacc6f4dc7428a71af39
f4657fe17e56b6f54bdc8b1076edfc388b85cb05
refs/heads/master
2020-05-09T09:32:59.020361
2019-07-05T13:59:19
2019-07-05T13:59:19
181,006,072
1
5
null
2019-05-03T20:06:03
2019-04-12T12:42:38
Python
UTF-8
Python
false
false
844
py
import math import time def is_prime(n): result = True for i in range(2, n): if n % i == 0: result = False return result def is_prime_2(n): """ :param n: :return: """ for i in range(2, n): if n % i == 0: return False return True def is_...
[ "naeini.v@gmail.com" ]
naeini.v@gmail.com
016ea6f3ea65e9fb9d9e456d1850199bf126b0ad
e3b9aa9b17ebb55e53dbc4fa9d1f49c3a56c6488
/cisco_threatgrid/icon_cisco_threatgrid/actions/search_for_sample_report_by_sha256/action.py
ebf007248decd0b314fbb6135de161eaebe751c1
[ "MIT" ]
permissive
OSSSP/insightconnect-plugins
ab7c77f91c46bd66b10db9da1cd7571dfc048ab7
846758dab745170cf1a8c146211a8bea9592e8ff
refs/heads/master
2023-04-06T23:57:28.449617
2020-03-18T01:24:28
2020-03-18T01:24:28
248,185,529
1
0
MIT
2023-04-04T00:12:18
2020-03-18T09:14:53
null
UTF-8
Python
false
false
1,749
py
import komand from komand.exceptions import PluginException from .schema import SearchForSampleReportBySha256Input, SearchForSampleReportBySha256Output, Input, Output, Component # Custom imports below import requests class SearchForSampleReportBySha256(komand.Action): def __init__(self): super(self.__cla...
[ "noreply@github.com" ]
OSSSP.noreply@github.com
bf676764e85a26610b33c838776d5c248d17a1ac
ca7aa979e7059467e158830b76673f5b77a0f5a3
/Python_codes/p02684/s210017193.py
d020d21f8acdef636274cfbe85482904dfa7808d
[]
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
590
py
def resolve(): N, K = list(map(int, input().split())) A = list(map(lambda x: int(x)-1, input().split())) routes = [0] current = 0 visited = [False for _ in range(N)] visited[0] = True while visited[A[current]] is False: current = A[current] routes.append(current) visi...
[ "66529651+Aastha2104@users.noreply.github.com" ]
66529651+Aastha2104@users.noreply.github.com
fbc2798ebeb32d2302400d7a0e2abdd0f1210844
3b1a13edca51449f015086acad1e5a51ae89cba5
/lang/py/rfc/theme/yield/coroutines/grep.py
68265597826e9fddd8cab938dc9e8ea7b51f5add
[ "MIT" ]
permissive
ch1huizong/study
9000042d3ad13b06426b03423ee335aee15fd061
d3b7c43fc03484839f8bbc7d0d056df1b1eba9cd
refs/heads/master
2023-09-04T12:45:48.125715
2023-08-17T02:49:40
2023-08-17T02:49:40
162,539,130
1
0
null
null
null
null
UTF-8
Python
false
false
427
py
#!/usr/bin/env python # -*- coding:UTF-8 -*- # # grep.py # # A very simple coroutine def grep(pattern): print("Looking for %s" % pattern) while True: line = (yield) if pattern in line: print(line) # Example use if __name__ == '__main__': g = grep("python") g.next() g.se...
[ "root@k.k.lab" ]
root@k.k.lab
36d6b1a1da04a259e80b5b02c04bbd773bc3b19e
0a83201e8ce808f321d2c7059cad62fc55f67fac
/knimin/lib/tests/test_mem_zip.py
5f05978d1e03c5b5ab131813cc9d7d014c67fe20
[]
no_license
josenavas/labadmin
de9fd83c58f4a0722bc8447c9497fa203082f68e
9b0c0ca981704b91e41cd66935381a00b2021bf4
refs/heads/master
2021-01-17T05:47:26.726662
2017-03-29T17:12:31
2017-03-29T17:12:31
61,237,394
0
0
null
2017-04-21T18:04:36
2016-06-15T20:05:57
Python
UTF-8
Python
false
false
1,767
py
import unittest from knimin.lib.mem_zip import InMemoryZip import zipfile import os import io class TestInMemoryZip(unittest.TestCase): def setUp(self): self.test_fname = 'test.zip' self.test_out_fname = 'testout.zip' def tearDown(self): if os.path.exists(self.test_fname): ...
[ "jamietmorton@gmail.com" ]
jamietmorton@gmail.com
647ca70533af9d59dacac53da1418c5b4ae42861
81d635211686b1bc87af5892bd9e0fb95cc2ddb8
/adwords api/googleads-python-lib-master/examples/dfp/v201502/custom_targeting_service/get_custom_targeting_values_by_statement.py
af3bce4ec8008e5959ec55c572323473fea54e5e
[ "Apache-2.0" ]
permissive
analyticsbot/Python-Code---Part-2
de2f0581258b6c8b8808b4ef2884fe7e323876f0
12bdcfdef4472bcedc77ae61707c25a4a09cba8a
refs/heads/master
2021-06-04T05:10:33.185766
2016-08-31T13:45:45
2016-08-31T13:45:45
66,679,512
3
0
null
null
null
null
UTF-8
Python
false
false
2,184
py
#!/usr/bin/python # # Copyright 2015 Google Inc. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required b...
[ "ravi.shankar1788@gmail.com" ]
ravi.shankar1788@gmail.com
090576a1329a28fdebeb56a005e440d492bb5c84
ce8fe099312b3f70145c3b983f686353ce7ad803
/awscfncli2/cli/commands/drift/__init__.py
8c32f5211581fedc91d87cf7cb091d0b74a08b1e
[ "MIT" ]
permissive
Kotaimen/awscfncli
53876e5c85a59e443663907b9bfe12060a4969fa
91b5eb6d73a90691d0a9e0634b8cf1054209c64f
refs/heads/develop
2023-01-09T03:59:22.675633
2022-07-09T12:01:27
2022-07-09T12:01:27
77,896,914
62
17
MIT
2022-12-27T16:56:34
2017-01-03T08:11:09
Python
UTF-8
Python
false
false
22
py
from .drift import cli
[ "kotaimen.c@gmail.com" ]
kotaimen.c@gmail.com
08996541e148bceb827bb345dfb0b22ae4d7087e
24b2f3f5f49ed19cf7fd3dcd433d6b72806e08cf
/python/greedy/0321_Create_Maximum_Number.py
b2e76a34bb626df011a65d82c2e44a9457bed345
[]
no_license
lizzzcai/leetcode
97089e4ca8c3c53b5a4a50de899591be415bac37
551cd3b4616c16a6562eb7c577ce671b419f0616
refs/heads/master
2021-06-23T05:59:56.928042
2020-12-07T03:07:58
2020-12-07T03:07:58
162,840,861
1
0
null
null
null
null
UTF-8
Python
false
false
3,944
py
''' 14/05/2020 321. Create Maximum Number - Hard Tag: Dynamic Programming, Greedy Given two arrays of length m and n with digits 0-9 representing two numbers. Create the maximum number of length k <= m + n from digits of the two. The relative order of the digits from the same array must be preserved. Return an array...
[ "lilcolinn@gmail.com" ]
lilcolinn@gmail.com
63f045d3dc21e3791c9425358c7c8008f4473bd4
c75ec82316ed5322c5844912ce9c528c24360b9f
/nsd1904/py01/day05/userdb.py
934d3c5504bb8a701b5f8c99f161e82b71be0354
[]
no_license
MrZhangzhg/nsd2019
a94cde22f2e4bd648bb9e56ca63827f558f3c083
54f6d2c7b348a69f13ad5f38f2fbdc8207528749
refs/heads/master
2021-08-22T17:38:27.697675
2020-02-22T08:36:21
2020-02-22T08:36:21
183,539,489
21
24
null
2020-05-17T12:07:55
2019-04-26T02:06:16
HTML
UTF-8
Python
false
false
1,047
py
import getpass userdb = {} def register(): "注册" username = input('用户名: ').strip() if not username: print('用户名不能为空') elif username in userdb: print('用户已存在') else: password = input('密码: ') userdb[username] = password def login(): "登陆" username = input('用户名: ...
[ "zhangzg@tedu.cn" ]
zhangzg@tedu.cn
ee5bd752390e5df395f682ce7b4fa28b2938a377
bfc0a74a378d3692d5b033c21c29cf223d2668da
/unittests/pytests/meshio/TestMeshIOAscii.py
615a760c296ef561bcd700f4494d7c40b7422956
[ "MIT" ]
permissive
rishabhdutta/pylith
b2ed9cd8039de33e337c5bc989e6d76d85fd4df1
cb07c51b1942f7c6d60ceca595193c59a0faf3a5
refs/heads/master
2020-12-29T01:53:49.828328
2016-07-15T20:34:58
2016-07-15T20:34:58
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,198
py
#!/usr/bin/env python # # ====================================================================== # # Brad T. Aagaard, U.S. Geological Survey # Charles A. Williams, GNS Science # Matthew G. Knepley, University of Chicago # # This code was developed as part of the Computational Infrastructure # for Geodynamics (http://ge...
[ "baagaard@usgs.gov" ]
baagaard@usgs.gov
2eac0fe7205f01fcd3531a3b671f1979e5c0d010
d3efc82dfa61fb82e47c82d52c838b38b076084c
/Autocase_Result/Risk/FK_FKYW_PG_KCB_216.py
49df25a13b4164b21fe8cf6db44138eb4a864faf
[]
no_license
nantongzyg/xtp_test
58ce9f328f62a3ea5904e6ed907a169ef2df9258
ca9ab5cee03d7a2f457a95fb0f4762013caa5f9f
refs/heads/master
2022-11-30T08:57:45.345460
2020-07-30T01:43:30
2020-07-30T01:43:30
280,388,441
0
0
null
null
null
null
UTF-8
Python
false
false
2,782
py
#!/usr/bin/python # -*- encoding: utf-8 -*- import sys import os sys.path.append("/home/yhl2/workspace/xtp_test/Autocase_Result/Risk/service") from order import f sys.path.append("/home/yhl2/workspace/xtp_test/service") from QueryStkPriceQty import * from log import * from utils import * sys.path.append("/home/yhl2/wo...
[ "418033945@qq.com" ]
418033945@qq.com
308d4740fd39328b62b5a410c01596774e243b8b
53fab060fa262e5d5026e0807d93c75fb81e67b9
/backup/user_020/ch150_2020_04_13_19_37_29_073625.py
072e825e400a555f6233f5f98d69de76736d9316
[]
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
144
py
import math def calcula_pi(n): i = 1 while i<n: pi = math.sqrt(6/n**i)**n i += 1 return pi print(calcula_pi(10))
[ "you@example.com" ]
you@example.com
0394d26662f4531fb6839bf0ce75254d9c6186fa
c9803fb67b885214f138a805990d77cf4d714818
/proof_of_work/multiagent/turn_based/v5/honestagentv5.py
73c43ec05a825880067d33f1bbfa7b47b9409d2a
[ "MIT" ]
permissive
michaelneuder/parkes_lab_fa19
e68247ad5253d54f4d6074593a0e63fe61fcfc18
18d9f564e0df9c17ac5d54619ed869d778d4f6a4
refs/heads/master
2020-07-12T10:32:15.585380
2020-01-26T21:45:05
2020-01-26T21:45:05
204,792,720
0
0
null
null
null
null
UTF-8
Python
false
false
394
py
ADOPT = 0 OVERRIDE = 1 WAIT = 2 class HonestAgent(object): def act(self, state, eps): if state[0] > 0: return OVERRIDE elif state[1] > 0: return ADOPT else: print(state) raise RuntimeError('invalid state for honest agent to reach') d...
[ "michael.neuder@gmail.com" ]
michael.neuder@gmail.com
768c9463b14b6122d72c70dfbfde642c53430a18
2e682fd72e3feaa70e3f7bf2a3b83c50d783ec02
/PyTorch/built-in/cv/detection/RFCN_ID0418_for_PyTorch/lib/datasets/pascal_voc.py
020a0e9ec18775eab70e0d2cd57078c986d6c18c
[ "MIT", "GPL-1.0-or-later", "Apache-2.0", "BSD-2-Clause", "BSD-3-Clause", "LicenseRef-scancode-generic-cla", "LicenseRef-scancode-unknown-license-reference" ]
permissive
Ascend/ModelZoo-PyTorch
4c89414b9e2582cef9926d4670108a090c839d2d
92acc188d3a0f634de58463b6676e70df83ef808
refs/heads/master
2023-07-19T12:40:00.512853
2023-07-17T02:48:18
2023-07-17T02:48:18
483,502,469
23
6
Apache-2.0
2022-10-15T09:29:12
2022-04-20T04:11:18
Python
UTF-8
Python
false
false
15,105
py
# Copyright 2021 Huawei Technologies Co., Ltd from __future__ import print_function from __future__ import absolute_import # -------------------------------------------------------- # Fast R-CNN # Copyright (c) 2015 Microsoft # Licensed under The MIT License [see LICENSE for details] # Written by Ross Girshick # ------...
[ "wangjiangben@huawei.com" ]
wangjiangben@huawei.com
346e06d3deb76496f8c284166b6b0db9ee2fde05
8acffb8c4ddca5bfef910e58d3faa0e4de83fce8
/ml-flask/Lib/site-packages/pandas/tests/indexes/datetimes/test_to_period.py
8e585d905e32f9a5cbe88339334267eec6bc6c63
[ "MIT" ]
permissive
YaminiHP/SimilitudeApp
8cbde52caec3c19d5fa73508fc005f38f79b8418
005c59894d8788c97be16ec420c0a43aaec99b80
refs/heads/master
2023-06-27T00:03:00.404080
2021-07-25T17:51:27
2021-07-25T17:51:27
389,390,951
0
0
null
null
null
null
UTF-8
Python
false
false
129
py
version https://git-lfs.github.com/spec/v1 oid sha256:e802160248517dcd58e3c57c33853c53e6211ad92ccea57c6c4eae85cd4ec323 size 6557
[ "yamprakash130@gmail.com" ]
yamprakash130@gmail.com
e39541637b7af34914585fa1e08f800c4c707729
46355bd117d38191f2ebd23e9250ab121bf839fc
/uber/Max Chunks To Make Sorted.py
962df2c86bc3baf2fc21761517f5026e9f1ffdf4
[]
no_license
Jason003/Interview_Code_Python
f1e1a59e87cfada78a931be6a27a51898442aca4
75dbc8d3906bd00c8129c8ed0b584794c8b41d6b
refs/heads/master
2020-08-12T20:11:56.454848
2019-11-12T01:36:52
2019-11-12T01:36:52
214,835,963
4
1
null
null
null
null
UTF-8
Python
false
false
826
py
class Solution: def maxChunksToSorted(self, arr) -> int: res = 0 curMax = -1 for i, a in enumerate(arr): curMax = max(curMax, a) if curMax == i: res += 1 return res '''class Solution { public int maxChunksToSorted(int[] arr) { int...
[ "792576519@qq.com" ]
792576519@qq.com
7b7170d5477688449cf999ab8657defea1964577
06889f44b6e83001998a5b2dcb544c31e1637c0d
/csv2txtarr.py
b5363f4a1f0f55dc5f9f0bcf8c6616959362a5b2
[]
no_license
previtus/Text2Analysis
61149def19cf81253994001d040b2ac00b28027d
bb9d39ffcec7118add68e87eeb235ddd680a7def
refs/heads/master
2022-12-14T03:20:48.712547
2020-06-16T12:35:42
2020-06-16T12:35:42
200,721,007
4
0
null
2022-12-08T03:48:35
2019-08-05T20:04:08
Python
UTF-8
Python
false
false
4,700
py
# Load data from CSV files: import pandas as pd import numpy as np import matplotlib.pyplot as plt import gensim import json DATASET = "_jobsv1_all" DATASET = "_jobsv1_goodq" # This scraped dataset specific functions: csv_files = [ "../JobAdsData/Source1-Monster/creative_jobs_clean_1363.csv", "../JobAdsData/...
[ "previtus@gmail.com" ]
previtus@gmail.com
20cf22a37386bde9746d43922b9ae2da202701ac
abf17bef22471c32d9b05be27704ceb7f3877b0d
/conveyor_belt/test_scripts/test_policy.py
096d23932989b53f72b0b209ffc5c0c13bed39f9
[]
no_license
beomjoonkim/adversarial_actor_critic
a91d608c1da9ac7a9b4ed4b0dce2f08d68456346
753a031ff70473003bdcf844c256e28337a8e8c9
refs/heads/master
2021-02-24T19:19:56.463064
2020-05-17T14:14:03
2020-05-17T14:14:03
245,438,421
1
0
null
null
null
null
UTF-8
Python
false
false
3,404
py
import numpy as np import pickle import os import sys import matplotlib.pyplot as plt import tensorflow as tf import argparse import time from generators.PlaceGPS import PlaceGPS from sklearn.preprocessing import StandardScaler from data_load_utils import load_place_RL_data,load_key_configs,load_guidance_data from co...
[ "beomjoon@mit.edu" ]
beomjoon@mit.edu
fbf9414d9ce3748dcf5cbf6811385ae617fec39b
f4e8c8294b23fe070a763b527bc2f75ccdebaab1
/leetCodePython2020/1329.sort-the-matrix-diagonally.py
604c9fd0b16258c341089ca74abdfb94da944afd
[]
no_license
HOZH/leetCode
aff083b33e9b908490e7e992a0ad192ee31cc2e5
a0ab59ba0a1a11a06b7086aa8f791293ec9c7139
refs/heads/master
2023-08-17T08:44:07.884861
2023-08-08T19:47:42
2023-08-08T19:47:42
136,558,812
2
0
null
null
null
null
UTF-8
Python
false
false
1,627
py
# # @lc app=leetcode id=1329 lang=python3 # # [1329] Sort the Matrix Diagonally # # @lc code=start class Solution: def diagonalSort(self, mat: List[List[int]]) -> List[List[int]]: flat_list, dias = [], [] m, n = len(mat), len(mat[0]) result = [[0]*n for i in range(m)] for i in r...
[ "hong.zheng@stonybrook.edu" ]
hong.zheng@stonybrook.edu
4c84ceb85659a50a0b3ade5eb7b69c50f1a45b4d
1e0e3a4d2a198c63d62b2541f64eeb24c6344062
/wrapper/scalr-manage/scalr_manage/library/configure/constant.py
d1c86bfddb9d856bfffd436ed586f73e0c0c15aa
[ "Apache-2.0" ]
permissive
JetStreamPilot/installer-ng
6c7d9f38949ec83a848799f436cbac349a8325e2
a7c2e16baacdd580591e04d73474504f2d48bd6f
refs/heads/master
2021-01-18T02:09:17.839256
2015-01-22T15:42:03
2015-01-22T15:42:03
null
0
0
null
null
null
null
UTF-8
Python
false
false
770
py
# coding:utf-8 # Supported versions SCALR_VERSION_4_5_0 = "4.5" SCALR_VERSION_5_0_0 = "5.0" SCALR_VERSION_5_0_1 = "5.0.1" SCALR_VERSION_5_1_0 = "5.1" SCALR_VERSION_5_1_1 = "5.1.1" SCALR_VERSION_5_2_0 = "5.2.0" SUPPORTED_VERSIONS = [ SCALR_VERSION_4_5_0, SCALR_VERSION_5_0_0, SCALR_VERSION_5_0_1, SCALR_VERSI...
[ "thomas@orozco.fr" ]
thomas@orozco.fr
a8067310e93bb7c499c7055eaaf74523e29722ac
8246092010e656920e7199f889f9cbf54b83a729
/pycoin/vm/ConditionalStack.py
0f47765a58dfc08aae40a788035381a1674a917e
[ "MIT" ]
permissive
richardkiss/pycoin
5717411a11445773ac922c1d1c1b7dbe4835cd77
b41ad7d02e52d9869a8c9f0dbd7d3b2b496c98c0
refs/heads/main
2023-08-07T12:14:04.974934
2023-04-18T02:27:15
2023-04-18T02:27:15
10,917,677
1,306
489
MIT
2023-06-03T23:24:50
2013-06-24T19:17:52
Python
UTF-8
Python
false
false
1,430
py
class ConditionalStack(object): def __init__(self, error_f): self.true_count = 0 self.false_count = 0 self.error_f = error_f def all_if_true(self): return self.false_count == 0 def OP_IF(self, the_bool, reverse_bool=False): if self.false_count > 0: self...
[ "him@richardkiss.com" ]
him@richardkiss.com
4b0dc7fdaa4477b1c51ce3beabf40c8181ed489a
13ebb469fc15724b87886179d095e51e6ff5fbc6
/modelchimp/views/api/ml_model.py
c9f3d83b6c32f5eef5bbbd91ccff3c6e8ecf38bc
[ "BSD-2-Clause" ]
permissive
fossabot/modelchimp
201c8ae0a40e7e1825dd4999cca8169eaf9198ef
dfe84f7755037ea4af69d1f62c47c05074f249a7
refs/heads/master
2020-05-21T08:07:58.249304
2019-05-10T11:04:34
2019-05-10T11:04:34
185,973,681
0
0
null
2019-05-10T11:04:29
2019-05-10T11:04:28
null
UTF-8
Python
false
false
5,211
py
import logging from rest_framework import generics, status from rest_framework.response import Response from rest_framework.decorators import api_view, permission_classes from rest_framework.permissions import IsAuthenticated from modelchimp.models.machinelearning_model import MachineLearningModel from modelchimp.mod...
[ "samir.madhavan@gmail.com" ]
samir.madhavan@gmail.com
686809f1ba97dd438bed5b2ea1dda7be13f03776
6d24a0820a2e1227e8caff083a8fef4f6f207c6f
/django_test5/django_test5/urls.py
a4ebee58c081ca0fe1ae936977b61f0082247372
[]
no_license
pyh3887/Django
45d4b3be955634edba924cc18bbc8d3454c7355b
a44e1067494391ff4a7473aeaeb63bbeba43b3d8
refs/heads/master
2022-11-08T08:36:04.750050
2020-06-28T14:00:53
2020-06-28T14:00:53
275,596,275
0
0
null
null
null
null
UTF-8
Python
false
false
843
py
"""django_test5 URL Configuration The `urlpatterns` list routes URLs to views. For more information please see: https://docs.djangoproject.com/en/3.0/topics/http/urls/ Examples: Function views 1. Add an import: from my_app import views 2. Add a URL to urlpatterns: path('', views.home, name='home') Class-...
[ "pyh3887@naver.com" ]
pyh3887@naver.com
e6368e4f6796b5da685adcf34db4b789889cd6cc
7b86724bb48246cb794f587ed98b30aa2f62cbe9
/app/urls.py
37dca7d6b2a1e1f092a71e8bf5d3b9761f30f52e
[]
no_license
horizonltd/HMS
3ef4b811a7806a204d01a7b629ab987a1e4058f2
77a83af55f97ad5cf6eba266737333452b4c2ec3
refs/heads/master
2023-05-14T07:37:15.982594
2021-06-04T11:21:49
2021-06-04T11:21:49
373,809,457
0
0
null
null
null
null
UTF-8
Python
false
false
838
py
from django.contrib import admin from django.urls import path, include from rest_framework import routers from rest_framework_simplejwt.views import TokenObtainPairView, TokenRefreshView from hms import views from hms.views import * router = routers.DefaultRouter() router.register("company", views.CompanyViewSet, ba...
[ "learntoprogress@yahoo.com" ]
learntoprogress@yahoo.com
d00906b5f21995b98d5675b68ed6391abdf92367
42541ac021f0981b87af2f1bc5b9ad728833b528
/src/eleventh/process.py
521199c2cb766fd2fa63cfc47f6c4807177a4756
[]
no_license
vmgabriel/or-tools-base
d43d0cd87cb47d25e700b9578c9a32034aed84be
f056ce5978a5386c14a3c4cc224e2f2a837ecf73
refs/heads/master
2023-02-11T06:47:38.618877
2021-01-12T20:52:10
2021-01-12T20:52:10
327,362,697
0
0
null
null
null
null
UTF-8
Python
false
false
5,120
py
""" Module for Penalties """ # Libraries from typing import Any, List from csv import reader from ortools.constraint_solver import routing_enums_pb2 from ortools.constraint_solver import pywrapcp def read_csv( file_path: str, delimiter: str = ',', mode_list: bool = True ) -> List[Any]: ""...
[ "vmgabriel96@gmail.com" ]
vmgabriel96@gmail.com
ea27c9ad0b80660a4ed3febcf80baaf5eafbb686
77ee1f677ab2ececb821a11be128b76bcf0e8d6f
/electrum_mona/gui/qt/paytoedit.py
889b0330d3824cd7bfc37007ab4ed9840b0eafad
[ "MIT" ]
permissive
zcore-dev/electrum-mona
c74e6142a0f34721be70dba68d524ae9ce03179c
2beb0c9c7794e8b03d1725bae41ee8b792c57275
refs/heads/master
2020-08-22T15:32:55.604727
2019-10-21T22:56:29
2019-10-21T22:56:29
216,427,159
0
0
MIT
2019-10-20T21:03:48
2019-10-20T21:03:48
null
UTF-8
Python
false
false
9,341
py
#!/usr/bin/env python # # Electrum - lightweight Bitcoin client # Copyright (C) 2012 thomasv@gitorious # # 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, # includi...
[ "root@DESKTOP-97LL1PI.localdomain" ]
root@DESKTOP-97LL1PI.localdomain
49160a22467ba521377c1c321a8ec0cc5ac535a1
7bcb0b7f721c8fa31da7574f13ed0056127715b3
/src/apps/api/urls/logs/v1/subscription.py
ce1dff3de1f48a1dac67ce0777160f4bf946929c
[]
no_license
simonchapman1986/ripe
09eb9452ea16730c105c452eefb6a6791c1b4a69
c129da2249b5f75015f528e4056e9a2957b7d884
refs/heads/master
2022-07-22T05:15:38.485619
2016-01-15T12:53:43
2016-01-15T12:53:43
49,718,671
1
0
null
2022-07-07T22:50:50
2016-01-15T12:53:09
Python
UTF-8
Python
false
false
299
py
from django.conf.urls import patterns, include from tastypie.api import Api from apps.api.resources import SubscriptionResource subscription = Api('subscription') subscription.register(SubscriptionResource()) urlpatterns = patterns( '', (r'^logs/v1/', include(subscription.urls)), )
[ "simon-ch@moving-picture.com" ]
simon-ch@moving-picture.com
275646faf62d23cab290dc4b1fc7a7802193ec27
272ae95716e530d538937ded59ec5b6e0b6d4db8
/섹션 6_완전탐색/10. 조합 구하기/AA.py
bade81d18371b25a5021fda7b80bbede14c5ff50
[]
no_license
gogoheejun/algorithm
83a1cb30bff5c349f53be16764e517a46e99cf1c
39e999abf7170f434a7ac6e1f698f066e55aca03
refs/heads/main
2023-06-22T13:06:32.135917
2021-07-25T15:46:19
2021-07-25T15:46:19
383,379,782
0
0
null
null
null
null
UTF-8
Python
false
false
406
py
import sys sys.stdin = open("input.txt", "r") def DFS(L, s): global cnt if L == m: for j in range(L): print(res[j], end=" ") print() cnt += 1 else: for i in range(s, n+1): res[L] = i DFS(L+1, i+1) if __name__ == "__main__": n, m = m...
[ "heejjuunn@gmail.com" ]
heejjuunn@gmail.com
6be73d2891c7f8dcfec8d07fae4cdd4d788fa90d
9dc8c299ee7d4a225002127cc03b4253c8a721fd
/libs/sdk/ip.py
c29b8a1c4bf602f73ab372609494f7fe850308dd
[]
no_license
namesuqi/strategy_corgi
5df5d8c89bdf7a7c465c438048be20ef16120f4f
557b8f8eabf034c2a57c25e6bc581858dd4f1b6e
refs/heads/master
2020-03-07T04:00:18.313901
2018-03-29T07:50:50
2018-03-29T07:50:50
127,253,453
0
0
null
null
null
null
UTF-8
Python
false
false
2,112
py
# coding=utf-8 # author: zengyuetian import random # Private address # A class 10.0.0.0--10.255.255.255 # B class 172.16.0.0--172.31.255.255 # C class 192.168.0.0--192.168.255.255 def create_address_for_class(l1, l2, l3, l4, total): """ create ip address :param l1: :param l2: :param l3: :pa...
[ "suqi_name@163.com" ]
suqi_name@163.com
1a925b61bb22d406f24881d383852e7f5b0033ff
64bf39b96a014b5d3f69b3311430185c64a7ff0e
/intro-ansible/venv3/lib/python3.8/site-packages/ansible_collections/f5networks/f5_modules/plugins/modules/bigip_monitor_tcp.py
62a24e5ac62070356f04f5d623ba714d1a648339
[ "MIT", "GPL-3.0-only" ]
permissive
SimonFangCisco/dne-dna-code
7072eba7da0389e37507b7a2aa5f7d0c0735a220
2ea7d4f00212f502bc684ac257371ada73da1ca9
refs/heads/master
2023-03-10T23:10:31.392558
2021-02-25T15:04:36
2021-02-25T15:04:36
342,274,373
0
0
MIT
2021-02-25T14:39:22
2021-02-25T14:39:22
null
UTF-8
Python
false
false
20,475
py
#!/usr/bin/python # -*- coding: utf-8 -*- # # Copyright: (c) 2017, F5 Networks Inc. # GNU General Public License v3.0 (see COPYING or https://www.gnu.org/licenses/gpl-3.0.txt) from __future__ import absolute_import, division, print_function __metaclass__ = type DOCUMENTATION = r''' --- module: bigip_monitor_tcp short...
[ "sifang@cisco.com" ]
sifang@cisco.com
ddeb75debc500a545bcaf8f7cec16b73e6537da1
0326f06f68fb0d919f8467f4744dfd60a654836a
/eggs/Pillow-2.4.0-py2.7-linux-x86_64.egg/PIL/JpegPresets.py
cbdc02b4c45221e70b60912f90e42d254851e95e
[ "LicenseRef-scancode-secret-labs-2011" ]
permissive
ethirajit/onlinepos
67de6023241339ae08c3b88a9e7b62b837ec17a3
186ba6585d0b29f96a5c210462764515cccb3b47
refs/heads/master
2021-01-17T13:23:36.490727
2014-07-01T10:30:17
2014-07-01T10:30:17
34,388,218
1
0
null
null
null
null
UTF-8
Python
false
false
12,574
py
""" JPEG quality settings equivalent to the Photoshop settings. More presets can be added to the presets dict if needed. Can be use when saving JPEG file. To apply the preset, specify:: quality="preset_name" To apply only the quantization table:: qtables="preset_name" To apply only the subsamp...
[ "root@server.onlinepos.co.in" ]
root@server.onlinepos.co.in
c66fa59296c69c6d587cda797e0faa135b6ac197
1e277cfc6b17d562b6c2f6d1ca54d43782ccca57
/pg_objects/objects/schema.py
8313d54db4941c977ddc4528d062ec4c6582a4cd
[]
no_license
jbasko/pg-objects
beda6e8033ad86e706ec0f1f3abe06223014d1e2
9c8950c2109ae905244d95851290fbf8ef1800ee
refs/heads/master
2020-05-03T11:41:42.336461
2019-05-18T07:49:13
2019-05-18T07:49:13
178,606,643
1
1
null
null
null
null
UTF-8
Python
false
false
13,819
py
import collections from typing import Set, Union, Collection, Dict from ..graph import Graph from ..statements import CreateStatement, DropStatement, TextStatement, TransactionOfStatements from .base import Object, SetupAbc, ObjectLink, parse_privileges, StateProviderAbc, ObjectState from .database import Database fro...
[ "jazeps.basko@gmail.com" ]
jazeps.basko@gmail.com
bef822e1c40fb0fe2af25e9f1bf3fe953154e8e2
c93b0f008d0977e0b9327ad8b930489f5cccae97
/platfrom/datacollect/Action/Comparefile.py
71298c88c2b1d22d6ee9a7ba53ed3089b27bfb4b
[]
no_license
ParkPan/ATCasePackage
15caa664bd94c014ccbd1780353bfc5fcc0caa87
edad6c1d5a343c740e251821fee0c29336f3d435
refs/heads/master
2020-06-16T02:44:06.323352
2016-12-01T03:46:44
2016-12-01T03:46:44
75,251,843
0
0
null
null
null
null
UTF-8
Python
false
false
16,696
py
from File2DictList import * ''' the method compare list not contain child list and also not contain the key 'type' ''' def comparefilebyitslist(filename): inputlist = inputfile2list(filename + '.txt') # inputlist = inputfilecontaindict2list(filename + '.txt') outputlist = funneloutputfile2list(filename + '...
[ "panpan@cloutropy.com" ]
panpan@cloutropy.com
60c3a3a93b3a5056158ddaa89d8f24362362240a
97df2c66247e02082a68194bf1e5fb3d01c96468
/tests/daemon/unit/stores/test_workspacestore.py
341cbd06a7303f25d113b762801a6ed8e446eac4
[ "Apache-2.0" ]
permissive
VenusTokyo/jina
fecd8ecb35928158f436ada90e773c4eccbf7b64
4265163fafe499f80dc52be4a437087bf3c1799f
refs/heads/master
2023-07-31T13:18:51.727331
2021-10-02T12:22:59
2021-10-02T12:22:59
407,812,228
1
1
Apache-2.0
2021-10-02T12:23:00
2021-09-18T09:10:57
null
UTF-8
Python
false
false
766
py
import os import pytest from daemon.models import DaemonID from daemon.stores import WorkspaceStore from jina.enums import RemoteWorkspaceState @pytest.fixture(scope='function') def filepath(tmpdir): temp_filepath = os.path.join(tmpdir, 'input_file.csv') with open(temp_filepath, 'w') as file: file.w...
[ "noreply@github.com" ]
VenusTokyo.noreply@github.com
e274fa1e8d5109cdc5d59c1b823340fd9ee78658
28b4c4676cb016e35cc7b1048097628caa113114
/sso/common.py
0e079fbb7fbd2920302e4b9ecd0a0d661898f886
[ "MIT" ]
permissive
shiroyuki/voila-id
829127ef258c829f33d6f4079486829e3325f208
da86daef255d23b73ad6f2ba67fba02201407f09
refs/heads/master
2016-09-06T16:56:45.724263
2014-08-25T05:50:43
2014-08-25T05:50:43
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,596
py
# -*- coding: utf-8 -*- import json import os from tori.centre import core from tori.controller import Controller as BaseController from tori.controller import RestController as BaseRestController class AssetManager(object): def __init__(self, config): self._path_map = config['path_map'] def resolve_p...
[ "jnopporn@shiroyuki.com" ]
jnopporn@shiroyuki.com
167f7b9f81189cff14c6e499ea36f859dcffb727
a26b11bd2ee82f6ffbf82525d421ad32e2328c33
/pentest_worker/workers/connections.py
3262e7acd6dff726649420ea741825ebca21ad6b
[]
no_license
Nekmo/pentest-studio
b08804fe19a5c3fb2bc14b90953922a2772623e2
6bac1cf8618437f034bcedc74c41c6079ef95d0b
refs/heads/master
2023-09-06T07:51:55.333412
2023-08-19T21:46:44
2023-08-19T21:46:44
162,857,644
8
0
null
2023-03-04T03:03:04
2018-12-23T02:54:26
JavaScript
UTF-8
Python
false
false
2,315
py
import os from logging import getLogger from typing import Optional, Iterator import requests from django.conf import settings from django.urls import reverse from pentest_worker.workers.compress import create_memory_tar from pentest_worker.workers.config import get_worker_config logger = getLogger(__name__) class...
[ "contacto@nekmo.com" ]
contacto@nekmo.com
f0a54457eb6a1af7604202eb55b16fc1e9bbd453
b3b68efa404a7034f0d5a1c10b281ef721f8321a
/Scripts/simulation/venues/civic_policies/venue_civic_policy_commands.py
b442996b5884f9e80532f26784fca92af2b8efef
[ "Apache-2.0" ]
permissive
velocist/TS4CheatsInfo
62195f3333076c148b2a59f926c9fb5202f1c6fb
b59ea7e5f4bd01d3b3bd7603843d525a9c179867
refs/heads/main
2023-03-08T01:57:39.879485
2021-02-13T21:27:38
2021-02-13T21:27:38
337,543,310
1
0
null
null
null
null
UTF-8
Python
false
false
9,707
py
# uncompyle6 version 3.7.4 # Python bytecode 3.7 (3394) # Decompiled from: Python 3.7.9 (tags/v3.7.9:13c94747c7, Aug 17 2020, 18:58:18) [MSC v.1900 64 bit (AMD64)] # Embedded file name: T:\InGame\Gameplay\Scripts\Server\venues\civic_policies\venue_civic_policy_commands.py # Compiled at: 2020-03-12 00:02:38 # Size of so...
[ "cristina.caballero2406@gmail.com" ]
cristina.caballero2406@gmail.com
52f3ed9d1ee753e34cf625e4d7a413db911ee4f6
ecd27923efba50703a7bfbfa2ba37a8cc78560ea
/automatic_scraper/config/bid/liriqing/China_gongcheng_ztb_config.py
320ed0016b39d1a4db6917de0549cb75f416ea93
[]
no_license
yougecn/work
fb691b072a736731083777e489712dee199e6c75
1b58525e5ee8a3bdecca87fdee35a80e93d89856
refs/heads/master
2022-03-03T19:14:17.234929
2018-04-17T12:29:19
2018-04-17T12:29:19
null
0
0
null
null
null
null
UTF-8
Python
false
false
3,283
py
# coding: utf-8 import time import logging import re from bs4 import BeautifulSoup import re logger = logging.getLogger(__name__) author = "liriqing" web_title = u"中国工程项目网" data_source = 'http://gcxm.com.cn' start_urls = [ # 招标公告 #政府采购 "http://gcxm.com.cn/index.php?m=content&c=index&a=lists&catid=9", ...
[ "iwechen123@gmail.com" ]
iwechen123@gmail.com
17f3a654822069451fa8ff1e7d50ff1515d70de4
7d0937960f6461abdb4e2eb5a1c34ba2787b04b5
/stealthify.py
5e9f7c4392d73abf09ab25eb84d7282972233812
[ "MIT" ]
permissive
sshh12/StealthML
03f8d3b8e993652d3b8531c405f438d2d6c8bb7a
237721b16b5d60141eea186abf3531853b88a54f
refs/heads/master
2020-03-07T12:40:58.975925
2019-01-21T03:18:51
2019-01-21T03:18:51
127,483,261
2
0
null
null
null
null
UTF-8
Python
false
false
1,964
py
""" Stealthify an image. The CLI script takes and image and the name of an object (ex. 'zebra') and returns the image without that object. """ # Use lib as if they were installed import sys sys.path.insert(0, "./InPainting") sys.path.insert(0, "./MaskRCNN") # Utils import skimage.io import skimage.transform import c...
[ "shrivu1122@gmail.com" ]
shrivu1122@gmail.com
cf367531555f01b995722103ed91b077d96d19cb
5c9d8bdf1b05f4748a9789e4131a93563d99fe3b
/Proyecto/misitio/users/migrations/0001_initial.py
afc060bbc3289619a91da73f57f157e25f7b3bab
[]
no_license
javicb55/djangoProyectosVarios
7febcd7faaed41f4dac529566b19e4eb6950df32
fa67cd8f6f54d8212034bdbb2e06af4ac4b361b5
refs/heads/master
2020-04-12T11:25:01.689872
2018-12-19T15:46:45
2018-12-19T15:46:45
162,458,292
0
0
null
null
null
null
UTF-8
Python
false
false
777
py
# Generated by Django 2.1.3 on 2018-11-20 16:49 from django.conf import settings from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): initial = True dependencies = [ migrations.swappable_dependency(settings.AUTH_USER_MODEL), ] ope...
[ "javicb55@gmail.com" ]
javicb55@gmail.com
727131bf339566cb25c1dfa7278e658e6367913c
a0e0bd0aacc93aa1b494a220aa79a6f99f6e8565
/trunk/src/appserver/lib/files_dao.py
12a2be5b56be83b959ee567f9af74d3005a22309
[]
no_license
newguangzhou/now-hello
b3f21c5b07c7f5b0b69eb91430c760d059499a03
a0b970711318547afaa5d6ce1b500c089a2ded59
refs/heads/master
2021-08-20T03:21:42.927049
2017-11-28T02:40:59
2017-11-28T02:40:59
112,283,378
0
0
null
null
null
null
UTF-8
Python
false
false
478
py
# -*- coding: utf-8 -*- from tornado import gen from files_mongo_dao import FilesMongoDAO class FilesDAO: @staticmethod def new(**kwargs): mongo_meta = kwargs["mongo_meta"] mongo_dao = FilesMongoDAO(meta = mongo_meta) inst = FilesDAO(db_dao = mongo_dao) return inst de...
[ "bingodongtian@gmail.com" ]
bingodongtian@gmail.com
b9c8674bb728527e4b16ed10db7932c29be046a3
3e30e334d759a3606be1dce6dca1154568808d68
/xlsxwriter/test/comparison/test_chart_axis26.py
9a81e547c649240a0e0d4f91e8016a85528a7d43
[ "BSD-2-Clause-Views" ]
permissive
cimarronm/XlsxWriter
59668816c4faf5b2e5fc7b96a4ab98d5797891b7
b440055bebfcc08339bc3e43cc2ce9819a142004
refs/heads/master
2021-01-18T10:07:21.729676
2014-08-12T23:17:43
2014-08-12T23:17:43
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,259
py
############################################################################### # # Tests for XlsxWriter. # # Copyright (c), 2013-2014, John McNamara, jmcnamara@cpan.org # import unittest import os from ...workbook import Workbook from ..helperfunctions import _compare_xlsx_files class TestCompareXLSXFiles(unittest....
[ "jmcnamara@cpan.org" ]
jmcnamara@cpan.org
105406a5a8f501c5feecd7c9f58d267bfe22c27b
963a5564965e4181caa8a1c66396d714865bc236
/django_cradmin/tests/test_abstract_renderable.py
495b2340b7556c986e55d0a461d47814e708fd89
[ "BSD-3-Clause" ]
permissive
appressoas/django_cradmin
d6694b87cf8a7e53b4b6c3049c085560eeba2c9f
944e8202ac67c3838b748ff8f3a0b2a2870619bc
refs/heads/master
2023-07-20T14:15:03.426470
2023-07-17T11:33:10
2023-07-17T11:33:10
20,762,263
12
3
BSD-3-Clause
2023-02-15T20:32:49
2014-06-12T09:45:04
JavaScript
UTF-8
Python
false
false
830
py
from django.test import TestCase from django_cradmin.renderable import AbstractRenderable class MinimalRenderable(AbstractRenderable): template_name = 'cradmin_viewhelpers_testapp/listbuilder/minimal-renderable.django.html' class TestAbstractRenderable(TestCase): def test_get_template_name_no_template_name...
[ "post@espenak.net" ]
post@espenak.net
5fb6220ef1dcb34afb9ecc6390830e4f14c8febb
980434e03e722eaf3a5ff4ab4f1971c8d1cde4c5
/搜索二维矩阵II.py
52854e8fa84b6e712d2cd5e3be818b66ee3b09e4
[]
no_license
arry-lee/arryleetcode
c9c548b0defc9771e4e488b3e760809364456c99
b4b9b971ec81a921cca606dfa46ea4109d975dfb
refs/heads/master
2020-07-26T14:11:27.645307
2019-09-15T23:31:09
2019-09-15T23:31:09
208,670,826
1
0
null
null
null
null
WINDOWS-1252
Python
false
false
619
py
#ËÑË÷¶þά¾ØÕóII #2019-08-11 03:22:12 class Solution: def searchMatrix(self, matrix, target): """ :type matrix: List[List[int]] :type target: int :rtype: bool """ if not matrix or not matrix[0]: return False r = len(matrix) c = len...
[ "arry_lee@qq.com" ]
arry_lee@qq.com
4a4a45f26b1e6c559642fdc12136f9f3c1bccbcd
c98239fe93aba9da0bed9da87dc220f393d7301d
/week-2/oo-practice-melons/harvest.py
a8a1b48b302889ac652ab3013c32fe42ff3512ec
[]
no_license
sdublish/hackbright-exercises
2895477db90d117f52e47cb1a3cfb5c085b5dc0b
6e94ce7070471adcd8e6ae1b8ed733c305da6ee4
refs/heads/master
2022-12-16T04:29:24.394066
2018-07-01T21:27:30
2018-07-01T21:27:30
138,514,248
0
0
null
2021-06-01T22:22:15
2018-06-24T20:47:22
Python
UTF-8
Python
false
false
3,839
py
############ # Part 1 # ############ class MelonType(object): """A species of melon at a melon farm.""" def __init__(self, code, first_harvest, color, is_seedless, is_bestseller, name): """Initialize a melon.""" self.first_harvest = first_harvest self.color = color...
[ "vagrant@vagrant.vm" ]
vagrant@vagrant.vm
9f93308af159adf84d1c3f2a7b81489e065652c0
4fc9ee48160aa9066105063a23ae2867e6a903d2
/utils.py
eff4a8239c33b2c0a8a7a5b0b9ee205f1e163976
[]
no_license
IanEisenberg/NeuroEcon_Project
ee50d2fdccc8fb40550748b573f7df52c6b63dbe
7c7c2d527f813d43b25d8de72a15d3824480501c
refs/heads/master
2021-08-28T20:39:39.501976
2017-12-13T05:04:11
2017-12-13T05:04:11
114,076,142
0
0
null
null
null
null
UTF-8
Python
false
false
4,029
py
import numpy as np import pandas as pd # **********HELPER FUNCTIONS *********************************** def create_value_graph(graph, seeds, weight = .95, steps = 1000): value_graph = {key:.5 for key in graph.keys()} value_graph.update(seeds) node = np.random.choice(value_graph.keys()) for step in rang...
[ "ianeisenberg90@gmail.com" ]
ianeisenberg90@gmail.com
3d1eca75710de676366a1c1e33da78d10fab7f4b
6fa7f99d3d3d9b177ef01ebf9a9da4982813b7d4
/GX3pQxvbTJApWYgRJ_2.py
df08b8ad07ea69a08ca649bdf06f84b999e740a8
[]
no_license
daniel-reich/ubiquitous-fiesta
26e80f0082f8589e51d359ce7953117a3da7d38c
9af2700dbe59284f5697e612491499841a6c126f
refs/heads/master
2023-04-05T06:40:37.328213
2021-04-06T20:17:44
2021-04-06T20:17:44
355,318,759
0
0
null
null
null
null
UTF-8
Python
false
false
101
py
def is_kaprekar(n): s = str(n ** 2) i = len(s) // 2 return n == int(s[:i] or 0) + int(s[i:])
[ "daniel.reich@danielreichs-MacBook-Pro.local" ]
daniel.reich@danielreichs-MacBook-Pro.local
053b56ca4f326b61c9281526268b79d4271d934d
f0df081af8a46ab5d8f1d6b529347b214f50a308
/p771_jewels_stones.py
4b3fc0c936f81a93244bc66810b180cb768a4f6b
[]
no_license
ymwondimu/LeetCode
81198e468bf87530d1cc894be8e02c929773cae7
049fd6dea5557299f921faeadfe5c1c84bf50a2f
refs/heads/master
2020-03-20T16:54:28.563714
2018-11-01T01:18:05
2018-11-01T01:18:05
137,548,190
0
0
null
null
null
null
UTF-8
Python
false
false
345
py
from collections import Counter def numJewelsInStones(J, S): """ :type J: str :type S: str :rtype: int """ d = Counter(J) count = 0 for char in S: if char in d: count += 1 return count def main(): print (numJewelsInStones("aA","aAAbbbb")) if __name__ ...
[ "ywondimu6@gatech.edu" ]
ywondimu6@gatech.edu
a0dcd65e5b5bab0ba81f56915e790458366e511a
e6fac8e0289d9f82369d2eb8e22bc175c6f51b3b
/Arcade/Intro/Level 4/Are Similar/code.py
012a77de12be1f9bf0d2f9e7771545760b6520e8
[]
no_license
Zahidsqldba07/CodeFights-9
f361c15d24f96afa26de08af273a7f8f507ced4a
6c5d152b1ad35cf178dd74acbc44ceb5fdcdf139
refs/heads/master
2023-03-18T23:52:43.274786
2017-05-12T07:28:08
2017-05-12T07:28:08
null
0
0
null
null
null
null
UTF-8
Python
false
false
535
py
def areSimilar(A, B): length = len(A) differences = 0 a, b = [], [] for i in xrange(length): if A[i] != B[i]: a.append(A[i]) b.append(B[i]) differences += 1 # If there are no differences, then similar. if differences == 0: return True ...
[ "hallosputnik@gmail.com" ]
hallosputnik@gmail.com
8ad71c3e4b1ef18b310fb85261c4b09914ceafd6
443f208df2bcee3e0a6386f2f32c46de53069980
/dist_td3.py
bb89cde46a81ff5b4a10a4985ec88d8e7fcec906
[ "MIT" ]
permissive
afcarl/tradingrl
6fa6ce45d5340a573d61fa0410334293b22cb87d
3a61f758ed35b7b2c5ca87bdf76e2442df64d7f7
refs/heads/master
2020-08-31T05:47:11.550009
2019-10-29T17:21:21
2019-10-29T17:21:21
null
0
0
null
null
null
null
UTF-8
Python
false
false
18,563
py
import tensorflow as tf from IPython.display import clear_output import tensorflow_probability as tfp import numpy as np import pandas as pd from statistics import mean from sklearn.preprocessing import MinMaxScaler from sklearn.preprocessing import StandardScaler from net import * from memory import * # from...
[ "noreply@github.com" ]
afcarl.noreply@github.com
540d8e87c30a999cba236d0fef230911bf1a8c52
e8772bda54929e807a380d60310855ab78ed4835
/backend/manage.py
7b47aaffbe4886c14634feddead73c5f46869d24
[]
no_license
crowdbotics-apps/zang-23017
6db17e646b8319cde1848bf6abfcf4768d213a38
27c1c135edc6f6aff551e18cb93aaf5fbf5e6def
refs/heads/master
2023-01-19T15:42:13.974287
2020-11-27T16:39:14
2020-11-27T16:39:14
316,552,220
0
0
null
null
null
null
UTF-8
Python
false
false
630
py
#!/usr/bin/env python """Django's command-line utility for administrative tasks.""" import os import sys def main(): os.environ.setdefault("DJANGO_SETTINGS_MODULE", "zang_23017.settings") try: from django.core.management import execute_from_command_line except ImportError as exc: raise Imp...
[ "team@crowdbotics.com" ]
team@crowdbotics.com
1098bfa98544edb02aa2dd9230d7cfa3cb677bf6
8f8b209e4ff9111a70cbc1feade4cfc8fe0eacaa
/collada/tests/test_material.py
b66a4fb66f690e3cba46ca8ccae4928f707c3c82
[]
no_license
phaeta/pycollada
3efaea70d4714011dcc639586571f356ebdee062
e2bee67313b96da86d4926625274f9276179e17e
refs/heads/master
2021-01-17T22:27:35.052455
2011-03-08T02:22:33
2011-03-08T02:22:33
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,811
py
import unittest2 import collada from lxml.etree import fromstring, tostring import StringIO class TestMaterial(unittest2.TestCase): def setUp(self): self.dummy_collada_text = """ <COLLADA xmlns="http://www.collada.org/2005/11/COLLADASchema" version="1.4.1"> </COLLADA> """ s...
[ "jterrace@gmail.com" ]
jterrace@gmail.com
d01ea7436b69e1e9cb9f85e5f0491ec91b14fffe
f3b233e5053e28fa95c549017bd75a30456eb50c
/p38a_input/L3FQ/3FQ-2Z_wat_20Abox/set_2.py
8510f324d980e68d0c7bbbfc68799df12c48530c
[]
no_license
AnguseZhang/Input_TI
ddf2ed40ff1c0aa24eea3275b83d4d405b50b820
50ada0833890be9e261c967d00948f998313cb60
refs/heads/master
2021-05-25T15:02:38.858785
2020-02-18T16:57:04
2020-02-18T16:57:04
null
0
0
null
null
null
null
UTF-8
Python
false
false
740
py
import os dir = '/mnt/scratch/songlin3/run/p38a/L3FQ/wat_20Abox/ti_one-step/3FQ_2Z/' filesdir = dir + 'files/' temp_prodin = filesdir + 'temp_prod_2.in' temp_pbs = filesdir + 'temp_2.pbs' lambd = [ 0.00922, 0.04794, 0.11505, 0.20634, 0.31608, 0.43738, 0.56262, 0.68392, 0.79366, 0.88495, 0.95206, 0.99078] for j in lam...
[ "songlin3@msu.edu" ]
songlin3@msu.edu
3006df82dcbc63f0e7b903a906d7ebc5159c4f3c
c654aab55f79e3363600dfded4f102f299a395d5
/kvmvdi/kvmvdi/settings.py
ede61f7e293665537ed128f60f3925630fafdd22
[]
no_license
hieule1997/VNPT-cuoi_cung
2100a0ae8b9ca3bb55e4caf70ee279b9bdb3e417
0c36c6e653300317462e47f0a5d0061c135a89a9
refs/heads/master
2020-04-04T23:10:26.374804
2018-11-06T07:56:11
2018-11-06T07:56:11
156,349,374
1
0
null
2018-11-06T08:16:39
2018-11-06T08:16:38
null
UTF-8
Python
false
false
3,652
py
""" Django settings for kvmvdi project. Generated by 'django-admin startproject' using Django 1.11.11. For more information on this file, see https://docs.djangoproject.com/en/1.11/topics/settings/ For the full list of settings and their values, see https://docs.djangoproject.com/en/1.11/ref/settings/ """ import os...
[ "dangdiendao@gmail.com" ]
dangdiendao@gmail.com
74438b7dd2ffe9038245c4151532b129d14031dc
3552c6e18480b9eb4b8a05c0af76baaeb638e376
/pyle38/__init__.py
91b6b71976defbded859a10c90c3c72ee4351eb9
[ "MIT" ]
permissive
trivedisorabh/pyle38
35c8db753f5ea3e782c3dd723c933ce65dcab83f
e67a9c2637dfc98a37be11523ec5d3b6b4328ee4
refs/heads/main
2023-07-20T07:51:58.275784
2021-09-01T16:01:25
2021-09-04T11:27:22
null
0
0
null
null
null
null
UTF-8
Python
false
false
50
py
__version__ = "0.3.2" from .tile38 import Tile38
[ "legionaerr@googlemail.com" ]
legionaerr@googlemail.com
540edd268876a34ce8a136bb39ee6ea777b09223
b5ef3b9da130f604f111bd469128b73e78d6ba9d
/bt5/erp5_base/SkinTemplateItem/portal_skins/erp5_base/Person_statPersonDetailedContributionList.py
6a172ab18485c01a2c8e8d465c013a09526aedd4
[]
no_license
soediro/erp5
154bb2057c4cd12c14018c1ab2a09a78b2d2386a
3d1a8811007a363b7a43df4b295b5e0965c2d125
refs/heads/master
2021-01-11T00:31:05.445267
2016-10-05T09:28:05
2016-10-07T02:59:00
70,526,968
1
0
null
2016-10-10T20:40:41
2016-10-10T20:40:40
null
UTF-8
Python
false
false
2,514
py
request = container.REQUEST RESPONSE = request.RESPONSE stat_line = request.get('stat_line', None) return stat_line # XXX example of another way to get the stat line but this is slower from Products.ERP5Type.Log import log from Products.PythonScripts.standard import Object from Products.ZSQLCatalog.SQLCatalog impo...
[ "georgios.dagkakis@nexedi.com" ]
georgios.dagkakis@nexedi.com
008b5083e4976a5ee3c1fc49fd2b0019f3520624
dfc28b499067f97d86f946628941f623468e8b35
/venv/bin/sqlformat
3354730cfc61ccdcb4c5899cf3289c36497662c7
[]
no_license
Smikhalcv/car_admin
4d8c2180d1e5380e7c9a0be5399547477d4d38cc
5a923db3bed897efb09c0ce1c871360f87fb6074
refs/heads/master
2022-12-10T18:48:59.857539
2020-09-05T21:44:45
2020-09-05T21:44:45
292,345,656
0
0
null
null
null
null
UTF-8
Python
false
false
276
#!/home/dell-ubuntu/Документы/Python/django/car_admin/venv/bin/python # -*- coding: utf-8 -*- import re import sys from sqlparse.__main__ import main if __name__ == '__main__': sys.argv[0] = re.sub(r'(-script\.pyw|\.exe)?$', '', sys.argv[0]) sys.exit(main())
[ "Smikhalcv@yandex.ru" ]
Smikhalcv@yandex.ru
b236bf1178b62723944dfe03bd755c6cde5f8964
53fab060fa262e5d5026e0807d93c75fb81e67b9
/backup/user_026/ch41_2020_03_25_20_28_23_061551.py
98e384c73163546f4559c82db2229452b0c5813e
[]
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
155
py
def zera_negativos (lista_inteiros): c=0 while c<len(lista_inteiros): if c<0: lista_inteiro[c]=0 return lista_inteiros
[ "you@example.com" ]
you@example.com
929a5edb234f83edb90ef01b7f9edbecc148be4c
ca7aa979e7059467e158830b76673f5b77a0f5a3
/Python_codes/p02781/s615536539.py
fa2c49c225c76b1c367183f7fa37e056081433e9
[]
no_license
Aasthaengg/IBMdataset
7abb6cbcc4fb03ef5ca68ac64ba460c4a64f8901
f33f1c5c3b16d0ea8d1f5a7d479ad288bb3f48d8
refs/heads/main
2023-04-22T10:22:44.763102
2021-05-13T17:27:22
2021-05-13T17:27:22
367,112,348
0
0
null
null
null
null
UTF-8
Python
false
false
1,127
py
# coding: utf-8 import sys #from operator import itemgetter sysread = sys.stdin.readline read = sys.stdin.read #from heapq import heappop, heappush #from collections import defaultdict sys.setrecursionlimit(10**7) import math from itertools import combinations, product #import bisect# lower_bound etc #import numpy as n...
[ "66529651+Aastha2104@users.noreply.github.com" ]
66529651+Aastha2104@users.noreply.github.com
fa04a840c7d3b976304a1ee7c8d3a3f6490d461e
a34df0359b8aa5ef03c010fe91229e4cbb765d1f
/Step X/twilio/rest/api/v2010/account/sip/domain/credential_list_mapping.py
fbb9d6e14398372b8f13ef967e2b70ed7c857a58
[ "Unlicense" ]
permissive
wrestlerdude/QuackathonRubeGoldberg2019
f881d6c131ca8349946d01be29ff4ad272e11159
fdaafb79add30a3de075fa0ab9c7c88900081f65
refs/heads/master
2020-04-20T11:52:01.937292
2019-02-04T18:10:54
2019-02-04T18:10:54
168,828,471
1
0
Unlicense
2019-02-02T21:50:33
2019-02-02T12:16:32
PHP
UTF-8
Python
false
false
15,785
py
# coding=utf-8 """ This code was generated by \ / _ _ _| _ _ | (_)\/(_)(_|\/| |(/_ v1.0.0 / / """ from twilio.base import deserialize from twilio.base import values from twilio.base.instance_context import InstanceContext from twilio.base.instance_resource import InstanceResource from twilio.base....
[ "raishallan2@gmail.com" ]
raishallan2@gmail.com
0e31e90dbb1245afd2a56026ce072ff39e2d96d1
f5a2868733338173c09f241d239a7da06f9d45dc
/rose_test_applicati_19275/urls.py
4620234539f9498dec8f6097c3ce80a63c325f53
[]
no_license
crowdbotics-apps/rose-test-applicati-19275
8a403967bd1c90cf81d21bf963538b275be61e94
84a245857d63bc22b9f2dbbd3c15098f8c86516c
refs/heads/master
2022-11-23T03:54:01.973049
2020-07-30T21:38:46
2020-07-30T21:38:46
283,881,691
0
0
null
null
null
null
UTF-8
Python
false
false
1,995
py
"""rose_test_applicati_19275 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='...
[ "team@crowdbotics.com" ]
team@crowdbotics.com
d28b5ac1447411c0fd3edad4a06158378db59d4f
4b823f78b4edb42cd073899ae5b0b6572c4961dc
/scons_template/SConscript
0bb99d64454d381100f36c673040e8ad1072f385
[]
no_license
teddyxiong53/c_code
c942593d8cecd24dea81920a8082bd7176fd49ba
0ed4cfa62c90eb1a568ccf4236d9141e3555ed60
refs/heads/master
2022-08-07T07:09:48.150955
2022-08-01T03:32:45
2022-08-01T03:32:45
78,743,068
0
0
null
null
null
null
UTF-8
Python
false
false
286
import os Import('ROOT_DIR') cwd = str(Dir('#')) objs = [] #list = os.listdir(cwd) list = ['app'] for d in list: path = os.path.join(cwd, d) if os.path.isfile(os.path.join(path, 'SConscript')): objs = objs + SConscript(os.path.join(path, 'SConscript')) Return('objs')
[ "1073167306@qq.com" ]
1073167306@qq.com
47b6b27d25488b3de1499e8a72379be08813d7a8
fb3f2c3f83fbfe894f01ea514c760371ef05d54f
/Algorithm/chapter4/wordLadder.py
e50f37f23b96f09b76630514085a3c6e513e012f
[]
no_license
jonXue92/PythonGit
8160220a3d51fb6a317702a2b50e8ca3306a8f0e
a9358ac79a47b3d1fd072a4af603bf07a89b1a2c
refs/heads/master
2020-04-02T05:25:51.032912
2019-04-12T04:18:15
2019-04-12T04:18:15
154,076,228
0
1
null
null
null
null
UTF-8
Python
false
false
1,050
py
# -*- coding: utf-8 -*- import collections class WordLadder: def ladderLength(self, start, end, dict): dict.add(end) queue = collections.deque([start]) visited = set([start]) distance = 0 while queue: distance += 1 for i in range(len(queue))...
[ "xzywrz@gmail.com" ]
xzywrz@gmail.com
453687121105b058e6a02f8e2e15fc35bf246b43
26d6c34df00a229dc85ad7326de6cb5672be7acc
/msgraph-cli-extensions/v1_0/changenotifications_v1_0/azext_changenotifications_v1_0/generated/_client_factory.py
0856ea52732c613fd549025dc6cd1c4e206b9583
[ "MIT" ]
permissive
BrianTJackett/msgraph-cli
87f92471f68f85e44872939d876b9ff5f0ae6b2c
78a4b1c73a23b85c070fed2fbca93758733f620e
refs/heads/main
2023-06-23T21:31:53.306655
2021-07-09T07:58:56
2021-07-09T07:58:56
386,993,555
0
0
NOASSERTION
2021-07-17T16:56:05
2021-07-17T16:56:05
null
UTF-8
Python
false
false
1,058
py
# -------------------------------------------------------------------------- # 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 cause...
[ "japhethobalak@gmail.com" ]
japhethobalak@gmail.com
a724806845b2caea3b8e673f364e83232620f363
82d588161a8f8cd27c3031c779120ea4380791b9
/minjoo/greedy/1202.py
025c512c5ba0fa99652d84a35035e01f4487f75b
[]
no_license
Yejin6911/Algorithm_Study
3aa02a7d07169382a78c049d1de8251a52da816c
98c968bfeed17ab6b62e3a077280e0310f08190a
refs/heads/master
2023-09-01T00:31:07.212413
2021-10-24T07:56:21
2021-10-24T07:56:21
345,009,057
1
1
null
2021-09-20T13:08:33
2021-03-06T04:57:34
Python
UTF-8
Python
false
false
1,141
py
import sys import heapq n, k = map(int, input().split()) # 보석의 개수, 가방의 개수 wv = [] # 보석의 무게, 가격 bag = [] # 가방에 담을 수 있는 최대 무게 for _ in range(n): w, v = map(int, sys.stdin.readline().split()) heapq.heappush(wv, [w, v]) for _ in range(k): capacity = int(sys.stdin.readline()) heapq.heappush(bag, capacity) ...
[ "mjson1954@gmail.com" ]
mjson1954@gmail.com
04458854e76b27b1f591acd683ef761e5ed2c241
81492269291eaa5342d6da6db59711147a103dae
/syncdata/sync_oracle.py
e0bba7fba5c1984a08b8028807a9438d881c17a9
[]
no_license
wusf/quantlib2
3429278383384e8fb0a2088c51aebf2769154216
4d17709764687420a7cd3147ae0c879947aa8760
refs/heads/master
2020-04-06T06:53:42.694841
2016-09-13T14:25:52
2016-09-13T14:25:52
63,582,064
0
0
null
null
null
null
UTF-8
Python
false
false
1,232
py
#!/usr/bin/env python #coding:utf-8 """ Author: wusf --<wushifan221@gmail.com> Purpose: Created: 2016/7/8 """ import os import numpy import logging import codecs import sqlite3 import cx_Oracle from ConfigParser import ConfigParser import datetool.slicedate as slicedate import syncdata.sync as sync #########...
[ "wushifan221@gmail.com" ]
wushifan221@gmail.com
82c1edc809e40939e9986451f8b71537b2ac1daa
0cbae42b60ad73378dbe5be89cd58a0b4d9670d6
/aBasic/f_path_class/test/Ex09_RegEx_email.py
f7168768d43eb33c0f5ffeea418c69480a99bea5
[]
no_license
Youngiyong/Python
96cf844eb0aa378fde10d3c3b6985e88d01e7fb9
afd574e1cd8a970401b1b56c173cee3e4844188f
refs/heads/master
2023-07-04T02:05:19.732340
2021-08-02T16:03:45
2021-08-02T16:03:45
326,559,328
0
0
null
null
null
null
UTF-8
Python
false
false
1,119
py
""" 이메일 주소의 적합성 체크 kim@encore.com : 올바른 이메일 kim@encore : 잘못된 이메일 ( . 하나 없어서 ) k!m@encore.com : 잘못된 이메일 ( 특수문자 ! 안됨 ) [참고] ^[]: 시작 [^] : not {2,9} : 최소 2개 최대 9개 {2,} : 최소 2개만 지정하고 최대는 지정하지 않음 $ 끝 """ import re def email_chec...
[ "youn9354@naver.com" ]
youn9354@naver.com
c6c647c09aef465cfa3aab54132b4a2595558064
b1baabe0f34a5595af3f9587b357155590f76569
/gameserver/manager/gslimit_fellow.py
a4101b68c70883f657970482a4f4641951cf8497
[]
no_license
anson-tang/3dkserver
cb41269801ec97d747bb7b853841c7ad4921ad94
4fec66a0e1c8454252f53bc9ba41ce220357f7e4
refs/heads/master
2021-01-19T05:27:11.555032
2016-06-22T01:13:04
2016-06-22T01:13:04
60,994,700
0
2
null
null
null
null
UTF-8
Python
false
false
13,024
py
#!/USR/BIN/ENV PYTHON #-*-coding: utf-8-*- # Version: 0.1 # Author: Don Li <donne.cn@gmail.com> # License: Copyright(c) 2013 Don.Li # Summary: import random from twisted.internet import defer from time import time from datetime import datetime from log import log from errorno import * from constan...
[ "123@qq.com" ]
123@qq.com
15d912d4d526f7f9be5ce34f12f81e6d71bba8e2
87d38645dfa582619bb3cd9b9a395ca90528dbcc
/doggydates/migrations/0001_initial.py
e5e8e243714d4599dd5a18683addbaafbe9a7af2
[]
no_license
coffenbacher/doggydates
bd019d5f4a5b40ac093052a26877a8b376fbbf63
d1332f9c7d0a7a01dd515741cb18da6af88c3c04
refs/heads/master
2016-09-06T12:23:32.271836
2013-08-04T15:07:19
2013-08-04T15:07:19
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,529
py
# -*- coding: utf-8 -*- import datetime from south.db import db from south.v2 import SchemaMigration from django.db import models class Migration(SchemaMigration): def forwards(self, orm): # Adding model 'CustomerRow' db.create_table(u'doggydates_customerrow', ( (u'id', self.gf('djang...
[ "charles.offenbacher@gmail.com" ]
charles.offenbacher@gmail.com
66de40b3e13f375576df15c1870424340c93df2a
cba8f623e613cfb0cdba73fb373bec68f7bbfdcb
/ARC026B.py
2eebeb1fce56e8586754fd571f6365d565c925d0
[]
no_license
bonoron/Atcoder
7d0af77a12b40ce2bdebf5ab5a76462629a03ea5
e8c0d1ed7d113a0ea23e30d20e8d9993ba1430fa
refs/heads/master
2022-12-24T20:00:32.702741
2020-09-24T07:03:48
2020-09-24T07:03:48
271,685,972
0
0
null
null
null
null
UTF-8
Python
false
false
319
py
def make_divisors(n): A=[] for i in range(1,int(n**0.5)+1): if n%i==0: A.append(i) if i!=n//i: A.append(n//i) return A n=int(input()) ans=sum(make_divisors(n))-n if n==ans:print("Perfect") elif n<ans:print("Abundant") else:print("Deficient")
[ "noreply@github.com" ]
bonoron.noreply@github.com
ffb38a4d3b6468f7edeb1a9a747f46a89010f690
53fab060fa262e5d5026e0807d93c75fb81e67b9
/backup/user_285/ch34_2019_06_03_00_12_56_880406.py
f24bb45a8bfad8b754019c60897da784a2399ad1
[]
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
242
py
deposito= float(input("depósito inicial: ")) taxa= float(input("taxa de juros: ")) soma=0 total=0 contador=0 while contador<25: total=deposito+deposito*taxa soma+=total contador+=1 print(total, '.2f') print(soma, '.2f')
[ "you@example.com" ]
you@example.com
16924105ec595514549392aa83b1b1b4a011330b
5a3107014b2ea8e1042891a06f9f8d7daf10dbdf
/23edge/configs/_base_/datasets/CIHP_humanparsing.py
0f065cbace5cfe633b2d478a7f110d3419b0a2da
[ "Apache-2.0" ]
permissive
wojiaoyanmin/godie
ed4a78a82b7ea4d430f9ce0d36a5de3e16cf2bc8
bd81fd21201e10e9e1c335afb38075d07c654330
refs/heads/main
2023-01-13T17:33:41.950584
2020-11-24T13:03:53
2020-11-24T13:03:53
313,632,601
0
0
null
null
null
null
UTF-8
Python
false
false
2,011
py
dataset_type = 'CIHPDataset' data_root = 'data/CIHP/' img_norm_cfg = dict( mean=[123.675, 116.28, 103.53], std=[58.395, 57.12, 57.375], to_rgb=True) train_pipeline = [ dict(type='LoadImageFromFile'), dict(type='LoadAnnotations', with_bbox=True, with_mask=True, with_seg=False,with_instance=True), dict(ty...
[ "358787362@qq.com" ]
358787362@qq.com
ddbd302a826481c3efb09f8e423cf244f3c9f874
13800b7827598e76428a335559b7bf11867ec2f0
/python/ccxt/probit.py
3c68942db460b4b2bb5790fe6ef99f8873633a88
[ "MIT" ]
permissive
ccxt/ccxt
b40a0466f5c430a3c0c6026552ae697aa80ba6c6
e4065f6a490e6fc4dd7a72b375428b2faa570668
refs/heads/master
2023-09-04T03:41:29.787733
2023-09-03T19:25:57
2023-09-03T19:25:57
91,253,698
30,798
8,190
MIT
2023-09-14T21:59:09
2017-05-14T15:41:56
Python
UTF-8
Python
false
false
74,125
py
# -*- coding: utf-8 -*- # PLEASE DO NOT EDIT THIS FILE, IT IS GENERATED AND WILL BE OVERWRITTEN: # https://github.com/ccxt/ccxt/blob/master/CONTRIBUTING.md#how-to-contribute-code from ccxt.base.exchange import Exchange from ccxt.abstract.probit import ImplicitAPI import math from ccxt.base.types import OrderSide from...
[ "travis@travis-ci.org" ]
travis@travis-ci.org
9efc306646f7fadb8f214f2313efaeffa0dcdd8e
b8a585b34039afd8d39fb9d960db403fa461a319
/0x00-python_variable_annotations/102-type_checking.py
203f2d658759545a31a1f6cc8b1ff7e4f118fb0d
[]
no_license
benjamesian/holbertonschool-web_back_end
b68521124f3cd32ef98c0d688fc1f43c7fd36771
6d3e677b604a26d8bdf042498795c999a6f06555
refs/heads/master
2021-05-21T08:59:06.620408
2020-10-30T17:31:23
2020-10-30T17:31:23
252,627,600
0
2
null
2021-05-06T20:26:26
2020-04-03T03:55:14
Python
UTF-8
Python
false
false
350
py
#!/usr/bin/env python3 """Test mypy""" from typing import Tuple, List def zoom_array(lst: Tuple, factor: int = 2) -> List: """Annotate a function""" zoomed_in: List = [ item for item in lst for i in range(factor) ] return zoomed_in array = (12, 72, 91) zoom_2x = zoom_array(array) z...
[ "808@holbertonschool.com" ]
808@holbertonschool.com