blob_id
stringlengths
40
40
directory_id
stringlengths
40
40
path
stringlengths
2
616
content_id
stringlengths
40
40
detected_licenses
listlengths
0
69
license_type
stringclasses
2 values
repo_name
stringlengths
5
118
snapshot_id
stringlengths
40
40
revision_id
stringlengths
40
40
branch_name
stringlengths
4
63
visit_date
timestamp[us]
revision_date
timestamp[us]
committer_date
timestamp[us]
github_id
int64
2.91k
686M
star_events_count
int64
0
209k
fork_events_count
int64
0
110k
gha_license_id
stringclasses
23 values
gha_event_created_at
timestamp[us]
gha_created_at
timestamp[us]
gha_language
stringclasses
220 values
src_encoding
stringclasses
30 values
language
stringclasses
1 value
is_vendor
bool
2 classes
is_generated
bool
2 classes
length_bytes
int64
2
10.3M
extension
stringclasses
257 values
content
stringlengths
2
10.3M
authors
listlengths
1
1
author_id
stringlengths
0
212
3efb3fa0f33c9db9e23e81ccddbd12529703f1e8
ddb8c14775dfbe9424691dabf1617273d118d317
/catkin_ws/build/msg_check/catkin_generated/pkg.installspace.context.pc.py
d23c59c9aa6dcd0265af7cbe01246235712f19cc
[]
no_license
rishabhdevyadav/fastplanneroctomap
e8458aeb1f2d3b126d27dc57011c87ae4567687a
de9d7e49cb1004f3b01b7269dd398cf264ed92b4
refs/heads/main
2023-05-12T22:12:27.865900
2021-05-26T19:25:31
2021-05-26T19:25:31
356,674,577
0
0
null
null
null
null
UTF-8
Python
false
false
542
py
# generated from catkin/cmake/template/pkg.context.pc.in CATKIN_PACKAGE_PREFIX = "" PROJECT_PKG_CONFIG_INCLUDE_DIRS = "${prefix}/include;/usr/include/eigen3".split(';') if "${prefix}/include;/usr/include/eigen3" != "" else [] PROJECT_CATKIN_DEPENDS = "geometry_msgs;mav_msgs;nav_msgs;roscpp;rospy;sensor_msgs;message_run...
[ "rishabhdevyadav95@gmail.com" ]
rishabhdevyadav95@gmail.com
0e02e78b9bd8be2a809d040cede78b8f52514e05
3b84c4b7b16ccfd0154f8dcb75ddbbb6636373be
/google-cloud-sdk/lib/googlecloudsdk/third_party/apis/cloudfunctions/v2beta/cloudfunctions_v2beta_client.py
fcd7b507b5f649128645efa4b619ae74c347b2c0
[ "Apache-2.0", "LicenseRef-scancode-unknown-license-reference" ]
permissive
twistedpair/google-cloud-sdk
37f04872cf1ab9c9ce5ec692d2201a93679827e3
1f9b424c40a87b46656fc9f5e2e9c81895c7e614
refs/heads/master
2023-08-18T18:42:59.622485
2023-08-15T00:00:00
2023-08-15T12:14:05
116,506,777
58
24
null
2022-02-14T22:01:53
2018-01-06T18:40:35
Python
UTF-8
Python
false
false
21,995
py
"""Generated client library for cloudfunctions version v2beta.""" # NOTE: This file is autogenerated and should not be edited by hand. from __future__ import absolute_import from apitools.base.py import base_api from googlecloudsdk.third_party.apis.cloudfunctions.v2beta import cloudfunctions_v2beta_messages as messag...
[ "gcloud@google.com" ]
gcloud@google.com
17e8527f6eb8317bfbbdd729e8a0ff609113b9de
1897e212482838ea65353ff5682342133e62f75f
/main.py
0da2f3864e29de33d9d1d8569db8bfd0924dfe70
[]
no_license
sakots/acnh-turnip-gspread
1393376be4654d269573ac76498b58ee0ad03804
f7c861b0e7306f528fa563b5d1d37f6a78a41bd7
refs/heads/master
2022-04-24T10:13:55.536417
2020-04-14T18:01:32
2020-04-14T18:01:32
256,100,512
0
0
null
2020-04-16T03:34:14
2020-04-16T03:34:13
null
UTF-8
Python
false
false
2,336
py
import base64 import json import os import urllib.parse from optparse import OptionParser import pprint import yaml import gspreads from bind import BindService from bot import TurnipPriceBotService from logger import logger def load_config(): # load normal options from command line options parser = OptionP...
[ "arsenic28@gmail.com" ]
arsenic28@gmail.com
0a14a4f50550ed5bdbacbd5f1e6d1c6332fc77db
8f41c18c78624713ebd148c0e03e4f757a7edd78
/Music.py
9cd85d66563733efb5a89c3b8e6f32e029795713
[]
no_license
susansalkeld/jesses-learning-fun-time
14e2a228fc84b3a964635b1094be97e34185b798
f908199ca52ac3558fa3df19535cdf6c343e7683
refs/heads/master
2021-01-01T18:08:05.508978
2014-08-11T19:22:22
2014-08-11T19:22:22
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,427
py
Linear_4ths = ['Bx', 'Ex', 'Ax', 'Dx', 'Gx', 'Cx', 'Fx', 'B#', 'E#', 'A#', 'D#', 'G#', 'C#', 'F#', 'B', 'E', 'A', 'D', 'G', 'C', 'F', 'Bb', 'Eb', 'Ab', 'Db', 'Gb', 'Cb', 'Fb', 'Bbb', 'Ebb', 'Abb', 'Dbb', 'Gbb', 'Cbb', 'Fbb'] Run = True while Run ==True: Note_Choice = raw_input("Enter a note: ") ...
[ "susansalkeld@sfoc02ml6f4fd57.ads.autodesk.com" ]
susansalkeld@sfoc02ml6f4fd57.ads.autodesk.com
77b57da02d5cd5d2d157d1cab3f405543fb7683c
ed9842152449b3292a103d3701d6f8fe0e775ad8
/main.py
0244252efefd94e19a0ab466ccbfe7d60062f4f2
[ "MIT" ]
permissive
gunyu1019/SCHOOL-TIMETABLE
e01cbf6d086d012f5d56aac9e9a231b03ccf668c
1108196912c268ffd7a0d1792ccb61954159d52b
refs/heads/master
2022-12-13T14:47:46.726528
2020-09-10T12:02:40
2020-09-10T12:02:40
294,032,101
2
2
MIT
2020-09-10T12:02:20
2020-09-09T07:09:44
Python
UTF-8
Python
false
false
4,013
py
import datetime import requests import os import json from PIL import Image from io import BytesIO directory = os.path.dirname(os.path.abspath(__file__)).replace("\\","/") if os.path.isfile(directory + "/key.txt"): key_file = open(directory + "/key.txt",mode='r') key = key_file.read() key_file.close() i...
[ "gunyu1019@gmail.com" ]
gunyu1019@gmail.com
d9b8873a595adc377cc7200a263342446e210272
b9578ee40864562f46723ebca677f7bd858c2e26
/osciloscopio.py
d3fdd6ee884f61e6a9e9df0f4a08d72f7c7dbb3f
[]
no_license
agustin92/Instrumentacion
a89b5267175e577eefd34be6650293016e571512
33bc00c88be97ed324d877fa442a594d50b75d33
refs/heads/master
2020-05-02T06:14:23.092497
2019-06-26T19:36:44
2019-06-26T19:36:44
177,790,420
0
0
null
null
null
null
UTF-8
Python
false
false
1,379
py
import visa import numpy as np from matplotlib import pyplot as plt # Inicializamos el Resource Manager de visa. En el caso de pyvisa-py, se coloca # el '@py'. Sino, con NiVisa, va vacío. rm = visa.ResourceManager() class Osciloscopio: def __init__(self,rm,num): # Toma como parámetros para abrir el canal...
[ "agustin.lopezpedroso@gmail.com" ]
agustin.lopezpedroso@gmail.com
671ee26937753834c9c0240dc4f3c2b8aa662922
5501b76a1517c0ee642594847effd84b9413e6bf
/util.py
d37c9d5b01198c702f5781490261c988839eba38
[]
no_license
nakajimakou1/deep-high-dynamic-range
e22b824a5fee176ec08566801ead83ba1fdece62
bd02a56d9913262ab059d43b9a979083df41e4ef
refs/heads/master
2022-09-05T14:11:16.329844
2021-05-26T07:22:22
2021-05-26T07:22:22
296,060,924
0
0
null
2020-09-16T14:41:56
2020-09-16T14:41:55
null
UTF-8
Python
false
false
2,235
py
import os import numpy as np from typing import List import cv2 from config import MU def read_dir(path: str, folder_only: bool = True) -> List[str]: """Read a directory Args: path: A str path folder_only: Boolean to indicate whether includes folder results only Returns: A list o...
[ "th3charlie@gmail.com" ]
th3charlie@gmail.com
bd0443ac664d583b35f574b914b7d097a427430c
e5897d5b5eb3b018bec8703f01cfc666acea5b38
/isy994/items/variables/variable_state.py
9ff4bd1fca3dd2830528fb6ce10c205ddf9ea290
[ "MIT" ]
permissive
mjcumming/ISY994v5
5de41ce7e12be44c35dc0818daf639bb8c0e5487
928d8359fd15363e15b8daa402fbb1f5f53f3c45
refs/heads/master
2022-05-19T06:10:59.788621
2022-05-08T13:16:29
2022-05-08T13:16:29
187,289,265
4
10
MIT
2021-06-26T13:34:23
2019-05-17T22:36:55
Python
UTF-8
Python
false
false
219
py
#! /usr/bin/env python from .variable_base import Variable_Base class Variable_State(Variable_Base): def __init__(self, container, variable_info): Variable_Base.__init__(self, container, variable_info)
[ "mike@4831.com" ]
mike@4831.com
4132e6dec6e93bde18683faa467d96d2a725b8e5
a70230074b302cdd95fad35d434282853f3047f2
/sample1.py
b0038258599652a0fc4d1058ec79a887cc29ccf7
[]
no_license
Milu-Rashli-T-K/Malayalam-Speech-Recognition-using-LSTM
57ba2be17422b5ca24fa7fae6517e40fc62e1532
d383821d8c8c8de81ad626b61a5609cfa737d13e
refs/heads/main
2023-06-19T09:41:38.247119
2021-07-18T17:54:30
2021-07-18T17:54:30
381,291,781
0
0
null
null
null
null
UTF-8
Python
false
false
4,682
py
import tflearn import numpy as np import speechData import tensorflow as tf from sklearn.model_selection import train_test_split from sklearn.metrics import confusion_matrix import librosa import os res=os.listdir("samplecode") print(len(res)) import csv mydict = [] import matplotlib.pyplot as plt # fr...
[ "noreply@github.com" ]
Milu-Rashli-T-K.noreply@github.com
a32e9c52de8dddec6c10e891923cf8e99a886738
ecf677cb0f0e31bd322e15291b564da98779c69d
/load_OMDBAPI.py
34c94be1bb072a90eaec94d975e349454dbbc5b4
[]
no_license
jonhartm/SI507_FinalProject
e160037999e3404ac55f5a98b5ca48b52690fb61
6f494f8c537dd79b36afe68a33a59a2099f71cdf
refs/heads/master
2022-12-13T05:25:40.315075
2018-04-21T02:44:18
2018-04-21T02:44:18
128,813,154
0
0
null
2021-06-01T22:08:39
2018-04-09T18:00:41
Python
UTF-8
Python
false
false
3,656
py
#------------------------------------------------------------------------------- # LOAD_OMDBAPI.PY # Functions for loading data from the Open Movie Database API #------------------------------------------------------------------------------- from caching import * from secrets import * from util import Timer import sql...
[ "jonhartm@umich.edu" ]
jonhartm@umich.edu
f04a5036b5def4aa77cf1e5a13b71f3df5ba2dcc
82d61a768a865bcec0de1611e14adcd3fa256ae4
/db_migrate.py
0e9b216acddc27001bb26efd50240ae62394f8c3
[]
no_license
DmitryGood/hockey
44336ebb9a4d485d8254253ae99b0b4b2afe6ce7
d8e65b075aee008cea9b279c9900270b44ae458e
refs/heads/master
2016-09-14T07:16:12.899897
2016-04-29T10:33:51
2016-04-29T10:33:51
57,374,558
0
0
null
null
null
null
UTF-8
Python
false
false
1,187
py
import imp from migrate.versioning import api from flask_APIdefinition import db from model_hockey import * from config import WorkConfig #from config import SQLALCHEMY_DATABASE_URI #from config import SQLALCHEMY_MIGRATE_REPO print "Database: ", WorkConfig.SQLALCHEMY_DATABASE_URI print "Migrate REPO: ", WorkConfig.SQL...
[ "dhoroshih@gmail.com" ]
dhoroshih@gmail.com
78ae0e4d4da2857c376fba688f6e13288cfd9885
72dc0b8b86134a7471fc87c908809cd812c76307
/bin/gunicorn
a84bb7b72229ac26286872bbf1125fdfe03f86cb
[]
no_license
aman-roy/CBT-therapy
704dc7301c2eda00c4558e84b2c8bddb1a26f9cc
c9ace3e3a0f01d92fa9bd47e12c007e176ac625a
refs/heads/master
2020-08-14T18:28:19.710682
2019-10-15T12:47:34
2019-10-15T12:47:34
215,215,275
1
0
null
2020-02-05T15:45:38
2019-10-15T05:38:23
Python
UTF-8
Python
false
false
244
#!/home/tux/frames/CBT_therapy/bin/python # -*- coding: utf-8 -*- import re import sys from gunicorn.app.wsgiapp import run if __name__ == '__main__': sys.argv[0] = re.sub(r'(-script\.pyw?|\.exe)?$', '', sys.argv[0]) sys.exit(run())
[ "fictionfree54@gmail.com" ]
fictionfree54@gmail.com
1216c26dbd4120f64a34e26c4ce2bf0aee169116
e4144eb2e2439fcea39b6cd6d87e41191cbe876b
/src/tablet_ui_server/node_modules/dtrace-provider/src/build/config.gypi
09db07cff526a0697ba16fda9c00f860b5390e4c
[ "BSD-2-Clause", "Apache-2.0" ]
permissive
EmmaLovesJIM/Emma2k19
526d265fa788c4aa01f37831dc42e162a4c9df91
e5d7cf656597e2080f0e7a3b725f5f1df2a7ae67
refs/heads/master
2020-04-20T00:21:16.450134
2019-01-31T12:17:34
2019-01-31T12:17:34
168,519,890
0
0
null
null
null
null
UTF-8
Python
false
false
5,376
gypi
# Do not edit. File was generated by node-gyp's "configure" step { "target_defaults": { "cflags": [], "default_configuration": "Release", "defines": [], "include_dirs": [], "libraries": [] }, "variables": { "asan": 0, "coverage": "false", "debug_devtools": "node", "debug_http2"...
[ "marcel.ochsendorf@gmail.com" ]
marcel.ochsendorf@gmail.com
1e547431f1304fab875e263c577d86e91b92a9ce
747f759311d404af31c0f80029e88098193f6269
/addons/base_partner_surname/partner.py
254932e02e9d5fd896883ede6d5d21855b6e91c1
[]
no_license
sgeerish/sirr_production
9b0d0f7804a928c0c582ddb4ccb7fcc084469a18
1081f3a5ff8864a31b2dcd89406fac076a908e78
refs/heads/master
2020-05-19T07:21:37.047958
2013-09-15T13:03:36
2013-09-15T13:03:36
9,648,444
0
1
null
null
null
null
UTF-8
Python
false
false
69
py
/home/openerp/production/extra-addons/base_partner_surname/partner.py
[ "geerish@omerp.net" ]
geerish@omerp.net
601af5281c21060fb20809a752978fe7beb6336f
7ba9be0a75add6b54c72b86dbc8850ff3b4ed4b7
/gptorch/test/kernels_test.py
7fdd26549cbddafff1c17ea34599bdfd2ed804ff
[]
no_license
yangkky/gptorch
cbf0ef91d1af14cd211836834febb39456c69d6c
8534d5687c0bbf921e4caa30c04f4a4bf460d102
refs/heads/master
2021-07-14T08:30:57.491654
2019-01-10T13:04:19
2019-01-10T13:04:19
133,904,221
0
0
null
null
null
null
UTF-8
Python
false
false
14,422
py
import torch from torch.autograd import Variable from torch.nn.parameter import Parameter import torch.nn as nn from gptorch import kernels import numpy as np from scipy.spatial import distance def test_polynomial(): s0 = np.random.random() sp = np.random.random() d = np.random.choice(np.arange(1, 5)) ...
[ "seinchin@gmail.com" ]
seinchin@gmail.com
7955ccc96c528dad18cf43d74e7af5ee585d03f4
655079c76272e82c6a92c1b74d52836872d0a3cf
/hmm/scripts/search_abstraction_batch.py
590781f11d399463175ec23cf8c5d9ba28c15b88
[ "MIT" ]
permissive
ondrejbiza/hmm
e843643560976f41f68ef06d4168bedf0963b1b2
1e9fe47a6057d93e7c77614016a89d5d46959e97
refs/heads/master
2023-04-01T10:45:03.971030
2019-10-16T20:38:31
2019-10-16T20:38:31
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,501
py
import os import logging import pickle import numpy as np import tensorflow as tf from ..runners import abstraction_learn_actions_tf os.environ["TF_CPP_MIN_LOG_LEVEL"] = "2" tf.get_logger().setLevel(logging.ERROR) lrs = [1.0, 0.5, 0.1, 0.05, 0.01, 0.005, 0.001] dims = [2, 3, 4, 8, 16, 32] mu_sds = [0.1, 1.0, 5.0] cov...
[ "ondrej.biza@gmail.com" ]
ondrej.biza@gmail.com
5c4ba5f60c58bee30a636b642431ad1b452ef7ee
ade58184a307bad28916d8bbdcd81443b5102545
/manager.py
9355af0938108d2cf069b043ff6f12e905088e10
[]
no_license
eshita92/Farmmeto
672c92baaa2efddce2863b4b20b40e07d3be0c01
35fece37151b1712733a709764f51560f4d252b9
refs/heads/master
2022-11-06T16:28:46.294834
2020-06-19T15:54:27
2020-06-19T15:54:27
273,531,487
0
0
null
null
null
null
UTF-8
Python
false
false
5,850
py
# -*- coding: utf-8 -*- """ Created on Mon Jan 27 23:16:49 2020 @author: Blessy """ # Building CNN based on AlexNet Architecture # Importing Keras libraries and packages from keras.preprocessing import image import numpy as np from keras.models import Sequential from keras.layers import Convolution2D, M...
[ "noreply@github.com" ]
eshita92.noreply@github.com
70964f54b2c252bf34810cb4b378fc77f351ef7d
ccf94dcb6b1500fcbbd56964ae8c4832a496b8b3
/python/baiduads-sdk-auto/baiduads/dpacreative/model/bat_set_range_response_wrapper_body.py
bf3a52bf83e136d4770a30049ef79667567a1bfd
[ "Apache-2.0" ]
permissive
baidu/baiduads-sdk
24c36b5cf3da9362ec5c8ecd417ff280421198ff
176363de5e8a4e98aaca039e4300703c3964c1c7
refs/heads/main
2023-06-08T15:40:24.787863
2023-05-20T03:40:51
2023-05-20T03:40:51
446,718,177
16
11
Apache-2.0
2023-06-02T05:19:40
2022-01-11T07:23:17
Python
UTF-8
Python
false
false
10,962
py
""" dev2 api schema 'dev2.baidu.com' api schema # noqa: E501 Generated by: https://openapi-generator.tech """ import re # noqa: F401 import sys # noqa: F401 from baiduads.model_utils import ( # noqa: F401 ApiTypeError, ModelComposed, ModelNormal, ModelSimple, cached_property, ch...
[ "jiangyuan04@baidu.com" ]
jiangyuan04@baidu.com
cf989725038467206722394ad1e8f7c9cb87799d
abfed9978789cd3ea4c72b5831e596beb3130738
/Regex Algorithm.py
5318fa0b5b9912e2ac003b2745351b706554f168
[]
no_license
test1932/Regex-script-s-
ebc05179940b2db47df49a0ecea0309bbf1faf3b
6c68de49553474baa545b65b6d44dc31b4f1746a
refs/heads/main
2023-07-06T16:22:14.064189
2021-07-30T08:01:55
2021-07-30T08:01:55
390,781,041
0
0
null
null
null
null
UTF-8
Python
false
false
2,901
py
import re #import regex importFileAdr=["pseudosyringae_proteins.fa","P.boem.v1.proteins.fa"]#files to be searched FileIdent=["pseudosyringae","boehmeriae"]#name of proteins patternlist=["R.LR.{0,50}[ED][ED][RK]","A.MY.S.{2}FPKDSPVTGLGHR", "GHRHDWE", "H.GPCE.{3}D{2}", "VWNQPVRGFKV.E","L.LFLAK"]#patterns to search...
[ "noreply@github.com" ]
test1932.noreply@github.com
464092019080bf601c6b7268ed92c44523d66b49
a9b6d9842e3094894758db3165496ee373183d74
/lists/migrations/0003_list.py
acf50aef7d2e52839b5f74eb0dc7e40ba8ab67c9
[]
no_license
ajroberts0417/django_tdd
49e2b183780a88b202490685cf77560aa0906a24
e47ccfda48b45a3830e93211449d3ad30c49af55
refs/heads/master
2020-03-26T09:50:41.533660
2018-08-20T20:02:42
2018-08-20T20:02:42
144,767,887
0
0
null
null
null
null
UTF-8
Python
false
false
507
py
# -*- coding: utf-8 -*- # Generated by Django 1.11.15 on 2018-08-15 23:24 from __future__ import unicode_literals from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('lists', '0002_item_text'), ] operations = [ migrations.CreateModel( ...
[ "ajroberts0417@gmail.com" ]
ajroberts0417@gmail.com
b59641920ce0787bdda82226455c999d8bfa5e60
23b3c698412f71a2878ae586f5599f2b6e38c980
/source-code/bokeh/ising.py
1dab727e38f3966bbe674a61422b703eec89d4d9
[ "CC-BY-4.0" ]
permissive
gjbex/Scientific-Python
9b7ae7b3398cc9358d1f530ca24243b63f3c01f0
02d24e6e22cfbc5b73429a2184ecbdfcd514c8fc
refs/heads/master
2023-08-17T10:17:39.963630
2023-05-12T14:51:32
2023-05-12T14:51:32
221,184,612
13
13
CC-BY-4.0
2023-08-03T08:04:57
2019-11-12T09:55:27
Jupyter Notebook
UTF-8
Python
false
false
964
py
#!/usr/bin/env python from argparse import ArgumentParser from bokeh.layouts import column from bokeh.models import CustomJS, ColumnDataSource, Slider from bokeh.plotting import curdoc, figure import numpy as np x = np.linspace(-3.0, 3.0, 301) y = x.copy() default_beta = 4.0 y_tanh = np.tanh(default_beta*x) source ...
[ "geertjan.bex@uhasselt.be" ]
geertjan.bex@uhasselt.be
94ad119004a4fd0ddd961a8ed9e3b31bb811fd1a
1b7f4cd39bf7e4a2cf667ac13244e5138ee86cb2
/agents/game/human_agent.py
b04040eb7f8fea24819cc7ddc959c01950f3bda1
[ "MIT" ]
permissive
cjreynol/willsmith
02f793003a914a21b181839bbd58108046f312d6
39d3b8caef8ba5825f3a0272c7fd61a2f78ef2b5
refs/heads/master
2020-07-15T13:25:57.613707
2018-06-12T00:18:19
2018-06-12T00:18:19
205,572,039
0
0
null
null
null
null
UTF-8
Python
false
false
1,390
py
from agents.displays.human_display import HumanDisplay from willsmith.game_agent import GameAgent class HumanAgent(GameAgent): """ Agent that relies on user input to make action choices. It relies on its action_prompt attribute, set externally by the simulator, to provide the proper prompts and to c...
[ "cjreynol13@aol.com" ]
cjreynol13@aol.com
9d6b3dbe8c1086905113bc6961e0043f78bed088
7849c8276a9eb0a93be6c8f387c992dcce88eaf6
/adslproxy/__init__.py
ad748a8a154c074e76126e2a2cd81be3e083ff78
[ "MIT" ]
permissive
jason021sh/lightproxy
24b68fa976bab028984cdda7143f640e54aa63fb
4a7eba19e248c551190f46d1661ba775dad2efd3
refs/heads/master
2022-11-10T00:38:23.949662
2020-06-15T08:34:30
2020-06-15T08:34:30
null
0
0
null
null
null
null
UTF-8
Python
false
false
159
py
# coding=utf-8 __version__ = '2.0.0' # from adslproxy.db import RedisClient # from adslproxy.api import server def version(): return __version__
[ "noreply@github.com" ]
jason021sh.noreply@github.com
f3c047ac5d429cfb32fe30af204675af54b253f8
a1e4d02d1b24b3aa75ef8408f96c733ae3cd52ac
/subhalo/detection.py
cd242dcbe4917af9cd2cee31586d4dfa7541a7c4
[]
no_license
calvinosinga/HIColor
11d6056d0625a9b83b0efc66654c10178ac7e3d8
2c9a3ef79b736fa04d79ade488932179866bb284
refs/heads/master
2023-02-12T07:20:28.626102
2021-01-01T01:13:24
2021-01-01T01:13:24
240,795,458
0
0
null
null
null
null
UTF-8
Python
false
false
3,058
py
import numpy as np import h5py as hp grid = (2048,2048,2048) def get_mass(key,path): try: f=hp.File(path,'r') except IOError: print('files not found') return np.zeros(grid, dtype=np.float32), np.zeros(3) else: try: mass = f[key] flags...
[ "cosinga@wisc.edu" ]
cosinga@wisc.edu
70f4e03aa8a2930c56a4ec84979dc5bb1e836e28
745a605d52556d5195b7cdbf871fc1011b2dc9cd
/backend/mete/models.py
92b2828ee3753d37d2fa5baa61d5d362342dc181
[]
no_license
annikahannig/meteme
96a6b919fbdac20bef7e13e1d101130cd1805b7b
16ca646904a31833e8d1156be8f554e11ff0d37a
refs/heads/master
2021-06-25T05:34:23.517379
2017-05-09T20:33:54
2017-05-09T20:33:54
null
0
0
null
null
null
null
UTF-8
Python
false
false
6,526
py
from __future__ import unicode_literals from collections import OrderedDict from django.db import models from django.conf import settings from djmoney.models.fields import MoneyField from moneyed import Money from solo.models import SingletonModel from store import models as store_models from unidecode import unid...
[ "matthias@hannig.cc" ]
matthias@hannig.cc
9060c56c89249c734e758aa255eb344845dcdd91
b6e057297f5545f7e995d6f454b83953ed81dd42
/TPraticas/Aula3/E01/verify-app.py
c3b700979c5c03d507a091a49639ca3fd6f348d4
[]
no_license
mateuuss/Grupo12
203451067fac6ca1164fd3de223aa22f7fc8140c
660063bf25ebbff182decf05eff7e57575bc2619
refs/heads/master
2022-11-21T17:05:29.235606
2020-07-24T18:38:58
2020-07-24T18:38:58
null
0
0
null
null
null
null
UTF-8
Python
false
false
3,193
py
# coding: latin-1 ############################################################################### # eVotUM - Electronic Voting System # # verify-app.py # # Cripto-7.4.1 - Commmad line app to exemplify the usage of verifySignature # function (see eccblind.py) # # Copyright (c) 2016 Universidade do Minho # Develope...
[ "noreply@github.com" ]
mateuuss.noreply@github.com
bf754f39b9de1abd54afd78dfc0fdf4162003c97
7a12289ae78937ae40f1e8c121fd3c0dcf8a6ee1
/main.py
a10c7dcec808e1718f6f914c0049990cda23135f
[ "MIT" ]
permissive
bojone/small_norb
32ed46bac8b5a4853f1b00212cee09d3de8fe88b
c5db82d5426bf30d800eaeedc5ec1eb828e603c4
refs/heads/master
2020-03-09T05:49:28.669289
2018-04-08T09:23:05
2018-04-08T09:23:05
128,623,304
2
1
null
null
null
null
UTF-8
Python
false
false
512
py
import matplotlib.pyplot as plt from smallnorb.dataset import SmallNORBDataset plt.ion() if __name__ == '__main__': # Initialize the dataset from the folder in which # dataset archives have been uncompressed dataset = SmallNORBDataset(dataset_root='./smallnorb/') # Dump all images to disk data...
[ "ndrplz@gmail.com" ]
ndrplz@gmail.com
f0701b76e300b53794a20d383a41472054a14abe
c459f4dd7b198ec8d8db8379726a5b2650be6636
/regis/apps.py
b08ff1b7229ca929d911653fbb1a9cf748bcef33
[]
no_license
jittat/admapp
4c712182cd06e82efab6c2513fb865e5d00feae8
38bf299015ae423b4551f6b1206742ee176b8b77
refs/heads/master
2023-06-10T03:23:41.174264
2023-06-09T19:41:03
2023-06-09T19:41:03
101,953,724
10
4
null
2023-04-21T22:48:55
2017-08-31T03:12:04
Python
UTF-8
Python
false
false
85
py
from django.apps import AppConfig class RegisConfig(AppConfig): name = 'regis'
[ "jittat@gmail.com" ]
jittat@gmail.com
f22a4469cb502ee17665beff83beebab1a8e70b4
d2afc297840efaacd2520e2f9604254ea02ec55c
/practice/get_max_len_number_from_string.py
a9844d4efd5504db7933fb3d89e71f871e5f0798
[]
no_license
gyfpython/start_python
974a3e0c8029a8795c7ec9872c4b34814ba8527d
940bf71cf98e643cb57328767315b5267fa43d9c
refs/heads/master
2021-09-11T09:06:00.709046
2021-09-01T14:22:47
2021-09-01T14:22:47
233,510,969
0
0
null
null
null
null
UTF-8
Python
false
false
1,735
py
""" 获取字符串中连续最长的数字串,包含小数 长度相同取较大的 """ def get_max_number(str2): max1 = "" if str2[0] == '.': str2 = str2[1:] list1 = str2.split('.') if len(list1) == 1: return list1[0] elif len(list1) == 2: if list1[-1] == '': return list1[0] else: return str...
[ "1453365491@qq.com" ]
1453365491@qq.com
5cf9e4839963c2c5dace99204f707d7e8424f061
14c5bd382ac9ffbfa4ae34f244bca6685f3cd18c
/apps/geotracker/models.py
d3eff90a8929fa59880c39ed709ce3692949a42b
[]
no_license
redhog/arwen
e8705e978588163554c83e3278297506c1ffb2ce
342daa97a72c0776d4dfe27196adfe66d4dff63c
refs/heads/master
2021-01-17T13:08:09.392613
2011-08-26T09:21:40
2011-08-26T09:21:40
2,084,644
1
0
null
null
null
null
UTF-8
Python
false
false
4,235
py
# -*- coding: utf-8 -*- import django.contrib.auth.models from django.utils.translation import ugettext_lazy as _ import django.contrib.gis.db.models import geotracker.geos import linkableobject.models class Vehicle(django.contrib.gis.db.models.Model, linkableobject.models.LinkableModelMixin): objects = django.con...
[ "egil.moller@freecode.no" ]
egil.moller@freecode.no
17f68f4a271ef3e1abafb87410b9182f9486a073
c5c5a2ce8b7762390c0ac82e1a025231d12efe06
/recipes/models.py
b49bf91231f9bdc9d43b19398d4b48ff06fd947f
[]
no_license
jtebert/lazy-baker
c5f21d2db27c4c28189620bf5ee0548b18fe498a
c9a28b460cb74e579e8edb5680af0ece45fac9ca
refs/heads/master
2022-12-11T06:31:24.743834
2020-03-05T15:50:43
2020-03-05T15:50:43
101,441,489
2
1
null
2022-12-08T03:11:20
2017-08-25T20:54:20
CSS
UTF-8
Python
false
false
10,133
py
# -*- coding: utf-8 -*- from __future__ import unicode_literals from django.db import models from django.db.models import Q from django.core.paginator import Paginator, EmptyPage, PageNotAnInteger from modelcluster.fields import ParentalKey from wagtail.core.models import Page, Orderable from wagtail.search import i...
[ "julia@juliaebert.com" ]
julia@juliaebert.com
fdf6b8f440d6510ead6a221d98fac67e2c12d66f
618acdb217694461304c1d4aa05655cc3769349d
/dtaidistance/util.py
a6d1f2f6f97dee52ec10051dcb6191d8876e3dcb
[ "Apache-2.0" ]
permissive
gene-fingerprinting/dtaidistance-2.0.6_F-distance
ec5e7a80657d89e71051e6037137ef7c9e78b65c
ed03980470213a7eb4cc6d5604aab0df81bcb510
refs/heads/main
2023-05-09T17:52:22.298492
2021-06-10T03:43:29
2021-06-10T03:43:29
374,305,823
0
0
null
null
null
null
UTF-8
Python
false
false
6,297
py
# -*- coding: UTF-8 -*- """ dtaidistance.util ~~~~~~~~~~~~~~~~~ Utility functions for DTAIDistance. :author: Wannes Meert :copyright: Copyright 2017-2018 KU Leuven, DTAI Research Group. :license: Apache License, Version 2.0, see LICENSE for details. """ import os import sys import csv import logging from array impor...
[ "noreply@github.com" ]
gene-fingerprinting.noreply@github.com
c0e6eeb9cd6943b127592a9c8741958012b412f8
275f2566ac6804a80084a24954635539f6cf73d8
/src/profiles_project/profiles_api/serializers.py
931ae4592288c5aea110a3982a2b6ea69026871c
[]
no_license
sanyam1997/profiles_rest_api
7bbefffb42fe6c0a25aaca98f8cea6b6ccbd2b9e
bd5534a2bd9749648077648ee2559fe6e422f820
refs/heads/master
2021-07-16T11:03:08.551830
2020-03-25T06:31:07
2020-03-25T06:31:07
249,887,008
0
0
null
2020-03-25T05:43:48
2020-03-25T04:30:02
Python
UTF-8
Python
false
false
1,166
py
from rest_framework import serializers from . import models class HelloSerializer( serializers.Serializer ) : """Serializes a name field for testing out APIView.""" name = serializers.CharField( max_length = 10 ) class UserProfileSerializer( serializers.ModelSerializer ) : """A serializer for our user p...
[ "srajpal@iu.edu" ]
srajpal@iu.edu
cb49c1a45a045db2495be4fdf0417776fe56a168
26f50ed2357ca2949251547f70341fa80397100c
/public/tests/test.py
99d5b8d52c926380251334265802d71ae79468d0
[]
no_license
Sailesh-2209/sudoku
29359e7d6b858f413546d07eddbc580d96447ca6
cedeee6dc451f9f8501e4821629261dfdc26d3d7
refs/heads/master
2023-04-04T10:24:45.290087
2021-04-08T11:22:17
2021-04-08T11:22:17
354,564,067
0
0
null
null
null
null
UTF-8
Python
false
false
4,623
py
import random number_list = [1, 2, 3, 4, 5, 6, 7, 8, 9] boardArray = [] for i in range(9): boardArray.append([0] * 9) def find_neighbours(row_index, column_index): neighbours = [] if row_index == 0 or row_index == 1 or row_index == 2: if column_index == 0 or column_index == 1 or column_index == 2:...
[ "saileshr2209@gmail.com" ]
saileshr2209@gmail.com
e1516bbfce063e8d56341ca439e8cf70dfc77eed
2b5fd9d436a97726f852a12bab58b8d367f4866a
/api/urls.py
2a552766f2d17ea023c0ec9ea230e41593ce2a2f
[]
no_license
lxlzyf/roe
07ff551b142c0411acb7ca6f759ea98b40ad9b72
2d7f1b01e2456875d14a75c90d8397965215bcd3
refs/heads/master
2020-03-27T06:00:43.587235
2018-08-20T10:47:47
2018-08-20T10:47:47
null
0
0
null
null
null
null
UTF-8
Python
false
false
322
py
from django.conf.urls import url from api.views import user_api urlpatterns = [ url(r'^group/$', assets_api.group_list), url(r'^group/(?P<id>[0-9]+)/$',assets_api.group_detail), url(r'^user/$', user_api.user_list), url(r'^user/(?P<id>[0-9]+)/$',user_api.user_detail),...
[ "flc009@163.com" ]
flc009@163.com
ca8e09851c924ccc0848f7fda9b5884cf3a62e0f
093549e2949267dddbaabf13c1657e2d9e795858
/gym_multi_envs/wrappers/multi_monitoring.py
2db1785297f1ebd1ff4f1157286e2babb78576c0
[]
no_license
bde-slither/gym_pygame_envs
a67b0f249ff984b5c1fa46261bb9d134c532eb9c
2dedb5f681c34aa9b6dad93c6bf0dd110e6b8301
refs/heads/master
2021-09-13T14:12:16.846194
2018-04-16T05:51:45
2018-04-16T05:51:45
122,126,706
2
0
null
null
null
null
UTF-8
Python
false
false
728
py
"""This file is a copy of multi_monitering.py from OpenAI MultiAgent compitition repo Source: https://github.com/openai/multiagent-competition.git""" from gym.wrappers import Monitor class MultiMonitor(Monitor): def _before_step(self, action): return def _after_step(self, observation, reward, done, ...
[ "srajanpaliwal@gmail.com" ]
srajanpaliwal@gmail.com
bec43fe9a76a7e3c073462bb485746b7c24e7709
1e911d88cef46e9292ab893cfb61b72a30cc2bbd
/parser/__init__.py
5f68269635806b782da514cf6d5e539a4865b81a
[ "MIT" ]
permissive
karthikdevel/fit
e7dad82ff626d4213ad6762667c556c87d198aa5
0d5e9c87ee34d9ca38f0838777614f5fb0205cb6
refs/heads/master
2021-03-12T20:41:29.967828
2014-07-20T06:19:03
2014-07-20T06:19:03
null
0
0
null
null
null
null
UTF-8
Python
false
false
17
py
import topparser
[ "karthikdevel@gmail.com" ]
karthikdevel@gmail.com
22126b447591b464ad5a6d753bb645c15ea5ed06
531f8027890188eb037a9dbe68d63882eb2e0ead
/demos/ebeam/flash/flash_mismatch.py
77b5f709db45ef41f935bc5ad434b0e1d972c21e
[]
no_license
Cartj/desy
057947dd5e3e4fce085472dc145461cea68be8e9
9a1f12e7cf7040e28614e95dc5c49bc10d36b092
refs/heads/master
2020-03-21T06:01:54.315274
2016-08-16T13:04:56
2016-08-16T13:04:56
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,823
py
__author__ = 'Sergey Tomin' from ocelot import * from ocelot.gui import * from pylab import * exec( open("lattice_FLASH_S2E.py" )) beam = Beam() beam.E = 148.3148e-3 #in GeV ?! beam.beta_x = 14.8821 beam.beta_y = 18.8146 beam.alpha_x = -0.61309 beam.alpha_y = -0.54569 beam.emit_xn = 1.5e-6 beam.emit_yn = 1.5e-6 be...
[ "tomin.sergey@gmail.com" ]
tomin.sergey@gmail.com
1e6316a99db3a784c21de857efb96255ffe33f3e
c49a19fc8846101c9ff6a9a127550311b64b2d47
/tests/test_InsertStatement.py
5c6bfbd506c87345f8c902613665bc0a29a5c164
[]
no_license
EvanGrill/CS457_Database_Management_System_Architecture
5c201c67d330561c255387ec328ac17e1e248991
e3f60ca88d4af13162bf608d798c9aa6d8be29af
refs/heads/master
2020-03-18T16:57:19.296577
2018-06-20T02:57:11
2018-06-20T02:57:11
134,995,679
2
0
null
null
null
null
UTF-8
Python
false
false
409
py
import unittest import config from InsertStatement import InsertStatement class TestInsertStatement(unittest.TestCase): @classmethod def setUpClass(cls): pass @classmethod def tearDownClass(cls): pass def setUp(self): pass def tearDown(self): pass ...
[ "grille@me.com" ]
grille@me.com
4778c6986b6120a7ef560780ffc43c77d358ed22
4c9580b2e09e2b000e27a1c9021b12cf2747f56a
/chapter13/xiaoyu_mall/xiaoyu_mall/apps/areas/migrations/0001_initial.py
079ebb7f05049decffb2551a21f8dbc383e69e82
[]
no_license
jzplyy/xiaoyue_mall
69072c0657a6878a4cf799b8c8218cc7d88c8d12
4f9353d6857d1bd7dc54151ca8b34dcb4671b8dc
refs/heads/master
2023-06-26T02:48:03.103635
2021-07-22T15:51:07
2021-07-22T15:51:07
388,514,311
1
0
null
null
null
null
UTF-8
Python
false
false
930
py
# Generated by Django 2.2.3 on 2019-11-15 06:09 from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): initial = True dependencies = [ ] operations = [ migrations.CreateModel( name='Area', fie...
[ "jzplyy@126.com" ]
jzplyy@126.com
aaa181dee0af914a8a8cbeccec8f6850df142d4a
93713f46f16f1e29b725f263da164fed24ebf8a8
/Library/lib/python3.7/site-packages/docutils/writers/html4css1/__init__.py
f87a1055b0c23f9253762d020667a7431458732a
[ "BSD-3-Clause" ]
permissive
holzschu/Carnets
b83d15136d25db640cea023abb5c280b26a9620e
1ad7ec05fb1e3676ac879585296c513c3ee50ef9
refs/heads/master
2023-02-20T12:05:14.980685
2023-02-13T15:59:23
2023-02-13T15:59:23
167,671,526
541
36
BSD-3-Clause
2022-11-29T03:08:22
2019-01-26T09:26:46
Python
UTF-8
Python
false
false
33,869
py
# $Id: __init__.py 8035 2017-02-13 22:01:47Z milde $ # Author: David Goodger # Maintainer: docutils-develop@lists.sourceforge.net # Copyright: This module has been placed in the public domain. """ Simple HyperText Markup Language document tree Writer. The output conforms to the XHTML version 1.0 Transitional DTD (*al...
[ "nicolas.holzschuch@inria.fr" ]
nicolas.holzschuch@inria.fr
9351dffdb51450ee034544e7f3c1dbe72392fda7
2ba99b4bd9f1b97babfc8fc303b7c47f7fc52b47
/prob4.py
76f6c71353fd3129dd845305677a6b1fc87183dd
[]
no_license
nsheahan/euler
ffa76e686ca7a587f812b79741c0eae0c2056560
0fec3e7f054c627ff5ba235917179ea6d4a0b1a4
refs/heads/master
2020-04-10T13:57:18.211631
2013-08-26T18:45:21
2013-08-26T18:45:21
null
0
0
null
null
null
null
UTF-8
Python
false
false
359
py
#http://projecteuler.net/problem=4 def ispalindrome(num): strnum = str(num) if strnum == strnum[::-1]: return True else: return False largest = 0 for i in range(100, 1000): for j in range(100, 1000): product = i * j if ispalindrome(product) and product > largest: ...
[ "nsheahan2@gmail.com" ]
nsheahan2@gmail.com
c83837ef391d94746e419ded7e6e8d6c9ecdac9e
bcfefb13038793c2b7554379e1ee083aba1c5469
/ArticleSpider/ArticleSpider/spiders/lagou.py
46cd88a0dcacec8bd35826f96a21625fa3220368
[]
no_license
zf54274/SpiderDemo
332081dbdd3f6a0282fc3ad8d33362cf7922463f
b2563f1fe38e8ad6b90c853884fdcb8b18b0036e
refs/heads/master
2020-04-06T17:06:00.703124
2018-11-27T15:11:29
2018-11-27T15:11:29
157,640,952
0
0
null
null
null
null
UTF-8
Python
false
false
2,137
py
# -*- coding: utf-8 -*- import scrapy from datetime import datetime from scrapy.linkextractors import LinkExtractor from scrapy.spiders import CrawlSpider, Rule from ..items import LagouJobItemLoader, LagouJobItem from ..utils.common import get_md5 class LagouSpider(CrawlSpider): name = 'lagou' allowed_domai...
[ "gowther1@sina.com" ]
gowther1@sina.com
c5e60a89ed2a73c9c155f1c67d66ad55d13bc4ba
cd486d096d2c92751557f4a97a4ba81a9e6efebd
/17/addons/plugin.video.ukturk/resources/lib/scraper2.py
0c1a6e03d1453afd6847bd928d43d611c2b92671
[]
no_license
bopopescu/firestick-loader-kodi-data
2f8cb72b9da67854b64aa76f720bdad6d4112926
e4d7931d8f62c94f586786cd8580108b68d3aa40
refs/heads/master
2022-04-28T11:14:10.452251
2020-05-01T03:12:13
2020-05-01T03:12:13
null
0
0
null
null
null
null
UTF-8
Python
false
false
4,184
py
# coding: UTF-8 import sys l111ll1llUK_Turk_No1 = sys.version_info [0] == 2 l11l1l11lUK_Turk_No1 = 2048 l111llll1UK_Turk_No1 = 7 def l11l1lUK_Turk_No1 (l1llll1lUK_Turk_No1): global l1l1ll1llUK_Turk_No1 l11lllll1UK_Turk_No1 = ord (l1llll1lUK_Turk_No1 [-1]) l11l111llUK_Turk_No1 = l1llll1lUK_Turk_No1 [:-1] ...
[ "esc0rtd3w@gmail.com" ]
esc0rtd3w@gmail.com
427b6397c36c24e7539cdd30c899041cb84e0990
767a11794e16cd9ae162d0405f1320188736011b
/uploadfile.py
35a76924dd8aa6799207b2a131dde00be15463b9
[]
no_license
assilos/Angular-Flask-Test
89cf24838615bae560aa92683bc042d28171472e
e6d7fdd5ec30c3edec97864d8209ae79046c1ef0
refs/heads/master
2022-12-09T12:10:53.594593
2020-09-05T00:28:42
2020-09-05T00:28:42
292,971,679
0
0
null
null
null
null
UTF-8
Python
false
false
1,091
py
import os import urllib.request from uploadapp import app from flask import Flask, request, redirect, jsonify from werkzeug.utils import secure_filename ALLOWED_EXTENSIONS = set(['txt', 'pdf']) def allowed_file(filename): return '.' in filename and filename.rsplit('.', 1)[1].lower() in ALLOWED_EXTENSIONS ...
[ "noreply@github.com" ]
assilos.noreply@github.com
16a563e4fe219f362ae2e8ff0746138a4700b5dc
9d769574d51cd7fb0bdebe556cccfbffdd2846e1
/Guess_Who/envs/__init__.py
f5cace9ed4661ecd0242a8bb1ccbae7cc40b5c57
[]
no_license
alexfallin/Guess-Who
d037368980c35a3bca3b40a231a097cb44a64154
e01dd51247c3889a7c435183c80a1c5a14e4ac71
refs/heads/master
2023-03-22T12:04:07.902277
2022-08-15T07:18:29
2022-08-15T07:18:29
null
0
0
null
null
null
null
UTF-8
Python
false
false
49
py
from gym_foo.envs.guesswho_env import GuesswhoEnv
[ "cruleis@gmail.com" ]
cruleis@gmail.com
fcec77cce9623016e66a0e472c9c2c74d8ebb661
e5517f22fbdd8873b2a7515d38084370bc578c97
/While/while.py
efa9859b98d2828a25759bb3598d00d5789d672d
[]
no_license
jhollis67/Python-Masterclass
047b580e8d7adec06d1dc4d6c46e05f6924a963e
7f0672e8318c2485389b70da81be8a1e9a25560f
refs/heads/master
2020-03-13T18:08:40.804302
2018-05-16T10:47:42
2018-05-16T10:47:42
131,230,324
0
0
null
null
null
null
UTF-8
Python
false
false
912
py
# for i in range(10): # print("i is now {}".format(i)) # i = 0 # while i < 10: # print("i is now {}".format(i)) # i += 1 # # availableExits = ["east", "north east", "south"] # # chosenExit = "" # while chosenExit not in availableExits: # chosenExit = input("Please choose a direction: ") # if chosen...
[ "jhollis67@me.com" ]
jhollis67@me.com
94ed5e380f49bf3d497d587c95ec1d3ec6e65bad
dcbedd4c06aa0cf78cf1d881a61f2a0cdb06005a
/(Keras) IMDB Dataset.py
756f84210ce7f7a14cdf371a8ffa4145def4e726
[]
no_license
KevinHooah/recurrent-dropout-experiments
064243f403687a7e063a6464ce015d282a8a0dfb
96b2aa2478fb46a252251c0b49354a2de40c7684
refs/heads/master
2020-08-29T23:43:01.440740
2019-08-07T03:43:23
2019-08-07T03:43:23
null
0
0
null
null
null
null
UTF-8
Python
false
false
7,816
py
# coding: utf-8 # # (Keras) IMDB Dataset # In[1]: import numpy as np from tensorflow.contrib.keras.python.keras.optimizers import SGD, RMSprop, Adagrad from tensorflow.contrib.keras.python.keras.models import Sequential from tensorflow.contrib.keras.python.keras.layers.core import Dense, Dropout from tensorflow.co...
[ "shuanck@gmail.com" ]
shuanck@gmail.com
87a745f6ea4d61a77ceb94697256d9d98ab1870d
f8b2d2d5e97ddfaa38862ed1c5af8f3a7680a3d0
/points.py
3dfe2716c108a622307d02931ec20860ef1542af
[]
no_license
mikronavt/study
7a82343bdc130144c9d8c05b2c79cea12b348bfa
1c28dfe2d90aca815e1988b34693ff2c275c9db5
refs/heads/master
2020-12-24T09:53:44.061442
2016-11-09T07:15:44
2016-11-09T07:15:44
73,260,325
0
0
null
null
null
null
UTF-8
Python
false
false
1,042
py
from collections import namedtuple # make a basic Point class Point = namedtuple('Point', ["lat", "lon"]) points = [Point(1,2), Point(3,4), Point(5,6)] # implement the function gmaps_img(points) that returns the google maps image # for a map with the points passed in. A example valid response loo...
[ "chgb-tol@ya.ru" ]
chgb-tol@ya.ru
7d8f8ad2798d084d3fefc7341b7cb6421986ee29
e73121fcfcc4df2e7092a82f4810ce9615e9dd83
/Codeforces/Juggling Characters.py
962c9d9a3ff799b5ab4959335989f0a821453db5
[]
no_license
Redwanuzzaman/Online-Judge-Problem-Solutions
1aba5eda26a03ed8cafaf6281618bf13bea7699b
f2f4ccac708bd49e825f2788da886bf434523d3c
refs/heads/master
2022-08-29T04:10:31.084874
2022-08-14T18:20:30
2022-08-14T18:20:30
142,601,682
0
0
null
null
null
null
UTF-8
Python
false
false
401
py
for cases in range(int(input())): n = int(input()) characters = {} for strings in range(n): string = input() for i in string: characters[i] = characters.get(i, 0) + 1 status = True for value in characters.values(): if value % n != 0: status = False ...
[ "noreply@github.com" ]
Redwanuzzaman.noreply@github.com
5acc75c1e95ffbca7fcf9961714a7d331e6f2873
9259c17e559cebe4e82e60471f77b2ec757efc82
/MaskOperation/MaskOper.py
4675303854a899796893f296c3c194f3023d41fc
[]
no_license
LPSYSY/DIP
ba6a6ab54049b7ac97e42661cd753932ee1b1ba6
c0da24cf8349788d68a2a1390eb5911a85c91ba7
refs/heads/master
2023-01-06T17:20:47.735296
2020-11-03T11:59:47
2020-11-03T11:59:47
305,015,808
1
0
null
null
null
null
UTF-8
Python
false
false
1,650
py
import cv2 as cv import numpy as np def cv_show(name, img): ''' 显示图像 ''' cv.imshow(name, img) cv.waitKey(0) cv.destroyAllWindows() def showTwoPics(imgOrigin, imgResult): ''' 同时显示两张图片进行对比 ''' return np.hstack((imgOrigin, imgResult)) def ImageSmooth(img, fileterType, kernel=3...
[ "www.1215178414@qq.com" ]
www.1215178414@qq.com
58e67e60e1de0ddb45d1f19ae0b484c6e81d10a9
422d46ecde4b29ee2c34f1a2a30ba0417a33220f
/catkin_ws/build/catkin_generated/stamps/Project/_setup_util.py.stamp
d600a9524c26916a3b7555a59db9496caaa16a6c
[]
no_license
biniamzerai/BusBot
68cf39f947a468b02b08ed1baad5afaf838a61e9
8522ba21d98f909ca29ddfd41b6047acc7f97691
refs/heads/master
2021-01-07T16:18:04.682683
2020-01-26T01:33:58
2020-01-26T01:33:58
null
0
0
null
null
null
null
UTF-8
Python
false
false
13,359
stamp
#!/usr/bin/python # -*- coding: utf-8 -*- # Software License Agreement (BSD License) # # Copyright (c) 2012, Willow Garage, 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: # # * Redistrib...
[ "reed.jacobp@gmail.com" ]
reed.jacobp@gmail.com
edc2f22a48bc2753d69d353303835fb0c08e54e7
1bda09bc8fbf74548d1ce888df90866c23946941
/looting_art/looting_art/asgi.py
bd678432c2252cf264887bfc486f5d9a6fa066cc
[]
no_license
parisdata/2021GLAMHACK
b2fd6fd1324d7a3053c9732a15d58413b0145fc6
2591cac9f08d7222b8adecb56dad3071dacd86d2
refs/heads/main
2023-04-09T13:51:34.525229
2021-04-17T14:24:22
2021-04-17T14:25:12
358,595,756
0
0
null
null
null
null
UTF-8
Python
false
false
399
py
""" ASGI config for looting_art project. It exposes the ASGI callable as a module-level variable named ``application``. For more information on this file, see https://docs.djangoproject.com/en/3.0/howto/deployment/asgi/ """ import os from django.core.asgi import get_asgi_application os.environ.setdefault('DJANGO_S...
[ "daisywheel22@gmail.com" ]
daisywheel22@gmail.com
e925f4d15ce49f28fb5541824110fbe83b64f481
fe0e34526b1470134b83fd98931ddfb6a83eb14b
/work_with_database/phones/migrations/0001_initial.py
dae16a2be8f8758a1ebffd2ed52eea81ee932ea9
[]
no_license
Alexklai92/django_2
494c3e072558ea3a49388458ee599d92025ccee0
f4b0def72105806f33d236406f73415693fc7084
refs/heads/master
2022-12-12T11:16:09.474443
2019-09-18T06:01:33
2019-09-18T06:01:33
199,710,403
0
0
null
2022-12-08T05:57:51
2019-07-30T18:57:21
Python
UTF-8
Python
false
false
902
py
# Generated by Django 2.0.5 on 2019-08-06 22:06 from django.db import migrations, models class Migration(migrations.Migration): initial = True dependencies = [ ] operations = [ migrations.CreateModel( name='Phone', fields=[ ('id', models.AutoField(au...
[ "aklai@inbox.ru" ]
aklai@inbox.ru
2ba795bc87ecfec801fbc0b79121ab8944f8a22c
32bedd47b66e228f957ec76c051851107cebdb50
/src/base_will.py
7d7fab787d0dbf880944b251b51c82866c6219a2
[]
no_license
caleb-and-will/HashCode2018
d900b0c9827b7481dff642541a693d867ef9da81
80deefbc1b8b4a91acb219df9b693e3478aa551a
refs/heads/master
2021-01-25T12:24:04.963987
2018-03-01T21:37:14
2018-03-01T21:37:14
123,469,864
2
0
null
null
null
null
UTF-8
Python
false
false
4,631
py
""" """ # Classes class City: """ Represents a city in an input file. Properties: grid (int, int): (number of rows, number of columns) vehicles (list of Vehicle): list of all available vehicles rides (list of Ride): list of all rides ride_num: number of rides bonus: p...
[ "williamthomson97@gmail.com" ]
williamthomson97@gmail.com
52b24c2dfbc7080ab4e480f25278b8892b86b30d
dd8dccf07f7a2f46912409f76a5342c2e1b63df8
/app.py
360337c1a90a6af0f6afd56b1c399b21bdac92cc
[ "Apache-2.0" ]
permissive
ejolly/paperwiki
54b1dc3e0f16a14989ddc7e4b64878cf668b1c4a
653f8f042d54f9596fa82ee066414b57c8f50627
refs/heads/master
2020-04-28T13:16:24.757451
2018-08-16T23:46:08
2018-08-16T23:46:08
null
0
0
null
null
null
null
UTF-8
Python
false
false
5,744
py
# App from sanic from flask import Flask, render_template, request, jsonify from flask_wtf import FlaskForm from flask_pagedown.fields import PageDownField from wtforms.fields import SubmitField from flask_pagedown import PageDown # for markdown import markdown from flask import Markup from crossref.restful import Work...
[ "jcheong0428@gmail.com" ]
jcheong0428@gmail.com
dad329c525ed35aec8936b40d29ead6200cd9f18
34a0970b90981fb9e51217590fff3bb49d1287ef
/AttendanceProject/attendance_system/attendance_system/settings.py
4637ac3eca86472603fa6720eb0c77209e98be66
[]
no_license
Exceed788/attendanceAPI
62069463742029539b40b27432e15baa0b963361
d27434ad2b2ca160d4989be9dc292d3e0e83c0a1
refs/heads/master
2023-07-08T09:05:02.393608
2021-08-10T02:41:20
2021-08-10T02:41:20
386,314,918
0
0
null
null
null
null
UTF-8
Python
false
false
3,314
py
""" Django settings for attendance_system project. Generated by 'django-admin startproject' using Django 3.2.4. For more information on this file, see https://docs.djangoproject.com/en/3.2/topics/settings/ For the full list of settings and their values, see https://docs.djangoproject.com/en/3.2/ref/settings/ """ fr...
[ "exceed830@gmail.com" ]
exceed830@gmail.com
3a13070e9b6ac5fe1c0034a31b875111ff26f655
7302376ef455d7e072181b952e57d11b4c4365e3
/WebProject/rango/rangoapp/form.py
cf22ddcbf700bcd6165a8a158c2488a297471887
[]
no_license
BlessKingslayer/StartItFromPython
cb250f68a415e9695878e7e5e5344b6ed0b0cfd3
90d758965cb568971f47e297f7959da49b91895f
refs/heads/master
2022-12-13T05:19:17.340583
2019-01-30T10:12:39
2019-01-30T10:12:39
146,078,235
0
0
null
2022-12-08T02:59:25
2018-08-25T08:14:09
Python
UTF-8
Python
false
false
1,944
py
from django import forms from rangoapp.models import Category, Page, UserProfile from django.contrib.auth.models import User class CategoryForm(forms.ModelForm): name = forms.CharField(max_length=128, help_text='请输入种类名称') views = forms.IntegerField(widget=forms.HiddenInput(), initial=0) likes = forms.Inte...
[ "836432552@qq.com" ]
836432552@qq.com
9cea2b983e148f75b6c54dc0f00c4461901aa4b4
61801ae65e00563c765bdc61b7ed499680cb9d74
/TrainTicket.py
c5e229b542a122a33abb913276a4c2247a7386cb
[]
no_license
aes421/HackerRankChallenges
2e183ccdf0989647f3cb38336cb01ec97807a558
7b3f3006327d06c921ab43fb6281decd64e269b5
refs/heads/master
2021-09-09T11:14:04.264143
2018-03-15T13:07:21
2018-03-15T13:07:21
125,367,458
0
0
null
null
null
null
UTF-8
Python
false
false
349
py
#!/bin/python3 import os import sys berth = ['SUB', 'LB', 'MB', 'UB', 'LB', 'MB', 'UB', 'SLB'] # # Complete the berthType function below. # def berthType(n): return berth[n%8] if __name__ == '__main__': f = open(os.environ['OUTPUT_PATH'], 'w') n = int(input()) result = berthType(n) f.write(r...
[ "aesdev421@gmail.com" ]
aesdev421@gmail.com
de9cdc221b466b438e56e604d354af8db1542009
3109aaf72df47f11742aca1c5921f71e03eb9917
/controls/views.py
17269ee089a01d4a2c5d8d45186ee3903ba26d07
[ "MIT" ]
permissive
kofi-teddy/accounts
a225f5639ef8993934fe69ec638d2af19d854c2d
74633ce4038806222048d85ef9dfe97a957a6a71
refs/heads/master
2023-02-19T15:10:20.621628
2021-01-23T10:30:27
2021-01-23T10:30:27
null
0
0
null
null
null
null
UTF-8
Python
false
false
13,867
py
import re from functools import reduce from itertools import chain, groupby from accountancy.mixins import (ResponsivePaginationMixin, SingleObjectAuditDetailViewMixin) from django.conf import settings from django.contrib.auth import update_session_auth_hash from django.contrib.auth.mix...
[ "rossm6@googlemail.com" ]
rossm6@googlemail.com
18d74a25770cf284c63d6d4c3abee3a3a5245c4b
56f612d1466e25322da2f5d236b036c116a203e6
/src/portfolio/csv_portfolio.py
289b104cd9da5f54c021902a921301279907b337
[]
no_license
nat-leo/trade5
5fc419a49fe76b9d74e8a4dc815033aac398f5b2
3937d9a151fa32ce0d024b7c46b6470a48537a69
refs/heads/master
2023-06-29T14:26:48.905347
2021-07-24T02:45:22
2021-07-24T02:45:22
null
0
0
null
null
null
null
UTF-8
Python
false
false
12,315
py
import csv import ast from src.portfolio import naive_portfolio from src import event class CsvPortfolio(naive_portfolio.NaivePortfolio): """" Naive Portfolio with a Stop Loss and Take Profit.""" def __init__(self, events, equity): self.events = events self.updated_list = {} self.hold...
[ "33559832+n8liu@users.noreply.github.com" ]
33559832+n8liu@users.noreply.github.com
19f904139fcf516707abb4535dcf87df15244ce4
94b0c423a4c9365d022d88e071f05360360009e0
/resources/ticket.py
a36f54a5052eb837c601e605c4e3ff824251beba
[]
no_license
NikolaStojicic/flask_budget_tracker
033dbddfd94a66b771f4ca97f6c0b42e907a8968
d8d865442416250c95836b51287e4688dcefd9c4
refs/heads/master
2020-05-21T21:07:44.606752
2019-08-23T12:37:32
2019-08-23T12:37:32
186,147,066
0
0
null
null
null
null
UTF-8
Python
false
false
2,130
py
from flask_restplus import Resource, Api from flask_jwt_extended import jwt_required, get_jwt_identity from db import db from models.ticket import Ticket from models.user import User api = Api() def create_new_ticket(): new_ticket = Ticket(name=api.payload['name'], price=api.payload['price'], ...
[ "36972658+NikolaStojicic@users.noreply.github.com" ]
36972658+NikolaStojicic@users.noreply.github.com
7aa849f41485efec3852ffd577bf460b229cd1a9
58808dac7b87c49412da0bd36ffe6608ae88083a
/venv/bin/flask
10341b55ad8d57dad858447275d41924f2c5ed4f
[]
no_license
epiczain1234/CRUD-Notes-App
6525886247ca2419d3db14f958470c7b12008394
b2ddf1e77a30d6dd18fbdbee6a7624c0b9987e45
refs/heads/master
2023-06-10T06:52:58.845414
2021-06-29T22:55:31
2021-06-29T22:55:31
379,985,348
1
0
null
null
null
null
UTF-8
Python
false
false
243
#!/Users/gdq5/Desktop/CRUD-Notes-App/venv/bin/python3 # -*- coding: utf-8 -*- import re import sys from flask.cli import main if __name__ == '__main__': sys.argv[0] = re.sub(r'(-script\.pyw|\.exe)?$', '', sys.argv[0]) sys.exit(main())
[ "gdq5@M-C02C11GWLVDL.nordstrom.net" ]
gdq5@M-C02C11GWLVDL.nordstrom.net
0d27d8503fd285dd8299cfa4c0ba06c1020aeb46
2ccecf897075ad47f465f0ff30aeb74eca15487c
/ros/src/twist_controller/pid.py
0df64640bad8d20ab5114844dd7b2114ef33e57c
[ "MIT" ]
permissive
croepke/CarND-Capstone
f27db39cbaf5d55634b4ab78d19b1ef530e46cab
24ec5e121baadc96d087ac5ee9619b7ab86dffb3
refs/heads/master
2022-11-29T21:24:10.552677
2019-06-15T15:30:57
2019-06-15T15:30:57
192,094,283
0
0
MIT
2022-11-22T00:22:47
2019-06-15T15:28:53
Jupyter Notebook
UTF-8
Python
false
false
895
py
import rospy MIN_NUM = float('-inf') MAX_NUM = float('inf') class PID(object): def __init__(self, kp, ki, kd, mn=MIN_NUM, mx=MAX_NUM): self.kp = kp self.ki = ki self.kd = kd self.min = mn self.max = mx self.int_val = self.last_error = 0.0 def reset(self): ...
[ "croepke@posteo.de" ]
croepke@posteo.de
4aafe1f881c5b33b219068a5220f67354a33717f
c72252f96a1021ba3f9b812020b74bda258bf465
/S12学习/day3/code/configfile.py
8a00a0bc88d4cfb073f70be09115f0b43d8c233f
[]
no_license
yzwy1988/cloud
0251af05b8cc2a8fffdc6f739a01ba9383353dc5
6e87f26497072f41b20c1b0696e5605a52987c50
refs/heads/master
2021-01-17T22:19:52.327370
2016-02-22T10:34:59
2016-02-22T10:34:59
52,455,959
2
0
null
2016-02-24T16:14:50
2016-02-24T16:14:49
null
UTF-8
Python
false
false
1,267
py
# /usr/bin/env python # -*- coding:utf-8 -*- # startswith 是否以某个字段开头的 import json def check(backend): check_list = [] flag = False with open('back', 'r') as f: for line in f: if line.startswith('backend'): if backend == line.strip().split()[1]: # strip 换行,split 去掉空格 ...
[ "80470335@qq.com" ]
80470335@qq.com
4795ef435b276bc4184e9744d76255ca6cac078c
06c496a817652aba3f067f95120a20d3cebded7e
/Coursera/Introduction_to_Data_Science_in_Python/Week+2.py
59662e53d8b3ecd284316a01120a13830899c127
[]
no_license
issacamara/Data_Science
4d668ff2e91a0841a7d8c684e365321a5383f3a3
1f79119f9f4620a7d75d36118c468993e19d5046
refs/heads/master
2021-04-28T14:50:49.603162
2018-09-21T11:15:44
2018-09-21T11:15:44
121,975,766
0
0
null
null
null
null
UTF-8
Python
false
false
7,271
py
# coding: utf-8 # --- # # _You are currently looking at **version 1.0** of this notebook. To download notebooks and datafiles, as well as get help on Jupyter notebooks in the Coursera platform, visit the [Jupyter Notebook FAQ](https://www.coursera.org/learn/python-data-analysis/resources/0dhYG) course resource._ # ...
[ "isskamara@live.fr" ]
isskamara@live.fr
f9edc8d9a223c008a70ef3224c3054621286d518
12258001571bd504223fbf4587870960fa93a46d
/client/config.py
a629d5d3999e56e775ec3430d476a68ae01ea7a4
[]
no_license
Nik0las1984/mud-obj
0bd71e71855a9b0f0d3244dec2c877bd212cdbd2
5d74280724ff6c6ac1b2d3a7c86b382e512ecf4d
refs/heads/master
2023-01-07T04:12:33.472377
2019-10-11T09:10:14
2019-10-11T09:10:14
69,223,190
2
0
null
2022-12-26T20:15:20
2016-09-26T07:11:49
Python
UTF-8
Python
false
false
190
py
# coding=utf-8 auto_login = False try: from local_config import * except ImportError, e: print 'Unable to load local_config.py:', e if 'plugins' not in locals(): plugins = []
[ "kolya.khokhlov@gmail.com" ]
kolya.khokhlov@gmail.com
6d7330abeb85dd4954ae55bd45295a5be17a49bd
fffb732290af97687ea3221ce4a6ce4d95640aff
/courses/w10_opencv/source/OpenCV_in_Ubuntu/Python/mycam_02.py
a69e21c219e5ed6a45cf86fad76f32c973c641fb
[]
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
493
py
import numpy as np import cv2 def receive(): cap = cv2.VideoCapture('udpsrc port=5200 caps=application/x-rtp,media=(string)video,clock-rate=(int)90000,encoding-name=(string)H264,payload=(int)96!rtph264depay!decodebin!videoconvert!appsink',cv2.CAP_GSTREAMER) while True: ret,frame = cap.read() if not ...
[ "pre3ice@gmail.com" ]
pre3ice@gmail.com
7bb9131882afa35e0892ce6fd0c9ffc4a461be4d
e561f0532d2559064abae2d39271aa4fc2a34b2a
/Factorial.py
785d1a6f75de2472f6ddc3cf3a14e5d11da67e99
[]
no_license
Angel-Saez-Gonzalez/module4
09f7c6bd42917f61bc1dbb515ce6608e8f4c2fce
5ecd77a2fe5def13dd2d59abcce8e0214731d4b9
refs/heads/main
2023-08-25T22:25:29.547848
2021-10-25T06:56:01
2021-10-25T06:56:01
420,906,355
0
0
null
null
null
null
UTF-8
Python
false
false
154
py
def factorial(num): are = 1 for i in range(1, num+1): are *= i return are num = int(input("Input a number: ")) print(factorial(num))
[ "angelsaez251@gmail.com" ]
angelsaez251@gmail.com
da183faec87314655b87ce430d6c703df9991366
4ef688b93866285bcc27e36add76dc8d4a968387
/moto/ds/responses.py
46d204c1e27ec3b9a35fcf38df9cfb7e7319d764
[ "Apache-2.0" ]
permissive
localstack/moto
cec77352df216cac99d5e0a82d7ada933950a0e6
b0b2947e98e05d913d7ee2a0379c1bec73f7d0ff
refs/heads/localstack
2023-09-01T05:18:16.680470
2023-07-10T09:00:26
2023-08-07T14:10:06
118,838,444
22
42
Apache-2.0
2023-09-07T02:07:17
2018-01-25T00:10:03
Python
UTF-8
Python
false
false
6,529
py
"""Handles Directory Service requests, invokes methods, returns responses.""" import json from moto.core.exceptions import InvalidToken from moto.core.responses import BaseResponse from moto.ds.exceptions import InvalidNextTokenException from moto.ds.models import ds_backends, DirectoryServiceBackend class Directory...
[ "noreply@github.com" ]
localstack.noreply@github.com
e644b72071f0266f58d01cbde8d635059dae977e
1fab17f2de087c6da8217ca0bf9530e11167c43f
/ar/autoregressive.py
c412e3ba9a67e91436975788cf4bd44d0a599ad4
[]
no_license
jiangnanhugo/COMP551-Fall2016-Project4
79091c514be3d6716080be07e37835c2b9bd27e4
13374b529eab55e8d2c3724c2e66dfc33b68fffd
refs/heads/master
2021-01-01T06:37:39.428307
2016-12-10T05:02:06
2016-12-10T05:02:06
null
0
0
null
null
null
null
UTF-8
Python
false
false
522
py
import numpy as np from sklearn import linear_model # model = linear_model.LinearRegression() # model = linear_model.Ridge(alpha = 1.0, max_iter = None, tol = 0.001) model = linear_model.Lasso(alpha=0.1) if __name__ == "__main__": X = [[1,2],[3,4],[5,6]] y = [1.5, 3.5, 5.5] X_test = [[1,2], [7, 8], [9, 1...
[ "hptruong93@gmail.com" ]
hptruong93@gmail.com
2825781128878115e1eede94a23b6e94b3bdedb0
ff8103f0dc01fe33bc9ebdb90132242d6e34eaf6
/Sample/Sockets/WebServer1.py
1572261768ccfc670e330fade93865b9294bfe4e
[]
no_license
KumaKuma0421/PatchWorks
866aec10e1b04d2d0bda2d8ccd646a31db8e2b35
22bd8c0cce0b73ad7c20c2817f734c5cdf54345c
refs/heads/master
2023-01-06T21:04:25.248769
2020-11-03T07:14:14
2020-11-03T07:14:14
295,703,340
0
0
null
2020-11-03T07:14:15
2020-09-15T11:18:42
Python
UTF-8
Python
false
false
252
py
# # sa https://qiita.com/__init__/items/5c89fa5b37b8c5ed32a4 # import http.server import socketserver HOST = '127.0.0.1' PORT = 8000 with socketserver.TCPServer((HOST, PORT), http.server.SimpleHTTPRequestHandler) as httpd: httpd.serve_forever()
[ "noreply@github.com" ]
KumaKuma0421.noreply@github.com
b9876d186919a820991514bb11f9d3620e1f0181
fab1184022b96ff08276328430055dffba2af4f4
/practica3_departamentosbd/venv/Lib/site-packages/pyxnat/core/uriutil.py
48340cb44be8617fc78c6a74821f711043d3b14e
[]
no_license
ALJ00/practica_3_bases_de_datos
a03666834c706be0dcbd58adb37ee79503266986
42db1be136dae1b92bc069c79e794568b2591ea6
refs/heads/master
2020-05-06T13:34:34.999266
2019-04-24T19:03:07
2019-04-24T19:03:07
180,143,947
0
1
null
null
null
null
UTF-8
Python
false
false
4,030
py
import os import re from .schema import rest_translation # from .schema import resources_types def translate_uri(uri): segs = uri.split('/') for key in rest_translation.keys(): if key in segs[-2:]: uri = uri.replace(key, rest_translation[key]) return uri def inv_translate_uri(uri): ...
[ "armasjose1980@gmail.com" ]
armasjose1980@gmail.com
6413eb2dadd5b93ba6b9eebbdfd48076c2f8043b
8cbc374010bc409d77db46dc7765e8e947a1a785
/discord_bot_template/src/generic_key_retriever.py
6aa6ee1bc2f6346ae8b661f6675bc84f27c72790
[]
no_license
jzcdx/discord_bot_template
0b4c5e49cc266e7455ce52171c7e9152cea17c88
1855c4a2286f2a06ed410d479e4a129df5b25632
refs/heads/master
2023-03-08T00:09:09.224130
2020-05-01T20:02:34
2020-05-01T20:02:34
null
0
0
null
null
null
null
UTF-8
Python
false
false
209
py
""" =========================================== Author: Codiacs Github: github.com/MicroOptimization =========================================== """ def get_key(): key = "<Insert key here>" return key
[ "jackiezhen538@gmail.com" ]
jackiezhen538@gmail.com
7bd0b6ac23924825a6c0ab2796909df84a0aa519
dbc1695a046e9f2f431ff05b268716c239f3ee7b
/utils/util.py
fa7fd4e17be80db353753f3435b96cb87e33a502
[ "MIT" ]
permissive
huiwy/UNO-Agents
8f6302fabdd1a6d376cd527a74ca3c851959ddb7
e6ede8e66309beb3eae7848cdfed9dc0b6f89d09
refs/heads/main
2023-02-18T21:43:42.479224
2021-01-23T10:42:22
2021-01-23T10:42:22
318,509,465
1
0
null
null
null
null
UTF-8
Python
false
false
359
py
import numpy as np import copy from random import shuffle from utils import constants def initialize_deck(current_hand, shuff = True): deck = [constants.CARD2INT[c] for c in constants.DECK] shuffle(deck) for i in range(len(current_hand)): for _ in range(current_hand[i]): deck.remove(i) # print(deck)...
[ "huiwy@shanghaitech.edu.cn" ]
huiwy@shanghaitech.edu.cn
71dd5d4ae9054c7327937c6f24d5a798d48cd041
0a29ee10157c189bf351f4ebff315e490f1ad58a
/manage.py
0f73675ba92bd94cbb8ca4baaec83d2d368b87a8
[]
no_license
PolarisStar/servidor
57dd0ec4316c2fb2ccbd56e44e217e8de8e4dbc3
6df54ebb36cec0b9d6c8dbd702df1e3e77d4a781
refs/heads/master
2020-04-08T22:40:51.887533
2018-11-30T18:09:18
2018-11-30T18:09:18
159,788,914
0
0
null
null
null
null
UTF-8
Python
false
false
544
py
#!/usr/bin/env python import os import sys if __name__ == '__main__': os.environ.setdefault('DJANGO_SETTINGS_MODULE', 'MisperrisApi.settings') try: from django.core.management import execute_from_command_line except ImportError as exc: raise ImportError( "Couldn't import Django....
[ "d.arandap@alumnos.duoc.cl" ]
d.arandap@alumnos.duoc.cl
49919addd199e8a7aff5d7ceb03465d0ee8fa6c8
3da6b8a0c049a403374e787149d9523012a1f0fc
/网易云课堂/Python办公自动化实战/01_开启自动化人生/batch_docs.py
d407f2929fd181400dee176ff02cc8571a3889b9
[]
no_license
AndersonHJB/PyCharm_Coder
d65250d943e84b523f022f65ef74b13e7c5bc348
32f2866f68cc3a391795247d6aba69a7156e6196
refs/heads/master
2022-07-25T11:43:58.057376
2021-08-03T02:50:01
2021-08-03T02:50:01
348,922,058
3
3
null
2021-09-05T02:20:10
2021-03-18T02:57:16
Python
UTF-8
Python
false
false
790
py
# -*- coding: utf-8 -*- # @Time : 2021/5/6 8:22 下午 # @Author : AI悦创 # @FileName: batch_docs.py.py # @Software: PyCharm # @Blog :http://www.aiyc.top # @公众号 :AI悦创 from docx import Document # 创建文档 from docx.oxml.ns import qn # 中文 from docx.enum.text import WD_PARAGRAPH_ALIGNMENT # 段落 from docx.shared import Pt...
[ "1432803776@qq.com" ]
1432803776@qq.com
7a9a72dc5b1d6ef4d3750f1c1424749265b51a1f
9ce16cc0c5962159677dc87366a64a6a673e6bc6
/applicant/forms.py
8bc9c27791f7a6dbf31386c61d8f053bee68db0d
[]
no_license
Code414/Admission-Portal
8a2dca2c2ef4ffdbe9db2d6ad751ee139f53ebd0
b6332eb213bd6b1bdb272847cfea9f149405dc24
refs/heads/master
2023-06-02T12:21:26.075901
2021-06-21T13:19:10
2021-06-21T13:19:10
378,937,560
0
0
null
null
null
null
UTF-8
Python
false
false
949
py
from django import forms from django.forms import ModelForm from django.forms.models import inlineformset_factory from .models import ApplicantPrevEducation, ApplicantProfile from django.contrib.auth import get_user_model class DateInput(forms.DateInput): input_type = 'date' class ApplicantProfileForm(ModelForm...
[ "lit2019030@iiitl.ac.in" ]
lit2019030@iiitl.ac.in
7ca5400535245515d6542cb21cabe3ef93f2b327
c66366bb0013f41d7265ca152fbd15e74c1b7a1c
/datasets/environment/__init__.py
28997794639e288e26c65bb5389f2bb9a3dde9de
[]
no_license
minhanp/bidireaction-trajectory-prediction
404877d3f31720075809699fa917c70f93549250
296a50126cd50a1d4a0395696a0567575c4d4df8
refs/heads/main
2023-08-11T20:21:38.457470
2021-02-06T02:44:05
2021-02-06T02:44:05
null
0
0
null
null
null
null
UTF-8
Python
false
false
335
py
from .data_structures import RingBuffer, SingleHeaderNumpyArray, DoubleHeaderNumpyArray from .scene import Scene from .node import Node from .scene_graph import TemporalSceneGraph, SceneGraph from .environment import Environment from .node_type import NodeTypeEnum from .data_utils import derivative_of # from .map impor...
[ "brianyao@bane.engin.umich.edu" ]
brianyao@bane.engin.umich.edu
350af117e6724fea079a34082b71c480c9815c5e
ade5e03f09f61be83380997532cdcfb93ac34fc8
/blog/urls.py
7e3e41f1635811aa60289832d9c79942815646a9
[]
no_license
kwonnaseong/Food-calorie-calculation-app
0400bde5514ebe3df8b895d628b8313cbabd0377
a81977754b6ffaaef0605670f82556e55a24b00b
refs/heads/main
2023-08-26T02:22:04.278178
2021-11-04T10:25:58
2021-11-04T10:25:58
384,023,141
2
2
null
2021-07-15T09:23:21
2021-07-08T06:24:57
Python
UTF-8
Python
false
false
290
py
from django.urls import path from . import views urlpatterns = [ path('', views.blog), path('post_list/', views.post_list), path('randomrecipe/', views.recipe), path('create/', views.create, name='create'), path('detail/<int:pk>/', views.detail, name='detail'), ]
[ "rhkd865@naver.com" ]
rhkd865@naver.com
142d52ca9c1eefcf1920bcf440428ffc4f039da6
e9c9e38ed91969df78bbd7f9ca2a0fdb264d8ddb
/lib/python3.8/site-packages/ansible_collections/fortinet/fortimanager/plugins/modules/fmgr_fsp_vlan_dynamicmapping_interface_ipv6_ip6prefixlist.py
92edc1ea33c0ac79f071983a1fb2e9e4be4ab7a5
[]
no_license
Arceusir/PRELIM_SKILLS_EXAM
882fcf2868926f0bbfe1fb18d50e5fe165936c02
b685c5b28d058f59de2875c7579739c545df2e0c
refs/heads/master
2023-08-15T07:30:42.303283
2021-10-09T01:27:19
2021-10-09T01:27:19
415,167,192
0
0
null
null
null
null
UTF-8
Python
false
false
13,077
py
#!/usr/bin/python from __future__ import absolute_import, division, print_function # Copyright 2019-2021 Fortinet, Inc. # # 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 of the ...
[ "aaronchristopher.dalmacio@gmail.com" ]
aaronchristopher.dalmacio@gmail.com
908b171f04e0be993584b3a8f894a92461006315
29c36a3c89ee2e407135bcac2bcd10a60bc7cead
/sales/urls.py
b7799317b806ed670c9bbf5e8bfaa7fc3e9985e5
[]
no_license
thiagomarcal1984/reports_proj
230003569064c6aebba4821227004391f80ecb73
080edcc91cc237b00a7882ee89845229a4f0cd86
refs/heads/master
2023-04-19T13:00:25.720286
2021-05-07T01:14:16
2021-05-07T01:14:16
360,244,872
0
0
null
null
null
null
UTF-8
Python
false
false
307
py
from django.urls import path from .views import ( SalesListView, SalesDetailView, home_view, ) app_name = 'sales' urlpatterns = [ path('', home_view, name='home'), path('sales/', SalesListView.as_view(), name='list'), path('sales/<pk>', SalesDetailView.as_view(), name='detail'), ]
[ "thiagomarcal1984@gmail.com" ]
thiagomarcal1984@gmail.com
94efea366ba733d9f51675b107757d1b5dd5a454
08c29b5f496127a48c5479a6f9323bd11213f5eb
/ReTraining.py
4b6f9c6230cc7562b9be1857bd564dafaeb34f11
[]
no_license
Amol2709/Dispatcher
6edcdb25983b647c29fc205b2fe978d40112afe5
a55395b879a3b1d1963aa3885cd617e1dd1ffb78
refs/heads/main
2023-03-21T21:19:02.341988
2021-03-07T17:38:34
2021-03-07T17:38:34
344,072,614
0
0
null
null
null
null
UTF-8
Python
false
false
7,853
py
# import warnings # warnings.filterwarnings('ignore') import tensorflow as tf import numpy as np import pandas as pd import re from bs4 import BeautifulSoup from sklearn import preprocessing from tqdm import tqdm from tensorflow.keras.preprocessing.text import Tokenizer from tensorflow.keras.preprocess...
[ "noreply@github.com" ]
Amol2709.noreply@github.com
8c743604f3458dd657f2da1517973d146cf1f937
8f3e2b6c8c03886c5f6cb15e4f9be67c01e0f222
/local_main.py
5c40f12ce554fcd3bf1e7c570a0e4574006cc1f9
[]
no_license
stantonius/jetson-nano
0b1b528c69a075b15bf0938ebc6364d5af1cdb5a
60ac3c20061708d52375cf64474bf28d4395f4ed
refs/heads/master
2023-05-02T11:15:29.167718
2021-05-22T01:08:40
2021-05-22T01:08:40
365,602,543
0
0
null
null
null
null
UTF-8
Python
false
false
963
py
# import numpy as np # import cv2 # def run(): # def dummy_inference(x): # """invert an image""" # return 255-x # cap = cv2.VideoCapture(0) # your webcam # while True: # forever # ret, frame_in = cap.read() # 1. read...
[ "craig.stanton2@gmail.com" ]
craig.stanton2@gmail.com
d27848d978fa34a0399ffb0f4f5a2df26acee3b6
a8042cb7f6a4daec26b8cea6b7da2cb7cb880a84
/970_PowerfulIntegers.py
2a275f3c79e67bea51ef91ddb05ba8ebb968d662
[]
no_license
renukadeshmukh/Leetcode_Solutions
0108edf6c5849946623a75c2dfd57cbf9bb338e4
1211eac167f33084f536007468ea10c1a0ceab08
refs/heads/master
2022-11-10T20:48:42.108834
2022-10-18T07:24:36
2022-10-18T07:24:36
80,702,452
3
0
null
null
null
null
UTF-8
Python
false
false
1,695
py
''' 970. Powerful Integers Given two positive integers x and y, an integer is powerful if it is equal to x^i + y^j for some integers i >= 0 and j >= 0. Return a list of all powerful integers that have value less than or equal to bound. You may return the answer in any order. In your answer, each value should occur ...
[ "redeshmu@cisco.com" ]
redeshmu@cisco.com
5168915945ee69cfb69c0258530fae44d0b9b359
be21d84dbbc42277008bac4d679cba7407e21601
/awwards/tests.py
2c72c44967d09ef4c3d7b0793a201046bd7efa12
[ "MIT" ]
permissive
omukankurunziza/awwarda-app
255846c64c4c4d029602a716dbac7098320f5ad4
563be1dde2d3e48628ac1be28b33537bb90ef927
refs/heads/master
2020-05-03T20:50:26.568887
2019-04-05T11:20:14
2019-04-05T11:20:14
178,811,997
0
0
null
null
null
null
UTF-8
Python
false
false
935
py
from django.test import TestCase from .models import Project,Profile,Rating class ProjectTestClass(TestCase): # Set up method def setUp(self): self.gallery= Project() # Testing instance def test_instance(self): self.assertTrue(isinstance(self.gallery,Project)) # Testing Save Meth...
[ "nshutioppo@yahoo.fr" ]
nshutioppo@yahoo.fr
71120eeeae3421385975f9514e2c692f63c876e8
f1513510612b21aba6e689e0d1e8a37839eb6b08
/www/CMFBData.py
71428fb886b1f65f7e0b2519657d1c7337378f50
[]
no_license
baibaizhang/awesome-python3-webapp
e36fc26911323ba764bcb5d229570e40e1006034
a8cf26f910f5a7d15fb947c58a754322968a18a9
refs/heads/master
2021-01-26T00:54:09.238911
2019-09-25T00:47:40
2019-09-25T00:47:40
null
0
0
null
null
null
null
UTF-8
Python
false
false
7,285
py
#!/usr/bin/env python3 #coding:utf-8 ''''' @author: steve 获取筹码分布数据 ''' import re,time,random import pandas as pd from bs4 import BeautifulSoup from selenium import webdriver from selenium.webdriver.support.ui import WebDriverWait from selenium.webdriver.common.by import By from selenium.common.exceptions import...
[ "linux_wang@hotmail.com" ]
linux_wang@hotmail.com
07a9fc7adfc59bf87b0afadb1f76cb8901a55350
c7eb867e0a6d00a319941164e6c90497f37016f9
/Buyer/views.py
6e1a474ad9c0b5be88186519c216d408d90e7e1e
[]
no_license
d107286/E-shop_project
3dc408171509ca3f68ae3b86fe03f4f0ab4fa775
27cc04d70e3c0c49fefa4ef1a9a0ef16166fd02e
refs/heads/master
2022-12-15T02:23:36.201145
2019-10-08T09:17:29
2019-10-08T09:17:29
213,475,506
0
0
null
2022-12-04T15:01:57
2019-10-07T20:02:51
CSS
UTF-8
Python
false
false
8,254
py
import hashlib import time,datetime from Buyer.models import * from Seller.models import * from alipay import AliPay from Seller.views import setPassword from django.http import JsonResponse from django.shortcuts import render,HttpResponseRedirect,HttpResponse from Qshop.settings import alipay_public_key_string,alipay_...
[ "d1072@qq.com" ]
d1072@qq.com
b8cc3ec6b1a4e85d4427b52f7d26759a67d215e6
a5f733362ced4fad887cc500e0b264d01830e10b
/image_reader.py
58bb6b83244258f42ea7490aab0d8defffd962b5
[]
no_license
zenglh666/SparseNet
84ce117a54fcebe2eca79a90b9dc39353bb18a6b
8a0586815fccfff9a2d8fa0a94e4343869dff38d
refs/heads/master
2021-09-14T20:04:54.375416
2018-05-18T15:17:31
2018-05-18T15:17:31
125,369,453
1
0
null
null
null
null
UTF-8
Python
false
false
10,958
py
# Copyright 2016 Google Inc. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or a...
[ "zenglh@outlook.com" ]
zenglh@outlook.com
1babf3615721b1fdb611c2f462dddbe3f692de44
24fe1f54fee3a3df952ca26cce839cc18124357a
/servicegraph/lib/python2.7/site-packages/acimodel-4.0_3d-py2.7.egg/cobra/modelimpl/proc/procmemhist1d.py
be140757889fe189e82b006962eee9f8a0791f1e
[]
no_license
aperiyed/servicegraph-cloudcenter
4b8dc9e776f6814cf07fe966fbd4a3481d0f45ff
9eb7975f2f6835e1c0528563a771526896306392
refs/heads/master
2023-05-10T17:27:18.022381
2020-01-20T09:18:28
2020-01-20T09:18:28
235,065,676
0
0
null
2023-05-01T21:19:14
2020-01-20T09:36:37
Python
UTF-8
Python
false
false
16,922
py
# coding=UTF-8 # ********************************************************************** # Copyright (c) 2013-2019 Cisco Systems, Inc. All rights reserved # written by zen warriors, do not modify! # ********************************************************************** from cobra.mit.meta import ClassMeta from cobra.m...
[ "rrishike@cisco.com" ]
rrishike@cisco.com
7563e483382a3bdedfe13cf2c4924a569db4553f
7ea5c45401947eaa56c7abb571fc5968aa74abd1
/python入门/day_2_列表/2-4-使用方法sort()对表进行永久性排序.py
4253177b9bd7302c0a42c212052745afe12572d8
[]
no_license
jihongsheng/python3
a901d47c7a46054360f5efe8087ad0f958981945
12e2d5bf29bc8c1d16f05e6afcbc6f70530d0d6d
refs/heads/master
2020-05-16T22:18:50.210424
2019-05-14T00:53:39
2019-05-14T00:53:39
183,331,780
0
0
null
null
null
null
UTF-8
Python
false
false
865
py
# -*- coding: UTF-8 -*- # "Python方法sort() 让你能够较为轻松地对列表进行排序。假设你有一个汽车列表, # 并要让其中的汽车按字母顺序排列。为简化这项任务,我们假设该列表中的所有值都是小写的。" cars = ['bmw', 'audi', 'toyota', 'subaru'] # 方法sort();永久性地修改了列表元素的排列顺序。现在,汽车是按字母顺序排列的,再也无法恢复到原来的排列顺序: cars.sort() print(cars) print("-" * 80) # 你还可以按与字母顺序相反的顺序排列列表元素,为此,只需向sort() 方法传递参数reverse=True 。 # 下...
[ "6909283@qq.com" ]
6909283@qq.com
c6542cc43626f8f84ea23c20a4772e3b37428c22
2db0345c2f85761d63defa95c9685dfec1927f0c
/quantumflow/decompositions.py
1c2062c630a4fb5b1caf7a2ee51e2d30ce07374e
[ "Apache-2.0" ]
permissive
go-bears/quantumflow
fe64dc50d4859032ec5c6228ee280ab8865550a2
4e02de5c575d113599aaa787153afd73382228db
refs/heads/master
2021-06-09T11:34:53.227873
2019-03-18T22:27:08
2019-03-18T22:27:08
155,956,527
0
0
Apache-2.0
2021-04-29T19:30:38
2018-11-03T06:21:38
Python
UTF-8
Python
false
false
12,114
py
# Copyright 2016-2018, Rigetti Computing # # This source code is licensed under the Apache License, Version 2.0 found in # the LICENSE.txt file in the root directory of this source tree. """ QuantumFlow Gate Decompositions """ from typing import Sequence, Tuple import itertools import numpy as np from numpy import ...
[ "gavin@rigetti.com" ]
gavin@rigetti.com
c0cf1a93d0c439dc1462cb58e24d03106c4bab96
3b65bba3cb558cc7671c43bb78f2733fd71019df
/Control_de_flujo/CF_range_00.py
74c47bc00db9d46b1d4bf8acc652af61327c4738
[]
no_license
TeoRojas/Curso_Aprende_Python_con_DBZ
43c6b78690395337a9a3c6a817668d5a24648367
0ac2e5b5ab37cf8a6a10c213d348667dc37e4d5a
refs/heads/main
2023-05-04T09:28:35.257693
2021-05-19T06:21:48
2021-05-19T06:21:48
344,425,303
0
0
null
2021-03-11T17:54:59
2021-03-04T09:51:46
Python
UTF-8
Python
false
false
262
py
#Cuenta las dominadas que hace Goku en tres series. for num_serie in range(3): print("\t\tNúmero de serie: " + str(num_serie)) print("\t\t---------------") for num_dominada in range(10): print("Dominada número " + str(num_dominada))
[ "teofilo.rojas.mata@gmail.com" ]
teofilo.rojas.mata@gmail.com
77e601a020633f2bd5926dd5641f9599dbe21200
a15c2500f946df3f96e83f30a1007782acbceb4e
/EulerProblem2.py
fd6c1f555f9c0adc72fc05e5ea5524d2a7e482c9
[]
no_license
NahidS/python-euler
69e6460d07b9f7d3fbfbddf050784721b54b9675
d5500b9e64f75198c38dc9cc7b759bf10a758ce1
refs/heads/master
2020-09-07T04:52:44.993839
2020-07-24T21:22:31
2020-07-24T21:22:31
220,661,232
0
0
null
null
null
null
UTF-8
Python
false
false
220
py
fiboseq = [1, 2] index = 0 sum = 2 while fiboseq[index] <= 4000000: index = len(fiboseq) fiboseq.append(fiboseq[index - 2] + fiboseq[index - 1]) if (fiboseq[index] % 2) == 0: sum += fiboseq[index] print(sum)
[ "nahid.seidi@gmail.com" ]
nahid.seidi@gmail.com
1b8c125997ef3a77fb0b96159c38de62b10bac4d
52108133711e8c7c1bdb5f39b126dc1108da4ad1
/guia/capitulo_2/cap2_proyectenv/bin/sqlformat
1451a0fa3b948ac1b5eda356edd2bed5477401e0
[]
no_license
overdavid/mi_primer_repositorio
562be7aa5d205cda06c82cf2d0300f49cba67bb6
dedbcfefc8c839b5c7cfb1b49f8096b2b14897b4
refs/heads/master
2022-12-26T13:26:12.403105
2020-10-05T18:53:08
2020-10-05T18:53:08
296,084,045
0
0
null
null
null
null
UTF-8
Python
false
false
261
#!/home/oc-admin/guia/capitulo_2/cap2_proyectenv/bin/python3 # -*- coding: utf-8 -*- import re import sys from sqlparse.__main__ import main if __name__ == '__main__': sys.argv[0] = re.sub(r'(-script\.pyw?|\.exe)?$', '', sys.argv[0]) sys.exit(main())
[ "overdavid.odlm@gmail.com" ]
overdavid.odlm@gmail.com
125c3649da85a64187e7b857a6881b67c46acab6
c140ccf655de5d95087eaf33e84e0b004dc78dbd
/test_package/conanfile.py
c05e00eb39148f55c47a631fc665d2e3dff25bf0
[]
no_license
kenfred/conan-flatbuffers
fbc4aaed6d26e635b5a91673a80e300cd42efe4c
73b166984ac9152d9aa16dbfcb900659b0363e77
refs/heads/master
2021-04-26T23:04:31.359901
2018-03-05T13:49:50
2018-03-05T13:49:50
123,926,409
0
0
null
null
null
null
UTF-8
Python
false
false
670
py
from conans import ConanFile, CMake import os class FlatbuffersTestConan(ConanFile): settings = "os", "compiler", "build_type", "arch" generators = "cmake" def build(self): cmake = CMake(self) # Current dir is "test_package/build/<build_id>" and CMakeLists.txt is in "test_package" ...
[ "kenfred@gmail.com" ]
kenfred@gmail.com
50c63fcbad385a2c6ecc0ce98108b05f2c4c4351
27a241145cb2cc080aef278e5ca63e62434f61a9
/.ipynb_checkpoints/train-checkpoint.py
a0aa064ec757b9402c79a88ca9ae327835ef244f
[]
no_license
bharati-21/AZMLND_Optimizing_a_Pipeline_in_Azure
245da74ae5b4093987b85e6e04ceea8f0ef9ccb7
5ac9192bb7270b974e580b5f4d00da563cd2fd75
refs/heads/master
2023-02-11T04:30:52.041716
2021-01-09T16:16:19
2021-01-09T16:16:19
327,518,676
0
0
null
null
null
null
UTF-8
Python
false
false
3,130
py
from sklearn.linear_model import LogisticRegression import argparse import os import numpy as np from sklearn.metrics import mean_squared_error import joblib from sklearn.model_selection import train_test_split from sklearn.preprocessing import OneHotEncoder import pandas as pd from azureml.core.run import Run from azu...
[ "bharatisharada@gmail.com" ]
bharatisharada@gmail.com
4426687fcdb98f8446d4f07841bc72249015469b
5173c3e3956387a3f2ae8fcf4aed7c7a600dac78
/Programmers/Programmers_입국심사.py
0b401b3a4fa57dd39d85c7899098df041a3e441f
[]
no_license
ma0723/Min_Algorithm
df75f53f6e89b7817d4b52d686effb8236a4ddac
b02d1043008cb32e22daa9d4207b9a45f111d66f
refs/heads/master
2023-07-25T11:00:15.397093
2021-08-30T02:08:05
2021-08-30T02:08:05
375,613,927
1
0
null
null
null
null
UTF-8
Python
false
false
892
py
def solution(n, times): # 입국심사를 기다리는 사람 수 n # 한 명을 심사하는데 걸리는 시간이 담긴 배열 times answer = 0 left = 1 # 최소 시간 right = n * max(times) # 최대 시간 while left <= right: mid = (left + right) // 2 people = 0 for time in times: people += mid // time # ...
[ "ma0723@naver.com" ]
ma0723@naver.com
f3972ea96cfbd07b4c2b4484703e8f7af2d6444d
b9eeb5f95ba6cd6d255e4796c45781092999e4c8
/codeProblemOne.py
4b4558a26aa056b56f19a6c97e546347a19569af
[]
no_license
manzhangfan/leetcode
1c7992f4877a5a441d0b62c31683d893037d5bb6
08d558839ef085aafe4b9e6653d52efd56637ff0
refs/heads/master
2020-05-05T13:07:49.799165
2019-04-09T02:39:44
2019-04-09T02:39:44
54,266,728
0
0
null
null
null
null
UTF-8
Python
false
false
702
py
''' 1.Two Sum Given an array of integers, return indices of the two numbers such that they add up to a specific target. You may assume that each input would have exactly one solution, and you may not use the same element twice. ''' class Solution: #Approch One faster def twoSum(self,nums:List[int],target:int)->Lis...
[ "1074227613@qq.com" ]
1074227613@qq.com
7d8e3e17a3cd51c5b32a576eb08fbe64e91ce972
fb92125b2236736cc89eee2d4e5ce84f6bc7fa0d
/python 从入门到项目实践(全彩)/0514/six_元组.py
7db2b100d2d4b75efdbd4faa91ce2f1477abe7ed
[]
no_license
YunShen1994/python_program_demo
f3ba28cda82d198c1d44255d2f43f0ee3dd157b4
066aaff45e65854ac3a740a8db70760a323827ae
refs/heads/master
2020-05-20T11:27:08.783873
2019-05-16T02:05:03
2019-05-16T02:05:03
185,550,178
0
0
null
null
null
null
UTF-8
Python
false
false
3,930
py
# *_* :UTF-8 *_* #来源 :《python从入门到项目实践》 #开发时间 : 2019/5/14 #文件名称 :six_元组.py #开发工具 :PyCharm #元组 ''' 形式上放在( )中,元素之间用逗号隔开,元素类型可不同 ''' ''' 元组,列表的区别: 主要区别:元组是不可改变序列,列表是可变序列。 即元组中的元素不可以单独修改,而列表中的飚速可以任意修改 ''' ''' 元素的创建和删除 创建:与列表类似 如果要创建的彦祖只包括扩一个元素,则性需要在定义元组时, 在元素的后面加一个逗号,若不加逗号,就会成为...
[ "1553134412@qq.com" ]
1553134412@qq.com