INFJ
A Python package that provides the infj
complex number literal (0+∞j).
Overview
infj
is a simple yet useful Python package that defines a complex number literal with zero real part and infinite imaginary part. This can be useful in mathematical computations involving complex infinity.
infj
is also known as the INFJ Personality Type in the Myers-Briggs Type Indicator (MBTI).
Installation
You can install infj
using pip:
pip install infj
Usage
from infj import infj
print(infj)
print(type(infj))
print(infj.real)
print(infj.imag)
print(infj == complex(0, float('inf')))
from math import inf
result = inf + infj
print(result)
Requirements
- Python 3.6 or higher
- No external dependencies (uses only standard library)
Contributing
Contributions are welcome! Please feel free to submit a Pull Request. For major changes, please open an issue first to discuss what you would like to change.
License
This project is licensed under the WTFPL License - see the LICENSE file for details.
Author
KoolShow - <koolshowtec@gmail.com>