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
9134c21c482197da0d0d50f272fc04d4bc7d382b
9b9b6a7aa1de1092a8480771f2b08ffa0972218d
/python/sklearn/linear-regression/workload-analysis/faster-rcnn/lr/lr.py
90e61bda1999d1313da975be3ec8679947fef79f
[ "WTFPL" ]
permissive
lijiansong/lang
c42ca757306b38f37a26fef841b2460f05a13af6
27ffecd9afe67ddac003fc4d6333e06e2cc20434
refs/heads/master
2023-02-25T17:36:01.221720
2023-02-14T14:10:29
2023-02-14T14:10:29
149,586,739
1
1
null
null
null
null
UTF-8
Python
false
false
3,826
py
from sklearn import linear_model def get_data(file_name): file_reader = open(file_name, 'r') x_list = [] y_list = [] try: text_lines = file_reader.readlines() print(type(text_lines)) data_parallel_min = model_parallel_min = thread_num_min = fifo_size_min = end2end_fps_min = 1000...
[ "lijiansong@ict.ac.cn" ]
lijiansong@ict.ac.cn
fd8d9edccb5cf431782d7a3b811a8be8d97b3cab
b182a3407b56c14b830b6ff3a543ba29d5996f84
/beartype_test/a00_unit/a00_util/test_utilclass.py
243c41c5a70f9dcddf4f9dced5d7a6262195fa2d
[ "MIT" ]
permissive
yamgent/beartype
9d1899a6e6dacd1dd74652a81a2c1f275b1fd775
afaaa0d8c25f8e5c06dd093982787b794ee48f2d
refs/heads/main
2023-03-19T18:27:44.326772
2021-03-08T06:20:57
2021-03-08T06:26:22
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,252
py
#!/usr/bin/env python3 # --------------------( LICENSE )-------------------- # Copyright (c) 2014-2021 Beartype authors. # See "LICENSE" for further details. ''' **Beartype class utility unit tests.** This submodule unit tests the public API of the private :mod:`beartype._util.cls.utilclstes...
[ "leycec@gmail.com" ]
leycec@gmail.com
0adbc19feb75e545c6ae06788aee93eec6cfe56a
8eab8ab725c2132bb8d090cdb2d23a5f71945249
/virt/Lib/site-packages/jedi/inference/filters.py
62782334b68d20ba1730d0b69c1e7f35a5689373
[ "MIT" ]
permissive
JoaoSevergnini/metalpy
6c88a413a82bc25edd9308b8490a76fae8dd76ca
c2d0098a309b6ce8c756ff840bfb53fb291747b6
refs/heads/main
2023-04-18T17:25:26.474485
2022-09-18T20:44:45
2022-09-18T20:44:45
474,773,752
3
1
MIT
2022-11-03T20:07:50
2022-03-27T22:21:01
Python
UTF-8
Python
false
false
12,493
py
""" Filters are objects that you can use to filter names in different scopes. They are needed for name resolution. """ from abc import abstractmethod from typing import List, MutableMapping, Type import weakref from parso.tree import search_ancestor from parso.python.tree import Name, UsedNamesMapping from jedi.infer...
[ "joao.a.severgnini@gmail.com" ]
joao.a.severgnini@gmail.com
5904499d418489afdf5bcc82482c93dea481d2b4
7d9d3d5ce2ac19221163d54a94c025993db0af4f
/autotest/gcore/asyncreader.py
e5cdc8c94fae9dfcb59bfb31d900631c01c51494
[ "MIT" ]
permissive
dcgull/gdal
5408adad77d001db32173bba547b447220b5e9a2
a5e2a7b54db955bd061ebfc6d69aa2dd752b120c
refs/heads/master
2020-04-03T13:30:40.013172
2013-10-11T12:07:57
2013-10-11T12:07:57
null
0
0
null
null
null
null
UTF-8
Python
false
false
3,186
py
#!/usr/bin/env python ############################################################################### # $Id: asyncreader.py 22782 2011-07-23 19:20:29Z warmerdam $ # # Project: GDAL/OGR Test Suite # Purpose: Test AsyncReader interface # Author: Even Rouault <even dot rouault at mines dash paris dot org> # #########...
[ "gerard.choinka@ambrosys.de" ]
gerard.choinka@ambrosys.de
e8fb239b281d1398883df79eb69f5d7664a1a78c
92fb3d19b329434fe577fb5b8cc2e3302700d427
/midterm/task1/forms.py
8521fa2035b958a521928a7a1a41bbea07a0bf2b
[]
no_license
aigerimzh/BFDjango
6a2635db8a1017b64c304193277d3030b3daf196
99f81274abdf0afcd9925cf2af057e616c433448
refs/heads/master
2020-03-28T22:45:13.782301
2018-11-22T17:10:54
2018-11-22T17:10:54
146,699,388
0
0
null
null
null
null
UTF-8
Python
false
false
168
py
from django import forms from .models import Restaurant class RestaurantForm(forms.ModelForm): class Meta: model = Restaurant fields = ["r_name", "tel", "city"]
[ "ajgerimzumabaeva10@gmail.com" ]
ajgerimzumabaeva10@gmail.com
d55fcb04257be97981f8209ad7a1126b52920e52
d8cdf0afcee58b9813d3392e8b68d8751d703885
/scd/scd.py
996b39524c756d51d8f47b00d61e787aba9b1082
[ "MIT" ]
permissive
yukikawana/PhotographicImageSynthesis
db024377f3626ba7a0e01af49f7bfd8810af38f7
555663c0923b0cb8f9cd0dd3c4cfcdc95031a024
refs/heads/master
2020-03-19T21:43:21.513385
2018-06-19T12:07:06
2018-06-19T12:07:06
136,948,035
0
0
null
2018-06-11T15:48:57
2018-06-11T15:48:57
null
UTF-8
Python
false
false
10,675
py
# coding: utf-8 # In[1]: import os import math import numpy as np import tensorflow as tf import cv2 import re slim = tf.contrib.slim # In[2]: import matplotlib.pyplot as plt import matplotlib.image as mpimg import matplotlib.cm as mpcm import cv2 from nets import ssd_vgg_300 from nets import ssd_common from ...
[ "kojirou.tensou@gmail.com" ]
kojirou.tensou@gmail.com
71af7fe8f846df967083da104419347fd6448bda
39f879ced0dbcbb92e7a12d8b09f4fa0aea4f925
/pajbot/models/kvi.py
499ba8d96ff3d9277996298df2f262fdc3e390c5
[ "MIT" ]
permissive
coral/pajbot
f205b750d77cf06c75229aee93a5879abe4a10de
682580f2a43a19a907cba231290b6d59157e123c
refs/heads/master
2021-01-14T08:30:17.534620
2016-03-24T22:15:24
2016-03-24T22:15:24
54,676,838
0
0
null
2016-03-24T21:58:09
2016-03-24T21:58:08
null
UTF-8
Python
false
false
1,383
py
import logging from collections import UserDict from sqlalchemy import Column from sqlalchemy import Integer from sqlalchemy import String from pajbot.managers import Base from pajbot.managers import DBManager log = logging.getLogger('pajbot') class KVIData(Base): __tablename__ = 'tb_idata' id = Column(St...
[ "pajlada@bithack.se" ]
pajlada@bithack.se
83ba5b3175e103d12d140d6720c3c1c842808d87
9f9f4280a02f451776ea08365a3f119448025c25
/plans/hsppw/qcut_hsp-s_002_pwcc_logit_hs.py
389812e7751f3c4e9cb7cdc5e3736e373e543373
[ "BSD-2-Clause" ]
permissive
dbis-uibk/hit-prediction-code
6b7effb2313d2499f49b2b14dd95ae7545299291
c95be2cdedfcd5d5c27d0186f4c801d9be475389
refs/heads/master
2023-02-04T16:07:24.118915
2022-09-22T12:49:50
2022-09-22T12:49:50
226,829,436
2
2
null
null
null
null
UTF-8
Python
false
false
2,074
py
"""Plan using all features.""" import os.path from dbispipeline.evaluators import CvEpochEvaluator from sklearn.linear_model import LogisticRegression from sklearn.pipeline import Pipeline from sklearn.preprocessing import MinMaxScaler import hit_prediction_code.common as common from hit_prediction_code.dataloaders i...
[ "mikevo-uibk@famv.net" ]
mikevo-uibk@famv.net
b3272192375b1b837f1071863e9a82efcad1198e
0e59533f5ed141fd0d286dbdaebdbeba14ee576e
/Scripts/viewer.py
a70503d56ef444a57b0e4632c6e962bf3e714e87
[]
no_license
LizinczykKarolina/DjangoBussiness
cab793ee73435143abf3293b12371ac81805e3fc
b1d89109533c3f1f6b004b2ec259ea9ec13185bc
refs/heads/master
2021-09-25T17:59:09.380062
2018-10-24T21:52:34
2018-10-24T21:52:34
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,072
py
#!c:\pycharmprojects\djangoprojects\djangobussiness\scripts\python.exe # # The Python Imaging Library # $Id$ # from __future__ import print_function import sys if sys.version_info[0] > 2: import tkinter else: import Tkinter as tkinter from PIL import Image, ImageTk # # an image viewer class UI(tkinter.La...
[ "wieczorek.karolina1@o2.pl" ]
wieczorek.karolina1@o2.pl
bd689d04a2bef94ca53dd98eaece7d358b901fcb
06a7dc7cc93d019e4a9cbcf672b23a0bbacf8e8b
/2016_schizConnect/unsupervised analysis/VIP/pcatv_components_analysis_VIP.py
661f315760166011bf65da58fca12157fcc75feb
[]
no_license
neurospin/scripts
6c06cd218a5f32de9c3c2b7d1d8bda3f3d107458
f14a2c9cf2cd7f5fbea767b017c3faf36d170bdb
refs/heads/master
2021-07-11T22:55:46.567791
2021-07-02T13:08:02
2021-07-02T13:08:02
10,549,286
2
2
null
null
null
null
UTF-8
Python
false
false
6,856
py
import os import numpy as np import matplotlib.pyplot as plt import nibabel as nib import pandas as pd import nibabel as nib import json from nilearn import plotting from nilearn import image from scipy.stats.stats import pearsonr ############################################################################### # SCZ ...
[ "ad247405@is222241.intra.cea.fr" ]
ad247405@is222241.intra.cea.fr
f5a539e1278a45d740052e93379f9bbe3139700b
5adde646184e7da34e2f2ee75b19703ead8fe761
/manage.py
c738bbb6dc7c5a5a3a95e8f540eb99e36129e874
[]
no_license
amarantejoacil/Progressao
ff5e2a44e7acc306480a000c52fca8b07eed6fcf
be3c42c34a7debd46d4e6fd64412ddb1c2bb574f
refs/heads/main
2023-08-17T13:30:52.285824
2021-10-05T00:56:04
2021-10-05T00:56:04
411,513,104
1
0
null
null
null
null
UTF-8
Python
false
false
666
py
#!/usr/bin/env python """Django's command-line utility for administrative tasks.""" import os import sys def main(): """Run administrative tasks.""" os.environ.setdefault('DJANGO_SETTINGS_MODULE', 'Progressao.settings') try: from django.core.management import execute_from_command_line except I...
[ "joacil.amarante@gmail.com" ]
joacil.amarante@gmail.com
32c1fd44ad91e650d9dd909d4c6ffd0db4a42814
288bbf5b6bf4c8471896533dc4c0538f1733c3a4
/web_flask/1-hbnb_route.py
1f5e59d54c15956153ef5b59f68cb0d58f6ad668
[]
no_license
lemejiamo/AirBnB_clone_v2
e75e61551763ed9677981b66d15667bdfe288dfc
9a72db6fe2f100c1974fb0ebe0e3a8b5fb140d65
refs/heads/master
2023-07-19T03:17:10.412000
2021-09-21T23:46:58
2021-09-21T23:46:58
393,437,169
0
1
null
null
null
null
UTF-8
Python
false
false
385
py
#!/usr/bin/python3 """ initilice basic flask server """ from flask import Flask app = Flask(__name__) @app.route('/', strict_slashes=False) def index(): """ route to root """ return 'Hello HBNB!' @app.route('/hbnb', strict_slashes=False) def hbnb(): """route to hbnb""" return 'HBNB' if __name__ =...
[ "luismejia69@gmail.com" ]
luismejia69@gmail.com
b25c921d84ede98178527e22823a6081472ab0f5
409c4d0dce72de987dff7c76857499fba8f8b7a0
/popmail.py
9735a642e45baeca25654101668a883343048f32
[]
no_license
crystaleone/test
b4fece7fbc4e8ddd6186ea13245c62970c6d7038
4af3964bf6a657e888c7850f07a031440ba29e7a
refs/heads/master
2021-01-18T19:17:36.924170
2017-09-19T03:37:01
2017-09-19T03:37:01
86,895,858
0
0
null
null
null
null
UTF-8
Python
false
false
704
py
import poplib, getpass, sys, mailconfig mailserver = mailconfig.popservername mailuser = mailconfig.popusername mailpasswd = getpass.getpass('Password for %s?' % mailserver) print('Connection...') server = poplib.POP3(mailserver) server.user(mailuser) server.pass_(mailpasswd) try: print(server.getwelcom()) msgCoun...
[ "403868144@qq.com" ]
403868144@qq.com
2beb791796d2faba7263d9bb34130528608ebb4b
ef3cda1a9364d77cf0703ec047e463b4f6ced154
/torch/_dynamo/convert_frame.py
ad163d5b8442993b58142be0f9e038c37cce8b26
[ "BSD-2-Clause", "LicenseRef-scancode-secret-labs-2011", "BSD-3-Clause", "LicenseRef-scancode-generic-cla", "BSL-1.0", "Apache-2.0" ]
permissive
jaglinux/pytorch
e7021986cb3916b91347b0f0e82093cb0ba95d06
7da8705f18ec5ab3ecca283e4821cb402ed6e791
refs/heads/master
2023-05-12T21:50:50.110809
2023-05-08T23:26:19
2023-05-09T22:12:45
312,452,819
1
0
NOASSERTION
2022-09-10T01:42:55
2020-11-13T02:33:15
C++
UTF-8
Python
false
false
18,591
py
import functools import itertools import logging import os import random import types import weakref from typing import Dict, Optional, Set import torch import torch._logging from torch._guards import tracing from torch._utils_internal import signpost_event from torch.fx.experimental.symbolic_shapes import ( Const...
[ "pytorchmergebot@users.noreply.github.com" ]
pytorchmergebot@users.noreply.github.com
fba4dd53132c4fbd8b2fccfb4c3dafc9f1516bc5
0386591b51fdbf5759faef6afb8729b64a3f1589
/qgisserver/migrations/0017_servicemetadata.py
e1ec476316f8ebcd373fbe5e42c84ab3b9204c44
[ "BSD-3-Clause" ]
permissive
giscube/giscube-admin
1e155402e094eb4db1f7ca260a8d1402e27a31df
4ce285a6301f59a8e48ecf78d58ef83c3827b5e0
refs/heads/main
2023-07-11T17:23:56.531443
2023-02-06T15:12:31
2023-02-06T15:12:31
94,087,469
7
1
BSD-3-Clause
2023-07-07T13:22:09
2017-06-12T11:12:56
Python
UTF-8
Python
false
false
5,511
py
# Generated by Django 2.2.11 on 2020-05-06 04:58 from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): dependencies = [ ('giscube', '0016_datasetmetadata'), ('qgisserver', '0016_service_legend'), ] operations = [ migrati...
[ "abusquets@gmail.com" ]
abusquets@gmail.com
1d4f0068e28496e63ddc5e766c7288fe77d385e8
da03eb12f10b03ba44056cdb364fa899756b545e
/admin/modelos/archivos_struct.py
85cfb84a403471cd7773a8aafe834eca4bf56337
[ "Apache-2.0" ]
permissive
ZerpaTechnology/coming-soon
5800c4e4f4a5045b99f1743dc5f99c1b72fe8bbd
b4682d6ca740afd7f79e4de650d9a327a7f15331
refs/heads/master
2021-05-10T12:31:18.709911
2018-02-26T05:17:28
2018-02-26T05:17:28
118,444,156
0
0
null
null
null
null
UTF-8
Python
false
false
4,055
py
db=DB() db('Archivos').campo('Nombre',db.str,False,True,False,False,0,-1,None,None) db('Archivos').campo('Contenido',db.list,False,True,False,False,0,-1,None,None) db('Archivos').campo('args',db.dict,False,True,False,False,0,-1,None,None) db('Archivos').campo('Fecha',db.str,False,True,False,False,0,-1,None,'%d/%m/%Y %H...
[ "jesus26abraham1996@gmail.com" ]
jesus26abraham1996@gmail.com
4305a78a71ad47ae984d4d566913ad9b7caf9f6f
6336828aeab3ea2ba3e1cf9452a8a3f3a084b327
/django_react_users_tutorial/virtual-env/bin/pip3
90eaf20b91fc5bd44e053571f6f42364ee896361
[]
no_license
kalereshma96/DjangoNewRepository
85f2eaed6b689be273af48d328c0a388244bbe2b
37fd232c2ac91eb6940300f20118f93d17926f9a
refs/heads/master
2020-04-12T18:12:15.698279
2019-01-21T13:46:37
2019-01-21T13:46:37
162,672,682
0
0
null
null
null
null
UTF-8
Python
false
false
449
#!/home/admin1/PycharmProjects/mynewpythonproject/django_react_users_tutorial/virtual-env/bin/python # EASY-INSTALL-ENTRY-SCRIPT: 'pip==10.0.1','console_scripts','pip3' __requires__ = 'pip==10.0.1' import re import sys from pkg_resources import load_entry_point if __name__ == '__main__': sys.argv[0] = re.sub(r'(-s...
[ "kalereshma96@gmail.com" ]
kalereshma96@gmail.com
ffcf2b18e3380c3824334a82b20ab916324a1565
b68d4e7826c29a22b002ff9c10583faeb7a10455
/pikry-3.4.1/bin/pilfont.py
bd6e47c8c714d7f812e439293df8a80bde33f003
[]
no_license
mikanyman/.pyenv_versions-legacy
ec392821290bd38873b25824c4261b15dc1a5067
5a42c7c21e800610f4f5f322d73d1dbd62a081b9
refs/heads/master
2022-10-13T10:22:13.956161
2017-01-31T20:10:04
2017-01-31T20:10:04
80,555,789
0
1
null
2022-09-30T13:39:01
2017-01-31T19:49:56
Python
UTF-8
Python
false
false
1,059
py
#!/home/mnyman/.pyenv/versions/pikry-3.4.1/bin/python3.4 # # The Python Imaging Library # $Id$ # # PIL raster font compiler # # history: # 1997-08-25 fl created # 2002-03-10 fl use "from PIL import" # from __future__ import print_function VERSION = "0.4" import glob, sys # drivers from PIL import BdfFontFile fr...
[ "mika.nyman@synapse-computing.com" ]
mika.nyman@synapse-computing.com
57e4364c25f9e384555ccf48e754377b18f561ec
00c6ded41b84008489a126a36657a8dc773626a5
/.history/Sizing_Method/ConstrainsAnalysis/ConstrainsAnlysisPDP1P2_20210712110602.PY
4dabb5e1945b8e2f10dfb8d6f544bc8cb7def6d0
[]
no_license
12libao/DEA
85f5f4274edf72c7f030a356bae9c499e3afc2ed
1c6f8109bbc18c4451a50eacad9b4dedd29682bd
refs/heads/master
2023-06-17T02:10:40.184423
2021-07-16T19:05:18
2021-07-16T19:05:18
346,111,158
0
0
null
null
null
null
UTF-8
Python
false
false
19,980
py
# author: Bao Li # # Georgia Institute of Technology # import Sizing_Method.ConstrainsAnalysis.ConstrainsAnalysis as ca import Sizing_Method.ConstrainsAnalysis.ConstrainsAnalysisPD as ca_pd import Sizing_Method.Aerodynamics.Aerodynamics as ad import Sizing_Method.Aerodynamics.ThrustLapse as thrust_lapse import Sizing_...
[ "libao@gatech.edu" ]
libao@gatech.edu
09983338f8ba20d57cdacb3dc04283b40d2e990d
b7e924cff3940a94014f7ef83f830f31c61b1ce1
/Assignments/Data Types and Variables/Exercise/02. Chars to String.py
b2bd57bd44cd86db29a9e3cd2173df6d8be41682
[ "MIT" ]
permissive
KaloyankerR/python-fundamentals-repository
a1406ca021819ca32390700380646f1107bf078e
b8e69523ea7e6aa352e8398f0202e283374a0f7c
refs/heads/master
2023-04-10T05:22:43.907759
2021-04-20T20:45:54
2021-04-20T20:45:54
289,025,722
0
0
null
null
null
null
UTF-8
Python
false
false
97
py
string = '' for char in range(3): character = input() string += character print(string)
[ "kaloyankulov2003kk@gmail.com" ]
kaloyankulov2003kk@gmail.com
ad695d4f233f07e51d0efd694542281456a00b3b
32eeb97dff5b1bf18cf5be2926b70bb322e5c1bd
/benchmark/avare/testcase/firstcases/testcase4_004.py
6daa996c2f9b7ca467ad807302e535ffdfc8de97
[]
no_license
Prefest2018/Prefest
c374d0441d714fb90fca40226fe2875b41cf37fc
ac236987512889e822ea6686c5d2e5b66b295648
refs/heads/master
2021-12-09T19:36:24.554864
2021-12-06T12:46:14
2021-12-06T12:46:14
173,225,161
5
0
null
null
null
null
UTF-8
Python
false
false
9,862
py
#coding=utf-8 import os import subprocess import time import traceback from appium import webdriver from appium.webdriver.common.touch_action import TouchAction from selenium.common.exceptions import NoSuchElementException, WebDriverException desired_caps = { 'platformName' : 'Android', 'deviceName' : 'Android Emulat...
[ "prefest2018@gmail.com" ]
prefest2018@gmail.com
4782ed428274689a290b12241878031341eba26d
52b5773617a1b972a905de4d692540d26ff74926
/.history/minCost_20200826171103.py
dfc9066a4786aa0d420bc1121c66f4347f61d3bd
[]
no_license
MaryanneNjeri/pythonModules
56f54bf098ae58ea069bf33f11ae94fa8eedcabc
f4e56b1e4dda2349267af634a46f6b9df6686020
refs/heads/master
2022-12-16T02:59:19.896129
2020-09-11T12:05:22
2020-09-11T12:05:22
null
0
0
null
null
null
null
UTF-8
Python
false
false
816
py
def minCost(days,costs): # brute force approach # find if numbers are consecutive # if they are past 7 then means we do a 30 day pass # once they stop being consecutive means to opt for something different # like [1,4,6,7,8,20] ways = [0] * days[len(days)-1] newDays = set(days) ...
[ "mary.jereh@gmail.com" ]
mary.jereh@gmail.com
69399a49153db50e70168d25d6dff65962822c66
d3efc82dfa61fb82e47c82d52c838b38b076084c
/Autocase_Result/KCB_YCHF/KCB_YCHF_MM/OMS/YCHF_KCBYCHF_OMS_099.py
0aa0a7ef5c462c08e02381b15485dddec0029a36
[]
no_license
nantongzyg/xtp_test
58ce9f328f62a3ea5904e6ed907a169ef2df9258
ca9ab5cee03d7a2f457a95fb0f4762013caa5f9f
refs/heads/master
2022-11-30T08:57:45.345460
2020-07-30T01:43:30
2020-07-30T01:43:30
280,388,441
0
0
null
null
null
null
UTF-8
Python
false
false
3,485
py
#!/usr/bin/python # -*- encoding: utf-8 -*- import sys sys.path.append("/home/yhl2/workspace/xtp_test//xtp/api") from xtp_test_case import * sys.path.append("/home/yhl2/workspace/xtp_test//service") from ServiceConfig import * from ARmainservice import * from QueryStkPriceQty import * from log import * sys.path.append...
[ "418033945@qq.com" ]
418033945@qq.com
a5bc5ff0db7914cddcbf2343968e56b7a15e5726
e6445a08328f35da144e40d995fde37111c33f59
/docs/04_队列/array_queue.py
4b45b94a363a88d22b5b5b79116c7b1ad97dc8cf
[ "MIT" ]
permissive
Mark24Code/python_data_structures_and_algorithms
6f069eed04e8c44bc4f04845755a1b598606d4ad
3469a79c34b6c08ae52797c3974b49fbfa8cca51
refs/heads/master
2023-03-15T22:54:02.786294
2022-06-13T01:53:41
2022-06-13T01:53:41
586,735,464
1
0
MIT
2023-01-09T05:12:16
2023-01-09T05:12:16
null
UTF-8
Python
false
false
1,688
py
# -*- coding: utf-8 -*- # NOTE: 从 array_and_list 第一章拷贝的代码 class Array(object): def __init__(self, size=32): self._size = size self._items = [None] * size def __getitem__(self, index): return self._items[index] def __setitem__(self, index, value): self._items[index] = val...
[ "291374108@qq.com" ]
291374108@qq.com
2c5181d620658d03ac9d21ae8318395a7c20f37e
e2ac8f82d611955b311226a278328718628ca667
/api/api_using_viewset/urls.py
258e7d41b4126e7a5dbaecaf5dc6b6528c99b87c
[]
no_license
ShakilAhmmed/apis
86a6d0ded03724ca1b1f4912026dac1b42f3d4ea
1f8309d08c288b2412f5c85c4297fe3cc9289f1b
refs/heads/master
2020-05-22T18:26:13.256094
2019-05-13T18:19:02
2019-05-13T18:19:02
186,471,211
1
0
null
null
null
null
UTF-8
Python
false
false
249
py
from django.urls import path, include from rest_framework import routers from .views import StudentViewSet router = routers.DefaultRouter() router.register('api_using_viewset', StudentViewSet) urlpatterns = [ path('', include(router.urls)) ]
[ "shakilfci461@gmail.com" ]
shakilfci461@gmail.com
f0ac079eb68e8fbe90313d1152398a2a07f928fc
cedab14839cfc276f028436ba79d103a8aff0d5b
/Philippines/Subject5_AP/E1_AP_Landsat/4_Eval.py
ed2439d4199b7f752ef9ee7820fbce6c2f2bada2
[]
no_license
wmgeolab/schoolCNN
aa686a4103695c1e10f5afa68ec2919761d33c15
1c73ec90732ec565ce552b27e4b2108a8ee916da
refs/heads/master
2021-01-09T03:25:44.895023
2020-02-21T22:52:41
2020-02-21T22:52:41
242,230,029
0
1
null
null
null
null
UTF-8
Python
false
false
3,111
py
from __future__ import print_function, division from torchvision import datasets, models, transforms from imgaug import parameters as iap from imgaug import augmenters as iaa from torch.optim import lr_scheduler from torch.autograd import Variable from torchsummary import summary import matplotlib.pyplot as plt import...
[ "hmbaier@email.wm.edu" ]
hmbaier@email.wm.edu
734a6e61332e4f46f8990d6102e2d09d754cc202
163bbb4e0920dedd5941e3edfb2d8706ba75627d
/Code/CodeRecords/2787/60617/264026.py
6fc9957c7ad27cbe8e5b15d744283c7712053524
[]
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
405
py
def construct_sequence(): length=int(input()) sequence=list(map(int, input().split(" "))) upCounts=0 downCounts=0 for i in range(0, len(sequence)): upCounts+=abs((length-len(sequence)+(i+1))-sequence[i]) for i in range(0, len(sequence)): downCounts+=abs((length-i)-sequence[i]) ...
[ "1069583789@qq.com" ]
1069583789@qq.com
7bae3b372c02e98b1ec84432aad1e72aad131396
885a722e3e5814ae4942ac5e8cf8d0091e734b4c
/LEETCODE/10. Regular Expression Matching - Python/CodingTest.py
4f1f9a0e534fa0242d2adb715e7c95a102ea3fc3
[]
no_license
ledpear/algorithm
52f3ea25842eee20b3bbd48e51825b9df4942e03
4922c6fe5ca0b98a90dee218b756006e7ba05d82
refs/heads/master
2023-06-09T17:47:45.674244
2023-06-03T13:47:11
2023-06-03T13:47:11
133,370,193
0
0
null
null
null
null
UTF-8
Python
false
false
470
py
class Solution: def isMatch(self, s: str, p: str) -> bool: p_list = list(p).reverse() s_list = list(s).reverse() bResult = True s_pos = 0 for i in p_list : if i == '.' : s_pos += 1 elif i == '*' : p_list[] el...
[ "tjsrb75@gmail.com" ]
tjsrb75@gmail.com
45fc525118252cb564265e9f4d2b9ec6915127ab
3c000380cbb7e8deb6abf9c6f3e29e8e89784830
/venv/Lib/site-packages/cobra/modelimpl/vns/rsdfcttocat.py
98a3e5206fc0f1f91d142b45f831058a0ac006e4
[]
no_license
bkhoward/aciDOM
91b0406f00da7aac413a81c8db2129b4bfc5497b
f2674456ecb19cf7299ef0c5a0887560b8b315d0
refs/heads/master
2023-03-27T23:37:02.836904
2021-03-26T22:07:54
2021-03-26T22:07:54
351,855,399
0
0
null
null
null
null
UTF-8
Python
false
false
8,562
py
# coding=UTF-8 # ********************************************************************** # Copyright (c) 2013-2020 Cisco Systems, Inc. All rights reserved # written by zen warriors, do not modify! # ********************************************************************** from cobra.mit.meta import ClassMeta from cobra.m...
[ "bkhoward@live.com" ]
bkhoward@live.com
7ad54719c3793799d0c3f52d695fe1971882d080
26243715cd618b07e95ea2a12f04aa750cb359af
/Help_Qiu/plotData.py
4921f9a83a94ab6545b54d69f0f250cb6449b8ec
[]
no_license
43reyerhrstj/DataAnalysis_water
5fdf3e86249d8f47e54dc174edf9a55854e23b49
0be734284587b86857044dafa18af62268f64979
refs/heads/master
2022-04-05T22:52:07.147298
2018-05-22T14:00:03
2018-05-22T14:00:03
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,192
py
from datetime import datetime import pandas as pd import numpy as np import matplotlib.pyplot as plt import matplotlib.dates as mdates #保证正常显示汉字 plt.rcParams['font.sans-serif']=['SimHei'] plt.rcParams['axes.unicode_minus']=False path='orgData.xls' df=pd.read_excel(path) dates=df['采集时间'] #获得数据集列 ...
[ "qzq2514@outlook.com" ]
qzq2514@outlook.com
28772729bf1388f4a35384b14fe9d11f071abb4c
de626f1892619968efbaa22ea26079ee2269e799
/funciones/revisioncampo/AsignacionPadron.py
99f5879390b51578e088045def96c8837ddfb659
[]
no_license
gerardoros/CartograficoQgisPlugin
7e8724cec0469d0494090b3557e9d4e967935121
844fa1052f435478e2e946099d7dbd6b1b97c311
refs/heads/master
2023-04-04T08:06:30.967894
2021-04-07T14:15:37
2021-04-07T14:15:37
null
0
0
null
null
null
null
UTF-8
Python
false
false
31,529
py
# -*- coding: utf-8 -*- """ /*************************************************************************** AsignacionPadron A QGIS plugin AsignacionPadron Generated by Plugin Builder: http://g-sherman.github.io/Qgis-Plugin-Builder/ ------------------- ...
[ "roslop_1841@hotmail.com" ]
roslop_1841@hotmail.com
cc630d94e4aedb407b5660de8a965fe98411f2dc
65ae896aa7a9b9cae6b90be8f5900ec2940ff65b
/03. Characters in Range.py
25b6b3841475fd390e67849899d1ca8e44e51470
[]
no_license
antondelchev/Functions---Exercise
dd1ea014e4e177618c3394ce7052a082dc1ab462
6445f767d092c06e7b1c8921ee030b5a0a71e832
refs/heads/main
2023-04-08T22:48:33.515213
2021-04-21T12:06:23
2021-04-21T12:06:23
360,154,989
0
0
null
null
null
null
UTF-8
Python
false
false
296
py
def chars_in_range(char1, char2): all_char = "" for i in range(ord(char1) + 1, ord(char2)): all_char += chr(i) all_char += " " return all_char first_character = input() second_character = input() print(chars_in_range(first_character, second_character))
[ "noreply@github.com" ]
antondelchev.noreply@github.com
8192e6bcce172127eb1ea134d03f012f502a1dd6
65f8211fc33eb5f9ac1ff0d68902226ca9a58692
/graph_algorithms/bridge_matrix.py
55f4e2bc177df53169cbfcff9d38915a46080d96
[]
no_license
szarbartosz/asd-python
46869f5699a1ef661e2df02e523af0adcddbbbda
0130cc3dcbba6ad62e1516c98b5cbab85848d619
refs/heads/master
2022-12-13T19:02:53.699381
2020-09-11T13:29:31
2020-09-11T13:29:31
242,975,318
0
0
null
null
null
null
UTF-8
Python
false
false
920
py
def find_bridge_matrix(G): V = len(G) visited = [False] * V parent = [None] * V visit_time = [float('inf')] * V low = [float('inf')] * V time = 1 def visit(u): visited[u] = True nonlocal time visit_time[u] = time low[u] = time time += 1 for v...
[ "szarbartosz@gmail.com" ]
szarbartosz@gmail.com
586d1e32398855039ebd98ed2777d3e23edc8872
c8b18f0530f290fcd451b2a34d8e64d62477c3e5
/codes/Tools/02_Pillow-string_picture/02_add_filter.py
48869d863c1449f4ae23959df938a9076fd99c05
[]
no_license
YorkFish/hello-world
a8e2e019e51a814bae4dbb134abce90fd02317d4
31f8b807c57bd942fc805466ad9d5ff9b9614b55
refs/heads/master
2021-10-23T00:41:09.867934
2021-10-12T01:25:20
2021-10-12T01:25:20
165,218,921
0
0
null
2019-01-11T11:19:18
2019-01-11T09:42:33
null
UTF-8
Python
false
false
182
py
# coding:utf-8 # 此程序功能:加滤镜 from PIL import Image, ImageFilter im1 = Image.open("fish.jpg") im2 = im1.filter(ImageFilter.BLUR) im2.save("fish_blur.jpg", "jpeg")
[ "18258788231@163.com" ]
18258788231@163.com
01c1848a705ab7ce9f6c85d9acac02035d7114c7
4e5141121d8b4015db233cbc71946ec3cfbe5fe6
/samples/basic/codec/models/openconfig/openconfig-lldp/cd-encode-oc-lldp-24-ydk.py
ad1ae2444ce86c3e012ba744c874c3714dcb2793
[ "Apache-2.0" ]
permissive
itbj/ydk-py-samples
898c6c9bad9d6f8072892300d42633d82ec38368
c5834091da0ebedbb11af7bbf780f268aad7040b
refs/heads/master
2022-11-20T17:44:58.844428
2020-07-25T06:18:02
2020-07-25T06:18:02
282,382,442
1
0
null
2020-07-25T06:04:51
2020-07-25T06:04:50
null
UTF-8
Python
false
false
2,400
py
#!/usr/bin/env python # # Copyright 2016 Cisco Systems, Inc. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicab...
[ "deom119@gmail.com" ]
deom119@gmail.com
1bdaa614a033c2f7efd3ffb2527bb415bcc34af0
30754a148b79903d6e49399f1f270c79934ce389
/tests/fuzzer/test_list_directory.py
725dbe57113993c9a112d67576d1dceac33558d4
[ "BSD-3-Clause" ]
permissive
syedkhalid/fuzzinator
720ffc552c595b50de46e4e4e51f3a01cdc9aa77
f90b58605de563e77b85ed0d54d2beb29efc7d14
refs/heads/master
2021-04-09T17:31:06.625840
2018-03-12T14:37:18
2018-03-12T15:21:27
125,814,277
1
0
BSD-3-Clause
2018-03-19T06:53:29
2018-03-19T06:53:29
null
UTF-8
Python
false
false
1,279
py
# Copyright (c) 2016-2017 Renata Hodovan, Akos Kiss. # # Licensed under the BSD 3-Clause License # <LICENSE.rst or https://opensource.org/licenses/BSD-3-Clause>. # This file may not be copied, modified, or distributed except # according to those terms. import pytest import fuzzinator from os.path import join from c...
[ "reni@inf.u-szeged.hu" ]
reni@inf.u-szeged.hu
d1cf4cdbc0a102d31030cbcf3d9e0f6eb536d7a3
4bb66e64121d3f4eff4ca0809929983a5c354e3f
/backend/platform_3278/urls.py
fec873c25f27088090a61652926ddb6a711430f2
[]
no_license
crowdbotics-apps/platform-3278
1f1697e33d692550a617466f240d0398b7ab8020
f78b936584b8db09ab6eeb514335e8605ff0dfdb
refs/heads/master
2020-05-22T17:33:42.090603
2019-05-13T16:04:40
2019-05-13T16:04:40
186,452,937
0
0
null
null
null
null
UTF-8
Python
false
false
1,050
py
"""platform_3278 URL Configuration The `urlpatterns` list routes URLs to views. For more information please see: https://docs.djangoproject.com/en/1.11/topics/http/urls/ Examples: Function views 1. Add an import: from my_app import views 2. Add a URL to urlpatterns: url(r'^$', views.home, name='home') Cl...
[ "team@crowdbotics.com" ]
team@crowdbotics.com
2b75945fc4280780dbf75164ac96a04676e50cfa
9b54e3d58447e917a238b85891020c392c4ac601
/acmicpc/9506/9506.py
1c348d45c3fb17732c03fd82af2a1c1cdf2c030f
[ "MIT" ]
permissive
love-adela/algorithm-ps
ea0ebcd641a4c309348b389b8618daa83973f4b2
c92d105d8ad344def001160367115ecf99d81c0d
refs/heads/master
2023-05-11T03:37:11.750692
2023-04-30T17:31:30
2023-04-30T17:31:30
174,651,672
0
0
null
null
null
null
UTF-8
Python
false
false
415
py
def get_divisor(k): divisors = [] for i in range(1, k): if k % i == 0: divisors.append(i) return divisors while True: n = int(input()) if n == -1: break divisors = get_divisor(n) if n == sum(divisors): print(f'{n}', end=' = ') print(' + '.join...
[ "love.adelar@gmail.com" ]
love.adelar@gmail.com
1215004b25792a229f83ffa57541e9cf3c11ce07
b1c412822f856bb2dddd9ffac00b3aeee7794961
/lab1/resnet.py
20ca9ef1d201882595ea7fe8e71e39c724c43afb
[]
no_license
gavin0430/Deep-Learning
61db627d3ff6239e6219a31b0a647cd4fb86df07
ed14037eb83adc4a21b11aed14d3d93fb7045e02
refs/heads/master
2020-03-07T14:41:29.127217
2018-08-11T15:35:03
2018-08-11T15:35:03
127,532,901
0
0
null
null
null
null
UTF-8
Python
false
false
2,591
py
#!/usr/bin/env python3 # -*- coding: utf-8 -*- """ Created on Fri Mar 30 20:48:37 2018 @author: gavin """ import torch import torch.nn as nn import torch.nn.functional as F from torch.autograd import Variable class BasicBlock(nn.Module): expansion = 1 def __init__(self, in_planes, planes, stride=1): ...
[ "mz@email.com" ]
mz@email.com
1533273c46723599a3a8ff52b8f6694d34df94c6
b007d88e6726452ffa8fe80300614f311ae5b318
/array/text_dollar_coding.py
6c9bd8b5f829472c4ab277b35f5c3d0ee5056863
[]
no_license
jinurajan/Datastructures
ec332b12b8395f42cb769e771da3642f25ba7e7f
647fea5d2c8122468a1c018c6829b1c08717d86a
refs/heads/master
2023-07-06T14:42:55.168795
2023-07-04T13:23:22
2023-07-04T13:23:22
76,943,162
0
0
null
null
null
null
UTF-8
Python
false
false
2,342
py
DIGITS_TEXT = {1:'One', 2: 'Two', 3:'Three', 4: 'Four', 5: 'Five', 6: 'Six', 7: 'Seven', 8: 'Eight', 9: 'Nine'} TENS_TEXT = {10: 'Ten', 20: 'Twenty', 30: 'Thirty', 40: 'Forty', 50: 'Fifty', 60: 'Sixty', 70: 'Seventy', 80: 'Eighty', 90: 'Ninety'} TEENS_TEXT = {11: 'Eleven', 12: 'Twelve', 13: 'Thirteen', 14: ...
[ "jinu.p.r@gmail.com" ]
jinu.p.r@gmail.com
a47735081eff681ee355b014db90218c4a1692f6
1b6dff9c7e9ee5eac407a9fd97391536742e88fc
/servers/Radiation/archive_scrapper/archive_scrapper/spiders/prediccs_archive.py
89d2054ad3b80658bccbe8dc6d7536cc37360c77
[ "BSD-2-Clause" ]
permissive
mars-planet/mars_city
00793d486361c130347d5fe513927368b9807b70
29df75e9037eec50672fd33295fc70d6f6e4b325
refs/heads/master
2020-04-12T06:46:16.073407
2018-08-12T13:30:57
2018-08-12T13:30:57
63,711,405
25
50
NOASSERTION
2023-07-04T15:43:23
2016-07-19T16:43:52
C++
UTF-8
Python
false
false
1,816
py
import scrapy class PrediccsArchiveScrapper(scrapy.Spider): flag = 0 count = 0 string = 'bryn/31daysMars.plot' name = "prediccs" links = [] handle_httpstatus_list = [404] def start_requests(self): url = 'http://prediccs.sr.unh.edu/data/goesPlots/archive/' yield scrapy.Req...
[ "nivedn3@gmail.com" ]
nivedn3@gmail.com
8765f592786aa47d3f4c5bc20ae6abd6057c68dc
b6a48f9a6158bcb7e6fc75e5eacaef19250fc4c5
/cosmos/ingestion/ingest/process/detection/src/utils/split_train_val_test.py
469996ade467d8c8f626e1ddad9407a3f23584a5
[ "LicenseRef-scancode-warranty-disclaimer", "Apache-2.0" ]
permissive
UW-COSMOS/Cosmos
dcde3be6534e411a20fcf1ff36e422fc8af2ac8a
5ed4a4c149e03773690668437d2f93aa532453c6
refs/heads/master
2023-09-01T18:03:20.525760
2023-08-31T13:56:21
2023-08-31T13:56:21
159,849,583
39
14
null
2023-09-13T14:39:45
2018-11-30T16:24:59
Python
UTF-8
Python
false
false
1,164
py
#!/usr/bin/env python3 """ """ import os from random import shuffle if __name__ == '__main__': files = os.listdir('data/images') try: files.remove('README.md') except ValueError: pass files = [f[:-4] for f in files] shuffle(files) # Split is 70/10/20 filelen = len(files) ...
[ "ankur.goswami12@gmail.com" ]
ankur.goswami12@gmail.com
40da452a78a197b37a9af20397a0cc9dd41ab09a
af39e4ee0383b1ecb16511aa0df6404a0936b475
/Lib/site-packages/crispy_forms/templates/bootstrap4/layout/checkboxselectmultiple_inline.html.py
abdb4d0b0af7c14dec0779ae8a0edd79268196a1
[]
no_license
SheraramPrajapat1998/ecommerce
009f58023086e6a182b8b0a9385a37f4a82c59c5
4ecbd2edd53e1b79a81760fc95ea2c2a97f205d7
refs/heads/main
2023-01-07T19:51:35.242839
2020-11-04T03:32:36
2020-11-04T03:32:36
308,618,518
1
1
null
null
null
null
UTF-8
Python
false
false
555
py
BB BBBBBBBBBBBBBBB BBBB XXXX XXXXXXXXX XXXXXXXXXXXXXXXXXBB BBBBBBBBBBBBBBBBB BB BBBBBBBBBB XXXBBBBBBB BBBBBBBBBBBBB BBBBBBB BBBBBBBBBBBBBBBB BBB BBBBBBBBBBBB XXXXXXXXXXBBBBBBB BBBBBBBBBBBBBBBBB BBBBBXX BB BBBBBBBBBBB XXXXXX XXXXXX XXXXXXXBB BBB BBBBBBBBBBBB XXXXXXXXXXXXXXBBBBBBB BBBBBBBBB...
[ "sheraramprajapat1998@gmail.com" ]
sheraramprajapat1998@gmail.com
db45bd54e042a773500a1ed7c1fc6e739e033d33
6f3cf8c3af7e194982ab07bbd15217d799a53381
/Intermediate_Python/dictionaryManipulation2.py
4ff5621fd47b2a908ac56faa6b282c49cde1d3c0
[]
no_license
AnjaliSharma1234/Datacamp---Python-Track
2ec9c61dbcda69f33bdf097d585b6e838a34f2e1
2e7fbaa6a9c2507e94689612dfa9650c5810f3cc
refs/heads/master
2020-12-20T18:32:28.459549
2020-03-05T07:23:59
2020-03-05T07:23:59
236,170,988
2
0
null
null
null
null
UTF-8
Python
false
false
319
py
# Definition of dictionary europe = {'spain':'madrid', 'france':'paris', 'germany':'bonn', 'norway':'oslo', 'italy':'rome', 'poland':'warsaw', 'australia':'vienna' } # Update capital of germany europe['germany'] = 'berlin' # Remove australia del(europe['australia']) # Print europe print(europe)
[ "noreply@github.com" ]
AnjaliSharma1234.noreply@github.com
089a33ea10a5cc90572d949e6dba551a403df523
98cb2f2afbe57bdda9d6b8b1dd8cf624987d91bc
/torchdp/utils/tests/module_inspection_test.py
3906d7f03090ec40c3963e92691fd128175284ba
[ "Apache-2.0" ]
permissive
jyhong836/pytorch-dp
0e7613b01f09ceb2c3787284372f8e887bf0deb3
e050b98d630d4db50cacc4fff82575daf345f012
refs/heads/master
2023-01-03T15:08:54.976598
2020-08-18T01:26:07
2020-08-18T01:27:02
260,974,801
0
0
Apache-2.0
2020-05-03T16:40:11
2020-05-03T16:40:11
null
UTF-8
Python
false
false
4,572
py
#!/usr/bin/env python3 # Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved import unittest import torch.nn as nn from torchdp.utils import module_inspection as mi from torchvision import models class utils_ModelInspector_test(unittest.TestCase): def setUp(self): def pred_supported(mo...
[ "facebook-github-bot@users.noreply.github.com" ]
facebook-github-bot@users.noreply.github.com
ec2c912e7c7005b94043d783105dc593306f7d9e
7bededcada9271d92f34da6dae7088f3faf61c02
/pypureclient/flashblade/FB_2_2/models/directory_service_role.py
ecaf432596bb712e118a0b77f274050314c70b13
[ "BSD-2-Clause" ]
permissive
PureStorage-OpenConnect/py-pure-client
a5348c6a153f8c809d6e3cf734d95d6946c5f659
7e3c3ec1d639fb004627e94d3d63a6fdc141ae1e
refs/heads/master
2023-09-04T10:59:03.009972
2023-08-25T07:40:41
2023-08-25T07:40:41
160,391,444
18
29
BSD-2-Clause
2023-09-08T09:08:30
2018-12-04T17:02:51
Python
UTF-8
Python
false
false
3,947
py
# coding: utf-8 """ FlashBlade REST API A lightweight client for FlashBlade REST API 2.2, developed by Pure Storage, Inc. (http://www.purestorage.com/). OpenAPI spec version: 2.2 Generated by: https://github.com/swagger-api/swagger-codegen.git """ import pprint import re import six import typ...
[ "msholes@purestorage.com" ]
msholes@purestorage.com
e89f0990de02f0eb310ce96228fe222f38c31b01
a0784b1a66a6c1a89ee8a75e32cd48d2c168931b
/setup.py
40566faaa85ccd97f99feba5f88e28650bf18897
[ "MIT" ]
permissive
cltrudeau/purdy
ebe5d8b556dadc0a4eb04018826c066b83617f71
4ff2d5b33771266d46260ee9ba6503bb4895ab2f
refs/heads/master
2023-07-08T08:23:08.409053
2023-06-29T21:37:29
2023-06-29T21:37:29
210,162,520
10
3
MIT
2021-03-10T21:55:26
2019-09-22T14:40:17
Python
UTF-8
Python
false
false
1,608
py
import os, sys, re from purdy import __version__ readme = os.path.join(os.path.dirname(__file__), 'README.rst') long_description = open(readme).read() SETUP_ARGS = dict( name='purdy', version=__version__, description=('Terminal based code snippet display tool '), long_description=long_description, ...
[ "ctrudeau@arsensa.com" ]
ctrudeau@arsensa.com
5bd2492ab863dfbedab466259b236c2258d8fbbc
dda618067f13657f1afd04c94200711c1920ea5f
/scoop/rogue/models/blocklist.py
94cccf5a3c7319106c15d5b4887e0aa255763a05
[]
no_license
artscoop/scoop
831c59fbde94d7d4587f4e004f3581d685083c48
8cef6f6e89c1990e2b25f83e54e0c3481d83b6d7
refs/heads/master
2020-06-17T20:09:13.722360
2017-07-12T01:25:20
2017-07-12T01:25:20
74,974,701
0
0
null
null
null
null
UTF-8
Python
false
false
7,857
py
# coding: utf-8 from annoying.fields import AutoOneToOneField from django.conf import settings from django.db import models from django.utils import timezone from django.utils.translation import ugettext_lazy as _ from django.utils.translation import pgettext_lazy from scoop.core.abstract.core.data import DataModel fro...
[ "steve.kossouho@gmail.com" ]
steve.kossouho@gmail.com
096989597b8019a9b59720595209300e145c456e
c269d7a329958d2806c34ab35f25b81eeb0b8723
/tests/__init__.py
307b697e4bf12555b8f40c2bcc95ff507eb5fcf5
[ "MIT" ]
permissive
MainRo/dooble
ecc71774ecf6a8b4b3d9c534384202ca9e0737de
7588ebd48d189eac5a7d49cf0bd4dca20df50539
refs/heads/master
2023-01-12T15:38:07.206541
2020-08-25T14:57:11
2020-08-25T14:57:11
170,035,675
7
2
MIT
2022-12-26T20:47:00
2019-02-10T22:40:16
Python
UTF-8
Python
false
false
120
py
# -*- coding: utf-8 -*- __author__ = """Romain Picard""" __email__ = 'romain.picard@oakbits.com' __version__ = '0.1.0'
[ "romain.picard@oakbits.com" ]
romain.picard@oakbits.com
b6bc63045d050bbbf0d2fb8f082e5bbf7c7d4687
ebd9c249d446d809abc9a0f3e4593f34922a1b93
/lintcode/823_input_stream.py
51b3d8039db3e05f53130546eef3a2a40a6ec09b
[]
no_license
jaychsu/algorithm
ac7a9dc7366f58c635a68bc46bf1640d2f5ff16d
91892fd64281d96b8a9d5c0d57b938c314ae71be
refs/heads/master
2023-05-11T00:40:39.237813
2022-09-14T07:43:12
2022-09-14T07:43:12
106,277,156
143
39
null
2022-09-14T07:43:13
2017-10-09T11:51:48
Python
UTF-8
Python
false
false
1,810
py
""" Merge Sort time: O(n) space: O(1) """ class Solution: def inputStream(self, a, b): """ :type a: str :type b: str :rtype: str, 'NO' or 'YES' """ RES = ('NO', 'YES') if a == b == '': return RES[1] BACK = '<' m, n = len(a), len(b...
[ "hi@jaych.su" ]
hi@jaych.su
f3c9db1941951eeea6159cc39ba7e755aeae4d03
e18a353582609732c795401f1a01bc762bd939f2
/top/python/get_mumubb.py
bdc0e23a32be777ced04b9beba3a374a9629f348
[]
no_license
s-farry/workspaces
06741807bb464bb0712d52108c2d1b7ae62b1353
0dcf3868dcbe110206ea88ff5c9e04a3b44b1ca1
refs/heads/master
2020-04-03T00:45:39.152227
2017-06-15T16:33:33
2017-06-15T16:33:33
64,213,815
0
0
null
null
null
null
UTF-8
Python
false
false
617
py
from ROOT import * from Jawa import * from PlotTools import * from Utils import Bunch f = TFile("/hepstore/sfarry/GridOutput/2520/A2MuMuJet.MD.2015.root") g = TFile("/hepstore/sfarry/GridOutput/2521/A2MuMuJet.MU.2015.root") t = f.Get("ZMuMu/DecayTree") u = g.Get("ZMuMu/DecayTree") selection = TCut("boson_jet_tag == 1...
[ "sfarry@hep.ph.liv.ac.uk" ]
sfarry@hep.ph.liv.ac.uk
b7e6835eb984e22224ba8954a80b3c2d30e12e9e
71c7683331a9037fda7254b3a7b1ffddd6a4c4c8
/Phys/Ks2MuMu/python/Ks2MuMu/Joban.py
4e506118ebbb17400c7d16486cac5815866d3a10
[]
no_license
pseyfert-cern-gitlab-backup/Urania
edc58ba4271089e55900f8bb4a5909e9e9c12d35
1b1c353ed5f1b45b3605990f60f49881b9785efd
refs/heads/master
2021-05-18T13:33:22.732970
2017-12-15T14:42:04
2017-12-15T14:42:04
251,259,622
0
1
null
null
null
null
UTF-8
Python
false
false
449
py
from ROOT import * from Urania import * AccessPackage("Bs2MuMu") from XTuple import * f = TFile("KsPiPi_MinBiasData_TriggerUnbiased_ntuple.root") t = f.Get("Kspipi") tup = XTuple("Joban",["evt/F", "AP_pt/F","AP_alpha/F", "time/F"]) i = 0 for entry in t: tup.fillItem("AP_pt",entry.AP_pt) tup.fillItem("AP_a...
[ "liblhcb@cern.ch" ]
liblhcb@cern.ch
5c4ab8fa79cd627c8aea4961761caaecb3b8ed30
af03eb82a29228837a8078f626a798a62121782a
/Python-3/basic_examples/strings/string_isalpha.py
7dfaa13d112b914f5d90e58017843b7a6a201af3
[ "MIT" ]
permissive
kartik4297/journaldev
d7d7c158ccd628164c821f62d4aa4937317940ee
f520fb89f3307f39d8419618ff691e0563ede13a
refs/heads/master
2020-04-09T14:33:21.305716
2018-12-04T07:39:52
2018-12-04T07:39:52
null
0
0
null
null
null
null
UTF-8
Python
false
false
120
py
s = 'Hello' print(s.isalpha()) s = '123' print(s.isalpha()) s = '' print(s.isalpha()) s = 'çå' print(s.isalpha())
[ "pankaj.0323@gmail.com" ]
pankaj.0323@gmail.com
506ea85ae8a5646591bb9ace63949654f6b5e4e6
d10dc6ee16ddcbf4cf6dc4ce43c332d6d375f2ee
/ccompras/apps/home/views.py
dd58c96127a153d4d49703261eaed95d68c2627a
[]
no_license
Alfredynho/DjCompras
993bec2195734af911e0355327c477aa8a49c9d6
d6829d2b5efe3ff871bab449d8e440908136d71e
refs/heads/master
2021-01-11T11:07:31.933034
2016-04-08T10:52:12
2016-04-08T10:52:12
55,133,066
0
0
null
null
null
null
UTF-8
Python
false
false
1,826
py
from django.shortcuts import render, render_to_response from django.template import RequestContext from ccompras.apps.ventas.models import producto from ccompras.apps.home.forms import ContactForm from django.core.mail import EmailMultiAlternatives # Create your views here. def index_view(request): return render_to_re...
[ "callizayagutierrezalfredo@gmail.com" ]
callizayagutierrezalfredo@gmail.com
2a44f2e6a644cd7d7898e30231a59efd400ac4ea
9743d5fd24822f79c156ad112229e25adb9ed6f6
/xai/brain/wordbase/nouns/_ploughmen.py
0bce07a61a1b6df4625d86e50109e91c254c23c2
[ "MIT" ]
permissive
cash2one/xai
de7adad1758f50dd6786bf0111e71a903f039b64
e76f12c9f4dcf3ac1c7c08b0cc8844c0b0a104b6
refs/heads/master
2021-01-19T12:33:54.964379
2017-01-28T02:00:50
2017-01-28T02:00:50
null
0
0
null
null
null
null
UTF-8
Python
false
false
247
py
from xai.brain.wordbase.nouns._plowman import _PLOWMAN #calss header class _PLOUGHMEN(_PLOWMAN, ): def __init__(self,): _PLOWMAN.__init__(self) self.name = "PLOUGHMEN" self.specie = 'nouns' self.basic = "plowman" self.jsondata = {}
[ "xingwang1991@gmail.com" ]
xingwang1991@gmail.com
6240cebc86ce6d41872d24623533177bf895670c
694c187c8a00bee8c670c1690170099bad9b16b3
/templeland.py
e7334bf535a376a68ca8f56696553e012eb666e5
[]
no_license
ajayvenkat10/Competitive
301f220b6d296f7e34328f192c43c4d7ef208cb1
14f2ecebe10eb19f72cc412dd0c414b3b1de9b4d
refs/heads/master
2022-11-20T14:31:33.590099
2020-07-23T15:39:14
2020-07-23T15:39:14
281,599,951
0
0
null
null
null
null
UTF-8
Python
false
false
988
py
t = int(input()) for i in range(t): N = int(input()) ans=True temple_strips_list = [] temple_strips = input() temple_strips = temple_strips.split() for i in range(N): temple_strips_list.append(int(temple_strips[i])) if(N%2==0 or temple_strips_list[0]!=1 or temple_strips_list[0]!=t...
[ "37923623+ajayvenkat10@users.noreply.github.com" ]
37923623+ajayvenkat10@users.noreply.github.com
9dbb193beff13a78430dc5d2e39b36ec0d0fd615
17cc8bffed3fadb413506f1545c455d7b9406ed6
/parts/zodiac/chameleon/tests/inputs/014-repeat-nested-similar.pt.py
1f56c51d70bb5c11f0867046182c37c6499c87e3
[]
no_license
stinett/zodiac
f7a4f788942930fa217e7e1c7d525b82a557258f
22b247719694b0f5aa5135b3cb68c1e84aaf7629
refs/heads/master
2020-05-21T01:14:59.949571
2014-01-13T15:53:47
2014-01-13T15:53:47
null
0
0
null
null
null
null
UTF-8
Python
false
false
111
py
/home/stine/myenv/zodiac/eggs/Chameleon-2.13_1-py2.7.egg/chameleon/tests/inputs/014-repeat-nested-similar.pt.py
[ "stine@funkydesktop.(none)" ]
stine@funkydesktop.(none)
0b0301d80d6a9bdbe6e753e89f1201d6161efb00
e53c13f2236960456a412af2c2617148a2c6153e
/ethnode/celeryapp.py
f43e1ee23bb92059029844b910fdaa445c838c73
[]
no_license
ethgis/ethnode
d57b9660174acb737f96aea8013717b1f1a00ea1
9fe6f3add95bb5c5fb6dc9d2135f3ec48547c981
refs/heads/master
2021-08-29T17:19:44.169638
2017-12-14T12:23:04
2017-12-14T12:23:04
109,628,317
0
0
null
null
null
null
UTF-8
Python
false
false
1,112
py
# -*- coding: utf-8 -*- ######################################################################### # # Copyright (C) 2017 OSGeo # # This program is free software: you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation, either version 3 ...
[ "ingenieroariel@gmail.com" ]
ingenieroariel@gmail.com
e39c1c212e8848b309a577602ba1e9f51e7615a1
60290cb3fdb4d4a97a38f921b7de2160c2af70de
/utest/editor/test_clipboard.py
415b75aad0c6487519b8702649a102f8308e8b8c
[ "Apache-2.0" ]
permissive
crylearner/RIDE3X
231431222dc679b38831bd75db5a81062327e91c
767f45b0c908f18ecc7473208def8dc7489f43b0
refs/heads/master
2021-01-19T12:22:59.553847
2017-08-23T15:11:17
2017-08-23T15:11:17
100,781,873
1
0
null
null
null
null
UTF-8
Python
false
false
1,001
py
import os import unittest from nose.tools import assert_equals # Needed to be able to create wx components from resources import PYAPP_REFERENCE as _ from robotide.context import IS_WINDOWS from robotide.editor.clipboard import _GridClipboard if not IS_WINDOWS: class TestGridClipBoard(unittest.TestC...
[ "sunshyran@gmail.com" ]
sunshyran@gmail.com
627bce2f20fb134fccac1dafa3531fcd824aa73e
de24f83a5e3768a2638ebcf13cbe717e75740168
/moodledata/vpl_data/330/usersdata/301/93575/submittedfiles/lista1.py
ab9a94ef91b97d13a029f17baed6ea875918b4b4
[]
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
291
py
# -*- coding: utf-8 -*- n=int(input('digite o valor de n: ')) a=[] soma1=0 soma2=0 c1=0 c2=0 for i in range (0,n,1): a.append(int(input('Digite o número: '))) for i in range (0,n,1): if a[i]%2==0: soma1+=a[i] print(soma1) else: soma2+=a[i] print(soma2)
[ "rafael.mota@ufca.edu.br" ]
rafael.mota@ufca.edu.br
e306d7ab0034c1a495ace1e6d3ffc29368c1c07b
0420ce2fc8799d5fbd6e96313e6716f5e2ef825b
/bagogold/fundo_investimento/urls.py
3ce146b0130e1143243e3427a8cc656404895e28
[]
no_license
nizbel/bag-of-gold
1da10acef4d73b8426ca3329b37a28c5f9587af4
a3fd89eb47d33d546bd91947f033d71218c8700f
refs/heads/master
2022-11-13T01:07:26.934813
2020-01-14T16:00:16
2020-01-14T16:00:16
275,689,573
0
0
null
null
null
null
UTF-8
Python
false
false
1,262
py
# -*- coding: utf-8 -*- from django.conf.urls import url import views urlpatterns = [ url(r'^detalhar-fundo/(?P<id_fundo>\d+)/$', views.detalhar_fundo_id, name='detalhar_fundo_id'), url(r'^detalhar-fundo/(?P<slug_fundo>[-\w]+)/$', views.detalhar_fundo, name='detalhar_fundo'), url(r'^editar-operacao/(?P<id_...
[ "kingbowserii@gmail.com" ]
kingbowserii@gmail.com
f356700d720093d7363d0e8af6602a0d4b53452c
8f26514c451e2398d5e3688c184ea74d1dad21b2
/month_02/teacher/day03/file_write.py
0715768cdacd3e3c0fcdcb38b8a2deee1c09b74e
[]
no_license
CircularWorld/Python_exercise
25e7aebe45b4d2ee4e3e3afded082c56483117de
96d4d9c5c626f418803f44584c5350b7ce514368
refs/heads/master
2022-11-21T07:29:39.054971
2020-07-20T10:12:24
2020-07-20T10:12:24
281,081,559
0
1
null
null
null
null
UTF-8
Python
false
false
512
py
""" 文件写操作示例 """ # 写方式打开 # f = open("file.txt","w") # f = open("file.txt","a") # 追加 # 读写方式打开,写入文本会从头开始往后覆盖内容 # f = open("file.txt","r+") f = open("file.txt",'w') # 写入操作了 n = f.write("Hello world\n") print("写入了 %d 个字节"%n) n = f.write("Hello Kitty\n") print("写入了 %d 个字节"%n) # 将列表中的内容分别写入到文件中 l = ["哈喽,死鬼\n","哎呀,干啥\n"]...
[ "jiayuhaowork@163.com" ]
jiayuhaowork@163.com
616478b663bd431079caa7f8d6a770e823eab73b
a7dc07cadaf735a66f459831cdc4c4d0dbbafcd7
/land_new_info.py
cbee34fc5949c5eb84d70cbef1230fe943ab79ba
[]
no_license
ymJung/study
2a15f2e036fc9a5c2c78ea7783a73143e443f4b8
37e0bb45b7250ed6ee777a6a48e504ad3b12165e
refs/heads/master
2023-08-31T18:11:01.534192
2023-08-20T14:08:10
2023-08-20T14:08:10
10,260,555
0
0
null
2014-10-20T00:46:50
2013-05-24T06:25:20
null
UTF-8
Python
false
false
2,540
py
import requests from bs4 import BeautifulSoup import configparser import random import sys import datetime import time cf = configparser.ConfigParser() cf.read('config.cfg') landUrls = cf.get('land_url','URLS') land_price_tuples = landUrls.split(',') def get_sale_products(findUrl, limit_price) : soup = Beauti...
[ "metalbird0@gmail.com" ]
metalbird0@gmail.com
c61af8c31f886ab4f9dcc2f1bd40e538bdabebf4
c93bbf35aa37d8c4c974655ae2202fdc36da4b12
/String/Q_6.py
0ffb523c0264eb0e0d06f74758c06aa6cb756fa3
[]
no_license
Bikashacharaya/Jspider_Python
a42cd6aba83eba013061de9e68d11d173673121c
1ae8f35b20d2633153fd4e310eba150a9478e09a
refs/heads/main
2023-06-25T00:14:30.198867
2021-07-17T15:59:54
2021-07-17T15:59:54
386,979,236
0
0
null
null
null
null
UTF-8
Python
false
false
39
py
'''' I/p- "ABCD" O/p- "abcd" '''
[ "noreply@github.com" ]
Bikashacharaya.noreply@github.com
0f7769bb3595630e797871ee52e7f418a9816002
14956dbed8ae4fba1d65b9829d9405fcf43ac698
/Cyber Security/Capture the Flag Competitions/2020/Cyberthon 2020/Livestream Training/RE/Catch No Ball/solve.py
3dadfa22b242c6738c1a936cb4091cbcf0dd8694
[]
no_license
Hackin7/Programming-Crappy-Solutions
ae8bbddad92a48cf70976cec91bf66234c9b4d39
ffa3b3c26a6a06446cc49c8ac4f35b6d30b1ee0f
refs/heads/master
2023-03-21T01:21:00.764957
2022-12-28T14:22:33
2022-12-28T14:22:33
201,292,128
12
7
null
2023-03-05T16:05:34
2019-08-08T16:00:21
Roff
UTF-8
Python
false
false
3,455
py
#!/usr/bin/env python ''' Basically, to solve this problem, you HAVE to try to interpret this code using your pseudocode knowledge and genius, and to figure out what it does Through some analysis of the code, only the main function 'decode' is important, along with its helper functions. The main code was doable to d...
[ "zunmun@gmail.com" ]
zunmun@gmail.com
0fe44143c74995e1da342650d28d8052088b9b61
f87f51ec4d9353bc3836e22ac4a944951f9c45c0
/.history/HW03_20210706191310.py
400efe3ada9084523c59768ccc03a50afcf192fe
[]
no_license
sanjayMamidipaka/cs1301
deaffee3847519eb85030d1bd82ae11e734bc1b7
9ddb66596497382d807673eba96853a17884d67b
refs/heads/main
2023-06-25T04:52:28.153535
2021-07-26T16:42:44
2021-07-26T16:42:44
389,703,530
0
0
null
null
null
null
UTF-8
Python
false
false
3,575
py
""" Georgia Institute of Technology - CS1301 HW03 - Strings and Lists Collaboration Statement: """ ######################################### """ Function Name: movieNight()  Parameters: subtitle (str) Returns: fixed subtitle (str) """ ######################################### ########## WRITE FUNCTIO...
[ "sanjay.mamidipaka@gmail.com" ]
sanjay.mamidipaka@gmail.com
f503f73e958fb9b1a6c3dfb21c67672816c334f1
59872978d56a25e62039a322d5c6e72444a743a5
/service/account/account_base_service.py
fa18d143f43ae4c0ae4f6e6017afb496a654eabd
[ "MIT" ]
permissive
lwanglinhong/loonflow
3c0e644f0e24036388b6f48a2894fd66107dc4bb
b505c5d21e03a9a2ca9311a9b8a3d337091ba044
refs/heads/master
2022-04-27T18:08:10.539218
2020-04-25T09:11:21
2020-04-25T09:11:21
null
0
0
null
null
null
null
UTF-8
Python
false
false
30,088
py
import json from django.core.paginator import Paginator, PageNotAnInteger, EmptyPage from django.contrib.auth.hashers import make_password from django.db.models import Q from apps.account.models import AppToken, LoonUser, LoonUserRole, LoonDept, LoonRole from service.base_service import BaseService from service.common...
[ "blackholll@163.com" ]
blackholll@163.com
3d9a5108a21a212d80c96f68fffd33e4f65e2b1f
00af09f4ac6f98203910d86c3791c152184ace9a
/build/lib/pyactivity/Activity.py
7a2d73f32650d53f0986d2263de050d51f369064
[]
no_license
orf53975/CarnosOS
621d641df02d742a2452fde2f28a28c74b32695a
d06849064e4e9f30ef901ad8cf90960e1bec0805
refs/heads/master
2023-03-24T08:06:48.274566
2017-01-05T16:41:01
2017-01-05T16:41:01
null
0
0
null
null
null
null
UTF-8
Python
false
false
117
py
import webbrowser class ArcherSysActivity: """ The Console Version of the JS ArcherSysActivity for the browser """
[ "Weldon@athletech.org" ]
Weldon@athletech.org
026d3ba9df7425cf395334e5f518b3070e753ea6
e9c0bb90f07144e26e54b78abc9d102b7affc9f8
/billreminder/model/bills.py
8698c5edac475547f1409ccd362ff28afff32b0c
[]
no_license
linxaddict/billreminder
fe8b3aee275172518f1e4757e4a89350f2bd2517
7c8f52b8d3bdc55199b4f6417d960facf5c6857e
refs/heads/master
2021-01-11T17:19:07.965038
2017-03-29T19:57:29
2017-03-29T19:57:29
79,741,115
0
0
null
null
null
null
UTF-8
Python
false
false
3,034
py
import datetime as dt __author__ = 'Marcin Przepiórkowski' __email__ = 'mprzepiorkowski@gmail.com' class Payment: def __init__(self, user, bill, created_at=None): self._user = user self._bill = bill self._created_at = created_at or dt.datetime.utcnow() @property def user(self): ...
[ "mprzepiorkowski@gmail.com" ]
mprzepiorkowski@gmail.com
31cabd5e8920b175cf6324dd2fffcddbd08484af
1757262f5010c5a726cbb11513d5ad88f632c5a2
/tributary/streaming/calculations/__init__.py
4ef83213c1f3ac2a5403467227e677722c7cc520
[ "Apache-2.0" ]
permissive
thetradingflow/tributary
9287e26dc63fe1320ef1950048e497ac86519ddb
6f2c3ce0ac86ee7c3343fd970f3c3e7161c5951e
refs/heads/master
2022-08-01T02:05:18.385140
2020-05-18T20:32:08
2020-05-18T20:32:08
null
0
0
null
null
null
null
UTF-8
Python
false
false
180
py
from .ops import * # noqa: F401, F403 from .rolling import Count as RollingCount, Sum as RollingSum, Min as RollingMin, Max as RollingMax, Average as RollingAverage # noqa: F401
[ "t.paine154@gmail.com" ]
t.paine154@gmail.com
b28e45c09fa3d58b6a1cd221d055dab1a81ca169
de24f83a5e3768a2638ebcf13cbe717e75740168
/moodledata/vpl_data/44/usersdata/130/14900/submittedfiles/desvpad.py
386a55164703e424ad038db44693b637a1d910a9
[]
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
266
py
# -*- coding: utf-8 -*- from __future__ import division import math n=input('Digite o valor de n:') x=[] for i in range(0,n,1): x.append(input('Digite um elemento:')) print(x[0]) print(x[len(x)-1]) s=0 for i in range(0,n,1): s=s+x[i] s=s/(len(x)) print(s)
[ "rafael.mota@ufca.edu.br" ]
rafael.mota@ufca.edu.br
907bfe48899ad95c6caa0f58360b2de875021754
57cb9fef5efac78758f5d151b959ca2216c94083
/edx/app/edx_ansible/venvs/edx_ansible/bin/rst2xml.py
1739aa96c81e70299840fba73d614169ffaa6526
[]
no_license
JosiahKennedy/openedx-branded
9751d5362088276a87b2e0edca0913568eeb1ac4
d16a25b035b2e810b8ab2b0a2ac032b216562e26
refs/heads/master
2022-12-21T02:39:17.133147
2020-03-25T06:03:23
2020-03-25T06:03:23
249,895,218
0
1
null
2022-12-08T01:23:48
2020-03-25T05:33:05
null
UTF-8
Python
false
false
635
py
#!/edx/app/edx_ansible/venvs/edx_ansible/bin/python # $Id: rst2xml.py 4564 2006-05-21 20:44:42Z wiemann $ # Author: David Goodger <goodger@python.org> # Copyright: This module has been placed in the public domain. """ A minimal front end to the Docutils Publisher, producing Docutils XML. """ try: import locale ...
[ "josiahk@phyziklabs.com" ]
josiahk@phyziklabs.com
e765daddc29cb2263170f7f84d83bebe73166e5a
564d6a4d305a8ac6a7e01c761831fb2081c02d0f
/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_10_01/aio/operations/_express_route_circuit_authorizations_operations.py
d5716397bd93627ef18063b270cbbb960f01a71e
[ "LicenseRef-scancode-generic-cla", "LGPL-2.1-or-later", "MIT" ]
permissive
paultaiton/azure-sdk-for-python
69af4d889bac8012b38f5b7e8108707be679b472
d435a1a25fd6097454b7fdfbbdefd53e05029160
refs/heads/master
2023-01-30T16:15:10.647335
2020-11-14T01:09:50
2020-11-14T01:09:50
283,343,691
0
0
MIT
2020-07-28T22:43:43
2020-07-28T22:43:43
null
UTF-8
Python
false
false
20,876
py
# coding=utf-8 # -------------------------------------------------------------------------- # Copyright (c) Microsoft Corporation. All rights reserved. # Licensed under the MIT License. See License.txt in the project root for license information. # Code generated by Microsoft (R) AutoRest Code Generator. # Changes may ...
[ "noreply@github.com" ]
paultaiton.noreply@github.com
eae42f62f6186b0dc18bf54d546868beb12061dd
0778d368a4d26382d3956b710ac928f7944ba54f
/mammoth/docx/numbering_xml.py
f7f98e0c702db3580e71be2e696ca6c7d904a52c
[ "BSD-2-Clause" ]
permissive
tsaltena/python-mammoth
68ed9af8e0c2b4012e92a08315dc8db5ac34769d
6746d5f17377327d9947a10a1e8101f8810122e2
refs/heads/master
2021-05-15T03:53:17.462401
2020-11-09T11:00:10
2020-11-09T11:00:10
119,989,824
0
0
BSD-2-Clause
2021-01-20T08:01:23
2018-02-02T14:11:50
Python
UTF-8
Python
false
false
1,700
py
from ..documents import numbering_level def read_numbering_xml_element(element): abstract_nums = _read_abstract_nums(element) nums = _read_nums(element, abstract_nums) return Numbering(nums) def _read_abstract_nums(element): abstract_num_elements = element.find_children("w:abstractNum") return d...
[ "mike@zwobble.org" ]
mike@zwobble.org
3ec948782164962982fa48bf0a3afa512f6033a7
9003a00f9d529c50f7b169dce45f1380f1d466b6
/atmel/feather/circuitpyton/build_adafruit_circuitpython_bundle_py_20181218/lib/adafruit_onewire/device.py
ce2c49b444f6b2ca7feec8513db5075863e4ffd7
[]
no_license
0xFF1E071F/hw
d249b8607ba40d6ce1ed9a4a267639c30019d978
2441df0ab45a8e2f3bed4ec7f4eff42ac0a32a7f
refs/heads/master
2022-04-22T03:59:58.835300
2020-04-28T06:52:29
2020-04-28T06:52:29
null
0
0
null
null
null
null
UTF-8
Python
false
false
3,191
py
# The MIT License (MIT) # # Copyright (c) 2017 Carter Nelson for Adafruit Industries # # 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 ri...
[ "eiselekd@gmail.com" ]
eiselekd@gmail.com
65ea3a973c4a55941bc41b7fc132a9cba4286163
b45b3e5e7389d071161fa52340cb119a29c76907
/DoubleBufferDemo.py
2a5be2c67b9df315bc62b6a954771d8f827818b4
[]
no_license
Metallicow/wxPythonDemos
2fc6882a11a0aa6bb35c42f163cfcd6b3456f4fd
396d1ade5930528ec7518b9c22dc93a274cb418f
refs/heads/master
2020-12-25T11:52:18.577898
2013-05-19T18:58:11
2013-05-19T18:58:11
11,283,970
1
0
null
null
null
null
UTF-8
Python
false
false
7,421
py
#!/usr/bin/env python import wx import random # This has been set up to optionally use the wx.BufferedDC if # USE_BUFFERED_DC is True, it will be used. Otherwise, it uses the raw # wx.Memory DC , etc. USE_BUFFERED_DC = False #USE_BUFFERED_DC = True class BufferedWindow(wx.Window): """ A Buffered window cl...
[ "Chris.Barker@noaa.gov" ]
Chris.Barker@noaa.gov
0bc120bf8b331bc9e44ccacbc92370eea37b9b4e
d051f3fe9fda31b72fa0ddce67aa1f4293c7c37c
/learn/jointgp_iterative_init.py
d662fca28c768464e32e9ea1777a8a90febc9376
[ "BSD-3-Clause" ]
permissive
davmre/sigvisa
4e535215b6623310d8f5da64258f6fa9a378f9fd
91a1f163b8f3a258dfb78d88a07f2a11da41bd04
refs/heads/master
2021-03-24T10:24:52.307389
2018-01-05T19:33:23
2018-01-05T19:33:23
2,321,239
0
0
null
null
null
null
UTF-8
Python
false
false
13,123
py
import numpy as np from sigvisa import Sigvisa from sigvisa.source.event import get_event from sigvisa.infer.coarse_to_fine_init import ModelSpec, EventRunSpec, TimeRangeRunSpec, do_coarse_to_fine, initialize_from, do_inference, initialize_sg from sigvisa.infer.template_xc import fastxc from sigvisa.graph.sigvisa_grap...
[ "dmoore@cs.berkeley.edu" ]
dmoore@cs.berkeley.edu
20d258d6d3e757ca145e2f7d6037bb9ae863704e
70ad4c421a791a12be7a42a3a943e849d1a0ac42
/torchvision/io/image.py
005c58e32cc734e55057a9fcb46ee331ee3f5c80
[ "BSD-3-Clause", "CC-BY-NC-4.0" ]
permissive
Hsuxu/vision
e78ea6bfbc8aa50c56573b467939e86df0138d07
75daeaf4b4d95570900f7a62c0a257678c188f04
refs/heads/main
2022-12-02T05:35:54.121664
2022-11-22T08:40:30
2022-11-22T08:40:30
215,186,338
1
0
BSD-3-Clause
2019-10-15T02:18:27
2019-10-15T02:18:27
null
UTF-8
Python
false
false
9,574
py
from enum import Enum from warnings import warn import torch from ..extension import _load_library from ..utils import _log_api_usage_once try: _load_library("image") except (ImportError, OSError) as e: warn(f"Failed to load image Python extension: {e}") class ImageReadMode(Enum): """ Support for ...
[ "noreply@github.com" ]
Hsuxu.noreply@github.com
d3d115752075a17430f9222d060599f649fa1271
f42f04302b4c7ed34b6e079cc334c499b10d656c
/auditware/apps.py
d7f2cf032329f184f7b9b289216fa8a456661e0e
[ "BSD-2-Clause", "BSD-3-Clause" ]
permissive
un33k/django-auditware
5edc2159c9aee2aae7c6a2c3d04f9f843665ff49
7ea46195aade2caa464fbc9c5646f7565e87be11
refs/heads/master
2021-01-10T02:01:27.106266
2016-04-05T20:16:37
2016-04-05T20:16:37
43,097,203
1
0
null
null
null
null
UTF-8
Python
false
false
484
py
from django.apps import apps from django.apps import AppConfig as DjangoAppConfig from django.utils.translation import ugettext_lazy as _ class AppConfig(DjangoAppConfig): """ Configuration entry point for the auditware app """ label = name = 'auditware' verbose_name = _("auditware app") def ...
[ "val@neekware.com" ]
val@neekware.com
1c2c3ec6f06be19a149ce546f8991519ff2e516e
cb559124f016b2139ec2e7bd764ee95c72e0c85a
/MainProject/mypost/admin.py
01fb05bba7b0162ed94437aa5b7cf4115ebb3b50
[]
no_license
samirpatil2000/RestFrameWork
cb519566871052328f507a863fb5617bba148589
776793ef214a0365a722463df5a9e92365847235
refs/heads/master
2022-10-19T04:54:09.886050
2020-06-09T03:25:41
2020-06-09T03:25:41
270,561,221
0
0
null
null
null
null
UTF-8
Python
false
false
155
py
from django.contrib import admin # Register your models here. from .models import Post , Category admin.site.register(Post) admin.site.register(Category)
[ "samirspatil742099@gmail.com" ]
samirspatil742099@gmail.com
e11d91874bdc3936c206ac66d1d9bfea012f21ee
4cacaaebab5db2f35e3fb08f5c8b5dc6cc807d29
/C1_L1/timer_for_website.py
2a992921912a6676d9a9424a8d0f1c7d767802f3
[]
no_license
M0hamedGamal/NanoDgree
f667464080927da9daab3c55daa80e10d016edb1
839f6c8fc5219d08d31105061ce2decbe70d9400
refs/heads/master
2021-09-05T19:36:08.760757
2018-01-30T15:47:40
2018-01-30T15:47:40
null
0
0
null
null
null
null
UTF-8
Python
false
false
381
py
import time import webbrowser total_breaks = 3 break_count = 0 print("This Program Started On: " , time.ctime()) #Current time while (break_count < total_breaks): #Loop For 3 Time time.sleep(5) #To Wait 5 Sec webbrowser.open("https://www.youtube...
[ "you@example.com" ]
you@example.com
fc5c0f0bfd77a9d6cf3c51851e9abedbd69a7cfe
c071eb46184635818e8349ce9c2a78d6c6e460fc
/system/python_stubs/-745935208/PySide2/QtWidgets/QToolTip.py
6b962af550e45f531cd6791dd3ea0b277a41b631
[]
no_license
sidbmw/PyCharm-Settings
a71bc594c83829a1522e215155686381b8ac5c6e
083f9fe945ee5358346e5d86b17130d521d1b954
refs/heads/master
2020-04-05T14:24:03.216082
2018-12-28T02:29:29
2018-12-28T02:29:29
156,927,399
0
0
null
null
null
null
UTF-8
Python
false
false
1,266
py
# encoding: utf-8 # module PySide2.QtWidgets # from C:\Users\siddh\AppData\Local\Programs\Python\Python37\lib\site-packages\PySide2\QtWidgets.pyd # by generator 1.146 # no doc # imports import PySide2.QtCore as __PySide2_QtCore import PySide2.QtGui as __PySide2_QtGui import Shiboken as __Shiboken class QToolTip(__Sh...
[ "siddharthnatamai@gmail.com" ]
siddharthnatamai@gmail.com
caa9b68f2388f1cebf0aed5cc468db051a5e68ae
f98e37d4dba35055905063596415aaedcfa59fa3
/ExpenseReportSystemBE/components/secCheck/secCheckLogic.py
c8129142b343f1a5731932a7a03c86142e7f743a
[]
no_license
pyj4104/ExpenseReportSystemBE
8c8b3fa1c02cab07bf4416ebc797c5c46c0c57cd
67b30a342394d0df54729aa58df37d5c503592a4
refs/heads/main
2023-04-26T09:19:04.702310
2021-05-18T02:00:55
2021-05-18T02:00:55
343,976,606
0
0
null
null
null
null
UTF-8
Python
false
false
2,109
py
import time class SecCodeSession: userEmail: str created: int expires: int def __init__(self, email: str): self.userEmail = email self.created = int(time.time()) self.expires = self.created + 600 class SecCodes: secCodesDict: dict # security codes to user data usrCodesDict: dict # user email to security ...
[ "pyj4104@hotmail.com" ]
pyj4104@hotmail.com
32bbc1801f1410cb204d27de24ee4c38082ebf18
e57f62ce463ae10e2a61bfee6682f92773d56520
/simim/scenario.py
ed6f51c5e84375b5eb6d97440b074ae956fc0a1a
[ "MIT" ]
permissive
rffowler/simim
7f5a0ac7df5abce8b13627ef3f838d4196fb657e
d5b9793ebb469fe903fdff0f98898b6f87a433b3
refs/heads/master
2020-05-18T19:34:46.965775
2019-04-24T13:58:08
2019-04-24T13:58:08
null
0
0
null
null
null
null
UTF-8
Python
false
false
3,915
py
""" scenario.py Manages scenarios """ import pandas as pd class Scenario(): def __init__(self, filename, factors): self.data = pd.read_csv(filename) if isinstance(factors, str): factors = [factors] # rename scenario cols with O_ or D_ prefixes as necessary for column in [f for f in self.data....
[ "a.p.smith@leeds.ac.uk" ]
a.p.smith@leeds.ac.uk
297f090aa09340a17f20e473690f2254a6bbf410
6b2a8dd202fdce77c971c412717e305e1caaac51
/solutions_5630113748090880_0/Python/cih187/round1AproblemB.py
7a5b2198cbb47f906cd2f88be65dc5710385d914
[]
no_license
alexandraback/datacollection
0bc67a9ace00abbc843f4912562f3a064992e0e9
076a7bc7693f3abf07bfdbdac838cb4ef65ccfcf
refs/heads/master
2021-01-24T18:27:24.417992
2017-05-23T09:23:38
2017-05-23T09:23:38
84,313,442
2
4
null
null
null
null
UTF-8
Python
false
false
1,296
py
def round1a_b(path): with open(path, mode='r') as file: lines = file.readlines() test_case_number = 0 line_number = 1 while test_case_number < int(lines[0]): test_case_number += 1 # variables for this problem n = int(lines[line_number].spli...
[ "alexandra1.back@gmail.com" ]
alexandra1.back@gmail.com
1a4ef0108cb6f9dc1429db6da776aba96ff6f586
fec622bc34957dd4d99f1ef0f23608eeb40ed609
/internal/notes/builtin-SAVE/packages/autogen/package.py
4198ab1589787f6d30b2af2fc527239452709c9b
[]
no_license
scottkwarren/hpctest
4d5ff18d00c5eb9b7da481c9aa0824aa7082062f
a8bb99b5f601a5d088ae56ab9886ab8079c081ba
refs/heads/master
2022-09-07T19:36:18.544795
2022-08-18T20:26:42
2022-08-18T20:26:42
100,518,800
2
2
null
null
null
null
UTF-8
Python
false
false
2,411
py
############################################################################## # Copyright (c) 2013-2017, Lawrence Livermore National Security, LLC. # Produced at the Lawrence Livermore National Laboratory. # # This file is part of Spack. # Created by Todd Gamblin, tgamblin@llnl.gov, All rights reserved. # LLNL-CODE-64...
[ "scott@rice.edu" ]
scott@rice.edu
49de452b8c12cc429ec8cedf8b4759d6f544e7b1
9f1b8a1ada57198e2a06d88ddcdc0eda0c683df7
/submission - lab9/set 2/JOHN J WELSH_19371_assignsubmission_file_lab9/lab9/P2.py
77ac0756b0f7c7014104a22a46737f2475f62f6a
[]
no_license
sendurr/spring-grading
90dfdced6327ddfb5c311ae8f42ae1a582768b63
2cc280ee3e0fba02e95b6e9f45ad7e13bc7fad54
refs/heads/master
2020-04-15T17:42:10.781884
2016-08-29T20:38:17
2016-08-29T20:38:17
50,084,068
0
0
null
null
null
null
UTF-8
Python
false
false
243
py
class Simple: def __init__(self,i): self.i = i def double(self): i = self.i i += i self.i = i s1 = Simple(4) for i in range(4): s1.double() print s1.i s2 = Simple('Hello') s2.double(); s2.double() print s2.i s2.i = 100 print s2.i
[ "sendurr@hotmail.com" ]
sendurr@hotmail.com
77310ee0bff08f7d081861ed92da5079102f53e9
5e2dddce9c67d5b54d203776acd38d425dbd3398
/spacy/tests/regression/test_issue1253.py
10829768ec1bd99db43724113a00a0f41ae8b381
[ "MIT" ]
permissive
yuxuan2015/spacy_zh_model
8164a608b825844e9c58d946dcc8698853075e37
e89e00497ab3dad0dd034933e25bc2c3f7888737
refs/heads/master
2020-05-15T11:07:52.906139
2019-08-27T08:28:11
2019-08-27T08:28:11
182,213,671
1
0
null
2019-04-19T06:27:18
2019-04-19T06:27:17
null
UTF-8
Python
false
false
429
py
from __future__ import unicode_literals import pytest import spacy def ss(tt): for i in range(len(tt)-1): for j in range(i+1, len(tt)): tt[i:j].root @pytest.mark.models('en') def test_access_parse_for_merged(): nlp = spacy.load('en_core_web_sm') t_t = nlp.tokenizer("Hig...
[ "yuxuan2015@example.com" ]
yuxuan2015@example.com
5797e3f5a9e0d306f55290ff2b0c26ced31d0a12
13625dd7375297b066ccd69d6c229e9a1535c9b2
/savings/migrations/0016_auto_20201221_0947.py
75df210829866c486eea392b0c5878838082f722
[]
no_license
rajman01/investfy
9d5fa3ed7593ec13db575016fc839664630318af
a4c8bf16ba7a1ce38d1370e4779284a4d6426733
refs/heads/main
2023-09-01T19:10:18.411861
2023-08-28T02:30:23
2023-08-28T02:30:23
320,408,218
0
1
null
2023-08-28T02:30:24
2020-12-10T22:46:03
null
UTF-8
Python
false
false
3,724
py
# Generated by Django 3.1.3 on 2020-12-21 08:47 from django.conf import settings from django.db import migrations, models import django.db.models.deletion import django.utils.timezone class Migration(migrations.Migration): dependencies = [ ('wallet', '0009_wallet_wallet_id'), migrations.swappabl...
[ "alameenraji31@gmail.com" ]
alameenraji31@gmail.com
0ba67e81120fca81ce3b369ed3fe9c44049b4f7e
d7d7e13a91d0ded303cbb86a3e6c0f5071b6da74
/metafeatures/aux/discovery.py
2bdf474dd6e7817659a50f84327b1ef9cdbdd0fd
[]
no_license
fhpinto/systematic-metafeatures
40c6f5f6a7a1f775918e27820c72962e5436a010
8d646ca5fa67efdf3caea2ca3656ef63c6c4d4d9
refs/heads/master
2020-04-06T06:55:26.789685
2016-08-26T13:36:18
2016-08-26T13:36:18
64,952,631
4
2
null
2016-08-19T12:38:59
2016-08-04T17:04:55
Python
UTF-8
Python
false
false
1,036
py
import importlib import inspect import pkgutil import sys def discover_components(package, directory, base_class): """Discover implementations of a base class in a package. Parameters ---------- package : str Package name directory : str Directory of the package to which is inspec...
[ "feurerm@informatik.uni-freiburg.de" ]
feurerm@informatik.uni-freiburg.de
339a1383bd1ac9811bc5bc6e441d74ad13396474
fffb732290af97687ea3221ce4a6ce4d95640aff
/courses/w13_DL_Digits/backup/his08.py
e32a677773dfe6a9df4db18b13610aa20aa2a4f2
[]
no_license
NamWoo/self_driving_car
851de73ae909639e03756eea4d49ab663447fc19
cd5c1142c9e543e607ca9dc258f689de6879d207
refs/heads/master
2021-07-24T19:51:54.459485
2021-07-06T13:58:19
2021-07-06T13:58:19
186,267,543
9
7
null
null
null
null
UTF-8
Python
false
false
23,487
py
739 [shortcut] 740 from=-3 741 activation=linear 742 [convolutional] 743 batch_normalize=1 744 filters=64 745 size=1 746 stride=1 747 pad=1 748 activation=leaky 749 [convolutional] 750 batch_normalize=1 751 filters=128 752 size=3 753 stride=1 754 pad=1 7...
[ "pre3ice@gmail.com" ]
pre3ice@gmail.com
f1a1c35dd7cedb8f635a204f50da3d647b87f485
62570b5e3df9a8ebdd0887da97503e6807ab122c
/tests/test_dsrmath.py
77d71df2042a9e6a383acab7b4150d25b3b69ccd
[ "MIT" ]
permissive
dkratzert/ShelXFile
a4e8152e5bad5aa92eec2520bfbb493166d1d8d3
15378d9b8cd44d1212a3c5783f21d10e2df81981
refs/heads/master
2023-07-06T10:27:56.830249
2023-06-12T19:46:05
2023-06-12T19:46:05
135,573,780
11
0
MIT
2022-10-02T13:17:39
2018-05-31T11:18:41
Python
UTF-8
Python
false
false
13,143
py
from unittest import TestCase from shelxfile.misc.dsrmath import vol_unitcell, distance, dice_coefficient, levenshtein, dice_coefficient2, \ SymmetryElement, Matrix, Array, mean, median, std_dev, nalimov_test, id_generator, atomic_distance, \ almost_equal from shelxfile.misc.misc import flatten, frac_to_cart, ...
[ "dkratzert@gmx.de" ]
dkratzert@gmx.de
4e794f3df16cf82062bff11428a00381326cf9ea
910c97ce255f39af7ef949664b4346e8cb5d6a0e
/monitorexecutor/dynamic/.svn/text-base/stat_service.py.svn-base
9d791b8effad2f1cea315dda0c8df5b10a3f9731
[]
no_license
sun3shines/manager_monitor
f3742a4fde95b456f51d0a18feb78f3d4048c560
f49d741203d8476f2249a49d90fecc86143ac622
refs/heads/master
2021-01-17T06:47:14.375088
2016-04-29T06:43:05
2016-04-29T06:43:05
57,361,217
0
0
null
null
null
null
UTF-8
Python
false
false
2,935
# -*- coding: utf-8 -*- import psutil import datetime import time from monitorexecutor.globalx import PSUTIL_SERVICE_INTERVAL,SERVICE_CMDLINE from monitorexecutor.global_cache import MONITOR_SERVICE_PROCESS def service_iter(): while True: for service_name,pc in SERVICE_CMDLINE.items(): se...
[ "sun__shines@163.com" ]
sun__shines@163.com
29d8581ae8a6ebd3407f19999ceb8421bd8494e4
8fa938eddcc75eb7dff1f2055c49cb3817a00c63
/Dictionary/ex34.py
938679c79c5c36bd41a8b9548ad1ba4cd058d0b2
[]
no_license
jayhebe/w3resource_exercises
f27109759d112b0611574aa70eb378ace447c2a0
b29aa7c806f6021a8988e83bb9f674522a41380d
refs/heads/master
2020-05-07T09:23:24.039271
2020-01-30T15:05:06
2020-01-30T15:05:06
180,374,062
2
0
null
null
null
null
UTF-8
Python
false
false
114
py
d = {'Alex': ['subj1', 'subj2', 'subj3'], 'David': ['subj1', 'subj2']} ctr = sum(map(len, d.values())) print(ctr)
[ "jayhebe1983@sina.com" ]
jayhebe1983@sina.com
39c6f807a95a6b5a77ae04b4d7f3efa4c8f2f1bf
3dc3bbe607ab7b583eb52dbaae86636eb642960a
/mmaction/models/localizers/utils/proposal_utils.py
7b51921684f442df8c0b28a186bc581b2f4d9e3e
[ "Apache-2.0" ]
permissive
open-mmlab/mmaction2
659c36c6083fd3d9d072e074a8d4b3a50342b9bd
582b78fd6c3240500d5cacd292339d7d1ddbb056
refs/heads/main
2023-08-28T18:14:50.423980
2023-08-10T09:20:06
2023-08-10T09:20:06
278,810,244
3,498
1,028
Apache-2.0
2023-09-07T06:50:44
2020-07-11T07:19:10
Python
UTF-8
Python
false
false
5,256
py
# Copyright (c) OpenMMLab. All rights reserved. import numpy as np def temporal_iou(proposal_min, proposal_max, gt_min, gt_max): """Compute IoU score between a groundtruth bbox and the proposals. Args: proposal_min (list[float]): List of temporal anchor min. proposal_max (list[float]): List o...
[ "noreply@github.com" ]
open-mmlab.noreply@github.com
ece13f701ebfc064b3485e187b768aecae541472
3c6aeb458a8bec0671c1d8be18331072ac97e05f
/ohsn/stream/streaming_depressioin.py
26a5afca34cd4c345d4b01333b7f0cef762f79ff
[]
no_license
wtgme/ohsn
d7b17ad179a789be2325e0923026a681e343a40c
9c165d45eefa4058e7ed2c6bad348703e296362d
refs/heads/master
2021-08-29T06:01:20.165839
2021-08-12T08:51:46
2021-08-12T08:51:46
44,922,360
2
0
null
null
null
null
UTF-8
Python
false
false
5,601
py
# -*- coding: utf-8 -*- """ Created on Wed Jun 03 03:43:09 2015 @author: wt crawl stream with keyword-filtering Keywords are in keywords.txt https://dev.twitter.com/streaming/reference/post/statuses/filter The track, follow, and locations fields should be considered to be combined with an OR operator. track...
[ "wtgmme@gmail.com" ]
wtgmme@gmail.com
4ec74b74a15727d510b711fb2f2377004c678a3a
029aa4fa6217dbb239037dec8f2e64f5b94795d0
/Python算法指南/232_不同的路径II_上题的再应用.py
38db0f1e03c0d402ee10b759d9d46ce78a45bde4
[]
no_license
tonyyo/algorithm
5a3f0bd4395a75703f9ee84b01e42a74283a5de9
60dd5281e7ce4dfb603b795aa194a67ff867caf6
refs/heads/master
2022-12-14T16:04:46.723771
2020-09-23T06:59:33
2020-09-23T06:59:33
270,216,530
0
0
null
null
null
null
UTF-8
Python
false
false
1,001
py
class Solution: def uniquePathsWithObstacles(self, obstacleGrid): m, n = len(obstacleGrid), len(obstacleGrid[0]) mp = [[0] * n for _ in range(m)] mp[0][0] = 1 for i in range(m): for j in range(n): if obstacleGrid[i][j] == 1: # 遇到障碍物,路径清0 ...
[ "1325338208@qq.com" ]
1325338208@qq.com
de99595ec3ae77bc6d35d3e293f5235910a4d554
c325db01e798fc1d985c4e40c42a4422cd59fd2a
/python/tf/pz_test.py
31c60bb236378d8a2a617d5ed7ccb1b19af38e94
[ "Apache-2.0" ]
permissive
google/carfac
5078c910994dfddb8b4e068a42fab567551a6c55
75970ea10092e7fa32fb7d1a236cecb6dcfa796e
refs/heads/master
2023-09-06T00:00:09.749292
2023-07-21T11:21:04
2023-07-21T11:21:48
11,507,786
99
39
Apache-2.0
2023-04-17T09:49:31
2013-07-18T16:28:12
Jupyter Notebook
UTF-8
Python
false
false
5,900
py
#!/usr/bin/env python # Copyright 2021 The CARFAC Authors. All Rights Reserved. # # This file is part of an implementation of Lyon's cochlear model: # "Cascade of Asymmetric Resonators with Fast-Acting Compression" # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except i...
[ "copybara-worker@google.com" ]
copybara-worker@google.com
d397b095f585d87c25f16b3b261c5ded67721af1
e756e1c11109a23846f97dc54d7d405fcbe79fa9
/multiworld/envs/mujoco/__init__.py
b541191bb841cfab07147899f3f45c4eec1317ef
[ "MIT" ]
permissive
dennisl88/multiworld
1fdf606bea11c3101d2b45500d78a54481ca6535
fdb1e8e40b502f90cc377a3a4c1877e6865f935f
refs/heads/master
2020-03-27T09:38:00.744244
2018-08-28T02:02:28
2018-08-28T02:02:28
146,358,446
0
0
null
2018-08-27T21:53:13
2018-08-27T21:53:13
null
UTF-8
Python
false
false
11,055
py
import gym from gym.envs.registration import register import logging LOGGER = logging.getLogger(__name__) _REGISTERED = False def register_custom_envs(): global _REGISTERED if _REGISTERED: return _REGISTERED = True LOGGER.info("Registering multiworld mujoco gym environments") """ R...
[ "vitchyr@gmail.com" ]
vitchyr@gmail.com
24cbc1db1201293c58a19ff262bad4e6793375b8
2a97a5816f79282878855c7355f7400a36ac1839
/UTKFace/UTKFace_128x128/CcGAN-improved/models/ResNet_regre_eval.py
8efb719cfe621bc6eeb99a39d9c5f8bc9683c091
[]
no_license
simonlevine/improved_CcGAN
309040cb7ec74b5ef68c3b31f6a32e715df3029e
3f2660c4a466240b7b3896e8e2ce7aaad759862a
refs/heads/master
2023-08-13T02:18:55.327856
2021-09-24T07:56:48
2021-09-24T07:56:48
null
0
0
null
null
null
null
UTF-8
Python
false
false
6,190
py
''' codes are based on @article{ zhang2018mixup, title={mixup: Beyond Empirical Risk Minimization}, author={Hongyi Zhang, Moustapha Cisse, Yann N. Dauphin, David Lopez-Paz}, journal={International Conference on Learning Representations}, year={2018}, url={https://openreview.net/forum?id=r1Ddp1-Rb}, } ''' import torch...
[ "dingx92@gmail.com" ]
dingx92@gmail.com