Skip to main content

grim-reaper.py

grim-reaper.py, or just Grim, is a Python math library made in C++ made for solving fast operations such as adding, subtracting, multiplying and dividing.

Installation

Using GitHub

Clone the project and enter on the directory

In HTTPS:

git clone https://github.com/eduardozitinho/grim-reaper.py.git
cd grim-reaper.py

In GitHub CLI:

gh repo clone eduardozitinho/grim-reaper.py
cd grim-reaper.py

Guarantee you got Python installed

Linux
Ubuntu, Debian
sudo apt install python3 # don't use sudo incase you're already root
Arch
sudo pacman -S python python-pip python-setuptools

If your Linux distro isn't any of those listed, see official Python website

Windows, MacOS

Since I, the author, never installed Python in MacOS or Windows (never had one though), I don't know anything about installing Python in any. See official Python website for an install guide for them.

Android

This is my operating system!

First, go to F-Droid.

Search for Termux app and install it. Make sure its version is stable and not beta.

After that, enter in Termux and run the following commands:

pkg upgrade -y
pkg update -y
pkg install python -y # The -y in everything auto confirms it

Boom! You have Python installed in Android.

Installing the package with pip

Make sure you are inside grim-reaper.py.

python -m pip install .

Now you can use it everywhere!

Using pip (future)

If you already have Python installed, you skipped most of the steps. Now run this:

python -m pip install grim_reaper

That's future, since this isn't released yet.

Usage

After installing the package, you can use like this:

import grim_reaper

# Add any amount of numbers, including sets, lists, tuples

grim_reaper.basic_ops.add(10, 20, 30, 40, [50, 60], {70, 80}, 90, 100)

# Subtract any amount of numbers, including sets, lists, tuples

grim_reaper.basic_ops.sub(20, 10, 1, 1, 1, 1, 1, 1, -1, [1, 1], {10, 5}, (10, 10))

# Multiply any amount of numbers, including sets, lists, tuples

grim_reaper.basic_ops.mul(10, {5, 2}, [1, 10], (3, 3))

# Divide any amount of numbers, including sets, lists, tuples and handles division by zero (ValueError)

grim_reaper.basic_ops.div(10, 1, 2, (2, 2), [4, 1], {8, 9})

Those are the four-first functions of Grim.

License

The current license of the project is MIT. See complete license here.

Metadata

Release files for grim-reaper-core 0.1.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for grim-reaper-core 0.1.0
File Size Uploaded Provenance
grim_reaper_core-0.1.0.tar.gz 5.9 kB Without provenance Details

Built distribution (wheel)

Table of built distributions (wheels) for grim-reaper-core 0.1.0
File Interpreter ABI Platform
grim_reaper_core-0.1.0-cp313-cp313-android_24_arm64_v8a.whl CPython 3.13 CPython 3.13 Android API level 24+ ARM64 v8a Details

Total release size: 66.9 kB

Release files / grim_reaper_core-0.1.0.tar.gz

Download URL grim_reaper_core-0.1.0.tar.gz
Size 5.9 kB
Tags Source
SHA-256 checksum
How to use checksums
592b58a3d65d3544ad194c20fe679eff23188145a4b2d3324b128098b9bbd7f1
BLAKE2b-256 checksum
How to use checksums
1996c548133a42957305eb6a4274303dfea3895b9bbe5d5d9b8945b1d766dc52
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.13.13

Release files / grim_reaper_core-0.1.0-cp313-cp313-android_24_arm64_v8a.whl

Download URL grim_reaper_core-0.1.0-cp313-cp313-android_24_arm64_v8a.whl
Size 60.9 kB
Tags Android API level 24+ ARM64 v8a CPython 3.13
SHA-256 checksum
How to use checksums
3ee268002c5ca63adc11c4c83a4635aff1f4f742995f47e104a9adc44926066d
BLAKE2b-256 checksum
How to use checksums
3b4b66e40789d91ab18ebacdaa6547fd509321f55b11e5cbf08920824030cad3
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.13.13

Security for grim-reaper-core 0.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.

Release history Release notifications | RSS feed

This release

0.1.0 This release

2 release files No provenance

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