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
bf75b391e67ef7dcf580f0fb97d21a45b023234d
38d08ac4dec726fe72aa90ad78c6330fa3e9d19e
/nagios/libexec/linux-cpu-usage.py
db550ea78ae7af7232ca678a7468de5c8dd6dcce
[]
no_license
huanpc/monitoring_TIC
9583fdea34cb2835c594e4c6f4736b2fcac2eac4
26fa0a04166a0d27a39347c87280409e8e2e9a7a
refs/heads/master
2021-05-10T17:12:53.929269
2018-09-20T06:46:20
2018-09-20T06:46:20
118,602,054
0
1
null
null
null
null
UTF-8
Python
false
false
4,870
py
#!/usr/bin/env python import sys import time from optparse import OptionParser ### Global Identifiers ### cpu_stat_var_array = ('user', 'nice', 'system', 'idle', 'iowait', 'irq', 'softirq', 'steal_time') ### Main code ### # Command Line Arguments Parser cmd_parser = OptionParser(version="%prog 0.1") cmd_parser...
[ "huanpc2@cyberspace.vn" ]
huanpc2@cyberspace.vn
c16c18cfe3dd6df0a9483ba0946285781057098e
238ebc43c3d54d2842de75fd8ddf0b0b0261906e
/GeoAnimation.py
32f0dc20216e0342f08f233fc9011bb4fc0aaf90
[]
no_license
johndowen/CrossMgr
17c114ab80382b24ce0cdd228782bd000f513ea8
fc9eaf8ae5d4919cef3f1a3680c169be70cf356b
refs/heads/master
2021-06-28T03:14:41.682880
2017-09-17T00:35:26
2017-09-17T00:35:26
null
0
0
null
null
null
null
UTF-8
Python
false
false
38,567
py
import wx import random import math from math import radians, degrees, sin, cos, asin, sqrt, atan2, exp, modf, pi import bisect import sys import datetime import os import re import io import cgi import getpass import socket from Version import AppVerName from Animation import GetLapRatio import Utils import xml.etree....
[ "edward.sitarski@gmail.com" ]
edward.sitarski@gmail.com
84384db20a89bc39c9f6bc69a468b41c3d98f61d
1397af1014b8d1ca89a66b58d8eb16a52d05ac17
/HSTB/drivers/pos_mv/POSMV_V4_UserManual.py
739e043e3451b5b97d8799e1cc50295584505fdf
[ "CC0-1.0" ]
permissive
mfkiwl/drivers
079466043ae5ca8ea29f5e1ab4a009cb852d3a68
d952d9367dcc303e54015bcc5fa1e8e0206cd9b6
refs/heads/main
2023-04-09T02:12:59.305896
2021-04-05T02:58:34
2021-04-05T02:58:34
null
0
0
null
null
null
null
UTF-8
Python
false
false
175,592
py
Contents = """ The information contained herein is proprietary to Applanix corporation. Release to third parties of this publication or of information contained herein is prohibited without the prior written consent of Applanix Corporation. Applanix reserves the right to change the specifications and information in th...
[ "eyou102@gmail.com" ]
eyou102@gmail.com
41b574b6038eae6b1fa688c2a54d753cb1bedaf5
c921aa17fa1bcc2e2c828dac463bd96c5a579d16
/hadoop_fab.py
6fbc67a3915dc4bf7c3a3fb24fa11ccf5a52e70a
[]
no_license
adarshsaraf123/automate_hadoop_install
e8484dc47bc5a7508982c41a8818c6f6c2ac59de
2d03fc5200fa0a09e6a8344381a044a8c507c9d7
refs/heads/master
2021-01-23T07:25:56.472341
2017-02-01T10:25:44
2017-02-01T10:25:44
80,501,821
0
1
null
2017-01-31T08:33:25
2017-01-31T08:05:18
Python
UTF-8
Python
false
false
5,488
py
# Writen by Adarsh Saraf # II M.Tech, SSSIHL, Jan 2017 from global_conf import * hadoop_path = '~/Documents/trials/hadoop' hadoop_datadir_path = '~/Documents/trials/hadoop_datadir' #--------------------------------------------------------------------------------------------------------------- #---------------------...
[ "adarshsaraf123@gmail.com" ]
adarshsaraf123@gmail.com
c098b60d23b959e928a07a300d8702f5d75ab320
983051cb9d4c0f1c799c7725191e119652cae59e
/agents/actor.py
9edd6b3494efd9db8a07fb20b9c1cd5aa361b5a1
[]
no_license
kurazu/RL-Quadcopter-2
f0141c10891b1c822c1c530d879d2949c3bc348a
cf08b9793762f29e89d04b2ce5f7035fbe5caf70
refs/heads/master
2020-03-14T15:42:53.448899
2018-05-04T22:47:19
2018-05-04T22:47:19
131,682,412
0
0
null
2018-05-01T06:12:25
2018-05-01T06:12:25
null
UTF-8
Python
false
false
2,518
py
from keras import layers, models, optimizers, backend as K from agents.neural import dense class Actor: """Actor (Policy) Model.""" def __init__( self, state_size, action_size, action_low, action_high, learning_rate=None ): """Initialize parameters and build model. Param...
[ "kurazu@kurazu.net" ]
kurazu@kurazu.net
d02aa40ba34b8b88f1028e0945a21fc65e086d34
1e0bbcb79baae47218945282d104b9f441be08ef
/movienight/gui/videoplayer.py
1d4df81265bf03369be4121343256412e39fb55d
[]
no_license
Unmoon/movienight
cb3a4d9a5fa8e72fd6882d0ff083545013332e14
23348eea821944e9be55ecd721307fa0005e603e
refs/heads/master
2021-07-01T19:30:12.761806
2021-01-05T16:39:49
2021-01-05T16:39:49
203,797,536
0
0
null
null
null
null
UTF-8
Python
false
false
11,070
py
import logging import os import platform import threading import vlc from PyQt5 import QtCore from PyQt5 import QtGui from PyQt5 import QtWidgets from ..config import config from ..synchandler import SyncHandler log = logging.getLogger("movienight") TITLE = "Movie Night" class VideoPlayer(QtWidgets.QMainWindow): ...
[ "joona@unmoon.com" ]
joona@unmoon.com
4a4e52af780f0d7b6e3bf669cc3b946e0f289c46
dd27ad86f0b4b2db52d286f339276f05db0e5b44
/algorithm/0107Binary_Tree_Level_Order_Traversal_II.py
1cdd59cde4d57f8410940bedea4cdc1c520300d4
[]
no_license
xkoma001/leetcode
0719397954dbed5db4f767bd941ffffeab3e3584
d71e725d779d7b45402893b311939c2cce60fbca
refs/heads/master
2020-03-19T04:08:02.749563
2018-06-04T06:43:20
2018-06-04T06:43:20
135,797,739
0
0
null
null
null
null
UTF-8
Python
false
false
608
py
# Definition for a binary tree node. # class TreeNode(object): # def __init__(self, x): # self.val = x # self.left = None # self.right = None class Solution(object): def levelOrderBottom(self, root): """ :type root: TreeNode :rtype: List[List[int]] """ ...
[ "xkoma001@126.com" ]
xkoma001@126.com
87653fd44ba408c19431edb73bbc522075232363
02c53e7e3be9599efad4cb351e5cbdd31912db10
/work/kings.py
3600425f4aa7cbb31efbb0a2c7009c69f3a30529
[]
no_license
nearxu/super-spider
7d3c9dc0375b114312b0df223087493f3065d99e
10551dea1d829461f39e9f8b9e61cdcbaeea2d0c
refs/heads/master
2020-05-20T13:51:10.309224
2019-06-08T13:37:02
2019-06-08T13:37:02
185,609,337
0
0
null
null
null
null
UTF-8
Python
false
false
768
py
import requests from bs4 import BeautifulSoup import csv headers = { 'User-Agent': 'Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/66.0.3359.181 Safari/537.36' } def open_url(): url = 'https://qq.yh31.com/zjbq/' try: response = requests.get(url,headers=headers)...
[ "2448895924@qq.com" ]
2448895924@qq.com
3a0b1205172916536815cd2e0be3b95a90e8dd4d
0e6a67f1794c3a599c88647f5cb293fc5b49f6a0
/ofm_client/v2/query_builder/query/interfaces/i_query.py
52dceda13c3d050418d9f63986aaeea0c0850f24
[ "Apache-2.0" ]
permissive
factset/ofm-python-sdk
d02d0ed66cab73426020e9609aed9bfb8a979901
3345fea40fa287e899dbab01b1a839a0eeab468c
refs/heads/master
2022-07-04T03:59:33.698571
2020-05-15T07:57:14
2020-05-15T07:57:14
244,479,810
1
1
Apache-2.0
2020-05-15T07:57:15
2020-03-02T21:31:59
Python
UTF-8
Python
false
false
1,225
py
from __future__ import absolute_import import abc from typing import List from ofm_client.v2.query_builder.filters.filter_term import FilterTerm from ofm_client.v2.query_builder.search.search_term import SearchTerm from ofm_client.v2.query_builder.sort.sort_term import SortTerm class IQuery(abc.ABC): @property ...
[ "alexander.barker@factset.com" ]
alexander.barker@factset.com
7e219a351898aa9df2412ba76a4f3ad488ef012a
925008308759bd81e16ad2a3e3303460f93c8bc6
/status.py
174e38a5ba32600ad821e1faaf648ba74540e838
[]
permissive
mitodl/release-script
88105e5cf44fa798d34b447fb7d459be526ba790
385b68b9962dca6563e2a2a83a4a97b6f1369772
refs/heads/master
2023-08-18T00:10:58.545772
2023-08-14T19:04:50
2023-08-14T19:07:07
51,475,352
15
7
BSD-3-Clause
2023-08-14T19:07:09
2016-02-10T21:55:18
Python
UTF-8
Python
false
false
4,157
py
"""Get release status of a repository""" from constants import ( BLOCKER_LABELS, DEPLOYED_TO_PROD, LIBRARY_TYPE, LIBRARY_PR_WAITING_FOR_MERGE, RELEASE_LABELS, STATUS_EMOJIS, WAITING_FOR_CHECKBOXES, ) from github import get_labels from lib import ( get_default_branch, init_working_dir...
[ "noreply@github.com" ]
mitodl.noreply@github.com
da01c87e271a423a775f2341ff133fb00379c654
c8b00fd8bc8bf9a9b6e44657a854431d8029fc9a
/sixus/C.py
29f0d5c78f4fca6a6505aca8a47cc762fd2b7d88
[]
no_license
dionysio/math-python
0a0d4da1223d642f6fa7f4ff93586e0734886f9b
84d5049657d66365bafa48cf802a986711ecb076
refs/heads/master
2021-01-10T19:15:53.243587
2015-03-23T20:33:53
2015-03-23T20:33:53
31,867,130
0
0
null
null
null
null
UTF-8
Python
false
false
900
py
import matplotlib.pyplot as plt import numpy as np def logistic(r,x): return 4*r * x* (1 - x) '''discard - basically how many of values to use from the end iterations - how many iterations of logistic func low_x, high_x - limit the x axis (values of r) low_y, high_y - limit the y axis (actual values of logistic f...
[ "dionyz.lazar+dev@gmail.com" ]
dionyz.lazar+dev@gmail.com
6723224fa7f7efa05ba157f597fb3fd81558e503
98c8659e7cadb85a19e0929d6ccbed3d0888aa77
/GNU/FM_5.py
b3d71e5af479c466e68442594fe158eb026c8c20
[]
no_license
JoshuaatBU/Starobike
9a6eafd49abc2778e8c7c48f8de3b57846626e23
cc458a7dcd49261f00a8442847c9f8be77155f3d
refs/heads/main
2023-05-10T00:58:07.148311
2021-05-25T19:56:00
2021-05-25T19:56:00
370,811,757
0
0
null
null
null
null
UTF-8
Python
false
false
5,827
py
#!/usr/bin/env python3 # -*- coding: utf-8 -*- # # SPDX-License-Identifier: GPL-3.0 # # GNU Radio Python Flow Graph # Title: FM_5_transmit # Author: jshall # GNU Radio version: 3.8.1.0 from distutils.version import StrictVersion if __name__ == '__main__': import ctypes import sys if sys.platform.startswi...
[ "joshuaat@bu.edu" ]
joshuaat@bu.edu
7e87b934a7942ef35ad3f231531b13d99f5cbee9
b3eac9ed42c345079f80277cfe1d196033446e24
/permission/api/mission.py
07f2d7941bafea1aa66aeda770eb7b0f92800423
[]
no_license
willtuna/nctuoj
697e0ea02cdc8d19b5f052155a464be1937d718e
5638f76113ff3d6ff24c71b1484fd0b635f09040
refs/heads/master
2021-01-19T13:55:55.259922
2017-08-20T13:41:03
2017-08-20T13:41:03
100,863,976
0
0
null
null
null
null
UTF-8
Python
false
false
374
py
from permission.base import Base class Missions(Base): def post(self, req): if len(req.user) == 0: print("Hello I am in",'backend/permission/api/mission.py') print("Hello I am in",'backend/permission/api/mission.py') print("Hello I am in",'backend/permission/api/missio...
[ "willvegapunk@gmail.com" ]
willvegapunk@gmail.com
fd68c15474a48ba528dcb0a32ef1c363659d8815
ec85250addb7357dfe7bb3e0680d53fc7b0fd8fb
/examples/docs_snippets/docs_snippets/concepts/io_management/io_manager_per_output.py
d627cfc5ba88b917ea9413293f344a59d3d0929a
[ "Apache-2.0" ]
permissive
dagster-io/dagster
6adb5deee8bcf3ea1866a6a64f2ed81e1db5e73a
fe21995e0402878437a828c6a4244025eac8c43b
refs/heads/master
2023-09-05T20:46:08.203794
2023-09-05T19:54:52
2023-09-05T19:54:52
131,619,646
8,565
1,154
Apache-2.0
2023-09-14T21:57:37
2018-04-30T16:30:04
Python
UTF-8
Python
false
false
463
py
# start_marker from dagster_aws.s3 import S3PickleIOManager, S3Resource from dagster import FilesystemIOManager, Out, job, op @op(out=Out(io_manager_key="fs")) def op_1(): return 1 @op(out=Out(io_manager_key="s3_io")) def op_2(a): return a + 1 @job( resource_defs={ "fs": FilesystemIOManager()...
[ "noreply@github.com" ]
dagster-io.noreply@github.com
05ecad35056a282981a6bad116a1d6d83ae62119
d07aaccefe74ee58780c08f4d6d8fe8da85a1f5e
/blog/migrations/0001_initial.py
bbb03bbe62775e9d8b894dfa74d005bf54c8dddf
[]
no_license
sujithgawtham/my-first-blog
676c98bd8d2574b7f82fd303d32e80248b92c54a
74b8206198332bc23f63882feddd8fbb000b3f6c
refs/heads/master
2021-01-16T17:37:37.729735
2017-08-11T20:08:04
2017-08-11T20:08:04
100,009,483
0
0
null
null
null
null
UTF-8
Python
false
false
1,051
py
# -*- coding: utf-8 -*- # Generated by Django 1.10.7 on 2017-08-10 19:59 from __future__ import unicode_literals from django.conf import settings from django.db import migrations, models import django.db.models.deletion import django.utils.timezone class Migration(migrations.Migration): initial = True depe...
[ "gawtham161@gmail.com" ]
gawtham161@gmail.com
c1d450efb4775d6c040c6a1385da6778e4d96224
4be4c5fdaa7509fbcbdfd8115819e84a7f8a4142
/mcazurerm/storagerp.py
37987b781f1e8cd5004f65b9a3f124d62b4702d0
[ "MIT" ]
permissive
pjshi23/mcazurerm
a37d9ff5754d39f0b0a32f836adf68e81c5d1049
e17eb075ec8ffc5593e2a169c7479111478f43ee
refs/heads/master
2021-01-19T11:45:47.080124
2017-08-12T08:00:43
2017-08-12T08:00:43
68,885,817
0
0
null
null
null
null
UTF-8
Python
false
false
4,214
py
# storagerp.py - azurerm functions for the Microsoft.Storage resource provider from .restfns import do_delete, do_get, do_put, do_post from .settings import azure_rm_endpoint, STORAGE_API # create_storage_account(access_token, subscription_id, rgname, account_name, location) # create a storage account in the specifi...
[ "pjshi23@gmail.com" ]
pjshi23@gmail.com
e232549d038b15c86e79b23335078b46e576c073
6f91392c15d92591a46a6d2bdb9a1b289d34b1d6
/common.py
ce040e96477acf385cb51d7d86ffdc7b7b1d4071
[]
no_license
PaulStepanov/cm
9f3731a3a7a8a73d72aece821a76d5f4be408f40
7a7a48e7bb8fa0d52fcbd2f510bc2144305fd1ac
refs/heads/master
2020-04-07T23:27:51.152634
2018-12-13T09:00:55
2018-12-13T09:00:55
null
0
0
null
null
null
null
UTF-8
Python
false
false
442
py
import matplotlib.pyplot as plt import functools import operator foldl = lambda func, acc, xs: functools.reduce(func, xs, acc) #np.arange(x0, ((n + 1) * xn / n) + h, h) def renderDots(dots): x_cords = [] y_cords = [] templ_str = "(%f, %f)" for dot in dots: x_cords.append(dot[0]) y_cords...
[ "pavelstsiapanau@gmail.com" ]
pavelstsiapanau@gmail.com
b5cbc61d5070481fa9cfa55d74918563ba7ebec8
c0c5015b883914aad18419043f5303e20c9accec
/temperature conversion.py
3094e35fb7fb955bed9c3590cb56343934824d22
[]
no_license
KetanMehlawat/python-programs
498bb65b4bc6e21cfcb58c55a08a78414b9445ed
b9fb71ab51c58c95eaf4241e335206032f142004
refs/heads/master
2021-07-09T03:12:50.461896
2017-10-08T15:22:18
2017-10-08T15:22:18
106,181,414
0
0
null
null
null
null
UTF-8
Python
false
false
1,621
py
while True: print "Press 1 to continue" print "press 0 to exit" ch=input("enter your choice") if ch>1 or ch<0: print ("please press correct button") continue elif ch==1: while True: print"Menu" print"1.From celcius to fahrenheit" print"2....
[ "noreply@github.com" ]
KetanMehlawat.noreply@github.com
1986203ba846dec6136fa59520cacf477d9dd1b3
3e66a5089d386fe0988201ff132446ec9bd04c9d
/M2 ICP7/Source/ICP7/Decisiontree.py
0d33e93a9a4345ca5e8666be19939fdba7427d0b
[]
no_license
Joshmitha307/BDP
b2f3a09cacb4a8f85f431d93e22dc16e3ccbf556
bbdabc8ed76ddcce055e5b03bf6d666037da156d
refs/heads/master
2020-07-09T19:50:26.974088
2019-12-08T04:22:24
2019-12-08T04:22:24
204,067,259
0
1
null
null
null
null
UTF-8
Python
false
false
2,858
py
from pyspark.sql import SparkSession from pyspark.ml.classification import DecisionTreeClassifier from pyspark.ml.evaluation import MulticlassClassificationEvaluator from pyspark.ml.feature import VectorAssembler from pyspark.mllib.evaluation import MulticlassMetrics from pyspark.ml.feature import StringIndexer f...
[ "joshmithat96@gmail.com" ]
joshmithat96@gmail.com
05f8680d84d197f63304d082bcbd975140250ff5
5dd711fc63f1f005aa16c2dc07faae310feb8e92
/zabbixapi.py
6ec1510015c2ca962212e7038e41e330aab22ec6
[ "MIT" ]
permissive
mojunneng/zabbixapi
fd8818b87116dcc623cac0f9526ec38ae260a76e
993446dd8269604012c69691086c22df457b706e
refs/heads/master
2020-04-26T23:23:56.208878
2018-01-26T08:10:10
2018-01-26T08:10:10
null
0
0
null
null
null
null
UTF-8
Python
false
false
13,062
py
#!/usr/bin/env python # -*- coding:utf-8 -*- import json import time import requests import os import sys reload(sys) sys.setdefaultencoding('utf-8') # zabbix认证信息 zabbix_url = "http://52.80.127.55/zabbix/api_jsonrpc.php" zabbix_username = "Admin" zabbix_password = "zabbix" #全局变量定义 local_path = os.path.split(os.path.rea...
[ "zhenglisai@126.com" ]
zhenglisai@126.com
1a805958afcbe383dc5cc29fa109a76bb53df482
de24f83a5e3768a2638ebcf13cbe717e75740168
/moodledata/vpl_data/217/usersdata/267/113215/submittedfiles/av2_p3_m2.py
520578eac65d6d93a9e155c6f0915e7cad14a53b
[]
no_license
rafaelperazzo/programacao-web
95643423a35c44613b0f64bed05bd34780fe2436
170dd5440afb9ee68a973f3de13a99aa4c735d79
refs/heads/master
2021-01-12T14:06:25.773146
2017-12-22T16:05:45
2017-12-22T16:05:45
69,566,344
0
0
null
null
null
null
UTF-8
Python
false
false
1,203
py
# -*- coding: utf-8 -*- import numpy as np #FUNÇÃO def Ldiferente(a,valorsoma): for i in range(0,n,1): soma=0 for j in range(0,n,1): soma=soma+a[i,j] if valorsoma!=soma: return(i) def Cdiferente(a,valorsoma): for j in range(0,n,1): soma=0 ...
[ "rafael.mota@ufca.edu.br" ]
rafael.mota@ufca.edu.br
49298219e3aeca8791c90ee9b3151741ec09fcff
2838c2b60402cfb5c67276318f3b1129345eff90
/smbio/interface.py
a33b480aeeb3c9da8ed6cefc85958b933707495e
[ "BSD-3-Clause" ]
permissive
Ryex/i2c-alarmpy
7a92a83f34950c0e01e27846133fa130283ae404
83c613e832bdb131298880b9eef387d9c52fcd3a
refs/heads/master
2016-08-12T13:31:38.564725
2015-12-19T01:34:59
2015-12-19T01:34:59
46,528,534
2
1
null
null
null
null
UTF-8
Python
false
false
3,277
py
import time import re from .smb import Peripheral class Keypad4x4Matrix(Peripheral): DIRECTION = -1 DATAMAP = Peripheral.datamap() DATAMAP["upsidedown"] = "bool" DATAMAP["repeat"] = "int" DATAMAP["timeout"] = "int" DATAMAP["beep"] = "bool" MATRIX = [['1', '2', '3', 'A'], [...
[ "ryexander@gmail.com" ]
ryexander@gmail.com
e389bfb07bd28dd31c6906e8e412d593f5754b24
d9de59f274ec89ed868891c9c4f9b84b7d347384
/first_app/views.py
5867a4319bfead8e329bd9b93c7c3378fa1da258
[]
no_license
Olivier-Patrick/master_django
dda6214c6217fb3727563f445a0b9bd804057d37
046c72ec5f0267ebab0b1d718c0dd0b6f68c6f27
refs/heads/master
2022-04-27T01:16:08.786574
2020-04-16T21:20:16
2020-04-16T21:20:16
256,332,008
0
0
null
null
null
null
UTF-8
Python
false
false
387
py
# pylint: disable=no-member from django.shortcuts import render from django.http import HttpResponse from first_app.models import Topic, Webpage, AccessRecord # Create your views here. def index(request): webpages_list = AccessRecord.objects.order_by('date') date_dic = {'access_records': webpages_list} ...
[ "gopatrik8@gmail.com" ]
gopatrik8@gmail.com
363527ebe0e57e884e5b58ae3336bac79dc85662
ff38e616cc73c5b139205f9b4b26517edeafcf70
/prediksicovidjatim/config.py
91af34dce6725e833a1be81625fa655d04f72803
[ "MIT" ]
permissive
prediksicovidjatim/prediksicovidjatim-core
4319b048b8c9c981a4cd27e1b6eb2085e8faf301
e0be4b86d98e1f628852ec627bb1a5b406efb923
refs/heads/master
2022-12-03T09:19:14.863661
2020-08-19T09:22:10
2020-08-19T09:22:10
282,635,624
0
1
MIT
2020-08-19T09:22:11
2020-07-26T11:28:22
null
UTF-8
Python
false
false
1,219
py
import matplotlib import matplotlib.pyplot as plt FONT_SMALL = 12 FONT_MEDIUM = 14 FONT_BIG = 16 FIG_SIZE = (13,8) LINE_WIDTH = 2 FLOAT_TOLERANCE=1e-7 FIRST_TANGGAL = "2020-03-20" PREDICT_DAYS = 30 def init_plot(font_small=None, font_medium=None, font_big=None, fig_size=None, line_width=None): global FONT_SMALL ...
[ "rizqinur2010@gmail.com" ]
rizqinur2010@gmail.com
c9e7229486d218cf9a6fbba78ee81bc0bb9c6479
aa641d59ea282e12a603d463e4396e3a6ce6ab19
/fitlanecal/tests/fitlanecal_test.py
17989330d0e03b5c493ab8748af67832907d0819
[]
no_license
paraita/fitlanecal
440f72827f8932de52228d92c5923bc8b911732e
f5708217ae4c307901904bfb849dd738443c3b0c
refs/heads/master
2020-12-25T20:42:03.927929
2016-02-22T20:46:03
2016-02-22T20:46:03
43,499,292
0
0
null
2016-02-20T22:10:10
2015-10-01T13:54:50
HTML
UTF-8
Python
false
false
5,887
py
from mock import patch from fitlanecal import * def course_name_test(): assert course_name('11') == 'Body Combat' assert course_name('tamure') == '???' def club_name_test(): assert club_name('nice-centre') == 'Nice Centre' assert club_name('aito-gym') == 'Nice Centre' assert club_name('') == 'Nice...
[ "milkyboi@gmail.com" ]
milkyboi@gmail.com
12bbf196468a074a4a8c3836d80fd7d841d193f5
10c01319a25b4acc0912f523093bd97d15232a8a
/setup.py
2ed999f8bb53aa0d1aa0ff1a868cee1e602c26d1
[ "MIT" ]
permissive
klukosiute/MOSFiT
0c8620ce34ff4d26235fbc7a656dd4b7aec6407e
4bc6c74f4b592e4f023aad69fd17fe95078d518d
refs/heads/master
2020-03-31T19:12:12.953770
2018-10-12T21:31:17
2018-10-12T21:31:17
152,488,198
0
0
MIT
2018-10-10T20:50:55
2018-10-10T20:50:54
null
UTF-8
Python
false
false
2,366
py
"""Setup script for MOSFiT.""" import fnmatch import os import re from setuptools import find_packages, setup with open(os.path.join('mosfit', 'requirements.txt')) as f: required = f.read().splitlines() with open(os.path.join('mosfit', 'dependencies.txt')) as f: dependencies = f.read().splitlines() dir_path...
[ "guillochon@gmail.com" ]
guillochon@gmail.com
a0847b019b7f8306023ca7019fc09a6d8e70804a
af27baf72b50a3b2333325b7e67806a1895f5820
/docs/conf.py
c804cfb52c4fd3c11cf90cd37cf5b1c35cefdcf5
[]
no_license
dschor5/unit_test
5a77da4b72448a61668908929861b13b0decff0c
0ed00365b4a33c92bd14ed02d4d616bb2df8328a
refs/heads/main
2023-02-15T11:15:20.737159
2021-01-04T19:50:13
2021-01-04T19:50:13
324,447,741
0
0
null
null
null
null
UTF-8
Python
false
false
2,486
py
# Configuration file for the Sphinx documentation builder. # # This file only contains a selection of the most common options. For a full # list see the documentation: # https://www.sphinx-doc.org/en/master/usage/configuration.html # -- Path setup -------------------------------------------------------------- # If ex...
[ "dario.schor@und.edu" ]
dario.schor@und.edu
8324a111bb42cc6b2af0226dce01cf06204ed2bd
fa5378bbbea53e3896c74798286e3323d4dbd7b2
/python3/1_6-aaah.py
f07b758112bac2a3ca389708a388236d82cb6107
[]
no_license
ongaaron96/kattis-solutions
150abaab6b223164eef37381d1d5680338e0c9c9
ca059b830891113185667724e0a0c02faf7cbefe
refs/heads/main
2023-04-16T09:33:32.574335
2021-04-25T12:35:36
2021-04-25T12:35:36
359,774,473
0
0
null
null
null
null
UTF-8
Python
false
false
67
py
if len(input()) >= len(input()): print("go") else: print("no")
[ "ong.aaron96@gmail.com" ]
ong.aaron96@gmail.com
ca91272814abf57325250fae6fc0dd6c58ea68b4
2762d9956ab9b79d973c0a9d1082a200c8d088ec
/CLI-py.py
daf1debfeac7ce97dba8247ed9e11e7e142864ab
[]
no_license
PresentJay/py-cli-test
7361c457f8348b9f4eb8f0cc9365c75ee6e6006a
1632329729a97169ab6ba41ddc7d27c564a1b733
refs/heads/master
2022-11-17T11:17:31.494744
2020-07-14T23:08:57
2020-07-14T23:08:57
279,513,092
0
0
null
null
null
null
UTF-8
Python
false
false
5,301
py
import os import re import click import six from PyInquirer import (Token, ValidationError, Validator, print_json, prompt, style_from_dict) from pyfiglet import figlet_format try: import colorama colorama.init() except ImportError: colorama = None try: from termcolor import c...
[ "PresentJay@Etri.re.kr" ]
PresentJay@Etri.re.kr
9a135fa65eab479380e7f77a1adde1e20bfc8591
36f6bc738de593e8a76ba2af6715b956c7f72ff7
/yahtzee.py
2ced1a7ee98a0be99f83386649ef629dcab8a779
[]
no_license
jmullen2782/projects
18e0498394763aea5787a892373c463856bb41f5
e28e4e34d61ce1569794db2a5a8a4e2a3620c9d9
refs/heads/master
2020-03-31T00:41:41.934053
2019-05-28T16:44:03
2019-05-28T16:44:03
151,750,534
0
0
null
null
null
null
UTF-8
Python
false
false
545
py
''' Created on May 17, 2019 Yahtzee @author: Jennie Mullen ''' class Die: def __init__(self,v=0): self.__value = v def get_value(self): return self.__value def roll(self): import random self.__value = random.randint(1,6) class Yahtzee: ...
[ "noreply@github.com" ]
jmullen2782.noreply@github.com
fc3b48c972172f18bf98f4798900ffb4a3fbd7bd
e1b02eb5d72951f1d75d2e5f056448f8b2db819c
/src/gps_example/catkin_generated/pkg.installspace.context.pc.py
b2c9ce3e13fe2bd4011bec4d2958aa35f6e3125c
[]
no_license
saiprasannasp/octagon
90bdefb4b237695498e09f799979d2fc31786b3e
97028cb25e1c1aee08884d3a0ddfd1f47d1b0381
refs/heads/master
2016-08-09T09:23:29.042610
2015-08-18T22:26:36
2015-08-18T22:26:36
36,534,040
1
0
null
null
null
null
UTF-8
Python
false
false
391
py
# generated from catkin/cmake/template/pkg.context.pc.in CATKIN_PACKAGE_PREFIX = "" PROJECT_PKG_CONFIG_INCLUDE_DIRS = "/usr/local/include".split(';') if "/usr/local/include" != "" else [] PROJECT_CATKIN_DEPENDS = "".replace(';', ' ') PKG_CONFIG_LIBRARIES_WITH_PREFIX = "".split(';') if "" != "" else [] PROJECT_NAME = "g...
[ "sai.saiprasannasp@gmail.com" ]
sai.saiprasannasp@gmail.com
fbd08ee8691b428de5c46390827b57fc9c07e065
e6dab5aa1754ff13755a1f74a28a201681ab7e1c
/.parts/lib/django-1.2/tests/regressiontests/utils/models.py
0dcfaff5de31a5d8bb7e9cd7ba1702e12031609c
[]
no_license
ronkagan/Euler_1
67679203a9510147320f7c6513eefd391630703e
022633cc298475c4f3fd0c6e2bde4f4728713995
refs/heads/master
2021-01-06T20:45:52.901025
2014-09-06T22:34:16
2014-09-06T22:34:16
23,744,842
0
1
null
null
null
null
UTF-8
Python
false
false
103
py
/home/action/.parts/packages/googleappengine/1.9.4/lib/django-1.2/tests/regressiontests/utils/models.py
[ "ron.y.kagan@gmail.com" ]
ron.y.kagan@gmail.com
541df5959e54195ed1c2396b51f3cb95236a0716
4ee54dd2542c62bae162c75e465ec30c26de5b7b
/updatechannel/mixins.py
43cc4d087827915df41106dfef8a4e31bd7d2b12
[]
no_license
INSRapperswil/async-webservice
e90730025c7ca43b65d949bfc69081a676653e54
785b66709147ede760851b21ec1e1cb76e61dc16
refs/heads/master
2023-08-23T06:27:28.502229
2021-04-20T09:57:20
2021-04-20T09:57:20
271,522,677
0
0
null
2021-09-22T19:23:44
2020-06-11T10:55:26
Python
UTF-8
Python
false
false
1,568
py
from updatechannel.consumers import UpdateChannelConsumer class CreateModelNotifyMixin: """ A mixin for views to announce creation of objects. """ def create(self, request, *args, **kwargs): response = super().create(request, *args, **kwargs) model = self.get_serializer().Meta.model ...
[ "marc.sommerhalder@ins.hsr.ch" ]
marc.sommerhalder@ins.hsr.ch
02adb78a69b1331eeb4a57c48a79f4d544992bae
e1c93a2b876e0187639c8dd00aa82d3c822ffd08
/Project AI/main.py
9133b93ea1644b5b91bd53417b7a659af74e0661
[]
no_license
luigi25/Parameter-Learning-of-a-Bayesian-Network
9854bb78f541184ca7356bbe2273904c29588601
57997b10e96651cc761542504ab7ae872e686505
refs/heads/master
2022-04-16T07:00:49.808870
2020-04-15T13:43:55
2020-04-15T13:43:55
250,318,715
0
1
null
null
null
null
UTF-8
Python
false
false
1,457
py
from dataset_generator import dataset_gen, probabilities_dataset from BayesianNetwork import BayesianNetwork from jensen_shannon import js_divergence from parameter_learning import learning import matplotlib.pyplot as plt import numpy as np def main(): probabilities = [0.9, 0.1, 0.83, 0.17, 0.2, 0.8, 0.2...
[ "noreply@github.com" ]
luigi25.noreply@github.com
709fe05a854858f078a7119fb1cf5262533f0ebd
f935033b93b8167b5ec10fce3cd6b61d2d0a2213
/structural/adapter.py
33646f3d69c2f880cc36d74ce4c8b2405d3375b1
[]
no_license
lqminhdev/python-design-patterns
ef87e73020bda05fa34c203e2d113d17de90ca23
a58a03aecf2cb8789b01fe557e8b075b400e1c0d
refs/heads/master
2020-03-22T04:56:35.362655
2018-07-03T07:25:23
2018-07-03T07:25:23
139,531,226
0
0
null
null
null
null
UTF-8
Python
false
false
1,508
py
class Dog(object): def __init__(self): self.name = 'Dog' def bark(self): return 'woof!' class Cat(object): def __init__(self): self.name = 'Cat' def meow(self): return 'meow!' class Human(object): def __init__(self): self.name = 'Human' def speak(self)...
[ "minhlq@adasiaholdings.com" ]
minhlq@adasiaholdings.com
32959ae3cdf30d6bce0eff88ef114150768fb897
058a07bcd258a2578d43bcf3d691db41d6cd9a72
/app.py
cf467311b463864313d2ab5496dc33f9675f554b
[]
no_license
nothene/stroke-prediction-web-interface
9200d98f657748ad6124c452a22a78300d105818
427a61d0a4a365a9ee4560feca61c1f7a33fa9d2
refs/heads/master
2023-04-22T12:11:43.167202
2021-04-21T01:54:05
2021-04-21T01:54:05
359,998,852
0
0
null
null
null
null
UTF-8
Python
false
false
1,022
py
import numpy as np import pandas as pd from flask import Flask, request, jsonify, render_template import pickle import json import sys cat_map = {} with open('cat.json') as file: cat_map = json.load(file) app = Flask(__name__) model = pickle.load(open('gradient.pkl', 'rb')) @app.route('/') def home(): retur...
[ "kevin_huang31@yahoo.co.id" ]
kevin_huang31@yahoo.co.id
e02f6ab34ef6899c568fd5e10a814e4265496c2d
b8ab0e1ac2634741a05e5fef583585b597a6cdcf
/wsltools/utils/faker/providers/job/pl_PL/__init__.py
719cc78f62dc09cb90efb008194295eb4c964925
[ "MIT" ]
permissive
Symbo1/wsltools
be99716eac93bfc270a5ef0e47769290827fc0c4
0b6e536fc85c707a1c81f0296c4e91ca835396a1
refs/heads/master
2022-11-06T16:07:50.645753
2020-06-30T13:08:00
2020-06-30T13:08:00
256,140,035
425
34
MIT
2020-04-16T14:10:45
2020-04-16T07:22:21
Python
UTF-8
Python
false
false
5,595
py
# coding=utf-8 from __future__ import unicode_literals from .. import Provider as BaseProvider class Provider(BaseProvider): jobs = [ "Agent celny", "Agent firmy inwestycyjnej", "Agent literacki", "Agent ubezpieczeniowy", "Agronom", "Aktor", "Aktor dziecięc...
[ "tr3jer@gmail.com" ]
tr3jer@gmail.com
9d559a5a5771f3094b3a8a45fc6859e136beef85
99c4d4a6592fded0e8e59652484ab226ac0bd38c
/code/batch-1/vse-naloge-brez-testov/DN4-M-231.py
4900c7a410567b69e439a7b6c5d4bbd07fa705f3
[]
no_license
benquick123/code-profiling
23e9aa5aecb91753e2f1fecdc3f6d62049a990d5
0d496d649247776d121683d10019ec2a7cba574c
refs/heads/master
2021-10-08T02:53:50.107036
2018-12-06T22:56:38
2018-12-06T22:56:38
126,011,752
0
0
null
null
null
null
UTF-8
Python
false
false
4,396
py
import math ################################ WARM UP FUNCTIONS #################################### ### Function gives back coordinates of the city we choose. def koordinate(ime, kraji): for imena in kraji: for data in imena: if ime == data: return imena[1], imena[2] ### Funct...
[ "lenart.motnikar@gmail.com" ]
lenart.motnikar@gmail.com
645909e49a98a779401792630d47737e27a5d5c7
c92c0d92bac73ac54fbb30395f8f9ef6b41b20a8
/attemptlogin/keystone_counter.py
37666a04b71ea146c72e7973b15693ff4b2dd823
[]
no_license
DonnieQ/Randall_PythonCodeSDE
9876272ea2d770f21a0179046fa1847178066d2f
1b87f840a77b1950bcaed0e3572f0de02cad2fcf
refs/heads/main
2023-02-18T07:23:31.220691
2021-01-15T19:58:01
2021-01-15T19:58:01
326,742,763
0
0
null
null
null
null
UTF-8
Python
false
false
685
py
#!/usr/bin/python3 # parse keystone.common.wsgi and return number of failed login attempts loginfail = 0 # counter for fails # open the file for reading keystone_file = open("/home/student/Randall_PythonCodeSDE/attemptlogin/keystone.common.wsgi","r") # turn the file into a list of lines in memory keystone_file_lines=ke...
[ "rwade727@gmail.com" ]
rwade727@gmail.com
c0a5b30451404feb6e507cb09220b1771b8859d6
afc19d77eb5423df5b16d24039bff53f381ae628
/dev/apps.py
1dec1bb8e8b5a116e547aa616f7f88e0bb8aab44
[]
no_license
Rsingh2805/BootCampIITR
26a61c7388a30743e16296ff51c9c67a81828f89
4e17dcadb99bc7504d5f2949bd1887ebf01b2e82
refs/heads/master
2021-08-07T22:51:38.332625
2017-11-09T04:59:31
2017-11-09T04:59:31
106,817,773
4
1
null
2017-10-30T07:23:31
2017-10-13T11:47:43
Python
UTF-8
Python
false
false
146
py
# -*- coding: utf-8 -*- from __future__ import unicode_literals from django.apps import AppConfig class DevConfig(AppConfig): name = 'dev'
[ "rs280599@gmail.com" ]
rs280599@gmail.com
624bd7a4deb3b31e6510371e0799339704ba622f
aa4cf458d23409cdf0be219c05fc31e61fa38593
/djangogirls/wsgi.py
f33604220809ca4421f7ec0941ec27f7de3e84a1
[]
no_license
Jantz021991/djangoGirls
35f8628195e9cb3061c86dcb32f946b0b30854b7
2ab1cb1c2316e267e40740ae69fcee9c04019112
refs/heads/master
2022-12-18T01:15:36.613846
2018-04-02T04:45:23
2018-04-02T04:45:23
127,495,573
1
0
null
2022-12-08T00:51:31
2018-03-31T03:30:43
Python
UTF-8
Python
false
false
546
py
""" WSGI config for djangogirls 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.11/howto/deployment/wsgi/ """ import os from django.core.wsgi import get_wsgi_application from django.core.wsgi import g...
[ "djantz@unomaha.edu" ]
djantz@unomaha.edu
8a37855a595a2977091199954cab2c10d933a1fc
ba3c06f9ae89479fa4987fe841ac09b5b5d71383
/python_for_kids/book/Examples/lotto2.py
fed297d6c381e0e5ae3defaf06ef766695560466
[]
no_license
mary-tano/python-programming
6d806e25011e770a04a0922d0b71bf38c222d026
829654a3274be939fa529ed94ea568c12f7f1a27
refs/heads/master
2021-05-17T15:30:32.710838
2020-04-01T13:37:18
2020-04-01T13:37:18
250,846,188
0
0
null
null
null
null
UTF-8
Python
false
false
494
py
# Лото import random Ball = [] # Все шары еще не "вытащены" for Nr in range(1,50) : Ball.append(0) Case = random.randint(1,49) # "Вытягивается" шесть шаров for Nr in range(6) : # поиск неиспользованных шаров while Ball[Case] == 1 : Case = random.randint(1,49) # Пометка использованного шара "вытащенным" Ba...
[ "masha.mary.tano@gmail.com" ]
masha.mary.tano@gmail.com
e40eddbfe174f0c3f3d6e09c9525863a77f9a334
e8d13ea933bf004adff9c8a06619feeab109883e
/Ecommerce/wsgi.py
3b88e7f619f66bdc51cc18286e9f3e16482964e3
[]
no_license
AaronDasani/Ecommerce
984fc25060528aee5290def42955803ccad7a375
9e3952865fddb053fc5f627487ad5c71af6e83bb
refs/heads/master
2022-12-08T17:03:01.387326
2019-02-13T20:51:53
2019-02-13T20:51:53
166,871,712
2
0
null
2022-11-22T03:24:06
2019-01-21T19:54:39
HTML
UTF-8
Python
false
false
396
py
""" WSGI config for Ecommerce project. It exposes the WSGI callable as a module-level variable named ``application``. For more information on this file, see https://docs.djangoproject.com/en/1.10/howto/deployment/wsgi/ """ import os from django.core.wsgi import get_wsgi_application os.environ.setdefault("DJANGO_SE...
[ "aaron.mike2406@gmail.com" ]
aaron.mike2406@gmail.com
71a547516f79998fb726804bac2cfca94955988d
15f321878face2af9317363c5f6de1e5ddd9b749
/solutions_python/Problem_136/2046.py
18fd5baede0be2e49e8d3c5f3e0abc6881d0f3b4
[]
no_license
dr-dos-ok/Code_Jam_Webscraper
c06fd59870842664cd79c41eb460a09553e1c80a
26a35bf114a3aa30fc4c677ef069d95f41665cc0
refs/heads/master
2020-04-06T08:17:40.938460
2018-10-14T10:12:47
2018-10-14T10:12:47
null
0
0
null
null
null
null
UTF-8
Python
false
false
826
py
#!/usr/bin/python def main(): fin = open('B-large.in','r') fout = open('B-large-practice.out','w') test_cases = int(fin.readline()) for test_case in xrange(test_cases): win = 0 cfx = fin.readline().split() [C,F,X] = [float(num) for num in cfx] rate = 2.0 cookie = 0.0 time = 0.0 while...
[ "miliar1732@gmail.com" ]
miliar1732@gmail.com
ce6d60c24b1d6975a2e06797a4c029d6dea5b576
89438f70dcad92b76ff1609e3ae587c53a837f80
/Python/Problem28/Problem 28.py
0579cc29e78c2946eeac9954fb679d65b7c7bf65
[]
no_license
TannerLow/Project-Euler-Solutions
78877987b496d30c7845c3010cc99ce95dc8afa2
ffa6a349006d3e2de84b2cd70a565dd0a5196294
refs/heads/master
2020-04-28T02:35:16.956799
2019-11-10T21:34:45
2019-11-10T21:34:45
174,904,457
0
0
null
null
null
null
UTF-8
Python
false
false
213
py
import time start_time = time.time() sum = 1 for x in range(1,501): sum += (2*x+1)**2 sum += ((2*x+1)**2 - 6*x) sum += ((2*x+1)**2 - 4*x) sum += ((2*x+1)**2 - 2*x) print(sum) print(time.time() - start_time)
[ "lowthorpt@gmail.com" ]
lowthorpt@gmail.com
2745ceb8bb2985639715d688754e8b72c6867554
fd2c8d2530a0905dce4316f5136f658b248249a0
/src/classify_reads.py
39c3cd77a88a7ba6f9d363a130ccc8733eaac9ce
[]
no_license
chengdai/amr_pipeline
ddd31d041faaacbe05b258deaff8461a521b76df
677b2d538384a1fe44b56aa0a79ff7efad0321a6
refs/heads/master
2020-03-16T23:13:11.649229
2018-12-17T20:35:18
2018-12-17T20:35:18
133,069,588
0
0
null
null
null
null
UTF-8
Python
false
false
2,610
py
import glob import os import subprocess import argparse '''NOTE: When in doubt, call "python [FILENAME.py] -h" to get a description of the necessary parameters''' def classify_reads(f, centrifuge, db, threads, out_path): print 'Finding taxonomic composition for file: {0}'.format(f.split('/')[-1]) fastq_read_1...
[ "chengzhendai@gmail.com" ]
chengzhendai@gmail.com
231a5a25a80b090e60ab3c6522e2717ddce20db9
137b60bdec1aeb865f8f7f85107be1a88e4e7472
/plant_nursery/models/__init__.py
3f4798233587df54ea747cc55dbd67859c65a51b
[]
no_license
HabibAroua/odoo_training2
7db3b26fdca21b7102db65147fbb40432f9afb88
cc1008be6cbc8306dceb95432e8a50902d0fb12c
refs/heads/master
2022-04-24T05:09:19.389561
2020-04-27T15:28:20
2020-04-27T15:28:20
240,235,477
0
0
null
null
null
null
UTF-8
Python
false
false
62
py
from . import customer from . import order from . import plant
[ "habibha.aroua82@gmail.com" ]
habibha.aroua82@gmail.com
cd9ffc5f7f152c218a7c4c78700f66b7c5e2a020
f80b952de024913ba42d9e2f8a1c1e65734bb71a
/characters.py
7e71c4da3aae0ce6e05519ca20ca959796649485
[]
no_license
Python-lab-cycle/ThasniPK
760fde2a13c24f9c8de332c08f5302942b9fdde0
f0b951d3a62a8592d89797e0a26d6c86ca108181
refs/heads/main
2023-06-16T03:55:34.378344
2021-07-02T10:10:49
2021-07-02T10:10:49
330,555,889
0
0
null
null
null
null
UTF-8
Python
false
false
197
py
dict={} str1=input("enter a string:") for n in str1: if n in dict: dict[n]+=1 else: dict[n]=1 print("character frequency") for k,v in dict.items(): print(k,v)
[ "noreply@github.com" ]
Python-lab-cycle.noreply@github.com
ed17f61ed7c21250dc61923916a3569483570fb2
17ea6c9fb83a1b78319eb9578dccf2ddeb7a5a9c
/src/the_counter/migrations/0001_initial.py
846d00a0a3559f6add2ffeccc0f19e0e1183d101
[]
no_license
LIFA-0808/BudgetCounter-DjangoApp
bd736f3586e1357d50e08dc21c18f96604e5568e
d4e8febfc272d256dac314947d06a0915ff61e26
refs/heads/master
2022-08-29T04:48:33.978538
2020-05-29T18:51:52
2020-05-29T18:51:52
262,847,224
0
1
null
null
null
null
UTF-8
Python
false
false
1,135
py
# Generated by Django 3.0.6 on 2020-05-10 18:02 import datetime from django.db import migrations, models class Migration(migrations.Migration): initial = True dependencies = [ ] operations = [ migrations.CreateModel( name='Record', fields=[ ('id', mo...
[ "iramilka123@gmail.com" ]
iramilka123@gmail.com
95ca0ee32f8ed449eec3633ae8dc06658de5473c
f33b30743110532ddae286ba1b34993e61669ab7
/Task Scheduler.py
242eb056eb4d8ce1d4be0f90116b904c570ba218
[]
no_license
c940606/leetcode
fe9dcee7a5daa4d52999d5f53253dd6dd33c348b
631df2ce6892a6fbb3e435f57e90d85f8200d125
refs/heads/master
2021-07-10T14:01:26.164966
2020-08-16T10:46:16
2020-08-16T10:46:16
186,588,449
3
0
null
null
null
null
UTF-8
Python
false
false
1,647
py
from collections import Counter class Solution(object): def leastInterval(self, tasks, n): """ 给定一个用字符数组表示的 CPU 需要执行的任务列表。 其中包含使用大写的 A - Z 字母表示的26 种不同种类的任务。任务可以以任意顺序执行, 并且每个任务都可以在 1 个单位时间内执行完。CPU 在任何一个单位时间内都可以执行一个任务,或者在待命状态。 然而,两个相同种类的任务之间必须有长度为 n 的冷却时间,因此至少有连续 n 个单位时间内 CPU 在执行不同的任务,或者在待命状态。 你需要计算完成所有任务所...
[ "762307667@qq.com" ]
762307667@qq.com
821d2627c4102f6899b298e8655bdf34068703f2
35854414ad6bb60b8db6cc69b6e9054b2ea0a3d9
/src/libs/constants.py
5abf9c65c4b3f6d363f89dc8f8e33fd209043c00
[ "MIT" ]
permissive
TalalMahmoodChaudhry/FastAPI-Postgres-Kubernetes
84f4fdca825c08c8f1c71af059d5beeee87b1266
32f5332eb3284201945908a693b106def5767049
refs/heads/main
2023-06-08T11:18:21.047380
2021-06-10T07:44:26
2021-06-10T07:44:26
372,060,147
0
0
null
null
null
null
UTF-8
Python
false
false
643
py
import os # Sensitive secrets injected as env variable (e.g. through Kubernetes secrets or retrieved from vault) DATABASE_URL = os.environ['DATABASE_URL'] SECRET_KEY = os.getenv('SECRET_KEY', 'de4d36b1c5605f70c8aab59216e4261ad8b984b75e23b978c07c22bedc14215e') ALGORITHM = "HS256" ACCESS_TOKEN_EXPIRE_MINUTES = 30 user...
[ "talalmahmood@gmail.com" ]
talalmahmood@gmail.com
0357d900cd341755828a42edc5f1b37fb7abcd83
555b9f764d9bca5232360979460bc35c2f5ad424
/google/ads/google_ads/v1/proto/common/metrics_pb2.py
f013b2668da6c4e30499e209598700d9ac72048a
[ "Apache-2.0", "LicenseRef-scancode-generic-cla" ]
permissive
juanmacugat/google-ads-python
b50256163782bc0223bcd8b29f789d74f4cfad05
0fc8a7dbf31d9e8e2a4364df93bec5f6b7edd50a
refs/heads/master
2021-02-18T17:00:22.067673
2020-03-05T16:13:57
2020-03-05T16:13:57
245,215,877
1
0
Apache-2.0
2020-03-05T16:39:34
2020-03-05T16:39:33
null
UTF-8
Python
false
true
95,551
py
# -*- coding: utf-8 -*- # Generated by the protocol buffer compiler. DO NOT EDIT! # source: google/ads/googleads_v1/proto/common/metrics.proto import sys _b=sys.version_info[0]<3 and (lambda x:x) or (lambda x:x.encode('latin1')) from google.protobuf import descriptor as _descriptor from google.protobuf import message...
[ "noreply@github.com" ]
juanmacugat.noreply@github.com
c35c47d85e8eaf7ce3ec0cafdf48201c7f443497
647d4a050fb9a702d07b33d3bdea48c4bb3bc94a
/1_term/Homeworks/Homework 7/problem 7_2.py
62adce546a2268be3fbf1a60e67bb170231af595
[]
no_license
MaximPushkar/PythonUniversity
22b54741a13dc50f1c038cbe3fbbd0dfee479b77
25f99d00f935cf3cb6fcc8fcb1d2626b9759304d
refs/heads/master
2021-08-16T07:56:24.497993
2021-06-02T06:29:41
2021-06-02T06:29:41
254,047,704
1
0
null
null
null
null
UTF-8
Python
false
false
204
py
l = list(map(int, input().split())) a, b, c = l[0], l[1], l[2] x = max(a, b, c) y = min(a, b, c) if a != x and a != y: print(a) if b != x and b != y: print(b) if c != x and c != y: print(c)
[ "makspushkar@gmail.com" ]
makspushkar@gmail.com
c7231865f40b0e48fc88eca1e0906a627b701028
d50fa5ec641441af13a2adae13553aff0a7a9afa
/intellexer/comparator/__init__.py
b37349634d0c750fa45851b6d11e1d5c5047a063
[]
no_license
kai3341/intellexer-python
025b65b6bf11dbb7ebd061e0eb6f1d452b26a468
df925db6fe4fcf645a7d83cf3f1fdf98e12c4106
refs/heads/master
2020-05-06T13:47:52.190941
2019-04-17T18:28:18
2019-04-17T18:28:18
180,156,646
0
0
null
2019-04-17T18:28:19
2019-04-08T13:36:12
Python
UTF-8
Python
false
false
29
py
from .main import Comparator
[ "antonk@esl236.es.local" ]
antonk@esl236.es.local
180a77651c0bba342cf5dbf9653fb4cdd9a2f4fe
64575084a709abd2f034fa8baf9fe9bb15f0303d
/timeline/migrations/0006_auto_20210208_1125.py
de8370c78fcbbca5f6c64da4a6666ac06365d1a4
[]
no_license
AsiriAmalk/fb_replica
616041a6134b879884a4349159ae41c6df72d2d1
bdd7af6aee90813393139ff03241163c68ff8b34
refs/heads/master
2023-02-26T18:30:20.729120
2021-02-08T09:15:30
2021-02-08T09:15:30
336,967,775
0
0
null
null
null
null
UTF-8
Python
false
false
419
py
# Generated by Django 3.1.6 on 2021-02-08 05:55 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('timeline', '0005_postfiles_file_name'), ] operations = [ migrations.AlterField( model_name='postfiles', name='file_n...
[ "asiri.15@cse.mrt.ac.lk" ]
asiri.15@cse.mrt.ac.lk
b81e8278d7b20ea07e4043a857d5a74b10a2fb8a
cc2a00ce7e05245327ce8da85d0e3aa01d9635b9
/Q_learning/Tank_1/main.py
bd3fa0cfeb2628b937d011b3d66b22c2f652a843
[]
no_license
puttak/Reinforcement-Learning-in-Process-Control
f7c05a0ed41826cb1d7248caffdb3c47bbe66df0
852967e97b2fb0b6c5022365c9ef62906c099832
refs/heads/master
2020-05-03T21:56:33.515929
2019-03-21T08:28:36
2019-03-21T08:28:36
null
0
0
null
null
null
null
UTF-8
Python
false
false
3,897
py
# Add the ptdraft folder path to the sys.path list # sys.path.append("C:/Users/eskil/Google Drive/Skolearbeid/5. klasse/Master") from models.environment import Environment from models.Agent import Agent from params import MAIN_PARAMS, AGENT_PARAMS, TANK_PARAMS, TANK_DIST import os import matplotlib.pyplot as plt import...
[ "eskild.emedd33@gmail.com" ]
eskild.emedd33@gmail.com
0923c8c32c00d1ff45779f2ef45ff25e9f5274e0
22cfe0051c505e569d6d5e4c814c5ab569ca138f
/add_str.py
f67d8bb6f7891ed529af3eb7ac5fdc0231ac8ce3
[]
no_license
haowenchao123/Leetcode_python
01715fd1867996e2d41fe193c3f069a0735582a0
d054cdbfb6f2e0ab6f1ef3b2541612bf57f7c90a
refs/heads/master
2022-02-21T11:46:36.231521
2019-09-02T08:19:48
2019-09-02T08:19:48
null
0
0
null
null
null
null
UTF-8
Python
false
false
398
py
''' 给定两个字符串形式的非负整数 num1 和num2 ,计算它们的和。 注意: num1 和num2 的长度都小于 5100. num1 和num2 都只包含数字 0-9. num1 和num2 都不包含任何前导零。 你不能使用任何內建 BigInteger 库, 也不能直接将输入的字符串转换为整数形式。 ''' class Solution: def addStrings(self, num1: str, num2: str) -> str:
[ "haowenchao123@gmail.com" ]
haowenchao123@gmail.com
a71100ee185d5f0d009211c97743687556883d4a
7ddbf0b004a29e69513204ecf19de11d437d65ba
/application.py
2011bcdbe5130931c4474e6fa36942f35b4dfe14
[]
no_license
bukovinsky/paypage-app1
3c65b56b507df18db1ba181c5b8288419ca8f869
aef1a5133eb0447545ab0f1884f73f7f835f4fc4
refs/heads/master
2022-12-22T06:48:04.978361
2019-02-19T11:07:19
2019-02-19T11:07:19
171,346,316
0
0
null
2022-12-08T01:37:27
2019-02-18T19:49:37
Python
UTF-8
Python
false
false
1,284
py
import logging from flask import Flask, render_template, session, redirect, url_for, request, make_response from application.forms import MainForm, create_form import requests # application from application.views import Payment from application.models import * # Basic configuration for logging logging.basicConfig(file...
[ "timkramerok@gmail.com" ]
timkramerok@gmail.com
e0dcdd338f02911972cbd6e74097c9bf46d23e95
693c8738997d02eea145c48bc2791dcc9e9660ba
/src/testCase/romd/scenario/test_s_a_set302.py
2c6f50ceb64150d609038cd6eb83b92fc1be4154
[]
no_license
maxuechaogao/ap_test_cs
7d57ec66a58dcf042132597dd550da6ed37807cf
ab92efa6584d231b150420e68a35b1625bbfd70a
refs/heads/master
2021-04-26T22:17:37.097113
2018-03-06T11:04:07
2018-03-06T11:04:07
124,064,328
0
0
null
null
null
null
UTF-8
Python
false
false
260
py
# coding:utf-8 __author__ = 'xcma' from src.controll.AboutTestcase import TestCase from src.func.helper.log import log log = log() class Heart(TestCase): def test_a_main_process(self): '''设置302''' self.udp(self.getParam().set302)
[ "maxc@supervcloud.com" ]
maxc@supervcloud.com
2ce0cfa422e427038019818f0bb20e1a76c70dea
649bd422025e421d86025743eac324c9b882a2e8
/exam/1_three-dimensional_atomic_system/dump/phasetrans/temp131_9000.py
0f4bbbc10fb1931bc9e577fc53fbe4b497a9b7ba
[]
no_license
scheuclu/atom_class
36ddee1f6a5995872e858add151c5942c109847c
0c9a8c63d9b38898c1869fe8983126cef17662cd
refs/heads/master
2021-01-21T10:52:28.448221
2017-03-07T23:04:41
2017-03-07T23:04:41
83,489,471
0
0
null
null
null
null
UTF-8
Python
false
false
68,821
py
ITEM: TIMESTEP 9000 ITEM: NUMBER OF ATOMS 2048 ITEM: BOX BOUNDS pp pp pp -1.7670113513643848e+00 4.8967011351357613e+01 -1.7670113513643848e+00 4.8967011351357613e+01 -1.7670113513643848e+00 4.8967011351357613e+01 ITEM: ATOMS id type xs ys zs 40 1 0.0553833 0.0815896 0.0631967 5 1 0.0891973 0.100476 0.152519 39 1 0.120...
[ "scheuclu@gmail.com" ]
scheuclu@gmail.com
474b247e2e45087bd74d2544f1382174516ac0f2
1173a50fd7578dbedce0f997ebd6b7b4611661ce
/server/flask/app/model/database.py
b8592377acfe93b46be089bbb75ace92fcf8ebb3
[ "BSD-3-Clause" ]
permissive
JeanExtreme002/Keylogger
d3b2c1fa741030d33b8ad38e3d63071668fbd66f
bcb568818ca2c71f9cc1663d3858906ac660e778
refs/heads/master
2021-01-01T22:24:20.864439
2020-02-18T03:02:42
2020-02-18T03:02:42
240,398,696
4
0
null
null
null
null
UTF-8
Python
false
false
974
py
class Database(): __users = {} def __contains__(self, user): return user in self.__users def addKey(self, user, value): self.__users[user]["keys"].append(value) def createUser(self, user): self.__users[user] = {"keys": [], "output": "", "input": ""} def destroy(se...
[ "jeangamerextreme@gmail.com" ]
jeangamerextreme@gmail.com
47a7fd2806810bfdca161d08fde9f770cd9ccf33
4cd5186f274b93bda18f7c0c75e27240345500b1
/src/playlists/migrations/0004_alter_playlist_video.py
e2f07cb9ab78137ffd69d6f6eb4402276897bfa8
[]
no_license
alexandersilvera/djangoflix
2244f94358c53476f48c8c2195057982b177da45
ad96fc0489caa4ea0cfe5858a4d8ab3af3f042a3
refs/heads/main
2023-08-21T02:32:39.914463
2021-10-28T13:35:30
2021-10-28T13:35:30
null
0
0
null
null
null
null
UTF-8
Python
false
false
579
py
# Generated by Django 3.2.6 on 2021-08-23 01:07 from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): dependencies = [ ('videos', '0010_alter_video_video_id'), ('playlists', '0003_auto_20210822_2159'), ] operations = [ m...
[ "alexandersilvera@hotmail.com" ]
alexandersilvera@hotmail.com
f099f167e00efaf0e76409c03d259e06c5e5d327
25b81256057c9a2de014ab511e04703dc617f050
/lib_cinci/tests/test_get_dummies.py
6a2eea6dcb86629e638595f29fa716eba950c405
[ "MIT" ]
permissive
conorhenley/cincinnati
7b9b2fc6d13e49ad5e95a557cd79b28bd17f0565
5ca86a8a31099365188969493e0dd369b4faefc0
refs/heads/master
2021-01-13T06:50:18.403686
2016-05-26T20:21:12
2016-05-26T20:21:12
64,249,902
1
0
null
2016-07-26T19:51:03
2016-07-26T19:51:03
null
UTF-8
Python
false
false
2,332
py
import pandas as pd from pandas.util.testing import assert_frame_equal import numpy as np from nose.tools import raises from lib_cinci.util import get_dummies @raises(ValueError) def test_illegal_value(): possible_values = ["val1", "val2", "val3"] data = pd.Series(["val1", "val3", "val1", "val4"]) get_...
[ "edu.blancas@gmail.com" ]
edu.blancas@gmail.com
6c107b66a3a89604ab9290c54f27e7ff1faa9675
b23c5bf483b4df164709313b5d0a2fd21e5df8d7
/components/actor/boss.py
6fb32e3bb9fdcc90943bb97928019332bbe4f3e9
[]
no_license
arbuz777/ECS-Game
9b5abb0e8c2a01bd38b2138d82ad872a9b68a2e8
c01cc9efdff9ace77613a94b648086c85f7ead31
refs/heads/master
2023-03-17T06:20:20.747308
2020-02-10T02:09:30
2020-02-10T02:09:30
null
0
0
null
null
null
null
UTF-8
Python
false
false
82
py
class BossComponent: ' Tags the entity as being the boss. ' __slots__ = ()
[ "0jason.gilbert@gmail.com" ]
0jason.gilbert@gmail.com
3c516e258b544d23bd249e9626f358cd03fdac0a
14238f04b56f3ce9da84f5c001956c1640486a13
/task_1.py
89311d9b78cd5248e92e6018bdff55d9ea27b0b6
[]
no_license
Alumasa/Python-Basics-Class
16e6400b700aa51a7258a5d8f851aa1986839ef5
24ee287ef268f6817f882d04769bc0ba1c4a03cc
refs/heads/master
2021-10-23T06:30:15.149769
2021-10-19T08:33:28
2021-10-19T08:33:28
198,873,059
0
0
null
null
null
null
UTF-8
Python
false
false
1,572
py
""""x = str(input("Input a string:")) if (x == "yes") or (x == "YES") or (x == "Yes"): print("Yes") else: print("No")""" #task2 """"number1 = int(input("Input a number:")) number2 = int(input("Input a second number:")) number3 = int(input("Input a third number:")) if (number1 >= number2) and (number1 >= num...
[ "alumasa.v@gmail.com" ]
alumasa.v@gmail.com
3341d16784036b00723be38b738e54bcf81b3168
40b2334c2de09e2369ce56d744cb9aa7be363260
/src/agent/mnist/model/CNNDQN.py
a11dfb40d3faa793edf8f305c5062e5a207a62ee
[]
no_license
camelop/RL-fooling-framework
4b036ab80480153810d2ee912ba36320793271b8
c3164d3712b566064fdf8b9994b4e0871e161843
refs/heads/master
2020-04-13T23:57:41.966573
2019-10-21T05:22:40
2019-10-21T05:22:40
163,520,589
0
0
null
null
null
null
UTF-8
Python
false
false
3,361
py
from util.config import Config config = Config() from util.logger import Logger logger = Logger() from util import getTimeStr from agent.mnist.model.MnistAgentModelBase import MnistAgentModelBase import numpy as np import mxnet as mx from mxnet import autograd, gluon, init, nd from mxnet.gluon import loss as gloss, n...
[ "lxy9843@sjtu.edu.cn" ]
lxy9843@sjtu.edu.cn
0e65fc2b6a10c1c6f812606ab4b66ed429350843
df62b81ee990c33689103b144a234cdb4198dc21
/02-methods/2-3-08-wait.py
12fd0632c2745de3e2468a1cdb461c62c72f30e5
[]
no_license
dsamoylov/stepik-selenium
3f6aa525c1804f728de5ee352850d8b92786970f
fb1b102e6e87cb3da44844cc0417930639e045a8
refs/heads/main
2023-06-11T17:06:35.069172
2021-07-10T09:23:22
2021-07-10T09:23:22
384,656,799
0
0
null
null
null
null
UTF-8
Python
false
false
1,306
py
from selenium.webdriver.common.by import By from selenium.webdriver.support.ui import WebDriverWait from selenium.webdriver.support import expected_conditions as EC from selenium import webdriver import time import math def calc(x): return str(math.log(abs(12*math.sin(int(x))))) try: link = "http://suninjuly....
[ "d.samoylov@gmail.com" ]
d.samoylov@gmail.com
c3a5b42cf28ba95987b3e86849e2d77f1586d056
afd3799b7eb2dbbc68e79c5b6aa3a86269db3ac7
/task3-2.py
8834039c078eaa989ab7815e46b7cd024118b45c
[]
no_license
pgenkin/geekbrains
ca4960952b0cf830ca30358f10c76c866f73f3da
618577a22c43bc54e1403e1d8aeb2e659e9ca11d
refs/heads/main
2023-04-21T16:41:38.905260
2021-04-07T20:57:18
2021-04-07T20:57:18
345,407,498
0
1
null
null
null
null
UTF-8
Python
false
false
617
py
def user_data_output(name, surname, year, city, email, phone): print(f"First name: {name}; Last name: {surname}; Born in: {year}; Lives in: {city}; Email: {email}; Phone: {phone}") return first_name = input("Enter your first name: ") last_name = input("Enter your last name: ") dob = input("Enter the year your ...
[ "noreply@github.com" ]
pgenkin.noreply@github.com
c7ba4872c6d2d0f7546a3594c8f71c5f5bea2368
dd6531197b712fa6e284ee274b841fc7449bba2b
/snakelet/utilities/conversion.py
d7315a98511af9649b6f366ca4e86db14a25fe29
[ "MIT" ]
permissive
alexgurrola/snakelet
9c066e70686708388a5ec7f3a0844118c104cdb0
5b9b552f51473f823eba15a5a1525ae0a5999ca6
refs/heads/master
2021-08-20T01:51:49.693605
2021-08-17T01:05:02
2021-08-17T01:05:02
122,287,286
2
1
MIT
2021-04-29T20:09:48
2018-02-21T03:20:19
Python
UTF-8
Python
false
false
672
py
import re def snake(string: str): """ :param string: :return: """ return re.sub("([A-Z])", "_\\1", string).lower().lstrip("_") def camel(string: str): """ :param string: :return: """ return "".join(map(str.capitalize, string.split("_"))) class Conversion: cases = { ...
[ "alexgurrola1@gmail.com" ]
alexgurrola1@gmail.com
0fa310bef86d7107cc5edbe56e7901a270e036a1
cebbf770f7421553408c4c17bf2fcdec96dfbf33
/cloudworkers2.py
01f2c74f37df69a399348b3a39c04fa4be114d89
[]
no_license
sduranowski1/Chat-Moderator-bot
cff4f764043f4f74de5f7537affe334115c4d3d2
8a0a9b34d2990b9994f34e94a703ac10ce72eef5
refs/heads/main
2023-02-27T00:41:10.962368
2021-02-06T18:35:38
2021-02-06T18:35:38
336,605,709
0
0
null
null
null
null
UTF-8
Python
false
false
4,424
py
from selenium import webdriver from time import sleep import re from selenium.webdriver.common.keys import Keys from webdriver_manager.chrome import ChromeDriverManager from chatterbot.trainers import ListTrainer from chatterbot import ChatBot from selenium.common.exceptions import NoSuchElementException, StaleElementR...
[ "noreply@github.com" ]
sduranowski1.noreply@github.com
2f2007b80c396847b2dfbba44eed7065ef9ad1da
dc2203fcb3fe18da31d8f577dc9b7534f3ac8f13
/Final1.py
326b147f9a62abad4d75fff1c1fd3dcb08f6b7ca
[]
no_license
Lamarwhigham1/Final-Project
234b39cf257a00b7f73f048123011b07c925ad29
39a2d8ebb9daef7db561deb44a8909eff56eeaf9
refs/heads/master
2021-08-23T02:53:51.874798
2017-12-02T18:33:58
2017-12-02T18:33:58
112,861,311
0
0
null
null
null
null
UTF-8
Python
false
false
202
py
''' Created on Dec 2, 2017 @author: ITAUser ''' numberlist=[]; Number=int(input("Enter a Number:")) for i in range(1,Number + 1): if (Number%i==0): numberlist.append(i) print(numberlist);
[ "33788867+Lamarwhigham1@users.noreply.github.com" ]
33788867+Lamarwhigham1@users.noreply.github.com
8182f6e54492b844cb1c0ef0e09bc533df2bdf1b
9961cb32ff98d06956dd318b2ade2980291347dd
/Count leaf Nodes.py
3041ad3d5f46c60106c2420e1b528b687e4909a6
[]
no_license
sunnysunita/generic-tree
ca3e0900484bfb46582d74be2db439d5db548947
768a719cfb404b1b8a1c7320d8990575ff391cb3
refs/heads/master
2022-07-11T20:58:47.623069
2020-05-06T15:01:06
2020-05-06T15:01:06
260,915,437
1
0
null
null
null
null
UTF-8
Python
false
false
1,012
py
class treeNode: def __init__(self, data): self.data = data self.children = [] def __str__(self): return str(self.data) def leafNodeCount(root): ############################# # PLEASE ADD YOUR CODE HERE # ############################# count = 0 if root is None: ...
[ "sunnysunita.com@gmail.com" ]
sunnysunita.com@gmail.com
767d7d5658b89c474a5171f2fb7f129f36b2b4d9
a27928d964a27d0c77975623a6c777eaba739e28
/venv/bin/pip2.7
ddf5580abbf1eebbf1bebfcd50f353e6faaff16c
[]
no_license
jslu9/PhotoAlbumApp
a92bce19d611a509784ab6125aeecbb3fa803ab8
5f637e1ee1c7e9af24b43b7909bc70bdb6c2d3ab
refs/heads/master
2020-05-21T07:15:09.864302
2017-03-13T07:07:10
2017-03-13T07:07:10
84,592,919
0
0
null
null
null
null
UTF-8
Python
false
false
230
7
#!/Users/atom/PhotoAlbumApp/venv/bin/python # -*- 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())
[ "atom@justins-imac.attlocal.net" ]
atom@justins-imac.attlocal.net
fc30980eca64b6d2199070e5593e7c55ebe8de38
6dc8a8cca60502fba19c99c3d2a1c07d0c79b676
/MW90.bas.10.A5xI.D5C5.py
e676bb251c29ca47610192d4232fd61a17b080ad
[]
no_license
marcelteun/UniformPolyhedra
7d7970d412c515360d896166dead40b0801314b4
ce41d6be97bdd984c4baf485b7a583f9c9b82ea3
refs/heads/master
2021-01-20T06:55:13.454746
2012-02-17T23:07:15
2012-02-17T23:07:15
1,103,365
0
1
null
null
null
null
UTF-8
Python
false
false
24
py
MW82.bas.10.A5xI.D5C5.py
[ "marcelteun@gmail.com" ]
marcelteun@gmail.com
41ae37d9b9aea9c22a68902cb832b9442b095cd8
26b334c726bfbb3ce91d028901fa81f38862725f
/IntentClassification/Parameters.py
f792235959966269045508d931f8236cf457a3a2
[]
no_license
gauravghid/IntentIdentifcation
2ecb15534fb512a5c6af25075afa4c526338ca12
602ee8ea04e85ff619edf1fa3693832fb3d94b89
refs/heads/master
2020-03-23T21:57:17.836200
2018-07-24T19:00:29
2018-07-24T19:00:29
142,143,211
0
0
null
null
null
null
UTF-8
Python
false
false
1,191
py
logpath = "." app_url = "http://10.32.215.23:8000/Intent/" data_Path = './Train_data/' dataFileName = 'SourceData.xlsx' trainFileName = 'Train_Intents.xlsx' testFileName = 'Test_Intents.xlsx' Label = 'Label' class_id = 'class_ids' probability = 'Probability' tensorFlowLogFile = 'tensorflow.log' dataColumn = 'senten...
[ "singhgaurav91@gmail.com" ]
singhgaurav91@gmail.com
71e04bc30953211c391db36994b7375c3de21f86
2f85a2d3917a92d0d990620c9cbd7ad50956c876
/session03/type-demo.py
059e70c0f2a192f7d162ae99ebb83d77d40b46c4
[]
no_license
KyleLawson16/mis3640
14e57203a495c6f40188e6f5c8bf3ec82605e924
647a86838ff77544970973196941cd433851b150
refs/heads/master
2020-03-27T16:41:37.798702
2018-11-01T19:40:03
2018-11-01T19:40:03
146,800,315
0
1
null
null
null
null
UTF-8
Python
false
false
349
py
''' Age Validator w/ Error Handling ''' age = input('Please enter your age: ') def check_age(age): try: age = int(age) if age >= 21: print('yes, you can.') else: print('sorry, you cannot.') except: age = input('Please enter a valid number: ') ch...
[ "Kyle.Lawson7@yahoo.com" ]
Kyle.Lawson7@yahoo.com
173e4c5368fbb933fe6add8012f367ebfc4cf777
14f69686d426bab975e86c3dfe16a4943bb6b966
/samples/fig5.py
accc199dfc0495359087a54dc6fb49913c761bf0
[ "MIT" ]
permissive
ctschnur/kr-poylmer-growth-simulation
82fff053f00f1dfe108c742f325fca77a3ee3bd5
7dfbd71cd7cc96eb34afe5632cbb18e95ca87e74
refs/heads/main
2023-02-25T21:35:26.116501
2021-01-28T09:16:45
2021-01-28T09:16:45
315,961,664
1
0
null
null
null
null
UTF-8
Python
false
false
3,257
py
from __future__ import (absolute_import, division, print_function, unicode_literals) import numpy as np import matplotlib.pyplot as plt import matplotlib as mpl # -- import most important classes from kr.kr import Kr, Kr_constants from kr.plot_utils import Plot_utility def mpl_settings(): ...
[ "534ttl3@gmail.com" ]
534ttl3@gmail.com
757c440c03c5231fcb862b3eceeab975475d24dd
a198e2469c63649fcccae4ffa3c4343899a81906
/project/project/settings.py
6483912729c77f2e39d72c648a2c0878740fca35
[]
no_license
kkltcjk/stock
8531dff442d448e51b0d9b4244278795fe954340
d92d5dbaf4ac8213338a405327a8e4f6a6ef0e76
refs/heads/master
2020-09-13T23:17:53.863398
2016-05-08T15:00:56
2016-05-08T15:00:56
67,521,761
0
0
null
null
null
null
UTF-8
Python
false
false
4,982
py
""" Django settings for project project. Generated by 'django-admin startproject' using Django 1.8.1. For more information on this file, see https://docs.djangoproject.com/en/1.8/topics/settings/ For the full list of settings and their values, see https://docs.djangoproject.com/en/1.8/ref/settings/ """ # Build path...
[ "kkltcjk@gmail.com" ]
kkltcjk@gmail.com
0a48515180b994aa9b65bf5b2e8a3fb424eff032
22279487bee5c983c13887ba11e6a4cd40e8bbe3
/PreprocessData/all_class_files/ParkingFacility.py
7cfad07989704ab95ec0352aeaca6ca40c586a99
[ "MIT" ]
permissive
DylanNEU/Schema
018c9f683c683068422ed7b6392dcebd4ab4d4cd
4854720a15894dd814691a55e03329ecbbb6f558
refs/heads/main
2023-08-30T01:50:20.541634
2021-11-01T15:30:41
2021-11-01T15:30:41
425,238,713
1
0
MIT
2021-11-06T12:29:12
2021-11-06T12:29:11
null
UTF-8
Python
false
false
1,367
py
from PreprocessData.all_class_files.CivicStructure import CivicStructure import global_data class ParkingFacility(CivicStructure): def __init__(self, additionalType=None, alternateName=None, description=None, disambiguatingDescription=None, identifier=None, image=None, mainEntityOfPage=None, name=None, poten...
[ "2213958880@qq.com" ]
2213958880@qq.com
795267c77c531b903e734ab21b42d109c86946fc
0fa24b08a48790052f0f0ac9373316b23b7845f1
/yandex_school/__init__.py
10c9c18f63c199d6141dab4af00db65637d1c8cd
[ "Unlicense" ]
permissive
drunckoder/yandex_school
910cd162371c97ac69903c93f69e87c50a1ca59d
d080fee90b74977e0a671309662893b0f95fad60
refs/heads/master
2020-07-09T14:42:18.723440
2019-12-02T10:03:50
2019-12-02T10:03:50
203,999,250
0
0
null
null
null
null
UTF-8
Python
false
false
686
py
from flask import Flask from flask_cors import CORS from flask_restful import Api from flask_sqlalchemy import SQLAlchemy from yandex_school.config import DB_URL, DB_LOGIN, DB_PASSWORD, DB_NAME app = Flask(__name__) api = Api(app) cors = CORS(app, resources={r'/*': {'origins': '*'}}) # headache reducer app.config['...
[ "drunckoder@gmail.com" ]
drunckoder@gmail.com
7648418f043444812065123ac4e452e493569400
00ee627da10a53df5f61c65e5670995be304ee1f
/Domain_Generalization/data/data_helper.py
ec4d7d214bc57bec673cff17a71aaf1890a2fdbb
[ "MIT", "BSD-2-Clause" ]
permissive
GuardSkill/IntraClassInfoMax
f39ea70cb07713ee60be2d58b79965e6e973b44e
ddf71318575f9a2183c2bcad7a0cb48972212fe4
refs/heads/main
2023-02-23T01:11:24.605569
2021-01-23T07:20:34
2021-01-23T07:20:34
331,529,978
0
0
null
null
null
null
UTF-8
Python
false
false
6,506
py
from os.path import join, dirname import numpy as np import torch from torch.utils.data import DataLoader from torchvision import transforms from data import StandardDataset from data.DGLoader import DGDataset, TestDGDataset,JigsawDataset, JigsawTestDataset, get_split_dataset_info, _dataset_info, \ JigsawTestDatas...
[ "qq497291093@gmail.com" ]
qq497291093@gmail.com
0e65ddeecec0cd3368fa0af4d0d2af759d054d14
092a8fd0b86a70717faa0ab0067ab4eb0ebb6824
/src/quicksave_async/util/logger.py
2456706502234dc289efbd892bb6254f91404ddf
[]
no_license
adiog/io_quicksave_async
d22cc9201fc746a5c1130ed28e19e0f722d1fd3d
f27b6795639f282576723ed938054ba132cddf08
refs/heads/master
2021-08-15T21:36:52.240445
2017-11-18T10:13:01
2017-11-18T10:13:01
106,772,486
0
0
null
null
null
null
UTF-8
Python
false
false
224
py
# This file is a part of quicksave project. # Copyright (c) 2017 Aleksander Gajewski <adiog@quicksave.io>. import datetime def log(message=''): print(datetime.datetime.now().strftime("[%d/%m/%Y %H:%M:%S] ") + message)
[ "adiog@brainfuck.pl" ]
adiog@brainfuck.pl
aad3bf4a34c110dac88db523d9d8223a7b0c10ef
ddec696f292a1eba01ff6ac125d045af3edf24da
/auto-deployment/roles/prober/files/prober.py
b979d82d38265bf292c53da9ec67075a89dd9333
[]
no_license
liqin323/Nix
96de35cb409835d1b68620dbbf81a791cb74a45f
8bc686aa4261d1bacceb8dd5c79a36ab5fd4d991
refs/heads/master
2021-01-17T13:13:53.580353
2016-06-23T06:49:03
2016-06-23T06:49:03
42,692,858
0
0
null
null
null
null
UTF-8
Python
false
false
6,795
py
#!/usr/bin/env python import psutil import sys import yaml from optparse import OptionParser import os import threading import logging import httplib import json __author__ = 'liqin' class Prober(threading.Thread): def __init__(self, conf, logger): threading.Thread.__init__(self) self.conf = co...
[ "28865445@qq.com" ]
28865445@qq.com
f9b2b2adb178b6891af96288648b6a7d20b82fb2
eb6631d40908ab5af1bf91287959474352badaf6
/elpa/jedi-core-20170121.1410/env/bin/easy_install
0593a142d6335636ada0e53a713562b8c2bce0e2
[]
no_license
ykawamura96/my_emacs_setting
86f40accb91faec08fe1e56aa7b30ab5edc9a6f1
fbbe36ccf4db4a9487e0028e6f73f4d11c4b2eca
refs/heads/master
2020-03-30T22:10:00.268593
2019-02-14T13:23:07
2019-02-14T13:23:07
151,652,915
0
0
null
null
null
null
UTF-8
Python
false
false
286
#!/home/mech-user/.emacs.d/elpa/jedi-core-20170121.1410/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())
[ "yo.kawamura1227@gmail.com" ]
yo.kawamura1227@gmail.com
880850097f26544049855382cf49db99b66f1706
423760d5f79624170980839e491e63c401e6aa6d
/Maya_Scripts/PySide2Template.py
e0005f199c3a92f6d4fa1686539cbed21ef6a298
[ "MIT" ]
permissive
tadame/TAS_Dev
1689027fde43f2f6eb29fe153ac0a37a54ac5613
972f439fe7178a5b6f635930623f5ef70f296f06
refs/heads/master
2020-03-26T20:42:37.862123
2020-03-01T17:41:30
2020-03-01T17:41:30
145,341,021
0
1
MIT
2020-02-13T09:01:44
2018-08-19T22:09:38
Python
UTF-8
Python
false
false
2,762
py
# -*- coding: utf-8 -*- import pymel.core as pm import maya.cmds as mc import maya.OpenMayaUI as omui # Parsing PySide2 with Qt_py_master.Qt from Qt_py_master.Qt import QtCore from Qt_py_master.Qt import QtGui from Qt_py_master.Qt import QtWidgets from Qt_py_master.Qt import QtCompat mainWindow = None def getMayaWi...
[ "tomas.adame" ]
tomas.adame
732dfaf365d45a2f8c11aea7f8fca9fb0a7a4811
c4c159a21d2f1ea0d7dfaa965aeff01c8ef70dce
/flask/flaskenv/Lib/site-packages/pip/_internal/commands/__init__.py
b82390b90baf4f31e37aaccfcb0dab47e9708893
[]
no_license
AhsonAslam/webapi
54cf7466aac4685da1105f9fb84c686e38f92121
1b2bfa4614e7afdc57c9210b0674506ea70b20b5
refs/heads/master
2020-07-27T06:05:36.057953
2019-09-17T06:35:33
2019-09-17T06:35:33
208,895,450
0
0
null
null
null
null
UTF-8
Python
false
false
129
py
version https://git-lfs.github.com/spec/v1 oid sha256:285fa6ab39e064cb5b3b1917f4ce9acb21b2ae808dcf9c5d95911ce2522d50c2 size 2295
[ "github@cuba12345" ]
github@cuba12345
d2ff4579f64f6fc73854e5574860063244b80510
9743d5fd24822f79c156ad112229e25adb9ed6f6
/xai/brain/wordbase/nouns/_lagoons.py
452aad121321f957a678bdebf1e2f97ad4db1d91
[ "MIT" ]
permissive
cash2one/xai
de7adad1758f50dd6786bf0111e71a903f039b64
e76f12c9f4dcf3ac1c7c08b0cc8844c0b0a104b6
refs/heads/master
2021-01-19T12:33:54.964379
2017-01-28T02:00:50
2017-01-28T02:00:50
null
0
0
null
null
null
null
UTF-8
Python
false
false
238
py
from xai.brain.wordbase.nouns._lagoon import _LAGOON #calss header class _LAGOONS(_LAGOON, ): def __init__(self,): _LAGOON.__init__(self) self.name = "LAGOONS" self.specie = 'nouns' self.basic = "lagoon" self.jsondata = {}
[ "xingwang1991@gmail.com" ]
xingwang1991@gmail.com
e4ab16f8f7f5eef53da68d709891820278522466
557c1524418c0dc03aff5b0d5b4f13312a1ab748
/Website/website/flaskblog/app.py
1acdb9d72b31511b7e5fff183a44322813bf171a
[]
no_license
theColorfulRainbow/videocapture
0049a6b7819828c320f48e38fd6ff9508dfcda44
77c04685195fe68e9c7513e64092d375da22f774
refs/heads/master
2023-03-09T01:49:34.218224
2021-02-23T14:07:02
2021-02-23T14:07:02
218,082,976
0
0
null
null
null
null
UTF-8
Python
false
false
393
py
""" This script runs the application using a development server. It contains the definition of routes and views for the application. """ from flaskblog import app if __name__ == '__main__': import os HOST = os.environ.get('SERVER_HOST', 'localhost') try: PORT = int(os.environ.get('SERVER_PORT', '55...
[ "s1645821@contador.inf.ed.ac.uk" ]
s1645821@contador.inf.ed.ac.uk
bd05a82a2e83c4ab4590f24632264aee253d9103
e9ef3cd143478660d098668a10e67544a42b5878
/Lib/corpuscrawler/crawl_aom.py
d50bee1821dc4d9ca99f46f8dae1221d0fcd0b11
[ "Apache-2.0" ]
permissive
google/corpuscrawler
a5c790c19b26e6397b768ce26cf12bbcb641eb90
10adaecf4ed5a7d0557c8e692c186023746eb001
refs/heads/master
2023-08-26T04:15:59.036883
2022-04-20T08:18:11
2022-04-20T08:18:11
102,909,145
119
40
NOASSERTION
2022-04-20T08:18:12
2017-09-08T22:21:03
Python
UTF-8
Python
false
false
799
py
# coding: utf-8 # Copyright 2017 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed...
[ "sascha@brawer.ch" ]
sascha@brawer.ch
689030762fd3d8ecc273cc5b9a19029891f5d53b
9130ef79d7fc3af654024ce2927b8f58b4d89f18
/test/print_training_data.py
8bde369e7b7ba352639ef4e6893b95a317419afd
[]
no_license
r-wheeler/qa
19b5370e75d71b399bfd66457c0404222858cdce
28c18bc0b23381e5c9dfd8ee1834f9e559ae9714
refs/heads/master
2021-05-14T07:56:47.296010
2017-12-31T01:19:07
2017-12-31T01:19:07
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,605
py
from preprocessing.vocab_util import * from datasets.squad_data import SquadData from flags import get_options_from_flags import tensorflow as tf PRINT_LIMIT = 10 WORD_PRINT_LIMIT = 5 def _print_qst_or_ctx_np_arr(arr, vocab, ds, is_ctx, wiq_or_wic): for z in range(PRINT_LIMIT): l = [] for zz in r...
[ "obryanlouis@gmail.com" ]
obryanlouis@gmail.com
460acbb039e6072d9e3b75ce2ab21dd79bc13261
bda892fd07e3879df21dcd1775c86269587e7e07
/leetcode/tools/sortedcontainers/sortedlist.py
4e9316e46a6204e68970ef488f6bc163b07c4f4d
[]
no_license
CrzRabbit/Python
46923109b6e516820dd90f880f6603f1cc71ba11
055ace9f0ca4fb09326da77ae39e33173b3bde15
refs/heads/master
2021-12-23T15:44:46.539503
2021-09-23T09:32:42
2021-09-23T09:32:42
119,370,525
2
0
null
null
null
null
UTF-8
Python
false
false
78,983
py
"""Sorted List ============== :doc:`Sorted Containers<index>` is an Apache2 licensed Python sorted collections library, written in pure-Python, and fast as C-extensions. The :doc:`introduction<introduction>` is the best way to get started. Sorted list implementations: .. currentmodule:: sortedcontainers ...
[ "1016864609@qq.com" ]
1016864609@qq.com
787c56c76cfc61bc3e23eb78aa673a5d422b1b23
049c29351641e7245a6dc1fc44a684c0fd17ebf7
/snn/librispeech/train.py
d1e3b4c9d54298cd6108e52a7092871f64251078
[ "MIT" ]
permissive
vjoki/fsl-experi
c093d13efd27ea22a1e990e0c073df6bd30135e6
a5d81afbc69dfec0c01f545168c966fd03a037f1
refs/heads/master
2023-07-11T02:00:25.772149
2021-08-05T11:06:52
2021-08-05T11:06:52
304,908,552
4
1
null
null
null
null
UTF-8
Python
false
false
5,204
py
import argparse from typing import List import pytorch_lightning as pl from snn.librispeech.model import BaseNet, SNN, SNNCapsNet, SNNAngularProto, SNNSoftmaxProto from snn.librispeech.datamodule import LibriSpeechDataModule from pytorch_lightning.loggers import TensorBoardLogger from pytorch_lightning.callbacks impor...
[ "vjoki@zv.fi" ]
vjoki@zv.fi
164cfc3e9cab75e960c7b44fb9e765b75b4c75cc
ac061dfce3fe48024e5e32922f3903194a8fe8b7
/conkat.py
b4e91aa34fbf910c696c6f62e7fa01546e60c19a
[ "MIT" ]
permissive
elbow-jason/jasons-dot-files
e486c771836a2428e4054251dd8be4ab7a27927c
081300ed391e6c59b93e3696ab8219d94e10b768
refs/heads/master
2020-06-02T22:21:11.995806
2014-05-17T09:47:17
2014-05-17T09:47:17
null
0
0
null
null
null
null
UTF-8
Python
false
false
222
py
#!/usr/bin/python #open it f = open('jasons-commands.sh') contents = f.read() f.close() #remove all the newlines new_contents = contents.replace('\n', '') f = open('doit.sh', 'w') #save it f.write(new_contents) f.close()
[ "jlgoldb2@asu.edu" ]
jlgoldb2@asu.edu
6c17096b29d16a058c5371b3d125c37bca2ba7b6
8104f04c4a31232962f82c9f237f87f7be3909b0
/project-2/features.py
64b12a70f91d58619e902c5671dc06623fe87b62
[]
no_license
AndrewZhou924/Digital-Image-Processing-Course-Design
6624d4c819a0f980ddda103577de0677f134b38c
f3a4a29fd7c4dda25d249c2c36fd43efda2d8460
refs/heads/master
2021-07-07T00:49:24.584572
2020-03-31T07:35:37
2020-03-31T07:35:37
241,303,727
0
1
null
2021-06-08T21:07:18
2020-02-18T07:57:59
Jupyter Notebook
UTF-8
Python
false
false
3,066
py
import matplotlib import numpy as np from scipy.ndimage import uniform_filter def extract_features(imgs, feature_fns, verbose = False): num_images = imgs.shape[0] if num_images == 0: return np.array([]) feature_dims = [] first_image_features = [] for feature_fn in feature_fns: feats...
[ "1525927685.com" ]
1525927685.com
f338224e98044fd787e9b9ba9f75cc88a538b2a7
ce2e72a45446699917a306654a7f826c054858a2
/product/wsgi.py
f2f3ceda560156bf841308b2bcf65bc1cc9f47f4
[]
no_license
camiry/Placetoplay-Student_Project
de574460cac6fd807175cd7f7ab21bf1798eb78f
d4baeb0e35b102f8b2d49fb3fdb7fca2f215aeb8
refs/heads/master
2020-06-04T17:07:20.763927
2014-01-10T22:02:45
2014-01-10T22:02:45
null
0
0
null
null
null
null
UTF-8
Python
false
false
389
py
""" WSGI config for product 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.6/howto/deployment/wsgi/ """ import os os.environ.setdefault("DJANGO_SETTINGS_MODULE", "product.settings") from django.core.w...
[ "camiry@gmail.com" ]
camiry@gmail.com
1a5f00bb85d54e7ab67df6c7d63c7592678538cc
a35b24c8c3c5bdf861f3cda9396f2fa6795ec929
/abc/089/A.py
c27ff2005302ee85fa121359bd47bb1ff3c4fde2
[]
no_license
Msksgm/atcoder_msksgm_practice
92a19e2d6c034d95e1cfaf963aff5739edb4ab6e
3ae2dcb7d235a480cdfdfcd6a079e183936979b4
refs/heads/master
2021-08-18T16:08:08.551718
2020-09-24T07:01:11
2020-09-24T07:01:11
224,743,360
0
0
null
null
null
null
UTF-8
Python
false
false
105
py
def main(): n = int(input()) ans = n // 3 print(ans) if __name__ == "__main__": main()
[ "4419517@ed.tus.ac.jp" ]
4419517@ed.tus.ac.jp
df3d637d65bb4848b78f737e4333bed429154921
f07e583dd0b146af05a690e95c4f56231ccee9fc
/lab1_template/onlinecourse/views.py
2db3f6f83325b5e83e2c3066127b9c9484e77698
[]
no_license
andymaintain/complete-django-app-practise-on-ibmcloud
d5e58fdaf6a0df4386991a34f12f89b6eb9c9717
490908cfa7d5ee83d177d42c401ff37b511e05ed
refs/heads/main
2023-08-19T02:20:36.861072
2021-10-01T20:26:08
2021-10-01T20:26:08
412,608,348
0
0
null
null
null
null
UTF-8
Python
false
false
3,422
py
from django.shortcuts import render from django.http import HttpResponse, HttpResponseRedirect from django.shortcuts import get_object_or_404, render, redirect from .models import Course, Lesson, Enrollment from django.urls import reverse from django.views import generic, View from django.http import Http404 # Create ...
[ "andymaintain1@gmail.com" ]
andymaintain1@gmail.com
3da14aecafcfc02e03e388bca809f4404cf34489
f090c3e0faa70cf0ef7c4be99cb894630bce2842
/scripts/dataAnalysis/collectionEfficiency/2012April27/dataProcessor.py
4f1d8b7a99d28231422bab5a365e427e4a5c3195
[]
no_license
HaeffnerLab/resonator
157d1dc455209da9b7de077157bda53b4883c8b7
7c2e377fdc45f6c1ad205f8bbc2e6607eb3fdc71
refs/heads/master
2021-01-09T20:48:03.587634
2016-09-22T18:40:17
2016-09-22T18:40:17
6,715,345
2
1
null
null
null
null
UTF-8
Python
false
false
4,749
py
import numpy as np import labrad import matplotlib from matplotlib import pyplot class dataProcessor(): binTime = 40.0*10**-9 #fpga resolution dopplerBinTime = 1.0*10**-3 def __init__(self, params): self.repumpD = float(params['repumpD']) self.repumpDelay = float(params['repumpDe...
[ "soenkeamoeller@gmail.com" ]
soenkeamoeller@gmail.com
96ce2d6fd40161c9b3df1ff3f281341de4ba2225
0d994b81145d6ca42b7b1fba11f15e28cc44c0eb
/pir_wifi.py
2302b842897daee3830dce83563ebfe8dcc85390
[]
no_license
abhimanyus1997/pirbot
a7028cee11cfb31085a0c30131c757e0320609cc
8a5dd034da646849eaf4df83636538f916f0cbbc
refs/heads/master
2020-04-26T20:16:30.923512
2019-04-23T02:19:26
2019-04-23T02:19:26
173,804,134
1
0
null
null
null
null
UTF-8
Python
false
false
1,801
py
def connect(ssid=None,ssid_password=None): import network if ssid is None: ssid = "whotspot" print('Error!!: Invalid Credentials Provided') print('Using Default SSID') if ssid_password is None: ssid_password = "manumanu" print('Using Default WIFI Authentication Passwo...
[ "abhimanyus1997@gmail.com" ]
abhimanyus1997@gmail.com
70dce8734e8aceda917032bf8c58b58d4d23a82f
8709bd3eb425bb1bf7ac960707285c59aa179403
/src/hackathon/utils/httpclient.py
f9ba5f29a9e744360ad54132543459e620d710ab
[ "MIT" ]
permissive
hyponet/open-hackathon
89969ba26d34d7a14e9bb352b0d3c610d3de45de
cb5f287d4d359e5c4390f94ace9733f7e41f04bc
refs/heads/master
2023-01-22T14:25:28.077574
2020-11-16T00:50:16
2020-11-16T00:50:16
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,290
py
import requests import logging from urllib.parse import urljoin from requests.adapters import HTTPAdapter DEFAULT_HEADERS = { 'User-Agent': "OpenHackathon/HttpClient", 'Accept-Encoding': ', '.join(('gzip', 'deflate')), 'Accept': '*/*', 'Connection': 'keep-alive', 'Content-Type': 'application/json',...
[ "i@ihypo.net" ]
i@ihypo.net