Nick’s Python Toolbox¶
Nxpy is an etherogeneous collection of libraries, dealing with diverse topics such as wrapping complex commands with API’s, automation of backup files, support for writing your own file-like objects and many other things.
abstract- Additions to the abc standard module
backup_file- File objects with automated backup
command- Wrap complex commands in Python objects
file_object- Stubs for read-only and modifiable file-like objects
file- File related utilities
maven- Tools to execute the Maven build tool and manipulate its configuration
memo- Memoize objects according to a given key
nonblocking_subprocess- Subprocesses with non-blocking I/O
past- Python version support enforcement
path- File system related utilities
ply- Add-ons for the PLY lexer & parser generator
sequence- Sequence related utilities
sort- Sorting functions
svn- High level API for the Subversion version control tool
temp_file- Temporary files that support the context protocol
test- Test support utilities
xml- XML related utility classes
core- Common library infrastructure
- Running the tests
- Generating the documentation
- Creating new releases
The libraries are being developed with Python 3.10 so as to be compatible with Python 2.7. Tests are run and most modules work also with 3.6, 3.7, 3.8 and 3.9. Some should still work with versions as early as 3.2 and 2.5. There is no immediate plan to remove Python 2.x support, but in general earlier releases will only be supported as long as external tools, such as GitHub Actions or pip, keep supporting them.
Originally the libraries resided on SourceForge and were distributed as a single package. Starting from release 1.0.0 each library is being packaged separately even though they are all hosted within the same project on GitHub.
The Nxpy logo was drawn by Claudia Romano.