Characteristics | Sub-Characteristics | Definition |
---|---|---|
Functional suitability | Functional Completeness | degree to which the set of functions covers all the specified tasks and user objectives. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python | |
from math import pi, sqrt, acos, sin | |
import cv2 | |
import matplotlib.pyplot as plt | |
import numpy as np | |
import scipy.ndimage as ndi | |
import skimage.measure as measure | |
from sklearn.linear_model import RANSACRegressor | |
from sklearn.linear_model import LinearRegression |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import concurrent.futures | |
import datetime | |
import inspect | |
import logging | |
import os | |
import time | |
import threading | |
from typing import Callable, Any | |
import dash |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// C++ includes used for precompiling -*- C++ -*- | |
// Copyright (C) 2003-2023 Free Software Foundation, Inc. | |
// | |
// This file is part of the GNU ISO C++ Library. This library is free | |
// software; you can redistribute it and/or modify it under the | |
// terms of the GNU General Public License as published by the | |
// Free Software Foundation; either version 3, or (at your option) | |
// any later version. | |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import argparse | |
import tkinter as tk | |
import PIL.Image | |
import PIL.ImageTk | |
class ImageBrowser: | |
"""Image browser using tkinter, two images are displayed sid-eby-side, with | |
aspect ratio preserved, and allows to navigate using left/right arrow keys |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
"""Read an Excel file -> Write a Python script that will use OpenPyXL to reproduce the Excel file | |
""" | |
import inspect | |
import copy | |
from typing import List | |
import openpyxl | |
imported = {"styles": set()} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python | |
""" | |
Python Daemon template from | |
https://www.jejik.com/articles/2007/02/a_simple_unix_linux_daemon_in_python/ | |
""" | |
import atexit | |
import os | |
import sys | |
import time |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
"""Convert a function into a command line program automatically based on type hints and docstrings | |
""" | |
import argparse | |
import cmath | |
import math | |
import typing | |
from docstring_parser import parse |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
""" | |
Reverse dependencies for homebrew | |
Homebrew gives the package dependencies with `brew deps --installed` which each line of output | |
is `package: dependencies`. It is easy to see which package depends on nothing but difficult to | |
tell if nothing depends on it. Output of this script reversed it. For example, if we want to tell | |
which package can be uninstalled without breaking anything else in homebrew (i.e., output of | |
`brew leaves`), we can get the list with | |
python brewrdeps.py | grep ': $' |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import os | |
import gzip | |
import pickle | |
import dbm | |
import hashlib | |
MYDIR = "." # dir to save files | |
def memoize(dbmfile=os.path.join(MYDIR, "memoize.db"), compress=True): | |
"help save time and bandwidth on heavy functions" |
NewerOlder