PyCersi is a lightweight Python library for number-related utilities. It offers mathematical functions, checkers, and stack operations, simplifying common tasks. Easy to install via pip , it's designed for efficient integration into various Python projects.
Project description
PyCersi
DEVELOPED BY SUBHRA CHAKRABORTI
LAST UPDATE: 26 JULY 2025
VERSION: 6.1.0
Overview
PyCersi is a simple Python library that provides essential tools for number functions (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:
-
Mathematical Constants
Euler's Constant (e)Golden Ratio (GR)Logarithm of e (loge)Pi (pi)
-
Physical Constants
Astronomical Unit (AU)Bohr Radius (a0)Electric Permitivity (Eo)Elementary Charge (Q)Fine Structure Constant (fsc)Gravitational Constant (G)Light Year (LY)Magnetic Permeability (Muo)Mass of Earth (ME)Mass of Electron (me)Mass of Neutron (mn)Mass of Proton (mp)Mass of Sun (MS)Planck's Constant (h)Parsec (PC)Reduced Plank Constant (hbar)Speed of Light (c)
-
Additional Constants
Avogadro's Number (NA)Boltzmann Constant (BK)Chandrashekhar Limit (CSK)Faraday's Constant (F)Gas Constant (R)Hubble's Constant (H)Stefan-Boltzmann Constant (SBK)
-
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_triangleCombination Calculator : combDigit to Word Converter : digiwordsFactorial Calculator : factFactors Calculator : factorPermutation Calculator : perm
-
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
-
PyCersi Privator (Tkinter Module is required)
Data EncryptorData Decryptor
-
PyCersi AI BOT (TTKbootstrap & Google GenerativeAI Module is required)
AI Bot: botAI Bot (Lite Version: To Run On Web Compiler Too) : liteBot
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.
PyCersi can also be installed in an automatic process for Windows using a .bat file. Click here
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
pip install ttkbootstrap google-generativeai
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
pip install ttkbootstrap google-generativeai
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
pip install ttkbootstrap google-generativeai
Using The Functions
-
For using any searchers functions from PyCersi module, use:
pycersi.<name>(limit).- Example:
pycersi.fibo(limit)
- Example:
-
For using any checker functions from PyCersi module, use:
pycersi.is<name>(value).- Example:
pycersi.issunny(value)
- Example:
-
For using any mathematical function from PyCersi module, use:
pycersi.cal<name>(value).- Example:
pycesi.calfact(value)
- Example:
-
For using any stack function from PyCersi module, use:
pycersi.s_<name>(stack,[element]).- Example:
pycesi.s_top(book_stack)
- Example:
-
For using Pycersi Privator, use:
pycersi.privator().- Example:
pycersi.privator()
- Example:
-
For using Pycersi Bot, use:
pycersi.bot().- Example:
pycersi.bot()
- Example:
-
For using Pycersi Bot (Lite Version), use:
pycersi.liteBot().- Example:
pycersi.liteBot()
- Example:
Contributing
I welcome contributions to the project! If you want to contribute, please follow these steps:
Steps to Contribute:
-
Fork the repository:
- Click the "Fork" button at the top right of the repository page to create a copy of the repository on your GitHub account.
-
Create a new branch:
- Clone your forked repository to your local machine.
- Create a new branch for your feature or bug fix:
git checkout -b feature-branch
-
Make your changes:
- Make sure your changes follow the project's coding standards.
- Once you're satisfied with your changes, commit them:
git commit -m 'Add some feature'
-
Push your changes:
- Push your changes to your forked repository:
git push origin feature-branch
- Push your changes to your forked repository:
-
Create a pull request:
- Open a pull request from your feature branch in your forked repository to the main branch in the original repository.
- Please ensure that your code includes relevant tests and follows the project's guidelines.
Guidelines:
- Code Style: Ensure your code follows the project's coding style and is well-structured.
- Testing: Make sure that your code is tested and includes appropriate unit tests.
- Documentation: Update documentation if necessary for any changes or new features.
- Pull Request Review: Be patient as maintainers review your pull request and possibly request changes.
Thank you for contributing to PyCersi! Your help is appreciated.
License
This project is licensed under the MIT License - see the LICENSE file for details.
Security & Safety
This project is designed to simplify and accelerate everyday tasks, making your work life smoother and more efficient. It is crafted with the utmost care and attention to detail, ensuring that no security vulnerabilities or exceptions occur during its runtime.
I am deeply committed to making the web a better, safer place. This project is not malware, and any attempt to misuse it as such is highly condemnable and goes against its core purpose. Let’s work together to create a positive impact and enhance our digital experiences.
Contact
If you have any questions, feel free to open an issue or contact me directly at mail@subhrachakraborti.
Acknowledgments
- GitHub
- SafetyCLI
- Python Org
- Math Library
- Google Gemini
- TTK Bootstrap
- Tkinter Module
- Visual Studio Code
- 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-6.1.0.tar.gz.
File metadata
- Download URL: pycersi-6.1.0.tar.gz
- Upload date:
- Size: 18.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.12.10
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
5663b187d8626b10370a97693c204f71949d06c174914330b01194e72e122028
|
|
| MD5 |
1b2d3f030a7cdd2d4ae96750fa1211a1
|
|
| BLAKE2b-256 |
d5865e95b337590e62fdb13918acdbbb157135c3109ae0938e1896882501c3bb
|
File details
Details for the file pycersi-6.1.0-py3-none-any.whl.
File metadata
- Download URL: pycersi-6.1.0-py3-none-any.whl
- Upload date:
- Size: 17.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.12.10
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
e36e747da51a3580d0d26cf7303b1ab7242826a0ef9d70cba910c640e333c10a
|
|
| MD5 |
267d71a797c81930a1595529d00eabd7
|
|
| BLAKE2b-256 |
6827a523f4551da29c8ac4a7e83c3139597061a2e734b503ed301d022f4f5256
|