blob_id
stringlengths
40
40
directory_id
stringlengths
40
40
path
stringlengths
5
283
content_id
stringlengths
40
40
detected_licenses
listlengths
0
41
license_type
stringclasses
2 values
repo_name
stringlengths
7
96
snapshot_id
stringlengths
40
40
revision_id
stringlengths
40
40
branch_name
stringclasses
58 values
visit_date
timestamp[us]
revision_date
timestamp[us]
committer_date
timestamp[us]
github_id
int64
12.7k
662M
star_events_count
int64
0
35.5k
fork_events_count
int64
0
20.6k
gha_license_id
stringclasses
11 values
gha_event_created_at
timestamp[us]
gha_created_at
timestamp[us]
gha_language
stringclasses
43 values
src_encoding
stringclasses
9 values
language
stringclasses
1 value
is_vendor
bool
2 classes
is_generated
bool
2 classes
length_bytes
int64
7
5.88M
extension
stringclasses
30 values
content
stringlengths
7
5.88M
authors
listlengths
1
1
author
stringlengths
0
73
f9e85c3a39933df7478edef51d0e3d6b2c4b2f15
340b3f3a2472d39bc7418c0568adedff3f42f849
/example/guard.py
19c155f5ccae016398d0819b14dbd79b5c625b83
[]
no_license
shen-will/py_guard
206600a23595517e8ed1def58830e93c7eed78c7
a1dd7743f241de15f2478ca3abeac59335584445
refs/heads/master
2020-09-10T23:22:45.063067
2019-11-15T07:05:54
2019-11-15T07:05:54
221,863,661
0
0
null
null
null
null
UTF-8
Python
false
false
2,152
py
import boot import py2pyx import os import shutil import logging py2pyx.set_encode(boot.encode) py2pyx.set_decode(boot.decode) #project entry entry = "app.py" py_boot = "boot.py" output_dir = "guard" def clear_workspace(): if os.path.exists(output_dir): for dirpath,dirs,filenames in os.walk(output_dir): ...
[ "huisexiaochou@163.com" ]
huisexiaochou@163.com
a8cbd5304f49414fc009d39c58453e3125ea0347
163bbb4e0920dedd5941e3edfb2d8706ba75627d
/Code/CodeRecords/2162/60642/271978.py
21491e3ebf8b02f3ffeb54854511ba826017221e
[]
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
111
py
nums = [float(i) for i in input().split()] out = 1 for i in range(int(nums[1])): out=out*nums[0] print(out)
[ "1069583789@qq.com" ]
1069583789@qq.com
db25d011efbedfce01e05e234cc93421b560abb6
a0fbf1cf0920c31dde56ee9376b5865abbe0a283
/docs/conf.py
15d2c8d49e380b40e0f9d78a4ec5ba70f87bdab9
[ "BSD-3-Clause" ]
permissive
laurennk/cookiecutter
cb37e9dad3722dc7bcabd1f4686c2ce1f27a9675
c1a03338ba6463d5e87a68ba980933bcab8fcd33
refs/heads/master
2020-07-04T04:28:34.014104
2019-08-13T19:14:30
2019-08-13T19:14:30
202,156,233
0
0
null
null
null
null
UTF-8
Python
false
false
5,321
py
# -*- coding: utf-8 -*- # # Configuration file for the Sphinx documentation builder. # # This file does only contain a selection of the most common options. For a # full list see the documentation: # http://www.sphinx-doc.org/en/stable/config # -- Path setup ------------------------------------------------------------...
[ "laurennk13@gmail.com" ]
laurennk13@gmail.com
e6783b8029425cead151f4e40dd3331e1ad9307d
cdcc82bcd10635ec315df766a036302e3614ecb2
/src/page_obj/pages/Checkout.py
1c19c3a774435284b88a4d67620b5a21c974ca28
[]
no_license
casewebb/FullStory_Automation
74f4f1a4e7340c3c4c5e9db6e09586b02ee6a25c
bbdd3aade94e459015121185ceee1c8be2d04c17
refs/heads/master
2023-08-18T13:31:52.758003
2021-09-24T14:56:53
2021-09-24T14:56:53
409,812,973
0
0
null
null
null
null
UTF-8
Python
false
false
2,314
py
from faker import Faker from src.page_obj.Locators import Locator from src.page_obj.pages.Base import BasePage class CheckoutPage(BasePage): PURCHASE_LINK = "Purchase" BILLING_ADDRESS = "Billing Address" SHIPPING_ADDRESS = "Shipping Address" PAYMENT_DETAILS = "Payment Details" SAME_AS_BILLING = "...
[ "case.webb@gmail.com" ]
case.webb@gmail.com
41cc3b0a4dfcde97f3d1a8c8f12525bf7b174093
5e56afad7b7da0135576fec692990e202dac98dd
/FirstPro/FirstPro/items.py
ab15ab2d11ce160fddf1bae2bfa2a8fd39dfbce6
[]
no_license
lxorz/ScrapyDemo_new
33472b2b81ce0b0e1517f19bf61812bb9313f8be
060eaeb2b1bb6cf84f0ea5ed7939293e7766022c
refs/heads/master
2020-04-16T10:18:14.288003
2019-01-13T11:57:02
2019-01-13T11:57:02
165,499,317
0
0
null
null
null
null
UTF-8
Python
false
false
281
py
# -*- coding: utf-8 -*- # Define here the models for your scraped items # # See documentation in: # https://doc.scrapy.org/en/latest/topics/items.html import scrapy class FirstproItem(scrapy.Item): # define the fields for your item here like: # name = scrapy.Field()
[ "553141516@qq.com" ]
553141516@qq.com
3d2c91ab2682f88f418cd8c5c9049f64d7e4973e
1e5bc206c760d6543768f835be0a112da45c84af
/flask/2.PackagedApp/PackagedApp.wsgi
d75d598b84c5e8aaa3dfaec1a9497b72c8a49915
[]
no_license
msagautam/docker
9efff85f6a15a874c0a06ae6479ba4c8d9d3960f
03d1f6b2186e9286151fdfce9410d8d4185f0f68
refs/heads/master
2023-05-14T02:06:46.264398
2020-06-08T15:29:55
2020-06-08T15:29:55
263,859,509
0
1
null
2023-05-01T20:41:07
2020-05-14T08:34:39
Python
UTF-8
Python
false
false
394
wsgi
#!/usr/bin/python import sys import logging logging.basicConfig(stream=sys.stderr) sys.path.insert(0,"/var/www/") # Virtual env activation #activate_this = '/path/to/env/bin/activate_this.py' #execfile(activate_this, dict(__file__=activate_this)) from PackagedApp import app as application application.secret_key = 'yo...
[ "gautam.raw@gmail.com" ]
gautam.raw@gmail.com
bbdc0f983f3651518973629255273e7c51f671d5
82d6e248d6498f53455f9ccb40b6ff9667da8f2e
/Params/cv_params.py
a90d413f3fc604ca2eb926d871cecd0eef586906
[]
no_license
marvinxu-free/data_analysis
650ddf35443e66c395c8c503cacc328e547298a5
7a552959fd6272a54488c59091fa8b820c3f19ce
refs/heads/master
2020-03-22T04:00:09.938423
2018-07-02T16:32:20
2018-07-02T16:32:20
139,466,395
0
0
null
null
null
null
UTF-8
Python
false
false
434
py
# -*- coding: utf-8 -*- # Project: local-spark # Author: chaoxu create this file # Time: 2017/10/13 # Company : Maxent # Email: chao.xu@maxent-inc.com cv_params = { 'pre_dispatch': '2*n_jobs', 'refit': True, 'scoring': 'roc_auc', # 'scoring':'f1_macro', # 'scoring':'average_precision', # 'scori...
[ "marvinxu_free@163.com" ]
marvinxu_free@163.com
8d983a912308bcfc6136f04b18791bd0eea629bb
da56dd222cb165f70b021e26963e5faa744168c0
/Inventory/settings.py
4d05e8b35a044622c37339844091395cd5269840
[]
no_license
mohankmn/congenial-train
7c0558c351c50c91447d09ad2a305d3e78722492
8f3caaea28112567e4d6e59cbd8cdf1774c7f784
refs/heads/master
2023-03-03T03:42:08.598885
2021-02-17T11:47:30
2021-02-17T11:47:30
314,130,458
0
0
null
null
null
null
UTF-8
Python
false
false
3,437
py
""" Django settings for Inventory project. Generated by 'django-admin startproject' using Django 3.1.3. 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 pathl...
[ "74285276+mohankmn@users.noreply.github.com" ]
74285276+mohankmn@users.noreply.github.com
86f8e74ca81e9e6f34963564d493aad09861aaa5
d3b162461f129858fbc7f61aa45064bd5c3f7a4f
/old/image_convert.py
211ae8a9bb524c40cc4356ce6e097765de0d9337
[]
no_license
mikemeding/batch-convert-and-merge
2f7523cb4f0db0e3ea40152fc2d3418bf10f0f9c
49673389325d32126be0ddeb4a3a1f850b263e2b
refs/heads/master
2021-07-11T19:44:24.108958
2021-02-28T23:38:38
2021-02-28T23:38:38
235,146,102
0
0
null
null
null
null
UTF-8
Python
false
false
153
py
# ./20.01/LeftPL/20.01_LeftPL_7_1.tif import sys import imagej imgPath = str(sys.argv[1]) print('Converting: ' + str(sys.argv[1])) ij = imagej.init()
[ "mikeymeding@gmail.com" ]
mikeymeding@gmail.com
81ed3dcbff8edda8b54da97b7b5c12ded266b671
a5a9b8da861ba4964802e554b2bb064f45802c09
/data_generator/csv_details_to_sql.py
09aca83f504ac56bc86689f10f7de2eb86070fd1
[]
no_license
bantser/Lv_608.DB
ba9bff47f6adf063e4062a3e2c1fd0acf5741b35
83838255cf9533f5dddad096cdea37861e1931ec
refs/heads/main
2023-06-27T15:28:03.286481
2021-07-19T08:04:31
2021-07-19T08:04:31
379,222,467
2
0
null
2021-06-22T20:44:39
2021-06-22T10:01:19
null
UTF-8
Python
false
false
914
py
import csv inputFilename = "PurchaseOrderDetails.csv" outputFilename = "PurchaseOrderDetails.sql" tableName = 'PurchaseOrderDetails' chunksize = 1000 openInFile = open(inputFilename, 'r') openOutFile = open(outputFilename, 'w') csvFile = csv.reader(openInFile) header = next(csvFile) headers = list(header) headers_wi...
[ "vitaly.povstenko@gmail.com" ]
vitaly.povstenko@gmail.com
c53617a9f877099d700dced03ddccbdc2430a98c
ac00003e67c7eb035c94741d058f751e5b3e7a94
/askapp/forms.py
5e7c99cbaa580b99c615ce81901af35a5c08823d
[ "Apache-2.0" ]
permissive
BanzaiTokyo/askapp
6c0bdec6ed24b1e5fa856540dafe6295a2718b74
250dea680eafde81491492a84826d368a01bb8ed
refs/heads/master
2023-08-17T05:57:40.790152
2021-04-08T18:54:20
2021-04-08T18:54:20
67,356,664
3
2
Apache-2.0
2021-09-22T17:38:49
2016-09-04T16:42:00
Python
UTF-8
Python
false
false
4,743
py
import urllib.request from snowpenguin.django.recaptcha2.fields import ReCaptchaField from snowpenguin.django.recaptcha2.widgets import ReCaptchaWidget from allauth.account.forms import SignupForm from django.utils.translation import ugettext_lazy as _ from django import forms from .models import Profile, Thread, Post ...
[ "toxa23@gmail.com" ]
toxa23@gmail.com
af39e9a770317784ace4420a98689ed84357f0d4
d0b49b4072b09c59f81e25b80bad6f2535d839b5
/day_1_5/day_2.py
2b8c38c96927069002fc853d3855ad0ab0d10d79
[]
no_license
Official-BlackHat13/100_days_of_python
3aa9c52617cd50addc2d2b8b7222b93080ffab6c
94cbf52df8e5712d1bdf7b2890568dfa20fe92df
refs/heads/master
2023-09-04T05:08:24.867559
2021-10-24T14:43:21
2021-10-24T14:43:21
null
0
0
null
null
null
null
UTF-8
Python
false
false
378
py
print('welcome to the tim calculator!') bill = input('bill: ') tip_percentage = input('percentage of the tip you want to give: ') persons = input('number of people who eated: ') tip = (float(bill) * float(tip_percentage)) / 100 total_bill = (float(bill) + float(tip)) bill_per_person = float(total_bill) / float(persons...
[ "huba0ferencz@gmail.com" ]
huba0ferencz@gmail.com
552cecee22760fca63c793185a2c7fc54fd727a3
3980749637737b3e1cd589f7a4e8733eaa5f2cf9
/neuroplotlib/utils.py
17839aba4a4ca0089d9b90f4dbb882097ac02299
[]
no_license
alejoe91/neuroplotlib
7200664872a04ed0173ca0d337e12234c4c5692e
9ad8d8e23850cd50ad0368f0f19acf2b48b87f5c
refs/heads/master
2023-08-02T07:22:10.658339
2021-09-27T09:40:10
2021-09-27T09:40:10
118,170,362
3
1
null
2021-09-27T09:40:10
2018-01-19T19:43:43
Python
UTF-8
Python
false
false
11,068
py
import numpy as np import math from mpl_toolkits.mplot3d import art3d from matplotlib import colors as mpl_colors from mpl_toolkits.mplot3d.art3d import Poly3DCollection def make_patch_3d(pathpatch, rot_axis, angle, z=0): """ Transforms a 2D Patch to a 3D patch using the given normal vector. The patch is...
[ "alejoe9187@gmail.com" ]
alejoe9187@gmail.com
a39a79b5d049d2d800419e17ce8a75303519cca7
8e1199e846f0f1b0a7636d0fa759dff2afe68dd6
/switch/__init__.py
4992c1d3c580dd9ff392bb9d17136e0c2945f80f
[ "BSD-3-Clause" ]
permissive
jeffseif/switch
294494ad5cf87c09db2ffa82dd4de04de63ae970
c1eec77528d8780c43f8335daa2c7f523c4b263e
refs/heads/main
2022-10-28T06:07:15.510115
2022-10-08T22:02:52
2022-10-08T22:02:52
88,374,702
1
1
null
null
null
null
UTF-8
Python
false
false
557
py
__author__ = "Jeffrey Seifried" __description__ = "Scraping tools for getting me a damn Nintendo Switch" __program__ = "switch" __version__ = "1.0.0" __year__ = "2017" HEADERS = { "Accept": "*/*", "Accept-Encoding": "gzip, deflate, sdch", "Accept-Language": "en-US,en;q=0.8", "Connection": "keep-alive"...
[ "jeffrey.seifried@gmail.com" ]
jeffrey.seifried@gmail.com
a6f138a19ec6c83dc6e886ac72714b58bd445869
ea9cf32c2c0c61d4747fce4e11c3f632ca0a1a2e
/start_railway_data_create.py
f42ba338dca725b0a64c4665e67a894fb7d31e1c
[]
no_license
yukou-isshiki/most_longest_ticket_root_calc
5b7eab4af3e3e7cd572b0e684345c138e5e6b50f
48e351a0705a2faff2da8970b6497b4687198b85
refs/heads/master
2023-04-01T00:53:01.875783
2023-03-15T14:00:32
2023-03-15T14:00:32
182,359,346
3
0
null
null
null
null
UTF-8
Python
false
false
1,810
py
erea = "" file1 = f"all_line_data/{erea}_all_line_data.txt" f = open(file1, "r") lines = f.readlines() station_dict = {} for line in lines: line_data = line.split(",") for i in range(0,2): if line_data[i] not in station_dict: station_dict[line_data[i]] = 1 else: station_d...
[ "yff24517@nifty.com" ]
yff24517@nifty.com
ee8c93abd46bc299d57fa391eda1859876206a33
949586a3ed05f02bda4cb618c763b66e4cb36555
/listOrTuple.py
eaa109fe158f94a46f7920fef66bc6b7b1b57e98
[]
no_license
cjohannsen81/pythonscripts
51ff100d8d2100718e51fd888510fbb76bf811be
cc6fd84bf185455e027cafd27a98505bf449ea8c
refs/heads/master
2020-06-03T23:46:43.774703
2013-10-02T17:15:14
2013-10-02T17:15:14
null
0
0
null
null
null
null
UTF-8
Python
false
false
102
py
t = ("ich","bin","ein","tuple") print t l = [] for i in t: l.append(i) l.insert(3, "fake") print l
[ "cjohannsen@Christians-MacBook-Pro.local" ]
cjohannsen@Christians-MacBook-Pro.local
f53c1b689ee5c4ad02f76119da9f93805dfd9b8e
936d88d5d91119a31b64b177eb31754c969ba52d
/study/p02-2-findmaxidx.py
17f81a88aa802879e273da43a44b71769dce66e5
[]
no_license
gtg7784/algorithm-study
4df3f56bae3506795d7c46feae4a17badb61c4a9
82d43b6928a626f0b4854bcc6ad2429861f53960
refs/heads/master
2021-05-21T08:26:39.113630
2020-09-03T18:10:26
2020-09-03T18:10:26
252,618,845
5
1
null
null
null
null
UTF-8
Python
false
false
347
py
# 최댓값의 위치 구하기 # 입력: 숫자가 n개 들어있는 리스트 # 출력: 숫자 n개 중 최댓값의 위치 # 시간복잡도: O(n) def find_max_idx(a): n = len(a) max_idx = 0 for i in range(1, n): if a[i] > a[max_idx]: max_idx = i return max_idx v = [17, 92, 18, 33, 58, 7, 33, 42] print(find_max_idx(v))
[ "gtg7784@naver.com" ]
gtg7784@naver.com
701531476b09a2943070aaede0e4651e6c1fb273
f990a00c7116f6e3317e834129f5af7435b5e50b
/app/models.py
c28b2be37709725dda2039ff91d3fefa3b43b499
[]
no_license
gabsw/cs50w_project1_bookclub
dc44debfb83c623af6627a8103edce1eb5401259
c453e110faadbd10d694be1fe64402cd547e7db2
refs/heads/master
2022-12-12T12:36:46.002572
2019-01-22T20:55:27
2019-01-22T20:55:27
167,066,199
0
0
null
2021-06-01T23:17:59
2019-01-22T20:57:53
Python
UTF-8
Python
false
false
2,297
py
from flask_login import UserMixin from werkzeug.security import check_password_hash class User(UserMixin): def __init__(self, username, password_hash, user_id=None): self.username = username self.password_hash = password_hash self.user_id = user_id def get_id(self): return sel...
[ "sw.gabrielasantos@gmail.com" ]
sw.gabrielasantos@gmail.com
6ae9649f2b68a722ce030ec1b2bfe719d32a8c8f
9bf6adb1d3795c24cc28b6a6901052cdb7e6034a
/end/project1/bookdemo/booktest/urls.py
2586ea9f5b68d35a059efd0e6d7e5037515d9148
[]
no_license
1552965337/py1911
abffc3a3a7fef33a00fc2ef91c834586c4adbf4a
18c8876b63134d158ea26972b278f78720f83b19
refs/heads/master
2023-01-28T08:39:40.477794
2020-03-16T11:25:01
2020-03-16T11:25:01
239,445,710
0
0
null
2023-01-05T09:06:11
2020-02-10T06:45:58
JavaScript
UTF-8
Python
false
false
1,152
py
# author sqz # date 2020/2/13 14:35 # file_name urls from django.conf.urls import url from . import views app_name = "booktest" # 2. 每一个路由文件中必须编写路由数据 urlpatterns = [ # url 第一个参数作为正则表达式 为了匹配输入的网址 第二个参数为需要执行的视图函数 # url(r'^index/$',views.index), url(r'^$', views.index, name='index'), # 使用正则分组可以向视图函数中...
[ "124@qq.com" ]
124@qq.com
ba425adbaa18ee9c01e0b440da77fecc0b2b5ada
cc270b86d4b063f22af2aa197bf0f90175f0fe58
/santiago/migrations/0022_auto__add_field_userchipcount_bank_chips.py
b579eef469ee6157834e5c607827d77cf0d11c42
[]
no_license
ardiangashi237/poker
57c809ce5c96b174fe8ccccc04d9e49ae6fd411a
942935ec634f91cca3285905868ea806c5677964
refs/heads/master
2020-05-16T20:51:04.893840
2013-08-19T14:11:16
2013-08-19T14:11:16
null
0
0
null
null
null
null
UTF-8
Python
false
false
15,017
py
# -*- coding: utf-8 -*- import datetime from south.db import db from south.v2 import SchemaMigration from django.db import models class Migration(SchemaMigration): def forwards(self, orm): # Adding field 'UserChipCount.bank_chips' db.add_column('santiago_userchipcount', 'bank_chips', ...
[ "ardiangashi237@gmail.com" ]
ardiangashi237@gmail.com
84d104ca8934b9f9c81f8de3b00aa4b83d84372b
71610a0586f77307664dcf3c5f216687db7681d0
/hack104_rec/template/__init__.py
b51695f6a268429f3342e66072b3663654dbd3a9
[]
no_license
d2207197/hack104-rec
c441fa24a481af1acef0b89745dfff7b73b383c4
9385d6f69b089901688e83cf740a576e32722bfa
refs/heads/master
2020-03-22T00:33:15.652868
2018-07-16T16:00:47
2018-07-16T16:00:47
139,252,000
0
0
null
null
null
null
UTF-8
Python
false
false
196
py
from jinja2 import Environment, PackageLoader, select_autoescape env = Environment( loader=PackageLoader('hack104_rec', 'template'), autoescape=select_autoescape(['html', 'xml', 'j2']) )
[ "joseph.yen@gmail.com" ]
joseph.yen@gmail.com
3a5d61ca6da2b49eba30877f7dc5cc07d4e525df
0a27d046e21c3ae385e0109e41b90717b12ed3c7
/apps/arena/serializers.py
fd8a5659281d546466be61192fd7da9e42f78f1e
[]
no_license
bbright3493/gz_v1.0.0
375716b26ed4b3221090adc58755de564aa12c3c
9205dfd8dd0c822a9f5352db845fc12c319db3e3
refs/heads/master
2020-03-26T01:17:25.085015
2019-02-11T07:40:23
2019-02-11T07:40:23
144,360,492
0
2
null
2018-09-23T05:58:35
2018-08-11T06:13:02
JavaScript
UTF-8
Python
false
false
1,971
py
from rest_framework import serializers from apps.user_relationship.models import UserAchievement from .models import * class TotalRankSerializers(serializers.ModelSerializer): """ 总排行榜序列化 """ class Meta: model = UserAchievement fields = "__all__" depth = 1 class WeekRankSe...
[ "44704708@qq.com" ]
44704708@qq.com
8ff9fb1c0b04a24964e36fc719086182632ad5e7
a1a166011a5a76c2a9e83316927649b7a60ce4e5
/resources/pagination.py
370bb14273c6ccfa1f13cb76533130d8a3718f21
[ "MIT" ]
permissive
CityOfHameenlinna/hmlvaraus-backend
5e60c33e624b2d7984a6ddabbc465e8640010a50
181898f3c947298949adaf2156ad2d25da1e6002
refs/heads/master
2020-03-13T05:30:03.851534
2018-05-30T06:49:13
2018-05-30T09:34:16
130,985,577
1
0
null
null
null
null
UTF-8
Python
false
false
878
py
from rest_framework.pagination import PageNumberPagination, _positive_int class DefaultPagination(PageNumberPagination): page_size = 20 page_size_query_param = 'page_size' # Allow client to override, using `?page_size=xxx max_page_size = 100 class PurposePagination(DefaultPagination): page_size = 4...
[ "tommi.mantila@haltu.fi" ]
tommi.mantila@haltu.fi
0a81d515dbb95bd8f5d2f769c3598c4d7aa27146
c9657a8d71fcc5d90727567b88f555d6f092698d
/month03/django/day02/mysite1/mysite1/settings.py
02caae91e8b9c941dd3b8771459f06634dd63812
[]
no_license
xiashuo/tedu_execises
a44a9e54283c221c7708081a57610c0338705cc4
fc1a9051903817df0d796357714f9403e929f5a2
refs/heads/master
2022-11-20T08:54:14.118094
2020-07-19T16:24:06
2020-07-19T16:24:06
270,349,010
0
0
null
null
null
null
UTF-8
Python
false
false
3,094
py
""" Django settings for mysite1 project. Generated by 'django-admin startproject' using Django 2.2.12. For more information on this file, see https://docs.djangoproject.com/en/2.2/topics/settings/ For the full list of settings and their values, see https://docs.djangoproject.com/en/2.2/ref/settings/ """ import os ...
[ "654017381@qq.com" ]
654017381@qq.com
45bacb05fc6d52db3bf16e54711457bce0c21cec
65efba029ed56dfc39040fed7f37f9133f3ff5b5
/code/day-0/helloworld.py
e2d5bfe3785611c0dcd99a1e031786ccbfea1e9c
[]
no_license
richasharma3101/100--Days-of-Code
59b1435742006ab3a5e165ab1ce653a34abc22e5
7dd7be91e5626ed4bca8979acd1a8dc50996f0c6
refs/heads/master
2020-03-22T09:28:40.009536
2018-07-09T09:26:39
2018-07-09T09:26:39
139,840,353
0
0
null
null
null
null
UTF-8
Python
false
false
37
py
print("Hello World, This is Richa.")
[ "richasharma3101@github.com" ]
richasharma3101@github.com
2a7bbb2f6b0ebaa6441414a848b597150d614732
2ba91a96863b5cb11aa273a4fe0737ed65c44cc8
/utils/train_data/webshell/PHP/tennc/php/phpkit-0.2a/phpkit.py
37a7e824006554751b171a591ba1bc437f644c3d
[ "MIT" ]
permissive
huangyuan666/webshell_detect_cms
ded1b40fe3dd6241c2d3b27e285f6751d79dca28
aeda3b59a6d281df8eae8e5f34d839e98e546364
refs/heads/master
2023-03-19T15:14:59.021286
2020-06-12T01:35:50
2020-06-12T01:35:50
null
0
0
null
null
null
null
UTF-8
Python
false
false
3,467
py
#!/usr/bin/python # Client for the php://input based backdoor # Website: insecurety.net # Author: infodox # Twatter: @info_dox # Insecurety Research - 2013 # version: 0.2a import requests import sys if (len(sys.argv) != 2): print "Usage: " + sys.argv[0] + " <url of backdoor>" print "Example: " + ...
[ "1073313561@qq.com" ]
1073313561@qq.com
fabdf4b82016a7247201a57893901b238a5f23a8
d1fd6af9c45513aaa81d14ad1781546d1976ea31
/testtt.py
2d379c44a1086ca5e35dff32e412953dc57078ae
[]
no_license
PaDome/test-2
3df76a2ae66e9376387fea7174013a910f0864a9
a2a790a6c94fedb9bd0ba366f36d5bb651100479
refs/heads/main
2023-03-07T15:40:19.519203
2021-02-19T10:28:48
2021-02-19T10:28:48
340,328,656
0
0
null
2021-02-19T10:28:48
2021-02-19T10:03:22
Python
UTF-8
Python
false
false
16
py
into the battle
[ "noreply@github.com" ]
noreply@github.com
ddeacda0ced47f2377a8e64f764360d8e6b9df56
14798e841df7cf929683b1c2ad3b0e275363760c
/TRANSrisk_fcm_project/settings.py
15689e6f82338c01f1b07dbc19483ed8a2c16425
[ "MIT" ]
permissive
gtsapelas/TRANSrisk_fcm_project
e4442eb8267714743ded7b223d7aca4b6777004a
d9d0efc6d693461fda14a71481c6061756527dcb
refs/heads/master
2021-06-14T20:05:15.861647
2018-12-14T14:23:14
2018-12-14T14:23:14
95,547,583
0
1
null
null
null
null
UTF-8
Python
false
false
995
py
import os # import the appropriate settings file if os.environ.get('Production', '') == 'On': # production settings from TRANSrisk_fcm_project.settings_management.production import * else: try: # custom settings files settings_files = [sf.strip() for sf in open('TR...
[ "gtsapelas@epu.ntua.gr" ]
gtsapelas@epu.ntua.gr
e6eb08b4c643785c7b78ee713d29c24d3a2919ea
797f01431a3fc2a988be3c73ea0ee4d716238596
/FATAUVA-Net/layers/multi_accuracy.py
ffbba3267a3478a3b7c75686a51a581d31353504
[]
no_license
wuhao1999/FATAUVA-Net-for-facial-emotion-with-caffe
27965e2a55de7abd104d3ad47a97f5668273a49b
af6e063cc927c04e3486b547d65ba1bebdd00882
refs/heads/master
2021-09-07T22:20:37.236429
2018-03-02T02:30:56
2018-03-02T02:30:56
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,878
py
import caffe import numpy as np def hamming_distance(gt, est): return sum([1 for (g, e) in zip(gt, est) if g == e]) / float(len(gt)) class MultilabelAccuracy(caffe.Layer): def setup(self, bottom, top): # params is a python dictionary with layer parameters. params = eval(self.p...
[ "1477165399@qq.com" ]
1477165399@qq.com
adbea91105546269820aab57ff3f6c00ada74dfc
6a95112805b64322953429270a305d01fef3faea
/dist/weewx-4.6.0b7/bin/weeimport/weeimport.py
287ef4db6fe835db193cd81023ef16804fe1575a
[ "GPL-1.0-or-later", "GPL-3.0-only", "Apache-2.0" ]
permissive
tomdotorg/docker-weewx
c6d59dc492a9e53f3bc898f7b9f593717092d72c
7085654f455d39b06acc688738fde27e1f78ad1e
refs/heads/main
2023-06-08T17:57:44.184399
2023-01-30T11:21:23
2023-01-30T11:21:23
54,113,384
21
16
Apache-2.0
2022-10-19T23:46:26
2016-03-17T11:39:29
Dockerfile
UTF-8
Python
false
false
66,265
py
# # Copyright (c) 2009-2021 Tom Keffer <tkeffer@gmail.com> and Gary Roderick # # See the file LICENSE.txt for your full rights. # """Module providing the base classes and API for importing observational data into WeeWX. """ from __future__ import with_statement from __future__ import print_function from __futur...
[ "tom@tom.org" ]
tom@tom.org
928912bc219dbc93b8a5897d85c493b2348490a2
11492c36fc15375ca23d3ba4dfa042b16f873a68
/notebooks/05-sequence-models/03-sequence-models-attention-mechanism/01-machine-translation/nmt_utils.py
c9cf015706d07f25662d65ff2d4ed24f788d475c
[ "Apache-2.0" ]
permissive
pedro-abundio-wang/deep-learning-specialization
c9bfe03c32275845dbef1a3d9268c337593ac146
47f4109eddae94c1ce978d63d7672972762ac815
refs/heads/master
2021-07-13T13:11:47.391704
2020-09-10T05:30:47
2020-09-10T05:30:47
203,183,384
0
0
Apache-2.0
2019-11-04T11:53:50
2019-08-19T13:56:19
Jupyter Notebook
UTF-8
Python
false
false
6,514
py
import numpy as np from faker import Faker import random from tqdm import tqdm from babel.dates import format_date from keras.utils import to_categorical import keras.backend as K import matplotlib.pyplot as plt Faker.seed(12345) fake = Faker() random.seed(12345) # Define format of the data we would like to generate...
[ "pedro.abundio.wang@gmail.com" ]
pedro.abundio.wang@gmail.com
53cbe1480bc73311da9403ad7b06b8861aeedb17
fd8e7e196f0bcadf28243ce5108f00b9de956dc5
/pyDelphin
c3c8d7ed0ec5b975e63bdcebf95d37ad552c057e
[ "MIT" ]
permissive
Yoonsen/pydelphin
a5c9ed2ca22c60ed942eace9ccba12560c8be12e
08e000f4bc55c46b607595aee7e1bcc2d5b658c1
refs/heads/master
2020-04-29T17:32:43.800827
2015-08-25T06:18:19
2015-08-25T06:18:19
47,044,673
1
0
null
2015-11-29T00:37:21
2015-11-29T00:37:21
null
UTF-8
Python
false
false
15,633
#!/usr/bin/env python3 import sys import os import argparse import logging import json import re from collections import OrderedDict from copy import deepcopy from importlib import import_module from delphin import itsdb, mrs _rcfilename = '.pydelphinrc' def main(args): cfg = load_config(args) args.func(arg...
[ "goodman.m.w@gmail.com" ]
goodman.m.w@gmail.com
a58ca57dffda1205913b527d204e84d18776f6c1
92737a24a00eecc186b61e595176c15c1667a45d
/Day3-5.py
ae8cbb9ab854e115df61d963d42c68e9ad602ff5
[]
no_license
SydneyKao/Python200805
e22978dc8c847e32b88f6119b7a97bd216392dc8
e85a12e53d272bc9943fe1adf812c7c547f2dd19
refs/heads/master
2022-11-28T19:22:28.401495
2020-08-05T08:42:05
2020-08-05T08:42:05
285,171,012
0
0
null
null
null
null
UTF-8
Python
false
false
830
py
while True: print('1.加法') print('2.減法') print('3.乘法') print('4.除法') print('5.離開') a=input('請輸入選項(數字)') a=int(a) if a==1: b=input('輸入被加數') c=input('輸入加數') b=int(b) c=int(c) d=b+c print(d) if a==2: b=input('輸入被減...
[ "noreply@github.com" ]
noreply@github.com
a77483c412e7c547d9c8009cb0a197148210767d
57c6c5c33282b166b88c4cb52771c138ca72685a
/web/about_me/migrations/0006_auto_20180423_1416.py
8223f2590cb6e5b0b1dce387e89a007506145596
[]
no_license
nguyentrisinh/minh_portfolio
d1be80fe7be941a81fc82492389af623a7f46cee
5bca28bf509463350a07fbb25b88a530f76a6541
refs/heads/master
2022-12-15T10:38:32.869760
2018-06-05T05:48:59
2018-06-05T05:48:59
130,328,125
0
0
null
2022-12-08T02:07:26
2018-04-20T07:46:48
CSS
UTF-8
Python
false
false
1,248
py
# -*- coding: utf-8 -*- # Generated by Django 1.11.12 on 2018-04-23 07:16 from __future__ import unicode_literals from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): dependencies = [ ('cms', '0020_old_tree_cleanup'), ('about_me', '0005...
[ "nguyentrisinh0810@gmail.com" ]
nguyentrisinh0810@gmail.com
5836739666be3009def71d833409a87f19098e23
5da93fc9aa002111b702da3b7d80ef22f81df72c
/photolouge/library/migrations/0002_albumphotos_seq.py
0871a5fb61662d1cf66803214f3e94723bb7f8b9
[]
no_license
pyarun/dj-photo
5714fd628861e0a039ee489906263a53b037f1b2
d431eb6b5b7365921e75c19ff80def9339e4dd2c
refs/heads/master
2021-06-22T06:27:02.493676
2017-08-23T02:51:28
2017-08-23T02:51:28
100,337,506
0
0
null
null
null
null
UTF-8
Python
false
false
451
py
# -*- coding: utf-8 -*- # Generated by Django 1.11.4 on 2017-08-23 02:18 from __future__ import unicode_literals from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('library', '0001_initial'), ] operations = [ migrations.AddField( ...
[ "arun.mittal@searshc.com" ]
arun.mittal@searshc.com
e3e0335d0354097cd36c83f3d0301748ab575f15
9c9360a8ee033f5b07b0dc319d0fbd07d461b731
/phi3/d_to_infty/d_to_infty_class.py
a5fbba5f4a277a71e949c659bc8210945b88548d
[]
no_license
batya239/rg-graph
cfe11a2b0f5920455fa4bbfc85867350c5b6833e
f258bde78ff2ae83db016070a85285010ff7aa8a
refs/heads/master
2021-01-21T14:12:26.110541
2015-12-22T14:11:19
2015-12-22T14:11:19
32,137,689
0
1
null
null
null
null
UTF-8
Python
false
false
15,077
py
#! /usr/bin/python #! encoding: utf8 __author__ = "kirienko" import graph_state as gs import networkx as nx from copy import deepcopy import graphine, graph_state_config_with_fields import itertools as it #import dynamic_diagram_generator ## Filters connected = graphine.filters.connected oneIR = graphine.filters.one...
[ "yury.kirienko@gmail.com" ]
yury.kirienko@gmail.com
5d53832526d8e829cafcc12e480ba46b812e9761
b1f8d5dadf805a61faf17e751c1865e8c40f841d
/data_tx.py
b9e3cca33f0a783db351d3849ee6784588d409ec
[]
no_license
bllgg/FPGA-based-CBC-encryptor-and-decryptor
dfb6131a0af75c358dc3a7581f634b475ed07d0a
dd4931846f8423a74758e2a160c23b99971e3407
refs/heads/master
2022-12-21T13:55:37.255521
2020-09-22T10:01:14
2020-09-22T10:01:14
257,053,358
0
0
null
2020-04-19T16:54:20
2020-04-19T16:54:19
null
UTF-8
Python
false
false
1,301
py
import serial import csv ser = serial.Serial('COM4', 9600, serial.EIGHTBITS, serial.PARITY_NONE, serial.STOPBITS_ONE) # Enter the port and baudrate correctly b_array = [] for i in range(128): b_array.append(i) # b_array = [170, 186, 139, 136, 200, 220, 173, 170, 42, 50, 131, 136, 72, 84, 165, 170, 171, 171, 155,...
[ "durashi.16@cse.mrt.ac.lk" ]
durashi.16@cse.mrt.ac.lk
91fe7628daea821faeaca159fbb7c1edc85ca7c1
a318ff21e5688b31746822ab87e492cacabbbc33
/UnittestPackage/Test_Suite_demo.py
605e4e1635a85ea7b20c3ea044ce1657c185544f
[]
no_license
vaitheeshwaran/Selenium_Exercise
5302db5ac40def815eca26c2d7811847f49c1295
4b22d807a162dafacfde72ad8b8661b78fa6143e
refs/heads/master
2022-11-18T04:19:16.915194
2020-07-20T15:26:26
2020-07-20T15:26:26
277,124,763
1
0
null
2020-07-05T13:08:27
2020-07-04T14:24:10
Python
UTF-8
Python
false
false
457
py
import unittest from UnittestPackage.TestcaseDemo1 import TestCaseDemo1 from UnittestPackage.Testcase2 import TestCaseDemo2 # Get the all testcases from TestcaseDem1 and Testcase2 tc1 = unittest.TestLoader().loadTestsFromTestCase(TestCaseDemo1) tc2 = unittest.TestLoader().loadTestsFromTestCase(TestCaseDemo2) # crea...
[ "vaitheeshhh@gmail.com" ]
vaitheeshhh@gmail.com
492b7b141779215b408ba4101cd7addbbe1fd188
77b6b837799a62dc3cd5a76e3c141bc50b7202a3
/edgeserver.py
ff9283aa7420460a6c64d7cdda4604f6769f5920
[]
no_license
justinchau92/Multithread-Edge-Select-Servers
44e80136a1f821d6a0a9c3896e87e81baebbf48e
d841b647ec44c49ccf91ea348a7f411ac23869d5
refs/heads/master
2021-09-13T21:54:31.979868
2018-05-04T20:15:30
2018-05-04T20:15:30
null
0
0
null
null
null
null
UTF-8
Python
false
false
6,350
py
# ----------------------------------------------------------------------------- # FUNCTION: EDGE EPO server # # DATE: January 06, 2017 # # DESIGNERS: Paul Cabanez, Justin Chau # # PROGRAMMERS: Paul Cabanez, Justin Chau # # NOTES: receives an echo from the client and rplies back, utilizes edge le...
[ "justinc39@hotmail.com" ]
justinc39@hotmail.com
258f4499779395cfc76b376dd977decdd44810e5
9f9d3649fc0bc96fb09ecfc2db5dc0f568d3be07
/api/models.py
557489a5ef981026248cfec83f50fa7aeceb49e4
[]
no_license
mamcjr/api_geral
3e50f87c92c8db2e83c9af10d6d28a60c9a09265
9cd847eeb9d07e1357e40168848642efff5ddedb
refs/heads/main
2023-02-03T18:34:31.085951
2020-12-08T17:21:03
2020-12-08T17:21:03
319,505,878
0
0
null
null
null
null
UTF-8
Python
false
false
1,004
py
from django.db import models from .util import estados # Create your models here. class Pessoa(models.Model): """ Model para controle de pessoas com dados pessoais """ class Meta: db_table = 'pessoa' nome = models.CharField(max_length=200) cpf = models.CharField(max_length=11) ema...
[ "juniorpmcn@gmail.com" ]
juniorpmcn@gmail.com
5fdca1d0cca376cca9c4c059d9387c611e7a8640
3a753d66b764ca30e7c1dea8e108eb1311c6d0ac
/backend/migrations/0001_initial.py
95f599bd8594e5ca387b82e6fec76bee6f064c1e
[]
no_license
964666897/Axepanda
6f2369958b485b232f8847620d0f1a9babbae149
9db4d8c7913e4e45f570f500ad807cf198e93478
refs/heads/master
2020-07-31T19:53:51.757817
2019-09-24T09:54:13
2019-09-24T09:54:13
210,736,142
0
0
null
2019-09-25T02:12:58
2019-09-25T02:12:57
null
UTF-8
Python
false
false
893
py
# Generated by Django 2.2.2 on 2019-09-20 16:01 from django.db import migrations, models class Migration(migrations.Migration): initial = True dependencies = [ ] operations = [ migrations.CreateModel( name='ExcelFile', fields=[ ('id', models.AutoFiel...
[ "wanlei.wu@kfquantum.com" ]
wanlei.wu@kfquantum.com
1540008bd512df1f4b3938a7d85cbb0985073417
1e0ceb6b12f7ae2fc95208b36e9ebf0f48fb0fa7
/testfile.py
b3ee501a1fd720c812a3dca699aeb2b0263da495
[]
no_license
zenstamon/zenstamon
d1d4f76716a7248a9210dc89f6c41dc4e96ded30
1c0e7194ad99fccae6b71c73684d6944bc6b9423
refs/heads/master
2016-08-04T04:27:10.985872
2012-11-27T15:28:20
2012-11-27T15:28:20
6,599,492
1
0
null
null
null
null
UTF-8
Python
false
false
3,575
py
__author__ = 'c0stos3' #! /usr/bin/python # -*- coding : utf-8 -*- from PyQt4 import QtGui, QtCore import time, sys gui = QtGui.QApplication.processEvents #a function we use to make sure that the gui wont freeze class display():#first we make a class that handle the gui object texttoset = "...
[ "jmiller9@gmail.com" ]
jmiller9@gmail.com
bd031ca3faf9692f3fb3882ce3bc08d8ac7d2d09
1bf76b07d880ca31e1d10b8b9e24a4a8924fcfc1
/zcm_types/radar_conti/py_types/ZcmRadarContiClustersScan.py
f6c388403515cf037c2215aa94ccd473a6b42651
[]
no_license
Sher10k/ZCM_gui_player
c02498477f732094c748bfd990c78973ce3e5794
f590fe3ed877ecf56b4f91981b66e291027f233f
refs/heads/master
2021-01-04T03:47:34.211248
2020-02-16T23:18:39
2020-02-16T23:18:39
240,367,440
0
0
null
null
null
null
UTF-8
Python
false
false
2,734
py
"""ZCM type definitions This file automatically generated by zcm. DO NOT MODIFY BY HAND!!!! """ try: import cStringIO.StringIO as BytesIO except ImportError: from io import BytesIO import struct from ZcmRadarContiCluster import ZcmRadarContiCluster from ZcmService import ZcmService class ZcmRadarContiCluste...
[ "suhanovroman96@yandex.ru" ]
suhanovroman96@yandex.ru
786eb25c7e387dd452a84dd798b224c7a20eaa98
5b4fe473179b5fadaf59ec96d55b2ec4cb326f65
/src/graph_transpiler/webdnn/backend/webgl/kernels/reduce.py
213fb08c2ab5753e04407908731bd158bdf8fcba
[ "Zlib", "MIT" ]
permissive
TarrySingh/webdnn
13d3f1ec4936916abacfb67e270f48571e2fcff2
b31b19de0798d8ca198b78d19cb06e4fce1bc260
refs/heads/master
2021-05-07T02:24:47.500746
2017-11-13T13:00:24
2017-11-13T13:00:24
110,582,816
0
1
null
2017-11-13T18:03:46
2017-11-13T18:03:46
null
UTF-8
Python
false
false
6,293
py
from collections import namedtuple from typing import Type, Dict, Callable, Union from webdnn.backend.code_generator.injectors.kernel_name_injector import KernelNameInjector from webdnn.backend.webgl.generator import WebGLDescriptorGenerator from webdnn.backend.webgl.kernel import Kernel from webdnn.backend.webgl.kern...
[ "y.kikura@gmail.com" ]
y.kikura@gmail.com
43851ca9d9d2b010e1506a6e2e040a1b3d240ad0
350873b97f470488678d5d24e595737f0fc3ced2
/core/migrations/0033_auto_20170301_1258.py
874e8230f20d432d24d948f6098c4f523a846acd
[]
no_license
Scaledesk/ase
a2435745f7fbae252eb7af30223d4d59e1070817
891b8d5945b554ae5666c146eca342d649d48ae7
refs/heads/master
2021-01-22T20:26:14.603745
2017-05-16T10:14:22
2017-05-16T10:14:22
85,322,355
0
0
null
null
null
null
UTF-8
Python
false
false
541
py
# -*- coding: utf-8 -*- # Generated by Django 1.9 on 2017-03-01 12:58 from __future__ import unicode_literals from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): dependencies = [ ('core', '0032_auto_20170301_1238'), ] operations = [ ...
[ "nkscoder@gmail.com" ]
nkscoder@gmail.com
6b6b96b46498ebc58ff5adf1dd527ed649ea1e5c
3f19816f6027c0f6feaf53d1928cda9d77842c23
/draw/__init__.py
66d17fb048179455c6c026667c3b076cf2c695b4
[ "MIT" ]
permissive
RyoheiTomiyama/e-paper-calendar
b6e8be83c587641021b2ded5b7ed350c85812eaa
d575ee62e96772a83daded2c9afcafcf8cab68c2
refs/heads/main
2023-07-01T21:42:37.629253
2021-08-08T07:06:48
2021-08-08T07:06:48
387,192,158
2
0
null
null
null
null
UTF-8
Python
false
false
12,596
py
from weather import Weather import pytz import calendar as cal from datetime import date, datetime from dateutil.parser import parse from typing import List, Tuple import numpy as np from PIL import Image, ImageDraw, ImageFont Width, Height = int, int # image size SIZE = (800, 480) MAIN_WIDTH = 334 FONTS = dict( ...
[ "tennisnowboarderyou@gmail.com" ]
tennisnowboarderyou@gmail.com
356ef9e3329de23e51cf1e0cc01be397e47d74ff
0b8edff80aafabb8464c7306307fd26c1f45998f
/account/models.py
3100ac39f732c35f45b558050ec14d6ec4bf4dd6
[]
no_license
Aizdylagady/python9_shop
4c2fa00cc4d9515ffadc8bd202a665dfbb4dad2c
79103e944fd71a2571abf6000963a85ed8b53645
refs/heads/master
2023-03-10T11:37:12.549005
2021-02-24T08:33:15
2021-02-24T08:33:15
340,354,590
0
0
null
null
null
null
UTF-8
Python
false
false
2,596
py
from django.contrib.auth.base_user import AbstractBaseUser, BaseUserManager from django.db import models # Create your models here. class UserManager(BaseUserManager): def _create_user(self, email, password, **extra_fields): if not email: raise ValueError('Email is required') email = ...
[ "aizhamalabdylagady@MacBook-Air-Aizhamal.local" ]
aizhamalabdylagady@MacBook-Air-Aizhamal.local
4472e211cff9d0c13eac53c06d7b05c6e7a0850b
540c789a69a4622cf2b5c4348df60530a4807587
/oculus.py
782bbe711619bd535a0f67bc18ac8756b390bbe5
[]
no_license
npmcdn-to-unpkg-bot/oculus
d8ff3da3bdde7a7c52b77ff6db370fb432b638b4
f6878c5f691b7e3dab785d876d6db7cbf2f53b58
refs/heads/master
2020-12-28T22:11:18.866417
2016-08-06T08:24:58
2016-08-06T08:24:58
67,377,471
0
0
null
2016-09-05T01:14:28
2016-09-05T01:14:27
null
UTF-8
Python
false
false
9,168
py
from flask import Flask, request, redirect, url_for, render_template, flash, g from flask_login import LoginManager, login_required, login_user, logout_user, current_user from sqlalchemy import func from utils import * app = Flask(__name__) app.secret_key = 'A0Zr98j/3yX R~XHH!jmN]LWX/,?RT' login_manager = LoginManager...
[ "martin@teamzol.co.zw" ]
martin@teamzol.co.zw
aa40b0cbb6794b86f4f6b97b7a6089daf2122cb8
455a09dc62682d91e0974305a985d80df773d850
/ToetsJoost/opgave_1.py
dca1f34a33d34d95fda8f1541f5764dcb845b446
[]
no_license
joerihofman/pythonjoostjoeri
8e4890fecb1c09411b8875aecd6a9ec691ee9b7d
e45edeb0711d26f7df406a22376479e4e9e98661
refs/heads/master
2021-06-07T13:03:24.857534
2016-10-24T10:14:03
2016-10-24T10:14:03
null
0
0
null
null
null
null
UTF-8
Python
false
false
760
py
# convert an integer to a hex digit (a character) hexnumber = [] def hex_char(value): if value <= 9 and value >= 0: return chr(value + ord('0')) else: return chr(value - 10 + ord('A')) # convert a decimal to a hex as a string def to_hex(decimal): global hexnumber while decimal > 0: ...
[ "joostholwerda@hotmail.com" ]
joostholwerda@hotmail.com
2a5e8b7585bb274e5bd7965beb80b6d35c08b1cd
dcc9d1dbee5b3dc37f8c8a97ba3045a5a6227bf0
/Print Binary Tree By Columns.py
72b7e9ddf502d3eda35b20a3708397526cafac90
[]
no_license
alex-bo/leetcode
1786d450e50efb52fcb3748efa89ae1d5feb7d4f
c3cc49250a564801b82bac89115de94c75569dce
refs/heads/master
2022-11-12T00:15:41.860752
2022-11-05T21:07:12
2022-11-05T21:07:12
184,185,382
0
0
null
null
null
null
UTF-8
Python
false
false
1,053
py
from pprint import pprint from typing import List from binarytree import tree, Node """ Example: tree: _____2___ / \ 8 _11 / \ / \ 6 4 10 0 \ 12 result: [ [6], [8], [2, 4, 10], [11, 12], [0] ] """ def print_t...
[ "bojenko.alex@gmail.com" ]
bojenko.alex@gmail.com
74ef94d80fccd28b35db0c7bd4e4ec800bcbf09e
af68bae787843595fc912b6358f31239c4081b37
/MyFunc40.py
21fa8c984a7274cd19e10a6d4593b0e89f55839d
[]
no_license
RaznoeVikaI/ExcelTempNew
40ec74f493eb1cb19489eef7da3fa7345d1e27e2
a9335a374f04bfea119e7ae2e770387a96518976
refs/heads/master
2020-07-27T15:55:00.985542
2019-09-17T20:15:48
2019-09-17T20:15:48
209,148,806
0
0
null
null
null
null
UTF-8
Python
false
false
3,063
py
import openpyxl def readWriteCellFilials(): wb = openpyxl.load_workbook('задача для кандидата.xlsx') # получаем имя активного листа active_sheet_name = wb.active # print(active_sheet_name) # получаем другой лист sheet_otchet = wb['отчет'] print(sheet_otchet) # ----------111------------...
[ "vika.ibraimova85@bk.ru" ]
vika.ibraimova85@bk.ru
688e659ae62848353d0129b34549c61df7294ab7
cbd0af5a528e610e43dbfbff99db6eacc3a1fd78
/src/phiAws/init/init_file.py
d330a8e476b012d790f0e769d8260ac9b7ed688e
[]
no_license
mnevadom/elasticS
ca65612a1905187f32449a048a7fc4a0dcc117b8
4b30feb0271518fc34be71646c7a535763c2fb8c
refs/heads/master
2021-01-10T06:05:32.556550
2016-02-12T12:20:22
2016-02-12T12:20:22
48,800,623
0
0
null
null
null
null
UTF-8
Python
false
false
28
py
import boto3 import pprint
[ "nevado.mario@gmail.com" ]
nevado.mario@gmail.com
d334cd91cd590089c1527676b0f2089cd1eb7aee
51ade080eddc891ae6eb1b41814f083ea1f7436a
/이정민/0817/5073.py
7d9b967fd03c0f81753a130bd12869c4fc777628
[]
no_license
hjyoon/yunhoyunho
f2cd33aa86f8713afdd784093e14295e76e6e21b
6d661cdce8ee894d4d390fc508a66d3fed51a900
refs/heads/main
2023-08-26T03:46:40.529904
2021-11-11T12:44:37
2021-11-11T12:44:37
402,943,106
1
0
null
null
null
null
UTF-8
Python
false
false
1,038
py
#리스트 만들어서 max값 따로빼서 나머지랑 비교 while True: try: triangle = [list(map(int, input().split()))] for i in range(len(triangle)): tri = [] for j in range(3): tri.append(triangle[i][j]) if triangle[i][0] == 0 and triangle[i][1] == 0 and triangle[i][2] == ...
[ "jungmin2539@naver.com" ]
jungmin2539@naver.com
d6fb6be797243b47f6e91b67e3f43f734e4ef948
d83cdad8cebe755ff614cad5019a03a639184bea
/tests/dynamic_parallel_execution_groups/python/mapper.py
180cfec7d7c5864a9a28fa0332b00b72d8606cb8
[ "Apache-2.0" ]
permissive
iakkus/knix
99e59be415aa2b453cd3dfccde81aa4dc610f33f
263ad31181c4189b93159df9c9f2e363f4fc377d
refs/heads/master
2022-11-04T21:12:41.639421
2020-07-22T07:24:52
2020-07-22T07:24:52
262,139,828
0
0
Apache-2.0
2020-07-22T07:35:07
2020-05-07T19:25:05
JavaScript
UTF-8
Python
false
false
7,719
py
# Copyright 2020 The KNIX Authors # # 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 agree...
[ "iea__dev@mpi-sws.org" ]
iea__dev@mpi-sws.org
218d992827a2a6e201f6828586965dda7f457f02
991a15260558f1d83a73fa73c6ac7d2d20e2eae8
/Python/Reference/Numba/NumbaMultiThread.py
258bd873122cbe1f383a96a65943450ceaa3c2ad
[]
no_license
mjbankston/UberProject
a04c367e97c6ea88177fc77183538c588a43b505
6437caa45fa06ea9c49d6cbff7a4a93f79a4484b
refs/heads/master
2020-03-11T20:59:41.960212
2018-10-03T18:42:22
2018-10-03T18:42:22
130,252,393
1
1
null
null
null
null
UTF-8
Python
false
false
2,433
py
import math import threading from timeit import repeat import numpy as np from numba import jit nthreads = 4 size = 10**6 def func_np(a, b): """ Control function using Numpy. """ return np.exp(2.1 * a + 3.2 * b) @jit('void(double[:], double[:], double[:])', nopython=True, nogil=True) def inner_fun...
[ "mbankston@mitre.org" ]
mbankston@mitre.org
bf3be012e4b2178febe82596ab08eef6c6c12ae9
8fe8eb1d39edbd601d6da53cd94ab3634ca762ce
/k-Nearest-neighbor.py
cf26405ea6c00f1a84e1e22cacb55b47c58e45a0
[]
no_license
adityabilawar/K-Nearest-Neighbors
55f1b7b7cc6fa67b5fc0bf43bd0d0aef6b4e80c3
db9b78200383855f0106b56df65e5c2eaebc5565
refs/heads/main
2023-05-05T16:06:07.419635
2021-05-01T20:31:16
2021-05-01T20:31:16
326,750,398
1
0
null
null
null
null
UTF-8
Python
false
false
1,215
py
import sklearn from sklearn.utils import shuffle from sklearn.neighbors import KNeighborsClassifier import pandas as pd import numpy as np from sklearn import linear_model, preprocessing data = pd.read_csv("car.data") le = preprocessing.LabelEncoder() buying = le.fit_transform(list(data["buying"])) mai...
[ "noreply@github.com" ]
noreply@github.com
6fb5c8f15f61c1706e1de02182770878e90f51e2
80ed2a6a86ccd635d801d4fa26b0db8fbb85e7c9
/LEC/blog/migrations/0003_auto_20201006_1144.py
86268a8c322cc3c34e4fb1cf0ab9c19a66a99f40
[]
no_license
setuphub/webLEC
0ed8a431baca256da119bbafcc5b572b538429c2
9136357cdeef0aedc52d6d97df8466a4bfe80bd8
refs/heads/main
2023-01-04T04:11:52.119823
2020-11-02T20:31:05
2020-11-02T20:31:05
301,351,536
0
0
null
null
null
null
UTF-8
Python
false
false
318
py
# Generated by Django 3.1.1 on 2020-10-06 11:44 from django.db import migrations class Migration(migrations.Migration): dependencies = [ ('blog', '0002_auto_20201006_1144'), ] operations = [ migrations.AlterModelTable( name='post', table=None, ), ]
[ "contact.setuphub@gmail.com" ]
contact.setuphub@gmail.com
ca58f82f80a70195ada7ad9d9b57a9caa57b5d93
191a7f83d964f74a2b3c7faeb4fc47d9c63d521f
/.history/main_20210529110646.py
c11465bf5e912bd5343d8b638bc2f0d69d2c8b17
[]
no_license
AndreLiu1225/Kinder-Values-Survey
2a317feee8d5b17c27da2b2116742656e35d8ab9
090c27da0c822abb7dfc0ec6e13ae1b3dcb7bbf3
refs/heads/master
2023-05-03T00:26:00.481423
2021-06-04T03:24:19
2021-06-04T03:24:19
371,989,154
0
0
null
null
null
null
UTF-8
Python
false
false
5,896
py
from flask import Flask, render_template, redirect, url_for, flash, request from flask_sqlalchemy import SQLAlchemy from flask_wtf import FlaskForm from wtforms import StringField, TextField, SubmitField, IntegerField, SelectField, RadioField from wtforms.validators import DataRequired, Email, EqualTo, Length, Validati...
[ "andreliu2004@gmail.com" ]
andreliu2004@gmail.com
05b4ccafaf0be88412c70c54cc82d5afc05c923f
d94162ca1ecdfea5f2acb319dc4700cccb55f941
/package_structure/models.py
3bd17ad4ee588a78de39ad6f20e7aca025f78341
[]
no_license
vaidehidangi23/flaskblog
69f46e764e35e945ab998540acf8888b009a19bc
745fefa9c624e75c8bf0eee466e7c45bbabfaa9d
refs/heads/master
2022-11-12T23:51:05.810731
2020-07-10T18:53:04
2020-07-10T18:53:04
278,036,190
0
0
null
null
null
null
UTF-8
Python
false
false
988
py
from datetime import datetime from __main__ import db class User(db.Model): id = db.Column(db.Integer, primary_key=True) username = db.Column(db.String(20), unique=True, nullable=False) email = db.Column(db.String(110), unique=True, nullable=False) image_file = db.Column(db.String(20), nullable=False, ...
[ "62616333+vaidehidangi23@users.noreply.github.com" ]
62616333+vaidehidangi23@users.noreply.github.com
69037af8902c95555784d6965770b0383184ab27
6f62a21f269864ae75d5b0fe7a65835dfb77bb63
/tetris/venv/Scripts/pip3-script.py
3479da8fdd232abc2657e4899a701d897f4976e7
[]
no_license
hursliza/tetris
217d6ae17419505fad442d8c7280050075ebfc4d
d15dc71afb5e85b0cf6e0f003f3f159d8b5a264f
refs/heads/master
2021-03-17T12:09:16.219270
2020-04-02T11:02:26
2020-04-02T11:02:26
246,988,911
0
0
null
null
null
null
ISO-8859-7
Python
false
false
396
py
#!D:\studia\οτόσ\venv\Scripts\python.exe -x # EASY-INSTALL-ENTRY-SCRIPT: 'pip==10.0.1','console_scripts','pip3' __requires__ = 'pip==10.0.1' import re import sys from pkg_resources import load_entry_point if __name__ == '__main__': sys.argv[0] = re.sub(r'(-script\.pyw?|\.exe)?$', '', sys.argv[0]) sys.exit( ...
[ "45465386+hursliza@users.noreply.github.com" ]
45465386+hursliza@users.noreply.github.com
e22b899f1c8fd95943bdbe46fad4f1ebb9049d5f
cf4baa30dd94e8dbf7b6d097b02f7fc62c416222
/Django/DjangoApp/apps/surveys_app/views.py
0fa2255fd93c02154a9cdb7b1573dcb1c31a57d6
[]
no_license
py1-10-2017/AshwinRaman-py1-10-2017
fcd5421951ceb8838b72183fe8e74a690afd604a
11e27487129fa5a0bd01075829b0dcd2ea422bf3
refs/heads/master
2021-08-19T07:26:06.909086
2017-11-25T04:36:44
2017-11-25T04:36:44
105,705,899
0
0
null
null
null
null
UTF-8
Python
false
false
293
py
from __future__ import unicode_literals from django.shortcuts import render, HttpResponse, redirect def surveys(request): return HttpResponse("Placeholder - display all the surveys created") def new_survey(request): return HttpResponse("Placeholder for users to add a new survey")
[ "ashwin.raman@gmail.com" ]
ashwin.raman@gmail.com
28af7761180fd39b25687a64d46b71bd4852c87d
c848f65a72e6fd7df20d53283f568b862e758c24
/basic/,threading5.py
c030d687c60065395be26fe95476aeac523048cc
[]
no_license
yk0817/python_study
029cbe7a70778ca7d6b2c8d71b9a1ae2587ef39f
4d5171b78f84539e538f719a593feaae10e5a093
refs/heads/master
2023-05-25T12:08:55.431705
2023-05-13T01:57:46
2023-05-13T01:57:46
84,618,059
0
0
null
null
null
null
UTF-8
Python
false
false
613
py
import threading,time class MyThread(threading.Thread): def __init__(self,count): threading.Thread.__init__(self) self.count = count self.return_value = None def run(self): sum_value = 0 for i in range(1,1 + self.count): sum_value += i time.sleep...
[ "em072029@gmail.com" ]
em072029@gmail.com
e13ef4e93311f1a5135c51513292e37c3a21d53b
341ac5a0b7a2fe550a0580f29a81dbaaf26d24cd
/attribution.py
6a4df77e34df9b0b6a574d03bb5994e3e1f31b7a
[]
no_license
jielu0728/RelationExtraction
7f9405a5a88e9dd7c4a3274fd9cc6126cedebee6
2839e55cb640e66973841983f18c385b8df2edb2
refs/heads/master
2016-09-06T00:22:57.547084
2015-10-25T23:16:01
2015-10-25T23:16:01
37,312,902
4
0
null
null
null
null
UTF-8
Python
false
false
10,892
py
# coding: utf-8 # In[1]: import nltk import string import jsonrpclib from simplejson import loads import simplejson from nltk.corpus import wordnet as wn import re from string import punctuation server = jsonrpclib.Server("http://localhost:8080") r = re.compile(r'[{}]'.format(punctuation)) # name appears in the p...
[ "jielu0728@gmail.com" ]
jielu0728@gmail.com
172b69d8e0f85da27da0cd12868c709c8e151f19
489d26a949b99b784c6cadc6e9b69715377a89c9
/script-list.py
5fe37396fc98b02ba91c8a3d105700853a7c101e
[]
no_license
elainemicheletti/exercicios-de-logica
97d610eac62d64fe256d7a7638def124c3a86363
64ee18925e088103276bd5ef6a35ebf27f971cd1
refs/heads/master
2021-05-04T11:23:58.682502
2020-08-17T23:48:53
2020-08-17T23:48:53
46,579,695
3
0
null
null
null
null
UTF-8
Python
false
false
2,240
py
## Basic Python Exercises - list ## ## Tuplas .sort() sorted() e fatiamento de sequencias #!/usr/bin/python -tt # coding: urf-8 import unittest # dado a lista se strings 'words', retoarnar o total de strings, se cada palavra for maior ou igual a dois # e se o primeiro caracter coincidir com o último def match_ends(...
[ "noreply@github.com" ]
noreply@github.com
66c765949fbc0f68d3fa563f1170b7476d4e8341
f3e5f7da6b9c71f99fc77618d8e05819b050ca2a
/old/lyons-v4.py
1df5f86d77c95e7bcbc05343561d24a088aa6b8c
[]
no_license
chris-seals/dsb2019
5464003a240d48ce251e2ea24a4bc4c7897bcb82
139315280f4d5d0de5771257038bdbdc8e5338df
refs/heads/cjs
2020-12-06T23:27:17.113657
2020-02-10T21:00:58
2020-02-10T21:00:58
232,579,196
0
0
null
2020-01-08T15:17:37
2020-01-08T14:16:08
Jupyter Notebook
UTF-8
Python
false
false
23,743
py
# %% [code] # This Python 3 environment comes with many helpful analytics libraries installed # It is defined by the kaggle/python docker image: https://github.com/kaggle/docker-python # For example, here's several helpful packages to load in import numpy as np # linear algebra import pandas as pd # data processing, ...
[ "seals_christopher@bah.com" ]
seals_christopher@bah.com
1d0c5840f42c513e12b08defc9cfd08a7622ff34
de24f83a5e3768a2638ebcf13cbe717e75740168
/moodledata/vpl_data/141/usersdata/164/62144/submittedfiles/av2_p2_m2.py
cf2af6c995fd2f98bb7c17c2b52705db0a575052
[]
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
430
py
# -*- coding: utf-8 -*- def qvidas (pe, ps): for i in range (0, len(a)+1, 1): if (pe==(a[i]-1)) soma=soma+a[i-1] if (ps==a[i]-1): soma=soma+a[i-1] return(soma) n=int(input('Número de elementos da lista: ')) a=[] for i in range (0, n, 1): vidas=int(input('Núme...
[ "rafael.mota@ufca.edu.br" ]
rafael.mota@ufca.edu.br
00155d659580b1f1caabc65aa54bdd5a0c4fa884
43b6b312005ec2609e64d7137c98aa044470ab8e
/customer/views.py
6a9ea875a89919df1723f7256c459871383c2fe7
[]
no_license
Jon005/BookingSystem
85e7181ff39ace2a76254f2ee008706901f5fd92
41822c631da82d5932c160d6370caaba4147c88b
refs/heads/master
2023-06-07T20:52:01.417473
2021-06-27T13:09:48
2021-06-27T13:09:48
380,740,211
0
1
null
null
null
null
UTF-8
Python
false
false
186
py
from django.shortcuts import render # Create your views here. def home(request): context={ 'value': 'customer' } return render(request,'base.html',context)
[ "cruisebelfort21@gmail.com" ]
cruisebelfort21@gmail.com
1feada97f4ed28e5f514582cc44a427ae76d7dc6
1fe56144905244643dbbab69819720bc16031657
/.history/book/settings_20210422150351.py
88b3ae72a9c9d1ae8132d3eaec3669704089145b
[]
no_license
RaghdaMadiane/django
2052fcdd532f9678fefb034bd60e44f466bd9759
6ca3f87f0b72880f071d90968f0a63ea5badcca8
refs/heads/master
2023-04-15T17:28:25.939823
2021-04-24T22:33:21
2021-04-24T22:33:21
361,279,372
0
0
null
null
null
null
UTF-8
Python
false
false
3,321
py
""" Django settings for book project. Generated by 'django-admin startproject' using Django 3.2. 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/ """ from pathlib impo...
[ "raghdamadiane@gmail.com" ]
raghdamadiane@gmail.com
b10320e26ac1231b5798ceb5c5971938a8e25da7
a0a6f5b63ba8c9265a1666d177af06d4341665d8
/migrations/versions/27bb9f2d78c9_.py
f39d1f19e47b45370b8f60ae70110c6d7c6fa8af
[]
no_license
Erick-LONG/flask_blog
bc0ea2fae61e254b333c46402acc4bea2208156b
92c4be13b020c757719be3f0dd6429d6d4a72251
refs/heads/master
2020-12-30T12:22:44.229048
2017-06-11T08:15:57
2017-06-11T08:15:57
91,423,280
1
0
null
null
null
null
UTF-8
Python
false
false
1,299
py
"""empty message Revision ID: 27bb9f2d78c9 Revises: 423700be3811 Create Date: 2017-06-04 09:34:09.964915 """ from alembic import op import sqlalchemy as sa # revision identifiers, used by Alembic. revision = '27bb9f2d78c9' down_revision = '423700be3811' branch_labels = None depends_on = None def upgrade(): # ...
[ "834424581@qq.com" ]
834424581@qq.com
51d9c3dd96680680f656cff6802e31fde8dc50ba
e545395ef78b1e396076dddd726444be28576290
/lt206.py
7145b70e0597c724642d435c7a051ef382fce95d
[]
no_license
Francis1998/leetcode
bb38fe91145b57e657ec812bebd95d3e30be3b96
9fbab5fe97026f7fa6e7124321480a7e20d5b72a
refs/heads/master
2023-04-22T02:45:57.223755
2021-05-08T12:47:23
2021-05-08T12:47:23
318,083,503
1
0
null
null
null
null
UTF-8
Python
false
false
669
py
# 转一个单链表。 # 示例: # 输入: 1->2->3->4->5->NULL # 输出: 5->4->3->2->1->NULL # Definition for singly-linked list. # class ListNode: # def __init__(self, x): # self.val = x # self.next = None class ListNode: def __init__(self,x): self.val = x self.next = None class Solution: def revers...
[ "you@example.com" ]
you@example.com
2b2cf283e10607104a1fb29f226644d2bf770d7c
8957f0b42ba945399a2eeb71f796c11c9eb35b06
/stripped/difflib.py
eeb579a9d6c6d3107ab1db1787d6193e62a92920
[]
no_license
notro/tmp_CircuitPython_stdlib
4de177cbb45b2209f07171c27f844c7d377dffc9
641727294039a9441c35ba1a1d22de403664b710
refs/heads/master
2020-03-27T18:26:33.544047
2019-02-15T20:49:34
2019-02-15T20:49:34
146,922,496
1
1
null
null
null
null
UTF-8
Python
false
false
80,226
py
""" Module difflib -- helpers for computing deltas between objects. Function get_close_matches(word, possibilities, n=3, cutoff=0.6): Use SequenceMatcher to return list of the best "good enough" matches. Function context_diff(a, b): For two lists of strings, return a delta in context diff format. Function nd...
[ "noralf@tronnes.org" ]
noralf@tronnes.org
b61dd5981a9177ea2adff1e9fbfbe535e6ea3ce7
636d06ee1f85caace855f8fb8d9e6c09a22c18ba
/quantum/agent/linux/ovs_lib.py
5e8cb94a0b86269778e403aebd87819442fd93dc
[ "Apache-2.0" ]
permissive
linvictor88/vse-lbaas-driver
bf377e9c3804c9329bc15797150dcc50a3d2ea65
08eadb2929468554a409cf13e5ec1fac1d59a73e
refs/heads/master
2016-09-11T06:27:22.495017
2013-07-28T16:02:45
2013-07-28T16:02:45
null
0
0
null
null
null
null
UTF-8
Python
false
false
12,771
py
# vim: tabstop=4 shiftwidth=4 softtabstop=4 # Copyright 2011 Nicira Networks, 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.apach...
[ "linb@vmware.com" ]
linb@vmware.com
14e8dbed30332cd7efd4f33f49eb69b34021b918
f074fe742b1b242c75872e64a1196ba539066609
/verres/visualization/device.py
ff5a30ac6fa9695ee2123a773b6f203465b4338c
[ "MIT" ]
permissive
csxeba/Verres
63f31d82b4e12b4da8b5fa5cc930eb874f1aa60d
04230d22b7791f84d86b9eb2272a6314a27580ed
refs/heads/master
2023-04-07T02:07:26.863612
2021-12-09T20:15:12
2021-12-09T20:15:12
176,881,974
0
0
MIT
2023-03-18T19:56:38
2019-03-21T06:17:58
Python
UTF-8
Python
false
false
3,901
py
import pathlib from typing import Union, List import cv2 class OutputDevice: def __init__(self, scale: float, fps: int): self.scale = scale self.fps = fps def write(self, frame): raise NotImplementedError def __enter__(self): return self def __exit__(self, exc_type...
[ "csxeba@gmail.com" ]
csxeba@gmail.com
a9d9fd85d84e026a37f651f024318f42aa8f8e13
6b33b2abe0dea14cbb7fec7dfd8f254be1e1f129
/throttling_api/throttling_api/wsgi.py
f3a4a052a2cd7f74dbf52e439730fdbe7906f165
[]
no_license
Ashish8135/Django_Rest_Api
bd507f768f04b16ded72097923d7ec460457525c
95b79e065cc5366b779cd583e32e3081fb67e439
refs/heads/master
2023-03-25T21:33:04.924193
2021-03-20T19:25:56
2021-03-20T19:25:56
330,134,880
0
0
null
null
null
null
UTF-8
Python
false
false
405
py
""" WSGI config for throttling_api 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('DJANG...
[ "ashish.shaivya10@gmail.com" ]
ashish.shaivya10@gmail.com
8f55207db1ebb8dfdf3fd81e3e016c64a325d512
7a3bbe10dc7a797234ba707c97a187b30f3f4408
/name-generator/name_scraper.py
66359e87a4416d3c36a005a8607b72b7fe5f44b4
[]
no_license
maknetaRo/python-100
efbdf8ba2e4f62d3fd96d99f98adc509124c6974
bc841997a6354810dcac1f09adaba04c3b45e166
refs/heads/master
2023-03-18T17:45:07.524711
2021-03-07T22:24:49
2021-03-07T22:24:49
297,062,451
4
1
null
null
null
null
UTF-8
Python
false
false
909
py
import requests from bs4 import BeautifulSoup import webbrowser def get_data(url, file_name): page = requests.get(url) page.raise_for_status() soup = BeautifulSoup(page.text, "html.parser") tbody = soup.find_all(id="myTable") f = open(file_name, "w+") records = [] for elem in tbody: ...
[ "makneta@gmail.com" ]
makneta@gmail.com
5fe3a068ffe4258d1eea9ff261f3df77e303504c
07131e91dcf2529e9c7058f8a8f239d419c8f7e0
/154.find-minimum-in-rotated-sorted-array-ii.py
8e39152ce5a56fc47d50bc670bb7a5999739dbab
[]
no_license
Code-Wen/LeetCode_Notes
5194c5c5306cb9f4a0fac85e06fefe6c02d65d44
791fc1b43beef89d668788de6d12f5c643431b8f
refs/heads/master
2021-07-04T14:41:00.830723
2020-09-27T16:31:22
2020-09-27T16:31:22
178,456,323
1
0
null
null
null
null
UTF-8
Python
false
false
1,230
py
# # @lc app=leetcode id=154 lang=python3 # # [154] Find Minimum in Rotated Sorted Array II # # https://leetcode.com/problems/find-minimum-in-rotated-sorted-array-ii/description/ # # algorithms # Hard (41.60%) # Likes: 1168 # Dislikes: 245 # Total Accepted: 212.8K # Total Submissions: 511K # Testcase Example: '[1...
[ "chenxu.wen.math@gmail.com" ]
chenxu.wen.math@gmail.com
ce867601d1809bfc0d961a05aaa09e9f2f114587
d2eb4d79ebd7518099dc0e186ec5e73b1b7fb6e8
/Humsci/dnld2/test.py
8b44109ffd91f9da7f3bd246f1bb780e97d797e4
[]
no_license
lylax47/Homework-and-Stuffs
e59cff91873f5eeee12087036a0d667f55f61d39
eb738572f9894277d1bfc646793f9d98a92cfe81
refs/heads/master
2021-01-18T23:43:15.846000
2016-06-22T11:50:02
2016-06-22T11:50:02
48,043,696
0
0
null
null
null
null
UTF-8
Python
false
false
149
py
# with open('event_info.csv', 'r', encoding = 'utf-8') as cv: # info = cv.read() import pandas df = pandas.read_csv("event_info.csv", sep = '\t')
[ "jjlyell@gmail.com" ]
jjlyell@gmail.com
c62dc06c7d081e5e733f4a1cc598e0ffce8ba919
dc0d911ab71eaa2e888663ff9195009851aad81d
/creating_table.py
22a52581b7db7f4f9f9223d08248ecd4d12ba6bf
[]
no_license
anyklaude/Translator
914c441ee6783bd7fa8fbe126ceeb7eaf4f51693
5b2d9bb239e781707ad6a97d2b06d16f6978de90
refs/heads/master
2021-06-15T05:15:53.305411
2021-04-12T10:59:05
2021-04-12T10:59:05
183,452,261
0
0
null
null
null
null
UTF-8
Python
false
false
1,324
py
def create_table(cur): cur.execute('DROP TABLE IF EXISTS TypingExchange') cur.execute(''' CREATE TABLE TypingExchange ( code varchar(255), natural_language varchar(255) );''') def insert_codes(cur): dictionary = { 'be': 'Belarusian', 'bg': 'Bulgar...
[ "noreply@github.com" ]
noreply@github.com
fca8b399c76165f898e36b82275bf37b7c23e59a
6c9ee703b142f9b9be64b9df0e3cf1f2ce09e0c2
/ShopCart/myapp/migrations/0006_auto_20171125_0850.py
1c6eaca8abd52852a0abb3c65858054ab1fdb4b3
[]
no_license
ddchris/Shopping_cart
4e7b8d68bba10b10a51351469a63e95131fcffaf
2a5f9481c4b31d9b8a686bea8a33ba45d5155970
refs/heads/master
2021-09-06T18:07:35.652692
2018-02-09T12:43:50
2018-02-09T12:43:50
110,970,311
0
0
null
null
null
null
UTF-8
Python
false
false
1,862
py
# -*- coding: utf-8 -*- # Generated by Django 1.11.7 on 2017-11-25 00:50 from __future__ import unicode_literals from django.db import migrations class Migration(migrations.Migration): dependencies = [ ('myapp', '0005_auto_20171115_2056'), ] operations = [ migrations.RenameField( ...
[ "evilkillerice@gmail.com" ]
evilkillerice@gmail.com
dab9bab2e244eadf855a2a8158c1e89f8544dabb
d22fd24fdfe6f2cf3663ad52eecc3cdf42fe30a3
/test_rank_DUNE17-cold.py
ccb81832ac9000cba0d4dc2aa1861d2d033d28dd
[]
no_license
dladams/duneadc
0ccb841013e93bb0ca5f1107b3836f55fc765200
76ea180e47874b96512697c141f653d2813d78c4
refs/heads/master
2020-05-23T09:13:02.960754
2018-08-08T13:54:05
2018-08-08T13:54:05
80,441,704
0
0
null
null
null
null
UTF-8
Python
false
false
947
py
# test_rank_DUNE17-cold.py # David Adams # July 2017 # # Test python output emitted by filldbd17c.C. from rank_DUNE17_cold import effdst from rank_DUNE17_cold import effrank import dune17 nerr = 0 def testerror(msg): global nerr print "Test failed: " + msg nerr = nerr + 1 def testequal(lhs, rhs, msg): if l...
[ "dladams@bnl.gov" ]
dladams@bnl.gov
7506ef5edf4d9d8584415ecace70955bc8940376
3ac423b72ceefc32a54b3348a84c559289e2ef0b
/mosaic_assemble.py
75e7db455d5bb0afcaa8eb680595c52fb1e6b9c9
[]
no_license
feomike/block_mosaic_overlay
2524ee88acce57703070f2ec90caeeeb209ba7c1
2de33e5f18cc69c26974fd621aae0dd0a37338e2
refs/heads/master
2021-01-01T20:06:37.031735
2013-11-06T19:39:00
2013-11-06T19:39:00
null
0
0
null
null
null
null
UTF-8
Python
false
false
3,443
py
# --------------------------------------------------------------------------- # mosaic_assemble.py # Created on: March 8, 2013 # Created by: Michael Byrne # Federal Communications Commission # assembles the mosaic data into one dataset # --------------------------------------------------------------------------- # Imp...
[ "michael.byrne@fcc.gov" ]
michael.byrne@fcc.gov
9d831422fe776b3f64d80a8a5e86d5f6f127931b
874ff7c027534c0c074285ade4a08b138e7480f7
/scripts/genomejp/get_maps.py
6100190fa6c71808bb76dfa684c57c2229791bd2
[]
no_license
hurwitzlab/iPlant-Bonnie
1282eba9d034fd0d064c58230f6abc22c3be2ab8
52ae2af3a494f6fa15eec8dd25fab9bfaccc2acd
refs/heads/master
2021-01-19T17:17:51.479828
2013-12-15T21:21:21
2013-12-15T21:21:21
9,780,365
0
0
null
null
null
null
UTF-8
Python
false
false
1,971
py
#!/usr/bin/env python # get_maps.py from bs4 import BeautifulSoup import requests import re def rest_get(url): r = requests.get(url) results = r.text re.compile(r'DBLINKS.+///', re.DOTALL) filtered_text = re.sub(r'DBLINKS.+?///', '', results, flags=re.DOTALL) return filtered_text BASE_URL = 'htt...
[ "darren.boss@gmail.com" ]
darren.boss@gmail.com
40eb5b330e2142c6e8e1c6ae3693e15a7619dd36
8e7c5fec76078d61d14c68fb2aff9886e3e81b0e
/server_code/BasicTwitterAPI.py
affd37417b53fe433f8c54c50c4da0492b2f5385
[ "MIT" ]
permissive
dfiel/TweetOrYeet
aedd44a5f3f725d5aa28a1a3c581b9974e3dbe0a
8f92a2bf153d633b9954c221f4c0ade12491b90a
refs/heads/master
2022-04-06T07:36:02.991169
2020-02-23T17:41:26
2020-02-23T17:41:26
242,412,270
0
0
null
null
null
null
UTF-8
Python
false
false
597
py
from twitter import Twitter, OAuth import secrets import json import http.server global session class JSONHTTPRequestHandler(http.server.BaseHTTPRequestHandler): def do_GET(self): self.send_response(200) self.end_headers() self.wfile.write(json.dumps(session.statuses.user_timeline(screen...
[ "github@dfiel.com" ]
github@dfiel.com
fc58394071ed4ea0e75130c06e3b1b5aa9f374f4
bf0eeff2cdbe62c63578ce510cb112c7b88e5989
/Galleria/gallery/migrations/0002_post_submitter.py
15d27e9a1fb3414cffb82b4e0e713c87d6ed65af
[]
no_license
FinerDetails/BitLouvre
da313bbd72f31cf25b6e5f1eaf90ce819a00a61b
6ffb4ddc088ff1e9900af316b6c5cfe10754f3c7
refs/heads/master
2023-08-23T09:19:46.532973
2021-10-07T20:31:26
2021-10-07T20:31:26
410,970,419
0
0
null
null
null
null
UTF-8
Python
false
false
630
py
# Generated by Django 3.2.7 on 2021-09-30 18:02 from django.conf import settings from django.db import migrations, models import django.db.models.deletion import django.utils.timezone class Migration(migrations.Migration): dependencies = [ migrations.swappable_dependency(settings.AUTH_USER_MODEL), ...
[ "villegalle@villegalle.tfr3vjnqky3ehg5ptc4pxahyoe.fx.internal.cloudapp.net" ]
villegalle@villegalle.tfr3vjnqky3ehg5ptc4pxahyoe.fx.internal.cloudapp.net
e321bb43a8f776c68156cf97c5c0f05911953140
459a47275f872c2af9af29b755395c38dc1fed2e
/qiskit/validation/jsonschema/__init__.py
9907fdfdc89df1f21c6f7161807f4eb88461bed1
[ "Apache-2.0" ]
permissive
uguraba/qiskit-terra
3370c34d81421ab9045a1309d3c8403686e317c7
56ee4ca815dd0165dd62684abd364ae706b4fe10
refs/heads/master
2020-05-16T20:59:43.552780
2019-04-24T18:18:12
2019-04-24T18:18:12
183,293,754
0
0
Apache-2.0
2020-01-17T16:39:34
2019-04-24T19:27:13
Python
UTF-8
Python
false
false
344
py
# -*- coding: utf-8 -*- # Copyright 2019, IBM. # # 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. """Validation using the .json schemas.""" from .exceptions import SchemaValidationError from .schema_validation import valid...
[ "noreply@github.com" ]
noreply@github.com
51cb61471d7c6c1f20e291e98404201a6f8ba047
ce5d75e7e77d42899855b631893a23e60449561e
/Problems/Smile for me/main.py
7f3932d89377eb7fe2722a3e6455d304f91d8d74
[]
no_license
imkouyo/text-generator
b4af2436c1ca77b6687cd42d1c8e43b5d701388a
0aed80a2bb066090e3de6e6238b3316ab5a801bc
refs/heads/master
2023-03-27T08:18:59.236012
2021-03-24T03:12:58
2021-03-24T03:12:58
350,925,563
0
0
null
null
null
null
UTF-8
Python
false
false
63
py
import re # define regex template template = ':[(o)-][(o)]?'
[ "hunterko@HunterdeMacBook-Pro.local" ]
hunterko@HunterdeMacBook-Pro.local
0189eba08470aa0f68986213a1349946a64b8399
70e30ea2dd73bbc9ed52057885535e135160f12c
/src/utils/pyTweetCleaner.py
2ed7fa4a183c120b1721a339e3584edce4cec5bc
[ "MIT" ]
permissive
xianhuaxizi/Event-Detection-from-Tweets
bb91abfa4ee495e59540c878ef6198f767db4c6a
6bffc688b168ef30a20a6b1b27ea42f4ce1ebbc2
refs/heads/master
2020-04-10T15:11:18.975299
2018-12-05T09:34:58
2018-12-05T09:34:58
null
0
0
null
null
null
null
UTF-8
Python
false
false
5,250
py
# See the original pyTweetCleaner at https://github.com/kevalmorabia97/pyTweetCleaner """ REMOVE: TWEETS THAT HAVE in_reply_to_status_id !=null i.e. COMMENTS ON SOMEONE ELSE'S TWEETS TWEETS THAT HAVE lang != en i.e. NOT IN ENGLISH LANGUAGE DATA ABOUT DELETED TWEETS N...
[ "kevalmorabia97@gmail.com" ]
kevalmorabia97@gmail.com
840bcb743804cd91fc28d3d3902ca7bcb109294b
0be06356283a42aadea9165340f6d55e816a7bf5
/client/ui/resource_rc.py
9577aa3fbc6e8e18dec582f95cf4facdf6bef938
[]
no_license
mvisat/sujeongku
fb74427ec488d137a993d7e105a718c44f253826
52a74d7c5553fa952cd563d9575ebd3bfeaf04b4
refs/heads/master
2021-01-10T06:53:07.914993
2015-12-04T14:34:42
2015-12-04T14:34:42
46,903,336
0
0
null
null
null
null
UTF-8
Python
false
false
995,660
py
# -*- coding: utf-8 -*- # Resource object code # # Created by: The Resource Compiler for PyQt5 (Qt v5.3.2) # # WARNING! All changes made in this file will be lost! from PyQt5 import QtCore qt_resource_data = b"\ \x00\x00\x23\x60\ \x89\ \x50\x4e\x47\x0d\x0a\x1a\x0a\x00\x00\x00\x0d\x49\x48\x44\x52\x00\ \x00\x02\x00\x0...
[ "mvisat@gmail.com" ]
mvisat@gmail.com
cd76f1a279672c1203c7f4ca62612b4e330c4e08
c7d0432f0cf3ced255be3e9d33fcc5e2250b340b
/main_old_style.py
52c054eeee47a4deea458b143dd98c8c61646ec4
[ "MIT" ]
permissive
tgjeon/TensorFlow-Practical-Coding-Pattern
5f0aeab291a92811b0003bed26d3a3d8fab891e7
1e51f0d8c8df71f2a777f2ba3faf00614e011111
refs/heads/master
2021-01-11T19:00:46.562355
2017-01-18T07:04:06
2017-01-18T07:04:06
79,291,145
0
0
null
null
null
null
UTF-8
Python
false
false
4,308
py
# Source code from https://github.com/codertimo/Tensorflow-Study/blob/master/7-ConvolutionalNet/MNISTConvolutionalNet.py #-*- coding: utf-8 -*- import tensorflow as tf import numpy as np import time # MNIST 데이터를 다운로드 한다. from tensorflow.examples.tutorials.mnist import input_data mnist = input_data.read_data_sets("../M...
[ "tgjeon@satreci.com" ]
tgjeon@satreci.com
3cddaca39413e5ff9c3efea0843adb6981f9df82
cf5b4746cc08ae598d41bbcd275a0b8b8b7f6103
/map.py
8517829cd2e1cbcc0f551f167fa7418204213126
[]
no_license
Dontsov/AltGeoView
403d5a59df802fc6b708708ef402196562b5a8ba
fb10402e9ee5fe57bc7ddc6df6b93dbbae5e24a8
refs/heads/master
2016-09-10T18:56:48.212480
2014-09-08T03:24:00
2014-09-08T03:24:00
null
0
0
null
null
null
null
UTF-8
Python
false
false
563
py
import sys import os def application(environ, start_response): try: status = '200 OK' f = open(r'./template/map.html') output = f.read() f.close() response_headers = [('Content-type', 'html'), ('Content-Length', str(len(output)))] start_respon...
[ "alexdontsov@yandex.ru" ]
alexdontsov@yandex.ru
db9062a3780da2045684e987f72463040d963ea3
d036afd53acede904ef98323b86e25ffd7751472
/Classes/Setup.py
c412b07d4e01525180100619fad3e93b9eaff8e1
[]
no_license
michelelt/fantasturie
0fe84690c1a04a6ced51c8feb8f0040daad0d8a2
513c9f0d2e9f0cd69b222428f4410d4a9b3de1eb
refs/heads/main
2023-03-09T07:44:58.902952
2021-02-12T09:53:00
2021-02-12T09:53:00
327,438,586
0
0
null
null
null
null
UTF-8
Python
false
false
821
py
from pathlib import Path import os import shutil class Setupper: def __init__(self, config, season, journal): self.root = config['data_root'] self.seasons = season self.journal = journal self.create_path_if_not_exists(self.root.joinpath(self.journal)) for season in self...
[ "michelecocca.mc@gmail.com" ]
michelecocca.mc@gmail.com
cab1203f692a6d400a5b13239994199bce54ce46
c324a6d923bae3a00bd1dc69a43d0e5c707a104a
/addons-vauxoo/analytic_entry_line_plans/__openerp__.py
df4233e8017a53b64534c2b9e08e4e30fa2f5ba7
[]
no_license
meswapnilwagh/odoo-adr
5c593c2240d23b79811ccd7b5297b634e5ffe19d
442c8d5fa52cab30028a26dd93bd8eae88d58fed
refs/heads/master
2020-01-27T10:03:27.142715
2015-09-04T14:36:59
2015-09-04T14:36:59
50,238,226
0
4
null
2016-01-23T12:53:28
2016-01-23T12:53:25
null
UTF-8
Python
false
false
2,022
py
# -*- encoding: utf-8 -*- ############################################################################### # Module Writen to OpenERP, Open Source Management Solution # Copyright (C) OpenERP Venezuela (<http://www.vauxoo.com>). # All Rights Reserved ############# Credits ########################################...
[ "tecnologia@obsdr.com" ]
tecnologia@obsdr.com
a36625a8fa3ba2865da0c8c905df4519226508d5
2185d8dbf54692d43df74ba5c023302681b2be90
/settings/settings.py
0eeea23e46948f81edd8b80ea78d995f2bc77bcf
[]
no_license
ShariqM/Learning
8d84f5ec558dd7554b7940d3ec923eb97d0717a4
ea9a68215bf665cda953413b8d51010113390b7b
refs/heads/master
2016-09-03T06:48:50.663642
2014-07-24T00:58:12
2014-07-24T00:58:12
16,339,472
1
0
null
null
null
null
UTF-8
Python
false
false
4,570
py
from strats.randomstrat import * from strats.unembodiedstrat import * from strats.piggreedystrat import * from strats.pigvistrat import * from strats.ltastrat import * from strats.ltavistrat import * from strats.cbstrat import * from strats.bossstrat import * from strats.dystrat import * from strats.chainstrat import *...
[ "Shariq.Mobin@gmail.com" ]
Shariq.Mobin@gmail.com
f0b33f2fccb3c1374656e29cf251afecba3abce1
9e988c0dfbea15cd23a3de860cb0c88c3dcdbd97
/sdBs/AllRun/jl_202/sdB_jl_202_lc.py
2b4f5c9ca7cb8de33dc66ce3c198d875d11dcd97
[]
no_license
tboudreaux/SummerSTScICode
73b2e5839b10c0bf733808f4316d34be91c5a3bd
4dd1ffbb09e0a599257d21872f9d62b5420028b0
refs/heads/master
2021-01-20T18:07:44.723496
2016-08-08T16:49:53
2016-08-08T16:49:53
65,221,159
0
0
null
null
null
null
UTF-8
Python
false
false
335
py
from gPhoton.gAperture import gAperture def main(): gAperture(band="NUV", skypos=[10.055208,-55.031192], stepsz=30., csvfile="/data2/fleming/GPHOTON_OUTPU/LIGHTCURVES/sdBs/sdB_jl_202/sdB_jl_202_lc.csv", maxgap=1000., overwrite=True, radius=0.00555556, annulus=[0.005972227,0.0103888972], verbose=3) if __name__ == "__ma...
[ "thomas@boudreauxmail.com" ]
thomas@boudreauxmail.com
2525d1ca90ad85c1449626f82f62251595f9ced7
15f321878face2af9317363c5f6de1e5ddd9b749
/solutions_python/Problem_136/2611.py
27a7b364de7900bedf9a9711651bf3f79cebc26b
[]
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
243
py
q = input() for i in range(1,q+1): p = 2.0 nums = raw_input().split() c = float(nums[0]) b = float(nums[1]) x = float(nums[2]) t = c / p while (x-c)*(p+b) > x*p : p += b t += c / p t += (x-c)/p print "Case #%d: %.8Lf" % (i,t)
[ "miliar1732@gmail.com" ]
miliar1732@gmail.com
2a09d243c587552a52ad24359eec6472148d2c87
1af49694004c6fbc31deada5618dae37255ce978
/tools/metrics/histograms/populate_enums.py
1fbc60ce5a8511548b2822ac3d01d2379436dbba
[ "LGPL-2.0-or-later", "Zlib", "BSD-3-Clause", "MIT", "LGPL-2.1-only", "LicenseRef-scancode-unknown-license-reference", "MPL-1.1", "GPL-2.0-only", "Apache-2.0", "LGPL-2.0-only", "LicenseRef-scancode-unknown", "APSL-2.0" ]
permissive
sadrulhc/chromium
59682b173a00269ed036eee5ebfa317ba3a770cc
a4b950c23db47a0fdd63549cccf9ac8acd8e2c41
refs/heads/master
2023-02-02T07:59:20.295144
2020-12-01T21:32:32
2020-12-01T21:32:32
317,678,056
3
0
BSD-3-Clause
2020-12-01T21:56:26
2020-12-01T21:56:25
null
UTF-8
Python
false
false
2,874
py
# Copyright 2017 The Chromium Authors. All rights reserved. # Use of this source code is governed by a BSD-style license that can be # found in the LICENSE file. """Functions for populating enums with ukm events.""" from collections import namedtuple import os import sys import xml.dom.minidom import extract_histogr...
[ "commit-bot@chromium.org" ]
commit-bot@chromium.org
45755d54b549bf785f78a678cd9f369f63c11e35
2c49b617f57636be97dcbdf8e6fdc87fcf2d1647
/jens/management/manager_view.py
c04728ede674cb275d9489921bff50e3e1aa11f1
[]
no_license
alirezamastery/backend
1f87a1aa5c5c06802d31eb5c9fbc9e9cd2aaef0d
2bf17e0783ca92a24eb9faf77617b14f79d67b7b
refs/heads/main
2023-06-17T19:41:19.194378
2021-07-19T17:04:36
2021-07-19T17:04:36
319,387,658
0
0
null
null
null
null
UTF-8
Python
false
false
2,813
py
# from backend.admin import MyAdminSite # from django.conf.urls import url # from django.template.response import TemplateResponse # from jens.models.category import Category # # # def manager_view(request): # context = dict( # # Include common variables for rendering the admin template. # M...
[ "alireza.mastery@gmail.com" ]
alireza.mastery@gmail.com
b831ca703761192c2fbc4542da6b5d93048a15d2
70056e5df55cab3afc374b04027bc7c5ec41b118
/listReverse.py
813bf67893cbe1ceda75566d59a704c017dadb51
[]
no_license
retazo0018/guviPractice
f62d942f2e27245b5d21dfb98ebbc3fb37248041
1a99a3a0966b31bad6e45610991a17d79d83932f
refs/heads/master
2021-07-14T00:26:19.161147
2020-06-24T05:52:26
2020-06-24T05:52:26
164,403,667
0
1
null
null
null
null
UTF-8
Python
false
false
148
py
n = int(input()) li = list(map(int,input().split())) for i in range(len(li)-1,0,-1): print(li[i],end="") print("->",end="") print(li[0],end="")
[ "noreply@github.com" ]
noreply@github.com
000ae8064aafdef7ce4dd50557650992593bc3fe
dcce56815dca2b18039e392053376636505ce672
/dumpscripts/re_simple_compiled.py
9ea488af72c37b0ac64c5250000dc2c11d007f8c
[]
no_license
robertopauletto/PyMOTW-it_3.0
28ff05d8aeccd61ade7d4107a971d9d2576fb579
c725df4a2aa2e799a969e90c64898f08b7eaad7d
refs/heads/master
2021-01-20T18:51:30.512327
2020-01-09T19:30:14
2020-01-09T19:30:14
63,536,756
4
1
null
null
null
null
UTF-8
Python
false
false
394
py
# re_simple_compiled.py import re # Precompila i modelli regexes = [ re.compile(p) for p in ['questo', 'quello'] ] text = 'questo testo ha corrispondenza nel modello?' print('Testo: {!r}\n'.format(text)) for regex in regexes: print('Ricerca di "{}" ->'.format(regex.pattern), end=' ') if regex.searc...
[ "roberto.pauletto@gmail.com" ]
roberto.pauletto@gmail.com
4dabbb4c4df5d1ffdb60944c2949a582ec008fa1
3879d1ca43c573c209f962182cd1e7f7fe978fbf
/binarysearch/Longest-Increasing-Subsequence/Longest-Increasing-Subsequence.py
344c27d87a42bf6e6b484a01e1a81fc998cacc08
[]
no_license
DoctorLai/ACM
34a5600a5adf22660c5d81b2d8b7a358be537ecf
aefa170f74c55c1230eb6f352770512b1e3f469e
refs/heads/master
2023-09-01T02:13:01.604508
2023-08-31T15:42:07
2023-08-31T15:42:07
146,173,024
62
18
null
2020-10-11T13:19:57
2018-08-26T11:00:36
C++
UTF-8
Python
false
false
485
py
# https://helloacm.com/teaching-kids-programming-greedy-algorithm-to-find-longest-increasing-subsequence-in-onlogn-via-binary-search/ # https://binarysearch.com/problems/Longest-Increasing-Subsequence # MEDIUM, GREEDY class Solution: def solve(self, nums): n = len(nums) dp = [1] * n for i i...
[ "noreply@github.com" ]
noreply@github.com