blob_id
stringlengths
40
40
directory_id
stringlengths
40
40
path
stringlengths
2
616
content_id
stringlengths
40
40
detected_licenses
listlengths
0
69
license_type
stringclasses
2 values
repo_name
stringlengths
5
118
snapshot_id
stringlengths
40
40
revision_id
stringlengths
40
40
branch_name
stringlengths
4
63
visit_date
timestamp[us]
revision_date
timestamp[us]
committer_date
timestamp[us]
github_id
int64
2.91k
686M
star_events_count
int64
0
209k
fork_events_count
int64
0
110k
gha_license_id
stringclasses
23 values
gha_event_created_at
timestamp[us]
gha_created_at
timestamp[us]
gha_language
stringclasses
213 values
src_encoding
stringclasses
30 values
language
stringclasses
1 value
is_vendor
bool
2 classes
is_generated
bool
2 classes
length_bytes
int64
2
10.3M
extension
stringclasses
246 values
content
stringlengths
2
10.3M
authors
listlengths
1
1
author_id
stringlengths
0
212
91d0813852bf8b67c200a9d2a5cb21238342eedc
ed314b839f2519d982b0091ea3b2b3cc8d4243b1
/成绩判断动动手1.py
332d1821290e68930e0db42fb5fe2bb28342e790
[]
no_license
RayYiHang/pycode
2a18bfa82e4453cf8a7b3891965f9813c2e66aaf
bb397e64b93cb189f6fc5d040fe8dfd1693ea548
refs/heads/master
2021-02-15T02:43:10.587981
2020-03-04T12:20:50
2020-03-04T12:20:50
244,857,058
0
0
null
null
null
null
UTF-8
Python
false
false
257
py
score = int(input("请输入分数")) if 80 > score >= 70: print("C") elif 90 > score >= 80: print("B") elif 100 >= score >= 90: print("A") elif 70 > score >= 60: print("C") elif 0 < score < 60: print("D") else: print("输入错误")
[ "leiyihang1234@163.com" ]
leiyihang1234@163.com
3c79582a91883b74e451e0e2255658243d00c489
c1c0f44de906af90da1aeafa35c3780320b292ac
/setup.py
1c0a1658385a12ff952286a5f50ee6acb966aa69
[]
no_license
Gargeebhase/Discogs-Python-Wrapper
696ca79c39d29323bf61635ecba1b7af8873ec67
67581337378346b308871310f862d93450e673b6
refs/heads/master
2023-05-25T05:13:26.132079
2020-06-09T04:01:26
2020-06-09T04:01:26
270,838,242
0
0
null
2023-05-22T20:44:19
2020-06-08T21:51:17
Python
UTF-8
Python
false
false
596
py
import pathlib from setuptools import setup # The directory containing this file HERE = pathlib.Path(__file__).parent # The text of the README file README = (HERE / "README.md").read_text() # This call to setup() does all the work setup( name="discogs-wrapper-python", version="1.0.1", packages=["discogs_...
[ "bhase@usc.edu" ]
bhase@usc.edu
9bf89c7da6c1192e8c8268e53934744bdeeae1ae
4b6e6435873402a9d6ba27e243d290559a91d05b
/RiggingTool/Modules/Animation/circleControlStretchyIK.py
89a8706804707d49c2317658038cc78583aad41b
[]
no_license
pouyaz123/Python-character-pipeline
203f6c859137e30b49b18c666ab795e6bbdfd788
d0703a5df18818d027346e7dc713e41b503f0997
refs/heads/master
2021-01-22T23:26:42.230842
2014-11-11T00:33:32
2014-11-11T00:33:32
null
0
0
null
null
null
null
UTF-8
Python
false
false
9,377
py
CLASS_NAME = 'CircleControlStretchyIK' TITLE = 'Circle-controlled Stretchy IK' DESCRIPTION = 'This module provies stretchy IK on the joint chain,with the ability to lock the stretchiness with a 0->1 slider value. IK twist is controlled by an adjustable circle rotation control.' import System.utils as utils reload(u...
[ "pouya_zadraf@yahoo.com" ]
pouya_zadraf@yahoo.com
5219f4343b19955932f9428cd6389673b4742d66
3a987a3db71e4f601cd7b1810be432e9dc33599b
/day8/多线程/守护线程.py
7022da15ab13620775fb9dbb38908ae268151e1a
[]
no_license
jiaziming/new-old
da8332bfe33f597e3cb3fbeeeb61c22e47760727
cd120eb88a9e52fdf7f079bcac6fff28c2cc2207
refs/heads/master
2020-04-22T09:40:21.429429
2019-04-04T08:18:26
2019-04-04T08:18:26
170,280,974
0
0
null
null
null
null
UTF-8
Python
false
false
456
py
#!/usr/bin/python # -*-coding:utf-8-*- import time,threading def run(n): print('(%s) -------runing -----\n' %n) time.sleep(2) print('----done----') def main(): for i in range(5): a = threading.Thread(target=run,args=[i,]) a.start() #a.join() print('starting thread',a....
[ "jiaziming123@sina.cn" ]
jiaziming123@sina.cn
9b1eca8722ab502f4b29d6c68e3f4f0f937f5538
5dc8d8dfa3076e3f2616a7c233ae0298bc551986
/RPi/Assignment5.py
8fbc2c0343f24c3b7bda49105db705777b6282a6
[]
no_license
mdruiz/EECS-113-Hardware-Software-Interface
e1062bea69423e9636ddbace57c4e330c05aa78d
80b3350302b3d2f21c18025f7783bc25d4ddeddf
refs/heads/master
2021-01-01T17:40:48.214643
2017-07-23T22:51:50
2017-07-23T22:51:50
98,129,998
1
0
null
null
null
null
UTF-8
Python
false
false
2,019
py
import smtplib from email.mime.text import MIMEText import datetime import socket import time import getpass import RPi.GPIO as GPIO # Account Information RECIPIENT = 'xxxxxx@gmail.com' # Email to send to. (CAN BE ANYTHING) SENDER = 'xxxxxx@gmail.com' # Email to send from. (MUST BE GMAIL) PASSWORD = '' ...
[ "noreply@github.com" ]
mdruiz.noreply@github.com
9ea9ef27a581e31b26cdfc98389f67fe44e661ac
5346c931a5133ef036c7b5a89452bd0222b1cd92
/SocialMedia/App/migrations/0047_auto_20200519_0121.py
9631a4bf440728aa72013c54470779801214624b
[]
no_license
the-pythonists/letsChat
7cac4af6c9b2e542f932be3f2715c4a8f7cbbc66
df64d439ada9f5b9def2d566cd920a82d9fe3cab
refs/heads/master
2022-11-14T14:11:57.085296
2020-07-01T18:07:59
2020-07-01T18:07:59
261,536,469
1
0
null
2020-05-29T17:49:20
2020-05-05T17:15:18
HTML
UTF-8
Python
false
false
600
py
# Generated by Django 3.0.3 on 2020-05-19 01:21 import datetime from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('App', '0046_photos_album'), ] operations = [ migrations.AddField( model_name='album', name='date', ...
[ "mohammad.danish2694@gmail.com" ]
mohammad.danish2694@gmail.com
f2fa43b4315009568f7b49f8d37a9aa0e6d9d2e1
cfcc212a8f9da735122167a8e8abca41dd56022a
/rqt_battery/rqt_battery_py/src/rqt_batterypkg/my_module.py
46d82b8247a3c98de26d3b3f79ee72d605b579b3
[]
no_license
zhexxian/SUTD-S03-DSO-Indoor-Drone
3d5b8a126fedbf0eb24f626fb76786736fb634b0
6a56f357de24e9948b02f091fb63ad7481336cad
refs/heads/master
2021-03-16T10:17:26.103007
2017-07-28T13:31:26
2017-07-28T13:31:26
77,600,900
1
0
null
null
null
null
UTF-8
Python
false
false
4,258
py
import os import rospkg import rospy import tf from std_msgs.msg import Float32 from crazyflie_driver.msg import Command, int_array, Pose2D, equation, equation_array from geometry_msgs.msg import Pose, PoseArray from qt_gui.plugin import Plugin from python_qt_binding import loadUi from python_qt_binding.QtWidgets imp...
[ "shunyutan@hotmail.com" ]
shunyutan@hotmail.com
07c8d6739a953f5ee1ed1512aa96f4affe98278d
c557afad19bec111e5dbc128f7e64a97997519ad
/[yuya]/bin/pip3
09dc3292d9d9db960b951653f583d8e4882467ec
[]
no_license
yuyayoshidatokyo/Aidemytraining
4bb39f7522cd81d4b54f68060e61f8c944497308
dae343843e47be4b63399b33625371936aefaf96
refs/heads/master
2020-03-20T13:43:44.353288
2018-06-15T08:59:10
2018-06-15T08:59:10
137,464,641
0
0
null
null
null
null
UTF-8
Python
false
false
228
#!/Users/yuya/Desktop/[yuya]/bin/python3 # -*- coding: utf-8 -*- import re import sys from pip import main if __name__ == '__main__': sys.argv[0] = re.sub(r'(-script\.pyw?|\.exe)?$', '', sys.argv[0]) sys.exit(main())
[ "a15.r5th@g.chuo-u.ac.jp" ]
a15.r5th@g.chuo-u.ac.jp
5769534b17fe63983051a371daade258486785d2
585ce7b85c0db2f36ff3da3a1a12badcbe61e59d
/utils/.svn/text-base/PathHelper.py.svn-base
a35af1a1a9fd42c94655add1fdc935326389b788
[]
no_license
cash2one/TTEngine
41c9fb2ecad8b03c1b8002f6c9abf9978049e933
1f2525902417cfafbb5086fea9d730f0d92e84f2
refs/heads/master
2021-01-20T00:02:45.209609
2015-06-30T03:20:48
2015-06-30T03:20:48
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,099
#coding=utf8 __author__ = 'xj' from utils.OsHelper import isWindows import os def getConfigDir(os): return "server/config/" def getMonitorDir(os): return "server/monitor/" def getLocalDir(os): return "server/config_local/" def getLicensePath(os, xtDir): if isWindows(os): return "bin/lice...
[ "2928807616@qq.com" ]
2928807616@qq.com
1a7048886021c154c279d665d513e857da759255
95e9ec4b3b0d86063da53a0e62e138cf794cce3a
/webroot/dqb/dqb/base/myjson.py
e6843b72d13a46c5fb705787579293028f384d2f
[]
no_license
wjl626nice/1902
c3d350d91925a01628c9402cbceb32ebf812e43c
5a1a6dd59cdd903563389fa7c73a283e8657d731
refs/heads/master
2023-01-05T23:51:47.667675
2019-08-19T06:42:09
2019-08-19T06:42:09
180,686,044
4
1
null
2023-01-04T07:35:24
2019-04-11T00:46:43
Python
UTF-8
Python
false
false
1,822
py
from django.shortcuts import HttpResponse from rest_framework.renderers import JSONRenderer from base.errcode import err_number class JSONResponse(HttpResponse): """ 用于返回JSON数据. """ def __init__(self,code,data='',total=1,count=-1,**kwargs): kwargs['content_type'] = 'application/json' ...
[ "18537160262@qq.com" ]
18537160262@qq.com
b1ce683f3b89b48ea7afa28f56b7fc8eaee1e74e
502cfb137f5b04f70a29eb28d787582f7fc2b062
/test.py
44eff914d4efb3ccbc360a09e5e3bdbac81262d4
[]
no_license
Uncle-Yuanl/YOLOv3-tensorflow2.0
1c5ca2981e41f11aa9ed227760b1d10c8adadf91
41d52d449cc8113b0a781b6bc497a15c35eff502
refs/heads/master
2022-09-15T17:12:06.046537
2020-05-27T01:20:23
2020-05-27T01:20:23
258,966,086
0
0
null
null
null
null
UTF-8
Python
false
false
4,474
py
# -*- coding: utf-8 -*- """ Created on Wed May 13 12:56:24 2020 @author: Administrator """ from core.yolov3 import YOLOv3, decode import core.utils as utils from core.config import cfg import tensorflow as tf import cv2 import numpy as np import shutil import os # 确定参数 INPUT_SIZE = 416 CLASSE...
[ "noreply@github.com" ]
Uncle-Yuanl.noreply@github.com
2411b3f6bbfe5e5ffedcfd7bed87219288f96d15
ce9933202516a92da5b6d05137e260baa2f70e9b
/kkcabinet/__init__.py
f06366173f540423958eb0b37b3f06a16ae51076
[]
no_license
sushenzhang/KKCabinet_project
a067bb1e4b481cbf73861ae76cefecadac859dab
1b9064102ad8b0cda959a2a05bb0120ced2bffdb
refs/heads/master
2023-01-09T06:30:12.950246
2020-04-04T14:43:49
2020-04-04T14:43:49
249,875,843
0
0
null
2022-12-27T15:37:04
2020-03-25T03:14:41
HTML
UTF-8
Python
false
false
31
py
""" Package for kkcabinet. """
[ "zhangsushen0@gmail.com" ]
zhangsushen0@gmail.com
7f360a2cd4082b6bab85f1e0827faf0b71b4a0d5
45413941c9a17483850b83bf621b68f2639eeb74
/emotionEmoji.py
366a93a305e489bd0a1183b38cb058d0aa134c05
[]
no_license
anvi-mittal31/EROS-Your-Own-Design-Store
6f6f4688c98914f571681b3945bd3ac26a59e6fd
f99ec6c3706dcb36a4de3789183412a17e5d9a6b
refs/heads/master
2023-07-04T21:20:47.681096
2021-08-07T18:20:21
2021-08-07T18:20:21
378,417,964
0
0
null
null
null
null
UTF-8
Python
false
false
3,369
py
from flask.templating import render_template from tensorflow.keras.models import model_from_json import numpy as np import cv2 import os import random class FacialExpressionModel(object): EMOTIONS_LIST = ["ANGRY", "DISGUST", "FEAR", "HAPPY", "SAD", "SURPRISE", "NEUTRAL"]; ## dont change the order def __init__...
[ "mittalanvi31@gmail.com" ]
mittalanvi31@gmail.com
6bd41a058a205f913ee719533a4694bb10aac100
98b203d8ecf2f51ab0f7707eeee09ee07d109577
/python/problems/longest_increasing_subseq_effi.py
4d403b06cc0d168ddb53ec4b98265e6702b48cd8
[]
no_license
razerboot/DataStrcutures-and-Algorithms
9967727a730fa59daa00a91c021042d885584b10
b47560efe4fa59ae255dc83c791e18acd9813c22
refs/heads/master
2021-07-16T19:08:16.770941
2021-01-21T11:19:19
2021-01-21T11:19:19
95,435,549
0
0
null
null
null
null
UTF-8
Python
false
false
1,837
py
#for strictly increasing sequence in a array with distinct elements #ref : www.geeksforgeeks.org/longest-monotonically-increasing-subsequence-size-n-log-n/ def floor(arr, val, l, r): while r - l > 1: mid = (l + r) / 2 if arr[mid] <= val: l = mid else: r = mid re...
[ "akshaykumar@akshaymac.local" ]
akshaykumar@akshaymac.local
b56c667458fbe3f787e21688fed454e706fab48a
64f4ae3ceec4335e11800c1ffd12d0f651cba6e3
/codes/graphs.py
274d806807eff4988514bf761de73bbf1fc8326f
[]
no_license
THUNLP-AIPoet/WMPoetry
b83c922c6a4bbbeb673a69102efbbe6d0b8b9aa3
d88c7d4e49b1e48d6c23f9cda12b8dbef59beac1
refs/heads/master
2022-10-08T03:22:30.377450
2020-06-11T15:48:03
2020-06-11T15:48:03
271,443,952
38
14
null
null
null
null
UTF-8
Python
false
false
18,392
py
# -*- coding: utf-8 -*- # @Author: Xiaoyuan Yi # @Last Modified by: Xiaoyuan Yi # @Last Modified time: 2020-06-11 20:16:17 # @Email: yi-xy16@mails.tsinghua.edu.cn # @Description: ''' Copyright 2020 THUNLP Lab. All Rights Reserved. This code is part of the online Chinese poetry generation system, Jiuge. System URL: ht...
[ "mtmoonyi@gmail.com" ]
mtmoonyi@gmail.com
11d574873016cebec8bc817967783c8384d642f8
9b9a02657812ea0cb47db0ae411196f0e81c5152
/repoData/opinkerfi-adagios/allPythonContent.py
2c936d37e8f3eb56e3d4cf91652d8ed5eed39dfd
[]
no_license
aCoffeeYin/pyreco
cb42db94a3a5fc134356c9a2a738a063d0898572
0ac6653219c2701c13c508c5c4fc9bc3437eea06
refs/heads/master
2020-12-14T14:10:05.763693
2016-06-27T05:15:15
2016-06-27T05:15:15
null
0
0
null
null
null
null
UTF-8
Python
false
false
462,213
py
__FILENAME__ = auth # Adagios is a web based Nagios configuration interface # # Copyright (C) 2014, Pall Sigurdsson <palli@opensource.is> # # This program is free software: you can redistribute it and/or modify # it under the terms of the GNU Affero General Public License as # published by the Free Software Foun...
[ "dyangUCI@github.com" ]
dyangUCI@github.com
0e40086e71cd625c8401d64c50458cd0a2ac5370
c44a219f2465db28abdbe7b147a13e77109f8573
/pygameGUI.py
37c16ad6ef298b8727a25ae81abc50a8080e4029
[]
no_license
CoreTaxxe/pygameGUI
c9ecbeac8cfc488534d237624d204031857189e1
6859a3cc5d52a3534988e919ddc4529f40c11476
refs/heads/master
2020-05-15T23:29:39.218472
2019-04-21T16:15:25
2019-04-21T16:15:25
182,555,399
0
0
null
null
null
null
UTF-8
Python
false
false
115
py
from button import Button from label import Label from inputbox import InputBox from fontobjects import render_text
[ "47256718+CoreTaxxe@users.noreply.github.com" ]
47256718+CoreTaxxe@users.noreply.github.com
3f6521bf8afa7ea008e775bbaf415bf9906cbac2
97aac8c77fb7f2ad9bf8bfd24c320ba08491f723
/csv_quote_game.py
007513171c1681e87b54e63b7811ae0c4a0606dd
[]
no_license
agparkes/python_scraping_game_app
ac3800f56bfe2baf29e4657e15cc87745fd3b240
16f9c5002bc5e799157880c9e0a11a29d7513361
refs/heads/master
2022-06-16T14:09:08.767821
2020-05-12T00:44:12
2020-05-12T00:44:12
261,931,285
0
0
null
null
null
null
UTF-8
Python
false
false
2,078
py
# http://quotes.toscrape.com import requests from bs4 import BeautifulSoup from random import choice from csv import DictReader BASE_URL = "http://quotes.toscrape.com" def read_quotes(filename): with open(filename, "r") as file: csv_reader = DictReader(file) return list(csv_reader) def start_...
[ "agparkes413@gmail.com" ]
agparkes413@gmail.com
f64e6334a50348abd20c1e2b1141f25c1a15d653
38bd99c72ca2521489ce1eb02b7604095b02b585
/src/1680-ConcatenationOfConsecutiveBinaryNumbers.py
67fc18efbe6b891b864fd59abb68a2db2a44bdad
[ "MIT" ]
permissive
Jiezhi/myleetcode
eadbd7d9f1f0ea6a0ee15c2da9040dcfbd28b522
4dd1e54d8d08f7e6590bc76abd08ecaacaf775e5
refs/heads/master
2023-03-16T15:52:21.833622
2023-03-09T14:33:03
2023-03-09T14:33:03
139,965,948
1
2
null
null
null
null
UTF-8
Python
false
false
1,049
py
#!/usr/bin/env python3 """ CREATED AT: 2022-09-23 URL: https://leetcode.com/problems/concatenation-of-consecutive-binary-numbers/ GITHUB: https://github.com/Jiezhi/myleetcode FileName: 1680-ConcatenationOfConsecutiveBinaryNumbers Difficulty: Medium Desc: Tag: See: https://leetcode.cn/problems/concatenation-of-...
[ "Jiezhi@users.noreply.github.com" ]
Jiezhi@users.noreply.github.com
6eae886e1c4593ab201a1e978c02d9c0bad900f6
335e91f503ae34fa4bd267396d1faabdf105fb5c
/data/process_data.py
b59d7a65666846f734e395335df2999201ab8b28
[]
no_license
FRANZKAFKA13/Udacity-Data-Science-Proj-2
d5c6786419796acfca73c62da3500679a4e4e37f
b87d58e18ff06f3dbd0e1a5d6e647ed4c4ff364e
refs/heads/master
2023-03-03T09:33:38.619277
2021-02-14T19:50:38
2021-02-14T19:50:38
334,509,995
1
0
null
null
null
null
UTF-8
Python
false
false
3,363
py
import sys import pandas as pd from sqlalchemy import create_engine def extract_data(messages_filepath, categories_filepath): """ Extract step of the ETL pipeline. :param messages_filepath: The filepath of the message.csv file :param categories_filepath: The filepath of the categories.csv file :r...
[ "carstengranig@gmail.com" ]
carstengranig@gmail.com
89fce0cb8074ad2a3c7b7435827857705b5155b5
b81d0c338e0287e37f89c9bab03a48a58e58f689
/My_Blog/My_Blog/urls.py
93a07cd46fb988743eb9610d79fc6669809ea9ff
[]
no_license
syedfahimabrar/Django_Blog_Project
5773ffa7409ff039515c64da3abd4ef0168db298
0e1210781d697f6fef11cfce2898618448446a40
refs/heads/master
2022-10-25T11:17:36.783557
2020-06-17T11:39:38
2020-06-17T11:39:38
null
0
0
null
null
null
null
UTF-8
Python
false
false
512
py
from django.contrib import admin from django.urls import path, include from . import views from django.conf import settings from django.contrib.staticfiles.urls import staticfiles_urlpatterns, static urlpatterns = [ path('admin/', admin.site.urls), path('accounts/', include('app_login.urls')), path('blogs...
[ "mahdi15-1078@diu.edu.bd" ]
mahdi15-1078@diu.edu.bd
e181ba65208da4c102ad9870abd378ebd3ed1ebf
25b16b0604e71edc3a695ea9254c2214a8388a3d
/mainwindow.py
23e3df87bbe4001ce4a92a894795808b791c9cc4
[]
no_license
peetpan/Facial-Recognition-Attendance-System
38db4fff53a6322a7b3d529681e273d80c8b2e51
a0b5946bd3a3805c112212ca2e5d3bd42ece3e9b
refs/heads/main
2023-04-28T13:04:17.324366
2021-05-23T07:07:29
2021-05-23T07:07:29
369,984,128
0
0
null
null
null
null
UTF-8
Python
false
false
1,350
py
import sys from PyQt5.uic import loadUi from PyQt5 import QtWidgets from PyQt5.QtCore import pyqtSlot from PyQt5.QtWidgets import QApplication, QDialog import resource # from model import Model from out_window import Ui_OutputDialog class Ui_Dialog(QDialog): def __init__(self): super(Ui_Dialog, self).__i...
[ "peetamber.p@somaiya.edu" ]
peetamber.p@somaiya.edu
9cddd0d77233442e3a96b4c9c680d6900a6ac27f
462548ed980e90a878445df59785e2654a6681ed
/services/TutorialCardService.py
573fe74ac79a6f1ce9d9946e7b26f1071c903063
[]
no_license
Orpheusp/ohm-chatbot-backend
5828a5463626c5875d21623c82839183003cb0f4
bf8c0fb13c8bd05b5e3564f6af5677563aa72d36
refs/heads/main
2023-01-11T10:55:35.697073
2020-11-16T09:42:50
2020-11-16T09:42:50
312,749,292
0
0
null
null
null
null
UTF-8
Python
false
false
1,790
py
from models.TutorialCard import TutorialCardDocument from models.typedefs import TUTORIAL_CARD_TYPE from typing import Optional, List, Union class TutorialCardResource: resource: str resource_text: Optional[str] resource_type: str forward_condition: Optional[str] forward_condition_type: Optional[s...
[ "stannolite@gmail.com" ]
stannolite@gmail.com
5d59ef3a58fea973713638a67bc342b2ad0a9f27
d3f948c200c334341d710880f92c25fc01f82272
/venv/Scripts/pip3-script.py
f2532a22e72df406bc4317b41d1e391db437b309
[]
no_license
reyvergara/project3
3d91e53e9d7b771075002ba80e745afc9b90e10f
b62f9c6b3ffd5c0f83ee9d9714b42647edd5d74a
refs/heads/master
2020-08-10T12:47:05.597752
2019-10-11T05:01:49
2019-10-11T05:01:49
214,345,719
0
0
null
null
null
null
UTF-8
Python
false
false
414
py
#!C:\Users\rayve\PycharmProjects\Project3\venv\Scripts\python.exe # EASY-INSTALL-ENTRY-SCRIPT: 'pip==19.0.3','console_scripts','pip3' __requires__ = 'pip==19.0.3' import re import sys from pkg_resources import load_entry_point if __name__ == '__main__': sys.argv[0] = re.sub(r'(-script\.pyw?|\.exe)?$', '', sys.argv...
[ "reyvergara@csu.fullerton.edu" ]
reyvergara@csu.fullerton.edu
7d0eac6bc6769a63f609d726e612586ed47b6af8
e1ae535d8613aae44e8f9eaa4daf50c1e63665b7
/multimedia/south_migrations/0026_auto__chg_field_remotestorage_media.py
e4f8b05c6dae4836b6317150e40ea7eda035d2ed
[]
no_license
teury/django-multimedia
48b8fba9abc101286990b1306d85967bd197f08e
4ddd5e6d9f4f680e2f4f68cc3616ced8f0fc2a43
refs/heads/master
2021-01-16T20:50:24.573686
2015-04-23T21:22:38
2015-04-23T21:22:38
null
0
0
null
null
null
null
UTF-8
Python
false
false
6,388
py
# -*- coding: utf-8 -*- from south.utils import datetime_utils as datetime from south.db import db from south.v2 import SchemaMigration from django.db import models class Migration(SchemaMigration): def forwards(self, orm): # Changing field 'RemoteStorage.media' db.alter_column(u'multimedia_remo...
[ "jason.bittel@gmail.com" ]
jason.bittel@gmail.com
433d7d3faf281d73df9a7ed24bac6ed44a72b96c
f6cae515a4718b9f5165f739366baebf7bb50de3
/hazard_feed/migrations/0007_emailtemplates.py
2e0c69484a4404e82a7c8daff6aad12feaf1ecc6
[]
no_license
hitnik/pogoda_feed
1781a9a1a7d1fb7259e0711ac2778881a0dfd880
ce5fe98c4200946330ae65f1b1df7ebcbec5c864
refs/heads/master
2022-12-10T17:57:27.488518
2021-07-15T19:52:49
2021-07-15T19:52:49
235,610,147
0
0
null
2022-12-08T07:46:26
2020-01-22T16:04:54
Python
UTF-8
Python
false
false
793
py
# Generated by Django 3.0.2 on 2020-02-06 04:40 from django.db import migrations, models import tinymce.models class Migration(migrations.Migration): dependencies = [ ('hazard_feed', '0006_weatherrecipients_uuid'), ] operations = [ migrations.CreateModel( name='EmailTemplate...
[ "hitnik@gmail.com" ]
hitnik@gmail.com
5bbc71c559fd0f6b93689846f8d9309ea7d173fc
da2e4fad2d906c045365b4caa69bbfb559aa64a9
/av.py
a9fbbfbe8480f36c67ff5851acbec8bfcfcc93ff
[]
no_license
AGprofessional/PythonTradingBot
ab9fefca54e5420f087e9158b25de2cec8ff0ade
ecf63abd558d3923e865c91156e577dcc597a7dd
refs/heads/main
2023-07-14T18:18:26.761859
2021-08-21T04:28:17
2021-08-21T04:28:17
398,464,973
0
0
null
null
null
null
UTF-8
Python
false
false
2,738
py
import pandas as pd import requests import io from glom import glom #this works #https://www.alphavantage.co/documentation/#fx-intraday #https://www.youtube.com/watch?v=d2kXmWzfS0w from alpha_vantage.foreignexchange import ForeignExchange from alpha_vantage.timeseries import TimeSeries from alpha_vantage.cryptocurrenci...
[ "noreply@github.com" ]
AGprofessional.noreply@github.com
4644ab0b675a97687d04eb2b5e216bb376972288
2e0c35b02706fb5fb4fa489812deb5135345fe74
/Mundo 2/aula 9.py
abdfe6d9ba4a260467a8cd7d696f62019b9b92c9
[]
no_license
damiati-a/CURSO-DE-PYTHON
86a6d063d34ac7c4835fc03cd96c3e708141556f
cc8973611c0175ad0a2cd9b302287eb49f213c47
refs/heads/main
2023-04-21T09:39:12.806428
2021-05-29T13:01:13
2021-05-29T13:01:13
371,973,352
0
0
null
null
null
null
UTF-8
Python
false
false
952
py
# Estruturas de repetição (for) ''' faço 'c' no intervalo(1,10) for 'c' in range(1,10) ''' ''' laço c no intervalo(0,3) passo pula passo pega ################################# for c in range(0,3) passo pula passo pega ''' ''' for c in range(0,3) if moeda: pega p...
[ "noreply@github.com" ]
damiati-a.noreply@github.com
2d337c23eb9d0b0e67728ffd5b44be81efb0d9cf
1f32a4a5d54e4690b68e8e3e92524535bb1ca8f0
/akai-to-wLightBox.py
adeb80dd9cac282e14f0e22fc0955abcfc30cc9e
[]
no_license
EdwardEisenhauer/AKAI-LPD8
afeb2d193141e8b2f8d72c1ed84cf3273aa17604
2dd6db4926d12e15b1227997d92cb4a1aa52f4d2
refs/heads/master
2023-01-14T09:23:04.085039
2020-03-27T15:31:42
2020-03-27T15:31:42
247,360,448
1
1
null
null
null
null
UTF-8
Python
false
false
2,665
py
from threading import Thread from queue import Queue from time import sleep from blebox import LightBox from akai import Akai import sys ip = sys.argv[1] pasek = LightBox(ip) akai = Akai() """ Read knob values and send the GET to set the Lights. Monitor the knobs values. If anyone changes send a GET to set the lig...
[ "sergiusz.warga@gmail.com" ]
sergiusz.warga@gmail.com
8cab5cb127fb2a4d84d2c87d1da7e4fe38a79492
dfb306fbc6f85f4ff66ab659911909cf4dc1e7c1
/180104.py
03d231ed48308b93ea26c7137615b101c0937874
[ "MIT" ]
permissive
majaldm/ML
d83e4577361e6d15725eb1d52caf8ead2f828de2
1f99f36c90b226acf151c3d65ed767f635a1469c
refs/heads/master
2021-05-05T21:34:11.524219
2018-01-04T07:17:18
2018-01-04T07:17:18
115,596,139
0
0
null
null
null
null
UTF-8
Python
false
false
2,271
py
# coding: utf-8 # In[14]: get_ipython().system(' pip install --user flask') # In[31]: from flask import Flask, request, make_response, jsonify app = Flask('flask-api') @app.route('/') def hello_world(): message = {'message': 'hello world'} return jsonify(message) from ptt_crawler import PttCrawler ...
[ "noreply@github.com" ]
majaldm.noreply@github.com
08d5d500388fe07a98eca25fb7e0cc15ff850948
c9499ae048d31f9e37b143500728ca55d8a3e6e3
/MainPackages/RunDSS.py
5acbcadcea9370cdb1158d70179c69eb13c1866d
[]
no_license
fprystupczuk/HPET_PowerFlow_Model
c7eadf6e3a3942736ae3caff8ccc62f45429d9a6
671f5a3085094bf135753c9cda1edb511dc80f65
refs/heads/main
2023-04-26T21:14:30.700547
2021-05-25T11:15:49
2021-05-25T11:15:49
370,665,533
1
0
null
null
null
null
UTF-8
Python
false
false
13,402
py
#!/usr/bin/env python3 # -*- coding: utf-8 -*- import random from MainPackages.SolvePET import SolvePET from MainPackages.SolveHPET import SolveHPET from MainPackages.Extract_DSSmonitors_data import Extract_DSSmonitors_data def RunDSS(os,np,pd,math,Main_path,model,Network,Feeders,Vcontrol,PV_penetration,ElectricVars,...
[ "nrvfederico@gmail.com" ]
nrvfederico@gmail.com
9a6be77d3f1ab6b5515bb83d0b6a6eee5e09b43b
eda7fbf7bbc0614e6fc448d2f6e3fd1918dadcbe
/new-api-tests/applications/create-surface-caps-from-centerlines/create_surface_caps.py
e61f1afbfba81befc17a2e58529183112bb6877e
[]
no_license
SimVascular/SimVascular-Tests
e97c136ad3bf3a7275d40c0323abca7817eb2eca
55018e1edcd070bce77ae5af4caf2105353d3697
refs/heads/master
2023-02-11T02:19:06.755815
2023-02-02T18:26:31
2023-02-02T18:26:31
42,211,398
2
10
null
2023-02-02T18:26:32
2015-09-10T00:06:14
Python
UTF-8
Python
false
false
3,496
py
#!/usr/bin/env python """This script is used to create an SV model from a closed segmentation surface. The """ import argparse import os import sys from centerlines import Centerlines from surface import Surface sys.path.insert(1, '../../graphics/') import graphics as gr def parse_args(): '''Parse command-line...
[ "davep@stanford.edu" ]
davep@stanford.edu
c45b5b7aec7cf94b501dec46b90a47078258aa52
70abec2e6d9b0c8effa27bdacb8bf9f3ae09c3ee
/api/opinion/apps.py
eb8c70b2f0878c1f1dcdd9cc04cb3e44a5c1ea09
[]
no_license
lufepama/django-infojobs-clone-backend
730a336c869c54873a952043241f7909c8be3dfe
79d41f7f78b0ce8d71ae39760366ef4008769ed9
refs/heads/master
2023-08-22T06:17:47.392803
2021-10-16T01:35:14
2021-10-16T01:35:14
null
0
0
null
null
null
null
UTF-8
Python
false
false
89
py
from django.apps import AppConfig class OpinionConfig(AppConfig): name = 'opinion'
[ "lufepama31@gmail.com" ]
lufepama31@gmail.com
b5115902acdf2e1b2a89be3f25d525aa1e948b66
d79520ffb6759925b06110852864ac4c9693a100
/requests_unittest_agileone.py
1dad4c7383154398b271eb15204993955e9f7f37
[]
no_license
ZhuYing95/agileone
6505fe56b38d5a3e34a4ee0c9e44d16a8960d730
e9556e8112d73621461099560b0d8b1b6432d207
refs/heads/master
2022-04-22T21:10:03.321750
2020-04-15T12:22:22
2020-04-15T12:25:08
255,907,991
1
0
null
null
null
null
UTF-8
Python
false
false
5,204
py
#!/usr/bin/env python # -*- coding: utf-8 -*- import HTMLTestRunner import requests import os import time import unittest # 封装requests库的get和post请求方法为一个自定义类 class Connection: def __init__(self, host, port=80): self.base_url = 'http://%s:%d' % (host, port) self.session = requests.session() def...
[ "1291289080@qq.com" ]
1291289080@qq.com
91aefd24b6e56d4907a756aa0de57697ad4bcc97
cead5aa67c0c45038917f306fefe31b53b5b639f
/temp/PyQt/Qthread.py
b5f82a26132421016342acaef9e4b384791399a7
[]
no_license
songaal/AutoLogin
0a79400a88f1823aebfb819c98b489aeb267a679
778f30dd92dc4dba3d0a632511113bfe145d1b94
refs/heads/master
2022-02-27T23:13:54.152894
2019-09-22T16:27:41
2019-09-22T16:27:41
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,762
py
from PyQt5.QtCore import * from PyQt5.QtWidgets import * ''' https://freeprog.tistory.com/351 ''' class MyMainGUI(QDialog): def __init__(self, parent=None): super().__init__(parent) self.qtxt1 = QTextEdit(self) self.btn1 = QPushButton("Start", self) self.btn2 = QPushButton("Stop",...
[ "taxkmj@naver.com" ]
taxkmj@naver.com
c6ecf3c59e8d315c1650c67532864af71b386c05
4e8b37ca121be19cd3b4e73a6592be2659d8134c
/backend/Techfesia2019/accounts/migrations/0005_auto_20190701_1708.py
a7113d24504a420a0d91b930fb768ac3673981f3
[ "MIT" ]
permissive
masterashu/Techfesia2019
365b9b8dc1cb0bc6b613c72632e8b7a2a2a70905
8fd82c4867c8d870b82a936fc0f9e80f11ae03e7
refs/heads/backend-event-registrations
2020-06-10T20:58:40.850415
2019-07-27T23:00:21
2019-07-27T23:00:21
193,744,800
1
1
MIT
2019-06-29T17:12:31
2019-06-25T16:29:12
Python
UTF-8
Python
false
false
466
py
# Generated by Django 2.2.2 on 2019-07-01 11:38 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('accounts', '0004_auto_20190701_0956'), ] operations = [ migrations.AlterField( model_name='institute', name='name', ...
[ "masterashu@live.in" ]
masterashu@live.in
148dd580eb7efdf224a1b60c6aa54dc584d2a4e3
6aa8605b7fa86ec6568247941c8c0dbde3fc9bd1
/bbn/camb_to_class.py
6f6d9dc6a1f804fc4b41f2f7c689bcb787104286
[]
no_license
anirbandas89/BDM_CLASS
dfa3a0a4a24060d622829ce4bd7c9d0e74780bd1
33404bdf7dea762413cb9dd3aff9957fae7221ad
refs/heads/master
2020-05-16T09:31:47.898864
2019-06-08T07:25:09
2019-06-08T07:25:09
182,951,756
0
0
null
null
null
null
UTF-8
Python
false
false
423
py
import numpy as np data = np.loadtxt('BBN_full_Parthenelope_880.3.dat') f = open('BBN_full_Parthenelope_880.3_class_format.dat', 'w') #print data[0] for i in range(len(data)): f.write(str(data[i,0])+' ') f.write(str(data[i,2])+' ') f.write(str(data[i,3])+'\n') print len(data) #f.write( str(data[0,0])+...
[ "noreply@github.com" ]
anirbandas89.noreply@github.com
d9af383d21bace3659d9e389f6fd471dde4ed386
fd2a7b889809ed302d2b3013cefb2c441dfb642a
/venv/bin/pylint
d519fa039ead9994ac2d7332d516f5a5eb8c57bd
[]
no_license
AnotherCoolDude/hello_flask
f27a976243e7956d9cc1a43953a119e396606089
79069a2975b479cb7479822c5946607783ab37b0
refs/heads/master
2022-10-08T13:10:44.602551
2019-10-02T14:35:21
2019-10-02T14:35:21
210,346,653
0
0
null
2022-09-16T18:10:44
2019-09-23T12:13:33
Python
UTF-8
Python
false
false
267
#!/Users/christianhovenbitzer/python/hello_flask/venv/bin/python3 # -*- coding: utf-8 -*- import re import sys from pylint import run_pylint if __name__ == '__main__': sys.argv[0] = re.sub(r'(-script\.pyw?|\.exe)?$', '', sys.argv[0]) sys.exit(run_pylint())
[ "christianhovenbitzer@Christians-MBP.fritz.box" ]
christianhovenbitzer@Christians-MBP.fritz.box
b70442fbe888bee246a8aac51eb35d72971386bc
82dc886733bd7999d8189e03f1f7a6201541abaa
/_operators.py
5ceb1071dc7421d674d12265e9b33bfdd80f4ed5
[]
no_license
lucaskaimthelen/python_training_3
b78f4da101627ad2974538bc0926e65f82749e18
4339dd125b7b67d153f8b1f2eac966f4dde5d9bd
refs/heads/master
2020-07-30T12:09:06.007258
2019-09-22T23:37:20
2019-09-22T23:37:20
210,228,607
0
0
null
null
null
null
UTF-8
Python
false
false
612
py
# http://www.tutorialspoint.com/python/python_basic_operators.htm # Python operators. a = 2 b = 2 # Equality print(a == b) # Identity tests if the two objects in memory are the same. is and is not. a = [1, 2, 3] b = [1, 2, 3] print(id(a)) print(id(b)) print(a is b) # Set b object equal to a object. a = b print(id(a)...
[ "lucaskaimthelen@gmail.com" ]
lucaskaimthelen@gmail.com
a9d2eeab18066cbc76789aba31dd51329d4f3780
9f0b9a8fe27336b8a231a33c6f693ed019a61b6e
/blacklinetest.py
f6eb1fa445e64a1ab1daa8cf7cc3bd44fcadc93b
[]
no_license
Duong-NVH/tool-set
e2647cf74fa085eab42fe3f19c852634629e956e
e7c5f7f4522e75eefe74e808a07ecf6575c4ebf5
refs/heads/main
2023-06-15T07:37:30.783287
2021-07-09T15:58:12
2021-07-09T15:58:12
382,987,402
0
0
null
null
null
null
UTF-8
Python
false
false
517
py
import cv2 import numpy as np img = cv2.imread('blacklinetest.jpg') gray = cv2.cvtColor(img, cv2.COLOR_BGR2GRAY) edges = cv2.Canny(gray, 50, 150, apertureSize=3) lines = cv2.HoughLines(edges, 1, np.pi/180, 500) for rho, theta in lines[0]: a = np.cos(theta) b = np.sin(theta) x0 = a*rho y0 = b*rho x1 ...
[ "you@example.com" ]
you@example.com
a19eba7bf0ec98307d379e2f857ae2b25e827d02
c8b64c3c4c0639eae0046f9c6de06a8a3cd7cef7
/Code/Othello/bin/easy_install
359dee08207374ef40fc885f7b3c83642e623946
[]
no_license
nicholaskrieg/MLAI
24bf1c2f72eb0b3c54e109d7f65e46794d4f1846
21fe04af11643d6dd3d3e2363d9d1bb4f0daa45b
refs/heads/master
2021-05-09T06:38:24.669883
2018-03-19T21:29:25
2018-03-19T21:29:25
119,329,977
0
0
null
null
null
null
UTF-8
Python
false
false
279
#!/Users/nicholaskrieg/Documents/CS/MLAI/Orthello/bin/python3.6 # -*- 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())
[ "nicholas.krieg@gmail.com" ]
nicholas.krieg@gmail.com
9b9812e5c6c7e010b1d4272c9d1eb1a2bd8e4047
98be616c9e077db836803ec56452564b291e3ff9
/Python+/Python3/src/module/builtins/collection/lists/list_typed.py
198006e815badc59d1731ae055d876a0bd1c6caf
[]
no_license
grozhnev/yaal_examples
adef871b0f23f866491cc41f6c376964ace3fbe2
fe337ee825b3c063d7ed0c3e7e54bef440421894
refs/heads/master
2021-03-30T12:20:42.402132
2019-12-26T07:01:54
2019-12-26T15:08:11
null
0
0
null
null
null
null
UTF-8
Python
false
false
120
py
# Strongly typed List # Strongly typed list from typing import List typed_list: List[RuntimeError] = [RuntimeError()]
[ "aleksei_iablokov@epam.com" ]
aleksei_iablokov@epam.com
42e555c359f3334d8e2cea4ef890e0bcdd2716ec
2100ea2f84adcaeb89bd8e49f50d03497a1f87fb
/txtToExcel/txtToExcel.py
747f8dea3e15fc01ffdabad8be75c0c69373802b
[]
no_license
JBPrew/RNG-Generator
d1c8c79710fce5b122a4423b3aab207698bb08ce
20db203e702987fc937660b744b0bcb1ff63b508
refs/heads/main
2023-04-20T18:41:04.067449
2021-05-24T01:56:23
2021-05-24T01:56:23
370,199,459
1
0
null
null
null
null
UTF-8
Python
false
false
1,245
py
import xlsxwriter import pandas as pd import xlrd from xlsxwriter.utility import xl_rowcol_to_cell txtFileName = input("Name of txt File: ") while txtFileName == "": txtFileName = input("Name of txt File: ") workName = input("Excel Worksheet Name: ") if (workName == ""): workName = txtFileName # Create a work...
[ "jackbprewitt@gmail.com" ]
jackbprewitt@gmail.com
00f9cf22aeaf7658d0bb303616a50711fe27b39a
f3e3f61d4cec65ad5b924c0564d99c541ccdb625
/src_4/chapter04/migrations/0001_initial.py
6e2758ee1268c74d81ccd745fea58bbf8c096da7
[]
no_license
uxx53/bur1
15b0a96b4c0afdcbd1b4e230237725f2f013b593
1b013f87792204bdbc179e678caa80616eb62279
refs/heads/master
2016-09-05T11:13:21.706850
2015-08-14T10:36:43
2015-08-14T10:36:43
40,514,067
0
0
null
null
null
null
UTF-8
Python
false
false
614
py
# -*- coding: utf-8 -*- from __future__ import unicode_literals from django.db import models, migrations class Migration(migrations.Migration): dependencies = [ ] operations = [ migrations.CreateModel( name='Author', fields=[ ('id', models.AutoField(verbo...
[ "uxx@mail.ru" ]
uxx@mail.ru
fb6e690787905e1481dff64dee25695f22bf3eee
70058f6db76e6adfbb06ed6245a63637b83fe9ef
/opendart/config/__init__.py
e64e9265798874238fe8da1d312e841fe0ab8876
[ "MIT" ]
permissive
JehunYoo/opendart
9c3235d3904e4c43bc5702a409ea65bb97d35ee3
c88105baf85af57d006cc2404d192aaf9baf73cc
refs/heads/main
2023-06-16T01:53:05.654129
2021-07-07T07:17:20
2021-07-07T07:17:20
380,931,447
2
0
null
null
null
null
UTF-8
Python
false
false
36
py
from opendart.config.config import *
[ "percyu98@gmail.com" ]
percyu98@gmail.com
d75546d084acf87c9f272a76978aafe55c63e533
880495f69099e6c1efbcfd8fb763a5de6df12786
/code/23-merge-k-sorted-lists.py
922f35eca621e5ff82fc343c587b6cbf43d40454
[]
no_license
shen-ee/LC
69209f474e1ec4265d45e072cb65105b2a28c621
8664bde56453dea18f069725470d0401e65d45e2
refs/heads/master
2022-11-07T20:27:24.029396
2019-01-16T08:14:47
2019-01-16T08:14:47
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,097
py
import Queue # Definition for singly-linked list. # class ListNode(object): # def __init__(self, x): # self.val = x # self.next = None class Solution(object): def mergeKLists(self, lists): """ :type lists: List[ListNode] :rtype: ListNode """ # # Solution ...
[ "jerry31@qq.com" ]
jerry31@qq.com
18b985fd2a25b161ab12d7f4f4e09fc83c30cc2e
3b21cbe5320137a3d8f7da40558294081211f63f
/Chapter04/AutoencMnist.py
daebd29ec15d7b88a838e6b5aa4a4d8016f69927
[ "MIT" ]
permissive
Evelynatrocks/Python-Machine-Learning-Cookbook-Second-Edition
d06812bba0a32a9bd6e5e8d788769a07d28084cd
99d8b799dbfe1d9a82f0bcc3648aaeb147b7298f
refs/heads/master
2023-04-06T20:23:05.384943
2021-01-18T12:06:36
2021-01-18T12:06:36
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,181
py
from keras.datasets import mnist (XTrain, YTrain), (XTest, YTest) = mnist.load_data() print('XTrain shape = ',XTrain.shape) print('XTest shape = ',XTest.shape) print('YTrain shape = ',YTrain.shape) print('YTest shape = ',YTest.shape) import numpy as np print('YTrain values = ',np.unique(YTrain)) print('YTest values ...
[ "joecasillas001@gmail.com" ]
joecasillas001@gmail.com
d643ba0ffc2781833fc948211a92075a0281833a
89cef15f8c54f16599f461bce55c4c29954fb918
/scrapy_workua/scrapy_workua/settings.py
d393d3570ca2b72aeee684626fbfc9104b9763a3
[]
no_license
KonDob/HT_20_Scrapy
39417738e6fb9ade6f600bb021c323ef1718f51c
b762ea4d26c01b994bed066ffdb011b467220d91
refs/heads/master
2023-03-24T03:53:21.939319
2021-03-09T14:23:34
2021-03-09T14:23:34
343,230,651
0
0
null
null
null
null
UTF-8
Python
false
false
3,140
py
# Scrapy settings for scrapy_workua project # # For simplicity, this file contains only settings considered important or # commonly used. You can find more settings consulting the documentation: # # https://docs.scrapy.org/en/latest/topics/settings.html # https://docs.scrapy.org/en/latest/topics/downloader-midd...
[ "konstantin.dobro@gmail.com" ]
konstantin.dobro@gmail.com
d7aab2532f25c287a63c8bd8d282163103684f29
d7567ee75e48bd7872a1c332d471ff3ce7433cb9
/checkout/urls.py
233bfb99df176d4ab47c4bae44affd20f8155e9c
[]
no_license
sarahbarron/ecommerce
30cd0ff26afa5ec9031165b63ecde8c0f7f6086f
aba5370fd731e7ec9e677041504f6c3457b0d405
refs/heads/master
2020-03-17T21:10:56.385918
2020-01-17T18:35:28
2020-01-17T18:35:28
133,947,336
0
0
null
null
null
null
UTF-8
Python
false
false
131
py
from django.conf.urls import url from .views import checkout urlpatterns = [ url(r'^$', checkout, name='checkout'), ]
[ "sarahflavin@yahoo.com" ]
sarahflavin@yahoo.com
be0eb741b4aaaad5085131454dec219bdd1c93dd
971e0efcc68b8f7cfb1040c38008426f7bcf9d2e
/tests/artificial/transf_Anscombe/trend_LinearTrend/cycle_30/ar_/test_artificial_1024_Anscombe_LinearTrend_30__100.py
70d9b6daa1932fc44ee8f23227fa9317aea8fd0d
[ "BSD-3-Clause", "LicenseRef-scancode-unknown-license-reference" ]
permissive
antoinecarme/pyaf
a105d172c2e7544f8d580d75f28b751351dd83b6
b12db77cb3fa9292e774b2b33db8ce732647c35e
refs/heads/master
2023-09-01T09:30:59.967219
2023-07-28T20:15:53
2023-07-28T20:15:53
70,790,978
457
77
BSD-3-Clause
2023-03-08T21:45:40
2016-10-13T09:30:30
Python
UTF-8
Python
false
false
268
py
import pyaf.Bench.TS_datasets as tsds import tests.artificial.process_artificial_dataset as art art.process_dataset(N = 1024 , FREQ = 'D', seed = 0, trendtype = "LinearTrend", cycle_length = 30, transform = "Anscombe", sigma = 0.0, exog_count = 100, ar_order = 0);
[ "antoine.carme@laposte.net" ]
antoine.carme@laposte.net
fb9b993a15edad35bf61dd1c9b5756ab037434ca
246308810fe62bba6a9cedf1473e90311a934017
/camera/test_images/draw_image.py
9ea6011215f4d85446ab761129381e98c4208a33
[]
no_license
MDB22/MedExpress
6051b84a9fcf2b7371087d8a0afda3af599f6fc4
7c7dcd5f53ae9934b138bbe903726a050b6cedc0
refs/heads/master
2021-01-17T22:54:16.328942
2016-09-08T13:52:08
2016-09-08T13:52:08
47,587,845
1
0
null
null
null
null
UTF-8
Python
false
false
314
py
import cv2 import numpy as np from matplotlib import pyplot as plt #read an image img = cv2.imread('test_image.jpg') font = cv2.FONT_HERSHEY_SIMPLEX cv2.putText(img, 'OpenCV',(10,500), font,4,(0,0,0),2,cv2.LINE_AA) plt.imshow(img, cmap='gray',interpolation='bicubic') plt.xticks([]), plt.yticks([]) plt.show()
[ "nathanmurfey@hotmail.com" ]
nathanmurfey@hotmail.com
9c5a610bba7b0c3825198a36fe15ea9d099394bc
172b9f849cbe48ef85cf7cca776a432bdad4587b
/lunchy/sublunchy/shortcuts.py
e702d0e3db66ae63537816ac036361452bb41069
[]
no_license
cpasbanal/lunchy
7ec9a0d1dba9e0dc6ed0b84698da928046829eb8
c0f10c25866640bc8f3c8a34f97bc6fe2397959f
refs/heads/master
2021-06-01T02:49:07.479605
2016-08-17T12:56:50
2016-08-17T12:56:50
null
0
0
null
null
null
null
UTF-8
Python
false
false
587
py
''' Create shortcuts in and out between user message and wit out : message from Wit to user --> add keys to quick replies in : use the keys to force a story in Wit ''' # TODO store in database the mapping and make a web interface of this module # import the logging library import logging # Get an inst...
[ "jcroyere@gmail.com" ]
jcroyere@gmail.com
ab932c024897c581d9bb5dd95eef2ee759d421c2
bac5ecb5eef06dfe76b9b7bff80faee7485c67dd
/.history/django_vuejs_tutorial/django_vuejs/dataiku/models_20200829125121.py
c7e0a2d229648bf8a2326333ab23d5a72731658d
[]
no_license
MChrys/dataiku
fb1e48401d544cbcc5a80a0a27668dc9d2d196e5
6091b24f565224260a89246e29c0a1cbb72f58ed
refs/heads/master
2022-12-16T11:06:13.896643
2020-09-12T19:03:51
2020-09-12T19:03:51
293,287,620
0
0
null
null
null
null
UTF-8
Python
false
false
5,147
py
from django.db import models from django.utils import timezone class Task(models.Model): ''' All task that could be apply to a specific account ''' name = models.CharField(max_length=60, primary_key=True) description = models.CharField(max_length=510, null=True, blank=True) supertask = models.F...
[ "cbeltran@umanis.com" ]
cbeltran@umanis.com
bc863a6118cbe18297247f263fbc963beca38953
0940b1cdfee8d7deb488f396736b0df7c01b8bb6
/Exam/faculty/forms.py
aa76c4ab78faa88142ef132c0f9d3a64fe8268e3
[]
no_license
srilaasya/Online-examination-system
500767f77c2e2a261ddaf90029542d4e9d5312ae
f6ef76f6569141c02c861c67c2b5f7aa375c719a
refs/heads/main
2023-08-28T21:14:48.884215
2021-11-02T23:57:38
2021-11-02T23:57:38
395,973,123
1
0
null
null
null
null
UTF-8
Python
false
false
860
py
from django import forms from .models import FacultyInfo from django.contrib.auth.models import User class FacultyForm(forms.ModelForm): class Meta(): model = User fields = ['username', 'email', 'password'] widgets = { 'password': forms.PasswordInput(attrs = {'id':'passwordfiel...
[ "nutheti.laasya@gmail.com" ]
nutheti.laasya@gmail.com
3b086ad101b3545f4ba98eab3b0c7bd9ac43e051
d487843a873554db9ea63dac55110591c265c984
/classes/utilities.py
96d08b7a02c479407b1cc21de574a00ef555438d
[]
no_license
simone989/ForwardingDropboxBot
dd7e7215fb2cc3556da843ad3c10b0375fb8a45d
2ba8ec1f36930b355168456c20a45998fd8b9f48
refs/heads/master
2021-01-01T05:22:35.110007
2016-05-10T15:06:54
2016-05-10T15:06:54
57,361,235
0
0
null
null
null
null
UTF-8
Python
false
false
3,274
py
#!/usr/bin/env python import dropbox class Response(object): def __init__(self): self.responseFile = open("commands.txt","r") self.textLines = [] self.fromFileToList() def fromFileToList(self): #Metodo che salve il contenuto del txt in una lista. Più semplice da gestire. with self.responseFile as fileLine: ...
[ "0xVinz@gmail.com" ]
0xVinz@gmail.com
e8728e4ea571e7a40c1306932b395860af5900fd
173c2c265fb719dc71f01283ea525baf3480cf45
/Required Remainder.py
a4346a8c6a483a9ff07c156b404b799dbb2e837d
[]
no_license
Nafsan/codeforces-codes
6098994c86298e187edd9bba28bc933ca983218a
d8df6fd39413e78c77c269b4050afe45505131ed
refs/heads/master
2023-01-02T12:10:29.251287
2020-11-02T11:55:42
2020-11-02T11:55:42
285,189,084
0
0
null
null
null
null
UTF-8
Python
false
false
412
py
t = int(input()) for p in range(t): x, y, n = map(int, input().split()) rem = n % x if rem == y: print(n) elif rem < y: pos = n - rem - (x - y) if pos < 0: pos = n + abs(rem - x) print(pos) else: diff = rem - y pos = n - diff if pos...
[ "noreply@github.com" ]
Nafsan.noreply@github.com
8808eb29a9c4f90993a64cfb9ff593217d62ad7e
1da96c1ffecc565307779e3a011e2af2bc75dbcf
/venv/Scripts/django-admin.py
825265bd4c5465fc94f5a2bd2dc2ea1b1afd5c95
[]
no_license
yfs666/py3workspace
058809e11e6d8e6a8c4f96e5ade679c82c5538b2
d64a9165fac239fb7e49f4d4b99921bdc2ed07d2
refs/heads/master
2020-09-03T04:43:13.072897
2019-11-10T14:32:38
2019-11-10T14:32:38
219,387,092
0
0
null
null
null
null
UTF-8
Python
false
false
154
py
#!D:\tools\py3workspace\venv\Scripts\python.exe from django.core import management if __name__ == "__main__": management.execute_from_command_line()
[ "yangfengshuai@xiangshang360.com" ]
yangfengshuai@xiangshang360.com
8af8855e074aad7b7515f888ec0f24f85164debb
5e6d8b9989247801718dd1f10009f0f7f54c1eb4
/sdk/python/pulumi_azure_native/web/v20210115/web_app_relay_service_connection_slot.py
dda61e329470f348eb6bc50714d28126c870113f
[ "BSD-3-Clause", "Apache-2.0" ]
permissive
vivimouret29/pulumi-azure-native
d238a8f91688c9bf09d745a7280b9bf2dd6d44e0
1cbd988bcb2aa75a83e220cb5abeb805d6484fce
refs/heads/master
2023-08-26T05:50:40.560691
2021-10-21T09:25:07
2021-10-21T09:25:07
null
0
0
null
null
null
null
UTF-8
Python
false
false
16,719
py
# coding=utf-8 # *** WARNING: this file was generated by the Pulumi SDK Generator. *** # *** Do not edit by hand unless you're certain you know what you are doing! *** import warnings import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload from ... import _utilities __...
[ "noreply@github.com" ]
vivimouret29.noreply@github.com
dba9be4055644dd269dab56629dd4b7349338eb4
10321b56b812da315724c7022e7b0f48a3434883
/07-ejercicios/ejercicio8.py
0962be1baba04bece7c49d64c7a2c341d0fe9ba3
[]
no_license
nisepulvedaa/curso-python
8ef8e6f2b604c10b4549c9046a26be02bfd76ccb
0e1904e71b4cb515920c1610ac6f168dc307d631
refs/heads/master
2023-01-29T21:52:44.912261
2020-12-14T22:47:55
2020-12-14T22:47:55
321,491,748
0
0
null
null
null
null
UTF-8
Python
false
false
399
py
""" Ejercico 8 ¿Cuanto es el x % de z numero ? 20 de 150 """ numero1 = int(input("Ingrese el porcentaje que desea calcular: ")) numero2 = int(input("Ingrese el numero que sea sacar el porcentaje: ")) if numero1 > 100: print("Su porcentaje no puede mayor a 100") else: porcentaje = int((numero1*100)/numero...
[ "ni.sepulvedaa@gmail.com" ]
ni.sepulvedaa@gmail.com
c35024eb1eed9b0da1bdde17899977fd5b9b5c96
0201ac814d825cac1030dfe1ccdb7ef1657c205b
/__init__.py
a403709aa7de47dca868813496d90679f83afbc3
[ "BSD-3-Clause" ]
permissive
karttur/geoimagine03-timeseries
c99be449dccaab767d470cfaa2b71d9dae339fba
aa8e1642fd4a8bc196ad6fce9f90b80066d54dac
refs/heads/main
2023-08-22T14:12:50.791746
2021-10-20T10:54:37
2021-10-20T10:54:37
null
0
0
null
null
null
null
UTF-8
Python
false
false
361
py
""" timeseries ========================================== Package belonging to Karttur´s GeoImagine Framework. Author ------ Thomas Gumbricht (thomas.gumbricht@karttur.com) """ from .version import __version__, VERSION, metadataD from .timeseries import ProcessTimeSeries from .numbautil import TimeSeriesNumba #from ...
[ "thomas.gumbricht@gmail.com" ]
thomas.gumbricht@gmail.com
2c49843004e5af3d4f6f1f7a39f56f8280186b0e
ef2dfe0f97cf78e520fc6e30d795691c75dac840
/kin/util.py
d7ce97fe299697f2714c827d5559b248764a8f7e
[ "MIT" ]
permissive
smartdolphin/ai-hackathon-2018
bbcf142865fdf05f0aacd070e8d7f8f99e513dfb
2dce1870ea5a5e10917bb5a018890973e48df886
refs/heads/master
2021-09-14T22:27:54.631329
2018-05-19T17:29:05
2018-05-19T17:30:56
131,360,706
1
0
MIT
2018-04-28T01:41:53
2018-04-28T01:41:53
null
UTF-8
Python
false
false
667
py
import os import tensorflow as tf PATH = '/tmp/kin/models' def local_save(sess, epoch, *args): os.makedirs(PATH, exist_ok=True) saver = tf.train.Saver() saver.save(sess, os.path.join(PATH, str(epoch))) train_writer = tf.summary.FileWriter(os.path.join(PATH, str(epoch)), sess.graph) def ...
[ "smartdolphin07@gmail.com" ]
smartdolphin07@gmail.com
e333c381e106259eee7a3f4e11f26674dd3a3594
30a8b69bd2e0a3f3c2c1c88fb3bd8a28e6fc4cd0
/Part1/auth_foursquare.py
dc09d963b40958ce2c5e3b9030a232e3dd9ca643
[]
no_license
llord1/Mining-Georeferenced-Data
d49108f443922f02b90431ad7a9626ea17fd0554
c71f2e151ccfc4a1a9c07b5fcf4e95b7f7ba70e9
refs/heads/master
2021-05-30T13:27:57.663015
2015-12-29T09:10:08
2015-12-29T09:10:08
null
0
0
null
null
null
null
UTF-8
Python
false
false
283
py
#!/usr/bin/env python import foursquare from foursquare_accounts import accounts app = accounts["tutorial"] client = foursquare.Foursquare(client_id=app["client_id"], client_secret=app["client_secret"]) client.set_access_token(app["access_token"])
[ "bgoncalves@gmail.com" ]
bgoncalves@gmail.com
ef79b4514dbb5c1740bdf58c252e4cd319457aba
8526007f636dc57a30dbd6ef7805ec27d90481af
/pipelines/error_rate_pipeline_load.py
3ba0129048553611ce344ddc8583461a021c1fd1
[ "MIT", "LicenseRef-scancode-proprietary-license" ]
permissive
alphagov/app-performance-summary
d4fbb26e73de20ef4e41334e4ad599254565de64
e94c63c26dec5da39b8458b1e46bcc4f922ab7dc
refs/heads/master
2021-09-09T03:45:54.147829
2018-03-13T16:50:50
2018-03-13T16:50:50
119,363,307
0
1
MIT
2018-03-13T16:50:51
2018-01-29T09:46:08
Python
UTF-8
Python
false
false
1,907
py
''' Extract step for application error rates pipeline ''' import luigi from pipeline_steps.export_to_google_sheets import ExportToGoogleSheets from pipeline_steps.production_error_rates_source import ProductionErrorRatesSource from error_rate_pipeline_extract import ErrorRatePipelineExtract from pipeline_util.google_sh...
[ "matmoore@users.noreply.github.com" ]
matmoore@users.noreply.github.com
4c601e56a8d4ebc420b8a94e8588e6635cb33073
4780fd0e2afc40c3bbc8736605ebc5c351f3bc30
/checkMidpoint.py
9a0266319429f7108a0f59d9f435102131a91392
[]
no_license
fpeckert/cbp_database_public
a1e85a80bd21b72d4a6ea5b3c0065b2cc2ffa85e
0d671a613e74218976ba78577c9a8ba004787d2d
refs/heads/master
2022-02-08T15:20:21.611884
2021-02-01T04:12:44
2021-02-01T04:12:44
225,522,376
18
2
null
2022-02-01T14:30:35
2019-12-03T03:27:50
Python
UTF-8
Python
false
false
4,713
py
# -*- coding: utf-8 -*- """ Created on Wed Jul 29 19:04:20 2020 @author: Anubhav Agarwal """ import cbp import pandas as pd def midpointable(year, suffix): is_sic = False if int(year) <= 1997: is_sic = True national_df = pd.read_csv('cbp' + year + 'us' + suffix + '.csv') ...
[ "noreply@github.com" ]
fpeckert.noreply@github.com
ee6bca645dc84757845a11e614e0667477bad197
2c0d0a3757f4a21b2de2afc3b8293fe1a2292d68
/test_algoritmos.py
8af9e316f6bd27299e801a0481ee7037c91a2be4
[]
no_license
iErick99/Tarea2-Python
ad0fbfdc24babf456d739df86da6442e9e633c36
b3939cdd415ded50a434cbfa96070167716c81d6
refs/heads/master
2020-04-08T02:40:11.984527
2018-11-24T14:30:24
2018-11-24T14:30:24
158,943,955
0
0
null
null
null
null
UTF-8
Python
false
false
458
py
from Algoritmos import isanigrama, ispalindromo def test_isanigrama(): a = 'hola' b = 'carro' assert isanigrama(a,b) == False, 'Error crítico' def test_ispalindromo(): a = 'hola' assert ispalindromo(a) == False, 'Error crítico' def test_isanigrama2(): a = 'car' b = 'arc' assert isan...
[ "lolerick1@hotmail.com" ]
lolerick1@hotmail.com
33f930a46d509398e633fffe7486592b06d47845
3fc8a38257d855e95fe16c1f117790fdfcc665e5
/contrib/spendfrom/spendfrom.py
d06c624a29f6d532e1e2b6600d07ac3aedc5ce09
[ "MIT" ]
permissive
MichaelHDesigns/Aezora
b139e6b0a0886dc8fe4f1e0ed1a702cb26ca6986
fc7170fb5e0e016379f98d4691b014e8ca0746ad
refs/heads/master
2023-03-13T00:31:17.894219
2021-03-08T14:29:27
2021-03-08T14:29:27
null
0
0
null
null
null
null
UTF-8
Python
false
false
9,996
py
#!/usr/bin/env python # # Use the raw transactions API to spend AZRs received on particular addresses, # and send any change back to that same address. # # Example usage: # spendfrom.py # Lists available funds # spendfrom.py --from=ADDRESS --to=ADDRESS --amount=11.00 # # Assumes it will talk to a aezorad or aezora-Q...
[ "59030118+Aezora@users.noreply.github.com" ]
59030118+Aezora@users.noreply.github.com
63a89a990c8d496437077cb8b6227666b7df1a26
9b7192094d347fb8b506e3a2a67806cab67749f2
/stackoverflow/src/question/migrations/0005_auto_20151117_1839.py
903fa8b5d16878b7e57aa0a21410cd1b36488f24
[]
no_license
ElSacramento/django
830c100907e6d5936761121dec1f8e9ad7d4c286
018f9814318df1b30c02bfeb55562debace5bd5b
refs/heads/master
2021-01-20T19:30:20.440173
2016-06-24T00:03:51
2016-06-24T00:03:51
61,843,133
0
0
null
null
null
null
UTF-8
Python
false
false
477
py
# -*- coding: utf-8 -*- from __future__ import unicode_literals from django.db import migrations, models import django.utils.timezone class Migration(migrations.Migration): dependencies = [ ('question', '0004_auto_20151117_1835'), ] operations = [ migrations.AlterField( mode...
[ "catherine.zamaraeva@gmail.com" ]
catherine.zamaraeva@gmail.com
98c418f97a9b856ecb5507a37fe70ad0085b224a
39996673e85e32497f1a771e6d55fe317fd4e9f2
/Beginner level/strpalindrome.py
46a2d25e65555e3ddb038ddfde76bf88d5216c24
[]
no_license
hariharan31998/Python-Programming
638d1be2d59ad8a6a675b94d1c08c04139344de9
17aba448c36596eea1ab59b5346e53ed644b66de
refs/heads/master
2021-04-27T13:13:49.961069
2019-02-06T05:25:57
2019-02-06T05:25:57
122,435,676
0
2
null
null
null
null
UTF-8
Python
false
false
87
py
a=str(input()) print(a) b=a[::-1] print(b) if a==b: print('yes') else: print('no')
[ "noreply@github.com" ]
hariharan31998.noreply@github.com
4034bde7a9e06c5d7487997a7acb9e10b85cca2b
0f1001169c4f229c253a6f1dc1c9aff51c797cca
/docs/markdown_to_html.py
ffacda661ea31a8286a001a77d5178f08b9a1fd3
[ "Apache-2.0" ]
permissive
alencon/dash-bootstrap-components
f40e360787c96a1d9f7827cf042872b2f9cffcac
4f39856c13f66730512c57ed6dc0a819e8629293
refs/heads/master
2023-01-22T13:07:05.880865
2020-12-03T21:25:50
2020-12-03T21:25:50
318,998,227
1
0
Apache-2.0
2020-12-06T09:42:13
2020-12-06T09:42:13
null
UTF-8
Python
false
false
1,541
py
from pathlib import Path import markdown from markdown.extensions.fenced_code import FencedBlockPreprocessor # highlightJS expects the class "language-*" but markdown default is "*" FencedBlockPreprocessor.LANG_TAG = ' class="language-%s"' CONTENT = Path(__file__).parent / "content" DEST = Path(__file__).parent / "t...
[ "tomcbegley@gmail.com" ]
tomcbegley@gmail.com
6f25ab872e193cdb10b2e82ee3a0967273771d8c
09e57dd1374713f06b70d7b37a580130d9bbab0d
/data/p3BR/R1/benchmark/startQiskit_noisy99.py
63b18b1983cf2ea49aadbaea3bb289271ef74cae
[ "BSD-3-Clause" ]
permissive
UCLA-SEAL/QDiff
ad53650034897abb5941e74539e3aee8edb600ab
d968cbc47fe926b7f88b4adf10490f1edd6f8819
refs/heads/main
2023-08-05T04:52:24.961998
2021-09-19T02:56:16
2021-09-19T02:56:16
405,159,939
2
0
null
null
null
null
UTF-8
Python
false
false
5,183
py
# qubit number=3 # total number=18 import numpy as np from qiskit import QuantumCircuit, execute, Aer, QuantumRegister, ClassicalRegister, transpile, BasicAer, IBMQ from qiskit.visualization import plot_histogram from typing import * from pprint import pprint from math import log2 from collections import Counter from...
[ "wangjiyuan123@yeah.net" ]
wangjiyuan123@yeah.net
da2965f9791254063164c9442a3f7a753f730ebb
aa6422117b534e4f4eed197b71f9fcf00eb1983a
/build/flexbe_behavior_engine/flexbe_input/catkin_generated/pkg.installspace.context.pc.py
1aee055bb7df44fed4d20a68d3c6beee1540c93f
[]
no_license
Sinchiguano/StateMachineFlexBe
c07385b09e1ab15e88e894da8fd021d1cbf0de28
d637acf2f26a3f0d83ef4f2d34a2636dff2515f6
refs/heads/master
2020-09-26T02:49:46.882388
2019-12-05T16:44:23
2019-12-05T16:44:23
226,146,554
0
0
null
null
null
null
UTF-8
Python
false
false
449
py
# generated from catkin/cmake/template/pkg.context.pc.in CATKIN_PACKAGE_PREFIX = "" PROJECT_PKG_CONFIG_INCLUDE_DIRS = "/home/casch/catkin_ws/install/include".split(';') if "/home/casch/catkin_ws/install/include" != "" else [] PROJECT_CATKIN_DEPENDS = "".replace(';', ' ') PKG_CONFIG_LIBRARIES_WITH_PREFIX = "".split(';')...
[ "cesarsinchiguano@hotamil.es" ]
cesarsinchiguano@hotamil.es
0eb944d3d4b625dd58953dcd5ad39efa5bcaeaa1
9c14bd53c8629262b1310962c1663a3c503ba3a0
/projects/golem/tests/project/add_directory_to_pages.py
7b7d283d6d17e02f6e630f4b7d7aad6a000fea95
[]
no_license
ShubhamAnand/golem-demo
b083d44b5d2d5db79eae96aa5bb1f3307272d64b
a40ced5500b3bfdb54351393eeb8ccba19a50564
refs/heads/master
2021-07-16T00:44:57.663282
2017-10-22T22:56:25
2017-10-22T22:56:25
null
0
0
null
null
null
null
UTF-8
Python
false
false
521
py
description = 'Verify that the user can add a directory in the pages section by appending \'\\\' at the end' pages = ['login', 'index', 'project'] def setup(data): navigate(data.env.url) login.do_login('admin', 'admin') index.create_access_project('test') def test(data): ...
[ "feo.luciano@gmail.com" ]
feo.luciano@gmail.com
fcf2843bba0bc1f598ab442734dbe565c35f7c93
bb67740f39e896f4bef0677a3bc164781e533195
/clt/admin.py
c0a932b6d407645297af6575967a97701a90df6f
[]
no_license
gabik/clt
c1fb61fb3ebf40091d68d03b54d744140056761b
76786c0a65c7bbf9b2f4ca6dc16408a37b537666
refs/heads/master
2021-01-23T09:33:19.584041
2013-12-14T13:25:29
2013-12-14T13:25:29
null
0
0
null
null
null
null
UTF-8
Python
false
false
391
py
from django.contrib import admin from clt.models import xml_model, contact_group, group_members, contact_element, contact_phones #class areaAdmin(admin.ModelAdmin): #list_display = ['id', 'parent', 'name'] admin.site.register(xml_model) admin.site.register(contact_group) admin.site.register(contact_phones) ad...
[ "gabi@ip-10-190-129-144.ec2.internal" ]
gabi@ip-10-190-129-144.ec2.internal
6981c7c8e8c5f58f7815adf008a36b87eb6bc2e3
cd93eed33b120d632890a19e692ad318223162ed
/django_doc/manage.py
dd6b50b80fb33de2cc53a024a30dd68a74614073
[]
no_license
tuyuqi/Django_git_project
0c78bafccf3091284ea325ee8872b452472158d1
01d68a16b8f8b66c5dddda2672f05917b397e230
refs/heads/master
2020-04-21T20:08:54.418385
2019-02-10T07:35:51
2019-02-10T07:35:51
169,833,029
0
0
null
null
null
null
UTF-8
Python
false
false
542
py
#!/usr/bin/env python import os import sys if __name__ == '__main__': os.environ.setdefault('DJANGO_SETTINGS_MODULE', 'django_doc.settings') try: from django.core.management import execute_from_command_line except ImportError as exc: raise ImportError( "Couldn't import Django. A...
[ "yuqi.tu@gmail.com" ]
yuqi.tu@gmail.com
6d553104dce5c9fcd4b3086daec02a36d90a0e92
644bde16761bebf341847dc302bcc195e33e664f
/data/scrape.py
f891f46811de9347b9f31c1d04058fe977e4774a
[]
no_license
lukevs/charity-explorer
797c14d813518869d54cfb3fca74825394646083
452d8bf802b05a28eb46bf117dad0a4a8fa97051
refs/heads/master
2022-12-10T21:08:27.561555
2019-09-17T07:23:58
2019-09-17T07:23:58
203,031,399
5
1
null
2022-12-09T00:43:36
2019-08-18T16:43:36
JavaScript
UTF-8
Python
false
false
1,211
py
from bs4 import BeautifulSoup as bs import requests import csv BASE_URL = 'https://en.wikipedia.org' CHARITY_URL = 'https://en.wikipedia.org/wiki/List_of_charitable_foundations' def get_description(url): res = requests.get(url) soup = bs(res.text, 'html.parser') body = [] for item in s...
[ "chrisdistrict@gmail.com" ]
chrisdistrict@gmail.com
fd96a157748820ddb00179c606ac48e6ff091f69
0e0545c05ed9e019d070f732b9f96b7cec1c64f3
/student/schedule.py
49b9800c7b087672e1a76d910c9d93fbeffebb03
[]
no_license
czarhao/sync_crawler
8b635a62b04518d968b4f41f82e6014966d4e94e
f8c7641618d3befe028195e6d26de964b7ad33d5
refs/heads/master
2023-05-27T19:37:48.184658
2021-09-14T10:47:25
2021-09-14T10:47:25
203,547,407
3
0
null
2023-05-22T22:26:26
2019-08-21T09:05:58
Python
UTF-8
Python
false
false
4,844
py
#!/usr/bin/env python3 import json from other import return_soup from student.models import Course def get_schedule(session, now_url, soup, use_header): # 获取用户课程表 try: url = now_url + soup.find(onclick="GetMc('学生个人课表');")["href"] schedule_info = session.get(url, headers=use_header) sched...
[ "czarhao@foxmail.com" ]
czarhao@foxmail.com
0c27bf906d4b831769bc6b193c48e89a8aafe32d
445368830cc2918f71cdca166e1363c4ac08c56e
/D12_Recursive_power.py
9ebb7a2c5176e9bdbb0be2f62e51f63275e48409
[]
no_license
Chehlarov/Python-Advanced
fe9cea7c600ca064db89bc11af43d944a4385b74
4bfddcfb02d59385d0083a5acbf338beab136a8e
refs/heads/main
2023-03-13T08:53:03.936039
2021-03-03T17:16:02
2021-03-03T17:16:02
336,066,373
0
0
null
null
null
null
UTF-8
Python
false
false
171
py
def recursive_power(number, power): if power == 1: return number return number * recursive_power(number, power - 1) print(recursive_power(2, 10))
[ "noreply@github.com" ]
Chehlarov.noreply@github.com
a45dacabb65a8b878d1cb07374fde8bc5ac07d6d
f305f84ea6f721c2391300f0a60e21d2ce14f2a5
/7_graph/bfs求无权图的最短路径/广义的bfs/488. 祖玛游戏-bfs剪枝.py
12413155d1f8a0da0d66c30102d92f4f104f18a7
[]
no_license
981377660LMT/algorithm-study
f2ada3e6959338ae1bc21934a84f7314a8ecff82
7e79e26bb8f641868561b186e34c1127ed63c9e0
refs/heads/master
2023-09-01T18:26:16.525579
2023-09-01T12:21:58
2023-09-01T12:21:58
385,861,235
225
24
null
null
null
null
UTF-8
Python
false
false
2,038
py
# 1 <= board.length <= 16 # 1 <= hand.length <= 5 from collections import deque from functools import lru_cache import re # 为什么使用广度优先搜索? # 因为只需要找出需要回合数最少的方案,因此使用广度优先搜索可以得到可以消除桌面上所有球的方案时就直接返回结果,而不需要继续遍历更多需要回合数更多的方案。 class Solution: def findMinStep(self, board: str, hand: str) -> int: """请你按上述操作步...
[ "lmt2818088@gmail.com" ]
lmt2818088@gmail.com
286c6510e842c109cd1fabfbe090e84a978c9b28
fab14fae2b494068aa793901d76464afb965df7e
/benchmarks/f3_wrong_hints/scaling_ltl_timed_transition_system/19-sender_receiver_7.py
46038b17bbf43428b545dfc234384f2bb5c2c34d
[ "MIT" ]
permissive
teodorov/F3
673f6f9ccc25acdfdecbfc180f439253474ba250
c863215c318d7d5f258eb9be38c6962cf6863b52
refs/heads/master
2023-08-04T17:37:38.771863
2021-09-16T07:38:28
2021-09-16T07:38:28
null
0
0
null
null
null
null
UTF-8
Python
false
false
19,406
py
from typing import FrozenSet from collections import Iterable from math import log, ceil from mathsat import msat_term, msat_env from mathsat import msat_make_constant, msat_declare_function from mathsat import msat_get_integer_type, msat_get_rational_type, msat_get_bool_type from mathsat import msat_make_and, msa...
[ "en.magnago@gmail.com" ]
en.magnago@gmail.com
ef6d97f0f5f530a0ebddca253af70a73492955c8
61b83fb5d4e9e09bddf1a90f2d2ac34962df02db
/elitedata/fixtures/__init__.py
d9d0fb4b2ca6383d00f26ea2fb1dbfa8ffdf7b22
[ "MIT" ]
permissive
jingyuyao/elitetraderoutes
0577b9cfa06e041507a091b751bea03a2e419143
a5b9ac9fba89b594843e527962b0b8539157cfd2
refs/heads/master
2021-01-21T09:28:40.626322
2016-03-27T00:12:44
2016-03-27T00:12:44
36,675,658
0
0
null
null
null
null
UTF-8
Python
false
false
26
py
__author__ = 'Jingyu_Yao'
[ "yjy.emails@gmail.com" ]
yjy.emails@gmail.com
17c59ae366737608237c203cd7a63e511f3e1002
13da61043e182789cfe8d67e0e1f8a4d4d983e96
/src/cms/views/settings/user_settings_view.py
6e83e61cde7860e8a32ec2c28cfd3c1b2c0324eb
[ "Apache-2.0" ]
permissive
digitalfabrik/coldaid-backend
b9af0f9129a974e92bc89003c4266d8e48539d0f
b769510570d5921e30876565263813c0362994e2
refs/heads/develop
2020-09-25T21:48:20.846809
2020-06-17T15:48:53
2020-06-17T15:48:53
226,094,918
4
2
Apache-2.0
2020-06-17T15:48:54
2019-12-05T12:15:01
HTML
UTF-8
Python
false
false
3,005
py
from django.contrib import messages from django.contrib.auth import update_session_auth_hash from django.contrib.auth.decorators import login_required from django.utils.decorators import method_decorator from django.utils.translation import ugettext as _ from django.views.generic import TemplateView from django.shortcu...
[ "ludwig+secure@integreat-app.de" ]
ludwig+secure@integreat-app.de
d3a08515917f144e92f34f6bfbc54f112d6bbd36
d58d8affb44c98db7af8264ebbda303dc0271bcb
/python/selenium/Browser_ipvt.py
4f1a908b608a1fce8052fd1163890bd06d324d78
[]
no_license
jijunjun1112/python
5946504ffcc6235f57a535dc6a978e0f8e3ba43f
5753fcf8d1f20d9cdb441cbf44509edb32c5fcec
refs/heads/master
2021-01-01T04:56:39.374901
2016-06-02T11:44:20
2016-06-02T11:44:20
56,660,838
0
0
null
null
null
null
UTF-8
Python
false
false
1,631
py
#coding:utf-8 from selenium import webdriver from selenium.webdriver.common.action_chains import ActionChains #引入ActionChains鼠标操作类 from selenium.webdriver.common.keys import Keys #引入keys类操作 import time import sys class Browser_ipvt(object): """This is user class.""" url="" browser="" conf_url="" def scheduleconf...
[ "jjji@grandstream.cn" ]
jjji@grandstream.cn
8157a66920a4d18df210932be00e7ae648e9bfec
760ef8fa1fa34f7a0621ed1a72cd4070d5825e34
/src/tray_world_creator.py
030feced0d4b97e56653925469dea38f8d799f2b
[]
no_license
michaelarfreed/MotionTaskPlanningProject
9a2670565fe2923504d678407d3dcb4659bc06df
384f9801f031f0d413854bc844a452d2681b34af
refs/heads/master
2023-04-10T12:08:35.538339
2021-04-04T23:12:37
2021-04-04T23:12:37
354,664,871
0
0
null
null
null
null
UTF-8
Python
false
false
6,318
py
import numpy as np import openravepy import utils TARGET_FILE = '../environments/rll_tray_world.dae' TABLE_HEIGHT = 0.657 def create_dest(env, destname, pos): dim = 0.1 THICKNESS = 0.001 surface = openravepy.KinBody.GeometryInfo() surface._type = openravepy.GeometryType.Box surface._vGeomData = [dim/2, d...
[ "michaelarfreed@gmail.com" ]
michaelarfreed@gmail.com
e3e98cd7aaf3e9e63df6dd813cbada7c0adbbda5
5e6a67ae273bcbd55dfe0a77d4c839a2e554d3bf
/tree_parsing.py
ee094aed389950a95db950770158e1ce95218d4e
[]
no_license
Prabhanjan-Upadhya/Quora_Challenges
d54dd1e20c9c70f07b68fffe0c67e0d71290a786
d26ddce869205d90b367f88a2dd9c3c11b2466a7
refs/heads/master
2021-01-09T20:33:31.220380
2016-06-27T17:33:31
2016-06-27T17:33:31
62,074,863
2
0
null
null
null
null
UTF-8
Python
false
false
832
py
from collections import deque def parser(string1, tree_dict): start = 0 root = None prev = None lst1 = [] for i in range (0, len(string1)): if string1[i] == ' ': print tree_dict topic = string1[start: i] if topic == '(': if len(tree_dict[prev]) > 0: prev = tree_dict[prev][-1] lst1.append(...
[ "pupadhy@clemson.edu" ]
pupadhy@clemson.edu
ccc456d17a7c5c5b509e388397e01ad74e2f0559
00a9295409b78a53ce790f7ab44931939f42c0e0
/FPGA/apio/iCEBreaker/FIR_Filter/sympy/venv/lib/python3.8/site-packages/sympy/solvers/tests/test_pde.py
1b43eb0b0886235a8a8b1b4a593e4e7d486fcfae
[ "Apache-2.0" ]
permissive
klei22/Tech-OnBoarding-Class
c21f0762d2d640d5e9cb124659cded5c865b32d4
960e962322c37be9117e0523641f8b582a2beceb
refs/heads/master
2022-11-10T13:17:39.128342
2022-10-25T08:59:48
2022-10-25T08:59:48
172,292,871
2
3
Apache-2.0
2019-05-19T00:26:32
2019-02-24T03:50:35
C
UTF-8
Python
false
false
9,057
py
from sympy import (Derivative as D, Eq, exp, sin, Function, Symbol, symbols, cos, log) from sympy.core import S from sympy.solvers.pde import (pde_separate, pde_separate_add, pde_separate_mul, pdsolve, classify_pde, checkpdesol) from sympy.testing.pytest import raises a, b, c, x, y = symbols('a b c x y') def...
[ "kaunalei@gmail.com" ]
kaunalei@gmail.com
3563587f0871cbdbbb1a1a1c326f78a1f00057a5
247342c16db02f52f52e781afae8aaa2ccc467d7
/translate.py
71e049c68d51d4af88c600d91b1534d21b18fd4e
[]
no_license
twadada/Machine-Translation
fb7cd6599132efbdd1f6cb7ea4adf4f8bd4c033a
5619f1276ae2a8954edacc5b6532cfe380921837
refs/heads/master
2020-03-25T19:36:25.347588
2018-08-14T11:42:29
2018-08-14T11:42:29
142,395,971
0
0
null
null
null
null
UTF-8
Python
false
false
6,978
py
import os import pickle import argparse import chainer from models.preprocessing import Convert_word2id,np from tqdm import tqdm from train import NMT # src_test=/cl/work/takashi-w/ASPEC-JE/test/test.txt.tok.low.ja # model=Results/ASPEC.encoder_decoder_epoch3_ppl_56.599_best_model # python translate.py -gpuid 1 -model...
[ "takashi.wada.764@gmail.com" ]
takashi.wada.764@gmail.com
1b5acb3b130ca25e0213d632d2799da91b52eb84
3021d12339945053e89f9d9571f8054d86963088
/scripts/sma-client.py
205f5fd47aa8db61eb60b6e5fe90ad80c3ead6e0
[ "Intel", "BSD-2-Clause", "BSD-3-Clause" ]
permissive
tmakatos/spdk
9d18a586000fc25f659bb185ebb30b68e0073aa7
a82d6f009f1d43cb8107ec0637d9e458c319b369
refs/heads/master
2022-11-15T06:32:52.922360
2022-05-11T16:24:09
2022-10-21T16:42:58
220,963,857
0
1
NOASSERTION
2020-09-16T20:46:56
2019-11-11T11:14:11
C
UTF-8
Python
false
false
2,551
py
#!/usr/bin/env python3 from argparse import ArgumentParser import grpc import google.protobuf.json_format as json_format import importlib import json import logging import os import sys sys.path.append(os.path.dirname(__file__) + '/../python') import spdk.sma.proto.sma_pb2 as sma_pb2 # noqa im...
[ "tomasz.zawadzki@intel.com" ]
tomasz.zawadzki@intel.com
20e3b3314110b5f76c4cbd58f4de848416ac8082
35b5ab3c9863f1f151b600f040904ef83a7ba4d0
/test.py
a08e862b5bcd80c024840892c084bf79e7c09232
[]
no_license
aaron-alphonsus/style-transfer-flask
5d9120f93aa16656d9f59062e268cba977d8dadf
615d5a2a64ada75352018708a626d7abce5a0467
refs/heads/master
2020-06-24T21:15:19.997826
2019-07-29T20:26:05
2019-07-29T20:26:05
199,092,710
0
0
null
2019-07-26T23:42:42
2019-07-26T23:42:42
null
UTF-8
Python
false
false
8,329
py
# from google.cloud import storage import os from flask import request, send_file import tempfile # import cloudstorage as gcs # from google.appengine.api import images, app_identity # STYLE_URL = "/style-input-images-1/Vassily_Kandinsky,_1913_-_Composition_7.jpg" # f = gcs.open(STYLE_URL) # data = f.read() # print(da...
[ "huhuang@cs.hmc.edu" ]
huhuang@cs.hmc.edu
2400de35f3a6c6902ae173e097d54b31040a551a
2cbf3aaad62f4922d827af658fb5dbb7ac651bef
/teledusite/teledu/models/conceptAttribute.py
fc12d964e90614a6ff7813077017d177a3c7fecb
[]
no_license
tctimmeh/teledu
0266240aa864cd2eed75857e66eaeb8270f44c1a
04135ffb04f397f29152ca48f868a957b18d504a
refs/heads/master
2021-01-23T08:52:32.817693
2013-10-29T01:34:41
2013-10-29T01:34:41
2,566,893
0
0
null
null
null
null
UTF-8
Python
false
false
674
py
from django.db import models from concept import Concept from attribute import Attribute class ConceptAttribute(Attribute): concept = models.ForeignKey(Concept, related_name = 'attributes') class Meta: app_label = 'teledu' unique_together = (('concept', 'name')) def __unicode__(self): return '%s - ...
[ "tctimmeh@gmail.com" ]
tctimmeh@gmail.com
64f8f8d3a25cb6ac09de771d500d0936684177e1
fc155434e4bb00eb1b6f09ccda3cd73235bce156
/CreateVideo.py
4d8d947f846bb1a053d68f0ebd03f54d0aac8ad3
[]
no_license
alter-sachin/buildar_email
03ac84b2d391cd8951e9311847a97e7d21795a76
8dbe19dfe8893747e35051515568133c6079dcf1
refs/heads/main
2023-04-21T20:33:48.917393
2021-05-16T14:01:17
2021-05-16T14:01:17
367,877,851
0
0
null
null
null
null
UTF-8
Python
false
false
868
py
import json import requests import constants api_endpoint = constants.API_ENDPOINT header_data={'Authorization': constants.API_AUTHKEY} class Video: def __init__(self,actorId,audioUrl): self.actorId = actorId self.audioUrl = audioUrl def create_request_body(self): data = { "actorId": self.actorId, ...
[ "guitarplayersachin@gmail.com" ]
guitarplayersachin@gmail.com
9d07edf3f66ec3474be91599c596f9476549ed59
4f60de93ad66f3ff95a5b86c41293dc95ecc4a2a
/hr/models.py
09d2094f1645475c50fb3e6fabdabcb064e8e6d0
[]
no_license
xxoxx/Luer
87a541f40a12f4aff262d03b9e8e3b4b78a41511
24333edd06dc5e52775329db1f86cf862c68c56e
refs/heads/master
2021-01-20T17:27:13.914273
2015-12-09T15:18:35
2015-12-09T15:18:35
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,762
py
#coding:utf-8 from django.db import models from django.contrib.auth.models import User from django.template.defaultfilters import default # Create your models here. class Department(models.Model): department_name = models.CharField(max_length = 100) department_manager = models.CharField(max_length = 100) de...
[ "lhlsec@gmail.com" ]
lhlsec@gmail.com
34acd628169af951f3576d45c718a7a03b92b726
6919841828cf32f3e4b0f6f12f6d54be23321888
/exp/face24.py
db4baf6b7976aeb66a2d63d236bbd38f6c51d276
[]
no_license
ayanc/rpgan
bea6d283278dcead5fa4c63815a70162d5fe3173
cb4d4ab226fa78e4d6f6dcae9fa715952345a0bb
refs/heads/master
2021-01-22T04:23:39.000116
2018-06-27T21:43:45
2018-06-27T21:43:45
92,459,728
20
6
null
null
null
null
UTF-8
Python
false
false
340
py
# Generator Parameters ksz=4 zlen = 100 # Dimensionality of z f1 = 1024 # Features in first layer of Gen output # Discrimnator Parameters df = 128 # No. of hidden features (at first layer of D) # Training set imsz = 64 bsz = 64 lfile='data/faces.txt' crop=False # Learning parameters wts_dir='models/face24' SAVEF...
[ "ayanc@ttic.edu" ]
ayanc@ttic.edu
736b25d9dd6ccb8c04ea88d667c2c6ec69bf359c
6aee5e2775a99de940f9deef3d34e9833d44819c
/lesson/day03/test.py
c202ccce8b5f53b0a53bb44e0089f589ac030e8b
[]
no_license
lyl0521/lesson-0426
c7669767cf5f6bae54765f2246764e1a06acee7a
07f114af276932c252478d5a739ca88b4bae0fa2
refs/heads/master
2020-05-17T17:21:00.876376
2019-05-07T01:54:56
2019-05-07T01:54:56
183,849,196
0
0
null
null
null
null
UTF-8
Python
false
false
866
py
# all() print(all([0,1,2,3])) # False print(all([1,2,3])) # True print(all(['a','b','c',''])) # False print(all(['a','b','c','d'])) #True print(all(('a','b','c','d'))) #True print(all(('a','b','','c'))) #False print(all((0,1,2,3))) #False print(all((1,2,3))) #True pr...
[ "1247702289@qq.com" ]
1247702289@qq.com
7e625fa71bfa5efc76d0547775d9fb3a2dad6b0b
a1b308d27c922bfa66137151c93b817c7667c4b2
/src/chatbot/cfg/Chatbot.cfg
db50fd43913f3a9ef49e554ad40a58952d093c60
[ "MIT" ]
permissive
dergkat/HEAD
64e81390ffcd04795ef8414376b2d12813e4e42c
0e1a034dbdc052e5e573787f49c9f36a01459373
refs/heads/master
2021-05-01T05:45:17.810469
2017-06-07T09:01:19
2017-06-07T09:01:19
79,799,750
0
1
null
2017-01-23T11:50:33
2017-01-23T11:50:33
null
UTF-8
Python
false
false
1,484
cfg
#!/usr/bin/env python PACKAGE = 'chatbot' from dynamic_reconfigure.parameter_generator_catkin import * gen = ParameterGenerator() gen.add("enable", bool_t, 0, "Enable Chatbot", True) gen.add("chatbot_url", str_t, 0, "Chatbot Server URL", 'http://localhost:8001') gen.add("sentiment", bool_t, 0, "Enable Sentiment", Tr...
[ "dut.hww@gmail.com" ]
dut.hww@gmail.com
c560a98412f1f79c8b28518349b9281f419d3cd1
5f313d8fce26a8ecfff8817ff566b7e1810fcba7
/timethings.py
4d68c2cbbbfce64ba5da5943421cca52b094884d
[]
no_license
luispedro/mahotas-paper
cd2769a264149cac74ce8c694ca4f02e3f4a6c93
698f2a8640feba4e285318e2cd866db3705ec2c3
refs/heads/master
2020-03-30T16:26:20.362126
2013-08-26T09:03:17
2013-08-26T09:03:17
4,877,058
1
0
null
null
null
null
UTF-8
Python
false
false
3,733
py
import skimage.morphology import skimage.filter import skimage.feature import numpy as np import timeit import mahotas import cv2 from os import path luispedro_image = path.join( path.dirname(mahotas.__file__), 'demos', 'data', 'luispedro.jpg') f = mahotas.imread(luisped...
[ "luis@luispedro.org" ]
luis@luispedro.org
32a624033c4fcd4b0dab2f56ea427738fac85532
0fd5793e78e39adbfe9dcd733ef5e42390b8cc9a
/python3/16_Web_Services/k_Projects/b_twitter/twitter_scrapping.py
e22fe2652cae147f89fc3a8955b3336f6f812e4b
[]
no_license
udhayprakash/PythonMaterial
3ea282ceb4492d94d401e3bc8bad9bf6e9cfa156
e72f44e147141ebc9bf9ec126b70a5fcdbfbd076
refs/heads/develop
2023-07-08T21:07:33.154577
2023-07-03T10:53:25
2023-07-03T10:53:25
73,196,374
8
5
null
2023-05-26T09:59:17
2016-11-08T14:55:51
Jupyter Notebook
UTF-8
Python
false
false
2,215
py
#!/usr/bin/python """ Purpose: Twitter data scrapping """ import tweepy class TwitterLogin: def __init__(self): consumer_key = "xxxxxxxxxxxxxxxxxxxxx" consumer_secret = "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx" access_token = "00000-xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx" ...
[ "uday3prakash@gmail.com" ]
uday3prakash@gmail.com
38c9d1b686c768cb8aa82bee7276bc14769b92c1
b4d1de38688da22e64026b0b46a1e0ae3efa97ed
/server_random_data_generator.py
8fb1dd5ec17ffda8aa8e0965dc3111af27b0e041
[]
no_license
misrori/streaming_with_mtcars
a8f57e25f7a5389dc593a1e0e72bf944a7dc0abf
bb459983c7bfd6e648bf46685809e5e7b48c8d36
refs/heads/master
2021-01-18T22:40:54.167528
2017-04-05T07:36:57
2017-04-05T07:36:57
87,066,569
0
0
null
null
null
null
UTF-8
Python
false
false
1,323
py
#!/home/mihaly/hadoop/anaconda3/bin/python from random import * import random import time from datetime import datetime def client_thread(conn, ip, port, MAX_BUFFER_SIZE = 4096): mtcars = open('mtcars.csv') my_line = str(random.sample(mtcars.readlines(),1)).replace('[','').replace(']','').replace('\'','').repla...
[ "ormraat.pte@gmail.com" ]
ormraat.pte@gmail.com
6cf4963fd3bf6b82bb24b9ffda645ecbcba72071
b10163d7036e0bd2bd2a59f1a8a96951ed169c21
/arvore de natal.py
6ac49eb9524abea4b33adf4c6ca5d714d0eb8552
[]
no_license
YK0L0DIY/Python
4e97e3e180b51e6571d667a3996b04851461fd62
1991cdb8669c6e532766231ce63854956ec5b0e8
refs/heads/master
2020-03-19T13:59:46.415839
2019-02-15T20:27:06
2019-02-15T20:27:06
136,604,461
0
0
null
null
null
null
UTF-8
Python
false
false
269
py
def arvore(a): v=a cont=2 u=a-1 print(" "*u,"*") while(v!=1): u=u-1 print(" "*u,"*"*(1+cont)) cont=cont+2 v=v-1 print(" "*(a-1),"*") print(" "*(a-1),"*") h=int(input("Indique a altura da arvore: ")) arvore(h)
[ "noreply@github.com" ]
YK0L0DIY.noreply@github.com
5e795c4e386973917ef112bcb637b06aa09e031e
4a31e84a4a6cf5c4cdf4757cca63ed6ff92088bc
/Python/optimization/ga.py
bc5e41cfed7bdb031e3b8adfb4fe881261d36a7f
[]
no_license
aldo-fsm/tests
e91ac45709a7dbffdd7984f1bc799a68d1c86d9f
9d0317236f459a00af56aaee738b2a46365a7b99
refs/heads/master
2021-01-20T08:44:12.225578
2018-07-17T17:48:05
2018-07-17T17:48:05
101,570,618
0
0
null
null
null
null
UTF-8
Python
false
false
5,329
py
import numpy as np import re def optimize(costFunction, chromSize, popSize, selectionRate, mutRate, **kwargs): kwargs.setdefault('pairing', 'rank_weighting') kwargs.setdefault('pairingTounamentSize', 3) kwargs.setdefault('crossover', 'single_point') kwargs.setdefault('uniformCrossoverProb', 0.5) p...
[ "aldo.fsmonteiro@gmail.com" ]
aldo.fsmonteiro@gmail.com
04cb69832818c5318fc8810a89edf011e8167b66
29be7382240c4f5ae23a5c06c75b8dda8043800c
/PRO-99/removeFiles.py
1c67cc9e2e7c73e21edf8f6268542f638458bd93
[]
no_license
ABHINAV-KUMAR213/PRO-99
d05e37e91d1305c7a4494475f05bf0d47adc48e2
f282ed9429b20bc7ab87e066c1ceb5cab1edd734
refs/heads/main
2023-06-10T11:52:16.112611
2021-06-29T12:52:54
2021-06-29T12:52:54
381,363,744
0
0
null
null
null
null
UTF-8
Python
false
false
1,615
py
import os import shutil import time def main(): deleted_folders_count = 0 deleted_files_count = 0 path = "e:\Coding\Python\Project99" days = 30 seconds = time.time() - (days * 24 * 60 * 60) if os.path.exists(path): for root_folder, folders, files in os.walk(path): if seconds >= get...
[ "noreply@github.com" ]
ABHINAV-KUMAR213.noreply@github.com