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

If you're not sure about the file name format, learn more about wheel file names.

cdfutils-1.1.1-py3-none-any.whl (16.8 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: cdfutils-1.1.1-py3-none-any.whl
  • Upload date:
  • Size: 16.8 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.1-py3-none-any.whl
Algorithm Hash digest
SHA256 77effa8f1bd68a9756ed3ffe720cf5c9f93524b4fdeadae11caa50e55151a93e
MD5 10e6c9be9687f63abf0e643b19c759dd
BLAKE2b-256 21d3f202a90e7c7669ee43ae2dd058ca00dd9c4f9fcc6bafe4e4fc1ce765f394

See more details on using hashes here.

Supported by

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