Skip to main content

PyCersi

Python Versions PyPI - Version License GitHub Release Date GitHub Release

DEVELOPED BY SUBHRA CHAKRABORTI
LAST UPDATE: 20 August 2026
VERSION: 7.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)
    • 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 : fiboupto
    • Fibonacci Range Program : fiborange
    • Floyd Triangle Program
    • Greatest Common Divisor Program
    • Least Common Multiple Program
  • Number Property Checkers

    • Abundant Number Checker
    • Armstrong Number Checker
    • Automorphic Number Checker
    • Buzz Number Checker
    • Circular Prime Number Checker
    • Curzon Number Checker
    • Composite Number Checker
    • CoPrime Number Checker
    • Disarium Number Checker
    • Dudeney Number Checker
    • Duck Number Checker
    • Even Number Checker
    • Fibonacci Number Checker
    • Happy Number Checker
    • Harshad Number Checker
    • Heteromecic Number Checker
    • Krishnamurthy Number Checker
    • Magic Number Checker
    • Neon Number Checker
    • Niven Number Checker
    • Oblong Number Checker
    • Odd Number Checker
    • Palindrome Number Checker
    • Perfect Number Checker
    • Prime Number Checker
    • Pronic Number Checker
    • Sunny Number Checker
    • Special Number Checker
    • Spy Number Checker
    • Twin Prime Number Checker
    • Twisted Prime Checker
    • Unique Number Checker
    • Tech Number Checker
    • Ugly Number Checker
  • Mathematical Functions

    • Area of Circle : ar_circle
    • Area of Rectangle : ar_rect
    • Area of Triangle : ar_triangle
    • Combination Calculator : comb
    • Digit to Word Converter : digiwords
    • Factorial Calculator : fact
    • Factors Calculator : factor
    • Permutation Calculator : perm
  • Stack Functions

    • Push Into Stack : s_push
    • Pop Out Of Stack : s_pop
    • Size Of Stack : s_size
    • Underflow Stack Checker : s_Empty
    • Top Of Stack : s_top
    • Display Stack : s_display
  • PyCersi Privator

    • Desktop mode (Tkinter): privator()
    • Browser mode: privator_browser()
    • Data Encryptor
    • Data Decryptor
  • PyCersi AI BOT (Requests module is required)

    • CLI Mode
    • Tkinter Mode
    • Browser Mode
    • PyCersi 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: chinese_remainder()
    • 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 range
    • Optional 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

  1. Install Python: Make sure Python is installed on your system. You can download it from the official Python website.
  2. Open Command Prompt: Press Win + R, type cmd, and hit Enter.
  3. Run the pip command:
   pip install pycersi

macOS

  1. Install Python: Ensure Python is installed. You can use Homebrew to install it:
   brew install python
  1. Open Terminal: You can find Terminal in Applications > Utilities.
   pip3 install pycersi

Linux (Ubuntu/Debian-based)

  1. Update Packages:
   sudo apt update
  1. Install Python and pip:
   sudo apt install python3 python3-pip
  1. Run the pip command:
   pip3 install pycersi

Using The Functions

  1. For using any searchers functions from PyCersi module, use: pycersi.<name>(limit).

    • Example: pycersi.fiboupto(limit)
  2. For using any checker functions from PyCersi module, use: pycersi.is<name>(value).

    • Example: pycersi.issunny(value)
  3. For using any mathematical function from PyCersi module, use: pycersi.<name>(value).

    • Example: pycersi.fact(value)
  4. For using any stack function from PyCersi module, use: pycersi.s_<name>(stack,[element]).

    • Example: pycersi.s_top(book_stack)
  5. For using Pycersi Privator, use: pycersi.privator().

    • Example: pycersi.privator()
  6. For using Pycersi Bot, use: pycersi.bot().

    • Example: pycersi.bot()
    • Bot asks for your OpenRouter API key at runtime.
  7. For using PyCersi Privator Browser Mode, use: pycersi.privator_browser().

    • Example: pycersi.privator_browser()
  8. For number intelligence report, use: pycersi.analyze(number).

    • Example: pycersi.analyze(153)
    • JSON output: pycersi.analyze(153, output="json")
  9. 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)
  10. 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])
  1. 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")
  1. For Chinese Remainder Theorem, use: pycersi.chinese_remainder(remainders, moduli)
  • Example: pycersi.chinese_remainder([2, 3, 2], [3, 5, 7])
  1. 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")

Running Tests

From project root:

python test.py

Contributing

I welcome contributions to the project! If you want to contribute, please follow these steps:

Steps to Contribute:

  1. 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.
  2. 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
      
  3. 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'
      
  4. Push your changes:

    • Push your changes to your forked repository:
      git push origin feature-branch
      
  5. 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

  • Python ORG
  • OpenRouter
  • Math Library
  • TTK Bootstrap
  • Requests Library
  • Tkinter Module

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

pycersi-7.1.0.tar.gz (29.7 kB view details)

Uploaded Source

Built Distribution

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

pycersi-7.1.0-py3-none-any.whl (25.0 kB view details)

Uploaded Python 3

File details

Details for the file pycersi-7.1.0.tar.gz.

File metadata

  • Download URL: pycersi-7.1.0.tar.gz
  • Upload date:
  • Size: 29.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.13

File hashes

Hashes for pycersi-7.1.0.tar.gz
Algorithm Hash digest
SHA256 92381e3c31727e01dd2e24742048e3478908c4c55a6dc0b6dda036cfe088616f
MD5 c39da33e701436899253f8c1154feb5c
BLAKE2b-256 56d192ae96ff566683fb119a8863313a3ed5e980f7ec69ddd6a45dd8352c589e

See more details on using hashes here.

Provenance

The following attestation bundles were made for pycersi-7.1.0.tar.gz:

Publisher: publish.yml on subhrachakraborti/PyCersi

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file pycersi-7.1.0-py3-none-any.whl.

File metadata

  • Download URL: pycersi-7.1.0-py3-none-any.whl
  • Upload date:
  • Size: 25.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.13

File hashes

Hashes for pycersi-7.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 ac60c1b1906f615ca1e10618fd751c4eb3eb83e03f97288dd3e1667b2dc00477
MD5 ce9ef01411633f12687cda2082e7659f
BLAKE2b-256 44cdccacd58480a2e2d2edb88b79d465ce935379d857b651100ea1072b6ae9d8

See more details on using hashes here.

Provenance

The following attestation bundles were made for pycersi-7.1.0-py3-none-any.whl:

Publisher: publish.yml on subhrachakraborti/PyCersi

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Release history Release notifications | RSS feed

7.1.5

2 files

This release

7.1.0 This release

2 files

7.0.0

1 file

6.1.5

2 files

6.1.0

2 files

6.0.0

2 files

5.5.0

2 files

5.1.0

2 files

5.0.0

2 files

4.0.0

2 files

3.0.0

2 files

2.0.0

2 files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page