Skip to main content

Your package description here

Project description

counttypes

Count types in a list - int, float, str, bool, list, set, dict, tuple

Example

from countertypes import CountTypes

data = [1, 2.2, 'hello', [1, 2], {'a': 1}]
counter = CountTypes(data)
print(counter.NonZeroTotal())

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

counttype-0.1.0.tar.gz (2.7 kB view details)

Uploaded Source

Built Distribution

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

counttype-0.1.0-py3-none-any.whl (3.1 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: counttype-0.1.0.tar.gz
  • Upload date:
  • Size: 2.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.1

File hashes

Hashes for counttype-0.1.0.tar.gz
Algorithm Hash digest
SHA256 2bf505d217c1c032cc49edb5d758185dbcabaea1becb02a6b649c6fced356616
MD5 fa8c0ba28760bba27635edba186e782f
BLAKE2b-256 0ec36c0e99499eb52c05a7262f01cb39e5cf892854ff63d251b3db410c00d7ea

See more details on using hashes here.

File details

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

File metadata

  • Download URL: counttype-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 3.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.1

File hashes

Hashes for counttype-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 12ac7f0ddf91b69e50fd96dc508ed43ade2bb25115ba4425dcc5d2cfe06950af
MD5 c962a00e8241703728a29440010e4e9e
BLAKE2b-256 32d610e85c2b8334f86ad9d50118cd2033a9dcfe47d487cb1c6759ed8af1b806

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