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
c816d56186b7e542cbe7bc8cd9c9bc46bbda04f8
05bf7de1337bc938578accba64416863cec1ed63
/src/Python27Packages/chipfit_display/__main__.py
a3a3e4dc5b8da5d2314b273612e9e1c82eafd570
[ "MIT", "LicenseRef-scancode-unknown-license-reference", "LicenseRef-scancode-other-permissive" ]
permissive
metamorph-inc/openmeta-mms
d0dccae88e7532594f02c5eff8daa74c6c0e4010
2644cb7273916e36c3725785fc9a44948d64c343
refs/heads/master
2023-04-06T11:09:36.316306
2023-03-28T18:17:55
2023-03-28T18:17:55
70,078,378
21
8
NOASSERTION
2023-01-14T09:31:14
2016-10-05T16:29:54
Python
UTF-8
Python
false
false
73
py
import sys import chipfit_display chipfit_display.main(sys.argv[1])
[ "kevin.m.smyth@gmail.com" ]
kevin.m.smyth@gmail.com
f9d8fddb43d5a47777fd7c3791a4e8dd5b4763fd
ca7aa979e7059467e158830b76673f5b77a0f5a3
/Python_codes/p03399/s007707069.py
4fd723f76516b44d12a72f5d909ff815dc36e004
[]
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
193
py
import sys read = sys.stdin.buffer.read readline = sys.stdin.buffer.readline readlines = sys.stdin.buffer.readlines a, b, c, d = [int(readline()) for _ in range(4)] print(min(a, b)+min(c, d))
[ "66529651+Aastha2104@users.noreply.github.com" ]
66529651+Aastha2104@users.noreply.github.com
3f7ae751ff66b8f223e7021da11830353ce51268
7bededcada9271d92f34da6dae7088f3faf61c02
/pypureclient/flasharray/FA_2_25/models/volume_diff.py
d2edf2a9f056c12e597483dcf347e0a4c5368a44
[ "BSD-2-Clause" ]
permissive
PureStorage-OpenConnect/py-pure-client
a5348c6a153f8c809d6e3cf734d95d6946c5f659
7e3c3ec1d639fb004627e94d3d63a6fdc141ae1e
refs/heads/master
2023-09-04T10:59:03.009972
2023-08-25T07:40:41
2023-08-25T07:40:41
160,391,444
18
29
BSD-2-Clause
2023-09-08T09:08:30
2018-12-04T17:02:51
Python
UTF-8
Python
false
false
4,002
py
# coding: utf-8 """ FlashArray REST API No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) OpenAPI spec version: 2.25 Generated by: https://github.com/swagger-api/swagger-codegen.git """ import pprint import re import six import typing from ...
[ "noreply@github.com" ]
PureStorage-OpenConnect.noreply@github.com
cfe7f23cf69b9e525d1589b9a7a1954bdda2b941
44b2743ff70ce0631e9714ce78c44720fa63a9ad
/app/productdb/migrations/0018_auto_20161031_0040.py
8e40b09e308e37703e85d6404cb9fce4c4e6f216
[ "MIT" ]
permissive
hoelsner/product-database
1b1b4db8e968f5bc149605093e4639c48a9ae1ad
c649569fb82bc4b0a5e9ef9615fff8a364ce652f
refs/heads/master
2023-07-24T21:39:01.870692
2023-07-09T17:03:56
2023-07-09T17:03:56
43,767,455
43
27
MIT
2023-04-16T19:17:25
2015-10-06T17:44:50
Python
UTF-8
Python
false
false
913
py
# -*- coding: utf-8 -*- # Generated by Django 1.9.6 on 2016-10-30 23:40 from __future__ import unicode_literals from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('productdb', '0017_auto_20161027_2106'), ] operations = [ migrations.AddField...
[ "henry@codingnetworker.com" ]
henry@codingnetworker.com
9323010d080fa4a0af3e7f042c51db791b67fb42
c21546695e35a3f7c60e684de04bcbe88b2b985a
/0791_Custom_Sort_String.py
7f23dd09f51d1edf6c38b662b894408be66a04df
[]
no_license
piecesofreg09/study_leetcode
4a05ddee44c72a6d0c50bca7cb0b70abd33b0b85
fc69721dbe003fcc2f7795a6b38c41d877905205
refs/heads/master
2023-01-14T05:02:24.779136
2020-11-18T17:23:30
2020-11-18T17:23:30
288,774,420
0
0
null
null
null
null
UTF-8
Python
false
false
308
py
class Solution: def customSortString(self, S: str, T: str) -> str: weight = {letter: idd for idd, letter in enumerate(S)} result = list(T) #print(result) result.sort(key=lambda x: weight[x] if x in weight else 27) return ''.join(result)
[ "noreply@github.com" ]
piecesofreg09.noreply@github.com
2761d41a3a6800f15810f6fd07f2ea598d5c8fe6
474e74c654916d0a1b0311fc80eff206968539b1
/venv/Lib/site-packages/asposewordscloud/models/field_collection.py
d8c34a1ca1bb8f7fe230a7a197cca433e5719fd5
[]
no_license
viktor-tchemodanov/Training_Tasks_Python_Cloud
4592cf61c2f017b314a009c135340b18fa23fc8f
b7e6afab4e9b76bc817ef216f12d2088447bd4cd
refs/heads/master
2020-09-04T10:39:23.023363
2019-11-05T10:36:45
2019-11-05T10:36:45
219,712,295
0
0
null
null
null
null
UTF-8
Python
false
false
4,790
py
# coding: utf-8 # ----------------------------------------------------------------------------------- # <copyright company="Aspose" file="FieldCollection.py"> # Copyright (c) 2018 Aspose.Words for Cloud # </copyright> # <summary> # Permission is hereby granted, free of charge, to any person obtaining a copy # of t...
[ "vtchemodanov@hotmail.com" ]
vtchemodanov@hotmail.com
c2c604fff3e472713ce92cf6329ef5e18ac1e12f
0674b9d8a34036a6bbe2052e1cae0eee9a44554b
/SWEA/2805.py
d1b70883634db73655f9db356a02c7a40af043d7
[]
no_license
timebird7/Solve_Problem
02fb54e90844a42dc69a78afb02cc10a87eda71c
2d54b6ecbe3edf9895fd8303cbca99b3f50f68f3
refs/heads/master
2020-04-14T23:37:15.354476
2019-04-15T14:32:41
2019-04-15T14:32:41
164,208,673
0
0
null
null
null
null
UTF-8
Python
false
false
376
py
TC = int(input()) for tc in range(TC): ans = 0 N = int(input()) for i in range(N//2): tmp = list(map(int,list(input()))) ans += sum(tmp[N//2-i:N//2+i+1]) tmp = list(map(int,list(input()))) ans += sum(tmp) for i in range(N//2): tmp = list(map(int,list(input()))) ...
[ "timebird7@gmail.com" ]
timebird7@gmail.com
ea28c77611a11a307d8e1f12075fd428f137f896
8a1651367a41f95c093d1f0fa8708640658f4015
/function_/methodcaller.py
b4abe6daa56864e7956439607e50797950b111ce
[ "Apache-2.0" ]
permissive
lenglengcsy/grok-python
4f273b176c293ffb63b41fbefa5df8e2476c022a
2320e38cf42727e1089d150e798115204f8d3404
refs/heads/master
2020-03-10T11:35:27.396257
2018-01-24T01:08:44
2018-01-24T01:08:44
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,099
py
#!/usr/bin/env python # -*- coding: utf-8 -*- # @Time : 2017/7/2 20:38 # @Author : BlackMatrix # @Site : # @File : methodcaller.py # @Software: PyCharm from operator import methodcaller __author__ = 'blackmatrix' """ 测试内建函数 methodcaller的用法 概要: 1 methodtype返回一个可调用对象 2 methodtype接受若干个参数,第一个参数为函数名,后续的参数为第一个函数所需的参...
[ "codecolor@outlook.com" ]
codecolor@outlook.com
8fbff11376cdc02f65ea461dd1591f705244a8c6
9edaf93c833ba90ae9a903aa3c44c407a7e55198
/travelport/models/osi_5.py
38b6f29f809cea96509252d42b0d4e83489f15c9
[]
no_license
tefra/xsdata-samples
c50aab4828b8c7c4448dbdab9c67d1ebc519e292
ef027fe02e6a075d8ed676c86a80e9647d944571
refs/heads/main
2023-08-14T10:31:12.152696
2023-07-25T18:01:22
2023-07-25T18:01:22
222,543,692
6
1
null
2023-06-25T07:21:04
2019-11-18T21:00:37
Python
UTF-8
Python
false
false
2,589
py
from __future__ import annotations from dataclasses import dataclass, field from travelport.models.type_element_status_6 import TypeElementStatus6 __NAMESPACE__ = "http://www.travelport.com/schema/common_v34_0" @dataclass class Osi5: """ Other Service information sent to the carriers during air bookings. ...
[ "chris@komposta.net" ]
chris@komposta.net
d079ee6a8a24af41b884c9a2a5ebdcddfa96e203
d65625683a390c32c34a5cbd0c395d3a033073b3
/ai/composite/CompositeGame.py
3eda71f824bc5834c365c76185436eb0bbdb8301
[]
no_license
DableUTeeF/RLGames
62fa963a8e4e7045e5b9a2ef9044b31f1b91ac38
0ed320f8b2edab7335d20daa2eaa7f1063ef72dd
refs/heads/master
2021-06-01T15:50:18.826696
2020-12-14T03:29:31
2020-12-14T03:29:31
139,692,604
0
0
null
null
null
null
UTF-8
Python
false
false
444
py
import numpy as np from ..Game import Game from ..connect4.Connect4Game import Connect4Game from ..othello.OthelloGame import OthelloGame class CompositeGame(Game): def __init__(self, size): self.games = [Connect4Game(size, size), OthelloGame(size)] def getActionSize(self): return self.games...
[ "palm22180@gmail.com" ]
palm22180@gmail.com
f69ef61efe5ad6192fcc7c6daa0953c6daf69d76
b72f9d9f0769265cdea2b8caff145af9c532ea09
/practice/abc137_c.py
a5fab54f7c2382abcb353cc0c0bc838b21c3d642
[]
no_license
ritzcr/AtCoder
3335fefa8fb1989a0f9da80fe6d0902b46aa2d1f
15097b0c2568ace653e5080d789047531e50edde
refs/heads/master
2021-02-12T19:16:41.757421
2020-07-05T06:30:57
2020-07-05T06:30:57
244,620,726
0
0
null
null
null
null
UTF-8
Python
false
false
228
py
N = int(input()) S = ["".join(sorted(input())) for i in range(N)] hashtable = {} for x in S: hashtable.setdefault(x, 0) hashtable[x] += 1 sumS = 0 for y in hashtable.values(): sumS += y * (y - 1) // 2 print(sumS)
[ "ritz@freex.ltd" ]
ritz@freex.ltd
b4b213dd547affa317c6f10a6479ebe8d8b3b94a
9b225b008199cca2f8158c731b8ad4949b433a2d
/codes/DSN/train.py
51898afc8cc3f65046607f29e32c8520e8785ab4
[]
no_license
xd1073321804/DASR
3b0e00727c1b1342c0d89c17e20a7f4b26b5f138
32d5d715e9b749a6647917ae46ba95378cb4c88c
refs/heads/master
2023-08-25T00:13:39.000106
2021-10-12T09:07:07
2021-10-12T09:07:07
null
0
0
null
null
null
null
UTF-8
Python
false
false
20,520
py
import argparse import os from PIL import Image import numpy as np import torch.optim as optim import torch.utils.data import torchvision.utils as tvutils import data_loader as loader import yaml import loss import model import utils import json from torch.utils.data import DataLoader from tensorboardX import SummaryWr...
[ "516488199@qq.com" ]
516488199@qq.com
e64fd5f173c974163fea26c136dcd54392341431
de24f83a5e3768a2638ebcf13cbe717e75740168
/moodledata/vpl_data/201/usersdata/264/96379/submittedfiles/mediaLista.py
2f70b0d7584eee68c26786f67d40ac3f8e2e16d9
[]
no_license
rafaelperazzo/programacao-web
95643423a35c44613b0f64bed05bd34780fe2436
170dd5440afb9ee68a973f3de13a99aa4c735d79
refs/heads/master
2021-01-12T14:06:25.773146
2017-12-22T16:05:45
2017-12-22T16:05:45
69,566,344
0
0
null
null
null
null
UTF-8
Python
false
false
115
py
# -*- coding: utf-8 -*- n= int(input('Digite a quantidade de valores da lista:')) for i in range (0,len(a),1):
[ "rafael.mota@ufca.edu.br" ]
rafael.mota@ufca.edu.br
4fa9427dab5eddd87e57a6c163a4907c19787dc8
c81d7dfef424b088bf2509a1baf406a80384ea5a
/venv/Lib/site-packages/celery/loaders/default.py
09b5b0fb5a85c6d8701468b551e9dd57a94155cb
[]
no_license
Goutham2591/OMK_PART2
111210d78fc4845481ed55c852b8f2f938918f4a
cb54fb21ebf472bffc6ee4f634bf1e68303e113d
refs/heads/master
2022-12-10T01:43:08.213010
2018-04-05T02:09:41
2018-04-05T02:09:41
124,828,094
0
1
null
2022-12-07T23:43:03
2018-03-12T03:20:14
Python
UTF-8
Python
false
false
1,641
py
# -*- coding: utf-8 -*- """The default loader used when no custom app has been initialized.""" from __future__ import absolute_import, unicode_literals import os import warnings from celery.exceptions import NotConfigured from celery.utils.collections import DictAttribute from celery.utils.serialization import s...
[ "amatar@unomaha.edu" ]
amatar@unomaha.edu
8219834286f2af92c483843536be3fe18eafa76b
ed940f4a5c5379a82eb38fa7ec73ecf70c0df707
/ursina/prefabs/hot_reloader.py
c3613089e68c1315d1fb808579af29fb4501f86f
[ "MIT" ]
permissive
b30wulffz/ursina
c9040c48b556b86d37e0c899c229e9c3b907f8d1
46fbd4154be367aca45c950d7f2283292b49f8f6
refs/heads/master
2022-06-23T04:55:45.533426
2020-05-11T08:43:28
2020-05-11T08:43:28
263,059,736
1
0
null
2020-05-11T14:04:14
2020-05-11T14:04:14
null
UTF-8
Python
false
false
10,196
py
# this will clear the scene and try to execute the main.py code without # restarting the program from ursina import * import time import ast def is_valid_python(code): try: ast.parse(code) except Exception as e: return False, e return True def make_code_reload_safe(code): newtext = '' ...
[ "pokepetter@gmail.com" ]
pokepetter@gmail.com
ec3845d3725c32668b090a525fedd03874392291
6703d8773487ed98b7475333217a8d9576409a6e
/Django-Web-Service/backend/server/server/settings.py
e9fbde37e75f804b44ec6c7c0ba5388b02d7e60d
[]
no_license
flyingkiss/transfer-rec
ed32e982e5958dc4a3b59bbc32d51c2e85207a69
57fe7fe4c87c63e2f9278bcba352864f2ff3db2e
refs/heads/master
2022-11-10T08:30:49.987518
2020-06-26T14:46:13
2020-06-26T14:46:13
null
0
0
null
null
null
null
UTF-8
Python
false
false
3,194
py
""" Django settings for server project. Generated by 'django-admin startproject' using Django 2.2.4. For more information on this file, see https://docs.djangoproject.com/en/2.2/topics/settings/ For the full list of settings and their values, see https://docs.djangoproject.com/en/2.2/ref/settings/ """ import os # ...
[ "le_j6@denison.edu" ]
le_j6@denison.edu
47add1b80c17d6662b216c4c2b79cfb4b32a2c9f
518bf342bc4138982af3e2724e75f1d9ca3ba56c
/solutions/2134. Minimum Swaps to Group All 1's Together II/2134.py
47468c3c9282dcc91c5d2b1f97bd798f22299c82
[ "MIT" ]
permissive
walkccc/LeetCode
dae85af7cc689882a84ee5011f0a13a19ad97f18
a27be41c174565d365cbfe785f0633f634a01b2a
refs/heads/main
2023-08-28T01:32:43.384999
2023-08-20T19:00:45
2023-08-20T19:00:45
172,231,974
692
302
MIT
2023-08-13T14:48:42
2019-02-23T15:46:23
C++
UTF-8
Python
false
false
375
py
class Solution: def minSwaps(self, nums: List[int]) -> int: n = len(nums) k = nums.count(1) ones = 0 # Ones in window maxOnes = 0 # Max ones in window for i in range(n * 2): if i >= k and nums[i % n - k]: # Magic in Python :) ones -= 1 if nums[i % n]: ones += 1 ...
[ "me@pengyuc.com" ]
me@pengyuc.com
4e1d5ff35c040821809e0bf9666ed794b59e21ae
d802180534fe7964549db8757e6a23eb72a783ee
/rldock/voxel_policy/utils.py
94459ab6166c5749826fdaabe531de9c153ae058
[]
no_license
aclyde11/RLDock
da71ed0f4556340b44d409e2eaab5a6d9da823f0
eb4d838ff29f05ab2ebdcfa564ad8add96d34fa1
refs/heads/master
2020-08-28T17:33:10.652489
2020-04-16T02:43:36
2020-04-16T02:43:36
217,768,171
0
1
null
2020-04-16T02:43:37
2019-10-26T20:55:04
Python
UTF-8
Python
false
false
8,248
py
import numpy as np import tensorflow as tf import tensorflow.nn from stable_baselines.a2c.utils import linear, conv_to_fc def ortho_init(scale=1.0): """ Orthogonal initialization for the policy weights :param scale: (float) Scaling factor for the weights. :return: (function) an initialization functio...
[ "aclyde@uchicago.edu" ]
aclyde@uchicago.edu
fa4f920d92c70b0d7b9ecd52829d6f5554730e86
4ac6112000780b1310e0fe9570dac1fd866e00a1
/chap_8/8_6_city_names.py
31f7d5f563523b9f18cb987df8aef0a89865a140
[]
no_license
carlopeano/python_work
0ba780977166936cdfe69d890f2a9819536605e0
88f97d741a703b72ea23be4cbb9ba7ccfd35a132
refs/heads/main
2023-04-08T20:09:29.595339
2021-04-13T12:11:17
2021-04-13T12:11:17
352,375,437
0
0
null
null
null
null
UTF-8
Python
false
false
322
py
def city_country(city, country): """Return info about cities""" full_info = f"{city}, {country}" return full_info.title() city_info = city_country('brussels', 'belgium') print(city_info) city_info = city_country('rome', 'italy') print(city_info) city_info= city_country('berlin', 'germany') print(city_inf...
[ "carlo.peano@gmail.com" ]
carlo.peano@gmail.com
d36cfc0293a563cd02b9bb8a82da12aee2d6d9f9
6fa7f99d3d3d9b177ef01ebf9a9da4982813b7d4
/79tuQhjqs8fT7zKCY_2.py
35f41e833ae07202041575f4981d5dcb9296e507
[]
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
520
py
def postfix(s): stack_res = [] for i in s.split(): if i in ["*", "/", "+", "-"]: second = stack_res.pop() first = stack_res.pop() if i == "*": stack_res.append(first * second) elif i == "/": stack_res.append(first / second) elif i ...
[ "daniel.reich@danielreichs-MacBook-Pro.local" ]
daniel.reich@danielreichs-MacBook-Pro.local
238430364bfe83e65af676d0815a6eef0e234cab
7eb83ca46c99db4d167978688c9c660b215cd52c
/source/files/texas-death-penalty/code/standalone-scrapes/lastwords/single_page_basic.py
cde48810cba7a44bf3a1d897967f1e1736f46b94
[]
no_license
compjour/class-site-2016
ee58b197a494e599f6419833d988397d173d069b
0a0264d2fdeb812dfb198e4357dd7d693becfc39
refs/heads/master
2021-01-21T14:07:36.658189
2016-06-01T14:26:30
2016-06-01T14:26:30
54,937,133
2
5
null
null
null
null
UTF-8
Python
false
false
678
py
from bs4 import BeautifulSoup import requests SOURCE_URL = 'http://www.tdcj.state.tx.us/death_row/dr_info/wardadamlast.html' resp = requests.get(SOURCE_URL) soup = BeautifulSoup(resp.text, 'lxml') # get the node with the Last Statement content el = soup.find('p', text='Last Statement:') # all other subsequent siblin...
[ "dansonguyen@gmail.com" ]
dansonguyen@gmail.com
fab3d54ccbffc0ea8a0bb3bc5ce3373ae888fa5e
17c380fe1fee2d6dd7a249c506a6b8827c3d0417
/20/t20.py
0ff9f32095e119d443174f701c7ab7952ac0681d
[]
no_license
LubosKolouch/adventofcode_2019
b80f0603ee2a642c56def502b1575dde6e1f02b2
84d381f3ad416940de6c891ee095e1770f44c0bf
refs/heads/master
2023-02-06T14:08:30.962125
2020-12-28T08:04:54
2020-12-28T08:04:54
225,130,832
0
0
null
null
null
null
UTF-8
Python
false
false
3,333
py
#! python3 import sys from collections import defaultdict import networkx as nx grid = defaultdict(str) portals = defaultdict(str) inner_portals = defaultdict(str) # type: str outer_portals = defaultdict(str) # type: str start = end = None avoid_chars = [' ', '#', '.'] def process_portal_row(row, offset): ""...
[ "lubos@kolouch.net" ]
lubos@kolouch.net
76f19878c36e7a759fa378200efa53481bc8947c
e3b89fc928ed736b1cdf7067d71c0f5f7d9e3586
/format.py
411b586c8bec4598cc47ab72460d80c450287d9d
[]
no_license
tgadf/pymva
0b801277b27eb626ee61424e6ef24716087ba582
960127c880e61732db77c1049a5fe5ab9918e534
refs/heads/master
2020-04-02T19:27:38.956710
2018-10-30T00:10:29
2018-10-30T00:10:29
154,734,548
0
0
null
null
null
null
UTF-8
Python
false
false
2,860
py
#!/usr/bin/env python2 # -*- coding: utf-8 -*- """ Created on Thu Dec 28 09:15:42 2017 @author: tgadfort """ from logger import info from targetInfo import getProblemType, isRegression, isClassification from colInfo import isColumn, getDim from convertData import convertToBinaryInt, convertCategoricalToNumeric from f...
[ "tgadfort@gmail.com" ]
tgadfort@gmail.com
14440b9107b884717b7e8ce69eabc8056bf53539
614e9c089e4c81e7555b27169fa680ab559ab812
/samireland/urls.py
6ceb66002fd768be6360ace3dc2c4725ceb888b5
[]
no_license
svjeyaprakash/samireland.com
7e61d861f8e509a7f592d4710f2a33246bf14793
8d2646044f6945a4cd17f2a3417fc3562ed4ce43
refs/heads/master
2020-05-16T19:26:37.697765
2019-01-10T22:35:52
2019-01-10T22:35:52
null
0
0
null
null
null
null
UTF-8
Python
false
false
727
py
"""URL redirects for samireland.com""" from django.urls import path, include from django.conf.urls.static import static from django.contrib import admin import samireland.views as views from django.conf import settings urlpatterns = [ path(r"research/", views.research), path(r"research/<slug:id>/", views.publicatio...
[ "sam.ireland.uk@gmail.com" ]
sam.ireland.uk@gmail.com
e1ad81ad62da17410775082973c88550cbfec597
613d0766a36a0354ed8b7be4c8a552068afe5e71
/pseudo-code.py
2c3239574aab844c20fd5d7a54d1fbc48dc6558f
[]
no_license
HYLee1008/Python
e9fb2109ed29d11faa37b0a823e603134d85dc28
04900b6de1d56c11fbb98d518c9b4cdd37772490
refs/heads/master
2022-12-12T12:07:49.198551
2020-09-05T12:41:55
2020-09-05T12:41:55
280,879,627
0
0
null
null
null
null
UTF-8
Python
false
false
2,634
py
### DFS algorithm graph = { 1: [2, 3, 4], 2: [5], 3: [5], 4: [], 5: [6, 7], 6: [], 7: [3], } def recursive_dfs(v, discovered=[]): discovered.append(v) for w in graph[v]: if not w in discovered: discovered = recursive_dfs(w, discovered) return discovered def ...
[ "discone1008@gmail.com" ]
discone1008@gmail.com
4c755a86c7490bcec530ad52916d17c68dfd01f0
12fcd6e05a1dd359cbba94e76278dc53daa319f5
/src/cart/utils.py
0e4a8d7a9666133b075273b2dd2a04d660b583a5
[]
no_license
Raju-Pinnam/stacks
1b105c8e61b793f8ca06cf45371f67e586f7611c
a546a74b059140298b0d9d53f6e2ddb94c6c7028
refs/heads/master
2020-11-27T13:35:37.155907
2019-12-29T09:25:56
2019-12-29T09:25:56
229,464,675
0
0
null
null
null
null
UTF-8
Python
false
false
1,010
py
from django.core.exceptions import ValidationError from django.utils.translation import gettext_lazy as _ def m2m_cart_subtotal_receiver(sender, instance, action, *args, **kwargs): if action == 'post_add' or action == 'post_remove' or action == 'post_clear': products = instance.products.all() cart...
[ "pinnampadmaraju@gmail.com" ]
pinnampadmaraju@gmail.com
26a959637dbd2ffcd084996889478cb62e476f7b
6dbf099660ee82b72fb2526a3dc242d99c5fb8c8
/nuitka/tools/testing/Valgrind.py
5605bd8af5db01b40d12d24ae90f730146fe95e3
[ "Apache-2.0", "LicenseRef-scancode-warranty-disclaimer" ]
permissive
Hellebore/Nuitka
3544af691bc352769858ec1d44b6e9de46087bcf
252d8e5d24521f8fff38142aa66c6b9063151f57
refs/heads/develop
2021-01-06T15:33:49.111250
2020-02-18T14:24:49
2020-02-18T14:24:49
241,380,473
0
0
Apache-2.0
2020-07-11T17:52:04
2020-02-18T14:21:01
Python
UTF-8
Python
false
false
3,314
py
# Copyright 2020, Kay Hayen, mailto:kay.hayen@gmail.com # # Part of "Nuitka", an optimizing Python compiler that is compatible and # integrates with CPython, but also works on its own. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in complianc...
[ "kay.hayen@gmail.com" ]
kay.hayen@gmail.com
fb4f7265b662295ee22ff355b08dc7022698127a
aa609568e20281728abf68002bb203ab8916af2f
/articles/urls.py
b4a638dbcda5692d77566e3a6d4836272bc15707
[]
no_license
elucidate3003/blog-site
6b9b822982fa504447a452871b6075d378f089f7
b865fa247429eaf946d03fc4f32490fe9e345ed3
refs/heads/master
2020-11-28T18:21:03.951618
2019-12-23T13:08:34
2019-12-23T13:08:34
null
0
0
null
null
null
null
UTF-8
Python
false
false
177
py
from django.urls import path from . import views urlpatterns = [ path('', views.home, name="home"), path('article/<int:id>', views.each_article, name="each_article") ]
[ "ipriyank007@hotmail.com" ]
ipriyank007@hotmail.com
0294c3af69baab32bd3241fb2db0e06ef73291a5
9d1238fb0e4a395d49a7b8ff745f21476c9d9c00
/framework/Tests/PAS/PAS/RegressionManual/AutomationTesting/AutomationTesting/API/test_select_more_than_one_domains.py
feee3e4eeb7dc46c3438d35382fefc5fec5660b4
[]
no_license
jaspalsingh92/TestAutomation-1
a48ee1d3b73386f1bf8f53328a5b55444238e054
e631c67255b10f150e0012991fb1474ede904417
refs/heads/master
2023-04-18T14:52:08.836221
2021-04-07T12:01:07
2021-04-07T12:01:07
357,175,690
0
0
null
null
null
null
UTF-8
Python
false
false
2,191
py
import pytest import logging from Shared.API.sets import SetsManager from Utils.guid import guid from Shared.API.infrastructure import ResourceManager logger = logging.getLogger("test") @pytest.mark.pas @pytest.mark.bhavna @pytest.mark.pasapi def test_select_more_than_one_domain(core_session, domain_setup, cleanup_r...
[ "singh.jaspal92@gmail.com" ]
singh.jaspal92@gmail.com
02e58274a0c847365b5e89bae1383592880dcd06
2db6f646b23c1bdbdf0e6a7b9889725a7eda4e98
/test/functional/pruning.py
50465c9211988faa252511e972c8036ca8f10b5e
[ "MIT" ]
permissive
wolfoxonly/bwb
113964cbce9ae8ce048bfcd81437f7bcfdb22e11
aae01441cdc171ff7bbdc161b74b4eeb2f1b5a10
refs/heads/master
2021-04-30T08:00:28.465159
2018-05-21T14:47:53
2018-05-21T14:47:53
121,363,677
0
0
null
null
null
null
UTF-8
Python
false
false
21,282
py
#!/usr/bin/env python3 # Copyright (c) 2014-2017 The Bwbcoin Core developers # Distributed under the MIT software license, see the accompanying # file COPYING or http://www.opensource.org/licenses/mit-license.php. """Test the pruning code. WARNING: This test uses 4GB of disk space. This test takes 30 mins or more (up ...
[ "415313577@qq.com" ]
415313577@qq.com
ef00f35a09fae26c73acc4a3bf6ddd3b8db394bb
85a9ffeccb64f6159adbd164ff98edf4ac315e33
/pysnmp/CISCO-DSPU-MIB.py
4ff54a959842dcbdefc98782ff6e4554cbca795d
[ "Apache-2.0" ]
permissive
agustinhenze/mibs.snmplabs.com
5d7d5d4da84424c5f5a1ed2752f5043ae00019fb
1fc5c07860542b89212f4c8ab807057d9a9206c7
refs/heads/master
2020-12-26T12:41:41.132395
2019-08-16T15:51:41
2019-08-16T15:53:57
237,512,469
0
0
Apache-2.0
2020-01-31T20:41:36
2020-01-31T20:41:35
null
UTF-8
Python
false
false
46,117
py
# # PySNMP MIB module CISCO-DSPU-MIB (http://snmplabs.com/pysmi) # ASN.1 source file:///Users/davwang4/Dev/mibs.snmplabs.com/asn1/CISCO-DSPU-MIB # Produced by pysmi-0.3.4 at Mon Apr 29 17:38:58 2019 # On host DAVWANG4-M-1475 platform Darwin version 18.5.0 by user davwang4 # Using Python version 3.7.3 (default, Mar 27 2...
[ "dcwangmit01@gmail.com" ]
dcwangmit01@gmail.com
b4043cc9ab5a178b4814c54ee7f87ab82d028704
05040e0330db5f3baad1d987df46ac459f4be062
/setup.py
d192b61a3b20be48e1571a0e141632dcfc975549
[]
no_license
sgallet/pylight
d35e31fe6f34627e20bd490dcedef1740448e38a
717fd0aadd84b80182cabbf095950bf5e3cb0ff4
refs/heads/master
2020-05-20T16:19:04.249036
2014-01-20T23:09:49
2014-01-20T23:09:49
null
0
0
null
null
null
null
UTF-8
Python
false
false
291
py
from distutils.core import setup setup(name='pyLight', version='0.0', description='BSE enhancement tool', author='Jake Ross', author_email='jirhiker@gmail.com', scripts=['pylight'], packages=['src'], package_data={'src':['icons/*.png']} )
[ "jirhiker@gmail.com" ]
jirhiker@gmail.com
cd0e4fa7044b7b4f410129101b34eb37bb574df1
9c4e02ba5201794a4c5cbff548db1be7c87409c1
/venv/lib/python3.9/site-packages/transcriptic/jupyter/objects.py
23c3da9572cea7f26db20e2e5e336cd0402b96f4
[ "MIT", "Apache-2.0" ]
permissive
ClassWizard/PodLockParser
4faf4679d404158b3cf2b1ceb4faabca461b0008
84f6d3fced521849657d21ae4cb9681f5897b957
refs/heads/master
2022-12-23T20:39:48.096729
2022-02-08T09:49:01
2022-02-08T09:49:01
167,668,617
2
1
MIT
2022-12-14T10:01:41
2019-01-26T08:50:35
Python
UTF-8
Python
false
false
34,275
py
from __future__ import absolute_import from __future__ import print_function from builtins import object from builtins import str from copy import deepcopy from io import StringIO from operator import itemgetter from requests.exceptions import ReadTimeout import json import requests import warnings try: import pan...
[ "chenlongwei@camera360.com" ]
chenlongwei@camera360.com
808341c9a114a6895bf679a7ad32ed06fb1a77c2
f385a700cdc51a2f53bb4e009ec88c5c73914884
/Collision_py.py
34e32f27b38fd76e1ab0f97afd23326b27e92432
[]
no_license
kenygia/pyirrlicht
d2f7150dc7d14cec42d1ee7a1b06bd4d3838cb72
2fd3b3032cc4bcc6535e3636c2f2f5205052e77e
refs/heads/master
2020-05-01T16:10:42.842521
2013-04-06T19:14:33
2013-04-06T19:14:33
50,377,571
4
0
null
null
null
null
UTF-8
Python
false
false
5,473
py
from pyirrlicht import * ID_IsNotPickable = 0 IDFlag_IsPickable = 1 IDFlag_IsHighlightable = 2 #~ driverType = EDT_NULL #~ driverType = EDT_SOFTWARE #~ driverType = EDT_BURNINGSVIDEO #~ driverType = EDT_DIRECT3D8 driverType = EDT_DIRECT3D9 #~ driverType = EDT_OPENGL device = createDevice(driverType, dim...
[ "pyirrlicht@gmail.com" ]
pyirrlicht@gmail.com
128a16c6afe3b4209282e50563f2d040b3873f43
1afa1b1929d1cd463cd9970174dd58ce2ca6eb1e
/tests/test_models/test_backbones/test_vit.py
02fca1e69d0c1e3ef10e6ff993963c3adec9addf
[ "Apache-2.0" ]
permissive
CAU-HE/CMCDNet
2328594bf4b883384c691099c72e119b65909121
31e660f81f3b625916a4c4d60cd606dcc8717f81
refs/heads/main
2023-08-08T17:21:57.199728
2023-07-28T07:34:40
2023-07-28T07:34:40
589,927,845
12
1
null
null
null
null
UTF-8
Python
false
false
6,002
py
# Copyright (c) OpenMMLab. All rights reserved. import pytest import torch from mmseg.models.backbones.vit import VisionTransformer from .utils import check_norm_state def test_vit_backbone(): with pytest.raises(TypeError): # pretrained must be a string path model = VisionTransformer()...
[ "flyhxn@qq.com" ]
flyhxn@qq.com
b1f20caef65f2641a85e2f4323be2fd917280840
460fc67503ab2487dafe44145cbc0a7b91654d0a
/textmulclassify/lib/features_weight.py
fe8857f0e7129066057eafe954647ac5dc8b581d
[ "MIT" ]
permissive
lover2668/textmulclassify
3fbfdbd625d5d65597546c78c809a73fb1604e92
d6c577875cc7aac174783a711eca4994dba50287
refs/heads/master
2020-03-17T20:57:26.480331
2015-05-24T12:31:25
2015-05-24T12:31:25
null
0
0
null
null
null
null
UTF-8
Python
false
false
5,047
py
# -*- coding: utf-8 -*- # original author is @junchen , @liheng # refactored by @mvj3 import os import json from etl_utils import UnicodeUtils, cached_property, singleton from collections import defaultdict, Counter import jieba.posseg as posseg @singleton() class JIEBA_CLASS(object): def __init__(self): ...
[ "mvjome@gmail.com" ]
mvjome@gmail.com
8ab056bcefddbb92e2118e8caefeb5944ca77758
a430ecc74572bf6c7ff0ece3eef6a737a7b615a3
/Code/爬虫/Jobbole1/Jobbole/Jobbole/settings.py
725f104a7da75dbe298803c4a183f602d415645c
[]
no_license
wangxuyongkang/chengxuyuanhh
084e3ab086499a7fc18a477f0ef6234fa1eea152
15e1322dcc36de4f1d1e467525761746cadb58fa
refs/heads/master
2022-12-26T00:46:10.693454
2019-12-25T12:16:40
2019-12-25T12:16:40
230,065,182
1
0
null
2022-12-11T18:23:10
2019-12-25T07:54:47
HTML
UTF-8
Python
false
false
3,906
py
# -*- coding: utf-8 -*- # Scrapy settings for Jobbole 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/topic...
[ "2238366634@qq.com" ]
2238366634@qq.com
b69f0e7cd5a0ddf7bc03f8f9b99f9346d7b84fd0
3109ef94acf12638ab4133f0868528b3a29cb8c5
/characterCountRJ.py
b07e2ee449e53e5d319a0e3ef86184454d686624
[]
no_license
melihcanyardi/Automate-the-Boring-Stuff-with-Python
7cb4ff7a208c16039a439f26b1907b0ab7fad72d
293557b09d81c38746b25315734b978bc4cca499
refs/heads/main
2023-01-09T20:26:02.464728
2020-11-09T23:35:58
2020-11-09T23:35:58
311,487,451
0
1
null
null
null
null
UTF-8
Python
false
false
174,275
py
message = '''The Project Gutenberg EBook of Romeo and Juliet, by William Shakespeare This eBook is for the use of anyone anywhere at no cost and with almost no restrictions whatsoever. You may copy it, give it away or re-use it under the terms of the Project Gutenberg License included with this eBook or online at www...
[ "melihcanyardi@hotmail.com" ]
melihcanyardi@hotmail.com
72c6ddda13e7420812653abadfea5f6b224a531f
6e68584f2819351abe628b659c01184f51fec976
/Centre_College/CSC_339_SP2015/vindiniumAI/aStar2.py
e56f822153b35034680ec7cdf056423841ae085f
[ "WTFPL" ]
permissive
DanSGraham/code
0a16a2bfe51cebb62819cd510c7717ae24b12d1b
fc54b6d50360ae12f207385b5d25adf72bfa8121
refs/heads/master
2020-03-29T21:09:18.974467
2017-06-14T04:04:48
2017-06-14T04:04:48
36,774,542
0
0
null
null
null
null
UTF-8
Python
false
false
3,218
py
import math import Queue from Node import * import sys class AStar(object): #TODO #Change the board read #Make sure the search will stop if it runs out of nodes #board - a list of lists to represent the costs of each tile in y,x format #start - (y,x) coordinates for the start...
[ "dan.s.graham@gmail.com" ]
dan.s.graham@gmail.com
06c6bbe231cf8ed291c58b73f5f93f58d635ca20
2f63688febd21dc3ae6b19abfa79ad313c820154
/AlgoExpert/coding_interview_questions/Strings/Underscorify_Substring.py
f2216dacf360330746daf050e74f077d720c2980
[]
no_license
novayo/LeetCode
cadd03587ee4ed6e35f60294070165afc1539ac8
54d0b3c237e0ffed8782915d6b75b7c6a0fe0de7
refs/heads/master
2023-08-14T00:35:15.528520
2023-07-30T05:56:05
2023-07-30T05:56:05
200,248,146
8
1
null
2022-11-19T04:37:54
2019-08-02T14:24:19
Python
UTF-8
Python
false
false
541
py
''' main idea: merge interval time comp: O(nm) space comp: O(n) - where n is the length of the main string and m is the length of the substring ''' def underscorifySubstring(string, substring): # Write your code here. n = len(string) m = len(substring) matches = [] for i in range(n-m+1): if string[i:i+m] =...
[ "eric_shih@trendmicro.com" ]
eric_shih@trendmicro.com
2114c2313cd179a12b77cc6be4a50a1ff00f6940
f2a4a5e493ef87c1ae96d3e244461c03acd29de9
/manage.py
17fc1a969b1e2f573905a04b3b87572808cf8c40
[]
no_license
dani75i/API_DREEM
92dec16f3369dcdc763c957ccdc30575894d11cc
547479930f3534c8524d9b5716152d412c428872
refs/heads/master
2020-06-04T02:31:23.889819
2019-06-13T21:38:55
2019-06-13T21:38:55
191,835,928
0
0
null
null
null
null
UTF-8
Python
false
false
633
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', 'hellodjango_d.settings') try: from django.core.management import execute_from_command_line except ImportError as exc: raise ...
[ "you@example.com" ]
you@example.com
8463bd904ca4d98a7d89feb342fd1f1858e3b150
ea1bb1d4b3227fde47ce1ebf3aadef696f355642
/0x07-python-test_driven_development/3-main.py
943c8a2ee6cccecb15f87331bdda54bd05d2fbb9
[]
no_license
petehwu/holbertonschool-higher_level_programming
4f0b0ea76699a60f47cf3dcb0b2b29da35ec2ef1
3c1595d1011fcc3c0265f52a1b965e54f4edd94c
refs/heads/master
2021-07-13T18:41:06.413945
2019-02-22T05:33:14
2019-02-22T05:33:14
148,185,006
0
0
null
null
null
null
UTF-8
Python
false
false
435
py
#!/usr/bin/python3 say_my_name = __import__('3-say_my_name').say_my_name say_my_name("John", "Smith") say_my_name("Walter", "White") say_my_name("Bob") try: say_my_name(12, "White") except Exception as e: print(e) try: say_my_name("", "White") except Exception as e: print(e) try: say_my_name("Pete"...
[ "pete.h.wu@gmail.com" ]
pete.h.wu@gmail.com
27c0cbefa96c6935e84bd63b60de26a7db92e84a
a7c8b53e1df228f9f5f14e3fcd081a888ab820f6
/src/newsletter/views.py
6aafaffc519f95aacad9883bc985f0f114a66cb4
[]
no_license
senaeu/Django_PersonalEcommerce
4afece9480d861f0910fc7c407319db613441fb7
78239b345a9ddf056d8ee46d126e532297c582e6
refs/heads/master
2020-07-18T07:56:58.124857
2017-09-21T22:50:02
2017-09-21T22:50:02
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,089
py
from django.conf import settings from django.core.mail import send_mail from django.shortcuts import render from products.models import ProductFeatured, Product from .forms import ContactForm, SignUpForm from .models import SignUp # Create your views here. def home(request): title = 'Sign Up Now' featured_image = ...
[ "bekiyev@gmail.com" ]
bekiyev@gmail.com
05311c75b45de0aaa3be1cad750bcd1d8c8bec2b
5b34d998c7798b7cc1068680d89a977151c66c1a
/utils/div.py
1142790d22e3b93f22c9a3d76fff7c5eab59ed55
[]
no_license
Hanlen520/Hogwarts_11
e79a0de2508dd6801d46893271bcbc239edff3e8
805ee2586a25da1e710ba3acf63b5591dd76fcc6
refs/heads/master
2022-07-18T11:03:09.692778
2020-04-13T14:57:49
2020-04-13T14:57:49
null
0
0
null
null
null
null
UTF-8
Python
false
false
203
py
#!/usr/bin/env python3 #-*- coding: utf-8 -*- """ @Project : Hogwarts_11 @File : div.py @Time : 2019-12-25 07:33:55 @Author : indeyo_lin @Version : @Remark : """ def div(a, b): return a/b
[ "indeyo@git.com" ]
indeyo@git.com
25a62028f02d3e05f6166426100acc2acd92acd6
0ae8c7592a4e0b5c47f79a333e442db5f0c2b147
/proooo48.py
418e129f15d488a8cd63b63fda00b638eb68a800
[]
no_license
Rihanashariff/pythonscript
3ff350495f28533f65d209e3e2f2548f94828477
d0417d214e5f527e2a07895c5cf8e93715177034
refs/heads/master
2020-06-12T07:41:58.571425
2019-08-28T09:41:55
2019-08-28T09:41:55
194,235,397
0
2
null
null
null
null
UTF-8
Python
false
false
100
py
n4=input() n3=input() for i in range(0,len(n4)): if n4[i] in n3: print(i) break
[ "noreply@github.com" ]
Rihanashariff.noreply@github.com
0d9827cc2c4e74a5cab7cddbaaa640c017e18b09
2e682fd72e3feaa70e3f7bf2a3b83c50d783ec02
/PyTorch/contrib/cv/classification/ReidStrongBaseline/data/samplers/triplet_sampler.py
e461319175cd72b54621e158ac1776a32bf409e8
[ "Apache-2.0", "BSD-2-Clause", "MIT", "BSD-3-Clause", "LicenseRef-scancode-generic-cla", "LicenseRef-scancode-unknown-license-reference", "GPL-1.0-or-later" ]
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
7,384
py
# Copyright 2020 Huawei Technologies Co., Ltd # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to...
[ "wangjiangben@huawei.com" ]
wangjiangben@huawei.com
85da8d9ae2747edb97001d5b0747556d4e862318
4c83b4d7aca6bbcd15b922ad7314440fea7c9a70
/2020-08-04_p3_velocidade/script_matriz4a_2019-11-19.py
4519337c2ded989b4b927feb896d61f5b5c4382e
[]
no_license
poloplanejamento/odmatrix-joinville
63b60a85055700698cdb590c181e7c8a4d5c7361
be7ce0814fb9dad2d289cd836dde51baa9c0850d
refs/heads/main
2023-01-23T11:43:45.451126
2020-12-10T23:17:58
2020-12-10T23:17:58
320,402,809
0
0
null
null
null
null
UTF-8
Python
false
false
1,706
py
#!/bin/env python3 # Exporta origem e destino por data, velocidade, modo e commuting (bool.) from http.client import HTTPSConnection from base64 import b64encode import json import csv import pandas as pd projectID = "42" c = HTTPSConnection("api.odmatrix.app") userAndPass = b64encode(b"fe6b53f0280443d5bd40d5d30694f35...
[ "caiocco@gmail.com" ]
caiocco@gmail.com
47a7f586af4104cbfd7c2db8aa4169682f942232
6e1ea8d65052f025060453f66819ac446a7592d8
/archive/byte_190811_1.py
f09f0f888ac5394bf3bd7689eac41ad78e9fa29c
[]
no_license
csJd/oj-codes
bc38b79b9227b45d34139c84f9ef1e830f6b996c
2bd65d0070adc3400ee5bee8d1cf02a038de540b
refs/heads/master
2022-03-21T20:21:40.153833
2019-11-28T13:11:54
2019-11-28T13:11:54
47,266,594
2
0
null
null
null
null
UTF-8
Python
false
false
535
py
""" 3 5 0 6 0 7 0 59 6 59 6 0 """ def main(): # 80% passed n = int(input()) nz = list() for i in range(n): nz.append(tuple(map(int, input().split()))) x = int(input()) t_class = tuple(map(int, input().split())) nz.sort() ans = None for tup in nz: gap = (t_class[0...
[ "d.vay@qq.com" ]
d.vay@qq.com
43512fed8e9747b4d774584f4c1626c9fe2a2201
14d8adc86adc14c1d64a5550b1bbd5663e984545
/链条/remove_nth_node_from_end_of_list.py
28efb87400918a16be2ab7e120114600177d5812
[]
no_license
milllu/leetcode
e1b68ef7774cc0c1b49325ec1b87280d27570d94
458b3e72cd82a203b10bdca747c4c3ba85708f75
refs/heads/master
2020-03-30T23:41:46.180308
2018-10-11T01:08:31
2018-10-11T01:08:31
151,709,941
0
0
null
null
null
null
UTF-8
Python
false
false
899
py
# Definition for singly-linked list. # class ListNode(object): # def __init__(self, x): # self.val = x # self.next = None """ 给定一个链表,删除链表的倒数第 n 个节点,并且返回链表的头结点。 示例: 给定一个链表: 1->2->3->4->5, 和 n = 2. 当删除了倒数第二个节点后,链表变为 1->2->3->5. 说明: 给定的 n 保证是有效的。 进阶: 你能尝试使用一趟扫描实现吗? """ class Solution(object): ...
[ "3351440959@qq.com" ]
3351440959@qq.com
cab7606140815c0efdfd55acf9bfec75aa08f76c
a992d10d89a4aea6bc67cf36f2b4db18e542cf0c
/Facebook/onsite/goatLang.py
f6a80132fbb52cb47288d0556057618c8c9e1fac
[]
no_license
KeleiAzz/LeetCode
81f5ac3f0c722bbabbcce4f29809722c191a6850
3d82e6c402711057a95a6435fc29fbfcf2ee9c8f
refs/heads/master
2021-01-17T10:34:42.443543
2016-04-05T18:17:54
2016-04-05T18:17:54
41,068,167
0
0
null
null
null
null
UTF-8
Python
false
false
876
py
# coding=utf-8 def goatLang(line): ''' 规则:         1. vowel 开头的单词,要在单词后面加 ma         2. consonant 开头的单词,把这个 consonant 移动到单词末尾。         3. 所有的单词末尾都要加上一个 String,这个 String 在第一个单词后面是 a,第二个单词后面是 aa,以此类推。         ex:                 I speak Goat Latin -> Imaa peaksaa oatGaaa atinLaaaa :return: ''' words =...
[ "kgong@ncsu.edu" ]
kgong@ncsu.edu
ee9d84832f4e3b295005dda8de4b99ecba6b5464
ecd2aa3d12a5375498c88cfaf540e6e601b613b3
/Google/Pro418. Sentence Screen Fitting.py
0f2353dc1d920301e134165a70064a9291fb14ab
[]
no_license
YoyinZyc/Leetcode_Python
abd5d90f874af5cd05dbed87f76885a1ca480173
9eb44afa4233fdedc2e5c72be0fdf54b25d1c45c
refs/heads/master
2021-09-05T17:08:31.937689
2018-01-29T21:57:44
2018-01-29T21:57:44
103,157,916
0
0
null
null
null
null
UTF-8
Python
false
false
1,590
py
''' 题意: 需要思考这个题 给了一个rows*cols的屏幕和一个句子,要求找到如果把这个屏幕填满需要几个句子,要求句子每个词之间要空格,句子之间也要空格 思路: 3种case Case 1: “AB-CDE-F-….-YZ” (‘-’ denotes a space) reach to the space before F Case 2: “AB-CDE-F-…._YZ” (‘-’ denotes a space) reach to exactly E Case 3: “AB-CDE-F-….-YZ” (‘-’ denotes a space) reach to D case 1, I can count one mor...
[ "yoyinzyc@gmail.com" ]
yoyinzyc@gmail.com
c6d8ae4f0278e3fbaa714fad2d58e1d80166a5c6
e780a5bd72f98ca2513c993d64a85b08578166a6
/buildout-cache/eggs/Zope2-2.13.26-py2.7.egg/Zope2/utilities/fixheaders.py
cf973a47cd5016cd2f39c10a8de7ab5feaa4868d
[]
no_license
vedantc98/Plone-test
023246597ffe848e2a49b9f65742ff49127b190b
9fd520fc78481e2c0b9b7ec427821e7f961c777e
refs/heads/master
2021-03-30T22:14:33.368739
2018-03-11T19:22:58
2018-03-11T19:22:58
124,671,713
0
0
null
null
null
null
UTF-8
Python
false
false
811
py
# Script to fix the header files to ZPL 2.1 import os for dirpath, dirnames, filenames in os.walk('.'): for fname in filenames: base,ext = os.path.splitext(fname) if not ext in ('.py', '.c', '.h'): continue fullname = os.path.join(dirpath, fname) if '.svn' in fullname:...
[ "vedantc98@gmail.com" ]
vedantc98@gmail.com
6310e03f9593897396ce7d61b1f2a8b619803bbc
971e0efcc68b8f7cfb1040c38008426f7bcf9d2e
/tests/artificial/transf_RelativeDifference/trend_PolyTrend/cycle_12/ar_12/test_artificial_128_RelativeDifference_PolyTrend_12_12_100.py
0108c16007b8f4b1a816b26cae19398fc61e60fe
[ "BSD-3-Clause", "LicenseRef-scancode-unknown-license-reference" ]
permissive
antoinecarme/pyaf
a105d172c2e7544f8d580d75f28b751351dd83b6
b12db77cb3fa9292e774b2b33db8ce732647c35e
refs/heads/master
2023-09-01T09:30:59.967219
2023-07-28T20:15:53
2023-07-28T20:15:53
70,790,978
457
77
BSD-3-Clause
2023-03-08T21:45:40
2016-10-13T09:30:30
Python
UTF-8
Python
false
false
276
py
import pyaf.Bench.TS_datasets as tsds import tests.artificial.process_artificial_dataset as art art.process_dataset(N = 128 , FREQ = 'D', seed = 0, trendtype = "PolyTrend", cycle_length = 12, transform = "RelativeDifference", sigma = 0.0, exog_count = 100, ar_order = 12);
[ "antoine.carme@laposte.net" ]
antoine.carme@laposte.net
a056b210c5f2c7be4c986b4b34a12ac983131337
21b0b4c27193898207751c91b8b2ed168a1b1638
/py/py_0572_idempotent_matrices.py
89ed90ecd428c3d4bf6b2b3ef0517108683c3105
[ "MIT" ]
permissive
lcsm29/project-euler
67560a4e66968f1671a3d7ecf2dda6c956893dca
fab794ece5aa7a11fc7c2177f26250f40a5b1447
refs/heads/main
2023-07-04T11:45:24.374841
2021-08-07T08:20:41
2021-08-07T08:20:41
371,808,781
0
0
null
null
null
null
UTF-8
Python
false
false
645
py
# Solution of; # Project Euler Problem 572: Idempotent matrices # https://projecteuler.net/problem=572 # # A matrix $M$ is called idempotent if $M^2 = M$. Let $M$ be a three by three # matrix : $M=\begin{pmatrix} a & b & c\\ d & e & f\\ g &h &i\\\end{pmatrix}$. # Let C(n) be the number of idempotent three by three m...
[ "lcsm29@outlook.com" ]
lcsm29@outlook.com
1d4873106980bb1b1da5d36d908e12b70404f853
54f352a242a8ad6ff5516703e91da61e08d9a9e6
/Source Codes/AtCoder/abc095/B/4935385.py
4f81874951e75b8f453cc87a0509b7c049709097
[]
no_license
Kawser-nerd/CLCDSA
5cbd8a4c3f65173e4e8e0d7ed845574c4770c3eb
aee32551795763b54acb26856ab239370cac4e75
refs/heads/master
2022-02-09T11:08:56.588303
2022-01-26T18:53:40
2022-01-26T18:53:40
211,783,197
23
9
null
null
null
null
UTF-8
Python
false
false
116
py
N, X = map(int, input().split()) m = [int(input()) for i in range(N)] tmp = (X - sum(m)) // min(m) print(tmp + N)
[ "kwnafi@yahoo.com" ]
kwnafi@yahoo.com
ff4d5740d27077fa6460bc6e9751b97ea6840e45
39d71c1cc72ad6b6f28546ba1d89eefdd2fdd45a
/orders/serializers.py
c8033b3e755a0ca27289b04d6e314fe748ca9e86
[ "Apache-2.0" ]
permissive
belatrix/myinsurancebx
2404e86bf697e939265dac0d123ed3f614bc6196
5bfd44b9fc32d31e6246d9b59fcc87cd95cfef6b
refs/heads/master
2022-12-09T13:18:53.906789
2019-05-16T20:46:07
2019-05-16T20:46:07
162,326,545
0
0
Apache-2.0
2022-12-08T01:32:06
2018-12-18T17:56:19
Python
UTF-8
Python
false
false
1,162
py
from rest_framework import serializers from .models import Order, OrderStatus, Attachment, AutoRepairShop from users.serializers import UserSerializer class AttachmentSerializer(serializers.ModelSerializer): uploaded_by = UserSerializer() class Meta(object): model = Attachment fields = '__al...
[ "raulsergio9@gmail.com" ]
raulsergio9@gmail.com
a8471c96436b8d340ccae97919fee4cd470a9945
cc9c78742093a3ee39eab7af9064c903c8ded5a6
/tests/test_elsewhere.py
146ca5372b33f37c3be59b4c4ba6d167a0c2f0f7
[ "CC0-1.0", "LicenseRef-scancode-public-domain", "LicenseRef-scancode-unknown-license-reference" ]
permissive
Br3nda/www.gittip.com
9366b6f19dca6084b7cc179b50c9fe9c1a401bed
eaa9b93b12302b7e1778258726dce050a2aa5030
refs/heads/master
2021-01-21T01:11:46.788732
2013-01-15T10:28:55
2013-01-15T10:28:55
null
0
0
null
null
null
null
UTF-8
Python
false
false
503
py
from gittip.testing import tip_graph from gittip.elsewhere import github, twitter def test_github_resolve_resolves(): with tip_graph(('alice', 'bob', 1)): expected = 'alice' actual = github.resolve(u'alice') assert actual == expected, actual def test_twitter_resolve_resolves(): with ...
[ "chad@zetaweb.com" ]
chad@zetaweb.com
807deafd0d7c454c0c5d5e9c7dac1e81008abeff
4781d9293b59a5072647bb179195b143c60621bd
/프로그래머스/네트워크/네트워크.py
cd3e11db87aa5bd0640c0eb8563e87e29ad5ed52
[]
no_license
chriskwon96/Algorithm_codes
bf98131f66ca9c091fe63db68b220527800069c9
edb7b803370e87493dad4a38ee858bb7bb3fd31d
refs/heads/master
2023-08-15T18:48:26.809864
2021-10-12T13:43:21
2021-10-12T13:43:21
387,803,476
0
0
null
null
null
null
UTF-8
Python
false
false
489
py
def dfs(i, n, computers, checked): q = [computers[i]] while q: here = q.pop(0) for j in range(n): if here[j] == 1 and checked[j] == 0: q.append(computers[j]) checked[j] = 1 def solution(n, computers): checked = [0]*n cnt = 0 for i in range(n): if checked[i] == 0 : ...
[ "chriskwon96@naver.com" ]
chriskwon96@naver.com
fc06228ce1fd1ac3a755869f90574051fa9b4c7c
6e9d6a682f20054e13d3764e95b8bd3b7b64fabf
/dailychallenge168.py
335e75281435d6e926d2a29e87278ec55e30652e
[]
no_license
SeanyDcode/codechallenges
30a271e04bc2b360bca923ae868be65a9533c8db
947cf3034911b381afaf777794d22d2af06aa5ba
refs/heads/master
2022-11-07T21:22:56.927863
2022-10-18T23:33:13
2022-10-18T23:33:13
154,498,776
1
0
null
2022-10-18T23:02:05
2018-10-24T12:38:45
Python
UTF-8
Python
false
false
325
py
# from dailycodingproblem.com # # Daily Challenge #168 # Given an N by N matrix, rotate it by 90 degrees clockwise. # # For example, given the following matrix: # # [[1, 2, 3], # [4, 5, 6], # [7, 8, 9]] # you should return: # # [[7, 4, 1], # [8, 5, 2], # [9, 6, 3]] # Follow-up: What if you couldn't use any extra sp...
[ "noreply@github.com" ]
SeanyDcode.noreply@github.com
5d733205aee35149a43f437d2dfeb2ef5fd027ba
f216e59b93b026a00f838ddb616a3895476b6048
/lib/charm/openstack/tempest.py
59caff6cf3f6d996097cfaf87751a4dfb8074f35
[]
no_license
gnuoy/charm-tempest-reactive
815a39160cf40605ab7af8d3facc2490787acf3b
6ee250a94e4fd712bdfa6f591f18722586f8b59c
refs/heads/master
2020-12-24T18:14:02.517935
2016-05-11T17:49:14
2016-05-11T17:49:14
58,007,521
0
0
null
null
null
null
UTF-8
Python
false
false
12,278
py
import os import subprocess import time import glanceclient import keystoneclient.v2_0 as keystoneclient import neutronclient.v2_0.client as neutronclient import novaclient.v2 as novaclient import urllib import charm.openstack.charm as charm import charm.openstack.adapters as adapters import charmhelpers.core.hookenv...
[ "liam.young@canonical.com" ]
liam.young@canonical.com
c107ecd232d1c8671d3b8ad4542f362a2bd12638
6d8b9fc37f996dba879fe628535a8d9be1972f3b
/distributed/tests/test_pool.py
e163319de7edbb11e45aad09123a74b14a6c5207
[]
no_license
gridl/old-distributed2
5310c1045e965b20277fb30eb64ba01954b27651
1845c9508fbd218c89e536a6657f4361fe4e159e
refs/heads/master
2020-03-23T00:27:38.798588
2015-09-09T22:35:52
2015-09-09T22:35:52
null
0
0
null
null
null
null
UTF-8
Python
false
false
7,445
py
import asyncio from operator import add from queue import Queue from time import time from toolz import merge from distributed.center import Center from distributed.worker import Worker from distributed.pool import Pool, spawn_loop, divide_tasks, RemoteData from contextlib import contextmanager loop = asyncio.get_eve...
[ "mrocklin@gmail.com" ]
mrocklin@gmail.com
a349c3678226007c351c8a00a04292b92d392543
1d9138d777744fa2d9d6e3b629a43041f2358d06
/real_time/abc/118/A.py
e09a9b315cc768623c5e52bf232dc5ba1f9e42b7
[]
no_license
Yuyats/AtCoderAnswers
f1956b790ee64a4d0b3b48b98791a91679a30244
fac7e3eb74a888e77ba7a6b6a15d836c589baa3e
refs/heads/master
2021-06-24T16:19:45.848524
2021-06-13T03:51:07
2021-06-13T03:51:07
198,857,448
0
0
null
null
null
null
UTF-8
Python
false
false
813
py
import math, string, itertools, fractions, heapq, collections, re, array, bisect, sys, random, time, copy, functools sys.setrecursionlimit(10**7) inf = 10 ** 20 eps = 1.0 / 10**10 mod = 10**9+7 dd = [(-1, 0), (0, 1), (1, 0), (0, -1)] ddn = [(-1, 0), (-1, 1), (0, 1), (1, 1), (1, 0), (1, -1), (0, -1), (-1, -1)] def ...
[ "unitednum@gmail.com" ]
unitednum@gmail.com
f43348bd9cbf7629024ab6bb4241c2f236184b6c
9a9fb43d866dc8fd829211d2b47328ef1f5ed428
/ROS_CODE/catkin_ws/devel/lib/python2.7/dist-packages/reach_ros_node/__init__.py
44a0d855c2cd81174b194c8069b9abf2b6b61960
[]
no_license
droter/auto_mow
326df42a54676079cac61fe63c40d5d04beb049b
3742cb2ef78bc06d2771ac4c679e5110909774f8
refs/heads/master
2022-05-19T20:18:33.409777
2020-04-29T00:42:24
2020-04-29T00:42:24
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,027
py
# -*- coding: utf-8 -*- # generated from catkin/cmake/template/__init__.py.in # keep symbol table as clean as possible by deleting all unnecessary symbols from os import path as os_path from sys import path as sys_path from pkgutil import extend_path __extended_path = "/home/ubuntu/catkin_ws/src/reach_ros_node/src"....
[ "joshuatygert@gmail.com" ]
joshuatygert@gmail.com
590b48a52013d5982d571fe708e90d0af7bf37b8
a1615563bb9b124e16f4163f660d677f3224553c
/LI/lib/python3.8/site-packages/numpy/core/tests/test_numeric.py
a6c20abd1c34433a33feacdfb098ad2cbef6e8f8
[ "BSD-3-Clause", "GPL-3.0-or-later", "BSD-3-Clause-Open-MPI", "GPL-3.0-only", "GCC-exception-3.1", "MIT" ]
permissive
honeybhardwaj/Language_Identification
2a247d98095bd56c1194a34a556ddfadf6f001e5
1b74f898be5402b0c1a13debf595736a3f57d7e7
refs/heads/main
2023-04-19T16:22:05.231818
2021-05-15T18:59:45
2021-05-15T18:59:45
351,470,447
5
4
MIT
2021-05-15T18:59:46
2021-03-25T14:42:26
Python
UTF-8
Python
false
false
131,587
py
import sys import warnings import itertools import platform import pytest import math from decimal import Decimal import numpy as np from numpy.core import umath from numpy.random import rand, randint, randn from numpy.testing import ( assert_, assert_equal, assert_raises, assert_raises_regex, assert_array_equ...
[ "honey.bhardwaj.18cse@bmu.edu.in" ]
honey.bhardwaj.18cse@bmu.edu.in
397683f5b8a374bc847bd59644384b887fe68ee4
e748e6d96aace1c9149327f384e0de07d743715a
/arcade/core/uniqueDigitsProduct.py
345fd124f783cfcbf3620885098133b06395a826
[]
no_license
jorzel/codefights
cdfc4cb32261b064ffc605bfd927bf237885b5d2
28b62a2ae3809f0eb487198044c0fe74be09d4e8
refs/heads/master
2022-04-28T06:54:26.170503
2022-03-23T22:22:20
2022-03-23T22:22:20
110,818,719
3
1
null
null
null
null
UTF-8
Python
false
false
684
py
""" Easy Codewriting 300 Let's call product(x) the product of x's digits. Given an array of integers a, calculate product(x) for each x in a, and return the number of distinct results you get. Example For a = [2, 8, 121, 42, 222, 23], the output should be uniqueDigitProducts(a) = 3. Here are the products of the a...
[ "jaroslaw.orzel@emplocity.pl" ]
jaroslaw.orzel@emplocity.pl
f42d1dbbf4c9952c8b8449d25e36f9196ea14fd6
0d5d5d24328437592749cd35f96761df803c6e08
/arecibo/tests/api/config.py
c8f25b6705d00ed706adfede1780e6a761075d0f
[ "Apache-2.0" ]
permissive
Tehsmash/arecibo
3490355886735f3bee114daecaecd52477b01573
485d59c900fafa3498f2613d8dfc4683dd52bde8
refs/heads/master
2016-08-12T11:28:32.542326
2015-05-22T01:29:35
2015-05-22T16:39:50
36,045,147
0
0
null
null
null
null
UTF-8
Python
false
false
1,095
py
# Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, software # distributed under the...
[ "sam@code-smash.net" ]
sam@code-smash.net
23e5d7afcc5000fa6306dd772ff6ff47c5fb6659
84b0593a29129c35b76dbdf2b5cb27168ba12002
/accounts/admin.py
73868186466cdbdb19b074c44a174fde14ae7533
[]
no_license
KzZe-Sama/userapp
86d5fbcf35b63605ec67ada4c4f3e79fbc9d82cf
3ea7128fa1d74b903ec858e36a7b1cde37eee9aa
refs/heads/main
2023-06-27T16:43:39.551020
2021-07-30T10:24:06
2021-07-30T10:24:06
391,017,854
0
0
null
null
null
null
UTF-8
Python
false
false
192
py
from django.contrib import admin from accounts.models import User,Address,Phone # Register your models here. admin.site.register(User) admin.site.register(Address) admin.site.register(Phone)
[ "lilmisstreebox@gmail.com" ]
lilmisstreebox@gmail.com
c8515659c1bd187d9e6770f5ee64bd9bfec64339
ec35df4cc4543f20bd6a1d30f244f67873ecd261
/203.py
c1f516e29b88421fd41f8269bef3f6f841745f33
[]
no_license
timsergor/StillPython
02b6ddc3226cf8d27d8575ca36e75a19cfe6ac9d
84b3b37bc165b9daf83cca78d577b5a927e483ec
refs/heads/master
2020-05-24T09:34:14.819413
2020-04-19T13:35:06
2020-04-19T13:35:06
187,209,209
0
0
null
null
null
null
UTF-8
Python
false
false
858
py
# 917. Reverse Only Letters. Easy. 56.3%. # Given a string S, return the "reversed" string where all characters that are not a letter stay in the same place, and all letters reverse their positions. class Solution(object): def reverseOnlyLetters(self, S): """ :type S: str :rtype: str ...
[ "noreply@github.com" ]
timsergor.noreply@github.com
5046edc4b08ac822329b3eec8c8a5d0cd0db16b5
9f1b8a1ada57198e2a06d88ddcdc0eda0c683df7
/submission - Homework4/set2/ANDREW M DASKALAKIS_16891_assignsubmission_file_Homework4/plot.py
cedf5c9a9e6d2025057aa1b490f7b778368c14d6
[]
no_license
sendurr/spring-grading
90dfdced6327ddfb5c311ae8f42ae1a582768b63
2cc280ee3e0fba02e95b6e9f45ad7e13bc7fad54
refs/heads/master
2020-04-15T17:42:10.781884
2016-08-29T20:38:17
2016-08-29T20:38:17
50,084,068
0
0
null
null
null
null
UTF-8
Python
false
false
144
py
import matplotlib.pyplot as plt from math import * from numpy import * x = linspace(-pi,pi,100) F = exp(x**2)*sin(x) plt.plot(x,F) plt.show()
[ "sendurr@hotmail.com" ]
sendurr@hotmail.com
b5744cdd318f335b0680c2fae10b2884dcdefa9f
279cb78490a2e0ca61ec5bbb0dc6db64aef6bda2
/loop/strong number 1 to n.py
d7b2eadfc8aa52620db7b567c16337d456b2a94f
[ "MIT" ]
permissive
PraghadeshManivannan/Python
a160cb94c297e8fc2f2221d66e82f5ab0bf9fc66
7a42269c5f8cfd9178f1ed39ffc2afea1dd6c5aa
refs/heads/master
2021-03-21T22:00:32.032000
2020-03-27T16:31:59
2020-03-27T16:31:59
247,330,417
0
0
MIT
2020-03-18T18:30:02
2020-03-14T18:21:23
Python
UTF-8
Python
false
false
329
py
m = int(input("Enter the range:")) for i in range(1,m+1): q = i sum = 0 while i>0: fact = 1 n = i%10 for j in range(1,n+1): fact = fact * j sum += fact i = i//10 if q == sum: print(q,"is a strong number") else: continu...
[ "noreply@github.com" ]
PraghadeshManivannan.noreply@github.com
7362ed25c43690756b04c68eba82a4076db55b9f
a430ecc74572bf6c7ff0ece3eef6a737a7b615a3
/Code/爬虫/11day/Jobbole下午/Jobbole/items.py
78e31b3e7a5f509cb1d7982b28890b4923903fcb
[]
no_license
wangxuyongkang/chengxuyuanhh
084e3ab086499a7fc18a477f0ef6234fa1eea152
15e1322dcc36de4f1d1e467525761746cadb58fa
refs/heads/master
2022-12-26T00:46:10.693454
2019-12-25T12:16:40
2019-12-25T12:16:40
230,065,182
1
0
null
2022-12-11T18:23:10
2019-12-25T07:54:47
HTML
UTF-8
Python
false
false
710
py
# -*- coding: utf-8 -*- # Define here the models for your scraped items # # See documentation in: # https://doc.scrapy.org/en/latest/topics/items.html import scrapy #在这里定义想要获取的字段(类似model的作用) class JobboleItem(scrapy.Item): # define the fields for your item here like: # name = scrapy.Field() #title(标题) ...
[ "2238366634@qq.com" ]
2238366634@qq.com
6daf4466a25b683e69c4618b51c987eaf0432ecc
ca7aa979e7059467e158830b76673f5b77a0f5a3
/Python_codes/p03036/s723885648.py
f1e48baeec3ee8f972a0d1960c289b85ab44625c
[]
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
104
py
r, D, x = map(int, input().split()) for i in range(1,11): print(round(r**i * (x+D/(1-r)) - D/(1-r)))
[ "66529651+Aastha2104@users.noreply.github.com" ]
66529651+Aastha2104@users.noreply.github.com
a95184eff0df3674ba8b4bb5ccc765a9a12c0647
94f055c3911b4607672812f85b207d47d7dbe84d
/cms/forms.py
da29bf1f3e316030371f6aa38670e42da9b0b646
[]
no_license
NobuyukiInoue/django_sample_myapp
f3c9a0533c7be0fad72f29fbb25459d8cda995e9
dbc1e566151425ae536b52ad7e3bae626e5e5b19
refs/heads/master
2020-04-24T08:27:48.048263
2019-02-21T08:42:03
2019-02-21T08:42:03
171,831,544
0
0
null
null
null
null
UTF-8
Python
false
false
391
py
from django.forms import ModelForm from cms.models import Book from cms.models import Book, Impression class BookForm(ModelForm): """書籍のフォーム""" class Meta: model = Book fields = ('name', 'publisher', 'page', ) class ImpressionForm(ModelForm): """感想のフォーム""" class Meta: model =...
[ "gx3n-inue@asahi-net.or.jp" ]
gx3n-inue@asahi-net.or.jp
702c19bd40e55af23a4cf26d504e668474bf4ca2
895a6bdccb009d4a12d0cf3187f8b7eec8231b98
/redis_lib/redis_lib.py
63ae6fd3db491abd174d9589fc99e84f6f2d1ef5
[]
no_license
luke202001/supervisor_admin_web
d1022ddffad6702f3b21a613203c44aa857cdb00
176ee2691cb765896b7d05220c666b1c46c88aa4
refs/heads/master
2020-06-02T22:14:10.866752
2017-09-25T03:00:21
2017-09-25T03:00:21
null
0
0
null
null
null
null
UTF-8
Python
false
false
4,602
py
#!/usr/bin/env python # coding=utf-8 from __future__ import division import redis, time import sys, os import socket from pprint import pprint from collections import OrderedDict try: from ConfigParser import ConfigParser except ImportError: from configparser import ConfigParser # 获取当前路径 curr_dir = os.path....
[ "pl01665077@163.com" ]
pl01665077@163.com
a9b25d1d6c63aebc7a5e832bf8e8a833253faeb0
8c8ce64682606f822fd443160fac704803f341fd
/market_XBTU18_okex/util/signTool.py
7ae1347f390e85059d7324eb4d75175b7351f8cf
[]
no_license
yousda/okex_robot_ubuntuserver
ebc478837135630e378cde8428edb0a49fcec0f3
6e8dcf2cc8c52286d9a25f44b03c085b284e2f71
refs/heads/master
2020-04-10T21:44:23.028868
2018-08-26T20:02:13
2018-08-26T20:02:13
null
0
0
null
null
null
null
UTF-8
Python
false
false
3,848
py
#!/usr/bin/python # -*- coding: utf-8 -*- # encoding: utf-8 import sys from sys import version_info if version_info.major < 3: reload(sys) sys.setdefaultencoding('utf-8') import json import os import hashlib import json import time import platform def getSysType(): sysSystem = platform.system...
[ "fengmm521@gmail.com" ]
fengmm521@gmail.com
499eabece8fab5f177eb1634ac3f6bdaf10a55b3
be0f3dfbaa2fa3d8bbe59229aef3212d032e7dd1
/Gauss_v45r9/Gen/DecFiles/options/13296205.py
2594a4004ed55cbbb956ceaa26d3ad14a1346ece
[]
no_license
Sally27/backup_cmtuser_full
34782102ed23c6335c48650a6eaa901137355d00
8924bebb935b96d438ce85b384cfc132d9af90f6
refs/heads/master
2020-05-21T09:27:04.370765
2018-12-12T14:41:07
2018-12-12T14:41:07
185,989,173
0
0
null
null
null
null
UTF-8
Python
false
false
1,951
py
# file /home/hep/ss4314/cmtuser/Gauss_v45r9/Gen/DecFiles/options/13296205.py generated: Fri, 27 Mar 2015 16:10:14 # # Event Type: 13296205 # # ASCII decay Descriptor: [B_s0 -> (D*_s+ -> gamma/pi0 (D_s+ -> K+ K- pi+)) (D*_s- -> gamma/pi0 (D_s- -> K- K+ pi-))]cc # from Gaudi.Configuration import * importOptions( "$DECFIL...
[ "slavomirastefkova@b2pcx39016.desy.de" ]
slavomirastefkova@b2pcx39016.desy.de
0c855900a3677e51b1e6f4e29dcd7e1ff0085adc
16e69196886254bc0fe9d8dc919ebcfa844f326a
/edc/device/sync/views/index.py
258c810fa4d19bebefe779d15a9ec7265655ee3d
[]
no_license
botswana-harvard/edc
b54edc305e7f4f6b193b4498c59080a902a6aeee
4f75336ff572babd39d431185677a65bece9e524
refs/heads/master
2021-01-23T19:15:08.070350
2015-12-07T09:36:41
2015-12-07T09:36:41
35,820,838
0
0
null
null
null
null
UTF-8
Python
false
false
687
py
import socket from django.contrib.auth.decorators import login_required from django.shortcuts import render_to_response from django.template import RequestContext from ..models import Producer, OutgoingTransaction @login_required def index(request, **kwargs): selected_producer = kwargs.get('selected_producer', ...
[ "ew2789@gmail.com" ]
ew2789@gmail.com
1748f51926801c0beae0c437bc6fda065695420f
673e829dda9583c8dd2ac8d958ba1dc304bffeaf
/data/multilingual/Latn.CHA/Serif_12/pdf_to_json_test_Latn.CHA_Serif_12.py
a4a2e9e9caf44853650cfe52d4d01aa1ff12d382
[ "BSD-3-Clause" ]
permissive
antoinecarme/pdf_to_json_tests
58bab9f6ba263531e69f793233ddc4d33b783b7e
d57a024fde862e698d916a1178f285883d7a3b2f
refs/heads/master
2021-01-26T08:41:47.327804
2020-02-27T15:54:48
2020-02-27T15:54:48
243,359,934
2
1
null
null
null
null
UTF-8
Python
false
false
305
py
import pdf_to_json as p2j import json url = "file:data/multilingual/Latn.CHA/Serif_12/udhr_Latn.CHA_Serif_12.pdf" lConverter = p2j.pdf_to_json.pdf_to_json_converter() lConverter.mImageHashOnly = True lDict = lConverter.convert(url) print(json.dumps(lDict, indent=4, ensure_ascii=False, sort_keys=True))
[ "antoine.carme@laposte.net" ]
antoine.carme@laposte.net
3b69ddbc7e1cda92ca5c6b92522e7ac441c5b104
e456367e6728e767c8e3d5ff11392f0f21a37190
/access_controller/apps.py
36591e0d45d51dda3d345ec75b366263ff1baad1
[ "LicenseRef-scancode-other-permissive" ]
permissive
epu-ntua/bdo_platform
1cd76312479516f6af9bd63ed69a14aea82a0b8c
336de07c6ed14290c54f2154117dbf90a187e4ea
refs/heads/master
2021-06-20T23:04:30.322689
2019-10-11T14:35:25
2019-10-11T14:35:25
90,150,962
2
3
MIT
2019-07-03T16:41:25
2017-05-03T13:17:05
HTML
UTF-8
Python
false
false
169
py
# -*- coding: utf-8 -*- from __future__ import unicode_literals from django.apps import AppConfig class FeedbackFormConfig(AppConfig): name = 'access_controller'
[ "gtsapelas@epu.ntua.gr" ]
gtsapelas@epu.ntua.gr
6c54732eee0371c6127340d849b935df187df86d
dd323d2534f8e6d5fc10da026d75f82f5c2bd93f
/test/frog.py
3c1b26838a937dbd3ab5bc94fd20e61557bec2f1
[]
no_license
rec/radio
f82ad8e4d14ce2f8904d46457c35f6bbf31a872a
f542ff96f1123fee318bfce8275875656757eea0
refs/heads/master
2020-05-19T20:47:53.981381
2013-08-19T21:22:03
2013-08-19T21:22:03
3,213,673
2
0
null
null
null
null
UTF-8
Python
false
false
18
py
def f(): x = 1
[ "tom@swirly.com" ]
tom@swirly.com
6970d3063fc2967029917042695f61559d725d87
bc441bb06b8948288f110af63feda4e798f30225
/ops_automation_sdk/model/flow/flow_instance_pb2.py
4961bd39b0b4cdc1b0dad965a266b338d362fc61
[ "Apache-2.0" ]
permissive
easyopsapis/easyops-api-python
23204f8846a332c30f5f3ff627bf220940137b6b
adf6e3bad33fa6266b5fa0a449dd4ac42f8447d0
refs/heads/master
2020-06-26T23:38:27.308803
2020-06-16T07:25:41
2020-06-16T07:25:41
199,773,131
5
0
null
null
null
null
UTF-8
Python
false
true
29,792
py
# -*- coding: utf-8 -*- # Generated by the protocol buffer compiler. DO NOT EDIT! # source: flow_instance.proto import sys _b=sys.version_info[0]<3 and (lambda x:x) or (lambda x:x.encode('latin1')) from google.protobuf import descriptor as _descriptor from google.protobuf import message as _message from google.protob...
[ "service@easyops.cn" ]
service@easyops.cn
f8e94fc4c40c912003391ab65cdd5de0a029e27e
50948d4cb10dcb1cc9bc0355918478fb2841322a
/azure-servicefabric/azure/servicefabric/models/int64_range_partition_information_py3.py
fe7715692037b9c6bb710f2eeb4d08f04bf26bbe
[ "MIT" ]
permissive
xiafu-msft/azure-sdk-for-python
de9cd680b39962702b629a8e94726bb4ab261594
4d9560cfd519ee60667f3cc2f5295a58c18625db
refs/heads/master
2023-08-12T20:36:24.284497
2019-05-22T00:55:16
2019-05-22T00:55:16
187,986,993
1
0
MIT
2020-10-02T01:17:02
2019-05-22T07:33:46
Python
UTF-8
Python
false
false
2,103
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 ...
[ "lmazuel@microsoft.com" ]
lmazuel@microsoft.com
0561e9465d287a9e801dae9563646e755915562f
5a175e183a7e172f429cd74f42d50369103f47cf
/addsol-customizations/addsol_resource/__init__.py
3f9d8b170803fa3cf7ec4e8ab5608c71635e201b
[]
no_license
additionsolutions/Ujjvala
330ae5044fa3a0567f3423a4f58d8bc92843ca18
a742ff24c46f2cc1cb64aacaa8166b0877ea8a6c
refs/heads/master
2021-01-20T19:57:57.776057
2016-06-10T04:56:49
2016-06-10T04:56:49
60,768,091
0
0
null
null
null
null
UTF-8
Python
false
false
1,113
py
# -*- coding: utf-8 -*- ############################################################################## # # OpenERP, Open Source Management Solution # Copyright (C) 2015-2016 Addition IT Solutions Pvt. Ltd. (<http://www.aitspl.com>). # # This program is free software: you can redistribute it and/or modify # ...
[ "odoo@aitspl.com" ]
odoo@aitspl.com
b0e56b0f49632e62166db5f439137300ea3d7804
7d84b3a4cbf51e8151b96a0a618040af793813ce
/sfc_models/examples/scripts/build_SIM_model.py
a4264e72c9ad3fe5dd81fb26d4db207f21be269a
[ "Apache-2.0" ]
permissive
benfitzg/SFC_models
ab8bd546de7af9ef4317c86d240728f698fef9c2
a9c4c9fad83794357def99f0946dd0e9fc6da17a
refs/heads/master
2020-05-01T14:06:21.897432
2019-03-24T17:39:50
2019-03-24T17:39:50
177,510,445
0
0
Apache-2.0
2019-03-25T03:50:34
2019-03-25T03:50:34
null
UTF-8
Python
false
false
2,280
py
""" build_SIM_model.py Build the classic SIM model (G&L Chapter 3) using sfc_model classes. Copyright 2016 Brian Romanchuk 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.or...
[ "brianr747@gmail.com" ]
brianr747@gmail.com
deeee08b921976b30fe9d78da2195fe5113ad5e6
0e1e643e864bcb96cf06f14f4cb559b034e114d0
/Exps_7_v3/doc3d/I_w_M_to_Wxyz_focus_Z_ok/pyr_Tcrop256_pad60_jit15/pyr_2s/L8/step11_L2345678.py
f1ae844b88847b9a529d1aed1091f357adeb8a80
[]
no_license
KongBOy/kong_model2
33a94a9d2be5b0f28f9d479b3744e1d0e0ebd307
1af20b168ffccf0d5293a393a40a9fa9519410b2
refs/heads/master
2022-10-14T03:09:22.543998
2022-10-06T11:33:42
2022-10-06T11:33:42
242,080,692
3
0
null
null
null
null
UTF-8
Python
false
false
5,014
py
############################################################################################################################################################################################################# ##################################################################################################################...
[ "s89334roy@yahoo.com.tw" ]
s89334roy@yahoo.com.tw
6b5d4ced01da66c7761c2a3da79b2091ce138684
872cd13f25621825db0c598268ecd21b49cc2c79
/Lesson_13/client/client_database.py
751f0ceafecf97a97b5268894ccfb48d0dc25ddc
[]
no_license
ss2576/client_server_applications_Python
c4e9ebe195d23c8ca73211894aa50a74014013d5
9b599e37e5dae5af3dca06e197916944f12129d5
refs/heads/master
2022-12-15T10:40:22.935880
2020-08-12T11:02:21
2020-08-12T11:02:21
271,764,749
0
0
null
2020-06-12T10:05:00
2020-06-12T09:52:03
Python
UTF-8
Python
false
false
2,817
py
import logging from datetime import datetime from sqlalchemy import create_engine, Column, Integer, String, DateTime from sqlalchemy.ext.declarative import declarative_base from sqlalchemy.orm import sessionmaker import logs.client_log_config as log_config from common.decorators import transaction from common.metacla...
[ "ss2576@mail.ru" ]
ss2576@mail.ru
a49bb31227640218b290210dd175560793647c0c
b31e7898aa5131125f243eaff973049b17e08512
/.venv/lib/python3.10/site-packages/lazy_object_proxy/_version.py
61dd8da5f4f414b89aad8f8b90401f7a732f0471
[]
no_license
ramsred/MyProjects
f2978eeda3d73421daf0da9f2d012caef6c3ccda
a7f90ef1ecfbc7517be61e71286bd14405985de5
refs/heads/master
2023-07-09T03:19:17.683705
2023-07-02T19:30:19
2023-07-02T19:30:19
71,980,729
0
0
null
null
null
null
UTF-8
Python
false
false
160
py
# file generated by setuptools_scm # don't change, don't track in version control __version__ = version = '1.9.0' __version_tuple__ = version_tuple = (1, 9, 0)
[ "venkataramireddy534@gmail.com" ]
venkataramireddy534@gmail.com
12920d1ef7f6fe4a704c381249d6210edcf820a4
3fe361cb8999b9efa39be9f474a43ae3717c38fc
/Leecode/leetcode500.py
e18733ff33908f3cbb522a8ce0ec5cf22fcf2428
[]
no_license
sjhhh3/Leetcode
bbacd124dcd165ae20f61ec165dce634ca75264d
85b88da4aad86f86bff5c13de12e13069cda604f
refs/heads/master
2021-01-02T04:13:35.914889
2019-03-12T17:31:18
2019-03-12T17:31:18
98,950,913
0
0
null
null
null
null
UTF-8
Python
false
false
391
py
words = ["Hello", "Alaska", "Dad", "Peace"] res = [] dic = {} for i in 'qwertyuiop': dic[i] = 1 for i in 'asdfghjkl': dic[i] = 2 for i in 'zxcvbnm': dic[i] = 3 for word in words: take = 1 row = dic[word.lower()[0]] for letter in word[1:]: if dic[letter.lower()] != row: take...
[ "sjhhh33@gmail.com" ]
sjhhh33@gmail.com
2ac4d6b6d8e4acedf2d5fea0b8e8d532eec0861b
9b1446b26e81a79c303f9799fb6a91785c7adb03
/.history/Code/linkedlist_20200202001338.py
1b099b5877af90188813dce82e019a6aa0d0ddbc
[]
no_license
SamirIngley/CS1.2-Tweet-Gen
017ea15b1113881a156ff24682828bc654eb6c81
bcd95fa63e05849cbf8e36230d8e31032b99daaa
refs/heads/master
2020-12-14T20:19:57.733290
2020-08-04T23:19:23
2020-08-04T23:19:23
234,856,234
0
0
null
2020-06-05T21:13:04
2020-01-19T07:05:55
Python
UTF-8
Python
false
false
7,198
py
#!python class Node(object): def __init__(self, data): """Initialize this node with the given data.""" self.data = data self.next = None def __repr__(self): """Return a string representation of this node.""" return 'Node({!r})'.format(self.data) class LinkedList(obj...
[ "samir.ingle7@gmail.com" ]
samir.ingle7@gmail.com
d2b05ac8e72c8c8e54356b1510019a912776e220
31c76d31fe5d5f299931599f7aabb74e4b821050
/wxmplot/imagematrixframe.py
e4d5420466225d0506f7a6ce865b0b79d170b02a
[ "MIT" ]
permissive
skunk69/wxmplot
6e9626f3877054598d6f07c3645aa7e71dbdcfb0
6e197e0771945854e99cd042e9ec43ef04ce7542
refs/heads/master
2023-04-02T00:07:06.571127
2021-04-08T21:31:36
2021-04-08T21:31:36
null
0
0
null
null
null
null
UTF-8
Python
false
false
20,187
py
#!/usr/bin/python ## ## Image Matrix Frame: 2 correlated images in a 2x2 grid: # # +-------------+--------------+ # | | | # | mage1 | image 1+2 | # | | | # +-------------+--------------+ # | | | # | correlat...
[ "newville@cars.uchicago.edu" ]
newville@cars.uchicago.edu
bc29ed8ff1e7c617f01d380ae83b4f64cee3dfcc
916480ae24345193efa95df013f637e0a115653b
/web/transiq/authentication/migrations/0002_auto_20170511_0046.py
092cf945c5526956bf53b89fe1349a489968327a
[ "Apache-2.0" ]
permissive
manibhushan05/tms
50e289c670e1615a067c61a051c498cdc54958df
763fafb271ce07d13ac8ce575f2fee653cf39343
refs/heads/master
2022-12-11T07:59:30.297259
2021-09-08T03:24:59
2021-09-08T03:24:59
210,017,184
0
0
Apache-2.0
2022-12-08T02:35:01
2019-09-21T16:23:57
Python
UTF-8
Python
false
false
458
py
# -*- coding: utf-8 -*- # Generated by Django 1.10.5 on 2017-05-11 00:46 from __future__ import unicode_literals from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('authentication', '0001_initial'), ] operations = [ migrations.AlterField( ...
[ "mani@myhost.local" ]
mani@myhost.local
646ea0c6a460a921d653ba2c48cd3900160c1149
a6398ab39920a1ba1199b9235da1868ef44b60f1
/ATh/contacts_a_910.py
93069b9f6490092ffb785cea6c229457e6deb6c7
[]
no_license
ptyork/au-aist2120-20fa
30fda305b35da9bd7ae0fa74a1dd95ba6f90c20b
bba3d3ef7164336a39663525d83b9344ce7cd3ed
refs/heads/master
2023-01-13T15:21:20.710180
2020-11-19T19:51:17
2020-11-19T19:51:17
288,828,084
0
0
null
null
null
null
UTF-8
Python
false
false
3,911
py
# import pprint # pprint.pprint() # from pprint import pprint # pprint() from pprint import pprint as pp # ALIAS pprint to pp # pp() # contacts = [] contacts = [ 'John,555-1212', 'Paul,555-1313', 'George,555-1414', 'Ringo,555-1515' ] ''' name: get_int_in_range params: prompt (string) ...
[ "paul@yorkfamily.com" ]
paul@yorkfamily.com
6c4b0e4058cd371870798b9cf20389dc772b6407
2f98aa7e5bfc2fc5ef25e4d5cfa1d7802e3a7fae
/python/python_9924.py
e1e9afebc2e6df1a35a5a8fabc793599592121e3
[]
no_license
AK-1121/code_extraction
cc812b6832b112e3ffcc2bb7eb4237fd85c88c01
5297a4a3aab3bb37efa24a89636935da04a1f8b6
refs/heads/master
2020-05-23T08:04:11.789141
2015-10-22T19:19:40
2015-10-22T19:19:40
null
0
0
null
null
null
null
UTF-8
Python
false
false
99
py
# Python: most effcient way to strip line from text file glines = (line.strip() for line in lines)
[ "ubuntu@ip-172-31-7-228.us-west-2.compute.internal" ]
ubuntu@ip-172-31-7-228.us-west-2.compute.internal
91eebd4215d7268107c8716e63562981487c7f43
92b3ef25a80ba58d0fcfa288001a7455106089a1
/tests/pools/test_pool_config.py
2e95fcb2afcdc9f4fe934792648473186e119761
[ "Apache-2.0" ]
permissive
mikando/salvia-blockchain
bb97b7b52277c683c48fcad9a4697ea89e514c47
02181d0b5a063374f01eea951570dbc661bddc34
refs/heads/main
2023-08-26T15:50:48.931823
2021-11-07T21:57:27
2021-11-07T21:57:27
408,143,294
0
0
Apache-2.0
2021-09-19T14:32:22
2021-09-19T14:04:37
Python
UTF-8
Python
false
false
1,706
py
# flake8: noqa: E501 from pathlib import Path from blspy import AugSchemeMPL, PrivateKey from salvia.pools.pool_config import PoolWalletConfig from salvia.util.config import load_config, save_config, create_default_salvia_config def test_pool_config(): test_root = Path("/tmp") test_path = Path("/tmp/config"...
[ "contact@salvianetwork.net" ]
contact@salvianetwork.net
771ad3618f7d3331046a9e746f17fb921d13f60b
723ea3f47a45fe756c4a77809eb2a4d6b98bc733
/crackfun/cc150/char1.py
fc14d3c1171f3f2892be507716f4e6c9dd3009cd
[]
no_license
JoyiS/Leetcode
a625e7191bcb80d246328121669a37ac81e30343
5510ef424135783f6dc40d3f5e85c4c42677c211
refs/heads/master
2021-10-21T05:41:00.706086
2019-03-03T06:29:14
2019-03-03T06:29:14
110,296,869
0
0
null
null
null
null
UTF-8
Python
false
false
1,025
py
def remove_repeat(str): if len(str) < 2: return str count = 0 for i in range(0, len(str)): a = str[count] if a in str[count+1:]: str = str[:count]+str[count+1:] else: count = count+1 return str def is_anagrams(str1, str2): if sorted(list(str1...
[ "california.sjy@gmail.com" ]
california.sjy@gmail.com
b97e3a66b3f6a55d703adf9f074ac69016043a34
54013aa075a5c2344aaab078806a1bb40b83be03
/src/greenmine/views/export.py
511d5d7f576bf6c6b56085f8acca4f6f3a64e4fb
[ "BSD-3-Clause", "BSD-2-Clause" ]
permissive
superalex/Green-Mine
2c46898353c0d57dc2a042f6e49f88c88499e1ea
5eba889e26b21dfc626bb138b2cb4f372b252759
refs/heads/master
2021-01-18T10:30:13.631062
2012-05-12T16:07:48
2012-05-12T16:07:48
null
0
0
null
null
null
null
UTF-8
Python
false
false
10,683
py
# -*- coding: utf-8 -*- from django.conf import settings from django.http import HttpResponseRedirect, HttpResponse from django.core.cache import cache from django.core.urlresolvers import reverse from django.core.mail import EmailMessage from django.shortcuts import get_object_or_404 from django.template.loader import...
[ "niwi@niwi.be" ]
niwi@niwi.be
fcdde192c108b58312767c6939d1225fccf680be
ca7aa979e7059467e158830b76673f5b77a0f5a3
/Python_codes/p03448/s713382080.py
b231151cc42766127d106eb1f14f76cad2b744b3
[]
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
536
py
# import numpy as np A_init = 500 B_init = 100 C_init = 50 A_n = int(input()) B_n = int(input()) C_n = int(input()) X = int(input()) cnt = 0 for a in range(A_n+1): if A_init * a <= X: for b in range(B_n+1): if (A_init * a + B_init * b) <= X: for c in range(C_n+1): ...
[ "66529651+Aastha2104@users.noreply.github.com" ]
66529651+Aastha2104@users.noreply.github.com
719399a32249b4de50d9c274275470466db34e48
5a281cb78335e06c631181720546f6876005d4e5
/keystone-15.0.0/keystone/common/rbac_enforcer/enforcer.py
8b22e21bd67c85b2f78ae38da560841dd487eb65
[ "Apache-2.0" ]
permissive
scottwedge/OpenStack-Stein
d25b2a5bb54a714fc23f0ff0c11fb1fdacad85e8
7077d1f602031dace92916f14e36b124f474de15
refs/heads/master
2021-03-22T16:07:19.561504
2020-03-15T01:31:10
2020-03-15T01:31:10
247,380,811
0
0
Apache-2.0
2020-03-15T01:24:15
2020-03-15T01:24:15
null
UTF-8
Python
false
false
18,904
py
# Licensed under the Apache License, Version 2.0 (the "License"); you may # not use this file except in compliance with the License. You may obtain # a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, software # distributed under t...
[ "Wayne Gong@minbgong-winvm.cisco.com" ]
Wayne Gong@minbgong-winvm.cisco.com
86f0557b760fb206e5537a78dd17c4bf09264ac6
ca7aa979e7059467e158830b76673f5b77a0f5a3
/Python_codes/p03545/s806766868.py
bb13bad23bb56d32ca71d1f349aad506776bf2eb
[]
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
267
py
def make7(i, f, sum): if i == 3: if sum == 7: print(f + "=7") exit() else: make7(i+1, f+"+"+S[i+1], sum+int(S[i+1])) make7(i+1, f+"-"+S[i+1], sum-int(S[i+1])) S = input() n = len(S) make7(0, S[0], int(S[0]))
[ "66529651+Aastha2104@users.noreply.github.com" ]
66529651+Aastha2104@users.noreply.github.com
c6ff835db82e60f9bd6cfd551a4958073e1b4268
e23a4f57ce5474d468258e5e63b9e23fb6011188
/125_algorithms/_exercises/templates/_algorithms_challenges/pybites/beginner/beginner-bite-83-at-what-time-pybites-does-live.py
cc471761cf178ecc3329a768532f67d0daa24c11
[]
no_license
syurskyi/Python_Topics
52851ecce000cb751a3b986408efe32f0b4c0835
be331826b490b73f0a176e6abed86ef68ff2dd2b
refs/heads/master
2023-06-08T19:29:16.214395
2023-05-29T17:09:11
2023-05-29T17:09:11
220,583,118
3
2
null
2023-02-16T03:08:10
2019-11-09T02:58:47
Python
UTF-8
Python
false
false
1,451
py
''' Get to know pytz! pytz brings the Olson tz database into Python (docs). Let's see how many hours Bob and Julian have to bridge in order to deliver you PyBites. It differs depending on whether it's Winter or Summer in their relative hemispheres. Complete the what_time_lives_pybites function which receives a naive /...
[ "sergejyurskyj@yahoo.com" ]
sergejyurskyj@yahoo.com