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.3.tar.gz (2.9 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.3-py3-none-any.whl (3.2 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: countertype_sp-0.1.3.tar.gz
  • Upload date:
  • Size: 2.9 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.3.tar.gz
Algorithm Hash digest
SHA256 797486fcd3d57ee2149d99fa375f4d2cccd6f11d0540d8b8237d78b9195bb2c9
MD5 e57f7bdb142c7ef67e1b8cc56a4de654
BLAKE2b-256 31c900c6766db448d3051bc758fe93c3b686166da5615340b207c6831744bac2

See more details on using hashes here.

File details

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

File metadata

  • Download URL: countertype_sp-0.1.3-py3-none-any.whl
  • Upload date:
  • Size: 3.2 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.3-py3-none-any.whl
Algorithm Hash digest
SHA256 28aed3104c45b8b87b56696201343b0a915436e3e22473d79f172fa2de0d3e67
MD5 40c280c57810820f79b7f2c80bd5a839
BLAKE2b-256 bca0608730fe5546045feac33d2b518174fb46b48f2d126d67bc32bdfa2d7b37

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