Handy functions for manipulating data and automating processes
Project description
handyfuncs | handy functions for manipulating data and automating processes
About
This functions in this package include but are not not limited to:
Data Manipulation
- Merge Dictrionaries
- Convert Dictionary to List
- Get Initials
- Number of Words in String
Automation
- Write to Log
- Run Subprocess
- Current Method Name
- Execute Function
Data Manipulation
Merge Dictionaries
This will not only merge the items in each dictionary but also merge the items in any shared lists
from handyfuncs import merge_dictionaries
d1 = {
'clothes': ['shoes', 'socks', 'ties']
, 'food': ['cheese', 'bananas', 'lentils']
}
d2 = {
'clothes': ['shoes', 'socks', 'shorts', 'hats']
, 'cutlery': ['knives', 'forks']
}
d3 = merge_dictionaries(d1, d2)
Disclaimer
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
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 handyfuncs-0.0.2-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 00f683e26e46a1e71e51384e9287acbbd468eb2172c735a01fec27d2ec21651c |
|
MD5 | 89f5cb7ff372dc9fd55c4be91d6d31be |
|
BLAKE2b-256 | cdc0d852dfa6e8b82cbf651fc8f928050a089326032aca49e6df5b636c5f19a2 |