Metadata-Version: 2.4
Name: cdfutils
Version: 1.1.1
Summary: A general utility library of miscellaneous functions and classes
Home-page: https://github.com/cdfarrow/cdfutils/wiki
Author: Craig Farrow
License: "GPL-2.0-or-later"
Platform: Windows
Platform: Linux
Classifier: Intended Audience :: Developers
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.6
Classifier: Programming Language :: Python :: 3.7
Classifier: Programming Language :: Python :: 3.8
Classifier: Programming Language :: Python :: 3.9
Classifier: Programming Language :: Python :: 3.10
Classifier: Programming Language :: Python :: 3.11
Classifier: Programming Language :: Python :: 3.12
Classifier: Programming Language :: Python :: 3.13
Requires-Python: >=3.6
Description-Content-Type: text/markdown
License-File: LICENSE.txt
Dynamic: license-file

# cdfutils

_A library of miscellaneous utility functions and classes that I've created for my projects._

## Config

+ ConfigStore: A generic configuration class that persists values in a text file.

## DotNet
_Some general helper classes for use with .NET Windows.Forms_

+ CustomMainMenu: Builds a full MenuStrip from a supplied configuration.
+ CustomToolBar: Builds a ToolStrip from a supplied configuration.
+ SimpleContextMenu: Builds a ContextMenuStrip from a supplied configuration.

Note: these are all breaking changes from 1.0.8; These now use the newer .NET classes instead of MainMenu, ToolBar and ContextMenu, and they need different handling in the calling application. This [article](https://www.codeproject.com/Articles/12953/Upgrading-from-MainMenu-and-ToolBar-to-MenuStrip-a) gives some (although not all) of the details.

## Textfile
_Utility functions for reading from text files_

+ randomLine(): Returns a random line from a file.
+ randomSection(): Returns a random section (delimited by lines starting with #) from a file.
