blob_id
stringlengths
40
40
directory_id
stringlengths
40
40
path
stringlengths
3
281
content_id
stringlengths
40
40
detected_licenses
listlengths
0
57
license_type
stringclasses
2 values
repo_name
stringlengths
6
116
snapshot_id
stringlengths
40
40
revision_id
stringlengths
40
40
branch_name
stringclasses
313 values
visit_date
timestamp[us]
revision_date
timestamp[us]
committer_date
timestamp[us]
github_id
int64
18.2k
668M
star_events_count
int64
0
102k
fork_events_count
int64
0
38.2k
gha_license_id
stringclasses
17 values
gha_event_created_at
timestamp[us]
gha_created_at
timestamp[us]
gha_language
stringclasses
107 values
src_encoding
stringclasses
20 values
language
stringclasses
1 value
is_vendor
bool
2 classes
is_generated
bool
2 classes
length_bytes
int64
4
6.02M
extension
stringclasses
78 values
content
stringlengths
2
6.02M
authors
listlengths
1
1
author
stringlengths
0
175
285bb70b43f6c87ac58cc9c0d7d50b7983f5ac64
8b57df3640fd9a726a8729c051dc27dbaee16059
/notify/apps.py
985c0feae7a585b8cbecad503a2120d658c0dc2f
[]
no_license
sinjorjob/django-notification-function
86678df54e12b58a2feb315f10fde585412a2029
15ba6111474641498dbcd83ea0bd06d40b348387
refs/heads/master
2023-05-31T13:41:26.147761
2021-06-26T07:05:31
2021-06-26T07:05:31
380,437,265
0
0
null
null
null
null
UTF-8
Python
false
false
150
py
from django.apps import AppConfig class NotifyConfig(AppConfig): default_auto_field = 'django.db.models.BigAutoField' name = 'notify'
[ "sinforjob@gmail.com" ]
sinforjob@gmail.com
40d97dddb5dc49b4139e9618dc57139bb7d37fc0
78b5dd3afba62ec81f5dc5953fc8a04123d92e44
/dls_edm/edmTable.py
b0cd98c65baf5340fc86c812fdb732db1dee0de7
[]
no_license
dls-controls/dls_edm
82d37640174cd0246602f19d5cba72d0b61658d5
8a042f7a695b1c1992aec4f47e5ba8cfd73480e2
refs/heads/master
2020-04-04T05:16:16.471970
2018-05-14T10:45:33
2018-05-14T10:45:33
155,739,826
0
0
null
null
null
null
UTF-8
Python
false
false
8,745
py
#!/bin/env python2.4 author = "Tom Cobb" """ This script contains EdmTable, a virtual EdmObject that can expand and contract as neccessary, resizing its components """ import os, re, sys, shutil from edmObject import * class EdmTable(EdmObject): """EdmTable(x=0,y=0,xoff=0,yoff=0,xborder=10,yborder=10,xjustify="...
[ "tmc43@e099a375-04f9-0310-9d5f-a741eaff62e1" ]
tmc43@e099a375-04f9-0310-9d5f-a741eaff62e1
0f6d357b301991361bd75e38d6538629a4efd50d
0b6831cac9cd5f73eaf39be6310c69427effdbe5
/GitHubTest/folder/module2.py
3c03504213f1da1d8faf08137c817d1fae14e075
[]
no_license
shutterfly2011/eChartTest
c916f29e8401820bd7866c6970e94b7d9579e9be
70ba194dce289fb4843377a57ad16e7f25f83945
refs/heads/master
2021-03-12T20:15:14.283093
2015-10-05T04:05:13
2015-10-05T04:05:13
41,652,188
0
0
null
null
null
null
UTF-8
Python
false
false
190
py
''' Created on Jul 11, 2015 @author: Xiaowei ''' class MyClass(object): ''' classdocs ''' def __init__(self, params): ''' Constructor '''
[ "xiaoweitan@hotmail.com" ]
xiaoweitan@hotmail.com
8f13d2977ff8b8a1f02b8827dcb286851479fb9f
4fe788b057eb3ee73589ff380386928536efc15a
/DashScripts/PoissonDist.py
1086826e06be76cda967e2b8df92a1be312686b5
[]
no_license
jhpiedrahitao/BasicsProbabilityandStatistics
669a7fd2e44357338039a0c48c3bfed4ea1c5cda
492b05e7e60b92641081ec2bcdc5241d14b02c10
refs/heads/main
2023-04-03T23:00:05.808472
2021-04-23T22:05:52
2021-04-23T22:05:52
361,015,348
0
0
null
null
null
null
UTF-8
Python
false
false
1,293
py
import dash import dash_core_components as dcc import dash_html_components as html from dash.dependencies import Input, Output import plotly.graph_objs as go from scipy.stats import poisson app = dash.Dash(name=__name__, assets_folder='static') # THE EXTERNAL CSS FILE REMOVES THE DASH "UNDO/REDO" BUTTON app.css.appen...
[ "jhpiedrahitao@unal.edu.co" ]
jhpiedrahitao@unal.edu.co
05b787075a8bcf7e3ffeee6b0e926d0be3db0140
941612645550eb4fa3f1aed02df59e743f1114ba
/insertion_sort.py
a4ecefbb590687ffc5d1c086709f54eb14f743ef
[]
no_license
SokKanaTorajd/als-smt3
b8762132af59ab0e392adc31e618c9e1e1d67baf
872e94cbac9bbea9b7b892187943ebb0b1394b78
refs/heads/master
2021-01-03T09:44:02.663402
2020-02-12T14:07:52
2020-02-12T14:07:52
240,026,541
0
0
null
null
null
null
UTF-8
Python
false
false
830
py
"""Taufaldisatya W.D/182103010/Sistem Informasi""" nilai_uts = [ {"nama" : "Siti Azizah","nilai" : 85}, {"nama" : "Siti Aminah","nilai" : 95}, {"nama" : "Siti Fatimah","nilai" : 75}, {"nama" : "Siti Maimunah","nilai" : 70}, {"nama" : "Siti Komariah","nilai" : 90}, ] def insertionsort(nilai_uts): ...
[ "t.wijatama.d@gmail.com" ]
t.wijatama.d@gmail.com
55f2794ab24a2c74169da65c168ce04bb3914a86
384a612001a5fdd5d089898f13cc7aef3b954a6e
/coupons/models.py
a70532afc380b7291804bb0f539e35ea14a9e0e6
[]
no_license
purum01/test_django_onlineshop
f3a9c4d12d4077ea69cb9ad372e5acc5243379b7
c4a40a273a512c939a364bee91bab950559d0f87
refs/heads/main
2023-06-14T12:11:05.614611
2021-07-03T14:34:01
2021-07-03T14:34:01
380,695,829
0
0
null
null
null
null
UTF-8
Python
false
false
442
py
from django.db import models from django.core.validators import MinValueValidator, MaxValueValidator class Coupon(models.Model): code = models.CharField(max_length=50, unique=True) valid_from = models.DateTimeField() valid_to = models.DateTimeField() discount = models.IntegerField(validators=[MinValueV...
[ "purumskyamy@gmail.com" ]
purumskyamy@gmail.com
ab12cc2538c903dfca478ff16c8508153a7312c9
994ea22f35c635fdf139af9282b0d3a3d86ea34a
/ud120-projects-intro_to_machine_learning/decision_tree/dt_author_id.py
667e184f992ddbc3679ee4787f6ce8ba6bcc894a
[]
no_license
zjyx147/Udacity
ac371fbc5b5b456e88b411657ef5a28c3b071c6c
d86fadd537dbacc6f8142b043e71527b0448bae3
refs/heads/master
2022-06-23T14:25:41.242353
2019-06-20T20:12:13
2019-06-20T20:12:13
191,207,247
0
0
null
2022-06-21T22:07:35
2019-06-10T16:42:18
DIGITAL Command Language
UTF-8
Python
false
false
1,128
py
#!/usr/bin/python """ This is the code to accompany the Lesson 3 (decision tree) mini-project. Use a Decision Tree to identify emails from the Enron corpus by author: Sara has label 0 Chris has label 1 """ import sys from time import time sys.path.append("../tools/") from email_preprocess im...
[ "zjyx147@gmail.com" ]
zjyx147@gmail.com
64ca497be5be743de5dd8bc59793c84cf3431d4f
18c6f7ee10526583d8c65acc5ce04579a91fdeeb
/ch_01/18.tuple.py
cd04da0d3333b776026f7697790ddcee7dacff23
[]
no_license
cloudsecuritylabs/pythonProject_1
97273634df25e306d0a2aed56fcf5c836d2ac33c
8fc0d17b549d7195f8de46a227e5bb5d9f2ed4ed
refs/heads/master
2023-07-22T16:06:14.550571
2021-08-24T03:09:00
2021-08-24T03:09:00
399,319,867
0
0
null
null
null
null
UTF-8
Python
false
false
175
py
''' Let's learn about tuple ''' # tuple is immutable my_tup = ('cat', 'dog', 'horse') # NoneType my_tup = [] food = None if food is None: print("Hey give me something")
[ "basu.ankan@gmail.com" ]
basu.ankan@gmail.com
cf84487a76bd32bc0c49055223a9916e5c4a532d
13a8e1253ed847d553c359afb69bce67f7e68b46
/check_invoice_2.0.py
3a821e433841da21eda7b64eb2c290b1fc643098
[]
no_license
jiegangwu/Invoice-Checking
c7aa5d1d1e8dbbe9ed4fd912e780ec5495ec7b4a
b760287121f88529357462228ee5a9479f0b1aa2
refs/heads/master
2022-03-22T17:56:46.747762
2019-12-25T08:26:02
2019-12-25T08:26:02
null
0
0
null
null
null
null
UTF-8
Python
false
false
10,149
py
# -*- coding: utf-8 -*- """ Created on Sat Oct 12 16:55:11 2019 解决: 1. 出现输入验证码后,“查验”为灰色,或呈蓝色但点击后“验证码失效”,说明发票查验次数太多,需刷新重输 2. 发票查验太频繁,请等1分钟 3. base64编码问题 @author: situ """ from selenium import webdriver from selenium.common.exceptions import StaleElementReferenceException from selenium.common.exceptions import Eleme...
[ "404011463@qq.com" ]
404011463@qq.com
fd11ad2bc7dc9769012fedd041968541efec6284
9c21e49150c99751231ad399bdba1850bb60c88c
/finders/views.py
2810a5c9ef7cfcac6aa72c7420545809a1090294
[ "MIT" ]
permissive
netvigator/auctions
3ab4086cb0bfbc736b17ede4e928f3ead2b08a4c
fc3766226cc65ac8694dffc74e893ecff8e7d07c
refs/heads/main
2023-05-25T15:55:01.249670
2023-05-06T14:51:12
2023-05-06T14:51:12
92,816,101
0
0
MIT
2023-02-16T05:24:34
2017-05-30T09:14:39
Python
UTF-8
Python
false
false
10,419
py
from django.conf import settings from core.views import ( DetailViewGotModel, ListViewGotModel, UpdateViewCanCancel, CreateViewCanCancel ) from django.http import HttpResponseRedirect from .forms import ItemFoundForm, UserItemFoundForm from .mixins import AnyRe...
[ "gravesricharde@yahoo.com" ]
gravesricharde@yahoo.com
29aaf9830413dce680cb164b3a8dd63745dd68af
1572b7dea50699582879b2b9fcedef12f2ef6704
/verification/src/referee.py
26e014f1e115a5887f39fd778b5563bcb03c8beb
[]
no_license
khanukov/checkio-empire-broken-report
7106869fc504a2551fb7a1d412245a74c9401f64
64d68d89b99c2116c12fd1d579961ab699a760c6
refs/heads/master
2020-12-03T02:19:33.174438
2015-04-07T14:12:08
2015-04-07T14:12:08
null
0
0
null
null
null
null
UTF-8
Python
false
false
452
py
from checkio_referee import RefereeCodeGolf from checkio_referee import covercodes import settings_env from tests import TESTS # TODO Golf class Referee(RefereeCodeGolf): DEFAULT_MAX_CODE_LENGTH = 150 BASE_POINTS = 15 TESTS = TESTS ENVIRONMENTS = settings_env.ENVIRONMENTS DEFAULT_FUNCTION_NAME...
[ "bvv.mag@gmail.com" ]
bvv.mag@gmail.com
b7fa421982e1756aca5ca2afc4c743d1bd7b7d0d
dda204f76c6d03df02e4d620257df55165461ae7
/Practical5/collatz.py
5afe7cf56f43467fef1f5bf1a68e5e7385b9a827
[]
no_license
YuyangMiao/IBI1_2019-20
48127bbc137b3155aac99dd5cc0c39d4c1db75ee
a8921fc37af78ddd2010d2ccd141d1c506f0a3ab
refs/heads/master
2021-02-14T07:33:54.940625
2020-05-14T09:35:00
2020-05-14T09:35:00
244,784,924
0
0
null
2020-03-04T02:00:12
2020-03-04T02:00:12
null
UTF-8
Python
false
false
491
py
# -*- coding: utf-8 -*- """ Created on Wed Mar 11 09:54:34 2020 @author: joe_m """ #import an integer n n=7 #Judge if n=1 #If yes: print n and stop #If no: # print n # Repeat: # If n is even: n=n/2, print n # If n is odd: n=3n+1, print n # If n==1, stop if n==1: print (n) else: prin...
[ "3190111061@zju.edu.cn" ]
3190111061@zju.edu.cn
280466d4cc30f09e5d4ebb4b2f2aeb4e39a6801b
70b0e98649db4dd782e2ce16b2ab1cbdbc5ccf44
/main.py
11b7da88941f18e9195f816f59e8a5d36eee0a31
[]
no_license
nadiraziz/stock-news
6b513a42860b40e4b0ed950d17c181b774c9f51a
0fac2e12b7b760bd6a356735d04568348fca2e6e
refs/heads/master
2023-04-15T10:11:43.661341
2021-04-25T07:23:04
2021-04-25T07:23:04
361,359,461
0
0
null
null
null
null
UTF-8
Python
false
false
3,248
py
import requests import os from twilio.rest import Client STOCK_NAME = "TSLA" COMPANY_NAME = "Tesla Inc" account_sid = 'ACcf5b9ee7e3c0d76bcd8477bd41efc644' auth_token = '7ea01d8e3868fe7f2df26f13a22d9e45' STOCK_ENDPOINT = "https://www.alphavantage.co/query" NEWS_ENDPOINT = "https://newsapi.org/v2/everything" STOCK_AP...
[ "nadiraziziyah@gmail.com" ]
nadiraziziyah@gmail.com
09ac2327168508b61c167a4490edbc965fda67e3
7a55d3fac2bc2b7afd46300182944d3cb1b8a370
/clearpath/clearpath
a0265890c276994cb6ac2240c003f7c7a579b66e
[]
no_license
btownshend/CNCConfig
5d3eca22573c0534ce0b5c43a6958c2d5011a992
bdadea7bacf4c5d373faeab30f31b1d5145fb3d3
refs/heads/main
2023-03-16T16:11:44.071625
2021-03-14T22:08:10
2021-03-14T22:08:10
329,538,393
0
0
null
null
null
null
UTF-8
Python
false
false
1,415
#!/usr/bin/env python import ctypes import hal, time import sys,os print('sys.argv[0] =', sys.argv[0]) pathname = os.path.dirname(sys.argv[0]) print('path =', pathname) lib=ctypes.CDLL(pathname+"/getstatus.so") print('getstatus.so loaded') h=hal.component("clearpath") h.newpin("0.fault",hal.HAL_B...
[ "bst@tc.com" ]
bst@tc.com
58b2a1133097168bc9430bca771b6c3fc494b986
da62bf253e652f6beb57ed2f9b834db1275d3dca
/RNN.py
619405413bd7540b8b075bdd0567083830aa2ef0
[]
no_license
jefftsai8049/ML-Deep_Learning_Final
ba849b563503ba08516e5bd68dc14a445e196c88
2e8405bea2f428aa4c61350d0407b9b918b3f651
refs/heads/master
2021-01-10T17:07:04.445436
2015-06-20T11:27:59
2015-06-20T11:27:59
37,315,443
0
0
null
null
null
null
UTF-8
Python
false
false
2,234
py
__author__ = 'root' import numpy as np import theano import theano.tensor as T class RNN: def __init__(self,x,y,layerNumber,memory=None,parameters=None): if parameters is None: self.inputLayer = hiddenLayer(x,layerNumber[0],layerNumber[1],memory) self.outputLayer = outputLayer(sel...
[ "jefftsai8049@gmail.com" ]
jefftsai8049@gmail.com
807b8f72c43040317da699074158ef426c15575e
6bb45c5892b4c9692dcc44116fb73dc9e7ab90ff
/advanced_functionality/autogluon-sagemaker-pipeline/setup.py
56a675d8c0cac3a064199a11bd56e8e1316b0dce
[ "Apache-2.0", "BSD-2-Clause" ]
permissive
aws/amazon-sagemaker-examples
8359afe544e873662bda5b8d2b07399c437213c9
43dae4b28531cde167598f104f582168b0a4141f
refs/heads/main
2023-08-26T04:42:52.342776
2023-08-25T14:37:19
2023-08-25T14:37:19
107,937,815
4,797
3,519
Apache-2.0
2023-09-14T19:47:03
2017-10-23T05:55:22
Jupyter Notebook
UTF-8
Python
false
false
1,569
py
import os import setuptools about = {} here = os.path.abspath(os.path.dirname(__file__)) with open(os.path.join(here, "pipelines", "__version__.py")) as f: exec(f.read(), about) with open("README.md", "r") as f: readme = f.read() required_packages = ["sagemaker"] extras = { "test": [ "black", ...
[ "noreply@github.com" ]
noreply@github.com
d3cdab89c560145a18210360377b1e737aa05c00
a6af3de724b8156368ec8026cd1053c6b5bca26f
/test/testdata/python-fabric/files/deploy.py
d82430929b1ba1ed1ac4b1c4b6694ad4170d1315
[ "MIT" ]
permissive
knick-knack/knick-knack
47be8a515d0731a8120ec0bedb867dec58fd55cf
29793bbe0ecd3a77fecd29c0dc676f0d65f911a0
refs/heads/master
2021-01-10T22:11:54.656370
2016-10-28T13:39:28
2016-10-28T13:39:28
23,700,731
0
0
null
null
null
null
UTF-8
Python
false
false
229
py
import sys from fabric.api import * from fabric.contrib import * import {{ name }} # Tell Fabric which tasks are exported by this file __all__ = ['deploy_config'] @task(default=True) def deploy_config(): print 'start here'
[ "haimich@gmx.net" ]
haimich@gmx.net
b3ae43c7b44548459e24734aaaad6316c5adc823
4f5d18e12f1f3a19109691db98cf9dfdd7fd0d08
/contest2/B_sequence_type/venv/bin/pip
48b76dd55dc88de4cf06a824b3e0a4ace73fbb83
[]
no_license
DimSap/Young-Yandex_algorithms
dbe9235abdd246f95cc987ed320ed31652ac4690
dc9367dbf7ebe9464caa35a1533294629c9068a2
refs/heads/main
2023-05-14T09:41:23.494339
2021-06-09T20:46:11
2021-06-09T20:46:11
373,651,488
0
0
null
null
null
null
UTF-8
Python
false
false
323
#!/home/dimsap/PycharmProjects/Young&&Yandex_algorithms/Young-Yandex_algorithms/contest2/B_sequence_type/venv/bin/python # -*- coding: utf-8 -*- import re import sys from pip._internal.cli.main import main if __name__ == '__main__': sys.argv[0] = re.sub(r'(-script\.pyw|\.exe)?$', '', sys.argv[0]) sys.exit(main(...
[ "DmitriySapronovv@yandex.ru" ]
DmitriySapronovv@yandex.ru
5c6ae8e9e3c9853b4a44d39dd7d108e8d811cd6a
a93b08a2545a4d51d5a4ca078cdca27ce2240a0a
/config.py
fe6ea06cef37626e2a619d77cef31d69206194c2
[ "MIT" ]
permissive
islobozhan/garage48-open-banking
19741abbf21459b5ba17c1f1b51765dbfe96237f
197ee3a3c78f53a5d0f99f883471648f883699b7
refs/heads/master
2021-04-28T18:30:12.688348
2018-02-17T16:14:06
2018-02-17T16:14:06
null
0
0
null
null
null
null
UTF-8
Python
false
false
4,966
py
import os import sys from raygun4py.middleware import flask as flask_raygun PYTHON_VERSION = sys.version_info[0] if PYTHON_VERSION == 3: import urllib.parse else: import urlparse basedir = os.path.abspath(os.path.dirname(__file__)) if os.path.exists('config.env'): print('Importing environment from .env f...
[ "all-cs.info@i.ua" ]
all-cs.info@i.ua
fe52b2cd35017acf657af7d8ab0cb4f759250d7a
0e08e9873549c514245842c5f4ad01769e1c76d6
/myblog/blog/tests.py
ec7bc624daecb07dd9bc9025f52c0c33afa1036c
[]
no_license
liangxs0/Django_study
39afe9c889467eb81e2ecdcee4e285c2bd27d28a
2f509bce6cdaaee288c37a603978a96ffc43f0e4
refs/heads/main
2023-04-25T20:30:05.275066
2021-05-31T03:27:24
2021-05-31T03:27:24
372,365,793
0
0
null
null
null
null
UTF-8
Python
false
false
569
py
# from django.test import TestCase # # # # from django.contrib.auth.hashers import make_password, check_password # # # Create your tests here. # x = make_password("123", 'abc', 'pbkdf2_sha256') # y = make_password("123", 'abc', 'pbkdf2_sha256') # print(x) # print(y) def a(nums): nums = [str(n) for n in nums] n...
[ "1033808656@qq.com" ]
1033808656@qq.com
3334166df80baae5d623b50fb2d4792c278c6a11
80465f904d8c1855af5fb0b40fbaeab09ef1a614
/backEnd/ETL Code/sqlFetch.py
ac07d73e15bdd146048df17c70daea9461318371
[]
no_license
Zarana-Parekh/analytics
2ce2b67938e7355c0bb22463dd9246566df575ef
66a620f521b690456bb7ea155d5512eba8ff4301
refs/heads/master
2021-01-18T01:23:25.529695
2015-10-16T09:34:12
2015-10-16T09:34:12
null
0
0
null
null
null
null
UTF-8
Python
false
false
6,380
py
import MySQLdb import exceptions import traceback import sys import os #from dataloader import * db=MySQLdb.connect("localhost","root","1234","IITBxDataAnalytics") cursor=db.cursor() def psVideo(courseName,videoSysName) : sql="SELECT v.videoTitle, v.chapterSysName,c.chapteTitle \ FROM CourseVideos...
[ "jay15@nsl-23.cse.iitb.ac.in" ]
jay15@nsl-23.cse.iitb.ac.in
31d4f840a52821b8fe76f7119d5d16e8f9413696
f677dda255ff4670bc04bb6de58e596041934521
/miclave/urls.py
c6521154bf3b7cdf098c5c3c9c423bce4e310c71
[]
no_license
JorgeL-G/miclave
70b06f0127c1b64019efa33197ea60698ce65291
6d092a712be262ce48cd2d6548a768ca5e76413d
refs/heads/master
2020-12-25T11:15:24.764161
2016-08-10T14:29:43
2016-08-10T14:29:43
65,387,646
0
0
null
null
null
null
UTF-8
Python
false
false
757
py
"""miclave URL Configuration The `urlpatterns` list routes URLs to views. For more information please see: https://docs.djangoproject.com/en/1.8/topics/http/urls/ Examples: Function views 1. Add an import: from my_app import views 2. Add a URL to urlpatterns: url(r'^$', views.home, name='home') Class-bas...
[ "jleon@turpialdev.com" ]
jleon@turpialdev.com
f2dcb9eb1bf133d9f46b28478f6f446496c241b9
47bb98bfab29a736c3015bb0fb42d8e6370c60d6
/consumeraffairs/companies/views.py
19fb406e85f19f3c2d829b55d4183084afc4039d
[ "MIT" ]
permissive
devoredevelops/Django-Backend-Test
f3976cd339fc2eca878d2f4164fd883ee50f1bb0
c46d5b2d8a1f98bf3ec69524ab7a2e344514e538
refs/heads/master
2020-04-25T15:40:21.428091
2019-02-27T10:05:27
2019-02-27T10:05:27
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,933
py
from django.shortcuts import render from django.contrib.auth.mixins import LoginRequiredMixin from django.urls import reverse_lazy from django.views.generic import ListView, DetailView, RedirectView from django.views.generic.edit import CreateView, UpdateView, DeleteView from .models import Company from .forms import C...
[ "sqyttles@protonmail.com" ]
sqyttles@protonmail.com
cf224ee8e169f27d18b46d21133d44240fb60521
75be45bd9b82fa4932dd59602ab6eb04ae5c3efb
/3-extract_scripts.py
280477b645911477617eb2931c5007ff78c760ea
[ "MIT" ]
permissive
h-uekawa/driveby-finder
8c9f3c928fec3defe3a8aedf4275db35ea97f517
69af5013c6dd907a1eadf337beff2b79eeaf4314
refs/heads/master
2021-01-13T09:13:03.187142
2016-10-05T14:28:05
2016-10-08T04:14:30
70,068,119
6
1
null
null
null
null
UTF-8
Python
false
false
2,197
py
#!/usr/bin/python # -*- coding: utf-8 -*- # # driveby-finder - Scripts for MWSCup 2016 # https://github.com/h-uekawa/driveby-finder # # Copyright (c) 2016 Team Security Anthem (Okayama Univ.) # Released under the MIT License, see LICENSE.txt # ## import sys import ConfigParser import pymongo import re import h...
[ "pp5a627w@s.okayama-u.ac.jp" ]
pp5a627w@s.okayama-u.ac.jp
53979d794a98f9c44496e45c3d73e7692311c48f
d49a918891af8140a295730a62e8fe530d5b67f5
/tests/parser/test_parser_program_declarations.py
ac0431bcc5215b38f75ca1c6d3c692d703b2eceb
[]
no_license
jfpio/TKOM-Interpreter
f2efc3c0282371bd3820421569407e0a02b26055
4111e813f99da9f6747a3682eda3854bfa893d05
refs/heads/main
2023-07-17T16:53:05.240163
2021-08-31T06:07:52
2021-08-31T06:07:52
401,589,492
0
0
null
null
null
null
UTF-8
Python
false
false
3,304
py
import io from typing import List import pytest from interpreter.lexer.lexer import Lexer from interpreter.models.base import Constant, Param, Variable from interpreter.models.declarations import CurrencyDeclaration, Declaration, VariableDeclaration, FunctionDeclaration from interpreter.models.statements import Return...
[ "janfpiotrowski@gmail.com" ]
janfpiotrowski@gmail.com
833ab69f26d1b4150bc3d7a6391c97683d7c5302
ee307df49f0b12d28a1550550edfa1c46eb5cbc2
/Univariate Linear Regression.py
84ab1dac85a0b15dce40ef5301a030cf2afa333d
[]
no_license
riyagoel192/Univariate-Linear-Regression
15c705c7406bd9e37f41119a5ce95c3f008c42f7
7b72a1011127b7d9eb1dfc1d25b2490bbf2dd111
refs/heads/master
2021-03-30T12:01:43.161028
2020-03-18T18:26:13
2020-03-18T18:26:13
248,051,243
0
1
null
2020-03-18T18:26:14
2020-03-17T19:03:19
Python
UTF-8
Python
false
false
716
py
#!/usr/bin/env python # coding: utf-8 # In[76]: #importing libraries import numpy as np import pandas as pd import matplotlib.pyplot as plt # In[123]: #Declaring variables x=[1,2,3] y=[1,2,3] x=np.array(x) y=np.array(y) theta=np.zeros((2,)) theta[0]=0 theta[1]=0.5 m=x.shape[0] # In[124]: #Declaration of fu...
[ "noreply@github.com" ]
noreply@github.com
13d00496340bf494c42e637092864c02cd223882
8030404af9a6b2555387a49a3e43a47be7a26470
/peggy/lib/alipaylib/alipayConfig.py
2799153644f19ca6690396e6c9260dcb2097eff1
[]
no_license
mebusw/tianjinsports-server
d5de7aae1a25affdd3c91c78e5a82b0d4c10220f
3402ac634fc92b5ccdf049f530e6b7b8b604aac1
refs/heads/master
2016-09-06T21:32:40.096629
2015-03-14T13:20:24
2015-03-14T13:20:24
32,121,712
0
1
null
null
null
null
UTF-8
Python
false
false
502
py
import os partner = "2088711061370024" key = "j5f5nc0lev9wch24t2cotwdvqkwexgww" seller_mail = "17sports@sina.cn" if 'SERVER_SOFTWARE' in os.environ: notify_url = "http://1.peggy.sinaapp.com/peggy/paid_notify_wap" return_url = "http://1.peggy.sinaapp.com/peggy/paid_wap" show_url = "http://1.peggy.sinaapp.c...
[ "mebusw@163.com" ]
mebusw@163.com
ccee78a2b9646c3ed52024216b909a64eb921b0c
e4aab0a71dc5c047d8b1576380b16364e03e7c0d
/core/ajax.py
0d38f835124b1bb6fdc17e253409ede47b76fd44
[ "Apache-2.0" ]
permissive
Joecastra/Watcher3
8ca66c44846030f0eb771d9d6ddeb9c37f637a4e
ce25d475f83ed36d6772f0cc35ef020d5e47c94b
refs/heads/master
2021-01-19T11:05:55.454351
2017-04-10T20:17:24
2017-04-10T20:17:24
null
0
0
null
null
null
null
UTF-8
Python
false
false
39,761
py
import json import logging import os import sys import threading import cherrypy from base64 import b16encode import core from core import config, library, plugins, poster, searchresults, searcher, snatcher, sqldb, version from core.providers import torrent, newznab from core.downloaders import nzbget, sabnzbd, transmi...
[ "nosmokingbandit@gmail.com" ]
nosmokingbandit@gmail.com
1693648b68f78fb99cb31510d45a2e773805ba5e
76bc53eb4a31c2de1ffe47fc960d78ba2ac16c58
/src/qdmdealer/funcs/funcs.py
8f61ca032b40e65e80d931b2095642dd4878c325
[ "MIT" ]
permissive
CaoRX/sdd
83b7327b1e0f54cdb3398e8e03f49c906362e68b
4aa6612a195f579d6bef26a3e5cd9f1ce2c66e7c
refs/heads/main
2023-08-18T20:37:16.144714
2021-09-30T23:09:05
2021-09-30T23:09:05
412,092,536
0
0
null
null
null
null
UTF-8
Python
false
false
22,056
py
import numpy as np import string import random import matplotlib.transforms as mplTransforms import math import os from copy import deepcopy def errorMessage(message, loc = None): if loc is None: return 'Error: {}.'.format(message) else: return 'Error in {}: {}.'.format(loc, message) def war...
[ "umi@pku.edu.cn" ]
umi@pku.edu.cn
22e5796ee03a7f306b39e2dc6a0b0794f1c1080e
a1d7c3ea902aa5f2860bd2b9598f65ada73671b7
/Potentiometer.py
4ca39069fda671a6698f0bcdd518879e97293f37
[]
no_license
CytronTH/maker-pi-pico
bf06ccaeeb8424b6994e557c42aa5aafa7332503
903b595173bbaa3b4da0ee02772a6fd87658c769
refs/heads/main
2023-07-29T09:47:29.919243
2021-09-06T07:39:35
2021-09-06T07:39:35
399,522,213
0
0
null
null
null
null
UTF-8
Python
false
false
442
py
import machine import time potentiometer = machine.ADC(27) # กำหนดใช้งาน Pin ที่ 27 เป็น Analog Output def convert(x, in_min, in_max, out_min, out_max): return (x - in_min) * (out_max - out_min) // (in_max - in_min) + out_min while True: x = potentiometer.read_u16() y = convert(x,272,65535,0,28) ...
[ "th.support@cytron.io" ]
th.support@cytron.io
4d2410e25561f2533e66d52d636baa56e0afd35f
0fccee4c738449f5e0a8f52ea5acabf51db0e910
/genfragments/ThirteenTeV/Hadronizer/Hadronizer_TuneCUETP8M1_13TeV_MLM_5f_max4j_qCut20_LHE_pythia8_cff.py
cfe434b64d6fbd2e269942ca29b5e7b694b91261
[]
no_license
cms-sw/genproductions
f308ffaf3586c19b29853db40e6d662e937940ff
dd3d3a3826343d4f75ec36b4662b6e9ff1f270f4
refs/heads/master
2023-08-30T17:26:02.581596
2023-08-29T14:53:43
2023-08-29T14:53:43
11,424,867
69
987
null
2023-09-14T12:41:28
2013-07-15T14:18:33
Python
UTF-8
Python
false
false
1,538
py
import FWCore.ParameterSet.Config as cms from Configuration.Generator.Pythia8CommonSettings_cfi import * from Configuration.Generator.Pythia8CUEP8M1Settings_cfi import * generator = cms.EDFilter("Pythia8HadronizerFilter", maxEventsToPrint = cms.untracked.int32(1), pythiaPylistVerbosity = cms.untracked.int32(1...
[ "YoungDo.Oh@cern.ch" ]
YoungDo.Oh@cern.ch
cff553459a9e293fc45181572d58c0948c7b2fb5
d6202e2fff0f0b22094a8bc383c3744cdcda6000
/doc/gaussian_worker.py
8947faa117d156fa87ff8bfc2d62fbcee2ef81ee
[ "MIT" ]
permissive
pstjohn/bde
dc8e639527d281dade935141b06fbedc5958e4c8
5677af8dcbb992c7888746aa018302e6fb04e67d
refs/heads/master
2022-07-16T02:17:59.151174
2022-06-30T19:52:01
2022-06-30T19:52:01
168,446,254
27
9
MIT
2021-09-07T16:20:45
2019-01-31T02:00:54
Python
UTF-8
Python
false
false
2,626
py
import psycopg2 import time import logging import random import subprocess import socket dbparams = { # In this example file, the database connection parameters (server, password, etc), # has been removed. This file is mainly to show an example of how a SQL database # was used to queue and dispatch Gaussian calculatio...
[ "peterc.stjohn@gmail.com" ]
peterc.stjohn@gmail.com
ab4cc2ced9b88c86db0f85086bcd798fda618f3f
a64d5e89a841c881ae9f593035755277472239c5
/code/code_history/CIFAR_training.py
e671fe35adea264c36a253ab0078bc62c9b0a7a3
[]
no_license
swu32/Spatial_Vision_Net
4070a7a9acc13b4a8fe141d7615231d842f0e545
cf41e52875b7504b5d22ee199f29ecdfa0599265
refs/heads/master
2022-05-12T20:41:22.690234
2019-11-08T14:25:45
2019-11-08T14:25:45
220,479,875
0
0
null
null
null
null
UTF-8
Python
false
false
17,651
py
'''training function that merges previous repeated codes''' import argparse import os import random import shutil import time import warnings import sys import numpy as np import torch import torch.nn as nn import torch.nn.parallel import torch.backends.cudnn as cudnn import torch.distributed as dist import torch.opt...
[ "wushuc@student.ethz.ch" ]
wushuc@student.ethz.ch
586460492c0f2f6d82a9ab807c143302b12e5987
5c9673e374740ed8c7bda0ce3633fbb65b25f12f
/contrib/seeds/makeseeds.py
bcd17b735733c233afe92893917b8cb63bc4f1ba
[ "MIT" ]
permissive
mhatta/mhattacoin
4019fbd910946c0cc4ce3f55de54a09137ac94a7
90918cf665c52507f7be2c701cf42f6a122068e5
refs/heads/master
2021-08-16T15:00:36.500544
2018-08-07T17:56:48
2018-08-07T17:56:48
143,908,535
0
0
MIT
2020-04-01T03:16:44
2018-08-07T17:52:41
C++
UTF-8
Python
false
false
5,750
py
#!/usr/bin/env python3 # Copyright (c) 2013-2017 The Bitcoin Core developers # Distributed under the MIT software license, see the accompanying # file COPYING or http://www.opensource.org/licenses/mit-license.php. # # Generate seeds.txt from Pieter's DNS seeder # NSEEDS=512 MAX_SEEDS_PER_ASN=2 MIN_BLOCKS = 337600 #...
[ "mhatta@debian.org" ]
mhatta@debian.org
1b009bd295de43b48f18492c317f9c9ff4985f70
753b6390664ee7b73997f52b11042400212a3dcd
/portfolio/views.py
6e23f351ed8d047e882723e4d84ffed45d733554
[]
no_license
bhanotblocker/django-personal-portfolio
81b3b3c998b609e8fa7cae32df1b90c4199892ec
ea36872d4d2b6e5ff5a19ac06911135b1b863f16
refs/heads/master
2022-11-05T12:23:20.261950
2020-06-21T17:44:43
2020-06-21T17:44:43
273,954,470
0
0
null
null
null
null
UTF-8
Python
false
false
193
py
from django.shortcuts import render from .models import Project def home(request): projects = Project.objects.all return render(request, 'portfolio/home.html',{'projects':projects})
[ "varun.bhanot11@gmail.com" ]
varun.bhanot11@gmail.com
6165dabd237efff4ec933c9e31490f07956f86a7
9b4974afd89e38ae0b8e9db9282b66b315605b66
/Atividade2.py
fd0ab3fbd127a61be2af4ca8935280bcf3649176
[]
no_license
mourath/Atividades-cesar
70016c6dccd04abb6f514b4661143de490634897
114895091011182c60df299776709e8b667b3d9e
refs/heads/main
2023-05-30T18:01:54.862076
2021-06-15T14:46:17
2021-06-15T14:46:17
377,189,548
0
0
null
null
null
null
UTF-8
Python
false
false
2,662
py
from selenium.webdriver import Chrome from selenium.webdriver.common.action_chains import ActionChains from selenium.webdriver.common.keys import Keys from selenium.webdriver.common.by import By class Page: def __init__(self): self.driver = Chrome(executable_path='./chromedriver/chromedriver.exe') ...
[ "noreply@github.com" ]
noreply@github.com
8f1779b62eb87083b8632e00214f4bd05482bb59
828ff5de3934fca2db547126dafc9caa3c50c24a
/VggNet/train.py
c9c78db2ae12661c15a00fb4cb3a310049be33e2
[]
no_license
YeYaJi/Classification_Net
c6389f2334355717c782c8131319b18372b480b8
b412e9a765e3e156b06ee4809d3b08968228fe5c
refs/heads/master
2023-03-30T17:27:46.311572
2021-03-26T08:57:53
2021-03-26T08:57:53
290,160,722
1
0
null
null
null
null
UTF-8
Python
false
false
6,263
py
import numpy as np import torch import torch.nn as nn import torchvision import torchvision.transforms as transforms from torch.utils.data import DataLoader import torch.nn.functional as F import torch.optim as optim import matplotlib.pyplot as plt import os from tqdm import tqdm, trange import time import net import ...
[ "704494891@qq.com" ]
704494891@qq.com
51d153adcfff38752ebbc5f4f74aad40c9d8b643
9da684da01d8d7a46951fdde40a944b267137d1c
/projeto_tg/views.py
3d3bf66f5bff7d6e048853665123c33648c3f8d6
[]
no_license
josejonatasoliveira/letspart-backend
a86b9c37251389109ddd54aca46e74ea686a930b
7719a2a42b54bf47834ed9059ee013f9f0581a48
refs/heads/master
2023-08-02T22:53:51.895962
2021-09-24T21:54:58
2021-09-24T21:54:58
410,111,066
0
0
null
null
null
null
UTF-8
Python
false
false
2,207
py
from django.shortcuts import render from django.http import HttpResponse from django.forms.models import model_to_dict from projeto_tg.evento.models import Evento from django.core.paginator import Paginator from haystack.query import SearchQuerySet from projeto_tg.cart.models import Cart import json import datetime de...
[ "jose.jonatas@triasoftware.com.br" ]
jose.jonatas@triasoftware.com.br
eae6d7708433536367bc9b2cb96ce49711facb5d
2ebc85f7f34a459d69ff412f956b43ab2472590f
/backend/tasker_business/migrations/0001_initial.py
95053422e99e4ae9ece3cd837ff4b1db4b389baf
[]
no_license
crowdbotics-apps/mobile-car-wash-23107
4ea678f1c88fe4c96eb498535e4fb14e60110ae0
96b057e5989a8b5dbb1267f93c0a34f57a72d636
refs/heads/master
2023-01-19T21:07:11.993601
2020-12-01T12:55:21
2020-12-01T12:55:21
317,537,397
0
0
null
null
null
null
UTF-8
Python
false
false
2,617
py
# Generated by Django 2.2.17 on 2020-12-01 12:53 from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): initial = True dependencies = [ ('task_category', '0001_initial'), ('task_profile', '0001_initial'), ] operations = [ ...
[ "team@crowdbotics.com" ]
team@crowdbotics.com
7c34ee9abf7d161f0ed99a550b1c759fb9004831
b08fb323546e6394efd7a25b05d96f05f011c958
/Python/Learning/类属性权限控制.py
359be3434ec581c6bd34d7138d5b28d9ba95d805
[]
no_license
874656645/HelloWorld
d31775cf33b43cd56d4ca9271f8888936816349f
78e74b05a445907b821648cf75182c3bbc45077a
refs/heads/master
2021-06-26T07:11:53.879318
2018-06-17T14:48:46
2018-06-17T14:48:46
96,090,938
0
0
null
null
null
null
UTF-8
Python
false
false
391
py
# 请给Person类的__init__方法中添加name和score参数,并把score绑定到__score属性上,看看外部是否能访问到。 class Person(object): def __init__(self, name, score): self.name = name self.__score = score p = Person('Bob', 59) try: print(p.name) print(p.__score) except AttributeError as error: print('AttibuteError: %s' % (er...
[ "874656645@qq.com" ]
874656645@qq.com
7fd1443b3568efb23315191f9f8f19d689e86ff0
bc809d7a0eebf797880e185fd278b58c5c1121ed
/S09/price_sort/price_input.py
1c985c5fb022d824162506fd1abeb00e8fab5153
[]
no_license
amirjodeiri/Assignment
ff9ed63b8e443febd98d105ed6952595542f1b97
dada9d4c1e0455aeef2d6aa0b9d396bada097560
refs/heads/master
2022-02-22T10:17:28.872124
2019-07-16T15:29:48
2019-07-16T15:29:48
189,040,094
0
0
null
null
null
null
UTF-8
Python
false
false
21,482
py
btc = [[1561902600, 10959.6, 11212.11, 11143.11, 11121.08, 929.44817251], [1561902300, 11077.26, 11479.33, 11479.33, 11140.81, 886.41080044], [1561902000, 11442.84, 11505.46, 11480.46, 11479.98, 86.03022024], [1561901700, 11462.33, 11527.1, 11482.6, 11483.29, 41.03120901], [1561901400, 11419...
[ "amjodeiri@yahoo.com" ]
amjodeiri@yahoo.com
f05b968e39febf01d27debcf0bed250e13309c9a
8898273f9811fab29eb5621734bafcdf204d8229
/scipy-stubs/integrate/quadrature.pyi
21ea590c9993068c72b5be57697a1ef607670d6b
[]
no_license
tyrion/scipy-stubs
628ad6321a7e1502683a2b55a759777508ab4b67
bf49a91313523c4f635bc3e5d14444c1361caf64
refs/heads/master
2020-05-30T21:59:43.001510
2019-06-03T10:30:54
2019-06-03T10:30:54
189,984,340
0
0
null
null
null
null
UTF-8
Python
false
false
970
pyi
# Stubs for scipy.integrate.quadrature (Python 3.6) # # NOTE: This dynamically typed stub was automatically generated by stubgen. from numpy import trapz as trapz from typing import Any, Optional class AccuracyWarning(Warning): ... def fixed_quad(func: Any, a: Any, b: Any, args: Any = ..., n: int = ...): ... def qua...
[ "germano.gabbianelli@contentwise.tv" ]
germano.gabbianelli@contentwise.tv
e6346be9a0e374c318056fa487dc4b5ba516e9c9
15fd98a71764ef682d2b1c8640cb261464d527f7
/ライブラリ/memo.py
b0a3e213665d296c6b7f30b0f6d86e239334209b
[]
no_license
venzosan/selected100
f9f5a9143a0f46e96aea528b04153e00eb3090f5
060210ad12c342318a8d940a76e27a7dd3c3434c
refs/heads/master
2023-04-13T04:16:15.764451
2021-04-23T18:15:23
2021-04-23T18:15:23
350,734,823
0
0
null
null
null
null
UTF-8
Python
false
false
203
py
#n次元配列のm番目の要素でソート li = [[1,4,3],[2,3,4],[3,4,5],[4,5,6],[2,3,4],[1,5,3],[2,3,4],[5,6,7]] li = sorted(li, reverse=True, key=lambda x: x[1]) #[1]に注目してソート
[ "tsuyunoiwashi@gmail.com" ]
tsuyunoiwashi@gmail.com
188b926a0273d9407218185aa3016d3f02c1eb88
55b57d64ec547869835334318f3059fbb507558c
/Fred2/Data/pssms/smm/mat/A_32_07_9.py
9d57732d1c3384a786473ec66600efe950cc1551
[ "BSD-3-Clause" ]
permissive
FRED-2/Fred2
9845f6678d4011cb746c7a5a6f283eea68077a02
b3e54c8c4ed12b780b61f74672e9667245a7bb78
refs/heads/master
2021-07-12T05:05:54.515427
2020-05-25T06:56:25
2020-05-25T06:56:25
16,275,425
42
35
null
2021-07-07T12:05:11
2014-01-27T10:08:11
Python
UTF-8
Python
false
false
2,145
py
A_32_07_9 = {0: {'A': 0.197, 'C': 0.0, 'E': -0.11, 'D': 0.0, 'G': -0.053, 'F': 0.087, 'I': 0.122, 'H': -0.115, 'K': -0.109, 'M': 0.153, 'L': 0.056, 'N': 0.0, 'Q': -0.004, 'P': 0.0, 'S': -0.278, 'R': -0.213, 'T': -0.08, 'W': 0.169, 'V': 0.0, 'Y': 0.177}, 1: {'A': 0.177, 'C': 0.0, 'E': 0.245, 'D': 0.0, 'G': -0.006, 'F': ...
[ "schubert@informatik.uni-tuebingen.de" ]
schubert@informatik.uni-tuebingen.de
f2ee0c56a885daa5dee46ca150b86b8999cc3af8
a5363720d3803e1b02e25d7063d61e827e0251b7
/pytest/dataguru/week4/otherclass.py
40c3991e086c825f281a90c4e2a0a9fe9fd5491f
[]
no_license
xiaocaipi/python
693c117874c05b3891a3fb75f6229b8c3ee816b7
00ba1ae7e1d68f4240779b7be28016addf4c1bf2
refs/heads/master
2021-01-13T01:55:33.185768
2015-07-05T14:51:41
2015-07-05T14:51:41
38,572,457
0
0
null
null
null
null
UTF-8
Python
false
false
71
py
class otherclass: def GET(self): return '200'
[ "xiaocaipi@qq.com" ]
xiaocaipi@qq.com
62403b305f76b293486f4154cce895e2dc80d825
b806af675ad871722a173369d22321a4f4135bf5
/application/main/views.py
9c940b5ef9cfed3f7d6d58fba81ad33e12b34782
[]
no_license
degacth/flask-library
ee6f29934bcb69237998bda15e133fa5eb9c29d7
bde96b8e68a1a4bf51976201138169a727aee12b
refs/heads/master
2020-12-24T19:59:56.877631
2017-05-08T13:05:04
2017-05-08T13:05:04
86,221,832
1
0
null
null
null
null
UTF-8
Python
false
false
331
py
import os from flask import Blueprint, render_template from config import Config SRC_DIR = os.path.join(Config.BASE_DIR, 'src') main_bp = Blueprint('main', __name__, template_folder=SRC_DIR, static_folder=SRC_DIR) @main_bp.route('/') @main_bp.route('/<path:page>') def main(page=None): return render_template('in...
[ "degacth@yandex.ru" ]
degacth@yandex.ru
b32a67ea872da39fa07c33669690cc804b81d4ba
5c80c1c3a24399db5d7c2a259a3e2d18dcbe79a2
/TensorFlow/computer_vision/densenet_keras/models/densenet.py
0b3007fe678d074e264f54166cd76a0aededbb19
[ "MIT", "Apache-2.0" ]
permissive
maxchung2001/Model-References
b2f26cec3bcfc912f50379e47fcff7cb60ea96d2
bc8da16830c1c35e5d1458ba2e46df8726e10f29
refs/heads/master
2023-04-12T16:37:27.103316
2021-04-22T07:00:01
2021-04-22T07:00:01
null
0
0
null
null
null
null
UTF-8
Python
false
false
16,199
py
# Copyright 2018 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applica...
[ "mpandit@habana.ai" ]
mpandit@habana.ai
9c3229ceea797a701d645ee117156726475eb98a
841fb0a6866f9fc7dcd8c0832375bc265cd56e8b
/.history/test_20210723131313.py
c1af4ab41f3ac46265e2ae1ab87cdb0aa929ecfd
[]
no_license
Yurun-LI/CodeEx
f12f77b214bcf98f3fa4acd2658a9c0597c1a2e6
5b3a427961ab87ce4c4536362a2ba1e34d438859
refs/heads/master
2023-06-21T23:52:26.624127
2021-07-27T03:44:34
2021-07-27T03:44:34
345,563,512
0
0
null
null
null
null
UTF-8
Python
false
false
1,657
py
import numpy as np import matplotlib.pyplot as plt class Sort: def insertSort(self,ls): arr = ls.copy() Len = len(arr) if Len <=1: return arr for i in range(1,Len): curVal = arr[i] j = i-1 while j>=0 and arr[j] > curVal: ...
[ "li1042278644@icloud.com" ]
li1042278644@icloud.com
5dd70f3f9e44b7448608a2d48655390f8438e070
f4d82c296a7daf4d1262495048f2dcf2819eadd7
/coupons/migrations/0001_initial.py
8181dbec8fcb2a472e465ed0e41631b5e40390e8
[]
no_license
Bruce-Aidams/Pilollo_old
28f1e43cedb4bc75aa163012ca874043277810d7
391b7108a41e7c5e959abc45886ab4eca5324c95
refs/heads/master
2022-06-09T08:07:05.461348
2020-05-07T04:25:03
2020-05-07T04:25:03
null
0
0
null
null
null
null
UTF-8
Python
false
false
845
py
# Generated by Django 2.0.2 on 2020-01-30 08:59 import django.core.validators from django.db import migrations, models class Migration(migrations.Migration): initial = True dependencies = [ ] operations = [ migrations.CreateModel( name='Coupon', fields=[ ...
[ "baronbenny23@gmail.com" ]
baronbenny23@gmail.com
5728e39b45741bb047b3f384fb8b16afc68ad615
49c8c12e5f2e1db28ad02e57250af55866111c95
/photobooth.py
decb7edc26891f699ddf2bd0667dace80d271252
[]
no_license
hcpb/phPIL
e8f0a0b85ac012bab5119a23c19a1b04440a90b5
34ac05c269d75d5d041850991bcf59ecab9131b8
refs/heads/master
2021-01-01T06:45:54.131113
2014-07-21T20:27:07
2014-07-21T20:27:07
null
0
0
null
null
null
null
UTF-8
Python
false
false
5,563
py
#!/usr/bin/python # many dependencies are all brought in with this import... from photoboothlib import * #============================================================================= # ========================= COMMAND LINE ARGUMENTS =========================== #======================================================...
[ "icenyne@gmail.com" ]
icenyne@gmail.com
c25c4a3bc595d4e908c34f11a343ecb9e4e58f72
9304941efbde9f8083f89326f2549fddd5d253e2
/gaus.py
75aca173349ab6f85a855befb1d6e5012540e2f9
[]
no_license
azmijuhda/metnum
0cc7f3b8a845a90642085cc4a7fe47bb7d5e0a6c
c49da0d1966c59b69d8dded62a69e015fea89002
refs/heads/master
2020-03-12T08:37:20.125669
2018-04-22T03:26:31
2018-04-22T03:26:31
130,531,742
0
0
null
null
null
null
UTF-8
Python
false
false
1,455
py
# -*- coding: utf-8 -*- """ Created on Mon Apr 9 08:39:06 2018 @author: azmijuhda """ print ("== GAUSS ==") n = input("Masukkan Ordo Matriks : ") n = int(n) a=[] i=0 j=0 nn=n+1 for i in range(n): print ("") a.append([]) for j in range(nn): if (j != n): print ("Masukkan Nilai Matriks [%d...
[ "noreply@github.com" ]
noreply@github.com
5df5e0dd5c4926e279b6ba9b730b3394612747dc
3cdb4faf34d8375d6aee08bcc523adadcb0c46e2
/web/env/lib/python3.6/site-packages/user_agents/__init__.py
b8dc2453a93f1e47e2146c07f97dc0191a628b39
[ "MIT", "GPL-3.0-only" ]
permissive
rizwansoaib/face-attendence
bc185d4de627ce5adab1cda7da466cb7a5fddcbe
59300441b52d32f3ecb5095085ef9d448aef63af
refs/heads/master
2020-04-25T23:47:47.303642
2019-09-12T14:26:17
2019-09-12T14:26:17
173,157,284
45
12
MIT
2020-02-11T23:47:55
2019-02-28T17:33:14
Python
UTF-8
Python
false
false
48
py
VERSION = (2, 0, 0) from .parsers import parse
[ "rizwansoaib@gmail.com" ]
rizwansoaib@gmail.com
381701f9ffd0e54c242295558b4dc3dead0daaa7
1f800b08f937067e840e0a07c39cd75ee818aba0
/Library_Fine.py
11db838e061bd1b4b3e4bef734cf5237f3289997
[]
no_license
SpaceCoder123/Hacker_Rank
5e322c8f672d346c4a9522f9ff3e93daeb09180a
91c5d735fafc7fa80079caf3ec6e7fad26b6d536
refs/heads/master
2022-11-11T05:09:00.555968
2020-07-02T12:56:51
2020-07-02T12:56:51
254,894,825
0
0
null
null
null
null
UTF-8
Python
false
false
519
py
Given_date=list(map(int,input().split())) Expected_Date=list(map(int,input().split())) Year_Diff=(Given_date[2]-Expected_Date[2]) Month_Diff=(Given_date[1]-Expected_Date[1]) Day_Diff=(Given_date[0]-Expected_Date[0]) if Year_Diff==0: if Month_Diff==0: if Day_Diff>0: print(15*Day_Diff) e...
[ "noreply@github.com" ]
noreply@github.com
925326f9bd4afe34bffc15db2159f377ac95bce8
7873e0aedc1aa9a2b5f065f03a03befb1a224d0e
/2_plot.py
e0ae0a05d85f155e197de6e292f19db1bf70bbba
[]
no_license
ronygregory/MDG-indicators-prediction
9bb0e53d6e1ce982b74e87e1c32789bdeacb4b7e
8e5a14d22f7f26f4d7cf27d400e99597c79c97ec
refs/heads/master
2021-01-10T04:27:12.450773
2015-12-06T22:27:16
2015-12-06T22:27:16
47,472,095
0
0
null
null
null
null
UTF-8
Python
false
false
5,465
py
import sys from pyspark import SparkConf, SparkContext import matplotlib.pyplot as plt import matplotlib.pyplot as plt import gui # Filter criteria - change it to accept from UI print "starting" gui.getValues() country = gui.country print country indicator = gui.indicator print indicator year_start = gui.startYear pri...
[ "rony.gregory@utah.edu" ]
rony.gregory@utah.edu
d52d3a2827a1ee42c9687e32b084e7307656124c
c79826948dfe18dc7b1bc8a9cb1bb7433b785848
/Projects/ToDoApp (Django + React + Redux)/ToDoApp/settings.py
3218540ab1587ef59fdffae76dab1e518ba62b67
[]
no_license
yahyaest/JavaScript_Repository
704f03e7c4a32dead11b9d77c28e845ac0032dc7
ac21ae772c97e45add8a627a4b22d453ff6a97c8
refs/heads/main
2023-01-12T17:43:17.925408
2020-11-19T22:20:38
2020-11-19T22:20:38
314,365,556
0
0
null
null
null
null
UTF-8
Python
false
false
3,503
py
""" Django settings for ToDoApp project. Generated by 'django-admin startproject' using Django 3.0.8. For more information on this file, see https://docs.djangoproject.com/en/3.0/topics/settings/ For the full list of settings and their values, see https://docs.djangoproject.com/en/3.0/ref/settings/ """ import os #...
[ "machatyahya@gmail.com" ]
machatyahya@gmail.com
b32b76f682558b542d37e0757152e22391f98198
e2f5479f73bdfb9cd93a2fd7c615da369a43a499
/tests/lastfm/commands/test_cmd_add.py
eb79cd38db6d075e48444f318b17fe6ab264ae91
[ "MIT" ]
permissive
tefra/pytuber
8bdb837d0912c9bacab0bff1e0196bfdba67cb62
a7c5d6252584dc0abee946e707f496cecaebf1bb
refs/heads/master
2022-05-19T21:48:02.129812
2022-05-08T10:08:40
2022-05-08T10:10:24
161,838,438
10
6
MIT
2022-05-08T09:45:24
2018-12-14T20:44:26
Python
UTF-8
Python
false
false
6,159
py
from unittest import mock from pytuber.cli import cli from pytuber.core.models import PlaylistManager from pytuber.core.models import Provider from pytuber.lastfm.models import PlaylistType from pytuber.lastfm.models import UserPlaylistType from pytuber.lastfm.params import ArtistParamType from pytuber.lastfm.params i...
[ "chris@komposta.net" ]
chris@komposta.net
65843e4856971d1c160262de54e7f67ae23cecd2
b47a02e08b40ad9a075e45a1bf3c344ea8c25053
/page/login.py
64eddc01891ad15fa4b01fadf29ea81e7924c8a6
[]
no_license
socialya/is_selenium
d1ce8f41c8fea5631fdef8c614e9ea265fb0a119
fb8b96d3a5144f1257e8fcc1df1f8e82679c77dc
refs/heads/master
2023-05-30T22:45:18.194597
2021-06-18T01:55:57
2021-06-18T01:55:57
378,000,842
1
0
null
null
null
null
UTF-8
Python
false
false
457
py
from selenium.webdriver.common.by import By from base.basepage import BasePage class Login(BasePage): def login(self): self.steps(r"C:\Users\DELL\Desktop\集中\web_xiaoan\step\login_step.yml") def get_login_err_toast(self): return self.steps(r"C:\Users\DELL\Desktop\集中\web_xiaoan\step\login_step....
[ "16619774261@163.com" ]
16619774261@163.com
7818dfe58848eb01336f7b5651924a5ed6c63634
de01cb554c2292b0fbb79b4d5413a2f6414ea472
/algorithms/Medium/375.guess-number-higher-or-lower-ii.py
b6799751f60aa606ef7ea7280f4aafd950549035
[]
no_license
h4hany/yeet-the-leet
98292017eadd3dde98a079aafcd7648aa98701b4
563d779467ef5a7cc85cbe954eeaf3c1f5463313
refs/heads/master
2022-12-10T08:35:39.830260
2020-09-02T23:12:15
2020-09-02T23:12:15
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,154
py
# # @lc app=leetcode id=375 lang=python3 # # [375] Guess Number Higher or Lower II # # https://leetcode.com/problems/guess-number-higher-or-lower-ii/description/ # # algorithms # Medium (40.27%) # Total Accepted: 64.6K # Total Submissions: 160.4K # Testcase Example: '1' # # We are playing the Guess Game. The game i...
[ "kevin.wkmiao@gmail.com" ]
kevin.wkmiao@gmail.com
677a641bde79be9d0d2354f98062e9b5edec8e54
1e9b1f2046a4684e30e82f74599eeda7c671716e
/Maps.py
52a039af84ec985f819cf24d6bc7d86b40cc174c
[]
no_license
jordengit/ML-in-Tower-of-Saviors
20ee4d4011c8e57b82e76a3cb8d80f648deba0cd
6289d57a6219d528e085da69ee16d3806f865641
refs/heads/master
2020-04-16T20:20:07.065363
2019-01-11T09:23:55
2019-01-11T09:23:55
null
0
0
null
null
null
null
UTF-8
Python
false
false
588
py
import numpy as np maps = [] # random map map = np.random.randint(6, size=(6, 5)).tolist() maps.append(map) # map_1 : U map = [ [5, 4, 3, 2, 1], [4, 3, 2, 1, 0], [5, 4, 3, 2, 1], [5, 2, 5, 1, 0], [1, 1, 2, 5, 1], [1, 2, 5, 1, 0] ] maps.append(map) # map_2 map = [ [9, 9, 3, 2,...
[ "a0935235100@gmail.com" ]
a0935235100@gmail.com
d47555778032b584c55d0e6a9103a2c5f1447385
e296d27f9de6ace63420b8d269a2d55d9aff7240
/Prediction_whatIfAnalysis.py
7ac71e8b3eca179d9348b4a3d788830d18db74b3
[]
no_license
Tapadyuti1991/FreedieMacDataAnalysis
e00a426857c52eaed48bc2b2e3dec342d02505a8
8804bca1c52dca7026b79643f61719ca2102eee2
refs/heads/master
2020-03-16T20:53:47.243662
2018-05-11T02:49:24
2018-05-11T02:49:24
132,976,498
0
0
null
null
null
null
UTF-8
Python
false
false
13,042
py
# coding: utf-8 # In[39]: # !pip install urllib import requests from bs4 import BeautifulSoup import re import os import time from io import BytesIO from zipfile import ZipFile import pandas as pd import glob import matplotlib.pyplot as plt import seaborn as sns import numpy as np import csv import math import h2o ...
[ "tapadyuti@gmail.com" ]
tapadyuti@gmail.com
7877d63cf9186e94dd828c6bce1f67ae387e7162
976a76c257d81db5ba5bb50ddecf8276a5a7b0ad
/analysis_tools/utils/masked_rolling_subimage_transformer.py
658eb86a078b8d573c02e1ba2a9cb8dac35da1ab
[]
no_license
JulianKlug/brains_and_donuts
e4e9d79fa899b520a313628f9cb38bef3758b759
2de8641a863c3cb18fb253d6bcf5c5dcfe6c1cbf
refs/heads/master
2022-12-02T23:42:47.375289
2020-07-25T21:49:57
2020-07-25T21:49:57
null
0
0
null
null
null
null
UTF-8
Python
false
false
6,265
py
import numpy as np from sklearn.base import BaseEstimator, TransformerMixin from pgtda.images import RollingSubImageTransformer class MaskedRollingSubImageTransformer(BaseEstimator, TransformerMixin): """Obtain regularly spaced subimages belonging to the masked area of images in a collection. Parameters -...
[ "tensu.wave@gmail.com" ]
tensu.wave@gmail.com
cfabcbe337af26779b838c7e71fe51673cae94f8
e37acb231ccc09f88f4da410de04ef54cf7fc88f
/powerSet.py
5f622576e439de0923ae9fd18d027536515e3878
[]
no_license
ManasaPola/Coding-Exercise
9cb38937934fe40bd7fabf5878e5305327bea26b
f35d5c01e7f35493732f640faf563a78c5dbd25f
refs/heads/master
2020-06-21T11:19:51.712466
2019-08-05T19:55:03
2019-08-05T19:55:03
197,434,369
0
0
null
null
null
null
UTF-8
Python
false
false
602
py
'''This problem was asked by Google. The power set of a set is the set of all its subsets. Write a function that, given a set, generates its power set. For example, given the set {1, 2, 3}, it should return {{}, {1}, {2}, {3}, {1, 2}, {1, 3}, {2, 3}, {1, 2, 3}}.''' def main(): s = [1,2,3] n = len(s) pow ...
[ "6694manasa@gmail.com" ]
6694manasa@gmail.com
8972f8424bbe7dce491fd3c365f2cf0892c862d6
862f3389025650b4ddf46dbb675d380dacc784bf
/proj/proj1/tests/q4.py
8b123f7aecf42dc85045ce6d335a256db490c705
[]
no_license
argoc/sp21
7db5fbedcd84592bf6f557f7876ba0bdbe6bc552
23d31826e2a3bc4125a1e50125f1b99a8350647f
refs/heads/master
2023-05-02T00:09:33.776158
2021-04-26T02:25:14
2021-04-26T02:25:14
null
0
0
null
null
null
null
UTF-8
Python
false
false
486
py
test = { 'name': 'q4', 'points': 2, 'suites': [ { 'cases': [ {'code': ">>> result_4.DataFrame().iloc[3, 1] == 'Trebek, Alex'\nTrue", 'hidden': False, 'locked': False}, {'code': ">>> result_4.DataFrame()['number'].iloc[:5].sum() == 26115\nTrue", 'hidden': False, 'locked...
[ "allenshen5@berkeley.edu" ]
allenshen5@berkeley.edu
e21ac3da379470ffcc4caef0ba04736b630eef31
ebbfb8b51aabfee91cc33b206d40b530d5f339c9
/images/models.py
53d80203344db8c0d6bd913902667414259c14ec
[]
no_license
p3dr0migue1/project17
95ec330cd76b5ea880cc3d7d3a1121347cf0a0f1
5dbfbd724caa9e957adc9dadce5eb9aac4577511
refs/heads/master
2021-01-02T09:35:41.248470
2017-11-18T23:06:02
2017-11-18T23:06:02
99,255,550
0
0
null
null
null
null
UTF-8
Python
false
false
1,397
py
from django.db import models from django.conf import settings from django.utils.text import slugify from django.core.urlresolvers import reverse class Image(models.Model): user = models.ForeignKey(settings.AUTH_USER_MODEL, related_name='images_created') title = models.CharField(ma...
[ "pedro.miguel@live.co.uk" ]
pedro.miguel@live.co.uk
3c03f32e5eb27a8eed60265897afc1267e87e8c7
de24f83a5e3768a2638ebcf13cbe717e75740168
/moodledata/vpl_data/133/usersdata/219/41408/submittedfiles/al15.py
a09e1d37170fb844e616c106b8bacdfa9a11aef3
[]
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
127
py
# -*- coding: utf-8 -*- i=1 for i in range(1000,9999,1): a1=i%100 a2=i/100 if((a1+a2)*(a1+a2)==i): print('%d/n' i)
[ "rafael.mota@ufca.edu.br" ]
rafael.mota@ufca.edu.br
d691a6ad61cfc0cd1a7c436299652fad8e85b75f
f0175b2f92d26321352e745c8d6e327a8a3cf65a
/cos_sim_sk_test.py
2e5fa9fd80ef1bc55db923f06308e4acd258d09c
[]
no_license
BaryehCode/cosine_similarity
7f9e78b319b9d3b6cc452d31247d36f05d464fdd
83a9e47ed04ab9fe7770ab09cdb72939c6f86ca4
refs/heads/master
2022-04-01T21:12:07.890891
2020-01-28T15:08:10
2020-01-28T15:08:10
null
0
0
null
null
null
null
UTF-8
Python
false
false
909
py
from random import randint from time import clock import numpy as np import cos_sim_sk """ For using sklearn's method directly, use the following code (with the same np arrays as below): from sklearn.metrics.pairwise import cosine_similarity (...) similarity = cosine_similarity(V)[0][-1] """ size = 50000 print('Gen...
[ "vgratian@utopianlab.am" ]
vgratian@utopianlab.am
f9c6490f5ece41b650d48ea79d24c13544978d7d
f68732bc40a7a90c3a1082e4b3a4154518acafbb
/script/dbus/sessionBus/inputDeviceTouchPad/011_palmMinWidth.py
2aa00b420156397e97ca272516be555d2391a05b
[]
no_license
lizhouquan1017/dbus_demo
94238a2307e44dabde9f4a4dd0cf8ec217260867
af8442845e722b258a095e9a1afec9dddfb175bf
refs/heads/master
2023-02-11T19:46:27.884936
2021-01-08T05:27:18
2021-01-08T05:27:18
327,162,635
0
0
null
null
null
null
UTF-8
Python
false
false
902
py
# -*- coding: utf-8 -*- # *************************************************** # @Test Case ID: 011_palmMinWidth # @Test Description: int32 PalmMinWidth (readwrite) 手掌误触最小宽度 # @Test Condition: 1.无 # @Test Step: 1.调用接口读取 PalmMinWidth 属性值 # @Test Result: 1.返回 int32 数据类型数据 # @Tes...
[ "lizhouquan@uniontech.com" ]
lizhouquan@uniontech.com
9fd3a856cee9a4a7617e5f48b2ee83857fea54f9
34f3cfeac7fd5a7bbbc5e362bef8bc316f81c1d0
/asn1tools/source/rust/utils.py
d0de494f331cace95b3a0f8f06fbabb9633d7889
[ "MIT" ]
permissive
eerimoq/asn1tools
860b3623955c12dfb9763ff4e20a805beb7436ba
de25657f7c79100d1ba5312dd7474ff3e0d0ad2e
refs/heads/master
2023-03-16T09:28:11.924274
2023-03-10T20:24:34
2023-03-10T20:24:34
99,156,277
272
98
MIT
2023-01-03T13:40:36
2017-08-02T20:05:05
Python
UTF-8
Python
false
false
18,890
py
import re from ...errors import Error TYPE_DECLARATION_FMT = '''\ /// Type {type_name} in module {module_name}. {members} ''' DEFINITION_FMT = ''' impl {module_name}{type_name} {{ pub fn encode(&mut self, mut dst: &mut [u8]) -> Result<usize, Error> {{ let mut encoder = Encoder::new(&mut dst); s...
[ "erik.moqvist@gmail.com" ]
erik.moqvist@gmail.com
00e8949d545fa45467bb2276682c9a7d09100ddf
dd1151fd1f3435960cb43269c91628fa333f9090
/excelwork.py
7728422a1196fb07b283237fe0159611314935c1
[]
no_license
AlaynaGrace/Canes-FM
96b29554254423033484ed8ee83c2d070f905c51
2ab6d96b712a66a7b4734dc3fed59f7281e9c43f
refs/heads/master
2021-06-19T22:32:14.772296
2017-07-09T18:36:13
2017-07-09T18:36:13
55,912,598
0
0
null
null
null
null
UTF-8
Python
false
false
5,848
py
from os import path import random import xlwings as xw def eHW(): mainlist = ['What we do','How and Why','Cleanliness','Mystery Shops', 'Training'] #First round of lists to get every value WWD = [] HaW = [] C = [] MS = [] T = [] #Second round of lists to mak...
[ "alaynagrace@comcast.net" ]
alaynagrace@comcast.net
413c3426ed14447dbe5e16b7e306a4699dd18a58
6753f0f0f910aa1f858be27b3c06152e84949e09
/stusys/stusys/inouttake.py
7558eb0726a05fa74579c74ba02065d15bfebe3b
[]
no_license
ildtee/kLwork
94a7ccc880108351c4cdd2a2e2126c6c82d116cd
f29def03d1cc695de2b247c1d1c8685f45a38e46
refs/heads/master
2023-02-05T10:24:19.678375
2020-12-21T15:47:11
2020-12-21T15:47:11
323,098,077
0
0
null
null
null
null
UTF-8
Python
false
false
3,726
py
import os from datetime import datetime import xlrd as xlrd from django.conf import settings from django.views.decorators.csrf import csrf_exempt import pymysql from django.http import HttpResponse from django.shortcuts import render from xlrd import xldate_as_datetime from django.http import HttpResponse from xlwt im...
[ "75404438+ildtee@users.noreply.github.com" ]
75404438+ildtee@users.noreply.github.com
17f8fab62badcdbbb88d5cfd0c6c4506f86e6b50
fa7c302f7df6b1773b27de3b742d551bd54aa4e2
/test/test_input_device_all_of.py
611ab21c2acb46f2c420d439e774eb725eb3aeaa
[]
no_license
cons3rt/cons3rt-python-sdk
d01b3b174c295491130fba0d76d046b16492e9f7
f0bcb295735ac55bbe47448fcbd95d2c7beb3ec0
refs/heads/master
2021-11-04T02:31:54.485541
2021-10-26T19:28:57
2021-10-26T19:28:57
241,673,562
0
0
null
null
null
null
UTF-8
Python
false
false
879
py
# coding: utf-8 """ CONS3RT Web API A CONS3RT ReSTful API # noqa: E501 The version of the OpenAPI document: 1.0.0 Contact: Fred@gigagantic-server.com Generated by: https://openapi-generator.tech """ from __future__ import absolute_import import unittest import cons3rt from cons3rt.models.inp...
[ "shaun.tarves@jackpinetech.com" ]
shaun.tarves@jackpinetech.com
96b6aed07731cefc8eeb7aa9c70881d52109cee9
ad23578693b561f3d7da14c0aac9d31dd1c1f476
/anius/anius-004.py
0a34491cc2b4854bdb5537c5953565b3331de92f
[]
no_license
abpsap/projects
0faccbde1e4fcf2b7019c8310b04249110cf8761
70c2c630f5b07f6a6a3a7dd42f9b7cf2b50c19d3
refs/heads/master
2016-08-07T22:49:33.317249
2015-08-03T23:53:24
2015-08-03T23:53:24
40,031,000
0
0
null
null
null
null
UTF-8
Python
false
false
13,504
py
''' Created on Nov 12, 2013 @author: rriehle ''' #import numpy as np #import pandas as pd import datetime as dt import logging import pandas as pd from querystring import GenerateQueryString from tradeseries import TradeSeries # from tradeset import TradeSet def consolidate_tradeset(myts): '''Return a consolida...
[ "abpsap@gmail.com" ]
abpsap@gmail.com
510028271dd0273b95172ae8801f8c4076dd5a48
700c7801958dd4789caf94785b5dc8c5e3daa4fd
/ttp/src/s3_enum_bucket_src.py
8b1c813243ec768cb7a2e4575bac6e14f2e45359
[ "Apache-2.0", "BSD-3-Clause" ]
permissive
blackbotsecurity/AWS-Attack
24d4cd6ebda067e9672f4f963d414a7b176e3551
ad4668ab60173aabce3c6b9c7685160be5e3f14d
refs/heads/master
2023-03-14T00:05:54.965341
2021-03-05T12:44:27
2021-03-05T12:44:27
331,603,794
14
1
null
null
null
null
UTF-8
Python
false
false
5,507
py
#!/usr/bin/env python3 import datetime import argparse import datetime from copy import deepcopy import os from botocore.exceptions import ClientError FILE_SIZE_THRESHOLD = 1073741824 def get_bucket_size(awsattack, bucket_name): client = awsattack.get_boto3_client('cloudwatch', 'us-east-1') response = client...
[ "github.nk@blackbot.io" ]
github.nk@blackbot.io
338167a41b0820c77bc438289918f04bf2209e6c
8ef36c558bb8dcf3992e9ccdb530f5c390e72325
/Winkfield_numbers_game.py
1861b3c67b602902456a610b0434771db8149493
[]
no_license
gmendiol-cisco/aer-python-game
b6f08667721961a20b0fe4fd301c91f42cdfa57c
603e235532d00ef978942a027a552659634822f9
refs/heads/master
2020-05-30T07:45:09.811484
2019-07-26T21:06:25
2019-07-26T21:06:25
189,603,648
1
2
null
2019-07-05T21:27:17
2019-05-31T14:03:15
Python
UTF-8
Python
false
false
836
py
#!/usr/bin/python #Defining varibles correct_answer = 50 max_attempts = 3 attempts = 0 #Initial Welcome statement print("Welcome to the numbers game.\n") #for loop to track number of attempts for attempts in range(max_attempts): print("You are on attempt " + str(attempts + 1)) #Ask for number to guess? ...
[ "noreply@github.com" ]
noreply@github.com
a302291624c13fd9a1f6808e9c8885774baf1374
8b4ca76a9c1e9aba74ce9ca3008f78b0293a8df2
/algorithms/policy.py
b391e7e85011ff0e3975adf670d34f866c3670ab
[]
no_license
sebastiengilbert73/ReinforcementLearning
4d2eb94327ee56568216d673b1a90a928e79be55
b45578ec7603be37968d95c216d4169c276c0ab4
refs/heads/master
2021-06-18T06:57:04.815045
2021-02-21T18:08:31
2021-02-21T18:08:31
164,341,263
0
0
null
null
null
null
UTF-8
Python
false
false
4,676
py
import abc import random import copy class LegalActionsAuthority(abc.ABC): """ Abstract class that filters the legal actions in a state, among the actions set """ def __init__(self): super().__init__() @abc.abstractmethod def LegalActions(self, state): pass # return legal_acti...
[ "sebastiengilbert73@yahoo.ca" ]
sebastiengilbert73@yahoo.ca
9aa10bf7fd17cf41934bd921783e8fcd9c6cb476
ac99ffd1a62687ff14e1c148c4073ab473309017
/RaspberryPiInteropExample.py
310e9cc6d96d082dc2728aba7f9ee6ce8081e135
[]
no_license
iotbook/chapter9
14de1f7b690594e86da220f6660652b88774c7e3
77d6b475075dde9589a9531c5996fceca2859b44
refs/heads/master
2021-01-10T20:56:37.474377
2014-05-19T04:57:56
2014-05-19T04:57:56
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,233
py
#!/usr/bin/python import paho.mqtt.client as mqtt from time import sleep import RPi.GPIO as GPIO import re user = '<user ID>' key = '<token>' arduinoError = False bbbError = False piError = False def updateLEDs(): if arduinoError == True or bbbError == True or piError == True: GPIO.output(GREEN_LED, False) ...
[ "john@2lemetry.com" ]
john@2lemetry.com
d14ddab3526ea114b95b4603e032f662aeb9b139
e8d95dc8b79281a4262bec6cc93538414c7b6b77
/translate/urls.py
c583a883172f0c5d9b3b1becfc6acb9cab264396
[]
no_license
sprinzs123/Google-translate-clone
03551e47ad3a2238e7c51ebf9facbfdb16a3096e
69a8d2795178ef1ca71c47905ebae96d89342c41
refs/heads/master
2023-01-13T16:54:33.293624
2020-11-20T00:05:05
2020-11-20T00:05:05
288,860,608
0
0
null
null
null
null
UTF-8
Python
false
false
794
py
"""translate URL Configuration The `urlpatterns` list routes URLs to views. For more information please see: https://docs.djangoproject.com/en/3.1/topics/http/urls/ Examples: Function views 1. Add an import: from my_app import views 2. Add a URL to urlpatterns: path('', views.home, name='home') Class-bas...
[ "sprinzs351@gmail.com" ]
sprinzs351@gmail.com
236cf4532f3fdde162ba6752e286002ebdff0b32
039c2e60b859d88bb686c0e66bc6dab2ab723b8e
/环境控制系统/wsgi.py
507ea5c297691da4776aee67c4084fe4aea07c47
[]
no_license
ccc-0/ECS
850613971e4c6fd9cbb6ddcbe2c51b5285d622ac
ef4d69cb4c6fd1b1bbd40ba9c754c8e50c56d8ee
refs/heads/master
2020-09-13T21:50:42.033517
2020-02-13T03:47:10
2020-02-13T03:47:10
222,913,137
1
1
null
null
null
null
UTF-8
Python
false
false
413
py
""" WSGI config for 环境控制系统 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/2.2/howto/deployment/wsgi/ """ import os from django.core.wsgi import get_wsgi_application os.environ.setdefault('DJANGO_SETTIN...
[ "1056179315@qq.com" ]
1056179315@qq.com
8910012782c16a46416210e118ba3994642a3c27
480a05a61cc2708e0f6eacb7024333a076009201
/identYwaf.py
707a3647fb5a59b3be8f4175c36cac796b0da4f5
[ "MIT" ]
permissive
ver007/identYwaf
a9e494ff7a1735184c4926fdd7618852b4f9b3e5
52f47dfcd932329326e5d535d62e931e6b9b7d65
refs/heads/master
2020-06-04T16:31:41.268847
2019-01-15T08:34:17
2019-01-15T08:34:17
192,104,963
1
0
null
2019-06-15T17:17:29
2019-06-15T17:17:29
null
UTF-8
Python
false
false
15,688
py
#!/usr/bin/env python """ Copyright (c) 2019 Miroslav Stampar (@stamparm), MIT See the file 'LICENSE' for copying permission The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. """ import base64 import cookielib import httplib import json imp...
[ "miroslav.stampar@gmail.com" ]
miroslav.stampar@gmail.com
45e426957f57baf9bc11987975669e52f8562df1
2c62b270af7008e2e789ed9810cee6d62bdc48c0
/venv/Scripts/pip-script.py
4dfd212e8a12accd8c971528a5c42eaece4af207
[]
no_license
infinitr0us/FER
c0175a59689a7d2ae7f1ae8ca047d5e426f4bbe9
38d4592944f3de6bf5089f73d3e49792704cf484
refs/heads/master
2020-03-19T16:41:34.714709
2018-06-09T13:29:17
2018-06-09T13:29:17
136,725,584
1
0
null
null
null
null
UTF-8
Python
false
false
407
py
#!D:\tensorflow\Multimedia\FFF-mine\venv\Scripts\python3.exe # EASY-INSTALL-ENTRY-SCRIPT: 'pip==10.0.1','console_scripts','pip' __requires__ = 'pip==10.0.1' import re import sys from pkg_resources import load_entry_point if __name__ == '__main__': sys.argv[0] = re.sub(r'(-script\.pyw?|\.exe)?$', '', sys.argv[0]) ...
[ "e55555_cool@163.com" ]
e55555_cool@163.com
c17f88aad274adc6efb8f07f2e1f91def04c6283
28a462a28f443c285ca5efec181ebe36b147c167
/tests/compile/basic/es2019/Array.prototype.toString.spec
85d911ac433e5e0bb58bf5affb55278c27760195
[ "BSD-3-Clause", "BSD-2-Clause" ]
permissive
kaist-plrg/jstar
63e71f9156860dc21cccc33a9f6c638dfee448ea
1282919127ea18a7e40c7a55e63a1ddaaf7d9db4
refs/heads/main
2022-07-22T08:12:34.947712
2022-02-27T04:19:33
2022-02-27T11:06:14
384,045,526
6
4
NOASSERTION
2022-02-27T11:05:26
2021-07-08T07:53:21
Python
UTF-8
Python
false
false
256
spec
1. Let _array_ be ? ToObject(*this* value). 1. Let _func_ be ? Get(_array_, `"join"`). 1. If IsCallable(_func_) is *false*, set _func_ to the intrinsic function %ObjProto_toString%. 1. Return ? Call(_func_, _array_).
[ "h2oche22@gmail.com" ]
h2oche22@gmail.com
10bc58aa5944e3c030919b5e18cd6222422e8bbf
1e1d5021f8a0ac8065f51db7e70f3831b347d3bf
/imageConversor.py
654b1ab4f08e505ae76e5ac3034575b3996b1f56
[]
no_license
Neoterux/ImageConverter
8985ea2442003dd9d14f4bc0aaa1a55a906987c5
da65e77644ce783d8f5f6cfaa37c74c625454e68
refs/heads/master
2020-12-14T02:40:56.377509
2020-01-17T21:07:06
2020-01-17T21:07:06
234,609,985
0
0
null
null
null
null
UTF-8
Python
false
false
1,928
py
from PIL import Image import os import re clear = lambda: os.system('cls' if os.name == 'nt' else 'clear') def make_dir(name): try: os.stat(name) except: print("Creando directorio " + name + "...") os.mkdir(name) print("Exitoso") def find_file(pathList,...
[ "noreply@github.com" ]
noreply@github.com
7cd58dcae29db07ef376b8e7374e440ee9d0f5cf
a5597d74049fcbe1e1e3afca1f4196243f2e7c90
/glyce/utils/crazy_finetune.py
1e496882105744af27eb0a6cb408eb0daa8357e7
[ "Apache-2.0" ]
permissive
YuChen17Heaven/glyce
72759d8699bbe37ecd2221e90b8ec06a8844fd29
62369e3cc37442ed191862b77d87d0c17c8454f8
refs/heads/master
2020-06-14T01:52:41.111642
2019-06-30T10:52:10
2019-06-30T10:52:10
194,857,610
1
0
null
null
null
null
UTF-8
Python
false
false
2,840
py
# encoding: utf-8 """ @author: wuwei @contact: wu.wei@pku.edu.cn @version: 1.0 @license: Apache Licence @file: crazy_finetune.py @time: 19-1-2 下午9:50 写for循环疯狂调参 python main.py --highway --nfeat 128 --use_wubi --gpu_id 3 """ import os import sys root_path = "/".join(os.path.realpath(__file__).split("/")[:-3]) if...
[ "xiaoyli@outlook.com" ]
xiaoyli@outlook.com
c30316ff64026fdb322a3b42a1c9a36c6d515a59
46095a42fcd6fdd160785673d4fc707bfd254328
/spotify/utils.py
a78c6ff10a7fcb9e27fa2f9bb2f0dee537bae6c4
[]
no_license
pratham-gupta/spotify_music_controller
4927e74d21be2b350e7c00debc44650369fd9a68
201d5fb3156b3a032b87613d2301578581373574
refs/heads/master
2023-03-12T04:13:34.211483
2021-02-22T07:57:27
2021-02-22T07:57:27
341,114,469
0
0
null
null
null
null
UTF-8
Python
false
false
4,169
py
from .models import SpotifyToken from django.utils import timezone from datetime import timedelta from spotify.credentials import CLIENT_ID, CLIENT_SECRET from requests import Request, post, get, put BASE_URL = "https://api.spotify.com/v1/me/" def get_user_token(session_id): user_tokens = SpotifyToken.objects...
[ "pratham04031999@gmail.com" ]
pratham04031999@gmail.com
f88344df280e4ae0c8f5c5e353cce5e29755a1da
18d63c7b0382445043d3ea034cffd868d8e70442
/LvTianshu_Pset2 (many tree grow).py
5a04dd7e0daeeaedea484a27a347d8fa3ce94656
[]
no_license
tianshu-lyu/Recursive-Tree-Visualization
bf120778e1136cc50b73b43fa84ca59302063c4f
85a8a56447a11e5ceee61aaabe2de5481a4f2bf4
refs/heads/master
2021-06-03T06:08:32.536748
2016-05-23T09:33:32
2016-05-23T09:33:32
null
0
0
null
null
null
null
UTF-8
Python
false
false
3,376
py
import pygame from pygame.locals import * import math pygame.init() SCREEN_HEIGHT=600 SCREEN_WIDTH=800 SCREEN_SIZE=(SCREEN_WIDTH,SCREEN_HEIGHT) myfont=pygame.font.SysFont("arial", 20) pygame.display.set_caption('Tree in Recursion') screen=pygame.display.set_mode(SCREEN_SIZE,pygame.RESIZABLE) backgroun...
[ "tl1443@nyu.edu" ]
tl1443@nyu.edu
6cc42f14be61cc5796bf53e496bd75fde3a8e361
d8bf68df624e5a50324527baf44ca610340b060d
/sniffersapp/daily_dockets/migrations/0005_auto_20180625_2022.py
b235c0c560c578a1d31c7b7f31e0d378fae776a5
[ "MIT" ]
permissive
jamesokane/Oneworksite-Application
0aadd4661e09c7448b465c967377f8058df82f65
1749ffa89430be75394ae0d43905f3dd30a24fc6
refs/heads/master
2022-12-15T21:13:30.697889
2018-11-09T02:55:18
2018-11-09T02:55:18
157,323,318
0
0
MIT
2022-12-08T01:02:11
2018-11-13T05:06:01
JavaScript
UTF-8
Python
false
false
588
py
# Generated by Django 2.0.6 on 2018-06-25 10:22 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('daily_dockets', '0004_docket_smoko'), ] operations = [ migrations.AlterField( model_name='docket', name='docket_day'...
[ "james@oneworksite.com" ]
james@oneworksite.com
6777ff2e763c0748a5200c9729d79c3fecf1cc50
503d2f8f5f5f547acb82f7299d86886691966ca5
/atcoder/hhkb2020_b.py
c8dd560750da5c973e42132f7c0e4108860b8814
[]
no_license
Hironobu-Kawaguchi/atcoder
3fcb649cb920dd837a1ced6713bbb939ecc090a9
df4b55cc7d557bf61607ffde8bda8655cf129017
refs/heads/master
2023-08-21T14:13:13.856604
2023-08-12T14:53:03
2023-08-12T14:53:03
197,216,790
0
0
null
null
null
null
UTF-8
Python
false
false
972
py
# https://atcoder.jp/contests/hhkb2020/tasks/hhkb2020_b # import sys # # def input(): return sys.stdin.readline().rstrip() # # input = sys.stdin.readline # input = sys.stdin.buffer.readline # from numba import njit # from functools import lru_cache # sys.setrecursionlimit(10 ** 7) # @njit('(i8,i8[::1],i4[::1]...
[ "hironobukawaguchi3@gmail.com" ]
hironobukawaguchi3@gmail.com
ca405a4f780ebbfd858f71371a55f11a09f0d47c
0022918e83e63026846e7bd508098e21752bb924
/test.py
40b8c2ecc438ca89d099be2fa88201c521df6ab9
[]
no_license
sebbacon/formexperiment
5089c144d9159e889283d15ae200827507bf3e63
98450091ff72e4f08748076bc905fdd0f97c04ad
refs/heads/master
2020-06-05T07:13:21.661566
2011-01-26T18:55:25
2011-01-26T18:55:25
1,282,571
0
0
null
null
null
null
UTF-8
Python
false
false
123
py
import doctest from test_with_peppercorn import * import unittest doctest.testfile("test_simple_data.txt") unittest.main()
[ "seb.bacon@gmail.com" ]
seb.bacon@gmail.com
162c5384a84309099b93fea2109da6b7e668187d
1b5b7a3733dcc2612798ec17d54f353e361dfe17
/create_labelled_mels.py
c7ba712cf0ab4f1c004b040ea0404b98cab06489
[]
no_license
janzenal/misophonia_filter
2d735c34c8f263e582035017cb1b7bb45d2494f2
79d4b9357c46c3799d948b2feab09890a96bd979
refs/heads/main
2023-02-13T16:58:09.093628
2021-01-03T12:45:49
2021-01-03T12:45:49
317,893,766
3
0
null
null
null
null
UTF-8
Python
false
false
7,413
py
from pydub import AudioSegment import librosa import pandas as pd import numpy as np import os.path import os import skimage.io from tqdm import tqdm import natsort def clean_labels(file_path): ''' This function cleans the label file created with Audacity from the lines that do not include useful information ...
[ "noreply@github.com" ]
noreply@github.com
b786a8bf22bcc9fa6769a2bdd445c84df32550ce
c2c8915d745411a0268ee5ce18d8bf7532a09e1a
/cybox-2.1.0.5/cybox/bindings/domain_name_object.py
a65065255c04bcb38b3bf5ca7c47ea1efa9b991a
[ "BSD-3-Clause" ]
permissive
asealey/crits_dependencies
581d44e77f297af7edb78d08f0bf11ad6712b3ab
a8049c214c4570188f6101cedbacf669168f5e52
refs/heads/master
2021-01-17T11:50:10.020346
2014-12-28T06:53:01
2014-12-28T06:53:01
28,555,464
1
0
null
null
null
null
UTF-8
Python
false
false
32,281
py
#!/usr/bin/env python # -*- coding: utf-8 -*- # # Generated Wed Jan 15 13:08:03 2014 by generateDS.py version 2.9a. # import sys import getopt import re as re_ import cybox_common import base64 from datetime import datetime, tzinfo, timedelta etree_ = None Verbose_import_ = False ( XMLParser_import_none, XMLParse...
[ "ssnow@mitre.org" ]
ssnow@mitre.org
df8c81a2b8e3b1259e8d30912e5801030105b4c9
05e5d1dcd5f077f99226970a4c8ca5b709b5017e
/Test/TestENV_regeneration.py
d5a8d3d425c46577981bb817f78a5cea774ee4b7
[]
no_license
Angelaben/Thesis-RL
ecdeb8c4f1b74b06cd9aa59cfe5e1a98d400c71e
992fb80f9fcb4021669047284d1a186c5e3a567a
refs/heads/master
2020-04-17T00:53:30.923720
2019-01-16T15:45:01
2019-01-16T15:45:01
null
0
0
null
null
null
null
UTF-8
Python
false
false
440
py
from Environment.BanditEnvironment_stationary_WithRegeneration import BanditEnvironment_regeneration env = BanditEnvironment_regeneration() res = env.reset() print(res) env.step_mono_recommendation(0) first_item = res[1][0] env.regenerate() res = env.reset() regenerated_first_item = res[1][0] assert first_item.get_Pri...
[ "bangelard@vente-privee.com" ]
bangelard@vente-privee.com
4cd1e5c3393bc90564eb60027a7d7ae9a87e1b66
d35c9091645ada3f1439ae8a6ad198b90b184bad
/examples/kill.py
a860433ec8664b152006986236153f4c862dfe42
[]
no_license
pgillet/spark_client
09c8e488835ac72d43bec727cbb9f183dca9275c
2273af035ec0560f23ddcea13922fd1f82c708d5
refs/heads/main
2023-02-17T04:09:47.343074
2021-01-06T14:51:06
2021-01-06T14:51:06
327,342,067
0
0
null
null
null
null
UTF-8
Python
false
false
824
py
import logging import os from spark_client.facade import K8S_SPARK_NATIVE, SparkJobConf from spark_client.utils import SparkJobRunnerFactory logging.basicConfig(level=logging.DEBUG) # Job configuration # Path to the static configuration file config_path = os.path.join(os.path.dirname(__file__), "conf.cfg") manager =...
[ "pascal.gillet@stack-labs.com" ]
pascal.gillet@stack-labs.com
efba4b2d600c69a51bb39a34812f080182f4990d
8b301e17d5f42e1050bb15cde9b28a2db33d0662
/mysite/myAPI/checkcode.py
f92f73c41b11dab9987fad65e488cce789056e4d
[ "Apache-2.0" ]
permissive
wuchunlong0/blog_uk_vue_mylogin
413bd482b649f2bf0e45cdfe5dc964ac0f75e72b
eece41870822a38c130318c10e6dc348a088a864
refs/heads/master
2020-05-09T18:04:45.718255
2019-04-14T15:13:01
2019-04-14T15:13:01
181,323,582
0
0
null
null
null
null
UTF-8
Python
false
false
3,418
py
# -*- coding: utf-8 -*- import os,sys from io import BytesIO as StringIO from django.shortcuts import render import random from django.http.response import HttpResponseRedirect, HttpResponse from PIL import Image, ImageDraw, ImageFont, ImageFilter FONT_TYPE = "static_common/home/fonts/DroidSans.ttf" _letter_cases = ...
[ "wcl6005@163.com" ]
wcl6005@163.com
57886315fad8ee049cd188b90393f570bf6e34b8
8e2c1c2fd6e53cc43706dba80a3423dbd2c1eb5d
/tilemap.py
361bd134efdb96b17755817bbb1a6f3fcfbb97b0
[]
no_license
DavidMower/OceanDiver
4d21332c5846b96f58b5d01a1f447fba1f07e2a3
ce2560a4376101263a676537e4043300e61b5fbe
refs/heads/master
2022-12-28T16:46:24.279464
2020-10-12T22:07:32
2020-10-12T22:07:32
193,225,654
0
0
null
null
null
null
UTF-8
Python
false
false
1,197
py
import pygame as pg from settings import * def collide_hit_rect(one, two): return one.hit_rect.colliderect(two.rect) # check the players hit rect against a wall rect class Map: def __init__(self, filename): self.data = [] with open(filename, 'rt') as f: for line in f: ...
[ "35422381+DavidMower84@users.noreply.github.com" ]
35422381+DavidMower84@users.noreply.github.com
8a3022311e6e5bc085b1c0d6cda1b86dc882d192
9b8c58214d1c5909344b3548cec4bde72f53c909
/build_keras_model_and_export.py
84a4c0a3cc9aa2f01e7e6a6a5d51b98ea774f9de
[]
no_license
asparagui/keras_mnist_demo
36629cca5cfb9c8e729425bec3fc3a143dc372fa
e674f9d636315aeb7a705211337c141df5a90f5f
refs/heads/master
2021-07-12T06:27:43.139503
2020-04-16T01:54:56
2020-04-16T01:54:56
94,045,683
24
4
null
null
null
null
UTF-8
Python
false
false
1,730
py
''' Trains a simple deep NN on the MNIST dataset, Export as a coreml model removed epochs from original code to deal with keras 1.2.2 ''' from __future__ import print_function import keras from keras.datasets import mnist from keras.models import Sequential from keras.layers import Dense, Dropout from keras.optimizer...
[ "koonce@hello.com" ]
koonce@hello.com
b5912e349873dcbf8e6bf3da70f9559def4a8646
9fb630770d83bb696651bcf52aa2d438ced56a17
/12_examples/02.py
c17de9595611e091cb0e6c04424285384f364b3a
[]
no_license
hima-del/Learn_Python
de4a9b157629dfa89fb5c79b8557847a4e4061c4
0c0798eae30c5bd0ec352707c4ce169ca64a51ea
refs/heads/master
2023-04-08T20:22:01.880785
2021-04-23T11:28:31
2021-04-23T11:28:31
331,871,342
1
0
null
2021-04-23T11:28:32
2021-01-22T07:35:07
Python
UTF-8
Python
false
false
602
py
def jpeg_res(filename): """"This function prints the resolution of the jpeg image file passed into it""" # open image for reading in binary mode with open(filename,'rb') as img_file: # height of image (in 2 bytes) is at 164th position img_file.seek(163) # read the 2 bytes a =...
[ "himajaharidas77@gmail.com" ]
himajaharidas77@gmail.com
2c6b764876baa6f80f39940e01e70255a7c56517
fc09c07e79383e4fe825a065ee72e07a0260bd38
/config.py
4582452a2641fe3df09e9dbd71facbd51a31e5ed
[]
no_license
kanan132/mega-tutorial-flask
266fb4abf0ce0691bc5bbaabc73923cfdab6e09e
0c1bf00a1f1e0576b569cf5b0b80176e99e6cf17
refs/heads/master
2022-12-04T12:39:15.227992
2020-08-28T14:56:49
2020-08-28T14:56:49
289,289,210
0
0
null
null
null
null
UTF-8
Python
false
false
878
py
import os from dotenv import load_dotenv basedir = os.path.abspath(os.path.dirname(__file__)) load_dotenv(os.path.join(basedir, '.env')) class Config(object): SECRET_KEY = os.environ.get('SECRET_KEY') or 'you-will-never-guess' SQLALCHEMY_DATABASE_URI = os.environ.get('DATABASE_URL') or \ 'sqlite:///'...
[ "kenan.132@mail.ru" ]
kenan.132@mail.ru
7461599a46d9adee105822f8d7546e4086602b87
c3303efb0d524b469d7867e73b259c51f5bbcdeb
/books_application/wsgi.py
ef6c974e27dc7538d1c5d1ac9c647102e0ccffc4
[]
no_license
tanyairina/fav_books
d6d011b8d8e31a96eda45059460e5667bc893ee2
ce92042c96bfd7e86de6926feb8580f99a1b6191
refs/heads/master
2023-01-30T03:42:09.269086
2020-12-14T15:33:10
2020-12-14T15:33:10
321,392,858
0
0
null
null
null
null
UTF-8
Python
false
false
411
py
""" WSGI config for books_application project. It exposes the WSGI callable as a module-level variable named ``application``. For more information on this file, see https://docs.djangoproject.com/en/3.1/howto/deployment/wsgi/ """ import os from django.core.wsgi import get_wsgi_application os.environ.setdefault('DJ...
[ "72577434+tanyairina@users.noreply.github.com" ]
72577434+tanyairina@users.noreply.github.com
31e43df249ffaf82a6153cb36979d317cd6430dc
147d6cf3e03d9f443cae06a111a1d1e8aa786384
/practice1.py
0d8c25dc852cf8a99fabbc741da051481f5448fa
[]
no_license
bobbyalestra/python-projects
81136641a2a7368d144b6d1f1ca39e4683453537
b432610bbc20618312eca7ca7231fe20cd4e551c
refs/heads/main
2023-05-07T21:05:12.129100
2021-05-22T23:56:43
2021-05-22T23:56:43
369,885,235
0
0
null
null
null
null
UTF-8
Python
false
false
415
py
# string concatentation # suppose we wwantt o create a string thqat says "subscribe t0 _____" youtuber = "Blestra" #some string variable # print("subscribe tio" + youtuber) # print("subscribe to {}".format(youtuber)) # print(f"subscribe to{youtuber}") adjective = input("Adjective: ") verb1 = input("Verb: ") ma...
[ "bobbyalestra135@gmail.com" ]
bobbyalestra135@gmail.com
3c8645c3411393c138841475bea142c913036dc5
b0f3be5814eeb3341c6a2c256dea5acdc5749502
/tests/find_nuclid_ob.py
0174a6b6a168e9cef91ea895084b46a70299f0e6
[]
no_license
igor-976/Test_Programs
95105731af3192760d45e8028af753f29422b894
ae9c90f38066016b146696d433b806bf9badf883
refs/heads/master
2023-08-24T21:56:02.599959
2021-10-10T14:43:20
2021-10-10T14:43:20
256,280,723
0
0
null
null
null
null
UTF-8
Python
false
false
73
py
import find_func as s s.find_nuc("reaclib", "reaction", 10, 40, 25105)
[ "noreply@github.com" ]
noreply@github.com