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
# Basic usage
print(infj) # Output: infj
print(type(infj)) # Output: <class 'complex'>
# Mathematical properties
print(infj.real) # 0.0
print(infj.imag) # inf
# Comparisons
print(infj == complex(0, float('inf'))) # True
# Mathematical operations
from math import inf
result = inf + infj
print(result) # (inf+infj)
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>
Metadata
Release files for infj 1.0.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| infj-1.0.1.tar.gz | 3.6 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| infj-1.0.1-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 7.4 kB
Release files / infj-1.0.1.tar.gz
| Download URL | infj-1.0.1.tar.gz |
|---|---|
| Size | 3.6 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
efc9f1766c27f85eea69b07e06197139b4090337ee38fabb2ba7c0cf9b75fd91
|
|
BLAKE2b-256 checksum How to use checksums |
bbcbfa855bfe37648bbaba682ec608205d0cc098a66bdabe5a31c78167696d51
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.12.9
|
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.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Jul 22, 2025.
Transparency logRelease files / infj-1.0.1-py3-none-any.whl
| Download URL | infj-1.0.1-py3-none-any.whl |
|---|---|
| Size | 3.8 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
83e9d1a44803b2586f38a2284d51fea2498298594a45bca35c0f05a56105f713
|
|
BLAKE2b-256 checksum How to use checksums |
dedb126e749ca9c428505e316325d4a3cc9f1230f3d61b5fab2fb5087d736cf9
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.12.9
|
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.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Jul 22, 2025.
Transparency log