hexsha
stringlengths
40
40
size
int64
5
2.06M
ext
stringclasses
11 values
lang
stringclasses
1 value
max_stars_repo_path
stringlengths
3
251
max_stars_repo_name
stringlengths
4
130
max_stars_repo_head_hexsha
stringlengths
40
78
max_stars_repo_licenses
listlengths
1
10
max_stars_count
int64
1
191k
max_stars_repo_stars_event_min_datetime
stringlengths
24
24
max_stars_repo_stars_event_max_datetime
stringlengths
24
24
max_issues_repo_path
stringlengths
3
251
max_issues_repo_name
stringlengths
4
130
max_issues_repo_head_hexsha
stringlengths
40
78
max_issues_repo_licenses
listlengths
1
10
max_issues_count
int64
1
116k
max_issues_repo_issues_event_min_datetime
stringlengths
24
24
max_issues_repo_issues_event_max_datetime
stringlengths
24
24
max_forks_repo_path
stringlengths
3
251
max_forks_repo_name
stringlengths
4
130
max_forks_repo_head_hexsha
stringlengths
40
78
max_forks_repo_licenses
listlengths
1
10
max_forks_count
int64
1
105k
max_forks_repo_forks_event_min_datetime
stringlengths
24
24
max_forks_repo_forks_event_max_datetime
stringlengths
24
24
content
stringlengths
1
1.05M
avg_line_length
float64
1
1.02M
max_line_length
int64
3
1.04M
alphanum_fraction
float64
0
1
ba49a269b1e62c02c4101bd34999b2de07f4d863
839
py
Python
MBook/app/models.py
orzbhbdsb/gitlab3
6d6c66ba3196f9c920f34ec03492775fa022bdba
[ "MIT" ]
null
null
null
MBook/app/models.py
orzbhbdsb/gitlab3
6d6c66ba3196f9c920f34ec03492775fa022bdba
[ "MIT" ]
null
null
null
MBook/app/models.py
orzbhbdsb/gitlab3
6d6c66ba3196f9c920f34ec03492775fa022bdba
[ "MIT" ]
null
null
null
""" Definition of models. """ from django.db import models # Create your models here.
32.269231
83
0.691299
ba4b0fb61cd50521f8cfba71184b982c18ac6fe8
2,567
py
Python
gen.py
RavenApp/Vanity-Address-Generator
5e24deb7a6d8340c5c8b92ac8a6cad45f681dc41
[ "MIT" ]
1
2021-12-15T17:05:55.000Z
2021-12-15T17:05:55.000Z
gen.py
fdoving/Vanity-Address-Generator
5e24deb7a6d8340c5c8b92ac8a6cad45f681dc41
[ "MIT" ]
null
null
null
gen.py
fdoving/Vanity-Address-Generator
5e24deb7a6d8340c5c8b92ac8a6cad45f681dc41
[ "MIT" ]
1
2021-05-18T16:03:39.000Z
2021-05-18T16:03:39.000Z
from ravenrpc import Ravencoin # pip install ravenrpc import sys import os import time if __name__ == '__main__': main()
31.691358
115
0.588625
ba4dee0c7b433d8c7f463e1ddfd3c67464d11c74
2,262
py
Python
extract_mel_mu.py
NTT123/wavegru-vocoder
4ade0cbad4405596d0598f2611b1c7e12cf979c8
[ "MIT" ]
null
null
null
extract_mel_mu.py
NTT123/wavegru-vocoder
4ade0cbad4405596d0598f2611b1c7e12cf979c8
[ "MIT" ]
null
null
null
extract_mel_mu.py
NTT123/wavegru-vocoder
4ade0cbad4405596d0598f2611b1c7e12cf979c8
[ "MIT" ]
null
null
null
""" Extract mel-spectrogram features and mu-law encoded waveforms from wav files """ import os from argparse import ArgumentParser from pathlib import Path import jax import librosa import numpy as np from tqdm.cli import tqdm from dsp import MelFilter from utils import load_config def extract_mel_mu( mel_filt...
29
86
0.698939
ba51c6da519449ea6c186aa6964b421f5e367518
118
py
Python
{{ cookiecutter.repo_name }}/{{ cookiecutter.package_name }}/command_line.py
mazzma12/cookiecutter-data-science
8b5ca776071b596bfa93e5c222c633cdd232e96a
[ "MIT" ]
1
2021-05-28T14:53:30.000Z
2021-05-28T14:53:30.000Z
{{ cookiecutter.repo_name }}/{{ cookiecutter.package_name }}/command_line.py
mazzma12/cookiecutter-data-science
8b5ca776071b596bfa93e5c222c633cdd232e96a
[ "MIT" ]
null
null
null
{{ cookiecutter.repo_name }}/{{ cookiecutter.package_name }}/command_line.py
mazzma12/cookiecutter-data-science
8b5ca776071b596bfa93e5c222c633cdd232e96a
[ "MIT" ]
1
2020-04-27T13:58:36.000Z
2020-04-27T13:58:36.000Z
import fire def main(): """Command line interface.""" pass if __name__ == "__main__": fire.Fire(main)
10.727273
33
0.601695
ba530b374855abf8fb214c997a4977d9d4ea9b60
242
py
Python
ElcheapoAIS_manhole/manhole/urls.py
innovationgarage/ElCheapoAIS-manhole
157e855b8904e135da808a004f2244445498891d
[ "MIT" ]
null
null
null
ElcheapoAIS_manhole/manhole/urls.py
innovationgarage/ElCheapoAIS-manhole
157e855b8904e135da808a004f2244445498891d
[ "MIT" ]
null
null
null
ElcheapoAIS_manhole/manhole/urls.py
innovationgarage/ElCheapoAIS-manhole
157e855b8904e135da808a004f2244445498891d
[ "MIT" ]
null
null
null
from django.contrib import admin from django.urls import path import manhole.views urlpatterns = [ path('<str:client>', manhole.views.script, name='script'), path('<str:client>/<int:ordering>', manhole.views.output, name='output') ]
26.888889
76
0.719008
ba532b00860786aee7aa057a21b4f25c2ee6d2e1
25,060
py
Python
damageCreator.py
Msegade/test123
14027acb9d289890da0f82e71b876ec7586e97b0
[ "MIT" ]
1
2021-09-09T18:12:33.000Z
2021-09-09T18:12:33.000Z
damageCreator.py
claracbengoa/damagecreator
a11bf2c1fe194668707ff85e489ebdaf90c846ce
[ "MIT" ]
null
null
null
damageCreator.py
claracbengoa/damagecreator
a11bf2c1fe194668707ff85e489ebdaf90c846ce
[ "MIT" ]
null
null
null
import salome import SMESH from salome.geom import geomBuilder from salome.smesh import smeshBuilder import sys import math import numpy as np from numpy.linalg import norm from numpy.random import uniform from pathlib import Path from auxiliaryFunctions import clusteringAlgorithm from auxiliaryFunctions import getTr...
36.266281
215
0.654828
ba53b3a64c0803deb7410b156a56759bff266edf
999
py
Python
link/items.py
KiriKira/LinkSpider
a832e2eaac39f31735664eb1c0ddc1de79fa887d
[ "Apache-2.0" ]
1
2018-04-05T06:11:00.000Z
2018-04-05T06:11:00.000Z
link/items.py
KiriKira/LinkSpider
a832e2eaac39f31735664eb1c0ddc1de79fa887d
[ "Apache-2.0" ]
null
null
null
link/items.py
KiriKira/LinkSpider
a832e2eaac39f31735664eb1c0ddc1de79fa887d
[ "Apache-2.0" ]
null
null
null
# -*- coding: utf-8 -*- # Define here the models for your scraped items # # See documentation in: # https://doc.scrapy.org/en/latest/topics/items.html import scrapy
24.975
52
0.65966
ba53fa11353ebf570e006797c0e4c396447e734d
6,755
py
Python
diventi/feedbacks/views.py
flavoi/diven
3173ca3ca3fbedc191b8eab3639a6bceb3c442c4
[ "Apache-2.0" ]
2
2019-06-27T16:00:17.000Z
2020-08-14T07:46:05.000Z
diventi/feedbacks/views.py
flavoi/diven
3173ca3ca3fbedc191b8eab3639a6bceb3c442c4
[ "Apache-2.0" ]
26
2020-02-15T22:39:35.000Z
2022-02-19T21:09:01.000Z
diventi/feedbacks/views.py
flavoi/diven
3173ca3ca3fbedc191b8eab3639a6bceb3c442c4
[ "Apache-2.0" ]
1
2021-11-12T22:30:15.000Z
2021-11-12T22:30:15.000Z
from django.shortcuts import ( render, redirect, get_object_or_404, ) from django.http import Http404 from django.urls import reverse from django.views.generic import ListView from django.views.generic.detail import DetailView from django.views.generic.edit import CreateView from django.utils.translation i...
41.956522
132
0.662176
ba5498b8600bafbe767e96e7573a78bb3a0ea603
2,357
py
Python
OnDemandPublicationScript.py
muneebmallick/OndemandPublication-pyscript
14220908cf234c72b6e0d8078e1cfef49acd0dde
[ "MIT" ]
null
null
null
OnDemandPublicationScript.py
muneebmallick/OndemandPublication-pyscript
14220908cf234c72b6e0d8078e1cfef49acd0dde
[ "MIT" ]
null
null
null
OnDemandPublicationScript.py
muneebmallick/OndemandPublication-pyscript
14220908cf234c72b6e0d8078e1cfef49acd0dde
[ "MIT" ]
null
null
null
import getpass import datetime import requests import gzip import easywebdav import os from bs4 import BeautifulSoup as bs user = raw_input("Username: ") password = getpass.getpass() date = raw_input("As of Date (mmddYYYY): ") #add URL from where the files are required to be downloaded. archive_url = 'URL' if...
20.675439
85
0.674586
ba54f696e07e25d20a0050aa514d93808a75178e
344
py
Python
src/python/peanoclaw/__init__.py
unterweg/peanoclaw
2d8b45727e3b26d824f8afc6a8772736176083af
[ "BSD-3-Clause" ]
1
2015-07-14T10:05:52.000Z
2015-07-14T10:05:52.000Z
src/python/peanoclaw/__init__.py
unterweg/peanoclaw
2d8b45727e3b26d824f8afc6a8772736176083af
[ "BSD-3-Clause" ]
null
null
null
src/python/peanoclaw/__init__.py
unterweg/peanoclaw
2d8b45727e3b26d824f8afc6a8772736176083af
[ "BSD-3-Clause" ]
1
2019-12-03T15:58:53.000Z
2019-12-03T15:58:53.000Z
__all__ = [] __all__.extend(['Solver', 'Solution', 'State', 'SubgridSolver', 'Peano']) from peanoclaw.peano import Peano from peanoclaw.solver import Solver from peanoclaw.solution import Solution from peanoclaw.subgridsolver import SubgridSolver from peanoclaw.internalsettings import InternalSettings from clawpack.py...
34.4
73
0.819767
ba5856f31d3d7ea49e7c71cf21d89f4613da2552
9,297
py
Python
Manteia/Augmentation.py
ym001/Manteia
e6ed466617933047aecf3071dec1d8bef9b0eeaa
[ "MIT" ]
4
2020-04-19T15:57:56.000Z
2021-07-03T09:13:32.000Z
Manteia/Augmentation.py
ym001/Manteia
e6ed466617933047aecf3071dec1d8bef9b0eeaa
[ "MIT" ]
null
null
null
Manteia/Augmentation.py
ym001/Manteia
e6ed466617933047aecf3071dec1d8bef9b0eeaa
[ "MIT" ]
null
null
null
""" .. module:: Augmentation :platform: Unix, Windows :synopsis: A useful module indeed. .. moduleauthor:: Yves Mercadier <manteia.ym001@gmail.com> """ import numpy as np import random from nltk.corpus import wordnet import collections import math #import nltk #nltk.download('wordnet') #https://github.com/go...
30.481967
142
0.699796
ba596e0822b9dda78868195237943a74be4ee849
1,700
py
Python
Ace-Your-Python-Coding-Interview/Section 4 Part 4 - Hard Interview Question - Suboptimal Solution.py
IvanDemin3467/Ace-Your-Python-Coding-Interview
4139af42c85785f10667c4b7e987ab1e4fb8e802
[ "Unlicense" ]
null
null
null
Ace-Your-Python-Coding-Interview/Section 4 Part 4 - Hard Interview Question - Suboptimal Solution.py
IvanDemin3467/Ace-Your-Python-Coding-Interview
4139af42c85785f10667c4b7e987ab1e4fb8e802
[ "Unlicense" ]
null
null
null
Ace-Your-Python-Coding-Interview/Section 4 Part 4 - Hard Interview Question - Suboptimal Solution.py
IvanDemin3467/Ace-Your-Python-Coding-Interview
4139af42c85785f10667c4b7e987ab1e4fb8e802
[ "Unlicense" ]
null
null
null
def merge_k_linked_lists(linked_lists): ''' Merge k sorted linked lists into one sorted linked list. >>> print(merge_k_linked_lists([ ... Link(1, Link(2)), ... Link(3, Link(4)) ... ])) Link(1, Link(2, Link(3, Link(4)))) >>> print(merge_k_linked_lists([ ... Link(1, L...
29.824561
63
0.554118
ba5a94482a11f5fee59779e8dcc15a40991e4772
2,027
py
Python
compute_masks.py
MuhammadHamed/Deep-tracking
09dd43cff30bbb3763cfc591dcbb372e85fd2618
[ "MIT" ]
null
null
null
compute_masks.py
MuhammadHamed/Deep-tracking
09dd43cff30bbb3763cfc591dcbb372e85fd2618
[ "MIT" ]
null
null
null
compute_masks.py
MuhammadHamed/Deep-tracking
09dd43cff30bbb3763cfc591dcbb372e85fd2618
[ "MIT" ]
null
null
null
import scipy.io, os from scipy.misc import imsave import numpy as np import cPickle from PIL import Image import shutil import matplotlib.pyplot as plt # used for producing the image with only the labels when "show masks only" in the annotation tool is pressed # loads the annotation frames from the annotation file
36.854545
363
0.77109
ba5da02261c97f07528b38e4f2ec89099c8a59fc
397
py
Python
django_dumpslow/utils.py
lamby/django-dumpslow
0c2c46d16510596ee830cc97cb69b53992ed3fe6
[ "BSD-2-Clause" ]
11
2016-03-21T17:39:03.000Z
2020-10-13T18:10:46.000Z
django_dumpslow/utils.py
lamby/django-dumpslow
0c2c46d16510596ee830cc97cb69b53992ed3fe6
[ "BSD-2-Clause" ]
3
2019-04-15T07:40:40.000Z
2019-07-07T14:11:45.000Z
django_dumpslow/utils.py
lamby/django-dumpslow
0c2c46d16510596ee830cc97cb69b53992ed3fe6
[ "BSD-2-Clause" ]
3
2019-04-11T09:42:21.000Z
2019-07-07T07:02:47.000Z
import re import datetime
19.85
58
0.506297
ba5ebbd6a26c7004d3c50970b090d3d04107cfff
42,223
py
Python
trainModel/mcRBM.py
davidmam/EEG-sleep-analysis
795ffa61013fd577ae92b5de696a45c4b07cefc5
[ "Unlicense" ]
1
2021-11-25T08:03:07.000Z
2021-11-25T08:03:07.000Z
trainModel/mcRBM.py
davidmam/EEG-sleep-analysis
795ffa61013fd577ae92b5de696a45c4b07cefc5
[ "Unlicense" ]
null
null
null
trainModel/mcRBM.py
davidmam/EEG-sleep-analysis
795ffa61013fd577ae92b5de696a45c4b07cefc5
[ "Unlicense" ]
null
null
null
""" THIS CODE IS UNDER THE BSD 2-Clause LICENSE. YOU CAN FIND THE COMPLETE FILE AT THE SOURCE DIRECTORY. Copyright (C) 2017 V.-M. Katsageorgiou - All rights reserved @author : vasiliki.katsageorgiou@gmail.com Publication: ...
54.55168
899
0.608815
ba5f8c54b58e2039ba5050a39da943245f582c52
568
py
Python
conftest.py
d34dm8/chime
1438245b3510b682345cd18f60150e975a54233d
[ "MIT" ]
149
2020-10-05T13:13:38.000Z
2022-03-30T11:59:27.000Z
conftest.py
d34dm8/chime
1438245b3510b682345cd18f60150e975a54233d
[ "MIT" ]
17
2020-10-05T20:43:15.000Z
2021-11-14T16:15:00.000Z
conftest.py
d34dm8/chime
1438245b3510b682345cd18f60150e975a54233d
[ "MIT" ]
8
2020-10-05T21:03:49.000Z
2022-02-03T17:46:01.000Z
import importlib import pathlib import tempfile import _pytest.monkeypatch import pytest import chime
25.818182
83
0.767606
ba60a6e988ca3407a19a72d7fe7fe9d52a6f5fc1
2,307
py
Python
atropos/commands/error/reports.py
plijnzaad/atropos
dcc79d0aa89b5d2b87f02ee841525fa154898ae6
[ "CC0-1.0" ]
null
null
null
atropos/commands/error/reports.py
plijnzaad/atropos
dcc79d0aa89b5d2b87f02ee841525fa154898ae6
[ "CC0-1.0" ]
1
2020-09-23T07:37:32.000Z
2020-09-23T07:37:32.000Z
atropos/commands/error/reports.py
plijnzaad/atropos
dcc79d0aa89b5d2b87f02ee841525fa154898ae6
[ "CC0-1.0" ]
null
null
null
"""Report generator for the error command. TODO: move reporting functionality out of the ErrorEstimator class. """ from itertools import repeat from atropos.commands.reports import BaseReportGenerator from atropos.io import open_output from atropos.commands.legacy_report import Printer, TitlePrinter
36.619048
84
0.641092
ba60c30128f4fcb3a2ca7e31feea5819840f72cf
8,827
py
Python
update.py
ti-lei/iphone11
f69e7050ecdc87651eab5e8fdb38e4f305a9257f
[ "bzip2-1.0.6" ]
null
null
null
update.py
ti-lei/iphone11
f69e7050ecdc87651eab5e8fdb38e4f305a9257f
[ "bzip2-1.0.6" ]
null
null
null
update.py
ti-lei/iphone11
f69e7050ecdc87651eab5e8fdb38e4f305a9257f
[ "bzip2-1.0.6" ]
null
null
null
# from flask import Flask, render_template, flash, redirect, url_for, session, request, logging # from wtforms import Form, StringField, TextAreaField, PasswordField, validators # from functools import wraps import requests import json import pandas as pd import platform import shutil import datetime from module import...
35.167331
157
0.539481
ba61d400f8b57fa12cc8c3893ae9262d26ff44e7
22,181
py
Python
scripts/catalog-manager.py
jtheoof/dotfiles
6d820a685200e6b4cac52638de366123ff8e3677
[ "MIT" ]
13
2015-01-31T04:38:12.000Z
2020-06-10T09:11:52.000Z
scripts/catalog-manager.py
jtheoof/dotfiles
6d820a685200e6b4cac52638de366123ff8e3677
[ "MIT" ]
null
null
null
scripts/catalog-manager.py
jtheoof/dotfiles
6d820a685200e6b4cac52638de366123ff8e3677
[ "MIT" ]
5
2016-05-12T01:44:05.000Z
2020-12-06T21:30:36.000Z
#!/usr/bin/python ## @package catalog-manager # Provides general functions to parse SQ3 files # and generate SQL code. # # Can manage both 3D and MATERIALS (with TEXTURES). import csv import fnmatch import getopt import logging import os import platform import random import re import shutil import string import sy...
29.69344
77
0.640954
ba61f2c4cffeb864063da89ea567e9fa129990c8
1,588
pyde
Python
mode/examples/Basics/Data/VariableScope/VariableScope.pyde
timgates42/processing.py
78a237922c2a928b83f4ad579dbf8d32c0099890
[ "Apache-2.0" ]
1,224
2015-01-01T22:09:23.000Z
2022-03-29T19:43:56.000Z
mode/examples/Basics/Data/VariableScope/VariableScope.pyde
timgates42/processing.py
78a237922c2a928b83f4ad579dbf8d32c0099890
[ "Apache-2.0" ]
253
2015-01-14T03:45:51.000Z
2022-02-08T01:18:19.000Z
mode/examples/Basics/Data/VariableScope/VariableScope.pyde
timgates42/processing.py
78a237922c2a928b83f4ad579dbf8d32c0099890
[ "Apache-2.0" ]
225
2015-01-13T18:38:33.000Z
2022-03-30T20:27:39.000Z
""" Variable Scope. Variables have a global or local "scope". For example, variables declared within either the setup() or draw() functions may be only used in these functions. Global variables, variables declared outside of setup() and draw(), may be used anywhere within the program. If a local variable is declared...
29.407407
84
0.652393
ba62514e1870860c0ed940a4befb65ab80354173
1,475
py
Python
src/quick_sort.py
ChristopherSClosser/python-data-structures
c27236001cdaa0f126120c62bae02718c5bb7a87
[ "MIT" ]
null
null
null
src/quick_sort.py
ChristopherSClosser/python-data-structures
c27236001cdaa0f126120c62bae02718c5bb7a87
[ "MIT" ]
30
2017-11-22T19:10:05.000Z
2018-06-09T18:20:39.000Z
src/quick_sort.py
ChristopherSClosser/python-data-structures
c27236001cdaa0f126120c62bae02718c5bb7a87
[ "MIT" ]
null
null
null
"""Implement quick sorting algorithm. Quicksort is a comparison sort, meaning that it can sort items of any type for which a "less-than" relation (formally, a total order) is defined. In efficient implementations it is not a stable sort, meaning that the relative order of equal sort items is not preserved. Quicksort c...
30.102041
79
0.619661
ba62fad903a85520d54d8e5c15dd90d984f9d167
4,071
py
Python
pypy/objspace/std/iterobject.py
camillobruni/pygirl
ddbd442d53061d6ff4af831c1eab153bcc771b5a
[ "MIT" ]
12
2016-01-06T07:10:28.000Z
2021-05-13T23:02:02.000Z
pypy/objspace/std/iterobject.py
camillobruni/pygirl
ddbd442d53061d6ff4af831c1eab153bcc771b5a
[ "MIT" ]
null
null
null
pypy/objspace/std/iterobject.py
camillobruni/pygirl
ddbd442d53061d6ff4af831c1eab153bcc771b5a
[ "MIT" ]
2
2016-07-29T07:09:50.000Z
2016-10-16T08:50:26.000Z
""" Reviewed 03-06-22 Sequence-iteration is correctly implemented, thoroughly tested, and complete. The only missing feature is support for function-iteration. """ from pypy.objspace.std.objspace import * registerimplementation(W_SeqIterObject) registerimplementation(W_FastSeqIterObject) registerimplementation(W_Rev...
31.804688
76
0.704495
ba63c845e1e0cb82a495aac916b3aec0d5419669
6,522
py
Python
NCC_bot.py
sangmouse2715/babgive
566499969320c784574bf78554b7131937feb96e
[ "MIT" ]
null
null
null
NCC_bot.py
sangmouse2715/babgive
566499969320c784574bf78554b7131937feb96e
[ "MIT" ]
null
null
null
NCC_bot.py
sangmouse2715/babgive
566499969320c784574bf78554b7131937feb96e
[ "MIT" ]
null
null
null
from parsing import get_diet import discord , asyncio , datetime , sys , os import parsing if __name__ == '__main__': main()
41.018868
131
0.557958
ba64836a8d42f8c4e9f67ebcfdd272084c5ab82e
111
py
Python
cttools/__init__.py
nik849/ct-tools
1218f62de1b8974651506ebf8fd9197c1b038a0a
[ "MIT" ]
null
null
null
cttools/__init__.py
nik849/ct-tools
1218f62de1b8974651506ebf8fd9197c1b038a0a
[ "MIT" ]
4
2021-06-08T20:42:17.000Z
2022-03-12T00:07:59.000Z
cttools/__init__.py
nik849/ct-tools
1218f62de1b8974651506ebf8fd9197c1b038a0a
[ "MIT" ]
null
null
null
__version__ = '0.0.1' from .recon import * from .config import * from .parse import * from .utilities import *
18.5
24
0.711712
ba654a5549bd2a5ca15af1cb0f15d86d8e4da03e
7,592
py
Python
functions/source/onboarding/onboarding.py
aws-quickstart/quickstart-ct-newrelic-one
0b5a813552e1212a6eca345bb0db11f77228c334
[ "Apache-2.0" ]
1
2021-10-30T16:04:48.000Z
2021-10-30T16:04:48.000Z
functions/source/onboarding/onboarding.py
aws-quickstart/quickstart-ct-newrelic-one
0b5a813552e1212a6eca345bb0db11f77228c334
[ "Apache-2.0" ]
4
2021-06-02T01:45:21.000Z
2021-10-06T06:59:44.000Z
functions/source/onboarding/onboarding.py
aws-quickstart/quickstart-ct-newrelic-one
0b5a813552e1212a6eca345bb0db11f77228c334
[ "Apache-2.0" ]
4
2021-06-01T19:43:11.000Z
2021-10-30T16:04:42.000Z
import boto3, json, time, os, logging, botocore, uuid from crhelper import CfnResource from botocore.exceptions import ClientError logger = logging.getLogger() logger.setLevel(logging.INFO) logging.getLogger('boto3').setLevel(logging.CRITICAL) logging.getLogger('botocore').setLevel(logging.CRITICAL) session = boto3.Se...
46.292683
153
0.634352
ba66f69d7614769895923f9f3917d8c70ad11baa
24,751
py
Python
train.py
Luojiahong/Cospy
956057fcd09b824e37d24f0e860ece54af7d19bd
[ "Apache-2.0" ]
8
2019-05-10T03:51:07.000Z
2022-03-20T08:22:48.000Z
train.py
Luojiahong/Cospy
956057fcd09b824e37d24f0e860ece54af7d19bd
[ "Apache-2.0" ]
1
2018-12-13T14:50:19.000Z
2018-12-13T14:50:19.000Z
train.py
stbnps/Cospy
956057fcd09b824e37d24f0e860ece54af7d19bd
[ "Apache-2.0" ]
4
2018-12-13T12:20:50.000Z
2020-11-24T08:41:16.000Z
import sys import os os.environ["CUDA_VISIBLE_DEVICES"]="0" from time import localtime, strftime import argparse import tensorflow as tf import numpy as np import deeplab as model import common np.set_printoptions(threshold=np.inf) flags = tf.app.flags FLAGS = flags.FLAGS scale = None # Settings for multi-GPUs/m...
39.665064
342
0.689103
ba6aa4bd005fdb31cf463d45052158dba57c12af
167
py
Python
handlers/load_python_modules.py
gofynd/alb-logs-parser
5678796f7001eecc6d68cb84c2ccd04e83e2ec1f
[ "Apache-2.0" ]
2
2018-04-11T08:05:36.000Z
2018-09-03T08:45:05.000Z
handlers/load_python_modules.py
gofynd/alb-logs-parser
5678796f7001eecc6d68cb84c2ccd04e83e2ec1f
[ "Apache-2.0" ]
null
null
null
handlers/load_python_modules.py
gofynd/alb-logs-parser
5678796f7001eecc6d68cb84c2ccd04e83e2ec1f
[ "Apache-2.0" ]
1
2018-08-23T05:33:50.000Z
2018-08-23T05:33:50.000Z
''' Load external modules ''' import os import sys BASE_DIR = os.path.dirname(os.path.realpath(__file__)) sys.path.append(os.path.join(BASE_DIR, "../python_modules"))
20.875
60
0.742515
ba6d721f7576a5bca322582ffb3a850442082a13
1,529
py
Python
pipeline/Serverless/04_stream_processor/stream_processor.py
Rkauff/Klayers
79316fa7a777c2231be240411a68933b1bdf487a
[ "Apache-2.0" ]
1,096
2019-01-22T01:00:13.000Z
2022-03-29T19:10:59.000Z
pipeline/Serverless/04_stream_processor/stream_processor.py
Rkauff/Klayers
79316fa7a777c2231be240411a68933b1bdf487a
[ "Apache-2.0" ]
150
2019-01-11T13:44:20.000Z
2022-03-19T06:49:29.000Z
pipeline/Serverless/04_stream_processor/stream_processor.py
Rkauff/Klayers
79316fa7a777c2231be240411a68933b1bdf487a
[ "Apache-2.0" ]
175
2019-04-14T21:57:10.000Z
2022-03-24T07:19:29.000Z
import json import os from datetime import datetime import boto3 from aws_lambda_powertools.logging import Logger logger = Logger()
24.66129
101
0.537606
ba6dc9a2d9f69f440626355cd052c2acf46475ec
2,093
py
Python
fast/video_raspi.py
jmilliaan/mppi_iot
e9303e63afdf128ebed14271af0bdebc6905412d
[ "MIT" ]
null
null
null
fast/video_raspi.py
jmilliaan/mppi_iot
e9303e63afdf128ebed14271af0bdebc6905412d
[ "MIT" ]
null
null
null
fast/video_raspi.py
jmilliaan/mppi_iot
e9303e63afdf128ebed14271af0bdebc6905412d
[ "MIT" ]
null
null
null
import cv2 import matplotlib.pyplot as plt import time from picamera.array import PiRGBArray as pi_rgb from picamera import PiCamera as picam confidence_threshold = 0.45 # Threshold to detect object font = cv2.FONT_HERSHEY_COMPLEX color = [255, 255, 255] height = 320 width = 640 focal_length = 500 ...
34.311475
110
0.686097
ba6e0a92d1c6eaa7dfb13ec1aad23c9765dfa512
13,043
py
Python
pca.py
sadeabiodun/social-ctf
3395e8d2f4bf380268479304f0e3d54971a26723
[ "Apache-2.0" ]
null
null
null
pca.py
sadeabiodun/social-ctf
3395e8d2f4bf380268479304f0e3d54971a26723
[ "Apache-2.0" ]
null
null
null
pca.py
sadeabiodun/social-ctf
3395e8d2f4bf380268479304f0e3d54971a26723
[ "Apache-2.0" ]
null
null
null
from os.path import join import numpy as np import matplotlib.pyplot as plt import seaborn as sns from scipy.stats import zscore from sklearn.decomposition import PCA import pandas as pd from itertools import combinations # Load helper function(s) for interacting with CTF dataset from ctf_dataset.load import create_wr...
35.636612
117
0.615119
ba7075b89fe15c296a2e382e11aeca898ba64096
298
py
Python
models/__init__.py
MilesQLi/Theano-Lights
59864f4a1b089c04ff0403a6036ee052078fcd7d
[ "MIT" ]
313
2015-03-23T15:19:58.000Z
2021-05-17T15:40:09.000Z
models/__init__.py
MilesQLi/Theano-Lights
59864f4a1b089c04ff0403a6036ee052078fcd7d
[ "MIT" ]
2
2015-08-31T06:35:31.000Z
2016-04-04T11:55:43.000Z
models/__init__.py
Ivaylo-Popov/Theano-Lights
3c9de807e42e3875b1e3f4c1e8d02ad1242ddc94
[ "MIT" ]
68
2015-05-16T03:26:17.000Z
2018-08-19T08:40:18.000Z
__all__ = [ "ffn", "rbfn", "ffn_bn", "ffn_ace", "ffn_lae", "ffn_bn_vat", "ffn_vat", "cnn", "vae1", "cvae", "draw_at_lstm1", "draw_at_lstm2", "draw_lstm1", "draw_sgru1", "lm_lstm", "lm_lstm_bn", "lm_gru", "lm_draw" ]
13.545455
21
0.463087
ba7117574bb20ecd7e041b405becc3a15e9db17c
348
py
Python
Homework/HW7.py
Javascript-void0/hxgv
09d04a5bb4f74a476d652bfd8ae5ff56588593c4
[ "MIT" ]
null
null
null
Homework/HW7.py
Javascript-void0/hxgv
09d04a5bb4f74a476d652bfd8ae5ff56588593c4
[ "MIT" ]
null
null
null
Homework/HW7.py
Javascript-void0/hxgv
09d04a5bb4f74a476d652bfd8ae5ff56588593c4
[ "MIT" ]
null
null
null
''' num1=1 num2=1 num3=num1+num2 print(num3) sum=num1+num2+num3 for i in range(1,18,1): num1=num2 num2=num3 num3=num1+num2 if num3%2==0: print(num3) ''' ''' for i in range(1,101): if 100%i==0: print(i) ''' num1=int(input("Please input a number: ")) for i in range(1,num1+1): if...
14.5
42
0.560345
ba7353764d55420ec74c5ccbe75b2fc2d3f29ab9
267
py
Python
Implementation/python/forms.py
ADA-Inc/autentication-web
89850479f9b6f6663c172add6fb6bcc166156d68
[ "MIT" ]
null
null
null
Implementation/python/forms.py
ADA-Inc/autentication-web
89850479f9b6f6663c172add6fb6bcc166156d68
[ "MIT" ]
7
2018-08-17T21:51:14.000Z
2022-03-31T19:13:53.000Z
Implementation/python/forms.py
ADA-Inc/autentication-web
89850479f9b6f6663c172add6fb6bcc166156d68
[ "MIT" ]
null
null
null
from flask_wtf import FlaskForm from wtforms import * from wtforms.validators import InputRequired
38.142857
66
0.779026
ba74ee635792b5d985b9e61ea0ad14f3ebddd601
1,435
py
Python
azure-mgmt-hanaonazure/azure/mgmt/hanaonazure/models/network_profile.py
JonathanGailliez/azure-sdk-for-python
f0f051bfd27f8ea512aea6fc0c3212ee9ee0029b
[ "MIT" ]
1
2021-09-07T18:36:04.000Z
2021-09-07T18:36:04.000Z
azure-mgmt-hanaonazure/azure/mgmt/hanaonazure/models/network_profile.py
JonathanGailliez/azure-sdk-for-python
f0f051bfd27f8ea512aea6fc0c3212ee9ee0029b
[ "MIT" ]
2
2019-10-02T23:37:38.000Z
2020-10-02T01:17:31.000Z
azure-mgmt-hanaonazure/azure/mgmt/hanaonazure/models/network_profile.py
JonathanGailliez/azure-sdk-for-python
f0f051bfd27f8ea512aea6fc0c3212ee9ee0029b
[ "MIT" ]
1
2018-08-28T14:36:47.000Z
2018-08-28T14:36:47.000Z
# 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. # # Code generated by Microsoft (R) AutoRest Code Generator. # Changes ...
34.166667
82
0.622997
ba7801d1f5f5ee8197a3e1a36f0a7498109e67ac
376
py
Python
send_status_report.py
jonathanzong/dmca
70157cff983310e5951024aa80e99e7a5404d758
[ "MIT" ]
2
2022-02-16T22:50:06.000Z
2022-02-21T19:38:02.000Z
send_status_report.py
jonathanzong/dmca
70157cff983310e5951024aa80e99e7a5404d758
[ "MIT" ]
2
2022-02-01T05:48:07.000Z
2022-02-01T05:49:29.000Z
send_status_report.py
jonathanzong/bartleby
70157cff983310e5951024aa80e99e7a5404d758
[ "MIT" ]
null
null
null
from app.controllers.debriefing_controller import * ENV = os.environ['CS_ENV'] BASE_DIR = os.path.dirname(os.path.realpath(__file__)) CONFIG_DIR = os.path.join(BASE_DIR, "config") db_engine = DbEngine(CONFIG_DIR + "/{env}.json".format(env=ENV)) sce = DebriefingController(db_engine=db_engine) sce.send_debriefing_sta...
34.181818
79
0.779255
ba7896e39b36a9f391aa37af0d8d529de9f57847
579
py
Python
plugins/modules/files_attributes.py
manala/ansible-roles
30dc7d0bcea10ac4b38c6ad85ad66dbd098131f4
[ "MIT" ]
138
2017-05-18T13:45:45.000Z
2022-03-23T02:33:45.000Z
plugins/modules/files_attributes.py
manala/ansible-roles
30dc7d0bcea10ac4b38c6ad85ad66dbd098131f4
[ "MIT" ]
159
2017-05-11T09:05:26.000Z
2022-03-04T07:36:59.000Z
plugins/modules/files_attributes.py
manala/ansible-roles
30dc7d0bcea10ac4b38c6ad85ad66dbd098131f4
[ "MIT" ]
35
2017-06-29T09:01:42.000Z
2021-11-18T11:35:00.000Z
#!/usr/bin/python # GNU General Public License v3.0+ (see COPYING or https://www.gnu.org/licenses/gpl-3.0.txt) # This is a virtual module that is entirely implemented as an action plugin and runs on the controller from __future__ import absolute_import, division, print_function __metaclass__ = type DOCUMENTATION =...
22.269231
102
0.746114
ba789751fb619c5a56d2ae47a8867007a22bc98c
1,454
py
Python
train.py
JackYangzg/pytorch-ddpg
96838a40dd6992a0a18065a5edafbefc6bb0ac69
[ "Apache-2.0" ]
1
2018-07-31T03:00:42.000Z
2018-07-31T03:00:42.000Z
train.py
JackYangzg/pytorch-ddpg
96838a40dd6992a0a18065a5edafbefc6bb0ac69
[ "Apache-2.0" ]
null
null
null
train.py
JackYangzg/pytorch-ddpg
96838a40dd6992a0a18065a5edafbefc6bb0ac69
[ "Apache-2.0" ]
1
2018-07-31T03:01:11.000Z
2018-07-31T03:01:11.000Z
import time from memory import Memory from constfile.constkey import * from constfile.ddpgqueue import fifo, model_queue from ddpg import DDPG from utils.configsupport import config from utils.logsupport import log
29.673469
93
0.581155
ba79b2422cf56667368b3ef2dbac850bed5b6ef4
1,210
py
Python
tests/ui/menus/test_opmenu.py
Hengle/Houdini-Toolbox
a1fd7d3dd73d3fc4cea78e29aeff1d190c41bae3
[ "MIT" ]
136
2015-01-03T04:03:23.000Z
2022-02-07T11:08:57.000Z
tests/ui/menus/test_opmenu.py
Hengle/Houdini-Toolbox
a1fd7d3dd73d3fc4cea78e29aeff1d190c41bae3
[ "MIT" ]
11
2017-02-09T20:05:04.000Z
2021-01-24T22:25:59.000Z
tests/ui/menus/test_opmenu.py
Hengle/Houdini-Toolbox
a1fd7d3dd73d3fc4cea78e29aeff1d190c41bae3
[ "MIT" ]
26
2015-08-18T12:11:02.000Z
2020-12-19T01:53:31.000Z
"""Tests for ht.ui.menus.opmenu module.""" # ============================================================================= # IMPORTS # ============================================================================= # Houdini Toolbox import ht.ui.menus.opmenu # Houdini import hou # ====================================...
28.809524
80
0.547934
ba79e5fe89b9d57ae528aede86d40e9576c55ee5
1,163
py
Python
functions/s3_public_block/lambda_handler.py
smoketurner/sam_controltower_api
80ad443295cb03c92e4a8543f7a857b835eae91d
[ "MIT" ]
3
2020-09-14T02:29:23.000Z
2022-03-04T18:08:00.000Z
functions/s3_public_block/lambda_handler.py
smoketurner/sam_controltower_api
80ad443295cb03c92e4a8543f7a857b835eae91d
[ "MIT" ]
28
2020-08-04T11:09:25.000Z
2020-10-19T05:45:13.000Z
functions/s3_public_block/lambda_handler.py
smoketurner/sam-controltower-api
80ad443295cb03c92e4a8543f7a857b835eae91d
[ "MIT" ]
null
null
null
#!/usr/bin/env python # -*- coding: utf-8 -*- from typing import Dict, Any import warnings from aws_lambda_powertools import Logger, Metrics, Tracer from aws_lambda_powertools.utilities.typing import LambdaContext from sts import STS warnings.filterwarnings("ignore", "No metrics to publish*") tracer = Tracer() log...
27.046512
73
0.701634
ba7a4ee03e9a6e00daea2bc18940285669626d9e
3,173
py
Python
Solutions/165_ Compare Version Numbers.py
Jian-jobs/Jian-leetcode_python3
84d71ab9a9c3cf13345b36bde2fe89ccf0575c43
[ "Apache-2.0" ]
3
2022-02-28T00:01:13.000Z
2022-02-28T00:01:43.000Z
Solutions/165_ Compare Version Numbers.py
Jian-jobs/Jian-leetcode_python3
84d71ab9a9c3cf13345b36bde2fe89ccf0575c43
[ "Apache-2.0" ]
null
null
null
Solutions/165_ Compare Version Numbers.py
Jian-jobs/Jian-leetcode_python3
84d71ab9a9c3cf13345b36bde2fe89ccf0575c43
[ "Apache-2.0" ]
null
null
null
''' 165. Compare Version Numbers https://leetcode.com/problems/compare-version-numbers/ Compare two version numbers version1 and version2. If version1 > version2 return 1; if version1 < version2 return -1; otherwise return 0. You may assume that the version strings are: non-empty and contain only digits and the . ch...
27.119658
101
0.653325
ba7bff1142fef326f9dc106d5d72ea722359ed53
106
py
Python
bgp/apps.py
maznu/peering-manager
d249fcf530f4cc48b39429badb79bc203e0148ba
[ "Apache-2.0" ]
127
2017-10-12T00:27:45.000Z
2020-08-07T11:13:55.000Z
bgp/apps.py
maznu/peering-manager
d249fcf530f4cc48b39429badb79bc203e0148ba
[ "Apache-2.0" ]
247
2017-12-26T12:55:34.000Z
2020-08-08T11:57:35.000Z
bgp/apps.py
maznu/peering-manager
d249fcf530f4cc48b39429badb79bc203e0148ba
[ "Apache-2.0" ]
63
2017-10-13T06:46:05.000Z
2020-08-08T00:41:57.000Z
from django.apps import AppConfig
15.142857
33
0.698113
ba7d6569b98034bad2ad31395a013ce263d3be7f
1,578
py
Python
src/pygram11/__init__.py
drdavis/pygram11
607e6e7bac3b136e1fbfecd490836b07a647d9de
[ "MIT" ]
15
2019-02-08T22:51:13.000Z
2019-03-24T16:31:32.000Z
src/pygram11/__init__.py
drdavis/pygram11
607e6e7bac3b136e1fbfecd490836b07a647d9de
[ "MIT" ]
null
null
null
src/pygram11/__init__.py
drdavis/pygram11
607e6e7bac3b136e1fbfecd490836b07a647d9de
[ "MIT" ]
1
2019-06-25T06:32:46.000Z
2019-06-25T06:32:46.000Z
"""Simple and fast histogramming in Python. MIT License Copyright (c) 2021 Douglas Davis Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rig...
27.684211
68
0.756654
ba7e1b948c3d8f3415ada437226c858d6a1d9126
2,371
py
Python
lib/googlecloudsdk/command_lib/notebooks/completers.py
google-cloud-sdk-unofficial/google-cloud-sdk
2a48a04df14be46c8745050f98768e30474a1aac
[ "Apache-2.0" ]
2
2019-11-10T09:17:07.000Z
2019-12-18T13:44:08.000Z
lib/googlecloudsdk/command_lib/notebooks/completers.py
google-cloud-sdk-unofficial/google-cloud-sdk
2a48a04df14be46c8745050f98768e30474a1aac
[ "Apache-2.0" ]
null
null
null
lib/googlecloudsdk/command_lib/notebooks/completers.py
google-cloud-sdk-unofficial/google-cloud-sdk
2a48a04df14be46c8745050f98768e30474a1aac
[ "Apache-2.0" ]
1
2020-07-25T01:40:19.000Z
2020-07-25T01:40:19.000Z
# -*- coding: utf-8 -*- # # Copyright 2020 Google LLC. 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 requir...
34.867647
80
0.752847
ba7e8f6d3b4384ab3bd77d2c157d524f030e058b
39,583
py
Python
src/slam/FactorGraphSolver.py
MarineRoboticsGroup/NF-iSAM
52a09c72deda1043a2e8a2c93c34eb8e01f40ea4
[ "MIT" ]
10
2021-09-27T16:29:12.000Z
2022-03-23T23:03:20.000Z
src/slam/FactorGraphSolver.py
MarineRoboticsGroup/NF-iSAM
52a09c72deda1043a2e8a2c93c34eb8e01f40ea4
[ "MIT" ]
1
2022-03-26T15:35:33.000Z
2022-03-28T04:36:42.000Z
src/slam/FactorGraphSolver.py
MarineRoboticsGroup/NF-iSAM
52a09c72deda1043a2e8a2c93c34eb8e01f40ea4
[ "MIT" ]
1
2022-03-23T23:10:34.000Z
2022-03-23T23:10:34.000Z
import json import os import time from copy import deepcopy import TransportMaps.Distributions as dist import TransportMaps.Likelihoods as like from typing import List, Dict from matplotlib import pyplot as plt from factors.Factors import Factor, ExplicitPriorFactor, ImplicitPriorFactor, \ LikelihoodFactor, Bina...
42.380086
131
0.577192
ba7f5c9e608b85594f2b7af64f208fba5c6ba4d1
1,387
py
Python
cogs/tts/aquestalk.py
tuna2134/rt-bot-sdk
79162688e06c30599e74ae881fff102304124474
[ "BSD-4-Clause" ]
null
null
null
cogs/tts/aquestalk.py
tuna2134/rt-bot-sdk
79162688e06c30599e74ae881fff102304124474
[ "BSD-4-Clause" ]
null
null
null
cogs/tts/aquestalk.py
tuna2134/rt-bot-sdk
79162688e06c30599e74ae881fff102304124474
[ "BSD-4-Clause" ]
null
null
null
# RT TTS - AquesTalk import asyncio from .openjtalk import _synthe SyntheError = type("SyntheError", (Exception,), {}) libs = {} def load_libs(paths: dict) -> None: """AquesTalk `libs` `synthe` Parameters ---------- paths : Dict[str, str] AquesTalk""" for name, path in pat...
20.701493
67
0.583273
ba80c588d77ed7e6848728b9f99b17bd58b5ff5f
2,192
py
Python
scrapy_queue/queue.py
parker-pu/scrapy-queue
4fdf0153e05c9904fd8518aca775441c87ddf466
[ "BSD-3-Clause" ]
1
2019-06-19T09:38:26.000Z
2019-06-19T09:38:26.000Z
scrapy_queue/queue.py
parker-pu/scrapy_queue
4fdf0153e05c9904fd8518aca775441c87ddf466
[ "BSD-3-Clause" ]
null
null
null
scrapy_queue/queue.py
parker-pu/scrapy_queue
4fdf0153e05c9904fd8518aca775441c87ddf466
[ "BSD-3-Clause" ]
null
null
null
# -*- coding: utf-8 -*- """ Redis """ import logging from scrapy_queue import connection from scrapy_queue.utils import get_index_arr logger = logging.getLogger(__name__)
28.102564
96
0.533303
ba812d7a6296df31b380ebbd757a9eb4116dafb2
3,347
py
Python
proc/rock_model_demo_latest.py
nisarkhanatwork/rocksample_deeprl
ef51b0234601ccb450aaf4b9ccfc6fbdc0c4cf20
[ "MIT" ]
null
null
null
proc/rock_model_demo_latest.py
nisarkhanatwork/rocksample_deeprl
ef51b0234601ccb450aaf4b9ccfc6fbdc0c4cf20
[ "MIT" ]
null
null
null
proc/rock_model_demo_latest.py
nisarkhanatwork/rocksample_deeprl
ef51b0234601ccb450aaf4b9ccfc6fbdc0c4cf20
[ "MIT" ]
null
null
null
#!/usr/bin/env python # coding: utf-8 import time #https://stackoverflow.com/questions/714063/importing-modules-from-parent-folder import sys sys.path.insert(0,'../gym') import numpy as np from support import * from model import * if __name__ == '__main__': import argparse parser = argparse.ArgumentParser(...
31.87619
90
0.598745
ba81c485c843d10d4436ea1652179b5715124c2b
172
py
Python
beginner_contest/049/B.py
FGtatsuro/myatcoder
25a3123be6a6311e7d1c25394987de3e35575ff4
[ "MIT" ]
null
null
null
beginner_contest/049/B.py
FGtatsuro/myatcoder
25a3123be6a6311e7d1c25394987de3e35575ff4
[ "MIT" ]
null
null
null
beginner_contest/049/B.py
FGtatsuro/myatcoder
25a3123be6a6311e7d1c25394987de3e35575ff4
[ "MIT" ]
null
null
null
import sys input = sys.stdin.readline sys.setrecursionlimit(10 ** 7) h, w = map(int, input().split()) for i in range(h): c = input().strip() print(c) print(c)
17.2
32
0.616279
ba81f31f40fcfb95bb592d0946c0dd4a71c9a4b2
500
py
Python
Curso_Em_Video_Python/ex013.py
ThallesTorres/Curso_Em_Video_Python
95ffbff5a03f11fee41df746604dfe435f385a3b
[ "MIT" ]
null
null
null
Curso_Em_Video_Python/ex013.py
ThallesTorres/Curso_Em_Video_Python
95ffbff5a03f11fee41df746604dfe435f385a3b
[ "MIT" ]
null
null
null
Curso_Em_Video_Python/ex013.py
ThallesTorres/Curso_Em_Video_Python
95ffbff5a03f11fee41df746604dfe435f385a3b
[ "MIT" ]
null
null
null
print(''' -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- --Seja bem-vindo! --Exerccio 013 -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- ''') salario = float(input('Digite o salrio: R$')) aumento = float(input('Digite a porcentagem do aumento: ')) total = salario * aumento / 100 input(f'Aumento: R${total:.2f} \nAumento + Salrio:...
27.777778
79
0.452
ba83540ec91871ea2e3b033b8b4ec6bbe1b71828
54,599
py
Python
adspygoogle/adwords/AdWordsClient.py
nearlyfreeapps/python-googleadwords
b30d90f74248cfd5ca52967e9ee77fc4cd1b9abc
[ "Apache-2.0" ]
2
2020-03-24T10:02:39.000Z
2020-04-22T09:01:59.000Z
adspygoogle/adwords/AdWordsClient.py
nearlyfreeapps/python-googleadwords
b30d90f74248cfd5ca52967e9ee77fc4cd1b9abc
[ "Apache-2.0" ]
null
null
null
adspygoogle/adwords/AdWordsClient.py
nearlyfreeapps/python-googleadwords
b30d90f74248cfd5ca52967e9ee77fc4cd1b9abc
[ "Apache-2.0" ]
null
null
null
#!/usr/bin/python # # Copyright 2010 Google Inc. 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 b...
35.944042
80
0.645378
ba83c2fb9d2c8ce03f2a5d4bdae6d509984108e4
1,136
py
Python
server/app/admin/views_loginlog.py
jamesyangget/WeChat-Mini-Program-Face-Recognition
53eba5e18654b477b848b0e22a743b0ae3098342
[ "MIT" ]
19
2019-07-10T09:36:22.000Z
2020-07-05T09:18:06.000Z
server/app/admin/views_loginlog.py
jamesyangget/WeChat-Mini-Program-face-recognition
53eba5e18654b477b848b0e22a743b0ae3098342
[ "MIT" ]
1
2020-07-03T03:20:52.000Z
2020-08-02T10:46:21.000Z
server/app/admin/views_loginlog.py
llxlr/WeChat-Mini-Program-Face-Recognition
53eba5e18654b477b848b0e22a743b0ae3098342
[ "MIT" ]
7
2019-07-10T03:13:41.000Z
2020-07-19T01:51:41.000Z
# -*- coding: utf-8 -*- import pymongo import tornado.gen import tornado.concurrent from app.admin.views_admin import AdminHandler from bson.objectid import ObjectId # #
27.047619
63
0.628521
ba83dfc67c0f43b3ac93a551683c1a2ad13ec950
1,348
py
Python
app/commands/footprint.py
BartekSzpak/adversary
231caf58722a5641dd08afe354f2760e89699f3a
[ "Apache-2.0", "CC0-1.0" ]
22
2019-06-08T11:00:02.000Z
2021-09-10T10:22:20.000Z
app/commands/footprint.py
BartekSzpak/adversary
231caf58722a5641dd08afe354f2760e89699f3a
[ "Apache-2.0", "CC0-1.0" ]
39
2019-04-28T13:28:58.000Z
2020-07-28T00:49:45.000Z
app/commands/footprint.py
BartekSzpak/adversary
231caf58722a5641dd08afe354f2760e89699f3a
[ "Apache-2.0", "CC0-1.0" ]
11
2019-04-29T00:58:35.000Z
2021-06-28T02:18:48.000Z
from plugins.adversary.app.commands.command import CommandLine from typing import Callable, Tuple from plugins.adversary.app.commands import parsers
64.190476
120
0.589021
ba83e623f6a24c365a0bdff2420df7abb9e275a9
54,639
py
Python
PyLibFTDI/_ftd2xx64.py
paretech/PyLibFTDI
b0c3a1196e36a3820b950f1fd0cbd3a917365322
[ "Unlicense" ]
2
2019-03-04T16:10:28.000Z
2020-01-29T22:36:53.000Z
PyLibFTDI/_ftd2xx64.py
paretech/PyLibFTDI
b0c3a1196e36a3820b950f1fd0cbd3a917365322
[ "Unlicense" ]
null
null
null
PyLibFTDI/_ftd2xx64.py
paretech/PyLibFTDI
b0c3a1196e36a3820b950f1fd0cbd3a917365322
[ "Unlicense" ]
null
null
null
# generated by 'clang2py' # flags '-c -d -l ftd2xx64.dll ftd2xx.h -vvv -o _ftd2xx64.py' # -*- coding: utf-8 -*- # # TARGET arch is: [] # WORD_SIZE is: 4 # POINTER_SIZE is: 8 # LONGDOUBLE_SIZE is: 8 # import ctypes # if local wordsize is same as target, keep ctypes pointer function. if ctypes.sizeof(ctypes.c_void_p) =...
42.192278
193
0.750984
ba84dce9cdb94b7aecc1455ec03b4a4a56c913e6
1,175
py
Python
core/tests/test_models.py
CezarPoeta/Fusion
284880274f0a62512924207931c1f2a9107f1552
[ "MIT" ]
null
null
null
core/tests/test_models.py
CezarPoeta/Fusion
284880274f0a62512924207931c1f2a9107f1552
[ "MIT" ]
null
null
null
core/tests/test_models.py
CezarPoeta/Fusion
284880274f0a62512924207931c1f2a9107f1552
[ "MIT" ]
null
null
null
import uuid from django.test import TestCase from model_mommy import mommy from core.models import get_file_path
24.479167
76
0.697021
ba856f767712a718801674d620e6587da0355c39
456
py
Python
main.py
hf-zhu/v2ex-action
69675f72959b87b2052cea12ad6f4b2460c03d3b
[ "MIT" ]
null
null
null
main.py
hf-zhu/v2ex-action
69675f72959b87b2052cea12ad6f4b2460c03d3b
[ "MIT" ]
null
null
null
main.py
hf-zhu/v2ex-action
69675f72959b87b2052cea12ad6f4b2460c03d3b
[ "MIT" ]
null
null
null
from actions_toolkit import core from app.action import Action if __name__ == '__main__': try: input_hook = core.get_input('webhook', required=True) input_secret = core.get_input('secret') count_str = core.get_input('count') input_count = int(count_str) if count_str else 8 ...
28.5
62
0.666667
ba865b964f8985274262c81b8b78ec72c04cf253
2,310
py
Python
loss_fn.py
aoru45/Deep-Anomaly-Detection-for-Generalized-Face-Anti-Spoofing
bd6a91fc82ad197681cdf0bf52fa1a4c61348ad7
[ "MIT" ]
17
2020-09-11T00:48:07.000Z
2022-03-20T11:27:46.000Z
loss_fn.py
aoru45/Deep-Anomaly-Detection-for-Generalized-Face-Anti-Spoofing
bd6a91fc82ad197681cdf0bf52fa1a4c61348ad7
[ "MIT" ]
1
2021-07-16T03:13:36.000Z
2021-07-16T03:13:36.000Z
loss_fn.py
aoru45/Deep-Anomaly-Detection-for-Generalized-Face-Anti-Spoofing
bd6a91fc82ad197681cdf0bf52fa1a4c61348ad7
[ "MIT" ]
2
2021-02-22T13:08:58.000Z
2022-03-20T11:27:47.000Z
import torch import torch.nn as nn import torch.nn.functional as F def hard_samples_mining(f_anchor,f_positive, f_negative, margin): d_ap = torch.norm(f_anchor - f_positive, dim = 1) d_an = torch.norm(f_anchor - f_negative, dim = 1) idx = (d_ap - d_an) < margin return idx def renorm(x): return x....
39.827586
145
0.642424
ba87c6200c3589812eddf0e71c34e444b157cf48
3,098
py
Python
nicos/services/daemon/auth/params.py
ebadkamil/nicos
0355a970d627aae170c93292f08f95759c97f3b5
[ "CC-BY-3.0", "Apache-2.0", "CC-BY-4.0" ]
12
2019-11-06T15:40:36.000Z
2022-01-01T16:23:00.000Z
nicos/services/daemon/auth/params.py
ebadkamil/nicos
0355a970d627aae170c93292f08f95759c97f3b5
[ "CC-BY-3.0", "Apache-2.0", "CC-BY-4.0" ]
4
2019-11-08T10:18:16.000Z
2021-01-13T13:07:29.000Z
nicos/services/daemon/auth/params.py
ISISComputingGroup/nicos
94cb4d172815919481f8c6ee686f21ebb76f2068
[ "CC-BY-3.0", "Apache-2.0", "CC-BY-4.0" ]
6
2020-01-11T10:52:30.000Z
2022-02-25T12:35:23.000Z
# -*- coding: utf-8 -*- # ***************************************************************************** # NICOS, the Networked Instrument Control System of the MLZ # Copyright (c) 2009-2021 by the NICOS contributors (see AUTHORS) # # This program is free software; you can redistribute it and/or modify it under # the t...
37.780488
85
0.619109
ba89e46cb7b198230588c6ad3dbe9da739f2000e
5,388
py
Python
ircbot.py
ProgrammingAce/ircbot
51c0a290c22b55dbf774af4f49727f3ec9b71cee
[ "Apache-2.0" ]
13
2016-01-07T08:27:55.000Z
2020-12-18T05:43:12.000Z
ircbot.py
ProgrammingAce/ircbot
51c0a290c22b55dbf774af4f49727f3ec9b71cee
[ "Apache-2.0" ]
null
null
null
ircbot.py
ProgrammingAce/ircbot
51c0a290c22b55dbf774af4f49727f3ec9b71cee
[ "Apache-2.0" ]
8
2015-10-27T21:17:04.000Z
2020-12-18T05:43:08.000Z
#! /usr/bin/env python import os import ssl import sys import bs4 import time import json import socket import urllib2 import requests import threading import subprocess from rottentomatoes import RT # Setup the IRC connection irc = socket.socket() irc = ssl.wrap_socket(irc) # List of currently active threads threa...
32.263473
194
0.562918
ba89f954d806037eb63624a75ccc9ba5da6b6b7f
4,137
py
Python
cron_callback.py
orzechow/simple_time_tracker
ae4054735231064dea5af9f1489d7d30bc5b3d98
[ "MIT" ]
null
null
null
cron_callback.py
orzechow/simple_time_tracker
ae4054735231064dea5af9f1489d7d30bc5b3d98
[ "MIT" ]
null
null
null
cron_callback.py
orzechow/simple_time_tracker
ae4054735231064dea5af9f1489d7d30bc5b3d98
[ "MIT" ]
null
null
null
#!/usr/bin/python3 import time import os import subprocess import argparse # constants DATE_FORMAT = "%Y-%m-%d %H:%M" ALERT_STRING = "alerted" LUNCH_BREAK_DURATION = 1 INFO_WORKING_DURATION = 7 INFO_MESSAGE = "Time to finish open todos" ALERT_WORKING_DURATION = 8 ALERT_MESSAGE = "Time to go home :-)" # parse comma...
36.9375
122
0.672951
ba8a1513551bebe84bdf98e23778c86e46fc56d6
3,735
py
Python
auto_plot_curve.py
yuxuanwu17/m6A_reader
c0b48c9bc2041ba4f90cebac2a48a0a6348c5173
[ "MIT" ]
3
2020-10-02T09:49:53.000Z
2022-02-11T04:15:52.000Z
auto_plot_curve.py
yuxuanwu17/m6A_reader
c0b48c9bc2041ba4f90cebac2a48a0a6348c5173
[ "MIT" ]
null
null
null
auto_plot_curve.py
yuxuanwu17/m6A_reader
c0b48c9bc2041ba4f90cebac2a48a0a6348c5173
[ "MIT" ]
null
null
null
import numpy as np import tensorflow as tf from sklearn.metrics import precision_recall_curve, roc_curve from sklearn.metrics import average_precision_score, auc from load_data import load_data from model import build_model, compileModel, build_model_CNN from numpy import interp from itertools import cycle import matpl...
32.763158
111
0.572155
ba8a89e49ad1ef9c9861e0ea5fe8940af4390c30
545
py
Python
hpo/evals/conll18_eval.py
Dayitva/Parser-v3
45754bb722fabefdb18f67ab4c32a41d24114bca
[ "Apache-2.0" ]
93
2018-08-07T02:54:47.000Z
2022-02-14T13:47:52.000Z
hpo/evals/conll18_eval.py
Dayitva/Parser-v3
45754bb722fabefdb18f67ab4c32a41d24114bca
[ "Apache-2.0" ]
10
2019-01-08T02:37:36.000Z
2021-01-09T07:45:02.000Z
hpo/evals/conll18_eval.py
Dayitva/Parser-v3
45754bb722fabefdb18f67ab4c32a41d24114bca
[ "Apache-2.0" ]
29
2018-07-31T09:08:03.000Z
2022-03-16T14:50:13.000Z
from __future__ import absolute_import from __future__ import division from __future__ import print_function import scripts.conll18_ud_eval as ud_eval from scripts.reinsert_compounds import reinsert_compounds def evaluate(gold_filename, sys_filename, metric): """""" reinsert_compounds(gold_filename, sys_filena...
32.058824
66
0.833028
ba8b3a238e421cea0207d0d5d73deb7cfbb9cca7
9,834
py
Python
Spider/supplement_movie.py
Giyn/DoubanMovieRecommendationSystem
f5a4b017a97f72ddbc8657e7d25a7093ac9e6fa2
[ "Apache-2.0" ]
63
2020-07-09T17:30:38.000Z
2022-03-31T02:47:08.000Z
Spider/supplement_movie.py
Timeroo/DoubanMovieRecommendationSystem
f5a4b017a97f72ddbc8657e7d25a7093ac9e6fa2
[ "Apache-2.0" ]
1
2021-01-05T08:19:32.000Z
2021-05-24T13:45:59.000Z
Spider/supplement_movie.py
Timeroo/DoubanMovieRecommendationSystem
f5a4b017a97f72ddbc8657e7d25a7093ac9e6fa2
[ "Apache-2.0" ]
12
2021-03-19T02:44:09.000Z
2022-03-13T00:47:15.000Z
# -*- coding: utf-8 -*- """ Created on Tue May 12 13:10:23 2020 @author: """ import random import re import time import pandas as pd import requests from fake_useragent import UserAgent from lxml import etree ua = UserAgent() def get_html(url): """ @: @: URL @: """ while True: t...
32.032573
197
0.389872
ba8eb6b446da9b5861b5d55aaa9e826bc5dac1a4
894
py
Python
tests/test_doctest.py
allaudet/python-diskcache
2774689c60bac3ebd06246943bca2014779ee2c6
[ "Apache-2.0" ]
null
null
null
tests/test_doctest.py
allaudet/python-diskcache
2774689c60bac3ebd06246943bca2014779ee2c6
[ "Apache-2.0" ]
null
null
null
tests/test_doctest.py
allaudet/python-diskcache
2774689c60bac3ebd06246943bca2014779ee2c6
[ "Apache-2.0" ]
null
null
null
import doctest import shutil import diskcache.core import diskcache.djangocache import diskcache.fanout import diskcache.memo import diskcache.persistent
19.434783
56
0.696868
ba8ec43975beee0acbfab15fc972f5c30fdccd11
8,145
py
Python
model_analyzer.py
yigitozgumus/PolimiRecSys2018
13d0c52d67347da3891f3b829e40128e09d7024a
[ "MIT" ]
null
null
null
model_analyzer.py
yigitozgumus/PolimiRecSys2018
13d0c52d67347da3891f3b829e40128e09d7024a
[ "MIT" ]
12
2019-01-16T18:43:03.000Z
2022-03-11T23:34:58.000Z
model_analyzer.py
yigitozgumus/PolimiRecSys2018
13d0c52d67347da3891f3b829e40128e09d7024a
[ "MIT" ]
null
null
null
from models.Slim_ElasticNet.SlimElasticNetRecommender import SLIMElasticNetRecommender from data.PlaylistDataReader import PlaylistDataReader from utils.logger import Logger from utils.config import clear, Configurator import argparse from utils.OfflineDataLoader import OfflineDataLoader from models.KNN.User_KNN_CFReco...
39.926471
113
0.655003
ba8f7c75d44fb82cfbc18178f7e39c439065bd35
685
py
Python
config/context_processors.py
fbsamples/cp_reference
028b384767d06158a64be8cbb1af613e2f3c881e
[ "MIT" ]
2
2021-09-05T04:21:33.000Z
2021-11-03T20:56:46.000Z
config/context_processors.py
fbsamples/cp_reference
028b384767d06158a64be8cbb1af613e2f3c881e
[ "MIT" ]
null
null
null
config/context_processors.py
fbsamples/cp_reference
028b384767d06158a64be8cbb1af613e2f3c881e
[ "MIT" ]
null
null
null
# Copyright 2004-present, Facebook. All Rights Reserved. from shop.models import Store, MerchantToStores from django.conf import settings
32.619048
71
0.712409
ba901ef7853b226dc25cfdef75d05fc9050e5648
8,463
py
Python
engine/project.py
thegrafico/annoying-app
7631af99885d9a68216bced6e8595c221950cd20
[ "MIT" ]
null
null
null
engine/project.py
thegrafico/annoying-app
7631af99885d9a68216bced6e8595c221950cd20
[ "MIT" ]
null
null
null
engine/project.py
thegrafico/annoying-app
7631af99885d9a68216bced6e8595c221950cd20
[ "MIT" ]
null
null
null
""" Raul Pichardo devpichardo@gmail.com App to project managments the project of the CoRe Lab """ # TODO: improve task for users from engine.task import Task from typing import List # ========================================== # END # New comment # if __name__ == "__main__": # # creation of user # jose = ...
30.886861
116
0.538107
ba902e13fa38f2d48dee6ee78ad8615cef0e6563
591
py
Python
OverApp/migrations/0004_auto_20160617_1924.py
sheissage/overnightasiasg
83351e51b26a0ff3759030d5165cc87e987ff07d
[ "Apache-2.0" ]
null
null
null
OverApp/migrations/0004_auto_20160617_1924.py
sheissage/overnightasiasg
83351e51b26a0ff3759030d5165cc87e987ff07d
[ "Apache-2.0" ]
null
null
null
OverApp/migrations/0004_auto_20160617_1924.py
sheissage/overnightasiasg
83351e51b26a0ff3759030d5165cc87e987ff07d
[ "Apache-2.0" ]
null
null
null
# -*- coding: utf-8 -*- # Generated by Django 1.9.2 on 2016-06-17 19:24 from __future__ import unicode_literals from django.db import migrations, models
23.64
64
0.604061
ba908100f099c9a084d3eb406becd1ff65db3db3
2,357
py
Python
mendec/utils.py
biojet1/mendec
eecb62a90c038344cd4304c5ba680756d83a991c
[ "MIT" ]
null
null
null
mendec/utils.py
biojet1/mendec
eecb62a90c038344cd4304c5ba680756d83a991c
[ "MIT" ]
3
2021-02-01T19:47:59.000Z
2022-02-11T09:38:52.000Z
mendec/utils.py
biojet1/mendec
eecb62a90c038344cd4304c5ba680756d83a991c
[ "MIT" ]
null
null
null
""" Copied from Python-RSA """ from binascii import hexlify from struct import pack from os import urandom ######### def read_random_bits(nbits): """Reads 'nbits' random bits. If nbits isn't a whole number of bytes, an extra byte will be appended with only the lower bits set. """ nbytes, rb...
22.028037
79
0.610098
ba929360696b6edf5a6ea4d1c28a8dae5537d68d
466
py
Python
detect.py
nemero/py_neural
87f151097f8c331a06f13b96c4cec9a1ee663abf
[ "MIT" ]
null
null
null
detect.py
nemero/py_neural
87f151097f8c331a06f13b96c4cec9a1ee663abf
[ "MIT" ]
1
2017-01-18T18:35:03.000Z
2017-01-25T08:55:49.000Z
detect.py
nemero/py_neural
87f151097f8c331a06f13b96c4cec9a1ee663abf
[ "MIT" ]
null
null
null
# coding: utf8 import numpy as np from loadsample import * np.set_printoptions(suppress=True) #load sinapse syn0 = np.load('synapse/syn0.npy') syn1 = np.load('synapse/syn1.npy') X = np.array(collection,dtype=float) # 0, 1 2 l0 = X l1 = nonlin(np.dot(l0,syn0)) l2 = nonlin(np.dot(l1,syn1)) print teacher print ...
16.642857
36
0.684549
ba931071fdd02952fdba1d3ce24b26d1e4b90323
2,145
py
Python
code.py
PRITHVIRAJ1997/reconcile-a-report-using-pandas-2
4f63da7912c10fcbfc5e3d974e355d38a624bb9f
[ "MIT" ]
null
null
null
code.py
PRITHVIRAJ1997/reconcile-a-report-using-pandas-2
4f63da7912c10fcbfc5e3d974e355d38a624bb9f
[ "MIT" ]
null
null
null
code.py
PRITHVIRAJ1997/reconcile-a-report-using-pandas-2
4f63da7912c10fcbfc5e3d974e355d38a624bb9f
[ "MIT" ]
null
null
null
# -------------- import numpy as np import pandas as pd import matplotlib.pyplot as plt import seaborn as sns # Code starts here df=pd.read_csv(path) df["state"]=df["state"].apply(lambda x: x.lower()) df['total']=df['Jan']+df['Feb']+df['Mar'] sum_var={col: df[col].sum() for col in df} sum_row=pd.DataFrame(sum_var,ind...
19.5
114
0.647552
ba9319bd3328cbb4c536001b79a501c346398585
428
py
Python
scrubby/db/provider/null_provider.py
typerandom/scrubby
5cccfad6c735828e6eec1452162a4e58aea917a9
[ "MIT" ]
2
2019-05-27T22:28:21.000Z
2021-02-19T11:37:11.000Z
scrubby/db/provider/null_provider.py
typerandom/scrubby
5cccfad6c735828e6eec1452162a4e58aea917a9
[ "MIT" ]
1
2021-03-25T21:27:34.000Z
2021-03-25T21:27:34.000Z
scrubby/db/provider/null_provider.py
typerandom/scrubby
5cccfad6c735828e6eec1452162a4e58aea917a9
[ "MIT" ]
null
null
null
from .provider import Provider
18.608696
58
0.619159
ba932562d2314fc6f7542276b01a0114d7c02d4a
675
py
Python
xiuhong_ms_hbond_code/Stable-MCCE/bin/verify_ftpl.py
caixiuhong/Develop-MCCE
31df6d22b8aac9a10c1e5c7809913b63ba83d23b
[ "MIT" ]
null
null
null
xiuhong_ms_hbond_code/Stable-MCCE/bin/verify_ftpl.py
caixiuhong/Develop-MCCE
31df6d22b8aac9a10c1e5c7809913b63ba83d23b
[ "MIT" ]
36
2019-06-03T20:30:45.000Z
2020-04-17T19:17:26.000Z
xiuhong_ms_hbond_code/Stable-MCCE/bin/verify_ftpl.py
caixiuhong/Develop-MCCE
31df6d22b8aac9a10c1e5c7809913b63ba83d23b
[ "MIT" ]
6
2019-06-03T16:56:43.000Z
2020-01-09T03:32:31.000Z
#!/usr/bin/env python """ This program verifies one ftpl file over the ligand pdb file, and writes out the mcce pdb file. """ import sys from pymccelib import * import logging if __name__ == "__main__": logging.basicConfig(level=logging.INFO, format='%(levelname)-s: %(message)s') if len(sys.argv) < 3: ...
25
95
0.660741
ba938330dbea07848f6aeb3c07cc530fe95b7587
914
py
Python
src/api/controllers/connection/CheckConnectionDatabaseResource.py
PythonDataIntegrator/pythondataintegrator
6167778c36c2295e36199ac0d4d256a4a0c28d7a
[ "MIT" ]
14
2020-12-19T15:06:13.000Z
2022-01-12T19:52:17.000Z
src/api/controllers/connection/CheckConnectionDatabaseResource.py
PythonDataIntegrator/pythondataintegrator
6167778c36c2295e36199ac0d4d256a4a0c28d7a
[ "MIT" ]
43
2021-01-06T22:05:22.000Z
2022-03-10T10:30:30.000Z
src/api/controllers/connection/CheckConnectionDatabaseResource.py
PythonDataIntegrator/pythondataintegrator
6167778c36c2295e36199ac0d4d256a4a0c28d7a
[ "MIT" ]
4
2020-12-18T23:10:09.000Z
2021-04-02T13:03:12.000Z
from injector import inject from domain.connection.CheckDatabaseConnection.CheckDatabaseConnectionCommand import CheckDatabaseConnectionCommand from domain.connection.CheckDatabaseConnection.CheckDatabaseConnectionRequest import CheckDatabaseConnectionRequest from infrastructure.api.ResourceBase import ResourceBase fr...
38.083333
115
0.762582
ba94b8d454521a32f19d17bede93c216fb9a272e
148
py
Python
Python/BasicDataTypes/finding_the_percentage.py
rho2/HackerRank
4d9cdfcabeb20212db308d8e4f2ac1b8ebf7d266
[ "MIT" ]
null
null
null
Python/BasicDataTypes/finding_the_percentage.py
rho2/HackerRank
4d9cdfcabeb20212db308d8e4f2ac1b8ebf7d266
[ "MIT" ]
null
null
null
Python/BasicDataTypes/finding_the_percentage.py
rho2/HackerRank
4d9cdfcabeb20212db308d8e4f2ac1b8ebf7d266
[ "MIT" ]
null
null
null
l = {} for _ in range(int(input())): s = input().split() l[s[0]] = sum([float(a) for a in s[1:]])/(len(s)-1) print('%.2f' % l[input()])
24.666667
55
0.466216
ba95b0f8dc9be866d1181ebc59b07f057e735c50
1,196
py
Python
pstd/pstd_using_numba.py
FRidh/pstd
1e8f047dda34eac80cbc11b1a261299052e91de6
[ "BSD-3-Clause" ]
5
2018-01-01T03:04:09.000Z
2022-02-12T13:32:36.000Z
pstd/pstd_using_numba.py
FRidh/pstd
1e8f047dda34eac80cbc11b1a261299052e91de6
[ "BSD-3-Clause" ]
1
2022-01-17T11:08:47.000Z
2022-01-17T11:08:47.000Z
pstd/pstd_using_numba.py
FRidh/pstd
1e8f047dda34eac80cbc11b1a261299052e91de6
[ "BSD-3-Clause" ]
null
null
null
""" This module contains a Numba-accelerated implementation of the k-space PSTD method. """ import numba from . import pstd kappa = numba.jit(pstd.kappa) # abs_exp = numba.jit(pstd.abs_exp) pressure_abs_exp = numba.jit(pstd.pressure_abs_exp) velocity_abs_exp = numba.jit(pstd.velocity_abs_exp) pressure_with_pml = numb...
33.222222
83
0.763378
ba960772bbc18f3035c0e3102e872ebb108481ce
649
py
Python
setup.py
joseppinilla/qca-tools
786591ba5d3542476e7d778d782f69ad165b8d7e
[ "MIT" ]
1
2018-12-05T20:06:59.000Z
2018-12-05T20:06:59.000Z
setup.py
joseppinilla/qca-tools
786591ba5d3542476e7d778d782f69ad165b8d7e
[ "MIT" ]
null
null
null
setup.py
joseppinilla/qca-tools
786591ba5d3542476e7d778d782f69ad165b8d7e
[ "MIT" ]
null
null
null
#!/usr/bin/env python from setuptools import setup packages = ['qca_tools', 'qca_tools.composite'] install_requires = ['networkx>=2.0,<3.0', 'decorator>=4.1.0,<5.0.0', 'dimod>=0.6.8,<0.8.0'] setup(name='qca_tools', version='0.0.1', description='QCA Tools', ...
25.96
89
0.613251
ba966849ffe86a4bf502d4900da93f4bc6b6179d
2,972
py
Python
actionlib-1.11.13/test/simple_action_server_deadlock_companion.py
k-sawa/action_test_case2
40bc1a4f2984dc66392a852ef62d878596274666
[ "BSD-3-Clause" ]
17
2020-03-13T00:10:28.000Z
2021-09-06T17:13:17.000Z
actionlib-1.11.13/test/simple_action_server_deadlock_companion.py
k-sawa/action_test_case2
40bc1a4f2984dc66392a852ef62d878596274666
[ "BSD-3-Clause" ]
1
2020-03-12T08:10:07.000Z
2020-03-12T08:10:07.000Z
actionlib-1.11.13/test/simple_action_server_deadlock_companion.py
k-sawa/action_test_case2
40bc1a4f2984dc66392a852ef62d878596274666
[ "BSD-3-Clause" ]
2
2020-03-13T09:05:32.000Z
2021-08-13T08:28:14.000Z
#! /usr/bin/env python # # Copyright (c) 2013, Miguel Sarabia # Imperial College London # All rights reserved. # # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the following conditions are met: # # * Redistributions of source code must retain the abo...
36.691358
79
0.719717
ba9691a9dd6866c4c77aa9a958f09c19a8311630
1,609
py
Python
src/MusicTheory/ToneAccidentaler.py
ytyaru/Python.Audio.Chord.2017081743
f9bad6c9c013c216aff586bed56ea646f26d1236
[ "CC0-1.0" ]
null
null
null
src/MusicTheory/ToneAccidentaler.py
ytyaru/Python.Audio.Chord.2017081743
f9bad6c9c013c216aff586bed56ea646f26d1236
[ "CC0-1.0" ]
null
null
null
src/MusicTheory/ToneAccidentaler.py
ytyaru/Python.Audio.Chord.2017081743
f9bad6c9c013c216aff586bed56ea646f26d1236
[ "CC0-1.0" ]
null
null
null
#!python3.6 import math import MusicTheory.NaturalTone import MusicTheory.Accidental #NaturalTone+,-
38.309524
104
0.586078
ba9768d4ecd4be4bd22cd3dca07fc092da1cb1ee
4,847
py
Python
app/views/api/Member.py
RedFalsh/flask-example
561b04d31356cf1a4a0324a89ebc4f3dcd94e16c
[ "MIT" ]
1
2019-02-26T07:40:07.000Z
2019-02-26T07:40:07.000Z
app/views/api/Member.py
RedFalsh/flask-example
561b04d31356cf1a4a0324a89ebc4f3dcd94e16c
[ "MIT" ]
null
null
null
app/views/api/Member.py
RedFalsh/flask-example
561b04d31356cf1a4a0324a89ebc4f3dcd94e16c
[ "MIT" ]
null
null
null
#!/usr/bin/env python # encoding: utf-8 from app.views.api import route_api from flask import request,jsonify,g,session import json from app import app,db from app.common.libs.MemberService import MemberService, WXBizDataCrypt from app.common.libs.Helper import getCurrentDate from app.model import Member from app.mo...
31.679739
83
0.627811
ba97cdb62a5afe7e84e6d10f9deb473a487ebf38
12,194
py
Python
Main.py
nntropy/HonoursProject
7fa62ffb65b386706b9f99ccb83f20800393e077
[ "Apache-2.0" ]
null
null
null
Main.py
nntropy/HonoursProject
7fa62ffb65b386706b9f99ccb83f20800393e077
[ "Apache-2.0" ]
null
null
null
Main.py
nntropy/HonoursProject
7fa62ffb65b386706b9f99ccb83f20800393e077
[ "Apache-2.0" ]
null
null
null
# this is the main method for my entire program. import itertools import math import os import sys import numpy as np import pandas as pd import torch import torch.utils.data from Utility import feature_selection as fs from Utility import ngram from Utility.opcodeseq_creator import run_opcode_seq_creatio...
44.181159
133
0.657044
ba97ebd98c75b3164a77593db56e9656f1561853
971
py
Python
exportImage.py
daren-thomas/rps-sample-scripts
584354c8d7ff96348a051e94100a1512c7612027
[ "MIT" ]
27
2015-04-08T14:09:48.000Z
2022-03-12T18:32:04.000Z
exportImage.py
daren-thomas/rps-sample-scripts
584354c8d7ff96348a051e94100a1512c7612027
[ "MIT" ]
null
null
null
exportImage.py
daren-thomas/rps-sample-scripts
584354c8d7ff96348a051e94100a1512c7612027
[ "MIT" ]
12
2015-09-21T23:12:08.000Z
2020-09-29T14:25:55.000Z
''' exportImage.py Export the currently visible view as a PNG image to a location specified by the user. ''' import clr clr.AddReference('RevitAPI') clr.AddReference('RevitAPIUI') from Autodesk.Revit.DB import * doc = __revit__.ActiveUIDocument.Document # collect file location from user clr.AddReference('System.Win...
27.742857
79
0.7724
ba9804d5d3772bdd17ff43dd7883d20b71b1605f
873
py
Python
binary_addition.py
khasanjonovich/basic_algorithm_implemintaions
4c59f78654a01c6a512e536fd344e857f24317a9
[ "Apache-2.0" ]
1
2021-02-20T10:31:00.000Z
2021-02-20T10:31:00.000Z
binary_addition.py
khasanjonovich/basic_algorithm_implemintaions
4c59f78654a01c6a512e536fd344e857f24317a9
[ "Apache-2.0" ]
null
null
null
binary_addition.py
khasanjonovich/basic_algorithm_implemintaions
4c59f78654a01c6a512e536fd344e857f24317a9
[ "Apache-2.0" ]
null
null
null
from base_expansion import base_expansion as be def binary_addition(num1, num2): """Return binary addition""" a = _helper(num1) b = _helper(num2) c = 0 res = [] length = len(a) if len(a) > len(b) else len(b) for i in range(length-1): d = (_get(a, i)+_get(b, i)+c)//2 elem =...
19.840909
50
0.556701
ba993339f61f62810d30570d1823e5a84b8c6c74
48
py
Python
myapp/tasks/__init__.py
jollyshuai/cube-studio
02ee737801f37a78a1b2e49c844c8401b41d9c48
[ "Apache-2.0" ]
1
2022-03-19T14:10:26.000Z
2022-03-19T14:10:26.000Z
myapp/tasks/__init__.py
jollyshuai/cube-studio
02ee737801f37a78a1b2e49c844c8401b41d9c48
[ "Apache-2.0" ]
null
null
null
myapp/tasks/__init__.py
jollyshuai/cube-studio
02ee737801f37a78a1b2e49c844c8401b41d9c48
[ "Apache-2.0" ]
null
null
null
from . import schedules from . import async_task
24
24
0.8125
ba996452d49c6c8d946563cef767674058598694
6,937
py
Python
chroma/tools.py
youngsm/chroma
1e183c26aaff46fb9b0425ad8eef9995ebe0be2c
[ "BSD-3-Clause" ]
7
2018-05-02T08:33:10.000Z
2021-11-15T02:03:01.000Z
chroma/tools.py
youngsm/chroma
1e183c26aaff46fb9b0425ad8eef9995ebe0be2c
[ "BSD-3-Clause" ]
1
2020-08-19T13:43:58.000Z
2020-08-19T13:43:58.000Z
chroma/tools.py
youngsm/chroma
1e183c26aaff46fb9b0425ad8eef9995ebe0be2c
[ "BSD-3-Clause" ]
16
2016-03-25T01:49:26.000Z
2021-09-09T15:51:34.000Z
import numpy as np import time import datetime import sys import math from chroma.transform import normalize def count_nonzero(array): '''Return the number of nonzero elements in this array''' return int((array != 0).sum()) def filled_array(value, shape, dtype): '''Create a numpy array of given `shape` an...
30.292576
118
0.58224
ba9c63feb2e1fedc7fddccb154246959a728718d
34
py
Python
src/qsiprep_analyses/tensors/__init__.py
GalBenZvi/qsiprep_analyses
51512cffca218210f6b85e5eadd593b382963bbd
[ "Apache-2.0" ]
null
null
null
src/qsiprep_analyses/tensors/__init__.py
GalBenZvi/qsiprep_analyses
51512cffca218210f6b85e5eadd593b382963bbd
[ "Apache-2.0" ]
6
2022-03-04T15:28:20.000Z
2022-03-30T09:37:12.000Z
src/qsiprep_analyses/tensors/__init__.py
GalBenZvi/qsiprep_analyses
51512cffca218210f6b85e5eadd593b382963bbd
[ "Apache-2.0" ]
2
2022-03-13T11:07:48.000Z
2022-03-13T11:50:40.000Z
""" Tensor estimation module. """
8.5
25
0.647059
ba9c87b867ab2c89e27378fddda00ad51ec8f632
1,432
py
Python
app/api/copytter/serializers.py
T-8723/copytter
bf27545a010d5fd1e17a38b10adddd22858cbcea
[ "MIT" ]
null
null
null
app/api/copytter/serializers.py
T-8723/copytter
bf27545a010d5fd1e17a38b10adddd22858cbcea
[ "MIT" ]
null
null
null
app/api/copytter/serializers.py
T-8723/copytter
bf27545a010d5fd1e17a38b10adddd22858cbcea
[ "MIT" ]
null
null
null
from rest_framework import serializers from .models import Entry, Follow, Profile from django.contrib.auth.models import User
22.030769
63
0.581006
ba9d5a86221fd85fc24db81edea057d193ddb195
2,085
py
Python
tests/test_proto_import.py
justin-richert/luckycharms
3cc97a5ed76ba835dcadfeda5ccc234cddeb78fb
[ "MIT" ]
null
null
null
tests/test_proto_import.py
justin-richert/luckycharms
3cc97a5ed76ba835dcadfeda5ccc234cddeb78fb
[ "MIT" ]
6
2018-08-30T20:30:14.000Z
2019-08-19T14:07:17.000Z
tests/test_proto_import.py
justin-richert/luckycharms
3cc97a5ed76ba835dcadfeda5ccc234cddeb78fb
[ "MIT" ]
1
2019-12-04T17:50:59.000Z
2019-12-04T17:50:59.000Z
"""Test the logger extension module.""" # pylint: disable=protected-access,redefined-outer-name,unused-variable,invalid-name import importlib import json import sys import google import pytest from marshmallow import fields from conftest import app from luckycharms import base from protobuffers import proto def set...
26.730769
99
0.601918
ba9dfbe154f2d9aec029cc470bf4e08eec020b42
2,860
py
Python
run_vb.py
ManuelSzewc/bayes-4tops
c775171aaf4cf72a536fcc18d3f3ad146b62e499
[ "MIT" ]
1
2021-07-09T18:11:13.000Z
2021-07-09T18:11:13.000Z
run_vb.py
ManuelSzewc/bayes-4tops
c775171aaf4cf72a536fcc18d3f3ad146b62e499
[ "MIT" ]
null
null
null
run_vb.py
ManuelSzewc/bayes-4tops
c775171aaf4cf72a536fcc18d3f3ad146b62e499
[ "MIT" ]
null
null
null
# here i take the data and run one gibbs sampling procedure # inputs are: data_dir output_dir Number of events considered Number of saved samples Burnin Space between samples import os import sys import numpy as np import matplotlib.pyplot as plt from scipy.stats import poisson, norm, bernoulli, expon, uniform, beta, ...
34.457831
173
0.774476
ba9e3b763b7cee61c271377fd94f2d0aea472f64
2,154
py
Python
MLsource/SimpleClassificationModel/source_OLD.py
AIwaffle/AIwaffle
9d7373de4810ea7330d581970a55645999c5064c
[ "MIT" ]
2
2020-03-04T13:51:32.000Z
2020-04-30T22:58:20.000Z
MLsource/SimpleClassificationModel/source_OLD.py
jimmy-zx/AIwaffle
51c89d898502015a00a980a5f53e0c43218eddcd
[ "MIT" ]
4
2020-03-27T15:04:58.000Z
2021-11-05T07:59:36.000Z
MLsource/SimpleClassificationModel/source_OLD.py
jimmy-zx/AIwaffle
51c89d898502015a00a980a5f53e0c43218eddcd
[ "MIT" ]
1
2020-05-31T12:47:52.000Z
2020-05-31T12:47:52.000Z
import numpy as np # linear algebra import torch import torch.nn.functional as F from enum import Enum # demo model = SimpleClassificationModel(3, (2, 3, 1)) model.forward(np.array([1, 2]))
32.149254
99
0.571959
ba9ea81348075859e6add3d9ac0ec7f1ce621f0f
179
py
Python
src/actions_server/__init__.py
rzarajczyk/actions-server
88580df33ee9dd089dab364e9fd90952a607f03d
[ "MIT" ]
null
null
null
src/actions_server/__init__.py
rzarajczyk/actions-server
88580df33ee9dd089dab364e9fd90952a607f03d
[ "MIT" ]
null
null
null
src/actions_server/__init__.py
rzarajczyk/actions-server
88580df33ee9dd089dab364e9fd90952a607f03d
[ "MIT" ]
null
null
null
from .server import * __all__ = [ 'http_server', 'Response', 'Action', 'JsonGet', 'JsonPost', 'Redirect', 'StaticResources', 'ServerController' ]
13.769231
22
0.569832
ba9f1d755cfff64617d4b2f5d427180cc9349320
10,607
py
Python
safe_control_gym/envs/env_wrappers/vectorized_env/subproc_vec_env.py
catgloss/safe-control-gym
b3f69bbed8577f64fc36d23677bf50027e991b2d
[ "MIT" ]
120
2021-08-16T13:55:47.000Z
2022-03-31T10:31:42.000Z
safe_control_gym/envs/env_wrappers/vectorized_env/subproc_vec_env.py
catgloss/safe-control-gym
b3f69bbed8577f64fc36d23677bf50027e991b2d
[ "MIT" ]
10
2021-10-19T07:19:23.000Z
2022-03-24T18:43:02.000Z
safe_control_gym/envs/env_wrappers/vectorized_env/subproc_vec_env.py
catgloss/safe-control-gym
b3f69bbed8577f64fc36d23677bf50027e991b2d
[ "MIT" ]
24
2021-08-28T17:21:09.000Z
2022-03-31T10:31:44.000Z
"""Subprocess vectorized environments. See also: * https://github.com/openai/baselines/blob/master/baselines/common/vec_env/subproc_vec_env.py * https://github.com/DLR-RM/stable-baselines3/blob/master/stable_baselines3/common/vec_env/subproc_vec_env.py """ import copy import numpy as np import multiprocessing...
40.330798
143
0.591308
baa39fd5faff4585694f6840a4ab0211dc4c6c87
4,462
py
Python
nkicap/plotting.py
Bronte-Mckeown/nkicap
38e26f0f5079e73b75f6e3e7f7d6643755f36b79
[ "MIT" ]
1
2021-05-18T09:08:00.000Z
2021-05-18T09:08:00.000Z
nkicap/plotting.py
Bronte-Mckeown/nkicap
38e26f0f5079e73b75f6e3e7f7d6643755f36b79
[ "MIT" ]
13
2021-03-12T16:21:01.000Z
2021-06-01T16:54:25.000Z
nkicap/plotting.py
Bronte-Mckeown/nkicap
38e26f0f5079e73b75f6e3e7f7d6643755f36b79
[ "MIT" ]
1
2021-05-17T18:30:59.000Z
2021-05-17T18:30:59.000Z
import matplotlib.colors as mcolor from matplotlib import cm from wordcloud import WordCloud from .utils import get_project_path FONT_PATH = str(get_project_path() / "data/Arimo-VariableFont_wght.ttf") def val_to_freq(word_value, scalar): """turn value to integer""" return {k: abs(int(word_value[k] * scal...
28.602564
87
0.625728
baa48497183aa0fa1eadeda23527a5e93aed4479
1,740
py
Python
where2.py
stakiran/where
f91d37522e705e2d571fa5800f0c190b7dbec404
[ "MIT" ]
null
null
null
where2.py
stakiran/where
f91d37522e705e2d571fa5800f0c190b7dbec404
[ "MIT" ]
null
null
null
where2.py
stakiran/where
f91d37522e705e2d571fa5800f0c190b7dbec404
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- import os import sys def has_not_extension(path): ''' = `.` () ''' return path.find('.')==-1 PATH = os.environ['PATH'].split(';') PATHEXT = os.environ['PATHEXT'].split(';') if len(sys.argv)<=1: print('<where2 >') exit(0) filename_you_want_to_open = sys.argv[1] fullpath_y...
30
80
0.697701
baa6dda4517dd46f7d280850406df965d79812a1
3,055
py
Python
src/lansweeper/assets.py
dan76296/LanSweeper
0b34bbd4e821a1c6357a435e066fdbb3fc5ff689
[ "MIT" ]
null
null
null
src/lansweeper/assets.py
dan76296/LanSweeper
0b34bbd4e821a1c6357a435e066fdbb3fc5ff689
[ "MIT" ]
null
null
null
src/lansweeper/assets.py
dan76296/LanSweeper
0b34bbd4e821a1c6357a435e066fdbb3fc5ff689
[ "MIT" ]
null
null
null
import collections from selenium.webdriver.common.keys import Keys from log import Log from exceptions import Exceptions
35.941176
157
0.6
baa77433e641424f6986c86518d3286d51a8882c
662
py
Python
my_pca.py
siddharthtelang/Face-and-Pose-Classification
742953dd6d05791a9ee643248863e8d9d5a05b9a
[ "MIT" ]
null
null
null
my_pca.py
siddharthtelang/Face-and-Pose-Classification
742953dd6d05791a9ee643248863e8d9d5a05b9a
[ "MIT" ]
null
null
null
my_pca.py
siddharthtelang/Face-and-Pose-Classification
742953dd6d05791a9ee643248863e8d9d5a05b9a
[ "MIT" ]
null
null
null
from sklearn.decomposition import PCA import matplotlib.pyplot as plt import numpy as np
30.090909
77
0.696375
baa7a6450dc3d4c4677ab6f1437822312f11b975
845
py
Python
modulemanager.py
Dante383/sicario
51384ed81c4fdce380cad600abc0a04fbaa97587
[ "MIT" ]
8
2018-05-11T16:55:12.000Z
2020-02-29T03:54:02.000Z
modulemanager.py
Dante383/sicario
51384ed81c4fdce380cad600abc0a04fbaa97587
[ "MIT" ]
2
2018-11-07T19:50:54.000Z
2018-12-15T18:01:04.000Z
modulemanager.py
Dante383/sicario
51384ed81c4fdce380cad600abc0a04fbaa97587
[ "MIT" ]
1
2019-04-30T17:39:10.000Z
2019-04-30T17:39:10.000Z
#!/usr/bin/python import sicario import os import importlib
24.852941
82
0.702959
baa8de1b17d2e8e1eb26823055bf88f29a82f7fd
159
py
Python
qualitymeter/refactoring_opportunities/pullup_method_identification.py
hamidm21/QualityMeter
2b0645662634b267338b91141740db45bf8f17ad
[ "MIT" ]
null
null
null
qualitymeter/refactoring_opportunities/pullup_method_identification.py
hamidm21/QualityMeter
2b0645662634b267338b91141740db45bf8f17ad
[ "MIT" ]
null
null
null
qualitymeter/refactoring_opportunities/pullup_method_identification.py
hamidm21/QualityMeter
2b0645662634b267338b91141740db45bf8f17ad
[ "MIT" ]
null
null
null
""" The module identify pull-up method refactoring opportunities in Java projects """ # Todo: Implementing a decent pull-up method identification algorithm.
22.714286
77
0.786164
baaa839d3e982230b9fe73cd6d5e7dd4fc350545
1,474
py
Python
tests/test_container_deps.py
hazbottles/flonb
8cb1fd4926c8ab14cf579292b06f02ac4568a55e
[ "MIT" ]
3
2020-11-02T14:32:11.000Z
2022-02-03T04:38:53.000Z
tests/test_container_deps.py
hazbottles/flonb
8cb1fd4926c8ab14cf579292b06f02ac4568a55e
[ "MIT" ]
5
2021-07-28T02:00:48.000Z
2021-07-28T02:44:45.000Z
tests/test_container_deps.py
hazbottles/flonb
8cb1fd4926c8ab14cf579292b06f02ac4568a55e
[ "MIT" ]
null
null
null
import pytest import flonb
21.057143
99
0.497965
baaaaa85690bcd79d5052208eaadb37b07276d7b
719
py
Python
submissions/valid-parentheses/solution.py
Wattyyy/LeetCode
13a9be056d0a0c38c2f8c8222b11dc02cb25a935
[ "MIT" ]
null
null
null
submissions/valid-parentheses/solution.py
Wattyyy/LeetCode
13a9be056d0a0c38c2f8c8222b11dc02cb25a935
[ "MIT" ]
1
2022-03-04T20:24:32.000Z
2022-03-04T20:31:58.000Z
submissions/valid-parentheses/solution.py
Wattyyy/LeetCode
13a9be056d0a0c38c2f8c8222b11dc02cb25a935
[ "MIT" ]
null
null
null
# https://leetcode.com/problems/valid-parentheses from collections import deque
23.966667
51
0.346314
baabc76f413cd1eb2184e11ad17f796b1e1389e3
1,910
py
Python
retailapp/webapp/app/products/products.py
kmsarabu/auroraglobaldb_eks
ac4d7064c889e9e5706a828d4e6d9d25d12debb5
[ "MIT" ]
null
null
null
retailapp/webapp/app/products/products.py
kmsarabu/auroraglobaldb_eks
ac4d7064c889e9e5706a828d4e6d9d25d12debb5
[ "MIT" ]
null
null
null
retailapp/webapp/app/products/products.py
kmsarabu/auroraglobaldb_eks
ac4d7064c889e9e5706a828d4e6d9d25d12debb5
[ "MIT" ]
null
null
null
from flask import request, Flask , Blueprint , render_template, jsonify, request, abort ,redirect, url_for import requests from app.models import Product products_bp = Blueprint("products_bp", __name__, template_folder="templates/products")
28.939394
106
0.719372