blob_id
stringlengths
40
40
directory_id
stringlengths
40
40
path
stringlengths
3
281
content_id
stringlengths
40
40
detected_licenses
listlengths
0
57
license_type
stringclasses
2 values
repo_name
stringlengths
6
116
snapshot_id
stringlengths
40
40
revision_id
stringlengths
40
40
branch_name
stringclasses
313 values
visit_date
timestamp[us]
revision_date
timestamp[us]
committer_date
timestamp[us]
github_id
int64
18.2k
668M
star_events_count
int64
0
102k
fork_events_count
int64
0
38.2k
gha_license_id
stringclasses
17 values
gha_event_created_at
timestamp[us]
gha_created_at
timestamp[us]
gha_language
stringclasses
107 values
src_encoding
stringclasses
20 values
language
stringclasses
1 value
is_vendor
bool
2 classes
is_generated
bool
2 classes
length_bytes
int64
4
6.02M
extension
stringclasses
78 values
content
stringlengths
2
6.02M
authors
listlengths
1
1
author
stringlengths
0
175
dce628934a13bb8243e2323ffafa2f00f3564e81
f318601d474d11eea375e24e8da825544ed91637
/prefija.py
230d46b526ca30ad83ef7086e579cf57a78e2630
[]
no_license
josefm09/triplos
484f1f428af3b4ad2b4a2cf90a9ee5087a0754e8
cb5c65cb9373938dcee729e1abf3a6b64455fa03
refs/heads/master
2020-03-15T19:27:47.105932
2018-05-06T05:22:32
2018-05-06T05:22:32
132,309,212
0
0
null
null
null
null
UTF-8
Python
false
false
2,222
py
# -*- coding: utf-8 -*- import sys import re #example (6+4)*8(7+4) print('Declare una expresion') #ex = str(input()) #se almacena la expresion ex = '(6+4)*8(7+4)' valid = False #se inicializa una variable en falso, luego se utilizara pila = [] #se inicializa la pila resultado = [] #se inicializa el arreglo de resultad...
[ "josecarlosfloresmoran@hotmail.com" ]
josecarlosfloresmoran@hotmail.com
0a1a637d989435418064ced834271773be9a47dc
943c9b8ee8414a467c6c20cdb517b3aaeb365fbc
/old_data/code/RunTest2.py
b9cd98009207fed3cb7a1cb01f7a7360eabf27f2
[]
no_license
Aralas/cross-reference_network
b735d9e7abf162cd36b8169c24726be25baa8ccf
04ed853895445548ddaa5b49bec2123ec43cc4fd
refs/heads/master
2020-04-08T12:26:03.225760
2019-03-08T08:20:56
2019-03-08T08:20:56
159,347,229
0
1
null
null
null
null
UTF-8
Python
false
false
4,750
py
# -*- coding:utf-8 -*- """ @author:Xu Jingyi @file:RunTest2.py.py @time:2018/12/2804:06 """ import tensorflow as tf import numpy as np import random import FactoryClass dataset = 'MNIST' model_type = 'CNN' seed = 10 # initialization = 'xavier' model_architecture = [[32, 5, 5], [64, 5, 5], [1500]] noise_level = 1 aug...
[ "14300180119@fudan.edu.cn" ]
14300180119@fudan.edu.cn
aaf684914f88ee47e002fe6283aad1328b10f3ad
6cce023315d4083c7df0fcdeea2a037b00818878
/py-files/data_setup.py
3a1efa85492db400854022be0137e9d4defafa58
[]
no_license
Limmen/Distributed_ML
e02e865a123e552d3795c76a4a0846f2da6f3a55
d5b65a0bcb89182e3ac773b0a3cec46625dabccb
refs/heads/master
2021-05-09T03:52:41.530823
2018-01-28T12:21:47
2018-01-28T12:21:47
119,255,519
5
1
null
null
null
null
UTF-8
Python
false
false
2,735
py
import argparse import pyspark from pyspark.sql.functions import udf from pyspark.sql.types import * import tensorflow as tf import pandas as pd import numpy as np SEQ_LABELS_TRAIN = "data/y_train.csv" SEQ_FEATURES_TRAIN = "data/x_train.csv" SEQ_LABELS_TEST = "data/y_test.csv" SEQ_FEATURES_TEST = "data/x_test.csv" c...
[ "kimham@kth.se" ]
kimham@kth.se
6f37bf00f359e16e59af581cd68fe789c123ffa9
fbc9f9088f636d71119fca87c2120f533e10668d
/Book_store/settings/base.py
eed8356f89434a96c8696d7152bf2bb7955b548e
[]
no_license
mastercsay2511/BookStoreV1
e726c18499482ef1bcd12acf4575856b68a536a6
5ee23b35a18d0ab4d7810bacf482e7f9f7a21768
refs/heads/master
2023-05-31T04:58:36.545403
2020-07-18T05:33:39
2020-07-18T05:33:39
null
0
0
null
null
null
null
UTF-8
Python
false
false
4,214
py
import os from decouple import config # Build paths inside the project like this: os.path.join(BASE_DIR, ...) BASE_DIR = os.path.dirname(os.path.dirname( os.path.dirname (os.path.abspath(__file__)))) # Quick-start development settings - unsuitable for production # See https://docs.djangoproject.com/en/3.0/h...
[ "ffoot9898@protonmail.com" ]
ffoot9898@protonmail.com
7a8252f05c1ee87e900b5ed853a3cabc43688b96
74081581575e80b2b0f6b75ba912d58ea4f37ac6
/maskrcnn_benchmark/modeling/detector/detectors.py
35064d2f9992fd2c2e08d4a29ad31d1e5a229f8f
[]
no_license
youngfly11/LCMCG-PyTorch
5f6b9f231613b86ac7b250ca0f34229402e1615e
e95299b9a9f1b13e21750ef0dcde0941d703d009
refs/heads/master
2021-10-25T19:29:12.967318
2021-10-25T03:35:14
2021-10-25T03:35:14
221,908,808
56
12
null
null
null
null
UTF-8
Python
false
false
419
py
# Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved. from .generalized_rcnn import GeneralizedRCNN from .generalized_rcnn_det import GeneralizedRCNNDet _DETECTION_META_ARCHITECTURES = {"GeneralizedRCNN": GeneralizedRCNN, "GeneralizedRCNNDet": GeneralizedRCNNDet} def build_detection_model(cfg): ...
[ "liuyf3@shanghaitech.edu.cn" ]
liuyf3@shanghaitech.edu.cn
67360e7af6f9cc8a5f230d48a2d706a49749ca35
fc9175c91bf99ce697e3bed46a7cc0db3343283e
/11Documentos/exemplo02.py
2418a4d8567d9e2c793a8faa0d452a2f60fe5918
[]
no_license
cerchiariluiza/CodigosScrapsCompiladosPython
27758df20243146d29bcdc612d58082af450d4d1
4b1b7429068fe3072e7bed3f720e8519f9d60629
refs/heads/main
2023-04-01T10:33:47.642816
2021-04-10T15:07:57
2021-04-10T15:07:57
356,616,553
0
0
null
null
null
null
UTF-8
Python
false
false
1,175
py
from urllib.request import urlopen from bs4 import BeautifulSoup import re import string def limpar_texto(texto): texto = texto.strip() texto_limpo = [] # Trocando um ou mais caracteres de nova linha (enter) por um espaço. texto = re.sub("\n+", " ", texto) # Trocando um ou mais espaços por um espaç...
[ "Lab@NOT-000-008.nscyber.local" ]
Lab@NOT-000-008.nscyber.local
e1e458abdbc5777af32bf1194e4add3db39fd867
36b9fa9f2d8ff655546a33cb47ddacd009bc00c9
/autogalaxy/profiles/light/linear/__init__.py
bb275334df92a6bf4b34d18f21e6aa123ae5dc62
[ "MIT" ]
permissive
Jammy2211/PyAutoGalaxy
67b76968b8516309b2ebdbff7affd5c1923cf0b1
d1a2e400b7ac984a21d972f54e419d8783342454
refs/heads/main
2023-08-19T01:00:22.320073
2023-08-17T15:39:46
2023-08-17T15:39:46
216,190,501
27
9
MIT
2023-09-13T14:07:43
2019-10-19T10:45:44
Python
UTF-8
Python
false
false
401
py
from .abstract import LightProfile, LightProfileLinear, LightProfileLinearObjFuncList from .gaussian import Gaussian, GaussianSph from .moffat import Moffat from .sersic import Sersic, SersicSph from .exponential import Exponential, ExponentialSph from .dev_vaucouleurs import DevVaucouleurs, DevVaucouleursSph fro...
[ "james.w.nightingale@durham.ac.uk" ]
james.w.nightingale@durham.ac.uk
8e8f9d73ce6f9472f45639a730ffebcd0b78cfa8
3d078ad4b348fb3b967adcb819cd39410c00960a
/88lcm.py
12a493281bf2e2baf786d1aeccd360ec177ab889
[]
no_license
Dhandapani299/python
7275af2cf3a112d8cf930748c932ad61cb3dcbfb
ed8672a83f3810241138375eafd7420a24603734
refs/heads/master
2020-05-22T05:09:15.924855
2019-05-12T13:40:40
2019-05-12T13:40:40
186,230,941
0
0
null
null
null
null
UTF-8
Python
false
false
268
py
def lcm(m,n): if m>n: grater = m else: greater = n while(True): if((greater % m == 0) and (greater % n == 0)): lcm = greater break greater += 1 return lcm num 1 = int(input()) num 2 = int(input()) print(lcm(num,num2))
[ "noreply@github.com" ]
noreply@github.com
a3abadf3e5c58d3196f6ac02b55a07ff35093bd4
16c77266859989d156fe3f4d0ce3a37a1898ad38
/ml/sk/__init__.py
2e9e9ccc69e32e7f29ce91893b4883b61084bc5d
[ "MIT" ]
permissive
SRHerzog/ut
92620e66be2ea9707d9cd3cf390179326ed2eefe
894bd5607eb76676aaea7a37ed8a91b5fb5e805e
refs/heads/master
2021-06-30T19:15:46.131299
2017-09-15T20:47:35
2017-09-15T20:47:35
103,696,926
0
0
null
2017-09-15T20:08:10
2017-09-15T20:08:10
null
UTF-8
Python
false
false
54
py
from __future__ import division __author__ = 'thor'
[ "thorwhalen1@gmail.com" ]
thorwhalen1@gmail.com
df7e6169ccdea122ba78000885ec1008e3579ebd
bc539788b876773e294383863252c1637de9eb7f
/Pscrapy/PycharmProjects/Reptile/Practise/practise4.py
a3249cb05379978d945554dfcee685df198bd50c
[]
no_license
umsung/scrapy
4eb56bf74f3e617e49dcdec61cf77010eb912f4f
deacd9f289159c5af114b0dd3110448ad7eb43e8
refs/heads/master
2020-05-31T14:11:46.530793
2019-10-16T01:32:25
2019-10-16T01:32:25
190,321,772
3
0
null
null
null
null
UTF-8
Python
false
false
120
py
num = input('输入数字:').strip() num = int(num) for i in range(1, num): print(' '*(num-i),'* '*i)
[ "545699233@qq.com" ]
545699233@qq.com
b4ed712c26a2002dc0070864602ef4332b6c1617
a76803a441b76595372329a54e84e2b2d8fd5c6b
/clang/ubsan/__init__.py
e11a24908fdba31ce0eb9d93480cf990564256ff
[]
no_license
securesystemslab/sanitizing-for-security-benchmarks
ac66b1e6bd67a954a88e48751df8ea98b2b400b9
c2bf9d922ec8564208a7f926dce56e3a2dfc8355
refs/heads/master
2020-03-19T07:34:23.463598
2018-06-05T06:04:35
2018-10-04T04:28:34
136,126,254
20
4
null
null
null
null
UTF-8
Python
false
false
20
py
from ubsan import *
[ "dokyung.song@gmail.com" ]
dokyung.song@gmail.com
d26bfad3144de16da67ac8ac8a3c28948acff915
a98e18285e3ba5c5fde601bae933820cbaff3d7a
/mysite/blog/migrations/0003_auto_20180424_1228.py
302e9afd88f96af0041d1fcd411067ddc7d7d1db
[]
no_license
huanyiyuxin/mysql_mysite
bb72a1ee7207e8a88d1cd2c37e31058e3f81e7d8
55c94fad7a3ead45dbc57efda5dd10a6384705d5
refs/heads/master
2020-03-16T17:59:01.752362
2018-05-10T06:00:54
2018-05-10T06:00:54
132,854,767
0
0
null
null
null
null
UTF-8
Python
false
false
707
py
# Generated by Django 2.0.4 on 2018-04-24 04:28 from django.conf import settings from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): dependencies = [ ('blog', '0002_auto_20180424_1206'), ] operations = [ migrations.RemoveField...
[ "954441@qq.com" ]
954441@qq.com
8cf423d1f9f0257fa371e065ae2d57628aeedaf2
ee4db47ccecd23559b3b6f3fce1822c9e5982a56
/Analyse Data/NumpPy.py
d2bf919d8ad04f330f143dfea2c477d7387bd3ee
[]
no_license
meoclark/Data-Science-DropBox
d51e5da75569626affc89fdcca1975bed15422fd
5f365cedc8d0a780abeb4e595cd0d90113a75d9d
refs/heads/master
2022-10-30T08:43:22.502408
2020-06-16T19:45:05
2020-06-16T19:45:05
265,558,242
0
1
null
null
null
null
UTF-8
Python
false
false
4,021
py
# Introduction to NumPy: Numerical Python #NumPy is great at storing and manipulating numerical data in arrays. import numpy as np # NumPy Arrays #A NumPy array is a special type of list. It’s a data structure that organizes multiple items. Each item can be of any type (strings, numbers, or even other arrays). test...
[ "oluchukwuegbo@gmail.com" ]
oluchukwuegbo@gmail.com
d1974e0e287d5e7372b79c80651ea675983be9e0
1c5cb22e6d0faab6ac11e7b8f4aadd2308a5b75f
/spark/persist_transactions.py
38d77568c2748a5a7cec5115a45942648b135657
[]
no_license
alexanderbatanov/safepay
c758b790334dae7f95a47d311d2ff2fb30b52f5c
02836bec67561d6a3ae6d1f8b0788837f2f9f0b3
refs/heads/master
2021-05-01T07:24:54.744465
2018-02-27T04:41:47
2018-02-27T04:41:47
121,155,217
1
1
null
null
null
null
UTF-8
Python
false
false
1,535
py
# persist_transactions - SafePay spark streaming job (initial data load) from pyspark import SparkContext from pyspark.streaming import StreamingContext from pyspark.streaming.kafka import KafkaUtils from pyspark.sql import SparkSession from pyspark.sql.types import * from pyspark.sql.functions import * from cassandra...
[ "alexb@MACAROSHA.local" ]
alexb@MACAROSHA.local
637c084fe5757dc015d5c194b45ffe7749980d41
ed5d9407a3321b079b4cf7d67f09c2e32a82aef6
/ensemble_predicted.py
cfe09e7b801495d806d569ba819b36dc55b4cb45
[]
no_license
laurinpaech/segme-net
45b087e015d48116d151a5e8b3f196f145ff0831
df19792336696dddbf419aa5e7a18eea66f66869
refs/heads/master
2022-07-17T14:20:13.074387
2019-11-02T17:25:08
2019-11-02T17:25:08
175,799,081
0
0
null
2022-06-21T22:15:48
2019-03-15T10:27:13
Python
UTF-8
Python
false
false
1,725
py
from data_loader.data import * import argparse import os """ Use this to combine pre_ensemble images to fully ensembled output submission images Images are in data/submit_output/XXX/pre_ensembled/ """ parser = argparse.ArgumentParser() parser.add_argument('--desc', type=str, default='stacked_unet_default', ...
[ "paech.laurin@gmail.com" ]
paech.laurin@gmail.com
9e66cd2e75a516c445ee081fad2339a4088a1f5e
d53605afd805311cc6a37b669afa2162965a5020
/sentimental_analysis/classifier.py
8920ec62cc45c2d3fc80797c992c8271bc57bb85
[]
no_license
ahmad-elbatanouni/sentimental-analyzer
659085c14d80ef3d20c8052e1ff58a04cedee2ad
b75b6871e2cc562b9d56cbab5d21cd6aba2caedb
refs/heads/master
2021-01-18T03:50:03.745465
2015-07-29T06:08:29
2015-07-29T06:08:29
39,876,505
1
0
null
null
null
null
UTF-8
Python
false
false
2,872
py
import helpers class Classifier: def __init__(self, positive_corpus, negative_corpus): self.positive_corpus = positive_corpus self.negative_corpus = negative_corpus self.total_probability = 0 self.inverse_total_probability = 0 self.tolerance = 0.05 def classify(self, t...
[ "ahmad@Ahmad.(none)" ]
ahmad@Ahmad.(none)
1b1a8f0378daac92ecbb890eb38b46894b17e9a1
15a833cfb3deec9278ca4a458d55aa7132ab63d1
/kakao_codingTest_winter_Internship/test2.py
f74ac217ea6f61186801b083c03be4857341bda1
[]
no_license
jaehui327/pythonAlgorithm
9db6bfb3446ab3049b39d575170d751a912a4646
3a60fb1694fa17c8e5dc7516d3ed2bb07a91c69b
refs/heads/master
2020-07-22T07:53:38.977926
2019-12-23T14:12:52
2019-12-23T14:12:52
207,121,744
0
0
null
null
null
null
UTF-8
Python
false
false
1,024
py
def solution(s): answer = [] strList = [] numList = [] list = [] # 문자열 분할해서 리스트 저장 l = s.split(",{") for i in l: a = i.replace("{", "") b = a.replace("}", "") strList.append(b) # 크기순 정렬 strList.sort(key=len) # 숫자로 변환 for i in strList: numList =...
[ "jaehui327@naver.com" ]
jaehui327@naver.com
b85ffbbc411490b508f4ad212c32852d48891acc
8e559df1b6f34a09d32b4e854efa0dd6e4b62fe0
/cs5png3.py
2a28a0c248d3a21729f14d2d4a4b8c5fa009fca9
[]
no_license
norahpack/carbonEmissions
5108dbd64a9fd5181d9a496db57f551aa8f2bc2f
9b877996039c57d64e2236122fda6b15e9289f19
refs/heads/main
2023-08-29T16:08:28.642472
2021-11-11T22:23:20
2021-11-11T22:23:20
427,158,503
0
0
null
null
null
null
UTF-8
Python
false
false
3,190
py
import os import sys from PIL import Image import time def saveRGB(boxed_pixels, filename = "out.png"): """Save the given pixel array in the chosen file as an image.""" print(f'Starting to save {filename}...', end = '') w, h = getWH(boxed_pixels) im = Image.new("RGB", (w, h), "black") px = im.load(...
[ "noreply@github.com" ]
noreply@github.com
bc441a7d134649701613b6e1325e68ee43471d29
b70be26411a98b6ef3f7598fce4f621193ff281d
/hack3/test_videocap.py
77e4cd2ea33d6cc6ff3b52bf049d480097fab3e2
[]
no_license
comcomet/first-repository
b914a1b9ac57296645b4ebf377a184ba26b63c25
6eadb7d916e69478f12e8740aebba264d2f93027
refs/heads/master
2023-02-01T15:55:11.943969
2020-12-20T02:34:10
2020-12-20T02:34:10
282,796,457
1
0
null
null
null
null
UTF-8
Python
false
false
7,047
py
#!/usr/bin/python import numpy as np import tensorflow as tf from utils import * import sys #GLOBAL VARIABLE INITIALIZATIONS TO BUILD MODEL n_steps = 80 hidden_dim = 500 frame_dim = 4096 batch_size = 1 vocab_size = len(word2id) bias_init_vector = get_bias_vector() def build_model(): """This function creates weight...
[ "yongsungs@gmail.com" ]
yongsungs@gmail.com
cd12fc3d74b637e459f67a399298b68bce6112f1
2840fd738487060aa7604f60e70eb623f15a019e
/Lecture71_Somkiat_N.py
1660e7133d4e910222ab70747880801d5539a917
[]
no_license
knutz32/CP3-Somkiat-Nattawut
421f58a6953ede7326d2ac0ad6d972a52aaa2047
911feb4732b34dbcd62d19edae392dd0b0f800fa
refs/heads/master
2020-06-04T06:59:14.345898
2019-06-29T14:10:45
2019-06-29T14:10:45
191,915,041
0
0
null
null
null
null
UTF-8
Python
false
false
499
py
menuList = [] priceList = [] while True: menuName = input("Enter Menu : ") if menuName.lower() == "exit": break else: menuPrice = int(input("Enter Price : ")) menuList.append(menuName) priceList.append(menuPrice) def showBill(): print((" Food Shop ").center(30,"-")) ...
[ "noreply@github.com" ]
noreply@github.com
3f88cac88fa1c16cd8a12b930fb31e2d30401da9
3ec0d6535dca5e5da5fc28b6f8cb800cf9b676cc
/venv/lib/python3.6/keyword.py
e94df0be026f611988df825e5dad1d42bc6078d6
[]
no_license
omarHazim/DB.github.io
6eecaeb1643ee7c41e245e2ad2847377f377e943
2b9dc94966c710083c0b0a3a82acfdd3911e4b35
refs/heads/master
2021-09-24T23:40:15.769464
2018-10-15T17:55:55
2018-10-15T17:55:55
null
0
0
null
null
null
null
UTF-8
Python
false
false
46
py
/Users/omar/anaconda3/lib/python3.6/keyword.py
[ "omar@omars-MacBook.local" ]
omar@omars-MacBook.local
a05385930991319e2dc5ebf3029f337f10410b3a
ffba5c4a64a87214160c5904b220be8a6e88cd58
/python-packages/maizy_f/r.py
5e83d68deeca516eed184231752129e90e707f19
[]
no_license
maizy/dev-setup
6e8ae5bc9b56dd85f7612b453e92e31043816189
5eb8473cf9c66c66ff8fd9e8c72cecf931f62494
refs/heads/master
2022-11-13T22:08:00.184435
2022-11-13T08:33:25
2022-11-13T08:33:25
7,286,016
2
0
null
2017-12-22T11:57:00
2012-12-22T13:20:57
Python
UTF-8
Python
false
false
361
py
# coding: utf-8 # Copyright (c) Nikita Kovaliov, maizy.ru, 2013 from __future__ import print_function, absolute_import, unicode_literals from fabric.api import task, run @task def info(): run('uname -a') run('hostname') lsb_rel = run('which lsb_release') if lsb_rel != '': print('Debian like ...
[ "nikita@maizy.ru" ]
nikita@maizy.ru
5fda4f9c3fff122d9c335a769425599b16276069
06ee55a195eca38e8cb81222704eb216f873c080
/persona/persona/settings.py
7a6480b3f17d5c78031a13cb42d073fcbd7f59a8
[]
no_license
TonyWhiteb/PersonaProject
bb0385e93d4ec610fd3ada0bcb2b7f3fa65b7d8a
5f14b21a7d83e6d7b8da188dbb8dcd0344681c45
refs/heads/master
2020-03-19T15:25:41.925361
2018-06-17T01:41:39
2018-06-17T01:41:39
135,847,701
0
0
null
null
null
null
UTF-8
Python
false
false
3,268
py
""" Django settings for persona project. Generated by 'django-admin startproject' using Django 2.0.6. For more information on this file, see https://docs.djangoproject.com/en/2.0/topics/settings/ For the full list of settings and their values, see https://docs.djangoproject.com/en/2.0/ref/settings/ """ import os #...
[ "tonybai2016@gmail.com" ]
tonybai2016@gmail.com
cbf3083dd8ea5ae4718b4b154ac624468f4e7c15
68b23f776fddb77de735419cbf30f33a49e9def2
/backend/terminus/home/urls.py
501046c917470aac71074c89c9f1d1a75f5cceac
[]
no_license
vash512/terminus
cbd00f74a600a13fd52aa2206c3eb1e7b5301ec7
4eb86d853bc76c22cd1af3c86fed1bc10d457c88
refs/heads/master
2016-09-05T14:49:42.655635
2015-07-09T03:34:38
2015-07-09T03:34:38
32,414,141
0
0
null
null
null
null
UTF-8
Python
false
false
1,155
py
# -*- coding: utf-8 -*- from django.conf.urls import patterns, include, url from django.views.generic import TemplateView urlpatterns=patterns('home.views', url(r'^$', 'index_view', name='index'), url(r'^humans.txt$', TemplateView.as_view(template_name='statics/humans.txt', content_type='text/plain; charset=utf-...
[ "xtornasol512@gmail.com" ]
xtornasol512@gmail.com
2a6d4814c6479677185a3e416cdb8f34af10eb47
777186acb39efa3fe39c340f4f0a5e10558eb020
/cmake-build-debug/catkin_generated/generate_cached_setup.py
b7dc571a5d7de75e2cf5290e785b4359b7ebc710
[]
no_license
UGVProject/PointGrey_CaptureROS
887b2f232b8abad8b98274569b69b4773715e07f
5ebc1f18f7ea1b72f31c128226f453f82a2cdec6
refs/heads/master
2020-05-21T23:28:10.685788
2018-04-08T02:44:36
2018-04-08T02:44:36
63,830,992
1
1
null
null
null
null
UTF-8
Python
false
false
1,371
py
# -*- coding: utf-8 -*- from __future__ import print_function import argparse import os import stat import sys # find the import for catkin's python package - either from source space or from an installed underlay if os.path.exists(os.path.join('/opt/ros/kinetic/share/catkin/cmake', 'catkinConfig.cmake.in')): sys....
[ "hzhang032@e.ntu.edu.sg" ]
hzhang032@e.ntu.edu.sg
096140cdef3ff3e96fcd9caedf641f52e4453269
cc32863d3ed260b36aed4f6e61a1a525b5f06221
/fyndiq_assignment/urlshortener/migrations/0002_pairedurl.py
b058cc1dd00348c840370b1c1be35ce61de86458
[]
no_license
orcunozyurt/fyndiq_assignment
492204654c03bd57fc275b8f251125cdcbd77ffa
f2893724a639778cb42880bbf9a3c709e8342144
refs/heads/master
2020-03-30T05:49:53.940943
2015-09-13T15:02:22
2015-09-13T15:02:22
42,361,444
0
0
null
null
null
null
UTF-8
Python
false
false
677
py
# -*- coding: utf-8 -*- from __future__ import unicode_literals from django.db import models, migrations import django.core.validators class Migration(migrations.Migration): dependencies = [ ('urlshortener', '0001_initial'), ] operations = [ migrations.CreateModel( name='Pai...
[ "orcunozyurt@hotmail.com" ]
orcunozyurt@hotmail.com
d4b38cd8aed1979f665275f13320cb82891a952a
56d8027b7af2fc160a63b546e6ea2f8a7e42e512
/Algorithms/peak_finding/python/1D_Peak_Finding.py
948a961875b1a83ff09cad39b098f53bbe341d70
[]
no_license
juicemia/DataStructures
fb8f278ebfc2e529c232912e0e6cc7ba3dcd1235
ffe87a03a8fc3d76e1be4e09f7f5218c897baf3a
refs/heads/master
2020-04-09T00:09:02.908752
2016-09-22T16:08:34
2016-09-22T16:08:34
13,316,162
1
1
null
null
null
null
UTF-8
Python
false
false
1,670
py
#!/usr/bin/python # Please read 1D_peak_finding.pdf for explanation what a peak is, proofs, and asymptotic complexity analysis of the algorithms # There will be two algorithms. A simple iteration through all the items in the array until finding a peak, # and a divide and conquer approach to finding a peak # Keep in ...
[ "lukas_dmx@yahoo.com" ]
lukas_dmx@yahoo.com
7c9eb9b5c4fc24e20e09662ff61f97569dacd082
99e9b8cf7401a729b129f87690b8ac93916fa4e8
/graphme.py
5b5e0e1f75b8bb3c0d07480c4ed6155bf90c4b2e
[ "MIT" ]
permissive
Herringway/graphme
06981b0435b8e87b5e62d3961dbd4c716ab1815f
5d45f35749c3a1e48e38fc08719243d3def4c43f
refs/heads/master
2021-01-12T02:21:56.133039
2014-10-11T02:08:29
2014-10-11T02:08:29
78,505,399
0
0
null
null
null
null
UTF-8
Python
false
false
4,011
py
#!/usr/bin/python2 #Written by Cameron Ross import operator def graphme(numgroups, losestates, groupweights, verify = lambda v,w,x,y,z: True, maxval = 40, victoryverify = lambda a: len(a) == len(list(filter(None, a))), numbermoving = 2): """Programmer-friendly interface to the graph searching algorithm""" ass...
[ "elpenguino@gmail.com" ]
elpenguino@gmail.com
1b8b194ca550a0ed437116814126fd3470715067
049c5392123d9e2e3865f75464a8e1788836242c
/venv/lib/python3.9/site-packages/dimod/utilities.py
a900713b2ddd8b5363edff00c1731ffafa9fc7cf
[]
no_license
KiaKafaei1/MasterProject
ec97d801d1d7f0872d3ff5bbdf7e644a2bddc963
1020c6c66d4f35b6f9affb302d31722de5e34979
refs/heads/master
2023-08-28T12:15:11.579203
2021-11-13T10:05:28
2021-11-13T10:05:28
289,909,672
0
0
null
2020-09-11T09:12:06
2020-08-24T11:31:36
Python
UTF-8
Python
false
false
19,977
py
# Copyright 2018 D-Wave Systems Inc. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or...
[ "kia0896@yahoo.dk" ]
kia0896@yahoo.dk
a4c1a9242bba0717fb4e57280314b144d76d42b9
e96e89ff40324fe099cd5aab73563308b66e6d52
/part4/recognize_face.py
74777cdb8d96106f65cf8a52ef799679e41af96b
[]
no_license
chunxuwu/opencv3_python
15898b4d7ee6978778df3e06ef4dfadec1190bbb
dfb6034f94abd4f65676d88516c1ff62cd12f73a
refs/heads/master
2020-06-09T22:03:07.634080
2019-07-02T15:48:44
2019-07-02T15:48:44
193,514,974
0
0
null
null
null
null
UTF-8
Python
false
false
4,325
py
import cv2 import os import numpy as np # 建立标签 label_num = [0] label_name = ["chunxu"] images = [] labels = [] # 将图像数组和CSV文件加载到人脸识别的算法中 def read_images(path): # 定义数据和标签 # 获取path文件下的文件及文件夹并返回名称列表 for dir_item in os.listdir(path): # 返回path规范化的绝对路径 path_abs = os.path.abspath(os.path.join(pat...
[ "chunxuwu_zjut@163.com" ]
chunxuwu_zjut@163.com
1d64866e18bbd874d1be4840170e198249a642dc
3f97b3718cf3db745235d3e46abc775ac9fc0ea7
/app/y2020/d10_adapter_array.py
74bafc570e9a0b7317c55d7e2266ab070f0d29e9
[]
no_license
bolmstedt/advent-of-code-python
ce48f7c90fe3861bc7947e3bc918d49166233fe8
b1e7f12318c5bd642dfe29f862680f51c0f66bb5
refs/heads/master
2023-01-27T14:26:00.365229
2020-12-12T00:43:04
2020-12-12T00:43:04
317,562,248
0
0
null
null
null
null
UTF-8
Python
false
false
2,251
py
"""Solution for day 10, 2020.""" import collections from typing import Dict, List, Set, Union from app.base_solver import BaseSolver class Solver(BaseSolver): """Solver for day 10, 2020.""" day = '10' year = '2020' name = r"""Adapter Array""" def part_one(self, data: str) -> Union[int, str]: ...
[ "marcus@bolmstedt.com" ]
marcus@bolmstedt.com
9a79bc2d121ab5020b5787e81900966444fc6e38
76fefdb20c453e830b8db86f32a1b42d79108cdd
/venv/bin/django-admin.py
a02fc84b3fe69bf065a0bd2537f44fe524e8d4d0
[]
no_license
Belie06Loryn/chaty-final-master
35f6762e9bf45e1086db6280cd0bd7dc0828fb96
86e839c069eb54dad3390e84c6b7534d165a3942
refs/heads/master
2022-12-09T14:31:19.478090
2019-12-08T16:00:45
2019-12-08T16:00:45
226,365,156
0
0
null
2022-12-08T06:59:44
2019-12-06T16:08:51
Python
UTF-8
Python
false
false
166
py
#!/home/alexie/Documents/chaty-final-master/venv/bin/python from django.core import management if __name__ == "__main__": management.execute_from_command_line()
[ "maniralexie@gmail.com" ]
maniralexie@gmail.com
73b8eea0e247cc2fb5986af3fd0beca8578749f2
f0d713996eb095bcdc701f3fab0a8110b8541cbb
/E9FwvGyad5CDbiH4C_9.py
d750b3eefe4c93d1c5db878cb337dcc042cf9e95
[]
no_license
daniel-reich/turbo-robot
feda6c0523bb83ab8954b6d06302bfec5b16ebdf
a7a25c63097674c0a81675eed7e6b763785f1c41
refs/heads/main
2023-03-26T01:55:14.210264
2021-03-23T16:08:01
2021-03-23T16:08:01
350,773,815
0
0
null
null
null
null
UTF-8
Python
false
false
1,348
py
""" Create a function that takes a 2D array as an argument and returns the number of people whose view is blocked by a tall person. The concert stage is pointed towards the top of the 2D array and the tall person (represented by a 2) blocks the view of all the people (represented by a 1) behind them. ### Examples ...
[ "daniel.reich@danielreichs-MacBook-Pro.local" ]
daniel.reich@danielreichs-MacBook-Pro.local
5c354b1c02a7628a71303fea1386ada6e1ca5032
cb4b3f85237354ea385d1fa3447af08cab0bab60
/web/server/codechecker_server/api/mass_store_run.py
8f1ab79c2afd13e72d80f76189e833deadd6990e
[ "LLVM-exception", "Apache-2.0" ]
permissive
hanwoody/codechecker
dece3ac6068f7b8163e976819abe5458279fcc53
f3ba8fd9a5ebafbe95715a515ff271708c6e8446
refs/heads/master
2023-06-20T09:27:39.181804
2021-07-08T08:23:40
2021-07-08T08:23:40
null
0
0
null
null
null
null
UTF-8
Python
false
false
48,981
py
# ------------------------------------------------------------------------- # # Part of the CodeChecker project, under the Apache License v2.0 with # LLVM Exceptions. See LICENSE for license information. # SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception # # ---------------------------------------------------...
[ "csordasmarton92@gmail.com" ]
csordasmarton92@gmail.com
53b09cda44362a8837373232a16c18428dcb871d
ca7aa979e7059467e158830b76673f5b77a0f5a3
/Python_codes/p02585/s497439083.py
c64c92fb3dffd1704057e5332cba0a7d2217f5e0
[]
no_license
Aasthaengg/IBMdataset
7abb6cbcc4fb03ef5ca68ac64ba460c4a64f8901
f33f1c5c3b16d0ea8d1f5a7d479ad288bb3f48d8
refs/heads/main
2023-04-22T10:22:44.763102
2021-05-13T17:27:22
2021-05-13T17:27:22
367,112,348
0
0
null
null
null
null
UTF-8
Python
false
false
1,416
py
n,k = map(int,input().split()) P = list(map(int,input().split())) C = list(map(int,input().split())) g = [[0]*(n) for _ in range(n)] A = [n]*n # for i in range(n): # tmp = 0 # idx = i # cnt = 0 # set_ =set() # while cnt<n: # if C[idx] not in set_: # tmp += C[idx] # se...
[ "66529651+Aastha2104@users.noreply.github.com" ]
66529651+Aastha2104@users.noreply.github.com
9290a1f679623cb6793f2eaef635da4b4689e597
6fce025097cebfd9d1dd37f6611e7fdfdbea90e6
/rainfields/model_conv.py
8a22d603ee800aed0a84aee26d7728f6111a7b66
[]
no_license
ANU-WALD/pluvi_pondus
ec0439d19acdcf4fdf712d6b14a1714297d661b2
ff8680f7115ab2cb75138bf6705abb59618e47d1
refs/heads/master
2021-07-01T14:32:14.501631
2020-08-22T09:41:28
2020-08-22T09:41:28
138,804,652
0
0
null
null
null
null
UTF-8
Python
false
false
2,287
py
from tensorflow.keras.models import Sequential from tensorflow.keras.layers import Dense, Conv2D, Flatten from tensorflow.keras.optimizers import Adam, SGD import numpy as np x = np.load("x_conv.npy")[:10000000] print(x.shape) y = np.load("y_conv.npy")[:10000000,None] print(y.shape) prec_mask = np.nonzero(y>0) print...
[ "pablo.larraondo@anu.edu.au" ]
pablo.larraondo@anu.edu.au
8fb462ddad89edc7fbb7b5e557a717ad88b70e9c
8357c11dc5199ac3d7f688befef2318f4bad0605
/objectoriented/Sunil AI game/Part1.py
e3cb76f2651331e7ed10da02e9a08ae0ac444a70
[]
no_license
bibash28/python_projects
d92bd8b49dd75417233424dab5ea39bfc8dcf470
049795771ec876052b3fd6967c0d7575d6348c98
refs/heads/main
2023-05-16T17:36:28.780358
2021-06-09T03:40:14
2021-06-09T03:40:14
373,839,559
0
0
null
null
null
null
UTF-8
Python
false
false
5,745
py
import math #______________________________________________________________________________ # Missionaries and Cannibals Problem class State(): def __init__(self, cannibalLeft, missionaryLeft, boat, cannibalRight, missionaryRight): self.cannibalLeft = cannibalLeft self.missionaryLeft = missionaryLeft self.boat...
[ "bibashshrestha@gmail.com" ]
bibashshrestha@gmail.com
7585bda41bed0e298beec5495edf905f2f6233f0
b30dec6c5792458c7e435d36c2144196c717a420
/product/models.py
43e1cfa1c440363749017c67a90aeb1314811156
[]
no_license
RowdyKGZ/e-shop
09e8e938b82ae074e29066362e4753d37f4c574b
98e3d0d10d3585dae10c2906fe2212b299c76d66
refs/heads/master
2023-02-19T08:53:11.243969
2021-01-21T14:19:33
2021-01-21T14:19:33
331,340,387
0
0
null
null
null
null
UTF-8
Python
false
false
2,008
py
import uuid from time import time from django.contrib.auth import get_user_model from django.db import models from pytils.translit import slugify def gen_slug(s): slug = slugify(s) return slug + '-' + str(int(time())) class Category(models.Model): name = models.CharField(max_length=255, unique=True) ...
[ "RowdyKG@gmail.com" ]
RowdyKG@gmail.com
f70a7a2863d3e542f444742ecfd691c846a9bed6
8986ec16c3a7fa6ac7bd2e7e73a9e31c740c67fb
/Python-Repo/Automate/BeautifulRequests.py
400c5205f2bba2f1799c797190d613124fe78045
[]
no_license
anurag00/Practice-Repo
e365cddfc61fcb50c2a7e1e9e5b5f8c15980c2f3
f7e7c849d8e6d332d918671798ecfd97dbb963d8
refs/heads/master
2022-12-10T02:39:41.424384
2022-11-23T06:28:55
2022-11-23T06:28:55
67,098,851
0
0
null
null
null
null
UTF-8
Python
false
false
445
py
import requests, bs4 def getAmazonPrice(producturl): res = requests.get(producturl) res.raise_for_status() soup = bs4.BeautifulSoup(res.text,'html.parser') elems = soup.select('#priceblock_ourprice') return elems[0].text.strip() if __name__ == "__main__": price = getAmazonPrice('https://www.am...
[ "anuragsethi.inc@gmail.com" ]
anuragsethi.inc@gmail.com
c0c384a71cdcc66ece3df3757b91a264386fb28b
967d7b69c22dfe1887ce28531689087e701d7c1f
/Udacity_Nanodegree/Machine_Learning/decision_tree/dt_author_id.py
69c7d408e5c44c785dbef6be23a9f1c11c0f2e5b
[]
no_license
nicky7711/Data-Analysis
2d5cc981ffcff26d735423ee13d3b824c5ad0f2d
fcbcec9e7b38cc627adb0bf8580fb109ee15b91b
refs/heads/master
2021-01-15T16:51:40.559906
2017-11-02T21:26:48
2017-11-02T21:26:48
99,729,967
1
0
null
null
null
null
UTF-8
Python
false
false
1,020
py
#!/usr/bin/python """ This is the code to accompany the Lesson 3 (decision tree) mini-project. Use a Decision Tree to identify emails from the Enron corpus by author: Sara has label 0 Chris has label 1 """ import sys from time import time sys.path.append("../tools/") from email_preprocess im...
[ "noreply@github.com" ]
noreply@github.com
0da70bd447adc54400de446fd008c174e5c6dbf1
d37eef0fa9fb9498266e06cb64799e736d89853c
/tests/wampcc/client_sends_bad_message.py
dbc0767b9e9b481217b2a735f8c210055b5ae684
[ "MIT" ]
permissive
samangh/wampcc
5d3d2ce56e6ded99c94b069e0eed743cb2fb4605
210502b57d10ab7b41d83e9e4c39b8da1460648a
refs/heads/master
2022-12-02T01:47:57.842335
2022-11-24T06:24:46
2022-11-24T07:00:55
173,782,913
0
0
MIT
2020-08-17T12:26:57
2019-03-04T16:40:05
C++
UTF-8
Python
false
false
619
py
#!/usr/bin/env python # # Copyright (c) 2017 Darren Smith # # wampcc is free software; you can redistribute it and/or modify # it under the terms of the MIT license. See LICENSE for details. # import socket import time s = socket.socket() # Create a socket object host = socket.gethostname() # Get local machi...
[ "git@darrenjs.net" ]
git@darrenjs.net
e99cf2e9adcb19df3756f4140c9f29418dca891a
a1db93eacf80566089dfd88794b28e2069e1c9ab
/StudentApp.py
775ae412a77a85cfc6ebf6fb2c73d88b6d99d1f2
[]
no_license
karthikkalidas/StudentApp
b5f80adde9dbe24eacf8f7d53945571e9eecd98c
4d94706eec9906a4709f8e94081aa997b15a8242
refs/heads/master
2021-01-19T02:33:33.590767
2016-06-26T16:04:53
2016-06-26T16:04:53
61,212,507
0
0
null
null
null
null
UTF-8
Python
false
false
2,030
py
import json from pprint import pprint import sys import os class Student: def __init__(self, Name, PhoneNumber, Marks1, Marks2, Marks3): self.Name=Name self.PhoneNumber=PhoneNumber self.Marks1=Marks1 self.Marks2=Marks2 self.Marks3=Marks3 def __repr__(self): retu...
[ "karthik.kalidas@gmail.com" ]
karthik.kalidas@gmail.com
5f28d3473174758f29072135291cc13603f342ab
94bb77d0847df86ead773650cf4aa0885ed3ad4e
/dappcrowd/restapi/submissions_endpoint.py
d2fb9fe38acbfc271ba77225c557ec7a4ae17f5a
[]
no_license
Tribler/dappcoder
3766f0b252ac38d889ad3596b5b6335669d31100
8ae43d51a284929bc081c87debc9ef003d1f9116
refs/heads/master
2020-04-01T07:53:38.236183
2019-01-17T13:07:53
2019-01-17T13:07:53
null
0
0
null
null
null
null
UTF-8
Python
false
false
3,196
py
import json from twisted.web import http from twisted.web.server import NOT_DONE_YET from dappcrowd.restapi.root_endpoint import DAppCrowdEndpoint class SubmissionsEndpoint(DAppCrowdEndpoint): def render_GET(self, request): """ Get all submissions. """ dappcrowd_overlay = self.g...
[ "mdmartijndevos@gmail.com" ]
mdmartijndevos@gmail.com
d339a26f897381ccf5df4ce4cafc14487f785f32
8f5f6be343ad93c0f3df37675ded1ab2911d9fd8
/sqlterm/lib/chardet/langcyrillicmodel.py
a8cf1c376400588d2f2f584a5e8faff5d6d77a18
[]
no_license
johnfouf/monetdb_federated_poc
a69b6053234bb19a3ac8b8fa8e16c07646fd707d
dd6557996d25c49f8751b00c4ce2c9bfc5457097
refs/heads/master
2023-02-05T12:44:13.111544
2020-12-24T11:28:38
2020-12-24T11:28:38
277,555,501
1
1
null
null
null
null
UTF-8
Python
false
false
45,260
py
######################## BEGIN LICENSE BLOCK ######################## # The Original Code is Mozilla Communicator client code. # # The Initial Developer of the Original Code is # Netscape Communications Corporation. # Portions created by the Initial Developer are Copyright (C) 1998 # the Initial Developer. All Rights R...
[ "openaire@dl126.madgik.di.uoa.gr" ]
openaire@dl126.madgik.di.uoa.gr
b4b798b4b5b230c3088019cf13bf6acb5fe54680
95d4c8f4cda7ad1c7623a2df02da8cee1ad0941d
/src/classifier/german_pos_tagger.py
a66192956c55f524f2b1142c45afdf0df24c1383
[ "MIT" ]
permissive
tiefenauer/ip7-python
8f587b7b77430facff19b24441490756b01d5b17
512105ba39110ec77d2ea0961dd7c2a42d4ec26d
refs/heads/master
2021-09-09T20:37:21.647146
2018-02-20T12:07:46
2018-02-20T12:07:46
107,635,390
0
0
null
null
null
null
UTF-8
Python
false
false
3,382
py
# -*- coding: utf-8 -*- # # Natural Language Toolkit: ClassifierBasedGermanTagger # # URL: <http://www.experimentallabor.de/> # # Copyright 2011 Philipp Nolte # # 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...
[ "git@tiefenauer.info" ]
git@tiefenauer.info
66ca04f0fddbc514ac5faf9ad4beca5f98b42a32
e23e32d8371f1211240b19c657820661bb121e02
/Taxi.py
cc6ae4f7b85ab8769471200c32780483452111a3
[]
no_license
ThomasElijah/Week_9
b55ad5f846d8249a353377904b51d3fd0a5218f5
09693027349d6e4df384ba78098c63cc7aa4f9dd
refs/heads/master
2021-01-16T23:05:46.399803
2016-09-20T08:40:32
2016-09-20T08:40:32
68,567,882
0
0
null
null
null
null
UTF-8
Python
false
false
1,958
py
""" CP1404/CP5632 Practical Car class """ class Car: """ represent a car object """ def __init__(self, name="", fuel=0): """ initialise a Car instance """ self.name = name self.fuel = fuel self.odometer = 0 def __str__(self): return "{}, fuel={}, odo={}".format(se...
[ "elijah.thomas@my.jcu.edu.au" ]
elijah.thomas@my.jcu.edu.au
fe687c852349e7fe2e04398f4929f9c94248ece8
2d52b8bf7f60043a77538743962095aeb7dd80e9
/Práctica 2/ID3/ID3.py
bdc2e0377e578e7fe46b7f71cbd167f2098b867a
[]
no_license
Javi96/SGDI
aa09b06f2e53ee1e2e6771803f1c8a6e4cc74ea4
1ffd55e577e1c3d594390c40dbda805649288bf5
refs/heads/master
2020-03-29T22:49:03.546186
2019-07-03T16:15:21
2019-07-03T16:15:21
150,441,863
0
0
null
null
null
null
UTF-8
Python
false
false
13,699
py
'''JoseJavierCortesTejada y AitorCayonRuano declaramos que esta solución es fruto exclusivamente de nuestro trabajo personal. No hemos sido ayudados por ninguna otra persona ni hemos obtenido la solución de fuentes externas, y tampoco hemos compartido nuestra solución con nadie. Declaramos además que no hemos realizado...
[ "javi.tejada96@gmail.com" ]
javi.tejada96@gmail.com
208a6b8fc1e0c1f592e3b7d18c9b54892e832b7b
7cfef2dccf09644d49c8dfb8bd4197be51531ff4
/onegroup/wsgi.py
1355d18ee200da572cb95ddd2a21c78ffec71991
[]
no_license
varunagrawal/OneGroup
2235c808ec9394022e147fa1a8800b4d48ab3bae
fd9c92f2cc0c043c5c398efd99f2356a1475a64a
refs/heads/master
2022-05-06T12:52:25.933823
2022-04-12T21:44:22
2022-04-12T21:44:22
62,920,156
0
0
null
2022-04-22T23:41:50
2016-07-08T22:10:10
Python
UTF-8
Python
false
false
393
py
""" WSGI config for onegroup 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/1.9/howto/deployment/wsgi/ """ import os from django.core.wsgi import get_wsgi_application os.environ.setdefault("DJANGO_SETT...
[ "vagrawal@pindropsecurity.com" ]
vagrawal@pindropsecurity.com
1d7903952b84f753cada1f0be0c24e33b9d97d63
e3d06f7bf45f16cbfa68586a2ce6d662ce302af9
/packets_filter/storeHomeStateData.py
9d9dc73d9d66f8a038146dfda7ce214015387895
[]
no_license
y0d4a/Gsm-Packets-Analysis-Framework
f211972f3e02806483452c2fca066447d36f8e8a
060c4467154e05b2479b0df27075d5ded5e07216
refs/heads/master
2021-01-16T17:49:55.987440
2016-06-02T19:59:04
2016-06-02T19:59:04
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,773
py
from __future__ import print_function from twisted.internet import defer, reactor from txmongo.connection import ConnectionPool url = "mongodb://localhost:27017" cursor = None @defer.inlineCallbacks def getConnection(): global cursor cursor = yield ConnectionPool(url) @defer.inlineCallbacks def getHomeStat...
[ "arorashwetankkdm@gmail.com" ]
arorashwetankkdm@gmail.com
10177a53490eb98107c90432833b44de0dc5241f
36e3d735e06d0642f1e8c26bff57305a01cc627c
/nms/priClient/settings.py
70dc9c3a439ae7865ae186e64032e891229bbeb1
[]
no_license
WilsonWangTHU/ipv6_server
5c768cdaeaf22ee508c5fff162b208481a42f95d
5088f58ab25061e65127699ed328ddaab24f9aac
refs/heads/master
2021-01-18T21:18:39.653994
2016-05-27T04:22:23
2016-05-27T04:22:23
55,656,523
4
0
null
null
null
null
UTF-8
Python
false
false
2,819
py
""" Django settings for subClient project. Generated by 'django-admin startproject' using Django 1.9.5. For more information on this file, see https://docs.djangoproject.com/en/1.9/topics/settings/ For the full list of settings and their values, see https://docs.djangoproject.com/en/1.9/ref/settings/ """ import os ...
[ "wode406@hotmail.com" ]
wode406@hotmail.com
2d4b29a8afb8ba840c0c97a4e5296c98779b4382
1f696631898e0279951709e150da6d87045e4bc4
/mysite/blog/migrations/0003_auto_20201018_1329.py
55a90dffcfe644d3983ed6e04e389fcac44cd412
[]
no_license
henryfrstr/django_project_blog
9f50b004b2fed59304c3f5a1f05247d44a232992
0f3c391a3cd790ae504fb84a786158a1d775abda
refs/heads/main
2022-12-31T05:05:20.989719
2020-10-25T11:26:27
2020-10-25T11:26:27
305,067,579
0
0
null
null
null
null
UTF-8
Python
false
false
357
py
# Generated by Django 3.0.8 on 2020-10-18 10:29 from django.db import migrations class Migration(migrations.Migration): dependencies = [ ('blog', '0002_auto_20201018_1327'), ] operations = [ migrations.RenameField( model_name='post', old_name='titles', ...
[ "63148122+henryfrstr@users.noreply.github.com" ]
63148122+henryfrstr@users.noreply.github.com
2249aa29e8fd1a24bd328de828fb13bc0214fffb
c72d83320274e7afe2dd4ac361ebab4bef40d317
/pythonDoZero/start.py
d84f16dd42551a1a78d1055a2f334e898ffc07a5
[]
no_license
abelrufino/python
fcc3cf661428dc9bbba226a0d09d40a78cc9c29d
ef3146456e75ac2aaae238d1e7c82c0e056afdb4
refs/heads/master
2023-08-28T00:35:49.379108
2021-09-25T21:21:37
2021-09-25T21:21:37
410,381,673
1
0
null
null
null
null
UTF-8
Python
false
false
54
py
# Primeiro programa em Python print('Hello, World!!')
[ "anetosib@gmail.com" ]
anetosib@gmail.com
3018141d8e5f0cc37a97e4845ce6f68e04162871
3ac914deee02b35300103573f25f9f6d1d637f59
/Earthquake_destructiveness_five_factors.py
0cf719c44aaed919bc07faff021027d6e8b23d0b
[]
no_license
anup5889/NaturalCalamity
3737802be735eadbad4edcc633548067e6b5d83a
d5e5d6b4efeef214246be9c2f59a30e4381d2a60
refs/heads/master
2016-09-12T17:42:52.861802
2016-05-08T00:18:06
2016-05-08T00:18:06
56,535,354
0
1
null
null
null
null
UTF-8
Python
false
false
3,652
py
__author__ = 'anupdudani' __author__ = 'anupdudani' __author__ = 'anupdudani' __author__ = 'anupdudani' __author__ = 'anupdudani' __author__ = 'anupdudani' import os import matplotlib.pyplot as plt import subprocess import pandas as pd from sklearn.metrics import r2_score from sklearn import datasets, linear_model im...
[ "anup5889@gmail.com" ]
anup5889@gmail.com
c94b68b2254773744cf3e5e54a2cc322ed8e5b93
0389e0bf1e2942089fa84ce8ab79ef859f5d8215
/teacher/migrations/0002_timetable.py
ecf4c3a8525870a4c484d1b6dfd09e382fb1afe2
[]
no_license
jitin2707/SchoolManagement
89f78e35b2b1f387083115064b0a54423de09cc7
7024d84dc0dfed4864a0ff9c58d045a1453bdb06
refs/heads/master
2020-08-05T11:39:56.958757
2019-11-23T03:57:01
2019-11-23T03:57:01
212,488,353
0
0
null
null
null
null
UTF-8
Python
false
false
1,199
py
# Generated by Django 2.0.6 on 2019-11-13 13:32 from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): dependencies = [ ('students', '0005_remove_section_class_id'), ('teacher', '0001_initial'), ] operations = [ migration...
[ "truepx247@gmail.com" ]
truepx247@gmail.com
ee692b4e30708d7c40cc7efe0f041f668c08dcb4
f63314b4852fb97ad740e53e450110fcd08a515b
/app.py
ce08afaac1bc0e74d4fe1216c543d83672b30fd1
[]
no_license
xsomam/askfm-scrapper
ee0e2c4439d5be3e4ebd7fceb27d01fbff3aa4da
2e997268f40cd37dfc56bc7adc496d609106b327
refs/heads/master
2023-04-09T03:45:56.074797
2020-08-07T23:48:31
2020-08-07T23:48:31
384,990,560
0
0
null
2023-03-17T21:32:19
2021-07-11T15:56:16
null
WINDOWS-1250
Python
false
false
7,611
py
# Basic imports import os import time import json import logging # Modules imports import requests from bs4 import BeautifulSoup # Imports from files from answer import SinglePost from locators import * logging.basicConfig(format='%(asctime)s %(levelname)-8s [%(filename)s:%(lineno)d] %(message)s', ...
[ "a@b.com" ]
a@b.com
6d751b6338153469f545cb98bced25f45d54cb90
63e8b2fafdb5a9d18a4db98646aae8f37d0930d7
/tests/test_aggregators.py
b1fafd0cf4e1d31711d127c062b08b06f78b419c
[ "MIT" ]
permissive
mikecokina/pyopentsdb
7b5b1b3669a59e71675d21f66c37574fa9f864e9
e1a27802a5cb31fc0a6b8d8ced50f5403480f14b
refs/heads/master
2020-03-15T01:52:42.052483
2018-10-29T18:19:53
2018-10-29T18:19:53
131,904,099
0
0
null
null
null
null
UTF-8
Python
false
false
2,298
py
import unittest from pyopentsdb import tsdb from pyopentsdb import errors from unittest import mock from tests.testutils import get_mock_requests_get, mock_tsdb_error_get, mock_unexpected_error_get from tests.testutils import GeneralUrlTestCase class AggregatorsTestCase(unittest.TestCase): __TEST_AGGREGATORS__ = ...
[ "mikecokina@gmail.com" ]
mikecokina@gmail.com
9fe346f7b4238f028ddcac3690d2ae20fb8f9ee2
ee771f2ac4dcc256ae483b3e75aada07183aa5b7
/2021/11/solve.py
f6e822aa6e32b66f8f267cad6cf03faae248548a
[]
no_license
mdiazv/adventofcode
bd12387ed42c72b848ef75ce793ed6a8ed764870
cb64304d144a8dc0f70f07c1efe31f287a6e2206
refs/heads/master
2023-01-12T06:23:06.079420
2022-12-27T17:34:50
2022-12-27T17:34:50
48,266,768
0
0
null
2020-12-28T11:36:02
2015-12-19T03:17:10
Java
UTF-8
Python
false
false
1,373
py
import sys class World: def __init__(self, w): self.w = w self.R, self.C = len(w), len(w[0]) self.gen, self.flashes = 0, 0 self.superflashes = [] def step(self): self.flashed = set() for i in range(self.R): for j in range(self.C): self...
[ "diazvillarroelm@gmail.com" ]
diazvillarroelm@gmail.com
36cf33d8e7752a13987e46b90e29cb1c203c8fab
0747fae9472fb33a012c629d43811785cbaa2456
/wdg.py
20ed53d6d59fc28697fffe962db12d947d8cbd17
[]
no_license
fernandoeqc/satelital_server
891718315d50f1ad85094625016b8b9f8fd25b13
6c1f25502485b201fc5fefd8e8af6fa88a390ff0
refs/heads/master
2023-06-06T05:45:45.665154
2021-06-28T17:06:34
2021-06-28T17:06:34
380,112,129
0
0
null
null
null
null
UTF-8
Python
false
false
1,835
py
""" import logging import sys import time from watchdog.events import LoggingEventHandler from watchdog.observers import Observer if __name__ == "__main__": logging.basicConfig(level=logging.INFO, format='%(asctime)s - %(message)s', datefmt='%Y-%m-%d %H:%M:%S') ...
[ "fernandoeqc@live.com" ]
fernandoeqc@live.com
81083ec81fafe82eb5da65f0db9a46cf5a74c630
0b7022778b31a7f5082255f637665d81cafa0cc1
/Map and Reduce/Task2/map.py
17eb896646277699e7beeb10b69f1bea5c18a58b
[]
no_license
sailikhithk/NYC_Open_Data-Map-Reduce-and-Pyspark
09913efc3d6b2646a2314fa812c3d7a8c371a1f1
93d469b8e982ca915cf62e34e3c3aa8a6f7dacca
refs/heads/master
2022-03-31T23:07:28.751500
2020-01-18T23:56:45
2020-01-18T23:56:45
209,429,016
2
1
null
null
null
null
UTF-8
Python
false
false
384
py
import sys import string import csv for line in sys.stdin: line = line.strip() row = line.split(',') key_consolidate = row[2] value_consolidate = 1 key_consolidate_value = {key_consolidate:value_consolidate} sys.stdout.write(str(key_consolidate_value).replace("{","").replace("}","").replace(":...
[ "noreply@github.com" ]
noreply@github.com
9ce1a053a0e37ba990a8f6d8eb0d3e918d099320
d92e5e9073dae7631f2f43aa3618cd91d8c7ee1a
/Artificial Intelligence/search/searchAgents.py
72343acf4145aec0efbfcefb05e111d38e9c9477
[]
no_license
madhavSoni/Some-Projects
6dd8e1ea9486e0974ca517a229c855e7babc0330
10b74f929faf57ee980153d7714b2fc7ae134184
refs/heads/master
2021-09-24T14:19:57.765294
2018-10-10T08:58:09
2018-10-10T08:58:09
124,698,499
0
1
null
null
null
null
UTF-8
Python
false
false
22,181
py
# searchAgents.py # --------------- # Licensing Information: You are free to use or extend these projects for # educational purposes provided that (1) you do not distribute or publish # solutions, (2) you retain this notice, and (3) you provide clear # attribution to UC Berkeley, including a link to http://ai.berkeley...
[ "madhav.soni@berkeley.edu" ]
madhav.soni@berkeley.edu
023d1d8dece7491ac60d165dac3295008bf0a004
6109a95a284891792c35d0d19906ab8d1697f9c7
/src/k8s-configuration/azext_k8s_configuration/vendored_sdks/v2021_05_01_preview/aio/operations/_operations.py
3c82397333fb155b013c9017f213f97b26d8e9e6
[ "MIT", "LicenseRef-scancode-generic-cla" ]
permissive
Tatsinnit/azure-cli-extensions
3e5a1752edced00d7c33660027d2c17fae074569
a1959b123d4c11149adae2728ab5791949889d54
refs/heads/master
2022-10-05T17:40:10.825889
2022-03-16T10:33:56
2022-03-16T10:33:56
250,102,909
0
0
MIT
2020-03-25T22:12:01
2020-03-25T22:12:01
null
UTF-8
Python
false
false
4,949
py
# coding=utf-8 # -------------------------------------------------------------------------- # Copyright (c) Microsoft Corporation. All rights reserved. # Licensed under the MIT License. See License.txt in the project root for license information. # Code generated by Microsoft (R) AutoRest Code Generator. # Changes may ...
[ "noreply@github.com" ]
noreply@github.com
3197b6b704d03772985a826493370366f41f9961
78f1aaaeffb8f48b4a012f6700125348e396fe90
/LaTeX/report_test/inscription_tournoi.py
82f5bb36a479f342ead3a36b23ba89960c9e63d3
[]
no_license
fthuin/software_engineering_project
eda625fe90f04f2a0d4652be6d77cd92a240a014
3e2bc1bb1ba4655060c3c41367bb736961eae031
refs/heads/master
2021-01-16T23:01:33.869567
2015-12-15T20:29:02
2015-12-15T20:29:02
42,591,013
1
0
null
null
null
null
UTF-8
Python
false
false
6,632
py
# -*- coding: utf-8 -*- from selenium import webdriver from selenium.webdriver.common.by import By from selenium.webdriver.common.keys import Keys from selenium.webdriver.support.ui import Select from selenium.common.exceptions import NoSuchElementException from selenium.common.exceptions import NoAlertPresentException...
[ "florian.thuin@student.uclouvain.be" ]
florian.thuin@student.uclouvain.be
752dbda69d594e120006e5dafc97ceed904f7a19
ea13d23b9d9c7fa5b11c8f0780fbe2702ba604a3
/단계별/9_math_1/10250.py
59b9906024958adf1846c1a954e7bf31d5ccddc5
[]
no_license
boxtobox/aimicpc
51c2ab1b5b384be6eb9f4a6d4a88e0db05ff6875
25649d99d89fa31a3315a7b1c46413cb77de1ca6
refs/heads/master
2022-11-21T14:13:23.725494
2020-07-18T08:05:15
2020-07-18T08:05:15
258,359,511
0
0
null
null
null
null
UTF-8
Python
false
false
263
py
from sys import stdin from math import ceil N = int(stdin.readline()) for _ in range(N): H, W, N = map(int, stdin.readline().split()) w = ceil(N/H) if N % H: h = N % H else: h = H roomname = h * 100 + w print(roomname)
[ "grandnex@gmail.com" ]
grandnex@gmail.com
eec9de39af9002e5ffe1c66285ec2b4983d3246c
ffead9c586803a9c8b53a1fe16ad33f91bdd71c8
/4/TupleUnpackingExample.py
eb47e54f5acdf02eb4f3cd5787b78bc938d09e81
[]
no_license
angsdey2/python-examples
63489f4d39ca052a2dbce98cd4254eb3b34b0101
d3282181eae04d921f66684b6489d6517949ab25
refs/heads/master
2022-11-27T03:52:48.774509
2020-08-05T18:10:46
2020-08-05T18:10:46
285,367,550
0
0
null
null
null
null
UTF-8
Python
false
false
612
py
# -*- coding: utf-8 -*- """ Created on Mon Aug 3 22:39:39 2020 @author: Angshuman """ examScore = [("AD", 500), ("KR", 600), ("SM", 7000), ("DS", 800)]; def find_highest_scsorer(examScore): highestScorerName =''; currentMax=0; for name,score in examScore: if score>currentMax: current...
[ "angshuman.dey@cognizant.com" ]
angshuman.dey@cognizant.com
5b1b6d889aa3a32894887142d13c3972165aaa18
31c9363538f4379ff1643784dda025456059dda3
/passporteye/mrz/scripts.py
62752ca98aef98315eb11cc83ea14bc5c9500896
[ "MIT" ]
permissive
solvire/PassportEye
b3f95debd15527c1190aaea1aca913d500452305
1286be85ab72d058aa69a3912961bfbb36529c78
refs/heads/master
2021-06-26T23:19:04.456317
2017-09-15T21:17:27
2017-09-15T21:17:27
103,700,512
0
0
null
2017-09-15T20:54:34
2017-09-15T20:54:33
null
UTF-8
Python
false
false
6,402
py
''' PassportEye::MRZ: Machine-readable zone extraction and parsing. Command-line scripts Author: Konstantin Tretyakov License: MIT ''' import argparse, time, glob, pkg_resources, os, multiprocessing, logging, json, shutil from collections import Counter from skimage import io import passporteye from .image import read...
[ "kt@ut.ee" ]
kt@ut.ee
9e32c9c0aa9172a40b197d8db987c89b23d6b43b
eacf8153f3b981d54734d71275576ac33f03e921
/pegasus/tests/functional/test_authentication.py
97233a50e03bd54540753a01879da76abb4513e8
[]
no_license
enriquebits/bookmanizer
f9b43c18844dbcb32a5b560cbf5f3b539c3434c2
326b7a9ba8f2dcfce5afeedadebea6ca2ff24255
refs/heads/master
2016-09-06T12:17:39.208517
2015-05-25T02:14:57
2015-05-25T02:14:57
20,838,468
0
0
null
null
null
null
UTF-8
Python
false
false
3,332
py
# -*- coding: utf-8 -*- """ Integration tests for the :mod:`repoze.who`-powered authentication sub-system. As pegasus grows and the authentication method changes, only these tests should be updated. """ from __future__ import unicode_literals from nose.tools import eq_, ok_ from pegasus.tests import TestController ...
[ "enrique_empo@hotmail.com" ]
enrique_empo@hotmail.com
e6bfbadc51ffa309278e7dec7bdd95cf06c0006d
7565d21f09d43026dbee81a957ef9c8aed08ae69
/rate-limiter/utils/constants.py
0d6f03a9d684d4167c6a567f8af109874e388ab3
[]
no_license
syedmrizwan/notification-service
7cebfc8750f54d26dd2075d9e8b48a3612663378
a045647b61d005287397a39282c32dc6c5c5992e
refs/heads/master
2023-02-02T11:18:15.665657
2020-12-17T07:08:34
2020-12-17T07:08:34
318,601,552
0
0
null
2020-12-11T12:52:11
2020-12-04T18:21:53
Go
UTF-8
Python
false
false
80
py
'''Constants''' LOGGER_NAME = 'Rate Limiter' LOGGING_FILE_NAME = 'logging.conf'
[ "muhammad.rizwan@emumba.com" ]
muhammad.rizwan@emumba.com
796c821dc503856d3333df944620e9880c66973e
e9e083ebe7fad28e16d74209473eb85f578401e2
/frontpage/views.py
13d2c8a5926d8292b0a24c62af3992d9b1ac1945
[]
no_license
4x4falcon/fosm-website-2018
9dfb3ea3904c110d364b23fe7c710852fccd6c1d
f48ed7d527ebf0e77fff300979b09a9b8dcb220b
refs/heads/master
2021-05-04T15:23:22.813168
2018-06-26T06:51:05
2018-06-26T06:51:05
120,226,991
1
0
null
null
null
null
UTF-8
Python
false
false
710
py
# -*- coding: utf-8 -*- from __future__ import unicode_literals from __future__ import print_function from django.shortcuts import render, reverse import pgmap from querymap.views import p # Create your views here. def index(request): t = p.GetTransaction("ACCESS SHARE") errStr = pgmap.PgMapError() value = int(t...
[ "ross@freestreetmap.org" ]
ross@freestreetmap.org
2779073c282e2d634aee8ebd19099d2006f1b000
6887728a11c8b59b171a192f6d3801bae21d6bfe
/motor.py
d2c4992df0e53c993c51c9fde0b991a43cb001fc
[]
no_license
uprightws/Motor
2a3ee87650c6dd6b1cafa1a6a062748a89f6a804
207d25044b55c3d1c140896f610580fa2761aefa
refs/heads/master
2020-05-17T21:36:08.410101
2019-04-28T02:02:21
2019-04-28T02:02:21
183,977,242
1
0
null
2019-04-29T01:08:40
2019-04-29T01:08:39
null
UTF-8
Python
false
false
7,570
py
# -*- coding: utf-8 -*- """ ------------------------------------------------- File Name : train Author : 雨住风停松子落 E-mail : date : 2019/4/25 Description: ------------------------------------------------- Change Activity: 2019/4/25: -----------------------------...
[ "uprightws@live.cn" ]
uprightws@live.cn
5f5aa4594437d785225bffd8a12312b3ccdfb9b4
99441588c7d6159064d9ce2b94d3743a37f85d33
/cmake-build-debug/read_CAN/catkin_generated/pkg.develspace.context.pc.py
2581bf96c93bf3ea493f4c25cd72ba5837837945
[]
no_license
YZT1997/robolab_project
2786f8983c4b02040da316cdd2c8f9bb73e2dd4c
a7edb588d3145356566e9dcc37b03f7429bcb7d6
refs/heads/master
2023-09-02T21:28:01.280464
2021-10-14T02:06:35
2021-10-14T02:06:35
369,128,037
0
0
null
null
null
null
UTF-8
Python
false
false
370
py
# generated from catkin/cmake/template/pkg.context.pc.in CATKIN_PACKAGE_PREFIX = "" PROJECT_PKG_CONFIG_INCLUDE_DIRS = "".split(';') if "" != "" else [] PROJECT_CATKIN_DEPENDS = "".replace(';', ' ') PKG_CONFIG_LIBRARIES_WITH_PREFIX = "".split(';') if "" != "" else [] PROJECT_NAME = "read_CAN" PROJECT_SPACE_DIR = "/home/...
[ "yangzt_0943@163.com" ]
yangzt_0943@163.com
d09084667dcf104c853d56b0ea17fabff94f75a9
32747097a4eae95a85c0e153a797c2689eb76052
/recipes/android/src/android/broadcast.py
ba3dfc97655e41f177a86cd2bda7c1ea5bd3e382
[ "LicenseRef-scancode-unknown-license-reference", "MIT" ]
permissive
lbryio/lbry-android-sdk
fa973940c38c8eb7d81a0b4698fa4de353eaf58c
d9d81957647cb81f7227205cbb4ecba515556e74
refs/heads/master
2022-12-14T10:36:05.641392
2022-11-23T20:03:41
2022-11-23T20:03:41
241,861,403
3
4
MIT
2022-12-11T20:47:57
2020-02-20T10:57:08
C
UTF-8
Python
false
false
3,140
py
# ------------------------------------------------------------------- # Broadcast receiver bridge from jnius import autoclass, PythonJavaClass, java_method from android.config import JAVA_NAMESPACE, JNI_NAMESPACE class BroadcastReceiver(object): class Callback(PythonJavaClass): __javainterfaces__ = [JNI...
[ "akinwale@gmail.com" ]
akinwale@gmail.com
c3a87e73a1c9e46f95c2c5bbf037974632f09470
747f759311d404af31c0f80029e88098193f6269
/addons/esale_joomla/__terp__.py
0b9ba5da767aab77ff4bccd6f9b18701e5bdec38
[]
no_license
sgeerish/sirr_production
9b0d0f7804a928c0c582ddb4ccb7fcc084469a18
1081f3a5ff8864a31b2dcd89406fac076a908e78
refs/heads/master
2020-05-19T07:21:37.047958
2013-09-15T13:03:36
2013-09-15T13:03:36
9,648,444
0
1
null
null
null
null
UTF-8
Python
false
false
62
py
/home/openerp/production/extra-addons/esale_joomla/__terp__.py
[ "geerish@omerp.net" ]
geerish@omerp.net
2f4374a7fc6382c63983c08d36985b27c3c49257
07455048558230658249786db958701010afa1aa
/src/config.py
f12924262c1d471a7ddd2c2136c341fc5b4489ec
[]
no_license
lohithmunakala/Group-Classification
73965201e4fce812fefcb8818f185ee948759b08
166a9ec91595a932d96e0a1da508bc9be574e06a
refs/heads/master
2023-01-24T18:38:49.777583
2020-11-19T12:11:05
2020-11-19T12:11:05
289,323,026
0
1
null
2020-10-30T08:23:40
2020-08-21T17:06:29
Jupyter Notebook
UTF-8
Python
false
false
1,044
py
import os #the path to where our data will be saved DATASET_PATH = "input" DATASET_PATH_COLAB = "/content/drive/My Drive/Group_Classification/input" #inititializing the class labels CLASSES = ["group of babies", "group of adults", "group of teenagers"] #defining size of train, test, validation sets TRAIN_SPLIT = 0...
[ "lohithmunakala@gmail.com" ]
lohithmunakala@gmail.com
b68987bce2f40abf5a5b3be0d046f49f02354bc8
650f9e246de38d0ceaee8726f27801f3337e24ce
/string-trainer/simple/csimple.py
7d3e49c4a22d4dd82a8951120a8f4e6961a58054
[ "MIT" ]
permissive
paulscottrobson/old-trainer-archive
57b6fbb5886e5fe526c37f40b7fb9c179176bce7
b3659d3f36b7443594202e0ae9439e80e493a22c
refs/heads/master
2021-01-20T02:46:44.751050
2017-04-26T07:26:34
2017-04-26T07:26:34
89,451,106
0
0
null
null
null
null
UTF-8
Python
false
false
5,861
py
# ***************************************************************************************** # # Simple compiler for TAB1 format # # ***************************************************************************************** import re,sys # ************************************************************************...
[ "paul@robsons.org.uk" ]
paul@robsons.org.uk
8fc817688db6b26a0b9a26e87bf9538c291e886e
0d1eb0e64ac89839298caa8f8f496c66abeb2367
/browser.py
65405345b2f45f9ec3d16ea26db8fce13f46f123
[]
no_license
sho86741/zaim-viz
637285f7d4dc31647df6f08b4b842bc36c8f19c2
1be94f41438fdba9558e7a0250be10721faf618f
refs/heads/master
2022-07-05T01:35:57.931164
2020-05-23T14:55:36
2020-05-23T14:55:36
265,807,394
0
0
null
null
null
null
UTF-8
Python
false
false
970
py
# coding: utf-8 from selenium import webdriver from selenium.webdriver.support.ui import WebDriverWait from selenium.webdriver.support import expected_conditions as EC from selenium.webdriver.common.by import By class Browser(object): def __init__(self, webdriver): self.driver = webdriver def __getat...
[ "sho86741@protonmail.com" ]
sho86741@protonmail.com
261e88ade9dce201fa6cf55c90a848ba3f2b34be
2a2e1a42a8d26040258b2d9a2b8f7d3b18a62024
/api/urls.py
819e588744d93a7c73ef7ece0e53597fdb27e164
[]
no_license
rashi-agrawal29/music-controller
1567a881fcd67ea3d688b9fae0b43a01d6df813d
1d2b947edb7aca78e1017f7265ca50ffe8eaed66
refs/heads/main
2023-06-24T17:49:25.524970
2021-07-27T11:08:08
2021-07-27T11:08:08
389,942,056
0
0
null
null
null
null
UTF-8
Python
false
false
458
py
from django.urls import path from .views import GetRoom, LeaveRoom, RoomView, CreateRoomView, JoinRoom, UpdateRoom, UserInRoom urlpatterns = [ path('room', RoomView.as_view()), path('create-room', CreateRoomView.as_view()), path('get-room', GetRoom.as_view()), path('join-room', JoinRoom.as_view()), ...
[ "rashiagrawal299@gmail.com" ]
rashiagrawal299@gmail.com
9620af649f65a0c0002935d9e24ea87dd7578b35
b0cdab54c5e81681125c01801148c287605ee8d0
/speciality/migrations/0005_auto_20181228_2150.py
ad4d5210ff776dbc55eeccf74f5266e8a064ed44
[]
no_license
lpd76/rdavid2
5528746749acc51d4d0f5efd77886929798e2569
18aa5120fe4ba0ea44f611dd52b008db52641f17
refs/heads/master
2020-04-13T20:47:58.141579
2019-01-17T16:51:31
2019-01-17T16:51:31
null
0
0
null
null
null
null
UTF-8
Python
false
false
637
py
# Generated by Django 2.1.4 on 2018-12-28 21:50 from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): dependencies = [ ('speciality', '0004_auto_20181228_2140'), ] operations = [ migrations.AlterModelOptions( name='s...
[ "louisphilippe.david@gmail.com" ]
louisphilippe.david@gmail.com
a03f688cd3bb6ceef3f26b749170bc2c0ac710d7
82770c7bc5e2f27a48b8c370b0bab2ee41f24d86
/microblog/flask/venv/lib/python2.7/site-packages/billiard/forking.py
57fc9795e47d83e6c656232b9ddde88438c6ec12
[ "Apache-2.0" ]
permissive
johankaito/fufuka
77ddb841f27f6ce8036d7b38cb51dc62e85b2679
32a96ecf98ce305c2206c38443e58fdec88c788d
refs/heads/master
2022-07-20T00:51:55.922063
2015-08-21T20:56:48
2015-08-21T20:56:48
39,845,849
2
0
Apache-2.0
2022-06-29T23:30:11
2015-07-28T16:39:54
Python
UTF-8
Python
false
false
17,515
py
# # Module for starting a process object using os.fork() or CreateProcess() # # multiprocessing/forking.py # # Copyright (c) 2006-2008, R Oudkerk # Licensed to PSF under a Contributor Agreement. # from __future__ import absolute_import import os import sys import signal import warnings from pickle import load, HIGHE...
[ "john.g.keto@gmail.com" ]
john.g.keto@gmail.com
cee01a1f512e64d11d177b39003a6d66c4c62798
f375899369ba86aed1da89101c31817168ffec40
/cinema/urls.py
f73d16e3686a88eb9e7b40b41d324fb2021b3100
[]
no_license
sheremilbekov/cinema
f596a7d1e41f03161a3ddf0c3594f39619c812df
d8baac5c7e25a90340a35e1e0b0cce093014f965
refs/heads/master
2023-03-30T10:19:20.654540
2021-04-07T12:10:54
2021-04-07T12:10:54
354,850,726
0
0
null
null
null
null
UTF-8
Python
false
false
941
py
"""cinema 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-based ...
[ "you@example.com" ]
you@example.com
16effac639ce13ca5ccf22f2cfad0658eac06638
547ba955855ff623a8ef6e80fcfaddebadf34bed
/Chapter08/B06246_08_14-slope.py
a5a8f6c01c4af2755f280d506db81016afd04122
[]
no_license
CodedQuen/QGIS-Python-Programming-Cookbook
94a36d265d0336d5bb36ac02d637ba17ee765b04
f84e0159f7c8ec81a29573a7fd2e03b046efce33
refs/heads/master
2022-05-28T05:04:35.053121
2020-05-05T09:44:50
2020-05-05T09:44:50
261,414,871
0
0
null
null
null
null
UTF-8
Python
false
false
2,009
py
# Computing Road Slope using Elevation Data # https://github.com/GeospatialPython/Learn/raw/master/road.zip from PyQt4.QtCore import * from PyQt4.QtGui import * import processing dem = "/qgis_data/road/dem.asc" road = "/qgis_data/road/road.shp" slope = "/qgis_data/road/slope.tif" segRoad = "/qgis_data/roa...
[ "noreply@github.com" ]
noreply@github.com
79ea992e09ac27c13270a55465339b7a6ed9af03
40644ab8302eabcfe29fc665191a0e7373d2d36a
/final 0.0/modules/mouvements.py
aa4304e8d0f2f93f7a15047205ba3459e2c45f18
[]
no_license
katyushacccp/ISN_projet_final
3ee940aa725bc68e9a9506deac48960aea43d828
41278c58431b69238b2c955ee1088c36d1db203e
refs/heads/master
2020-12-24T19:04:33.560212
2016-05-30T20:25:20
2016-05-30T20:25:20
55,981,116
0
1
null
2016-05-30T20:25:20
2016-04-11T14:50:25
Python
UTF-8
Python
false
false
11,399
py
from random import * from modules.affichage import * from modules.recherche import * from time import * def start(): """Cette fonction sert à initialiser la variable globale 'compteur' qui va par la suite gérer le temps""" wFile("compteur","cub",0) def melangeur(cube,can,nombre): """Cette fonction se...
[ "lou-theo.laurent@laposte.net" ]
lou-theo.laurent@laposte.net
cee5b7b2b75e484c426ea06dd60947850dfaaf8a
510517e2f9399a6590035e23e1db89dde2ee00f5
/workflow/workflow.py
e04e741e44275bd44f7330ea2fc4267ba22712a6
[]
no_license
fractaledmind/alfred_corpora
686ddbcfd1df92928738efdea716647ab4539380
15e7c3b047a4958dfe0299ee6d5ddc1a32f25de6
refs/heads/master
2021-01-15T14:18:31.475051
2014-09-25T03:18:02
2014-09-25T03:18:02
24,428,371
3
0
null
null
null
null
UTF-8
Python
false
false
74,281
py
# encoding: utf-8 # # Copyright (c) 2014 Dean Jackson <deanishe@deanishe.net> # # MIT Licence. See http://opensource.org/licenses/MIT # # Created on 2014-02-15 # """ The :class:`Workflow` object is the main interface to this library. """ from __future__ import print_function, unicode_literals import os import sys ...
[ "margheim@sas.upenn.edu" ]
margheim@sas.upenn.edu
6ffa9e58676b1f6471c34d935594e1e7e506b321
3278b356a37bcfd689480f6a75b7890ef53f7821
/文字型/No.22.py
c1ed893aaaef1252ff6bb0b58c0a462773de8221
[]
no_license
kawasaki2254/Python_100problem_practice_problem
bb83fe3953f46178a0bb8870c315945bf3f1e18e
7ee39e965e2b32cf52345635834529f337aaca8c
refs/heads/main
2023-02-11T13:41:46.778199
2021-01-11T05:55:48
2021-01-11T05:55:48
326,548,979
1
0
null
null
null
null
UTF-8
Python
false
false
395
py
''' 問題22.2つの文字列を入力して、重複する部分だけ 出力するプログラムを作成してください。 ''' word1 = input('1つ目の文字列を入力してください > ') word2 = input('2つ目の文字列を入力してください > ') r = '' for i in word1: if i in word2 and not i in r: r += i print(f'重複する文字列 : {r}')
[ "kawasakitota2254@gmail.com" ]
kawasakitota2254@gmail.com
2ae484c93d1a05fcf1465498bc32931f6f58f9be
3135f95ab49c7ed9e6e93741748467cfd692f7d5
/quad_pid.py
dff43de662d268fb89541dd99d0d1d22e516a9c2
[]
no_license
Jaeyoung-Lim/mujocoquad
b674c45aa11a0ec7e5a8fcab2f03e534561cfc22
ca4fb25fc0dd105bf7dd20114b54b82c0da49318
refs/heads/master
2020-04-18T22:08:12.949718
2019-01-26T16:38:55
2019-01-26T16:38:55
167,785,118
0
0
null
2019-01-27T08:05:48
2019-01-27T08:05:48
null
UTF-8
Python
false
false
4,237
py
import gym import numpy as np from mujocoquad_gym.envs.mujocoquad_force import MujocoQuadForceEnv class Trajectory: R = 0.5 # trajectory radius w = 1.0 # trajectory angular speed (rad/s) class CtrlParam: # attitude kpz = 2. kpphi = 0.1 kptheta = 0.1 kppsi = 0.3 Kx_p = np.a...
[ "east0822@gmail.com" ]
east0822@gmail.com
2e24e4d2a766d658e872865bd2ce68adc082c893
61734be18935dd5ecfd9103373188c6eb870673c
/shopping.py
100f67643120cd2b2c8c5bddf130a291d52088dd
[]
no_license
bojone/analytical-classification
751780f8aae21018be23440d2acaa6ba34554ba6
e9333fde0eb76fcdc25482209e6b80bc8a21929b
refs/heads/main
2023-06-24T22:25:33.036612
2021-07-29T07:24:00
2021-07-29T07:24:00
388,304,001
11
0
null
null
null
null
UTF-8
Python
false
false
3,744
py
#! -*- coding: utf-8 -*- # 测试“全连接+Softmax”解析解的效果 # 博客:https://kexue.fm/archives/8578 import numpy as np import pandas as pd from bert4keras.tokenizers import Tokenizer from bert4keras.models import build_transformer_model from bert4keras.snippets import sequence_padding from bert4keras.snippets import open from bert4k...
[ "noreply@github.com" ]
noreply@github.com
2e69bb3c653c7a6fe8fb3e43c5da74f7ad961e0b
0cbd649f9a2a31c0ff50b8a13b40bba17e58640d
/lesson6_step5.py
c085962592591136da570dfb53ce5fa9e03821f6
[]
no_license
Senkool/selenium_course
5b79d76fb9a50a64410668337a24f278ba9c05eb
a5e4dc098b8f1507f0a2c0f9643c3c56ccfd6979
refs/heads/master
2022-06-24T15:36:27.408102
2020-05-10T16:25:19
2020-05-10T16:25:19
262,828,053
0
0
null
null
null
null
UTF-8
Python
false
false
406
py
from selenium import webdriver import time try: browser = webdriver.Chrome() browser.get("http://suninjuly.github.io/huge_form.html") elements = browser.find_elements_by_css_selector("input") for element in elements: element.send_keys("ответ") button = browser.find_element_by_css_selector("...
[ "12denis1998@gmail.com" ]
12denis1998@gmail.com
393ef0ee8e6ca3b958d075bdb3bbd1e68260b9b2
41c660d5cd7b8dcc1a0c0abbc81b5c3e7e80fbd3
/raspy/handle_motion.py
d9c9a0df603ab4855b034242677008dcb4559284
[]
no_license
rconjaerts/nrt
8bb1406a12af5bb60a54e1c374e6e8ba1d78ad1a
016f723c944f095876ea96c739882b37bec98d3d
refs/heads/master
2020-12-26T18:03:00.274341
2014-07-01T14:15:22
2014-07-01T14:15:22
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,935
py
#!/usr/bin/python from __future__ import division from PIL import Image import numpy as np import sys import requests import json import time import blinker def handle_motion(img_path): print "handling motion" # We load it and calculate a single scalar value for the motion ('activity') # in this image ...
[ "tomjaspers@gmail.com" ]
tomjaspers@gmail.com
43fa9cc363b25fbbb658601647398ac8dbfe41aa
a25b26b3b27b59325915c10dfafd607faae4ed01
/pickfrombothsides.py
879435386092602b6015b9cf8eab00d3d4514243
[]
no_license
helplearnhome/Coding-Interview-in-Python
3e3d9f42b993b9ea8e86e25d8a8e36c1610c45f2
52a76689a5808a89ebb8399bf3e6d4922c4c190b
refs/heads/master
2023-07-17T06:30:09.207235
2021-09-08T03:28:33
2021-09-08T03:28:33
397,350,111
0
0
null
null
null
null
UTF-8
Python
false
false
1,823
py
# # Recursive def func(A,B,i,j,sum): if B == 0: # print(sum) return sum return max(func(A,B-1,i+1,j,sum+A[i]),func(A,B-1,i,j-1,sum+A[j])) class Solution: # @param A : list of integers # @param B : integer # @return an integer def solve(self, A, B): # print(B)...
[ "noreply@github.com" ]
noreply@github.com
93c4453f26512207811cdba404053b9a07b2e9c1
b68887f55cfcd0225d732acfbfcc7f3724e49d5d
/pages/factories.py
a59431ddc5e91da1966fb1ba58c8d6ad49dcbfb0
[ "MIT" ]
permissive
rds0751/nhsuk-content-store
0ac7eb06f85cc97cd57e58a3f24e19db9991a8a2
7bd6a386e3583779ddba2347a4b3a80fdf75b368
refs/heads/master
2020-04-19T08:53:54.273378
2019-01-29T05:08:18
2019-01-29T05:08:18
168,092,530
0
0
null
2019-01-29T05:05:33
2019-01-29T05:05:33
null
UTF-8
Python
false
false
1,515
py
import factory from home.factories import HomePageFactory, ParentBasedFactory from . import models class ConditionsPageFactory(ParentBasedFactory, factory.django.DjangoModelFactory): title = 'Conditions' slug = 'conditions' path = '000100010002' depth = 3 _ParentFactory = HomePageFactory _u...
[ "marcofucci@gmail.com" ]
marcofucci@gmail.com
1ebd1dd0aa7d1f4a4140c09684866a9a7eccdcb8
d685a23ff883f216f5ab8ea6ba257eb660e6a931
/laboratorios/lab01/codigo/rectangle.py
c50f4713939745bab2bd9d972bd8ca6c78d7b997
[]
no_license
varisti7/ST0245-001
2abde80a13d6139018e6e7ac9b99fd476f572c98
3582eb0a06f22af496d63458db55d8d47b797c79
refs/heads/master
2023-01-12T20:29:19.816894
2020-11-17T21:27:02
2020-11-17T21:27:02
283,341,706
0
1
null
null
null
null
UTF-8
Python
false
false
1,299
py
import time, string, random import matplotlib.pyplot as plt def rectangle(size2n): """ This agorithm recieves an integer as the number of rectangles of 2xn and calculates of how many ways it could be filled with 2x1 rectangles. """ if size2n == 1 or size2n == 2: # C1 return size2n else:...
[ "varisti6@gmail.com" ]
varisti6@gmail.com
47f0abfaceb11e660d4f305e745db7fe9fee819f
da84fa23cc4cf2e81e50892085ac162508bff155
/nestris_ocr/capturing/linux/linux_mgr.py
6381209b8dd85f1880aca2b7eb9cbc653ec9f0cd
[]
no_license
alex-ong/NESTrisOCR
83ddaba55b100f0ee20e924731459e547e321887
488beeb30e596ccd0548152e241e1c6f772e717b
refs/heads/master
2023-01-10T08:02:41.702538
2021-07-07T06:33:39
2021-07-07T06:33:39
169,196,192
25
8
null
2022-12-27T15:37:40
2019-02-05T05:44:34
Python
UTF-8
Python
false
false
1,202
py
import Xlib import Xlib.display from Xlib import X class WindowMgr: """Encapsulates some calls for window management""" def __init__(self, hwnd=None): self.handle = hwnd def checkWindow(self, hwnd): """checks if a window still exists""" return hwnd def getWindows(self): ...
[ "the.onga@gmail.com" ]
the.onga@gmail.com
10252106e1b1114e8e4adf56f12d670ac5aee1e0
397c9e2743c41cf591692c4fc37f43a9070119bd
/build/env/lib/python2.7/site-packages/SQLAlchemy-1.2.0b3-py2.7-linux-x86_64.egg/sqlalchemy/cutils.py
a62e8adc17fa043f78d6b8b32d3c703fd2682408
[ "Apache-2.0" ]
permissive
bopopescu/myhue
cf41238c782d12b3a1a0ee9ef70196359bb67894
5f566970a5a1fa5af9f01832c9e9808c47634bc7
refs/heads/master
2022-11-18T05:37:24.467150
2019-11-23T16:16:22
2019-11-23T16:16:22
282,390,507
0
0
Apache-2.0
2020-07-25T07:03:40
2020-07-25T07:03:39
null
UTF-8
Python
false
false
282
py
def __bootstrap__(): global __bootstrap__, __loader__, __file__ import sys, pkg_resources, imp __file__ = pkg_resources.resource_filename(__name__, 'cutils.so') __loader__ = None; del __bootstrap__, __loader__ imp.load_dynamic(__name__,__file__) __bootstrap__()
[ "352322399@qq.com" ]
352322399@qq.com
e0cf8c5298a8ee4e8a3b21eb3b1fe65504c3047e
204ec78fcebcea9e1e1da4905cf3fad0a514b01f
/test/unit/test_timeout.py
4990b87aad1b2d40888f75acc3481c349d3eb4e0
[ "Apache-2.0" ]
permissive
ARMmbed/pyOCD
659340bf8753aa8e15a72890b8bea64dff2c2f42
d4cdcf7e532cae17caad866839287bbe1e0d952b
refs/heads/master
2023-05-31T13:45:15.797588
2020-10-12T13:55:47
2020-10-12T13:55:47
190,203,829
3
1
Apache-2.0
2019-07-05T11:05:40
2019-06-04T13:09:56
Python
UTF-8
Python
false
false
1,942
py
# pyOCD debugger # Copyright (c) 2017-2019 Arm Limited # SPDX-License-Identifier: Apache-2.0 # # 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...
[ "flit@me.com" ]
flit@me.com
4e36d68ce3ba6c25adc4cbac052979ce95b8b4c2
4494d201fef442f6546919acd685561ba2bd0ec3
/lookup/views.py
0d074c1c3cde4853656fa056e992d3cdf480a210
[]
no_license
santoshikaruturi/djangoweather
de1d8bef593f6bb32f342f2867e345f67dd63c32
4fb465ff4167a99fb0dfea92212f055c66568994
refs/heads/master
2020-12-10T08:55:36.893164
2020-01-13T08:49:58
2020-01-13T08:49:58
233,549,908
0
0
null
null
null
null
UTF-8
Python
false
false
208
py
#This is my views.py file from django.shortcuts import render # Create your views here. def home(request): return render(request,'home.html',{}) def about(request): return render(request,'about.html',{})
[ "karuturisantoshi9@gmail.com" ]
karuturisantoshi9@gmail.com
49da684394e0562e287537b0ace76cdd6969645c
ec649dc247e5229f78c2bcf51fdef1c57f3cdbff
/OCR/tesseract-invoice.py
0a8f8a6159e2642f490c1a13260c8f55f28faaf0
[]
no_license
dainv1989/machine-learning
0f1686a9bf921bfcf665a786c63ec68b189942a0
e44b14041f577ebe5d5ce785af45e4226e0d2756
refs/heads/master
2021-07-11T20:39:39.423568
2020-03-22T23:55:10
2020-03-22T23:55:10
93,155,384
0
0
null
null
null
null
UTF-8
Python
false
false
1,415
py
import cv2 import re import pytesseract as pts from pytesseract import Output def show_textboxes(image): d = pts.image_to_data(image, output_type=Output.DICT) #print(d.keys()) n_boxes = len(d['text']) for i in range(n_boxes): if int(d['conf'][i]) > 60: (x, y, w, h) = (d['left'][i],...
[ "dainv1989@hotmail.com" ]
dainv1989@hotmail.com
6a3039fdc7a6b0b344c3bf5b42fdec14cefec348
d76ed914106e5ec6c5f1a64b843fb27e43256893
/yugioh_cardDB/admin.py
3724c94ca4b77cb44dcc9bc0188d8d6b1de00014
[]
no_license
ss6987/yugioh_DB
7de17227bbeecfc295eef0bd02bb7583c4c30466
352f54f1302d80879c67f9cd05aae01818f4ee7a
refs/heads/master
2020-04-07T19:19:15.315196
2019-04-10T00:36:32
2019-04-10T00:36:32
157,318,534
0
0
null
null
null
null
UTF-8
Python
false
false
821
py
from django.contrib import admin from .models import * class PackAdmin(admin.ModelAdmin): readonly_fields = ["recording_card"] class ShopURLAdmin(admin.ModelAdmin): readonly_fields = ["card"] class PriceAdmin(admin.ModelAdmin): readonly_fields = ["shop_url"] admin.site.register(Card) admin.site.regi...
[ "angel.blossom.vivid@gmail.com" ]
angel.blossom.vivid@gmail.com
7222be1cddcf38ef35b6da54356de01d6646981a
fab3523d77e3641a7239818591a16a4ca29ba8c3
/pymanetsim/plot_plane.py
ceb365f916e8793a68f3d054cfd6821437a6d5da
[]
no_license
joninvski/pymanetsim
c26cbe2256add2fefdf3097264575ca9fe7be3ce
c19e8d2324dc5325a2ba31aa692fc674c658725e
refs/heads/master
2016-09-06T15:15:18.235956
2014-10-07T14:23:24
2014-10-07T14:23:24
null
0
0
null
null
null
null
UTF-8
Python
false
false
721
py
import pdb import numpy as np import matplotlib.cm as cm import matplotlib.mlab as mlab import matplotlib.pyplot as plt def plot_plane(plane, all_nodes, name): x = [0]*plane.x_size y = [0]*plane.y_size X = np.meshgrid(x, y) #For each node for node in all_nodes.values(): #Get its heat val...
[ "trindade.joao@gmail.com" ]
trindade.joao@gmail.com
14b05aaebd43d60f8b353474ac5f6a16ec15f2f2
607d5300e1c55cd194b581174f13965f73971eb6
/oss/testdata/python_examples/get_object.py
588f638b58d92c3c43dfbe1974e3bf2d0eae0d2b
[ "Apache-2.0" ]
permissive
aliyun-beta/aliyun-oss-go-sdk
a577a45c3ec445c0a8a2f73538077943f0bb537e
b9a019776ad68c252acb92a67a09be59162de4ab
refs/heads/master
2021-01-17T14:37:13.127610
2015-12-15T08:35:49
2015-12-15T08:35:49
46,700,470
3
1
null
null
null
null
UTF-8
Python
false
false
263
py
from oss.oss_api import * from oss import oss_xml_handler endpoint="hostlocal:9999" endpoint="oss-cn-hangzhou.aliyuncs.com:9999" id, secret = "ayahghai0juiSie", "quitie*ph3Lah{F" oss = OssAPI(endpoint, id, secret) res=oss.get_object("bucket-name","object/name")
[ "w@h12.me" ]
w@h12.me
66a53d2b71a6f7420dc7a93f85b662fb08440da4
f6a24e544fe48cb13fa38fcde11ce9b57d119eba
/api.py
7e4075258107e12abd359e2ec3feba410554f86c
[ "MIT", "BSD-3-Clause", "Apache-2.0" ]
permissive
postsai/postsai
b8afeb44d87ff16cd0526ba593f70446751affc6
c2b8363c34ff28a8c54b04548ff1c72c8a98e2c3
refs/heads/master
2023-08-16T16:50:30.671405
2023-08-10T15:08:17
2023-08-10T15:08:17
52,112,371
5
5
NOASSERTION
2023-09-14T14:19:35
2016-02-19T19:49:22
Python
UTF-8
Python
false
false
1,985
py
#! /usr/bin/python3 # The MIT License (MIT) # Copyright (c) 2016-2021 Postsai # # Permission is hereby granted, free of charge, to any person obtaining a # copy of this software and associated documentation files (the "Software"), # to deal in the Software without restriction, including without limitation # the rights...
[ "nhnb@users.sourceforge.net" ]
nhnb@users.sourceforge.net
837640dec4290cdc6c2b69db42c87b60beb2a646
327a6d74d22fb06d76f5da814452e76aa8999692
/stanCode_projects/Photoshop/green_screen.py
ff846ff20b3d35e8ea5a12d8952923732dfd0a2b
[ "MIT" ]
permissive
siyuban/stanCode
6a5c2114a3bc949c1d6e5a70b987dcda74161874
5cca179a7542abdf1fe3a9e1da256945241249cc
refs/heads/main
2023-02-11T16:20:08.707138
2021-01-09T15:44:55
2021-01-09T15:44:55
324,043,306
0
0
null
null
null
null
UTF-8
Python
false
false
1,464
py
""" File: green_screen.py Name:萬思妤 ------------------------------- This file creates a new image that uses MillenniumFalcon.png as background and replace the green pixels in "ReyGreenScreen.png". """ from simpleimage import SimpleImage def combine(background_img, figure_img): """ :param background_img: Simpl...
[ "noreply@github.com" ]
noreply@github.com