blob_id
stringlengths
40
40
directory_id
stringlengths
40
40
path
stringlengths
3
288
content_id
stringlengths
40
40
detected_licenses
listlengths
0
112
license_type
stringclasses
2 values
repo_name
stringlengths
5
115
snapshot_id
stringlengths
40
40
revision_id
stringlengths
40
40
branch_name
stringclasses
684 values
visit_date
timestamp[us]date
2015-08-06 10:31:46
2023-09-06 10:44:38
revision_date
timestamp[us]date
1970-01-01 02:38:32
2037-05-03 13:00:00
committer_date
timestamp[us]date
1970-01-01 02:38:32
2023-09-06 01:08:06
github_id
int64
4.92k
681M
star_events_count
int64
0
209k
fork_events_count
int64
0
110k
gha_license_id
stringclasses
22 values
gha_event_created_at
timestamp[us]date
2012-06-04 01:52:49
2023-09-14 21:59:50
gha_created_at
timestamp[us]date
2008-05-22 07:58:19
2023-08-21 12:35:19
gha_language
stringclasses
147 values
src_encoding
stringclasses
25 values
language
stringclasses
1 value
is_vendor
bool
2 classes
is_generated
bool
2 classes
length_bytes
int64
128
12.7k
extension
stringclasses
142 values
content
stringlengths
128
8.19k
authors
listlengths
1
1
author_id
stringlengths
1
132
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
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
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
dc7573c5c67fce908a3ecf1ca25d09fedb1745d8
59636b143a2ab189145b17a7ea9a38de5af1f7a5
/All/yanfa/data_company_stats_py-develop/data_stats/all_table_compute/data_table/data_user_province.py
52b836732892405c4125192b6fe0411c90ecf404
[]
no_license
woshichenya/hezi
880a70c34cc61b6b6bcf1ccb65fa54989595fb71
4211ff8ef78f5d15d8fc8065247f916dfe9d305d
refs/heads/master
2020-04-28T21:46:02.664025
2019-05-14T08:47:33
2019-05-14T08:47:33
175,593,966
1
0
null
null
null
null
UTF-8
Python
false
false
499
py
# -*- coding: UTF-8 -*- from data_stats.all_table_compute.data_compute.data_user_province import DataUserProvinceCompute class DataUserProvince(object): _data = [] def set_data(self): data = [] list = DataUserProvinceCompute().user_province_list() for key in list: field =...
[ "bj_xiaoya@163.com" ]
bj_xiaoya@163.com
33c2123c7261da20f65b43ded367845531b00fa2
e402c78999a01e032afccf9091901c8f439360fc
/DAY02/example/value_1.py
6db73ded47e7ed874be757345b403a96df868b5b
[]
no_license
PengLovol/08.PythonThead
1c7362cc3212a244bfee7782e844f60e941e8faf
254f465b137f2dae1ee94a9eb590ccb09db5734d
refs/heads/master
2020-07-08T01:24:39.558672
2019-09-16T08:17:31
2019-09-16T08:17:31
203,527,523
0
0
null
null
null
null
UTF-8
Python
false
false
559
py
from multiprocessing import Process,Value import time import random #创建共享内存 money = Value('i',2000) #操作共享内存增加 def deposite(): for i in range(100): time.sleep(0.05) #对value属性操作即操作共享内存数据 money.value += random.randint(1,200) #取钱 def withdraw(): for i in range(100): time.sleep(0.04...
[ "1816525677@qq.com" ]
1816525677@qq.com
72e8787909ccc8d63fafb09b5692ee6e44df03f9
0f6e63d16c42a5c0da434e7708ed8801f153ef75
/harvester/storage_explorer/app.py
133a065cfbf7b992a53bf0183317124050c9ae9a
[ "BSD-2-Clause" ]
permissive
opendatatrentino/opendata-harvester
e5ed7a67cb0d62bdbc2b9f8c8f74276bc320355d
7cdff57e02cad22e35c4b19d15df7bbec730cc47
refs/heads/master
2021-01-24T06:12:59.671084
2015-01-22T12:48:53
2015-01-22T12:48:53
15,231,113
1
1
null
null
null
null
UTF-8
Python
false
false
2,584
py
from werkzeug.routing import BaseConverter import json import urllib import flask # from flask import request, session, abort from .views_html import html_views # from jobcontrol.utils.web import generate_csrf_token # from jobcontrol.web.template_filters import filters app = flask.Flask('harvester.storage_explorer'...
[ "redshadow@hackzine.org" ]
redshadow@hackzine.org
7fb673b35fe00b9109e0b32fd5d318f6a0063e2f
164e0f43ef3ad4cb7f6b28dfdd2bfbaa66d38ce2
/Pascal's_Triangle/Pascal's_Triangle.py
2f44cd4ed09289b70a44ba67e0801a187e5937ef
[]
no_license
maoxx241/code
b217f2d10065d90f52cfa38788c99e238565b892
16e97ec5ee7ae9ffa69da2e001d15a86d73d2040
refs/heads/master
2021-07-11T14:25:35.098241
2020-11-25T14:01:56
2020-11-25T14:01:56
222,544,519
0
0
null
null
null
null
UTF-8
Python
false
false
559
py
class Solution: def generate(self, numRows: int) -> List[List[int]]: def helper(lst,depth): if depth>numRows: return lst.append([0]*depth) for i in range(depth): if i == 0 or i ==depth-1: lst[depth...
[ "maomaoyu870@gmail.com" ]
maomaoyu870@gmail.com
7cf84671be6abd1bead0241ba61213e2e3dbfd33
d8348bef501616d3da18a135fff0d5a81e0135df
/datasets.py
e4155ad33611620bad59f6a1ba187c37c5901b4b
[]
no_license
rogalag/Super_Resolution
a197cd8925dc9e2f71330e822268e01e1ef185fd
291a079ea62c11ec9c6d61da77e64168eb2f81d4
refs/heads/master
2020-04-13T16:39:40.908135
2017-10-14T13:37:42
2017-10-14T13:37:42
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,284
py
import os from glob import glob from PIL import Image, ImageFilter from torch.utils.data import Dataset from torchvision.transforms import Compose, Scale, CenterCrop class SuperResolutionDataset(Dataset): def __init__(self, root, large_size=(288, 288), small_size=(72, 72), transforms=None, limit=None): se...
[ "jacobsonaustinj@gmail.com" ]
jacobsonaustinj@gmail.com
bc0b77bfa7428d6fcddcdd08fea2899f5d4886f3
970df58868693ed5e7a7a8ccfa0615cafc049b16
/Edureka_tut_2/Edureka_tut_2.9.py
27c319e233d9c89e1ed0e684893274dbf362da51
[]
no_license
laksh10-stan/Python-Core-Tutorial-Codes
8e04eb9fabfd0a793c3b1f82fb5b725a0e04defb
b50112a6e02e7658d6a361e63f9e5e108901b1ad
refs/heads/master
2021-02-13T11:38:38.453626
2020-03-03T17:00:10
2020-03-03T17:00:10
244,692,961
0
0
null
null
null
null
UTF-8
Python
false
false
6,501
py
''' Difference between procedure oriented programming (POP) and Object oriented programming (OOPS) POP | OOP 1. In POP, program is divided into small parts called functions. |1. In OOP program is divided into parts called objects....
[ "43860070+Kushjadaun@users.noreply.github.com" ]
43860070+Kushjadaun@users.noreply.github.com
205a96a2e4c82dffda570a9863b9993594a209e0
01b8d3feec5e01b7784169ea835dfb99a60acc67
/demo/apps/ventas/admin.py
bf279cd41bfb36854df52e082e2ccb932da5c7e4
[]
no_license
gengue/DjangoPeliculas
6a0a0f48970aeb1f3be080104ad75a9e67ce8bf8
25064a782a5760c2dc1efd13595156b9123fe9b7
refs/heads/master
2020-03-29T12:55:52.753170
2013-09-08T16:49:41
2013-09-08T16:49:41
null
0
0
null
null
null
null
UTF-8
Python
false
false
147
py
from django.contrib import admin from demo.apps.ventas.models import cliente, producto admin.site.register(cliente) admin.site.register(producto)
[ "genesisdaft@gmail.com" ]
genesisdaft@gmail.com
faa4dbfd25b334dabb8657ec2fadc137d17f501f
267cc92ac0f47196f844a069faa28a996e29ae5c
/addresses/forms.py
be8026efa4b2cf37d2fcfa2e654fec46a5925605
[]
no_license
amrebrahem22/Modist
888700c18b2f04f2fcf7251341099c675e039918
b6030a70ec418bf048067db5a7908d0cdf32eaff
refs/heads/master
2022-12-09T20:59:05.099405
2020-01-24T23:48:48
2020-01-24T23:48:48
227,759,357
0
0
null
2022-12-08T03:29:35
2019-12-13T04:56:27
CSS
UTF-8
Python
false
false
2,520
py
from django import forms from django_countries.fields import CountryField from django_countries.widgets import CountrySelectWidget PAYMENT_CHOICES = [ ("S", "Stripe"), ("P", "Paypal"), ] class CheckoutForm(forms.Form): country = CountryField(blank=True, blank_label='(Select Country)').formfield(widget=Cou...
[ "amrebrahem226@gmail.com" ]
amrebrahem226@gmail.com
8329ffbefa5ed5224702d96fd716f57f3e134121
54c946f090ba5b505c778277332e32b4c92571ef
/clustergrammer2/clustergrammer_fun/export_data.py
5d51ffea5722aa4e2ba418280743c87fa4a2dbca
[ "MIT" ]
permissive
shalevy1/clustergrammer2
e19888245821176e233a10687112e8e50e04e241
ce616957f11e6153eabf0d67f7f7f429be6ee9dd
refs/heads/master
2023-03-08T00:11:44.791585
2021-09-17T17:06:25
2021-09-17T17:06:25
234,184,019
0
0
MIT
2023-03-01T00:48:35
2020-01-15T22:13:47
HTML
UTF-8
Python
false
false
1,398
py
def export_net_json(net, net_type, indent='no-indent'): ''' export json string of dat ''' import json from copy import deepcopy if net_type == 'dat': exp_dict = deepcopy(net.dat) if type(exp_dict['mat']) is not list: exp_dict['mat'] = exp_dict['mat'].tolist() elif net_type == 'viz': exp_d...
[ "nickfloresfernandez@gmail.com" ]
nickfloresfernandez@gmail.com
2568b7085928c1b4f4d3800be43cacef5f7ce99a
e05ae4df55c3a3ede241634117ddfa016544fd11
/2016/22/sol.py
57c90b5cd6c9a392b47a7c34557254e0a661dca5
[]
no_license
eirikhoe/advent-of-code
022a4381b3e7f6ce0eafd8e2f6c2557b814622ef
71eb5273675532f115cf3b8ab2a683a3ee1794c3
refs/heads/master
2023-01-10T06:38:49.706882
2023-01-02T10:51:01
2023-01-02T10:51:01
226,653,317
0
0
null
null
null
null
UTF-8
Python
false
false
5,361
py
from pathlib import Path import numpy as np from collections import deque import re data_folder = Path(".").resolve() reg = re.compile(r"/dev/grid/node-x(\d+)-y(\d+)\s+(\d+)T\s+(\d+)T\s+\d+T\s+\d+%") def man_dist(pos1, pos2): pos1 = np.array(pos1) pos2 = np.array(pos2) return np.sum(np.abs(pos1 - pos2)) ...
[ "eirik.hoeiseth@gmail.com" ]
eirik.hoeiseth@gmail.com
3b6ec30cc26481ccfa5c167e9f974e3b4f204eb5
db22cbbba3318b8a6a11eaef3013ee8bc4c55b39
/course-files/lectures/lecture_09/event_demos/option2_audio/01_buttons_demo.py
986b3f09a6ba0b33ee34279bc535d559cc3b6198
[]
no_license
eecs110/spring2019
30c0074d3b81b1e5280f421adebf7f643e7c68eb
0c16d36a9ce2d6b411401051d3775d53e67b4385
refs/heads/master
2020-05-02T17:20:53.290762
2019-08-21T17:39:46
2019-08-21T17:39:46
178,095,643
0
0
null
null
null
null
UTF-8
Python
false
false
920
py
# http://effbot.org/tkinterbook/button.htm from tkinter import ttk, Tk, N, W, E, S, StringVar import psonic # code to set up the layout: root = Tk() root.title("Song Player") mainframe = ttk.Frame(root, padding="3 3 3 3") mainframe.grid(column=0, row=0, sticky=(N, W, E, S)) root.columnconfigure(0, weight=1) root.row...
[ "vanwars@gmail.com" ]
vanwars@gmail.com
5932a61f892f7891c241b4c84ca1de0bbe805e92
fab99ee4786fead76a7db19d03ad248c23d09030
/Jobspider/Jobspider/settings.py
dee5732b5fd686fdf8a47ea51f93f7cd2ee8c99c
[]
no_license
erroren/Scrapy
a5f1c57aceb7287ad2e1b90eb156207a0bfd9112
1bb216ac2718da12ea89d145cd85effd5dd62a71
refs/heads/master
2020-06-03T20:55:34.565320
2019-06-13T08:58:25
2019-06-13T08:58:25
191,727,820
0
0
null
null
null
null
UTF-8
Python
false
false
3,103
py
# -*- coding: utf-8 -*- # Scrapy settings for Jobspider project # # For simplicity, this file contains only settings considered important or # commonly used. You can find more settings consulting the documentation: # # https://doc.scrapy.org/en/latest/topics/settings.html # https://doc.scrapy.org/en/latest/top...
[ "hcy@qq.com" ]
hcy@qq.com
bf078e1d43190175fc989f75abc356f69cd51380
a49aba3f949207c905d1f0b7fba18cd719015e9a
/core/forms.py
1190dbd6b7b87b33f812dad6f5781c06afed92ff
[]
no_license
mhadiahmed/stander-template-project
35dc6a7c7cdbd5e735927ccdc88abab904f49fac
5d2d58657e79ef5271350bd3bac75977673b95f9
refs/heads/main
2022-12-27T17:23:45.563400
2020-10-17T15:28:37
2020-10-17T15:28:37
304,907,190
0
0
null
null
null
null
UTF-8
Python
false
false
416
py
from django import forms from .models import FileUplad def validate_file_extension(value): if not value.name.endswith('.csv'): raise forms.ValidationError("Only CSV file is accepted") class FileUpladForm(forms.ModelForm): fiels_uploads = forms.FileField(label='Select a file',validators=[validate_fil...
[ "mhadiahmed63@gmail.com" ]
mhadiahmed63@gmail.com
5fe27698f8360d172a39c7d08666659656a283c6
a485f01fd697721356d4405dfef569c50499d652
/SipMask-benchmark/fcos_core/data/datasets/coco.py
700037774f4110eb132045f1d209a49babc80d66
[ "LicenseRef-scancode-proprietary-license", "BSD-2-Clause", "LicenseRef-scancode-unknown-license-reference", "MIT" ]
permissive
Borda/SipMask
653333c1c7a7b5e9d0779c28f1b86d17b623aa5f
bc63fa93f9291d7b664c065f41d937a65d3c72fd
refs/heads/master
2023-05-25T11:11:44.452534
2021-03-26T02:47:49
2021-03-26T02:47:49
299,910,001
1
0
MIT
2020-09-30T12:22:24
2020-09-30T12:22:23
null
UTF-8
Python
false
false
3,647
py
# Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved. import torch import torchvision from fcos_core.structures.bounding_box import BoxList from fcos_core.structures.segmentation_mask import SegmentationMask from fcos_core.structures.keypoint import PersonKeypoints min_keypoints_per_image = 10 de...
[ "connor@tju.edu.cn" ]
connor@tju.edu.cn
904b283eadd4da9168504b6cdc2262f3567531e0
cbfb679bd068a1153ed855f0db1a8b9e0d4bfd98
/leet/facebook/linked_list/middle_of_linked_list.py
c9a485e08a9bbb5fa0cf90bf246ba7b4e375375c
[]
no_license
arsamigullin/problem_solving_python
47715858a394ba9298e04c11f2fe7f5ec0ee443a
59f70dc4466e15df591ba285317e4a1fe808ed60
refs/heads/master
2023-03-04T01:13:51.280001
2023-02-27T18:20:56
2023-02-27T18:20:56
212,953,851
0
0
null
null
null
null
UTF-8
Python
false
false
819
py
# Definition for singly-linked list. class ListNode: def __init__(self, x): self.val = x self.next = None class MySolution: def middleNode(self, head: ListNode) -> ListNode: count = 0 node = head while node: node = node.next count+=1 middl...
[ "ar.smglln@gmail.com" ]
ar.smglln@gmail.com
eab06f7e43244042dece67cfea52852f9c30ce82
321b4ed83b6874eeb512027eaa0b17b0daf3c289
/18/18.4sum.234400453.Accepted.leetcode.py
61eda2e8e271f2ea58cd9d9e18dd5fd9787c3a59
[]
no_license
huangyingw/submissions
7a610613bdb03f1223cdec5f6ccc4391149ca618
bfac1238ecef8b03e54842b852f6fec111abedfa
refs/heads/master
2023-07-25T09:56:46.814504
2023-07-16T07:38:36
2023-07-16T07:38:36
143,352,065
0
1
null
null
null
null
UTF-8
Python
false
false
1,122
py
class Solution: def fourSum(self, nums, target): def findNsum(nums, target, N, cur): if len(nums) < N or N < 2 or nums[0] * N > target or nums[-1] * N < target: return if N == 2: l, r = 0, len(nums) - 1 while l < r: ...
[ "huangyingw@gmail.com" ]
huangyingw@gmail.com
e8cb620d09965b12239233dba999f968ec8f70c2
017a57c810ad08ecff84652a252656afa3173e17
/odin/tests/__init__.py
c5cd509d0ce91848a3f2b081f31544048ce62e6e
[ "MIT" ]
permissive
SmartArduino/odin
0189e0b71ccac311887f0fda6bafb96ca9c53a88
1706c91c2fbafd23018ce98bf87b3928935b2466
refs/heads/master
2021-01-17T08:22:48.073115
2017-03-04T12:15:03
2017-03-04T12:15:03
83,890,654
0
0
null
2017-03-04T12:07:20
2017-03-04T12:07:20
null
UTF-8
Python
false
false
820
py
import unittest # python -c "from odin.tests import run; run('theano')" # python -c "from odin.tests import run; run('tensorflow')" def run(backend='tensorflow', device='gpu'): tests = [ 'utils_test', 'fuel_test', 'backend_test', 'nnet_test', 'rnn_test', # 'compare_...
[ "nickartin13@gmail.com" ]
nickartin13@gmail.com
e66bf57f86a84c7e935334610c97f615f3f7f45f
a04542243a2e7eaf1b432351778a61478767f415
/directi/queue_reconstruction.py
c5aa3f12d5c0b1b25ca838815728d4d861b9efdd
[]
no_license
smartinsert/CodingProblem
d4f0660ddfb48e70b17c8be5cd03d25982d35bfc
f11e622e55ad743833384977bd0a58070a489199
refs/heads/master
2022-01-25T18:57:40.069253
2022-01-10T04:28:29
2022-01-10T04:28:29
227,775,933
0
0
null
null
null
null
UTF-8
Python
false
false
747
py
""" Suppose you have a random list of people standing in a queue. Each person is described by a pair of integers (h, k), where h is the height of the person and k is the number of people in front of this person who have a height greater than or equal to h. Write an algorithm to reconstruct the queue. """ from typing i...
[ "ankit.thakur@fractalanalytics.com" ]
ankit.thakur@fractalanalytics.com
fcc0bd624250ccf9292beb7ce86dc7fbc6d890ad
590a0c3a7254b8dac85ab18072dbf766aca7af93
/python_productivity/08_re.py
9e76841575f38d3ea6768de8a92093c6f458db91
[ "MIT" ]
permissive
MiracleWong/PythonPractice
90c66d29a9cdf0200d3dbac946d05f12dd856e91
40aecd84045ad18f6aff95d5b8be8e352ca0a726
refs/heads/master
2021-08-15T17:19:51.543013
2021-06-15T03:59:51
2021-06-15T03:59:51
98,256,005
0
0
null
null
null
null
UTF-8
Python
false
false
877
py
# “[]”的作用是进行内容模式匹配; # “{}”的作用是指定匹配长度。 # “+”表示前边的元素出现的是1 到无穷多次。 # “*”表示前面的元素出现的是0 次到无穷多次。 # “?”表示前面的元素出现的是0 次或一次。 # “^”表示从第 1 个字符开始匹配。 # “$”表示从结尾开始匹配。 # 1. 匹配单个字符,要使用“[ ]”和“.”元字符。 # 2. 控制元字符出现次数,要使用“?”、“+”和“*”元字符。 # 3. 控制元字符的顺序和位置,要使用“^”、“$ ”、“ | ”和“ ()”元字符。 import re re.search("[0-9]{11}", "13855556666") re.search(...
[ "cfwr1991@126.com" ]
cfwr1991@126.com
0b07a7da4aea4f4e01980df96d847b022dd71b7f
dd098f8a93f787e38676283679bb39a290ba28b4
/samples/openapi3/client/3_0_3_unit_test/python-experimental/unit_test_api/paths/request_body_post_properties_with_escaped_characters_request_body/post.py
ddb05255d056c148935244b250ccce7ce110c4ee
[ "Apache-2.0" ]
permissive
InfoSec812/openapi-generator
727c0235d3bad9b85ac12068808f844287af6003
e0c72702c3d5dae2a627a2926f0cddeedca61e32
refs/heads/master
2022-10-22T00:31:33.318867
2022-08-20T14:10:31
2022-08-20T14:10:31
152,479,633
1
0
Apache-2.0
2023-09-04T23:34:09
2018-10-10T19:38:43
Java
UTF-8
Python
false
false
5,187
py
# coding: utf-8 """ Generated by: https://openapi-generator.tech """ from dataclasses import dataclass import re # noqa: F401 import sys # noqa: F401 import typing import urllib3 import functools # noqa: F401 from urllib3._collections import HTTPHeaderDict from unit_test_api import api_client, exceptions im...
[ "noreply@github.com" ]
InfoSec812.noreply@github.com
7554a83acc4157e72b66751cc81948ff445def05
7a013424c82b71bc82aa312e0165a1af4170ac23
/ABC/ABCpanasonic/ABCpanasonicC.py
4c116541aa6339f5e7a6203b0040bfda9f127d36
[]
no_license
kikugawa-shoma/Atcoder
fe3405e36dd3e4e25127b6110d6009db507e7095
7299116b7beb84815fe34d41f640a2ad1e74ba29
refs/heads/master
2020-12-21T19:10:12.471507
2020-10-10T16:38:18
2020-10-10T16:38:18
236,531,207
0
0
null
null
null
null
UTF-8
Python
false
false
152
py
a, b, c = map(int, input().split()) if c-a-b <= 0: print("No") else: if 4*a*b < (c-a-b)**2: print("Yes") else: print("No")
[ "kikugawa-s@sys.i.kyoto-u.ac.jp" ]
kikugawa-s@sys.i.kyoto-u.ac.jp
cf246f46e4e5496acc76629ff72c57b70f85f536
0facb323be8a76bb4c168641309972fa77cbecf2
/Configurations/HWWSemiLepHighMass/nanoAODv5/v6_production/2017/NJET_biined_WJets/SKIM10/HMFull_V11_nom_cprime1.0BRnew0.0/MassPoints/structure_M3000_mu.py
8280655bd260d69600ead809faddc272a1250380
[]
no_license
bhoh/SNuAnalytics
ef0a1ba9fa0d682834672a831739dfcfa1e7486b
34d1fc062e212da152faa83be50561600819df0e
refs/heads/master
2023-07-06T03:23:45.343449
2023-06-26T12:18:28
2023-06-26T12:18:28
242,880,298
0
1
null
2020-02-25T01:17:50
2020-02-25T01:17:49
null
UTF-8
Python
false
false
1,189
py
structure["DY"]={ "isSignal" : 0, "isData" : 0 , } structure["MultiV"]={ "isSignal" : 0, "isData" : 0 , } structure["qqWWqq"]={ "isSignal" : 0, "isData" : 0 , } structure["top"]={ "isSignal" : 0...
[ "soarnsoar@gmail.com" ]
soarnsoar@gmail.com
e2e114c41a3dbf3702a4c9c2d7d08864d54390dc
35fe9e62ab96038705c3bd09147f17ca1225a84e
/a10_ansible/library/a10_ip_route_rib.py
1a17f8919e1f878b1b0ed0fac3c7f93c565ea649
[]
no_license
bmeidell/a10-ansible
6f55fb4bcc6ab683ebe1aabf5d0d1080bf848668
25fdde8d83946dadf1d5b9cebd28bc49b75be94d
refs/heads/master
2020-03-19T08:40:57.863038
2018-03-27T18:25:40
2018-03-27T18:25:40
136,226,910
0
0
null
2018-06-05T19:45:36
2018-06-05T19:45:36
null
UTF-8
Python
false
false
6,216
py
#!/usr/bin/python REQUIRED_NOT_SET = (False, "One of ({}) must be set.") REQUIRED_MUTEX = (False, "Only one of ({}) can be set.") REQUIRED_VALID = (True, "") DOCUMENTATION = """ module: a10_rib description: - author: A10 Networks 2018 version_added: 1.8 options: ip-dest-addr: description: ...
[ "mdurrant@a10networks.com" ]
mdurrant@a10networks.com
58fb96f25d1fdcc67abc30b7793d7ce7161b97f0
ff6248be9573caec94bea0fa2b1e4b6bf0aa682b
/StudentProblem/10.21.11.26/2/1569574098.py
7f024ce9ebc86d39b15f7e71b624a9b9de7bbdf0
[]
no_license
LennartElbe/codeEvo
0e41b1a7705204e934ef71a5a28c047366c10f71
e89b329bc9edd37d5d9986f07ca8a63d50686882
refs/heads/master
2020-12-21T17:28:25.150352
2020-03-26T10:22:35
2020-03-26T10:22:35
236,498,032
0
0
null
null
null
null
UTF-8
Python
false
false
3,684
py
import functools import typing import string import random import pytest ## Lösung Teil 1. def is_palindromic(n: int): """Calculates if the given integer is a palindrome Args: n(int): an integer n > 0 Return: a bool value(True/False) """ if n > 0: n = str(n) ...
[ "lenni.elbe@gmail.com" ]
lenni.elbe@gmail.com
a0f0fb3689e17ecb0d840cc28da9b0d6d9687ede
194bc9d6748d9eb7d5fb97c3b85bd7ca7442d31e
/webapp/experiments/dash-upload/template-4-divs.py
4c511173bb9568fc75fbfed01c7b672be8deea60
[ "BSD-2-Clause" ]
permissive
paul-shannon/IJAL-interlinear
6b27ab22882aec277e6bbbff4822c85824d5ae50
9da5ef3e895e414323844699cb90af5fbab91b1e
refs/heads/master
2021-05-04T16:43:40.894587
2018-12-27T18:01:09
2018-12-27T18:01:09
120,257,922
0
1
BSD-2-Clause
2018-10-08T20:28:39
2018-02-05T05:12:30
HTML
UTF-8
Python
false
false
3,546
py
import datetime import base64 import pdb import dash from dash.dependencies import Input, Output, State import dash_core_components as dcc import dash_html_components as html external_stylesheets = ['https://codepen.io/chriddyp/pen/bWLwgP.css'] app = dash.Dash(__name__, external_stylesheets=external_stylesheets) ap...
[ "paul.thurmond.shannon@gmail.com" ]
paul.thurmond.shannon@gmail.com
cbfcaadd9b1ab774226dee4fa4a3e4c570f8aa13
8b83d79425985e9c87ff4b641c2dcb6a151f3aa1
/recipes/api.py
9c00c16514f9c31b838a71af93bacf0870aa7bac
[]
no_license
akx/pyttipannu
e1366d982bae62a70da24b7da1a93c40efb51217
7b02f7d18d594beddb64beb99283c738ca06b8f0
refs/heads/master
2021-01-13T09:15:59.086825
2016-09-29T13:52:17
2016-09-29T13:52:17
69,023,828
0
0
null
null
null
null
UTF-8
Python
false
false
629
py
from django.contrib.auth import get_user_model from rest_framework import routers, serializers, viewsets from recipes.models import Recipe class UserSerializer(serializers.ModelSerializer): class Meta: model = get_user_model() fields = ('id', 'username') class RecipeSerializer(serializers.Model...
[ "akx@iki.fi" ]
akx@iki.fi
256cd7d011bc273f87e57d9e7c799f598cf57676
3b15dc211cb6c034f4d843b1bbc540f1699182f7
/学生管理系统升级版(GUI界面)/root/sel.py
430fea88cd59b51df6c53afc2a14885f49666e50
[]
no_license
Hanlen520/-
eea27d5a1272272a2f47f9070f285e44300ab0d2
308d3401ff368cd11f4aeac7949d57c3136f2b6e
refs/heads/master
2023-03-15T19:18:25.168665
2020-07-05T14:39:41
2020-07-05T14:39:41
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,347
py
from tkinter import * import pymysql class Select(object): def __init__(self): self.root = Tk() self.root.title('学生管理系统__查询模块') self.root.geometry("700x400") self.root.resizable(width=False, height=False) self.label = Label(self.root, text='学号:', width=10, font=('微软雅黑,10')) ...
[ "admiwj@outlook.com" ]
admiwj@outlook.com
b885f364b2aa9691ab7cb008fd3cb6ba8da2ee84
f0d713996eb095bcdc701f3fab0a8110b8541cbb
/MSjfXQ4gvMzeezFgB_24.py
36e28719fc34fbe584c375c9a22937ea3b1c392c
[]
no_license
daniel-reich/turbo-robot
feda6c0523bb83ab8954b6d06302bfec5b16ebdf
a7a25c63097674c0a81675eed7e6b763785f1c41
refs/heads/main
2023-03-26T01:55:14.210264
2021-03-23T16:08:01
2021-03-23T16:08:01
350,773,815
0
0
null
null
null
null
UTF-8
Python
false
false
921
py
""" The 50-30-20 strategy is a simple way to budget, which involves spending 50% of after-tax income on needs, 30% after tax income on wants, and 20% after-tax income on savings or paying off debt. Given the after-tax income as `ati`, what you are supposed to do is to make a function that will return a dictionary t...
[ "daniel.reich@danielreichs-MacBook-Pro.local" ]
daniel.reich@danielreichs-MacBook-Pro.local
abffed2cff59d351582d3a3283ad1d1cf1d03fdf
2bb90b620f86d0d49f19f01593e1a4cc3c2e7ba8
/pardus/tags/2007/applications/network/gift-openft/actions.py
b677576e6316673e2c6121c66a63f8d6653b29fe
[]
no_license
aligulle1/kuller
bda0d59ce8400aa3c7ba9c7e19589f27313492f7
7f98de19be27d7a517fe19a37c814748f7e18ba6
refs/heads/master
2021-01-20T02:22:09.451356
2013-07-23T17:57:58
2013-07-23T17:57:58
null
0
0
null
null
null
null
UTF-8
Python
false
false
834
py
#!/usr/bin/python # -*- coding: utf-8 -*- # # Copyright 2005 TUBITAK/UEKAE # Licensed under the GNU General Public License, version 2. # See the file http://www.gnu.org/copyleft/gpl.txt. from pisi.actionsapi import autotools from pisi.actionsapi import pisitools from pisi.actionsapi import get WorkDir = "gift-openft-...
[ "yusuf.aydemir@istanbul.com" ]
yusuf.aydemir@istanbul.com
c3d92ea1e84b34a05e9fd98091fb29f3267f2324
7fe5a5c618383a9f18e05ba9879e411f8d6cf1a2
/dayone_18636/wsgi.py
d5cf29ed2983dc97fa88fc22edbae3a79495e85f
[]
no_license
crowdbotics-apps/dayone-18636
06236dea8f65540035fcd844b8f244706c12c08d
c8cb80eb7751ba18ce75632a4e047df016d4f416
refs/heads/master
2022-11-14T02:35:18.981699
2020-07-05T22:45:49
2020-07-05T22:45:49
277,395,574
0
0
null
null
null
null
UTF-8
Python
false
false
401
py
""" WSGI config for dayone_18636 project. It exposes the WSGI callable as a module-level variable named ``application``. For more information on this file, see https://docs.djangoproject.com/en/2.2/howto/deployment/wsgi/ """ import os from django.core.wsgi import get_wsgi_application os.environ.setdefault('DJANGO_...
[ "team@crowdbotics.com" ]
team@crowdbotics.com
eb6bd7869ff11944672d977beaf50b3046888e75
05d7a117b9c8fa71b6d9c8770f1f90001b37e847
/apiproject/base.py
6c60284fc79096778d3a49448fd503e80bc71e92
[]
no_license
xinxi1990/api_requests
a90c3ed257bf5e4513892b8541e89378312c3b29
eb84f63687746c558256a4bd4313f1ca5c3ceeb5
refs/heads/master
2020-04-16T12:59:08.502966
2019-01-16T02:43:21
2019-01-16T02:43:21
165,605,028
0
0
null
null
null
null
UTF-8
Python
false
false
672
py
#!/usr/bin/env python # -*- coding: utf-8 -*- """ @Author : xinxi @Time : 2018/12/5 18:34 @describe: 部门 """ import requests,unittest,os,yaml,json from logger import get_logger import time logger = get_logger() current_path = os.path.abspath(os.path.dirname(__file__)) token_yaml = os.path.join(current_path,"token.y...
[ "xinxi@luojilab.com" ]
xinxi@luojilab.com
690de493c15e9f1e21e7736dcb2bb5982342d18a
be0230169735376215c212f482ba0e2b804eed79
/0x00-python_variable_annotations/6-sum_mixed_list.py
b7db7cf93cc1a94429a27179ec89bc0534d13896
[]
no_license
RaudoR/holbertonschool-web_back_end
6c375abd0cc77f152b0a3d45388a8092d23cd01d
f00a4e7d37064e453d26538f3a6098fb430cb0c3
refs/heads/master
2023-02-15T16:02:39.147979
2021-01-15T01:29:12
2021-01-15T01:29:12
305,573,053
0
0
null
null
null
null
UTF-8
Python
false
false
304
py
#!/usr/bin/env python3 """ mixed list """ from typing import List, Union def sum_mixed_list(mxd_lst: List[Union[int, float]]) -> float: """ Write a type-annotated function sum_mixed_list which takes a list mxd_lst of integers and floats and returns their sum as a float. """ return sum(mxd_lst)
[ "rivaspaulino@outlook.com" ]
rivaspaulino@outlook.com
3a65fc97349d323602f42122c32950172f1e1284
97062249c6eb04069c6fb01e71d06bc334c828e1
/desktop/core/ext-py/Django-1.6.10/tests/managers_regress/models.py
d8dd22ec9a14c673d278c50ea288ebf3e8857d8d
[ "Apache-2.0", "BSD-3-Clause" ]
permissive
Albertsss/hue
1c8b31c64cc420a029f5b5b80712fb3d0c6cbd6e
454d320dd09b6f7946f3cc05bc97c3e2ca6cd485
refs/heads/master
2021-07-08T17:21:13.237871
2018-05-30T06:03:21
2018-05-30T06:03:21
135,386,450
0
1
Apache-2.0
2020-07-25T13:36:58
2018-05-30T04:06:18
Python
UTF-8
Python
false
false
2,650
py
""" Various edge-cases for model managers. """ from django.db import models from django.utils.encoding import python_2_unicode_compatible class OnlyFred(models.Manager): def get_queryset(self): return super(OnlyFred, self).get_queryset().filter(name='fred') class OnlyBarney(models.Manager): def get...
[ "540227148@qq.com" ]
540227148@qq.com
810d299e20bd5a36ac74cceefb2fd8c199959a4b
cc3aa35b7d5039e782a0c2787123c2dd8b3480e3
/basicinformation/migrations/0006_promocode.py
4a12ea22f46180fdbf7e77c0f8d9366b78943d5b
[]
no_license
prashantspandey/bodhiai_test
3ae9614ad428b0488a0b79e1a2b1bff67050871a
2d3a11c5a596ee05613b28e0153bc0cb480fab9a
refs/heads/master
2022-12-14T00:06:52.333755
2019-04-04T09:07:33
2019-04-04T09:07:33
179,462,093
0
0
null
2022-12-08T01:03:43
2019-04-04T09:06:43
Python
UTF-8
Python
false
false
818
py
# -*- coding: utf-8 -*- # Generated by Django 1.11.1 on 2019-02-16 11:12 from __future__ import unicode_literals from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): dependencies = [ ('basicinformation', '0005_studentchallenge'), ] ope...
[ "prashants_pandey@outlook.com" ]
prashants_pandey@outlook.com
95d56e90cedcef2eeabd3e4d5032d29b361a846e
7997a9581ac4badc53793e32bc85878b8e16094e
/wip/is_point_on_a_line_segment.py
14615109f6c4b678242dd141fbbf7bf0c050692c
[]
no_license
jasonfleming/pputils
78adb832c5860a37e1473a43a5b9a54ad4d5ce55
2b34e47e4c3331d5780019d248e3f37c71164665
refs/heads/master
2022-09-29T13:40:38.657005
2022-08-10T19:40:06
2022-08-10T19:40:06
79,500,881
1
0
null
2017-01-19T22:17:09
2017-01-19T22:17:09
null
UTF-8
Python
false
false
1,188
py
# http://stackoverflow.com/questions/328107/how-can-you-determine-a-point-is-between-two-other-points-on-a-line-segment class Point: def __init__(self, x, y): self.x = x self.y = y class Segment: def __init__(self, a, b): self.a = a self.b = b def is_between(se...
[ "pprodano@gmail.com" ]
pprodano@gmail.com
0cbe86dfd2081d879f7a12818d01d08ad487d1b1
5122751036c0bd64a9c271f3213702797288a48e
/ipl2019/migrations/0002_auto_20190404_1426.py
b8284c42c04c8bcfaa24a297eb8e1f1dc63754a4
[]
no_license
crazynayan/ipl2019-django
c9ff89bdf369c555e3ffa627edd4000d332c5027
da6d96d3bc3dd1f8794f2c5f69cf5fb03931fad9
refs/heads/master
2021-06-26T06:29:41.848920
2020-01-06T13:36:03
2020-01-06T13:36:03
179,234,335
0
0
null
2021-06-10T21:19:11
2019-04-03T07:27:14
Python
UTF-8
Python
false
false
567
py
# Generated by Django 2.1.5 on 2019-04-04 08:56 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('ipl2019', '0001_initial'), ] operations = [ migrations.AlterField( model_name='member', name='balance', ...
[ "nayan@crazyideas.co.in" ]
nayan@crazyideas.co.in
5c7021caca64a82bab37ef79a319971adbda83f9
ac5e52a3fc52dde58d208746cddabef2e378119e
/exps-sblp/sblp_ut=3.5_rd=0.65_rw=0.04_rn=4_u=0.075-0.325_p=harmonic-2/sched=RUN_trial=67/params.py
98c635d9410f36f78da3d1305c18be21be650d3b
[]
no_license
ricardobtxr/experiment-scripts
1e2abfcd94fb0ef5a56c5d7dffddfe814752eef1
7bcebff7ac2f2822423f211f1162cd017a18babb
refs/heads/master
2023-04-09T02:37:41.466794
2021-04-25T03:27:16
2021-04-25T03:27:16
358,926,457
0
0
null
null
null
null
UTF-8
Python
false
false
251
py
{'cpus': 4, 'duration': 30, 'final_util': '3.527905', 'max_util': '3.5', 'periods': 'harmonic-2', 'release_master': False, 'res_distr': '0.65', 'res_nmb': '4', 'res_weight': '0.04', 'scheduler': 'RUN', 'trial': 67, 'utils': 'uni-medium-3'}
[ "ricardo.btxr@gmail.com" ]
ricardo.btxr@gmail.com
fb84b49fe692ca596c5b8cdcb72fb6a8a1f92ad3
f97a6c73a594829c78ef605dc73ec77eddd6a73f
/utils/management/commands/qshell.py
2dc60db3c2fcf3cdee54da07ecb96ed7c707298c
[ "Apache-2.0" ]
permissive
tperrier/mwachx
220c6a8a0206f0968aaff9b74bd78bf0425b3f0c
94616659dc29843e661b2ecc9a2e7f1d4e81b5a4
refs/heads/master
2021-06-30T12:42:04.125431
2020-09-13T19:38:20
2020-09-13T19:38:20
30,064,531
3
6
Apache-2.0
2021-06-10T19:44:21
2015-01-30T09:05:00
Python
UTF-8
Python
false
false
2,687
py
#!/usr/bin/python from django.core.management.base import BaseCommand, CommandError import contacts.models as cont import backend.models as back import transports.africas_talking.api as at import datetime as dt from django.db import models from django.db.models import Count import code, os def count_field(qs,field): ...
[ "t.perrier@gmail.com" ]
t.perrier@gmail.com
6ca6a01ffc77deba84125c429537a1a99c4023c6
cc78de009a8e7805f9f6a852774e0384b11bfdcb
/testcase/page/learn_center/writing/word_spell/word_spell_answerPage1.py
bafae637cce6e02f0d4eacac420a64ee82332d8b
[]
no_license
williamzxl/app_test_many_devices
c1806e54c17a84f18a04c3808604633c2deba052
dd5434018fadd11d5462903cafaafbb5b387c24a
refs/heads/master
2020-03-29T21:20:51.239295
2019-03-05T03:13:56
2019-03-05T03:13:56
150,361,766
1
1
null
null
null
null
UTF-8
Python
false
false
2,456
py
import re # from time import sleep from testcase.common.allBasePageClass import AllBasePage from selenium.webdriver.common.by import By from utils.config import get_appPackage class WSFillAnswerPage1(AllBasePage): appPackage = get_appPackage() ''' 单词拼写题目作答页 ''' page_title_id = (By.ID, "{}:id/title...
[ "1053418947@qq.com" ]
1053418947@qq.com
67c7dd9dfec81e0ddbf20360b4a12b0e87a5a7f0
8981902427dc577228dfd5611c6afe86c3e2e9e2
/dsmr_frontend/forms.py
0bd2aff4c761d76c17ac0a33141b4d89b8019ed0
[]
no_license
genie137/dsmr-reader
5515f4f92bb05bcf00f0e8a0fbd1a018d408950b
4d934b4838cb2de4a66ff193f4f3095e9beecd99
refs/heads/master
2020-03-21T18:14:05.182137
2018-06-12T14:54:55
2018-06-12T14:54:55
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,155
py
from django import forms from django.utils.translation import ugettext_lazy as _ class ExportAsCsvForm(forms.Form): DATA_TYPE_DAY = 'day' DATA_TYPE_HOUR = 'hour' DATA_TYPES = ( (DATA_TYPE_DAY, _('Day')), (DATA_TYPE_HOUR, _('Hour')), ) EXPORT_FORMAT_CSV = 'csv' EXPORT_FORMATS = ...
[ "github@dennissiemensma.nl" ]
github@dennissiemensma.nl
226a0c909b43ff7c77f17a159416a087b8dff83e
6e820756b82ffbe9837348937e53f1a0ce0e6cca
/algorithms/nump/simple_example.py
e5e6fed3b0797f49cdfb0e7bdcf177f3e37a8701
[]
no_license
AndreasPatsimas/pms_papei
c2afd941de6ae234dd37784d746e794183ebb8d3
da10220ea468304c1066bed55b8f92ba9e5ada8a
refs/heads/master
2023-02-01T23:33:39.221747
2020-12-19T12:17:59
2020-12-19T12:17:59
321,115,913
0
0
null
null
null
null
UTF-8
Python
false
false
857
py
import numpy as np arr = np.array([1, 2, 3, 4, 5]) print(arr) # Check Number of Dimensions print(arr.ndim) # Checking the Data Type of an Array print(arr.dtype) # Creating Arrays With a Defined Data Type arr = np.array([1, 2, 3, 4], dtype='S') print(arr) # Get the Shape of an Array # NumPy arrays have an attribu...
[ "45208441+AndreasPatsimas@users.noreply.github.com" ]
45208441+AndreasPatsimas@users.noreply.github.com
a73f7163fe45f38a4b683851996ac2d44b151d25
9ca4b45ef243b20b5ab89d0139fc8d46742b80ae
/medium/leveret-lunch/lunch.py
6c4dd711c148d503bba1667e23e2c5f2c34868cc
[]
no_license
lyoness1/hb-code-challenges
f31cc1c8b32236d75903e760568ee624ae22e918
70874fdbe3860a222cbdae3e58745d1f328656a1
refs/heads/master
2020-12-25T11:06:15.925882
2016-10-22T16:02:42
2016-10-22T16:02:42
61,758,297
0
0
null
null
null
null
UTF-8
Python
false
false
1,933
py
"""Leveret lunch count. Check that garden is valid:: >>> garden = [ ... [1, 1], ... [1], ... ] >>> lunch_count(garden) Traceback (most recent call last): ... AssertionError: Garden not a matrix! >>> garden = [ ... [1, 1], ... [1, 'a'], ... ] >>> l...
[ "alyoness1@gmail.com" ]
alyoness1@gmail.com
27744eabadbc77a14165c9e5cf8ec86e24f61e77
3d5035d6b6ece6beca77ee625b6f1b4a906c4c3a
/project-addons/custom_coop/models/res_users.py
87ea597a7c03e1dc90dd73577ddf14ead4124ea0
[]
no_license
fadeldamen/CMNT_00033_2015_COOP_IV
98ba3fd4ca5df17651f251c76aec80b92c497603
f1f0027b25dffe1281de956c146340dd825cbe9b
refs/heads/master
2020-04-07T22:00:58.920747
2016-02-02T17:39:22
2016-02-02T17:39:22
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,371
py
# -*- coding: utf-8 -*- ############################################################################## # # Copyright (C) 2015 Comunitea All Rights Reserved # $Jesús Ventosinos Mayor <jesus@comunitea.com>$ # # This program is free software: you can redistribute it and/or modify # it under the terms of the GN...
[ "jesus@comunitea.com" ]
jesus@comunitea.com
c2849cbebf97794df1d5933a3fd41638ea01cdd7
4254f26a7f4c0ee8d6265bda303f9b956203c349
/termtest.py
22655e3794880ce0bda61f3a90ad1ec21f649128
[]
no_license
runt18/pywikibot-wiktionary
6b5e9742df82f3382d955270c9cfe4c8c51cfcb7
0020ff2d873c712ff95d3c2a3f97e3d5565f188a
refs/heads/master
2021-01-09T09:33:24.235902
2016-04-12T04:45:52
2016-04-12T04:45:52
55,256,694
0
0
null
2016-04-12T04:45:53
2016-04-01T19:18:52
Python
UTF-8
Python
false
false
3,242
py
#!/usr/bin/python # -*- coding: utf-8 -*- """Unit tests for term.py""" import term import unittest class KnownValues(unittest.TestCase): knownValues = ( ('en', 'noun', 'en', 'example', '', "'''example'''", '[[example]]'), ('en', 'noun', 'nl', 'voorbeeld', 'n', "'''voorbeeld''' ''n''", ...
[ "legoktm@gmail.com" ]
legoktm@gmail.com
3ee17af2b9f853e924b54b8ca053ff97bf35374f
4b81a7e86fe4e05b2486898bd55d52639b698626
/backend/immigration/api/models.py
5dd46cf76676852cf4700404c5560de7c65f760d
[]
no_license
dandavison/_owldock
94c910b172fa495bb769268c196c5131c7e02127
196e849cb70de44523132e67659f8344f8d5cc0a
refs/heads/main
2023-08-18T19:54:42.782049
2021-08-01T21:42:56
2021-08-01T22:02:45
null
0
0
null
null
null
null
UTF-8
Python
false
false
6,377
py
""" This module contains pydantic model definitions, defining the shape of JSON documents being sent to or received from the javascript app. """ from __future__ import annotations from collections import defaultdict from decimal import Decimal from typing import Any, Dict, List, Optional from uuid import UUID from pyd...
[ "dandavison7@gmail.com" ]
dandavison7@gmail.com
7b30923873d615634478fcbbeb1aa188044ff057
b946cbb33451310a4de412963e31543f4c40b5a2
/projects/TensorMask/tests/test_swap_align2nat.py
7e60da3e2fcb9f8339e6b0ea7e7fdd6445723f25
[ "Apache-2.0" ]
permissive
mbsariyildiz/detectron2
4f3778923e764fea342e3f5beab3d6e1a3be69ca
1353101f05349c2b54079e896e88cb05ab939475
refs/heads/master
2020-09-05T04:06:49.804589
2019-12-15T13:54:27
2019-12-15T13:54:27
219,977,744
4
0
Apache-2.0
2019-11-06T11:08:24
2019-11-06T11:08:24
null
UTF-8
Python
false
false
1,032
py
# Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved import unittest import torch from torch.autograd import gradcheck from tensormask.layers.swap_align2nat import SwapAlign2Nat class SwapAlign2NatTest(unittest.TestCase): @unittest.skipIf(not torch.cuda.is_available(), "CUDA unavailable") d...
[ "facebook-github-bot@users.noreply.github.com" ]
facebook-github-bot@users.noreply.github.com
32bac95c8ce38805ef39efaf053b3dcf616b5947
682581de9e3674d157877756d1a536f5b028c045
/script/FitDecomp1.py
0b861010f01580155a700a71e89fd92d8d3c9f70
[]
no_license
wchnicholas/ProteinGFourMutants
3a81b9175e0e5bb864d5723fa59443a3ba07eda6
dbdd7639187e0b8f22359f404ce4d1d950fcc8a9
refs/heads/master
2023-08-16T19:53:02.475407
2023-08-03T12:24:44
2023-08-03T12:24:44
33,599,807
8
0
null
null
null
null
UTF-8
Python
false
false
3,464
py
#!/usr/bin/python import os import sys import operator import networkx as nx import numpy as np from itertools import imap def all_shortest_paths(G, source, target, weight=None): if weight is not None: pred,dist = nx.dijkstra_predecessor_and_distance(G,source,weight=weight) else: pred = nx.pred...
[ "wchnicholas@Nicholass-MacBook-Pro.local" ]
wchnicholas@Nicholass-MacBook-Pro.local
c606ff4f7cb749aebe402659a06acb5e2e87904c
21f56e2c30ee5ab6a96777d391b0e8457211a04e
/cifar10/exp1_train_aux.py
22036b456196c7bb0d13b2d4dcd017765d3b342e
[]
no_license
forlovezed/pkth
ee16af34c27b7d42fc426a605e55e82192f0c24f
5766e6398c574598c0b166bfadfaf573a7190a61
refs/heads/master
2022-08-29T08:00:42.727426
2020-05-25T12:48:04
2020-05-25T12:48:04
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,193
py
from nn.nn_utils import load_model, save_model from loaders.cifar_dataset import cifar10_loader from models.cifar_tiny import Cifar_Tiny from models.resnet import ResNet18 from nn.retrieval_evaluation import evaluate_model_retrieval from nn.pkt_transfer import prob_transfer import torch def run_transfer(learning_rate...
[ "passalis@csd.auth.gr" ]
passalis@csd.auth.gr
d08eab8db2ba06a696541c0b4aa7542a8c1cd10d
3d16bcf91c546dfc638bf9e48d7690e8aed37ee2
/xsrc/stm32-gcc-arm/arm-none-eabi/lib/thumb/v8-m.base/nofp/libstdc++.a-gdb.py
e5fc2440c8ac4faac9047b11c76f5d16202c8160
[]
no_license
johnttaylor/colony.core
7c3aa43abdd564689e1540795b8044228b97271c
e00902d33c9224a34e9f68edb02c18eb9571b09f
refs/heads/master
2023-07-24T08:34:04.956247
2023-06-20T00:02:55
2023-06-20T00:02:55
31,176,673
2
2
null
2023-06-17T21:56:08
2015-02-22T19:38:07
C
UTF-8
Python
false
false
2,540
py
# -*- python -*- # Copyright (C) 2009-2020 Free Software Foundation, Inc. # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation; either version 3 of the License, or # (at your option) any later versio...
[ "john.t.taylor@gmail.com" ]
john.t.taylor@gmail.com
205aa11bc32a47a51b79b776705c999dcfeae9a6
0adb68bbf576340c8ba1d9d3c07320ab3bfdb95e
/regexlib/python_re2_test_file/regexlib_1820.py
f99a71f28e257ae1419c3a050522c6948107e3f3
[ "MIT" ]
permissive
agentjacker/ReDoS-Benchmarks
c7d6633a3b77d9e29e0ee2db98d5dfb60cde91c6
f5b5094d835649e957bf3fec6b8bd4f6efdb35fc
refs/heads/main
2023-05-10T13:57:48.491045
2021-05-21T11:19:39
2021-05-21T11:19:39
null
0
0
null
null
null
null
UTF-8
Python
false
false
517
py
# 1820 # ^([0-9]*\,?[0-9]+|[0-9]+\,?[0-9]*)?$ # POLYNOMIAL # nums:5 # POLYNOMIAL AttackString:"0"+"0"*5000+"!1 _SLQ_2" import re2 as re from time import perf_counter regex = """^([0-9]*\,?[0-9]+|[0-9]+\,?[0-9]*)?$""" REGEX = re.compile(regex) for i in range(0, 150000): ATTACK = "0" + "0" * i * 10000 + "!1 _SLQ_2"...
[ "liyt@ios.ac.cn" ]
liyt@ios.ac.cn
f3e040ea70c33a327f53a30ee46ca7645478fa60
9a181799f7b87aace15f0db9afedd861259a48c2
/Arabic to roman numbers converter.py
bf8945568e3ef8d4564eb17749e79839e2cb93e3
[]
no_license
D-Katt/Coding-examples
77bea4cf1099019b12bbafd967c1c017adf4e9b8
81e8b47857513b7961cab4c09b8c27c20b8b8081
refs/heads/master
2021-12-25T05:01:05.026469
2021-12-17T13:43:57
2021-12-17T13:43:57
226,685,637
4
0
null
null
null
null
UTF-8
Python
false
false
2,420
py
# Integer to Roman # Roman numerals are represented by seven different symbols: I, V, X, L, C, D and M. # Symbol Value # I 1 # V 5 # X 10 # L 50 # C 100 # D 500 # M 1000 # For example, two is written as II in Roman numer...
[ "noreply@github.com" ]
D-Katt.noreply@github.com
f1ed91bb9b3db0a97488ca91336bdd0f3e824042
7411ea21925ab37083aa13358dcf9dcedb7d832c
/Tools/PyTorch/TimeSeriesPredictionPlatform/triton/calculate_metrics.py
10dee0a6637d544b6e588ccb43bfc84e70e44301
[ "LicenseRef-scancode-generic-cla", "Apache-2.0" ]
permissive
xizil/DeepLearningExamples
1006be30f32a5077f2918660437477a5ac1bb22b
41ca5820a4e5bfcc564f9fd685733ac188af1d85
refs/heads/master
2022-06-17T15:03:23.547531
2022-05-19T00:08:00
2022-05-19T00:08:00
222,425,672
0
0
null
2019-11-18T10:46:01
2019-11-18T10:46:01
null
UTF-8
Python
false
false
3,718
py
#!/usr/bin/env python3 # Copyright (c) 2021, NVIDIA CORPORATION. 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 # # U...
[ "kkudrynski@nvidia.com" ]
kkudrynski@nvidia.com
18617e07f8f83c7cfb2f74cf9f3b512ed0288274
77b2f534d8eb7f4c521d092d8ffd4352d71e4eaf
/hubhub/jupyterhub_config.py
c906b6e47ec9d29c08d8fe7833641be4a20808b1
[ "MIT" ]
permissive
minrk/jupyterhub-yo-dawg
f256cf9b3f90d70aecfb53c924802d822d741844
92fc0043fd9e1328ec326faac98e5827d0de9ce1
refs/heads/main
2023-04-14T14:07:34.719088
2021-04-12T19:26:57
2021-04-12T19:26:57
356,289,635
1
0
null
null
null
null
UTF-8
Python
false
false
822
py
# register the 'subhub' as a service c.JupyterHub.services = [ { "name": "subhub", # redirect uri for OAuthenticator is "{hub_public_host}/hub/oauth_callback}" "oauth_redirect_uri": "http://subhub.local.minrk.net:9000/hub/oauth_callback", # oauth_client_id could be omitted, default i...
[ "benjaminrk@gmail.com" ]
benjaminrk@gmail.com
6d828dc73dc4a019234dd3084a9b7a7f10af25a3
029aa4fa6217dbb239037dec8f2e64f5b94795d0
/数据结构练习/Python算法指南数据结构/__init__.py
ecc1e400c8fe385d3f4a37c0bbdfa1c0a697abfb
[]
no_license
tonyyo/algorithm
5a3f0bd4395a75703f9ee84b01e42a74283a5de9
60dd5281e7ce4dfb603b795aa194a67ff867caf6
refs/heads/master
2022-12-14T16:04:46.723771
2020-09-23T06:59:33
2020-09-23T06:59:33
270,216,530
0
0
null
null
null
null
UTF-8
Python
false
false
1,383
py
class TreeNode: def __init__(self, val): self.val = val self.left, self.right = None, None class Solution: def max_high(self, root): # 求该树的最大高度 if root is None: return 0 left_length = self.max_high(root.left) right_length = self.max_high(root.right) re...
[ "1325338208@qq.com" ]
1325338208@qq.com
606515694a3f683ff31e9746c7799ff4ef54d432
7d29770cfebebd951b1d48b60c10f8f22f8d4bd1
/fabfile.py
3678b569659f2908cfc59ed401d81a4054a1da3b
[ "MIT" ]
permissive
vinthony/simple_python_server
89a2c256108ef2b40c5b8bc08b7a40b99689cd9a
43ee476f7a3f835db0a6dcd816de38bae864c851
refs/heads/master
2016-09-08T00:32:05.256289
2015-05-24T13:54:42
2015-05-24T13:54:42
31,638,015
2
0
null
null
null
null
UTF-8
Python
true
false
5,496
py
#!/usr/bin/env python # -*- coding: utf-8 -*- ''' Deployment toolkit. ''' import os, re from datetime import datetime from fabric.api import * env.user = 'root' env.sudo_user = 'root' env.hosts = ['192.241.212.122'] db_user = 'root' db_password = 'root' _TAR_FILE = 'dist-awesome.tar.gz' _REMOTE_TMP_TAR = '/tmp/...
[ "vinthony@gmail.com" ]
vinthony@gmail.com
855311b76dc28b0b45b1075cd05f3bdb27a64d37
f9d564f1aa83eca45872dab7fbaa26dd48210d08
/huaweicloud-sdk-waf/huaweicloudsdkwaf/v1/model/update_anticrawler_rule_type_response.py
71fade648c239729585561bd00aa9f1cff6407bf
[ "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,809
py
# coding: utf-8 import six from huaweicloudsdkcore.sdk_response import SdkResponse from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization class UpdateAnticrawlerRuleTypeResponse(SdkResponse): """ Attributes: openapi_types (dict): The key is attribute name ...
[ "hwcloudsdk@huawei.com" ]
hwcloudsdk@huawei.com
cf500db1eedeb8cb6c4e8320a933d53b9d19fcf2
f546248daf7fd64aeff6517e9fea668b459f9b62
/yatwin/interfaces/http/methods/set_apwifi.py
a52fa3771edea9623add97994240901a1e42db6d
[]
no_license
andre95d/python-yatwin
2310b6c6b995771cea9ad53f61ad37c7b10d52d0
7d370342f34e26e6e66718ae397eb1d81253cd8a
refs/heads/master
2023-03-16T18:06:17.141826
2020-05-12T23:04:53
2020-05-12T23:04:53
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,232
py
from . import method_types from .. import parameters from .constants import permissions from .constants import methods """ Library containing set_apwifi (an instance of <ParamMethod>) Constants defined here: ENDPOINT DESCRIPTION GET_PARAMETERS POST_PARAMETERS RETURNS METHOD FILES Imports:...
[ "26026015+tombulled@users.noreply.github.com" ]
26026015+tombulled@users.noreply.github.com
8e60ddf1b53ee54ddcf396fdb7d3817f2ead8174
f3448af9923fe1977a8bba1adfba7eccee6c61f8
/utils/download_exams.py
3dd34cb19db263332b56c42dfa124ee53d834d50
[ "Apache-2.0" ]
permissive
gabrik/ingunict-bot
d5e07cb4c16fdf9463b52f328599a52f2b47e3fd
51ec51779bcea9dd4b66a2a5a86051a856c00fc1
refs/heads/master
2020-04-15T15:01:31.153746
2016-09-06T13:16:43
2016-09-06T13:16:43
49,597,255
4
1
null
2016-07-24T14:09:20
2016-01-13T19:42:17
Python
UTF-8
Python
false
false
1,811
py
# -*- coding: utf-8 -*- import re import urllib2 import sys import os.path as path import json from unidecode import unidecode from utility import * exams_regex = '<td><a.+?href=".+?view=materia&amp;id=.+?".+?title="(.+?)">.+?<\/a><\/td><td>(.+?)<\/td><td.+?>(.+?)<\/td><td >(.+?)<\/td><td>(.*?)<\/td><td>(.+?)<\/td><t...
[ "gabriele.baldoni@gmail.com" ]
gabriele.baldoni@gmail.com
1892b0ee430ba91dab9c5a78e8266b8a531b470a
926621c29eb55046f9f59750db09bdb24ed3078e
/lib/surface/compute/instances/delete_access_config.py
1ffe6d7bda3e1968913f59ba3209cb720ed928a5
[ "LicenseRef-scancode-unknown-license-reference", "Apache-2.0" ]
permissive
bopopescu/SDK
525d9b29fb2e901aa79697c9dcdf5ddd852859ab
e6d9aaee2456f706d1d86e8ec2a41d146e33550d
refs/heads/master
2022-11-22T18:24:13.464605
2016-05-18T16:53:30
2016-05-18T16:53:30
282,322,505
0
0
NOASSERTION
2020-07-24T21:52:25
2020-07-24T21:52:24
null
UTF-8
Python
false
false
3,026
py
# Copyright 2014 Google Inc. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or ag...
[ "richarddewalhalla@gmail.com" ]
richarddewalhalla@gmail.com
4bcf18b8c4b4e52d0f93c140d208c68b3e2c2c95
148072ce210ca4754ea4a37d83057e2cf2fdc5a1
/src/core/w3af/w3af/plugins/attack/db/sqlmap/plugins/dbms/maxdb/connector.py
01d9c91af03a78105416eff363c14c892048cbf3
[]
no_license
ycc1746582381/webfuzzer
8d42fceb55c8682d6c18416b8e7b23f5e430c45f
0d9aa35c3218dc58f81c429cae0196e4c8b7d51b
refs/heads/master
2021-06-14T18:46:59.470232
2017-03-14T08:49:27
2017-03-14T08:49:27
null
0
0
null
null
null
null
UTF-8
Python
false
false
564
py
#!/usr/bin/env python """ Copyright (c) 2006-2015 sqlmap developers (http://sqlmap.org/) See the file 'doc/COPYING' for copying permission """ from lib.core.exception import SqlmapUnsupportedFeatureException from plugins.generic.connector import Connector as GenericConnector class Connector(GenericConnector): d...
[ "everping@outlook.com" ]
everping@outlook.com
1ced1b10124d3fde11d982b2f027bfeb682b2888
91efab132a3c0a763c9737c84fddb0a75481d79f
/contrib/seeds/generate-seeds.py
129ed064255d123bcb9311c3f76f535073a310d4
[ "MIT" ]
permissive
zurcoin/zurcoin
cc608000cc164f973f61c353f4b5fb5699db942c
ce1f44fbe60afa8ed67cf7a5fe10a5fb73315b88
refs/heads/master
2021-07-09T17:26:40.921729
2021-05-06T03:46:42
2021-05-06T03:46:42
102,293,359
4
5
null
null
null
null
UTF-8
Python
false
false
4,379
py
#!/usr/bin/python # Copyright (c) 2014 Wladimir J. van der Laan # Distributed under the MIT software license, see the accompanying # file COPYING or http://www.opensource.org/licenses/mit-license.php. ''' Script to generate list of seed nodes for chainparams.cpp. This script expects two text files in the directory tha...
[ "quentin.neveu@hotmail.ca" ]
quentin.neveu@hotmail.ca
dc71a918cce9bc65fd40afe3979ade03f5cb1cb3
c5be188cf1231d62f7ad69c98ee71b4bc181f6f2
/Shi_Tomasi_corner_detect.py
88803dc0e5490af3aaff7954ee26386411976ed7
[]
no_license
ashish1sasmal/OPENCV-Python
e2d81e4472413ba79c5cdd4fcaad534225a5d394
589accc3c16eb4bf515ba85ee46ae6fdc2347bc6
refs/heads/master
2021-07-17T17:56:30.438576
2020-10-16T17:12:09
2020-10-16T17:12:09
217,500,976
2
0
null
null
null
null
UTF-8
Python
false
false
416
py
import cv2 import numpy as np import matplotlib.pyplot as plt cv2.namedWindow('Image', cv2.WINDOW_NORMAL) img = cv2.imread("chess.jpg") gray = cv2.cvtColor(img,cv2.COLOR_BGR2GRAY) corners = cv2.goodFeaturesToTrack(gray,500,0.01,10) corners = np.int0(corners) for i in corners: x,y = i.ravel() cv2.circle(i...
[ "ashishsasmal1@gmail.com" ]
ashishsasmal1@gmail.com
0488924fc8cfb464682a218ea3c42ab5ff15097a
22bea740c45a8bca47f97a1f2d69c401084a7fa5
/nakhll_market/migrations/0063_auto_20200730_2037.py
a44ffc88db7c3f6aa1243bb1ac30a38d42ec42ae
[]
no_license
learnasgo/app
7c60c3556350a6dc00a1c5548b86d1c33d85a920
876c1af2e477b66282f11a7119c0f9c6ea47d70c
refs/heads/main
2023-01-24T06:01:03.300104
2020-11-21T15:00:51
2020-11-21T15:00:51
314,040,000
0
1
null
null
null
null
UTF-8
Python
false
false
469
py
# Generated by Django 2.2.6 on 2020-07-30 16:07 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('nakhll_market', '0062_auto_20200627_1731'), ] operations = [ migrations.AlterField( model_name='productbanner', ...
[ "admin@example.com" ]
admin@example.com
7d7616ef86d9491ca0f2e5df4f8de83cbc8fbea1
7b1f8d8145c2095ef25897ea47dbf429d7f0ee01
/apps/product/models.py
c8db8424ba9bc116fd481ef1b4494f2f8029cadd
[]
no_license
wwj718/yaxiuji
770d5cb47afb6a52b5e090199cb618921e7b38c9
956eaf25e049ce92e44da1bfb9968212d2134d49
refs/heads/master
2020-12-25T21:44:00.022108
2014-04-09T12:20:25
2014-04-09T12:20:25
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,658
py
#coding=utf-8 from django.db import models from sorl.thumbnail import ImageField # Create your models here. class ProductCategory(models.Model): '''建一个模型,每次编辑''' name = models.CharField(max_length=40, verbose_name=u'分类名称') #order = models.IntegerField(default=0, verbose_name=u'图片顺序') pic = ImageField(blank=True...
[ "wuwenjie718@gmail.com" ]
wuwenjie718@gmail.com
bcd5a584ec499c6feaa002f048578130e1356500
7e2ac6f7fc32711d34d9716ffe008f7d1bc2ded0
/pyprob/concurrency.py
7fe2329131c8dae1fd39b8677b9db63fe39e4a08
[ "BSD-2-Clause", "BSD-3-Clause" ]
permissive
ammunk/pyprob
7e13c682481af7dd70b0339f79ec7c90f83af92f
dd71451b8ed6d07fe894beb4cbad7c59a01e9a3b
refs/heads/master
2023-07-06T22:00:47.873548
2022-07-07T21:07:37
2022-07-07T21:07:37
156,126,659
3
0
BSD-2-Clause
2023-02-02T19:28:38
2018-11-04T21:26:31
Python
UTF-8
Python
false
false
2,837
py
from collections.abc import Mapping import shelve import random import time class ConcurrentShelf(Mapping): def __init__(self, file_name, time_out_seconds=60): self._file_name = file_name self._time_out_seconds = time_out_seconds self._locked_shelf = None shelf = self._open(write=T...
[ "atilimgunes.baydin@gmail.com" ]
atilimgunes.baydin@gmail.com
cab6a24e1e8a6d6d0d18897f4d2227e556b54f8f
ca7aa979e7059467e158830b76673f5b77a0f5a3
/Python_codes/p03638/s541558095.py
5f5885935e2615f1392ad3cfd6c23be0d89561e9
[]
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
320
py
H, W = map(int, input().split()) n = int(input()) a = map(int, input().split()) alist = [] i = 1 for ai in a: alist.extend([str(i)]*ai) i += 1 i = 0 for h in range(H): start = h * W end = start + W if h % 2 == 0: print(' '.join(alist[start:end])) else: print(' '.join(alist[end-1:start-1:-1]))
[ "66529651+Aastha2104@users.noreply.github.com" ]
66529651+Aastha2104@users.noreply.github.com
0d1452a18730da2a42b83914ea73011b9c9827bd
1a809f0f6b639b38eac3ca2b3ca6f385a9bce9d0
/0x0B-python-input_output/13-student.py
a292d625a2f31a00626eead1b8d3a77af0251ffd
[]
no_license
oscarmrt/holbertonschool-higher_level_programming
830790c5964e5d4c998f867b73e1e0f77b309e5a
be8319a5748cdc71ffe76f959e8ecd083fafb545
refs/heads/master
2020-09-29T06:00:41.391101
2020-05-14T20:44:17
2020-05-14T20:44:17
226,969,916
0
0
null
null
null
null
UTF-8
Python
false
false
588
py
#!/usr/bin/python3 """ student module """ class Student: def __init__(self, first_name, last_name, age): self.first_name = first_name self.last_name = last_name self.age = age def to_json(self, attrs=None): if attrs is None: return self.__dict__ n_dict = {}...
[ "oscarmrt@hotmail.com" ]
oscarmrt@hotmail.com
d47cc4ec61cfcdb99d31a3bd3e64a049de2eb7a8
0dddc0508138396c740901be4a0f9eebefb8fded
/ax/storage/tests/test_registry_bundle.py
394205b2b5aef188e1c1082cde2301a07ad5435b
[ "MIT" ]
permissive
facebook/Ax
473beb143016f95f4ec381ed1bd95b32c1ca31f8
6443cee30cbf8cec290200a7420a3db08e4b5445
refs/heads/main
2023-09-01T09:29:13.684709
2023-08-31T21:49:30
2023-08-31T21:49:30
169,880,381
2,207
315
MIT
2023-09-14T21:26:51
2019-02-09T15:23:44
Jupyter Notebook
UTF-8
Python
false
false
1,706
py
# Copyright (c) Meta Platforms, Inc. and affiliates. # # This source code is licensed under the MIT license found in the # LICENSE file in the root directory of this source tree. from ax.metrics.botorch_test_problem import BotorchTestProblemMetric from ax.metrics.branin import BraninMetric from ax.runners.botorch_test...
[ "facebook-github-bot@users.noreply.github.com" ]
facebook-github-bot@users.noreply.github.com
73ce9a14b04a26abba045762784b1b5884d6c821
9cbc64ee93b0ad69eca289c369756d71f4013fa9
/build/hector_slam/hector_nav_msgs/cmake/hector_nav_msgs-genmsg-context.py
bf85522993db4407bbb939fa69c8bd36d098a042
[]
no_license
gsimon2/ros_catkin_ws_old
7800d2926d253eccf8e258363ac91da19a69286d
d15d379f23fdaf74c244a021e2fd548ce3739611
refs/heads/master
2021-03-22T04:45:27.225743
2017-06-27T15:10:42
2017-06-27T15:10:42
88,072,324
2
0
null
null
null
null
UTF-8
Python
false
false
1,117
py
# generated from genmsg/cmake/pkg-genmsg.context.in messages_str = "" services_str = "/home/simongle/simulation/ros_catkin_ws/src/hector_slam/hector_nav_msgs/srv/GetDistanceToObstacle.srv;/home/simongle/simulation/ros_catkin_ws/src/hector_slam/hector_nav_msgs/srv/GetRecoveryInfo.srv;/home/simongle/simulation/ros_catki...
[ "simongle@msu.edu" ]
simongle@msu.edu
713592b7e36c3110472c9446d88a97fe9643ba0b
56a9adc7a7ff02388e5746e134b03a0b33b6fe43
/Session31A.py
6971fd9cb867e9adb9f55f6f2a78e405e390ddda
[]
no_license
ishantk/GW2019PDec
c29853b09528928201aeb7ad6bfca071da318836
d94258c7d7584520b8757dce5afaa53ddd76155d
refs/heads/master
2020-09-20T06:00:37.685155
2020-01-23T07:39:32
2020-01-23T07:39:32
224,393,828
1
0
null
null
null
null
UTF-8
Python
false
false
734
py
import requests import json url = "https://newsapi.org/v2/top-headlines?sources=techcrunch&apiKey=" # print(url) response = requests.get(url) # print(response.text) # Covert JSON Data into Python Dictionary news = json.loads(response.text) # print(news) # print(type(news)) # print(news["status"]) print(news["total...
[ "er.ishant@gmail.com" ]
er.ishant@gmail.com
8d6ee4b37b8fd7e07f595fd42af6e033f7274638
9925a2b08e0b949144f337262aa916a0ff3b7099
/1232. Check If It Is a Straight Line(E).py
af51ef90a7f4b8994d28f94dea5155b5cc07758d
[]
no_license
ppp7720/leetcode
e3aebf4e559c47f27a04537a13f9fb4e1af4f2c3
906b85185015c88df245553417f0f63d0c98c67f
refs/heads/main
2023-04-20T07:26:16.571829
2021-05-16T16:14:43
2021-05-16T16:14:43
357,154,686
0
0
null
null
null
null
UTF-8
Python
false
false
588
py
from typing import List coordinates = [[0,0],[0,1],[0,-1]] class Solution: def checkStraightLine(self, coordinates: List[List[int]]) -> bool: if coordinates[1][0] - coordinates[0][0]: a = (coordinates[1][1] - coordinates[0][1]) / (coordinates[1][0] - coordinates[0][0]) fo...
[ "noreply@github.com" ]
ppp7720.noreply@github.com
151bb2630dcdd841e11860cfb97951186b5596c6
4c3e992678341ccaa1d4d14e97dac2e0682026d1
/addons/purchase/tests/common.py
b7dd2a7bfc5316a6415eb68390f82e4dca1f8dc1
[]
no_license
gahan-corporation/wyatt
3a6add8f8f815bd26643e1e7c81aea024945130d
77e56da362bec56f13bf0abc9f8cf13e98461111
refs/heads/master
2021-09-03T18:56:15.726392
2018-01-08T02:54:47
2018-01-08T02:54:47
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,581
py
# -*- coding: utf-8 -*- from datetime import timedelta from gerp import fields from gerp.addons.stock.tests.common2 import TestStockCommon class TestPurchase(TestStockCommon): def _create_make_procurement(self, product, product_qty, date_planned=False): ProcurementGroup = self.env['procurement.group'] ...
[ "duchess@gahan-corporation.com" ]
duchess@gahan-corporation.com
b947f302b1e234da403019a52c91fb35d80e79a5
aaff711b31dcaf59e0924a8ff2928d6ff859b4a7
/src/models/base2.py
bdcd5d8ad769eba04ed76785d1cc076ff24deceb
[]
no_license
harupy/kaggle-dsb2019
abde925d0b529d07085b3010a79c56729409273d
144d34c40200523e7263ac2c3512c15b6fa522e7
refs/heads/master
2020-12-26T18:22:01.285659
2020-01-24T08:58:23
2020-01-24T08:58:23
null
0
0
null
null
null
null
UTF-8
Python
false
false
6,583
py
import logging import catboost as cat import lightgbm as lgb import numpy as np import pandas as pd from abc import abstractmethod from typing import Union, Tuple, List from src.evaluation import (calc_metric, eval_with_truncated_data, OptimizedRounder) # type alias AoD = Union[np.ndarra...
[ "arabiannight1994@yahoo.co.jp" ]
arabiannight1994@yahoo.co.jp
71b2885c6449420cfa97805c5ab664b3831751cf
dcf7b2fabd605372bf7a380008de982bab0edcce
/src/pages/views.py
dc105774d5e49b1769e16630db944f7c7d8525fd
[ "MIT" ]
permissive
happeninghq/happening
f18b2c2485a2e5aae7f03356a45c905362cdac3c
e33c2be9fd27e90dcafbf4fd7bd6724658411157
refs/heads/master
2020-04-11T23:46:46.446504
2017-07-17T19:12:45
2017-07-17T19:12:45
31,820,807
0
1
null
null
null
null
UTF-8
Python
false
false
717
py
"""Pages views.""" from django.shortcuts import render, get_object_or_404 from .models import Page from .utils import render_block def view(request, pk): """Show page.""" page = get_object_or_404(Page, url=pk) def get_block(i): return [b for b in page.content["blocks"] if b["id"] == i][0] # ...
[ "jonathan@jscott.me" ]
jonathan@jscott.me
bdb91c98287bfdda38b2f002d055e9b68fb72adb
52b5773617a1b972a905de4d692540d26ff74926
/.history/fish1_20200804194920.py
75f8c93810bd9e1f658e845c81df8cd14263c325
[]
no_license
MaryanneNjeri/pythonModules
56f54bf098ae58ea069bf33f11ae94fa8eedcabc
f4e56b1e4dda2349267af634a46f6b9df6686020
refs/heads/master
2022-12-16T02:59:19.896129
2020-09-11T12:05:22
2020-09-11T12:05:22
null
0
0
null
null
null
null
UTF-8
Python
false
false
461
py
def fish(A,B): # where A represent the size of fish and B represents the direction of fish i = 0 j = 0 newFish = {} for i,j in zip(A,B): newFish[] # I'll loop through both arrays # you are intrested in a fish going down # and the fish only eat each other when p > q fish...
[ "mary.jereh@gmail.com" ]
mary.jereh@gmail.com
b32563d1ce5eceee9e3cb1f513e172543798f374
9743d5fd24822f79c156ad112229e25adb9ed6f6
/xai/brain/wordbase/otherforms/_expressways.py
45727e5a28f81ee71791c4f1cf8fe71637f2d0fa
[ "MIT" ]
permissive
cash2one/xai
de7adad1758f50dd6786bf0111e71a903f039b64
e76f12c9f4dcf3ac1c7c08b0cc8844c0b0a104b6
refs/heads/master
2021-01-19T12:33:54.964379
2017-01-28T02:00:50
2017-01-28T02:00:50
null
0
0
null
null
null
null
UTF-8
Python
false
false
238
py
#calss header class _EXPRESSWAYS(): def __init__(self,): self.name = "EXPRESSWAYS" self.definitions = expressway self.parents = [] self.childen = [] self.properties = [] self.jsondata = {} self.basic = ['expressway']
[ "xingwang1991@gmail.com" ]
xingwang1991@gmail.com
cc7a84965d808ee3b734493e473922e1ea73021c
7e33d54ce1351a4272ec0647fc2c5c747b8a7593
/0x15-api/3-dictionary_of_list_of_dictionaries.py
015523ae103d7dc639c5c51644c8879f34d4bcba
[]
no_license
DiegoAlar/holberton-system_engineering-devops
ffa7cdd6350b552c4b105fc7aea2c7c4c23b504d
ac686a1951615628f7067852fb9d46a2f18b8517
refs/heads/master
2020-07-24T07:59:38.782752
2020-05-27T17:48:06
2020-05-27T17:48:06
207,856,072
0
0
null
null
null
null
UTF-8
Python
false
false
1,086
py
#!/usr/bin/python3 """ Python script that, using this REST API (https://jsonplaceholder.typicode.com/), extend your Python script to export data in the JSON format. """ if __name__ == "__main__": import json import requests import sys url_todos = 'https://jsonplaceholder.typicode.com/todos' ...
[ "diegoaav@hotmail.com" ]
diegoaav@hotmail.com
d4ed593563aa11bcdee5c4ed80493fc8c8b3cabb
84864f862dec9171e958920f2c8e7c920fcef056
/CLRS/CLRS_with_Python/Learning/Chapter2/Linear_search.py
159bf6d97754b756aed6b48d05220787f497eff0
[]
no_license
Orcuslc/Learning
7704950f8c09232dadbbde81ed82ddc0ca65172d
ffa856febd85235d17358178f1e288ffae7856cb
refs/heads/master
2020-03-26T11:59:54.093395
2018-05-29T04:19:36
2018-05-29T04:19:36
47,269,920
4
2
null
null
null
null
UTF-8
Python
false
false
187
py
#linear_search #15.7.15 def linear_search(A, key): for index in range(len(A)): if A[index] == key: return index return 'NIL' A = [1, 2,43,57,476,32] print(linear_search(A, 42))
[ "orcuslc@hotmail.com" ]
orcuslc@hotmail.com
007e76fb39e428ac08d400eedaaef81347e242c4
2a54d19a114ea8aebfb2bd2ba6495a462c48c68d
/bin/pycodestyle
dad78b20d47a74c7953101b338e8909826d16b1d
[]
no_license
aki-06/tweetme
a07196c1fa00f79f800c06b28f10c4d3fd42988e
2ecdb6655b0aa2a80fe3db352b91a61ca286f9a8
refs/heads/master
2021-10-15T08:00:52.310992
2019-02-05T12:39:43
2019-02-05T12:39:43
null
0
0
null
null
null
null
UTF-8
Python
false
false
238
#!/Users/akihiro/Dev/tweetme/bin/python3 # -*- coding: utf-8 -*- import re import sys from pycodestyle import _main if __name__ == '__main__': sys.argv[0] = re.sub(r'(-script\.pyw?|\.exe)?$', '', sys.argv[0]) sys.exit(_main())
[ "akihiro.nemoto.06@gmail.com" ]
akihiro.nemoto.06@gmail.com
6469a74b691fd81705e5d485ad6686f0664d7a7f
e79de9c9def60b0f814ab0625a2eb8bce3428ddd
/challenges/pybites/bite_053_test.py
31573d9b3a2406814be91cd50450c39c19a7ed4b
[]
no_license
mh70cz/py_old
a80e2140a279541c3639f89df70fadad34f7df0f
1af878cfbff24e5c6d39219c2c4faebd5a12f0c4
refs/heads/master
2022-04-05T15:07:10.840387
2020-01-13T18:39:50
2020-01-13T18:39:50
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,202
py
""" Bite 53. Convert text into multiple columns https://codechalleng.es/bites/53 """ import pytest import re from bite_053 import text_to_columns def test_text_to_one_col(): text = """My house is small but cosy.""" expected = [ r"^My house is small", r"^but cosy." ] output = text_...
[ "mh70@mh70.cz" ]
mh70@mh70.cz
c4014b6010fd2a7dadfdaa7277e7fcf653e0b01c
ca82e3c6084e697ecbdbf32d96c08293c5540287
/courses/python_data_structures_queues/Exercise Files/Ch03/03_04/End/queues.py
19eb97b17cd0be882489e797fbccca25b3ae175f
[]
no_license
bheki-maenetja/small-projects-py
8c8b35444ff2ecef7ad77e709392a9c860967ecc
18504d2e1f1ea48b612a4e469828682f426c9704
refs/heads/master
2023-08-17T00:38:06.208787
2023-08-16T16:25:22
2023-08-16T16:25:22
131,871,876
1
0
null
2023-08-14T23:44:23
2018-05-02T15:37:58
Python
UTF-8
Python
false
false
905
py
class Queue: def __init__(self): self.items = [] def enqueue(self, item): """Takes in an item and inserts that item into the 0th index of the list that is representing the Queue. The runtime is O(n), or linear time, because inserting into the 0th index of a list forces...
[ "bhekimaenetja@gmail.com" ]
bhekimaenetja@gmail.com
d7399db7dc4980f998438f1bf98daeff76c1e770
47b9b9fc6f28a8af58d8bf1266baf7388b3f906d
/mammoth/styles/parser/html_path_parser.py
9e155b600c9c5b4627ec4cc265db326df5dd4bba
[ "BSD-2-Clause" ]
permissive
mwilliamson/python-mammoth
3535f86fa55d54ac41cd6cb09791d83cc42a1f1f
d037ef5cf7fc976047bed20859dbcd5c90f45d67
refs/heads/master
2023-06-17T08:07:57.393801
2023-05-30T10:33:07
2023-05-30T10:33:07
14,839,863
676
131
BSD-2-Clause
2023-05-07T08:55:00
2013-12-01T14:13:31
Python
UTF-8
Python
false
false
2,034
py
from ... import html_paths from .tokeniser import TokenType from .token_parser import parse_identifier, parse_string, try_parse_class_name def parse_html_path(tokens): if tokens.try_skip(TokenType.SYMBOL, "!"): return html_paths.ignore else: return html_paths.path(_parse_html_path_elements(tok...
[ "mike@zwobble.org" ]
mike@zwobble.org
5f1db8dc2d9eb1d7fcc256bf45e52544791ede00
8441c4b9c0af69caf9af3da476ee0629aae9ba26
/local/admin.py
e9b5d50e07a0598d9856e6c231a8021498c01038
[ "MIT" ]
permissive
rodrigondec/Open_CliEng
38e1262a2400e9b972faf5fa2f5d53bd1007f91e
83e399a35c1cf96283409ac43a61b2725cd93982
refs/heads/master
2021-08-23T06:29:14.760569
2017-12-03T22:24:55
2017-12-03T22:24:55
111,357,606
4
0
MIT
2017-12-03T22:26:15
2017-11-20T03:32:39
Python
UTF-8
Python
false
false
152
py
from django.contrib import admin from .models import Predio, Setor # Register your models here. admin.site.register(Predio) admin.site.register(Setor)
[ "rodrigondec@gmail.com" ]
rodrigondec@gmail.com
9503ded4348052a75adccd9d733416fd7b96c239
163bbb4e0920dedd5941e3edfb2d8706ba75627d
/Code/CodeRecords/2563/60602/281173.py
71f6f0667d59f27bf7e66119038daab96280b26b
[]
no_license
AdamZhouSE/pythonHomework
a25c120b03a158d60aaa9fdc5fb203b1bb377a19
ffc5606817a666aa6241cfab27364326f5c066ff
refs/heads/master
2022-11-24T08:05:22.122011
2020-07-28T16:21:24
2020-07-28T16:21:24
259,576,640
2
1
null
null
null
null
UTF-8
Python
false
false
763
py
def examString(string): i=0; while(i<len(string)): if(string[i]!='1'): return False; i+=1; return True; def fNumtoNum(n,x): string=""; #n为待转换的十进制数,x为机制,取值为2-16 a=['0','1','2','3','4','5','6','7','8','9','A','b','C','D','E','F'] i=0; b=[] while True: ...
[ "1069583789@qq.com" ]
1069583789@qq.com
d43c9a7d79729a2dbdf8a2a5ee47b08b79e8c488
1e0b5283ba08876a30fdd5e5a00daf1da9393083
/labs/migrations/0008_auto_20191013_0842.py
cc4d3de22c776a79a76a190767c0058e78ca8cfa
[]
no_license
nikhilrayaprolu/codelabsback
c26c1ebbda3db2752f47e96bfb46a7a21278b505
03871a312c54aa408b24fd48016f64e2a19f7757
refs/heads/master
2022-03-06T07:09:35.478727
2019-11-03T09:35:12
2019-11-03T09:35:12
216,264,414
0
0
null
null
null
null
UTF-8
Python
false
false
648
py
# Generated by Django 2.2.5 on 2019-10-13 08:42 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('labs', '0007_auto_20191012_1300'), ] operations = [ migrations.AddField( model_name='challenge', name='track', ...
[ "nikhil684@gmail.com" ]
nikhil684@gmail.com
00bd2344949c16de3c05648ba3ab4a0b294938a7
bf99b1b14e9ca1ad40645a7423f23ef32f4a62e6
/AtCoder/abc/036c.py
d912df61cfedb6e05577f341c85c9cdc87e0130f
[]
no_license
y-oksaku/Competitive-Programming
3f9c1953956d1d1dfbf46d5a87b56550ff3ab3db
a3ff52f538329bed034d3008e051f30442aaadae
refs/heads/master
2021-06-11T16:14:12.635947
2021-05-04T08:18:35
2021-05-04T08:18:35
188,639,647
0
0
null
null
null
null
UTF-8
Python
false
false
215
py
from bisect import bisect_left N = int(input()) A = [] for _ in range(N): a = int(input()) A.append(a) conv = set(A) conv = list(conv) conv.sort() for a in A: ans = bisect_left(conv, a) print(ans)
[ "y.oksaku@stu.kanazawa-u.ac.jp" ]
y.oksaku@stu.kanazawa-u.ac.jp
c4dcbd8c299862b9baf5c4685901cf33353cfa67
43907139256a7d680b895a0ed63bd64c75e4b64f
/1433A.py
105a49aff5e0d444bce90b34a949de7ab1bb0a28
[]
no_license
HoangAce/ExerciseCodeforcer
7e8b690a236c1629ba557bbd95de52e5ec3412db
39ccd877a68bbf86f3bd53b4cd757c8421ecccca
refs/heads/main
2023-08-29T04:14:10.477397
2021-10-26T03:00:40
2021-10-26T03:00:40
365,713,642
0
0
null
null
null
null
UTF-8
Python
false
false
245
py
#-*- coding: utf- 8-*- t = int(input()) answer = [] for i in range(t): x = input() count = 10 * (int(x[0]) - 1) for j in range(len(x)): count += 1 + j answer.append(count) for i in range(t): print(answer[i])
[ "haui.hoangace@gmail.com" ]
haui.hoangace@gmail.com
05fc971092cd0a51ce25f2832db9513f54f155d4
71025abf182a917c585a4929ce24b2b410f82909
/shipping_expedition_cbl/models/stock.py
516735e611bf61e93953dda47c343ed1cd1e5b97
[]
no_license
mulaudzicalvin/stock
101dbbc553bf8d121a9ce4de077b7392b59d8667
9f03bb98aae96ec5716eecab1d36ad10a4b5c829
refs/heads/master
2022-11-18T14:51:03.889420
2020-04-03T11:49:15
2020-04-03T11:49:15
null
0
0
null
null
null
null
UTF-8
Python
false
false
3,319
py
# -*- coding: utf-8 -*- # © 2013 Yannick Vaucher (Camptocamp SA) # License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html). from operator import attrgetter from openerp import _, api, exceptions, fields, models, tools from ..cbl.web_service import CblWebService import logging import urllib, cStringIO _log...
[ "informatica@arelux.com" ]
informatica@arelux.com
913ef13802d6ba150d50657d81a17c34acb67996
b993df6e8d563a75ea6f6ce40a41aa3e59675dbf
/20191121/swea 5688.py
f528f8b90f8729f1dcce6ad1848eddf157d2ba03
[]
no_license
BuankerC/projectswea
7d6a5f35b73e553037efd01d6a57811a9778834d
ea169d2352f3785ff2ce47475d203c3f751716cb
refs/heads/master
2020-07-03T11:31:43.283821
2020-01-04T03:19:25
2020-01-04T03:19:25
201,892,552
1
0
null
null
null
null
UTF-8
Python
false
false
209
py
''' swea 5688. 세제곱근을 찾아라 D3 ''' for t in range(int(input())): N = int(input()) x = round(N ** (1 / 3), 6) x = int(x) if str(x)[-2] == '.' else -1 print('#{} {}'.format(t+1, x))
[ "ergaster91@gmail.com" ]
ergaster91@gmail.com