PyCersi
DEVELOPED BY: SUBHRA CHAKRABORTI
LAST UPDATE: 21 August 2026
VERSION: 7.1.5
Table of Contents
- Overview
- Features
- Installation
- Quick Start & Usage
- Browser-Based Web GUI
- Running Tests
- Contributing
- License
- Security & Safety
- Contact
- Acknowledgments
Overview
PyCersi is a comprehensive, lightweight Python library designed to streamline number theory, mathematical constants, scientific utilities, stack operations, data security (Privator), and AI-driven calculations into a simple, unified interface.
It is easy to use, highly efficient, and easily integrates into any Python application—from quick scripts to complex scientific workflows.
Features
PyCersi offers a wide range of number-related utilities and mathematical modules:
-
Mathematical Constants
Euler's Constant (e)Golden Ratio (GR)Logarithm of e (loge)Pi (pi)
-
Physical Constants
Astronomical Unit (AU)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_popSize Of Stack : s_sizeUnderflow Stack Checker : s_EmptyTop Of Stack : s_topDisplay Stack : s_display
-
PyCersi Privator
Desktop mode (Tkinter): privator()Browser mode: privator_browser()Data EncryptorData Decryptor
-
PyCersi AI BOT (Requests module is required)
CLI ModeTkinter ModeBrowser ModePyCersi AI Bot: bot()
-
Scientific Computation Additions
Unit conversion: convert_units()Dimensional analysis: dimensional_analysis()Linear solver: solve_linear()Quadratic solver: solve_quadratic()Polynomial solver up to degree 5: solve()Chinese Remainder Theorem solver: crm()Symbolic derivative (basic polynomial): symbolic_derivative()Statistics report: statistics()
-
Equation Plotting (NumPy + SciPy + Matplotlib)
Plot equations with left/right side comparison: plot()Automatic intersection detection inside plotting rangeOptional image export with save_path
-
Number Intelligence API
analyze_number()analyze()Text, dict, and JSON report modes
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
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.fiboupto(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.<name>(value).- Example:
pycersi.fact(value)
- Example:
-
For using any stack function from PyCersi module, use:
pycersi.s_<name>(stack,[element]).- Example:
pycersi.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() - Bot asks for your OpenRouter API key at runtime.
- Example:
-
For using PyCersi Privator Browser Mode, use:
pycersi.privator_browser().- Example:
pycersi.privator_browser()
- Example:
-
For number intelligence report, use:
pycersi.analyze(number).- Example:
pycersi.analyze(153) - JSON output:
pycersi.analyze(153, output="json")
- Example:
-
For scientific conversions and equation helpers, use:
pycersi.convert_units(value, from_unit, to_unit)pycersi.solve_linear(a, b)pycersi.solve_quadratic(a, b, c)- Example:
pycersi.convert_units(1, "au", "km") - Example:
pycersi.solve_quadratic(1, -3, 2)
- Example:
-
For dimension checks, symbolic derivative, and stats, use:
pycersi.dimensional_analysis(numerator_units, denominator_units)pycersi.symbolic_derivative(expression)pycersi.statistics(data)
- Example:
pycersi.dimensional_analysis(["m", "m"], ["s", "s"]) - Example:
pycersi.symbolic_derivative("3x^3-2x+7") - Example:
pycersi.statistics([1,2,3,4,5])
- For polynomial equations (up to power 5), use:
pycersi.solve(equation=..., output="dict")
- Example:
pycersi.solve(equation="x^4 - x^2 + x = 7") - Example:
pycersi.solve(coefficients=[1, 0, -1, 1, -7], output="json")
- For Chinese Remainder Theorem, use:
pycersi.crm(remainders, moduli)
- Example:
pycersi.crm([2, 3, 2], [3, 5, 7])
- For plotting equations with NumPy/SciPy/Matplotlib, use:
pycersi.plot(equation, x_min, x_max)
- Example:
pycersi.plot("x^4 - x^2 + x = 7", x_min=-4, x_max=4) - Example:
pycersi.plot("sin(x) = x/2", x_min=-10, x_max=10, save_path="plot.png")
- To launch the interactive Browser Web GUI:
pycersi.gui()
- Example:
import pycersi as p; p.gui()
Browser-Based Web GUI
PyCersi features a modern, single-page Web GUI built with a dark glassmorphism design system. It exposes 60+ mathematical functions, interactive data structures, unit converters, calculus plotters, Privator encryption suite, and the PyCersi AI Assistant.
Launching the Web GUI
From Python REPL / Script:
import pycersi as p
p.gui()
From Terminal:
python -m pycersi.gui
Interface Screenshots
Running Tests
Run the comprehensive unit test suite from the project root:
python test.py
Contributing
Contributions are warmly welcomed! Follow these steps to submit your enhancements:
-
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
-
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
Distributed under the MIT License. See LICENSE for details.
Security & Safety
This project is built with care and attention to detail to simplify daily computations and ensure zero security vulnerabilities or runtime safety exceptions.
I am deeply committed to making the web a safer, better place. PyCersi is strictly non-malicious.
| Audit Service | Status & Report |
|---|---|
| SafetyCLI | Check Security Report |
| Get Safety | Check Safety Details |
Contact
Subhra Chakraborti - mail@subhrachakraborti.com
Project Link: https://github.com/subhrachakraborti/PyCersi
Acknowledgments
- Python.org
- OpenRouter
- Core Libraries:
- Math Library
- NumPy
- SciPy
- Matplotlib
- TTK Bootstrap
- Requests
- Tkinter
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-7.1.5.tar.gz.
File metadata
- Download URL: pycersi-7.1.5.tar.gz
- Upload date:
- Size: 43.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via:
twine/6.1.0 CPython/3.13.13
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
d5788e0be9fd2a9383ab4160b156d7db75709f60a47e351033838b799398b865
|
|
| MD5 |
74308e7ffc579c492f1bd3781aa0de17
|
|
| BLAKE2b-256 |
b73ecec77887713720d26447439e28c71d1c6d34364fb38481c887dec4347110
|
Provenance
The following attestation bundles were made for pycersi-7.1.5.tar.gz:
Publisher:
publish.yml on subhrachakraborti/PyCersi
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
pycersi-7.1.5.tar.gz -
Subject digest:
d5788e0be9fd2a9383ab4160b156d7db75709f60a47e351033838b799398b865 - Sigstore transparency entry: 2546916465
- Sigstore integration time:
-
Permalink:
subhrachakraborti/PyCersi@72d9a80536220485d7882cc0450548400ac8836b -
Branch / Tag:
refs/heads/main - Owner: https://github.com/subhrachakraborti
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@72d9a80536220485d7882cc0450548400ac8836b -
Trigger Event:
workflow_dispatch
-
Statement type:
File details
Details for the file pycersi-7.1.5-py3-none-any.whl.
File metadata
- Download URL: pycersi-7.1.5-py3-none-any.whl
- Upload date:
- Size: 38.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via:
twine/6.1.0 CPython/3.13.13
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
999f57f58611fb7eb2b9bcff49f77c12fd04c04e8764c7b77484cc95f4e4e8f1
|
|
| MD5 |
abaef0c1376d8f148dcf32f0c9655bde
|
|
| BLAKE2b-256 |
813734d348828a54b42e9c7d2b40e4a4583780c8f185d1619bcf64b60c0217fd
|
Provenance
The following attestation bundles were made for pycersi-7.1.5-py3-none-any.whl:
Publisher:
publish.yml on subhrachakraborti/PyCersi
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
pycersi-7.1.5-py3-none-any.whl -
Subject digest:
999f57f58611fb7eb2b9bcff49f77c12fd04c04e8764c7b77484cc95f4e4e8f1 - Sigstore transparency entry: 2546917107
- Sigstore integration time:
-
Permalink:
subhrachakraborti/PyCersi@72d9a80536220485d7882cc0450548400ac8836b -
Branch / Tag:
refs/heads/main - Owner: https://github.com/subhrachakraborti
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@72d9a80536220485d7882cc0450548400ac8836b -
Trigger Event:
workflow_dispatch
-
Statement type: