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
cee8539e090be64a5f7173b3a057803ae9d66c8f
055e5a9b64e53d0a87d07ce724fdb05eadc00a8e
/jmatcher/users/migrations/0019_merge_20170410_0521.py
7057179ad7b2519ed202fd18cd66ab435f2bc945
[ "MIT" ]
permissive
jamesaud/se1-group4
73e73cfe6f56a1d1f1b256f13230a28f8d272f6c
5280b13dff33e72ce717318a8dd78a06cd6effb3
refs/heads/master
2021-01-09T05:41:11.686168
2017-04-27T17:13:17
2017-04-27T17:13:17
80,780,388
1
0
null
null
null
null
UTF-8
Python
false
false
338
py
# -*- coding: utf-8 -*- # Generated by Django 1.10.5 on 2017-04-10 05:21 from __future__ import unicode_literals from django.db import migrations class Migration(migrations.Migration): dependencies = [ ('users', '0015_auto_20170409_1556'), ('users', '0018_user_short_description'), ] ope...
[ "jamaudre@indiana.edu" ]
jamaudre@indiana.edu
5670c82a43a643f5d733543fb0552927320696bb
832f86e052d90916fb0c8156825c87dc13c0443e
/imported-from-gmail/2020-01-16-fix-brackets.py
05fd311f1316bc6c204495b94f6525133aaf14b7
[]
no_license
johncornflake/dailyinterview
292615849cea62cb945ecc7039c594b6966a81f3
91bb0edb9e25255e6222279109c15ae9d203970c
refs/heads/master
2022-12-09T21:02:12.204755
2021-06-07T13:09:34
2021-06-07T13:09:34
225,059,833
0
0
null
2022-12-08T11:27:38
2019-11-30T19:24:58
Python
UTF-8
Python
false
false
611
py
Hi, here's your problem today. This problem was recently asked by Twitter: Given a string with only ( and ) , find the minimum number of characters to add or subtract to fix the string such that the brackets are balanced. Example: Input: '(()()' Output: 1 Explanation: The fixed string could either be ()() by d...
[ "chadeous@gmail.com" ]
chadeous@gmail.com
e75dd8c6b2b4b77b7eb7778f390b6182c92f1b16
ca7aa979e7059467e158830b76673f5b77a0f5a3
/Python_codes/p03696/s991573247.py
2a4297734905538666e9564192e9f911fa2b72ac
[]
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
826
py
# coding: utf-8 import sys #from operator import itemgetter sysread = sys.stdin.buffer.readline read = sys.stdin.buffer.read #from heapq import heappop, heappush #from collections import defaultdict sys.setrecursionlimit(10**7) #import math #from itertools import product, accumulate, combinations, product #import bisec...
[ "66529651+Aastha2104@users.noreply.github.com" ]
66529651+Aastha2104@users.noreply.github.com
5ff59f2a7c0c5bfe42bfba11cc687c1a6f58470f
e1d6de1fb5ce02907df8fa4d4e17e61d98e8727d
/corpora/corpus_reader.py
87865c2db4af9e8d3a0af9f33d532c0e28e798b8
[]
no_license
neuroph12/nlpy
3f3d1a8653a832d6230cb565428ee0c77ef7451d
095976d144dacf07414bf7ee42b811eaa67326c1
refs/heads/master
2020-09-16T08:24:37.381353
2016-09-10T19:24:05
2016-09-10T19:24:10
null
0
0
null
null
null
null
UTF-8
Python
false
false
769
py
import nltk from nltk.corpus import gutenberg emma = gutenberg.words('austen-emma.txt') print(len(emma)) emma = nltk.Text(gutenberg.words('austen-emma.txt')) print(emma.concordance('surprize')) # raw = gutenberg.raw("burgess-busterbrown.txt") # print(raw[1:20]) # words # words = gutenberg.words("burgess-busterbrown...
[ "anderscui@gmail.com" ]
anderscui@gmail.com
672f0214711e47b569a7596461b9befa37e15306
150d9e4cee92be00251625b7f9ff231cc8306e9f
/PathSumII.py
dfcf36fff64e9e02cdc4acebd71dc0fec6b03159
[]
no_license
JerinPaulS/Python-Programs
0d3724ce277794be597104d9e8f8becb67282cb0
d0778178d89d39a93ddb9b95ca18706554eb7655
refs/heads/master
2022-05-12T02:18:12.599648
2022-04-20T18:02:15
2022-04-20T18:02:15
216,547,245
0
0
null
null
null
null
UTF-8
Python
false
false
1,641
py
''' Path Sum II Given the root of a binary tree and an integer targetSum, return all root-to-leaf paths where each path's sum equals targetSum. A leaf is a node with no children. Example 1: Input: root = [5,4,8,11,null,13,4,7,2,null,null,5,1], targetSum = 22 Output: [[5,4,11,2],[5,8,4,5]] Example 2: Input: roo...
[ "jerinsprograms@gmail.com" ]
jerinsprograms@gmail.com
da4a77a1a728a608f6a7aba60efcbd04b675bee6
3088dc21f3e5eeb31575704712a695d71772495f
/torch/distributed/fsdp/_optim_utils.py
601db958c3fe63a83b2a26dd2d61a7a842d25dbf
[ "BSD-3-Clause", "LicenseRef-scancode-generic-cla", "BSL-1.0", "Apache-2.0", "BSD-2-Clause" ]
permissive
ezyang/pytorch
8e82444c78025ff12fa605a62a18acfc43b176b8
6fc64500d1af9ee1306c7695ab0a2ff01852ff00
refs/heads/master
2023-09-02T01:56:28.108400
2022-06-07T19:13:21
2022-06-07T19:13:21
101,798,885
3
0
NOASSERTION
2022-08-23T22:10:07
2017-08-29T19:28:39
C++
UTF-8
Python
false
false
42,568
py
import copy import functools from typing import ( Any, Dict, Iterable, Iterator, List, NamedTuple, Optional, Tuple, Union, ) import torch import torch.distributed as dist # Import the entire FSDP file to avoid circular imports import torch.distributed.fsdp.fully_sharded_data_paralle...
[ "pytorchmergebot@users.noreply.github.com" ]
pytorchmergebot@users.noreply.github.com
f498651857a6a53c8e4ebfeb0f204f23da1d3690
5b683c7f0cc23b1a2b8927755f5831148f4f7e1c
/Python_Study/DataStructureAndAlgorithm/company_programming_test/度小满/duxiaoman_1.py
44a022a61f6419461c25e2f49b922a112256b254
[]
no_license
Shmilyqjj/Shmily-py
970def5a53a77aa33b93404e18c57130f134772a
770fc26607ad3e05a4d7774a769bc742582c7b64
refs/heads/master
2023-09-02T04:43:39.192052
2023-08-31T03:28:39
2023-08-31T03:28:39
199,372,223
1
0
null
null
null
null
UTF-8
Python
false
false
688
py
#!/usr/bin/python3 # -*- coding:utf-8 -*- """ Description: Author:jiajing_qu Date: 2019/9/15 19:44 穿越障碍物 时间限制:C/C++语言 1000MS;其他语言 3000MS 内存限制:C/C++语言 65536KB;其他语言 589824KB 题目描述: 你现在在(0,0),需要到(x,y)去,路上有n个障碍物。给出每个障碍物的坐标,你只能平行于坐标轴走整数步,问你最少需要多少步才能走到目的地。 输入 第一行三个数x,y,n 接下来n行,每行描述一个障碍物的坐标x_i,y_i -500≤x,y,x_i,y_i≤500 n≤1...
[ "710552907@qq.com" ]
710552907@qq.com
9e417c4b3a95f7d673fce3c57bf7c5e06c2e5714
d6c117812a618ff34055488337aaffea8cf81ca1
/database/TupleSqlite3.py
27c1e232d6c79bc55a122c9de4b5b04e955b77e3
[]
no_license
c0ns0le/Pythonista
44829969f28783b040dd90b46d08c36cc7a1f590
4caba2d48508eafa2477370923e96132947d7b24
refs/heads/master
2023-01-21T19:44:28.968799
2016-04-01T22:34:04
2016-04-01T22:34:04
55,368,932
3
0
null
2023-01-22T01:26:07
2016-04-03T21:04:40
Python
UTF-8
Python
false
false
1,880
py
# coding: utf-8 # https://forum.omz-software.com/topic/2375/problem-with-list-comprehension from collections import namedtuple import sqlite3 from random import randint from faker import Faker fake = Faker() my_def = {'namedtuple_name': 'REC', 'field_names' :[('id' , 'INTEGER PRIMARY KEY'), ('resid','...
[ "itdamdouni@gmail.com" ]
itdamdouni@gmail.com
84a5f8ae828e44cebcb306f6837843ac1f96503a
48b9d828acf80792bc4385febaa734a2e96ad465
/test-openmps/Examples/08_Heisenberg_spinone_iMPS.py
cb60a6f9b6a1ef388cf4d116e46e08b2104d414d
[ "MIT" ]
permissive
OminiaVincit/qphase-trans
dd4ab2e0cacc449ead3bef318a65eb05aed45621
40e0c078dcd74282e8d8f44690433bf670bff8cb
refs/heads/master
2023-05-06T12:14:30.368375
2021-05-28T05:11:58
2021-05-28T05:11:58
235,478,493
0
0
null
null
null
null
UTF-8
Python
false
false
3,663
py
import MPSPyLib as mps import numpy as np import sys import os.path def main(PostProcess=False): # Build operators Operators = mps.BuildSpinOperators(spin=1.0) # Define Hamiltonian MPO H = mps.MPO(Operators) H.AddMPOTerm('bond', ['splus', 'sminus'], hparam='J_xy', weight=0.5) H.AddMPOTerm('bo...
[ "k09tranhoan@gmail.com" ]
k09tranhoan@gmail.com
53b08e77991e0b1c805ef8a3b886ebef4fe0b617
47a17b7b649e90ad0eedb270603193eb55703dba
/webapps/API/settings/requests.py
e8da027820d888797c2f58b52f88f9ddf45fa539
[]
no_license
omiguelperez/kaumer-django-knowledge-test
25ff72f0e91e8ebeb542b80921b7083addf2cc3b
63da7943d00e37f4ee8edf6c7cc0cb46656deabf
refs/heads/master
2021-09-28T19:09:49.716506
2018-11-19T19:15:38
2018-11-19T19:15:38
157,953,517
0
0
null
null
null
null
UTF-8
Python
false
false
655
py
# -*- coding: utf-8 -*- from rest_framework import serializers # noinspection PyAbstractClass class CreateSettingSerializer(serializers.Serializer): basic_salary = serializers.FloatField() transport_assistance = serializers.FloatField() holiday_percentage = serializers.FloatField() unemployment_perce...
[ "mr.omiguelperez@gmail.com" ]
mr.omiguelperez@gmail.com
340a21ad7d528e64aeca54c6fcb9ac365b69db55
47c2b01b04ed3ea7c55875b5ea412d90becd970b
/tests/physical_system/test_routing.py
256b1994db12aaa6e854f0f9c384573f153dc669
[]
no_license
adysonmaia/phd-sp-dynamic
f2df9bee38a0246f40739a8e413ec4cb832ab03f
ce7045918f60c92ce1ed5ca4389b969bf28e6b82
refs/heads/master
2023-04-03T20:10:32.593381
2020-12-28T11:12:06
2020-12-28T11:12:06
355,110,247
0
0
null
null
null
null
UTF-8
Python
false
false
2,132
py
from sp.core.model import Scenario, System, EnvironmentInput from sp.physical_system.routing.shortest_path import ShortestPathRouting from sp.physical_system.estimator import DefaultLinkDelayEstimator import json import unittest class RoutingTestCase(unittest.TestCase): @classmethod def setUpClass(cls): ...
[ "adyson.maia@gmail.com" ]
adyson.maia@gmail.com
b74fb1a17ed2f7316dcf55fb45d1f45bf67c4f0f
8cbd55d35a179dff6a7c23a6835bcd329cba8bee
/simplekiq/base.py
6a751156867038799c739df70a90f232355e729c
[ "Apache-2.0" ]
permissive
charsyam/simplekiq
31e3dac37981f48d80cbf8c8d921bebf8cf8a7cc
cd8b02078e06af64d79c5498af55fcdfbaf81676
refs/heads/main
2023-06-24T18:08:47.468046
2021-07-28T15:59:57
2021-07-28T15:59:57
380,718,347
0
0
Apache-2.0
2021-07-28T15:59:58
2021-06-27T11:06:15
Python
UTF-8
Python
false
false
1,413
py
from .constants import Constants import json import redis class KiqQueue: def __init__(self, addr, name, create=True): if not name: raise Exception("Queue name should be supported") self.addr = addr self.conn = self.connect_to_redis(addr) self._name = name self...
[ "charsyam@naver.com" ]
charsyam@naver.com
7a05c0aaddc62ea69efb81d1cbd4b5c08f771f64
209c876b1e248fd67bd156a137d961a6610f93c7
/python/paddle/fluid/tests/unittests/test_increment.py
34c7af4ac081e315c1694b8ef917fc2f08febfa0
[ "Apache-2.0" ]
permissive
Qengineering/Paddle
36e0dba37d29146ebef4fba869490ecedbf4294e
591456c69b76ee96d04b7d15dca6bb8080301f21
refs/heads/develop
2023-01-24T12:40:04.551345
2022-10-06T10:30:56
2022-10-06T10:30:56
544,837,444
0
0
Apache-2.0
2022-10-03T10:12:54
2022-10-03T10:12:54
null
UTF-8
Python
false
false
2,252
py
# Copyright (c) 2020 PaddlePaddle Authors. 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 app...
[ "noreply@github.com" ]
Qengineering.noreply@github.com
e05ca1e744cc58f496b63f7b2feb5c87157fb2bc
99d7a6448a15e7770e3b6f3859da043300097136
/src/mv/segment/region.py
b533e040ccccc4667f5e6e485620c1628d3b316d
[]
no_license
softtrainee/arlab
125c5943f83b37bc7431ae985ac7b936e08a8fe4
b691b6be8214dcb56921c55daed4d009b0b62027
refs/heads/master
2020-12-31T07:54:48.447800
2013-05-06T02:49:12
2013-05-06T02:49:12
53,566,313
0
0
null
null
null
null
UTF-8
Python
false
false
3,357
py
#=============================================================================== # Copyright 2012 Jake Ross # # 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/license...
[ "jirhiker@localhost" ]
jirhiker@localhost
86ab1b6210f05d584469ce7ed92af41e66519780
451331db65a364d3b40eb18a1349e4349695dc87
/FinalFit/datacards/Systematics/PlotLimits.py
c8fe91a84d0e0ab8f2a48a5bef9b9d6d026159a5
[]
no_license
hbakhshi/HaNaMiniAnalyzer
97bc5cdd72cd9651979184b4a1e50f6513100210
1d658c410318271b0c4981a5fba965924a15edff
refs/heads/master
2020-12-25T11:00:13.569640
2017-10-23T17:24:22
2017-10-23T17:24:22
60,080,249
0
1
null
2016-10-26T10:40:23
2016-05-31T10:28:27
Python
UTF-8
Python
false
false
5,304
py
from ROOT import TFile, TTree, TObject, TGraphAsymmErrors, TCanvas, kYellow, kBlack import os import stat import array import math import shutil from ROOT import RooWorkspace, TCanvas , RooFit, TColor, kBlue, kRed, kGreen, RooRealVar, RooConstVar, gROOT, TMath from subprocess import call import sys AllNuisances = [ "C...
[ "hbakhshi@cern.ch" ]
hbakhshi@cern.ch
bd33c7acbcad90997801a4d28eae63b1c866db4b
34c88cb508fe7ad10f258d220d645a60463a9063
/Misc/LUIGenerateGrid.py
b966b2efa47d986046a0f8a62a44e50754c24b0b
[]
no_license
tzaeru/LUI
5a922f3f830a86c424831a6c5947a413c45f2bb8
14f59e24dc45d88f26214d6f51ed3565a7206374
refs/heads/master
2021-01-18T07:30:55.618553
2015-02-27T13:17:19
2015-02-27T14:08:39
31,418,557
0
0
null
2015-02-27T12:38:06
2015-02-27T12:38:05
null
UTF-8
Python
false
false
1,475
py
from os import makedirs from os.path import dirname, join, isdir from panda3d.core import * # Configuration # source = raw_input("Source png file: ") # destPath = dirname(source) # borderSize = int(raw_input("Border size in pixel: ")) source = "btn_green_focus.png" destPath = "../Builtin/res/" destName = "ButtonMag...
[ "tobias.springer1@googlemail.com" ]
tobias.springer1@googlemail.com
732625a0056d57c7d7fb9c8e4a10d6158b1d7766
781e2692049e87a4256320c76e82a19be257a05d
/all_data/exercism_data/python/bob/ed53134d1d8147729802412e83a90f33.py
56931b59d9f26e4f52f9b4e5d7075fe3408da235
[]
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
45
py
#this program the user interacts with "bob".
[ "rrc@berkeley.edu" ]
rrc@berkeley.edu
029bec16424b0a6a283b9075d4ce821c32a71078
9189218d0520ff06fecfa4193466e5662a1628ba
/road_trip/road_trip.py
19225229adf8a091068a100cfdb2f3c0a783b9d3
[]
no_license
TStand90/code-eval
1167e4139a60fead5026ddccb3ba2ede7c8f8666
6cbc4eba0cea4d980648cc238c20a3fcbf942aa5
refs/heads/master
2021-01-17T13:08:00.461910
2016-07-08T22:53:14
2016-07-08T22:53:14
41,000,731
0
0
null
null
null
null
UTF-8
Python
false
false
858
py
import sys def main(file_arg): with open(file_arg) as f: for line in f: location_list = line.strip().split(';') location_list = [location.strip() for location in location_list if location] distances_from_start = [] for each_location in location_list: ...
[ "tstand90@gmail.com" ]
tstand90@gmail.com
529b590d1c69e0ec006f3264aa3e99a1908178bd
d7a4701e18be0f38820f5c15d80099fda6385f9f
/code-festival-2018-quala/A.py
0169373e8ab1935cb62b53a90e895bcbd3510868
[]
no_license
shiki7/Atcoder
979a6f0eeb65f3704ea20a949940a0d5e3434579
c215c02d3bfe1e9d68846095b1bd706bd4557dd0
refs/heads/master
2022-05-21T16:59:01.529489
2022-04-29T11:26:42
2022-04-29T11:26:42
201,536,692
0
0
null
null
null
null
UTF-8
Python
false
false
137
py
a = int(input()) b = int(input()) c = int(input()) s = int(input()) if 0 <= s - (a + b + c) <= 3: print('Yes') else: print('No')
[ "bitbite8@gmail.com" ]
bitbite8@gmail.com
b691b9bbb53e18dfee434ea542d15b52b5b2b775
7c0820998f6ed2f1f5ee82b8b7ffd67c3228bfb6
/pytest_training/conftest.py
46ce2679f535f34c569f0dec3ccd74d57edb06d5
[]
no_license
youinmelin/practice2020
5127241eaccf3ec997bb10671008a9a7c5f9d741
47d376b6d264141c229b6afcc2be803f41fd611e
refs/heads/master
2022-12-12T00:28:22.293373
2020-09-22T08:29:37
2020-09-22T08:29:37
237,427,204
0
0
null
2022-11-04T19:10:12
2020-01-31T12:38:26
Python
UTF-8
Python
false
false
1,363
py
import pytest import tasks from tasks import Task @pytest.fixture() def tasks_db(tmpdir): '''prepare for the test. before the test, build the db envirment''' tasks.start_tasks_db(str(tmpdir),'tiny') yield tasks.stop_tasks_db() @pytest.fixture() def tasks_just_a_few(): """All summaries and owne...
[ "ygqs@sina.com" ]
ygqs@sina.com
e253f5dfd8597281db7b5940b3b852b6df8bf7f1
95fcab4fd10cbd6bd3194002a82aee1337b75e82
/crazy_decrypter
59f65442d9c133d0fc67f6120b3cf57a54e2a00a
[ "MIT" ]
permissive
Python3pkg/Crazy-Decrypter
56b8490a3159fd1482a0cba212d8835518fd2537
ee1dc91cf633d38131ba60e1675f5293bb83a323
refs/heads/master
2021-01-21T17:22:24.733510
2016-05-21T07:14:32
2016-05-21T07:14:32
null
0
0
null
null
null
null
UTF-8
Python
false
false
5,535
#!/usr/bin/env python # -*- coding: utf-8 -*- import time, string, sys import itertools, hashlib NAME = 'Python Crazy Decrypter' VERSION = '0.0.4' AUTHOR = 'Summon Agus' DESCRIPTION = NAME + ''' is real crazy tool to decrypt md5, sha1, sha224, sha256, sha384, and sha512 with Brute Force method.''' CH...
[ "summon.agus@gmail.com" ]
summon.agus@gmail.com
2cd54f26168a16fdb61877804a0372677aa8d4ea
99f6c5b7a6b6840163b32d633e658678d5829b46
/practice/autumn/fibonacci.py
5020c32d0e53287a274b521a1ecefd3b96822b40
[]
no_license
aliceayres/leetcode-practice
32f2695a567317013b567a68863f2c95c75b438b
0743cbeb0e9aa4a8a25f4520a1e3f92793fae1ee
refs/heads/master
2021-06-02T15:11:29.946006
2020-02-06T04:06:55
2020-02-06T04:06:55
131,126,554
0
0
null
null
null
null
UTF-8
Python
false
false
1,261
py
''' Fibonacci ''' class Solution: def solute(self,n): return self.matrix(n) def naive(self,n): if n == 0: return 0 if n == 1: return 1 if n > 1: return self.naive(n-1)+self.naive(n-2) def bottom(self,n): cache = [] for i...
[ "yeziqian@ctsig.com" ]
yeziqian@ctsig.com
62812ccf590249b14771c4b7938a4c52c2551f53
64bf39b96a014b5d3f69b3311430185c64a7ff0e
/intro-ansible/venv3/lib/python3.8/site-packages/ansible_collections/community/network/tests/unit/plugins/modules/network/apconos/test_apconos_command.py
e7070abb121baad0615be7211de59725358f3b9d
[ "MIT", "GPL-3.0-or-later", "GPL-3.0-only" ]
permissive
SimonFangCisco/dne-dna-code
7072eba7da0389e37507b7a2aa5f7d0c0735a220
2ea7d4f00212f502bc684ac257371ada73da1ca9
refs/heads/master
2023-03-10T23:10:31.392558
2021-02-25T15:04:36
2021-02-25T15:04:36
342,274,373
0
0
MIT
2021-02-25T14:39:22
2021-02-25T14:39:22
null
UTF-8
Python
false
false
4,564
py
# (c) 2019 Red Hat Inc. # # This file is part of Ansible # # Ansible is free software: you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation, either version 3 of the License, or # (at your option) any later version. # # Ansible is dis...
[ "sifang@cisco.com" ]
sifang@cisco.com
739421ee81e9e6b444bf86baf71044687467e859
9e988c0dfbea15cd23a3de860cb0c88c3dcdbd97
/sdBs/AllRun/sbss_1210+511/sdB_SBSS_1210+511_lc.py
c7a524db24e2e93df6d5e26eeb3fa943b51619ff
[]
no_license
tboudreaux/SummerSTScICode
73b2e5839b10c0bf733808f4316d34be91c5a3bd
4dd1ffbb09e0a599257d21872f9d62b5420028b0
refs/heads/master
2021-01-20T18:07:44.723496
2016-08-08T16:49:53
2016-08-08T16:49:53
65,221,159
0
0
null
null
null
null
UTF-8
Python
false
false
350
py
from gPhoton.gAperture import gAperture def main(): gAperture(band="NUV", skypos=[183.124667,50.900608], stepsz=30., csvfile="/data2/fleming/GPHOTON_OUTPU/LIGHTCURVES/sdBs/sdB_SBSS_1210+511 /sdB_SBSS_1210+511_lc.csv", maxgap=1000., overwrite=True, radius=0.00555556, annulus=[0.005972227,0.0103888972], verbose=3) if __...
[ "thomas@boudreauxmail.com" ]
thomas@boudreauxmail.com
302e910ed7e156d7359de27096dd03221bb48cb4
ac5ba4cc5f1636b1ef48927ea7a7d9c214f4789d
/CFEBBufferOverloadProducer/test/submit_NtupleProducer.py
02316b93e0570526faf429e4e1830ff39b4dfdce
[]
no_license
sunilbansal/CSCPostLS2RateStudies
c5daa8841288bd7492efc30f779e9108c26b3b39
1411e6ea3e91242e6c4ef35163c71d50781f969f
refs/heads/master
2021-01-18T05:01:16.767500
2015-07-07T17:16:43
2015-07-07T17:16:43
null
0
0
null
null
null
null
UTF-8
Python
false
false
886
py
''' A simple script to easily submit all jobs for buffer rereco studies. ''' import subprocess BufferVersion = 'v7' version = 'v2' datasets = ['HZZ', 'ZZ', 'Zprime'] failureStrings = ['0p00', '0p01', '0p02', '0p05', '0p10', '0p20', '0p03', '0p50', '1p00'] failureModes = ["BOTH", "CFEB", "DDU"] for dataset in dataset...
[ "dntaylor@wisc.edu" ]
dntaylor@wisc.edu
479b76c941db06aea4b63feb4a66b427168ce71e
6fa7f99d3d3d9b177ef01ebf9a9da4982813b7d4
/jdJ5HYuhmrr89nhkB_12.py
fc8eeda3545cbfc7b0afda8beafa87d4b39d5f69
[]
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
43
py
def adds_n(n): return lambda a : a + n
[ "daniel.reich@danielreichs-MacBook-Pro.local" ]
daniel.reich@danielreichs-MacBook-Pro.local
dc8a8cd9cca1d12c7b9559429f70f1a2aa8a6dde
eaea9ca458ae4949e049743e6d712c3389dced00
/cesm_hist2tseries/__init__.py
6c0f8ee7181dbbd2399cd85ed26c937f2e76f9ea
[ "Apache-2.0" ]
permissive
mnlevy1981/cesm-hist2tseries
1702fc1f192c140df3a70dd777892df46b48e435
c9bfcb5b16783bda1849f2d402897f0f6ef3b0c4
refs/heads/main
2023-04-14T04:35:36.554423
2021-05-04T15:54:49
2021-05-04T15:54:49
null
0
0
null
null
null
null
UTF-8
Python
false
false
337
py
#!/usr/bin/env python3 # flake8: noqa """Top-level module for cesm-hist2tseries .""" from pkg_resources import DistributionNotFound, get_distribution try: __version__ = get_distribution(__name__).version except DistributionNotFound: # pragma: no cover # package is not installed __version__ = 'unknown' # ...
[ "axbanihirwe@ualr.edu" ]
axbanihirwe@ualr.edu
fef950be4883a6c91c31bc909c9b76fe895df6f7
ccdeae68e468ad399a89181c37bba4490bcdc259
/scripts/40-genNonLinModelDistMatTopOnRLOnOther.py
5a155d8ec1e6b4f1987b13299f879ceea31190fd
[]
no_license
jameshughes89/NonlinearModelsFMRI-2
19262d4494aa6adc0e9bd9592069ad6b757dda6b
a507a41d0a0a728d02616023aea0e66fafc1c387
refs/heads/master
2021-09-06T17:05:38.086733
2018-02-07T15:19:23
2018-02-07T15:19:23
109,417,040
0
0
null
null
null
null
UTF-8
Python
false
false
3,822
py
''' creates a large distance matrix for all non liear models. CHANGE THE iFile line to switch between LR/RL --- Also be sure to save the output file names too! ''' import csv from math import * import numpy as np import matplotlib.pyplot as plt import topExpressions_NL_RL_EMOTION as emotion import topExpressio...
[ "JamesHughes89@Gmail.com" ]
JamesHughes89@Gmail.com
751621fe4393f2b0e5ae91137618498f9a96c992
525c4a4a65b9b87a2acd027164381d4be8e2d03a
/autotf/tuner/priors/default_priors.py
a725781d2d1bc099191bb22d28cc75a620c8016a
[ "BSD-3-Clause" ]
permissive
DMALab/autotf
da1aecae7b9e51d3e27ccd7ee610dc9b3d6cf491
3f82d858f49c27d5ecb624cee555fb8fd47bf067
refs/heads/master
2021-10-25T06:24:38.243496
2019-04-02T07:41:42
2019-04-02T07:41:42
123,559,497
8
1
null
null
null
null
UTF-8
Python
false
false
1,627
py
import numpy as np from tuner.priors.base_prior import BasePrior, TophatPrior, \ LognormalPrior, HorseshoePrior class DefaultPrior(BasePrior): def __init__(self, n_dims, rng=None): if rng is None: self.rng = np.random.RandomState(np.random.randint(0, 10000)) else: se...
[ "1225646303@qq.com" ]
1225646303@qq.com
2f0aed1419a0bebcacecf1a22b33d367a5260d73
f295b56e9af284092233a724af041a91b35a9f6a
/insert-into-a-binary-search-tree/insert-into-a-binary-search-tree.py
b797e9509a60d9727d912eddfcc852375834be7c
[]
no_license
saviaga/Coding_E
7ebdf03b5eca775903ee4b863b56e26190b40029
dd21bb3b9d8905263416b206877f1a3d9416ee3f
refs/heads/main
2023-05-02T19:42:07.267054
2021-05-21T17:41:52
2021-05-21T17:41:52
334,220,320
0
0
null
null
null
null
UTF-8
Python
false
false
886
py
# Definition for a binary tree node. # class TreeNode(object): # def __init__(self, val=0, left=None, right=None): # self.val = val # self.left = left # self.right = right class Solution(object): def insertIntoBST(self, root, val): """ :type root: TreeNode :type v...
[ "saviaga@gmail.com" ]
saviaga@gmail.com
2c60021bb0b9c29e761d5edbece3cbe083fae8ac
5eb29ce7104e10a399d9afd7e253f029bf8bc0ff
/cu_image_search/search/searcher_filelocal.py
86fe5cc3b6a27c98519f67eb698cc7e8693a9caf
[ "BSD-2-Clause" ]
permissive
svebk/DeepSentiBank_memex
69789dc09316e97aad711edeb251837a60184e7e
4e69ce66e3a177817ff360ddc263f55c6e0b63f7
refs/heads/master
2021-01-18T18:55:10.870052
2017-10-19T22:51:29
2017-10-19T22:51:29
36,091,024
22
1
null
2017-02-09T20:31:20
2015-05-22T19:20:54
Python
UTF-8
Python
false
false
12,685
py
import sys import time import json import numpy as np from collections import OrderedDict from ..memex_tools.sha1_tools import get_SHA1_from_file class SearcherFileLocal(): def __init__(self,global_conf_filename): self.global_conf_filename = global_conf_filename self.global_conf = json.load(open(...
[ "svebor.karaman@gmail.com" ]
svebor.karaman@gmail.com
784d8ea7bf5c599bdbf456370cc6a1361af7936b
e33dbdee28b7452ecd3b051d04af871edd901968
/tools/transcode_tool.py
1561d961bb4466e8b3858456413509a8551e7fbf
[]
no_license
gm19900510/py_examples
07f2b9c35362e95989e4c3e8f0f786056dd828af
48431167458e6528bc6d44b2f51a39d338dd1df1
refs/heads/master
2020-05-30T03:33:53.976482
2019-05-31T02:58:54
2019-05-31T02:58:54
189,517,979
0
0
null
null
null
null
UTF-8
Python
false
false
2,184
py
# -*- coding:utf-8 -*- import redis import subprocess import time import sys def handle(ffmpeg_path, input_path, out_path): command = [ffmpeg_path , '-i' , input_path , '-vcodec', 'copy', '-f' , 'flv', '-an' , out_path] p = subprocess.Popen(command) return p class TranscodeTool(): def __init__(se...
[ "Administrator@PC-20170308PKRS" ]
Administrator@PC-20170308PKRS
4e1dd335864e7af9b9c0fa24be2426897758e16f
04a89d6cbc02af00db57af791eb07f90ddf43944
/Final/junk.py
a0a8b222f27ef60865326eaf40c74a9395d3af52
[]
no_license
jclarkrichards/PacmanRedo
000518456c3de9a29af65176d83e4f6694a697e6
343b661631716ea6f2286c5c8f597f7f600b1e89
refs/heads/main
2023-07-16T09:33:38.891573
2021-08-29T22:12:25
2021-08-29T22:12:25
390,863,357
0
0
null
null
null
null
UTF-8
Python
false
false
302
py
def startFreight(self): self.mode.setFreightMode() if self.mode.current == FREIGHT: self.setSpeed(50) self.directionMethod = self.randomDirection def normalMode(self): self.setSpeed(100) self.directionMethod = self.goalDirection
[ "jclarkrichards@gmail.com" ]
jclarkrichards@gmail.com
30a6eea1c2a60e712bdc1dd08cc73cd8b0adafab
e1e4c05cfe65ec3cf8d42cee703f86c3ac92cf7f
/venv/bin/django-admin
4b33bea41b7df2974115f7c903a12f04f1d6fb35
[]
no_license
jasimdipu/OnlineFoodOrderApp
346095fe74bc765190c436cbe2b8d63bb1cb8837
4e2a523e74bf23c839990a5396d9088b4372605c
refs/heads/main
2023-06-04T01:29:41.011310
2021-06-25T05:36:55
2021-06-25T05:36:55
373,167,609
0
1
null
null
null
null
UTF-8
Python
false
false
298
#!/Users/dipu/Desktop/OnlineFoodOrder/venv/bin/python # -*- coding: utf-8 -*- import re import sys from django.core.management import execute_from_command_line if __name__ == '__main__': sys.argv[0] = re.sub(r'(-script\.pyw|\.exe)?$', '', sys.argv[0]) sys.exit(execute_from_command_line())
[ "dipu.j247@gmail.com" ]
dipu.j247@gmail.com
8b2f2d87f609391859046650bf67f19055c15ae8
b29589f95734682663ae6cd40ab00eb0a94b6d87
/longwave/lblnew_20160916/study__g1_threshold/h2o/conc_None/band09_wn_1900_3000/nv_1000/dv_0.001/ng_5/g_ascending_k_descending/refPTs_P_500_T_250/ng_refs_5/ng_adju_0/getabsth_auto/absth_dlogN_uniform/klin_1e-24/atmpro_mls/wgt_k_1/wgt_0.4_0.4_0.5_0.55_0.85/wgt_flux_1/w_diffuse_1.66_1.66_1.66_1.66_1.66/option_compute_kta...
035cb1191b725e44b014aa9d037c9615a42b702a
[]
no_license
qAp/offline_radiation_notebooks
02c2b2414ef1410f235776001a668f7df0b9f1cf
44fb62391c27e4e314ad68ae3e91f6111b3172c5
refs/heads/master
2020-04-15T14:31:34.675322
2019-07-08T04:45:54
2019-07-08T04:45:54
43,118,324
0
0
null
null
null
null
UTF-8
Python
false
false
847
py
DIR_FORTRAN = '/chia_cluster/home/jackyu/radiation/crd/LW/examples/separate_g_groups/study__lblnew_g1_threshold/h2o/conc_None/band09_wn_1900_3000/nv_1000/dv_0.001/ng_5/g_ascending_k_descending/refPTs_P_500_T_250/ng_refs_5/ng_adju_0/getabsth_auto/absth_dlogN_uniform/klin_1e-24/atmpro_mls/wgt_k_1/wgt_0.4_0.4_0.5_0.55_0.8...
[ "llacque@gmail.com" ]
llacque@gmail.com
090eda276fb550f3ed332283b7330f88c4a215ac
27da1c772decb031eeabdee94530c6c0d53d82d7
/DataStructures/DataStructureAndAlgorithmicThinkingWithPython-master/chapter21miscconcepts/NumberPlusone.py
22e11b09ac5829b47aedb942d7753bb821f14943
[ "MIT" ]
permissive
ManasveeMittal/dropbox
09e400c1cf0286051b115d81b509eabba0159c91
58d893b14119d1a4e87a122ab37aeaa523fa0a3c
refs/heads/master
2021-05-11T19:35:27.104757
2018-01-31T13:46:07
2018-01-31T13:46:07
117,876,352
1
1
null
null
null
null
UTF-8
Python
false
false
1,035
py
# Copyright (c) Dec 22, 2014 CareerMonk Publications and others. # E-Mail : info@careermonk.com # Creation Date : 2014-01-10 06:15:46 # Last modification : 2008-10-31 # by : Narasimha Karumanchi # Book Title : Data Structures And Algorithmic Thinking With Python # Warranty ...
[ "manasvee.k@outlook.com" ]
manasvee.k@outlook.com
010012fa069264721194c28e9de89102e43737dc
704393fd5ee87339623e343e493071c8139f1750
/examples/structured_heatmap.py
5fe55b42bb4025e9201be903cf95257a3a40fd29
[ "BSD-3-Clause" ]
permissive
seanzhou1023/seaborn
18af2d3fa82242899bcd0363ea3810fd521c1c5c
30b4cd8b75e7c80e9edad2b19aa28394cc592455
refs/heads/master
2020-12-02T21:08:54.956829
2017-07-03T19:36:45
2017-07-03T19:36:45
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,206
py
""" Discovering structure in heatmap data ===================================== _thumb: .4, .2 """ import pandas as pd import seaborn as sns sns.set(font="monospace") # Load the brain networks example dataset df = sns.load_dataset("brain_networks", header=[0, 1, 2], index_col=0) # Select a subset of the networks use...
[ "mwaskom@stanford.edu" ]
mwaskom@stanford.edu
0e5abbc5b9435a3e0799123bc67bc74ebf4e32df
473035074bd546694d5e3dbe6decb900ba79e034
/traffic fluid simulator/backend/env_4_6/model/Memory.py
151d10fed341470aef177d167c464d139f4f46c9
[]
no_license
johny1614/magazyn
35424203036191fb255c410412c195c8f41f0ba5
a170fea3aceb20f59716a7b5088ccdcb6eea472f
refs/heads/master
2022-03-26T01:10:04.472374
2019-09-19T16:34:22
2019-09-19T16:34:22
171,033,407
0
0
null
null
null
null
UTF-8
Python
false
false
279
py
import attr from model.Action import ActionInt from model.LearningState import LearningState @attr.s(auto_attribs=True) class Memory: state: LearningState action: ActionInt reward: float new_state: LearningState times: any reshapedReward: bool = False
[ "johny1614@gmail.com" ]
johny1614@gmail.com
492cdf65fcd139d8447f856e9245891e042dcb48
9743d5fd24822f79c156ad112229e25adb9ed6f6
/xai/brain/wordbase/adjectives/_bummed.py
6448a6af4a3d357aec3ad853a9879cbba2677024
[ "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
231
py
from xai.brain.wordbase.adjectives._bum import _BUM #calss header class _BUMMED(_BUM, ): def __init__(self,): _BUM.__init__(self) self.name = "BUMMED" self.specie = 'adjectives' self.basic = "bum" self.jsondata = {}
[ "xingwang1991@gmail.com" ]
xingwang1991@gmail.com
ba5ba8e5b02e27d9baf981f26b5d946dfbcd4aee
d38a51120668fea2664b95537d3c792ad83729c3
/TestCode/archive/HUAWEI_HITLESS_SR_TEST_00.py
cc27b1203f3f7a90a5d82b9a90bcbd899a0b8fa3
[]
no_license
bopopescu/myRepository
fc0847658ebb5f8a78824ec92e0e2fdf47c3ef3c
b0bd6b350101b4a841d00b4294921a9f419cb581
refs/heads/master
2022-11-22T07:19:56.721066
2019-09-07T06:17:32
2019-09-07T06:17:32
282,152,264
0
0
null
2020-07-24T07:25:30
2020-07-24T07:25:29
null
UTF-8
Python
false
false
12,664
py
#Command List ## -it.dbgTemps(7)- DemodReal ## -it.dbgTemps(0)- DomainStage Filter1 ## -it.dbgTemps(1)- DomainStage Filter2 ## -it.dbgTemps(3)- SiBlock Temperature ## -it.dbgTemps(2)- Sled Temperature ## -it.dbgTemps(4)- Photodiode Current ## -it.dbgTemps(16)- GMI ## ...
[ "michael.mercado@neophotonics.com" ]
michael.mercado@neophotonics.com
1ebe3832f7d3e6e2cad8cb7b057128d7445ae88f
5e84763c16bd6e6ef06cf7a129bb4bd29dd61ec5
/blimgui/dist/sdl2/test/sdl2ext_test.py
634c91a13c8617bde9751ff7777b72eacbae1f42
[ "MIT" ]
permissive
juso40/bl2sdk_Mods
8422a37ca9c2c2bbf231a2399cbcb84379b7e848
29f79c41cfb49ea5b1dd1bec559795727e868558
refs/heads/master
2023-08-15T02:28:38.142874
2023-07-22T21:48:01
2023-07-22T21:48:01
188,486,371
42
110
MIT
2022-11-20T09:47:56
2019-05-24T20:55:10
Python
UTF-8
Python
false
false
3,023
py
import sys import pytest import sdl2 from sdl2 import ext as sdl2ext from sdl2 import SDL_Quit, SDL_WasInit, SDL_FlushEvent, SDL_USEREVENT, \ SDL_FIRSTEVENT, SDL_LASTEVENT, SDL_Event, SDL_UserEvent, SDL_PushEvent @pytest.fixture(scope="module") def with_sdl_ext(): if SDL_WasInit(0) != 0: SDL_Quit() ...
[ "justin.sostmann@googlemail.com" ]
justin.sostmann@googlemail.com
d5e5f8ff2426fb8d7ade6fa65b9a3c9e98864f8f
578923e3caaae1d6cde2ad77aa5305f8f87fb360
/docs/conf.py
2396870e3fb317beabf4b0aad5c041bfe97818de
[]
no_license
acieroid/redbaron
0242583bd7a61b3f70611053f01701162809996d
0452393fb070f17c5cbfbefaf0003ab4fcca734f
refs/heads/master
2021-01-14T10:54:21.092982
2014-03-25T20:17:03
2014-03-25T20:17:03
null
0
0
null
null
null
null
UTF-8
Python
false
false
8,229
py
# -*- coding: utf-8 -*- # # RedBaron documentation build configuration file, created by # sphinx-quickstart on Mon Mar 24 06:52:35 2014. # # This file is execfile()d with the current directory set to its # containing dir. # # Note that not all possible configuration values are present in this # autogenerated file. # # ...
[ "cortex@worlddomination.be" ]
cortex@worlddomination.be
a0ece73e9e41e6c549bf663092a130f37be60564
2d0b7c568de35671c54bbe0a32a59bf72983273e
/src/token_generator.py
cbf968be44d0975bbe24f871d1e9461588fe1862
[]
no_license
pantsbuild/rbe-token-server
7ae2a4668990cb69e193f4c529987fe544ae831e
3bfc6410365e415c40b7c4b1879195ba533d8804
refs/heads/master
2021-06-19T05:39:02.068921
2020-02-23T21:23:49
2020-02-23T21:23:49
195,114,143
0
3
null
2021-03-20T01:38:52
2019-07-03T19:20:04
Python
UTF-8
Python
false
false
861
py
from __future__ import annotations from google.cloud import iam_credentials_v1 credentials_client = iam_credentials_v1.IAMCredentialsClient() # NB: The project name must be a wildcard `-`, per # https://cloud.google.com/iam/credentials/reference/rest/v1/projects.serviceAccounts/generateAccessToken. resource_name = c...
[ "noreply@github.com" ]
pantsbuild.noreply@github.com
213483598738cb2665edf987aeda25096640069a
d24a6e0be809ae3af8bc8daa6dacfc1789d38a84
/ABC/ABC101-150/ABC140/A.py
ea6684c60f4ced8735ed7582a6df92a8e687b9ea
[]
no_license
k-harada/AtCoder
5d8004ce41c5fc6ad6ef90480ef847eaddeea179
02b0a6c92a05c6858b87cb22623ce877c1039f8f
refs/heads/master
2023-08-21T18:55:53.644331
2023-08-05T14:21:25
2023-08-05T14:21:25
184,904,794
9
0
null
2023-05-22T16:29:18
2019-05-04T14:24:18
Python
UTF-8
Python
false
false
23
py
print(int(input())**3)
[ "cashfeg@gmail.com" ]
cashfeg@gmail.com
d083ca1556dd430f3d6201dd69d2bae797c40620
ea7d2090ba1d66fc5bf91b255742ae07e1f74c3d
/2020/insomnihack_teaser/welcome/pow.py
7fe66a371a9a4572dc10a0584c49d9cb52517718
[]
no_license
arty-hlr/CTF-writeups
1a3e29b9a3c3b80e33df0c9489cacd6ec09e46fe
64bcda1d1d8893c2ece308f82348755a2c62ca9e
refs/heads/master
2022-08-04T20:26:07.428393
2022-07-30T11:11:34
2022-07-30T11:11:34
167,851,059
4
3
null
2022-07-30T10:55:11
2019-01-27T19:47:03
Python
UTF-8
Python
false
false
232
py
import hashX from pwn import * s = remote('welcome.insomnihack.ch',1337) s.recvuntil('with "') h = s.recv(6).decode() found = hashX.main(h,'md5') log.info(f"found string: {found}") s.sendline(found) log.info(s.recvall().decode())
[ "flrn.pjd@protonmail.com" ]
flrn.pjd@protonmail.com
d584d7c8d4764221eb0ba568444c06c5b4f675d2
4bc048ebbf5d28b399d3ab89e717f3e7496abc38
/periods/tests/test_email_sender.py
e6b3eb6a2683c922dfbbdc6f65b6fe9db9609a2b
[ "MIT" ]
permissive
jessamynsmith/eggtimer-server
3feff03057148f7ab54c0df8c863f1543be886a9
e1b1d9d848893b9e6e56e985da74d6b378c07744
refs/heads/master
2023-02-05T05:38:51.194914
2023-02-04T04:27:02
2023-02-04T04:27:02
8,124,406
50
18
MIT
2023-01-11T12:45:53
2013-02-10T15:57:26
Python
UTF-8
Python
false
false
871
py
from django.contrib.auth import get_user_model from django.test import TestCase from mock import patch from periods import email_sender class TestEmailSender(TestCase): def setUp(self): self.user = get_user_model().objects.create_user( password='bogus', email='jessamyn@example.com', first_na...
[ "geekchick77@gmail.com" ]
geekchick77@gmail.com
ae04c679aa39b3879f61ca4cc2bb61cc2caaa05f
636007d520745778b34ecb57ef0fce5e9ac04481
/mantle_transition_zone_migration_obspy/section_migration_py/cross_section_Ps_Pds_bootstrap.py
6daf4611ceea6f0a7d20aba38937ecceb30a8ff1
[]
no_license
dIOGOLOC/codes_escritos
afc1e67686ace9162080afd6c61783508965d684
b8b5343d1e9ff28a39fc7221f33952f0ffd3db35
refs/heads/master
2023-06-08T12:40:56.511078
2023-06-02T23:33:57
2023-06-02T23:33:57
94,356,450
3
0
null
null
null
null
UTF-8
Python
false
false
23,700
py
# coding: utf-8 import matplotlib.pyplot as plt import matplotlib as mpl import numpy as np import obspy import os from obspy.taup import TauPyModel from obspy.geodetics import kilometer2degrees import copy import matplotlib from matplotlib.cm import get_cmap from mpl_toolkits.mplot3d import Axes3D import cartopy.crs ...
[ "locdiogo@gmail.com" ]
locdiogo@gmail.com
8958e6f53eb6f329cbf8d3590c910185087cc17e
9ae08906602af5eacec43d60e5e428269bf24eb1
/find_light_mask.py
1a766fd56ac704dffe8c178d500376243cf549ba
[]
no_license
yangzhaonan18/TSDcv2
9f73278979542d1a40ced5aa152bbc7fa363398c
e9cb0fefc7177db93510b7bc5ca1bb86e32571c6
refs/heads/master
2020-04-04T19:39:08.138349
2019-03-18T04:54:36
2019-03-18T04:54:36
156,214,910
1
1
null
null
null
null
UTF-8
Python
false
false
55
py
# -*- coding:utf-8 -*- import cv2 import numpy as np
[ "1040238158@qq.com" ]
1040238158@qq.com
42189efd80b229fc640392070b1616e693ff7ad2
6817457f2f7cb635e84d5ac23c76873628fb04cf
/src/dama/models.py
5bf0b6d11db89966aa4c8e2ce8e34ed97f31c38b
[ "Apache-2.0" ]
permissive
elaeon/dama_ml
5d9a63e0daabe332a08b13813de57d9ed2608015
8b56c62a28c69987fc5dbd8a47406a3a22214371
refs/heads/master
2021-10-26T05:24:10.166028
2019-04-11T00:55:44
2019-04-11T00:55:44
58,218,206
2
0
null
null
null
null
UTF-8
Python
false
false
14,906
py
import os import numpy as np from abc import ABC, abstractmethod from dama.data.ds import Data from dama.data.it import Iterator, BatchIterator from dama.utils.files import check_or_create_path_dir from dama.measures import ListMeasure from dama.utils.logger import log_config from dama.utils.config import get_settings ...
[ "mara80@gmail.com" ]
mara80@gmail.com
d865d3d1332562451b41a4baa2d70e83acabd738
ee0b9cd2424e634a212a6d9734af1eaedd40dfe0
/jhub38_dram_mcxtrace/sasview-5.0.4/src/sas/qtgui/MainWindow/UnitTesting/DataExplorerTest.py
03240317cca800fabec43b8d52eb7f4de6dbf3b0
[ "BSD-3-Clause" ]
permissive
moving-northwards/Docker
775755b4618c1a7946f540505b0178e119d294d1
8ef18fd8c6abb0608ce9b53187e53d00d3e4e9ae
refs/heads/master
2023-05-26T08:42:58.634525
2021-06-15T08:41:08
2021-06-15T08:41:08
null
0
0
null
null
null
null
UTF-8
Python
false
false
41,243
py
import sys import time import unittest from PyQt5.QtGui import * from PyQt5.QtWidgets import * from PyQt5.QtTest import QTest from PyQt5.QtCore import * from unittest.mock import MagicMock from unittest.mock import patch from mpl_toolkits.mplot3d import Axes3D # set up import paths import path_prepare # Local from s...
[ "torben.nielsen@esss.se" ]
torben.nielsen@esss.se
d4fcfeef7b63063c5f5d8f152d236ed85efe6a52
41f4415409901876ac153459b4f6fe28a5a934a7
/src/lambda_reduce2.py
8775db4ef45cb5721860c3a3f4f8ed9297b3fde1
[]
no_license
prasertcbs/python_tutorial
4062a413df6192a71eb56f211501d710ddc26b90
2302ea030f6984e6ac3f77a366369e9c47502f5a
refs/heads/master
2023-03-18T16:47:27.564924
2023-03-09T14:33:59
2023-03-09T14:33:59
320,748,324
1
3
null
null
null
null
UTF-8
Python
false
false
1,199
py
from functools import reduce def demo_reduce_logic(): age = 15 gender = 'F' height = 165 weight = 48 crit = [age > 18, gender == 'F', height > 160, weight > 45] ok = reduce(lambda cv, v: cv and v, crit) # ok = crit[0] and crit[1] and crit[2] and crit[3] print(ok) def demo_join_list(): ...
[ "noreply@github.com" ]
prasertcbs.noreply@github.com
b7b671cd460bf84fd46bd1bcb8cbca90d74ec439
344e2956b4e2a30a8ef7532d951f96d995d1dd1e
/16_mmdet/lib/mmdet/models/dense_heads/rpn_test_mixin.py
a59422fd69ed7e61f628b90f4528d0cec11c2370
[ "Apache-2.0", "LGPL-3.0-only", "MIT", "LicenseRef-scancode-proprietary-license", "BSD-3-Clause", "GPL-3.0-only" ]
permissive
karndeepsingh/Monk_Object_Detection
e64199705326e4cd65e4b29946cae210a4ef9649
425fa50a3236cb9097389646275da06bf9185f6b
refs/heads/master
2022-12-22T18:26:53.933397
2020-09-28T12:49:50
2020-09-28T12:49:50
299,307,843
1
1
Apache-2.0
2020-09-28T12:52:18
2020-09-28T12:52:17
null
UTF-8
Python
false
false
2,151
py
import sys from mmdet.core import merge_aug_proposals if sys.version_info >= (3, 7): from mmdet.utils.contextmanagers import completed class RPNTestMixin(object): """Test methods of RPN.""" if sys.version_info >= (3, 7): async def async_simple_test_rpn(self, x, img_metas): sleep_in...
[ "abhishek4273@gmail.com" ]
abhishek4273@gmail.com
ba069b17cac491de9884a946e82b583bcaab68e4
2713827b2f68aae65d4be516f024d51a7e762a97
/doc/user/SConscript
9e039dac7b1b08fbd7c55e9e8439769e0b70f962
[ "MIT" ]
permissive
ptomulik/scons-tool-gnuplot
bd83fd6c4d85fb4391288d90d7e26f67ec4f1f29
2b92500feed48267d1bfdcaaae542a65dcc42b60
refs/heads/master
2021-05-21T12:03:14.776722
2020-04-16T22:36:33
2020-04-16T22:36:33
9,398,514
1
0
null
2020-04-16T22:36:35
2013-04-12T16:21:39
Python
UTF-8
Python
false
false
1,493
# # Copyright (c) 2013-2020 by Pawel Tomulik # # Permission is hereby granted, free of charge, to any person obtaining a copy # of this software and associated documentation files (the "Software"), to deal # in the Software without restriction, including without limitation the rights # to use, copy, modify, merge, pub...
[ "ptomulik@meil.pw.edu.pl" ]
ptomulik@meil.pw.edu.pl
6a3716a612b8ebb22cb755b1aaab49a349259463
fc38005e1474ce803a272387d401da6cd0a8c0ef
/lter_pasta/src/pasta_gmn_adapter/app/restrict_to_verb.py
b5ab1b462e5d53d91264fe160c26b0abe8ce0482
[ "Apache-2.0" ]
permissive
DataONEorg/SlenderNodes
4a3876e12d46c031b99821717533e2f4f39a57c8
34dd4ed9d581d259a70d7c9a884f520226dd2691
refs/heads/master
2023-02-18T08:39:24.072662
2022-01-07T13:12:18
2022-01-07T13:12:18
53,552,615
1
3
Apache-2.0
2023-02-08T02:36:49
2016-03-10T03:38:03
HTML
UTF-8
Python
false
false
1,243
py
#!/usr/bin/env python # -*- coding: utf-8 -*- # 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 t...
[ "git@dahlsys.com" ]
git@dahlsys.com
b968ff45bd84273d0e43339d72915b1cd40cf9af
0bff4e342d15d90dde7ed0b8a8a479b2c82d17d7
/home/check_images.py
7a787f6253d0666f6a04e6ff8730a63e9d128ce2
[]
no_license
AyodejiOkusanya/Dog_classifier_project
e272070d21646d11c5724724c0abdc691c4b8226
13a8f29d9506332bd0bc23415501918565147624
refs/heads/master
2020-07-26T23:41:14.535123
2019-09-16T13:31:38
2019-09-16T13:31:38
208,800,039
0
0
null
null
null
null
UTF-8
Python
false
false
6,398
py
#!/usr/bin/env python3 # -*- coding: utf-8 -*- # */AIPND-revision/intropyproject-classify-pet-images/check_images.py # # TODO 0: Add your information below for Programmer & Date Created. # PROGRAMMER: Ayodeji Okusanya # DATE CREATED: 11th Se...
[ "github email address" ]
github email address
18a586efdc6122d4271bb81d3d0b85f45f3fc386
000a4b227d970cdc6c8db192f4437698cb782721
/python/helpers/typeshed/stubs/redis/redis/commands/json/path.pyi
d33df3045beadd6a79613752d247d376006a94bb
[ "Apache-2.0", "MIT" ]
permissive
trinhanhngoc/intellij-community
2eb2f66a2a3a9456e7a0c5e7be1eaba03c38815d
1d4a962cfda308a73e0a7ef75186aaa4b15d1e17
refs/heads/master
2022-11-03T21:50:47.859675
2022-10-19T16:39:57
2022-10-19T23:25:35
205,765,945
1
0
Apache-2.0
2019-09-02T02:55:15
2019-09-02T02:55:15
null
UTF-8
Python
false
false
125
pyi
class Path: strPath: str @staticmethod def rootPath() -> str: ... def __init__(self, path: str) -> None: ...
[ "intellij-monorepo-bot-no-reply@jetbrains.com" ]
intellij-monorepo-bot-no-reply@jetbrains.com
c3c2c3822b57e06c8b713582230fd8a9950bcfcf
ebd5c4632bb5f85c9e3311fd70f6f1bf92fae53f
/Sourcem8/pirates/inventory/InventoryUIGoldItem.py
1a3afd314852cc484b7e5797f1275e913e7e2160
[]
no_license
BrandonAlex/Pirates-Online-Retribution
7f881a64ec74e595aaf62e78a39375d2d51f4d2e
980b7448f798e255eecfb6bd2ebb67b299b27dd7
refs/heads/master
2020-04-02T14:22:28.626453
2018-10-24T15:33:17
2018-10-24T15:33:17
154,521,816
2
1
null
null
null
null
UTF-8
Python
false
false
1,541
py
from direct.gui.DirectGui import * from pandac.PandaModules import * from pirates.piratesgui import GuiPanel, PiratesGuiGlobals from pirates.piratesbase import PiratesGlobals from pirates.piratesbase import PLocalizer from otp.otpbase import OTPLocalizer from pirates.inventory.InventoryUIGlobals import * from pirates.i...
[ "brandoncarden12345@gmail.com" ]
brandoncarden12345@gmail.com
05464dd5b1fdbd853afe7496ba59a07cb777199b
ce26ae9315d7814f6dbfa1918c7f5c5a6293e49b
/Lammps/Pore/qsub/Launcher.py.bak
145233501f45b556ca2fb8eec925aebc7b2a894c
[]
no_license
sramirezh/Utilities
25982a28cc40c6bea47c8ccbd95870addd2e826d
a86e72787059e511983cd047f3027aa10eba7090
refs/heads/master
2023-02-09T10:16:28.571756
2023-01-31T00:14:28
2023-01-31T00:14:28
89,708,819
4
1
null
null
null
null
UTF-8
Python
false
false
1,576
bak
#!/usr/bin/env python2 # -*- coding: utf-8 -*- """ Created on Tue May 28 09:24:03 2019 "Creates replicas of simulations starting from configurations during the equilibration" @author: sr802 """ import glob import sys import os sys.path.append(os.path.join(os.path.dirname(__file__), '../../../')) #This falls into Utili...
[ "sramirez.hinestrosa@gmail.com" ]
sramirez.hinestrosa@gmail.com
46bc65733acedf9596954169791412496a1c48f4
8b2e795c3040a2ef1d3f0c21752bec57a0614bd6
/venv/Scripts/enhancer.py
294eaaa77d0cdd6cb0de824a7d27a60fe56e0e2b
[]
no_license
harshit8858/NHDO
c75e244dfdc91817b3047d65c7be610f3e18aba3
6a5ea2de4ba607c20c0b9bd241e6b1c82090eba9
refs/heads/master
2023-01-06T20:18:33.795898
2018-01-03T07:39:04
2018-01-03T07:39:04
105,629,451
1
3
null
2022-12-20T22:32:34
2017-10-03T08:26:57
Python
UTF-8
Python
false
false
1,603
py
#!c:\users\harshi~1\nhdo\venv\scripts\python.exe # # The Python Imaging Library # $Id$ # # this demo script creates four windows containing an image and a slider. # drag the slider to modify the image. # import sys if sys.version_info[0] > 2: import tkinter else: import Tkinter as tkinter from PIL import Ima...
[ "harshit8858@gmail.com" ]
harshit8858@gmail.com
48a4d700a45b7466b60ce18dc1bbe99043d5a7ed
42a7abc31b447d1bfa5db19d5e047c475a00ca81
/leetcode/contest/2017/mar4/531.py
15c29bfc748d3be08dcc2797495bcce045c9fc0b
[]
no_license
jonathantsang/CompetitiveProgramming
f01f3727e49e03038a981871f29234fccfac0e7c
05d49ca91ac2a4d414dbb38b01266962ce68f34a
refs/heads/master
2022-12-12T11:52:13.327425
2022-12-07T20:37:37
2022-12-07T20:37:37
121,400,994
2
0
null
2020-10-08T19:24:10
2018-02-13T15:43:07
Python
UTF-8
Python
false
false
1,229
py
class Solution(object): def findLonelyPixel(self, picture): """ :type picture: List[List[str]] :rtype: int """ lonely = 0 picleng = len(picture) row = [] column = [] for w in range(0, 501): row.append(0) fo...
[ "j26tsang@gmail.com" ]
j26tsang@gmail.com
f19f8a0455cc9545e32288d7e8eefcc1050952ce
88eb24f0890457b994e867b68e1b2d3a34a3b900
/rv/uniform.py
ee15e496062954df619b976f1ae08b5fc1370b41
[]
no_license
jiye-ML/Probalistic-Graphical-Model-21-Sample-Method
9cf4168ee5cf2fb33d92236997fc03ff84a2243b
a17351de817dd340a189696592dee9ec77e49edd
refs/heads/master
2020-05-17T08:44:24.075793
2019-04-26T12:56:22
2019-04-26T12:56:22
183,615,211
0
0
null
null
null
null
UTF-8
Python
false
false
1,699
py
import numpy as np from rv.rv import RandomVariable class Uniform(RandomVariable): """ Uniform distribution p(x|a, b) = 1 / ((b_0 - a_0) * (b_1 - a_1)) if a <= x <= b else 0 """ def __init__(self, low, high): """ construct uniform distribution Parameters -----...
[ "woxinxie1234@163.com" ]
woxinxie1234@163.com
a4a582cb04903022b261b7f8fc8ea362601afe49
ac52ddddf672216998a33d5e6905a1a1e4d97a55
/pipe/scripts/filter_misaligned_shared_indels.py
549616ebf8ce5e5022ab69d39483766500b714b8
[ "MIT" ]
permissive
EddieKHHo/megadaph
62e29e72896a5969b21d531a20a95fbce1589c3c
23010e7ce9ee6cceedaa3d4ba3e990e9af34aae0
refs/heads/master
2021-09-22T00:53:15.881183
2018-09-04T02:14:21
2018-09-04T02:14:21
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,362
py
#!/usr/bin/env python3 """Remove indels which are falsely aligned as runs of single base mismatches in other samples.""" # This script is awful import sys import click from pandas import read_csv from plumbum.cmd import rg BASE_IDX = { "A": [4, 8], "T": [5, 9], "C": [6, 10], "G": [7, 11] } def is_...
[ "13209544+fennerm@users.noreply.github.com" ]
13209544+fennerm@users.noreply.github.com
13a2d878d94dd5ce7ae75e793523a256cbb3845e
4fc21c3f8dca563ce8fe0975b5d60f68d882768d
/Ekeopara_Praise/Phase 1/Python Basic 1/Day4 Tasks/Task 4.py
859dab1a442dd79e17c8a15f153c9475f280c367
[ "MIT" ]
permissive
Uche-Clare/python-challenge-solutions
17e53dbedbff2f33e242cf8011696b3059cd96e9
49ede6204ee0a82d5507a19fbc7590a1ae10f058
refs/heads/master
2022-11-13T15:06:52.846937
2020-07-10T20:59:37
2020-07-10T20:59:37
266,404,840
1
0
MIT
2020-05-23T19:24:56
2020-05-23T19:24:55
null
UTF-8
Python
false
false
299
py
'''4. Write a Python program to test whether a passed letter is a vowel or not.''' letr = str(input("Enter any letter: ")) vowel = ["A", 'a', "E", 'e', "I", 'i', "O", 'o', "U", 'u'] if letr in vowel: print("The letter entered is a vowel!") else: print("The letter entered is not a vowel!")
[ "60721962+Ekeopara-Praise@users.noreply.github.com" ]
60721962+Ekeopara-Praise@users.noreply.github.com
0ea60aa86c763bb8a7b07ee39bbe0bdd0cbcfddd
50725a9ada0fe57fa2b49af36863eb1ce9d8c134
/lists/forms.py
319463e501e13dc9c5482844c30dda02536e6d03
[]
no_license
dungnguyen1991/superlists
1381537a2b168b6d5ea5bac23608f8f425ce642f
e3bcca1876275414d5dba1f83c482eadaff381d3
refs/heads/master
2023-08-28T07:09:12.855120
2021-10-12T09:24:21
2021-10-12T09:24:21
396,571,092
0
0
null
null
null
null
UTF-8
Python
false
false
1,324
py
from django import forms from django.core.exceptions import ValidationError from lists.models import Item, List EMPTY_ITEM_ERROR = "You can't have an empty list item" DUPLICATE_ITEM_ERROR = "You've already got this in your list" class ItemForm(forms.models.ModelForm): class Meta: model = Item ...
[ "dungnguyendeveloper1991@gmail.com" ]
dungnguyendeveloper1991@gmail.com
014ee15478ee543d6b6c2633912f2e2076087098
f576f0ea3725d54bd2551883901b25b863fe6688
/sdk/redis/azure-mgmt-redis/generated_samples/redis_cache_linked_server_get.py
b448a35a6f903c774db566a3add94321ac068413
[ "MIT", "LicenseRef-scancode-generic-cla", "LGPL-2.1-or-later" ]
permissive
Azure/azure-sdk-for-python
02e3838e53a33d8ba27e9bcc22bd84e790e4ca7c
c2ca191e736bb06bfbbbc9493e8325763ba990bb
refs/heads/main
2023-09-06T09:30:13.135012
2023-09-06T01:08:06
2023-09-06T01:08:06
4,127,088
4,046
2,755
MIT
2023-09-14T21:48:49
2012-04-24T16:46:12
Python
UTF-8
Python
false
false
1,543
py
# coding=utf-8 # -------------------------------------------------------------------------- # Copyright (c) Microsoft Corporation. All rights reserved. # Licensed under the MIT License. See License.txt in the project root for license information. # Code generated by Microsoft (R) AutoRest Code Generator. # Changes may ...
[ "noreply@github.com" ]
Azure.noreply@github.com
439f9f249c544c5523729e5e44bf9a0b2f7f1174
954c112d4805da5b1c8ba6460ae137935d85fe69
/advanced/methods.py
972de67fc2b7a1924eb22c1ebfe1fed93ab18985
[]
no_license
ProsenjitKumar/DataHeadOffice
b329b96b9efa59976031483dc32beb5e09082528
89dc2b4fe73bc952252b190d3c64186908a026f1
refs/heads/master
2020-04-24T10:23:25.974884
2019-04-29T17:10:36
2019-04-29T17:10:36
171,892,722
1
0
null
null
null
null
UTF-8
Python
false
false
1,167
py
class Employee: def __init__(self, first_name, last_name, pay): self.first_name = first_name self.last_name = last_name self.pay = pay @classmethod def another_stuff(cls, full_name): cls.full_name = full_name @classmethod def from_string(cls, emp_str): first...
[ "prosenjitearnkuar@gmail.com" ]
prosenjitearnkuar@gmail.com
eb4caeb850832163e9a1b127ded1f4c34520b942
6710c52d04e17facbc9fb35a7df313f7a2a7bd53
/Templates/0133. Clone Graph.py
c68d1c458509885aef75e70880935fb3dbd2c431
[]
no_license
pwang867/LeetCode-Solutions-Python
535088fbe747a453360457728cc22cf336020bd2
188befbfb7080ba1053ee1f7187b177b64cf42d2
refs/heads/master
2022-11-13T16:20:28.211707
2020-06-28T06:01:14
2020-06-28T06:01:14
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,897
py
""" # Definition for a Node. class Node(object): def __init__(self, val, neighbors): self.val = val self.neighbors = neighbors """ # method 2, combine node creation and relationship copy # make sure that: 1. a node is only copied once, 2. a node's relationship is only processed once class Solutio...
[ "gemingshangweichenggong@gmail.com" ]
gemingshangweichenggong@gmail.com
240ba5faf2e6c26a2582db83afe8123094b20c04
1515be3015ad988278d5a095416c0a0066a02757
/src/users/models/componentsschemasmicrosoft_graph_detectedappallof1.py
5b14ba5d58afbceee708dcfb5a655fe2b76c8442
[ "MIT" ]
permissive
peombwa/Sample-Graph-Python-Client
2ad494cc5b5fe026edd6ed7fee8cac2dd96aaa60
3396f531fbe6bb40a740767c4e31aee95a3b932e
refs/heads/master
2020-12-29T09:50:38.941350
2020-02-05T22:45:28
2020-02-05T22:45:28
238,561,578
0
0
null
null
null
null
UTF-8
Python
false
false
1,975
py
# coding=utf-8 # -------------------------------------------------------------------------- # Code generated by Microsoft (R) AutoRest Code Generator. # Changes may cause incorrect behavior and will be lost if the code is # regenerated. # -------------------------------------------------------------------------- from ...
[ "peombwa@microsoft.com" ]
peombwa@microsoft.com
3d5ebcfd0cf48f5f261c0ae6530b42549b161e95
33c7a8d150f0f95f5240c1ad8b458284e4db7ae0
/musicdl/modules/utils/logger.py
35a600ed1b3cd771a681fbbdaeb69ddeb9c8bedf
[ "MIT" ]
permissive
Yellowhxc/musicdl
55a81d75923f7d3cf9917aa6ef635d4ddabdd4ef
97d6254c9427046fef5d2ef1e65297cf04397728
refs/heads/master
2023-01-07T04:56:26.223829
2020-11-03T17:37:22
2020-11-03T17:37:22
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,549
py
''' Function: 一些终端打印工具 Author: Charles 微信公众号: Charles的皮卡丘 ''' import logging from prettytable import PrettyTable '''打印日志类''' class Logger(): def __init__(self, logfilepath, **kwargs): setattr(self, 'logfilepath', logfilepath) logging.basicConfig(level=logging.INFO, format='%(asctime)s %(levelname)-8s %...
[ "1159254961@qq.com" ]
1159254961@qq.com
c633b8af692b31e91dbcff3ebf60b0db3f82e672
59080f5116b9e8f625b5cc849eb14b7ff9d19f3d
/088 Flask/test.py
8999a6a4206b15516ef8d305813e52da1540fd61
[]
no_license
yyq1609/Python_road
eda2bcd946b480a05ec31cdcb65e35b3f3e739d1
e9ba2f47c8dd2d00a6e5ddff03c546152efd8f49
refs/heads/master
2020-09-11T11:51:35.903284
2019-11-11T13:02:21
2019-11-11T13:02:21
222,054,462
1
0
null
2019-11-16T05:58:13
2019-11-16T05:58:12
null
UTF-8
Python
false
false
31
py
print(__file__) print(__name__)
[ "958976577@qq.com" ]
958976577@qq.com
589872846ac6ea51c041f6cd2f35f8715f7aa528
d04c79e5ed09d47f306eeee2bd9ef9a1a67ef693
/20200316/118. Pascal's Triangle.py
16df0c80adff5ce4749bdf955b38fab3aeb9f641
[]
no_license
mycomax0416/LeetCode
fe1d345d9b9355b37d9aa33b2633597de65a3838
b706a57a64313ca48df9eb61cb2e08d16ddf35b1
refs/heads/master
2021-03-09T20:22:24.356206
2020-04-04T12:27:39
2020-04-04T12:27:39
246,377,186
0
0
null
null
null
null
UTF-8
Python
false
false
465
py
class Solution: def generate(self, numRows: int) -> List[List[int]]: if numRows == 0: return [] elif numRows == 1: return [[1]] else: ans = [[1]] for n in range(numRows-1): row = [1] for idx in range(len(ans)-1):...
[ "mycomax0416@gmail.com" ]
mycomax0416@gmail.com
4d77d33b162d01b0729e4f0492e7ad90b02aa416
4ca8df3a127e9b15cbfecea6505928741f685a63
/gongfei/month04/spider/爬虫滑块验证.py
7bce8222aa6cd7fdcb4220a8bd736da8e4350889
[]
no_license
gongfei6644/gongfei
2beb082c56197bc23ca20a6927ff6c10d8beaa83
bfdd5e6a3a8d76ad1e43cf54df186b944cad29e4
refs/heads/master
2022-11-30T20:49:22.213040
2020-08-16T12:52:28
2020-08-16T12:52:28
286,283,597
0
0
null
null
null
null
UTF-8
Python
false
false
10,385
py
# Python爬虫滑块验证 # 滑块验证网址:http://www.cnbaowen.net/api/geetest/ from selenium import webdriver from selenium.webdriver.support.ui import WebDriverWait # 等待元素加载的 from selenium.webdriver.common.action_chains import ActionChains #拖拽 from selenium.webdriver.support import expected_conditions as EC #等待查找 from selenium.common...
[ "1" ]
1
79f634ddc2c7a0378b19100eb808178af2628c13
d094ba0c8a9b1217fbf014aa79a283a49aabe88c
/env/lib/python3.6/site-packages/pandas/tests/test_config.py
54db3887850ea2b768f3ff942424c6530c69a3d8
[ "Apache-2.0" ]
permissive
Raniac/NEURO-LEARN
d9274e0baadd97bb02da54bdfcf6ca091fc1c703
3c3acc55de8ba741e673063378e6cbaf10b64c7a
refs/heads/master
2022-12-25T23:46:54.922237
2020-09-06T03:15:14
2020-09-06T03:15:14
182,013,100
9
2
Apache-2.0
2022-12-09T21:01:00
2019-04-18T03:57:00
CSS
UTF-8
Python
false
false
16,196
py
# -*- coding: utf-8 -*- import warnings import pytest import pandas as pd class TestConfig(object): @classmethod def setup_class(cls): from copy import deepcopy cls.cf = pd.core.config cls.gc = deepcopy(getattr(cls.cf, '_global_config')) cls.do = deepcopy(getattr(cls.cf, '_...
[ "leibingye@outlook.com" ]
leibingye@outlook.com
2eb9bf182ce1419f171b1e57e534ce9d199b59c2
f138cfdc2f488100074d946a059f0967d76f4a70
/tests/example/settings.py
5331be406d20d662be7b18c66763d0753f8bd900
[ "MIT" ]
permissive
davecap/django-subdomains
7677a5a31ac6cf8d22391997288821af83f4d4eb
d595959a8bce8ff9605c42f367c02a91340e9a05
refs/heads/master
2021-01-16T20:28:55.738879
2012-07-04T19:56:43
2012-07-04T19:56:43
null
0
0
null
null
null
null
UTF-8
Python
false
false
651
py
DEBUG = True DATABASES = { 'default': { 'ENGINE': 'django.db.backends.sqlite3', 'NAME': ':memory:', } } SITE_ID = 1 MIDDLEWARE_CLASSES = ( 'django.middleware.common.CommonMiddleware', 'subdomains.middleware.SubdomainURLRoutingMiddleware', ) ROOT_URLCONF = 'example.urls.application' S...
[ "ted@kaemming.com" ]
ted@kaemming.com
d73bd6fb3edc4500c6a7773789366ce45328e797
48e124e97cc776feb0ad6d17b9ef1dfa24e2e474
/sdk/python/pulumi_azure_native/web/v20200601/static_site.py
63de03a3ff2b659e6b9332781a9646196d9c719a
[ "BSD-3-Clause", "Apache-2.0" ]
permissive
bpkgoud/pulumi-azure-native
0817502630062efbc35134410c4a784b61a4736d
a3215fe1b87fba69294f248017b1591767c2b96c
refs/heads/master
2023-08-29T22:39:49.984212
2021-11-15T12:43:41
2021-11-15T12:43:41
null
0
0
null
null
null
null
UTF-8
Python
false
false
16,883
py
# coding=utf-8 # *** WARNING: this file was generated by the Pulumi SDK Generator. *** # *** Do not edit by hand unless you're certain you know what you are doing! *** import warnings import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload from ... import _utilities fro...
[ "noreply@github.com" ]
bpkgoud.noreply@github.com
877058f526d932f0aac12ea9786b22eef88a0462
e6dab5aa1754ff13755a1f74a28a201681ab7e1c
/.parts/lib/django-1.3/tests/regressiontests/cache/tests.py
dabbff3c4ad8c6f02e786633ef6625d346dfad58
[]
no_license
ronkagan/Euler_1
67679203a9510147320f7c6513eefd391630703e
022633cc298475c4f3fd0c6e2bde4f4728713995
refs/heads/master
2021-01-06T20:45:52.901025
2014-09-06T22:34:16
2014-09-06T22:34:16
23,744,842
0
1
null
null
null
null
UTF-8
Python
false
false
102
py
/home/action/.parts/packages/googleappengine/1.9.4/lib/django-1.3/tests/regressiontests/cache/tests.py
[ "ron.y.kagan@gmail.com" ]
ron.y.kagan@gmail.com
07ffc5e871f981299be97b62551c7b294f59e64a
a2e638cd0c124254e67963bda62c21351881ee75
/Extensions/Default/FPythonCode/interestRateSpreadDeltaCurveBucketsShift.py
5440ba998dea1a913984998dd3f6f72075eb13f5
[]
no_license
webclinic017/fa-absa-py3
1ffa98f2bd72d541166fdaac421d3c84147a4e01
5e7cc7de3495145501ca53deb9efee2233ab7e1c
refs/heads/main
2023-04-19T10:41:21.273030
2021-05-10T08:50:05
2021-05-10T08:50:05
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,483
py
import acm def CreateBuckets(validSpreadCurve): buckets = acm.FArray() for point in validSpreadCurve.Points(): bucketDef = acm.FFixedDateTimeBucketDefinition() date = point.ActualDate() bucketDef.FixedDate( date ) bucketDef.DiscardIfExpired( True ) if(point.Instrumen...
[ "nencho.georogiev@absa.africa" ]
nencho.georogiev@absa.africa
02976528d092c165749236583b260d77148e8d5c
6cbc44e497be77774c62b0d894bec03218b3b9c1
/utils/custom_context_processors.py
02a15c775eb2b8683d6969e39dbb424730aa982f
[ "LicenseRef-scancode-public-domain" ]
permissive
usnistgov/InternationalMetrologyResourceRegistry
416263c8775bd70f27d8d7892f6342a7c66f7adf
d1eaee864727466c0e62f7ed2fafa034ce17ddee
refs/heads/master
2021-01-17T19:21:07.832355
2016-09-23T21:33:50
2016-09-23T21:33:50
60,211,427
0
1
null
null
null
null
UTF-8
Python
false
false
953
py
from django.conf import settings def domain_context_processor(request): return { 'CUSTOM_TITLE': settings.CUSTOM_TITLE if hasattr(settings, 'CUSTOM_TITLE') else '', 'CUSTOM_ORGANIZATION': settings.CUSTOM_ORGANIZATION if hasattr(settings, 'CUSTOM_ORGANIZATION') else '', 'CUSTOM_NAME': setti...
[ "guillaume.sousa@nist.gov" ]
guillaume.sousa@nist.gov
aee8ed2b1303f7ec53448b742aac1467ec30e201
eed3d7d9dcf5804d602a1acb32d535e2f49d3324
/2018-07-01_Valid-Parentheses/solution.py
8aece5a21d9de72a16fb7a524bcc5bdcba662466
[]
no_license
ansonmiu0214/algorithms
e928b8a932ca3050a3c6fd5d07fae6df3fd7c5c4
f35efb3536186dcd672c9aa91856d8d9213b1b82
refs/heads/master
2020-03-21T05:18:12.768425
2019-03-24T12:30:24
2019-03-24T12:30:24
138,154,059
1
0
null
null
null
null
UTF-8
Python
false
false
782
py
#!/bin/python3 from collections import deque """ Stack-based approach to keep track of bracket depth in LIFO. Running time complexity of O(n). """ def isValid(s): brackets = { '(' : ')', '[': ']', '{': '}' } stack = deque() count = 0 for letter in s: if letter in brackets: stack.append(letter) # keep trac...
[ "ansonmiu0214@gmail.com" ]
ansonmiu0214@gmail.com
a40e9ab681bab08ec937fc638b267119a9bf37bc
350d6b7246d6ef8161bdfccfb565b8671cc4d701
/Last Stone Weight.py
ba9f5c8adb1c5b151887f749b6ed3c70aee94f06
[]
no_license
YihaoGuo2018/leetcode_python_2
145d5fbe7711c51752b2ab47a057b37071d2fbf7
2065355198fd882ab90bac6041c1d92d1aff5c65
refs/heads/main
2023-02-14T14:25:58.457991
2021-01-14T15:57:10
2021-01-14T15:57:10
329,661,893
0
0
null
null
null
null
UTF-8
Python
false
false
273
py
class Solution(object): def lastStoneWeight(self, A): pq = [-x for x in A] heapq.heapify(pq) for i in xrange(len(A) - 1): x, y = -heapq.heappop(pq), -heapq.heappop(pq) heapq.heappush(pq, -abs(x - y)) return -pq[0]
[ "yihao_guo@gwmail.gwu.edu" ]
yihao_guo@gwmail.gwu.edu
56ff8e02d953cdf69263eb9a3ecb20990afd092d
2b3ea7bb0df4be7f55d2ac188e23d801e497df8d
/fcsm_eos_api_client/models/vmware_availability_zone.py
ff4e4ce3c2bc04d8cce251739b49b4d377799d7d
[]
no_license
mikespub/fcsm-eos-api-client
12b663b4e79ac5d86c2162dec168bfa240a85f0c
107a3a7733c55ae6a750e32497268300c6be590e
refs/heads/master
2020-08-01T18:13:17.229375
2019-10-29T14:30:56
2019-10-29T14:30:56
211,071,995
0
0
null
null
null
null
UTF-8
Python
false
false
4,713
py
# coding: utf-8 """ Combined FCSM EOS API No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 The version of the OpenAPI document: 1.2.1 Generated by: https://openapi-generator.tech """ import pprint import re # noqa: F401 impor...
[ "github@mikespub.net" ]
github@mikespub.net
5fed848b6244c2b76b7dd85998ccef56a6a34f40
2eae961147a9627a2b9c8449fa61cb7292ad4f6a
/openapi_client/api/tax_types_api.py
7130750124302e90fd34997b17a2be912471ade6
[]
no_license
kgr-eureka/SageOneSDK
5a57cc6f62ffc571620ec67c79757dcd4e6feca7
798e240eb8f4a5718013ab74ec9a0f9f9054399a
refs/heads/master
2021-02-10T04:04:19.202332
2020-03-02T11:11:04
2020-03-02T11:11:04
244,350,350
0
0
null
null
null
null
UTF-8
Python
false
false
14,013
py
# coding: utf-8 """ Sage Business Cloud Accounting - Accounts Documentation of the Sage Business Cloud Accounting API. # noqa: E501 The version of the OpenAPI document: 3.1 Generated by: https://openapi-generator.tech """ from __future__ import absolute_import import re # noqa: F401 # python 2 ...
[ "kevin.gray@eurekasolutions.co.uk" ]
kevin.gray@eurekasolutions.co.uk
adbebf98c026159ef9c04143343d4151516385e5
60a6ba6e5f3faca2b1e17c1e90917efc3cfc561a
/aoc2015/day1/day1_part1.py
d9bbe04649059dc1e7251f5840c3bd4ee320b3d9
[ "MIT" ]
permissive
GetPastTheMonkey/advent-of-code
f462f5e2b72d913e39484446ce92a043d455091c
7a5ee30dbafaf8ef6f9bf9936e484efd024aa308
refs/heads/master
2023-01-14T09:45:00.553575
2022-12-25T10:59:19
2022-12-25T13:00:44
160,684,715
3
0
null
null
null
null
UTF-8
Python
false
false
307
py
from os.path import join, dirname, realpath with open(join(dirname(realpath(__file__)), "input.txt")) as f: c = 0 for char in f.read(): if char == '(': c += 1 elif char == ')': c -= 1 else: raise ValueError("Invalid character") print(c)
[ "sven.gruebel@gmx.ch" ]
sven.gruebel@gmx.ch
883c46163f5400da29155668fbcf6818585325c3
09e5cfe06e437989a2ccf2aeecb9c73eb998a36c
/modules/cctbx_project/iotbx/examples/recalculate_phenix_refine_r_factors.py
55f7cb79f2b307b7a1d57a9bb37a58306055e6c0
[ "BSD-3-Clause-LBNL", "BSD-3-Clause" ]
permissive
jorgediazjr/dials-dev20191018
b81b19653624cee39207b7cefb8dfcb2e99b79eb
77d66c719b5746f37af51ad593e2941ed6fbba17
refs/heads/master
2020-08-21T02:48:54.719532
2020-01-25T01:41:37
2020-01-25T01:41:37
216,089,955
0
1
BSD-3-Clause
2020-01-25T01:41:39
2019-10-18T19:03:17
Python
UTF-8
Python
false
false
2,864
py
""" Simple script to read in an MTZ file produced by phenix.refine, extract the F-obs-filtered, F-model, and R-free-flags arrays, and calculate R-factors both for the entire dataset and for resolution shells. This serves as an example both for processing MTZ files, and for cctbx.miller functionality. """ from __futu...
[ "jorge7soccer@gmail.com" ]
jorge7soccer@gmail.com
ef1e1983b2ac1c067072b73e5cee912bd983e800
5ad1428a02a57c95273c43bf50ef6886397f75ac
/src/experiment_proto_sentiment.py
9b2eabd996bf5975f75889cd7e694edfb071983f
[ "MIT" ]
permissive
icoderzqliu/protoinfomax
bcf3ad9131afd28fe09958611b2ec7d2a87a9e65
c534b6e7df31727e14d56e7b02db4d7ba70105a9
refs/heads/main
2023-08-30T11:56:07.394374
2021-11-05T01:07:26
2021-11-05T01:07:26
null
0
0
null
null
null
null
UTF-8
Python
false
false
9,545
py
import os import sys sys.path.append(os.getcwd()) import torch import torch.nn.functional as F from torch.autograd import Variable import torch.nn as nn import torch.optim as optim from workspace.workspace_cls import SENT_WORDID, SENT_LABELID, SENT_WORD_MASK, SENT_ORIGINAL_TXT import numpy import random from torch.uti...
[ "i.nimah@tue.nl" ]
i.nimah@tue.nl
eb68af81c19aa405345e4b717d86a0032583c9e8
eec267b544295bccb2ab88b13b221ff4fd3d2985
/test_new_edi.py
d82f2d0cbabccbb7fac6c5dbe44dfe81e85531d0
[]
no_license
ralfcam/sandbox_scripts
dda368dcf8b8d01147660dedc6d0fcae2d15f80c
6fa53a63152c4a00396b38fb92ae7dc6f72d6b90
refs/heads/master
2022-05-29T02:02:24.849913
2020-05-01T02:23:57
2020-05-01T02:23:57
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,211
py
# -*- coding: utf-8 -*- """ Created on Wed May 25 10:48:11 2016 @author: jpeacock """ import mtpy.core.z as mtz import numpy as np f1 = r"c:\Users\jpeacock\Documents\ShanesBugs\Sev_MT_Final_ga\MT001.edi" with open(f1, 'r') as fid: data_lines = fid.readlines()[102:] data_dict = {} data_find = False for lin...
[ "peacock.jared@gmail.com" ]
peacock.jared@gmail.com
41dcc0f46adda32291cfcb69a957b1b3ffce535f
8e311f8f94c9d218bd37f81c0badc906d78d6b33
/env/Lib/site-packages/reversion/__init__.py
e3b63c498750aeee9563ccdc26d3ceff9e27f228
[ "MIT" ]
permissive
htwenhe/DJOA
d76307ff8752c1e2a89101de1f74094b94bf9b18
3c2d384a983e42dedfd72561353ecf9370a02115
refs/heads/master
2021-09-03T21:49:28.267986
2018-01-12T08:12:55
2018-01-12T08:12:55
108,937,324
0
1
MIT
2018-01-12T08:06:50
2017-10-31T02:59:26
Python
UTF-8
Python
false
false
923
py
""" An extension to the Django web framework that provides version control for model instances. Developed by Dave Hall. <http://www.etianen.com/> """ try: import django # noqa except ImportError: # pragma: no cover # The top-level API requires Django, which might not be present if setup.py # is importi...
[ "htwenhe@hotmail.com" ]
htwenhe@hotmail.com
bd94c819b0a4ffdedd7fe7221a210a1d599e191d
8f3336bbf7cd12485a4c52daa831b5d39749cf9b
/Python/course-schedule-ii.py
584064f35bc6f961716bc46e8c017dda5ee86015
[]
no_license
black-shadows/LeetCode-Topicwise-Solutions
9487de1f9a1da79558287b2bc2c6b28d3d27db07
b1692583f7b710943ffb19b392b8bf64845b5d7a
refs/heads/master
2022-05-30T22:16:38.536678
2022-05-18T09:18:32
2022-05-18T09:18:32
188,701,704
240
110
null
2020-05-08T13:04:36
2019-05-26T15:41:03
C++
UTF-8
Python
false
false
1,129
py
from collections import defaultdict, deque class Solution(object): def findOrder(self, numCourses, prerequisites): """ :type numCourses: int :type prerequisites: List[List[int]] :rtype: List[int] """ res, zero_in_degree_queue = [], deque() in_degr...
[ "noreply@github.com" ]
black-shadows.noreply@github.com
f9d2a50793292a53ca569289d3130dccc8a80386
e10a6d844a286db26ef56469e31dc8488a8c6f0e
/gift/experiment/cifar10_classification/multicifar10_wide_resnet_gradualmixup_1000_config.py
ebe2db0f88122e4e8cd4430b15c0185d117daf04
[ "Apache-2.0", "CC-BY-4.0" ]
permissive
Jimmy-INL/google-research
54ad5551f97977f01297abddbfc8a99a7900b791
5573d9c5822f4e866b6692769963ae819cb3f10d
refs/heads/master
2023-04-07T19:43:54.483068
2023-03-24T16:27:28
2023-03-24T16:32:17
282,682,170
1
0
Apache-2.0
2020-07-26T15:50:32
2020-07-26T15:50:31
null
UTF-8
Python
false
false
4,803
py
# coding=utf-8 # Copyright 2022 The Google Research Authors. # # 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 applicab...
[ "copybara-worker@google.com" ]
copybara-worker@google.com
bc3feca74db58c5140fd26ee1ae452b49921fbcf
178109bccf5014a97d74054d8f40511a241625fe
/signature/signature.py
258257f75fa208b6755eb6441b82953b60aaf0a3
[]
no_license
rajeshwarg/signature-disambiguation
1b6d46a144feb71ca7efe7e7f4105cc3d93b548a
2b10c4f1ec4ca7785d812ea8de679ab681d0d98f
refs/heads/master
2021-01-19T11:54:39.793623
2014-04-28T21:28:43
2014-04-28T21:28:43
null
0
0
null
null
null
null
UTF-8
Python
false
false
7,050
py
import matplotlib.pyplot as plt import numpy as np from skimage.data import imread from skimage import io from skimage.color import rgb2gray from skimage.measure import find_contours from skimage.transform import probabilistic_hough_line from itertools import cycle from pylab import * from PIL import Image import os im...
[ "gtfierro225@gmail.com" ]
gtfierro225@gmail.com
0c3b7cd7d2c76d0d5aaee1d1c5f1f0d14ecccbb4
f47bfd6d1f6e2040c070086a6c0b7f279dfebb6a
/brick/check_point_subclass_dict.py
d198eff7693fb0a1dd818062f964ad95e1f006b8
[ "BSD-3-Clause" ]
permissive
metehangelgi/scrabble
b34844cbd17a5588f69af22eb04dfe8d89d14bf3
6d64be2e9c7d0392332592c804eb15c20a3e2516
refs/heads/master
2022-03-26T12:17:06.133378
2018-11-25T03:42:56
2018-11-25T03:42:56
null
0
0
null
null
null
null
UTF-8
Python
false
false
363
py
import json with open('point_subclass_dict.json', 'r') as fp: d = json.load(fp) found_tagsets = set() redundant_tagsets = set() for superclass, tagsets in d.items(): redundant_tagsets.union(set([tagset for tagset in tagsets \ if tagset in found_tagsets])) found_tagsets.un...
[ "bk7749@gmail.com" ]
bk7749@gmail.com
4bbc331673aca10bf2d8e93f9f0ce957c28ecf56
92bf406d734e5ffe32a369e9e3efa327bf2b926f
/paperboy/config/application.py
e0b857d9781e33a48c281deb2a0fd7b7f7352cc0
[ "Apache-2.0" ]
permissive
samanalysis/paperboy
ee0e299f93f60f8d69804577e82d21833b9c6c43
2e20cffdea8567e560223996b855e64faf3f3c02
refs/heads/master
2020-06-20T09:20:27.721493
2019-06-15T15:24:18
2019-06-15T15:24:18
null
0
0
null
null
null
null
UTF-8
Python
false
false
8,346
py
import falcon import logging import os from six.moves.urllib_parse import urljoin from sqlalchemy import create_engine from sqlalchemy.orm import sessionmaker from traitlets.config.application import Application from traitlets import Int, Instance, List, Tuple, Unicode, Bool, validate, TraitError from uuid import uuid4...
[ "t.paine154@gmail.com" ]
t.paine154@gmail.com
2eff6562ec8a043de5548599076490f426fda71e
eedea7d2f6ad0f497f1469ab78ea00c3c33bd57a
/hamon_shu/materials/score_structure/segment_07/pitch_material_pattern.py
c24b023291d9b5b7db9bb259abe6928e367405ee
[]
no_license
GregoryREvans/hamon_shu
750927aec941f60bf0b90ee2196a886c19c611ad
8081ee57fce8db07c3492e67e7a634e3b08f3bb3
refs/heads/master
2022-02-27T06:22:44.449635
2022-02-10T13:48:23
2022-02-10T13:48:23
144,753,533
0
1
null
null
null
null
UTF-8
Python
false
false
2,713
py
from hamon_shu.materials.pitch import pitches_VII key_list_1 = [ "violin_1_pitch_handler_three", "violin_1_pitch_handler_one", "violin_1_pitch_handler_two", "violin_1_pitch_handler_four", "violin_1_pitch_handler_three", "violin_1_pitch_handler_one", "violin_1_pitch_handler_four", "violi...
[ "gregoryrowlandevans@gmail.com" ]
gregoryrowlandevans@gmail.com
55844d8aed6b61cd815f0b6c616ce85c2dce5750
5900bc2615f456512b73455203fa90c4a016230f
/mimic.py
77ba93da838bbfae6e99cae87a3ee91c38346f59
[]
no_license
RamiroAlvaro/google-python-exercises
615a2a4aa6c02d7a7b74eed42119dc8402eccd4c
50b711ca3fbcd008f28e60c53b7d5136573a44ad
refs/heads/master
2020-12-25T15:08:36.125816
2017-01-27T20:24:47
2017-01-27T20:24:47
66,118,312
0
1
null
null
null
null
UTF-8
Python
false
false
2,568
py
#!/usr/bin/python -tt # Copyright 2010 Google Inc. # Licensed under the Apache License, Version 2.0 # http://www.apache.org/licenses/LICENSE-2.0 # Google's Python Class # http://code.google.com/edu/languages/google-python-class/ """Mimic pyquick exercise -- optional extra exercise. Google's Python Class Read in the ...
[ "ramiroalvaro@hotmail.com" ]
ramiroalvaro@hotmail.com
ce53004e1ff1be30445cc2cf0fb824a75c34b070
f2e8afed063bef9292a2ac8d3a84943ebcef9b11
/09_INSTAGRAM/feeds/views.py
b5126502c96408a53875d8d8ebf6f954d57c4287
[]
no_license
seunggue/django
e8a4f376bda247b8780d4f838365b7621cde6101
377b73652b723be1d7bd83abd9bc9e14203799be
refs/heads/master
2022-12-15T13:59:31.218873
2019-10-28T08:42:33
2019-10-28T08:42:33
200,620,105
0
0
null
2022-12-08T06:14:59
2019-08-05T08:59:41
Python
UTF-8
Python
false
false
573
py
from django.shortcuts import render, redirect from .models import Feed # from IPython import embed # Create your views here. def index(request): feeds = Feed.objects.all() context = { 'feeds':feeds } return render(request, 'index.html', context) def create(request): if request.method == 'P...
[ "seungue1687@gmail.com" ]
seungue1687@gmail.com
20d57108762761a55044954f0a80ae5d2bc49f5d
50f0d33b12778f911fe16a4e18d0659936b9086b
/0x04-python-more_data_structures/9-multiply_by_2.py
ba5f3c37cd1dca83e69eaeffc1980d63f74de8c8
[]
no_license
monicajoa/holbertonschool-higher_level_programming
4f4eaa7aa2cad1642e7aed54663cb30eb92e1b4f
451d20174144ad96fa726a4389c7aae72abf2495
refs/heads/master
2022-12-18T00:35:00.682624
2020-09-25T05:14:57
2020-09-25T05:14:57
259,479,680
0
0
null
null
null
null
UTF-8
Python
false
false
148
py
#!/usr/bin/python3 def multiply_by_2(a_dictionary): new_dictionary = {n: a_dictionary[n] * 2 for n in a_dictionary} return (new_dictionary)
[ "mnortiz.ortiz@gmail.com" ]
mnortiz.ortiz@gmail.com
76e6b924ecfda63a2b4613e3f47eb9b30e9f9c31
595b7157cdf72060c88b8f5b0807b984fa3e63a4
/python/scrap_wiki.py
3e8c74c56d0aaaaf94851c796dbe90ce65c9027f
[]
no_license
HomingYuan/data_science_way
248d15710004eedc1f0fe70ab67318cbdc6e42aa
dd3153f44d3b4cc90b589ae0dc1d4d4f0f671da4
refs/heads/master
2021-01-20T14:34:54.943011
2018-03-06T02:00:29
2018-03-06T02:00:29
90,630,422
1
0
null
null
null
null
UTF-8
Python
false
false
822
py
#!/usr/bin/env python # -*- coding: utf-8 -*- """ @author: Homing @software: PyCharm Community Edition @file: scrap_wiki.py @time: 2017/6/7 20:46 """ import csv from urllib.request import urlopen from bs4 import BeautifulSoup html = urlopen("http://en.wikipedia.org/wiki/Comparison_of_text_editors") bsObj = BeautifulSo...
[ "470034235@qq.com" ]
470034235@qq.com
7551344d8026f5fb3005279407d84d4d63ca3528
d12b59b33df5c467abf081d48e043dac70cc5a9c
/ixnetwork_restpy/testplatform/sessions/ixnetwork/vport/protocolstack/egtpserveroptions_0da9d0ef7484fcc78603ede124e9e586.py
490e482bf5889cf5c552be904b732a2bf4472d79
[ "MIT" ]
permissive
ajbalogh/ixnetwork_restpy
59ce20b88c1f99f95a980ff01106bda8f4ad5a0f
60a107e84fd8c1a32e24500259738e11740069fd
refs/heads/master
2023-04-02T22:01:51.088515
2021-04-09T18:39:28
2021-04-09T18:39:28
null
0
0
null
null
null
null
UTF-8
Python
false
false
11,424
py
# MIT LICENSE # # Copyright 1997 - 2020 by IXIA Keysight # # Permission is hereby granted, free of charge, to any person obtaining a copy # of this software and associated documentation files (the "Software"), # to deal in the Software without restriction, including without limitation # the rights to use, copy, modify,...
[ "andy.balogh@keysight.com" ]
andy.balogh@keysight.com
b494c0f5bfd4f8fe4d82481a52b55d9096e1edc9
93f47ba04fc18c4e537f0a48fe6232e2a89a4d30
/examples/adspygoogle/dfp/v201408/creative_service/create_creative_from_template.py
c1a1728c927822b20cd10193664e4ff7cbe1cbf5
[ "Apache-2.0" ]
permissive
jasonshih/googleads-python-legacy-lib
c56dc52a1dab28b9de461fd5db0fcd6020b84a04
510fad41ecf986fe15258af64b90f99a96dc5548
refs/heads/master
2021-04-30T22:12:12.900275
2015-03-06T15:35:21
2015-03-06T15:35:21
null
0
0
null
null
null
null
UTF-8
Python
false
false
3,585
py
#!/usr/bin/python # # Copyright 2013 Google Inc. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required b...
[ "nicholaschen@google.com" ]
nicholaschen@google.com
b147294d2e555d356a3bddf7311e9d144a4dc147
4f825250d1f3b00d4dff1601001bc72f9666f6b6
/app/request.py
d75359b292c50cad0f63226d1a6931451ae18be7
[]
no_license
MigotSharon/Watch-list
ee7c33fb8cc50fd6eedeaa76ee853fcd3389aadd
139687ccbea73b7029a956a18fa7fe9b0d0458ba
refs/heads/main
2023-01-02T00:36:08.861473
2020-10-24T16:54:31
2020-10-24T16:54:31
303,660,887
0
0
null
null
null
null
UTF-8
Python
false
false
2,972
py
import urllib.request,json from .models import Movie # Getting api key api_key = None # Getting the movie base url base_url = None def configure_request(app): global api_key,base_url api_key = app.config['MOVIE_API_KEY'] base_url = app.config['MOVIE_API_BASE_URL'] def get_movies(category): ''...
[ "sam@example.com" ]
sam@example.com