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
461a045d7206f3368bf4211189af88a9560b9fb9
0d8486c1d55c40bebea7c5428930f18165d2d0e9
/tests/asp/cautious/sum.example7.cautious.asp.test.py
a9aa3f849e42494f49fdc03b30d40cc0b179c1a0
[ "Apache-2.0" ]
permissive
bernardocuteri/wasp
6f81bf6aa8fb273c91bbf68ecce4ecb195a55953
05c8f961776dbdbf7afbf905ee00fc262eba51ad
refs/heads/master
2021-06-08T11:58:25.080818
2020-10-05T16:57:37
2020-10-05T16:57:37
124,245,808
0
0
Apache-2.0
2018-03-07T14:13:16
2018-03-07T14:13:16
null
UTF-8
Python
false
false
27,394
py
input = """ 1 2 0 0 1 3 0 0 1 4 0 0 1 5 0 0 1 6 0 0 1 7 0 0 1 8 0 0 1 9 0 0 1 10 0 0 1 11 0 0 1 12 0 0 1 13 0 0 1 14 0 0 1 15 0 0 1 16 0 0 1 17 0 0 1 18 0 0 1 19 0 0 1 20 0 0 1 21 0 0 1 22 0 0 1 23 2 1 24 25 1 24 2 1 23 25 1 25 0 0 1 26 2 1 27 28 1 27 2 1 26 28 1 28 0 0 1 29 2 1 30 31 1 30 2 1 29 31 1 31 0 0 1 32 2 1 3...
[ "carminedodaro@gmail.com" ]
carminedodaro@gmail.com
ddc6f22075fe180a957831c79a2054e486337fd8
dc3c88f1fe5c80147e4c52ee6ec3136307ec9702
/clear/test/clear_py_file_text_debug_not_clear_empty_lines_withOutFile_lessText_test.py
61d6071dd12faaf3c55531fa06127d5da4cf5253
[]
no_license
ypapax/all_sublime_plugins
062f9b9992a093a02e6b905c1329c681c8532034
8b10e471233bd6c2e77907cf5569b0ddccfc88f9
refs/heads/master
2021-01-15T21:10:08.029750
2015-08-16T06:32:51
2015-08-16T06:32:51
40,391,701
0
0
null
null
null
null
UTF-8
Python
false
false
1,123
py
import sys import os currentFolder = os.path.dirname(os.path.realpath(__file__)) sys.path.insert(0, os.path.join(currentFolder, '..')) sys.path.insert(0, os.path.join(currentFolder, '../../util')) sys.path.insert(0, os.path.join(currentFolder, '../../moveNearReplace')) import assertMy import clearModel as clear import ...
[ "maxYefr@gmail.com" ]
maxYefr@gmail.com
37bd3c6c040d43a583dbce5828f267bba0725529
5dcdc5720f59280e6e22e78534dc565e9b299048
/ALGO/arrays/zigzagTraverse.py
44254118ae19b2b6aa2aba4fa193ae8d19aa68d5
[]
no_license
Stella2019/10-24
4fc944ba397d8f9494f4fc7ceead3065b4572a55
d62572831235e8e608f259aa7b3608ae6752a64a
refs/heads/main
2023-01-01T12:46:06.021044
2020-10-24T20:53:12
2020-10-24T20:53:12
306,967,300
0
0
null
null
null
null
UTF-8
Python
false
false
911
py
def zigzagTraverse(array): height = len(array) - 1 width = len(array[0]) - 1 result = [] row, col = 0, 0 goingDown = True while not isOutOfBounds(row, col, height, width): result.append(array[row][col]) if goingDown: if col == 0 or row == height: going...
[ "noreply@github.com" ]
Stella2019.noreply@github.com
cac85b0c6851a7b4d84dae20d8f190caab703671
57754174c64eff434e3a59e53576dcfd97725b1a
/6_OperacionesBasicas/modificarPixeles.py
f346e90fcfc90fd110f58fdcdd32b20f45351619
[]
no_license
dbetm/learning-opencv
4f7db4ba23049cf23cf869e0c9238ec0666c1555
2c6f4185a54a1b1cd93739993c41d2500f475cb1
refs/heads/master
2020-04-12T14:35:03.052444
2019-11-05T05:16:33
2019-11-05T05:16:33
162,556,507
0
0
null
null
null
null
UTF-8
Python
false
false
847
py
import numpy as np import cv2 # Primero se carga la imagen img = cv2.imread("../src/img/6/nocheEstrellada.jpg") # La imagen cargada es de 2000 x 1333 px # Se puede acceder al valor de un pixel con la coordenada # Imágenes RGB regresan una gama de colores, en grises solo la intensidad px = img[100, 100] print(px) # O...
[ "davbetm@gmail.com" ]
davbetm@gmail.com
842f6de23ba8b4727fd9c375c75a9b1ceebdfd51
cf541bd43c8c2521ee3a317a1d8ef14bdaea15a1
/XPS/Example XPS Survey SINGLE.py
2cd5dae71fb3e4adc1ab44a2c2ca72fac0f018dd
[]
no_license
celiacailloux/PhD-Data-Analysis
04b142ab51fdd2dd7e70cb747fcb1fd3b3a4c2e9
f5572815526f332226effbff99a10738ba8bcc2d
refs/heads/main
2023-02-24T19:32:59.654053
2021-02-02T18:10:49
2021-02-02T18:10:49
319,089,179
0
0
null
null
null
null
UTF-8
Python
false
false
9,063
py
#!/usr/bin/env python3 # -*- coding: utf-8 -*- """ Created March 27 2020 Updated June 18 2020 @author celiacailloux/ceshuca Sample EXAMPLE NF = non fitted NI = normalizd intensity SI = stacked intensity SC = single scan DP = depth profiling NS = non charge-shiftet """ from XPSData...
[ "abc@example.com" ]
abc@example.com
14b2be348797c4e34c97994527726b4facd6e2a1
89e02b1043a58781241b0f492008c5fe37f80d70
/libs/htmlMaker.py
2c26d84959195799fab07fab030eb3268249e71c
[]
no_license
Kyeongrok/bible_finder
e0b9484e3db66a52d02fa8cafd1da214fa78b4b7
dd81e1cbfbdc0b6f2b117f5149a627f6b9df2f00
refs/heads/master
2022-12-12T14:46:24.970898
2019-05-13T07:48:27
2019-05-13T07:48:27
181,269,209
0
0
null
2022-12-08T04:58:52
2019-04-14T06:30:12
Python
UTF-8
Python
false
false
386
py
def makeTr(verse): index = "{}{}:{}".format(verse['shortendBookName'], verse['chapter'], verse['verse']) return "<tr><td>{}</td><td>{}</td></tr>".format(index, verse['text']) def makeTable(verses): head = "<html><body><table>" tbody = "" for verse in verses: tbody = tbody + makeTr(verse) ...
[ "oceanfog1@gmail.com" ]
oceanfog1@gmail.com
c52ba6a0b533ca362acfd097212ca9e7c6e815ec
2a3743ced45bd79826dcdc55f304da049f627f1b
/venv/lib/python3.7/site-packages/jedi/third_party/typeshed/stdlib/2and3/py_compile.pyi
a8be1136a52d0f877e036ab0e3157c3fc06a140d
[ "MIT", "Apache-2.0" ]
permissive
Dimasik007/Deribit_funding_rate_indicator
12cc8cd7c0be564d6e34d9eae91940c62492ae2a
3251602ae5249069489834f9afb57b11ff37750e
refs/heads/master
2023-05-26T10:14:20.395939
2019-08-03T11:35:51
2019-08-03T11:35:51
198,705,946
5
3
MIT
2023-05-22T22:29:24
2019-07-24T20:32:19
Python
UTF-8
Python
false
false
748
pyi
# Stubs for py_compile (Python 2 and 3) import sys from typing import Optional, List, Text, AnyStr, Union _EitherStr = Union[bytes, Text] class PyCompileError(Exception): exc_type_name: str exc_value: BaseException file: str msg: str def __init__(self, exc_type: str, exc_value: BaseException, fil...
[ "dmitriy00vn@gmail.com" ]
dmitriy00vn@gmail.com
7946b05029f33bf5ebe6435793f729964a9b7c9d
d554b1aa8b70fddf81da8988b4aaa43788fede88
/5 - Notebooks e Data/1 - Análises numéricas/Arquivos David/Atualizados/logDicas-master/data/2019-1/223/users/4183/codes/1764_1577.py
dd524413632d511d6df20249af384ce9f1671a18
[]
no_license
JosephLevinthal/Research-projects
a3bc3ca3b09faad16f5cce5949a2279cf14742ba
60d5fd6eb864a5181f4321e7a992812f3c2139f9
refs/heads/master
2022-07-31T06:43:02.686109
2020-05-23T00:24:26
2020-05-23T00:24:26
266,199,309
1
0
null
null
null
null
UTF-8
Python
false
false
215
py
from numpy import * a = float(input("Digite: ")) vo = float(input("Digite: ")) n = int(input("Digite: ")) d0 = ((a*0**2)/2) + vo*0 d1 = ((a*1**2)/2) + vo*1 d2 = ((a*2**2)/2) + vo*2 vet = array([d0,d1,d2]) print(vet)
[ "jvlo@icomp.ufam.edu.br" ]
jvlo@icomp.ufam.edu.br
87c4a20fad2b3e5cac37f8ae58752d17f72ce729
6fa7f99d3d3d9b177ef01ebf9a9da4982813b7d4
/hC6yGEPvtN2izt3c9_24.py
717a5bbd74a34bc586a4dc546dea375267dbfc4c
[]
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
323
py
def is_mini_sudoku(square): num = [] for n in square: for x in n: if x == 0: return False for n in square: for x in n: if x in num: return False else: num.append(x) ​ return True ...
[ "daniel.reich@danielreichs-MacBook-Pro.local" ]
daniel.reich@danielreichs-MacBook-Pro.local
c1324eee1b1cb35fb9bfc589b1f8953d7b966f04
2b42b40ae2e84b438146003bf231532973f1081d
/spec/mgm4455896.3.spec
3095c9dc94cf9010ae437d8b251e25fc8f7c8d56
[]
no_license
MG-RAST/mtf
0ea0ebd0c0eb18ec6711e30de7cc336bdae7215a
e2ddb3b145068f22808ef43e2bbbbaeec7abccff
refs/heads/master
2020-05-20T15:32:04.334532
2012-03-05T09:51:49
2012-03-05T09:51:49
3,625,755
0
1
null
null
null
null
UTF-8
Python
false
false
23,028
spec
{ "id": "mgm4455896.3", "metadata": { "mgm4455896.3.metadata.json": { "format": "json", "provider": "metagenomics.anl.gov" } }, "providers": { "metagenomics.anl.gov": { "files": { "100.preprocess.info": { ...
[ "jared.wilkening@gmail.com" ]
jared.wilkening@gmail.com
cc560b2143851dd803f6574c795ab9d464a3e4ac
8407a0d96a7122ef5c1bed2fae335b5c089ed6bf
/ggpy/player/game_player.py
932178efc4208934a6a1e8da4739889abfea570b
[ "MIT" ]
permissive
hobson/ggpy
d90cdb4f545bab84e09a14cbf7a53c05ec573278
4e6e6e876c3a4294cd711647051da2d9c1836b60
refs/heads/master
2021-01-22T04:24:18.890860
2014-08-17T21:59:24
2014-08-17T21:59:24
18,973,392
1
0
null
null
null
null
UTF-8
Python
false
false
7,650
py
#!/usr/bin/env python import socket class Socket: '''from python.org docs demonstration class only -- coded for clarity, not efficiency ''' def __init__(self, sock=None): if sock is None: self.sock = socket.socket( socket.AF_INET, socket.SOCK_STREAM) e...
[ "hobsonlane@gmail.com" ]
hobsonlane@gmail.com
8c14e69b701f1167e903914ebb18b0b71ea0689b
32f2bb684ceb32605839ecc68710dda28818ef7d
/python_code/course_tools/spark_code/fold_example.py
6143cbd3d45a69c7ed41a5fcf7ea777353339e4b
[]
no_license
paulhtremblay/big_data_course
fdde5570768143a3d30ead9c309e27661b4ac98c
0b6dfecd408e6df57640a2aaab6b0b3cd0819f30
refs/heads/master
2020-03-19T17:28:26.258058
2018-08-08T08:28:19
2018-08-08T08:28:19
136,761,108
0
1
null
null
null
null
UTF-8
Python
false
false
228
py
from pyspark import SparkContext, SparkConf conf = SparkConf().setAppName('Summer_Course').setMaster('local') sc = SparkContext(conf=conf) rdd1 = sc.parallelize([1,2,3,4,5]) rdd2 = rdd1.fold(0, lambda x, y: x + y) print(rdd2)
[ "paulhtremblay@gmail.com" ]
paulhtremblay@gmail.com
c8640cedc5166145b459c598555a12542460090e
0ab40aa11442ef5868438844ca193a88cc2ab0af
/spectrometer_level_processing/during_shutdown/analyze_cross_talk_tsoc_also.py
d1c39c0667b9fa268078d5e19564da557459644c
[]
no_license
nischalmishra/TEMPO_python
2d85b0a401e776e4a1ae65920bd7553a3896170a
643a9577fd6686ec32d85205b5988ec757eec4c8
refs/heads/master
2020-07-20T10:20:40.333931
2019-09-05T14:26:36
2019-09-05T14:26:36
206,623,744
0
0
null
null
null
null
UTF-8
Python
false
false
18,112
py
# -*- coding: utf-8 -*- """ Created on Wed Jul 19 10:38:50 2017 @author: nmishra """ import os import numpy as np import matplotlib.pyplot as plt from scipy.io.idl import readsav from mpl_toolkits.axes_grid1 import make_axes_locatable import pandas as pd def read_outlier_mask(): outlier_mask= np.genfromtxt(r'C:...
[ "nischal.mishra@gmail.com" ]
nischal.mishra@gmail.com
34c4a8524705d2f4d5eebb4d1a726ab68e37680e
3e77a86429ba0f6968f709e77e204cdfe920a041
/regex_sub.py
3e3a906ad463c72200a4644f7b297265fc44b425
[]
no_license
ramyamango123/test
a2d9bb6cafe8d7406b76eba526ddded2acf2a3b2
85420c9406109a72e1b1d455ea29a5cae9def5a3
refs/heads/master
2020-06-07T23:34:08.344051
2014-03-12T05:19:05
2014-03-12T05:19:05
null
0
0
null
null
null
null
UTF-8
Python
false
false
308
py
import re #p = "Pyth#on is 10% $scripting %language&" # # #result = re.sub("\#|\%|\$|\&", '', p) # #print result #obj = re.compile("\#|\%|\$|\&") # #pattern = obj.sub('', p) # #print pattern phone = "2004-959-559 #This is Phone Number" phnum = re.sub("\#.*$", "", phone) print phnum
[ "ramya@Ramyas-MacBook-Air.local" ]
ramya@Ramyas-MacBook-Air.local
43d43ae7db605e1f0b80860ab638b3cf1dd83e82
2a4a53e8efb60ae3fee7ac186c021c332297bd08
/1208A.py
a3cf6f33a81b5779416d61c349a32dd4404b89d8
[]
no_license
swastiktiwari1/spojsolutions
d1632f820089dd8393c51153073d3ac9aedd8bbe
278a12e7124270ea9a8a3f80f21c38854e46107c
refs/heads/master
2020-06-08T16:50:55.530121
2020-03-22T16:14:35
2020-03-22T16:14:35
193,267,159
0
0
null
null
null
null
UTF-8
Python
false
false
174
py
for _ in range(int(input())): a,b,n=map(int,input().split()) if (n+1)%3==1: print(a) elif (n+1)%3==2: print(b) else: print(a^b)
[ "noreply@github.com" ]
swastiktiwari1.noreply@github.com
4bb4ea4747bdae3bf0ddf3c97592d5cb7258ccba
59285b992b66fabedff36eb0b2baf200d5507174
/dashboard/admin.py
5879d990bdc360d861e7b6a76c5c98142bfe182b
[]
no_license
DeepakDarkiee/group
1e0108734226bdfcdd90e3e5f9d892b3b54a05f2
5c9d1af6880032b145e2066f0936699eccf356ea
refs/heads/main
2023-03-20T19:48:27.726799
2021-03-18T07:09:53
2021-03-18T07:09:53
null
0
0
null
null
null
null
UTF-8
Python
false
false
847
py
from django.contrib import admin # Register your models here. from .models import Intern admin.site.register(Intern) from .models import Trainee admin.site.register(Trainee) from .models import Trainer admin.site.register(Trainer) from .models import Employee admin.site.register(Employee) from .models import Staf...
[ "mdipakpatidar@gmail.com" ]
mdipakpatidar@gmail.com
f48260ddec2975c23a9b8f72b9c833b8fc2405c9
4bd555bc662b8182a2e7644976bfdb00ed5e1ebe
/PythonistaAppTemplate/PythonistaKit.framework/pylib_ext/numpy/core/defchararray.py
10a6d1dde69404d177d5474ffe22212a7f84429b
[]
no_license
fhelmli/homeNOWG2
a103df1ef97194dec9501dbda87ec1f7c111fb4a
e794fd87b296544542fd9dc7ac94c981c6312419
refs/heads/master
2020-04-04T13:40:20.417769
2019-01-30T21:41:04
2019-01-30T21:41:04
155,970,686
0
0
null
null
null
null
UTF-8
Python
false
false
67,952
py
#import pythonista """ This module contains a set of functions for vectorized string operations and methods. .. note:: The `chararray` class exists for backwards compatibility with Numarray, it is not recommended for new development. Starting from numpy 1.4, if one needs arrays of strings, it is recommended ...
[ "tberk@gmx.at" ]
tberk@gmx.at
da9bc676067fbd72b3ea9818a8f67d46639fa4bd
763be4d77e20504848c9ddd29fe99b8012b00ea7
/uchicagohvz/game/dorm_migrations/0011_hvd_remove_rename_dorm.py
25f02203b26e664e4ddc21ce149d51ab24ccf063
[ "MIT" ]
permissive
kz26/uchicago-hvz
2207c944f19c6fcc3310d4a43b4e733ac8225b18
85e89a1b70fa2a23445890686312407fe8b2084a
refs/heads/master
2021-12-07T03:21:03.118945
2020-10-08T14:31:02
2020-10-08T14:31:02
13,137,628
11
6
MIT
2021-11-29T17:59:45
2013-09-27T00:28:39
HTML
UTF-8
Python
false
false
377
py
# -*- coding: utf-8 -*- from __future__ import unicode_literals from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('game', '0010_player_remove_rename_dorm'), ] operations = [ migrations.RemoveField('HighValueDorm', 'dorm'), migratio...
[ "whitehat2k9@gmail.com" ]
whitehat2k9@gmail.com
2cdb3d5809f37ae70344c22727d22b54709554b1
b180a6de1e792ef52ddd9477480c596c0c99906a
/scirpy/_io/tracerlib/core.py
78d3f243a6042951a525b2fd1733023e55d2e992
[ "BSD-3-Clause" ]
permissive
grst-anaconda/scirpy
33128486f3d4f9cc94254d0947b8d99001c889b8
afb105e5abda13e51d6075b70dd9b92a1e60b29e
refs/heads/master
2022-04-25T11:37:30.780753
2020-04-28T18:07:40
2020-04-28T18:07:40
259,680,603
0
0
BSD-3-Clause
2020-04-28T17:45:30
2020-04-28T15:43:08
Python
UTF-8
Python
false
false
18,009
py
"""Minimal port of `tracerlib` to enable loading of pickled objects from the Tracer output. Originally published at https://github.com/Teichlab/tracer under Apache 2.0 License. Copyright (c) 2015 EMBL - European Bioinformatics Institute Modified 2020 - Gregor Sturm Licensed under the Apache License, Version 2.0 (t...
[ "mail@gregor-sturm.de" ]
mail@gregor-sturm.de
54bdb94eb130008311e0a35780ad1d0e94c2dca9
60fa442ae76b960ab21b10fb527c0eac85cdc587
/phenix/special_pos_test.py
9a5374cad54190a451132ddcdeae8dc1dc9a45cf
[]
no_license
pjanowski/Pawel_PhD_Scripts
8e6c2b92b492f9cacf425327a01faaceb27bb87d
5f9b1735ca6da8fdf0946d6748f3da7d3d723d5e
refs/heads/master
2021-01-10T06:15:30.287053
2015-11-16T04:04:07
2015-11-16T04:04:07
46,250,317
0
1
null
null
null
null
UTF-8
Python
false
false
1,708
py
pdb_file='/net/casegroup2/u2/pjanowsk/Phenix/test100/4hs2/4phenix_4hs2_minall.pdb' import iotbx.pdb m=iotbx.pdb.input(file_name=pdb_file) xrs=m.xray_structure_simple() scatterers = xrs.scatterers() site_symmetry_table = xrs.site_symmetry_table() print site_symmetry_table.n_special_positions() # for i in site_symmetry...
[ "pawelrc@gmail.com" ]
pawelrc@gmail.com
d49013c8535b00e535bcb0c0d47dc8321dbb5709
e9e6a89c200f1800bf4fb6f1ef5ec4926efb2783
/mTRPO/mytrpo/trpo_mpi/trpo_mpi.py
20b352abcff8ddd2d8f22a5343072624adac8c95
[]
no_license
wwxFromTju/baselines_trpo
331d7ed6788ead30313834605a5a92165a4a4d32
5c01c5f40cc2f96c7c06da392292d01e3c99f3b8
refs/heads/master
2021-04-27T03:58:37.730940
2018-02-26T08:23:08
2018-02-26T08:23:08
122,723,607
0
0
null
null
null
null
UTF-8
Python
false
false
11,713
py
from mytrpo.util import explained_variance, zipsame, dataset # from mytrpo import logger import tensorflow as tf, numpy as np import time from mpi4py import MPI from collections import deque from mytrpo.mpi_util.mpi_util import MpiAdam from mytrpo.util.cg import cg from contextlib import contextmanager import mytrpo.t...
[ "wxwang@tju.edu.cn" ]
wxwang@tju.edu.cn
0055a7631eef94b2d0a850e1eeaa2ff9eb9ab2d4
44460e1b693708c26e1b1b46164c9be347fc1677
/sharefeaturekernel_12_pascal/mmdet/core/mask/structures.py
05f62363b22b0376cb021046f63d76306a53f632
[ "Apache-2.0" ]
permissive
wojiaoyanmin/oot
32b0dcddaa7e14803f26dd9e46ce4fda8cac05eb
cfcd7d0387c978669009ded521d8325e29bbab91
refs/heads/main
2023-04-14T20:33:30.787253
2021-04-24T14:36:51
2021-04-24T14:36:51
324,880,274
0
0
null
null
null
null
UTF-8
Python
false
false
19,857
py
from abc import ABCMeta, abstractmethod import mmcv import numpy as np import pycocotools.mask as maskUtils import torch from mmcv.ops.roi_align import roi_align class BaseInstanceMasks(metaclass=ABCMeta): """Base class for instance masks.""" @abstractmethod def rescale(self, scale, interpolation='near...
[ "358787362@qq.com" ]
358787362@qq.com
31f5d64e805d0125f586a9e24ab48ccb7ede2e86
b6b30fb06124883b074144c419b43d9182efcdff
/CV/facial_detection.py
bee3b643658f91d0d31878663ddf451d9a628468
[]
no_license
JohnnySunkel/BlueSky
da9f5107034289bfbdd3ba40458f9b9bd8d01a13
5a20eba9ef7509a5a7b7af86e7be848242e1a72f
refs/heads/master
2021-07-07T09:57:37.256950
2020-09-02T23:06:46
2020-09-02T23:06:46
166,883,639
0
0
null
null
null
null
UTF-8
Python
false
false
1,405
py
import cv2 import numpy as np # Load the Haar cascade file face_cascade = cv2.CascadeClassifier( 'haar_cascade_files/haarcascade_frontalface_default.xml') # Check if the cascade file has been loaded correctly if face_cascade.empty(): raise IOError('Unable to load the face cascade classifier xml file') #...
[ "noreply@github.com" ]
JohnnySunkel.noreply@github.com
7b272c447edc0dcca8a32d10582d7463c9fe0ab6
34eecc8a7e77748f9cf4049d1d763220b305b7b8
/Gan/normal/gan_with_class.py
22dd1c4f7710e9ec129330f6d4fdde4eb41bf193
[]
no_license
Tetuwo181/Gan
4e9ed3961046b7059db1212f50a69684c3093124
7cafddfadba8e949265dd99121221e014a2f5cce
refs/heads/master
2020-04-30T09:44:18.406912
2019-03-20T15:01:02
2019-03-20T15:01:02
144,116,577
0
0
null
null
null
null
UTF-8
Python
false
false
3,800
py
# -*- coding: utf-8 -*- from Gan.normal import discriminator as ds, generator as gn from keras import Model from keras import Input from keras.models import Sequential import keras.engine.training from keras import optimizers from DataIO import data_loader from DataIO import data_saver from DataIO import create_dir imp...
[ "hamakaze181and189amarube@gmail.com" ]
hamakaze181and189amarube@gmail.com
20d88395772f5b073830047c579aea1a06fb07bf
2612f762ec75a0723a4d12ae1d63a30792e4c236
/build/kinect_aux/catkin_generated/pkg.develspace.context.pc.py
de1c682854d2d35a3fd01298c34ee29e33a07a96
[]
no_license
aransena/catkin_ws
efdf1a52b7dbbefbfa9cb748630f7be1ffd7f628
eae6b83c80803a718a8e41569d3b4e7c1c838926
refs/heads/master
2021-01-18T21:12:48.557260
2016-06-03T13:39:22
2016-06-03T13:39:22
52,208,927
0
0
null
null
null
null
UTF-8
Python
false
false
401
py
# generated from catkin/cmake/template/pkg.context.pc.in CATKIN_PACKAGE_PREFIX = "" PROJECT_PKG_CONFIG_INCLUDE_DIRS = "".split(';') if "" != "" else [] PROJECT_CATKIN_DEPENDS = "roscpp;sensor_msgs;std_msgs".replace(';', ' ') PKG_CONFIG_LIBRARIES_WITH_PREFIX = "".split(';') if "" != "" else [] PROJECT_NAME = "kinect_aux...
[ "aransena@gmail.com" ]
aransena@gmail.com
76328a182be916dd10501d8085c924d2bcc712d9
6e1b45ed452b8176c6840b8b2262e5bd9fa4b177
/data/components/dungeon_entities.py
073530f9b40b12975f6ffda49bce7bfac34467d9
[]
no_license
iminurnamez/dungeoneer
2f1847d03a94c0b01dfe4dafe42178d213fb0f27
9fdb13ac618471d1ed297d2e72483c3364c41bf6
refs/heads/master
2021-01-17T08:24:49.608276
2017-03-04T14:40:20
2017-03-04T14:40:20
83,899,702
1
0
null
null
null
null
UTF-8
Python
false
false
8,150
py
from random import randint, choice import pygame as pg from .. import prepare from ..tools import strip_from_sheet from ..components.monsters import Monster sheet = prepare.GFX["sheet"] TILES = { "floor": strip_from_sheet(sheet, (736, 512), (32, 32), 4), "wall": strip_from_sheet(sheet, (128, 576), ...
[ "easinerf@gmail.com" ]
easinerf@gmail.com
be03bcef40b1c33284517bca8824540dc6203605
e6dab5aa1754ff13755a1f74a28a201681ab7e1c
/.parts/lib/django-1.2/django/contrib/messages/tests/fallback.py
85da6fdfff57782a7fe7175a0ec1ac3b09918626
[]
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
107
py
/home/action/.parts/packages/googleappengine/1.9.4/lib/django-1.2/django/contrib/messages/tests/fallback.py
[ "ron.y.kagan@gmail.com" ]
ron.y.kagan@gmail.com
d3446e477145f4154569c4ba169d4254fd2d43f5
0ddcfcbfc3faa81c79e320c34c35a972dab86498
/tests/test_domino_and_tromino_tiling.py
ba71aec95f80992e0e4abbb04d7cbd3e9b632702
[]
no_license
IvanWoo/coding-interview-questions
3311da45895ac4f3c394b22530079c79a9215a1c
1312305b199b65a11804a000432ebe28d1fba87e
refs/heads/master
2023-08-09T19:46:28.278111
2023-06-21T01:47:07
2023-06-21T01:47:07
135,307,912
0
0
null
2023-07-20T12:14:38
2018-05-29T14:24:43
Python
UTF-8
Python
false
false
325
py
import pytest from puzzles.domino_and_tromino_tiling import num_tilings @pytest.mark.parametrize( "n, expected", [ (1, 1), (2, 2), (3, 5), (4, 11), (5, 24), (6, 53), (7, 117), ], ) def test_num_tilings(n, expected): assert num_tilings(n) == expe...
[ "tyivanwu@gmail.com" ]
tyivanwu@gmail.com
d8c8988548b625797046fed8975c5e0b502e5951
245b92f4140f30e26313bfb3b2e47ed1871a5b83
/airflow/providers/google_vendor/googleads/v12/services/services/campaign_draft_service/pagers.py
cebaaa1f5671bb6c15000e177d0b048927ff182f
[ "Apache-2.0", "BSD-3-Clause", "MIT" ]
permissive
ephraimbuddy/airflow
238d6170a0e4f76456f00423124a260527960710
3193857376bc2c8cd2eb133017be1e8cbcaa8405
refs/heads/main
2023-05-29T05:37:44.992278
2023-05-13T19:49:43
2023-05-13T19:49:43
245,751,695
2
1
Apache-2.0
2021-05-20T08:10:14
2020-03-08T04:28:27
null
UTF-8
Python
false
false
3,579
py
# -*- coding: utf-8 -*- # Copyright 2022 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 or...
[ "noreply@github.com" ]
ephraimbuddy.noreply@github.com
f4a14c1e51aacae878fc2d17ef955304045fdb49
8bb4a472344fda15985ac322d14e8f4ad79c7553
/Python3-Core/src/main/prompto/value/IIterable.py
fa44faffc3e53899a199dad58f8d26676af5e99e
[]
no_license
prompto/prompto-python3
c6b356f5af30c6826730ba7f2ad869f341983a2d
64bd3d97d4702cc912097d41d961f7ab3fd82bee
refs/heads/master
2022-12-24T12:33:16.251468
2022-11-27T17:37:56
2022-11-27T17:37:56
32,623,633
4
0
null
2019-05-04T11:06:05
2015-03-21T07:17:25
Python
UTF-8
Python
false
false
191
py
from prompto.value.IValue import IValue class IIterable ( IValue ): def getIterator(self, context): raise Exception("You must override getIterator in " + type(self).__name__)
[ "eric.vergnaud@wanadoo.fr" ]
eric.vergnaud@wanadoo.fr
8cb28fc028fdfd36360aa4d9a0e03f2173bd90a0
69cefee12d0bd4c374c5a0f0ebb25c6c92e58475
/src/gui/components/uv_edit/__init__.py
2f14a8f69ea8a5e6e95a561112ebee2d8034ef35
[]
no_license
PlumpMath/panda3dstudio
5821353ce5519733f0d75fc518dd97f2e6c1da6c
e736f17bcfb1c597fd4b217610bd5430642eea5a
refs/heads/master
2021-01-25T06:55:38.174353
2017-05-21T14:04:27
2017-05-21T14:04:27
null
0
0
null
null
null
null
UTF-8
Python
false
false
5,179
py
from ...base import * from ...button import Button from .components import Components class UVEditGUI(BaseObject): def __init__(self): self._window = None def setup(self): def enter_editing_mode(prev_state_id, is_active): Mgr.do("set_viewport_border_color", (100, 255, 100)) ...
[ "Epihaius@users.noreply.github.com" ]
Epihaius@users.noreply.github.com
82d3b242eaffbae5137afece02c5254d0b438f74
660e35c822423685aea19d038daa8356722dc744
/stock_supply/location.py
9499396cc5ff84e8e310a9dd5f39b7480c0fb2b6
[]
no_license
saifkazi/tryton_modules
a05cb4a90ae2c46ba39d60d2005ffc18ce5e44bb
94bd3a4e3fd86556725cdff33b314274dcb20afd
refs/heads/main
2023-05-05T12:20:02.059236
2021-05-19T10:46:37
2021-05-19T10:46:37
368,768,310
0
0
null
null
null
null
UTF-8
Python
false
false
2,143
py
# This file is part of Tryton. The COPYRIGHT file at the top level of # this repository contains the full copyright notices and license terms. import datetime from trytond.pool import PoolMeta, Pool from trytond.model import fields from trytond.pyson import Eval class Location(metaclass=PoolMeta): __name__ = 's...
[ "saif.kazi76@gmail.com" ]
saif.kazi76@gmail.com
471edd804cac585bcbeff44da490d891dab91791
d3e3c79dff7c33e0a432e1df55c57db34336c433
/fileuploads/migrations/0003_auto_20160320_0656.py
78e7a3d9c0f69bb44a9fe1dfcdb755576c174bdc
[]
no_license
yayoiukai/qctools
6695fe1d1d442b90fdd2642f6187c47fefdea559
42fcaeaf4c1062433635d05d75e6bd98e08c4fe4
refs/heads/master
2021-01-21T12:59:12.010692
2016-03-29T06:22:24
2016-03-29T06:22:24
54,534,571
1
0
null
null
null
null
UTF-8
Python
false
false
460
py
# -*- coding: utf-8 -*- # Generated by Django 1.10.dev20160107235441 on 2016-03-20 06:56 from __future__ import unicode_literals from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('fileuploads', '0002_video'), ] operations = [ migrations.Al...
[ "yayoi.ukai@gmail.com" ]
yayoi.ukai@gmail.com
6f9ae4358d683d55b564b2534fcc87acc4f7cada
90a8c648e63290f8f0c2b4e693cb4d172c8b44f8
/setup.py
564f6b929eb8554aeae21f18dad9d2c97a1735f2
[ "LicenseRef-scancode-public-domain" ]
permissive
jamespjh/greeter
6f079570f5a653e84c8013358659f6478c68573c
3740b316ca0c4b3e9ef48ea17a9c902bdbb43447
refs/heads/master
2021-07-05T14:46:25.438828
2017-12-18T17:03:45
2017-12-18T17:03:45
91,366,659
0
3
NOASSERTION
2018-11-14T17:20:31
2017-05-15T17:41:38
Python
UTF-8
Python
false
false
219
py
from setuptools import setup, find_packages setup( name = "Greetings", version = "0.1.0", packages = find_packages(exclude=['*test']), scripts = ['scripts/greet'], install_requires = ['argparse'] )
[ "jamespjh@gmail.com" ]
jamespjh@gmail.com
89a31a4f5c9daa14e2745c97f38cc57c7c04871b
bde4c80dea61e0d8ad6284259bf0c68f6477a884
/ch_1/floats/floats.py
f0e85854b18c071c9eeb19d1f78e91f48980e8d5
[]
no_license
amymhaddad/python_workout
d922fec13f4cabc01bea3b5bde71742d54273688
3000800b0cdda5e01cc4a66f082d23931140e280
refs/heads/master
2020-07-20T07:06:24.533209
2020-01-28T15:31:18
2020-01-28T15:31:18
206,593,810
0
0
null
null
null
null
UTF-8
Python
false
false
450
py
number = 1234.5678 def new_number(number, before, after): str_number = str(number) before_decimal = "" after_decimal = "" decimal = str_number.find(".") for i, num in enumerate(str_number): if i < decimal: before_decimal += str_number[i] elif i > decimal: a...
[ "amy.m.haddad@gmail.com" ]
amy.m.haddad@gmail.com
f88206771266562a1cdccd9bd81583a3226128ed
b506a28ec3c9a5c5c38b2fe1c76d023fe292062f
/PH_LIGHTING/PH_MANAGERLIGHTS/OLD/PH_MANAGERLIGHTS_V002.py
f00341256239433fb511e1bc858c22ccd96e9635
[]
no_license
lefan2016/PipelineTool
4fe7f631cce7017e4a81d2c3b08488e4a0e98968
8e9b6463222df468878958aa8eb0ed763ef5c52a
refs/heads/master
2020-12-02T07:14:39.701840
2017-09-12T15:27:50
2017-09-12T15:27:50
null
0
0
null
null
null
null
UTF-8
Python
false
false
14,086
py
import maya.cmds as cmds import maya.mel as mel #from functools import partial lights = [] swatches = [] main_layout = '' light_layout = '' opt = 0 WIDTH = 800 HEIGHT = 600 #contadores para nombre de luz contSpot=0 contDir=0 contPoint=0 contArea=0 contAmb=0 def UI(*args): """creates window for UI""" # check to...
[ "pabloemmanueldeleo@gmail.com" ]
pabloemmanueldeleo@gmail.com
01650a8521d891b0d006949010d4a33df0d8d416
33c1309be7f66f1b4d0078e2f275bbdd6722154b
/5_dictionnary/5.3 arbres binaires de recherche/5.3.1 abr/TreeMap.py
86269400ad5ea09ff963215b4c9aefe1fbaaacde
[]
no_license
JGuymont/ift2015
af6fc6ab1cc5e6bc37286e9342361cce4f55d76a
d152c2e955e073375d093c4358cc7fac4932aaee
refs/heads/master
2020-03-28T18:53:11.134983
2019-02-24T17:16:15
2019-02-24T17:16:15
148,923,259
1
1
null
null
null
null
UTF-8
Python
false
false
16,778
py
#!/usr/local/bin/python3 # author = "Francois Major" # version = "1.0" # date = "28 mars 2014" # # Programme Python pour IFT2015/5 Dictionnaires/5.1 Dictionnaire # # Pris et modifié de Goodrich, Tamassia & Goldwasser # Data Structures & Algorithms in Python (c)2013 import random import time from LinkedBinaryTree im...
[ "j.guymont@gmail.com" ]
j.guymont@gmail.com
0f97d217a9d76e70bfe4bfcfd44e50d296f993b6
d1ddb9e9e75d42986eba239550364cff3d8f5203
/google-cloud-sdk/lib/surface/pubsub/topics/publish.py
e42a4833a80aafe9049d6c6b595afee8620114bc
[ "Apache-2.0", "LicenseRef-scancode-unknown-license-reference" ]
permissive
bopopescu/searchparty
8ecd702af0d610a7ad3a8df9c4d448f76f46c450
afdc2805cb1b77bd5ac9fdd1a76217f4841f0ea6
refs/heads/master
2022-11-19T14:44:55.421926
2017-07-28T14:55:43
2017-07-28T14:55:43
282,495,798
0
0
Apache-2.0
2020-07-25T17:48:53
2020-07-25T17:48:52
null
UTF-8
Python
false
false
4,135
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...
[ "vinvivo@users.noreply.github.com" ]
vinvivo@users.noreply.github.com
7753218a00b11c3a6b6518fb04c361da9e1f47d6
221d1ad342677d2fac8aa3f8d5c60e059a6316c9
/pm4py/evaluation/replay_fitness/variants/__init__.py
85ea4e7b447ec8d23828d5ee2c05aa1d8d31abaa
[]
no_license
niklasadams/explainable_concept_drift_pm
06ff651fbdebece4adf96f94bfb4d1026da14c48
6bf84d727ab0bae76716a04ad28c7de73250c89d
refs/heads/main
2023-08-26T18:21:49.955080
2021-10-29T18:53:48
2021-10-29T18:53:48
314,514,571
4
0
null
null
null
null
UTF-8
Python
false
false
83
py
from pm4py.evaluation.replay_fitness.variants import alignment_based, token_replay
[ "niklas.adams@pads.rwth-aachen.de" ]
niklas.adams@pads.rwth-aachen.de
3f67999ebad73598aaae6a372e58203be2613491
f25440c9f9fd470ba44394a36d5659dd47ee8800
/models/preprocess.py
a62523c9c1e3bcd4657ee57ba053b640460a3f02
[]
no_license
kqf/hubmap
75010d9109f8b8656e244179de5de226be584d5b
37b3d839f0ad3f47dc39c1b9b036cb1acc27ca2c
refs/heads/master
2023-02-20T04:06:00.145932
2021-01-23T07:56:13
2021-01-23T07:56:13
317,635,257
0
0
null
null
null
null
UTF-8
Python
false
false
3,669
py
import cv2 import click import tifffile import numpy as np import pandas as pd from pathlib import Path from click import Path as cpath from tqdm import tqdm from models.encoding import decode def tiff_read(filename): image = tifffile.imread(filename) if len(image.shape) == 5: image = image.squeeze...
[ "noreply@github.com" ]
kqf.noreply@github.com
7da0243bdf541b2d45985f40ab0d202c0e65d82f
0c110eb32f2eaea5c65d40bda846ddc05757ced6
/python_scripts/pimriscripts/mastersort/scripts_dir/p7432_run1L6.py
2f23d82d7de9c6aaee495a338a38a650712e6ae3
[]
no_license
nyspisoccog/ks_scripts
792148a288d1a9d808e397c1d2e93deda2580ff4
744b5a9dfa0f958062fc66e0331613faaaee5419
refs/heads/master
2021-01-18T14:22:25.291331
2018-10-15T13:08:24
2018-10-15T13:08:24
46,814,408
0
0
null
null
null
null
UTF-8
Python
false
false
1,192
py
from __future__ import with_statement import os, csv, shutil,tarfile, uf, dcm_ops dest_root = '/ifs/scratch/pimri/soccog/test_working' dst_path_lst = ['7432', 'run1L6'] uf.buildtree(dest_root, dst_path_lst) uf.copytree('/ifs/scratch/pimri/soccog/old/SocCog_Raw_Data_By_Exam_Number/2480/e1331017/s1340560_1904_1L6_s9', '/...
[ "katherine@Katherines-MacBook-Pro.local" ]
katherine@Katherines-MacBook-Pro.local
1f5d573c1080f3260a71678f6f0e8ad59a323d45
62f14a7eab00216122e1d2bd4c19ed0c3045398a
/main/migrations/0081_auto_20190508_1427.py
537b0963df08a4c2f07917ec3baf38a055a82667
[]
no_license
pzagora/share.it
12280372eb2c124cf807d04534a1fefdd0183356
ab825862d6f776f4d8617438f9c98bc183be089f
refs/heads/master
2020-04-30T10:03:58.919422
2019-05-21T19:14:15
2019-05-21T19:14:15
176,766,038
6
0
null
2019-05-21T19:14:16
2019-03-20T15:41:56
Python
UTF-8
Python
false
false
731
py
# Generated by Django 2.1.7 on 2019-05-08 12:27 import datetime from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('main', '0080_auto_20190508_1407'), ] operations = [ migrations.AlterField( model_name='topiccategory', ...
[ "patrykdziedzioch@gmail.com" ]
patrykdziedzioch@gmail.com
22294ebd16ef24a26217a20a9b1f1e1a65fe9155
9e549ee54faa8b037f90eac8ecb36f853e460e5e
/venv/lib/python3.6/site-packages/babel/messages/jslexer.py
b5a3abd80f5b585cff78c5e9cac8539eb9ce41b0
[ "MIT" ]
permissive
aitoehigie/britecore_flask
e8df68e71dd0eac980a7de8c0f20b5a5a16979fe
eef1873dbe6b2cc21f770bc6dec783007ae4493b
refs/heads/master
2022-12-09T22:07:45.930238
2019-05-15T04:10:37
2019-05-15T04:10:37
177,354,667
0
0
MIT
2022-12-08T04:54:09
2019-03-24T00:38:20
Python
UTF-8
Python
false
false
6,828
py
# -*- coding: utf-8 -*- """ babel.messages.jslexer ~~~~~~~~~~~~~~~~~~~~~~ A simple JavaScript 1.5 lexer which is used for the JavaScript extractor. :copyright: (c) 2013-2018 by the Babel Team. :license: BSD, see LICENSE for more details. """ from collections import namedtuple import re from ba...
[ "aitoehigie@gmail.com" ]
aitoehigie@gmail.com
4fff242e8d945350cc9e825c5cf7a9a7b0ad2f83
f957a3617ed4a0a61e40456c84b38300e78df084
/pulsar/web/routes.py
f460ef439cb488f030fe04e585a5306fd6a00b2a
[ "Apache-2.0" ]
permissive
VBCF-BioComp/pulsar
c1082b3eb4221ec3093369b13ee845b74d5eeea8
ad2ae0980654d08ac63ce728d8942e092e9bdc99
refs/heads/master
2021-06-14T09:36:30.900591
2017-05-12T14:40:18
2017-05-12T14:40:18
null
0
0
null
null
null
null
UTF-8
Python
false
false
10,122
py
import logging import os from json import loads from webob import exc from pulsar.util import ( copy_to_path, copy_to_temp, ) from pulsar.client.job_directory import verify_is_in_directory from pulsar.client.action_mapper import path_type from pulsar.manager_endpoint_util import ( setup_job, status_d...
[ "jmchilton@gmail.com" ]
jmchilton@gmail.com
7ac12faae03a0a14d6c60e66419e42563c663130
82b946da326148a3c1c1f687f96c0da165bb2c15
/sdk/python/pulumi_azure_native/servicefabric/v20210601/cluster.py
f280d0753cde17c9457a121174a9c65b9f4f6288
[ "Apache-2.0", "BSD-3-Clause" ]
permissive
morrell/pulumi-azure-native
3916e978382366607f3df0a669f24cb16293ff5e
cd3ba4b9cb08c5e1df7674c1c71695b80e443f08
refs/heads/master
2023-06-20T19:37:05.414924
2021-07-19T20:57:53
2021-07-19T20:57:53
387,815,163
0
0
Apache-2.0
2021-07-20T14:18:29
2021-07-20T14:18:28
null
UTF-8
Python
false
false
66,034
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" ]
morrell.noreply@github.com
98750994a2b70ea02282809c64c010b01db2240e
9818262abff066b528a4c24333f40bdbe0ae9e21
/Day 65/AddAlternateElements.py
037b90dcf99ec09f4818dd4e8f2200b164577233
[ "MIT" ]
permissive
skdonepudi/100DaysOfCode
749f62eef5826cb2ec2a9ab890fa23e784072703
af4594fb6933e4281d298fa921311ccc07295a7c
refs/heads/master
2023-02-01T08:51:33.074538
2020-12-20T14:02:36
2020-12-20T14:02:36
null
0
0
null
null
null
null
UTF-8
Python
false
false
740
py
''' You are given a two-dimensional 3*3 array starting from A [0][0]. You should add the alternate elements of the array and print its sum. It should print two different numbers the first being sum of A 0 0, A 0 2, A 1 1, A 2 0, A 2 2 and A 0 1, A 1 0, A 1 2, A 2 1. Input Format First and only line contains the valu...
[ "sandeepiiitn@gmail.com" ]
sandeepiiitn@gmail.com
e2b8f3352eb4cd97eed42008c7c8689b0d58e618
5d48aba44824ff9b9ae7e3616df10aad323c260e
/two_pointers/838.push_dominoes.py
ae388c75ae75543d9f77237c9c9089717b556cd7
[]
no_license
eric496/leetcode.py
37eab98a68d6d3417780230f4b5a840f6d4bd2a6
32a76cf4ced6ed5f89b5fc98af4695b8a81b9f17
refs/heads/master
2021-07-25T11:08:36.776720
2021-07-01T15:49:31
2021-07-01T15:49:31
139,770,188
3
0
null
null
null
null
UTF-8
Python
false
false
1,866
py
""" There are N dominoes in a line, and we place each domino vertically upright. In the beginning, we simultaneously push some of the dominoes either to the left or to the right. After each second, each domino that is falling to the left pushes the adjacent domino on the left. Similarly, the dominoes falling to the rig...
[ "eric.mlengineer@gmail.com" ]
eric.mlengineer@gmail.com
17aafb5ac63f8835219377cd7001623c16b7af19
ffb25dc1d241ea31b99352c70b5084116991527c
/src/apps/configs/urls.py
a698156484c09fa99efde8b1f2a6bbb340b329dc
[ "MIT" ]
permissive
COAStatistics/aprp
74715bc87d846ca6bce916693a7f3d268fe50e59
1fcdf66d51f50a61076a722196383c4d879f7aed
refs/heads/master
2023-08-13T18:11:03.338200
2023-08-02T06:21:13
2023-08-02T06:21:13
145,945,940
12
7
MIT
2023-08-02T06:21:15
2018-08-24T05:23:20
Python
UTF-8
Python
false
false
134
py
from django.conf.urls import url, include urlpatterns = [ url(r'^ajax/', include('apps.configs.ajax.urls', namespace='ajax')), ]
[ "travishen.tw@gmail.com" ]
travishen.tw@gmail.com
9c756a48b4119ce3f2e6423358340584126cf259
53fab060fa262e5d5026e0807d93c75fb81e67b9
/backup/user_295/ch20_2019_03_28_14_05_26_845418.py
75cb0851c92c37b96c6bc5457244ac12d86a25af
[]
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
159
py
nome = input ("Qual é o seu nome?") if nome == "Chris": print ("Todo mundo odeia o Chris") else: print("Olá, o meu nome é {0}" .format (nome))
[ "you@example.com" ]
you@example.com
a09a56e788688cee221e85a21daa466029368e89
62f98dd397311eb4bdcf0458cdc597f2e4f728e6
/深信服_sangfor_相关/sangfor_acm_oj/before_2016_12_03/acm_1086.py
5351419201f76946e8d1a9230e387b6714f8894f
[]
no_license
276585877/interview_collect
9cf23fa4375886854c38bc0ac7c4b50e24a1eef8
a3ec3f4bf57099cbd6acf9ba4e9797e685d5a4ce
refs/heads/master
2022-01-16T02:18:29.907689
2019-07-08T09:27:01
2019-07-08T09:27:01
null
0
0
null
null
null
null
UTF-8
Python
false
false
699
py
#!/bin/env python3 # -*- coding: utf-8 -*- # version: Python2.X """ 输入 从键盘输入一个整数n,然后按上面的公式求和。 输出 输出求和的结果s。s为双精度浮点数,精确到小数点后面8位。 样例输入 22 样例输出 0.67093591 """ __author__ = '__L1n__w@tch' def solve(question): number = question result = 0 for i in range(number): current_num = i + 1 result +=...
[ "490772448@qq.com" ]
490772448@qq.com
10548a03012a0ce2bb98a66e47b25546a525ad7f
9f0e740c6486bcb12f038c443b039c886124e55c
/python-study/tools/tools/hexparse/hexparse.py
51c66abbd6cc40557285f19e6dff9b384f7c32d1
[]
no_license
zfanai/python-study
373ff09bd1e6be9e098bde924c98f5277ad58a54
de11a6c8018730bb27e26808f5cbc0c615b4468f
refs/heads/master
2021-01-18T17:59:16.817832
2017-11-06T09:33:21
2017-11-06T09:33:21
86,831,175
1
0
null
null
null
null
GB18030
Python
false
false
18,084
py
#encoding:gbk import sys import re import os import ConfigParser def hex2data(hex_str): size=len(hex_str) data=[] for i in xrange(size/2): data.append(int(hex_str[i*2:(i+1)*2], 16)) return data # 大端:高低高低 # 小端:高高低低 def bytes2int(data, big_endian=False): res=0 if big_end...
[ "zf_sch@126.com" ]
zf_sch@126.com
aedfd9eb1572802a1daa7ea1923942c283b57088
0d8fb904f731515b5abd6afa7c9935a7cc820725
/month02/day16/exercise.py
a9a38360871ea6ebdc81a879df554031f36a06e2
[]
no_license
cartoon-fans/-
13513a88aff08e1b1670ac6a46a22a82ce0e954a
5b21e997b129f860ac2ea0086a445defe1e649e6
refs/heads/master
2020-09-17T01:13:33.114638
2019-11-25T12:13:24
2019-11-25T12:13:24
223,941,579
0
0
null
null
null
null
UTF-8
Python
false
false
721
py
import re import pymysql # 链接数据库 db = pymysql.connect(host='localhost', port=3306, user='root', password='123456', database='dict', charset='utf8') # 生成游标对象(用于操作数据库数据,获取sql执行结果的对象) cur = db.cursor() # 执行各种数据库sql操作...
[ "879354702@qq.com" ]
879354702@qq.com
749a4cbdfed7794be4d275ab6db22341f81c3eca
a2ee5ae795d7848fb11a27a8a5b20dfcf6c76322
/erinn/python/utils/np_utils.py
1766de8e175b8f20de4da7ca4fc414dbcc24c8d7
[ "MIT" ]
permissive
swcjack6931677/ERINN
750094c3fa52fb10fababe1113fcf018749418e6
a4f3d0ad213515bc86e2a18575537d6affd472ac
refs/heads/master
2020-07-17T11:45:03.077459
2019-09-18T06:12:17
2019-09-18T06:12:17
206,013,936
0
0
MIT
2019-09-03T07:19:31
2019-09-03T07:19:30
null
UTF-8
Python
false
false
1,600
py
"""Numpy-related utilities.""" from __future__ import division, absolute_import, print_function import numpy as np def rand_replace_elem(x, ratio, fill=0, inplace=True): """Random replace array with specific value at certain ratio. Parameters ---------- x : numpy.ndarray 2D array. ratio ...
[ "supon3060@gmail.com" ]
supon3060@gmail.com
c44bab7167b8621470453dc02ed9dac4baebf1fa
cde6551c9fc4024bdd5f815a4074d6c5d2abe4db
/backend/manage.py
10248736c57190b55cc9874f3ec036da1a03501e
[]
no_license
crowdbotics-apps/morning-lab-26370
7696f10c21f9fac94874a107bd5ff6169d3b426d
cf0ba4fe6ece9e187044d8d6d4cecf9c4545266c
refs/heads/master
2023-04-22T16:48:45.928027
2021-05-08T05:04:06
2021-05-08T05:04:06
365,423,371
0
0
null
null
null
null
UTF-8
Python
false
false
637
py
#!/usr/bin/env python """Django's command-line utility for administrative tasks.""" import os import sys def main(): os.environ.setdefault('DJANGO_SETTINGS_MODULE', 'morning_lab_26370.settings') try: from django.core.management import execute_from_command_line except ImportError as exc: ra...
[ "team@crowdbotics.com" ]
team@crowdbotics.com
ffa043931b3a587325f5d42409564c26fc4ff283
55b6bd57378204b8b567a77126312b6ca2ada693
/src/eval_itl_WIP.py
f941c7ab5bffecada872494ce499933d3eaa5ee1
[ "MIT" ]
permissive
capybaralet/TabulaRL
9d232513ad9d1f33c2a3bafb8a5b8ac5974afabf
f9a66a85930e85475982404f389ba4651435f780
refs/heads/master
2020-04-05T18:59:49.427591
2016-12-02T03:39:22
2016-12-02T03:39:22
64,227,703
0
0
null
2016-07-26T14:26:18
2016-07-26T14:26:17
null
UTF-8
Python
false
false
9,245
py
from pylab import * import matplotlib as mpl mpl.rcParams['lines.linewidth'] = 1.5 import os import cPickle as pickle def pyload(filepath): with open(filepath, 'rb') as file_: return pickle.load(file_) # TODO: make a plot function that programmatically: # maximizes windows, # figure(figsize=(10,...
[ "davidscottkrueger@gmail.com" ]
davidscottkrueger@gmail.com
11a2ee9d9719d1d98a1802e218fcd616dab5ae73
c1f56792a6a2cb0ca93398c53aadf2ed99e690dc
/cut_mp4.py
2c1ecaf58dfa787cb92997aff1be54d6572afcb3
[]
no_license
JIANG-CX/yolov4_siamfcpp_multitracking
759106e358b292bcf9d67beedbd431035a03bf65
eccc8fdf52e34541a376e23daa8672f29dc64542
refs/heads/main
2023-02-26T19:10:50.636716
2021-02-05T17:15:32
2021-02-05T17:15:32
339,028,648
1
0
null
2021-02-15T09:40:26
2021-02-15T09:40:26
null
UTF-8
Python
false
false
771
py
import cv2 INPUT_FILE = 't1.avi' OUTPUT_FILE = 'clip1.avi' start_frame = 10 end_frame = 50 reader = cv2.VideoCapture(INPUT_FILE) width = int(reader.get(cv2.CAP_PROP_FRAME_WIDTH)) height = int(reader.get(cv2.CAP_PROP_FRAME_HEIGHT)) writer = cv2.VideoWriter(OUTPUT_FILE, cv2.VideoWriter_fourcc("mp4v"), ...
[ "3180103610@zju.edu.cn" ]
3180103610@zju.edu.cn
4af1b5493554b36f1aafe7a6bf8f998421eb54a4
9095c1a0da8c6ffe914ee6dd9c4708062fd95c9a
/test/test_meta_people_detail_event.py
b15358919899b1150ffb71c903e7180cfefbc299
[ "MIT" ]
permissive
vtpl1/vtpl_api_py
2e5338bd08677f12fc7304fb6ac7a32f32af1c93
d289c92254deb040de925205c583de69802a1c6b
refs/heads/master
2020-09-10T23:34:21.828350
2019-11-15T07:26:53
2019-11-15T07:26:53
null
0
0
null
null
null
null
UTF-8
Python
false
false
868
py
# coding: utf-8 """ Engine api Engine APIs # noqa: E501 The version of the OpenAPI document: 1.0.4 Generated by: https://openapi-generator.tech """ from __future__ import absolute_import import unittest import vtpl_api from vtpl_api.models.meta_people_detail_event import MetaPeopleDetailEvent #...
[ "monotosh.das@videonetics.com" ]
monotosh.das@videonetics.com
ae7c0e0f280ba8465b80dc7f0c05c9877e386117
9f01627911817add0d08a8f77d330802c26bd8f0
/cvpods/data/transforms/auto_aug.py
19c8501e0a536a8628e508c89019ba0c47ab691d
[ "Apache-2.0" ]
permissive
StevenGrove/LearnableTreeFilterV2
44389a2d471db1716147bedd3fb3d304349d770d
0c85352155ed56dfc6126fc1ebcfec35f16d4375
refs/heads/main
2023-02-19T09:41:56.736387
2020-12-16T07:06:43
2020-12-16T07:06:43
303,635,302
93
8
null
null
null
null
UTF-8
Python
false
false
10,473
py
import math import random import numpy as np import PIL from PIL import Image, ImageEnhance, ImageOps from cvpods.data.transforms import Transform _PIL_VER = tuple([int(x) for x in PIL.__version__.split('.')[:2]]) _FILL = (128, 128, 128) # This signifies the max integer that the controller RNN could predict for th...
[ "stevengrove@stu.xjtu.edu.cn" ]
stevengrove@stu.xjtu.edu.cn
091dac4ac4e295b09a057b906e037fdfa5cb4dab
f0d713996eb095bcdc701f3fab0a8110b8541cbb
/vnzjuqjCf4MFHGLJp_7.py
9dbb0283211b4cbe1868d8b59cda5957d5f02b80
[]
no_license
daniel-reich/turbo-robot
feda6c0523bb83ab8954b6d06302bfec5b16ebdf
a7a25c63097674c0a81675eed7e6b763785f1c41
refs/heads/main
2023-03-26T01:55:14.210264
2021-03-23T16:08:01
2021-03-23T16:08:01
350,773,815
0
0
null
null
null
null
UTF-8
Python
false
false
808
py
""" Create a function that takes a string and shifts the letters to the right by an amount `n` **but not the whitespace**. ### Examples shift_letters("Boom", 2) ➞ "omBo" shift_letters("This is a test", 4) ➞ "test Th i sisa" shift_letters("A B C D E F G H", 5) ➞ "D E F G H A B C" ### Notes ...
[ "daniel.reich@danielreichs-MacBook-Pro.local" ]
daniel.reich@danielreichs-MacBook-Pro.local
4ef0cb25ec95b6143c73279389bf28f56715ddce
5d6fa3466d9fa8bd6719c6dea586163d3d089090
/codes/CHAPTER_4/Chapter_4.5_Dictionaries/Lessson_2/TraversingDictionaries-3.py
22eb1a3c615925fa0e7970b0016686ae906751e2
[]
no_license
harveylabis/GTx_CS1301
cff0c1a076b1da73c66d53175330b4dedc244163
f26a5e9c4b8c29acb831444cd59d21524267825c
refs/heads/master
2023-06-26T14:44:38.976288
2021-08-02T04:20:31
2021-08-02T04:20:31
269,361,753
0
0
null
null
null
null
UTF-8
Python
false
false
296
py
#Creates myDictionary with sprockets=5, #widgets=11, cogs=3, gizmos=15, gadgets=1 myDictionary = {"sprockets" : 5, "widgets" : 11, "cogs" : 3, "gizmos" : 15, "gadgets" : 1} for (key, value) in myDictionary.items(): if value < 5: print(key, "is less than 5:", value)
[ "harveyabiagador@gmail.com" ]
harveyabiagador@gmail.com
d8735830d662023862e2d5859f6bfee0cb2fb5d6
27acd9eeb0d2b9b6326cc0477e7dbb84341e265c
/test/vraag4/src/synoniemen/89.py
cddf509dbe34a78aa301a8632574bd6fd0cec95a
[]
no_license
VerstraeteBert/algos-ds
e0fe35bc3c5b7d8276c07250f56d3719ecc617de
d9215f11cdfa1a12a3b19ade3b95fa73848a636c
refs/heads/master
2021-07-15T13:46:58.790446
2021-02-28T23:28:36
2021-02-28T23:28:36
240,883,220
1
1
null
null
null
null
UTF-8
Python
false
false
128
py
def synoniemen(zin, woordenboek): nieuwe_zin = " ".join([woordenboek.get(i, i) for i in zin.split()]) return nieuwe_zin
[ "bertverstraete22@gmail.com" ]
bertverstraete22@gmail.com
77465d7f6df98c02d624f736cc053f44e64e3f24
7246faf9a222269ce2612613f58dc5ff19091f10
/baekjoon/1000~2999/2578_빙고.py
c0462ca35f08d13e557b6c4a4ad155217dfcb131
[]
no_license
gusdn3477/Algorithm_Study
87a2eb72a8488d9263a86db70dadc7944434d41d
3fefe1dcb40122157845ffc542f41cb097711cc8
refs/heads/main
2023-08-30T12:18:21.412945
2021-09-28T13:00:11
2021-09-28T13:00:11
308,364,230
0
1
null
null
null
null
UTF-8
Python
false
false
1,348
py
def bingo(): global total total = 0 # 가로 줄 for i in range(5): ct = 0 for j in range(5): if arr[i][j] == 0: ct += 1 if ct == 5: total += 1 # 세로 줄 for i in range(5): ct = 0 for j in range(5): if arr[j][i]...
[ "gusdn3477@naver.com" ]
gusdn3477@naver.com
8dc6276de49928d4ce015faace60ccdc15ab401c
44e99bc459132c27449aec6e23032d6c40c5f2ed
/hola.py
cb2eaae6c09ce40af5d1661908c6b23f5b21713e
[]
no_license
mariosky/MiProyecto
788792082b064c726155c2053a9ca89a38138df8
a15bbad97a5e56706aaea28cc9ebed482edd40d8
refs/heads/master
2021-01-10T07:15:20.641175
2015-10-13T21:17:01
2015-10-13T21:17:01
44,203,462
0
0
null
null
null
null
UTF-8
Python
false
false
25
py
print "Hola Mundo Bello"
[ "mariosky@gmail.com" ]
mariosky@gmail.com
d75862fa102576cf5cb4c48da6ae15269428380a
c38e3b817ad52ea3ec607f731ec9586a37dc82fd
/more_tango_with_django_project/rango/models.py
039bdff7acd57d2b2004203f194dd255a71db8ba
[]
no_license
gzpgg3x/REAL_more_after_Influenster_meetup
916e4533733da4b6af22a2fc3ac8136cabbaf056
d3b79378a46382e1226a86d1df72001fdf13421f
refs/heads/master
2020-05-18T19:00:18.401114
2014-06-01T14:54:13
2014-06-01T14:54:13
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,010
py
from django.db import models from django.contrib.auth.models import User class Category(models.Model): name = models.CharField(max_length=128, unique=True) views = models.IntegerField(default=0) likes = models.IntegerField(default=0) def __unicode__(self): return self.name class Page(models.M...
[ "gzpgg3x@yahoo.com" ]
gzpgg3x@yahoo.com
b43f0a1573e8628fdd730ed6cadae65f3ea66483
88fe8aca1fcf8b71daf9e837ec97d4e5c05bcbbf
/kubernetes_asyncio/client/api/node_api.py
5866c2905f31f8ebbdaa0e6f427558ed1d4f3c56
[ "Apache-2.0" ]
permissive
aK0nshin/kubernetes_asyncio
6d51e0d31c813cfe1a5ab05035fcf4bdf7094e94
aef9edcc1f8671a5b1bba9f4684bde890176b19c
refs/heads/master
2020-12-19T02:00:59.100037
2020-01-14T21:28:58
2020-01-14T21:28:58
235,586,739
0
0
Apache-2.0
2020-01-22T14:07:35
2020-01-22T14:07:35
null
UTF-8
Python
false
false
3,964
py
# coding: utf-8 """ Kubernetes No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 OpenAPI spec version: v1.14.7 Generated by: https://openapi-generator.tech """ from __future__ import absolute_import import re # noqa: F401 # p...
[ "tomasz.prus@gmail.com" ]
tomasz.prus@gmail.com
f15af4c3f7fd146f54af4d68e1363c5993d3d301
8d90e2eae476ecbe88d46ef2f03fe7ba92cc733b
/Programming Basics with Python/For-cycle/For_C_lab_ex6_2_sum_of_vowels.py
1bb6d3c6d6c097cc6771d4095b96694e3319bab9
[]
no_license
KaterinaMutafova/SoftUni
c3f8bae3c2bf7bd4038da010ca03edc412672468
7aeef6f25c3479a8d677676cb1d66df20ca0d411
refs/heads/main
2023-03-08T10:53:49.748153
2021-02-19T15:55:13
2021-02-19T15:55:13
317,597,660
1
0
null
null
null
null
UTF-8
Python
false
false
297
py
length = input() sum = 0 for i in range(0,len(length)): if length[i] == "a": sum += 1 if length[i] == "e": sum += 2 if length[i] == "i": sum += 3 if length[i] == "o": sum += 4 if length[i] == "u": sum += 5 print(sum)
[ "noreply@github.com" ]
KaterinaMutafova.noreply@github.com
5f5eea17ab0947650244aa58b28e68092747002d
3a719dd94f1effdef2373f0bdb98ca9fe4b5c5f8
/echosense.py
6a9f299ba9fbf86dbc11dacf61ad8c97716d1e66
[ "MIT" ]
permissive
Hitatm/echo-sense
ff16f3100e5d932ba12f0d44916f4103ea6736ce
f6f68ba347e5f1584f00a87b689646b1baeb09fe
refs/heads/master
2020-06-09T15:00:02.583103
2016-12-09T07:33:54
2016-12-09T07:33:54
null
0
0
null
null
null
null
UTF-8
Python
false
false
11,231
py
import os, logging import webapp2 from actions import actions, adminActions, cronActions, schemaActions, gcmActions import tasks from views import views import settings import api, inbox SECS_PER_WEEK = 60 * 60 * 24 * 7 # Enable ctypes -> Jinja2 tracebacks PRODUCTION_MODE = not os.environ.get( 'SERVER_SOFTWARE', ...
[ "onejgordon@gmail.com" ]
onejgordon@gmail.com
1193ef9a679e0be796d91e32c5802a6ec376fd3f
837795218c0fb251b9daa0b74321f080c9c6cb59
/Project/Konsep_Data_Warehouse/Praktikum/Case.py
bd0d9f88fefa7357ddf00300076e9ea5585b34d8
[]
no_license
Faizmuazzam/A_E31190648_Faiz_Muazzam_Data_Warehouse
06d5447acc20e5eb06cc45476184b0e68a1185b3
67f18a2edf74c0957b2f5b40b647817dcf15e343
refs/heads/main
2023-06-15T20:05:13.780586
2021-07-14T02:46:12
2021-07-14T02:46:12
null
0
0
null
null
null
null
UTF-8
Python
false
false
258
py
print("=======================Case======================") #Case # Sintak Python bersifat case sensitive, # yang berarti antara huruf besar dan huruf kecil akan di bedakan print("Halo Faiz Muazzam!") # Akan terjadi eror # PRINT("Halo Teman-teman semester 4")
[ "65695747+E31190648-Faiz-Muazzam@users.noreply.github.com" ]
65695747+E31190648-Faiz-Muazzam@users.noreply.github.com
4246f3df7183b9febad53c441b738a3dad97bc9c
ca7aa979e7059467e158830b76673f5b77a0f5a3
/Python_codes/p02699/s206158159.py
24d26dd3cd1f649672adb0b6baed2eb45ab04de6
[]
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
201
py
# -*- coding: utf-8 -*- def main(): S, W = map(int, input().split()) if S <= W: ans = 'unsafe' else: ans = 'safe' print(ans) if __name__ == "__main__": main()
[ "66529651+Aastha2104@users.noreply.github.com" ]
66529651+Aastha2104@users.noreply.github.com
7e3ac507a17d30827fa695950184b0a4574722e1
4ed038a638725ac77731b0b97ddd61aa37dd8d89
/cairis/gui/GoalPanel.py
1b7d0bdd458134a17ddf861bc307d77ea6871db9
[ "Apache-2.0" ]
permissive
RachelLar/cairis_update
0b784101c4aff81ff0390328eb615e335301daa2
0b1d6d17ce49bc74887d1684e28c53c1b06e2fa2
refs/heads/master
2021-01-19T06:25:47.644993
2016-07-11T20:48:11
2016-07-11T20:48:11
63,103,727
0
0
null
null
null
null
UTF-8
Python
false
false
2,207
py
# Licensed to the Apache Software Foundation (ASF) under one # or more contributor license agreements. See the NOTICE file # distributed with this work for additional information # regarding copyright ownership. The ASF licenses this file # to you under the Apache License, Version 2.0 (the # "License"); you may...
[ "shamal.faily@googlemail.com" ]
shamal.faily@googlemail.com
891c1229e37ec8704dba49e4bc20fcf1ac50c0e5
eb4bf7cba9afe5532cc85fe3179155b1d4949a48
/Pandas/projects/page_visits_funnel/funnel.py
845bcc2a4f259146496b5071699e8792efff470d
[]
no_license
DWONeill18/Python
a37a52d5a8b74136428fb19e08152c871c204bd2
e37dd84fae31f661b05d0e211ead8c37b5d43db1
refs/heads/master
2021-04-17T17:29:21.378062
2020-11-09T14:21:29
2020-11-09T14:21:29
249,458,486
0
0
null
null
null
null
UTF-8
Python
false
false
2,868
py
# Page Visits Funnel import codecademylib import pandas as pd visits = pd.read_csv('visits.csv', parse_dates=[1]) cart = pd.read_csv('cart.csv', parse_dates=[1]) checkout = pd.read_csv('checkout.csv', parse_dates=[1]) purchase = pd.read_csv('purchase.csv'...
[ "d.w.oneill.18@gmail.com" ]
d.w.oneill.18@gmail.com
acf7ecf6e3f881dcacdfe0d7897d81c0848e8409
fe021fc59bdf8b6c251891111b07f9f5a3b7daf3
/grizli/aws/db.py
aceef6e53447813622c94473a304064efa0e32fe
[ "MIT" ]
permissive
jkmatharu/grizli
f1f2646233afe027e648bdbda493954c73e4d389
7e2eb918667ac9f845d0847452a72138fc22fbcd
refs/heads/master
2022-11-09T17:48:41.930991
2020-06-24T00:14:20
2020-06-24T00:14:20
271,420,468
0
0
null
null
null
null
UTF-8
Python
false
false
105,785
py
""" Interact with the grizli AWS database """ import os import numpy as np FLAGS = {'init_lambda': 1, 'start_beams': 2, 'done_beams': 3, 'no_run_fit': 4, 'start_redshift_fit': 5, 'fit_complete': 6} COLUMNS = ['root', 'id', 'status', 'ra', 'dec', 'ninput', 'redshift', 'as_e...
[ "gbrammer@gmail.com" ]
gbrammer@gmail.com
9c3aeee661fac282542b565a3e2a6a8a84c79096
3f7240da3dc81205a0a3bf3428ee4e7ae74fb3a2
/src/Week3/Practice/longestSubpalindrome.py
4c824245cf8c8a450779bb185c4f219af230bf24
[]
no_license
theguyoverthere/CMU15-112-Spring17
b4ab8e29c31410b4c68d7b2c696a76b9d85ab4d8
b8287092b14e82d2a3aeac6c27bffbc95382eb34
refs/heads/master
2021-04-27T08:52:45.237631
2018-10-02T15:38:18
2018-10-02T15:38:18
107,882,442
0
0
null
null
null
null
UTF-8
Python
false
false
2,288
py
import cs112_s17_linter def isPalindrome(s): for i in range(len(s)): if s[i] != s[len(s) - i -1]: return False return True #Brute Force it. def longestSubpalindrome(s): if isPalindrome(s): return s longestPalindrome = "" palindromeLength = 0 for i in range(len(s))...
[ "tariqueanwer@outlook.com" ]
tariqueanwer@outlook.com
884f14a286d9b0d254a3b45da9a3cb55a6899430
6117e2fdad67258f311e93b8b633dca75226eff6
/fsspec_reference_maker/grib2.py
344ccccae3b08cb5925367dd6303cfa6aa1032c7
[ "MIT" ]
permissive
tedhabermann/fsspec-reference-maker
b233efd5495277194d3c5c5f88d2dbd6d060fcfe
cf5030e9a47c620b477a2c1383f44a0558894a01
refs/heads/main
2023-06-26T07:15:14.010705
2021-07-06T13:45:26
2021-07-06T13:45:26
381,395,193
0
0
MIT
2021-06-29T14:32:10
2021-06-29T14:32:10
null
UTF-8
Python
false
false
7,139
py
import base64 import logging import os import tempfile import cfgrib import numcodecs.abc from numcodecs.compat import ndarray_copy, ensure_contiguous_ndarray import fsspec import zarr import numpy as np logger = logging.getLogger("grib2-to-zarr") def _split_file(f, skip=0): if hasattr(f, "size"): size ...
[ "martin.durant@utoronto.ca" ]
martin.durant@utoronto.ca
a207420d44914f09a261d48787595f85829b4ec6
8c50265b43add0e91e30245cc7af3c2558c248f5
/example/speech_recognition/stt_io_iter.py
6c9bacd1a5261eb2a742affde0815a8ee668a945
[ "BSD-3-Clause", "BSD-2-Clause-Views", "Zlib", "Apache-2.0", "BSD-2-Clause", "Intel" ]
permissive
awslabs/dynamic-training-with-apache-mxnet-on-aws
6a67f35d7e4b12fa8bba628bd03b2b031924e211
1063a979417fee8c820af73860eebd2a4f670380
refs/heads/master
2023-08-15T11:22:36.922245
2022-07-06T22:44:39
2022-07-06T22:44:39
157,440,687
60
19
Apache-2.0
2022-11-25T22:23:19
2018-11-13T20:17:09
Python
UTF-8
Python
false
false
5,098
py
# Licensed to the Apache Software Foundation (ASF) under one # or more contributor license agreements. See the NOTICE file # distributed with this work for additional information # regarding copyright ownership. The ASF licenses this file # to you under the Apache License, Version 2.0 (the # "License"); you may not u...
[ "vikumar@88e9fe53272d.ant.amazon.com" ]
vikumar@88e9fe53272d.ant.amazon.com
bb16c8427f4371d572c66bc44cf917d756414beb
4404a055611ce0d7462da28221393fa4dd704c45
/rooms/api/serializers.py
35025d3ffeb311659ec66d48c8d14b021ddf7b03
[]
no_license
Code-Institute-Submissions/digicreche
a96704c91462bed67ff1ff7cd80d37d819ec36fd
01688087c9a28a9aeb7a0cc49a867d0676bab272
refs/heads/main
2023-08-21T05:36:57.723551
2021-10-26T22:13:24
2021-10-26T22:13:24
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,326
py
from rest_framework import serializers from rest_framework.validators import UniqueTogetherValidator from rooms.models import Room from schools.models import School class SchoolRelatedField(serializers.PrimaryKeyRelatedField): def get_queryset(self): queryset = School.objects.filter( slug=self...
[ "p4ul.gg@gmail.com" ]
p4ul.gg@gmail.com
ab4a9767d34894bea7f4519cf6d3095d601e2232
b7314f9480634b2f2998c8181d4284d2b52ebba1
/examples/wiki.py
3eaefc906df3dc1b83833e5e5b0da9f8ad5de833
[ "Apache-2.0", "LicenseRef-scancode-proprietary-license" ]
permissive
neuml/txtai
3ca6fba11126d650ea4f2cf5199011a52ea56e4e
789a4555cb60ee9cdfa69afae5a5236d197e2b07
refs/heads/master
2023-08-31T08:09:31.834178
2023-08-29T15:36:23
2023-08-29T15:36:23
286,301,447
4,804
387
Apache-2.0
2023-09-11T17:12:40
2020-08-09T19:14:59
Python
UTF-8
Python
false
false
1,869
py
""" Application that queries Wikipedia API and summarizes the top result. Requires streamlit to be installed. pip install streamlit """ import os import urllib.parse import requests import streamlit as st from txtai.pipeline import Summary class Application: """ Main application. """ SEARCH_TEM...
[ "561939+davidmezzetti@users.noreply.github.com" ]
561939+davidmezzetti@users.noreply.github.com
89dc49c0eea90e578c0d5f5b5c131ea17bbf498d
8e95e79840005f6c34dfb978e8fe6e0ec4f7f643
/15_Time Series Analysis in Python_/9_Taxing Exercise Compute the ACF.py
15eb4fb70a9c7a3920abdc7d1e02694bd410fe23
[]
no_license
Naysla/Machine_Learning
a0593cac41ef1561f14bec55780570b82fc37720
e75d5cd2894ccb005228ab3da87dde9025385a08
refs/heads/master
2023-02-01T17:19:32.413609
2020-12-22T20:36:45
2020-12-22T20:36:45
323,708,628
0
0
null
null
null
null
UTF-8
Python
false
false
1,747
py
#Taxing Exercise: Compute the ACF #In the last chapter, you computed autocorrelations with one lag. Often we are interested in seeing the autocorrelation over many lags. The quarterly earnings for H&R Block (ticker symbol HRB) is plotted on the right, and you can see the extreme cyclicality of its earnings. A vast majo...
[ "60472499+Naysla@users.noreply.github.com" ]
60472499+Naysla@users.noreply.github.com
e9d3281c7d3be0a5b67ce75816fe80d3adc9433d
76af281542524f4bb2c80f928b6b5f0786ca1557
/code kata/kthnumber.py
6f6dd19660f1478d92653bd276b5edf871e12c7b
[]
no_license
sharmishah/guvi
1b910042f101265c7628724f994eca1c23c0f59d
51d854e38c2013799b24af43501bc8190b150897
refs/heads/master
2021-07-02T04:20:03.629762
2021-06-28T03:08:10
2021-06-28T03:08:10
191,355,062
0
4
null
null
null
null
UTF-8
Python
false
false
82
py
I,J=list(map(int,input().split())) K=list(map(int,input().split())) print(K[J-1])
[ "noreply@github.com" ]
sharmishah.noreply@github.com
6f1ed8b55487885f1d1712afb24349953ea1114e
951ac5a19270335907c4c719f31d3309169fbf34
/chat/random_primary.py
3146e2373b73e8410ffe9ed835241ff10064315d
[]
no_license
Frky/freespeech
a3a955846b0a9e23257acaddce5ba37a89e25fea
78d5703a8f7d45826c2dde7b17e046bfdeb36631
refs/heads/master
2021-06-13T01:11:32.533678
2017-08-17T18:24:13
2017-08-17T18:24:13
7,288,045
0
0
null
null
null
null
UTF-8
Python
false
false
9,622
py
""" A new base class for Django models, which provides them with a better and random looking primary key for the 'id' field. This solves the problem of having predictable, sequentially numbered primary keys for Django models. Just use 'RandomPrimaryIdModel' as base class for your Django models. That's all. The gene...
[ "degoerdf@ensimag.fr" ]
degoerdf@ensimag.fr
61238fae58e808823db533dad40fa332f521d09c
afb16c3188bf06af65ae0d998e114c72342bd8be
/note/demo/thread_demo/demo_kill.py
d24278dcadd145a729d397f5820eb9df20d51198
[]
no_license
onsunsl/onsunsl.github.io
aa75f399f1c647bc2e62314633bfe35187e59ad4
4ed2b1b9a2407afcbffdf304020d42b81c4c8cdc
refs/heads/master
2023-05-26T12:33:11.167270
2023-04-01T10:18:05
2023-04-01T10:18:05
237,595,319
1
0
null
2023-05-23T20:13:11
2020-02-01T10:02:58
Python
UTF-8
Python
false
false
157
py
import threading import time def task(*args): print("start...") time.sleep(1000) t = threading.Thread(target=task) t.start() print(t.is_alive())
[ "onsunsl@foxmail.com" ]
onsunsl@foxmail.com
4ecefdba60917c94f4637c2307694d0f7b975d3e
06456914901fdd2019fe6af43801a7ea33106230
/tests/test_extension.py
552a27aa030d3a2bdc8d77d30562ee928d378ccd
[ "Apache-2.0" ]
permissive
mopidy/mopidy-mpris
77a8d42a92797f9cb3722e6c8459175c5244a6cf
e6f4fead21d3a5a0b4cf72a6f9060350bd2b55d8
refs/heads/main
2023-07-05T21:41:30.865185
2023-06-21T20:19:36
2023-06-21T20:19:36
13,395,495
35
15
Apache-2.0
2023-06-21T20:19:37
2013-10-07T20:51:54
Python
UTF-8
Python
false
false
852
py
import unittest from unittest import mock from mopidy_mpris import Extension from mopidy_mpris import frontend as frontend_lib class ExtensionTest(unittest.TestCase): def test_get_default_config(self): ext = Extension() config = ext.get_default_config() self.assertIn("[mpris]", config) ...
[ "stein.magnus@jodal.no" ]
stein.magnus@jodal.no
88c00c83531ca797a1225fdd59b11c7ea0d53bb5
9433ce01c6e2906c694b6f0956a4640e1872d4d2
/src/main/python/wdbd/codepool/click_lib/option_params.py
7a24697b5434af59519fb3f7046616bd67bfa634
[]
no_license
shwdbd/python_codepool
fcd7950fc1339994186461ae18c34cee238938ee
92a4fb61d060f9a545499b6b7f99a4dc211d5009
refs/heads/master
2023-02-20T19:49:23.677824
2022-06-15T08:53:51
2022-06-15T08:53:51
209,431,254
0
1
null
2023-02-15T21:58:53
2019-09-19T00:56:03
Python
UTF-8
Python
false
false
1,295
py
#!/usr/bin/env python # -*- encoding: utf-8 -*- ''' @File : option_params.py @Time : 2021/03/09 20:20:25 @Author : Jeffrey Wang @Version : 1.0 @Contact : shwangjj@163.com @Desc : Option常规参数示例 常规参数包括:STR,INT,FLOAT,BOOL类型 Option有type参数指定类型,可通过click.XXX指定类型或直接python类型指定 ''' import click @click.c...
[ "shwangjj@163.com" ]
shwangjj@163.com
d336308e70a0e6bfd9852c2dcbbc43e4e04af905
5788479777205437a14c9fcfac4820a07b4b61dd
/python-crash-course/chapter-09/9-13.py
139e6a911089c9492da2e4979dc76e63f182647d
[]
no_license
miaocunfa/Python_demo
cb92135ee487e0bf8ae70388a7af6fa6dc29d37c
6cf7bc2b75b11c122a370fb0e813a963770bd62d
refs/heads/master
2020-08-30T04:06:21.230166
2020-04-29T12:15:39
2020-04-29T12:15:39
218,257,688
3
0
null
null
null
null
UTF-8
Python
false
false
622
py
# coding: utf-8 from collections import OrderedDict word_list = OrderedDict() python_list = OrderedDict() word_list['sign'] = '标志' word_list['parking'] = '停车' word_list['hard'] = '困难的' word_list['translate'] = '翻译' word_list['useful'] = '有用的' python_list['for'] = 'for循环' python_list['[]'] = '列表' ...
[ "you@example.com" ]
you@example.com
2459b02b07aa4f394fee0c65a15ea5087c7a997f
786027545626c24486753351d6e19093b261cd7d
/ghidra9.2.1_pyi/ghidra/app/util/DisplayableEol.pyi
ac2446b618b0e59007c2d804ad73ad7b0bcd245e
[ "MIT" ]
permissive
kohnakagawa/ghidra_scripts
51cede1874ef2b1fed901b802316449b4bf25661
5afed1234a7266c0624ec445133280993077c376
refs/heads/main
2023-03-25T08:25:16.842142
2021-03-18T13:31:40
2021-03-18T13:31:40
338,577,905
14
1
null
null
null
null
UTF-8
Python
false
false
5,380
pyi
from typing import List import docking.widgets.fieldpanel.support import ghidra.app.util import ghidra.program.model.address import ghidra.program.util import java.lang class DisplayableEol(object): """ Utility class with methods to get comment information that can be displayed in the end of line comment...
[ "tsunekou1019@gmail.com" ]
tsunekou1019@gmail.com
1b933b575e59f16f262b5d009c130028ca7b96da
163bbb4e0920dedd5941e3edfb2d8706ba75627d
/Code/CodeRecords/2394/60788/235825.py
a9a675078b5948f0f25e21e602c4e7b37c8b58e6
[]
no_license
AdamZhouSE/pythonHomework
a25c120b03a158d60aaa9fdc5fb203b1bb377a19
ffc5606817a666aa6241cfab27364326f5c066ff
refs/heads/master
2022-11-24T08:05:22.122011
2020-07-28T16:21:24
2020-07-28T16:21:24
259,576,640
2
1
null
null
null
null
UTF-8
Python
false
false
634
py
from sys import stdin def resort(list): length=len(list) zero=list.count(0) new_list=[] for ele in list: if ele!=0: new_list.append(ele) for i in range(0,zero): new_list.append(0) return new_list num=int(stdin.readline().strip()) for i in range(0,num): length=in...
[ "1069583789@qq.com" ]
1069583789@qq.com
8a0bf41e465784703e36b84cb352622c91d8e54e
154b0fe6b42700023329cee6e4afb94d427aacb2
/Practice problems/matrix_rotation_right.py
5266c509a6c52adbedac76332b5fdeb598d23df4
[]
no_license
srihariprasad-r/workable-code
4f68047cb850be4eece32c18e0c6fb5c16668b38
7ca2cc3962b8c6207a991775c0a599bd737f5ae7
refs/heads/master
2023-06-23T09:46:56.334716
2023-06-12T18:38:30
2023-06-12T18:38:30
231,912,452
0
0
null
null
null
null
UTF-8
Python
false
false
408
py
mat = [[1,2,3,4], [5,6,7,8], [9,10,11,12], [13,14,15,16] ] def matrix_rotation(n,mat): for i in range(0, n/2): for j in range(i, n-i-1): temp = mat[i][j] mat[i][j] = mat[j][n-i-1] mat[j][n-1-i] = mat[n-i-1][n-j-1] mat[n-i-1][n-j-1] = m...
[ "59530606+srihariprasad-r@users.noreply.github.com" ]
59530606+srihariprasad-r@users.noreply.github.com
85634d31b9b9b1276d0fdd4d15ed2ca9b71d563c
3451076a918383b4081da4f1628e22d6dfe29c75
/check_orientations_brent.py
2e4f4ba3c3c23e87a3429f1b3809f72c9f2c8ca3
[]
no_license
bbbales2/modal
db9ed4e1f59e35ab65859419ee27f3f1e73ce1f4
153a83126a0f464e3e95b0a9a060a1e9a9345639
refs/heads/master
2021-01-19T02:50:06.015664
2017-09-20T23:12:58
2017-09-20T23:12:58
65,339,170
1
0
null
null
null
null
UTF-8
Python
false
false
1,732
py
#%% import os import numpy os.chdir('/home/bbales2/modal') from rotations import symmetry from rotations import quaternion import itertools import time # get the equivalent passive rotation in the fundamental zone (active post multiplies symmetry operator) #%% q1 = [0.703295, -0.111453, -0.101898, -0.69467299999999...
[ "bbbales2@gmail.com" ]
bbbales2@gmail.com
24ae52c8eacc13b4d3da2e4e069cc6b3bb9c4501
c273bf08d42c5c038a355a721972848a4847682c
/openpyxl/styles/tests/test_styleable.py
2ee71cfdc855d8ea603e81d90b3e9aedc6b06faa
[ "MIT", "BSD-2-Clause", "PSF-2.0" ]
permissive
BlueGreenMagick/sync-excel-with-anki
31e39ae07c7360d5abab1357cb26bc629b4adb87
b78322899fec66b4a0b9b835f173057a844fe3ce
refs/heads/master
2021-09-26T04:37:45.538223
2021-09-20T05:11:03
2021-09-20T05:11:03
196,643,205
15
3
null
null
null
null
UTF-8
Python
false
false
3,285
py
from __future__ import absolute_import # Copyright (c) 2010-2019 openpyxl import pytest from openpyxl.utils.indexed_list import IndexedList from ..named_styles import ( NamedStyleList, NamedStyle, ) def test_descriptor(Worksheet): from ..styleable import StyleDescriptor from ..cell_style import Styl...
[ "bluegreenmagick@gmail.com" ]
bluegreenmagick@gmail.com
ab9a70f7761ca2143985018c43fe7d393cd68af9
fd837779d1c5b6505e2c341c5f50a351b0e71d33
/chapra_7th/ch04/chapra_example_4_4.py
47c047eaf245fb45f9b092a0f26e175fe6480d3f
[]
no_license
LonelyCoder101/ffr-MetodeNumerik
3ea06874ba2cdfb09cec0196057e5075db9ad8f1
05db5fda0199ae1fee0141a5a66e4f81b3e14672
refs/heads/master
2023-03-03T06:08:09.073121
2021-02-16T04:05:37
2021-02-16T04:05:37
null
0
0
null
null
null
null
UTF-8
Python
false
false
708
py
def f(x): return -0.1*x**4 - 0.15*x**3 - 0.5*x**2 - 0.25*x + 1.25 def df(x): return -0.4*x**3 - 0.45*x**2 - x - 0.25 x = 0.5 h = 0.5 #h = 0.25 true_val = df(x) print("true_val = ", true_val) print("h = ", h) # Forward diff approx_val = ( f(x+h) - f(x) )/h print("Using forward diff: ", approx_val) print("ε...
[ "fadjar.fathurrahman@gmail.com" ]
fadjar.fathurrahman@gmail.com
35b4532d83491be25239c7be0ed20bc41d45af02
ec55c11d18c8940f81e7d585c625294bc36f1cfd
/SQSExample/listQueues.py
4ef48d0cca1a0d5c115655a3d336f07f9a96867d
[]
no_license
mcclayac/botoExamples
3ae5d43923d013eed88ccd0b3e3050803c6e9489
219ef1f65566699b07808ad4f973704c3582cbd7
refs/heads/master
2021-01-01T17:01:32.457154
2017-08-10T07:43:23
2017-08-10T07:43:23
97,975,467
0
0
null
null
null
null
UTF-8
Python
false
false
391
py
__author__ = 'anthonymcclay' __project__ = 'botoExamples' __date__ = '7/20/17' __revision__ = '$' __revision_date__ = '$' import boto3 # Get the service resource sqs = boto3.resource('sqs') # Print out each queue name, which is part of its ARN for queue in sqs.queues.all(): print("queueArn : " + queue.attri...
[ "anthony.mcclay@nielsen.com" ]
anthony.mcclay@nielsen.com
2f356e235cfe6974981cd9aa77d43345ba7ea291
6fd805a2c70cd7998621e4b679d6004dbffeac7d
/deeplab3/tools/plot.py
ec76400f7434040e2710eabb755cee1bd4d909e6
[]
no_license
stanlee321/object-removal-tensorflow
71168bc48a99e60d4a46021cd7200bf0da869385
9eb9a1a38272cd5122a97ec9761f7a004c8cdde2
refs/heads/master
2020-04-27T14:27:18.069655
2019-03-12T03:00:13
2019-03-12T03:00:13
174,410,666
0
0
null
null
null
null
UTF-8
Python
false
false
5,310
py
import numpy as np from matplotlib import pyplot as plt from matplotlib import gridspec from io import BytesIO from PIL import Image import cv2 # used for resize. if you dont have it, use anything else import skimage.io as io import skimage.morphology def create_pascal_label_colormap(): """Creates a label colorma...
[ "stanlee321@gmail.com" ]
stanlee321@gmail.com
fd2cd4aa47beb580c2de1506466786d3ad6c6e5e
488dfea1687152188bb0a6ca38a9bd24594f7010
/qiskit/quantum_info/synthesis/weyl.py
36bce3d16caef4dbfc14348cf39b2a20072d153a
[ "Apache-2.0" ]
permissive
CoolProgrammerX/qiskit-terra
e5b00a8efd5aae8c2de4ff52836640c70f09729a
6262127f9f18e4c01846ec23a757bf1c97624fd9
refs/heads/main
2023-07-19T07:49:07.296112
2021-09-07T16:32:01
2021-09-07T16:32:01
404,226,586
1
0
Apache-2.0
2021-09-08T05:49:23
2021-09-08T05:49:23
null
UTF-8
Python
false
false
3,200
py
# This code is part of Qiskit. # # (C) Copyright IBM 2017, 2019. # # This code is licensed under the Apache License, Version 2.0. You may # obtain a copy of this license in the LICENSE.txt file in the root directory # of this source tree or at http://www.apache.org/licenses/LICENSE-2.0. # # Any modifications or derivat...
[ "noreply@github.com" ]
CoolProgrammerX.noreply@github.com
af0977dbadb15f64978e8ba6c2880691771f0ee5
04c06575a49a3f4e30e4f3f2bf2365585664d2e8
/python_leetcode_2020/Python_Leetcode_2020/1254_number_of_closed_islands.py
88095fe87d20d51b01bc4198cfb845187f5f9502
[]
no_license
xiangcao/Leetcode
18da3d5b271ff586fdf44c53f1a677423ca3dfed
d953abe2c9680f636563e76287d2f907e90ced63
refs/heads/master
2022-06-22T04:45:15.446329
2022-06-17T13:03:01
2022-06-17T13:03:01
26,052,392
0
0
null
null
null
null
UTF-8
Python
false
false
1,236
py
""" Given a 2D grid consists of 0s (land) and 1s (water). An island is a maximal 4-directionally connected group of 0s and a closed island is an island totally (all left, top, right, bottom) surrounded by 1s. Return the number of closed islands. """ class Solution: #Approach 1: Flood Fill First, we need to remov...
[ "xiangcao_liu@apple.com" ]
xiangcao_liu@apple.com
3113f4985de273c6595b64cc87c2c38210d52548
eb9c3dac0dca0ecd184df14b1fda62e61cc8c7d7
/google/iam/admin/v1/iam-admin-v1-py/google/iam/admin_v1/services/iam/transports/__init__.py
c4caa1ba7adaaf53a8876a4a326a060d9ac478c8
[ "Apache-2.0" ]
permissive
Tryweirder/googleapis-gen
2e5daf46574c3af3d448f1177eaebe809100c346
45d8e9377379f9d1d4e166e80415a8c1737f284d
refs/heads/master
2023-04-05T06:30:04.726589
2021-04-13T23:35:20
2021-04-13T23:35:20
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,097
py
# -*- coding: utf-8 -*- # Copyright 2020 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...
[ "bazel-bot-development[bot]@users.noreply.github.com" ]
bazel-bot-development[bot]@users.noreply.github.com
ecd08100ccb26c7c2526a880f30d0ac09306cb9b
936c893f29a7e3c99450b49512d5ad6dd7e63d12
/api/migrations/0101_job_concrete_time_of_day.py
20bd96452a8074941014c1bbbb828cc561a0bc4b
[]
no_license
pavithra994/cormack_dev
0d3f5f794173013f3219c786b83779df2f2ae344
78927eaeea27320908b117aa50380ddacd6e2662
refs/heads/master
2023-04-09T22:34:33.746134
2021-04-13T20:12:08
2021-04-13T20:12:08
357,628,147
0
0
null
null
null
null
UTF-8
Python
false
false
627
py
# -*- coding: utf-8 -*- # Generated by Django 1.10.7 on 2019-10-02 06:16 from __future__ import unicode_literals from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): dependencies = [ ('api', '0100_job_base_date'), ] operations = [ ...
[ "scott.hooper@hordernit.com.au" ]
scott.hooper@hordernit.com.au
99ef5d8e597c21dd19c9fa9c665f36f7a9f9e92d
183e4126b2fdb9c4276a504ff3ace42f4fbcdb16
/I семестр/Програмування (Python)/Лабораторні/Братун 6305/Labs/PRES_14/QqQq_27_3.py
40753a5b3379102bf9fd2de915d5f5431f67e2e0
[]
no_license
Computer-engineering-FICT/Computer-engineering-FICT
ab625e2ca421af8bcaff74f0d37ac1f7d363f203
80b64b43d2254e15338060aa4a6d946e8bd43424
refs/heads/master
2023-08-10T08:02:34.873229
2019-06-22T22:06:19
2019-06-22T22:06:19
193,206,403
3
0
null
2023-07-22T09:01:05
2019-06-22T07:41:22
HTML
UTF-8
Python
false
false
101
py
import itertools p = list(zip(itertools.cycle(["a", "b", "v", "g", "d"]), "абвгд")) print(p)
[ "mazanyan027@gmail.com" ]
mazanyan027@gmail.com
3e96470043e207e8936431740dd377397259da58
717171ed7a14ad60dd42d62fe0dd217a0c0c50fd
/19年8月/8.26/正则处理豆瓣图书.py
e72e64329d4f75ae456aa3d08bc24a9e8b41561d
[]
no_license
friedlich/python
6e9513193227e4e9ee3e30429f173b55b9cdb85d
1654ef4f616fe7cb9fffe79d1e6e7d7721c861ac
refs/heads/master
2020-09-04T14:34:48.237404
2019-11-18T14:54:44
2019-11-18T14:54:44
219,756,451
1
0
null
null
null
null
UTF-8
Python
false
false
620
py
import requests import re response = requests.get('https://book.douban.com/') print(response.status_code) content = response.text # print(content) # pattern = re.compile('<li.*?cover.*?href="(.*?)".*?title="(.*?)".*?more-meta.*?author">(.*?)</span>.*?year">(.*?)</span>.*?</li>',re.S) pattern = re.compile('<li.*?cover....
[ "1164166295@qq.com" ]
1164166295@qq.com
e50b54289c2b6938e7ee5d2a524c7510434ef230
d0c34e4c346d59236da84b35ca0e5f032a997efd
/Python/Spider/PymysqlDemo/jianshu_spider/jianshu_spider/middlewares.py
e71f8c5a76cfd6a2864f9db8fca57426abb3cb14
[]
no_license
kinscloud/kinscloud.github.io
898b7309485493578a4ecbc1976b3e158f2a3d93
3ff8d74a85bcc62464796d529874fc9e226d120a
refs/heads/master
2022-12-14T22:01:34.245628
2020-05-31T02:49:05
2020-05-31T02:49:05
244,150,397
0
0
null
2022-12-08T04:02:36
2020-03-01T13:03:23
Python
UTF-8
Python
false
false
4,342
py
# -*- coding: utf-8 -*- # Define here the models for your spider middleware # # See documentation in: # https://docs.scrapy.org/en/latest/topics/spider-middleware.html from scrapy import signals from selenium import webdriver import time from scrapy.http.response.html import HtmlResponse import requests import random...
[ "yuan_haoting@163.com" ]
yuan_haoting@163.com
48afb75d2dac3b80427de1194bde88a130319c7d
a3d6556180e74af7b555f8d47d3fea55b94bcbda
/components/error_page/common/alt_game_images/generate_key.py
2b3044447a15fa850ff812504cb931705329f18b
[ "BSD-3-Clause" ]
permissive
chromium/chromium
aaa9eda10115b50b0616d2f1aed5ef35d1d779d6
a401d6cf4f7bf0e2d2e964c512ebb923c3d8832c
refs/heads/main
2023-08-24T00:35:12.585945
2023-08-23T22:01:11
2023-08-23T22:01:11
120,360,765
17,408
7,102
BSD-3-Clause
2023-09-10T23:44:27
2018-02-05T20:55:32
null
UTF-8
Python
false
false
272
py
#!/usr/bin/env python/2/3 # Copyright 2021 The Chromium Authors # Use of this source code is governed by a BSD-style license that can be # found in the LICENSE file. import secrets def main(): print(secrets.token_urlsafe(32)) if __name__ == '__main__': main()
[ "chromium-scoped@luci-project-accounts.iam.gserviceaccount.com" ]
chromium-scoped@luci-project-accounts.iam.gserviceaccount.com