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
d54c2dcbd7cf59b2c57685116f1d61c741d7e2cb
2,874
py
Python
object_detection/realtime_detection.py
pcrete/humanet
a956c0903d4a6ebff987da723ce8e80ada692585
[ "Apache-2.0" ]
7
2019-10-25T12:35:02.000Z
2022-03-24T02:14:43.000Z
object_detection/realtime_detection.py
pcrete/humanet
a956c0903d4a6ebff987da723ce8e80ada692585
[ "Apache-2.0" ]
null
null
null
object_detection/realtime_detection.py
pcrete/humanet
a956c0903d4a6ebff987da723ce8e80ada692585
[ "Apache-2.0" ]
2
2019-11-30T03:22:37.000Z
2020-10-06T07:17:36.000Z
import numpy as np import os import six.moves.urllib as urllib import sys import tarfile import tensorflow as tf import zipfile import cv2 from collections import defaultdict from io import StringIO from matplotlib import pyplot as plt from PIL import Image sys.path.insert(0, os.path.abspath("..")) from utils import ...
29.326531
122
0.753653
d54c9a0268801c4210ca35761a0c8999bcb5ec81
1,832
py
Python
stupidV2.py
Devansh-ops/HashCode2021
c1450a0bd81fff5a8d6b402188576024727587d9
[ "MIT" ]
null
null
null
stupidV2.py
Devansh-ops/HashCode2021
c1450a0bd81fff5a8d6b402188576024727587d9
[ "MIT" ]
null
null
null
stupidV2.py
Devansh-ops/HashCode2021
c1450a0bd81fff5a8d6b402188576024727587d9
[ "MIT" ]
null
null
null
# Hashcode 2021 # Team Depresso # Problem - Traffic Signaling ## Data Containers #Just getting data with open('c.txt') as f: D, I, S, V, F = list(map(int, f.readline()[:-1].split(" "))) ''' l1 = f.readline()[:-1].split(' ') D = int(l1[0]) # Duration of simulation 1 <D<10^4 I = int(l1[1]) # The number of ...
24.756757
70
0.581332
d54d660e19d06efe546719fe102b385e9d155b60
3,178
py
Python
notebooks/uplifts/dea_383.py
NHSDigital/medicines-text-mining-tool
bea1efddd832b614fdb00ae8df5f8dc206ba81b0
[ "MIT" ]
1
2022-03-31T13:04:05.000Z
2022-03-31T13:04:05.000Z
notebooks/uplifts/dea_383.py
NHSDigital/medicines-text-mining-tool
bea1efddd832b614fdb00ae8df5f8dc206ba81b0
[ "MIT" ]
null
null
null
notebooks/uplifts/dea_383.py
NHSDigital/medicines-text-mining-tool
bea1efddd832b614fdb00ae8df5f8dc206ba81b0
[ "MIT" ]
null
null
null
# Databricks notebook source # MAGIC %run ../_modules/epma_global/functions # COMMAND ---------- # MAGIC %run ../_modules/epma_global/test_helpers # COMMAND ---------- from pyspark.sql import functions as F # COMMAND ---------- dbutils.widgets.text('db', '', 'db') DB = dbutils.widgets.get('db') assert DB dbutils...
36.113636
125
0.704216
d54e3560503b5dd94b9ef2b1f63b8e1ccc96eeee
164
py
Python
allauth/socialaccount/providers/stripe/urls.py
mina-gaid/scp
38e1cd303d4728a987df117f666ce194e241ed1a
[ "MIT" ]
1
2018-04-06T21:36:59.000Z
2018-04-06T21:36:59.000Z
allauth/socialaccount/providers/stripe/urls.py
mina-gaid/scp
38e1cd303d4728a987df117f666ce194e241ed1a
[ "MIT" ]
6
2020-06-05T18:44:19.000Z
2022-01-13T00:48:56.000Z
allauth/socialaccount/providers/stripe/urls.py
mina-gaid/scp
38e1cd303d4728a987df117f666ce194e241ed1a
[ "MIT" ]
1
2022-02-01T17:19:28.000Z
2022-02-01T17:19:28.000Z
from allauth.socialaccount.providers.oauth2.urls import default_urlpatterns from .provider import StripeProvider urlpatterns = default_urlpatterns(StripeProvider)
32.8
75
0.878049
d54e772528672c15b49db9bb963f2e75f766bb4b
1,491
py
Python
state-change-localization-classification/slowFast-perceiver/models/frameselection_models.py
EGO4D/hands-and-objects
76d6ce6af1a9db4007ea24eb315f3f0eaea26bc2
[ "MIT" ]
24
2021-10-15T20:17:38.000Z
2022-03-30T18:54:55.000Z
state-change-localization-classification/slowFast-perceiver/models/frameselection_models.py
EGO4D/hands-and-objects
76d6ce6af1a9db4007ea24eb315f3f0eaea26bc2
[ "MIT" ]
1
2022-03-09T03:35:42.000Z
2022-03-10T20:50:24.000Z
state-change-localization-classification/slowFast-perceiver/models/frameselection_models.py
EGO4D/hands-and-objects
76d6ce6af1a9db4007ea24eb315f3f0eaea26bc2
[ "MIT" ]
4
2021-11-18T19:22:16.000Z
2022-03-21T02:51:35.000Z
import torch import torch.nn as nn import torchvision.models as models from torch.nn.utils.rnn import pack_padded_sequence, pad_packed_sequence from .build import MODEL_REGISTRY
29.82
96
0.602951
d54fb479ac6c0ddd4d66b98b5bfa4aea9b2fd454
5,829
py
Python
azurelinuxagent/daemon/resourcedisk/openwrt.py
koifans/WALinuxAgent
236c6c12d89757589411651ae015640d371251a4
[ "Apache-2.0" ]
1
2020-11-23T10:48:28.000Z
2020-11-23T10:48:28.000Z
azurelinuxagent/daemon/resourcedisk/openwrt.py
koifans/WALinuxAgent
236c6c12d89757589411651ae015640d371251a4
[ "Apache-2.0" ]
1
2019-06-06T13:24:55.000Z
2019-06-06T13:24:55.000Z
azurelinuxagent/daemon/resourcedisk/openwrt.py
koifans/WALinuxAgent
236c6c12d89757589411651ae015640d371251a4
[ "Apache-2.0" ]
null
null
null
# Microsoft Azure Linux Agent # # Copyright 2018 Microsoft Corporation # Copyright 2018 Sonus Networks, Inc. (d.b.a. Ribbon Communications Operating Company) # # 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 ...
42.860294
109
0.593927
d5519eaf2867f48a79c81e7d904b4b74a968d747
1,828
py
Python
lib/stacks/publish_to_social/lambda/send_report.py
shaftoe/api-l3x-in
06426f62708051b570e8839398562982d770903f
[ "Apache-2.0" ]
11
2020-03-01T15:24:09.000Z
2022-01-06T08:31:31.000Z
lib/stacks/publish_to_social/lambda/send_report.py
sierrezinal/api-l3x-in
0c5122a29ecd8f94cb9b99909499c330969d26ee
[ "Apache-2.0" ]
1
2020-08-28T15:25:39.000Z
2020-08-30T07:35:59.000Z
lib/stacks/publish_to_social/lambda/send_report.py
sierrezinal/api-l3x-in
0c5122a29ecd8f94cb9b99909499c330969d26ee
[ "Apache-2.0" ]
5
2020-10-15T03:06:37.000Z
2021-09-29T07:07:18.000Z
from os import environ as env import json import utils import utils.aws as aws import utils.handlers as handlers def put_record_to_logstream(event: utils.LambdaEvent) -> str: """Put a record of source Lambda execution in LogWatch Logs.""" log_group_name = env["REPORT_LOG_GROUP_NAME"] utils.Log.info("Fet...
34.490566
82
0.571116
d551aabe726e69db8b462ea2ce644c9f926174ad
2,999
py
Python
RAMLFlask/Server.py
nm-wu/RAMLFlask
003ceb0f0b68d0d80d8fb8fcd6d5b329a1608dd0
[ "BSD-3-Clause" ]
4
2017-11-30T10:23:12.000Z
2020-06-07T01:05:12.000Z
RAMLFlask/Server.py
nm-wu/RAMLFlask
003ceb0f0b68d0d80d8fb8fcd6d5b329a1608dd0
[ "BSD-3-Clause" ]
null
null
null
RAMLFlask/Server.py
nm-wu/RAMLFlask
003ceb0f0b68d0d80d8fb8fcd6d5b329a1608dd0
[ "BSD-3-Clause" ]
1
2017-12-14T17:11:05.000Z
2017-12-14T17:11:05.000Z
import os from importlib import import_module from flask import Flask import ConfigParser import Printer
34.872093
109
0.596199
d551c440a4a93ff739f21c92c784dfb223859c3d
416
py
Python
native/public/urls.py
Andrew-Chen-Wang/django-3.0-private-messaging
d7c02c42dfd077cd234df3ed08d7ed692dc2b4c7
[ "BSD-3-Clause" ]
1
2020-05-21T03:17:29.000Z
2020-05-21T03:17:29.000Z
native/public/urls.py
Andrew-Chen-Wang/django-3.0-private-messaging
d7c02c42dfd077cd234df3ed08d7ed692dc2b4c7
[ "BSD-3-Clause" ]
7
2021-03-30T12:48:24.000Z
2021-06-10T18:35:08.000Z
native/public/urls.py
Andrew-Chen-Wang/django-3.0-private-messaging
d7c02c42dfd077cd234df3ed08d7ed692dc2b4c7
[ "BSD-3-Clause" ]
1
2020-05-05T08:31:16.000Z
2020-05-05T08:31:16.000Z
from django.urls import path, include from . import views urlpatterns = [ path("", views.index, name="index"), # Authentication path("accounts/", include("django.contrib.auth.urls")), path("accounts/register/", views.register, name="register"), # Test URLs path("test/wsconn", views.wsconn, na...
24.470588
64
0.653846
d5537a673b3a26aa0f21d11d643794a306a0cc11
4,337
py
Python
drex-atari/train.py
abalakrishna123/CoRL2019-DREX
b80b3308559261f7144d173ee293eb3c5b4a0502
[ "MIT" ]
36
2019-11-02T02:48:47.000Z
2022-03-04T19:10:28.000Z
drex-atari/train.py
abalakrishna123/CoRL2019-DREX
b80b3308559261f7144d173ee293eb3c5b4a0502
[ "MIT" ]
16
2019-10-31T16:19:34.000Z
2022-03-12T00:02:27.000Z
drex-atari/train.py
abalakrishna123/CoRL2019-DREX
b80b3308559261f7144d173ee293eb3c5b4a0502
[ "MIT" ]
13
2019-11-06T08:32:06.000Z
2022-02-28T06:56:10.000Z
import os from bc import Imitator import numpy as np from dataset import Example, Dataset import utils #from ale_wrapper import ALEInterfaceWrapper from evaluator import Evaluator from pdb import set_trace import matplotlib.pyplot as plt #try bmh plt.style.use('bmh') if __name__ == '__main__': train()
29.107383
111
0.587733
d5539201acc74777191577d0a77d4057f6de4e8d
153
py
Python
graphgallery/utils/ipynb.py
EdisonLeeeee/GraphGallery
4eec9c5136bda14809bd22584b26cc346cdb633b
[ "MIT" ]
300
2020-08-09T04:27:41.000Z
2022-03-30T07:43:41.000Z
graphgallery/utils/ipynb.py
EdisonLeeeee/GraphGallery
4eec9c5136bda14809bd22584b26cc346cdb633b
[ "MIT" ]
5
2020-11-05T06:16:50.000Z
2021-12-11T05:05:22.000Z
graphgallery/utils/ipynb.py
EdisonLeeeee/GraphGallery
4eec9c5136bda14809bd22584b26cc346cdb633b
[ "MIT" ]
51
2020-09-23T15:37:12.000Z
2022-03-05T01:28:56.000Z
from IPython import get_ipython from IPython.display import display
21.857143
66
0.784314
d55427688a084bec0e9255b152935a5e5812cfae
8,526
py
Python
monitoring/prober/scd/test_subscription_queries.py
rpai1/dss
79d8110c336851b155a6e5417692ec68b70c0c07
[ "Apache-2.0" ]
1
2021-03-06T19:31:04.000Z
2021-03-06T19:31:04.000Z
monitoring/prober/scd/test_subscription_queries.py
rpai1/dss
79d8110c336851b155a6e5417692ec68b70c0c07
[ "Apache-2.0" ]
null
null
null
monitoring/prober/scd/test_subscription_queries.py
rpai1/dss
79d8110c336851b155a6e5417692ec68b70c0c07
[ "Apache-2.0" ]
1
2020-09-20T22:15:36.000Z
2020-09-20T22:15:36.000Z
"""Strategic conflict detection Subscription query tests: - add a few Subscriptions spaced in time and footprints - query with various combinations of arguments """ import datetime from monitoring.monitorlib.infrastructure import default_scope from monitoring.monitorlib import scd from monitoring.monitorlib.scd ...
34.518219
108
0.700563
d55558bb3f6a8ea15ddbd66ee162839cfc0d523b
516
py
Python
backend/mp/apps/questionnarie/migrations/0002_auto_20200327_1422.py
shidashui/mymp
75d81906908395ece1c8d12249d6afc4bd2d0704
[ "MIT" ]
1
2020-03-14T12:33:24.000Z
2020-03-14T12:33:24.000Z
backend/mp/apps/questionnarie/migrations/0002_auto_20200327_1422.py
shidashui/mymp
75d81906908395ece1c8d12249d6afc4bd2d0704
[ "MIT" ]
8
2021-03-19T00:59:11.000Z
2022-03-12T00:19:38.000Z
backend/mp/apps/questionnarie/migrations/0002_auto_20200327_1422.py
shidashui/mymp
75d81906908395ece1c8d12249d6afc4bd2d0704
[ "MIT" ]
null
null
null
# Generated by Django 3.0.4 on 2020-03-27 14:22 from django.db import migrations, models
22.434783
70
0.581395
d55583a4f654b4e383a9599f22b9a53cb07d00f4
2,250
py
Python
engine/scene.py
amirgeva/retroupy
1ee19b36a72c5f592cce150d1d0382a00ccdc4a0
[ "BSD-3-Clause" ]
null
null
null
engine/scene.py
amirgeva/retroupy
1ee19b36a72c5f592cce150d1d0382a00ccdc4a0
[ "BSD-3-Clause" ]
null
null
null
engine/scene.py
amirgeva/retroupy
1ee19b36a72c5f592cce150d1d0382a00ccdc4a0
[ "BSD-3-Clause" ]
null
null
null
from .rtree import RTree from .utils import Point # EXPORT
33.58209
72
0.509333
d555ba2edd936b2db086f718b541516f58f3e05b
1,192
py
Python
tests/test_pages/test_views.py
wilfredinni/merken
f15f168f58e9391fcafeeda7ad17232fffab2a14
[ "MIT" ]
5
2020-05-06T03:34:07.000Z
2022-03-25T10:05:30.000Z
tests/test_pages/test_views.py
MaxCodeXTC/merken
040515e43dcc9bdcf23f51ea15b49b4d2af64964
[ "MIT" ]
17
2019-08-28T22:10:47.000Z
2021-06-09T18:19:00.000Z
tests/test_pages/test_views.py
MaxCodeXTC/merken
040515e43dcc9bdcf23f51ea15b49b4d2af64964
[ "MIT" ]
1
2020-06-15T08:34:16.000Z
2020-06-15T08:34:16.000Z
from django.test import TestCase, Client from django.urls import reverse from apps.pages.models import Page
30.564103
68
0.666946
d556e06f516793a26ef5cbe49151f9799ff8daf6
1,148
py
Python
sequal/mass_spectrometry.py
bschulzlab/glypniro
383429932cda2f6cc8b70be57a954de9b9c0f6d4
[ "MIT" ]
1
2021-03-08T13:29:17.000Z
2021-03-08T13:29:17.000Z
sequal/mass_spectrometry.py
bschulzlab/glypniro
383429932cda2f6cc8b70be57a954de9b9c0f6d4
[ "MIT" ]
null
null
null
sequal/mass_spectrometry.py
bschulzlab/glypniro
383429932cda2f6cc8b70be57a954de9b9c0f6d4
[ "MIT" ]
null
null
null
from sequal.ion import Ion ax = "ax" by = "by" cz = "cz" # calculate non-labile modifications and yield associated transition # For example "by" would yield a tuple of "b" and "y" transitions. # calculate all labile modification variants for the sequence and its associated labile modifications def fragment_labile(se...
30.210526
101
0.678571
d55772963e28794e8a087234f1d656d1c4c7b7a0
444
py
Python
scapula/transform/encoded_rt_to_r9.py
fengjixuchui/scapula
0ca411d8571622a6f7411bf423c3b662030e550b
[ "MIT" ]
7
2019-10-11T17:35:00.000Z
2020-04-06T00:51:18.000Z
scapula/transform/encoded_rt_to_r9.py
fengjixuchui/scapula
0ca411d8571622a6f7411bf423c3b662030e550b
[ "MIT" ]
null
null
null
scapula/transform/encoded_rt_to_r9.py
fengjixuchui/scapula
0ca411d8571622a6f7411bf423c3b662030e550b
[ "MIT" ]
3
2019-10-12T01:51:20.000Z
2019-11-12T15:15:37.000Z
import shoulder
24.666667
77
0.650901
d557f1cb2328fe8b59c23cb0bcb3af7a0541259f
1,642
py
Python
model/user.py
fi-ksi/dashboard-alpha
aaa800d02f78f198a95faf27af2bc8afeca4b867
[ "MIT" ]
null
null
null
model/user.py
fi-ksi/dashboard-alpha
aaa800d02f78f198a95faf27af2bc8afeca4b867
[ "MIT" ]
24
2019-05-14T19:13:38.000Z
2022-03-14T10:51:55.000Z
model/user.py
fi-ksi/dashboard-alpha
aaa800d02f78f198a95faf27af2bc8afeca4b867
[ "MIT" ]
null
null
null
import datetime from sqlalchemy import Column, Integer, String, Boolean, Enum, Text, text from sqlalchemy.types import TIMESTAMP from sqlalchemy.orm import relationship from sqlalchemy.ext.hybrid import hybrid_property from . import Base
34.208333
79
0.665043
d55801396ba40004f6ae580dd0df2cf475baa674
4,999
py
Python
order.py
bogdanmagometa/logistics-system
8c69c29f23354c37dddec299eaa7031092430daf
[ "MIT" ]
null
null
null
order.py
bogdanmagometa/logistics-system
8c69c29f23354c37dddec299eaa7031092430daf
[ "MIT" ]
null
null
null
order.py
bogdanmagometa/logistics-system
8c69c29f23354c37dddec299eaa7031092430daf
[ "MIT" ]
null
null
null
""" order.py This module contains classes needed for emulating logistics system. In particular, the following classes are here: Item Vehicle Order Location """ import copy from typing import List if __name__ == "__main__": import doctest doctest.testmod()
27.927374
99
0.576715
d55a7d09487a4d342d812df22a9da92debc35a70
28
py
Python
homeassistant/components/ripple/__init__.py
domwillcode/home-assistant
f170c80bea70c939c098b5c88320a1c789858958
[ "Apache-2.0" ]
30,023
2016-04-13T10:17:53.000Z
2020-03-02T12:56:31.000Z
homeassistant/components/ripple/__init__.py
jagadeeshvenkatesh/core
1bd982668449815fee2105478569f8e4b5670add
[ "Apache-2.0" ]
31,101
2020-03-02T13:00:16.000Z
2022-03-31T23:57:36.000Z
homeassistant/components/ripple/__init__.py
jagadeeshvenkatesh/core
1bd982668449815fee2105478569f8e4b5670add
[ "Apache-2.0" ]
11,956
2016-04-13T18:42:31.000Z
2020-03-02T09:32:12.000Z
"""The ripple component."""
14
27
0.642857
d55a7fec2efd8d806f3e68ef5a593dad286e8eeb
8,362
py
Python
synapse/cmds/hive.py
ackroute/synapse
51197f89ab372d2e357bcd054358352ecca66840
[ "Apache-2.0" ]
216
2017-01-17T18:52:50.000Z
2022-03-31T18:44:49.000Z
synapse/cmds/hive.py
ackroute/synapse
51197f89ab372d2e357bcd054358352ecca66840
[ "Apache-2.0" ]
2,189
2017-01-17T22:31:48.000Z
2022-03-31T20:41:45.000Z
synapse/cmds/hive.py
ackroute/synapse
51197f89ab372d2e357bcd054358352ecca66840
[ "Apache-2.0" ]
44
2017-01-17T16:50:57.000Z
2022-03-16T18:35:52.000Z
import os import json import shlex import pprint import asyncio import tempfile import functools import subprocess import synapse.exc as s_exc import synapse.common as s_common import synapse.lib.cmd as s_cmd import synapse.lib.cli as s_cli ListHelp = ''' Lists all the keys underneath a particular key in the hive. ...
35.2827
118
0.556565
d55b66f29d249e5be6c857b36e678994e5a67ff0
1,888
py
Python
bfmplot/colortools.py
benmaier/bfmplot
e5af40c8a90862cdb443438f0bd343bb8de5f44c
[ "MIT" ]
3
2020-07-17T15:19:48.000Z
2020-08-08T23:35:48.000Z
bfmplot/colortools.py
benmaier/bfmplot
e5af40c8a90862cdb443438f0bd343bb8de5f44c
[ "MIT" ]
null
null
null
bfmplot/colortools.py
benmaier/bfmplot
e5af40c8a90862cdb443438f0bd343bb8de5f44c
[ "MIT" ]
1
2020-10-22T12:59:58.000Z
2020-10-22T12:59:58.000Z
""" Contains methods to convert hex colors to rgb colors and to brighten/darken colors. """ import numpy as np def h2r(_hex): """ Convert a hex string to an RGB-tuple. """ if _hex.startswith('#'): l = _hex[1:] else: l = _hex return [ a/255. for a in bytes.fromhex(l) ] def r2h...
23.6
75
0.528072
d55ba82230322a219b1f4cd74baae15cd90185fa
13,815
py
Python
newscout_web/news_site/migrations/0002_auto_20190819_1230.py
rsqwerty/newscout_web
8be095cc3e1a95d6ccf5cd8c43d3f13746b263f2
[ "Apache-2.0" ]
3
2019-10-30T07:15:59.000Z
2021-12-26T20:59:05.000Z
newscout_web/news_site/migrations/0002_auto_20190819_1230.py
rsqwerty/newscout_web
8be095cc3e1a95d6ccf5cd8c43d3f13746b263f2
[ "Apache-2.0" ]
322
2019-10-30T07:12:36.000Z
2022-02-10T10:55:32.000Z
newscout_web/news_site/migrations/0002_auto_20190819_1230.py
rsqwerty/newscout_web
8be095cc3e1a95d6ccf5cd8c43d3f13746b263f2
[ "Apache-2.0" ]
7
2019-10-30T13:34:54.000Z
2021-12-27T12:08:07.000Z
# -*- coding: utf-8 -*- # Generated by Django 1.11.4 on 2019-08-19 12:30 from __future__ import unicode_literals from django.conf import settings import django.contrib.auth.validators import django.core.validators from django.db import migrations, models import django.db.models.deletion import django.utils.timezone
44.708738
317
0.573941
d55c43761228c894fc64e5f30843f83b9761d7c9
658
py
Python
Redeye(1.1).py
AkshayraviC09YC47/R3DEY3
05c2e47740263b22b5fb0fcc4cff89566a950209
[ "Apache-2.0" ]
1
2020-07-07T16:18:47.000Z
2020-07-07T16:18:47.000Z
Redeye(1.1).py
AkshayraviC09YC47/R3DEY3
05c2e47740263b22b5fb0fcc4cff89566a950209
[ "Apache-2.0" ]
null
null
null
Redeye(1.1).py
AkshayraviC09YC47/R3DEY3
05c2e47740263b22b5fb0fcc4cff89566a950209
[ "Apache-2.0" ]
null
null
null
#!usr/bin/env python3 import os import requests os.system("clear") print(""" """) print("<---------Coded By Copycat---------->") print("") url = input("[+] Site Name: ") shell_name = input("[+] Shell Name: ") while True: try: cmd_shell= "?a=" cmd = input("$ ") payload ...
21.933333
59
0.416413
d55cda12da93006ace57b91df18f253f81460e74
460
py
Python
organization/job_urls.py
opendream/asip
20583aca6393102d425401d55ea32ac6b78be048
[ "MIT" ]
null
null
null
organization/job_urls.py
opendream/asip
20583aca6393102d425401d55ea32ac6b78be048
[ "MIT" ]
8
2020-03-24T17:11:49.000Z
2022-01-13T01:18:11.000Z
organization/job_urls.py
opendream/asip
20583aca6393102d425401d55ea32ac6b78be048
[ "MIT" ]
null
null
null
from django.conf.urls import url, patterns urlpatterns = patterns('organization.views', url(r'^organization/(?P<organization_id>\d+)/job/create/$', 'job_create', name='job_create'), url(r'^job/create/$', 'job_create_standalone', name='job_create_standalone'), url(r'^job/(?P<job_id>\d+)/edit/$', 'job_edit'...
41.818182
97
0.654348
d55d9b1686825eb1a58575cb08bd3504ed4c5ca6
337
py
Python
awards/tasks.py
fgmacedo/django-awards
a5307a96f8d39abdd466eb854049dd0f7b13eaee
[ "MIT" ]
null
null
null
awards/tasks.py
fgmacedo/django-awards
a5307a96f8d39abdd466eb854049dd0f7b13eaee
[ "MIT" ]
305
2017-05-16T17:45:58.000Z
2022-03-18T07:20:22.000Z
awards/tasks.py
fgmacedo/django-awards
a5307a96f8d39abdd466eb854049dd0f7b13eaee
[ "MIT" ]
null
null
null
from celery.task import Task from ..notifications.contextmanagers import BatchNotifications
25.923077
62
0.712166
d55e1d50fdcd5b0ae9b87802278f9d5ea632048b
5,128
py
Python
py/desispec/pipeline/tasks/psfnight.py
echaussidon/desispec
8a8bd59653861509dd630ffc8e1cd6c67f6cdd51
[ "BSD-3-Clause" ]
24
2015-09-29T06:06:29.000Z
2022-01-14T07:31:45.000Z
py/desispec/pipeline/tasks/psfnight.py
echaussidon/desispec
8a8bd59653861509dd630ffc8e1cd6c67f6cdd51
[ "BSD-3-Clause" ]
1,452
2015-02-26T00:14:23.000Z
2022-03-31T23:35:10.000Z
py/desispec/pipeline/tasks/psfnight.py
echaussidon/desispec
8a8bd59653861509dd630ffc8e1cd6c67f6cdd51
[ "BSD-3-Clause" ]
25
2015-02-06T21:39:13.000Z
2022-02-22T14:16:31.000Z
# # See top-level LICENSE.rst file for Copyright information # # -*- coding: utf-8 -*- from __future__ import absolute_import, division, print_function from collections import OrderedDict from ..defs import (task_name_sep, task_state_to_int, task_int_to_state) from ...util import option_list from ...io import find...
32.66242
142
0.582878
d55eab7fd5f16ed25a0e81651ee54d23764c963e
150
py
Python
octopus/config/NEO_EXPLORER.py
ZarvisD/octopus
3e238721fccfec69a69a1635b8a0dc485e525e69
[ "MIT" ]
2
2019-01-19T07:12:02.000Z
2021-08-14T13:23:37.000Z
octopus/config/NEO_EXPLORER.py
ZarvisD/octopus
3e238721fccfec69a69a1635b8a0dc485e525e69
[ "MIT" ]
null
null
null
octopus/config/NEO_EXPLORER.py
ZarvisD/octopus
3e238721fccfec69a69a1635b8a0dc485e525e69
[ "MIT" ]
1
2019-01-19T07:12:05.000Z
2019-01-19T07:12:05.000Z
NEO_HOST = "seed3.neo.org" MAINNET_HTTP_RPC_PORT = 10332 MAINNET_HTTPS_RPC_PORT = 10331 TESTNET_HTTP_RPC_PORT = 20332 TESTNET_HTTPS_RPC_PORT = 20331
21.428571
30
0.833333
d55ecdd36992a28fb470a18a8005d9df4ba25380
1,141
py
Python
Project_Euler/10_sum_primes_2000000/find_sum.py
perlygatekeeper/glowing-robot
7ef5eb089f552a1de309092606c95e805e6723a0
[ "Artistic-2.0" ]
2
2015-06-05T15:40:06.000Z
2020-03-19T17:08:37.000Z
Project_Euler/10_sum_primes_2000000/find_sum.py
perlygatekeeper/glowing-robot
7ef5eb089f552a1de309092606c95e805e6723a0
[ "Artistic-2.0" ]
null
null
null
Project_Euler/10_sum_primes_2000000/find_sum.py
perlygatekeeper/glowing-robot
7ef5eb089f552a1de309092606c95e805e6723a0
[ "Artistic-2.0" ]
null
null
null
#!/opt/local/bin/python import timeit import time import sys limit = 2000000 print("Finding sum of primes below %d" % (limit)) start_time = timeit.default_timer() (the_sum, primes) = sieveOfSundaram(limit) print("the sum is %d" % ( the_sum ) ) # primes list indexed starting with 0 print(timeit.default_timer() - star...
27.166667
75
0.534619
d561a4358751853a43b858854e0ddacafff4f534
1,895
py
Python
public/images/articles/automate-your-style/graph.py
twolfson/twolfson.com
f7a76784f97e1bac3fe2e09815f2b5d76dda3239
[ "MIT" ]
10
2015-01-08T15:36:18.000Z
2020-09-26T13:46:32.000Z
public/images/articles/automate-your-style/graph.py
twolfson/twolfson.com
f7a76784f97e1bac3fe2e09815f2b5d76dda3239
[ "MIT" ]
14
2015-09-28T08:25:07.000Z
2016-11-02T06:21:34.000Z
public/images/articles/automate-your-style/graph.py
twolfson/twolfson.com
f7a76784f97e1bac3fe2e09815f2b5d76dda3239
[ "MIT" ]
3
2016-01-16T15:56:20.000Z
2017-07-23T12:58:39.000Z
# Load in our dependencies # Forking from http://matplotlib.org/xkcd/examples/showcase/xkcd.html from matplotlib import pyplot import numpy """ Comments on PRs about style 20 | --------\ | | | | | | | | 1 | \--\ 0 | ------- ------------------...
27.071429
115
0.608443
d56289df74f4674cf5abeb1309158e1e0a013342
457
py
Python
class1/class_1_yaml.py
daveg999/Automation_class
d23652ecae56b790684971dda6e85a1d2367e22b
[ "Apache-2.0" ]
null
null
null
class1/class_1_yaml.py
daveg999/Automation_class
d23652ecae56b790684971dda6e85a1d2367e22b
[ "Apache-2.0" ]
null
null
null
class1/class_1_yaml.py
daveg999/Automation_class
d23652ecae56b790684971dda6e85a1d2367e22b
[ "Apache-2.0" ]
null
null
null
import yaml import json yaml_list = range(5) yaml_list.append('string1') yaml_list.append('string2') yaml_list.append({}) yaml_list[-1] {} yaml_list[-1]['critter1'] = 'hedgehog' yaml_list[-1]['critter2'] = 'bunny' yaml_list[-1]['dungeon_levels'] = range(5) yaml_list.append('list_end') with open("class1_list.yml", "w"...
21.761905
57
0.706783
d564cb51b33bc55213dfe9dbf9c99c0386c1608f
402
py
Python
ch05/first.n.squares.manual.method.py
ibiscum/Learn-Python-Programming-Third-Edition
c8e0061e97b16c9b55250cc720a8bc7613cb6cca
[ "MIT" ]
null
null
null
ch05/first.n.squares.manual.method.py
ibiscum/Learn-Python-Programming-Third-Edition
c8e0061e97b16c9b55250cc720a8bc7613cb6cca
[ "MIT" ]
null
null
null
ch05/first.n.squares.manual.method.py
ibiscum/Learn-Python-Programming-Third-Edition
c8e0061e97b16c9b55250cc720a8bc7613cb6cca
[ "MIT" ]
null
null
null
# first.n.squares.manual.method.py squares = get_squares_gen(3) print(squares.__next__()) # prints: 0 print(squares.__next__()) # prints: 1 print(squares.__next__()) # prints: 4 # the following raises StopIteration, the generator is exhausted, # any further call to next will keep raising StopIteration print(square...
28.714286
65
0.723881
d5675b3789a7238a94e6d0ec1c781776af8848b8
3,737
py
Python
products/admin.py
silver-whale-enterprises-llc/amzproduzer
25e63f64b0ef09241475c72af9a710dcb7d9e926
[ "Apache-2.0" ]
1
2019-07-22T14:03:11.000Z
2019-07-22T14:03:11.000Z
products/admin.py
silver-whale-enterprises-llc/amzproduzer
25e63f64b0ef09241475c72af9a710dcb7d9e926
[ "Apache-2.0" ]
null
null
null
products/admin.py
silver-whale-enterprises-llc/amzproduzer
25e63f64b0ef09241475c72af9a710dcb7d9e926
[ "Apache-2.0" ]
null
null
null
import csv from django.contrib import admin from django.forms import ModelForm from django.http import HttpRequest from products.models import AmazonCategory, AmazonProductListing from products.tasks import process_inventory_upload from products.utils import find_price_col_index, save_status, find_identifier_col_inde...
32.780702
113
0.613059
d56fd836050b26c8b6384555a79574597fcc5e6a
197
py
Python
pyCLI/main.py
tillstud/spotirss
407dbdcc1e625527fec041bd07a19bf4ac456817
[ "MIT" ]
null
null
null
pyCLI/main.py
tillstud/spotirss
407dbdcc1e625527fec041bd07a19bf4ac456817
[ "MIT" ]
null
null
null
pyCLI/main.py
tillstud/spotirss
407dbdcc1e625527fec041bd07a19bf4ac456817
[ "MIT" ]
null
null
null
from pyCLI.config import Config from pyCLI.logging import logger
24.625
71
0.741117
d572ea68caef2b7338a29025f406b9ba5ae03a5f
3,164
py
Python
tests/Output/__init__.py
FreekDS/git-ci-analyzer
33e179ea2e569a9df3aefee40b96e5ff6d70da1f
[ "MIT" ]
1
2022-01-16T16:18:59.000Z
2022-01-16T16:18:59.000Z
tests/Output/__init__.py
FreekDS/git-ci-analyzer
33e179ea2e569a9df3aefee40b96e5ff6d70da1f
[ "MIT" ]
null
null
null
tests/Output/__init__.py
FreekDS/git-ci-analyzer
33e179ea2e569a9df3aefee40b96e5ff6d70da1f
[ "MIT" ]
null
null
null
import pytest from analyzer.config import LATE_MERGING, SKIP_FAILING_TESTS, SLOW_BUILD, BROKEN_RELEASE
26.366667
88
0.469343
d574fc52182f76e129c8ec44d9cbcfde16ecf130
513
py
Python
app/apps/taskker/migrations/0013_auto_20200703_1530.py
calinbule/taskker
0dbe5a238c9ca231abd7c9a78931fd0c6523453d
[ "MIT" ]
null
null
null
app/apps/taskker/migrations/0013_auto_20200703_1530.py
calinbule/taskker
0dbe5a238c9ca231abd7c9a78931fd0c6523453d
[ "MIT" ]
3
2021-06-04T23:32:25.000Z
2021-09-22T19:21:20.000Z
app/apps/taskker/migrations/0013_auto_20200703_1530.py
calinbule/taskker
0dbe5a238c9ca231abd7c9a78931fd0c6523453d
[ "MIT" ]
null
null
null
# Generated by Django 3.0.7 on 2020-07-03 15:30 from django.db import migrations, models
27
177
0.594542
d57698c6c78a214bdc3e21206cf0cac8e0f389e4
21,498
py
Python
fhir/resources/specimendefinition.py
chgl/fhir.resources
35b22314642640c0b25960ab5b2855e7c51749ef
[ "BSD-3-Clause" ]
null
null
null
fhir/resources/specimendefinition.py
chgl/fhir.resources
35b22314642640c0b25960ab5b2855e7c51749ef
[ "BSD-3-Clause" ]
null
null
null
fhir/resources/specimendefinition.py
chgl/fhir.resources
35b22314642640c0b25960ab5b2855e7c51749ef
[ "BSD-3-Clause" ]
null
null
null
# -*- coding: utf-8 -*- """ Profile: http://hl7.org/fhir/StructureDefinition/SpecimenDefinition Release: R4 Version: 4.0.1 Build ID: 9346c8cc45 Last updated: 2019-11-01T09:29:23.356+11:00 """ import typing from pydantic import Field, root_validator from pydantic.error_wrappers import ErrorWrapper, ValidationError from...
38.389286
93
0.634199
d576c12c0ca80e35e6f43cee787a2cfd1e8bfe55
8,415
py
Python
binlin/model/syn/sympairs_newenc.py
UKPLab/inlg2019-revisiting-binlin
250196403ee4050cac78c547add90087ea04243f
[ "Apache-2.0" ]
1
2021-12-15T08:44:35.000Z
2021-12-15T08:44:35.000Z
binlin/model/syn/sympairs_newenc.py
UKPLab/inlg2019-revisiting-binlin
250196403ee4050cac78c547add90087ea04243f
[ "Apache-2.0" ]
3
2021-03-19T04:07:44.000Z
2022-01-13T01:40:50.000Z
binlin/model/syn/sympairs_newenc.py
UKPLab/inlg2019-revisiting-binlin
250196403ee4050cac78c547add90087ea04243f
[ "Apache-2.0" ]
null
null
null
import logging from typing import Dict, List, Tuple, Union import numpy as np import torch import torch.nn.functional as F from networkx import DiGraph from torch import Tensor, nn as nn from torch.autograd.variable import Variable from binlin.data.ud import index_data from binlin.model.nn_utils import get_embed_matr...
40.456731
122
0.651337
d576c1660c434219aa62d4d9116e13d2df8e9624
1,563
py
Python
mazeChallenge/nicolovescera_tommasoromani_nicoloposta/data_analyzer.py
NicoloPosta/pybootcamp-challenges
c20a44df413a6adc6e18c7052cf55bdbf760838c
[ "Apache-2.0" ]
null
null
null
mazeChallenge/nicolovescera_tommasoromani_nicoloposta/data_analyzer.py
NicoloPosta/pybootcamp-challenges
c20a44df413a6adc6e18c7052cf55bdbf760838c
[ "Apache-2.0" ]
null
null
null
mazeChallenge/nicolovescera_tommasoromani_nicoloposta/data_analyzer.py
NicoloPosta/pybootcamp-challenges
c20a44df413a6adc6e18c7052cf55bdbf760838c
[ "Apache-2.0" ]
null
null
null
from plotter import load_data import pandas as pd import matplotlib.pyplot as plt import numpy as np # Stampa il dataframe passatogli come istogramma # Conta il totale delle celle e il colore # Stampa a video gli istogrammi, se invocata con True confronta le due distribuzioni nei relativi istogrammi
30.057692
108
0.651951
d57d0a31e680bead64fbb6304d9ea92f18b64649
1,281
py
Python
complex_data_structure/7_map_filter_reduce.py
hardikid/learn-python
6b3684c9d459dc10ed41e3328daf49313a34b375
[ "MIT" ]
1
2019-11-19T11:42:50.000Z
2019-11-19T11:42:50.000Z
complex_data_structure/7_map_filter_reduce.py
hardikid/learn-python
6b3684c9d459dc10ed41e3328daf49313a34b375
[ "MIT" ]
5
2021-08-23T20:36:02.000Z
2022-02-03T13:20:23.000Z
complex_data_structure/7_map_filter_reduce.py
ihardik/learn-python
6b3684c9d459dc10ed41e3328daf49313a34b375
[ "MIT" ]
null
null
null
######## map # Transform each object of list # i.e. multiple each object by 3 in [0,1,2,3] x = range(5) print(list(x)) y = map(lambda x: x*3,x) print(list(y)) y = map(multiply_5,x) print(list(y)) ######## filter # Removed items from list based on condition y = filter(lambda i: i%2==0, x) print(list(y)) ...
16.0125
66
0.558938
d57e965e9de5274c6fa912c32713dec8917703fa
10,781
py
Python
venv/lib/python3.8/site-packages/ansible_collections/community/crypto/plugins/module_utils/acme/challenges.py
saeedya/docker-ansible
6fb0cfc6bc4a5925b21380952a5a4502ec02119a
[ "Apache-2.0" ]
null
null
null
venv/lib/python3.8/site-packages/ansible_collections/community/crypto/plugins/module_utils/acme/challenges.py
saeedya/docker-ansible
6fb0cfc6bc4a5925b21380952a5a4502ec02119a
[ "Apache-2.0" ]
null
null
null
venv/lib/python3.8/site-packages/ansible_collections/community/crypto/plugins/module_utils/acme/challenges.py
saeedya/docker-ansible
6fb0cfc6bc4a5925b21380952a5a4502ec02119a
[ "Apache-2.0" ]
null
null
null
# -*- coding: utf-8 -*- # Copyright: (c) 2016 Michael Gruener <michael.gruener@chaosmoon.net> # Copyright: (c) 2021 Felix Fontein <felix@fontein.de> # 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...
35.580858
127
0.602727
d57eb3183cea1c9fed2cc78a667014a3b96be463
115
py
Python
example/order_scope_level/feature2/test_b.py
DevilXD/pytest-order
88685d802cb18bf04f72d0e8ec484d56bb3473d3
[ "MIT" ]
41
2021-03-16T07:57:00.000Z
2022-03-01T10:02:10.000Z
example/order_scope_level/feature2/test_b.py
DevilXD/pytest-order
88685d802cb18bf04f72d0e8ec484d56bb3473d3
[ "MIT" ]
39
2021-03-04T16:50:04.000Z
2022-02-18T18:51:14.000Z
example/order_scope_level/feature2/test_b.py
DevilXD/pytest-order
88685d802cb18bf04f72d0e8ec484d56bb3473d3
[ "MIT" ]
9
2021-03-04T18:27:12.000Z
2021-12-16T06:46:13.000Z
import pytest
9.583333
21
0.669565
d57fd865a85ee217ca78b18a3c2f824a1af7f759
31,890
py
Python
locate_lane_lines.py
StoicLobster/Udacity-SelfDrivingCar-T1P4
2425cc5859861af9add86f6b3c42c2dd1faf0560
[ "MIT" ]
null
null
null
locate_lane_lines.py
StoicLobster/Udacity-SelfDrivingCar-T1P4
2425cc5859861af9add86f6b3c42c2dd1faf0560
[ "MIT" ]
null
null
null
locate_lane_lines.py
StoicLobster/Udacity-SelfDrivingCar-T1P4
2425cc5859861af9add86f6b3c42c2dd1faf0560
[ "MIT" ]
null
null
null
## This script will define the functions used in the locate lane lines pipeline ## The end of this script will process a video file to locate and plot the lane lines import pickle import numpy as np import cv2 import matplotlib.pyplot as plt import matplotlib.image as mpimg from moviepy.editor import VideoFileClip imp...
46.28447
314
0.648448
d5807ccd0fe241a944ff08bce957e0086ab7a9c8
3,772
py
Python
platforms/aws.py
HyechurnJang/c3mon
f5e053141372d39684e192e7c6d956125109b3c1
[ "Apache-2.0" ]
null
null
null
platforms/aws.py
HyechurnJang/c3mon
f5e053141372d39684e192e7c6d956125109b3c1
[ "Apache-2.0" ]
null
null
null
platforms/aws.py
HyechurnJang/c3mon
f5e053141372d39684e192e7c6d956125109b3c1
[ "Apache-2.0" ]
null
null
null
# -*- coding: utf-8 -*- ''' Created on 2017. 12. 22. @author: HyechurnJang ''' import boto3 from datetime import datetime, timedelta
35.252336
83
0.391835
d58122ce2f5990ff0998eb5aff14ea21851d770b
1,700
py
Python
experimental/language_structure/vrnn/experiments/linear_vrnn/multiwoz_synth_bert.py
BlackHC/uncertainty-baselines
1a28be3e41e14d8ab74dfa1e3eed15f113718f03
[ "Apache-2.0" ]
null
null
null
experimental/language_structure/vrnn/experiments/linear_vrnn/multiwoz_synth_bert.py
BlackHC/uncertainty-baselines
1a28be3e41e14d8ab74dfa1e3eed15f113718f03
[ "Apache-2.0" ]
null
null
null
experimental/language_structure/vrnn/experiments/linear_vrnn/multiwoz_synth_bert.py
BlackHC/uncertainty-baselines
1a28be3e41e14d8ab74dfa1e3eed15f113718f03
[ "Apache-2.0" ]
null
null
null
# coding=utf-8 # Copyright 2022 The Uncertainty Baselines 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 ap...
32.692308
121
0.704706
d581520a36615c52af59cc8c463ee9a8af5f732e
1,201
py
Python
src/ufdl/json/core/filter/_FilterSpec.py
waikato-ufdl/ufdl-json-messages
408901bdf79aa9ae7cff1af165deee83e62f6088
[ "Apache-2.0" ]
null
null
null
src/ufdl/json/core/filter/_FilterSpec.py
waikato-ufdl/ufdl-json-messages
408901bdf79aa9ae7cff1af165deee83e62f6088
[ "Apache-2.0" ]
null
null
null
src/ufdl/json/core/filter/_FilterSpec.py
waikato-ufdl/ufdl-json-messages
408901bdf79aa9ae7cff1af165deee83e62f6088
[ "Apache-2.0" ]
null
null
null
from typing import List from wai.json.object import StrictJSONObject from wai.json.object.property import ArrayProperty, OneOfProperty, BoolProperty from .field import * from .logical import * from ._FilterExpression import FilterExpression from ._OrderBy import OrderBy
30.025
79
0.677769
d582ca9816237ee2b7fbc9eac1fc86001c97f980
290
py
Python
basecam/__init__.py
sdss/baseCam
d5222f2c93df8e5b6ef894f32eca28b1cd3b3616
[ "BSD-3-Clause" ]
null
null
null
basecam/__init__.py
sdss/baseCam
d5222f2c93df8e5b6ef894f32eca28b1cd3b3616
[ "BSD-3-Clause" ]
18
2020-01-13T20:57:48.000Z
2021-06-22T14:43:16.000Z
basecam/__init__.py
sdss/basecam
526f8be1b7c83e087e8f78484e63ba18531dce87
[ "BSD-3-Clause" ]
null
null
null
# encoding: utf-8 # flake8: noqa from sdsstools import get_package_version NAME = "sdss-basecam" __version__ = get_package_version(__file__, "sdss-basecam") or "dev" from .camera import * from .events import * from .exceptions import * from .exposure import * from .notifier import *
17.058824
68
0.748276
d5837ed5c9e1f4853a3b61828f36313098836798
571
py
Python
temboo/core/Library/Wordnik/Account/__init__.py
jordanemedlock/psychtruths
52e09033ade9608bd5143129f8a1bfac22d634dd
[ "Apache-2.0" ]
7
2016-03-07T02:07:21.000Z
2022-01-21T02:22:41.000Z
temboo/core/Library/Wordnik/Account/__init__.py
jordanemedlock/psychtruths
52e09033ade9608bd5143129f8a1bfac22d634dd
[ "Apache-2.0" ]
null
null
null
temboo/core/Library/Wordnik/Account/__init__.py
jordanemedlock/psychtruths
52e09033ade9608bd5143129f8a1bfac22d634dd
[ "Apache-2.0" ]
8
2016-06-14T06:01:11.000Z
2020-04-22T09:21:44.000Z
from temboo.Library.Wordnik.Account.GetAuthToken import GetAuthToken, GetAuthTokenInputSet, GetAuthTokenResultSet, GetAuthTokenChoreographyExecution from temboo.Library.Wordnik.Account.GetKeyStatus import GetKeyStatus, GetKeyStatusInputSet, GetKeyStatusResultSet, GetKeyStatusChoreographyExecution from temboo.Library.Wo...
114.2
148
0.901926
d5838d0257d9eb7381eaac633cc981dbc3c1bfec
9,691
py
Python
transpose-alsaseq.py
zubilewiczm/transpose
82cfc256555150cec7772584ab5699434f5d94fd
[ "MIT" ]
null
null
null
transpose-alsaseq.py
zubilewiczm/transpose
82cfc256555150cec7772584ab5699434f5d94fd
[ "MIT" ]
null
null
null
transpose-alsaseq.py
zubilewiczm/transpose
82cfc256555150cec7772584ab5699434f5d94fd
[ "MIT" ]
null
null
null
from transpose import * import alsaseq import alsamidi import random # Requires https://github.com/ppaez/alsaseq package. alsaseq.client("pyTranspose", 0, 1, True)
39.555102
79
0.53947
d583e428836551045c331cfd1d586014de193689
9,585
py
Python
condor_parser.py
ASchidler/pace17
755e9d652c7d4d9dd1f71fb508ebf773efee8488
[ "MIT" ]
1
2019-01-15T16:58:03.000Z
2019-01-15T16:58:03.000Z
condor_parser.py
ASchidler/pace17
755e9d652c7d4d9dd1f71fb508ebf773efee8488
[ "MIT" ]
null
null
null
condor_parser.py
ASchidler/pace17
755e9d652c7d4d9dd1f71fb508ebf773efee8488
[ "MIT" ]
null
null
null
import os import sys from collections import defaultdict import re import pandas as pd import matplotlib.pyplot as plt def parse_watcher(path, instance): """Parses the condor watcher file""" f = open(path, "r") for line in f: if line.startswith("Real time"): instance.runtime = floa...
32.491525
119
0.592593
d585f8540e934ba68420f975699c9080a2e5b0cd
100,242
py
Python
apps/vtktools/vtkToolsGUI.py
rboman/progs
c60b4e0487d01ccd007bcba79d1548ebe1685655
[ "Apache-2.0" ]
2
2021-12-12T13:26:06.000Z
2022-03-03T16:14:53.000Z
apps/vtktools/vtkToolsGUI.py
rboman/progs
c60b4e0487d01ccd007bcba79d1548ebe1685655
[ "Apache-2.0" ]
5
2019-03-01T07:08:46.000Z
2019-04-28T07:32:42.000Z
apps/vtktools/vtkToolsGUI.py
rboman/progs
c60b4e0487d01ccd007bcba79d1548ebe1685655
[ "Apache-2.0" ]
2
2017-12-13T13:13:52.000Z
2019-03-13T20:08:15.000Z
#! /usr/bin/env python3 # -*- coding: utf-8; -*- # # vtkToolsGUI - VTK/Tk/Python interface by RoBo - modified by vidot # - modified by MM to create a distributable exe independent of Metafor # jan 2019: # F:\src\VTK-7.1.0\Wrapping\Python\vtk\tk\vtkLoadPythonTkWidgets.py # change "vtkCommonCorePython" => "vtk.vtkComm...
41.7675
159
0.573412
d58748147e2304d51e1ae95549251daa443eaa7d
45,013
py
Python
Element.py
darinpeetz/Phase_Field
f7169dadbe6f94ed85613da130104fc318358224
[ "MIT" ]
2
2020-05-28T22:01:49.000Z
2021-09-10T02:23:04.000Z
Element.py
darinpeetz/Phase_Field
f7169dadbe6f94ed85613da130104fc318358224
[ "MIT" ]
null
null
null
Element.py
darinpeetz/Phase_Field
f7169dadbe6f94ed85613da130104fc318358224
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- """ Created on Sun Jun 17 14:03:42 2018 @author: Darin """ import numpy as np from matplotlib.patches import Polygon
38.837791
135
0.459601
d588539983a2e180d430faf9156fe49f7c14386f
372
py
Python
server/tests/test_env.py
amiralis1365/cards-game
db44eaefd0c10c7876be52e97534f7e4201c9581
[ "CNRI-Python" ]
null
null
null
server/tests/test_env.py
amiralis1365/cards-game
db44eaefd0c10c7876be52e97534f7e4201c9581
[ "CNRI-Python" ]
null
null
null
server/tests/test_env.py
amiralis1365/cards-game
db44eaefd0c10c7876be52e97534f7e4201c9581
[ "CNRI-Python" ]
null
null
null
"""Sanity test environment setup.""" import os.path from django.conf import settings from django.test import TestCase
24.8
66
0.701613
d5887287725e2e8a0b6a2fd0c2f42b466eaaa2d4
1,705
py
Python
iglovikov_helper_functions/utils/inpainting_utils.py
AIChuY/iglovikov_helper_functions
46383c7a8b0f8dbdbf7907e119b6c2417877ad33
[ "MIT" ]
46
2019-09-21T02:05:50.000Z
2022-01-02T10:27:56.000Z
iglovikov_helper_functions/utils/inpainting_utils.py
AIChuY/iglovikov_helper_functions
46383c7a8b0f8dbdbf7907e119b6c2417877ad33
[ "MIT" ]
9
2020-04-05T01:19:56.000Z
2021-08-02T16:53:18.000Z
iglovikov_helper_functions/utils/inpainting_utils.py
AIChuY/iglovikov_helper_functions
46383c7a8b0f8dbdbf7907e119b6c2417877ad33
[ "MIT" ]
14
2019-09-21T02:54:17.000Z
2022-02-28T11:58:34.000Z
import math import random from typing import Tuple import cv2 import numpy as np
28.898305
99
0.629912
d588f6a87c411fe8a97c1726c5e01863027c6a64
2,393
py
Python
tests/tester/test_tester.py
Rajpratik71/workload-collocation-agent
6cf7bdab97ff61d85c21c3effecea632a225c668
[ "Apache-2.0" ]
40
2019-05-16T16:42:33.000Z
2021-11-18T06:33:03.000Z
tests/tester/test_tester.py
Rajpratik71/workload-collocation-agent
6cf7bdab97ff61d85c21c3effecea632a225c668
[ "Apache-2.0" ]
72
2019-05-09T02:30:25.000Z
2020-11-17T09:24:44.000Z
tests/tester/test_tester.py
Rajpratik71/workload-collocation-agent
6cf7bdab97ff61d85c21c3effecea632a225c668
[ "Apache-2.0" ]
26
2019-05-20T09:13:38.000Z
2021-12-15T17:57:21.000Z
# Copyright (c) 2019 Intel Corporation # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in w...
35.191176
74
0.708734
d5892906d499f0f5a6f042d091d257df411e9d0c
31,503
py
Python
etl/parsers/etw/Microsoft_Windows_USB_USBHUB.py
IMULMUL/etl-parser
76b7c046866ce0469cd129ee3f7bb3799b34e271
[ "Apache-2.0" ]
104
2020-03-04T14:31:31.000Z
2022-03-28T02:59:36.000Z
etl/parsers/etw/Microsoft_Windows_USB_USBHUB.py
IMULMUL/etl-parser
76b7c046866ce0469cd129ee3f7bb3799b34e271
[ "Apache-2.0" ]
7
2020-04-20T09:18:39.000Z
2022-03-19T17:06:19.000Z
etl/parsers/etw/Microsoft_Windows_USB_USBHUB.py
IMULMUL/etl-parser
76b7c046866ce0469cd129ee3f7bb3799b34e271
[ "Apache-2.0" ]
16
2020-03-05T18:55:59.000Z
2022-03-01T10:19:28.000Z
# -*- coding: utf-8 -*- """ Microsoft-Windows-USB-USBHUB GUID : 7426a56b-e2d5-4b30-bdef-b31815c1a74a """ from construct import Int8sl, Int8ul, Int16ul, Int16sl, Int32sl, Int32ul, Int64sl, Int64ul, Bytes, Double, Float32l, Struct from etl.utils import WString, CString, SystemTime, Guid from etl.dtyp import Sid from etl....
29.917379
123
0.669301
d5894d927b0277f7ba467a9bda0d567ef57efa68
678
py
Python
tests/testapp/models/caretaker.py
BBooijLiewes/django-binder
b5bf0aad14657fd57d575f9a0ef21468533f64a7
[ "MIT" ]
null
null
null
tests/testapp/models/caretaker.py
BBooijLiewes/django-binder
b5bf0aad14657fd57d575f9a0ef21468533f64a7
[ "MIT" ]
null
null
null
tests/testapp/models/caretaker.py
BBooijLiewes/django-binder
b5bf0aad14657fd57d575f9a0ef21468533f64a7
[ "MIT" ]
null
null
null
from django.db import models from django.db.models import Count, F, Max from binder.models import BinderModel
28.25
108
0.731563
d58b4673e8699aa22b8c8f9e9c79b3d6ac592f80
292
py
Python
blog/2017-12-17--python-ssh-logger/scripts/create_threads.py
mpolinowski/gatsby-starter-minimal-blog
cdb628357e806be211c3220bfb7b50ac0c204a6c
[ "MIT" ]
1
2020-10-20T16:39:11.000Z
2020-10-20T16:39:11.000Z
blog/2017-12-17--python-ssh-logger/scripts/create_threads.py
mpolinowski/gatsby-starter-minimal-blog
cdb628357e806be211c3220bfb7b50ac0c204a6c
[ "MIT" ]
null
null
null
blog/2017-12-17--python-ssh-logger/scripts/create_threads.py
mpolinowski/gatsby-starter-minimal-blog
cdb628357e806be211c3220bfb7b50ac0c204a6c
[ "MIT" ]
null
null
null
import threading # Create threads for each SSH connection
20.857143
62
0.59589
d58c1422d124dbf9b76d6fdfb103b78c63395525
1,129
py
Python
generate_csv.py
KishanChandravanshi/forecast-cyclone-path
766bb8440206b24d34ccd0eae488e2651d4e0467
[ "MIT" ]
null
null
null
generate_csv.py
KishanChandravanshi/forecast-cyclone-path
766bb8440206b24d34ccd0eae488e2651d4e0467
[ "MIT" ]
null
null
null
generate_csv.py
KishanChandravanshi/forecast-cyclone-path
766bb8440206b24d34ccd0eae488e2651d4e0467
[ "MIT" ]
null
null
null
import cv2 from darkflow.net.build import TFNet import numpy as np import glob import matplotlib.pyplot as plt options = { 'model': 'cfg/yolo-v2.cfg', 'load':8375, 'gpu':0.8, 'threshold':0.1 } count = 1 tfnet = TFNet(options) color = [0, 255, 0] files_path = glob.glob('data_from_imd' + "\\*.jpg") for file in files_path...
33.205882
92
0.583702
d58d822662d574ca4045a6e27ecef06bb1dab250
1,421
py
Python
weibo/items.py
flyhighfairy/weibo
469f21543facaba828fa7c0ad0dd8da130192fba
[ "MIT" ]
1
2018-01-23T19:36:27.000Z
2018-01-23T19:36:27.000Z
weibo/items.py
flyhighfairy/weibo
469f21543facaba828fa7c0ad0dd8da130192fba
[ "MIT" ]
null
null
null
weibo/items.py
flyhighfairy/weibo
469f21543facaba828fa7c0ad0dd8da130192fba
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- # Define here the models for your scraped items # # See documentation in: # http://doc.scrapy.org/en/latest/topics/items.html import scrapy
30.891304
137
0.63969
d58eecd34de9c6681c2ee538dc026e2a42c6715b
4,284
py
Python
examples/acoustics/vibro_acoustic3d.py
clazaro/sfepy
78757a6989d6aaf85a3fb27957b9179c5e2aa2c7
[ "BSD-3-Clause" ]
1
2021-05-15T16:28:45.000Z
2021-05-15T16:28:45.000Z
examples/acoustics/vibro_acoustic3d.py
clazaro/sfepy
78757a6989d6aaf85a3fb27957b9179c5e2aa2c7
[ "BSD-3-Clause" ]
null
null
null
examples/acoustics/vibro_acoustic3d.py
clazaro/sfepy
78757a6989d6aaf85a3fb27957b9179c5e2aa2c7
[ "BSD-3-Clause" ]
null
null
null
r""" Vibro-acoustic problem 3D acoustic domain with 2D perforated deforming interface. *Master problem*: defined in 3D acoustic domain (``vibro_acoustic3d.py``) *Slave subproblem*: 2D perforated interface (``vibro_acoustic3d_mid.py``) Master 3D problem - find :math:`p` (acoustic pressure) and :math:`g` (transversal...
29.544828
73
0.538749
d590b2e41df4cf47a10f9711b5f682f57ac29747
62
py
Python
lib/__init__.py
co9olguy/Generating-and-designing-DNA
7dab87a1002790d37e929c5542f9761ae7d16416
[ "Unlicense" ]
32
2018-04-29T22:34:43.000Z
2022-03-14T05:54:25.000Z
lib/__init__.py
co9olguy/Generating-and-designing-DNA
7dab87a1002790d37e929c5542f9761ae7d16416
[ "Unlicense" ]
3
2019-04-02T07:05:34.000Z
2022-02-18T17:34:03.000Z
lib/__init__.py
co9olguy/Generating-and-designing-DNA
7dab87a1002790d37e929c5542f9761ae7d16416
[ "Unlicense" ]
11
2018-05-25T09:31:37.000Z
2021-12-13T17:58:29.000Z
from .utils import * from .models import * from .dna import *
15.5
21
0.709677
d5911080649fbef3f58c84aa754a86cb5bf6ca4d
2,098
py
Python
src/app/forms.py
triump0870/i2a
bc4b9e7615d645b153a4df5a37d3e088a2ed47b7
[ "MIT" ]
null
null
null
src/app/forms.py
triump0870/i2a
bc4b9e7615d645b153a4df5a37d3e088a2ed47b7
[ "MIT" ]
null
null
null
src/app/forms.py
triump0870/i2a
bc4b9e7615d645b153a4df5a37d3e088a2ed47b7
[ "MIT" ]
null
null
null
from django import forms from app.models import Application, Owner, Questionnaire, Tag, Rule, TagType from crispy_forms.bootstrap import Field from crispy_forms.helper import FormHelper from crispy_forms.layout import Layout, Submit, ButtonHolder, Fieldset, Hidden, HTML
31.313433
120
0.604862
d591a35f1a2c7e8df082016293ac3874fbf0a395
495
py
Python
rest_api/mongo_connect.py
pssudo/kubernetes-fastapi
87592c90fd09e587196674592b2dbdc4bc7a64ce
[ "MIT" ]
1
2021-03-21T04:18:58.000Z
2021-03-21T04:18:58.000Z
rest_api/mongo_connect.py
pssudo/kubernetes-fastapi
87592c90fd09e587196674592b2dbdc4bc7a64ce
[ "MIT" ]
null
null
null
rest_api/mongo_connect.py
pssudo/kubernetes-fastapi
87592c90fd09e587196674592b2dbdc4bc7a64ce
[ "MIT" ]
null
null
null
import motor.motor_asyncio import os mongo_server = os.environ['DB_HOST'] mongo_port = os.environ['DB_PORT'] mongo_db = os.environ['DB_NAME'] mongo_user = os.environ['DB_USER'] mongo_passwd = os.environ['DB_PASSWD'] MONGO_DETAILS = "mongodb://" + mongo_user + ":" + mongo_passwd + "@" + mongo_server + ":" + mongo_port +...
45
125
0.759596
d5941de181d766fe9b1b45b29107028645c7d1ae
512
py
Python
cloudmesh/pi/water.py
cloudmesh/cloudmesh.pi
bdf706b3763031341c41b811749064c293e73c14
[ "Apache-2.0" ]
2
2017-09-18T00:56:36.000Z
2018-06-01T23:41:23.000Z
cloudmesh/pi/water.py
cloudmesh/cloudmesh-pi
bdf706b3763031341c41b811749064c293e73c14
[ "Apache-2.0" ]
1
2018-04-16T18:37:17.000Z
2018-04-16T18:37:17.000Z
cloudmesh/pi/water.py
cloudmesh/cloudmesh.pi
bdf706b3763031341c41b811749064c293e73c14
[ "Apache-2.0" ]
3
2017-09-20T11:13:54.000Z
2017-11-30T23:48:37.000Z
import time import grovepi if __name__ == "__main__": ws = WaterSensor() water = ws.get() print(water)
19.692308
54
0.564453
d594390832d9d4fefb61b67618c808b718384226
928
py
Python
telethon/network/connection/tcpabridged.py
s3mple/Telethon
476bbdd6a1fb6f917adf9204e6cd825b008dd9c1
[ "MIT" ]
1
2018-10-07T08:31:49.000Z
2018-10-07T08:31:49.000Z
telethon/network/connection/tcpabridged.py
s3mple/Telethon
476bbdd6a1fb6f917adf9204e6cd825b008dd9c1
[ "MIT" ]
null
null
null
telethon/network/connection/tcpabridged.py
s3mple/Telethon
476bbdd6a1fb6f917adf9204e6cd825b008dd9c1
[ "MIT" ]
1
2018-09-05T14:59:27.000Z
2018-09-05T14:59:27.000Z
import struct from .tcpfull import ConnectionTcpFull
29
71
0.595905
d5959b570e07360b0fe5902da6068315badc51ef
1,274
py
Python
app/core/tests/test_models.py
ahmedgamalmansy/recipe-app-api
14443d9cd7d0fe2504361e8f86a9505c8faa9093
[ "MIT" ]
null
null
null
app/core/tests/test_models.py
ahmedgamalmansy/recipe-app-api
14443d9cd7d0fe2504361e8f86a9505c8faa9093
[ "MIT" ]
null
null
null
app/core/tests/test_models.py
ahmedgamalmansy/recipe-app-api
14443d9cd7d0fe2504361e8f86a9505c8faa9093
[ "MIT" ]
null
null
null
from django.test import TestCase from django.contrib.auth import get_user_model
31.073171
68
0.752747
d5964f0e3f92c5ca6a4083ce024d1eef5ffe0c51
350
py
Python
elements/light.py
partha-ghosh/pyeffects
b941e9b09c9889c01b103d758707d36c3520de2a
[ "MIT" ]
null
null
null
elements/light.py
partha-ghosh/pyeffects
b941e9b09c9889c01b103d758707d36c3520de2a
[ "MIT" ]
null
null
null
elements/light.py
partha-ghosh/pyeffects
b941e9b09c9889c01b103d758707d36c3520de2a
[ "MIT" ]
null
null
null
import numpy as np
18.421053
46
0.617143
d5965fa61cb67bd67adba3b00ebd73edc4c2a0a6
727
py
Python
pyAI-OpenMV4/2.机器视觉/7.图片拍摄/1.普通拍摄/snapshot.py
01studio-lab/MicroPython_Examples
f06a1bee398674ceafebed2aac88d8413cc8abad
[ "MIT" ]
73
2020-05-02T13:48:27.000Z
2022-03-26T13:15:10.000Z
pyAI-OpenMV4/2.机器视觉/7.图片拍摄/1.普通拍摄/snapshot.py
01studio-lab/MicroPython_Examples
f06a1bee398674ceafebed2aac88d8413cc8abad
[ "MIT" ]
null
null
null
pyAI-OpenMV4/2.机器视觉/7.图片拍摄/1.普通拍摄/snapshot.py
01studio-lab/MicroPython_Examples
f06a1bee398674ceafebed2aac88d8413cc8abad
[ "MIT" ]
50
2020-05-15T13:57:28.000Z
2022-03-30T14:03:33.000Z
# # # : SD. # # OpenMV #pybLED import sensor, image, pyb RED_LED_PIN = 1 BLUE_LED_PIN = 3 # sensor.reset() # Initialize the camera sensor. sensor.set_pixformat(sensor.RGB565) # or sensor.GRAYSCALE sensor.set_framesize(sensor.QVGA) # or sensor.QQVGA (or others) sensor.skip_frames(time = 2000) # Let new settings take...
22.030303
71
0.749656
d596976be192ececaf598f9c26104ca0d3976fc5
344
py
Python
website/addons/osfstorage/settings/defaults.py
DanielSBrown/osf.io
98dda2ac237377197acacce78274bc0a4ce8f303
[ "Apache-2.0" ]
null
null
null
website/addons/osfstorage/settings/defaults.py
DanielSBrown/osf.io
98dda2ac237377197acacce78274bc0a4ce8f303
[ "Apache-2.0" ]
13
2020-03-24T15:29:41.000Z
2022-03-11T23:15:28.000Z
website/addons/osfstorage/settings/defaults.py
DanielSBrown/osf.io
98dda2ac237377197acacce78274bc0a4ce8f303
[ "Apache-2.0" ]
null
null
null
# encoding: utf-8 import os from website import settings WATERBUTLER_CREDENTIALS = { 'storage': {} } WATERBUTLER_SETTINGS = { 'storage': { 'provider': 'filesystem', 'folder': os.path.join(settings.BASE_PATH, 'osfstoragecache'), } } WATERBUTLER_RESOURCE = 'folder' DISK_SAVING_MODE = se...
15.636364
70
0.680233
d5979c547106abfe2c4a788fa3eb19744770566f
371
py
Python
3_dot_product.py
codeclassifiers/nnfs
8583c1ccf3d155779057cb5041d52a3002282b04
[ "MIT" ]
1
2021-09-18T05:00:05.000Z
2021-09-18T05:00:05.000Z
3_dot_product.py
codeclassifiers/nnfs
8583c1ccf3d155779057cb5041d52a3002282b04
[ "MIT" ]
null
null
null
3_dot_product.py
codeclassifiers/nnfs
8583c1ccf3d155779057cb5041d52a3002282b04
[ "MIT" ]
1
2021-09-18T05:00:06.000Z
2021-09-18T05:00:06.000Z
#Example of dot product using numpy import numpy as np #Sample input to perceptron inputs = [1.2, 2.2, 3.3, 2.5] #Weights passed to perceptron weights = [0.4,0.6,-0.7, 1.1] #bias for a particular perceptron bias = 2 #Take dot product between weights and input #and add bias to the summation value output = np.dot(in...
19.526316
44
0.719677
d5993de97589837ac20b5cb949eaf132912bde00
4,725
py
Python
m2k/python/precision_adc_tutorial/ad7124_filters.py
mthoren-adi/education_tools
e99d47d0d6b56e05c8ed6692d57fa8518d610630
[ "CC-BY-4.0" ]
17
2018-11-11T03:08:57.000Z
2022-02-15T22:37:59.000Z
m2k/python/precision_adc_tutorial/ad7124_filters.py
chensi007/education_tools
3b4280308eb34bcafbd50035ea780a269883f2f7
[ "CC-BY-4.0" ]
6
2019-07-31T13:05:36.000Z
2021-07-06T06:51:11.000Z
m2k/python/precision_adc_tutorial/ad7124_filters.py
chensi007/education_tools
3b4280308eb34bcafbd50035ea780a269883f2f7
[ "CC-BY-4.0" ]
18
2018-10-29T20:11:36.000Z
2022-01-24T00:42:10.000Z
# -*- coding: utf-8 -*- # --------------------------------------------------------------------------- # Copyright (c) 2015-2019 Analog Devices, 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: ...
39.049587
78
0.738836
d599b8f92a8d48d05fa9f2f452a677696ae82fe2
962
py
Python
products/forms.py
NewtonHead/e-commerce_project
5ed448b033cd3771fc63f62022fe84ac8e17442d
[ "MIT" ]
null
null
null
products/forms.py
NewtonHead/e-commerce_project
5ed448b033cd3771fc63f62022fe84ac8e17442d
[ "MIT" ]
null
null
null
products/forms.py
NewtonHead/e-commerce_project
5ed448b033cd3771fc63f62022fe84ac8e17442d
[ "MIT" ]
null
null
null
from django import forms from .models import Product, Category from mptt.forms import TreeNodeChoiceField from django.forms.fields import ImageField
31.032258
77
0.527027
d59b2e857c3657e22162648df0dce76d10dbed3f
376
py
Python
adminweb/migrations/0002_alter_profissional_cep.py
FinotelliCarlos/ewipesimple-adminweb-python
3bf779250efeb9f85b4283ffbf210bf227aa8e8c
[ "MIT" ]
1
2021-06-17T06:13:33.000Z
2021-06-17T06:13:33.000Z
adminweb/migrations/0002_alter_profissional_cep.py
FinotelliCarlos/ewipesimple-adminweb-python
3bf779250efeb9f85b4283ffbf210bf227aa8e8c
[ "MIT" ]
null
null
null
adminweb/migrations/0002_alter_profissional_cep.py
FinotelliCarlos/ewipesimple-adminweb-python
3bf779250efeb9f85b4283ffbf210bf227aa8e8c
[ "MIT" ]
null
null
null
# Generated by Django 3.2 on 2021-06-16 16:53 from django.db import migrations, models
19.789474
49
0.590426
d59b7e7d7e960aceb68d09f0d6e1dfd11582bf66
7,064
py
Python
ios/serializers.py
NadavK/djhome
4f0d936dc475c91e0590bd22deae818cf2650840
[ "MIT" ]
null
null
null
ios/serializers.py
NadavK/djhome
4f0d936dc475c91e0590bd22deae818cf2650840
[ "MIT" ]
8
2020-02-11T23:59:46.000Z
2022-03-03T21:49:33.000Z
ios/serializers.py
NadavK/djhome
4f0d936dc475c91e0590bd22deae818cf2650840
[ "MIT" ]
null
null
null
from .models import Input, Output, InputToOutput, Device from rest_framework import serializers from taggit_serializer.serializers import (TagListSerializerField, TaggitSerializer) from taggit.models import Tag # # class OutputSerializer_base(TaggitSerializer, serializers.HyperlinkedModelSerializer): # def get...
32.552995
172
0.625283
d59ce46ab897a4326a316a12b1908c1b167c893a
894
py
Python
bin/clicker.py
Martincic/click-automatizer
1b4f4303b7d40bcaac470238ab21837f2fbad92a
[ "MIT" ]
1
2022-02-05T11:05:58.000Z
2022-02-05T11:05:58.000Z
bin/clicker.py
Martincic/click-automatizer
1b4f4303b7d40bcaac470238ab21837f2fbad92a
[ "MIT" ]
null
null
null
bin/clicker.py
Martincic/click-automatizer
1b4f4303b7d40bcaac470238ab21837f2fbad92a
[ "MIT" ]
null
null
null
from threading import Thread from time import sleep import win32api, win32con import pyautogui import keyboard import os
24.833333
63
0.667785
d59eac60ee49212e2ee889df53673f9ab5d4edcb
150
py
Python
bugtests/test256.py
doom38/jython_v2.2.1
0803a0c953c294e6d14f9fc7d08edf6a3e630a15
[ "CNRI-Jython" ]
null
null
null
bugtests/test256.py
doom38/jython_v2.2.1
0803a0c953c294e6d14f9fc7d08edf6a3e630a15
[ "CNRI-Jython" ]
null
null
null
bugtests/test256.py
doom38/jython_v2.2.1
0803a0c953c294e6d14f9fc7d08edf6a3e630a15
[ "CNRI-Jython" ]
null
null
null
""" """ import support support.compileJPythonc("test256a.py", core=1, jar="test256.jar", output="test256.err") #raise support.TestError("" + `x`)
15
87
0.673333
d59ed04f2f421d592db7ca01711e238752f15f07
1,307
py
Python
cruft/_commands/utils/cruft.py
timothycrosley/cruft
4d503c144d7268345c56f9ef4221a56ffc706739
[ "MIT" ]
87
2019-09-25T07:41:27.000Z
2020-08-17T20:09:52.000Z
cruft/_commands/utils/cruft.py
timothycrosley/cruft
4d503c144d7268345c56f9ef4221a56ffc706739
[ "MIT" ]
47
2019-10-03T05:33:34.000Z
2020-08-16T09:03:35.000Z
cruft/_commands/utils/cruft.py
timothycrosley/cruft
4d503c144d7268345c56f9ef4221a56ffc706739
[ "MIT" ]
9
2019-09-24T06:51:31.000Z
2020-08-06T07:59:47.000Z
import json from pathlib import Path from typing import Any, Dict from git import Repo from cruft.exceptions import CruftAlreadyPresent, NoCruftFound CruftState = Dict[str, Any] ####################### # Cruft related utils # #######################
31.119048
100
0.673298
d59f1dcccbd32af829381dd3853ec683d08d3461
8,604
py
Python
src/_repobee/main.py
tohanss/repobee
cf5eb1e83e62c20bbca00c8ad9f798a612e1664f
[ "MIT" ]
null
null
null
src/_repobee/main.py
tohanss/repobee
cf5eb1e83e62c20bbca00c8ad9f798a612e1664f
[ "MIT" ]
null
null
null
src/_repobee/main.py
tohanss/repobee
cf5eb1e83e62c20bbca00c8ad9f798a612e1664f
[ "MIT" ]
null
null
null
"""Main entrypoint for the repobee CLI application. .. module:: main :synopsis: Main entrypoint for the repobee CLI application. .. moduleauthor:: Simon Larsn """ import argparse import contextlib import io import logging import os import pathlib import sys from typing import List, Optional, Union, Mapping from ...
32.345865
79
0.65516
d59f3c58b006cd25a25b2736e3fa1fa4e2390ff6
6,871
py
Python
tests/config.py
kokokuo/auto_send_email
509672dcb09a2a587ccfb8de4cf2d008c7bac5aa
[ "MIT" ]
1
2019-06-20T15:07:25.000Z
2019-06-20T15:07:25.000Z
tests/config.py
kokokuo/mailmerger
509672dcb09a2a587ccfb8de4cf2d008c7bac5aa
[ "MIT" ]
5
2019-05-23T09:51:46.000Z
2021-08-01T09:49:33.000Z
tests/config.py
kokokuo/auto_send_email
509672dcb09a2a587ccfb8de4cf2d008c7bac5aa
[ "MIT" ]
null
null
null
from enum import Enum
35.973822
86
0.726968
d5a06a4c867599293195597044d34e40bd2610d7
4,055
py
Python
keystone/assignment/role_backends/ldap.py
yanheven/keystone
417b8941095f40674575ed951b4a03ebcdc91fef
[ "Apache-2.0" ]
null
null
null
keystone/assignment/role_backends/ldap.py
yanheven/keystone
417b8941095f40674575ed951b4a03ebcdc91fef
[ "Apache-2.0" ]
null
null
null
keystone/assignment/role_backends/ldap.py
yanheven/keystone
417b8941095f40674575ed951b4a03ebcdc91fef
[ "Apache-2.0" ]
1
2020-07-02T09:12:28.000Z
2020-07-02T09:12:28.000Z
# Licensed under the Apache License, Version 2.0 (the "License"); you may # not use this file except in compliance with the License. You may obtain # a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, software # distributed under t...
32.18254
76
0.663872
d5a0d14841cc76eb2977a0ec7007fa46827f4e51
355
py
Python
backend/apps/volontulo/templatetags/labeled_status.py
magul/volontulo
778168219e003b585604ee88cc54d03575bdc00e
[ "MIT" ]
16
2016-10-29T19:45:11.000Z
2021-04-23T03:54:22.000Z
backend/apps/volontulo/templatetags/labeled_status.py
magul/volontulo
778168219e003b585604ee88cc54d03575bdc00e
[ "MIT" ]
1,063
2016-10-28T17:43:39.000Z
2018-12-12T17:42:19.000Z
backend/apps/volontulo/templatetags/labeled_status.py
magul/volontulo
778168219e003b585604ee88cc54d03575bdc00e
[ "MIT" ]
60
2016-11-02T18:28:35.000Z
2018-11-07T17:01:05.000Z
# -*- coding: utf-8 -*- u""" .. module:: labeled_status """ from django import template from apps.volontulo.utils import OFFERS_STATUSES register = template.Library()
16.136364
48
0.692958
d5a3714f67fe62a722e814c6e434ce5613a21bbc
3,400
py
Python
catapult_build/js_checks.py
tingshao/catapult
a8fe19e0c492472a8ed5710be9077e24cc517c5c
[ "BSD-3-Clause" ]
1
2019-01-04T10:08:58.000Z
2019-01-04T10:08:58.000Z
catapult_build/js_checks.py
tingshao/catapult
a8fe19e0c492472a8ed5710be9077e24cc517c5c
[ "BSD-3-Clause" ]
6
2020-07-19T21:51:44.000Z
2022-02-13T08:22:58.000Z
catapult_build/js_checks.py
tingshao/catapult
a8fe19e0c492472a8ed5710be9077e24cc517c5c
[ "BSD-3-Clause" ]
1
2020-07-24T18:22:03.000Z
2020-07-24T18:22:03.000Z
# Copyright (c) 2014 The Chromium Authors. All rights reserved. # Use of this source code is governed by a BSD-style license that can be # found in the LICENSE file. import re import eslint from py_vulcanize import strip_js_comments from catapult_build import parse_html def _ErrorHighlight(start, length): """Pr...
29.824561
78
0.704118
d5a40db4f8292b174efc5944ace79eb384db16eb
1,919
py
Python
care/facility/models/notification.py
gigincg/care
07be6a7982b5c46a854e3435a52662f32800c8ae
[ "MIT" ]
189
2020-03-17T17:18:58.000Z
2022-02-22T09:49:45.000Z
care/facility/models/notification.py
gigincg/care
07be6a7982b5c46a854e3435a52662f32800c8ae
[ "MIT" ]
598
2020-03-19T21:22:09.000Z
2022-03-30T05:08:37.000Z
care/facility/models/notification.py
gigincg/care
07be6a7982b5c46a854e3435a52662f32800c8ae
[ "MIT" ]
159
2020-03-19T18:45:56.000Z
2022-03-17T13:23:12.000Z
import enum from django.db import models from care.facility.models import FacilityBaseModel from care.users.models import User from django.contrib.postgres.fields import JSONField
36.207547
117
0.72173
d5a4573d5ae49df24e84bfdf833cc441272c4eb6
176
py
Python
services/startDriver.py
nayfaan/Google_rank_find
77815b0f710ec4456f70a63b3359c02fd24753a8
[ "MIT" ]
null
null
null
services/startDriver.py
nayfaan/Google_rank_find
77815b0f710ec4456f70a63b3359c02fd24753a8
[ "MIT" ]
null
null
null
services/startDriver.py
nayfaan/Google_rank_find
77815b0f710ec4456f70a63b3359c02fd24753a8
[ "MIT" ]
null
null
null
from selenium import webdriver from selenium import * if __name__ == "__main__": pass
19.555556
70
0.744318
d5a49556f65c7eab6e09e8c16d7151af12063b65
87
py
Python
Chapter11/grades_ms/grades/grades_svc/admin.py
MichaelRW/Python-for-Geeks
a111f61f1a0b077fc0524431e1ccefd9214d5c53
[ "MIT" ]
31
2020-08-10T22:37:41.000Z
2022-03-09T21:35:56.000Z
Chapter11/grades_ms/grades/grades_svc/admin.py
MichaelRW/Python-for-Geeks
a111f61f1a0b077fc0524431e1ccefd9214d5c53
[ "MIT" ]
null
null
null
Chapter11/grades_ms/grades/grades_svc/admin.py
MichaelRW/Python-for-Geeks
a111f61f1a0b077fc0524431e1ccefd9214d5c53
[ "MIT" ]
21
2020-08-10T22:37:44.000Z
2022-03-07T07:26:28.000Z
from django.contrib import admin from .models import Grade admin.site.register(Grade)
17.4
32
0.816092
d5a523e97c8871c1b7a642d8e7e1284f0ce9a2ec
1,492
py
Python
tracksuite/utils/metrics.py
jimiolaniyan/tracksuite
f05c40e7b78ce2bb623a4ae76c08997a41585152
[ "MIT" ]
null
null
null
tracksuite/utils/metrics.py
jimiolaniyan/tracksuite
f05c40e7b78ce2bb623a4ae76c08997a41585152
[ "MIT" ]
1
2020-09-02T07:53:51.000Z
2020-09-02T07:53:51.000Z
tracksuite/utils/metrics.py
jimiolaniyan/tracksuite
f05c40e7b78ce2bb623a4ae76c08997a41585152
[ "MIT" ]
null
null
null
import numpy as np def calculate_iou(bboxes1, bboxes2): """ This calculates the intersection over union of N bounding boxes in the form N x [left, top, right, bottom], e.g for N=2: >> bb = [[21,34,45,67], [67,120, 89, 190]] :param bboxes1: np array: N x 4 ground truth bounding boxes :param bb...
38.25641
84
0.656166
d5a7dc8916eb01cb85de2b374c6b24801f3724ff
2,027
py
Python
Python/RussianPeasantMult.py
sheenxavi004/problem-solving
8541ed52ff1f17031a2190b18dd5b128dd334c2d
[ "MIT" ]
11
2018-10-03T23:57:04.000Z
2020-04-04T05:06:15.000Z
Python/RussianPeasantMult.py
sheenxavi004/problem-solving
8541ed52ff1f17031a2190b18dd5b128dd334c2d
[ "MIT" ]
28
2018-10-04T07:31:07.000Z
2020-01-08T15:43:28.000Z
Python/RussianPeasantMult.py
sheenxavi004/problem-solving
8541ed52ff1f17031a2190b18dd5b128dd334c2d
[ "MIT" ]
78
2018-10-04T06:28:58.000Z
2021-12-12T07:07:13.000Z
""" Russian Peasant Multiplication (RPM) Algorithm Implemented In Python RPM is a method of mutiplication of any 2 numbers using only multiplication and division by 2. The basics are that you divide the second number by 2 (integer division) until it equals 1, every time you divide the second number by 2, you also multi...
32.174603
80
0.618155
d5a7f3dd6c594271ad5f5ffe349ea681ebe4fe26
34,989
py
Python
celery-queue/metrical-tree/metricaltree.py
HwanSolo/stanford-linguistics
c3a7e7452dacca9c1d4bfde1667b82596193b434
[ "Apache-2.0" ]
null
null
null
celery-queue/metrical-tree/metricaltree.py
HwanSolo/stanford-linguistics
c3a7e7452dacca9c1d4bfde1667b82596193b434
[ "Apache-2.0" ]
null
null
null
celery-queue/metrical-tree/metricaltree.py
HwanSolo/stanford-linguistics
c3a7e7452dacca9c1d4bfde1667b82596193b434
[ "Apache-2.0" ]
null
null
null
#!/usr/bin/env python # -*- coding: utf-8 -*- import os from collections import defaultdict import cPickle as pkl import numpy as np import pandas as pd import matplotlib.pyplot as plt import codecs import nltk from nltk import compat from nltk.tree import Tree import nltk.data from deptree import DependencyTree, Depe...
39.225336
154
0.494898
d5ab5835f2e337b522ce060307e167093634b260
1,056
py
Python
multiuploader/management/commands/clean_uploads.py
SharmaVinayKumar/django-multiuploader
58e545307014830b00101129a297b6d465b87583
[ "MIT" ]
5
2017-02-25T21:12:37.000Z
2017-03-12T15:05:55.000Z
multiuploader/management/commands/clean_uploads.py
SharmaVinayKumar/django-multiuploader
58e545307014830b00101129a297b6d465b87583
[ "MIT" ]
4
2017-02-25T19:08:23.000Z
2017-03-12T15:53:54.000Z
multiuploader/management/commands/clean_uploads.py
vinaypost/multiuploader
58e545307014830b00101129a297b6d465b87583
[ "MIT" ]
null
null
null
from __future__ import print_function, unicode_literals import os from datetime import timedelta import multiuploader.default_settings as DEFAULTS from django.conf import settings from django.core.management.base import BaseCommand from django.utils.timezone import now from multiuploader.models import MultiuploaderFi...
35.2
87
0.730114
d5ab995005d2f182743e6f37ffa3d88f794d55fe
540
py
Python
tests/test_source.py
Koech-code/News-App
07688d64df5d0512a8d59613d403f7d6a7377360
[ "MIT" ]
null
null
null
tests/test_source.py
Koech-code/News-App
07688d64df5d0512a8d59613d403f7d6a7377360
[ "MIT" ]
null
null
null
tests/test_source.py
Koech-code/News-App
07688d64df5d0512a8d59613d403f7d6a7377360
[ "MIT" ]
null
null
null
import unittest from app.models import Source if __name__ == "__main__": unittest.main()
30
140
0.661111
d5acd000db9d4a9b597057b8dfc5cb47789972b8
432
py
Python
python_backend/custom_types/forvo_api_types.py
BenLeong0/japanese_vocab_fetcher
c441eaf46c7330f9319216a6321ce8ec8d3de6cc
[ "MIT" ]
null
null
null
python_backend/custom_types/forvo_api_types.py
BenLeong0/japanese_vocab_fetcher
c441eaf46c7330f9319216a6321ce8ec8d3de6cc
[ "MIT" ]
2
2021-12-26T23:34:02.000Z
2021-12-26T23:34:11.000Z
python_backend/custom_types/forvo_api_types.py
BenLeong0/japanese_vocab_fetcher
c441eaf46c7330f9319216a6321ce8ec8d3de6cc
[ "MIT" ]
null
null
null
from typing import Literal, TypedDict
17.28
43
0.655093
d5ad2c2b6d4e8106ddd532340d0d9a878fb16570
16,522
py
Python
src/workers.py
lmdu/krait2
82aff14cdbbb777ea391bcb8acf3cb95b913209a
[ "MIT" ]
1
2021-05-16T08:37:22.000Z
2021-05-16T08:37:22.000Z
src/workers.py
lmdu/krait2
82aff14cdbbb777ea391bcb8acf3cb95b913209a
[ "MIT" ]
null
null
null
src/workers.py
lmdu/krait2
82aff14cdbbb777ea391bcb8acf3cb95b913209a
[ "MIT" ]
null
null
null
import os import csv import time import stria import pyfastx import traceback import multiprocessing from PySide6.QtCore import * from primer3 import primerdesign from motif import * from stats import * from utils import * from config import * from backend import * from annotate import * __all__ = [ 'SSRSearchThre...
25.937206
104
0.678308
d5ad529e55fa638ad8a24b07f5e82913bca91ecd
3,327
py
Python
src/deepnnmnist/deepnn-nobias/linear_deep_nn_nobias_no_activationf.py
renaudbougues/continuous-deep-q-learning
a96e1d9019a7291cc937de37404f2af71eaa2e32
[ "MIT" ]
1
2016-08-02T17:22:33.000Z
2016-08-02T17:22:33.000Z
src/deepnnmnist/deepnn-nobias/linear_deep_nn_nobias_no_activationf.py
renaudbougues/continuous-deep-q-learning
a96e1d9019a7291cc937de37404f2af71eaa2e32
[ "MIT" ]
6
2016-10-02T00:18:52.000Z
2016-10-02T00:22:59.000Z
src/deepnnmnist/deepnn-nobias/linear_deep_nn_nobias_no_activationf.py
renaudbougues/continuous-deep-q-learning
a96e1d9019a7291cc937de37404f2af71eaa2e32
[ "MIT" ]
null
null
null
''' Training a deep "incomplete" ANN on MNIST with Tensorflow The ANN has no bias and no activation function This function does not learn very well because the the hypothesis is completely off The loss function is bad. The network is unstable in training (easily blow up) and fails to learn the training dataset (<20%...
34.298969
153
0.709047
d5ade4b8467958efc5bf0dd674d19bc8f2a64b86
416
py
Python
tests/conftest.py
Usetech/labelgun
0a3293cae3179b7d4e324154d0335d7d81a8455e
[ "MIT" ]
null
null
null
tests/conftest.py
Usetech/labelgun
0a3293cae3179b7d4e324154d0335d7d81a8455e
[ "MIT" ]
null
null
null
tests/conftest.py
Usetech/labelgun
0a3293cae3179b7d4e324154d0335d7d81a8455e
[ "MIT" ]
null
null
null
import pytest import structlog
26
66
0.699519
d5aeb7169dd5488c77699e15ae16e978f40d715e
3,271
py
Python
lib/db_manager.py
kevin20888802/liang-medicine-line-bot-py
07f63759e63272460f5ecfb0ce8fd6ed62b50e1c
[ "Apache-2.0" ]
null
null
null
lib/db_manager.py
kevin20888802/liang-medicine-line-bot-py
07f63759e63272460f5ecfb0ce8fd6ed62b50e1c
[ "Apache-2.0" ]
null
null
null
lib/db_manager.py
kevin20888802/liang-medicine-line-bot-py
07f63759e63272460f5ecfb0ce8fd6ed62b50e1c
[ "Apache-2.0" ]
null
null
null
import psycopg2 from psycopg2.extensions import ISOLATION_LEVEL_AUTOCOMMIT import os import urllib.parse as urlparse pass
25.356589
68
0.595537
d5af5a629e72cd72e0929e6e0460c5c839714274
6,763
py
Python
bike/refactor/test_moveToModule.py
debiancn/bicyclerepair
dd054e802d6d8ad80baeccee0396da68144f2a26
[ "ICU" ]
2
2020-05-29T06:31:53.000Z
2020-12-19T21:49:25.000Z
bike/refactor/test_moveToModule.py
debiancn/bicyclerepair
dd054e802d6d8ad80baeccee0396da68144f2a26
[ "ICU" ]
null
null
null
bike/refactor/test_moveToModule.py
debiancn/bicyclerepair
dd054e802d6d8ad80baeccee0396da68144f2a26
[ "ICU" ]
null
null
null
#!/usr/bin/env python import setpath from bike.testutils import * from bike.transformer.save import save from moveToModule import * if __name__ == "__main__": unittest.main()
27.946281
70
0.530534
6334d71222020c31513865a447513d22aaed19c8
924
py
Python
src/ggrc_risks/migrations/versions/20170823162755_5aa9ec7105d1_add_test_plan_field.py
HLD/ggrc-core
9bdc0fc6ca9e252f4919db682d80e360d5581eb4
[ "ECL-2.0", "Apache-2.0" ]
null
null
null
src/ggrc_risks/migrations/versions/20170823162755_5aa9ec7105d1_add_test_plan_field.py
HLD/ggrc-core
9bdc0fc6ca9e252f4919db682d80e360d5581eb4
[ "ECL-2.0", "Apache-2.0" ]
10
2018-07-06T00:04:23.000Z
2021-02-26T21:13:20.000Z
src/ggrc_risks/migrations/versions/20170823162755_5aa9ec7105d1_add_test_plan_field.py
HLD/ggrc-core
9bdc0fc6ca9e252f4919db682d80e360d5581eb4
[ "ECL-2.0", "Apache-2.0" ]
1
2017-11-11T22:16:56.000Z
2017-11-11T22:16:56.000Z
# Copyright (C) 2017 Google Inc. # Licensed under http://www.apache.org/licenses/LICENSE-2.0 <see LICENSE file> """ Add test_plan field Create Date: 2017-08-23 16:27:55.094736 """ # disable Invalid constant name pylint warning for mandatory Alembic variables. # pylint: disable=invalid-name import sqlalchemy as sa f...
25.666667
79
0.717532
633670508ceec1cd4f56068d21ebd73c224ba536
16,818
py
Python
mem_mem/avgblk.py
3upperm2n/trans_kernel_model
72a9156fa35b5b5407173f6dbde685feb0a6a3f5
[ "MIT" ]
null
null
null
mem_mem/avgblk.py
3upperm2n/trans_kernel_model
72a9156fa35b5b5407173f6dbde685feb0a6a3f5
[ "MIT" ]
null
null
null
mem_mem/avgblk.py
3upperm2n/trans_kernel_model
72a9156fa35b5b5407173f6dbde685feb0a6a3f5
[ "MIT" ]
null
null
null
import pandas as pd import numpy as np from math import * import copy # deep copy objects from model_param import * #------------------------------------------------------------------------------ # Figure out when to launch another block for current kernel #------------------------------------------------------------...
43.012788
116
0.466821
6336e1b7ec75cc9e6881dda4dff8c780539d97ab
4,322
py
Python
pychecktext/checktext_parser.py
da1910/pyCheckText
a00738aff3fa20c520343b3d12fa8c87a90e1c65
[ "MIT" ]
null
null
null
pychecktext/checktext_parser.py
da1910/pyCheckText
a00738aff3fa20c520343b3d12fa8c87a90e1c65
[ "MIT" ]
null
null
null
pychecktext/checktext_parser.py
da1910/pyCheckText
a00738aff3fa20c520343b3d12fa8c87a90e1c65
[ "MIT" ]
1
2020-06-05T14:56:10.000Z
2020-06-05T14:56:10.000Z
import _ast import ast from typing import Dict, Union import os from pychecktext import teamcity, teamcity_messages
39.651376
125
0.571726