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
f87b501fc4a702c459b5a826cf1537ec0638bb2a
1,855
py
Python
core/migrations/0001_initial.py
SanjaLV/Tenis
ea714da10207723c27ff7204b4285ea6a773521b
[ "MIT" ]
null
null
null
core/migrations/0001_initial.py
SanjaLV/Tenis
ea714da10207723c27ff7204b4285ea6a773521b
[ "MIT" ]
null
null
null
core/migrations/0001_initial.py
SanjaLV/Tenis
ea714da10207723c27ff7204b4285ea6a773521b
[ "MIT" ]
null
null
null
# Generated by Django 2.1.7 on 2019-03-31 10:31 from django.conf import settings from django.db import migrations, models import django.db.models.deletion
37.1
132
0.581132
f87cfb9c6282ebda75b44ea58b3afec144dcbcf4
448
py
Python
generator.py
iomintz/python-snippets
982861c173bf4bcd5d908514a9e8b1914a580a5d
[ "CC0-1.0" ]
2
2020-04-10T07:29:56.000Z
2020-05-27T03:45:21.000Z
generator.py
iomintz/python-snippets
982861c173bf4bcd5d908514a9e8b1914a580a5d
[ "CC0-1.0" ]
null
null
null
generator.py
iomintz/python-snippets
982861c173bf4bcd5d908514a9e8b1914a580a5d
[ "CC0-1.0" ]
2
2018-11-24T08:16:59.000Z
2019-02-24T04:41:30.000Z
#!/usr/bin/env python3 # encoding: utf-8 # Douglas Crockford's idea for making generators # basically "why do you need a `yield` keyword when you can just maintain some state" # in my view, a class would be a better way to do this, and indeed, in python, # that's how Iterators are defined. gen = iter([1,2,3]) for _ i...
22.4
85
0.683036
f87d14c4254943a1783a77600bab62106f89c898
6,336
py
Python
pddlstream/ss/algorithms/fast_downward.py
zerongxi/Kitchen2D
2cbaa6c8ea8fbf5f5c3a5de34cb11efde4121793
[ "MIT" ]
35
2018-03-15T14:26:33.000Z
2022-02-09T15:37:59.000Z
pddlstream/ss/algorithms/fast_downward.py
zerongxi/Kitchen2D
2cbaa6c8ea8fbf5f5c3a5de34cb11efde4121793
[ "MIT" ]
1
2020-11-03T04:49:43.000Z
2020-11-17T16:42:48.000Z
pddlstream/ss/algorithms/fast_downward.py
zerongxi/Kitchen2D
2cbaa6c8ea8fbf5f5c3a5de34cb11efde4121793
[ "MIT" ]
12
2018-04-28T20:11:21.000Z
2021-09-18T22:24:46.000Z
from time import time from ss.utils import INF import sys import os import shutil TEMP_DIR = 'temp/' DOMAIN_INPUT = 'domain.pddl' PROBLEM_INPUT = 'problem.pddl' TRANSLATE_OUTPUT = 'output.sas' SEARCH_OUTPUT = 'sas_plan' ENV_VAR = 'FD_PATH' FD_BIN = 'bin' TRANSLATE_DIR = 'translate/' SEARCH_COMMAND = 'downward --inter...
34.064516
94
0.646938
f881c0e0b875dfcd895b81b936783f36c735935f
564
py
Python
backend/external/docgen/request_token.py
bcgov-c/wally
264bc5d40f9b5cf293159f1bc0424cfd9ff8aa06
[ "Apache-2.0" ]
null
null
null
backend/external/docgen/request_token.py
bcgov-c/wally
264bc5d40f9b5cf293159f1bc0424cfd9ff8aa06
[ "Apache-2.0" ]
null
null
null
backend/external/docgen/request_token.py
bcgov-c/wally
264bc5d40f9b5cf293159f1bc0424cfd9ff8aa06
[ "Apache-2.0" ]
null
null
null
import requests from api import config
21.692308
64
0.615248
f88205db59ac35f6745b81386eb53c57775a1972
3,164
py
Python
gcode_gen/gcode.py
tulth/gcode_gen
d6e276f2074d4fe66755b2ae06c5b4d85583c563
[ "BSD-3-Clause" ]
null
null
null
gcode_gen/gcode.py
tulth/gcode_gen
d6e276f2074d4fe66755b2ae06c5b4d85583c563
[ "BSD-3-Clause" ]
null
null
null
gcode_gen/gcode.py
tulth/gcode_gen
d6e276f2074d4fe66755b2ae06c5b4d85583c563
[ "BSD-3-Clause" ]
null
null
null
''' Library for gcode commands objects that render to strings. ''' from .number import num2str from .point import XYZ
24.913386
71
0.60335
f8825ad47b75cf630d4ad3f98bb97cd2847d852d
619
py
Python
tAPP/2/P3.py
ArvinZJC/UofG_PGT_PSD_Python
d90e9bb0b53b14c6b1d7e657c3c61e2792e0d9c4
[ "MIT" ]
null
null
null
tAPP/2/P3.py
ArvinZJC/UofG_PGT_PSD_Python
d90e9bb0b53b14c6b1d7e657c3c61e2792e0d9c4
[ "MIT" ]
null
null
null
tAPP/2/P3.py
ArvinZJC/UofG_PGT_PSD_Python
d90e9bb0b53b14c6b1d7e657c3c61e2792e0d9c4
[ "MIT" ]
null
null
null
''' Description: Problem 3 (rearrange the code) Version: 1.0.1.20210116 Author: Arvin Zhao Date: 2021-01-14 22:51:16 Last Editors: Arvin Zhao LastEditTime: 2021-01-16 04:11:18 ''' if __name__ == '__main__': # It is strongly recommended to add this line. main()
20.633333
74
0.646204
f8825cac93ae51da9c9e342930c13e66cd5b1a63
1,046
py
Python
tf_trees/demo.py
hazimehh/google-research
81ff754d88f9ad479448c78d7ab615bef140423d
[ "Apache-2.0" ]
null
null
null
tf_trees/demo.py
hazimehh/google-research
81ff754d88f9ad479448c78d7ab615bef140423d
[ "Apache-2.0" ]
null
null
null
tf_trees/demo.py
hazimehh/google-research
81ff754d88f9ad479448c78d7ab615bef140423d
[ "Apache-2.0" ]
null
null
null
from tensorflow import keras # Make sure the tf_trees directory is in the search path. from tf_trees import TEL # The documentation of TEL can be accessed as follows print(TEL.__doc__) # We will fit TEL on the Boston Housing regression dataset. # First, load the dataset. from keras.datasets import boston_housing (x_t...
38.740741
82
0.772467
f88367f68dcb96f708907ba780b8dfe0c11ecea5
725
py
Python
tests/utils_test.py
MartinThoma/nntoolkit
1f9eed7b6d6fdacc706060d9cbfefaa9c2d0dbf8
[ "MIT" ]
4
2015-01-26T17:56:05.000Z
2020-04-01T05:52:00.000Z
tests/utils_test.py
MartinThoma/nntoolkit
1f9eed7b6d6fdacc706060d9cbfefaa9c2d0dbf8
[ "MIT" ]
11
2015-01-06T10:34:36.000Z
2021-03-22T18:29:45.000Z
tests/utils_test.py
MartinThoma/nntoolkit
1f9eed7b6d6fdacc706060d9cbfefaa9c2d0dbf8
[ "MIT" ]
6
2015-01-02T15:02:27.000Z
2021-05-12T18:09:35.000Z
#!/usr/bin/env python # Core Library modules import argparse import os # Third party modules import pytest # First party modules import nntoolkit.utils as utils
20.714286
62
0.704828
f8837ac94ce790820bfbaf796665ce3cc290523c
101
py
Python
ex1.py
luismachado/python_project_euler
79798ee00c18f4f8cc1b397aa7c92f8175a3ed33
[ "MIT" ]
null
null
null
ex1.py
luismachado/python_project_euler
79798ee00c18f4f8cc1b397aa7c92f8175a3ed33
[ "MIT" ]
null
null
null
ex1.py
luismachado/python_project_euler
79798ee00c18f4f8cc1b397aa7c92f8175a3ed33
[ "MIT" ]
null
null
null
sum = 0 for x in range(1,1000): if x%3 == 0 or x%5 == 0: sum += x print ("Total is:", sum)
14.428571
26
0.485149
f885cb85cd328a59b1d3f0d46e987b871f1a5d6d
1,977
py
Python
apiser/10-grpc/src/utils/tools/zemail.py
hyhlinux/demo_vue
cf61d0ba21cce93b04951076c8c23c0fe693bb5b
[ "Apache-2.0" ]
null
null
null
apiser/10-grpc/src/utils/tools/zemail.py
hyhlinux/demo_vue
cf61d0ba21cce93b04951076c8c23c0fe693bb5b
[ "Apache-2.0" ]
2
2022-02-10T12:00:22.000Z
2022-03-02T02:31:40.000Z
apiser/10-grpc/src/utils/tools/zemail.py
hyhlinux/demo_vue
cf61d0ba21cce93b04951076c8c23c0fe693bb5b
[ "Apache-2.0" ]
null
null
null
import smtplib import os from email.mime.text import MIMEText from email.utils import formataddr from email.mime.image import MIMEImage from email.mime.multipart import MIMEMultipart from email.mime.text import MIMEText from email.header import Header try: from src.config import CONFIG except ImportError: Zemail ...
29.954545
107
0.630754
f8885de2c1bf956e3ffc0a2b8c32753cd240d5eb
2,679
py
Python
can_decoder/Frame.py
justinwald99/can_decoder
abfdd839856745f88b3fc3a58c8bedbdd05d5616
[ "MIT" ]
17
2020-08-18T02:34:57.000Z
2022-03-16T16:26:53.000Z
can_decoder/Frame.py
justinwald99/can_decoder
abfdd839856745f88b3fc3a58c8bedbdd05d5616
[ "MIT" ]
4
2020-09-09T04:18:28.000Z
2022-02-23T10:29:14.000Z
can_decoder/Frame.py
justinwald99/can_decoder
abfdd839856745f88b3fc3a58c8bedbdd05d5616
[ "MIT" ]
3
2021-08-18T18:30:43.000Z
2022-02-21T07:11:09.000Z
from typing import List, Optional from can_decoder.Signal import Signal
29.43956
117
0.528182
f888a9124299142dae94af378de65454815c28dd
268
py
Python
Curso_de_Python_ Curso_em_Video/PythonTeste/operadoresAritmeticosEx007.py
DanilooSilva/Cursos_de_Python
8f167a4c6e16f01601e23b6f107578aa1454472d
[ "MIT" ]
null
null
null
Curso_de_Python_ Curso_em_Video/PythonTeste/operadoresAritmeticosEx007.py
DanilooSilva/Cursos_de_Python
8f167a4c6e16f01601e23b6f107578aa1454472d
[ "MIT" ]
null
null
null
Curso_de_Python_ Curso_em_Video/PythonTeste/operadoresAritmeticosEx007.py
DanilooSilva/Cursos_de_Python
8f167a4c6e16f01601e23b6f107578aa1454472d
[ "MIT" ]
null
null
null
largura = float(input('Digite a largura da parede: ')) altura = float(input('Digite a altura da parede: ')) area = largura * altura tinta = area / 2 print('A rea da parede de {}'.format(area)) print('Ser necessrio para pintar {} litros de tinta'.format(tinta))
29.777778
69
0.697761
f888dc9c7ee0e666487347bc03cdcb3278274bed
174
py
Python
terraform.py
kyleslater/254-space-log
7496ff4e134b1a916580d8c0f8a0493e4863e9a2
[ "MIT" ]
null
null
null
terraform.py
kyleslater/254-space-log
7496ff4e134b1a916580d8c0f8a0493e4863e9a2
[ "MIT" ]
null
null
null
terraform.py
kyleslater/254-space-log
7496ff4e134b1a916580d8c0f8a0493e4863e9a2
[ "MIT" ]
null
null
null
#Kyle Slater import re
24.857143
61
0.752874
f88a9c72050c19a376ad171a7a2391d21f7e3ac6
256
py
Python
bugzilla_service/bzservice_flask/app/tests/test_flaskr.py
5GEVE/5G-EVE-PORTAL-BACKEND-tsb
3fe3140b26d30e7e7ff1a034315183eaed60a599
[ "MIT" ]
null
null
null
bugzilla_service/bzservice_flask/app/tests/test_flaskr.py
5GEVE/5G-EVE-PORTAL-BACKEND-tsb
3fe3140b26d30e7e7ff1a034315183eaed60a599
[ "MIT" ]
3
2021-02-08T20:38:29.000Z
2021-06-02T00:55:43.000Z
file_storage_service/tests/test_flaskr.py
5GEVE/5G-EVE-PORTAL-BACKEND-fs
27d5d10fa39e3007cfee2e48e3b95047abf2c144
[ "MIT" ]
null
null
null
import os import tempfile import requests api_url = "http://127.0.0.1:8989" def test_no_token(): """Request home without token""" response = requests.get(api_url+"/isvalid") print(response.status_code) assert response.status_code == 401
23.272727
47
0.707031
f88aa3fcd8cfa698889ea39a72ffe01decd8c2ea
6,279
py
Python
translator-v2.py
g-h-0-S-t/translator
9e55b5b3a7d68b85aa718bc9eef064599b75f914
[ "MIT" ]
1
2021-07-22T14:06:08.000Z
2021-07-22T14:06:08.000Z
translator-v2.py
g-h-0-S-t/translator
9e55b5b3a7d68b85aa718bc9eef064599b75f914
[ "MIT" ]
null
null
null
translator-v2.py
g-h-0-S-t/translator
9e55b5b3a7d68b85aa718bc9eef064599b75f914
[ "MIT" ]
null
null
null
#!/usr/bin/python3 # MIT License # # Copyright (c) 2021 gh0$t # # Permission is hereby granted, free of charge, to any person obtaining a copy # of this software and associated documentation files (the "Software"), to deal # in the Software without restriction, including without limitation the rights # to use, copy,...
34.5
218
0.645963
f88ab7cb09ff4cce53f828728ecd959e4a4ca37a
955
py
Python
djangoBackend/payment_module/migrations/0005_auto_20210924_0054.py
muhanzi/Django-REST-API
08b8b2bbd08a74589cca7b5fd4e1d604d9a6d7eb
[ "Apache-2.0" ]
null
null
null
djangoBackend/payment_module/migrations/0005_auto_20210924_0054.py
muhanzi/Django-REST-API
08b8b2bbd08a74589cca7b5fd4e1d604d9a6d7eb
[ "Apache-2.0" ]
null
null
null
djangoBackend/payment_module/migrations/0005_auto_20210924_0054.py
muhanzi/Django-REST-API
08b8b2bbd08a74589cca7b5fd4e1d604d9a6d7eb
[ "Apache-2.0" ]
null
null
null
# Generated by Django 3.1.2 on 2021-09-23 21:54 from django.db import migrations
24.487179
54
0.536126
f88e5bdd49e9b79ee78760de491336a0c465e929
935
py
Python
general/tfHelper.py
jbroot/SHGAN
9ed83f8356145adcbda219c0d9673e36109b0cb2
[ "MIT" ]
null
null
null
general/tfHelper.py
jbroot/SHGAN
9ed83f8356145adcbda219c0d9673e36109b0cb2
[ "MIT" ]
null
null
null
general/tfHelper.py
jbroot/SHGAN
9ed83f8356145adcbda219c0d9673e36109b0cb2
[ "MIT" ]
null
null
null
import tensorflow as tf import keras import numpy as np
32.241379
73
0.698396
f88f6e13c4185abcf8cceff79dbfda6d0f9a19ba
486
py
Python
wsgi/settings.py
zhemao/speakeasy
793bcca6d30fe31b1579bb8464f1eafacd6eb593
[ "BSD-2-Clause" ]
1
2022-02-02T10:40:59.000Z
2022-02-02T10:40:59.000Z
wsgi/settings.py
zhemao/speakeasy
793bcca6d30fe31b1579bb8464f1eafacd6eb593
[ "BSD-2-Clause" ]
null
null
null
wsgi/settings.py
zhemao/speakeasy
793bcca6d30fe31b1579bb8464f1eafacd6eb593
[ "BSD-2-Clause" ]
null
null
null
import os MONGO_HOST = os.getenv('OPENSHIFT_NOSQL_DB_HOST') MONGO_PORT = os.getenv('OPENSHIFT_NOSQL_DB_PORT') MONGO_USERNAME = os.getenv('OPENSHIFT_NOSQL_DB_USERNAME') MONGO_PASSWORD = os.getenv('OPENSHIFT_NOSQL_DB_PASSWORD') MONGO_DBNAME = 'speakeasy' PRIV_KEY_FILE = os.getenv('OPENSHIFT_DATA_DIR') + '/server_privat...
30.375
71
0.790123
f8900e5fac4e08162311478b3ed9cf017f5cb02c
10,047
py
Python
perl_io.py
hariguchi/perl_io
1deb367faa56081b68c4eda99d364f5b533a331e
[ "MIT" ]
null
null
null
perl_io.py
hariguchi/perl_io
1deb367faa56081b68c4eda99d364f5b533a331e
[ "MIT" ]
null
null
null
perl_io.py
hariguchi/perl_io
1deb367faa56081b68c4eda99d364f5b533a331e
[ "MIT" ]
null
null
null
r''' perl_io - Opens a file or pipe in the Perl style Copyright (c) 2016 Yoichi Hariguchi Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rig...
33.602007
78
0.54902
f89039eac3e7b46b0d707c6f7b3927ce103b2914
919
py
Python
app/controllers/config/system/logs.py
grepleria/SnitchDNS
24f98b01fd5fca9aa2c660d6ee15742f2e44915c
[ "MIT" ]
152
2020-12-07T13:26:53.000Z
2022-03-23T02:00:04.000Z
app/controllers/config/system/logs.py
grepleria/SnitchDNS
24f98b01fd5fca9aa2c660d6ee15742f2e44915c
[ "MIT" ]
16
2020-12-07T17:04:36.000Z
2022-03-10T11:12:52.000Z
app/controllers/config/system/logs.py
grepleria/SnitchDNS
24f98b01fd5fca9aa2c660d6ee15742f2e44915c
[ "MIT" ]
36
2020-12-09T13:04:40.000Z
2022-03-12T18:14:36.000Z
from .. import bp from flask import request, render_template, flash, redirect, url_for from flask_login import current_user, login_required from app.lib.base.provider import Provider from app.lib.base.decorators import admin_required
26.257143
68
0.688792
f8905d54c870fed2c5b2b1831a4130a25651f566
5,539
py
Python
MR-OCP/mrcap/utils/downsample_atlas.py
justi/m2g
09e8b889889ee8d8fb08b9b6fcd726fb3d901644
[ "Apache-2.0" ]
12
2015-03-11T22:07:17.000Z
2016-01-29T21:24:29.000Z
MR-OCP/mrcap/utils/downsample_atlas.py
youngmook/m2g
09e8b889889ee8d8fb08b9b6fcd726fb3d901644
[ "Apache-2.0" ]
213
2015-01-30T16:02:57.000Z
2016-01-29T21:45:02.000Z
MR-OCP/mrcap/utils/downsample_atlas.py
youngmook/m2g
09e8b889889ee8d8fb08b9b6fcd726fb3d901644
[ "Apache-2.0" ]
5
2015-02-04T13:58:12.000Z
2016-01-29T21:24:46.000Z
#!/usr/bin/env python # Copyright 2014 Open Connectome Project (http://openconnecto.me) # # 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 # #...
32.582353
157
0.667268
f890b528c3dd1757b9098304393522baa32267a2
2,241
py
Python
tensorforce/agents/random_agent.py
matthewwilfred/tensorforce
0ba3d39ed88fb0a0a0bf4bf03e79150c0fe0d54c
[ "Apache-2.0", "MIT" ]
1
2021-08-23T19:49:03.000Z
2021-08-23T19:49:03.000Z
tensorforce/agents/random_agent.py
matthewwilfred/tensorforce
0ba3d39ed88fb0a0a0bf4bf03e79150c0fe0d54c
[ "Apache-2.0", "MIT" ]
null
null
null
tensorforce/agents/random_agent.py
matthewwilfred/tensorforce
0ba3d39ed88fb0a0a0bf4bf03e79150c0fe0d54c
[ "Apache-2.0", "MIT" ]
null
null
null
# Copyright 2017 reinforce.io. 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...
30.283784
96
0.622936
f891f4ca2c23bac0817312243666f8fd196ddfcf
9,970
py
Python
selinum_basics.py
elithaxxor/craiglist_scraper
db35d06004e306229cd10d7678574763cf48c625
[ "MIT" ]
null
null
null
selinum_basics.py
elithaxxor/craiglist_scraper
db35d06004e306229cd10d7678574763cf48c625
[ "MIT" ]
null
null
null
selinum_basics.py
elithaxxor/craiglist_scraper
db35d06004e306229cd10d7678574763cf48c625
[ "MIT" ]
null
null
null
import os import re import time from selenium import webdriver from selenium.webdriver.common.keys import Keys from selenium.webdriver.common.by import By from selenium.webdriver.support.ui import WebDriverWait from selenium.webdriver.support import expected_conditions as EC from selenium.webdriver import Chrome from s...
57.298851
1,381
0.768907
f893a81b68249d96ab59017996d9f35493423f0f
8,644
py
Python
training/MNISTFashionMicroservice/src/server/training.py
UMass-Rescue/CombinedTechStack
b3447b174d9798f3baf9bf6509b4cc14a5bd225a
[ "MIT" ]
null
null
null
training/MNISTFashionMicroservice/src/server/training.py
UMass-Rescue/CombinedTechStack
b3447b174d9798f3baf9bf6509b4cc14a5bd225a
[ "MIT" ]
32
2021-03-17T13:17:22.000Z
2021-05-04T14:25:31.000Z
training/MNISTFashionMicroservice/src/server/training.py
UMass-Rescue/CombinedTechStack
b3447b174d9798f3baf9bf6509b4cc14a5bd225a
[ "MIT" ]
1
2021-03-24T13:47:44.000Z
2021-03-24T13:47:44.000Z
import os import tempfile import shutil import requests import sys import logging import json from src.server.dependency import ModelData import tensorflow as tf def train_model(training_id, model_data: ModelData): """ Train model(s) based on a given model and hyperparameters Now supporting two hyperpara...
32.618868
117
0.614762
f894286d87c8139bf9e7bda1448f050c5b02eb70
3,287
py
Python
app.py
pythonlittleboy/python_gentleman_crawler
751b624d22a5024746c256080ea0815a9986e3d7
[ "Apache-2.0" ]
1
2017-05-03T12:18:31.000Z
2017-05-03T12:18:31.000Z
app.py
pythonlittleboy/python_gentleman_crawler
751b624d22a5024746c256080ea0815a9986e3d7
[ "Apache-2.0" ]
null
null
null
app.py
pythonlittleboy/python_gentleman_crawler
751b624d22a5024746c256080ea0815a9986e3d7
[ "Apache-2.0" ]
1
2020-10-29T04:00:04.000Z
2020-10-29T04:00:04.000Z
from flask import Flask from flask import render_template from flask import request from model import MovieWebDAO import json from ml import Forcast app = Flask(__name__) if __name__ == '__main__': print("http://localhost:15001") app.run(host='0.0.0.0', debug=True, port=15001)
31.009434
79
0.703377
f89a1bc1e1f90da376a0c1761bee56b1db485561
1,438
py
Python
remove_negative_from_positive_augmented_samples.py
DarkElement75/object-detection-experiments
fc638f361f76d7bbb6e5cde9a3480c656b486ad6
[ "MIT" ]
null
null
null
remove_negative_from_positive_augmented_samples.py
DarkElement75/object-detection-experiments
fc638f361f76d7bbb6e5cde9a3480c656b486ad6
[ "MIT" ]
null
null
null
remove_negative_from_positive_augmented_samples.py
DarkElement75/object-detection-experiments
fc638f361f76d7bbb6e5cde9a3480c656b486ad6
[ "MIT" ]
null
null
null
import h5py import numpy as np import cv2 """ Just gets rid of the negatives by only reading the positives, then writing them to replace the existing archive """ archive_dir="positive_augmented_samples.h5" x,y = read_new(archive_dir) write_new(archive_dir, x, y)
35.95
112
0.632823
f89ade1e452186e4d101ccde6adaccc57996d66d
646
py
Python
Automate_Whatsapp_Sending_Text.py
IshvinaKapoor/Automate-WhatsApp
f499db0540c56b74152a368af1fa361ecea69806
[ "MIT" ]
null
null
null
Automate_Whatsapp_Sending_Text.py
IshvinaKapoor/Automate-WhatsApp
f499db0540c56b74152a368af1fa361ecea69806
[ "MIT" ]
null
null
null
Automate_Whatsapp_Sending_Text.py
IshvinaKapoor/Automate-WhatsApp
f499db0540c56b74152a368af1fa361ecea69806
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- """ Automate WhatsApp - Sending WhatsApp message @author: DELL Ishvina Kapoor """ #importing the necessary modules import pywhatkit as pkt import getpass as gp #displaying a welcome message print("Automating Whatsapp!") #capturing the target phone number from the user phone_...
23.925926
96
0.716718
f89c748dd51197d30a5af7af230eb9f70959fb01
894
py
Python
transonic/analyses/beniget.py
fluiddyn/transonic
a460e9f6d1139f79b668cb3306d1e8a7e190b72d
[ "BSD-3-Clause" ]
88
2019-01-08T16:39:08.000Z
2022-02-06T14:19:23.000Z
transonic/analyses/beniget.py
fluiddyn/transonic
a460e9f6d1139f79b668cb3306d1e8a7e190b72d
[ "BSD-3-Clause" ]
13
2019-06-20T15:53:10.000Z
2021-02-09T11:03:29.000Z
transonic/analyses/beniget.py
fluiddyn/transonic
a460e9f6d1139f79b668cb3306d1e8a7e190b72d
[ "BSD-3-Clause" ]
1
2019-11-05T03:03:14.000Z
2019-11-05T03:03:14.000Z
import gast as ast from beniget import Ancestors, DefUseChains as DUC, UseDefChains from beniget.beniget import Def __all__ = ["Ancestors", "DefUseChains", "UseDefChains"] # this import has to be after the definition of DefUseChains from transonic.analyses.extast import CommentLine # noqa: E402
29.8
64
0.659955
f89ffb26ee589ce79dc400f7f5cf4afa16b557b3
88
py
Python
view/resources/__init__.py
surfaceanalytics/inelasticscattering
da549dde788a55084c565bbc5f89ebf9cbae4263
[ "MIT" ]
null
null
null
view/resources/__init__.py
surfaceanalytics/inelasticscattering
da549dde788a55084c565bbc5f89ebf9cbae4263
[ "MIT" ]
3
2021-09-08T03:02:25.000Z
2022-03-12T01:00:06.000Z
view/resources/__init__.py
surfaceanalytics/inelasticscattering
da549dde788a55084c565bbc5f89ebf9cbae4263
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- """ Created on Thu Sep 3 16:43:28 2020 @author: nicholls """
11
35
0.568182
f8a219513d5df677c7712f374a4d0f79bdc2f13b
2,401
py
Python
2020/python/16.py
gcp825/advent_of_code
b4ea17572847e1a9044487041b3e12a0da58c94b
[ "MIT" ]
1
2021-12-29T09:32:08.000Z
2021-12-29T09:32:08.000Z
2020/python/16.py
gcp825/advent_of_code
b4ea17572847e1a9044487041b3e12a0da58c94b
[ "MIT" ]
null
null
null
2020/python/16.py
gcp825/advent_of_code
b4ea17572847e1a9044487041b3e12a0da58c94b
[ "MIT" ]
null
null
null
from collections import Counter print(main('day16.txt'))
24.752577
96
0.43107
f8a565676ba40410367b887bd52120b87f5a4d60
9,512
py
Python
MODEL3.CNN.py
alhasacademy96/finalyearproject
1f8f21dea55e45807767e465c27b225e2fc5c082
[ "MIT" ]
2
2020-09-15T18:10:12.000Z
2021-01-25T21:54:04.000Z
MODEL3.CNN.py
alhasacademy96/finalyearproject
1f8f21dea55e45807767e465c27b225e2fc5c082
[ "MIT" ]
null
null
null
MODEL3.CNN.py
alhasacademy96/finalyearproject
1f8f21dea55e45807767e465c27b225e2fc5c082
[ "MIT" ]
null
null
null
# Author: Ibrahim Alhas - ID: 1533204. # MODEL 3: CNN with built-in tensorflow tokenizer. # This is the final version of the model (not the base). # Packages and libraries used for this model. # ** Install these if not installed already **. import numpy as np import pandas as pd import matplotlib.pyplot ...
37.746032
120
0.700694
f8a57061a44b4ce6c14481e8a79c00cddf4bc7c8
40,857
py
Python
tn/old_scripts/old_md_to_pdf/export_md_to_pdf.py
unfoldingWord-dev/tools
7251d64b4750f1615125dab3c09d6d00a9c284b4
[ "MIT" ]
6
2015-07-27T21:50:39.000Z
2020-06-25T14:32:35.000Z
tn/old_scripts/old_md_to_pdf/export_md_to_pdf.py
unfoldingWord-dev/tools
7251d64b4750f1615125dab3c09d6d00a9c284b4
[ "MIT" ]
89
2015-06-24T09:35:40.000Z
2022-02-13T14:40:31.000Z
tn/old_scripts/old_md_to_pdf/export_md_to_pdf.py
unfoldingWord-dev/tools
7251d64b4750f1615125dab3c09d6d00a9c284b4
[ "MIT" ]
12
2015-07-13T17:31:04.000Z
2021-08-06T06:50:21.000Z
#!/usr/bin/env python2 # -*- coding: utf8 -*- # # Copyright (c) 2017 unfoldingWord # http://creativecommons.org/licenses/MIT/ # See LICENSE file for details. # # Contributors: # Richard Mahn <rich.mahn@unfoldingword.org> """ This script generates the HTML tN documents for each book of the Bible """ from __future_...
49.46368
254
0.548303
f8a59fce72ffcde75ac9e9b378c6906ab092d7dd
2,565
py
Python
mudi/interp/bootstrap_aucell.py
getzlab/mudi
eda170119708e59920c23a03834af915ecca24ce
[ "MIT" ]
1
2021-11-04T00:08:00.000Z
2021-11-04T00:08:00.000Z
mudi/interp/bootstrap_aucell.py
getzlab/mudi
eda170119708e59920c23a03834af915ecca24ce
[ "MIT" ]
null
null
null
mudi/interp/bootstrap_aucell.py
getzlab/mudi
eda170119708e59920c23a03834af915ecca24ce
[ "MIT" ]
null
null
null
import pandas as pd import numpy as np from tqdm import tqdm import argparse from pyscenic.aucell import aucell from .aucell import create_gene_signatures from .aucell import assign_bootstrap if __name__ == "__main__": main()
28.5
91
0.617934
f8a65542e1ebb18eabea4f393380c912f8314bfc
696
py
Python
network/topo-custom.py
kstough/pox
152625fcd40fc5ddfce87b7632fd40777507205c
[ "Apache-2.0" ]
null
null
null
network/topo-custom.py
kstough/pox
152625fcd40fc5ddfce87b7632fd40777507205c
[ "Apache-2.0" ]
null
null
null
network/topo-custom.py
kstough/pox
152625fcd40fc5ddfce87b7632fd40777507205c
[ "Apache-2.0" ]
null
null
null
"""Custom topology example s7 ---- s8 ---- s9 / \ / \ / \ h1 h2 h3 h4 h5 h6 """ from mininet.topo import Topo print('Loading MyTopo') topos = {'mytopo': (lambda: MyTopo())}
19.885714
79
0.570402
f8a77e8060730c4c9bc76d9c5c083f084aed00b7
2,383
py
Python
test_alarms.py
ajaynema/rule-engine
99cd5d54dd45e1223d0eec2a65bc6d5f0ef3da51
[ "MIT" ]
null
null
null
test_alarms.py
ajaynema/rule-engine
99cd5d54dd45e1223d0eec2a65bc6d5f0ef3da51
[ "MIT" ]
null
null
null
test_alarms.py
ajaynema/rule-engine
99cd5d54dd45e1223d0eec2a65bc6d5f0ef3da51
[ "MIT" ]
null
null
null
from rule_condition import Condition from rule_action import Action from rule_template import RuleTemplate from rule_engine import RuleEngine from rule import Rule from rule_data import Data from rule_scope import Scope from action_handler_send_email import SendEmailHandler from action_handler_report_alarm import Repor...
29.419753
81
0.660512
f8a7cc80262619abcc2b85bf1530f105f8f8ce34
362
py
Python
agri/urls.py
Bhavesh0327/Agriblock
72015e1765214b153771dbc3868eae01fe8898b3
[ "MIT" ]
1
2020-10-01T08:28:57.000Z
2020-10-01T08:28:57.000Z
agri/urls.py
Bhavesh0327/Agriblock
72015e1765214b153771dbc3868eae01fe8898b3
[ "MIT" ]
14
2020-06-05T20:37:13.000Z
2022-02-26T22:51:36.000Z
agri/urls.py
Bhavesh0327/Agriblock
72015e1765214b153771dbc3868eae01fe8898b3
[ "MIT" ]
3
2020-01-29T04:34:28.000Z
2020-09-30T21:48:30.000Z
from django.urls import path from .views import * rest_urls = list(map(lambda x: path(x[0], x[1], name=x[2]), [ ('login/', login, 'login'), ('issue_asset/', issue_asset, 'issue_asset'), ('buy/', buy, 'buy'), ('get_assets/', get_assets, 'get_assets'), ('get_transactions/', get_transactions, 'get_tr...
25.857143
63
0.638122
f8a96eee4517afeca4532922b8ea2f6d38dc101a
4,898
py
Python
lib/utils_monai.py
octaviomtz/Growing-Neural-Cellular-Automata
a6f91661e35f7bd0d7b90ac4347f4d56c9351d0b
[ "MIT" ]
null
null
null
lib/utils_monai.py
octaviomtz/Growing-Neural-Cellular-Automata
a6f91661e35f7bd0d7b90ac4347f4d56c9351d0b
[ "MIT" ]
null
null
null
lib/utils_monai.py
octaviomtz/Growing-Neural-Cellular-Automata
a6f91661e35f7bd0d7b90ac4347f4d56c9351d0b
[ "MIT" ]
null
null
null
import os import numpy as np import monai import math import torch import glob from skimage.morphology import remove_small_holes, remove_small_objects from monai.transforms import ( LoadImaged, AddChanneld, Orientationd, Spacingd, ScaleIntensityRanged, SpatialPadd, RandAffined, RandCropB...
39.5
111
0.669661
f8ab0286f449987129eeade795e566330ff36d18
867
py
Python
api/leaderboard/tests/test_views.py
individuo7/wololo-tournaments-api
5be6284064373e99346d39c78844e454c41c501d
[ "MIT" ]
2
2019-12-09T10:19:36.000Z
2020-01-11T11:48:41.000Z
api/leaderboard/tests/test_views.py
individuo7/wololo-tournaments-api
5be6284064373e99346d39c78844e454c41c501d
[ "MIT" ]
null
null
null
api/leaderboard/tests/test_views.py
individuo7/wololo-tournaments-api
5be6284064373e99346d39c78844e454c41c501d
[ "MIT" ]
null
null
null
import json import pytest from unittest import TestCase from rest_framework.test import APIClient from ..models import Group, Prediction
27.967742
63
0.704729
f8ab70b04aa64ecaf4843be345aba0efec2cfc69
414
py
Python
sapextractor/utils/string_matching/distances.py
aarkue/sap-meta-explorer
613bf657bbaa72a3781a84664e5de7626516532f
[ "Apache-2.0" ]
2
2021-02-10T08:09:35.000Z
2021-05-21T06:25:34.000Z
sapextractor/utils/string_matching/distances.py
aarkue/sap-meta-explorer
613bf657bbaa72a3781a84664e5de7626516532f
[ "Apache-2.0" ]
null
null
null
sapextractor/utils/string_matching/distances.py
aarkue/sap-meta-explorer
613bf657bbaa72a3781a84664e5de7626516532f
[ "Apache-2.0" ]
3
2021-11-22T13:27:00.000Z
2022-03-16T22:08:51.000Z
import stringdist def levenshtein(stru1, stru2): """ Measures the Levenshtein distance between two strings Parameters --------------- stru1 First string stru2 Second string Returns --------------- levens_dist Levenshtein distance """ return stringd...
16.56
57
0.601449
f8acaa7460d221225a0bd79d4a5ca48dc091b0af
2,873
py
Python
components/aws/sagemaker/delete_simulation_app/src/robomaker_delete_simulation_app_spec.py
Strasser-Pablo/pipelines
a1d513eb412f3ffd44edf82af2fa7edb05c3b952
[ "Apache-2.0" ]
2,860
2018-05-24T04:55:01.000Z
2022-03-31T13:49:56.000Z
components/aws/sagemaker/delete_simulation_app/src/robomaker_delete_simulation_app_spec.py
Strasser-Pablo/pipelines
a1d513eb412f3ffd44edf82af2fa7edb05c3b952
[ "Apache-2.0" ]
7,331
2018-05-16T09:03:26.000Z
2022-03-31T23:22:04.000Z
components/aws/sagemaker/delete_simulation_app/src/robomaker_delete_simulation_app_spec.py
Strasser-Pablo/pipelines
a1d513eb412f3ffd44edf82af2fa7edb05c3b952
[ "Apache-2.0" ]
1,359
2018-05-15T11:05:41.000Z
2022-03-31T09:42:09.000Z
"""Specification for the RoboMaker delete. simulation application component.""" # 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 require...
32.280899
88
0.725374
f8aeac4c82055a9ca0856652e23d45a0af0bcf39
7,595
py
Python
ckanext-hdx_theme/ckanext/hdx_theme/util/jql_queries.py
alexandru-m-g/hdx-ckan
647f1f23f0505fa195601245b758edcaf4d25985
[ "Apache-2.0" ]
null
null
null
ckanext-hdx_theme/ckanext/hdx_theme/util/jql_queries.py
alexandru-m-g/hdx-ckan
647f1f23f0505fa195601245b758edcaf4d25985
[ "Apache-2.0" ]
null
null
null
ckanext-hdx_theme/ckanext/hdx_theme/util/jql_queries.py
alexandru-m-g/hdx-ckan
647f1f23f0505fa195601245b758edcaf4d25985
[ "Apache-2.0" ]
null
null
null
DOWNLOADS_PER_DATASET = ''' /* VER 1.2 used for total downloads from 2016-08-01 which is used to sort datasets by "most downloads" for the "XXX downloads" counter on /search and on each individual dataset gets all download events and counts occurrences of unique combinations of user, resource, and dataset, and day, t...
42.194444
493
0.688743
f8afd1b0a1d62c5e20c07db83d59c2c494f17348
13,343
py
Python
source/rttov_test/profile-datasets-py/div83/077.py
bucricket/projectMAScorrection
89489026c8e247ec7c364e537798e766331fe569
[ "BSD-3-Clause" ]
null
null
null
source/rttov_test/profile-datasets-py/div83/077.py
bucricket/projectMAScorrection
89489026c8e247ec7c364e537798e766331fe569
[ "BSD-3-Clause" ]
1
2022-03-12T12:19:59.000Z
2022-03-12T12:19:59.000Z
source/rttov_test/profile-datasets-py/div83/077.py
bucricket/projectMAScorrection
89489026c8e247ec7c364e537798e766331fe569
[ "BSD-3-Clause" ]
null
null
null
""" Profile ../profile-datasets-py/div83/077.py file automaticaly created by prof_gen.py script """ self["ID"] = "../profile-datasets-py/div83/077.py" self["Q"] = numpy.array([ 3.01408100e+00, 3.40341800e+00, 3.94918400e+00, 4.08209300e+00, 4.65722800e+00, 5.59385900e+00, 5.9688...
57.512931
92
0.566739
f8b003880b2b0c817a1e02d7db8475b7ea56eada
2,624
py
Python
xos/synchronizers/monitoring_channel/templates/sflow_pub_sub/sflow_sub_records.py
xmaruto/mcord
3678a3d10c3703c2b73f396c293faebf0c82a4f4
[ "Apache-2.0" ]
null
null
null
xos/synchronizers/monitoring_channel/templates/sflow_pub_sub/sflow_sub_records.py
xmaruto/mcord
3678a3d10c3703c2b73f396c293faebf0c82a4f4
[ "Apache-2.0" ]
null
null
null
xos/synchronizers/monitoring_channel/templates/sflow_pub_sub/sflow_sub_records.py
xmaruto/mcord
3678a3d10c3703c2b73f396c293faebf0c82a4f4
[ "Apache-2.0" ]
null
null
null
#!/usr/bin/python import fnmatch import logging sflow_sub_database=[]
41
91
0.62843
f8b2fa45ad6aa0b508fe2d6b2b81fce66e566e4c
3,148
py
Python
scripts/gcorr/run_xfaster.py
SPIDER-CMB/xfaster
1b8e56d775f2c3a8693d1372ae461392c21da7ca
[ "MIT" ]
1
2021-03-25T14:15:44.000Z
2021-03-25T14:15:44.000Z
scripts/gcorr/run_xfaster.py
annegambrel/xfaster
03d5a2971d3cc19ae360d78995e3575f3f678d6e
[ "MIT" ]
7
2021-04-20T23:34:38.000Z
2021-08-24T00:00:53.000Z
scripts/gcorr/run_xfaster.py
SPIDER-CMB/xfaster
1b8e56d775f2c3a8693d1372ae461392c21da7ca
[ "MIT" ]
1
2021-05-18T16:43:54.000Z
2021-05-18T16:43:54.000Z
""" A script to run XFaster for gcorr calculation. Called by iterate.py. """ import os import xfaster as xf import argparse as ap from configparser import ConfigParser # Change XFaster options here to suit your purposes opts = dict( likelihood=False, residual_fit=False, foreground_fit=False, # change o...
28.618182
88
0.661055
f8b309e5e28868df32235aef95ba627c1ca50e48
1,888
py
Python
tests/examples/c_decisions/tests_decisions.py
MSGP117/acc-cosc-1336-spring-2022-MSGP117
46fdfa5da8f8eb887d2c79fe205b8a0064d6903d
[ "MIT" ]
null
null
null
tests/examples/c_decisions/tests_decisions.py
MSGP117/acc-cosc-1336-spring-2022-MSGP117
46fdfa5da8f8eb887d2c79fe205b8a0064d6903d
[ "MIT" ]
null
null
null
tests/examples/c_decisions/tests_decisions.py
MSGP117/acc-cosc-1336-spring-2022-MSGP117
46fdfa5da8f8eb887d2c79fe205b8a0064d6903d
[ "MIT" ]
1
2022-02-12T03:50:32.000Z
2022-02-12T03:50:32.000Z
import unittest from src.examples.c_decisions.decisions import is_letter_consonant, logical_op_precedence, num_is_not_in_range_or, number_is_in_range_and, test_config from src.examples.c_decisions.decisions import get_letter_grade from src.examples.c_decisions.decisions import logical_op_precedence from src.examples.c...
46.04878
150
0.743114
f8b46b6ff72b56497017d6f934899df81b96c51a
32
py
Python
badge/__init__.py
krisgesling/swag-badge-skill
7640264880d8ae14f9c49c3ba40c6e388e58dcaf
[ "Apache-2.0" ]
1
2021-01-24T01:42:15.000Z
2021-01-24T01:42:15.000Z
badge/__init__.py
krisgesling/swag-badge-skill
7640264880d8ae14f9c49c3ba40c6e388e58dcaf
[ "Apache-2.0" ]
null
null
null
badge/__init__.py
krisgesling/swag-badge-skill
7640264880d8ae14f9c49c3ba40c6e388e58dcaf
[ "Apache-2.0" ]
null
null
null
from .client import MQTT_Client
16
31
0.84375
f8b5ae0ccaf93b252b0712f888f73a49ece568a6
23,824
py
Python
easy_server/_server_file.py
andy-maier/secureserveraccess
24f4817b2066401451840b3c7b308e1792eb3e60
[ "Apache-2.0" ]
1
2021-03-29T22:09:47.000Z
2021-03-29T22:09:47.000Z
easy_server/_server_file.py
andy-maier/secureserveraccess
24f4817b2066401451840b3c7b308e1792eb3e60
[ "Apache-2.0" ]
49
2021-03-29T20:13:28.000Z
2021-05-01T10:38:19.000Z
easy_server/_server_file.py
andy-maier/secureserveraccess
24f4817b2066401451840b3c7b308e1792eb3e60
[ "Apache-2.0" ]
null
null
null
# Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, software # distributed under the...
37.815873
80
0.580423
f8b628877707fa6132110ae047367879935e3268
444
py
Python
mezzanine_pagedown/defaults.py
eht16/mezzanine-pagedown
e6090f5713097e664e85b279a4a17febb73b00a1
[ "BSD-2-Clause" ]
94
2015-01-28T15:46:02.000Z
2020-11-02T12:56:15.000Z
mezzanine_pagedown/defaults.py
eht16/mezzanine-pagedown
e6090f5713097e664e85b279a4a17febb73b00a1
[ "BSD-2-Clause" ]
56
2015-04-05T03:18:41.000Z
2021-08-29T00:50:57.000Z
mezzanine_pagedown/defaults.py
eht16/mezzanine-pagedown
e6090f5713097e664e85b279a4a17febb73b00a1
[ "BSD-2-Clause" ]
38
2015-08-26T08:10:12.000Z
2021-06-11T19:36:31.000Z
from mezzanine.conf import register_setting register_setting( name="PAGEDOWN_SERVER_SIDE_PREVIEW", description="Render previews on the server using the same " "converter that generates the actual pages.", editable=False, default=False, ) register_setting( name="PAGEDOWN_MARKDOWN_E...
24.666667
73
0.725225
f8b864241fa615529ec19943c7bf44bcc5c33cfb
4,274
py
Python
solutions/2021/day5/day5.py
teije01/adventofcode
2742985f8437e9784e7ec5430e3846a755b5d386
[ "MIT" ]
null
null
null
solutions/2021/day5/day5.py
teije01/adventofcode
2742985f8437e9784e7ec5430e3846a755b5d386
[ "MIT" ]
null
null
null
solutions/2021/day5/day5.py
teije01/adventofcode
2742985f8437e9784e7ec5430e3846a755b5d386
[ "MIT" ]
null
null
null
""" --- Day 5: Hydrothermal Venture --- You come across a field of hydrothermal vents on the ocean floor! These vents constantly produce large, opaque clouds, so it would be best to avoid them if possible. They tend to form in lines; the submarine helpfully produces a list of nearby lines of vents (your puzzle input)...
31.426471
111
0.653486
f8b88aa220e765ebad5849f646d7fa3f22e031df
1,316
py
Python
sort_array_by_parity_ii_alt.py
tusharsadhwani/leetcode
a17a8a7587c5654f05fcd13ae7cdf47263ab2ea8
[ "MIT" ]
6
2021-05-21T01:10:42.000Z
2021-12-16T16:12:30.000Z
sort_array_by_parity_ii_alt.py
tusharsadhwani/leetcode
a17a8a7587c5654f05fcd13ae7cdf47263ab2ea8
[ "MIT" ]
null
null
null
sort_array_by_parity_ii_alt.py
tusharsadhwani/leetcode
a17a8a7587c5654f05fcd13ae7cdf47263ab2ea8
[ "MIT" ]
null
null
null
from typing import Callable tests = [ ( ([4, 2, 5, 7],), [4, 5, 2, 7], ), ( ([2, 3],), [2, 3], ), ( ([2, 3, 1, 1, 4, 0, 0, 4, 3, 3],), [2, 3, 4, 1, 4, 3, 0, 1, 0, 3], ), ]
24.830189
77
0.50152
f8ba3fd25de458d4df99e4ca579804ce22c8dbdc
112
py
Python
database.py
anthonypang99/TakeNote
7da668d48b72ee825f3fb9f503f8d4d6fe2ff644
[ "MIT" ]
null
null
null
database.py
anthonypang99/TakeNote
7da668d48b72ee825f3fb9f503f8d4d6fe2ff644
[ "MIT" ]
null
null
null
database.py
anthonypang99/TakeNote
7da668d48b72ee825f3fb9f503f8d4d6fe2ff644
[ "MIT" ]
null
null
null
from flask_sqlalchemy import SQLAlchemy # Initialize the Flask-SQLAlchemy extension instance db = SQLAlchemy()
22.4
52
0.830357
f8ba6e975ac143461562e6b418e4b0a0aee2b105
4,285
py
Python
alfred/Alfred.alfredpreferences/workflows/user.workflow.99DE3F5C-7CB4-4E0B-9195-7782AADC167B/converter/constants.py
karamfil/saphe
f1c56dcf11613808e07f462d50f20881aef7fbdc
[ "MIT" ]
2
2019-09-17T10:20:20.000Z
2020-02-10T11:46:33.000Z
alfred/Alfred.alfredpreferences/workflows/user.workflow.99DE3F5C-7CB4-4E0B-9195-7782AADC167B/converter/constants.py
karamfil/saphe
f1c56dcf11613808e07f462d50f20881aef7fbdc
[ "MIT" ]
null
null
null
alfred/Alfred.alfredpreferences/workflows/user.workflow.99DE3F5C-7CB4-4E0B-9195-7782AADC167B/converter/constants.py
karamfil/saphe
f1c56dcf11613808e07f462d50f20881aef7fbdc
[ "MIT" ]
null
null
null
import re UNITS_XML_FILE = 'poscUnits22.xml' UNITS_PICKLE_FILE = 'units.pickle' OUTPUT_DECIMALS = 6 SOURCE_PATTERN = r'^(?P<quantity>.*[\d.]+)\s*(?P<from>[^\d\s]([^\s]*|.+?))' SOURCE_RE = re.compile(SOURCE_PATTERN + '$', re.IGNORECASE | re.VERBOSE) FULL_PATTERN = r'(\s+as|\s+to|\s+in|\s*>|\s*=)\s(?P<to>[^\d\s][^\s...
22.792553
76
0.54189
f8bab3dc683ade4a29b7e25ca1a99e68f49ac849
462
py
Python
30/00/1.py
pylangstudy/201707
c1cc72667f1e0b6e8eef4ee85067d7fa4ca500b6
[ "CC0-1.0" ]
null
null
null
30/00/1.py
pylangstudy/201707
c1cc72667f1e0b6e8eef4ee85067d7fa4ca500b6
[ "CC0-1.0" ]
46
2017-06-30T22:19:07.000Z
2017-07-31T22:51:31.000Z
30/00/1.py
pylangstudy/201707
c1cc72667f1e0b6e8eef4ee85067d7fa4ca500b6
[ "CC0-1.0" ]
null
null
null
print('----- or -----') RetT() or RetF() RetF() or RetT() # print('----- and -----') RetT() and RetF() # RetF() and RetT() # print('----- not -----') print(not True and True) print(False or not True) print(not True == True) #print(True == not True) #SyntaxError: invalid syntax print(True == (not True))
25.666667
53
0.645022
f8bc9f66b7afd106a2727f0668012f3210c6ab27
1,548
py
Python
tests/test_click.py
maxmouchet/mtoolbox
977f3af1e3fe6e6403a26fcca3a30a1285eb28c2
[ "MIT" ]
null
null
null
tests/test_click.py
maxmouchet/mtoolbox
977f3af1e3fe6e6403a26fcca3a30a1285eb28c2
[ "MIT" ]
2
2020-07-19T21:03:34.000Z
2020-09-11T14:56:34.000Z
tests/test_click.py
maxmouchet/mtoolbox
977f3af1e3fe6e6403a26fcca3a30a1285eb28c2
[ "MIT" ]
null
null
null
from enum import Enum from pathlib import Path import click from mbox.click import EnumChoice, ParsedDate, PathParam
24.1875
72
0.623385
f8bdfba3ce0bde25189979ebc289968a2512c766
1,400
py
Python
util/plot_pbt.py
Linus4world/3D-MRI-style-transfer
6747f0b235b8a6e773a941c222d594d9eedc6a35
[ "BSD-3-Clause" ]
1
2022-01-03T16:08:35.000Z
2022-01-03T16:08:35.000Z
util/plot_PBT.py
Linus4world/mrs-gan
64669251584a7421cce3a5173983a2275dcb438a
[ "BSD-2-Clause" ]
null
null
null
util/plot_PBT.py
Linus4world/mrs-gan
64669251584a7421cce3a5173983a2275dcb438a
[ "BSD-2-Clause" ]
1
2022-02-11T13:26:38.000Z
2022-02-11T13:26:38.000Z
import math import matplotlib.pyplot as plt import json import os import warnings warnings.filterwarnings("ignore") if __name__ == "__main__": plotPBT('/home/kreitnerl/mrs-gan/ray_results/test_feat/')
31.111111
96
0.594286
f8bec2e6574c370927ccaaf8971ce34b58a52c44
497
py
Python
Cap_9/ex9.23/ex9.23.py
gguilherme42/Livro-de-Python
465a509d50476fd1a87239c71ed741639d58418b
[ "MIT" ]
4
2020-04-07T00:38:46.000Z
2022-03-10T03:34:42.000Z
Cap_9/ex9.23/ex9.23.py
gguilherme42/Livro-de-Python
465a509d50476fd1a87239c71ed741639d58418b
[ "MIT" ]
null
null
null
Cap_9/ex9.23/ex9.23.py
gguilherme42/Livro-de-Python
465a509d50476fd1a87239c71ed741639d58418b
[ "MIT" ]
1
2021-04-22T02:45:38.000Z
2021-04-22T02:45:38.000Z
import agenda23 agenda23.le('Agenda.txt') while True: opcao = agenda23.menu() if opcao == 0: break elif opcao == 1: agenda23.novo() elif opcao == 2: agenda23.altera() elif opcao == 3: agenda23.apaga() elif opcao == 4: agenda23.lista() elif opcao == 5:...
20.708333
50
0.539235
f8c2cf6aa69e132e2490580fb1e86b3b369033e8
192
py
Python
src/qualtrutils/__init__.py
emanuele-albini/qualtrutils
7f1fb08221edb220738445bf3e8a92a1a037bb76
[ "MIT" ]
null
null
null
src/qualtrutils/__init__.py
emanuele-albini/qualtrutils
7f1fb08221edb220738445bf3e8a92a1a037bb76
[ "MIT" ]
null
null
null
src/qualtrutils/__init__.py
emanuele-albini/qualtrutils
7f1fb08221edb220738445bf3e8a92a1a037bb76
[ "MIT" ]
null
null
null
try: import os import pkg_resources # part of setuptools __version__ = pkg_resources.get_distribution(os.path.dirname(__file__)).version except: pass from .qualtrics import *
24
83
0.744792
f8c3a6ea72bf6a5606bd1c07a86991ac84f55edc
97
py
Python
image_web/image_app/apps.py
datasciencee/Image_web
28d0d8a3006e64da05bb6ede03b037daaa2897b2
[ "MIT" ]
null
null
null
image_web/image_app/apps.py
datasciencee/Image_web
28d0d8a3006e64da05bb6ede03b037daaa2897b2
[ "MIT" ]
null
null
null
image_web/image_app/apps.py
datasciencee/Image_web
28d0d8a3006e64da05bb6ede03b037daaa2897b2
[ "MIT" ]
null
null
null
from django.apps import AppConfig
16.166667
34
0.721649
f8c595e3b1f5711087075fef4510b16d73d51d2b
9,650
py
Python
pyramboia/tasks/views.py
bicofino/Pyramboia
1c291b8fdc71f057a99e7ffbfaa8ba4e713346fd
[ "MIT" ]
1
2016-03-09T13:40:06.000Z
2016-03-09T13:40:06.000Z
pyramboia/tasks/views.py
bicofino/Pyramboia
1c291b8fdc71f057a99e7ffbfaa8ba4e713346fd
[ "MIT" ]
null
null
null
pyramboia/tasks/views.py
bicofino/Pyramboia
1c291b8fdc71f057a99e7ffbfaa8ba4e713346fd
[ "MIT" ]
1
2018-03-24T18:03:09.000Z
2018-03-24T18:03:09.000Z
import time import requests import xml.dom.minidom from lxml import etree from django.shortcuts import render from django.http import HttpResponse from django.contrib import messages from django.core.urlresolvers import reverse_lazy from django.views.generic import ListView, DetailView from django.views.generic.edit im...
31.129032
108
0.684249
f8c5dfc6d0cdbf14f1da548855e712503b3de0e5
230
py
Python
frameworks/MLNet/__init__.py
Ennosigaeon/automlbenchmark
bd3e529d641b64300a075d59408203d537311b7e
[ "MIT" ]
282
2018-09-19T09:45:46.000Z
2022-03-30T04:05:51.000Z
frameworks/MLNet/__init__.py
Ennosigaeon/automlbenchmark
bd3e529d641b64300a075d59408203d537311b7e
[ "MIT" ]
267
2018-11-02T11:43:11.000Z
2022-03-31T08:58:16.000Z
frameworks/MLNet/__init__.py
Ennosigaeon/automlbenchmark
bd3e529d641b64300a075d59408203d537311b7e
[ "MIT" ]
104
2018-10-17T19:32:36.000Z
2022-03-19T22:47:59.000Z
from amlb.utils import call_script_in_same_dir
20.909091
66
0.721739
f8c6b59947b8e1e01fbc267420d89e101ab3f722
932
py
Python
util_test.py
svennickel/itunes-app-scraper
14b857bd40a237825cb6bd93be388e6bcd083c01
[ "MIT" ]
10
2020-08-12T06:47:04.000Z
2021-12-04T03:06:19.000Z
util_test.py
svennickel/itunes-app-scraper
14b857bd40a237825cb6bd93be388e6bcd083c01
[ "MIT" ]
5
2020-11-19T07:53:19.000Z
2022-03-16T15:06:37.000Z
util_test.py
iaine/itunes-app-scraper
de60c8c0b369e78d4c87a0cb11284b2ef576c090
[ "MIT" ]
11
2020-08-12T06:47:31.000Z
2022-03-19T23:36:18.000Z
from itunes_app_scraper.util import AppStoreException, AppStoreCollections, AppStoreCategories, AppStoreUtils import json import pytest import os
33.285714
109
0.769313
f8c6f95465da9e6fd5b7017053c85eda97db68b6
802
py
Python
natasha/span.py
baltachev/natasha
b326631c510384b1ce3ac198bce8ed11818ec784
[ "MIT" ]
822
2017-09-05T08:38:42.000Z
2022-03-31T16:08:48.000Z
natasha/span.py
baltachev/natasha
b326631c510384b1ce3ac198bce8ed11818ec784
[ "MIT" ]
81
2017-09-12T12:49:00.000Z
2022-03-25T18:21:12.000Z
natasha/span.py
baltachev/natasha
b326631c510384b1ce3ac198bce8ed11818ec784
[ "MIT" ]
90
2017-09-05T08:38:49.000Z
2022-03-29T12:09:22.000Z
from .record import Record
21.105263
52
0.516209
f8c7ce0b20cdca0b81d121ae696bffeb609cd523
7,297
py
Python
bingads/v13/bulk/entities/bulk_offline_conversion.py
pawelulita/BingAds-Python-SDK
e7b5a618e87a43d0a5e2c79d9aa4626e208797bd
[ "MIT" ]
86
2016-02-29T03:24:28.000Z
2022-03-29T09:30:21.000Z
bingads/v13/bulk/entities/bulk_offline_conversion.py
pawelulita/BingAds-Python-SDK
e7b5a618e87a43d0a5e2c79d9aa4626e208797bd
[ "MIT" ]
135
2016-04-12T13:31:28.000Z
2022-03-29T02:18:51.000Z
bingads/v13/bulk/entities/bulk_offline_conversion.py
pawelulita/BingAds-Python-SDK
e7b5a618e87a43d0a5e2c79d9aa4626e208797bd
[ "MIT" ]
154
2016-04-08T04:11:27.000Z
2022-03-29T21:21:07.000Z
from __future__ import print_function from bingads.service_client import _CAMPAIGN_OBJECT_FACTORY_V13 from bingads.v13.internal.bulk.string_table import _StringTable from bingads.v13.internal.bulk.entities.single_record_bulk_entity import _SingleRecordBulkEntity from bingads.v13.internal.bulk.mappings import _SimpleBul...
34.582938
139
0.628752
f8c98cbdffeb6bc1eca9320791dd78a1cefdb9cd
4,320
py
Python
Part-03-Understanding-Software-Crafting-Your-Own-Tools/models/edx-platform/lms/djangoapps/lti_provider/tests/test_tasks.py
osoco/better-ways-of-thinking-about-software
83e70d23c873509e22362a09a10d3510e10f6992
[ "MIT" ]
3
2021-12-15T04:58:18.000Z
2022-02-06T12:15:37.000Z
Part-03-Understanding-Software-Crafting-Your-Own-Tools/models/edx-platform/lms/djangoapps/lti_provider/tests/test_tasks.py
osoco/better-ways-of-thinking-about-software
83e70d23c873509e22362a09a10d3510e10f6992
[ "MIT" ]
null
null
null
Part-03-Understanding-Software-Crafting-Your-Own-Tools/models/edx-platform/lms/djangoapps/lti_provider/tests/test_tasks.py
osoco/better-ways-of-thinking-about-software
83e70d23c873509e22362a09a10d3510e10f6992
[ "MIT" ]
1
2019-01-02T14:38:50.000Z
2019-01-02T14:38:50.000Z
""" Tests for the LTI outcome service handlers, both in outcomes.py and in tasks.py """ from unittest.mock import MagicMock, patch import ddt from django.test import TestCase from opaque_keys.edx.locator import BlockUsageLocator, CourseLocator import lms.djangoapps.lti_provider.tasks as tasks from common.djangoapps...
31.532847
92
0.634491
f8c9d560d993e370d3b1363238c43807ccc5dfd5
1,954
py
Python
agents/dumbagent.py
dbelliss/Starcraft2AI
a3044f0eb3c1bb18084fa59265a430ddcdfab80b
[ "MIT" ]
2
2018-04-17T00:37:40.000Z
2018-04-30T03:04:20.000Z
agents/dumbagent.py
dbelliss/Starcraft2AI
a3044f0eb3c1bb18084fa59265a430ddcdfab80b
[ "MIT" ]
null
null
null
agents/dumbagent.py
dbelliss/Starcraft2AI
a3044f0eb3c1bb18084fa59265a430ddcdfab80b
[ "MIT" ]
null
null
null
from loser_agent import * if __name__ == '__main__': main()
41.574468
129
0.666837
f8caa3e778c29557bd6611746d149fdf5e4f18a9
113
py
Python
juno/server/http/handler/api.py
DSciLab/juno
1d572c8d3fd06a6c1fcc51b42a6539dd3ae0927e
[ "MIT" ]
null
null
null
juno/server/http/handler/api.py
DSciLab/juno
1d572c8d3fd06a6c1fcc51b42a6539dd3ae0927e
[ "MIT" ]
null
null
null
juno/server/http/handler/api.py
DSciLab/juno
1d572c8d3fd06a6c1fcc51b42a6539dd3ae0927e
[ "MIT" ]
null
null
null
from .base.api_handler import APIBaseHandler
16.142857
44
0.725664
f8cc12080c230a16858bbc18a05bcd5b93430fe7
317
py
Python
Python/mathematics/find_missing_number.py
RCubedClub/cp_algo
ec254055ef745224b0a1c766ef16709a3eea7087
[ "MIT" ]
null
null
null
Python/mathematics/find_missing_number.py
RCubedClub/cp_algo
ec254055ef745224b0a1c766ef16709a3eea7087
[ "MIT" ]
null
null
null
Python/mathematics/find_missing_number.py
RCubedClub/cp_algo
ec254055ef745224b0a1c766ef16709a3eea7087
[ "MIT" ]
null
null
null
import random if __name__ == '__main__': main()
14.409091
43
0.577287
f8cda283a32c2452d1728b137c6f236a6921d3ec
1,099
py
Python
091. Decode Ways.py
joshlyman/Josh-LeetCode
cc9e2cc406d2cbd5a90ee579efbcaeffb842c5ed
[ "MIT" ]
null
null
null
091. Decode Ways.py
joshlyman/Josh-LeetCode
cc9e2cc406d2cbd5a90ee579efbcaeffb842c5ed
[ "MIT" ]
null
null
null
091. Decode Ways.py
joshlyman/Josh-LeetCode
cc9e2cc406d2cbd5a90ee579efbcaeffb842c5ed
[ "MIT" ]
null
null
null
# Problem Reduction: variation of n-th staircase with n = [1, 2] steps. # Approach: We generate a bottom up DP table. # The tricky part is handling the corner cases (e.g. s = "30"). # Most elegant way to deal with those error/corner cases, is to allocate an extra space, dp[0]. # Let dp[ i ] = the number of ways to ...
28.921053
95
0.497725
f8cddb9ef6bd722c93b8a3657d1eaf9e8803d45f
4,525
py
Python
Scripts/Cutter.py
rhong3/CPTAC-UCEC
ec83fbee234b5ad3df6524cdd960b5f0f3da9ea9
[ "MIT" ]
4
2019-01-04T21:11:03.000Z
2020-12-11T16:56:15.000Z
Scripts/Cutter.py
rhong3/CPTAC-UCEC
ec83fbee234b5ad3df6524cdd960b5f0f3da9ea9
[ "MIT" ]
null
null
null
Scripts/Cutter.py
rhong3/CPTAC-UCEC
ec83fbee234b5ad3df6524cdd960b5f0f3da9ea9
[ "MIT" ]
null
null
null
""" Tile svs/scn files Created on 11/01/2018 @author: RH """ import time import matplotlib import os import shutil import pandas as pd matplotlib.use('Agg') import Slicer import staintools import re # Get all images in the root directory # cut; each level is 2 times difference (20x, 10x, 5x) # Run as main if _...
29.769737
106
0.478232
f8cde62d3add298d347b197159cd3ef0fad71443
2,850
py
Python
brake.py
tensorpro/AutonomousBraking
9861e5c0423d8ca1a2f3f640003b3581a3074459
[ "MIT" ]
8
2017-05-04T22:04:48.000Z
2020-03-27T13:06:39.000Z
brake.py
tensorpro/AutonomousBraking
9861e5c0423d8ca1a2f3f640003b3581a3074459
[ "MIT" ]
null
null
null
brake.py
tensorpro/AutonomousBraking
9861e5c0423d8ca1a2f3f640003b3581a3074459
[ "MIT" ]
2
2019-07-22T02:19:57.000Z
2020-09-29T21:00:00.000Z
from __future__ import division import numpy as np import matplotlib.pyplot as plt m = 4 b = -.2 bl = -.1 br = -.1 sh = .13 from visualizations import show_bboxes
26.635514
75
0.561404
f8d06ccac9f1d3cb709d0653c37332224ffae6f4
20,941
py
Python
pysnmp/DPS-MIB-V38.py
agustinhenze/mibs.snmplabs.com
1fc5c07860542b89212f4c8ab807057d9a9206c7
[ "Apache-2.0" ]
11
2021-02-02T16:27:16.000Z
2021-08-31T06:22:49.000Z
pysnmp/DPS-MIB-V38.py
agustinhenze/mibs.snmplabs.com
1fc5c07860542b89212f4c8ab807057d9a9206c7
[ "Apache-2.0" ]
75
2021-02-24T17:30:31.000Z
2021-12-08T00:01:18.000Z
pysnmp/DPS-MIB-V38.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 DPS-MIB-V38 (http://snmplabs.com/pysmi) # ASN.1 source file:///Users/davwang4/Dev/mibs.snmplabs.com/asn1/DPS-MIB-V38 # Produced by pysmi-0.3.4 at Mon Apr 29 18:39:21 2019 # On host DAVWANG4-M-1475 platform Darwin version 18.5.0 by user davwang4 # Using Python version 3.7.3 (default, Mar 27 2019, 0...
146.440559
2,200
0.719641
f8d0c7ea7f201118a072a6fce98f54b42edb4e97
524
py
Python
Lab5/load_graph.py
YuryMalyshev/CAD-with-Python
ecbb82b8efb436e7089b0895dc898cf956351046
[ "MIT" ]
null
null
null
Lab5/load_graph.py
YuryMalyshev/CAD-with-Python
ecbb82b8efb436e7089b0895dc898cf956351046
[ "MIT" ]
null
null
null
Lab5/load_graph.py
YuryMalyshev/CAD-with-Python
ecbb82b8efb436e7089b0895dc898cf956351046
[ "MIT" ]
null
null
null
import numpy as np
32.75
101
0.532443
f8d0d6ecca8d12cee0a53f9628644c363e8839b3
1,055
py
Python
python/smqtk/utils/simple_timer.py
jbeezley/SMQTK
e6b00f94be95f39bbca52a7983ac3d6d1f86f847
[ "BSD-3-Clause" ]
82
2015-01-07T15:33:29.000Z
2021-08-11T18:34:05.000Z
python/smqtk/utils/simple_timer.py
jbeezley/SMQTK
e6b00f94be95f39bbca52a7983ac3d6d1f86f847
[ "BSD-3-Clause" ]
230
2015-04-08T14:36:51.000Z
2022-03-14T17:55:30.000Z
python/smqtk/utils/simple_timer.py
DigitalCompanion/SMQTK
fc9404b69150ef44f24423844bc80735c0c2b669
[ "BSD-3-Clause" ]
65
2015-01-04T15:00:16.000Z
2021-11-19T18:09:11.000Z
import time from smqtk.utils import SmqtkObject
27.051282
74
0.525118
f8d1533d26da78b1c9ff1203760b4a5ae33a69c7
206
py
Python
1546.py
ShawonBarman/URI-Online-judge-Ad-Hoc-level-problem-solution-in-python
9a0f0ad5efd4a9e73589c357ab4b34b7c73a11da
[ "MIT" ]
1
2022-01-14T08:45:32.000Z
2022-01-14T08:45:32.000Z
1546.py
ShawonBarman/URI-Online-judge-Ad-Hoc-level-problem-solution-in-python
9a0f0ad5efd4a9e73589c357ab4b34b7c73a11da
[ "MIT" ]
null
null
null
1546.py
ShawonBarman/URI-Online-judge-Ad-Hoc-level-problem-solution-in-python
9a0f0ad5efd4a9e73589c357ab4b34b7c73a11da
[ "MIT" ]
null
null
null
arr = ['', 'Rolien', 'Naej', 'Elehcim', 'Odranoel'] n = int(input()) while n != 0: n -= 1 k = int(input()) while k != 0: k -= 1 num = int(input()) print(arr[num])
22.888889
52
0.417476
f8d1e3f53857745560685cc9254effe945b354f9
3,314
py
Python
portl.py
blackc8/portl
8be36d67db2041071d5169204902ec9fff6aabe9
[ "MIT" ]
null
null
null
portl.py
blackc8/portl
8be36d67db2041071d5169204902ec9fff6aabe9
[ "MIT" ]
1
2020-10-31T15:32:31.000Z
2020-10-31T15:33:11.000Z
portl.py
blackc8/portl
8be36d67db2041071d5169204902ec9fff6aabe9
[ "MIT" ]
null
null
null
import socket, time, sys import argparse __version__="0.1" min_port=0 #max_port=65535 max_port=10000 parser = argparse.ArgumentParser(description="a simple python port scanner",epilog="author: blackc8") parser.add_argument("hostname",metavar="<hostname>",help="host to scan") parser.add_argument("-dp","--ddport",help=...
30.971963
114
0.624925
f8d25c456ce1d78680f761522a288c787f746b68
4,730
py
Python
Python/MachineLearning_Ng/examples/ex2.py
Ritetsu/lizhe_Notes
4c465b5e23c1e520f9508314cfda7f26517d6dd3
[ "MIT" ]
null
null
null
Python/MachineLearning_Ng/examples/ex2.py
Ritetsu/lizhe_Notes
4c465b5e23c1e520f9508314cfda7f26517d6dd3
[ "MIT" ]
null
null
null
Python/MachineLearning_Ng/examples/ex2.py
Ritetsu/lizhe_Notes
4c465b5e23c1e520f9508314cfda7f26517d6dd3
[ "MIT" ]
1
2021-07-07T12:01:42.000Z
2021-07-07T12:01:42.000Z
# -*- coding: utf-8 -*- """ Created on Mon Sep 16 20:15:55 2019 @author: Shinelon """ import numpy as np import pandas as pd import matplotlib.pyplot as plt path='ex2data1.txt' data=pd.read_csv(path,header=None,names=['Exam1','Exam2','Admitted']) data.head() # positive=data[data['Admitted'].isin([1])] negative=data[d...
31.533333
84
0.679281
6ef1130a48a6b7d1320ed14916f6226e73d226a4
855
py
Python
questioning/trade/migrations/0003_auto_20190901_1710.py
PythonerKK/questioning
c30fb2d31a221398df392f4b8faab539d6921ac0
[ "MIT" ]
6
2019-12-31T05:23:27.000Z
2021-03-12T19:23:34.000Z
questioning/trade/migrations/0003_auto_20190901_1710.py
PythonerKK/questioning
c30fb2d31a221398df392f4b8faab539d6921ac0
[ "MIT" ]
4
2020-05-12T13:39:40.000Z
2021-02-08T20:35:18.000Z
questioning/trade/migrations/0003_auto_20190901_1710.py
PythonerKK/questioning
c30fb2d31a221398df392f4b8faab539d6921ac0
[ "MIT" ]
1
2019-09-02T07:15:16.000Z
2019-09-02T07:15:16.000Z
# Generated by Django 2.1.9 on 2019-09-01 09:10 from django.conf import settings from django.db import migrations, models import django.db.models.deletion
29.482759
129
0.661988
6ef13886b158bd50cda282a2108b24f47033b23c
3,557
py
Python
Ch5/rbf.py
jason-168/MLCode
429c17e004fb41ba16c371416c8f73833ab8fc1d
[ "Xnet", "X11" ]
146
2016-05-24T02:55:53.000Z
2022-03-23T14:54:42.000Z
Ch5/rbf.py
coky/MarslandMLAlgo
4277b24db88c4cb70d6b249921c5d21bc8f86eb4
[ "Xnet", "X11" ]
1
2017-08-17T23:07:39.000Z
2017-08-18T08:27:19.000Z
Ch5/rbf.py
coky/MarslandMLAlgo
4277b24db88c4cb70d6b249921c5d21bc8f86eb4
[ "Xnet", "X11" ]
94
2016-05-06T12:34:33.000Z
2022-03-30T03:31:04.000Z
# Code from Chapter 5 of Machine Learning: An Algorithmic Perspective (2nd Edition) # by Stephen Marsland (http://stephenmonika.net) # You are free to use, change, or redistribute the code in any way you wish for # non-commercial purposes, but please maintain the name of the original author. # This code comes with no...
34.872549
127
0.576047
6ef1936814cf84ad0a8d2c89da28ee0ee1c74c44
929
py
Python
_correlation_grad.py
jgorgenucsd/corr_tf
ad777821283f7d18d8bdd04d584e12df9a3fba69
[ "BSD-2-Clause" ]
22
2017-12-27T07:37:14.000Z
2021-11-15T05:51:44.000Z
_correlation_grad.py
jgorgenucsd/corr_tf
ad777821283f7d18d8bdd04d584e12df9a3fba69
[ "BSD-2-Clause" ]
4
2018-04-03T17:08:43.000Z
2019-08-07T08:55:24.000Z
_correlation_grad.py
jgorgenucsd/corr_tf
ad777821283f7d18d8bdd04d584e12df9a3fba69
[ "BSD-2-Clause" ]
12
2018-02-06T02:35:12.000Z
2022-03-02T07:18:19.000Z
#!/usr/bin/env python3 """ Gradients for inner product. """ import tensorflow as tf from tensorflow.python.framework import ops from tensorflow.python.ops import array_ops from tensorflow.python.ops import sparse_ops correlation_grad_module = tf.load_op_library('./build/libcorrelation_grad.so')
38.708333
163
0.750269
6ef32ce891baec71eb1386e2c2b81b8e89a8b9a4
123
py
Python
src/hcrystalball/metrics/__init__.py
betatim/hcrystalball
693b9b406f05afa23cfc4647c43260166a7076fe
[ "MIT" ]
1
2021-04-12T17:08:17.000Z
2021-04-12T17:08:17.000Z
src/hcrystalball/metrics/__init__.py
betatim/hcrystalball
693b9b406f05afa23cfc4647c43260166a7076fe
[ "MIT" ]
null
null
null
src/hcrystalball/metrics/__init__.py
betatim/hcrystalball
693b9b406f05afa23cfc4647c43260166a7076fe
[ "MIT" ]
1
2022-01-03T16:02:35.000Z
2022-01-03T16:02:35.000Z
from ._scorer import make_ts_scorer from ._scorer import get_scorer __all__ = [ "get_scorer", "make_ts_scorer", ]
15.375
35
0.723577
6ef9b4082cb1779ade1e3f88552ad789562c6383
2,776
py
Python
tests/selenium/auth/test_user.py
bodik/sner4-web
cb054d79c587b2f8468c73a88754b7c0d5cd5a95
[ "MIT" ]
9
2019-05-15T11:33:43.000Z
2022-02-17T04:05:28.000Z
tests/selenium/auth/test_user.py
bodik/sner4
cb054d79c587b2f8468c73a88754b7c0d5cd5a95
[ "MIT" ]
1
2019-03-01T11:48:13.000Z
2019-03-01T11:48:13.000Z
tests/selenium/auth/test_user.py
bodik/sner4-web
cb054d79c587b2f8468c73a88754b7c0d5cd5a95
[ "MIT" ]
3
2020-03-03T21:06:37.000Z
2021-01-11T14:40:56.000Z
# This file is part of sner4 project governed by MIT license, see the LICENSE.txt file. """ auth.views.user selenium tests """ from flask import url_for from selenium.webdriver.common.by import By from selenium.webdriver.support import expected_conditions as EC from sner.server.auth.models import User from sner.serve...
46.266667
139
0.747839
6efaa56371bdc91af714b2ef343d987547b208e3
936
py
Python
isobmff/media_file.py
kentoku24/isobmff
6877505a75915caf440bbb80b6024ba6bf9f3baa
[ "MIT" ]
6
2017-08-31T01:55:37.000Z
2018-12-26T03:03:24.000Z
isobmff/media_file.py
kentoku24/isobmff
6877505a75915caf440bbb80b6024ba6bf9f3baa
[ "MIT" ]
4
2017-08-29T03:47:16.000Z
2017-09-05T09:00:17.000Z
isobmff/media_file.py
m-hiki/isbmff
0724b9892884ae35bdd0796a97a9506098c4cd25
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- from .box import indent from .box import read_box
26.742857
53
0.459402
6efc120e05e2c5cbca1587bd26026c11c811582c
2,257
py
Python
python homework 2.py
pkpatricia/python34
5ee4f864444b8835f8ee6cf416bc9fd1d969595b
[ "bzip2-1.0.6" ]
null
null
null
python homework 2.py
pkpatricia/python34
5ee4f864444b8835f8ee6cf416bc9fd1d969595b
[ "bzip2-1.0.6" ]
null
null
null
python homework 2.py
pkpatricia/python34
5ee4f864444b8835f8ee6cf416bc9fd1d969595b
[ "bzip2-1.0.6" ]
null
null
null
Python 3.4.1 (v3.4.1:c0e311e010fc, May 18 2014, 10:38:22) [MSC v.1600 32 bit (Intel)] on win32 Type "copyright", "credits" or "license()" for more information. >>> ================================ RESTART ================================ >>> >>> ================================ RESTART ================================...
27.52439
94
0.438635
6efc25feb8365613f08bcea149b9338afcb635e2
3,690
py
Python
mlw/build_database.py
imjoseangel/hacktheplanet2021
bffc4f9a4f821fcfe2215244f5b563effe6982e5
[ "MIT" ]
1
2021-02-24T12:05:06.000Z
2021-02-24T12:05:06.000Z
mlw/build_database.py
imjoseangel/hacktheplanet2021
bffc4f9a4f821fcfe2215244f5b563effe6982e5
[ "MIT" ]
null
null
null
mlw/build_database.py
imjoseangel/hacktheplanet2021
bffc4f9a4f821fcfe2215244f5b563effe6982e5
[ "MIT" ]
null
null
null
#!/usr/bin/env python # -*- coding: utf-8 -*- from __future__ import (division, absolute_import, print_function, unicode_literals) from glob import glob import logging import os from os.path import abspath, dirname, normpath import re from shutil import rmtree import sqlite3 import sys import ...
31.810345
140
0.644986
6efcad9f388b05b3d7f79c0c4ad5c784bb1826e5
3,486
py
Python
domotica/configuration.py
jjmartinr01/gauss3
1c71c44430e0f15fb2f3f83d32ad66bb1b7e3e94
[ "MIT" ]
null
null
null
domotica/configuration.py
jjmartinr01/gauss3
1c71c44430e0f15fb2f3f83d32ad66bb1b7e3e94
[ "MIT" ]
null
null
null
domotica/configuration.py
jjmartinr01/gauss3
1c71c44430e0f15fb2f3f83d32ad66bb1b7e3e94
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- from __future__ import unicode_literals TIPO = 'selectable' # 'basic' or 'selectable'. 'basic': necesario para el funcionamiento del programa # 'selectable': No necesario. Aade nuevas funcionalidades al programa # Por ejemplo autenticar es 'basic', pero actas es pres...
41.011765
103
0.592943
6efceaaf9fe7bf6e6a3d8409b3f03d38e6342a11
5,944
py
Python
eval.py
itisianlee/hawk-facedet
55774ac5619f9a4c76a3a872ff11940a874b32d1
[ "Apache-2.0" ]
null
null
null
eval.py
itisianlee/hawk-facedet
55774ac5619f9a4c76a3a872ff11940a874b32d1
[ "Apache-2.0" ]
null
null
null
eval.py
itisianlee/hawk-facedet
55774ac5619f9a4c76a3a872ff11940a874b32d1
[ "Apache-2.0" ]
null
null
null
import os import cv2 import fire import time import numpy as np import torch import torch.backends.cudnn as cudnn import torch.nn.functional as F from configs.common import config as cfg from hawkdet.models.build import build_detor from hawkdet.lib.numpy_nms import np_nms from hawkdet.lib.box_utils import decode, dec...
33.206704
105
0.57924
6efe244e5a0524f99c737e6f3d3da045c5866cd7
101
py
Python
hello.py
zhuiyue568/test27
f96438c29711b62000eb363ff32c059529a0e142
[ "MIT" ]
null
null
null
hello.py
zhuiyue568/test27
f96438c29711b62000eb363ff32c059529a0e142
[ "MIT" ]
null
null
null
hello.py
zhuiyue568/test27
f96438c29711b62000eb363ff32c059529a0e142
[ "MIT" ]
null
null
null
name="zhuiyue" num="123456" num=111 num3=333 str="keep going" num4=666 num5=888 num5=777 num6=999
7.769231
16
0.722772
3e00ea020dca2ee0cd420f43a2015391aba2eabc
2,491
py
Python
src/keydra/providers/contentful.py
jangroth/keydra
9bab1b21e025ceb6ae074ea936d693e36efae5a4
[ "MIT" ]
12
2021-05-04T10:47:02.000Z
2022-03-10T13:25:04.000Z
src/keydra/providers/contentful.py
jangroth/keydra
9bab1b21e025ceb6ae074ea936d693e36efae5a4
[ "MIT" ]
17
2021-05-04T00:53:49.000Z
2022-01-18T10:01:49.000Z
src/keydra/providers/contentful.py
jangroth/keydra
9bab1b21e025ceb6ae074ea936d693e36efae5a4
[ "MIT" ]
9
2021-05-04T00:46:38.000Z
2022-02-16T02:55:50.000Z
from keydra.clients.contentful import ContentfulClient from keydra.providers.base import BaseProvider from keydra.providers.base import exponential_backoff_retry from keydra.exceptions import DistributionException from keydra.exceptions import RotationException from keydra.logging import get_logger LOGGER = get_log...
28.965116
79
0.566439
3e017ed1492cc6fe4bfc5ac25bc91b6acc5c2bd6
1,266
py
Python
numbas_lti/migrations/0063_auto_20210211_1307.py
jhoobergs/numbas-lti-provider
9d673e0ec8dcb085bd783e949c3ee179e507be5c
[ "Apache-2.0" ]
6
2016-12-12T14:41:33.000Z
2021-04-18T01:04:23.000Z
numbas_lti/migrations/0063_auto_20210211_1307.py
jhoobergs/numbas-lti-provider
9d673e0ec8dcb085bd783e949c3ee179e507be5c
[ "Apache-2.0" ]
206
2016-08-24T13:53:07.000Z
2022-03-31T09:14:43.000Z
numbas_lti/migrations/0063_auto_20210211_1307.py
jhoobergs/numbas-lti-provider
9d673e0ec8dcb085bd783e949c3ee179e507be5c
[ "Apache-2.0" ]
13
2016-10-23T04:53:30.000Z
2022-02-17T09:25:00.000Z
# Generated by Django 2.2.13 on 2021-02-11 13:07 from django.db import migrations, models import django.db.models.deletion
33.315789
156
0.650869
3e035da887a72ca05d47f4e04f4fd021e19671d0
1,356
py
Python
sahyun_bot/utils_session.py
TheGoodlike13/sahyun-bot
8ebc3d4e58a0acf9bde3c9ea8339145abcc53fcb
[ "MIT" ]
1
2022-02-21T18:55:34.000Z
2022-02-21T18:55:34.000Z
sahyun_bot/utils_session.py
TheGoodlike13/sahyun-bot
8ebc3d4e58a0acf9bde3c9ea8339145abcc53fcb
[ "MIT" ]
null
null
null
sahyun_bot/utils_session.py
TheGoodlike13/sahyun-bot
8ebc3d4e58a0acf9bde3c9ea8339145abcc53fcb
[ "MIT" ]
null
null
null
from requests import Session from requests.adapters import HTTPAdapter from urllib3 import Retry from sahyun_bot.utils_logging import HttpDump DEFAULT_RETRY_COUNT = 3 RETRY_ON_METHOD = frozenset([ 'HEAD', 'GET', 'POST', 'PUT', 'DELETE', 'OPTIONS', 'TRACE' ]) RETRY_ON_STATUS = frozenset([ 403, 429, 500, 502,...
30.133333
117
0.668142
3e03fc65e12b6935503f8e6630624fed1809bd0e
5,763
py
Python
EzLibrarianApplication/DAO/BookCirculationDAO.py
coregameHD/SmartLib_Librarian
31b58a4aab648ee9110ba6a78d5fcab942267380
[ "MIT" ]
null
null
null
EzLibrarianApplication/DAO/BookCirculationDAO.py
coregameHD/SmartLib_Librarian
31b58a4aab648ee9110ba6a78d5fcab942267380
[ "MIT" ]
null
null
null
EzLibrarianApplication/DAO/BookCirculationDAO.py
coregameHD/SmartLib_Librarian
31b58a4aab648ee9110ba6a78d5fcab942267380
[ "MIT" ]
2
2018-10-01T14:08:25.000Z
2020-09-30T03:02:15.000Z
import json import requests from datetime import datetime, timedelta from BookCirculation import BookCirculation from DAO.AbstractDAO import AbstractDAO from DAO.BookDAO import BookDAO from DAO.UserDAO import UserDAO from constant import * from datetime import datetime if __name__ == "__main__": bookCirculationDAO...
39.472603
143
0.622245
3e063c3a08ca1b49f1f08adcb5b79cf09de3aefe
4,128
py
Python
flask_mm/managers/__init__.py
szkkteam/flask_mm
ea96899a41a0573e51792f1554550c6d77f22a07
[ "MIT" ]
1
2021-03-21T18:46:36.000Z
2021-03-21T18:46:36.000Z
flask_mm/managers/__init__.py
szkkteam/flask_mm
ea96899a41a0573e51792f1554550c6d77f22a07
[ "MIT" ]
null
null
null
flask_mm/managers/__init__.py
szkkteam/flask_mm
ea96899a41a0573e51792f1554550c6d77f22a07
[ "MIT" ]
null
null
null
#!/usr/bin/env python # -*- coding: utf-8 -*- # Common Python library imports import os # Pip package imports from six.moves.urllib.parse import urljoin from flask import url_for, request, abort from werkzeug import secure_filename, FileStorage, cached_property # Internal package imports from flask_mm.utils import...
35.282051
107
0.66376
3e07225d9f986640eeceeb3fecfcd08a0bbf84a5
1,627
py
Python
web/api/user/core.py
cclrobotics/ARTBot
a0bffabebbc09361bf7748741fe3d30c78af8fbd
[ "MIT" ]
5
2020-12-04T19:28:42.000Z
2021-12-07T16:14:28.000Z
web/api/user/core.py
cclrobotics/ARTBot
a0bffabebbc09361bf7748741fe3d30c78af8fbd
[ "MIT" ]
50
2019-10-08T19:47:24.000Z
2021-07-26T05:43:37.000Z
web/api/user/core.py
cclrobotics/ARTBot
a0bffabebbc09361bf7748741fe3d30c78af8fbd
[ "MIT" ]
4
2019-10-23T04:14:49.000Z
2021-08-01T01:22:37.000Z
from functools import partial from marshmallow import ValidationError from web.extensions import db from .validators import validate_user_token from .serializers import SuperUserSchema from .exceptions import InvalidUsage from .user import SuperUser def delete_superuser(id, created_at_timestamp): """ Delete ...
31.288462
95
0.761524
3e07f9fff3837dd41ad8b264e8c09d1d22e6939d
12,853
py
Python
digsby/src/util/auxencodings.py
ifwe/digsby
f5fe00244744aa131e07f09348d10563f3d8fa99
[ "Python-2.0" ]
35
2015-08-15T14:32:38.000Z
2021-12-09T16:21:26.000Z
digsby/src/util/auxencodings.py
niterain/digsby
16a62c7df1018a49eaa8151c0f8b881c7e252949
[ "Python-2.0" ]
4
2015-09-12T10:42:57.000Z
2017-02-27T04:05:51.000Z
digsby/src/util/auxencodings.py
niterain/digsby
16a62c7df1018a49eaa8151c0f8b881c7e252949
[ "Python-2.0" ]
15
2015-07-10T23:58:07.000Z
2022-01-23T22:16:33.000Z
''' Registers auxillary encodings in the codecs module. >>> 'x\x9cK\xc9L/N\xaa\x04\x00\x08\x9d\x02\x83'.decode('zip') 'digsby' ''' from peak.util.imports import lazyModule sys = lazyModule('sys') warnings = lazyModule('warnings') locale = lazyModule('locale') collections = lazyM...
29.821346
119
0.561503
3e08ccba7d47176de06f3bb412445c1550a56baf
463
py
Python
jaxfg/core/__init__.py
AvanDavad/jaxfg
6d1559126ba872b452eca6a13c2688349f1c5f7e
[ "MIT" ]
120
2020-11-28T19:43:31.000Z
2022-03-29T02:35:46.000Z
jaxfg/core/__init__.py
AvanDavad/jaxfg
6d1559126ba872b452eca6a13c2688349f1c5f7e
[ "MIT" ]
12
2021-05-24T09:02:12.000Z
2022-03-30T19:51:40.000Z
jaxfg/core/__init__.py
AvanDavad/jaxfg
6d1559126ba872b452eca6a13c2688349f1c5f7e
[ "MIT" ]
9
2021-05-06T15:31:23.000Z
2022-03-23T12:06:44.000Z
from ._factor_base import FactorBase from ._factor_stack import FactorStack from ._stacked_factor_graph import StackedFactorGraph from ._storage_metadata import StorageMetadata from ._variable_assignments import VariableAssignments from ._variables import RealVectorVariable, VariableBase __all__ = [ "FactorStack",...
27.235294
56
0.792657
3e09b3a92c71458b7e09905c1beec58ee515ed7a
106
py
Python
cython/wrap_c/test_cython_wrapper.py
tleonhardt/Python_Interface_Cpp
398eab0c6e7f5e0358edb6644c71b5fdc6b2606a
[ "MIT" ]
64
2017-03-10T09:32:22.000Z
2022-01-25T08:44:06.000Z
cython/wrap_c/test_cython_wrapper.py
tleonhardt/Python_Interface_Cpp
398eab0c6e7f5e0358edb6644c71b5fdc6b2606a
[ "MIT" ]
null
null
null
cython/wrap_c/test_cython_wrapper.py
tleonhardt/Python_Interface_Cpp
398eab0c6e7f5e0358edb6644c71b5fdc6b2606a
[ "MIT" ]
13
2017-03-13T23:28:56.000Z
2021-06-07T08:37:03.000Z
# coding=utf-8 import cyfib
15.142857
57
0.726415
3e0aba9a6fd99c2588436a872d706b50b1c4f2cd
1,612
py
Python
Server/server.py
mjbogusz/CCVR
65b11d39c1412134f8a695b30955368eb43c2518
[ "MIT" ]
null
null
null
Server/server.py
mjbogusz/CCVR
65b11d39c1412134f8a695b30955368eb43c2518
[ "MIT" ]
null
null
null
Server/server.py
mjbogusz/CCVR
65b11d39c1412134f8a695b30955368eb43c2518
[ "MIT" ]
null
null
null
#!/usr/bin/env python3 from http.server import SimpleHTTPRequestHandler, HTTPServer from urllib.parse import parse_qs import time if __name__ == "__main__": from sys import argv if len(argv) == 3: run(port = int(argv[1]), hostName = str(argv[2])) elif len(argv) == 2: run(port = int(argv[1])) else: run()
25.587302
66
0.673077
3e0adca23e72763263f72a46a3ff5aad270ff8c2
4,907
py
Python
dags/dag_update.py
alyildiz/btc_forecast
b1e70431c9f18bee0afda71b96805f6194072548
[ "MIT" ]
5
2021-09-06T08:42:02.000Z
2021-11-15T15:04:57.000Z
dags/dag_update.py
alyildiz/sncf_forecast
b1e70431c9f18bee0afda71b96805f6194072548
[ "MIT" ]
null
null
null
dags/dag_update.py
alyildiz/sncf_forecast
b1e70431c9f18bee0afda71b96805f6194072548
[ "MIT" ]
null
null
null
import os from datetime import datetime, timedelta from airflow import DAG from airflow.operators.docker_operator import DockerOperator from docker.types import Mount default_args = { "owner": "airflow", "description": "Use of the DockerOperator", "depend_on_past": False, "start_date": datetime(2021, ...
41.584746
109
0.651314
3e0b03ec64f84131a309427f748ab4fc729497d0
1,723
py
Python
sustainableCityManagement/main_project/Population_API/views_population.py
Josh-repository/Dashboard-CityManager-
6287881be9fb2c6274a755ce5d75ad355346468a
[ "RSA-MD" ]
null
null
null
sustainableCityManagement/main_project/Population_API/views_population.py
Josh-repository/Dashboard-CityManager-
6287881be9fb2c6274a755ce5d75ad355346468a
[ "RSA-MD" ]
null
null
null
sustainableCityManagement/main_project/Population_API/views_population.py
Josh-repository/Dashboard-CityManager-
6287881be9fb2c6274a755ce5d75ad355346468a
[ "RSA-MD" ]
1
2021-05-13T16:33:18.000Z
2021-05-13T16:33:18.000Z
from django.http import JsonResponse from django.http import HttpResponse from rest_framework.views import APIView from .store_population import StorePopulation import time as processTiming import uuid # API to fetch Ireland population used by frontend. The result consist of population estimate and year. # API to fet...
39.159091
103
0.62101
3e105c7bee23ddd23731ff6b0bc65a97faa40678
2,536
py
Python
examples/tutorial7.py
fangj99/gifmaze
fd0f7fbf592537a26b13359ccf87dab836d9b1b3
[ "MIT" ]
7
2018-04-28T17:25:25.000Z
2021-08-15T17:52:11.000Z
examples/tutorial7.py
fangj99/gifmaze
fd0f7fbf592537a26b13359ccf87dab836d9b1b3
[ "MIT" ]
null
null
null
examples/tutorial7.py
fangj99/gifmaze
fd0f7fbf592537a26b13359ccf87dab836d9b1b3
[ "MIT" ]
2
2019-10-30T03:40:50.000Z
2022-01-02T05:44:33.000Z
# -*- coding: utf-8 -*- """ This script shows how to embed the animation into a background image (it's also possible to embed the animation into another animation, but that's too complicated to implement in a simple program ...) """ from colorsys import hls_to_rgb import gifmaze as gm from gifmaze.algorithms import wil...
31.308642
86
0.714117