A set of utilities to make developing scripts simpler and easier
There are several goals with this project:
-
Provide a useful API for well developed functions with error catching and testing for commonly annoying situations
-
Provide cross-platform implementations of functions (where possible)
-
Give people access to source code to learn how the functions work and just pull what's needed
-
Serve as a repository of general knowledge to share solutions to issues with people
- Run
pip install sdu
orsudo pip3 install sdu
- Clone this repo: (put github/source code link here)
- Run
pip install .
orsudo pip3 install .
in the root directory
For usage please see the API documentation (https://kieranwood.ca/sdu).
For details on how contributing to the project, please see CONTRIBUTING.md, for details on upcoming changes see our roadmap.
For most recent changes see CHANGELOG.md.
This module is used to generate autocomplete files for bash
A module for helpful utilities with generating CLI's such as:
- Clearing the terminal
This module contains many useful utilities for dealing with system paths such as:
- A pre and post processing pipeline for system paths
- Ability to add paths to the PATH variable
Quick and common conversions between types with sensible options such as:
- Converting a dictionary (and second dimension dictionary keys) to defaultdict(s)
Contains a set of common validation schemes such as:
-
Validating number input is between a set value at the command line
-
Validate provided string is an accepted value