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
82917c8f8772702575f5d4d5c0d4e81003e9e9fb
51d7e8c09793b50d45731bd5ab9b531b525cf6db
/src/garage/misc/rllab/instrument.py
464a4973eba2de51104413e0190304eec5a17bba
[ "MIT" ]
permissive
fangqyi/garage
454247849a6a3f547557b3fac3787ba9eeb0391f
ddafba385ef005f46f913ab352f9638760e5b412
refs/heads/master
2023-02-25T00:43:18.903328
2021-01-26T01:52:15
2021-01-26T01:52:15
267,667,220
0
0
MIT
2020-05-28T18:35:08
2020-05-28T18:35:07
null
UTF-8
Python
false
false
54,560
py
import base64 import collections import datetime import errno import hashlib import inspect import json import os import os.path as osp import pickle as pickle import re import subprocess import sys import time from io import StringIO import dateutil.tz import numpy as np from garage.misc.rllab import config from gar...
[ "QF30@duke.edu" ]
QF30@duke.edu
1ebf50f2fe945bd4d55d54c13e76a24165a05cf2
a0f0efaaaf69d6ccdc2a91596db29f04025f122c
/build/botcmd_msgs/devel/lib/python2.7/dist-packages/botcmd_msgs/srv/_bot_getenabledi_cmd.py
56881c75882d7bfcd72f305eeff5b2ca7dffd6bc
[]
no_license
chiuhandsome/ros_ws_test-git
75da2723154c0dadbcec8d7b3b1f3f8b49aa5cd6
619909130c23927ccc902faa3ff6d04ae0f0fba9
refs/heads/master
2022-12-24T05:45:43.845717
2020-09-22T10:12:54
2020-09-22T10:12:54
297,582,735
0
0
null
null
null
null
UTF-8
Python
false
false
7,723
py
# This Python file uses the following encoding: utf-8 """autogenerated by genpy from botcmd_msgs/bot_getenabledi_cmdRequest.msg. Do not edit.""" import sys python3 = True if sys.hexversion > 0x03000000 else False import genpy import struct class bot_getenabledi_cmdRequest(genpy.Message): _md5sum = "481ac5a494c3140a...
[ "chiuhandsome1966@gmail.com" ]
chiuhandsome1966@gmail.com
3115741b6188e19b6b15dbc83eb6f77b555b45bb
e127db67e1135906bf3ff523b9d79fa901f2cb17
/feifan/feifan_activity.py
c2540fda11565801930d56d75a83a16999c93ec5
[]
no_license
trrying/PythonNote
c8012e9254e8833e6afd1f5c8c3350f1ceb6c756
856a08b47ac6255fe3aee1acbc872a11ee677741
refs/heads/master
2021-01-21T12:47:16.001704
2017-09-22T10:24:42
2017-09-22T10:24:42
102,099,208
1
0
null
null
null
null
UTF-8
Python
false
false
7,886
py
import urllib.request import json import pymysql import sys import util.time_utils import threading import math import ffan_db_config def get_data(thread_name, data_list): # 打开数据库连接 db, cursor = ffan_db_config.get_db_config() print("plaza_list len : %d " % (len(data_list))) # base_coupons_list_url =...
[ "ouweiming.yeah.net" ]
ouweiming.yeah.net
2eca253d8b757e64ba22aa72a25f4bbcce87b4da
9e91296e3f67cda95306e4091dcd1e72046d6f74
/src/utils.py
5bfe0887d950b23f1658afe34f76508b68f9bbfc
[ "MIT" ]
permissive
dayuanyuan1989/SaveProfits
c6be8a44935b07fb74797149c7967a7ef97931d2
fcf86ab160eb7f9f064dfd25e9594dde2cc19ede
refs/heads/master
2021-06-27T13:23:26.703728
2017-09-14T11:31:46
2017-09-14T11:31:46
103,524,079
0
0
null
null
null
null
UTF-8
Python
false
false
2,556
py
# -*- coding: utf-8 -*- import sys from aliyunsdkdysmsapi.request.v20170525 import SendSmsRequest from aliyunsdkdysmsapi.request.v20170525 import QuerySendDetailsRequest from aliyunsdkcore.client import AcsClient import uuid """ 短信业务调用接口示例,版本号:v20170525 Created on 2017-06-12 """ reload(sys) sys.setdefaultencoding('...
[ "cuiyuanyuan@dmtec.cn" ]
cuiyuanyuan@dmtec.cn
af733af30147e5b924a0499c3228d7c2c90c1183
2ad6564f703f65cf3f21c515793430aea249bcb8
/source/FnAssetAPI/Entity.py
88ce02d380800e3c5419c79a47a1dd65c480b0af
[ "MIT" ]
permissive
IngenuityEngine/ftrack-connect-foundry
43590821dd5c7aced1b4ee8c586f7df4c4a2750f
a0d5ba788e3dc5c1536ebe9740bcf4393e3f5e1d
refs/heads/master
2021-08-30T23:22:23.251553
2017-12-19T20:21:27
2017-12-19T20:21:27
114,193,460
1
0
null
null
null
null
UTF-8
Python
false
false
29,943
py
from .core.decorators import debugApiCall from .audit import auditApiCall from .import constants __all__ = ['Entity'] class Entity(object): """ The Entity is a @ref Host facing convenience class that holds an @ref entity_reference and a @ref Manager instance. It wraps the @ref ManagerInterfaceBase to make ...
[ "dev@thesociable.net" ]
dev@thesociable.net
1119b7cb0f9c85f7fa3a4421a3c00101eb810077
1595b644191c9c18a5503379703347a853b63348
/investpy/stocks.py
bf4c06d8a6d8d0ebe499d46de5747c6612ac4bfb
[ "MIT" ]
permissive
ben-haim/investpy
d26c05c3e957d3ba623f408076746edbf5a8107b
7ace4ac7693f505c199074de3333f56e6b89cfef
refs/heads/master
2022-05-30T00:43:00.473082
2019-11-20T15:45:37
2019-11-20T15:45:37
null
0
0
null
null
null
null
UTF-8
Python
false
false
46,164
py
#!/usr/bin/python3 # Copyright 2018-2019 Alvaro Bartolome @ alvarob96 in GitHub # See LICENSE for details. from datetime import datetime, date import json from random import randint import pandas as pd import pkg_resources import requests import unidecode from lxml.html import fromstring from investpy.utils.user_ag...
[ "alvarob96@usal.es" ]
alvarob96@usal.es
7046dc932f90d4f7c0c870c901cae93bedbf4f24
7788602ce68c35ce0b862cdb897b1ecae6616689
/ConwaySequence/conway_sequence.py
ae9422249612736e4e516480217b1efd065b84f6
[]
no_license
JulienLefevreMars/Vrac
56510360b1f19894b76e3db78f493ae3a29fd9c1
3eade1e890338bb7b4741bc5e80bef82151fc568
refs/heads/main
2023-07-10T09:56:01.636965
2021-08-09T11:19:07
2021-08-09T11:19:07
312,793,373
0
0
null
null
null
null
UTF-8
Python
false
false
905
py
# Conway's sequence import sys def successor(list): # Find the successor of a sequence of integer by counting each occurence, taking into account ordering # Example: sucessor(1121)=211211 new_list = [] n = len(list) i = 0 while i<n: j = 0 # nbr_consecutive_occurence while (list[i+j] == list[i]): j = j+1 ...
[ "julien.lefevre@univ-amu.fr" ]
julien.lefevre@univ-amu.fr
d4506065b6ed67e5576c14c6c659dffa3046577b
5b6540708f15b2bf4dea0def02616e8e2ffa3959
/1_higherLower/higherLower.py
3a260fde7135e1e548c3fe3cc2cfea052110f766
[]
no_license
raufkarakas/PythonExercises
dbb6f26c73cde76affdd5a0e12108b9764f2c3b4
df435c9f3b7d21cb7d89be9093636b156f2217b8
refs/heads/master
2016-09-11T13:00:04.116415
2015-07-14T20:48:25
2015-07-14T20:48:25
38,538,747
1
0
null
null
null
null
UTF-8
Python
false
false
567
py
__author__ = 'rkarakas' import random def higherLower(): print("So you want to guess what is the chosen number between 0 and 100?") chosenNumber = random.randint(0,100) guess = 101 predictNumber = 0 while guess != chosenNumber: guess = int(input("What is your guess? -> ")) predict...
[ "raufkarakas@gmail.com" ]
raufkarakas@gmail.com
ea7d83273057d07fc9c15b302494fb28ffd4ffeb
b97868808ed9f4c6b52ce86448d022a3b19fcc58
/src/orthography.py
890e3d0c869e6bca84cb89a80ca479707dd52548
[]
no_license
magurevitch/OT-Machine
2d22b9147c1e6c4b4f1156abf0f08bb24b374e02
cbc1283ed9adb0305876ce79e6903e90274644f1
refs/heads/master
2021-01-23T05:10:06.999685
2018-07-29T21:09:16
2018-07-29T21:09:16
86,283,108
1
0
null
2018-07-29T21:09:17
2017-03-27T02:34:10
Python
UTF-8
Python
false
false
609
py
from src.aho_corasick_node import AhoCorasickNode class Orthography: def __init__(self,map): self.map = map self.decodeRoot = AhoCorasickNode() self.encodeRoot = AhoCorasickNode() for (input,output) in map.items(): self.decodeRoot.addSequence(input,output) se...
[ "matthewgurevitch@gmail.com" ]
matthewgurevitch@gmail.com
3e8821ac7ea49e894c7d3f4427b5ea5e156312a6
24b8e0405ef923e928e831e1cd127d5defb43b83
/top_10_common_words_tuple.py
67932ab4991e55d59def65e469ff397636181637
[]
no_license
Justintime8/Python_Coding
e223d1698a6897916f4106761582d7470a238437
3aae153e5baecd6983c0ed1da3dd5da2bdf2546f
refs/heads/master
2023-02-15T23:34:21.467362
2021-01-14T21:13:53
2021-01-14T21:13:53
314,700,413
0
0
null
null
null
null
UTF-8
Python
false
false
357
py
file = input('file name') fhand = open(file) counts = dict() for line in fhand : words = line.split() for word in words : counts[word] = counts.get(word,0) + 1 lst = list() for key, val in counts.items() : newtup = (val, key) lst.append(newtup) lst = sorted(lst,reverse=True) for val, k...
[ "noreply@github.com" ]
noreply@github.com
47c023614d7d2ba1c4b4f921d42350aec154cb40
ace30d0a4b1452171123c46eb0f917e106a70225
/filesystems/vnx_rootfs_lxc_ubuntu64-16.04-v025-openstack-compute/rootfs/usr/lib/python2.7/dist-packages/openstackclient/common/clientmanager.py
3e1a50e3e6423cbe6c7010004e2266d04e7627b8
[ "Python-2.0" ]
permissive
juancarlosdiaztorres/Ansible-OpenStack
e98aa8c1c59b0c0040c05df292964520dd796f71
c01951b33e278de9e769c2d0609c0be61d2cb26b
refs/heads/master
2022-11-21T18:08:21.948330
2018-10-15T11:39:20
2018-10-15T11:39:20
152,568,204
0
3
null
2022-11-19T17:38:49
2018-10-11T09:45:48
Python
UTF-8
Python
false
false
5,435
py
# Copyright 2012-2013 OpenStack Foundation # # 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 la...
[ "jcdiaztorres96@gmail.com" ]
jcdiaztorres96@gmail.com
297ea6ae137218d35d76fd54c88137155633f8c5
6ebac72a9a90bf2c1db6eab2e8006028e19bced7
/autogooge.py
3ced1eae58f3d100a16ed27689757591675c616b
[ "MIT" ]
permissive
FJen180835/Boothcamp2021
af64f056a35cc2e6eca4cae17fa03f2363f9466c
1cbf7a050aa002c7158450494e5e842ae03d15be
refs/heads/main
2023-02-26T12:16:18.058959
2021-02-08T14:18:36
2021-02-08T14:18:36
330,072,209
0
0
null
null
null
null
UTF-8
Python
false
false
910
py
# autogoogle.py import webbrowser import pyautogui as pg import time import pyperclip # กรณีจ้องการเปิด browser โดนตรง # from subprocess import Popen # path = r'C:\ProgramData\Microsoft\Windows\Start Menu\Programs(ใส่ r เพื่อให้ค่า \ me'kowfh) # 1- open web broowser (google) url = 'httP://www.google.com' ...
[ "noreply@github.com" ]
noreply@github.com
a40063809e4716cdd46bbe177d1c8ff041e98d3f
f8bdab45c1bd9908becd9be6229e941556a6fed2
/Slinding window/Find All Anagrams in a String.py
553cfc185848ff3319f0b7da9e8aa9427825964d
[ "MIT" ]
permissive
pkulkar/Algorithms
fefb55eaee5260a77119421d6a181ffa4e94cf9a
5928c2a488af3cbde8624c13ee15d0afaacde778
refs/heads/main
2023-03-07T23:27:53.908910
2021-02-27T23:53:36
2021-02-27T23:53:36
336,630,113
0
0
null
null
null
null
UTF-8
Python
false
false
1,774
py
""" Leetcode 438. Find All Anagrams in a String Given a string s and a non-empty string p, find all the start indices of p's anagrams in s. Strings consists of lowercase English letters only and the length of both strings s and p will not be larger than 20,100. The order of output does not matter. Example 1: Input: s:...
[ "pkulkar2@binghamton.edu" ]
pkulkar2@binghamton.edu
3799cedcf7c89a8907d3163df66fbe167a703c2e
b91cd06d8fe68fbca615ac82d107ae0b3ef171cf
/subscribe/migrations/0013_auto_20160420_1849.py
767c8885751d5ba918172b17d1a082e56f0e8959
[]
no_license
osp/osp.work.medor.www
e27054ca5f2eb1e12f5215351d5f4c47ce81bc99
be852b80444b548108b29b5d6acab47dac943439
refs/heads/master
2021-01-01T20:17:53.132439
2018-02-06T10:20:22
2018-02-06T10:20:22
26,456,279
0
0
null
null
null
null
UTF-8
Python
false
false
647
py
# -*- coding: utf-8 -*- from __future__ import unicode_literals from django.db import models, migrations class Migration(migrations.Migration): dependencies = [ ('subscribe', '0012_auto_20151229_1628'), ] operations = [ migrations.AlterField( model_name='subscription', ...
[ "alexandre@stdin.fr" ]
alexandre@stdin.fr
fd5bf542b25ff6c479e4536956f11bc9bdf76b70
2b75162d530b5b24c73c2641b56af311ca940e94
/disk/mount-diskimage
5ee328094ee01066a2a9aad2297fd875d8b0c890
[ "MIT" ]
permissive
randomstuff/randomstuff
98f5efdd856f999b1469f1169c63c5d8201e9ddc
ac36b37659574da2543509dbe380a4d2a660283c
refs/heads/main
2022-10-07T06:10:52.165998
2022-10-03T22:06:19
2022-10-03T22:06:19
24,476,962
8
0
null
null
null
null
UTF-8
Python
false
false
669
#!/usr/bin/python # Mount an image (ISO) using udisks2. # Usage: open-image foobar.iso # Dependencies: python, python-dbus, udisks2 import dbus import os import sys fd = os.open(sys.argv[1], os.O_RDONLY) bus = dbus.SystemBus() manager = bus.get_object("org.freedesktop.UDisks2", "/org/freedes...
[ "gabriel.corona@enst-bretagne.fr" ]
gabriel.corona@enst-bretagne.fr
5460b53e46cb799a3112fde7b6d5b6969d892c4f
270145b9c08b7e3d55bc3812e97ee256ef90c06e
/env/bin/easy_install
3fe32cb3543fc62d2e767d513e049612e7dfe44a
[]
no_license
joiellantero/flack-chatroom
9ee5a11d88fe8aac840b14dfa05d95ef648f9403
33f068cd77ad158d1360332e4070daaded14e07c
refs/heads/master
2023-03-22T19:17:55.182280
2021-03-20T14:50:30
2021-03-20T14:50:30
263,027,582
0
0
null
2021-03-20T14:50:31
2020-05-11T11:50:29
HTML
UTF-8
Python
false
false
274
#!/Users/joiellantero/Documents/Developer/Flack/env/bin/python # -*- coding: utf-8 -*- import re import sys from setuptools.command.easy_install import main if __name__ == '__main__': sys.argv[0] = re.sub(r'(-script\.pyw|\.exe)?$', '', sys.argv[0]) sys.exit(main())
[ "joie.llantero@eee.upd.edu.ph" ]
joie.llantero@eee.upd.edu.ph
0a970e7d7cd7a42f87907077ae728b8c4b17e5c4
e72e2dc9d3cec63c668b803bba35d4aa9fc3d89c
/webnews/webnews/views/webnews.py
16289cc8062e00349fa8fbe0cda61e2ac6892f16
[]
no_license
robertwinchell/InvenioWork
1cd93a0b4abfe2561c8eb25d21d8cad20a875f8d
cfa8812b911556d56280f2c775133c32924c0ce9
refs/heads/master
2021-01-10T18:31:50.982641
2014-09-15T13:52:56
2014-09-15T13:52:56
null
0
0
null
null
null
null
UTF-8
Python
false
false
4,283
py
# -*- coding: utf-8 -*- """nwsToolTip Flask Blueprint""" from flask import Flask from flask.ext.login import login_required from flask import request, url_for, g, Markup, redirect, flash,Blueprint,render_template,jsonify, session from flask.ext import menu from ..models import NwsToolTip,NwsSTORY,NwsTAG from flask.ex...
[ "robertzwinchell@gmail.com" ]
robertzwinchell@gmail.com
869f782ff0372ac7913d63d4ad2dbabc46d43d63
1257d37ce73ff6753162db3ccd1c4530306e0ed4
/libr/final_fine_eval.py
1b5370947897205392cbf4f81290250fc01ee4e8
[]
no_license
tanmoydeb07/library
a3685aadd8b5da214a61810b3b3b09a3971f914c
5a5ca6c63a1d8fc42952f6a90d670b6f25547909
refs/heads/master
2021-01-18T07:00:42.034282
2014-01-08T06:03:19
2014-01-08T06:03:19
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,348
py
import os import time import datetime import librarian import sys import welcome def main(x): os.system('cls') welcome.func() f=open("/Python27/libr/stud_db1.txt") g=open("/Python27/libr/list_fin1.txt","w") g.write("STUDENT USN BOOKS TO BE RETURNED\n") newlist=[] flag=0 while True...
[ "goyal.aashish6@gmail.com" ]
goyal.aashish6@gmail.com
714945bba8881e4f76f17f4b3167e6ee38f12f96
70c1b886d233491c25721b3fc3d6ced06cb73cdb
/uri - 1287.py
8fd4c630755ce9670c8b60258e29cd7548a7d798
[]
no_license
souzajunior/URI
eda3bcb50ad9c93987381443528f656dc2f495c8
9f9f5e2c410b70703246fb06d1abfb253b362853
refs/heads/master
2022-10-14T00:15:59.417000
2020-10-26T18:53:57
2020-10-26T18:53:57
120,948,144
0
7
null
2022-10-07T17:42:17
2018-02-09T19:43:49
Python
UTF-8
Python
false
false
1,126
py
while True: try: entrada = input() nova_entrada = '' entrada = entrada.replace(',', '') entrada = entrada.replace(' ', '') if (entrada.isnumeric()): if (int(entrada) > 2147483647): entrada = '' for i in entrada: ...
[ "noreply@github.com" ]
noreply@github.com
24a54a7565b8d38155fddd08742ae1389e50ac05
6b2a8dd202fdce77c971c412717e305e1caaac51
/solutions_5695413893988352_0/Python/algomaus/b.py
2d3892eda43ade0e73e3d0638dc64a9dc402c531
[]
no_license
alexandraback/datacollection
0bc67a9ace00abbc843f4912562f3a064992e0e9
076a7bc7693f3abf07bfdbdac838cb4ef65ccfcf
refs/heads/master
2021-01-24T18:27:24.417992
2017-05-23T09:23:38
2017-05-23T09:23:38
84,313,442
2
4
null
null
null
null
UTF-8
Python
false
false
3,205
py
#! /usr/bin/env python def parse(lines): n = int(lines[0]) words = [] for i in range(n): words.append(lines[i+1]) return words def asInt(string, lastPosition): if lastPosition == -1: return 0 #if lastPosition == 0 and string[0] == '?': #return 0 lis = [] for i in range(lastPosition+1...
[ "alexandra1.back@gmail.com" ]
alexandra1.back@gmail.com
09ca051cce57a8694818ca67a0d989dd1149b330
7dea08ae1ee8217793fb01b2964b60937ab28587
/jiuzhang/find-minimum-in-rotated-sorted-array/find-minimum-in-rotated-sorted-array.py
a35502ebe21b3f65b960c76ea398582811238a59
[]
no_license
chunyang-wen/leetcode
4ade9e7bb49851f73b369eb118d6cd803923d990
109e9b957c06989c163b110c32b0f392d182517c
refs/heads/master
2021-03-13T00:06:50.952274
2016-11-02T04:14:32
2016-11-02T04:14:32
25,857,398
0
0
null
null
null
null
UTF-8
Python
false
false
884
py
""" * 本代码由九章算法编辑提供。没有版权欢迎转发。 * - 九章算法致力于帮助更多中国人找到好的工作,教师团队均来自硅谷和国内的一线大公司在职工程师。 * - 现有的面试培训课程包括:九章算法班,系统设计班,九章强化班,Java入门与基础算法班 * - 更多详情请见官方网站:http://www.jiuzhang.com/ """ class Solution: # @param nums: a rotated sorted array # @return: the minimum number in the array def findMin(self, nums): if ...
[ "wenchunyang@baidu.com" ]
wenchunyang@baidu.com
c6b7cea13b93be28f9b651e0c403ac37d8d18e38
94118720c1c628cd3dc1b895904206fac6625e76
/training/train_stella.py
ab66aa640d7c1052b717ef93e64ba6f990abc998
[]
no_license
ShifatSarwar/STELLA-initial
b8f5186dc0fec67ea2269378021815ecf5b7c859
24d2c07946e79aafab3e1b1cbadce6e94850aae5
refs/heads/main
2023-08-22T04:40:05.612126
2021-10-11T05:13:18
2021-10-11T05:13:18
407,929,989
0
0
null
null
null
null
UTF-8
Python
false
false
3,369
py
import numpy as np import json import torch import torch.nn as nn from torch.utils.data import Dataset, DataLoader from nltkutilities import bag_of_words, tokenize, stem from model import NeuralNet with open('intents.json', 'r') as f: intents = json.load(f) all_words = [] tags = [] xy = [] # loop through each s...
[ "noreply@github.com" ]
noreply@github.com
5274933a631089d372135868c729ed4cf73b93c3
517391c5e39917509c6e4415111080bd5a5a4603
/code/liaoxuefeng/函数式编程.py
23156e8297f76b5fb0a37c85679db371658ef4b2
[ "MIT" ]
permissive
bighuang624/Python-Learning
e82f221d60a55f7b8a8849d88f3c1b52aff4e69b
7901b24e2f0c28e68514d0799b59c312c8086ad1
refs/heads/master
2018-12-15T09:57:06.228172
2018-09-14T03:00:36
2018-09-14T03:00:36
115,792,208
2
1
null
null
null
null
UTF-8
Python
false
false
5,699
py
# !/usr/bin/env python3 # -*- coding: utf-8 -*- ''' 函数式编程 : 抽象程度很高的编程范式 特点 : 允许把函数本身作为参数传入另一个函数,还允许返回一个函数 纯粹的函数式编程语言编写的函数没有变量,因此,任意一个函数,只要输入是确定的,输出就是确定的 由于 Python 允许使用变量,因此,Python 不是纯函数式编程语言 ''' ''' 高阶函数 : 一个函数可以接收另一个函数作为参数 ''' def add(x, y, f): return f(x) + f(y) add(-5, 6, abs) ''' map(func, Iterable) : 将传入的...
[ "kyonhuang@qq.com" ]
kyonhuang@qq.com
7dc840ce96b633d37a61473ca5f4a0f82739f3c7
3fdf3e75c3107e6c28af3cd52e100af92db9db69
/aboutus/views.py
7e81de04509bb324742fa59ff0b5e1be33400c97
[]
no_license
likhithae/MooMa
0642709fdbd22f9a9d1843aaa36690c2d3862aaf
9447616ba8b45e3aca296a1e6b01feec81c155db
refs/heads/master
2022-09-23T07:43:17.033856
2020-06-03T11:14:45
2020-06-03T11:14:45
261,427,805
0
0
null
null
null
null
UTF-8
Python
false
false
192
py
from django.shortcuts import render,get_object_or_404 from django.http import HttpResponse # Create your views here. def aboutus(request): return render(request, 'aboutus/aboutus.html')
[ "likhitha.e17@iiits.in" ]
likhitha.e17@iiits.in
378a8eda73598088bfd7a93a8ba47a0b880763c0
2a03d2f0916e9de5df39b802346743c2703986ba
/config.py
27451b91dc9633c4cf0783b906661ac52f451b40
[]
no_license
josereyesjrz/aecc-web
93aafc26db96a6bbb0ebb0ac9a4192d404f917c8
641800bcfd76367c575876f1565b014f884f89dc
refs/heads/master
2021-09-08T03:34:17.123966
2018-02-22T23:26:15
2018-02-22T23:26:15
115,763,780
1
0
null
null
null
null
UTF-8
Python
false
false
721
py
import os #class BaseConfig(object): """Base configuration.""" # main config SECRET_KEY = 'secret123' SECURITY_PASSWORD_SALT = 'AECC_Salt' DEBUG = True BCRYPT_LOG_ROUNDS = 13 WTF_CSRF_ENABLED = True DEBUG_TB_ENABLED = False DEBUG_TB_INTERCEPT_REDIRECTS = False #Upload Settings UPLOAD_FOLDER = 'static/uploads' MAX_CON...
[ "vmoralesmestres@gmail.com" ]
vmoralesmestres@gmail.com
49d1bcefccf302d46aca267726e09e5c0e8faaf1
b6bf1d94a4d51579285edf013e9cd074a3ec3aeb
/Módulo 2/desenho.py
828e1dcd520ee1386abfef99bd98353f294e76c8
[]
no_license
Clalloures/MentoriaVisionMaterial
fd9861e7f39b756dda680d53e5c0f12f6fbe63c0
28fce46f6fad1e57f074dcac7c7051f4731d23d9
refs/heads/master
2022-12-11T14:48:54.102972
2020-09-06T10:49:14
2020-09-06T10:49:14
293,255,655
4
0
null
null
null
null
UTF-8
Python
false
false
705
py
import numpy as np import cv2 # Criando uma matriz onde todas as posicoes tem valor zero # 500 , 500 = tamaho # 3 = canais (RGB) # uint8 = 8 bits quadro = np.zeros((500,500,3), dtype = 'uint8') # Escolhendo o desenho # https://www.rapidtables.com/web/color/RGB_Color.html#:~:text=RGB%20color%20space%20or%2...
[ "noreply@github.com" ]
noreply@github.com
fd222058d00f3f31767a8ffb41efbf42449f9f76
24099a74c086da62d03727e7b2ce07fc6b223169
/src/config/window.py
c92ec5bf3ecf83045a70e9ced2b7831143ad8ca6
[ "MIT" ]
permissive
yurychu/brave-tiled-battle-client
dbdc87aaafcb9e0fc5f1df8c70810e53a6374fe6
4c6e76e9a2ea4cda62c8fad276bb3a18d8ae067b
refs/heads/master
2020-09-26T07:43:01.762477
2016-09-21T16:31:37
2016-09-21T16:31:37
67,948,804
0
0
null
null
null
null
UTF-8
Python
false
false
93
py
WINDOW_WIDTH = 1024 WINDOW_HEIGHT = 768 RESOLUTION = (WINDOW_WIDTH, WINDOW_HEIGHT) FPS = 30
[ "tesewar@mail.ru" ]
tesewar@mail.ru
ab5c3e859decfe06c2fea3305b36211dc4866406
50ee7c8ac6c6ddd0fb1d020ca9864429fd4db8cd
/LabAssignment8/2/2.py
c7226e63140a08832dfdea6b4e8935e1116cbd9b
[]
no_license
2018008613/ComputerGraphics
b6d3b3e474e7dbd75fcbb52f80a388916f5dc011
537e84d241e493a52ad95feb73eebe81d6a8e1df
refs/heads/master
2022-11-28T17:14:37.825236
2020-07-17T03:38:42
2020-07-17T03:38:42
280,318,257
0
0
null
null
null
null
UTF-8
Python
false
false
6,852
py
################################################### # [Practice] OpenGL Lighting import glfw from OpenGL.GL import * from OpenGL.GLU import * import numpy as np from OpenGL.arrays import vbo import ctypes gCamAng = 0. gCamHeight = 1. def drawCube_glVertex(): glBegin(GL_TRIANGLES) glNormal3f(0,0,1) # v0, v2, ...
[ "picosw@hanyang.ac.kr" ]
picosw@hanyang.ac.kr
397da806a95f70217bf79901c8e1ad9ffe4fcefe
e0ed932fc2e4edb953cc4e423362dabc19083008
/python/002_note/learn_with/002_有异常的例子.py
8704a23fa87700b015cb24d95bd2053e1d7f4bde
[]
no_license
glfAdd/note
90baee45003ac3998d898dcfbc618caa28f33b74
19a9aff61450be25904bff0fe672f660d49d90ff
refs/heads/main
2023-05-27T13:28:36.092352
2023-05-24T03:35:58
2023-05-24T03:35:58
240,066,208
1
0
null
null
null
null
UTF-8
Python
false
false
816
py
class Test: def __enter__(self): print('__enter__() is call!') return self @staticmethod def start(): print('------------------------------ test') return 1 / 0 def __exit__(self, exc_type, exc_value, traceback): """ @param exc_type: @param exc_v...
[ "2239660080@qq.com" ]
2239660080@qq.com
e878483efb96ff6a75498766da8723c34864fa39
694d3929b23a8434cab14ddab623030a0fe4ac38
/apps/reports/views.py
f3a408b99c91eae03444b5863ff332d455c98ab2
[]
no_license
gehongming/django_api
03fec87a25c2ad3cb603aad2f1b5d9b680debf12
fb8e0623e9171deb8706ed258cc5d5bd0d9fe6aa
refs/heads/main
2023-09-01T06:57:22.677374
2021-10-12T05:39:07
2021-10-12T05:39:07
415,173,097
0
1
null
null
null
null
UTF-8
Python
false
false
3,648
py
import json import re import os from datetime import datetime from django.http import StreamingHttpResponse from django.utils.encoding import escape_uri_path from rest_framework.response import Response from rest_framework.viewsets import ModelViewSet from rest_framework import permissions, status from rest_framework....
[ "1010562639@qq.com" ]
1010562639@qq.com
060a96ce55d378586411ad42a722042503385328
0bbeb64933cb5a4df366ad1b39484c3922fcc5a5
/bin/django-admin
93f16e781c08910499b4b071b66dc6691445aedb
[]
no_license
alex-h-k/Build-a-Blog-and-Learn-Python-Django
484303385eaedd6353d04b76544a8a510b10930f
e8c8922db04f5dd2def47438ace914d092f7f16d
refs/heads/master
2020-05-02T00:30:29.356333
2019-03-26T23:44:27
2019-03-26T23:44:27
177,673,988
0
0
null
null
null
null
UTF-8
Python
false
false
292
#!/Users/alex/Desktop/trydjango19/bin/python # -*- coding: utf-8 -*- import re import sys from django.core.management import execute_from_command_line if __name__ == '__main__': sys.argv[0] = re.sub(r'(-script\.pyw?|\.exe)?$', '', sys.argv[0]) sys.exit(execute_from_command_line())
[ "kuan8@hotmail.com" ]
kuan8@hotmail.com
28b45973b0949e982a7d58714b7cbadc29fc03c1
054b9a9493c70c114f174f0815b89cf587f36cb3
/NSUR/news/migrations/0006_auto_20180314_1547.py
cb258485e728253c3a4560d9b6c1500f78a57af7
[]
no_license
ahmeditaev/NSUR
0e751d6375a1f83c1c81d028f574a543e3a5318b
278721d48134160dd559a7e02e343b1b86f153c7
refs/heads/master
2021-04-12T03:16:06.825324
2018-03-29T11:21:29
2018-03-29T11:21:29
125,815,512
0
1
null
null
null
null
UTF-8
Python
false
false
970
py
# Generated by Django 2.0.3 on 2018-03-14 09:47 import datetime from django.db import migrations, models from django.utils.timezone import utc class Migration(migrations.Migration): dependencies = [ ('news', '0005_auto_20180314_0801'), ] operations = [ migrations.CreateModel( ...
[ "ahmeditaev@gmail.com" ]
ahmeditaev@gmail.com
2b2b0ee597e8128abc773f167c2b38bc1bb6fc9a
e7cbb7e86a9bda34ba6e160eaf2dc0ebcf63c318
/udacity/udacity/items.py
387ed55565772a14536e3a3e50d40c7020b4bb8f
[]
no_license
jacksino/spider
f1ac85314e0530870aad920d18f54ba31e69269a
f553c1cddbbe8cfdd47fb5e1480694f790226cb8
refs/heads/master
2022-05-16T09:02:20.264799
2022-04-18T11:07:21
2022-04-18T11:07:21
233,003,375
0
0
null
null
null
null
UTF-8
Python
false
false
447
py
# -*- coding: utf-8 -*- # Define here the models for your scraped items # # See documentation in: # https://docs.scrapy.org/en/latest/topics/items.html import scrapy class UdacityItem(scrapy.Item): title = scrapy.Field() instructor = scrapy.Field() lessons = scrapy.Field() suitable = scrapy.Field() ...
[ "noreply@github.com" ]
noreply@github.com
dd351a69b519de626f377dcd61ee199d47f1462a
2d1cddc3ab885e374bf0bc85be39b7c7c13f0be5
/mytweets/mytweets/urls.py
d9da1b1b9fe9136a2988fc65a28ff5b6e2a9bbba
[]
no_license
fernvnat14/MyTweetLab02
e3cf976cb3830b88b9bcfae432fbddbe715cea1e
596e21a0d52ae034ab7cce9d6185329965acbfaa
refs/heads/master
2020-03-26T16:42:04.808357
2018-08-21T03:40:56
2018-08-21T03:40:56
145,117,869
0
0
null
null
null
null
UTF-8
Python
false
false
892
py
"""mytweets URL Configuration The `urlpatterns` list routes URLs to views. For more information please see: https://docs.djangoproject.com/en/2.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-base...
[ "noreply@github.com" ]
noreply@github.com
c17a7dad686c72b10d108e8f1cfac4c9894e2578
25cb7be764c97bce19f2afbc0f67703c2832d503
/Week 1/ex2.py
53fb25b3ba8453bada242c104aeadb339b083e5a
[ "MIT" ]
permissive
wahsandaruwan/python_ess_exercises
3ead6da2dc32976e2066924716427551f6e57349
a43cffa1077d1d9af7ee2e81427416894b29b0b6
refs/heads/master
2022-12-16T20:28:05.368186
2020-09-19T20:30:30
2020-09-19T20:30:30
272,532,570
0
0
null
null
null
null
UTF-8
Python
false
false
722
py
# =======Simple Expressions======== # ----Unary + and - ----- print("Unary Operators") print(+3) print(-5) print(+7.86) print(-3348.63) print("") # -----Simple Arithmetic----- print("Addition and Substraction") print(1 + 2) print(48 - 89) print(3.45 + 2.7) print(87.3384 - 12.35) print(3 + 6.7) print(9.8 - 4) print...
[ "wahsandaruwan6@gmail.com" ]
wahsandaruwan6@gmail.com
9289f3888bd368ebf590e4c9f31cee03c9e2b5e1
5705ca0e1d3733add90a1952e54ad28785bc69f4
/simpledu/simpledu/forms.py
48c061ac0764ee488f373ae0246be5105527f4ba
[]
no_license
AbbieChen233/flask_login
fa7f330961be682972264a3fb019b4ebe9a29c2c
275bbc4981007bfa8c9b5d7563e8b80b903fdf39
refs/heads/master
2020-03-17T08:31:14.163807
2018-05-15T01:41:02
2018-05-15T01:41:02
133,441,443
0
0
null
null
null
null
UTF-8
Python
false
false
2,083
py
from flask_wtf import FlaskForm from wtforms import StringField,PasswordField,SubmitField,BooleanField from wtforms.validators import Length,Email,EqualTo,Required from simpledu.models import db,User from wtforms import ValidationError from flask import flash import re class RegisterForm(FlaskForm): username...
[ "noreply@github.com" ]
noreply@github.com
4570702ee558fd5356cbb6e61347d548044dc91f
98efe1aee73bd9fbec640132e6fb2e54ff444904
/loldib/getratings/models/NA/na_velkoz/na_velkoz_jng.py
03ed1057207505472af839e30740f1e89491e018
[ "Apache-2.0" ]
permissive
koliupy/loldib
be4a1702c26546d6ae1b4a14943a416f73171718
c9ab94deb07213cdc42b5a7c26467cdafaf81b7f
refs/heads/master
2021-07-04T03:34:43.615423
2017-09-21T15:44:10
2017-09-21T15:44:10
104,359,388
0
0
null
null
null
null
UTF-8
Python
false
false
6,545
py
from getratings.models.ratings import Ratings class NA_Velkoz_Jng_Aatrox(Ratings): pass class NA_Velkoz_Jng_Ahri(Ratings): pass class NA_Velkoz_Jng_Akali(Ratings): pass class NA_Velkoz_Jng_Alistar(Ratings): pass class NA_Velkoz_Jng_Amumu(Ratings): pass class NA_Velkoz_Jng_Anivia(Ratings): ...
[ "noreply@github.com" ]
noreply@github.com
32f760663ed02344cc1d763c8b38a5d9f1d5f937
5db8d388ded4065307d246a72308459427a65ffa
/URI1003.py
a5d38fb660aacda1c836c08feab77467bd8f8022
[]
no_license
dressaco/Python-URI
e1a079d6ea4ed107e99d25303371427ee62d82da
2cfd7d8c9111668c85da61c1ec61ce3882bc296c
refs/heads/master
2023-05-03T05:59:15.430547
2021-05-31T13:31:11
2021-05-31T13:31:11
362,318,692
0
1
null
2021-05-10T17:57:05
2021-04-28T02:53:43
Python
UTF-8
Python
false
false
124
py
A = int(input()) B = int(input()) soma = A + B print('SOMA =',soma) #print('SOMA = ' + str(soma)) #print(f'SOMA = {soma}')
[ "dressaco@outlook.com" ]
dressaco@outlook.com
85f7df264972714c0c28d71df68d69842bd1a2f5
317b191130d8a32364b5e36e55b6c99fc58e7b62
/odoo_addons/pos_proxy_service/models/account_journal.py
5fe0a431470e34454ff6099090d78ff3dd1ba300
[]
no_license
nahe-consulting-group/pos_proxy_services
0d5d6db8e280dbdfe2ae9b02c31d14f3e1708ae5
64509dab6bd00b79f8a70bdd46e30ef345cb73ca
refs/heads/master
2022-12-17T12:34:24.474956
2020-09-15T10:59:17
2020-09-15T10:59:17
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,044
py
from odoo import api, fields, tools, models, _ from odoo.exceptions import UserError class PosConfig(models.Model): _inherit = 'pos.config' payment_afip = fields.Selection([ ('1','CARTA_DE_CREDITO_DOCUMENTARIO'), ('2','CARTAS_DE_CREDITO_SIMPLE'), ('3','CHEQUE'), ('4','CHEQUES_CANCE...
[ "pronexo@gmail.com" ]
pronexo@gmail.com
256003aaafe8fa10d3dddfaa1c9e624d2290b8e1
45f38bb8754d5144fbbdc72dbe0cc70b43cde8a7
/app/services/reply.py
37ff79e84703e4ee5b00f22f4d501f6eee318a32
[]
no_license
koyoru12/ShizuokaTrashNavi
aa2bec1e2b92fd0a6669840c373d7c715bc727e4
ed443c701f1250f9867e2d2c19f7ae9280ba663f
refs/heads/master
2020-04-27T07:46:29.644108
2019-03-21T02:16:57
2019-03-21T02:16:57
174,147,248
0
0
null
null
null
null
UTF-8
Python
false
false
8,631
py
import os import sqlite3 import json import re from abc import ABCMeta, abstractclassmethod import tornado from tornado import gen, httpclient import util from app.models import MessageFactory from app.repositories import ( FixedReplyRDBRepository, DynamicReplyRDBRepository, UserRDBRepository, CityRDBReposito...
[ "koyoru12@yahoo.co.jp" ]
koyoru12@yahoo.co.jp
9565cb65bec5d2a65feac6fb865cef79d1de56a2
cbfd154a1f6d97b08ee5051e84482426d4756cbd
/forms.py
0aa3a59f33d0c93d875cec4ba1973f63a7ac919e
[]
no_license
Shajidur-Rahman/PyQt5
c82bb8444d13cf41cb452cf6b38bef93ee546fcc
0d474e2f6d4ac6c5458e815ab3cff73f81aea27f
refs/heads/main
2023-06-07T19:23:13.024203
2021-06-11T11:01:05
2021-06-11T11:01:05
374,356,769
0
0
null
null
null
null
UTF-8
Python
false
false
799
py
import PyQt5.QtWidgets as pq import PyQt5.QtGui as gui class Main(pq.QWidget): def __init__(self): super(Main, self).__init__() self.setWindowTitle('Forms !!') #self.setLayout(pq.QVBoxLayout()) form_layout = pq.QFormLayout() self.setLayout(form_layout) # add stuff...
[ "shajidurrahmansaad10@gmail.com" ]
shajidurrahmansaad10@gmail.com
7dd6b9b1a4bf5461d0b8bd571ed30fc871762159
f50d20e98199a1422748a1e5586b99cbfb32080d
/Proyecto_POOUber/Python/carBasic.py
b94884e009eb86fe4cbcf69f6f63ad54da82276a
[]
no_license
DrCrisalod/curso_poo_platzi
25bea414771ea072cf45b41121a343d32edaf561
fbe91002069a4ad9fe14b13a9db96c1d26f87ac1
refs/heads/master
2023-06-17T15:00:50.768847
2021-07-16T15:57:22
2021-07-16T15:57:22
384,584,765
0
0
null
null
null
null
UTF-8
Python
false
false
248
py
from car import Car class CarBasic(Car): brand = str model = str def __init__(self, license, driver, brand, model): super(CarBasic, self).__init__(license, driver) self.brand = brand self.model = model
[ "crisalod@hotmail.com" ]
crisalod@hotmail.com
6217a2afd6175a6fbc4201550caffadfef8492ad
7f928a8f3704a7b9d58c500ea78528efb88bf169
/task6/email_scraper.py
690daefbb82c4535a57487d6e034d50032d05407
[ "MIT" ]
permissive
degenerat3/auditlab3
4e034594d4c79b11a3e80dd551fa44fa2c276cc2
ab814c2f6f582a2de3bb239e8406a7557ad65c46
refs/heads/master
2020-08-05T02:09:32.922820
2019-10-07T14:45:06
2019-10-07T14:45:06
212,358,478
1
1
MIT
2019-10-07T14:26:02
2019-10-02T14:11:32
PowerShell
UTF-8
Python
false
false
2,957
py
import argparse import ipaddress import urllib.request import re import gc import concurrent.futures def format_url(child, parent): c = urllib.parse.urlsplit(child) if not c.scheme or not c.netloc: # If partial path, or local path p = urllib.parse.urlsplit(parent) c = c._replace(scheme...
[ "dszafran116@gmail.com" ]
dszafran116@gmail.com
e299c60be9d53012b8b77da119af0d359f1e54d0
c4ffab6cc6b5470a212d1b6a0d241de9427266ee
/test/functional/rpc_bind.py
ee454df4bb87a910eb3f5749321d750a3a4c467f
[ "MIT" ]
permissive
Upsidedoge/upsidedoge
1b8d49787eedb84cb7c5aff77549d7d1239ab807
32dd022d43b8b90ae1aa1ad7d81c0dfeb89611a2
refs/heads/main
2023-04-26T16:56:17.024158
2021-05-21T21:12:57
2021-05-21T21:12:57
369,643,234
0
0
null
null
null
null
UTF-8
Python
false
false
6,428
py
#!/usr/bin/env python3 # Copyright (c) 2014-2018 The Bitcoin Core developers # Distributed under the MIT software license, see the accompanying # file COPYING or http://www.opensource.org/licenses/mit-license.php. """Test running upsidedoged with the -rpcbind and -rpcallowip options.""" import sys from test_framework...
[ "36169687+blockinator@users.noreply.github.com" ]
36169687+blockinator@users.noreply.github.com
8dc69223b415e0f7687dea851cae24b384041290
1f6142ae595cc2dd5ed372e23a7a986a5a1d08d7
/app/behaviours/reporter.py
e35ba37483c162ce97b10eb43fbd41445a078e76
[ "MIT" ]
permissive
jchristov/crypto-signal
5f34ee4bb25cc431d767b4d962b641f4f0c859f5
7d3c6b76667e985cacccf0840084ea88f179d770
refs/heads/master
2021-05-10T08:33:52.958976
2018-01-25T04:16:47
2018-01-25T04:16:47
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,609
py
"""Run reports from the database information. """ import structlog from tabulate import tabulate class ReporterBehaviour(): """Run reports from the database information. """ def __init__(self, behaviour_config, exchange_interface, notifier, db_handler): """Initialize ReporterBeha...
[ "shadow_reaver2@hotmail.com" ]
shadow_reaver2@hotmail.com
2e56820469786281eea6a55179cfaa0fae7337b3
5635a3b02f7695a50471c8c08970520858d2277c
/venv/bin/pyrsa-sign
12ff831eef1cc1f5b697b68f04379992425ffe5c
[]
no_license
BethMwangi/Flask-social
358325ea09b143c2aaa059594607d0a872fcabd1
4d0d902ee959054a95f0d7ab0dbfee3692521f91
refs/heads/master
2020-04-02T06:13:40.307975
2016-06-13T17:16:11
2016-06-13T17:16:11
60,806,302
0
0
null
null
null
null
UTF-8
Python
false
false
249
#!/home/beth/Documents/Github/Flask-social/venv/bin/python # -*- coding: utf-8 -*- import re import sys from rsa.cli import sign if __name__ == '__main__': sys.argv[0] = re.sub(r'(-script\.pyw|\.exe)?$', '', sys.argv[0]) sys.exit(sign())
[ "wanjikumwangib@gmail.com" ]
wanjikumwangib@gmail.com
e60acfc6dfaaa850aa14c36de95d0f2dd9dbd345
baefee5fbbc015cdc0b71ffc8956fad2d7d93683
/openstack_dashboard/dashboards/admin/routers/ports/forms.py
6010f5c792917a435eb64386f99e60d176fda8e1
[ "Apache-2.0" ]
permissive
dsullivanwr/stx-horizon
8312fa01bf28a6bfad175e66f4172add6cabf60c
ee6c9b17e34d1dc310790b9d5e0252361c86b8fb
refs/heads/master
2020-03-29T06:51:49.902050
2018-10-11T19:37:40
2018-10-11T19:37:40
149,643,878
0
0
Apache-2.0
2018-10-10T16:02:36
2018-09-20T17:11:28
Python
UTF-8
Python
false
false
2,970
py
# Copyright 2012, Nachi Ueno, NTT MCL, 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 applic...
[ "dtroyer@gmail.com" ]
dtroyer@gmail.com
9fe793d1adfbfc1416174d2413534e74715e3bdc
d1ff371139640cfbead8afffbb35b33687d3770f
/uspto/cleanup.py
b6eafdbbbab7ac4e2159893fd92e90e10e9d0cca
[]
no_license
jameskli/uspto_scrapy
dabeba2a4e9a1ceb3146350b1ed06abfcea04b6f
b14647de4595d5eaa50a158f3e2706db8caa4394
refs/heads/master
2023-02-06T22:34:56.879684
2020-12-28T00:23:33
2020-12-28T00:23:33
324,856,244
0
0
null
null
null
null
UTF-8
Python
false
false
8,682
py
#!/usr/bin/env python # -*- coding: utf-8 -*- import csv import collections import operator """ This is a collection of scripts used to clean up malformed patent data. USPTO data is extremely messy and therefore needs several customized cleanup functions Note that this is more of a data exploration file and therefore ...
[ "jameskli@gmail.com" ]
jameskli@gmail.com
4bc48c2468c645af9bfc4312c03978f04d3ee7d2
b269ef49ea09a1c73c465c726567bcaa4a689e07
/setup.py
ed64eab63474777c980423c2662622d98cd675eb
[]
no_license
gian88/django-admin-bootstrap
4d470ea8ff5dd02db131239d0425c180ca4569e8
7b05e45b6045de4a9f569a655eb229fd434a4c49
refs/heads/master
2021-01-16T22:00:29.089990
2016-07-22T17:40:48
2016-07-22T17:40:48
9,821,167
0
0
null
null
null
null
UTF-8
Python
false
false
883
py
#!/usr/bin/env python import os from setuptools import setup, find_packages f = open(os.path.join(os.path.dirname(__file__), 'README.markdown')) readme = f.read() f.close() setup( name='bootstrap_admin', version='0.1.9', description='Twitter Bootstrap Responsive Skin for Django Admin.', long_descripti...
[ "douglasmirandasilva@gmail.com" ]
douglasmirandasilva@gmail.com
2c48dbf554941074c8f1a097ef283680bdb41899
a1cc4d924019b4afc952ca70686b1950d3ce9890
/ts_ws/devel/.private/hark_msgs/lib/python2.7/dist-packages/hark_msgs/msg/_HarkSourceVal.py
95f1fba53b5347a8e390204b788c32c6f1f64df7
[]
no_license
dsadhvi/Robot-Says-Hello
95f06d6a905805b64f4aaca68f5abc3156bba9f4
3c3884ed521d19951190b0e9b000ea7e7bf15950
refs/heads/master
2020-03-31T01:06:35.628243
2018-10-05T20:49:23
2018-10-05T20:49:23
151,767,056
1
0
null
null
null
null
UTF-8
Python
false
false
4,408
py
# This Python file uses the following encoding: utf-8 """autogenerated by genpy from hark_msgs/HarkSourceVal.msg. Do not edit.""" import sys python3 = True if sys.hexversion > 0x03000000 else False import genpy import struct class HarkSourceVal(genpy.Message): _md5sum = "ee0b7cc36255925b0a96b74055ee462f" _type = ...
[ "tracyzhang98@gmail.com" ]
tracyzhang98@gmail.com
2535c72550c0e3f19fab1535c0a7647f241f6641
cae3f52bcf0a46bdd4c2be5976afc30ad6e3b89a
/external_tools/src/main/python/omero56/scripts/get_image_details_from_dcc_using_media_api.py
51094dd478023d82a54a11c50dbcef984126f3d7
[ "Apache-2.0" ]
permissive
mpi2/PhenotypeData
648eb35460f47e5d6dc3c51ddad91f545fa38c04
df87b1b9452b5186fa85dbfc74dcef1dc596b825
refs/heads/master
2023-07-25T02:56:47.364058
2023-07-10T13:58:23
2023-07-10T13:58:23
37,316,577
2
6
Apache-2.0
2023-09-11T09:25:13
2015-06-12T10:40:45
Java
UTF-8
Python
false
false
3,264
py
#!/usr/bin/python """Create a CSV file using the DCC media API """ import sys import os import requests import json import argparse uniqueUris=set() parser = argparse.ArgumentParser( description='Create CSV file of images ready to download using DCC media API' ) parser.add_argument('-o', '--output-path', defaul...
[ "kola@ebi.ac.uk" ]
kola@ebi.ac.uk
e496f6a4b65e3fb3ed5cffda376a44cc1e6829cb
7357d367b0af4650ccc5b783b7a59090fdde47bb
/py-appscript/tags/py-appscript-0.18.0/Lib/aem/types/objectspecifiers/testclause.py
cd023de05f848f30e64af15fc725899e0d6eb54c
[ "MIT" ]
permissive
BarracudaPff/code-golf-data-python
fb0cfc74d1777c4246d56a5db8525432bf37ab1a
42e8858c2ebc6a061012bcadb167d29cebb85c5e
refs/heads/main
2023-05-29T05:52:22.856551
2020-05-23T22:12:48
2020-05-23T22:12:48
378,832,634
0
0
null
null
null
null
UTF-8
Python
false
false
3,297
py
"""testclause -- Used to construct test expressions for use in by-filter references. (C) 2005 HAS """ from CarbonX import kAE import base class Test(base.BASE): """Base class for all comparison and logic test classes (Equals, NotEquals, AND, OR, etc.).""" def AND(self, operand2, *operands): """AND(test,...) --> log...
[ "sokolov.yas@gmail.com" ]
sokolov.yas@gmail.com
33426451207cff40bb66155aa128bb8d64225249
c224275ff2ff634abcd072c3aa94b68bb5801944
/abcli/__init__.py
281b2bb040823d5ed05354eed9b4ed54853060af
[ "MIT" ]
permissive
john5f35/abcli
5dc6d07db5a898151848ac3defc2dbe3eb049203
fa696cf6bcc2f26fbd754e01952553ce09e5e006
refs/heads/master
2021-06-28T05:04:20.806246
2020-02-03T07:00:23
2020-02-03T07:00:23
216,186,047
3
1
MIT
2021-04-20T18:47:12
2019-10-19T10:08:29
Python
UTF-8
Python
false
false
691
py
# CLI # # Commands: # - transactions import <json> # - transaction show (?) # - account show [name] [date-from] [date-to] [aggregation:week|fortnight|*month*|quarter|year] # Shows balance, average in aggregation method, between two dates # - account graph [name] [date-from] [date-to] [aggregation:...] # ...
[ "john.u5f35@gmail.com" ]
john.u5f35@gmail.com
b80614ba72616b099fef5e0b5cef78ed8d996b89
58ad9c5fbdce8ebd29c20c9e736fd482c32c79c6
/app.py
d45ac746417073a79199c054b3724f3a1e2a60c7
[]
no_license
laurachan2020/STA9760_helloworld
2193fc6cfc93b07ebf0bca41f69dad2bc8fd1bd8
05029797d7cca405874fdbad5503250a356c0940
refs/heads/master
2021-02-07T20:34:55.481754
2020-03-01T02:27:42
2020-03-01T02:27:42
244,073,821
0
0
null
null
null
null
UTF-8
Python
false
false
59
py
if __name__ == '__main__': print()''Hello, World!')
[ "laura.chan.2010@gmail.com" ]
laura.chan.2010@gmail.com
45d3df7ae25348ecc17cff66e2a05ae15d1297e7
daf1937059003f1d1ded416e903fe4418629b24d
/ukoly/1.1 Intro to Programming/string_operations.py
221e90e7096ce14c48f40202099dd0a97e3917e5
[]
no_license
simona-engeto/unit_converter
7367c49b65148c019adb5e7e57b7d47457cb1f95
37080daa404a5aca2503fb794065c773dc0daff7
refs/heads/master
2021-01-07T13:54:45.420943
2020-03-12T14:20:02
2020-03-12T14:20:02
241,715,411
0
0
null
null
null
null
UTF-8
Python
false
false
566
py
# Save name name = input('Enter name: ') # Print name print('Saving', "'", name, " '", ' into name...') # Save surname surname = input('Enter surname: ') # Print surname print('Saving', "'", surname, " '", ' into surname...') # Create and print variable full_name full_name = name + surname print('Full...
[ "noreply@github.com" ]
noreply@github.com
0a61d3455c62c56d19a40625fbc67c86684cf673
de64b143a346585f51590bd674e8d13bbc672386
/algorithm/Intermediate_Class/뉴스 클러스터링/Wooseong.py
a3809d890839206d63713c42df2c288ccf43d48e
[]
no_license
ai-kmu/etc
304ec20f59e4026025abdcbcae21863c80630dcb
9c29941e19b7dd2a2037b110dd6e16690e9a0cc2
refs/heads/master
2023-08-21T16:30:31.149956
2023-08-21T16:26:19
2023-08-21T16:26:19
199,843,899
3
24
null
2023-05-31T09:56:59
2019-07-31T11:36:16
Jupyter Notebook
UTF-8
Python
false
false
1,976
py
import copy def solution(str1, str2): # 대소문자 무시 - 모두 소문자로 str1 = str1.lower() str2 = str2.lower() # 각 str을 다중 집합으로 만들기 - 알파벳쌍만 가능 # -> .isalpha()는 str가 모두 알파벳일 때만 True set1 = [] for i in range(len(str1) - 1): temp = str1[i:i+2] if temp.isalpha(): set1.append...
[ "noreply@github.com" ]
noreply@github.com
311db5d22a903d069536d929651f95544e988e79
274122af4207364dcb5167f6bddf34171d3a043e
/info_by_run.py
d7c7f5386d24980991e90ab415515c4b05c24d87
[]
no_license
ceslat/python-chilean-info
92d0b387d5ebabb2546a4ce5ec3a20f88759ddbe
d98aeb9041680f87cb376258ed735c323d316a60
refs/heads/main
2023-03-02T09:17:46.381091
2021-02-10T01:23:37
2021-02-10T01:23:37
337,581,739
1
0
null
null
null
null
UTF-8
Python
false
false
904
py
def get_data_by_run(run): """ Función que retorna un diccionario con la información personal de un ciudadano Chileno según el RUN que recibe. El RUN debe estar formateado 11.111.111-1 Requiere: requests, bs4 """ import requests from bs4 import BeautifulSoup r = requests.post( 'https...
[ "noreply@github.com" ]
noreply@github.com
cbb5b5e0a29153cfef89be24a515e1b90dbd5ce0
2a1e2c298773148983805f1e0fba62bc2bf79267
/lib/network/vgg_base.py
7057d7ce930283300e3f9abeacd0c7ce46869275
[]
no_license
copperdong/CTPN
42fde81010ba5c0bff193b4132d4c397c251dedd
3d559406c7ad2a02ac54b07ff1cc3603b3c5b6c9
refs/heads/master
2020-11-25T10:51:23.753733
2019-07-22T12:29:15
2019-07-22T12:29:15
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,410
py
import tensorflow.contrib.slim as slim from lib.utils.config import cfg def vgg_base(inputs, scope=None): featuremap_scale = 1 net = slim.conv2d(inputs, 64, [3, 3], scope='conv1_1') net = slim.conv2d(net, 64, [3, 3], scope='conv1_2') net = slim.max_pool2d(net, [2, 2], stride=2, padding='VALID', scope=...
[ "chizhanyuefeng@gmail.com" ]
chizhanyuefeng@gmail.com
39f9f6cb12e59735ebe32a3c579294e54cc3f58e
9039f309649d0b7c6dd974706fc507938ed0e47a
/03. Logistics.py
51054e067ae37313a5cfc1e9833e3de6735c07c5
[]
no_license
antondelchev/For-Loop---More-Exercises
2b5dadb31c273611c15e6523b536f994a0353a52
891266ff8b931e19d179b22dd33647887814555e
refs/heads/main
2023-03-03T11:59:16.990004
2021-02-16T15:01:02
2021-02-16T15:01:02
335,062,985
0
0
null
null
null
null
UTF-8
Python
false
false
1,040
py
number_of_loads = int(input()) tonnes_total = 0 bus_tonnes_total = 0 truck_tonnes_total = 0 train_tonnes_total = 0 bus_price_total = 0 truck_price_total = 0 train_price_total = 0 for i in range(1, number_of_loads + 1): tonnes = int(input()) tonnes_total += tonnes if tonnes <= 3: ...
[ "noreply@github.com" ]
noreply@github.com
85ac76387d3daebff05f1af62c4f80014636375e
65f16a0567f1a1a7111e84deb730afdf7f757acf
/software/py/pws_menu.py
63af33d83218a642c58b1bf71a02b940457aacb6
[ "MIT", "LicenseRef-scancode-unknown-license-reference" ]
permissive
shibayan1122/PWS
4c3c3511ac51dc2952c800624222943f6f63cffe
206188f3031cc09cb6b020bbebb85f61244e3590
refs/heads/master
2021-01-20T22:34:31.731269
2016-08-05T06:21:36
2016-08-05T06:21:36
64,993,434
1
0
null
null
null
null
UTF-8
Python
false
false
4,284
py
#!/usr/bin/python #coding:utf-8 from __future__ import print_function, unicode_literals from functools import wraps import os import urlparse import requests import traceback #from OpenSSL import SSL from flask import (Flask, make_response, redirect, render_tem...
[ "takuya.shibata@music.yamaha.com" ]
takuya.shibata@music.yamaha.com
91cbe1b399b74f4f04531d4409bc44e6efacd4f4
9d030bb9ea59fbb831db98aad5fbdcb7df038f33
/Prac_08/car.py
34e7081ac26630d5f22ed244a4a5265e893e641f
[]
no_license
EdyZ01/Practicals
b01f974008576c7e45d13016ccc76b667996b0d1
6f5e1f91c3e07b9769135b77901f346c8901ca1c
refs/heads/master
2020-04-09T11:35:46.374406
2019-01-16T17:00:58
2019-01-16T17:00:58
160,311,121
0
0
null
null
null
null
UTF-8
Python
false
false
873
py
class Car: """Represent a Car object.""" def __init__(self, name="", fuel=0): """Initialise a Car instance. fuel: float, one unit of fuel drives one kilometre """ self.fuel = fuel self.odometer = 0 self.name = name def add_fuel(self, amount): """Add ...
[ "noreply@github.com" ]
noreply@github.com
6d472be5d883fe959547fb748f6ca1cf36e34f03
a3feb43bbac86c0998ac5d46e180779d483a56bf
/data_loader_script.py
b8edc8e1df1fdfdc26fbf8dcb902b5696b5bdac7
[]
no_license
hridyansh68/handwritten_digit_prediction_1-_hour_implementation
ed1899594767829fa95d0b41d8cd33de81c3a7e6
781e40d2b651a9ba240ddf0a9708948f908d059e
refs/heads/master
2020-04-12T22:45:01.890996
2019-01-06T06:33:25
2019-01-06T06:33:25
162,797,941
0
0
null
null
null
null
UTF-8
Python
false
false
855
py
import cPickle import gzip import numpy as np def load_data(): f = gzip.open('../data/mnist.pkl.gz', 'rb') training_data, validation_data, test_data = cPickle.load(f) f.close() return (training_data, validation_data, test_data) def load_data_wrapper(): tr_d, va_d, te_d = load_data() training...
[ "hridyansh68@gmail.com" ]
hridyansh68@gmail.com
947d8dca92c8781df1ca0936dfa233df43c1dedf
f6cf62319aceb51464118d13baa424317824d3ce
/Contas/conta_poupanca.py
9ae670bbc844d97507345e6e2083b41c9d3df652
[]
no_license
gcastorino/bank
3ed7ad4dfa6ac9e6653b3943308935644ab7f571
597854eba2ed170d7efd25ecde007661d9083480
refs/heads/master
2020-08-04T14:36:01.327461
2019-10-03T19:32:13
2019-10-03T19:32:13
212,169,675
0
0
null
null
null
null
UTF-8
Python
false
false
295
py
import random from Contas import Conta class ContaPoupanca(Conta): def __init__(self, extract, type_account, number=None): super().__init__(extract, type_account, 0, number) def criar_numero(self): return f'100{random.randrange(1000, 10000)}-{random.randrange(0, 10)}'
[ "gcastorino@hotmail.com" ]
gcastorino@hotmail.com
ac39b66cf4724966114b3c3b3d4168da74fa9796
d7aeae8d4065bab6e3644433212c848abbdc04e1
/time_score.py
f035a832ce2f4144ba09b1ab25e55c4d10275a80
[]
no_license
mohitsoni87/BlockPass
084089aa8b853fd6b23ae9e246088637c391e0b3
43742dd9272a47a6b23a546fb48541ee0eea385d
refs/heads/master
2020-03-23T16:31:56.182806
2018-07-21T13:20:54
2018-07-21T13:20:54
141,815,695
0
0
null
null
null
null
UTF-8
Python
false
false
4,578
py
import pygame as pg import time, random from pygame.locals import * pg.init() car = pg.image.load('download.png') car_d = car.get_rect().size car_width = car_d[0]; car_height = car_d[1] white = (255, 255, 255) black = (0, 0, 0) blue = (0, 0, 255) display_width = 800; display_height = 600; pg.display.set_caption('Fir...
[ "mohit_soni87@ymail.com" ]
mohit_soni87@ymail.com
964b812d02375eb43441088299f997192ca9d36b
894b290b4f4f47b5eb523c23efd7bd6110d91b2f
/116_fang_shop/fang_shop/fang_shop/spiders/fang_shop_spider.py
c3f9547cad1f9b1ec5db7c8618dd0e8ddbf53a24
[]
no_license
wliustc/SpiderS
6650c00616d11239de8c045828bafdc5a299b1ce
441f309c50d28c1a3917bed19321cd5cbe7c2861
refs/heads/master
2020-03-27T06:15:39.495785
2018-06-14T07:55:44
2018-06-14T07:55:44
null
0
0
null
null
null
null
UTF-8
Python
false
false
7,684
py
# -*- coding: utf-8 -*- import scrapy import re from fang_shop.items import FangShopItem import web import urlparse import hashlib import json import sys reload(sys) sys.setdefaultencoding("utf-8") headers = { 'User-Agent': 'Mozilla/5.0 (Macintosh; Intel Mac OS X 10_12_6) AppleWebKit/537.36 (KHTML, like Gecko) ' ...
[ "luoshao23@gmail.com" ]
luoshao23@gmail.com
77ea35da65f61abce7c44b9a46ee137770cc95ec
fc5becca3e2e48a444b512e059df1cd21601829b
/Aulas/Aula23A.py
3baac0f53fa2d741ffa7e4838bd99fbeb5af6205
[ "MIT" ]
permissive
Felix-xilef/Curso-de-Python
c44bf8c22b393aefaed3a2bb3127ef7999e27fb8
cdff7c7f3850e6326e274c8c1987b9e1a18ce910
refs/heads/master
2021-05-19T11:09:22.644638
2020-04-01T22:09:02
2020-04-01T22:09:02
251,665,966
0
0
null
null
null
null
UTF-8
Python
false
false
1,148
py
try: a = int(input('\n\tNumerador: ')) b = int(input('\tDenominador: ')) r = a / b # except: - apenas redireciona caso dê erro (GENÉRICO) # print('\n\tProblema encontrao') # erro - mostra erro | erro.__class__ - mostra classe do erro except (ValueError, TypeError): # except classe: - apenas redirecion...
[ "felixpb@yahoo.com.br" ]
felixpb@yahoo.com.br
e7c4cc9aafe5f314aab6257410c9f0e26c117e7c
484ec0b529d96fbce4c23362d1d758a1e1bdfc91
/deprecated/fragment_csv_converter/directories.py
ea0c8936a4f78dd6bc7fb97aaa534014f2965201
[]
no_license
willjwon/file-type-identification
a7db5b5ccbaa2625ede64f22af1984c065de7c2c
8d760bf70764328d7b47dff904b9ad25273b2516
refs/heads/master
2021-09-28T01:53:50.241671
2018-11-13T07:24:49
2018-11-13T07:24:49
null
0
0
null
null
null
null
UTF-8
Python
false
false
710
py
import random from files import Files class Directories: def __init__(self, directories): self.files = [] for index, directory in directories.items(): self.files.append((int(index), Files(directory=directory))) def random_directory(self): if len(self.files) == 0: ...
[ "baryberri@icloud.com" ]
baryberri@icloud.com
a8ee0c14187fe73d4b8e96cd004a298e7fc626a1
b5c88180e4821583b2e4174b352186c0277ac1b6
/watcher/decision_engine/model/collector/cinder.py
1e5c1c967b8746521781086dab98cdf06def2a6c
[ "Apache-2.0", "CC-BY-3.0" ]
permissive
YumengBao/watcher
ecb7232c69668f9d189673ccd997a7d4a8087124
051b4fcd066960a3563d04b149307b388d3b66b2
refs/heads/master
2021-05-07T06:32:51.851512
2017-11-22T12:15:57
2017-11-22T12:15:57
null
0
0
null
null
null
null
UTF-8
Python
false
false
7,347
py
# -*- encoding: utf-8 -*- # Copyright 2017 NEC Corporation # # 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...
[ "hid-nakamura@vf.jp.nec.com" ]
hid-nakamura@vf.jp.nec.com
37f9ffe43f45931ee39051d3b509924093639327
33af6185b48bd76f97f0a74390a3a812ee216c78
/angr/angr/procedures/libc/fseek.py
12804e949829a38007056038d366ae0bb5839ae7
[ "BSD-2-Clause" ]
permissive
Ruide/angr-dev
dab0cabd907fce47ac698f890c3f3a8b80ab7e2a
964dc80c758e25c698c2cbcc454ef5954c5fa0a0
refs/heads/master
2022-11-10T11:27:13.355024
2017-10-07T14:29:09
2017-10-07T14:29:09
104,417,044
0
1
BSD-2-Clause
2022-10-16T04:48:10
2017-09-22T01:35:12
C
UTF-8
Python
false
false
1,201
py
import angr from . import io_file_data_for_arch ###################################### # fseek ###################################### class fseek(angr.SimProcedure): #pylint:disable=arguments-differ def run(self, file_ptr, offset, whence): # TODO: Support symbolic file_ptr, offset, and whence ...
[ "rd.cheung.bupt.sms@gmail.com" ]
rd.cheung.bupt.sms@gmail.com
2158bee91e8ddc05e94adf1ea116c57e35458e73
ced18d4273f07a1472027f533edd77d198144314
/multivariate regression.py
262a5c1531ae8b09db48a0e60d04e6551a699d62
[]
no_license
ordikhan/supervised-learning
ff2ba7430e0d4d60055407bad3fc180f6013c39f
a77444120f1ddd8ff23b19c89f82da641b4628b6
refs/heads/main
2023-05-01T09:42:41.813881
2021-05-06T09:40:54
2021-05-06T09:40:54
364,806,125
0
0
null
null
null
null
UTF-8
Python
false
false
645
py
import pandas as pd from sklearn.model_selection import train_test_split import statsmodels.api as sm from sklearn.metrics import mean_squared_error from math import sqrt from sklearn.preprocessing import MinMaxScaler df = pd.read_excel('C:/Users/e.almaee/Desktop/Dataset/cars.xls') #print(df.head()) X = df[...
[ "noreply@github.com" ]
noreply@github.com
ed0c8392bc8222a364e2625501ee4016605b8c74
776d97324adae9d929f90b701e6bf003df041bec
/0x04-python-more_data_structures/6-print_sorted_dictionary.py
97bd5c62571c24df86e2c663fcb13d056547652f
[]
no_license
jblanco75/holbertonschool-higher_level_programming
6be3284ecd3a8168425cb82d0bee1f9321825a56
94b1db9f120e234ec61a6db044113e7f4618d3ef
refs/heads/main
2023-08-04T04:16:15.821683
2021-09-23T00:32:24
2021-09-23T00:32:24
361,894,154
0
0
null
null
null
null
UTF-8
Python
false
false
150
py
#!/usr/bin/python3 def print_sorted_dictionary(a_dictionary): for k in sorted(a_dictionary): print("{:s}: {}".format(k, a_dictionary[k]))
[ "jblanco75@gmail.com" ]
jblanco75@gmail.com
184aadc4ffd624e108706977dfa7e4758bfcbbb8
2857548f8cb5300d60062e70d75a45a92b1a9a4a
/my_office_admin/my_office_admin/wsgi.py
424ba63e3f388464b59b5390be71f1161e8a9e99
[]
no_license
vkrishnan/my-office-admin-test
8b3ddd83b7be90ccf3483b84a044e454192e1633
22e73e4134123e7fbe5c5d5993de0b90b1cb7fe1
refs/heads/master
2021-01-10T01:29:57.572253
2016-01-12T03:10:37
2016-01-12T03:10:37
48,683,619
0
0
null
null
null
null
UTF-8
Python
false
false
407
py
""" WSGI config for my_office_admin 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.8/howto/deployment/wsgi/ """ import os from django.core.wsgi import get_wsgi_application os.environ.setdefault("DJAN...
[ "vinay.krishnan@hp.com" ]
vinay.krishnan@hp.com
5e73ab252bfa094fd111ee5055e111d073daad4c
99e1a9d7aa57bea19ae121e0ace98e054669cb20
/resources/store.py
cf78d99a386a80b32218048b8d918aee4e8447e4
[]
no_license
avciali/storeapitest
0dd0cb9c7a3a3ad20d6f344b37b0289b76fa5cf2
4beabd27f5e6d7029c042a15421386b904bd1cb2
refs/heads/master
2021-08-30T10:02:17.050428
2017-12-17T11:25:47
2017-12-17T11:25:47
114,293,593
0
0
null
null
null
null
UTF-8
Python
false
false
924
py
from flask_restful import Resource from models.store import StoreModel class Store(Resource): def get(self, name): store = StoreModel.find_by_name(name) if store: return store.json() return {"message": "Store not found"}, 404 def post(self,name): if StoreModel.find...
[ "aliavci82@gmail.com" ]
aliavci82@gmail.com
92ac50897a3cb76170df9978daf88a94a96b930c
6e9e23664a6a270d3821a00fd1aa740065f9f2c7
/libs/DecisionTree.py
ad0ec85b4ead27d853f98f6c479035b476623ea0
[ "MIT" ]
permissive
frenzymadness/BiologicalAge
d417a0252e91821cd25897b763ba0fe30910087b
7ac1fb81474296422b4975688ce3fc559dbe3191
refs/heads/master
2021-10-20T12:51:54.344085
2019-02-27T20:43:52
2019-02-27T20:43:52
108,725,930
0
0
null
null
null
null
UTF-8
Python
false
false
1,718
py
from os.path import join import json from sklearn.tree import DecisionTreeClassifier import pandas as pd import numpy as np class DecisionTree(): def __init__(self, type='b'): self.data = pd.read_csv(join('data', type, 'data.csv')) Y = self.data.values[:, -1].astype('float64') self.groups...
[ "lbalhar@redhat.com" ]
lbalhar@redhat.com
efa80ad0eec53a666170d3e49066f2fa97684f4b
970a455c6c043c33e70ea60fd2b8eeec799da432
/bin/rehex.py
049b4352bd5f1d47dd5715ba3fd91cb0a1063964
[ "MIT" ]
permissive
innovacoin/sentinel
798d117f8822941dca9cd54703db47fb47cbcd00
eeedacaca0be68423dcb57a7eef1ddb7cb1a06b8
refs/heads/master
2021-09-19T09:20:29.841449
2018-07-26T10:00:41
2018-07-26T10:00:41
112,226,133
4
7
MIT
2020-01-01T07:28:13
2017-11-27T17:22:49
Python
UTF-8
Python
false
false
454
py
import simplejson import binascii import sys import pdb from pprint import pprint import sys import os sys.path.append(os.path.normpath(os.path.join(os.path.dirname(__file__), '../lib'))) import innovalib # ============================================================================ usage = "%s <hex>" % sys.argv[0] ob...
[ "djjamol@gmail.com" ]
djjamol@gmail.com
7b3fa99aefcbe29c9f00c5b8f63ea045bfea12c3
97ef985dc843c4975c9507e0da9e93069d3ec084
/Thesis_LuoHao/Bell/Bell_fitting.py
7668ce49518d0e50aaf4805b760096f5f91caa3a
[]
no_license
FelixHaoL/thesis_FERC
5e39b232a4bbc9eaba7f27be8fb9a864d278c033
89a4f8c3e8416565da0e3c477f19a58e6c3c0cc4
refs/heads/master
2022-11-30T08:05:01.187739
2020-08-12T03:23:11
2020-08-12T03:23:11
271,706,912
0
0
null
null
null
null
UTF-8
Python
false
false
622
py
from scipy.optimize import curve_fit, minimize def bell(f,k0,x): kbt = 4.06 k = np.exp(k0)*np.exp(f*x/kbt) return k def bell_r(f,k0,x): kbt = 4.06 k = np.exp(k0)*np.exp(-f*x/kbt) return k def bell_(p, f, kf): kbt = 4.06 k = np.exp(p[0])*np.exp(f*p[1]/kbt) return np.sum((np.log(k)-np...
[ "haoool@outlook.com" ]
haoool@outlook.com
675330baffa315263e450a4134a692cc638ef989
f5382125f4c5a04544095cd8dfce58fabad3fe29
/IfElseElif2.py
43c2e60de986b547941d60c98328bab7ef76a9d3
[ "LicenseRef-scancode-other-permissive", "MIT" ]
permissive
ishanbhavsar3/python_
7005b9e36899602d84a76e4c36367e396fdd2d72
e80d68e263ecb7c41bdd58c325f9e2efb50999f7
refs/heads/master
2023-06-05T06:20:08.976762
2021-06-20T08:17:02
2021-06-20T08:17:02
296,503,890
0
0
null
null
null
null
UTF-8
Python
false
false
7,503
py
Num_List = 1, 2, 3, 4 print(Num_List) Day_of_week_num = input("Input the day of the week in numbers and i will tell which day it is.") int(Day_of_week_num) if int(Day_of_week_num) == 1: print("The day is a Sunday.") elif int(Day_of_week_num) == 2: print("The day is a Monday.") elif int(Day_of_week_nu...
[ "noreply@github.com" ]
noreply@github.com
74c89dbe14108ca58089f84b1849211bbef03127
ab2d5b62b3ddbb7c7fe033807cd8884b8c69e89d
/Sound_Assessment/app/processing/process.py
bad02a40786b6b8e8cfcebab842cea57939dbc37
[]
no_license
vanditthakkar/sound-assessment-toolset
75bd8f51ef9fd03e6d7f78f7bc7fe23fd5d6cad4
b91f024f39a8a3bef9dcb8539961c908bd8a379a
refs/heads/master
2021-01-20T18:16:00.172285
2016-07-02T17:37:52
2016-07-02T17:37:52
62,408,582
0
0
null
null
null
null
UTF-8
Python
false
false
2,034
py
from algos_librosa import * import os import pprint import midiMap import time class Process(object): def __init__(self,file_name): self.attr = {} self.file_name = file_name def extractFeatures(self): y,sr = load(self.file_name) fs = 2*sr y_harmonic , y_precussive = ef...
[ "prashant.kiit2018@gmail.com" ]
prashant.kiit2018@gmail.com
70280d9306bdb514ca2d699af1aed01d1f05a146
4cf3b7347f84d2e801d67d1004b28d7a83b94d69
/first.py
ac4b32dd4c12ba0edb8c6954ed569f6dae1548f9
[]
no_license
Andrew-code2020/gettingstartedpythoningitpod
1289075785c560752bab06315090f5403e8bfd7b
c2f4e40e61e98ae71f30665b4e254c7727d6c0a3
refs/heads/master
2022-12-17T21:51:58.511205
2020-09-21T20:08:30
2020-09-21T20:08:30
296,558,719
0
0
null
null
null
null
UTF-8
Python
false
false
142
py
def print_message(message): print(message) print_message("Hello, World!") my_list = [1, 2, 3, 4, 5] for item in my_list: print(item)
[ "burnsad@tcd.ie" ]
burnsad@tcd.ie
1d1c16186e28592a9a31b87d92916a54f713d622
06fc484318582a00028ea0aaae5e12bbd6a7fbb8
/test_dhe.py
d9111e393f400f82316d350c4cf4ad7cbcaefa98
[]
no_license
sogol-golafshan/Image_Contrast
786aea03741204f0aeb14edab284bef4060f22b0
3a9ac4d99468cc0e2ab051d052864a1c6fd1f6d7
refs/heads/main
2023-03-08T23:04:02.970980
2021-03-01T04:27:54
2021-03-01T04:27:54
338,703,199
0
0
null
null
null
null
UTF-8
Python
false
false
1,412
py
import unittest from dhe_method import dhe import numpy as np class TestContrast(unittest.TestCase): def Test_dhe(self): self.img= np.array([[[122, 184, 168], [133, 198, 182], [209, 230, 245], ...
[ "so.golafshan@gmail.com" ]
so.golafshan@gmail.com
829f4d1d836ccd7c5ac15928a62f6cda12306d58
172d8fdde43fbbbee244bcc9835d6b5cffb08032
/label/browser.py
a2e70cca1dcca690eb91afab11acec7afccb1dfc
[]
no_license
Rye-Catcher-ZCH/2020-zju-summer-intern
c618121f9e6bda962618909da2bf860e55793aa5
01dbbf5944824c9f180945a028a6609ed254b9ba
refs/heads/master
2022-12-02T04:40:43.322066
2020-08-17T13:00:09
2020-08-17T13:01:33
288,179,836
0
0
null
null
null
null
UTF-8
Python
false
false
784
py
# coding=utf-8 import cv2 import h5py import numpy as np # 打印某一帧及其后续一系列帧 def show_frame(f_no, f_count, dataset_path): """ :param f_no: 帧号 :param f_count: 打印f_no号帧后续f_count帧 """ i_count = 0 f = h5py.File(dataset_path, 'r') for i_count in range(0, f_count): image = f['data'][f_no + i_...
[ "1325904781@qq.com" ]
1325904781@qq.com
0825d979fc8b3ae412bea14e56ae9ff2c14ca40d
292f1401eb15258dff841737851c0cfbcc2542f1
/contacts/views.py
6f008700bea0aa17db5428258c13af953c5f451e
[]
no_license
disizmayur/Real-Estate-Management-System
1913a0e1721d780fe8a9061f23376d034c95e18e
80abba866f4f487c261946126b0c214a324df76b
refs/heads/master
2023-01-11T22:11:20.476387
2020-11-06T03:08:30
2020-11-06T03:08:30
null
0
0
null
null
null
null
UTF-8
Python
false
false
689
py
from django.shortcuts import render,redirect from .models import contacts # Create your views here. def contacts(request): if request.method=="POST": listings=request.POST['listings'] listings_id=request.POST['listings_id'] name=request.POST['name'] email=request.POST['email'] ...
[ "piyushjoy39@gmail.com" ]
piyushjoy39@gmail.com
08daf685e289fcd1c3bd571084ec7adee883620e
7f6038f6348a484fb969a2ee53b4241d4efaa1a3
/manage.py
1d8f73dc7947e1be112aa5c2c1c3ff4adef53cc4
[]
no_license
anilpendela/Trello
2177d91d79c716cfa7798e3440067a266ae19e36
f69ff4312ecb07fa6e5047c5f947904573f90956
refs/heads/main
2023-02-24T06:43:24.230006
2021-01-17T16:48:41
2021-01-17T16:48:41
330,438,065
0
0
null
null
null
null
UTF-8
Python
false
false
626
py
#!/usr/bin/env python """Django's command-line utility for administrative tasks.""" import os import sys def main(): os.environ.setdefault('DJANGO_SETTINGS_MODULE', 'Trello.settings') try: from django.core.management import execute_from_command_line except ImportError as exc: raise ImportE...
[ "anilpendela1106@gmail.com" ]
anilpendela1106@gmail.com
9282adb45348906e6ebc5d527452b890d9b2e5ee
295d4f5a7de875355ffdf0f3cfd347026df5e4bd
/15.py
701c2ca5cc0dd39e04d212b1370f266cf440040c
[]
no_license
hehehe47/LeetCode
ef6e229bc49dc08c2cc1f69d7e00da9dc23499b7
358181eb0ae96294e6465b0d42bf8374fd18b546
refs/heads/master
2020-03-21T05:26:33.484894
2020-03-10T04:45:46
2020-03-10T04:45:46
138,160,829
0
0
null
null
null
null
UTF-8
Python
false
false
738
py
def threeSum(nums): """ :type nums: List[int] :rtype: List[List[int]] """ # 最简单的 hash记任意两数的和,第二次遍历查找hash # 问题在于没法去重 # d = {} # l = [] # for i in range(len(nums)): # for j in range(i + 1, len(nums)): # if nums[i] + nums[j] not in d: # d[nums[i] + nu...
[ "yhuichun47@gmail.com" ]
yhuichun47@gmail.com
999cc1bfad70378ed8cc86c33ab3c8f2386baed2
595d58e00851a295d1b040c91d15f7d5c1c9b005
/ResumeWebsite/urls.py
c55dc7cecfb752a0038d0281d03499f5fe0987af
[]
no_license
HelenaTeixeira/ResumeWebsite
88113f26fd109d8f0aa762f0d0aaaa9f4717c55e
54bc332be193671270983b1845f1af97a3e2d929
refs/heads/master
2022-12-04T05:15:20.116870
2020-08-20T15:01:18
2020-08-20T15:01:18
282,476,004
0
0
null
null
null
null
UTF-8
Python
false
false
800
py
"""ResumeWebsite URL Configuration The `urlpatterns` list routes URLs to views. For more information please see: https://docs.djangoproject.com/en/3.0/topics/http/urls/ Examples: Function views 1. Add an import: from my_app import views 2. Add a URL to urlpatterns: path('', views.home, name='home') Class...
[ "helena.teixeira@tecnico.ulisboa.pt" ]
helena.teixeira@tecnico.ulisboa.pt
3e2bad2f6238da2bf10a29f88685f5cc08343d91
fa17a53b00e4b0551ac63a1bcacea60e838eb5eb
/236-lowest-common-ancestor-of-a-binary-tree/236-lowest-common-ancestor-of-a-binary-tree.py
206e310f567c8951542920439ef59c069ed48fab
[]
no_license
SiddharthaHaldar/leetcodeProblems
31504d79ae6f6f5e8be4bda48cc117ac022968f0
c5de8d117942457cddec5b6d9c84cda07b14deed
refs/heads/master
2022-09-20T10:32:28.653813
2022-08-28T03:44:10
2022-08-28T03:44:10
190,889,035
1
0
null
null
null
null
UTF-8
Python
false
false
936
py
# Definition for a binary tree node. # class TreeNode: # def __init__(self, x): # self.val = x # self.left = None # self.right = None class Solution: def lowestCommonAncestor(self, root: 'TreeNode', p: 'TreeNode', q: 'TreeNode') -> 'TreeNode': lca = None def helper(root,...
[ "sidhaldar98@gmail.com" ]
sidhaldar98@gmail.com
dc9090d64099cc6c96a32c845434f08547b250f8
4bc72996af7eb043f8ed179fd4127c2caf8ca852
/codalab/bundles/make_bundle.py
ab07b2397837109e6e3ba8ab7fa168b1fa1ef2f8
[]
no_license
skishore/bundles
472d5f1a77fd5cac19dd2ddca5dc824efd77a6f9
9bde3f2c8355ad087b5e04d6dcbb24e3274149c4
refs/heads/master
2020-04-05T22:48:35.038580
2014-01-25T19:53:32
2014-01-25T19:55:20
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,893
py
''' MakeBundle is a Bundle type that symlinks a number of targets in from other bundles to produce a new, packaged bundle. ''' import os from codalab.bundles.named_bundle import NamedBundle from codalab.common import ( precondition, State, UsageError, ) from codalab.lib import spec_util class MakeBundle(NamedB...
[ "skishore@mit.edu" ]
skishore@mit.edu
b9f866ecbe5dbe3d6ca8a604c63acbefa5ccf299
aa2e2560a8b3877cd5a87455d951715f31779770
/rest/post/models.py
c8554492bc434948e51123f95e57b18c8589ba07
[]
no_license
euntaekseon/api
f27b452850d6d0645d4e0e4c1ade094a8c7b7978
9e7363009677ed5d3f9a151d83cda4b1ce8d9f5f
refs/heads/master
2020-08-30T17:40:18.590876
2019-10-30T05:01:36
2019-10-30T05:01:36
null
0
0
null
null
null
null
UTF-8
Python
false
false
151
py
from django.db import models # Create your models here. class Post(models.Model): title = models.CharField(max_length=100) body = models.TextField()
[ "set1192@naver.com" ]
set1192@naver.com
588be8d4d204381a005e163489d8519964ea0870
260c5e964220bfee484b73efbcb2de5274f118c6
/Login.py
99546e376b872b3bd3d852094ee89b8cae5dbbcb
[]
no_license
Ashank-Dsouza/Instagram-Image-Scrapper
b7e9e11db997389b67e622b08a94570a589d3e39
7c696e568f316595b47c87118454b0291e5269cb
refs/heads/main
2023-04-11T16:16:18.347058
2021-04-30T15:40:04
2021-04-30T15:40:04
363,155,370
0
0
null
null
null
null
UTF-8
Python
false
false
270
py
import instaloader from Constants import Constants class LoginInstagram: def __init__(self): pass def Login(): constants = Constants L = instaloader.Instaloader() L.login(constants.USER, constants.PASSWORD) return L
[ "ashankdsouza054@yahoo.com" ]
ashankdsouza054@yahoo.com
adb68c6127787b716ec3cb1ef22a39edaa1de884
6987647b6487097b90623b5a205e1752966fc91f
/webempresa/services/migrations/0002_rename_services_service.py
cbaacfb1b6aa089795584f9e824e3d902d73f8e7
[]
no_license
Ramiroacev/web-empresa
fea20e6a8eda8dcdcb4f701adc5e3e50945df593
e3c9db95a027bb3511ee2953862708c2071c57b2
refs/heads/main
2023-08-28T01:52:52.660839
2021-11-04T13:15:03
2021-11-04T13:15:03
424,248,657
0
0
null
null
null
null
UTF-8
Python
false
false
323
py
# Generated by Django 3.2.8 on 2021-10-19 13:38 from django.db import migrations class Migration(migrations.Migration): dependencies = [ ('services', '0001_initial'), ] operations = [ migrations.RenameModel( old_name='Services', new_name='Service', ), ...
[ "ramiroacev@gmail.com" ]
ramiroacev@gmail.com
35f1fed4e1d4d0fee1a1f837c9ca8c352be6b3c1
33081717542b8211084aa0def32e0941ef8660e6
/loginhandle/migrations/0004_mysale.py
7e9e72279c609c4133897e26c80075145012ddc1
[]
no_license
Chinmay1812/Restaurant-Management-System
1df7793a85baad3b0c2280bb3481ad97a584fb37
e7c600ea634543d044cc57376afb4fbf846f90f0
refs/heads/main
2023-07-03T19:58:51.876995
2021-08-13T10:38:49
2021-08-13T10:38:49
395,600,330
0
0
null
null
null
null
UTF-8
Python
false
false
577
py
# Generated by Django 3.1.3 on 2020-11-23 17:19 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('loginhandle', '0003_mylist'), ] operations = [ migrations.CreateModel( name='mysale', fields=[ ...
[ "noreply@github.com" ]
noreply@github.com
6e4abc00113d6b561e5acc7b39de395f44ae02c3
388ff52dec8f4780a2d1cfd3f07f9228373a6b03
/0x0A-python-inheritance/6-base_geometry.py
1f8561cd5c07e6e9c0738b8ac8295dfb5d3a7038
[]
no_license
dairof7/holbertonschool-higher_level_programming
6bbbb0eb2f2c13553e63056e0cee0ade7e028afe
6de0ea30c02a69f9721b4304eb0d48fca626e2df
refs/heads/master
2023-01-14T09:58:13.327692
2020-11-10T16:51:50
2020-11-10T16:51:50
259,339,091
0
1
null
null
null
null
UTF-8
Python
false
false
260
py
#!/usr/bin/python3 """ this module createa class BaseGeometry""" class BaseGeometry(): """empty BaseGeometry class""" pass def area(self): """method area return a Exception""" raise Exception("area() is not implemented")
[ "dairof7@gmail.com" ]
dairof7@gmail.com
40baafba1ef7c824adaf1d277f15fefe17073e26
b04477308637c218e9331a14f23965174560c167
/data_storage/json_indexer.py
b69765fe9845b551935abe092b40203ffc99d3b3
[]
no_license
madboy/experiments
2774d038dc3e6b95a3eea17f493cf73c20622611
89d50dd4dc50434b8563d1a19d80cadb09c76383
refs/heads/master
2021-01-10T21:37:51.041348
2015-06-03T12:25:13
2015-06-03T12:25:13
32,628,196
0
0
null
null
null
null
UTF-8
Python
false
false
951
py
#!/usr/bin/env python import sys from collections import defaultdict import json valid_indices = {'date': 0, 'name': 1, 'certainty': 2, 'message': 3} idx = defaultdict(list) def get_key(col_nbr, line): cols = line.split('\t') index_key = cols[col_nbr] return index_key def indexer(source, index_key): ...
[ "k.lindberg@gmail.com" ]
k.lindberg@gmail.com
32c69ea6b628898d783b4ce873b7a823903debef
1795dd51c3b2b44bafea76c68f81296a05b98bdf
/shell.py
7fc7423cdbba8edce48efc946c9396d998c33719
[]
no_license
artempyanykh/data-zero-to-cloud
e76dec563dcad063df6c97c53aabd4bbcc3dd3d3
804baa5524e5b8099ead85acbc033e6058036dd7
refs/heads/master
2020-03-20T18:31:23.201549
2018-06-24T15:07:41
2018-06-28T19:54:02
137,591,995
2
0
null
null
null
null
UTF-8
Python
false
false
964
py
#!/usr/bin/env python import os import IPython from google.cloud import storage import ConfigParser def abspath_join(*args): return os.path.abspath(os.path.join(os.sep, *args)) os.environ['GOOGLE_APPLICATION_CREDENTIALS'] = os.path.abspath( os.path.join(os.path.sep, os.path.dirname(os.path.abspath(__file__)...
[ "artem.pyanykh@gmail.com" ]
artem.pyanykh@gmail.com
98eeeb68733b23d4c1da6ec09a9f857b2e7e3a56
fb2446e3069ad08fff13ed025dd79afce9413e90
/dottedline.py
a399853c86e7e5bb6564fc3e70f308c2ef4241e8
[]
no_license
josenavarro-leadps/class-sample
91f2ec2d9fdc81294dafe14f846c2020e3681e90
11dc46b819f0bef3b81fd4b504ffadf6bbf643c3
refs/heads/master
2021-01-21T04:47:17.365230
2016-06-13T06:21:49
2016-06-13T06:21:49
48,134,472
0
0
null
null
null
null
UTF-8
Python
false
false
300
py
import turtle notshawn = turtle.Turtle() count = 0 notshawn.speed(0) while count < 20: notshawn.forward(5) notshawn.penup() notshawn.forward(5) notshawn.pendown() notshawn.penup() notshawn.goto(-100, -55) notshawn.circle(10) notshawn.pendown() count = count + 1 turtle.exitonclick()
[ "rc.navarro.jose@leadps.org" ]
rc.navarro.jose@leadps.org
dc79004f521b1598dc31d45f964bbd2e5b317f5b
943776f55bf6d5fc52dc4ad7cce73a307d3ac07d
/blog/mysite/blog/lib/python3.7/_collections_abc.py
a20b39d471a9277c0d7657e38b127baed4e9763e
[]
no_license
Samuel227/Django-blog
71d0659915b9a71c947dc4095a18a4a02c7ccd01
70cce55bd29fb7298e68e03d5d15ed89651396fc
refs/heads/master
2022-09-11T13:31:48.252976
2020-06-04T04:43:36
2020-06-04T04:43:36
268,402,135
1
0
null
null
null
null
UTF-8
Python
false
false
64
py
/Users/samuelopawale/anaconda3/lib/python3.7/_collections_abc.py
[ "samuelopawale@Samuels-MacBook-Air.local" ]
samuelopawale@Samuels-MacBook-Air.local
c5e01bf596aac0ed1d208a0af718acd8de4776bc
391fc54a98e7d59cd13f07faf288151222ccef70
/music_generator/voter.py
31d7f5758a9025e802f57e95048f6fbf2d569de7
[]
no_license
BrydonLeonard/MusicalEnsemble
84bc628f65f5ca04b70e35b565bed5e22344b9d0
6f1518588004c83215c59d46a6e4b52c44837627
refs/heads/master
2020-03-28T07:35:46.195555
2018-10-03T13:25:50
2018-10-03T13:25:50
147,911,671
0
0
null
null
null
null
UTF-8
Python
false
false
559
py
from keras.models import load_model import numpy as np from numpy import array class Voter: def __init__(self, model_file): self.model_file = model_file self.model = load_model(model_file) def get_next_note_vote(self, previous_notes): previous_notes_array = array(previous_notes) ...
[ "brydon.leonard@gmail.com" ]
brydon.leonard@gmail.com
d0d6559f25c598874a8af86466a744693f607a08
ee5f59f815bb68d1118941680fdbc1902638577d
/fibonacci.py
3c3b57db736297ce8d67f07e5e2f879fe5763976
[]
no_license
Ercion/learning_python
abe78e53acacb9c07372ce2f841adad213a7dfc4
f85cd144e4bd883078a04ea229f3a459e842238d
refs/heads/master
2021-07-07T21:34:02.504537
2020-07-09T11:29:00
2020-07-09T11:29:00
140,273,073
0
0
null
null
null
null
UTF-8
Python
false
false
453
py
# -*- coding: utf-8 -*- """ Created on Tue Mar 31 17:51:13 2020 @author: Ercan Karaçelik """ def fibonacci(n): ''' Parameters ---------- n : number of fibonacci numbers Returns ------- fib_list : this list will keep fibonacci numbers ''' a=0 b=1 ...
[ "noreply@github.com" ]
noreply@github.com
56514e3944ccbabdddd6b06f15a87ab47d7b8c4c
e30628292d284676300ec9a6c98dd50e5a8f8274
/preprocessing/__init__.py
1ee8c7f936b9fa26219c6a5f108b53715dc5b9e2
[]
no_license
sasidhar-danturti/LoanPrediction-PP
51d7d2ec232c9d4a626367ead8625364b2c69e1f
492022e9fef00d4a63acae3c59e6450d31dc334a
refs/heads/master
2023-07-10T16:49:58.865444
2023-06-22T04:45:34
2023-06-22T04:45:34
103,243,048
0
0
null
null
null
null
UTF-8
Python
false
false
24
py
__author__ = 'synerzip'
[ "sasidhar.danturti@synerzip.com" ]
sasidhar.danturti@synerzip.com
7d3fde787ddd4ec5bd99d7b8c05cfb2be39f464f
96f3b98226bad41fb15ca622a1057a88af85bf23
/saleor/payment/gateways/dummy_credit_card/plugin.py
99b9f9806c28d5033a24b663485ae9561908bd77
[ "CC-BY-4.0", "BSD-3-Clause" ]
permissive
Hispar/saleor
f14b6530ab9afda28cd2cf5141c964d07b8bed6f
c27a0cc85c037820efccefe8a9d6e5460bf21df3
refs/heads/master
2022-11-28T09:16:58.542242
2020-07-22T20:33:34
2020-07-22T20:33:34
281,746,209
0
0
NOASSERTION
2020-07-22T17:51:41
2020-07-22T17:51:40
null
UTF-8
Python
false
false
4,258
py
from typing import TYPE_CHECKING from django.conf import settings from saleor.plugins.base_plugin import BasePlugin, ConfigurationTypeField from ..utils import get_supported_currencies from . import ( GatewayConfig, authorize, capture, confirm, get_client_token, process_payment, refund, ...
[ "iga.karbowiak@mirumee.com" ]
iga.karbowiak@mirumee.com