Collection of utilities to aid working with python modules.
Project description
module-utilities
A Python package for creating python modules.
Overview
I was using the same code snippets over and over, so decided to put them in one place.
Features
-
cached
: A module to cache class attributes and methods. Right now, this uses a standard python dictionary for storage. Future versions will hopefully integrate with something like cachetools. -
docfiller
: A module to share documentation. This is addapted from the pandasdoc
decorator. There are some convenience functions and classes for sharing documentation.
Status
This package is actively used by the author. Please feel free to create a pull request for wanted features and suggestions!
Quick start
Use one of the following
pip install module-utilities
or
conda install -c wpk-nist module-utilities
Example usage
import module_utilities
License
This is free software. See LICENSE.
Related work
Any other stuff to metion....
Contact
The author can be reached at wpk@nist.gov.
Credits
This package was created with Cookiecutter and the wpk-nist-gov/cookiecutter-pypackage Project template forked from audreyr/cookiecutter-pypackage.
Changelog
Changelog for module-utilities
Unreleased
See the fragment files in changelog.d
v0.1.0 — 2023-05-01
Added
- Add typing support. Passing mypy, pyright, pytype.
This software was developed by employees of the National Institute of Standards and Technology (NIST), an agency of the Federal Government. Pursuant to title 17 United States Code Section 105, works of NIST employees are not subject to copyright protection in the United States and are considered to be in the public domain. Permission to freely use, copy, modify, and distribute this software and its documentation without fee is hereby granted, provided that this notice and disclaimer of warranty appears in all copies.
THE SOFTWARE IS PROVIDED 'AS IS' WITHOUT ANY WARRANTY OF ANY KIND, EITHER EXPRESSED, IMPLIED, OR STATUTORY, INCLUDING, BUT NOT LIMITED TO, ANY WARRANTY THAT THE SOFTWARE WILL CONFORM TO SPECIFICATIONS, ANY IMPLIED WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE, AND FREEDOM FROM INFRINGEMENT, AND ANY WARRANTY THAT THE DOCUMENTATION WILL CONFORM TO THE SOFTWARE, OR ANY WARRANTY THAT THE SOFTWARE WILL BE ERROR FREE. IN NO EVENT SHALL NIST BE LIABLE FOR ANY DAMAGES, INCLUDING, BUT NOT LIMITED TO, DIRECT, INDIRECT, SPECIAL OR CONSEQUENTIAL DAMAGES, ARISING OUT OF, RESULTING FROM, OR IN ANY WAY CONNECTED WITH THIS SOFTWARE, WHETHER OR NOT BASED UPON WARRANTY, CONTRACT, TORT, OR OTHERWISE, WHETHER OR NOT INJURY WAS SUSTAINED BY PERSONS OR PROPERTY OR OTHERWISE, AND WHETHER OR NOT LOSS WAS SUSTAINED FROM, OR AROSE OUT OF THE RESULTS OF, OR USE OF, THE SOFTWARE OR SERVICES PROVIDED HEREUNDER.
Distributions of NIST software should also include copyright and licensing statements of any third-party software that are legally bundled with the code in compliance with the conditions of those licenses.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Hashes for module_utilities-0.1.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 54691933f51987f00a45704cf3a1eee9cc11a82627b6fcbd5c8a5bdc6edae19c |
|
MD5 | 527fe1ef825c09e5584ff9b7107504d1 |
|
BLAKE2b-256 | 8fbd4a642ec3bc1e104e18e67325c177836f1bc013f1fe58cfb03b249537f911 |