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
- Author: chanwjeo
- Email: chanwjeo@student.42seoul.kr
- GitHub: https://github.com/chanwoong1
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Close
Hashes for ft_package_chanwoong1-0.0.1.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3cb484692e07522d54dc54c3728f7445d56282fcca60fc7d21d815baf6e11b91 |
|
MD5 | 735a6564f74caba3ddfdde31f3765644 |
|
BLAKE2b-256 | 724e8e21ad2a41f2a91faa7c0f6926ecf54229cb269ff32b2e7691ae6292f523 |
Close
Hashes for ft_package_chanwoong1-0.0.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0ac3eddd386b5eed298ea2d5559f48755bd1d86c1d2a73e588d95089ba600d90 |
|
MD5 | 99d7c06f10fc452c9a2e516e40652a50 |
|
BLAKE2b-256 | 3c8055074bfab34baead683fbba662bcb7d7d3c3b12ef414c60d126cc5e13b0c |