A simple utility package
Project description
ft_package
A simple Python package with useful utility functions.
Build:
run in the terminal inside the ft_package main directory: pip install build twine
run in the terminal inside the ft_package main directory: python3 -m build
run in the terminal inside the ft_package main directory: twine upload dist/* and enter this api key : pypi-AgEIcHlwaS5vcmcCJGRmNDVjZmZkLWFjMGQtNDBmZi1iN2Y3LTM3MmMzZTUwOTZmYgACKlszLCJkNGQwODA1NS01ZGUwLTQyYmYtOWE3MS1jNTVmZmEwMjEyY2MiXQAABiAHbFCUDfVctBnYSLEti0nddRjhEx7XIQmFmqgwum9MaA
Installation:
pip install ft-package
Usage:
from ft_package import count_in_list, unique_elements, flatten_list, reverse_string
print(count_in_list(["apple", "banana", "apple"], "apple")) # Output: 2
print(unique_elements([1, 2, 2, 3, 4])) # Output: [1, 2, 3, 4]
print(flatten_list([[1, 2], [3, 4], [5]])) # Output: [1, 2, 3, 4, 5]
print(reverse_string("hello")) # Output: "olleh"
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
jfatfat_package-0.0.1.tar.gz
(2.7 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file jfatfat_package-0.0.1.tar.gz.
File metadata
- Download URL: jfatfat_package-0.0.1.tar.gz
- Upload date:
- Size: 2.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.12.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
a91282a95fd7f2d8bb9ccf2b28a1a3d6aeb8b1f5f89f9545ca6647adaa36564c
|
|
| MD5 |
fbf0d48ad177f37209abbea6c707cd9b
|
|
| BLAKE2b-256 |
d84f81c47d366471158df7782c7a812681a81ce1f30b3784031af85d216b68ab
|
File details
Details for the file jfatfat_package-0.0.1-py3-none-any.whl.
File metadata
- Download URL: jfatfat_package-0.0.1-py3-none-any.whl
- Upload date:
- Size: 2.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.12.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
cf34a4b270327c30b6ed94bd5fda58f78a43bd8debaeb366834a1d8224bd879d
|
|
| MD5 |
b7cde3189f79400c71203a13f156e2c4
|
|
| BLAKE2b-256 |
812fc01e8f9955870697b61c52430033355737889e644ba87ac684e28e0118f7
|