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
cf4387415bf3d2ce5cee3c3ac85f26fc37e16f40
1,246
py
Python
chronos/docker/chronos/main.py
guadaltech/kubernetes-containers-tools
5d4d9da6bf95162404b927cf23178d86dd99dd85
[ "Apache-2.0" ]
6
2019-07-16T22:10:30.000Z
2021-12-27T09:19:49.000Z
chronos/docker/chronos/main.py
guadaltech/kubernetes-containers-tools
5d4d9da6bf95162404b927cf23178d86dd99dd85
[ "Apache-2.0" ]
2
2021-04-30T21:26:44.000Z
2021-06-02T02:52:11.000Z
chronos/docker/chronos/main.py
guadaltech/kubernetes-containers-tools
5d4d9da6bf95162404b927cf23178d86dd99dd85
[ "Apache-2.0" ]
5
2019-12-05T17:50:44.000Z
2020-12-21T13:43:59.000Z
#!/usr/bin/python3 # -*- coding: utf-8 -*- # By: Juan Manuel Torres (Tedezed) # Source: https://github.com/Tedezed # Mail: juanmanuel.torres@aventurabinaria.es from sys import argv from copy import deepcopy from chronos import * from module_control import * debug = True if __name__ == '__main__': # Start m...
24.431373
94
0.617175
cf4608779dce90116381a48c64482664f32fa28c
477
py
Python
marketplace/migrations/0003_auto_20171106_1454.py
18F/cloud-marketplace-prototype
4098d7e5391274e5317be2525d9deb5bc40eb2ad
[ "CC0-1.0" ]
null
null
null
marketplace/migrations/0003_auto_20171106_1454.py
18F/cloud-marketplace-prototype
4098d7e5391274e5317be2525d9deb5bc40eb2ad
[ "CC0-1.0" ]
7
2017-11-06T20:35:53.000Z
2017-11-08T00:25:23.000Z
marketplace/migrations/0003_auto_20171106_1454.py
18F/cloud-marketplace-prototype
4098d7e5391274e5317be2525d9deb5bc40eb2ad
[ "CC0-1.0" ]
2
2020-04-03T19:39:32.000Z
2021-02-14T11:06:53.000Z
# Generated by Django 2.0b1 on 2017-11-06 14:54 from django.db import migrations, models import django.db.models.deletion
23.85
104
0.645702
cf47df4c6b593e4383ff636ac29f7e2d23da1b11
4,770
py
Python
sed.py
hvt1609/kagglebirdcall
4f60b72b80414daecdb54cef35c50fc864445e2e
[ "MIT" ]
43
2020-09-20T07:18:13.000Z
2022-02-28T02:00:52.000Z
sed.py
hvt1609/kagglebirdcall
4f60b72b80414daecdb54cef35c50fc864445e2e
[ "MIT" ]
null
null
null
sed.py
hvt1609/kagglebirdcall
4f60b72b80414daecdb54cef35c50fc864445e2e
[ "MIT" ]
11
2020-12-14T12:47:59.000Z
2021-09-15T08:30:07.000Z
import numpy as np import pandas as pd import torch import src.configuration as C import src.dataset as dataset import src.models as models import src.utils as utils from pathlib import Path from fastprogress import progress_bar if __name__ == "__main__": args = utils.get_sed_parser().parse_args() config =...
40.769231
88
0.497694
cf4822751b85f3fff30ab1f25c4f898ec930fe1f
7,714
py
Python
src/models.py
hrukalive/WWW2020_paper2repo
d37c09e5bb1f01a71e5fc271821c9a8eff012eab
[ "MIT" ]
9
2020-05-21T11:26:41.000Z
2022-01-02T20:25:16.000Z
src/models.py
hrukalive/WWW2020_paper2repo
d37c09e5bb1f01a71e5fc271821c9a8eff012eab
[ "MIT" ]
2
2020-10-17T15:17:51.000Z
2020-12-15T01:27:59.000Z
src/models.py
hrukalive/WWW2020_paper2repo
d37c09e5bb1f01a71e5fc271821c9a8eff012eab
[ "MIT" ]
2
2020-05-21T10:52:47.000Z
2020-12-10T03:12:00.000Z
import itertools import random import numpy as np import torch import torch.nn as nn import torch.nn.functional as F from torch_geometric.nn import GCNConv
42.855556
150
0.639487
cf4877aa2a4e1460da58b03dece8f19e7017b3cc
815
py
Python
cobaltuoft/helpers/scrapers/filter_keys.py
kshvmdn/cobalt-uoft-python
0e58ae1c622a5b8c0dd9cdc099dbb852d1892b5d
[ "MIT" ]
2
2016-06-02T00:15:07.000Z
2016-07-09T22:03:07.000Z
cobaltuoft/helpers/scrapers/filter_keys.py
kshvmdn/cobalt-uoft-python
0e58ae1c622a5b8c0dd9cdc099dbb852d1892b5d
[ "MIT" ]
1
2016-08-20T03:05:15.000Z
2016-08-20T03:05:15.000Z
cobaltuoft/helpers/scrapers/filter_keys.py
kshvmdn/cobalt-uoft-python
0e58ae1c622a5b8c0dd9cdc099dbb852d1892b5d
[ "MIT" ]
null
null
null
import requests import json from bs4 import BeautifulSoup BASE_URL = 'https://cobalt.qas.im/documentation/%s/filter' def scrape(api_endpoint): """Scrape filter keys from the Cobalt documentation of api_endpoint.""" host = BASE_URL % api_endpoint resp = requests.get(host) soup = BeautifulSoup(resp.t...
20.897436
75
0.641718
cf4e17eb9bba880982985109a14c9e919ea428bc
1,868
py
Python
scraper.py
JordanFitz/ultimate-cli
2eae5a21ca33222dabab395506edcd5348af0953
[ "MIT" ]
3
2020-07-31T18:55:53.000Z
2021-01-11T19:34:57.000Z
scraper.py
JordanFitz/ultimate-cli
2eae5a21ca33222dabab395506edcd5348af0953
[ "MIT" ]
null
null
null
scraper.py
JordanFitz/ultimate-cli
2eae5a21ca33222dabab395506edcd5348af0953
[ "MIT" ]
null
null
null
import requests import json from bs4 import BeautifulSoup from result import Result BASE = "https://www.ultimate-guitar.com/" URLS = { "search": BASE + "search.php" }
27.470588
95
0.555139
cf4f651d549c3516ce6db96d22129332f315f99b
28,200
py
Python
experiments/smal_shape.py
silviazuffi/smalst
f7871d6e53331938ac8e15491d88988f3645020c
[ "MIT" ]
121
2019-09-11T18:26:06.000Z
2022-03-09T07:25:12.000Z
experiments/smal_shape.py
silviazuffi/smalst
f7871d6e53331938ac8e15491d88988f3645020c
[ "MIT" ]
27
2019-09-19T11:06:36.000Z
2022-03-12T00:05:51.000Z
experiments/smal_shape.py
silviazuffi/smalst
f7871d6e53331938ac8e15491d88988f3645020c
[ "MIT" ]
21
2019-09-12T00:36:05.000Z
2021-11-16T18:01:12.000Z
""" Example usage: python -m smalst.experiments.smal_shape --zebra_dir='smalst/zebra_no_toys_wtex_1000_0' --num_epochs=100000 --save_epoch_freq=20 --name=smal_net_600 --save_training_imgs=True --num_images=20000 --do_validation=True """ from __future__ import absolute_import from __future__ import division from __f...
45.337621
213
0.632801
cf4fafa4cd10d68213ccd7a497d1a8e05102d135
5,504
py
Python
lablog/controllers/auth/facebook.py
NationalAssociationOfRealtors/LabServices
33a5d654254f0449665acc0ec49454b624914bd6
[ "MIT" ]
4
2015-08-26T23:43:45.000Z
2019-05-14T11:48:33.000Z
lablog/controllers/auth/facebook.py
NationalAssociationOfRealtors/LabServices
33a5d654254f0449665acc0ec49454b624914bd6
[ "MIT" ]
null
null
null
lablog/controllers/auth/facebook.py
NationalAssociationOfRealtors/LabServices
33a5d654254f0449665acc0ec49454b624914bd6
[ "MIT" ]
4
2015-11-11T21:10:39.000Z
2019-02-19T10:29:06.000Z
from flask import Blueprint, render_template, request, redirect, url_for, Response from flask.views import MethodView from flask.ext.login import login_required, current_user from lablog import config from lablog.models.client import SocialAccount, FacebookPage, PageCategory from flask_oauth import OAuth import logging...
33.766871
96
0.60883
cf52462e678754e75ae82a866356a2a83a7127d7
2,208
py
Python
lambdainst/management/commands/expire_notify.py
Elijah-glitch/Hey
00c09a0c8bfa9868d8048f697b36849569f9e127
[ "MIT" ]
25
2016-07-14T06:16:17.000Z
2021-12-21T06:52:42.000Z
lambdainst/management/commands/expire_notify.py
Elijah-glitch/Hey
00c09a0c8bfa9868d8048f697b36849569f9e127
[ "MIT" ]
4
2017-11-29T20:20:30.000Z
2017-12-01T00:04:29.000Z
lambdainst/management/commands/expire_notify.py
Elijah-glitch/Hey
00c09a0c8bfa9868d8048f697b36849569f9e127
[ "MIT" ]
5
2016-07-19T18:26:24.000Z
2020-05-31T18:40:15.000Z
from django.core.management.base import BaseCommand from datetime import timedelta from django.db.models import Q, F from django.conf import settings from django.utils import timezone from django.template.loader import get_template from django.core.mail import send_mass_mail from constance import config as site_confi...
36.196721
90
0.660326
cf53c765814066ca5686a1437270186374d125ce
436
py
Python
data-collection/tools/get_frames_from_video.py
pabsan-0/sub-t
7217fdbd3ba73a4d807939f3a2646ac9f4f00fe0
[ "MIT" ]
null
null
null
data-collection/tools/get_frames_from_video.py
pabsan-0/sub-t
7217fdbd3ba73a4d807939f3a2646ac9f4f00fe0
[ "MIT" ]
1
2021-09-14T09:34:30.000Z
2021-09-14T09:34:30.000Z
data-collection/tools/get_frames_from_video.py
pabsan-0/sub-t
7217fdbd3ba73a4d807939f3a2646ac9f4f00fe0
[ "MIT" ]
null
null
null
import cv2 ''' gets a video file and dumps each frame as a jpg picture in an output dir ''' # Opens the Video file cap = cv2.VideoCapture('./Subt_2.mp4') i = 0 while(cap.isOpened()): ret, frame = cap.read() if i%(round(25*0.3)) == 0: print(i) if ret == False: break...
18.956522
73
0.555046
cf550d5046a14f319037b7c1e06767b5b0ef9a2d
6,493
py
Python
analysis_tools/data_processing.py
google-research/policy-learning-landscape
96c99bc67ce40559c61bdb6110f625671fc96055
[ "Apache-2.0" ]
52
2018-11-01T05:30:19.000Z
2022-01-17T10:44:55.000Z
analysis_tools/data_processing.py
google-research/policy-learning-landscape
96c99bc67ce40559c61bdb6110f625671fc96055
[ "Apache-2.0" ]
null
null
null
analysis_tools/data_processing.py
google-research/policy-learning-landscape
96c99bc67ce40559c61bdb6110f625671fc96055
[ "Apache-2.0" ]
12
2018-11-01T15:04:18.000Z
2022-03-29T10:38:07.000Z
# coding=utf-8 # Copyright 2018 The Google Research Authors. # # 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 applicab...
34.354497
97
0.708301
cf5571ce3ba8c90bd540e618cea5932721093c20
3,945
py
Python
src/toil_lib/test/test_spark.py
BD2KGenomics/toil-lib
022a615fc3dc98fc1aaa7bfd232409962ca44fbd
[ "Apache-2.0" ]
4
2016-09-07T17:42:21.000Z
2021-10-10T21:29:25.000Z
src/toil_lib/test/test_spark.py
BD2KGenomics/toil-lib
022a615fc3dc98fc1aaa7bfd232409962ca44fbd
[ "Apache-2.0" ]
95
2016-09-02T07:39:19.000Z
2017-09-07T21:36:25.000Z
src/toil_lib/test/test_spark.py
BD2KGenomics/toil-lib
022a615fc3dc98fc1aaa7bfd232409962ca44fbd
[ "Apache-2.0" ]
8
2016-09-02T03:27:23.000Z
2021-10-10T21:29:17.000Z
# Copyright (C) 2016 Regents of the University of California # # 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 applicab...
32.336066
86
0.649176
cf570cd02e631b3b5db311ff2825b9555c99f6c9
5,469
py
Python
testscripts/RDKB/component/HAL_Platform/TS_platform_stub_hal_SNMPOnboardReboot_InvalidInput.py
rdkcmf/rdkb-tools-tdkb
9f9c3600cd701d5fc90ac86a6394ebd28d49267e
[ "Apache-2.0" ]
null
null
null
testscripts/RDKB/component/HAL_Platform/TS_platform_stub_hal_SNMPOnboardReboot_InvalidInput.py
rdkcmf/rdkb-tools-tdkb
9f9c3600cd701d5fc90ac86a6394ebd28d49267e
[ "Apache-2.0" ]
null
null
null
testscripts/RDKB/component/HAL_Platform/TS_platform_stub_hal_SNMPOnboardReboot_InvalidInput.py
rdkcmf/rdkb-tools-tdkb
9f9c3600cd701d5fc90ac86a6394ebd28d49267e
[ "Apache-2.0" ]
null
null
null
########################################################################## # If not stated otherwise in this file or this component's Licenses.txt # file the following copyright and licenses apply: # # Copyright 2020 RDK Management # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use th...
43.752
149
0.722436
cf5af642f862583555a72b1ffb31c75257f89438
1,939
py
Python
test.py
iNateDawg/Craft
07cc0002d74ed4842861e318f8fffb1d7883f0e8
[ "MIT" ]
null
null
null
test.py
iNateDawg/Craft
07cc0002d74ed4842861e318f8fffb1d7883f0e8
[ "MIT" ]
23
2020-02-13T23:36:55.000Z
2020-04-27T18:24:04.000Z
test.py
iNateDawg/Craft
07cc0002d74ed4842861e318f8fffb1d7883f0e8
[ "MIT" ]
null
null
null
import normalize norm = normalize.normalize("heightdata.png", 6, 6)
46.166667
123
0.676122
cf5c534c09ede466b590e19490c6c514bb3d2263
2,805
py
Python
train.py
gezza/aipnd-flower-classifier
7922e04843396d0b42e7da560d5cbea01808c9f0
[ "MIT" ]
null
null
null
train.py
gezza/aipnd-flower-classifier
7922e04843396d0b42e7da560d5cbea01808c9f0
[ "MIT" ]
null
null
null
train.py
gezza/aipnd-flower-classifier
7922e04843396d0b42e7da560d5cbea01808c9f0
[ "MIT" ]
null
null
null
# imports import json import argparse import torch from torch import nn from torch import optim from torch.optim import lr_scheduler import torch.nn.functional as F from torchvision import models from collections import OrderedDict from data_utils import load_data from model_utils import define_model, train_model # pa...
37.905405
143
0.685561
cf5c77c555ecb2e02b90f5f6cbb36c241e07712b
205
py
Python
test_suite.py
williangl/locust_jtl_reporter
2eeed97d3aa454223f443fb406076500dd5b2934
[ "MIT" ]
null
null
null
test_suite.py
williangl/locust_jtl_reporter
2eeed97d3aa454223f443fb406076500dd5b2934
[ "MIT" ]
null
null
null
test_suite.py
williangl/locust_jtl_reporter
2eeed97d3aa454223f443fb406076500dd5b2934
[ "MIT" ]
null
null
null
from locust import HttpUser from product_route import ProductLoadTest from user_route import UserLoadTest
15.769231
41
0.731707
cf5e44c6b2e424b2b5948c67c6cd8e692e1cb91a
916
py
Python
code/util/rototranslation.py
goldleaf3i/declutter-reconstruct
954b755a1eced34af50d31ee2e3938a0b751cc4d
[ "MIT" ]
2
2022-03-14T07:37:45.000Z
2022-03-25T09:01:48.000Z
code/util/rototranslation.py
goldleaf3i/declutter-reconstruct
954b755a1eced34af50d31ee2e3938a0b751cc4d
[ "MIT" ]
1
2022-03-24T07:34:16.000Z
2022-03-27T11:20:27.000Z
code/util/rototranslation.py
goldleaf3i/declutter-reconstruct
954b755a1eced34af50d31ee2e3938a0b751cc4d
[ "MIT" ]
1
2022-03-08T05:37:22.000Z
2022-03-08T05:37:22.000Z
import math
26.941176
118
0.706332
cf5f5b44e44e3ba3b7ed0e8ffb3e498e72891f7c
8,316
py
Python
ReanalysisRetreival_orig/UnimakPass/UP_Winds_Trans_vs_SST.py
shaunwbell/FOCI_Analysis
dde4a5f0badd76fe5719575d5c138813ab156b70
[ "MIT" ]
null
null
null
ReanalysisRetreival_orig/UnimakPass/UP_Winds_Trans_vs_SST.py
shaunwbell/FOCI_Analysis
dde4a5f0badd76fe5719575d5c138813ab156b70
[ "MIT" ]
null
null
null
ReanalysisRetreival_orig/UnimakPass/UP_Winds_Trans_vs_SST.py
shaunwbell/FOCI_Analysis
dde4a5f0badd76fe5719575d5c138813ab156b70
[ "MIT" ]
null
null
null
#!/usr/bin/env """ UP_Winds_Trans_vs_SST.py Using U,V (6hr from NARR) to calculate a transport index Using SST (daily) from HR NARR U/V winds (triangel filtered and subsampled to 6 hours) ---- NCEP Reanalysis data provided by the NOAA/OAR/ESRL PSD, Boulder, Colorado, USA, from their Web site ...
37.125
118
0.592232
cf5fdc935b246205705bebdc1988c54f65a6701d
2,025
py
Python
tests/extern/conftest.py
deepdoctection/deepdoctection
7e0d7396e5ef8bf8109904e09c5d4ee56cb5a036
[ "Apache-2.0" ]
39
2021-12-14T11:05:25.000Z
2022-03-31T18:50:58.000Z
tests/extern/conftest.py
deepdoctection/deepdoctection
7e0d7396e5ef8bf8109904e09c5d4ee56cb5a036
[ "Apache-2.0" ]
17
2022-01-04T14:32:26.000Z
2022-03-29T14:01:36.000Z
tests/extern/conftest.py
deepdoctection/deepdoctection
7e0d7396e5ef8bf8109904e09c5d4ee56cb5a036
[ "Apache-2.0" ]
4
2022-01-11T16:40:17.000Z
2022-03-30T02:09:55.000Z
# -*- coding: utf-8 -*- # File: conftest.py # Copyright 2021 Dr. Janis Meyer. 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/LICE...
24.107143
74
0.724938
cf6149728d0a4d14dac89fc7b43a49eb3065e261
576
py
Python
src_nlp/tensorflow/toward_control/mains/pretrain.py
ashishpatel26/finch
bf2958c0f268575e5d51ad08fbc08b151cbea962
[ "MIT" ]
1
2019-02-12T09:22:00.000Z
2019-02-12T09:22:00.000Z
src_nlp/tensorflow/toward_control/mains/pretrain.py
loopzxl/finch
bf2958c0f268575e5d51ad08fbc08b151cbea962
[ "MIT" ]
null
null
null
src_nlp/tensorflow/toward_control/mains/pretrain.py
loopzxl/finch
bf2958c0f268575e5d51ad08fbc08b151cbea962
[ "MIT" ]
1
2020-10-15T21:34:17.000Z
2020-10-15T21:34:17.000Z
import tensorflow as tf import pprint import os, sys sys.path.append(os.path.dirname(os.getcwd())) from model import VAE from data.imdb import VAEDataLoader from vocab.imdb import IMDBVocab from trainers import VAETrainer from log import create_logging if __name__ == '__main__': main()
22.153846
66
0.713542
cf61827ad67d8e5d3b9ee9c95cce292b602d4ae0
816
py
Python
Core/Behavior/ComposedBehavior/ComposedBehavior.py
ElsevierSoftwareX/SOFTX_2019_242
44332f01720368c4a7cceabda6aac8ecf7dbf273
[ "CC-BY-4.0" ]
6
2019-09-25T03:28:43.000Z
2021-03-17T02:48:27.000Z
Core/Behavior/ComposedBehavior/ComposedBehavior.py
marquisvictor/YOLO-Software
f2fe782af12b7e85e040d7e0ed4b653b0788042e
[ "CC-BY-4.0" ]
null
null
null
Core/Behavior/ComposedBehavior/ComposedBehavior.py
marquisvictor/YOLO-Software
f2fe782af12b7e85e040d7e0ed4b653b0788042e
[ "CC-BY-4.0" ]
3
2019-09-25T05:52:01.000Z
2020-04-16T21:04:49.000Z
from Core.Enumerations import *
29.142857
50
0.627451
cf61abcc2afa01d163e5ab0c141a6dc476802b68
1,020
py
Python
frame.py
GodLovesJonny/Tkinter-Demos
3db991f49076ea370254332b240130b186f670a7
[ "MIT" ]
null
null
null
frame.py
GodLovesJonny/Tkinter-Demos
3db991f49076ea370254332b240130b186f670a7
[ "MIT" ]
null
null
null
frame.py
GodLovesJonny/Tkinter-Demos
3db991f49076ea370254332b240130b186f670a7
[ "MIT" ]
null
null
null
""" _____ | ___| __ __ _ _ __ ___ ___ | |_ | '__/ _` | '_ ` _ \ / _ \ | _|| | | (_| | | | | | | __/ |_| |_| \__,_|_| |_| |_|\___| @author: Jonathan Wang @coding: utf-8 @environment: Manjaro 18.1.5 Juhraya + Python3.8.1 @date: 13th Jan., 2020 """ imp...
26.153846
75
0.60098
cf623e082d962d40a1a6dbfc452f070c88e7054c
491
py
Python
hospi/admin.py
Vicky-Rathod/django-hospital-management
b553f1da64f10eae527b438dd28acaad56d2d774
[ "MIT" ]
null
null
null
hospi/admin.py
Vicky-Rathod/django-hospital-management
b553f1da64f10eae527b438dd28acaad56d2d774
[ "MIT" ]
4
2021-05-21T01:48:19.000Z
2022-02-10T13:01:49.000Z
hospi/admin.py
Vicky-Rathod/django-hospital-management
b553f1da64f10eae527b438dd28acaad56d2d774
[ "MIT" ]
null
null
null
from django.contrib import admin from .models import Patient,Ipd,Rooms,TreatmentAdviced,TreatmentGiven,Discharge,Procedure,Investigation,DailyRound,Opd admin.site.register(Opd)# Register your models here. admin.site.register(Patient) admin.site.register(Ipd) admin.site.register(Rooms) admin.site.register(TreatmentAdv...
32.733333
118
0.843177
cf62df099326bf29d570a34b64f7dc86c916f3eb
3,767
py
Python
mpopt/population/base.py
CavalloneChen/mpopt
9d39f613cc840c25416ec060ac503fb0599bde1b
[ "Xnet", "X11", "RSA-MD" ]
3
2020-11-05T05:55:55.000Z
2021-04-19T08:24:06.000Z
mpopt/population/base.py
CavalloneChen/mpopt
9d39f613cc840c25416ec060ac503fb0599bde1b
[ "Xnet", "X11", "RSA-MD" ]
null
null
null
mpopt/population/base.py
CavalloneChen/mpopt
9d39f613cc840c25416ec060ac503fb0599bde1b
[ "Xnet", "X11", "RSA-MD" ]
2
2020-11-23T02:11:48.000Z
2020-12-01T01:56:03.000Z
import numpy as np from ..operator import operator as opt
26.342657
81
0.576586
cf6321d3115049f34995a2a864715a227d43e3fe
2,586
py
Python
opttrack/lib/ui/find_handlers.py
aisthesis/opttrack
17e0c7740ea43e0f07166e30d689b106d0319d0b
[ "MIT" ]
null
null
null
opttrack/lib/ui/find_handlers.py
aisthesis/opttrack
17e0c7740ea43e0f07166e30d689b106d0319d0b
[ "MIT" ]
2
2016-03-30T02:50:31.000Z
2016-03-30T16:18:23.000Z
opttrack/lib/ui/find_handlers.py
aisthesis/opttrack
17e0c7740ea43e0f07166e30d689b106d0319d0b
[ "MIT" ]
null
null
null
""" Copyright (c) 2015 Marshall Farrier license http://opensource.org/licenses/MIT lib/ui/handlers.py Handlers for find menu """ from functools import partial import sys import traceback import pynance as pn from ..dbtools import find_job from ..dbwrapper import job from ..spreads.dgb_finder import DgbFinder from ...
29.05618
90
0.604408
cf661f6c62d7243ea412ab586f9de155fce581e4
568
py
Python
service/surf/vendor/surfconext/migrations/0004_users_update.py
surfedushare/search-portal
708a0d05eee13c696ca9abd7e84ab620d3900fbe
[ "MIT" ]
2
2021-08-19T09:40:59.000Z
2021-12-14T11:08:20.000Z
service/surf/vendor/surfconext/migrations/0004_users_update.py
surfedushare/search-portal
708a0d05eee13c696ca9abd7e84ab620d3900fbe
[ "MIT" ]
159
2020-05-14T14:17:34.000Z
2022-03-23T10:28:13.000Z
service/surf/vendor/surfconext/migrations/0004_users_update.py
surfedushare/search-portal
708a0d05eee13c696ca9abd7e84ab620d3900fbe
[ "MIT" ]
1
2021-11-11T13:37:22.000Z
2021-11-11T13:37:22.000Z
# Generated by Django 3.2.8 on 2021-12-28 14:50 from django.conf import settings from django.db import migrations, models
27.047619
133
0.672535
cf676f62fbfcc60ea415779f429317d7116c043d
17,824
py
Python
particle_packing/tests/test_Ellipse_.py
aluchies/particle_packing
127603a519ae25979de6c6197810a7ea38ec945b
[ "BSD-3-Clause" ]
null
null
null
particle_packing/tests/test_Ellipse_.py
aluchies/particle_packing
127603a519ae25979de6c6197810a7ea38ec945b
[ "BSD-3-Clause" ]
null
null
null
particle_packing/tests/test_Ellipse_.py
aluchies/particle_packing
127603a519ae25979de6c6197810a7ea38ec945b
[ "BSD-3-Clause" ]
null
null
null
import unittest import numpy as np from particle_packing.ellipse import Ellipse, \ overlap_potential, overlap_potential_py, \ square_container_potential_py, square_container_potential if __name__ == '__main__': print 'Running unit tests for Ellipse.py' unittest.main()
18.644351
71
0.506676
cf68231df974fd2bf1dc647492649911b88dec93
925
py
Python
dayu_database/status/__init__.py
phenom-films/dayu_database
221f965a77a5ea1d4074135903d29bc0a9d9b1c7
[ "MIT" ]
7
2018-10-11T07:44:57.000Z
2020-10-08T14:44:52.000Z
dayu_database/status/__init__.py
phenom-films/dayu_database
221f965a77a5ea1d4074135903d29bc0a9d9b1c7
[ "MIT" ]
null
null
null
dayu_database/status/__init__.py
phenom-films/dayu_database
221f965a77a5ea1d4074135903d29bc0a9d9b1c7
[ "MIT" ]
6
2018-10-16T02:54:37.000Z
2022-02-16T13:43:02.000Z
#!/usr/bin/env python # -*- encoding: utf-8 -*- __author__ = 'andyguo' from functools import wraps def validate_status(status): return outter_wrapper
28.030303
97
0.658378
cf68f65115320cc914dad608b3c27f36cbd7b332
413
py
Python
examples/required.py
klauer/apischema
0da9b96b74dabe8704e2dcfca4502aed98500799
[ "MIT" ]
null
null
null
examples/required.py
klauer/apischema
0da9b96b74dabe8704e2dcfca4502aed98500799
[ "MIT" ]
null
null
null
examples/required.py
klauer/apischema
0da9b96b74dabe8704e2dcfca4502aed98500799
[ "MIT" ]
null
null
null
from dataclasses import dataclass, field from typing import Optional from pytest import raises from apischema import ValidationError, deserialize from apischema.metadata import required with raises(ValidationError) as err: deserialize(Foo, {}) assert err.value.errors == [{"loc": ["bar"], "msg": "missing proper...
22.944444
72
0.755448
cf69b7c1b0ee0c981e62c4f57e35503e75914b82
14,583
py
Python
src/MakeGuidePool.py
broadinstitute/CRISPRiTilingDesign
cc07d2e5636cc91588b9d91e074a95e1514ceb93
[ "MIT" ]
1
2021-09-13T03:10:39.000Z
2021-09-13T03:10:39.000Z
src/MakeGuidePool.py
broadinstitute/CRISPRiTilingDesign
cc07d2e5636cc91588b9d91e074a95e1514ceb93
[ "MIT" ]
null
null
null
src/MakeGuidePool.py
broadinstitute/CRISPRiTilingDesign
cc07d2e5636cc91588b9d91e074a95e1514ceb93
[ "MIT" ]
null
null
null
############################################################################### ## Library code for designing CRISPRi screens ## Jesse Engreitz ## November 10, 2019 ## Based on Charlie's gRNA design ## Tested with: "use .python-3.5.1; source /seq/lincRNA/Ben/VENV_MIP/bin/activate" ## TODO: Factor out helper code fr...
45.148607
263
0.678736
cf6a8c510777d88278a1d0baa02c629acff0de39
24,570
py
Python
script/config.py
soumide1102/nubhlight
85046add8b7e2c1419538864eb54205d33078772
[ "BSD-3-Clause" ]
16
2020-02-05T22:59:21.000Z
2022-03-18T11:05:37.000Z
script/config.py
soumide1102/nubhlight
85046add8b7e2c1419538864eb54205d33078772
[ "BSD-3-Clause" ]
13
2020-03-06T02:10:48.000Z
2021-06-15T20:00:30.000Z
script/config.py
soumide1102/nubhlight
85046add8b7e2c1419538864eb54205d33078772
[ "BSD-3-Clause" ]
4
2020-02-21T04:59:44.000Z
2020-12-10T21:42:12.000Z
################################################################################ # # # CONFIGURATION AND COMPILATION ROUTINE # # ...
33.889655
91
0.588319
cf6b4412d0c395f437f036a7b2a75ce1aea65192
1,583
py
Python
core/tests/test_models.py
UlmBlois/website
01e652dd0c9c5b7026efe2a923ea3c4668d5a5b4
[ "MIT" ]
null
null
null
core/tests/test_models.py
UlmBlois/website
01e652dd0c9c5b7026efe2a923ea3c4668d5a5b4
[ "MIT" ]
2
2019-06-03T06:17:29.000Z
2019-06-17T05:26:02.000Z
core/tests/test_models.py
UlmBlois/website
01e652dd0c9c5b7026efe2a923ea3c4668d5a5b4
[ "MIT" ]
null
null
null
from django.test import TestCase # from django.db.utils import IntegrityError from core.models import User
39.575
67
0.53127
cf6c5507b75e6007d8a4ce9dbdb616b545055ee9
7,550
py
Python
model_main.py
hijune6/DGTL-for-VT-ReID
e15b6aca7136ec2c0e2b7f26274f9208b58c24b0
[ "MIT" ]
10
2021-01-06T03:21:48.000Z
2021-11-29T21:01:40.000Z
model_main.py
hijune6/DGTL-for-VT-ReID
e15b6aca7136ec2c0e2b7f26274f9208b58c24b0
[ "MIT" ]
2
2021-03-30T13:12:23.000Z
2021-11-06T08:36:22.000Z
model_main.py
hijune6/DGTL-for-VT-ReID
e15b6aca7136ec2c0e2b7f26274f9208b58c24b0
[ "MIT" ]
2
2021-07-10T08:25:43.000Z
2021-11-29T21:01:43.000Z
import torch import torch.nn as nn from torch.nn import init from torchvision import models from torch.autograd import Variable from resnet import resnet50, resnet18 import torch.nn.functional as F import math from attention import IWPA, AVG, MAX, GEM # ###############################################################...
33.705357
114
0.589139
cf6cd344f584cd701a4076d93e4150b1102f79aa
1,448
py
Python
crop_video.py
ckjellson/tt_tracker
99800b586e517ea8f048cf2add85cb4b3b091f73
[ "MIT" ]
15
2020-12-22T08:50:52.000Z
2022-03-24T09:48:51.000Z
crop_video.py
ckjellson/tt_tracker
99800b586e517ea8f048cf2add85cb4b3b091f73
[ "MIT" ]
2
2021-07-04T02:23:00.000Z
2021-07-05T01:05:47.000Z
crop_video.py
ckjellson/tt_tracker
99800b586e517ea8f048cf2add85cb4b3b091f73
[ "MIT" ]
3
2021-01-17T14:39:51.000Z
2022-01-01T23:52:18.000Z
import cv2 import numpy as np ''' Loads two videos and generates an interface to crop these to equal length and being synced in time. Specify: path1: path to first video path2: path to second video vidname: name of the instance to be created ''' path1 = "videos_original\out_a_full.mp4" path2 = "videos_or...
25.857143
108
0.662983
cf6cd6b77bfdf21fcd5c36c02c38af0388c8c4c9
1,213
py
Python
1. simple_classify/simple_classify.py
doldam0/CSHDeepRNE
e8ae811d27cd81a2646fcf9088ba19cc8cb155ea
[ "Apache-2.0" ]
null
null
null
1. simple_classify/simple_classify.py
doldam0/CSHDeepRNE
e8ae811d27cd81a2646fcf9088ba19cc8cb155ea
[ "Apache-2.0" ]
null
null
null
1. simple_classify/simple_classify.py
doldam0/CSHDeepRNE
e8ae811d27cd81a2646fcf9088ba19cc8cb155ea
[ "Apache-2.0" ]
null
null
null
import numpy as np import matplotlib.pyplot as plt d = 2 # N = 10 # mean = 5 # x1 = np.random.randn(N, d) + np.array([0, 0]) # x2 = np.random.randn(N, d) + np.array([mean, mean]) # plt.figure() plt.scatter(x1[:, 0], x1[:, 1]) plt.scatter(x2[:, 0], x2[:, 1], marker='>') x = np.concatenate((x1, x...
18.953125
72
0.581204
cf6f00b3f506ab0a391f8529aa5bc7d2f8818414
10,003
py
Python
pychemia/population/noncollinearmagmoms.py
quanshengwu/PyChemia
98e9f7a1118b694dbda3ee75411ff8f8d7b9688b
[ "MIT" ]
1
2021-03-26T12:34:45.000Z
2021-03-26T12:34:45.000Z
pychemia/population/noncollinearmagmoms.py
quanshengwu/PyChemia
98e9f7a1118b694dbda3ee75411ff8f8d7b9688b
[ "MIT" ]
null
null
null
pychemia/population/noncollinearmagmoms.py
quanshengwu/PyChemia
98e9f7a1118b694dbda3ee75411ff8f8d7b9688b
[ "MIT" ]
null
null
null
import os import numpy as np from ._population import Population from pychemia import pcm_log from pychemia.utils.mathematics import spherical_to_cartesian, cartesian_to_spherical, rotate_towards_axis, \ angle_between_vectors from pychemia.code.vasp import read_incar, read_poscar, VaspJob, VaspOutput from pychemia....
42.747863
109
0.603519
cf706ce509e2571be6ee751f269f1f260863436a
859
py
Python
Ecommerce/migrations/0010_auto_20200203_0112.py
aryanshridhar/Ecommerce-Website
c582659e9b530555b9715ede7bb774c39f101c7e
[ "MIT" ]
1
2020-06-01T16:41:33.000Z
2020-06-01T16:41:33.000Z
Ecommerce/migrations/0010_auto_20200203_0112.py
aryanshridhar/Ecommerce-Website
c582659e9b530555b9715ede7bb774c39f101c7e
[ "MIT" ]
4
2020-03-17T03:37:23.000Z
2021-09-22T18:36:18.000Z
Ecommerce/migrations/0010_auto_20200203_0112.py
aryanshridhar/Ecommerce-Website
c582659e9b530555b9715ede7bb774c39f101c7e
[ "MIT" ]
null
null
null
# Generated by Django 2.2.7 on 2020-02-02 19:42 import datetime from django.db import migrations, models import django.db.models.deletion from django.utils.timezone import utc
29.62069
114
0.613504
cf71abfca7c5e19ff69fd1894a754a844173e256
30,747
py
Python
marmot/plottingmodules/reserves.py
equinor/Marmot
99ab6336f920f460df335d4a1b3e4f36d847ae46
[ "BSD-3-Clause" ]
2
2021-08-05T19:52:02.000Z
2021-12-10T23:47:52.000Z
marmot/plottingmodules/reserves.py
equinor/Marmot
99ab6336f920f460df335d4a1b3e4f36d847ae46
[ "BSD-3-Clause" ]
21
2021-09-01T21:56:42.000Z
2022-03-31T18:01:48.000Z
marmot/plottingmodules/reserves.py
equinor/Marmot
99ab6336f920f460df335d4a1b3e4f36d847ae46
[ "BSD-3-Clause" ]
3
2021-12-14T18:12:33.000Z
2022-03-25T18:27:26.000Z
# -*- coding: utf-8 -*- """Generator reserve plots. This module creates plots of reserve provision and shortage at the generation and region level. @author: Daniel Levie """ import logging import numpy as np import pandas as pd import datetime as dt import matplotlib.pyplot as plt import matplotlib as mpl from matp...
47.230415
148
0.606921
cf72823e6134abf9dc68d82573bb0ef74467bab2
431
py
Python
yepes/contrib/emails/models.py
samuelmaudo/yepes
1ef9a42d4eaa70d9b3e6e7fa519396c1e1174fcb
[ "BSD-3-Clause" ]
null
null
null
yepes/contrib/emails/models.py
samuelmaudo/yepes
1ef9a42d4eaa70d9b3e6e7fa519396c1e1174fcb
[ "BSD-3-Clause" ]
null
null
null
yepes/contrib/emails/models.py
samuelmaudo/yepes
1ef9a42d4eaa70d9b3e6e7fa519396c1e1174fcb
[ "BSD-3-Clause" ]
null
null
null
# -*- coding:utf-8 -*- from yepes.apps import apps AbstractConnection = apps.get_class('emails.abstract_models', 'AbstractConnection') AbstractDelivery = apps.get_class('emails.abstract_models', 'AbstractDelivery') AbstractMessage = apps.get_class('emails.abstract_models', 'AbstractMessage')
22.684211
83
0.774942
cf7389c672a6330e609175cc1c82ef3bfdccd1e5
1,111
py
Python
tweets/management/commands/load_tweets.py
TylerFisher/nicar20
b96fa73ef5e1907e361950058d8202f1473c11c0
[ "MIT" ]
6
2020-03-07T21:30:22.000Z
2022-03-11T18:25:11.000Z
tweets/management/commands/load_tweets.py
TylerFisher/nicar20
b96fa73ef5e1907e361950058d8202f1473c11c0
[ "MIT" ]
7
2020-03-05T16:20:46.000Z
2021-09-22T18:45:11.000Z
tweets/management/commands/load_tweets.py
TylerFisher/nicar20
b96fa73ef5e1907e361950058d8202f1473c11c0
[ "MIT" ]
1
2021-03-12T16:17:19.000Z
2021-03-12T16:17:19.000Z
import json import os from datetime import datetime from django.core.management.base import BaseCommand from tweets.models import Tweet
33.666667
73
0.570657
cf7428c27c691770110fa52f6694724bc3c98a7d
1,345
py
Python
pentominos.py
wusui/pentomino_redux
258b2f541329a6e7e20fc6b58534ab4201b6082f
[ "MIT" ]
null
null
null
pentominos.py
wusui/pentomino_redux
258b2f541329a6e7e20fc6b58534ab4201b6082f
[ "MIT" ]
null
null
null
pentominos.py
wusui/pentomino_redux
258b2f541329a6e7e20fc6b58534ab4201b6082f
[ "MIT" ]
null
null
null
""" Top level function calls for pentomino solver """ from tree_find_pents import build_pent_tree from rect_find_x import solve_case def fill_rectangles_with_pentominos(io_obj=print, low=3, high=7): """ Loop through rectangle sizes and solve for each. build_pent_tree is called to initialize the tree. Io...
28.617021
77
0.692937
cf746234a79fd1b2603a547db20b86892c27b565
95
py
Python
tests/custom_template_path_root/conf.py
TimKam/sphinx-pretty-searchresults
65fc8133f0fab70627c665e1ccfc6a5d45d16fc3
[ "MIT" ]
12
2016-07-30T21:33:03.000Z
2018-04-30T22:05:07.000Z
tests/custom_template_path_root/conf.py
TimKam/sphinx-pretty-searchresults
65fc8133f0fab70627c665e1ccfc6a5d45d16fc3
[ "MIT" ]
20
2016-08-02T09:34:35.000Z
2018-05-27T12:40:12.000Z
tests/custom_template_path_root/conf.py
TimKam/sphinx-pretty-searchresults
65fc8133f0fab70627c665e1ccfc6a5d45d16fc3
[ "MIT" ]
3
2020-11-23T05:56:53.000Z
2020-11-23T05:57:11.000Z
master_doc = 'index' extensions = ['sphinxprettysearchresults'] templates_path = ['_templates']
31.666667
42
0.778947
cf749fa7c904b5b2115b659f7bff3de680cdf478
2,440
py
Python
cone_detector/wifi_communication/wifi_server.py
Art31/trekking-pro-cefetrj
37ab58759b42978cbd8d950bd75c487e1292cb2b
[ "Apache-1.1" ]
null
null
null
cone_detector/wifi_communication/wifi_server.py
Art31/trekking-pro-cefetrj
37ab58759b42978cbd8d950bd75c487e1292cb2b
[ "Apache-1.1" ]
null
null
null
cone_detector/wifi_communication/wifi_server.py
Art31/trekking-pro-cefetrj
37ab58759b42978cbd8d950bd75c487e1292cb2b
[ "Apache-1.1" ]
null
null
null
# --------------------------------------------------------------------------- # # Title: Wifi/Ethernet communication server script # Author: Arthur Telles # Date: 04/07/2018 (DD/MM/YYYY) # Description: This function opens up a port for wifi/ethernet communication # and listens to the channel, if it receives a string, ...
36.41791
79
0.497951
cf7507975584b6a393e38ac302f9e0a02d47f87f
5,168
py
Python
ade/test/test_specs.py
vishalbelsare/ade
c2d16fe5544a130d509cb1e430b170a2b77e520b
[ "Apache-2.0" ]
2
2020-03-02T19:49:41.000Z
2020-05-26T08:01:31.000Z
ade/test/test_specs.py
vishalbelsare/ade
c2d16fe5544a130d509cb1e430b170a2b77e520b
[ "Apache-2.0" ]
1
2021-04-16T14:51:50.000Z
2021-04-16T14:51:50.000Z
ade/test/test_specs.py
vishalbelsare/ade
c2d16fe5544a130d509cb1e430b170a2b77e520b
[ "Apache-2.0" ]
1
2020-05-26T08:01:32.000Z
2020-05-26T08:01:32.000Z
#!/usr/bin/env python # -*- coding: utf-8 -*- # # ade: # Asynchronous Differential Evolution. # # Copyright (C) 2018-20 by Edwin A. Suominen, # http://edsuom.com/ade # # See edsuom.com for API documentation as well as information about # Ed's background and other projects, software and otherwise. # # Licensed under th...
31.705521
77
0.578173
cf761cff612f99448c2219c0693bb4c3d8909ca2
3,552
py
Python
PastYearFeatures/preprocess_data.py
Slavkata/Forecast-Report
3cfeac5ab6b60ad32e1b9433b3281b5336373c30
[ "MIT" ]
1
2019-04-11T12:48:44.000Z
2019-04-11T12:48:44.000Z
PastYearFeatures/preprocess_data.py
Slavkata/Forecast-Report
3cfeac5ab6b60ad32e1b9433b3281b5336373c30
[ "MIT" ]
null
null
null
PastYearFeatures/preprocess_data.py
Slavkata/Forecast-Report
3cfeac5ab6b60ad32e1b9433b3281b5336373c30
[ "MIT" ]
null
null
null
import numpy as np import pandas as p from datetime import datetime, timedelta
42.285714
111
0.572917
cf796151dc54985317c812883edb16dae656c141
33,664
py
Python
pyvvo/app/population.py
GRIDAPPSD/gridappsd-pyvvo
1497490db41fa9134b40949049d504764df13c28
[ "BSD-2-Clause" ]
null
null
null
pyvvo/app/population.py
GRIDAPPSD/gridappsd-pyvvo
1497490db41fa9134b40949049d504764df13c28
[ "BSD-2-Clause" ]
null
null
null
pyvvo/app/population.py
GRIDAPPSD/gridappsd-pyvvo
1497490db41fa9134b40949049d504764df13c28
[ "BSD-2-Clause" ]
2
2018-06-11T23:51:58.000Z
2021-05-04T21:15:33.000Z
''' Created on Aug 15, 2017 @author: thay838 ''' # Standard library: import math import random import os from queue import Queue import threading import sys import copy import logging import time # pyvvo from individual import individual, CAPSTATUS import populationManager import helper # Installed import simplejson...
42.027466
86
0.518655
cf7abb6929d2eaff8149e87551c93306bdbef93e
1,240
py
Python
main.py
atenagm1375/object-recognition-SNN
83083b71e049f3277843b69c1ddf61d12dd87e80
[ "MIT" ]
1
2020-08-05T12:20:37.000Z
2020-08-05T12:20:37.000Z
main.py
atenagm1375/object-recognition-SNN
83083b71e049f3277843b69c1ddf61d12dd87e80
[ "MIT" ]
1
2020-10-19T02:54:28.000Z
2020-10-19T05:56:26.000Z
main.py
atenagm1375/object-recognition-SNN
83083b71e049f3277843b69c1ddf61d12dd87e80
[ "MIT" ]
null
null
null
""" OBJECT RECOGNITION USING A SPIKING NEURAL NETWORK. * The main code script to run the model. @author: atenagm1375 """ # %% IMPORT MODULES import torch from utils.data import CaltechDatasetLoader, CaltechDataset from utils.model import DeepCSNN from tqdm import tqdm # %% ENVIRONMENT CONSTANTS PATH = "../101_...
24.8
74
0.702419
cf7b65fc64ee28b65b720c458202445033d75918
142,649
py
Python
dcase_framework/datasets.py
thisisjl/DCASE2017-modified
4755e712e3b53277120c142cc6c14f279cc396d4
[ "Python-2.0", "OLDAP-2.7" ]
null
null
null
dcase_framework/datasets.py
thisisjl/DCASE2017-modified
4755e712e3b53277120c142cc6c14f279cc396d4
[ "Python-2.0", "OLDAP-2.7" ]
null
null
null
dcase_framework/datasets.py
thisisjl/DCASE2017-modified
4755e712e3b53277120c142cc6c14f279cc396d4
[ "Python-2.0", "OLDAP-2.7" ]
null
null
null
#!/usr/bin/env python # -*- coding: utf-8 -*- """ Datasets ================== Classes for dataset handling Dataset - Base class ^^^^^^^^^^^^^^^^^^^^ This is the base class, and all the specialized datasets are inherited from it. One should never use base class itself. Usage examples: .. code-block:: python :lin...
38.890131
192
0.55223
cf7c5b97b56df4fee279442b61a41c98803b6f1e
40,156
py
Python
python/CompositionMaker.py
agroimpacts/imager
0fe8819a51e069c1e010cea0975c51a2a8794c42
[ "Apache-2.0" ]
1
2021-09-01T18:48:12.000Z
2021-09-01T18:48:12.000Z
python/CompositionMaker.py
agroimpacts/imager
0fe8819a51e069c1e010cea0975c51a2a8794c42
[ "Apache-2.0" ]
null
null
null
python/CompositionMaker.py
agroimpacts/imager
0fe8819a51e069c1e010cea0975c51a2a8794c42
[ "Apache-2.0" ]
null
null
null
""" This module is developed to automated the process of making composite images in parallel for MappingAfrica project. The whole process is consisted of two steps: 1) make planet ARD images and 2) call AFMapTSComposite (c-based exe) for making composites The module can be called by using one of three modes: 1) tile...
48.380723
162
0.600433
cf7e8de147f11b4fcfa0cbbfb324b213e9db0bf8
5,152
py
Python
terminal.py
JetStarBlues/Intel-8080-Emulator
febfab46def382589d2d4f1d846d9209275baf51
[ "MIT" ]
4
2020-12-17T08:15:34.000Z
2022-02-07T17:42:19.000Z
terminal.py
JetStarBlues/Intel-8080-Emulator
febfab46def382589d2d4f1d846d9209275baf51
[ "MIT" ]
null
null
null
terminal.py
JetStarBlues/Intel-8080-Emulator
febfab46def382589d2d4f1d846d9209275baf51
[ "MIT" ]
1
2020-12-17T08:39:29.000Z
2020-12-17T08:39:29.000Z
# ======================================================================================== # # Description: # # Simple Terminal Emulator # # Interface: # Input -> keyboard # Output -> screen # # Attribution: # # Code by www.jk-quantized.com # # Redistribution and use of this code in sou...
19.891892
90
0.60889
cf8187003fae1ed8200843183ae5336b918c8054
18,302
py
Python
service/build/openstack/s3p_functions.py
matt-welch/docker-devstack
e7f1902c21cdd506239a6270813c422a058e037b
[ "Apache-2.0" ]
4
2017-05-18T23:24:51.000Z
2018-04-09T02:47:34.000Z
service/build/openstack/s3p_functions.py
matt-welch/docker-devstack
e7f1902c21cdd506239a6270813c422a058e037b
[ "Apache-2.0" ]
null
null
null
service/build/openstack/s3p_functions.py
matt-welch/docker-devstack
e7f1902c21cdd506239a6270813c422a058e037b
[ "Apache-2.0" ]
1
2020-09-30T20:12:12.000Z
2020-09-30T20:12:12.000Z
#!/usr/bin/env python import s3p_openstack_tools as s3p from datetime import datetime import argparse import sys import os import pdb from time import sleep debug_mode=False verbosity_level=0 # cloud test control: check main() for definition of cloud_info using these validate_existing = True attach_to_router=True pin_...
37.81405
116
0.647743
cf819ed4b5395493fc3886a54331635b6add69a6
532
py
Python
src/prosi3d/meta/cluster.py
pzimbrod/prosi-3d
6eaa5b9cdb7192f542417429b1775c3e61a9bc60
[ "MIT" ]
null
null
null
src/prosi3d/meta/cluster.py
pzimbrod/prosi-3d
6eaa5b9cdb7192f542417429b1775c3e61a9bc60
[ "MIT" ]
3
2021-11-11T07:32:01.000Z
2021-11-23T15:42:26.000Z
src/prosi3d/meta/cluster.py
pzimbrod/prosi-3d
6eaa5b9cdb7192f542417429b1775c3e61a9bc60
[ "MIT" ]
null
null
null
""" Abstract Base Class for data models that conduct clustering upon the input data """ from abc import ABC, ABCMeta, abstractmethod from .analysis import DataModel
28
87
0.680451
cf823744d5b8655d1a2bd51a8548fef621b0565d
3,749
py
Python
nymms/schemas/types/__init__.py
isabella232/nymms
75fb3d6f56488d9fdd6366557e28acb728377de5
[ "BSD-2-Clause" ]
26
2015-01-15T23:42:43.000Z
2022-02-28T09:12:50.000Z
nymms/schemas/types/__init__.py
cloudtools/nymms
75fb3d6f56488d9fdd6366557e28acb728377de5
[ "BSD-2-Clause" ]
9
2015-02-09T15:44:25.000Z
2016-06-04T21:06:03.000Z
nymms/schemas/types/__init__.py
isabella232/nymms
75fb3d6f56488d9fdd6366557e28acb728377de5
[ "BSD-2-Clause" ]
13
2015-03-05T22:53:24.000Z
2021-02-11T11:33:33.000Z
import logging import collections import json import time import string import random logger = logging.getLogger(__name__) from schematics.types import BaseType from schematics.exceptions import ValidationError from nymms.utils import parse_time import arrow StateObject = collections.namedtuple('StateObject', [...
29.519685
77
0.609763
cf8336c1c4f8982217d1c175edb6b0149da49e4b
4,949
py
Python
addons/website_livechat/tests/test_ui.py
SHIVJITH/Odoo_Machine_Test
310497a9872db7844b521e6dab5f7a9f61d365a4
[ "Apache-2.0" ]
null
null
null
addons/website_livechat/tests/test_ui.py
SHIVJITH/Odoo_Machine_Test
310497a9872db7844b521e6dab5f7a9f61d365a4
[ "Apache-2.0" ]
null
null
null
addons/website_livechat/tests/test_ui.py
SHIVJITH/Odoo_Machine_Test
310497a9872db7844b521e6dab5f7a9f61d365a4
[ "Apache-2.0" ]
null
null
null
# -*- coding: utf-8 -*- # Part of Odoo. See LICENSE file for full copyright and licensing details. from odoo import tests, _ from odoo.addons.website_livechat.tests.common import TestLivechatCommon
56.238636
153
0.711457
cf85f58c32d094b06ea8d41f217a771087151e37
9,529
py
Python
nvapi/dx/d3d10_1_h.py
kdschlosser/nvapi
f56c1b74e3066be1fa0bb21326403cd33fda16d1
[ "MIT" ]
5
2020-06-05T23:56:37.000Z
2021-06-12T06:21:15.000Z
nvapi/dx/d3d10_1_h.py
kdschlosser/nvapi
f56c1b74e3066be1fa0bb21326403cd33fda16d1
[ "MIT" ]
1
2020-12-03T18:25:45.000Z
2020-12-05T14:55:07.000Z
nvapi/dx/d3d10_1_h.py
kdschlosser/nvapi
f56c1b74e3066be1fa0bb21326403cd33fda16d1
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- # # *********************************************************************************** # MIT License # # Copyright (c) 2020 Kevin G. Schlosser # # Permission is hereby granted, free of charge, to any person obtaining a copy # of this software and associated documentation files (the "Software"),...
27.303725
199
0.689264
cf8791148635afc590dcf0872acd67e16d1cef59
4,327
py
Python
python/apigw-dynamodb-sfn-with-heavytask/lambda_script/lambda_handler.py
gsy0911/aws-cdk-small-examples
e4b4be076d22f5d35f640e59a6ca346988baa1af
[ "Apache-2.0" ]
2
2021-01-19T18:15:22.000Z
2021-02-09T22:18:09.000Z
python/apigw-dynamodb-sfn-with-heavytask/lambda_script/lambda_handler.py
gsy0911/aws-cdk-small-examples
e4b4be076d22f5d35f640e59a6ca346988baa1af
[ "Apache-2.0" ]
14
2020-11-20T01:54:27.000Z
2021-01-12T08:15:39.000Z
python/apigw-dynamodb-sfn-with-heavytask/lambda_script/lambda_handler.py
gsy0911/aws-cdk-small-examples
e4b4be076d22f5d35f640e59a6ca346988baa1af
[ "Apache-2.0" ]
null
null
null
from datetime import datetime import decimal import json import os import random import uuid import boto3 from botocore.exceptions import ClientError # Helper class to convert a DynamoDB item to JSON. # Get the service resource. dynamodb = boto3.resource('dynamodb') step_functions = boto3.client("stepfunctions") s...
25.156977
81
0.55951
cf87f72be3ecfcad4b46d934e4b64d07c6c0898a
8,972
py
Python
agutil/io/src/queuedsocket.py
agraubert/agutil
d9a568df01959ed985c9c8e77bdd501ac13bdbbf
[ "MIT" ]
3
2017-06-05T15:46:22.000Z
2019-05-22T21:26:54.000Z
agutil/io/src/queuedsocket.py
agraubert/agutil
d9a568df01959ed985c9c8e77bdd501ac13bdbbf
[ "MIT" ]
93
2016-06-22T18:57:47.000Z
2022-02-14T10:50:27.000Z
agutil/io/src/queuedsocket.py
agraubert/agutil
d9a568df01959ed985c9c8e77bdd501ac13bdbbf
[ "MIT" ]
null
null
null
from .socket import Socket from socket import timeout as sockTimeout from ... import Logger, DummyLog import threading import sys import warnings _QUEUEDSOCKET_IDENTIFIER_ = '<agutil.io.queuedsocket:1.0.0>'
35.74502
79
0.49008
cf88808935b10cbd4d8294c1021bdfebd7c7988d
3,500
py
Python
test_autofit/tools/test_edenise/test_import.py
rhayes777/PyAutoF
87f56419348833b285b00da1a524e329588e0b01
[ "MIT" ]
39
2019-01-24T10:45:23.000Z
2022-03-18T09:37:59.000Z
test_autofit/tools/test_edenise/test_import.py
rhayes777/PyAutoF
87f56419348833b285b00da1a524e329588e0b01
[ "MIT" ]
260
2018-11-27T12:56:33.000Z
2022-03-31T16:08:59.000Z
test_autofit/tools/test_edenise/test_import.py
rhayes777/PyAutoF
87f56419348833b285b00da1a524e329588e0b01
[ "MIT" ]
13
2018-11-30T16:49:05.000Z
2022-01-21T17:39:29.000Z
import pytest from autofit.tools.edenise import Package, Import, LineItem def test_local_import_type( local_import ): assert isinstance( local_import, Import ) def test_local_import_target( local_import ): string = " from VIS_CTI_Autofit.VIS_CTI_Tools.VIS_CTI_Edenis...
23.489933
119
0.673429
cf8956920e31a2a1b9a2d53f83cfb06a20c82cae
9,569
py
Python
bin/lmi-add-cat.py
mkelley/dct-redux
935dbf49d77d0856fe55991bd1eeadc3a2ee8291
[ "MIT" ]
null
null
null
bin/lmi-add-cat.py
mkelley/dct-redux
935dbf49d77d0856fe55991bd1eeadc3a2ee8291
[ "MIT" ]
null
null
null
bin/lmi-add-cat.py
mkelley/dct-redux
935dbf49d77d0856fe55991bd1eeadc3a2ee8291
[ "MIT" ]
null
null
null
#!/usr/bin/env python3 from astropy.modeling.models import Const1D, Const2D, Gaussian1D, Gaussian2D from astropy.modeling.fitting import LevMarLSQFitter from astropy.modeling import Fittable2DModel, Parameter import sys import logging import argparse import warnings from datetime import datetime from glob import glob ...
32.770548
91
0.560351
cf896e2bac34dddb9638290d95518117931f9f94
522
py
Python
api/v1/exceptions.py
SVArago/alexia
96ae6dfabb893388bd4610ea971574a993b8029d
[ "BSD-3-Clause" ]
3
2015-12-22T00:50:43.000Z
2017-01-07T18:09:36.000Z
api/v1/exceptions.py
SVArago/alexia
96ae6dfabb893388bd4610ea971574a993b8029d
[ "BSD-3-Clause" ]
24
2015-11-02T15:38:40.000Z
2017-01-07T21:18:42.000Z
api/v1/exceptions.py
SVArago/alexia
96ae6dfabb893388bd4610ea971574a993b8029d
[ "BSD-3-Clause" ]
null
null
null
from jsonrpc.exceptions import Error
20.076923
71
0.653257
d83d65f8e83449bb166797c179bfdf461170d4c2
546
py
Python
tests/urls.py
klowe0100/wagtail-transfer
90245b1cff1f542a3698273e745d858857de8722
[ "BSD-3-Clause" ]
null
null
null
tests/urls.py
klowe0100/wagtail-transfer
90245b1cff1f542a3698273e745d858857de8722
[ "BSD-3-Clause" ]
null
null
null
tests/urls.py
klowe0100/wagtail-transfer
90245b1cff1f542a3698273e745d858857de8722
[ "BSD-3-Clause" ]
1
2022-02-23T11:45:04.000Z
2022-02-23T11:45:04.000Z
from __future__ import absolute_import, unicode_literals from django.urls import include, re_path from wagtail.admin import urls as wagtailadmin_urls from wagtail.core import urls as wagtail_urls from wagtail_transfer import urls as wagtailtransfer_urls urlpatterns = [ re_path(r'^admin/', include(wagtailadmin_u...
30.333333
73
0.776557
d83ea81832da4a05b350d15541858a23ca76d07e
14,397
py
Python
test/some-old-test-cases.py
scramjetorg/framework-python
b71a117abf5e89a86c8869106a7b65fb4bbade02
[ "MIT" ]
16
2021-12-10T11:15:47.000Z
2022-03-09T10:55:39.000Z
test/some-old-test-cases.py
scramjetorg/framework-python
b71a117abf5e89a86c8869106a7b65fb4bbade02
[ "MIT" ]
1
2021-12-13T11:48:50.000Z
2021-12-13T12:26:42.000Z
test/some-old-test-cases.py
scramjetorg/framework-python
b71a117abf5e89a86c8869106a7b65fb4bbade02
[ "MIT" ]
1
2021-12-10T17:57:10.000Z
2021-12-10T17:57:10.000Z
#!/bin/env python3 import asyncio import sys from pprint import pprint import random import pyfca import scramjet.utils as utils from scramjet.ansi_color_codes import * log = utils.LogWithTimer.log fmt = utils.print_formatted random.seed('Pyfca') # Use to change delays mocking async function execution SLOMO_FACTOR ...
33.020642
87
0.659026
d83ef20b6d33a02cf83b7e115aa54ecae01da083
1,729
py
Python
pdistcc/tests/test_server.py
asheplyakov/pdistcc
b514a17542bf687c8c7c4ec6e32dfb558ddbe600
[ "WTFPL" ]
null
null
null
pdistcc/tests/test_server.py
asheplyakov/pdistcc
b514a17542bf687c8c7c4ec6e32dfb558ddbe600
[ "WTFPL" ]
4
2019-08-22T14:31:15.000Z
2019-08-22T14:37:30.000Z
pdistcc/tests/test_server.py
asheplyakov/pdistcc
b514a17542bf687c8c7c4ec6e32dfb558ddbe600
[ "WTFPL" ]
null
null
null
import subprocess from unittest.mock import MagicMock from .fakeops import ( FakeFileOpsFactory, FakeSocket, FakeTempFileFactory, ) from ..server import ( Distccd )
28.344262
73
0.566802
d8400315a945f18534e51ba7e9f07635b5c88b42
1,381
py
Python
examples/rl/train/play.py
ONLYA/RoboGrammar
4b9725739b24dc9df4049866c177db788b1e458f
[ "MIT" ]
156
2020-10-02T14:33:22.000Z
2022-03-17T22:30:30.000Z
examples/rl/train/play.py
ONLYA/RoboGrammar
4b9725739b24dc9df4049866c177db788b1e458f
[ "MIT" ]
10
2020-12-14T01:24:03.000Z
2022-02-16T10:01:16.000Z
examples/rl/train/play.py
ONLYA/RoboGrammar
4b9725739b24dc9df4049866c177db788b1e458f
[ "MIT" ]
43
2020-10-02T00:01:17.000Z
2022-03-06T17:02:38.000Z
import sys import os base_dir = os.path.join(os.path.dirname(os.path.abspath(__file__)), '../../') sys.path.append(base_dir) sys.path.append(os.path.join(base_dir, 'rl')) import numpy as np import argparse import torch import torch.nn as nn import torch.nn.functional as F import torch.optim as optim import gym gym.log...
23.810345
82
0.766112
d84175e37630d255baf90653a9fe79cb0117e569
644
py
Python
corere/main/migrations/0012_auto_20210730_1522.py
Xarthisius/dataverse-corere
016b80445c7b226ae7fb44d34daa84399b9acab6
[ "MIT" ]
9
2019-06-18T20:11:27.000Z
2021-02-10T19:20:08.000Z
corere/main/migrations/0012_auto_20210730_1522.py
Xarthisius/dataverse-corere
016b80445c7b226ae7fb44d34daa84399b9acab6
[ "MIT" ]
9
2020-01-10T22:11:56.000Z
2021-07-28T18:19:53.000Z
corere/main/migrations/0012_auto_20210730_1522.py
Xarthisius/dataverse-corere
016b80445c7b226ae7fb44d34daa84399b9acab6
[ "MIT" ]
2
2021-09-17T15:48:28.000Z
2021-10-07T13:32:38.000Z
# Generated by Django 3.2.5 on 2021-07-30 15:22 from django.db import migrations, models
26.833333
87
0.624224
d84236ae326d2eb9bf0d99f23573723fff52b5b0
4,259
py
Python
DTM/main.py
boomsbloom/dtm-fmri
159aab87f04b745d874b53f64fd30703b4d5a70c
[ "MIT" ]
4
2018-11-27T01:35:30.000Z
2022-01-27T01:17:11.000Z
DTM/main.py
boomsbloom/dtm-fmri
159aab87f04b745d874b53f64fd30703b4d5a70c
[ "MIT" ]
null
null
null
DTM/main.py
boomsbloom/dtm-fmri
159aab87f04b745d874b53f64fd30703b4d5a70c
[ "MIT" ]
1
2018-11-27T01:35:33.000Z
2018-11-27T01:35:33.000Z
''' ============================================== ====== DYNAMIC TOPIC MODELING FOR FMRI ======= ============================================== Assumes subject timeseries have been processed through: 1) binning 2) text creation (corr matrix as docs) =========================================...
38.369369
105
0.607185
d842eec02448696f44a1a56ec6f02fae7e47a590
1,436
py
Python
learning_python/lesson7/exercise4.py
fallenfuzz/pynet
9624d83cca160fd325a34e838e4474c9b80fe2ab
[ "Apache-2.0" ]
528
2015-01-07T15:28:51.000Z
2022-03-27T09:45:37.000Z
learning_python/lesson7/exercise4.py
fallenfuzz/pynet
9624d83cca160fd325a34e838e4474c9b80fe2ab
[ "Apache-2.0" ]
19
2015-07-01T23:52:27.000Z
2021-09-22T04:30:34.000Z
learning_python/lesson7/exercise4.py
fallenfuzz/pynet
9624d83cca160fd325a34e838e4474c9b80fe2ab
[ "Apache-2.0" ]
555
2015-01-18T07:21:43.000Z
2022-03-20T21:25:22.000Z
#!/usr/bin/env python """ Take the YAML file and corresponding data structure that you defined in exercise3b: {'interfaces': { 'Ethernet1': {'mode': 'access', 'vlan': 10}, 'Ethernet2': {'mode': 'access', 'vlan': 20}, 'Ethernet3': {'mode': 'trunk', 'native_vlan': 1, 'trun...
23.933333
94
0.732591
d843e4b01b7764ad4859ffea4d58b208b95d07a4
230
py
Python
finance_ml/model_selection/__init__.py
BTETON/finance_ml
a585be2d04db5a749eb6b39b7336e5aeb30d6327
[ "MIT" ]
446
2018-09-05T18:28:51.000Z
2022-03-28T23:45:41.000Z
finance_ml/model_selection/__init__.py
BTETON/finance_ml
a585be2d04db5a749eb6b39b7336e5aeb30d6327
[ "MIT" ]
3
2019-03-26T13:48:51.000Z
2021-10-31T11:00:14.000Z
finance_ml/model_selection/__init__.py
BTETON/finance_ml
a585be2d04db5a749eb6b39b7336e5aeb30d6327
[ "MIT" ]
164
2018-09-12T18:37:25.000Z
2022-03-17T06:30:12.000Z
from .kfold import PurgedKFold, CPKFold, generate_signals from .score import cv_score from .pipeline import Pipeline from .hyper import clf_hyper_fit from .distribution import LogUniformGen, log_uniform from .utils import evaluate
38.333333
57
0.847826
d84516d72613b23b75ae9e74070c183e56e9d699
3,322
py
Python
utils/helper.py
kirk86/calibration
cdbeb9fc9326785e05c289fa9de9fc88d1539250
[ "MIT" ]
24
2018-01-13T12:07:40.000Z
2021-04-25T06:35:52.000Z
utils/helper.py
kirk86/calibration
cdbeb9fc9326785e05c289fa9de9fc88d1539250
[ "MIT" ]
null
null
null
utils/helper.py
kirk86/calibration
cdbeb9fc9326785e05c289fa9de9fc88d1539250
[ "MIT" ]
5
2018-01-15T14:30:11.000Z
2021-06-19T23:42:49.000Z
import tensorflow as tf # Adapeted from # https://gist.github.com/kukuruza/03731dc494603ceab0c5#gistcomment-1879326 def on_grid(kernel, grid_side, pad=1): """Visualize conv. features as an image (mostly for the 1st layer). Place kernel into a grid, with some paddings between adjacent filters. Args: ...
31.339623
94
0.618001
d84582c0c8bdca35e7b408f03d12bcdbc039c3f0
252
py
Python
setup.py
KieberLab/indCAPS
6b0a75d99f39a3273ed31fc6cf45ba1b002ca313
[ "BSD-3-Clause" ]
1
2018-04-13T18:02:27.000Z
2018-04-13T18:02:27.000Z
setup.py
KieberLab/indCAPS
6b0a75d99f39a3273ed31fc6cf45ba1b002ca313
[ "BSD-3-Clause" ]
null
null
null
setup.py
KieberLab/indCAPS
6b0a75d99f39a3273ed31fc6cf45ba1b002ca313
[ "BSD-3-Clause" ]
null
null
null
#!/usr/bin/env python2 from setuptools import setup setup(name='indCAPS', version='0.1', description='OpenShift App', author='Charles Hodgens', author_email='hodgens@email.unc.edu', # install_requires=['Flask==0.10.1'], )
22.909091
43
0.650794
d845c8b1f227bb85466c78b3c158732c8901248a
9,474
py
Python
sparse_decomposition/decomposition/decomposition.py
bdpedigo/sparse_matrix_analysis
dbdff69b8ec56f60ba96b723a616f442755eacda
[ "MIT" ]
2
2021-03-18T14:51:52.000Z
2021-03-18T16:05:55.000Z
sparse_decomposition/decomposition/decomposition.py
bdpedigo/sparse_matrix_analysis
dbdff69b8ec56f60ba96b723a616f442755eacda
[ "MIT" ]
1
2021-03-18T05:08:25.000Z
2021-03-18T16:17:05.000Z
sparse_decomposition/decomposition/decomposition.py
bdpedigo/sparse_matrix_analysis
dbdff69b8ec56f60ba96b723a616f442755eacda
[ "MIT" ]
null
null
null
# Some of the implementation inspired by: # REF: https://github.com/fchen365/epca import time from abc import abstractmethod import numpy as np from factor_analyzer import Rotator from sklearn.base import BaseEstimator from sklearn.preprocessing import StandardScaler from sklearn.utils import check_array from graspo...
26.389972
88
0.541799
d8460399c532214a703651f1b44dd2db303623f8
829
py
Python
guess_a_number.py
peterhogan/python
bc6764f7794a862ff0d138bad80f1d6313984dcd
[ "MIT" ]
null
null
null
guess_a_number.py
peterhogan/python
bc6764f7794a862ff0d138bad80f1d6313984dcd
[ "MIT" ]
null
null
null
guess_a_number.py
peterhogan/python
bc6764f7794a862ff0d138bad80f1d6313984dcd
[ "MIT" ]
null
null
null
import maths import random print "Let's guess a number." bottom = input("Pick a range; bottom number: ") top = input("Pick a top number? ") guess_range = range(bottom, top+1) ans = random.randint(bottom, top) games = 0 average_guesses = [] again = 'y' while again == 'y': ans = random.randint(bottom, top) games += 1...
23.027778
88
0.656212
d84756d571c6e68a53b483af37314d8d7f8cfdb7
8,602
py
Python
pycqed/instrument_drivers/meta_instrument/inspire_dependency_graph.py
nuttamas/PycQED_py3
1ee35c7428d36ed42ba4afb5d4bda98140b2283e
[ "MIT" ]
60
2016-08-03T10:00:18.000Z
2021-11-10T11:46:16.000Z
pycqed/instrument_drivers/meta_instrument/inspire_dependency_graph.py
nuttamas/PycQED_py3
1ee35c7428d36ed42ba4afb5d4bda98140b2283e
[ "MIT" ]
512
2016-08-03T17:10:02.000Z
2022-03-31T14:03:43.000Z
pycqed/instrument_drivers/meta_instrument/inspire_dependency_graph.py
nuttamas/PycQED_py3
1ee35c7428d36ed42ba4afb5d4bda98140b2283e
[ "MIT" ]
34
2016-10-19T12:00:52.000Z
2022-03-19T04:43:26.000Z
########################################################################### # AutoDepGraph for Quantum Inspire ########################################################################### """ Third version of Graph Based Tuneup designed specifically for the Quantum Inspire project. Includes only routines relevant for tu...
53.7625
134
0.48977
d8477deb4df7303b173e0775680abd358d3a62aa
4,767
py
Python
scripts/edinburgh.py
LibrariesHacked/mobilelibraries-data
f14e891261a2d170326f92395f4a41867e8ceef7
[ "MIT" ]
null
null
null
scripts/edinburgh.py
LibrariesHacked/mobilelibraries-data
f14e891261a2d170326f92395f4a41867e8ceef7
[ "MIT" ]
92
2019-04-13T21:59:34.000Z
2020-11-27T22:58:28.000Z
scripts/edinburgh.py
LibrariesHacked/mobilelibraries-data
f14e891261a2d170326f92395f4a41867e8ceef7
[ "MIT" ]
null
null
null
"""Web scrapes Edinburgh mobile library pages """ from urllib.parse import quote from datetime import datetime import json import os import csv import requests import re from bs4 import BeautifulSoup from _common import create_mobile_library_file WEBSITE = 'https://www.edinburgh.gov.uk/' DATA_SOURCE = 'directory/16/m...
36.953488
101
0.487099
d847fb8c8919e26bc85ee01a5b8f35e5c2e9e44d
6,823
py
Python
alipay/aop/api/domain/MiniAppDeployResponse.py
antopen/alipay-sdk-python-all
8e51c54409b9452f8d46c7bb10eea7c8f7e8d30c
[ "Apache-2.0" ]
213
2018-08-27T16:49:32.000Z
2021-12-29T04:34:12.000Z
alipay/aop/api/domain/MiniAppDeployResponse.py
antopen/alipay-sdk-python-all
8e51c54409b9452f8d46c7bb10eea7c8f7e8d30c
[ "Apache-2.0" ]
29
2018-09-29T06:43:00.000Z
2021-09-02T03:27:32.000Z
alipay/aop/api/domain/MiniAppDeployResponse.py
antopen/alipay-sdk-python-all
8e51c54409b9452f8d46c7bb10eea7c8f7e8d30c
[ "Apache-2.0" ]
59
2018-08-27T16:59:26.000Z
2022-03-25T10:08:15.000Z
#!/usr/bin/env python # -*- coding: utf-8 -*- import json from alipay.aop.api.constant.ParamConstants import *
33.121359
87
0.611608
d8481933aca7e45d1f0159bdf11312459e4c9f9d
2,144
py
Python
tests/test_routex/mospp_test.py
alan-turing-institute/urbanroute
35943cad7ed260460cfdbc9dd5f3f0a58b4b6b2b
[ "MIT" ]
2
2021-11-08T23:00:01.000Z
2022-03-04T21:09:17.000Z
tests/test_routex/mospp_test.py
alan-turing-institute/urbanroute
35943cad7ed260460cfdbc9dd5f3f0a58b4b6b2b
[ "MIT" ]
29
2020-06-17T09:21:00.000Z
2020-09-17T15:05:08.000Z
tests/test_routex/mospp_test.py
alan-turing-institute/urbanroute
35943cad7ed260460cfdbc9dd5f3f0a58b4b6b2b
[ "MIT" ]
null
null
null
import pytest import json from graph_tool.all import load_graph, Graph from routex import mospp with open("./tests/test_routex/large_solution.json", "r") as read_file: data = json.load(read_file)
27.844156
87
0.60028
d84ae2a8b11a33b8cd7106e118cbb32ef91f1ba6
9,871
py
Python
tests/conftest.py
ewjoachim/python-coverage-comment-action
a22d6abc9dc853fc134cba3460fbdb47412d60b9
[ "MIT" ]
2
2022-02-04T09:22:47.000Z
2022-03-13T21:34:17.000Z
tests/conftest.py
ewjoachim/python-coverage-comment-action
a22d6abc9dc853fc134cba3460fbdb47412d60b9
[ "MIT" ]
4
2022-01-30T21:46:43.000Z
2022-03-28T20:32:11.000Z
tests/conftest.py
ewjoachim/python-coverage-comment-action
a22d6abc9dc853fc134cba3460fbdb47412d60b9
[ "MIT" ]
1
2022-03-18T14:44:37.000Z
2022-03-18T14:44:37.000Z
import datetime import functools import io import os import zipfile import httpx import pytest from coverage_comment import coverage as coverage_module from coverage_comment import github_client, settings
28.947214
102
0.516969
d84d0913e3105408f6f2a94b26bbe2105679d3cd
31
py
Python
xvision/ops/functional.py
jimmysue/xvision
bf5aa567a197b3e4c9fdd285c80b4f7512d14d7a
[ "MIT" ]
3
2021-04-08T10:50:53.000Z
2021-11-15T07:26:16.000Z
xvision/ops/functional.py
jimmysue/xvision
bf5aa567a197b3e4c9fdd285c80b4f7512d14d7a
[ "MIT" ]
3
2021-08-05T07:40:52.000Z
2021-11-16T05:53:29.000Z
xvision/ops/functional.py
jimmysue/xvision
bf5aa567a197b3e4c9fdd285c80b4f7512d14d7a
[ "MIT" ]
1
2021-12-15T05:57:48.000Z
2021-12-15T05:57:48.000Z
from .emd_loss import emd_loss
15.5
30
0.83871
d84e1367a97b3daad73881d637cea224686cd672
331
py
Python
test_lambda.py
unbiased-coder/python-aws-lambda-guide
36c3112a0a49eca1ddcaef967ca80fac573f50ac
[ "Unlicense" ]
null
null
null
test_lambda.py
unbiased-coder/python-aws-lambda-guide
36c3112a0a49eca1ddcaef967ca80fac573f50ac
[ "Unlicense" ]
null
null
null
test_lambda.py
unbiased-coder/python-aws-lambda-guide
36c3112a0a49eca1ddcaef967ca80fac573f50ac
[ "Unlicense" ]
null
null
null
import os import json
25.461538
97
0.595166
d84f54c4f28abf2055aeef23ddcd5559c795a440
3,080
py
Python
src/com/runner/InputService.py
avijit90/tic-tac-toe
737f74e828a6a59f26af1edc38e915b86c4a8e9d
[ "Apache-2.0" ]
null
null
null
src/com/runner/InputService.py
avijit90/tic-tac-toe
737f74e828a6a59f26af1edc38e915b86c4a8e9d
[ "Apache-2.0" ]
null
null
null
src/com/runner/InputService.py
avijit90/tic-tac-toe
737f74e828a6a59f26af1edc38e915b86c4a8e9d
[ "Apache-2.0" ]
null
null
null
from colorama import Fore, Style from Player import Player
41.621622
126
0.64026
d84fb543ffa833bbe5448f17c96e8318c6bb4f0d
1,234
py
Python
bin/MLEout2tab_NA.py
gaofeng21cn/IDP-fusion
052ac4f868fd416e10165ef4891804d25edc8862
[ "Apache-2.0" ]
5
2017-09-18T18:21:26.000Z
2020-05-01T23:29:26.000Z
bin/MLEout2tab_NA.py
gaofeng21cn/IDP-fusion
052ac4f868fd416e10165ef4891804d25edc8862
[ "Apache-2.0" ]
3
2018-11-26T16:35:12.000Z
2021-11-22T07:16:51.000Z
bin/MLEout2tab_NA.py
gaofeng21cn/IDP-fusion
052ac4f868fd416e10165ef4891804d25edc8862
[ "Apache-2.0" ]
4
2018-01-02T13:06:39.000Z
2020-04-14T13:20:52.000Z
#!/usr/bin/python import sys import os if len(sys.argv) >= 2 : exp_filename = sys.argv[1] else: print("usage: ") print("or ") sys.exit(1) ################################################################################ exp_dt = {} exp_file = open(exp_filename,'r') i=0 for line in exp_file: ls = lin...
28.697674
95
0.419773
d850a48868059577ef48f516a0a88dffa8f864d3
6,011
py
Python
fulltext/routes.py
arXiv/arxiv-fulltext
36008457022cde245d78b3ad91e0a95aa21bc420
[ "MIT" ]
18
2019-03-01T02:51:45.000Z
2021-11-05T12:26:12.000Z
fulltext/routes.py
arXiv/arxiv-fulltext
36008457022cde245d78b3ad91e0a95aa21bc420
[ "MIT" ]
6
2019-05-06T15:25:16.000Z
2019-07-31T20:11:36.000Z
fulltext/routes.py
arXiv/arxiv-fulltext
36008457022cde245d78b3ad91e0a95aa21bc420
[ "MIT" ]
8
2019-01-10T22:01:58.000Z
2021-11-05T12:26:01.000Z
"""Provides the blueprint for the fulltext API.""" from typing import Optional, Callable, Any, List from flask import request, Blueprint, Response, make_response from werkzeug.exceptions import NotAcceptable, BadRequest, NotFound from flask.json import jsonify from arxiv import status from arxiv.users.domain import Se...
42.330986
79
0.691233
d8510f940bd8a18f8166dccc963281d3e6645666
1,943
py
Python
bandit/algorithms/Softmax.py
MarcoAlmada/bandit-panda
787b8f8ea41e318a54c5c1db160801e4ff201383
[ "MIT" ]
6
2016-04-09T14:46:51.000Z
2019-04-16T21:46:58.000Z
bandit/algorithms/Softmax.py
MarcoAlmada/bandit-panda
787b8f8ea41e318a54c5c1db160801e4ff201383
[ "MIT" ]
null
null
null
bandit/algorithms/Softmax.py
MarcoAlmada/bandit-panda
787b8f8ea41e318a54c5c1db160801e4ff201383
[ "MIT" ]
1
2019-11-16T17:34:12.000Z
2019-11-16T17:34:12.000Z
from math import exp, log from random import random from pandas import DataFrame from BaseBanditAlgorithm import BaseBanditAlgorithm
26.986111
79
0.601132
d851a89f9002b0dda4ccf4ff65e9d8b1cb4dfa03
592
py
Python
tensorflow-example/tensor_placeholder.py
dinkar1708/machine-learning-examples
40d7d1fa77de5fd8414697f27da889c3e08a3eff
[ "Apache-2.0" ]
null
null
null
tensorflow-example/tensor_placeholder.py
dinkar1708/machine-learning-examples
40d7d1fa77de5fd8414697f27da889c3e08a3eff
[ "Apache-2.0" ]
null
null
null
tensorflow-example/tensor_placeholder.py
dinkar1708/machine-learning-examples
40d7d1fa77de5fd8414697f27da889c3e08a3eff
[ "Apache-2.0" ]
null
null
null
import numpy as np import tensorflow as tf # placeholder - Inserts a placeholder for a tensor that will be always fed. # Example1- a = tf.placeholder(tf.float32) b = tf.placeholder(tf.float32) adder_node = a + b sess = tf.Session() print(sess.run(adder_node, {a: [1, 2], b: [2, 3]})) sess.close() # Example2 x = tf.p...
25.73913
75
0.677365
d853bf37352fcda986f521a35690300e37f1e3db
145
py
Python
ABC066/ABC066a.py
VolgaKurvar/AtCoder
21acb489f1594bbb1cdc64fbf8421d876b5b476d
[ "Unlicense" ]
null
null
null
ABC066/ABC066a.py
VolgaKurvar/AtCoder
21acb489f1594bbb1cdc64fbf8421d876b5b476d
[ "Unlicense" ]
null
null
null
ABC066/ABC066a.py
VolgaKurvar/AtCoder
21acb489f1594bbb1cdc64fbf8421d876b5b476d
[ "Unlicense" ]
null
null
null
# ABC066a import sys input = sys.stdin.readline sys.setrecursionlimit(10**6) bell = tuple(map(int, input().split())) print(sum(bell)-max(bell))
18.125
39
0.717241
d8542a8bab379d24ecb097c9415b72c7698225bb
1,812
py
Python
validator/checks/md.py
KeepSafe/content-validator
30e59100f3251aee20b3165d42fceba15a3f5ede
[ "Apache-2.0" ]
1
2018-04-25T19:42:47.000Z
2018-04-25T19:42:47.000Z
validator/checks/md.py
KeepSafe/content-validator
30e59100f3251aee20b3165d42fceba15a3f5ede
[ "Apache-2.0" ]
12
2015-07-21T11:01:53.000Z
2021-03-31T18:53:35.000Z
validator/checks/md.py
KeepSafe/content-validator
30e59100f3251aee20b3165d42fceba15a3f5ede
[ "Apache-2.0" ]
2
2016-11-05T04:25:35.000Z
2018-04-25T19:42:49.000Z
import re from typing import Type from sdiff import diff, renderer, MdParser from markdown import markdown from ..errors import MdDiff, ContentData LINK_RE = r'\]\(([^\)]+)\)'
35.529412
89
0.573951
d8544e0312e447abae813303f3301ef4292e3943
264
py
Python
build/lib/apicount/__main__.py
vadivelmurugank/apicount
5c0e2a44f9000dd87f9213a2f37fce240182cedd
[ "MIT" ]
null
null
null
build/lib/apicount/__main__.py
vadivelmurugank/apicount
5c0e2a44f9000dd87f9213a2f37fce240182cedd
[ "MIT" ]
null
null
null
build/lib/apicount/__main__.py
vadivelmurugank/apicount
5c0e2a44f9000dd87f9213a2f37fce240182cedd
[ "MIT" ]
null
null
null
#!/usr/bin/env python """ apiparse Parse API and API groups from sources. List the API occurences from all directories and sub directories """ # Main Routine if __name__ == "__main__": import apicount f = apicount.apicount.funcnode() f.showapis()
15.529412
71
0.704545
d855337d24fef7108d2c7f6be570fa5e4a79e014
684
py
Python
sanskrit_parser/generator/test/test_list.py
avinashvarna/sanskrit_parser
79338213128b29927fe2f06031379bb1e3864a83
[ "MIT" ]
54
2017-06-30T09:11:53.000Z
2022-03-22T15:35:41.000Z
sanskrit_parser/generator/test/test_list.py
avinashvarna/sanskrit_parser
79338213128b29927fe2f06031379bb1e3864a83
[ "MIT" ]
159
2017-06-30T07:04:36.000Z
2021-06-17T17:03:43.000Z
sanskrit_parser/generator/test/test_list.py
avinashvarna/sanskrit_parser
79338213128b29927fe2f06031379bb1e3864a83
[ "MIT" ]
18
2017-08-17T13:22:00.000Z
2022-01-20T01:08:58.000Z
# flake8: noqa from sanskrit_parser.generator.pratyaya import * from sanskrit_parser.generator.dhatu import * from sanskrit_parser.generator.pratipadika import * from sanskrit_parser.base.sanskrit_base import SLP1, DEVANAGARI from sanskrit_parser.generator.sutras_yaml import sutra_list from conftest import run_test, g...
31.090909
63
0.830409
d8555ee45594776fd2dc1479324c7089491c7c52
694
py
Python
src/plottoolbox/skill_metrics/pc_bias.py
timcera/plottoolbox
b5f4b634d366eb5ba244e2f1fd33a7ef0eba7298
[ "BSD-3-Clause" ]
5
2016-10-13T18:06:41.000Z
2021-06-29T19:47:36.000Z
src/tstoolbox/skill_metrics/pc_bias.py
timcera/tstoolbox
a32fa399d96082f01b7eedfd6c8893bdb881845c
[ "BSD-3-Clause" ]
21
2016-04-28T16:48:03.000Z
2021-12-16T18:07:07.000Z
src/plottoolbox/skill_metrics/pc_bias.py
timcera/plottoolbox
b5f4b634d366eb5ba244e2f1fd33a7ef0eba7298
[ "BSD-3-Clause" ]
3
2018-03-21T21:07:52.000Z
2021-01-22T20:07:49.000Z
# -*- coding: utf-8 -*- import numpy as np from . import utils def pc_bias(simulated, observed): """ Calculate the percent bias between simulated and observed. B = 100.0*sum(s-o)/sum(o) where s is the simulated values, and o is the observed values. Note that s & o must have the same number of v...
23.133333
66
0.67147
d8557b962f8e5321f494ea6d170877863218e3d5
1,878
py
Python
cli/commands/cli_testcase.py
MatthewLiHW/functest
1f2d76cd3a39f8e26c441d7a9b6b2708062fccdd
[ "Apache-2.0" ]
null
null
null
cli/commands/cli_testcase.py
MatthewLiHW/functest
1f2d76cd3a39f8e26c441d7a9b6b2708062fccdd
[ "Apache-2.0" ]
null
null
null
cli/commands/cli_testcase.py
MatthewLiHW/functest
1f2d76cd3a39f8e26c441d7a9b6b2708062fccdd
[ "Apache-2.0" ]
null
null
null
#!/usr/bin/env python # # jose.lausuch@ericsson.com # All rights reserved. This program and the accompanying materials # are made available under the terms of the Apache License, Version 2.0 # which accompanies this distribution, and is available at # http://www.apache.org/licenses/LICENSE-2.0 # import click import os...
32.37931
79
0.653355
d85693a25e0c843ebd74e5c861b2c87f367b1bc8
3,212
py
Python
update-URIs.py
ruthtillman/subjectreconscripts
a265e19056ca6c1d1e2612a4ecf7704fbb3c621e
[ "MIT" ]
6
2017-12-14T21:40:43.000Z
2020-05-02T14:19:09.000Z
update-URIs.py
ruthtillman/subjectreconscripts
a265e19056ca6c1d1e2612a4ecf7704fbb3c621e
[ "MIT" ]
null
null
null
update-URIs.py
ruthtillman/subjectreconscripts
a265e19056ca6c1d1e2612a4ecf7704fbb3c621e
[ "MIT" ]
null
null
null
#!/usr/bin/env python # Why does this script exist? This script exists so that we can work separately with ASpace data, create a spreadsheet (CSV) of the IDs of subjects which should be updated to include any authority_id but really probably a URI. # This script connects to ASpace It then opens the CSV to download subj...
53.533333
384
0.702989
d8569c4866fa822712890e85b3227b7cef16ca10
3,305
py
Python
src/conversations/migrations/0001_initial.py
earth-emoji/august
065d4b449a138ead1557293bffcb20cd2db90a41
[ "BSD-2-Clause" ]
null
null
null
src/conversations/migrations/0001_initial.py
earth-emoji/august
065d4b449a138ead1557293bffcb20cd2db90a41
[ "BSD-2-Clause" ]
10
2021-03-19T10:47:13.000Z
2022-03-12T00:28:30.000Z
src/conversations/migrations/0001_initial.py
earth-emoji/august
065d4b449a138ead1557293bffcb20cd2db90a41
[ "BSD-2-Clause" ]
null
null
null
# Generated by Django 2.2.12 on 2020-05-21 03:10 from django.db import migrations, models import django.db.models.deletion import uuid
56.982759
170
0.625416
d857c01199881432f946a813c2b1eacbefca1fa8
93
py
Python
slurm_jupyter_kernel/__main__.py
mawigh/slurm_jupyter_kernel
37050b49eba3d6c71ea59f067917739dafa55d44
[ "MIT" ]
1
2021-12-06T11:26:04.000Z
2021-12-06T11:26:04.000Z
slurm_jupyter_kernel/__main__.py
mawigh/slurm_jupyter_kernel
37050b49eba3d6c71ea59f067917739dafa55d44
[ "MIT" ]
1
2021-12-06T08:23:59.000Z
2021-12-06T08:23:59.000Z
slurm_jupyter_kernel/__main__.py
mawigh/slurm_jupyter_kernel
37050b49eba3d6c71ea59f067917739dafa55d44
[ "MIT" ]
3
2021-03-31T07:20:19.000Z
2021-12-04T01:50:06.000Z
from slurm_jupyter_kernel.start_kernel import slurm_jupyter_kernel; slurm_jupyter_kernel();
23.25
67
0.88172
d8598908dae952efdcb79f28f78a4bda7f44e689
4,608
py
Python
plenum/test/logging/test_logging_txn_state.py
steptan/indy-plenum
488bf63c82753a74a92ac6952da784825ffd4a3d
[ "Apache-2.0" ]
null
null
null
plenum/test/logging/test_logging_txn_state.py
steptan/indy-plenum
488bf63c82753a74a92ac6952da784825ffd4a3d
[ "Apache-2.0" ]
null
null
null
plenum/test/logging/test_logging_txn_state.py
steptan/indy-plenum
488bf63c82753a74a92ac6952da784825ffd4a3d
[ "Apache-2.0" ]
null
null
null
import functools from stp_core.loop.eventually import eventually from plenum.common.constants import STEWARD, DOMAIN_LEDGER_ID from plenum.test.pool_transactions.conftest import looper, stewardAndWallet1, \ steward1, stewardWallet, client1, clientAndWallet1, client1Connected from plenum.test.pool_transactions.he...
34.133333
99
0.6875
d85a4d460505324fde409b6130001dc85cb93b73
2,099
py
Python
output/dfg_mix/mix_rotate_chains.py
tmcclintock/fit_mass_functions
3edc05004d734c48e8138de098ade8b77a0cfd61
[ "BSD-2-Clause" ]
null
null
null
output/dfg_mix/mix_rotate_chains.py
tmcclintock/fit_mass_functions
3edc05004d734c48e8138de098ade8b77a0cfd61
[ "BSD-2-Clause" ]
null
null
null
output/dfg_mix/mix_rotate_chains.py
tmcclintock/fit_mass_functions
3edc05004d734c48e8138de098ade8b77a0cfd61
[ "BSD-2-Clause" ]
null
null
null
""" Instead of rotating the chains in the entire parameter space, just rotate all the intercepts together and then all the slopes together. """ import numpy as np import corner, sys import matplotlib.pyplot as plt old_labels = [r"$d0$",r"$d1$",r"$f0$",r"$f1$",r"$g0$",r"$g1$"] N_z = 10 N_boxes = 39 N_p = 6 mean_models...
32.292308
77
0.604097
d85addbed4e05a4e02cfa2dc4aae138a1d63873f
102
py
Python
spreadsheetconverter/scripts/__init__.py
gumi/spreadsheetconverter
15f0a7cbc9a57a44cb60b2cdde0f657e1733d5a8
[ "MIT" ]
4
2016-05-30T07:05:27.000Z
2018-11-05T02:12:06.000Z
spreadsheetconverter/scripts/__init__.py
gumi/spreadsheetconverter
15f0a7cbc9a57a44cb60b2cdde0f657e1733d5a8
[ "MIT" ]
2
2016-05-13T08:53:00.000Z
2018-10-03T05:53:25.000Z
spreadsheetconverter/scripts/__init__.py
gumi/spreadsheetconverter
15f0a7cbc9a57a44cb60b2cdde0f657e1733d5a8
[ "MIT" ]
3
2016-05-30T07:05:38.000Z
2021-02-04T08:40:24.000Z
# -*- coding:utf-8 -*- from __future__ import absolute_import from __future__ import unicode_literals
25.5
39
0.794118
d85b8e6c7d9dd7595bf7085d889052d4525b173d
12,143
py
Python
py_script/utilities.py
Tagliacollo/PFinderUCE-SWSC-EN
6e16e0593dbfeeb475c245cc1c80bd55276e75bc
[ "CC0-1.0" ]
null
null
null
py_script/utilities.py
Tagliacollo/PFinderUCE-SWSC-EN
6e16e0593dbfeeb475c245cc1c80bd55276e75bc
[ "CC0-1.0" ]
4
2018-05-04T15:31:53.000Z
2022-03-01T23:53:15.000Z
py_script/utilities.py
Tagliacollo/PFinderUCE-SWSC-EN
6e16e0593dbfeeb475c245cc1c80bd55276e75bc
[ "CC0-1.0" ]
3
2018-09-26T20:55:33.000Z
2020-09-05T02:50:37.000Z
import os from pathlib2 import Path from Bio import AlignIO, SeqIO, SeqUtils from itertools import combinations import numpy as np from math import factorial from Bio.Nexus import Nexus def check_taxa(matrices): '''Checks that nexus instances in a list [(name, instance)...] have the same taxa, provides use...
28.639151
120
0.622169
d85c2384ee2c3f50ceefdbd53f1433b289c70c87
7,211
py
Python
lambda/test_main.py
mkhanal1/lambda-runcommand-configuration-management
cd5127a72e7e7f19ce437f797f49024184e17eda
[ "Apache-2.0" ]
76
2016-04-13T21:08:10.000Z
2020-03-05T21:10:35.000Z
lambda/test_main.py
mkhanal1/lambda-runcommand-configuration-management
cd5127a72e7e7f19ce437f797f49024184e17eda
[ "Apache-2.0" ]
2
2016-04-15T18:12:42.000Z
2018-03-27T19:30:08.000Z
lambda/test_main.py
mkhanal1/lambda-runcommand-configuration-management
cd5127a72e7e7f19ce437f797f49024184e17eda
[ "Apache-2.0" ]
34
2016-04-15T17:15:29.000Z
2020-02-16T16:13:59.000Z
""" Unit Tests for trigger_run_command Lambda function """ import pytest import boto3 from botocore.exceptions import ClientError from mock import MagicMock, patch from main import find_artifact from main import ssm_commands from main import codepipeline_success from main import codepipeline_failure from main import fi...
32.048889
93
0.704341
d85d565cf52d65ec54d3bb3d8a92c379747e4652
1,519
py
Python
rplugin/python3/denite/source/junkfile.py
hironei/junkfile.vim
4b426851a9a326eeca73a71476956859422a11c4
[ "MIT" ]
23
2015-02-15T08:13:56.000Z
2021-05-03T18:56:59.000Z
rplugin/python3/denite/source/junkfile.py
hironei/junkfile.vim
4b426851a9a326eeca73a71476956859422a11c4
[ "MIT" ]
4
2015-04-01T21:34:12.000Z
2018-01-25T13:48:39.000Z
rplugin/python3/denite/source/junkfile.py
hironei/junkfile.vim
4b426851a9a326eeca73a71476956859422a11c4
[ "MIT" ]
5
2016-08-05T08:19:30.000Z
2022-02-03T06:53:59.000Z
# ============================================================================ # FILE: junkfile.py # AUTHOR: Shougo Matsushita <Shougo.Matsu at gmail.com> # License: MIT license # ============================================================================ from .base import Base from time import strftime from denite.u...
33.755556
78
0.464121
d85e74f3d68877675e7e2b4e7d3a786bcaedf85c
720
py
Python
Room/api/migrations/0002_auto_20210129_1554.py
zarif007/Club-Room
57e15aecbc8e88e6ca46616c001e4c25ae22068c
[ "MIT" ]
1
2021-03-15T22:28:28.000Z
2021-03-15T22:28:28.000Z
Room/api/migrations/0002_auto_20210129_1554.py
zarif007/Club-Room
57e15aecbc8e88e6ca46616c001e4c25ae22068c
[ "MIT" ]
null
null
null
Room/api/migrations/0002_auto_20210129_1554.py
zarif007/Club-Room
57e15aecbc8e88e6ca46616c001e4c25ae22068c
[ "MIT" ]
null
null
null
# Generated by Django 3.1.5 on 2021-01-29 09:54 import api.models from django.db import migrations, models
26.666667
114
0.580556