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.4.tar.gz (4.4 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.4-py3-none-any.whl (4.8 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: countertype_sp-0.1.4.tar.gz
  • Upload date:
  • Size: 4.4 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.4.tar.gz
Algorithm Hash digest
SHA256 40aa850c85400495a74de50d1c0a995731c10a0ee218d72cc9f2405fe37454c1
MD5 d5758a3c92c50fac76cd6b5957c0804d
BLAKE2b-256 5402bae195fa33c561fb7cb8d97d8a2fc07d71bdc2adaf16a90bb9292a16d780

See more details on using hashes here.

File details

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

File metadata

  • Download URL: countertype_sp-0.1.4-py3-none-any.whl
  • Upload date:
  • Size: 4.8 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.4-py3-none-any.whl
Algorithm Hash digest
SHA256 6a94601b460153e43c4b784ccf637ac1bda2d3fc39db36dc824ca38e17af05b8
MD5 a30911cebbf0c7e6ec71fe6711bf535a
BLAKE2b-256 5b56e7768b27cbef6f13dc5991b7334162df9978509b18a1695ff2434db218cd

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