Skip to main content

Tobias Herp's bag of Python stuff

Project description

README.TXT
~~~~~~~~~~

THeBoPS - Tobias Herp's Bag of Python Stuff
~~~~~~~---~------~~-----~---~--~------~----

This is a collection of Python modules I created over the years and improved
every now and then, while programming for fun at home. Since I consider them
useful and like them a lot, I wanted to have them at work, too, and thus
created this package.

Contained modules are:

anyos.py
Tries to help when developing portable programs; includes a find_progs
function which helps e.g. a suitable *X "find" executable on Windows(tm)
systems (if there is one installed); see thebops.likeix below.

colours.py
Collects information about HTML, CSS, SVG colours

counters.py
A module to help count whatever you want, including different types of
errors, warnings etc.

enhopa.py
The "enhanced option parser".
The optparse/optik module is quite cool. Some consider it outdated because
of the newer argparse module; but argparse can't do everything optparse can
(and vice versa), and thus both have their uses.
The enhopa module does some minor tweaks to optparse; perhaps I'll replace it
one day by a new thebops.optparse module which is done as I like it to be.
See thebops.opo as well, which (of course) doesn't care whether optparse or
thebops.enhopa is used.

errors.py
An error handling module for console programs. To count the errors as well,
use the thebops.counters module.

iscales.py
Collects information about image scales and their names

likeix.py
Collects knowledge how to find certain *X conforming tools on Windows systems
(but of course on *X as well, where they should be present in the PATH),
using the find_progs function from thebops.anyos.

modinfo.py
A module which allows Python modules to tell about themselves

opo.py
optparse options: A collection of often used optparse option definitions,
including some which use callback functions.

rexxbi.py
"REXX builtins"; some functions which are built-in in the scripting language
REXX by Mike Cowlishaw, re-implemented in Python.
See rexxbi_demo.

shtools.py
Some utiltities for console programs, e.g. an "ask" function which
understands choices specifications like "yes,sure:1;no,nope:0;always;never";
see shtools_demo.

termwot.py
This is "Tobias Herp's Terminal Waste of Time". Not very useful, but helps
to make console programs a little bit more fun.
See termwot_demo.

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

thebops-0.1.2.zip (122.7 kB view details)

Uploaded Source

Built Distributions

thebops-0.1.2.win-amd64.zip (474.0 kB view details)

Uploaded Source

thebops-0.1.2.win-amd64.exe (431.2 kB view details)

Uploaded Source

File details

Details for the file thebops-0.1.2.zip.

File metadata

  • Download URL: thebops-0.1.2.zip
  • Upload date:
  • Size: 122.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for thebops-0.1.2.zip
Algorithm Hash digest
SHA256 56fff619c642d51030e2af38a7efee16cc0603929438ec4631f23c99c43884ae
MD5 8740a7175ddeacbefbac1d7280a51b7c
BLAKE2b-256 87fb0f77f6b65a4d51074a940dc9609445f39151d2d3b0820c946cf1f4715d71

See more details on using hashes here.

File details

Details for the file thebops-0.1.2.win-amd64.zip.

File metadata

File hashes

Hashes for thebops-0.1.2.win-amd64.zip
Algorithm Hash digest
SHA256 44bd07378f22017e742a7e740e91bfe4d4b1d7bec68ee401157f74741d4966b2
MD5 7edc8d72229e9d841a4dd5c4c2a85869
BLAKE2b-256 5f2de0e21038932d0f9f77bc8a79f764611ce516a2985c9377fec962fb26b9ce

See more details on using hashes here.

File details

Details for the file thebops-0.1.2.win-amd64.exe.

File metadata

File hashes

Hashes for thebops-0.1.2.win-amd64.exe
Algorithm Hash digest
SHA256 8121b9ed4196b29bb9da39551e57cccd3a0e3888296f89de4d63f3a7bf5f299c
MD5 256ce4b2923c3ade73f0613e13ba634f
BLAKE2b-256 ad96bba65e001629e71e51ae6dba0d64445c1c1e12bd73eb1f6c6d930a4bdf04

See more details on using hashes here.

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