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
b532663dbe99cf46e6de9766168e7521419f9b32
c59194e1908bac7fc0dd4d80bef49c6afd9f91fb
/CodeSignal/Python/SlitheringInStrings/ConvertTabs.py
5e77e7af1f1acf2c9b3f435b15c1daae37a49f38
[]
no_license
Bharadwaja92/CompetitiveCoding
26e9ae81f5b62f4992ce8171b2a46597353f0c82
d0505f28fd6e93b2f4ef23ad02c671777a3caeda
refs/heads/master
2023-01-23T03:47:54.075433
2023-01-19T12:28:07
2023-01-19T12:28:07
208,804,519
0
0
null
null
null
null
UTF-8
Python
false
false
819
py
""" You found an awesome customizable Python IDE that has almost everything you'd like to see in your working environment. However, after a couple days of coding you discover that there is one important feature that this IDE lacks: it cannot convert tabs to spaces. Luckily, the IDE is easily customizable, so you deci...
[ "saibharadwaja92@gmail.com" ]
saibharadwaja92@gmail.com
1dad86a2398f0ba35ec7eae771277fb34b70e513
196d32dbe3d212974f90fec3fcf58ffbaf6fe654
/reward/utils/batch.py
34808a77074f4e623ee0de6058d2c4a6c213cd5f
[ "MIT" ]
permissive
lgvaz/reward
a4f1f418f39102225d7ee00a70fed33f1137051a
cfff8acaf70d1fec72169162b95ab5ad3547d17a
refs/heads/master
2021-10-10T08:16:29.151557
2019-01-08T10:08:57
2019-01-08T10:08:57
115,865,905
3
0
null
null
null
null
UTF-8
Python
false
false
843
py
import numpy as np import torch from torch.utils.data import DataLoader, TensorDataset from reward.utils.memories import SimpleMemory from reward.utils import to_tensor, join_first_dims, to_np from reward.utils.device import get class Batch(SimpleMemory): def __len__(self): return len(self["s"]) def...
[ "lucasgouvaz@gmail.com" ]
lucasgouvaz@gmail.com
adc0b9f134e3152c574524e73f31f45144d81956
9743d5fd24822f79c156ad112229e25adb9ed6f6
/xai/brain/wordbase/verbs/_savours.py
a906acbbfc694c29d8980efe7376d9c99028bb49
[ "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
from xai.brain.wordbase.verbs._savour import _SAVOUR #calss header class _SAVOURS(_SAVOUR, ): def __init__(self,): _SAVOUR.__init__(self) self.name = "SAVOURS" self.specie = 'verbs' self.basic = "savour" self.jsondata = {}
[ "xingwang1991@gmail.com" ]
xingwang1991@gmail.com
008c3ed1df59cba2c6bce0b737ac840ef68508c2
c7f43c4cc0ee84a5fe246b67f51e30b8d726ebd5
/keras2/keras78_03_cifar10_ResNet50.py
3b90c7a4949262c3b1014362398e7aae04f63536
[]
no_license
89Mansions/AI_STUDY
d9f8bdf206f14ba41845a082e731ea844d3d9007
d87c93355c949c462f96e85e8d0e186b0ce49c76
refs/heads/master
2023-07-21T19:11:23.539693
2021-08-30T08:18:59
2021-08-30T08:18:59
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,214
py
# ResNet50 from tensorflow.keras.applications import ResNet50 from tensorflow.keras.datasets import cifar10 import numpy as np import pandas as pd from tensorflow.keras.utils import to_categorical from tensorflow.keras.applications.vgg16 import preprocess_input from tensorflow.keras.layers import Dense, Flatten from t...
[ "hwangkei0212@gmail.com" ]
hwangkei0212@gmail.com
47cf1a099f9594ba41114c905f4b027f41b1fb7a
930a868ae9bbf85df151b3f54d04df3a56bcb840
/benchmark/paper_weighted_union_find_on_XZZX/debug_code_capacity_noise_model/plot_weight_change/weight_change_neighbor.py
2eb2c091cdab7939f2048f5ca5ca59293dfc50aa
[ "MIT" ]
permissive
yuewuo/QEC-Playground
1148f3c5f4035c069986d8b4103acf7f1e34f9d4
462208458cdf9dc8a33d4553a560f8a16c00e559
refs/heads/main
2023-08-10T13:05:36.617858
2023-07-22T23:48:49
2023-07-22T23:48:49
312,809,760
16
1
MIT
2023-07-22T23:48:51
2020-11-14T12:10:38
Python
UTF-8
Python
false
false
3,171
py
import os, sys import subprocess, sys qec_playground_root_dir = subprocess.run("git rev-parse --show-toplevel", cwd=os.path.dirname(os.path.abspath(__file__)), shell=True, check=True, capture_output=True).stdout.decode(sys.stdout.encoding).strip(" \r\n") rust_dir = os.path.join(qec_playground_root_dir, "backend", "rust...
[ "yue.wu@yale.edu" ]
yue.wu@yale.edu
c023c176ead2dccd07efeef6792dfdb196aae49c
0eb6c70503c680ebec415016ff1b0cfac92486ca
/lincdm/blog/managers.py
4467fa3b95367eb9e9040e51170ef10107db77b1
[]
no_license
alexliyu/lincdm
c8b473946f59aca9145b3291890635474f144583
eab93285f0b03217ea041a7910edae7e00095cd8
refs/heads/master
2020-12-30T10:50:05.248988
2011-08-09T15:52:38
2011-08-09T15:52:38
1,464,255
0
0
null
null
null
null
UTF-8
Python
false
false
2,684
py
"""Managers of blog""" from datetime import datetime from django.db import models from django.contrib.sites.models import Site DRAFT = 0 HIDDEN = 1 PUBLISHED = 2 def tags_published(): """Return the published tags""" from tagging.models import Tag from lincdm.blog.models import Entry tags_entry_publi...
[ "alexliyu2012@gmail.com" ]
alexliyu2012@gmail.com
523050cba42f58cd7ac14e6992ad3f7708a17e55
ba2ad1187e447dc948e32ff1629935d2f05b7d59
/New folder/08 Accepting User Input In Tkinter Form.py
2bdfa914adfd1ad27b6475cf0c318faf44ff9aea
[]
no_license
kkgarai/Tkinter
14fce2e0bbbe013a439f0f7fff8a3e88d3a5370e
4ce77c22b1229484cdae5f8926011ca32fe0d9ba
refs/heads/master
2023-02-27T11:10:51.678239
2021-02-02T21:08:38
2021-02-02T21:08:38
295,819,467
0
0
null
null
null
null
UTF-8
Python
false
false
1,989
py
from tkinter import * root = Tk() def getvals(): print("Submitting form") print( f"{namevalue.get(), phonevalue.get(), gendervalue.get(), emergencyvalue.get(), paymentmodevalue.get(), foodservicevalue.get()} ") with open("records.txt", "a") as f: f.write( f"{namevalue.get(),...
[ "you@example.com" ]
you@example.com
582c4ad65e1b6f2bff267c7119594dd2d2af4f26
30d360f965253167c99f9b4cd41001491aed08af
/PTFE_code/Old/rdf_ptfe.py
12cde9224cf10d6a131600e280ca7a988aaaa356
[]
no_license
petervanya/PhDcode
d2d9f7170f201d6175fec9c3d4094617a5427fb5
891e6812a2699025d26b901c95d0c46a706b0c96
refs/heads/master
2020-05-22T06:43:47.293134
2018-01-29T12:59:42
2018-01-29T12:59:42
64,495,043
1
0
null
null
null
null
UTF-8
Python
false
false
6,431
py
#!/usr/bin/env python """Usage: rdf_ptfe.py (--bead <b> | water) <fnames> [--L <L> --bins <nbins> --binalg <b>] Read xyz files and compute radial distribution function for any DPD beads or water beads (water is in both beads C and W): * C: 3 molecules (SO3+3H2O, bead 3) * W: 6 molecules (bead 4) ...
[ "peter.vanya@gmail.com" ]
peter.vanya@gmail.com
c66bd3c2ab4b0774d6d5247124b5b57b6b452835
b2716c78a38fcc0acee852c3e33bf110fa35f4f6
/Rem_pro/yes_no_app/migrations/0001_initial.py
adac69f943774781d801b67b55ffe04899f1a85d
[]
no_license
RajeshKumar-1998/Reminder-App
f381e8728af5694d5e0e627ed261886a20b45318
985a1ee548b8a5b1a9970a9421cac4c98d6fc3b4
refs/heads/master
2022-11-07T00:27:30.348065
2020-06-19T11:28:35
2020-06-19T11:28:35
259,647,627
0
0
null
null
null
null
UTF-8
Python
false
false
554
py
# Generated by Django 2.2.7 on 2019-12-03 23:54 from django.db import migrations, models class Migration(migrations.Migration): initial = True dependencies = [ ] operations = [ migrations.CreateModel( name='Todorem', fields=[ ('id', models.AutoField(...
[ "57509232+Rajeshkumar-dev-cloud@users.noreply.github.com" ]
57509232+Rajeshkumar-dev-cloud@users.noreply.github.com
bae8017147a594e2103ce78cf22b3560ebbb921d
68c37d6a87113fb992126e9806a78896d1727c43
/examples/wrap_protos/python/wrap_protos_test.py
dd8e3e8c73c9fec00c9ebd62bbdad2337b427a09
[ "Apache-2.0" ]
permissive
Pandinosaurus/clif
1b8be31a0b1b45b11d93fe2d7b3f359f69d9075f
87eed3999dba9f8d160c6b735e1803640d019289
refs/heads/master
2021-04-09T13:53:23.744431
2020-09-11T01:53:03
2020-09-11T01:53:03
125,673,546
1
0
Apache-2.0
2020-09-11T04:35:26
2018-03-17T22:20:42
C++
UTF-8
Python
false
false
2,310
py
# Copyright 2017 Google Inc. # # 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,...
[ "mrovner@google.com" ]
mrovner@google.com
318b1eb3d3c2cefce03b58798d8e9617e20f6b8b
2a4bb0307d903678c3b51d1e2c8b7a53ee4ae26e
/backend/chat/api/v1/urls.py
99a41c839549f4bde6227190e323d88b69862120
[]
no_license
crowdbotics-apps/came2mind-20661
37835754c6b3fae6920b3f43bd5e9e1b824548f6
5eaed44b4b116ab89f9ae5f5ce4e2f314ae33172
refs/heads/master
2022-12-24T08:45:31.081668
2020-09-25T03:15:03
2020-09-25T03:15:03
298,455,069
0
0
null
null
null
null
UTF-8
Python
false
false
644
py
from django.urls import path, include from rest_framework.routers import DefaultRouter from .viewsets import ( MessageViewSet, ThreadMemberViewSet, MessageActionViewSet, ThreadActionViewSet, ForwardedMessageViewSet, ThreadViewSet, ) router = DefaultRouter() router.register("forwardedmessage", F...
[ "team@crowdbotics.com" ]
team@crowdbotics.com
ec9e9967a9d35ecb9c137b87d2b0304e54b3bf9f
eefb06b0d8c8c98c1e9cfc4c3852d5c453eb5429
/data/input/anchor/make-magic/core/store.py
6c8c1ab79e867d22aa00a08806097d60a5d46324
[]
no_license
bopopescu/pythonanalyzer
db839453bde13bf9157b76e54735f11c2262593a
8390a0139137574ab237b3ff5fe8ea61e8a0b76b
refs/heads/master
2022-11-22T02:13:52.949119
2019-05-07T18:42:52
2019-05-07T18:42:52
282,079,884
0
0
null
2020-07-23T23:46:09
2020-07-23T23:46:08
null
UTF-8
Python
false
false
2,808
py
#! /usr/bin/env python '''persistant storage of state data We need some way to keep track of Tasks that are being worked on, the state of items etc. It would be even cooler if that data was to hang around when the process was gone. ''' try: import pymongo except: pass # allow import where noone is using the MongoSto...
[ "rares.begu@gmail.com" ]
rares.begu@gmail.com
4ca0d26c31143eecceec45ee9e2ea01a0526ef94
19da8356b07108c640ca107729a183670829a694
/tests/storage/test_observable.py
6fc02760b8a477088fb6b63a3e5b6bb7a9068638
[ "Apache-2.0" ]
permissive
kolotaev/vakt
2ebbc59f7ece8a3ad27ee9e77b3a9cb62509df6b
3a669d058b64c9c0aa75aa72745049d25635d292
refs/heads/master
2023-05-25T13:11:12.988351
2023-04-12T11:16:03
2023-04-12T11:16:03
115,222,029
154
27
Apache-2.0
2023-05-22T21:37:17
2017-12-23T21:10:41
Python
UTF-8
Python
false
false
3,548
py
import pytest from vakt.storage.memory import MemoryStorage from vakt.storage.observable import ObservableMutationStorage from ..helper import CountObserver from vakt import Policy, Inquiry class TestObservableMutationStorage: @pytest.fixture() def factory(self): def objects_factory(): m...
[ "kolotaev@tut.by" ]
kolotaev@tut.by
2eda2a6491ee50990066f2822c92a82bbc2bf67d
1fe8d4133981e53e88abf633046060b56fae883e
/venv/lib/python3.8/site-packages/keras/api/_v2/keras/applications/efficientnet/__init__.py
a1937c921b8c52bf1875287a5e3e4aecfbfc8217
[]
no_license
Akira331/flask-cifar10
6c49db8485038731ce67d23f0972b9574746c7a7
283e7a2867c77d4b6aba7aea9013bf241d35d76c
refs/heads/master
2023-06-14T16:35:06.384755
2021-07-05T14:09:15
2021-07-05T14:09:15
382,864,970
0
0
null
null
null
null
UTF-8
Python
false
false
128
py
version https://git-lfs.github.com/spec/v1 oid sha256:31d32b42c854a00b62bce6763a16a669094ee5a52103e00e97a238c43ef7234c size 894
[ "business030301@gmail.com" ]
business030301@gmail.com
fb14339c19c7c98a958d8c1a2f148ae76f946893
6268a19db5d7806b3a91d6350ec2777b3e13cee6
/old_stuff/code/mlcv-exp_01/src/utils/fpha.py
e9b04c766cd61753ea10d92891cc0009d77a9fe8
[]
no_license
aaronlws95/phd_2019
3ae48b4936f039f369be3a40404292182768cf3f
22ab0f5029b7d67d32421d06caaf3e8097a57772
refs/heads/master
2023-03-22T14:38:18.275184
2021-03-21T11:39:29
2021-03-21T11:39:29
186,387,381
0
0
null
null
null
null
UTF-8
Python
false
false
7,871
py
from pathlib import Path import numpy as np from src import ROOT # ======================================================== # CONSTANTS # ======================================================== ORI_WIDTH = 1920 ORI_HEIGHT = 1080 REORDER_IDX = [0, 1, 6, 7, 8, 2, 9, ...
[ "aaronlws95@gmail.com" ]
aaronlws95@gmail.com
e10826db48bc30e47dd014c15a1662c7c79db3f1
27696870511ac02b75e4389fa4b54afa0f3978d0
/mysite/apps/users/forms.py
ed7cf48fadccff4eab2da9a21a8251c423c7a5d2
[]
no_license
tminlun/OnlineEducation
ef4f7f6a3742b10dcaf4d263a9366fa1446d73fe
5008aeaa14a15b799d37fadd44c1c17b9ade7a68
refs/heads/master
2020-04-09T19:01:22.747193
2019-02-05T03:15:56
2019-02-05T03:15:56
160,531,635
1
0
null
null
null
null
UTF-8
Python
false
false
1,687
py
from captcha.fields import CaptchaField from django import forms from .models import UserProfile class LoginForm(forms.Form): """登录验证表单""" username = forms.CharField(required=True) password = forms.CharField(required=True, min_length=6) class RegisterForm(forms.Form): """注册验证表单""" username = for...
[ "you@example.com" ]
you@example.com
6871dbe97578fe8557bb9d770b9e99836a77fab7
ebf7427c8605d8654c67e3386b8adb2bd7503b44
/LeetCode Pattern/3. Backtracking/78_med_subsets.py
531b1f975ffeb5fe748d8104138d4181755a7f74
[]
no_license
ryoman81/Leetcode-challenge
78e5bc4800a440052f8515c75829e669484fed40
fac3a49c49d2f62eafffb201a9d9cfac988ad30a
refs/heads/master
2023-09-04T05:21:54.569459
2021-10-26T14:14:08
2021-10-26T14:14:08
291,615,959
7
2
null
null
null
null
UTF-8
Python
false
false
1,345
py
''' Given an integer array nums of unique elements, return all possible subsets (the power set). The solution set must not contain duplicate subsets. Return the solution in any order. Example 1: Input: nums = [1,2,3] Output: [[],[1],[2],[1,2],[3],[1,3],[2,3],[1,2,3]] Example 2: Input: nums = [0] Output: [[],[0]] Co...
[ "sqygg1002@gmail.com" ]
sqygg1002@gmail.com
0d51133b3bdbcb43ffd745eeb543c357ff5a4faa
6443a587e16658a58b884a2e5c6dbbab1be50674
/Design_Patterns/MVC.py
41527a426a427ef6d6f168cc407aa49bd64086ef
[]
no_license
xiaochenchen-PITT/CC150_Python
a6cbe213946851639a827068961934920b6c3e57
e96394265d8a41a1b4558d5d2b34aa34af99662f
refs/heads/master
2020-12-24T17:18:14.606804
2014-11-08T21:48:20
2014-11-08T21:48:20
25,654,100
0
1
null
null
null
null
UTF-8
Python
false
false
2,175
py
import Tkinter as tk class Observable: """class Observable defines the infrastructure of model/view register and notification""" def __init__(self, InitialValue = 0): self.data = InitialValue self.observer_list = [] def RegisterObserver(self, observer): self.observer_list.append(observer) def ObserverNot...
[ "cxc0520@hotmail.com" ]
cxc0520@hotmail.com
587a5111f581fa6a8b63ab0fe2cce3dccbb8d97c
cb1d59b57510d222efcfcd37e7e4e919b6746d6e
/python/fizz_buzz.py
56c3fdeaade6e0122efa3841053aa624a1f63b6c
[]
no_license
pzmrzy/LeetCode
416adb7c1066bc7b6870c6616de02bca161ef532
ef8c9422c481aa3c482933318c785ad28dd7703e
refs/heads/master
2021-06-05T14:32:33.178558
2021-05-17T03:35:49
2021-05-17T03:35:49
49,551,365
2
0
null
null
null
null
UTF-8
Python
false
false
254
py
class Solution(object): def fizzBuzz(self, n): """ :type n: int :rtype: List[str] """ return ["FizzBuzz" if n % 15 == 0 else "Fizz" if n % 3 == 0 else "Buzz" if n % 5 == 0 else str(n) for n in range(1, n + 1)]
[ "pzmrzy@gmail.com" ]
pzmrzy@gmail.com
dff2d7ca09d52a201ba58b3ce5d4779e7271cb95
0c8214d0d7827a42225b629b7ebcb5d2b57904b0
/practice/P001_Matrix/main.py
e52128512ba48dafcdf746dde3478eb9df8fa36b
[]
no_license
mertturkmenoglu/python-examples
831b54314410762c73fe2b9e77aee76fe32e24da
394072e1ca3e62b882d0d793394c135e9eb7a56e
refs/heads/master
2020-05-04T15:42:03.816771
2020-01-06T19:37:05
2020-01-06T19:37:05
179,252,826
1
0
null
null
null
null
UTF-8
Python
false
false
175
py
# Practice 001: Read and print matrix row = int(input('Row number: ')) col = int(input('Col number: ')) matrix = [[0 for _ in range(col)] for _ in range(row)] print(matrix)
[ "mertturkmenoglu99@gmail.com" ]
mertturkmenoglu99@gmail.com
3af938f6309801fbf139369b23994e67acc3176f
7949f96ee7feeaa163608dbd256b0b76d1b89258
/toontown/safezone/DistributedDDTreasure.py
97aff6809e6d0c59e21d67a112ed9c6dee2141f7
[]
no_license
xxdecryptionxx/ToontownOnline
414619744b4c40588f9a86c8e01cb951ffe53e2d
e6c20e6ce56f2320217f2ddde8f632a63848bd6b
refs/heads/master
2021-01-11T03:08:59.934044
2018-07-27T01:26:21
2018-07-27T01:26:21
71,086,644
8
10
null
2018-06-01T00:13:34
2016-10-17T00:39:41
Python
UTF-8
Python
false
false
368
py
# File: t (Python 2.4) import DistributedSZTreasure class DistributedDDTreasure(DistributedSZTreasure.DistributedSZTreasure): def __init__(self, cr): DistributedSZTreasure.DistributedSZTreasure.__init__(self, cr) self.modelPath = 'phase_6/models/props/starfish_treasure' self.grabSound...
[ "fr1tzanatore@aol.com" ]
fr1tzanatore@aol.com
6675c1f8bde9a8b0c7cdeeb0041b9769069edcca
d308fffe3db53b034132fb1ea6242a509f966630
/pirates/effects/LureGlow.py
e9c4eaabe605d5c76b88c0746c2a90f554148add
[ "BSD-3-Clause" ]
permissive
rasheelprogrammer/pirates
83caac204965b77a1b9c630426588faa01a13391
6ca1e7d571c670b0d976f65e608235707b5737e3
refs/heads/master
2020-03-18T20:03:28.687123
2018-05-28T18:05:25
2018-05-28T18:05:25
135,193,362
3
2
null
null
null
null
UTF-8
Python
false
false
1,824
py
# uncompyle6 version 3.2.0 # Python bytecode 2.4 (62061) # Decompiled from: Python 2.7.14 (v2.7.14:84471935ed, Sep 16 2017, 20:19:30) [MSC v.1500 32 bit (Intel)] # Embedded file name: pirates.effects.LureGlow from pandac.PandaModules import * from direct.interval.IntervalGlobal import * from EffectController import Eff...
[ "33942724+itsyaboyrocket@users.noreply.github.com" ]
33942724+itsyaboyrocket@users.noreply.github.com
0b393c99acb69e2e47500842eda4d0fff53b69a6
4adc1d1b8f9badefcd8c25c6e0e87c6545ccde2c
/OrcApi/Driver/Web/WindowDefMod.py
81ea8efdc597472a2d1aed384e743b1cac1c6b9e
[]
no_license
orange21cn/OrcTestToolsKit
eb7b67e87a608fb52d7bdcb2b859fa588263c136
69b6a3c382a7043872db1282df4be9e413d297d6
refs/heads/master
2020-04-15T07:30:35.485214
2017-09-30T06:16:17
2017-09-30T06:16:17
68,078,991
5
3
null
null
null
null
UTF-8
Python
false
false
2,884
py
# -*- coding: utf-8 -*- from datetime import datetime from OrcLib.LibCommon import is_null from OrcLib.LibException import OrcDatabaseException from OrcLib.LibDatabase import WebWindowDef from OrcLib.LibDatabase import orc_db from OrcLib.LibLog import OrcLog class WindowDefMod: """ Test data management ""...
[ "orange21cn@126.com" ]
orange21cn@126.com
3da8cd2718bcab6e44d110b99aeb4836a002db47
eae6dddca9285702c4c7ed6ba6bdaceef9631df2
/CCC-2019/Junior/Junior-2/J2.py
ead798d878460926221d2b7467237cbe4a4a29f4
[]
no_license
simrit1/CCC-Solutions-2
7823ce14801c4219f6f1dd4c42fb013c2dfc45dd
ee2883aa38f933e526ce187d50ca68763876cb58
refs/heads/master
2023-07-04T02:19:37.320261
2021-08-07T22:12:36
2021-08-07T22:12:36
null
0
0
null
null
null
null
UTF-8
Python
false
false
377
py
# CCC 2019 Junior 2: Time to Decompress # # Author: Charles Chen # # Strings and loops num_lines = int(input()) num_symbols = [] symbol_type = [] for i in range(num_lines): input_data = input().split() num_symbols.append(int(input_data[0])) symbol_type.append(input_data[1]) for i in range(...
[ "noreply@github.com" ]
simrit1.noreply@github.com
d155f15f7ad2a469627d668066a70e11fe83b0b2
6fa7f99d3d3d9b177ef01ebf9a9da4982813b7d4
/Y4gwcGfcGb3SKz6Tu_0.py
e71f5bc1628a8c29847b14606c19007da771aeb7
[]
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
203
py
def max_separator(s): substrings = [(s.find(i, idx+1) - idx, i) for idx, i in enumerate(s) if s.find(i, idx+1) != -1] return sorted([c for size, c in substrings if size == max(substrings)[0]])
[ "daniel.reich@danielreichs-MacBook-Pro.local" ]
daniel.reich@danielreichs-MacBook-Pro.local
37913c6ecbbbda6ad28bc4dac8635652653d5abb
23611933f0faba84fc82a1bc0a85d97cf45aba99
/google-cloud-sdk/.install/.backup/lib/surface/compute/instance_groups/managed/get_named_ports.py
adf1818f3b56f360348f6678bf9cbb31f379ccb2
[ "LicenseRef-scancode-unknown-license-reference", "Apache-2.0" ]
permissive
KaranToor/MA450
1f112d1caccebdc04702a77d5a6cee867c15f75c
c98b58aeb0994e011df960163541e9379ae7ea06
refs/heads/master
2021-06-21T06:17:42.585908
2020-12-24T00:36:28
2020-12-24T00:36:28
79,285,433
1
1
Apache-2.0
2020-12-24T00:38:09
2017-01-18T00:05:44
Python
UTF-8
Python
false
false
2,035
py
# Copyright 2015 Google Inc. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or ag...
[ "toork@uw.edu" ]
toork@uw.edu
511d5d391655996dc02f37c3a43187003bad7158
17fe10b0f0f85765767ad0eceaf3d7118694ae80
/backend/event/api/v1/serializers.py
e4a19836dcba1b8de8bb160cfd2e4b1d0c1f056f
[]
no_license
crowdbotics-apps/cotter-trout-dock-23862
5f2de4b3c820f49926d7b43ead203c8f3c8593b2
1e956b9b4572d324902af73b6ff4fdde1776f5b2
refs/heads/master
2023-02-12T21:13:52.324832
2021-01-15T16:17:01
2021-01-15T16:17:01
329,955,009
0
0
null
null
null
null
UTF-8
Python
false
false
1,458
py
from rest_framework import serializers from event.models import ( Vendor, Location, Favorites, VendorDetail, Category, Faq, Presenter, Schedule, MySchedule, Sponsor, ) class FaqSerializer(serializers.ModelSerializer): class Meta: model = Faq fields = "__all_...
[ "team@crowdbotics.com" ]
team@crowdbotics.com
dc573298a746f7d19680c66c688ceaaf5c15b85f
081b33ead95b323e77bdce3717af0a5790e34a1e
/backend/apps/settings/models.py
3692f2d192f0341b23781b392ab4a7de1f431656
[]
no_license
alexmon1989/afliga
81ea3b32b18040bb8baa4e8af14a73003fb9a89f
661da30c0a5aa6b9975eb7dea9c9a031529d2dbb
refs/heads/master
2023-02-23T11:12:45.608118
2023-02-11T12:12:41
2023-02-11T12:12:41
105,630,198
0
0
null
2023-02-15T20:50:12
2017-10-03T08:36:15
Python
UTF-8
Python
false
false
2,744
py
from django.db import models from apps.league.models import Player class FooterSettings(models.Model): """Настройки футера.""" information_block_title = models.CharField('Заголовок текстового блока', max_length=100, null=True, blank=True) information_block_text = models.TextField('Текст блока (html)', nul...
[ "alex.mon1989@gmail.com" ]
alex.mon1989@gmail.com
15715eaf8822905a4c32b90071642f1351caf2ba
2f54c561e13df5f0f4479e73a47103b8413a235a
/python codes/recursion.py
a4aa83e9d1dd41e409479f1902abf580bc1a520f
[]
no_license
suvimanikandan/PYTHON_CODES
7123e2898d8c363e018477d2b60f26c7287d4e72
2a8eaae317a773b7236529021a333e9e2a40e51f
refs/heads/main
2023-04-03T19:45:06.009539
2021-04-20T05:26:44
2021-04-20T05:26:44
359,693,270
0
0
null
null
null
null
UTF-8
Python
false
false
160
py
import sys sys.setrecursionlimit(2000) print(sys.getrecursionlimit()) i=0 def greet(): global i i+=1 print("hello",i) greet() greet()
[ "noreply@github.com" ]
suvimanikandan.noreply@github.com
5c0172e12c8046dfc13f3f6538b0c802f7623194
781e2692049e87a4256320c76e82a19be257a05d
/all_data/exercism_data/python/word-count/e606d579317c48f6b8b3ea5ff8b93984.py
42692983767720aa1ef6632e7378b60086e0a348
[]
no_license
itsolutionscorp/AutoStyle-Clustering
54bde86fe6dbad35b568b38cfcb14c5ffaab51b0
be0e2f635a7558f56c61bc0b36c6146b01d1e6e6
refs/heads/master
2020-12-11T07:27:19.291038
2016-03-16T03:18:00
2016-03-16T03:18:42
59,454,921
4
0
null
2016-05-23T05:40:56
2016-05-23T05:40:56
null
UTF-8
Python
false
false
151
py
def word_count(phrase): count = dict() for word in phrase.split(): count.setdefault(word, 0) count[word] += 1 return count
[ "rrc@berkeley.edu" ]
rrc@berkeley.edu
eb8cfced5d54b2f954d35b0c31564dbadc38423d
91d1a6968b90d9d461e9a2ece12b465486e3ccc2
/codestar-notifications_write_1/notification-rule_update.py
a01451f4c062a17c803d10c7d64f8e5e744998b5
[]
no_license
lxtxl/aws_cli
c31fc994c9a4296d6bac851e680d5adbf7e93481
aaf35df1b7509abf5601d3f09ff1fece482facda
refs/heads/master
2023-02-06T09:00:33.088379
2020-12-27T13:38:45
2020-12-27T13:38:45
318,686,394
0
0
null
null
null
null
UTF-8
Python
false
false
1,466
py
#!/usr/bin/python # -*- codding: utf-8 -*- import os import sys sys.path.append(os.path.dirname(os.path.abspath(os.path.dirname(__file__)))) from common.execute_command import write_one_parameter # url : https://awscli.amazonaws.com/v2/documentation/api/latest/reference/codestar-notifications/update-notification-rule....
[ "hcseo77@gmail.com" ]
hcseo77@gmail.com
0d1c6e2ddb041ef981f6b1c916b97199a9ef93b8
bd55b7fefa99156aeb3c28a4abfa407fc03c6bb1
/vstructui/scripts/vstructui_bin.py
66119705e9eec7b30622b45971dec5769cecb73d
[ "Apache-2.0" ]
permissive
williballenthin/python-pyqt5-vstructui
175419738549f9a8ba97ced004c88561356ddcdc
2e06f5fed8aa362e07ad5f677fb42d5cd15163e1
refs/heads/master
2021-01-10T02:18:34.326960
2015-12-10T04:55:19
2015-12-10T04:55:19
36,752,901
10
2
null
null
null
null
UTF-8
Python
false
false
2,669
py
import os import sys import imp import mmap import contextlib from PyQt5.QtWidgets import QApplication from vstruct import VStruct from vstruct import VArray from vstruct.primitives import v_prim from vstruct.primitives import v_number from vstruct.primitives import v_bytes from vstruct.primitives import v_uint8 from...
[ "willi.ballenthin@gmail.com" ]
willi.ballenthin@gmail.com
ae6d37bf310be7ced448efde5f9029f8a50c2e93
3da574f57da42ef745c59b121c70f0d89b98242d
/mandrill/mayhem_1.py
21868aebc9ee247f16ef4607f788a9bc5099a05d
[ "MIT" ]
permissive
yijxiang/mayhem
5a93e184f4f0081d86e9651b815e01712297218a
521b1e4540d37395ca47908520183245b167e2b0
refs/heads/master
2021-09-20T03:28:13.509396
2018-08-02T17:22:02
2018-08-02T17:22:02
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,269
py
#!/usr/bin/env python3.7 # Copyright (c) 2018 Lynn Root """ Initial setup - starting point based off of http://asyncio.readthedocs.io/en/latest/producer_consumer.html Notice! This requires: - attrs==18.1.0 """ import asyncio import logging import random import string import attr # NB: Using f-strings with log me...
[ "lynn@lynnroot.com" ]
lynn@lynnroot.com
052e64eed1a7060c8189bf73a146399bddecfa95
53784d3746eccb6d8fca540be9087a12f3713d1c
/res/packages/scripts/scripts/client/gui/prb_control/entities/base/pre_queue/listener.py
4911d5bab483ee2b93e16664718ddd92927ec370
[]
no_license
webiumsk/WOT-0.9.17.1-CT
736666d53cbd0da6745b970e90a8bac6ea80813d
d7c3cf340ae40318933e7205bf9a17c7e53bac52
refs/heads/master
2021-01-09T06:00:33.898009
2017-02-03T21:40:17
2017-02-03T21:40:17
80,870,824
0
0
null
null
null
null
WINDOWS-1250
Python
false
false
2,051
py
# 2017.02.03 21:48:33 Střední Evropa (běžný čas) # Embedded file name: scripts/client/gui/prb_control/entities/base/pre_queue/listener.py from gui.prb_control.entities.base.listener import IPrbListener class IPreQueueListener(IPrbListener): """ Interface of prequeue listener. """ def onEnqueued(self, ...
[ "info@webium.sk" ]
info@webium.sk
8fd3d7573ef2a7f903f530d6c758f8bdd40b49f9
bd498cbbb28e33370298a84b693f93a3058d3138
/NVIDIA/benchmarks/transformer/implementations/pytorch/fairseq/data/token_block_dataset.py
8c9239ff4ca7fef2bb06e97ece279c95a3aecae6
[ "Apache-2.0", "BSD-3-Clause" ]
permissive
piyushghai/training_results_v0.7
afb303446e75e3e9789b0f6c40ce330b6b83a70c
e017c9359f66e2d814c6990d1ffa56654a73f5b0
refs/heads/master
2022-12-19T16:50:17.372320
2020-09-24T01:02:00
2020-09-24T18:01:01
298,127,245
0
1
Apache-2.0
2020-09-24T00:27:21
2020-09-24T00:27:21
null
UTF-8
Python
false
false
3,681
py
# Copyright (c) 2017-present, Facebook, Inc. # All rights reserved. # # This source code is licensed under the license found in the LICENSE file in # the root directory of this source tree. An additional grant of patent rights # can be found in the PATENTS file in the same directory. import math import numpy as np im...
[ "vbittorf@google.com" ]
vbittorf@google.com
68868e6f1a4c75f460454a8f20542df8dbbe4308
c2ddadd3cf14dfc56ec1e4b8d52b8c1a23ea1e61
/quiz/models.py
9e3fbcc7e92e0ec967ef6edc13c06711e68a42e2
[]
no_license
ashimmitra/Varsity-Final-Project-by-Django
09f944a9f1aae7be4212f0c09cfe5d2c596bd848
6274d966f09d9ead2344542b56576a77e0758d5a
refs/heads/main
2023-07-17T15:50:04.414565
2021-08-20T12:31:24
2021-08-20T12:31:24
342,790,345
0
0
null
null
null
null
UTF-8
Python
false
false
2,590
py
from django.db import models # Create your models here. class Quiz(models.Model): question = models.CharField(max_length = 500) option1 = models.CharField(max_length = 20) option2 = models.CharField(max_length = 20) option3 = models.CharField(max_length = 20) option4 = models.CharField(max_length =...
[ "34328617+ashimmitra@users.noreply.github.com" ]
34328617+ashimmitra@users.noreply.github.com
2db4dae997653d84e0371a2931389dd011acab93
30a2f77f5427a3fe89e8d7980a4b67fe7526de2c
/gen/RSGravitonToBBbar_M_650_TuneZ2star_8TeV_pythia6_cfg.py
58a5a616d4582034f7a015e59624302553db3e82
[]
no_license
DryRun/QCDAnalysis
7fb145ce05e1a7862ee2185220112a00cb8feb72
adf97713956d7a017189901e858e5c2b4b8339b6
refs/heads/master
2020-04-06T04:23:44.112686
2018-01-08T19:47:01
2018-01-08T19:47:01
55,909,998
0
0
null
null
null
null
UTF-8
Python
false
false
7,080
py
# Auto generated configuration file # using: # Revision: 1.381.2.28 # Source: /local/reps/CMSSW/CMSSW/Configuration/PyReleaseValidation/python/ConfigBuilder.py,v # with command line options: CMSDIJET/QCDAnalysis/python/RSGravitonToBBbar_M_650_TuneZ2star_8TeV_pythia6_cff.py --python_filename /uscms/home/dryu/Dijets/C...
[ "david.renhwa.yu@gmail.com" ]
david.renhwa.yu@gmail.com
48cd1bdae7a1166b75c4968c0fb1f53f4f29376d
235bf57e37733cf265913ba2d6e7e95f915dad06
/pricealert.py
4e0e80488f9c421adb80ddd7ee79747cf8f801c9
[]
no_license
dbrgn/avarulo
47c3e3ea129a6d80afe55b81e3a62e513f526f47
bf48d2f6a19bb2f0af0ccecb83c70b9bef3affa2
refs/heads/master
2021-05-22T18:13:33.359090
2020-04-04T15:56:58
2020-04-04T15:56:58
253,034,903
1
0
null
null
null
null
UTF-8
Python
false
false
6,065
py
""" Price Alert Monitor products for price reductions. Usage: pricealert.py [-c <configfile>] Options: -c <configfile> [default: config.yml] """ import re import sys from typing import Optional, Tuple from bs4 import BeautifulSoup from docopt import docopt import requests import yaml USER_AGENT = 'Mozill...
[ "mail@dbrgn.ch" ]
mail@dbrgn.ch
8416beada435e65a21c8e0124f100302ee9f9bf5
71501709864eff17c873abbb97ffabbeba4cb5e3
/llvm14.0.4/lldb/test/API/functionalities/data-formatter/type_summary_list_arg/TestTypeSummaryListArg.py
a47d91434822e44e560cc297352404f11b7429aa
[ "NCSA", "Apache-2.0", "LLVM-exception" ]
permissive
LEA0317/LLVM-VideoCore4
d08ba6e6f26f7893709d3285bdbd67442b3e1651
7ae2304339760685e8b5556aacc7e9eee91de05c
refs/heads/master
2022-06-22T15:15:52.112867
2022-06-09T08:45:24
2022-06-09T08:45:24
189,765,789
1
0
NOASSERTION
2019-06-01T18:31:29
2019-06-01T18:31:29
null
UTF-8
Python
false
false
1,235
py
""" Test lldb data formatter subsystem. """ import lldb from lldbsuite.test.decorators import * from lldbsuite.test.lldbtest import * from lldbsuite.test import lldbutil class TypeSummaryListArgumentTestCase(TestBase): mydir = TestBase.compute_mydir(__file__) @no_debug_info_test def test_type_summary...
[ "kontoshi0317@gmail.com" ]
kontoshi0317@gmail.com
16ac290fc3f25f1b9ba3e8307728a0f77ff6b606
d90daf0b839349d49439037f6bffe37830e165aa
/settings.py
c9ae21702e837243477afde60e6e602c6faf4b9f
[]
no_license
m2o/fitlog
2d49ecff12069769c88617f07c600512ef2a0c97
e8736a3bc677d1d160cf7f3b6201ffa1b0de2760
refs/heads/master
2020-05-20T08:54:27.169217
2013-12-12T21:24:42
2013-12-12T21:24:42
null
0
0
null
null
null
null
UTF-8
Python
false
false
4,858
py
# Django settings for fitlog project. import os DEBUG = True TEMPLATE_DEBUG = DEBUG ROOT_PATH = os.path.dirname(__file__) ADMINS = ( # ('Your Name', 'your_email@example.com'), ) MANAGERS = ADMINS DATABASES = { 'default': { #'ENGINE': 'django.db.backends.postgresql_psycopg2', #'NAME' : 'fitl...
[ "t.pivcevic@gmail.com" ]
t.pivcevic@gmail.com
ff59ca30001dc596066bc271b4203a45b303fe6e
52e8841ac9603e994fc487ecb52f232e55a50e07
/Bio/GA/Selection/RouletteWheel.py
0dc44d9302247f22c95f690600dd792906fdb1dd
[]
no_license
rored/RozszerzenieBio.PDB
aff434fddfe57199a7465f79126eba62b1c789ae
7c9d696faacabff912b1263fe19291d6a198c3c2
refs/heads/master
2021-01-21T04:50:37.903227
2016-06-23T19:15:42
2016-06-23T19:15:42
55,064,794
0
3
null
null
null
null
UTF-8
Python
false
false
4,863
py
# This code is part of the Biopython distribution and governed by its # license. Please see the LICENSE file that should have been included # as part of this package. # """Implement Roulette Wheel selection on a population. This implements Roulette Wheel selection in which individuals are selected from a population ...
[ "Viktoria@MacBook-Pro-Viktoria.local" ]
Viktoria@MacBook-Pro-Viktoria.local
4b20434b8674ccfded74054b0a37ae33caa44811
4fbd844113ec9d8c526d5f186274b40ad5502aa3
/algorithms/python3/perfect_rectangle.py
adda3b9866b4f36c19ea7e24a53d4cded0ddd0ba
[]
no_license
capric8416/leetcode
51f9bdc3fa26b010e8a1e8203a7e1bcd70ace9e1
503b2e303b10a455be9596c31975ee7973819a3c
refs/heads/master
2022-07-16T21:41:07.492706
2020-04-22T06:18:16
2020-04-22T06:18:16
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,302
py
# !/usr/bin/env python # -*- coding: utf-8 -*- """ Given N axis-aligned rectangles where N > 0, determine if they all together form an exact cover of a rectangular region. Each rectangle is represented as a bottom-left point and a top-right point. For example, a unit square is represented as [1,1,2,2]. (coordinate ...
[ "capric8416@gmail.com" ]
capric8416@gmail.com
56afaf83d0bb5a2323b007f43c24edf5e93f4b66
3e381dc0a265afd955e23c85dce1e79e2b1c5549
/hi-A5/kacayyasadin.py
67e22449145123ac051f0a67ea72997107d722c8
[]
no_license
serkancam/byfp2-2020-2021
3addeb92a3ff5616cd6dbd3ae7b2673e1a1a1a5e
c67206bf5506239d967c3b1ba75f9e08fdbad162
refs/heads/master
2023-05-05T04:36:21.525621
2021-05-29T11:56:27
2021-05-29T11:56:27
322,643,962
0
0
null
null
null
null
UTF-8
Python
false
false
149
py
d_yil=int(input("hangi yıl doğdun:")) d_ay=int(input("kaçın ay doğdun:")) y_ay = (2020-d_yil)*12+(11-d_ay) print(y_ay," ay yaşadın.")
[ "sekocam@gmail.com" ]
sekocam@gmail.com
682de6a4f15064d60f1678610e503b2d3074a33e
ab704c85613bc430dfbb4e5d8ed139ba0a1da584
/manage.py
d1fd55b64f4c533ec2620e28f4a0de4f7f967bb9
[]
no_license
arthuroe/shopperholics
eb4b1257a32354bb2b71607719f61a3a098b7fcb
6f941bf370a11d697c1577ca1e92bc1ba8ec4d3b
refs/heads/develop
2022-12-09T23:16:17.235490
2018-08-14T20:39:21
2019-02-20T00:01:18
139,479,448
0
0
null
2022-12-08T02:21:51
2018-07-02T18:25:22
Python
UTF-8
Python
false
false
283
py
from flask_script import Manager from flask_migrate import Migrate, MigrateCommand from api import app from api.models.model_mixin import db manager = Manager(app) migrate = Migrate(app, db) manager.add_command('db', MigrateCommand) if __name__ == '__main__': manager.run()
[ "arthur.orache@gmail.com" ]
arthur.orache@gmail.com
bfe54bf4a84bae770d8568d0e5d8d98a85bd6046
f03e771eb4c1f300ae819179090efc388bcc6d32
/src/pymine/metadata/MetadataValue.py
c155a8834298482b1fd2fe55b4228d4f4dd64f3c
[]
no_license
lacthan28/PyMine
d8d2365b0aabefcb056754260f67095dbcbe62ff
e7d4778f01181d45551c02fa0cef151327fa240a
refs/heads/master
2021-01-21T19:50:48.417635
2017-06-30T05:38:46
2017-06-30T05:38:46
92,161,042
0
0
null
null
null
null
UTF-8
Python
false
false
570
py
# -*- coding: utf-8 -*- from ..plugin.Plugin import * class MetadataValue(metaclass = ABCMeta): """ :param Plugin owningPlugin: """ owningPlugin = None def __init__(self, owningPlugin: Plugin): self.owningPlugin = owningPlugin def getOwningPlugin(self): """ :return: Plugin """ return self.owningPlugin ...
[ "lacthan28@gmail.com" ]
lacthan28@gmail.com
cb609dc44f22d8dceb8c61401be4c62ca445e9d6
573d470c9fcb3799e8822e6953e1259b74e0672c
/Course/syntax/example_12.py
ba29a4c138e0d6a7ace344e04386e2ac5c48f214
[ "Apache-2.0" ]
permissive
zevgenia/Python_shultais
e6f35773e54a72477ea5ee83520dbecfbee7ff48
e51c31de221c5e7f36ede857a960138009ec8a05
refs/heads/master
2020-03-31T21:46:25.061571
2018-10-11T13:43:47
2018-10-11T13:43:47
152,593,211
0
0
null
null
null
null
UTF-8
Python
false
false
409
py
age = 12 male = "f" location = "Russia" locations = ["Russia", "Ukraine", "Belarus"] is_programmer = True is_admin = False if (age >= 12 and male == "f" and location in locations and (is_programmer or is_admin)): print("Доступ открыт") if age >= 12 \ and male == "m" \ and location in locations ...
[ "zatonskaya@yandex.ru" ]
zatonskaya@yandex.ru
dbaf7c583e82742b17220b3b45bbabb630c64530
697fb11686110f569e7f4284045049d008688221
/windows/nsist/tests/test_commands.py
077ef0e8505a5a9f5e8aad17d9ce5190dcfc8f72
[ "Apache-2.0", "MIT", "BSD-3-Clause", "CC-BY-3.0" ]
permissive
andredoumad/p3env
433c9174899f0909b149f51c3243b6fe04e076bf
a8850d06755d53eb6fedd9995091dad34f1f9ccd
refs/heads/master
2023-02-03T20:50:07.357255
2020-12-23T09:15:55
2020-12-23T09:15:55
317,041,015
0
0
null
null
null
null
UTF-8
Python
false
false
3,591
py
import io from testpath import assert_isfile, assert_not_path_exists from zipfile import ZipFile from nsist import commands, _assemble_launchers def test_prepare_bin_dir(tmpdir): cmds = { 'acommand': { 'entry_point': 'somemod:somefunc', 'extra_preamble': io.StringIO(u'import extra'...
[ "andre@stringkeeper.com" ]
andre@stringkeeper.com
c87d5afa14f70ed9c35d2b5894f71311df928142
a904e99110721719d9ca493fdb91679d09577b8d
/month05/spider/day01_course/day01_code/10_novelSpiderMysql.py
f0fca531e47d09485d510041f8e19a4946197908
[ "Apache-2.0" ]
permissive
chaofan-zheng/tedu-python-demo
7c7c64a355e5380d1f8b6464affeddfde0d27be7
abe983ddc52690f4726cf42cc6390cba815026d8
refs/heads/main
2023-03-12T05:17:34.596664
2021-02-27T08:33:31
2021-02-27T08:33:31
323,350,480
4
1
null
null
null
null
UTF-8
Python
false
false
2,194
py
""" 笔趣阁小说爬虫,所抓数据:href、title、author、comment 思路步骤: 1、确认数据来源(右键->查看网页源代码->搜索关键字) 2、确认静态:观察URL地址规律 3、写正则表达式 """ import requests import re import time import random import pymysql class NovelSpider: def __init__(self): self.url = 'https://www.biqukan.cc/fenlei1/{}.html' self....
[ "417355570@qq.com" ]
417355570@qq.com
ecb1f88de692273696479a78d63266fb28e7ab08
128548b223a941c1570aba99c679a698dedb3e72
/rename.py
0b1a95e3d55d759c39a67fb810c8a247760c7484
[]
no_license
hhk86/Barra
de3e8d715f6ead1b425e5b639538df370a4eb11f
ddcf50766bcbdecb602213cccc65cab01146f88b
refs/heads/master
2020-07-26T18:04:44.006126
2019-09-26T07:36:48
2019-09-26T07:36:48
208,727,872
1
2
null
null
null
null
UTF-8
Python
false
false
1,005
py
import sys from pymongo import MongoClient from basicFunction import * import sys class MongoDB(): ''' Connect to local MongoDB ''' def __init__(self): self.host = "18.210.68.192" self.port = 27017 self.db = "basicdb" self.username = "user" self.password = "user...
[ "hhk0@outlook.com" ]
hhk0@outlook.com
24ae940898e40cd452fccf9a14a65f0d30687132
c4b7399a10b7f963f625d8d15e0a8215ea35ef7d
/239.滑动窗口最大值.py
28a32c944148c249efaaa64c9393453ee7122d3f
[]
no_license
kangkang59812/LeetCode-python
a29a9788aa36689d1f3ed0e8b668f79d9ca43d42
276d2137a929e41120c2e8a3a8e4d09023a2abd5
refs/heads/master
2022-12-05T02:49:14.554893
2020-08-30T08:22:16
2020-08-30T08:22:16
266,042,478
0
0
null
null
null
null
UTF-8
Python
false
false
2,027
py
# # @lc app=leetcode.cn id=239 lang=python3 # # [239] 滑动窗口最大值 # # https://leetcode-cn.com/problems/sliding-window-maximum/description/ # # algorithms # Hard (44.47%) # Likes: 262 # Dislikes: 0 # Total Accepted: 33.6K # Total Submissions: 75.5K # Testcase Example: '[1,3,-1,-3,5,3,6,7]\n3' # # 给定一个数组 nums,有一个大小为 k...
[ "596286458@qq.com" ]
596286458@qq.com
e5aafc8df7b44ff0c83d49b3d4cab9e3ea94de56
240e7cbb46bf2a94b3fd337267c71c1db42e7ce1
/examples/ad_manager/v202002/adjustment_service/get_all_traffic_adjustments.py
7754fa8a3e02792791e992f180562cb4b0e174bc
[ "Apache-2.0" ]
permissive
andreferraro/googleads-python-lib
2624fa84ca7064c3b15a7d9d48fc0f023316524d
a9ddeae56c5b9769f50c4e9d37eb32fd1eebe534
refs/heads/master
2022-11-13T03:38:38.300845
2020-07-03T13:17:59
2020-07-03T13:17:59
276,904,111
0
0
Apache-2.0
2020-07-03T13:16:21
2020-07-03T13:16:20
null
UTF-8
Python
false
false
1,945
py
#!/usr/bin/env python # # Copyright 2019 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law o...
[ "davidwihl@users.noreply.github.com" ]
davidwihl@users.noreply.github.com
61109f2520040675af6b0001cb0b033d7f46f74f
68728961294d360d26e8149e7e0a4816adf20842
/src/build_seq2seq_transformer/train_helper.py
847c17f886a834c2ab5cd5579e7cba3bd6108705
[]
no_license
Dawn-Flying/text_summarization
d334fe884aa3a6341dd7bc381b03c1ab3e2c057e
ab68555c6f455c4f14fead5fc1c49420cdef8dc4
refs/heads/master
2023-07-17T07:49:21.995004
2021-08-26T15:46:19
2021-08-26T15:46:19
null
0
0
null
null
null
null
UTF-8
Python
false
false
3,842
py
import time import tensorflow as tf from src.build_seq2seq_transformer.schedules.lr_schedules import CustomSchedule from src.build_seq2seq_transformer.layers.transformer import create_masks loss_object = tf.keras.losses.SparseCategoricalCrossentropy(from_logits=False, reduction='none') def loss_function(real, pred)...
[ "184419810@qq.com" ]
184419810@qq.com
becf43a0b4dfb0ea436cf8140e0e35e4cfda4e6a
6527b66fd08d9e7f833973adf421faccd8b765f5
/yuancloud/plugin/account_extend/__yuancloud__.py
8db29a38062cd53a33ecab90e168d9cf7f69b8a1
[]
no_license
cash2one/yuancloud
9a41933514e57167afb70cb5daba7f352673fb4d
5a4fd72991c846d5cb7c5082f6bdfef5b2bca572
refs/heads/master
2021-06-19T22:11:08.260079
2017-06-29T06:26:15
2017-06-29T06:26:15
null
0
0
null
null
null
null
UTF-8
Python
false
false
873
py
# -*- coding: utf-8 -*- { 'name': "财务模块扩展", 'summary': """ """, 'description': """ Long description of module's purpose """, 'author': "zhangzs@sswyuan.com", 'website': "http://www.sswyuan.net/yuancloud", # Categories can be used to filter modules in modules listing #...
[ "liuganghao@lztogether.com" ]
liuganghao@lztogether.com
07fccf67a1e8f157cd3475218604638fde43eeab
0931b32140ba932b3ba02f5109a087c6c70a244d
/frappe/utils/background_jobs.py
f6f35f3c8239acf3302486d691b210bc54e537ca
[ "MIT" ]
permissive
cstkyrilos/frappe
b60ed4e95ce929c74c2fc46000080d10b343190e
27d9306bc5924c11c2749503454cc6d11a8cc654
refs/heads/main
2023-03-23T10:35:42.732385
2021-03-22T21:55:58
2021-03-22T21:55:58
350,292,784
0
0
MIT
2021-03-22T10:01:08
2021-03-22T10:01:07
null
UTF-8
Python
false
false
5,097
py
from __future__ import unicode_literals, print_function import redis from rq import Connection, Queue, Worker from frappe.utils import cstr from collections import defaultdict import frappe import MySQLdb import os, socket, time default_timeout = 300 queue_timeout = { 'long': 1500, 'default': 300, 'short': 300 } d...
[ "cst.kyrilos@gmail.com" ]
cst.kyrilos@gmail.com
cffac3e938b8f72f426447724e96e8a625dca2f2
54f352a242a8ad6ff5516703e91da61e08d9a9e6
/Source Codes/AtCoder/abc027/D/4117422.py
388be0989c70f290b2cd9f0347c18a27adb75478
[]
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
412
py
from itertools import accumulate S = input() N = len(S) M_cnt = S.count('M') cnt_plus = list(accumulate([(1 if s == '+' else 0) for s in S[::-1]]))[::-1] cnt_minus = list(accumulate([(1 if s == '-' else 0) for s in S[::-1]]))[::-1] p = [] for i, s in enumerate(S): if s == 'M': p.append(cnt_plus...
[ "kwnafi@yahoo.com" ]
kwnafi@yahoo.com
b2a3deaae28ce2efbd89fe01d8a2d2145f9946ff
c8ed5baad6ce8527f4b75a73d0f15b1207aa660e
/app/discourse/config.py
41c134bf5724c4ec50aaeec6afe12e15213f4a81
[]
no_license
GovLab/noi2
f12aed284c11c743fff0286df4fe59bb8b894050
7fce89f0c4c437718916fc95ca4c6c4372cdf464
refs/heads/master
2021-04-15T15:10:20.713982
2016-10-06T23:27:05
2016-10-06T23:27:05
40,134,662
5
9
null
2016-06-30T06:37:33
2015-08-03T16:10:41
Python
UTF-8
Python
false
false
593
py
from werkzeug.local import LocalProxy from flask import current_app class DiscourseConfig(object): def __init__(self, config): self.api_key = config['api_key'] self.origin = config['origin'] self.sso_secret = config['sso_secret'] self.admin_username = 'system' def url(self, pat...
[ "varmaa@gmail.com" ]
varmaa@gmail.com
12ab0540bafb80390bcb2af09737bf5eb8328fae
b2ba670818623f8ab18162382f7394baed97b7cb
/test-data/AndroidSlicer/Bites/DD/4.py
b62029f34f1e3997c9a8c10994ecffaead769d2e
[ "MIT" ]
permissive
hsumyatwin/ESDroid-artifact
012c26c40537a79b255da033e7b36d78086b743a
bff082c4daeeed62ceda3d715c07643203a0b44b
refs/heads/main
2023-04-11T19:17:33.711133
2022-09-30T13:40:23
2022-09-30T13:40:23
303,378,286
1
1
null
null
null
null
UTF-8
Python
false
false
2,621
py
#start monkey test seedNo 0 import os; from subprocess import Popen from subprocess import PIPE from com.android.monkeyrunner import MonkeyRunner, MonkeyDevice, MonkeyImage from com.android.monkeyrunner.MonkeyDevice import takeSnapshot from com.android.monkeyrunner.easy import EasyMonkeyDevice from com.android.monkeyru...
[ "hsumyatwin@gmail.com" ]
hsumyatwin@gmail.com
3de583f2f00f4914d1aa86d9d991dd8cc02811f0
909afe0216a37bdc19683d81e533fa6c094329c1
/python/leetcode/53-maximum-subarray.py
a2af229326ee18c0e058516c510b22433c0acfdd
[]
no_license
wxnacy/study
af7fdcd9915d668be73c6db81bdc961247e24c73
7bca9dc8ec211be15c12f89bffbb680d639f87bf
refs/heads/master
2023-04-08T17:57:40.801687
2023-03-29T08:02:20
2023-03-29T08:02:20
118,090,886
18
22
null
2022-12-16T03:11:43
2018-01-19T07:14:02
HTML
UTF-8
Python
false
false
4,928
py
#!/usr/bin/env python # -*- coding:utf-8 -*- # Author: wxnacy(wxnacy@gmail.com) # Description: 最大子序和 为完成动态规划算法 ''' 给定一个整数数组 nums ,找到一个具有最大和的连续子数组(子数组最少包含一个元素),返回其最大和。 示例: 输入: [-2,1,-3,4,-1,2,1,-5,4], 输出: 6 解释: 连续子数组 [4,-1,2,1] 的和最大,为 6。 进阶: 如果你已经实现复杂度为 O(n) 的解法,尝试使用更为精妙的分治法求解。 ''' from constants import NUMS_FOR53 ...
[ "371032668@qq.com" ]
371032668@qq.com
3787e3fd933ddd148fab18af2ec10a45fdbe09e4
caf5807c331ff22b1e7d48f59b626a8869bd418d
/quotes/models.py
d5d4b80e67599700f8a2ceddb5a9ece5e1f0e9a7
[]
no_license
tahirawan4/cserver
d7cd2953f75485b8f061e0301d2ce4d77605e8fa
fcb7e0e22e3e2bac6e0278aa41709f84f93c9da2
refs/heads/master
2021-01-10T02:50:12.879964
2015-06-03T19:58:59
2015-06-03T19:58:59
36,827,447
0
0
null
null
null
null
UTF-8
Python
false
false
1,171
py
from django.db import models # Create your models here. from django.db import models # Create your models here. class Author(models.Model): name = models.CharField(max_length=30) author_discription = models.CharField(max_length=150) author_url = models.CharField(max_length=150) author_image = models.I...
[ "tahirawan4@gmail.com" ]
tahirawan4@gmail.com
497a9fbcff26fdec2bfd886a40ed6cae1bc0b5fc
72765c1736a10b86be8583dbd694906aff467068
/tkinter/tkinter_pack/tkinter_font.py
86bf8bb16121622c1a8e3b449bc37793646e9847
[]
no_license
taison2000/Python
05e3f3834501a4f5ef7a6260d8bf3d4ce41930f3
44079700c3db289f92792ea3ec5add6a523f8eae
refs/heads/master
2021-10-16T07:43:55.202012
2019-02-09T02:22:44
2019-02-09T02:22:44
103,322,062
0
0
null
null
null
null
UTF-8
Python
false
false
1,169
py
#!/usr/bin/python # Comment start with # import sys import tkinter as tk #from tkinter import messagebox as msgBox ## tkMessageBox (v2.x) ==> messagebox (v3.x) top = tk.Tk() lbl1 = tk.Label(None, text='This is a label #1') lbl2 = tk.Label(None, text=' label #2', bg="light green") lbl3 = tk.Label(No...
[ "noreply@github.com" ]
taison2000.noreply@github.com
eb35046e2b6c4f11866a15ec83a1b6d45ec5dcb7
6580ba5d135c4f33f1a0996953ba2a65f7458a14
/applications/ji178/models/fd404.py
1e76f1088602024a7d98867bbe6b8c5253fb2792
[ "LicenseRef-scancode-public-domain", "MIT" ]
permissive
ali96343/facew2p
02b038d3853691264a49de3409de21c8a33544b8
a3881b149045e9caac344402c8fc4e62edadb42f
refs/heads/master
2021-06-10T17:52:22.200508
2021-05-10T23:11:30
2021-05-10T23:11:30
185,795,614
7
0
null
null
null
null
UTF-8
Python
false
false
3,643
py
# # table for controller: X404 # from gluon.contrib.populate import populate db.define_table('d404', Field('f0', label='key', writable = True , length= 1000), Field('f1', 'text', label='data string', length= 1000), Field('f2', 'text', label='save data string', length= 1000, default='' ), ) # i...
[ "ab96343@gmail.com" ]
ab96343@gmail.com
287ea9e6f95498d1cc39def3a007c223b9d638fb
99a472a443ed55652de88dc82451fdcc22d601f9
/label_maker.py
1cc3d5b5bff9ef693b587a327bb524bf5bd29a8e
[]
no_license
JeremyGibson/gvision
c954144c8c8648619fb0e34cec855a6d72d23cb3
b218e0255d076c7bdb5f5c0c694264399fa4419d
refs/heads/main
2023-03-07T02:44:53.521075
2021-02-15T21:18:57
2021-02-15T21:39:51
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,510
py
#!/usr/bin/python import os from pathlib import Path from datetime import datetime from google.cloud import vision LOG_PATH = Path("logs") PATH_TO_IMAGES = Path(os.environ["PHOTOS_DIR"]) client = vision.ImageAnnotatorClient() POTENTIAL_DOCUMENT = ['font', 'material property', 'parallel', 'stationery', 'recipe', 'pap...
[ "vinod@kurup.com" ]
vinod@kurup.com
1f4fc6c7eee5b82ea686875e7a379a7e1f509552
e311664619d469addd2c77566ec97d24affcbfd9
/src/apps/alumno_profesor/migrations/0007_alumno_last_login.py
bf2c5409384950bcfb799164bb23bacfe9e2d549
[]
no_license
danielhuamani/Proyecto-taller-base-datos
361dc8c915dff36a9ce96a7147c11f0af9d51227
5d791383f77f8042a2890db4cfd31079c6d1dc7b
refs/heads/master
2016-08-11T13:47:03.169317
2015-12-22T04:28:52
2015-12-22T04:28:52
46,673,349
0
0
null
null
null
null
UTF-8
Python
false
false
461
py
# -*- coding: utf-8 -*- from __future__ import unicode_literals from django.db import models, migrations class Migration(migrations.Migration): dependencies = [ ('alumno_profesor', '0006_auto_20151220_1948'), ] operations = [ migrations.AddField( model_name='alumno', ...
[ "danielhuamani15@gmail.com" ]
danielhuamani15@gmail.com
e81481b04fb1f65a6e1d9d47e39919236d78028e
81a62053841c03d9621fd31f8e7984c712c7aed2
/zoo/BEVFormer/attacks/attacker/pgd.py
f0b9a265b5f49216b58f49230fbcad46f430c69e
[ "Apache-2.0" ]
permissive
Daniel-xsy/BEV-Attack
d0eb3a476875f9578c53df9bcb21564dea18ce0c
7970b27396c1af450c80b12eb312e76a8ab52a0a
refs/heads/master
2023-05-23T01:13:44.121533
2023-02-22T05:48:14
2023-02-22T05:48:14
540,328,937
7
1
null
null
null
null
UTF-8
Python
false
false
4,428
py
import torch import torch.nn as nn import numpy as np import random import mmcv from attacks.attacker.base import BaseAttacker from attacks.attacker.builder import ATTACKER @ATTACKER.register_module() class PGD(BaseAttacker): def __init__(self, epsilon, step_size, ...
[ "1491387884@qq.com" ]
1491387884@qq.com
9012f3d446c9811c846cbdf005bfb6e188fa54c8
52b5773617a1b972a905de4d692540d26ff74926
/.history/rottenOranges_20200810193226.py
9ad8d01ffd15107d6776d9a79b8fb4622742316f
[]
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
1,038
py
def markrotten(i,j,row,column,grid): if (i < 0 or i >= row or j < 0 or j >= column) or grid[i][j] !=1: return else: grid[i][j] == 2 print('grid',grid) # checking its neighbours markrotten(i+1,j,row,column,grid) markrotten(i,j+1,row,column,grid) ma...
[ "mary.jereh@gmail.com" ]
mary.jereh@gmail.com
9f7ab36b72ea976d64ec31fe193a1ffd67c51b33
3ced55b04ec82df5257f0e3b500fba89ddf73a8a
/src/stk/molecular/functional_groups/factories/bromo_factory.py
efd349b3d0830c3e38e99827798093df7e4a8813
[ "MIT" ]
permissive
rdguerrerom/stk
317282d22f5c4c99a1a8452023c490fd2f711357
1ac2ecbb5c9940fe49ce04cbf5603fd7538c475a
refs/heads/master
2023-08-23T21:04:46.854062
2021-10-16T14:01:38
2021-10-16T14:01:38
null
0
0
null
null
null
null
UTF-8
Python
false
false
3,018
py
""" Bromo Factory ============= """ from __future__ import annotations import typing from collections import abc from .functional_group_factory import FunctionalGroupFactory from .utilities import get_atom_ids from ..functional_groups import Bromo from ...molecule import Molecule from ...elements import Br __all__...
[ "noreply@github.com" ]
rdguerrerom.noreply@github.com
a9b66bfafdae81a479bdb341cbce153b8d8dec62
0fe394b10b39864915fcc4073a5fa050aa02502e
/SoloLearn_Project/skip.py
15ca46a183e4985396b92c323c1ecce9196dcecc
[]
no_license
JohnAssebe/Python
9997d47bba4a056fdcd74c6e5207fc52b002cbfd
b88a7c2472f245dc6a0e8900bbea490cb0e0beda
refs/heads/master
2022-05-14T10:08:37.311345
2022-05-09T19:48:53
2022-05-09T19:48:53
212,562,910
0
1
null
null
null
null
UTF-8
Python
false
false
613
py
def skip_elements(elements): # Initialize variables new_list = [] i = 0 if len(elements)==0: return [] # Iterate through the list for i in range(0,len(elements),2): # Does this element belong in the resulting list? if elements[i] not in new_list: # Add this element to the resulting list new_list.appen...
[ "noreply@github.com" ]
JohnAssebe.noreply@github.com
736d83f69f045da85f0dcc4f44f46644a627a50f
ca7aa979e7059467e158830b76673f5b77a0f5a3
/Python_codes/p03472/s538005754.py
db417a8a26fe90ea010a6da9d14aba392ac1ffdb
[]
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
442
py
n,h = map(int,input().split()) katana_a = [] katana_b = [] for i in range(n): a,b = map(int,input().split()) katana_a.append(a) katana_b.append(b) amax = max(katana_a) katana_b.sort(reverse=True) ans = 0 k = 0 while h > 0: if k == n: break if katana_b[k] > amax: h -= katana_b[k] ...
[ "66529651+Aastha2104@users.noreply.github.com" ]
66529651+Aastha2104@users.noreply.github.com
db431d9e93dd7b65b8dad33e2dccb31adb4e6276
6c137e70bb6b1b618fbbceddaeb74416d387520f
/pyqtgraph/examples/contextMenu.py
c2c5918dbf2642bbf316f24c4f9143c973f8d93c
[ "BSD-2-Clause", "MIT" ]
permissive
zhong-lab/code
fe497c75662f8c3b7ab3c01e7e351bff6d5e8d15
b810362e06b44387f0768353c602ec5d29b551a2
refs/heads/master
2023-01-28T09:46:01.448833
2022-06-12T22:53:47
2022-06-12T22:53:47
184,670,765
2
7
BSD-2-Clause
2022-12-08T21:46:15
2019-05-02T23:37:39
Python
UTF-8
Python
false
false
4,497
py
# -*- coding: utf-8 -*- """ Demonstrates adding a custom context menu to a GraphicsItem and extending the context menu of a ViewBox. PyQtGraph implements a system that allows each item in a scene to implement its own context menu, and for the menus of its parent items to be automatically displayed as well. """ imp...
[ "none" ]
none
83c644506d964c736a4d5cae65f08195d41dc016
6fa7f99d3d3d9b177ef01ebf9a9da4982813b7d4
/7yo5FJX4xFbNxim5q_22.py
9783436a95859a2a95ce2cbc4b159661968c0f8b
[]
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
217
py
def harry(po): if len(po[0])==0: return -1 downright = sum(po[-1])+sum(po[i][0] for i in range(len(po)-1)) rightdown = sum(po[0])+sum(po[i][-1] for i in range(len(po)-1)) return max(downright,rightdown)
[ "daniel.reich@danielreichs-MacBook-Pro.local" ]
daniel.reich@danielreichs-MacBook-Pro.local
1974a71145eabc83d069ae9eb89f4b22ccb733e3
6044266e775c87afed99397c8bb88366fbbca0e7
/scrapy_projt/xpath_tutorial_1/xpath_normalize-space_span.py
a61ab6ea4dc655eeab231d5be07451831d6f7fc6
[]
no_license
ranafge/all-documnent-projects
e4434b821354076f486639419598fd54039fb5bd
c9d65ddea291c53b8e101357547ac63a36406ed9
refs/heads/main
2023-05-08T20:01:20.343856
2021-05-30T10:44:28
2021-05-30T10:44:28
372,186,355
0
1
null
null
null
null
UTF-8
Python
false
false
1,181
py
import scrapy html="""<form class="variants" action="/cart"> <a class="thumb fancybox image_outer" href="products/apple-iphone-5s-16gb-black--space-gray-chernyj" data-fancybox-group="gallery5"> <img src="http://first-store.ru/files/products/iphone%205S%20black_1.100x112.jpg?16ef5c4132fc88594851f92ccc2f3437"...
[ "ranafge@gmail.com" ]
ranafge@gmail.com
c55d7e21b155df85decbb4db71b4bff34ba005ab
c80b3cc6a8a144e9858f993c10a0e11e633cb348
/components/ally-core-http/__setup__/ally_core_http/definition_time_zone.py
c7622168d8027cd0b24ee99b10fc4017a9d64a68
[]
no_license
cristidomsa/Ally-Py
e08d80b67ea5b39b5504f4ac048108f23445f850
e0b3466b34d31548996d57be4a9dac134d904380
refs/heads/master
2021-01-18T08:41:13.140590
2013-11-06T09:51:56
2013-11-06T09:51:56
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,179
py
''' Created on Jul 17, 2013 @package: ally core http @copyright: 2012 Sourcefabric o.p.s. @license: http://www.gnu.org/licenses/gpl-3.0.txt @author: Gabriel Nistor Provides the time zone header definitions. ''' from ..ally_core.definition import definitions, defin, errors, error, desc from .definition_header import ...
[ "gabriel.nistor@sourcefabric.org" ]
gabriel.nistor@sourcefabric.org
d0c4d0d97f9a1c42d2bc97257e59f28c94e033e4
6f56dbc188abcc8156eb7dae625243192516675b
/python/jittor/test/test_lazy_execution.py
ce276b4798848f4d6ea6f3e482b3ff93859baa1f
[ "Apache-2.0" ]
permissive
linker666/jittor
80e03d2e8dec91bb69d4d6f7b0d222bfbf6c750f
96545765eca7364ec4938e1fa756bce4cb84dfb8
refs/heads/master
2023-02-09T21:28:48.706061
2021-01-05T15:08:33
2021-01-05T15:08:33
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,315
py
# *************************************************************** # Copyright (c) 2020 Jittor. All Rights Reserved. # Maintainers: # Meng-Hao Guo <guomenghao1997@gmail.com> # Dun Liang <randonlang@gmail.com>. # # # This file is subject to the terms and conditions defined in # file 'LICENSE.txt', which is part of ...
[ "randonlang@gmail.com" ]
randonlang@gmail.com
a42e0f404a06eceeff048e1750ca7e2890973dfc
7da3fe4ea12be962b574c8be63c35014df0d2faf
/facade.py
7f78edabd4455cfb95a3de2bfdde477d571562e5
[]
no_license
hanmiton/patronesDise-o
2a4b581fc90a512bf7db26f728a17ce0f48eef83
523d993dfc60318e4af4a4dbc7fa236b9ae0bc94
refs/heads/master
2020-04-18T16:54:08.084782
2016-09-01T06:16:29
2016-09-01T06:16:29
66,985,551
0
0
null
null
null
null
UTF-8
Python
false
false
471
py
class Scanner: def __init__(self): self.name = "Scanner" class Parser: def __init__(self): self.name = "Parser" class Compiler: def __init__(self): self.name = "Compiler" self.scanner = Scanner() self.parser = Parser() def compile(self): print("Compiling ...") print("Scanning %...
[ "hanmilton_12@outlook.com" ]
hanmilton_12@outlook.com
c0474becc0c7f964e582da615406555736dbaf11
de24f83a5e3768a2638ebcf13cbe717e75740168
/moodledata/vpl_data/17/usersdata/132/6773/submittedfiles/lecker.py
4b0c09bdee76966f8925264740fabe32156d6d34
[]
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
403
py
# -*- coding: utf-8 -*- from __future__ import division import math a= input(' digite um valor:') b= input(' digite um valor:') c= input(' digite um valor:') d= input(' digite um valor:') if a>b>c>d: print('S') if a>b>c<d: print('N') if a>b<c>d: print('N') if a>b<c<d: print('N') if a<b>c>d: print('S...
[ "rafael.mota@ufca.edu.br" ]
rafael.mota@ufca.edu.br
570b3e7425911bb1015aa72da24b6775e9a9cf9f
ca7aa979e7059467e158830b76673f5b77a0f5a3
/Python_codes/p03030/s750969702.py
3af20d6d293086c39ad8ce1585af7340da080628
[]
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
159
py
n = int(input()) lst = [] for i in range(n): s, p = input().split() lst.append([s, -(int(p)), i+1]) lst.sort() for i in range(n): print(lst[i][2])
[ "66529651+Aastha2104@users.noreply.github.com" ]
66529651+Aastha2104@users.noreply.github.com
050b92002ed36ae06083ba938f6d02ed2827a17f
5ecaded45e28c1041c1986c13db446806a28b3ee
/function-arguments/learn-python-function-arguments/positional-argument-unpacking.py
15f83e9c8a7c4b9fe6c11866c9e470762c69f06a
[]
no_license
109658067/Python3_Codecademy
12206ec74e8dc95cc1200491b4ed75b856bfb25e
8480912c6dd15649b3c51f4c205afdd253ea462b
refs/heads/master
2022-09-15T18:21:26.742741
2020-06-04T05:48:58
2020-06-04T05:48:58
null
0
0
null
null
null
null
UTF-8
Python
false
false
423
py
from os.path import join path_segment_1 = "/Home/User" path_segment_2 = "Codecademy/videos" path_segment_3 = "cat_videos/surprised_cat.mp4" # join all three of the paths here! print(join(path_segment_1, path_segment_2, path_segment_3)) def myjoin(*args): joined_string = args[0] for arg in args[1:]: joined_st...
[ "9368802+NiteshMistry@users.noreply.github.com" ]
9368802+NiteshMistry@users.noreply.github.com
a506c46467e4562eaec2431f7bc7348fc991d68b
a4e41b84931ba69d7d8548a7df0ca4fe68ed02b5
/view/customer_test.py
6ab1159cf42343e130a8f828604dc27e840080ab
[]
no_license
LittleDeveloper-CSharp/typography_rmp
b05869b735df1c72c6d0c11addb6b1c68fda62f3
6a0e50f7ffbdc51b609761be3bf23920721682b3
refs/heads/master
2023-04-13T21:36:22.589576
2021-04-25T20:05:52
2021-04-25T20:05:52
361,526,716
0
0
null
null
null
null
UTF-8
Python
false
false
3,927
py
import models.customer from tkinter import Entry, END, Button, Label, Frame, VERTICAL from tkinter.ttk import Treeview, Scrollbar class CustomerWindow: def fill_tree_view(self): self.list_customer = models.customer.select_customer() for item in self.list_customer: self.tree_view_custome...
[ "test" ]
test
c0f9dbecd67de39faf7a200cd391cce07c3eb470
c80e4dea4548de89d32f2abd6ca58812670ecc7b
/scripts/regal/RegalDispatch.py
49aa3451931469377a6fd4c1f560c3bfcb014de4
[ "Unlicense", "MIT", "LicenseRef-scancode-glut", "BSD-3-Clause", "SGI-B-2.0", "LicenseRef-scancode-public-domain", "BSD-2-Clause" ]
permissive
chinmaygarde/regal
971699cc8d991633b7257ce9ced2b4d65dd6d9b2
db0832075bd78241afe003b9c1b8f6ac0051370b
refs/heads/master
2021-01-17T04:42:10.354459
2012-10-10T09:08:13
2012-10-10T09:08:13
6,150,566
1
0
null
null
null
null
UTF-8
Python
false
false
5,311
py
#!/usr/bin/python -B from string import Template, upper, replace from ApiUtil import outputCode from ApiUtil import typeIsVoid from ApiCodeGen import * from RegalDispatchLog import apiDispatchFuncInitCode from RegalDispatchEmu import dispatchSourceTemplate from RegalContextInfo import cond ########################...
[ "nigels@users.sourceforge.net" ]
nigels@users.sourceforge.net
dc55651adbffad521879c30bf2544d1f19ac7c98
472370808bd279442f25b1bb96c20e8a164d3b06
/train_k7.py
772ef38767cbcb6b81ba9125cae686aaaed5a87c
[]
no_license
Qidian213/Emotion_challenge
d2983a078aa6c0ff76d052d0120acc9f387ecb6d
b214c532a4b079d6654507d2865ec65336ead65e
refs/heads/master
2021-08-28T20:58:45.547325
2021-08-18T11:10:46
2021-08-18T11:10:46
246,117,379
0
0
null
null
null
null
UTF-8
Python
false
false
5,430
py
import os import logging import torch import torch.optim import numpy as np from torch.optim import lr_scheduler from datasets import make_dataloader,RandomSampler,train_collate from torch.utils.data import DataLoader import torch.nn.functional as F from torch.nn.parallel.data_parallel import data_parallel from model i...
[ "xhx1247786632@gmail.com" ]
xhx1247786632@gmail.com
5b7cc4476300d195ed7f2a305a7db60edd92fcc5
dc40794d0d17f4ee552d58621c4340e60a998d68
/leetcode/python/remove-all-adjacent-duplicates-in-string.py
c6153b82c0e4c1b7c2a2b2f055323d3690212110
[]
no_license
lsom11/coding-challenges
26e67e440bea4c42a0f28051653290f2cb08d0e7
4c127fdeb2ccbbdcdee0c8cd5d5ba47631508479
refs/heads/master
2021-11-23T11:40:37.516896
2021-10-27T15:50:35
2021-10-27T15:50:35
193,889,529
1
3
null
2020-10-27T12:59:54
2019-06-26T11:15:27
Python
UTF-8
Python
false
false
238
py
class Solution: def removeDuplicates(self, S): stack = [] for s in S: if not stack or s != stack[-1]: stack += [s] else: stack.pop() return ''.join(stack)
[ "lucwsomers@gmail.com" ]
lucwsomers@gmail.com
5a1531e3ab03bca5ad92b86fd67eda6eaa285b9a
13acfcb4a300d6c9f40c79f56175c74b0f673c3f
/ILI9341/examples/01_basic/05a_println.py
9be665576366149f3decadc57fbec3e13c34cad2
[]
no_license
mchobby/pyboard_drive
821d7fce0f6791877397159cdf3c0636916628ae
8e32dc68b131d31aba38087588883fac26534d0f
refs/heads/master
2021-01-18T16:13:50.127858
2016-04-10T19:43:21
2016-04-10T19:43:21
55,912,768
1
0
null
2016-04-10T17:25:57
2016-04-10T17:25:56
Python
UTF-8
Python
false
false
1,103
py
# The driver allows you to draw text (string) on the screen. # Text drawing has the following feature: # * Support of various font # * Support for text color (and background color) # * Cursor blinking # * Draw from position (x,y) # from lcd import * from fonts.arial_14 import Arial_14 import pyb l = LCD( rate...
[ "info@mchobby.be" ]
info@mchobby.be
8257e2e8157015ef95f33c5f7785f5aef2c3375c
170026ff5b435027ce6e4eceea7fff5fd0b02973
/glycan_profiling/serialize/base.py
b71b0e0048d9fda6a2af63717a16b06d6e733fa8
[ "Apache-2.0" ]
permissive
mstim/glycresoft
78f64ae8ea2896b3c4f4c185e069387824e6c9f5
1d305c42c7e6cba60326d8246e4a485596a53513
refs/heads/master
2022-12-24T23:44:53.957079
2020-09-29T13:38:20
2020-09-29T13:38:20
276,471,357
0
0
NOASSERTION
2020-07-01T20:04:43
2020-07-01T20:04:42
null
UTF-8
Python
false
false
1,397
py
from sqlalchemy.ext.declarative import declarative_base from sqlalchemy import ( Column, Numeric, Integer, String, ForeignKey, PickleType, Boolean) from sqlalchemy.orm import validates from sqlalchemy.orm.session import object_session Base = declarative_base() def Mass(index=True): return Column(Numeric(...
[ "mobiusklein@gmail.com" ]
mobiusklein@gmail.com
d5b88f8629f9f6924631d18a30e861b74631cacc
53fab060fa262e5d5026e0807d93c75fb81e67b9
/backup/user_354/ch118_2020_10_05_20_26_56_452982.py
e6c9398b5afb5dea7dc4d9be024f67529850913e
[]
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
169
py
import math def reflexao_total_interna(n1,n2,o2): y=(n2*math.sin(math.radians(o2)))/n1 if y > 1: return True else: return False
[ "you@example.com" ]
you@example.com
31cc256c5c48f8f108aebbc668b02473408ab0fc
0f9f8e8478017da7c8d408058f78853d69ac0171
/python3/l0203_remove_linked_list_elements.py
11775486cd12a337eda8f3139c2959e183cdbebc
[]
no_license
sprax/1337
dc38f1776959ec7965c33f060f4d43d939f19302
33b6b68a8136109d2aaa26bb8bf9e873f995d5ab
refs/heads/master
2022-09-06T18:43:54.850467
2020-06-04T17:19:51
2020-06-04T17:19:51
null
0
0
null
null
null
null
UTF-8
Python
false
false
344
py
from common import ListNode class Solution: def removeElements(self, head: ListNode, val: int) -> ListNode: p = dummy = ListNode(0) dummy.next = head while p.next: if p.next.val == val: p.next = p.next.next else: p = p.next ret...
[ "zhoulv82@gmail.com" ]
zhoulv82@gmail.com
a1730b0036d7737aea484625171644187585d455
6b2a8dd202fdce77c971c412717e305e1caaac51
/solutions_5630113748090880_0/Python/Dog/mainB.py
8ad199a6e9d658b1e59232341d93ba4eca935dc0
[]
no_license
alexandraback/datacollection
0bc67a9ace00abbc843f4912562f3a064992e0e9
076a7bc7693f3abf07bfdbdac838cb4ef65ccfcf
refs/heads/master
2021-01-24T18:27:24.417992
2017-05-23T09:23:38
2017-05-23T09:23:38
84,313,442
2
4
null
null
null
null
UTF-8
Python
false
false
793
py
#! /usr/bin/env python3 import sys def solve(numbers): counts = dict((n, 0) for n in set(numbers)) for n in numbers: counts[n] += 1 row = list() for (n, c) in counts.items(): if c % 2 == 1: row.append(n) return ' '.join(map(str, sorted(row))) #########################...
[ "alexandra1.back@gmail.com" ]
alexandra1.back@gmail.com
a85936ec234127243476ed150e317b33f2431a3c
8f0aa0b8b8a9c9a8884fa6cb769ee34639e2f355
/lending_library/lender_profile/models.py
ea35d7bdcd283a51b6d3d6541fb9033377044c57
[]
no_license
datatalking/django-lender-401d7
3f9e2b46e73a0efd17c082b87edf4705ad7ddded
64eae040c4c778cb96e2dedbdb2de5dc2bc1223b
refs/heads/master
2020-03-11T17:16:31.631481
2017-11-30T23:11:14
2017-11-30T23:11:14
null
0
0
null
null
null
null
UTF-8
Python
false
false
271
py
from django.db import models from django.contrib.auth.models import User # Create your models here. class LenderProfile(models.Model): location = models.CharField(max_length=200, blank=True, null=True) user = models.OneToOneField(User, related_name='profile')
[ "nhuntwalker@gmail.com" ]
nhuntwalker@gmail.com
0480de31fa8374c05cecf776dc5f07449d15f22e
15f321878face2af9317363c5f6de1e5ddd9b749
/solutions_python/Problem_95/2141.py
e328217501accf9709c862aaf76b4cc5c0f26338
[]
no_license
dr-dos-ok/Code_Jam_Webscraper
c06fd59870842664cd79c41eb460a09553e1c80a
26a35bf114a3aa30fc4c677ef069d95f41665cc0
refs/heads/master
2020-04-06T08:17:40.938460
2018-10-14T10:12:47
2018-10-14T10:12:47
null
0
0
null
null
null
null
UTF-8
Python
false
false
455
py
from string import maketrans import sys def trans(input): alpha = "abcdefghijklmnopqrstuvwxyz" trans = "yhesocvxduiglbkrztnwjpfmaq" transtab = maketrans(alpha,trans) return input.translate(transtab) if __name__ == "__main__": f = sys.stdin if len(sys.argv) >= 2: fn = sys.argv[1] if fn != '-': ...
[ "miliar1732@gmail.com" ]
miliar1732@gmail.com
dd9ac21ba1fb5bced046fac8d050cf79d2b20897
fb28a622b21f5127c83c7fe6193b6312294b2dbe
/apps/order/migrations/0010_auto_20190729_0947.py
911a373cc6830572f340789dd65c5e59e26d2a0d
[]
no_license
laoyouqing/video
0cd608b1f9d3a94da4a537867fafce6f7dcd1297
9aa7ecf17f0145437408a8c979f819bb61617294
refs/heads/master
2022-12-19T11:02:01.343892
2019-08-21T04:00:13
2019-08-21T04:00:13
203,500,521
0
0
null
2022-12-08T06:03:17
2019-08-21T03:40:13
Python
UTF-8
Python
false
false
536
py
# Generated by Django 2.1.1 on 2019-07-29 01:47 from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): dependencies = [ ('order', '0009_auto_20190729_0941'), ] operations = [ migrations.AlterField( model_name='ordergo...
[ "lingo.lin@foxmail.com" ]
lingo.lin@foxmail.com
5326a03c579aa60eca70ccc490e2ce6b66223d77
15f0514701a78e12750f68ba09d68095172493ee
/Python3/488.py
2fe4101ca082c932b0960dd56c0a27563aed247f
[ "MIT" ]
permissive
strengthen/LeetCode
5e38c8c9d3e8f27109b9124ae17ef8a4139a1518
3ffa6dcbeb787a6128641402081a4ff70093bb61
refs/heads/master
2022-12-04T21:35:17.872212
2022-11-30T06:23:24
2022-11-30T06:23:24
155,958,163
936
365
MIT
2021-11-15T04:02:45
2018-11-03T06:47:38
null
UTF-8
Python
false
false
3,473
py
__________________________________________________________________________________________________ sample 28 ms submission class Solution: def findMinStep(self, board: str, hand: str) -> int: from collections import Counter balls_count = Counter(hand) return self.dfs(board,...
[ "strengthen@users.noreply.github.com" ]
strengthen@users.noreply.github.com
c4a6e8d1854c60e586f254827e4f58e654aec6df
910d1c6f0531982ac85cfbfcfd96f694d77d53d9
/tornado-restfulapi/celery_app/celeryconfig.py
b54ff2f18fb2036a8084450817b73fe78a3fcf5c
[ "MIT" ]
permissive
zhangyong7887/tornado
d00ed173a542c187a2272fd9d250679894cc3263
2a89ce36380c7f322acbcd7cf5b035b3e8d99619
refs/heads/main
2023-03-27T07:26:11.600519
2021-03-11T22:08:18
2021-03-11T22:08:18
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,812
py
from celery.schedules import crontab from datetime import timedelta from kombu import Queue from kombu import Exchange # 设置任务接受的类型,默认是{'json'} accept_content = ['json'] # 请任务接受后存储时的类型 result_accept_content = ['json'] # 时间格式化为中国的标准 timezone = "Asia/Shanghai" # 结果序列化为json格式 默认值json从4.0开始(之前为pickle)。 result_serializer...
[ "wishkind@126.com" ]
wishkind@126.com
7f9cf2c3ee18d83cacfa58b96162d62ed0d51a03
52cb25dca22292fce4d3907cc370098d7a57fcc2
/BAEKJOON/다이나믹 프로그래밍/9461_파도반 수열.py
9696a17c3a5037916b2f467d9cac06307a38b7ef
[]
no_license
shjang1013/Algorithm
c4fc4c52cbbd3b7ecf063c716f600d1dbfc40d1a
33f2caa6339afc6fc53ea872691145effbce0309
refs/heads/master
2022-09-16T12:02:53.146884
2022-08-31T16:29:04
2022-08-31T16:29:04
227,843,135
1
0
null
null
null
null
UTF-8
Python
false
false
295
py
# 동적 계획법(다이나믹 프로그래밍)을 이용 # 4번째부터 규칙 존재 def triangle(N): f = [0, 1, 1, 1] for i in range(4, N+1): f.append(f[i-3]+f[i-2]) return f[N] T = int(input()) for _ in range(T): N = int(input()) print(triangle(N))
[ "shjang113@gmail.com" ]
shjang113@gmail.com
2189c521d643b8c9feae447145f8e67196cd1384
ea727658bb22df6dd0a4d8aaff5d13beec8ec8b5
/examples/大數據資料分析/範例程式/第11章/program11-2.py
ee59c8722f865802cb46b9adc72cedd22431edec
[]
no_license
kelvinchoiwc/DataScience_1082
f8e31c230776f45d70f6b96ef81d16881118e453
199f915540afe6c9a9ec7055aac5911420d783be
refs/heads/master
2023-07-24T04:29:01.763893
2021-09-01T12:33:21
2021-09-01T12:33:21
null
0
0
null
null
null
null
UTF-8
Python
false
false
235
py
import random s2 = tuple([random.randint(1, 49) for i in range(1,100)]) print(s2) lottoNums = 50*[0] for i in range(len(s2)): k = s2[i] lottoNums[k] += 1 for j in range(1, len(lottoNums)): print('%d: %d'%(j, lottoNums[j]))
[ "jumbokh@gmail.com" ]
jumbokh@gmail.com
e03e4f0d8e5feaf4628a344d6adcdffa5bdb7312
0adb19e463ec27dda57b7f551b2d49e229053b8c
/film_editing/film_edit_skill.py
16cc540b54225aae15ee09161b532391f16a7bf9
[]
no_license
alam-mahtab/FastapiCD
c8d36852a674583bba088eee8b1cb98a24acbea1
7206179408a9ae67ba485a4620d14b470009153d
refs/heads/main
2023-02-25T05:56:35.685081
2021-02-03T16:16:26
2021-02-03T16:16:26
335,682,061
0
0
null
null
null
null
UTF-8
Python
false
false
2,741
py
from typing import List from fastapi import Depends,File, UploadFile, APIRouter from sqlalchemy.orm import Session from film_editing import crud, models from writer.database import SessionLocal, engine from film_editing.schemas import FilmeditBase, FilmeditList from film_editing.models import Filmedit # Pagination from...
[ "67095487+alam-mahtab@users.noreply.github.com" ]
67095487+alam-mahtab@users.noreply.github.com
f0806efc13466846b13387d88cdb1bf970b40434
5254c3a7e94666264120f26c87734ad053c54541
/4. Aleatoridad/4.2 Random/ejercicio_4.9.py
dfd5b986fc932ed4cef71f7090ca15df0345c9d0
[]
no_license
ccollado7/UNSAM---Python
425eb29a2df8777e9f892b08cc250bce9b2b0b8c
f2d0e7b3f64efa8d03f9aa4707c90e992683672d
refs/heads/master
2023-03-21T17:42:27.210599
2021-03-09T13:06:45
2021-03-09T13:06:45
286,613,172
0
0
null
null
null
null
UTF-8
Python
false
false
220
py
# -*- coding: utf-8 -*- """ Created on Thu Aug 27 09:13:45 2020 @author: User """ #Ejercicio 4.9 import random def genear_punto(): x = random.random() y = random.random() return(x,y) print(genear_punto())
[ "46108725+ccollado7@users.noreply.github.com" ]
46108725+ccollado7@users.noreply.github.com
aff205bbbf740f5431d56b6de1825f1a154142f0
04b1803adb6653ecb7cb827c4f4aa616afacf629
/components/timers/DEPS
413f57b96cae54eaae8224d794ee782a7eca92c5
[ "BSD-3-Clause" ]
permissive
Samsung/Castanets
240d9338e097b75b3f669604315b06f7cf129d64
4896f732fc747dfdcfcbac3d442f2d2d42df264a
refs/heads/castanets_76_dev
2023-08-31T09:01:04.744346
2021-07-30T04:56:25
2021-08-11T05:45:21
125,484,161
58
49
BSD-3-Clause
2022-10-16T19:31:26
2018-03-16T08:07:37
null
UTF-8
Python
false
false
237
include_rules = [ # This directory is shared with Chrome OS, which only links against # base/. We don't want any other dependencies to creep in. "-build", "-content", "-library_loaders", "-net", "-third_party", "-url", ]
[ "sunny.nam@samsung.com" ]
sunny.nam@samsung.com
bdd400d86f704fe57d59d284b35088dda056e839
a7058080e41af37eb77c146fc09a5e4db57f7ec6
/Solved/11723/11723_set.py
7a52dc728f80e451173148d39006f3a366c611eb
[]
no_license
Jinmin-Goh/BOJ_PS
bec0922c01fbf6e440589cc684d0cd736e775066
09a285bd1369bd0d73f86386b343d271dc08a67d
refs/heads/master
2022-09-24T02:24:50.823834
2022-09-21T02:16:22
2022-09-21T02:16:22
223,768,547
0
0
null
null
null
null
UTF-8
Python
false
false
994
py
# Problem No.: 11723 # Solver: Jinmin Goh # Date: 20200410 # URL: https://www.acmicpc.net/problem/11723 import sys def main(): n = int(input()) numSet = set() for _ in range(n): order = list(sys.stdin.readline().split()) if len(order) == 2: num = int(order[1]) ...
[ "eric970901@gmail.com" ]
eric970901@gmail.com
f0f23530fb3cbc50111cfe4a488934543ebda0da
c7d7dfa5ac23b940e852a67155364439d9069486
/widget_image_tools/tests/test_data_get.py
e4b4e188f3230a7c9c77643e2405c1d4efe1f91c
[]
no_license
shurshilov/odoo
d163f6c939bcbfb36bdf83eeeeffca368f0a4722
8099e62254b7f1e113be7b522585dbc352aea5a8
refs/heads/16.0
2023-09-04T03:02:31.427240
2023-09-03T16:25:28
2023-09-03T16:25:28
89,852,559
20
43
null
2023-09-03T06:30:22
2017-04-30T13:32:08
JavaScript
UTF-8
Python
false
false
625
py
import logging from openerp.tests.common import HttpCase _logger = logging.getLogger(__name__) class TestDataGet(HttpCase): at_install = False post_install = True def test_data_get(self): test_attachment = self.env.ref("ir_attachment_url.test_url_attachment") self.env["ir.attachment"].s...
[ "shurshilov.a@yandex.ru" ]
shurshilov.a@yandex.ru
92f627735e41204e95c82484985badde9791b02d
ca7aa979e7059467e158830b76673f5b77a0f5a3
/Python_codes/p02271/s655155562.py
70e2e74705b0aa77c4c0f55bb17c1e3a42de475a
[]
no_license
Aasthaengg/IBMdataset
7abb6cbcc4fb03ef5ca68ac64ba460c4a64f8901
f33f1c5c3b16d0ea8d1f5a7d479ad288bb3f48d8
refs/heads/main
2023-04-22T10:22:44.763102
2021-05-13T17:27:22
2021-05-13T17:27:22
367,112,348
0
0
null
null
null
null
UTF-8
Python
false
false
198
py
n = int(input()) SET1 = {0} for a in map(int, input().split()): for b in tuple(SET1): SET1.add(a + b) input() for m in map(int, input().split()): print('yes' if m in SET1 else 'no')
[ "66529651+Aastha2104@users.noreply.github.com" ]
66529651+Aastha2104@users.noreply.github.com
b9168ca4256f538357f56f9175e1e1b507d98538
56f5b2ea36a2258b8ca21e2a3af9a5c7a9df3c6e
/CMGTools/H2TauTau/prod/25aug_corrMC/up/mc/VBF_HToTauTau_M-120_8TeV-powheg-pythia6/Summer12_DR53X-PU_S10_START53_V7A-v1/AODSIM/V5_B/PAT_CMG_V5_16_0_1377467448/HTT_24Jul_newTES_manzoni_Up_Jobs/Job_80/run_cfg.py
c87bf367bb3c41826a53f12310721f39747c57ee
[]
no_license
rmanzoni/HTT
18e6b583f04c0a6ca10142d9da3dd4c850cddabc
a03b227073b2d4d8a2abe95367c014694588bf98
refs/heads/master
2016-09-06T05:55:52.602604
2014-02-20T16:35:34
2014-02-20T16:35:34
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,477
py
import FWCore.ParameterSet.Config as cms import os,sys sys.path.append('/afs/cern.ch/user/m/manzoni/summer13/CMGTools/CMSSW_5_3_9/src/CMGTools/H2TauTau/prod/25aug_corrMC/up/mc/VBF_HToTauTau_M-120_8TeV-powheg-pythia6/Summer12_DR53X-PU_S10_START53_V7A-v1/AODSIM/V5_B/PAT_CMG_V5_16_0_1377467448/HTT_24Jul_newTES_manzoni_Up...
[ "riccardo.manzoni@cern.ch" ]
riccardo.manzoni@cern.ch