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
87b2ac0cb62dd997f1308319e2198c8f122f2f8d
458
py
Python
tests/mock_module.py
nullpsifer/cryptosploit
e33cfca07397c05dffa734274c202acc7ff597b4
[ "MIT" ]
null
null
null
tests/mock_module.py
nullpsifer/cryptosploit
e33cfca07397c05dffa734274c202acc7ff597b4
[ "MIT" ]
null
null
null
tests/mock_module.py
nullpsifer/cryptosploit
e33cfca07397c05dffa734274c202acc7ff597b4
[ "MIT" ]
null
null
null
from modules.abstract_module import *
25.444444
67
0.635371
87b40c595c59158b89d0513124bb59d2d086ec52
149
py
Python
kornia/augmentation/_3d/intensity/__init__.py
Ishticode/kornia
974abb43ec72d12dbd244a2fb247bbbab8498de0
[ "ECL-2.0", "Apache-2.0" ]
418
2018-10-02T22:31:36.000Z
2019-01-16T14:15:45.000Z
kornia/augmentation/_3d/intensity/__init__.py
Ishticode/kornia
974abb43ec72d12dbd244a2fb247bbbab8498de0
[ "ECL-2.0", "Apache-2.0" ]
94
2019-01-17T22:10:45.000Z
2019-05-22T23:47:58.000Z
kornia/augmentation/_3d/intensity/__init__.py
Ishticode/kornia
974abb43ec72d12dbd244a2fb247bbbab8498de0
[ "ECL-2.0", "Apache-2.0" ]
25
2018-10-02T22:50:04.000Z
2019-01-13T18:14:11.000Z
from kornia.augmentation._3d.intensity.equalize import RandomEqualize3D from kornia.augmentation._3d.intensity.motion_blur import RandomMotionBlur3D
49.666667
76
0.892617
87b46b1723a9e240a2245cee77024e18ad09f5ff
3,270
py
Python
tmtrader/exchange_for_backtest/position_manager.py
reouno/tomatorader
b781206051129fa59439a0f314f4f1ed647a6852
[ "MIT" ]
null
null
null
tmtrader/exchange_for_backtest/position_manager.py
reouno/tomatorader
b781206051129fa59439a0f314f4f1ed647a6852
[ "MIT" ]
null
null
null
tmtrader/exchange_for_backtest/position_manager.py
reouno/tomatorader
b781206051129fa59439a0f314f4f1ed647a6852
[ "MIT" ]
null
null
null
from logging import getLogger from typing import Dict, List, Optional from tmtrader.entity.order import FilledBasicOrder from tmtrader.entity.position import ClosedPosition, Position, Positions, \ PositionsRef from tmtrader.exchange_for_backtest.usecase.order_to_share import from_order logger = getLogger(__name__...
38.023256
89
0.585627
87b5a69588b76f251c9cd5a2072d8ea5e658ab2d
850
py
Python
service/server.py
IsraelAbebe/fake-news-classification
3c8c46d8e4222a5f70daea423b7a90480cb2044c
[ "MIT" ]
null
null
null
service/server.py
IsraelAbebe/fake-news-classification
3c8c46d8e4222a5f70daea423b7a90480cb2044c
[ "MIT" ]
null
null
null
service/server.py
IsraelAbebe/fake-news-classification
3c8c46d8e4222a5f70daea423b7a90480cb2044c
[ "MIT" ]
null
null
null
import grpc from concurrent import futures import time import sys sys.path.insert(0, 'service/') from service_spec import fake_news_pb2 from service_spec import fake_news_pb2_grpc import json import test server = grpc.server(futures.ThreadPoolExecutor(max_workers=10)) fake_news_pb2_grpc.add_fake_news_classificat...
23.611111
109
0.787059
87b849087828668df3e9bdba8cecbc7f2e80f614
3,807
py
Python
authorization/models.py
Joost-dm/jooster
04f3fa979b689b61a4aeae8a5309a09277404fd6
[ "MIT" ]
1
2020-06-17T02:51:35.000Z
2020-06-17T02:51:35.000Z
authorization/models.py
Joost-dm/jooster
04f3fa979b689b61a4aeae8a5309a09277404fd6
[ "MIT" ]
7
2020-06-06T18:32:37.000Z
2022-03-12T00:33:42.000Z
authorization/models.py
Joost-dm/jooster
04f3fa979b689b61a4aeae8a5309a09277404fd6
[ "MIT" ]
null
null
null
from io import BytesIO from PIL import Image from django.contrib.auth.models import AbstractUser from django.core.files.uploadedfile import InMemoryUploadedFile from django.core.mail import send_mail from django.db import models from resizeimage import resizeimage from rest_framework.authtoken.models import Token from ...
34.926606
119
0.653008
87b8e5d4a4c403c1e33d8ea9c1529f056cb42aa0
646
py
Python
mapnik_style_generator/utils/PandasMerge.py
sjsafranek/GeoTileServer
4f39ce3b6dc5bd374d4a683fd7a425e950b218f0
[ "MIT" ]
1
2017-09-29T21:30:33.000Z
2017-09-29T21:30:33.000Z
mapnik_style_generator/utils/PandasMerge.py
sjsafranek/go-tileserver
5453186b5c00281588aeba82311bea8ddf8d8ae2
[ "BSD-3-Clause" ]
null
null
null
mapnik_style_generator/utils/PandasMerge.py
sjsafranek/go-tileserver
5453186b5c00281588aeba82311bea8ddf8d8ae2
[ "BSD-3-Clause" ]
null
null
null
#table join #stefan safranek import csv, os, sys, time import pandas as pd start_time = time.time() #start time #File 1 IMPORT_FILE = "Burns_wO_LnLID.csv" SAVE_FILE = IMPORT_FILE.replace('.csv','') + " MATCHED.csv" df1 = pd.read_csv("Burns HD 58.csv", index_col=None, usecols=[0,1,2,4], parse_dates=True...
22.275862
90
0.690402
87b94e9ea498eb18e633d7320caae4f23a5511f9
3,637
py
Python
arcticdem/ee_setsm_meta2file.py
whyjz/ArcticDEM-Batch-Pipeline
7710c3ed5b466eef63619ee088256cf12f522bbd
[ "Apache-2.0" ]
null
null
null
arcticdem/ee_setsm_meta2file.py
whyjz/ArcticDEM-Batch-Pipeline
7710c3ed5b466eef63619ee088256cf12f522bbd
[ "Apache-2.0" ]
null
null
null
arcticdem/ee_setsm_meta2file.py
whyjz/ArcticDEM-Batch-Pipeline
7710c3ed5b466eef63619ee088256cf12f522bbd
[ "Apache-2.0" ]
null
null
null
import csv from itertools import islice import os from glob import glob import time if __name__ == '__main__': main()
54.283582
255
0.534781
87ba433641ad537815e75200ac70b792bbb16c42
152
py
Python
ai/bertpredict/urls.py
thdwlsgus0/relay_15
b5cb66ca250afd5402b0f19c870fda1852b77a28
[ "MIT" ]
3
2020-08-07T05:35:28.000Z
2020-08-10T00:48:11.000Z
ai/bertpredict/urls.py
thdwlsgus0/relay_15
b5cb66ca250afd5402b0f19c870fda1852b77a28
[ "MIT" ]
null
null
null
ai/bertpredict/urls.py
thdwlsgus0/relay_15
b5cb66ca250afd5402b0f19c870fda1852b77a28
[ "MIT" ]
11
2020-07-28T00:45:51.000Z
2020-11-22T18:34:52.000Z
from django.urls import path from . import views app_name = 'bertpredict' urlpatterns = [ path('bertpredict/', views.BertPredictView.as_view()), ]
19
58
0.730263
87bcc23da78418d37f7d6aad89e6e754fd2069ff
3,493
py
Python
examples/eager_examples/scripts/example_custom_env.py
eager-dev/eager
f10ccbd7452acb3a29881ecd95c759f632c91da9
[ "Apache-2.0" ]
16
2021-07-02T14:48:53.000Z
2022-02-23T02:53:01.000Z
examples/eager_examples/scripts/example_custom_env.py
eager-dev/eager
f10ccbd7452acb3a29881ecd95c759f632c91da9
[ "Apache-2.0" ]
37
2021-06-30T12:10:29.000Z
2022-02-02T09:46:34.000Z
examples/eager_examples/scripts/example_custom_env.py
eager-dev/eager
f10ccbd7452acb3a29881ecd95c759f632c91da9
[ "Apache-2.0" ]
null
null
null
#!/usr/bin/env python3 # ROS packages required import rospy from eager_core.eager_env import BaseEagerEnv from eager_core.objects import Object from eager_core.wrappers.flatten import Flatten from eager_bridge_webots.webots_engine import WebotsEngine # noqa: F401 from eager_bridge_pybullet.pybullet_engine import PyBu...
30.911504
109
0.619238
87c0c5db07800916d6e2f834710cacb09b92bba1
11,190
py
Python
DataFormats/FWLite/test/RefTest_cfg.py
ckamtsikis/cmssw
ea19fe642bb7537cbf58451dcf73aa5fd1b66250
[ "Apache-2.0" ]
852
2015-01-11T21:03:51.000Z
2022-03-25T21:14:00.000Z
DataFormats/FWLite/test/RefTest_cfg.py
ckamtsikis/cmssw
ea19fe642bb7537cbf58451dcf73aa5fd1b66250
[ "Apache-2.0" ]
30,371
2015-01-02T00:14:40.000Z
2022-03-31T23:26:05.000Z
DataFormats/FWLite/test/RefTest_cfg.py
ckamtsikis/cmssw
ea19fe642bb7537cbf58451dcf73aa5fd1b66250
[ "Apache-2.0" ]
3,240
2015-01-02T05:53:18.000Z
2022-03-31T17:24:21.000Z
# Configuration file for RefTest_t import FWCore.ParameterSet.Config as cms process = cms.Process("TEST") process.load("FWCore.Framework.test.cmsExceptionsFatal_cff") process.maxEvents = cms.untracked.PSet( input = cms.untracked.int32(2) ) process.source = cms.Source("EmptySource") process.WhatsItESProduce...
39.401408
77
0.67471
87c130e031505973ff9591b6295aca73c9bc126b
158
py
Python
keycards/urls.py
oangervuori/namubufferi
b9353b1d1a32e18e93cb1e9bd2b591950d54269a
[ "MIT" ]
2
2016-12-05T03:31:47.000Z
2017-02-13T20:10:39.000Z
keycards/urls.py
oangervuori/namubufferi
b9353b1d1a32e18e93cb1e9bd2b591950d54269a
[ "MIT" ]
1
2016-12-14T10:53:15.000Z
2016-12-17T18:52:25.000Z
keycards/urls.py
oangervuori/namubufferi
b9353b1d1a32e18e93cb1e9bd2b591950d54269a
[ "MIT" ]
1
2017-01-14T10:56:28.000Z
2017-01-14T10:56:28.000Z
from django.urls import path from . import views app_name = "keycards" urlpatterns = [ path(f"", views.KeycardLoginFormView.as_view(), name="login"), ]
17.555556
66
0.708861
87c2898d1865ba6df1980805dbc8552821fbbfba
2,859
py
Python
src/drias2020/__init__.py
jpvergnes/pybrgmlib
b768cd75635abd85f09c68efc4ab92d1857f792a
[ "MIT" ]
null
null
null
src/drias2020/__init__.py
jpvergnes/pybrgmlib
b768cd75635abd85f09c68efc4ab92d1857f792a
[ "MIT" ]
null
null
null
src/drias2020/__init__.py
jpvergnes/pybrgmlib
b768cd75635abd85f09c68efc4ab92d1857f792a
[ "MIT" ]
null
null
null
from drias2020.extract_drias2020 import extract_drias2020 from drias2020.convert_drias2020 import convert_drias2020 alls_models = [ ('CNRM-CM5-LR', 'ALADIN63', 'historical'), ('CNRM-CM5-LR', 'ALADIN63', 'rcp2.6'), ('CNRM-CM5-LR', 'ALADIN63', 'rcp4.5'), ('CNRM-CM5-LR', 'ALADIN63', 'rcp8.5'), ('CNRM-...
38.12
57
0.535852
87c3057e22efbeaed539521bd317f016e2009be3
2,118
py
Python
userbot/plugins/_light.py
justteen/BUZZ-USERBOT
55651cce150e1d04d2c61efb2565ef9f46b42933
[ "BSL-1.0" ]
null
null
null
userbot/plugins/_light.py
justteen/BUZZ-USERBOT
55651cce150e1d04d2c61efb2565ef9f46b42933
[ "BSL-1.0" ]
null
null
null
userbot/plugins/_light.py
justteen/BUZZ-USERBOT
55651cce150e1d04d2c61efb2565ef9f46b42933
[ "BSL-1.0" ]
null
null
null
# Rewritten by @keinshin import io from userbot import CMD_LIST, ALIVE_NAME, bot as light from userbot import CMD_HELP from userbot.utils import lightning_cmd import asyncio from var import Var DEFAULTUSER = str(ALIVE_NAME) if ALIVE_NAME else "Pls Go To Heroku Vars Then in `ALIVE_NAME`place You Telegram `Your Desire...
39.962264
175
0.54627
87c4398ff0b611f2762232d295fa661ec24f4e12
4,593
py
Python
model/regressors/Hourglass.py
meansnothing/Deep-vSlam
2e0197f52b0520f134ac4144ae7364d201765208
[ "MIT" ]
null
null
null
model/regressors/Hourglass.py
meansnothing/Deep-vSlam
2e0197f52b0520f134ac4144ae7364d201765208
[ "MIT" ]
null
null
null
model/regressors/Hourglass.py
meansnothing/Deep-vSlam
2e0197f52b0520f134ac4144ae7364d201765208
[ "MIT" ]
1
2021-06-28T11:40:06.000Z
2021-06-28T11:40:06.000Z
import torch import torch.nn as nn from torchvision import models import torch.nn.functional as F if __name__ == '__main__': model=model_parser('Resnet') print(model)
39.93913
142
0.627477
87c6d0a0ba7a3214919a21e563389329abb8370f
5,414
py
Python
data/faces.py
FabianSchuetze/ssd.pytorch
4508da2384aa74e42757d86c5a794242fd15f980
[ "MIT" ]
null
null
null
data/faces.py
FabianSchuetze/ssd.pytorch
4508da2384aa74e42757d86c5a794242fd15f980
[ "MIT" ]
null
null
null
data/faces.py
FabianSchuetze/ssd.pytorch
4508da2384aa74e42757d86c5a794242fd15f980
[ "MIT" ]
null
null
null
r""" Class to the python faces """ from typing import List, Tuple import xml.etree.ElementTree as ET import torch import torch.utils.data as data import cv2 import numpy as np from PIL import Image from torchvision.transforms import functional as F
33.8375
81
0.577392
87ca3a57df23d8770609b8c197e911f0d1988dd7
1,473
py
Python
exchanges/okex.py
soulmachine/crypto-market-data
1dbf1cfd28754a37dd054777feadc1554e1cccaf
[ "Apache-2.0" ]
null
null
null
exchanges/okex.py
soulmachine/crypto-market-data
1dbf1cfd28754a37dd054777feadc1554e1cccaf
[ "Apache-2.0" ]
null
null
null
exchanges/okex.py
soulmachine/crypto-market-data
1dbf1cfd28754a37dd054777feadc1554e1cccaf
[ "Apache-2.0" ]
null
null
null
from typing import Any, Dict, List from .utils import get_json def fetch_markets(market_type: str) -> List[Dict[str, Any]]: '''Fetch all trading markets from a crypto exchage.''' if market_type == 'future': return _fetch_future_markets() elif market_type == 'option': return _fetch_option_...
30.6875
78
0.680923
87cc1d411068ff6128e0109b9dbc111a69527c35
3,218
py
Python
client/netmgr.py
kendase3/every
83b543c54a2dd071f0a34f128c5baa20a7e58def
[ "BSD-2-Clause" ]
1
2017-06-12T18:36:20.000Z
2017-06-12T18:36:20.000Z
client/netmgr.py
kendase3/every
83b543c54a2dd071f0a34f128c5baa20a7e58def
[ "BSD-2-Clause" ]
null
null
null
client/netmgr.py
kendase3/every
83b543c54a2dd071f0a34f128c5baa20a7e58def
[ "BSD-2-Clause" ]
null
null
null
from twisted.internet import defer, reactor from twisted.protocols import basic from twisted.internet.protocol import Protocol, ReconnectingClientFactory from time import sleep # local import screen import stevent
25.951613
114
0.711933
87cd80e00b84a57e97e8bf916ce62b8c5fca17b5
6,336
py
Python
dataplaybook/tasks/io_mongo.py
kellerza/data-playbook
382c369505a5cb0c28bd786ebdda51c05417165c
[ "Apache-2.0" ]
3
2018-07-06T08:34:46.000Z
2021-05-27T23:29:04.000Z
dataplaybook/tasks/io_mongo.py
kellerza/data-playbook
382c369505a5cb0c28bd786ebdda51c05417165c
[ "Apache-2.0" ]
null
null
null
dataplaybook/tasks/io_mongo.py
kellerza/data-playbook
382c369505a5cb0c28bd786ebdda51c05417165c
[ "Apache-2.0" ]
null
null
null
"""MongoDB IO tasks.""" import logging from typing import List, Optional, Sequence from urllib.parse import urlparse import attr from icecream import ic # noqa pylint: disable=unused-import from pymongo import MongoClient from pymongo.errors import ServerSelectionTimeoutError import voluptuous as vol from dataplaybo...
30.757282
88
0.613163
87cedabd60c632947a95a1fb25c64135907bd605
422
py
Python
Lista 1/exe8.py
jesset27/Listas-de-exercicios-python
ab238f22f896a95d38b7a4ad64cf8848ad68a232
[ "MIT" ]
1
2021-11-30T13:16:36.000Z
2021-11-30T13:16:36.000Z
Lista 1/exe8.py
jesset27/Listas-de-exercicios-python
ab238f22f896a95d38b7a4ad64cf8848ad68a232
[ "MIT" ]
null
null
null
Lista 1/exe8.py
jesset27/Listas-de-exercicios-python
ab238f22f896a95d38b7a4ad64cf8848ad68a232
[ "MIT" ]
1
2021-11-20T00:00:50.000Z
2021-11-20T00:00:50.000Z
'''8. Faa um programa que receba o valor de um depsito e o valor da taxa de juros, calcule e mostre o valor do rendimento e o valor total depois do rendimento de um ms.''' #entrada deposito = float(input('valor de deposito: ')) juros = float(input("Taxa de juros: ")) #processamento rendimento = deposito * juros / 100...
35.166667
95
0.732227
87d24049a1ea45c4c31c143ecc5594de2fbc0702
7,639
py
Python
tests/test_patterns.py
golly-splorts/golly-maps
b1845dae65c289f26f8ee54e265e25732e487acb
[ "MIT" ]
null
null
null
tests/test_patterns.py
golly-splorts/golly-maps
b1845dae65c289f26f8ee54e265e25732e487acb
[ "MIT" ]
null
null
null
tests/test_patterns.py
golly-splorts/golly-maps
b1845dae65c289f26f8ee54e265e25732e487acb
[ "MIT" ]
null
null
null
import os import unittest from golly_maps.patterns import ( get_patterns, get_pattern, get_pattern_size, get_grid_pattern, pattern_union, ) HERE = os.path.split(os.path.abspath(__file__))[0] ALL_PATTERNS = [ "78p70", "acorn", "airforce", "backrake2", "bheptomino", "block",...
30.678715
78
0.51512
87d609e8f00dbd73a5e4178b9a5f87334cd537e4
929
py
Python
leetcode/1986.py
Cannizza-zzk/python_review
5a04b3dbc8baa835780c039386529e20e69af81c
[ "Apache-2.0" ]
null
null
null
leetcode/1986.py
Cannizza-zzk/python_review
5a04b3dbc8baa835780c039386529e20e69af81c
[ "Apache-2.0" ]
null
null
null
leetcode/1986.py
Cannizza-zzk/python_review
5a04b3dbc8baa835780c039386529e20e69af81c
[ "Apache-2.0" ]
null
null
null
# reference: https://leetcode.com/problems/minimum-number-of-work-sessions-to-finish-the-tasks/discuss/1431829/Python-dynamic-programming-on-subsets-explained
33.178571
158
0.481163
87d62ac325e3ca26d040b943dc34b2166788628d
8,350
py
Python
spimstitch/commands/stitch_cmd.py
chunglabmit/spimstitch
ab6f7578e9f4116680536f9707936de171e4fe6b
[ "MIT" ]
1
2022-02-02T01:25:02.000Z
2022-02-02T01:25:02.000Z
spimstitch/commands/stitch_cmd.py
chunglabmit/spimstitch
ab6f7578e9f4116680536f9707936de171e4fe6b
[ "MIT" ]
1
2020-08-11T14:32:06.000Z
2020-08-12T10:37:47.000Z
spimstitch/commands/stitch_cmd.py
chunglabmit/spimstitch
ab6f7578e9f4116680536f9707936de171e4fe6b
[ "MIT" ]
null
null
null
import argparse import json import numpy as np import typing from blockfs.directory import Directory import logging from precomputed_tif.blockfs_stack import BlockfsStack from precomputed_tif.ngff_stack import NGFFStack import os import sys from spimstitch.ngff import NGFFDirectory from ..stitch import get_output_siz...
33.943089
83
0.586707
87d6924e02630e60ee58f3ea397ba2d39e4eb305
442
py
Python
set_input.py
oinu32/discordpy-startup
9ef948d1811beba71aa44051b23b5a59adac0500
[ "MIT" ]
1
2020-01-09T16:29:25.000Z
2020-01-09T16:29:25.000Z
set_input.py
oinu32/discordpy-startup
9ef948d1811beba71aa44051b23b5a59adac0500
[ "MIT" ]
null
null
null
set_input.py
oinu32/discordpy-startup
9ef948d1811beba71aa44051b23b5a59adac0500
[ "MIT" ]
null
null
null
#AGNET # ID ID_CHANNEL_README = 771383900814573598 # ID_ROLE_TSKL = 671354476044615680 #ID ID_TSKILL = 624668843444273164 # ID_totu = 739498595329376487 # ID_totu2 = 750321508219355227 #ID ID_SRV = 539773033724772362 #agnet ID_agnet = 549971775828656168 ID_alist = 750236871967244379 #RKME #ID ID_Channel_RKME = 795...
15.785714
38
0.830317
87d835e669333bab23cb9ebd086673441ab97685
1,821
py
Python
src/issues/search_indexes.py
ofirr/OpenCommunity
7786ac2996530af8f545f4398c071793c73634c8
[ "BSD-3-Clause" ]
null
null
null
src/issues/search_indexes.py
ofirr/OpenCommunity
7786ac2996530af8f545f4398c071793c73634c8
[ "BSD-3-Clause" ]
null
null
null
src/issues/search_indexes.py
ofirr/OpenCommunity
7786ac2996530af8f545f4398c071793c73634c8
[ "BSD-3-Clause" ]
null
null
null
from haystack import indexes from issues.models import Issue, Proposal from haystack.fields import IntegerField, CharField, BooleanField, DateField, DateTimeField from datetime import date, datetime, timedelta
37.163265
91
0.721032
87d8507d0c1a4a250f2a1f63328c068e8ca77ba8
16,437
py
Python
options/opts.py
apple/ml-cvnets
84d992f413e52c0468f86d23196efd9dad885e6f
[ "AML" ]
209
2021-10-30T08:32:10.000Z
2022-03-31T16:18:03.000Z
options/opts.py
apple/ml-cvnets
84d992f413e52c0468f86d23196efd9dad885e6f
[ "AML" ]
12
2021-12-04T10:47:11.000Z
2022-03-31T15:39:40.000Z
options/opts.py
apple/ml-cvnets
84d992f413e52c0468f86d23196efd9dad885e6f
[ "AML" ]
50
2021-11-01T08:15:02.000Z
2022-03-29T08:17:34.000Z
# # For licensing see accompanying LICENSE file. # Copyright (C) 2022 Apple Inc. All Rights Reserved. # import argparse from typing import Optional from data.sampler import arguments_sampler from data.collate_fns import arguments_collate_fn from options.utils import load_config_file from data.datasets import argument...
31.609615
105
0.607288
87da34bc55c43a75ad4a47d5920ff97f1a7ed071
1,012
py
Python
grokking-the-coding-interview/dfs/Path-for-Max-Sum-(medium).py
huandrew99/LeetCode
aa36b48d06100ce5f0bc64c789a906ec29409440
[ "MIT" ]
36
2021-12-23T15:44:41.000Z
2022-03-31T04:26:26.000Z
grokking-the-coding-interview/dfs/Path-for-Max-Sum-(medium).py
wzy0766/LeetCode-1
3070e672c519e8af74966811b8058a9baef8c0bc
[ "MIT" ]
null
null
null
grokking-the-coding-interview/dfs/Path-for-Max-Sum-(medium).py
wzy0766/LeetCode-1
3070e672c519e8af74966811b8058a9baef8c0bc
[ "MIT" ]
11
2022-02-26T22:41:26.000Z
2022-03-02T07:18:41.000Z
""" Given a binary tree, find the root-to-leaf path with the maximum sum. """ max_sum = 0 main() """ Time O(N) Space O(N) """
17.448276
69
0.649209
87dab20f9aff7e74782e7e82bc9833799c25002f
9,867
py
Python
django-ng/django_ng_project/django_ng_app/views.py
bounouhmahmoud/ensi
209e57340359af3ea063c064982198848dc36c5f
[ "MIT" ]
1
2018-07-10T06:59:05.000Z
2018-07-10T06:59:05.000Z
django-ng/django_ng_project/django_ng_app/views.py
Arsalen/BusinessStrategies
209e57340359af3ea063c064982198848dc36c5f
[ "MIT" ]
null
null
null
django-ng/django_ng_project/django_ng_app/views.py
Arsalen/BusinessStrategies
209e57340359af3ea063c064982198848dc36c5f
[ "MIT" ]
null
null
null
# coding=utf-8 from django.shortcuts import render from rest_framework import viewsets, generics, status from .serializers import ClientSerializer, MessageSerializer, SearchSerializer, ManageSearchSerializer, PreferenceSerializer from .models import Client, Message, Search, ManageSearch, Preference from rest_framework...
35.365591
144
0.629371
87df4668217a77fd249d0ccb1840561c8017fb2d
6,792
py
Python
migration/management/commands/migratedata.py
dixonary/uwcs-zarya
e982f324c0a6aca156a15c6f597012f47bc070cc
[ "MIT" ]
7
2016-09-30T20:33:46.000Z
2020-03-16T15:04:20.000Z
migration/management/commands/migratedata.py
dixonary/uwcs-zarya
e982f324c0a6aca156a15c6f597012f47bc070cc
[ "MIT" ]
46
2016-10-01T17:52:59.000Z
2022-01-13T00:44:09.000Z
migration/management/commands/migratedata.py
dixonary/uwcs-zarya
e982f324c0a6aca156a15c6f597012f47bc070cc
[ "MIT" ]
6
2016-10-15T02:51:18.000Z
2020-10-02T12:47:54.000Z
from django.core.management.base import BaseCommand from django.contrib.auth import get_user_model from django.template.defaultfilters import slugify, linebreaks, date, truncatechars from wagtail.core.models import Page from wagtail.core.rich_text import RichText from migration.models import * from accounts.models im...
34.477157
115
0.626767
87e20d41ac964f6f9b382bbcfc612a4214737a5d
114
py
Python
env/Lib/site-packages/countdowntimer_model/apps.py
gtkacz/fantasytrashtalk
24ed8ba6c4fae2eca5b15f66b62338a8c87debd2
[ "MIT" ]
4
2021-03-29T07:35:41.000Z
2022-01-12T09:54:55.000Z
env/Lib/site-packages/countdowntimer_model/apps.py
gtkacz/fantasytrashtalk
24ed8ba6c4fae2eca5b15f66b62338a8c87debd2
[ "MIT" ]
4
2020-08-06T14:51:06.000Z
2021-09-22T18:53:50.000Z
env/Lib/site-packages/countdowntimer_model/apps.py
gtkacz/fantasytrashtalk
24ed8ba6c4fae2eca5b15f66b62338a8c87debd2
[ "MIT" ]
3
2020-04-20T18:54:10.000Z
2021-03-29T07:35:13.000Z
from django.apps import AppConfig
19
43
0.807018
87e30755fa816cc3a2853bbeb8767db8ffb2216d
3,206
py
Python
restea/adapters/flaskwrap.py
kkszysiu/restea
34ef2ee683a259a05e530514e743a9f69fa5e663
[ "MIT" ]
null
null
null
restea/adapters/flaskwrap.py
kkszysiu/restea
34ef2ee683a259a05e530514e743a9f69fa5e663
[ "MIT" ]
null
null
null
restea/adapters/flaskwrap.py
kkszysiu/restea
34ef2ee683a259a05e530514e743a9f69fa5e663
[ "MIT" ]
null
null
null
import flask import restea.formats as formats from restea.adapters.base import ( BaseResourceWrapper, BaseRequestWrapper, ) class FlaskResourceWrapper(BaseResourceWrapper): ''' FlaskResourceWrapper implements Flask 'view' API for the `restea.Resource` object, aka routing and return values in Fla...
27.401709
76
0.585465
87e4656207a6810c62e813656c8a6d18731bd5ed
3,265
py
Python
Python/ldap/neo2open.py
ebouaziz/miscripts
9520d31adfd8cf63a06d519b0c308f07dd107b90
[ "MIT" ]
null
null
null
Python/ldap/neo2open.py
ebouaziz/miscripts
9520d31adfd8cf63a06d519b0c308f07dd107b90
[ "MIT" ]
null
null
null
Python/ldap/neo2open.py
ebouaziz/miscripts
9520d31adfd8cf63a06d519b0c308f07dd107b90
[ "MIT" ]
null
null
null
#!/usr/bin/env python # Create/update LDAP entries from custom directory to opendirectory schema import binascii import os import re import sys cmtcre = re.compile(r'#.*$') try: filename = sys.argv[1] except IndexError: filename = os.path.join(os.path.expanduser('~'), 'Desktop', 'openldap.ldif') OBJECTCLAS...
32.326733
80
0.488821
87e4b92785c35afe3fe916f48cd07afc7baed2fa
33
py
Python
pyble/const/characteristic/time_with_dst.py
bgromov/PyBLEWrapper
8a5d016e65b3c259391ddc97c371ab4b1b5c61b5
[ "MIT" ]
14
2015-03-30T23:11:36.000Z
2020-04-07T00:57:12.000Z
pyble/const/characteristic/time_with_dst.py
bgromov/PyBLEWrapper
8a5d016e65b3c259391ddc97c371ab4b1b5c61b5
[ "MIT" ]
3
2016-05-17T06:11:07.000Z
2017-05-15T16:43:09.000Z
pyble/const/characteristic/time_with_dst.py
bgromov/PyBLEWrapper
8a5d016e65b3c259391ddc97c371ab4b1b5c61b5
[ "MIT" ]
11
2016-03-11T08:53:03.000Z
2019-03-11T21:32:13.000Z
NAME="Time with DST" UUID=0x2A11
11
20
0.757576
87e58bcf6dcfe22c279e06b2787f924dca81ae9f
429
py
Python
Practice Problem Solutions/5 - Lists/program.py
argosopentech/practical-programming-in-python
ae5aebcda6968ff327b6db3350840813d1c563ba
[ "CC0-1.0" ]
1
2021-01-17T17:29:36.000Z
2021-01-17T17:29:36.000Z
Practice Problem Solutions/5 - Lists/program.py
argosopentech/practical-programming-in-python
ae5aebcda6968ff327b6db3350840813d1c563ba
[ "CC0-1.0" ]
null
null
null
Practice Problem Solutions/5 - Lists/program.py
argosopentech/practical-programming-in-python
ae5aebcda6968ff327b6db3350840813d1c563ba
[ "CC0-1.0" ]
null
null
null
print('Grocery list:') print('"add" to add items and "view" to view list') grocery_list = [] while True: command = input('Enter command: ') if command == 'add': to_add = input('Enter new item: ') grocery_list.append(to_add) # elif stands for "else if" elif command == 'view': for ...
28.6
51
0.596737
87e59bee00a7c9de9e64290a98d0644a47ad38c0
777
py
Python
notes.py
ahmed-mo2nis/Aida-VA
a84a2cfb9193ee821bc529eccc459c0fe942ddfc
[ "MIT" ]
null
null
null
notes.py
ahmed-mo2nis/Aida-VA
a84a2cfb9193ee821bc529eccc459c0fe942ddfc
[ "MIT" ]
null
null
null
notes.py
ahmed-mo2nis/Aida-VA
a84a2cfb9193ee821bc529eccc459c0fe942ddfc
[ "MIT" ]
null
null
null
from datetime import datetime from tts import tts
29.884615
118
0.610039
87ed12d5f9bc71d00ca1d48683542308a09965a9
1,813
py
Python
entity_embed/evaluation.py
TheAngryGoldfish/entity-embed
9493a9d194208a19aed5a40a3140245dbeea6b44
[ "MIT" ]
89
2021-04-06T23:07:06.000Z
2022-03-27T18:27:13.000Z
entity_embed/evaluation.py
TheAngryGoldfish/entity-embed
9493a9d194208a19aed5a40a3140245dbeea6b44
[ "MIT" ]
7
2021-04-13T18:51:43.000Z
2022-01-25T12:39:22.000Z
entity_embed/evaluation.py
TheAngryGoldfish/entity-embed
9493a9d194208a19aed5a40a3140245dbeea6b44
[ "MIT" ]
7
2021-04-21T15:08:23.000Z
2021-12-11T22:41:17.000Z
import csv import json
32.375
94
0.710976
87ed2b0b13d4a75ac2bea0089d5ba5a31824d2a7
5,084
py
Python
src/replication.py
RipcordSoftware/avancedb-replication-monitor
bfa59cc36f5d8aa383a43ffeb6c82e938625ce34
[ "MIT" ]
8
2016-03-01T15:29:34.000Z
2019-06-16T21:15:45.000Z
src/replication.py
RipcordSoftware/avancedb-replication-monitor
bfa59cc36f5d8aa383a43ffeb6c82e938625ce34
[ "MIT" ]
38
2015-12-27T20:34:25.000Z
2016-02-19T15:48:12.000Z
src/replication.py
RipcordSoftware/replication-monitor
bfa59cc36f5d8aa383a43ffeb6c82e938625ce34
[ "MIT" ]
null
null
null
from enum import Enum from urllib.parse import urlparse from src.couchdb import CouchDB
32.589744
120
0.633753
87eef1718dbdf89a820e95d72c449d6bdaa14af5
11,001
py
Python
networks/isomera.py
andrewcpotter/holopy
e7eed9e2bdb0de61610c4d8c3455fcd00b76d896
[ "MIT" ]
1
2021-04-09T14:05:46.000Z
2021-04-09T14:05:46.000Z
networks/isomera.py
andrewcpotter/holopy
e7eed9e2bdb0de61610c4d8c3455fcd00b76d896
[ "MIT" ]
null
null
null
networks/isomera.py
andrewcpotter/holopy
e7eed9e2bdb0de61610c4d8c3455fcd00b76d896
[ "MIT" ]
2
2021-02-11T18:11:11.000Z
2021-08-29T23:40:24.000Z
#!/usr/bin/env python # coding: utf-8 #!/usr/bin/env python3 # -*- coding: utf-8 -*- """ Created on Jan 5 2021 @author: Yuxuan Zhang based on the Iso-MPS codes """ #%% -- IMPORTS -- import sys sys.path.append("..") # import one subdirectory up in files # external packages import numpy as np import qiskit as qk import...
42.311538
172
0.533588
87ef94f2c86df3d553a5caae350054034bea8251
2,553
py
Python
custom_components/docker_monitor/switch.py
aneisch/home-assistant
d8a866d75f512d23ffa7b9e5d82d7c575ece3c76
[ "Apache-2.0" ]
18
2016-08-10T01:02:27.000Z
2017-10-26T04:19:49.000Z
custom_components/docker_monitor/switch.py
aneisch/home-assistant
d8a866d75f512d23ffa7b9e5d82d7c575ece3c76
[ "Apache-2.0" ]
null
null
null
custom_components/docker_monitor/switch.py
aneisch/home-assistant
d8a866d75f512d23ffa7b9e5d82d7c575ece3c76
[ "Apache-2.0" ]
4
2017-04-20T19:41:21.000Z
2017-05-16T17:10:05.000Z
''' Docker Monitor component For more details about this component, please refer to the documentation at https://github.com/aneisch/docker_monitor ''' import logging from homeassistant.components.switch import ( ENTITY_ID_FORMAT, PLATFORM_SCHEMA, SwitchDevice ) from homeassistant.const import ( ATTR_A...
24.548077
77
0.657658
87f03243de75a73d47a72950b4975d8c48a99186
23,240
py
Python
packages/simcore-sdk/tests/unit/test_node_ports_v2_port.py
Surfict/osparc-simcore
1e0b89574ec17ecb089674f9e5daa83d624430c8
[ "MIT" ]
null
null
null
packages/simcore-sdk/tests/unit/test_node_ports_v2_port.py
Surfict/osparc-simcore
1e0b89574ec17ecb089674f9e5daa83d624430c8
[ "MIT" ]
16
2021-10-04T20:31:52.000Z
2022-03-14T04:31:25.000Z
packages/simcore-sdk/tests/unit/test_node_ports_v2_port.py
Surfict/osparc-simcore
1e0b89574ec17ecb089674f9e5daa83d624430c8
[ "MIT" ]
null
null
null
# pylint:disable=unused-variable # pylint:disable=unused-argument # pylint:disable=redefined-outer-name # pylint:disable=no-member # pylint:disable=protected-access # pylint:disable=too-many-arguments import re import shutil import tempfile import threading from collections import namedtuple from pathlib import Path ...
34.947368
128
0.549871
87f0863e9a634ae8445629a68e19dd2fc1288602
1,282
py
Python
utilities_common/platform_sfputil_helper.py
deran1980/sonic-utilities
a6ae218238e7e552f49191f81451bd55ff56ba51
[ "Apache-2.0" ]
null
null
null
utilities_common/platform_sfputil_helper.py
deran1980/sonic-utilities
a6ae218238e7e552f49191f81451bd55ff56ba51
[ "Apache-2.0" ]
4
2020-04-17T06:53:05.000Z
2020-12-01T02:37:34.000Z
utilities_common/platform_sfputil_helper.py
deran1980/sonic-utilities
a6ae218238e7e552f49191f81451bd55ff56ba51
[ "Apache-2.0" ]
null
null
null
import sys import click from sonic_py_common import multi_asic, device_info platform_sfputil = None
32.05
99
0.713729
87f14b098265544dbf022e3f54455436deb0ad4b
24
py
Python
structures/tree/__init__.py
spencerpomme/pyalgolib
d055287caa4a779ea833c7efc305cd4f966bd841
[ "MIT" ]
null
null
null
structures/tree/__init__.py
spencerpomme/pyalgolib
d055287caa4a779ea833c7efc305cd4f966bd841
[ "MIT" ]
null
null
null
structures/tree/__init__.py
spencerpomme/pyalgolib
d055287caa4a779ea833c7efc305cd4f966bd841
[ "MIT" ]
null
null
null
# data structure module
12
23
0.791667
87f27b1f15ae50f75fc47c17a7b0976a09fb4c5a
5,227
py
Python
geco/mips/loading/miplib.py
FreestyleBuild/GeCO
6db1a549b3145b3bc5d3025a9bccc03be6575564
[ "MIT" ]
8
2020-12-16T09:59:05.000Z
2022-03-18T09:48:43.000Z
geco/mips/loading/miplib.py
FreestyleBuild/GeCO
6db1a549b3145b3bc5d3025a9bccc03be6575564
[ "MIT" ]
101
2020-11-09T10:20:03.000Z
2022-03-24T13:50:06.000Z
geco/mips/loading/miplib.py
FreestyleBuild/GeCO
6db1a549b3145b3bc5d3025a9bccc03be6575564
[ "MIT" ]
3
2021-04-06T13:26:03.000Z
2022-03-22T13:22:16.000Z
import tempfile from urllib.request import urlretrieve, urlopen from urllib.error import URLError import pyscipopt as scip import os import pandas as pd
33.50641
98
0.639755
87f3786df52a1d8399072312a80407b63e5e8a0e
40,723
py
Python
plugin.py
uwsbel/blenderPlugin
beeab9850c4cc2ea6a3f514ce958a5a153c38f95
[ "BSD-3-Clause" ]
3
2015-08-24T20:34:33.000Z
2021-01-03T10:49:33.000Z
plugin.py
uwsbel/blenderPlugin
beeab9850c4cc2ea6a3f514ce958a5a153c38f95
[ "BSD-3-Clause" ]
null
null
null
plugin.py
uwsbel/blenderPlugin
beeab9850c4cc2ea6a3f514ce958a5a153c38f95
[ "BSD-3-Clause" ]
null
null
null
/******************************************************* * Copyright (C) 2013-2014 Daniel Kaczmarek <dankaczma@gmail.com>, Simulation Based Engineering Lab <sbel.wisc.edu> * Some rights reserved. See LICENSE * Use of this source code is governed by a BSD-style license that can be * found in the LICENSE file at the top...
44.12026
438
0.550107
87f3890301da3f9632807a211a2f02d6a412d63c
22,139
py
Python
datasets.py
perwin/s4g_barsizes
08da334090141c68b008d63b2fa52ee5ef7e7937
[ "BSD-3-Clause" ]
2
2020-04-04T19:46:59.000Z
2020-04-05T03:00:09.000Z
datasets.py
perwin/s4g_barsizes
08da334090141c68b008d63b2fa52ee5ef7e7937
[ "BSD-3-Clause" ]
null
null
null
datasets.py
perwin/s4g_barsizes
08da334090141c68b008d63b2fa52ee5ef7e7937
[ "BSD-3-Clause" ]
1
2019-11-04T11:39:23.000Z
2019-11-04T11:39:23.000Z
# Python code for assembling S$G-based local bar-size and fraction dataset # # ListDataFrame with # name, M_star, B-V_tc, g-r_tc, a_max_obs[arcsec, kpc], amax_dp[arcsec, kpc], distance, # distance_source, inclination # distance_source = direct (Cepheids, SBF, TRGB, etc), T-F, redshift # # Two separate datasets...
36.533003
239
0.705497
87f41b6fabb95ec9e8a6026c4b7ef4ad3d3ed5cb
2,166
py
Python
Oled.py
Ths2-9Y-LqJt6/cattmate
42e59b35f37f21546bed60d0e1886795ac1e7c0c
[ "MIT" ]
1
2022-01-28T17:18:26.000Z
2022-01-28T17:18:26.000Z
Oled.py
mrjones-plip/cattmate
42e59b35f37f21546bed60d0e1886795ac1e7c0c
[ "MIT" ]
5
2019-12-10T21:04:33.000Z
2019-12-16T21:41:52.000Z
Oled.py
mrjones-plip/cattmate
42e59b35f37f21546bed60d0e1886795ac1e7c0c
[ "MIT" ]
null
null
null
#!/usr/bin/python import Adafruit_SSD1306 import os from retrying import retry from PIL import Image, ImageDraw, ImageFont
30.507042
87
0.60711
87f4710e0d278ffa4b65cd1fdbf57b6e8ed23f91
7,180
py
Python
ArtGAN/data/ingest_stl10.py
rh01/caffe-model-for-category-artgan
911b8fb44c62e8a2c71396099194d8925ed7c826
[ "BSD-3-Clause" ]
304
2018-07-17T00:18:54.000Z
2022-03-31T22:26:42.000Z
ArtGAN/data/ingest_stl10.py
cs-chan/Artwork-Synthesis-Classification
ad9cd090c669ca636f6c048d97608092d52dd3e0
[ "BSD-3-Clause" ]
9
2018-10-16T14:42:51.000Z
2022-01-13T11:22:02.000Z
ArtGAN/data/ingest_stl10.py
cs-chan/Artwork-Synthesis-Classification
ad9cd090c669ca636f6c048d97608092d52dd3e0
[ "BSD-3-Clause" ]
57
2018-07-19T02:38:29.000Z
2022-03-17T11:12:17.000Z
from configargparse import ArgParser from PIL import Image import logging import numpy as np import os def transform_and_save(img_arr, output_filename): """ Takes an image and optionally transforms it and then writes it out to output_filename """ img = Image.fromarray(img_arr) img.save(output_file...
38.810811
126
0.59429
87f4e0add218b91c8358380aec15e53a0b7ec2cc
615
py
Python
working_example/python/hello_serverless/lambda/create.py
darko-mesaros/workshop-serverless-with-cdk
bbfd30de43d01251565c019a8ac259706bd6f1d0
[ "MIT" ]
33
2020-08-12T08:08:08.000Z
2022-03-20T20:32:18.000Z
working_example/python/hello_serverless/lambda/create.py
darko-mesaros/workshop-serverless-with-cdk
bbfd30de43d01251565c019a8ac259706bd6f1d0
[ "MIT" ]
2
2020-08-12T09:54:53.000Z
2020-08-12T13:37:22.000Z
working_example/python/hello_serverless/lambda/create.py
darko-mesaros/workshop-serverless-with-cdk
bbfd30de43d01251565c019a8ac259706bd6f1d0
[ "MIT" ]
17
2020-08-12T08:09:46.000Z
2021-07-18T19:52:50.000Z
import os import json import boto3
24.6
72
0.564228
87f74a05f4408addae7f347f4c814a7bd1356155
13,528
py
Python
pypeit/spectrographs/gemini_flamingos.py
ykwang1/PypeIt
a96cff699f1284905ce7ef19d06a9027cd333c63
[ "BSD-3-Clause" ]
null
null
null
pypeit/spectrographs/gemini_flamingos.py
ykwang1/PypeIt
a96cff699f1284905ce7ef19d06a9027cd333c63
[ "BSD-3-Clause" ]
null
null
null
pypeit/spectrographs/gemini_flamingos.py
ykwang1/PypeIt
a96cff699f1284905ce7ef19d06a9027cd333c63
[ "BSD-3-Clause" ]
null
null
null
""" Module for Gemini FLAMINGOS. .. include:: ../include/links.rst """ import os from pkg_resources import resource_filename from IPython import embed import numpy as np from pypeit import msgs from pypeit import telescopes from pypeit.core import framematch from pypeit.images import detector_container from pypeit....
39.325581
86
0.572664
87f770b1768d8e4d055b07b5c891b13729c6f2ab
2,266
py
Python
tests/test_scene.py
Lxinyuelxy/multi-label-learn
ab347e9c9ccac1503f22c7b76e0b3e9a4e8214da
[ "MIT" ]
4
2018-11-19T13:34:53.000Z
2020-01-11T11:58:13.000Z
tests/test_scene.py
Lxinyuelxy/multi-label-learn
ab347e9c9ccac1503f22c7b76e0b3e9a4e8214da
[ "MIT" ]
null
null
null
tests/test_scene.py
Lxinyuelxy/multi-label-learn
ab347e9c9ccac1503f22c7b76e0b3e9a4e8214da
[ "MIT" ]
3
2019-04-14T18:13:33.000Z
2021-04-05T14:45:56.000Z
import numpy as np from mllearn.problem_transform import BinaryRelevance from mllearn.problem_transform import CalibratedLabelRanking from mllearn.problem_transform import ClassifierChain from mllearn.problem_transform import RandomKLabelsets from mllearn.alg_adapt import MLKNN from mllearn.alg_adapt import MLDecisionT...
41.962963
93
0.789497
87f779c5a2c7a99fdb8f61360480f8c96b502a7e
8,713
py
Python
scripts/Steamwatcher.py
nicovanbentum/Utility-Scripts
bf2934058388138ea21ec368b48f9e1ad6864704
[ "MIT" ]
null
null
null
scripts/Steamwatcher.py
nicovanbentum/Utility-Scripts
bf2934058388138ea21ec368b48f9e1ad6864704
[ "MIT" ]
1
2021-10-12T23:07:00.000Z
2021-10-12T23:07:00.000Z
scripts/Steamwatcher.py
nicovanbentum/Utility-Scripts
bf2934058388138ea21ec368b48f9e1ad6864704
[ "MIT" ]
null
null
null
""" This Python modules describes an application that checks for active steam downloads and shuts down the computer when they are all finished. """ import os import signal import threading import subprocess import winreg as reg import tkinter as tk import tkinter.filedialog import tkinter.messagebox import tkinter.scr...
33.771318
87
0.580627
87f916d84fbb3ebf66d1daf924621a5103749784
1,200
py
Python
mywebsite.py
jzorrof/my_website
3e0d31e5c4d981dd2116c9f7048aa3f111815ff7
[ "Apache-2.0" ]
null
null
null
mywebsite.py
jzorrof/my_website
3e0d31e5c4d981dd2116c9f7048aa3f111815ff7
[ "Apache-2.0" ]
null
null
null
mywebsite.py
jzorrof/my_website
3e0d31e5c4d981dd2116c9f7048aa3f111815ff7
[ "Apache-2.0" ]
null
null
null
# -*- coding: utf-8 -*- __author__ = 'Fanzhong' from flask import Flask, render_template from boto.s3.connection import S3Connection from boto.s3.key import Key import json app = Flask(__name__) ''' This is my website index I'll create my website from now data: 2015.04.10 ''' if __name__ == '__main__': #get_from...
27.906977
91
0.660833
87fa240a88f3abeac45e080706b9c6859a916e21
14,483
py
Python
tests/neptune/new/internal/backends/test_neptune_backend_mock.py
neptune-ml/neptune-client
7aea63160b5149c3fec40f62d3b0da7381a35748
[ "Apache-2.0" ]
13
2019-02-11T13:18:38.000Z
2019-12-26T06:26:07.000Z
tests/neptune/new/internal/backends/test_neptune_backend_mock.py
neptune-ml/neptune-client
7aea63160b5149c3fec40f62d3b0da7381a35748
[ "Apache-2.0" ]
39
2019-03-07T13:40:10.000Z
2020-01-07T17:19:24.000Z
tests/neptune/new/internal/backends/test_neptune_backend_mock.py
neptune-ml/neptune-client
7aea63160b5149c3fec40f62d3b0da7381a35748
[ "Apache-2.0" ]
4
2019-02-11T13:07:23.000Z
2019-11-26T08:20:24.000Z
# # Copyright (c) 2020, Neptune Labs Sp. z o.o. # # 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 agr...
38.724599
99
0.501623
87fb11d641ea2166f5e03d1848db017c1904d410
1,725
py
Python
rasp/device/regressor_device.py
CreeperLin/RASP
c45f9ad57b18d92b663419538562d511149c329f
[ "MIT" ]
1
2021-07-20T14:56:58.000Z
2021-07-20T14:56:58.000Z
rasp/device/regressor_device.py
CreeperLin/RASP
c45f9ad57b18d92b663419538562d511149c329f
[ "MIT" ]
null
null
null
rasp/device/regressor_device.py
CreeperLin/RASP
c45f9ad57b18d92b663419538562d511149c329f
[ "MIT" ]
2
2020-04-21T06:49:04.000Z
2021-07-20T14:57:06.000Z
from ..utils.reporter import report init = RegressorDevice.init reset = RegressorDevice.reset add_node = RegressorDevice.add_node run = RegressorDevice.run
27.380952
81
0.672464
87fbec4be50353beb91a6993ffce8b10edc30d98
679
py
Python
cctbx_website/run_tests.py
dwpaley/cctbx_project
476428363d260126319e82aa24d1e79b6474d877
[ "BSD-3-Clause-LBNL" ]
null
null
null
cctbx_website/run_tests.py
dwpaley/cctbx_project
476428363d260126319e82aa24d1e79b6474d877
[ "BSD-3-Clause-LBNL" ]
null
null
null
cctbx_website/run_tests.py
dwpaley/cctbx_project
476428363d260126319e82aa24d1e79b6474d877
[ "BSD-3-Clause-LBNL" ]
null
null
null
from __future__ import absolute_import, division, print_function from libtbx import test_utils import libtbx.load_env #tst_list = [ # "$D/regression/tst_py_from_html.py" # ] tst_list = [ "$D/regression/tst_1_template.py", "$D/regression/tst_2_doc_high_level_objects.py", "$D/regression/tst_3_doc_model_manager....
25.148148
64
0.755523
87fd884af907e9e970ccc13cfcca8085d841d1bd
1,520
py
Python
python/tlbm/wavy_channel/wavy_channel_generator.py
stu314159/HPC_Introduction_with_LBM
cbba81460513166b4814f3028807020be9b5c234
[ "MIT" ]
null
null
null
python/tlbm/wavy_channel/wavy_channel_generator.py
stu314159/HPC_Introduction_with_LBM
cbba81460513166b4814f3028807020be9b5c234
[ "MIT" ]
null
null
null
python/tlbm/wavy_channel/wavy_channel_generator.py
stu314159/HPC_Introduction_with_LBM
cbba81460513166b4814f3028807020be9b5c234
[ "MIT" ]
null
null
null
#!/usr/bin/env python3 # -*- coding: utf-8 -*- """ Created on Wed Jul 7 08:53:18 2021 @author: sblair """ import numpy as np import scipy.integrate as integrate from scipy.optimize import fsolve import matplotlib.pyplot as plt L_hx = 30; # cm, length of the heat exchanger nX = 100; # number of points in the x-dire...
19.74026
72
0.6375
87fed2a33ced4e90675329ce32e82137ec7dfcce
3,355
py
Python
tests/client/test_decoders.py
timgates42/apistar
2edeb6946af3562c6310fcd6db393d3960152f32
[ "BSD-3-Clause" ]
4,284
2017-08-16T15:10:03.000Z
2022-03-23T23:16:35.000Z
tests/client/test_decoders.py
timgates42/apistar
2edeb6946af3562c6310fcd6db393d3960152f32
[ "BSD-3-Clause" ]
405
2017-08-16T20:45:55.000Z
2022-02-24T05:03:01.000Z
tests/client/test_decoders.py
timgates42/apistar
2edeb6946af3562c6310fcd6db393d3960152f32
[ "BSD-3-Clause" ]
452
2017-08-17T04:44:30.000Z
2022-03-15T16:50:22.000Z
import os from starlette.applications import Starlette from starlette.responses import PlainTextResponse, Response from starlette.testclient import TestClient from apistar.client import Client, decoders app = Starlette() schema = { "openapi": "3.0.0", "info": {"title": "Test API", "version": "1.0"}, ...
31.35514
84
0.665574
e20165267f4b4a5c094fd275f94d49afce2cec55
2,834
py
Python
Src/check_linguistic_info.py
rstodden/ATILF-LLF.v3
768c453fb0d28c3e237c1b22522a319c1b157c1f
[ "MIT" ]
null
null
null
Src/check_linguistic_info.py
rstodden/ATILF-LLF.v3
768c453fb0d28c3e237c1b22522a319c1b157c1f
[ "MIT" ]
null
null
null
Src/check_linguistic_info.py
rstodden/ATILF-LLF.v3
768c453fb0d28c3e237c1b22522a319c1b157c1f
[ "MIT" ]
null
null
null
import os, json from collections import Counter # test if exist and mkdir # ../Results/features/corpus_info/ # ../Results/labels for col in ["FEATS", "PARSEME:MWE", "UPOS", "XPOS", "DEPREL", "DEPS", "LEMMA"]: for file_type in ["train.cupt", "dev.cupt", "test.blind.cupt"]: counter_dict = dict() count_all = Counte...
36.805195
110
0.58151
e20171e4e7c66b04f9ec33c3a6bff43dd7856257
1,403
py
Python
rex/eutil.py
dnanto/rex
88ba883765f3cb35fe17a3675dbbca65d0de832f
[ "MIT" ]
null
null
null
rex/eutil.py
dnanto/rex
88ba883765f3cb35fe17a3675dbbca65d0de832f
[ "MIT" ]
null
null
null
rex/eutil.py
dnanto/rex
88ba883765f3cb35fe17a3675dbbca65d0de832f
[ "MIT" ]
null
null
null
#!/usr/bin/env python3 import sys from argparse import ArgumentParser, ArgumentDefaultsHelpFormatter, FileType from Bio import Entrez from rex.util import batchify if __name__ == "__main__": sys.exit(main(sys.argv))
25.053571
92
0.707056
e2030732a198280850be22b59cadf31448549da7
3,594
py
Python
src/relevancy_measures/calc_NCDG.py
dannycho7/RTP_Latest
1cb1dbd72419f9c2c61f20879b56872a9d28a3dc
[ "Apache-2.0" ]
null
null
null
src/relevancy_measures/calc_NCDG.py
dannycho7/RTP_Latest
1cb1dbd72419f9c2c61f20879b56872a9d28a3dc
[ "Apache-2.0" ]
null
null
null
src/relevancy_measures/calc_NCDG.py
dannycho7/RTP_Latest
1cb1dbd72419f9c2c61f20879b56872a9d28a3dc
[ "Apache-2.0" ]
null
null
null
#!/usr/bin/python3 import sys import argparse import math parser = argparse.ArgumentParser(description='Post-processing after labeling, please put your rating in a file with ' 'the same order as in docs.txt, one rating per line.') parser.add_argument('--doc', required=Tru...
35.584158
173
0.586533
e2033f8cbe6a73bf5cc8da3c75dc093abcd8cd80
4,273
py
Python
opytimark/core/benchmark.py
gugarosa/opytimark
cad25623f23ce4b509d59381cf7bd79e41a966b6
[ "Apache-2.0" ]
3
2020-06-11T22:58:26.000Z
2021-03-15T20:12:29.000Z
opytimark/core/benchmark.py
gugarosa/opytimark
cad25623f23ce4b509d59381cf7bd79e41a966b6
[ "Apache-2.0" ]
1
2020-08-13T12:10:35.000Z
2020-08-17T14:30:45.000Z
opytimark/core/benchmark.py
gugarosa/opytimark
cad25623f23ce4b509d59381cf7bd79e41a966b6
[ "Apache-2.0" ]
null
null
null
"""Benchmark-based class. """ import opytimark.utils.exception as e
24.699422
80
0.607302
e20384b81ca4f4f0e6bcef7012f54531808f1314
468
py
Python
tronx/helpers/decorators.py
beastzx18/Tron
92207b841c80311e484e8f350b96f7df8a76d3b9
[ "MIT" ]
8
2021-08-22T06:43:34.000Z
2022-02-24T17:09:49.000Z
tronx/helpers/decorators.py
beastzx18/Tron
92207b841c80311e484e8f350b96f7df8a76d3b9
[ "MIT" ]
61
2021-09-12T11:05:33.000Z
2021-12-07T15:26:18.000Z
tronx/helpers/decorators.py
beastzx18/Tron
92207b841c80311e484e8f350b96f7df8a76d3b9
[ "MIT" ]
6
2021-09-08T08:43:04.000Z
2022-02-24T17:09:50.000Z
from pyrogram.types import CallbackQuery from .variables import USER_ID from pyrogram.errors import MessageNotModified
20.347826
86
0.728632
e20433bc889dc0f32de713dc2c45f59d8175f0f2
481
py
Python
cachetclient/v1/__init__.py
amdemas/cachet-client
6a34ada87f99f8a3af593eefadc37a83f59827dd
[ "MIT" ]
null
null
null
cachetclient/v1/__init__.py
amdemas/cachet-client
6a34ada87f99f8a3af593eefadc37a83f59827dd
[ "MIT" ]
null
null
null
cachetclient/v1/__init__.py
amdemas/cachet-client
6a34ada87f99f8a3af593eefadc37a83f59827dd
[ "MIT" ]
null
null
null
from cachetclient.v1.client import Client # noqa from cachetclient.v1.subscribers import Subscriber # noqa from cachetclient.v1.components import Component # noqa from cachetclient.v1.component_groups import ComponentGroup # noqa from cachetclient.v1.incident_updates import IndicentUpdate # noqa from cachetclient...
40.083333
67
0.814969
e20447ecbe22286bf4163b908e5eba34ac71394f
141
py
Python
documentation/admin.py
establishment/django-establishment
ad1d04fe9efc748e2fba5b4bc67446d2a4cf12f6
[ "CC0-1.0" ]
1
2017-04-27T19:35:42.000Z
2017-04-27T19:35:42.000Z
documentation/admin.py
establishment/django-establishment
ad1d04fe9efc748e2fba5b4bc67446d2a4cf12f6
[ "CC0-1.0" ]
null
null
null
documentation/admin.py
establishment/django-establishment
ad1d04fe9efc748e2fba5b4bc67446d2a4cf12f6
[ "CC0-1.0" ]
null
null
null
from django.contrib import admin from establishment.documentation.models import DocumentationEntry admin.site.register(DocumentationEntry)
23.5
65
0.87234
e204c971bbb2c9c7ca0b1436805590f663181057
96
py
Python
libs/parsers/__init__.py
pullself/Compilers
590226d02e5291857cb3875bd1ed6315c37fc74e
[ "MIT" ]
null
null
null
libs/parsers/__init__.py
pullself/Compilers
590226d02e5291857cb3875bd1ed6315c37fc74e
[ "MIT" ]
null
null
null
libs/parsers/__init__.py
pullself/Compilers
590226d02e5291857cb3875bd1ed6315c37fc74e
[ "MIT" ]
null
null
null
import libs.parsers.parser import libs.parsers.constructor __all__ = ['parser', 'constructor']
19.2
35
0.78125
e206029a10a5d9ac7e885778cd9c1b1b8647077a
3,732
py
Python
src/demo.py
FanShuixing/CenterNet
8d81281fb20ec1a98c3fd034bff957dc6ba531d8
[ "MIT" ]
null
null
null
src/demo.py
FanShuixing/CenterNet
8d81281fb20ec1a98c3fd034bff957dc6ba531d8
[ "MIT" ]
null
null
null
src/demo.py
FanShuixing/CenterNet
8d81281fb20ec1a98c3fd034bff957dc6ba531d8
[ "MIT" ]
null
null
null
from __future__ import absolute_import from __future__ import division from __future__ import print_function import _init_paths import os import cv2 from opts import opts from detectors.detector_factory import detector_factory import pandas as pd import json image_ext = ['jpg', 'jpeg', 'png', 'webp'] video_ext = ['...
37.32
103
0.497053
e2062f6e1dd31afd24e042366439bb3f075d80bc
1,849
py
Python
example/app.py
jfwm2/gourde
ac338a76d009470159c365ff64c214a578b0f3e9
[ "Apache-2.0" ]
6
2018-03-30T13:43:14.000Z
2021-03-09T12:12:54.000Z
example/app.py
jfwm2/gourde
ac338a76d009470159c365ff64c214a578b0f3e9
[ "Apache-2.0" ]
22
2018-04-18T10:54:28.000Z
2019-11-18T08:24:47.000Z
example/app.py
jfwm2/gourde
ac338a76d009470159c365ff64c214a578b0f3e9
[ "Apache-2.0" ]
8
2018-04-18T10:50:23.000Z
2022-01-21T03:32:03.000Z
#!/usr/bin/env python """Gourde example.""" import argparse import flask from gourde import Gourde # Optional API. try: import flask_restplus except ImportError: flask_restplus = None # This could be as simple as : # gourde = Gourde(app) # app = gourde.app # More complicated example: gourde = Gourde(__n...
17.12037
67
0.666306
e20721a05bdc5f184d3fae8e26cffd96f9a854af
4,963
py
Python
precise/skatervaluation/battlecode/arrangingbattles.py
OVVO-Financial/precise
ce744cadfca18f4ab77c68cc27bf8d712561127f
[ "MIT" ]
null
null
null
precise/skatervaluation/battlecode/arrangingbattles.py
OVVO-Financial/precise
ce744cadfca18f4ab77c68cc27bf8d712561127f
[ "MIT" ]
null
null
null
precise/skatervaluation/battlecode/arrangingbattles.py
OVVO-Financial/precise
ce744cadfca18f4ab77c68cc27bf8d712561127f
[ "MIT" ]
null
null
null
from precise.skaters.covariance.allcovskaters import ALL_D0_SKATERS from precise.skaters.covarianceutil.likelihood import cov_skater_loglikelihood from uuid import uuid4 import os import json import pathlib from pprint import pprint import traceback from collections import Counter from momentum.functions import rvar fr...
32.651316
128
0.557929
e20a03cd63ed875b87f6b377a2d00238a2c57de9
7,995
py
Python
src/PCMF/Positive_CMF.py
N-YS-KK/PCMF
b85959aa4dcfc490ea06066d77c9a79dce016859
[ "MIT" ]
3
2021-08-11T03:02:38.000Z
2022-02-17T01:35:04.000Z
src/PCMF/Positive_CMF.py
N-YS-KK/PCMF
b85959aa4dcfc490ea06066d77c9a79dce016859
[ "MIT" ]
null
null
null
src/PCMF/Positive_CMF.py
N-YS-KK/PCMF
b85959aa4dcfc490ea06066d77c9a79dce016859
[ "MIT" ]
1
2021-08-07T11:28:57.000Z
2021-08-07T11:28:57.000Z
import numpy as np import tensorflow as tf
31.476378
111
0.507817
e20aae6a3c7bc628ede1c78033fd0f2eaf838cb5
5,080
py
Python
Spider/ScanningSpider/spiders/CVEDetails.py
halftion/discern
f304b0557aa0c7293566ced9075d9ff9365ea424
[ "BSD-3-Clause" ]
7
2021-04-20T14:06:28.000Z
2022-01-25T16:25:29.000Z
Spider/ScanningSpider/spiders/CVEDetails.py
halftion/discern
f304b0557aa0c7293566ced9075d9ff9365ea424
[ "BSD-3-Clause" ]
1
2021-11-08T02:44:17.000Z
2021-11-08T02:44:17.000Z
Spider/ScanningSpider/spiders/CVEDetails.py
halftion/discern
f304b0557aa0c7293566ced9075d9ff9365ea424
[ "BSD-3-Clause" ]
8
2021-02-22T01:42:46.000Z
2022-01-25T12:53:26.000Z
import re import scrapy import util from ScanningSpider.items import CVEItem from ScanningSpider.items import CVEDetailItem
68.648649
162
0.576969
e20d9cffb20687d16b9b32885b1c7eab97057a0f
21,383
py
Python
dep/scm.py
harveyt/dep
5a52fda5ce75033c240c52fd98d3ffde99ed6617
[ "MIT" ]
null
null
null
dep/scm.py
harveyt/dep
5a52fda5ce75033c240c52fd98d3ffde99ed6617
[ "MIT" ]
null
null
null
dep/scm.py
harveyt/dep
5a52fda5ce75033c240c52fd98d3ffde99ed6617
[ "MIT" ]
null
null
null
# # Source Code Management # ====================== # # %%LICENSE%% # import os import re from dep import opts from dep.helpers import * class FileRepository(Repository): class GitRepository(Repository):
38.389587
127
0.582191
e20dfc2a207d87cb746506a4b2801706084ee98d
966
py
Python
env/Lib/site-packages/promise/compat.py
nerdyator/graphene-django-cookbook
e19aec7a6e910898558b16e910c7392b0b219390
[ "MIT" ]
2
2019-01-07T07:11:05.000Z
2019-11-10T18:08:40.000Z
env/Lib/site-packages/promise/compat.py
nerdyator/graphene-django-cookbook
e19aec7a6e910898558b16e910c7392b0b219390
[ "MIT" ]
null
null
null
env/Lib/site-packages/promise/compat.py
nerdyator/graphene-django-cookbook
e19aec7a6e910898558b16e910c7392b0b219390
[ "MIT" ]
2
2017-10-18T14:12:35.000Z
2020-03-24T06:01:23.000Z
try: from asyncio import Future, iscoroutine, ensure_future # type: ignore except ImportError: try: from Queue import Queue # type: ignore # flake8: noqa except ImportError: from queue import Queue # type: ignore # flake8: noqa try: from .iterate_promise import iterate_promise except (SyntaxError, ...
28.411765
74
0.668737
e20e1a653bf9813e2805ad343ed123d0380ed481
3,579
py
Python
examples/run_flexible_building_optimal_operation.py
sonercandas/fledge
ac107df1236d898ea31f62a60a568cf00a9bda08
[ "MIT" ]
2
2020-05-25T03:06:55.000Z
2020-09-30T11:14:27.000Z
examples/run_flexible_building_optimal_operation.py
sonercandas/fledge
ac107df1236d898ea31f62a60a568cf00a9bda08
[ "MIT" ]
null
null
null
examples/run_flexible_building_optimal_operation.py
sonercandas/fledge
ac107df1236d898ea31f62a60a568cf00a9bda08
[ "MIT" ]
null
null
null
"""Example script for setting up and solving a flexible building optimal operation problem.""" import matplotlib.pyplot as plt import numpy as np import pandas as pd import pyomo.environ as pyo import fledge.config import fledge.database_interface import fledge.der_models import fledge.electric_grid_models import fle...
35.435644
125
0.734283
e20e70f3f6889113f4850d284104c41e6354001c
1,307
py
Python
Searching_and_Recursion_Model_project/07_csSearchRotatedSortedArray.py
sarahmarie1976/CSPT15_DS_ALGO_SEARCH_RECURSION_GP
68e0bb01e54727cbc629bf1041190a02724f0d0d
[ "MIT" ]
null
null
null
Searching_and_Recursion_Model_project/07_csSearchRotatedSortedArray.py
sarahmarie1976/CSPT15_DS_ALGO_SEARCH_RECURSION_GP
68e0bb01e54727cbc629bf1041190a02724f0d0d
[ "MIT" ]
null
null
null
Searching_and_Recursion_Model_project/07_csSearchRotatedSortedArray.py
sarahmarie1976/CSPT15_DS_ALGO_SEARCH_RECURSION_GP
68e0bb01e54727cbc629bf1041190a02724f0d0d
[ "MIT" ]
null
null
null
""" For a given positive integer n determine if it can be represented as a sum of two Fibonacci numbers (possibly equal). Example For n = 1, the output should be fibonacciSimpleSum2(n) = true. Explanation: 1 = 0 + 1 = F0 + F1. For n = 11, the output should be fibonacciSimpleSum2(n) = true. Explanation: 11 = 3 + 8 ...
22.534483
117
0.553175
e20f893f4ebed523aabfdbe3b19d3e3678100a96
1,291
py
Python
2020/day_09/day09.py
d02d33pak/Advent-Of-Code
765b0302c256ad61864095a537a3f6379901b1c2
[ "MIT" ]
null
null
null
2020/day_09/day09.py
d02d33pak/Advent-Of-Code
765b0302c256ad61864095a537a3f6379901b1c2
[ "MIT" ]
null
null
null
2020/day_09/day09.py
d02d33pak/Advent-Of-Code
765b0302c256ad61864095a537a3f6379901b1c2
[ "MIT" ]
null
null
null
""" Advent of Code : Day 09 """ from os import path def parse_input(filename): """ Parse input file values """ script_dir = path.dirname(__file__) file_path = path.join(script_dir, filename) with open(file_path, "r") as file: val = list(map(int, file.read().splitlines())) return val d...
20.492063
62
0.569326
e2101c00fb0005b243b277050e3c456984d8e6cc
1,746
py
Python
companies/migrations/0003_auto_20210221_1537.py
Ins-V/wc_crm
5d75907bb48e892328712ed0b2cf96b9083239aa
[ "MIT" ]
null
null
null
companies/migrations/0003_auto_20210221_1537.py
Ins-V/wc_crm
5d75907bb48e892328712ed0b2cf96b9083239aa
[ "MIT" ]
null
null
null
companies/migrations/0003_auto_20210221_1537.py
Ins-V/wc_crm
5d75907bb48e892328712ed0b2cf96b9083239aa
[ "MIT" ]
null
null
null
# Generated by Django 3.1.7 on 2021-02-21 13:37 import companies.validators from django.db import migrations, models
35.632653
132
0.563574
e2103297434d37fcf54c7a0433384b0abc0f2a63
1,622
py
Python
Problemset/longest-palindromic-substring/longest-palindromic-substring.py
KivenCkl/LeetCode
fcc97c66f8154a5d20c2aca86120cb37b9d2d83d
[ "MIT" ]
7
2019-05-08T03:41:05.000Z
2020-12-22T12:39:43.000Z
Problemset/longest-palindromic-substring/longest-palindromic-substring.py
Yuziquan/LeetCode
303fc1c8af847f783c4020bd731b28b72ed92a35
[ "MIT" ]
1
2021-07-19T03:48:35.000Z
2021-07-19T03:48:35.000Z
Problemset/longest-palindromic-substring/longest-palindromic-substring.py
Yuziquan/LeetCode
303fc1c8af847f783c4020bd731b28b72ed92a35
[ "MIT" ]
7
2019-05-10T20:43:20.000Z
2021-02-22T03:47:35.000Z
# @Title: (Longest Palindromic Substring) # @Author: KivenC # @Date: 2019-06-12 15:25:33 # @Runtime: 136 ms # @Memory: 13.1 MB
33.102041
97
0.421085
e2115b0532e79c3a412eaca3018e8b49164b6980
1,176
py
Python
Tools/SystemDebug/python/tca.py
tomlenth/oneAPI-samples
67df7461a8484a6b928f41158e9b7f9c38eef7bd
[ "MIT" ]
1
2020-12-07T22:50:13.000Z
2020-12-07T22:50:13.000Z
Tools/SystemDebug/python/tca.py
tomlenth/oneAPI-samples
67df7461a8484a6b928f41158e9b7f9c38eef7bd
[ "MIT" ]
1
2020-08-24T19:09:28.000Z
2020-08-24T19:09:28.000Z
Tools/SystemDebug/python/tca.py
tomlenth/oneAPI-samples
67df7461a8484a6b928f41158e9b7f9c38eef7bd
[ "MIT" ]
null
null
null
#!/usr/bin/env python3 ''' ============================================================== Copyright 2019 Intel Corporation SPDX-License-Identifier: MIT ============================================================== ''' import intel.tca as tca target = tca.get_target(id="whl_u_cnp_lp") components = [(c.component, ...
30.153846
71
0.684524
e212dd1d544f98d4df805c27386f3ef17f1c4a1e
1,570
py
Python
src/tests/assembly/structured_config/assembled_config/test_assembled_config.py
fabio-d/fuchsia-stardock
e57f5d1cf015fe2294fc2a5aea704842294318d2
[ "BSD-2-Clause" ]
5
2022-01-10T20:22:17.000Z
2022-01-21T20:14:17.000Z
src/tests/assembly/structured_config/assembled_config/test_assembled_config.py
fabio-d/fuchsia-stardock
e57f5d1cf015fe2294fc2a5aea704842294318d2
[ "BSD-2-Clause" ]
null
null
null
src/tests/assembly/structured_config/assembled_config/test_assembled_config.py
fabio-d/fuchsia-stardock
e57f5d1cf015fe2294fc2a5aea704842294318d2
[ "BSD-2-Clause" ]
null
null
null
# Copyright 2022 The Fuchsia 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 argparse import pathlib import subprocess import sys from run_assembly import run_product_assembly
29.074074
92
0.649682
e2136cfd1dbd979eb4930b72b614fe5fadbbe82e
7,388
py
Python
vaas-app/src/vaas/manager/api.py
allegro/vaas
3d2d1f1a9dae6ac69a13563a37f9bfdf4f986ae2
[ "Apache-2.0" ]
251
2015-09-02T10:50:51.000Z
2022-03-16T08:00:35.000Z
vaas-app/src/vaas/manager/api.py
allegro/vaas
3d2d1f1a9dae6ac69a13563a37f9bfdf4f986ae2
[ "Apache-2.0" ]
154
2015-09-02T14:54:08.000Z
2022-03-16T08:34:17.000Z
vaas-app/src/vaas/manager/api.py
allegro/vaas
3d2d1f1a9dae6ac69a13563a37f9bfdf4f986ae2
[ "Apache-2.0" ]
31
2015-09-03T07:51:05.000Z
2020-09-24T09:02:40.000Z
# -*- coding: utf-8 -*- import logging from celery.result import AsyncResult from tastypie.resources import ModelResource, ALL_WITH_RELATIONS, Resource from tastypie import fields from tastypie.fields import ListField from tastypie.authentication import ApiKeyAuthentication, MultiAuthentication, SessionAuthentication...
38.279793
112
0.662426
e213fa9b060bf34620b9e001f44b9f1d8d1ad80f
331
py
Python
Examples/StackImgExample.py
Mohak-CODING-HEAVEN/CVPRO
09a2cb4a428738c9e77f17b71469d55eff5e3699
[ "MIT" ]
5
2021-07-24T18:20:11.000Z
2022-03-23T09:58:27.000Z
Examples/StackImgExample.py
Mohak-CODING-HEAVEN/cvpro
09a2cb4a428738c9e77f17b71469d55eff5e3699
[ "MIT" ]
null
null
null
Examples/StackImgExample.py
Mohak-CODING-HEAVEN/cvpro
09a2cb4a428738c9e77f17b71469d55eff5e3699
[ "MIT" ]
null
null
null
from cvpro import stackImages import cv2 cap = cv2.VideoCapture(0) while True: success, img = cap.read() imgGray = cv2.cvtColor(img, cv2.COLOR_BGR2GRAY) imgList = [img, img, imgGray, img, imgGray] imgStacked = stackImages(imgList, 2, 0.5) cv2.imshow("stackedImg", imgStacked) cv2.w...
23.642857
52
0.661631
e2151dbd8d042f1a314638218c6335ca02b0727a
513
py
Python
tests/unit/test_models.py
Joel-Milligan/physics-tutor-assignment
9db0b871c947bb19886026c06bcd04cefd852d98
[ "MIT" ]
null
null
null
tests/unit/test_models.py
Joel-Milligan/physics-tutor-assignment
9db0b871c947bb19886026c06bcd04cefd852d98
[ "MIT" ]
null
null
null
tests/unit/test_models.py
Joel-Milligan/physics-tutor-assignment
9db0b871c947bb19886026c06bcd04cefd852d98
[ "MIT" ]
null
null
null
from datetime import datetime from app.models import Assessment, User
30.176471
71
0.71345
e21623ec5e7d6ad7295ce59ea422e61906ff7a77
2,390
py
Python
micro/config.py
lastseal/micro-config
e082c329262d1b5613c1641a6cdad98a0be2a5a6
[ "MIT" ]
null
null
null
micro/config.py
lastseal/micro-config
e082c329262d1b5613c1641a6cdad98a0be2a5a6
[ "MIT" ]
null
null
null
micro/config.py
lastseal/micro-config
e082c329262d1b5613c1641a6cdad98a0be2a5a6
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -* from datetime import datetime from slack_sdk import WebClient from slack_sdk.errors import SlackApiError import dataset import logging import dotenv import signal import sys import os dotenv_path = os.path.join(os.getcwd(), ".env") dotenv.load_dotenv( dotenv_path ) LOG_LEVEL = os.getenv("LOG_...
23.663366
100
0.648954
354d0a0e8ce535bc378cbced25f44f2527b5fa3a
373
py
Python
bindings/python/capstone/__init__.py
zouguangxian/capstone
a1818520dfb37596cc5a3f19f3e04412c4c66dca
[ "BSD-3-Clause" ]
1
2021-07-06T23:36:41.000Z
2021-07-06T23:36:41.000Z
bindings/python/capstone/__init__.py
zouguangxian/capstone
a1818520dfb37596cc5a3f19f3e04412c4c66dca
[ "BSD-3-Clause" ]
null
null
null
bindings/python/capstone/__init__.py
zouguangxian/capstone
a1818520dfb37596cc5a3f19f3e04412c4c66dca
[ "BSD-3-Clause" ]
null
null
null
from capstone import Cs, CsError, cs_disasm_quick, cs_version, CS_API_MAJOR, CS_API_MINOR, CS_ARCH_ARM, CS_ARCH_ARM64, CS_ARCH_MIPS, CS_ARCH_X86, CS_MODE_LITTLE_ENDIAN, CS_MODE_ARM, CS_MODE_THUMB, CS_OPT_SYNTAX, CS_OPT_SYNTAX_INTEL, CS_OPT_SYNTAX_ATT, CS_OPT_DETAIL, CS_OPT_ON, CS_OPT_OFF, CS_MODE_16, CS_MODE_32, CS_MOD...
186.5
372
0.86059
354d83637e37681157c4d9fc862645ada4cc9f0a
2,841
py
Python
tweetgen2.py
NISH1001/tweetypie
334be291e87cac4f5df2d66aec58dd4c9e95b985
[ "MIT" ]
4
2019-05-08T10:00:20.000Z
2021-06-09T08:40:40.000Z
tweetgen2.py
NISH1001/tweetypie
334be291e87cac4f5df2d66aec58dd4c9e95b985
[ "MIT" ]
null
null
null
tweetgen2.py
NISH1001/tweetypie
334be291e87cac4f5df2d66aec58dd4c9e95b985
[ "MIT" ]
null
null
null
#!/usr/bin/env python3 from collections import defaultdict import random import sys from preprocess import ( preprocess_sentence ) from data import ( load_df ) if __name__ == "__main__": main()
28.128713
99
0.551566
3550ddafa143f685dd1cca02d3526eff1e6cd743
4,042
py
Python
Projects/VerilogOnline/archive/vo-tools-6/extra/converters/fig2json/archive/test.py
fredmorcos/attic
0da3b94aa525df59ddc977c32cb71c243ffd0dbd
[ "Unlicense" ]
2
2021-01-24T09:00:51.000Z
2022-01-23T20:52:17.000Z
Projects/VerilogOnline/archive/vo-tools-6/extra/converters/fig2json/archive/test.py
fredmorcos/attic
0da3b94aa525df59ddc977c32cb71c243ffd0dbd
[ "Unlicense" ]
6
2020-02-29T01:59:03.000Z
2022-02-15T10:25:40.000Z
Projects/VerilogOnline/archive/vo-tools-6/extra/converters/fig2json/archive/test.py
fredmorcos/attic
0da3b94aa525df59ddc977c32cb71c243ffd0dbd
[ "Unlicense" ]
1
2019-03-22T14:41:21.000Z
2019-03-22T14:41:21.000Z
#!/usr/bin/python2 from pprint import PrettyPrinter from argparse import ArgumentParser if __name__ == '__main__': argparser = ArgumentParser(description='Convert a FIG file') argparser.add_argument('input', help='Input FIG file to convert') argparser.add_argument('output', help='Output file') argpars...
33.131148
81
0.542306
3553237caf7967dd42d8b8a89fa00e8bcce96bdc
834
py
Python
k8s/python/repo.py
logevents/demo-jenkins
0393637d71c9ced8dedfdaab1b8fc9d6abad40f0
[ "Apache-2.0" ]
2
2020-11-24T14:21:56.000Z
2020-11-26T15:23:33.000Z
k8s/python/repo.py
logevents/demo-jenkins
0393637d71c9ced8dedfdaab1b8fc9d6abad40f0
[ "Apache-2.0" ]
null
null
null
k8s/python/repo.py
logevents/demo-jenkins
0393637d71c9ced8dedfdaab1b8fc9d6abad40f0
[ "Apache-2.0" ]
null
null
null
from http.server import HTTPServer, SimpleHTTPRequestHandler host = 'localhost' port = 8080 print(f'simple artifact repo running on {host}:{port}') httpd = HTTPServer((host, port), RepoRequestHandler) httpd.serve_forever()
26.903226
61
0.657074
3553f25af58c7c7fe60ba270a87ee11946f7ca62
719
py
Python
ExerciciosPYTHON/NovPython/012.py
Samuel-Melo890/Python-Desafios
2abc7734d6a6c1f5ab67421f792d6889d93bac94
[ "MIT" ]
null
null
null
ExerciciosPYTHON/NovPython/012.py
Samuel-Melo890/Python-Desafios
2abc7734d6a6c1f5ab67421f792d6889d93bac94
[ "MIT" ]
2
2022-03-18T16:06:07.000Z
2022-03-18T16:55:29.000Z
ExerciciosPYTHON/NovPython/012.py
Samuel-Melo890/Python-Desafios
2abc7734d6a6c1f5ab67421f792d6889d93bac94
[ "MIT" ]
null
null
null
print('='*8,'Inscritos','='*8) from module.interface import * from time import sleep menu('Lista de Inscritos') with open('Inscritos.txt') as arq: for o, n in enumerate(arq): print(f'\033[35m{o + 1}\033[m \033[36m{n.title()}\033[m') sleep(0.4) print('-' * 40) while True: r = ' ' while r no...
28.76
80
0.582754
355571e66551b980f466860ffabf578c8cf61baa
1,771
py
Python
pulse2percept/datasets/tests/test_nanduri2012.py
narenberg/pulse2percept
ca3aaf66672ccf3c9ee6a9a9d924184cdc6f031d
[ "BSD-3-Clause" ]
40
2019-11-01T14:09:34.000Z
2022-02-28T19:08:01.000Z
pulse2percept/datasets/tests/test_nanduri2012.py
narenberg/pulse2percept
ca3aaf66672ccf3c9ee6a9a9d924184cdc6f031d
[ "BSD-3-Clause" ]
277
2019-11-22T03:30:31.000Z
2022-03-28T00:11:03.000Z
pulse2percept/datasets/tests/test_nanduri2012.py
narenberg/pulse2percept
ca3aaf66672ccf3c9ee6a9a9d924184cdc6f031d
[ "BSD-3-Clause" ]
31
2020-01-22T06:36:36.000Z
2022-01-20T09:54:25.000Z
import pandas as pd import numpy.testing as npt from pulse2percept.datasets import load_nanduri2012
39.355556
79
0.671372
355886956231c917bdbdf9d2101a62ff5e3cd95d
293
py
Python
arcsecond/api/endpoints/satellites.py
onekiloparsec/arcsecond.python
e4b22bf055c7f089ca9f0d6c4bda6314350878e0
[ "MIT" ]
7
2018-08-29T15:31:25.000Z
2022-01-08T14:08:39.000Z
arcsecond/api/endpoints/satellites.py
onekiloparsec/arcsecond-python
e4b22bf055c7f089ca9f0d6c4bda6314350878e0
[ "MIT" ]
2
2018-10-21T07:42:26.000Z
2020-02-24T10:11:22.000Z
arcsecond/api/endpoints/satellites.py
onekiloparsec/arcsecond-python
e4b22bf055c7f089ca9f0d6c4bda6314350878e0
[ "MIT" ]
null
null
null
from ._base import APIEndPoint
24.416667
58
0.713311
35589980547cf3bbd203b94d5ac8dbe125b385c2
1,096
py
Python
dask/TestNB2.py
mlkimmins/scalingpythonml
517c6d3e14ce4eb331ab0fd3b0368e0bf10d9986
[ "Apache-2.0" ]
13
2020-02-09T16:03:10.000Z
2022-03-19T14:08:16.000Z
dask/TestNB2.py
mlkimmins/scalingpythonml
517c6d3e14ce4eb331ab0fd3b0368e0bf10d9986
[ "Apache-2.0" ]
3
2020-10-31T16:20:05.000Z
2020-11-04T01:17:02.000Z
dask/TestNB2.py
mlkimmins/scalingpythonml
517c6d3e14ce4eb331ab0fd3b0368e0bf10d9986
[ "Apache-2.0" ]
4
2020-12-21T22:23:16.000Z
2022-03-29T20:25:28.000Z
#!/usr/bin/env python # coding: utf-8 # In[1]: import dask from dask_kubernetes import KubeCluster import numpy as np # In[ ]: #tag::remote_lb_deploy[] # In[2]: # Specify a remote deployment using a load blanacer, necessary for communication with notebook from cluster dask.config.set({"kubernetes.scheduler-s...
10.640777
107
0.666971
3559247cc27efd7aa5a74724da6869a1c6747c97
1,329
py
Python
api_v1/tests/test_models.py
andela-akiura/yonder
1e7c2e113b9188b69459b2443e548d83baeb24e2
[ "MIT" ]
1
2017-09-04T11:45:32.000Z
2017-09-04T11:45:32.000Z
api_v1/tests/test_models.py
andela-akiura/pixlr
1e7c2e113b9188b69459b2443e548d83baeb24e2
[ "MIT" ]
4
2021-06-08T19:30:05.000Z
2022-03-11T23:17:41.000Z
api_v1/tests/test_models.py
andela-akiura/khali
1e7c2e113b9188b69459b2443e548d83baeb24e2
[ "MIT" ]
null
null
null
from django.test import TestCase from factories import ImageFactory, ThumbnailImageFactory, ThumbnailFilterFactory from faker import Faker from django.contrib.auth.models import User fake = Faker()
27.122449
81
0.686983
355960a148237ed0b98deb243186406c35a92e89
1,189
py
Python
turbustat/tests/test_rfft_to_fft.py
CFD-UTSA/Turbulence-stars
354d02e38d15e3b0d1f751b43f430dbd3a14c250
[ "MIT" ]
42
2016-04-07T20:49:59.000Z
2022-03-28T12:54:13.000Z
turbustat/tests/test_rfft_to_fft.py
CFD-UTSA/Turbulence-stars
354d02e38d15e3b0d1f751b43f430dbd3a14c250
[ "MIT" ]
131
2015-03-05T21:42:27.000Z
2021-07-22T14:59:04.000Z
turbustat/tests/test_rfft_to_fft.py
CFD-UTSA/Turbulence-stars
354d02e38d15e3b0d1f751b43f430dbd3a14c250
[ "MIT" ]
21
2015-06-10T17:10:06.000Z
2022-02-28T15:59:42.000Z
# Licensed under an MIT open source license - see LICENSE from __future__ import print_function, absolute_import, division import pytest from ..statistics.rfft_to_fft import rfft_to_fft from ._testing_data import dataset1 import numpy as np import numpy.testing as npt try: import pyfftw PYFFTW_INSTALLED = ...
23.78
73
0.714886
3559772c07898e5d9fdc896cb93ca4b4066c9dc9
2,344
py
Python
Penrose2.py
whitegreen/quasicrystal
4be39dd8bc769fc2e210502270ab4ab12a2247d3
[ "MIT" ]
1
2021-09-12T11:36:12.000Z
2021-09-12T11:36:12.000Z
Penrose2.py
whitegreen/quasicrystal
4be39dd8bc769fc2e210502270ab4ab12a2247d3
[ "MIT" ]
null
null
null
Penrose2.py
whitegreen/quasicrystal
4be39dd8bc769fc2e210502270ab4ab12a2247d3
[ "MIT" ]
null
null
null
import matplotlib.pyplot as plt import numpy as np # projection method: Chapter 3, Grimm & Schreiber, 2002 basis = [] for i in range(5): a = np.pi * 0.4 * i basis.append([np.cos(a), np.sin(a), np.cos(2 * a), np.sin(2 * a), np.sqrt(0.5)]) basis = np.transpose(basis) ps = lattice(3) #3 is very fast, 5 takes ...
29.3
92
0.526877
355a7ea85ce6fa2501f960ef2b4246c7c49191cc
872
py
Python
ProgrammingChallenges#Book/Chapter 1/03.TheTrip/solutions/TheTrip.py
xergioalex/programmingContests
37e8621e6849d53b20e97cf60353a39f63ded67a
[ "MIT" ]
null
null
null
ProgrammingChallenges#Book/Chapter 1/03.TheTrip/solutions/TheTrip.py
xergioalex/programmingContests
37e8621e6849d53b20e97cf60353a39f63ded67a
[ "MIT" ]
null
null
null
ProgrammingChallenges#Book/Chapter 1/03.TheTrip/solutions/TheTrip.py
xergioalex/programmingContests
37e8621e6849d53b20e97cf60353a39f63ded67a
[ "MIT" ]
null
null
null
from sys import stdin # Main program main()
20.761905
52
0.481651
355a7eabdfa94479feee25369d31df7eb197c6b2
548
py
Python
webserver/contest/context_processors.py
theSage21/judge-interface
e1d631f2623c032ee89576e745ce4acb371bc816
[ "MIT" ]
3
2015-11-07T15:17:42.000Z
2021-03-22T23:07:00.000Z
webserver/contest/context_processors.py
theSage21/judge-interface
e1d631f2623c032ee89576e745ce4acb371bc816
[ "MIT" ]
2
2016-12-02T20:27:26.000Z
2018-09-18T07:07:39.000Z
webserver/contest/context_processors.py
theSage21/judge-interface
e1d631f2623c032ee89576e745ce4acb371bc816
[ "MIT" ]
3
2015-09-20T09:38:50.000Z
2018-04-12T14:18:13.000Z
from contest import models from django.utils import timezone from contest.functions import is_contest_on, contest_phase
27.4
58
0.680657
355ac1914c73eb19b95d9073487e7c446179f0d7
17,852
py
Python
python/calico/felix/frules.py
a0x8o/felix
fb431cc4a5482f1013bcbef89954d93551c8fec6
[ "Apache-2.0" ]
6
2016-10-18T04:04:25.000Z
2016-10-18T04:06:49.000Z
python/calico/felix/frules.py
axbaretto/felix
fb431cc4a5482f1013bcbef89954d93551c8fec6
[ "Apache-2.0" ]
1
2021-06-01T21:45:37.000Z
2021-06-01T21:45:37.000Z
python/calico/felix/frules.py
axbaretto/felix
fb431cc4a5482f1013bcbef89954d93551c8fec6
[ "Apache-2.0" ]
null
null
null
# -*- coding: utf-8 -*- # Copyright (c) 2015-2016 Tigera, Inc. All rights reserved. # Copyright (c) 2015 Cisco Systems. 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 #...
41.906103
92
0.698969
355af8d5ae4552973efc6c0ce81832474cc5e594
2,716
py
Python
browse.py
Thorsten-Sick/tags_for_media_ccc_de
ad1a117ea1dfc2b508d287854ba9b2f5c5a438ca
[ "MIT" ]
1
2018-01-11T15:46:56.000Z
2018-01-11T15:46:56.000Z
browse.py
Thorsten-Sick/tags_for_media_ccc_de
ad1a117ea1dfc2b508d287854ba9b2f5c5a438ca
[ "MIT" ]
1
2018-11-04T18:42:57.000Z
2018-11-18T22:14:49.000Z
browse.py
Thorsten-Sick/tags_for_media_ccc_de
ad1a117ea1dfc2b508d287854ba9b2f5c5a438ca
[ "MIT" ]
1
2018-11-24T19:17:31.000Z
2018-11-24T19:17:31.000Z
#!/usr/bin/env python3 # TODO: Write a command line tool to browser and search in the database # TODO: Define a command set to search for strings, tags, similar talks, mark talks as seen, mark talks as irrelevant, mark talks as relevant, open a browser and watch, show details, quit # https://opensource.com/article/...
32.722892
187
0.610088
355b54f8b2fba95e01f01d6e3b0468747cbcfa07
587
py
Python
Curso-Em-Video-Python/1Materias/08_Utilizando_Modulos/#08 - Utilizando Módulos C random.py
pedrohd21/Cursos-Feitos
b223aad83867bfa45ad161d133e33c2c200d42bd
[ "MIT" ]
null
null
null
Curso-Em-Video-Python/1Materias/08_Utilizando_Modulos/#08 - Utilizando Módulos C random.py
pedrohd21/Cursos-Feitos
b223aad83867bfa45ad161d133e33c2c200d42bd
[ "MIT" ]
null
null
null
Curso-Em-Video-Python/1Materias/08_Utilizando_Modulos/#08 - Utilizando Módulos C random.py
pedrohd21/Cursos-Feitos
b223aad83867bfa45ad161d133e33c2c200d42bd
[ "MIT" ]
null
null
null
import random # num = random.random() para numeros de 0 e 1 num = random.randint(1, 10) print(num) '''import random 'choice' n1 = str(input('Primeiro aluno: ')) n2 = str(input('Segundo aluno: ')) n3 = str(input('Terceiro aluno: ')) n4 = str(input('Quarto aluno: ')) lista = [n1, n2, n3, n4] escolha = random.choice(lis...
24.458333
45
0.645656
355d9f89110de4ad691f2cde310c459a0094cdbf
1,520
py
Python
help.py
TarikCinar/python-sesli-asistan
1a29a8d3081b67ff352cf03f7b01ac01b7118deb
[ "MIT" ]
1
2021-05-28T17:27:50.000Z
2021-05-28T17:27:50.000Z
help.py
TarikCinar/python-sesli-asistan
1a29a8d3081b67ff352cf03f7b01ac01b7118deb
[ "MIT" ]
null
null
null
help.py
TarikCinar/python-sesli-asistan
1a29a8d3081b67ff352cf03f7b01ac01b7118deb
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- # Form implementation generated from reading ui file 'help.ui' # # Created by: PyQt5 UI code generator 5.13.0 # # WARNING! All changes made in this file will be lost! from PyQt5 import QtCore, QtGui, QtWidgets if __name__ == "__main__": import sys app = QtWidgets.QApplication(sys.a...
31.666667
122
0.675
35604318c4baa0bc21434d140ab47982045b6541
1,729
py
Python
tarea2c/mod/game_over.py
camilo-nb/CC3501-tareas
b27cb01c8bcb88d7530bb337b1a1dab1c0f8f34e
[ "MIT" ]
null
null
null
tarea2c/mod/game_over.py
camilo-nb/CC3501-tareas
b27cb01c8bcb88d7530bb337b1a1dab1c0f8f34e
[ "MIT" ]
null
null
null
tarea2c/mod/game_over.py
camilo-nb/CC3501-tareas
b27cb01c8bcb88d7530bb337b1a1dab1c0f8f34e
[ "MIT" ]
null
null
null
import os from collections import deque import numpy as np from OpenGL.GL import * import lib.basic_shapes as bs import lib.easy_shaders as es import lib.transformations as tr
46.72973
161
0.664546