Skip to main content

Overview

numbers with additative and multiplicative inverses

Installation

To install anfesibena, you can use pip. Open your terminal and run:

pip install anfesibena

Implementation

class Anfesibena:
    def __div__(self, other):
        return self * (other**-1)

    def __neg__(self):
        return self * -1

    def __rdiv__(self, other):
        return other * (self**-1)

    def __rsub__(self, other):
        return other + (self * -1)

    def __rtruediv__(self, other):
        return other * (self**-1)

    def __sub__(self, other):
        return self + (other * -1)

    def __truediv__(self, other):
        return self * (other**-1)

License

This project is licensed under the MIT License.

Credits

Thank you for using anfesibena!

Metadata

Release files for anfesibena 1.0.2

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

Source distribution (sdist)

Source distribution for anfesibena 1.0.2
File Size Uploaded
anfesibena-1.0.2.tar.gz 2.6 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for anfesibena 1.0.2
File Interpreter ABI Platform
anfesibena-1.0.2-py3-none-any.whl Python 3 none any Details

Total release size: 5.9 kB

Release files / anfesibena-1.0.2.tar.gz

Download URL anfesibena-1.0.2.tar.gz
Size 2.6 kB
Tags Source
SHA-256 checksum
How to use checksums
785c3a5d71b7b73b3bf5bd5c8c274f7b27d3a26cc23c8e21c30e48e3a946c118
BLAKE2b-256 checksum
How to use checksums
eb1965c8862700d998303e8e535f2d34d39e28027859acb8f51e837f3f232a8f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.1.1 CPython/3.12.4

Release files / anfesibena-1.0.2-py3-none-any.whl

Download URL anfesibena-1.0.2-py3-none-any.whl
Size 3.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
2d42d76828023860d03fa0768dd82b615c4f70c8a2ec90f85cb12069602003fc
BLAKE2b-256 checksum
How to use checksums
34f3127dab41774752dbb2aa55073173b358dfaa79e2048bb513f686f8521c0e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.1.1 CPython/3.12.4

Release history Release notifications | RSS feed

This release

1.0.2 This release

2 release files

1.0.1

2 release 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