Skip to main content

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, to get an api key, go to your account on PyPI and generate a new api key
run in the terminal inside the ft_package main directory: pip install jfatfat-package
now, you can run the tests inside ft_package/tests/ directory

Installation:
pip install jfatfat-package

Usage:
from ft_package import count_in_list, flatten_list, reverse_string

print(count_in_list(["apple", "banana", "apple"], "apple")) # Output: 2
print(flatten_list([[1, 2], [3, 4], [5]])) # Output: [1, 2, 3, 4, 5]
print(reverse_string("hello")) # Output: "olleh"

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

jfatfat_package-0.0.3.tar.gz (2.4 kB view details)

Uploaded Source

Built Distribution

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

jfatfat_package-0.0.3-py3-none-any.whl (2.7 kB view details)

Uploaded Python 3

File details

Details for the file jfatfat_package-0.0.3.tar.gz.

File metadata

  • Download URL: jfatfat_package-0.0.3.tar.gz
  • Upload date:
  • Size: 2.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.10.12

File hashes

Hashes for jfatfat_package-0.0.3.tar.gz
Algorithm Hash digest
SHA256 4b106dd86d3d36e3429be581ed11c94a55ff6d0925f762051ff554a42e3f4004
MD5 5711db4a90d81b2940a43caef5057783
BLAKE2b-256 14c5bac7f8e64d16190d0310b32b40c98dac3c36e7aa3c84d21ff58af2b0919b

See more details on using hashes here.

File details

Details for the file jfatfat_package-0.0.3-py3-none-any.whl.

File metadata

File hashes

Hashes for jfatfat_package-0.0.3-py3-none-any.whl
Algorithm Hash digest
SHA256 1df60dc649cd1f7014908d233d7fb4218aa388fe18b16ab293f92fb1a9df9778
MD5 2ad272377f77e333118a3fc1bab5ff4b
BLAKE2b-256 f50a0cc3ef7510d0c14f73d4c410613b38f7b41f04a0959f9161215c435b7b5a

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