Skip to main content

A general utility library of miscellaneous functions and classes

Project description

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 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.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

cdfutils-1.1.0-py3-none-any.whl (14.5 kB view details)

Uploaded Python 3

File details

Details for the file cdfutils-1.1.0-py3-none-any.whl.

File metadata

  • Download URL: cdfutils-1.1.0-py3-none-any.whl
  • Upload date:
  • Size: 14.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.5

File hashes

Hashes for cdfutils-1.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 ebd21a8a4ec6fb52beb012a58348feb273c99e68ffae5eb3b6d19d362cdfb648
MD5 a85a589d4afd040295232bd8e9f1b44e
BLAKE2b-256 539bcccd6361eb8165cb2c4382d78cade7f42345a3c2eb6aebeaeb4ea0b07f04

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page