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

countertype_sp-0.1.2.tar.gz (2.6 kB view details)

Uploaded Source

Built Distribution

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

countertype_sp-0.1.2-py3-none-any.whl (3.0 kB view details)

Uploaded Python 3

File details

Details for the file countertype_sp-0.1.2.tar.gz.

File metadata

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

File hashes

Hashes for countertype_sp-0.1.2.tar.gz
Algorithm Hash digest
SHA256 f24413fa0fd4d5f00c4acd1ccc76093992d45d58b602c5ccad2441d113c0fc79
MD5 fb47450ac12dede84b29c8fd84002384
BLAKE2b-256 29dd4bbae0f740d25be9bd97e6fae0a7bd9f337177560c15312797561f213bf4

See more details on using hashes here.

File details

Details for the file countertype_sp-0.1.2-py3-none-any.whl.

File metadata

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

File hashes

Hashes for countertype_sp-0.1.2-py3-none-any.whl
Algorithm Hash digest
SHA256 ea963b78622dd09ed9e835651134e30b6904987ac1c07e3f943f3cdeb493277a
MD5 70b3482f80c77961c855a4d3e6c4e943
BLAKE2b-256 fffdb67bbe28bac9d9b8784ded20e656b2abe2c8813e6dd9404112f6f3947238

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