Skip to main content

Counts helper for inventory items (expired/out/low/total)

Project description

invcounts

A tiny helper providing:

  • summarize_counts(items): returns a dict with totals for expired, out, low.

Usage:

from invcounts import summarize_counts
counts = summarize_counts(items)

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

invcounts-0.1.0.tar.gz (1.4 kB view details)

Uploaded Source

Built Distribution

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

invcounts-0.1.0-py3-none-any.whl (1.8 kB view details)

Uploaded Python 3

File details

Details for the file invcounts-0.1.0.tar.gz.

File metadata

  • Download URL: invcounts-0.1.0.tar.gz
  • Upload date:
  • Size: 1.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.9.24

File hashes

Hashes for invcounts-0.1.0.tar.gz
Algorithm Hash digest
SHA256 67861ad868cf31c7745b9139f69483a8a3294296afccd4853eb5f3059ef41763
MD5 df74d252d94c75f3d083396bff77bb77
BLAKE2b-256 3bb0ec33c33db70a03c1e5e649b009f9136e2ab9475a809073ef24210967b6f5

See more details on using hashes here.

File details

Details for the file invcounts-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: invcounts-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 1.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.9.24

File hashes

Hashes for invcounts-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 34d7077de38e0d36df5d5c74179124fe14a7689ab9c35117f91bdc6389fec66a
MD5 f63f627f06cd80c3dc348a4bf71d0aec
BLAKE2b-256 61f59d3e2e027c4062216d8b6f0b1417f0acbc2ed476e49eb0abe3174bc87a8d

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