A Great Python Library by Subhra Chakraborti
Project description
PyCersi
DEVELOPED BY SUBHRA CHAKRABORTI
LAST UPDATE: 31ST AUGUST 2024
VERSION: 4.0.0
Overview
PyCersi is a simple Python library that provides essential tools for number fuctions (described below). It is easy to use, lightweight, and can be integrated into various Python projects.
Features
PyCersi offers a collection of number-related utilities that can simplify common mathematical tasks:
-
Searchers
Fibonacci Upto Program : fibouptoFibonacci Range Program : fiborangeFloyd Triangle ProgramGreatest Common Divisor ProgramLeast Common Multiple Program
-
Number Property Checkers
Abundant Number CheckerArmstrong Number CheckerAutomorphic Number CheckerBuzz Number CheckerCircular Prime Number CheckerCurzon Number CheckerComposite Number CheckerCoPrime Number CheckerDisarium Number CheckerDudeney Number CheckerDuck Number CheckerEven Number CheckerFibonacci Number CheckerHappy Number CheckerHarshad Number CheckerHeteromecic Number CheckerKrishnamurthy Number CheckerMagic Number CheckerNeon Number CheckerNiven Number CheckerOblong Number CheckerOdd Number CheckerPalindrome Number CheckerPerfect Number CheckerPrime Number CheckerPronic Number CheckerSunny Number CheckerSpecial Number CheckerSpy Number CheckerTwin Prime Number CheckerTwisted Prime CheckerUnique Number CheckerTech Number CheckerUgly Number Checker
-
Mathematical Functions
Area of Circle : ar_circleArea of Rectangle : ar_rectArea of Triangle : ar_triangleDigit to Word ConverterFactorial CalculatorFactors Calculator
-
Stack Functions
Push Into Stack : s_pushPop Out Of Stack : s_pushSize Of Stack : s_sizeUnderflow Stack Checker : s_emptyTop Of Stack : s_topDisplay Stack : s_display
These functions are designed to help you perform common number-related operations efficiently and can be easily integrated into larger projects.
Installation
PyCersi is available on PyPI and can be installed using pip on various platforms including Windows, macOS, and Linux.
Windows
- Install Python: Make sure Python is installed on your system. You can download it from the official Python website.
- Open Command Prompt: Press
Win + R, typecmd, and hit Enter. - Run the pip command:
pip install pycersi
macOS
- Install Python: Ensure Python is installed. You can use Homebrew to install it:
brew install python
- Open Terminal: You can find Terminal in Applications > Utilities.
pip3 install pycersi
Linux (Ubuntu/Debian-based)
- Update Packages:
sudo apt update
- Install Python and pip:
sudo apt install python3 python3-pip
- Run the pip command:
pip3 install pycersi
Using The Functions
- For using any searchers functions from PyCersi module, use:
pycersi.<name>(limit).
- Example:
pycersi.fibo(limit)
- For using any checker functions from PyCersi module, use:
pycersi.is<name>(value).
- Example:
pycersi.issunny(value)
- For using any mathematical function from PyCersi module, use:
pycersi.cal<name>(value).
- Example:
pycesi.calfact(value)
- For using any stack function from PyCersi module, use:
pycersi.s_<name>(stack,[element]).
- Example:
pycesi.s_top(book_stack)
Contributing
I welcome contributions to the project! If you want to contribute, please follow these steps:
Fork the repository.
- Create a new branch (
git checkout -b feature-branch). - Make your changes and commit them (
git commit -m 'Add some feature'). - Push to the branch (
git push origin feature-branch). - Create a pull request. Please make sure your code follows the project's coding standards and includes tests.
License
This project is licensed under the MIT License - see the LICENSE file for details.
Contact
If you have any questions, feel free to open an issue or contact me directly at mail@subhrachakraborti.
Acknowledgments
-
- Math Library
-
- Python Org
-
- Visual Studio Code
-
- GitHub
-
- Microsoft Corporation
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
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 pycersi-4.0.0.tar.gz.
File metadata
- Download URL: pycersi-4.0.0.tar.gz
- Upload date:
- Size: 6.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.11.5
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
1eecf51e2ee099b49e10c8e0b7f05d0470b4c2d77ed39415dd7eefac0953f410
|
|
| MD5 |
31e1af06435e90d40a8c639ae4ead08b
|
|
| BLAKE2b-256 |
115c87475384c07456c1cc1f9577755710a878f670732b5eda3ec51a7c622369
|
File details
Details for the file pycersi-4.0.0-py3-none-any.whl.
File metadata
- Download URL: pycersi-4.0.0-py3-none-any.whl
- Upload date:
- Size: 6.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.11.5
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
920cbac376a4c15a24032a8d953759c7937394be92afecf7eef9b59846907b03
|
|
| MD5 |
6e3028610f08cf72954c2803d385327e
|
|
| BLAKE2b-256 |
8837b6102c77d6e485f2606c75d84b2718e6f2f9a36f2b95ec992995218473bd
|