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
befd00f2e7be9ee982348d730c3ed4d4bbdd8988
177
py
Python
iris_sdk/models/data/tn_status.py
NumberAI/python-bandwidth-iris
0e05f79d68b244812afb97e00fd65b3f46d00aa3
[ "MIT" ]
2
2020-04-13T13:47:59.000Z
2022-02-23T20:32:41.000Z
iris_sdk/models/data/tn_status.py
bandwidthcom/python-bandwidth-iris
dbcb30569631395041b92917252d913166f7d3c9
[ "MIT" ]
5
2020-09-18T20:59:24.000Z
2021-08-25T16:51:42.000Z
iris_sdk/models/data/tn_status.py
bandwidthcom/python-bandwidth-iris
dbcb30569631395041b92917252d913166f7d3c9
[ "MIT" ]
5
2018-12-12T14:39:50.000Z
2020-11-17T21:42:29.000Z
#!/usr/bin/env python from iris_sdk.models.base_resource import BaseData from iris_sdk.models.maps.tn_status import TnStatusMap
25.285714
54
0.813559
befd8dcdbdb6d9ed65837be1a16b79168d010d75
8,437
py
Python
venv/lib/python3.6/site-packages/ansible_collections/f5networks/f5_modules/plugins/modules/bigip_device_group_member.py
usegalaxy-no/usegalaxy
75dad095769fe918eb39677f2c887e681a747f3a
[ "MIT" ]
1
2020-01-22T13:11:23.000Z
2020-01-22T13:11:23.000Z
venv/lib/python3.6/site-packages/ansible_collections/f5networks/f5_modules/plugins/modules/bigip_device_group_member.py
usegalaxy-no/usegalaxy
75dad095769fe918eb39677f2c887e681a747f3a
[ "MIT" ]
12
2020-02-21T07:24:52.000Z
2020-04-14T09:54:32.000Z
venv/lib/python3.6/site-packages/ansible_collections/f5networks/f5_modules/plugins/modules/bigip_device_group_member.py
usegalaxy-no/usegalaxy
75dad095769fe918eb39677f2c887e681a747f3a
[ "MIT" ]
null
null
null
#!/usr/bin/python # -*- coding: utf-8 -*- # # Copyright: (c) 2017, F5 Networks Inc. # GNU General Public License v3.0 (see COPYING or https://www.gnu.org/licenses/gpl-3.0.txt) from __future__ import absolute_import, division, print_function __metaclass__ = type DOCUMENTATION = r''' --- module: bigip_device_group_memb...
28.6
94
0.6174
befdd813dce9c8916652b3514805d92fc7258e7d
793
py
Python
comrade/blueprints/rest.py
sp3c73r2038/elasticsearch-comrade
ed0c94e071d2fe701a14429981390b9a89df79a7
[ "MIT" ]
256
2019-09-09T10:09:34.000Z
2022-03-28T04:15:21.000Z
comrade/blueprints/rest.py
sp3c73r2038/elasticsearch-comrade
ed0c94e071d2fe701a14429981390b9a89df79a7
[ "MIT" ]
503
2019-07-31T17:01:12.000Z
2022-03-28T13:19:26.000Z
comrade/blueprints/rest.py
nmeisels/elasticsearch-comrade
57dc600e5ffd7f9d4c055b584124bef9365e538c
[ "MIT" ]
25
2019-08-30T13:04:31.000Z
2022-03-09T09:50:32.000Z
from elasticsearch import TransportError from sanic import Blueprint from sanic.request import Request from sanic.response import HTTPResponse, json from ..connections import get_client rest_bp = Blueprint('rest')
28.321429
78
0.693569
befebe8c408a00b9be09490e9fa3fb8d41c06ce6
1,081
py
Python
tests/test_utils.py
tedeler/pyexchange
58042f473cbd4f00769249ce9ca20c6a376eddb6
[ "Apache-2.0" ]
128
2015-01-11T10:29:40.000Z
2021-06-25T05:27:45.000Z
tests/test_utils.py
tedeler/pyexchange
58042f473cbd4f00769249ce9ca20c6a376eddb6
[ "Apache-2.0" ]
52
2015-01-02T15:24:28.000Z
2020-08-07T04:49:49.000Z
tests/test_utils.py
tedeler/pyexchange
58042f473cbd4f00769249ce9ca20c6a376eddb6
[ "Apache-2.0" ]
96
2015-01-02T15:16:20.000Z
2021-12-25T01:37:46.000Z
from datetime import datetime from pytz import timezone, utc from pytest import mark from pyexchange.utils import convert_datetime_to_utc
43.24
121
0.781684
befed480f20eb883fd15d6235756ef7750bbee56
786
py
Python
vidpub/__main__.py
gary9630/session-video-publisher
6602f53d722af8e569c82b7de8ef79a63293c766
[ "0BSD" ]
null
null
null
vidpub/__main__.py
gary9630/session-video-publisher
6602f53d722af8e569c82b7de8ef79a63293c766
[ "0BSD" ]
5
2020-11-15T12:45:03.000Z
2021-12-07T08:29:40.000Z
vidpub/__main__.py
gary9630/session-video-publisher
6602f53d722af8e569c82b7de8ef79a63293c766
[ "0BSD" ]
4
2018-06-23T16:48:03.000Z
2021-04-18T09:51:29.000Z
import argparse from .upload_video import upload_video from .generate_playlist import generate_playlist if __name__ == "__main__": main()
23.818182
99
0.675573
beff85e9c6691647f15d3bfe260f151e7cc2041f
3,275
py
Python
ally/utils/option.py
rjfranssen/PyAlly
f24d4d449dd0578f52e75365ad0ba69a572d3237
[ "MIT" ]
53
2019-08-11T20:39:16.000Z
2022-02-01T02:05:12.000Z
ally/utils/option.py
rjfranssen/PyAlly
f24d4d449dd0578f52e75365ad0ba69a572d3237
[ "MIT" ]
53
2019-12-11T06:39:59.000Z
2022-02-13T05:06:44.000Z
ally/utils/option.py
rjfranssen/PyAlly
f24d4d449dd0578f52e75365ad0ba69a572d3237
[ "MIT" ]
31
2019-10-05T02:28:16.000Z
2022-02-03T03:41:42.000Z
# MIT License # # Copyright (c) 2020 Brett Graves # # Permission is hereby granted, free of charge, to any person obtaining a copy # of this software and associated documentation files (the "Software"), to deal # in the Software without restriction, including without limitation the rights # to use, copy, modify, merge,...
31.796117
90
0.635725
8300d2d4159d348f8f2a81357e0afeb556ced95e
460
py
Python
examples/104-python3-9-pipeline.py
marviniter/argo-dataflow
89a060b1c6ea70f7c26bc58a01ba675c3acc1c06
[ "Apache-2.0" ]
null
null
null
examples/104-python3-9-pipeline.py
marviniter/argo-dataflow
89a060b1c6ea70f7c26bc58a01ba675c3acc1c06
[ "Apache-2.0" ]
null
null
null
examples/104-python3-9-pipeline.py
marviniter/argo-dataflow
89a060b1c6ea70f7c26bc58a01ba675c3acc1c06
[ "Apache-2.0" ]
null
null
null
from argo_dataflow import pipeline, kafka if __name__ == '__main__': (pipeline("104-python3-9") .owner('argoproj-labs') .describe("""This example is of the Python 3.9 handler. [Learn about handlers](../docs/HANDLERS.md)""") .step( (kafka('input-topic') .code('main', handler) ...
23
60
0.582609
8300f1e857cc9e2e0c3bf9685d4664e9e4c8faa9
2,195
py
Python
djangur.py
JerryPopi/djangur-py
0ba76a1a9c0f77ded014f0f3a0b3a98bf7835f51
[ "MIT" ]
null
null
null
djangur.py
JerryPopi/djangur-py
0ba76a1a9c0f77ded014f0f3a0b3a98bf7835f51
[ "MIT" ]
null
null
null
djangur.py
JerryPopi/djangur-py
0ba76a1a9c0f77ded014f0f3a0b3a98bf7835f51
[ "MIT" ]
null
null
null
import asyncio import discord from commands import Commands, Guild_Instance, leave, play_search import os from pymongo import MongoClient from dotenv import load_dotenv load_dotenv() CONNECTION_STRING = f"mongodb+srv://{os.environ['mongo_user']}:{os.environ['mongo_pass']}@djangur.erogd.mongodb.net/djangur?retryWrites...
29.662162
152
0.653303
830374b559d44b39454687ae70bffd40d78c9944
44,236
py
Python
membership/models.py
str4nd/sikteeri
34dd5a4dc35558cdba9e6f97fd38fb661a36b8a5
[ "MIT" ]
22
2015-03-30T19:33:15.000Z
2022-01-10T03:52:43.000Z
membership/models.py
str4nd/sikteeri
34dd5a4dc35558cdba9e6f97fd38fb661a36b8a5
[ "MIT" ]
66
2015-05-15T13:54:59.000Z
2021-05-27T20:28:39.000Z
membership/models.py
str4nd/sikteeri
34dd5a4dc35558cdba9e6f97fd38fb661a36b8a5
[ "MIT" ]
13
2015-03-09T18:59:29.000Z
2022-01-10T04:08:38.000Z
# -*- coding: utf-8 -*- from datetime import datetime, timedelta from decimal import Decimal import logging from django.core.files.storage import FileSystemStorage from membership.billing.pdf_utils import get_bill_pdf, create_reminder_pdf from membership.reference_numbers import barcode_4, group_right,\ generate_...
41.149767
128
0.628651
830421c0eef174df1951cc79db82af6869f9e1bc
177
py
Python
napari_imc/io/__init__.py
neuromusic/napari-imc
ce2ff998b33b49f19a786585cc2cb8e59db74c24
[ "MIT" ]
4
2021-01-29T15:11:37.000Z
2021-03-01T02:04:24.000Z
napari_imc/io/__init__.py
neuromusic/napari-imc
ce2ff998b33b49f19a786585cc2cb8e59db74c24
[ "MIT" ]
25
2021-01-19T01:49:13.000Z
2022-02-09T10:46:41.000Z
napari_imc/io/__init__.py
neuromusic/napari-imc
ce2ff998b33b49f19a786585cc2cb8e59db74c24
[ "MIT" ]
3
2021-01-29T17:31:05.000Z
2022-03-25T10:23:32.000Z
from .imaxt import ImaxtFileReader from .mcd import McdFileReader from .txt import TxtFileReader __all__ = [ 'ImaxtFileReader', 'McdFileReader', 'TxtFileReader', ]
17.7
34
0.734463
83043d6bcc47235264f0457736e61baf87cbac95
2,449
py
Python
eval.py
ldzhangyx/TCN-for-beat-tracking
8e09ba5b2f222a4944a8bd039987a01240ae778d
[ "BSD-3-Clause" ]
3
2021-03-22T01:59:52.000Z
2022-01-22T11:08:56.000Z
eval.py
ldzhangyx/TCN-for-beat-tracking
8e09ba5b2f222a4944a8bd039987a01240ae778d
[ "BSD-3-Clause" ]
1
2021-06-21T19:14:35.000Z
2021-06-21T19:14:35.000Z
eval.py
ldzhangyx/TCN-for-beat-tracking
8e09ba5b2f222a4944a8bd039987a01240ae778d
[ "BSD-3-Clause" ]
1
2021-03-22T01:59:57.000Z
2021-03-22T01:59:57.000Z
import torch from torch.utils.data import Dataset import numpy as np import os import pickle from madmom.features import DBNBeatTrackingProcessor import torch from model import BeatTrackingNet from utils import init_single_spec from mir_eval.beat import evaluate from data import BallroomDataset from beat_tracker im...
25.510417
79
0.685178
830448984e5a77e90d22cacc683d54197d1adc44
130,468
py
Python
pycity_calc/cities/scripts/city_generator/city_generator.py
RWTH-EBC/pyCity_calc
99fd0dab7f9a9030fd84ba4715753364662927ec
[ "MIT" ]
4
2020-06-22T14:14:25.000Z
2021-11-08T11:47:01.000Z
pycity_calc/cities/scripts/city_generator/city_generator.py
RWTH-EBC/pyCity_calc
99fd0dab7f9a9030fd84ba4715753364662927ec
[ "MIT" ]
4
2019-08-28T19:42:28.000Z
2019-08-28T19:43:44.000Z
pycity_calc/cities/scripts/city_generator/city_generator.py
RWTH-EBC/pyCity_calc
99fd0dab7f9a9030fd84ba4715753364662927ec
[ "MIT" ]
null
null
null
# coding=utf-8 """ Script to generate city object. """ from __future__ import division import os import numpy as np import pickle import warnings import random import datetime import shapely.geometry.point as point import pycity_base.classes.Weather as weath import pycity_base.classes.demand.SpaceHeating as SpaceHeati...
44.482782
173
0.52153
830541d7c666d087b745fabc733309dfe46fdeb0
14,092
py
Python
cpgan_data.py
basilevh/object-discovery-cp-gan
170cdcf14aa0b5f7258d15e177485ee4fd697afb
[ "MIT" ]
14
2020-06-04T15:50:38.000Z
2021-10-03T02:59:54.000Z
cpgan_data.py
basilevh/object-discovery-cp-gan
170cdcf14aa0b5f7258d15e177485ee4fd697afb
[ "MIT" ]
null
null
null
cpgan_data.py
basilevh/object-discovery-cp-gan
170cdcf14aa0b5f7258d15e177485ee4fd697afb
[ "MIT" ]
1
2021-01-19T15:50:47.000Z
2021-01-19T15:50:47.000Z
# Basile Van Hoorick, March 2020 # Common code for PyTorch implementation of Copy-Pasting GAN import copy import itertools import matplotlib.pyplot as plt import numpy as np import os, platform, time import torch import torch.nn as nn import torch.nn.functional as F import torchvision import torchvision.transforms as ...
39.92068
154
0.590477
8305a58a05e7a9623ae618b46a183f5331e34e3b
3,207
py
Python
provision/env/lib/python3.6/site-packages/ansible/plugins/become/dzdo.py
brightkan/tukole-frontend
45e1d82a4ae5a65e88e7434f67d4d1a88f462e96
[ "MIT" ]
1
2020-03-29T18:41:01.000Z
2020-03-29T18:41:01.000Z
ansible/ansible/plugins/become/dzdo.py
SergeyCherepanov/ansible
875711cd2fd6b783c812241c2ed7a954bf6f670f
[ "MIT" ]
7
2020-09-07T17:27:56.000Z
2022-03-02T06:25:46.000Z
ansible/ansible/plugins/become/dzdo.py
SergeyCherepanov/ansible
875711cd2fd6b783c812241c2ed7a954bf6f670f
[ "MIT" ]
1
2020-10-30T12:48:24.000Z
2020-10-30T12:48:24.000Z
# -*- coding: utf-8 -*- # Copyright: (c) 2018, Ansible Project # GNU General Public License v3.0+ (see COPYING or https://www.gnu.org/licenses/gpl-3.0.txt) from __future__ import (absolute_import, division, print_function) __metaclass__ = type DOCUMENTATION = """ become: dzdo short_description: Centrify's Dire...
32.72449
131
0.558154
830713faff66a018b4d3b736c65a71173ebb4219
3,078
py
Python
templates/php/functionsTest.py
anconaesselmann/LiveUnit
8edebb49cb02fa898550cbafdf87af7fc22f106b
[ "MIT" ]
null
null
null
templates/php/functionsTest.py
anconaesselmann/LiveUnit
8edebb49cb02fa898550cbafdf87af7fc22f106b
[ "MIT" ]
null
null
null
templates/php/functionsTest.py
anconaesselmann/LiveUnit
8edebb49cb02fa898550cbafdf87af7fc22f106b
[ "MIT" ]
null
null
null
import unittest import os if __name__ == '__main__' and __package__ is None: from os import sys, path sys.path.append(path.abspath(path.join(__file__, "..", ".."))) sys.path.append(path.abspath(path.join(__file__, "..", "..", "..", "classes_and_tests"))) from php.functions import * from src.mocking.MockFi...
34.58427
100
0.649448
8307eb589ed701e9bef2d35aecb16eec594af392
5,629
py
Python
app.py
opeyemibami/decision_support_system
15ffdd795c8f2704b577a9c84db9dafb1fcf792d
[ "MIT" ]
1
2021-10-31T13:07:24.000Z
2021-10-31T13:07:24.000Z
app.py
opeyemibami/decision_support_system
15ffdd795c8f2704b577a9c84db9dafb1fcf792d
[ "MIT" ]
null
null
null
app.py
opeyemibami/decision_support_system
15ffdd795c8f2704b577a9c84db9dafb1fcf792d
[ "MIT" ]
1
2022-02-03T13:12:59.000Z
2022-02-03T13:12:59.000Z
import sys import numpy as np import matplotlib.pyplot as plt from PIL import Image import efficientnet.keras as efn import streamlit as st import SessionState from skimage.transform import resize import skimage import skimage.filters import reportgenerator import style from keras.models import Model, load_model st.set...
45.032
203
0.650382
83080191fabbc152072cd0019bf81fd6f737d375
7,129
py
Python
richardson_extrapolation.py
PrabalChowdhury/CSE330-NUMERICAL-METHODS
aabfea01f4ceaecfbb50d771ee990777d6e1122c
[ "MIT" ]
null
null
null
richardson_extrapolation.py
PrabalChowdhury/CSE330-NUMERICAL-METHODS
aabfea01f4ceaecfbb50d771ee990777d6e1122c
[ "MIT" ]
null
null
null
richardson_extrapolation.py
PrabalChowdhury/CSE330-NUMERICAL-METHODS
aabfea01f4ceaecfbb50d771ee990777d6e1122c
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- """Richardson-Extrapolation.ipynb Automatically generated by Colaboratory. Original file is located at https://colab.research.google.com/drive/1oNlSL2Vztk9Fc7tMBgPcL82WGaUuCY-A Before you turn this problem in, make sure everything runs as expected. First, **restart the kernel** (in the me...
36.747423
273
0.591668
83092d72acd08ca21db99e040f029c6dead0fb17
9,050
py
Python
src/mlshell/blocks/pipeline/steps.py
nizaevka/mlshell
36893067f598f6b071b61604423d0fd15c2a7c62
[ "Apache-2.0" ]
8
2020-10-04T15:33:58.000Z
2020-11-24T15:10:18.000Z
src/mlshell/blocks/pipeline/steps.py
nizaevka/mlshell
36893067f598f6b071b61604423d0fd15c2a7c62
[ "Apache-2.0" ]
5
2020-03-06T18:13:10.000Z
2022-03-12T00:52:48.000Z
src/mlshell/blocks/pipeline/steps.py
nizaevka/mlshell
36893067f598f6b071b61604423d0fd15c2a7c62
[ "Apache-2.0" ]
null
null
null
"""The :mod:`mlshell.pipeline.steps` contains unified pipeline steps.""" import inspect import mlshell import numpy as np import pandas as pd import sklearn import sklearn.impute import sklearn.compose __all__ = ['Steps'] if __name__ == '__main__': pass
43.301435
206
0.612818
830a09b0fe214d145afe8c3a467c3effd538a38b
2,283
py
Python
paste/application/repositories.py
Afonasev/Paste
ca1dcb566f15a9cf1aa0e97c6fc4cf4d450ec89d
[ "MIT" ]
null
null
null
paste/application/repositories.py
Afonasev/Paste
ca1dcb566f15a9cf1aa0e97c6fc4cf4d450ec89d
[ "MIT" ]
1
2018-05-07T00:12:59.000Z
2018-05-07T00:12:59.000Z
paste/application/repositories.py
Afonasev/Paste
ca1dcb566f15a9cf1aa0e97c6fc4cf4d450ec89d
[ "MIT" ]
null
null
null
from datetime import datetime import peewee from paste import domain from . import db def _by_object(obj): name = obj.__class__.__name__ fields = ('pk', 'created_at', 'updated_at') if name == 'User': return domain.User, db.User, fields + ('name', 'passhash') if name == 'Snippet': ...
23.78125
72
0.610162
830a2f904f214eab34723ae65f4d0799f4773a77
3,278
py
Python
example/example_nursery.py
airysen/racog
8751436437e9e82d80d54617a8b39fae5fd0ebdd
[ "MIT" ]
3
2019-03-06T07:58:22.000Z
2021-03-12T18:10:46.000Z
example/example_nursery.py
airysen/racog
8751436437e9e82d80d54617a8b39fae5fd0ebdd
[ "MIT" ]
1
2019-08-19T18:51:02.000Z
2019-08-19T18:51:02.000Z
example/example_nursery.py
airysen/racog
8751436437e9e82d80d54617a8b39fae5fd0ebdd
[ "MIT" ]
1
2019-08-19T19:07:05.000Z
2019-08-19T19:07:05.000Z
# Dataset https://archive.ics.uci.edu/ml/datasets/Nursery import numpy as np import pandas as pd from collections import Counter from sklearn.model_selection import train_test_split, GridSearchCV, StratifiedKFold from imblearn.metrics import geometric_mean_score from sklearn.metrics import mean_squared_error, make_s...
31.519231
99
0.682123
830a7a30cf722db0418fa36cfcde2cb40ad3323f
8,187
py
Python
channels/piratestreaming.py
sodicarus/channels
d77402f4f460ea6daa66959aa5384aaffbff70b5
[ "MIT" ]
null
null
null
channels/piratestreaming.py
sodicarus/channels
d77402f4f460ea6daa66959aa5384aaffbff70b5
[ "MIT" ]
null
null
null
channels/piratestreaming.py
sodicarus/channels
d77402f4f460ea6daa66959aa5384aaffbff70b5
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- # StreamOnDemand Community Edition - Kodi Addon # ------------------------------------------------------------ # streamondemand.- XBMC Plugin # Canale piratestreaming # http://www.mimediacenter.info/foro/viewforum.php?f=36 # ------------------------------------------------------------ import re ...
36.386667
142
0.561011
830be7742fbd411e52ef441a27dec4480a075f6e
5,259
py
Python
test/IECore/LayeredDictTest.py
gcodebackups/cortex-vfx
72fa6c6eb3327fce4faf01361c8fcc2e1e892672
[ "BSD-3-Clause" ]
5
2016-07-26T06:09:28.000Z
2022-03-07T03:58:51.000Z
test/IECore/LayeredDictTest.py
turbosun/cortex
4bdc01a692652cd562f3bfa85f3dae99d07c0b15
[ "BSD-3-Clause" ]
null
null
null
test/IECore/LayeredDictTest.py
turbosun/cortex
4bdc01a692652cd562f3bfa85f3dae99d07c0b15
[ "BSD-3-Clause" ]
3
2015-03-25T18:45:24.000Z
2020-02-15T15:37:18.000Z
########################################################################## # # Copyright (c) 2008-2010, Image Engine Design Inc. All rights reserved. # # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the following conditions are # met: # # * Redis...
24.460465
76
0.56969
830ca47819b03f644d5fc932f9eb92819146316f
1,425
py
Python
nuplan/database/utils/boxes/box.py
MCZhi/nuplan-devkit
3c4f5b8dcd517b27cfd258915ca5fe5c54e3cb0c
[ "Apache-2.0" ]
null
null
null
nuplan/database/utils/boxes/box.py
MCZhi/nuplan-devkit
3c4f5b8dcd517b27cfd258915ca5fe5c54e3cb0c
[ "Apache-2.0" ]
null
null
null
nuplan/database/utils/boxes/box.py
MCZhi/nuplan-devkit
3c4f5b8dcd517b27cfd258915ca5fe5c54e3cb0c
[ "Apache-2.0" ]
null
null
null
from __future__ import annotations import abc from typing import Any, Dict
22.619048
77
0.562105
830e1e09e8a968bc1c2ae3714f7a575834f1f2be
4,627
py
Python
tests/test_training.py
Hilly12/masters-code
60b20a0e5e4c0ab9152b090b679391d8d62ec88a
[ "MIT" ]
null
null
null
tests/test_training.py
Hilly12/masters-code
60b20a0e5e4c0ab9152b090b679391d8d62ec88a
[ "MIT" ]
null
null
null
tests/test_training.py
Hilly12/masters-code
60b20a0e5e4c0ab9152b090b679391d8d62ec88a
[ "MIT" ]
null
null
null
import torch import prifair as pf N_SAMPLES = 10000 VAL_SAMPLES = 1000 STUDENT_SAMPLES = 5000 INPUTS = 1000 OUTPUTS = 5 BATCH_SIZE = 256 MAX_PHYSICAL_BATCH_SIZE = 128 EPSILON = 2.0 DELTA = 1e-5 MAX_GRAD_NORM = 1.0 N_TEACHERS = 4 N_GROUPS = 10 EPOCHS = 2 X = torch.randn(N_SAMPLES + VAL_SAMPLES, INPUTS) Y = torch.ra...
28.91875
84
0.690944
830e39c22c34be264cb1928c1b6da3f32584283d
177
py
Python
problem/01000~09999/02164/2164.py3.py
njw1204/BOJ-AC
1de41685725ae4657a7ff94e413febd97a888567
[ "MIT" ]
1
2019-04-19T16:37:44.000Z
2019-04-19T16:37:44.000Z
problem/01000~09999/02164/2164.py3.py
njw1204/BOJ-AC
1de41685725ae4657a7ff94e413febd97a888567
[ "MIT" ]
1
2019-04-20T11:42:44.000Z
2019-04-20T11:42:44.000Z
problem/01000~09999/02164/2164.py3.py
njw1204/BOJ-AC
1de41685725ae4657a7ff94e413febd97a888567
[ "MIT" ]
3
2019-04-19T16:37:47.000Z
2021-10-25T00:45:00.000Z
from collections import deque n,x=int(input()),deque() for i in range(1,n+1): x.append(i) while len(x)>1: x.popleft() if len(x)==1: break x.append(x.popleft()) print(x.pop())
22.125
34
0.661017
830e650277386eb71938c69ac25104bf879b279f
2,430
py
Python
craft_ai/timezones.py
craft-ai/craft-ai-client-python
3d8b3d9a49c0c70964deaeb9645130dd54f9a0b3
[ "BSD-3-Clause" ]
14
2016-08-26T07:06:57.000Z
2020-09-22T07:41:21.000Z
craft_ai/timezones.py
craft-ai/craft-ai-client-python
3d8b3d9a49c0c70964deaeb9645130dd54f9a0b3
[ "BSD-3-Clause" ]
94
2016-08-02T14:07:59.000Z
2021-10-06T11:50:52.000Z
craft_ai/timezones.py
craft-ai/craft-ai-client-python
3d8b3d9a49c0c70964deaeb9645130dd54f9a0b3
[ "BSD-3-Clause" ]
8
2017-02-07T12:05:57.000Z
2021-10-14T09:45:30.000Z
import re _TIMEZONE_REGEX = re.compile(r"^([+-](2[0-3]|[01][0-9])(:?[0-5][0-9])?|Z)$") TIMEZONES = { "UTC": "+00:00", "GMT": "+00:00", "BST": "+01:00", "IST": "+01:00", "WET": "+00:00", "WEST": "+01:00", "CET": "+01:00", "CEST": "+02:00", "EET": "+02:00", "EEST": "+03:00", ...
26.413043
81
0.530864
830ebcb1b5a538ed7758db2770eff5e0ab51ebf3
2,066
py
Python
gpvdm_gui/gui/json_fdtd.py
roderickmackenzie/gpvdm
914fd2ee93e7202339853acaec1d61d59b789987
[ "BSD-3-Clause" ]
12
2016-09-13T08:58:13.000Z
2022-01-17T07:04:52.000Z
gpvdm_gui/gui/json_fdtd.py
roderickmackenzie/gpvdm
914fd2ee93e7202339853acaec1d61d59b789987
[ "BSD-3-Clause" ]
3
2017-11-11T12:33:02.000Z
2019-03-08T00:48:08.000Z
gpvdm_gui/gui/json_fdtd.py
roderickmackenzie/gpvdm
914fd2ee93e7202339853acaec1d61d59b789987
[ "BSD-3-Clause" ]
6
2019-01-03T06:17:12.000Z
2022-01-01T15:59:00.000Z
# # General-purpose Photovoltaic Device Model - a drift diffusion base/Shockley-Read-Hall # model for 1st, 2nd and 3rd generation solar cells. # Copyright (C) 2008-2022 Roderick C. I. MacKenzie r.c.i.mackenzie at googlemail.com # # https://www.gpvdm.com # # This program is free software; you can redist...
31.30303
91
0.727009
830eef9810e77b134c4cc2e988eadd23436bf9ed
4,637
py
Python
gru/plugins/base/inventory.py
similarweb/gru
49ef70c2b5e58302c84dbe7d984a7d49aebc0384
[ "BSD-2-Clause-FreeBSD" ]
7
2016-12-11T19:58:33.000Z
2020-07-11T08:55:34.000Z
gru/plugins/base/inventory.py
similarweb/gru
49ef70c2b5e58302c84dbe7d984a7d49aebc0384
[ "BSD-2-Clause-FreeBSD" ]
null
null
null
gru/plugins/base/inventory.py
similarweb/gru
49ef70c2b5e58302c84dbe7d984a7d49aebc0384
[ "BSD-2-Clause-FreeBSD" ]
1
2019-12-09T19:31:50.000Z
2019-12-09T19:31:50.000Z
from . import BasePlugin from gru.config import settings
31.120805
117
0.607505
83103a011e1bb5e482fa869c43bee2cdb39dd21a
5,830
py
Python
app/comic/eyra/tasks.py
EYRA-Benchmark/grand-challenge.org
8264c19fa1a30ffdb717d765e2aa2e6ceccaab17
[ "Apache-2.0" ]
2
2019-06-28T09:23:55.000Z
2020-03-18T05:52:13.000Z
app/comic/eyra/tasks.py
EYRA-Benchmark/comic
8264c19fa1a30ffdb717d765e2aa2e6ceccaab17
[ "Apache-2.0" ]
112
2019-08-12T15:13:27.000Z
2022-03-21T15:49:40.000Z
app/comic/eyra/tasks.py
EYRA-Benchmark/grand-challenge.org
8264c19fa1a30ffdb717d765e2aa2e6ceccaab17
[ "Apache-2.0" ]
1
2020-03-19T14:19:57.000Z
2020-03-19T14:19:57.000Z
import json from datetime import datetime import time from functools import reduce import boto3 from celery import shared_task from celery.bin.control import inspect from django.conf import settings from comic.container_exec.backends.k8s import K8sJob from comic.eyra.models import Job, Submission, DataFile, JobInput ...
29.744898
95
0.686792
83105e3ab7b623c4391c6fa5b2af5b5f65241d9a
1,926
py
Python
doc/conf.py
djarpin/sagemaker-python-sdk
157d8670977243f7f77327175d40364c885482b3
[ "Apache-2.0" ]
1
2018-01-19T22:24:38.000Z
2018-01-19T22:24:38.000Z
doc/conf.py
djarpin/sagemaker-python-sdk
157d8670977243f7f77327175d40364c885482b3
[ "Apache-2.0" ]
null
null
null
doc/conf.py
djarpin/sagemaker-python-sdk
157d8670977243f7f77327175d40364c885482b3
[ "Apache-2.0" ]
2
2019-08-06T05:48:25.000Z
2020-10-04T17:00:55.000Z
# -*- coding: utf-8 -*- import os import sys from datetime import datetime from unittest.mock import MagicMock MOCK_MODULES = ['tensorflow', 'tensorflow.core', 'tensorflow.core.framework', 'tensorflow.python', 'tensorflow.python.framework', 'tensorflow_serving', 'tensorflow_serving.apis'] sys.modules...
30.09375
98
0.704569
83109a1fa008110e9e6bc3419abde0778a40c3c3
1,081
py
Python
django_cassiopeia/views.py
galaddirie/django-cassiopeia
e3e75e6c815cfc96e3b7ef5991aa1265221a2122
[ "MIT" ]
13
2020-07-08T17:23:18.000Z
2022-02-13T09:19:42.000Z
django_cassiopeia/views.py
galaddirie/django-cassiopeia
e3e75e6c815cfc96e3b7ef5991aa1265221a2122
[ "MIT" ]
16
2020-07-19T22:14:20.000Z
2022-03-24T02:57:45.000Z
django_cassiopeia/views.py
galaddirie/django-cassiopeia
e3e75e6c815cfc96e3b7ef5991aa1265221a2122
[ "MIT" ]
6
2020-07-21T01:37:54.000Z
2022-01-01T19:28:54.000Z
from django.shortcuts import render, HttpResponse from django_cassiopeia import cassiopeia as cass from time import sleep import json # Create your views here.
30.027778
87
0.612396
8311183712fef6e93100cb2e804d36583b7c35d9
962
py
Python
sender.py
AndrVLDZ/telnet_DAW-master
4bce486fad0d4ae51ef695ace118df2af2b1c35f
[ "Apache-2.0" ]
null
null
null
sender.py
AndrVLDZ/telnet_DAW-master
4bce486fad0d4ae51ef695ace118df2af2b1c35f
[ "Apache-2.0" ]
null
null
null
sender.py
AndrVLDZ/telnet_DAW-master
4bce486fad0d4ae51ef695ace118df2af2b1c35f
[ "Apache-2.0" ]
null
null
null
import telnetlib print_logo() port = int(input('\n PORT:')) ip_1 = str(input(' Host_1 IP: ')) node_1 = telnetlib.Telnet(ip_1, port) ip_2 = str(input(' Host_2 IP: ')) node_2 = telnetlib.Telnet(ip_2, port) while True: symbol = str(input('==> ')) if symbol == 's': node_1.write(b's\r\n') node_2.w...
22.904762
47
0.477131
8311c27de6e1db041ba99f1046583892727db0c6
43
py
Python
oed/__init__.py
wgshen/OED
6928ba31396f2e7dd2bd3701f319e1dad3f91346
[ "MIT" ]
null
null
null
oed/__init__.py
wgshen/OED
6928ba31396f2e7dd2bd3701f319e1dad3f91346
[ "MIT" ]
null
null
null
oed/__init__.py
wgshen/OED
6928ba31396f2e7dd2bd3701f319e1dad3f91346
[ "MIT" ]
1
2021-11-10T05:41:02.000Z
2021-11-10T05:41:02.000Z
from .oed import OED __all__ = [ "OED" ]
7.166667
20
0.604651
831472f4490aeaadae4cd1684594efc22e0edd62
14,400
py
Python
pyperformance/_manifest.py
cappadokes/pyperformance
60574dad9585eb5622631502296bb8eae143cdfc
[ "MIT" ]
null
null
null
pyperformance/_manifest.py
cappadokes/pyperformance
60574dad9585eb5622631502296bb8eae143cdfc
[ "MIT" ]
2
2022-03-09T11:14:07.000Z
2022-03-09T14:07:47.000Z
test/xml_etree/venv/cpython3.11-d52597b1179a-compat-f6a835d45d46-bm-xml_etree/lib/python3.11/site-packages/pyperformance/_manifest.py
sebawild/cpython
874ba1a9c948af33de2ad229df42e03dc516f0a8
[ "0BSD" ]
1
2022-01-04T13:08:31.000Z
2022-01-04T13:08:31.000Z
__all__ = [ 'BenchmarksManifest', 'load_manifest', 'parse_manifest', ] from collections import namedtuple import os.path from . import __version__, DATA_DIR from . import _benchmark, _utils DEFAULTS_DIR = os.path.join(DATA_DIR, 'benchmarks') DEFAULT_MANIFEST = os.path.join(DEFAULTS_DIR, 'MANIFEST') ...
33.103448
89
0.555556
8314cb28873762113bd7dff276be8513d9a062b7
8,543
py
Python
pimux/function.py
pcpcpc1213/pimux
6ce9c3a59ac04064d46217bcdad531c7171163da
[ "MIT" ]
null
null
null
pimux/function.py
pcpcpc1213/pimux
6ce9c3a59ac04064d46217bcdad531c7171163da
[ "MIT" ]
null
null
null
pimux/function.py
pcpcpc1213/pimux
6ce9c3a59ac04064d46217bcdad531c7171163da
[ "MIT" ]
null
null
null
from . import scrip as t
26.780564
122
0.570057
83150604a0fb11e77945d0c0fcad08abbb284ce0
342
py
Python
download_from_link.py
bogdanf555/scripts
42b7b36c5891da6dcde8f7889bdf0798f91bef12
[ "MIT" ]
null
null
null
download_from_link.py
bogdanf555/scripts
42b7b36c5891da6dcde8f7889bdf0798f91bef12
[ "MIT" ]
null
null
null
download_from_link.py
bogdanf555/scripts
42b7b36c5891da6dcde8f7889bdf0798f91bef12
[ "MIT" ]
null
null
null
#!/usr/bin/python3 import requests import sys if __name__ == '__main__': if len(sys.argv) != 3: print("Error: you should pass 2 arguments: [link_to_download_from] [path_to_save_downloaded_file]") exit(1) url = sys.argv[1] r = requests.get(url, allow_redirects=True) open(sys.argv[2], '...
24.428571
107
0.660819
83153ac6624a05f5b11103f7bcc31634fc8bbca3
443
py
Python
vowelsubstring.py
boddulurisrisai/python-practice
bb9dfd8ea4d1fe3e4a3f7950ba63b0469e0bca28
[ "bzip2-1.0.6" ]
1
2021-04-16T07:12:36.000Z
2021-04-16T07:12:36.000Z
vowelsubstring.py
boddulurisrisai/python-practice
bb9dfd8ea4d1fe3e4a3f7950ba63b0469e0bca28
[ "bzip2-1.0.6" ]
null
null
null
vowelsubstring.py
boddulurisrisai/python-practice
bb9dfd8ea4d1fe3e4a3f7950ba63b0469e0bca28
[ "bzip2-1.0.6" ]
null
null
null
import re b=input('enter string') r=[];max=-1;z=-1 for i in range(len(b)): for j in range(i+1,len(b)+1): c=b[i:j] for k in c: if k=='a' or k=='e' or k=='i' or k=='o' or k=='u': flag=0 else: flag=1 break if fl...
21.095238
63
0.363431
8316bb71d181ce8ce3eff4b2a0a627c1843d8260
485
py
Python
syndata/__init__.py
Menelau/synthetic_datasets
86fd99042cff6a8bbdfa195fe6eee938a9c9d8f5
[ "MIT" ]
6
2018-02-07T02:02:00.000Z
2020-01-22T10:33:01.000Z
syndata/__init__.py
Menelau/synthetic_datasets
86fd99042cff6a8bbdfa195fe6eee938a9c9d8f5
[ "MIT" ]
null
null
null
syndata/__init__.py
Menelau/synthetic_datasets
86fd99042cff6a8bbdfa195fe6eee938a9c9d8f5
[ "MIT" ]
null
null
null
# coding=utf-8 # Author: Rafael Menelau Oliveira e Cruz <rafaelmenelau@gmail.com> # # License: MIT """ The :mod:`deslib.util` This module includes various utilities. They are divided into three parts: syndata.synthethic_datasets - Provide functions to generate several 2D classification datasets. syndata.plot_tools ...
28.529412
118
0.785567
831850a395edae115c39b123b0382e44942149bf
644
py
Python
profiles/migrations/0002_auto_20211214_0825.py
praekeltfoundation/ge-web
331d22554dfd6b6f6060b1fd7a110f38dd7ddece
[ "BSD-2-Clause" ]
1
2022-03-09T15:11:52.000Z
2022-03-09T15:11:52.000Z
profiles/migrations/0002_auto_20211214_0825.py
praekeltfoundation/ge-web
331d22554dfd6b6f6060b1fd7a110f38dd7ddece
[ "BSD-2-Clause" ]
14
2022-01-03T09:49:41.000Z
2022-03-31T12:53:31.000Z
profiles/migrations/0002_auto_20211214_0825.py
praekeltfoundation/ge-web
331d22554dfd6b6f6060b1fd7a110f38dd7ddece
[ "BSD-2-Clause" ]
null
null
null
# Generated by Django 3.1.14 on 2021-12-14 08:25 import django.db.models.deletion from django.db import migrations, models
30.666667
194
0.673913
8318aea9b693ecf60895b29261a418a03e789bc8
4,290
py
Python
radmc-3d/version_0.41/examples/run_spher2d_1_nomirror/problem_setup.py
dlmatra/miao
71799811b21a4249754390a8ec00972723edab99
[ "MIT" ]
1
2019-11-23T00:03:40.000Z
2019-11-23T00:03:40.000Z
radmc-3d/version_0.41/examples/run_spher2d_1_nomirror/problem_setup.py
dlmatra/miao
71799811b21a4249754390a8ec00972723edab99
[ "MIT" ]
3
2021-05-26T12:54:50.000Z
2021-05-27T10:58:48.000Z
radmc-3d/version_0.41/examples/run_spher2d_1_nomirror/problem_setup.py
dlmatra/miao
71799811b21a4249754390a8ec00972723edab99
[ "MIT" ]
1
2021-12-23T14:09:52.000Z
2021-12-23T14:09:52.000Z
# # Import NumPy for array handling # import numpy as np import math # # Import plotting libraries (start Python with ipython --matplotlib) # #from mpl_toolkits.mplot3d import axes3d #from matplotlib import pyplot as plt # # Some natural constants # au = 1.49598e13 # Astronomical Unit [cm] pc = 3.08572e18 ...
30.642857
94
0.530536
83191aecc9d861bb7dfa42c1c5b079d943885a2f
5,508
py
Python
colorprinter/pycolor.py
edonyzpc/toolkitem
3a09ebf45eee8ecd9ff0e441392d5fc746b996e5
[ "MIT" ]
3
2015-04-20T08:17:09.000Z
2020-07-07T15:22:06.000Z
colorprinter/pycolor.py
edonyzpc/toolkitem
3a09ebf45eee8ecd9ff0e441392d5fc746b996e5
[ "MIT" ]
24
2015-11-14T14:54:59.000Z
2017-10-23T15:14:45.000Z
colorprinter/pycolor.py
edonyzpc/toolkitem
3a09ebf45eee8ecd9ff0e441392d5fc746b996e5
[ "MIT" ]
1
2017-02-28T06:35:44.000Z
2017-02-28T06:35:44.000Z
#!/usr/bin/env python3 # -*- coding: utf-8 -*- """ # .---. .----------- # / \ __ / ------ # / / \( )/ ----- (`-') _ _(`-') <-. (`-')_ # ////// '\/ ` --- ( OO).-/( (OO ).-> .-> \( OO) ) .-> # //// / // : : --- (,------....
35.766234
93
0.396696
831a95d5b9d61001fca6140bef2832489872b9e3
1,684
py
Python
launch/velocity_smoother-composed-launch.py
doisyg/velocity_smoother
5ba998978e324fd0417ea75483d1f5559820459d
[ "BSD-3-Clause" ]
8
2020-02-28T10:40:53.000Z
2022-01-15T06:42:11.000Z
launch/velocity_smoother-composed-launch.py
doisyg/velocity_smoother
5ba998978e324fd0417ea75483d1f5559820459d
[ "BSD-3-Clause" ]
9
2020-01-20T16:32:14.000Z
2022-01-28T13:49:59.000Z
launch/velocity_smoother-composed-launch.py
doisyg/velocity_smoother
5ba998978e324fd0417ea75483d1f5559820459d
[ "BSD-3-Clause" ]
3
2020-03-19T09:40:35.000Z
2022-01-11T01:47:41.000Z
#!/usr/bin/env python3 # -*- coding: utf-8 -*- # # Copyright (c) 2020 Open Source Robotics Foundation, Inc. # # Software License Agreement (BSD License 2.0) # https://raw.githubusercontent.com/kobuki-base/velocity_smoother/license/LICENSE """Launch the velocity smoother as a composed node with default configuration...
35.829787
92
0.694774
831b642dcce9a13a8398668c6c09e24217cd6b3c
3,616
py
Python
lib/taskstats/controller.py
tijko/IO-Mon
4fb43c6c97b22f9a44eb34ef2221f1ed2abb062b
[ "MIT" ]
1
2015-12-17T04:58:09.000Z
2015-12-17T04:58:09.000Z
lib/taskstats/controller.py
tijko/IO-Mon
4fb43c6c97b22f9a44eb34ef2221f1ed2abb062b
[ "MIT" ]
null
null
null
lib/taskstats/controller.py
tijko/IO-Mon
4fb43c6c97b22f9a44eb34ef2221f1ed2abb062b
[ "MIT" ]
null
null
null
#!/usr/bin/env python # -*- coding: utf-8 -*- import struct import socket from netlink import * NETLINK_ROUTE = 0 NETLINK_UNUSED = 1 NETLINK_USERSOCK = 2 NETLINK_FIREWALL = 3 NETLINK_SOCK_DIAG = 4 NETLINK_NFLOG = 5 NETLINK_XFRM = 6 NETLINK_SELINUX ...
28.472441
80
0.638274
831cac4a9b399f71b7446e06e08d2d1e23c17328
1,335
py
Python
app/marketing/migrations/0002_membership.py
NDevox/website
76004e667f2295eddd79d500ba21f02a0480412f
[ "Apache-2.0" ]
null
null
null
app/marketing/migrations/0002_membership.py
NDevox/website
76004e667f2295eddd79d500ba21f02a0480412f
[ "Apache-2.0" ]
null
null
null
app/marketing/migrations/0002_membership.py
NDevox/website
76004e667f2295eddd79d500ba21f02a0480412f
[ "Apache-2.0" ]
null
null
null
# -*- coding: utf-8 -*- # Generated by Django 1.11.2 on 2017-07-12 04:25 from __future__ import unicode_literals from django.db import migrations, models
32.560976
114
0.605243
831cd9a75c39325f8b2e668fec868da457fe98e6
4,552
py
Python
Solutions/VMX2-VoicemailExpress/Code/vmx_transcriber.py
cbgandhi-code/amazon-connect-salesforce-scv
fc5da5445b01295e530b50aa774598e91087c57a
[ "Apache-2.0", "CC0-1.0" ]
null
null
null
Solutions/VMX2-VoicemailExpress/Code/vmx_transcriber.py
cbgandhi-code/amazon-connect-salesforce-scv
fc5da5445b01295e530b50aa774598e91087c57a
[ "Apache-2.0", "CC0-1.0" ]
null
null
null
Solutions/VMX2-VoicemailExpress/Code/vmx_transcriber.py
cbgandhi-code/amazon-connect-salesforce-scv
fc5da5445b01295e530b50aa774598e91087c57a
[ "Apache-2.0", "CC0-1.0" ]
null
null
null
# Version: 2022.03.23 """ ********************************************************************************************************************** * Copyright 2019 Amazon.com, Inc. or its affiliates. All Rights Reserved * * ...
43.352381
130
0.536028
831d6ec37b4d0e0a6e4200545a3b9e01d0fe7f0e
306
py
Python
api/permissions.py
soltanoff/simple_file_server
4e825358341fae0564fc498e8374a3d3cdda199e
[ "MIT" ]
2
2018-06-15T11:39:42.000Z
2019-08-14T20:55:15.000Z
api/permissions.py
soltanoff/simple_file_server
4e825358341fae0564fc498e8374a3d3cdda199e
[ "MIT" ]
7
2018-12-04T07:35:24.000Z
2022-03-11T23:12:10.000Z
api/permissions.py
soltanoff/simple_file_server
4e825358341fae0564fc498e8374a3d3cdda199e
[ "MIT" ]
null
null
null
from rest_framework import permissions
27.818182
82
0.751634
831dc5f3bb8ccadfd806896689571f12c96946bc
712
py
Python
capstone/rl/utils/linear_annealing.py
davidrobles/mlnd-capstone-code
19ca88aaa137665af147da9bbd0e510829a14cf1
[ "MIT" ]
2
2017-04-13T18:31:39.000Z
2017-05-06T05:14:12.000Z
capstone/rl/utils/linear_annealing.py
davidrobles/mlnd-capstone-code
19ca88aaa137665af147da9bbd0e510829a14cf1
[ "MIT" ]
null
null
null
capstone/rl/utils/linear_annealing.py
davidrobles/mlnd-capstone-code
19ca88aaa137665af147da9bbd0e510829a14cf1
[ "MIT" ]
null
null
null
from .callbacks import Callback
35.6
83
0.606742
8320400ac8c357808906cc6070706d68af6624bc
6,466
py
Python
genTraining_recurr.py
lasinger/-3DVideos2Stereo
9608654ec37d157133c43531ac0002102e86dbab
[ "MIT" ]
62
2020-01-15T10:27:46.000Z
2022-03-14T09:23:58.000Z
genTraining_recurr.py
lasinger/-3DVideos2Stereo
9608654ec37d157133c43531ac0002102e86dbab
[ "MIT" ]
4
2020-03-10T08:13:59.000Z
2021-12-09T09:35:58.000Z
genTraining_recurr.py
lasinger/-3DVideos2Stereo
9608654ec37d157133c43531ac0002102e86dbab
[ "MIT" ]
15
2020-01-17T02:06:54.000Z
2022-02-24T06:32:40.000Z
from __future__ import print_function import numpy as np import argparse import glob import os import errno import math import cv2 from random import shuffle from shutil import copyfile parser = argparse.ArgumentParser( description="create training/test/validation sets from video list" ) parser.add_argument("--vi...
30.64455
86
0.558769
83207ebe69e3bf9bcd3f660b07c8f5bca9f8663b
2,038
py
Python
seeq/addons/clustering/__main__.py
seeq12/seeq-clustering
220793499d5f9669e7d9dde4820af0eee27f84dc
[ "Apache-2.0" ]
3
2021-10-15T05:32:44.000Z
2021-12-14T16:33:24.000Z
seeq/addons/clustering/__main__.py
seeq12/seeq-clustering
220793499d5f9669e7d9dde4820af0eee27f84dc
[ "Apache-2.0" ]
2
2021-11-19T17:46:06.000Z
2022-01-20T06:54:00.000Z
seeq/addons/clustering/__main__.py
seeq12/seeq-clustering
220793499d5f9669e7d9dde4820af0eee27f84dc
[ "Apache-2.0" ]
null
null
null
import os import sys import argparse from ._install_addon import install_addon def cli_interface(): """ Installs Seeq Add-on Tool """ parser = argparse.ArgumentParser(description='Install Clustering as a Seeq Add-on Tool') parser.add_argument('--username', type=str, default=None, ...
49.707317
195
0.632483
8321d10093f3ed3b6d58be76b8214f867e414822
939
py
Python
utils/customchecks.py
arielbeje/good-bot-name
de1429ea5b653fd8ee88d649452ebef7e7399e5b
[ "MIT" ]
10
2018-04-08T00:02:18.000Z
2022-01-25T18:34:06.000Z
utils/customchecks.py
arielbeje/good-bot-name
de1429ea5b653fd8ee88d649452ebef7e7399e5b
[ "MIT" ]
14
2018-01-26T16:55:09.000Z
2021-09-19T11:35:58.000Z
utils/customchecks.py
arielbeje/Good_Bot_Name
de1429ea5b653fd8ee88d649452ebef7e7399e5b
[ "MIT" ]
14
2018-02-14T01:35:08.000Z
2021-03-30T12:18:03.000Z
""" Code stolen from https://github.com/Rapptz/discord.py """ import functools import discord from discord.ext import commands from . import sql def is_mod(): return commands.check(predicate)
24.076923
140
0.652822
83226ea13035cf8a8cc076a6baf244dd22963a78
3,107
py
Python
tests/test_lambda_lapsed.py
BostonDSA/actionnetwork-activist-sync
f4b45ec85d59ac252c5572974381e96ec0107add
[ "MIT" ]
1
2021-12-14T17:34:20.000Z
2021-12-14T17:34:20.000Z
tests/test_lambda_lapsed.py
BostonDSA/actionnetwork-activist-sync
f4b45ec85d59ac252c5572974381e96ec0107add
[ "MIT" ]
null
null
null
tests/test_lambda_lapsed.py
BostonDSA/actionnetwork-activist-sync
f4b45ec85d59ac252c5572974381e96ec0107add
[ "MIT" ]
null
null
null
import json import importlib import os import unittest from unittest.mock import Mock from moto import mock_dynamodb2 import boto3 from lambda_local.context import Context os.environ['ENVIRONMENT'] = 'TEST' os.environ['LOG_LEVEL'] = 'CRITICAL' os.environ['DSA_KEY'] = 'TESTKEY'
31.07
84
0.633408
832283ba27d3f56129d5cb0cef3c3b8a60934088
2,974
py
Python
tests/test_motif_finder.py
gaybro8777/RStudio-GitHub-Analysis
014195c90ca49f64d28c9fcd96d128301ff65157
[ "BSD-2-Clause" ]
2
2020-09-13T11:55:13.000Z
2021-05-23T01:29:19.000Z
tests/test_motif_finder.py
gaybro8777/RStudio-GitHub-Analysis
014195c90ca49f64d28c9fcd96d128301ff65157
[ "BSD-2-Clause" ]
null
null
null
tests/test_motif_finder.py
gaybro8777/RStudio-GitHub-Analysis
014195c90ca49f64d28c9fcd96d128301ff65157
[ "BSD-2-Clause" ]
2
2020-10-17T20:18:37.000Z
2021-05-23T01:29:25.000Z
""" This script tests the classes and functions from motif_finder.py. Parameters ---------- None Returns ------- Assertion errors if tests fail """ import sys import random import pickle import networkx as nx from github_analysis.big_cloud_scratch import git_graph from github_analysis.data_layer import getCommitsBy...
28.596154
115
0.751849
83245e358084afd5d7f959c3a7aebfc9ab55bb73
1,107
py
Python
torrent.py
fishy/scripts
91abd0451cae916d885f4ff0fd2f69d335d37cf3
[ "BSD-3-Clause" ]
4
2016-05-09T13:42:23.000Z
2021-11-29T15:16:11.000Z
torrent.py
fishy/scripts
91abd0451cae916d885f4ff0fd2f69d335d37cf3
[ "BSD-3-Clause" ]
null
null
null
torrent.py
fishy/scripts
91abd0451cae916d885f4ff0fd2f69d335d37cf3
[ "BSD-3-Clause" ]
null
null
null
#!/usr/bin/env python import sys import os from types import StringType # get bencode package from http://github.com/fishy/scripts/downloads from bencode.bencode import bencode, bdecode, BTFailure try : torrent = sys.argv[1] except IndexError : print "Usage: \"%s <torrent_file> [tracker_url]\" to show torrent info ...
23.0625
130
0.68925
8324b2ef51cf900faa05fab3ea2e0b781034e744
4,786
py
Python
test/test_mdsspath.py
jpevans/mdssdiff
88573bdc89b00b023ce59c9b0fa19c6e6be760ce
[ "Apache-2.0" ]
1
2019-11-05T00:34:20.000Z
2019-11-05T00:34:20.000Z
test/test_mdsspath.py
jpevans/mdssdiff
88573bdc89b00b023ce59c9b0fa19c6e6be760ce
[ "Apache-2.0" ]
13
2017-03-08T03:37:43.000Z
2020-06-19T01:03:04.000Z
test/test_mdsspath.py
jpevans/mdssdiff
88573bdc89b00b023ce59c9b0fa19c6e6be760ce
[ "Apache-2.0" ]
2
2020-09-14T12:04:43.000Z
2020-11-29T22:16:13.000Z
#!/usr/bin/env python """ Copyright 2015 ARC Centre of Excellence for Climate Systems Science author: Aidan Heerdegen <aidan.heerdegen@anu.edu.au> 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 ...
31.906667
139
0.688884
8325f8d80722ee18d5ca87486dae7d369fe6e6ee
1,192
py
Python
applications/trilinos_application/python_scripts/PressureMultiLevelSolver.py
AndreaVoltan/MyKratos7.0
e977752722e8ef1b606f25618c4bf8fd04c434cc
[ "BSD-4-Clause" ]
2
2020-04-30T19:13:08.000Z
2021-04-14T19:40:47.000Z
applications/TrilinosApplication/python_scripts/PressureMultiLevelSolver.py
Jacklwln/Kratos
12ffe332622d7e8ea3e4a10bc061beb9d8e6e8de
[ "BSD-4-Clause" ]
1
2020-04-30T19:19:09.000Z
2020-05-02T14:22:36.000Z
applications/TrilinosApplication/python_scripts/PressureMultiLevelSolver.py
Jacklwln/Kratos
12ffe332622d7e8ea3e4a10bc061beb9d8e6e8de
[ "BSD-4-Clause" ]
1
2020-06-12T08:51:24.000Z
2020-06-12T08:51:24.000Z
from __future__ import print_function, absolute_import, division #makes KratosMultiphysics backward compatible with python 2.6 and 2.7 from KratosMultiphysics import * from KratosMultiphysics.TrilinosApplication import *
35.058824
134
0.723993
83263868a21483660a3b2d0dc61af080e81df193
3,960
py
Python
Hood/views.py
Gakur/NeiApp
2a9955a23877de10ed3436fd25d56208bca22887
[ "MIT" ]
null
null
null
Hood/views.py
Gakur/NeiApp
2a9955a23877de10ed3436fd25d56208bca22887
[ "MIT" ]
null
null
null
Hood/views.py
Gakur/NeiApp
2a9955a23877de10ed3436fd25d56208bca22887
[ "MIT" ]
null
null
null
from django.shortcuts import render, redirect, get_object_or_404 from django.http import HttpResponse ,HttpResponseRedirect, Http404 from django.urls import reverse from django.contrib.auth.forms import UserCreationForm from .models import * from .forms import UserRegisterForm from django.contrib import messages from ...
38.076923
146
0.693687
832672b5a45d6ed1bcae4c5d5f38bb3800726d8c
3,325
py
Python
ckanext-hdx_package/ckanext/hdx_package/tests/test_metadata_fields.py
OCHA-DAP/hdx-ckan
202e0c44adc4ea8d0b90141e69365b65cce68672
[ "Apache-2.0" ]
58
2015-01-11T09:05:15.000Z
2022-03-17T23:44:07.000Z
ckanext-hdx_package/ckanext/hdx_package/tests/test_metadata_fields.py
OCHA-DAP/hdx-ckan
202e0c44adc4ea8d0b90141e69365b65cce68672
[ "Apache-2.0" ]
1,467
2015-01-01T16:47:44.000Z
2022-02-28T16:51:20.000Z
ckanext-hdx_package/ckanext/hdx_package/tests/test_metadata_fields.py
OCHA-DAP/hdx-ckan
202e0c44adc4ea8d0b90141e69365b65cce68672
[ "Apache-2.0" ]
17
2015-05-06T14:04:21.000Z
2021-11-11T19:58:16.000Z
''' Created on May 16, 2014 @author: alexandru-m-g ''' import json import webtest import logging import ckan.plugins as p import ckan.lib.create_test_data as ctd import ckan.lib.search as search import ckan.model as model import ckan.logic as logic import ckan.lib.helpers as h import ckan.tests.legacy as legacy_te...
34.635417
123
0.62797
832770b6da611f24d004cf5564b612a2e18401f6
524
py
Python
inject.py
edouardpoitras/process_injection_example
0b22488a83a5516788411e4974090d1df2bd6494
[ "MIT" ]
4
2021-05-01T06:56:14.000Z
2022-01-24T10:00:31.000Z
inject.py
edouardpoitras/process_injection_example
0b22488a83a5516788411e4974090d1df2bd6494
[ "MIT" ]
null
null
null
inject.py
edouardpoitras/process_injection_example
0b22488a83a5516788411e4974090d1df2bd6494
[ "MIT" ]
1
2021-04-30T16:52:11.000Z
2021-04-30T16:52:11.000Z
import sys import psutil from pyinjector import inject if len(sys.argv) != 3: print("Usage: python inject.py <process-name> <shared-library>") exit() _, process_name, shared_library = sys.argv for process in psutil.process_iter(): if process.name() == process_name: print(f"Found {process_name} - ...
29.111111
90
0.696565
8327de2cbfa7508d6d7ec9cb75195ac2a23e5a16
3,235
py
Python
infer.py
yanivbl6/deep-griffinlim-iteration
b96165c0c11e00bff1e033f93aeca6fafe9833d3
[ "MIT" ]
null
null
null
infer.py
yanivbl6/deep-griffinlim-iteration
b96165c0c11e00bff1e033f93aeca6fafe9833d3
[ "MIT" ]
null
null
null
infer.py
yanivbl6/deep-griffinlim-iteration
b96165c0c11e00bff1e033f93aeca6fafe9833d3
[ "MIT" ]
1
2020-10-12T15:31:27.000Z
2020-10-12T15:31:27.000Z
# noinspection PyUnresolvedReferences ##import matlab.engine import os import shutil from argparse import ArgumentError, ArgumentParser from torch.utils.data import DataLoader from dataset import ComplexSpecDataset from hparams1 import hp from train import Trainer from pathlib import Path from os import listdir ...
32.35
208
0.641731
8329042f7336cfa333d46696e6595794b06050cc
11,603
py
Python
Disc_train.py
avinsit123/kpgen_GAN
e5ca04b9c6e43f8049dcf8e5b8fa44ab4e4702c3
[ "MIT" ]
1
2020-05-28T23:18:51.000Z
2020-05-28T23:18:51.000Z
Disc_train.py
avinsit123/kpgen_GAN
e5ca04b9c6e43f8049dcf8e5b8fa44ab4e4702c3
[ "MIT" ]
null
null
null
Disc_train.py
avinsit123/kpgen_GAN
e5ca04b9c6e43f8049dcf8e5b8fa44ab4e4702c3
[ "MIT" ]
null
null
null
#!/usr/bin/env python3 # -*- coding: utf-8 -*- """ Created on Mon Jul 1 15:10:45 2019 @author: r17935avinash """ ################################ IMPORT LIBRARIES ############################################################### import torch import numpy as np import pykp.io import torch.nn as nn from utils.statistics...
46.78629
594
0.613807
832ab6e2559ee453e6521a8fd912db337cc8fa7d
4,568
py
Python
VQ3D/camera_pose_estimation/get_median_intrinsics.py
emulhall/episodic-memory
27bafec6e09c108f0efe5ac899eabde9d1ac40cc
[ "MIT" ]
27
2021-10-16T02:39:17.000Z
2022-03-31T11:16:11.000Z
VQ3D/camera_pose_estimation/get_median_intrinsics.py
emulhall/episodic-memory
27bafec6e09c108f0efe5ac899eabde9d1ac40cc
[ "MIT" ]
5
2022-03-23T04:53:36.000Z
2022-03-29T23:39:07.000Z
VQ3D/camera_pose_estimation/get_median_intrinsics.py
emulhall/episodic-memory
27bafec6e09c108f0efe5ac899eabde9d1ac40cc
[ "MIT" ]
13
2021-11-25T19:17:29.000Z
2022-03-25T14:01:47.000Z
import os import sys import json import argparse import numpy as np sys.path.append('Camera_Intrinsics_API/') from get_camera_intrinsics import CameraIntrinsicsHelper if __name__=='__main__': parser = argparse.ArgumentParser() parser.add_argument( "--input_dir", type=str, default='dat...
34.089552
76
0.479203
832b2f005e0af85ddb6e44118b2f277f3ecf6b06
571
py
Python
Dataset/Leetcode/valid/78/455.py
kkcookies99/UAST
fff81885aa07901786141a71e5600a08d7cb4868
[ "MIT" ]
null
null
null
Dataset/Leetcode/valid/78/455.py
kkcookies99/UAST
fff81885aa07901786141a71e5600a08d7cb4868
[ "MIT" ]
null
null
null
Dataset/Leetcode/valid/78/455.py
kkcookies99/UAST
fff81885aa07901786141a71e5600a08d7cb4868
[ "MIT" ]
null
null
null
undefined for (i = 0; i < document.getElementsByTagName("code").length; i++) { console.log(document.getElementsByTagName("code")[i].innerText); }
27.190476
139
0.576182
832b736a0869d3dc222dea9d11955ffc80809ec5
1,322
py
Python
IDS/IDS/urls.py
YashwantChauhan/SDL
0d48dfa129d72316f35967df98ce2f1e6f949fc5
[ "MIT" ]
2
2020-12-24T15:13:49.000Z
2021-06-05T15:43:58.000Z
IDS/IDS/urls.py
YashwantChauhan/SDL
0d48dfa129d72316f35967df98ce2f1e6f949fc5
[ "MIT" ]
2
2021-12-28T14:06:20.000Z
2021-12-28T14:25:44.000Z
IDS/IDS/urls.py
YashwantChauhan/SDL
0d48dfa129d72316f35967df98ce2f1e6f949fc5
[ "MIT" ]
null
null
null
"""IDS URL Configuration The `urlpatterns` list routes URLs to views. For more information please see: https://docs.djangoproject.com/en/2.2/topics/http/urls/ Examples: Function views 1. Add an import: from my_app import views 2. Add a URL to urlpatterns: path('', views.home, name='home') Class-based vie...
38.882353
77
0.723147
832ba0a49717dd57c782af2a65a1680399effe7f
1,574
py
Python
setup.py
preetmishra/nooz
e7ee6958bac7edcc85ab157b6dbe07071fde887c
[ "MIT" ]
7
2020-03-18T06:30:55.000Z
2021-04-06T16:38:25.000Z
setup.py
preetmishra/nooz
e7ee6958bac7edcc85ab157b6dbe07071fde887c
[ "MIT" ]
1
2020-06-29T16:12:45.000Z
2020-06-29T16:12:45.000Z
setup.py
preetmishra/nooz
e7ee6958bac7edcc85ab157b6dbe07071fde887c
[ "MIT" ]
2
2021-03-21T02:52:39.000Z
2021-05-26T08:34:58.000Z
import codecs import os from setuptools import find_packages, setup linting_deps = [ 'mypy==0.761', 'pycodestyle==2.5.0', ] setup( name='nooz', version='0.1.0', description='Trending headlines right in your terminal.', long_description=long_description(), long_description_content_type='t...
24.984127
77
0.584498
832d8379190a88d84a40dc951ecd801770c36c11
11,454
py
Python
deeplodocus/callbacks/saver.py
amelgrenier/deeplodocus
0a017faae098cddc436e82e83b85e66caf18b522
[ "MIT" ]
null
null
null
deeplodocus/callbacks/saver.py
amelgrenier/deeplodocus
0a017faae098cddc436e82e83b85e66caf18b522
[ "MIT" ]
null
null
null
deeplodocus/callbacks/saver.py
amelgrenier/deeplodocus
0a017faae098cddc436e82e83b85e66caf18b522
[ "MIT" ]
null
null
null
from decimal import Decimal import torch from torch.nn import Module import os from deeplodocus.utils.notification import Notification from deeplodocus.utils.flags.save import * from deeplodocus.utils.flags.event import * from deeplodocus.utils.flags.notif import * from deeplodocus.utils.flags.ext import DEEP...
34.293413
115
0.527589
832debbd59e85b8ca2ff3010595d819d90400d10
2,812
py
Python
mridc/collections/reconstruction/models/cascadenet/ccnn_block.py
jerke123/mridc
7e22ac50f8df73f2305d61979da2a5d59874546e
[ "Apache-2.0" ]
null
null
null
mridc/collections/reconstruction/models/cascadenet/ccnn_block.py
jerke123/mridc
7e22ac50f8df73f2305d61979da2a5d59874546e
[ "Apache-2.0" ]
null
null
null
mridc/collections/reconstruction/models/cascadenet/ccnn_block.py
jerke123/mridc
7e22ac50f8df73f2305d61979da2a5d59874546e
[ "Apache-2.0" ]
null
null
null
# coding=utf-8 __author__ = "Dimitrios Karkalousos" import torch from mridc.collections.common.parts.fft import fft2c, ifft2c from mridc.collections.common.parts.utils import complex_conj, complex_mul
30.565217
100
0.604908
832fa03411fdc8cba2cd96e51a219e3ef9e4283a
975
py
Python
main.py
BL-Lac149597870/drugVQA
604703d66457c958ddc9eeb35268391edb6c4996
[ "MIT" ]
null
null
null
main.py
BL-Lac149597870/drugVQA
604703d66457c958ddc9eeb35268391edb6c4996
[ "MIT" ]
null
null
null
main.py
BL-Lac149597870/drugVQA
604703d66457c958ddc9eeb35268391edb6c4996
[ "MIT" ]
null
null
null
''' Author: QHGG Date: 2021-02-27 13:42:43 LastEditTime: 2021-03-01 23:26:38 LastEditors: QHGG Description: FilePath: /drugVQA/main.py ''' import torch from sklearn import metrics import warnings warnings.filterwarnings("ignore") torch.cuda.set_device(0) print('cuda size == 1') from trainAndTest import * import time ...
28.676471
87
0.645128
83300c0b6a409b6ab5643fe5a44ff448c026f263
4,773
py
Python
networkx/algorithms/tests/test_cuts.py
jebogaert/networkx
8563c3313223a53c548530f39c8cfb6e433539d3
[ "BSD-3-Clause" ]
2
2020-11-25T12:01:15.000Z
2021-02-02T03:46:23.000Z
networkx/algorithms/tests/test_cuts.py
jebogaert/networkx
8563c3313223a53c548530f39c8cfb6e433539d3
[ "BSD-3-Clause" ]
1
2020-11-15T23:07:09.000Z
2020-11-15T23:07:09.000Z
networkx/algorithms/tests/test_cuts.py
jebogaert/networkx
8563c3313223a53c548530f39c8cfb6e433539d3
[ "BSD-3-Clause" ]
2
2020-12-21T11:41:13.000Z
2021-01-08T17:09:21.000Z
"""Unit tests for the :mod:`networkx.algorithms.cuts` module.""" import networkx as nx
29.83125
75
0.550178
8330e631a49e6776f2efa9742d5ed0e6a7e38620
6,556
py
Python
src/utility.py
bbookman/demand
47101843ab84f4161e618edfa5a8e8fea2e1d955
[ "MIT" ]
null
null
null
src/utility.py
bbookman/demand
47101843ab84f4161e618edfa5a8e8fea2e1d955
[ "MIT" ]
null
null
null
src/utility.py
bbookman/demand
47101843ab84f4161e618edfa5a8e8fea2e1d955
[ "MIT" ]
null
null
null
import sys, re, pdb from bs4 import BeautifulSoup as beautiful from datetime import datetime import requests, logging import timeout_decorator, pandas as pd import socket, urllib3 def build_site_url(template, title, zipcode='', radius='90', age='60'): """ Makes an url with each query item inserted into the url ...
33.111111
119
0.657413
8331c341859f7ceb90f3dad9bbc18d41377413e5
1,940
py
Python
section_11_(api)/dicts_and_lists.py
hlcooll/python_lessons
3790f98cbc5a0721fcfc9e5f52ba79a64878f362
[ "MIT" ]
425
2015-01-13T03:19:10.000Z
2022-03-13T00:34:44.000Z
section_11_(api)/dicts_and_lists.py
Supercodero/python-lessons
38409c318e7a62d30b2ffd68f8a7a5a5ec00778d
[ "MIT" ]
null
null
null
section_11_(api)/dicts_and_lists.py
Supercodero/python-lessons
38409c318e7a62d30b2ffd68f8a7a5a5ec00778d
[ "MIT" ]
178
2015-01-08T05:01:05.000Z
2021-12-02T00:56:58.000Z
# Dictionaries and lists, together # Loading from https://raw.githubusercontent.com/shannonturner/education-compliance-reports/master/investigations.json investigations = { "type": "FeatureCollection", "features": [ { "type": "Feature", "geometry": { "type": "Point", "coordinates": [ -11...
26.216216
118
0.625258
833213154f6c6064adf75a6066412d88861a6169
19,345
py
Python
stickers/__init__.py
secretisdead/stickers
5159c637de2c204fdbdc6aafbebca949c492c203
[ "MIT" ]
null
null
null
stickers/__init__.py
secretisdead/stickers
5159c637de2c204fdbdc6aafbebca949c492c203
[ "MIT" ]
null
null
null
stickers/__init__.py
secretisdead/stickers
5159c637de2c204fdbdc6aafbebca949c492c203
[ "MIT" ]
1
2021-09-05T06:18:01.000Z
2021-09-05T06:18:01.000Z
import uuid import time import re from ipaddress import ip_address from enum import Enum from datetime import datetime, timezone from sqlalchemy import Table, Column, PrimaryKeyConstraint, LargeBinary as sqla_binary, Float from sqlalchemy import Integer, String, MetaData, distinct from sqlalchemy.dialects.mysql import...
27.208158
93
0.730887
833402a878296c2dae40def1c9fff8397df42c38
3,035
py
Python
include/MPE3.py
jhgalino/MPv2
2f5e29d67bccc4538c5aaad2e69e817041414199
[ "MIT" ]
null
null
null
include/MPE3.py
jhgalino/MPv2
2f5e29d67bccc4538c5aaad2e69e817041414199
[ "MIT" ]
null
null
null
include/MPE3.py
jhgalino/MPv2
2f5e29d67bccc4538c5aaad2e69e817041414199
[ "MIT" ]
null
null
null
OTHER_RECURSIVE_FUNCTIONS = [ "getFirstLevel", "computeTrig", "computeExpWithCoeff", "computeExpWithoutCoeff", ] print(differentiate("3(x)^3"))
30.35
79
0.524547
8334d38451b05f8a06133e98e01f204b3df51a55
3,072
py
Python
obsolete_object_wise_scoring_ben.py
agk2000/catalyst_project
6bae324f24d6d6382e84dcf1f2fedf0d896371e1
[ "MIT" ]
null
null
null
obsolete_object_wise_scoring_ben.py
agk2000/catalyst_project
6bae324f24d6d6382e84dcf1f2fedf0d896371e1
[ "MIT" ]
null
null
null
obsolete_object_wise_scoring_ben.py
agk2000/catalyst_project
6bae324f24d6d6382e84dcf1f2fedf0d896371e1
[ "MIT" ]
1
2021-09-11T14:55:26.000Z
2021-09-11T14:55:26.000Z
import sys from mrs_utils import misc_utils, vis_utils from mrs_utils import eval_utils import os from skimage import io import numpy as np import matplotlib.pyplot as plt # Creat object scorer class osc = eval_utils.ObjectScorer(min_th=0.5, link_r=20, eps=2) # Define the source data_dir = '/scratch/sr365/Catalyst_d...
37.925926
112
0.682617
8335f3aa44031d6db4debfb0403cae80df9a5fe1
28,012
py
Python
compare.py
dreamersnme/future
87462ea1ef2dfd056e26ede85448af160df7d2ac
[ "MIT" ]
86
2019-03-24T16:53:12.000Z
2022-02-25T11:48:57.000Z
compare.py
dreamersnme/future
87462ea1ef2dfd056e26ede85448af160df7d2ac
[ "MIT" ]
1
2020-11-15T16:36:54.000Z
2020-11-15T16:36:54.000Z
compare.py
dreamersnme/future
87462ea1ef2dfd056e26ede85448af160df7d2ac
[ "MIT" ]
33
2019-03-22T00:26:20.000Z
2022-03-25T02:56:17.000Z
# --------------------------- IMPORT LIBRARIES ------------------------- import numpy as np import pandas as pd import matplotlib.pyplot as plt from datetime import datetime import data_preprocessing as dp from sklearn.preprocessing import MinMaxScaler import keras from keras.models import Sequential from keras.layers...
50.021429
205
0.63023
83383133f1e2636bee0ef87328b2ad1c26e323fd
1,288
py
Python
Desafio horario atual/__init__.py
pinheirogus/Curso-Python-Udemy
d6d52320426172e924081b9df619490baa8c6016
[ "MIT" ]
1
2021-09-01T01:58:13.000Z
2021-09-01T01:58:13.000Z
Desafio horario atual/__init__.py
pinheirogus/Curso-Python-Udemy
d6d52320426172e924081b9df619490baa8c6016
[ "MIT" ]
null
null
null
Desafio horario atual/__init__.py
pinheirogus/Curso-Python-Udemy
d6d52320426172e924081b9df619490baa8c6016
[ "MIT" ]
null
null
null
# num1 = input("Digite um nmero inteiro: ") # # # try: # # if num1.isnumeric() : # num1 = int(num1) # if (num1 % 2) == 0 : # print("Voc digitou um nmero par.") # elif (num1 % 2) != 0: # print("Voc digitou um nmero mpar.") # else: # print("Voc no di...
30.666667
131
0.420807
8338456e9d4d6099460e1bd2a49c5b5cf56d90a9
223
py
Python
05/b_average.py
koshin117/python-learning
68dd99e2f72fff7507a874c11511415fef3c9354
[ "MIT" ]
1
2021-03-29T08:30:19.000Z
2021-03-29T08:30:19.000Z
05/b_average.py
koshin117/python-learning
68dd99e2f72fff7507a874c11511415fef3c9354
[ "MIT" ]
null
null
null
05/b_average.py
koshin117/python-learning
68dd99e2f72fff7507a874c11511415fef3c9354
[ "MIT" ]
null
null
null
#B if __name__ == '__main__': main()
17.153846
40
0.565022
8338723c7e22b26ca6c647d1d2092f73e2a758fb
3,224
py
Python
tests/test_js.py
tinachou28/dataIO-project
cc8592edf5a2f03ba3cebcbc83b13764729ad839
[ "MIT" ]
7
2016-04-23T03:33:42.000Z
2019-01-02T01:02:44.000Z
tests/test_js.py
tinachou28/dataIO-project
cc8592edf5a2f03ba3cebcbc83b13764729ad839
[ "MIT" ]
2
2018-05-22T07:08:13.000Z
2019-05-14T19:39:16.000Z
tests/test_js.py
tinachou28/dataIO-project
cc8592edf5a2f03ba3cebcbc83b13764729ad839
[ "MIT" ]
4
2017-08-19T16:05:34.000Z
2020-12-08T10:43:11.000Z
# !/usr/bin/env python # -*- coding: utf-8 -*- from __future__ import unicode_literals import sys import warnings import pytest from pytest import approx import os from os.path import join from datetime import datetime from dataIO import py23 from dataIO import js from dataIO import textfile path_json = os.path.abspa...
26.644628
86
0.638337
8338c6c065505edebe32c2e1b457eb24e32e6163
34,731
py
Python
remerkleable/complex.py
hwwhww/remerkleable
b52dce6b0beae7fffbb826fb9945dca9c40504fd
[ "MIT" ]
1
2020-07-22T14:51:20.000Z
2020-07-22T14:51:20.000Z
remerkleable/complex.py
hwwhww/remerkleable
b52dce6b0beae7fffbb826fb9945dca9c40504fd
[ "MIT" ]
null
null
null
remerkleable/complex.py
hwwhww/remerkleable
b52dce6b0beae7fffbb826fb9945dca9c40504fd
[ "MIT" ]
null
null
null
from typing import NamedTuple, cast, List as PyList, Dict, Any, BinaryIO, Optional, TypeVar, Type, Protocol, \ runtime_checkable from types import GeneratorType from textwrap import indent from collections.abc import Sequence as ColSequence from itertools import chain import io from remerkleable.core import View, B...
37.792165
119
0.582477
83399c09776772609094ffc2ac08102d789dfc9b
21,383
py
Python
cave/com.raytheon.viz.gfe/python/autotest/RoutineLevel4_1_TestScript.py
srcarter3/awips2
37f31f5e88516b9fd576eaa49d43bfb762e1d174
[ "Apache-2.0" ]
null
null
null
cave/com.raytheon.viz.gfe/python/autotest/RoutineLevel4_1_TestScript.py
srcarter3/awips2
37f31f5e88516b9fd576eaa49d43bfb762e1d174
[ "Apache-2.0" ]
null
null
null
cave/com.raytheon.viz.gfe/python/autotest/RoutineLevel4_1_TestScript.py
srcarter3/awips2
37f31f5e88516b9fd576eaa49d43bfb762e1d174
[ "Apache-2.0" ]
1
2021-10-30T00:03:05.000Z
2021-10-30T00:03:05.000Z
# # # This software was developed and / or modified by Raytheon Company, # pursuant to Contract DG133W-05-CQ-1067 with the US Government. # # U.S. EXPORT CONTROLLED TECHNICAL DATA # This software product contains export-restricted data whose # export/transfer/disclosure is restricted by U.S. law. Dissemination # to ...
41.520388
189
0.533087
8339dd90862b3868393e86e2c87682f87414e27c
12,569
py
Python
AutoPano/Phase2/Code/Test_files/TrainUnsup.py
akathpal/ComputerVision-CMSC733
f5fa21a0ada8ab8ea08a6c558f6df9676570a2df
[ "MIT" ]
1
2019-09-26T02:06:17.000Z
2019-09-26T02:06:17.000Z
AutoPano/Phase2/Code/Test_files/TrainUnsup.py
akathpal/UMD-CMSC733-ComputerVision
f5fa21a0ada8ab8ea08a6c558f6df9676570a2df
[ "MIT" ]
null
null
null
AutoPano/Phase2/Code/Test_files/TrainUnsup.py
akathpal/UMD-CMSC733-ComputerVision
f5fa21a0ada8ab8ea08a6c558f6df9676570a2df
[ "MIT" ]
1
2022-03-30T05:03:09.000Z
2022-03-30T05:03:09.000Z
#!/usr/bin/env python """ CMSC733 Spring 2019: Classical and Deep Learning Approaches for Geometric Computer Vision Project 1: MyAutoPano: Phase 2 Starter Code Author(s): Nitin J. Sanket (nitinsan@terpmail.umd.edu) PhD Candidate in Computer Science, University of Maryland, College Park Abhishek Kathpal University o...
36.32659
151
0.693691
833a1a0c360f3cdcf8d7b6c1f70840aed091b251
699
py
Python
Lista 2/Exercicio 14.py
GiovannaPazello/Projetos-em-Python
3cf7edbdf2a2350605a775389f7fe2cc7fe8032e
[ "MIT" ]
null
null
null
Lista 2/Exercicio 14.py
GiovannaPazello/Projetos-em-Python
3cf7edbdf2a2350605a775389f7fe2cc7fe8032e
[ "MIT" ]
null
null
null
Lista 2/Exercicio 14.py
GiovannaPazello/Projetos-em-Python
3cf7edbdf2a2350605a775389f7fe2cc7fe8032e
[ "MIT" ]
null
null
null
'''Faa um programa que gere nmeros aleatrios entre 0 e 50 at o nmero 32 ser gerado. Quando isso ocorrer, informar: a. A soma de todos os nmeros gerados b. A quantidade de nmeros gerados que impar c. O menor nmero gerado''' import random x = random.randint(0,50) cont = 32 somaNumeros = 0 qqntImpares = 0 menorNumero =...
23.3
80
0.690987
833a4ecb5ab38b8de2e042cd613f15a274dee6fa
1,556
py
Python
mavsim_python/chap4/wind_simulation.py
eyler94/mavsim_template_files
181a76f15dc454f5a6f58f4596d9039cbe388cd9
[ "MIT" ]
null
null
null
mavsim_python/chap4/wind_simulation.py
eyler94/mavsim_template_files
181a76f15dc454f5a6f58f4596d9039cbe388cd9
[ "MIT" ]
null
null
null
mavsim_python/chap4/wind_simulation.py
eyler94/mavsim_template_files
181a76f15dc454f5a6f58f4596d9039cbe388cd9
[ "MIT" ]
1
2021-11-15T09:53:42.000Z
2021-11-15T09:53:42.000Z
""" Class to determine wind velocity at any given moment, calculates a steady wind speed and uses a stochastic process to represent wind gusts. (Follows section 4.4 in uav book) """ import sys sys.path.append('..') import numpy as np
38.9
105
0.628535
833a7aa9cb8a7c6a6aacafb0a6fb6428d1abdec9
2,779
py
Python
dx/geometric_brownian_motion.py
yehuihe/dx
6a8c6a1605fd4314c481561ecceaaddf4528c43d
[ "Apache-2.0" ]
null
null
null
dx/geometric_brownian_motion.py
yehuihe/dx
6a8c6a1605fd4314c481561ecceaaddf4528c43d
[ "Apache-2.0" ]
null
null
null
dx/geometric_brownian_motion.py
yehuihe/dx
6a8c6a1605fd4314c481561ecceaaddf4528c43d
[ "Apache-2.0" ]
null
null
null
"""Simulation Class -- Geometric Brownian Motion """ # Author: Yehui He <yehui.he@hotmail.com> # License: Apache-2.0 License import numpy as np from .sn_random_numbers import sn_random_numbers from .simulation_class import SimulationClass
35.628205
82
0.594458
833ab5ac04df4cc2bfa2f945d2155461c52e1071
1,039
py
Python
yibai-sms-python-sdk-1.0.0/yibai/api/Yibai.py
100sms/yibai-python-sdk
9907d0fbf147b5b3ce10e4afed2ac7f19d52af3f
[ "MIT" ]
null
null
null
yibai-sms-python-sdk-1.0.0/yibai/api/Yibai.py
100sms/yibai-python-sdk
9907d0fbf147b5b3ce10e4afed2ac7f19d52af3f
[ "MIT" ]
null
null
null
yibai-sms-python-sdk-1.0.0/yibai/api/Yibai.py
100sms/yibai-python-sdk
9907d0fbf147b5b3ce10e4afed2ac7f19d52af3f
[ "MIT" ]
1
2019-11-26T11:49:54.000Z
2019-11-26T11:49:54.000Z
# encoding=utf8 import HttpUtils
28.861111
72
0.624639
833b47331d2a097b8a77501f425210bc65eeddac
1,194
py
Python
setup.py
nattster/lettuce_webdriver
26b910ceef67d5b81030640ebbab0504bd59d643
[ "MIT" ]
24
2015-02-04T14:49:51.000Z
2021-03-23T17:17:09.000Z
setup.py
nattster/lettuce_webdriver
26b910ceef67d5b81030640ebbab0504bd59d643
[ "MIT" ]
4
2015-07-13T22:41:22.000Z
2016-10-03T20:17:22.000Z
setup.py
nattster/lettuce_webdriver
26b910ceef67d5b81030640ebbab0504bd59d643
[ "MIT" ]
12
2015-01-24T02:05:39.000Z
2016-12-30T07:30:28.000Z
__version__ = '0.3.5' import os from setuptools import setup, find_packages here = os.path.abspath(os.path.dirname(__file__)) README = open(os.path.join(here, 'README.rst')).read() CHANGES = open(os.path.join(here, 'CHANGES.txt')).read() setup(name='lettuce_webdriver', version=__version__, description='...
32.27027
61
0.649079
833c0720b2fa02e3aacf53733cbb5dfadce129a9
326
py
Python
project4/network/migrations/0005_remove_post_likers.py
mjs375/cs50_Network
31a2399f4429931b15721861a2940b57811ae844
[ "MIT" ]
null
null
null
project4/network/migrations/0005_remove_post_likers.py
mjs375/cs50_Network
31a2399f4429931b15721861a2940b57811ae844
[ "MIT" ]
null
null
null
project4/network/migrations/0005_remove_post_likers.py
mjs375/cs50_Network
31a2399f4429931b15721861a2940b57811ae844
[ "MIT" ]
null
null
null
# Generated by Django 3.1.3 on 2020-11-15 16:01 from django.db import migrations
18.111111
47
0.588957
833ff2663454d251a149619c7bf5edfd07d118d9
942
py
Python
Commands/interested.py
hanss314/TheBrainOfTWOWCentral
a97d40ebb73904f236d7b3db6ec9f8c3fe999f4e
[ "MIT" ]
null
null
null
Commands/interested.py
hanss314/TheBrainOfTWOWCentral
a97d40ebb73904f236d7b3db6ec9f8c3fe999f4e
[ "MIT" ]
null
null
null
Commands/interested.py
hanss314/TheBrainOfTWOWCentral
a97d40ebb73904f236d7b3db6ec9f8c3fe999f4e
[ "MIT" ]
null
null
null
from Config._const import PREFIX HELP = { "COOLDOWN": 3, "MAIN": "Toggles whether or not you have the `Interested in the Bot` role", "FORMAT": "", "CHANNEL": 0, "USAGE": f"""Using `{PREFIX}interested` will add the `Interested in the Bot` to you, or remove it if you already have it.""".replace("\n", "").replace(...
34.888889
114
0.686837
83404f40a03d9276b97c34aee6e5fb4ad81499f8
101
py
Python
gen_newsletter.py
pnijjar/google-calendar-rss
6f4e6b9acbeffcf74112e6b33d99eaf1ea912be4
[ "Apache-2.0" ]
1
2021-06-29T04:10:48.000Z
2021-06-29T04:10:48.000Z
gen_newsletter.py
pnijjar/google-calendar-rss
6f4e6b9acbeffcf74112e6b33d99eaf1ea912be4
[ "Apache-2.0" ]
1
2021-06-29T05:03:36.000Z
2021-06-29T05:03:36.000Z
gen_newsletter.py
pnijjar/google-calendar-rss
6f4e6b9acbeffcf74112e6b33d99eaf1ea912be4
[ "Apache-2.0" ]
2
2019-08-07T15:33:25.000Z
2021-06-29T04:37:21.000Z
#!/usr/bin/env python3 from gcal_helpers import helpers helpers.write_transformation("newsletter")
16.833333
42
0.811881
8340e8e017d3e1c1641789fc6d116198178f84f1
2,550
py
Python
qiskit/pulse/instructions/delay.py
gadial/qiskit-terra
0fc83f44a6e80969875c738b2cee7bc33223e45f
[ "Apache-2.0" ]
1
2021-10-05T11:56:53.000Z
2021-10-05T11:56:53.000Z
qiskit/pulse/instructions/delay.py
gadial/qiskit-terra
0fc83f44a6e80969875c738b2cee7bc33223e45f
[ "Apache-2.0" ]
24
2021-01-27T08:20:27.000Z
2021-07-06T09:42:28.000Z
qiskit/pulse/instructions/delay.py
gadial/qiskit-terra
0fc83f44a6e80969875c738b2cee7bc33223e45f
[ "Apache-2.0" ]
4
2021-10-05T12:07:27.000Z
2022-01-28T18:37:28.000Z
# This code is part of Qiskit. # # (C) Copyright IBM 2020. # # This code is licensed under the Apache License, Version 2.0. You may # obtain a copy of this license in the LICENSE.txt file in the root directory # of this source tree or at http://www.apache.org/licenses/LICENSE-2.0. # # Any modifications or derivative wo...
35.915493
99
0.671373
83419d745e57d76be4f84f2cf4a69352d320b89f
738
py
Python
users/urls.py
mahmutcankurt/DjangoBlogSite
8597bbe7ed066b50e02367a98f0062deb37d251d
[ "Apache-2.0" ]
3
2021-01-24T13:14:33.000Z
2022-01-25T22:17:59.000Z
users/urls.py
mahmutcankurt1/staj
8597bbe7ed066b50e02367a98f0062deb37d251d
[ "Apache-2.0" ]
null
null
null
users/urls.py
mahmutcankurt1/staj
8597bbe7ed066b50e02367a98f0062deb37d251d
[ "Apache-2.0" ]
null
null
null
from django.conf.urls import url from .views import signupView, activate, account_activation_sent, user_login, user_logout, user_edit_profile, user_change_password urlpatterns = [ url(r'^register/$', signupView, name='register'), url(r'^account_activation_sent/$', account_activation_sent, name='account_activat...
43.411765
130
0.703252
8341a4470393cc4df708339799fbfe8844ec3b50
739
py
Python
mosasaurus/chromaticlc/mptest.py
zkbt/mosasaurus
8ddeaa359adda36e4c48c3c6c476c34fdc09d952
[ "MIT" ]
2
2018-08-03T16:22:27.000Z
2018-09-03T22:46:31.000Z
mosasaurus/chromaticlc/mptest.py
zkbt/mosasaurus
8ddeaa359adda36e4c48c3c6c476c34fdc09d952
[ "MIT" ]
15
2016-11-23T19:59:33.000Z
2019-07-10T13:40:40.000Z
mosasaurus/chromaticlc/mptest.py
zkbt/mosasaurus
8ddeaa359adda36e4c48c3c6c476c34fdc09d952
[ "MIT" ]
1
2016-12-02T20:53:08.000Z
2016-12-02T20:53:08.000Z
import TransmissionSpectrum import multiprocessing obs = 'wasp94_140805.obs' ncpu = multiprocessing.cpu_count() pool = multiprocessing.Pool(ncpu) t = TransmissionSpectrum.TransmissionSpectrum(obs) for i in range(len(t.bins)): fastfit(i) #pool.map_async(fastfit, range(len(t.bins))) #pool.map_async(slowfit, range(le...
33.590909
88
0.741543
8342f7c7f2effcfa796c1cab9266d9d3d82726f5
1,867
py
Python
semeval_filter.py
krzysztoffiok/twitter_sentiment_to_usnavy
673e01336242348d9aa79e6e9b3385222bcd62d7
[ "MIT" ]
2
2021-02-19T11:17:03.000Z
2021-11-04T06:30:48.000Z
semeval_filter.py
krzysztoffiok/twitter_sentiment_to_usnavy
673e01336242348d9aa79e6e9b3385222bcd62d7
[ "MIT" ]
null
null
null
semeval_filter.py
krzysztoffiok/twitter_sentiment_to_usnavy
673e01336242348d9aa79e6e9b3385222bcd62d7
[ "MIT" ]
1
2020-05-03T09:10:21.000Z
2020-05-03T09:10:21.000Z
import pandas as pd import numpy as np import datatable as dt import re """ Basic pre-processing of Twitter text from SemEval2017 data set. """ # replace repeating characters so that only 2 repeats remain file_names = ["./semeval_data/source_data/semtrain.csv", "./semeval_data/source_data/semtest.csv"] for file_nam...
34.574074
119
0.591859
8343385a22dd30ea40482bf144f766b74f99b606
6,969
py
Python
tutorials/rhythm/plot_SlidingWindowMatching.py
bcmartinb/neurodsp
36d8506f3bd916f83b093a62843ffb77647a6e1e
[ "Apache-2.0" ]
154
2019-01-30T04:10:48.000Z
2022-03-30T12:55:00.000Z
tutorials/rhythm/plot_SlidingWindowMatching.py
bcmartinb/neurodsp
36d8506f3bd916f83b093a62843ffb77647a6e1e
[ "Apache-2.0" ]
159
2019-01-28T22:49:36.000Z
2022-03-17T16:42:48.000Z
tutorials/rhythm/plot_SlidingWindowMatching.py
bcmartinb/neurodsp
36d8506f3bd916f83b093a62843ffb77647a6e1e
[ "Apache-2.0" ]
42
2019-05-31T21:06:44.000Z
2022-03-25T23:17:57.000Z
""" Sliding Window Matching ======================= Find recurring patterns in neural signals using Sliding Window Matching. This tutorial primarily covers the :func:`~.sliding_window_matching` function. """ ################################################################################################### # Overvie...
39.822857
99
0.578275
8343d14fcff75c3593b87cced0b3013a8661f9e3
719
py
Python
forge/auth/backends.py
django-forge/forge
6223d2a4e7a570dfba87c3ae2e14927010fe7fd9
[ "MIT" ]
3
2022-03-30T22:14:35.000Z
2022-03-31T22:04:42.000Z
forge/auth/backends.py
django-forge/forge
6223d2a4e7a570dfba87c3ae2e14927010fe7fd9
[ "MIT" ]
null
null
null
forge/auth/backends.py
django-forge/forge
6223d2a4e7a570dfba87c3ae2e14927010fe7fd9
[ "MIT" ]
null
null
null
from django.contrib.auth import get_user_model from django.contrib.auth.backends import ModelBackend UserModel = get_user_model()
28.76
82
0.66064
83441a6b6c5d79e325330fcd2de68468db5ae8e3
8,923
py
Python
Macro/WorkFeature/Utils/WF_curve.py
myao9494/FreeCAD_Factory
6bf3209f2295d306d4c2c8c2ded25839c837e869
[ "MIT" ]
null
null
null
Macro/WorkFeature/Utils/WF_curve.py
myao9494/FreeCAD_Factory
6bf3209f2295d306d4c2c8c2ded25839c837e869
[ "MIT" ]
null
null
null
Macro/WorkFeature/Utils/WF_curve.py
myao9494/FreeCAD_Factory
6bf3209f2295d306d4c2c8c2ded25839c837e869
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- """ Created on Tue Mar 1 06:59:10 2016 @author: laurent """ from __future__ import division from math import factorial # Pascal's triangle p_t = [ [1], # n=0 [1,1], # n=1 [1,2,1], # n=2 [1,3,3,1], # n=3 [1,4,6,...
27.625387
87
0.420262
834811bba2b38dd1f90f60e0f432be19f153a845
1,428
py
Python
LeetCode/z_arrange.py
Max-PJB/python-learning2
e8b05bef1574ee9abf8c90497e94ef20a7f4e3bd
[ "MIT" ]
null
null
null
LeetCode/z_arrange.py
Max-PJB/python-learning2
e8b05bef1574ee9abf8c90497e94ef20a7f4e3bd
[ "MIT" ]
null
null
null
LeetCode/z_arrange.py
Max-PJB/python-learning2
e8b05bef1574ee9abf8c90497e94ef20a7f4e3bd
[ "MIT" ]
null
null
null
#!/usr/bin/env python # -*- coding: utf-8 -*- """ ------------------------------------------------- @ Author : pengj @ date : 2018/11/1 19:03 @ IDE : PyCharm @ GitHub : https://github.com/JackyPJB @ Contact : pengjianbiao@hotmail.com ----------------...
20.112676
71
0.497199
8348305c9172017dde4aba4393d6db7827e9ab1f
970
py
Python
old/INSTADOWNLOAD.py
Nibba2018/INSTADOWNLOAD
4f4b831df14d2cfdcb2cf91e3710576432bc4845
[ "MIT" ]
1
2019-08-12T06:24:17.000Z
2019-08-12T06:24:17.000Z
old/INSTADOWNLOAD.py
Nibba2018/INSTADOWNLOAD
4f4b831df14d2cfdcb2cf91e3710576432bc4845
[ "MIT" ]
2
2019-08-12T05:29:57.000Z
2019-08-12T10:18:24.000Z
old/INSTADOWNLOAD.py
tre3x/INSTADOWNLOAD
c8bd6f12a0abfcbac4fdeeb2994ba75067ca592d
[ "MIT" ]
1
2019-08-12T10:02:14.000Z
2019-08-12T10:02:14.000Z
import sys from PyQt5.QtCore import pyqtSlot from PyQt5.QtWidgets import QApplication,QDialog from PyQt5.uic import loadUi import requests import urllib.request from selenium import webdriver app=QApplication(sys.argv) widget=INSTADOWNLOAD() widget.show() sys.exit(app.exec_())
30.3125
68
0.694845
83499ec97a8ebaba9f0df370c50f48f1b192aa91
719
py
Python
ved/migrations/0010_auto_20180303_1353.py
mjovanc/tidlundsved
da55a07d02f04bc636299fe4d236aa19188a359b
[ "MIT" ]
1
2019-04-19T20:39:39.000Z
2019-04-19T20:39:39.000Z
ved/migrations/0010_auto_20180303_1353.py
mjovanc/tidlundsved
da55a07d02f04bc636299fe4d236aa19188a359b
[ "MIT" ]
3
2020-01-15T22:21:14.000Z
2020-01-15T22:21:15.000Z
ved/migrations/0010_auto_20180303_1353.py
mjovanc/tidlundsved
da55a07d02f04bc636299fe4d236aa19188a359b
[ "MIT" ]
null
null
null
# Generated by Django 2.0.2 on 2018-03-03 13:53 from django.db import migrations, models
29.958333
201
0.606398
834ad9cbfb170166d5394332db47b29bcb81eb73
163
py
Python
examples/plot_kde_2d.py
awesome-archive/arviz
e11432bc065d0b2280f27c901beb4ac9fc5c5dba
[ "Apache-2.0" ]
2
2018-12-01T03:41:54.000Z
2018-12-01T22:04:59.000Z
examples/plot_kde_2d.py
awesome-archive/arviz
e11432bc065d0b2280f27c901beb4ac9fc5c5dba
[ "Apache-2.0" ]
null
null
null
examples/plot_kde_2d.py
awesome-archive/arviz
e11432bc065d0b2280f27c901beb4ac9fc5c5dba
[ "Apache-2.0" ]
1
2020-10-16T12:57:48.000Z
2020-10-16T12:57:48.000Z
""" 2d KDE ====== _thumb: .1, .8 """ import arviz as az import numpy as np az.style.use('arviz-darkgrid') az.plot_kde(np.random.rand(100), np.random.rand(100))
12.538462
53
0.650307
834c8fddbb55c2d6f805fb0cea2ee12883df1ec1
331
py
Python
debug/read_depth_from_exr_file.py
ccj5351/hmr_rgbd
d1dcf81d72c11e1f502f2c494cd86425f384d9cc
[ "MIT" ]
null
null
null
debug/read_depth_from_exr_file.py
ccj5351/hmr_rgbd
d1dcf81d72c11e1f502f2c494cd86425f384d9cc
[ "MIT" ]
1
2020-12-09T07:29:00.000Z
2020-12-09T07:29:00.000Z
debug/read_depth_from_exr_file.py
ccj5351/hmr_rgbd
d1dcf81d72c11e1f502f2c494cd86425f384d9cc
[ "MIT" ]
null
null
null
# !/usr/bin/env python3 # -*-coding:utf-8-*- # @file: read_depth_from_exr_file.py # @brief: # @author: Changjiang Cai, ccai1@stevens.edu, caicj5351@gmail.com # @version: 0.0.1 # @creation date: 10-06-2019 # @last modified: Mon 10 Jun 2019 06:18:44 PM EDT import cv2 dep = cv2.imread("0.exr",-1) # "-1" means any depth o...
27.583333
65
0.682779