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
a87547d63b4adbc33bfb07abc7b24c84b7af332a
a330851a2b5036ed83e3bdc49041d117af184d50
/pca/dataanalyzer.py
dcb165e1c51382f320eb84c43eb7277d950f54c6
[ "MIT" ]
permissive
Wangwuhen/classification-of-encrypted-traffic
9e28e62956d440fb7ebac334cdc32a7e7dbdf725
3c86e098aab58941f9339bb64945c1112ab556ef
refs/heads/master
2020-04-15T04:10:29.786935
2018-06-23T18:20:08
2018-06-23T18:20:08
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,858
py
import utils import glob import os import pandas as pd import numpy as np import math import pca as p def getbytes(dataframe, payload_length=810): values = dataframe['bytes'].values bytes = np.zeros((values.shape[0], payload_length)) for i, v in enumerate(values): payload = np.zeros(payload_length...
[ "saliklp@gmail.com" ]
saliklp@gmail.com
f44e8b9cc9f7f71f30989d3fa17f44eab4a692c2
40a87b8129861aae1a325e1e486d20ad1dd2d944
/mime/envs/dog_navigation.py
14d26163da993a543690f57ae71f87e2ba0d444d
[ "MIT" ]
permissive
mazpie/mime
e75cf7bcd62ea3fc20b19ab8deeee670cb7492a7
b3e5a8a9e1815120eebc7ec4a5b70a8701f74317
refs/heads/master
2022-12-11T06:07:14.515893
2020-09-03T15:12:24
2020-09-03T15:12:24
292,435,985
0
1
null
null
null
null
UTF-8
Python
false
false
4,406
py
import gym import numpy as np import matplotlib.pyplot as plt import matplotlib.image as mpimg from gym import spaces from gym.utils import seeding class DogNavigation2D(gym.Env): """2D navigation problems, as described in [1]. The code is adapted from https://github.com/cbfinn/maml_rl/blob/9c8e2ebd741cb0c7b...
[ "pietromazzaglia@gmail.com" ]
pietromazzaglia@gmail.com
616ea5ba74efee01d8be2e72d9173f4321fde216
6c46dac1b14a6614fe2f28830cdf3e34a314b370
/src/RouteWatch/ais_cleaning_script.py
291e697fbc4ca8d17cfbf80421cdc34f10c483b2
[]
no_license
christensenmichael0/christensenmichael0.github.io
92d455d2fd4d84aad449244fc24bb319216f9137
899763a69a2ca9fbc5ed6e748f95e73a995f0b30
refs/heads/master
2020-12-24T10:59:01.765103
2017-04-02T16:15:03
2017-04-02T16:15:03
73,206,176
0
0
null
null
null
null
UTF-8
Python
false
false
5,023
py
# -*- coding: utf-8 -*- """ Created on Wed Sep 28 10:32:29 2016 @author: Mike """ import os import datetime #Load the data parent_dir='C:\Users\Mike\Documents\Python Scripts\AIS\HMI_AIS\Single_Day_Gulf' in_file_name='AIS_data.csv' full_file_path_in=os.path.join(parent_dir,in_file_name) out_file_name='AIS_data_clean...
[ "christensenmichael0@gmail.com" ]
christensenmichael0@gmail.com
376c6cddc23a1d5dd07040e9421a45a40c23da74
64080a6f2d2504b5506f0be31e8ca4be04d00666
/prek_score.py
239aef69c33880112e1d1fb4c138eaa289e67a07
[ "MIT" ]
permissive
nordme/nordme_work_repo
77dcfb2a555e30417e896296b97067154d632a5e
d6bbb35a9fe15ccdfcf5774e4e5dd191db3c811c
refs/heads/master
2022-03-08T17:02:18.336169
2022-02-23T07:26:57
2022-02-23T07:26:57
154,579,374
0
0
MIT
2018-10-25T00:34:57
2018-10-24T22:54:01
Python
UTF-8
Python
false
false
5,045
py
#!/usr/bin/env python2 # -*- coding: utf-8 -*- import os.path as op import mne import numpy as np from mnefun._paths import (get_raw_fnames, get_event_fnames) import expyfun # words = 1 # faces = 2 # cars = 3 (channels 1 and 2) # alien = 4 def prek_score(p, subjects): for si, subject in enumerate(subjects): ...
[ "nordme@uw.edu" ]
nordme@uw.edu
b563da1a4aa94a36c4599e6482162f6ded7d93e9
5b2218208aef68cf06609bcc3bf42b499d99d5f6
/docs/source/conf.py
e94bc7c7e29be180973b828865b19e7712c33ad6
[ "MIT" ]
permissive
c137digital/unv_app_template
c36cacfff3e0be0b00ecad6365b20b434836ffe7
a1d1f2463334afc668cbf4e8acbf1dcaacc93e80
refs/heads/master
2020-05-25T19:24:17.098451
2020-04-24T19:33:08
2020-04-24T19:33:08
187,950,678
0
0
null
null
null
null
UTF-8
Python
false
false
5,816
py
# -*- coding: utf-8 -*- # # Configuration file for the Sphinx documentation builder. # # This file does only contain a selection of the most common options. For a # full list see the documentation: # http://www.sphinx-doc.org/en/master/config # -- Path setup ------------------------------------------------------------...
[ "morty.space@gmail.com" ]
morty.space@gmail.com
9a3f3542a14276c1794492528c5d906908c7f791
6b9084d234c87d7597f97ec95808e13f599bf9a1
/evaluation/logger/pytracking.py
6e17451f77982c297479789660635ffca35a1ee4
[]
no_license
LitingLin/ubiquitous-happiness
4b46234ce0cb29c4d27b00ec5a60d3eeb52c26fc
aae2d764e136ca4a36c054212b361dd7e8b22cba
refs/heads/main
2023-07-13T19:51:32.227633
2021-08-03T16:02:03
2021-08-03T16:02:03
316,664,903
1
0
null
null
null
null
UTF-8
Python
false
false
606
py
import numpy as np import os class PyTrackingLogger: def __init__(self, output_path=None): self.output_path = output_path def log_sequence_result(self, name: str, predicted_bboxes: np.ndarray, **kwargs): print(f'Sequence: {name}') print(f'FPS: {kwargs["fps"]}') predicted_bboxe...
[ "linliting06@live.com" ]
linliting06@live.com
ef04eda75ce46249309cb75b6cbb7b0c9858fbe3
9f3991f4e7b405c04f2ef03ac7747b5a69d26b4b
/openpyxl/csv_to_excel.py
8efbab73e40cd93a497cd0cec0ccd755b3044f64
[]
no_license
zcxyun/pythonDemo
f66eb5e6e4274db2137480786eae4d6ca7e73163
adf18cf6b58282a7f2f9203aa09d5cb60ced2e35
refs/heads/master
2021-07-29T19:06:52.481792
2021-07-27T16:10:38
2021-07-27T16:10:38
101,542,803
0
0
null
null
null
null
UTF-8
Python
false
false
3,467
py
#!/usr/bin/env # -*- coding: utf-8 -*- import csv import re import openpyxl import itertools from datetime import datetime # from openpyxl.utils import get_column_letter, column_index_from_string money = [] payee = [] payeeNumber = [] firstPayDate = [] #with open('resource/example.csv', encoding='utf-8') as originFi...
[ "zcxyun@126.com" ]
zcxyun@126.com
853d732eaf48491fce608ac8d9a44c9258a5567e
3dca607dcc753d4ffc06b8c4e559becb02174e51
/Querymaker/__init__.py
2236651f7ff0edaf5f00f8f2c18dfc7591575090
[]
no_license
michelsn1/query
e1b51c9f2107a9ec57fd7b010e823b2e2ad3549f
04f5e8bec6c5deb6487c25c94fba040082dde08e
refs/heads/master
2020-04-25T17:58:02.450538
2019-02-27T18:30:26
2019-02-27T18:30:26
172,967,676
0
0
null
null
null
null
UTF-8
Python
false
false
45
py
from Querymaker.Querymaker import Querymaker
[ "noreply@github.com" ]
michelsn1.noreply@github.com
71bfd188e3307f50316b5807460e05e6b0dab81e
0be27c0a583d3a8edd5d136c091e74a3df51b526
/int_long.py
09d9178607925a32fd93bcf2ea90ca80acb00f96
[]
no_license
ssangitha/guvicode
3d38942f5d5e27a7978e070e14be07a5269b01fe
ea960fb056cfe577eec81e83841929e41a31f72e
refs/heads/master
2020-04-15T05:01:00.226391
2019-09-06T10:08:23
2019-09-06T10:08:23
164,405,935
0
2
null
null
null
null
UTF-8
Python
false
false
172
py
n=int(input()) if(n>=-2**15+1 and n<=2**15+1): print ("INT") elif n>=-2**31+1 and n<=2**31+1: print("LONG") else: print ("LONG LONG") #..int,long...longlong
[ "noreply@github.com" ]
ssangitha.noreply@github.com
6822bcb3b1c87fd53497fffdb8c8b67432f9ece8
06f6f206858f6d20128aa58871a6b77b63296921
/EXERCÍCIOS DE CLASS, POO, TKINTER, PYMYSQL/Exercicios de POO.CARROS.py
d396f628be5e7e5fc018017a51ba8d30f806373a
[ "MIT" ]
permissive
candido00/Python
cd9512c53e342dcd40154690bb21a02fd1a27256
4b6721d55828191ca2ede0c5a0c36f6f5afdad55
refs/heads/master
2020-08-13T02:06:35.639144
2019-10-13T20:18:38
2019-10-13T20:18:38
214,887,363
0
0
null
null
null
null
UTF-8
Python
false
false
1,850
py
import tkinter janela = tkinter.Tk() janela.geometry("400x500") titulo= tkinter.Label(janela, text= "calculadora do prejuizo") titulo.pack() frameinserir= tkinter.Frame(janela) frameinserir.pack() taxaLabel= tkinter.Label(frameinserir,text=" Taxa de Juros:") taxaLabel.pack(side="left") InserirEntry1= tkinter.En...
[ "cleydson21_123_@hotmail.com" ]
cleydson21_123_@hotmail.com
51f09285da26065b74eaa493d4e20fead4fce30d
0c7fa3405c5f85352737b97c6751cbf14de0be8c
/accounts/migrations/0001_initial.py
42d6feef416669fcaffa2f85504db59fb08ded11
[]
no_license
bhutton/TDD-with-Python
307e77bc97e0c24e51fc5bc4d3e9cf640304226e
b7971fa8fad76808b49b2100afcc00c12985bf61
refs/heads/master
2021-01-12T15:01:58.491777
2017-01-21T01:23:36
2017-01-21T01:23:36
69,787,674
0
0
null
null
null
null
UTF-8
Python
false
false
402
py
# -*- coding: utf-8 -*- from __future__ import unicode_literals from django.db import models, migrations class Migration(migrations.Migration): dependencies = [ ] operations = [ migrations.CreateModel( name='User', fields=[ ('email', models.EmailField(max...
[ "ben@benhutton.com.au" ]
ben@benhutton.com.au
4c1e7c5233cb21118ed12162d9ba099c0665a80a
e0980f704a573894350e285f66f4cf390837238e
/.history/flex/models_20201029143145.py
b68119b214fd032d442ee5cf1b7492154ab67eb2
[]
no_license
rucpata/WagtailWebsite
28008474ec779d12ef43bceb61827168274a8b61
5aa44f51592f49c9a708fc5515ad877c6a29dfd9
refs/heads/main
2023-02-09T15:30:02.133415
2021-01-05T14:55:45
2021-01-05T14:55:45
303,961,094
0
0
null
null
null
null
UTF-8
Python
false
false
1,048
py
from django.db import models from wagtail.core.models import Page from wagtail.core.fields import StreamField from wagtail.admin.edit_handlers import StreamFieldPanel from wagtail.snippets.blocks import SnippetChooserBlock from wagtail.core import blocks as wagtail_ from streams import blocks from home.models import n...
[ "rucinska.patrycja@gmail.com" ]
rucinska.patrycja@gmail.com
bcbef73a96b7eff72d57d60eafee985375118ffe
c3a1f5a4680ea73c1b25a93efe21b6194374969f
/acronymb.py
f6b0a01485bb9053a5a832b3c37dee4f0e6aec83
[]
no_license
tennyson-mccalla/PPaItCS
753cf6071c617a6daccaf1a04d9a774559fe1454
39bf1a586cfd366ce1b6e86539bc1b40019a9b51
refs/heads/master
2021-09-03T23:40:46.474671
2018-01-12T22:50:14
2018-01-12T22:50:14
84,278,584
0
0
null
null
null
null
UTF-8
Python
false
false
649
py
def main(): print("This program creates a file of acronyms from a") print("file of phrases.") infilePhrase = input("What file are the phrases in?: ") outfilePhrase = input("What file do the acronyms go in?: ") infile = open(infilePhrase, "r") outfile = open(outfilePhrase, "w") for phrase...
[ "Tennyson@Tennysons-MacBook-Pro.local" ]
Tennyson@Tennysons-MacBook-Pro.local
6bf462112c68e100b92acc5b9b8ed814e8f09d27
ef4a1748a5bfb5d02f29390d6a66f4a01643401c
/algorithm/new_teacher_algorithm/AD/도약.py
5c781e9d4bc4c9a28efdc8ca127c58b5528ef92d
[]
no_license
websvey1/TIL
aa86c1b31d3efc177df45503d705b3e58b800f8e
189e797ba44e2fd22a033d1024633f9e0128d5cf
refs/heads/master
2023-01-12T10:23:45.677578
2019-12-09T07:26:59
2019-12-09T07:26:59
162,102,142
0
1
null
2022-12-11T16:31:08
2018-12-17T08:57:58
Python
UTF-8
Python
false
false
2,093
py
import sys sys.stdin = open("도약.txt") ########################################################### ########################## 두개 쓰기 ######################## ########################################################### # def lowerSearch(s,e,f): # # f 이상 중에서 가장 작은 값의 위치를 리턴 # sol = -1 # while s<=e: # m ...
[ "websvey1@gmail.com" ]
websvey1@gmail.com
882b159715ff76036db8533e308519b5fac19989
84bf5f6dcc31624624464a694626bff9a9985070
/app/web_config.py
a21a9f61f76341109c168aa82c1d4e4e6689f28c
[ "MIT" ]
permissive
TrixiS/web-bot
82346bab82dc1ed4b76f4e51d72d6b33aa68ad92
523d02deb30993eb8ab5071ad78111719becd7c7
refs/heads/master
2023-06-21T17:48:49.212662
2021-08-09T17:06:02
2021-08-09T17:06:02
392,773,538
0
0
null
null
null
null
UTF-8
Python
false
false
1,560
py
import json from pathlib import Path from typing import List import aiofiles from pydantic import BaseModel, Field config_path = Path(__file__).parent / "../config.json" class Config(BaseModel): bot_token: str = Field(None, title="Токен бота") command_prefixes: List[str] = Field(["!", "!!"], title="Префик...
[ "oficialmorozov@gmail.com" ]
oficialmorozov@gmail.com
c91598dd70f6a8c8881bedebf5012d8f0cec9568
43cd2ed4873b194bb8726536f109eb3ad6a23251
/server/hieratika/monitor.py
2ede936f044cea6a4a537f785f1b6675953a9904
[]
no_license
aneto0/hieratika
c08b23ee53fb50f28b58e1ca45efd741a34c78a6
6740a5a9b1f17eb8d0d4b75f31ac70a2d76bd061
refs/heads/master
2021-07-13T07:46:40.558337
2018-03-22T10:07:01
2018-03-22T10:07:01
101,903,167
1
3
null
2021-02-17T08:43:17
2017-08-30T16:16:11
Python
UTF-8
Python
false
false
3,225
py
#!/usr/bin/env python __copyright__ = """ Copyright 2017 F4E | European Joint Undertaking for ITER and the Development of Fusion Energy ('Fusion for Energy'). Licensed under the EUPL, Version 1.1 or - as soon they will be approved by the European Commission - subsequent versions of the EUPL (the "Licenc...
[ "Andre.Neto@f4e.europa.eu" ]
Andre.Neto@f4e.europa.eu
6bd108b17991c69a5e2e6b32d15557bac57258d4
767621262f1c758713cd77630e5f3c1ce1027737
/contrib/seeds/makeseeds.py
545592aa188f967497074688fb619016e0bc6b1b
[ "MIT" ]
permissive
ckxxz/abacoin
534b0ce7d6077df4c67ef113c8eccb05f649a8da
089b3b0594ced2fed1ae576060e411455277b903
refs/heads/master
2020-03-28T15:24:35.448647
2018-08-03T04:33:32
2018-08-03T04:33:32
null
0
0
null
null
null
null
UTF-8
Python
false
false
5,783
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 #...
[ "abaglobal@nate.com" ]
abaglobal@nate.com
f7110a137464572e9e7fbd78384c1320ae5d379b
a2438c4f8275daba0702e5c9618215cf867feb61
/text to pdf.py
d526f12978114ce1ce6e971f2eb5dcefabc85914
[]
no_license
ShivamSharmaDeveloper/Text-to-PDF-Convertor
e52e3b54d4f25748d9a73a914dc6baa1c52538bf
5fadea1040e0574e620c87289457ef402529a381
refs/heads/master
2022-12-29T10:20:49.248527
2020-10-15T05:25:46
2020-10-15T05:25:46
304,218,386
0
0
null
null
null
null
UTF-8
Python
false
false
280
py
from fpdf import FPDF pdf = FPDF() pdf.add_page() pdf.set_font("Arial", size=15) f = open("input.txt", "r") # change the input.pdf to your file name for x in f: pdf.cell(200, 10, txt=x, ln=1, align='C') pdf.output("input.pdf") # change the name that u want as output name
[ "shivsharma7821@gmail.com" ]
shivsharma7821@gmail.com
cc5a08297b64e06ec98a66b7b3640257b6c4b479
fd63b57b1aa6620e96d2803b27c0d626e086812e
/logic.py
4ef8d1907a78b1f20cf1f2d4df99dd3dbaec1a72
[]
no_license
amitkumarx86/scrap
d17e405b467c2ff671ea354fd2fce589ebdbb466
8c23b54223c1ae2e07eb17567fabda8a3a0ec5dc
refs/heads/master
2021-01-20T19:14:25.144989
2016-06-02T18:32:06
2016-06-02T18:32:06
60,284,231
0
0
null
null
null
null
UTF-8
Python
false
false
3,893
py
#who = sys.argv[1] #a=1 #b=2 #c=who #print a+":"+b+":"+who import requests import datetime import re import sys from bs4 import BeautifulSoup url = sys.argv[1] url = url + 'issues' #print url # url = ' ' + 'issues' # url = 'https://github.com/Shippable/cexec/' + 'issues' r = requests.get(url) soup = BeautifulSou...
[ "amitkumarx86@gmail.com" ]
amitkumarx86@gmail.com
f727576e82b9ff9f2f898058272f2325f2af2682
1d868fd27328f15f431fad1635824d0a12c35deb
/examples/examples/printf_options.py
33be875f65ca298add92cfe985d324994ddf9a6d
[]
no_license
jjdenis/Create_web_Compy
4568228c7b6dfe8212969f7801c1ae3c52dafb3f
b2a7b20513fe86eac59794dffa43b90e3f075d9d
refs/heads/master
2021-01-10T09:10:32.765890
2016-01-10T16:50:24
2016-01-10T16:50:24
49,278,502
0
0
null
null
null
null
UTF-8
Python
false
false
2,251
py
def my_program(): printf('Example of printf using a color number',color=17) printf('And now using a color name', color='light-yellow') printf() printf('To leave a blank line, do not include anything inside the parenthesis', color='light-green') printf() printf('If no color is specified, p...
[ "jjdenis@gmail.com" ]
jjdenis@gmail.com
2cc99d4c4c0a1b67ee46321cced5de73e72fae1a
9ec55734202ff6aa36cf8dae51ba27d3b8afa0ea
/scripts/arguments.py
5f3a9d82e9a3279e9428cab44ad7fd6b458cec5d
[ "MIT" ]
permissive
AymanMukh/superquadric_parsing
d46bd833b4ec286032121093e463374c81dfbc8a
40750abdbb2e01c1ed3708bbcb901daed5e29348
refs/heads/master
2020-07-03T22:14:32.251669
2019-08-09T11:05:11
2019-08-09T11:05:11
null
0
0
null
null
null
null
UTF-8
Python
false
false
11,314
py
def add_voxelizer_parameters(parser): parser.add_argument( "--voxelizer_factory", choices=[ "occupancy_grid", "tsdf_grid", "image" ], default="occupancy_grid", help="The voxelizer factory to be used (default=occupancy_grid)" ) par...
[ "paschalidoud@gmail.com" ]
paschalidoud@gmail.com
a6c62e3506967f5d10df06b53bdadb1dcb04ff74
540705d5879734cf5235b6fe892d6cb8f03a0a05
/day1/dna_counts.py
afff5b1c7d0ebf0f0d288bf90d3cbdd6ef7b2365
[]
no_license
ChenYongyan-uu/1
16e3f7e6944925f12494d0853fa73d0fc6cdb4d0
07c1b0ca5f04e6b84bf890400fc38e90a0acf0d3
refs/heads/master
2022-02-02T01:32:52.801289
2022-01-17T20:31:55
2022-01-17T20:31:55
226,325,578
0
0
null
null
null
null
UTF-8
Python
false
false
1,400
py
def dna_counts(the_file_name, your_name = "user"): dna_file = open(the_file_name,"r") dna_data = [] for line in dna_file: line = line.rstrip() dna_data += [line] dna_file.close() print("Hello " + your_name) no_of_sequences = len(dna_data) print...
[ "58593368+ChenYongyan-uu@users.noreply.github.com" ]
58593368+ChenYongyan-uu@users.noreply.github.com
9e9a568dc83798a490c202672916072d2a5ffc5f
858bb71172b2c68712f6b7646826352978b2c4aa
/logRegression.py
304b4eeca572347fd103939e1b77e4acaa69f346
[]
no_license
johnbridstrup/AndrewNgML_class
83c5c54a4d633b3579a1893e3792923dc3e9b08c
26dfa201e91bd8bd6076e03a96548c5742a54301
refs/heads/master
2023-02-20T23:53:40.208188
2021-01-22T01:03:17
2021-01-22T01:03:17
318,329,819
0
0
null
null
null
null
UTF-8
Python
false
false
2,033
py
import numpy as np import pandas as pd import matplotlib.pyplot as plt from sklearn.preprocessing import MinMaxScaler import scipy.optimize as opt def formatData(data): """Format data with boolean values for categorical data""" # Binary data first binData = data.replace({'M':1, 'B':0}) # Category data ...
[ "john.bridstrup@gmail.com" ]
john.bridstrup@gmail.com
4ea71449b91168caffa64305b8f650b70a3ac9ca
c4e23b28025e7bcf1689a55a204f396b171bee25
/nvdapi/wsgi.py
ba4a2dc35ecd9a67fe4650b90c5bd9d325f06c2c
[]
no_license
kieran-whittenburg/nvdapi
a0bfa2a35870bb93245df4550654a7768a09634e
ebf81ff0e6c5424dfb7a1656e596eda4605b1492
refs/heads/master
2021-08-31T08:10:12.932730
2017-12-20T18:35:06
2017-12-20T18:35:06
null
0
0
null
null
null
null
UTF-8
Python
false
false
419
py
""" WSGI config for cps 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.7/howto/deployment/wsgi/ """ import os os.environ.setdefault("DJANGO_SETTINGS_MODULE", "nvdapi.settings") from django.core.wsgi i...
[ "dvaca@hispasec.com" ]
dvaca@hispasec.com
5b8ac99e89351630dfc8090ec60540e6aca0a12d
427bc8a6d7769ea2da8f86a41e704b3d3831a93a
/main.py
83c95a472bcd0de905eb85e90d475788567bba5e
[ "Apache-2.0" ]
permissive
BoonWei/BPNN
9ca168e9d43e79a769973286d5eb66864931936a
c5964064910110b5737535ad6ea2a4f79aa46e9b
refs/heads/master
2023-08-24T05:26:50.363805
2021-09-17T04:03:54
2021-09-17T04:03:54
125,953,881
0
0
null
2021-07-25T08:17:30
2018-03-20T03:13:46
Python
UTF-8
Python
false
false
1,459
py
import pandas as pd import createdata import numpy as np import bp import random import matplotlib.pyplot as plt if __name__ == '__main__': path = 'D:\homework\picture\picall' createdata.createcsv(path) f = open('labels.txt', 'r') dataset = f.readlines() f.close() for i in range(...
[ "noreply@github.com" ]
BoonWei.noreply@github.com
2dd695de592207a29117c4190a29f7a409cce12d
3fc887bb0758437ec38d1bf91a5744b7dd869f80
/migrations/versions/5a5d28dae37f_.py
81e48e94f8fc201b949b2dd63c6eb0e655126ada
[]
no_license
row-yanbing/Job-back-end
9ec3814fb90afbe1816615603c9101f1356c8dbb
1df34a65758072d28d147b246acb82633faf9e53
refs/heads/master
2023-08-14T17:07:21.576143
2021-10-06T14:20:06
2021-10-06T14:20:06
338,720,165
0
0
null
2021-02-14T03:19:40
2021-02-14T03:19:39
null
UTF-8
Python
false
false
860
py
"""empty message Revision ID: 5a5d28dae37f Revises: 00fd219bf242 Create Date: 2020-04-23 13:05:31.421385 """ from alembic import op import sqlalchemy as sa # revision identifiers, used by Alembic. revision = '5a5d28dae37f' down_revision = '00fd219bf242' branch_labels = None depends_on = None def upgrade(): # ...
[ "gang_bb@163.com" ]
gang_bb@163.com
a5beb263c9fa0069b8b9ef256681716929079437
5ee8a69917ad64c2dd09b7840b7a8d03d92fd884
/posts/views.py
06e5beaecdefbea7305e8a43000876adbc5b9e27
[]
no_license
ylavinia/SimpleSocialForum
655d76599f31930813647e8e25e8a10d41e05595
97f905745277e345d1feb88899dec754769c230e
refs/heads/master
2021-01-21T22:02:01.067175
2017-06-22T21:20:57
2017-06-22T21:20:57
95,152,805
0
1
null
null
null
null
UTF-8
Python
false
false
2,172
py
from django.shortcuts import render from django.contrib import messages # Create your views here. from django.contrib.auth.mixins import LoginRequiredMixin from django.core.urlresolvers import reverse_lazy from django.http import Http404 from django.views import generic from braces.views import SelectRelatedMixin f...
[ "bluishgrayfin@gmail.com" ]
bluishgrayfin@gmail.com
f6721ea11faae85216d3a60224be9c9ec0207242
3fc4bca70bb817d8c14c2e6eaf29cda765e8cf19
/venv/bin/pip3.6
548512482798bf15606d78d042dcc9e3e66cd6e0
[]
no_license
OseiasBeu/ExemploDjango
4841412dca9e15613671951cdcb18ea8d18ff68a
31e4dfb12b84d217ff989bd7fc0fa5636312b8c4
refs/heads/master
2020-03-28T16:05:10.873540
2018-09-13T15:22:59
2018-09-13T15:22:59
null
0
0
null
null
null
null
UTF-8
Python
false
false
261
6
#!/home/OseiasBeu/Documents/LPs/django/projeto/venv/bin/python3 # -*- coding: utf-8 -*- import re import sys from pip._internal import main if __name__ == '__main__': sys.argv[0] = re.sub(r'(-script\.pyw?|\.exe)?$', '', sys.argv[0]) sys.exit(main())
[ "oseiasbeu@outlook.com" ]
oseiasbeu@outlook.com
e32bd0130a28604d940e0a1e7d79496057d8a0cb
66a9c25cf0c53e2c3029b423018b856103d709d4
/tests/live_test.py
b71930af68b02cc6137cb3b01a6f80f39c0ef9f3
[ "MIT", "BSD-3-Clause", "BSD-2-Clause" ]
permissive
fritzy/SleekXMPP
1b02d3e2b22efeb6bf3f8f487e6c0343b9b85baf
cc1d470397de768ffcc41d2ed5ac3118d19f09f5
refs/heads/develop
2020-05-22T04:14:58.568822
2020-02-18T22:54:57
2020-02-18T22:54:57
463,405
658
254
NOASSERTION
2023-06-27T20:05:54
2010-01-08T05:54:45
Python
UTF-8
Python
false
false
3,422
py
import logging from sleekxmpp.test import * class TestLiveStream(SleekTest): """ Test that we can test a live stanza stream. """ def tearDown(self): self.stream_close() def testClientConnection(self): """Test that we can interact with a live ClientXMPP instance.""" self....
[ "lancestout@gmail.com" ]
lancestout@gmail.com
89189e31f7eff193f8991a28da369417a28ae86d
68cd659b44f57adf266dd37789bd1da31f61670d
/D2/D2_20190715파리퇴치.py
37273d877cfb93458b8b8fdef4531e610039777c
[]
no_license
01090841589/solved_problem
c0c6f5a46e4d48860dccb3b0288aa5b56868fbca
bbea2f31e5fe36cad100bc514eacd83545fb25b1
refs/heads/master
2023-07-02T23:55:51.631478
2021-08-04T13:57:00
2021-08-04T13:57:00
197,157,830
2
0
null
null
null
null
UTF-8
Python
false
false
657
py
def arrr(N) : for i in range(N) : inp = input().split(' ') inp = [int(j) for j in inp] fly.append(inp) return fly def max_cal(fly,N,M): sum_num = 0 max_num = 0 for i in range(N-M+1) : for j in range(N-M+1) : for l in range(M) : for m in ra...
[ "chanchanhwan@naver.com" ]
chanchanhwan@naver.com
f5058ccbcc8449198222100dc98b9d6777472a89
2f6d017dedc68588b2615d65c1e8ca8bcdd90446
/api/deploy/write_json.py
01f5c1cf3ca63b0de2e90ca19f9b694b331c12f5
[]
no_license
hysunflower/benchmark
70fc952a4eb1545208543627539d72e991cef78a
c14f99c15b4be9e11f56ea378ca15d9c3da23bab
refs/heads/master
2022-06-30T07:04:14.986050
2022-06-15T02:43:04
2022-06-15T02:43:04
224,449,279
1
0
null
2019-11-27T14:29:29
2019-11-27T14:29:29
null
UTF-8
Python
false
false
3,347
py
#!/bin/python # -*- coding: UTF-8 -*- # Copyright (c) 2020 PaddlePaddle 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/...
[ "noreply@github.com" ]
hysunflower.noreply@github.com
1e3cd8346e9e5a4f5e2ac20f8de1707a62a60c29
34f91a492e1102d396f607e435586b2e610bf6cb
/tui_helper.py
754f90dfe549e744e429b106fc3c3edd2add2490
[]
no_license
billykong/python_cmd_timekeeper
2986da76d8c772b0e700ae024ff5adf53de53a54
5139282092fda36d794df800829aa2d7651a9014
refs/heads/master
2021-01-20T07:43:12.436038
2017-05-02T13:24:40
2017-05-02T13:24:40
90,036,354
0
0
null
null
null
null
UTF-8
Python
false
false
1,832
py
import controller from tabulate import tabulate import lang def display_menu(): menu = """ Please choose one of the followings: 1. Show all unended task 2. Show today's task 3. Start a task 4. End a task """ print(menu) def get_menu_input(): try: return int(input("Enter one ...
[ "billyklh@gmail.com" ]
billyklh@gmail.com
430ada24ba2979d1dc90a260c575a23f647ee5a8
33d2f4a8ffa7df6cb3be2bd278b5b49b6cc258ac
/try-except.py
2757c38554819c3a4a199777ca9cac9556a032d7
[]
no_license
cjwo0817/0928
1580ef1e51f9bc3d86b7eb97ad9ad38a975756d4
afefa56ee88096094b13aaed726cb326536126b7
refs/heads/master
2020-08-02T16:47:44.491202
2019-09-28T07:08:41
2019-09-28T07:08:41
211,434,579
0
0
null
null
null
null
UTF-8
Python
false
false
397
py
def getMean(numericValue): return sum (numericValue)/len(numericValue) my_list2 = [1, 2, 3] try: result = getMean(my_list2) except ZeroDivisionError as detail: print("(Error): {}".format(float('nan'))) print("(Error): {}".format(detail)) else: print("(The mean is): {}".format(result)) ...
[ "noreply@github.com" ]
cjwo0817.noreply@github.com
1340d0d10842a305d175f3f789088bd4f7e18bf1
193a87875097e10bc518581a63ecaacb1f4bd131
/Aula4 - Vetores e estrutura de repetição/usuarioSenha.py
ba39f74d45823f41cbf1b74808ac8446213da690
[]
no_license
jaugustomachado/Curso-Next-Python
f9be5fabf445cc79bb252b811be237fb4d706548
2d50785b78781fb166b61dc586d6e60bf9504788
refs/heads/main
2023-08-13T13:47:15.171016
2021-10-01T21:09:09
2021-10-01T21:09:09
404,890,156
0
0
null
null
null
null
UTF-8
Python
false
false
498
py
#Faça um programa que leia um nome de usuário e a sua senha e não aceite #a senha igual ao nome do usuário, mostrando uma mensagem de erro #e voltando a pedir as informações. usuario=input('informe o usuário: ') senha= input('informe a senha: ') while usuario == senha: print('usuário e senha não podem ser iguais,...
[ "jose.augusto.machado@hotmail.com" ]
jose.augusto.machado@hotmail.com
3b08e36e7f7169fea024e8286e004bf9c1c41426
7e97df668fdf4cf94c45a37a74523d431e54768f
/Code/researchproject/venv/bin/margins
4e111af1e89758c5e0d004fc2d2a8ffbe5b75fcb
[]
no_license
liyi19950329/Research-Project
cb44079e99031ee9a4b71500b47c0439384d93bb
9f98984042704bf6d5c80578a4121da43ca98df7
refs/heads/master
2021-02-14T21:51:50.343567
2020-09-09T22:20:24
2020-09-09T22:20:24
244,837,568
0
0
null
null
null
null
UTF-8
Python
false
false
260
#!/Users/liyi/PycharmProjects/researchproject/venv/bin/python # -*- coding: utf-8 -*- import re import sys from xlutils.margins import main if __name__ == '__main__': sys.argv[0] = re.sub(r'(-script\.pyw?|\.exe)?$', '', sys.argv[0]) sys.exit(main())
[ "2996460970@qq.com" ]
2996460970@qq.com
e569a90ff03f03092a46f2d626a94563286cbb95
4e33b745cbc5f93d0ea2aa6f5215dbf6f50ce060
/split_file.py
11b1306f734faad4780a500faf898a12bef67cd4
[]
no_license
milizza90/yt_scarp
0fad4a41d6e9a1236e9ac2a6966e4c3c7f5f0938
e8717d50c29d7102c31fb3edda81a369d98a5293
refs/heads/master
2020-12-23T16:23:37.790144
2020-01-30T12:02:01
2020-01-30T12:02:01
237,202,888
0
0
null
null
null
null
UTF-8
Python
false
false
2,003
py
import os import re import wget import numpy as np from pytube import YouTube from pydub import AudioSegment dir_path = os.listdir(r'D:\wav') os.chdir(r'D:\wav') #dir_path = os.listdir(r'D:\Pycharmprojects\PycharmProjects\youtube_scarping\youtube_audios\audio\wav') #os.chdir(r'D:\Pycharmprojects\PycharmProjects\youtub...
[ "milizza90@hootmail.com" ]
milizza90@hootmail.com
f21360c68557a49b1b4e4413627b85cd6737f75c
73c9211d5627594e0191510f0b4d70a907f5c4c5
/nn/keras_dataguru/lesson2/work2.py
4dcacb8f30dd2feaffbd330256b8915e94435bcf
[]
no_license
tigerxjtu/py3
35378f270363532fb30962da8674dbcee99eb5ff
5d24cd074f51bd0f17f6cc4f5f1a6e7cf0d48779
refs/heads/master
2021-07-13T05:34:15.080119
2020-06-24T09:36:33
2020-06-24T09:36:33
159,121,100
2
0
null
null
null
null
UTF-8
Python
false
false
1,149
py
#!/usr/bin/env python # coding: utf-8 # In[1]: import keras import numpy as np from keras.datasets import mnist from keras.utils import np_utils from keras.models import Sequential from keras.layers import Dense from keras.optimizers import SGD # In[2]: (x_train,y_train),(x_test,y_test)=mnist.load_data() print('...
[ "liyin@16010.net" ]
liyin@16010.net
fc6f533ffd3393babd0b23dfc5f218fbc7ec2c1d
073ef7f965c7a559977aa43ff30e2c25a4988917
/LearnNumpy.py
76f9bc47569f9672c59659e41e99ec2ef420dba0
[ "MIT" ]
permissive
HMurkute/PythonNumpy
d07aa463d126aaafcf37a5a5895f55d928aac17c
48fe3d8215c488deae9a9ce570ab8dd9888b220d
refs/heads/master
2020-03-09T07:55:30.079873
2018-04-08T20:00:59
2018-04-08T20:00:59
128,676,291
0
0
null
null
null
null
UTF-8
Python
false
false
71
py
import numpy as np a = np.array([(1, 2, 3),(4, 5, 6)]) print(a)
[ "noreply@github.com" ]
HMurkute.noreply@github.com
9f719d70ff61b820cde1a602f393ba9c91b6514b
d83f50302702d6bf46c266b8117514c6d2e5d863
/number-of-boomerangs.py
7add2f05767711dbf020f6215cc8f92ec9b5a59c
[]
no_license
sfdye/leetcode
19764a6bdb82de114a2c82986864b1b2210c6d90
afc686acdda4168f4384e13fb730e17f4bdcd553
refs/heads/master
2020-03-20T07:58:52.128062
2019-05-05T08:10:41
2019-05-05T08:10:41
137,295,892
3
0
null
null
null
null
UTF-8
Python
false
false
415
py
class Solution(object): def numberOfBoomerangs(self, points): """ :type points: List[List[int]] :rtype: int """ ans = 0 for p in points: d = collections.defaultdict(int) for q in points: d[(p[0] - q[0]) ** 2 + (p[1] - q[1]) ** ...
[ "tsfdye@gmail.com" ]
tsfdye@gmail.com
294b4e24dbc704233648dbe74cabe2a45921a0c7
2c377e5b4f2e67cd02c24c253a038cf4bcf546e6
/navbuilder/tests/test_admin.py
724cdb0862fd25c9b2edbe01e160204d78113ea5
[]
permissive
praekelt/django-navbuilder
9694d3c3c65b0b7c2633e15712302b5f9cf1e47f
0524aca22f2a8be2b1f55770cdc1b6c5dee9916d
refs/heads/develop
2021-06-23T11:16:11.992949
2018-05-10T12:55:38
2018-05-10T12:55:38
65,980,831
0
0
BSD-3-Clause
2021-06-10T20:16:28
2016-08-18T08:45:28
Python
UTF-8
Python
false
false
1,470
py
from django.contrib.auth import get_user_model from django.test import TestCase from django.test.client import Client from navbuilder.tests.test_base import load_fixtures class AdminTestCase(TestCase): def setUp(self): load_fixtures(self) self.client = Client() self.editor = get_user_mode...
[ "jpbydendyk@gmail.com" ]
jpbydendyk@gmail.com
273d052181259e811b893a7ea4d7ed8bdfabe902
b9a86a79cd0e3fc7a287529f26755a6be4481dff
/tests/conftest.py
e2bb472b3746bf0d712f4b913c075acdd7d41290
[]
no_license
crossanpdx/python-automation-example
4de0b40103565f1a9aec5baeb44f942f07f0798b
cb8407d95b9f416753693636a988f66cb79a73b1
refs/heads/main
2023-08-01T00:21:32.046270
2021-09-21T15:11:11
2021-09-21T15:11:11
400,588,612
0
0
null
null
null
null
UTF-8
Python
false
false
1,532
py
import json import allure import pytest from allure_commons.types import AttachmentType from utils.driver_factory import DriverFactory CONFIG_PATH = "../config.json" DEFAULT_WAIT_TIME = 10 SUPPORTED_BROWSERS = ["chrome", "firefox", "edge"] DEFAULT_WEBSITE = "http://www.google.com/" @pytest.fixture(scope='session') d...
[ "ryan.crossan@LT-40290.local" ]
ryan.crossan@LT-40290.local
2e47d06edd2437531dd3a914f78047817501ac02
643f3af7cbc39b663e2d74b8c9d4c8920569e7cf
/postgres/app/languages.py
11a73c510e42368272b2dd8a684d83cd4c278aea
[ "MIT" ]
permissive
r2k0/py-apps
a4df131ad7a96b87a4cbca2e4dd55a336c6bfa93
0df12629dd689b5d3e7f987ce35ee37a78f4a924
refs/heads/master
2020-03-28T18:49:38.605365
2014-10-22T05:38:19
2014-10-22T05:38:19
null
0
0
null
null
null
null
UTF-8
Python
false
false
944
py
import psycopg2 import sys import psycopg2.extras langs = ( (1,'Javascript',294832), (2,'Java',176000), (3,'CSS',151000), (4,'Python',142272), (5,'Ruby',132397) ) con = None try: con = psycopg2.connect("dbname='testdb' user='vagrant'") cur = con.cursor() cur.execute("DROP TABLE IF EXISTS Languages") cur...
[ "r2k0@outlook.com" ]
r2k0@outlook.com
b9d4afd84040448b1f03dc8701452126429a079b
2ba3d16bf0aab3cb9478ba145749575724373d66
/testingAndReadingSensors/ecReader.py
7f4439edcb470a26fe298c6e7f559a5f7482bfce
[]
no_license
phadjian/hydroponics
0316be4e094007dacb07d71f4f2ee373e101f874
41f2e9e9de91ef73a9159d6ec139fb755582dccf
refs/heads/master
2021-02-16T17:49:15.426964
2020-05-04T19:20:26
2020-05-04T19:20:26
245,031,128
1
0
null
null
null
null
UTF-8
Python
false
false
203
py
# ecReader.py # Gia Trinh # ecSim.py # Gia Trinh # Input: probe --> float # Output: I2C --> float # Input & output range: 0.07 - 500000 μS/cm # Returns a value in μS/cm def ec(value): return value
[ "noreply@github.com" ]
phadjian.noreply@github.com
9049ee8a1909d30cd4468fc0ead2005d2df02c36
df708c2eda9539f6f066fb6f448417ab9a392cb5
/LinearRegression/Scikit_Linear_Validation.py
f658e3321035c632d1011faee637e861675e8514
[]
no_license
TechMaster/LearnAI
bfc8c63e49ba0d70147cd0ff4be41b661e8f1cd0
490990a4647bef8f2b24a39b68a870c63c8e9a68
refs/heads/master
2020-07-05T20:13:45.973070
2019-09-18T14:28:49
2019-09-18T14:28:49
202,760,795
1
0
null
null
null
null
UTF-8
Python
false
false
495
py
import pandas as pd from sklearn.model_selection import train_test_split from sklearn.linear_model import LinearRegression data = pd.read_csv('data_linear.csv').values X = data[:, 0].reshape(-1, 1) Y = data[:, 1].reshape(-1, 1) test_size = 0.33 seed = 7 X_train, X_test, Y_train, Y_test = train_test_split(X, Y, test...
[ "cuong@techmaster.vn" ]
cuong@techmaster.vn
a5ef54a9d6efffe51eb5934fc96e5ffe768014aa
4f91c481cc946c2c45c5984322a00a5da9b22720
/server/tests/test_login.py
527905624197dc6fdb79459d845722d5eee76625
[ "MIT" ]
permissive
JoeEmp/pi_web_file_system
2d07ff95664ebfa154162c20df91d6713ae12800
e252660c7b8f2d26853a43860da0a7fdd062e505
refs/heads/main
2023-05-30T15:41:25.913197
2021-06-13T15:26:01
2021-06-13T15:26:01
366,447,549
0
0
null
null
null
null
UTF-8
Python
false
false
751
py
import unittest import requests class login_case(unittest.TestCase): def test_error_username(self): username = '1' data = {"username": username, 'password': 'raspberry'} r = requests.post('http://127.0.0.1/login', data=data) self.assertEqual(r.json()['msg'], '不存在该用户') def test...
[ "hemingjie" ]
hemingjie
1ad539f604598332216df124c4c50ab4ace3ad3d
ab83597bd6ccbb3276f9f42b8057961133dd5e73
/sensors/sensor1.py
bbfe222631fff790d111df410803150a83c1b5ed
[]
no_license
jhilmiljain/trial
ba3053ad0c8f911fe4bc5137aa471063b1cbbaaf
af727f4495b394089949551a23b005143f3caf29
refs/heads/master
2020-07-14T12:23:00.584325
2019-09-03T10:36:36
2019-09-03T10:36:36
205,317,490
0
0
null
null
null
null
UTF-8
Python
false
false
1,100
py
import eventlet from st2reactor.sensor.base import Sensor class HelloSensor(Sensor): def __init__(self, sensor_service, config): super(HelloSensor, self).__init__(sensor_service=sensor_service, config=config) self._logger = self.sensor_service.get_logger(name=self.__class__.__name__) sel...
[ "noreply@github.com" ]
jhilmiljain.noreply@github.com
3b425803ed4b6c2b1925c1f13d5ef31cf452bcc1
1998571941ae4c0d228abc8fae56f6aa449740f2
/INFOQ2/Projet final/intersection.py
bd569ab429ad45f4d355753d7f44c32c58cbd57e
[]
no_license
AndruOn/UCL-BAC1
4ca148c2154bb948eb0753391afe2581d7df2873
d15f75d1c85d823814e4f5e47c0c671c83e15a1f
refs/heads/master
2020-05-17T03:17:16.207133
2019-12-22T13:12:02
2019-12-22T13:12:02
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,914
py
def intersection(list): def distance(v): d=int((5000-v)**(1/2)) #une estimation de la distance (unités ??) du stylo à la bobine en fonction de la valeur renvoyée par l'arduino (entre 0 et 1024). On doit améliorer cette approximation ! return d v1,v2,v3=0 #les valeurs renvoyés par l'ardui...
[ "noreply@github.com" ]
AndruOn.noreply@github.com
014e8f1ddcd99487d99ffa878a6e6cfa7d50ed6c
d55bda4c4ba4e09951ffae40584f2187da3c6f67
/h/admin/views/groups.py
0caffe6dcf887350fc17bfffc50c9f1ecc8b64bc
[ "BSD-3-Clause", "BSD-2-Clause-Views", "BSD-2-Clause", "MIT" ]
permissive
ficolo/h
3d12f78fe95843b2a8f4fc37231363aa7c2868d9
31ac733d37e77c190f359c7ef5d59ebc9992e531
refs/heads/master
2021-01-15T21:08:17.554764
2016-06-09T15:42:01
2016-06-09T15:42:01
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,234
py
# -*- coding: utf-8 -*- from pyramid.view import view_config from h import models from h import paginator @view_config(route_name='admin_groups', request_method='GET', renderer='h:templates/admin/groups.html.jinja2', permission='admin_groups') @paginator.paginate def groups_in...
[ "nick@whiteink.com" ]
nick@whiteink.com
0a5675da25a028a42fa188f880eddf903e3b9acb
b4751705fa779ee908d80389a1ab3c6220d451cb
/lab/migrations/0005_auto_20190107_1459.py
aca97e5e3b6d9fce8efe2c196a3815e65bb22d49
[]
no_license
bikashsaud/Paperless-Hospital-System
266d280648f5ad408e5afdeba10f60ff62756e20
69a4b62398c08ed4c0fa67539b1f14983c8717ab
refs/heads/master
2021-10-15T19:47:28.759514
2019-02-06T00:23:54
2019-02-06T00:23:54
null
0
0
null
null
null
null
UTF-8
Python
false
false
901
py
# -*- coding: utf-8 -*- # Generated by Django 1.10 on 2019-01-07 09:14 from __future__ import unicode_literals import datetime from django.db import migrations, models from django.utils.timezone import utc class Migration(migrations.Migration): dependencies = [ ('lab', '0004_auto_20190107_1421'), ] ...
[ "saudbikash514@gmail.com" ]
saudbikash514@gmail.com
18b07d81056da8370a9d8501f88b08674c67ba74
ac28fd7497b2ce1fdd95441aa54706baf8a2123c
/GoogleAppEngine/ascii_chan/main.py
5e619775f9776d39ae4b5c1f44a4dd9c015445ef
[]
no_license
rollersitch/All_my_code
6b6defbb5620372f6fdefc094acd8d73ff2a9def
964ba36b10d6b5b79b57e42a335643347b229106
refs/heads/master
2021-04-28T23:17:52.550381
2017-09-13T15:30:30
2017-09-13T15:30:30
77,738,799
0
0
null
null
null
null
UTF-8
Python
false
false
3,222
py
import webapp2 import jinja2 import os import urllib2 import sys import logging from google.appengine.ext import db from google.appengine.api import memcache from xml.dom import minidom template_dir = os.path.join(os.path.dirname(__file__), 'templates') jinja_env = jinja2.Environment(loader=jinja2.FileSystemLoader(te...
[ "dany88vai@gmail.com" ]
dany88vai@gmail.com
0b08075f38eedd6834e8eb3bf7563882dbd171af
558af6d8842d3f8c5292346d76c01ed6ac246789
/project1/wiki/encyclopedia/views.py
ae9d74cea1d834e4c144477e72f63f6d66da3c92
[]
no_license
anhsirk0/CS50web-2020
81497bc0d594ae80f2a261ec06fc2be2f2f191d8
eee1239bda5d9edc566460bd874fa65ea7ae67cb
refs/heads/master
2023-04-12T02:18:06.763262
2021-05-20T05:45:01
2021-05-20T05:45:01
360,774,319
0
1
null
null
null
null
UTF-8
Python
false
false
2,626
py
import glob, random import markdown2 from django.shortcuts import render, redirect from django.http import HttpResponse from . import util def index(request): return render(request, "encyclopedia/index.html", { "entries": util.list_entries() }) def entry(request, name): ls = glob.glob("entries/...
[ "krishna404@yandex.com" ]
krishna404@yandex.com
6eaca6a201451c63a49e92fe9a8c3d1051b56082
9727810fb355e3d047bc02f006248eee45be5ebe
/experiments/test2.py
74929f8bf2704e253433658905cc5a4e70211128
[]
no_license
scipioni/cherry
e00d4433fdf173ed6259d9e141050b0c7f2132d3
14432503533723626a79063b5663b48b1b5a4ae5
refs/heads/master
2021-12-02T15:30:09.424412
2017-06-29T13:03:34
2017-06-29T13:03:34
90,058,052
0
0
null
null
null
null
UTF-8
Python
false
false
8,237
py
""" white balance: 2500 (no auto) """ import numpy as np import cv2 import time from picamera.array import PiRGBArray from picamera import PiCamera import argparse import collections def draw_text(img, text, y=75, x=10, color=(255,255,0)): cv2.putText(img, str(text), (x, y), cv2.FONT_HERSHEY_SIMPLEX, 0.8, c...
[ "scipio.it@gmail.com" ]
scipio.it@gmail.com
4ac8a081e46391eeea55282689febe7c06212c68
5d9dedd551118449844767da7aa6493dd5efe542
/selenium_trio/extras/javascript/js_scripts.py
204825912f77ff029dd97e3791430d64f5e0968b
[ "MIT" ]
permissive
birkin/selenium-trio
9e3c542ed4fd72c0804841ed9cc40ca2232f7e5b
3295ba313837d7b1993acf042bad1c7cadb1bfdf
refs/heads/main
2023-03-23T05:24:06.021387
2021-01-25T22:57:46
2021-01-25T22:57:46
null
0
0
null
null
null
null
UTF-8
Python
false
false
15,723
py
PAGE_HEIGHT_JS = """ var body = document.body; var html = document.documentElement; var height = Math.max(body.scrollHeight, body.offsetHeight, html.clientHeight, html.scrollHeight, html.offsetHeight); return height; """ CLEAR_CANVAS_JS = """ var canvas = document.getElementById("myCanvas"); ...
[ "digiology@gmail.com" ]
digiology@gmail.com
92e85c7b6e66817ecaf916d920cc1d86019397c2
fe9573bad2f6452ad3e2e64539361b8bc92c1030
/scapy_code/sniif_packet.py
97cbf240c0083c9937735a47714341cd1d7da111
[]
no_license
OceanicSix/Python_program
e74c593e2e360ae22a52371af6514fcad0e8f41f
2716646ce02db00306b475bad97105b260b6cd75
refs/heads/master
2022-01-25T16:59:31.212507
2022-01-09T02:01:58
2022-01-09T02:01:58
149,686,276
1
2
null
null
null
null
UTF-8
Python
false
false
224
py
from scapy.all import * def print_pkt(pkt): print("---------------this is a new packet----------------------") new_pkt = pkt[IP] if new_pkt[ICMP]: new_pkt.show() sniff(filter= "icmp" , prn=print_pkt)
[ "byan0007@student.monash.edu" ]
byan0007@student.monash.edu
840b8e213aaeafea3b9c2b03e58bd84996694d5a
bafcde124dd3af37ef14e322e0e76e82d8684469
/restapi/services/models/PasswordResetModel.py
47e24ce9d570005a767967ad9265625a49a108e4
[]
no_license
mentimun-mentah/balihot-property-backend
1c7ac91c04f791ca55f5f97e872034fbc30a8d32
b715cc3988ca70d16dbe2e89839653af310fa091
refs/heads/master
2022-12-27T15:01:23.196310
2020-09-06T17:00:53
2020-09-06T17:00:53
268,197,437
1
0
null
2020-10-20T16:55:31
2020-05-31T02:46:41
Python
UTF-8
Python
false
false
1,310
py
import uuid, os from services.serve import db from time import time from flask import url_for from sqlalchemy import func from services.libs.MailSmtp import MailSmtp class PasswordReset(db.Model): __tablename__ = 'password_resets' id = db.Column(db.String(100),primary_key=True) email = db.Column(db.String...
[ "nyomanpradipta120@gmail.com" ]
nyomanpradipta120@gmail.com
7d219625a694286ce91c08cd9564ac96df7a33a7
551b2a5bb3a926524e1a0c2366cbb0ebd54a33e7
/core/src/test/python/compare_model_test.py
ffeb2caec8f5d8d7a024d56f51603a3c7cc7f5d0
[ "Apache-2.0", "LicenseRef-scancode-warranty-disclaimer", "MIT", "BSD-3-Clause", "UPL-1.0", "BSD-2-Clause" ]
permissive
sercam/weblogic-deploy-tooling
1b12b00b04e66c432b05dc23841f1b1bb319284f
a35756229f00995a2ad42c957fcee21928179f6e
refs/heads/master
2022-07-09T05:17:24.156680
2020-05-08T00:24:41
2020-05-08T00:24:41
263,242,404
1
0
NOASSERTION
2020-05-12T05:34:17
2020-05-12T05:34:16
null
UTF-8
Python
false
false
8,623
py
""" Copyright (c) 2020, Oracle Corporation and/or its affiliates. Licensed under the Universal Permissive License v 1.0 as shown at https://oss.oracle.com/licenses/upl. """ import unittest import os import shutil import tempfile from java.util.logging import Level from oracle.weblogic.deploy.compare import CompareExce...
[ "noreply@github.com" ]
sercam.noreply@github.com
dab8ad37b3bcdea97ab8b66a925762df6eeb449e
b221feae2480d28cef546e48e3fe808b23784b46
/Group10/untitled3.py
e87d5f0401c2102657be2b9039ecc97f209b8853
[]
no_license
sumitkumar261/CS308_Project
ff5ead6380fa6f38273c3aa4330fedc148d130e8
24fca8af894ee08a3ef9ee483d207d8d330701ce
refs/heads/main
2023-08-28T08:46:07.332030
2021-11-14T14:32:37
2021-11-14T14:32:37
427,312,164
0
0
null
2021-11-12T10:06:15
2021-11-12T10:06:14
null
UTF-8
Python
false
false
2,915
py
import numpy as np import matplotlib.pyplot as plt def plot(fosEmsRate, defEmsRate): iniFossil = 6.88 iniDef = 1.3 goalConc = 938 upperConc = 953 lowerConc = 923 iniFromFossil = 5.9168 iniToFossil = 8.3936 iniFromDefor = 0.637 iniToDef = 2.015 iniConc = 769 ...
[ "b19065@students.iitmandi.ac.in" ]
b19065@students.iitmandi.ac.in
2b7c70536116dcb39ab4b0364a36a7e6a1988010
1f5fd7307fc1147540d2eabcc0991fc20b2bbd65
/Web/first/Django/project_test/project_test/urls.py
6051d309b2f037122442fe299c9f8f373b694fe0
[]
no_license
ShemyakinAV/3mpp1901_ShemyakinAV
88848b80589767f04988ba26f65d9d4645a4c386
9b6431747d179df272563335f7a34875b4aac6ee
refs/heads/master
2021-07-18T07:11:35.651756
2021-01-05T15:54:52
2021-01-05T15:54:52
229,125,470
0
0
null
null
null
null
UTF-8
Python
false
false
754
py
"""project_test URL Configuration The `urlpatterns` list routes URLs to views. For more information please see: https://docs.djangoproject.com/en/2.1/topics/http/urls/ Examples: Function views 1. Add an import: from my_app import views 2. Add a URL to urlpatterns: path('', views.home, name='home') Class-...
[ "antonshemyakin97@gmail.com" ]
antonshemyakin97@gmail.com
c23fda02795ce8062a1ea9feb8f8170ac4d0bc95
31dff1fae6d31d84a442c8af5dc75fa7f98d3570
/main.py
1d4ed854e5cb6b7f060fca5b4785c734180ab50a
[]
no_license
jblakeh1/circuit-playground-lamp
e1e7fdd7227d18d44d273cc93c7d0ed93b1435a5
71949de0f7569596b4c11ec69e8ba74a1388bc4d
refs/heads/master
2020-06-22T06:14:33.443595
2019-07-18T20:50:30
2019-07-18T20:50:30
197,654,856
0
0
null
null
null
null
UTF-8
Python
false
false
4,282
py
# digital rothko # January 15, 2019 # J. Blake Harris # Display two colors on a string of neopixels based # on sound and light sensors # on the Adafruit Playground Express from simpleio import map_range from analogio import AnalogIn from digitalio import DigitalInOut, Direction, Pull import array import au...
[ "noreply@github.com" ]
jblakeh1.noreply@github.com
c8551e2daf0a9f2f18a67975e6278b4397c7c41d
ef6629579799f113825076462a833d58044696f2
/log.py
e70068ec45088aaa12d0270443bda684cf10815a
[]
no_license
shivamgupta97/ML-ALGO-
b1eb886ba6bf8b64b70626e83828cf46cfeeada9
2ce806fbdae2b55b6d0e0fa91b68ff29061a74b7
refs/heads/master
2020-03-22T22:14:05.005517
2018-07-12T16:55:55
2018-07-12T16:55:55
140,741,200
0
0
null
null
null
null
UTF-8
Python
false
false
1,528
py
import numpy as np #import panda as pd from sklearn import datasets class log: def __init__(self, lr=0.01 ,it=10000,fit_int=True, verbose=False): self.lr=lr self.it=it self.fit_int=fit_int def add_int(self,d): x=np.asarray(d) inter=np.ones((x.shape[0],1)) print(np.concatenate((inter, x), ...
[ "noreply@github.com" ]
shivamgupta97.noreply@github.com
446d33ef9eb76038d095c98939f9b31af266e4c5
26d76543052c86359ab25e78eac9ddd950220670
/session1/addition.py
204b1cf7d21576dede795f4fc2790afab276f192
[]
no_license
HarshMaurya-coder/pythonbasics
ee67d1c2c61c01f188bba2a25d052385deb142a6
916af7678b9068ec1d641b9b3bd1bcd1e89c9611
refs/heads/main
2023-02-19T17:16:46.109718
2021-01-12T16:04:04
2021-01-12T16:04:04
328,421,112
1
0
null
null
null
null
UTF-8
Python
false
false
195
py
num1 = int(input("Enter first number: ")) num2 = int(input("Enter second number: ")) print("press 1 for addition") operator = input() if operator == "1": print(num1 + num2)
[ "ramkumarpagal1@gmail.com" ]
ramkumarpagal1@gmail.com
f5a2ef71015d9c0200dc92159cec1251c7167ddd
b611b928dc02348a83fadb70d363d273cfb1f36a
/latent_bot/latent_dec.py
d4e83341dcc8d7f60caf49c6a1f9cf3141ebf403
[]
no_license
m0n0ph1/malware_analysis
5e1d8e6ae88a92c0806305ccfcebf3fc753e3240
817d2f6e8575f3308326062fa3af28c4b06c77bd
refs/heads/master
2021-01-04T11:37:54.525465
2019-07-23T18:02:00
2019-07-23T18:02:00
240,529,928
2
0
null
2020-02-14T14:44:53
2020-02-14T14:44:53
null
UTF-8
Python
false
false
3,178
py
"""latent_dec.py: Script for IDA Pro decoding Latent Bot's strings""" __author__ = "hasherezade" import idautils lookup_table = "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x3E\x00\x00\x00\...
[ "hasherezade@op.pl" ]
hasherezade@op.pl
2befd970c82eb7cf641e06eec46ab2d024091f8e
7b0ea72a8863585546d72c5f5d80297a9035f1d2
/tests/workflows/eos/test_workchain_eos.py
639cf918b5898537a3e5075de7cc89b2f8c5a37a
[]
no_license
sponce24/aiida-common-workflows
6b1951e9bff98ad84d78698398d5a55b4abd70b6
f2af0ae6e8c3182ce2cbbd181540bf0b87178281
refs/heads/master
2023-02-02T13:46:07.987014
2020-12-21T16:16:14
2020-12-21T16:16:14
305,392,084
0
1
null
2020-11-03T16:22:28
2020-10-19T13:24:40
Python
UTF-8
Python
false
false
4,286
py
# -*- coding: utf-8 -*- # pylint: disable=redefined-outer-name """Tests for the :mod:`aiida_common_workflows.workflows.eos` module.""" import pytest from aiida import orm from aiida.engine import WorkChain from aiida.plugins import WorkflowFactory from aiida_common_workflows.plugins import get_workflow_entry_point_na...
[ "noreply@github.com" ]
sponce24.noreply@github.com
9e22f5283f06022fe6da4ddeb1f1e16516a673c8
de6bc17d71706ff030926c273f7f3435082ede9b
/tutorial/snippets/models.py
114d28c48670ff91859764281348acf974bd6ffa
[ "MIT" ]
permissive
PabloSuarez/API_django
c1054a4103b6a0bc460bb92a484db3d2bf5f9bcb
522cc5b052c13c38fc7ef95353b8e3640126feaa
refs/heads/master
2021-01-15T14:43:09.911839
2015-09-23T21:17:59
2015-09-23T21:17:59
42,883,864
0
0
null
null
null
null
UTF-8
Python
false
false
1,601
py
from django.db import models from pygments.lexers import get_all_lexers from pygments.styles import get_all_styles #add to save method from pygments.lexers import get_lexer_by_name from pygments.formatters.html import HtmlFormatter from pygments import highlight LEXERS = [item for item in get_all_lexers() if item[1]] ...
[ "hostsuarezpablo@gmail.com" ]
hostsuarezpablo@gmail.com
6cc4871ad6e651a61dd04d85f3d5d5955a4afad2
95793265e9ff20bff2082271dbeef946b4acf301
/shapes/square.py
54cc886c6e20bb2aae771918c0e923d36a666e1f
[]
no_license
dmpawlowski/Quiz
4e6d7b9b38d9deeadcfd54dff6bbb85418eb9cdc
8ee8c2762d12e12c74933eff7fd241f587e0027d
refs/heads/master
2016-08-05T08:44:27.991457
2013-01-22T23:57:10
2013-01-22T23:57:10
null
0
0
null
null
null
null
UTF-8
Python
false
false
166
py
class Square(object): def __init__(self, side): self.side = side def area(self): return self.side ** 2 def perimeter(self): return self.side * 4
[ "donny44131@yahoo.com" ]
donny44131@yahoo.com
b9aeff68654c2ed50000a30879c2e21c640d81e5
0206ac23a29673ee52c367b103dfe59e7733cdc1
/src/nemo/compare_2nemo_simulations.py
041bbfd0229b247c34b4796abf04bc639b9483ae
[]
no_license
guziy/RPN
2304a93f9ced626ae5fc8abfcc079e33159ae56a
71b94f4c73d4100345d29a6fbfa9fa108d8027b5
refs/heads/master
2021-11-27T07:18:22.705921
2021-11-27T00:54:03
2021-11-27T00:54:03
2,078,454
4
3
null
null
null
null
UTF-8
Python
false
false
3,484
py
from collections import namedtuple from pathlib import Path from matplotlib import cm from matplotlib.gridspec import GridSpec from nemo.nemo_yearly_files_manager import NemoYearlyFilesManager __author__ = 'huziy' # Compare 2 Nemo outputs import matplotlib.pyplot as plt import numpy as np def main_compare_max_year...
[ "guziy.sasha@gmail.com" ]
guziy.sasha@gmail.com
bae78268a22dd8097a25f839b0a4b162beeae02c
4d332c45578246847ef2cdcdeb827ca29ab06090
/modules/Bio/Graphics/GenomeDiagram/_GraphSet.py
0a2ed5a0bc20757fad28322a3c8d7e8873e6337e
[ "MIT" ]
permissive
prateekgupta3991/justforlearn
616cc297a2a6119fa959b9337a5e91c77a11ebf7
3984c64063b356cf89003e17a914272983b6cf48
refs/heads/master
2021-03-12T22:09:12.184638
2014-01-28T10:37:07
2014-01-28T10:37:07
null
0
0
null
null
null
null
UTF-8
Python
false
false
59
py
/usr/share/pyshared/Bio/Graphics/GenomeDiagram/_GraphSet.py
[ "prateekgupta.3991@gmail.com" ]
prateekgupta.3991@gmail.com
0693ea164d0f55d55cd10b0b62feb9852c3317d9
548fe32bf338f9ef270add39cd849f31c26de107
/2016/day1.py
77c9fdefaf54184e7139ac7debc1d9e91a523b4a
[]
no_license
JamesWalter/AdventOfCode
764799fe1cb3c6657945140c597d3b01247a91d3
3e203d9c95721b93c5e2308c9c1703c9743cf110
refs/heads/master
2021-09-03T17:15:55.765822
2018-01-10T17:06:26
2018-01-10T17:06:26
112,657,280
0
0
null
null
null
null
UTF-8
Python
false
false
5,108
py
"""Advent of Code 2016 Day 1 No Time for a Taxicab""" # Santa's sleigh uses a very high-precision clock to guide its movements, # and the clock's oscillator is regulated by stars. Unfortunately, the stars # have been stolen... by the Easter Bunny. To save Christmas, Santa needs # you to retrieve all fifty stars by Dece...
[ "james.walter@grainger.com" ]
james.walter@grainger.com
c693954cad97f78d72668a79087d4930ccea1091
a8b37bd399dd0bad27d3abd386ace85a6b70ef28
/airbyte-integrations/connectors/source-opsgenie/source_opsgenie/source.py
743694d15b54b6ca441b6e91b3a528af43f6b85c
[ "MIT", "LicenseRef-scancode-free-unknown", "Elastic-2.0" ]
permissive
thomas-vl/airbyte
5da2ba9d189ba0b202feb952cadfb550c5050871
258a8eb683634a9f9b7821c9a92d1b70c5389a10
refs/heads/master
2023-09-01T17:49:23.761569
2023-08-25T13:13:11
2023-08-25T13:13:11
327,604,451
1
0
MIT
2021-01-07T12:24:20
2021-01-07T12:24:19
null
UTF-8
Python
false
false
1,870
py
# # Copyright (c) 2023 Airbyte, Inc., all rights reserved. # from typing import Any, List, Mapping, Tuple import requests from airbyte_cdk.sources import AbstractSource from airbyte_cdk.sources.streams import Stream from airbyte_cdk.sources.streams.http.requests_native_auth import TokenAuthenticator from .streams i...
[ "noreply@github.com" ]
thomas-vl.noreply@github.com
a0b0afefa29d9867d2ca4e7ea95add21f514f525
f576f0ea3725d54bd2551883901b25b863fe6688
/sdk/cognitiveservices/azure-mgmt-cognitiveservices/tests/disable_test_cli_mgmt_cognitiveservices.py
36137183535e3c620a46e8cea7f926e0adadefd9
[ "LicenseRef-scancode-generic-cla", "MIT", "LGPL-2.1-or-later" ]
permissive
Azure/azure-sdk-for-python
02e3838e53a33d8ba27e9bcc22bd84e790e4ca7c
c2ca191e736bb06bfbbbc9493e8325763ba990bb
refs/heads/main
2023-09-06T09:30:13.135012
2023-09-06T01:08:06
2023-09-06T01:08:06
4,127,088
4,046
2,755
MIT
2023-09-14T21:48:49
2012-04-24T16:46:12
Python
UTF-8
Python
false
false
4,767
py
# coding: utf-8 #------------------------------------------------------------------------- # Copyright (c) Microsoft Corporation. All rights reserved. # Licensed under the MIT License. See License.txt in the project root for # license information. #----------------------------------------------------------------------...
[ "noreply@github.com" ]
Azure.noreply@github.com
cb5806652dd6da026afc979dedd514931ea72e0d
4dda601cb02b404bc0ae25f984825641ddb135fe
/scuole/campuses/migrations/0018_auto_20230324_1538.py
dfd660bed1b58acca9e972a52309b108928de740
[ "MIT" ]
permissive
texastribune/scuole
d89e49d6bf42d6476a8b2e5a4ebe6380c28e9f60
155444e313313ba484d98d73d94d34e9b8f57fbe
refs/heads/master
2023-06-28T02:52:40.037200
2023-05-22T21:51:15
2023-05-22T21:51:15
35,112,798
1
0
MIT
2023-06-12T20:04:49
2015-05-05T17:03:23
Python
UTF-8
Python
false
false
6,271
py
# Generated by Django 3.1.12 on 2023-03-24 15:38 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('campuses', '0017_auto_20230324_1520'), ] operations = [ migrations.AlterField( model_name='campusstats', name='acco...
[ "carla.a.astudillo@gmail.com" ]
carla.a.astudillo@gmail.com
83a912f2fd9bb92402ffe65df2ebaf7a667edd7e
e590449a05b20712d777fc5f0fa52097678c089b
/python-client/test/test_stash_appscode_com_v1alpha1_api.py
58eaf340d2c3e2c403e782c27e9854d90c2f4271
[ "Apache-2.0" ]
permissive
Hardeep18/kube-openapi-generator
2563d72d9f95196f8ef795896c08e8e21cd1a08e
6607d1e208965e3a09a0ee6d1f2de7e462939150
refs/heads/master
2020-04-11T03:30:18.786896
2018-05-05T20:57:51
2018-05-05T20:57:51
null
0
0
null
null
null
null
UTF-8
Python
false
false
7,173
py
# coding: utf-8 """ stash-server No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 OpenAPI spec version: v0 Generated by: https://github.com/swagger-api/swagger-codegen.git """ from __future__ import absolute_import import unit...
[ "tamal@appscode.com" ]
tamal@appscode.com
b0df4eace34d430063c111b44bb84d0c2cacf364
e6ee1044aff06f5f1826543a03da811bb007c1d1
/qa/rpc-tests/test_framework/util.py
6bb66b61fe0a6eb693c78caa35f89c2b761eddca
[ "MIT" ]
permissive
ssghost/litecoinz
b7ca54aba47bb1f6f6980ab3f831c97b19aca3b6
eef13e8349dc83528dda4a00d0013e240a1f53db
refs/heads/master
2020-05-25T02:15:51.902536
2019-04-13T14:09:23
2019-04-13T14:09:23
187,572,391
1
0
null
2019-05-20T05:20:16
2019-05-20T05:20:16
null
UTF-8
Python
false
false
15,931
py
# Copyright (c) 2014 The Bitcoin Core developers # Copyright (c) 2017-2018 The LitecoinZ developers # Distributed under the MIT software license, see the accompanying # file COPYING or http://www.opensource.org/licenses/mit-license.php. # # Helpful routines for regression testing # # Add python-bitcoinrpc to module ...
[ "team@litecoinz.info" ]
team@litecoinz.info
7b0ff48f0a0173f17521f7f8579ec29be80ff5ba
2e92e5e73422c381cde2926f77cc2ce73e2edffa
/s3_file_check.py
ddd0b8e7f7ca0d01365488356535f0e59ddcecce
[]
no_license
teng1/python-s3-check
4492b9e9e7298c635831423e778012729c7a66aa
c6b297986274df29eb4e7e5af5360e4acb7b6576
refs/heads/master
2020-05-30T17:56:13.686560
2019-06-02T19:28:04
2019-06-02T19:28:04
189,886,354
0
0
null
null
null
null
UTF-8
Python
false
false
1,624
py
import boto3 import re import datetime from operator import itemgetter s3 = boto3.client('s3') client = boto3.client('s3') s3_bucket = 'mybucket' s3_prefix = 'myprefix' def s3_list_objects(bucket, prefix): """Gets a python list of dictionaries of all S3 object properties matching the bucket and prefix.""" pa...
[ "noreply@github.com" ]
teng1.noreply@github.com
ac829ac73598a0d0da9c3829ae92352cec0d73c6
1fbf278cca477451d6b3bae4ecba31b018ced42e
/tlssecondopinion/wsgi.py
d580ee045afb8b460834bd4044b5cc19e4dfa13f
[ "BSD-3-Clause", "BSD-2-Clause" ]
permissive
MiWCryptAnalytics/tlssecondopinion
2451049a3c553aa1fa4ff5ef6357cdcb9f3a8259
f1eebf753cc898ba546bf1371f3ce1ea848d17d6
refs/heads/master
2016-09-06T07:39:45.921966
2015-08-31T14:23:39
2015-08-31T14:23:39
41,423,468
0
0
null
null
null
null
UTF-8
Python
false
false
409
py
""" WSGI config for tlssecondopinion project. It exposes the WSGI callable as a module-level variable named ``application``. For more information on this file, see https://docs.djangoproject.com/en/1.8/howto/deployment/wsgi/ """ import os from django.core.wsgi import get_wsgi_application os.environ.setdefault("DJA...
[ "MiWCryptAnalytics@gmail.com" ]
MiWCryptAnalytics@gmail.com
87db78fc9bb040bc77eeeb14ffba6ee78b8c43fa
42394bd8cd674dcd0822ae288ddb4f4e749a6ed6
/fluent_blogs/sitemaps.py
97da332b7a014536107d1f7fe042d295b321ac83
[ "Apache-2.0" ]
permissive
mmggbj/django-fluent-blogs
4bca6e7effeca8b4cee3fdf4f8bb4eb4d192dfbe
7fc3220d6609fe0615ad6ab44044c671d17d06a3
refs/heads/master
2021-05-08T13:02:51.896360
2018-01-31T21:54:27
2018-01-31T21:54:27
null
0
0
null
null
null
null
UTF-8
Python
false
false
3,647
py
from django.conf import settings from django.contrib.auth import get_user_model from django.contrib.contenttypes.models import ContentType from django.contrib.sitemaps import Sitemap from fluent_blogs.models import get_entry_model, get_category_model from fluent_blogs.urlresolvers import blog_reverse from parler.models...
[ "vdboor@edoburu.nl" ]
vdboor@edoburu.nl
38f5936465861ffb9a9e1b63f3e2f4926c1f27f6
89fd384acfd1b90d398fb41a1c515b42b5a43ccf
/snakes/Caliban.py
a0d456cb092d3de5370a02055ca74a8c135c7198
[]
no_license
slippedandmissed/CodeSnake
2fb4cbe091e20af9184db1ea41329db7e8c0ba84
b771aa8bd240b4d1c9cefaf85acb738ac95f97c5
refs/heads/master
2022-03-21T05:38:52.710428
2019-09-10T18:05:30
2019-09-10T18:05:30
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,642
py
from operator import add import random name = "Caliban" myHistory = [] myLength = 1 oldPelletPos = [-1, -1] def getDist(arg0, arg1): vector = [arg1[i]-arg0[i] for i in range(len(arg0))] distance = sum([abs(i) for i in vector]) return [vector, distance] def isTurningBack(myPos, direction): global myL...
[ "noreply@github.com" ]
slippedandmissed.noreply@github.com
a5707c468740a579a9638411ffac86c44071b646
11239bdf1a43abc674981a2e290f867d521555fe
/accounts/front_views/front_confirmation_registration.py
90f59f5fda71c3ee0168657c3caafba457c6cee6
[]
no_license
gergerov/front-django-account
c4441800aeee69832eadee8d417cf823a0babc67
7cc78117bd0669f7bbfc4c57766fd111df65e727
refs/heads/main
2023-05-05T15:10:00.732374
2021-05-24T19:26:17
2021-05-24T19:26:17
366,051,095
0
0
null
null
null
null
UTF-8
Python
false
false
2,029
py
from django.shortcuts import render, redirect from django.views import View from accounts.forms.confirmation_form import ConfirmationRegistrationForm from accounts.validators.base import * from accounts.validators.confirmations_validators import * from accounts.services.confirmation import accept_confirmation from a...
[ "gergerov94@gmail.com" ]
gergerov94@gmail.com
a5328528846152c1bd69b79fa4f5920c31fd2652
3bcad3ca2f3f3b3a93041a844cdfc60598181c91
/Part3/utilities/losses.py
4166bc7f5e40e20543145d00cefa1ba13fc20ed1
[]
no_license
DMarshallDeveloper/Machine-Learning
474e6337afde2a27bcf88142685c5597351474a8
6ded473d7f391f5098d2d3ea75be58b74b617663
refs/heads/main
2023-04-30T18:20:11.397336
2021-05-23T08:59:47
2021-05-23T08:59:47
370,002,650
0
0
null
null
null
null
UTF-8
Python
false
false
858
py
# -*- coding: utf-8 -*- """ A function used to compute for the loss """ import numpy as np def compute_loss(y, x, theta, metric_type): """ Compute the loss of given data with respect to the ground truth y ground truth x input data (feature matrix) theta mode...
[ "53842370+DMarshallDeveloper@users.noreply.github.com" ]
53842370+DMarshallDeveloper@users.noreply.github.com
906e3e03a8bec34146c12f47b27c47b30a868b4b
91a5afd451c999092838d6cf8c3b8478783750ad
/ch03_Neural_Network/ex03_MNIST_example_and_batch.py
846049a0c6c2018337daf51e7c1e3345b7ef4610
[]
no_license
DeokO/Deeplearning-from-scratch
eda7c66b53cdcaf43368bd26753bd5463f0c1e08
a1c902871d243f6c510231d09e9c65decb75361d
refs/heads/master
2021-06-24T14:58:08.168127
2017-09-13T06:03:24
2017-09-13T06:03:24
103,262,108
1
0
null
null
null
null
UTF-8
Python
false
false
3,545
py
# coding: utf-8 #MNIST : 28*28의 회색조 이미지이며, 각 픽셀은 0부터 255의 값을 가짐. 숫자 label이 붙어있음. 학습데이터 60,000장, 시험 데이터 10,000장 import sys, os sys.path.append(os.pardir) #부모 디렉터리의 파일을 가져오기 위해 path를 지정해둔다. from dataset.mnist import load_mnist #처음 한번은 몇 분 정도 걸림 (x_train, t_train), (x_test, t_test) = load_mnist(flatten=True, nor...
[ "noreply@github.com" ]
DeokO.noreply@github.com
6042ebe496e64d755d312557f38f2f61d3e98e80
18e687608ff326fae4d1e1604cf452f086f99559
/classroom/admin.py
7da03566a6f4b009b1d4c24281b22e580476a82c
[ "Apache-2.0" ]
permissive
nu11byt3s/lms-ml
955bad451ddcb78e464227294496ee0a92be08c0
c0ea63f09d4125b0ae9033fd8b0a4aab2604bb42
refs/heads/main
2023-08-13T08:09:53.097312
2021-10-12T09:51:31
2021-10-12T09:51:31
null
0
0
null
null
null
null
UTF-8
Python
false
false
265
py
from django.contrib import admin from .models import ClassFiles, ClassRoom, MemberShip, RoomStream, Comment admin.site.register(ClassRoom) admin.site.register(ClassFiles) admin.site.register(MemberShip) admin.site.register(RoomStream) admin.site.register(Comment)
[ "farsin310yeariha9701@gmail.com" ]
farsin310yeariha9701@gmail.com
6c439ccf2c737008aee11eb88610dc3214c2fc42
826d6d3a2f691046bc65d25d00a23d1b4444c4d5
/tecpython/lib/python3.7/enum.py
eeed73f8c031d41138a8e1aac3504d374c9afa4e
[]
no_license
oscargarciahernandez/QuesiQuieroOquesiTeqno
e3391d56329d84d52ad4a61270dab8bef34db15c
2f7024f08a6de6a84d0fb5f40832df70aee48c6f
refs/heads/master
2023-01-19T22:43:44.789533
2020-11-23T13:07:20
2020-11-23T13:07:20
285,193,506
0
0
null
null
null
null
UTF-8
Python
false
false
41
py
/home/ai5/anaconda3/lib/python3.7/enum.py
[ "proyectoroseo@gmail.com" ]
proyectoroseo@gmail.com
edc5c3eb6a2016b78d59f991f388998fe03d5bae
8b3f06622b801801db3587e74e2c8ccf7227c25b
/models.py
96a74f922609920396615303689b8aeb73f207b8
[]
no_license
mayuri-shah/warbler
2197b491f6f40f02e75471b5b7bed6dc75bef7e0
3ab262a86609e56efafbb1d2486fa8afcf20bb52
refs/heads/main
2023-04-28T19:37:39.626844
2021-05-26T14:28:48
2021-05-26T14:28:48
371,063,688
0
0
null
null
null
null
UTF-8
Python
false
false
4,578
py
"""SQLAlchemy models for Warbler.""" from datetime import datetime from flask_bcrypt import Bcrypt from flask_sqlalchemy import SQLAlchemy bcrypt = Bcrypt() db = SQLAlchemy() class Follows(db.Model): """Connection of a follower <-> followed_user.""" __tablename__ = 'follows' user_being_followed_id = ...
[ "mayurishah0408@gmail.com" ]
mayurishah0408@gmail.com
b149655165dbfc3253e689f968488cd68f3e18c6
3e660e22783e62f19e9b41d28e843158df5bd6ef
/script.me.syncsmashingfromgithub/smashingfavourites/scripts/oldscripts/smashingtvextended.py
23aa7191d67b111064220b6ce41ecbc4caa91859
[]
no_license
monthou66/repository.smashingfavourites
a9603906236000d2424d2283b50130c7a6103966
f712e2e4715a286ff6bff304ca30bf3ddfaa112f
refs/heads/master
2020-04-09T12:14:34.470077
2018-12-04T10:56:45
2018-12-04T10:56:45
160,341,386
0
0
null
null
null
null
UTF-8
Python
false
false
5,059
py
# -*- coding: utf-8 -*- # opens tv channel or guide groups via smashingfavourites and / or keymap. import os import os.path import xbmc import sys # make sure dvbviewer is running - enable and wait if necessary def enable(): if not xbmc.getCondVisibility('System.HasAddon(pvr.dvbviewer)'): xbmc.executeJSON...
[ "davemullane@gmail.com" ]
davemullane@gmail.com
c16ff949874ec6e391680cf0a2e5becac995f1e8
ef853c148a2bfc0def7587f316da1f84d93b1785
/myproject/app/models.py
db390fa5e856bcaa841960fa403fd35fd65b365f
[]
no_license
gitget2322/goal_web
fd7391621d689e83075b55d715e8923b636d1f8d
0544c9c6da29da387f92195b183c87456303a171
refs/heads/master
2021-01-20T07:28:05.059072
2017-08-27T15:37:26
2017-08-27T15:37:26
101,540,619
0
0
null
null
null
null
UTF-8
Python
false
false
6,527
py
#coding=utf-8 from werkzeug.security import generate_password_hash,check_password_hash from __init__ import db from itsdangerous import TimedJSONWebSignatureSerializer as Serializer from flask import current_app from flask_login import UserMixin,AnonymousUserMixin import hashlib from flask import request #权限常量 class P...
[ "hcc96@outlook.com" ]
hcc96@outlook.com
83f1f904fbc11dea0d949ea539259c4155273c82
364e2632a334241c034448ee0a7242818b49cdf7
/bigmler/tests/test_02_batch_predictions.py
f37bd5abba68ee95bee0e21639252ce78ebf007f
[ "Apache-2.0" ]
permissive
cybernetics/bigmler
46f6bf508b9ac6c6000c3859b5ed32a7619a3dad
c1c91548169e6f6053aef1b09085fa1fb7a43e43
refs/heads/master
2021-01-18T01:07:10.519630
2015-06-12T23:56:28
2015-06-12T23:56:28
null
0
0
null
null
null
null
UTF-8
Python
false
false
13,126
py
# -*- coding: utf-8 -*- # # Copyright 2014-2015 BigML # # 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 ...
[ "merce@bigml.com" ]
merce@bigml.com
019224f7f5c9f1c5399ec71d8eeed014832fc4f8
4f56670a3c4c8c2d3c269c0ee8ff47a4db31a43a
/craps_classes.py
c05cc83852655cf0754bf95ee35e6c3e8729e77b
[]
no_license
mejongetje/Craps
a663e1751f36a90f02c68d9478c55e767c42b5f2
9869b290b3ae197e3181208d7c6c96a859c86d70
refs/heads/main
2023-07-02T04:08:57.482165
2021-08-08T12:29:47
2021-08-08T12:29:47
393,954,025
0
0
null
null
null
null
UTF-8
Python
false
false
620
py
import random class Die: def __init__(self, eyes=6): self.eyes = eyes def throw_die(self): result = random.randint(1,self.eyes) return result class Player: players = [] def __init__(self, name, position=0, balance=50): self.name = name self.balance = balance self.position = position __class...
[ "noreply@github.com" ]
mejongetje.noreply@github.com
5d30285999bbb36f4f2e1fd387a252661c7caafe
988c1009561153d0d7682c833b03babe4c2ce12d
/Qust/q3.py
cc2a39cc738dd387d0b426b38fc32855670f53b0
[]
no_license
shibushimeiyoumingzile/week1
f61c9da316b35db07236853de42e5aaf8c50561a
6bd63c287f1a8e26141324e00668b65b997d702d
refs/heads/master
2020-04-24T09:44:15.210920
2019-02-21T12:56:11
2019-02-21T12:56:11
171,871,615
0
0
null
null
null
null
UTF-8
Python
false
false
153
py
import random list = [] for i in range(1,21): a = random.randint(1,10) list.append(a) print(list) li = sorted(list[::2],reverse=True) print(li)
[ "304803570@qq.com" ]
304803570@qq.com
d756be90db2bdec1a2a588b798658cf2d63721c8
0994fb9ccf25a79203ed176e6535949889255995
/houses/roster.py
db4057126195fc0c16ef20277005836cf6bc6970
[]
no_license
Hazem-ali/PSET7-CS50
1ee013069fa4e90a6101febc5c570d3849bdd3cc
0a2b0456f174d3f859e270ffa8acc35c659406e4
refs/heads/master
2023-01-24T03:37:31.728740
2020-12-07T23:05:41
2020-12-07T23:05:41
319,467,108
0
0
null
null
null
null
UTF-8
Python
false
false
1,065
py
from cs50 import SQL import sys # Sample --> python roster.py Gryffindor # Sample Test --> Lavender Brown, born 1979 # TAKE THE HOUSE NAME FROM ARGV # EXECUTE SQL COMMAND TO SELECT ALL NAMES FROM THIS HOUSE # SORTING RESULT BY LAST NAME # FOR MUTUAL LAST NAME, SORT BY FIRST NAME def main(): # Checking That ar...
[ "hazemali627@gmail.com" ]
hazemali627@gmail.com
e87d75c1630684e37d72f6c38d6cea9b33695223
2471c87c3338eec3121499b34cb5684fd2eb9390
/blackjack/blackjack.py
d7820d1aa6d6285eaaccd23eb28d61d413ecb206
[]
no_license
nums11/OpenAIGym
0c893c9a086ea4ea6590bca7aa79e24103fada60
5df988497426645dc229cccce1ca35fe7d880377
refs/heads/main
2023-04-16T07:54:27.282401
2021-04-12T21:55:43
2021-04-12T21:55:43
346,795,159
0
0
null
null
null
null
UTF-8
Python
false
false
4,927
py
import gym import numpy as np from tqdm import tqdm import random from agents.simple_q_learning_agent import SimpleQLearningAgent from agents.advanced_q_learning_agent import AdvancedQLearningjackAgent from agents.simple_monte_carlo_agent import SimpleMonteCarloAgent from agents.advanced_monte_carlo_agent import Advanc...
[ "numsmt2@gmail.com" ]
numsmt2@gmail.com
796df7285da9327a551337685c8ba477309e2c20
2f959af673728e4d7f3bc5d744ff7186abe3281b
/Aula11/djangoProject/booksApp/serializers.py
04767bc863362b7530eeb4cfdf9514680a1b90ee
[]
no_license
FabioSparta/TPW_LabClasses
1e3c42d30050f0bba5261ae47cd1e0bb43e42cf8
223e5f3bd52deb4478aaa21704735b404b4830c6
refs/heads/main
2023-05-26T03:32:14.006341
2021-06-16T21:28:50
2021-06-16T21:28:50
360,298,486
0
0
null
null
null
null
UTF-8
Python
false
false
543
py
from booksApp.models import Author, Publisher, Book from rest_framework import serializers class AuthorSerializer(serializers.ModelSerializer): class Meta: model = Author fields = ('id', 'name', 'email') class PublisherSerializer(serializers.ModelSerializer): class Meta: model = Publ...
[ "faac@ua.pt" ]
faac@ua.pt
a1ce721648437c692be680703e759af641f629a4
370eb3d601cba2d791a7c690896d3504b3204c48
/car_speech_rec/CarAudio/settings.py
b2f19fe0df1b292619a84d3c306dbc7d86ec3033
[]
no_license
marchboy/python_machine_learning
ba558efa2bc016964251c0daa0276d6115e39bc2
7d2cae69930f381fe2029f58e977b55affb5e88b
refs/heads/master
2021-07-15T09:05:02.252006
2020-01-17T09:35:49
2020-01-17T09:35:49
132,924,711
1
2
null
null
null
null
UTF-8
Python
false
false
2,504
py
#!/usr/bin/env python #-*- coding: utf-8 -*- import os import time import logging MYSQL_INFO = { 'host':'localhost', 'user':'root', 'passwd':'mariadb', 'db':'test', 'charset':'utf8' } # MYSQL_INFO = { # 'host':'localhost', # 'user':'testuser', # 'passwd':'testpwd258*', # 'db':'t...
[ "jjgdut@163.com" ]
jjgdut@163.com
b4648d3ef6b9bf7f0f856176fd2bb007ac18a41b
181b482a7089bb891c8d2af63fd6ff366be6f703
/passtable/table.py
092c099c72d20447ef6575a05756ba85baa80a26
[]
no_license
mferland/experiments
9f30bed1fcdba07cba58e52f3577c76f52df22d6
e760519f0e702371504fc683b873ad85b75d5595
refs/heads/master
2020-07-02T11:58:06.272116
2016-04-02T00:10:44
2016-04-02T00:10:44
52,111,544
0
0
null
null
null
null
UTF-8
Python
false
false
2,972
py
#!/usr/bin/python def split_list(alist, chunks=1): length = len(alist) return [ alist[i*length // chunks: (i+1)*length // chunks] for i in range(chunks) ] def distribute(string, chunks): if chunks == len(string): # i.e.: 'abc' in 3 chunks ==> 'a', 'b', 'c' return list(string)...
[ "marc.ferland@gmail.com" ]
marc.ferland@gmail.com
434bebc7cbd0dff66c53188da6ab39dc4e50735f
7ca7eb242d5c2211bead3039ef8d2271a473bf00
/ce86.py
345e2164b3e2be729d3feb48a3c597ec651290ec
[]
no_license
raman934/python-2019
613214da5f4215f1db507321d94ac9d29784c126
ba5cf4e2204349e3bc716d8a7ef68a863d74b547
refs/heads/master
2020-06-25T04:12:56.717409
2019-10-02T07:33:56
2019-10-02T07:33:56
199,197,390
0
0
null
null
null
null
UTF-8
Python
false
false
238
py
# RG # 7.3 # todo learn def is_palindrome(s): n = len(s) if n == 1: return True elif s[0] == s[n - 1] and is_palindrome(s[1:n - 1]): return True return False print(is_palindrome('level'))
[ "noreply@github.com" ]
raman934.noreply@github.com
bae738bc7e7a8bb92e7ac2548c71d0c31bd31a99
6197379b99f2de08bc01c495cee1666feec732eb
/rexster_rest/client.py
79b6e132354103b339ae2ff8f7b4601f08ada24d
[]
no_license
windj007/python-rexster-rest
8160e149c8afd465ac59697dacf6bccaa1f75831
cd8119961315e890680ec965b6cb0be2b604da22
refs/heads/master
2020-03-28T18:52:30.104520
2015-09-01T22:25:02
2015-09-01T22:25:02
41,481,666
1
0
null
null
null
null
UTF-8
Python
false
false
11,496
py
import os, glob from pyarc import ClientBase from rexster_rest.query import Q, format_typed_value __ALL__ = ['RexsterClient', 'Dir', 'Q'] class Urls: GRAPHS = '/graphs' GRAPH = GRAPHS + '/{graph}' VERTICES = GRAPH + '/vertices' VERTEX = VERTICES + '/{vertex_id}' INCIDENT = VERTEX + '/{direction}...
[ "windj007@gmail.com" ]
windj007@gmail.com
fbf9701cc9ca6f827074d5b942e1d29dc4398cb0
9ecdbaebb3fedddbd9a586952562e6ef9d24ac42
/tests/convert/test_euler.py
6265978db2c03cbfc2571d45be5ffd9f6ee14a88
[ "MIT" ]
permissive
aestene/alitra
8396725a07329afaf000da27d8dd4da56590b697
7e762e6d18948056ae2503557d5b02fc1fc84465
refs/heads/main
2023-04-01T09:53:37.384476
2021-04-07T13:46:41
2021-04-08T11:06:10
350,310,766
0
0
MIT
2021-03-22T11:03:50
2021-03-22T11:03:50
null
UTF-8
Python
false
false
872
py
import numpy as np import pytest from alitra import Euler, Quaternion from alitra.convert.euler import euler_to_quaternion @pytest.mark.parametrize( "euler, expected", [ ( Euler(psi=0, phi=0, theta=0, from_="robot", to_="asset"), Quaternion(x=0, y=0, z=0, w=1, frame="robot"), ...
[ "steneae@gmail.com" ]
steneae@gmail.com
28a49b39c9e366056bcef362331ce78cc2460c41
3c6062703eb4681346d4134b23054a47b2f45010
/build/hector_slam/hector_map_tools/catkin_generated/pkg.develspace.context.pc.py
f0e9bbbc77c0ccb4092318589250c8876dc5f49a
[]
no_license
cocharland/Quadrotor_Simulation
f71797220e4b00299a993a27f987a6b611d8fefe
4d1423c4599fb20429bf12aaf79cdb4ddda8837a
refs/heads/master
2022-04-06T05:50:25.852587
2020-03-09T01:11:16
2020-03-09T01:11:16
215,884,074
0
0
null
2020-02-10T00:29:52
2019-10-17T20:55:07
Makefile
UTF-8
Python
false
false
546
py
# generated from catkin/cmake/template/pkg.context.pc.in CATKIN_PACKAGE_PREFIX = "" PROJECT_PKG_CONFIG_INCLUDE_DIRS = "/home/cody/catkin_ws/src/hector_slam/hector_map_tools/include;/usr/include/eigen3".split(';') if "/home/cody/catkin_ws/src/hector_slam/hector_map_tools/include;/usr/include/eigen3" != "" else [] PROJEC...
[ "charland.cody@gmail.com" ]
charland.cody@gmail.com
eab14e230dad104423301f0de8646fde3c358188
41201d5cb019b2aa26dbb3a13f7dda492e0a7afc
/globalHandler.py
3deb723d537d06e1803c4c5630a2ea26734e3c3b
[]
no_license
ASL-Dutch/tools-server
eb09afc6e8caedb3c529b270c1d0f6ee15a9a7fa
09bf909b031b82e9e625b9a73644fd93f61774e2
refs/heads/master
2023-07-06T20:55:54.919997
2021-08-18T09:26:31
2021-08-18T09:26:31
396,247,067
0
0
null
null
null
null
UTF-8
Python
false
false
1,861
py
# -*- coding:utf-8 -*- import os import threading from concurrent.futures import ThreadPoolExecutor from py_eureka_client import eureka_client from tornado.web import RequestHandler, Application from tornado.ioloop import IOLoop from tornado.httpserver import HTTPServer import tornado.options import tornado.gen from...
[ "li890424" ]
li890424
dd814c9e5a365e583776871999a9fa14e4d4e014
0e33389f026a7b249e46825dd0d7c192cee91666
/db.py
13d5717dabe0f8099aadc9472ac570b16aa993e5
[]
no_license
sachinprajapati/paym
59b17fc97dfaa279ddbc236c49822ef257fa7195
f5f87525e2618e327930957d2209ced549db4b89
refs/heads/master
2023-02-16T06:48:48.513720
2021-01-18T12:09:04
2021-01-18T12:09:04
328,702,317
0
0
null
null
null
null
UTF-8
Python
false
false
2,146
py
from settings import * class DB(): db_name = dir_path+'/demo.db' conn = None curr = None table = None schema = """CREATE TABLE Cards ( id integer PRIMARY KEY AUTOINCREMENT, card_num int NOT NULL UNIQUE, date text NOT NULL, cvv int NOT NULL, pin int NOT NULL ); CREATE TABLE Trans...
[ "tavarsachin@gmail.com" ]
tavarsachin@gmail.com
9e72b47e9121173ec1189fe4f3ee46d3f7ef2635
4062ffcc0fdd4308aa75e4883a02b190a802759b
/backend/core/urls.py
d2de78f5f85479db5ae4933609eaee1a373314c6
[]
no_license
5000eliteprw/RestaurantReview
89be210a6268855c9add0e47276b84e71b5df384
547e648eaaa11ee79b0a46b82f6203543d48920f
refs/heads/master
2023-06-16T15:18:01.277155
2021-07-10T08:06:14
2021-07-10T08:06:14
384,647,110
0
0
null
null
null
null
UTF-8
Python
false
false
966
py
"""core URL Configuration The `urlpatterns` list routes URLs to views. For more information please see: https://docs.djangoproject.com/en/3.1/topics/http/urls/ Examples: Function views 1. Add an import: from my_app import views 2. Add a URL to urlpatterns: path('', views.home, name='home') Class-based vi...
[ "karl00814@outlook.com" ]
karl00814@outlook.com