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.41.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.41-py3-none-any.whl (25.6 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: dobishem-0.0.41.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.41.tar.gz
Algorithm Hash digest
SHA256 5982fa5928528b85e84f57d16a32bd82f0ec5cf4c277b4a861dec31086d8a97b
MD5 0240eb517793f39033be82adc7af49aa
BLAKE2b-256 eae3adcac576cdd16158282a320ac456c6aa1fa86cc16473bb31f4d6f1739870

See more details on using hashes here.

File details

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

File metadata

  • Download URL: dobishem-0.0.41-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.41-py3-none-any.whl
Algorithm Hash digest
SHA256 013dc811cdc2e3d4482866f2e56518ba1f99f8bec362b36d4926b0eec5b601de
MD5 205d2fe3766dbe1a5c40f92f35427bfc
BLAKE2b-256 bc966b8bd9054a5d5f9c551ce783f22bf7af160706005c269e25befca66c5206

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