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
5152ff9fa4d4291d942ccc6fd3f6511795a4a637
1b862f34c125ce200244dd79e4fda4b5b605ce2e
/.history/ML_T2_Validation_20210612130332.py
169861bd3d148603548c014dfb83caa726baef74
[]
no_license
edwino26/CoreImages
26085a49cf1cb79442ae563a88354b2fdceace87
6bf6e68cac8ab36c87b1e6ea702bfe6882b0f40e
refs/heads/master
2023-06-22T12:53:37.344895
2021-07-21T04:31:44
2021-07-21T04:31:44
309,553,247
0
4
null
2021-04-29T23:23:15
2020-11-03T02:45:07
Lasso
UTF-8
Python
false
false
9,233
py
#T2 TEST DATA # %% import pandas as pd import numpy as np import matplotlib.pyplot as plt import pickle from scipy import interpolate from scipy.integrate import simps from numpy import trapz # %% #Load Stack UVStack = pd.read_excel('./ML_Results/T2_test/ImgStack.xls') ImgStackk = UVStack.copy().to_numpy() # %% de...
[ "ortega.edwin.y@gmail.com" ]
ortega.edwin.y@gmail.com
b057388d4b0072d6e373997a4e954586075298a2
423244213eca7573f36157d08c94f95ce22968a5
/forest_puller/viz/inc_aggregate.py
97bf8368ce4af36fe442436e5b64e598d9a5c17c
[ "MIT" ]
permissive
xapple/forest_puller
f9745f0c2c9aa047715a6cc12f03fa1f84dcdef3
804e17947bc98139154c708d958a5dcfebff76a0
refs/heads/master
2022-06-03T15:26:06.818739
2022-05-19T14:13:40
2022-05-19T14:13:40
234,941,204
4
1
null
null
null
null
UTF-8
Python
false
false
9,671
py
#!/usr/bin/env python3 # -*- coding: utf-8 -*- """ Written by Lucas Sinclair and Paul Rougieux. JRC Biomass Project. Unit D1 Bioeconomy. Typically you can use this class like this: >>> from forest_puller.viz.inc_aggregate import inc_agg_ipcc >>> print(inc_agg_ipcc.df) """ # Built-in modules # # Internal m...
[ "649288+xapple@users.noreply.github.com" ]
649288+xapple@users.noreply.github.com
ae7367178e0e60131384ac607edca90ef9c8223b
3a01d6f6e9f7db7428ae5dc286d6bc267c4ca13e
/unittests/pytests/meshio/TestDataWriterVTK.py
c334c27a8c2de840f1b352498638889d757e5a00
[ "MIT" ]
permissive
youngsolar/pylith
1ee9f03c2b01560706b44b4ccae99c3fb6b9fdf4
62c07b91fa7581641c7b2a0f658bde288fa003de
refs/heads/master
2020-12-26T04:04:21.884785
2014-10-06T21:42:42
2014-10-06T21:42:42
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,454
py
#!/usr/bin/env python # # ====================================================================== # # Brad T. Aagaard, U.S. Geological Survey # Charles A. Williams, GNS Science # Matthew G. Knepley, University of Chicago # # This code was developed as part of the Computational Infrastructure # for Geodynamics (http://ge...
[ "baagaard@usgs.gov" ]
baagaard@usgs.gov
f66d8b1db0ed02a43f7fd494ec762de4b5aa8153
4f4f2b808729b4820a4cf11d0dff23951e2c9b71
/plugins/m/__init__.py
035a9c98dd10a81960ac8d14852bcfa8ef3efcd3
[ "MIT" ]
permissive
MikePopoloski/m.css
b3c32b1c4bf40881462933966b987d4147c63b49
a93186270f4707e61b77e54361111e126aa54187
refs/heads/master
2023-06-29T10:56:29.764245
2023-06-11T14:51:55
2023-06-11T14:51:55
235,468,011
0
0
MIT
2020-01-22T00:23:06
2020-01-22T00:23:06
null
UTF-8
Python
false
false
1,313
py
# # This file is part of m.css. # # Copyright © 2017, 2018, 2019, 2020, 2021, 2022 # Vladimír Vondruš <mosra@centrum.cz> # # 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 Softwar...
[ "mosra@centrum.cz" ]
mosra@centrum.cz
f0055bfba813d68295b97211e807c73f3abaaf55
4271919fbb7775e3ac8a092c2387f5cc3a31c783
/managePage/apps.py
b011de83319ef2de1019d6f365b29897fa2d1ef2
[]
no_license
redcliver/rodao1
baede64009ec2048aafa1b408baebfc43fb7b639
5d085fd04e126ace4f4f8a4b7260e24d4182e42c
refs/heads/master
2023-05-04T15:23:07.547013
2019-12-11T18:32:57
2019-12-11T18:32:57
134,269,354
0
0
null
2023-04-21T20:42:11
2018-05-21T12:57:35
CSS
UTF-8
Python
false
false
95
py
from django.apps import AppConfig class ManagepageConfig(AppConfig): name = 'managePage'
[ "igor-peres@hotmail.com" ]
igor-peres@hotmail.com
b360d090334b535299fa0d74c81c35df3d4ae0ed
163bbb4e0920dedd5941e3edfb2d8706ba75627d
/Code/CodeRecords/2583/60643/284273.py
485f61abe4ae07954935acfa01760795366b68b6
[]
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
1,791
py
#最大公因数 def GCD(a,b): while b>0: temp=a%b a=b b=temp return a#是a啊不是b #最小公倍数 def MCM(a,b): return a*b/GCD(a,b) #二分搜索 def binSearch(low,high,n,a,b,c): if low>=high: return low else: middle=(low+high)>>1#相当于模200. #独立的丑数个数为,当前数分别除以a、b、c,相加求和,减去当前数除以a、b、c两...
[ "1069583789@qq.com" ]
1069583789@qq.com
2fb82d7e82ce5617dbb8ec0a3ad74c12882b234f
37fef592f365194c28579f95abd222cc4e1243ae
/streamlit/venv/venv/lib/python3.7/site-packages/plotly/graph_objs/scattersmith/_line.py
911809421c69d7bec53edefb3704a0de02d2c159
[]
no_license
edimaudo/Python-projects
be61e0d3fff63fb7bd00513dbf1401e2c1822cfb
85d54badf82a0b653587a02e99daf389df62e012
refs/heads/master
2023-04-07T03:26:23.259959
2023-03-24T12:03:03
2023-03-24T12:03:03
72,611,253
4
3
null
2022-10-31T18:10:41
2016-11-02T06:37:17
null
UTF-8
Python
false
false
9,231
py
from plotly.basedatatypes import BaseTraceHierarchyType as _BaseTraceHierarchyType import copy as _copy class Line(_BaseTraceHierarchyType): # class properties # -------------------- _parent_path_str = "scattersmith" _path_str = "scattersmith.line" _valid_props = {"color", "dash", "shape", "smoot...
[ "edimaudo@gmail.com" ]
edimaudo@gmail.com
d93b9fba81f15e2d48d1303a7d79ec25511d27a7
1e76baee819a897eb45a50d907575723c2329fda
/math/0x00-linear_algebra/10-ill_use_my_scale.py
43774c9ccc049db8379fb0921fa8d846b6703d57
[]
no_license
paisap/holbertonschool-machine_learning
ce1942d3c5e8753104a40cfc4b9fc0953628a3dc
bdb84f37f44e52a073887a8fee306092165c3329
refs/heads/main
2023-08-31T17:32:46.337737
2021-10-04T03:30:53
2021-10-04T03:30:53
317,323,784
0
0
null
null
null
null
UTF-8
Python
false
false
178
py
#!/usr/bin/env python3 """ hat calculates the shape of a numpy.ndarray """ def np_shape(matrix): """ hat calculates the shape of a numpy.ndarray""" return matrix.shape
[ "santiagoaldana58@gmail.com" ]
santiagoaldana58@gmail.com
3f1ae58368ea03f06b92ab49cd208c15071bf614
db415f2470905729ff6301ed9dfd4a21b916f616
/setup.py
3b91f8ba50005fb166b43c935a1a7ecea9b1c8e0
[]
no_license
biobakery/anpan-legacy
9786aae0cf114909882508c21193fe28bd0fbf37
e9171321bd34dc43820ebce729399098368418f3
refs/heads/master
2022-08-11T08:35:29.323448
2015-03-03T15:49:26
2015-03-03T15:49:26
null
0
0
null
null
null
null
UTF-8
Python
false
false
926
py
from setuptools import setup, find_packages setup( name='anpan', version='0.0.1', description='AnADAMA Put on A Network', packages=find_packages(exclude=['ez_setup', 'tests', 'tests.*']), zip_safe=False, install_requires=[ 'nose>=1.3.0', 'python-dateutil>=2.2', 'bottle>...
[ "vagrant@localhost.localdomain" ]
vagrant@localhost.localdomain
c1f3ffa56f2c34ff83428defc65f75f91513c543
999879f8d18e041d7fa313132408b252aded47f8
/01-codes/scikit-learn-master/sklearn/utils/testing.py
484a04a9c6c5d8e87cc423935555449c5ee9e90e
[ "MIT", "BSD-3-Clause" ]
permissive
QPanProjects/Surrogate-Model
ebcaf05728e82dcbcd924c2edca1b490ab085173
848c7128201218b0819c9665e2cec72e3b1d29ac
refs/heads/master
2022-10-11T19:03:55.224257
2020-06-09T14:37:35
2020-06-09T14:37:35
null
0
0
null
null
null
null
UTF-8
Python
false
false
27,128
py
"""Testing utilities.""" # Copyright (c) 2011, 2012 # Authors: Pietro Berkes, # Andreas Muller # Mathieu Blondel # Olivier Grisel # Arnaud Joly # Denis Engemann # Giorgio Patrini # License: BSD 3 clause import inspect import os import pkgutil import platform import...
[ "quanpan302@hotmail.com" ]
quanpan302@hotmail.com
56c08c5ab688bc3f57fc936aec023213cd7ce516
c208954de92470c0144fad2e07a92ed1822edd59
/GhostFuckerCms/GhostFucker_deob.py
e39a30a81586406992322237a01a57599ed713bb
[ "MIT" ]
permissive
rendy026/reverse-enginnering
4217f3b723569fb792bac0f22a56a305199db1dc
f04cec0bf518a2617fc4fd7155f755fafc2af799
refs/heads/master
2023-01-07T15:49:15.791052
2020-10-13T09:22:02
2020-10-13T09:22:02
303,575,571
0
0
MIT
2020-10-13T09:41:59
2020-10-13T03:17:42
Python
UTF-8
Python
false
false
8,268
py
# Source Generated With Python 2.7 # Decompile At : Mon Apr 6 14:45:52 WIB 2020 # CODED BY : JHON # CODENAME : E-XPLOIT1337 & MR-X666X # TEAM WORK: BLACK CODERS ANONYMOUS & SEVEN GHOST TEAM # TOOLS NM : PRIV8 SUPER FAST CMS DETECTORS # SPECIAL THANKS TO MY BIG FAMILY : # MAURITANIA ATTACKER, ANON GHOST TEAM, GHOST SQ...
[ "noreply@github.com" ]
rendy026.noreply@github.com
e7a1d1ac8906987075dbea0b976e57dd7b9d6898
163bbb4e0920dedd5941e3edfb2d8706ba75627d
/Code/CodeRecords/2714/60705/295697.py
72590979ac543842bbbb9cc5637ef64f4f8e8d60
[]
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
1,083
py
def judge(word1, word2): if len(word2) != len(word1) + 1: return False dic1 = {} dic2 = {} for char in word1: dic1.setdefault(char, 0) dic1[char] += 1 for char in word2: dic2.setdefault(char, 0) dic2[char] += 1 key1 = list(dic1.keys()) key2 = list(dic2...
[ "1069583789@qq.com" ]
1069583789@qq.com
f5cc3606a67a533e7c20254c5a9b9fe5cc417556
408099135939ccdb7fc52f110792ce651fb6b00a
/test/unit/tools/test_yacc.py
2f91ecacf66b15203e3b2c0950bf6f4db372f818
[ "BSD-3-Clause" ]
permissive
thomasrockhu/bfg9000
757271db484ddcd06e8b391c3b8818882857f66e
1cd1226eab9bed2fc2ec6acccf7864fdcf2ed31a
refs/heads/master
2022-11-29T00:07:15.914649
2020-07-24T21:12:38
2020-07-24T21:12:38
282,257,111
0
0
BSD-3-Clause
2020-07-24T15:37:41
2020-07-24T15:37:40
null
UTF-8
Python
false
false
3,616
py
from .. import * from bfg9000 import options as opts from bfg9000.file_types import * from bfg9000.languages import Languages from bfg9000.path import Path, Root from bfg9000.tools.yacc import YaccBuilder known_langs = Languages() with known_langs.make('yacc') as x: x.vars(compiler='YACC', flags='YFLAGS') class...
[ "itsjimporter@gmail.com" ]
itsjimporter@gmail.com
3ae926ab8843eec0a48e5311cb84ca5ea56307a6
c9ddbdb5678ba6e1c5c7e64adf2802ca16df778c
/cases/pa2/sample/class_def_methods-90.py
3dcbb59597615ba1a047cbb30d4e3c1e003f222d
[]
no_license
Virtlink/ccbench-chocopy
c3f7f6af6349aff6503196f727ef89f210a1eac8
c7efae43bf32696ee2b2ee781bdfe4f7730dec3f
refs/heads/main
2023-04-07T15:07:12.464038
2022-02-03T15:42:39
2022-02-03T15:42:39
451,969,776
0
0
null
null
null
null
UTF-8
Python
false
false
343
py
class A(object): x:int = 1 def get_A(self: "A") -> int: return self.x class B(A): def __init__(self: "B"): pass class C(B): z:bool = True def set_A(self: "C", val: int) -> object: $Statement a:A = None b:B = None c:C = None a = A() b = B() c = C() b.x = a.get_A() a.x =...
[ "647530+Virtlink@users.noreply.github.com" ]
647530+Virtlink@users.noreply.github.com
fbdbec2ed50db76f9752144a6a1158b6cdf6b24d
9184e230f8b212e8f686a466c84ecc89abe375d1
/histogrammode/tests/reduction/histCompat/generateTestInstrument.py
653265a59f8187ce84e4fb2669cbee2008cb6252
[]
no_license
danse-inelastic/DrChops
75b793d806e6351dde847f1d92ab6eebb1ef24d2
7ba4ce07a5a4645942192b4b81f7afcae505db90
refs/heads/master
2022-04-26T17:37:41.666851
2015-05-02T23:21:13
2015-05-02T23:21:13
34,094,584
0
1
null
2020-09-10T01:50:10
2015-04-17T03:30:52
Python
UTF-8
Python
false
false
2,597
py
#!/usr/bin/env python # Timothy M. Kelley Copyright (c) 2005 All rights reserved # Jiao Lin Copyright (c) 2007 All rights reserved def generate(): """generate an instrument graph appropriate for testing""" from instrument.elements import instrument, detectorArray, detectorPack, \ detector, moderator, ...
[ "linjiao@caltech.edu" ]
linjiao@caltech.edu
48ff8544d059e0a034a3c07fe27cb062dff8c1a8
c10ef416832b3e99e58fb93c85f414d94bbdbc2e
/py3canvas/tests/result.py
3aeaf5a7cd1dfa532943ac1a6d246a344ffa8b73
[ "MIT" ]
permissive
tylerclair/py3canvas
83bab26d1624a11acffaeb0392c6a9a38f995f16
7485d458606b65200f0ffa5bbe597a9d0bee189f
refs/heads/master
2021-10-26T03:27:48.418437
2021-10-23T15:07:26
2021-10-23T15:07:26
92,841,638
0
0
null
null
null
null
UTF-8
Python
false
false
991
py
"""Result API Tests for Version 1.0. This is a testing template for the generated ResultAPI Class. """ import unittest import requests import secrets from py3canvas.apis.result import ResultAPI from py3canvas.apis.result import Result class TestResultAPI(unittest.TestCase): """Tests for the ResultAPI.""" de...
[ "tyler.clair@gmail.com" ]
tyler.clair@gmail.com
8ad089f44de9540d84c38dda8d42ea64d4a44194
55c250525bd7198ac905b1f2f86d16a44f73e03a
/Python/Flask/Book_evaluator/venv/Lib/site-packages/cryptography/hazmat/primitives/keywrap.py
a3220495a10c5372ad9237bae667cf23b76a957c
[]
no_license
NateWeiler/Resources
213d18ba86f7cc9d845741b8571b9e2c2c6be916
bd4a8a82a3e83a381c97d19e5df42cbababfc66c
refs/heads/master
2023-09-03T17:50:31.937137
2023-08-28T23:50:57
2023-08-28T23:50:57
267,368,545
2
1
null
2022-09-08T15:20:18
2020-05-27T16:18:17
null
UTF-8
Python
false
false
129
py
version https://git-lfs.github.com/spec/v1 oid sha256:2f23dbacdbaddb11439413b821d3b9344d7857d70b3ee31b511de764f4cdc224 size 5453
[ "nateweiler84@gmail.com" ]
nateweiler84@gmail.com
ade99175de46f946bb72da1575a7f965f4589768
c6d0bc814c3c7b621f2a07e293d3c4e36521b1f0
/validators.py
262fe543b2902a2506348f07794667f5dc811474
[]
no_license
captain204/Quiz-app
9ead59d74df6ad35fa25eb209762f57e3b64e780
72136fc27dc18254c5de8149ff631deb6f6eaccc
refs/heads/master
2020-08-25T04:43:39.415027
2019-10-28T01:18:10
2019-10-28T01:18:10
216,962,636
1
0
null
null
null
null
UTF-8
Python
false
false
1,651
py
from config import * class Post(Form): title = StringField(u'Title',validators=[validators.input_required(), validators.Length(min=10,max=250)]) body = TextAreaField(u'Body',validators=[validators.input_required(), validators.Length(min=10,max=2500)]) class User(Form): username = StringField(u'Us...
[ "nurudeenakindele8@gmail.com" ]
nurudeenakindele8@gmail.com
4655d48747e83026599fd27c8933c9c4f593b3b4
2a24dba82767419cf7d2269875bf0a297f41580c
/vispy/scene/widgets/widget.py
bfe4e89710bddb6814a7c0ec13ffb1df9c71637c
[ "BSD-3-Clause", "LicenseRef-scancode-public-domain" ]
permissive
shjoshi/vispy
58b300d23486b7478b786977b3548dd7225de847
2f3d169aa60c738467e766c59096f51570483d6f
refs/heads/master
2020-12-25T12:40:36.545768
2014-08-06T22:59:35
2014-08-06T22:59:35
22,704,584
0
0
null
null
null
null
UTF-8
Python
false
false
5,178
py
# -*- coding: utf-8 -*- # Copyright (c) 2014, Vispy Development Team. # Distributed under the (new) BSD License. See LICENSE.txt for more info. from __future__ import division import numpy as np from ..visuals.visual import Visual from ..visuals.line import Line from ..transforms import STTransform from ...util.even...
[ "luke.campagnola@gmail.com" ]
luke.campagnola@gmail.com
2d8099c9724448fa929eb0d7a1a81d01928c712e
969f28be98f607767d5564a6bbbc08fdfb778633
/pypenrose/net_tests.py
cb25db1cb6d83cf7c21b683d3aa35454be138c07
[]
no_license
meawoppl/penrose-play
66dde0e2ec1c6997bc06f53852af2c4240dff79c
c44d40893a70176efb1ee29b395db973e27f730f
refs/heads/master
2020-01-23T21:56:22.765852
2017-01-16T06:36:23
2017-01-16T06:36:23
74,727,801
0
0
null
null
null
null
UTF-8
Python
false
false
4,736
py
import math from mock import MagicMock import nose.tools from pypenrose.line import Line import pypenrose.net import pypenrose.net_testlib from pypenrose.net_testlib import assert_graph_props import pypenrose.space def test_net_graphgen_degenerate(): # No lines to intersect g = pypenrose.net.gridlines_to_gr...
[ "meawoppl@gmail.com" ]
meawoppl@gmail.com
395ca378d374ed81267bce67ad399409aefe0bd2
c1350fbcb269cdab0f36a12a27f694697e08ce7f
/libs/db/db_handler.py
53add1030fb2b880c28b40c507df2732190f2892
[]
no_license
deepmicrosystems/object-detection-server
86dd4178c9dbfe8e1e802062a1a44c4f758ed758
97893dfcef89219a11a87bb34a663912b273fce3
refs/heads/master
2022-12-18T00:44:58.906967
2019-07-29T18:50:25
2019-07-29T18:50:25
147,842,577
0
0
null
2022-11-22T01:57:57
2018-09-07T15:33:49
Python
UTF-8
Python
false
false
2,323
py
import sqlite3 import time import datetime class DataBaseManager: def __init__(self, db_name = None): self.conn = None self.cursor = None if db_name: self.open(db_name) def open(self, db_name): try: self.conn = sqlite3.connect(db_name) ...
[ "stanlee321@gmail.com" ]
stanlee321@gmail.com
9e2292ed6aad43b70783af1b63396c473b5483e2
2e08552e1eb86ffa4870d9208d83b903f0f847d0
/paperswithcode/models/method.py
68db3851e56de877c738be0007eb111575f3a402
[ "Apache-2.0", "CC-BY-SA-4.0" ]
permissive
paperswithcode/paperswithcode-client
c1fffc0a17066f0eb7128ea726bf4f0485f47c5d
70bd7ee5157fcaeff39145d2e03cc9ed5bb7421b
refs/heads/develop
2022-12-12T21:20:17.493109
2021-12-01T17:44:04
2021-12-01T17:44:04
283,026,422
113
17
Apache-2.0
2022-12-01T22:24:42
2020-07-27T21:58:46
Python
UTF-8
Python
false
false
909
py
from typing import List, Optional from tea_client.models import TeaClientModel from paperswithcode.models.page import Page class Method(TeaClientModel): """Method object. Attributes: id (str): Method ID. name (str): Method short name. full_name (str): Method full name. descr...
[ "alefnula@gmail.com" ]
alefnula@gmail.com
59139ee9c6c59c9e6407b92820cac368678556b0
79df1e2fde419883fba5f3a79eddfd6c3b7875cc
/udacity/cs253/Lesson02a_Templates/Page.py
4ce93600c8582ba5e8b020de17473b34e04ae73b
[]
no_license
jJayyyyyyy/network
284a2845c4431e802a48ea331135a3e2035663cd
86794dd9d828fe66b7ada28233fbbd5c66ecc50d
refs/heads/master
2022-03-01T23:51:10.619772
2019-08-11T12:27:35
2019-08-11T12:27:35
116,240,231
1
0
null
null
null
null
UTF-8
Python
false
false
1,050
py
from html import escape from flask import render_template # flask will help us auto escape html import os import ROT13, FizzBuzz def fill_template(name='index', **kw): filename = '%s.html' % name return render_template(filename, **kw) def get_default_signup_args(): return {'username': '', 'username_error': '', ...
[ "ljjdbd123@hotmail.com" ]
ljjdbd123@hotmail.com
4571754551752803df00023b5b17c08759238d50
e0980f704a573894350e285f66f4cf390837238e
/.history/streams/blocks_20201022115527.py
3674f140da693d1c6dea4759795d6a2e1dd4f2fe
[]
no_license
rucpata/WagtailWebsite
28008474ec779d12ef43bceb61827168274a8b61
5aa44f51592f49c9a708fc5515ad877c6a29dfd9
refs/heads/main
2023-02-09T15:30:02.133415
2021-01-05T14:55:45
2021-01-05T14:55:45
303,961,094
0
0
null
null
null
null
UTF-8
Python
false
false
1,747
py
from wagtail.core import blocks from wagtail.images.blocks import ImageChooserBlock class TitleBlock(blocks.StructBlock): text = blocks.CharBlock( required = True, elp_text='Tekst do wyświetlenia', ) class Meta: template = 'streams/title_block.html' icon = 'edycja' ...
[ "rucinska.patrycja@gmail.com" ]
rucinska.patrycja@gmail.com
26761f1dbd577ed8967580930935c94e28db222a
9b854d21fea95f24f7bde41e7a172e8a8a6327f9
/tensorflow/python/ops/nn_grad.py
f0fa6d5401c8e18b5209d9dc988bbefed73de112
[ "Apache-2.0" ]
permissive
devsangwoo/tensor
84345bb05d969c732f70a8a64f2d070bf71d1f9b
066592c9f9cdf4acdd1b9b104766271133e9088e
refs/heads/master
2022-12-09T00:33:43.272931
2015-11-07T00:27:58
2020-01-10T07:33:06
232,987,148
1
0
NOASSERTION
2022-10-04T23:56:16
2020-01-10T07:06:05
C++
UTF-8
Python
false
false
44,457
py
<<<<<<< HEAD # Copyright 2015 The TensorFlow 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 requir...
[ "devsangwoo@gmail.com" ]
devsangwoo@gmail.com
ca7a71cd0e1dece862f0b5ed7066061699c5661c
c7ec556bfdc2ec5eaf234c679ffb1fbcc58d651a
/cftda/wsgi.py
061f4071370b887c2c842852ef9259770162346a
[]
no_license
dmitryduev/cftda
ba2a7c4b7295b42c36e3ad4cd89d2b2bbfa9a76c
4cc1456f2794f52529ba354d94bfff2bb8405434
refs/heads/master
2020-03-10T03:40:25.090449
2018-04-17T08:36:02
2018-04-17T08:36:02
129,171,296
0
0
null
null
null
null
UTF-8
Python
false
false
472
py
""" WSGI config for cftda project. It exposes the WSGI callable as a module-level variable named ``application``. For more information on this file, see https://docs.djangoproject.com/en/2.0/howto/deployment/wsgi/ """ import os from django.core.wsgi import get_wsgi_application # os.environ.setdefault("DJANGO_SETTI...
[ "dmitry.duev@gmail.com" ]
dmitry.duev@gmail.com
e9537acd041786dc77ea7aa000b3f43627ecdea4
d97e90a0ff598249a3b28fe7a4bb8e4c5b39d210
/tests/test_service_tax_category.py
2d165f52cfa2f155fabc08e56b9591eeeb7f6b46
[ "MIT" ]
permissive
jeroenubbink/commercetools-python-sdk
024ef08d04d8d8e8609bd265d1eaac5a067a47b0
ee27768d6fdde3e12618059891d1d4f75dd61390
refs/heads/master
2022-12-01T11:24:26.953904
2020-08-05T09:12:50
2020-08-05T15:22:06
287,386,564
0
0
MIT
2020-08-13T21:50:57
2020-08-13T21:50:57
null
UTF-8
Python
false
false
1,025
py
from commercetools import types def test_tax_category_create(client): tax_category = client.tax_categories.create(types.TaxCategoryDraft(name="Hoog")) assert tax_category.id assert tax_category.name == "Hoog" def test_tax_category_get_by_id(client): tax_category = client.tax_categories.create(types...
[ "michael@mvantellingen.nl" ]
michael@mvantellingen.nl
2b6e279d904c9d7ac089522c567cdbe2a1cc707d
2eb7cac33991ecf95e6ed0af0b7a440c319d0913
/viz/migrations/0003_auto_20170924_0138.py
fb66dfa6c948e109b23860f4e9adcf7e612b13a1
[]
no_license
felipinbombin/osirisWebPlatform
f1fb4cda7be2776dc6dfa21029fd1b8d68b48efd
20005616be153015d71a9853f789db427b9e753b
refs/heads/master
2021-03-27T13:24:29.141698
2018-07-30T04:53:21
2018-07-30T04:53:21
87,222,468
0
0
null
null
null
null
UTF-8
Python
false
false
454
py
# -*- coding: utf-8 -*- # Generated by Django 1.11.4 on 2017-09-24 04:38 from __future__ import unicode_literals from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('viz', '0002_auto_20170924_0014'), ] operations = [ migrations.AlterField( ...
[ "cephei.1313@gmail.com" ]
cephei.1313@gmail.com
9b8cfc58c987bce1af4a5e147b49af7f7b096e33
2c872fedcdc12c89742d10c2f1c821eed0470726
/pbase/day04/code/while_qiantao1.py
c12a856d18d1b1539bf2ad72d88c61dbf3017ff7
[]
no_license
zuigehulu/AID1811
581c3c7a37df9fa928bc632e4891fc9bafe69201
10cab0869875290646a9e5d815ff159d0116990e
refs/heads/master
2020-04-19T16:33:04.174841
2019-01-30T07:58:24
2019-01-30T07:58:24
168,307,918
1
0
null
null
null
null
UTF-8
Python
false
false
179
py
num = int(input("请输入正方形的宽度:")) i = 1 while i <= num: j = 1 while j <= num: print(j,end = " ") j += 1 else: print() i += 1
[ "442315617@qq.com" ]
442315617@qq.com
e4247d34a3e43a9024946c14f468f1b5215719b4
8263e388d00e1beaaac587df6d2e5b20c0ba2981
/4.py
ae5fc1397d85132af7f4db047819d498c4e41a0e
[]
no_license
shivamdattapurkayastha99/natrural-language-processing
3064c0a2fb2b830579565f8157d7d3208cf1a884
b47ab27eb468469cc9e5ec07c6580d2c8a959124
refs/heads/master
2023-07-04T12:50:00.282883
2021-08-13T18:04:10
2021-08-13T18:04:10
395,746,985
0
0
null
null
null
null
UTF-8
Python
false
false
244
py
import nltk from nltk.corpus import wordnet # syn=wordnet.synsets('computer') # print(syn[0].definition()) synonyms=[] for syn in wordnet.synsets('computer'): for lemma in syn.lemmas(): synonyms.append(lemma.name()) print(synonyms)
[ "shivamdatta465@gmail.com" ]
shivamdatta465@gmail.com
2e9e94d73080d69d4190c219e5d655c8823d94d1
935b9efca392b124d571319568c08ba45446d2a0
/lino_book/projects/lydia/tests/dumps/18.8.0/cal_guestrole.py
1b937b29d05f60388ba0afed921493063edf56be
[ "BSD-2-Clause" ]
permissive
wallento/book
6efba2baa1e42bb99514a937342000271dfe798b
8c5a68f30f9ab65479a988608bda66ea6209afd8
refs/heads/master
2020-04-06T10:58:01.629671
2018-11-07T09:41:54
2018-11-07T09:41:54
null
0
0
null
null
null
null
UTF-8
Python
false
false
303
py
# -*- coding: UTF-8 -*- logger.info("Loading 2 objects to table cal_guestrole...") # fields: id, ref, name loader.save(create_cal_guestrole(1,None,['Attendee', 'Teilnehmer', 'Attendee'])) loader.save(create_cal_guestrole(2,None,['Colleague', 'Colleague', 'Colleague'])) loader.flush_deferred_objects()
[ "luc.saffre@gmail.com" ]
luc.saffre@gmail.com
54f1a14fc79a4ff7d2e664ba0f98eb3bdba4474f
af717d07cb2bb9c6d9fcc7ba4290cf02a0890815
/homework-05-09/homework_07_import.py
b2d4827ccdbdf606454ddeed0ed0b45b9b0b560f
[]
no_license
liuluyang/homework
0070d39640de8777f0656f0346adc1a5a6cfa1ab
e65db68e96bbfe1d987b2809321e59e303ab5ee8
refs/heads/master
2020-09-25T18:44:45.368491
2019-12-05T09:38:17
2019-12-05T09:38:17
226,066,124
0
0
null
null
null
null
UTF-8
Python
false
false
444
py
from homework_07 import * def func_08(): """ 将上述函数放在一个模块中,再写一个源程序文件,并在该源程序中实现对模块中函数的调用 :return: """ print(func_01()) print(func_02(100, 80)) print(func_03()) print(func_04('hello', 'e')) print(func_05(100)) print(func_06(5)) print(func_07([1, 2, 3, 4, 5], 2)) if __name_...
[ "1120773382@qq.com" ]
1120773382@qq.com
f660b301415bf623ca90a9372bf5662b4783352b
8a497f9e412eb74d9eca41488fae3f1947bdc87c
/{{cookiecutter.repo_name}}/{{cookiecutter.repo_name}}/{{cookiecutter.repo_name}}/middleware.py
56cdd1fe1420c4de35e14e90fe745cd8bb7f9138
[]
no_license
bwarren2/cookiecutter-simple-django
012a788512d969f1a5f34cc0e51d26d65ad9ff18
08ca73e55e133ad097e3551b0af258b29cbb3ab9
refs/heads/master
2020-05-29T12:19:34.691916
2015-07-25T17:32:59
2015-07-25T17:32:59
39,597,383
0
0
null
2015-07-23T22:39:45
2015-07-23T22:39:45
Python
UTF-8
Python
false
false
510
py
from django.http import HttpResponseRedirect class ForceHttps(object): def process_request(self, request): secure_request = ( # settings.DEBUG, request.is_secure(), request.META.get("HTTP_X_FORWARDED_PROTO", "").lower() == "https", ) if not any(secure_re...
[ "bwarren2@gmail.com" ]
bwarren2@gmail.com
b72b5b0739c393c93728b3588b7836d89dfab62a
bc6f0f731f7ad72fd11c6a332f47b972d1d14cb3
/codewars-challenges/6 kyu/does-points-form-square.py
c2b92005bc0eb951e130b19fa6bdcd1d7d5d29a0
[]
no_license
greatertomi/problem-solving
ee8d35f5f8bf76d9942adec79479c36585f7b90b
a2507fa8fa649ba70f8994d8bc36b07d28512861
refs/heads/master
2023-09-03T20:49:22.759696
2021-11-11T22:41:39
2021-11-11T22:41:39
283,445,532
0
0
null
null
null
null
UTF-8
Python
false
false
1,142
py
# Problem Link: https://www.codewars.com/kata/618688793385370019f494ae import math def distanceBetweenTwoPoints(pointA, pointB): valueA = (pointB[1] - pointA[1]) ** 2 valueB = (pointB[0] - pointA[0]) ** 2 return math.sqrt(valueA + valueB) def isSquare(points): if len(points) < 4: return Fals...
[ "oshalusijohn@gmail.com" ]
oshalusijohn@gmail.com
95f8d3d0b927460d31612a2870b9c41833aee495
dd3b8bd6c9f6f1d9f207678b101eff93b032b0f0
/basis/AbletonLive10.1_MIDIRemoteScripts/AxiomPro/TransportViewModeSelector.py
cac299bfde53b7b762969e7cce8ddb19dea81a2c
[]
no_license
jhlax/les
62955f57c33299ebfc4fca8d0482b30ee97adfe7
d865478bf02778e509e61370174a450104d20a28
refs/heads/master
2023-08-17T17:24:44.297302
2019-12-15T08:13:29
2019-12-15T08:13:29
228,120,861
3
0
null
2023-08-03T16:40:44
2019-12-15T03:02:27
Python
UTF-8
Python
false
false
2,827
py
# uncompyle6 version 3.4.1 # Python bytecode 2.7 (62211) # Decompiled from: Python 2.7.16 (v2.7.16:413a49145e, Mar 2 2019, 14:32:10) # [GCC 4.2.1 Compatible Apple LLVM 6.0 (clang-600.0.57)] # Embedded file name: /Users/versonator/Jenkins/live/output/mac_64_static/Release/python-bundle/MIDI Remote Scripts/AxiomPro/Tra...
[ "jharrington@transcendbg.com" ]
jharrington@transcendbg.com
2132f8724d3ff2cfd875cfaad4696b09f7eea6dd
a04c9e34c8abb6eb5857cb6e35fbbed0743ea8d4
/Week3/BackspaceStringCompare.py
edeac380910ae744782c39a51d5bbe99f7102a5a
[]
no_license
SrikanthAmudala/PythonWorkShopConcordia
a2fd0a3103524733913c00767907bafecd1c6ad6
d2e383a89bc995d96313fd0723c064a0a45db6f9
refs/heads/master
2021-05-19T13:02:42.173832
2020-05-27T21:48:34
2020-05-27T21:48:34
251,713,287
0
0
null
null
null
null
UTF-8
Python
false
false
200
py
S = "###c#ab###fs#j" T = "ad#c" def stringComp(S): temp = [] for i in S: if i=="#" and len(temp)!=0: temp.pop(-1) elif i!="#": temp.append(i) return "".join(temp) print(stringComp(S))
[ "srikanthamudala95@gmail.com" ]
srikanthamudala95@gmail.com
ab98f101089e6c3bcd638d092b91b731d7669ba7
2da6b95fe4237cc00014f80c45d268ab62fc90cd
/backbones/cifar/lenet2.py
bafe3e227b2332d56de8d4a8c6585b7880269478
[]
no_license
lvzongyao/Open-Set-Recognition-1
7e26cd1d97f67b6c075f4e64296ce7a82d479168
26a8a1cca199f4e23df98abca6893e3eef3307da
refs/heads/master
2023-08-19T09:15:16.119377
2021-09-13T04:21:18
2021-09-13T04:21:18
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,673
py
'''LeNetPlus in PyTorch. Specifically, designed for MNIST dataset. Reference: [1] Wen, Yandong, et al. "A discriminative feature learning approach for deep face recognition." European conference on computer vision. Springer, Cham, 2016. ''' import torch import torch.nn as nn import torch.nn.functional as F __all__ = ...
[ "xuma@my.unt.edu" ]
xuma@my.unt.edu
c24f833353ca7bf80df320a57b2d8f201a33bb6a
ca7aa979e7059467e158830b76673f5b77a0f5a3
/Python_codes/p02900/s596241684.py
d8b236ea95aa163221e6926aa26888658463f2cb
[]
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
445
py
from math import* def factrization_prime(number): factor = {} div = 2 s = sqrt(number) while div < s: div_cnt = 0 while number % div == 0: div_cnt += 1 number //= div if div_cnt != 0: factor[div] = div_cnt div += 1 if number > 1: ...
[ "66529651+Aastha2104@users.noreply.github.com" ]
66529651+Aastha2104@users.noreply.github.com
560839c298d5303d6e8119983b822f06ccf876e7
13b46582bb6bbfe08a2e24127198ded24e6c0ad3
/server/lighthouse/admin.py
83201ba793fb89885f899a2319619cbac73b3426
[]
no_license
dmetrosoft/seo-audits-toolkit
9b12735d8345ef5075e87e6ea09440e01e32746f
c3e95fc4bf51d72e61c0507c14bd384d2368f475
refs/heads/master
2023-08-25T06:11:54.055464
2021-04-08T15:51:23
2021-04-08T15:51:23
null
0
0
null
null
null
null
UTF-8
Python
false
false
290
py
from django.contrib import admin from .models import Lighthouse, Lighthouse_Result # Register your models here. admin.site.register(Lighthouse) admin.site.register(Lighthouse_Result) # Allows the Model to be administered via the /admin interface # Highly recommendeded for easier debug
[ "stan@primates.dev" ]
stan@primates.dev
af66740e6d1849e019c0ffdd525e58709a401252
50dd2a43daa8316fc11e0c176b5872738fcc5dde
/Learning/130_Fluent_Python/fp2-utf8/blocinteractive/example 16-9.py
3234ee9c3d215d29019fad27ad046ceb874110fa
[]
no_license
FrenchBear/Python
58204d368e3e72071eef298ff00d06ff51bd7914
b41ab4b6a59ee9e145ef2cd887a5fe306973962b
refs/heads/master
2023-08-31T18:43:37.792427
2023-08-26T15:53:20
2023-08-26T15:53:20
124,466,047
0
0
null
null
null
null
UTF-8
Python
false
false
506
py
# Example 16-9. Vector.__add__ method needs an iterable with numeric items >>> v1 + 'ABC' Traceback (most recent call last): File "<stdin>", line 1, in <module> File "vector_v6.py", line 329, in __add__ return Vector(a + b for a, b in pairs) File "vector_v6.py", line 243, in __init__ self._components = a...
[ "FrenchBear38@outlook.com" ]
FrenchBear38@outlook.com
54154c6ac7f3eb42bb9745b4c24314cd78ab21af
da85d4caf3e5e1c9df8839fafd51f960f02daadd
/develop/io/async.py
28958d34db443cb715939f72ced88e07280fcfd0
[ "Apache-2.0" ]
permissive
shuaih7/FabricUI
6efe58f3dbefebbd49607094a28bf2d7bc9314ca
6501e8e6370d1f90174002f5768b5ef63e8412bc
refs/heads/main
2023-04-13T10:07:42.090043
2021-04-13T02:55:12
2021-04-13T02:55:12
314,152,777
1
0
null
null
null
null
UTF-8
Python
false
false
525
py
import asyncio import time from threading import Thread def start_loop(loop): asyncio.set_event_loop(loop) print("start loop", time.time()) loop.run_forever() async def do_some_work(x): print('start {}'.format(x)) await asyncio.sleep(x) print('Done after {}s'.format(x)) new_loop =...
[ "shuaih7@gmail.com" ]
shuaih7@gmail.com
230c7c268af9b219156f9bd55fbfdead55bdde13
a5698f82064aade6af0f1da21f504a9ef8c9ac6e
/huaweicloud-sdk-projectman/huaweicloudsdkprojectman/v4/model/list_projects_v4_response.py
5b0873986a953ab7fb205e092a7cdb760a8bd5b4
[ "Apache-2.0" ]
permissive
qizhidong/huaweicloud-sdk-python-v3
82a2046fbb7d62810984399abb2ca72b3b47fac6
6cdcf1da8b098427e58fc3335a387c14df7776d0
refs/heads/master
2023-04-06T02:58:15.175373
2021-03-30T10:47:29
2021-03-30T10:47:29
null
0
0
null
null
null
null
UTF-8
Python
false
false
3,634
py
# coding: utf-8 import pprint import re import six from huaweicloudsdkcore.sdk_response import SdkResponse class ListProjectsV4Response(SdkResponse): """ Attributes: openapi_types (dict): The key is attribute name and the value is attribute type. attribute_map (di...
[ "hwcloudsdk@huawei.com" ]
hwcloudsdk@huawei.com
229153641d7110152bf260eee9651fafce2aa55c
15f321878face2af9317363c5f6de1e5ddd9b749
/solutions_python/Problem_2/209.py
ed64df919f88a28c7ad0f8764bf7151e0b04cfe0
[]
no_license
dr-dos-ok/Code_Jam_Webscraper
c06fd59870842664cd79c41eb460a09553e1c80a
26a35bf114a3aa30fc4c677ef069d95f41665cc0
refs/heads/master
2020-04-06T08:17:40.938460
2018-10-14T10:12:47
2018-10-14T10:12:47
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,054
py
import time input = open("B-large.in", "r") output = open("B-large.out", "w") i = int(input.readline().strip()) for case in range(i): turnaroundTime = int(input.readline().strip()) (AtoBNumber, BtoANumber) = map(int, input.readline().strip().split(" ")) timeList = [] for j in range...
[ "miliar1732@gmail.com" ]
miliar1732@gmail.com
69cf7fe229d5d1e49c81cb3e5ff63cc464e78512
ff7c392e46baa2774b305a4999d7dbbcf8a3c0b3
/ask-sdk-model/ask_sdk_model/interfaces/alexa/presentation/apl/rotate_transform_property.py
7723824c757f66b7e1818dc1f7fa549b10be7f77
[ "Apache-2.0" ]
permissive
rivamarco/alexa-apis-for-python
83d035ba5beb5838ae977777191fa41cbe4ea112
62e3a9057a26003e836fa09aa12a2e1c8b62d6e0
refs/heads/master
2021-01-03T20:44:12.977804
2020-02-13T10:27:27
2020-02-13T10:29:24
240,229,385
2
0
Apache-2.0
2020-02-13T10:05:45
2020-02-13T10:05:45
null
UTF-8
Python
false
false
3,428
py
# coding: utf-8 # # Copyright 2019 Amazon.com, Inc. or its affiliates. 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. A copy of the License is located at # # http://aws.amazon.com/apache2.0/ # # or in the "lice...
[ "ask-pyth@dev-dsk-ask-sdk-python-2b-85d79f62.us-west-2.amazon.com" ]
ask-pyth@dev-dsk-ask-sdk-python-2b-85d79f62.us-west-2.amazon.com
cf6792f25eabe0aa2d1f7706d4894f2eb5107393
21aff79a45a410c69a17f6b6aa6623b0001559f3
/apps/mapserver/apps.py
611581e596df8ffa82e1ca00fb9b561109d3e675
[]
no_license
jqchang/TamagotchiServer
1e7c721894c0e38da9583f8887b032cec192e6a1
31667e7997f71f3aec38b25ced1359bab67f780a
refs/heads/master
2021-01-23T01:07:01.638012
2017-03-23T02:58:07
2017-03-23T02:58:07
85,871,192
0
0
null
null
null
null
UTF-8
Python
false
false
134
py
from __future__ import unicode_literals from django.apps import AppConfig class MapserverConfig(AppConfig): name = 'mapserver'
[ "jqchang@gmail.com" ]
jqchang@gmail.com
15a31b23ac174a1fa304a180f2caa0648df99bf6
3dab01e032134fd5cde6d29a127a8e8d93d48796
/accounts/migrations/0003_auto_20210205_1107.py
b9490de61d22c0e9ea5dc7f6764010c42648a609
[]
no_license
mariachacko93/FoacloidBankProject
41baa9433814087f2e45d458bcfccc3c3bc44d6e
fbbb424ef4534c549ea74bfbe0d7d367a70802a1
refs/heads/master
2023-03-01T18:58:50.768867
2021-02-08T08:50:34
2021-02-08T08:50:34
337,012,353
0
0
null
null
null
null
UTF-8
Python
false
false
394
py
# Generated by Django 3.1.6 on 2021-02-05 07:07 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('accounts', '0002_auto_20210205_1107'), ] operations = [ migrations.AlterField( model_name='createaccount', name='acc...
[ "mariachacko93@gmail.com" ]
mariachacko93@gmail.com
b2e112dc5c3e47d5622da839002d37aa9d979b26
7f2689163e4bb97252bec1d974163b64b7d376fd
/object_detection/core/target_assigner.py
21897c08d8cb7f3fdbe4afadd9040a20321b26a2
[ "MIT" ]
permissive
JahJajaka/afternoon_cleaner
c8e2299a7e0f9f02c28852d67beb09f8b604d192
590bdf58a216cbc6cfc47ef8f49d7af3df3703b7
refs/heads/master
2022-12-13T03:34:32.594707
2019-12-08T07:32:05
2019-12-08T07:32:05
218,489,388
15
7
MIT
2022-12-08T06:55:12
2019-10-30T09:23:55
Python
UTF-8
Python
false
false
32,866
py
# Copyright 2017 The TensorFlow 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 applica...
[ "evgeniic@amdocs.com" ]
evgeniic@amdocs.com
cc2c5970cfe0af932efe8fe15b1f9437d823c6b5
d2845579ea6aa51a2e150f0ffe6ccfda85d035ce
/kernel/examples/handler/component/horz_pearson.py
88694a0dc34a7576b3327fff3c49a1214411c858
[ "Apache-2.0" ]
permissive
as23187/WeFe
d8de9ff626f9f3e5d98e0850b0b717a80fd73e72
ba92871d4b1d2eef6c606c34795f4575e84703bd
refs/heads/main
2023-08-22T12:01:06.718246
2021-10-28T01:54:05
2021-10-28T01:54:05
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,052
py
# Copyright 2021 Tianmian Tech. 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 la...
[ "winter.zou@welab-inc.com" ]
winter.zou@welab-inc.com
5c59092aef917fb302c3a4ee9334f5b75ac50252
dbf81359567f718f43e513891a4e761a2d8c7c5a
/users/forms.py
2e13681d309d10c36e01e3bdd25217cd480c0bcd
[]
no_license
peterbe/w91011
675e5cbed1847010ab5ddb27c1fe56b935b1a26f
b816c8dacb246db730db3e678248c32cf021fc36
refs/heads/master
2021-01-01T17:31:27.595419
2011-05-20T22:10:51
2011-05-20T22:10:51
1,371,606
0
0
null
null
null
null
UTF-8
Python
false
false
136
py
# python import re # django from django import forms from django.contrib.auth.models import User from models import UserProfile # app
[ "peter@fry-it.com" ]
peter@fry-it.com
6afcc4bb8f1dec65bb86982e1b24b08f1b51732f
047c0a87013a9e5cfbcfc1c812496df70f69053d
/api/utils.py
d9a113ad1d27ae4526afd8074cc8d51dac2123b2
[]
no_license
tperrier/infx_598c
13e471e26f8efd1728861b9d76bc1d783e70da6c
96d51feaa174c68d30dfe531594a9c4cc4f5dc18
refs/heads/master
2021-01-19T03:13:01.315031
2015-03-14T02:30:22
2015-03-14T02:30:22
31,053,943
0
0
null
null
null
null
UTF-8
Python
false
false
6,012
py
import re,math,collections from private import cookie """ Helper functions and data to drive the API """ HEADERS = { 'User-Agent':'Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Ubuntu Chromium/39.0.2171.65 Chrome/39.0.2171.65 Safari/537.36', 'Cookie':cookie, } FETCH_URL = 'http://www.goog...
[ "t.perrier@gmail.com" ]
t.perrier@gmail.com
8661a95e0c4ade5cddd4f3acd778ce88a3e17a6d
9d6218ca6c75a0e1ec1674fe410100d93d6852cb
/app/notifier/virtualenvs/notifier/bin/dynamodb_load
f7ed5a0cb31e695fab50e6b5e6b33df3a0797d40
[]
no_license
bopopescu/uceo-2015
164694268969dd884904f51b00bd3dc034695be8
5abcbfc4ff32bca6ca237d71cbb68fab4b9f9f91
refs/heads/master
2021-05-28T21:12:05.120484
2015-08-05T06:46:36
2015-08-05T06:46:36
null
0
0
null
null
null
null
UTF-8
Python
false
false
3,503
#!/edx/app/notifier/virtualenvs/notifier/bin/python import argparse import os import boto from boto.compat import json from boto.dynamodb.schema import Schema DESCRIPTION = """Load data into one or more DynamoDB tables. For each table, data is read from two files: - {table_name}.metadata for the table's name, sc...
[ "root@uceociputra.com" ]
root@uceociputra.com
39ecf8a6bf6320ef772e70a2165129e85befec7b
26d6c34df00a229dc85ad7326de6cb5672be7acc
/msgraph-cli-extensions/v1_0/devicescorpmgt_v1_0/azext_devicescorpmgt_v1_0/vendored_sdks/devicescorpmgt/operations/_device_app_management_device_app_management_operations.py
a2163d104f46288f513f0a9b6c9009c40e5b4402
[ "MIT" ]
permissive
BrianTJackett/msgraph-cli
87f92471f68f85e44872939d876b9ff5f0ae6b2c
78a4b1c73a23b85c070fed2fbca93758733f620e
refs/heads/main
2023-06-23T21:31:53.306655
2021-07-09T07:58:56
2021-07-09T07:58:56
386,993,555
0
0
NOASSERTION
2021-07-17T16:56:05
2021-07-17T16:56:05
null
UTF-8
Python
false
false
7,111
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 ...
[ "japhethobalak@gmail.com" ]
japhethobalak@gmail.com
3d35d8b74a1d0dc166e48617b352c76eeb91b235
3b28e825ce1ad8bb33d86891e33482f73d96719f
/vspk/v4_0/nuperformancemonitor.py
bcffcd5207f6748e22af24d98336f8c9216d362a
[ "BSD-3-Clause" ]
permissive
jsenjali/vspk-python
8a4cd98ee3151cf66f835f688d04da86b26bc148
3aeff2343d91b81eaf60329ae2170c255723c02c
refs/heads/master
2021-01-11T00:31:54.670370
2016-10-10T18:27:46
2016-10-10T18:27:46
null
0
0
null
null
null
null
UTF-8
Python
false
false
8,323
py
# -*- coding: utf-8 -*- # # Copyright (c) 2015, Alcatel-Lucent Inc # All rights reserved. # # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the following conditions are met: # * Redistributions of source code must retain the above copyright # no...
[ "christophe.serafin@nuagenetworks.net" ]
christophe.serafin@nuagenetworks.net
25bc7cbddc8d89f7cc525f2f18b273c5df20a624
f9a2e67dd2f40b37d8ff81bf6cdce47c38d2dee4
/.c9/metadata/environment/ib_miniprojects_backend/project_management_portal/tests/interactors/test_get_projects_interactor.py
cbc68ce3255d82001401ee8438a32c39e3eb7cb5
[]
no_license
mohan277/backend_repo
4eae065cf0fffa29866a2b549028cb8df4c97643
25dbb4d0f1c174b6da95f4c73737e49db9978429
refs/heads/master
2022-11-13T00:08:37.600743
2020-07-09T04:36:44
2020-07-09T04:36:44
278,259,585
0
0
null
null
null
null
UTF-8
Python
false
false
24,589
py
{"filter":false,"title":"test_get_projects_interactor.py","tooltip":"/ib_miniprojects_backend/project_management_portal/tests/interactors/test_get_projects_interactor.py","undoManager":{"mark":100,"position":100,"stack":[[{"start":{"row":12,"column":0},"end":{"row":12,"column":1},"action":"insert","lines":["4"],"id":57...
[ "senammohanakrishna@gmail.com" ]
senammohanakrishna@gmail.com
a2cc0d8b9ee7768ddb30a445139a75e96b07c107
7a42d40a351824464a3c78dc0c3e78bbd8e0a92f
/RestProject/API/models.py
d5633eab44e77e7fc0bc778eae43c34180e41df2
[]
no_license
AhMay/DerekBlogLearn
6595063eafbc237b932e187b5cb3ad8ff32637fc
fdd5ea2fc5732cdc82ad006f7be0a2a1f30d0ba9
refs/heads/master
2020-07-09T05:20:33.283672
2019-09-29T10:10:23
2019-09-29T10:10:23
203,891,215
0
0
null
null
null
null
UTF-8
Python
false
false
751
py
from django.db import models # Create your models here. class UserInfo(models.Model): USER_TYPE = ( (1,'普通用户'), (2,'VIP'), (3,'SVIP') ) user_type = models.IntegerField(choices=USER_TYPE) username = models.CharField(max_length=32) password = models.CharField(max_length=64) ...
[ "meizi111082@hotmail.com" ]
meizi111082@hotmail.com
dfbba17d8c8e485a34a89c32f8fe71b59d124f0a
0f504dab15e85d95695999eb7ad6fb5d0fedf627
/backend/course/api/v1/urls.py
ac318e9affa6f0ceb6d946ccd239fb5f8e476bdb
[]
no_license
crowdbotics-apps/quiz2-21690
e4ac495291069051c2750b4d520a7e783c422525
b9839d7cc02f631877ae7625f7ec32355d0bc90e
refs/heads/master
2022-12-30T18:40:06.017656
2020-10-18T23:49:48
2020-10-18T23:49:48
305,218,317
0
0
null
null
null
null
UTF-8
Python
false
false
944
py
from django.urls import path, include from rest_framework.routers import DefaultRouter from .viewsets import ( RecordingViewSet, EventViewSet, SubscriptionViewSet, CourseViewSet, GroupViewSet, ModuleViewSet, PaymentMethodViewSet, SubscriptionTypeViewSet, EnrollmentViewSet, Lesson...
[ "team@crowdbotics.com" ]
team@crowdbotics.com
67dbc7b5ac7b949db359a0aecf1cf5b6cae00c61
2df82b931c89ac70d49b0716d642d8e355926d50
/product/migrations/0001_initial.py
3716702e72959b27f723bc7d805418f6cdc9c2ad
[]
no_license
khanansha/producthunt
1a638104e83803b9afc4a51ff3ead438ae47cab6
03b8d45091c88a2ff142f0a3082910ac1fa0ba41
refs/heads/master
2021-05-26T03:21:35.246011
2020-04-08T08:41:17
2020-04-08T08:41:17
254,031,608
0
0
null
null
null
null
UTF-8
Python
false
false
1,086
py
# Generated by Django 2.2.10 on 2020-04-02 15:30 from django.conf import settings from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): initial = True dependencies = [ migrations.swappable_dependency(settings.AUTH_USER_MODEL), ] op...
[ "anjumkhan88987@gmail.com" ]
anjumkhan88987@gmail.com
649ccaa41cf34423f7cb4ea871756bc46167d0e9
34b7e1ec50f0ebf3c0389baebd0940801cb49016
/get_update_gaps.py
4491613af1df28cd30e2e76e230ea6f17586d52b
[]
no_license
chenc10/TensorFlow-RRSP-INFOCOM19
c5827378dfd3fe4cbe6b85c4f1d6aee4615b6e4e
131eb664f91111646bccf5b7490f5d1e9562ebeb
refs/heads/master
2020-04-29T22:18:40.729132
2019-03-19T06:52:51
2019-03-19T06:52:51
176,443,203
8
3
null
null
null
null
UTF-8
Python
false
false
413
py
import sys num = 16 update_times = [] for i in range(num): f = open(sys.argv[1] + '/slave'+str(i)+'.log', 'r') d = f.readlines() f.close() for i in range(len(d)): if 'loss =' in d[i]: tmp = d[i].split('time:')[1].split(';')[0] update_times.append(float(tmp)) update_times.sort() gaps = [] for i in range(len...
[ "chenc10@126.com" ]
chenc10@126.com
35948d5e5ca5054abf5106ee59c00b4eefdda3da
c404b4da78b1ceed2f8dfa50425a04ad68f8d34e
/2_route/request.py
7b9aca4b9c7a386fe85c96c83cd46b3bc3b43f34
[]
no_license
ydPro-G/Flask
9bca2db3d19193f07c86cd628cbebaade65451dd
d34a9577901dabf4018ba1050263709f2d69e6a8
refs/heads/master
2022-12-15T22:11:39.391134
2020-09-17T07:43:55
2020-09-17T07:43:55
285,768,905
0
0
null
null
null
null
UTF-8
Python
false
false
1,317
py
# HTTP请求方法设置,Get,Post,Put,Delete from flask import request from flask import Flask # 创建Web应用实例 app = Flask(__name__) # 指定路由与HTTP请求方法,不同的请求方法可以返回不同的数据 @app.route('/login',methods=['GET','POST']) # 路由函数 def login(): # 请求路由为什么就反什么数据 if request.method == 'POST': return 'This is a POST request' else: ...
[ "46178109+ydPro-G@users.noreply.github.com" ]
46178109+ydPro-G@users.noreply.github.com
51d687d3a65ca402d94f83473d89873f6bc053ea
c4f01eec090833762b884c2078161df087d09b0d
/Calculation methods/CalcMethods_Lab_3_V15_Task_5_3_1/venv/Scripts/pip-script.py
2a4c7ff61e1d675d875a14a4d4569cdd48595e73
[]
no_license
areyykarthik/Zhukouski_Pavel_BSU_Projects
47a30144c5614b10af521a78fba538a0e9184efa
3540979e680732d38e25a6b39f09338985de6743
refs/heads/master
2023-08-07T02:49:34.736155
2021-10-05T21:57:03
2021-10-05T21:57:03
null
0
0
null
null
null
null
UTF-8
Python
false
false
435
py
#!C:\Users\user\PycharmProjects\CalcMethods_Lab_3_V15_Task_5_3_1\venv\Scripts\python.exe # EASY-INSTALL-ENTRY-SCRIPT: 'pip==19.0.3','console_scripts','pip' __requires__ = 'pip==19.0.3' import re import sys from pkg_resources import load_entry_point if __name__ == '__main__': sys.argv[0] = re.sub(r'(-script\.pyw?|\...
[ "shist.pupust@mail.ru" ]
shist.pupust@mail.ru
696900b90a3dc9d880cb3d1bb40e987430548ae4
8d2a124753905fb0455f624b7c76792c32fac070
/pytnon-month01/month01-class notes/day17-fb/demo02.py
f3a3aa8c1778164bc8a83ee97e32c7c518ca0ef4
[]
no_license
Jeremy277/exercise
f38e4f19aae074c804d265f6a1c49709fd2cae15
a72dd82eb2424e4ae18e2f3e9cc66fc4762ec8fa
refs/heads/master
2020-07-27T09:14:00.286145
2019-09-17T11:31:44
2019-09-17T11:31:44
209,041,629
0
0
null
null
null
null
UTF-8
Python
false
false
2,193
py
""" 迭代器 --> yield 练习: exercise04-装饰器.py 目标:让自定义类所创建的对象,可以参与for. iter价值:可以被for next价值:返回数据/抛出异常 class 自定义类的迭代器: def __next__(self): pass class 自定义类: def __iter__(self): pass for item in 自定义类(): pass """ # class SkillIterator: # def...
[ "13572093824@163.com" ]
13572093824@163.com
6dd671548eb54a66d884c51832342a6f633a2883
6fa7f99d3d3d9b177ef01ebf9a9da4982813b7d4
/9cuQrhEMwiESfKznk_22.py
4beda351a6e7e00fbc28e2b58d5e33dbf762429c
[]
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
635
py
def eng2nums(s): ans='' nums=[('zero'),('one'),('two','twenty'),('three','thirty'),('four','forty'),\ ('five','fifty'),('six','sixty'),('seven','seventy'),('eight','eighty'),\ ('nine','ninety'),('ten'),('eleven'),('twelve'),('thirteen'),('fourteen'),\ ('fifteen'),('sixteen'),('sev...
[ "daniel.reich@danielreichs-MacBook-Pro.local" ]
daniel.reich@danielreichs-MacBook-Pro.local
bb54248f5b5ab49021f8e14e557a7e1a0f7253cb
d190750d6cb34e9d86ae96724cf4b56a2f57a74a
/tests/r/test_wine.py
fde49d1570f4c69b88eb7454a338809439bfce4b
[ "Apache-2.0" ]
permissive
ROAD2018/observations
a119f61a48213d791de0620804adb8d21c2ad9fb
2c8b1ac31025938cb17762e540f2f592e302d5de
refs/heads/master
2021-09-24T04:28:02.725245
2018-09-16T23:06:30
2018-09-16T23:06:30
null
0
0
null
null
null
null
UTF-8
Python
false
false
496
py
from __future__ import absolute_import from __future__ import division from __future__ import print_function import shutil import sys import tempfile from observations.r.wine import wine def test_wine(): """Test module wine.py by downloading wine.csv and testing shape of extracted data has 21 rows and 5 col...
[ "dustinviettran@gmail.com" ]
dustinviettran@gmail.com
8a78ad47f05a803e2d09a235e1e6dd69439e958c
8787b2fbb5017b61dcf6075a5261071b403847bf
/Programmers/피보나치 수.py
fa2b3172cfb8dd924d6d630734bc34a370b3b1fd
[]
no_license
khw5123/Algorithm
a6fe0009e33289813959553c2366d77c93d7b4b9
323a829f17a10276ab6f1aec719c496a3e76b974
refs/heads/master
2023-01-02T00:12:21.848924
2020-10-23T06:37:41
2020-10-23T06:37:41
282,162,235
0
0
null
null
null
null
UTF-8
Python
false
false
584
py
def matmul(a, b, mod): result = [[0, 0], [0, 0]] for i in range(2): for j in range(2): for k in range(2): result[i][j] = (result[i][j] + a[i][k] * b[k][j]) % mod return result def fibonacci_matrix(n, mod): arr, constant = [[1, 0], [0, 1]], [[1, 1], [1, 0]] ...
[ "5123khw@hknu.ac.kr" ]
5123khw@hknu.ac.kr
27422c5a1f0ff024ae1c6f90a890aee82bc4fcdb
c56ddcc2807151a5c44d3a1d65a1984bc8fd9b84
/6 кю/Multiples of 3 or 5.py
d64d9b66c2b54376f88bf68fe0a418f6c91a6640
[]
no_license
kelpasa/Code_Wars_Python
2cd18dd404603a6535887e8e6ed2d08da19562ba
939ec1dd08ffc7939bb9a139bf42901d6f24fbdd
refs/heads/master
2022-12-17T02:00:28.319351
2020-09-23T09:11:20
2020-09-23T09:11:20
246,642,898
0
0
null
null
null
null
UTF-8
Python
false
false
134
py
def solution(number): lst = [] for i in range(number): if i % 3 == 0 or i % 5 == 0: lst.append(i) return sum(lst)
[ "noreply@github.com" ]
kelpasa.noreply@github.com
820f6939597b6231ca028aa4cfb0446606990eae
511b7b19ec49be34bec240ee7c7cf4178cd36ca3
/gasolinestation/migrations/0005_auto_20200228_0841.py
24b1e028159d61f88186ceefaefa79403001fad9
[]
no_license
francisguchie/360POS
58de516fe52e83d6b99bd195d22c8aa902daee18
68f9e20ac263c75ec0c9b0fe75d7f648b8744ea8
refs/heads/master
2023-02-08T16:38:42.667538
2020-03-12T16:05:00
2020-03-12T16:05:00
null
0
0
null
null
null
null
UTF-8
Python
false
false
563
py
# Generated by Django 3.0.3 on 2020-02-28 08:41 from django.conf import settings from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ migrations.swappable_dependency(settings.AUTH_USER_MODEL), ('gasolinestation', '0004_auto_20200228_0832'), ] ...
[ "monde.lacanlalay@gmail.com" ]
monde.lacanlalay@gmail.com
2d59e32a6dcbc39603ae17ab49edec7087cf3ec4
f68cd225b050d11616ad9542dda60288f6eeccff
/testscripts/RDKB/component/CosaCM/TS_COSACM_GetLoopDiagnosticsStart_WithInvalidBuffer.py
237d4cfa6fdc2e7d9e44c6fc5e9438d8bc5e5679
[ "Apache-2.0" ]
permissive
cablelabs/tools-tdkb
18fb98fadcd169fa9000db8865285fbf6ff8dc9d
1fd5af0f6b23ce6614a4cfcbbaec4dde430fad69
refs/heads/master
2020-03-28T03:06:50.595160
2018-09-04T11:11:00
2018-09-05T00:24:38
147,621,410
0
0
null
null
null
null
UTF-8
Python
false
false
6,628
py
########################################################################## # If not stated otherwise in this file or this component's Licenses.txt # file the following copyright and licenses apply: # # Copyright 2016 RDK Management # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use th...
[ "jim.lawton@accenture.com" ]
jim.lawton@accenture.com
7cc65b6f39eee379bed59fe9296f6f4f7706dab0
a1615563bb9b124e16f4163f660d677f3224553c
/LI/lib/python3.8/site-packages/numpy/typing/tests/data/pass/array_constructors.py
63208f139c39667febc30a53fb13a4109a74d410
[ "BSD-3-Clause", "GPL-3.0-or-later", "BSD-3-Clause-Open-MPI", "GPL-3.0-only", "GCC-exception-3.1", "MIT" ]
permissive
honeybhardwaj/Language_Identification
2a247d98095bd56c1194a34a556ddfadf6f001e5
1b74f898be5402b0c1a13debf595736a3f57d7e7
refs/heads/main
2023-04-19T16:22:05.231818
2021-05-15T18:59:45
2021-05-15T18:59:45
351,470,447
5
4
MIT
2021-05-15T18:59:46
2021-03-25T14:42:26
Python
UTF-8
Python
false
false
2,362
py
from typing import List, Any import numpy as np class Index: def __index__(self) -> int: return 0 class SubClass(np.ndarray): ... i8 = np.int64(1) A = np.array([1]) B = A.view(SubClass).copy() B_stack = np.array([[1], [1]]).view(SubClass) C = [1] def func(i: int, j: int, **kwargs: Any) -> SubClass: ...
[ "honey.bhardwaj.18cse@bmu.edu.in" ]
honey.bhardwaj.18cse@bmu.edu.in
5e736de360ea4a465167243925e0eb88349d59c9
7f7dd8b279a19b623c57723ffe8d788423bd359e
/Summary/WC2TPCEff/FlatEff/G4XSPiMinus_60A.py
5621c4610be96a1b387608af292c1e508dfaf8df
[]
no_license
ElenaGramellini/LArIATPionXSAna
35925398b8f7d8ada14bf78664ca243a74b8e946
0fb26e915b987084f553d64560e5a4e6adcb65fa
refs/heads/master
2020-11-28T10:13:57.769651
2019-12-23T15:37:38
2019-12-23T15:37:38
229,779,168
0
0
null
null
null
null
UTF-8
Python
false
false
2,899
py
from ROOT import * import os import math import argparse from ROOT import TEfficiency from ROOT import gStyle , TCanvas , TGraphErrors from array import array def is_number(s): try: int(s) return True except ValueError: return False def graphTruth(): fname = "PionMinusG4.txt" ...
[ "elena.gramellini@yale.edu" ]
elena.gramellini@yale.edu
656b3bbc3c04e4d80829ccf04b91cedb148ddf99
1b9656800d5088309fde46bbc5a02efa2d12f948
/lifelines/fitters/aalen_johansen_fitter.py
6f6075f0dd4fe0046c42349f185cb6376600851d
[ "MIT" ]
permissive
sjoerdapp/lifelines
9045dc588295a2a35c3d4d2135595ef8b2c1ada3
b51234508133233e8fb2790e4d881d38042b6571
refs/heads/master
2020-04-10T02:38:55.575518
2018-12-01T23:58:03
2018-12-01T23:58:03
null
0
0
null
null
null
null
UTF-8
Python
false
false
10,518
py
from __future__ import print_function from __future__ import division import numpy as np import pandas as pd import warnings from lifelines.fitters import UnivariateFitter from lifelines.utils import _preprocess_inputs, inv_normal_cdf from lifelines.fitters.kaplan_meier_fitter import KaplanMeierFitter class AalenJoha...
[ "cam.davidson.pilon@gmail.com" ]
cam.davidson.pilon@gmail.com
42aa2414994823c9aeed0028a4e7d2eed4a9863d
a01aec3906af00d3d40caf933b63d059043cd21d
/数据分析/数组快速挑选/布尔矩阵.py
51223ed4cc4d7e6c0b54921200b51f553ecf3247
[]
no_license
liuaichao/python-work
d23dfcbffff95a50204ead88a809570304ba7995
a5dcd1d74f1a7c1728faaa60d26a3ddb9369f939
refs/heads/master
2021-07-04T16:03:16.443540
2020-09-27T06:51:09
2020-09-27T06:51:09
182,085,446
6
0
null
null
null
null
UTF-8
Python
false
false
721
py
# -*- coding:utf-8 -*- import numpy as np from functools import reduce a1 = ['我','你','他','她','他们','我们'] a2 = ['喜欢','想','拥有','练习','讨厌','学习'] a3 = ['豪车','别墅','python','数据分析','金钱','美酒'] arr_1 = np.column_stack(((np.column_stack((np.array(a1),np.array(a2)))),np.array(a3))) arr_2 = np.column_stack(((np.column_stack((np.arra...
[ "1395900558@qq.com" ]
1395900558@qq.com
c7eb8d5964b35c8f24b6b4fd95646ca4e6d7ea49
e36c5a91306f8d8cf487368d3a1dfae4c03da3c0
/build/kobuki/kobuki_bumper2pc/catkin_generated/pkg.installspace.context.pc.py
3ffee9fd146d172cc2c7437ea17aeec32e5fdf02
[]
no_license
DocDouze/RobMob
84ae5b96a16028586c9da2008f7c7772bdaa1334
6a2e7505eb2207d61b1c354cfd255075b1efbc73
refs/heads/master
2020-04-11T07:24:28.958201
2018-12-17T11:56:54
2018-12-17T11:56:54
161,607,677
0
0
null
null
null
null
UTF-8
Python
false
false
574
py
# generated from catkin/cmake/template/pkg.context.pc.in CATKIN_PACKAGE_PREFIX = "" PROJECT_PKG_CONFIG_INCLUDE_DIRS = "/home/aubailly/Bureau/RobMob/install/include".split(';') if "/home/aubailly/Bureau/RobMob/install/include" != "" else [] PROJECT_CATKIN_DEPENDS = "roscpp;nodelet;pluginlib;sensor_msgs;kobuki_msgs".repl...
[ "quentin.aubailly@gmail.com" ]
quentin.aubailly@gmail.com
dac3ebec146fc48e57be2d5e229e98045b9607a5
c0ad282ab743a315e2f252a627933cb168434c1d
/shapeworld/captioners/conjunction.py
5c6d9150477133f12ca4c36847ac38928275c407
[ "MIT" ]
permissive
AlexKuhnle/ShapeWorld
6d1e16adc94e860abae99ade869f72575f573bc4
e720bf46e57fc01326d04d639fa6133d9c12158f
refs/heads/master
2021-07-09T00:02:33.808969
2021-04-19T11:10:52
2021-04-19T11:10:52
80,815,972
58
28
MIT
2021-04-19T11:10:53
2017-02-03T09:40:19
Python
UTF-8
Python
false
false
5,552
py
from copy import deepcopy from shapeworld import util from shapeworld.captions import Proposition from shapeworld.captioners import WorldCaptioner class ConjunctionCaptioner(WorldCaptioner): # incorrect modes # 0: first incorrect # 1: second incorrect # 2: both incorrect def __init__( se...
[ "aok25@cl.cam.ac.uk" ]
aok25@cl.cam.ac.uk
3cf5de725a5578d429689fda8de9500589456d15
ca7aa979e7059467e158830b76673f5b77a0f5a3
/Python_codes/p03436/s889620274.py
7e3633505d9278af94081bda9da29bfc113148f5
[]
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
672
py
H,W = map(int,input().split()) S = [input() for i in range(H)] blk = sum(row.count('#') for row in S) from collections import deque dxy = [(0,1),(1,0),(0,-1),(-1,0)] dist = [[0]*W for i in range(H)] visited = [[0]*W for i in range(H)] visited[0][0] = 1 q = deque([(0,0)]) while q: x,y = q.popleft() for dx,dy in...
[ "66529651+Aastha2104@users.noreply.github.com" ]
66529651+Aastha2104@users.noreply.github.com
baec99e59f1be0ebe09c25bc8f1b105e189f52f4
e3c8f786d09e311d6ea1cab50edde040bf1ea988
/Incident-Response/Tools/grr/grr/server/grr_response_server/flows/general/checks_test.py
0be3d9152c25d7959746892d62bdb237f98c8a51
[ "Apache-2.0", "MIT" ]
permissive
foss2cyber/Incident-Playbook
d1add8aec6e28a19e515754c6ce2e524d67f368e
a379a134c0c5af14df4ed2afa066c1626506b754
refs/heads/main
2023-06-07T09:16:27.876561
2021-07-07T03:48:54
2021-07-07T03:48:54
384,988,036
1
0
MIT
2021-07-11T15:45:31
2021-07-11T15:45:31
null
UTF-8
Python
false
false
4,368
py
#!/usr/bin/env python """Test the collector flows.""" from __future__ import absolute_import from __future__ import division from __future__ import unicode_literals import os from absl import app from grr_response_core import config from grr_response_core.lib.parsers import config_file from grr_response_core.lib.par...
[ "a.songer@protonmail.com" ]
a.songer@protonmail.com
022e9a1d589b47f9157014098339ea295b9492f5
d5552cda58e251e6a5983876681be8f641dea86f
/tests/models/clipseg/test_modeling_clipseg.py
8378e75a3fe7dc4e83d55f4ea1db2e2bc8350210
[ "Apache-2.0" ]
permissive
patrickvonplaten/transformers
feb121e1ee82c317ac7561836b8f95a7de25fc1f
f738502979f6787609dcf0180e6606f464692e27
refs/heads/master
2022-12-08T10:15:34.743198
2022-11-22T11:00:20
2022-11-22T11:00:20
226,201,271
6
1
Apache-2.0
2019-12-05T22:39:46
2019-12-05T22:39:45
null
UTF-8
Python
false
false
29,281
py
# coding=utf-8 # Copyright 2022 The HuggingFace Inc. team. 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 r...
[ "noreply@github.com" ]
patrickvonplaten.noreply@github.com
3d7de32b8583f42e1269b5b1e6b2aeddc8da1a10
f08e50d55bbbb90e4c8f9a8811eaede98ede2694
/erpbee/assets/doctype/asset/test_asset.py
569152221ac9e0cb1ee21dc6d6f36ecb1da9537c
[]
no_license
mohrezbak/erpbee
bc48472a99a7f4357aa7b82ff3a9c1a4c98ba017
1134156ad337fd472e14cf347479c17bd8db7b33
refs/heads/main
2023-02-12T01:32:07.858555
2021-01-08T17:25:23
2021-01-08T17:25:23
327,872,762
0
0
null
null
null
null
UTF-8
Python
false
false
26,448
py
# -*- coding: utf-8 -*- # Copyright (c) 2015, Frappe Technologies Pvt. Ltd. and Contributors # See license.txt from __future__ import unicode_literals import frappe import unittest from frappe.utils import cstr, nowdate, getdate, flt, get_last_day, add_days, add_months from erpbee.assets.doctype.asset.depreciation imp...
[ "bakhtiar2k6@gmail.com" ]
bakhtiar2k6@gmail.com
beb376cb4b79225dad11e14942e96e80e8dffa48
21f81fce20e657c175de388d5f6b8b8a78ac3ee9
/examples/bend-flux.py
f3fe0a3dd83abcba8e09c5d2080eb1d63e51f0b1
[]
no_license
tnakaicode/pymeep-example
c23a9be827a37477a3328668a62b0486413a31d7
40c9c77d5e26cf43771b57af95c324a5225515ef
refs/heads/master
2021-01-08T02:01:47.641017
2020-02-20T14:22:07
2020-02-20T14:22:07
241,879,598
0
0
null
null
null
null
UTF-8
Python
false
false
3,518
py
# -*- coding: utf-8 -*- # transmission around a 90-degree waveguide bend in 2d from __future__ import division import meep as mp import numpy as np import matplotlib.pyplot as plt resolution = 10 # pixels/um sx = 16 # size of cell in X direction sy = 32 # size of cell in Y direction cell = mp.Vector3(sx, sy, 0) ...
[ "tnakaicode@gmail.com" ]
tnakaicode@gmail.com
5ee4451116675fcba00220cffea5fe8064eb2391
63f9a0d150cbef75f4e6e8246dc7ecac3f3b6d09
/python/ray/util/dask/scheduler.py
0614d35641ec065f203e966a2e8e8a16c8f7ea09
[ "Apache-2.0", "MIT" ]
permissive
ray-project/maze-raylit
79f0a5af9fe4bdc13a2d5b3919da867ed5439aab
a03cd14a50d87d58effea1d749391af530d7609c
refs/heads/master
2023-01-23T04:23:35.178501
2020-12-04T22:34:14
2020-12-04T22:34:14
318,274,659
5
0
Apache-2.0
2020-12-04T22:34:15
2020-12-03T17:47:58
Python
UTF-8
Python
false
false
16,044
py
import atexit from collections import defaultdict from multiprocessing.pool import ThreadPool import threading import ray from dask.core import istask, ishashable, _execute_task from dask.local import get_async, apply_sync from dask.system import CPU_COUNT from dask.threaded import pack_exception, _thread_get_id fro...
[ "noreply@github.com" ]
ray-project.noreply@github.com
78ab9aaea1b7def48a3918b228987989375f6fda
de24f83a5e3768a2638ebcf13cbe717e75740168
/moodledata/vpl_data/10/usersdata/137/10363/submittedfiles/testes.py
3f1eddb1bbd0d48889e66c57f0feb844589958e4
[]
no_license
rafaelperazzo/programacao-web
95643423a35c44613b0f64bed05bd34780fe2436
170dd5440afb9ee68a973f3de13a99aa4c735d79
refs/heads/master
2021-01-12T14:06:25.773146
2017-12-22T16:05:45
2017-12-22T16:05:45
69,566,344
0
0
null
null
null
null
UTF-8
Python
false
false
457
py
# -*- coding: utf-8 -*- from __future__ import division import math a=input('a:') b=input('b:') c=input('c:') d=input('d:') if a>b and a>c and a>d: maior=a elif b>a and b>c and b>d: maior=a elif c>a and c>b and c>d: maior=c elif d>a and d>b and d>c: maior=d elif a<b and a<c and a<d: menor=a elif b<a...
[ "rafael.mota@ufca.edu.br" ]
rafael.mota@ufca.edu.br
3678749b295aba294063b492e55f9765d25c127f
80f244addbd16914b3391f549670e7164b60e0cb
/Realestate4/Tagent4/migrations/0001_initial.py
7d6f31c659a77640ff373ae56d72c6f5532871f4
[]
no_license
Jagadishbommareddy/agentrest
df3817bb08b63e95f985935ebe7853492594619e
4b5e7a2dcfc8a0f39e4a6a94fe3cde8232aece97
refs/heads/master
2021-06-27T05:03:30.703762
2017-09-14T15:37:57
2017-09-14T15:37:57
103,550,487
0
0
null
null
null
null
UTF-8
Python
false
false
4,807
py
# -*- coding: utf-8 -*- # Generated by Django 1.11.4 on 2017-09-14 13:43 from __future__ import unicode_literals import Tagent4.validations from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): initial = True dependencies = [ ] ...
[ "noreply@github.com" ]
Jagadishbommareddy.noreply@github.com
62c80f119ab5024fb4c6c1e5c2d0e6081efe14b8
3d19e1a316de4d6d96471c64332fff7acfaf1308
/Users/A/alokmaheshwari/follow-url.py
149494399874ca6fa3215219ddc76469be641698
[]
no_license
BerilBBJ/scraperwiki-scraper-vault
4e98837ac3b1cc3a3edb01b8954ed00f341c8fcc
65ea6a943cc348a9caf3782b900b36446f7e137d
refs/heads/master
2021-12-02T23:55:58.481210
2013-09-30T17:02:59
2013-09-30T17:02:59
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,246
py
import mechanize import lxml.html import scraperwiki surl = "http://main.exoclick.com/click.php?data=eGhhbXN0ZXJ8MjQxMjQ3fDB8aHR0cCUzQSUyRiUyRnRyay5rbGlja3RyZWsuY29tJTJGYmFzZS5waHAlM0ZjJTNEODMlMjZrZXklM0Q4NzNkNTA5YWZiNTRjM2RiZjNiMjFiYTFjOGQyMzAxZiUyNnNvdXJjZSUzRHhoYW1zdGVyLmNvbXwzNDk1NHx8MHwxMDB8MTM1MDA3MDUxM3x4aGF...
[ "pallih@kaninka.net" ]
pallih@kaninka.net
ec0f1ffdc69a6641606770b1d92ef89fe6fdde1f
d838bed08a00114c92b73982a74d96c15166a49e
/docs/data/learn/Bioinformatics/output/ch1_code/src/Stepik.1.7.ExerciseBreak1.py
4c69d9c5f0fb22fce970c161b2e6eac54c8f7fbe
[]
no_license
offbynull/offbynull.github.io
4911f53d77f6c59e7a453ee271b1e04e613862bc
754a85f43159738b89dd2bde1ad6ba0d75f34b98
refs/heads/master
2023-07-04T00:39:50.013571
2023-06-17T20:27:05
2023-06-17T23:27:00
308,482,936
1
0
null
null
null
null
UTF-8
Python
false
false
106
py
from GCSkew import gc_skew skew = gc_skew('GAGCCACCGCGATA') print(f'{" ".join([str(f) for f in skew])}')
[ "offbynull@gmail.com" ]
offbynull@gmail.com
e51a774e9038db02f31527d3a06914c40379467e
bf681fbd7edbf4f8f1e0b20cbd09b362f777c9c3
/bazel/starlark_testing/formal/my_macro.bzl
dfd2634455066d945fe2123d13fc54dfc933a770
[ "BSD-3-Clause" ]
permissive
EricCousineau-TRI/repro
308d4a86f3c7da8be5811db2f3f68d39db60d7ed
9800f45e07f511c9a355ee90333955451b55559a
refs/heads/master
2023-08-31T13:49:23.540640
2023-08-25T19:18:33
2023-08-25T19:18:33
87,116,976
24
13
NOASSERTION
2023-03-25T01:40:55
2017-04-03T20:19:28
Jupyter Notebook
UTF-8
Python
false
false
44
bzl
def add_two_numbers(a, b): return a + b
[ "eric.cousineau@tri.global" ]
eric.cousineau@tri.global
bf90aef5300e024c4e7977593d9d595e0838b6e1
c24212464eb84588edc7903a8905f2a881d578c4
/migrations/versions/9db4f46dd61b_private_messages.py
3f2b1c16b6007c7b1b7217c12ff58710f815a2b8
[]
no_license
the-akira/Flask-Library
c533dc2fd1ac2d3d9e2732e7c7bed5b8cc7ca4bd
833e77660053b1e95975ccdf8bf41a035722975c
refs/heads/master
2023-05-25T12:08:15.898134
2023-02-07T23:36:50
2023-02-07T23:36:50
205,951,022
5
2
null
2023-02-15T22:08:36
2019-09-02T23:26:50
HTML
UTF-8
Python
false
false
1,724
py
"""private messages Revision ID: 9db4f46dd61b Revises: 46e80c86a0fb Create Date: 2022-05-16 01:53:35.196659 """ from alembic import op import sqlalchemy as sa # revision identifiers, used by Alembic. revision = '9db4f46dd61b' down_revision = '46e80c86a0fb' branch_labels = None depends_on = None def upgrade(): ...
[ "gabrielfelippe90@gmail.com" ]
gabrielfelippe90@gmail.com
15fbb58d1ab6e4d3ad5e71efc5289fb5538ba0c4
3ea99519e25ec1bb605947a94b7a5ceb79b2870a
/modern_python/modernpython/lib/python3.6/site-packages/mypy/erasetype.py
48cd31487038c3a7b492617d7348a7241574e77e
[]
no_license
tech-cow/spazzatura
437c7502a0654a3d3db2fd1e96ce2e3e506243c0
45fc0932186d2ef0c5044745a23507a692cfcc26
refs/heads/master
2022-09-01T12:01:11.309768
2018-11-15T04:32:03
2018-11-15T04:32:03
130,414,653
1
0
null
null
null
null
UTF-8
Python
false
false
3,635
py
from typing import Optional, Container, Callable from mypy.types import ( Type, TypeVisitor, UnboundType, AnyType, NoneTyp, TypeVarId, Instance, TypeVarType, CallableType, TupleType, TypedDictType, UnionType, Overloaded, ErasedType, PartialType, DeletedType, TypeTranslator, TypeList, UninhabitedType, ...
[ "yuzhoujr@yuzhou-7480.internal.synopsys.com" ]
yuzhoujr@yuzhou-7480.internal.synopsys.com
3bbe155023b3a97c5e91f1df5960570a3fcf09b0
154fd16fe7828cb6925ca8f90e049b754ce06413
/lino_book/projects/lydia/tests/dumps/18.12.0/finan_journalentryitem.py
d520f010ff31a28ccbf9549667aba2fb3c9447b9
[ "BSD-2-Clause" ]
permissive
lino-framework/book
68de2f8d130266bd9d9de7576d30597b3cde1c91
4eab916832cd8f48ff1b9fc8c2789f0b437da0f8
refs/heads/master
2021-03-27T16:16:55.403940
2021-03-15T02:53:50
2021-03-15T02:53:50
58,830,342
3
9
BSD-2-Clause
2021-03-09T13:11:27
2016-05-14T21:02:17
Python
UTF-8
Python
false
false
205
py
# -*- coding: UTF-8 -*- logger.info("Loading 0 objects to table finan_journalentryitem...") # fields: id, seqno, match, amount, dc, remark, account, partner, date, voucher loader.flush_deferred_objects()
[ "luc.saffre@gmail.com" ]
luc.saffre@gmail.com
e4f283777aca8b53ab305f01ade13de7a4711d27
c7f4b7c79d8fc3491c01b46bb5c78192d3e0c5ae
/tests/test_UnweightedSearchTree___call__.py
29dbcb6640eb211d089579d2046068bc20a37184
[ "MIT" ]
permissive
Abjad/abjad-ext-nauert
37d4ea2121b839d2c9388e925b241795cd5a0ae7
ad6c649c79d096ce905a7a8e80cf9d7154727424
refs/heads/main
2023-08-24T15:32:15.519856
2023-08-02T15:05:08
2023-08-02T15:05:08
132,930,780
4
2
MIT
2023-04-15T14:18:20
2018-05-10T17:05:23
Python
UTF-8
Python
false
false
1,648
py
import abjadext.nauert def test_UnweightedSearchTree___call___01(): definition = {2: {2: {2: None}, 3: None}, 5: None} search_tree = abjadext.nauert.UnweightedSearchTree(definition) q_grid = abjadext.nauert.QGrid() a = abjadext.nauert.QEventProxy( abjadext.nauert.SilentQEvent(0, ["A"], index=1...
[ "josiah.oberholtzer@gmail.com" ]
josiah.oberholtzer@gmail.com
62753c6572ceae98064f37c7803fd7fad44def88
fa99ad8197e9accce25ae31a197e11c84683daaf
/kakao/phone.py
42ffdb298d160f0792868d7216980fb6aed6bad9
[]
no_license
vxda7/HomeAlgorithm
933c3afae5fb81dce2707790544c0f4c3cdc44f9
9a8437913ba579b9a584f16048be81ae1d17d3e6
refs/heads/master
2020-09-08T16:37:02.089305
2020-07-10T06:58:58
2020-07-10T06:58:58
221,185,705
0
0
null
null
null
null
UTF-8
Python
false
false
1,273
py
def solution(numbers, hand): answer = '' rctonum = {"*":[0, 0], "#": [2, 0], 1:[0, 3], 2:[1, 3], 3: [2, 3], 4: [0, 2], 5: [1, 2], 6: [2, 2], 7:[0, 1], 8: [1, 1], 9:[2, 1], 0:[1, 0]} nowleft = [0, 0] nowright = [2, 0] leftdis, rightdis = 0, 0 for one in numbers: if one == 1 or one == 4 or...
[ "vxda77@gmail.com" ]
vxda77@gmail.com
7fbc51dbe061ef625e5af45342ec77179b3f8c3f
e5e2b7da41fda915cb849f031a0223e2ac354066
/sdk/python/pulumi_azure_native/sql/v20190601preview/_enums.py
25bbca7a57d4b073a45cbd5b58f250f0b0307a61
[ "BSD-3-Clause", "Apache-2.0" ]
permissive
johnbirdau/pulumi-azure-native
b7d3bdddeb7c4b319a7e43a892ddc6e25e3bfb25
d676cc331caa0694d8be99cb90b93fa231e3c705
refs/heads/master
2023-05-06T06:48:05.040357
2021-06-01T20:42:38
2021-06-01T20:42:38
null
0
0
null
null
null
null
UTF-8
Python
false
false
6,026
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! *** from enum import Enum __all__ = [ 'AdministratorType', 'CatalogCollationType', 'CreateMode', 'DatabaseLicenseType', 'DatabaseReadS...
[ "noreply@github.com" ]
johnbirdau.noreply@github.com
2bc19d1d207111ed43b63e5866fcca751932a569
f0bbca88acab9f75a534c8b228f04abac33735f3
/python/272.ClosestBinarySearchTreeValueII.py
bade89981c709daef2f4fb2d7f428729fef5917c
[]
no_license
MaxPoon/Leetcode
e4327a60d581f715a7c818b8e8e8aa472ed776c1
15f012927dc34b5d751af6633caa5e8882d26ff7
refs/heads/master
2020-09-17T05:33:13.877346
2019-05-09T04:34:54
2019-05-09T04:34:54
67,481,937
15
8
null
null
null
null
UTF-8
Python
false
false
954
py
# Definition for a binary tree node. # class TreeNode(object): # def __init__(self, x): # self.val = x # self.left = None # self.right = None from heapq import heappush, heappop class Solution(object): def closestKValues(self, root, target, k): """ :type root: TreeNode :type target: f...
[ "maxpanziyuan@gmail.com" ]
maxpanziyuan@gmail.com
fc24a39a70270e955fe523e8fc7e16760c7f5e10
9009ad47bc1d6adf8ee6d0f2f2b3125dea44c0aa
/cf-999-a.py
4a0a9b2c17abfd11d87b3733bfd2c74232bfddd1
[]
no_license
luctivud/Coding-Trash
42e880624f39a826bcaab9b6194add2c9b3d71fc
35422253f6169cc98e099bf83c650b1fb3acdb75
refs/heads/master
2022-12-12T00:20:49.630749
2020-09-12T17:38:30
2020-09-12T17:38:30
241,000,584
0
0
null
null
null
null
UTF-8
Python
false
false
1,366
py
#~~~~~~~~~~~~~~~ JAI SHREE RAM ~~~~~~~~~~~~~~~~~~# import math; from collections import * import sys; from functools import reduce # sys.setrecursionlimit(10**6) def get_ints(): return map(int, input().strip().split()) def get_list(): return list(get_ints()) def get_string(): return list(input().strip().split(...
[ "luctivud@gmail.com" ]
luctivud@gmail.com
392f97c7aa8fafdedcc7b8a17f57f824a0419300
1c6283303ceb883add8de4ee07c5ffcfc2e93fab
/Jinja2/lib/python3.7/site-packages/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/learnedinfo/pcedetailedsrsynclspupdateparams_099ec5956b09590499b5079ba90354c9.py
58f5afb82b0d0a79560cdbab2c5cc6541e232314
[]
no_license
pdobrinskiy/devcore
0f5b3dfc2f3bf1e44abd716f008a01c443e14f18
580c7df6f5db8c118990cf01bc2b986285b9718b
refs/heads/main
2023-07-29T20:28:49.035475
2021-09-14T10:02:16
2021-09-14T10:02:16
405,919,390
0
0
null
null
null
null
UTF-8
Python
false
false
30,032
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, ...
[ "pdobrinskiy@yahoo.com" ]
pdobrinskiy@yahoo.com
9ee3580b09c058e905d7716ebd7d3428447c0fa9
9680ba23fd13b4bc0fc3ce0c9f02bb88c6da73e4
/Brian Heinold (243) ile Python/p32406.py
48335db560c70401219a91d1793655a29c1366cb
[]
no_license
mnihatyavas/Python-uygulamalar
694091545a24f50a40a2ef63a3d96354a57c8859
688e0dbde24b5605e045c8ec2a9c772ab5f0f244
refs/heads/master
2020-08-23T19:12:42.897039
2020-04-24T22:45:22
2020-04-24T22:45:22
216,670,169
0
0
null
null
null
null
ISO-8859-9
Python
false
false
1,030
py
# coding:iso-8859-9 Türkçe from collections import Counter import re metin = open ("p32406x2.txt").read() # İsterseniz "p32406x1.txt" Türkçe metin dosyasını da kullanabilirsiniz... print ("Dosyadan okunan metin:\n", metin) sayar1 = Counter (metin) print ("\nMetnin karakterlerinin tekrarlanma sıklığı:\n", l...
[ "noreply@github.com" ]
mnihatyavas.noreply@github.com
c40a0d341aa647b4cc049e828e4eb7a914438513
d6e6ff3026b41f07c8c157420c988d3381fcd945
/src/justForReal/InsertionSortList.py
dd3ac3005e9c33d7a447f771133cc4585f7dab33
[]
no_license
tongbc/algorithm
dbaeb354f167c7a7a10509ada9458eaaa5e7676e
cf0a007552caa121a656a3f42257de8fa8cc5b38
refs/heads/master
2022-05-17T15:25:32.915075
2022-04-02T06:23:31
2022-04-02T06:23:31
142,536,105
1
0
null
null
null
null
UTF-8
Python
false
false
701
py
# Definition for singly-linked list. class ListNode(object): def __init__(self, x): self.val = x self.next = None class Solution(object): def insertionSortList(self, head): """ :type head: ListNode :rtype: ListNode """ if not head: return head...
[ "624360737@qq.com" ]
624360737@qq.com
ce7d5d4aef98e5e31b4e02039e829acfb0af34fa
c98e859c3c3281ccdd63e12ae546c663d10a5cb8
/tests/workflows/test_imaging_arlexecute.py
7435f98c20a80faa75f52daa4164c99f9fcc1a8c
[ "Apache-2.0" ]
permissive
henriquegildev/algorithm-reference-library
afa7724e87ff527bb219ee0320b613874c0d1d0f
1b2c8d6079249202864abf8c60cdea40f0f123cb
refs/heads/master
2023-03-16T01:44:45.160685
2019-12-05T19:19:22
2019-12-05T19:19:22
null
0
0
null
null
null
null
UTF-8
Python
false
false
25,025
py
""" Unit tests for pipelines expressed via arlexecute """ import logging import sys import unittest import numpy from astropy import units as u from astropy.coordinates import SkyCoord from data_models.polarisation import PolarisationFrame from data_models.memory_data_models import BlockVisibility, Visibility from p...
[ "realtimcornwell@gmail.com" ]
realtimcornwell@gmail.com
353ce03802c6f618b014782c3d1c547b23a61161
3cdb4faf34d8375d6aee08bcc523adadcb0c46e2
/web/env/lib/python3.6/site-packages/botocore/vendored/requests/api.py
85608b79d7979f08365897c0b8a17abc198f9cc9
[ "MIT", "GPL-3.0-only" ]
permissive
rizwansoaib/face-attendence
bc185d4de627ce5adab1cda7da466cb7a5fddcbe
59300441b52d32f3ecb5095085ef9d448aef63af
refs/heads/master
2020-04-25T23:47:47.303642
2019-09-12T14:26:17
2019-09-12T14:26:17
173,157,284
45
12
MIT
2020-02-11T23:47:55
2019-02-28T17:33:14
Python
UTF-8
Python
false
false
5,903
py
# -*- coding: utf-8 -*- """ requests.api ~~~~~~~~~~~~ This module implements the Requests API. :copyright: (c) 2012 by Kenneth Reitz. :license: Apache2, see LICENSE for more details. """ import warnings from . import sessions _WARNING_MSG = ( "You are using the {name}() function from 'botocore.vendored.reque...
[ "rizwansoaib@gmail.com" ]
rizwansoaib@gmail.com
8fff6bb03b004eade3f864943dfe58a1c0d4969b
4b9e30286d292a9702e5cca61ce1004f31d68529
/tests/weblogs/test_management_commands.py
69c120f9c198c9c8217407a623256276bd94cea6
[]
no_license
philgyford/django-hines
2c69f18c39a19dc1488950e4948bde98427dcefc
af5ab91deae688ba67d1561cee31359b67b0d582
refs/heads/main
2023-08-11T15:30:34.796955
2023-08-07T10:09:04
2023-08-07T10:09:04
930,164
14
1
null
2023-09-11T14:44:43
2010-09-22T09:25:28
HTML
UTF-8
Python
false
false
2,113
py
from io import StringIO from django.core.management import call_command from django.test import TestCase from freezegun import freeze_time from hines.core.utils import make_datetime from hines.weblogs.factories import DraftPostFactory, ScheduledPostFactory from hines.weblogs.models import Post class PublishSchedule...
[ "phil@gyford.com" ]
phil@gyford.com
a16d263e0faed78d988cfcfe933d8d3375f77618
fa1aa08d57dc45e5095593b78d0f2b75243bc936
/wonderment/wsgi.py
f3dfbbd5aae7a55e8489dee92018ef819738d980
[]
no_license
carljm/Wonderment
8c8d7e3fa6dd853aa150ae3f5addc430ee2070ee
7418864b7beaf73a9e1c0557b50904cf9a29d667
refs/heads/master
2021-04-24T15:32:21.634279
2019-01-14T04:33:19
2019-01-14T04:33:19
23,745,985
1
1
null
null
null
null
UTF-8
Python
false
false
346
py
""" WSGI config for wonderment project. It exposes the WSGI callable as a module-level variable named ``application``. """ # flake8: noqa import os os.environ.setdefault("DJANGO_SETTINGS_MODULE", "wonderment.settings") from django.core.wsgi import get_wsgi_application from dj_static import Cling application = Clin...
[ "carl@oddbird.net" ]
carl@oddbird.net
a88eb74aa375c7325e1c53caba26ecc15624f3cf
8c5a083a67858df0632ca5bb7804d1876255381b
/trustpay/admin.py
69ffdc341aec2c236e85b633429a41c304fd2649
[ "BSD-3-Clause" ]
permissive
PragmaticMates/django-trustpay
5ef9a771fb1686b517211bd83181591b9e90e7b3
fdf1273081bf228ed9f2fbbe9507174c80a709af
refs/heads/master
2021-06-22T21:36:28.789306
2018-08-07T11:07:55
2018-08-07T11:07:55
16,167,006
1
1
BSD-3-Clause
2021-06-10T19:10:49
2014-01-23T08:39:51
Python
UTF-8
Python
false
false
903
py
from django.contrib import admin from django.utils.translation import ugettext_lazy as _ from models import Notification class NotificationAdmin(admin.ModelAdmin): date_hierarchy = 'created' list_display = ['id', 'transaction_id', 'result', 'amount_and_currency', 'reference', 'signature', ...
[ "erik.telepovsky@gmail.com" ]
erik.telepovsky@gmail.com