Skip to main content

Inspyre Toolbox is a collection of tools designed to simplify programming tasks, reducing repetitive code. Initially for internal use at Inspyre Softworks, it benefits other developers too with features like a live timer, humanize class for numerical operations, extended argparse, process management, and miscellaneous Python helpers.

Project description

Inspyre Toolbox


A collection of kinda useful tools

Python package Lines of Code CodeQL Latest Github Release Latest Stable Release PyPi Version PyPi Version

...But Why?


This toolkit was developed by me in an effort to cut down on having to write the same things over and over again for the various applications I've made. I don't expect that many will find it super useful, but hey, who knows.


Getting Started


The Goodies

(...a word which here means 'the modules and packages'....)

  • .live_timer:

    • Timer:
      A class that keeps real time accurate to the second for you, allowing you to query 'get_elapsed' and get how much time has elapsed since the timer started. Functions include:

      • start:
        Start the timer.
      • pause:
        Pause the timer.
      • unpause:
        Unpause a paused timer.
  • .humanize:

    • Numerical:
      A class that allows you to deal with numbers in your Python programs a little easier. Functions include:

      • commify:
        Return your principle number to you in a commified string form.
      • count_noun:
        Return your number and the proper plural form of the thing your number is representing a count of if it's needed. If it's a singular item, (or, the number is 1)
  • .spanners:

    • .spanner_arg_parse:
      Extend argparse's ArgumentParser by allowing your sub-commands to have aliases!
  • .proc_man:

    A module that contains a way to easily find or kill processes by their name. Functions include:

    • kill_all_by_name:

      Kills all processes with names with a substring that include the string provided as an argument.

    • list_all_by_name:

      Lists all running processes with names with a substring that include the string provided as an argument.

  • .syntactic_sweets:

    Contains miscellaneous helpers to help make your Python programming a little easier. Right now there's one function:

    • suppress_stdout: A file object that while in-use supporesses standard output from the console.

Live Timer


Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

inspyre_toolbox-1.6.0.dev6.tar.gz (78.8 kB view hashes)

Uploaded Source

Built Distribution

inspyre_toolbox-1.6.0.dev6-py3-none-any.whl (115.1 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page