Nick’s Python Toolchest¶
Note
This is the legacy version of the Nxpy libraries, distributed as a single package and hosted on SourceForge. The project has moved to GitHub.
Note
The most up to date version of the documentation you are reading resides at the project’s website on SourceForge.
Nxpy is an etherogeneous collection of useful modules, dealing with diverse topics such as wrapping complex commands with API’s or interacting with Java and .NET build systems. There are also more basic utilities, such as automation of backup files, support for writing your own file-like objects and many other things.
The library is being developed with Python 3.6 so as to be compatible with Python 2.7. Tests are run and most modules work also with 2.6, 3.3, 3.4 and 3.5. Some should still work with 3.2 and 2.5.
Important
Nxpy is a personal project and, while I use a good part of its contents on an almost daily basis, my use cases are too specific to guarantee that everything works as expected.
The Nxpy logo was drawn by Claudia Romano.
core
- The basicsabstract
- Additions to the abc standard moduleasync_subprocess
- Subprocesses with non-blocking I/Obackup_file
- File objects with automated backuperror
-nxpy
’s exception hierarchyfile_object
- Stubs for read-only and modifiable file-like objectsfile
- File related utilitiesmemo
- Memoize objects according to a given keypast
- Python version support enforcementpath
- File system related utilitiessequence
- Sequence related utilitiessort
- Sorting functionstemp_file
- Temporary files that support the context protocol
ccase
- An API for the ClearCase version control toolccase.test
- Test utilities for theccase
packagecommand
- Wrap complex commands in Python objectsetree
- Add-ons for the ElemenTree librarymaven
- Tools to execute the Maven build tool and manipulate its configurationmsvs
- Handling of Microsoft Visual Studio configuration filesply
- Add-ons for the PLY lexer & parser generatorscons
- Add-ons for the SCons build toolsvn
- High level API for the Subversion version control tooltest
- Test support utilitieswx
- Add-ons for the wxPython frameworkxml
- XML related utility classes- Running the tests
- Generating the documentation
- Creating a new release