Skip to main content

A sample test package

Project description

FT Package

Overview

ft_package is a simple Python package that calculates the occurrence count of a specific item in a list.

Installation

To install the package, you can build it locally and then use pip:

pip install ft_package_chanwoong1

Usage

Here's how to use the package:

from ft_package import count_in_list

Calculate the occurrence of 'toto' in the list

print(count_in_list(["toto", "tata", "toto"], "toto")) # Output: 2

Calculate the occurrence of 'tutu' in the list (returns 0 since it doesn't exist)

print(count_in_list(["toto", "tata", "toto"], "tutu")) # Output: 0

License

This package is distributed under the MIT license. For more details, please refer to the LICENSE file.

Contact

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

ft_package_chanwoong1-0.0.1.tar.gz (3.3 kB view hashes)

Uploaded Source

Built Distribution

ft_package_chanwoong1-0.0.1-py3-none-any.whl (3.3 kB view hashes)

Uploaded Python 3

Supported by

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