Menu

Tree [36dcba] main /
 History

HTTPS access


File Date Author Commit
 .github 2025-02-08 Walter Eaves Walter Eaves [2bcff2] rewrite name to pitono.buildr
 contrib 2025-03-10 Walter Eaves Walter Eaves [b3a0ca] -
 etc 2025-04-01 Walter Eaves Walter Eaves [36dcba] subset is hard to perfect
 src 2025-04-01 Walter Eaves Walter Eaves [36dcba] subset is hard to perfect
 LICENCE 2025-02-08 Walter Eaves Walter Eaves [2bcff2] rewrite name to pitono.buildr
 MANIFEST.in 2025-02-08 Walter Eaves Walter Eaves [7bb49e] test_simple builds and tests
 README.md 2025-03-10 Walter Eaves Walter Eaves [b3a0ca] -
 defs.mk 2025-03-10 Walter Eaves Walter Eaves [1fe5c1] -
 noxfile.py 2025-02-08 Walter Eaves Walter Eaves [2bcff2] rewrite name to pitono.buildr
 requirements.txt 2025-02-21 Walter Eaves Walter Eaves [909615] -
 LICENSE 2025-02-08 Walter Eaves Walter Eaves [2bcff2] rewrite name to pitono.buildr
 pyproject.toml 2025-02-08 Walter Eaves Walter Eaves [7740a4] choose project

Read Me

Python Build Utilities

Python Logo

This README is just an introduction. There is a more detailed discussion in contrib/.

This packages provides some useful utilities for Python systems.

It is packaged as a module within in Python namespace.

The modules and classes are

from pitono.buildr import Pdb0

Pdb0().trap0 = 5
# and then in your code 
Pdb0().trap1 = 5

This will then break in your code. You will break inside the Pdb0().trap1 method. You use "u" to see the Pdb0().trap1 line.

This can be more useful than inserting import pdb; pdb.set_trace() statements in your code. The trap0 statement can be activated late in the client code to trap particular conditions.

There are many other utilities in the module. Pdb0Helper0 is very useful. It can pickle using the "dill" module. It can simplify and centralize logging. And it can pretty-print structures to JSON.

There is an application framework of Singleton objects - Helper0. See my other project pitono.weaves.config for how this is used to manage configurations from TOML, JSON and .netrc files.

There is a outline of a pipeline processing system in

pitono.buildr.fajfado

There are utility scripts in pitono.buildr.ekstra. These can convert a pickle file to JSON and a JSON file to XML.

The pitono.buildr.tests has a useful utility class Envs0 for managing the HOME and PWD directories seen by test classes. It can set up the environment to use the directories in tests/home0 and tests/home1.

The package and its modules are extensively used by the other packages in the pitono namespace.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.