Skip to main content

Library of utilities for python

Project description

Random python utility libraries.



  • Python: 3.*


Install using pip:

pip install utensils


Use tox for testing.



Safe accessors for Python dictionaries

from utensils.dictutils import get_dotted
from utensils.dictutils import set_dotted

foo = {
    'test': [1, 2, 3]

set_dotted(foo, 'bar.dar', 5)

print(get_dotted(foo, 'bar.dar') == 5)
print(get_dotted(foo, 'test[2]') == 3)


  • Make sure that the tests are passing before opening up the PR
  • Create a PR for feature enhancements
  • Once a PR is merged, update version with the following commands:
bumpversion patch
git push origin master --tags


tox creates a package in .tox/dist. Use twine to upload it to pypi:

twine upload .tox/dist/utensils-*.zip

Project details

Download files

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

Files for utensils, version 1.0.1
Filename, size File type Python version Upload date Hashes
Filename, size (19.4 kB) File type Source Python version None Upload date Hashes View

Supported by

Pingdom Pingdom Monitoring Google Google Object Storage and Download Analytics Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page