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
c82642bd0188daaa561a06de4c6541a12f22393f
2,081
py
Python
pymod/amsexceptions.py
kevangel79/argo-ams-library
6824b1f6f577e688575d8f2f67f747126a856fcb
[ "Apache-2.0" ]
null
null
null
pymod/amsexceptions.py
kevangel79/argo-ams-library
6824b1f6f577e688575d8f2f67f747126a856fcb
[ "Apache-2.0" ]
1
2021-06-25T15:35:46.000Z
2021-06-25T15:35:46.000Z
pymod/amsexceptions.py
kevangel79/argo-ams-library
6824b1f6f577e688575d8f2f67f747126a856fcb
[ "Apache-2.0" ]
null
null
null
import json
33.031746
90
0.683325
c8284b2ce3b5bfcda541a3e925afc518ce46735a
18,871
py
Python
tests/fixtures/__init__.py
Lunga001/pmg-cms-2
10cea3979711716817b0ba2a41987df73f2c7642
[ "Apache-2.0" ]
2
2019-06-11T20:46:43.000Z
2020-08-27T22:50:32.000Z
tests/fixtures/__init__.py
Lunga001/pmg-cms-2
10cea3979711716817b0ba2a41987df73f2c7642
[ "Apache-2.0" ]
70
2017-05-26T14:04:06.000Z
2021-06-30T10:21:58.000Z
tests/fixtures/__init__.py
OpenUpSA/pmg-cms-2
ec5f259dae81674ac7a8cdb80f124a8b0f167780
[ "Apache-2.0" ]
4
2017-08-29T10:09:30.000Z
2021-05-25T11:29:03.000Z
import pytz import datetime from fixture import DataSet, NamedDataStyle, SQLAlchemyFixture from pmg.models import ( db, House, Committee, CommitteeMeeting, Bill, BillType, Province, Party, CommitteeMeetingAttendance, Member, CallForComment, TabledCommitteeReport, Com...
33.578292
470
0.647237
c828bd04e92dcf2b104e584217bad8d4f09ebabf
455
py
Python
Google Search/GoogleSearch.py
cclauss/Browser-Automation
7baca74d40ac850f9570d7e40a47021dc0e8e387
[ "Apache-2.0" ]
35
2016-07-16T07:05:24.000Z
2021-07-07T15:18:55.000Z
Google Search/GoogleSearch.py
cclauss/Browser-Automation
7baca74d40ac850f9570d7e40a47021dc0e8e387
[ "Apache-2.0" ]
null
null
null
Google Search/GoogleSearch.py
cclauss/Browser-Automation
7baca74d40ac850f9570d7e40a47021dc0e8e387
[ "Apache-2.0" ]
7
2016-07-27T10:25:10.000Z
2019-12-06T08:45:03.000Z
from selenium import webdriver from selenium.webdriver.common.keys import Keys from selenium.webdriver.common.desired_capabilities import DesiredCapabilities driver = webdriver.Chrome("D:\chromedriver\chromedriver") driver.get("http://www.google.com") if not "Google" in driver.title: raise Exception("Unable to loa...
28.4375
78
0.789011
c82a3f71eb898781a7532e4f8e200f17688bdd99
2,265
py
Python
PuppeteerLibrary/puppeteer/async_keywords/puppeteer_formelement.py
qahive/robotframework-puppeteer
6377156c2e5b3a4d3841c33a2d3ff9ab0b38854a
[ "Apache-2.0" ]
37
2019-10-28T01:35:43.000Z
2022-03-31T04:11:49.000Z
PuppeteerLibrary/puppeteer/async_keywords/puppeteer_formelement.py
qahive/robotframework-puppeteer
6377156c2e5b3a4d3841c33a2d3ff9ab0b38854a
[ "Apache-2.0" ]
61
2020-07-16T00:18:22.000Z
2022-03-24T07:12:05.000Z
PuppeteerLibrary/puppeteer/async_keywords/puppeteer_formelement.py
qahive/robotframework-puppeteer
6377156c2e5b3a4d3841c33a2d3ff9ab0b38854a
[ "Apache-2.0" ]
10
2020-03-03T05:28:05.000Z
2022-02-14T10:03:44.000Z
from PuppeteerLibrary.utils.coverter import str2bool, str2str import os import glob import shutil import time from PuppeteerLibrary.ikeywords.iformelement_async import iFormElementAsync
38.389831
114
0.666225
c82ab1a64645a1b9f4d0449b2c09332ab3971afe
7,187
py
Python
cnns/nnlib/pytorch_architecture/resnet1d.py
anonymous-user-commits/perturb-net
66fc7c4a1234fa34b92bcc85751f0a6e23d80a23
[ "MIT" ]
1
2018-03-25T13:19:46.000Z
2018-03-25T13:19:46.000Z
cnns/nnlib/pytorch_architecture/resnet1d.py
anonymous-user-commits/perturb-net
66fc7c4a1234fa34b92bcc85751f0a6e23d80a23
[ "MIT" ]
null
null
null
cnns/nnlib/pytorch_architecture/resnet1d.py
anonymous-user-commits/perturb-net
66fc7c4a1234fa34b92bcc85751f0a6e23d80a23
[ "MIT" ]
null
null
null
import shutil, os, csv, itertools, glob import math import numpy as np import torch import torch.nn as nn import torch.nn.functional as F from torch.autograd import Variable from torch.utils.data import Dataset, DataLoader import torch.optim as optim from sklearn.metrics import confusion_matrix import pandas as pd i...
28.863454
76
0.594128
c82b86e4546012be74409a7f90dcbec90ae16446
12,279
py
Python
satori/serviceinstall.py
mgeisler/satori
dea382bae1cd043189589c0f7d4c20b4b6725ab5
[ "Apache-2.0" ]
1
2015-01-18T19:56:28.000Z
2015-01-18T19:56:28.000Z
satori/serviceinstall.py
samstav/satori
239fa1e3c7aac78599145c670576f0ac76a41a89
[ "Apache-2.0" ]
null
null
null
satori/serviceinstall.py
samstav/satori
239fa1e3c7aac78599145c670576f0ac76a41a89
[ "Apache-2.0" ]
null
null
null
# Copyright (c) 2003-2012 CORE Security Technologies # # This software is provided under under a slightly modified version # of the Apache Software License. See the accompanying LICENSE file # for more information. # # $Id: serviceinstall.py 1141 2014-02-12 16:39:51Z bethus@gmail.com $ # # Service Install Helper librar...
40.391447
79
0.540353
c82bebdc20706924551678f498e8c6d34044e848
11,879
py
Python
pirates/battle/DistributedBattleAvatarAI.py
Willy5s/Pirates-Online-Rewritten
7434cf98d9b7c837d57c181e5dabd02ddf98acb7
[ "BSD-3-Clause" ]
81
2018-04-08T18:14:24.000Z
2022-01-11T07:22:15.000Z
pirates/battle/DistributedBattleAvatarAI.py
Willy5s/Pirates-Online-Rewritten
7434cf98d9b7c837d57c181e5dabd02ddf98acb7
[ "BSD-3-Clause" ]
4
2018-09-13T20:41:22.000Z
2022-01-08T06:57:00.000Z
pirates/battle/DistributedBattleAvatarAI.py
Willy5s/Pirates-Online-Rewritten
7434cf98d9b7c837d57c181e5dabd02ddf98acb7
[ "BSD-3-Clause" ]
26
2018-05-26T12:49:27.000Z
2021-09-11T09:11:59.000Z
from direct.directnotify import DirectNotifyGlobal from pirates.reputation. DistributedReputationAvatarAI import DistributedReputationAvatarAI from Teamable import Teamable from direct.distributed.ClockDelta import globalClockDelta from pirates.piratesbase import EmoteGlobals
27.819672
98
0.6562
c82c884ecd2fbb3f7bbb619a3ed6f25fe4c5e6e9
484
py
Python
django_migrate_project/executor.py
dsanders11/django-migrate-project
68b637d08dfb6aecdf75d836ab4736e1ba624dcc
[ "MIT" ]
2
2018-12-27T05:15:48.000Z
2018-12-28T00:37:03.000Z
django_migrate_project/executor.py
dsanders11/django-migrate-project
68b637d08dfb6aecdf75d836ab4736e1ba624dcc
[ "MIT" ]
null
null
null
django_migrate_project/executor.py
dsanders11/django-migrate-project
68b637d08dfb6aecdf75d836ab4736e1ba624dcc
[ "MIT" ]
null
null
null
from __future__ import unicode_literals from django.db.migrations.executor import MigrationExecutor from django_migrate_project.loader import ProjectMigrationLoader
32.266667
64
0.789256
c82da452c1cd0b32e3a74054db0ed0b447787df9
31,942
py
Python
agora_deploy/OVF.py
ThinkBriK/fwap
b01e3b856ad29f6cfac7d5e368deb18faed7d113
[ "Apache-2.0" ]
null
null
null
agora_deploy/OVF.py
ThinkBriK/fwap
b01e3b856ad29f6cfac7d5e368deb18faed7d113
[ "Apache-2.0" ]
null
null
null
agora_deploy/OVF.py
ThinkBriK/fwap
b01e3b856ad29f6cfac7d5e368deb18faed7d113
[ "Apache-2.0" ]
null
null
null
#!/usr/bin/env python """ Script pour dployer une VM TAT1 dont on a rcupr les informations Ecrit par Benoit BARTHELEMY benoit.barthelemy2@open-groupe.com """ import atexit import datetime import re import ssl from argparse import ArgumentParser from getpass import getpass from os import path from sys import exit from...
40.794381
142
0.589475
c82e3f7cd86031ad65e19765bc6e16f53e31ebc5
1,393
py
Python
src/grokcore/formlib/tests/base/form/customautoform.py
zopefoundation/grokcore.formlib
afcb6fce344ef60e3fec2aa839c13a61228d8d23
[ "ZPL-2.1" ]
null
null
null
src/grokcore/formlib/tests/base/form/customautoform.py
zopefoundation/grokcore.formlib
afcb6fce344ef60e3fec2aa839c13a61228d8d23
[ "ZPL-2.1" ]
null
null
null
src/grokcore/formlib/tests/base/form/customautoform.py
zopefoundation/grokcore.formlib
afcb6fce344ef60e3fec2aa839c13a61228d8d23
[ "ZPL-2.1" ]
2
2015-04-03T04:51:14.000Z
2018-01-12T06:51:36.000Z
""" A form view can have a custom form_fields but reusing those fields that were deduced automatically, using grok.AutoFields: >>> grok.testing.grok(__name__) We only expect a single field to be present in the form, as we omitted 'size': >>> from zope import component >>> from zope.publisher.browser import Tes...
24.017241
78
0.701364
c82fbb8e27137ecf71edbf4cda57e644ec71cfa9
1,398
py
Python
other_models/AAN/adaptive-aggregation-networks/dataloaders/cifar100_dirmap.py
kreimanlab/AugMem
cb0e8d39eb0c469da46c7c550c19229927a2bec5
[ "MIT" ]
6
2021-04-07T15:17:24.000Z
2021-07-07T04:37:29.000Z
other_models/Remind/image_classification_experiments/dataloaders/cifar100_dirmap.py
kreimanlab/AugMem
cb0e8d39eb0c469da46c7c550c19229927a2bec5
[ "MIT" ]
null
null
null
other_models/Remind/image_classification_experiments/dataloaders/cifar100_dirmap.py
kreimanlab/AugMem
cb0e8d39eb0c469da46c7c550c19229927a2bec5
[ "MIT" ]
null
null
null
import os import sys import pandas as pd # USAGE: python cifar100_dirmap.py <path to cifar100 dataset directory> # Organized cifar100 directory can be created using cifar2png: https://github.com/knjcode/cifar2png if len(sys.argv) > 1: DATA_DIR = sys.argv[1] else: DATA_DIR = "./../data/cifar100" # Get class n...
34.95
112
0.666667
c82fd0f2d54b784533c3c8e4ad5838457eb0383a
5,616
py
Python
tests/integration_tests/data_steward/cdr_cleaner/cleaning_rules/remove_participant_data_past_deactivation_date_test.py
lrwb-aou/curation
e80447e56d269dc2c9c8bc79e78218d4b0dc504c
[ "MIT" ]
16
2017-06-30T20:05:05.000Z
2022-03-08T21:03:19.000Z
tests/integration_tests/data_steward/cdr_cleaner/cleaning_rules/remove_participant_data_past_deactivation_date_test.py
lrwb-aou/curation
e80447e56d269dc2c9c8bc79e78218d4b0dc504c
[ "MIT" ]
342
2017-06-23T21:37:40.000Z
2022-03-30T16:44:16.000Z
tests/integration_tests/data_steward/cdr_cleaner/cleaning_rules/remove_participant_data_past_deactivation_date_test.py
lrwb-aou/curation
e80447e56d269dc2c9c8bc79e78218d4b0dc504c
[ "MIT" ]
33
2017-07-01T00:12:20.000Z
2022-01-26T18:06:53.000Z
""" Ensures there is no data past the deactivation date for deactivated participants. Original Issue: DC-686 The intent is to sandbox and drop records dated after the date of deactivation for participants who have deactivated from the Program This test will mock calling the PS API and provide a returned value. Every...
37.44
104
0.639067
c8304da49c7cd5f405be7c2e58f33877d39f8895
2,499
py
Python
accounts/views.py
bornamir/ThreeAttemptLogin
a1ac34e106df913dedef80f595b9690bbc77f674
[ "MIT" ]
1
2019-09-03T08:40:19.000Z
2019-09-03T08:40:19.000Z
accounts/views.py
bornamir/ThreeAttemptLogin
a1ac34e106df913dedef80f595b9690bbc77f674
[ "MIT" ]
5
2021-03-19T01:11:56.000Z
2022-02-10T09:59:36.000Z
accounts/views.py
bornamir/ThreeAttemptLogin
a1ac34e106df913dedef80f595b9690bbc77f674
[ "MIT" ]
null
null
null
from django.shortcuts import render,redirect from django.contrib import messages, auth from django.contrib.auth.models import User from django.http.request import HttpRequest # Create your views here.
33.32
87
0.602641
c832c2b3e3054dd7f4eba7ae39631b1e43d56773
1,089
py
Python
Modules/flashlight().py
SZ2G-RoboticsClub/SmartCrutch-DemoBoard
0d32acc9c934b384612a721ecde0259c8d90a82d
[ "MIT" ]
1
2021-07-14T01:31:17.000Z
2021-07-14T01:31:17.000Z
Modules/flashlight().py
SZ2G-RoboticsClub/SmartCrutch-DemoBoard
0d32acc9c934b384612a721ecde0259c8d90a82d
[ "MIT" ]
null
null
null
Modules/flashlight().py
SZ2G-RoboticsClub/SmartCrutch-DemoBoard
0d32acc9c934b384612a721ecde0259c8d90a82d
[ "MIT" ]
null
null
null
from mpython import * import neopixel import time my_rgb = neopixel.NeoPixel(Pin(Pin.P13), n=24, bpp=3, timing=1) while True: flashlight() time.sleep(2)
25.325581
67
0.490358
c8332e05cc190a6c1e47fdd51cb882fbebe47837
1,449
py
Python
src/geos/_stops_with_wrong_bearing.py
alex-baciu-dft/Open_NaPTAN
abbb3e162f2638099f5050f51d81099f5a0a72a9
[ "MIT" ]
24
2020-07-02T12:08:39.000Z
2021-05-12T12:07:32.000Z
src/geos/_stops_with_wrong_bearing.py
alex-baciu-dft/Open_NaPTAN
abbb3e162f2638099f5050f51d81099f5a0a72a9
[ "MIT" ]
11
2020-11-04T12:14:15.000Z
2022-03-12T00:38:36.000Z
src/geos/_stops_with_wrong_bearing.py
alex-baciu-dft/Open_NaPTAN
abbb3e162f2638099f5050f51d81099f5a0a72a9
[ "MIT" ]
7
2020-07-03T09:32:11.000Z
2021-07-23T18:53:09.000Z
from checks import NaptanCheck # %%
38.131579
86
0.664596
c834981294e35ab677847178ee1ed2e7e3411bb0
2,476
py
Python
charlie2/tools/trial.py
sammosummo/Charlie2
e856b9bfc83c11e57a63d487fa14a63764e3f6ae
[ "MIT" ]
5
2019-10-10T08:22:29.000Z
2021-04-09T02:34:13.000Z
charlie2/tools/trial.py
sammosummo/Charlie2
e856b9bfc83c11e57a63d487fa14a63764e3f6ae
[ "MIT" ]
20
2018-06-20T21:15:48.000Z
2018-09-06T17:13:46.000Z
charlie2/tools/trial.py
sammosummo/Charlie2
e856b9bfc83c11e57a63d487fa14a63764e3f6ae
[ "MIT" ]
3
2019-11-24T04:10:40.000Z
2020-04-04T07:50:57.000Z
"""Defines the trial class. """ from datetime import datetime from logging import getLogger logger = getLogger(__name__)
35.884058
87
0.600969
c835c38f6e541b5231eac621e19ad8646fab5eb5
1,839
py
Python
categorize_reviews.py
curtislb/ReviewTranslation
b2d14d349b6016d275fa22532eae6b67af243a55
[ "Apache-2.0" ]
null
null
null
categorize_reviews.py
curtislb/ReviewTranslation
b2d14d349b6016d275fa22532eae6b67af243a55
[ "Apache-2.0" ]
null
null
null
categorize_reviews.py
curtislb/ReviewTranslation
b2d14d349b6016d275fa22532eae6b67af243a55
[ "Apache-2.0" ]
null
null
null
#!/usr/bin/env python import ast import sys import nltk import numpy as np from review_data import read_reviews ############################################################################### if __name__ == '__main__': main()
26.271429
79
0.504622
c83954e71051c128691f4f8f79229509cdfd37e3
1,068
py
Python
codes/kmc/2Dim/general2d/lambdaFluc2dCreator.py
joshuahellier/PhDStuff
6fbe9e507c40e9017cde9312b0cfcc6ceefa284e
[ "MIT" ]
null
null
null
codes/kmc/2Dim/general2d/lambdaFluc2dCreator.py
joshuahellier/PhDStuff
6fbe9e507c40e9017cde9312b0cfcc6ceefa284e
[ "MIT" ]
null
null
null
codes/kmc/2Dim/general2d/lambdaFluc2dCreator.py
joshuahellier/PhDStuff
6fbe9e507c40e9017cde9312b0cfcc6ceefa284e
[ "MIT" ]
null
null
null
import subprocess import sys import os # This code is meant to manage running multiple instances of my KMCLib codes at the same time, # in the name of time efficiency numLambda = 512 numStepsEquilib = 1600000 numStepsAnal = 16000 numStepsSnapshot = 1000 numStepsReq = 16000 sysWidth = 32 sysLength = 32 analInterval = 1...
33.375
323
0.708801
c83ceb2eaee488074f590ced585bdeba5d992e16
589
py
Python
main/views.py
climsoft/climsoftweb
3be127b3c8ce0e1f89940139ea19e17d20abe386
[ "BSD-3-Clause" ]
1
2021-08-17T07:43:18.000Z
2021-08-17T07:43:18.000Z
main/views.py
climsoft/climsoftweb
3be127b3c8ce0e1f89940139ea19e17d20abe386
[ "BSD-3-Clause" ]
45
2019-11-16T16:59:04.000Z
2021-04-08T21:23:48.000Z
main/views.py
climsoft/climsoftweb
3be127b3c8ce0e1f89940139ea19e17d20abe386
[ "BSD-3-Clause" ]
null
null
null
from django.contrib.auth.decorators import login_required from django.shortcuts import render
21.814815
59
0.752122
c83df5c3590f08b7881a0afefb6d8d7e7060a2fb
2,124
py
Python
anygraph/recipes/autobuilding_a_graph.py
gemerden/anygraph
c20cab82ad4a7f4117690a445e136c2b0e84f0f3
[ "MIT" ]
10
2020-06-11T14:11:58.000Z
2021-12-31T11:59:26.000Z
anygraph/recipes/autobuilding_a_graph.py
gemerden/anygraph
c20cab82ad4a7f4117690a445e136c2b0e84f0f3
[ "MIT" ]
null
null
null
anygraph/recipes/autobuilding_a_graph.py
gemerden/anygraph
c20cab82ad4a7f4117690a445e136c2b0e84f0f3
[ "MIT" ]
null
null
null
""" Here we will show how to build a graph from a class inheritance structure. Since we will n change the class of classes (type), we will use a wrapper to do this. """ from anygraph import Many """ First we define the wrapper class; because we create instances of ClassWrapper on the flight; to detect if the class w...
32.181818
160
0.69162
c83f4c51440116a7f88bf4d5e46dda85c09f8606
2,069
py
Python
shortest_path_revisit_and_NP/week1/apsp_johnsons.py
liaoaoyuan97/standford_algorithms_specialization
2914fdd397ce895d986ac855e78afd7a51ceff68
[ "MIT" ]
null
null
null
shortest_path_revisit_and_NP/week1/apsp_johnsons.py
liaoaoyuan97/standford_algorithms_specialization
2914fdd397ce895d986ac855e78afd7a51ceff68
[ "MIT" ]
null
null
null
shortest_path_revisit_and_NP/week1/apsp_johnsons.py
liaoaoyuan97/standford_algorithms_specialization
2914fdd397ce895d986ac855e78afd7a51ceff68
[ "MIT" ]
1
2021-01-18T19:35:48.000Z
2021-01-18T19:35:48.000Z
import time import numpy as np from os import path if __name__ == "__main__": time_start = time.time() n_vertex, shortest_paths = read_graph("grh1.txt") print(compute_apsp(n_vertex, shortest_paths)) print(time.time() - time_start) time_start = time.time() n_vertex, shortest_paths = read_gra...
32.84127
109
0.564524
c84122fcd1573afd525866c481ac3a9686f3174d
2,448
py
Python
Cardio-Monitor-main/visualization.py
jrderek/computer-vision-exercises
e9735394220f8120453de70b58596ef9e87df926
[ "MIT" ]
null
null
null
Cardio-Monitor-main/visualization.py
jrderek/computer-vision-exercises
e9735394220f8120453de70b58596ef9e87df926
[ "MIT" ]
null
null
null
Cardio-Monitor-main/visualization.py
jrderek/computer-vision-exercises
e9735394220f8120453de70b58596ef9e87df926
[ "MIT" ]
null
null
null
from matplotlib.backends.backend_agg import FigureCanvasAgg as FigureCanvas from matplotlib.figure import Figure import io import random import numpy as np # def create_figure1(data1): # fig = plt.figure() # axis = fig.add_axes([0,0,1,1]) # y1 = data1[0] # y2 = data1[1] # width = 0.30 # x=np.a...
31.792208
139
0.635212
c8413d24c21af2dd79f48f95f23cc0565affc86b
6,006
py
Python
at_tmp/model/util/TMP_DB_OPT__.py
zuoleilei3253/zuoleilei
e188b15a0aa4a9fde00dba15e8300e4b87973e2d
[ "Apache-2.0" ]
null
null
null
at_tmp/model/util/TMP_DB_OPT__.py
zuoleilei3253/zuoleilei
e188b15a0aa4a9fde00dba15e8300e4b87973e2d
[ "Apache-2.0" ]
null
null
null
at_tmp/model/util/TMP_DB_OPT__.py
zuoleilei3253/zuoleilei
e188b15a0aa4a9fde00dba15e8300e4b87973e2d
[ "Apache-2.0" ]
null
null
null
#!/usr/bin/env python # -*- coding: utf-8 -*- # @Time : 2018/7/15 16:36 # @Author : bxf # @File : P_DB_OPT.py # @Software: PyCharm import pymysql import json from datetime import date, datetime from model.util import md_Config from model.util.PUB_LOG import * ''' : ''' # json jsonc...
28.330189
129
0.494006
c8418b9ec302c999618cb90b60b9001c7764202e
448
py
Python
examples/pybullet/examples/logMinitaur.py
felipeek/bullet3
6a59241074720e9df119f2f86bc01765917feb1e
[ "Zlib" ]
9,136
2015-01-02T00:41:45.000Z
2022-03-31T15:30:02.000Z
examples/pybullet/examples/logMinitaur.py
felipeek/bullet3
6a59241074720e9df119f2f86bc01765917feb1e
[ "Zlib" ]
2,424
2015-01-05T08:55:58.000Z
2022-03-30T19:34:55.000Z
examples/pybullet/examples/logMinitaur.py
felipeek/bullet3
6a59241074720e9df119f2f86bc01765917feb1e
[ "Zlib" ]
2,921
2015-01-02T10:19:30.000Z
2022-03-31T02:48:42.000Z
import pybullet as p import pybullet_data cid = p.connect(p.SHARED_MEMORY) if (cid < 0): p.connect(p.GUI) p.setAdditionalSearchPath(pybullet_data.getDataPath()) p.loadURDF("plane.urdf") quadruped = p.loadURDF("quadruped/quadruped.urdf") logId = p.startStateLogging(p.STATE_LOGGING_MINITAUR, "LOG00048.TXT", [quadru...
21.333333
82
0.776786
c8422d03ff6c162a7a235c164df43ce7fd4202c5
1,025
py
Python
setup.py
drougge/wellpapp-pyclient
43d66a1e2a122ac87e477905c5e2460e11be3c26
[ "MIT" ]
null
null
null
setup.py
drougge/wellpapp-pyclient
43d66a1e2a122ac87e477905c5e2460e11be3c26
[ "MIT" ]
null
null
null
setup.py
drougge/wellpapp-pyclient
43d66a1e2a122ac87e477905c5e2460e11be3c26
[ "MIT" ]
null
null
null
#!/usr/bin/env python3 from setuptools import setup fuse_reqs = [ 'fuse-python >= 0.3.1; python_version < "3"', 'fuse-python >= 1.0.0; python_version > "3"', ] readme = open('README.md', 'r').read() readme = readme.replace( '(FUSE.md)', '(https://github.com/drougge/wellpapp-pyclient/blob/master/FUSE.md)' ) setu...
21.808511
85
0.659512
c8425c27ac3a898cc687ebecf30963739e854bd4
506
py
Python
project/app/models.py
cs-fullstack-fall-2018/django-auth1-bachmanryan
cb83e4bc75e1c8bfde7c43d478505ecec45d5cd8
[ "Apache-2.0" ]
null
null
null
project/app/models.py
cs-fullstack-fall-2018/django-auth1-bachmanryan
cb83e4bc75e1c8bfde7c43d478505ecec45d5cd8
[ "Apache-2.0" ]
null
null
null
project/app/models.py
cs-fullstack-fall-2018/django-auth1-bachmanryan
cb83e4bc75e1c8bfde7c43d478505ecec45d5cd8
[ "Apache-2.0" ]
null
null
null
from django.db import models from django.contrib.auth.models import User from datetime import datetime # Create your models here. # create a new attribute in your model
31.625
88
0.764822
c8427460e2bcf42333ee94274c805a7a6ae2d6ab
715
py
Python
students/K33421/Zmievskiy_Danil/Lr1/Task04/server.py
DanilZmievskiy/ITMO_ICT_WebDevelopment_2020-2021
8bb6e90e6592c04f4b959184310e0890aaa24e16
[ "MIT" ]
null
null
null
students/K33421/Zmievskiy_Danil/Lr1/Task04/server.py
DanilZmievskiy/ITMO_ICT_WebDevelopment_2020-2021
8bb6e90e6592c04f4b959184310e0890aaa24e16
[ "MIT" ]
null
null
null
students/K33421/Zmievskiy_Danil/Lr1/Task04/server.py
DanilZmievskiy/ITMO_ICT_WebDevelopment_2020-2021
8bb6e90e6592c04f4b959184310e0890aaa24e16
[ "MIT" ]
null
null
null
import socket import threading conn = socket.socket(socket.AF_INET,socket.SOCK_STREAM) conn.bind (('', 7070)) conn.listen() clients = [] print ('Start Server') threading.Thread(target=new_client()).start()
21.029412
74
0.711888
c843403db7b167cca6757d1608c2ce426ef07684
1,563
py
Python
cutelog/pop_in_dialog.py
CS-GSI/cutelog
faca7a7bfd16559973178d3c87cb3b0c6667d4d3
[ "MIT" ]
125
2018-07-27T15:23:35.000Z
2022-03-09T18:18:08.000Z
cutelog/pop_in_dialog.py
CS-GSI/cutelog
faca7a7bfd16559973178d3c87cb3b0c6667d4d3
[ "MIT" ]
12
2019-02-02T01:02:59.000Z
2022-03-14T08:31:41.000Z
cutelog/pop_in_dialog.py
CS-GSI/cutelog
faca7a7bfd16559973178d3c87cb3b0c6667d4d3
[ "MIT" ]
26
2018-08-24T23:49:58.000Z
2022-01-27T12:29:38.000Z
from qtpy.QtCore import Signal from qtpy.QtWidgets import QDialog, QDialogButtonBox, QListWidget, QVBoxLayout
31.26
94
0.643634
c84378df20614229cbb5ed8f3fb0fb2de32e4ad3
6,730
py
Python
MineSweeper/minesweeper.py
Ratnesh4193/Amazing-Python-Scripts
0652a6066a3eeaf31830d7235da209699c45f779
[ "MIT" ]
1
2021-04-17T08:33:25.000Z
2021-04-17T08:33:25.000Z
MineSweeper/minesweeper.py
Ratnesh4193/Amazing-Python-Scripts
0652a6066a3eeaf31830d7235da209699c45f779
[ "MIT" ]
null
null
null
MineSweeper/minesweeper.py
Ratnesh4193/Amazing-Python-Scripts
0652a6066a3eeaf31830d7235da209699c45f779
[ "MIT" ]
1
2021-07-22T07:06:09.000Z
2021-07-22T07:06:09.000Z
# Importing required libraries from tkinter import * from tkinter import messagebox as mb from tkinter import ttk import random # function to create screen for the game total =0 #function when bomb is clicked board()
52.170543
136
0.649034
c84446517bb1f74fa114d36c91ba50e5edd245d3
125,439
py
Python
scripts/ui/images_rc.py
ROOSTER-fleet-management/multi_robot_sim
c5f50b271e7c21d95a843ede1d9227720974764a
[ "Apache-2.0" ]
1
2021-02-25T19:11:03.000Z
2021-02-25T19:11:03.000Z
scripts/ui/images_rc.py
ROOSTER-fleet-management/multi_robot_sim
c5f50b271e7c21d95a843ede1d9227720974764a
[ "Apache-2.0" ]
null
null
null
scripts/ui/images_rc.py
ROOSTER-fleet-management/multi_robot_sim
c5f50b271e7c21d95a843ede1d9227720974764a
[ "Apache-2.0" ]
null
null
null
# -*- coding: utf-8 -*- # Resource object code # # Created by: The Resource Compiler for PyQt4 (Qt v4.8.7) # # WARNING! All changes made in this file will be lost! from PyQt4 import QtCore qt_resource_data = "\ \x00\x00\x05\x96\ \x89\ \x50\x4e\x47\x0d\x0a\x1a\x0a\x00\x00\x00\x0d\x49\x48\x44\x52\x00\ \x00\x00\x18\x00...
62.939789
129
0.726505
c8448b25950b97138001e69363d737fca8d5fa17
225
py
Python
freedscovery_s3_connector/__init__.py
FreeDiscovery/FreeDiscovery-S3-connector
c10a6e1c26f95c199e94908f4e8534f735b94e37
[ "BSD-3-Clause" ]
null
null
null
freedscovery_s3_connector/__init__.py
FreeDiscovery/FreeDiscovery-S3-connector
c10a6e1c26f95c199e94908f4e8534f735b94e37
[ "BSD-3-Clause" ]
null
null
null
freedscovery_s3_connector/__init__.py
FreeDiscovery/FreeDiscovery-S3-connector
c10a6e1c26f95c199e94908f4e8534f735b94e37
[ "BSD-3-Clause" ]
null
null
null
# -*- coding: utf-8 -*- from .constants import * from . import io from . import ai from . import filters from ._version import __version__ __version_date__ = "Sun Feb 14 14:28:51 2016 +0100" __version_hash__ = "1d5f7f3"
16.071429
51
0.711111
c844d609644b8e0f8c68c6cb8c2457c055991723
2,309
py
Python
pysnmp-with-texts/ONEFS-MIB.py
agustinhenze/mibs.snmplabs.com
1fc5c07860542b89212f4c8ab807057d9a9206c7
[ "Apache-2.0" ]
8
2019-05-09T17:04:00.000Z
2021-06-09T06:50:51.000Z
pysnmp-with-texts/ONEFS-MIB.py
agustinhenze/mibs.snmplabs.com
1fc5c07860542b89212f4c8ab807057d9a9206c7
[ "Apache-2.0" ]
4
2019-05-31T16:42:59.000Z
2020-01-31T21:57:17.000Z
pysnmp-with-texts/ONEFS-MIB.py
agustinhenze/mibs.snmplabs.com
1fc5c07860542b89212f4c8ab807057d9a9206c7
[ "Apache-2.0" ]
10
2019-04-30T05:51:36.000Z
2022-02-16T03:33:41.000Z
# # PySNMP MIB module ONEFS-MIB (http://snmplabs.com/pysmi) # ASN.1 source file:///Users/davwang4/Dev/mibs.snmplabs.com/asn1/ONEFS-MIB # Produced by pysmi-0.3.4 at Wed May 1 14:34:48 2019 # On host DAVWANG4-M-1475 platform Darwin version 18.5.0 by user davwang4 # Using Python version 3.7.3 (default, Mar 27 2019, 09:23...
92.36
533
0.792551
c845141e40b8a0dd5938ae534f453a3c938206c8
926
py
Python
ChatAPI/migrations/0002_auto_20210520_1134.py
swasthikshetty10/Chat-Bot-using-Deep-Learning
76856399e3984d8563eb72bb7412767b1b5f724a
[ "MIT" ]
7
2021-01-05T15:27:55.000Z
2021-10-05T06:37:50.000Z
ChatAPI/migrations/0002_auto_20210520_1134.py
swasthikshetty10/Chat-Bot-using-Deep-Learning
76856399e3984d8563eb72bb7412767b1b5f724a
[ "MIT" ]
null
null
null
ChatAPI/migrations/0002_auto_20210520_1134.py
swasthikshetty10/Chat-Bot-using-Deep-Learning
76856399e3984d8563eb72bb7412767b1b5f724a
[ "MIT" ]
2
2021-01-08T12:50:33.000Z
2021-01-09T23:34:04.000Z
# Generated by Django 3.1.3 on 2021-05-20 06:04 from django.conf import settings from django.db import migrations, models import django.db.models.deletion
31.931034
136
0.595032
c84571d0d767e8fe81786eba5dfb74f8e16357fc
1,240
py
Python
tests/test_session.py
Streetwise/streetwise-app
13c1649077766e0e20d6903adcd057ae3c07cc9c
[ "MIT" ]
1
2020-05-28T06:50:01.000Z
2020-05-28T06:50:01.000Z
tests/test_session.py
Streetwise/streetwise-app
13c1649077766e0e20d6903adcd057ae3c07cc9c
[ "MIT" ]
72
2020-05-01T11:11:17.000Z
2022-02-14T09:01:50.000Z
tests/test_session.py
Streetwise/streetwise-app
13c1649077766e0e20d6903adcd057ae3c07cc9c
[ "MIT" ]
3
2020-05-06T20:35:32.000Z
2020-05-07T15:00:51.000Z
""" Python unit tests """ import pytest, json from streetwise.models import Campaign from . import app, app_context, db
28.837209
75
0.629839
c845aa5c017b1dfeb4dad13bc07e41c3088b51c3
303
py
Python
vanir/plugins/migrations/0003_delete_newcoinconfig.py
guanana/vanir
b0bb9c874795a5803e6437ff0105ea036f1ae7b6
[ "Apache-2.0" ]
1
2022-01-19T07:11:05.000Z
2022-01-19T07:11:05.000Z
vanir/plugins/migrations/0003_delete_newcoinconfig.py
guanana/vanir
b0bb9c874795a5803e6437ff0105ea036f1ae7b6
[ "Apache-2.0" ]
10
2021-11-07T14:17:07.000Z
2022-03-30T18:24:48.000Z
vanir/plugins/migrations/0003_delete_newcoinconfig.py
guanana/vanir
b0bb9c874795a5803e6437ff0105ea036f1ae7b6
[ "Apache-2.0" ]
null
null
null
# Generated by Django 3.1.13 on 2021-10-02 23:23 from django.db import migrations
17.823529
48
0.613861
c8475200f6eac06a5a76c9c297ba11ee2a7ea2ed
831
py
Python
PythonDAdata/3358OS_12_Code/code12/core.py
shijiale0609/Python_Data_Analysis
c18b5ed006c171bbb6fcb6be5f51b2686edc8f7e
[ "MIT" ]
1
2020-02-22T18:55:54.000Z
2020-02-22T18:55:54.000Z
PythonDAdata/3358OS_12_Code/code12/core.py
shijiale0609/Python_Data_Analysis
c18b5ed006c171bbb6fcb6be5f51b2686edc8f7e
[ "MIT" ]
null
null
null
PythonDAdata/3358OS_12_Code/code12/core.py
shijiale0609/Python_Data_Analysis
c18b5ed006c171bbb6fcb6be5f51b2686edc8f7e
[ "MIT" ]
1
2020-02-22T18:55:57.000Z
2020-02-22T18:55:57.000Z
from nltk.corpus import movie_reviews import random import cython_module as cm import cytoolz
23.742857
50
0.68231
c84abb9eac74cceda1f9caab92fdc8319c29f197
4,900
py
Python
crawler/spiders/weighted_index_spider.py
ChuangYuMing/futures_spread_analysis
71540671eed7ea3abba0a9a5af45f49dcf662ce3
[ "MIT" ]
2
2019-09-19T05:11:00.000Z
2020-07-23T07:26:03.000Z
crawler/spiders/weighted_index_spider.py
ChuangYuMing/futures_spread_analysis
71540671eed7ea3abba0a9a5af45f49dcf662ce3
[ "MIT" ]
11
2020-07-14T10:42:59.000Z
2022-03-02T14:54:10.000Z
crawler/spiders/weighted_index_spider.py
ChuangYuMing/futures_spread_analysis
71540671eed7ea3abba0a9a5af45f49dcf662ce3
[ "MIT" ]
null
null
null
# encoding: utf-8 # pylint: disable=E1101 # # https://www.twse.com.tw/zh/page/trading/indices/MI_5MINS_HIST.html import scrapy from scrapy import signals, Spider from urllib.parse import urlencode import time from random import randint import datetime import logging from copy import copy from dateutil.relativedelta i...
35.507246
93
0.610408
c84cd7c853b8faebaefc88697ddd7f956ce53148
374
py
Python
KahootPY/src/modules/questionStart.py
boiimakillu/KahootPY
c8d7a03a766bf061015a178cd7df2382906f91ae
[ "MIT" ]
null
null
null
KahootPY/src/modules/questionStart.py
boiimakillu/KahootPY
c8d7a03a766bf061015a178cd7df2382906f91ae
[ "MIT" ]
null
null
null
KahootPY/src/modules/questionStart.py
boiimakillu/KahootPY
c8d7a03a766bf061015a178cd7df2382906f91ae
[ "MIT" ]
1
2021-11-25T12:19:27.000Z
2021-11-25T12:19:27.000Z
from json import loads from time import time
37.4
110
0.641711
c84d4f1ef2e89c1c188fc5c0934712deace909e7
2,973
py
Python
MNIST/util.py
zswdian/BinarizedSNPS
d1a1a1f7eea74ee8f9c2233ae94f7fa079dc11d5
[ "Apache-2.0" ]
null
null
null
MNIST/util.py
zswdian/BinarizedSNPS
d1a1a1f7eea74ee8f9c2233ae94f7fa079dc11d5
[ "Apache-2.0" ]
null
null
null
MNIST/util.py
zswdian/BinarizedSNPS
d1a1a1f7eea74ee8f9c2233ae94f7fa079dc11d5
[ "Apache-2.0" ]
null
null
null
import torch.nn as nn import numpy
37.1625
89
0.582913
c84ea79f1edbb49a2816dca5b35662a00efd9c2f
1,198
py
Python
modules/tensorflow/keras/datasets/gaussian_mixture.py
avogel88/compare-VAE-GAE
aa3419c41a58ca6c1a9c1031c0aed7e07c3d4f90
[ "MIT" ]
null
null
null
modules/tensorflow/keras/datasets/gaussian_mixture.py
avogel88/compare-VAE-GAE
aa3419c41a58ca6c1a9c1031c0aed7e07c3d4f90
[ "MIT" ]
null
null
null
modules/tensorflow/keras/datasets/gaussian_mixture.py
avogel88/compare-VAE-GAE
aa3419c41a58ca6c1a9c1031c0aed7e07c3d4f90
[ "MIT" ]
null
null
null
import numpy as np import os from os.path import dirname, join from modules.numpy import covmix, varroll from modules.pandas import DesignMatrix from modules.scipy.stats import gaussian_mixture
29.95
77
0.674457
c85276ff92552a878b6545824f777a6c37822c3a
7,860
py
Python
Desktop Assistant.py
PRASUNR0Y/Desktop-Assistant
6f07cd3bc50bfca3d3f243d9e01d1bb0ef2e9029
[ "MIT" ]
15
2020-07-21T09:54:16.000Z
2022-02-08T15:34:25.000Z
Desktop Assistant.py
RisingStar522/Desktop-Assistant
6f07cd3bc50bfca3d3f243d9e01d1bb0ef2e9029
[ "MIT" ]
1
2020-11-26T15:47:23.000Z
2020-11-26T15:47:23.000Z
Desktop Assistant.py
RisingStar522/Desktop-Assistant
6f07cd3bc50bfca3d3f243d9e01d1bb0ef2e9029
[ "MIT" ]
16
2020-08-04T10:47:45.000Z
2022-01-14T19:29:35.000Z
import pyttsx3 #pip install pyttsx3 import speech_recognition as sr #pip install speechRecognition import datetime import wikipedia #pip install wikipedia import webbrowser import os import smtplib import random engine = pyttsx3.init('sapi5') voices = engine.getProperty('voices') # print(voices[0].id) engine.setProper...
34.933333
146
0.575318
c8530a2187ea583ad5783e02a5317fc84ce553e4
1,620
py
Python
old_version/forms/auth_form.py
DenisZhmakin/VK-Music-Downloader
217d54f462b2da74776eec47bf1c355c54b017ab
[ "Unlicense" ]
null
null
null
old_version/forms/auth_form.py
DenisZhmakin/VK-Music-Downloader
217d54f462b2da74776eec47bf1c355c54b017ab
[ "Unlicense" ]
1
2021-12-20T03:42:21.000Z
2021-12-20T09:57:57.000Z
old_version/forms/auth_form.py
DenisZhmakin/VK-Music-Downloader
217d54f462b2da74776eec47bf1c355c54b017ab
[ "Unlicense" ]
null
null
null
import json from pathlib import Path from PyQt5 import uic from PyQt5.QtCore import pyqtSignal from PyQt5.QtWidgets import QWidget from vk_api.vk_api import VkApi from utils import print_message, validate_QLineEdit
27.931034
84
0.591358
c8551c2705d7c8211e2870c34856750e96ab7d03
11,467
py
Python
exif_processing.py
Strubbl/upload-scripts
da2f73a322490c0ca572dcc21bc8ba7f68f76734
[ "MIT" ]
null
null
null
exif_processing.py
Strubbl/upload-scripts
da2f73a322490c0ca572dcc21bc8ba7f68f76734
[ "MIT" ]
1
2020-08-05T18:37:15.000Z
2020-08-07T14:12:56.000Z
exif_processing.py
Strubbl/upload-scripts
da2f73a322490c0ca572dcc21bc8ba7f68f76734
[ "MIT" ]
1
2020-08-05T16:23:51.000Z
2020-08-05T16:23:51.000Z
"""Module responsible to parse Exif information from a image""" import math import datetime from enum import Enum from typing import Optional # third party import exifread import piexif MPH_TO_KMH_FACTOR = 1.60934 """miles per hour to kilometers per hour conversion factor""" KNOTS_TO_KMH_FACTOR = 1.852 """knots to kil...
38.871186
99
0.669574
c8559b8c4871bf63b43c48e1fd50163d6997b0b7
1,505
py
Python
NPTEL - 2017 PDSA/Nptel_EX_5.py
Siddharth2016/PYTHON3_prog
9dfa258d87f5b00779d39d9de9a49c1c6cea06be
[ "MIT" ]
2
2019-02-26T14:06:53.000Z
2019-02-27T17:13:01.000Z
NPTEL - 2017 PDSA/Nptel_EX_5.py
Siddharth2016/PYTHON3_prog
9dfa258d87f5b00779d39d9de9a49c1c6cea06be
[ "MIT" ]
null
null
null
NPTEL - 2017 PDSA/Nptel_EX_5.py
Siddharth2016/PYTHON3_prog
9dfa258d87f5b00779d39d9de9a49c1c6cea06be
[ "MIT" ]
2
2017-12-26T07:59:57.000Z
2018-06-24T03:35:05.000Z
# NPTEL EXERCISE 5 courses = {} students = [] grades = {} f = 0 while(True): S = input() if S=="EndOfInput": break if S=='Courses': f = 1 continue elif S=='Students': f = 2 continue elif S=='Grades': f = 3 continue i...
22.462687
60
0.348173
c8561da14e0cfa8d9fef29a387534b2cad910276
5,122
py
Python
pytests/ent_backup_restore/provider/provider.py
sumedhpb/testrunner
9ff887231c75571624abc31a3fb5248110e01203
[ "Apache-2.0" ]
14
2015-02-06T02:47:57.000Z
2020-03-14T15:06:05.000Z
pytests/ent_backup_restore/provider/provider.py
sumedhpb/testrunner
9ff887231c75571624abc31a3fb5248110e01203
[ "Apache-2.0" ]
3
2019-02-27T19:29:11.000Z
2021-06-02T02:14:27.000Z
pytests/ent_backup_restore/provider/provider.py
sumedhpb/testrunner
9ff887231c75571624abc31a3fb5248110e01203
[ "Apache-2.0" ]
108
2015-03-26T08:58:49.000Z
2022-03-21T05:21:39.000Z
#!/usr/bin/python3 import abc import re import logger def list_backups(self, archive, repo): """List all the backups that currently exist in the remote given archive/repo.""" pattern = re.compile(self.backup_pattern) return self.list_objects_matching_regex(pattern, prefix=f"{archive}/{rep...
43.042017
194
0.664779
c856f5773044e5156600553546b88ed62d7ca1dd
235
py
Python
trip_distributer/admin.py
princegoyani/TRIP-DISTRIBUTER
22793ae603508c9388d03f044759dc925462595a
[ "BSD-3-Clause" ]
null
null
null
trip_distributer/admin.py
princegoyani/TRIP-DISTRIBUTER
22793ae603508c9388d03f044759dc925462595a
[ "BSD-3-Clause" ]
null
null
null
trip_distributer/admin.py
princegoyani/TRIP-DISTRIBUTER
22793ae603508c9388d03f044759dc925462595a
[ "BSD-3-Clause" ]
null
null
null
from django.contrib import admin from .models import User , Trip, Notification , Spending # Register your models here. admin.site.register(User) admin.site.register(Trip) admin.site.register(Notification) admin.site.register(Spending)
29.375
56
0.808511
c857514f1506cd0bc10959833eb8dedcb9973928
70,500
py
Python
cifar_net_search/syclop_cifar_gru_no_upsample.py
sashkarivkind/imagewalker
999e1ae78cfe1512e1be894d9e7891a7d0c41233
[ "Apache-2.0" ]
2
2021-04-28T13:33:45.000Z
2021-11-09T14:31:09.000Z
cifar_net_search/syclop_cifar_gru_no_upsample.py
sashkarivkind/imagewalker
999e1ae78cfe1512e1be894d9e7891a7d0c41233
[ "Apache-2.0" ]
null
null
null
cifar_net_search/syclop_cifar_gru_no_upsample.py
sashkarivkind/imagewalker
999e1ae78cfe1512e1be894d9e7891a7d0c41233
[ "Apache-2.0" ]
1
2021-03-07T13:25:59.000Z
2021-03-07T13:25:59.000Z
''' The follwing code runs a test lstm network on the CIFAR dataset I will explicitly write the networks here for ease of understanding with cnn_sropout = 0.4 and rnn dropout = 0.2and lr = 1e-3 and res = 8 ################# cnn_gru_True Validation Accuracy = [0.3408, 0.411, 0.44, 0.4448, 0.466, 0.4684, 0.4802, 0.4...
228.896104
5,606
0.721078
c8582ae70ade8be54e5b658dac7c05d734904cb0
549
py
Python
config/config.py
ByeongGil-Jung/Pytorch-Experiments-Boilerplate
5026fda297460552a076addbf7d29ad826ee0ac8
[ "Apache-2.0" ]
null
null
null
config/config.py
ByeongGil-Jung/Pytorch-Experiments-Boilerplate
5026fda297460552a076addbf7d29ad826ee0ac8
[ "Apache-2.0" ]
null
null
null
config/config.py
ByeongGil-Jung/Pytorch-Experiments-Boilerplate
5026fda297460552a076addbf7d29ad826ee0ac8
[ "Apache-2.0" ]
null
null
null
import os from domain.base import Domain, Yaml from properties import APPLICATION_PROPERTIES
22.875
89
0.693989
c8587f2977c7befab3e26288435a9698c942b8e4
2,719
py
Python
ultron8/api/api_v1/endpoints/loggers.py
bossjones/ultron8
45db73d32542a844570d44bc83defa935e15803f
[ "Apache-2.0", "MIT" ]
null
null
null
ultron8/api/api_v1/endpoints/loggers.py
bossjones/ultron8
45db73d32542a844570d44bc83defa935e15803f
[ "Apache-2.0", "MIT" ]
43
2019-06-01T23:08:32.000Z
2022-02-07T22:24:53.000Z
ultron8/api/api_v1/endpoints/loggers.py
bossjones/ultron8
45db73d32542a844570d44bc83defa935e15803f
[ "Apache-2.0", "MIT" ]
null
null
null
from __future__ import annotations # SOURCE: https://blog.bartab.fr/fastapi-logging-on-the-fly/ import logging from fastapi import APIRouter, HTTPException from ultron8.api.models.loggers import LoggerModel, LoggerPatch LOG_LEVELS = { "critical": logging.CRITICAL, "error": logging.ERROR, "warning": logg...
31.252874
86
0.670099
c85898f206e8cc65031cd08af9075a430861ba23
422
py
Python
exception6.py
PRASAD-DANGARE/PYTHON
36214f7dc3762d327e5a29e40752edeb098249c8
[ "MIT" ]
1
2021-06-07T07:55:28.000Z
2021-06-07T07:55:28.000Z
exception6.py
PRASAD-DANGARE/PYTHON
36214f7dc3762d327e5a29e40752edeb098249c8
[ "MIT" ]
null
null
null
exception6.py
PRASAD-DANGARE/PYTHON
36214f7dc3762d327e5a29e40752edeb098249c8
[ "MIT" ]
null
null
null
# Python Program To Understand The Usage Of try With finally Blocks ''' Function Name : Usage Of try With finally Blocks Function Date : 23 Sep 2020 Function Author : Prasad Dangare Input : String Output : String ''' try: x = int(input('Enter A Number : ')) y = 1...
22.210526
68
0.592417
c859d195756534de10c20a9266677539c86f42d2
72
py
Python
small-problems/fibonacci-sequence/fib1.py
Prateek2506/classic-cs-problems
fa0e3c86fb7cd478888bb90006f7379cc6c7a38b
[ "MIT" ]
null
null
null
small-problems/fibonacci-sequence/fib1.py
Prateek2506/classic-cs-problems
fa0e3c86fb7cd478888bb90006f7379cc6c7a38b
[ "MIT" ]
null
null
null
small-problems/fibonacci-sequence/fib1.py
Prateek2506/classic-cs-problems
fa0e3c86fb7cd478888bb90006f7379cc6c7a38b
[ "MIT" ]
null
null
null
print(fib1(5))
24
32
0.583333
c85a1c9c9f35a67fa594c9e1e36235e098af53be
4,036
py
Python
V1/GliderScienceSet_Plots.py
NOAA-PMEL/EcoFOCI_OculusGlider
5655c0e173432768706416932c94a089a3e7993f
[ "Unlicense" ]
2
2018-04-12T19:49:05.000Z
2020-10-01T11:46:48.000Z
V1/GliderScienceSet_Plots.py
NOAA-PMEL/EcoFOCI_OculusGlider
5655c0e173432768706416932c94a089a3e7993f
[ "Unlicense" ]
null
null
null
V1/GliderScienceSet_Plots.py
NOAA-PMEL/EcoFOCI_OculusGlider
5655c0e173432768706416932c94a089a3e7993f
[ "Unlicense" ]
null
null
null
#!/usr/bin/env python """ Background: -------- GliderScienceSet_Plots.py Purpose: -------- History: -------- """ import argparse import os from io_utils import ConfigParserLocal import numpy as np import xarray as xa # Visual Stack import matplotlib as mpl import matplotlib.pyplot as plt """---------...
27.834483
119
0.640981
c85aba6739f248fb55a041a97d59cbb716b417c3
17,416
py
Python
manager/users/models.py
jlbrewe/hub
c737669e6493ad17536eaa240bed3394b20c6b7d
[ "Apache-2.0" ]
30
2016-03-26T12:08:04.000Z
2021-12-24T14:48:32.000Z
manager/users/models.py
jlbrewe/hub
c737669e6493ad17536eaa240bed3394b20c6b7d
[ "Apache-2.0" ]
1,250
2016-03-23T04:56:50.000Z
2022-03-28T02:27:58.000Z
manager/users/models.py
jlbrewe/hub
c737669e6493ad17536eaa240bed3394b20c6b7d
[ "Apache-2.0" ]
11
2016-07-14T17:04:20.000Z
2021-07-01T16:19:09.000Z
""" Define models used in this app. This module only serves to provide some consistency across the `users`, `accounts` , `projects` etc apps so that you can `from users.models import Users`, just like you can for `from projects.models import Projects` and instead of having to remember to do the following. """ from ty...
30.824779
93
0.634933
c85bff69906cd84ddfe9e581be8b49ceea14621c
6,075
py
Python
scripts/automation/trex_control_plane/interactive/trex/emu/emu_plugins/emu_plugin_dhcpsrv.py
GabrielGanne/trex-core
688a0fe0adb890964691473723d70ffa98e00dd3
[ "Apache-2.0" ]
956
2015-06-24T15:04:55.000Z
2022-03-30T06:25:04.000Z
scripts/automation/trex_control_plane/interactive/trex/emu/emu_plugins/emu_plugin_dhcpsrv.py
hjat2005/trex-core
400f03c86c844a0096dff3f6b13e58a808aaefff
[ "Apache-2.0" ]
782
2015-09-20T15:19:00.000Z
2022-03-31T23:52:05.000Z
scripts/automation/trex_control_plane/interactive/trex/emu/emu_plugins/emu_plugin_dhcpsrv.py
hjat2005/trex-core
400f03c86c844a0096dff3f6b13e58a808aaefff
[ "Apache-2.0" ]
429
2015-06-27T19:34:21.000Z
2022-03-23T11:02:51.000Z
from trex.emu.api import * from trex.emu.emu_plugins.emu_plugin_base import * import trex.utils.parsing_opts as parsing_opts
39.967105
200
0.539095
c86191051fc7c1834649eb4ef9230e67b31da3c1
2,683
py
Python
lenet-chinese_mnist/generate.py
leonwanghui/mindspore-jina-apps
e2912d9a93689c69005345758e3b7a2f8ba6133e
[ "Apache-2.0" ]
null
null
null
lenet-chinese_mnist/generate.py
leonwanghui/mindspore-jina-apps
e2912d9a93689c69005345758e3b7a2f8ba6133e
[ "Apache-2.0" ]
null
null
null
lenet-chinese_mnist/generate.py
leonwanghui/mindspore-jina-apps
e2912d9a93689c69005345758e3b7a2f8ba6133e
[ "Apache-2.0" ]
null
null
null
# Copyright 2020 Huawei Technologies Co., Ltd # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to...
43.274194
118
0.6776
c862cc8467bd7e489f5a6229b8441ad05ef1b1a6
20,515
py
Python
django_comments_xtd/tests/models.py
lyoniionly/django-comments-xtd
bc62a7359b9b460185e0fe4a7a1958bc9ef5599c
[ "BSD-2-Clause" ]
null
null
null
django_comments_xtd/tests/models.py
lyoniionly/django-comments-xtd
bc62a7359b9b460185e0fe4a7a1958bc9ef5599c
[ "BSD-2-Clause" ]
null
null
null
django_comments_xtd/tests/models.py
lyoniionly/django-comments-xtd
bc62a7359b9b460185e0fe4a7a1958bc9ef5599c
[ "BSD-2-Clause" ]
null
null
null
from datetime import datetime from django.db import models from django.db.models import permalink from django.contrib.contenttypes.models import ContentType from django.contrib.sites.models import Site from django.test import TestCase as DjangoTestCase from django_comments_xtd.models import (XtdComment, ...
46.625
80
0.497295
c862ff0586dafe12df4bfd251af96f7087dbad08
900
py
Python
app/api/v1/routes.py
kwanj-k/storemanager-API
e51511545a717341a7b1eb100eb3eab625a8b011
[ "MIT" ]
1
2019-05-08T08:39:08.000Z
2019-05-08T08:39:08.000Z
app/api/v1/routes.py
kwanj-k/storemanager-API
e51511545a717341a7b1eb100eb3eab625a8b011
[ "MIT" ]
2
2019-10-21T17:56:01.000Z
2019-10-29T07:36:39.000Z
app/api/v1/routes.py
kwanj-k/storemanager-API
e51511545a717341a7b1eb100eb3eab625a8b011
[ "MIT" ]
null
null
null
""" This file contains all the version one routes """ # Third party imports from flask import Blueprint, request from flask_restplus import Api, Resource, fields # Local application imports from .views.products_views import v1 as pro_routes from .views.sales_views import v1 as sales_routes from .views.stores_views i...
26.470588
67
0.73
c8643e92fdc3cc522b5000bf37f329ece9e89e82
5,605
py
Python
tests/test_region_aggregation.py
IAMconsortium/nomenclature
15973d86d91e38424fe30719d44a1f23526c6eea
[ "Apache-2.0" ]
9
2021-06-10T15:11:23.000Z
2022-02-02T16:22:01.000Z
tests/test_region_aggregation.py
IAMconsortium/nomenclature
15973d86d91e38424fe30719d44a1f23526c6eea
[ "Apache-2.0" ]
83
2021-06-22T09:04:29.000Z
2022-03-21T16:29:54.000Z
tests/test_region_aggregation.py
IAMconsortium/nomenclature
15973d86d91e38424fe30719d44a1f23526c6eea
[ "Apache-2.0" ]
3
2021-06-17T10:44:48.000Z
2021-09-16T15:30:03.000Z
from pathlib import Path import jsonschema import pydantic import pytest from nomenclature.processor.region import ( ModelMappingCollisionError, RegionAggregationMapping, RegionProcessor, ) from conftest import TEST_DATA_DIR TEST_FOLDER_REGION_MAPPING = TEST_DATA_DIR / "region_aggregation" def test_...
33.562874
88
0.615165
c8645ddbacbee9365d7d4fed6a9839538bcee96a
828
py
Python
bin/util/ckan-datasets-in-group.py
timrdf/csv2rdf4lod-automation-prod
d7e096fda18aea6236b6245b1e4a221101611640
[ "Apache-2.0" ]
56
2015-01-15T13:11:28.000Z
2021-11-16T14:50:48.000Z
bin/util/ckan-datasets-in-group.py
timrdf/csv2rdf4lod-automation-prod
d7e096fda18aea6236b6245b1e4a221101611640
[ "Apache-2.0" ]
10
2015-02-17T19:19:39.000Z
2021-12-10T21:04:37.000Z
bin/util/ckan-datasets-in-group.py
timrdf/csv2rdf4lod-automation-prod
d7e096fda18aea6236b6245b1e4a221101611640
[ "Apache-2.0" ]
13
2015-08-25T18:48:35.000Z
2021-12-13T15:28:16.000Z
#!/usr/bin/env python # #3> <> prov:specializationOf <https://github.com/timrdf/csv2rdf4lod-automation/blob/master/bin/util/ckan-datasets-in-group.py>; #3> prov:wasDerivedFrom <https://raw.github.com/timrdf/DataFAQs/master/packages/faqt.python/faqt/faqt.py>, #3> <https://github.com/timrdf/...
41.4
127
0.729469
c86486b7aff3805a872796537a88993f82f85be5
191
py
Python
CaloOnlineTools/EcalTools/python/ecalExclusiveTrigFilter_cfi.py
ckamtsikis/cmssw
ea19fe642bb7537cbf58451dcf73aa5fd1b66250
[ "Apache-2.0" ]
852
2015-01-11T21:03:51.000Z
2022-03-25T21:14:00.000Z
CaloOnlineTools/EcalTools/python/ecalExclusiveTrigFilter_cfi.py
ckamtsikis/cmssw
ea19fe642bb7537cbf58451dcf73aa5fd1b66250
[ "Apache-2.0" ]
30,371
2015-01-02T00:14:40.000Z
2022-03-31T23:26:05.000Z
CaloOnlineTools/EcalTools/python/ecalExclusiveTrigFilter_cfi.py
ckamtsikis/cmssw
ea19fe642bb7537cbf58451dcf73aa5fd1b66250
[ "Apache-2.0" ]
3,240
2015-01-02T05:53:18.000Z
2022-03-31T17:24:21.000Z
import FWCore.ParameterSet.Config as cms ecalExclusiveTrigFilter = cms.EDFilter("EcalExclusiveTrigFilter", # Global trigger tag l1GlobalReadoutRecord = cms.string("gtDigis") )
21.222222
65
0.759162
c8657a8c0a88d1cd1bd12e0d16b56dc5546e1b6c
2,300
py
Python
render_object.py
VanGy-code/3D-House-Blender
8a9d91b1f3cc3988c0dcd7079223f2e541f9ec71
[ "MIT" ]
null
null
null
render_object.py
VanGy-code/3D-House-Blender
8a9d91b1f3cc3988c0dcd7079223f2e541f9ec71
[ "MIT" ]
null
null
null
render_object.py
VanGy-code/3D-House-Blender
8a9d91b1f3cc3988c0dcd7079223f2e541f9ec71
[ "MIT" ]
1
2021-11-22T00:50:45.000Z
2021-11-22T00:50:45.000Z
import bpy import os import json import numpy as np from decimal import Decimal from mathutils import Vector, Matrix import argparse import numpy as np import sys sys.path.append(os.path.dirname(__file__)) sys.path.append(os.path.dirname(__file__)+'/tools') from tools.utils import * from tools.blender_interface import...
41.818182
112
0.694348
c866107dba038466832105575d5f0486fb0c0c27
1,281
py
Python
resources/tests/test_users.py
pacofvf/agency_performance_model
1692d7e11ac3141715845d2a4ecf416563539f89
[ "MIT" ]
2
2018-01-10T05:51:31.000Z
2018-01-18T21:25:45.000Z
resources/tests/test_users.py
pacofvf/pivot_table_api
1692d7e11ac3141715845d2a4ecf416563539f89
[ "MIT" ]
null
null
null
resources/tests/test_users.py
pacofvf/pivot_table_api
1692d7e11ac3141715845d2a4ecf416563539f89
[ "MIT" ]
null
null
null
#!/usr/bin/python import unittest import json import base64 from mock import patch import api if __name__ == '__main__': unittest.main()
33.710526
103
0.565183
c86659332f0223beeafc6e01030a75e258e463d5
2,717
py
Python
mapel/elections/features/clustering.py
kaszperro/mapel
d4e6486ee97f5d5a5a737c581ba3f9f874ebcef3
[ "MIT" ]
null
null
null
mapel/elections/features/clustering.py
kaszperro/mapel
d4e6486ee97f5d5a5a737c581ba3f9f874ebcef3
[ "MIT" ]
null
null
null
mapel/elections/features/clustering.py
kaszperro/mapel
d4e6486ee97f5d5a5a737c581ba3f9f874ebcef3
[ "MIT" ]
null
null
null
import numpy as np
33.54321
79
0.606183
c86693ef8ab98f83a2f7c7800edbe9c593122043
561
py
Python
day15-1.py
kenleung5e28/advent-of-code-2021
f6de211f0d4f3bafa19572bf28e3407f0fab6d58
[ "MIT" ]
null
null
null
day15-1.py
kenleung5e28/advent-of-code-2021
f6de211f0d4f3bafa19572bf28e3407f0fab6d58
[ "MIT" ]
null
null
null
day15-1.py
kenleung5e28/advent-of-code-2021
f6de211f0d4f3bafa19572bf28e3407f0fab6d58
[ "MIT" ]
null
null
null
import math grid = [] with open('input-day15.txt') as file: for line in file: line = line.rstrip() grid.append([int(s) for s in line]) n = len(grid) costs = [[math.inf] * n for _ in range(n)] costs[0][0] = 0 queue = [(0, 0)] while len(queue) > 0: x1, y1 = queue.pop(0) for dx, dy in [(1, 0), (0, 1), (-1,...
24.391304
51
0.504456
c8669721869b7d885f2345a687dcb60a71f978c7
2,930
py
Python
OSMTagFinder/thesaurus/relatedterm.py
geometalab/OSMTagFinder
9ffe854a2bebbd7f96facd7e236434e761fee884
[ "MIT" ]
20
2015-01-18T19:57:40.000Z
2020-06-15T22:06:42.000Z
OSMTagFinder/thesaurus/relatedterm.py
geometalab/OSMTagFinder
9ffe854a2bebbd7f96facd7e236434e761fee884
[ "MIT" ]
4
2015-01-18T22:16:15.000Z
2021-03-31T18:32:22.000Z
OSMTagFinder/thesaurus/relatedterm.py
geometalab/OSMTagFinder
9ffe854a2bebbd7f96facd7e236434e761fee884
[ "MIT" ]
2
2019-01-16T15:43:41.000Z
2020-06-15T22:03:31.000Z
# -*- coding: utf-8 -*- ''' Created on 16.11.2014 @author: Simon Gwerder ''' from utilities.configloader import ConfigLoader from rdfgraph import RDFGraph
34.880952
146
0.713652
c86731656ffa6ef2b38ba405b2722abcba4b7c94
1,217
py
Python
Algorithms/Sorting and Searching/sorting/merge sort/merge-sort-return-list.py
bulentsiyah/Python-Basics-Algorithms-Data-Structures-Object-Oriented-Programming-Job-Interview-Questions
3a67bdac1525495e6874c5bde61882848f60381d
[ "MIT" ]
14
2021-01-23T11:28:16.000Z
2021-12-07T16:08:23.000Z
Algorithms/Sorting and Searching/sorting/merge sort/merge-sort-return-list.py
bulentsiyah/Python-Basics-Algorithms-Data-Structures-Object-Oriented-Programming-Job-Interview-Questions
3a67bdac1525495e6874c5bde61882848f60381d
[ "MIT" ]
null
null
null
Algorithms/Sorting and Searching/sorting/merge sort/merge-sort-return-list.py
bulentsiyah/Python-Basics-Algorithms-Data-Structures-Object-Oriented-Programming-Job-Interview-Questions
3a67bdac1525495e6874c5bde61882848f60381d
[ "MIT" ]
2
2021-02-03T12:28:19.000Z
2021-09-14T09:50:08.000Z
arr: list = [54,26,93,17,77,31,44,55,20] print(arr) merge_sort(arr) print(arr)
24.836735
61
0.474117
c867bd2b7a6b9e73aa95e644913f2d2ac179784c
3,406
py
Python
cve-manager/cve_manager/handler/task_handler/callback/cve_scan.py
seandong37tt4qu/jeszhengq
32b3737ab45e89e8c5b71cdce871cefd2c938fa8
[ "MulanPSL-1.0" ]
null
null
null
cve-manager/cve_manager/handler/task_handler/callback/cve_scan.py
seandong37tt4qu/jeszhengq
32b3737ab45e89e8c5b71cdce871cefd2c938fa8
[ "MulanPSL-1.0" ]
null
null
null
cve-manager/cve_manager/handler/task_handler/callback/cve_scan.py
seandong37tt4qu/jeszhengq
32b3737ab45e89e8c5b71cdce871cefd2c938fa8
[ "MulanPSL-1.0" ]
null
null
null
#!/usr/bin/python3 # ****************************************************************************** # Copyright (c) Huawei Technologies Co., Ltd. 2021-2022. All rights reserved. # licensed under the Mulan PSL v2. # You can use this software according to the terms and conditions of the Mulan PSL v2. # You may obtain a c...
40.547619
98
0.625954
c867e56be1f71eb568a6e918ed29a6d7c65c450d
58
py
Python
mean-var-std/main.py
PedroEduardoSS/Data-Analisys-projects
f06c2d7091a9a61509525019f2f0375e21698f6a
[ "MIT" ]
null
null
null
mean-var-std/main.py
PedroEduardoSS/Data-Analisys-projects
f06c2d7091a9a61509525019f2f0375e21698f6a
[ "MIT" ]
null
null
null
mean-var-std/main.py
PedroEduardoSS/Data-Analisys-projects
f06c2d7091a9a61509525019f2f0375e21698f6a
[ "MIT" ]
null
null
null
from mean_var_std import * calculate([0,1,2,3,4,5,6,7,8])
19.333333
30
0.689655
c86aa619ebc8f014032a97d24de5e8f90b466d18
2,416
py
Python
tests/result/test_gatling.py
LaudateCorpus1/perfsize
710d6a5ae0918002e736f3aba8cd5cacb2b11326
[ "Apache-2.0" ]
5
2021-08-02T22:44:32.000Z
2022-01-07T20:53:48.000Z
tests/result/test_gatling.py
intuit/perfsize
710d6a5ae0918002e736f3aba8cd5cacb2b11326
[ "Apache-2.0" ]
1
2022-02-24T08:05:51.000Z
2022-02-24T08:05:51.000Z
tests/result/test_gatling.py
LaudateCorpus1/perfsize
710d6a5ae0918002e736f3aba8cd5cacb2b11326
[ "Apache-2.0" ]
1
2022-02-24T08:05:41.000Z
2022-02-24T08:05:41.000Z
from datetime import datetime from decimal import Decimal from perfsize.perfsize import ( lt, lte, gt, gte, eq, neq, Condition, Result, Run, Config, Plan, StepManager, EnvironmentManager, LoadManager, ResultManager, Reporter, Workflow, ) from perfsize....
33.09589
77
0.591474
c86bfc31df7a20be6ab83d39b12b217359bfd5df
3,904
py
Python
__main__.py
GbaCretin/dmf2mlm
8a0d3d219aecb9aa14a66537e2deb02651bdfe7d
[ "MIT" ]
2
2021-06-13T15:55:55.000Z
2021-09-14T08:21:53.000Z
__main__.py
GbaCretin/dmf2mlm
8a0d3d219aecb9aa14a66537e2deb02651bdfe7d
[ "MIT" ]
6
2022-03-22T10:02:35.000Z
2022-03-31T19:28:13.000Z
__main__.py
GbaCretin/dmf2mlm
8a0d3d219aecb9aa14a66537e2deb02651bdfe7d
[ "MIT" ]
null
null
null
from src import dmf,mzs,utils,sfx from pathlib import Path import argparse parser = argparse.ArgumentParser(description='Convert DMF modules and SFX to an MLM driver compatible format') parser.add_argument('dmf_module_paths', type=str, nargs='*', help="The paths to the input DMF files") parser.add_argument('--sfx-...
30.984127
144
0.649846
c06e2030a941664f4cc84a738c586a21db2c9695
1,169
py
Python
python/8.Making-a-POST-Request.py
17nikhil/codecademy
58fbd652691c9df8139544965ebb0e9748142538
[ "Apache-2.0" ]
null
null
null
python/8.Making-a-POST-Request.py
17nikhil/codecademy
58fbd652691c9df8139544965ebb0e9748142538
[ "Apache-2.0" ]
null
null
null
python/8.Making-a-POST-Request.py
17nikhil/codecademy
58fbd652691c9df8139544965ebb0e9748142538
[ "Apache-2.0" ]
1
2018-10-03T14:36:31.000Z
2018-10-03T14:36:31.000Z
# Using the Requests library, you can make a POST request by using the requests.post() method. You aren't just GETting data with a POST - you can pass your own data into the request as well, like so: # # requests.post("http://placekitten.com/", data="myDataToPost") # We're going to make the same request as the one show...
53.136364
271
0.726262
c06f05eaa2d985c3d75a5edbcfcca422b525cddf
2,630
py
Python
python/zephyr/models/__init__.py
r-pad/zephyr
c8f45e207c11bfc2b21df169db65a7df892d2848
[ "MIT" ]
18
2021-05-27T04:40:38.000Z
2022-02-08T19:46:31.000Z
python/zephyr/models/__init__.py
r-pad/zephyr
c8f45e207c11bfc2b21df169db65a7df892d2848
[ "MIT" ]
null
null
null
python/zephyr/models/__init__.py
r-pad/zephyr
c8f45e207c11bfc2b21df169db65a7df892d2848
[ "MIT" ]
2
2021-11-07T12:42:00.000Z
2022-03-01T12:51:54.000Z
import numpy as np import torch import torch.nn as nn import torch.nn.functional as F import time from functools import partial from .linear import MLP, LogReg from .pointnet import PointNet from .pointnet2 import PointNet2SSG from .pointnet3 import PointNet3SSG from .dgcnn import DGCNN # from .masked_co...
43.114754
107
0.646388
c070571b2741261b60b7d7b775818838f5089fed
1,938
py
Python
golpy/main.py
dkuska/golpy
a7bc73693090c252fa5ac587fe0d6c77472d9e9c
[ "MIT" ]
1
2021-01-06T09:19:19.000Z
2021-01-06T09:19:19.000Z
golpy/main.py
dkuska/golpy
a7bc73693090c252fa5ac587fe0d6c77472d9e9c
[ "MIT" ]
null
null
null
golpy/main.py
dkuska/golpy
a7bc73693090c252fa5ac587fe0d6c77472d9e9c
[ "MIT" ]
null
null
null
import golpy.controller.controller as controller import golpy.view.view as view import golpy.model.gamemodel as model import golpy.eventmanager.eventmanager as eventm import golpy.config as config import log.log as log import argparse def pass_args(): """ Takes Argument from the command line and returns an Argum...
46.142857
134
0.697626
c07059d11303ea7e0150379f0e66db3230da9433
2,899
py
Python
tests/orca_unit_testing/test_series_str.py
jiajiaxu123/Orca
e86189e70c1d0387816bb98b8047a6232fbda9df
[ "Apache-2.0" ]
20
2019-12-02T11:49:12.000Z
2021-12-24T19:34:32.000Z
tests/orca_unit_testing/test_series_str.py
jiajiaxu123/Orca
e86189e70c1d0387816bb98b8047a6232fbda9df
[ "Apache-2.0" ]
null
null
null
tests/orca_unit_testing/test_series_str.py
jiajiaxu123/Orca
e86189e70c1d0387816bb98b8047a6232fbda9df
[ "Apache-2.0" ]
5
2019-12-02T12:16:22.000Z
2021-10-22T02:27:47.000Z
import unittest import orca from setup.settings import * from pandas.util.testing import *
43.924242
118
0.675405
c0712a7efbb3bde035967d1fd7d0d7a42cb89f4b
278
py
Python
inputs/in4.py
mabbaszade/transportation-problem
64ab4db7f836513c388073b5e2e9c64d7c439fde
[ "MIT" ]
null
null
null
inputs/in4.py
mabbaszade/transportation-problem
64ab4db7f836513c388073b5e2e9c64d7c439fde
[ "MIT" ]
null
null
null
inputs/in4.py
mabbaszade/transportation-problem
64ab4db7f836513c388073b5e2e9c64d7c439fde
[ "MIT" ]
null
null
null
ITERATION_NUM = 10 MAX_POPULATION = 500 CROSSOVER_RATE = 1 MUTATION_RATE = 1 supplies = { 'S1': 20, 'S2': 15, 'S3': 40 } demands = { 'D1': 20, 'D2': 30, 'D3': 25 } cost = [[2, 3, 1], [5, 4, 8], [5, 6, 8] ]
12.636364
21
0.406475
c0712de2126b7958548be086996c8304d5bf2f45
89
py
Python
Project/Connect/apps.py
AashishKhanal69/PeakyBlinders_ADC7_PartII
a4474c02be4ee8f8405b51df2f1d215e56ac192d
[ "bzip2-1.0.6" ]
null
null
null
Project/Connect/apps.py
AashishKhanal69/PeakyBlinders_ADC7_PartII
a4474c02be4ee8f8405b51df2f1d215e56ac192d
[ "bzip2-1.0.6" ]
null
null
null
Project/Connect/apps.py
AashishKhanal69/PeakyBlinders_ADC7_PartII
a4474c02be4ee8f8405b51df2f1d215e56ac192d
[ "bzip2-1.0.6" ]
null
null
null
from django.apps import AppConfig
14.833333
33
0.752809
c072ef7683ac75d9de6d4b4eb8e1ab74898e3920
914
py
Python
spatial/edge.py
jbschwartz/spatial
04dc619ae024ebb4f516cd6483f835421c7d84b1
[ "MIT" ]
1
2022-01-02T22:03:09.000Z
2022-01-02T22:03:09.000Z
spatial/edge.py
jbschwartz/spatial
04dc619ae024ebb4f516cd6483f835421c7d84b1
[ "MIT" ]
null
null
null
spatial/edge.py
jbschwartz/spatial
04dc619ae024ebb4f516cd6483f835421c7d84b1
[ "MIT" ]
null
null
null
from functools import cached_property from .vector3 import Vector3
26.114286
67
0.591904
c07358522633a4b5223edee437652e807e46cb27
1,054
py
Python
timer.py
ryanleesmith/race-timer
3a058e3689c9435751b06909d5b7a14db618d2da
[ "MIT" ]
null
null
null
timer.py
ryanleesmith/race-timer
3a058e3689c9435751b06909d5b7a14db618d2da
[ "MIT" ]
null
null
null
timer.py
ryanleesmith/race-timer
3a058e3689c9435751b06909d5b7a14db618d2da
[ "MIT" ]
null
null
null
from gps import * import math import time import json import threading gpsd = None poller = None
23.422222
80
0.555028
c073994563fd9d56aecce3609828c1cbf0a8170a
31,133
py
Python
vkwave/bots/addons/easy/easy_handlers.py
amishakov/vkwave
377d470fc4b84b64516fffcabc6d682bf86b5d7f
[ "MIT" ]
null
null
null
vkwave/bots/addons/easy/easy_handlers.py
amishakov/vkwave
377d470fc4b84b64516fffcabc6d682bf86b5d7f
[ "MIT" ]
null
null
null
vkwave/bots/addons/easy/easy_handlers.py
amishakov/vkwave
377d470fc4b84b64516fffcabc6d682bf86b5d7f
[ "MIT" ]
null
null
null
import json import random import warnings from typing import Any, Callable, Dict, List, Union, Type, Optional, NoReturn from pydantic import PrivateAttr from vkwave.bots import BotEvent, BotType, EventTypeFilter, UserEvent from vkwave.bots.core import BaseFilter from vkwave.bots.core.dispatching.filters.builtin impor...
37.195938
335
0.615039
c074c692de4483f97d3f233f58a66ad3a9239b2d
1,337
py
Python
src/scs_core/osio/data/message_body.py
seoss/scs_core
0d4323c5697a39eb44a887f179ba5dca3716c1d2
[ "MIT" ]
3
2019-03-12T01:59:58.000Z
2020-09-12T07:27:42.000Z
src/scs_core/osio/data/message_body.py
seoss/scs_core
0d4323c5697a39eb44a887f179ba5dca3716c1d2
[ "MIT" ]
1
2018-04-20T07:58:38.000Z
2021-03-27T08:52:45.000Z
src/scs_core/osio/data/message_body.py
seoss/scs_core
0d4323c5697a39eb44a887f179ba5dca3716c1d2
[ "MIT" ]
4
2017-09-29T13:08:43.000Z
2019-10-09T09:13:58.000Z
""" Created on 7 Nov 2016 @author: Bruno Beloff (bruno.beloff@southcoastscience.com) example: 25 June 2016 17:44:28 BST: {"datum":{"conc":92,"dens":184},"measured-at":"2016-06-25T17:41:01+01:00"} """ from collections import OrderedDict from scs_core.data.json import JSONable # ------------------------------------...
25.711538
118
0.324607
c078fecfd19302ee3b513baaaa01bf856eb712e7
24,154
py
Python
pysnmp/CISCO-FC-PM-MIB.py
agustinhenze/mibs.snmplabs.com
1fc5c07860542b89212f4c8ab807057d9a9206c7
[ "Apache-2.0" ]
11
2021-02-02T16:27:16.000Z
2021-08-31T06:22:49.000Z
pysnmp/CISCO-FC-PM-MIB.py
agustinhenze/mibs.snmplabs.com
1fc5c07860542b89212f4c8ab807057d9a9206c7
[ "Apache-2.0" ]
75
2021-02-24T17:30:31.000Z
2021-12-08T00:01:18.000Z
pysnmp/CISCO-FC-PM-MIB.py
agustinhenze/mibs.snmplabs.com
1fc5c07860542b89212f4c8ab807057d9a9206c7
[ "Apache-2.0" ]
10
2019-04-30T05:51:36.000Z
2022-02-16T03:33:41.000Z
# # PySNMP MIB module CISCO-FC-PM-MIB (http://snmplabs.com/pysmi) # ASN.1 source file:///Users/davwang4/Dev/mibs.snmplabs.com/asn1/CISCO-FC-PM-MIB # Produced by pysmi-0.3.4 at Mon Apr 29 17:40:52 2019 # On host DAVWANG4-M-1475 platform Darwin version 18.5.0 by user davwang4 # Using Python version 3.7.3 (default, Mar 27...
137.238636
3,967
0.770928
c078ff18aa77981230542dee77a093f9d2cdb667
13,841
py
Python
layer_manager/models.py
lueho/BRIT
1eae630c4da6f072aa4e2139bc406db4f4756391
[ "MIT" ]
null
null
null
layer_manager/models.py
lueho/BRIT
1eae630c4da6f072aa4e2139bc406db4f4756391
[ "MIT" ]
4
2022-03-29T20:52:31.000Z
2022-03-29T20:52:31.000Z
layer_manager/models.py
lueho/BRIT
1eae630c4da6f072aa4e2139bc406db4f4756391
[ "MIT" ]
null
null
null
import django.contrib.gis.db.models as gis_models from django.apps import apps from django.db import models, connection from django.urls import reverse from distributions.models import TemporalDistribution, Timestep from inventories.models import Scenario, InventoryAlgorithm from materials.models import SampleSeries, ...
40.589443
134
0.627556
c07be394b73091661999efe65e37d5d6f073209b
4,205
py
Python
src/evaluation/regression.py
lyonva/Nue
90680de00b0c76f6bfdbed71b785671e7c3a3f54
[ "Apache-2.0" ]
null
null
null
src/evaluation/regression.py
lyonva/Nue
90680de00b0c76f6bfdbed71b785671e7c3a3f54
[ "Apache-2.0" ]
null
null
null
src/evaluation/regression.py
lyonva/Nue
90680de00b0c76f6bfdbed71b785671e7c3a3f54
[ "Apache-2.0" ]
null
null
null
from evaluation import MetricScorer from .formulas import mar, sa, sd, sdar, effect_size, mmre, mdmre, pred25, pred40 from baseline import MARP0
31.616541
81
0.617122
c07ca44e33380193eabc6f8bec1ebe24f8d013c9
8,212
py
Python
bin/CAD/Abaqus/AbaqusGeometry.py
lefevre-fraser/openmeta-mms
08f3115e76498df1f8d70641d71f5c52cab4ce5f
[ "MIT" ]
null
null
null
bin/CAD/Abaqus/AbaqusGeometry.py
lefevre-fraser/openmeta-mms
08f3115e76498df1f8d70641d71f5c52cab4ce5f
[ "MIT" ]
null
null
null
bin/CAD/Abaqus/AbaqusGeometry.py
lefevre-fraser/openmeta-mms
08f3115e76498df1f8d70641d71f5c52cab4ce5f
[ "MIT" ]
null
null
null
""" AbaqusGeometry.py For use with Abaqus 6.13-1 (Python 2.6.2). Created by Ozgur Yapar <oyapar@isis.vanderbilt.edu> Robert Boyles <rboyles@isis.vanderbilt.edu> - Includes modules which take care of geometrical operations in the part and assembly level. """ import re import mat...
53.673203
121
0.565392
c07dacc643d713f89a754dcc9e2a89ae590b2576
2,143
py
Python
analysis/11-compress-jacobians.py
lmjohns3/cube-experiment
ab6d1a9df95efebc369d184ab1c748d73d5c3313
[ "MIT" ]
null
null
null
analysis/11-compress-jacobians.py
lmjohns3/cube-experiment
ab6d1a9df95efebc369d184ab1c748d73d5c3313
[ "MIT" ]
null
null
null
analysis/11-compress-jacobians.py
lmjohns3/cube-experiment
ab6d1a9df95efebc369d184ab1c748d73d5c3313
[ "MIT" ]
null
null
null
import climate import glob import gzip import io import lmj.cubes import logging import numpy as np import os import pandas as pd import pickle import theanets if __name__ == '__main__': climate.call(main)
30.614286
76
0.591227
c07f103a6a6e92a6245209f932b8d90c064fd018
21,369
py
Python
commerce/views.py
zlkca/ehetuan-api
da84cd4429bd33e8fe191327ec267bf105f41453
[ "MIT" ]
1
2020-05-27T18:17:01.000Z
2020-05-27T18:17:01.000Z
commerce/views.py
zlkca/ehetuan-api
da84cd4429bd33e8fe191327ec267bf105f41453
[ "MIT" ]
6
2020-06-05T18:14:56.000Z
2021-09-07T23:53:08.000Z
commerce/views.py
zlkca/ehetuan-api
da84cd4429bd33e8fe191327ec267bf105f41453
[ "MIT" ]
null
null
null
import json import os import logging from datetime import datetime from django.db.models import Q,Count from django.http import JsonResponse from django.views.generic import View from django.views.decorators.csrf import csrf_exempt from django.utils.decorators import method_decorator from django.conf import settings fr...
36.15736
126
0.530675
c07fe33cae576add35e02a5f464a4a05467459e8
5,666
py
Python
api/views.py
huatxu/erasmusbackend
d8f86ee857a292a133106e75e9c920b905b5b10d
[ "MIT" ]
null
null
null
api/views.py
huatxu/erasmusbackend
d8f86ee857a292a133106e75e9c920b905b5b10d
[ "MIT" ]
null
null
null
api/views.py
huatxu/erasmusbackend
d8f86ee857a292a133106e75e9c920b905b5b10d
[ "MIT" ]
null
null
null
from django.shortcuts import render from api.models import Comida, Cerveza, Titulo, TipoComida from django.http import Http404 from rest_framework.views import APIView from rest_framework.response import Response from rest_framework import serializers import csv import os import csv import os
39.901408
300
0.55683
c081b2d11a5b435dcb1b7be483e436c803475836
232
gyp
Python
binding.gyp
sony/node-win-usbdev
bcdbd277419f1e34b1778390ec1624ccce63068d
[ "Apache-2.0" ]
3
2017-06-28T12:00:36.000Z
2021-11-08T12:34:26.000Z
binding.gyp
sony/node-win-usbdev
bcdbd277419f1e34b1778390ec1624ccce63068d
[ "Apache-2.0" ]
1
2018-02-16T04:32:55.000Z
2018-02-16T04:32:55.000Z
binding.gyp
sony/node-win-usbdev
bcdbd277419f1e34b1778390ec1624ccce63068d
[ "Apache-2.0" ]
3
2017-07-31T23:19:07.000Z
2022-03-25T17:02:51.000Z
{ "targets": [ { "target_name": "usb_dev", "sources": [ "usb_dev.cc" ], "include_dirs" : [ "<!(node -e \"require('nan')\")" ], "libraries": [ "-lsetupapi" ] } ] }
15.466667
42
0.37069
c083ad9611b00848cfe7baab07a7e05df20d4b0d
1,011
py
Python
insert_table.py
Cassiel60/python
3f451e398a8705a5859d347d5fcdcfd9a5671e1c
[ "MIT" ]
null
null
null
insert_table.py
Cassiel60/python
3f451e398a8705a5859d347d5fcdcfd9a5671e1c
[ "MIT" ]
null
null
null
insert_table.py
Cassiel60/python
3f451e398a8705a5859d347d5fcdcfd9a5671e1c
[ "MIT" ]
1
2019-12-19T00:34:02.000Z
2019-12-19T00:34:02.000Z
''' table AD contains RS,ADID;table Parkinson contains RS,PDID;table variant contains ADID, PDID insert table variant one way: below two way: by merge ''' import sys ,re import pandas as pd varfil1=r'C:\Users\BAIOMED07\Desktop\AD_Database_20170629.xls' varfil2=r'C:\Users\BAIOMED07\Desktop\parkinson_TOTAL.xls' varfil...
25.275
87
0.723046
c08a254cca4494b2d1aa73495456b23d2cb83ea5
390
py
Python
1_Ejemplo_practico_ECG/utils.py
IEEE-UPIBI/Comunicacion-Serial-Python-Arduino
806916a5d47e8d29933e1402296e2ca6d5d5a79e
[ "MIT" ]
null
null
null
1_Ejemplo_practico_ECG/utils.py
IEEE-UPIBI/Comunicacion-Serial-Python-Arduino
806916a5d47e8d29933e1402296e2ca6d5d5a79e
[ "MIT" ]
1
2021-04-23T23:20:42.000Z
2021-04-23T23:20:42.000Z
2_Ejemplo_practico_SensorMPU6050/utils.py
IEEE-UPIBI/Comunicacion-Serial-Python-Arduino
806916a5d47e8d29933e1402296e2ca6d5d5a79e
[ "MIT" ]
null
null
null
import serial import time ### FUNCTIONS #### #### SERIAL COMMUNICATION #### def arduino_communication(COM="COM5",BAUDRATE=9600,TIMEOUT=1): """ Initalizes connection with Arduino Board """ try: arduino = serial.Serial(COM, BAUDRATE , timeout=TIMEOUT) time.sleep(2) except: ...
16.956522
64
0.628205
c08b025b2f074208a6371fa035f6cf38f392405a
3,595
py
Python
trav_lib/visualize.py
thwhitfield/trav_lib
46185f5545d958eba1538c769a98d07908dd0d19
[ "MIT" ]
null
null
null
trav_lib/visualize.py
thwhitfield/trav_lib
46185f5545d958eba1538c769a98d07908dd0d19
[ "MIT" ]
null
null
null
trav_lib/visualize.py
thwhitfield/trav_lib
46185f5545d958eba1538c769a98d07908dd0d19
[ "MIT" ]
null
null
null
"""Classes and functions used for data visualization""" import pandas as pd import numpy as np import seaborn as sns import matplotlib.pyplot as plt def plot_log_hist(s,bin_factor=1,min_exp=None): """Plot 2 histograms with log x scales, one for positive values & one for negative values. Bin_factor is used...
35.594059
97
0.662309
c08cb3b6fdb628373adc1c5e8da4f386b0294fba
1,828
py
Python
test/test_configeditor.py
ta-assistant/Admin-CLI
1c03ede0e09d8ddc270646937aa7af463c55f1f5
[ "MIT" ]
1
2021-07-22T15:43:02.000Z
2021-07-22T15:43:02.000Z
test/test_configeditor.py
ta-assistant/Admin-CLI
1c03ede0e09d8ddc270646937aa7af463c55f1f5
[ "MIT" ]
28
2021-05-15T08:18:21.000Z
2021-08-02T06:12:30.000Z
test/test_configeditor.py
ta-assistant/TA-CLI
1c03ede0e09d8ddc270646937aa7af463c55f1f5
[ "MIT" ]
null
null
null
import unittest import os, sys, inspect, json currentdir = os.path.dirname(os.path.abspath(inspect.getfile(inspect.currentframe()))) parentdir = os.path.dirname(currentdir) sys.path.insert(0, parentdir) from lib.file_management.configeditor import ConfigEditor from lib.file_management.file_management_lib import DirMana...
25.041096
86
0.561816
c08e3ff69724d52b478b9cfd81ca7910c42f6c6e
7,390
py
Python
chemreg/compound/migrations/0001_vega_sprint.py
Chemical-Curation/chemcurator
bcd7fab84e407f06502e6873c38820724d4e54e7
[ "MIT" ]
1
2020-10-05T18:02:24.000Z
2020-10-05T18:02:24.000Z
chemreg/compound/migrations/0001_vega_sprint.py
Chemical-Curation/chemcurator_django
bcd7fab84e407f06502e6873c38820724d4e54e7
[ "MIT" ]
207
2020-01-30T19:17:44.000Z
2021-02-24T19:45:29.000Z
chemreg/compound/migrations/0001_vega_sprint.py
Chemical-Curation/chemcurator_django
bcd7fab84e407f06502e6873c38820724d4e54e7
[ "MIT" ]
null
null
null
# Generated by Django 3.0.3 on 2020-11-18 06:06 import chemreg.common.utils import chemreg.common.validators import chemreg.compound.models import chemreg.compound.utils from django.conf import settings from django.db import migrations, models import django.db.models.deletion
38.092784
85
0.472666
c08e8f408c1440f68bb49f4c21e145acaad7cc8e
3,466
py
Python
TwitterCode/crawler.py
aghriss/CS5502_project
68403f38ef26067360cb22404cdabe0d0543097a
[ "MIT" ]
null
null
null
TwitterCode/crawler.py
aghriss/CS5502_project
68403f38ef26067360cb22404cdabe0d0543097a
[ "MIT" ]
null
null
null
TwitterCode/crawler.py
aghriss/CS5502_project
68403f38ef26067360cb22404cdabe0d0543097a
[ "MIT" ]
null
null
null
''' Twitter Crawler to get tweets and user data ''' import tweepy import json import os import time def save_tweet(result): """Function to save tweepy result status""" pass def save_user(result_set): """Function to save tweepy set fo result statuses""" pass #crawler = TweetCrawler...
32.698113
103
0.611656
c08e9da0f8073946d9eb1f38656fc0912b347134
2,206
py
Python
instruments/swap.py
neoyung/IrLib
942793c49a477c9f5747410be74daf868391f289
[ "MIT" ]
1
2021-10-04T03:15:50.000Z
2021-10-04T03:15:50.000Z
instruments/swap.py
neoyung/IrLib
942793c49a477c9f5747410be74daf868391f289
[ "MIT" ]
null
null
null
instruments/swap.py
neoyung/IrLib
942793c49a477c9f5747410be74daf868391f289
[ "MIT" ]
null
null
null
from irLib.instruments.instrument import instrument from irLib.helpers.schedule import period from irLib.instruments.legs import fixLeg, floatLeg
41.622642
145
0.655938
c08f4ab3e25ce0f369e7d00947095aeb1fb9b437
21,083
py
Python
skhubness/neighbors/lsh.py
VarIr/scikit-hubness
6eaeedda2c4b52bb7bf2553b3c5b04a076287ae3
[ "BSD-3-Clause" ]
33
2019-08-05T12:29:19.000Z
2022-03-08T18:48:28.000Z
skhubness/neighbors/lsh.py
AndreasPhilippi/scikit-hubness
6eaeedda2c4b52bb7bf2553b3c5b04a076287ae3
[ "BSD-3-Clause" ]
84
2019-07-12T09:05:42.000Z
2022-03-31T08:50:15.000Z
skhubness/neighbors/lsh.py
AndreasPhilippi/scikit-hubness
6eaeedda2c4b52bb7bf2553b3c5b04a076287ae3
[ "BSD-3-Clause" ]
9
2019-09-26T11:03:04.000Z
2021-07-01T08:43:11.000Z
# -*- coding: utf-8 -*- # SPDX-License-Identifier: BSD-3-Clause # PEP 563: Postponed Evaluation of Annotations from __future__ import annotations from functools import partial import multiprocessing as mp from typing import Tuple, Union import warnings import numpy as np from sklearn.base import BaseEstimator from s...
39.481273
120
0.54774
c09039628dfca0497559485ef917b2eee5612ab1
11,859
py
Python
virtualreality/calibration/manual_color_mask_calibration.py
sahasam/hobo_vr
0cf5824c91719055156ec23cf8dda2d921be948a
[ "MIT" ]
null
null
null
virtualreality/calibration/manual_color_mask_calibration.py
sahasam/hobo_vr
0cf5824c91719055156ec23cf8dda2d921be948a
[ "MIT" ]
null
null
null
virtualreality/calibration/manual_color_mask_calibration.py
sahasam/hobo_vr
0cf5824c91719055156ec23cf8dda2d921be948a
[ "MIT" ]
null
null
null
""" pyvr calibrate. Usage: pyvr calibrate [options] Options: -h, --help -c, --camera <camera> Source of the camera to use for calibration [default: 0] -r, --resolution <res> Input resolution in width and height [default: -1x-1] -n, --n_masks <n_masks> Number of masks to calibrate [de...
35.827795
114
0.646935
c091621b5f0a091f64683171c4c8e2bb52a88c66
155
py
Python
lambda_handlers/validators/__init__.py
renovate-tests/lambda-handlers
0b14013f19b597524a8d50f7ea8813ee726c584c
[ "Apache-2.0" ]
null
null
null
lambda_handlers/validators/__init__.py
renovate-tests/lambda-handlers
0b14013f19b597524a8d50f7ea8813ee726c584c
[ "Apache-2.0" ]
null
null
null
lambda_handlers/validators/__init__.py
renovate-tests/lambda-handlers
0b14013f19b597524a8d50f7ea8813ee726c584c
[ "Apache-2.0" ]
null
null
null
from .jsonschema_validator import JSONSchemaValidator as jsonschema # noqa from .marshmallow_validator import MarshmallowValidator as marshmallow # noqa
51.666667
78
0.858065
c091c64c9f6b764d68bafb5d1ad27be880d8e240
227
py
Python
xonsh/aliases/dir.py
yjpark/dotfiles
ae9ad72eb2e2a4d3da4c600d24782720229d1a4b
[ "MIT" ]
7
2015-12-18T04:33:01.000Z
2019-09-17T06:09:51.000Z
xonsh/aliases/dir.py
yjpark/dotfiles
ae9ad72eb2e2a4d3da4c600d24782720229d1a4b
[ "MIT" ]
1
2016-05-12T15:32:47.000Z
2016-05-12T15:32:47.000Z
xonsh/aliases/dir.py
yjpark/dotfiles
ae9ad72eb2e2a4d3da4c600d24782720229d1a4b
[ "MIT" ]
4
2016-11-29T04:06:19.000Z
2019-12-26T14:32:46.000Z
aliases['cd-'] = 'cd -' aliases['cl'] = 'cd (ls -1Ft | head -1)' aliases['..'] = 'cd ..' aliases['...'] = 'cd ../..' aliases['....'] = 'cd ../../..' aliases['.....'] = 'cd ../../../..' aliases['......'] = 'cd ../../../../..'
22.7
40
0.339207
c09416ca42570e30634d8a60a3175bf1c430d092
1,894
py
Python
database.py
tzoch/dropbox-bot
2bf36e2d4146bf8c00169362f9767ed059643787
[ "MIT" ]
3
2016-03-08T04:43:22.000Z
2020-08-25T20:07:28.000Z
database.py
tzoch/dropbox-bot
2bf36e2d4146bf8c00169362f9767ed059643787
[ "MIT" ]
null
null
null
database.py
tzoch/dropbox-bot
2bf36e2d4146bf8c00169362f9767ed059643787
[ "MIT" ]
null
null
null
#! /usr/bin/python ''' Class to handle database connections and queries for Dropbox Mirror Bot ''' import sqlite3
30.063492
70
0.577614