HTASK
htask is a Python package designed to simplify the process of solving common problems that students frequently encounter while coding. With just one line of code, htask helps you reduce the amount of code you write, making it easier to implement solutions for various tasks.
Features
- Pattern Generation: Create and display various patterns easily.
- Right-angle triangle
- Inverse Right-angle triangle
- Pascal's Triangle
- Hollow Square
- Hollow Triangle
- Inverse Pyramid
- Pyramid
- Diamond
- Square
- Fibonacci Series: Generate Fibonacci numbers with minimal effort.
- Check Palindrome: Easily check if a given string is a palindrome.
- Reverse a String: Reverse any string with a simple function.
- Duplicate Element: Identify duplicate elements in a list.
Installation
pip install htask
USAGE
import htask
# [1] Right-Angled Triangle
htask.RAT(5, "*")
# [2] Inverted Right-Angled Triangle
htask.IRAT(5, "*")
# [3] Pyramid
htask.PRM(5, "*")
# [4] Inverse Pyramid
htask.IPRM(5, "*")
# [5] Diamond
htask.DIA(5, "*")
# [6] Square
htask.SQR(5, "*")
# [7] Hollow Square
htask.HSQR(5, "*")
# [8] Hollow Triangle
htask.HTRI(5, "*")
# [9] Hourglass
htask.HGLASS(5, "*")
#[10] Fibnacci series
htask.fib(5)
#[11] Check palidrome
htask.palindrome("civic")
#[12] Reverse string
htask.rev("civic")
#[13]Find Duplicate element
arr = [1,2,3,4,5,6,7,8,1,9,11,5,3]
htask.duplicate(arr)
License
This project is licensed under the MIT License. See the LICENSE file for details.
Contributing
Contributions to htask are welcome! If you have suggestions, improvements, or bug fixes, please fork the repository and submit a pull request. Ensure your contributions adhere to the coding standards and include appropriate documentation.
Contact
For any inquiries or feedback, please contact:
- Author: Ankush Kumar Rajput (Mr.Horbio)
- GitHub: https://github.com/MrHorbio/bpix/blob/main/bpix_package/README.md
- Youtube: https://www.youtube.com/@Mr-Horbio
Thank you for using htask!
Metadata
Release files for htask 1.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| htask-1.0.tar.gz | 4.0 kB | Without provenance | Details for htask-1.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| htask-1.0-py3-none-any.whl | Python 3 | none | any | Details for htask-1.0-py3-none-any.whl |
Total release size: 8.4 kB
Release files / htask-1.0.tar.gz
| Download URL | htask-1.0.tar.gz |
|---|---|
| Size | 4.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
c3a0c1ab487522fdbf1cc7fbccb7b59e852d02bd68589c96e5d5d7275d2901ac
|
|
BLAKE2b-256 checksum How to use checksums |
35928812e622e48a9234afb529308ec2ac8b93ecade427dfa18097f7e9f20a0d
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.1.1 CPython/3.12.6
|
Release files / htask-1.0-py3-none-any.whl
| Download URL | htask-1.0-py3-none-any.whl |
|---|---|
| Size | 4.4 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
70b248174c39264a18ff5b26ef85954155b5c2e05eee9bffc3cce388b7bd5a70
|
|
BLAKE2b-256 checksum How to use checksums |
5c4fa32cf976e6d9d4128a701c22c93abe4cfef31634cef2c3d68098553f6981
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.1.1 CPython/3.12.6
|
Security for htask 1.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.