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 details)

Uploaded Source

Built Distribution

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

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

Uploaded Python 3

File details

Details for the file ft_package_chanwoong1-0.0.1.tar.gz.

File metadata

  • Download URL: ft_package_chanwoong1-0.0.1.tar.gz
  • Upload date:
  • Size: 3.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.11.4

File hashes

Hashes for ft_package_chanwoong1-0.0.1.tar.gz
Algorithm Hash digest
SHA256 3cb484692e07522d54dc54c3728f7445d56282fcca60fc7d21d815baf6e11b91
MD5 735a6564f74caba3ddfdde31f3765644
BLAKE2b-256 724e8e21ad2a41f2a91faa7c0f6926ecf54229cb269ff32b2e7691ae6292f523

See more details on using hashes here.

File details

Details for the file ft_package_chanwoong1-0.0.1-py3-none-any.whl.

File metadata

File hashes

Hashes for ft_package_chanwoong1-0.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 0ac3eddd386b5eed298ea2d5559f48755bd1d86c1d2a73e588d95089ba600d90
MD5 99d7c06f10fc452c9a2e516e40652a50
BLAKE2b-256 3c8055074bfab34baead683fbba662bcb7d7d3c3b12ef414c60d126cc5e13b0c

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