Skip to main content

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

  1. Merge Dictrionaries
  2. Convert Dictionary to List
  3. Get Initials
  4. Number of Words in String

Automation

  1. Write to Log
  2. Run Subprocess
  3. Current Method Name
  4. 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


Download files

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

Source Distribution

handyfuncs-0.0.2.tar.gz (6.0 kB view details)

Uploaded Source

Built Distribution

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

handyfuncs-0.0.2-py3-none-any.whl (6.6 kB view details)

Uploaded Python 3

File details

Details for the file handyfuncs-0.0.2.tar.gz.

File metadata

  • Download URL: handyfuncs-0.0.2.tar.gz
  • Upload date:
  • Size: 6.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.0.0 CPython/3.8.10

File hashes

Hashes for handyfuncs-0.0.2.tar.gz
Algorithm Hash digest
SHA256 0da58077b0cf41421f1bdaaf9381bc4352b32478a980569a3323814988376a6b
MD5 42eeaad209198a8cabba609384879c97
BLAKE2b-256 b47828a66968b379b4da221508191d23f7d0c4f833e9e70a962a5ae5412b3f55

See more details on using hashes here.

File details

Details for the file handyfuncs-0.0.2-py3-none-any.whl.

File metadata

  • Download URL: handyfuncs-0.0.2-py3-none-any.whl
  • Upload date:
  • Size: 6.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.0.0 CPython/3.8.10

File hashes

Hashes for handyfuncs-0.0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 00f683e26e46a1e71e51384e9287acbbd468eb2172c735a01fec27d2ec21651c
MD5 89f5cb7ff372dc9fd55c4be91d6d31be
BLAKE2b-256 cdc0d852dfa6e8b82cbf651fc8f928050a089326032aca49e6df5b636c5f19a2

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