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
ac01bdd5589359c258361d561d1a4135be0b5e19
b74c78396a77bc7e43272b790cb4f12a2f61d498
/plotlib_to_IE.py
f0b17ea6eb599bda46d12ba0f6a4368abafbed1e
[ "MIT" ]
permissive
louisopen/SimpleHTTPserver
39c4de1579ddfb0b44dad5b221db2c2a5e41a072
59259901c67cee61f031f152f1ee022db9dcf0ab
refs/heads/master
2020-05-03T02:17:36.404679
2019-11-24T11:28:26
2019-11-24T11:28:26
178,365,179
1
0
null
null
null
null
UTF-8
Python
false
false
1,796
py
#!/usr/bin/python #coding=utf-8 # 將matplotlib所創建的圖面, 直接呼叫本機的IE(開啟預定)瀏覽器顯示圖形 import pandas as pd import matplotlib.pyplot as plt from io import BytesIO from lxml import etree import base64 import urllib # 获取数据集,用 urllib 库下载 iris 数据集作为示例 url = "http://aima.cs.berkeley.edu/data/iris.csv" setl = urllib.request.Request(url...
[ "louisopen@gmail.com" ]
louisopen@gmail.com
7ac9434155a922f056ee417d20b59c11bdad7dc6
044350ba74cd40db53fc51bcf8769d0ba6e53916
/tools/converter/onnx/models/shufflenet_opset_9/TestOnnx.py
8fc2c2a5ecdbbf56cfd90d77b917899c9957beff
[ "Apache-2.0" ]
permissive
ishine/MAI
cc94c3961d5694e8a9464c9575a2a5eccee7035e
64753cd2f59af2949896937c2e5dbfc4d8bab1e0
refs/heads/master
2021-06-22T14:51:34.735501
2021-04-23T07:06:55
2021-04-23T07:06:55
210,828,572
0
0
Apache-2.0
2021-04-23T07:06:56
2019-09-25T11:30:45
C++
UTF-8
Python
false
false
2,704
py
import onnx import caffe2.python.onnx.backend as backend import numpy as np import torch def addModelOutput(model, name, dims, elem_type=1): value_info = model.graph.output.add() value_info.type.tensor_type.elem_type=elem_type value_info.name = name for tmpDim in dims: dim = value_info.type.ten...
[ "15601910741@163.com" ]
15601910741@163.com
d69baecf07111352bcca971246e095e8997453a0
6271e999dd0b4c8820a33fa12e5cf86a74091f21
/Project/GradientX.py
5777fe521530af025487e1b5f3afc116ee7ea9c9
[]
no_license
25dishant/Digital-Image-Processing-Laboratory
5b402a8052e1f738404004ac1c709c7b0ad2ac98
dd30ad57752d01f96429f3dfef0b74ec47ba3892
refs/heads/main
2023-01-21T21:38:56.256407
2020-11-19T18:03:19
2020-11-19T18:03:19
308,820,477
1
0
null
null
null
null
UTF-8
Python
false
false
1,998
py
import numpy as np import cv2 as cv import math def GradientX(ImageName, kernel_size, Sobel_kernelX): # Conversion of Image into a matrix image = cv.imread(ImageName) image = cv.cvtColor(image, cv.COLOR_BGR2GRAY) # Open Image Grayscale Mode ImageMatrix = [] # Initialise a list to keep the Image in ...
[ "25dishant@gmail.com" ]
25dishant@gmail.com
47f13f60bbde6624f6f14638ac656ca92fc489e9
c4aec154c432886e81da8c9008979e2a2fa4200e
/manage.py
f45ab14f92119dfe3dedd7725d054fa9d5ca7d7f
[]
no_license
ytl6547/CloudShellRemoteConfiguration
dcc9a1e19209e10ca5347b0b6dbff608c69e7d4a
d6e31f504925a6a2f8b12e029375b27482d72e79
refs/heads/master
2020-05-26T05:08:23.126631
2019-08-02T08:26:01
2019-08-02T08:26:01
188,116,995
0
1
null
null
null
null
UTF-8
Python
false
false
635
py
#!/usr/bin/env python """Django's command-line utility for administrative tasks.""" import os import sys def main(): os.environ.setdefault('DJANGO_SETTINGS_MODULE', 'terminalControl.settings') try: from django.core.management import execute_from_command_line except ImportError as exc: rais...
[ "tianliyu@usc.edu" ]
tianliyu@usc.edu
f4117d65ff6df020a1ea1b68117ef5b4d67cbe02
09cc4dd926bdaf0233e1f2a182c3904e6809a45f
/leetcode/median_of_two_sorted_arrays.py
e6ebe3e14b2d9ca6cc25d6d4b0f47a745c22466e
[]
no_license
Amaranese/SudokuenPython
2f873a5153b11cbaeddde7f196ff470988455ce7
29c34075f178d0fc12b2a9edd850b1f43e688da5
refs/heads/main
2023-04-21T09:53:09.914212
2021-05-06T22:48:12
2021-05-06T22:48:12
365,054,652
1
0
null
null
null
null
UTF-8
Python
false
false
1,318
py
from typing import List class Solution: def findMedianSortedArrays(self, nums1: List[int], nums2: List[int]) -> float: a, b = (nums1, nums2) if len(nums1) <= len(nums2) else (nums2, nums1) N, M = len(a), len(b) # M >= 1 total_len = N + M # number of elements below and including ...
[ "alejandro.maranes@asendia.com" ]
alejandro.maranes@asendia.com
9bf0c0a81ed9549e94527bfb3c66a2d8ae8d461b
ce9b7c0e38a77c750b4b53ab7bf8ca5948b60281
/plaid_ledger/tests/__init__.py
dc588f988efb64345c795d444c353e7c727341e8
[]
no_license
jessedhillon/plaid-ledger
86e313916d15dc7b7897f928bc4d7e1dd0d24782
972615a5aea1de0c5f4c4e6416933c2f792d5ada
refs/heads/master
2020-06-02T23:03:43.602701
2017-06-22T14:05:45
2017-06-22T14:05:45
94,226,286
1
0
null
null
null
null
UTF-8
Python
false
false
468
py
import json import os from unittest import TestCase class TestCase(TestCase): def load_fixture(self, path, json=False, lines=False): base_path = os.path.realpath(os.path.dirname(__file__)) path = os.path.join(base_path, 'fixtures', path) with open(path, 'r') as f: if lines: ...
[ "jesse@dhillon.com" ]
jesse@dhillon.com
24f9fbfbcfc5d2a640a7fbfa5c53b49237e549e6
b7cc55ff82b3387aeef7e5600c439b26851583fd
/tests/integration/issues/github_1546/good3/helper.py
ac8a3361986577c3b53507d4f103030c90a345e1
[ "Apache-2.0" ]
permissive
slettner/jina
582e403819142053d4e85347dcf4463ea81d19f9
4140961c62359e3acd540a6d88931665c6313824
refs/heads/master
2023-04-18T01:15:21.525987
2021-05-02T23:05:27
2021-05-02T23:05:27
336,388,176
0
0
Apache-2.0
2021-02-05T21:01:10
2021-02-05T21:01:09
null
UTF-8
Python
false
false
4,636
py
__copyright__ = "Copyright (c) 2020 Jina AI Limited. All rights reserved." __license__ = "Apache-2.0" from typing import Tuple, Union, Optional import numpy as np def _move_channel_axis( img: 'np.ndarray', channel_axis_to_move: int, target_channel_axis: int = -1 ) -> 'np.ndarray': """ Ensure the color c...
[ "noreply@github.com" ]
slettner.noreply@github.com
b1a23bf5a60bf87b508e8a90f6f00522caa1b10e
7ce98d3c136726def98327ce5609ee0547698cb5
/nlp/S2SNoiseModel/EditDistanceUtil.py
77a146a8820e72f8afe6d66925303ef79c0ad500
[]
no_license
tyhu/PyAI
c877776b3700d958dcfbcb483482367c20dc6876
b3f0062339b3d2193031c3f2f7a00f808474c510
refs/heads/master
2020-04-15T14:35:30.165027
2018-01-15T16:11:21
2018-01-15T16:11:21
55,170,935
1
0
null
null
null
null
UTF-8
Python
false
false
1,349
py
### Ting-Yao Hu, 2016.06 ### adaptive edit distance import sys import subprocess def g2p(s): g2pEXE = '/home2/tingyaoh/flite/flite-2.0.0-release/bin/t2p' p = subprocess.Popen([g2pEXE, s], stdout=subprocess.PIPE, stderr=subprocess.PIPE) out, err = p.communicate() return out.strip() class EditDista...
[ "benken.tyhu@gmail.com" ]
benken.tyhu@gmail.com
85dfa9396d57949a566aed2b69cea6c01dbb1fc5
1aaf49b439ac67707f25cce5e055649f0bcbfee8
/visitors/migrations/0013_alter_review_authur.py
b1b76c1226d8028630f680740cd19fac14ba3d41
[]
no_license
Garyschwartz617/Hotel_project
dd7efa2d12281a287f962158655ef83d3ebcecfd
c7fee73147e1681e502ba08d167354d7e452fb4b
refs/heads/main
2023-07-15T05:24:40.064920
2021-08-26T20:41:29
2021-08-26T20:41:29
399,744,702
0
0
null
null
null
null
UTF-8
Python
false
false
388
py
# Generated by Django 3.2.6 on 2021-08-26 18:18 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('visitors', '0012_alter_review_authur'), ] operations = [ migrations.AlterField( model_name='review', name='authur', ...
[ "gary.s.schwartz617@gmail.com" ]
gary.s.schwartz617@gmail.com
7f7a3c06102ebce28ee73420eeb79e45582bcaf3
a399a9024d502e3e23b78196b9d40afc25b30100
/review_api/views.py
4903bbd3820ceea7e8c9d040401436a3b47172d2
[]
no_license
nivaskambhampati1998/Guide-Me
ef47d4fdb7614721b05311bda916e7eb702ba58a
d029b680f1a08a45ccddfc02c23f6e4b154814ca
refs/heads/master
2023-04-20T06:14:11.328235
2021-05-13T06:56:38
2021-05-13T06:56:38
343,045,833
0
0
null
null
null
null
UTF-8
Python
false
false
2,016
py
from django.shortcuts import render # Create your views here. from rest_framework import generics, views, status from rest_framework.response import Response from blog.models import Review from .serializers import ReviewSerializer, ReviewGuideSerializer from accounts.models import Guide, User, Tourist # class ReviewL...
[ "nivaskambhampati1998@gmail.com" ]
nivaskambhampati1998@gmail.com
0e9abfd687f8ca40fa33418a1d257868f1d02881
90c6dc7a37effc9fccab1175a2b66a522095a350
/django_api/users/migrations/0003_user_profile_image.py
261d683537a7538bf36c8fa6009c896ee4120eb0
[ "MIT" ]
permissive
ong-ar/nomadgram
2f81093103c8472127b5e790e994dc0de05f68b7
2ddde57209bb3be8887c75a418614d2095e43719
refs/heads/master
2021-04-09T13:34:14.810443
2018-06-16T07:16:43
2018-06-16T07:16:43
null
0
0
null
null
null
null
UTF-8
Python
false
false
398
py
# Generated by Django 2.0.3 on 2018-03-25 15:26 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('users', '0002_auto_20180324_1543'), ] operations = [ migrations.AddField( model_name='user', name='profile_image', ...
[ "reclusis@gmail.com" ]
reclusis@gmail.com
fe8ce333bf60fc7b45efa529638969a76a590a28
680443ad8b3912a3beb8d69a62ab4da8c7875af2
/venv/bin/pip
57237397fb40df60f813c0c03bafb12e383b9708
[]
no_license
yamathcy/Django_practice
b35eeae22b485e07652e5e83fe255c059865170a
1009bf9a92dbf034343d60de5acc88ec967877cc
refs/heads/master
2020-09-24T06:12:34.656503
2019-12-03T18:05:40
2019-12-03T18:05:40
225,684,324
0
0
null
null
null
null
UTF-8
Python
false
false
416
#!/Users/yamamotoyuuya/PycharmProjects/DjangoTutorial/venv/bin/python # EASY-INSTALL-ENTRY-SCRIPT: 'pip==19.0.3','console_scripts','pip' __requires__ = 'pip==19.0.3' import re import sys from pkg_resources import load_entry_point if __name__ == '__main__': sys.argv[0] = re.sub(r'(-script\.pyw?|\.exe)?$', '', sys.a...
[ "s1713120@u.tsukuba.ac.jp" ]
s1713120@u.tsukuba.ac.jp
04c0e64afd91b64ea36a0d41189d431b0ca086f5
ef57b367c4f738f042036ba189201ea18e5c4420
/main.py
540ea6b32a2061a7cb860b40cf58f7c2a4a69437
[]
no_license
burck1/tnt-battlesnake
f7bfc88387063e10b1cee2dc72af9a836daf7e35
f44a183d92d17e2c9e51e2e801b351fce9ef7122
refs/heads/master
2020-05-05T08:35:38.188949
2019-04-06T18:21:33
2019-04-06T18:21:33
179,869,859
0
0
null
2019-04-06T18:14:34
2019-04-06T18:14:34
null
UTF-8
Python
false
false
2,768
py
import argparse import json import os import random import bottle from battlesnake.api import ping_response, start_response, move_response, end_response from battlesnake.agent import Agent agent_small = None agent_medium = None agent_large = None @bottle.route("/") def index(): return """ Battlesnake docume...
[ "frederik.schubert@inside-m2m.de" ]
frederik.schubert@inside-m2m.de
16e826ecdbdd5e5336b355e4e5bb71d3e46b0848
0b1da793a53af8274de271d59f6f07a7fd6e1451
/scripts/main.py
1a4fd582b7e339a2e1a377417875d5fab0183f00
[ "MIT" ]
permissive
paulmetzger/Peso
3ce70c1553f95f97c5e0ee8a2c07e9aec48a4ce0
eaac931ff523760eac017c35cad10dcc76a08272
refs/heads/master
2020-12-18T22:42:18.849609
2020-02-26T13:53:26
2020-02-26T13:53:26
235,541,990
0
0
null
null
null
null
UTF-8
Python
false
false
47,088
py
#!/usr/bin/env python3 import compilation import config import execution import getopt import models import processing import sqlalchemy import sys import templates from utils import status, status_message from termcolor import cprint from sqlalchemy import create_engine from sqlalchemy.orm import sessionmaker from o...
[ "paul.felix.metzger@googlemail.com" ]
paul.felix.metzger@googlemail.com
a4602ae0c9d998aa113b60a67e1c797c50032958
b70c4f87f4b3283cde0f391524242dc242cb5beb
/movie_recommendation/websaver/settings.py
25f4792a030ed306335f235c61d52cf9a9432fff
[]
no_license
livjung/2020-GJAI-Movie-Recommendation-System
92472c1078db959d7361cf206a1dc5a271432e4e
9a5b886ebad16693af48932a84fa1621e2808bcc
refs/heads/master
2023-03-21T03:06:30.492229
2021-01-31T00:42:03
2021-01-31T00:42:03
null
0
0
null
null
null
null
UTF-8
Python
false
false
3,093
py
""" Django settings for websaver project. Generated by 'django-admin startproject' using Django 3.1. For more information on this file, see https://docs.djangoproject.com/en/3.1/topics/settings/ For the full list of settings and their values, see https://docs.djangoproject.com/en/3.1/ref/settings/ """ from pathlib ...
[ "lyh940830@gmail.com" ]
lyh940830@gmail.com
456bc7c2e4291c8b91065e0e14a4b865109bd42a
abaf81acfb8595724bca019f2036c456d32b8ee2
/ex32.py
5ed21f99f5304baa50b6dc2e4a18848cf4a2d6ee
[]
no_license
atticdweller/pythonthehardway
a6e13a4c81ee8a3538d3a29a4dd55e114dba1865
2514404c85f2ec26ff0274cc30d58847eed82ef3
refs/heads/master
2021-01-16T00:09:18.505887
2017-08-26T18:08:52
2017-08-26T18:08:52
99,956,125
0
0
null
null
null
null
UTF-8
Python
false
false
783
py
the_count = [1, 2, 3, 4, 5] fruits = ['apples', 'oranges', 'pears', 'apricots'] change = [1, 'pennies', 2, 'dimes', 3, 'quarters'] # this frist kind of for-loop goes through a list for number in the_count: print "This is count %d" % number # same as above for fruit in fruits: print "A fruit of type: %s" % fruit # ...
[ "christopher.lobello@gmail.com" ]
christopher.lobello@gmail.com
2f0a611da567bf2a6e1eedcb7042f1a475d9f211
d89a482aaf3001bbc4515f39af9ba474e1ae6062
/ubertool/exposure_output.py
4a6a41f37b05e878207260f2803b50a2a59f17da
[]
no_license
hongtao510/u_tool
2925e3694aba81714cf83018c3f8520a7b503228
98c962cfb1f53c4971fb2b9ae22c882c0fae6497
refs/heads/master
2021-01-10T20:40:24.793531
2014-03-14T22:57:37
2014-03-14T22:57:37
null
0
0
null
null
null
null
UTF-8
Python
false
false
5,183
py
import os os.environ['DJANGO_SETTINGS_MODULE']='settings' import webapp2 as webapp from google.appengine.ext.webapp.util import run_wsgi_app from google.appengine.ext.webapp import template from google.appengine.api import users from google.appengine.ext import db import cgi import cgitb cgitb.enable() import datetime ...
[ "hongtao510@gmail.com" ]
hongtao510@gmail.com
38b657507fa9116655cd0f1e6c4c24ea7c348d49
a8a5b9c9c526b600b0b8395a1eaf4044355d6ad9
/01_Basic/30_Output02(1032).py
2a3d1b328802e1d3bc48038b9cab25e5e223e60f
[]
no_license
kiteB/CodeUp
a342e40720290758de3fcfff961813250eee9541
f485f6c50a252e9cb6449c39a872a73561468415
refs/heads/master
2023-02-08T15:57:20.557421
2020-12-31T08:35:58
2020-12-31T08:35:58
323,678,767
0
0
null
null
null
null
UTF-8
Python
false
false
90
py
# 10진수 정수를 입력받아 16진수로 출력하기 a = int(input()) print('%x' %a)
[ "69155170+kiteB@users.noreply.github.com" ]
69155170+kiteB@users.noreply.github.com
feddb7230239b94f3212c8d53a646858b9d6224c
7612f63baab7d872294a64f227af70b5f5b57b58
/longtutorial/snippets/migrations/0001_initial.py
1a581773a0326cc4838226c03fa60bdbd67c2733
[]
no_license
kailIII/DjangoRestAPITest
560565f864f8677b6858036a6fe50944ae2be593
32a9057b57fc7f51404404f45670ff00e045b572
refs/heads/master
2020-05-29T11:44:30.672207
2016-02-06T04:02:40
2016-02-06T04:02:40
null
0
0
null
null
null
null
UTF-8
Python
false
false
12,230
py
# -*- coding: utf-8 -*- from __future__ import unicode_literals from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ] operations = [ migrations.CreateModel( name='Snippet', fields=[ ('id', models.AutoField(verb...
[ "nemolina@calpoly.edu" ]
nemolina@calpoly.edu
ed294ffdc99c3f295aee3f9ac3eccd050ed5366b
34c0f0f6cda1b08505bed786593db747b5a9ec9e
/src/chapter_03/exercise_09.py
0b19430aabd0bc1f51fb7405b307f80e7d3bc5d4
[]
no_license
martinpbarber/python-workout
6c86e62b94cb361d62ad5006bac099fe2447c513
0e9bcde2508268560786003d5063efd213370288
refs/heads/master
2023-01-20T04:56:43.453169
2020-11-12T20:02:58
2020-11-12T20:02:58
302,702,462
0
0
null
null
null
null
UTF-8
Python
false
false
291
py
""" exercise_09 """ def firstlast(sequence): """ Return the first and last item in a sequence """ # Slices handle empty sequences properly # and ensure a consistent type is returned first_item = sequence[:1] last_item = sequence[-1:] return first_item + last_item
[ "MartinPB@opensource.gov" ]
MartinPB@opensource.gov
630f7309fa95c5a1adb8003686e09debea69cb29
36ce02342d0857d4038e6a15dcf0760b83cddb7e
/maze_env.py
37332cebe9ee054fbf3b0003c7f01ce778f91534
[ "MIT" ]
permissive
luwis93choi/RL-Random_Maze_Solver
775e85a3d238f44c9692e58d96bd10793e70783a
355e8d509129f56717931792976e89bc03d12a0b
refs/heads/main
2023-03-24T13:36:15.768286
2021-03-20T01:56:25
2021-03-20T01:56:25
339,687,582
1
0
null
null
null
null
UTF-8
Python
false
false
10,451
py
import turtle as t import random import numpy as np import copy from maze_drawer import Maze_drawer from maze_generator import Maze_generator import time import cv2 as cv import math class Maze(): def __init__(self, height, width, detection_range=2, obstacle_occupancy_prob=0.3): # Init Maze with rando...
[ "luwis93choi@hotmail.com" ]
luwis93choi@hotmail.com
fc800c8f7e819f042f3564af19ae7750b6c7654c
3437a6ca4add38baa5eec34dee26eb991899bfb3
/shisu_code/src/utils.py
1784e94723dd21b844d2f476b0a255217c580414
[]
no_license
Xiangtuo/Human_Protein
4635f33caa15ced56e4be187682698f8a5afeac0
65d098ab3cc634326c5f70e4f3c975d0419279a1
refs/heads/master
2020-09-27T13:00:42.212301
2019-01-12T15:29:01
2019-01-12T15:29:01
null
0
0
null
null
null
null
UTF-8
Python
false
false
6,759
py
from lightai.core import * from .metric import F1 def get_mean(dl): means = [] for img, target in dl: img = img.cuda() img = img.float() img = img.permute(0, 3, 1, 2) img = img.view(img.shape[0], img.shape[1], -1) means.append(img.mean(dim=-1)) mean = to...
[ "noreply@github.com" ]
Xiangtuo.noreply@github.com
b6e501f0fd72a177f85bfe9ef637b059aea6081b
21da2b1bbf1a8b4cf8bbaeb38713bb6b35984c37
/PycharmProjects/assesmwnt/questions/book.py
7901f19e66067284b532c3b5f24d1cbc7c03d29b
[]
no_license
gopukrish100/gopz
8063486f0094d093ebfb38c0cc83a861a7921b13
a0e7796c152e8aac41f2624856aaca9567b69269
refs/heads/master
2020-06-27T15:48:05.039213
2019-08-01T07:17:27
2019-08-01T07:17:27
199,991,033
0
0
null
null
null
null
UTF-8
Python
false
false
513
py
class Book: def __init__(self,pages): self.pgs=pages def __add__(self, other,): bk=Book(self.pgs+other.pgs) return bk def __str__(self): return str(self.pgs) def __sub__(self, other): bk=Book(self.pgs-other.pgs) return bk def __mul__(self, other): ...
[ "gopukrish100@gmail.com" ]
gopukrish100@gmail.com
12ca5557bb7ff7cb672a333e5046f3ac4ec2c9e2
96a640c96640cf4b3dfaeea7981a5027200d07a4
/tube_exam.spec
e36c82ff39c2872c39f25dd738eb397a7edc3b7a
[]
no_license
AaronGe88/TubeShapeExam
78cfbf5c5ab147aef396d177721d13fb742f1b0b
d2c423e7a6cf66dc672bd36e632f6afe1323cc79
refs/heads/master
2021-01-01T17:42:38.279946
2016-09-23T14:17:21
2016-09-23T14:17:21
42,048,222
0
0
null
null
null
null
UTF-8
Python
false
false
769
spec
# -*- mode: python -*- block_cipher = None a = Analysis(['tube_exam.py'], pathex=['C:\\Users\\Noah\\Documents\\GitHub\\TubeShapeExam'], binaries=None, datas=None, hiddenimports=[], hookspath=[], runtime_hooks=[], excludes=[], ...
[ "noahge88@163.com" ]
noahge88@163.com
7f1ec15ab9ef6757f179eacf232738d26043bf92
c5e4577bbb6ab388f7bd252ae37239aedf7ac27e
/env/bin/pyrsa-sign
f8c4d4f3cfb2174509ce8f144e6c42c26524fa2f
[]
no_license
ChanJin0801/CabbagePrice-MachineLearning
22b7aea5fe470849473e8fd76b8833fce3ac9f0b
036a011e4d78c6105881fef1247d4551509733b2
refs/heads/master
2021-06-28T12:23:59.093854
2020-11-30T18:25:29
2020-11-30T18:25:29
183,192,961
0
0
null
null
null
null
UTF-8
Python
false
false
253
#!/Users/parkchanjin/PycharmProjects/untitled/env/bin/python3 # -*- coding: utf-8 -*- import re import sys from rsa.cli import sign if __name__ == '__main__': sys.argv[0] = re.sub(r'(-script\.pyw?|\.exe)?$', '', sys.argv[0]) sys.exit(sign())
[ "parkchanjin@Parks-MacBook-Pro.local" ]
parkchanjin@Parks-MacBook-Pro.local
b0853a9aba65d24c4142d61fcce38fcedb426468
2420a09930fcc1a0d3c67a0791be70ddee418f4a
/Kth_Largest_Element_in_an_Array.py
d08f8e38b151d423cded627522ff355833c7db5b
[]
no_license
Superbeet/LeetCode
eff8c2562fb5724b89bc2b05ab230a21b67a9e5a
a1b14fc7ecab09a838d70e0130ece27fb0fef7fd
refs/heads/master
2020-04-06T03:34:10.973739
2018-02-13T00:57:06
2018-02-13T00:57:06
42,485,335
4
0
null
null
null
null
UTF-8
Python
false
false
1,727
py
# Use Bubble k times - Time Complexity: O(nk) class Solution3(object): def findKthLargest(self, nums, k): if not nums: return None size = len(nums) for i in xrange(0, k): for j in xrange(0, size-1-i): if nums[j]>nums[j+1]: nums[j],nums[j+1] = nums[j+1], nums[j] return nums[-k] # Time compl...
[ "aslan.yeh2010@gmail.com" ]
aslan.yeh2010@gmail.com
e9b0d83166433673108606dc3ca407e5877e0e82
8cc9c59c24464df769fdc3f0d6bc1b295aba1001
/aiwolfpy/Indigo/agents5_base.py
4ee9d10ad6016df87296f0b099b42093426427b1
[]
no_license
kaoru-k/AI-Indigo
28a1ef2d17a8afccf56b42d2f82bcab9c2a240b5
71dfe7c639d5dd96a46d4d93c6f8534855746ba7
refs/heads/master
2020-03-27T02:23:02.301879
2018-08-23T03:18:34
2018-08-23T03:18:34
145,786,184
0
0
null
null
null
null
UTF-8
Python
false
false
24,562
py
import pandas as pd import random class Agents5_base(object): def __init__(self): self.prob = pd.read_csv('result_prob.csv',index_col='VERB') self.roleEst = pd.DataFrame( {'WEREWOLF': [1.0,1.0,1.0,1.0,1.0], 'POSSESSED': [1.0,1.0,1.0,1.0,1.0], 'SEER' : [1.0,1....
[ "kaoru_kimura@outlook.com" ]
kaoru_kimura@outlook.com
2f10b24870ef56af83a067e78e716114893fecd4
48f755943173648d2a2b3650fc8a6f1e610c5d63
/python/util/send_mail_file.py
4572a11df74f8ded422a281a06452551e61b6036
[]
no_license
dreamhighqiu/python-selenium
2893e32ce17e4d68bf28d1485ff405575819dd2d
8090c8d7d28ba7be46212168a19a6ea2ee99de23
refs/heads/master
2021-05-09T07:27:25.053479
2018-02-01T03:38:55
2018-02-01T03:38:55
119,361,546
0
0
null
null
null
null
UTF-8
Python
false
false
2,302
py
#-*-coding:utf-8-*- from email.mime.text import MIMEText from email.mime.multipart import MIMEMultipart import smtplib import os import sys from config import readConfig reload(sys) sys.setdefaultencoding('utf8') class Send_Mail_file(object): def get_report_file(self,report_path): '''第三步:获取最新的测试报告''' ...
[ "qiuyunxia@GZIT003.ycf.com" ]
qiuyunxia@GZIT003.ycf.com
4593348a596f67161e5cd0bdda5887485b8eabcb
108517cfbd1b6843ed6ab4b030ddd1bac13d0c70
/src/hero.py
de63143d0f59492af1107518f873811567924226
[]
no_license
lefranco/pnethack
58adf54bc69347d27c4d3b3c6904382ba5793759
5e4f00d2b0bd1be33607131db209affdb79f0390
refs/heads/master
2022-12-19T05:18:53.053443
2020-09-26T19:57:57
2020-09-26T19:57:57
298,888,674
0
0
null
null
null
null
UTF-8
Python
false
false
8,542
py
#!/usr/bin/env python3 """ File : hero.py Stuff related to the hero (the monster controlled by the player) only. """ import typing import constants import myrandom import abstractlevel import alignment import monsters import mapping class Attribute: """ Attribute class """ # will be superseded short...
[ "jeremie.lefrancois@gmail.com" ]
jeremie.lefrancois@gmail.com
cea8f85549e20e56b361532625210c10df856781
163bbb4e0920dedd5941e3edfb2d8706ba75627d
/Code/CodeRecords/2818/60900/249172.py
7ab8f518b83de81d5c00a7ebae67bc19775a6307
[]
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
470
py
str1 = input() str2 = input() data1 = str1.split(" ") chapter = str2.split(" ") subject = (int)(data1[0]) time = (int)(data1[1]) total = 0 temp = 0 index = 0 while len(chapter)!=0: temp = (int)(chapter[0])*time index = 0 for i in range (0,len(chapter)): if(temp>(int)(chapter[i])*time): ...
[ "1069583789@qq.com" ]
1069583789@qq.com
a2a507da9523f362a5fdf59ea6a41aee4088fd67
7324045a684d667ce2bff445851953ca4b73540c
/renthop.py
14ff9f66f039bbb33c75d804ddd7d3cbce8494e2
[]
no_license
yhyhUMich/renthop_2sigma
67ab98b2a38134f24a336f7e31995b3878b55c4e
23127291b73ad61ab25cdef68aa32bd5ee76151b
refs/heads/master
2021-01-19T01:18:24.838155
2017-04-17T22:05:23
2017-04-17T22:05:23
87,239,000
0
0
null
null
null
null
UTF-8
Python
false
false
9,397
py
import numpy as np import pandas as pd from sklearn.feature_extraction.text import CountVectorizer from sklearn.preprocessing import LabelEncoder from sklearn.model_selection import StratifiedKFold import random from math import exp import xgboost as xgb import os os.chdir("C:\\Users\\yuan\\Desktop\\renthop_2sigma") ...
[ "hangyuan@umich.edu" ]
hangyuan@umich.edu
21610adcf332d720d04f4d26788b6caca4289ec7
de24f83a5e3768a2638ebcf13cbe717e75740168
/moodledata/vpl_data/200/usersdata/273/81828/submittedfiles/al15.py
1656fb72d68d08049b3e4bfbe2bfaff5a11427c5
[]
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
83
py
# -*- coding: utf-8 -* if numero*0.5=(numero%100) + numero//100: print(numero)
[ "rafael.mota@ufca.edu.br" ]
rafael.mota@ufca.edu.br
01d0f066ebccfbcc3429bb92eb4c58c7288e5c33
ba694353a3cb1cfd02a6773b40f693386d0dba39
/sdk/python/pulumi_google_native/beyondcorp/v1alpha/client_gateway_iam_member.py
e411f2bc786043e5ec3c549e1882babd6062d57d
[ "BSD-3-Clause", "Apache-2.0" ]
permissive
pulumi/pulumi-google-native
cc57af8bd3d1d6b76f1f48333ed1f1b31d56f92b
124d255e5b7f5440d1ef63c9a71e4cc1d661cd10
refs/heads/master
2023-08-25T00:18:00.300230
2023-07-20T04:25:48
2023-07-20T04:25:48
323,680,373
69
16
Apache-2.0
2023-09-13T00:28:04
2020-12-22T16:39:01
Python
UTF-8
Python
false
false
11,706
py
# coding=utf-8 # *** WARNING: this file was generated by the Pulumi SDK Generator. *** # *** Do not edit by hand unless you're certain you know what you are doing! *** import copy import warnings import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload from ... import _u...
[ "noreply@github.com" ]
pulumi.noreply@github.com
c73ec83d2bc16f0e985a6026dd20b6c6936d08f1
15f321878face2af9317363c5f6de1e5ddd9b749
/solutions_python/Problem_95/2212.py
d949b82062698cadca5cf074e35b0245522ff71b
[]
no_license
dr-dos-ok/Code_Jam_Webscraper
c06fd59870842664cd79c41eb460a09553e1c80a
26a35bf114a3aa30fc4c677ef069d95f41665cc0
refs/heads/master
2020-04-06T08:17:40.938460
2018-10-14T10:12:47
2018-10-14T10:12:47
null
0
0
null
null
null
null
UTF-8
Python
false
false
797
py
test_input1 = 'ejp mysljylc kd kxveddknmc re jsicpdrysi' test_input2 = 'rbcpc ypc rtcsra dkh wyfrepkym veddknkmkrkcd' test_input3 = 'de kr kd eoya kw aej tysr re ujdr lkgc jv' test_output1 = 'our language is impossible to understand' test_output2 = 'there are twenty six factorial possibilities' test_output3 = 'so it i...
[ "miliar1732@gmail.com" ]
miliar1732@gmail.com
a60b1660c9c9d05518519c0bc81ac5231a8c424b
32876216bace45f4355f8025ef4982cacce21456
/esmigrate/internals/script_parser.py
0c508cc02e6d2dac9787248e73039a5d4de3f02a
[ "MIT", "LicenseRef-scancode-unknown-license-reference" ]
permissive
mehdirahman88/elastic-migrate
cbc16cb260ea2be04c7d177df0de0bc384d53498
c097c9672dca4d407b755a5d9262f0f7f661f980
refs/heads/main
2023-07-24T11:30:45.188139
2021-07-13T19:01:52
2021-07-13T19:01:52
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,403
py
# -*- coding: utf-8 -*- import re from urllib.parse import urlparse from esmigrate.commons import ( Command, is_valid_json, JSON_HEADER, is_valid_ndjson, NDJSON_HEADER, http_verbs, ) from esmigrate.commons.helpers import construct_path from esmigrate.contexts import ContextConfig from esmigrate...
[ "zobayer1@gmail.com" ]
zobayer1@gmail.com
f3eaa01fc3b08c4f71d713dd3d283df3717cf87b
561c43f03b37ce246debc945cfbf72b56c1194d1
/utils/tree.py
b2a6674303f973dec7a390c6975713747971a3f8
[]
no_license
MatienkoAndrew/expert-system
4cbc544f45da5e9f6482519123eebfebe0f8c846
1cba50df5e490497de7855c82a96f4d74a65c596
refs/heads/main
2023-02-12T13:28:28.639027
2021-01-12T12:10:33
2021-01-12T12:10:33
328,449,684
0
0
null
null
null
null
UTF-8
Python
false
false
4,214
py
import re from .node import ConnectorType, ConnectorNode, AtomNode, NegativeNode from .rpn_parser import ImplyType, OPERATORS from .color import Color LST_OP = {'+': ConnectorType.AND, '|': ConnectorType.OR, '^': ConnectorType.XOR} class Validation: def __init__(self, left, right): self.left = left s...
[ "noreply@github.com" ]
MatienkoAndrew.noreply@github.com
20fcd613d8ca052621c0bbc42237785874523141
5bf1f84c0e6488411b0e259b458899bbc2ea056e
/analysis_vis/scripts/PlotFracShells.py
f4174f322dcd62c1a0e52e4d5397a102b523c643
[ "BSD-2-Clause-Views", "BSD-2-Clause" ]
permissive
arubenstein/deep_seq
793857a497420daab4703624e1b873f5feea19cc
96c2bc131dc3bd3afb05486bfbc6f7297c57e604
refs/heads/master
2020-05-21T19:10:39.970685
2018-07-31T18:07:45
2018-07-31T18:07:45
60,021,801
0
0
null
null
null
null
UTF-8
Python
false
false
1,823
py
#!/usr/bin/env python """bar plot to plot fraction shell cleaved""" from plot import conv as pconv from plot import bar from general_seq import seq_IO import argparse import numpy as np def main(sequence_ratio_file, width, height, pattern, legend): sequences = seq_IO.read_sequences(sequence_ratio_file, addition...
[ "aliza.rubenstein@gmail.com" ]
aliza.rubenstein@gmail.com
78f88c2bfb07503a16ff2fcf20e54fc5ed3d0790
470b8b6915abbaed3ddf3835934cf98c5220053b
/GHubScraper/solution/main.py
7fc3eaa6e887cbca6410d1d69028ddcbc99761e9
[]
no_license
daveyo89/github_scraper
fdedc0b378cdbbd25af81a312c4e4f95b4977e26
850e16a550b20ab6d3b7cea67ed5047396038171
refs/heads/master
2022-12-13T14:32:21.232563
2019-02-23T17:03:03
2019-02-23T17:03:03
168,829,507
1
0
null
2022-12-08T01:34:57
2019-02-02T12:29:12
Python
UTF-8
Python
false
false
8,693
py
import bs4 as bs import urllib.request import requests import csv import traceback from tqdm import tqdm import time import argparse import os import sys """The code is heavily commented due to it being a "homework" and all. If something is still not clear, don't worry, it is obviously my fault. For manual testing...
[ "j.tothdavid@gmail.com" ]
j.tothdavid@gmail.com
bc8469924be1f68ac9d4b7d73aa1a8558c5923b6
5d639e4743ad3b958b0134aef58e0781f696bcf5
/SQRDSUB.py
7a04a887c0800c792bb972c95a73d586eed6e7a2
[]
no_license
amberbhanarkar/CompetitiveProgramming
5601cf9734dedb1a2a80d37fcf93a810ac038ccd
6e516f05d8d4a9ca946734927d043af43af42798
refs/heads/master
2021-07-09T10:43:32.802055
2020-10-10T10:20:26
2020-10-10T10:20:26
190,732,971
0
0
null
null
null
null
UTF-8
Python
false
false
605
py
'''import math T = int(input()) for i in range(0,T): N = int(input()) A = list(map(int,input().split())) lis = ''.join(map(str, A)) sz = len(lis) cnt = 0 for i in range(0,sz): product = 1 for j in range(i,sz): product *= ord(lis[j])-ord('0') ...
[ "noreply@github.com" ]
amberbhanarkar.noreply@github.com
35e250ddb36f9bda71a9edb9402cff3dc7b06ecd
1b9075ffea7d4b846d42981b41be44238c371202
/tags/2007-EOL/applications/multimedia/xsane/actions.py
a5dcf88f3f4b48317cf764f6179f90f66eb3cf6d
[]
no_license
pars-linux/contrib
bf630d4be77f4e484b8c6c8b0698a5b34b3371f4
908210110796ef9461a1f9b080b6171fa022e56a
refs/heads/master
2020-05-26T20:35:58.697670
2011-07-11T11:16:38
2011-07-11T11:16:38
82,484,996
0
0
null
null
null
null
UTF-8
Python
false
false
1,280
py
#!/usr/bin/python # -*- coding: utf-8 -*- # # Licensed under the GNU General Public License, version 2. # See the file http://www.gnu.org/licenses/old-licenses/gpl-2.0.txt from pisi.actionsapi import autotools from pisi.actionsapi import pisitools from pisi.actionsapi import shelltools from pisi.actionsapi import get ...
[ "turkay.eren@gmail.com" ]
turkay.eren@gmail.com
dfacb1524091b4aea9b2999d26309ec4c9b6d79b
eb3150b60206484398e0fe479d8bbff9794b8565
/Task_2.py
ffac63a2684022ae8210890e20f2e790e64362f8
[]
no_license
ABROLAB/Basecamp-Technical-Tasks
f0d67b436f76a36354bef85167f596e7bc7b9319
0beacf0b4857581e0a82525681d44a4e1102424a
refs/heads/main
2023-06-23T18:57:39.509833
2021-07-20T22:59:28
2021-07-20T22:59:28
387,595,189
1
0
null
null
null
null
UTF-8
Python
false
false
804
py
''' Write a function that accepts a positive integer and determines if it is a prime number. The function should return true if it is a prime number or false if it isn’t. ''' def Determine_if_Prime(): input_num = int(input("Enter your value: ")) Output = False if input_num > 1: if input_num == 2: O...
[ "noreply@github.com" ]
ABROLAB.noreply@github.com
1697c0111932a0c9cad342f698ed370b0c72284d
a46d135ba8fd7bd40f0b7d7a96c72be446025719
/packages/python/plotly/plotly/validators/histogram/_outsidetextfont.py
91c57eed75e3073c405ed483e18e2d95722ed640
[ "MIT" ]
permissive
hugovk/plotly.py
5e763fe96f225d964c4fcd1dea79dbefa50b4692
cfad7862594b35965c0e000813bd7805e8494a5b
refs/heads/master
2022-05-10T12:17:38.797994
2021-12-21T03:49:19
2021-12-21T03:49:19
234,146,634
0
0
MIT
2020-01-15T18:33:43
2020-01-15T18:33:41
null
UTF-8
Python
false
false
1,566
py
import _plotly_utils.basevalidators class OutsidetextfontValidator(_plotly_utils.basevalidators.CompoundValidator): def __init__( self, plotly_name="outsidetextfont", parent_name="histogram", **kwargs ): super(OutsidetextfontValidator, self).__init__( plotly_name=plotly_name, ...
[ "nicolas@plot.ly" ]
nicolas@plot.ly
28ed6a07f4024bbe8bc6f8f5b3dd52d0fda40afa
37d1d3db1327f7f5da4551143a306d037ea2a836
/app.py
947690e15aea2e111eac1e161a01cf42c1c1e6d0
[]
no_license
webclinic017/Option-Payoff
e3a738779a736b4fe7578761be0f27e54bafe12b
6b0fd3993490a30432966b84ba881ae27919fd08
refs/heads/master
2023-03-25T17:20:45.228452
2021-03-11T19:10:54
2021-03-11T19:10:54
null
0
0
null
null
null
null
UTF-8
Python
false
false
27,109
py
import dash import dash_table import dash_core_components as dcc import dash_html_components as html import plotly.graph_objs as go import plotly.express as px import plotly.io as pio from plotly.subplots import make_subplots from dash.dependencies import State, Input, Output, ALL from dash.exceptions import PreventUpd...
[ "dlspy@hotmail.com" ]
dlspy@hotmail.com
7a3131ae28be4405ce5a794b47ed688f2fecf0cb
71b11008ab0455dd9fd2c47107f8a27e08febb27
/04、 python编程/day06/3-code/06-函数的返回值.py
7adbf30fba433ca7320decfaec8f19bc9ce11693
[]
no_license
zmh19941223/heimatest2021
49ce328f8ce763df0dd67ed1d26eb553fd9e7da4
3d2e9e3551a199bda9945df2b957a9bc70d78f64
refs/heads/main
2023-08-25T17:03:31.519976
2021-10-18T05:07:03
2021-10-18T05:07:03
418,348,201
0
0
null
null
null
null
UTF-8
Python
false
false
478
py
# # 我们没有使用过函数 带返回值 # print("hello python") # # 对于没有返回值的函数,调用方法,直接函数名(参数) # # len是有返回值的函数 # a = len("hello python") # 会把一个值返回给调用者 # print(a) # print(len("hello python")) def my_sum(a, b): return a + b # 把a + b 的结果,返回给调用者 num1 = my_sum(2, 3) # 这里就是调用my_sum函数,所以num1得到了函数的返回值 print(num1) print(my_sum(5, 6))
[ "1780858508@qq.com" ]
1780858508@qq.com
d6e56c15b0f194f7b909df2a5188ab2032d0ca47
801ee167e5490ec43f9ad141e3ec0d43c6dddb7b
/venv/bin/pilfile.py
e25cf57c5c556fecd724ee126b3b2f10c4c2a629
[]
no_license
yoshi2095/Online-shop
bd9c76485e70c3c985b36ef4db0c6b6fb9d131ea
0c536b6d904357d0ca30f5528580895221077cb6
refs/heads/master
2021-01-20T09:45:02.203095
2017-05-04T21:29:51
2017-05-04T21:29:51
90,279,880
0
0
null
null
null
null
UTF-8
Python
false
false
2,658
py
#!/home/yoshi2095/Desktop/Desktop/ebooks/Django_By_Example/Django_By_Example_Code/9/venv/bin/python3 # # The Python Imaging Library. # $Id$ # # a utility to identify image files # # this script identifies image files, extracting size and # pixel mode information for known file formats. Note that # you don't need the P...
[ "arora4.yoshi@gmail.com" ]
arora4.yoshi@gmail.com
390337c20108c028311e9b8d4a7ad2dee312ecbb
54e6a67e42ac9b075af108e7b06dbe8aebf0ca4f
/1. Python/block.py
d6c4b99ff1013e996eb35ae6ea2eb681c68d6181
[]
no_license
hrishikeshathalye/PPL-Assignments
e41702cdf8126b4e815f88722d2aa93e65846f40
1c5b0dffb011400e17d73d76c94f12a8dcc250e8
refs/heads/master
2022-07-14T11:00:14.295014
2020-05-19T07:50:32
2020-05-19T07:50:32
264,370,508
0
0
null
null
null
null
UTF-8
Python
false
false
894
py
host = r"/etc/hosts" redirect = "127.0.0.1" def block(): inp = input("Enter list of website URLs to block seperated by comma:\n") sites = inp.split(',') with open(host, "r+") as file: content = file.read() for site in sites: if site in content: pass el...
[ "hathalye7@gmail.com" ]
hathalye7@gmail.com
8ff917ca510cfe98a72c0f7dbf65d10c62872997
2351d66f6bf3a6dd05f4ea2edc65599999c89b82
/ObjectData004_Item.py
f6f2d0e696da70b11550825e426450d6ce260590
[]
no_license
sddragon616/2DGame_Programming_Python
990e20d7d4d137e623fe02d812965a340308afff
92a36a8914e2564b502986e7677e8280ac5dac29
refs/heads/master
2021-09-25T09:25:29.040917
2018-10-20T11:59:51
2018-10-20T11:59:51
103,901,724
0
0
null
null
null
null
UTF-8
Python
false
false
2,242
py
import json from pico2d import * Item_data_file = open('UnitData\\Item.json', 'r') Item_Data = json.load(Item_data_file) Item_data_file.close() class Item: def __init__(self, numbers): self.image = None self.number = numbers self.use_sound = None def use(self): # Item 클래스의 부모 사용 함수...
[ "ksdragon616@naver.com" ]
ksdragon616@naver.com
21be7459ba6b302c4c38d2f3f41a099bd02b6231
d6409d7008e4b8e78ed4f4cb6d3260097687a401
/bot/TTS.py
4d6be8c1a31eed5ad1134f687ce14e6404533ab7
[]
no_license
gabrielDonnantuoni/Discord-Music-Bot
d69d0ea6ad3db2b76fbc6e3f110a97a38344d5f5
f78ec013d99a88e0152a45c2042d8b4732d04097
refs/heads/main
2023-08-03T18:02:19.200840
2021-09-17T23:06:16
2021-09-17T23:06:16
406,581,546
0
1
null
null
null
null
UTF-8
Python
false
false
280
py
import gtts from discord.ext import commands import discord class TTS(commands.Cog): def __init__(self, bot): self.bot = bot @commands.command() async def diz(self, ctx, *, args=''): tts = t discord.FFmpegPCMAudio(filename, **ffmpeg_options)
[ "gabrieldonnantuoni@gmail.com" ]
gabrieldonnantuoni@gmail.com
f3ca38f34ec5874a1060fa758044d3557344e6b8
51ae5874dbb2e62d4cefc20f897f09c148d9d817
/dj_ecommerce/wsgi.py
efbdbae0c7d576ac65c973e7437f6257eaac38ec
[]
no_license
MehediEhteshum/dj-ecommerce
90178df1d8659a25bb00cf33f3114c848cd9341f
9ff1e94228bfc95da2f9922d24e356890365ede6
refs/heads/master
2023-08-31T22:10:36.922146
2023-08-26T07:20:45
2023-08-26T07:20:45
322,723,397
0
0
null
null
null
null
UTF-8
Python
false
false
401
py
""" WSGI config for dj_ecommerce project. It exposes the WSGI callable as a module-level variable named ``application``. For more information on this file, see https://docs.djangoproject.com/en/3.1/howto/deployment/wsgi/ """ import os from django.core.wsgi import get_wsgi_application os.environ.setdefault('DJANGO_...
[ "me69oshan@gmail.com" ]
me69oshan@gmail.com
4ef3847e2ddeb8e512a14747caf084bdbd7d87ae
32ad93209ea9be15eb324257006057931058f1e8
/check_junos_clusterled.py
05165961020741bf04991e6175fb7c9edda35f1b
[]
no_license
azielke/junos-checks
0603d6c3355cf7a1da117cccad6d01f6f584f2a0
10949dd5c9fed6614e8f1875ba4933871b117e06
refs/heads/master
2023-08-04T17:56:55.614019
2021-09-14T11:00:12
2021-09-14T11:00:12
406,351,152
0
0
null
null
null
null
UTF-8
Python
false
false
2,047
py
#!/opt/monitoring/plugins/junos-checks/venv/bin/python3 from jnpr.junos import Device from pprint import pprint import re import sys import getopt def usage(): print("check_junos_clusterled.py <-H|--host> <-u|--user> <-p|--pasword>") if __name__ == '__main__': try: opts, args = getopt.getopt(sys.argv[...
[ "azielke@vegasystems.de" ]
azielke@vegasystems.de
c68626bb709ed9ea5dd78ce4744d9767acf23822
9449315c3bd99e319d4c0ebe8e7d4c023afa1c00
/frontend/urls.py
538586cb3b1aa205208f9d8074d5f35d89b2397a
[]
no_license
djym77/phytorganic
14e8860c072cc8c274f6e99e080fbbb1c27b6467
e0be8c2275c68ca2d5dceb2034040612197a9ad5
refs/heads/master
2020-09-20T05:59:04.877237
2019-09-19T11:22:32
2019-09-19T11:22:32
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,193
py
from django.urls import path, re_path from .views import * app_name = 'frontend' urlpatterns = [ path('frontend/menu/<str:page_name>', FrontMenuView.as_view(), name = 'front-menu'), path('member-migration', MigrationView.as_view(), name = "member-migration"), path('landing', WelcomeView.as_view(), name =...
[ "55067005+git-kessededieu@users.noreply.github.com" ]
55067005+git-kessededieu@users.noreply.github.com
d63bde31dcfe959195289dfa61022199ab9133a9
2778561f666f270484eb1f3565d6878b1c8add65
/loancalulator.py
b3448a83321973b70c75ecfec4ae7091d9153909
[]
no_license
georgevincent91/Python-GUI-Learning
a75fb16b7c072b3c72529b53cdf9c3aabd2d6069
fb5f6c383fc47813b753fbfe9c707c286a878756
refs/heads/master
2016-09-05T19:03:46.413175
2015-06-24T07:18:32
2015-06-24T07:18:32
37,968,535
0
0
null
null
null
null
UTF-8
Python
false
false
2,214
py
#!/usr/bin/python3 from Tkinter import * fields = ('Annual Rate', 'Number of Payments', 'Loan Principle', 'Monthly Payment', 'Remaining Loan') def monthly_payment(entries): # period rate: r = (float(entries['Annual Rate'].get()) / 100) / 12 print("r", r) # principal loan: loan = float(entries...
[ "George@Bits-213" ]
George@Bits-213
ce27a165316ce461b682625bb761c33ca84d3514
d5fd8ae33e781e3dc52dadd2552da041ddfd4e81
/Projeto-Fechadura-master/server.py
25c1dc4b24b1715de7d78bfae6a7b3baad6286b0
[]
no_license
marcusv-fs/fechadura
fb8cb325a2a4acda642afb1889ae27996bc3375e
15ab4fcbd55e4f1265f08f61d0c599c6e67efbea
refs/heads/master
2022-10-04T18:59:22.129135
2020-06-05T01:40:05
2020-06-05T01:40:05
269,503,506
0
0
null
null
null
null
UTF-8
Python
false
false
2,452
py
# -*- coding: utf-8 -*- import socket import threading from datetime import datetime def trata_cliente(conexao, cliente): mensagem = conexao.recv(100) mensagem = mensagem.decode() cont = 0 with open('Permissoes.json') as mac: arquivo = mac.readlines() for i in range(len(arquivo)): ...
[ "noreply@github.com" ]
marcusv-fs.noreply@github.com
eb10463a7e5d49a7ad97ed88dba552351fa256bc
fc28b92ee5609e9697a29df7b7db929caab860e4
/flip_the_coin.py
8afa8919e72c9d665fd2e0bc40998da8d0bc6359
[]
no_license
gunjeet210/Flip-the-Coin
4ac36382596180ad9764ab8f6b313458e7311ef5
219907d445aa905df4c3ad16f82f87358b868099
refs/heads/master
2021-01-09T01:17:38.439988
2020-02-21T18:07:45
2020-02-21T18:07:45
242,201,115
0
0
null
null
null
null
UTF-8
Python
false
false
195
py
import random, time print("Flip the coin") while True: outcome=random.randint(1,2) if(outcome == 1): print("Heads") elif(outcome == 2): print("Tails") time.sleep(1)
[ "noreply@github.com" ]
gunjeet210.noreply@github.com
35402b7014185c6925b7c2facb9d7f38dab62952
0a996368d6fff548b77daed59e46b5b957ab20f7
/get_star_fusion_cmds.py
db61f1792553785a00d8272cc0f8de753a0d2d23
[]
no_license
lincoln-harris/process_new_cells
e3740de76c3289651074ae229e6b4ca65ee4ced1
2e8b871c317363f1a6b570c9ce802499ffa83524
refs/heads/master
2021-03-05T20:22:02.841586
2020-04-02T19:37:26
2020-04-02T19:37:26
246,150,110
0
0
null
null
null
null
UTF-8
Python
false
false
486
py
import os roots = [] for f in os.listdir('fastq/'): root = f.split('_')[0] + '_' + f.split('_')[1] if root in roots: continue else: fq1 = root + '_R1.fastq.gz' fq2 = root + '_R2.fastq.gz' cmd = '/usr/local/src/STAR-Fusion/STAR-Fusion --left_fq ' + fq1 + ' --right_fq ' + fq2 + ' --genome_lib_dir `pwd`/ctat_...
[ "lincoln.harris@czbiohub.org" ]
lincoln.harris@czbiohub.org
f974a8e5a82c58897eb4a600cd6ac6b1571c4c74
8e036faa8824e2d8da53c5a40089eb5f171216a2
/Dietary Info/backup.py
ed0678e5bc9db03840cf58980deb6f61968f132a
[]
no_license
Lookuptothemoon/DietaryInfo-hacknyu
3b603e21685b257de2fc3fe9b4e021f2235ebd24
772207bd542359cdd483d62157a9c06ecd003d46
refs/heads/master
2021-07-06T16:00:11.293442
2020-08-29T02:19:40
2020-08-29T02:19:40
175,728,585
0
0
null
2020-08-26T05:42:30
2019-03-15T01:43:30
Python
UTF-8
Python
false
false
1,839
py
from flask import Flask, render_template, request, jsonify, redirect, url_for import requests import json app = Flask(__name__) @app.route("/", methods=['GET']) def index(): return render_template('index.html') @app.route("/barcode", methods=['GET','POST']) def get_barcode(): if request.method == 'POST': barcode...
[ "luna.e.ruiz@gmail.com" ]
luna.e.ruiz@gmail.com
3d20037e829dd3f789988f1af0e175ae21e00067
27a1a28e219beafad1fa21d328452597df51fabe
/megadiff.py
f7a96e8aa7ab288db96c87dad072e9f6cefc0d04
[]
no_license
DeaconSeals/notebook_template_diff
a8f49714c065678235c147b6b272d44a4ce526a5
d471f8a9020ff4fe30dcb8d1acd49f244197acf8
refs/heads/main
2023-08-03T12:59:10.032067
2021-09-17T00:46:59
2021-09-17T00:46:59
407,327,726
0
0
null
null
null
null
UTF-8
Python
false
false
2,825
py
import argparse from glob import glob import jupytext from pathlib import Path parser = argparse.ArgumentParser() parser.add_argument('base', type=str) parser.add_argument('students', type=str, nargs='+') args = parser.parse_args() rel_path = args.base #'../../GPacBase/' file_exclude = ['.pyc', '.pyo'] ...
[ "deaconseals18@gmail.com" ]
deaconseals18@gmail.com
98d962d303e316845b4a01a0847eb8e0c36ade3c
e75a40843a8738b84bd529a549c45776d09e70d9
/samples/openapi3/client/petstore/python/test/test_outer_enum.py
aa195260019e50c396a5107af8708f89aed3f908
[ "Apache-2.0" ]
permissive
OpenAPITools/openapi-generator
3478dbf8e8319977269e2e84e0bf9960233146e3
8c2de11ac2f268836ac9bf0906b8bb6b4013c92d
refs/heads/master
2023-09-02T11:26:28.189499
2023-09-02T02:21:04
2023-09-02T02:21:04
133,134,007
17,729
6,577
Apache-2.0
2023-09-14T19:45:32
2018-05-12T09:57:56
Java
UTF-8
Python
false
false
816
py
# coding: utf-8 """ OpenAPI Petstore This spec is mainly for testing Petstore server and contains fake endpoints, models. Please do not use this for any other purpose. Special characters: \" \\ # noqa: E501 The version of the OpenAPI document: 1.0.0 Generated by: https://openapi-generator.tech """ ...
[ "noreply@github.com" ]
OpenAPITools.noreply@github.com
6bbd7506cb05eb4e4065865fdd18cc17fcea1b2b
8bccc05fcb3cfc6ed93991927a514a96f53f7ec0
/example_extender/add_mention_dummy_extender.py
de5c32d684d6884597a818c80c3c1a1b17752451
[ "MIT" ]
permissive
afcarl/QuestionAnsweringGCN
54101c38549405d65ef22e38fed9e5bd58122ada
e9c1987b40a553f0619fa796f692c8880de32846
refs/heads/master
2020-03-20T10:35:55.729170
2018-06-07T11:45:12
2018-06-07T11:45:12
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,615
py
import numpy as np from example_reader.graph_reader.edge_type_utils import EdgeTypeUtils class AddMentionDummyExtender: relation_index = None vertex_index = None inner = None def __init__(self, inner, relation_index, vertex_index): self.inner = inner self.relation_index = relation_i...
[ "michael.sejr@gmail.com" ]
michael.sejr@gmail.com
b6df2c47c2e660f59205c497b027827cc1e83442
52e83d67c8b76f83278b61a4c0787abebfa2423c
/DeepLense/Shubham Jain/pipelines/beginner/features/redshifts_lens_and_source.py
f7fbc9325206394e42474457af943383399ac661
[]
no_license
mlsft/gsc_tasks-
3935142c93cebc978ff35e3f37486438c4dceeed
84b62aa04f2333d26f8f95a7c0b24c3922bac647
refs/heads/master
2022-04-13T16:22:18.054908
2020-04-14T11:59:45
2020-04-14T11:59:45
249,394,940
2
0
null
null
null
null
UTF-8
Python
false
false
4,271
py
import autofit as af import autolens as al ### PIPELINE DESCRIPTION ### # In this pipeline, we'll demonstrate passing redshifts to a pipeline - which means that the results and images of this # pipeline will be returned in physical unit_label (e.g. lengths in kpcs as well as arcsec, luminosities in magnitudes, # mass...
[ "alihariri@MacBook-Air-de-Ali.local" ]
alihariri@MacBook-Air-de-Ali.local
8c35acf2054e58652195c1bb39c97e6e4ac9ded4
1145b96df89a34bee419c070a286239b06d5564d
/AI/chunm18_estes17_old.py
9218143512005a360830010fc50c2c248303ba0e
[]
no_license
NalaniKai/AI-HW5
4e7b514ef41927d5a30ee0c018408757026f7872
bda1ca3117797d05685ccf4d4a9581e0097c42cd
refs/heads/master
2020-11-29T12:00:17.654018
2017-04-13T21:21:46
2017-04-13T21:21:46
87,498,558
0
0
null
null
null
null
UTF-8
Python
false
false
34,428
py
import random import sys import math as math from os import path sys.path.append(path.dirname(path.dirname(path.abspath(__file__)))) # nopep8 from Player import Player import Constants as c from Construction import CONSTR_STATS, Construction from Ant import UNIT_STATS, Ant from Move import Move from GameState import a...
[ "megan.nalani@gmail.com" ]
megan.nalani@gmail.com
4856bde0b0b864ee66218ab2cf5abb1934f118c2
27bdcba25df8b2416783d8a1229bfce08dc77189
/tests/util/httpretty/test_decorator.py
d2ccd74525dfd97109047417dea28c64ee280b8a
[ "Apache-2.0" ]
permissive
BenjamenMeyer/stackInABox
5fbeab6aac38c52d5360f9dbabb9101447e32eb5
15586e61a2013b6f4997c652e8412a1784f8fc93
refs/heads/master
2022-04-01T01:04:33.103603
2021-01-09T05:52:55
2021-01-09T05:52:55
30,074,880
5
2
null
null
null
null
UTF-8
Python
false
false
6,522
py
""" Stack-In-A-Box: Basic Test """ import collections import sys import types import unittest import requests from stackinabox.util.httpretty import decorator from tests.util import base from tests.utils.services import AdvancedService from tests.utils.hello import HelloService @unittest.skipIf(sys.version_info >=...
[ "bm_witness@yahoo.com" ]
bm_witness@yahoo.com
b6ee240936b79843ff0fcec2a5ea0a3952af3fb6
fd86f86950d1ee18336b391a5d7e77825fa284ab
/orders/migrations/0024_auto_20191206_1005.py
9b7d116defdcc574496dd875f55d301ee9cc729c
[]
no_license
vijay7979/proj3
03c45ef33ce1f2196a1e76dfd5a7b1975003b052
43774d8984361366421321db372d8542451a1c60
refs/heads/master
2022-12-06T17:55:15.152442
2020-01-22T08:10:41
2020-01-22T08:10:41
231,880,467
0
0
null
2022-11-22T02:24:48
2020-01-05T07:01:14
Python
UTF-8
Python
false
false
692
py
# Generated by Django 2.1.5 on 2019-12-06 02:05 from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): dependencies = [ ('orders', '0023_auto_20191205_2124'), ] operations = [ migrations.RemoveField( model_name='pasta...
[ "vijay@saturnsystems.com.my" ]
vijay@saturnsystems.com.my
49925c76cad1aa2bce0fe243f7a98de849a7f0b7
e8315fb57c1ca507d413c7db88631d28bbd8a4a8
/post/models.py
a23e00294de8616fd2104645721c96c09e0a1670
[]
no_license
Ogeneral/website
a4119b05d91209518c928ef6af357ad921719a8d
ff65bb45c75ee66759462d9c5ccc8f302c90144d
refs/heads/master
2020-08-17T16:20:25.350802
2019-10-17T23:09:50
2019-10-17T23:09:50
215,676,152
0
0
null
null
null
null
UTF-8
Python
false
false
714
py
from django.contrib.auth.models import User from django.db import models class Post(models.Model): Your_name = models.CharField(max_length=200) pub_date = models.DateTimeField('date published', auto_now_add=True) Your_Post_title = models.CharField(max_length=200) Your_Post = models.TextField(max_l...
[ "adesiyanoladipo@gmail.com" ]
adesiyanoladipo@gmail.com
44169eb3847ec870ceabdbf7343dc31c946a5041
ba2eea85cef560c54d5cb4af0e4f2c7c3ee3eb2f
/nesfr3_workspace/catkin_ws/devel/lib/python2.7/dist-packages/hdl_people_tracking/msg/__init__.py
25469b939f284ee573515fba8efc8d24068cf7de
[]
no_license
HiSeun/nesfr3_selfwork
0c782597ffd66d736d53ae05594d23fa7f1d9a85
855d43117a235462335c6693b334e7a6235d1d31
refs/heads/master
2023-02-08T07:33:15.637998
2021-01-05T08:48:45
2021-01-05T08:48:45
326,935,430
0
1
null
null
null
null
UTF-8
Python
false
false
102
py
from ._Cluster import * from ._ClusterArray import * from ._Track import * from ._TrackArray import *
[ "ksw05088@naver.com" ]
ksw05088@naver.com
fd9be4ed5b8e96adc9b7c7179e75e6a561966ed9
e8020d8d1c4503193b92b351a1a550de1a0f5cb0
/features/steps/filter_games.py
3313eb448c875d5e5d35a60c4c642d564a82e0ec
[]
no_license
gejurier/AcceptanceTesting
4b50311a7045bb839fdad0cfde9c5ab93ae0c9d9
95832306c180eb8a5d6fbb21454b6a4f91a6663d
refs/heads/main
2023-07-10T07:15:04.974784
2021-08-15T01:58:12
2021-08-15T01:58:12
396,184,291
0
0
null
null
null
null
UTF-8
Python
false
false
1,989
py
from behave import * from src.Game import * from src.Catalogue import * #Condiciones antes de empezar cualquier STEP def before_scenario(context, scenario): context = {} @given("a set of games") def step_impl(context): game_list = [] for row in context.table: elenco = [] idiomas = [] game = Game(row['NAME'...
[ "julianariera1998@gmail.com" ]
julianariera1998@gmail.com
63dc99d84353e4b326e0d3cee7bc532a9b973e2d
d16dd92e46304afd6fe026861a64efd25687b1be
/05 Funções/04.py
52480a5f982888071699d186525d79043d1d93b0
[]
no_license
carlosalbertoestrela/Lista-de-exercios-Python
6c51eb131e79dc5c50b55816209cfe6326f3a591
f7edd962c6b79ab621d624d2a23e20de1e0635ee
refs/heads/master
2022-12-12T11:36:06.236246
2020-09-18T02:06:21
2020-09-18T02:06:21
292,004,968
0
0
null
null
null
null
UTF-8
Python
false
false
421
py
""" 04) Faça um programa, com uma função que necessite de um argumento. A função retorna o valor de caractere ‘P’, se seu argumento for positivo, e ‘N’, se seu argumento for zero ou negativo. """ def teste_p_n(num): if num > 0: return 'P' else: return 'N' n = int(input('Digite um número par...
[ "carlos.alberto-estrela@hotmail.com" ]
carlos.alberto-estrela@hotmail.com
e83de71bd10a5bcc7fd572a2a34f005b4128c01d
d5c50527791c1514ab3674273036f036d78d1d3c
/assignment1/cs231n/classifiers/softmax.py
e33356ed54cb3fd5f4e1b69f3d56fad5c4621a27
[]
no_license
Jaycolas/CS231n
d6c408d02a164ac460ffdef1988c6e4b4e441215
6170ca7a1898f3d328110751db3e315f6194dd0f
refs/heads/master
2021-01-21T06:33:01.586491
2017-03-07T06:41:42
2017-03-07T06:41:42
83,252,632
0
0
null
null
null
null
UTF-8
Python
false
false
3,362
py
import numpy as np from random import shuffle def softmax_loss_naive(W, X, y, reg): """ Softmax loss function, naive implementation (with loops) Inputs have dimension D, there are C classes, and we operate on minibatches of N examples. Inputs: - W: A numpy array of shape (D, C) containing weights. - X:...
[ "nangeya@126.com" ]
nangeya@126.com
f9de6b21825748128663735e57396329fedbf62c
4e0f222e54e6e3bfa50d6d1e2dae967375837a94
/djangoprojects/urls.py
8f7f0bc53e584271da144e8f593067d3df9dec68
[]
no_license
halfwitted/calculator-django
533d8dac4729a7ed62cb11b1a70dc9760b2be719
f0704be5675025c8049db2a028776fea3796ca7c
refs/heads/master
2023-02-02T06:20:25.841830
2020-12-20T05:55:22
2020-12-20T05:55:22
322,900,315
0
0
null
null
null
null
UTF-8
Python
false
false
814
py
"""djangoprojects URL Configuration The `urlpatterns` list routes URLs to views. For more information please see: https://docs.djangoproject.com/en/3.0/topics/http/urls/ Examples: Function views 1. Add an import: from my_app import views 2. Add a URL to urlpatterns: path('', views.home, name='home') Clas...
[ "abhiabi.fm@gmail.com" ]
abhiabi.fm@gmail.com
def403f049d5e996b41cb5806ab74dcfb8c5e0d6
d0d00a6f4a6a4aa1e49390d4bd787ffcf06fafa7
/api/api.py
daff4b6e6d06f350ce9a568fa9465a00f72a0283
[]
no_license
mrantry/flask-react-app
47fd06b42b0e6ed1b489be93ae7c131077c3c4bd
772445fb366e7ff5f2b72e00fad9d3a36d2b94cc
refs/heads/main
2023-01-19T22:44:43.620850
2020-11-11T04:29:48
2020-11-11T04:29:48
309,777,981
1
0
null
null
null
null
UTF-8
Python
false
false
7,995
py
from flask import Flask, request import sqlite3 import uuid from werkzeug.exceptions import HTTPException import json import csv app = Flask(__name__) @app.route('/initdb') def init_db(): conn = sqlite3.connect('movies.db') print("Opened database successfully"); # clear out db if table already exists... ...
[ "mrantry@gmail.com" ]
mrantry@gmail.com
cafca80bf7bddc1cd15435d72b69eb647c4067eb
71ca661b74aa7b9662ad1dc54fe807b63bc9c4bc
/ids.py
e0bec233d4e010246fb91d67c064ccdb747da3b4
[ "LicenseRef-scancode-unknown-license-reference", "Apache-2.0" ]
permissive
estuans/fsrip
d3a8dca3120942ed5239bdf21b2e87f810b733a3
161493e76d359c8bf2ebab8eeb42e5cf42f1b7b8
refs/heads/master
2021-05-09T10:47:32.794141
2015-05-27T15:27:42
2015-05-27T15:27:42
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,693
py
#!/opt/local/bin/python3.3 # {"id":"0000", # "t":{ # "fsmd":{ # "fs":{"byteOffset":1048576,"blockSize":512,"fsID":"f7c7b628","partName":"part-0-0"}, # "path":"", # "name":{"flags":"Allocated","meta_addr":4,"meta_seq":0,"name":"Documents","shrt_name":"DOCUME~1","type":"Folder"}, # "met...
[ "jonathan.l.stewart@acm.org" ]
jonathan.l.stewart@acm.org
8746be1fd3b410f5feea5dc25408026a13c2840a
b5445f9a1f3597472f47df89696465bca7735406
/app/program.py
fbad7d4d00617fce1af32fa10d72252d695d045e
[ "MIT" ]
permissive
mikeckennedy/pyramid-web-builder-python-gui
8af5a4dde9ff1bd6173f789464b67bdaba8bd3fa
d842e116730e9b0ed9daaf1125e1fb6e2b3ea40e
refs/heads/master
2021-05-03T11:00:32.390158
2018-02-17T16:12:56
2018-02-17T16:12:56
120,542,873
6
2
null
null
null
null
UTF-8
Python
false
false
2,867
py
import cookiecutter.main import sys from gooey import Gooey, GooeyParser from utils import to_project_style @Gooey( program_name='Pyramid app builder', program_description='Create a Pyramid web app', show_success_modal=False, requires_shell=False) def main(): info = get_user_values() proj_dir...
[ "mikeckennedy@gmail.com" ]
mikeckennedy@gmail.com
73f8a9ab6ec9a7c2c33e70014762322b82ac8488
45829716d3dfe520f5f1efdd4088b1de3baf447f
/ChoicesModelApi/app/src/route_choice_model.py
eee96cac83460b4e9fa3652d93ca60a02c69a1a2
[]
no_license
SanTransport/My-TRAC-choice-model-API
c48037f14396948eea00b97d2f268b50b03f52e3
077399c631289356af4b8baf57a2753db008d952
refs/heads/master
2020-12-23T19:13:50.240972
2020-02-19T13:44:11
2020-02-19T13:44:11
237,245,095
0
0
null
2020-01-30T15:39:28
2020-01-30T15:39:28
null
UTF-8
Python
false
false
22,374
py
''' Pretty similar to the mode/departure time choice models. Assumes a maximum of 10 itineraries. Parses the request_reply field in user_chooses_route for model estimation. For preditcion, expects a URL describing all attributes as in below example: http://localhost:5000/choice/route/?user_country=NL &transitTime_...
[ "s.shelat@tudelft.nl" ]
s.shelat@tudelft.nl
411345c0f65612ba6ffbc7676affbf602610f570
b639cc785f3e548c77090fb8d2bc35d5aebfa27c
/tests/test_patterns/test_des.py
79d37243bb32adcaed183884512f9af4dcd4d33f
[]
no_license
jmcarp/neurotrends
92b7c33a0fe7a216af4cbbb5d4d26f8ee051286e
724c06f6a31ecfe37780b51038b3367cd501be37
refs/heads/master
2016-09-05T15:49:35.435697
2014-11-02T04:27:21
2014-11-02T04:27:21
6,889,235
6
3
null
2014-10-19T18:33:44
2012-11-27T19:15:19
Python
UTF-8
Python
false
false
433
py
# -*- coding: utf-8 -*- import pytest from neurotrends.pattern import des from . import check_taggers @pytest.mark.parametrize('input, expected', [ # Positives ('block design', {}), ('blocked paradigm', {}), ('epoch based', {}), ('epoched analysis', {}), # PMID 21625502 ('we used a bloc...
[ "jm.carp@gmail.com" ]
jm.carp@gmail.com
2b19976d56131f88072e56b83b4b12483db4afa8
774af99a0091e1b0e26dc8bb21909c610e76b990
/findtest.py
603bbcd50aa89856dcf70c84b35c4378ed018d36
[ "MIT" ]
permissive
ConstantFun/finding_lanes
b53ca6c7db974ab36b93c516011e4d6124f7ffc0
ebf361c51fb489166a9b591c502c70d56169cbba
refs/heads/master
2020-04-01T07:21:44.835929
2018-10-19T11:05:12
2018-10-19T11:05:12
152,987,095
0
0
null
null
null
null
UTF-8
Python
false
false
1,357
py
# Do relevant imports import matplotlib.pyplot as plt import matplotlib.image as mpimg import numpy as np import cv2 # Read in and grayscale the image image = mpimg.imread('test_images/solidWhiteCurve.jpg') gray = cv2.cvtColor(image,cv2.COLOR_RGB2GRAY) # Define a kernel size and apply Gaussian smoothing kernel_size =...
[ "m.kingeryjp@gmail.com" ]
m.kingeryjp@gmail.com
50ed4c1e4c8f3a3d0004a7364916f829ebeb823e
e831c22c8834030c22c54b63034e655e395d4efe
/171-ExcelSheetColumnNumber.py
b0ecffe70dcf519041cda5b5ec7b971faf11ca34
[]
no_license
szhmery/leetcode
a5eb1a393422b21f9fd4304b3bdc4a9db557858c
9fcd1ec0686db45d24e2c52a7987d58c6ef545a0
refs/heads/master
2023-08-16T00:27:56.866626
2021-10-23T07:35:37
2021-10-23T07:35:37
331,875,151
0
0
null
null
null
null
UTF-8
Python
false
false
394
py
class Solution: def titleToNumber(self, columnTitle: str) -> int: ans = 0 for char in columnTitle: num = ord(char) - ord('A') + 1 ans = ans * 26 + num return ans if __name__ == '__main__': solution = Solution() result = solution.titleToNumber("FXSHRXW") ...
[ "szhmery@gmail.com" ]
szhmery@gmail.com
90b7348d06a42580f3926bcd866c1b08c03a1841
c66e8c4bdc4cceaa3b62cb50879ccd48e58a9b5f
/app/main.py
759e6849b1e9f3c5957270514f5920236c628d23
[]
no_license
hopeaktian/smart_factory
779d47abf6344555cd437842ab011de10735a9ea
31cd6a74f8f65b3ea0c5339690e0003e95c6d9e1
refs/heads/master
2020-03-28T10:56:16.587472
2019-05-01T15:00:14
2019-05-01T15:00:14
148,161,162
1
0
null
null
null
null
UTF-8
Python
false
false
13,069
py
# -*- coding: utf-8 -*- import datetime, os, time from flask import Flask, render_template, request, flash, session, redirect, url_for from config import DevConfig from werkzeug.utils import secure_filename # from flask_sqlalchemy import SQLAlchemy from models import db # from sqlalchemy.sql.expression import not_, or...
[ "hopeaktian@gmail.com" ]
hopeaktian@gmail.com
f4b2a1dbd9240673bd7048d07490b2712b5479ef
4578b30c433510cf370d51475ec11cac9c3de1cb
/serpent/analytics_client.py
f7cc26e803be8a25bf0c6da550b983ec00c7ca18
[ "MIT" ]
permissive
SerpentAI/SerpentAI
0a5b2d567b50388722c3a3c5152555ce94256c49
00a487dd088c6ca2528d025f3273c0a796efe210
refs/heads/dev
2023-03-08T14:14:07.171435
2020-05-22T22:34:09
2020-05-22T22:34:09
88,444,621
7,216
950
MIT
2020-07-15T00:41:35
2017-04-16T21:48:39
Python
UTF-8
Python
false
false
1,395
py
from redis import StrictRedis from datetime import datetime from pprint import pprint from serpent.config import config import json class AnalyticsClientError(BaseException): pass class AnalyticsClient: def __init__(self, project_key=None): if project_key is None: raise AnalyticsClien...
[ "info@nicholasbrochu.com" ]
info@nicholasbrochu.com
6f69f90944511a4dd09b85444b506dbc254f8afb
8f8ac99fd3ed9ceb36778b404f6fdd0b6899d3f4
/pyobjc-framework-Cocoa/PyObjCTest/test_nsattributedstring.py
b340f942563363e10e7fc3227d6dd2846b890741
[ "MIT" ]
permissive
strogo/pyobjc
ac4201c7742eb75348328eeecb7eedf4e3458de3
2579c5eaf44b0c5af77ee195c417d2c65e72dfda
refs/heads/master
2023-07-13T00:41:56.448005
2021-08-24T06:42:53
2021-08-24T06:42:53
null
0
0
null
null
null
null
UTF-8
Python
false
false
17,273
py
import objc import Foundation import AppKit from PyObjCTools.TestSupport import TestCase, min_os_level class TestNSAttributedString(TestCase): def testMethodsFoundation(self): self.assertArgIsOut( AppKit.NSAttributedString.attributesAtIndex_effectiveRange_, 1 ) self.assertArgIs...
[ "ronaldoussoren@mac.com" ]
ronaldoussoren@mac.com
8b15a616e85162f478947d14f75d41b23052b9be
b91dbe904d464923d51b5402a080854c57ce0aa7
/scripts/stop_vm.py
f3c2a61bb0927e993cd966ec8e376db38be47620
[]
no_license
ESGF/esgf-jenkins
0c18822456604e6a161e52bf435ea42996c1ae56
3c29189831346761ebfee2c48d88fd3f42fa27b1
refs/heads/master
2021-06-01T16:17:25.285427
2021-02-08T23:49:32
2021-02-08T23:49:32
129,452,815
0
1
null
2021-02-08T23:49:33
2018-04-13T20:59:07
Python
UTF-8
Python
false
false
697
py
import sys import os import argparse import re this_dir = os.path.abspath(os.path.dirname(__file__)) modules_dir = os.path.join(this_dir, '..', 'modules') sys.path.append(modules_dir) from Util import * from vm_util import * parser = argparse.ArgumentParser(description="prepare a virtual machine", ...
[ "muryanto1@ML-9516678.llnl.gov" ]
muryanto1@ML-9516678.llnl.gov
cdc62e0661ae30c80e83b7d35e680840195d3461
2929a5acbe52994cf2f961ed120374b7b330d074
/form5/migrations/0008_auto_20200724_1433.py
30b1610c3e20398521e7651d662281109a24371c
[]
no_license
orhunakar01/larasolar01
a52135747676c587f6dfd98c67bf4c4a323dc448
18e12ecd5adc086da56b956a7f8da33f0723c84a
refs/heads/master
2022-12-04T16:06:32.983099
2020-08-26T06:45:03
2020-08-26T06:45:03
290,418,075
0
0
null
null
null
null
UTF-8
Python
false
false
434
py
# Generated by Django 3.0.8 on 2020-07-24 11:33 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('form5', '0007_auto_20200724_1430'), ] operations = [ migrations.AlterField( model_name='form5', name='dosya', ...
[ "orhunakar@yandex.com" ]
orhunakar@yandex.com
fb15d31c5e6405b39011d5a052b68586cdb57a9a
97608e007540a6507d323beb10ad80213a409180
/Binary Trees and BST/Level order traversal in spiral form/code.py
ad78d1ffae09e21f074c7d637492c830f607fefd
[]
no_license
saurabh23kgp/Python-codes-for-Standard-Programming-Questions
ca748a8b9cf6a4ff0cd8caf384327574bee82cfd
5c6cdc1ab9973c115bf70d6ef4142f81ce431d7b
refs/heads/master
2020-12-23T17:05:58.162011
2020-07-26T08:34:32
2020-07-26T08:34:32
237,211,683
0
0
null
null
null
null
UTF-8
Python
false
false
761
py
def printSpiral(root): stack1=[] stack2=[] if(root==None): return stack1.append(root) while(len(stack1)!=0 or len(stack2)!=0): while(len(stack1)!=0): top=stack1.pop(len(stack1)-1) if top.right: stack2.append(top.righ...
[ "noreply@github.com" ]
saurabh23kgp.noreply@github.com
e8bd886a3bdc6cc1e1d74870cc517a83b8118279
51885da54b320351bfea42c7dd629f41985454cd
/abc198/e.py
4bad4cd9760be8cf70992b7142d358622bb251b8
[]
no_license
mskt4440/AtCoder
dd266247205faeda468f911bff279a792eef5113
f22702e3932e129a13f0683e91e5cc1a0a99c8d5
refs/heads/master
2021-12-15T10:21:31.036601
2021-12-14T08:19:11
2021-12-14T08:19:11
185,161,276
0
0
null
null
null
null
UTF-8
Python
false
false
1,109
py
# # abc198 e # import sys from io import StringIO import unittest from collections import deque class TestClass(unittest.TestCase): def assertIO(self, input, output): stdout, stdin = sys.stdout, sys.stdin sys.stdout, sys.stdin = StringIO(), StringIO(input) resolve() sys.stdout.seek...
[ "mskt4440@gmail.com" ]
mskt4440@gmail.com
a0bbe3046b1630dd3f350a6d8da6f98199236651
be1d6aa78bd2750b55c3967390186651af3a5679
/mysite/coderslab/urls.py
ca47a097eaa380d732314cab27915254d207679a
[]
no_license
polabernat/bibliotekaplyt
fa8b45501f9cb3d5eac6419185260f6a25f06018
bab34225c4c5dd1adfc11b3a0af09bc8abf81ae2
refs/heads/main
2023-05-04T08:52:47.471902
2021-05-28T09:39:05
2021-05-28T09:39:05
339,998,050
0
0
null
null
null
null
UTF-8
Python
false
false
1,442
py
"""coderslab URL Configuration The `urlpatterns` list routes URLs to views. For more information please see: https://docs.djangoproject.com/en/3.1/topics/http/urls/ Examples: Function views 1. Add an import: from my_app import views 2. Add a URL to urlpatterns: path('', views.home, name='home') Class-bas...
[ "polabernatx@gmail.com" ]
polabernatx@gmail.com
aeb8541180e92184d5a876342cae582c52f814be
85a551fd2db01fe422aae8b74b608e8c971def80
/Data Structures and Algorithms/Algorithmic Toolbox/week6/knapsack.py
11f06860939104f471dd1f448614f8e767e3e7ba
[]
no_license
stellacly0896/DataStructures-Algorithms
ede59113395b2c83af470bb31a5515ac9051e44f
5a4654aef9376e0a2c06841e5624a8f9972ee4d1
refs/heads/master
2020-08-15T11:53:41.192806
2019-10-15T15:50:11
2019-10-15T15:50:11
null
0
0
null
null
null
null
UTF-8
Python
false
false
577
py
# Uses python3 import sys def optimal_weight(W, weights): values = weights cols = W + 1 rows = len(weights) + 1 T = [[0 for _ in range(cols)]for _ in range(rows)] for i in range(1, rows): for j in range(1, cols): if j < weights[i-1]: T[j][i] = T[j][i - 1] ...
[ "noreply@github.com" ]
stellacly0896.noreply@github.com
b91fc64b91e32a711570b9de2294a00efffe81b2
2995bc1f9a28aae8bf9f0974b3f38ff9926d87aa
/triangle/triangle.py
676f51ed32098b6f021411f5d55632f9bff839de
[]
no_license
quanvh53/ktpm2013
bf6fda39c1056935723479c44c277fc920537fb7
ca64f2a3475b15592709f8a8ea068c5c371ab40e
refs/heads/master
2020-05-31T08:31:47.241805
2013-10-19T16:55:37
2013-10-19T16:55:37
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,486
py
import math def checkinput(a,b,c): if type(a) is float and type(b) is float and type(c) is float : return True return False def detect_triangle(a,b,c): if checkinput(a,b,c) : saiso = 0.00000001 if (a+b>c and b+c>a and c+a>b) : if a==b and b==c and c==a: ...
[ "quanvh90@gmail.com" ]
quanvh90@gmail.com
c3f9bcc49bee8ec68162fad1d986ea68c37b9afd
36c4fd01715ee2b495f0540e4a91709e513f407c
/my_expenses/asgi.py
862ff845bc0fa972abac620cd8375856b2f30854
[]
no_license
mjsphdev/my_expenses
41f72f8f1cb240d039a769814e2259798c83421a
4b2b7485a9eaa8c7460aba3ff7c34121e27c3346
refs/heads/main
2023-07-23T04:52:18.517589
2021-08-18T03:53:46
2021-08-18T03:53:46
396,293,312
0
0
null
2021-08-18T03:53:47
2021-08-15T09:21:23
CSS
UTF-8
Python
false
false
399
py
""" ASGI config for my_expenses 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.2/howto/deployment/asgi/ """ import os from django.core.asgi import get_asgi_application os.environ.setdefault('DJANGO_S...
[ "colibaomarkjoseph@gmail.com" ]
colibaomarkjoseph@gmail.com
d0021b1c204fd7b628962ab2187afb20653b301c
76d5f1fca6e58e0547448fa1d80ebfb1751059e5
/music163/__init__.py
72958dab4bb8346b0348062f7a911510b9d7bde1
[]
no_license
shenxuexin/spiders
897cad179cafb88f0705c1c53807dd3eba95dba2
fd521102d282f9045d830e43fe02ded42d71ac24
refs/heads/main
2023-02-09T22:41:01.526452
2021-01-06T03:32:27
2021-01-06T03:32:27
322,570,998
2
0
null
2021-01-06T03:32:28
2020-12-18T11:07:11
Python
UTF-8
Python
false
false
139
py
# -*- coding: utf-8 -*- """ @Author : shenxuexin @Time : 2021/1/5 13:06 @File : __init__.py.py @software:PyCharm """
[ "shenxuexin@ruc.edu.cn" ]
shenxuexin@ruc.edu.cn
0589db5b1c71d413e91ef8dc821f3c27deb42db7
1c5f3433f96a68387e2eade17bde6635b5f27bdd
/cashback_api/sales/services.py
ea9795a7ecbd89544c8812a2ff19528ca6bf2196
[]
no_license
guzzz/cashback-api-rest
d2eb92bcc58e9eeeeb3bd1c1b66c04b2b54ba4cd
85bbea1859d9da2db5a03d1d545e032608847ade
refs/heads/main
2023-01-19T21:48:59.228941
2020-11-25T04:31:45
2020-11-25T04:31:45
315,829,060
4
1
null
null
null
null
UTF-8
Python
false
false
352
py
from decimal import Decimal def check_cpf(cpf): if cpf == '153.509.460-56': return True else: return False def calculate_cashback(value): if value <= 1000: return 10, "{:.2f}".format(value*Decimal(0.10)) elif 1000 < value < 1500: return 15, "{:.2f}".format(value*Decimal(0.15)) else: return 20, "{:....
[ "daniel.guzman@finxi.com.br" ]
daniel.guzman@finxi.com.br
780506e190b672d63cc1156c97bd4e2402b86cb1
0a973b3c6aad4518e17ff1eebd59a254fa07a757
/specialize.py
5d4c2d2885e8e973257f5b085e313e209e4e3688
[]
no_license
YiningWang2/DC_power_prediction_rank21
946b8acef726aca562c4e143c1c16649efd1d993
d5aff148c675619a0e71c9900dd28fd027d34f2a
refs/heads/master
2022-10-06T11:14:52.591322
2019-12-16T03:18:31
2019-12-16T03:18:31
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,887
py
import numpy as np import pandas as pd import sklearn from sklearn.model_selection import StratifiedKFold import csv from sklearn.model_selection import train_test_split from sklearn.tree import DecisionTreeRegressor from xgboost import XGBRegressor import lightgbm as lgb from lightgbm import LGBMRegressor from sklearn...
[ "394483135@qq.com" ]
394483135@qq.com
eed9894019e05eca7b30267d37c17455147ae279
52a3beeb07ad326115084a47a9e698efbaec054b
/horizon/.venv/lib/python2.7/site-packages/muranodashboard_org/api/packages.py
30555b0805e18d567b9299fc0c686cec216987c7
[ "Apache-2.0" ]
permissive
bopopescu/sample_scripts
3dade0710ecdc8f9251dc60164747830f8de6877
f9edce63c0a4d636f672702153662bd77bfd400d
refs/heads/master
2022-11-17T19:19:34.210886
2018-06-11T04:14:27
2018-06-11T04:14:27
282,088,840
0
0
null
2020-07-24T00:57:31
2020-07-24T00:57:31
null
UTF-8
Python
false
false
3,859
py
# Copyright (c) 2014 Mirantis, 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 applicable law...
[ "Suhaib.Chishti@exponential.com" ]
Suhaib.Chishti@exponential.com
59084e9a817aa6f960d8e909db12bea043370a81
2d41d08982f792d4959b93abf114a75c3a8e9a6f
/Leetcode/two_sum.py
6dff6ce84dc7729c1fc7f406bb022829b27e1233
[]
no_license
codeAligned/Programming-Interviews-Problems
391715470d2b8e1baa204c09243d91ef8382402e
46d9eba09c4b23162127986b8adc9f8c5689f567
refs/heads/master
2021-05-29T03:54:33.860142
2015-03-05T18:23:36
2015-03-05T18:23:36
null
0
0
null
null
null
null
UTF-8
Python
false
false
599
py
''' https://oj.leetcode.com/problems/two-sum/ ''' class Solution: # @return a tuple, (index1, index2) def twoSum(self, num, target): hashtable = {} for n in num: hashtable[n] = n for i in range(len(num)): if hashtable.has_key(target - num[i]): ...
[ "NicolasRichard3@gmail.com" ]
NicolasRichard3@gmail.com
0160a4f6fba61d4c54432021f63c0951eec3b1f0
aee7d5afe722157d42a60bf482b2a8314b7de27b
/startpage/urls.py
cb36b60de80a489e1cf273065304635647728511
[]
no_license
nikolaiwiskow/adwords-automation-tool
0c02cb849d8c001fe19c4af45061e05a71b88562
4ff90b1023ea52da640d5583d1f912e0a28f117d
refs/heads/master
2020-05-29T09:35:56.402550
2019-05-28T17:02:53
2019-05-28T17:02:53
189,069,536
0
1
null
null
null
null
UTF-8
Python
false
false
131
py
from django.conf.urls import url, include from . import views urlpatterns = [ url(r"^$", views.startpage, name="startpage"), ]
[ "nikolai.wiskow@web.de" ]
nikolai.wiskow@web.de
be5b5dfd52caa884259bb5fe6da787568439458f
0800c01c7e3bd33889faf6366afa936e5be2583a
/mtg/mtg/middlewares.py
e19d90d8efd68446e0bf2dc6d0e423d9e4eb08ab
[]
no_license
stberg3/mtg_scrape
4ce9279d1d0ae97114a1d5f3f441ee383b8363c4
975106a660e2bf6ed75013310d3bc8aa5520482c
refs/heads/master
2021-01-25T04:35:12.255274
2017-07-29T20:13:36
2017-07-29T20:13:36
93,448,844
0
0
null
null
null
null
UTF-8
Python
false
false
1,877
py
# -*- coding: utf-8 -*- # Define here the models for your spider middleware # # See documentation in: # http://doc.scrapy.org/en/latest/topics/spider-middleware.html from scrapy import signals class MtgSpiderMiddleware(object): # Not all methods need to be defined. If a method is not defined, # scrapy acts ...
[ "stberg3@gmail.com" ]
stberg3@gmail.com
82816f71d39b86ba1fbc28e7c5424832c39d87fc
457d9b27a97f461de952ffa3b9c15691df6b64f7
/venv/bin/flask
c64127dcb4426847b803600b6637e3ea090ef696
[]
no_license
PerlaOvalle/todoflask
63b140d2bfad8d17b0a5dfd3e4d7c32670315f6d
7faf56be05c5a69bdae938274db79bf1f0b05a4b
refs/heads/master
2023-03-23T05:21:09.455871
2021-03-25T07:49:15
2021-03-25T07:49:15
351,350,527
0
0
null
null
null
null
UTF-8
Python
false
false
247
#!/Users/perlaovalle/Documents/todoflask/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())
[ "perla.ovla@gmail.com" ]
perla.ovla@gmail.com
12a68d3c52fd7906308e791dffdf01e13c158e3e
4e558281ab352b745e970936650e479bbb687982
/examples/simple_example1.py
5f9b339dddecc8625b94842f4f3f30d38ea07d00
[ "MIT" ]
permissive
videoflow/videoflow
e3b84b3acd3591837d30ce51d5023f3dee9823f3
c49d3fe6c814574bcda1a4e907ce52ea86e1617c
refs/heads/master
2023-01-24T06:51:56.141621
2022-01-20T14:23:58
2022-01-20T14:23:58
181,554,939
1,065
96
MIT
2022-01-20T14:23:59
2019-04-15T19:47:22
Python
UTF-8
Python
false
false
461
py
from videoflow.core import Flow from videoflow.producers import IntProducer from videoflow.processors import IdentityProcessor, JoinerProcessor from videoflow.consumers import CommandlineConsumer producer = IntProducer(0, 40, 0.1) identity = IdentityProcessor()(producer) identity1 = IdentityProcessor()(identity) joine...
[ "jadielam@gmail.com" ]
jadielam@gmail.com
bb4fb6df005a991c68abe7f40c9c555fd11d1cfa
a6a2818cf08f0f62ac1d0b6ddfbcc3ad363cf391
/mutti/screen.py
2e2341a8d3ca6b515ddd20b47f27ad7a1ea55c22
[]
no_license
mkrieger1/mutti
55519c4b2f65dc8a58646a6258655efa081f9f49
aa24493d785706eaf7f9515d288203f86f0a7897
refs/heads/master
2021-06-10T15:57:44.773758
2016-12-15T16:43:09
2016-12-15T16:43:09
23,322,555
1
0
null
null
null
null
UTF-8
Python
false
false
1,441
py
from .panel import Panel, ExitLoop from .status import Status from .colors import color_attr class Screen(Panel): _max_children = 2 # one of them is the statusbar def __init__(self): Panel.__init__(self) self.set_focus(True) statusbar = Status(width=80) self.adopt(statusbar) ...
[ "michael.krieger@ziti.uni-heidelberg.de" ]
michael.krieger@ziti.uni-heidelberg.de
d9a05db0b14042594d75ea9f4cadf8c67f31a6c5
0bb63518c921b55032205a1f242eea7e0e4b6c36
/src/domain/data/about.py
f96e6edd39d1603e0544c7a53c74385e9f2cf1aa
[]
no_license
iosifsecheleadan/professor-pages
938c97ff9f4df74d68c5177a9856d8cc331cdc51
7cede013bb7115e9ad7b01381768fe0833cfbdd8
refs/heads/master
2023-03-06T15:08:59.699362
2021-02-17T08:38:57
2021-02-17T08:38:57
320,370,157
0
0
null
2021-01-12T17:59:09
2020-12-10T19:29:13
Python
UTF-8
Python
false
false
1,445
py
from src.domain.data.base import DataEntity, DataException from src.domain.data.document import Document # todo add repository method : add_about_document from src.domain.view.factory import material_card, title class About(DataEntity): def __init__(self, documents: list, ): ...
[ "iosifsecheleadan@protonmail.com" ]
iosifsecheleadan@protonmail.com
97362b796c1ce1bd97928be6cc13dd07c41d4c2d
f56a1c0d5af368c38bf4d05e0f251dc525c84ba4
/pulser-core/pulser/sequence/__init__.py
4bdbb3dc8d67b8e8ded462f237e96e09c4c1e808
[ "Apache-2.0" ]
permissive
pasqal-io/Pulser
11197eb386057f4fbbd4ed254bd874fb134f5cd3
2315989dbfbf0e90a8701e9e7b537f18388b404a
refs/heads/develop
2023-08-30T13:38:50.553841
2023-08-29T13:07:10
2023-08-29T13:07:10
294,159,001
123
56
Apache-2.0
2023-09-14T16:16:56
2020-09-09T15:49:00
Python
UTF-8
Python
false
false
688
py
# Copyright 2022 Pulser Development Team # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to i...
[ "noreply@github.com" ]
pasqal-io.noreply@github.com
9a573f0bab4668cbfca93a5bf4cf5e907b30f55d
d60c01c1a89bc99d3a773676861fd570d1841c00
/arc/arc004/A/main.py
186bfb9b93ec49ba15a299d7afa64bee77fc2ff4
[]
no_license
sunbear0226/atcoder-workspace
4f1b87605235e350b01413d0f33d8389b1ec6179
f45b8f0e0e1af3d01f34531623a33aa46909ff75
refs/heads/master
2022-09-23T19:14:01.042248
2020-05-31T15:11:10
2020-05-31T15:11:10
265,442,264
0
0
null
null
null
null
UTF-8
Python
false
false
948
py
#!/usr/bin/env python3 import sys import math def solve(N: int, x: "List[int]", y: "List[int]"): ans = 0 for i in range(N): for j in range(N): xd = abs(x[i] - x[j]) yd = abs(y[i] - y[j]) ans = max(ans, math.sqrt(xd**2 + yd**2)) print(ans) return # Generate...
[ "bump.sunbear@gmail.com" ]
bump.sunbear@gmail.com