Skip to main content

Python library that takes in a list/tuple and returns a hash map with an element:count of element in the list/tuple as a key:value pair

Project description

py_functions

Python library that takes in a list/tuple and returns a hash map with an element:count of element in the list/tuple as a key:value pair

py_counter


DESCRIPTION:

py_counter is used to make element counting easier to perform duplicate element finding, or simply count of elements(integers or strings) in a list/tuple easier.


USAGE:
import package name
Create an instance of the class
Create variable and call the counter method referencing the instance that we created


SYNTAX:

import py_counter
variable_name = py_counter.counter([list/tuple])
print(variable_name)


EXAMPLE CODE:

import py_counter
word = py_counter.counter([list/tuple])
print(word)

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

py_counter-1.0.tar.gz (2.2 kB view details)

Uploaded Source

File details

Details for the file py_counter-1.0.tar.gz.

File metadata

  • Download URL: py_counter-1.0.tar.gz
  • Upload date:
  • Size: 2.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/46.1.3 requests-toolbelt/0.9.1 tqdm/4.45.0 CPython/3.6.1

File hashes

Hashes for py_counter-1.0.tar.gz
Algorithm Hash digest
SHA256 7e7d934de60eea6f18f3cd7815471c367a1f4b6499e622dd02ce7a3ab922acf4
MD5 e465858481a34478d5e33b7ce632ef69
BLAKE2b-256 dd55ca0de7d6a273d1fb8809dd221249e9a91124f6eb03e807ab3f79db70e293

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page