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
2b342abed7b8f87984c27430c6d9b8e53170e474
26,744
py
Python
train.py
Akanni96/TRUNET
12dff08f2361848e13b0952540e2198db386eab8
[ "MIT" ]
4
2020-08-29T22:41:18.000Z
2021-05-28T03:21:33.000Z
train.py
Akanni96/TRUNET
12dff08f2361848e13b0952540e2198db386eab8
[ "MIT" ]
8
2020-08-30T10:12:11.000Z
2021-09-08T02:54:32.000Z
train.py
Akanni96/TRUNET
12dff08f2361848e13b0952540e2198db386eab8
[ "MIT" ]
3
2021-02-25T12:23:32.000Z
2021-11-17T09:37:05.000Z
from netCDF4 import Dataset, num2date import os os.environ["TF_CPP_MIN_LOG_LEVEL"] = "2" os.environ['TF_FORCE_GPU_ALLOW_GROWTH'] = 'true' import argparse import ast import gc import logging import math import sys import time import numpy as np import pandas as pd import psutil import tensorflow as t...
53.2749
238
0.61539
2b38df9618a2605f4353888f836f0c4a985f8b88
10,250
py
Python
CAAPR/CAAPR_AstroMagic/PTS/pts/modeling/misc/playground.py
wdobbels/CAAPR
50d0b32642a61af614c22f1c6dc3c4a00a1e71a3
[ "MIT" ]
7
2016-05-20T21:56:39.000Z
2022-02-07T21:09:48.000Z
CAAPR/CAAPR_AstroMagic/PTS/pts/modeling/misc/playground.py
wdobbels/CAAPR
50d0b32642a61af614c22f1c6dc3c4a00a1e71a3
[ "MIT" ]
1
2019-03-21T16:10:04.000Z
2019-03-22T17:21:56.000Z
CAAPR/CAAPR_AstroMagic/PTS/pts/modeling/misc/playground.py
wdobbels/CAAPR
50d0b32642a61af614c22f1c6dc3c4a00a1e71a3
[ "MIT" ]
1
2020-05-19T16:17:17.000Z
2020-05-19T16:17:17.000Z
#!/usr/bin/env python # -*- coding: utf8 -*- # ***************************************************************** # ** PTS -- Python Toolkit for working with SKIRT ** # ** Astronomical Observatory, Ghent University ** # ***************************************************************** ## ...
29.97076
155
0.521561
2b3946e6444ac24234cab739bd07f31076aa6316
1,552
py
Python
src/compute_paper_sketches.py
Synerise/kdd-cup-2021
529354fd60c982e562bbbc0adf25114d1df3bbbd
[ "Apache-2.0" ]
13
2021-06-14T16:09:19.000Z
2022-03-25T07:49:21.000Z
src/compute_paper_sketches.py
Synerise/kdd-cup-2021
529354fd60c982e562bbbc0adf25114d1df3bbbd
[ "Apache-2.0" ]
1
2021-11-22T07:27:19.000Z
2021-11-22T07:27:19.000Z
src/compute_paper_sketches.py
Synerise/kdd-cup-2021
529354fd60c982e562bbbc0adf25114d1df3bbbd
[ "Apache-2.0" ]
3
2021-08-28T10:25:11.000Z
2021-09-18T03:30:24.000Z
import argparse import random import os import math import numpy as np from tqdm import tqdm from coders import get_vcoder from root import ROOT if __name__ == "__main__": parser = get_parser() params = parser.parse_args() compute_sketches(params)
33.73913
125
0.712629
2b3a2886cced8166d79a209e36b74c73cb5dec34
14,328
py
Python
Contrib-Inspur/openbmc/poky/bitbake/lib/toaster/tests/functional/test_functional_basic.py
opencomputeproject/Rack-Manager
e1a61d3eeeba0ff655fe9c1301e8b510d9b2122a
[ "MIT" ]
5
2019-11-11T07:57:26.000Z
2022-03-28T08:26:53.000Z
Contrib-Inspur/openbmc/poky/bitbake/lib/toaster/tests/functional/test_functional_basic.py
opencomputeproject/Rack-Manager
e1a61d3eeeba0ff655fe9c1301e8b510d9b2122a
[ "MIT" ]
3
2019-09-05T21:47:07.000Z
2019-09-17T18:10:45.000Z
Contrib-Inspur/openbmc/poky/bitbake/lib/toaster/tests/functional/test_functional_basic.py
opencomputeproject/Rack-Manager
e1a61d3eeeba0ff655fe9c1301e8b510d9b2122a
[ "MIT" ]
11
2019-07-20T00:16:32.000Z
2022-01-11T14:17:48.000Z
#! /usr/bin/env python # # BitBake Toaster functional tests implementation # # Copyright (C) 2017 Intel Corporation # # SPDX-License-Identifier: GPL-2.0-only # import time import re from tests.functional.functional_helpers import SeleniumFunctionalTestCase from orm.models import Project
61.758621
268
0.661991
2b3a45e82c85072b1083e38d452fb530c3e43ce9
10,685
py
Python
main-test.py
bpoje/checkmk-python-rest-api
78d13dbdf9f0c6bb1db7d8a80db030d212406647
[ "MIT" ]
null
null
null
main-test.py
bpoje/checkmk-python-rest-api
78d13dbdf9f0c6bb1db7d8a80db030d212406647
[ "MIT" ]
null
null
null
main-test.py
bpoje/checkmk-python-rest-api
78d13dbdf9f0c6bb1db7d8a80db030d212406647
[ "MIT" ]
null
null
null
#!/bin/python3 from Checkmk import * import re as re import time #Init checkmk rest api #Remove ipaddress (resolve ip from hostname) #Update host with custom request body # Test site_name = 'nadzor' cmk_rest_url = 'https://checkmk.example.com/site1/check_mk/api/1.0' cafile = 'config/corp_ca.pem' username = 'automa...
31.895522
131
0.622087
2b3a55f8831041e96f6dabf7153fed76e87ee6bb
3,386
py
Python
reportportal_client/items/rp_test_items/rp_child_test_item.py
buchi-busireddy/client-Python
d5315a7e5903429366340c87cafdbc57c9f1d1a2
[ "Apache-2.0" ]
null
null
null
reportportal_client/items/rp_test_items/rp_child_test_item.py
buchi-busireddy/client-Python
d5315a7e5903429366340c87cafdbc57c9f1d1a2
[ "Apache-2.0" ]
null
null
null
reportportal_client/items/rp_test_items/rp_child_test_item.py
buchi-busireddy/client-Python
d5315a7e5903429366340c87cafdbc57c9f1d1a2
[ "Apache-2.0" ]
null
null
null
""" This module contains functional for Child RP test items management. Copyright (c) 2018 http://reportportal.io . 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/L...
43.974026
79
0.605434
2b3b1d96a352914df91c4c58e8eb5d703c0c1dcb
1,277
py
Python
bs_3 Navigating the tree Going back and forth.py
ronaldoapsilva/Beatiful_Soup
1700be637025d7ea09907ef6154f547f013dea0a
[ "MIT" ]
null
null
null
bs_3 Navigating the tree Going back and forth.py
ronaldoapsilva/Beatiful_Soup
1700be637025d7ea09907ef6154f547f013dea0a
[ "MIT" ]
null
null
null
bs_3 Navigating the tree Going back and forth.py
ronaldoapsilva/Beatiful_Soup
1700be637025d7ea09907ef6154f547f013dea0a
[ "MIT" ]
null
null
null
#https://www.crummy.com/software/BeautifulSoup/bs4/doc/#strings-and-stripped-strings html_doc = """<html><head><title>The Dormouse's story</title></head> <body> <p class="title"><b>The Dormouse's story</b></p> <p class="story">Once upon a time there were three little sisters; and their names were <a href="http://exam...
36.485714
163
0.700078
2b3b1fe584d6a177077f80e495c27dd5513c5633
8,781
py
Python
src/utils_evaluation.py
stefanialvs/PyForecast
7871516357f6cea1cfd4d3fd7ad8b9c5223cdc62
[ "MIT" ]
null
null
null
src/utils_evaluation.py
stefanialvs/PyForecast
7871516357f6cea1cfd4d3fd7ad8b9c5223cdc62
[ "MIT" ]
null
null
null
src/utils_evaluation.py
stefanialvs/PyForecast
7871516357f6cea1cfd4d3fd7ad8b9c5223cdc62
[ "MIT" ]
1
2020-06-02T16:33:31.000Z
2020-06-02T16:33:31.000Z
import numpy as np from numpy.random import seed seed(1) import pandas as pd from math import sqrt from sklearn.decomposition import PCA ###################################################################### # METRICS ###################################################################### def mse(y, y_hat): """ ...
34.70751
86
0.658012
2b3c07877c471c66f3bf8780f65cfc45c99e4f0b
2,254
py
Python
face_recog.py
a4aakash/Computer-Vision
73f4e471d818b7929169905cd532da7ab1e68b91
[ "MIT" ]
2
2019-05-01T18:52:22.000Z
2019-05-02T06:26:17.000Z
face_recog.py
a4aakash/Computer-Vision
73f4e471d818b7929169905cd532da7ab1e68b91
[ "MIT" ]
null
null
null
face_recog.py
a4aakash/Computer-Vision
73f4e471d818b7929169905cd532da7ab1e68b91
[ "MIT" ]
null
null
null
import face_recognition import cv2 import numpy as np video_capture = cv2.VideoCapture(0) # Load sample image1 = face_recognition.load_image_file("Your Image Here with extension") encoding1 = face_recognition.face_encodings(image1)[0] known_face_encodings = [encoding1, #encoding2] ...
31.746479
96
0.64685
2b3ca91f91a1ba9b2896646d6f63a90d1691a84b
179
py
Python
tests/regressiontests/initial_sql_regress/tests.py
alex/django-old
6f964c8f03e5d25c9e36898a001c8463f82fbb81
[ "BSD-3-Clause" ]
2
2015-11-05T06:07:13.000Z
2019-01-04T07:35:59.000Z
tests/regressiontests/initial_sql_regress/tests.py
alex/django-old
6f964c8f03e5d25c9e36898a001c8463f82fbb81
[ "BSD-3-Clause" ]
null
null
null
tests/regressiontests/initial_sql_regress/tests.py
alex/django-old
6f964c8f03e5d25c9e36898a001c8463f82fbb81
[ "BSD-3-Clause" ]
null
null
null
from django.test import TestCase from models import Simple
19.888889
51
0.75419
2b3da381c58b4f82260a14be2bde2c3527be2594
442
py
Python
src/rmi/bibliotheque.py
e-yuzo/distributed-systems-for-fun
54e605265a4d78656aba815184b869b96227d3a9
[ "Apache-2.0" ]
null
null
null
src/rmi/bibliotheque.py
e-yuzo/distributed-systems-for-fun
54e605265a4d78656aba815184b869b96227d3a9
[ "Apache-2.0" ]
null
null
null
src/rmi/bibliotheque.py
e-yuzo/distributed-systems-for-fun
54e605265a4d78656aba815184b869b96227d3a9
[ "Apache-2.0" ]
null
null
null
from __future__ import print_function import Pyro4
19.217391
37
0.561086
2b3deda9eaa510861e8cdebfaf0ab7b972bcefa0
14,983
py
Python
statarb/src/python/bin/db_check.py
mikimaus78/ml_monorepo
b2c2627ff0e86e27f6829170d0dac168d8e5783b
[ "BSD-3-Clause" ]
51
2019-02-01T19:43:37.000Z
2022-03-16T09:07:03.000Z
statarb/src/python/bin/db_check.py
mikimaus78/ml_monorepo
b2c2627ff0e86e27f6829170d0dac168d8e5783b
[ "BSD-3-Clause" ]
2
2019-02-23T18:54:22.000Z
2019-11-09T01:30:32.000Z
statarb/src/python/bin/db_check.py
mikimaus78/ml_monorepo
b2c2627ff0e86e27f6829170d0dac168d8e5783b
[ "BSD-3-Clause" ]
35
2019-02-08T02:00:31.000Z
2022-03-01T23:17:00.000Z
#!/usr/bin/env python import util import newdb from collections import Counter from collections import deque #Check if two rows have equal values in the keys attributes #def __getNextBatchFromCursor(keys,cursor,buffer=[]): #verify that a consecutive slice of rows are nice and consistent #verify tha...
36.903941
270
0.596543
2b3e182cdb9374aefd88508287e3f0812c0864ba
634
py
Python
onepanman_api/migrations/0014_auto_20200319_1740.py
Capstone-onepanman/api-server
1a5174fbc441d2718f3963863590f634ba2014e1
[ "MIT" ]
null
null
null
onepanman_api/migrations/0014_auto_20200319_1740.py
Capstone-onepanman/api-server
1a5174fbc441d2718f3963863590f634ba2014e1
[ "MIT" ]
12
2020-03-24T18:09:30.000Z
2022-03-12T00:15:07.000Z
onepanman_api/migrations/0014_auto_20200319_1740.py
Capstone-onepanman/api-server
1a5174fbc441d2718f3963863590f634ba2014e1
[ "MIT" ]
null
null
null
# Generated by Django 2.2.10 on 2020-03-19 08:40 from django.db import migrations, models
25.36
141
0.570978
2b3e2a81c05d58428d476f5ce54464d2991ccb20
5,536
py
Python
ejer/Dia_5.py
zara-ms/python_class-2
edd5a4b7a3b3f2759f63208bbf42d5f9e7acb45b
[ "MIT" ]
null
null
null
ejer/Dia_5.py
zara-ms/python_class-2
edd5a4b7a3b3f2759f63208bbf42d5f9e7acb45b
[ "MIT" ]
1
2021-12-01T17:05:15.000Z
2021-12-01T17:05:15.000Z
ejer/Dia_5.py
zara-ms/python_class-2
edd5a4b7a3b3f2759f63208bbf42d5f9e7acb45b
[ "MIT" ]
4
2021-04-09T19:06:40.000Z
2021-11-29T01:17:50.000Z
### EGQuery from Bio import Entrez Entrez.email = "joserodelmar@gmail.com" ### termino = "(Aedes[Title] OR Aedes[All Fields])AND((RNA-Seq[Title] OR transcriptomic[Title]) OR (transcriptome[Title] OR sequencing[Title]))" ### handle = Entrez.egquery(term=termino) ### record = Entrez.read(handle) ### handle.close(...
36.906667
145
0.65914
2b40be95f80d31455cf6a2e3a51eb14f7aeb92a8
3,288
py
Python
src/Themes/TransformationTheme.py
LukasTinnes/VenturePainter
cb1f24fda2a43d402a9c5a401d713af0c950270b
[ "Unlicense" ]
1
2020-05-29T21:09:33.000Z
2020-05-29T21:09:33.000Z
src/Themes/TransformationTheme.py
LukasTinnes/VenturePainter
cb1f24fda2a43d402a9c5a401d713af0c950270b
[ "Unlicense" ]
3
2020-06-14T11:33:54.000Z
2022-01-13T03:31:06.000Z
src/Themes/TransformationTheme.py
LukasTinnes/VenturePainter
cb1f24fda2a43d402a9c5a401d713af0c950270b
[ "Unlicense" ]
null
null
null
from .Theme import Theme from src.Graph import Graph
36.94382
119
0.612226
2b4181e01e4e874885f0067383123bf864197817
7,231
py
Python
cinderlib/tests/unit/objects/test_snapshot.py
Akrog/cinderlib
6481cd9a34744f80bdba130fe9089f1b8b7cb327
[ "Apache-2.0" ]
15
2018-01-04T13:46:59.000Z
2020-07-06T13:27:57.000Z
cinderlib/tests/unit/objects/test_snapshot.py
Akrog/cinderlib
6481cd9a34744f80bdba130fe9089f1b8b7cb327
[ "Apache-2.0" ]
12
2018-06-13T10:57:55.000Z
2019-04-04T09:31:44.000Z
cinderlib/tests/unit/objects/test_snapshot.py
Akrog/cinderlib
6481cd9a34744f80bdba130fe9089f1b8b7cb327
[ "Apache-2.0" ]
7
2018-03-12T22:41:30.000Z
2019-01-17T23:16:40.000Z
# Copyright (c) 2018, Red Hat, Inc. # All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); you may # not use this file except in compliance with the License. You may obtain # a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless requir...
47.261438
79
0.696584
2b433f4a1e91cf318186b9fc64edb891e6238a3a
410
py
Python
sync/settings.py.template.py
Smithsonian/Osprey
05e39264af63b5df298b9f8c6c9c6e06dd77c923
[ "Apache-2.0" ]
2
2020-03-12T21:10:38.000Z
2021-11-08T09:46:02.000Z
sync/settings.py.template.py
Smithsonian/Osprey
05e39264af63b5df298b9f8c6c9c6e06dd77c923
[ "Apache-2.0" ]
11
2020-04-30T13:01:29.000Z
2021-12-07T13:21:27.000Z
sync/settings.py.template.py
Smithsonian/MDFileCheck
611213063430f34d2bc8c76fbbd1cfe2bdd80077
[ "Apache-2.0" ]
1
2020-03-20T12:19:17.000Z
2020-03-20T12:19:17.000Z
#ID of the project project_id = "" #List of paths where the folders to check are project_paths = [] #Destination of the sync, trailing slash destination_path = "" ################################## #Postgres database and rw user ################################## db_host = "" db_db = "" db_user = "" ...
17.826087
46
0.487805
2b4420ed0d3eb5ee2284257b45a567c89eda83bb
88
py
Python
deepART/nlp/text_preproc/__init__.py
nicholaslaw/deepART
ffd425128bec02ca22ac64a6b55425fc1b29f9ba
[ "MIT" ]
1
2021-05-22T00:34:25.000Z
2021-05-22T00:34:25.000Z
deepART/nlp/text_preproc/__init__.py
nicholaslaw/deepART
ffd425128bec02ca22ac64a6b55425fc1b29f9ba
[ "MIT" ]
null
null
null
deepART/nlp/text_preproc/__init__.py
nicholaslaw/deepART
ffd425128bec02ca22ac64a6b55425fc1b29f9ba
[ "MIT" ]
null
null
null
from .preprocessors import * from .corpus_handler import * from .bow_vectorizer import *
29.333333
29
0.806818
2b472ca417fdf96e2bd7e3a9f6364bf16ad6b0d4
7,917
py
Python
Python Files/preprocessing.py
errohankumar/thesis
7855affd3cbde99da40ef3375a61d2e39815ae8c
[ "MIT" ]
null
null
null
Python Files/preprocessing.py
errohankumar/thesis
7855affd3cbde99da40ef3375a61d2e39815ae8c
[ "MIT" ]
null
null
null
Python Files/preprocessing.py
errohankumar/thesis
7855affd3cbde99da40ef3375a61d2e39815ae8c
[ "MIT" ]
1
2021-01-15T09:35:15.000Z
2021-01-15T09:35:15.000Z
import os import pandas as pd from datetime import datetime from preprocessing_service import PreProcessingService
46.298246
117
0.581786
2b489d07d9e82fe1aadc06b20d66dc9fd7145ce7
430
py
Python
app/models/shop/footprint.py
Hugking/lin-cms-flask
5f79e744e60d0f1b81c6e8bd045ab4ffa00043ce
[ "MIT" ]
null
null
null
app/models/shop/footprint.py
Hugking/lin-cms-flask
5f79e744e60d0f1b81c6e8bd045ab4ffa00043ce
[ "MIT" ]
null
null
null
app/models/shop/footprint.py
Hugking/lin-cms-flask
5f79e744e60d0f1b81c6e8bd045ab4ffa00043ce
[ "MIT" ]
null
null
null
from lin.exception import NotFound, ParameterException from lin.interface import InfoCrud as Base from sqlalchemy import Column, String, Integer, Text,ForeignKey, DateTime
43
73
0.77907
2b48e3d3df0f346986c6b935074ae08a67a768a8
10,833
py
Python
src/integrated_models/commons/vehicle_schedule.py
railtoolkit/OpenLinTim
27eba8b6038946ce162e9f7bbc0bd23045029d51
[ "MIT" ]
null
null
null
src/integrated_models/commons/vehicle_schedule.py
railtoolkit/OpenLinTim
27eba8b6038946ce162e9f7bbc0bd23045029d51
[ "MIT" ]
null
null
null
src/integrated_models/commons/vehicle_schedule.py
railtoolkit/OpenLinTim
27eba8b6038946ce162e9f7bbc0bd23045029d51
[ "MIT" ]
null
null
null
import logging from typing import List from typing import Dict import line_data import ean_data from core.model.ptn import Stop from core.util.constants import SECONDS_PER_MINUTE from parameters import VSParameters logger = logging.getLogger(__name__) def construct_vehicle_schedule_from_ip(line_pool: line_data....
45.516807
120
0.639989
2b496fab5d606b175cd31dd55cb36b4523841175
2,147
py
Python
input_data.py
Alebat/C3D-tensorflow
53bef32eb29073e454d031ddb8b58c35b51b24f8
[ "MIT" ]
null
null
null
input_data.py
Alebat/C3D-tensorflow
53bef32eb29073e454d031ddb8b58c35b51b24f8
[ "MIT" ]
null
null
null
input_data.py
Alebat/C3D-tensorflow
53bef32eb29073e454d031ddb8b58c35b51b24f8
[ "MIT" ]
null
null
null
# Copyright 2015 Google Inc. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or a...
39.036364
102
0.658593
2b4a2e9098beeef82e8048faa9e23db52b8ed780
78
py
Python
ref/commandlinearguments/demo.py
skrymets/python-core-and-advanced
7cb486e9b9413d4cbb7fa67929d492094b2a3abb
[ "Apache-2.0" ]
2
2019-04-13T14:10:38.000Z
2021-01-17T00:57:51.000Z
ref/commandlinearguments/demo.py
skrymets/python-core-and-advanced
7cb486e9b9413d4cbb7fa67929d492094b2a3abb
[ "Apache-2.0" ]
null
null
null
ref/commandlinearguments/demo.py
skrymets/python-core-and-advanced
7cb486e9b9413d4cbb7fa67929d492094b2a3abb
[ "Apache-2.0" ]
1
2020-02-20T15:44:36.000Z
2020-02-20T15:44:36.000Z
import sys lst=sys.argv for i in lst:print(i) print(len(lst)) print(lst[0])
9.75
21
0.692308
2b4bfbec3d5a6cb84fb2b33265f229fe1871f234
549
py
Python
neural_pi/estimator/optimization.py
tarik/pi-snm-qde
61b0d60b5e7a56454d313693c2d1a9694879f1dc
[ "MIT" ]
8
2020-08-05T18:02:20.000Z
2022-03-16T17:41:13.000Z
neural_pi/estimator/optimization.py
tarik/pi-snm-qde
61b0d60b5e7a56454d313693c2d1a9694879f1dc
[ "MIT" ]
1
2021-05-17T15:43:22.000Z
2021-07-12T20:29:12.000Z
neural_pi/estimator/optimization.py
tarik/pi-snm-qde
61b0d60b5e7a56454d313693c2d1a9694879f1dc
[ "MIT" ]
1
2021-12-10T12:20:24.000Z
2021-12-10T12:20:24.000Z
import torch __all__ = [ 'Adam', 'SGD', 'ExponentialDecay' ] Adam = torch.optim.Adam SGD = torch.optim.SGD
21.96
79
0.661202
2b4d03d59954090b025b2fdb39cc1802e82f536f
751
py
Python
wharf_management/wharf_management/doctype/security_check/security_check.py
staumoepeau/pms
67aa43fb27f75482275b50dff17f5919e6c394b1
[ "MIT" ]
1
2021-02-19T11:45:24.000Z
2021-02-19T11:45:24.000Z
wharf_management/wharf_management/doctype/security_check/security_check.py
staumoepeau/pms
67aa43fb27f75482275b50dff17f5919e6c394b1
[ "MIT" ]
1
2021-08-12T08:29:50.000Z
2021-08-17T06:12:02.000Z
wharf_management/wharf_management/doctype/security_check/security_check.py
staumoepeau/pms
67aa43fb27f75482275b50dff17f5919e6c394b1
[ "MIT" ]
4
2020-07-22T20:30:00.000Z
2021-08-07T12:36:01.000Z
# -*- coding: utf-8 -*- # Copyright (c) 2017, Sione Taumoepeau and contributors # For license information, please see license.txt from __future__ import unicode_literals import frappe from frappe.model.document import Document from frappe import msgprint, _, scrub
30.04
165
0.772304
2b4db1ded88b7c952c097270d8ab5f711e96a0de
627
py
Python
python/tvm/tensor_graph/testing/datasets/mnist.py
QinHan-Erin/AMOS
634bf48edf4015e4a69a8c32d49b96bce2b5f16f
[ "Apache-2.0" ]
22
2022-03-18T07:29:31.000Z
2022-03-23T14:54:32.000Z
python/tvm/tensor_graph/testing/datasets/mnist.py
QinHan-Erin/AMOS
634bf48edf4015e4a69a8c32d49b96bce2b5f16f
[ "Apache-2.0" ]
null
null
null
python/tvm/tensor_graph/testing/datasets/mnist.py
QinHan-Erin/AMOS
634bf48edf4015e4a69a8c32d49b96bce2b5f16f
[ "Apache-2.0" ]
2
2022-03-18T08:26:34.000Z
2022-03-20T06:02:48.000Z
import torch import torchvision from torchvision import transforms
52.25
129
0.795853
2b4eb06c3cbb298daf39187115856d9eb9bb7ca9
1,193
py
Python
src/python/WMCore/WMBS/MySQL/Locations/GetSiteInfo.py
khurtado/WMCore
f74e252412e49189a92962945a94f93bec81cd1e
[ "Apache-2.0" ]
21
2015-11-19T16:18:45.000Z
2021-12-02T18:20:39.000Z
src/python/WMCore/WMBS/MySQL/Locations/GetSiteInfo.py
khurtado/WMCore
f74e252412e49189a92962945a94f93bec81cd1e
[ "Apache-2.0" ]
5,671
2015-01-06T14:38:52.000Z
2022-03-31T22:11:14.000Z
src/python/WMCore/WMBS/MySQL/Locations/GetSiteInfo.py
khurtado/WMCore
f74e252412e49189a92962945a94f93bec81cd1e
[ "Apache-2.0" ]
67
2015-01-21T15:55:38.000Z
2022-02-03T19:53:13.000Z
#!/usr/bin/env python """ _GetSiteInfo_ MySQL implementation of Locations.GetSiteInfo """ from WMCore.Database.DBFormatter import DBFormatter
36.151515
80
0.602682
2b4eedb5164efaf2f31f1db38dc1cd4d11db9efe
1,278
py
Python
LSD/RMQ/__init__.py
Fabianexe/superbubble
5399e76c49ad62da7d6a2de7b5ea548b415bda30
[ "BSD-3-Clause" ]
1
2021-09-21T13:29:19.000Z
2021-09-21T13:29:19.000Z
LSD/RMQ/__init__.py
Fabianexe/superbubble
5399e76c49ad62da7d6a2de7b5ea548b415bda30
[ "BSD-3-Clause" ]
null
null
null
LSD/RMQ/__init__.py
Fabianexe/superbubble
5399e76c49ad62da7d6a2de7b5ea548b415bda30
[ "BSD-3-Clause" ]
2
2019-09-11T23:33:12.000Z
2021-02-18T14:39:01.000Z
""" Thise source code is from https://codereview.stackexchange.com/questions/154047/dynamic-programming-based-range-minimum-query And stands so under Creative Commons Licensing """ from itertools import product
33.631579
99
0.584507
2b4f8e5cdc0d26f07c9c86123acc7f43f5d72d65
1,455
py
Python
setup.py
JanviRaina/openodia
f33d095afcb2e87108986ecf16a5ee0f59568502
[ "MIT" ]
null
null
null
setup.py
JanviRaina/openodia
f33d095afcb2e87108986ecf16a5ee0f59568502
[ "MIT" ]
null
null
null
setup.py
JanviRaina/openodia
f33d095afcb2e87108986ecf16a5ee0f59568502
[ "MIT" ]
null
null
null
"""Setup script for openodia Referred: https://github.com/realpython/reader/blob/master/setup.py https://realpython.com/pypi-publish-python-package/ """ import os.path from setuptools import find_packages, setup # The directory containing this file HERE = os.path.abspath(os.path.dirname(__file__)) # Th...
33.068182
81
0.679725
2b53d1c33b0ce215b092396a108e1d3388123180
6,028
py
Python
MLE.py
tutan0558/Stevens-FE800-Group16-18Spring
8683fe4e1b7971403d3c5db16ebf5ba5a0f75af4
[ "BSD-2-Clause" ]
null
null
null
MLE.py
tutan0558/Stevens-FE800-Group16-18Spring
8683fe4e1b7971403d3c5db16ebf5ba5a0f75af4
[ "BSD-2-Clause" ]
null
null
null
MLE.py
tutan0558/Stevens-FE800-Group16-18Spring
8683fe4e1b7971403d3c5db16ebf5ba5a0f75af4
[ "BSD-2-Clause" ]
null
null
null
# -*- coding: utf-8 -*- """ Created on Wed Feb 21 18:22:32 2018 @author: 79127 """ import numpy as np from scipy.optimize import minimize import math import pandas as pd minimize? def LL(params, data): ''' params is a ndarray, [mean, variance, skew, kurt] ''' mean = params[0] sig...
24.806584
144
0.532349
2b547e3eaf9d13c29708cf5a17bb31b88f08fcb4
9,427
py
Python
tests/cli_helper.py
neusse/ksconf
eeafa5663aeff2585a6c3d40e7b72cdbbab9f211
[ "Apache-2.0" ]
51
2018-06-06T02:07:07.000Z
2022-03-11T01:57:07.000Z
tests/cli_helper.py
neusse/ksconf
eeafa5663aeff2585a6c3d40e7b72cdbbab9f211
[ "Apache-2.0" ]
83
2018-04-18T21:44:11.000Z
2021-09-01T14:36:09.000Z
tests/cli_helper.py
neusse/ksconf
eeafa5663aeff2585a6c3d40e7b72cdbbab9f211
[ "Apache-2.0" ]
9
2018-09-30T15:57:38.000Z
2021-10-08T08:49:54.000Z
from __future__ import absolute_import, print_function, unicode_literals import os import shutil import stat import sys import tempfile from io import StringIO, open from subprocess import list2cmdline from textwrap import dedent import ksconf.ext.six as six from ksconf.__main__ import cli from ksconf.conf.parser im...
31.955932
100
0.604222
2b554d39cace94bec033a5b3f6828f64cc59bedf
450
py
Python
setup.py
Nathaniel-Rodriguez/reservoirlib
367261d17fa762375ae40b4cc2ffab1de2113858
[ "MIT" ]
4
2018-07-01T20:17:08.000Z
2020-04-19T06:56:43.000Z
setup.py
Nathaniel-Rodriguez/reservoirlib
367261d17fa762375ae40b4cc2ffab1de2113858
[ "MIT" ]
null
null
null
setup.py
Nathaniel-Rodriguez/reservoirlib
367261d17fa762375ae40b4cc2ffab1de2113858
[ "MIT" ]
5
2019-08-20T02:04:54.000Z
2021-08-16T22:11:38.000Z
from setuptools import setup setup(name='reservoirlib', version='0.1', description='Python 3 library that provides utilities for creating and' ' training reservoir computers.', author='Nathaniel Rodriguez', packages=['reservoirlib'], url='https://github.com/Nathaniel-Rod...
30
77
0.633333
2b58110490a5ec506b288ccfafb0c78b031eefd9
10,645
py
Python
botstory/chat_test.py
botstory/bot-story
9c5b2fc7f7a14dbd467d70f60d5ba855ef89dac3
[ "MIT" ]
5
2017-01-14T13:42:13.000Z
2021-07-27T21:52:04.000Z
botstory/chat_test.py
botstory/bot-story
9c5b2fc7f7a14dbd467d70f60d5ba855ef89dac3
[ "MIT" ]
235
2016-11-07T23:33:28.000Z
2018-03-13T11:27:33.000Z
botstory/chat_test.py
hyzhak/bot-story
9c5b2fc7f7a14dbd467d70f60d5ba855ef89dac3
[ "MIT" ]
5
2017-01-14T13:42:14.000Z
2020-11-06T08:33:20.000Z
import aiohttp import logging import pytest from botstory import Story import botstory.integrations.fb.messenger from botstory.middlewares import location from botstory.utils import answer, SimpleTrigger logger = logging.getLogger(__name__) # TODO: move to middlewares/location/test_location.py
36.455479
115
0.519493
2b59f33e04abb7e7a0a838142a38b316dd787aec
2,349
py
Python
Python/Deep Learning/Krish Naik/How to Select how many hidden layer and neurons in a neural network.py
omkarsutar1255/Python-Data
169d0c54b23d9dd5a7f1aea41ab385121c3b3c63
[ "CC-BY-3.0" ]
null
null
null
Python/Deep Learning/Krish Naik/How to Select how many hidden layer and neurons in a neural network.py
omkarsutar1255/Python-Data
169d0c54b23d9dd5a7f1aea41ab385121c3b3c63
[ "CC-BY-3.0" ]
null
null
null
Python/Deep Learning/Krish Naik/How to Select how many hidden layer and neurons in a neural network.py
omkarsutar1255/Python-Data
169d0c54b23d9dd5a7f1aea41ab385121c3b3c63
[ "CC-BY-3.0" ]
null
null
null
# todo: How to Select how many hidden layer and neurons in a neural network # Importing the libraries import pandas as pd from keras.models import Sequential from keras.layers import Dense, Activation # Importing the dataset dataset = pd.read_csv('Churn_Modelling.csv') X = dataset.iloc[:, 3:13].values y = dataset.ilo...
30.506494
92
0.747126
2b5a2959c9425677340be48cc569287de612e956
706
py
Python
proxy.py
thinkmassive/mattermost-webhook-slack-proxy
c0ba56bccde3999a0398840cfc379dc70b312707
[ "MIT" ]
2
2021-07-17T00:00:34.000Z
2021-07-19T10:42:45.000Z
proxy.py
thinkmassive/mattermost-webhook-slack-proxy
c0ba56bccde3999a0398840cfc379dc70b312707
[ "MIT" ]
1
2021-07-02T12:32:49.000Z
2021-07-05T13:10:36.000Z
proxy.py
thinkmassive/mattermost-webhook-slack-proxy
c0ba56bccde3999a0398840cfc379dc70b312707
[ "MIT" ]
null
null
null
from mitmproxy import http import json
37.157895
84
0.57932
2b5a89bb281e2f10b2d2d3adb7e007e196296d75
683
py
Python
tests/resources/test_processor.py
jspeerless/citrine-python
ef373cde3b2f9be9bd5657b3e59966f75dc111ff
[ "Apache-2.0" ]
23
2019-11-01T23:52:53.000Z
2022-03-12T23:51:42.000Z
tests/resources/test_processor.py
jspeerless/citrine-python
ef373cde3b2f9be9bd5657b3e59966f75dc111ff
[ "Apache-2.0" ]
289
2019-09-09T22:48:32.000Z
2022-03-25T16:56:03.000Z
tests/resources/test_processor.py
jspeerless/citrine-python
ef373cde3b2f9be9bd5657b3e59966f75dc111ff
[ "Apache-2.0" ]
8
2019-10-30T18:51:26.000Z
2021-10-06T03:36:34.000Z
import uuid from citrine.resources.processor import ProcessorCollection
24.392857
59
0.610542
2b5ae689c884fcdcd77ac12ff0a18c23bdd5b06b
32,619
py
Python
tofu/geom/_comp.py
Louwrensth/tofu
df2841d24eaf223ae07d862ffaa33fdb2fc079d3
[ "MIT" ]
null
null
null
tofu/geom/_comp.py
Louwrensth/tofu
df2841d24eaf223ae07d862ffaa33fdb2fc079d3
[ "MIT" ]
null
null
null
tofu/geom/_comp.py
Louwrensth/tofu
df2841d24eaf223ae07d862ffaa33fdb2fc079d3
[ "MIT" ]
null
null
null
""" This module is the computational part of the geometrical module of ToFu """ # Built-in import sys import warnings # Common import numpy as np import scipy.interpolate as scpinterp import scipy.integrate as scpintg if sys.version[0]=='3': from inspect import signature as insp elif sys.version[0]=='2': from...
40.420074
258
0.513842
2b5e05f42038359b8b6d7bc3e1f4fce4a8ff9ec7
8,420
py
Python
j4j_handler/api_token_handler/j4j_api_token.py
FZJ-JSC/jupyter-jsc-jupyterhub-collection
3fbb83da6e356df57bbdd24269157944f7fcd2a5
[ "BSD-3-Clause" ]
null
null
null
j4j_handler/api_token_handler/j4j_api_token.py
FZJ-JSC/jupyter-jsc-jupyterhub-collection
3fbb83da6e356df57bbdd24269157944f7fcd2a5
[ "BSD-3-Clause" ]
null
null
null
j4j_handler/api_token_handler/j4j_api_token.py
FZJ-JSC/jupyter-jsc-jupyterhub-collection
3fbb83da6e356df57bbdd24269157944f7fcd2a5
[ "BSD-3-Clause" ]
null
null
null
''' Created on May 10, 2019 @author: kreuzer ''' import json import uuid import base64 import time import requests import os from contextlib import closing from jupyterhub.orm import APIToken, User from jupyterhub.apihandlers.base import APIHandler
55.394737
229
0.547387
2b5f5764b06ef2ac451c2d22bf2200462d4aa93e
1,006
py
Python
apps/categorys/models.py
ErikJiang/accountbook_server
8e9e5472072af23ab0496d256b0a49bd9e55bbe3
[ "MIT" ]
16
2019-01-13T11:09:10.000Z
2021-12-27T22:12:55.000Z
apps/categorys/models.py
ErikJiang/accountbook_server
8e9e5472072af23ab0496d256b0a49bd9e55bbe3
[ "MIT" ]
2
2020-06-05T18:21:42.000Z
2021-03-19T22:13:15.000Z
apps/categorys/models.py
ErikJiang/accountbook_server
8e9e5472072af23ab0496d256b0a49bd9e55bbe3
[ "MIT" ]
7
2019-03-17T08:10:41.000Z
2022-03-04T14:35:57.000Z
from django.db import models # from django.contrib.auth.models import User from apps.users.models import CustomUser # Enum from enum import Enum from enumfields import EnumIntegerField
34.689655
115
0.72167
2b602336f80bb1e1c95e051c146cc97cad705b49
2,776
py
Python
src/random_subset.py
KaiFabi/NeuroEvolution
2ecbff626547e3745ba51135f43bce606f93f404
[ "MIT" ]
null
null
null
src/random_subset.py
KaiFabi/NeuroEvolution
2ecbff626547e3745ba51135f43bce606f93f404
[ "MIT" ]
null
null
null
src/random_subset.py
KaiFabi/NeuroEvolution
2ecbff626547e3745ba51135f43bce606f93f404
[ "MIT" ]
null
null
null
"""Random subset dataset. """ import random import numpy as np import torch from torch.utils.data import Dataset from PIL import Image
31.191011
100
0.611671
2b604002fb5b796426d2078ad7992b9e321f4415
804
py
Python
A3C/agent.py
gungui98/deeprl-a3c-ai2thor
5a2699f0a4bc5fe8cd54b0f38b898e023d163e29
[ "MIT" ]
1
2020-12-14T13:11:24.000Z
2020-12-14T13:11:24.000Z
A3C/agent.py
gungui98/deeprl-a3c-ai2thor
5a2699f0a4bc5fe8cd54b0f38b898e023d163e29
[ "MIT" ]
13
2020-01-28T22:42:44.000Z
2022-03-11T23:47:10.000Z
A3C/agent.py
gungui98/deeprl-a3c-ai2thor
5a2699f0a4bc5fe8cd54b0f38b898e023d163e29
[ "MIT" ]
2
2019-06-26T05:03:12.000Z
2021-03-29T08:26:07.000Z
import numpy as np from keras.optimizers import RMSprop
28.714286
87
0.599502
2b6092497777272f3c9eff71d04f360c6510a763
12,676
py
Python
genestack_client/scripts/genestack_user_setup.py
genestack/python-client
083eb0508dc99c7575ba7f115595f2535f007583
[ "MIT" ]
2
2017-08-30T22:32:59.000Z
2021-07-20T10:08:23.000Z
genestack_client/scripts/genestack_user_setup.py
genestack/python-client
083eb0508dc99c7575ba7f115595f2535f007583
[ "MIT" ]
58
2015-10-19T08:36:00.000Z
2020-12-07T13:48:17.000Z
genestack_client/scripts/genestack_user_setup.py
genestack/python-client
083eb0508dc99c7575ba7f115595f2535f007583
[ "MIT" ]
6
2015-10-21T21:43:45.000Z
2021-01-06T20:33:53.000Z
#!python # -*- coding: utf-8 -*- from __future__ import print_function from __future__ import absolute_import from __future__ import division from __future__ import unicode_literals from future import standard_library standard_library.install_aliases() from builtins import input from builtins import * import os impor...
31.376238
108
0.620069
2b6191475f019807f6bd7d0f8f48a68519948cff
440
py
Python
_task.py
zemogle/twittervotes
7555d80f2b07c9d5cfae2d6e511f159259c2dbfb
[ "MIT" ]
null
null
null
_task.py
zemogle/twittervotes
7555d80f2b07c9d5cfae2d6e511f159259c2dbfb
[ "MIT" ]
null
null
null
_task.py
zemogle/twittervotes
7555d80f2b07c9d5cfae2d6e511f159259c2dbfb
[ "MIT" ]
null
null
null
from tempfile import mkstemp import os import tinys3
22
97
0.688636
2b619974b791b3dc319a188eb0b8ea38e14618c6
386
py
Python
build_scripts/install_deps.py
kamranrad1993/ngfx
eeef60e3419a88371a97e8bc3109d2b35b82cc89
[ "Apache-2.0", "MIT-0", "MIT" ]
12
2021-04-03T16:50:22.000Z
2022-03-18T07:14:14.000Z
build_scripts/install_deps.py
kamranrad1993/ngfx
eeef60e3419a88371a97e8bc3109d2b35b82cc89
[ "Apache-2.0", "MIT-0", "MIT" ]
6
2021-05-06T21:02:19.000Z
2022-02-14T11:57:27.000Z
build_scripts/install_deps.py
kamranrad1993/ngfx
eeef60e3419a88371a97e8bc3109d2b35b82cc89
[ "Apache-2.0", "MIT-0", "MIT" ]
5
2021-06-11T20:15:37.000Z
2022-03-18T07:14:21.000Z
from common import * os.chdir(EXTERNAL_DIR) PKGS = env('PKGS', 'all') ninja_template = read_file(f'{SCRIPT_DIR}/install_deps_{OS_LOWER_CASE}.ninja.in') write_file(f'install_deps_{OS_LOWER_CASE}.ninja', ninja_template.format(**ENV_PARAMS)) for key, val in ENV_PARAMS.items(): print(f'{key} = {val}') shel...
32.166667
87
0.715026
2b623892d5b3f6ccac316343b3491435d7f31554
14,568
py
Python
ooobuild/lo/inspection/x_property_handler.py
Amourspirit/ooo_uno_tmpl
64e0c86fd68f24794acc22d63d8d32ae05dd12b8
[ "Apache-2.0" ]
null
null
null
ooobuild/lo/inspection/x_property_handler.py
Amourspirit/ooo_uno_tmpl
64e0c86fd68f24794acc22d63d8d32ae05dd12b8
[ "Apache-2.0" ]
null
null
null
ooobuild/lo/inspection/x_property_handler.py
Amourspirit/ooo_uno_tmpl
64e0c86fd68f24794acc22d63d8d32ae05dd12b8
[ "Apache-2.0" ]
null
null
null
# coding: utf-8 # # Copyright 2022 :Barry-Thomas-Paul: Moss # # Licensed under the Apache License, Version 2.0 (the "License") # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http: // www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicab...
61.468354
410
0.734075
2b632497a6ea6fdf0bb92e774fc99e0e6b5fa507
957
py
Python
en16931/tests/test_tax.py
invinet/python-en16931
f6671f86e8d578c3c82a48134426f89ec13b160c
[ "Apache-2.0" ]
9
2018-07-09T10:34:27.000Z
2021-10-13T20:11:04.000Z
en16931/tests/test_tax.py
invinet/python-en16931
f6671f86e8d578c3c82a48134426f89ec13b160c
[ "Apache-2.0" ]
null
null
null
en16931/tests/test_tax.py
invinet/python-en16931
f6671f86e8d578c3c82a48134426f89ec13b160c
[ "Apache-2.0" ]
1
2022-02-07T15:30:53.000Z
2022-02-07T15:30:53.000Z
import pytest from collections import Hashable from en16931.tax import Tax
23.925
44
0.572623
2b67f9f4b7c716e2fcb690bddba581117766a0e8
6,285
py
Python
tools/data/textrecog/lsvt_converter.py
TeyrCrimson/mmocr
3059c97dc53b000a1509916ad30223329d926b02
[ "Apache-2.0" ]
1
2022-02-21T18:38:57.000Z
2022-02-21T18:38:57.000Z
tools/data/textrecog/lsvt_converter.py
TeyrCrimson/mmocr
3059c97dc53b000a1509916ad30223329d926b02
[ "Apache-2.0" ]
null
null
null
tools/data/textrecog/lsvt_converter.py
TeyrCrimson/mmocr
3059c97dc53b000a1509916ad30223329d926b02
[ "Apache-2.0" ]
null
null
null
# Copyright (c) OpenMMLab. All rights reserved. import argparse import json import math import os.path as osp from functools import partial import mmcv from mmocr.utils.fileio import list_to_file def convert_lsvt(root_path, split, ratio, preserve_vertical, ...
31.425
79
0.59825
2b6800c9e35b30d919c5fb6ac7e188c956250fd2
1,338
py
Python
qgisserver/migrations/0012_auto_20190305_1011.py
aroiginfraplan/giscube-admin
b7f3131b0186f847f3902df97f982cb288b16a49
[ "BSD-3-Clause" ]
5
2018-06-07T12:54:35.000Z
2022-01-14T10:38:38.000Z
qgisserver/migrations/0012_auto_20190305_1011.py
aroiginfraplan/giscube-admin
b7f3131b0186f847f3902df97f982cb288b16a49
[ "BSD-3-Clause" ]
140
2018-06-18T10:27:28.000Z
2022-03-23T09:53:15.000Z
qgisserver/migrations/0012_auto_20190305_1011.py
aroiginfraplan/giscube-admin
b7f3131b0186f847f3902df97f982cb288b16a49
[ "BSD-3-Clause" ]
1
2021-04-13T11:20:54.000Z
2021-04-13T11:20:54.000Z
# Generated by Django 2.1.7 on 2019-03-05 10:11 from django.db import migrations, models import qgisserver.models
38.228571
219
0.637519
2b680ea7b1f70745bf7ad7e84d9f3370176b1740
905
py
Python
tests/test_error43.py
xlevus/virsh-patcher
a1e37875f52b534302a234524fb5c172052e4ea8
[ "BSD-2-Clause" ]
52
2017-12-30T03:49:06.000Z
2021-10-08T09:43:55.000Z
tests/test_error43.py
xlevus/virsh-patcher
a1e37875f52b534302a234524fb5c172052e4ea8
[ "BSD-2-Clause" ]
7
2017-12-30T20:36:02.000Z
2021-11-18T14:12:04.000Z
tests/test_error43.py
xlevus/virsh-patcher
a1e37875f52b534302a234524fb5c172052e4ea8
[ "BSD-2-Clause" ]
12
2017-12-30T16:43:44.000Z
2020-06-13T22:37:11.000Z
from xml.etree import ElementTree as ET import pytest from virshpatcher.patcher import PatchE43 from conftest import assert_nodes, assert_noop
19.673913
46
0.646409
2b6933c7fbf6d07d10feccd70de52addfefb38ae
658
py
Python
python/tests/structural/test_decorator.py
harkhuang/designpatterns
dfd6623976410882753913498158dcb0ea70c1d2
[ "Apache-2.0" ]
null
null
null
python/tests/structural/test_decorator.py
harkhuang/designpatterns
dfd6623976410882753913498158dcb0ea70c1d2
[ "Apache-2.0" ]
null
null
null
python/tests/structural/test_decorator.py
harkhuang/designpatterns
dfd6623976410882753913498158dcb0ea70c1d2
[ "Apache-2.0" ]
null
null
null
#!/usr/bin/env python # -*- coding: utf-8 -*- import unittest from patterns.structural.decorator import TextTag, BoldWrapper, ItalicWrapper
34.631579
113
0.700608
2b698ce13143fcc28991e328f0a79a6a16286e7e
436
py
Python
src/examples/quick.py
CorvusPrudens/Enca
67551b56a8a2a87b62d764602ebaa03f17982518
[ "MIT" ]
null
null
null
src/examples/quick.py
CorvusPrudens/Enca
67551b56a8a2a87b62d764602ebaa03f17982518
[ "MIT" ]
null
null
null
src/examples/quick.py
CorvusPrudens/Enca
67551b56a8a2a87b62d764602ebaa03f17982518
[ "MIT" ]
null
null
null
import re instr = re.compile(r'[ \t]*[a-z]+ ([a-z0-9\[\]]+,? *)*') data = [] with open("conditionals.enc", "r") as file: for line in file: data.append(line) from random import choice conditions = ['zero', 'carry', 'negative', 'equal', 'greater', 'less'] with open("cond.enc", 'w') as file: for line in data:...
22.947368
70
0.58945
2b6c100ee8f1547641e68cab2715c64adeacd4dd
1,184
py
Python
inference/torch_model/transformer/transformer.py
TAViT2022/TAViT
6ea42150c57af0e0618675565440df85121cf50a
[ "Apache-2.0" ]
null
null
null
inference/torch_model/transformer/transformer.py
TAViT2022/TAViT
6ea42150c57af0e0618675565440df85121cf50a
[ "Apache-2.0" ]
null
null
null
inference/torch_model/transformer/transformer.py
TAViT2022/TAViT
6ea42150c57af0e0618675565440df85121cf50a
[ "Apache-2.0" ]
null
null
null
import torch import torch.nn as nn from einops.layers.torch import Rearrange
34.823529
84
0.502534
2b6da2f0c9b5f0cefbd0075526e9eb021fc084e9
2,092
py
Python
dosu/utils.py
tsandrini/DoSU
312afb1c1dccaf5088b8d5818adf08d5406076ae
[ "MIT" ]
null
null
null
dosu/utils.py
tsandrini/DoSU
312afb1c1dccaf5088b8d5818adf08d5406076ae
[ "MIT" ]
2
2017-02-07T08:23:34.000Z
2017-09-09T08:46:25.000Z
dosu/utils.py
tsandrini/dosu
312afb1c1dccaf5088b8d5818adf08d5406076ae
[ "MIT" ]
null
null
null
""" __/\\\\\\\\\\\\______________________/\\\\\\\\\\\____/\\\________/\\\_ _\/\\\////////\\\__________________/\\\/////////\\\_\/\\\_______\/\\\_ _\/\\\______\//\\\________________\//\\\______\///__\/\\\_______\/\\\_ _\/\\\_______\/\\\_____/\\\\\______\////\\\_________\/\\\_______\/\\\_ _\/\\\_______\/\\\___/...
27.168831
91
0.498566
2b6dbaaeee834ce10b296c5ec51a9014d0fbab68
2,113
py
Python
mod/bad_images.py
lokal-profil/isfdb_site
0ce20d6347849926d4eda961ea9249c31519eea5
[ "BSD-3-Clause" ]
null
null
null
mod/bad_images.py
lokal-profil/isfdb_site
0ce20d6347849926d4eda961ea9249c31519eea5
[ "BSD-3-Clause" ]
null
null
null
mod/bad_images.py
lokal-profil/isfdb_site
0ce20d6347849926d4eda961ea9249c31519eea5
[ "BSD-3-Clause" ]
null
null
null
#!_PYTHONLOC # # (C) COPYRIGHT 2014-2021 Ahasuerus # ALL RIGHTS RESERVED # # The copyright notice above does not evidence any actual or # intended publication of such source code. # # Version: $Revision$ # Date: $Date$ from isfdb import * from common import * from isfdblib import * from ...
30.185714
97
0.54567
2b6e242775999039db97b7ad1387761e2155fb1f
117
py
Python
W3Schools Online Lessons/ML/Normal Data Distribution.py
Hetti219/Python-Projects
cf483836496d329ea056928b719e485cbab303a8
[ "MIT" ]
1
2021-12-13T06:04:57.000Z
2021-12-13T06:04:57.000Z
W3Schools Online Lessons/ML/Normal Data Distribution.py
Hetti219/Python-Projects
cf483836496d329ea056928b719e485cbab303a8
[ "MIT" ]
null
null
null
W3Schools Online Lessons/ML/Normal Data Distribution.py
Hetti219/Python-Projects
cf483836496d329ea056928b719e485cbab303a8
[ "MIT" ]
null
null
null
import numpy import matplotlib.pyplot as plt x = numpy.random.normal(1.9, 1.0, 109324) plt.hist(x, 100) plt.show()
14.625
41
0.717949
2b6e8e31e13f5f8be39e53404e2a14e1327af75b
4,982
py
Python
magma/t.py
leonardt/magma
d3e8c9500ec3b167df8ed067e0c0305781c94ab6
[ "MIT" ]
167
2017-10-08T00:59:22.000Z
2022-02-08T00:14:39.000Z
magma/t.py
leonardt/magma
d3e8c9500ec3b167df8ed067e0c0305781c94ab6
[ "MIT" ]
719
2017-08-29T17:58:28.000Z
2022-03-31T23:39:18.000Z
magma/t.py
leonardt/magma
d3e8c9500ec3b167df8ed067e0c0305781c94ab6
[ "MIT" ]
14
2017-09-01T03:25:16.000Z
2021-11-05T13:30:24.000Z
import abc import enum from magma.common import deprecated from magma.compatibility import IntegerTypes, StringTypes from magma.ref import AnonRef, NamedRef, TempNamedRef, DefnRef, InstRef from magma.protocol_type import magma_value from magma.wire import wire def __imatmul__(self, other): other = magma_...
26.784946
79
0.61381
2b6f5015f37c257a07fcf7c93dc55530a55149b2
284
py
Python
src/python/baekjoon/10996.py
Hyeon9mak/Baekjoon
1595eeb260eaf41cc191bd4bbda5a9a2a817f1bd
[ "MIT" ]
null
null
null
src/python/baekjoon/10996.py
Hyeon9mak/Baekjoon
1595eeb260eaf41cc191bd4bbda5a9a2a817f1bd
[ "MIT" ]
null
null
null
src/python/baekjoon/10996.py
Hyeon9mak/Baekjoon
1595eeb260eaf41cc191bd4bbda5a9a2a817f1bd
[ "MIT" ]
null
null
null
N = int(input()) R = [] for i in range(0, N*2) : if i%2 == 0 : R.append("*") else : R.append(" ") for l in range(0, N) : P1 = P2 = "" for i in range(0, N) : P1 += R[i] print(P1) for i in range(N*2-1, N-1, -1) : P2 += R[i] print(P2)
18.933333
36
0.408451
2b6feb1cef348bca9825e944d5a9fb0cff80f7de
799
py
Python
analysededonneesavecnumpy/effectuerdescomparaisons1.py
haxuyennt38/python-learning
c5fcfc0abfd4aebf4ce58e2f23d378703bd48430
[ "MIT" ]
null
null
null
analysededonneesavecnumpy/effectuerdescomparaisons1.py
haxuyennt38/python-learning
c5fcfc0abfd4aebf4ce58e2f23d378703bd48430
[ "MIT" ]
null
null
null
analysededonneesavecnumpy/effectuerdescomparaisons1.py
haxuyennt38/python-learning
c5fcfc0abfd4aebf4ce58e2f23d378703bd48430
[ "MIT" ]
null
null
null
import numpy as np vector = np.array([5, 10, 15, 20]) equal_to_ten = (vector == 10) print(equal_to_ten) matrix = np.array([[10, 25, 30], [45, 50, 55], [60, 65, 70]]) equal_to_25 = (matrix[:, 1]) == 25 print(equal_to_25) ##Lire le dataset world_alcohol.csv dans la variable world_alcohol world_alcohol = np.genf...
26.633333
135
0.725907
2b7232f90a535ad8f5b268e20e520ac98a6345eb
2,089
py
Python
evaluator/base_evaluator.py
marsggbo/CovidNet3D
0aeca91a775f938a0e568dd88d8162473dacf3ce
[ "MIT" ]
5
2021-02-23T06:43:31.000Z
2021-07-05T15:24:05.000Z
evaluator/base_evaluator.py
etherx-dev/CovidNet3D
b107d7d965cad07f1890ee492857273f3468cc01
[ "MIT" ]
1
2021-06-08T21:06:10.000Z
2021-06-08T21:06:10.000Z
evaluator/base_evaluator.py
etherx-dev/CovidNet3D
b107d7d965cad07f1890ee492857273f3468cc01
[ "MIT" ]
4
2021-02-01T03:29:16.000Z
2021-08-05T09:13:37.000Z
# Copyright (c) Microsoft Corporation. # Licensed under the MIT license. import argparse import json import logging import os import time from argparse import ArgumentParser import numpy as np import torch import torch.nn as nn from torch.utils.tensorboard import SummaryWriter import nni from datasets import build_d...
26.443038
76
0.675443
2b7251fa09e748344135d3c130fa94ac701bd531
5,147
py
Python
venv/lib/python3.6/site-packages/ansible_collections/community/vmware/plugins/modules/vmware_content_library_info.py
usegalaxy-no/usegalaxy
75dad095769fe918eb39677f2c887e681a747f3a
[ "MIT" ]
7
2021-11-16T04:05:42.000Z
2022-02-19T21:14:29.000Z
venv/lib/python3.6/site-packages/ansible_collections/community/vmware/plugins/modules/vmware_content_library_info.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/community/vmware/plugins/modules/vmware_content_library_info.py
usegalaxy-no/usegalaxy
75dad095769fe918eb39677f2c887e681a747f3a
[ "MIT" ]
1
2022-03-01T05:43:07.000Z
2022-03-01T05:43:07.000Z
#!/usr/bin/python # -*- coding: utf-8 -*- # Copyright: (c) 2019, Ansible Project # Copyright: (c) 2019, Pavan Bidkar <pbidkar@vmware.com> # 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 ...
34.313333
131
0.687974
2b73a402cb39b2f0ed382c6d56128b9958ad2807
3,302
py
Python
recirq/qml_lfe/circuit_blocks_test.py
MarkDaoust/ReCirq
0838e2732851a3a9d8cce1afac25b0d51a413f0a
[ "Apache-2.0" ]
null
null
null
recirq/qml_lfe/circuit_blocks_test.py
MarkDaoust/ReCirq
0838e2732851a3a9d8cce1afac25b0d51a413f0a
[ "Apache-2.0" ]
null
null
null
recirq/qml_lfe/circuit_blocks_test.py
MarkDaoust/ReCirq
0838e2732851a3a9d8cce1afac25b0d51a413f0a
[ "Apache-2.0" ]
null
null
null
# Copyright 2021 Google # # 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 # # https://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, soft...
32.372549
84
0.633253
2b73f9e0f4d58027edcb5a930b93dd8c81053c54
350
py
Python
RecoEgamma/EgammaElectronProducers/python/lowPtGsfElectronsPreRegression_cfi.py
ckamtsikis/cmssw
ea19fe642bb7537cbf58451dcf73aa5fd1b66250
[ "Apache-2.0" ]
13
2015-11-30T15:49:45.000Z
2022-02-08T16:11:30.000Z
RecoEgamma/EgammaElectronProducers/python/lowPtGsfElectronsPreRegression_cfi.py
ckamtsikis/cmssw
ea19fe642bb7537cbf58451dcf73aa5fd1b66250
[ "Apache-2.0" ]
640
2015-02-11T18:55:47.000Z
2022-03-31T14:12:23.000Z
RecoEgamma/EgammaElectronProducers/python/lowPtGsfElectronsPreRegression_cfi.py
ckamtsikis/cmssw
ea19fe642bb7537cbf58451dcf73aa5fd1b66250
[ "Apache-2.0" ]
51
2015-08-11T21:01:40.000Z
2022-03-30T07:31:34.000Z
from RecoEgamma.EgammaElectronProducers.gsfElectrons_cfi import ecalDrivenGsfElectrons lowPtGsfElectronsPreRegression = ecalDrivenGsfElectrons.clone(gsfElectronCoresTag = "lowPtGsfElectronCores") from Configuration.Eras.Modifier_fastSim_cff import fastSim fastSim.toModify(lowPtGsfElectronsPreRegression,ctfTracksTag =...
50
108
0.897143
2b73fa429d2f99e7400e0b73f68e23d4093c7080
46
py
Python
tests/fixtures/script-files/sample_script.py
avoltz/poetry-core
e4d04bab77915b8ec5e995c9b88b539bacb55bc8
[ "MIT" ]
205
2020-07-03T13:01:07.000Z
2022-03-27T09:56:16.000Z
tests/fixtures/script-files/sample_script.py
avoltz/poetry-core
e4d04bab77915b8ec5e995c9b88b539bacb55bc8
[ "MIT" ]
149
2020-06-28T00:02:05.000Z
2022-03-29T14:35:58.000Z
tests/fixtures/script-files/sample_script.py
avoltz/poetry-core
e4d04bab77915b8ec5e995c9b88b539bacb55bc8
[ "MIT" ]
152
2020-06-27T00:04:52.000Z
2022-03-28T15:50:40.000Z
#!/usr/bin/env python hello = "Hello World!"
11.5
22
0.652174
2b75551cd2d7ea8e68ffa526133f1c22b78f2a55
494
py
Python
example/models.py
acdh-oeaw/django-gnd
48e4d11bad0fb9ee11cc386d5f401480551e871c
[ "MIT" ]
null
null
null
example/models.py
acdh-oeaw/django-gnd
48e4d11bad0fb9ee11cc386d5f401480551e871c
[ "MIT" ]
null
null
null
example/models.py
acdh-oeaw/django-gnd
48e4d11bad0fb9ee11cc386d5f401480551e871c
[ "MIT" ]
null
null
null
from django.db import models from django.urls import reverse from gnd.models import GndPersonBase
24.7
67
0.722672
2b75db05dad24a6a1243b29f46ad745c9c2181c9
535
py
Python
programs/migrations/0004_auto_20200708_1510.py
bycristhian/psp
019825e010386b6acc8c5466e7a6765218cb10d9
[ "MIT" ]
2
2020-09-04T17:06:41.000Z
2020-10-05T01:46:20.000Z
programs/migrations/0004_auto_20200708_1510.py
bycristhian/psp
019825e010386b6acc8c5466e7a6765218cb10d9
[ "MIT" ]
null
null
null
programs/migrations/0004_auto_20200708_1510.py
bycristhian/psp
019825e010386b6acc8c5466e7a6765218cb10d9
[ "MIT" ]
null
null
null
# Generated by Django 3.0.5 on 2020-07-08 20:10 from django.db import migrations, models
22.291667
49
0.571963
2b76074f6c6e9f21f01241dacdb81730768d55e8
3,643
py
Python
example.py
Resident234/dejavu
607811a60388f024d8dd52b47030b4271e4660f3
[ "MIT" ]
null
null
null
example.py
Resident234/dejavu
607811a60388f024d8dd52b47030b4271e4660f3
[ "MIT" ]
null
null
null
example.py
Resident234/dejavu
607811a60388f024d8dd52b47030b4271e4660f3
[ "MIT" ]
null
null
null
import warnings import json import logging import datetime import threading, time import vlc import os import sys #import multiprocessing from multiprocessing import Process warnings.filterwarnings("ignore") from dejavu import Dejavu from dejavu.recognize import FileRecognizer, MicrophoneRecognizer from dejavu.record...
35.715686
101
0.715619
2b7661631e26d7c909ec01b827d25a4ce6c56fb8
1,096
py
Python
nabu/postprocessing/reconstructors/weighted_kmeans.py
Darleen2019/Nabu-MSSS
5e862cbf846d45b8a317f87588533f3fde9f0726
[ "MIT" ]
18
2017-10-16T13:12:46.000Z
2022-02-15T01:20:00.000Z
nabu/postprocessing/reconstructors/weighted_kmeans.py
Darleen2019/Nabu-MSSS
5e862cbf846d45b8a317f87588533f3fde9f0726
[ "MIT" ]
null
null
null
nabu/postprocessing/reconstructors/weighted_kmeans.py
Darleen2019/Nabu-MSSS
5e862cbf846d45b8a317f87588533f3fde9f0726
[ "MIT" ]
9
2017-10-03T18:10:10.000Z
2020-11-13T08:26:31.000Z
# Based on: https://towardsdatascience.com/clustering-the-us-population-observation-weighted-k-means-f4d58b370002 import random import numpy as np import scipy.spatial
29.621622
113
0.720803
2b7ab663452a80c4be262712173532cb7f06dc77
2,339
py
Python
Web.PY/client-post.py
Phoebus-Ma/Python-Helper
d880729f0bbfbc2b1503602fd74c9177ecd4e970
[ "MIT" ]
null
null
null
Web.PY/client-post.py
Phoebus-Ma/Python-Helper
d880729f0bbfbc2b1503602fd74c9177ecd4e970
[ "MIT" ]
null
null
null
Web.PY/client-post.py
Phoebus-Ma/Python-Helper
d880729f0bbfbc2b1503602fd74c9177ecd4e970
[ "MIT" ]
null
null
null
### # Python http post example. # # License - MIT. ### import os # pip install requests. import requests # pip install lxml # pip install beautifulsoup4 from bs4 import BeautifulSoup # login github class. # } # Main function. def main(): # { test_page = 'https://github.com/torvalds/linux' print('Login ...
20.163793
128
0.535271
2b7b4342609278d1a046c18ba64c0b30f5c732af
7,772
py
Python
wqxlib/wqx_v3_0/BiologicalHabitatCollectionInformation.py
FlippingBinary/wqxlib-python
5aa1d41384928f1faca47d5984485e2efa93174c
[ "MIT" ]
null
null
null
wqxlib/wqx_v3_0/BiologicalHabitatCollectionInformation.py
FlippingBinary/wqxlib-python
5aa1d41384928f1faca47d5984485e2efa93174c
[ "MIT" ]
null
null
null
wqxlib/wqx_v3_0/BiologicalHabitatCollectionInformation.py
FlippingBinary/wqxlib-python
5aa1d41384928f1faca47d5984485e2efa93174c
[ "MIT" ]
null
null
null
from yattag import Doc from .CollectionEffort import CollectionEffort from .MeasureCompact import MeasureCompact from .NetInformation import NetInformation from .SimpleContent import CollectionDescriptionText, PassCount
41.340426
88
0.665208
2b7b76037a4e898e16254c3e5645a41b057d31df
2,434
py
Python
Python/Search/Search-1-Billion-Users.py
sethmh82/SethDevelopment
08f3bd22923b652f9d676ffa2af3dc037eed6d73
[ "MIT" ]
null
null
null
Python/Search/Search-1-Billion-Users.py
sethmh82/SethDevelopment
08f3bd22923b652f9d676ffa2af3dc037eed6d73
[ "MIT" ]
null
null
null
Python/Search/Search-1-Billion-Users.py
sethmh82/SethDevelopment
08f3bd22923b652f9d676ffa2af3dc037eed6d73
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- """ Created on Tue Dec 29 15:50:49 2020 @author: SethHarden """ import math # Add any extra import statements you may need here """ We have N different apps with differnt user growth rates. At a given time (t) Measure in days (d) the number of users using an app is g ^ t can be a float G =...
22.962264
82
0.670501
2b7b79f498f068eefb83d8e90c391e5196855fa6
26,109
py
Python
pysnmp/SYMMCOMMONPTP.py
agustinhenze/mibs.snmplabs.com
1fc5c07860542b89212f4c8ab807057d9a9206c7
[ "Apache-2.0" ]
11
2021-02-02T16:27:16.000Z
2021-08-31T06:22:49.000Z
pysnmp/SYMMCOMMONPTP.py
agustinhenze/mibs.snmplabs.com
1fc5c07860542b89212f4c8ab807057d9a9206c7
[ "Apache-2.0" ]
75
2021-02-24T17:30:31.000Z
2021-12-08T00:01:18.000Z
pysnmp/SYMMCOMMONPTP.py
agustinhenze/mibs.snmplabs.com
1fc5c07860542b89212f4c8ab807057d9a9206c7
[ "Apache-2.0" ]
10
2019-04-30T05:51:36.000Z
2022-02-16T03:33:41.000Z
# # PySNMP MIB module SYMMCOMMONPTP (http://snmplabs.com/pysmi) # ASN.1 source file:///Users/neermitt/Dev/kusanagi/mibs.snmplabs.com/asn1/SYMMCOMMONPTP # Produced by pysmi-0.3.4 at Tue Jul 30 11:34:16 2019 # On host NEERMITT-M-J0NV platform Darwin version 18.6.0 by user neermitt # Using Python version 3.7.4 (default, J...
109.242678
3,472
0.747865
990c69f4925b4b4e3e4b2bab37130ecee4f8f725
960
py
Python
033.Search in Rotated Sorted Array/better.py
hotheat/LeetCode
c37f44f71a0e266aa8078c95506e6aa54ce4660c
[ "MIT" ]
2
2019-03-05T08:31:14.000Z
2019-03-21T15:11:43.000Z
033.Search in Rotated Sorted Array/better.py
hotheat/LeetCode
c37f44f71a0e266aa8078c95506e6aa54ce4660c
[ "MIT" ]
null
null
null
033.Search in Rotated Sorted Array/better.py
hotheat/LeetCode
c37f44f71a0e266aa8078c95506e6aa54ce4660c
[ "MIT" ]
null
null
null
if __name__ == '__main__': s = Solution() nums = [1, 3] target = 3 print(s.search(nums, target) == 1) nums = [4, 5, 6, 7, 8, 1, 2] target = 1 print(s.search(nums, target) == 5) nums = [3, 1] target = 1 print(s.search(nums, target) == 1)
24.615385
53
0.4
990d999fd69482a15fa5ce17aef975e84d69d8f0
1,833
py
Python
app/grandchallenge/workstations/urls.py
njmhendrix/grand-challenge.org
9bc36f5e26561a78bd405e8ea5e4c0f86c95f011
[ "Apache-2.0" ]
1
2021-02-09T10:30:44.000Z
2021-02-09T10:30:44.000Z
app/grandchallenge/workstations/urls.py
njmhendrix/grand-challenge.org
9bc36f5e26561a78bd405e8ea5e4c0f86c95f011
[ "Apache-2.0" ]
null
null
null
app/grandchallenge/workstations/urls.py
njmhendrix/grand-challenge.org
9bc36f5e26561a78bd405e8ea5e4c0f86c95f011
[ "Apache-2.0" ]
null
null
null
from django.urls import path from grandchallenge.workstations.views import ( SessionCreate, WorkstationCreate, WorkstationDetail, WorkstationEditorsUpdate, WorkstationImageCreate, WorkstationImageDetail, WorkstationImageUpdate, WorkstationList, WorkstationUpdate, WorkstationUser...
25.816901
71
0.608838
990db22298c48babfa7d964bd01247b4e2c9daad
4,730
py
Python
terminalcolor/TerminalColor.py
cheongwoli/PythonTerminalTextColor
91f44f5dc9b66f4787ede9ba363b47ce72ab653f
[ "MIT" ]
null
null
null
terminalcolor/TerminalColor.py
cheongwoli/PythonTerminalTextColor
91f44f5dc9b66f4787ede9ba363b47ce72ab653f
[ "MIT" ]
null
null
null
terminalcolor/TerminalColor.py
cheongwoli/PythonTerminalTextColor
91f44f5dc9b66f4787ede9ba363b47ce72ab653f
[ "MIT" ]
null
null
null
from enum import Enum from typing import Any __all__ = ['ctext', 'cprint'] def cprint(text: str, **kwargs: Any): """ :param text: Text parameters can only contain string type values. :param kwargs: The kwargs parameter accepts color, bg_color, and text_type values. :return: Print colored text. ...
29.197531
99
0.582241
990dd6346352d50323847ab920af6728e39eb192
5,880
py
Python
2021/day_23/solution_first.py
krother/advent_of_code
fd7d5199666b2f3a60c41c6cf24b747322ad88e5
[ "MIT" ]
3
2021-12-01T09:27:34.000Z
2022-02-24T23:35:56.000Z
2021/day_23/solution_first.py
krother/advent_of_code
fd7d5199666b2f3a60c41c6cf24b747322ad88e5
[ "MIT" ]
null
null
null
2021/day_23/solution_first.py
krother/advent_of_code
fd7d5199666b2f3a60c41c6cf24b747322ad88e5
[ "MIT" ]
null
null
null
"""title https://adventofcode.com/2021/day/23 """ from heapq import heappush, heappop import itertools entry_finder = {} # mapping of tasks to entries REMOVED = '<removed-task>' # placeholder for a removed task counter = itertools.count() # unique sequence count def add_task(pq, task, priori...
32.131148
99
0.430612
990e9f8c1c95014b70321c97ccabc51b75a24bab
8,829
py
Python
Project10- Bank Marketing.py
vaibhav162/Banking-Marketing-Project
1255338b0a844a6a662e3b1887e9cef1a9edc834
[ "Unlicense" ]
null
null
null
Project10- Bank Marketing.py
vaibhav162/Banking-Marketing-Project
1255338b0a844a6a662e3b1887e9cef1a9edc834
[ "Unlicense" ]
null
null
null
Project10- Bank Marketing.py
vaibhav162/Banking-Marketing-Project
1255338b0a844a6a662e3b1887e9cef1a9edc834
[ "Unlicense" ]
null
null
null
#!/usr/bin/env python # coding: utf-8 # # Importing Libraries and Dataset # In[1]: import pandas as pd import numpy as np import matplotlib.pyplot as plt import seaborn as sns # In[2]: bank= pd.read_csv(r"C:\Users\shruti\Desktop\Decodr\Project\Decodr Project\Bank marketing project\bank.csv", delimiter=";") # ...
19.930023
123
0.654094
990ee382aab29a71c3680acb076db25c10304e41
829
py
Python
backend/recotem/recotem/api/serializers/project.py
codelibs/recotem
383ccdd6e1e9feb59bc3adb2543c00b08277317a
[ "Apache-2.0" ]
7
2021-05-15T05:43:36.000Z
2022-01-06T16:08:06.000Z
backend/recotem/recotem/api/serializers/project.py
codelibs/recotem
383ccdd6e1e9feb59bc3adb2543c00b08277317a
[ "Apache-2.0" ]
5
2021-09-25T13:30:38.000Z
2022-01-09T12:59:03.000Z
backend/recotem/recotem/api/serializers/project.py
codelibs/recotem
383ccdd6e1e9feb59bc3adb2543c00b08277317a
[ "Apache-2.0" ]
1
2021-11-02T12:49:06.000Z
2021-11-02T12:49:06.000Z
from rest_framework import serializers from recotem.api.models import Project, TrainingData
29.607143
80
0.756333
990f081cf786ca103dae8b228c500e2155c243cf
1,222
py
Python
rest_api.py
OHNLP/clinical-problem-standardization
c321995ae73df3dc56b0bf6c31eecb62efa778f8
[ "Apache-2.0" ]
5
2020-11-02T13:05:52.000Z
2021-09-01T08:58:37.000Z
rest_api.py
OHNLP/clinical-problem-standardization
c321995ae73df3dc56b0bf6c31eecb62efa778f8
[ "Apache-2.0" ]
null
null
null
rest_api.py
OHNLP/clinical-problem-standardization
c321995ae73df3dc56b0bf6c31eecb62efa778f8
[ "Apache-2.0" ]
1
2022-01-11T07:40:28.000Z
2022-01-11T07:40:28.000Z
''' REST API for processing free-text diagnosis statements into either: (1) OWL class expressions (2) FHIR Condition Resources (3) SNOMED CT Expressions (4) Raw concept relationship graphs ''' from flask import Flask, request import api from transformers.transform import FhirConditionTransformer, Snom...
26
124
0.665303
991017651505a9d35a90ce7b248668965221e4af
9,360
py
Python
hvplot/tests/testgridplots.py
lhoupert/hvplot
9320892fdd987673d8ac32f716a15e95c6a68f0a
[ "BSD-3-Clause" ]
338
2019-11-13T17:17:23.000Z
2022-03-30T13:28:54.000Z
hvplot/tests/testgridplots.py
lhoupert/hvplot
9320892fdd987673d8ac32f716a15e95c6a68f0a
[ "BSD-3-Clause" ]
368
2019-11-13T15:43:50.000Z
2022-03-31T17:06:06.000Z
hvplot/tests/testgridplots.py
lhoupert/hvplot
9320892fdd987673d8ac32f716a15e95c6a68f0a
[ "BSD-3-Clause" ]
55
2019-12-01T17:17:14.000Z
2022-03-30T13:53:40.000Z
from unittest import SkipTest from collections import OrderedDict import numpy as np from holoviews import Store from holoviews.element import RGB, Image from holoviews.element.comparison import ComparisonTestCase try: import xarray as xr except: raise SkipTest('XArray not available') else: import hvplot....
48.247423
99
0.623718
991358870fab4f286bd0fbb05c299b47d4d4968c
496
py
Python
countries/regions/NorthAmerica.py
vincihb/paper_database
f97ebdcc2bba3ecee3590cde12a5a5f71d26451d
[ "MIT" ]
null
null
null
countries/regions/NorthAmerica.py
vincihb/paper_database
f97ebdcc2bba3ecee3590cde12a5a5f71d26451d
[ "MIT" ]
null
null
null
countries/regions/NorthAmerica.py
vincihb/paper_database
f97ebdcc2bba3ecee3590cde12a5a5f71d26451d
[ "MIT" ]
null
null
null
from countries.Countries import Countries if __name__ == "__main__": a = NorthAmerica() papers = a.all_papers print(len(papers)) # print(dict(sorted(a.get_themes_distribution_secondary().items(), key=lambda x: x[1], reverse=True))) # print(a.get_watercode_distribution_secondary())
29.176471
106
0.689516
99139706c6cdeed0ff8ca7a2e98f407754c6d821
5,551
py
Python
app/SuperPhy/models/sparql/genomes.py
superphy/semantic
06b3885a6a3e424ba57be0c839ae2bd8a46364ac
[ "Apache-2.0" ]
16
2015-09-23T17:19:35.000Z
2020-05-26T16:02:54.000Z
app/SuperPhy/models/sparql/genomes.py
superphy/semantic
06b3885a6a3e424ba57be0c839ae2bd8a46364ac
[ "Apache-2.0" ]
21
2015-11-03T15:43:58.000Z
2017-10-30T02:23:37.000Z
app/SuperPhy/models/sparql/genomes.py
superphy/semantic
06b3885a6a3e424ba57be0c839ae2bd8a46364ac
[ "Apache-2.0" ]
5
2015-10-19T17:12:39.000Z
2018-09-10T16:19:56.000Z
#!/usr/bin/python from SuperPhy.models.sparql.endpoint import Endpoint from SuperPhy.models.sparql.prefixes import prefixes def get_all_syndromes(): """ input - None output - list of all the unique syndromes """ string = prefixes + """ SELECT ?syndromes WHERE { ?_Syndrom...
46.647059
832
0.652135
9913d53c298de5a6193b0026cb227fb8ff808714
514
py
Python
AER_experimentalist/experiment_environment/IV.py
musslick/DARTS-Cognitive-Modeling
f38e7e34f6f20c1626458de62503e8670e06be7c
[ "MIT" ]
null
null
null
AER_experimentalist/experiment_environment/IV.py
musslick/DARTS-Cognitive-Modeling
f38e7e34f6f20c1626458de62503e8670e06be7c
[ "MIT" ]
null
null
null
AER_experimentalist/experiment_environment/IV.py
musslick/DARTS-Cognitive-Modeling
f38e7e34f6f20c1626458de62503e8670e06be7c
[ "MIT" ]
null
null
null
from abc import ABC, abstractmethod from tinkerforge_variable import Tinkerforge_Variable
24.47619
53
0.68677
9914f1eb7d522b5e9bbcc11c80789693c323ca75
6,883
py
Python
Machine Learning/T.py
WilliamPoch/Assignments
3bc0039cb911faac5ef292379fcdebcbdb32f9a7
[ "MIT" ]
null
null
null
Machine Learning/T.py
WilliamPoch/Assignments
3bc0039cb911faac5ef292379fcdebcbdb32f9a7
[ "MIT" ]
2
2020-01-23T04:23:42.000Z
2020-01-23T04:25:34.000Z
Machine Learning/T.py
WilliamPoch/Assignments
3bc0039cb911faac5ef292379fcdebcbdb32f9a7
[ "MIT" ]
null
null
null
from pyimagesearch.centroidtracker import CentroidTracker from pyimagesearch.trackableobject import TrackableObject from imutils.video import VideoStream from imutils.video import FPS import numpy as np import argparse import imutils import time import dlib import cv2 ap = argparse.ArgumentParser() ap.add_argument("-...
29.41453
71
0.67151
991506cf0b217aa63a0d5b836af39bb103c9d5b9
5,861
py
Python
examples/generic_attributes/simulations/declarations.py
daniel17903/gcmi
6952e29d40f681b2b6ca4769280e7279e54f365a
[ "BSD-2-Clause" ]
null
null
null
examples/generic_attributes/simulations/declarations.py
daniel17903/gcmi
6952e29d40f681b2b6ca4769280e7279e54f365a
[ "BSD-2-Clause" ]
null
null
null
examples/generic_attributes/simulations/declarations.py
daniel17903/gcmi
6952e29d40f681b2b6ca4769280e7279e54f365a
[ "BSD-2-Clause" ]
1
2019-11-18T11:35:36.000Z
2019-11-18T11:35:36.000Z
from enum import Enum import math from functools import reduce import numpy as np import os import csv test_id = 'test_name' REALLOCATION_TIME_METHOD = "lin" DIRECT_FIELD_SIZE = [48, 48, 8, 8] DIRECT_FIELD_PROB = [0.003, 0.01, 0.002, 0.005] MAX_SEVERITY = reallocation_overhead(num_tags(max(DIRECT_FIELD_S...
33.491429
157
0.612523
991540a76bb19adafa006cda1d766716906af8f5
5,256
py
Python
main.py
flairmix/tg_bot_coffee
473ec811c9275c112ee6318f4f403fa5498f5da5
[ "MIT" ]
null
null
null
main.py
flairmix/tg_bot_coffee
473ec811c9275c112ee6318f4f403fa5498f5da5
[ "MIT" ]
null
null
null
main.py
flairmix/tg_bot_coffee
473ec811c9275c112ee6318f4f403fa5498f5da5
[ "MIT" ]
null
null
null
from replit import db import os import telebot from datetime import date, timedelta API_KEY = os.getenv('API_KEY') bot = telebot.TeleBot(API_KEY) def check_day_for_pay(date_str, check_date): if date_str == check_date.strftime('%Y/%m/%d'): return True else: return False def output_day_pay(...
28.879121
84
0.615107
9916d543afa9793693e8a74e883356fdead657f7
1,823
py
Python
tools/data_process.py
ztjryg4/HDUCourseCatalog
87409fe13b1258ea15f1511cd70c7a2c7855ae25
[ "MIT" ]
5
2020-01-11T07:45:43.000Z
2021-12-28T04:16:04.000Z
tools/data_process.py
ztjryg4/HDUCourseCatalog
87409fe13b1258ea15f1511cd70c7a2c7855ae25
[ "MIT" ]
null
null
null
tools/data_process.py
ztjryg4/HDUCourseCatalog
87409fe13b1258ea15f1511cd70c7a2c7855ae25
[ "MIT" ]
1
2021-06-29T10:56:34.000Z
2021-06-29T10:56:34.000Z
# coding:utf-8 import csv, codecs import re # csv ''' col0 col1 col2 col3 col4 col5 col6 col7 col8 ele[9] col9 ele[10] col10 ele[8] col11 ele[11] ''' inputfile = './data/csv/2019-2020-2_split.csv' outputfile = './data/csv/2019-2020-2-processed.csv' fp = open(inputfile, 'r', encoding='utf-8') lines = fp...
25.676056
93
0.557323
9916fb8d182d602a570782ee12589c1e2cee079d
7,775
py
Python
src/karta_manual_anchor.py
CrackerCat/Karta
b845928487b50a5b41acd532ae0399177a4356aa
[ "MIT" ]
716
2019-03-20T23:01:52.000Z
2022-03-30T13:11:17.000Z
src/karta_manual_anchor.py
CrackerCat/Karta
b845928487b50a5b41acd532ae0399177a4356aa
[ "MIT" ]
29
2019-03-21T13:01:34.000Z
2021-12-19T05:07:42.000Z
src/karta_manual_anchor.py
CrackerCat/Karta
b845928487b50a5b41acd532ae0399177a4356aa
[ "MIT" ]
97
2019-03-21T23:40:59.000Z
2022-03-23T23:15:35.000Z
#!/usr/bin/python from config.utils import * from elementals import Prompter from function_context import SourceContext, BinaryContext, IslandContext import os import sys import argparse import logging from collections import defaultdict def recordManualAnchors(library_config, knowledge_conf...
42.255435
170
0.67254
99176ddce17b02aedad97987fb5821acd51770bd
5,059
py
Python
commemorativeCoins.py
AndrewLauu/CodeLib
19a01d0ea94387caed4510dc5f1c98e1a4ffcfec
[ "MIT" ]
null
null
null
commemorativeCoins.py
AndrewLauu/CodeLib
19a01d0ea94387caed4510dc5f1c98e1a4ffcfec
[ "MIT" ]
null
null
null
commemorativeCoins.py
AndrewLauu/CodeLib
19a01d0ea94387caed4510dc5f1c98e1a4ffcfec
[ "MIT" ]
null
null
null
import logging import os import time import requests from lxml import etree import urllib.parse import json import schedule from colorama import Fore,init if __name__ == '__main__': logging.basicConfig(level=logging.INFO, format='%(asctime)s %(levelname)s: <%(funcName)s> - %(message)s', ...
30.113095
141
0.645187
9918396b139801392f0a7cf201d6cd0639fc9b91
4,629
py
Python
sandbox/test/test_misc.py
yingted/pysandbox
cb20c202459fc1b22a81e879c0efafc66e1ddd8a
[ "BSD-2-Clause-FreeBSD" ]
1
2019-02-05T13:13:09.000Z
2019-02-05T13:13:09.000Z
sandbox/test/test_misc.py
yingted/pysandbox
cb20c202459fc1b22a81e879c0efafc66e1ddd8a
[ "BSD-2-Clause-FreeBSD" ]
null
null
null
sandbox/test/test_misc.py
yingted/pysandbox
cb20c202459fc1b22a81e879c0efafc66e1ddd8a
[ "BSD-2-Clause-FreeBSD" ]
null
null
null
from __future__ import with_statement from sandbox import Sandbox, SandboxError, SandboxConfig, Timeout from sandbox.test import createSandbox, createSandboxConfig, SkipTest from sandbox.test.tools import capture_stdout
26.301136
76
0.600994
991a1106f9ceccd89a5e6d607fa5b313cdcc1de1
4,171
py
Python
crawl/spiders/circulation_shareholders.py
maifusha/dongfangcaifu-stock-crawler
6d20846b85b601a8b309d9dc47441d4b7409fbc0
[ "MIT" ]
null
null
null
crawl/spiders/circulation_shareholders.py
maifusha/dongfangcaifu-stock-crawler
6d20846b85b601a8b309d9dc47441d4b7409fbc0
[ "MIT" ]
null
null
null
crawl/spiders/circulation_shareholders.py
maifusha/dongfangcaifu-stock-crawler
6d20846b85b601a8b309d9dc47441d4b7409fbc0
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- """ """ import scrapy import json import time from crawl import db from crawl import helper from crawl.models.Stock import Stock from crawl.models.CirculationShareholder import CirculationShareholder
38.266055
132
0.607049
991a14e9940b831c177bd7fef5e9c7239bb18cfa
298
py
Python
mayan/apps/ocr/literals.py
CMU-313/fall-2021-hw2-451-unavailable-for-legal-reasons
0e4e919fd2e1ded6711354a0330135283e87f8c7
[ "Apache-2.0" ]
2
2021-09-12T19:41:19.000Z
2021-09-12T19:41:20.000Z
mayan/apps/ocr/literals.py
CMU-313/fall-2021-hw2-451-unavailable-for-legal-reasons
0e4e919fd2e1ded6711354a0330135283e87f8c7
[ "Apache-2.0" ]
37
2021-09-13T01:00:12.000Z
2021-10-02T03:54:30.000Z
mayan/apps/ocr/literals.py
CMU-313/fall-2021-hw2-451-unavailable-for-legal-reasons
0e4e919fd2e1ded6711354a0330135283e87f8c7
[ "Apache-2.0" ]
1
2021-09-22T13:17:30.000Z
2021-09-22T13:17:30.000Z
DEFAULT_OCR_AUTO_OCR = True DEFAULT_OCR_BACKEND = 'mayan.apps.ocr.backends.tesseract.Tesseract' DEFAULT_OCR_BACKEND_ARGUMENTS = {'environment': {'OMP_THREAD_LIMIT': '1'}} TASK_DOCUMENT_VERSION_PAGE_OCR_RETRY_DELAY = 10 TASK_DOCUMENT_VERSION_PAGE_OCR_TIMEOUT = 10 * 60 # 10 Minutes per page
42.571429
75
0.805369
991b0e0a59d25ac9ddb4647a4cfdc8ee66093854
4,086
py
Python
tests/test_doc.py
bartdegoede/textpipe
7325daea68ff2ed3127d5216dbcd416240ce9f8d
[ "MIT" ]
null
null
null
tests/test_doc.py
bartdegoede/textpipe
7325daea68ff2ed3127d5216dbcd416240ce9f8d
[ "MIT" ]
null
null
null
tests/test_doc.py
bartdegoede/textpipe
7325daea68ff2ed3127d5216dbcd416240ce9f8d
[ "MIT" ]
null
null
null
""" Testing for textpipe doc.py """ import pytest import random import spacy from textpipe.doc import Doc TEXT_1 = """<p><b>Text mining</b>, also referred to as <i><b>text data mining</b></i>, roughly equivalent to <b>text analytics</b>, is the process of deriving high-quality <a href="/wiki/Information" title="Infor...
37.145455
105
0.70558
991dac503d8f515990fefffa79a50b846fa9c1c7
45,862
py
Python
pyugend/Comparison.py
university-gender-evolution/py-university-gender-dynamics-pkg
3479a10a52dbcc9ecc204a4aceb949a4638aca4d
[ "MIT" ]
null
null
null
pyugend/Comparison.py
university-gender-evolution/py-university-gender-dynamics-pkg
3479a10a52dbcc9ecc204a4aceb949a4638aca4d
[ "MIT" ]
1
2018-02-16T22:13:13.000Z
2018-02-16T22:16:24.000Z
pyugend/Comparison.py
university-gender-evolution/py-university-gender-dynamics-pkg
3479a10a52dbcc9ecc204a4aceb949a4638aca4d
[ "MIT" ]
null
null
null
__author__ = 'krishnab' import numpy as np import pandas as pd from bokeh.plotting import figure, output_file, show from bokeh.layouts import gridplot from operator import add, sub from .ColumnSpecs import MODEL_RUN_COLUMNS, EXPORT_COLUMNS_FOR_CSV from .PlotComposerOverallAttrition import PlotComposerOverallAttrition f...
44.055716
95
0.508089
991e4c9bf468f89dba7418269af96a2b5903a976
71
py
Python
drivers/i2c.py
clapeyre/pico-arcade
9ad4bc3250fcf0eadf4f92a83255c178acd5fe77
[ "MIT" ]
null
null
null
drivers/i2c.py
clapeyre/pico-arcade
9ad4bc3250fcf0eadf4f92a83255c178acd5fe77
[ "MIT" ]
null
null
null
drivers/i2c.py
clapeyre/pico-arcade
9ad4bc3250fcf0eadf4f92a83255c178acd5fe77
[ "MIT" ]
null
null
null
from machine import Pin, I2C I2C0 = I2C(0, scl=Pin(21), sda=Pin(20))
14.2
39
0.661972
991fb0f0b1676c7704c886f5d502235f7e62b383
770
py
Python
article/templatetags/article_tags.py
brahici/WBO
8781512b2ae3e308e2fe9310935a0f5ce4e30a29
[ "BSD-3-Clause" ]
null
null
null
article/templatetags/article_tags.py
brahici/WBO
8781512b2ae3e308e2fe9310935a0f5ce4e30a29
[ "BSD-3-Clause" ]
null
null
null
article/templatetags/article_tags.py
brahici/WBO
8781512b2ae3e308e2fe9310935a0f5ce4e30a29
[ "BSD-3-Clause" ]
null
null
null
from django.template import Library from taggit.models import Tag from ..models import Article, Category register = Library()
26.551724
61
0.738961
99201765d5f972ad4a6a952e2022f6b35f419092
4,539
py
Python
app/status/models.py
LCOGT/serol
1b1a0c8343fc7233b9935b8da64c90b8696134cc
[ "MIT" ]
null
null
null
app/status/models.py
LCOGT/serol
1b1a0c8343fc7233b9935b8da64c90b8696134cc
[ "MIT" ]
19
2017-12-13T14:33:46.000Z
2022-03-11T23:47:08.000Z
app/status/models.py
LCOGT/serol
1b1a0c8343fc7233b9935b8da64c90b8696134cc
[ "MIT" ]
null
null
null
from datetime import datetime from django.db import models from django.contrib import admin from django.contrib.auth.models import AbstractUser from django.conf import settings from django_fsm import FSMField, transition from django.utils.html import format_html from django.utils.safestring import mark_safe from djang...
35.186047
121
0.666667
99201f751c7178bfc4351c34dbc7bdde562c0c86
101
py
Python
Other/modulosort.py
devAdhiraj/coding-problems
e15d0eeb025e1ad503c73eb9280e6226fd979164
[ "MIT" ]
null
null
null
Other/modulosort.py
devAdhiraj/coding-problems
e15d0eeb025e1ad503c73eb9280e6226fd979164
[ "MIT" ]
null
null
null
Other/modulosort.py
devAdhiraj/coding-problems
e15d0eeb025e1ad503c73eb9280e6226fd979164
[ "MIT" ]
null
null
null
input() c = int(input()) a = sorted((map(int, input().split()))) a.sort(key= lambda x: x%c) print(*a)
20.2
39
0.594059
992278b1256b7046c351066c5da0a46b2ada11b3
1,426
py
Python
twindb_backup/exporter/datadog_exporter.py
RyanCPeters/backup
4dc19602989fe7dc49ca409d786fc833d1fcabf9
[ "Apache-2.0" ]
69
2016-06-29T16:13:55.000Z
2022-03-21T06:38:37.000Z
twindb_backup/exporter/datadog_exporter.py
RyanCPeters/backup
4dc19602989fe7dc49ca409d786fc833d1fcabf9
[ "Apache-2.0" ]
237
2016-09-28T02:12:34.000Z
2022-03-25T13:32:23.000Z
twindb_backup/exporter/datadog_exporter.py
RyanCPeters/backup
4dc19602989fe7dc49ca409d786fc833d1fcabf9
[ "Apache-2.0" ]
45
2017-01-04T21:20:27.000Z
2021-12-29T10:42:22.000Z
# -*- coding: utf-8 -*- """ Module defines DataDog exporter class. """ from datadog import initialize, statsd from twindb_backup.exporter.base_exporter import ( BaseExporter, ExportCategory, ExportMeasureType, ) from twindb_backup.exporter.exceptions import DataDogExporterError
29.708333
78
0.614306
9923a337201612ce5c3c5c4d13a17d78ce1e14d3
1,303
py
Python
src/utils/kick.py
GolfGrab/pog-discord-bot
00d10e575a34535dc9e2ab25f56b959105a97c4a
[ "MIT" ]
null
null
null
src/utils/kick.py
GolfGrab/pog-discord-bot
00d10e575a34535dc9e2ab25f56b959105a97c4a
[ "MIT" ]
null
null
null
src/utils/kick.py
GolfGrab/pog-discord-bot
00d10e575a34535dc9e2ab25f56b959105a97c4a
[ "MIT" ]
null
null
null
from src.utils.config import CONFIG from discord.ext.commands import MemberConverter from random import sample, random
29.613636
73
0.61627
9925373604e7fd581924e1f977ddd301fc58eab4
3,303
py
Python
TgBot/handlers/users/watch.py
Na3aga/gmbot
c6fa37d4d61a9b023dc36197961706dbcd371e72
[ "MIT" ]
null
null
null
TgBot/handlers/users/watch.py
Na3aga/gmbot
c6fa37d4d61a9b023dc36197961706dbcd371e72
[ "MIT" ]
21
2019-10-23T21:16:18.000Z
2021-08-02T21:43:46.000Z
TgBot/handlers/users/watch.py
Na3aga/gmbot
c6fa37d4d61a9b023dc36197961706dbcd371e72
[ "MIT" ]
1
2019-10-25T23:01:25.000Z
2019-10-25T23:01:25.000Z
from aiogram import types from aiogram.dispatcher import FSMContext from aiogram.dispatcher.filters.builtin import Command from TgBot.loader import dp from TgBot.utils.misc import rate_limit from TgBot.utils import chat_emails_keyboard from TgBot.states.watch import WatchGmail from loader import gmail_API, psqldb from...
42.896104
89
0.603088