Skip to main content

Python utilities for my other packages

Project description

dobishem

My utility code, written to be useful for more than one specific project.

The name is Albanian for "useful"; there are so many packages called "utils", and I wrote the initial version of this code in Albania, so I picked a local name to make it easier to spot among all the "utils".

Contains I/O and file-based caching for a start.

storage

This provides:

  • readers and writers for various formats, with particular attention to CSV, which it can arrange into lists, dictionaries and sets in ways that I have found useful. Also, some dispatch functions for using the appropriate reader and writer functions according to the filenames.

  • storage handlers which build filenames from templates

  • functions for applying functions to files, including acting conditionally according to the relative filestamps (makefile style)

tabular_text

Read and write org-mode files (see https://orgmode.org/)

data

Contains some support functions for tabular data.

nested_messages

Provides context handlers for indented messages, where each handler adds another level of indentation, which disappears when the handler exits.

dates

Normalization of dates, and some functions for going back or forward dates. I'll probably remove this sometime, as https://pypi.org/project/python-dateutil/ and https://pypi.org/project/dateutils/ already handle these.

Source

The source of dobishem is at https://github.com/hillwithsmallfields/dobishem

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

dobishem-0.0.40.tar.gz (27.4 kB view details)

Uploaded Source

Built Distribution

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

dobishem-0.0.40-py3-none-any.whl (25.6 kB view details)

Uploaded Python 3

File details

Details for the file dobishem-0.0.40.tar.gz.

File metadata

  • Download URL: dobishem-0.0.40.tar.gz
  • Upload date:
  • Size: 27.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.5

File hashes

Hashes for dobishem-0.0.40.tar.gz
Algorithm Hash digest
SHA256 91c0f246f2250807c6768bfaf3c8c137ffb493e7dd618821c40aa359590bf02f
MD5 1af6f775f55e659cd7cdf8c8534c2fb7
BLAKE2b-256 eb352e6e99a7eaa1bbc24c92e2ea3077660bdcc1ab90ac13f1eb00883a1caf2d

See more details on using hashes here.

File details

Details for the file dobishem-0.0.40-py3-none-any.whl.

File metadata

  • Download URL: dobishem-0.0.40-py3-none-any.whl
  • Upload date:
  • Size: 25.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.5

File hashes

Hashes for dobishem-0.0.40-py3-none-any.whl
Algorithm Hash digest
SHA256 df76d33f1665c04619093264ec97b0c666132c209fc4d4e4150534d6042d7954
MD5 1b79301b79e548c834dd4389b02c74f8
BLAKE2b-256 21b52e146c0cf15c771b58575be326951356eabbcaecb13495885c84b51c784b

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