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
855325438c3097f24f5a6080d6bf038cfb57e3d6
619
py
Python
application/api/api.py
raphaelbh/timezone-api
bd273614685065a74df0c577673b43b42bae813c
[ "MIT" ]
2
2022-02-14T19:52:34.000Z
2022-02-14T19:52:39.000Z
application/api/api.py
raphaelbh/timezone-api
bd273614685065a74df0c577673b43b42bae813c
[ "MIT" ]
null
null
null
application/api/api.py
raphaelbh/timezone-api
bd273614685065a74df0c577673b43b42bae813c
[ "MIT" ]
null
null
null
from flask import Blueprint from flask import request from datetime import datetime from commons import api_utils from services import timezone_service blueprint = Blueprint("api", __name__)
28.136364
67
0.733441
855349721cbc4fbd167679c0aa6f6003d9b7e55a
290
py
Python
dmriprep/workflows/dwi/conversions/nii_to_mif/configurations.py
GalBenZvi/dmriprep
7c4c0e1b01e3d941a7fafcbb6b001605cb1f2b0b
[ "Apache-2.0" ]
null
null
null
dmriprep/workflows/dwi/conversions/nii_to_mif/configurations.py
GalBenZvi/dmriprep
7c4c0e1b01e3d941a7fafcbb6b001605cb1f2b0b
[ "Apache-2.0" ]
1
2022-03-22T13:22:18.000Z
2022-03-22T13:22:18.000Z
dmriprep/workflows/dwi/conversions/nii_to_mif/configurations.py
GalBenZvi/dmriprep
7c4c0e1b01e3d941a7fafcbb6b001605cb1f2b0b
[ "Apache-2.0" ]
null
null
null
""" Configuration file for nii_to_mif.py """ #: i/o INPUT_NODE_FIELDS = ["dwi_file", "fmap_file"] OUTPUT_NODE_FIELDS = ["dwi_file", "fmap_file"] #: Keyword arguments LOCATE_ASSOCIATED_KWARGS = dict( input_names=["in_file"], output_names=["json_file", "bvec_file", "bval_file"], )
20.714286
57
0.703448
85535f7564894f7aff285a016fb2d947fb9c1a70
3,300
py
Python
pyinspect/__init__.py
dhruvmanila/pyinspect
ce90df243e5e5ee100f13de4329c111454b8c891
[ "MIT" ]
87
2020-09-30T10:18:26.000Z
2022-03-10T08:56:04.000Z
pyinspect/__init__.py
dhruvmanila/pyinspect
ce90df243e5e5ee100f13de4329c111454b8c891
[ "MIT" ]
16
2020-09-30T10:57:17.000Z
2022-01-16T02:10:45.000Z
pyinspect/__init__.py
dhruvmanila/pyinspect
ce90df243e5e5ee100f13de4329c111454b8c891
[ "MIT" ]
5
2020-11-20T07:39:26.000Z
2022-01-13T04:54:51.000Z
# nopycln: file from pyinspect.exceptions import install_traceback from pyinspect.show import showme, what from pyinspect.find import search from pyinspect.answers import get_answers, ask from pyinspect.panels import ok, warn, error, message, Report, NestedPanel from pyinspect._rich import console from pyinspect.classe...
28.695652
177
0.655758
8554e93428cf180870f92bec8ca8595e5c36545c
965
py
Python
servertools/variables/logos.py
sWallyx/server-tools
880f28bb1502cc51064e8e0f3f9c85ea2f1fe2af
[ "MIT" ]
null
null
null
servertools/variables/logos.py
sWallyx/server-tools
880f28bb1502cc51064e8e0f3f9c85ea2f1fe2af
[ "MIT" ]
7
2020-03-25T17:15:54.000Z
2021-06-25T15:37:43.000Z
servertools/variables/logos.py
sWallyx/server-tools
880f28bb1502cc51064e8e0f3f9c85ea2f1fe2af
[ "MIT" ]
1
2020-02-02T13:45:54.000Z
2020-02-02T13:45:54.000Z
""" Variables that contain the logo ASCII text """ SERVER_TOOLS_LOGO = r""" ____ _____ _ / ___| ___ _ ____ _____ _ __ |_ _|__ ___ | |___ \___ \ / _ \ '__\ \ / / _ \ '__| | |/ _ \ / _ \| / __| ___) | __/ | \ V / __/ | | | (_) | (_) | \__ \ |____/ \___|_| \_/...
28.382353
56
0.359585
8555997972d2b27f982f14b4c869a0e8df897de6
2,714
py
Python
mycnn/data/voc_segment.py
jacky10001/tf2-mycnn
6a631ee71b2a91fc4e6e7a43f8f9179260a1d7fa
[ "MIT" ]
null
null
null
mycnn/data/voc_segment.py
jacky10001/tf2-mycnn
6a631ee71b2a91fc4e6e7a43f8f9179260a1d7fa
[ "MIT" ]
20
2022-01-24T15:28:48.000Z
2022-02-13T14:56:25.000Z
mycnn/data/voc_segment.py
jacky10001/tf2-mycnn
6a631ee71b2a91fc4e6e7a43f8f9179260a1d7fa
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- import os import numpy as np from skimage import io import matplotlib.pyplot as plt from PIL import Image
39.333333
109
0.657701
8555a2d39b9c39ad7b5a966dfacc717dfd150cdc
1,551
py
Python
PythonSim/sim.py
iandouglas96/swarm-thesis
dbafa2343a75c4de26b0ae19d08a033b34570287
[ "MIT" ]
null
null
null
PythonSim/sim.py
iandouglas96/swarm-thesis
dbafa2343a75c4de26b0ae19d08a033b34570287
[ "MIT" ]
null
null
null
PythonSim/sim.py
iandouglas96/swarm-thesis
dbafa2343a75c4de26b0ae19d08a033b34570287
[ "MIT" ]
null
null
null
import pygame, sys from pygame.locals import * from robot import Robot from wall import Wall from leader import Leader import random main(5, 500, 500)
23.861538
92
0.59381
8555cf1601ce1b5f617910a811d3f01d2076709f
1,246
py
Python
src/RailReservation/urls.py
KeshavSeth/RailwayReservationSystem
bc8bfb8b95cb43f8811212f0ebcc013ab395c2a8
[ "MIT" ]
null
null
null
src/RailReservation/urls.py
KeshavSeth/RailwayReservationSystem
bc8bfb8b95cb43f8811212f0ebcc013ab395c2a8
[ "MIT" ]
null
null
null
src/RailReservation/urls.py
KeshavSeth/RailwayReservationSystem
bc8bfb8b95cb43f8811212f0ebcc013ab395c2a8
[ "MIT" ]
null
null
null
from django.conf.urls import patterns, include, url from django.contrib import admin from django.conf import settings from django.conf.urls.static import static import profiles.urls import accounts.urls import trains.urls import ticket.urls from route.views import * from station.views import * from trains.views import ...
35.6
76
0.680578
8557adf6167f5ff10820921a3f828f15927174c0
1,798
py
Python
games/gridworld/gridworld_examples.py
johink/willsmith
a6bdfff2e3b12770100811002867bf3ed64ad6d3
[ "MIT" ]
null
null
null
games/gridworld/gridworld_examples.py
johink/willsmith
a6bdfff2e3b12770100811002867bf3ed64ad6d3
[ "MIT" ]
null
null
null
games/gridworld/gridworld_examples.py
johink/willsmith
a6bdfff2e3b12770100811002867bf3ed64ad6d3
[ "MIT" ]
null
null
null
from games.gridworld.grid import Grid from games.gridworld.gridworld import Gridworld from games.gridworld.gridworld_direction import GridworldDirection ##################################### # Example transition functions ##################################### ##################################### # Example Grid...
32.107143
78
0.640156
855a494222a6d4c9bcc189b1e321bf2fc70b2a71
4,369
py
Python
mqtt/Seeed3thPartMqttServer.py
lanselambor/scripts
deb7aa4c7c7341581364f23251f085c1a4fec86f
[ "Apache-2.0" ]
null
null
null
mqtt/Seeed3thPartMqttServer.py
lanselambor/scripts
deb7aa4c7c7341581364f23251f085c1a4fec86f
[ "Apache-2.0" ]
null
null
null
mqtt/Seeed3thPartMqttServer.py
lanselambor/scripts
deb7aa4c7c7341581364f23251f085c1a4fec86f
[ "Apache-2.0" ]
null
null
null
#!/usr/bin/python3 import MQTTV3112 as MQTTV3 import traceback, datetime, os, sys, select, binascii import time, traceback import math import socketserver import json import logging from logging.handlers import RotatingFileHandler, TimedRotatingFileHandler # create logger with 'spam_application' logger = logging.get...
38.663717
118
0.592584
855b4e01e5b934e421e4c9ebea7a438fae9617b9
1,187
py
Python
python/eks-simple-fargate/eks_simple_fargate/eks_simple_fargate_stack.py
kloia/aws-cdk-samples
69cb2bb45aab23e08d19d5ace24915893fe92360
[ "MIT" ]
null
null
null
python/eks-simple-fargate/eks_simple_fargate/eks_simple_fargate_stack.py
kloia/aws-cdk-samples
69cb2bb45aab23e08d19d5ace24915893fe92360
[ "MIT" ]
null
null
null
python/eks-simple-fargate/eks_simple_fargate/eks_simple_fargate_stack.py
kloia/aws-cdk-samples
69cb2bb45aab23e08d19d5ace24915893fe92360
[ "MIT" ]
null
null
null
from aws_cdk import core, aws_eks from .eks_base import EKSBase from .alb_ingress import ALBIngressController
39.566667
94
0.705139
855ca1ff8948c123a855f128a9073dceff93dd69
8,196
py
Python
g2client/g2disp.py
naojsoft/g2client
e49d0f3cacccdb569897f17d37c8c2e8f01c66cb
[ "BSD-3-Clause" ]
null
null
null
g2client/g2disp.py
naojsoft/g2client
e49d0f3cacccdb569897f17d37c8c2e8f01c66cb
[ "BSD-3-Clause" ]
null
null
null
g2client/g2disp.py
naojsoft/g2client
e49d0f3cacccdb569897f17d37c8c2e8f01c66cb
[ "BSD-3-Clause" ]
null
null
null
# # Gen2 observation workstation client -- command line version # """ Gen2 observation workstation client -- command line version """ import sys, time, os import threading import binascii from g2base import ssdlog, myproc from g2base.remoteObjects import remoteObjects as ro from g2base.remoteObjects import Monitor fr...
34.15
86
0.556857
855d1e26962f49014c24b4afe8ac214bdf01d675
3,251
py
Python
tests/test_technique.py
jansel/opentuner
070c5cef6d933eb760a2f9cd5cd08c95f27aee75
[ "MIT" ]
278
2015-01-11T16:07:19.000Z
2022-03-29T13:08:41.000Z
tests/test_technique.py
jansel/opentuner
070c5cef6d933eb760a2f9cd5cd08c95f27aee75
[ "MIT" ]
101
2015-01-07T20:47:02.000Z
2022-02-15T05:28:04.000Z
tests/test_technique.py
jansel/opentuner
070c5cef6d933eb760a2f9cd5cd08c95f27aee75
[ "MIT" ]
82
2015-02-18T01:14:48.000Z
2022-01-17T18:19:25.000Z
import unittest from builtins import next from unittest import mock from opentuner.search import manipulator from opentuner.search.composableevolutionarytechniques import ComposableEvolutionaryTechnique # TODO tests for RandomThreeParentsComposableTechnique
38.702381
114
0.621347
855e126f49dc147682a8ddcf7d8b3444b2c3acd5
8,575
py
Python
src/pyte_prism/__init__.py
fkshom/pyte-prism
00e464b5f23f205d2913bc776f97cc248006c559
[ "MIT" ]
null
null
null
src/pyte_prism/__init__.py
fkshom/pyte-prism
00e464b5f23f205d2913bc776f97cc248006c559
[ "MIT" ]
1
2020-12-07T16:18:16.000Z
2020-12-07T16:18:16.000Z
src/pyte_prism/__init__.py
fkshom/pyte-prism
00e464b5f23f205d2913bc776f97cc248006c559
[ "MIT" ]
1
2021-06-21T05:00:15.000Z
2021-06-21T05:00:15.000Z
import time import re from selenium import webdriver 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.common.exceptions import TimeoutException, NoSuchElementException from uritemplate impor...
32.116105
107
0.694927
855ea6f04c921ad42df72e3376925fdd9e5314d7
2,432
py
Python
scripts/update_camera_info.py
mikelgarciafonseca/lidar_camera_calibration
529dc69abd0faed293b9ca2238b7c6b25c66cb9e
[ "BSD-3-Clause" ]
291
2019-04-08T15:02:09.000Z
2022-03-29T07:43:53.000Z
scripts/update_camera_info.py
CXT-666/lidar_camera_calibration
688397c500967a42b2aca82d6c11393dd73aaa9c
[ "BSD-3-Clause" ]
45
2019-08-22T10:15:10.000Z
2022-03-23T05:11:36.000Z
scripts/update_camera_info.py
CXT-666/lidar_camera_calibration
688397c500967a42b2aca82d6c11393dd73aaa9c
[ "BSD-3-Clause" ]
77
2019-04-17T05:25:11.000Z
2022-03-20T04:39:13.000Z
#!/usr/bin/env python # -*- coding: utf-8 -*- ''' Author : Heethesh Vhavle Email : heethesh@cmu.edu Version : 1.0.1 Date : Jan 18, 2019 Description: Script to update the camera calibration data into the ROSBAG file Ensure that this file has executable permissions Example Usage: $ rosrun lidar_camera_calibratio...
26.725275
83
0.675576
855efe602850a47790a27ec939c0a1e729cd7710
733
py
Python
lim/random/glmm.py
glimix/glimix
22c9b94732918bce31f64cb33ce368ea85ead478
[ "MIT" ]
2
2016-12-16T14:14:59.000Z
2017-01-31T16:50:08.000Z
lim/random/glmm.py
glimix/glimix
22c9b94732918bce31f64cb33ce368ea85ead478
[ "MIT" ]
null
null
null
lim/random/glmm.py
glimix/glimix
22c9b94732918bce31f64cb33ce368ea85ead478
[ "MIT" ]
2
2017-02-13T14:34:37.000Z
2017-02-15T14:27:32.000Z
from __future__ import division from numpy.random import RandomState from numpy_sugar.linalg import sum2diag from numpy_sugar import epsilon from numpy_sugar.random import multivariate_normal
27.148148
51
0.667121
855fc87a5ce5bd24bab6ab108fbb29dc4e299ceb
607
py
Python
dags/simple_dag_backfill.py
rodrigoarenas456/airflow-course
8ffda59b8ac4cfa18b4cd614bc0f75ee18324b28
[ "MIT" ]
null
null
null
dags/simple_dag_backfill.py
rodrigoarenas456/airflow-course
8ffda59b8ac4cfa18b4cd614bc0f75ee18324b28
[ "MIT" ]
8
2021-09-08T21:24:25.000Z
2022-03-29T22:28:47.000Z
dags/simple_dag_backfill.py
rodrigoarenas456/airflow-course
8ffda59b8ac4cfa18b4cd614bc0f75ee18324b28
[ "MIT" ]
1
2021-09-06T12:18:39.000Z
2021-09-06T12:18:39.000Z
import datetime as dt from airflow import DAG from airflow.operators.bash_operator import BashOperator """ if catchup=False, then it will not run for past dates that didn't got executed """ default_args = { 'owner': 'airflow', 'start_date': dt.datetime(2020, 7, 1), 'concurrency': 1, 'retries': 0 } w...
26.391304
78
0.691928
856089efc2c334ffeab6724cf280b643ff6f434c
1,706
py
Python
google/home/graph/v1/home-graph-v1-py/google/home/graph_v1/types/__init__.py
googleapis/googleapis-gen
d84824c78563d59b0e58d5664bfaa430e9ad7e7a
[ "Apache-2.0" ]
7
2021-02-21T10:39:41.000Z
2021-12-07T07:31:28.000Z
google/home/graph/v1/home-graph-v1-py/google/home/graph_v1/types/__init__.py
googleapis/googleapis-gen
d84824c78563d59b0e58d5664bfaa430e9ad7e7a
[ "Apache-2.0" ]
6
2021-02-02T23:46:11.000Z
2021-11-15T01:46:02.000Z
google/home/graph/v1/home-graph-v1-py/google/home/graph_v1/types/__init__.py
googleapis/googleapis-gen
d84824c78563d59b0e58d5664bfaa430e9ad7e7a
[ "Apache-2.0" ]
4
2021-01-28T23:25:45.000Z
2021-08-30T01:55:16.000Z
# -*- coding: utf-8 -*- # Copyright 2020 Google LLC # # 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...
27.079365
74
0.732708
8560b0e4b09c5f913481d0494af7a7cde6e95874
2,348
py
Python
states/sense_profile_state.py
rbenamotz/LEMPA
eab84e2494aac0d1461582c7f83405cb4ab7c16e
[ "MIT" ]
83
2020-08-11T21:03:21.000Z
2022-02-27T17:52:31.000Z
states/sense_profile_state.py
rbenamotz/LEMPA
eab84e2494aac0d1461582c7f83405cb4ab7c16e
[ "MIT" ]
7
2020-09-06T17:10:04.000Z
2021-05-25T11:53:18.000Z
states/sense_profile_state.py
rbenamotz/LEMPA
eab84e2494aac0d1461582c7f83405cb4ab7c16e
[ "MIT" ]
6
2020-09-05T23:42:01.000Z
2021-06-21T04:09:03.000Z
import sys import time import RPi.GPIO as GPIO from application import Application, COMMAND_LINE_PARAM_PROFILE_ID from profiles import profile_by_id, profile_by_jumper from . import State from hardware import PINS_PROFILES
34.529412
81
0.579216
8561517142c3b7bdb23c921efcc982af0f356670
2,741
py
Python
handlers/registration.py
StGrail/AlleyCat-bot
3681627138e088bef2eea6867eb0b9a11d183e38
[ "MIT" ]
null
null
null
handlers/registration.py
StGrail/AlleyCat-bot
3681627138e088bef2eea6867eb0b9a11d183e38
[ "MIT" ]
1
2021-03-16T17:39:14.000Z
2021-03-17T07:31:26.000Z
handlers/registration.py
StGrail/AlleyCat-bot
3681627138e088bef2eea6867eb0b9a11d183e38
[ "MIT" ]
null
null
null
from aiogram.dispatcher import FSMContext from aiogram.types import CallbackQuery from FSM.Registation_states import Registration_form from constants.text_messages import RULES, START_INFO from keyboards.inline_kb import bicycle_type, gender, apply_registration, check_reg_answer from utils.loader import dp, db # ...
37.040541
94
0.747537
8561b65f73f039098088547f5dc3f1ca3cf952f5
145
py
Python
cloudberry-py/cloudberry/api/json_util.py
olliekrk/cloud-berry
8b39fb0b4f8772348fb50c0c1d0200c96df03cbe
[ "MIT" ]
null
null
null
cloudberry-py/cloudberry/api/json_util.py
olliekrk/cloud-berry
8b39fb0b4f8772348fb50c0c1d0200c96df03cbe
[ "MIT" ]
null
null
null
cloudberry-py/cloudberry/api/json_util.py
olliekrk/cloud-berry
8b39fb0b4f8772348fb50c0c1d0200c96df03cbe
[ "MIT" ]
null
null
null
import json
18.125
60
0.710345
856482c3cbf03c7b7af2b44e3422a0b6758b9099
3,446
py
Python
python/grouped_iterator.py
kadepettie/mike_tools
467698a835c04383d97c18055cb200ea6cdbc9b0
[ "Unlicense" ]
2
2016-01-14T02:04:37.000Z
2018-03-16T09:38:10.000Z
python/grouped_iterator.py
kadepettie/mike_tools
467698a835c04383d97c18055cb200ea6cdbc9b0
[ "Unlicense" ]
null
null
null
python/grouped_iterator.py
kadepettie/mike_tools
467698a835c04383d97c18055cb200ea6cdbc9b0
[ "Unlicense" ]
1
2018-07-20T20:31:39.000Z
2018-07-20T20:31:39.000Z
#!/usr/bin/env python # -*- coding: utf-8 -*- """ Iterate through a pre-sorted text file and return lines as a group. ============================================================================ AUTHOR: Michael D Dacre, mike.dacre@gmail.com ORGANIZATION: Stanford University LICENSE: MIT License, prop...
34.46
79
0.53047
8565f946b86cb9e0c19ac6a1ce1fc8a3f4778e60
3,772
py
Python
announcer/email_decorators/ticket.py
dokipen/trac-announcer-plugin
7ef4123a7508c5395c8008fa2a8478b1888b4f63
[ "BSD-3-Clause" ]
null
null
null
announcer/email_decorators/ticket.py
dokipen/trac-announcer-plugin
7ef4123a7508c5395c8008fa2a8478b1888b4f63
[ "BSD-3-Clause" ]
1
2018-06-11T14:48:06.000Z
2018-06-11T14:48:06.000Z
announcer/email_decorators/ticket.py
dokipen/trac-announcer-plugin
7ef4123a7508c5395c8008fa2a8478b1888b4f63
[ "BSD-3-Clause" ]
null
null
null
# -*- coding: utf-8 -*- # # Copyright (c) 2009, Robert Corsaro # # All rights reserved. # # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the following conditions are met: # # * Redistributions of source code must retain the above copyright # ...
44.376471
79
0.661188
8566ce5f7a94d07cf4e8e35937a2d2bccb26654d
5,155
py
Python
ccwt_client/strategy/multi_symbols.py
nigelliyang/ccwt_client
4efb8f2c790145b5f547e350d24413bb8b1bd9ed
[ "Apache-2.0" ]
null
null
null
ccwt_client/strategy/multi_symbols.py
nigelliyang/ccwt_client
4efb8f2c790145b5f547e350d24413bb8b1bd9ed
[ "Apache-2.0" ]
null
null
null
ccwt_client/strategy/multi_symbols.py
nigelliyang/ccwt_client
4efb8f2c790145b5f547e350d24413bb8b1bd9ed
[ "Apache-2.0" ]
null
null
null
#!/usr/bin/env python # -*- coding: utf-8 -*- from pyalgotrade import strategy from pyalgotrade import plotter from pyalgotrade.broker.backtesting import Broker from pyalgotrade.broker.backtesting import TradePercentage from pyalgotrade.broker.slippage import VolumeShareSlippage from pyalgotrade.bar import Frequency ...
40.273438
135
0.644811
8569aa3b086b166d6250ee9399cc1fd457cec787
470
py
Python
sme_material_apps/utils/html_to_pdf_response.py
luizhpriotto/piloto_apresentacao
c968025db819633ee4cd75df5357ab6a4ab7d9af
[ "MIT" ]
null
null
null
sme_material_apps/utils/html_to_pdf_response.py
luizhpriotto/piloto_apresentacao
c968025db819633ee4cd75df5357ab6a4ab7d9af
[ "MIT" ]
null
null
null
sme_material_apps/utils/html_to_pdf_response.py
luizhpriotto/piloto_apresentacao
c968025db819633ee4cd75df5357ab6a4ab7d9af
[ "MIT" ]
1
2020-02-01T12:10:42.000Z
2020-02-01T12:10:42.000Z
from django.http import HttpResponse from django_weasyprint.utils import django_url_fetcher from weasyprint import HTML
33.571429
69
0.755319
856b3c80d8f9a268cead6014523c425a5d9ae352
738
py
Python
examples/ex_em_matrix_countour_plot.py
herzig/cary_reader
2fd70a9aaf4313914ea823517556069eadebc74b
[ "MIT" ]
1
2020-10-15T13:00:26.000Z
2020-10-15T13:00:26.000Z
examples/ex_em_matrix_countour_plot.py
herzig/cary_reader
2fd70a9aaf4313914ea823517556069eadebc74b
[ "MIT" ]
null
null
null
examples/ex_em_matrix_countour_plot.py
herzig/cary_reader
2fd70a9aaf4313914ea823517556069eadebc74b
[ "MIT" ]
null
null
null
# allows import of package from parent directory import os import sys sys.path.insert(0, os.path.abspath(os.path.join(os.path.dirname(__file__), '..'))) import numpy as np import matplotlib.pyplot as plt from cary_reader import CaryData data = CaryData.from_csv('test_data/berio_matrix_300_450.csv') # converts the d...
30.75
82
0.754743
856b70394ea2a27e4b33e3b939eda069451e5cfe
2,149
py
Python
elektronn3/data/transforms/random.py
riegerfr/elektronn3
a1fab65914d8975e6d869a5711a84d4553935bd5
[ "MIT" ]
124
2017-12-11T03:38:43.000Z
2022-03-25T03:10:32.000Z
elektronn3/data/transforms/random.py
riegerfr/elektronn3
a1fab65914d8975e6d869a5711a84d4553935bd5
[ "MIT" ]
34
2018-03-27T17:11:28.000Z
2020-07-19T20:52:14.000Z
elektronn3/data/transforms/random.py
riegerfr/elektronn3
a1fab65914d8975e6d869a5711a84d4553935bd5
[ "MIT" ]
28
2018-04-16T04:11:54.000Z
2022-03-25T03:23:30.000Z
"""Random number generators for random augmentation parametrization""" from typing import Optional, Tuple import numpy as np import scipy.stats
29.438356
79
0.580735
856bb44faaf32f953b8cf04e2328ff923146711d
879
py
Python
training_v1_backup/training/pytorchLearning/lrNumpy.py
prasoonpatidar/multiagentRL-resource-sharing
e63ba7fc3c7ab019e9fd109cd45b739e3322152f
[ "MIT" ]
null
null
null
training_v1_backup/training/pytorchLearning/lrNumpy.py
prasoonpatidar/multiagentRL-resource-sharing
e63ba7fc3c7ab019e9fd109cd45b739e3322152f
[ "MIT" ]
null
null
null
training_v1_backup/training/pytorchLearning/lrNumpy.py
prasoonpatidar/multiagentRL-resource-sharing
e63ba7fc3c7ab019e9fd109cd45b739e3322152f
[ "MIT" ]
null
null
null
import torch as th import numpy as np ''' prediction: gradient computation: loss computation: parameter updates: ''' '''All Manual with numpy''' # f = w*x # f = 2.x X = np.array([1,2,3,4],dtype=np.float32) Y = np.array([2,4,6,8],dtype=np.float32) w = 0.0 print(f'prediction before training f(5)= {forward(5):.3f}') ...
16.903846
61
0.590444
856bb87d250ac4989a8e122dc68f32ff68809bd1
497
py
Python
exotic_ld/ld_laws.py
hrwakeford/ExoTiC-LD
5fdd86bcaded787e2e0d9d9c1ca54fa1ceda421a
[ "MIT" ]
null
null
null
exotic_ld/ld_laws.py
hrwakeford/ExoTiC-LD
5fdd86bcaded787e2e0d9d9c1ca54fa1ceda421a
[ "MIT" ]
null
null
null
exotic_ld/ld_laws.py
hrwakeford/ExoTiC-LD
5fdd86bcaded787e2e0d9d9c1ca54fa1ceda421a
[ "MIT" ]
null
null
null
from astropy.modeling.models import custom_model
33.133333
68
0.591549
856d5f7ffc3bcce6913018e4ef646a6e008b5e19
831
py
Python
client_server_socket/server_socket.py
KiwiShow/PythonWeb
a489bc2ab16f06f7cc4524bab6b45b2653bfb1bd
[ "MIT" ]
7
2018-02-24T13:41:21.000Z
2022-02-06T04:59:13.000Z
client_server_socket/server_socket.py
KiwiShow/PythonWeb
a489bc2ab16f06f7cc4524bab6b45b2653bfb1bd
[ "MIT" ]
6
2018-02-25T11:50:42.000Z
2021-12-13T19:55:13.000Z
client_server_socket/server_socket.py
KiwiShow/PythonWeb
a489bc2ab16f06f7cc4524bab6b45b2653bfb1bd
[ "MIT" ]
1
2018-03-01T02:43:15.000Z
2018-03-01T02:43:15.000Z
import socket # 1. create socket # 2. bind # 3. listen # 4. accept # 5. recv # 6. send # 7. close -> 3 # , localhost:2000 # 2GET / HTTP/1.1 GET /favicon.ico HTTP/1.1 s = socket.socket() host = '' port = 2000 s.bind((host, port)) while True: s.listen(5) print('before accept') # , s.accept 2 # ...
21.307692
89
0.610108
856dd362c9beb3c3c6cbb93ff094ed39d0df4ed7
8,515
py
Python
metalsmith/_nics.py
openstack/metalsmith
880d9e47d3fe3f8d6cb83311b0fde3173f92beb4
[ "Apache-2.0" ]
8
2018-06-27T11:19:31.000Z
2020-06-17T08:05:11.000Z
metalsmith/_nics.py
openstack/metalsmith
880d9e47d3fe3f8d6cb83311b0fde3173f92beb4
[ "Apache-2.0" ]
null
null
null
metalsmith/_nics.py
openstack/metalsmith
880d9e47d3fe3f8d6cb83311b0fde3173f92beb4
[ "Apache-2.0" ]
null
null
null
# Copyright 2018 Red Hat, Inc. # # 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,...
39.239631
79
0.570053
8570469a4159ec85e5ca9d14672a27c122fa4b13
355
py
Python
pystratis/api/global_requestmodels/sendtransactionrequest.py
TjadenFroyda/pyStratis
9cc7620d7506637f8a2b84003d931eceb36ac5f2
[ "MIT" ]
8
2021-06-30T20:44:22.000Z
2021-12-07T14:42:22.000Z
pystratis/api/global_requestmodels/sendtransactionrequest.py
TjadenFroyda/pyStratis
9cc7620d7506637f8a2b84003d931eceb36ac5f2
[ "MIT" ]
2
2021-07-01T11:50:18.000Z
2022-01-25T18:39:49.000Z
pystratis/api/global_requestmodels/sendtransactionrequest.py
TjadenFroyda/pyStratis
9cc7620d7506637f8a2b84003d931eceb36ac5f2
[ "MIT" ]
4
2021-07-01T04:36:42.000Z
2021-09-17T10:54:19.000Z
from pydantic import Field from pystratis.api import Model from pystratis.core.types import hexstr # noinspection PyUnresolvedReferences
25.357143
59
0.752113
8570b07b4e9af91f0c08ffa94177023db3ec5f6a
81
py
Python
nbgrader/exchange/abc/fetch_feedback.py
omelnikov/nbgrader
66984e5732c98bd15733c027601a62fca6a46222
[ "BSD-3-Clause" ]
1,116
2015-01-20T19:22:24.000Z
2022-03-31T22:05:10.000Z
nbgrader/exchange/abc/fetch_feedback.py
jld23/nbgrader
07a38cd8ed12ab33870bdd42f0bf35aa1252b0db
[ "BSD-3-Clause" ]
1,166
2015-01-08T21:50:31.000Z
2022-03-31T05:15:01.000Z
nbgrader/exchange/abc/fetch_feedback.py
jld23/nbgrader
07a38cd8ed12ab33870bdd42f0bf35aa1252b0db
[ "BSD-3-Clause" ]
337
2015-02-06T01:28:00.000Z
2022-03-29T06:52:38.000Z
from .exchange import Exchange
13.5
38
0.790123
8572d905f6530b7f5ae05752a4502d7789e2350b
362
py
Python
PWN/2019StarCTF/babyshell/exp.py
Cossack9989/SEC_LEARNING
34126ac7427d48f774f03b43d40fd128c5468bc9
[ "MIT" ]
13
2018-11-28T07:40:04.000Z
2022-02-05T15:14:27.000Z
PWN/2019StarCTF/babyshell/exp.py
Cossack9989/SEC_LEARNING
34126ac7427d48f774f03b43d40fd128c5468bc9
[ "MIT" ]
null
null
null
PWN/2019StarCTF/babyshell/exp.py
Cossack9989/SEC_LEARNING
34126ac7427d48f774f03b43d40fd128c5468bc9
[ "MIT" ]
3
2019-12-18T16:43:10.000Z
2021-09-10T05:45:07.000Z
from pwn import * context.arch = 'amd64' #io = process("./shellcode") io = remote('34.92.37.22', 10002) #gdb.attach(io,'handle SIGALRM nostop noprint\nb *0x4008cb\nc') io.recvuntil(":\n") io.sendline('\x00\x6a\x3b\xeb\x10\x48\x31\xc0\x5f\x48\x31\xf6\x48\x31\xd2\x48\x83\xc0\x3b\x0f\x05'+'\xe8\xeb\xff\xff\xff\x2f\x62\x...
32.909091
154
0.701657
85740ce3a03beaf2eb89116783a5b5dcaacc3a51
2,753
py
Python
customforms/blocks.py
SquarehostLtd/django-wagtail-customforms
a317fc421faae6fb1f9155bf03eb2930523c46d2
[ "BSD-3-Clause" ]
1
2018-02-28T09:06:39.000Z
2018-02-28T09:06:39.000Z
customforms/blocks.py
SquarehostLtd/django-wagtail-customforms
a317fc421faae6fb1f9155bf03eb2930523c46d2
[ "BSD-3-Clause" ]
1
2020-11-03T10:50:51.000Z
2020-11-03T10:50:51.000Z
customforms/blocks.py
SquarehostLtd/django-wagtail-customforms
a317fc421faae6fb1f9155bf03eb2930523c46d2
[ "BSD-3-Clause" ]
1
2020-01-22T23:05:50.000Z
2020-01-22T23:05:50.000Z
from django.contrib import messages from django.http import HttpResponseRedirect from django.utils.functional import cached_property from django.utils.html import format_html from django.utils.safestring import mark_safe from django.template.loader import render_to_string from wagtail.core.blocks import ChooserBlock ...
37.202703
115
0.674174
857497f20d02b6868933869ee19b698c45cb4943
1,382
py
Python
onetimepass/backends.py
oangervuori/namubufferi
b9353b1d1a32e18e93cb1e9bd2b591950d54269a
[ "MIT" ]
2
2016-12-05T03:31:47.000Z
2017-02-13T20:10:39.000Z
onetimepass/backends.py
oangervuori/namubufferi
b9353b1d1a32e18e93cb1e9bd2b591950d54269a
[ "MIT" ]
1
2016-12-14T10:53:15.000Z
2016-12-17T18:52:25.000Z
onetimepass/backends.py
oangervuori/namubufferi
b9353b1d1a32e18e93cb1e9bd2b591950d54269a
[ "MIT" ]
1
2017-01-14T10:56:28.000Z
2017-01-14T10:56:28.000Z
from django.contrib.auth import get_user_model from django.contrib.auth.backends import BaseBackend from django.contrib.auth.hashers import check_password from .models import OneTimePass User = get_user_model() # https://docs.djangoproject.com/en/3.2/topics/auth/customizing/#authentication-backends
32.904762
88
0.641823
857606e28a85102079da6fd107aaf732413bd215
2,286
py
Python
views/index/students.py
woyanh/bysj-master
d2ba7fbba7145b04e05ad3e7e14fa70018a6ce4c
[ "MIT" ]
null
null
null
views/index/students.py
woyanh/bysj-master
d2ba7fbba7145b04e05ad3e7e14fa70018a6ce4c
[ "MIT" ]
null
null
null
views/index/students.py
woyanh/bysj-master
d2ba7fbba7145b04e05ad3e7e14fa70018a6ce4c
[ "MIT" ]
null
null
null
from flask import Blueprint,render_template,flash,redirect,url_for,send_from_directory,current_app from flask_login import current_user from models import Student,Course from forms.students import UploadAvatarForm,CropAvatarForm from extensions import avatars,db from utils import flash_errors index_stu_bp...
33.617647
99
0.682415
8577638bf4ccf5772ce85b6e85457d1e027d3afe
1,507
py
Python
parallel_esn/example/power_consumption_oneshot.py
zblanks/parallel_esn
25a979d0863ce54a4a588f4216dc473d4e9c5e8a
[ "BSD-2-Clause" ]
7
2019-05-06T00:32:24.000Z
2021-06-03T14:49:23.000Z
parallel_esn/example/power_consumption_oneshot.py
zblanks/parallel_esn
25a979d0863ce54a4a588f4216dc473d4e9c5e8a
[ "BSD-2-Clause" ]
8
2019-04-20T04:51:38.000Z
2020-02-25T22:25:34.000Z
parallel_esn/example/power_consumption_oneshot.py
zblanks/parallel_esn
25a979d0863ce54a4a588f4216dc473d4e9c5e8a
[ "BSD-2-Clause" ]
2
2019-04-19T11:05:51.000Z
2020-10-15T20:40:26.000Z
from pkg_resources import resource_filename import numpy as np import matplotlib.pyplot as plt from ..esn import ESN from ..utils import chunk_data, standardize_traindata, scale_data # Example using real data, one shot prediction # Load data fname = resource_filename('parallel_esn', 'data/PJM_Load_hourly.csv') data =...
32.06383
69
0.741208
8577a2ae24790cf5340a14689ec14a5be4fe05c0
7,522
py
Python
tests/st/explainer/test_runner.py
Vincent34/mindspore
a39a60878a46e7e9cb02db788c0bca478f2fa6e5
[ "Apache-2.0" ]
2
2021-07-08T13:10:42.000Z
2021-11-08T02:48:57.000Z
tests/st/explainer/test_runner.py
peixinhou/mindspore
fcb2ec2779b753e95c762cf292b23bd81d1f561b
[ "Apache-2.0" ]
null
null
null
tests/st/explainer/test_runner.py
peixinhou/mindspore
fcb2ec2779b753e95c762cf292b23bd81d1f561b
[ "Apache-2.0" ]
null
null
null
# Copyright 2021 Huawei Technologies Co., Ltd # # 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...
37.422886
109
0.626695
8578189186a9c269dc0edf7eade08b1bd089bcd5
28,956
py
Python
GUI src/app.py
xngst/press-graphs
0fdb1b402fc948cf66c1d0c66c726e7ecf6f15e5
[ "MIT" ]
null
null
null
GUI src/app.py
xngst/press-graphs
0fdb1b402fc948cf66c1d0c66c726e7ecf6f15e5
[ "MIT" ]
null
null
null
GUI src/app.py
xngst/press-graphs
0fdb1b402fc948cf66c1d0c66c726e7ecf6f15e5
[ "MIT" ]
null
null
null
""" PRESSGRAPHS DASH CLIENT WEB GUI interface for PressGraphs WebAPI """ ################################### # IMPORTS ################################### #builtins from datetime import datetime from datetime import timedelta #3rd party import dash import dash_core_components as dcc import dash_html_components as html...
29.486762
140
0.521239
85781ef5f5f726cf3352c3b5c4d46b1a07a81a89
802
py
Python
pickle2sql.py
Shemka/SteamTags
a35463b7f30e112d8c18a73cd4abe54b102c0b4b
[ "MIT" ]
null
null
null
pickle2sql.py
Shemka/SteamTags
a35463b7f30e112d8c18a73cd4abe54b102c0b4b
[ "MIT" ]
null
null
null
pickle2sql.py
Shemka/SteamTags
a35463b7f30e112d8c18a73cd4abe54b102c0b4b
[ "MIT" ]
null
null
null
import pickle as pk import pymysql as mysql from tqdm import tqdm host, login, password, db, file_name = input('Enter host, login, password, database name and file name:\n').split() with open(file_name, 'rb') as f: data = pk.load(f) connection = mysql.connect(host, login, password, db) with connection.cursor() a...
42.210526
140
0.693267
857b09fd9aab40fed40cd686483e3386e8a76e25
1,467
py
Python
algorithms/bubblesort.py
KellyHwong/Algorithms
50cfc37c9b3694bb5ae9f13bb1e923e4f2142bca
[ "MIT" ]
3
2019-06-20T07:09:57.000Z
2019-07-01T07:04:46.000Z
algorithms/bubblesort.py
KellyHwong/Algorithms
50cfc37c9b3694bb5ae9f13bb1e923e4f2142bca
[ "MIT" ]
null
null
null
algorithms/bubblesort.py
KellyHwong/Algorithms
50cfc37c9b3694bb5ae9f13bb1e923e4f2142bca
[ "MIT" ]
1
2019-11-22T07:36:28.000Z
2019-11-22T07:36:28.000Z
#!/usr/bin/env python3 # -*- coding: utf-8 -*- # @Date : Jul-13-19 18:02 # @Author : Your Name (you@example.org) # @Link : http://example.org import os import random import pysnooper import time import csv from quicksort import quicksort def main(): """ bubblesortO(n^2) quicksortO(nlogn) """...
23.66129
60
0.524881
857c933c8a1faa44d29c848ca1b539e394d2ba3b
1,667
py
Python
hovor/session/session_base.py
IBM/contingent-plan-executor
177c5ec84070a4d0d83beb6622d99ec0fd772c12
[ "Apache-2.0" ]
3
2020-07-01T03:09:27.000Z
2021-03-20T03:27:24.000Z
hovor/session/session_base.py
IBM/contingent-plan-executor
177c5ec84070a4d0d83beb6622d99ec0fd772c12
[ "Apache-2.0" ]
1
2020-07-09T00:56:14.000Z
2020-07-09T00:56:14.000Z
hovor/session/session_base.py
IBM/contingent-plan-executor
177c5ec84070a4d0d83beb6622d99ec0fd772c12
[ "Apache-2.0" ]
1
2020-12-19T22:06:00.000Z
2020-12-19T22:06:00.000Z
def get_context_copy(self): """ Gets copy of currently processed context. :return: The processed context copy """ raise NotImplementedError("must be overriden")
29.245614
86
0.629274
857e81aeb8f91a043f2183d0e0e74e4b51951da7
890
py
Python
codes/Others/Longest-Palindromic-Substring/script.py
kotori-y/LeetCode-Code
cf42265401d5fdedd8ba95974e93f5c005694e86
[ "MIT" ]
3
2021-04-23T02:02:23.000Z
2021-05-15T01:01:24.000Z
codes/Others/Longest-Palindromic-Substring/script.py
kotori-y/LeetCode-Code
cf42265401d5fdedd8ba95974e93f5c005694e86
[ "MIT" ]
null
null
null
codes/Others/Longest-Palindromic-Substring/script.py
kotori-y/LeetCode-Code
cf42265401d5fdedd8ba95974e93f5c005694e86
[ "MIT" ]
null
null
null
''' Description: Author: Kotori Y Date: 2021-04-22 09:14:19 LastEditors: Kotori Y LastEditTime: 2021-04-22 09:14:20 FilePath: \LeetCode-Code\codes\Others\Longest-Palindromic-Substring\script.py AuthorMail: kotori@cbdd.me '''
29.666667
77
0.569663
857f09ca17fba68d6b0bb219612bebe1eef519e9
8,044
py
Python
venv/lib/python3.6/site-packages/ansible_collections/cisco/aci/plugins/modules/aci_fabric_spine_switch_assoc.py
usegalaxy-no/usegalaxy
75dad095769fe918eb39677f2c887e681a747f3a
[ "MIT" ]
1
2020-01-22T13:11:23.000Z
2020-01-22T13:11:23.000Z
venv/lib/python3.6/site-packages/ansible_collections/cisco/aci/plugins/modules/aci_fabric_spine_switch_assoc.py
usegalaxy-no/usegalaxy
75dad095769fe918eb39677f2c887e681a747f3a
[ "MIT" ]
12
2020-02-21T07:24:52.000Z
2020-04-14T09:54:32.000Z
venv/lib/python3.6/site-packages/ansible_collections/cisco/aci/plugins/modules/aci_fabric_spine_switch_assoc.py
usegalaxy-no/usegalaxy
75dad095769fe918eb39677f2c887e681a747f3a
[ "MIT" ]
null
null
null
#!/usr/bin/python # -*- coding: utf-8 -*- # GNU General Public License v3.0+ (see LICENSE or https://www.gnu.org/licenses/gpl-3.0.txt) from __future__ import absolute_import, division, print_function __metaclass__ = type ANSIBLE_METADATA = {'metadata_version': '1.1', 'status': ['preview'], ...
27.737931
141
0.612631
857fedd5b847029945954b747d4033f643eaed7a
1,185
py
Python
snippets/3DEM/Z_oldscratch/scratch_20160215.py
michielkleinnijenhuis/EM
f46a9b11298919b359e80d9f23a7e824df1356cb
[ "Apache-2.0" ]
null
null
null
snippets/3DEM/Z_oldscratch/scratch_20160215.py
michielkleinnijenhuis/EM
f46a9b11298919b359e80d9f23a7e824df1356cb
[ "Apache-2.0" ]
null
null
null
snippets/3DEM/Z_oldscratch/scratch_20160215.py
michielkleinnijenhuis/EM
f46a9b11298919b359e80d9f23a7e824df1356cb
[ "Apache-2.0" ]
null
null
null
scriptdir="$HOME/workspace/EM" DATA="$HOME/oxdata" datadir="$DATA/P01/EM/M3/M3_S1_GNU" && cd $datadir dataset='m000' paraview --state=$datadir/m000_01000-01500_01000-01500_00200-00300/stack+mesh_compact.pvsm qsubfile=$datadir/EM_con2.sh echo '#!/bin/bash' > $qsubfile echo "#SBATCH --nodes=1" >> $qsubfile echo "#SBATC...
32.027027
133
0.67173
8580ed32aedebf1af35027d068875f6c4fc89997
6,319
py
Python
8-2.machine_learning_ra_pbmc_bulk.py
yxaxaxa/sle_and_hd_single_cell_analysis
139a3f6bd9ee34bec77b7ab3e1ec81a8c716d992
[ "MIT" ]
null
null
null
8-2.machine_learning_ra_pbmc_bulk.py
yxaxaxa/sle_and_hd_single_cell_analysis
139a3f6bd9ee34bec77b7ab3e1ec81a8c716d992
[ "MIT" ]
null
null
null
8-2.machine_learning_ra_pbmc_bulk.py
yxaxaxa/sle_and_hd_single_cell_analysis
139a3f6bd9ee34bec77b7ab3e1ec81a8c716d992
[ "MIT" ]
null
null
null
#!/usr/bin/env python # coding: utf-8 # In[5]: import pandas as pd import numpy as np import glob,os from glob import iglob #import scanpy as sc from sklearn.svm import SVC from sklearn.ensemble import RandomForestClassifier from sklearn.metrics import RocCurveDisplay from sklearn.datasets import load_wine from skle...
24.303846
106
0.743789
8582f63940499d89e8d668d18b7810768499bc46
782
py
Python
python/tests/test_statement.py
vlachvojta/Theatrical-Players-Refactoring-Kata
a26968f52e680ad041cfdd67572256a93e80f14a
[ "MIT" ]
69
2019-08-07T07:48:29.000Z
2022-03-25T13:51:27.000Z
python/tests/test_statement.py
vlachvojta/Theatrical-Players-Refactoring-Kata
a26968f52e680ad041cfdd67572256a93e80f14a
[ "MIT" ]
16
2019-08-08T10:12:59.000Z
2022-03-22T12:42:48.000Z
python/tests/test_statement.py
vlachvojta/Theatrical-Players-Refactoring-Kata
a26968f52e680ad041cfdd67572256a93e80f14a
[ "MIT" ]
69
2019-08-07T13:21:38.000Z
2022-03-31T17:38:21.000Z
import json import pytest from approvaltests import verify from approvaltests.utils import get_adjacent_file from statement import statement
30.076923
64
0.719949
85845948a6f4b5cef79da8f628ea2e873570afc0
1,537
py
Python
recipes/Python/454322_Typechecking_decorator/recipe-454322.py
tdiprima/code
61a74f5f93da087d27c70b2efe779ac6bd2a3b4f
[ "MIT" ]
2,023
2017-07-29T09:34:46.000Z
2022-03-24T08:00:45.000Z
recipes/Python/454322_Typechecking_decorator/recipe-454322.py
unhacker/code
73b09edc1b9850c557a79296655f140ce5e853db
[ "MIT" ]
32
2017-09-02T17:20:08.000Z
2022-02-11T17:49:37.000Z
recipes/Python/454322_Typechecking_decorator/recipe-454322.py
unhacker/code
73b09edc1b9850c557a79296655f140ce5e853db
[ "MIT" ]
780
2017-07-28T19:23:28.000Z
2022-03-25T20:39:41.000Z
print foo(1, 2.5) # Prints 3.5. print foo(2.0, 2.5) # Prints 4.5. print foo("asdf", 2.5) # Raises TypeError exception. print foo(1, 2) # Raises TypeError exception.
35.744186
109
0.560833
85851779a1b382f22dd9a4248dacef833de10d4f
2,914
py
Python
gcp_runner/ai_platform_constants.py
vlasenkoalexey/gcp_runner
6570483f3a803b1d440b2e5aa56cd1d2151ef3ba
[ "Apache-2.0" ]
1
2020-04-26T21:01:24.000Z
2020-04-26T21:01:24.000Z
gcp_runner/ai_platform_constants.py
vlasenkoalexey/gcp_runner
6570483f3a803b1d440b2e5aa56cd1d2151ef3ba
[ "Apache-2.0" ]
1
2022-02-26T06:56:49.000Z
2022-02-26T06:56:49.000Z
gcp_runner/ai_platform_constants.py
vlasenkoalexey/gcp_runner
6570483f3a803b1d440b2e5aa56cd1d2151ef3ba
[ "Apache-2.0" ]
null
null
null
# AUTOGENERATED! DO NOT EDIT! File to edit: ai_platform_constants.ipynb (unless otherwise specified). __all__ = ['AcceleratorType', 'ScaleTier', 'MachineType', 'DistributionStrategyType'] # Cell from enum import Enum # https://cloud.google.com/sdk/gcloud/reference/ai-platform/jobs/submit/training#--master-accelerato...
37.358974
102
0.688401
858551bc894c37253f0341f789dc0c08a3fb1059
2,702
py
Python
Chapter06/stan_example.py
PacktPublishing/Mastering-Machine-Learning-Algorithms-Second-Edition
706d76fdb91b8c59223879cb236ce2bb6cc7e768
[ "MIT" ]
40
2019-08-23T13:33:12.000Z
2022-02-24T12:48:41.000Z
Chapter06/stan_example.py
PacktPublishing/Mastering-Machine-Learning-Algorithms-Second-Edition
706d76fdb91b8c59223879cb236ce2bb6cc7e768
[ "MIT" ]
null
null
null
Chapter06/stan_example.py
PacktPublishing/Mastering-Machine-Learning-Algorithms-Second-Edition
706d76fdb91b8c59223879cb236ce2bb6cc7e768
[ "MIT" ]
33
2019-10-21T09:47:51.000Z
2022-01-14T17:21:54.000Z
import numpy as np import matplotlib.pyplot as plt import seaborn as sns # Install using pip install pystan # It requires a C/C++ compiler import pystan # Set random seed for reproducibility np.random.seed(1000) # Number of observations nb_samples = 10 if __name__ == "__main__": # Create the observations ...
27.571429
65
0.57883
858760cd43df7a53576a57dc1a9f62fa326e32a2
7,377
py
Python
api/imgur/imgur_api.py
CharlieCorner/pymage_downloader
d145d2fe8666d4dbbc104bb563fc43415bd8802c
[ "Apache-2.0" ]
null
null
null
api/imgur/imgur_api.py
CharlieCorner/pymage_downloader
d145d2fe8666d4dbbc104bb563fc43415bd8802c
[ "Apache-2.0" ]
9
2018-11-04T23:20:22.000Z
2020-04-30T05:19:07.000Z
api/imgur/imgur_api.py
CharlieCorner/pymage_downloader
d145d2fe8666d4dbbc104bb563fc43415bd8802c
[ "Apache-2.0" ]
null
null
null
import json import logging from datetime import datetime import requests from api.imgur import * from exceptions.pymage_exceptions import NotAbleToDownloadException, ImgurAPICommunicationException from utils.utils import extract_imgur_id_from_url LOGGER = logging.getLogger(__name__) # Sample Imgur Response # { ...
41.212291
121
0.638471
85899347be22ba0685e74fcc5e8475db930f138a
2,305
py
Python
debexpo/tests/test_utils.py
jadonk/debexpo
a022160492e40cd02bafc413a3cb009551fd6f8d
[ "MIT" ]
null
null
null
debexpo/tests/test_utils.py
jadonk/debexpo
a022160492e40cd02bafc413a3cb009551fd6f8d
[ "MIT" ]
null
null
null
debexpo/tests/test_utils.py
jadonk/debexpo
a022160492e40cd02bafc413a3cb009551fd6f8d
[ "MIT" ]
2
2017-01-20T23:08:40.000Z
2019-08-13T20:30:00.000Z
# -*- coding: utf-8 -*- # # test_utils.py Test cases for debexpo.lib.utils # # This file is part of debexpo - https://alioth.debian.org/projects/debexpo/ # # Copyright 2008 Jonny Lamb <jonny@debian.org> # # Permission is hereby granted, free of charge, to any person # obtaining a copy of this software and a...
33.897059
124
0.695879
858ac88a4f9f2ee0d5dd8e950c9db71bd4cde1de
354
py
Python
hospital/urls.py
noRubidium/VampirePty
69d9d42c0c5eddc3b363270287e468064d8b3d6c
[ "MIT" ]
null
null
null
hospital/urls.py
noRubidium/VampirePty
69d9d42c0c5eddc3b363270287e468064d8b3d6c
[ "MIT" ]
null
null
null
hospital/urls.py
noRubidium/VampirePty
69d9d42c0c5eddc3b363270287e468064d8b3d6c
[ "MIT" ]
null
null
null
from django.conf.urls import url from . import views urlpatterns = [ url(r'^$', views.index, name='index'), url(r'^page/(\d+)/$', views.page, name='index'), url(r'^(\d+)/$', views.detail, name='index'), url(r'^(\d+)/bloods/$', views.blood_detail, name='index'), url(r'^(\d+)/donors/$', views...
32.181818
63
0.570621
85904c89bcdbf8674999ebe65648eb5f658466c4
466
py
Python
setup.py
codeskyblue/pyignore
373a0a85a0af54af13068ba7cf1f6202ee145cbf
[ "MIT" ]
2
2017-09-21T08:11:38.000Z
2020-09-22T01:25:50.000Z
setup.py
codeskyblue/pyignore
373a0a85a0af54af13068ba7cf1f6202ee145cbf
[ "MIT" ]
null
null
null
setup.py
codeskyblue/pyignore
373a0a85a0af54af13068ba7cf1f6202ee145cbf
[ "MIT" ]
null
null
null
from __future__ import print_function import pyignore try: from distutils.core import setup except ImportError: from setuptools import setup setup( name='pyignore', version=pyignore.__version__, license="MIT", description='parse .gitignore file', author='codeskyblue', author_emai...
22.190476
51
0.686695
8591a7090c96616149a2e2720da637473a0729d4
177
py
Python
ProcessScreen.py
collvey/AutoHotKey
378af50954e0d93af00d73b62b49a053b1e80e83
[ "MIT" ]
null
null
null
ProcessScreen.py
collvey/AutoHotKey
378af50954e0d93af00d73b62b49a053b1e80e83
[ "MIT" ]
null
null
null
ProcessScreen.py
collvey/AutoHotKey
378af50954e0d93af00d73b62b49a053b1e80e83
[ "MIT" ]
1
2022-02-21T05:35:43.000Z
2022-02-21T05:35:43.000Z
import os if __name__ == "__main__": screen_dir = r"C:\Users\collv\Pictures\Screenshots" for f in os.listdir(screen_dir): os.remove(os.path.join(screen_dir, f))
29.5
55
0.683616
8598c85583efc616f40502b57ea891b81ce4abba
1,092
py
Python
apps/hospitals/admin/hospital.py
joao-frohlich/covid-sc
8f176abe7d0696bcf118da82dce91c1da6332b44
[ "MIT" ]
null
null
null
apps/hospitals/admin/hospital.py
joao-frohlich/covid-sc
8f176abe7d0696bcf118da82dce91c1da6332b44
[ "MIT" ]
null
null
null
apps/hospitals/admin/hospital.py
joao-frohlich/covid-sc
8f176abe7d0696bcf118da82dce91c1da6332b44
[ "MIT" ]
null
null
null
from django.contrib import admin from apps.hospitals.models import Hospital, HospitalBed admin.site.register(Hospital, HospitalAdmin)
29.513514
92
0.65293
85998c2ca2be37ec4bb630ebbb2d3b94c9c6145d
5,732
py
Python
T3 2D - Tau Calculator.py
sohdesune/SUTD-projects
1061bd7e2756dcf4ea6f7e1ed0411f9b761e9bc1
[ "MIT" ]
null
null
null
T3 2D - Tau Calculator.py
sohdesune/SUTD-projects
1061bd7e2756dcf4ea6f7e1ed0411f9b761e9bc1
[ "MIT" ]
null
null
null
T3 2D - Tau Calculator.py
sohdesune/SUTD-projects
1061bd7e2756dcf4ea6f7e1ed0411f9b761e9bc1
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- """ Created on Thu Apr 12 00:58:08 2018 @author: sohdesune """ ''' ln|T_w - T| - ln|T_w - T_amb| = -(1/tau) * t 1. Extract raw data for first 20s from csv 2. Plot complicated ln function vs t 3. Compute tau 4. [Remove outliers] 5. Write tau vs T_w to txt ...
37.464052
93
0.539253
859ae9fb69a4a815ff51f428cb5a6fb889df4a0b
1,987
py
Python
build/lib/pyggi/line/engine.py
s-marta/pyggi-bloa
aefe15eda32e713dc8402c9b8d4bcb7cb05b31c8
[ "MIT" ]
null
null
null
build/lib/pyggi/line/engine.py
s-marta/pyggi-bloa
aefe15eda32e713dc8402c9b8d4bcb7cb05b31c8
[ "MIT" ]
null
null
null
build/lib/pyggi/line/engine.py
s-marta/pyggi-bloa
aefe15eda32e713dc8402c9b8d4bcb7cb05b31c8
[ "MIT" ]
1
2021-03-12T14:37:06.000Z
2021-03-12T14:37:06.000Z
from . import AbstractLineEngine
35.482143
89
0.613488
859c6ae60388a87f3a8c1e4b27fc07a9168d7730
1,656
py
Python
boidfunc/endpoint_func.py
travelingnight/boidload
55df24c3f22104fdf67219d2f7286f71df80c2e7
[ "MIT" ]
null
null
null
boidfunc/endpoint_func.py
travelingnight/boidload
55df24c3f22104fdf67219d2f7286f71df80c2e7
[ "MIT" ]
null
null
null
boidfunc/endpoint_func.py
travelingnight/boidload
55df24c3f22104fdf67219d2f7286f71df80c2e7
[ "MIT" ]
null
null
null
#!/usr/bin/env python3 """ Allan Millar Various functions related to sockets, ip's, port's etc. """ import sys, random, socket from contextlib import closing
36.8
95
0.63285
859f202a2f2f1138c22ae3526261447b406a220f
3,339
py
Python
yt_playlist_downloader.py
lautisilber/youtube_playlist_downloader
95f24f3a059a6efb02a81f352b08186651fd6aae
[ "MIT" ]
null
null
null
yt_playlist_downloader.py
lautisilber/youtube_playlist_downloader
95f24f3a059a6efb02a81f352b08186651fd6aae
[ "MIT" ]
null
null
null
yt_playlist_downloader.py
lautisilber/youtube_playlist_downloader
95f24f3a059a6efb02a81f352b08186651fd6aae
[ "MIT" ]
null
null
null
''' created by Lautaro Silbergleit on 2021 ''' import re from pytube import Playlist, YouTube from tqdm import tqdm from os import makedirs, listdir, remove from os.path import join, exists, isfile import json from time import sleep SENSITIVE_CHARACTERS = ['%', ':'] if __name__ == '__main__': main()
31.8
126
0.698712
85a07ddbba59bb16c26817858612ab97a63c481d
1,344
py
Python
2019/day13.py
kyz/adventofcode
b3dd544624a8fc313ca1fad0d2f02f53bd79ce3d
[ "MIT" ]
null
null
null
2019/day13.py
kyz/adventofcode
b3dd544624a8fc313ca1fad0d2f02f53bd79ce3d
[ "MIT" ]
null
null
null
2019/day13.py
kyz/adventofcode
b3dd544624a8fc313ca1fad0d2f02f53bd79ce3d
[ "MIT" ]
null
null
null
import intcode with open("day13.txt") as fh: p = [int(c) for c in fh.readline().split(",")] print("2019 day 13 part 1: %d" % breakout_demo(p)) print("2019 day 13 part 2: %d" % breakout(p))
30.545455
79
0.530506
85a0e2d9282c759866463e075085469b476b17b8
1,650
py
Python
syncany/calculaters/__init__.py
snower/syncany
32d32907a155618678d5b2335cd8a70192ed1e6f
[ "MIT" ]
5
2018-08-15T13:45:30.000Z
2021-03-18T01:51:47.000Z
syncany/calculaters/__init__.py
snower/syncany
32d32907a155618678d5b2335cd8a70192ed1e6f
[ "MIT" ]
null
null
null
syncany/calculaters/__init__.py
snower/syncany
32d32907a155618678d5b2335cd8a70192ed1e6f
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- # 18/8/15 # create by: snower from .calculater import Calculater from .builtin import * from .conversion_calculater import ConvCalculater from ..errors import CalculaterUnknownException CALCULATERS = { "": Calculater, "type": TypeCalculater, 'range': RangeCalculater, "add": Add...
27.04918
75
0.667273
85a25605545d4e4f832fe9a3447b0a972658df24
1,094
py
Python
sweet/features/gabor.py
charlienewey/penumbra-python
a848adf5628a37339354f5ed5a747b03cc4df9bd
[ "BSD-3-Clause" ]
1
2017-10-16T03:47:51.000Z
2017-10-16T03:47:51.000Z
sweet/features/gabor.py
charlienewey/penumbra-python
a848adf5628a37339354f5ed5a747b03cc4df9bd
[ "BSD-3-Clause" ]
null
null
null
sweet/features/gabor.py
charlienewey/penumbra-python
a848adf5628a37339354f5ed5a747b03cc4df9bd
[ "BSD-3-Clause" ]
null
null
null
import math import skimage.filters
27.35
87
0.610603
85a26fa5e4287545bb2aafe69a4a95320c01eec9
3,530
py
Python
log.py
mpagliaro98/multi-drive-backup-tool
f4f00f59c6fc3f2fb3786b76f807e160794f43c6
[ "MIT" ]
null
null
null
log.py
mpagliaro98/multi-drive-backup-tool
f4f00f59c6fc3f2fb3786b76f807e160794f43c6
[ "MIT" ]
null
null
null
log.py
mpagliaro98/multi-drive-backup-tool
f4f00f59c6fc3f2fb3786b76f807e160794f43c6
[ "MIT" ]
null
null
null
""" log.py Author: Michael Pagliaro Utility functions specific to writing log files. """ from datetime import datetime import sys import traceback import os import util # The log file to be written to whenever log() is called LOG_FILE = None LOGS_DIRECTORY = "logs" def logger(func): """ Creates a decorato...
36.020408
108
0.687535
85a33483e90e1c90f85785e7d45cc06e684432cd
589
py
Python
CH04/comma_code.py
kaifee-haque/Automate-the-Boring-Stuff-Solutions
5acbf9a397dc4aa000ebd9e8f6d79d0ee5287fef
[ "MIT" ]
null
null
null
CH04/comma_code.py
kaifee-haque/Automate-the-Boring-Stuff-Solutions
5acbf9a397dc4aa000ebd9e8f6d79d0ee5287fef
[ "MIT" ]
null
null
null
CH04/comma_code.py
kaifee-haque/Automate-the-Boring-Stuff-Solutions
5acbf9a397dc4aa000ebd9e8f6d79d0ee5287fef
[ "MIT" ]
null
null
null
#! python3 def comma_string(_list): """Takes a list of items and formats it into a string, separated by commas like plain English. Args: _list: The list of items. Returns: result: The string of list items separated by commas.""" result = "" for i, character in enumerate(...
22.653846
71
0.561969
85a75d4ad7786057bb8752bdfb76d74144bb1724
243
wsgi
Python
index.wsgi
liuzheng712/cbox
b27fdf01fbb76b10115600f465b99f8fd7f1ba3e
[ "MIT" ]
1
2016-01-17T14:53:48.000Z
2016-01-17T14:53:48.000Z
index.wsgi
liuzheng712/cbox
b27fdf01fbb76b10115600f465b99f8fd7f1ba3e
[ "MIT" ]
null
null
null
index.wsgi
liuzheng712/cbox
b27fdf01fbb76b10115600f465b99f8fd7f1ba3e
[ "MIT" ]
null
null
null
import sae application = sae.create_wsgi_app(app)
22.090909
55
0.716049
85a7f592ed553404754f7344c9234b29657d2ed5
331
py
Python
Coding-Challenges/largestSubsequence/largest_subsequence.py
FergusDevelopmentLLC/Coders-Workshop
3513bd5f79eaa85b4d2a648c5f343a224842325d
[ "MIT" ]
33
2019-12-02T23:29:47.000Z
2022-03-24T02:40:36.000Z
Coding-Challenges/largestSubsequence/largest_subsequence.py
FergusDevelopmentLLC/Coders-Workshop
3513bd5f79eaa85b4d2a648c5f343a224842325d
[ "MIT" ]
39
2020-01-15T19:28:12.000Z
2021-11-26T05:13:29.000Z
Coding-Challenges/largestSubsequence/largest_subsequence.py
FergusDevelopmentLLC/Coders-Workshop
3513bd5f79eaa85b4d2a648c5f343a224842325d
[ "MIT" ]
49
2019-12-02T23:29:53.000Z
2022-03-03T01:11:37.000Z
#!/usr/bin/env python3 print(largest_subsequence("ABAZDC", "BACBAD")) # "ABAD" print(largest_subsequence("AGGTAB", "GXTXAYB")) # "GTAB" print(largest_subsequence("aaaa", "aa")) # "aa" print(largest_subsequence("", "...")) # "" print(largest_subsequence("ABBA", "ABCABA")) # "ABBA"
27.583333
57
0.667674
85a94176737ca05a735e46dd93ad4ec3d2b40450
362
py
Python
study_management/management/commands/generatefernetkey.py
jdkizer9/ls2_app
8b4c37b44a673d1919a0e52b72f529b7e1abd2e3
[ "Apache-2.0" ]
null
null
null
study_management/management/commands/generatefernetkey.py
jdkizer9/ls2_app
8b4c37b44a673d1919a0e52b72f529b7e1abd2e3
[ "Apache-2.0" ]
7
2020-02-05T04:57:01.000Z
2022-02-10T06:51:23.000Z
study_management/management/commands/generatefernetkey.py
jdkizer9/ls2_app
8b4c37b44a673d1919a0e52b72f529b7e1abd2e3
[ "Apache-2.0" ]
null
null
null
from django.core.management.base import BaseCommand, CommandError from study_management.models import Datapoint from cryptography.fernet import Fernet import base64
30.166667
65
0.751381
85ab2274d0b6aea42c9783fa2132ded90c110706
3,680
py
Python
src/odin-api/muninn/client/user.py
Interactions-AI/odin
94c593a98a0dc68c12f3062edbff34e7da5c4d8a
[ "Apache-2.0" ]
4
2020-12-15T15:57:14.000Z
2020-12-16T21:52:23.000Z
src/odin-api/muninn/client/user.py
Interactions-AI/odin
94c593a98a0dc68c12f3062edbff34e7da5c4d8a
[ "Apache-2.0" ]
2
2021-03-15T02:49:56.000Z
2021-03-27T12:42:38.000Z
src/odin-api/muninn/client/user.py
Interactions-AI/odin
94c593a98a0dc68c12f3062edbff34e7da5c4d8a
[ "Apache-2.0" ]
5
2020-12-15T19:09:00.000Z
2021-04-21T20:40:38.000Z
"""Client to create or update odin user""" import argparse import os import json import signal import requests from prompt_toolkit import prompt from muninn import ODIN_URL, ODIN_PORT, ODIN_SCHEME, ODIN_API_LOGGER from muninn.auth import get_jwt_token def create_user_http(url: str, jwt_token: str, username: str, pass...
40
124
0.667391
85ab4c1f01496489252f35724adcec43beaaa302
67
py
Python
python/testData/quickFixes/PyAddImportQuickFixTest/globalDefinitionDoesNotShadowCommonPackageAliasVariant/main.py
06needhamt/intellij-community
63d7b8030e4fdefeb4760e511e289f7e6b3a5c5b
[ "Apache-2.0" ]
null
null
null
python/testData/quickFixes/PyAddImportQuickFixTest/globalDefinitionDoesNotShadowCommonPackageAliasVariant/main.py
06needhamt/intellij-community
63d7b8030e4fdefeb4760e511e289f7e6b3a5c5b
[ "Apache-2.0" ]
null
null
null
python/testData/quickFixes/PyAddImportQuickFixTest/globalDefinitionDoesNotShadowCommonPackageAliasVariant/main.py
06needhamt/intellij-community
63d7b8030e4fdefeb4760e511e289f7e6b3a5c5b
[ "Apache-2.0" ]
null
null
null
<error descr="Unresolved reference 'np'">n<caret>p</error>.ndarray
33.5
66
0.746269
85abdadf7f6975446f101ad9487de12633ee5082
564
py
Python
settings.py
Zeebra38/Schedule_bot
903f7cde755940f226cf8077c2c35550d0291d51
[ "MIT" ]
null
null
null
settings.py
Zeebra38/Schedule_bot
903f7cde755940f226cf8077c2c35550d0291d51
[ "MIT" ]
null
null
null
settings.py
Zeebra38/Schedule_bot
903f7cde755940f226cf8077c2c35550d0291d51
[ "MIT" ]
null
null
null
from DataBase import Schedule weekdays_en = {'Monday': '', 'Tuesday': '', 'Wednesday': '', 'Thursday': '', 'Friday': '', 'Saturday': '', 'Sunday': ''} weekdays_ru = {'': 'Monday', '': 'Tuesday', '':...
31.333333
39
0.457447
85ad9c028dfaf818420fafd7aefd545015dfdd94
70
py
Python
src/hello_world.py
jlanga/snakehooks
7ae3ece602a1470fba53e63a3695e35c5f62247d
[ "MIT" ]
1
2020-02-10T23:14:36.000Z
2020-02-10T23:14:36.000Z
src/hello_world.py
jlanga/snakehooks
7ae3ece602a1470fba53e63a3695e35c5f62247d
[ "MIT" ]
null
null
null
src/hello_world.py
jlanga/snakehooks
7ae3ece602a1470fba53e63a3695e35c5f62247d
[ "MIT" ]
null
null
null
#!/usr/bin/env python3 """ Hello, world! """ print("Hello, World!")
8.75
22
0.585714
85ae16702dcd86876f33eb76a9f4c0aef32a9b70
451
py
Python
app/migrations/0004_auto_20171221_0621.py
tso/avalon
36bbc534ea1f0b24c19fc2a6b72010239cd5b0c3
[ "MIT" ]
null
null
null
app/migrations/0004_auto_20171221_0621.py
tso/avalon
36bbc534ea1f0b24c19fc2a6b72010239cd5b0c3
[ "MIT" ]
6
2017-12-25T07:27:27.000Z
2018-01-17T18:59:04.000Z
app/migrations/0004_auto_20171221_0621.py
tso/avalon
36bbc534ea1f0b24c19fc2a6b72010239cd5b0c3
[ "MIT" ]
2
2017-12-21T04:36:56.000Z
2018-01-15T23:32:35.000Z
# Generated by Django 2.0 on 2017-12-21 06:21 import app.models from django.db import migrations import enumfields.fields
21.47619
94
0.629712
85b1d6a22c0d0090a75d779c87cff9038cdd496d
994
py
Python
core/main.py
rafael-junio/JustAChip8PythonEmulator
ff9c2d67aeaf4f87ff3b5fd6f0231702587455a7
[ "MIT" ]
null
null
null
core/main.py
rafael-junio/JustAChip8PythonEmulator
ff9c2d67aeaf4f87ff3b5fd6f0231702587455a7
[ "MIT" ]
null
null
null
core/main.py
rafael-junio/JustAChip8PythonEmulator
ff9c2d67aeaf4f87ff3b5fd6f0231702587455a7
[ "MIT" ]
null
null
null
from core.cpu.instructions import Cpu from core.cpu.config.memory_starter import MemoryStarter from core.cpu.config.memory_config import Config from core.reader.file_reader import FileReader
38.230769
95
0.71328
85b65c485dd500cc66bdbb6dadc0a74ee700639d
2,179
py
Python
Bot/src/unclassified/motivation.py
AryamanSrii/Mecha-Karen
4a5c7318f8c458495eee72a13be5db8a0113ed28
[ "Apache-2.0" ]
181
2021-05-26T17:37:40.000Z
2022-02-26T08:36:07.000Z
Bot/src/unclassified/motivation.py
AryamanSrii/Mecha-Karen
4a5c7318f8c458495eee72a13be5db8a0113ed28
[ "Apache-2.0" ]
24
2021-05-14T19:47:34.000Z
2021-09-06T17:16:17.000Z
Bot/src/unclassified/motivation.py
AryamanSrii/Mecha-Karen
4a5c7318f8c458495eee72a13be5db8a0113ed28
[ "Apache-2.0" ]
16
2021-07-02T09:40:56.000Z
2022-01-21T10:07:08.000Z
# !/usr/bin/python """ Copyright : 2020 Seniatical / _-*#7519 License: Apache 2.0 A permissive license whose main conditions require preservation of copyright and license notices. Contributors provide an express grant of patent rights. Licensed works, modifications, and larger works may be distributed under dif...
35.721311
114
0.658559
85b702a0495ec20a4916f8eef85a4c0805c48829
1,882
py
Python
curami/analysis/pair_matching_word_base.py
EBIBioSamples/curami-v2
671ec5f1d48b866c6ccb24fcddfb80610c377e07
[ "Apache-2.0" ]
null
null
null
curami/analysis/pair_matching_word_base.py
EBIBioSamples/curami-v2
671ec5f1d48b866c6ccb24fcddfb80610c377e07
[ "Apache-2.0" ]
2
2020-07-02T13:56:03.000Z
2021-06-01T23:51:49.000Z
curami/analysis/pair_matching_word_base.py
EBIBioSamples/curami-v2
671ec5f1d48b866c6ccb24fcddfb80610c377e07
[ "Apache-2.0" ]
null
null
null
import pandas as pd from nltk.stem import LancasterStemmer, WordNetLemmatizer from nltk.tokenize import sent_tokenize, word_tokenize from curami.commons import file_utils ''' Match pair of attributes for their base form similarity Generates matched attribute file by measuring the syntactic similarity between the base...
37.64
115
0.655154
85b977a716a0ab42b9f5ac5d7528fcff4dd7ef93
7,154
py
Python
knee/zmethod.py
mariolpantunes/knee
fa4678a55f1f2d161f982b8214541cf8f392444d
[ "MIT" ]
2
2021-09-03T02:59:10.000Z
2021-12-28T16:32:28.000Z
knee/zmethod.py
mariolpantunes/knee
fa4678a55f1f2d161f982b8214541cf8f392444d
[ "MIT" ]
9
2021-06-05T08:10:30.000Z
2022-01-05T20:50:32.000Z
knee/zmethod.py
mariolpantunes/knee
fa4678a55f1f2d161f982b8214541cf8f392444d
[ "MIT" ]
4
2020-12-04T07:04:34.000Z
2021-09-03T02:59:19.000Z
# coding: utf-8 __author__ = 'Tyler Estro' __version__ = '0.1' __email__ = 'testro@cs.stonybrook.edu' __status__ = 'Development' import numpy as np import logging import uts.gradient as grad from uts.zscore import zscore_array logger = logging.getLogger(__name__) def map_index(a:np.ndarray, b:np.ndarray) -> np.n...
41.836257
146
0.588063
85b9a2ded21bb7e26efb4522b699d759a2fe4d28
1,496
py
Python
services/logo_finder_service.py
fedsp/site2data
5e049c3b96875283bf854ece6796abfd44690954
[ "MIT" ]
null
null
null
services/logo_finder_service.py
fedsp/site2data
5e049c3b96875283bf854ece6796abfd44690954
[ "MIT" ]
null
null
null
services/logo_finder_service.py
fedsp/site2data
5e049c3b96875283bf854ece6796abfd44690954
[ "MIT" ]
null
null
null
from config import settings import re
42.742857
106
0.600936
85b9df7e5df2c3700d38f73b5d3eb34cddac9dcb
31
py
Python
schoolInfo/school/schedule/__init__.py
sunrabbit123/school-info_python
e2fbe928d6f024c6ec2f86b109833595dbdbb294
[ "MIT" ]
null
null
null
schoolInfo/school/schedule/__init__.py
sunrabbit123/school-info_python
e2fbe928d6f024c6ec2f86b109833595dbdbb294
[ "MIT" ]
1
2021-05-09T12:51:37.000Z
2021-05-17T14:36:23.000Z
schoolInfo/school/schedule/__init__.py
sunrabbit123/school-info_python
e2fbe928d6f024c6ec2f86b109833595dbdbb294
[ "MIT" ]
null
null
null
from .schedule import schedule
15.5
30
0.83871
85bbef976d587c77a873695fe486aefcf8beff7e
796
py
Python
spinbot/gh/util.py
rantav/spinnaker
98fb0c77db8fc723fd705ae6b663a8cbbd348fdb
[ "Apache-2.0" ]
null
null
null
spinbot/gh/util.py
rantav/spinnaker
98fb0c77db8fc723fd705ae6b663a8cbbd348fdb
[ "Apache-2.0" ]
null
null
null
spinbot/gh/util.py
rantav/spinnaker
98fb0c77db8fc723fd705ae6b663a8cbbd348fdb
[ "Apache-2.0" ]
1
2018-05-27T01:49:01.000Z
2018-05-27T01:49:01.000Z
import github
26.533333
79
0.614322
85bfa63cf750d27b3238fc7c2ff6bcedc1afabdf
915
py
Python
addBinary.py
cookie223/startingtocode
04371e60091074faea7965831797c08590d28b7b
[ "MIT" ]
null
null
null
addBinary.py
cookie223/startingtocode
04371e60091074faea7965831797c08590d28b7b
[ "MIT" ]
null
null
null
addBinary.py
cookie223/startingtocode
04371e60091074faea7965831797c08590d28b7b
[ "MIT" ]
null
null
null
import sys def addBinary(a, b): 'return bin(int(a,2)+int(b,2))[2:]' sumtemp = str(a + b) sumlist = [] for char in sumtemp: sumlist.append(int(char)) for i in range(1, len(sumtemp) + 1): if sumlist[-i] == 0 or sumlist[-i] == 1: pass else: if i + 1...
27.727273
56
0.401093
85bfbd13cd57659c834b764ccdc661565f83c01a
3,820
py
Python
qp/composite.py
meshch/qp
4f19841769c644ffff3eff297cacf6aeb2ac2cbc
[ "MIT" ]
4
2016-12-06T17:51:45.000Z
2019-11-15T12:27:24.000Z
qp/composite.py
meshch/qp
4f19841769c644ffff3eff297cacf6aeb2ac2cbc
[ "MIT" ]
74
2016-11-15T22:11:56.000Z
2022-03-30T15:38:03.000Z
qp/composite.py
meshch/qp
4f19841769c644ffff3eff297cacf6aeb2ac2cbc
[ "MIT" ]
7
2017-04-04T19:46:21.000Z
2021-05-19T06:02:07.000Z
import numpy as np import scipy as sp from scipy import stats as sps import scipy.optimize as op import qp
29.612403
127
0.548953
85bfeb01c7c84ab97b4d582a2ab7af8b0450f27b
1,628
py
Python
test/PR_test/unit_test/layers/tensorflow/test_reflection_padding_2d.py
DwijayDS/fastestimator
9b288cb2bd870f971ec4cee09d0b3205e1316a94
[ "Apache-2.0" ]
57
2019-05-21T21:29:26.000Z
2022-02-23T05:55:21.000Z
test/PR_test/unit_test/layers/tensorflow/test_reflection_padding_2d.py
vbvg2008/fastestimator
6061a4fbbeb62a2194ef82ba8017f651710d0c65
[ "Apache-2.0" ]
93
2019-05-23T18:36:07.000Z
2022-03-23T17:15:55.000Z
test/PR_test/unit_test/layers/tensorflow/test_reflection_padding_2d.py
vbvg2008/fastestimator
6061a4fbbeb62a2194ef82ba8017f651710d0c65
[ "Apache-2.0" ]
47
2019-05-09T15:41:37.000Z
2022-03-26T17:00:08.000Z
# Copyright 2020 The FastEstimator Authors. 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 appl...
41.74359
109
0.59828
85c403c65750bffb34aefa6e46026cbba51be791
533
py
Python
Aulas python downloads/ex064.py
Osmair-riamso/AulasPython
647f51182a46f34af6d9b5cff8511182c6cad4a4
[ "MIT" ]
null
null
null
Aulas python downloads/ex064.py
Osmair-riamso/AulasPython
647f51182a46f34af6d9b5cff8511182c6cad4a4
[ "MIT" ]
null
null
null
Aulas python downloads/ex064.py
Osmair-riamso/AulasPython
647f51182a46f34af6d9b5cff8511182c6cad4a4
[ "MIT" ]
null
null
null
'''Crie um programa que leia vrios nmeros inteiros pelo teclado. O programa s vai parar quando o usurio digitar o valor 999, que a condio de parada. No final, mostre quantos nmeros foram digitados e qual foi a soma entre eles (desconsiderando o flag). ''' print("Descubra a senha!") n = cont = soma = 0 n = int(input(...
29.611111
85
0.677298
85c7629ca49636fd14fc87cd2974bfba376afb41
1,112
py
Python
setup.py
kritarthh/str2port
f211cfeb198ea0600854dbd3c7a8322990630834
[ "MIT" ]
null
null
null
setup.py
kritarthh/str2port
f211cfeb198ea0600854dbd3c7a8322990630834
[ "MIT" ]
null
null
null
setup.py
kritarthh/str2port
f211cfeb198ea0600854dbd3c7a8322990630834
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- # DO NOT EDIT THIS FILE! # This file has been autogenerated by dephell <3 # https://github.com/dephell/dephell try: from setuptools import setup except ImportError: from distutils.core import setup import os.path readme = '' here = os.path.abspath(os.path.dirname(__file__)) readme_...
27.8
116
0.672662
85c915507f3f5e1f99596a07fded244aa05bc0b3
516
py
Python
mysite/user/urls.py
Jason0705/ICanCook
b215e29183e588a0c161c81f1dc7e2da89563905
[ "Unlicense" ]
null
null
null
mysite/user/urls.py
Jason0705/ICanCook
b215e29183e588a0c161c81f1dc7e2da89563905
[ "Unlicense" ]
null
null
null
mysite/user/urls.py
Jason0705/ICanCook
b215e29183e588a0c161c81f1dc7e2da89563905
[ "Unlicense" ]
null
null
null
from django.conf.urls import url from . import views urlpatterns = [ url(r'^$', views.index, name='index'), url(r'^login/$', views.login, name='login'), url(r'^logout/$', views.logout, name='logout'), url(r'^update/$', views.update, name='update'), url(r'^update-password/$', views.update_password,...
34.4
78
0.633721
85c96475a78d9a740c71a10454b02129b261a89c
3,564
py
Python
tests/test_model.py
yukinagae/pymc4
39b0fecdaf12753c4ae8cae69d4b282c70cc0a54
[ "Apache-2.0" ]
7
2018-12-17T08:38:46.000Z
2020-02-07T21:28:21.000Z
tests/test_model.py
yukinagae/pymc4
39b0fecdaf12753c4ae8cae69d4b282c70cc0a54
[ "Apache-2.0" ]
null
null
null
tests/test_model.py
yukinagae/pymc4
39b0fecdaf12753c4ae8cae69d4b282c70cc0a54
[ "Apache-2.0" ]
2
2018-12-17T06:54:21.000Z
2018-12-21T21:45:40.000Z
from tensorflow_probability import edward2 as ed import tensorflow as tf import pytest import pymc4 as pm from pymc4.model.base import Config # pylint: disable=unused-variable, unused-argument # pylint: disable-msg=E0102
22.556962
86
0.645342
a40f6ef49b65b50190c5c179cd273379d51e94de
1,285
py
Python
test/conftest.py
starcraftman/new-awesome
59f779e2aa0b1aab2eca2aaf351f789f2833c4a9
[ "BSD-3-Clause" ]
6
2016-03-09T04:17:42.000Z
2020-03-02T18:46:28.000Z
test/conftest.py
starcraftman/new-awesome
59f779e2aa0b1aab2eca2aaf351f789f2833c4a9
[ "BSD-3-Clause" ]
null
null
null
test/conftest.py
starcraftman/new-awesome
59f779e2aa0b1aab2eca2aaf351f789f2833c4a9
[ "BSD-3-Clause" ]
null
null
null
""" Global fixtures to be reused. """ from __future__ import absolute_import import sys import mock import pytest import test.common as tc # @pytest.yield_fixture(scope='function', autouse=True) # def around_all_tests(): # """ # Executes before and after EVERY test. # Can be helpful for tracking bugs...
21.779661
69
0.659144
a41089c49435a2064c9c78cdd2d52364cce44984
127
py
Python
textHandler/tests.py
surajsjain/social-media-analytics-app
1f310dcf2f79c9f80edee80dd59d8c63f827f04a
[ "MIT" ]
null
null
null
textHandler/tests.py
surajsjain/social-media-analytics-app
1f310dcf2f79c9f80edee80dd59d8c63f827f04a
[ "MIT" ]
8
2020-06-05T20:49:10.000Z
2022-02-10T00:37:59.000Z
textHandler/tests.py
surajsjain/social-media-analytics-app
1f310dcf2f79c9f80edee80dd59d8c63f827f04a
[ "MIT" ]
3
2020-01-26T10:48:25.000Z
2020-08-25T17:47:54.000Z
version https://git-lfs.github.com/spec/v1 oid sha256:9ab6c6191360e63c1b4c9b5659aef348a743c9e078be68190917369e4e9563e8 size 60
31.75
75
0.88189
a4119e1240314b1bbd0685ee534363309959e324
476
py
Python
d3dshot/capture_outputs/pytorch_float_capture_output.py
Hualin-Peng/D3DShot
a506e1b3ab4effb49af5cc171fc87822a48b3ba9
[ "MIT" ]
238
2019-04-04T16:15:45.000Z
2022-03-30T06:47:47.000Z
d3dshot/capture_outputs/pytorch_float_capture_output.py
Hualin-Peng/D3DShot
a506e1b3ab4effb49af5cc171fc87822a48b3ba9
[ "MIT" ]
51
2019-05-02T13:22:53.000Z
2022-01-05T16:15:55.000Z
d3dshot/capture_outputs/pytorch_float_capture_output.py
Hualin-Peng/D3DShot
a506e1b3ab4effb49af5cc171fc87822a48b3ba9
[ "MIT" ]
41
2019-04-04T20:41:19.000Z
2022-02-26T09:26:03.000Z
import numpy as np from PIL import Image from d3dshot.capture_outputs.pytorch_capture_output import PytorchCaptureOutput
31.733333
86
0.737395
a413259a60fc0a267d12007e28ed945f8488cc02
1,359
py
Python
todolistapi/authentication/tests/test_models.py
yaswanthsaivendra/django_projects
9c4b3511d32eb3bfd0825480a5dd021bd865b16b
[ "MIT" ]
3
2021-11-08T18:26:26.000Z
2021-12-11T18:30:50.000Z
todolistapi/authentication/tests/test_models.py
yaswanthsaivendra/django_projects
9c4b3511d32eb3bfd0825480a5dd021bd865b16b
[ "MIT" ]
null
null
null
todolistapi/authentication/tests/test_models.py
yaswanthsaivendra/django_projects
9c4b3511d32eb3bfd0825480a5dd021bd865b16b
[ "MIT" ]
null
null
null
from rest_framework.test import APITestCase from authentication.models import User
50.333333
129
0.754231
a415d7f8c6ee5c2c5870dba7dac2e114a845b4a4
1,395
py
Python
app/models.py
herrkrebs/udacity-full-stack-web-developer-nanodegree-project-3-movie-catalog
d08947f7b0304d2e026e6a678b1197951e62137e
[ "MIT" ]
null
null
null
app/models.py
herrkrebs/udacity-full-stack-web-developer-nanodegree-project-3-movie-catalog
d08947f7b0304d2e026e6a678b1197951e62137e
[ "MIT" ]
null
null
null
app/models.py
herrkrebs/udacity-full-stack-web-developer-nanodegree-project-3-movie-catalog
d08947f7b0304d2e026e6a678b1197951e62137e
[ "MIT" ]
null
null
null
# Contains the domain models of the application from flask_login import UserMixin from . import db, login_manager
25.363636
71
0.632258
a41ba8d2cbc5f6d76cae7b7cd03a312bdb6d6150
1,046
py
Python
payment/migrations/0010_auto__del_field_paymentpackage_name.py
rif/conference-registration
2e83e98d68eff5c8ab6ae3a79db910e2e81c58ae
[ "BSD-3-Clause" ]
null
null
null
payment/migrations/0010_auto__del_field_paymentpackage_name.py
rif/conference-registration
2e83e98d68eff5c8ab6ae3a79db910e2e81c58ae
[ "BSD-3-Clause" ]
null
null
null
payment/migrations/0010_auto__del_field_paymentpackage_name.py
rif/conference-registration
2e83e98d68eff5c8ab6ae3a79db910e2e81c58ae
[ "BSD-3-Clause" ]
null
null
null
# encoding: utf-8 import datetime from south.db import db from south.v2 import SchemaMigration from django.db import models
32.6875
117
0.624283
a41de5ab5171eca7eae4d7454bfa62824f7a06f5
15,529
py
Python
eth_wallet/ui/gui.py
jgotanegra/wallet
cc746de4123eefef5c3148120593151536e381ef
[ "MIT" ]
15
2019-05-01T06:21:41.000Z
2021-12-31T10:18:51.000Z
eth_wallet/ui/gui.py
jackyjqcheung/eth-wallet
cc746de4123eefef5c3148120593151536e381ef
[ "MIT" ]
17
2019-04-17T16:24:59.000Z
2021-11-06T04:14:57.000Z
eth_wallet/ui/gui.py
jackyjqcheung/eth-wallet
cc746de4123eefef5c3148120593151536e381ef
[ "MIT" ]
8
2019-05-03T14:56:47.000Z
2022-01-14T14:08:25.000Z
import threading from tkinter import ( Tk, Frame, Label, Button, Entry, Message, CENTER, Menu, Menubutton, StringVar, RAISED, messagebox, ) from eth_wallet.configuration import ( Configuration, ) from eth_wallet.api import ( WalletAPI, ) from eth_wallet.ui.page im...
34.662946
98
0.458883
a420b5f8c2547bd492b541121354ca50d503baab
10,273
py
Python
code/palmnet/core/layer_replacer.py
lucgiffon/psm-nets
dec43c26281febf6e5c8b8f42bfb78098ae7101d
[ "MIT" ]
1
2021-07-15T07:05:18.000Z
2021-07-15T07:05:18.000Z
code/palmnet/core/layer_replacer.py
lucgiffon/psm-nets
dec43c26281febf6e5c8b8f42bfb78098ae7101d
[ "MIT" ]
2
2021-07-15T06:12:47.000Z
2021-07-16T10:05:36.000Z
code/palmnet/core/layer_replacer.py
lucgiffon/psm-nets
dec43c26281febf6e5c8b8f42bfb78098ae7101d
[ "MIT" ]
null
null
null
from abc import abstractmethod, ABCMeta import pickle import keras # from self.keras_module.models import Model # from self.keras_module.layers import InputLayer # from self.keras_module.layers import Dense, Conv2D from palmnet.core.palminizable import Palminizable from palmnet.utils import get_idx_last_layer_of_class...
44.280172
180
0.682566
a422fb3416879c75a86139388d6af9e719ed842b
1,469
py
Python
kivyoav/emotion_feedback.py
yglazner/guess_the_bless
99176759b3f3fb6a4fe0b4d32f70be582a0640af
[ "MIT" ]
1
2017-07-18T10:25:43.000Z
2017-07-18T10:25:43.000Z
kivyoav/emotion_feedback.py
yglazner/guess_the_bless
99176759b3f3fb6a4fe0b4d32f70be582a0640af
[ "MIT" ]
null
null
null
kivyoav/emotion_feedback.py
yglazner/guess_the_bless
99176759b3f3fb6a4fe0b4d32f70be582a0640af
[ "MIT" ]
null
null
null
''' Created on Jun 29, 2017 @author: yglazner ''' from kivy.uix.widget import Widget from kivy.properties import * from kivy.uix.boxlayout import BoxLayout from kivy.base import runTouchApp from kivy.uix.slider import Slider Slider if __name__ == '__main__': runTouchApp(EmotionFeedBack())
28.25
92
0.607897
a4233cffbf5beccc2cc2ebc7c2720114c2cce820
1,793
py
Python
solutions/day12/test_lib.py
benjaminarjun/AdventOfCode2020
b9ca2f5c6121c401eb79911dbbbd0d3188f38034
[ "MIT" ]
1
2020-12-04T17:57:24.000Z
2020-12-04T17:57:24.000Z
solutions/day12/test_lib.py
benjaminarjun/AdventOfCode2020
b9ca2f5c6121c401eb79911dbbbd0d3188f38034
[ "MIT" ]
null
null
null
solutions/day12/test_lib.py
benjaminarjun/AdventOfCode2020
b9ca2f5c6121c401eb79911dbbbd0d3188f38034
[ "MIT" ]
null
null
null
import unittest from .results import NavInstruction, Position, Ship
24.902778
53
0.597323
a4239e95f4d189e6430c6fd1dbf406378ad3126c
4,507
py
Python
scripts used in article/clustering_evaluation.py
BoyanZhou/starstr
03280b0b280ef5be351b7ff285e90541baed3d63
[ "Apache-2.0" ]
null
null
null
scripts used in article/clustering_evaluation.py
BoyanZhou/starstr
03280b0b280ef5be351b7ff285e90541baed3d63
[ "Apache-2.0" ]
1
2018-09-06T16:50:46.000Z
2018-09-06T16:50:46.000Z
scripts used in article/clustering_evaluation.py
BoyanZhou/starstr
03280b0b280ef5be351b7ff285e90541baed3d63
[ "Apache-2.0" ]
null
null
null
import sys import numpy as np A = int(sys.argv[2]) # start of the tree threshold B = int(sys.argv[3]) # end of the tree threshold N = int(sys.argv[1]) # repeat number now threshold_list = [i/1000.0 for i in range(A, B)] # compare cluster result with the nwk_tree for i in threshold_list: branch_length_thre...
38.194915
103
0.652319
a423ebdcfa4aac7d6ec8a3988d72013b56326556
236
py
Python
celery/worker_a/__init__.py
tim-barnes/lang-python
3dbbc7f38cec598e32bd1a06827246dcab3a0ced
[ "MIT" ]
1
2021-06-16T23:43:27.000Z
2021-06-16T23:43:27.000Z
celery/worker_a/__init__.py
tim-barnes/lang-python
3dbbc7f38cec598e32bd1a06827246dcab3a0ced
[ "MIT" ]
null
null
null
celery/worker_a/__init__.py
tim-barnes/lang-python
3dbbc7f38cec598e32bd1a06827246dcab3a0ced
[ "MIT" ]
null
null
null
from celery import Celery app = Celery(__name__, broker="redis://redis//") # app.conf.task_routes = { # 'worker_a.pulse': {'queue': 'worker_a'} # }
19.666667
48
0.618644
a4254aa2b6ed63ccd6175aec14c799cb09949454
960
py
Python
main.py
MobinNesari81/Syquation_Solver
9bfa5963d6ecdf0a529603daaee56900dc4b60a9
[ "MIT" ]
1
2022-01-11T13:39:26.000Z
2022-01-11T13:39:26.000Z
main.py
MobinNesari81/Syquation_Solver
9bfa5963d6ecdf0a529603daaee56900dc4b60a9
[ "MIT" ]
null
null
null
main.py
MobinNesari81/Syquation_Solver
9bfa5963d6ecdf0a529603daaee56900dc4b60a9
[ "MIT" ]
null
null
null
# Main file which solve equation import processor coefficient_rows = int(input("Please enter coefficient matrix row numbers: ")) coefficient_columns = int(input("Please enter coefficient matrix column numbers: ")) coefficient_matrix = [[] for _ in range(coefficient_rows)] print("Please enter coefficients in one row the...
48
84
0.760417